vzcode 2.28.0 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,116 +0,0 @@
1
- (function(){"use strict";var zr={};if(!an)var an=globalThis||window;function nb(m){return m&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var sr=typeof an<"u"?an:typeof self<"u"?self:typeof window<"u"?window:{};function Of(){throw new Error("setTimeout has not been defined")}function Nf(){throw new Error("clearTimeout has not been defined")}var lr=Of,ur=Nf;typeof sr.setTimeout=="function"&&(lr=setTimeout),typeof sr.clearTimeout=="function"&&(ur=clearTimeout);function Mf(m){if(lr===setTimeout)return setTimeout(m,0);if((lr===Of||!lr)&&setTimeout)return lr=setTimeout,setTimeout(m,0);try{return lr(m,0)}catch{try{return lr.call(null,m,0)}catch{return lr.call(this,m,0)}}}function sb(m){if(ur===clearTimeout)return clearTimeout(m);if((ur===Nf||!ur)&&clearTimeout)return ur=clearTimeout,clearTimeout(m);try{return ur(m)}catch{try{return ur.call(null,m)}catch{return ur.call(this,m)}}}var ar=[],br=!1,dr,Hr=-1;function ab(){!br||!dr||(br=!1,dr.length?ar=dr.concat(ar):Hr=-1,ar.length&&jf())}function jf(){if(!br){var m=Mf(ab);br=!0;for(var t=ar.length;t;){for(dr=ar,ar=[];++Hr<t;)dr&&dr[Hr].run();Hr=-1,t=ar.length}dr=null,br=!1,sb(m)}}function ib(m){var t=new Array(arguments.length-1);if(arguments.length>1)for(var p=1;p<arguments.length;p++)t[p-1]=arguments[p];ar.push(new Uf(m,t)),ar.length===1&&!br&&Mf(jf)}function Uf(m,t){this.fun=m,this.array=t}Uf.prototype.run=function(){this.fun.apply(null,this.array)};var ob="browser",lb="browser",ub=!0,cb={},fb=[],pb="",db={},mb={},hb={};function mr(){}var gb=mr,yb=mr,vb=mr,Eb=mr,Sb=mr,bb=mr,xb=mr;function Cb(m){throw new Error("process.binding is not supported")}function Ab(){return"/"}function wb(m){throw new Error("process.chdir is not supported")}function Tb(){return 0}var xr=sr.performance||{},kb=xr.now||xr.mozNow||xr.msNow||xr.oNow||xr.webkitNow||function(){return new Date().getTime()};function Db(m){var t=kb.call(xr)*.001,p=Math.floor(t),d=Math.floor(t%1*1e9);return m&&(p=p-m[0],d=d-m[1],d<0&&(p--,d+=1e9)),[p,d]}var Ib=new Date;function Pb(){var m=new Date,t=m-Ib;return t/1e3}var Vt={nextTick:ib,title:ob,browser:ub,env:cb,argv:fb,version:pb,versions:db,on:gb,addListener:yb,once:vb,off:Eb,removeListener:Sb,removeAllListeners:bb,emit:xb,binding:Cb,cwd:Ab,chdir:wb,umask:Tb,hrtime:Db,platform:lb,release:mb,config:hb,uptime:Pb},zt={},on={},qf;function Vf(){return qf||(qf=1,function(m){(function t(p){var d,e,l,f,o,r;function u(x){var E={},A,C;for(A in x)x.hasOwnProperty(A)&&(C=x[A],typeof C=="object"&&C!==null?E[A]=u(C):E[A]=C);return E}function s(x,E){var A,C,w,k;for(C=x.length,w=0;C;)A=C>>>1,k=w+A,E(x[k])?C=A:(w=k+1,C-=A+1);return w}d={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},l={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},f={},o={},r={},e={Break:f,Skip:o,Remove:r};function a(x,E){this.parent=x,this.key=E}a.prototype.replace=function(E){this.parent[this.key]=E},a.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function c(x,E,A,C){this.node=x,this.path=E,this.wrap=A,this.ref=C}function n(){}n.prototype.path=function(){var E,A,C,w,k,R;function P(B,F){if(Array.isArray(F))for(C=0,w=F.length;C<w;++C)B.push(F[C]);else B.push(F)}if(!this.__current.path)return null;for(k=[],E=2,A=this.__leavelist.length;E<A;++E)R=this.__leavelist[E],P(k,R.path);return P(k,this.__current.path),k},n.prototype.type=function(){var x=this.current();return x.type||this.__current.wrap},n.prototype.parents=function(){var E,A,C;for(C=[],E=1,A=this.__leavelist.length;E<A;++E)C.push(this.__leavelist[E].node);return C},n.prototype.current=function(){return this.__current.node},n.prototype.__execute=function(E,A){var C,w;return w=void 0,C=this.__current,this.__current=A,this.__state=null,E&&(w=E.call(this,A.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=C,w},n.prototype.notify=function(E){this.__state=E},n.prototype.skip=function(){this.notify(o)},n.prototype.break=function(){this.notify(f)},n.prototype.remove=function(){this.notify(r)},n.prototype.__initialize=function(x,E){this.visitor=E,this.root=x,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,E.fallback==="iteration"?this.__fallback=Object.keys:typeof E.fallback=="function"&&(this.__fallback=E.fallback),this.__keys=l,E.keys&&(this.__keys=Object.assign(Object.create(this.__keys),E.keys))};function i(x){return x==null?!1:typeof x=="object"&&typeof x.type=="string"}function h(x,E){return(x===d.ObjectExpression||x===d.ObjectPattern)&&E==="properties"}function g(x,E){for(var A=x.length-1;A>=0;--A)if(x[A].node===E)return!0;return!1}n.prototype.traverse=function(E,A){var C,w,k,R,P,B,F,O,$,N,_,X;for(this.__initialize(E,A),X={},C=this.__worklist,w=this.__leavelist,C.push(new c(E,null,null,null)),w.push(new c(null,null,null,null));C.length;){if(k=C.pop(),k===X){if(k=w.pop(),B=this.__execute(A.leave,k),this.__state===f||B===f)return;continue}if(k.node){if(B=this.__execute(A.enter,k),this.__state===f||B===f)return;if(C.push(X),w.push(k),this.__state===o||B===o)continue;if(R=k.node,P=R.type||k.wrap,N=this.__keys[P],!N)if(this.__fallback)N=this.__fallback(R);else throw new Error("Unknown node type "+P+".");for(O=N.length;(O-=1)>=0;)if(F=N[O],_=R[F],!!_){if(Array.isArray(_)){for($=_.length;($-=1)>=0;)if(_[$]&&!g(w,_[$])){if(h(P,N[O]))k=new c(_[$],[F,$],"Property",null);else if(i(_[$]))k=new c(_[$],[F,$],null,null);else continue;C.push(k)}}else if(i(_)){if(g(w,_))continue;C.push(new c(_,F,null,null))}}}}},n.prototype.replace=function(E,A){var C,w,k,R,P,B,F,O,$,N,_,X,L;function K(J){var ge,ae,ke,Z;if(J.ref.remove()){for(ae=J.ref.key,Z=J.ref.parent,ge=C.length;ge--;)if(ke=C[ge],ke.ref&&ke.ref.parent===Z){if(ke.ref.key<ae)break;--ke.ref.key}}}for(this.__initialize(E,A),_={},C=this.__worklist,w=this.__leavelist,X={root:E},B=new c(E,null,null,new a(X,"root")),C.push(B),w.push(B);C.length;){if(B=C.pop(),B===_){if(B=w.pop(),P=this.__execute(A.leave,B),P!==void 0&&P!==f&&P!==o&&P!==r&&B.ref.replace(P),(this.__state===r||P===r)&&K(B),this.__state===f||P===f)return X.root;continue}if(P=this.__execute(A.enter,B),P!==void 0&&P!==f&&P!==o&&P!==r&&(B.ref.replace(P),B.node=P),(this.__state===r||P===r)&&(K(B),B.node=null),this.__state===f||P===f)return X.root;if(k=B.node,!!k&&(C.push(_),w.push(B),!(this.__state===o||P===o))){if(R=k.type||B.wrap,$=this.__keys[R],!$)if(this.__fallback)$=this.__fallback(k);else throw new Error("Unknown node type "+R+".");for(F=$.length;(F-=1)>=0;)if(L=$[F],N=k[L],!!N)if(Array.isArray(N)){for(O=N.length;(O-=1)>=0;)if(N[O]){if(h(R,$[F]))B=new c(N[O],[L,O],"Property",new a(N,O));else if(i(N[O]))B=new c(N[O],[L,O],null,new a(N,O));else continue;C.push(B)}}else i(N)&&C.push(new c(N,L,null,new a(k,L)))}}return X.root};function v(x,E){var A=new n;return A.traverse(x,E)}function S(x,E){var A=new n;return A.replace(x,E)}function b(x,E){var A;return A=s(E,function(w){return w.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],A!==E.length&&(x.extendedRange[1]=E[A].range[0]),A-=1,A>=0&&(x.extendedRange[0]=E[A].range[1]),x}function T(x,E,A){var C=[],w,k,R,P;if(!x.range)throw new Error("attachComments needs range information");if(!A.length){if(E.length){for(R=0,k=E.length;R<k;R+=1)w=u(E[R]),w.extendedRange=[0,x.range[0]],C.push(w);x.leadingComments=C}return x}for(R=0,k=E.length;R<k;R+=1)C.push(b(u(E[R]),A));return P=0,v(x,{enter:function(B){for(var F;P<C.length&&(F=C[P],!(F.extendedRange[1]>B.range[0]));)F.extendedRange[1]===B.range[0]?(B.leadingComments||(B.leadingComments=[]),B.leadingComments.push(F),C.splice(P,1)):P+=1;if(P===C.length)return e.Break;if(C[P].extendedRange[0]>B.range[1])return e.Skip}}),P=0,v(x,{leave:function(B){for(var F;P<C.length&&(F=C[P],!(B.range[1]<F.extendedRange[0]));)B.range[1]===F.extendedRange[0]?(B.trailingComments||(B.trailingComments=[]),B.trailingComments.push(F),C.splice(P,1)):P+=1;if(P===C.length)return e.Break;if(C[P].extendedRange[0]>B.range[1])return e.Skip}}),x}return p.Syntax=d,p.traverse=v,p.replace=S,p.attachComments=T,p.VisitorKeys=l,p.VisitorOption=e,p.Controller=n,p.cloneEnvironment=function(){return t({})},p})(m)}(on)),on}var Pr={},Fb="4.3.0",Rb={version:Fb},$f;function _b(){return $f||($f=1,function(){var m=Vf();function t(e){return e==null?!1:typeof e=="object"&&typeof e.type=="string"}function p(e,l){return(e===m.Syntax.ObjectExpression||e===m.Syntax.ObjectPattern)&&l==="properties"}function d(e,l){l=l||{},this.__visitor=e||this,this.__childVisitorKeys=l.childVisitorKeys?Object.assign({},m.VisitorKeys,l.childVisitorKeys):m.VisitorKeys,l.fallback==="iteration"?this.__fallback=Object.keys:typeof l.fallback=="function"&&(this.__fallback=l.fallback)}d.prototype.visitChildren=function(e){var l,f,o,r,u,s,a;if(e!=null){if(l=e.type||m.Syntax.Property,f=this.__childVisitorKeys[l],!f)if(this.__fallback)f=this.__fallback(e);else throw new Error("Unknown node type "+l+".");for(o=0,r=f.length;o<r;++o)if(a=e[f[o]],a)if(Array.isArray(a))for(u=0,s=a.length;u<s;++u)a[u]&&(t(a[u])||p(l,f[o]))&&this.visit(a[u]);else t(a)&&this.visit(a)}},d.prototype.visit=function(e){var l;if(e!=null){if(l=e.type||m.Syntax.Property,this.__visitor[l]){this.__visitor[l].call(this,e);return}this.visitChildren(e)}},Pr.version=Rb.version,Pr.Visitor=d,Pr.visit=function(e,l,f){var o=new d(l,f);o.visit(e)}}()),Pr}var Wf;function ln(){if(Wf)return zt;Wf=1,Object.defineProperty(zt,"__esModule",{value:!0});var m=Vf(),t=_b();function p(Z){return Z&&typeof Z=="object"&&"default"in Z?Z:{default:Z}}var d=p(m),e=p(t);function l(Z,I="Assertion failed."){if(!Z)throw new Error(I)}const f=1,o=2,r=f|o;class u{constructor(I,H,fe,ce,ie,he,Se){this.identifier=I,this.from=H,this.tainted=!1,this.resolved=null,this.flag=fe,this.isWrite()&&(this.writeExpr=ce,this.partial=he,this.init=Se),this.__maybeImplicitGlobal=ie}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&u.WRITE)}isRead(){return!!(this.flag&u.READ)}isReadOnly(){return this.flag===u.READ}isWriteOnly(){return this.flag===u.WRITE}isReadWrite(){return this.flag===u.RW}}u.READ=f,u.WRITE=o,u.RW=r;class s{constructor(I,H){this.name=I,this.identifiers=[],this.references=[],this.defs=[],this.tainted=!1,this.stack=!0,this.scope=H}}s.CatchClause="CatchClause",s.Parameter="Parameter",s.FunctionName="FunctionName",s.ClassName="ClassName",s.Variable="Variable",s.ImportBinding="ImportBinding",s.ImplicitGlobalVariable="ImplicitGlobalVariable";class a{constructor(I,H,fe,ce,ie,he){this.type=I,this.name=H,this.node=fe,this.parent=ce,this.index=ie,this.kind=he}}class c extends a{constructor(I,H,fe,ce){super(s.Parameter,I,H,null,fe,null),this.rest=ce}}const{Syntax:n}=d.default;function i(Z,I,H){let fe;if(Z.upper&&Z.upper.isStrict||H||Z.type==="class"||Z.type==="module")return!0;if(Z.type==="block"||Z.type==="switch")return!1;if(Z.type==="function"){if(I.type===n.ArrowFunctionExpression&&I.body.type!==n.BlockStatement||(I.type===n.Program?fe=I:fe=I.body,!fe))return!1}else if(Z.type==="global")fe=I;else return!1;for(let ce=0,ie=fe.body.length;ce<ie;++ce){const he=fe.body[ce];if(typeof he.directive!="string")break;if(he.directive==="use strict")return!0}return!1}function h(Z,I){Z.scopes.push(I);const H=Z.__nodeToScope.get(I.block);H?H.push(I):Z.__nodeToScope.set(I.block,[I])}function g(Z){return Z.type===s.ClassName||Z.type===s.Variable&&Z.parent.kind!=="var"}class v{constructor(I,H,fe,ce,ie){this.type=H,this.set=new Map,this.taints=new Map,this.dynamic=this.type==="global"||this.type==="with",this.block=ce,this.through=[],this.variables=[],this.references=[],this.variableScope=this.type==="global"||this.type==="module"||this.type==="function"||this.type==="class-field-initializer"||this.type==="class-static-block"?this:fe.variableScope,this.functionExpressionScope=!1,this.directCallToEvalScope=!1,this.thisFound=!1,this.__left=[],this.upper=fe,this.isStrict=I.isStrictModeSupported()?i(this,ce,ie):!1,this.childScopes=[],this.upper&&this.upper.childScopes.push(this),this.__declaredVariables=I.__declaredVariables,h(I,this)}__shouldStaticallyClose(I){return!this.dynamic||I.__isOptimistic()}__shouldStaticallyCloseForGlobal(I){const H=I.identifier.name;if(!this.set.has(H))return!1;const ce=this.set.get(H).defs;return ce.length>0&&ce.every(g)}__staticCloseRef(I){this.__resolve(I)||this.__delegateToUpperScope(I)}__dynamicCloseRef(I){let H=this;do H.through.push(I),H=H.upper;while(H)}__globalCloseRef(I){this.__shouldStaticallyCloseForGlobal(I)?this.__staticCloseRef(I):this.__dynamicCloseRef(I)}__close(I){let H;this.__shouldStaticallyClose(I)?H=this.__staticCloseRef:this.type!=="global"?H=this.__dynamicCloseRef:H=this.__globalCloseRef;for(let fe=0,ce=this.__left.length;fe<ce;++fe){const ie=this.__left[fe];H.call(this,ie)}return this.__left=null,this.upper}__isValidResolution(I,H){return!0}__resolve(I){const H=I.identifier.name;if(!this.set.has(H))return!1;const fe=this.set.get(H);return this.__isValidResolution(I,fe)?(fe.references.push(I),fe.stack=fe.stack&&I.from.variableScope===this.variableScope,I.tainted&&(fe.tainted=!0,this.taints.set(fe.name,!0)),I.resolved=fe,!0):!1}__delegateToUpperScope(I){this.upper&&this.upper.__left.push(I),this.through.push(I)}__addDeclaredVariablesOfNode(I,H){if(H==null)return;let fe=this.__declaredVariables.get(H);fe==null&&(fe=[],this.__declaredVariables.set(H,fe)),fe.includes(I)||fe.push(I)}__defineGeneric(I,H,fe,ce,ie){let he;he=H.get(I),he||(he=new s(I,this),H.set(I,he),fe.push(he)),ie&&(he.defs.push(ie),this.__addDeclaredVariablesOfNode(he,ie.node),this.__addDeclaredVariablesOfNode(he,ie.parent)),ce&&he.identifiers.push(ce)}__define(I,H){I&&I.type===n.Identifier&&this.__defineGeneric(I.name,this.set,this.variables,I,H)}__referencing(I,H,fe,ce,ie,he){if(!I||I.type!==n.Identifier&&I.type!=="JSXIdentifier"||I.name==="super")return;const Se=new u(I,this,H||u.READ,fe,ce,!!ie,!!he);this.references.push(Se),this.__left.push(Se)}__detectEval(){let I=this;this.directCallToEvalScope=!0;do I.dynamic=!0,I=I.upper;while(I)}__detectThis(){this.thisFound=!0}__isClosed(){return this.__left===null}resolve(I){let H,fe,ce;for(l(this.__isClosed(),"Scope should be closed."),l(I.type===n.Identifier,"Target should be identifier."),fe=0,ce=this.references.length;fe<ce;++fe)if(H=this.references[fe],H.identifier===I)return H;return null}isStatic(){return!this.dynamic}isArgumentsMaterialized(){return!0}isThisMaterialized(){return!0}isUsedName(I){if(this.set.has(I))return!0;for(let H=0,fe=this.through.length;H<fe;++H)if(this.through[H].identifier.name===I)return!0;return!1}}class S extends v{constructor(I,H){super(I,"global",null,H,!1),this.implicit={set:new Map,variables:[],left:[]}}__close(I){const H=[];for(let fe=0,ce=this.__left.length;fe<ce;++fe){const ie=this.__left[fe];ie.__maybeImplicitGlobal&&!this.set.has(ie.identifier.name)&&H.push(ie.__maybeImplicitGlobal)}for(let fe=0,ce=H.length;fe<ce;++fe){const ie=H[fe];this.__defineImplicit(ie.pattern,new a(s.ImplicitGlobalVariable,ie.pattern,ie.node,null,null,null))}return this.implicit.left=this.__left,super.__close(I)}__defineImplicit(I,H){I&&I.type===n.Identifier&&this.__defineGeneric(I.name,this.implicit.set,this.implicit.variables,I,H)}}class b extends v{constructor(I,H,fe){super(I,"module",H,fe,!1)}}class T extends v{constructor(I,H,fe){super(I,"function-expression-name",H,fe,!1),this.__define(fe.id,new a(s.FunctionName,fe.id,fe,null,null,null)),this.functionExpressionScope=!0}}class x extends v{constructor(I,H,fe){super(I,"catch",H,fe,!1)}}class E extends v{constructor(I,H,fe){super(I,"with",H,fe,!1)}__close(I){if(this.__shouldStaticallyClose(I))return super.__close(I);for(let H=0,fe=this.__left.length;H<fe;++H){const ce=this.__left[H];ce.tainted=!0,this.__delegateToUpperScope(ce)}return this.__left=null,this.upper}}class A extends v{constructor(I,H,fe){super(I,"block",H,fe,!1)}}class C extends v{constructor(I,H,fe){super(I,"switch",H,fe,!1)}}class w extends v{constructor(I,H,fe,ce){super(I,"function",H,fe,ce),this.block.type!==n.ArrowFunctionExpression&&this.__defineArguments()}isArgumentsMaterialized(){if(this.block.type===n.ArrowFunctionExpression)return!1;if(!this.isStatic())return!0;const I=this.set.get("arguments");return l(I,"Always have arguments variable."),I.tainted||I.references.length!==0}isThisMaterialized(){return this.isStatic()?this.thisFound:!0}__defineArguments(){this.__defineGeneric("arguments",this.set,this.variables,null,null),this.taints.set("arguments",!0)}__isValidResolution(I,H){if(this.block.type==="Program")return!0;const fe=this.block.body.range[0];return!(H.scope===this&&I.identifier.range[0]<fe&&H.defs.every(ce=>ce.name.range[0]>=fe))}}class k extends v{constructor(I,H,fe){super(I,"for",H,fe,!1)}}class R extends v{constructor(I,H,fe){super(I,"class",H,fe,!1)}}class P extends v{constructor(I,H,fe){super(I,"class-field-initializer",H,fe,!0)}}class B extends v{constructor(I,H,fe){super(I,"class-static-block",H,fe,!0)}}class F{constructor(I){this.scopes=[],this.globalScope=null,this.__nodeToScope=new WeakMap,this.__currentScope=null,this.__options=I,this.__declaredVariables=new WeakMap}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isJSXEnabled(){return this.__options.jsx===!0}isGlobalReturn(){return this.__options.nodejsScope||this.__options.sourceType==="commonjs"}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(I){return this.__nodeToScope.get(I)}getDeclaredVariables(I){return this.__declaredVariables.get(I)||[]}acquire(I,H){function fe(ie){return!(ie.type==="function"&&ie.functionExpressionScope)}const ce=this.__get(I);if(!ce||ce.length===0)return null;if(ce.length===1)return ce[0];if(H)for(let ie=ce.length-1;ie>=0;--ie){const he=ce[ie];if(fe(he))return he}else for(let ie=0,he=ce.length;ie<he;++ie){const Se=ce[ie];if(fe(Se))return Se}return null}acquireAll(I){return this.__get(I)}release(I,H){const fe=this.__get(I);if(fe&&fe.length){const ce=fe[0].upper;return ce?this.acquire(ce.block,H):null}return null}attach(){}detach(){}__nestScope(I){return I instanceof S&&(l(this.__currentScope===null),this.globalScope=I),this.__currentScope=I,I}__nestGlobalScope(I){return this.__nestScope(new S(this,I))}__nestBlockScope(I){return this.__nestScope(new A(this,this.__currentScope,I))}__nestFunctionScope(I,H){return this.__nestScope(new w(this,this.__currentScope,I,H))}__nestForScope(I){return this.__nestScope(new k(this,this.__currentScope,I))}__nestCatchScope(I){return this.__nestScope(new x(this,this.__currentScope,I))}__nestWithScope(I){return this.__nestScope(new E(this,this.__currentScope,I))}__nestClassScope(I){return this.__nestScope(new R(this,this.__currentScope,I))}__nestClassFieldInitializerScope(I){return this.__nestScope(new P(this,this.__currentScope,I))}__nestClassStaticBlockScope(I){return this.__nestScope(new B(this,this.__currentScope,I))}__nestSwitchScope(I){return this.__nestScope(new C(this,this.__currentScope,I))}__nestModuleScope(I){return this.__nestScope(new b(this,this.__currentScope,I))}__nestFunctionExpressionNameScope(I){return this.__nestScope(new T(this,this.__currentScope,I))}__isES6(){return this.__options.ecmaVersion>=6}}const{Syntax:O}=d.default;function $(Z){return Z.at(-1)||null}class N extends e.default.Visitor{static isPattern(I){const H=I.type;return H===O.Identifier||H===O.ObjectPattern||H===O.ArrayPattern||H===O.SpreadElement||H===O.RestElement||H===O.AssignmentPattern}constructor(I,H,fe){super(null,I),this.rootPattern=H,this.callback=fe,this.assignments=[],this.rightHandNodes=[],this.restElements=[]}Identifier(I){const H=$(this.restElements);this.callback(I,{topLevel:I===this.rootPattern,rest:H!=null&&H.argument===I,assignments:this.assignments})}Property(I){I.computed&&this.rightHandNodes.push(I.key),this.visit(I.value)}ArrayPattern(I){for(let H=0,fe=I.elements.length;H<fe;++H){const ce=I.elements[H];this.visit(ce)}}AssignmentPattern(I){this.assignments.push(I),this.visit(I.left),this.rightHandNodes.push(I.right),this.assignments.pop()}RestElement(I){this.restElements.push(I),this.visit(I.argument),this.restElements.pop()}MemberExpression(I){I.computed&&this.rightHandNodes.push(I.property),this.rightHandNodes.push(I.object)}SpreadElement(I){this.visit(I.argument)}ArrayExpression(I){I.elements.forEach(this.visit,this)}AssignmentExpression(I){this.assignments.push(I),this.visit(I.left),this.rightHandNodes.push(I.right),this.assignments.pop()}CallExpression(I){I.arguments.forEach(H=>{this.rightHandNodes.push(H)}),this.visit(I.callee)}}const{Syntax:_}=d.default;function X(Z,I,H,fe){const ce=new N(Z,I,fe);ce.visit(I),H!=null&&ce.rightHandNodes.forEach(H.visit,H)}class L extends e.default.Visitor{constructor(I,H){super(null,H.options),this.declaration=I,this.referencer=H}visitImport(I,H){this.referencer.visitPattern(I,fe=>{this.referencer.currentScope().__define(fe,new a(s.ImportBinding,fe,H,this.declaration,null,null))})}ImportNamespaceSpecifier(I){const H=I.local||I.id;H&&this.visitImport(H,I)}ImportDefaultSpecifier(I){const H=I.local||I.id;this.visitImport(H,I)}ImportSpecifier(I){const H=I.local||I.id;I.name?this.visitImport(I.name,I):this.visitImport(H,I)}}class K extends e.default.Visitor{constructor(I,H){super(null,I),this.options=I,this.scopeManager=H,this.parent=null,this.isInnerMethodDefinition=!1}currentScope(){return this.scopeManager.__currentScope}close(I){for(;this.currentScope()&&I===this.currentScope().block;)this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}pushInnerMethodDefinition(I){const H=this.isInnerMethodDefinition;return this.isInnerMethodDefinition=I,H}popInnerMethodDefinition(I){this.isInnerMethodDefinition=I}referencingDefaultValue(I,H,fe,ce){const ie=this.currentScope();H.forEach(he=>{ie.__referencing(I,u.WRITE,he.right,fe,I!==he.left,ce)})}visitPattern(I,H,fe){let ce=H,ie=fe;typeof H=="function"&&(ie=H,ce={processRightHandNodes:!1}),X(this.options,I,ce.processRightHandNodes?this:null,ie)}visitFunction(I){let H,fe;I.type===_.FunctionDeclaration&&this.currentScope().__define(I.id,new a(s.FunctionName,I.id,I,null,null,null)),I.type===_.FunctionExpression&&I.id&&this.scopeManager.__nestFunctionExpressionNameScope(I),this.scopeManager.__nestFunctionScope(I,this.isInnerMethodDefinition);const ce=this;function ie(he,Se){ce.currentScope().__define(he,new c(he,I,H,Se.rest)),ce.referencingDefaultValue(he,Se.assignments,null,!0)}for(H=0,fe=I.params.length;H<fe;++H)this.visitPattern(I.params[H],{processRightHandNodes:!0},ie);I.rest&&this.visitPattern({type:"RestElement",argument:I.rest},he=>{this.currentScope().__define(he,new c(he,I,I.params.length,!0))}),I.body&&(I.body.type===_.BlockStatement?this.visitChildren(I.body):this.visit(I.body)),this.close(I)}visitClass(I){I.type===_.ClassDeclaration&&this.currentScope().__define(I.id,new a(s.ClassName,I.id,I,null,null,null)),this.scopeManager.__nestClassScope(I),I.id&&this.currentScope().__define(I.id,new a(s.ClassName,I.id,I)),this.visit(I.superClass),this.visit(I.body),this.close(I)}visitProperty(I){let H;I.computed&&this.visit(I.key);const fe=I.type===_.MethodDefinition;fe&&(H=this.pushInnerMethodDefinition(!0)),this.visit(I.value),fe&&this.popInnerMethodDefinition(H)}visitForIn(I){I.left.type===_.VariableDeclaration&&I.left.kind!=="var"&&this.scopeManager.__nestForScope(I),I.left.type===_.VariableDeclaration?(this.visit(I.left),this.visitPattern(I.left.declarations[0].id,H=>{this.currentScope().__referencing(H,u.WRITE,I.right,null,!0,!0)})):this.visitPattern(I.left,{processRightHandNodes:!0},(H,fe)=>{let ce=null;this.currentScope().isStrict||(ce={pattern:H,node:I}),this.referencingDefaultValue(H,fe.assignments,ce,!1),this.currentScope().__referencing(H,u.WRITE,I.right,ce,!0,!1)}),this.visit(I.right),this.visit(I.body),this.close(I)}visitVariableDeclaration(I,H,fe,ce){const ie=fe.declarations[ce],he=ie.init;this.visitPattern(ie.id,{processRightHandNodes:!0},(Se,xe)=>{I.__define(Se,new a(H,Se,ie,fe,ce,fe.kind)),this.referencingDefaultValue(Se,xe.assignments,null,!0),he&&this.currentScope().__referencing(Se,u.WRITE,he,null,!xe.topLevel,!0)})}AssignmentExpression(I){N.isPattern(I.left)?I.operator==="="?this.visitPattern(I.left,{processRightHandNodes:!0},(H,fe)=>{let ce=null;this.currentScope().isStrict||(ce={pattern:H,node:I}),this.referencingDefaultValue(H,fe.assignments,ce,!1),this.currentScope().__referencing(H,u.WRITE,I.right,ce,!fe.topLevel,!1)}):this.currentScope().__referencing(I.left,u.RW,I.right):this.visit(I.left),this.visit(I.right)}CatchClause(I){this.scopeManager.__nestCatchScope(I),this.visitPattern(I.param,{processRightHandNodes:!0},(H,fe)=>{this.currentScope().__define(H,new a(s.CatchClause,H,I,null,null,null)),this.referencingDefaultValue(H,fe.assignments,null,!0)}),this.visit(I.body),this.close(I)}Program(I){this.scopeManager.__nestGlobalScope(I),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.__nestFunctionScope(I,!1)),this.scopeManager.__isES6()&&this.scopeManager.isModule()&&this.scopeManager.__nestModuleScope(I),this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(I),this.close(I)}Identifier(I){this.currentScope().__referencing(I)}PrivateIdentifier(){}UpdateExpression(I){N.isPattern(I.argument)?this.currentScope().__referencing(I.argument,u.RW,null):this.visitChildren(I)}MemberExpression(I){this.visit(I.object),I.computed&&this.visit(I.property)}Property(I){this.visitProperty(I)}PropertyDefinition(I){const{computed:H,key:fe,value:ce}=I;H&&this.visit(fe),ce&&(this.scopeManager.__nestClassFieldInitializerScope(ce),this.visit(ce),this.close(ce))}StaticBlock(I){this.scopeManager.__nestClassStaticBlockScope(I),this.visitChildren(I),this.close(I)}MethodDefinition(I){this.visitProperty(I)}BreakStatement(){}ContinueStatement(){}LabeledStatement(I){this.visit(I.body)}ForStatement(I){I.init&&I.init.type===_.VariableDeclaration&&I.init.kind!=="var"&&this.scopeManager.__nestForScope(I),this.visitChildren(I),this.close(I)}ClassExpression(I){this.visitClass(I)}ClassDeclaration(I){this.visitClass(I)}CallExpression(I){!this.scopeManager.__ignoreEval()&&I.callee.type===_.Identifier&&I.callee.name==="eval"&&this.currentScope().variableScope.__detectEval(),this.visitChildren(I)}BlockStatement(I){this.scopeManager.__isES6()&&this.scopeManager.__nestBlockScope(I),this.visitChildren(I),this.close(I)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(I){this.visit(I.object),this.scopeManager.__nestWithScope(I),this.visit(I.body),this.close(I)}VariableDeclaration(I){const H=I.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let fe=0,ce=I.declarations.length;fe<ce;++fe){const ie=I.declarations[fe];this.visitVariableDeclaration(H,s.Variable,I,fe),ie.init&&this.visit(ie.init)}}SwitchStatement(I){this.visit(I.discriminant),this.scopeManager.__isES6()&&this.scopeManager.__nestSwitchScope(I);for(let H=0,fe=I.cases.length;H<fe;++H)this.visit(I.cases[H]);this.close(I)}FunctionDeclaration(I){this.visitFunction(I)}FunctionExpression(I){this.visitFunction(I)}ForOfStatement(I){this.visitForIn(I)}ForInStatement(I){this.visitForIn(I)}ArrowFunctionExpression(I){this.visitFunction(I)}ImportDeclaration(I){l(this.scopeManager.__isES6()&&this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),new L(I,this).visit(I)}visitExportDeclaration(I){if(!I.source){if(I.declaration){this.visit(I.declaration);return}this.visitChildren(I)}}ExportDeclaration(I){this.visitExportDeclaration(I)}ExportAllDeclaration(I){this.visitExportDeclaration(I)}ExportDefaultDeclaration(I){this.visitExportDeclaration(I)}ExportNamedDeclaration(I){this.visitExportDeclaration(I)}ExportSpecifier(I){const H=I.id||I.local;this.visit(H)}MetaProperty(){}JSXIdentifier(I){this.scopeManager.__isJSXEnabled()&&I.name!=="this"&&this.currentScope().__referencing(I)}JSXMemberExpression(I){this.visit(I.object)}JSXElement(I){this.scopeManager.__isJSXEnabled()?(this.visit(I.openingElement),I.children.forEach(this.visit,this)):this.visitChildren(I)}JSXOpeningElement(I){if(this.scopeManager.__isJSXEnabled()){const H=I.name;(H.type==="JSXIdentifier"&&H.name[0].toUpperCase()===H.name[0]||H.type==="JSXMemberExpression")&&this.visit(H)}I.attributes.forEach(this.visit,this)}JSXAttribute(I){I.value&&this.visit(I.value)}JSXExpressionContainer(I){this.visit(I.expression)}JSXNamespacedName(I){this.visit(I.namespace),this.visit(I.name)}}const J="8.4.0";function ge(){return{optimistic:!1,nodejsScope:!1,impliedStrict:!1,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function ae(Z,I){function H(fe){return typeof fe=="object"&&fe instanceof Object&&!(fe instanceof Array)&&!(fe instanceof RegExp)}for(const fe in I)if(Object.hasOwn(I,fe)){const ce=I[fe];H(ce)?H(Z[fe])?ae(Z[fe],ce):Z[fe]=ae({},ce):Z[fe]=ce}return Z}function ke(Z,I){const H=ae(ge(),I),fe=new F(H);return new K(H,fe).visit(Z),l(fe.__currentScope===null,"currentScope should be null."),fe}return zt.Definition=a,zt.PatternVisitor=N,zt.Reference=u,zt.Referencer=K,zt.Scope=v,zt.ScopeManager=F,zt.Variable=s,zt.analyze=ke,zt.version=J,zt}var Fr={},Gf;function Rr(){if(Gf)return Fr;Gf=1;const m={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},t=Object.keys(m);for(const f of t)Object.freeze(m[f]);Object.freeze(m);const p=new Set(["parent","leadingComments","trailingComments"]);function d(f){return!p.has(f)&&f[0]!=="_"}function e(f){return Object.keys(f).filter(d)}function l(f){const o=Object.assign({},m);for(const r of Object.keys(f))if(Object.hasOwn(o,r)){const u=new Set(f[r]);for(const s of o[r])u.add(s);o[r]=Object.freeze(Array.from(u))}else o[r]=Object.freeze(Array.from(f[r]));return Object.freeze(o)}return Fr.KEYS=m,Fr.getKeys=e,Fr.unionWith=l,Fr}var Xt={},Kr={exports:{}},zf;function un(){return zf||(zf=1,function(m,t){(function(p,d){d(t)})(this,function(p){var d=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],e=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],l="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",f="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",o={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",u={5:r,"5module":r+" export import",6:r+" const class extends export import super"},s=/^in(stanceof)?$/,a=new RegExp("["+f+"]"),c=new RegExp("["+f+l+"]");function n(y,D){for(var W=65536,Q=0;Q<D.length;Q+=2){if(W+=D[Q],W>y)return!1;if(W+=D[Q+1],W>=y)return!0}return!1}function i(y,D){return y<65?y===36:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&a.test(String.fromCharCode(y)):D===!1?!1:n(y,e)}function h(y,D){return y<48?y===36:y<58?!0:y<65?!1:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&c.test(String.fromCharCode(y)):D===!1?!1:n(y,e)||n(y,d)}var g=function(D,W){W===void 0&&(W={}),this.label=D,this.keyword=W.keyword,this.beforeExpr=!!W.beforeExpr,this.startsExpr=!!W.startsExpr,this.isLoop=!!W.isLoop,this.isAssign=!!W.isAssign,this.prefix=!!W.prefix,this.postfix=!!W.postfix,this.binop=W.binop||null,this.updateContext=null};function v(y,D){return new g(y,{beforeExpr:!0,binop:D})}var S={beforeExpr:!0},b={startsExpr:!0},T={};function x(y,D){return D===void 0&&(D={}),D.keyword=y,T[y]=new g(y,D)}var E={num:new g("num",b),regexp:new g("regexp",b),string:new g("string",b),name:new g("name",b),privateId:new g("privateId",b),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",S),semi:new g(";",S),colon:new g(":",S),dot:new g("."),question:new g("?",S),questionDot:new g("?."),arrow:new g("=>",S),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",S),backQuote:new g("`",b),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:v("||",1),logicalAND:v("&&",2),bitwiseOR:v("|",3),bitwiseXOR:v("^",4),bitwiseAND:v("&",5),equality:v("==/!=/===/!==",6),relational:v("</>/<=/>=",7),bitShift:v("<</>>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:v("%",10),star:v("*",10),slash:v("/",10),starstar:new g("**",{beforeExpr:!0}),coalesce:v("??",1),_break:x("break"),_case:x("case",S),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",S),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",S),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",b),_if:x("if"),_return:x("return",S),_switch:x("switch"),_throw:x("throw",S),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",b),_super:x("super",b),_class:x("class",b),_extends:x("extends",S),_export:x("export"),_import:x("import",b),_null:x("null",b),_true:x("true",b),_false:x("false",b),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},A=/\r\n?|\n|\u2028|\u2029/,C=new RegExp(A.source,"g");function w(y){return y===10||y===13||y===8232||y===8233}function k(y,D,W){W===void 0&&(W=y.length);for(var Q=D;Q<W;Q++){var ye=y.charCodeAt(Q);if(w(ye))return Q<W-1&&ye===13&&y.charCodeAt(Q+1)===10?Q+2:Q+1}return-1}var R=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,P=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,B=Object.prototype,F=B.hasOwnProperty,O=B.toString,$=Object.hasOwn||function(y,D){return F.call(y,D)},N=Array.isArray||function(y){return O.call(y)==="[object Array]"},_=Object.create(null);function X(y){return _[y]||(_[y]=new RegExp("^(?:"+y.replace(/ /g,"|")+")$"))}function L(y){return y<=65535?String.fromCharCode(y):(y-=65536,String.fromCharCode((y>>10)+55296,(y&1023)+56320))}var K=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,J=function(D,W){this.line=D,this.column=W};J.prototype.offset=function(D){return new J(this.line,this.column+D)};var ge=function(D,W,Q){this.start=W,this.end=Q,D.sourceFile!==null&&(this.source=D.sourceFile)};function ae(y,D){for(var W=1,Q=0;;){var ye=k(y,Q,D);if(ye<0)return new J(W,D-Q);++W,Q=ye}}var ke={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Z=!1;function I(y){var D={};for(var W in ke)D[W]=y&&$(y,W)?y[W]:ke[W];if(D.ecmaVersion==="latest"?D.ecmaVersion=1e8:D.ecmaVersion==null?(!Z&&typeof console=="object"&&console.warn&&(Z=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2
- Defaulting to 2020, but this will stop working in the future.`)),D.ecmaVersion=11):D.ecmaVersion>=2015&&(D.ecmaVersion-=2009),D.allowReserved==null&&(D.allowReserved=D.ecmaVersion<5),(!y||y.allowHashBang==null)&&(D.allowHashBang=D.ecmaVersion>=14),N(D.onToken)){var Q=D.onToken;D.onToken=function(ye){return Q.push(ye)}}return N(D.onComment)&&(D.onComment=H(D,D.onComment)),D}function H(y,D){return function(W,Q,ye,Ne,Me,Ze){var at={type:W?"Block":"Line",value:Q,start:ye,end:Ne};y.locations&&(at.loc=new ge(this,Me,Ze)),y.ranges&&(at.range=[ye,Ne]),D.push(at)}}var fe=1,ce=2,ie=4,he=8,Se=16,xe=32,we=64,ee=128,ne=256,Ae=512,z=fe|ce|ne;function oe(y,D){return ce|(y?ie:0)|(D?he:0)}var Te=0,Re=1,Pe=2,G=3,Je=4,lt=5,et=function(D,W,Q){this.options=D=I(D),this.sourceFile=D.sourceFile,this.keywords=X(u[D.ecmaVersion>=6?6:D.sourceType==="module"?"5module":5]);var ye="";D.allowReserved!==!0&&(ye=o[D.ecmaVersion>=6?6:D.ecmaVersion===5?5:3],D.sourceType==="module"&&(ye+=" await")),this.reservedWords=X(ye);var Ne=(ye?ye+" ":"")+o.strict;this.reservedWordsStrict=X(Ne),this.reservedWordsStrictBind=X(Ne+" "+o.strictBind),this.input=String(W),this.containsEsc=!1,Q?(this.pos=Q,this.lineStart=this.input.lastIndexOf(`
3
- `,Q-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(A).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=E.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=D.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&D.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(fe),this.regexpState=null,this.privateNameStack=[]},qe={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};et.prototype.parse=function(){var D=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(D)},qe.inFunction.get=function(){return(this.currentVarScope().flags&ce)>0},qe.inGenerator.get=function(){return(this.currentVarScope().flags&he)>0},qe.inAsync.get=function(){return(this.currentVarScope().flags&ie)>0},qe.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var D=this.scopeStack[y],W=D.flags;if(W&(ne|Ae))return!1;if(W&ce)return(W&ie)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},qe.allowSuper.get=function(){var y=this.currentThisScope(),D=y.flags;return(D&we)>0||this.options.allowSuperOutsideMethod},qe.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ee)>0},qe.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},qe.allowNewDotTarget.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var D=this.scopeStack[y],W=D.flags;if(W&(ne|Ae)||W&ce&&!(W&Se))return!0}return!1},qe.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ne)>0},et.extend=function(){for(var D=[],W=arguments.length;W--;)D[W]=arguments[W];for(var Q=this,ye=0;ye<D.length;ye++)Q=D[ye](Q);return Q},et.parse=function(D,W){return new this(W,D).parse()},et.parseExpressionAt=function(D,W,Q){var ye=new this(Q,D,W);return ye.nextToken(),ye.parseExpression()},et.tokenizer=function(D,W){return new this(W,D)},Object.defineProperties(et.prototype,qe);var $e=et.prototype,nt=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;$e.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){P.lastIndex=y,y+=P.exec(this.input)[0].length;var D=nt.exec(this.input.slice(y));if(!D)return!1;if((D[1]||D[2])==="use strict"){P.lastIndex=y+D[0].length;var W=P.exec(this.input),Q=W.index+W[0].length,ye=this.input.charAt(Q);return ye===";"||ye==="}"||A.test(W[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(ye)||ye==="!"&&this.input.charAt(Q+1)==="=")}y+=D[0].length,P.lastIndex=y,y+=P.exec(this.input)[0].length,this.input[y]===";"&&y++}},$e.eat=function(y){return this.type===y?(this.next(),!0):!1},$e.isContextual=function(y){return this.type===E.name&&this.value===y&&!this.containsEsc},$e.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},$e.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},$e.canInsertSemicolon=function(){return this.type===E.eof||this.type===E.braceR||A.test(this.input.slice(this.lastTokEnd,this.start))},$e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},$e.semicolon=function(){!this.eat(E.semi)&&!this.insertSemicolon()&&this.unexpected()},$e.afterTrailingComma=function(y,D){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),D||this.next(),!0},$e.expect=function(y){this.eat(y)||this.unexpected()},$e.unexpected=function(y){this.raise(y??this.start,"Unexpected token")};var pt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$e.checkPatternErrors=function(y,D){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var W=D?y.parenthesizedAssign:y.parenthesizedBind;W>-1&&this.raiseRecoverable(W,D?"Assigning to rvalue":"Parenthesized pattern")}},$e.checkExpressionErrors=function(y,D){if(!y)return!1;var W=y.shorthandAssign,Q=y.doubleProto;if(!D)return W>=0||Q>=0;W>=0&&this.raise(W,"Shorthand property assignments are valid only in destructuring patterns"),Q>=0&&this.raiseRecoverable(Q,"Redefinition of __proto__ property")},$e.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},$e.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var tt=et.prototype;tt.parseTopLevel=function(y){var D=Object.create(null);for(y.body||(y.body=[]);this.type!==E.eof;){var W=this.parseStatement(null,!0,D);y.body.push(W)}if(this.inModule)for(var Q=0,ye=Object.keys(this.undefinedExports);Q<ye.length;Q+=1){var Ne=ye[Q];this.raiseRecoverable(this.undefinedExports[Ne].start,"Export '"+Ne+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var Qe={kind:"loop"},vt={kind:"switch"};tt.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;P.lastIndex=this.pos;var D=P.exec(this.input),W=this.pos+D[0].length,Q=this.input.charCodeAt(W);if(Q===91||Q===92)return!0;if(y)return!1;if(Q===123||Q>55295&&Q<56320)return!0;if(i(Q,!0)){for(var ye=W+1;h(Q=this.input.charCodeAt(ye),!0);)++ye;if(Q===92||Q>55295&&Q<56320)return!0;var Ne=this.input.slice(W,ye);if(!s.test(Ne))return!0}return!1},tt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;P.lastIndex=this.pos;var y=P.exec(this.input),D=this.pos+y[0].length,W;return!A.test(this.input.slice(this.pos,D))&&this.input.slice(D,D+8)==="function"&&(D+8===this.input.length||!(h(W=this.input.charCodeAt(D+8))||W>55295&&W<56320))},tt.isUsingKeyword=function(y,D){if(this.options.ecmaVersion<17||!this.isContextual(y?"await":"using"))return!1;P.lastIndex=this.pos;var W=P.exec(this.input),Q=this.pos+W[0].length;if(A.test(this.input.slice(this.pos,Q)))return!1;if(y){var ye=Q+5,Ne;if(this.input.slice(Q,ye)!=="using"||ye===this.input.length||h(Ne=this.input.charCodeAt(ye))||Ne>55295&&Ne<56320)return!1;P.lastIndex=ye;var Me=P.exec(this.input);if(Me&&A.test(this.input.slice(ye,ye+Me[0].length)))return!1}if(D){var Ze=Q+2,at;if(this.input.slice(Q,Ze)==="of"&&(Ze===this.input.length||!h(at=this.input.charCodeAt(Ze))&&!(at>55295&&at<56320)))return!1}var dt=this.input.charCodeAt(Q);return i(dt,!0)||dt===92},tt.isAwaitUsing=function(y){return this.isUsingKeyword(!0,y)},tt.isUsing=function(y){return this.isUsingKeyword(!1,y)},tt.parseStatement=function(y,D,W){var Q=this.type,ye=this.startNode(),Ne;switch(this.isLet(y)&&(Q=E._var,Ne="let"),Q){case E._break:case E._continue:return this.parseBreakContinueStatement(ye,Q.keyword);case E._debugger:return this.parseDebuggerStatement(ye);case E._do:return this.parseDoStatement(ye);case E._for:return this.parseForStatement(ye);case E._function:return y&&(this.strict||y!=="if"&&y!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(ye,!1,!y);case E._class:return y&&this.unexpected(),this.parseClass(ye,!0);case E._if:return this.parseIfStatement(ye);case E._return:return this.parseReturnStatement(ye);case E._switch:return this.parseSwitchStatement(ye);case E._throw:return this.parseThrowStatement(ye);case E._try:return this.parseTryStatement(ye);case E._const:case E._var:return Ne=Ne||this.value,y&&Ne!=="var"&&this.unexpected(),this.parseVarStatement(ye,Ne);case E._while:return this.parseWhileStatement(ye);case E._with:return this.parseWithStatement(ye);case E.braceL:return this.parseBlock(!0,ye);case E.semi:return this.parseEmptyStatement(ye);case E._export:case E._import:if(this.options.ecmaVersion>10&&Q===E._import){P.lastIndex=this.pos;var Me=P.exec(this.input),Ze=this.pos+Me[0].length,at=this.input.charCodeAt(Ze);if(at===40||at===46)return this.parseExpressionStatement(ye,this.parseExpression())}return this.options.allowImportExportEverywhere||(D||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),Q===E._import?this.parseImport(ye):this.parseExport(ye,W);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(ye,!0,!y);var dt=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(dt)return D&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),dt==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(ye,!1,dt),this.semicolon(),this.finishNode(ye,"VariableDeclaration");var gt=this.value,At=this.parseExpression();return Q===E.name&&At.type==="Identifier"&&this.eat(E.colon)?this.parseLabeledStatement(ye,gt,At,y):this.parseExpressionStatement(ye,At)}},tt.parseBreakContinueStatement=function(y,D){var W=D==="break";this.next(),this.eat(E.semi)||this.insertSemicolon()?y.label=null:this.type!==E.name?this.unexpected():(y.label=this.parseIdent(),this.semicolon());for(var Q=0;Q<this.labels.length;++Q){var ye=this.labels[Q];if((y.label==null||ye.name===y.label.name)&&(ye.kind!=null&&(W||ye.kind==="loop")||y.label&&W))break}return Q===this.labels.length&&this.raise(y.start,"Unsyntactic "+D),this.finishNode(y,W?"BreakStatement":"ContinueStatement")},tt.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},tt.parseDoStatement=function(y){return this.next(),this.labels.push(Qe),y.body=this.parseStatement("do"),this.labels.pop(),this.expect(E._while),y.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(E.semi):this.semicolon(),this.finishNode(y,"DoWhileStatement")},tt.parseForStatement=function(y){this.next();var D=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Qe),this.enterScope(0),this.expect(E.parenL),this.type===E.semi)return D>-1&&this.unexpected(D),this.parseFor(y,null);var W=this.isLet();if(this.type===E._var||this.type===E._const||W){var Q=this.startNode(),ye=W?"let":this.value;return this.next(),this.parseVar(Q,!0,ye),this.finishNode(Q,"VariableDeclaration"),this.parseForAfterInit(y,Q,D)}var Ne=this.isContextual("let"),Me=!1,Ze=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(Ze){var at=this.startNode();return this.next(),Ze==="await using"&&this.next(),this.parseVar(at,!0,Ze),this.finishNode(at,"VariableDeclaration"),this.parseForAfterInit(y,at,D)}var dt=this.containsEsc,gt=new pt,At=this.start,Nt=D>-1?this.parseExprSubscripts(gt,"await"):this.parseExpression(!0,gt);return this.type===E._in||(Me=this.options.ecmaVersion>=6&&this.isContextual("of"))?(D>-1?(this.type===E._in&&this.unexpected(D),y.await=!0):Me&&this.options.ecmaVersion>=8&&(Nt.start===At&&!dt&&Nt.type==="Identifier"&&Nt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(y.await=!1)),Ne&&Me&&this.raise(Nt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Nt,!1,gt),this.checkLValPattern(Nt),this.parseForIn(y,Nt)):(this.checkExpressionErrors(gt,!0),D>-1&&this.unexpected(D),this.parseFor(y,Nt))},tt.parseForAfterInit=function(y,D,W){return(this.type===E._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&D.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===E._in?W>-1&&this.unexpected(W):y.await=W>-1),this.parseForIn(y,D)):(W>-1&&this.unexpected(W),this.parseFor(y,D))},tt.parseFunctionStatement=function(y,D,W){return this.next(),this.parseFunction(y,bt|(W?0:Ke),!1,D)},tt.parseIfStatement=function(y){return this.next(),y.test=this.parseParenExpression(),y.consequent=this.parseStatement("if"),y.alternate=this.eat(E._else)?this.parseStatement("if"):null,this.finishNode(y,"IfStatement")},tt.parseReturnStatement=function(y){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(E.semi)||this.insertSemicolon()?y.argument=null:(y.argument=this.parseExpression(),this.semicolon()),this.finishNode(y,"ReturnStatement")},tt.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(E.braceL),this.labels.push(vt),this.enterScope(0);for(var D,W=!1;this.type!==E.braceR;)if(this.type===E._case||this.type===E._default){var Q=this.type===E._case;D&&this.finishNode(D,"SwitchCase"),y.cases.push(D=this.startNode()),D.consequent=[],this.next(),Q?D.test=this.parseExpression():(W&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),W=!0,D.test=null),this.expect(E.colon)}else D||this.unexpected(),D.consequent.push(this.parseStatement(null));return this.exitScope(),D&&this.finishNode(D,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(y,"SwitchStatement")},tt.parseThrowStatement=function(y){return this.next(),A.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),y.argument=this.parseExpression(),this.semicolon(),this.finishNode(y,"ThrowStatement")};var Ye=[];tt.parseCatchClauseParam=function(){var y=this.parseBindingAtom(),D=y.type==="Identifier";return this.enterScope(D?xe:0),this.checkLValPattern(y,D?Je:Pe),this.expect(E.parenR),y},tt.parseTryStatement=function(y){if(this.next(),y.block=this.parseBlock(),y.handler=null,this.type===E._catch){var D=this.startNode();this.next(),this.eat(E.parenL)?D.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),D.param=null,this.enterScope(0)),D.body=this.parseBlock(!1),this.exitScope(),y.handler=this.finishNode(D,"CatchClause")}return y.finalizer=this.eat(E._finally)?this.parseBlock():null,!y.handler&&!y.finalizer&&this.raise(y.start,"Missing catch or finally clause"),this.finishNode(y,"TryStatement")},tt.parseVarStatement=function(y,D,W){return this.next(),this.parseVar(y,!1,D,W),this.semicolon(),this.finishNode(y,"VariableDeclaration")},tt.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(Qe),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},tt.parseWithStatement=function(y){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),y.object=this.parseParenExpression(),y.body=this.parseStatement("with"),this.finishNode(y,"WithStatement")},tt.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},tt.parseLabeledStatement=function(y,D,W,Q){for(var ye=0,Ne=this.labels;ye<Ne.length;ye+=1){var Me=Ne[ye];Me.name===D&&this.raise(W.start,"Label '"+D+"' is already declared")}for(var Ze=this.type.isLoop?"loop":this.type===E._switch?"switch":null,at=this.labels.length-1;at>=0;at--){var dt=this.labels[at];if(dt.statementStart===y.start)dt.statementStart=this.start,dt.kind=Ze;else break}return this.labels.push({name:D,kind:Ze,statementStart:this.start}),y.body=this.parseStatement(Q?Q.indexOf("label")===-1?Q+"label":Q:"label"),this.labels.pop(),y.label=W,this.finishNode(y,"LabeledStatement")},tt.parseExpressionStatement=function(y,D){return y.expression=D,this.semicolon(),this.finishNode(y,"ExpressionStatement")},tt.parseBlock=function(y,D,W){for(y===void 0&&(y=!0),D===void 0&&(D=this.startNode()),D.body=[],this.expect(E.braceL),y&&this.enterScope(0);this.type!==E.braceR;){var Q=this.parseStatement(null);D.body.push(Q)}return W&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(D,"BlockStatement")},tt.parseFor=function(y,D){return y.init=D,this.expect(E.semi),y.test=this.type===E.semi?null:this.parseExpression(),this.expect(E.semi),y.update=this.type===E.parenR?null:this.parseExpression(),this.expect(E.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,"ForStatement")},tt.parseForIn=function(y,D){var W=this.type===E._in;return this.next(),D.type==="VariableDeclaration"&&D.declarations[0].init!=null&&(!W||this.options.ecmaVersion<8||this.strict||D.kind!=="var"||D.declarations[0].id.type!=="Identifier")&&this.raise(D.start,(W?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=D,y.right=W?this.parseExpression():this.parseMaybeAssign(),this.expect(E.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,W?"ForInStatement":"ForOfStatement")},tt.parseVar=function(y,D,W,Q){for(y.declarations=[],y.kind=W;;){var ye=this.startNode();if(this.parseVarId(ye,W),this.eat(E.eq)?ye.init=this.parseMaybeAssign(D):!Q&&W==="const"&&!(this.type===E._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!Q&&(W==="using"||W==="await using")&&this.options.ecmaVersion>=17&&this.type!==E._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+W+" declaration"):!Q&&ye.id.type!=="Identifier"&&!(D&&(this.type===E._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):ye.init=null,y.declarations.push(this.finishNode(ye,"VariableDeclarator")),!this.eat(E.comma))break}return y},tt.parseVarId=function(y,D){y.id=D==="using"||D==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(y.id,D==="var"?Re:Pe,!1)};var bt=1,Ke=2,We=4;tt.parseFunction=function(y,D,W,Q,ye){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Q)&&(this.type===E.star&&D&Ke&&this.unexpected(),y.generator=this.eat(E.star)),this.options.ecmaVersion>=8&&(y.async=!!Q),D&bt&&(y.id=D&We&&this.type!==E.name?null:this.parseIdent(),y.id&&!(D&Ke)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?Re:Pe:G));var Ne=this.yieldPos,Me=this.awaitPos,Ze=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(oe(y.async,y.generator)),D&bt||(y.id=this.type===E.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,W,!1,ye),this.yieldPos=Ne,this.awaitPos=Me,this.awaitIdentPos=Ze,this.finishNode(y,D&bt?"FunctionDeclaration":"FunctionExpression")},tt.parseFunctionParams=function(y){this.expect(E.parenL),y.params=this.parseBindingList(E.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},tt.parseClass=function(y,D){this.next();var W=this.strict;this.strict=!0,this.parseClassId(y,D),this.parseClassSuper(y);var Q=this.enterClassBody(),ye=this.startNode(),Ne=!1;for(ye.body=[],this.expect(E.braceL);this.type!==E.braceR;){var Me=this.parseClassElement(y.superClass!==null);Me&&(ye.body.push(Me),Me.type==="MethodDefinition"&&Me.kind==="constructor"?(Ne&&this.raiseRecoverable(Me.start,"Duplicate constructor in the same class"),Ne=!0):Me.key&&Me.key.type==="PrivateIdentifier"&&Ee(Q,Me)&&this.raiseRecoverable(Me.key.start,"Identifier '#"+Me.key.name+"' has already been declared"))}return this.strict=W,this.next(),y.body=this.finishNode(ye,"ClassBody"),this.exitClassBody(),this.finishNode(y,D?"ClassDeclaration":"ClassExpression")},tt.parseClassElement=function(y){if(this.eat(E.semi))return null;var D=this.options.ecmaVersion,W=this.startNode(),Q="",ye=!1,Ne=!1,Me="method",Ze=!1;if(this.eatContextual("static")){if(D>=13&&this.eat(E.braceL))return this.parseClassStaticBlock(W),W;this.isClassElementNameStart()||this.type===E.star?Ze=!0:Q="static"}if(W.static=Ze,!Q&&D>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===E.star)&&!this.canInsertSemicolon()?Ne=!0:Q="async"),!Q&&(D>=9||!Ne)&&this.eat(E.star)&&(ye=!0),!Q&&!Ne&&!ye){var at=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Me=at:Q=at)}if(Q?(W.computed=!1,W.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),W.key.name=Q,this.finishNode(W.key,"Identifier")):this.parseClassElementName(W),D<13||this.type===E.parenL||Me!=="method"||ye||Ne){var dt=!W.static&&j(W,"constructor"),gt=dt&&y;dt&&Me!=="method"&&this.raise(W.key.start,"Constructor can't have get/set modifier"),W.kind=dt?"constructor":Me,this.parseClassMethod(W,ye,Ne,gt)}else this.parseClassField(W);return W},tt.isClassElementNameStart=function(){return this.type===E.name||this.type===E.privateId||this.type===E.num||this.type===E.string||this.type===E.bracketL||this.type.keyword},tt.parseClassElementName=function(y){this.type===E.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),y.computed=!1,y.key=this.parsePrivateIdent()):this.parsePropertyName(y)},tt.parseClassMethod=function(y,D,W,Q){var ye=y.key;y.kind==="constructor"?(D&&this.raise(ye.start,"Constructor can't be a generator"),W&&this.raise(ye.start,"Constructor can't be an async method")):y.static&&j(y,"prototype")&&this.raise(ye.start,"Classes may not have a static property named prototype");var Ne=y.value=this.parseMethod(D,W,Q);return y.kind==="get"&&Ne.params.length!==0&&this.raiseRecoverable(Ne.start,"getter should have no params"),y.kind==="set"&&Ne.params.length!==1&&this.raiseRecoverable(Ne.start,"setter should have exactly one param"),y.kind==="set"&&Ne.params[0].type==="RestElement"&&this.raiseRecoverable(Ne.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},tt.parseClassField=function(y){return j(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&j(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(E.eq)?(this.enterScope(Ae|we),y.value=this.parseMaybeAssign(),this.exitScope()):y.value=null,this.semicolon(),this.finishNode(y,"PropertyDefinition")},tt.parseClassStaticBlock=function(y){y.body=[];var D=this.labels;for(this.labels=[],this.enterScope(ne|we);this.type!==E.braceR;){var W=this.parseStatement(null);y.body.push(W)}return this.next(),this.exitScope(),this.labels=D,this.finishNode(y,"StaticBlock")},tt.parseClassId=function(y,D){this.type===E.name?(y.id=this.parseIdent(),D&&this.checkLValSimple(y.id,Pe,!1)):(D===!0&&this.unexpected(),y.id=null)},tt.parseClassSuper=function(y){y.superClass=this.eat(E._extends)?this.parseExprSubscripts(null,!1):null},tt.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},tt.exitClassBody=function(){var y=this.privateNameStack.pop(),D=y.declared,W=y.used;if(this.options.checkPrivateFields)for(var Q=this.privateNameStack.length,ye=Q===0?null:this.privateNameStack[Q-1],Ne=0;Ne<W.length;++Ne){var Me=W[Ne];$(D,Me.name)||(ye?ye.used.push(Me):this.raiseRecoverable(Me.start,"Private field '#"+Me.name+"' must be declared in an enclosing class"))}};function Ee(y,D){var W=D.key.name,Q=y[W],ye="true";return D.type==="MethodDefinition"&&(D.kind==="get"||D.kind==="set")&&(ye=(D.static?"s":"i")+D.kind),Q==="iget"&&ye==="iset"||Q==="iset"&&ye==="iget"||Q==="sget"&&ye==="sset"||Q==="sset"&&ye==="sget"?(y[W]="true",!1):Q?!0:(y[W]=ye,!1)}function j(y,D){var W=y.computed,Q=y.key;return!W&&(Q.type==="Identifier"&&Q.name===D||Q.type==="Literal"&&Q.value===D)}tt.parseExportAllDeclaration=function(y,D){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(y.exported=this.parseModuleExportName(),this.checkExport(D,y.exported,this.lastTokStart)):y.exported=null),this.expectContextual("from"),this.type!==E.string&&this.unexpected(),y.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(y,"ExportAllDeclaration")},tt.parseExport=function(y,D){if(this.next(),this.eat(E.star))return this.parseExportAllDeclaration(y,D);if(this.eat(E._default))return this.checkExport(D,"default",this.lastTokStart),y.declaration=this.parseExportDefaultDeclaration(),this.finishNode(y,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())y.declaration=this.parseExportDeclaration(y),y.declaration.type==="VariableDeclaration"?this.checkVariableExport(D,y.declaration.declarations):this.checkExport(D,y.declaration.id,y.declaration.id.start),y.specifiers=[],y.source=null,this.options.ecmaVersion>=16&&(y.attributes=[]);else{if(y.declaration=null,y.specifiers=this.parseExportSpecifiers(D),this.eatContextual("from"))this.type!==E.string&&this.unexpected(),y.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause());else{for(var W=0,Q=y.specifiers;W<Q.length;W+=1){var ye=Q[W];this.checkUnreserved(ye.local),this.checkLocalExport(ye.local),ye.local.type==="Literal"&&this.raise(ye.local.start,"A string literal cannot be used as an exported binding without `from`.")}y.source=null,this.options.ecmaVersion>=16&&(y.attributes=[])}this.semicolon()}return this.finishNode(y,"ExportNamedDeclaration")},tt.parseExportDeclaration=function(y){return this.parseStatement(null)},tt.parseExportDefaultDeclaration=function(){var y;if(this.type===E._function||(y=this.isAsyncFunction())){var D=this.startNode();return this.next(),y&&this.next(),this.parseFunction(D,bt|We,!1,y)}else if(this.type===E._class){var W=this.startNode();return this.parseClass(W,"nullableID")}else{var Q=this.parseMaybeAssign();return this.semicolon(),Q}},tt.checkExport=function(y,D,W){y&&(typeof D!="string"&&(D=D.type==="Identifier"?D.name:D.value),$(y,D)&&this.raiseRecoverable(W,"Duplicate export '"+D+"'"),y[D]=!0)},tt.checkPatternExport=function(y,D){var W=D.type;if(W==="Identifier")this.checkExport(y,D,D.start);else if(W==="ObjectPattern")for(var Q=0,ye=D.properties;Q<ye.length;Q+=1){var Ne=ye[Q];this.checkPatternExport(y,Ne)}else if(W==="ArrayPattern")for(var Me=0,Ze=D.elements;Me<Ze.length;Me+=1){var at=Ze[Me];at&&this.checkPatternExport(y,at)}else W==="Property"?this.checkPatternExport(y,D.value):W==="AssignmentPattern"?this.checkPatternExport(y,D.left):W==="RestElement"&&this.checkPatternExport(y,D.argument)},tt.checkVariableExport=function(y,D){if(y)for(var W=0,Q=D;W<Q.length;W+=1){var ye=Q[W];this.checkPatternExport(y,ye.id)}},tt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},tt.parseExportSpecifier=function(y){var D=this.startNode();return D.local=this.parseModuleExportName(),D.exported=this.eatContextual("as")?this.parseModuleExportName():D.local,this.checkExport(y,D.exported,D.exported.start),this.finishNode(D,"ExportSpecifier")},tt.parseExportSpecifiers=function(y){var D=[],W=!0;for(this.expect(E.braceL);!this.eat(E.braceR);){if(W)W=!1;else if(this.expect(E.comma),this.afterTrailingComma(E.braceR))break;D.push(this.parseExportSpecifier(y))}return D},tt.parseImport=function(y){return this.next(),this.type===E.string?(y.specifiers=Ye,y.source=this.parseExprAtom()):(y.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),y.source=this.type===E.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(y.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(y,"ImportDeclaration")},tt.parseImportSpecifier=function(){var y=this.startNode();return y.imported=this.parseModuleExportName(),this.eatContextual("as")?y.local=this.parseIdent():(this.checkUnreserved(y.imported),y.local=y.imported),this.checkLValSimple(y.local,Pe),this.finishNode(y,"ImportSpecifier")},tt.parseImportDefaultSpecifier=function(){var y=this.startNode();return y.local=this.parseIdent(),this.checkLValSimple(y.local,Pe),this.finishNode(y,"ImportDefaultSpecifier")},tt.parseImportNamespaceSpecifier=function(){var y=this.startNode();return this.next(),this.expectContextual("as"),y.local=this.parseIdent(),this.checkLValSimple(y.local,Pe),this.finishNode(y,"ImportNamespaceSpecifier")},tt.parseImportSpecifiers=function(){var y=[],D=!0;if(this.type===E.name&&(y.push(this.parseImportDefaultSpecifier()),!this.eat(E.comma)))return y;if(this.type===E.star)return y.push(this.parseImportNamespaceSpecifier()),y;for(this.expect(E.braceL);!this.eat(E.braceR);){if(D)D=!1;else if(this.expect(E.comma),this.afterTrailingComma(E.braceR))break;y.push(this.parseImportSpecifier())}return y},tt.parseWithClause=function(){var y=[];if(!this.eat(E._with))return y;this.expect(E.braceL);for(var D={},W=!0;!this.eat(E.braceR);){if(W)W=!1;else if(this.expect(E.comma),this.afterTrailingComma(E.braceR))break;var Q=this.parseImportAttribute(),ye=Q.key.type==="Identifier"?Q.key.name:Q.key.value;$(D,ye)&&this.raiseRecoverable(Q.key.start,"Duplicate attribute key '"+ye+"'"),D[ye]=!0,y.push(Q)}return y},tt.parseImportAttribute=function(){var y=this.startNode();return y.key=this.type===E.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(E.colon),this.type!==E.string&&this.unexpected(),y.value=this.parseExprAtom(),this.finishNode(y,"ImportAttribute")},tt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===E.string){var y=this.parseLiteral(this.value);return K.test(y.value)&&this.raise(y.start,"An export name cannot include a lone surrogate."),y}return this.parseIdent(!0)},tt.adaptDirectivePrologue=function(y){for(var D=0;D<y.length&&this.isDirectiveCandidate(y[D]);++D)y[D].directive=y[D].expression.raw.slice(1,-1)},tt.isDirectiveCandidate=function(y){return this.options.ecmaVersion>=5&&y.type==="ExpressionStatement"&&y.expression.type==="Literal"&&typeof y.expression.value=="string"&&(this.input[y.start]==='"'||this.input[y.start]==="'")};var U=et.prototype;U.toAssignable=function(y,D,W){if(this.options.ecmaVersion>=6&&y)switch(y.type){case"Identifier":this.inAsync&&y.name==="await"&&this.raise(y.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":y.type="ObjectPattern",W&&this.checkPatternErrors(W,!0);for(var Q=0,ye=y.properties;Q<ye.length;Q+=1){var Ne=ye[Q];this.toAssignable(Ne,D),Ne.type==="RestElement"&&(Ne.argument.type==="ArrayPattern"||Ne.argument.type==="ObjectPattern")&&this.raise(Ne.argument.start,"Unexpected token")}break;case"Property":y.kind!=="init"&&this.raise(y.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(y.value,D);break;case"ArrayExpression":y.type="ArrayPattern",W&&this.checkPatternErrors(W,!0),this.toAssignableList(y.elements,D);break;case"SpreadElement":y.type="RestElement",this.toAssignable(y.argument,D),y.argument.type==="AssignmentPattern"&&this.raise(y.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":y.operator!=="="&&this.raise(y.left.end,"Only '=' operator can be used for specifying default value."),y.type="AssignmentPattern",delete y.operator,this.toAssignable(y.left,D);break;case"ParenthesizedExpression":this.toAssignable(y.expression,D,W);break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!D)break;default:this.raise(y.start,"Assigning to rvalue")}else W&&this.checkPatternErrors(W,!0);return y},U.toAssignableList=function(y,D){for(var W=y.length,Q=0;Q<W;Q++){var ye=y[Q];ye&&this.toAssignable(ye,D)}if(W){var Ne=y[W-1];this.options.ecmaVersion===6&&D&&Ne&&Ne.type==="RestElement"&&Ne.argument.type!=="Identifier"&&this.unexpected(Ne.argument.start)}return y},U.parseSpread=function(y){var D=this.startNode();return this.next(),D.argument=this.parseMaybeAssign(!1,y),this.finishNode(D,"SpreadElement")},U.parseRestBinding=function(){var y=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==E.name&&this.unexpected(),y.argument=this.parseBindingAtom(),this.finishNode(y,"RestElement")},U.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case E.bracketL:var y=this.startNode();return this.next(),y.elements=this.parseBindingList(E.bracketR,!0,!0),this.finishNode(y,"ArrayPattern");case E.braceL:return this.parseObj(!0)}return this.parseIdent()},U.parseBindingList=function(y,D,W,Q){for(var ye=[],Ne=!0;!this.eat(y);)if(Ne?Ne=!1:this.expect(E.comma),D&&this.type===E.comma)ye.push(null);else{if(W&&this.afterTrailingComma(y))break;if(this.type===E.ellipsis){var Me=this.parseRestBinding();this.parseBindingListItem(Me),ye.push(Me),this.type===E.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else ye.push(this.parseAssignableListItem(Q))}return ye},U.parseAssignableListItem=function(y){var D=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(D),D},U.parseBindingListItem=function(y){return y},U.parseMaybeDefault=function(y,D,W){if(W=W||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(E.eq))return W;var Q=this.startNodeAt(y,D);return Q.left=W,Q.right=this.parseMaybeAssign(),this.finishNode(Q,"AssignmentPattern")},U.checkLValSimple=function(y,D,W){D===void 0&&(D=Te);var Q=D!==Te;switch(y.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(y.name)&&this.raiseRecoverable(y.start,(Q?"Binding ":"Assigning to ")+y.name+" in strict mode"),Q&&(D===Pe&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),W&&($(W,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),W[y.name]=!0),D!==lt&&this.declareName(y.name,D,y.start));break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Q&&this.raiseRecoverable(y.start,"Binding member expression");break;case"ParenthesizedExpression":return Q&&this.raiseRecoverable(y.start,"Binding parenthesized expression"),this.checkLValSimple(y.expression,D,W);default:this.raise(y.start,(Q?"Binding":"Assigning to")+" rvalue")}},U.checkLValPattern=function(y,D,W){switch(D===void 0&&(D=Te),y.type){case"ObjectPattern":for(var Q=0,ye=y.properties;Q<ye.length;Q+=1){var Ne=ye[Q];this.checkLValInnerPattern(Ne,D,W)}break;case"ArrayPattern":for(var Me=0,Ze=y.elements;Me<Ze.length;Me+=1){var at=Ze[Me];at&&this.checkLValInnerPattern(at,D,W)}break;default:this.checkLValSimple(y,D,W)}},U.checkLValInnerPattern=function(y,D,W){switch(D===void 0&&(D=Te),y.type){case"Property":this.checkLValInnerPattern(y.value,D,W);break;case"AssignmentPattern":this.checkLValPattern(y.left,D,W);break;case"RestElement":this.checkLValPattern(y.argument,D,W);break;default:this.checkLValPattern(y,D,W)}};var V=function(D,W,Q,ye,Ne){this.token=D,this.isExpr=!!W,this.preserveSpace=!!Q,this.override=ye,this.generator=!!Ne},Y={b_stat:new V("{",!1),b_expr:new V("{",!0),b_tmpl:new V("${",!1),p_stat:new V("(",!1),p_expr:new V("(",!0),q_tmpl:new V("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new V("function",!1),f_expr:new V("function",!0),f_expr_gen:new V("function",!0,!1,null,!0),f_gen:new V("function",!1,!1,null,!0)},le=et.prototype;le.initialContext=function(){return[Y.b_stat]},le.curContext=function(){return this.context[this.context.length-1]},le.braceIsBlock=function(y){var D=this.curContext();return D===Y.f_expr||D===Y.f_stat?!0:y===E.colon&&(D===Y.b_stat||D===Y.b_expr)?!D.isExpr:y===E._return||y===E.name&&this.exprAllowed?A.test(this.input.slice(this.lastTokEnd,this.start)):y===E._else||y===E.semi||y===E.eof||y===E.parenR||y===E.arrow?!0:y===E.braceL?D===Y.b_stat:y===E._var||y===E._const||y===E.name?!1:!this.exprAllowed},le.inGeneratorContext=function(){for(var y=this.context.length-1;y>=1;y--){var D=this.context[y];if(D.token==="function")return D.generator}return!1},le.updateContext=function(y){var D,W=this.type;W.keyword&&y===E.dot?this.exprAllowed=!1:(D=W.updateContext)?D.call(this,y):this.exprAllowed=W.beforeExpr},le.overrideContext=function(y){this.curContext()!==y&&(this.context[this.context.length-1]=y)},E.parenR.updateContext=E.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var y=this.context.pop();y===Y.b_stat&&this.curContext().token==="function"&&(y=this.context.pop()),this.exprAllowed=!y.isExpr},E.braceL.updateContext=function(y){this.context.push(this.braceIsBlock(y)?Y.b_stat:Y.b_expr),this.exprAllowed=!0},E.dollarBraceL.updateContext=function(){this.context.push(Y.b_tmpl),this.exprAllowed=!0},E.parenL.updateContext=function(y){var D=y===E._if||y===E._for||y===E._with||y===E._while;this.context.push(D?Y.p_stat:Y.p_expr),this.exprAllowed=!0},E.incDec.updateContext=function(){},E._function.updateContext=E._class.updateContext=function(y){y.beforeExpr&&y!==E._else&&!(y===E.semi&&this.curContext()!==Y.p_stat)&&!(y===E._return&&A.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===E.colon||y===E.braceL)&&this.curContext()===Y.b_stat)?this.context.push(Y.f_expr):this.context.push(Y.f_stat),this.exprAllowed=!1},E.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},E.backQuote.updateContext=function(){this.curContext()===Y.q_tmpl?this.context.pop():this.context.push(Y.q_tmpl),this.exprAllowed=!1},E.star.updateContext=function(y){if(y===E._function){var D=this.context.length-1;this.context[D]===Y.f_expr?this.context[D]=Y.f_expr_gen:this.context[D]=Y.f_gen}this.exprAllowed=!0},E.name.updateContext=function(y){var D=!1;this.options.ecmaVersion>=6&&y!==E.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(D=!0),this.exprAllowed=D};var te=et.prototype;te.checkPropClash=function(y,D,W){if(!(this.options.ecmaVersion>=9&&y.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(y.computed||y.method||y.shorthand))){var Q=y.key,ye;switch(Q.type){case"Identifier":ye=Q.name;break;case"Literal":ye=String(Q.value);break;default:return}var Ne=y.kind;if(this.options.ecmaVersion>=6){ye==="__proto__"&&Ne==="init"&&(D.proto&&(W?W.doubleProto<0&&(W.doubleProto=Q.start):this.raiseRecoverable(Q.start,"Redefinition of __proto__ property")),D.proto=!0);return}ye="$"+ye;var Me=D[ye];if(Me){var Ze;Ne==="init"?Ze=this.strict&&Me.init||Me.get||Me.set:Ze=Me.init||Me[Ne],Ze&&this.raiseRecoverable(Q.start,"Redefinition of property")}else Me=D[ye]={init:!1,get:!1,set:!1};Me[Ne]=!0}},te.parseExpression=function(y,D){var W=this.start,Q=this.startLoc,ye=this.parseMaybeAssign(y,D);if(this.type===E.comma){var Ne=this.startNodeAt(W,Q);for(Ne.expressions=[ye];this.eat(E.comma);)Ne.expressions.push(this.parseMaybeAssign(y,D));return this.finishNode(Ne,"SequenceExpression")}return ye},te.parseMaybeAssign=function(y,D,W){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var Q=!1,ye=-1,Ne=-1,Me=-1;D?(ye=D.parenthesizedAssign,Ne=D.trailingComma,Me=D.doubleProto,D.parenthesizedAssign=D.trailingComma=-1):(D=new pt,Q=!0);var Ze=this.start,at=this.startLoc;(this.type===E.parenL||this.type===E.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var dt=this.parseMaybeConditional(y,D);if(W&&(dt=W.call(this,dt,Ze,at)),this.type.isAssign){var gt=this.startNodeAt(Ze,at);return gt.operator=this.value,this.type===E.eq&&(dt=this.toAssignable(dt,!1,D)),Q||(D.parenthesizedAssign=D.trailingComma=D.doubleProto=-1),D.shorthandAssign>=dt.start&&(D.shorthandAssign=-1),this.type===E.eq?this.checkLValPattern(dt):this.checkLValSimple(dt),gt.left=dt,this.next(),gt.right=this.parseMaybeAssign(y),Me>-1&&(D.doubleProto=Me),this.finishNode(gt,"AssignmentExpression")}else Q&&this.checkExpressionErrors(D,!0);return ye>-1&&(D.parenthesizedAssign=ye),Ne>-1&&(D.trailingComma=Ne),dt},te.parseMaybeConditional=function(y,D){var W=this.start,Q=this.startLoc,ye=this.parseExprOps(y,D);if(this.checkExpressionErrors(D))return ye;if(this.eat(E.question)){var Ne=this.startNodeAt(W,Q);return Ne.test=ye,Ne.consequent=this.parseMaybeAssign(),this.expect(E.colon),Ne.alternate=this.parseMaybeAssign(y),this.finishNode(Ne,"ConditionalExpression")}return ye},te.parseExprOps=function(y,D){var W=this.start,Q=this.startLoc,ye=this.parseMaybeUnary(D,!1,!1,y);return this.checkExpressionErrors(D)||ye.start===W&&ye.type==="ArrowFunctionExpression"?ye:this.parseExprOp(ye,W,Q,-1,y)},te.parseExprOp=function(y,D,W,Q,ye){var Ne=this.type.binop;if(Ne!=null&&(!ye||this.type!==E._in)&&Ne>Q){var Me=this.type===E.logicalOR||this.type===E.logicalAND,Ze=this.type===E.coalesce;Ze&&(Ne=E.logicalAND.binop);var at=this.value;this.next();var dt=this.start,gt=this.startLoc,At=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,ye),dt,gt,Ne,ye),Nt=this.buildBinary(D,W,y,At,at,Me||Ze);return(Me&&this.type===E.coalesce||Ze&&(this.type===E.logicalOR||this.type===E.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Nt,D,W,Q,ye)}return y},te.buildBinary=function(y,D,W,Q,ye,Ne){Q.type==="PrivateIdentifier"&&this.raise(Q.start,"Private identifier can only be left side of binary expression");var Me=this.startNodeAt(y,D);return Me.left=W,Me.operator=ye,Me.right=Q,this.finishNode(Me,Ne?"LogicalExpression":"BinaryExpression")},te.parseMaybeUnary=function(y,D,W,Q){var ye=this.start,Ne=this.startLoc,Me;if(this.isContextual("await")&&this.canAwait)Me=this.parseAwait(Q),D=!0;else if(this.type.prefix){var Ze=this.startNode(),at=this.type===E.incDec;Ze.operator=this.value,Ze.prefix=!0,this.next(),Ze.argument=this.parseMaybeUnary(null,!0,at,Q),this.checkExpressionErrors(y,!0),at?this.checkLValSimple(Ze.argument):this.strict&&Ze.operator==="delete"&&q(Ze.argument)?this.raiseRecoverable(Ze.start,"Deleting local variable in strict mode"):Ze.operator==="delete"&&se(Ze.argument)?this.raiseRecoverable(Ze.start,"Private fields can not be deleted"):D=!0,Me=this.finishNode(Ze,at?"UpdateExpression":"UnaryExpression")}else if(!D&&this.type===E.privateId)(Q||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),Me=this.parsePrivateIdent(),this.type!==E._in&&this.unexpected();else{if(Me=this.parseExprSubscripts(y,Q),this.checkExpressionErrors(y))return Me;for(;this.type.postfix&&!this.canInsertSemicolon();){var dt=this.startNodeAt(ye,Ne);dt.operator=this.value,dt.prefix=!1,dt.argument=Me,this.checkLValSimple(Me),this.next(),Me=this.finishNode(dt,"UpdateExpression")}}if(!W&&this.eat(E.starstar))if(D)this.unexpected(this.lastTokStart);else return this.buildBinary(ye,Ne,Me,this.parseMaybeUnary(null,!1,!1,Q),"**",!1);else return Me};function q(y){return y.type==="Identifier"||y.type==="ParenthesizedExpression"&&q(y.expression)}function se(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&se(y.expression)||y.type==="ParenthesizedExpression"&&se(y.expression)}te.parseExprSubscripts=function(y,D){var W=this.start,Q=this.startLoc,ye=this.parseExprAtom(y,D);if(ye.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return ye;var Ne=this.parseSubscripts(ye,W,Q,!1,D);return y&&Ne.type==="MemberExpression"&&(y.parenthesizedAssign>=Ne.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=Ne.start&&(y.parenthesizedBind=-1),y.trailingComma>=Ne.start&&(y.trailingComma=-1)),Ne},te.parseSubscripts=function(y,D,W,Q,ye){for(var Ne=this.options.ecmaVersion>=8&&y.type==="Identifier"&&y.name==="async"&&this.lastTokEnd===y.end&&!this.canInsertSemicolon()&&y.end-y.start===5&&this.potentialArrowAt===y.start,Me=!1;;){var Ze=this.parseSubscript(y,D,W,Q,Ne,Me,ye);if(Ze.optional&&(Me=!0),Ze===y||Ze.type==="ArrowFunctionExpression"){if(Me){var at=this.startNodeAt(D,W);at.expression=Ze,Ze=this.finishNode(at,"ChainExpression")}return Ze}y=Ze}},te.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(E.arrow)},te.parseSubscriptAsyncArrow=function(y,D,W,Q){return this.parseArrowExpression(this.startNodeAt(y,D),W,!0,Q)},te.parseSubscript=function(y,D,W,Q,ye,Ne,Me){var Ze=this.options.ecmaVersion>=11,at=Ze&&this.eat(E.questionDot);Q&&at&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var dt=this.eat(E.bracketL);if(dt||at&&this.type!==E.parenL&&this.type!==E.backQuote||this.eat(E.dot)){var gt=this.startNodeAt(D,W);gt.object=y,dt?(gt.property=this.parseExpression(),this.expect(E.bracketR)):this.type===E.privateId&&y.type!=="Super"?gt.property=this.parsePrivateIdent():gt.property=this.parseIdent(this.options.allowReserved!=="never"),gt.computed=!!dt,Ze&&(gt.optional=at),y=this.finishNode(gt,"MemberExpression")}else if(!Q&&this.eat(E.parenL)){var At=new pt,Nt=this.yieldPos,Ce=this.awaitPos,_e=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Ve=this.parseExprList(E.parenR,this.options.ecmaVersion>=8,!1,At);if(ye&&!at&&this.shouldParseAsyncArrow())return this.checkPatternErrors(At,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Nt,this.awaitPos=Ce,this.awaitIdentPos=_e,this.parseSubscriptAsyncArrow(D,W,Ve,Me);this.checkExpressionErrors(At,!0),this.yieldPos=Nt||this.yieldPos,this.awaitPos=Ce||this.awaitPos,this.awaitIdentPos=_e||this.awaitIdentPos;var ut=this.startNodeAt(D,W);ut.callee=y,ut.arguments=Ve,Ze&&(ut.optional=at),y=this.finishNode(ut,"CallExpression")}else if(this.type===E.backQuote){(at||Ne)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var yt=this.startNodeAt(D,W);yt.tag=y,yt.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(yt,"TaggedTemplateExpression")}return y},te.parseExprAtom=function(y,D,W){this.type===E.slash&&this.readRegexp();var Q,ye=this.potentialArrowAt===this.start;switch(this.type){case E._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Q=this.startNode(),this.next(),this.type===E.parenL&&!this.allowDirectSuper&&this.raise(Q.start,"super() call outside constructor of a subclass"),this.type!==E.dot&&this.type!==E.bracketL&&this.type!==E.parenL&&this.unexpected(),this.finishNode(Q,"Super");case E._this:return Q=this.startNode(),this.next(),this.finishNode(Q,"ThisExpression");case E.name:var Ne=this.start,Me=this.startLoc,Ze=this.containsEsc,at=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Ze&&at.name==="async"&&!this.canInsertSemicolon()&&this.eat(E._function))return this.overrideContext(Y.f_expr),this.parseFunction(this.startNodeAt(Ne,Me),0,!1,!0,D);if(ye&&!this.canInsertSemicolon()){if(this.eat(E.arrow))return this.parseArrowExpression(this.startNodeAt(Ne,Me),[at],!1,D);if(this.options.ecmaVersion>=8&&at.name==="async"&&this.type===E.name&&!Ze&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return at=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(E.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(Ne,Me),[at],!0,D)}return at;case E.regexp:var dt=this.value;return Q=this.parseLiteral(dt.value),Q.regex={pattern:dt.pattern,flags:dt.flags},Q;case E.num:case E.string:return this.parseLiteral(this.value);case E._null:case E._true:case E._false:return Q=this.startNode(),Q.value=this.type===E._null?null:this.type===E._true,Q.raw=this.type.keyword,this.next(),this.finishNode(Q,"Literal");case E.parenL:var gt=this.start,At=this.parseParenAndDistinguishExpression(ye,D);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(At)&&(y.parenthesizedAssign=gt),y.parenthesizedBind<0&&(y.parenthesizedBind=gt)),At;case E.bracketL:return Q=this.startNode(),this.next(),Q.elements=this.parseExprList(E.bracketR,!0,!0,y),this.finishNode(Q,"ArrayExpression");case E.braceL:return this.overrideContext(Y.b_expr),this.parseObj(!1,y);case E._function:return Q=this.startNode(),this.next(),this.parseFunction(Q,0);case E._class:return this.parseClass(this.startNode(),!1);case E._new:return this.parseNew();case E.backQuote:return this.parseTemplate();case E._import:return this.options.ecmaVersion>=11?this.parseExprImport(W):this.unexpected();default:return this.parseExprAtomDefault()}},te.parseExprAtomDefault=function(){this.unexpected()},te.parseExprImport=function(y){var D=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===E.parenL&&!y)return this.parseDynamicImport(D);if(this.type===E.dot){var W=this.startNodeAt(D.start,D.loc&&D.loc.start);return W.name="import",D.meta=this.finishNode(W,"Identifier"),this.parseImportMeta(D)}else this.unexpected()},te.parseDynamicImport=function(y){if(this.next(),y.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(E.parenR)?y.options=null:(this.expect(E.comma),this.afterTrailingComma(E.parenR)?y.options=null:(y.options=this.parseMaybeAssign(),this.eat(E.parenR)||(this.expect(E.comma),this.afterTrailingComma(E.parenR)||this.unexpected())));else if(!this.eat(E.parenR)){var D=this.start;this.eat(E.comma)&&this.eat(E.parenR)?this.raiseRecoverable(D,"Trailing comma is not allowed in import()"):this.unexpected(D)}return this.finishNode(y,"ImportExpression")},te.parseImportMeta=function(y){this.next();var D=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="meta"&&this.raiseRecoverable(y.property.start,"The only valid meta property for import is 'import.meta'"),D&&this.raiseRecoverable(y.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(y.start,"Cannot use 'import.meta' outside a module"),this.finishNode(y,"MetaProperty")},te.parseLiteral=function(y){var D=this.startNode();return D.value=y,D.raw=this.input.slice(this.start,this.end),D.raw.charCodeAt(D.raw.length-1)===110&&(D.bigint=D.value!=null?D.value.toString():D.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(D,"Literal")},te.parseParenExpression=function(){this.expect(E.parenL);var y=this.parseExpression();return this.expect(E.parenR),y},te.shouldParseArrow=function(y){return!this.canInsertSemicolon()},te.parseParenAndDistinguishExpression=function(y,D){var W=this.start,Q=this.startLoc,ye,Ne=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Me=this.start,Ze=this.startLoc,at=[],dt=!0,gt=!1,At=new pt,Nt=this.yieldPos,Ce=this.awaitPos,_e;for(this.yieldPos=0,this.awaitPos=0;this.type!==E.parenR;)if(dt?dt=!1:this.expect(E.comma),Ne&&this.afterTrailingComma(E.parenR,!0)){gt=!0;break}else if(this.type===E.ellipsis){_e=this.start,at.push(this.parseParenItem(this.parseRestBinding())),this.type===E.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else at.push(this.parseMaybeAssign(!1,At,this.parseParenItem));var Ve=this.lastTokEnd,ut=this.lastTokEndLoc;if(this.expect(E.parenR),y&&this.shouldParseArrow(at)&&this.eat(E.arrow))return this.checkPatternErrors(At,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Nt,this.awaitPos=Ce,this.parseParenArrowList(W,Q,at,D);(!at.length||gt)&&this.unexpected(this.lastTokStart),_e&&this.unexpected(_e),this.checkExpressionErrors(At,!0),this.yieldPos=Nt||this.yieldPos,this.awaitPos=Ce||this.awaitPos,at.length>1?(ye=this.startNodeAt(Me,Ze),ye.expressions=at,this.finishNodeAt(ye,"SequenceExpression",Ve,ut)):ye=at[0]}else ye=this.parseParenExpression();if(this.options.preserveParens){var yt=this.startNodeAt(W,Q);return yt.expression=ye,this.finishNode(yt,"ParenthesizedExpression")}else return ye},te.parseParenItem=function(y){return y},te.parseParenArrowList=function(y,D,W,Q){return this.parseArrowExpression(this.startNodeAt(y,D),W,!1,Q)};var ue=[];te.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var y=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===E.dot){var D=this.startNodeAt(y.start,y.loc&&y.loc.start);D.name="new",y.meta=this.finishNode(D,"Identifier"),this.next();var W=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="target"&&this.raiseRecoverable(y.property.start,"The only valid meta property for new is 'new.target'"),W&&this.raiseRecoverable(y.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(y.start,"'new.target' can only be used in functions and class static block"),this.finishNode(y,"MetaProperty")}var Q=this.start,ye=this.startLoc;return y.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Q,ye,!0,!1),this.eat(E.parenL)?y.arguments=this.parseExprList(E.parenR,this.options.ecmaVersion>=8,!1):y.arguments=ue,this.finishNode(y,"NewExpression")},te.parseTemplateElement=function(y){var D=y.isTagged,W=this.startNode();return this.type===E.invalidTemplate?(D||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),W.value={raw:this.value.replace(/\r\n?/g,`
4
- `),cooked:null}):W.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
5
- `),cooked:this.value},this.next(),W.tail=this.type===E.backQuote,this.finishNode(W,"TemplateElement")},te.parseTemplate=function(y){y===void 0&&(y={});var D=y.isTagged;D===void 0&&(D=!1);var W=this.startNode();this.next(),W.expressions=[];var Q=this.parseTemplateElement({isTagged:D});for(W.quasis=[Q];!Q.tail;)this.type===E.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(E.dollarBraceL),W.expressions.push(this.parseExpression()),this.expect(E.braceR),W.quasis.push(Q=this.parseTemplateElement({isTagged:D}));return this.next(),this.finishNode(W,"TemplateLiteral")},te.isAsyncProp=function(y){return!y.computed&&y.key.type==="Identifier"&&y.key.name==="async"&&(this.type===E.name||this.type===E.num||this.type===E.string||this.type===E.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===E.star)&&!A.test(this.input.slice(this.lastTokEnd,this.start))},te.parseObj=function(y,D){var W=this.startNode(),Q=!0,ye={};for(W.properties=[],this.next();!this.eat(E.braceR);){if(Q)Q=!1;else if(this.expect(E.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(E.braceR))break;var Ne=this.parseProperty(y,D);y||this.checkPropClash(Ne,ye,D),W.properties.push(Ne)}return this.finishNode(W,y?"ObjectPattern":"ObjectExpression")},te.parseProperty=function(y,D){var W=this.startNode(),Q,ye,Ne,Me;if(this.options.ecmaVersion>=9&&this.eat(E.ellipsis))return y?(W.argument=this.parseIdent(!1),this.type===E.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(W,"RestElement")):(W.argument=this.parseMaybeAssign(!1,D),this.type===E.comma&&D&&D.trailingComma<0&&(D.trailingComma=this.start),this.finishNode(W,"SpreadElement"));this.options.ecmaVersion>=6&&(W.method=!1,W.shorthand=!1,(y||D)&&(Ne=this.start,Me=this.startLoc),y||(Q=this.eat(E.star)));var Ze=this.containsEsc;return this.parsePropertyName(W),!y&&!Ze&&this.options.ecmaVersion>=8&&!Q&&this.isAsyncProp(W)?(ye=!0,Q=this.options.ecmaVersion>=9&&this.eat(E.star),this.parsePropertyName(W)):ye=!1,this.parsePropertyValue(W,y,Q,ye,Ne,Me,D,Ze),this.finishNode(W,"Property")},te.parseGetterSetter=function(y){var D=y.key.name;this.parsePropertyName(y),y.value=this.parseMethod(!1),y.kind=D;var W=y.kind==="get"?0:1;if(y.value.params.length!==W){var Q=y.value.start;y.kind==="get"?this.raiseRecoverable(Q,"getter should have no params"):this.raiseRecoverable(Q,"setter should have exactly one param")}else y.kind==="set"&&y.value.params[0].type==="RestElement"&&this.raiseRecoverable(y.value.params[0].start,"Setter cannot use rest params")},te.parsePropertyValue=function(y,D,W,Q,ye,Ne,Me,Ze){(W||Q)&&this.type===E.colon&&this.unexpected(),this.eat(E.colon)?(y.value=D?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Me),y.kind="init"):this.options.ecmaVersion>=6&&this.type===E.parenL?(D&&this.unexpected(),y.method=!0,y.value=this.parseMethod(W,Q),y.kind="init"):!D&&!Ze&&this.options.ecmaVersion>=5&&!y.computed&&y.key.type==="Identifier"&&(y.key.name==="get"||y.key.name==="set")&&this.type!==E.comma&&this.type!==E.braceR&&this.type!==E.eq?((W||Q)&&this.unexpected(),this.parseGetterSetter(y)):this.options.ecmaVersion>=6&&!y.computed&&y.key.type==="Identifier"?((W||Q)&&this.unexpected(),this.checkUnreserved(y.key),y.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=ye),D?y.value=this.parseMaybeDefault(ye,Ne,this.copyNode(y.key)):this.type===E.eq&&Me?(Me.shorthandAssign<0&&(Me.shorthandAssign=this.start),y.value=this.parseMaybeDefault(ye,Ne,this.copyNode(y.key))):y.value=this.copyNode(y.key),y.kind="init",y.shorthand=!0):this.unexpected()},te.parsePropertyName=function(y){if(this.options.ecmaVersion>=6){if(this.eat(E.bracketL))return y.computed=!0,y.key=this.parseMaybeAssign(),this.expect(E.bracketR),y.key;y.computed=!1}return y.key=this.type===E.num||this.type===E.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},te.initFunction=function(y){y.id=null,this.options.ecmaVersion>=6&&(y.generator=y.expression=!1),this.options.ecmaVersion>=8&&(y.async=!1)},te.parseMethod=function(y,D,W){var Q=this.startNode(),ye=this.yieldPos,Ne=this.awaitPos,Me=this.awaitIdentPos;return this.initFunction(Q),this.options.ecmaVersion>=6&&(Q.generator=y),this.options.ecmaVersion>=8&&(Q.async=!!D),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(oe(D,Q.generator)|we|(W?ee:0)),this.expect(E.parenL),Q.params=this.parseBindingList(E.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Q,!1,!0,!1),this.yieldPos=ye,this.awaitPos=Ne,this.awaitIdentPos=Me,this.finishNode(Q,"FunctionExpression")},te.parseArrowExpression=function(y,D,W,Q){var ye=this.yieldPos,Ne=this.awaitPos,Me=this.awaitIdentPos;return this.enterScope(oe(W,!1)|Se),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!W),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(D,!0),this.parseFunctionBody(y,!0,!1,Q),this.yieldPos=ye,this.awaitPos=Ne,this.awaitIdentPos=Me,this.finishNode(y,"ArrowFunctionExpression")},te.parseFunctionBody=function(y,D,W,Q){var ye=D&&this.type!==E.braceL,Ne=this.strict,Me=!1;if(ye)y.body=this.parseMaybeAssign(Q),y.expression=!0,this.checkParams(y,!1);else{var Ze=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!Ne||Ze)&&(Me=this.strictDirective(this.end),Me&&Ze&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var at=this.labels;this.labels=[],Me&&(this.strict=!0),this.checkParams(y,!Ne&&!Me&&!D&&!W&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,lt),y.body=this.parseBlock(!1,void 0,Me&&!Ne),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=at}this.exitScope()},te.isSimpleParamList=function(y){for(var D=0,W=y;D<W.length;D+=1){var Q=W[D];if(Q.type!=="Identifier")return!1}return!0},te.checkParams=function(y,D){for(var W=Object.create(null),Q=0,ye=y.params;Q<ye.length;Q+=1){var Ne=ye[Q];this.checkLValInnerPattern(Ne,Re,D?null:W)}},te.parseExprList=function(y,D,W,Q){for(var ye=[],Ne=!0;!this.eat(y);){if(Ne)Ne=!1;else if(this.expect(E.comma),D&&this.afterTrailingComma(y))break;var Me=void 0;W&&this.type===E.comma?Me=null:this.type===E.ellipsis?(Me=this.parseSpread(Q),Q&&this.type===E.comma&&Q.trailingComma<0&&(Q.trailingComma=this.start)):Me=this.parseMaybeAssign(!1,Q),ye.push(Me)}return ye},te.checkUnreserved=function(y){var D=y.start,W=y.end,Q=y.name;if(this.inGenerator&&Q==="yield"&&this.raiseRecoverable(D,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Q==="await"&&this.raiseRecoverable(D,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&z)&&Q==="arguments"&&this.raiseRecoverable(D,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(Q==="arguments"||Q==="await")&&this.raise(D,"Cannot use "+Q+" in class static initialization block"),this.keywords.test(Q)&&this.raise(D,"Unexpected keyword '"+Q+"'"),!(this.options.ecmaVersion<6&&this.input.slice(D,W).indexOf("\\")!==-1)){var ye=this.strict?this.reservedWordsStrict:this.reservedWords;ye.test(Q)&&(!this.inAsync&&Q==="await"&&this.raiseRecoverable(D,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(D,"The keyword '"+Q+"' is reserved"))}},te.parseIdent=function(y){var D=this.parseIdentNode();return this.next(!!y),this.finishNode(D,"Identifier"),y||(this.checkUnreserved(D),D.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=D.start)),D},te.parseIdentNode=function(){var y=this.startNode();return this.type===E.name?y.name=this.value:this.type.keyword?(y.name=this.type.keyword,(y.name==="class"||y.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=E.name):this.unexpected(),y},te.parsePrivateIdent=function(){var y=this.startNode();return this.type===E.privateId?y.name=this.value:this.unexpected(),this.next(),this.finishNode(y,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(y.start,"Private field '#"+y.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(y)),y},te.parseYield=function(y){this.yieldPos||(this.yieldPos=this.start);var D=this.startNode();return this.next(),this.type===E.semi||this.canInsertSemicolon()||this.type!==E.star&&!this.type.startsExpr?(D.delegate=!1,D.argument=null):(D.delegate=this.eat(E.star),D.argument=this.parseMaybeAssign(y)),this.finishNode(D,"YieldExpression")},te.parseAwait=function(y){this.awaitPos||(this.awaitPos=this.start);var D=this.startNode();return this.next(),D.argument=this.parseMaybeUnary(null,!0,!1,y),this.finishNode(D,"AwaitExpression")};var be=et.prototype;be.raise=function(y,D){var W=ae(this.input,y);D+=" ("+W.line+":"+W.column+")",this.sourceFile&&(D+=" in "+this.sourceFile);var Q=new SyntaxError(D);throw Q.pos=y,Q.loc=W,Q.raisedAt=this.pos,Q},be.raiseRecoverable=be.raise,be.curPosition=function(){if(this.options.locations)return new J(this.curLine,this.pos-this.lineStart)};var Oe=et.prototype,Ie=function(D){this.flags=D,this.var=[],this.lexical=[],this.functions=[]};Oe.enterScope=function(y){this.scopeStack.push(new Ie(y))},Oe.exitScope=function(){this.scopeStack.pop()},Oe.treatFunctionsAsVarInScope=function(y){return y.flags&ce||!this.inModule&&y.flags&fe},Oe.declareName=function(y,D,W){var Q=!1;if(D===Pe){var ye=this.currentScope();Q=ye.lexical.indexOf(y)>-1||ye.functions.indexOf(y)>-1||ye.var.indexOf(y)>-1,ye.lexical.push(y),this.inModule&&ye.flags&fe&&delete this.undefinedExports[y]}else if(D===Je){var Ne=this.currentScope();Ne.lexical.push(y)}else if(D===G){var Me=this.currentScope();this.treatFunctionsAsVar?Q=Me.lexical.indexOf(y)>-1:Q=Me.lexical.indexOf(y)>-1||Me.var.indexOf(y)>-1,Me.functions.push(y)}else for(var Ze=this.scopeStack.length-1;Ze>=0;--Ze){var at=this.scopeStack[Ze];if(at.lexical.indexOf(y)>-1&&!(at.flags&xe&&at.lexical[0]===y)||!this.treatFunctionsAsVarInScope(at)&&at.functions.indexOf(y)>-1){Q=!0;break}if(at.var.push(y),this.inModule&&at.flags&fe&&delete this.undefinedExports[y],at.flags&z)break}Q&&this.raiseRecoverable(W,"Identifier '"+y+"' has already been declared")},Oe.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},Oe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Oe.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var D=this.scopeStack[y];if(D.flags&(z|Ae|ne))return D}},Oe.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var D=this.scopeStack[y];if(D.flags&(z|Ae|ne)&&!(D.flags&Se))return D}};var Ge=function(D,W,Q){this.type="",this.start=W,this.end=0,D.options.locations&&(this.loc=new ge(D,Q)),D.options.directSourceFile&&(this.sourceFile=D.options.directSourceFile),D.options.ranges&&(this.range=[W,0])},ze=et.prototype;ze.startNode=function(){return new Ge(this,this.start,this.startLoc)},ze.startNodeAt=function(y,D){return new Ge(this,y,D)};function de(y,D,W,Q){return y.type=D,y.end=W,this.options.locations&&(y.loc.end=Q),this.options.ranges&&(y.range[1]=W),y}ze.finishNode=function(y,D){return de.call(this,y,D,this.lastTokEnd,this.lastTokEndLoc)},ze.finishNodeAt=function(y,D,W,Q){return de.call(this,y,D,W,Q)},ze.copyNode=function(y){var D=new Ge(this,y.start,this.startLoc);for(var W in y)D[W]=y[W];return D};var pe="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",ve="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",De=ve+" Extended_Pictographic",Fe=De,st=Fe+" EBase EComp EMod EPres ExtPict",Ue=st,Xe=Ue,it={9:ve,10:De,11:Fe,12:st,13:Ue,14:Xe},He="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",rt={9:"",10:"",11:"",12:"",13:"",14:He},ft="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",mt="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ct=mt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ht=ct+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",xt=ht+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",St=xt+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Pt=St+" "+pe,Ft={9:mt,10:ct,11:ht,12:xt,13:St,14:Pt},Rt={};function Wt(y){var D=Rt[y]={binary:X(it[y]+" "+ft),binaryOfStrings:X(rt[y]),nonBinary:{General_Category:X(ft),Script:X(Ft[y])}};D.nonBinary.Script_Extensions=D.nonBinary.Script,D.nonBinary.gc=D.nonBinary.General_Category,D.nonBinary.sc=D.nonBinary.Script,D.nonBinary.scx=D.nonBinary.Script_Extensions}for(var $t=0,Bt=[9,10,11,12,13,14];$t<Bt.length;$t+=1){var Ut=Bt[$t];Wt(Ut)}var ot=et.prototype,Lt=function(D,W){this.parent=D,this.base=W||this};Lt.prototype.separatedFrom=function(D){for(var W=this;W;W=W.parent)for(var Q=D;Q;Q=Q.parent)if(W.base===Q.base&&W!==Q)return!0;return!1},Lt.prototype.sibling=function(){return new Lt(this.parent,this.base)};var _t=function(D){this.parser=D,this.validFlags="gim"+(D.options.ecmaVersion>=6?"uy":"")+(D.options.ecmaVersion>=9?"s":"")+(D.options.ecmaVersion>=13?"d":"")+(D.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Rt[D.options.ecmaVersion>=14?14:D.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};_t.prototype.reset=function(D,W,Q){var ye=Q.indexOf("v")!==-1,Ne=Q.indexOf("u")!==-1;this.start=D|0,this.source=W+"",this.flags=Q,ye&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=Ne&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=Ne&&this.parser.options.ecmaVersion>=9)},_t.prototype.raise=function(D){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+D)},_t.prototype.at=function(D,W){W===void 0&&(W=!1);var Q=this.source,ye=Q.length;if(D>=ye)return-1;var Ne=Q.charCodeAt(D);if(!(W||this.switchU)||Ne<=55295||Ne>=57344||D+1>=ye)return Ne;var Me=Q.charCodeAt(D+1);return Me>=56320&&Me<=57343?(Ne<<10)+Me-56613888:Ne},_t.prototype.nextIndex=function(D,W){W===void 0&&(W=!1);var Q=this.source,ye=Q.length;if(D>=ye)return ye;var Ne=Q.charCodeAt(D),Me;return!(W||this.switchU)||Ne<=55295||Ne>=57344||D+1>=ye||(Me=Q.charCodeAt(D+1))<56320||Me>57343?D+1:D+2},_t.prototype.current=function(D){return D===void 0&&(D=!1),this.at(this.pos,D)},_t.prototype.lookahead=function(D){return D===void 0&&(D=!1),this.at(this.nextIndex(this.pos,D),D)},_t.prototype.advance=function(D){D===void 0&&(D=!1),this.pos=this.nextIndex(this.pos,D)},_t.prototype.eat=function(D,W){return W===void 0&&(W=!1),this.current(W)===D?(this.advance(W),!0):!1},_t.prototype.eatChars=function(D,W){W===void 0&&(W=!1);for(var Q=this.pos,ye=0,Ne=D;ye<Ne.length;ye+=1){var Me=Ne[ye],Ze=this.at(Q,W);if(Ze===-1||Ze!==Me)return!1;Q=this.nextIndex(Q,W)}return this.pos=Q,!0},ot.validateRegExpFlags=function(y){for(var D=y.validFlags,W=y.flags,Q=!1,ye=!1,Ne=0;Ne<W.length;Ne++){var Me=W.charAt(Ne);D.indexOf(Me)===-1&&this.raise(y.start,"Invalid regular expression flag"),W.indexOf(Me,Ne+1)>-1&&this.raise(y.start,"Duplicate regular expression flag"),Me==="u"&&(Q=!0),Me==="v"&&(ye=!0)}this.options.ecmaVersion>=15&&Q&&ye&&this.raise(y.start,"Invalid regular expression flag")};function cr(y){for(var D in y)return!0;return!1}ot.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&cr(y.groupNames)&&(y.switchN=!0,this.regexp_pattern(y))},ot.regexp_pattern=function(y){y.pos=0,y.lastIntValue=0,y.lastStringValue="",y.lastAssertionIsQuantifiable=!1,y.numCapturingParens=0,y.maxBackReference=0,y.groupNames=Object.create(null),y.backReferenceNames.length=0,y.branchID=null,this.regexp_disjunction(y),y.pos!==y.source.length&&(y.eat(41)&&y.raise("Unmatched ')'"),(y.eat(93)||y.eat(125))&&y.raise("Lone quantifier brackets")),y.maxBackReference>y.numCapturingParens&&y.raise("Invalid escape");for(var D=0,W=y.backReferenceNames;D<W.length;D+=1){var Q=W[D];y.groupNames[Q]||y.raise("Invalid named capture referenced")}},ot.regexp_disjunction=function(y){var D=this.options.ecmaVersion>=16;for(D&&(y.branchID=new Lt(y.branchID,null)),this.regexp_alternative(y);y.eat(124);)D&&(y.branchID=y.branchID.sibling()),this.regexp_alternative(y);D&&(y.branchID=y.branchID.parent),this.regexp_eatQuantifier(y,!0)&&y.raise("Nothing to repeat"),y.eat(123)&&y.raise("Lone quantifier brackets")},ot.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},ot.regexp_eatTerm=function(y){return this.regexp_eatAssertion(y)?(y.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(y)&&y.switchU&&y.raise("Invalid quantifier"),!0):(y.switchU?this.regexp_eatAtom(y):this.regexp_eatExtendedAtom(y))?(this.regexp_eatQuantifier(y),!0):!1},ot.regexp_eatAssertion=function(y){var D=y.pos;if(y.lastAssertionIsQuantifiable=!1,y.eat(94)||y.eat(36))return!0;if(y.eat(92)){if(y.eat(66)||y.eat(98))return!0;y.pos=D}if(y.eat(40)&&y.eat(63)){var W=!1;if(this.options.ecmaVersion>=9&&(W=y.eat(60)),y.eat(61)||y.eat(33))return this.regexp_disjunction(y),y.eat(41)||y.raise("Unterminated group"),y.lastAssertionIsQuantifiable=!W,!0}return y.pos=D,!1},ot.regexp_eatQuantifier=function(y,D){return D===void 0&&(D=!1),this.regexp_eatQuantifierPrefix(y,D)?(y.eat(63),!0):!1},ot.regexp_eatQuantifierPrefix=function(y,D){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,D)},ot.regexp_eatBracedQuantifier=function(y,D){var W=y.pos;if(y.eat(123)){var Q=0,ye=-1;if(this.regexp_eatDecimalDigits(y)&&(Q=y.lastIntValue,y.eat(44)&&this.regexp_eatDecimalDigits(y)&&(ye=y.lastIntValue),y.eat(125)))return ye!==-1&&ye<Q&&!D&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!D&&y.raise("Incomplete quantifier"),y.pos=W}return!1},ot.regexp_eatAtom=function(y){return this.regexp_eatPatternCharacters(y)||y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)},ot.regexp_eatReverseSolidusAtomEscape=function(y){var D=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=D}return!1},ot.regexp_eatUncapturingGroup=function(y){var D=y.pos;if(y.eat(40)){if(y.eat(63)){if(this.options.ecmaVersion>=16){var W=this.regexp_eatModifiers(y),Q=y.eat(45);if(W||Q){for(var ye=0;ye<W.length;ye++){var Ne=W.charAt(ye);W.indexOf(Ne,ye+1)>-1&&y.raise("Duplicate regular expression modifiers")}if(Q){var Me=this.regexp_eatModifiers(y);!W&&!Me&&y.current()===58&&y.raise("Invalid regular expression modifiers");for(var Ze=0;Ze<Me.length;Ze++){var at=Me.charAt(Ze);(Me.indexOf(at,Ze+1)>-1||W.indexOf(at)>-1)&&y.raise("Duplicate regular expression modifiers")}}}}if(y.eat(58)){if(this.regexp_disjunction(y),y.eat(41))return!0;y.raise("Unterminated group")}}y.pos=D}return!1},ot.regexp_eatCapturingGroup=function(y){if(y.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(y):y.current()===63&&y.raise("Invalid group"),this.regexp_disjunction(y),y.eat(41))return y.numCapturingParens+=1,!0;y.raise("Unterminated group")}return!1},ot.regexp_eatModifiers=function(y){for(var D="",W=0;(W=y.current())!==-1&&fr(W);)D+=L(W),y.advance();return D};function fr(y){return y===105||y===109||y===115}ot.regexp_eatExtendedAtom=function(y){return y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)||this.regexp_eatInvalidBracedQuantifier(y)||this.regexp_eatExtendedPatternCharacter(y)},ot.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},ot.regexp_eatSyntaxCharacter=function(y){var D=y.current();return Ht(D)?(y.lastIntValue=D,y.advance(),!0):!1};function Ht(y){return y===36||y>=40&&y<=43||y===46||y===63||y>=91&&y<=94||y>=123&&y<=125}ot.regexp_eatPatternCharacters=function(y){for(var D=y.pos,W=0;(W=y.current())!==-1&&!Ht(W);)y.advance();return y.pos!==D},ot.regexp_eatExtendedPatternCharacter=function(y){var D=y.current();return D!==-1&&D!==36&&!(D>=40&&D<=43)&&D!==46&&D!==63&&D!==91&&D!==94&&D!==124?(y.advance(),!0):!1},ot.regexp_groupSpecifier=function(y){if(y.eat(63)){this.regexp_eatGroupName(y)||y.raise("Invalid group");var D=this.options.ecmaVersion>=16,W=y.groupNames[y.lastStringValue];if(W)if(D)for(var Q=0,ye=W;Q<ye.length;Q+=1){var Ne=ye[Q];Ne.separatedFrom(y.branchID)||y.raise("Duplicate capture group name")}else y.raise("Duplicate capture group name");D?(W||(y.groupNames[y.lastStringValue]=[])).push(y.branchID):y.groupNames[y.lastStringValue]=!0}},ot.regexp_eatGroupName=function(y){if(y.lastStringValue="",y.eat(60)){if(this.regexp_eatRegExpIdentifierName(y)&&y.eat(62))return!0;y.raise("Invalid capture group name")}return!1},ot.regexp_eatRegExpIdentifierName=function(y){if(y.lastStringValue="",this.regexp_eatRegExpIdentifierStart(y)){for(y.lastStringValue+=L(y.lastIntValue);this.regexp_eatRegExpIdentifierPart(y);)y.lastStringValue+=L(y.lastIntValue);return!0}return!1},ot.regexp_eatRegExpIdentifierStart=function(y){var D=y.pos,W=this.options.ecmaVersion>=11,Q=y.current(W);return y.advance(W),Q===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,W)&&(Q=y.lastIntValue),tr(Q)?(y.lastIntValue=Q,!0):(y.pos=D,!1)};function tr(y){return i(y,!0)||y===36||y===95}ot.regexp_eatRegExpIdentifierPart=function(y){var D=y.pos,W=this.options.ecmaVersion>=11,Q=y.current(W);return y.advance(W),Q===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,W)&&(Q=y.lastIntValue),Qt(Q)?(y.lastIntValue=Q,!0):(y.pos=D,!1)};function Qt(y){return h(y,!0)||y===36||y===95||y===8204||y===8205}ot.regexp_eatAtomEscape=function(y){return this.regexp_eatBackReference(y)||this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)||y.switchN&&this.regexp_eatKGroupName(y)?!0:(y.switchU&&(y.current()===99&&y.raise("Invalid unicode escape"),y.raise("Invalid escape")),!1)},ot.regexp_eatBackReference=function(y){var D=y.pos;if(this.regexp_eatDecimalEscape(y)){var W=y.lastIntValue;if(y.switchU)return W>y.maxBackReference&&(y.maxBackReference=W),!0;if(W<=y.numCapturingParens)return!0;y.pos=D}return!1},ot.regexp_eatKGroupName=function(y){if(y.eat(107)){if(this.regexp_eatGroupName(y))return y.backReferenceNames.push(y.lastStringValue),!0;y.raise("Invalid named reference")}return!1},ot.regexp_eatCharacterEscape=function(y){return this.regexp_eatControlEscape(y)||this.regexp_eatCControlLetter(y)||this.regexp_eatZero(y)||this.regexp_eatHexEscapeSequence(y)||this.regexp_eatRegExpUnicodeEscapeSequence(y,!1)||!y.switchU&&this.regexp_eatLegacyOctalEscapeSequence(y)||this.regexp_eatIdentityEscape(y)},ot.regexp_eatCControlLetter=function(y){var D=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=D}return!1},ot.regexp_eatZero=function(y){return y.current()===48&&!ir(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},ot.regexp_eatControlEscape=function(y){var D=y.current();return D===116?(y.lastIntValue=9,y.advance(),!0):D===110?(y.lastIntValue=10,y.advance(),!0):D===118?(y.lastIntValue=11,y.advance(),!0):D===102?(y.lastIntValue=12,y.advance(),!0):D===114?(y.lastIntValue=13,y.advance(),!0):!1},ot.regexp_eatControlLetter=function(y){var D=y.current();return rr(D)?(y.lastIntValue=D%32,y.advance(),!0):!1};function rr(y){return y>=65&&y<=90||y>=97&&y<=122}ot.regexp_eatRegExpUnicodeEscapeSequence=function(y,D){D===void 0&&(D=!1);var W=y.pos,Q=D||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var ye=y.lastIntValue;if(Q&&ye>=55296&&ye<=56319){var Ne=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var Me=y.lastIntValue;if(Me>=56320&&Me<=57343)return y.lastIntValue=(ye-55296)*1024+(Me-56320)+65536,!0}y.pos=Ne,y.lastIntValue=ye}return!0}if(Q&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&pr(y.lastIntValue))return!0;Q&&y.raise("Invalid unicode escape"),y.pos=W}return!1};function pr(y){return y>=0&&y<=1114111}ot.regexp_eatIdentityEscape=function(y){if(y.switchU)return this.regexp_eatSyntaxCharacter(y)?!0:y.eat(47)?(y.lastIntValue=47,!0):!1;var D=y.current();return D!==99&&(!y.switchN||D!==107)?(y.lastIntValue=D,y.advance(),!0):!1},ot.regexp_eatDecimalEscape=function(y){y.lastIntValue=0;var D=y.current();if(D>=49&&D<=57){do y.lastIntValue=10*y.lastIntValue+(D-48),y.advance();while((D=y.current())>=48&&D<=57);return!0}return!1};var Kt=0,qt=1,Ot=2;ot.regexp_eatCharacterClassEscape=function(y){var D=y.current();if(wr(D))return y.lastIntValue=-1,y.advance(),qt;var W=!1;if(y.switchU&&this.options.ecmaVersion>=9&&((W=D===80)||D===112)){y.lastIntValue=-1,y.advance();var Q;if(y.eat(123)&&(Q=this.regexp_eatUnicodePropertyValueExpression(y))&&y.eat(125))return W&&Q===Ot&&y.raise("Invalid property name"),Q;y.raise("Invalid property name")}return Kt};function wr(y){return y===100||y===68||y===115||y===83||y===119||y===87}ot.regexp_eatUnicodePropertyValueExpression=function(y){var D=y.pos;if(this.regexp_eatUnicodePropertyName(y)&&y.eat(61)){var W=y.lastStringValue;if(this.regexp_eatUnicodePropertyValue(y)){var Q=y.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(y,W,Q),qt}}if(y.pos=D,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var ye=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,ye)}return Kt},ot.regexp_validateUnicodePropertyNameAndValue=function(y,D,W){$(y.unicodeProperties.nonBinary,D)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[D].test(W)||y.raise("Invalid property value")},ot.regexp_validateUnicodePropertyNameOrValue=function(y,D){if(y.unicodeProperties.binary.test(D))return qt;if(y.switchV&&y.unicodeProperties.binaryOfStrings.test(D))return Ot;y.raise("Invalid property name")},ot.regexp_eatUnicodePropertyName=function(y){var D=0;for(y.lastStringValue="";Tr(D=y.current());)y.lastStringValue+=L(D),y.advance();return y.lastStringValue!==""};function Tr(y){return rr(y)||y===95}ot.regexp_eatUnicodePropertyValue=function(y){var D=0;for(y.lastStringValue="";kr(D=y.current());)y.lastStringValue+=L(D),y.advance();return y.lastStringValue!==""};function kr(y){return Tr(y)||ir(y)}ot.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},ot.regexp_eatCharacterClass=function(y){if(y.eat(91)){var D=y.eat(94),W=this.regexp_classContents(y);return y.eat(93)||y.raise("Unterminated character class"),D&&W===Ot&&y.raise("Negated character class may contain strings"),!0}return!1},ot.regexp_classContents=function(y){return y.current()===93?qt:y.switchV?this.regexp_classSetExpression(y):(this.regexp_nonEmptyClassRanges(y),qt)},ot.regexp_nonEmptyClassRanges=function(y){for(;this.regexp_eatClassAtom(y);){var D=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var W=y.lastIntValue;y.switchU&&(D===-1||W===-1)&&y.raise("Invalid character class"),D!==-1&&W!==-1&&D>W&&y.raise("Range out of order in character class")}}},ot.regexp_eatClassAtom=function(y){var D=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var W=y.current();(W===99||Sr(W))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=D}var Q=y.current();return Q!==93?(y.lastIntValue=Q,y.advance(),!0):!1},ot.regexp_eatClassEscape=function(y){var D=y.pos;if(y.eat(98))return y.lastIntValue=8,!0;if(y.switchU&&y.eat(45))return y.lastIntValue=45,!0;if(!y.switchU&&y.eat(99)){if(this.regexp_eatClassControlLetter(y))return!0;y.pos=D}return this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)},ot.regexp_classSetExpression=function(y){var D=qt,W;if(!this.regexp_eatClassSetRange(y))if(W=this.regexp_eatClassSetOperand(y)){W===Ot&&(D=Ot);for(var Q=y.pos;y.eatChars([38,38]);){if(y.current()!==38&&(W=this.regexp_eatClassSetOperand(y))){W!==Ot&&(D=qt);continue}y.raise("Invalid character in character class")}if(Q!==y.pos)return D;for(;y.eatChars([45,45]);)this.regexp_eatClassSetOperand(y)||y.raise("Invalid character in character class");if(Q!==y.pos)return D}else y.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(y)){if(W=this.regexp_eatClassSetOperand(y),!W)return D;W===Ot&&(D=Ot)}},ot.regexp_eatClassSetRange=function(y){var D=y.pos;if(this.regexp_eatClassSetCharacter(y)){var W=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassSetCharacter(y)){var Q=y.lastIntValue;return W!==-1&&Q!==-1&&W>Q&&y.raise("Range out of order in character class"),!0}y.pos=D}return!1},ot.regexp_eatClassSetOperand=function(y){return this.regexp_eatClassSetCharacter(y)?qt:this.regexp_eatClassStringDisjunction(y)||this.regexp_eatNestedClass(y)},ot.regexp_eatNestedClass=function(y){var D=y.pos;if(y.eat(91)){var W=y.eat(94),Q=this.regexp_classContents(y);if(y.eat(93))return W&&Q===Ot&&y.raise("Negated character class may contain strings"),Q;y.pos=D}if(y.eat(92)){var ye=this.regexp_eatCharacterClassEscape(y);if(ye)return ye;y.pos=D}return null},ot.regexp_eatClassStringDisjunction=function(y){var D=y.pos;if(y.eatChars([92,113])){if(y.eat(123)){var W=this.regexp_classStringDisjunctionContents(y);if(y.eat(125))return W}else y.raise("Invalid escape");y.pos=D}return null},ot.regexp_classStringDisjunctionContents=function(y){for(var D=this.regexp_classString(y);y.eat(124);)this.regexp_classString(y)===Ot&&(D=Ot);return D},ot.regexp_classString=function(y){for(var D=0;this.regexp_eatClassSetCharacter(y);)D++;return D===1?qt:Ot},ot.regexp_eatClassSetCharacter=function(y){var D=y.pos;if(y.eat(92))return this.regexp_eatCharacterEscape(y)||this.regexp_eatClassSetReservedPunctuator(y)?!0:y.eat(98)?(y.lastIntValue=8,!0):(y.pos=D,!1);var W=y.current();return W<0||W===y.lookahead()&&Er(W)||Vr(W)?!1:(y.advance(),y.lastIntValue=W,!0)};function Er(y){return y===33||y>=35&&y<=38||y>=42&&y<=44||y===46||y>=58&&y<=64||y===94||y===96||y===126}function Vr(y){return y===40||y===41||y===45||y===47||y>=91&&y<=93||y>=123&&y<=125}ot.regexp_eatClassSetReservedPunctuator=function(y){var D=y.current();return $r(D)?(y.lastIntValue=D,y.advance(),!0):!1};function $r(y){return y===33||y===35||y===37||y===38||y===44||y===45||y>=58&&y<=62||y===64||y===96||y===126}ot.regexp_eatClassControlLetter=function(y){var D=y.current();return ir(D)||D===95?(y.lastIntValue=D%32,y.advance(),!0):!1},ot.regexp_eatHexEscapeSequence=function(y){var D=y.pos;if(y.eat(120)){if(this.regexp_eatFixedHexDigits(y,2))return!0;y.switchU&&y.raise("Invalid escape"),y.pos=D}return!1},ot.regexp_eatDecimalDigits=function(y){var D=y.pos,W=0;for(y.lastIntValue=0;ir(W=y.current());)y.lastIntValue=10*y.lastIntValue+(W-48),y.advance();return y.pos!==D};function ir(y){return y>=48&&y<=57}ot.regexp_eatHexDigits=function(y){var D=y.pos,W=0;for(y.lastIntValue=0;or(W=y.current());)y.lastIntValue=16*y.lastIntValue+Dr(W),y.advance();return y.pos!==D};function or(y){return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function Dr(y){return y>=65&&y<=70?10+(y-65):y>=97&&y<=102?10+(y-97):y-48}ot.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var D=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var W=y.lastIntValue;D<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=D*64+W*8+y.lastIntValue:y.lastIntValue=D*8+W}else y.lastIntValue=D;return!0}return!1},ot.regexp_eatOctalDigit=function(y){var D=y.current();return Sr(D)?(y.lastIntValue=D-48,y.advance(),!0):(y.lastIntValue=0,!1)};function Sr(y){return y>=48&&y<=55}ot.regexp_eatFixedHexDigits=function(y,D){var W=y.pos;y.lastIntValue=0;for(var Q=0;Q<D;++Q){var ye=y.current();if(!or(ye))return y.pos=W,!1;y.lastIntValue=16*y.lastIntValue+Dr(ye),y.advance()}return!0};var nr=function(D){this.type=D.type,this.value=D.value,this.start=D.start,this.end=D.end,D.options.locations&&(this.loc=new ge(D,D.startLoc,D.endLoc)),D.options.ranges&&(this.range=[D.start,D.end])},Et=et.prototype;Et.next=function(y){!y&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new nr(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Et.getToken=function(){return this.next(),new nr(this)},typeof Symbol<"u"&&(Et[Symbol.iterator]=function(){var y=this;return{next:function(){var D=y.getToken();return{done:D.type===E.eof,value:D}}}}),Et.nextToken=function(){var y=this.curContext();if((!y||!y.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(E.eof);if(y.override)return y.override(this);this.readToken(this.fullCharCodeAtPos())},Et.readToken=function(y){return i(y,this.options.ecmaVersion>=6)||y===92?this.readWord():this.getTokenFromCode(y)},Et.fullCharCodeAtPos=function(){var y=this.input.charCodeAt(this.pos);if(y<=55295||y>=56320)return y;var D=this.input.charCodeAt(this.pos+1);return D<=56319||D>=57344?y:(y<<10)+D-56613888},Et.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),D=this.pos,W=this.input.indexOf("*/",this.pos+=2);if(W===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=W+2,this.options.locations)for(var Q=void 0,ye=D;(Q=k(this.input,ye,this.pos))>-1;)++this.curLine,ye=this.lineStart=Q;this.options.onComment&&this.options.onComment(!0,this.input.slice(D+2,W),D,this.pos,y,this.curPosition())},Et.skipLineComment=function(y){for(var D=this.pos,W=this.options.onComment&&this.curPosition(),Q=this.input.charCodeAt(this.pos+=y);this.pos<this.input.length&&!w(Q);)Q=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(D+y,this.pos),D,this.pos,W,this.curPosition())},Et.skipSpace=function(){e:for(;this.pos<this.input.length;){var y=this.input.charCodeAt(this.pos);switch(y){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(y>8&&y<14||y>=5760&&R.test(String.fromCharCode(y)))++this.pos;else break e}}},Et.finishToken=function(y,D){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var W=this.type;this.type=y,this.value=D,this.updateContext(W)},Et.readToken_dot=function(){var y=this.input.charCodeAt(this.pos+1);if(y>=48&&y<=57)return this.readNumber(!0);var D=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&y===46&&D===46?(this.pos+=3,this.finishToken(E.ellipsis)):(++this.pos,this.finishToken(E.dot))},Et.readToken_slash=function(){var y=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):y===61?this.finishOp(E.assign,2):this.finishOp(E.slash,1)},Et.readToken_mult_modulo_exp=function(y){var D=this.input.charCodeAt(this.pos+1),W=1,Q=y===42?E.star:E.modulo;return this.options.ecmaVersion>=7&&y===42&&D===42&&(++W,Q=E.starstar,D=this.input.charCodeAt(this.pos+2)),D===61?this.finishOp(E.assign,W+1):this.finishOp(Q,W)},Et.readToken_pipe_amp=function(y){var D=this.input.charCodeAt(this.pos+1);if(D===y){if(this.options.ecmaVersion>=12){var W=this.input.charCodeAt(this.pos+2);if(W===61)return this.finishOp(E.assign,3)}return this.finishOp(y===124?E.logicalOR:E.logicalAND,2)}return D===61?this.finishOp(E.assign,2):this.finishOp(y===124?E.bitwiseOR:E.bitwiseAND,1)},Et.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(E.assign,2):this.finishOp(E.bitwiseXOR,1)},Et.readToken_plus_min=function(y){var D=this.input.charCodeAt(this.pos+1);return D===y?D===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||A.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(E.incDec,2):D===61?this.finishOp(E.assign,2):this.finishOp(E.plusMin,1)},Et.readToken_lt_gt=function(y){var D=this.input.charCodeAt(this.pos+1),W=1;return D===y?(W=y===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+W)===61?this.finishOp(E.assign,W+1):this.finishOp(E.bitShift,W)):D===33&&y===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(D===61&&(W=2),this.finishOp(E.relational,W))},Et.readToken_eq_excl=function(y){var D=this.input.charCodeAt(this.pos+1);return D===61?this.finishOp(E.equality,this.input.charCodeAt(this.pos+2)===61?3:2):y===61&&D===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(E.arrow)):this.finishOp(y===61?E.eq:E.prefix,1)},Et.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var D=this.input.charCodeAt(this.pos+1);if(D===46){var W=this.input.charCodeAt(this.pos+2);if(W<48||W>57)return this.finishOp(E.questionDot,2)}if(D===63){if(y>=12){var Q=this.input.charCodeAt(this.pos+2);if(Q===61)return this.finishOp(E.assign,3)}return this.finishOp(E.coalesce,2)}}return this.finishOp(E.question,1)},Et.readToken_numberSign=function(){var y=this.options.ecmaVersion,D=35;if(y>=13&&(++this.pos,D=this.fullCharCodeAtPos(),i(D,!0)||D===92))return this.finishToken(E.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+L(D)+"'")},Et.getTokenFromCode=function(y){switch(y){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(E.parenL);case 41:return++this.pos,this.finishToken(E.parenR);case 59:return++this.pos,this.finishToken(E.semi);case 44:return++this.pos,this.finishToken(E.comma);case 91:return++this.pos,this.finishToken(E.bracketL);case 93:return++this.pos,this.finishToken(E.bracketR);case 123:return++this.pos,this.finishToken(E.braceL);case 125:return++this.pos,this.finishToken(E.braceR);case 58:return++this.pos,this.finishToken(E.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(E.backQuote);case 48:var D=this.input.charCodeAt(this.pos+1);if(D===120||D===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(D===111||D===79)return this.readRadixNumber(8);if(D===98||D===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(y);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(y);case 124:case 38:return this.readToken_pipe_amp(y);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(y);case 60:case 62:return this.readToken_lt_gt(y);case 61:case 33:return this.readToken_eq_excl(y);case 63:return this.readToken_question();case 126:return this.finishOp(E.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+L(y)+"'")},Et.finishOp=function(y,D){var W=this.input.slice(this.pos,this.pos+D);return this.pos+=D,this.finishToken(y,W)},Et.readRegexp=function(){for(var y,D,W=this.pos;;){this.pos>=this.input.length&&this.raise(W,"Unterminated regular expression");var Q=this.input.charAt(this.pos);if(A.test(Q)&&this.raise(W,"Unterminated regular expression"),y)y=!1;else{if(Q==="[")D=!0;else if(Q==="]"&&D)D=!1;else if(Q==="/"&&!D)break;y=Q==="\\"}++this.pos}var ye=this.input.slice(W,this.pos);++this.pos;var Ne=this.pos,Me=this.readWord1();this.containsEsc&&this.unexpected(Ne);var Ze=this.regexpState||(this.regexpState=new _t(this));Ze.reset(W,ye,Me),this.validateRegExpFlags(Ze),this.validateRegExpPattern(Ze);var at=null;try{at=new RegExp(ye,Me)}catch{}return this.finishToken(E.regexp,{pattern:ye,flags:Me,value:at})},Et.readInt=function(y,D,W){for(var Q=this.options.ecmaVersion>=12&&D===void 0,ye=W&&this.input.charCodeAt(this.pos)===48,Ne=this.pos,Me=0,Ze=0,at=0,dt=D??1/0;at<dt;++at,++this.pos){var gt=this.input.charCodeAt(this.pos),At=void 0;if(Q&&gt===95){ye&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Ze===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),at===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Ze=gt;continue}if(gt>=97?At=gt-97+10:gt>=65?At=gt-65+10:gt>=48&&gt<=57?At=gt-48:At=1/0,At>=y)break;Ze=gt,Me=Me*y+At}return Q&&Ze===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Ne||D!=null&&this.pos-Ne!==D?null:Me};function Wr(y,D){return D?parseInt(y,8):parseFloat(y.replace(/_/g,""))}function Ir(y){return typeof BigInt!="function"?null:BigInt(y.replace(/_/g,""))}Et.readRadixNumber=function(y){var D=this.pos;this.pos+=2;var W=this.readInt(y);return W==null&&this.raise(this.start+2,"Expected number in radix "+y),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(W=Ir(this.input.slice(D,this.pos)),++this.pos):i(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(E.num,W)},Et.readNumber=function(y){var D=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(D,"Invalid number");var W=this.pos-D>=2&&this.input.charCodeAt(D)===48;W&&this.strict&&this.raise(D,"Invalid number");var Q=this.input.charCodeAt(this.pos);if(!W&&!y&&this.options.ecmaVersion>=11&&Q===110){var ye=Ir(this.input.slice(D,this.pos));return++this.pos,i(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(E.num,ye)}W&&/[89]/.test(this.input.slice(D,this.pos))&&(W=!1),Q===46&&!W&&(++this.pos,this.readInt(10),Q=this.input.charCodeAt(this.pos)),(Q===69||Q===101)&&!W&&(Q=this.input.charCodeAt(++this.pos),(Q===43||Q===45)&&++this.pos,this.readInt(10)===null&&this.raise(D,"Invalid number")),i(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Ne=Wr(this.input.slice(D,this.pos),W);return this.finishToken(E.num,Ne)},Et.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),D;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var W=++this.pos;D=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,D>1114111&&this.invalidStringToken(W,"Code point out of bounds")}else D=this.readHexChar(4);return D},Et.readString=function(y){for(var D="",W=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Q=this.input.charCodeAt(this.pos);if(Q===y)break;Q===92?(D+=this.input.slice(W,this.pos),D+=this.readEscapedChar(!1),W=this.pos):Q===8232||Q===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(w(Q)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return D+=this.input.slice(W,this.pos++),this.finishToken(E.string,D)};var je={};Et.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===je)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},Et.invalidStringToken=function(y,D){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw je;this.raise(y,D)},Et.readTmplToken=function(){for(var y="",D=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var W=this.input.charCodeAt(this.pos);if(W===96||W===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===E.template||this.type===E.invalidTemplate)?W===36?(this.pos+=2,this.finishToken(E.dollarBraceL)):(++this.pos,this.finishToken(E.backQuote)):(y+=this.input.slice(D,this.pos),this.finishToken(E.template,y));if(W===92)y+=this.input.slice(D,this.pos),y+=this.readEscapedChar(!0),D=this.pos;else if(w(W)){switch(y+=this.input.slice(D,this.pos),++this.pos,W){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:y+=`
6
- `;break;default:y+=String.fromCharCode(W);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),D=this.pos}else++this.pos}},Et.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(E.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
7
- `&&++this.pos;case`
8
- `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},Et.readEscapedChar=function(y){var D=this.input.charCodeAt(++this.pos);switch(++this.pos,D){case 110:return`
9
- `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return L(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),y){var W=this.pos-1;this.invalidStringToken(W,"Invalid escape sequence in template string")}default:if(D>=48&&D<=55){var Q=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],ye=parseInt(Q,8);return ye>255&&(Q=Q.slice(0,-1),ye=parseInt(Q,8)),this.pos+=Q.length-1,D=this.input.charCodeAt(this.pos),(Q!=="0"||D===56||D===57)&&(this.strict||y)&&this.invalidStringToken(this.pos-1-Q.length,y?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(ye)}return w(D)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(D)}},Et.readHexChar=function(y){var D=this.pos,W=this.readInt(16,y);return W===null&&this.invalidStringToken(D,"Bad character escape sequence"),W},Et.readWord1=function(){this.containsEsc=!1;for(var y="",D=!0,W=this.pos,Q=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ye=this.fullCharCodeAtPos();if(h(ye,Q))this.pos+=ye<=65535?1:2;else if(ye===92){this.containsEsc=!0,y+=this.input.slice(W,this.pos);var Ne=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Me=this.readCodePoint();(D?i:h)(Me,Q)||this.invalidStringToken(Ne,"Invalid Unicode escape"),y+=L(Me),W=this.pos}else break;D=!1}return y+this.input.slice(W,this.pos)},Et.readWord=function(){var y=this.readWord1(),D=E.name;return this.keywords.test(y)&&(D=T[y]),this.finishToken(D,y)};var M="8.15.0";et.acorn={Parser:et,version:M,defaultOptions:ke,Position:J,SourceLocation:ge,getLineInfo:ae,Node:Ge,TokenType:g,tokTypes:E,keywordTypes:T,TokContext:V,tokContexts:Y,isIdentifierChar:h,isIdentifierStart:i,Token:nr,isNewLine:w,lineBreak:A,lineBreakG:C,nonASCIIwhitespace:R};function re(y,D){return et.parse(y,D)}function me(y,D,W){return et.parseExpressionAt(y,D,W)}function Be(y,D){return et.tokenizer(y,D)}p.Node=Ge,p.Parser=et,p.Position=J,p.SourceLocation=ge,p.TokContext=V,p.Token=nr,p.TokenType=g,p.defaultOptions=ke,p.getLineInfo=ae,p.isIdentifierChar=h,p.isIdentifierStart=i,p.isNewLine=w,p.keywordTypes=T,p.lineBreak=A,p.lineBreakG=C,p.nonASCIIwhitespace=R,p.parse=re,p.parseExpressionAt=me,p.tokContexts=Y,p.tokTypes=E,p.tokenizer=Be,p.version=M})}(Kr,Kr.exports)),Kr.exports}var cn={exports:{}},fn,Hf;function Bb(){return Hf||(Hf=1,fn={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),fn}var Kf;function Lb(){return Kf||(Kf=1,function(m){const t=Bb(),p=/^[\da-fA-F]+$/,d=/^\d+$/,e=new WeakMap;function l(r){r=r.Parser.acorn||r;let u=e.get(r);if(!u){const s=r.tokTypes,a=r.TokContext,c=r.TokenType,n=new a("<tag",!1),i=new a("</tag",!1),h=new a("<tag>...</tag>",!0,!0),g={tc_oTag:n,tc_cTag:i,tc_expr:h},v={jsxName:new c("jsxName"),jsxText:new c("jsxText",{beforeExpr:!0}),jsxTagStart:new c("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new c("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(h),this.context.push(n),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(S){let b=this.context.pop();b===n&&S===s.slash||b===i?(this.context.pop(),this.exprAllowed=this.curContext()===h):this.exprAllowed=!0},u={tokContexts:g,tokTypes:v},e.set(r,u)}return u}function f(r){if(!r)return r;if(r.type==="JSXIdentifier")return r.name;if(r.type==="JSXNamespacedName")return r.namespace.name+":"+r.name.name;if(r.type==="JSXMemberExpression")return f(r.object)+"."+f(r.property)}m.exports=function(r){return r=r||{},function(u){return o({allowNamespaces:r.allowNamespaces!==!1,allowNamespacedObjects:!!r.allowNamespacedObjects},u)}},Object.defineProperty(m.exports,"tokTypes",{get:function(){return l(un()).tokTypes},configurable:!0,enumerable:!0});function o(r,u){const s=u.acorn||un(),a=l(s),c=s.tokTypes,n=a.tokTypes,i=s.tokContexts,h=a.tokContexts.tc_oTag,g=a.tokContexts.tc_cTag,v=a.tokContexts.tc_expr,S=s.isNewLine,b=s.isIdentifierStart,T=s.isIdentifierChar;return class extends u{static get acornJsx(){return a}jsx_readToken(){let x="",E=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let A=this.input.charCodeAt(this.pos);switch(A){case 60:case 123:return this.pos===this.start?A===60&&this.exprAllowed?(++this.pos,this.finishToken(n.jsxTagStart)):this.getTokenFromCode(A):(x+=this.input.slice(E,this.pos),this.finishToken(n.jsxText,x));case 38:x+=this.input.slice(E,this.pos),x+=this.jsx_readEntity(),E=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(A===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:S(A)?(x+=this.input.slice(E,this.pos),x+=this.jsx_readNewLine(!0),E=this.pos):++this.pos}}}jsx_readNewLine(x){let E=this.input.charCodeAt(this.pos),A;return++this.pos,E===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,A=x?`
10
- `:`\r
11
- `):A=String.fromCharCode(E),this.options.locations&&(++this.curLine,this.lineStart=this.pos),A}jsx_readString(x){let E="",A=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let C=this.input.charCodeAt(this.pos);if(C===x)break;C===38?(E+=this.input.slice(A,this.pos),E+=this.jsx_readEntity(),A=this.pos):S(C)?(E+=this.input.slice(A,this.pos),E+=this.jsx_readNewLine(!1),A=this.pos):++this.pos}return E+=this.input.slice(A,this.pos++),this.finishToken(c.string,E)}jsx_readEntity(){let x="",E=0,A,C=this.input[this.pos];C!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let w=++this.pos;for(;this.pos<this.input.length&&E++<10;){if(C=this.input[this.pos++],C===";"){x[0]==="#"?x[1]==="x"?(x=x.substr(2),p.test(x)&&(A=String.fromCharCode(parseInt(x,16)))):(x=x.substr(1),d.test(x)&&(A=String.fromCharCode(parseInt(x,10)))):A=t[x];break}x+=C}return A||(this.pos=w,"&")}jsx_readWord(){let x,E=this.pos;do x=this.input.charCodeAt(++this.pos);while(T(x)||x===45);return this.finishToken(n.jsxName,this.input.slice(E,this.pos))}jsx_parseIdentifier(){let x=this.startNode();return this.type===n.jsxName?x.name=this.value:this.type.keyword?x.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(x,"JSXIdentifier")}jsx_parseNamespacedName(){let x=this.start,E=this.startLoc,A=this.jsx_parseIdentifier();if(!r.allowNamespaces||!this.eat(c.colon))return A;var C=this.startNodeAt(x,E);return C.namespace=A,C.name=this.jsx_parseIdentifier(),this.finishNode(C,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===n.jsxTagEnd)return"";let x=this.start,E=this.startLoc,A=this.jsx_parseNamespacedName();for(this.type===c.dot&&A.type==="JSXNamespacedName"&&!r.allowNamespacedObjects&&this.unexpected();this.eat(c.dot);){let C=this.startNodeAt(x,E);C.object=A,C.property=this.jsx_parseIdentifier(),A=this.finishNode(C,"JSXMemberExpression")}return A}jsx_parseAttributeValue(){switch(this.type){case c.braceL:let x=this.jsx_parseExpressionContainer();return x.expression.type==="JSXEmptyExpression"&&this.raise(x.start,"JSX attributes must only be assigned a non-empty expression"),x;case n.jsxTagStart:case c.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let x=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(x,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let x=this.startNode();return this.next(),x.expression=this.type===c.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(c.braceR),this.finishNode(x,"JSXExpressionContainer")}jsx_parseAttribute(){let x=this.startNode();return this.eat(c.braceL)?(this.expect(c.ellipsis),x.argument=this.parseMaybeAssign(),this.expect(c.braceR),this.finishNode(x,"JSXSpreadAttribute")):(x.name=this.jsx_parseNamespacedName(),x.value=this.eat(c.eq)?this.jsx_parseAttributeValue():null,this.finishNode(x,"JSXAttribute"))}jsx_parseOpeningElementAt(x,E){let A=this.startNodeAt(x,E);A.attributes=[];let C=this.jsx_parseElementName();for(C&&(A.name=C);this.type!==c.slash&&this.type!==n.jsxTagEnd;)A.attributes.push(this.jsx_parseAttribute());return A.selfClosing=this.eat(c.slash),this.expect(n.jsxTagEnd),this.finishNode(A,C?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(x,E){let A=this.startNodeAt(x,E),C=this.jsx_parseElementName();return C&&(A.name=C),this.expect(n.jsxTagEnd),this.finishNode(A,C?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(x,E){let A=this.startNodeAt(x,E),C=[],w=this.jsx_parseOpeningElementAt(x,E),k=null;if(!w.selfClosing){e:for(;;)switch(this.type){case n.jsxTagStart:if(x=this.start,E=this.startLoc,this.next(),this.eat(c.slash)){k=this.jsx_parseClosingElementAt(x,E);break e}C.push(this.jsx_parseElementAt(x,E));break;case n.jsxText:C.push(this.parseExprAtom());break;case c.braceL:C.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}f(k.name)!==f(w.name)&&this.raise(k.start,"Expected corresponding JSX closing tag for <"+f(w.name)+">")}let R=w.name?"Element":"Fragment";return A["opening"+R]=w,A["closing"+R]=k,A.children=C,this.type===c.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(A,"JSX"+R)}jsx_parseText(){let x=this.parseLiteral(this.value);return x.type="JSXText",x}jsx_parseElement(){let x=this.start,E=this.startLoc;return this.next(),this.jsx_parseElementAt(x,E)}parseExprAtom(x){return this.type===n.jsxText?this.jsx_parseText():this.type===n.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(x)}readToken(x){let E=this.curContext();if(E===v)return this.jsx_readToken();if(E===h||E===g){if(b(x))return this.jsx_readWord();if(x==62)return++this.pos,this.finishToken(n.jsxTagEnd);if((x===34||x===39)&&E==h)return this.jsx_readString(x)}return x===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(n.jsxTagStart)):super.readToken(x)}updateContext(x){if(this.type==c.braceL){var E=this.curContext();E==h?this.context.push(i.b_expr):E==v?this.context.push(i.b_tmpl):super.updateContext(x),this.exprAllowed=!0}else if(this.type===c.slash&&x===n.jsxTagStart)this.context.length-=2,this.context.push(g),this.exprAllowed=!1;else return super.updateContext(x)}}}}(cn)),cn.exports}var _r={},Xf;function Ob(){if(Xf)return _r;Xf=1;const m={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},t=Object.keys(m);for(const f of t)Object.freeze(m[f]);Object.freeze(m);const p=new Set(["parent","leadingComments","trailingComments"]);function d(f){return!p.has(f)&&f[0]!=="_"}function e(f){return Object.keys(f).filter(d)}function l(f){const o=Object.assign({},m);for(const r of Object.keys(f))if(Object.hasOwn(o,r)){const u=new Set(f[r]);for(const s of o[r])u.add(s);o[r]=Object.freeze(Array.from(u))}else o[r]=Object.freeze(Array.from(f[r]));return Object.freeze(o)}return _r.KEYS=m,_r.getKeys=e,_r.unionWith=l,_r}var Jf;function Xr(){if(Jf)return Xt;Jf=1,Object.defineProperty(Xt,"__esModule",{value:!0});var m=un(),t=Lb(),p=Ob();function d(O){return O&&typeof O=="object"&&"default"in O?O:{default:O}}function e(O){if(O&&O.__esModule)return O;var $=Object.create(null);return O&&Object.keys(O).forEach(function(N){if(N!=="default"){var _=Object.getOwnPropertyDescriptor(O,N);Object.defineProperty($,N,_.get?_:{enumerable:!0,get:function(){return O[N]}})}}),$.default=O,Object.freeze($)}var l=e(m),f=d(t),o=e(p);const r={Boolean:"Boolean",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function u(O,$){const N=O[0],_=O.at(-1),X={type:r.Template,value:$.slice(N.start,_.end)};return N.loc&&(X.loc={start:N.loc.start,end:_.loc.end}),N.range&&(X.start=N.range[0],X.end=_.range[1],X.range=[X.start,X.end]),X}function s(O,$){this._acornTokTypes=O,this._tokens=[],this._curlyBrace=null,this._code=$}s.prototype={constructor:s,translate(O,$){const N=O.type,_=this._acornTokTypes;if(N===_.name)O.type=r.Identifier,O.value==="static"&&(O.type=r.Keyword),$.ecmaVersion>5&&(O.value==="yield"||O.value==="let")&&(O.type=r.Keyword);else if(N===_.privateId)O.type=r.PrivateIdentifier;else if(N===_.semi||N===_.comma||N===_.parenL||N===_.parenR||N===_.braceL||N===_.braceR||N===_.dot||N===_.bracketL||N===_.colon||N===_.question||N===_.bracketR||N===_.ellipsis||N===_.arrow||N===_.jsxTagStart||N===_.incDec||N===_.starstar||N===_.jsxTagEnd||N===_.prefix||N===_.questionDot||N.binop&&!N.keyword||N.isAssign)O.type=r.Punctuator,O.value=this._code.slice(O.start,O.end);else if(N===_.jsxName)O.type=r.JSXIdentifier;else if(N.label==="jsxText"||N===_.jsxAttrValueToken)O.type=r.JSXText;else if(N.keyword)N.keyword==="true"||N.keyword==="false"?O.type=r.Boolean:N.keyword==="null"?O.type=r.Null:O.type=r.Keyword;else if(N===_.num)O.type=r.Numeric,O.value=this._code.slice(O.start,O.end);else if(N===_.string)$.jsxAttrValueToken?($.jsxAttrValueToken=!1,O.type=r.JSXText):O.type=r.String,O.value=this._code.slice(O.start,O.end);else if(N===_.regexp){O.type=r.RegularExpression;const X=O.value;O.regex={flags:X.flags,pattern:X.pattern},O.value=`/${X.pattern}/${X.flags}`}return O},onToken(O,$){const N=this._acornTokTypes,_=$.tokens,X=this._tokens,L=()=>{_.push(u(this._tokens,this._code)),this._tokens=[]};if(O.type===N.eof){this._curlyBrace&&_.push(this.translate(this._curlyBrace,$));return}if(O.type===N.backQuote){this._curlyBrace&&(_.push(this.translate(this._curlyBrace,$)),this._curlyBrace=null),X.push(O),X.length>1&&L();return}if(O.type===N.dollarBraceL){X.push(O),L();return}if(O.type===N.braceR){this._curlyBrace&&_.push(this.translate(this._curlyBrace,$)),this._curlyBrace=O;return}if(O.type===N.template||O.type===N.invalidTemplate){this._curlyBrace&&(X.push(this._curlyBrace),this._curlyBrace=null),X.push(O);return}this._curlyBrace&&(_.push(this.translate(this._curlyBrace,$)),this._curlyBrace=null),_.push(this.translate(O,$))}};const a=[3,5,6,7,8,9,10,11,12,13,14,15,16,17];function c(){return a.at(-1)}function n(){return[...a]}function i(O=5){let $=O==="latest"?c():O;if(typeof $!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof O} instead.`);if($>=2015&&($-=2009),!a.includes($))throw new Error("Invalid ecmaVersion.");return $}function h(O="script"){if(O==="script"||O==="module")return O;if(O==="commonjs")return"script";throw new Error("Invalid sourceType.")}function g(O){const $=i(O.ecmaVersion),N=h(O.sourceType),_=O.range===!0,X=O.loc===!0;if($!==3&&O.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof O.allowReserved<"u"&&typeof O.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");const L=$===3?O.allowReserved||"never":!1,K=O.ecmaFeatures||{},J=O.sourceType==="commonjs"||!!K.globalReturn;if(N==="module"&&$<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},O,{ecmaVersion:$,sourceType:N,ranges:_,locations:X,allowReserved:L,allowReturnOutsideFunction:J})}const v=Symbol("espree's internal state"),S=Symbol("espree's esprimaFinishNode");function b(O,$,N,_,X,L,K){let J;O?J="Block":K.slice(N,N+2)==="#!"?J="Hashbang":J="Line";const ge={type:J,value:$};return typeof N=="number"&&(ge.start=N,ge.end=_,ge.range=[N,_]),typeof X=="object"&&(ge.loc={start:X,end:L}),ge}var T=()=>O=>{const $=Object.assign({},O.acorn.tokTypes);return O.acornJsx&&Object.assign($,O.acornJsx.tokTypes),class extends O{constructor(_,X){(typeof _!="object"||_===null)&&(_={}),typeof X!="string"&&!(X instanceof String)&&(X=String(X));const L=_.sourceType,K=g(_),J=K.ecmaFeatures||{},ge=K.tokens===!0?new s($,X):null,ae={originalSourceType:L||K.sourceType,tokens:ge?[]:null,comments:K.comment===!0?[]:null,impliedStrict:J.impliedStrict===!0&&K.ecmaVersion>=5,ecmaVersion:K.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:K.ecmaVersion,sourceType:K.sourceType,ranges:K.ranges,locations:K.locations,allowReserved:K.allowReserved,allowReturnOutsideFunction:K.allowReturnOutsideFunction,onToken(ke){ge&&ge.onToken(ke,ae),ke.type!==$.eof&&(ae.lastToken=ke)},onComment(ke,Z,I,H,fe,ce){if(ae.comments){const ie=b(ke,Z,I,H,fe,ce,X);ae.comments.push(ie)}}},X),this[v]=ae}tokenize(){do this.next();while(this.type!==$.eof);this.next();const _=this[v],X=_.tokens;return _.comments&&(X.comments=_.comments),X}finishNode(..._){const X=super.finishNode(..._);return this[S](X)}finishNodeAt(..._){const X=super.finishNodeAt(..._);return this[S](X)}parse(){const _=this[v],X=super.parse();if(X.sourceType=_.originalSourceType,_.comments&&(X.comments=_.comments),_.tokens&&(X.tokens=_.tokens),X.body.length){const[L]=X.body;X.range&&(X.range[0]=L.range[0]),X.loc&&(X.loc.start=L.loc.start),X.start=L.start}return _.lastToken&&(X.range&&(X.range[1]=_.lastToken.range[1]),X.loc&&(X.loc.end=_.lastToken.loc.end),X.end=_.lastToken.end),this[v].templateElements.forEach(L=>{const J=L.tail?1:2;L.start+=-1,L.end+=J,L.range&&(L.range[0]+=-1,L.range[1]+=J),L.loc&&(L.loc.start.column+=-1,L.loc.end.column+=J)}),X}parseTopLevel(_){return this[v].impliedStrict&&(this.strict=!0),super.parseTopLevel(_)}raise(_,X){const L=O.acorn.getLineInfo(this.input,_),K=new SyntaxError(X);throw K.index=_,K.lineNumber=L.line,K.column=L.column+1,K}raiseRecoverable(_,X){this.raise(_,X)}unexpected(_){let X="Unexpected token";if(_!=null){if(this.pos=_,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf(`
12
- `,this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(X+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,X)}jsx_readString(_){const X=super.jsx_readString(_);return this.type===$.string&&(this[v].jsxAttrValueToken=!0),X}[S](_){return _.type==="TemplateElement"&&this[v].templateElements.push(_),_.type.includes("Function")&&!_.generator&&(_.generator=!1),_}}};const x="10.4.0",E={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=l.Parser.extend(T())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=l.Parser.extend(f.default(),T())),this._jsx},get(O){return!!(O&&O.ecmaFeatures&&O.ecmaFeatures.jsx)?this.jsx:this.regular}};function A(O,$){const N=E.get($);return(!$||$.tokens!==!0)&&($=Object.assign({},$,{tokens:!0})),new N($,O).tokenize()}function C(O,$){const N=E.get($);return new N($,O).parse()}const w=x,k="espree",R=function(){return o.KEYS}(),P=function(){let O,$={};typeof Object.create=="function"&&($=Object.create(null));for(O in R)Object.hasOwn(R,O)&&($[O]=O);return typeof Object.freeze=="function"&&Object.freeze($),$}(),B=c(),F=n();return Xt.Syntax=P,Xt.VisitorKeys=R,Xt.latestEcmaVersion=B,Xt.name=k,Xt.parse=C,Xt.supportedEcmaVersions=F,Xt.tokenize=A,Xt.version=w,Xt}var Br={exports:{}};Br.exports;var Qf;function Nb(){return Qf||(Qf=1,function(m,t){var p=200,d="__lodash_hash_undefined__",e=800,l=16,f=9007199254740991,o="[object Arguments]",r="[object Array]",u="[object AsyncFunction]",s="[object Boolean]",a="[object Date]",c="[object Error]",n="[object Function]",i="[object GeneratorFunction]",h="[object Map]",g="[object Number]",v="[object Null]",S="[object Object]",b="[object Proxy]",T="[object RegExp]",x="[object Set]",E="[object String]",A="[object Undefined]",C="[object WeakMap]",w="[object ArrayBuffer]",k="[object DataView]",R="[object Float32Array]",P="[object Float64Array]",B="[object Int8Array]",F="[object Int16Array]",O="[object Int32Array]",$="[object Uint8Array]",N="[object Uint8ClampedArray]",_="[object Uint16Array]",X="[object Uint32Array]",L=/[\\^$.*+?()[\]{}|]/g,K=/^\[object .+?Constructor\]$/,J=/^(?:0|[1-9]\d*)$/,ge={};ge[R]=ge[P]=ge[B]=ge[F]=ge[O]=ge[$]=ge[N]=ge[_]=ge[X]=!0,ge[o]=ge[r]=ge[w]=ge[s]=ge[k]=ge[a]=ge[c]=ge[n]=ge[h]=ge[g]=ge[S]=ge[T]=ge[x]=ge[E]=ge[C]=!1;var ae=typeof sr=="object"&&sr&&sr.Object===Object&&sr,ke=typeof self=="object"&&self&&self.Object===Object&&self,Z=ae||ke||Function("return this")(),I=t&&!t.nodeType&&t,H=I&&!0&&m&&!m.nodeType&&m,fe=H&&H.exports===I,ce=fe&&ae.process,ie=function(){try{var Ce=H&&H.require&&H.require("util").types;return Ce||ce&&ce.binding&&ce.binding("util")}catch{}}(),he=ie&&ie.isTypedArray;function Se(Ce,_e,Ve){switch(Ve.length){case 0:return Ce.call(_e);case 1:return Ce.call(_e,Ve[0]);case 2:return Ce.call(_e,Ve[0],Ve[1]);case 3:return Ce.call(_e,Ve[0],Ve[1],Ve[2])}return Ce.apply(_e,Ve)}function xe(Ce,_e){for(var Ve=-1,ut=Array(Ce);++Ve<Ce;)ut[Ve]=_e(Ve);return ut}function we(Ce){return function(_e){return Ce(_e)}}function ee(Ce,_e){return Ce?.[_e]}function ne(Ce,_e){return function(Ve){return Ce(_e(Ve))}}var Ae=Array.prototype,z=Function.prototype,oe=Object.prototype,Te=Z["__core-js_shared__"],Re=z.toString,Pe=oe.hasOwnProperty,G=function(){var Ce=/[^.]+$/.exec(Te&&Te.keys&&Te.keys.IE_PROTO||"");return Ce?"Symbol(src)_1."+Ce:""}(),Je=oe.toString,lt=Re.call(Object),et=RegExp("^"+Re.call(Pe).replace(L,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=fe?Z.Buffer:void 0,$e=Z.Symbol,nt=Z.Uint8Array;qe&&qe.allocUnsafe;var pt=ne(Object.getPrototypeOf,Object),tt=Object.create,Qe=oe.propertyIsEnumerable,vt=Ae.splice,Ye=$e?$e.toStringTag:void 0,bt=function(){try{var Ce=Ot(Object,"defineProperty");return Ce({},"",{}),Ce}catch{}}(),Ke=qe?qe.isBuffer:void 0,We=Math.max,Ee=Date.now,j=Ot(Z,"Map"),U=Ot(Object,"create"),V=function(){function Ce(){}return function(_e){if(!Q(_e))return{};if(tt)return tt(_e);Ce.prototype=_e;var Ve=new Ce;return Ce.prototype=void 0,Ve}}();function Y(Ce){var _e=-1,Ve=Ce==null?0:Ce.length;for(this.clear();++_e<Ve;){var ut=Ce[_e];this.set(ut[0],ut[1])}}function le(){this.__data__=U?U(null):{},this.size=0}function te(Ce){var _e=this.has(Ce)&&delete this.__data__[Ce];return this.size-=_e?1:0,_e}function q(Ce){var _e=this.__data__;if(U){var Ve=_e[Ce];return Ve===d?void 0:Ve}return Pe.call(_e,Ce)?_e[Ce]:void 0}function se(Ce){var _e=this.__data__;return U?_e[Ce]!==void 0:Pe.call(_e,Ce)}function ue(Ce,_e){var Ve=this.__data__;return this.size+=this.has(Ce)?0:1,Ve[Ce]=U&&_e===void 0?d:_e,this}Y.prototype.clear=le,Y.prototype.delete=te,Y.prototype.get=q,Y.prototype.has=se,Y.prototype.set=ue;function be(Ce){var _e=-1,Ve=Ce==null?0:Ce.length;for(this.clear();++_e<Ve;){var ut=Ce[_e];this.set(ut[0],ut[1])}}function Oe(){this.__data__=[],this.size=0}function Ie(Ce){var _e=this.__data__,Ve=St(_e,Ce);if(Ve<0)return!1;var ut=_e.length-1;return Ve==ut?_e.pop():vt.call(_e,Ve,1),--this.size,!0}function Ge(Ce){var _e=this.__data__,Ve=St(_e,Ce);return Ve<0?void 0:_e[Ve][1]}function ze(Ce){return St(this.__data__,Ce)>-1}function de(Ce,_e){var Ve=this.__data__,ut=St(Ve,Ce);return ut<0?(++this.size,Ve.push([Ce,_e])):Ve[ut][1]=_e,this}be.prototype.clear=Oe,be.prototype.delete=Ie,be.prototype.get=Ge,be.prototype.has=ze,be.prototype.set=de;function pe(Ce){var _e=-1,Ve=Ce==null?0:Ce.length;for(this.clear();++_e<Ve;){var ut=Ce[_e];this.set(ut[0],ut[1])}}function ve(){this.size=0,this.__data__={hash:new Y,map:new(j||be),string:new Y}}function De(Ce){var _e=qt(this,Ce).delete(Ce);return this.size-=_e?1:0,_e}function Fe(Ce){return qt(this,Ce).get(Ce)}function st(Ce){return qt(this,Ce).has(Ce)}function Ue(Ce,_e){var Ve=qt(this,Ce),ut=Ve.size;return Ve.set(Ce,_e),this.size+=Ve.size==ut?0:1,this}pe.prototype.clear=ve,pe.prototype.delete=De,pe.prototype.get=Fe,pe.prototype.has=st,pe.prototype.set=Ue;function Xe(Ce){var _e=this.__data__=new be(Ce);this.size=_e.size}function it(){this.__data__=new be,this.size=0}function He(Ce){var _e=this.__data__,Ve=_e.delete(Ce);return this.size=_e.size,Ve}function rt(Ce){return this.__data__.get(Ce)}function ft(Ce){return this.__data__.has(Ce)}function mt(Ce,_e){var Ve=this.__data__;if(Ve instanceof be){var ut=Ve.__data__;if(!j||ut.length<p-1)return ut.push([Ce,_e]),this.size=++Ve.size,this;Ve=this.__data__=new pe(ut)}return Ve.set(Ce,_e),this.size=Ve.size,this}Xe.prototype.clear=it,Xe.prototype.delete=He,Xe.prototype.get=rt,Xe.prototype.has=ft,Xe.prototype.set=mt;function ct(Ce,_e){var Ve=re(Ce),ut=!Ve&&M(Ce),yt=!Ve&&!ut&&y(Ce),wt=!Ve&&!ut&&!yt&&Me(Ce),Tt=Ve||ut||yt||wt,Ct=Tt?xe(Ce.length,String):[],kt=Ct.length;for(var Yt in Ce)Tt&&(Yt=="length"||yt&&(Yt=="offset"||Yt=="parent")||wt&&(Yt=="buffer"||Yt=="byteLength"||Yt=="byteOffset")||kr(Yt,kt))||Ct.push(Yt);return Ct}function ht(Ce,_e,Ve){(Ve!==void 0&&!je(Ce[_e],Ve)||Ve===void 0&&!(_e in Ce))&&Pt(Ce,_e,Ve)}function xt(Ce,_e,Ve){var ut=Ce[_e];(!(Pe.call(Ce,_e)&&je(ut,Ve))||Ve===void 0&&!(_e in Ce))&&Pt(Ce,_e,Ve)}function St(Ce,_e){for(var Ve=Ce.length;Ve--;)if(je(Ce[Ve][0],_e))return Ve;return-1}function Pt(Ce,_e,Ve){_e=="__proto__"&&bt?bt(Ce,_e,{configurable:!0,enumerable:!0,value:Ve,writable:!0}):Ce[_e]=Ve}var Ft=Kt();function Rt(Ce){return Ce==null?Ce===void 0?A:v:Ye&&Ye in Object(Ce)?wr(Ce):Dr(Ce)}function Wt(Ce){return ye(Ce)&&Rt(Ce)==o}function $t(Ce){if(!Q(Ce)||$r(Ce))return!1;var _e=D(Ce)?et:K;return _e.test(Ir(Ce))}function Bt(Ce){return ye(Ce)&&W(Ce.length)&&!!ge[Rt(Ce)]}function Ut(Ce){if(!Q(Ce))return or(Ce);var _e=ir(Ce),Ve=[];for(var ut in Ce)ut=="constructor"&&(_e||!Pe.call(Ce,ut))||Ve.push(ut);return Ve}function ot(Ce,_e,Ve,ut,yt){Ce!==_e&&Ft(_e,function(wt,Tt){if(yt||(yt=new Xe),Q(wt))Lt(Ce,_e,Tt,Ve,ot,ut,yt);else{var Ct=ut?ut(nr(Ce,Tt),wt,Tt+"",Ce,_e,yt):void 0;Ct===void 0&&(Ct=wt),ht(Ce,Tt,Ct)}},at)}function Lt(Ce,_e,Ve,ut,yt,wt,Tt){var Ct=nr(Ce,Ve),kt=nr(_e,Ve),Yt=Tt.get(kt);if(Yt){ht(Ce,Ve,Yt);return}var Gt=wt?wt(Ct,kt,Ve+"",Ce,_e,Tt):void 0,Gr=Gt===void 0;if(Gr){var Bf=re(kt),Lf=!Bf&&y(kt),rb=!Bf&&!Lf&&Me(kt);Gt=kt,Bf||Lf||rb?re(Ct)?Gt=Ct:Be(Ct)?Gt=Qt(Ct):Lf?(Gr=!1,Gt=fr(kt)):rb?(Gr=!1,Gt=tr(kt)):Gt=[]:Ne(kt)||M(kt)?(Gt=Ct,M(Ct)?Gt=Ze(Ct):(!Q(Ct)||D(Ct))&&(Gt=Tr(kt))):Gr=!1}Gr&&(Tt.set(kt,Gt),yt(Gt,kt,ut,wt,Tt),Tt.delete(kt)),ht(Ce,Ve,Gt)}function _t(Ce,_e){return Et(Sr(Ce,_e,At),Ce+"")}var cr=bt?function(Ce,_e){return bt(Ce,"toString",{configurable:!0,enumerable:!1,value:gt(_e),writable:!0})}:At;function fr(Ce,_e){return Ce.slice()}function Ht(Ce){var _e=new Ce.constructor(Ce.byteLength);return new nt(_e).set(new nt(Ce)),_e}function tr(Ce,_e){var Ve=Ht(Ce.buffer);return new Ce.constructor(Ve,Ce.byteOffset,Ce.length)}function Qt(Ce,_e){var Ve=-1,ut=Ce.length;for(_e||(_e=Array(ut));++Ve<ut;)_e[Ve]=Ce[Ve];return _e}function rr(Ce,_e,Ve,ut){var yt=!Ve;Ve||(Ve={});for(var wt=-1,Tt=_e.length;++wt<Tt;){var Ct=_e[wt],kt=void 0;kt===void 0&&(kt=Ce[Ct]),yt?Pt(Ve,Ct,kt):xt(Ve,Ct,kt)}return Ve}function pr(Ce){return _t(function(_e,Ve){var ut=-1,yt=Ve.length,wt=yt>1?Ve[yt-1]:void 0,Tt=yt>2?Ve[2]:void 0;for(wt=Ce.length>3&&typeof wt=="function"?(yt--,wt):void 0,Tt&&Er(Ve[0],Ve[1],Tt)&&(wt=yt<3?void 0:wt,yt=1),_e=Object(_e);++ut<yt;){var Ct=Ve[ut];Ct&&Ce(_e,Ct,ut,wt)}return _e})}function Kt(Ce){return function(_e,Ve,ut){for(var yt=-1,wt=Object(_e),Tt=ut(_e),Ct=Tt.length;Ct--;){var kt=Tt[++yt];if(Ve(wt[kt],kt,wt)===!1)break}return _e}}function qt(Ce,_e){var Ve=Ce.__data__;return Vr(_e)?Ve[typeof _e=="string"?"string":"hash"]:Ve.map}function Ot(Ce,_e){var Ve=ee(Ce,_e);return $t(Ve)?Ve:void 0}function wr(Ce){var _e=Pe.call(Ce,Ye),Ve=Ce[Ye];try{Ce[Ye]=void 0;var ut=!0}catch{}var yt=Je.call(Ce);return ut&&(_e?Ce[Ye]=Ve:delete Ce[Ye]),yt}function Tr(Ce){return typeof Ce.constructor=="function"&&!ir(Ce)?V(pt(Ce)):{}}function kr(Ce,_e){var Ve=typeof Ce;return _e=_e??f,!!_e&&(Ve=="number"||Ve!="symbol"&&J.test(Ce))&&Ce>-1&&Ce%1==0&&Ce<_e}function Er(Ce,_e,Ve){if(!Q(Ve))return!1;var ut=typeof _e;return(ut=="number"?me(Ve)&&kr(_e,Ve.length):ut=="string"&&_e in Ve)?je(Ve[_e],Ce):!1}function Vr(Ce){var _e=typeof Ce;return _e=="string"||_e=="number"||_e=="symbol"||_e=="boolean"?Ce!=="__proto__":Ce===null}function $r(Ce){return!!G&&G in Ce}function ir(Ce){var _e=Ce&&Ce.constructor,Ve=typeof _e=="function"&&_e.prototype||oe;return Ce===Ve}function or(Ce){var _e=[];if(Ce!=null)for(var Ve in Object(Ce))_e.push(Ve);return _e}function Dr(Ce){return Je.call(Ce)}function Sr(Ce,_e,Ve){return _e=We(_e===void 0?Ce.length-1:_e,0),function(){for(var ut=arguments,yt=-1,wt=We(ut.length-_e,0),Tt=Array(wt);++yt<wt;)Tt[yt]=ut[_e+yt];yt=-1;for(var Ct=Array(_e+1);++yt<_e;)Ct[yt]=ut[yt];return Ct[_e]=Ve(Tt),Se(Ce,this,Ct)}}function nr(Ce,_e){if(!(_e==="constructor"&&typeof Ce[_e]=="function")&&_e!="__proto__")return Ce[_e]}var Et=Wr(cr);function Wr(Ce){var _e=0,Ve=0;return function(){var ut=Ee(),yt=l-(ut-Ve);if(Ve=ut,yt>0){if(++_e>=e)return arguments[0]}else _e=0;return Ce.apply(void 0,arguments)}}function Ir(Ce){if(Ce!=null){try{return Re.call(Ce)}catch{}try{return Ce+""}catch{}}return""}function je(Ce,_e){return Ce===_e||Ce!==Ce&&_e!==_e}var M=Wt(function(){return arguments}())?Wt:function(Ce){return ye(Ce)&&Pe.call(Ce,"callee")&&!Qe.call(Ce,"callee")},re=Array.isArray;function me(Ce){return Ce!=null&&W(Ce.length)&&!D(Ce)}function Be(Ce){return ye(Ce)&&me(Ce)}var y=Ke||Nt;function D(Ce){if(!Q(Ce))return!1;var _e=Rt(Ce);return _e==n||_e==i||_e==u||_e==b}function W(Ce){return typeof Ce=="number"&&Ce>-1&&Ce%1==0&&Ce<=f}function Q(Ce){var _e=typeof Ce;return Ce!=null&&(_e=="object"||_e=="function")}function ye(Ce){return Ce!=null&&typeof Ce=="object"}function Ne(Ce){if(!ye(Ce)||Rt(Ce)!=S)return!1;var _e=pt(Ce);if(_e===null)return!0;var Ve=Pe.call(_e,"constructor")&&_e.constructor;return typeof Ve=="function"&&Ve instanceof Ve&&Re.call(Ve)==lt}var Me=he?we(he):Bt;function Ze(Ce){return rr(Ce,at(Ce))}function at(Ce){return me(Ce)?ct(Ce):Ut(Ce)}var dt=pr(function(Ce,_e,Ve){ot(Ce,_e,Ve)});function gt(Ce){return function(){return Ce}}function At(Ce){return Ce}function Nt(){return!1}m.exports=dt}(Br,Br.exports)),Br.exports}var Mb="9.39.1",jb={version:Mb},Jr={},Qr={exports:{}};var Yf;function Ub(){return Yf||(Yf=1,function(m,t){(function(p,d){d(t)})(this,function(p){function d(){for(var de=arguments.length,pe=Array(de),ve=0;ve<de;ve++)pe[ve]=arguments[ve];if(pe.length>1){pe[0]=pe[0].slice(0,-1);for(var De=pe.length-1,Fe=1;Fe<De;++Fe)pe[Fe]=pe[Fe].slice(1,-1);return pe[De]=pe[De].slice(1),pe.join("")}else return pe[0]}function e(de){return"(?:"+de+")"}function l(de){return de===void 0?"undefined":de===null?"null":Object.prototype.toString.call(de).split(" ").pop().split("]").shift().toLowerCase()}function f(de){return de.toUpperCase()}function o(de){return de!=null?de instanceof Array?de:typeof de.length!="number"||de.split||de.setInterval||de.call?[de]:Array.prototype.slice.call(de):[]}function r(de,pe){var ve=de;if(pe)for(var De in pe)ve[De]=pe[De];return ve}function u(de){var pe="[A-Za-z]",ve="[0-9]",De=d(ve,"[A-Fa-f]"),Fe=e(e("%[EFef]"+De+"%"+De+De+"%"+De+De)+"|"+e("%[89A-Fa-f]"+De+"%"+De+De)+"|"+e("%"+De+De)),st="[\\:\\/\\?\\#\\[\\]\\@]",Ue="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Xe=d(st,Ue),it=de?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",He=de?"[\\uE000-\\uF8FF]":"[]",rt=d(pe,ve,"[\\-\\.\\_\\~]",it);e(pe+d(pe,ve,"[\\+\\-\\.]")+"*"),e(e(Fe+"|"+d(rt,Ue,"[\\:]"))+"*");var ft=e(e("25[0-5]")+"|"+e("2[0-4]"+ve)+"|"+e("1"+ve+ve)+"|"+e("0?[1-9]"+ve)+"|0?0?"+ve),mt=e(ft+"\\."+ft+"\\."+ft+"\\."+ft),ct=e(De+"{1,4}"),ht=e(e(ct+"\\:"+ct)+"|"+mt),xt=e(e(ct+"\\:")+"{6}"+ht),St=e("\\:\\:"+e(ct+"\\:")+"{5}"+ht),Pt=e(e(ct)+"?\\:\\:"+e(ct+"\\:")+"{4}"+ht),Ft=e(e(e(ct+"\\:")+"{0,1}"+ct)+"?\\:\\:"+e(ct+"\\:")+"{3}"+ht),Rt=e(e(e(ct+"\\:")+"{0,2}"+ct)+"?\\:\\:"+e(ct+"\\:")+"{2}"+ht),Wt=e(e(e(ct+"\\:")+"{0,3}"+ct)+"?\\:\\:"+ct+"\\:"+ht),$t=e(e(e(ct+"\\:")+"{0,4}"+ct)+"?\\:\\:"+ht),Bt=e(e(e(ct+"\\:")+"{0,5}"+ct)+"?\\:\\:"+ct),Ut=e(e(e(ct+"\\:")+"{0,6}"+ct)+"?\\:\\:"),ot=e([xt,St,Pt,Ft,Rt,Wt,$t,Bt,Ut].join("|")),Lt=e(e(rt+"|"+Fe)+"+");e("[vV]"+De+"+\\."+d(rt,Ue,"[\\:]")+"+"),e(e(Fe+"|"+d(rt,Ue))+"*");var _t=e(Fe+"|"+d(rt,Ue,"[\\:\\@]"));return e(e(Fe+"|"+d(rt,Ue,"[\\@]"))+"+"),e(e(_t+"|"+d("[\\/\\?]",He))+"*"),{NOT_SCHEME:new RegExp(d("[^]",pe,ve,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(d("[^\\%\\:]",rt,Ue),"g"),NOT_HOST:new RegExp(d("[^\\%\\[\\]\\:]",rt,Ue),"g"),NOT_PATH:new RegExp(d("[^\\%\\/\\:\\@]",rt,Ue),"g"),NOT_PATH_NOSCHEME:new RegExp(d("[^\\%\\/\\@]",rt,Ue),"g"),NOT_QUERY:new RegExp(d("[^\\%]",rt,Ue,"[\\:\\@\\/\\?]",He),"g"),NOT_FRAGMENT:new RegExp(d("[^\\%]",rt,Ue,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(d("[^]",rt,Ue),"g"),UNRESERVED:new RegExp(rt,"g"),OTHER_CHARS:new RegExp(d("[^\\%]",rt,Xe),"g"),PCT_ENCODED:new RegExp(Fe,"g"),IPV4ADDRESS:new RegExp("^("+mt+")$"),IPV6ADDRESS:new RegExp("^\\[?("+ot+")"+e(e("\\%25|\\%(?!"+De+"{2})")+"("+Lt+")")+"?\\]?$")}}var s=u(!1),a=u(!0),c=function(){function de(pe,ve){var De=[],Fe=!0,st=!1,Ue=void 0;try{for(var Xe=pe[Symbol.iterator](),it;!(Fe=(it=Xe.next()).done)&&(De.push(it.value),!(ve&&De.length===ve));Fe=!0);}catch(He){st=!0,Ue=He}finally{try{!Fe&&Xe.return&&Xe.return()}finally{if(st)throw Ue}}return De}return function(pe,ve){if(Array.isArray(pe))return pe;if(Symbol.iterator in Object(pe))return de(pe,ve);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=function(de){if(Array.isArray(de)){for(var pe=0,ve=Array(de.length);pe<de.length;pe++)ve[pe]=de[pe];return ve}else return Array.from(de)},i=2147483647,h=36,g=1,v=26,S=38,b=700,T=72,x=128,E="-",A=/^xn--/,C=/[^\0-\x7E]/,w=/[\x2E\u3002\uFF0E\uFF61]/g,k={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=h-g,P=Math.floor,B=String.fromCharCode;function F(de){throw new RangeError(k[de])}function O(de,pe){for(var ve=[],De=de.length;De--;)ve[De]=pe(de[De]);return ve}function $(de,pe){var ve=de.split("@"),De="";ve.length>1&&(De=ve[0]+"@",de=ve[1]),de=de.replace(w,".");var Fe=de.split("."),st=O(Fe,pe).join(".");return De+st}function N(de){for(var pe=[],ve=0,De=de.length;ve<De;){var Fe=de.charCodeAt(ve++);if(Fe>=55296&&Fe<=56319&&ve<De){var st=de.charCodeAt(ve++);(st&64512)==56320?pe.push(((Fe&1023)<<10)+(st&1023)+65536):(pe.push(Fe),ve--)}else pe.push(Fe)}return pe}var _=function(pe){return String.fromCodePoint.apply(String,n(pe))},X=function(pe){return pe-48<10?pe-22:pe-65<26?pe-65:pe-97<26?pe-97:h},L=function(pe,ve){return pe+22+75*(pe<26)-((ve!=0)<<5)},K=function(pe,ve,De){var Fe=0;for(pe=De?P(pe/b):pe>>1,pe+=P(pe/ve);pe>R*v>>1;Fe+=h)pe=P(pe/R);return P(Fe+(R+1)*pe/(pe+S))},J=function(pe){var ve=[],De=pe.length,Fe=0,st=x,Ue=T,Xe=pe.lastIndexOf(E);Xe<0&&(Xe=0);for(var it=0;it<Xe;++it)pe.charCodeAt(it)>=128&&F("not-basic"),ve.push(pe.charCodeAt(it));for(var He=Xe>0?Xe+1:0;He<De;){for(var rt=Fe,ft=1,mt=h;;mt+=h){He>=De&&F("invalid-input");var ct=X(pe.charCodeAt(He++));(ct>=h||ct>P((i-Fe)/ft))&&F("overflow"),Fe+=ct*ft;var ht=mt<=Ue?g:mt>=Ue+v?v:mt-Ue;if(ct<ht)break;var xt=h-ht;ft>P(i/xt)&&F("overflow"),ft*=xt}var St=ve.length+1;Ue=K(Fe-rt,St,rt==0),P(Fe/St)>i-st&&F("overflow"),st+=P(Fe/St),Fe%=St,ve.splice(Fe++,0,st)}return String.fromCodePoint.apply(String,ve)},ge=function(pe){var ve=[];pe=N(pe);var De=pe.length,Fe=x,st=0,Ue=T,Xe=!0,it=!1,He=void 0;try{for(var rt=pe[Symbol.iterator](),ft;!(Xe=(ft=rt.next()).done);Xe=!0){var mt=ft.value;mt<128&&ve.push(B(mt))}}catch(Kt){it=!0,He=Kt}finally{try{!Xe&&rt.return&&rt.return()}finally{if(it)throw He}}var ct=ve.length,ht=ct;for(ct&&ve.push(E);ht<De;){var xt=i,St=!0,Pt=!1,Ft=void 0;try{for(var Rt=pe[Symbol.iterator](),Wt;!(St=(Wt=Rt.next()).done);St=!0){var $t=Wt.value;$t>=Fe&&$t<xt&&(xt=$t)}}catch(Kt){Pt=!0,Ft=Kt}finally{try{!St&&Rt.return&&Rt.return()}finally{if(Pt)throw Ft}}var Bt=ht+1;xt-Fe>P((i-st)/Bt)&&F("overflow"),st+=(xt-Fe)*Bt,Fe=xt;var Ut=!0,ot=!1,Lt=void 0;try{for(var _t=pe[Symbol.iterator](),cr;!(Ut=(cr=_t.next()).done);Ut=!0){var fr=cr.value;if(fr<Fe&&++st>i&&F("overflow"),fr==Fe){for(var Ht=st,tr=h;;tr+=h){var Qt=tr<=Ue?g:tr>=Ue+v?v:tr-Ue;if(Ht<Qt)break;var rr=Ht-Qt,pr=h-Qt;ve.push(B(L(Qt+rr%pr,0))),Ht=P(rr/pr)}ve.push(B(L(Ht,0))),Ue=K(st,Bt,ht==ct),st=0,++ht}}}catch(Kt){ot=!0,Lt=Kt}finally{try{!Ut&&_t.return&&_t.return()}finally{if(ot)throw Lt}}++st,++Fe}return ve.join("")},ae=function(pe){return $(pe,function(ve){return A.test(ve)?J(ve.slice(4).toLowerCase()):ve})},ke=function(pe){return $(pe,function(ve){return C.test(ve)?"xn--"+ge(ve):ve})},Z={version:"2.1.0",ucs2:{decode:N,encode:_},decode:J,encode:ge,toASCII:ke,toUnicode:ae},I={};function H(de){var pe=de.charCodeAt(0),ve=void 0;return pe<16?ve="%0"+pe.toString(16).toUpperCase():pe<128?ve="%"+pe.toString(16).toUpperCase():pe<2048?ve="%"+(pe>>6|192).toString(16).toUpperCase()+"%"+(pe&63|128).toString(16).toUpperCase():ve="%"+(pe>>12|224).toString(16).toUpperCase()+"%"+(pe>>6&63|128).toString(16).toUpperCase()+"%"+(pe&63|128).toString(16).toUpperCase(),ve}function fe(de){for(var pe="",ve=0,De=de.length;ve<De;){var Fe=parseInt(de.substr(ve+1,2),16);if(Fe<128)pe+=String.fromCharCode(Fe),ve+=3;else if(Fe>=194&&Fe<224){if(De-ve>=6){var st=parseInt(de.substr(ve+4,2),16);pe+=String.fromCharCode((Fe&31)<<6|st&63)}else pe+=de.substr(ve,6);ve+=6}else if(Fe>=224){if(De-ve>=9){var Ue=parseInt(de.substr(ve+4,2),16),Xe=parseInt(de.substr(ve+7,2),16);pe+=String.fromCharCode((Fe&15)<<12|(Ue&63)<<6|Xe&63)}else pe+=de.substr(ve,9);ve+=9}else pe+=de.substr(ve,3),ve+=3}return pe}function ce(de,pe){function ve(De){var Fe=fe(De);return Fe.match(pe.UNRESERVED)?Fe:De}return de.scheme&&(de.scheme=String(de.scheme).replace(pe.PCT_ENCODED,ve).toLowerCase().replace(pe.NOT_SCHEME,"")),de.userinfo!==void 0&&(de.userinfo=String(de.userinfo).replace(pe.PCT_ENCODED,ve).replace(pe.NOT_USERINFO,H).replace(pe.PCT_ENCODED,f)),de.host!==void 0&&(de.host=String(de.host).replace(pe.PCT_ENCODED,ve).toLowerCase().replace(pe.NOT_HOST,H).replace(pe.PCT_ENCODED,f)),de.path!==void 0&&(de.path=String(de.path).replace(pe.PCT_ENCODED,ve).replace(de.scheme?pe.NOT_PATH:pe.NOT_PATH_NOSCHEME,H).replace(pe.PCT_ENCODED,f)),de.query!==void 0&&(de.query=String(de.query).replace(pe.PCT_ENCODED,ve).replace(pe.NOT_QUERY,H).replace(pe.PCT_ENCODED,f)),de.fragment!==void 0&&(de.fragment=String(de.fragment).replace(pe.PCT_ENCODED,ve).replace(pe.NOT_FRAGMENT,H).replace(pe.PCT_ENCODED,f)),de}function ie(de){return de.replace(/^0*(.*)/,"$1")||"0"}function he(de,pe){var ve=de.match(pe.IPV4ADDRESS)||[],De=c(ve,2),Fe=De[1];return Fe?Fe.split(".").map(ie).join("."):de}function Se(de,pe){var ve=de.match(pe.IPV6ADDRESS)||[],De=c(ve,3),Fe=De[1],st=De[2];if(Fe){for(var Ue=Fe.toLowerCase().split("::").reverse(),Xe=c(Ue,2),it=Xe[0],He=Xe[1],rt=He?He.split(":").map(ie):[],ft=it.split(":").map(ie),mt=pe.IPV4ADDRESS.test(ft[ft.length-1]),ct=mt?7:8,ht=ft.length-ct,xt=Array(ct),St=0;St<ct;++St)xt[St]=rt[St]||ft[ht+St]||"";mt&&(xt[ct-1]=he(xt[ct-1],pe));var Pt=xt.reduce(function(Bt,Ut,ot){if(!Ut||Ut==="0"){var Lt=Bt[Bt.length-1];Lt&&Lt.index+Lt.length===ot?Lt.length++:Bt.push({index:ot,length:1})}return Bt},[]),Ft=Pt.sort(function(Bt,Ut){return Ut.length-Bt.length})[0],Rt=void 0;if(Ft&&Ft.length>1){var Wt=xt.slice(0,Ft.index),$t=xt.slice(Ft.index+Ft.length);Rt=Wt.join(":")+"::"+$t.join(":")}else Rt=xt.join(":");return st&&(Rt+="%"+st),Rt}else return de}var xe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,we="".match(/(){0}/)[1]===void 0;function ee(de){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve={},De=pe.iri!==!1?a:s;pe.reference==="suffix"&&(de=(pe.scheme?pe.scheme+":":"")+"//"+de);var Fe=de.match(xe);if(Fe){we?(ve.scheme=Fe[1],ve.userinfo=Fe[3],ve.host=Fe[4],ve.port=parseInt(Fe[5],10),ve.path=Fe[6]||"",ve.query=Fe[7],ve.fragment=Fe[8],isNaN(ve.port)&&(ve.port=Fe[5])):(ve.scheme=Fe[1]||void 0,ve.userinfo=de.indexOf("@")!==-1?Fe[3]:void 0,ve.host=de.indexOf("//")!==-1?Fe[4]:void 0,ve.port=parseInt(Fe[5],10),ve.path=Fe[6]||"",ve.query=de.indexOf("?")!==-1?Fe[7]:void 0,ve.fragment=de.indexOf("#")!==-1?Fe[8]:void 0,isNaN(ve.port)&&(ve.port=de.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?Fe[4]:void 0)),ve.host&&(ve.host=Se(he(ve.host,De),De)),ve.scheme===void 0&&ve.userinfo===void 0&&ve.host===void 0&&ve.port===void 0&&!ve.path&&ve.query===void 0?ve.reference="same-document":ve.scheme===void 0?ve.reference="relative":ve.fragment===void 0?ve.reference="absolute":ve.reference="uri",pe.reference&&pe.reference!=="suffix"&&pe.reference!==ve.reference&&(ve.error=ve.error||"URI is not a "+pe.reference+" reference.");var st=I[(pe.scheme||ve.scheme||"").toLowerCase()];if(!pe.unicodeSupport&&(!st||!st.unicodeSupport)){if(ve.host&&(pe.domainHost||st&&st.domainHost))try{ve.host=Z.toASCII(ve.host.replace(De.PCT_ENCODED,fe).toLowerCase())}catch(Ue){ve.error=ve.error||"Host's domain name can not be converted to ASCII via punycode: "+Ue}ce(ve,s)}else ce(ve,De);st&&st.parse&&st.parse(ve,pe)}else ve.error=ve.error||"URI can not be parsed.";return ve}function ne(de,pe){var ve=pe.iri!==!1?a:s,De=[];return de.userinfo!==void 0&&(De.push(de.userinfo),De.push("@")),de.host!==void 0&&De.push(Se(he(String(de.host),ve),ve).replace(ve.IPV6ADDRESS,function(Fe,st,Ue){return"["+st+(Ue?"%25"+Ue:"")+"]"})),(typeof de.port=="number"||typeof de.port=="string")&&(De.push(":"),De.push(String(de.port))),De.length?De.join(""):void 0}var Ae=/^\.\.?\//,z=/^\/\.(\/|$)/,oe=/^\/\.\.(\/|$)/,Te=/^\/?(?:.|\n)*?(?=\/|$)/;function Re(de){for(var pe=[];de.length;)if(de.match(Ae))de=de.replace(Ae,"");else if(de.match(z))de=de.replace(z,"/");else if(de.match(oe))de=de.replace(oe,"/"),pe.pop();else if(de==="."||de==="..")de="";else{var ve=de.match(Te);if(ve){var De=ve[0];de=de.slice(De.length),pe.push(De)}else throw new Error("Unexpected dot segment condition")}return pe.join("")}function Pe(de){var pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=pe.iri?a:s,De=[],Fe=I[(pe.scheme||de.scheme||"").toLowerCase()];if(Fe&&Fe.serialize&&Fe.serialize(de,pe),de.host&&!ve.IPV6ADDRESS.test(de.host)){if(pe.domainHost||Fe&&Fe.domainHost)try{de.host=pe.iri?Z.toUnicode(de.host):Z.toASCII(de.host.replace(ve.PCT_ENCODED,fe).toLowerCase())}catch(Xe){de.error=de.error||"Host's domain name can not be converted to "+(pe.iri?"Unicode":"ASCII")+" via punycode: "+Xe}}ce(de,ve),pe.reference!=="suffix"&&de.scheme&&(De.push(de.scheme),De.push(":"));var st=ne(de,pe);if(st!==void 0&&(pe.reference!=="suffix"&&De.push("//"),De.push(st),de.path&&de.path.charAt(0)!=="/"&&De.push("/")),de.path!==void 0){var Ue=de.path;!pe.absolutePath&&(!Fe||!Fe.absolutePath)&&(Ue=Re(Ue)),st===void 0&&(Ue=Ue.replace(/^\/\//,"/%2F")),De.push(Ue)}return de.query!==void 0&&(De.push("?"),De.push(de.query)),de.fragment!==void 0&&(De.push("#"),De.push(de.fragment)),De.join("")}function G(de,pe){var ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},De=arguments[3],Fe={};return De||(de=ee(Pe(de,ve),ve),pe=ee(Pe(pe,ve),ve)),ve=ve||{},!ve.tolerant&&pe.scheme?(Fe.scheme=pe.scheme,Fe.userinfo=pe.userinfo,Fe.host=pe.host,Fe.port=pe.port,Fe.path=Re(pe.path||""),Fe.query=pe.query):(pe.userinfo!==void 0||pe.host!==void 0||pe.port!==void 0?(Fe.userinfo=pe.userinfo,Fe.host=pe.host,Fe.port=pe.port,Fe.path=Re(pe.path||""),Fe.query=pe.query):(pe.path?(pe.path.charAt(0)==="/"?Fe.path=Re(pe.path):((de.userinfo!==void 0||de.host!==void 0||de.port!==void 0)&&!de.path?Fe.path="/"+pe.path:de.path?Fe.path=de.path.slice(0,de.path.lastIndexOf("/")+1)+pe.path:Fe.path=pe.path,Fe.path=Re(Fe.path)),Fe.query=pe.query):(Fe.path=de.path,pe.query!==void 0?Fe.query=pe.query:Fe.query=de.query),Fe.userinfo=de.userinfo,Fe.host=de.host,Fe.port=de.port),Fe.scheme=de.scheme),Fe.fragment=pe.fragment,Fe}function Je(de,pe,ve){var De=r({scheme:"null"},ve);return Pe(G(ee(de,De),ee(pe,De),De,!0),De)}function lt(de,pe){return typeof de=="string"?de=Pe(ee(de,pe),pe):l(de)==="object"&&(de=ee(Pe(de,pe),pe)),de}function et(de,pe,ve){return typeof de=="string"?de=Pe(ee(de,ve),ve):l(de)==="object"&&(de=Pe(de,ve)),typeof pe=="string"?pe=Pe(ee(pe,ve),ve):l(pe)==="object"&&(pe=Pe(pe,ve)),de===pe}function qe(de,pe){return de&&de.toString().replace(!pe||!pe.iri?s.ESCAPE:a.ESCAPE,H)}function $e(de,pe){return de&&de.toString().replace(!pe||!pe.iri?s.PCT_ENCODED:a.PCT_ENCODED,fe)}var nt={scheme:"http",domainHost:!0,parse:function(pe,ve){return pe.host||(pe.error=pe.error||"HTTP URIs must have a host."),pe},serialize:function(pe,ve){var De=String(pe.scheme).toLowerCase()==="https";return(pe.port===(De?443:80)||pe.port==="")&&(pe.port=void 0),pe.path||(pe.path="/"),pe}},pt={scheme:"https",domainHost:nt.domainHost,parse:nt.parse,serialize:nt.serialize};function tt(de){return typeof de.secure=="boolean"?de.secure:String(de.scheme).toLowerCase()==="wss"}var Qe={scheme:"ws",domainHost:!0,parse:function(pe,ve){var De=pe;return De.secure=tt(De),De.resourceName=(De.path||"/")+(De.query?"?"+De.query:""),De.path=void 0,De.query=void 0,De},serialize:function(pe,ve){if((pe.port===(tt(pe)?443:80)||pe.port==="")&&(pe.port=void 0),typeof pe.secure=="boolean"&&(pe.scheme=pe.secure?"wss":"ws",pe.secure=void 0),pe.resourceName){var De=pe.resourceName.split("?"),Fe=c(De,2),st=Fe[0],Ue=Fe[1];pe.path=st&&st!=="/"?st:void 0,pe.query=Ue,pe.resourceName=void 0}return pe.fragment=void 0,pe}},vt={scheme:"wss",domainHost:Qe.domainHost,parse:Qe.parse,serialize:Qe.serialize},Ye={},bt="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Ke="[0-9A-Fa-f]",We=e(e("%[EFef]"+Ke+"%"+Ke+Ke+"%"+Ke+Ke)+"|"+e("%[89A-Fa-f]"+Ke+"%"+Ke+Ke)+"|"+e("%"+Ke+Ke)),Ee="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",j="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",U=d(j,'[\\"\\\\]'),V="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Y=new RegExp(bt,"g"),le=new RegExp(We,"g"),te=new RegExp(d("[^]",Ee,"[\\.]",'[\\"]',U),"g"),q=new RegExp(d("[^]",bt,V),"g"),se=q;function ue(de){var pe=fe(de);return pe.match(Y)?pe:de}var be={scheme:"mailto",parse:function(pe,ve){var De=pe,Fe=De.to=De.path?De.path.split(","):[];if(De.path=void 0,De.query){for(var st=!1,Ue={},Xe=De.query.split("&"),it=0,He=Xe.length;it<He;++it){var rt=Xe[it].split("=");switch(rt[0]){case"to":for(var ft=rt[1].split(","),mt=0,ct=ft.length;mt<ct;++mt)Fe.push(ft[mt]);break;case"subject":De.subject=$e(rt[1],ve);break;case"body":De.body=$e(rt[1],ve);break;default:st=!0,Ue[$e(rt[0],ve)]=$e(rt[1],ve);break}}st&&(De.headers=Ue)}De.query=void 0;for(var ht=0,xt=Fe.length;ht<xt;++ht){var St=Fe[ht].split("@");if(St[0]=$e(St[0]),ve.unicodeSupport)St[1]=$e(St[1],ve).toLowerCase();else try{St[1]=Z.toASCII($e(St[1],ve).toLowerCase())}catch(Pt){De.error=De.error||"Email address's domain name can not be converted to ASCII via punycode: "+Pt}Fe[ht]=St.join("@")}return De},serialize:function(pe,ve){var De=pe,Fe=o(pe.to);if(Fe){for(var st=0,Ue=Fe.length;st<Ue;++st){var Xe=String(Fe[st]),it=Xe.lastIndexOf("@"),He=Xe.slice(0,it).replace(le,ue).replace(le,f).replace(te,H),rt=Xe.slice(it+1);try{rt=ve.iri?Z.toUnicode(rt):Z.toASCII($e(rt,ve).toLowerCase())}catch(ht){De.error=De.error||"Email address's domain name can not be converted to "+(ve.iri?"Unicode":"ASCII")+" via punycode: "+ht}Fe[st]=He+"@"+rt}De.path=Fe.join(",")}var ft=pe.headers=pe.headers||{};pe.subject&&(ft.subject=pe.subject),pe.body&&(ft.body=pe.body);var mt=[];for(var ct in ft)ft[ct]!==Ye[ct]&&mt.push(ct.replace(le,ue).replace(le,f).replace(q,H)+"="+ft[ct].replace(le,ue).replace(le,f).replace(se,H));return mt.length&&(De.query=mt.join("&")),De}},Oe=/^([^\:]+)\:(.*)/,Ie={scheme:"urn",parse:function(pe,ve){var De=pe.path&&pe.path.match(Oe),Fe=pe;if(De){var st=ve.scheme||Fe.scheme||"urn",Ue=De[1].toLowerCase(),Xe=De[2],it=st+":"+(ve.nid||Ue),He=I[it];Fe.nid=Ue,Fe.nss=Xe,Fe.path=void 0,He&&(Fe=He.parse(Fe,ve))}else Fe.error=Fe.error||"URN can not be parsed.";return Fe},serialize:function(pe,ve){var De=ve.scheme||pe.scheme||"urn",Fe=pe.nid,st=De+":"+(ve.nid||Fe),Ue=I[st];Ue&&(pe=Ue.serialize(pe,ve));var Xe=pe,it=pe.nss;return Xe.path=(Fe||ve.nid)+":"+it,Xe}},Ge=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ze={scheme:"urn:uuid",parse:function(pe,ve){var De=pe;return De.uuid=De.nss,De.nss=void 0,!ve.tolerant&&(!De.uuid||!De.uuid.match(Ge))&&(De.error=De.error||"UUID is not valid."),De},serialize:function(pe,ve){var De=pe;return De.nss=(pe.uuid||"").toLowerCase(),De}};I[nt.scheme]=nt,I[pt.scheme]=pt,I[Qe.scheme]=Qe,I[vt.scheme]=vt,I[be.scheme]=be,I[Ie.scheme]=Ie,I[ze.scheme]=ze,p.SCHEMES=I,p.pctEncChar=H,p.pctDecChars=fe,p.parse=ee,p.removeDotSegments=Re,p.serialize=Pe,p.resolveComponents=G,p.resolve=Je,p.normalize=lt,p.equal=et,p.escapeComponent=qe,p.unescapeComponent=$e,Object.defineProperty(p,"__esModule",{value:!0})})}(Qr,Qr.exports)),Qr.exports}var pn,Zf;function dn(){return Zf||(Zf=1,pn=function m(t,p){if(t===p)return!0;if(t&&p&&typeof t=="object"&&typeof p=="object"){if(t.constructor!==p.constructor)return!1;var d,e,l;if(Array.isArray(t)){if(d=t.length,d!=p.length)return!1;for(e=d;e--!==0;)if(!m(t[e],p[e]))return!1;return!0}if(t.constructor===RegExp)return t.source===p.source&&t.flags===p.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===p.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===p.toString();if(l=Object.keys(t),d=l.length,d!==Object.keys(p).length)return!1;for(e=d;e--!==0;)if(!Object.prototype.hasOwnProperty.call(p,l[e]))return!1;for(e=d;e--!==0;){var f=l[e];if(!m(t[f],p[f]))return!1}return!0}return t!==t&&p!==p}),pn}var mn,ep;function qb(){return ep||(ep=1,mn=function(t){for(var p=0,d=t.length,e=0,l;e<d;)p++,l=t.charCodeAt(e++),l>=55296&&l<=56319&&e<d&&(l=t.charCodeAt(e),(l&64512)==56320&&e++);return p}),mn}var hn,tp;function Cr(){if(tp)return hn;tp=1,hn={copy:m,checkDataType:t,checkDataTypes:p,coerceToTypes:e,toHash:l,getProperty:r,escapeQuotes:u,equal:dn(),ucs2length:qb(),varOccurences:s,varReplace:a,schemaHasRules:c,schemaHasRulesExcept:n,schemaUnknownRules:i,toQuotedString:h,getPathExpr:g,getPath:v,getData:T,unescapeFragment:E,unescapeJsonPointer:w,escapeFragment:A,escapeJsonPointer:C};function m(k,R){R=R||{};for(var P in k)R[P]=k[P];return R}function t(k,R,P,B){var F=B?" !== ":" === ",O=B?" || ":" && ",$=B?"!":"",N=B?"":"!";switch(k){case"null":return R+F+"null";case"array":return $+"Array.isArray("+R+")";case"object":return"("+$+R+O+"typeof "+R+F+'"object"'+O+N+"Array.isArray("+R+"))";case"integer":return"(typeof "+R+F+'"number"'+O+N+"("+R+" % 1)"+O+R+F+R+(P?O+$+"isFinite("+R+")":"")+")";case"number":return"(typeof "+R+F+'"'+k+'"'+(P?O+$+"isFinite("+R+")":"")+")";default:return"typeof "+R+F+'"'+k+'"'}}function p(k,R,P){switch(k.length){case 1:return t(k[0],R,P,!0);default:var B="",F=l(k);F.array&&F.object&&(B=F.null?"(":"(!"+R+" || ",B+="typeof "+R+' !== "object")',delete F.null,delete F.array,delete F.object),F.number&&delete F.integer;for(var O in F)B+=(B?" && ":"")+t(O,R,P,!0);return B}}var d=l(["string","number","integer","boolean","null"]);function e(k,R){if(Array.isArray(R)){for(var P=[],B=0;B<R.length;B++){var F=R[B];(d[F]||k==="array"&&F==="array")&&(P[P.length]=F)}if(P.length)return P}else{if(d[R])return[R];if(k==="array"&&R==="array")return["array"]}}function l(k){for(var R={},P=0;P<k.length;P++)R[k[P]]=!0;return R}var f=/^[a-z$_][a-z$_0-9]*$/i,o=/'|\\/g;function r(k){return typeof k=="number"?"["+k+"]":f.test(k)?"."+k:"['"+u(k)+"']"}function u(k){return k.replace(o,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function s(k,R){R+="[^0-9]";var P=k.match(new RegExp(R,"g"));return P?P.length:0}function a(k,R,P){return R+="([^0-9])",P=P.replace(/\$/g,"$$$$"),k.replace(new RegExp(R,"g"),P+"$1")}function c(k,R){if(typeof k=="boolean")return!k;for(var P in k)if(R[P])return!0}function n(k,R,P){if(typeof k=="boolean")return!k&&P!="not";for(var B in k)if(B!=P&&R[B])return!0}function i(k,R){if(typeof k!="boolean"){for(var P in k)if(!R[P])return P}}function h(k){return"'"+u(k)+"'"}function g(k,R,P,B){var F=P?"'/' + "+R+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+R+" + ']'":"'[\\'' + "+R+" + '\\']'";return x(k,F)}function v(k,R,P){var B=h(P?"/"+C(R):r(R));return x(k,B)}var S=/^\/(?:[^~]|~0|~1)*$/,b=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function T(k,R,P){var B,F,O,$;if(k==="")return"rootData";if(k[0]=="/"){if(!S.test(k))throw new Error("Invalid JSON-pointer: "+k);F=k,O="rootData"}else{if($=k.match(b),!$)throw new Error("Invalid JSON-pointer: "+k);if(B=+$[1],F=$[2],F=="#"){if(B>=R)throw new Error("Cannot access property/index "+B+" levels up, current level is "+R);return P[R-B]}if(B>R)throw new Error("Cannot access data "+B+" levels up, current level is "+R);if(O="data"+(R-B||""),!F)return O}for(var N=O,_=F.split("/"),X=0;X<_.length;X++){var L=_[X];L&&(O+=r(w(L)),N+=" && "+O)}return N}function x(k,R){return k=='""'?R:(k+" + "+R).replace(/([^\\])' \+ '/g,"$1")}function E(k){return w(decodeURIComponent(k))}function A(k){return encodeURIComponent(C(k))}function C(k){return k.replace(/~/g,"~0").replace(/\//g,"~1")}function w(k){return k.replace(/~1/g,"/").replace(/~0/g,"~")}return hn}var gn,rp;function np(){if(rp)return gn;rp=1;var m=Cr();gn=t;function t(p){m.copy(p,this)}return gn}var yn={exports:{}},sp;function Vb(){if(sp)return yn.exports;sp=1;var m=yn.exports=function(d,e,l){typeof e=="function"&&(l=e,e={}),l=e.cb||l;var f=typeof l=="function"?l:l.pre||function(){},o=l.post||function(){};t(e,f,o,d,"",d)};m.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},m.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},m.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},m.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(d,e,l,f,o,r,u,s,a,c){if(f&&typeof f=="object"&&!Array.isArray(f)){e(f,o,r,u,s,a,c);for(var n in f){var i=f[n];if(Array.isArray(i)){if(n in m.arrayKeywords)for(var h=0;h<i.length;h++)t(d,e,l,i[h],o+"/"+n+"/"+h,r,o,n,f,h)}else if(n in m.propsKeywords){if(i&&typeof i=="object")for(var g in i)t(d,e,l,i[g],o+"/"+n+"/"+p(g),r,o,n,f,g)}else(n in m.keywords||d.allKeys&&!(n in m.skipKeywords))&&t(d,e,l,i,o+"/"+n,r,o,n,f)}l(f,o,r,u,s,a,c)}}function p(d){return d.replace(/~/g,"~0").replace(/\//g,"~1")}return yn.exports}var vn,ap;function En(){if(ap)return vn;ap=1;var m=Ub(),t=dn(),p=Cr(),d=np(),e=Vb();vn=l,l.normalizeId=v,l.fullPath=i,l.url=S,l.ids=b,l.inlineRef=a,l.schema=f;function l(T,x,E){var A=this._refs[E];if(typeof A=="string")if(this._refs[A])A=this._refs[A];else return l.call(this,T,x,A);if(A=A||this._schemas[E],A instanceof d)return a(A.schema,this._opts.inlineRefs)?A.schema:A.validate||this._compile(A);var C=f.call(this,x,E),w,k,R;return C&&(w=C.schema,x=C.root,R=C.baseId),w instanceof d?k=w.validate||T.call(this,w.schema,x,void 0,R):w!==void 0&&(k=a(w,this._opts.inlineRefs)?w:T.call(this,w,x,void 0,R)),k}function f(T,x){var E=m.parse(x),A=h(E),C=i(this._getId(T.schema));if(Object.keys(T.schema).length===0||A!==C){var w=v(A),k=this._refs[w];if(typeof k=="string")return o.call(this,T,k,E);if(k instanceof d)k.validate||this._compile(k),T=k;else if(k=this._schemas[w],k instanceof d){if(k.validate||this._compile(k),w==v(x))return{schema:k,root:T,baseId:C};T=k}else return;if(!T.schema)return;C=i(this._getId(T.schema))}return u.call(this,E,C,T.schema,T)}function o(T,x,E){var A=f.call(this,T,x);if(A){var C=A.schema,w=A.baseId;T=A.root;var k=this._getId(C);return k&&(w=S(w,k)),u.call(this,E,w,C,T)}}var r=p.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function u(T,x,E,A){if(T.fragment=T.fragment||"",T.fragment.slice(0,1)=="/"){for(var C=T.fragment.split("/"),w=1;w<C.length;w++){var k=C[w];if(k){if(k=p.unescapeFragment(k),E=E[k],E===void 0)break;var R;if(!r[k]&&(R=this._getId(E),R&&(x=S(x,R)),E.$ref)){var P=S(x,E.$ref),B=f.call(this,A,P);B&&(E=B.schema,A=B.root,x=B.baseId)}}}if(E!==void 0&&E!==A.schema)return{schema:E,root:A,baseId:x}}}var s=p.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function a(T,x){if(x===!1)return!1;if(x===void 0||x===!0)return c(T);if(x)return n(T)<=x}function c(T){var x;if(Array.isArray(T)){for(var E=0;E<T.length;E++)if(x=T[E],typeof x=="object"&&!c(x))return!1}else for(var A in T)if(A=="$ref"||(x=T[A],typeof x=="object"&&!c(x)))return!1;return!0}function n(T){var x=0,E;if(Array.isArray(T)){for(var A=0;A<T.length;A++)if(E=T[A],typeof E=="object"&&(x+=n(E)),x==1/0)return 1/0}else for(var C in T){if(C=="$ref")return 1/0;if(s[C])x++;else if(E=T[C],typeof E=="object"&&(x+=n(E)+1),x==1/0)return 1/0}return x}function i(T,x){x!==!1&&(T=v(T));var E=m.parse(T);return h(E)}function h(T){return m.serialize(T).split("#")[0]+"#"}var g=/#\/?$/;function v(T){return T?T.replace(g,""):""}function S(T,x){return x=v(x),m.resolve(T,x)}function b(T){var x=v(this._getId(T)),E={"":x},A={"":i(x,!1)},C={},w=this;return e(T,{allKeys:!0},function(k,R,P,B,F,O,$){if(R!==""){var N=w._getId(k),_=E[B],X=A[B]+"/"+F;if($!==void 0&&(X+="/"+(typeof $=="number"?$:p.escapeFragment($))),typeof N=="string"){N=_=v(_?m.resolve(_,N):N);var L=w._refs[N];if(typeof L=="string"&&(L=w._refs[L]),L&&L.schema){if(!t(k,L.schema))throw new Error('id "'+N+'" resolves to more than one schema')}else if(N!=v(X))if(N[0]=="#"){if(C[N]&&!t(k,C[N]))throw new Error('id "'+N+'" resolves to more than one schema');C[N]=k}else w._refs[N]=X}E[R]=_,A[R]=X}}),C}return vn}var Sn,ip;function bn(){if(ip)return Sn;ip=1;var m=En();Sn={Validation:d(t),MissingRef:d(p)};function t(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}p.message=function(e,l){return"can't resolve reference "+l+" from id "+e};function p(e,l,f){this.message=f||p.message(e,l),this.missingRef=m.url(e,l),this.missingSchema=m.normalizeId(m.fullPath(this.missingRef))}function d(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}return Sn}var xn,op;function lp(){return op||(op=1,xn=function(m,t){t||(t={}),typeof t=="function"&&(t={cmp:t});var p=typeof t.cycles=="boolean"?t.cycles:!1,d=t.cmp&&function(l){return function(f){return function(o,r){var u={key:o,value:f[o]},s={key:r,value:f[r]};return l(u,s)}}}(t.cmp),e=[];return function l(f){if(f&&f.toJSON&&typeof f.toJSON=="function"&&(f=f.toJSON()),f!==void 0){if(typeof f=="number")return isFinite(f)?""+f:"null";if(typeof f!="object")return JSON.stringify(f);var o,r;if(Array.isArray(f)){for(r="[",o=0;o<f.length;o++)o&&(r+=","),r+=l(f[o])||"null";return r+"]"}if(f===null)return"null";if(e.indexOf(f)!==-1){if(p)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=e.push(f)-1,s=Object.keys(f).sort(d&&d(f));for(r="",o=0;o<s.length;o++){var a=s[o],c=l(f[a]);c&&(r&&(r+=","),r+=JSON.stringify(a)+":"+c)}return e.splice(u,1),"{"+r+"}"}}(m)}),xn}var Cn,up;function cp(){return up||(up=1,Cn=function(t,p,d){var e="",l=t.schema.$async===!0,f=t.util.schemaHasRulesExcept(t.schema,t.RULES.all,"$ref"),o=t.self._getId(t.schema);if(t.opts.strictKeywords){var r=t.util.schemaUnknownRules(t.schema,t.RULES.keywords);if(r){var u="unknown keyword: "+r;if(t.opts.strictKeywords==="log")t.logger.warn(u);else throw new Error(u)}}if(t.isTop&&(e+=" var validate = ",l&&(t.async=!0,e+="async "),e+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",o&&(t.opts.sourceCode||t.opts.processCode)&&(e+=" "+("/*# sourceURL="+o+" */")+" ")),typeof t.schema=="boolean"||!(f||t.schema.$ref)){var p="false schema",s=t.level,a=t.dataLevel,c=t.schema[p],n=t.schemaPath+t.util.getProperty(p),i=t.errSchemaPath+"/"+p,x=!t.opts.allErrors,C,h="data"+(a||""),T="valid"+s;if(t.schema===!1){t.isTop?x=!0:e+=" var "+T+" = false; ";var g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(C||"false schema")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(i)+" , params: {} ",t.opts.messages!==!1&&(e+=" , message: 'boolean schema is false' "),t.opts.verbose&&(e+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),e+=" } "):e+=" {} ";var v=e;e=g.pop(),!t.compositeRule&&x?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else t.isTop?l?e+=" return data; ":e+=" validate.errors = null; return true; ":e+=" var "+T+" = true; ";return t.isTop&&(e+=" }; return validate; "),e}if(t.isTop){var S=t.isTop,s=t.level=0,a=t.dataLevel=0,h="data";if(t.rootId=t.resolve.fullPath(t.self._getId(t.root.schema)),t.baseId=t.baseId||t.rootId,delete t.isTop,t.dataPathArr=[""],t.schema.default!==void 0&&t.opts.useDefaults&&t.opts.strictDefaults){var b="default is ignored in the schema root";if(t.opts.strictDefaults==="log")t.logger.warn(b);else throw new Error(b)}e+=" var vErrors = null; ",e+=" var errors = 0; ",e+=" if (rootData === undefined) rootData = data; "}else{var s=t.level,a=t.dataLevel,h="data"+(a||"");if(o&&(t.baseId=t.resolve.url(t.baseId,o)),l&&!t.async)throw new Error("async schema in sync schema");e+=" var errs_"+s+" = errors;"}var T="valid"+s,x=!t.opts.allErrors,E="",A="",C,w=t.schema.type,k=Array.isArray(w);if(w&&t.opts.nullable&&t.schema.nullable===!0&&(k?w.indexOf("null")==-1&&(w=w.concat("null")):w!="null"&&(w=[w,"null"],k=!0)),k&&w.length==1&&(w=w[0],k=!1),t.schema.$ref&&f){if(t.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+t.errSchemaPath+'" (see option extendRefs)');t.opts.extendRefs!==!0&&(f=!1,t.logger.warn('$ref: keywords ignored in schema at path "'+t.errSchemaPath+'"'))}if(t.schema.$comment&&t.opts.$comment&&(e+=" "+t.RULES.all.$comment.code(t,"$comment")),w){if(t.opts.coerceTypes)var R=t.util.coerceToTypes(t.opts.coerceTypes,w);var P=t.RULES.types[w];if(R||k||P===!0||P&&!z(P)){var n=t.schemaPath+".type",i=t.errSchemaPath+"/type",n=t.schemaPath+".type",i=t.errSchemaPath+"/type",B=k?"checkDataTypes":"checkDataType";if(e+=" if ("+t.util[B](w,h,t.opts.strictNumbers,!0)+") { ",R){var F="dataType"+s,O="coerced"+s;e+=" var "+F+" = typeof "+h+"; var "+O+" = undefined; ",t.opts.coerceTypes=="array"&&(e+=" if ("+F+" == 'object' && Array.isArray("+h+") && "+h+".length == 1) { "+h+" = "+h+"[0]; "+F+" = typeof "+h+"; if ("+t.util.checkDataType(t.schema.type,h,t.opts.strictNumbers)+") "+O+" = "+h+"; } "),e+=" if ("+O+" !== undefined) ; ";var $=R;if($)for(var N,_=-1,X=$.length-1;_<X;)N=$[_+=1],N=="string"?e+=" else if ("+F+" == 'number' || "+F+" == 'boolean') "+O+" = '' + "+h+"; else if ("+h+" === null) "+O+" = ''; ":N=="number"||N=="integer"?(e+=" else if ("+F+" == 'boolean' || "+h+" === null || ("+F+" == 'string' && "+h+" && "+h+" == +"+h+" ",N=="integer"&&(e+=" && !("+h+" % 1)"),e+=")) "+O+" = +"+h+"; "):N=="boolean"?e+=" else if ("+h+" === 'false' || "+h+" === 0 || "+h+" === null) "+O+" = false; else if ("+h+" === 'true' || "+h+" === 1) "+O+" = true; ":N=="null"?e+=" else if ("+h+" === '' || "+h+" === 0 || "+h+" === false) "+O+" = null; ":t.opts.coerceTypes=="array"&&N=="array"&&(e+=" else if ("+F+" == 'string' || "+F+" == 'number' || "+F+" == 'boolean' || "+h+" == null) "+O+" = ["+h+"]; ");e+=" else { ";var g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(C||"type")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(i)+" , params: { type: '",k?e+=""+w.join(","):e+=""+w,e+="' } ",t.opts.messages!==!1&&(e+=" , message: 'should be ",k?e+=""+w.join(","):e+=""+w,e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),e+=" } "):e+=" {} ";var v=e;e=g.pop(),!t.compositeRule&&x?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } if ("+O+" !== undefined) { ";var L=a?"data"+(a-1||""):"parentData",K=a?t.dataPathArr[a]:"parentDataProperty";e+=" "+h+" = "+O+"; ",a||(e+="if ("+L+" !== undefined)"),e+=" "+L+"["+K+"] = "+O+"; } "}else{var g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(C||"type")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(i)+" , params: { type: '",k?e+=""+w.join(","):e+=""+w,e+="' } ",t.opts.messages!==!1&&(e+=" , message: 'should be ",k?e+=""+w.join(","):e+=""+w,e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),e+=" } "):e+=" {} ";var v=e;e=g.pop(),!t.compositeRule&&x?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}e+=" } "}}if(t.schema.$ref&&!f)e+=" "+t.RULES.all.$ref.code(t,"$ref")+" ",x&&(e+=" } if (errors === ",S?e+="0":e+="errs_"+s,e+=") { ",A+="}");else{var J=t.RULES;if(J){for(var P,ge=-1,ae=J.length-1;ge<ae;)if(P=J[ge+=1],z(P)){if(P.type&&(e+=" if ("+t.util.checkDataType(P.type,h,t.opts.strictNumbers)+") { "),t.opts.useDefaults){if(P.type=="object"&&t.schema.properties){var c=t.schema.properties,ke=Object.keys(c),Z=ke;if(Z)for(var I,H=-1,fe=Z.length-1;H<fe;){I=Z[H+=1];var ce=c[I];if(ce.default!==void 0){var ie=h+t.util.getProperty(I);if(t.compositeRule){if(t.opts.strictDefaults){var b="default is ignored for: "+ie;if(t.opts.strictDefaults==="log")t.logger.warn(b);else throw new Error(b)}}else e+=" if ("+ie+" === undefined ",t.opts.useDefaults=="empty"&&(e+=" || "+ie+" === null || "+ie+" === '' "),e+=" ) "+ie+" = ",t.opts.useDefaults=="shared"?e+=" "+t.useDefault(ce.default)+" ":e+=" "+JSON.stringify(ce.default)+" ",e+="; "}}}else if(P.type=="array"&&Array.isArray(t.schema.items)){var he=t.schema.items;if(he){for(var ce,_=-1,Se=he.length-1;_<Se;)if(ce=he[_+=1],ce.default!==void 0){var ie=h+"["+_+"]";if(t.compositeRule){if(t.opts.strictDefaults){var b="default is ignored for: "+ie;if(t.opts.strictDefaults==="log")t.logger.warn(b);else throw new Error(b)}}else e+=" if ("+ie+" === undefined ",t.opts.useDefaults=="empty"&&(e+=" || "+ie+" === null || "+ie+" === '' "),e+=" ) "+ie+" = ",t.opts.useDefaults=="shared"?e+=" "+t.useDefault(ce.default)+" ":e+=" "+JSON.stringify(ce.default)+" ",e+="; "}}}}var xe=P.rules;if(xe){for(var we,ee=-1,ne=xe.length-1;ee<ne;)if(we=xe[ee+=1],oe(we)){var Ae=we.code(t,we.keyword,P.type);Ae&&(e+=" "+Ae+" ",x&&(E+="}"))}}if(x&&(e+=" "+E+" ",E=""),P.type&&(e+=" } ",w&&w===P.type&&!R)){e+=" else { ";var n=t.schemaPath+".type",i=t.errSchemaPath+"/type",g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(C||"type")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(i)+" , params: { type: '",k?e+=""+w.join(","):e+=""+w,e+="' } ",t.opts.messages!==!1&&(e+=" , message: 'should be ",k?e+=""+w.join(","):e+=""+w,e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+n+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+h+" "),e+=" } "):e+=" {} ";var v=e;e=g.pop(),!t.compositeRule&&x?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } "}x&&(e+=" if (errors === ",S?e+="0":e+="errs_"+s,e+=") { ",A+="}")}}}x&&(e+=" "+A+" "),S?(l?(e+=" if (errors === 0) return data; ",e+=" else throw new ValidationError(vErrors); "):(e+=" validate.errors = vErrors; ",e+=" return errors === 0; "),e+=" }; return validate;"):e+=" var "+T+" = errors === errs_"+s+";";function z(Re){for(var Pe=Re.rules,G=0;G<Pe.length;G++)if(oe(Pe[G]))return!0}function oe(Re){return t.schema[Re.keyword]!==void 0||Re.implements&&Te(Re)}function Te(Re){for(var Pe=Re.implements,G=0;G<Pe.length;G++)if(t.schema[Pe[G]]!==void 0)return!0}return e}),Cn}var An,fp;function $b(){if(fp)return An;fp=1;var m=En(),t=Cr(),p=bn(),d=lp(),e=cp(),l=t.ucs2length,f=dn(),o=p.Validation;An=r;function r(v,S,b,T){var x=this,E=this._opts,A=[void 0],C={},w=[],k={},R=[],P={},B=[];S=S||{schema:v,refVal:A,refs:C};var F=u.call(this,v,S,T),O=this._compilations[F.index];if(F.compiling)return O.callValidate=L;var $=this._formats,N=this.RULES;try{var _=K(v,S,b,T);O.validate=_;var X=O.callValidate;return X&&(X.schema=_.schema,X.errors=null,X.refs=_.refs,X.refVal=_.refVal,X.root=_.root,X.$async=_.$async,E.sourceCode&&(X.source=_.source)),_}finally{s.call(this,v,S,T)}function L(){var ce=O.validate,ie=ce.apply(this,arguments);return L.errors=ce.errors,ie}function K(ce,ie,he,Se){var xe=!ie||ie&&ie.schema==ce;if(ie.schema!=S.schema)return r.call(x,ce,ie,he,Se);var we=ce.$async===!0,ee=e({isTop:!0,schema:ce,isRoot:xe,baseId:Se,root:ie,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:p.MissingRef,RULES:N,validate:e,util:t,resolve:m,resolveRef:J,usePattern:I,useDefault:H,useCustomRule:fe,opts:E,formats:$,logger:x.logger,self:x});ee=g(A,i)+g(w,c)+g(R,n)+g(B,h)+ee,E.processCode&&(ee=E.processCode(ee,ce));var ne;try{var Ae=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ee);ne=Ae(x,N,$,S,A,R,B,f,l,o),A[0]=ne}catch(z){throw x.logger.error("Error compiling schema, function code:",ee),z}return ne.schema=ce,ne.errors=null,ne.refs=C,ne.refVal=A,ne.root=xe?ne:ie,we&&(ne.$async=!0),E.sourceCode===!0&&(ne.source={code:ee,patterns:w,defaults:R}),ne}function J(ce,ie,he){ie=m.url(ce,ie);var Se=C[ie],xe,we;if(Se!==void 0)return xe=A[Se],we="refVal["+Se+"]",Z(xe,we);if(!he&&S.refs){var ee=S.refs[ie];if(ee!==void 0)return xe=S.refVal[ee],we=ge(ie,xe),Z(xe,we)}we=ge(ie);var ne=m.call(x,K,S,ie);if(ne===void 0){var Ae=b&&b[ie];Ae&&(ne=m.inlineRef(Ae,E.inlineRefs)?Ae:r.call(x,Ae,S,b,ce))}if(ne===void 0)ae(ie);else return ke(ie,ne),Z(ne,we)}function ge(ce,ie){var he=A.length;return A[he]=ie,C[ce]=he,"refVal"+he}function ae(ce){delete C[ce]}function ke(ce,ie){var he=C[ce];A[he]=ie}function Z(ce,ie){return typeof ce=="object"||typeof ce=="boolean"?{code:ie,schema:ce,inline:!0}:{code:ie,$async:ce&&!!ce.$async}}function I(ce){var ie=k[ce];return ie===void 0&&(ie=k[ce]=w.length,w[ie]=ce),"pattern"+ie}function H(ce){switch(typeof ce){case"boolean":case"number":return""+ce;case"string":return t.toQuotedString(ce);case"object":if(ce===null)return"null";var ie=d(ce),he=P[ie];return he===void 0&&(he=P[ie]=R.length,R[he]=ce),"default"+he}}function fe(ce,ie,he,Se){if(x._opts.validateSchema!==!1){var xe=ce.definition.dependencies;if(xe&&!xe.every(function(Pe){return Object.prototype.hasOwnProperty.call(he,Pe)}))throw new Error("parent schema must have all required keywords: "+xe.join(","));var we=ce.definition.validateSchema;if(we){var ee=we(ie);if(!ee){var ne="keyword schema is invalid: "+x.errorsText(we.errors);if(x._opts.validateSchema=="log")x.logger.error(ne);else throw new Error(ne)}}}var Ae=ce.definition.compile,z=ce.definition.inline,oe=ce.definition.macro,Te;if(Ae)Te=Ae.call(x,ie,he,Se);else if(oe)Te=oe.call(x,ie,he,Se),E.validateSchema!==!1&&x.validateSchema(Te,!0);else if(z)Te=z.call(x,Se,ce.keyword,ie,he);else if(Te=ce.definition.validate,!Te)return;if(Te===void 0)throw new Error('custom keyword "'+ce.keyword+'"failed to compile');var Re=B.length;return B[Re]=Te,{code:"customRule"+Re,validate:Te}}}function u(v,S,b){var T=a.call(this,v,S,b);return T>=0?{index:T,compiling:!0}:(T=this._compilations.length,this._compilations[T]={schema:v,root:S,baseId:b},{index:T,compiling:!1})}function s(v,S,b){var T=a.call(this,v,S,b);T>=0&&this._compilations.splice(T,1)}function a(v,S,b){for(var T=0;T<this._compilations.length;T++){var x=this._compilations[T];if(x.schema==v&&x.root==S&&x.baseId==b)return T}return-1}function c(v,S){return"var pattern"+v+" = new RegExp("+t.toQuotedString(S[v])+");"}function n(v){return"var default"+v+" = defaults["+v+"];"}function i(v,S){return S[v]===void 0?"":"var refVal"+v+" = refVal["+v+"];"}function h(v){return"var customRule"+v+" = customRules["+v+"];"}function g(v,S){if(!v.length)return"";for(var b="",T=0;T<v.length;T++)b+=S(T,v);return b}return An}var wn={exports:{}},pp;function Wb(){if(pp)return wn.exports;pp=1;var m=wn.exports=function(){this._cache={}};return m.prototype.put=function(p,d){this._cache[p]=d},m.prototype.get=function(p){return this._cache[p]},m.prototype.del=function(p){delete this._cache[p]},m.prototype.clear=function(){this._cache={}},wn.exports}var Tn,dp;function Gb(){if(dp)return Tn;dp=1;var m=Cr(),t=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,p=[0,31,28,31,30,31,30,31,31,30,31,30,31],d=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,e=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,l=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,f=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,o=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,r=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,u=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,s=/^(?:\/(?:[^~/]|~0|~1)*)*$/,a=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,c=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;Tn=n;function n(A){return A=A=="full"?"full":"fast",m.copy(n[A])}n.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":o,url:r,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:e,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":s,"json-pointer-uri-fragment":a,"relative-json-pointer":c},n.full={date:h,time:g,"date-time":S,uri:T,"uri-reference":f,"uri-template":o,url:r,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:e,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:u,"json-pointer":s,"json-pointer-uri-fragment":a,"relative-json-pointer":c};function i(A){return A%4===0&&(A%100!==0||A%400===0)}function h(A){var C=A.match(t);if(!C)return!1;var w=+C[1],k=+C[2],R=+C[3];return k>=1&&k<=12&&R>=1&&R<=(k==2&&i(w)?29:p[k])}function g(A,C){var w=A.match(d);if(!w)return!1;var k=w[1],R=w[2],P=w[3],B=w[5];return(k<=23&&R<=59&&P<=59||k==23&&R==59&&P==60)&&(!C||B)}var v=/t|\s/i;function S(A){var C=A.split(v);return C.length==2&&h(C[0])&&g(C[1],!0)}var b=/\/|:/;function T(A){return b.test(A)&&l.test(A)}var x=/[^\\]\\Z/;function E(A){if(x.test(A))return!1;try{return new RegExp(A),!0}catch{return!1}}return Tn}var kn,mp;function zb(){return mp||(mp=1,kn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.errSchemaPath+"/"+p,u=!t.opts.allErrors,s="data"+(f||""),a="valid"+l,c,n;if(o=="#"||o=="#/")t.isRoot?(c=t.async,n="validate"):(c=t.root.schema.$async===!0,n="root.refVal[0]");else{var i=t.resolveRef(t.baseId,o,t.isRoot);if(i===void 0){var h=t.MissingRefError.message(t.baseId,o);if(t.opts.missingRefs=="fail"){t.logger.error(h);var g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(r)+" , params: { ref: '"+t.util.escapeQuotes(o)+"' } ",t.opts.messages!==!1&&(e+=" , message: 'can\\'t resolve reference "+t.util.escapeQuotes(o)+"' "),t.opts.verbose&&(e+=" , schema: "+t.util.toQuotedString(o)+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+s+" "),e+=" } "):e+=" {} ";var v=e;e=g.pop(),!t.compositeRule&&u?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(e+=" if (false) { ")}else if(t.opts.missingRefs=="ignore")t.logger.warn(h),u&&(e+=" if (true) { ");else throw new t.MissingRefError(t.baseId,o,h)}else if(i.inline){var S=t.util.copy(t);S.level++;var b="valid"+S.level;S.schema=i.schema,S.schemaPath="",S.errSchemaPath=o;var T=t.validate(S).replace(/validate\.schema/g,i.code);e+=" "+T+" ",u&&(e+=" if ("+b+") { ")}else c=i.$async===!0||t.async&&i.$async!==!1,n=i.code}if(n){var g=g||[];g.push(e),e="",t.opts.passContext?e+=" "+n+".call(this, ":e+=" "+n+"( ",e+=" "+s+", (dataPath || '')",t.errorPath!='""'&&(e+=" + "+t.errorPath);var x=f?"data"+(f-1||""):"parentData",E=f?t.dataPathArr[f]:"parentDataProperty";e+=" , "+x+" , "+E+", rootData) ";var A=e;if(e=g.pop(),c){if(!t.async)throw new Error("async schema referenced by sync schema");u&&(e+=" var "+a+"; "),e+=" try { await "+A+"; ",u&&(e+=" "+a+" = true; "),e+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(e+=" "+a+" = false; "),e+=" } ",u&&(e+=" if ("+a+") { ")}else e+=" if (!"+A+") { if (vErrors === null) vErrors = "+n+".errors; else vErrors = vErrors.concat("+n+".errors); errors = vErrors.length; } ",u&&(e+=" else { ")}return e}),kn}var Dn,hp;function Hb(){return hp||(hp=1,Dn=function(t,p,d){var e=" ",l=t.schema[p],f=t.schemaPath+t.util.getProperty(p),o=t.errSchemaPath+"/"+p,r=!t.opts.allErrors,u=t.util.copy(t),s="";u.level++;var a="valid"+u.level,c=u.baseId,n=!0,i=l;if(i)for(var h,g=-1,v=i.length-1;g<v;)h=i[g+=1],(t.opts.strictKeywords?typeof h=="object"&&Object.keys(h).length>0||h===!1:t.util.schemaHasRules(h,t.RULES.all))&&(n=!1,u.schema=h,u.schemaPath=f+"["+g+"]",u.errSchemaPath=o+"/"+g,e+=" "+t.validate(u)+" ",u.baseId=c,r&&(e+=" if ("+a+") { ",s+="}"));return r&&(n?e+=" if (true) { ":e+=" "+s.slice(0,-1)+" "),e}),Dn}var In,gp;function Kb(){return gp||(gp=1,In=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n="errs__"+l,i=t.util.copy(t),h="";i.level++;var g="valid"+i.level,v=o.every(function(C){return t.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:t.util.schemaHasRules(C,t.RULES.all)});if(v){var S=i.baseId;e+=" var "+n+" = errors; var "+c+" = false; ";var b=t.compositeRule;t.compositeRule=i.compositeRule=!0;var T=o;if(T)for(var x,E=-1,A=T.length-1;E<A;)x=T[E+=1],i.schema=x,i.schemaPath=r+"["+E+"]",i.errSchemaPath=u+"/"+E,e+=" "+t.validate(i)+" ",i.baseId=S,e+=" "+c+" = "+c+" || "+g+"; if (!"+c+") { ",h+="}";t.compositeRule=i.compositeRule=b,e+=" "+h+" if (!"+c+") { var err = ",t.createErrors!==!1?(e+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: {} ",t.opts.messages!==!1&&(e+=" , message: 'should match some schema in anyOf' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&s&&(t.async?e+=" throw new ValidationError(vErrors); ":e+=" validate.errors = vErrors; return false; "),e+=" } else { errors = "+n+"; if (vErrors !== null) { if ("+n+") vErrors.length = "+n+"; else vErrors = null; } ",t.opts.allErrors&&(e+=" } ")}else s&&(e+=" if (true) { ");return e}),In}var Pn,yp;function Xb(){return yp||(yp=1,Pn=function(t,p,d){var e=" ",l=t.schema[p],f=t.errSchemaPath+"/"+p;t.opts.allErrors;var o=t.util.toQuotedString(l);return t.opts.$comment===!0?e+=" console.log("+o+");":typeof t.opts.$comment=="function"&&(e+=" self._opts.$comment("+o+", "+t.util.toQuotedString(f)+", validate.root.schema);"),e}),Pn}var Fn,vp;function Jb(){return vp||(vp=1,Fn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n=t.opts.$data&&o&&o.$data;n&&(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; "),n||(e+=" var schema"+l+" = validate.schema"+r+";"),e+="var "+c+" = equal("+a+", schema"+l+"); if (!"+c+") { ";var i=i||[];i.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'const' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { allowedValue: schema"+l+" } ",t.opts.messages!==!1&&(e+=" , message: 'should be equal to constant' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var h=e;return e=i.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+h+"]); ":e+=" validate.errors = ["+h+"]; return false; ":e+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" }",s&&(e+=" else { "),e}),Fn}var Rn,Ep;function Qb(){return Ep||(Ep=1,Rn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n="errs__"+l,i=t.util.copy(t),h="";i.level++;var g="valid"+i.level,v="i"+l,S=i.dataLevel=t.dataLevel+1,b="data"+S,T=t.baseId,x=t.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===!1:t.util.schemaHasRules(o,t.RULES.all);if(e+="var "+n+" = errors;var "+c+";",x){var E=t.compositeRule;t.compositeRule=i.compositeRule=!0,i.schema=o,i.schemaPath=r,i.errSchemaPath=u,e+=" var "+g+" = false; for (var "+v+" = 0; "+v+" < "+a+".length; "+v+"++) { ",i.errorPath=t.util.getPathExpr(t.errorPath,v,t.opts.jsonPointers,!0);var A=a+"["+v+"]";i.dataPathArr[S]=v;var C=t.validate(i);i.baseId=T,t.util.varOccurences(C,b)<2?e+=" "+t.util.varReplace(C,b,A)+" ":e+=" var "+b+" = "+A+"; "+C+" ",e+=" if ("+g+") break; } ",t.compositeRule=i.compositeRule=E,e+=" "+h+" if (!"+g+") {"}else e+=" if ("+a+".length == 0) {";var w=w||[];w.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: {} ",t.opts.messages!==!1&&(e+=" , message: 'should contain a valid item' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var k=e;return e=w.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+k+"]); ":e+=" validate.errors = ["+k+"]; return false; ":e+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } else { ",x&&(e+=" errors = "+n+"; if (vErrors !== null) { if ("+n+") vErrors.length = "+n+"; else vErrors = null; } "),t.opts.allErrors&&(e+=" } "),e}),Rn}var _n,Sp;function Yb(){return Sp||(Sp=1,_n=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="errs__"+l,n=t.util.copy(t),i="";n.level++;var h="valid"+n.level,g={},v={},S=t.opts.ownProperties;for(E in o)if(E!="__proto__"){var b=o[E],T=Array.isArray(b)?v:g;T[E]=b}e+="var "+c+" = errors;";var x=t.errorPath;e+="var missing"+l+";";for(var E in v)if(T=v[E],T.length){if(e+=" if ( "+a+t.util.getProperty(E)+" !== undefined ",S&&(e+=" && Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(E)+"') "),s){e+=" && ( ";var A=T;if(A)for(var C,w=-1,k=A.length-1;w<k;){C=A[w+=1],w&&(e+=" || ");var R=t.util.getProperty(C),P=a+R;e+=" ( ( "+P+" === undefined ",S&&(e+=" || ! Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(C)+"') "),e+=") && (missing"+l+" = "+t.util.toQuotedString(t.opts.jsonPointers?C:R)+") ) "}e+=")) { ";var B="missing"+l,F="' + "+B+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.opts.jsonPointers?t.util.getPathExpr(x,B,!0):x+" + "+B);var O=O||[];O.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { property: '"+t.util.escapeQuotes(E)+"', missingProperty: '"+F+"', depsCount: "+T.length+", deps: '"+t.util.escapeQuotes(T.length==1?T[0]:T.join(", "))+"' } ",t.opts.messages!==!1&&(e+=" , message: 'should have ",T.length==1?e+="property "+t.util.escapeQuotes(T[0]):e+="properties "+t.util.escapeQuotes(T.join(", ")),e+=" when property "+t.util.escapeQuotes(E)+" is present' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var $=e;e=O.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+$+"]); ":e+=" validate.errors = ["+$+"]; return false; ":e+=" var err = "+$+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{e+=" ) { ";var N=T;if(N)for(var C,_=-1,X=N.length-1;_<X;){C=N[_+=1];var R=t.util.getProperty(C),F=t.util.escapeQuotes(C),P=a+R;t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPath(x,C,t.opts.jsonPointers)),e+=" if ( "+P+" === undefined ",S&&(e+=" || ! Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(C)+"') "),e+=") { var err = ",t.createErrors!==!1?(e+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { property: '"+t.util.escapeQuotes(E)+"', missingProperty: '"+F+"', depsCount: "+T.length+", deps: '"+t.util.escapeQuotes(T.length==1?T[0]:T.join(", "))+"' } ",t.opts.messages!==!1&&(e+=" , message: 'should have ",T.length==1?e+="property "+t.util.escapeQuotes(T[0]):e+="properties "+t.util.escapeQuotes(T.join(", ")),e+=" when property "+t.util.escapeQuotes(E)+" is present' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e+=" } ",s&&(i+="}",e+=" else { ")}t.errorPath=x;var L=n.baseId;for(var E in g){var b=g[E];(t.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:t.util.schemaHasRules(b,t.RULES.all))&&(e+=" "+h+" = true; if ( "+a+t.util.getProperty(E)+" !== undefined ",S&&(e+=" && Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(E)+"') "),e+=") { ",n.schema=b,n.schemaPath=r+t.util.getProperty(E),n.errSchemaPath=u+"/"+t.util.escapeFragment(E),e+=" "+t.validate(n)+" ",n.baseId=L,e+=" } ",s&&(e+=" if ("+h+") { ",i+="}"))}return s&&(e+=" "+i+" if ("+c+" == errors) {"),e}),_n}var Bn,bp;function Zb(){return bp||(bp=1,Bn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n=t.opts.$data&&o&&o.$data;n&&(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ");var i="i"+l,h="schema"+l;n||(e+=" var "+h+" = validate.schema"+r+";"),e+="var "+c+";",n&&(e+=" if (schema"+l+" === undefined) "+c+" = true; else if (!Array.isArray(schema"+l+")) "+c+" = false; else {"),e+=""+c+" = false;for (var "+i+"=0; "+i+"<"+h+".length; "+i+"++) if (equal("+a+", "+h+"["+i+"])) { "+c+" = true; break; }",n&&(e+=" } "),e+=" if (!"+c+") { ";var g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { allowedValues: schema"+l+" } ",t.opts.messages!==!1&&(e+=" , message: 'should be equal to one of the allowed values' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var v=e;return e=g.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" }",s&&(e+=" else { "),e}),Bn}var Ln,xp;function e0(){return xp||(xp=1,Ln=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||"");if(t.opts.format===!1)return s&&(e+=" if (true) { "),e;var c=t.opts.$data&&o&&o.$data,n;c?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",n="schema"+l):n=o;var i=t.opts.unknownFormats,h=Array.isArray(i);if(c){var g="format"+l,v="isObject"+l,S="formatType"+l;e+=" var "+g+" = formats["+n+"]; var "+v+" = typeof "+g+" == 'object' && !("+g+" instanceof RegExp) && "+g+".validate; var "+S+" = "+v+" && "+g+".type || 'string'; if ("+v+") { ",t.async&&(e+=" var async"+l+" = "+g+".async; "),e+=" "+g+" = "+g+".validate; } if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'string') || "),e+=" (",i!="ignore"&&(e+=" ("+n+" && !"+g+" ",h&&(e+=" && self._opts.unknownFormats.indexOf("+n+") == -1 "),e+=") || "),e+=" ("+g+" && "+S+" == '"+d+"' && !(typeof "+g+" == 'function' ? ",t.async?e+=" (async"+l+" ? await "+g+"("+a+") : "+g+"("+a+")) ":e+=" "+g+"("+a+") ",e+=" : "+g+".test("+a+"))))) {"}else{var g=t.formats[o];if(!g){if(i=="ignore")return t.logger.warn('unknown format "'+o+'" ignored in schema at path "'+t.errSchemaPath+'"'),s&&(e+=" if (true) { "),e;if(h&&i.indexOf(o)>=0)return s&&(e+=" if (true) { "),e;throw new Error('unknown format "'+o+'" is used in schema at path "'+t.errSchemaPath+'"')}var v=typeof g=="object"&&!(g instanceof RegExp)&&g.validate,S=v&&g.type||"string";if(v){var b=g.async===!0;g=g.validate}if(S!=d)return s&&(e+=" if (true) { "),e;if(b){if(!t.async)throw new Error("async format in sync schema");var T="formats"+t.util.getProperty(o)+".validate";e+=" if (!(await "+T+"("+a+"))) { "}else{e+=" if (! ";var T="formats"+t.util.getProperty(o);v&&(T+=".validate"),typeof g=="function"?e+=" "+T+"("+a+") ":e+=" "+T+".test("+a+") ",e+=") { "}}var x=x||[];x.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'format' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { format: ",c?e+=""+n:e+=""+t.util.toQuotedString(o),e+=" } ",t.opts.messages!==!1&&(e+=` , message: 'should match format "`,c?e+="' + "+n+" + '":e+=""+t.util.escapeQuotes(o),e+=`"' `),t.opts.verbose&&(e+=" , schema: ",c?e+="validate.schema"+r:e+=""+t.util.toQuotedString(o),e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var E=e;return e=x.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+E+"]); ":e+=" validate.errors = ["+E+"]; return false; ":e+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } ",s&&(e+=" else { "),e}),Ln}var On,Cp;function t0(){return Cp||(Cp=1,On=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n="errs__"+l,i=t.util.copy(t);i.level++;var h="valid"+i.level,g=t.schema.then,v=t.schema.else,S=g!==void 0&&(t.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===!1:t.util.schemaHasRules(g,t.RULES.all)),b=v!==void 0&&(t.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0||v===!1:t.util.schemaHasRules(v,t.RULES.all)),T=i.baseId;if(S||b){var x;i.createErrors=!1,i.schema=o,i.schemaPath=r,i.errSchemaPath=u,e+=" var "+n+" = errors; var "+c+" = true; ";var E=t.compositeRule;t.compositeRule=i.compositeRule=!0,e+=" "+t.validate(i)+" ",i.baseId=T,i.createErrors=!0,e+=" errors = "+n+"; if (vErrors !== null) { if ("+n+") vErrors.length = "+n+"; else vErrors = null; } ",t.compositeRule=i.compositeRule=E,S?(e+=" if ("+h+") { ",i.schema=t.schema.then,i.schemaPath=t.schemaPath+".then",i.errSchemaPath=t.errSchemaPath+"/then",e+=" "+t.validate(i)+" ",i.baseId=T,e+=" "+c+" = "+h+"; ",S&&b?(x="ifClause"+l,e+=" var "+x+" = 'then'; "):x="'then'",e+=" } ",b&&(e+=" else { ")):e+=" if (!"+h+") { ",b&&(i.schema=t.schema.else,i.schemaPath=t.schemaPath+".else",i.errSchemaPath=t.errSchemaPath+"/else",e+=" "+t.validate(i)+" ",i.baseId=T,e+=" "+c+" = "+h+"; ",S&&b?(x="ifClause"+l,e+=" var "+x+" = 'else'; "):x="'else'",e+=" } "),e+=" if (!"+c+") { var err = ",t.createErrors!==!1?(e+=" { keyword: 'if' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { failingKeyword: "+x+" } ",t.opts.messages!==!1&&(e+=` , message: 'should match "' + `+x+` + '" schema' `),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&s&&(t.async?e+=" throw new ValidationError(vErrors); ":e+=" validate.errors = vErrors; return false; "),e+=" } ",s&&(e+=" else { ")}else s&&(e+=" if (true) { ");return e}),On}var Nn,Ap;function r0(){return Ap||(Ap=1,Nn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n="errs__"+l,i=t.util.copy(t),h="";i.level++;var g="valid"+i.level,v="i"+l,S=i.dataLevel=t.dataLevel+1,b="data"+S,T=t.baseId;if(e+="var "+n+" = errors;var "+c+";",Array.isArray(o)){var x=t.schema.additionalItems;if(x===!1){e+=" "+c+" = "+a+".length <= "+o.length+"; ";var E=u;u=t.errSchemaPath+"/additionalItems",e+=" if (!"+c+") { ";var A=A||[];A.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { limit: "+o.length+" } ",t.opts.messages!==!1&&(e+=" , message: 'should NOT have more than "+o.length+" items' "),t.opts.verbose&&(e+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var C=e;e=A.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+C+"]); ":e+=" validate.errors = ["+C+"]; return false; ":e+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } ",u=E,s&&(h+="}",e+=" else { ")}var w=o;if(w){for(var k,R=-1,P=w.length-1;R<P;)if(k=w[R+=1],t.opts.strictKeywords?typeof k=="object"&&Object.keys(k).length>0||k===!1:t.util.schemaHasRules(k,t.RULES.all)){e+=" "+g+" = true; if ("+a+".length > "+R+") { ";var B=a+"["+R+"]";i.schema=k,i.schemaPath=r+"["+R+"]",i.errSchemaPath=u+"/"+R,i.errorPath=t.util.getPathExpr(t.errorPath,R,t.opts.jsonPointers,!0),i.dataPathArr[S]=R;var F=t.validate(i);i.baseId=T,t.util.varOccurences(F,b)<2?e+=" "+t.util.varReplace(F,b,B)+" ":e+=" var "+b+" = "+B+"; "+F+" ",e+=" } ",s&&(e+=" if ("+g+") { ",h+="}")}}if(typeof x=="object"&&(t.opts.strictKeywords?typeof x=="object"&&Object.keys(x).length>0||x===!1:t.util.schemaHasRules(x,t.RULES.all))){i.schema=x,i.schemaPath=t.schemaPath+".additionalItems",i.errSchemaPath=t.errSchemaPath+"/additionalItems",e+=" "+g+" = true; if ("+a+".length > "+o.length+") { for (var "+v+" = "+o.length+"; "+v+" < "+a+".length; "+v+"++) { ",i.errorPath=t.util.getPathExpr(t.errorPath,v,t.opts.jsonPointers,!0);var B=a+"["+v+"]";i.dataPathArr[S]=v;var F=t.validate(i);i.baseId=T,t.util.varOccurences(F,b)<2?e+=" "+t.util.varReplace(F,b,B)+" ":e+=" var "+b+" = "+B+"; "+F+" ",s&&(e+=" if (!"+g+") break; "),e+=" } } ",s&&(e+=" if ("+g+") { ",h+="}")}}else if(t.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===!1:t.util.schemaHasRules(o,t.RULES.all)){i.schema=o,i.schemaPath=r,i.errSchemaPath=u,e+=" for (var "+v+" = 0; "+v+" < "+a+".length; "+v+"++) { ",i.errorPath=t.util.getPathExpr(t.errorPath,v,t.opts.jsonPointers,!0);var B=a+"["+v+"]";i.dataPathArr[S]=v;var F=t.validate(i);i.baseId=T,t.util.varOccurences(F,b)<2?e+=" "+t.util.varReplace(F,b,B)+" ":e+=" var "+b+" = "+B+"; "+F+" ",s&&(e+=" if (!"+g+") break; "),e+=" }"}return s&&(e+=" "+h+" if ("+n+" == errors) {"),e}),Nn}var Mn,wp;function Tp(){return wp||(wp=1,Mn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,T,a="data"+(f||""),c=t.opts.$data&&o&&o.$data,n;c?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",n="schema"+l):n=o;var i=p=="maximum",h=i?"exclusiveMaximum":"exclusiveMinimum",g=t.schema[h],v=t.opts.$data&&g&&g.$data,S=i?"<":">",b=i?">":"<",T=void 0;if(!(c||typeof o=="number"||o===void 0))throw new Error(p+" must be number");if(!(v||g===void 0||typeof g=="number"||typeof g=="boolean"))throw new Error(h+" must be number or boolean");if(v){var x=t.util.getData(g.$data,f,t.dataPathArr),E="exclusive"+l,A="exclType"+l,C="exclIsNumber"+l,w="op"+l,k="' + "+w+" + '";e+=" var schemaExcl"+l+" = "+x+"; ",x="schemaExcl"+l,e+=" var "+E+"; var "+A+" = typeof "+x+"; if ("+A+" != 'boolean' && "+A+" != 'undefined' && "+A+" != 'number') { ";var T=h,R=R||[];R.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(T||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: {} ",t.opts.messages!==!1&&(e+=" , message: '"+h+" should be boolean' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var P=e;e=R.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+P+"]); ":e+=" validate.errors = ["+P+"]; return false; ":e+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } else if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),e+=" "+A+" == 'number' ? ( ("+E+" = "+n+" === undefined || "+x+" "+S+"= "+n+") ? "+a+" "+b+"= "+x+" : "+a+" "+b+" "+n+" ) : ( ("+E+" = "+x+" === true) ? "+a+" "+b+"= "+n+" : "+a+" "+b+" "+n+" ) || "+a+" !== "+a+") { var op"+l+" = "+E+" ? '"+S+"' : '"+S+"='; ",o===void 0&&(T=h,u=t.errSchemaPath+"/"+h,n=x,c=v)}else{var C=typeof g=="number",k=S;if(C&&c){var w="'"+k+"'";e+=" if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),e+=" ( "+n+" === undefined || "+g+" "+S+"= "+n+" ? "+a+" "+b+"= "+g+" : "+a+" "+b+" "+n+" ) || "+a+" !== "+a+") { "}else{C&&o===void 0?(E=!0,T=h,u=t.errSchemaPath+"/"+h,n=g,b+="="):(C&&(n=Math[i?"min":"max"](g,o)),g===(C?n:!0)?(E=!0,T=h,u=t.errSchemaPath+"/"+h,b+="="):(E=!1,k+="="));var w="'"+k+"'";e+=" if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),e+=" "+a+" "+b+" "+n+" || "+a+" !== "+a+") { "}}T=T||p;var R=R||[];R.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(T||"_limit")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { comparison: "+w+", limit: "+n+", exclusive: "+E+" } ",t.opts.messages!==!1&&(e+=" , message: 'should be "+k+" ",c?e+="' + "+n:e+=""+n+"'"),t.opts.verbose&&(e+=" , schema: ",c?e+="validate.schema"+r:e+=""+o,e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var P=e;return e=R.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+P+"]); ":e+=" validate.errors = ["+P+"]; return false; ":e+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } ",s&&(e+=" else { "),e}),Mn}var jn,kp;function Dp(){return kp||(kp=1,jn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,h,a="data"+(f||""),c=t.opts.$data&&o&&o.$data,n;if(c?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",n="schema"+l):n=o,!(c||typeof o=="number"))throw new Error(p+" must be number");var i=p=="maxItems"?">":"<";e+="if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),e+=" "+a+".length "+i+" "+n+") { ";var h=p,g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(h||"_limitItems")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { limit: "+n+" } ",t.opts.messages!==!1&&(e+=" , message: 'should NOT have ",p=="maxItems"?e+="more":e+="fewer",e+=" than ",c?e+="' + "+n+" + '":e+=""+o,e+=" items' "),t.opts.verbose&&(e+=" , schema: ",c?e+="validate.schema"+r:e+=""+o,e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var v=e;return e=g.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+="} ",s&&(e+=" else { "),e}),jn}var Un,Ip;function Pp(){return Ip||(Ip=1,Un=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,h,a="data"+(f||""),c=t.opts.$data&&o&&o.$data,n;if(c?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",n="schema"+l):n=o,!(c||typeof o=="number"))throw new Error(p+" must be number");var i=p=="maxLength"?">":"<";e+="if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),t.opts.unicode===!1?e+=" "+a+".length ":e+=" ucs2length("+a+") ",e+=" "+i+" "+n+") { ";var h=p,g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(h||"_limitLength")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { limit: "+n+" } ",t.opts.messages!==!1&&(e+=" , message: 'should NOT be ",p=="maxLength"?e+="longer":e+="shorter",e+=" than ",c?e+="' + "+n+" + '":e+=""+o,e+=" characters' "),t.opts.verbose&&(e+=" , schema: ",c?e+="validate.schema"+r:e+=""+o,e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var v=e;return e=g.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+="} ",s&&(e+=" else { "),e}),Un}var qn,Fp;function Rp(){return Fp||(Fp=1,qn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,h,a="data"+(f||""),c=t.opts.$data&&o&&o.$data,n;if(c?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",n="schema"+l):n=o,!(c||typeof o=="number"))throw new Error(p+" must be number");var i=p=="maxProperties"?">":"<";e+="if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'number') || "),e+=" Object.keys("+a+").length "+i+" "+n+") { ";var h=p,g=g||[];g.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(h||"_limitProperties")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { limit: "+n+" } ",t.opts.messages!==!1&&(e+=" , message: 'should NOT have ",p=="maxProperties"?e+="more":e+="fewer",e+=" than ",c?e+="' + "+n+" + '":e+=""+o,e+=" properties' "),t.opts.verbose&&(e+=" , schema: ",c?e+="validate.schema"+r:e+=""+o,e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var v=e;return e=g.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+v+"]); ":e+=" validate.errors = ["+v+"]; return false; ":e+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+="} ",s&&(e+=" else { "),e}),qn}var Vn,_p;function n0(){return _p||(_p=1,Vn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c=t.opts.$data&&o&&o.$data,n;if(c?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",n="schema"+l):n=o,!(c||typeof o=="number"))throw new Error(p+" must be number");e+="var division"+l+";if (",c&&(e+=" "+n+" !== undefined && ( typeof "+n+" != 'number' || "),e+=" (division"+l+" = "+a+" / "+n+", ",t.opts.multipleOfPrecision?e+=" Math.abs(Math.round(division"+l+") - division"+l+") > 1e-"+t.opts.multipleOfPrecision+" ":e+=" division"+l+" !== parseInt(division"+l+") ",e+=" ) ",c&&(e+=" ) "),e+=" ) { ";var i=i||[];i.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { multipleOf: "+n+" } ",t.opts.messages!==!1&&(e+=" , message: 'should be multiple of ",c?e+="' + "+n:e+=""+n+"'"),t.opts.verbose&&(e+=" , schema: ",c?e+="validate.schema"+r:e+=""+o,e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var h=e;return e=i.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+h+"]); ":e+=" validate.errors = ["+h+"]; return false; ":e+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+="} ",s&&(e+=" else { "),e}),Vn}var $n,Bp;function s0(){return Bp||(Bp=1,$n=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="errs__"+l,n=t.util.copy(t);n.level++;var i="valid"+n.level;if(t.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===!1:t.util.schemaHasRules(o,t.RULES.all)){n.schema=o,n.schemaPath=r,n.errSchemaPath=u,e+=" var "+c+" = errors; ";var h=t.compositeRule;t.compositeRule=n.compositeRule=!0,n.createErrors=!1;var g;n.opts.allErrors&&(g=n.opts.allErrors,n.opts.allErrors=!1),e+=" "+t.validate(n)+" ",n.createErrors=!0,g&&(n.opts.allErrors=g),t.compositeRule=n.compositeRule=h,e+=" if ("+i+") { ";var v=v||[];v.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'not' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: {} ",t.opts.messages!==!1&&(e+=" , message: 'should NOT be valid' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var S=e;e=v.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+S+"]); ":e+=" validate.errors = ["+S+"]; return false; ":e+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } else { errors = "+c+"; if (vErrors !== null) { if ("+c+") vErrors.length = "+c+"; else vErrors = null; } ",t.opts.allErrors&&(e+=" } ")}else e+=" var err = ",t.createErrors!==!1?(e+=" { keyword: 'not' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: {} ",t.opts.messages!==!1&&(e+=" , message: 'should NOT be valid' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s&&(e+=" if (false) { ");return e}),$n}var Wn,Lp;function a0(){return Lp||(Lp=1,Wn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n="errs__"+l,i=t.util.copy(t),h="";i.level++;var g="valid"+i.level,v=i.baseId,S="prevValid"+l,b="passingSchemas"+l;e+="var "+n+" = errors , "+S+" = false , "+c+" = false , "+b+" = null; ";var T=t.compositeRule;t.compositeRule=i.compositeRule=!0;var x=o;if(x)for(var E,A=-1,C=x.length-1;A<C;)E=x[A+=1],(t.opts.strictKeywords?typeof E=="object"&&Object.keys(E).length>0||E===!1:t.util.schemaHasRules(E,t.RULES.all))?(i.schema=E,i.schemaPath=r+"["+A+"]",i.errSchemaPath=u+"/"+A,e+=" "+t.validate(i)+" ",i.baseId=v):e+=" var "+g+" = true; ",A&&(e+=" if ("+g+" && "+S+") { "+c+" = false; "+b+" = ["+b+", "+A+"]; } else { ",h+="}"),e+=" if ("+g+") { "+c+" = "+S+" = true; "+b+" = "+A+"; }";return t.compositeRule=i.compositeRule=T,e+=""+h+"if (!"+c+") { var err = ",t.createErrors!==!1?(e+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { passingSchemas: "+b+" } ",t.opts.messages!==!1&&(e+=" , message: 'should match exactly one schema in oneOf' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&s&&(t.async?e+=" throw new ValidationError(vErrors); ":e+=" validate.errors = vErrors; return false; "),e+="} else { errors = "+n+"; if (vErrors !== null) { if ("+n+") vErrors.length = "+n+"; else vErrors = null; }",t.opts.allErrors&&(e+=" } "),e}),Wn}var Gn,Op;function i0(){return Op||(Op=1,Gn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c=t.opts.$data&&o&&o.$data,n;c?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",n="schema"+l):n=o;var i=c?"(new RegExp("+n+"))":t.usePattern(o);e+="if ( ",c&&(e+=" ("+n+" !== undefined && typeof "+n+" != 'string') || "),e+=" !"+i+".test("+a+") ) { ";var h=h||[];h.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { pattern: ",c?e+=""+n:e+=""+t.util.toQuotedString(o),e+=" } ",t.opts.messages!==!1&&(e+=` , message: 'should match pattern "`,c?e+="' + "+n+" + '":e+=""+t.util.escapeQuotes(o),e+=`"' `),t.opts.verbose&&(e+=" , schema: ",c?e+="validate.schema"+r:e+=""+t.util.toQuotedString(o),e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var g=e;return e=h.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+g+"]); ":e+=" validate.errors = ["+g+"]; return false; ":e+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+="} ",s&&(e+=" else { "),e}),Gn}var zn,Np;function o0(){return Np||(Np=1,zn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="errs__"+l,n=t.util.copy(t),i="";n.level++;var h="valid"+n.level,g="key"+l,v="idx"+l,S=n.dataLevel=t.dataLevel+1,b="data"+S,T="dataProperties"+l,x=Object.keys(o||{}).filter(_),E=t.schema.patternProperties||{},A=Object.keys(E).filter(_),C=t.schema.additionalProperties,w=x.length||A.length,k=C===!1,R=typeof C=="object"&&Object.keys(C).length,P=t.opts.removeAdditional,B=k||R||P,F=t.opts.ownProperties,O=t.baseId,$=t.schema.required;if($&&!(t.opts.$data&&$.$data)&&$.length<t.opts.loopRequired)var N=t.util.toHash($);function _(et){return et!=="__proto__"}if(e+="var "+c+" = errors;var "+h+" = true;",F&&(e+=" var "+T+" = undefined;"),B){if(F?e+=" "+T+" = "+T+" || Object.keys("+a+"); for (var "+v+"=0; "+v+"<"+T+".length; "+v+"++) { var "+g+" = "+T+"["+v+"]; ":e+=" for (var "+g+" in "+a+") { ",w){if(e+=" var isAdditional"+l+" = !(false ",x.length)if(x.length>8)e+=" || validate.schema"+r+".hasOwnProperty("+g+") ";else{var X=x;if(X)for(var L,K=-1,J=X.length-1;K<J;)L=X[K+=1],e+=" || "+g+" == "+t.util.toQuotedString(L)+" "}if(A.length){var ge=A;if(ge)for(var ae,ke=-1,Z=ge.length-1;ke<Z;)ae=ge[ke+=1],e+=" || "+t.usePattern(ae)+".test("+g+") "}e+=" ); if (isAdditional"+l+") { "}if(P=="all")e+=" delete "+a+"["+g+"]; ";else{var I=t.errorPath,H="' + "+g+" + '";if(t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(t.errorPath,g,t.opts.jsonPointers)),k)if(P)e+=" delete "+a+"["+g+"]; ";else{e+=" "+h+" = false; ";var fe=u;u=t.errSchemaPath+"/additionalProperties";var ce=ce||[];ce.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { additionalProperty: '"+H+"' } ",t.opts.messages!==!1&&(e+=" , message: '",t.opts._errorDataPathProperty?e+="is an invalid additional property":e+="should NOT have additional properties",e+="' "),t.opts.verbose&&(e+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var ie=e;e=ce.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+ie+"]); ":e+=" validate.errors = ["+ie+"]; return false; ":e+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=fe,s&&(e+=" break; ")}else if(R)if(P=="failing"){e+=" var "+c+" = errors; ";var he=t.compositeRule;t.compositeRule=n.compositeRule=!0,n.schema=C,n.schemaPath=t.schemaPath+".additionalProperties",n.errSchemaPath=t.errSchemaPath+"/additionalProperties",n.errorPath=t.opts._errorDataPathProperty?t.errorPath:t.util.getPathExpr(t.errorPath,g,t.opts.jsonPointers);var Se=a+"["+g+"]";n.dataPathArr[S]=g;var xe=t.validate(n);n.baseId=O,t.util.varOccurences(xe,b)<2?e+=" "+t.util.varReplace(xe,b,Se)+" ":e+=" var "+b+" = "+Se+"; "+xe+" ",e+=" if (!"+h+") { errors = "+c+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+a+"["+g+"]; } ",t.compositeRule=n.compositeRule=he}else{n.schema=C,n.schemaPath=t.schemaPath+".additionalProperties",n.errSchemaPath=t.errSchemaPath+"/additionalProperties",n.errorPath=t.opts._errorDataPathProperty?t.errorPath:t.util.getPathExpr(t.errorPath,g,t.opts.jsonPointers);var Se=a+"["+g+"]";n.dataPathArr[S]=g;var xe=t.validate(n);n.baseId=O,t.util.varOccurences(xe,b)<2?e+=" "+t.util.varReplace(xe,b,Se)+" ":e+=" var "+b+" = "+Se+"; "+xe+" ",s&&(e+=" if (!"+h+") break; ")}t.errorPath=I}w&&(e+=" } "),e+=" } ",s&&(e+=" if ("+h+") { ",i+="}")}var we=t.opts.useDefaults&&!t.compositeRule;if(x.length){var ee=x;if(ee)for(var L,ne=-1,Ae=ee.length-1;ne<Ae;){L=ee[ne+=1];var z=o[L];if(t.opts.strictKeywords?typeof z=="object"&&Object.keys(z).length>0||z===!1:t.util.schemaHasRules(z,t.RULES.all)){var oe=t.util.getProperty(L),Se=a+oe,Te=we&&z.default!==void 0;n.schema=z,n.schemaPath=r+oe,n.errSchemaPath=u+"/"+t.util.escapeFragment(L),n.errorPath=t.util.getPath(t.errorPath,L,t.opts.jsonPointers),n.dataPathArr[S]=t.util.toQuotedString(L);var xe=t.validate(n);if(n.baseId=O,t.util.varOccurences(xe,b)<2){xe=t.util.varReplace(xe,b,Se);var Re=Se}else{var Re=b;e+=" var "+b+" = "+Se+"; "}if(Te)e+=" "+xe+" ";else{if(N&&N[L]){e+=" if ( "+Re+" === undefined ",F&&(e+=" || ! Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(L)+"') "),e+=") { "+h+" = false; ";var I=t.errorPath,fe=u,Pe=t.util.escapeQuotes(L);t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPath(I,L,t.opts.jsonPointers)),u=t.errSchemaPath+"/required";var ce=ce||[];ce.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { missingProperty: '"+Pe+"' } ",t.opts.messages!==!1&&(e+=" , message: '",t.opts._errorDataPathProperty?e+="is a required property":e+="should have required property \\'"+Pe+"\\'",e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var ie=e;e=ce.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+ie+"]); ":e+=" validate.errors = ["+ie+"]; return false; ":e+=" var err = "+ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=fe,t.errorPath=I,e+=" } else { "}else s?(e+=" if ( "+Re+" === undefined ",F&&(e+=" || ! Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(L)+"') "),e+=") { "+h+" = true; } else { "):(e+=" if ("+Re+" !== undefined ",F&&(e+=" && Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(L)+"') "),e+=" ) { ");e+=" "+xe+" } "}}s&&(e+=" if ("+h+") { ",i+="}")}}if(A.length){var G=A;if(G)for(var ae,Je=-1,lt=G.length-1;Je<lt;){ae=G[Je+=1];var z=E[ae];if(t.opts.strictKeywords?typeof z=="object"&&Object.keys(z).length>0||z===!1:t.util.schemaHasRules(z,t.RULES.all)){n.schema=z,n.schemaPath=t.schemaPath+".patternProperties"+t.util.getProperty(ae),n.errSchemaPath=t.errSchemaPath+"/patternProperties/"+t.util.escapeFragment(ae),F?e+=" "+T+" = "+T+" || Object.keys("+a+"); for (var "+v+"=0; "+v+"<"+T+".length; "+v+"++) { var "+g+" = "+T+"["+v+"]; ":e+=" for (var "+g+" in "+a+") { ",e+=" if ("+t.usePattern(ae)+".test("+g+")) { ",n.errorPath=t.util.getPathExpr(t.errorPath,g,t.opts.jsonPointers);var Se=a+"["+g+"]";n.dataPathArr[S]=g;var xe=t.validate(n);n.baseId=O,t.util.varOccurences(xe,b)<2?e+=" "+t.util.varReplace(xe,b,Se)+" ":e+=" var "+b+" = "+Se+"; "+xe+" ",s&&(e+=" if (!"+h+") break; "),e+=" } ",s&&(e+=" else "+h+" = true; "),e+=" } ",s&&(e+=" if ("+h+") { ",i+="}")}}}return s&&(e+=" "+i+" if ("+c+" == errors) {"),e}),zn}var Hn,Mp;function l0(){return Mp||(Mp=1,Hn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="errs__"+l,n=t.util.copy(t),i="";n.level++;var h="valid"+n.level;if(e+="var "+c+" = errors;",t.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0||o===!1:t.util.schemaHasRules(o,t.RULES.all)){n.schema=o,n.schemaPath=r,n.errSchemaPath=u;var g="key"+l,v="idx"+l,S="i"+l,b="' + "+g+" + '",T=n.dataLevel=t.dataLevel+1,x="data"+T,E="dataProperties"+l,A=t.opts.ownProperties,C=t.baseId;A&&(e+=" var "+E+" = undefined; "),A?e+=" "+E+" = "+E+" || Object.keys("+a+"); for (var "+v+"=0; "+v+"<"+E+".length; "+v+"++) { var "+g+" = "+E+"["+v+"]; ":e+=" for (var "+g+" in "+a+") { ",e+=" var startErrs"+l+" = errors; ";var w=g,k=t.compositeRule;t.compositeRule=n.compositeRule=!0;var R=t.validate(n);n.baseId=C,t.util.varOccurences(R,x)<2?e+=" "+t.util.varReplace(R,x,w)+" ":e+=" var "+x+" = "+w+"; "+R+" ",t.compositeRule=n.compositeRule=k,e+=" if (!"+h+") { for (var "+S+"=startErrs"+l+"; "+S+"<errors; "+S+"++) { vErrors["+S+"].propertyName = "+g+"; } var err = ",t.createErrors!==!1?(e+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { propertyName: '"+b+"' } ",t.opts.messages!==!1&&(e+=" , message: 'property name \\'"+b+"\\' is invalid' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&s&&(t.async?e+=" throw new ValidationError(vErrors); ":e+=" validate.errors = vErrors; return false; "),s&&(e+=" break; "),e+=" } }"}return s&&(e+=" "+i+" if ("+c+" == errors) {"),e}),Hn}var Kn,jp;function u0(){return jp||(jp=1,Kn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n=t.opts.$data&&o&&o.$data;n&&(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ");var i="schema"+l;if(!n)if(o.length<t.opts.loopRequired&&t.schema.properties&&Object.keys(t.schema.properties).length){var h=[],g=o;if(g)for(var v,S=-1,b=g.length-1;S<b;){v=g[S+=1];var T=t.schema.properties[v];T&&(t.opts.strictKeywords?typeof T=="object"&&Object.keys(T).length>0||T===!1:t.util.schemaHasRules(T,t.RULES.all))||(h[h.length]=v)}}else var h=o;if(n||h.length){var x=t.errorPath,E=n||h.length>=t.opts.loopRequired,A=t.opts.ownProperties;if(s)if(e+=" var missing"+l+"; ",E){n||(e+=" var "+i+" = validate.schema"+r+"; ");var C="i"+l,w="schema"+l+"["+C+"]",k="' + "+w+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(x,w,t.opts.jsonPointers)),e+=" var "+c+" = true; ",n&&(e+=" if (schema"+l+" === undefined) "+c+" = true; else if (!Array.isArray(schema"+l+")) "+c+" = false; else {"),e+=" for (var "+C+" = 0; "+C+" < "+i+".length; "+C+"++) { "+c+" = "+a+"["+i+"["+C+"]] !== undefined ",A&&(e+=" && Object.prototype.hasOwnProperty.call("+a+", "+i+"["+C+"]) "),e+="; if (!"+c+") break; } ",n&&(e+=" } "),e+=" if (!"+c+") { ";var R=R||[];R.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { missingProperty: '"+k+"' } ",t.opts.messages!==!1&&(e+=" , message: '",t.opts._errorDataPathProperty?e+="is a required property":e+="should have required property \\'"+k+"\\'",e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var P=e;e=R.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+P+"]); ":e+=" validate.errors = ["+P+"]; return false; ":e+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } else { "}else{e+=" if ( ";var B=h;if(B)for(var F,C=-1,O=B.length-1;C<O;){F=B[C+=1],C&&(e+=" || ");var $=t.util.getProperty(F),N=a+$;e+=" ( ( "+N+" === undefined ",A&&(e+=" || ! Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(F)+"') "),e+=") && (missing"+l+" = "+t.util.toQuotedString(t.opts.jsonPointers?F:$)+") ) "}e+=") { ";var w="missing"+l,k="' + "+w+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.opts.jsonPointers?t.util.getPathExpr(x,w,!0):x+" + "+w);var R=R||[];R.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { missingProperty: '"+k+"' } ",t.opts.messages!==!1&&(e+=" , message: '",t.opts._errorDataPathProperty?e+="is a required property":e+="should have required property \\'"+k+"\\'",e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var P=e;e=R.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+P+"]); ":e+=" validate.errors = ["+P+"]; return false; ":e+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } else { "}else if(E){n||(e+=" var "+i+" = validate.schema"+r+"; ");var C="i"+l,w="schema"+l+"["+C+"]",k="' + "+w+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(x,w,t.opts.jsonPointers)),n&&(e+=" if ("+i+" && !Array.isArray("+i+")) { var err = ",t.createErrors!==!1?(e+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { missingProperty: '"+k+"' } ",t.opts.messages!==!1&&(e+=" , message: '",t.opts._errorDataPathProperty?e+="is a required property":e+="should have required property \\'"+k+"\\'",e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+i+" !== undefined) { "),e+=" for (var "+C+" = 0; "+C+" < "+i+".length; "+C+"++) { if ("+a+"["+i+"["+C+"]] === undefined ",A&&(e+=" || ! Object.prototype.hasOwnProperty.call("+a+", "+i+"["+C+"]) "),e+=") { var err = ",t.createErrors!==!1?(e+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { missingProperty: '"+k+"' } ",t.opts.messages!==!1&&(e+=" , message: '",t.opts._errorDataPathProperty?e+="is a required property":e+="should have required property \\'"+k+"\\'",e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",n&&(e+=" } ")}else{var _=h;if(_)for(var F,X=-1,L=_.length-1;X<L;){F=_[X+=1];var $=t.util.getProperty(F),k=t.util.escapeQuotes(F),N=a+$;t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPath(x,F,t.opts.jsonPointers)),e+=" if ( "+N+" === undefined ",A&&(e+=" || ! Object.prototype.hasOwnProperty.call("+a+", '"+t.util.escapeQuotes(F)+"') "),e+=") { var err = ",t.createErrors!==!1?(e+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { missingProperty: '"+k+"' } ",t.opts.messages!==!1&&(e+=" , message: '",t.opts._errorDataPathProperty?e+="is a required property":e+="should have required property \\'"+k+"\\'",e+="' "),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t.errorPath=x}else s&&(e+=" if (true) {");return e}),Kn}var Xn,Up;function c0(){return Up||(Up=1,Xn=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a="data"+(f||""),c="valid"+l,n=t.opts.$data&&o&&o.$data,i;if(n?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",i="schema"+l):i=o,(o||n)&&t.opts.uniqueItems!==!1){n&&(e+=" var "+c+"; if ("+i+" === false || "+i+" === undefined) "+c+" = true; else if (typeof "+i+" != 'boolean') "+c+" = false; else { "),e+=" var i = "+a+".length , "+c+" = true , j; if (i > 1) { ";var h=t.schema.items&&t.schema.items.type,g=Array.isArray(h);if(!h||h=="object"||h=="array"||g&&(h.indexOf("object")>=0||h.indexOf("array")>=0))e+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+a+"[i], "+a+"[j])) { "+c+" = false; break outer; } } } ";else{e+=" var itemIndices = {}, item; for (;i--;) { var item = "+a+"[i]; ";var v="checkDataType"+(g?"s":"");e+=" if ("+t.util[v](h,"item",t.opts.strictNumbers,!0)+") continue; ",g&&(e+=` if (typeof item == 'string') item = '"' + item; `),e+=" if (typeof itemIndices[item] == 'number') { "+c+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}e+=" } ",n&&(e+=" } "),e+=" if (!"+c+") { ";var S=S||[];S.push(e),e="",t.createErrors!==!1?(e+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { i: i, j: j } ",t.opts.messages!==!1&&(e+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),t.opts.verbose&&(e+=" , schema: ",n?e+="validate.schema"+r:e+=""+o,e+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+a+" "),e+=" } "):e+=" {} ";var b=e;e=S.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+b+"]); ":e+=" validate.errors = ["+b+"]; return false; ":e+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } ",s&&(e+=" else { ")}else s&&(e+=" if (true) { ");return e}),Xn}var Jn,qp;function f0(){return qp||(qp=1,Jn={$ref:zb(),allOf:Hb(),anyOf:Kb(),$comment:Xb(),const:Jb(),contains:Qb(),dependencies:Yb(),enum:Zb(),format:e0(),if:t0(),items:r0(),maximum:Tp(),minimum:Tp(),maxItems:Dp(),minItems:Dp(),maxLength:Pp(),minLength:Pp(),maxProperties:Rp(),minProperties:Rp(),multipleOf:n0(),not:s0(),oneOf:a0(),pattern:i0(),properties:o0(),propertyNames:l0(),required:u0(),uniqueItems:c0(),validate:cp()}),Jn}var Qn,Vp;function p0(){if(Vp)return Qn;Vp=1;var m=f0(),t=Cr().toHash;return Qn=function(){var d=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],e=["type","$comment"],l=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],f=["number","integer","string","array","object","boolean","null"];return d.all=t(e),d.types=t(f),d.forEach(function(o){o.rules=o.rules.map(function(r){var u;if(typeof r=="object"){var s=Object.keys(r)[0];u=r[s],r=s,u.forEach(function(c){e.push(c),d.all[c]=!0})}e.push(r);var a=d.all[r]={keyword:r,code:m[r],implements:u};return a}),d.all.$comment={keyword:"$comment",code:m.$comment},o.type&&(d.types[o.type]=o)}),d.keywords=t(e.concat(l)),d.custom={},d},Qn}var Yn,$p;function d0(){if($p)return Yn;$p=1;var m=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return Yn=function(t,p){for(var d=0;d<p.length;d++){t=JSON.parse(JSON.stringify(t));var e=p[d].split("/"),l=t,f;for(f=1;f<e.length;f++)l=l[e[f]];for(f=0;f<m.length;f++){var o=m[f],r=l[o];r&&(l[o]={anyOf:[r,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t},Yn}var Zn,Wp;function m0(){if(Wp)return Zn;Wp=1;var m=bn().MissingRef;Zn=t;function t(p,d,e){var l=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof d=="function"&&(e=d,d=void 0);var f=o(p).then(function(){var u=l._addSchema(p,void 0,d);return u.validate||r(u)});return e&&f.then(function(u){e(null,u)},e),f;function o(u){var s=u.$schema;return s&&!l.getSchema(s)?t.call(l,{$ref:s},!0):Promise.resolve()}function r(u){try{return l._compile(u)}catch(a){if(a instanceof m)return s(a);throw a}function s(a){var c=a.missingSchema;if(h(c))throw new Error("Schema "+c+" is loaded but "+a.missingRef+" cannot be resolved");var n=l._loadingSchemas[c];return n||(n=l._loadingSchemas[c]=l._opts.loadSchema(c),n.then(i,i)),n.then(function(g){if(!h(c))return o(g).then(function(){h(c)||l.addSchema(g,c,void 0,d)})}).then(function(){return r(u)});function i(){delete l._loadingSchemas[c]}function h(g){return l._refs[g]||l._schemas[g]}}}}return Zn}var es,Gp;function h0(){return Gp||(Gp=1,es=function(t,p,d){var e=" ",l=t.level,f=t.dataLevel,o=t.schema[p],r=t.schemaPath+t.util.getProperty(p),u=t.errSchemaPath+"/"+p,s=!t.opts.allErrors,a,c="data"+(f||""),n="valid"+l,i="errs__"+l,h=t.opts.$data&&o&&o.$data,g;h?(e+=" var schema"+l+" = "+t.util.getData(o.$data,f,t.dataPathArr)+"; ",g="schema"+l):g=o;var v=this,S="definition"+l,b=v.definition,T="",x,E,A,C,w;if(h&&b.$data){w="keywordValidate"+l;var k=b.validateSchema;e+=" var "+S+" = RULES.custom['"+p+"'].definition; var "+w+" = "+S+".validate;"}else{if(C=t.useCustomRule(v,o,t.schema,t),!C)return;g="validate.schema"+r,w=C.code,x=b.compile,E=b.inline,A=b.macro}var R=w+".errors",P="i"+l,B="ruleErr"+l,F=b.async;if(F&&!t.async)throw new Error("async keyword in sync schema");if(E||A||(e+=""+R+" = null;"),e+="var "+i+" = errors;var "+n+";",h&&b.$data&&(T+="}",e+=" if ("+g+" === undefined) { "+n+" = true; } else { ",k&&(T+="}",e+=" "+n+" = "+S+".validateSchema("+g+"); if ("+n+") { ")),E)b.statements?e+=" "+C.validate+" ":e+=" "+n+" = "+C.validate+"; ";else if(A){var O=t.util.copy(t),T="";O.level++;var $="valid"+O.level;O.schema=C.validate,O.schemaPath="";var N=t.compositeRule;t.compositeRule=O.compositeRule=!0;var _=t.validate(O).replace(/validate\.schema/g,w);t.compositeRule=O.compositeRule=N,e+=" "+_}else{var X=X||[];X.push(e),e="",e+=" "+w+".call( ",t.opts.passContext?e+="this":e+="self",x||b.schema===!1?e+=" , "+c+" ":e+=" , "+g+" , "+c+" , validate.schema"+t.schemaPath+" ",e+=" , (dataPath || '')",t.errorPath!='""'&&(e+=" + "+t.errorPath);var L=f?"data"+(f-1||""):"parentData",K=f?t.dataPathArr[f]:"parentDataProperty";e+=" , "+L+" , "+K+" , rootData ) ";var J=e;e=X.pop(),b.errors===!1?(e+=" "+n+" = ",F&&(e+="await "),e+=""+J+"; "):F?(R="customErrors"+l,e+=" var "+R+" = null; try { "+n+" = await "+J+"; } catch (e) { "+n+" = false; if (e instanceof ValidationError) "+R+" = e.errors; else throw e; } "):e+=" "+R+" = null; "+n+" = "+J+"; "}if(b.modifying&&(e+=" if ("+L+") "+c+" = "+L+"["+K+"];"),e+=""+T,b.valid)s&&(e+=" if (true) { ");else{e+=" if ( ",b.valid===void 0?(e+=" !",A?e+=""+$:e+=""+n):e+=" "+!b.valid+" ",e+=") { ",a=v.keyword;var X=X||[];X.push(e),e="";var X=X||[];X.push(e),e="",t.createErrors!==!1?(e+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { keyword: '"+v.keyword+"' } ",t.opts.messages!==!1&&(e+=` , message: 'should pass "`+v.keyword+`" keyword validation' `),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),e+=" } "):e+=" {} ";var ge=e;e=X.pop(),!t.compositeRule&&s?t.async?e+=" throw new ValidationError(["+ge+"]); ":e+=" validate.errors = ["+ge+"]; return false; ":e+=" var err = "+ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var ae=e;e=X.pop(),E?b.errors?b.errors!="full"&&(e+=" for (var "+P+"="+i+"; "+P+"<errors; "+P+"++) { var "+B+" = vErrors["+P+"]; if ("+B+".dataPath === undefined) "+B+".dataPath = (dataPath || '') + "+t.errorPath+"; if ("+B+".schemaPath === undefined) { "+B+'.schemaPath = "'+u+'"; } ',t.opts.verbose&&(e+=" "+B+".schema = "+g+"; "+B+".data = "+c+"; "),e+=" } "):b.errors===!1?e+=" "+ae+" ":(e+=" if ("+i+" == errors) { "+ae+" } else { for (var "+P+"="+i+"; "+P+"<errors; "+P+"++) { var "+B+" = vErrors["+P+"]; if ("+B+".dataPath === undefined) "+B+".dataPath = (dataPath || '') + "+t.errorPath+"; if ("+B+".schemaPath === undefined) { "+B+'.schemaPath = "'+u+'"; } ',t.opts.verbose&&(e+=" "+B+".schema = "+g+"; "+B+".data = "+c+"; "),e+=" } } "):A?(e+=" var err = ",t.createErrors!==!1?(e+=" { keyword: '"+(a||"custom")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(u)+" , params: { keyword: '"+v.keyword+"' } ",t.opts.messages!==!1&&(e+=` , message: 'should pass "`+v.keyword+`" keyword validation' `),t.opts.verbose&&(e+=" , schema: validate.schema"+r+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+c+" "),e+=" } "):e+=" {} ",e+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&s&&(t.async?e+=" throw new ValidationError(vErrors); ":e+=" validate.errors = vErrors; return false; ")):b.errors===!1?e+=" "+ae+" ":(e+=" if (Array.isArray("+R+")) { if (vErrors === null) vErrors = "+R+"; else vErrors = vErrors.concat("+R+"); errors = vErrors.length; for (var "+P+"="+i+"; "+P+"<errors; "+P+"++) { var "+B+" = vErrors["+P+"]; if ("+B+".dataPath === undefined) "+B+".dataPath = (dataPath || '') + "+t.errorPath+"; "+B+'.schemaPath = "'+u+'"; ',t.opts.verbose&&(e+=" "+B+".schema = "+g+"; "+B+".data = "+c+"; "),e+=" } } else { "+ae+" } "),e+=" } ",s&&(e+=" else { ")}return e}),es}var g0="http://json-schema.org/draft-07/schema#",y0="http://json-schema.org/draft-07/schema#",v0="Core schema meta-schema",E0={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},S0=["object","boolean"],b0={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},zp={$schema:g0,$id:y0,title:v0,definitions:E0,type:S0,properties:b0,default:!0},ts,Hp;function x0(){if(Hp)return ts;Hp=1;var m=zp;return ts={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:m.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:m.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},ts}var rs,Kp;function C0(){if(Kp)return rs;Kp=1;var m=/^[a-z_$][a-z0-9_$-]*$/i,t=h0(),p=x0();rs={add:d,get:e,remove:l,validate:f};function d(o,r){var u=this.RULES;if(u.keywords[o])throw new Error("Keyword "+o+" is already defined");if(!m.test(o))throw new Error("Keyword "+o+" is not a valid identifier");if(r){this.validateKeyword(r,!0);var s=r.type;if(Array.isArray(s))for(var a=0;a<s.length;a++)n(o,s[a],r);else n(o,s,r);var c=r.metaSchema;c&&(r.$data&&this._opts.$data&&(c={anyOf:[c,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),r.validateSchema=this.compile(c,!0))}u.keywords[o]=u.all[o]=!0;function n(i,h,g){for(var v,S=0;S<u.length;S++){var b=u[S];if(b.type==h){v=b;break}}v||(v={type:h,rules:[]},u.push(v));var T={keyword:i,definition:g,custom:!0,code:t,implements:g.implements};v.rules.push(T),u.custom[i]=T}return this}function e(o){var r=this.RULES.custom[o];return r?r.definition:this.RULES.keywords[o]||!1}function l(o){var r=this.RULES;delete r.keywords[o],delete r.all[o],delete r.custom[o];for(var u=0;u<r.length;u++)for(var s=r[u].rules,a=0;a<s.length;a++)if(s[a].keyword==o){s.splice(a,1);break}return this}function f(o,r){f.errors=null;var u=this._validateKeyword=this._validateKeyword||this.compile(p,!0);if(u(o))return!0;if(f.errors=u.errors,r)throw new Error("custom keyword definition is invalid: "+this.errorsText(u.errors));return!1}return rs}var A0="http://json-schema.org/draft-07/schema#",w0="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",T0="Meta-schema for $data reference (JSON Schema extension proposal)",k0="object",D0=["$data"],I0={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},P0=!1,F0={$schema:A0,$id:w0,description:T0,type:k0,required:D0,properties:I0,additionalProperties:P0},ns,Xp;function Jp(){if(Xp)return ns;Xp=1;var m=$b(),t=En(),p=Wb(),d=np(),e=lp(),l=Gb(),f=p0(),o=d0(),r=Cr();ns=i,i.prototype.validate=h,i.prototype.compile=g,i.prototype.addSchema=v,i.prototype.addMetaSchema=S,i.prototype.validateSchema=b,i.prototype.getSchema=x,i.prototype.removeSchema=C,i.prototype.addFormat=N,i.prototype.errorsText=$,i.prototype._addSchema=k,i.prototype._compile=R,i.prototype.compileAsync=m0();var u=C0();i.prototype.addKeyword=u.add,i.prototype.getKeyword=u.get,i.prototype.removeKeyword=u.remove,i.prototype.validateKeyword=u.validate;var s=bn();i.ValidationError=s.Validation,i.MissingRefError=s.MissingRef,i.$dataMetaSchema=o;var a="http://json-schema.org/draft-07/schema",c=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],n=["/properties"];function i(Z){if(!(this instanceof i))return new i(Z);Z=this._opts=r.copy(Z)||{},ae(this),this._schemas={},this._refs={},this._fragments={},this._formats=l(Z.format),this._cache=Z.cache||new p,this._loadingSchemas={},this._compilations=[],this.RULES=f(),this._getId=P(Z),Z.loopRequired=Z.loopRequired||1/0,Z.errorDataPath=="property"&&(Z._errorDataPathProperty=!0),Z.serialize===void 0&&(Z.serialize=e),this._metaOpts=ge(this),Z.formats&&L(this),Z.keywords&&K(this),_(this),typeof Z.meta=="object"&&this.addMetaSchema(Z.meta),Z.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),X(this)}function h(Z,I){var H;if(typeof Z=="string"){if(H=this.getSchema(Z),!H)throw new Error('no schema with key or ref "'+Z+'"')}else{var fe=this._addSchema(Z);H=fe.validate||this._compile(fe)}var ce=H(I);return H.$async!==!0&&(this.errors=H.errors),ce}function g(Z,I){var H=this._addSchema(Z,void 0,I);return H.validate||this._compile(H)}function v(Z,I,H,fe){if(Array.isArray(Z)){for(var ce=0;ce<Z.length;ce++)this.addSchema(Z[ce],void 0,H,fe);return this}var ie=this._getId(Z);if(ie!==void 0&&typeof ie!="string")throw new Error("schema id must be string");return I=t.normalizeId(I||ie),J(this,I),this._schemas[I]=this._addSchema(Z,H,fe,!0),this}function S(Z,I,H){return this.addSchema(Z,I,H,!0),this}function b(Z,I){var H=Z.$schema;if(H!==void 0&&typeof H!="string")throw new Error("$schema must be a string");if(H=H||this._opts.defaultMeta||T(this),!H)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var fe=this.validate(H,Z);if(!fe&&I){var ce="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(ce);else throw new Error(ce)}return fe}function T(Z){var I=Z._opts.meta;return Z._opts.defaultMeta=typeof I=="object"?Z._getId(I)||I:Z.getSchema(a)?a:void 0,Z._opts.defaultMeta}function x(Z){var I=A(this,Z);switch(typeof I){case"object":return I.validate||this._compile(I);case"string":return this.getSchema(I);case"undefined":return E(this,Z)}}function E(Z,I){var H=t.schema.call(Z,{schema:{}},I);if(H){var fe=H.schema,ce=H.root,ie=H.baseId,he=m.call(Z,fe,ce,void 0,ie);return Z._fragments[I]=new d({ref:I,fragment:!0,schema:fe,root:ce,baseId:ie,validate:he}),he}}function A(Z,I){return I=t.normalizeId(I),Z._schemas[I]||Z._refs[I]||Z._fragments[I]}function C(Z){if(Z instanceof RegExp)return w(this,this._schemas,Z),w(this,this._refs,Z),this;switch(typeof Z){case"undefined":return w(this,this._schemas),w(this,this._refs),this._cache.clear(),this;case"string":var I=A(this,Z);return I&&this._cache.del(I.cacheKey),delete this._schemas[Z],delete this._refs[Z],this;case"object":var H=this._opts.serialize,fe=H?H(Z):Z;this._cache.del(fe);var ce=this._getId(Z);ce&&(ce=t.normalizeId(ce),delete this._schemas[ce],delete this._refs[ce])}return this}function w(Z,I,H){for(var fe in I){var ce=I[fe];!ce.meta&&(!H||H.test(fe))&&(Z._cache.del(ce.cacheKey),delete I[fe])}}function k(Z,I,H,fe){if(typeof Z!="object"&&typeof Z!="boolean")throw new Error("schema should be object or boolean");var ce=this._opts.serialize,ie=ce?ce(Z):Z,he=this._cache.get(ie);if(he)return he;fe=fe||this._opts.addUsedSchema!==!1;var Se=t.normalizeId(this._getId(Z));Se&&fe&&J(this,Se);var xe=this._opts.validateSchema!==!1&&!I,we;xe&&!(we=Se&&Se==t.normalizeId(Z.$schema))&&this.validateSchema(Z,!0);var ee=t.ids.call(this,Z),ne=new d({id:Se,schema:Z,localRefs:ee,cacheKey:ie,meta:H});return Se[0]!="#"&&fe&&(this._refs[Se]=ne),this._cache.put(ie,ne),xe&&we&&this.validateSchema(Z,!0),ne}function R(Z,I){if(Z.compiling)return Z.validate=ce,ce.schema=Z.schema,ce.errors=null,ce.root=I||ce,Z.schema.$async===!0&&(ce.$async=!0),ce;Z.compiling=!0;var H;Z.meta&&(H=this._opts,this._opts=this._metaOpts);var fe;try{fe=m.call(this,Z.schema,I,Z.localRefs)}catch(ie){throw delete Z.validate,ie}finally{Z.compiling=!1,Z.meta&&(this._opts=H)}return Z.validate=fe,Z.refs=fe.refs,Z.refVal=fe.refVal,Z.root=fe.root,fe;function ce(){var ie=Z.validate,he=ie.apply(this,arguments);return ce.errors=ie.errors,he}}function P(Z){switch(Z.schemaId){case"auto":return O;case"id":return B;default:return F}}function B(Z){return Z.$id&&this.logger.warn("schema $id ignored",Z.$id),Z.id}function F(Z){return Z.id&&this.logger.warn("schema id ignored",Z.id),Z.$id}function O(Z){if(Z.$id&&Z.id&&Z.$id!=Z.id)throw new Error("schema $id is different from id");return Z.$id||Z.id}function $(Z,I){if(Z=Z||this.errors,!Z)return"No errors";I=I||{};for(var H=I.separator===void 0?", ":I.separator,fe=I.dataVar===void 0?"data":I.dataVar,ce="",ie=0;ie<Z.length;ie++){var he=Z[ie];he&&(ce+=fe+he.dataPath+" "+he.message+H)}return ce.slice(0,-H.length)}function N(Z,I){return typeof I=="string"&&(I=new RegExp(I)),this._formats[Z]=I,this}function _(Z){var I;if(Z._opts.$data&&(I=F0,Z.addMetaSchema(I,I.$id,!0)),Z._opts.meta!==!1){var H=zp;Z._opts.$data&&(H=o(H,n)),Z.addMetaSchema(H,a,!0),Z._refs["http://json-schema.org/schema"]=a}}function X(Z){var I=Z._opts.schemas;if(I)if(Array.isArray(I))Z.addSchema(I);else for(var H in I)Z.addSchema(I[H],H)}function L(Z){for(var I in Z._opts.formats){var H=Z._opts.formats[I];Z.addFormat(I,H)}}function K(Z){for(var I in Z._opts.keywords){var H=Z._opts.keywords[I];Z.addKeyword(I,H)}}function J(Z,I){if(Z._schemas[I]||Z._refs[I])throw new Error('schema with key or id "'+I+'" already exists')}function ge(Z){for(var I=r.copy(Z._opts),H=0;H<c.length;H++)delete I[c[H]];return I}function ae(Z){var I=Z._opts.logger;if(I===!1)Z.logger={log:ke,warn:ke,error:ke};else{if(I===void 0&&(I=console),!(typeof I=="object"&&I.log&&I.warn&&I.error))throw new Error("logger must implement log, warn and error methods");Z.logger=I}}function ke(){}return ns}var R0={AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},_0={Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},B0={Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},L0={Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},O0={Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},N0={AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},M0={AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,AudioWorkletGlobalScope:!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,ClipboardItem:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,CompressionStream:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMatrixComponent:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSPerspective:!1,CSSRotate:!1,CSSRule:!1,CSSRuleList:!1,CSSScale:!1,CSSSkew:!1,CSSSkewX:!1,CSSSkewY:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CSSTransformValue:!1,CSSTranslate:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,DecompressionStream:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectList:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,FormDataEvent:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaMetadata:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamConstraints:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,OffscreenCanvasRenderingContext2D:!1,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,OverconstrainedError:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,reportError:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,structuredClone:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubmitEvent:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,ToggleEvent:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransformStream:!1,TransformStreamDefaultController:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XRAnchor:!1,XRBoundedReferenceSpace:!1,XRCPUDepthInformation:!1,XRDepthInformation:!1,XRFrame:!1,XRInputSource:!1,XRInputSourceArray:!1,XRInputSourceEvent:!1,XRInputSourcesChangeEvent:!1,XRPose:!1,XRReferenceSpace:!1,XRReferenceSpaceEvent:!1,XRRenderState:!1,XRRigidTransform:!1,XRSession:!1,XRSessionEvent:!1,XRSpace:!1,XRSystem:!1,XRView:!1,XRViewerPose:!1,XRViewport:!1,XRWebGLBinding:!1,XRWebGLDepthInformation:!1,XRWebGLLayer:!1,XSLTProcessor:!1},j0={addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,ErrorEvent:!1,Event:!1,fetch:!1,File:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,removeEventListener:!1,reportError:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1},U0={__dirname:!1,__filename:!1,AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,exports:!0,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,Intl:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,module:!1,performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,require:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},q0={AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,Intl:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},V0={exports:!0,global:!1,module:!1,require:!1},$0={define:!1,require:!1},W0={after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},G0={afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},z0={afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},H0={asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},K0={console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},X0={emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},J0={defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},Q0={__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},Y0={ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},Z0={$:!1,jQuery:!1},ex={YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},tx={cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},rx={$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},nx={$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},sx={_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},ax={$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},ix={addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,ErrorEvent:!1,Event:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,File:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1},ox={advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},lx={andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},ux={$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},cx={browser:!1,chrome:!1,opr:!1},fx={cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addElement:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},px={$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1},dx={builtin:R0,es5:_0,es2015:B0,es2017:L0,es2020:O0,es2021:N0,browser:M0,worker:j0,node:U0,nodeBuiltin:q0,commonjs:V0,amd:$0,mocha:W0,jasmine:G0,jest:z0,qunit:H0,phantomjs:K0,couch:X0,rhino:J0,nashorn:Q0,wsh:Y0,jquery:Z0,yui:ex,shelljs:tx,prototypejs:rx,meteor:nx,mongo:sx,applescript:ax,serviceworker:ix,atomtest:ox,embertest:lx,protractor:ux,"shared-node-browser":{AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,clearInterval:!1,clearTimeout:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,Headers:!1,Intl:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},webextensions:cx,greasemonkey:fx,devtools:px},ss,Qp;function mx(){return Qp||(Qp=1,ss=dx),ss}var Yp;function hx(){if(Yp)return Jr;Yp=1,Object.defineProperty(Jr,"__esModule",{value:!0});var m=zr,t=zr,p=Jp(),d=mx();function e(Se){return Se&&typeof Se=="object"&&"default"in Se?Se:{default:Se}}var l=e(m),f=e(t),o=e(p),r=e(d);const u=["off","warn","error"],s=u.reduce((Se,xe,we)=>(Se[xe]=we,Se),{}),a=new Set([0,1,2,"off","warn","error"]);function c(Se){const xe=Array.isArray(Se)?Se[0]:Se;return xe===0||xe===1||xe===2?xe:typeof xe=="string"&&s[xe.toLowerCase()]||0}function n(Se){Se.rules&&Object.keys(Se.rules).forEach(xe=>{const we=Se.rules[xe];typeof we=="number"?Se.rules[xe]=u[we]||u[0]:Array.isArray(we)&&typeof we[0]=="number"&&(we[0]=u[we[0]]||u[0])})}function i(Se){return c(Se)===2}function h(Se){let xe=Array.isArray(Se)?Se[0]:Se;return typeof xe=="string"&&(xe=xe.toLowerCase()),a.has(xe)}function g(Se){return Object.keys(Se).every(xe=>h(Se[xe]))}function v(Se){switch(Se){case"off":return"off";case!0:case"true":case"writeable":case"writable":return"writable";case null:case!1:case"false":case"readable":case"readonly":return"readonly";default:throw new Error(`'${Se}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}var S={__proto__:null,getRuleSeverity:c,normalizeToStrings:n,isErrorSeverity:i,isValidSeverity:h,isEverySeverityValid:g,normalizeConfigGlobal:v};const b={ESLINT_LEGACY_ECMAFEATURES:"The 'ecmaFeatures' config file property is deprecated and has no effect.",ESLINT_PERSONAL_CONFIG_LOAD:"'~/.eslintrc.*' config files have been deprecated. Please use a config file per project or the '--config' option.",ESLINT_PERSONAL_CONFIG_SUPPRESS:"'~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally."},T=new Set;function x(Se,xe){const we=JSON.stringify({source:Se,errorCode:xe});if(T.has(we))return;T.add(we);const ee=f.default.relative(process.cwd(),Se),ne=b[xe];process.emitWarning(`${ne} (found in "${ee}")`,"DeprecationWarning",xe)}const E={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string"},$schema:{type:"string"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}};var A=(Se={})=>{const xe=new o.default({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...Se});return xe.addMetaSchema(E),xe._opts.defaultMeta=E.id,xe};function C(Se){return typeof Se=="object"&&Se!==null&&!Array.isArray(Se)}function w(Se,xe){if(xe===void 0)return Se;if(!C(Se)||!C(xe))return xe;const we={...Se,...xe};for(const ee of Object.keys(xe))Object.prototype.propertyIsEnumerable.call(Se,ee)&&(we[ee]=w(Se[ee],xe[ee]));return we}function k(Se,xe){return!Se||!xe?xe||Se||[]:[...Se.map((we,ee)=>w(we,xe[ee])),...xe.slice(Se.length)]}const R={$schema:{type:"string"},env:{type:"object"},extends:{$ref:"#/definitions/stringOrStrings"},globals:{type:"object"},overrides:{type:"array",items:{$ref:"#/definitions/overrideConfig"},additionalItems:!1},parser:{type:["string","null"]},parserOptions:{type:"object"},plugins:{type:"array"},processor:{type:"string"},rules:{type:"object"},settings:{type:"object"},noInlineConfig:{type:"boolean"},reportUnusedDisableDirectives:{type:"boolean"},ecmaFeatures:{type:"object"}},P={definitions:{stringOrStrings:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1}]},stringOrStringsRequired:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1,minItems:1}]},objectConfig:{type:"object",properties:{root:{type:"boolean"},ignorePatterns:{$ref:"#/definitions/stringOrStrings"},...R},additionalProperties:!1},overrideConfig:{type:"object",properties:{excludedFiles:{$ref:"#/definitions/stringOrStrings"},files:{$ref:"#/definitions/stringOrStringsRequired"},...R},required:["files"],additionalProperties:!1}},$ref:"#/definitions/objectConfig"};function B(Se,xe){const we={};for(const[ee,ne]of Object.entries(Se))Object.hasOwn(xe,ee)||(we[ee]=ne);return we}const F=B(r.default.es2015,r.default.es5),O={Atomics:!1,SharedArrayBuffer:!1},$={BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},N={AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1};var _=new Map(Object.entries({builtin:{globals:r.default.es5},es6:{globals:F,parserOptions:{ecmaVersion:6}},es2015:{globals:F,parserOptions:{ecmaVersion:6}},es2016:{globals:F,parserOptions:{ecmaVersion:7}},es2017:{globals:{...F,...O},parserOptions:{ecmaVersion:8}},es2018:{globals:{...F,...O},parserOptions:{ecmaVersion:9}},es2019:{globals:{...F,...O},parserOptions:{ecmaVersion:10}},es2020:{globals:{...F,...O,...$},parserOptions:{ecmaVersion:11}},es2021:{globals:{...F,...O,...$,...N},parserOptions:{ecmaVersion:12}},es2022:{globals:{...F,...O,...$,...N},parserOptions:{ecmaVersion:13}},es2023:{globals:{...F,...O,...$,...N},parserOptions:{ecmaVersion:14}},es2024:{globals:{...F,...O,...$,...N},parserOptions:{ecmaVersion:15}},browser:{globals:r.default.browser},node:{globals:r.default.node,parserOptions:{ecmaFeatures:{globalReturn:!0}}},"shared-node-browser":{globals:r.default["shared-node-browser"]},worker:{globals:r.default.worker},serviceworker:{globals:r.default.serviceworker},commonjs:{globals:r.default.commonjs,parserOptions:{ecmaFeatures:{globalReturn:!0}}},amd:{globals:r.default.amd},mocha:{globals:r.default.mocha},jasmine:{globals:r.default.jasmine},jest:{globals:r.default.jest},phantomjs:{globals:r.default.phantomjs},jquery:{globals:r.default.jquery},qunit:{globals:r.default.qunit},prototypejs:{globals:r.default.prototypejs},shelljs:{globals:r.default.shelljs},meteor:{globals:r.default.meteor},mongo:{globals:r.default.mongo},protractor:{globals:r.default.protractor},applescript:{globals:r.default.applescript},nashorn:{globals:r.default.nashorn},atomtest:{globals:r.default.atomtest},embertest:{globals:r.default.embertest},webextensions:{globals:r.default.webextensions},greasemonkey:{globals:r.default.greasemonkey}}));const X=A(),L=new WeakMap,K=Function.prototype;let J;const ge={error:2,warn:1,off:0},ae=new WeakSet,ke=Object.freeze({type:"array",minItems:0,maxItems:0});class Z{constructor({builtInRules:xe=new Map}={}){this.builtInRules=xe}getRuleOptionsSchema(xe){if(!xe)return null;if(!xe.meta)return{...ke};const we=xe.meta.schema;if(typeof we>"u")return{...ke};if(we===!1)return null;if(typeof we!="object"||we===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(we)?we.length?{type:"array",items:we,minItems:0,maxItems:we.length}:{...ke}:we}validateRuleSeverity(xe){const we=Array.isArray(xe)?xe[0]:xe,ee=typeof we=="string"?ge[we.toLowerCase()]:we;if(ee===0||ee===1||ee===2)return ee;throw new Error(` Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${l.default.inspect(we).replace(/'/gu,'"').replace(/\n/gu,"")}').
13
- `)}validateRuleSchema(xe,we){if(!L.has(xe))try{const ne=this.getRuleOptionsSchema(xe);ne&&L.set(xe,X.compile(ne))}catch(ne){const Ae=new Error(ne.message,{cause:ne});throw Ae.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA",Ae}const ee=L.get(xe);if(ee){const ne=k(xe.meta?.defaultOptions,we);if(ee(ne),ee.errors)throw new Error(ee.errors.map(Ae=>` Value ${JSON.stringify(Ae.data)} ${Ae.message}.
14
- `).join(""))}}validateRuleOptions(xe,we,ee,ne=null){try{this.validateRuleSeverity(ee)!==0&&this.validateRuleSchema(xe,Array.isArray(ee)?ee.slice(1):[])}catch(Ae){let z=Ae.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"?`Error while processing options validation schema of rule '${we}': ${Ae.message}`:`Configuration for rule "${we}" is invalid:
15
- ${Ae.message}`;typeof ne=="string"&&(z=`${ne}:
16
- ${z}`);const oe=new Error(z,{cause:Ae});throw Ae.code&&(oe.code=Ae.code),oe}}validateEnvironment(xe,we,ee=K){xe&&Object.keys(xe).forEach(ne=>{if(!(ee(ne)||_.get(ne)||null)){const z=`${we}:
17
- Environment key "${ne}" is unknown
18
- `;throw new Error(z)}})}validateRules(xe,we,ee=K){xe&&Object.keys(xe).forEach(ne=>{const Ae=ee(ne)||this.builtInRules.get(ne)||null;this.validateRuleOptions(Ae,ne,xe[ne],we)})}validateGlobals(xe,we=null){xe&&Object.entries(xe).forEach(([ee,ne])=>{try{v(ne)}catch(Ae){throw new Error(`ESLint configuration of global '${ee}' in ${we} is invalid:
19
- ${Ae.message}`)}})}validateProcessor(xe,we,ee){if(xe&&!ee(xe))throw new Error(`ESLint configuration of processor in '${we}' is invalid: '${xe}' was not found.`)}formatErrors(xe){return xe.map(we=>{if(we.keyword==="additionalProperties")return`Unexpected top-level property "${we.dataPath.length?`${we.dataPath.slice(1)}.${we.params.additionalProperty}`:we.params.additionalProperty}"`;if(we.keyword==="type"){const ne=we.dataPath.slice(1),Ae=Array.isArray(we.schema)?we.schema.join("/"):we.schema,z=JSON.stringify(we.data);return`Property "${ne}" is the wrong type (expected ${Ae} but got \`${z}\`)`}return`"${we.dataPath[0]==="."?we.dataPath.slice(1):we.dataPath}" ${we.message}. Value: ${JSON.stringify(we.data)}`}).map(we=>` - ${we}.
20
- `).join("")}validateConfigSchema(xe,we=null){if(J=J||X.compile(P),!J(xe))throw new Error(`ESLint configuration in ${we} is invalid:
21
- ${this.formatErrors(J.errors)}`);Object.hasOwn(xe,"ecmaFeatures")&&x(we,"ESLINT_LEGACY_ECMAFEATURES")}validate(xe,we,ee,ne){this.validateConfigSchema(xe,we),this.validateRules(xe.rules,we,ee),this.validateEnvironment(xe.env,we,ne),this.validateGlobals(xe.globals,we);for(const Ae of xe.overrides||[])this.validateRules(Ae.rules,we,ee),this.validateEnvironment(Ae.env,we,ne),this.validateGlobals(xe.globals,we)}validateConfigArray(xe){const we=Map.prototype.get.bind(xe.pluginEnvironments),ee=Map.prototype.get.bind(xe.pluginProcessors),ne=Map.prototype.get.bind(xe.pluginRules);for(const Ae of xe)ae.has(Ae)||(ae.add(Ae),this.validateEnvironment(Ae.env,Ae.name,we),this.validateGlobals(Ae.globals,Ae.name),this.validateProcessor(Ae.processor,Ae.name,ee),this.validateRules(Ae.rules,Ae.name,ne))}}const I=/^@.*\//iu;function H(Se,xe){let we=Se;if(we.includes("\\")&&(we=we.replace(/\\/gu,"/")),we.charAt(0)==="@"){const ee=new RegExp(`^(@[^/]+)(?:/(?:${xe})?)?$`,"u"),ne=new RegExp(`^${xe}(-|$)`,"u");ee.test(we)?we=we.replace(ee,`$1/${xe}`):ne.test(we.split("/")[1])||(we=we.replace(/^@([^/]+)\/(.*)$/u,`@$1/${xe}-$2`))}else we.startsWith(`${xe}-`)||(we=`${xe}-${we}`);return we}function fe(Se,xe){if(Se[0]==="@"){let we=new RegExp(`^(@[^/]+)/${xe}$`,"u").exec(Se);if(we)return we[1];if(we=new RegExp(`^(@[^/]+)/${xe}-(.+)$`,"u").exec(Se),we)return`${we[1]}/${we[2]}`}else if(Se.startsWith(`${xe}-`))return Se.slice(xe.length+1);return Se}function ce(Se){const xe=Se.match(I);return xe?xe[0]:""}var ie={__proto__:null,normalizePackageName:H,getShorthandName:fe,getNamespaceFromTerm:ce};const he={environments:_,ConfigOps:S,ConfigValidator:Z,naming:ie};return Jr.Legacy=he,Jr}var as={exports:{}},Yr={exports:{}},is,Zp;function gx(){if(Zp)return is;Zp=1;var m=1e3,t=m*60,p=t*60,d=p*24,e=d*7,l=d*365.25;is=function(s,a){a=a||{};var c=typeof s;if(c==="string"&&s.length>0)return f(s);if(c==="number"&&isFinite(s))return a.long?r(s):o(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))};function f(s){if(s=String(s),!(s.length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(s);if(a){var c=parseFloat(a[1]),n=(a[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return c*l;case"weeks":case"week":case"w":return c*e;case"days":case"day":case"d":return c*d;case"hours":case"hour":case"hrs":case"hr":case"h":return c*p;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*m;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}}}function o(s){var a=Math.abs(s);return a>=d?Math.round(s/d)+"d":a>=p?Math.round(s/p)+"h":a>=t?Math.round(s/t)+"m":a>=m?Math.round(s/m)+"s":s+"ms"}function r(s){var a=Math.abs(s);return a>=d?u(s,a,d,"day"):a>=p?u(s,a,p,"hour"):a>=t?u(s,a,t,"minute"):a>=m?u(s,a,m,"second"):s+" ms"}function u(s,a,c,n){var i=a>=c*1.5;return Math.round(s/c)+" "+n+(i?"s":"")}return is}var os,ed;function yx(){if(ed)return os;ed=1;function m(t){d.debug=d,d.default=d,d.coerce=u,d.disable=o,d.enable=l,d.enabled=r,d.humanize=gx(),d.destroy=s,Object.keys(t).forEach(a=>{d[a]=t[a]}),d.names=[],d.skips=[],d.formatters={};function p(a){let c=0;for(let n=0;n<a.length;n++)c=(c<<5)-c+a.charCodeAt(n),c|=0;return d.colors[Math.abs(c)%d.colors.length]}d.selectColor=p;function d(a){let c,n=null,i,h;function g(...v){if(!g.enabled)return;const S=g,b=Number(new Date),T=b-(c||b);S.diff=T,S.prev=c,S.curr=b,c=b,v[0]=d.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let x=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(A,C)=>{if(A==="%%")return"%";x++;const w=d.formatters[C];if(typeof w=="function"){const k=v[x];A=w.call(S,k),v.splice(x,1),x--}return A}),d.formatArgs.call(S,v),(S.log||d.log).apply(S,v)}return g.namespace=a,g.useColors=d.useColors(),g.color=d.selectColor(a),g.extend=e,g.destroy=d.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:()=>n!==null?n:(i!==d.namespaces&&(i=d.namespaces,h=d.enabled(a)),h),set:v=>{n=v}}),typeof d.init=="function"&&d.init(g),g}function e(a,c){const n=d(this.namespace+(typeof c>"u"?":":c)+a);return n.log=this.log,n}function l(a){d.save(a),d.namespaces=a,d.names=[],d.skips=[];const c=(typeof a=="string"?a:"").trim().replace(" ",",").split(",").filter(Boolean);for(const n of c)n[0]==="-"?d.skips.push(n.slice(1)):d.names.push(n)}function f(a,c){let n=0,i=0,h=-1,g=0;for(;n<a.length;)if(i<c.length&&(c[i]===a[n]||c[i]==="*"))c[i]==="*"?(h=i,g=n,i++):(n++,i++);else if(h!==-1)i=h+1,g++,n=g;else return!1;for(;i<c.length&&c[i]==="*";)i++;return i===c.length}function o(){const a=[...d.names,...d.skips.map(c=>"-"+c)].join(",");return d.enable(""),a}function r(a){for(const c of d.skips)if(f(a,c))return!1;for(const c of d.names)if(f(a,c))return!0;return!1}function u(a){return a instanceof Error?a.stack||a.message:a}function s(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return d.enable(d.load()),d}return os=m,os}var td;function vx(){return td||(td=1,function(m,t){t.formatArgs=d,t.save=e,t.load=l,t.useColors=p,t.storage=f(),t.destroy=(()=>{let r=!1;return()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function p(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let r;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(r=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(r[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function d(r){if(r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+m.exports.humanize(this.diff),!this.useColors)return;const u="color: "+this.color;r.splice(1,0,u,"color: inherit");let s=0,a=0;r[0].replace(/%[a-zA-Z%]/g,c=>{c!=="%%"&&(s++,c==="%c"&&(a=s))}),r.splice(a,0,u)}t.log=console.debug||console.log||(()=>{});function e(r){try{r?t.storage.setItem("debug",r):t.storage.removeItem("debug")}catch{}}function l(){let r;try{r=t.storage.getItem("debug")}catch{}return!r&&typeof Vt<"u"&&"env"in Vt&&(r=Vt.env.DEBUG),r}function f(){try{return localStorage}catch{}}m.exports=yx()(t);const{formatters:o}=m.exports;o.j=function(r){try{return JSON.stringify(r)}catch(u){return"[UnexpectedJSONParseError]: "+u.message}}}(Yr,Yr.exports)),Yr.exports}var rd;function hr(){return rd||(rd=1,as.exports=vx()),as.exports}var ls,nd;function us(){if(nd)return ls;nd=1;const m=Rr(),t=hr()("eslint:traverser");function p(){}function d(f){return f!==null&&typeof f=="object"&&typeof f.type=="string"}function e(f,o){let r=f[o.type];return r||(r=m.getKeys(o),t('Unknown node type "%s": Estimated visitor keys %j',o.type,r)),r}class l{constructor(){this._current=null,this._parents=[],this._skipped=!1,this._broken=!1,this._visitorKeys=null,this._enter=null,this._leave=null}current(){return this._current}parents(){return this._parents.slice(0)}break(){this._broken=!0}skip(){this._skipped=!0}traverse(o,r){this._current=null,this._parents=[],this._skipped=!1,this._broken=!1,this._visitorKeys=r.visitorKeys||m.KEYS,this._enter=r.enter||p,this._leave=r.leave||p,this._traverse(o,null)}_traverse(o,r){if(d(o)){if(this._current=o,this._skipped=!1,this._enter(o,r),!this._skipped&&!this._broken){const u=e(this._visitorKeys,o);if(u.length>=1){this._parents.push(o);for(let s=0;s<u.length&&!this._broken;++s){const a=o[u[s]];if(Array.isArray(a))for(let c=0;c<a.length&&!this._broken;++c)this._traverse(a[c],o);else this._traverse(a,o)}this._parents.pop()}}this._broken||this._leave(o,r),this._current=r}}static getKeys(o){return m.getKeys(o)}static traverse(o,r){new l().traverse(o,r)}static get DEFAULT_VISITOR_KEYS(){return m.KEYS}}return ls=l,ls}var cs={},Ar={},sd;function Ex(){if(sd)return Ar;sd=1,Object.defineProperty(Ar,"__esModule",{value:!0});const m={ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],AwaitExpression:["argument"],BinaryExpression:["left","right"],BlockStatement:["body"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ExportAllDeclaration:["exported","source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportExpression:["source"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:[],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes"],JSXOpeningFragment:[],JSXSpreadAttribute:["argument"],JSXSpreadChild:["expression"],JSXText:[],LabeledStatement:["label","body"],Literal:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],StaticBlock:["body"],Super:[],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},t=Object.keys(m);for(const f of t)Object.freeze(m[f]);Object.freeze(m);const p=new Set(["parent","leadingComments","trailingComments"]);function d(f){return!p.has(f)&&f[0]!=="_"}function e(f){return Object.keys(f).filter(d)}function l(f){const o=Object.assign({},m);for(const r of Object.keys(f))if(Object.prototype.hasOwnProperty.call(o,r)){const u=new Set(f[r]);for(const s of o[r])u.add(s);o[r]=Object.freeze(Array.from(u))}else o[r]=Object.freeze(Array.from(f[r]));return Object.freeze(o)}return Ar.KEYS=m,Ar.getKeys=e,Ar.unionWith=l,Ar}var ad;function Mt(){return ad||(ad=1,function(m){Object.defineProperty(m,"__esModule",{value:!0});var t=Ex();function p(j,U){const V=U.range[0];let Y=j,le=!1;do{le=!1;for(const te of Y.childScopes){const q=te.block.range;if(q[0]<=V&&V<q[1]){Y=te,le=!0;break}}}while(le);return Y}function d(j,U){let V="",Y=j;for(typeof U=="string"?V=U:(V=U.name,Y=p(Y,U));Y!=null;){const le=Y.set.get(V);if(le!=null)return le;Y=Y.upper}return null}function e(j){return U=>!j(U)}function l(j,U){return j.type==="Punctuator"&&j.value===U}function f(j){return l(j,"=>")}function o(j){return l(j,",")}function r(j){return l(j,";")}function u(j){return l(j,":")}function s(j){return l(j,"(")}function a(j){return l(j,")")}function c(j){return l(j,"[")}function n(j){return l(j,"]")}function i(j){return l(j,"{")}function h(j){return l(j,"}")}function g(j){return["Block","Line","Shebang"].includes(j.type)}const v=e(f),S=e(o),b=e(r),T=e(u),x=e(s),E=e(a),A=e(c),C=e(n),w=e(i),k=e(h),R=e(g);function P(j,U){return j.id?U.getTokenAfter(j.id,s):U.getFirstToken(j,s)}function B(j,U){const V=j.parent;let Y=null,le=null;if(j.type==="ArrowFunctionExpression"){const te=U.getTokenBefore(j.body,f);Y=te.loc.start,le=te.loc.end}else V.type==="Property"||V.type==="MethodDefinition"||V.type==="PropertyDefinition"?(Y=V.loc.start,le=P(j,U).loc.start):(Y=j.loc.start,le=P(j,U).loc.start);return{start:{...Y},end:{...le}}}const F=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof sr<"u"?sr:{},O=Object.freeze(new Set(["Array","ArrayBuffer","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","isFinite","isNaN","isPrototypeOf","JSON","Map","Math","NaN","Number","Object","parseFloat","parseInt","Promise","Proxy","Reflect","RegExp","Set","String","Symbol","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","undefined","unescape","WeakMap","WeakSet"])),$=new Set([Array.isArray,Array.of,Array.prototype.at,Array.prototype.concat,Array.prototype.entries,Array.prototype.every,Array.prototype.filter,Array.prototype.find,Array.prototype.findIndex,Array.prototype.flat,Array.prototype.includes,Array.prototype.indexOf,Array.prototype.join,Array.prototype.keys,Array.prototype.lastIndexOf,Array.prototype.slice,Array.prototype.some,Array.prototype.toString,Array.prototype.values,typeof BigInt=="function"?BigInt:void 0,Boolean,Date,Date.parse,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,escape,isFinite,isNaN,isPrototypeOf,Map,Map.prototype.entries,Map.prototype.get,Map.prototype.has,Map.prototype.keys,Map.prototype.values,...Object.getOwnPropertyNames(Math).filter(j=>j!=="random").map(j=>Math[j]).filter(j=>typeof j=="function"),Number,Number.isFinite,Number.isNaN,Number.parseFloat,Number.parseInt,Number.prototype.toExponential,Number.prototype.toFixed,Number.prototype.toPrecision,Number.prototype.toString,Object,Object.entries,Object.is,Object.isExtensible,Object.isFrozen,Object.isSealed,Object.keys,Object.values,parseFloat,parseInt,RegExp,Set,Set.prototype.entries,Set.prototype.has,Set.prototype.keys,Set.prototype.values,String,String.fromCharCode,String.fromCodePoint,String.raw,String.prototype.at,String.prototype.charAt,String.prototype.charCodeAt,String.prototype.codePointAt,String.prototype.concat,String.prototype.endsWith,String.prototype.includes,String.prototype.indexOf,String.prototype.lastIndexOf,String.prototype.normalize,String.prototype.padEnd,String.prototype.padStart,String.prototype.slice,String.prototype.startsWith,String.prototype.substr,String.prototype.substring,String.prototype.toLowerCase,String.prototype.toString,String.prototype.toUpperCase,String.prototype.trim,String.prototype.trimEnd,String.prototype.trimLeft,String.prototype.trimRight,String.prototype.trimStart,Symbol.for,Symbol.keyFor,unescape].filter(j=>typeof j=="function")),N=new Set([Object.freeze,Object.preventExtensions,Object.seal]),_=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function X(j,U){let V=j;for(;(typeof V=="object"||typeof V=="function")&&V!==null;){const Y=Object.getOwnPropertyDescriptor(V,U);if(Y)return Y;V=Object.getPrototypeOf(V)}return null}function L(j,U){const V=X(j,U);return V!=null&&V.get!=null}function K(j,U){const V=[];for(let Y=0;Y<j.length;++Y){const le=j[Y];if(le==null)V.length=Y+1;else if(le.type==="SpreadElement"){const te=I(le.argument,U);if(te==null)return null;V.push(...te.value)}else{const te=I(le,U);if(te==null)return null;V.push(te.value)}}return V}function J(j){return j!=null&&j.defs.length===0&&O.has(j.name)&&j.name in F}function ge(j){if(j.defs.length!==1)return!1;const U=j.defs[0];return!!(U.parent&&U.type==="Variable"&&(U.parent.kind==="const"||ae(j)))}function ae(j){const U=j.references,V=U.filter(le=>le.init).length,Y=U.filter(le=>le.isReadOnly()).length;return V===1&&Y+V===U.length}function ke(j,U){for(const Y of j.references){let le=Y.identifier;for(;le&&le.parent&&le.parent.type==="MemberExpression";)le=le.parent;if(!(!le||!le.parent)){if(le.parent.type==="AssignmentExpression"&&le.parent.left===le||le.parent.type==="UpdateExpression"&&le.parent.argument===le)return!0;if(le.parent.type==="CallExpression"&&le.parent.callee===le&&le.type==="MemberExpression"){const te=H(le,U);if(V(te))return!0}}}return!1;function V(Y){if(Y==null||Y.value==null)return!1;const le=Y.value;return le==="copyWithin"||le==="fill"||le==="pop"||le==="push"||le==="reverse"||le==="shift"||le==="sort"||le==="splice"||le==="unshift"}}const Z=Object.freeze({ArrayExpression(j,U){const V=K(j.elements,U);return V!=null?{value:V}:null},AssignmentExpression(j,U){return j.operator==="="?I(j.right,U):null},BinaryExpression(j,U){if(j.operator==="in"||j.operator==="instanceof")return null;const V=I(j.left,U),Y=I(j.right,U);if(V!=null&&Y!=null)switch(j.operator){case"==":return{value:V.value==Y.value};case"!=":return{value:V.value!=Y.value};case"===":return{value:V.value===Y.value};case"!==":return{value:V.value!==Y.value};case"<":return{value:V.value<Y.value};case"<=":return{value:V.value<=Y.value};case">":return{value:V.value>Y.value};case">=":return{value:V.value>=Y.value};case"<<":return{value:V.value<<Y.value};case">>":return{value:V.value>>Y.value};case">>>":return{value:V.value>>>Y.value};case"+":return{value:V.value+Y.value};case"-":return{value:V.value-Y.value};case"*":return{value:V.value*Y.value};case"/":return{value:V.value/Y.value};case"%":return{value:V.value%Y.value};case"**":return{value:V.value**Y.value};case"|":return{value:V.value|Y.value};case"^":return{value:V.value^Y.value};case"&":return{value:V.value&Y.value}}return null},CallExpression(j,U){const V=j.callee,Y=K(j.arguments,U);if(Y!=null)if(V.type==="MemberExpression"){if(V.property.type==="PrivateIdentifier")return null;const le=I(V.object,U);if(le!=null){if(le.value==null&&(le.optional||j.optional))return{value:void 0,optional:!0};const te=H(V,U);if(te!=null){const q=le.value,se=te.value;if($.has(q[se]))return{value:q[se](...Y)};if(N.has(q[se]))return{value:Y[0]}}}}else{const le=I(V,U);if(le!=null){if(le.value==null&&j.optional)return{value:void 0,optional:!0};const te=le.value;if($.has(te))return{value:te(...Y)};if(N.has(te))return{value:Y[0]}}}return null},ConditionalExpression(j,U){const V=I(j.test,U);return V!=null?V.value?I(j.consequent,U):I(j.alternate,U):null},ExpressionStatement(j,U){return I(j.expression,U)},Identifier(j,U){if(U!=null){const V=d(U,j);if(V!=null){if(J(V))return{value:F[V.name]};if(ge(V)){const Y=V.defs[0];if(Y.node.id.type==="Identifier"){const le=I(Y.node.init,U);return le&&typeof le.value=="object"&&le.value!==null&&ke(V,U)?null:le}}}}return null},Literal(j){const U=j;return(U.regex!=null||U.bigint!=null)&&U.value==null?null:{value:U.value}},LogicalExpression(j,U){const V=I(j.left,U);if(V!=null){if(j.operator==="||"&&V.value||j.operator==="&&"&&!V.value||j.operator==="??"&&V.value!=null)return V;const Y=I(j.right,U);if(Y!=null)return Y}return null},MemberExpression(j,U){if(j.property.type==="PrivateIdentifier")return null;const V=I(j.object,U);if(V!=null){if(V.value==null&&(V.optional||j.optional))return{value:void 0,optional:!0};const Y=H(j,U);if(Y!=null){if(!L(V.value,Y.value))return{value:V.value[Y.value]};for(const[le,te]of _)if(V.value instanceof le&&te.has(Y.value))return{value:V.value[Y.value]}}}return null},ChainExpression(j,U){const V=I(j.expression,U);return V!=null?{value:V.value}:null},NewExpression(j,U){const V=I(j.callee,U),Y=K(j.arguments,U);if(V!=null&&Y!=null){const le=V.value;if($.has(le))return{value:new le(...Y)}}return null},ObjectExpression(j,U){const V={};for(const Y of j.properties)if(Y.type==="Property"){if(Y.kind!=="init")return null;const le=H(Y,U),te=I(Y.value,U);if(le==null||te==null)return null;V[le.value]=te.value}else if(Y.type==="SpreadElement"||Y.type==="ExperimentalSpreadProperty"){const le=I(Y.argument,U);if(le==null)return null;Object.assign(V,le.value)}else return null;return{value:V}},SequenceExpression(j,U){const V=j.expressions[j.expressions.length-1];return I(V,U)},TaggedTemplateExpression(j,U){const V=I(j.tag,U),Y=K(j.quasi.expressions,U);if(V!=null&&Y!=null){const le=V.value,te=j.quasi.quasis.map(q=>q.value.cooked);if(te.raw=j.quasi.quasis.map(q=>q.value.raw),le===String.raw)return{value:le(te,...Y)}}return null},TemplateLiteral(j,U){const V=K(j.expressions,U);if(V!=null){let Y=j.quasis[0].value.cooked;for(let le=0;le<V.length;++le)Y+=V[le],Y+=j.quasis[le+1].value.cooked;return{value:Y}}return null},UnaryExpression(j,U){if(j.operator==="delete")return null;if(j.operator==="void")return{value:void 0};const V=I(j.argument,U);if(V!=null)switch(j.operator){case"-":return{value:-V.value};case"+":return{value:+V.value};case"!":return{value:!V.value};case"~":return{value:~V.value};case"typeof":return{value:typeof V.value}}return null},TSAsExpression(j,U){return I(j.expression,U)},TSSatisfiesExpression(j,U){return I(j.expression,U)},TSTypeAssertion(j,U){return I(j.expression,U)},TSNonNullExpression(j,U){return I(j.expression,U)},TSInstantiationExpression(j,U){return I(j.expression,U)}});function I(j,U){return j!=null&&Object.hasOwnProperty.call(Z,j.type)?Z[j.type](j,U):null}function H(j,U){const V=j.type==="Property"?j.key:j.property;return j.computed?I(V,U):V.type==="Identifier"?{value:V.name}:V.type==="Literal"?V.bigint?{value:V.bigint}:{value:String(V.value)}:null}function fe(j,U=null){try{return I(j,U)}catch{return null}}function ce(j,U=null){if(j&&j.type==="Literal"&&j.value===null){const Y=j;if(Y.regex)return`/${Y.regex.pattern}/${Y.regex.flags}`;if(Y.bigint)return Y.bigint}const V=fe(j,U);if(V)try{return String(V.value)}catch{}return null}function ie(j,U){switch(j.type){case"MemberExpression":return j.computed?ce(j.property,U):j.property.type==="PrivateIdentifier"?null:j.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":return j.computed?ce(j.key,U):j.key.type==="Literal"?String(j.key.value):j.key.type==="PrivateIdentifier"?null:j.key.name}return null}function he(j,U){const V=j.parent,Y=[],le=V.type==="Property"&&V.value===j,te=V.type==="MethodDefinition"&&V.value===j,q=V.type==="PropertyDefinition"&&V.value===j;if((te||q)&&(V.static&&Y.push("static"),V.key.type==="PrivateIdentifier"&&Y.push("private")),j.async&&Y.push("async"),j.generator&&Y.push("generator"),le||te){if(V.kind==="constructor")return"constructor";V.kind==="get"?Y.push("getter"):V.kind==="set"?Y.push("setter"):Y.push("method")}else q?Y.push("method"):(j.type==="ArrowFunctionExpression"&&Y.push("arrow"),Y.push("function"));if(le||te||q)if(V.key.type==="PrivateIdentifier")Y.push(`#${V.key.name}`);else{const se=ie(V);if(se)Y.push(`'${se}'`);else if(U){const ue=U.getText(V.key);ue.includes(`
22
- `)||Y.push(`[${ue}]`)}}else Se(j)?Y.push(`'${j.id.name}'`):V.type==="VariableDeclarator"&&V.id&&V.id.type==="Identifier"?Y.push(`'${V.id.name}'`):(V.type==="AssignmentExpression"||V.type==="AssignmentPattern")&&V.left&&V.left.type==="Identifier"?Y.push(`'${V.left.name}'`):V.type==="ExportDefaultDeclaration"&&V.declaration===j&&Y.push("'default'");return Y.join(" ")}function Se(j){return!!j.id}const xe=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),we=Object.freeze(new Set(["-","+","!","~"]));function ee(j){return j!==null&&typeof j=="object"&&typeof j.type=="string"}const ne=Object.freeze(Object.assign(Object.create(null),{$visit(j,U,V){const{type:Y}=j;return typeof this[Y]=="function"?this[Y](j,U,V):this.$visitChildren(j,U,V)},$visitChildren(j,U,V){const{type:Y}=j;for(const le of V[Y]||t.getKeys(j)){const te=j[le];if(Array.isArray(te)){for(const q of te)if(ee(q)&&this.$visit(q,U,V))return!0}else if(ee(te)&&this.$visit(te,U,V))return!0}return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(j,U,V){return U.considerImplicitTypeConversion&&xe.has(j.operator)&&(j.left.type!=="Literal"||j.right.type!=="Literal")?!0:this.$visitChildren(j,U,V)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(j,U,V){return U.considerGetters||U.considerImplicitTypeConversion&&j.computed&&j.property.type!=="Literal"?!0:this.$visitChildren(j,U,V)},MethodDefinition(j,U,V){return U.considerImplicitTypeConversion&&j.computed&&j.key.type!=="Literal"?!0:this.$visitChildren(j,U,V)},NewExpression(){return!0},Property(j,U,V){return U.considerImplicitTypeConversion&&j.computed&&j.key.type!=="Literal"?!0:this.$visitChildren(j,U,V)},PropertyDefinition(j,U,V){return U.considerImplicitTypeConversion&&j.computed&&j.key.type!=="Literal"?!0:this.$visitChildren(j,U,V)},UnaryExpression(j,U,V){return j.operator==="delete"||U.considerImplicitTypeConversion&&we.has(j.operator)&&j.argument.type!=="Literal"?!0:this.$visitChildren(j,U,V)},UpdateExpression(){return!0},YieldExpression(){return!0}}));function Ae(j,U,V={}){const{considerGetters:Y=!1,considerImplicitTypeConversion:le=!1}=V;return ne.$visit(j,{considerGetters:Y,considerImplicitTypeConversion:le},U.visitorKeys||t.KEYS)}function z(j,U){const V=j.parent;switch(V.type){case"CallExpression":case"NewExpression":return V.arguments.length===1&&V.arguments[0]===j?U.getTokenAfter(V.typeParameters||V.callee,s):null;case"DoWhileStatement":return V.test===j?U.getTokenAfter(V.body,s):null;case"IfStatement":case"WhileStatement":return V.test===j?U.getFirstToken(V,1):null;case"ImportExpression":return V.source===j?U.getFirstToken(V,1):null;case"SwitchStatement":return V.discriminant===j?U.getFirstToken(V,1):null;case"WithStatement":return V.object===j?U.getFirstToken(V,1):null;default:return null}}function oe(j,U,V){let Y,le,te,q,se;if(typeof j=="number"){if(Y=j|0,le=U,te=V,!(Y>=1))throw new TypeError("'times' should be a positive integer.")}else Y=1,le=j,te=U;if(le==null||le.parent==null||le.parent.type==="CatchClause"&&le.parent.param===le)return!1;q=se=le;do q=te.getTokenBefore(q),se=te.getTokenAfter(se);while(q!=null&&se!=null&&s(q)&&a(se)&&q!==z(le,te)&&--Y>0);return Y===0}const Te=/\$(?:[$&`']|[1-9][0-9]?)/gu,Re=new WeakMap;function Pe(j,U){let V=!1;for(let Y=U-1;Y>=0&&j.charCodeAt(Y)===92;--Y)V=!V;return V}function G(j,U,V){const Y=[];let le=0;function te(q,se){switch(q){case"$$":return"$";case"$&":return se[0];case"$`":return U.slice(0,se.index);case"$'":return U.slice(se.index+se[0].length);default:{const ue=q.slice(1);return ue in se?se[ue]:q}}}for(const q of j.execAll(U))Y.push(U.slice(le,q.index)),Y.push(V.replace(Te,se=>te(se,q))),le=q.index+q[0].length;return Y.push(U.slice(le)),Y.join("")}function Je(j,U,V){const Y=[];let le=0;for(const te of j.execAll(U))Y.push(U.slice(le,te.index)),Y.push(String(V(...te,te.index,te.input))),le=te.index+te[0].length;return Y.push(U.slice(le)),Y.join("")}class lt{constructor(U,V={}){const{escaped:Y=!1}=V;if(!(U instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!U.flags.includes("g"))throw new Error("'pattern' should contains 'g' flag.");Re.set(this,{pattern:new RegExp(U.source,U.flags),escaped:!!Y})}*execAll(U){const{pattern:V,escaped:Y}=Re.get(this);let le=null,te=0;for(V.lastIndex=0;(le=V.exec(U))!=null;)(Y||!Pe(U,le.index))&&(te=V.lastIndex,yield le,V.lastIndex=te)}test(U){return!this.execAll(U).next().done}[Symbol.replace](U,V){return typeof V=="function"?Je(this,String(U),V):G(this,String(U),String(V))}}const et=/^(?:Import|Export(?:All|Default|Named))Declaration$/u;function qe(j){return et.test(j.type)&&j.source!=null}const $e=Function.call.bind(Object.hasOwnProperty),nt=Symbol("read"),pt=Symbol("call"),tt=Symbol("construct"),Qe=Symbol("esm"),vt={require:{[pt]:!0}};function Ye(j){return j==null||j.defs.length!==0||j.references.some(U=>U.isWrite())}function bt(j){const U=j.parent;if(U)switch(U.type){case"ConditionalExpression":return U.consequent===j||U.alternate===j;case"LogicalExpression":return!0;case"SequenceExpression":return U.expressions[U.expressions.length-1]===j;case"ChainExpression":return!0;case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":case"TSInstantiationExpression":return!0;default:return!1}return!1}class Ke{constructor(U,V={}){const{mode:Y="strict",globalObjectNames:le=["global","globalThis","self","window"]}=V;this.variableStack=[],this.globalScope=U,this.mode=Y,this.globalObjectNames=le.slice(0)}*iterateGlobalReferences(U){for(const V of Object.keys(U)){const Y=U[V],le=[V],te=this.globalScope.set.get(V);Ye(te)||(yield*this._iterateVariableReferences(te,le,Y,!0))}for(const V of this.globalObjectNames){const Y=[],le=this.globalScope.set.get(V);Ye(le)||(yield*this._iterateVariableReferences(le,Y,U,!1))}}*iterateCjsReferences(U){for(const{node:V}of this.iterateGlobalReferences(vt)){const Y=ce(V.arguments[0]);if(Y==null||!$e(U,Y))continue;const le=U[Y],te=[Y];le[nt]&&(yield{node:V,path:te,type:nt,info:le[nt]}),yield*this._iteratePropertyReferences(V,te,le)}}*iterateEsmReferences(U){const V=this.globalScope.block;for(const Y of V.body){if(!qe(Y))continue;const le=Y.source.value;if(!$e(U,le))continue;const te=U[le],q=[le];if(te[nt]&&(yield{node:Y,path:q,type:nt,info:te[nt]}),Y.type==="ExportAllDeclaration")for(const se of Object.keys(te)){const ue=te[se];ue[nt]&&(yield{node:Y,path:q.concat(se),type:nt,info:ue[nt]})}else for(const se of Y.specifiers){const ue=$e(te,Qe),be=this._iterateImportReferences(se,q,ue?te:this.mode==="legacy"?{default:te,...te}:{default:te});if(ue)yield*be;else for(const Oe of be)Oe.path=Oe.path.filter(We),(Oe.path.length>=2||Oe.type!==nt)&&(yield Oe)}}}*iteratePropertyReferences(U,V){yield*this._iteratePropertyReferences(U,[],V)}*_iterateVariableReferences(U,V,Y,le){if(!this.variableStack.includes(U)){this.variableStack.push(U);try{for(const te of U.references){if(!te.isRead())continue;const q=te.identifier;le&&Y[nt]&&(yield{node:q,path:V,type:nt,info:Y[nt]}),yield*this._iteratePropertyReferences(q,V,Y)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(U,V,Y){let le=U;for(;bt(le);)le=le.parent;const te=le.parent;if(te.type==="MemberExpression"){if(te.object===le){const q=ie(te);if(q==null||!$e(Y,q))return;V=V.concat(q);const se=Y[q];se[nt]&&(yield{node:te,path:V,type:nt,info:se[nt]}),yield*this._iteratePropertyReferences(te,V,se)}return}if(te.type==="CallExpression"){te.callee===le&&Y[pt]&&(yield{node:te,path:V,type:pt,info:Y[pt]});return}if(te.type==="NewExpression"){te.callee===le&&Y[tt]&&(yield{node:te,path:V,type:tt,info:Y[tt]});return}if(te.type==="AssignmentExpression"){te.right===le&&(yield*this._iterateLhsReferences(te.left,V,Y),yield*this._iteratePropertyReferences(te,V,Y));return}if(te.type==="AssignmentPattern"){te.right===le&&(yield*this._iterateLhsReferences(te.left,V,Y));return}te.type==="VariableDeclarator"&&te.init===le&&(yield*this._iterateLhsReferences(te.id,V,Y))}*_iterateLhsReferences(U,V,Y){if(U.type==="Identifier"){const le=d(this.globalScope,U);le!=null&&(yield*this._iterateVariableReferences(le,V,Y,!1));return}if(U.type==="ObjectPattern"){for(const le of U.properties){const te=ie(le);if(te==null||!$e(Y,te))continue;const q=V.concat(te),se=Y[te];se[nt]&&(yield{node:le,path:q,type:nt,info:se[nt]}),yield*this._iterateLhsReferences(le.value,q,se)}return}U.type==="AssignmentPattern"&&(yield*this._iterateLhsReferences(U.left,V,Y))}*_iterateImportReferences(U,V,Y){const le=U.type;if(le==="ImportSpecifier"||le==="ImportDefaultSpecifier"){const te=le==="ImportDefaultSpecifier"?"default":U.imported.type==="Identifier"?U.imported.name:U.imported.value;if(!$e(Y,te))return;V=V.concat(te);const q=Y[te];q[nt]&&(yield{node:U,path:V,type:nt,info:q[nt]}),yield*this._iterateVariableReferences(d(this.globalScope,U.local),V,q,!1);return}if(le==="ImportNamespaceSpecifier"){yield*this._iterateVariableReferences(d(this.globalScope,U.local),V,Y,!1);return}if(le==="ExportSpecifier"){const te=U.local.type==="Identifier"?U.local.name:U.local.value;if(!$e(Y,te))return;V=V.concat(te);const q=Y[te];q[nt]&&(yield{node:U,path:V,type:nt,info:q[nt]})}}}Ke.READ=nt,Ke.CALL=pt,Ke.CONSTRUCT=tt,Ke.ESM=Qe;function We(j,U){return!(U===1&&j==="default")}var Ee={CALL:pt,CONSTRUCT:tt,ESM:Qe,findVariable:d,getFunctionHeadLocation:B,getFunctionNameWithKind:he,getInnermostScope:p,getPropertyName:ie,getStaticValue:fe,getStringIfConstant:ce,hasSideEffect:Ae,isArrowToken:f,isClosingBraceToken:h,isClosingBracketToken:n,isClosingParenToken:a,isColonToken:u,isCommaToken:o,isCommentToken:g,isNotArrowToken:v,isNotClosingBraceToken:k,isNotClosingBracketToken:C,isNotClosingParenToken:E,isNotColonToken:T,isNotCommaToken:S,isNotCommentToken:R,isNotOpeningBraceToken:w,isNotOpeningBracketToken:A,isNotOpeningParenToken:x,isNotSemicolonToken:b,isOpeningBraceToken:i,isOpeningBracketToken:c,isOpeningParenToken:s,isParenthesized:oe,isSemicolonToken:r,PatternMatcher:lt,READ:nt,ReferenceTracker:Ke};m.CALL=pt,m.CONSTRUCT=tt,m.ESM=Qe,m.PatternMatcher=lt,m.READ=nt,m.ReferenceTracker=Ke,m.default=Ee,m.findVariable=d,m.getFunctionHeadLocation=B,m.getFunctionNameWithKind=he,m.getInnermostScope=p,m.getPropertyName=ie,m.getStaticValue=fe,m.getStringIfConstant=ce,m.hasSideEffect=Ae,m.isArrowToken=f,m.isClosingBraceToken=h,m.isClosingBracketToken=n,m.isClosingParenToken=a,m.isColonToken=u,m.isCommaToken=o,m.isCommentToken=g,m.isNotArrowToken=v,m.isNotClosingBraceToken=k,m.isNotClosingBracketToken=C,m.isNotClosingParenToken=E,m.isNotColonToken=T,m.isNotCommaToken=S,m.isNotCommentToken=R,m.isNotOpeningBraceToken=w,m.isNotOpeningBracketToken=A,m.isNotOpeningParenToken=x,m.isNotSemicolonToken=b,m.isOpeningBraceToken=i,m.isOpeningBracketToken=c,m.isOpeningParenToken=s,m.isParenthesized=oe,m.isSemicolonToken=r}(cs)),cs}var fs,id;function Zr(){if(id)return fs;id=1;function m(t,p="Assertion failed."){if(!t)throw new Error(p)}return fs=m,fs}var ps,od;function Lr(){return od||(od=1,ps=class{constructor(){this.current=null}getOneToken(){return this.moveNext()?this.current:null}getAllTokens(){const t=[];for(;this.moveNext();)t.push(this.current);return t}moveNext(){throw new Error("Not implemented.")}}),ps}var Or={},ld;function Nr(){return ld||(ld=1,Or.search=function(t,p){for(let d=0,e=t.length-1;d<=e;){const l=(d+e)/2|0,o=t[l].range[0];if(p<=o){if(l===d)return l;e=l}else d=l+1}return t.length},Or.getFirstIndex=function(t,p,d){if(d in p)return p[d];if(d-1 in p){const e=p[d-1],l=t[e];return l?l.range[0]>=d?e:e+1:t.length}return 0},Or.getLastIndex=function(t,p,d){if(d in p)return p[d]-1;if(d-1 in p){const e=p[d-1],l=t[e];return l?l.range[1]>d?e-1:e:t.length-1}return t.length-1}),Or}var ds,ud;function Sx(){if(ud)return ds;ud=1;const m=Lr(),t=Nr();return ds=class extends m{constructor(d,e,l,f,o){super(),this.tokens=d,this.comments=e,this.tokenIndex=t.getLastIndex(d,l,o),this.commentIndex=t.search(e,o)-1,this.border=f}moveNext(){const d=this.tokenIndex>=0?this.tokens[this.tokenIndex]:null,e=this.commentIndex>=0?this.comments[this.commentIndex]:null;return d&&(!e||d.range[1]>e.range[1])?(this.current=d,this.tokenIndex-=1):e?(this.current=e,this.commentIndex-=1):this.current=null,!!this.current&&(this.border===-1||this.current.range[0]>=this.border)}},ds}var ms,cd;function bx(){if(cd)return ms;cd=1;const m=Lr(),{getLastIndex:t,getFirstIndex:p}=Nr();return ms=class extends m{constructor(e,l,f,o,r){super(),this.tokens=e,this.index=t(e,f,r),this.indexEnd=p(e,f,o)}moveNext(){return this.index>=this.indexEnd?(this.current=this.tokens[this.index],this.index-=1,!0):!1}getOneToken(){return this.index>=this.indexEnd?this.tokens[this.index]:null}},ms}var hs,fd;function gs(){if(fd)return hs;fd=1;const m=Lr();return hs=class extends m{constructor(p){super(),this.cursor=p}moveNext(){const p=this.cursor.moveNext();return this.current=this.cursor.current,p}},hs}var ys,pd;function xx(){if(pd)return ys;pd=1;const m=gs();return ys=class extends m{constructor(p,d){super(p),this.predicate=d}moveNext(){const p=this.predicate;for(;super.moveNext();)if(p(this.current))return!0;return!1}},ys}var vs,dd;function Cx(){if(dd)return vs;dd=1;const m=Lr(),{getFirstIndex:t,search:p}=Nr();return vs=class extends m{constructor(e,l,f,o,r){super(),this.tokens=e,this.comments=l,this.tokenIndex=t(e,f,o),this.commentIndex=p(l,o),this.border=r}moveNext(){const e=this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex]:null,l=this.commentIndex<this.comments.length?this.comments[this.commentIndex]:null;return e&&(!l||e.range[0]<l.range[0])?(this.current=e,this.tokenIndex+=1):l?(this.current=l,this.commentIndex+=1):this.current=null,!!this.current&&(this.border===-1||this.current.range[1]<=this.border)}},vs}var Es,md;function Ss(){if(md)return Es;md=1;const m=Lr(),{getFirstIndex:t,getLastIndex:p}=Nr();return Es=class extends m{constructor(e,l,f,o,r){super(),this.tokens=e,this.index=t(e,f,o),this.indexEnd=p(e,f,r)}moveNext(){return this.index<=this.indexEnd?(this.current=this.tokens[this.index],this.index+=1,!0):!1}getOneToken(){return this.index<=this.indexEnd?this.tokens[this.index]:null}getAllTokens(){return this.tokens.slice(this.index,this.indexEnd+1)}},Es}var bs,hd;function Ax(){if(hd)return bs;hd=1;const m=gs();return bs=class extends m{constructor(p,d){super(p),this.count=d}moveNext(){return this.count>0?(this.count-=1,super.moveNext()):!1}},bs}var xs,gd;function wx(){if(gd)return xs;gd=1;const m=gs();return xs=class extends m{constructor(p,d){super(p),this.count=d}moveNext(){for(;this.count>0;)if(this.count-=1,!super.moveNext())return!1;return super.moveNext()}},xs}var Cs,yd;function Tx(){if(yd)return Cs;yd=1;const m=Sx(),t=bx(),p=xx(),d=Cx(),e=Ss(),l=Ax(),f=wx();class o{constructor(u,s){this.TokenCursor=u,this.TokenCommentCursor=s}createBaseCursor(u,s,a,c,n,i){const h=i?this.TokenCommentCursor:this.TokenCursor;return new h(u,s,a,c,n)}createCursor(u,s,a,c,n,i,h,g,v){let S=this.createBaseCursor(u,s,a,c,n,i);return h&&(S=new p(S,h)),g>=1&&(S=new f(S,g)),v>=0&&(S=new l(S,v)),S}}return Cs={forward:new o(e,d),backward:new o(t,m)},Cs}var As,vd;function kx(){if(vd)return As;vd=1;const m=Ss();return As=class extends m{constructor(p,d,e,l,f,o,r){super(p,d,e,l,f),this.index=Math.max(0,this.index-o),this.indexEnd=Math.min(p.length-1,this.indexEnd+r)}},As}var ws,Ed;function Dx(){if(Ed)return ws;Ed=1;const{isCommentToken:m}=Mt(),t=Zr(),p=Tx(),d=Ss(),e=kx(),l=Nr(),f=Symbol("tokens"),o=Symbol("comments"),r=Symbol("indexMap");function u(i,h){const g=Object.create(null);let v=0,S=0,b,T;for(;v<i.length||S<h.length;){for(b=S<h.length?h[S].range[0]:Number.MAX_SAFE_INTEGER;v<i.length&&(T=i[v].range)[0]<b;)g[T[0]]=v,g[T[1]-1]=v,v+=1;for(b=v<i.length?i[v].range[0]:Number.MAX_SAFE_INTEGER;S<h.length&&(T=h[S].range)[0]<b;)g[T[0]]=v,g[T[1]-1]=v,S+=1}return g}function s(i,h,g,v,S,b,T){let x=!1,E=0,A=null;return typeof T=="number"?E=T|0:typeof T=="function"?A=T:T&&(x=!!T.includeComments,E=T.skip|0,A=T.filter||null),t(E>=0,"options.skip should be zero or a positive integer."),t(!A||typeof A=="function","options.filter should be a function."),i.createCursor(h,g,v,S,b,x,A,E,-1)}function a(i,h,g,v,S,b,T){let x=!1,E=0,A=!1,C=null;return typeof T=="number"?(E=T|0,A=!0):typeof T=="function"?C=T:T&&(x=!!T.includeComments,E=T.count|0,A=typeof T.count=="number",C=T.filter||null),t(E>=0,"options.count should be zero or a positive integer."),t(!C||typeof C=="function","options.filter should be a function."),i.createCursor(h,g,v,S,b,x,C,0,A?E:-1)}function c(i,h,g,v,S,b,T){return typeof b>"u"&&typeof T>"u"?new d(i,h,g,v,S):typeof b=="number"||typeof b>"u"?new e(i,h,g,v,S,b|0,T|0):a(p.forward,i,h,g,v,S,b)}function n(i){const h=[];let g=i.getOneToken();for(;g&&m(g);)h.push(g),g=i.getOneToken();return h}return ws=class{constructor(h,g){this[f]=h,this[o]=g,this[r]=u(h,g)}getTokenByRangeStart(h,g){const v=g&&g.includeComments,S=p.forward.createBaseCursor(this[f],this[o],this[r],h,-1,v).getOneToken();return S&&S.range[0]===h?S:null}getFirstToken(h,g){return s(p.forward,this[f],this[o],this[r],h.range[0],h.range[1],g).getOneToken()}getLastToken(h,g){return s(p.backward,this[f],this[o],this[r],h.range[0],h.range[1],g).getOneToken()}getTokenBefore(h,g){return s(p.backward,this[f],this[o],this[r],-1,h.range[0],g).getOneToken()}getTokenAfter(h,g){return s(p.forward,this[f],this[o],this[r],h.range[1],-1,g).getOneToken()}getFirstTokenBetween(h,g,v){return s(p.forward,this[f],this[o],this[r],h.range[1],g.range[0],v).getOneToken()}getLastTokenBetween(h,g,v){return s(p.backward,this[f],this[o],this[r],h.range[1],g.range[0],v).getOneToken()}getTokenOrCommentBefore(h,g){return this.getTokenBefore(h,{includeComments:!0,skip:g})}getTokenOrCommentAfter(h,g){return this.getTokenAfter(h,{includeComments:!0,skip:g})}getFirstTokens(h,g){return a(p.forward,this[f],this[o],this[r],h.range[0],h.range[1],g).getAllTokens()}getLastTokens(h,g){return a(p.backward,this[f],this[o],this[r],h.range[0],h.range[1],g).getAllTokens().reverse()}getTokensBefore(h,g){return a(p.backward,this[f],this[o],this[r],-1,h.range[0],g).getAllTokens().reverse()}getTokensAfter(h,g){return a(p.forward,this[f],this[o],this[r],h.range[1],-1,g).getAllTokens()}getFirstTokensBetween(h,g,v){return a(p.forward,this[f],this[o],this[r],h.range[1],g.range[0],v).getAllTokens()}getLastTokensBetween(h,g,v){return a(p.backward,this[f],this[o],this[r],h.range[1],g.range[0],v).getAllTokens().reverse()}getTokens(h,g,v){return c(this[f],this[o],this[r],h.range[0],h.range[1],g,v).getAllTokens()}getTokensBetween(h,g,v){return c(this[f],this[o],this[r],h.range[1],g.range[0],v,v).getAllTokens()}commentsExistBetween(h,g){const v=l.search(this[o],h.range[1]);return v<this[o].length&&this[o][v].range[1]<=g.range[0]}getCommentsBefore(h){const g=a(p.backward,this[f],this[o],this[r],-1,h.range[0],{includeComments:!0});return n(g).reverse()}getCommentsAfter(h){const g=a(p.forward,this[f],this[o],this[r],h.range[1],-1,{includeComments:!0});return n(g)}getCommentsInside(h){return this.getTokens(h,{includeComments:!0,filter:m})}},ws}var Ts,Sd;function en(){if(Sd)return Ts;Sd=1;const m=/^(?:(?:Do)?While|For(?:In|Of)?|Switch)Statement$/u,t=/\r\n|[\r\n\u2028\u2029]/u,p=/^#!([^\r\n]+)/u;function d(){return new RegExp(t.source,"gu")}return Ts={breakableTypePattern:m,lineBreakPattern:t,createGlobalLinebreakMatcher:d,shebangPattern:p},Ts}var ks,bd;function xd(){if(bd)return ks;bd=1;const m={exports:!0,global:!1,module:!1,require:!1},t={Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},p={...t,JSON:!1},d={...p,ArrayBuffer:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,WeakMap:!1,WeakSet:!1},e={...d},l={...e,Atomics:!1,SharedArrayBuffer:!1},f={...l},o={...f},r={...o,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},u={...r,AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1},s={...u},a={...s},c={...a},n={...c,Float16Array:!1,Iterator:!1},i={...n,AsyncDisposableStack:!1,DisposableStack:!1,SuppressedError:!1};return ks={commonjs:m,es3:t,es5:p,es2015:d,es2016:e,es2017:l,es2018:f,es2019:o,es2020:r,es2021:u,es2022:s,es2023:a,es2024:c,es2025:n,es2026:i},ks}var Ds,Cd;function Ad(){return Cd||(Cd=1,Ds={directivesPattern:/^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u}),Ds}var Is,wd;function Td(){if(wd)return Is;wd=1;const m=hr()("eslint:code-path");function t(d){return d.id+(d.reachable?"":"!")}function p(d,e){const l=e?`:${e}`:"";switch(d.type){case"Identifier":return`${d.type}${l} (${d.name})`;case"Literal":return`${d.type}${l} (${d.value})`;default:return`${d.type}${l}`}}return Is={enabled:m.enabled,dump:m,dumpState:m.enabled?function(d,e,l){for(let f=0;f<e.currentSegments.length;++f){const o=e.currentSegments[f].internal;if(l){const r=o.nodes.length-1;r>=0&&o.nodes[r]===p(d,"enter")?o.nodes[r]=p(d,void 0):o.nodes.push(p(d,"exit"))}else o.nodes.push(p(d,"enter"))}m([`${e.currentSegments.map(t).join(",")})`,`${d.type}${l?":exit":""}`].join(" "))}:m,dumpDot:m.enabled?function(d){let e=`
23
- digraph {
24
- node[shape=box,style="rounded,filled",fillcolor=white];
25
- initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
26
- `;d.returnedSegments.length>0&&(e+=`final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
27
- `),d.thrownSegments.length>0&&(e+=`thrown[label="✘",shape=circle,width=0.3,height=0.3,fixedsize=true];
28
- `);const l=Object.create(null),f=this.makeDotArrows(d,l);for(const o in l){const r=l[o];e+=`${o}[`,r.reachable?e+='label="':e+='style="rounded,dashed,filled",fillcolor="#FF9800",label="<<unreachable>>\\n',r.internal.nodes.length>0?e+=r.internal.nodes.join("\\n"):e+="????",e+=`"];
29
- `}e+=`${f}
30
- `,e+="}",m("DOT",e)}:m,makeDotArrows(d,e){const l=[[d.initialSegment,0]],f=e||Object.create(null);let o=d.initialSegment.id,r=`initial->${d.initialSegment.id}`;for(;l.length>0;){const u=l.pop(),s=u[0],a=u[1];if(f[s.id]&&a===0)continue;f[s.id]=s;const c=s.allNextSegments[a];c&&(o===s.id?r+=`->${c.id}`:r+=`;
31
- ${s.id}->${c.id}`,o=c.id,l.unshift([s,1+a]),l.push([c,0]))}return d.returnedSegments.forEach(u=>{o===u.id?r+="->final":r+=`;
32
- ${u.id}->final`,o=null}),d.thrownSegments.forEach(u=>{o===u.id?r+="->thrown":r+=`;
33
- ${u.id}->thrown`,o=null}),`${r};`}},Is}var Ps,kd;function Fs(){if(kd)return Ps;kd=1;const m=Td();function t(d){return d.reachable}class p{constructor(e,l,f){this.id=e,this.nextSegments=[],this.prevSegments=l.filter(t),this.allNextSegments=[],this.allPrevSegments=l,this.reachable=f,Object.defineProperty(this,"internal",{value:{used:!1,loopedPrevSegments:[]}}),m.enabled&&(this.internal.nodes=[])}isLoopedPrevSegment(e){return this.internal.loopedPrevSegments.includes(e)}static newRoot(e){return new p(e,[],!0)}static newNext(e,l){return new p(e,p.flattenUnusedSegments(l),l.some(t))}static newUnreachable(e,l){const f=new p(e,p.flattenUnusedSegments(l),!1);return p.markUsed(f),f}static newDisconnected(e,l){return new p(e,[],l.some(t))}static markUsed(e){if(e.internal.used)return;e.internal.used=!0;let l;if(e.reachable)for(l=0;l<e.allPrevSegments.length;++l){const f=e.allPrevSegments[l];f.allNextSegments.push(e),f.nextSegments.push(e)}else for(l=0;l<e.allPrevSegments.length;++l)e.allPrevSegments[l].allNextSegments.push(e)}static markPrevSegmentAsLooped(e,l){e.internal.loopedPrevSegments.push(l)}static flattenUnusedSegments(e){const l=new Set;for(let f=0;f<e.length;++f){const o=e[f];if(!l.has(o))if(o.internal.used)l.add(o);else for(let r=0;r<o.allPrevSegments.length;++r){const u=o.allPrevSegments[r];l.has(u)||l.add(u)}}return[...l]}}return Ps=p,Ps}var Rs,Dd;function Ix(){if(Dd)return Rs;Dd=1;const m=Zr(),t=Fs();function p(f){return f.reachable}function d(f,o,r,u){const s=f.segmentsList,a=o>=0?o:s.length+o,c=r>=0?r:s.length+r,n=[];for(let i=0;i<f.count;++i){const h=[];for(let g=a;g<=c;++g)h.push(s[g][i]);n.push(u(f.idGenerator.next(),h))}return n}function e(f,o){let r=o;for(;r.length>f.count;){const u=[];for(let s=0,a=Math.floor(r.length/2);s<a;++s)u.push(t.newNext(f.idGenerator.next(),[r[s],r[s+a]]));r=u}return r}class l{constructor(o,r,u){this.idGenerator=o,this.upper=r,this.count=u,this.segmentsList=[]}get head(){const o=this.segmentsList;return o.length===0?[]:o.at(-1)}get empty(){return this.segmentsList.length===0}get reachable(){const o=this.head;return o.length>0&&o.some(p)}makeNext(o,r){return d(this,o,r,t.newNext)}makeUnreachable(o,r){return d(this,o,r,t.newUnreachable)}makeDisconnected(o,r){return d(this,o,r,t.newDisconnected)}add(o){m(o.length>=this.count,`${o.length} >= ${this.count}`),this.segmentsList.push(e(this,o))}replaceHead(o){m(o.length>=this.count,`${o.length} >= ${this.count}`),this.segmentsList.splice(-1,1,e(this,o))}addAll(o){m(o.count===this.count),this.segmentsList.push(...o.segmentsList)}clear(){this.segmentsList=[]}static newRoot(o){const r=new l(o,null,1);return r.add([t.newRoot(o.next())]),r}static newEmpty(o,r){return new l(o.idGenerator,o,(r?2:1)*o.count)}}return Rs=l,Rs}var _s,Id;function Px(){if(Id)return _s;Id=1;const m=Fs(),t=Ix();class p{constructor(C,w,k,R){this.upper=C,this.breakable=w,this.label=k,this.brokenForkContext=t.newEmpty(R)}}class d{constructor(C){this.upper=C,this.choiceContextCount=0}}class e{constructor(C,w,k,R){this.upper=C,this.kind=w,this.isForkingAsResult=k,this.trueForkContext=t.newEmpty(R),this.falseForkContext=t.newEmpty(R),this.nullishForkContext=t.newEmpty(R),this.processed=!1}}class l{constructor(C,w,k,R){this.upper=C,this.type=w,this.label=k,this.brokenForkContext=R.brokenForkContext}}class f extends l{constructor(C,w,k){super(C,"WhileStatement",w,k),this.test=void 0,this.continueDestSegments=null}}class o extends l{constructor(C,w,k,R){super(C,"DoWhileStatement",w,k),this.test=void 0,this.entrySegments=null,this.continueForkContext=t.newEmpty(R)}}class r extends l{constructor(C,w,k){super(C,"ForStatement",w,k),this.test=void 0,this.endOfInitSegments=null,this.testSegments=null,this.endOfTestSegments=null,this.updateSegments=null,this.endOfUpdateSegments=null,this.continueDestSegments=null}}class u extends l{constructor(C,w,k){super(C,"ForInStatement",w,k),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}}class s extends l{constructor(C,w,k){super(C,"ForOfStatement",w,k),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}}class a{constructor(C,w){this.upper=C,this.hasCase=w,this.defaultSegments=null,this.defaultBodySegments=null,this.foundEmptyDefault=!1,this.lastIsDefault=!1,this.forkCount=0}}class c{constructor(C,w,k){this.upper=C,this.hasFinalizer=w,this.position="try",this.returnedForkContext=w?t.newEmpty(k):null,this.thrownForkContext=t.newEmpty(k),this.lastOfTryIsReachable=!1,this.lastOfCatchIsReachable=!1}}function n(A,C,w,k){for(let R=0;R<k.length;++R){const P=k[R];A.push(P),C.includes(P)||w.push(P)}}function i(A,C){if(!C)return A.loopContext;let w=A.loopContext;for(;w;){if(w.label===C)return w;w=w.upper}return null}function h(A,C){let w=A.breakContext;for(;w;){if(C?w.label===C:w.breakable)return w;w=w.upper}return null}function g(A){let C=A.tryContext;for(;C;){if(C.hasFinalizer&&C.position!=="finally")return C;C=C.upper}return A}function v(A){let C=A.tryContext;for(;C;){if(C.position==="try"||C.hasFinalizer&&C.position==="catch")return C;C=C.upper}return A}function S(A,C){A.splice(A.indexOf(C),1)}function b(A,C){for(let w=0;w<A.length;++w){const k=A[w],R=C[w];S(k.nextSegments,R),S(k.allNextSegments,R),S(R.prevSegments,k),S(R.allPrevSegments,k)}}function T(A,C,w){const k=m.flattenUnusedSegments(C),R=m.flattenUnusedSegments(w),P=Math.min(k.length,R.length);for(let B=0;B<P;++B){const F=k[B],O=R[B];O.reachable&&F.nextSegments.push(O),F.reachable&&O.prevSegments.push(F),F.allNextSegments.push(O),O.allPrevSegments.push(F),O.allPrevSegments.length>=2&&m.markPrevSegmentAsLooped(O,F),A.notifyLooped(F,O)}}function x(A,C,w){C.processed||(C.trueForkContext.add(w),C.falseForkContext.add(w),C.nullishForkContext.add(w)),A.test!==!0&&A.brokenForkContext.addAll(C.falseForkContext),A.endOfTestSegments=C.trueForkContext.makeNext(0,-1)}class E{constructor(C,w){this.idGenerator=C,this.notifyLooped=w,this.forkContext=t.newRoot(C),this.choiceContext=null,this.switchContext=null,this.tryContext=null,this.loopContext=null,this.breakContext=null,this.chainContext=null,this.currentSegments=[],this.initialSegment=this.forkContext.head[0],this.finalSegments=[],this.returnedForkContext=[],this.thrownForkContext=[];const k=this.finalSegments,R=this.returnedForkContext,P=this.thrownForkContext;R.add=n.bind(null,R,P,k),P.add=n.bind(null,P,R,k)}get headSegments(){return this.forkContext.head}get parentForkContext(){const C=this.forkContext;return C&&C.upper}pushForkContext(C){return this.forkContext=t.newEmpty(this.forkContext,C),this.forkContext}popForkContext(){const C=this.forkContext;return this.forkContext=C.upper,this.forkContext.replaceHead(C.makeNext(0,-1)),C}forkPath(){this.forkContext.add(this.parentForkContext.makeNext(-1,-1))}forkBypassPath(){this.forkContext.add(this.parentForkContext.head)}pushChoiceContext(C,w){this.choiceContext=new e(this.choiceContext,C,w,this.forkContext)}popChoiceContext(){const C=this.choiceContext,w=this.forkContext,k=w.head;switch(this.choiceContext=C.upper,C.kind){case"&&":case"||":case"??":if(C.processed||(C.trueForkContext.add(k),C.falseForkContext.add(k),C.nullishForkContext.add(k)),C.isForkingAsResult){const P=this.choiceContext;return P.trueForkContext.addAll(C.trueForkContext),P.falseForkContext.addAll(C.falseForkContext),P.nullishForkContext.addAll(C.nullishForkContext),P.processed=!0,C}break;case"test":C.processed?(C.falseForkContext.clear(),C.falseForkContext.add(k)):(C.trueForkContext.clear(),C.trueForkContext.add(k));break;case"loop":return C;default:throw new Error("unreachable")}const R=C.trueForkContext;return R.addAll(C.falseForkContext),w.replaceHead(R.makeNext(0,-1)),C}makeLogicalRight(){const C=this.choiceContext,w=this.forkContext;if(C.processed){let k;switch(C.kind){case"&&":k=C.trueForkContext;break;case"||":k=C.falseForkContext;break;case"??":k=C.nullishForkContext;break;default:throw new Error("unreachable")}w.replaceHead(k.makeNext(0,-1)),k.clear(),C.processed=!1}else{switch(C.kind){case"&&":C.falseForkContext.add(w.head),C.nullishForkContext.add(w.head);break;case"||":C.trueForkContext.add(w.head);break;case"??":C.trueForkContext.add(w.head),C.falseForkContext.add(w.head);break;default:throw new Error("unreachable")}w.replaceHead(w.makeNext(-1,-1))}}makeIfConsequent(){const C=this.choiceContext,w=this.forkContext;C.processed||(C.trueForkContext.add(w.head),C.falseForkContext.add(w.head),C.nullishForkContext.add(w.head)),C.processed=!1,w.replaceHead(C.trueForkContext.makeNext(0,-1))}makeIfAlternate(){const C=this.choiceContext,w=this.forkContext;C.trueForkContext.clear(),C.trueForkContext.add(w.head),C.processed=!0,w.replaceHead(C.falseForkContext.makeNext(0,-1))}pushChainContext(){this.chainContext=new d(this.chainContext)}popChainContext(){const C=this.chainContext;this.chainContext=C.upper;for(let w=C.choiceContextCount;w>0;--w)this.popChoiceContext()}makeOptionalNode(){this.chainContext&&(this.chainContext.choiceContextCount+=1,this.pushChoiceContext("??",!1))}makeOptionalRight(){this.chainContext&&this.makeLogicalRight()}pushSwitchContext(C,w){this.switchContext=new a(this.switchContext,C),this.pushBreakContext(!0,w)}popSwitchContext(){const C=this.switchContext;this.switchContext=C.upper;const w=this.forkContext,k=this.popBreakContext().brokenForkContext;if(C.forkCount===0){k.empty||(k.add(w.makeNext(-1,-1)),w.replaceHead(k.makeNext(0,-1)));return}const R=w.head;this.forkBypassPath();const P=w.head;k.add(R),C.lastIsDefault||(C.defaultBodySegments?(b(C.defaultSegments,C.defaultBodySegments),T(this,P,C.defaultBodySegments)):k.add(P));for(let B=0;B<C.forkCount;++B)this.forkContext=this.forkContext.upper;this.forkContext.replaceHead(k.makeNext(0,-1))}makeSwitchCaseBody(C,w){const k=this.switchContext;if(!k.hasCase)return;const R=this.forkContext,P=this.pushForkContext();P.add(R.makeNext(0,-1)),w?(k.defaultSegments=R.head,C?k.foundEmptyDefault=!0:k.defaultBodySegments=P.head):!C&&k.foundEmptyDefault&&(k.foundEmptyDefault=!1,k.defaultBodySegments=P.head),k.lastIsDefault=w,k.forkCount+=1}pushTryContext(C){this.tryContext=new c(this.tryContext,C,this.forkContext)}popTryContext(){const C=this.tryContext;if(this.tryContext=C.upper,C.position==="catch"){this.popForkContext();return}const w=C.returnedForkContext,k=C.thrownForkContext;if(w.empty&&k.empty)return;const R=this.forkContext.head;this.forkContext=this.forkContext.upper;const P=R.slice(0,R.length/2|0),B=R.slice(R.length/2|0);w.empty||g(this).returnedForkContext.add(B),k.empty||v(this).thrownForkContext.add(B),this.forkContext.replaceHead(P),!C.lastOfTryIsReachable&&!C.lastOfCatchIsReachable&&this.forkContext.makeUnreachable()}makeCatchBlock(){const C=this.tryContext,w=this.forkContext,k=C.thrownForkContext;C.position="catch",C.thrownForkContext=t.newEmpty(w),C.lastOfTryIsReachable=w.reachable,k.add(w.head);const R=k.makeNext(0,-1);this.pushForkContext(),this.forkBypassPath(),this.forkContext.add(R)}makeFinallyBlock(){const C=this.tryContext;let w=this.forkContext;const k=C.returnedForkContext,R=C.thrownForkContext,P=w.head;if(C.position==="catch"?(this.popForkContext(),w=this.forkContext,C.lastOfCatchIsReachable=w.reachable):C.lastOfTryIsReachable=w.reachable,C.position="finally",k.empty&&R.empty)return;const B=w.makeNext(-1,-1);for(let F=0;F<w.count;++F){const O=[P[F]];for(let $=0;$<k.segmentsList.length;++$)O.push(k.segmentsList[$][F]);for(let $=0;$<R.segmentsList.length;++$)O.push(R.segmentsList[$][F]);B.push(m.newNext(this.idGenerator.next(),O))}this.pushForkContext(!0),this.forkContext.add(B)}makeFirstThrowablePathInTryBlock(){const C=this.forkContext;if(!C.reachable)return;const w=v(this);w===this||w.position!=="try"||!w.thrownForkContext.empty||(w.thrownForkContext.add(C.head),C.replaceHead(C.makeNext(-1,-1)))}pushLoopContext(C,w){const k=this.forkContext,R=this.pushBreakContext(!0,w);switch(C){case"WhileStatement":this.pushChoiceContext("loop",!1),this.loopContext=new f(this.loopContext,w,R);break;case"DoWhileStatement":this.pushChoiceContext("loop",!1),this.loopContext=new o(this.loopContext,w,R,k);break;case"ForStatement":this.pushChoiceContext("loop",!1),this.loopContext=new r(this.loopContext,w,R);break;case"ForInStatement":this.loopContext=new u(this.loopContext,w,R);break;case"ForOfStatement":this.loopContext=new s(this.loopContext,w,R);break;default:throw new Error(`unknown type: "${C}"`)}}popLoopContext(){const C=this.loopContext;this.loopContext=C.upper;const w=this.forkContext,k=this.popBreakContext().brokenForkContext;switch(C.type){case"WhileStatement":case"ForStatement":this.popChoiceContext(),T(this,w.head,C.continueDestSegments);break;case"DoWhileStatement":{const R=this.popChoiceContext();R.processed||(R.trueForkContext.add(w.head),R.falseForkContext.add(w.head)),C.test!==!0&&k.addAll(R.falseForkContext);const P=R.trueForkContext.segmentsList;for(let B=0;B<P.length;++B)T(this,P[B],C.entrySegments);break}case"ForInStatement":case"ForOfStatement":k.add(w.head),T(this,w.head,C.leftSegments);break;default:throw new Error("unreachable")}k.empty?w.replaceHead(w.makeUnreachable(-1,-1)):w.replaceHead(k.makeNext(0,-1))}makeWhileTest(C){const w=this.loopContext,k=this.forkContext,R=k.makeNext(0,-1);w.test=C,w.continueDestSegments=R,k.replaceHead(R)}makeWhileBody(){const C=this.loopContext,w=this.choiceContext,k=this.forkContext;w.processed||(w.trueForkContext.add(k.head),w.falseForkContext.add(k.head)),C.test!==!0&&C.brokenForkContext.addAll(w.falseForkContext),k.replaceHead(w.trueForkContext.makeNext(0,-1))}makeDoWhileBody(){const C=this.loopContext,w=this.forkContext,k=w.makeNext(-1,-1);C.entrySegments=k,w.replaceHead(k)}makeDoWhileTest(C){const w=this.loopContext,k=this.forkContext;if(w.test=C,!w.continueForkContext.empty){w.continueForkContext.add(k.head);const R=w.continueForkContext.makeNext(0,-1);k.replaceHead(R)}}makeForTest(C){const w=this.loopContext,k=this.forkContext,R=k.head,P=k.makeNext(-1,-1);w.test=C,w.endOfInitSegments=R,w.continueDestSegments=w.testSegments=P,k.replaceHead(P)}makeForUpdate(){const C=this.loopContext,w=this.choiceContext,k=this.forkContext;C.testSegments?x(C,w,k.head):C.endOfInitSegments=k.head;const R=k.makeDisconnected(-1,-1);C.continueDestSegments=C.updateSegments=R,k.replaceHead(R)}makeForBody(){const C=this.loopContext,w=this.choiceContext,k=this.forkContext;C.updateSegments?(C.endOfUpdateSegments=k.head,C.testSegments&&T(this,C.endOfUpdateSegments,C.testSegments)):C.testSegments?x(C,w,k.head):C.endOfInitSegments=k.head;let R=C.endOfTestSegments;if(!R){const P=t.newEmpty(k);P.add(C.endOfInitSegments),C.endOfUpdateSegments&&P.add(C.endOfUpdateSegments),R=P.makeNext(0,-1)}C.continueDestSegments=C.continueDestSegments||R,k.replaceHead(R)}makeForInOfLeft(){const C=this.loopContext,w=this.forkContext,k=w.makeDisconnected(-1,-1);C.prevSegments=w.head,C.leftSegments=C.continueDestSegments=k,w.replaceHead(k)}makeForInOfRight(){const C=this.loopContext,w=this.forkContext,k=t.newEmpty(w);k.add(C.prevSegments);const R=k.makeNext(-1,-1);C.endOfLeftSegments=w.head,w.replaceHead(R)}makeForInOfBody(){const C=this.loopContext,w=this.forkContext,k=t.newEmpty(w);k.add(C.endOfLeftSegments);const R=k.makeNext(-1,-1);T(this,w.head,C.leftSegments),C.brokenForkContext.add(w.head),w.replaceHead(R)}pushBreakContext(C,w){return this.breakContext=new p(this.breakContext,C,w,this.forkContext),this.breakContext}popBreakContext(){const C=this.breakContext,w=this.forkContext;if(this.breakContext=C.upper,!C.breakable){const k=C.brokenForkContext;k.empty||(k.add(w.head),w.replaceHead(k.makeNext(0,-1)))}return C}makeBreak(C){const w=this.forkContext;if(!w.reachable)return;const k=h(this,C);k&&k.brokenForkContext.add(w.head),w.replaceHead(w.makeUnreachable(-1,-1))}makeContinue(C){const w=this.forkContext;if(!w.reachable)return;const k=i(this,C);k&&(k.continueDestSegments?(T(this,w.head,k.continueDestSegments),(k.type==="ForInStatement"||k.type==="ForOfStatement")&&k.brokenForkContext.add(w.head)):k.continueForkContext.add(w.head)),w.replaceHead(w.makeUnreachable(-1,-1))}makeReturn(){const C=this.forkContext;C.reachable&&(g(this).returnedForkContext.add(C.head),C.replaceHead(C.makeUnreachable(-1,-1)))}makeThrow(){const C=this.forkContext;C.reachable&&(v(this).thrownForkContext.add(C.head),C.replaceHead(C.makeUnreachable(-1,-1)))}makeFinal(){const C=this.currentSegments;C.length>0&&C[0].reachable&&this.returnedForkContext.add(C)}}return _s=E,_s}var Bs,Pd;function Fd(){if(Pd)return Bs;Pd=1;class m{constructor(p){this.prefix=String(p),this.n=0}next(){return this.n=1+this.n|0,this.n<0&&(this.n=1),this.prefix+this.n}}return Bs=m,Bs}var Ls,Rd;function Fx(){if(Rd)return Ls;Rd=1;const m=Px(),t=Fd();class p{constructor({id:e,origin:l,upper:f,onLooped:o}){this.id=e,this.origin=l,this.upper=f,this.childCodePaths=[],Object.defineProperty(this,"internal",{value:new m(new t(`${e}_`),o)}),f&&f.childCodePaths.push(this)}static getState(e){return e.internal}get initialSegment(){return this.internal.initialSegment}get finalSegments(){return this.internal.finalSegments}get returnedSegments(){return this.internal.returnedForkContext}get thrownSegments(){return this.internal.thrownForkContext}traverseSegments(e,l){let f,o;typeof e=="function"?(o=e,f={}):(f=e||{},o=l);const r=f.first||this.internal.initialSegment,u=f.last;let s,a,c,n=null;const i=new Set,h=[[r,0]],g=new Set;let v=!1;const S={skip(){g.add(n)},break(){v=!0}};function b(x){return i.has(x)||n.isLoopedPrevSegment(x)}function T(x){return g.has(x)||n.isLoopedPrevSegment(x)}for(;h.length>0;){if(s=h.at(-1),n=s[0],a=s[1],a===0){if(i.has(n)){h.pop();continue}if(n!==r&&n.prevSegments.length>0&&!n.prevSegments.every(b)){h.pop();continue}if(i.add(n),g.size>0&&n.prevSegments.length>0&&n.prevSegments.every(T))g.add(n);else if(o.call(this,n,S),n===u&&S.skip(),v)break}c=n.nextSegments.length-1,a<c?(s[1]+=1,h.push([n.nextSegments[a],0])):a===c?(s[0]=n.nextSegments[a],s[1]=0):h.pop()}}}return Ls=p,Ls}var Os,_d;function Rx(){if(_d)return Os;_d=1;const m=Zr(),{breakableTypePattern:t}=en(),p=Fx(),d=Fs(),e=Fd(),l=Td();function f(x){return!!x.test}function o(x){const E=x.parent;return E&&E.type==="PropertyDefinition"&&E.value===x}function r(x){return x==="&&"||x==="||"||x==="??"}function u(x){return x==="&&="||x==="||="||x==="??="}function s(x){return x.parent.type==="LabeledStatement"?x.parent.label.name:null}function a(x){const E=x.parent;switch(E.type){case"ConditionalExpression":case"IfStatement":case"WhileStatement":case"DoWhileStatement":case"ForStatement":return E.test===x;case"LogicalExpression":return r(E.operator);case"AssignmentExpression":return u(E.operator);default:return!1}}function c(x){if(x.type==="Literal")return!!x.value}function n(x){const E=x.parent;switch(E.type){case"LabeledStatement":case"BreakStatement":case"ContinueStatement":case"ArrayPattern":case"RestElement":case"ImportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"CatchClause":return!1;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ClassDeclaration":case"ClassExpression":case"VariableDeclarator":return E.id!==x;case"Property":case"PropertyDefinition":case"MethodDefinition":return E.key!==x||E.computed||E.shorthand;case"AssignmentPattern":return E.key!==x;default:return!0}}function i(x,E){const A=x.codePath,C=p.getState(A),w=C.currentSegments,k=C.headSegments,R=Math.max(w.length,k.length);let P,B,F;for(P=0;P<R;++P)if(B=w[P],F=k[P],B!==F&&B){const O=B.reachable?"onCodePathSegmentEnd":"onUnreachableCodePathSegmentEnd";l.dump(`${O} ${B.id}`),x.emit(O,[B,E])}for(C.currentSegments=k,P=0;P<R;++P)if(B=w[P],F=k[P],B!==F&&F){const O=F.reachable?"onCodePathSegmentStart":"onUnreachableCodePathSegmentStart";l.dump(`${O} ${F.id}`),d.markUsed(F),x.emit(O,[F,E])}}function h(x,E){const A=p.getState(x.codePath),C=A.currentSegments;for(let w=0;w<C.length;++w){const k=C[w],R=k.reachable?"onCodePathSegmentEnd":"onUnreachableCodePathSegmentEnd";l.dump(`${R} ${k.id}`),x.emit(R,[k,E])}A.currentSegments=[]}function g(x,E){const A=x.codePath,C=p.getState(A),w=E.parent;switch(w.type){case"CallExpression":w.optional===!0&&w.arguments.length>=1&&w.arguments[0]===E&&C.makeOptionalRight();break;case"MemberExpression":w.optional===!0&&w.property===E&&C.makeOptionalRight();break;case"LogicalExpression":w.right===E&&r(w.operator)&&C.makeLogicalRight();break;case"AssignmentExpression":w.right===E&&u(w.operator)&&C.makeLogicalRight();break;case"ConditionalExpression":case"IfStatement":w.consequent===E?C.makeIfConsequent():w.alternate===E&&C.makeIfAlternate();break;case"SwitchCase":w.consequent[0]===E&&C.makeSwitchCaseBody(!1,!w.test);break;case"TryStatement":w.handler===E?C.makeCatchBlock():w.finalizer===E&&C.makeFinallyBlock();break;case"WhileStatement":w.test===E?C.makeWhileTest(c(E)):(m(w.body===E),C.makeWhileBody());break;case"DoWhileStatement":w.body===E?C.makeDoWhileBody():(m(w.test===E),C.makeDoWhileTest(c(E)));break;case"ForStatement":w.test===E?C.makeForTest(c(E)):w.update===E?C.makeForUpdate():w.body===E&&C.makeForBody();break;case"ForInStatement":case"ForOfStatement":w.left===E?C.makeForInOfLeft():w.right===E?C.makeForInOfRight():(m(w.body===E),C.makeForInOfBody());break;case"AssignmentPattern":w.right===E&&(C.pushForkContext(),C.forkBypassPath(),C.forkPath());break}}function v(x,E){let A=x.codePath,C=A&&p.getState(A);const w=E.parent;function k(R){A&&(i(x,E),l.dumpState(E,C,!1)),A=x.codePath=new p({id:x.idGenerator.next(),origin:R,upper:A,onLooped:x.onLooped}),C=p.getState(A),l.dump(`onCodePathStart ${A.id}`),x.emit("onCodePathStart",[A,E])}switch(o(E)&&k("class-field-initializer"),E.type){case"Program":k("program");break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":k("function");break;case"StaticBlock":k("class-static-block");break;case"ChainExpression":C.pushChainContext();break;case"CallExpression":E.optional===!0&&C.makeOptionalNode();break;case"MemberExpression":E.optional===!0&&C.makeOptionalNode();break;case"LogicalExpression":r(E.operator)&&C.pushChoiceContext(E.operator,a(E));break;case"AssignmentExpression":u(E.operator)&&C.pushChoiceContext(E.operator.slice(0,-1),a(E));break;case"ConditionalExpression":case"IfStatement":C.pushChoiceContext("test",!1);break;case"SwitchStatement":C.pushSwitchContext(E.cases.some(f),s(E));break;case"TryStatement":C.pushTryContext(!!E.finalizer);break;case"SwitchCase":w.discriminant!==E&&w.cases[0]!==E&&C.forkPath();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":C.pushLoopContext(E.type,s(E));break;case"LabeledStatement":t.test(E.body.type)||C.pushBreakContext(!1,E.label.name);break}i(x,E),l.dumpState(E,C,!1)}function S(x,E){const A=x.codePath,C=p.getState(A);let w=!1;switch(E.type){case"ChainExpression":C.popChainContext();break;case"IfStatement":case"ConditionalExpression":C.popChoiceContext();break;case"LogicalExpression":r(E.operator)&&C.popChoiceContext();break;case"AssignmentExpression":u(E.operator)&&C.popChoiceContext();break;case"SwitchStatement":C.popSwitchContext();break;case"SwitchCase":E.consequent.length===0&&C.makeSwitchCaseBody(!0,!E.test),C.forkContext.reachable&&(w=!0);break;case"TryStatement":C.popTryContext();break;case"BreakStatement":i(x,E),C.makeBreak(E.label&&E.label.name),w=!0;break;case"ContinueStatement":i(x,E),C.makeContinue(E.label&&E.label.name),w=!0;break;case"ReturnStatement":i(x,E),C.makeReturn(),w=!0;break;case"ThrowStatement":i(x,E),C.makeThrow(),w=!0;break;case"Identifier":n(E)&&(C.makeFirstThrowablePathInTryBlock(),w=!0);break;case"CallExpression":case"ImportExpression":case"MemberExpression":case"NewExpression":case"YieldExpression":C.makeFirstThrowablePathInTryBlock();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":C.popLoopContext();break;case"AssignmentPattern":C.popForkContext();break;case"LabeledStatement":t.test(E.body.type)||C.popBreakContext();break}w||i(x,E),l.dumpState(E,C,!0)}function b(x,E){function A(){let C=x.codePath;p.getState(C).makeFinal(),h(x,E),l.dump(`onCodePathEnd ${C.id}`),x.emit("onCodePathEnd",[C,E]),l.dumpDot(C),C=x.codePath=x.codePath.upper,C&&l.dumpState(E,p.getState(C),!0)}switch(E.type){case"Program":case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"StaticBlock":{A();break}case"CallExpression":E.optional===!0&&E.arguments.length===0&&p.getState(x.codePath).makeOptionalRight();break}o(E)&&A()}class T{constructor(E){this.original=E,this.emit=E.emit,this.codePath=null,this.idGenerator=new e("s"),this.currentNode=null,this.onLooped=this.onLooped.bind(this)}enterNode(E){this.currentNode=E,E.parent&&g(this,E),v(this,E),this.original.enterNode(E),this.currentNode=null}leaveNode(E){this.currentNode=E,S(this,E),this.original.leaveNode(E),b(this,E),this.currentNode=null}onLooped(E,A){E.reachable&&A.reachable&&(l.dump(`onCodePathSegmentLoop ${E.id} -> ${A.id}`),this.emit("onCodePathSegmentLoop",[E,A,this.currentNode]))}}return Os=T,Os}var gr={},Ns={exports:{}},Ms={exports:{}},js,Bd;function _x(){if(Bd)return js;Bd=1;var m,t,p,d,e,l,f={}.toString;m=o(function(r,u){return r.apply(null,u)}),t=function(r){return o(r)},p=o(function(r,u,s){return r(s,u)}),d=function(r){return function(u){return function(){return r(u(u)).apply(null,arguments)}}(function(u){return function(){return r(u(u)).apply(null,arguments)}})},e=o(function(r,u,s,a){return r(u(s),u(a))}),l=function(r){var u;return u={},function(){var s,a,c,n,i,h;for(a=[],c=0,n=arguments.length;c<n;++c)a.push(arguments[c]);return s=a,i=function(){var g,v,S,b=[];for(g=0,S=(v=s).length;g<S;++g)h=v[g],b.push(h+f.call(h).slice(8,-1));return b}().join(""),u[i]=i in u?u[i]:r.apply(null,s)}},js={curry:t,flip:p,fix:d,apply:m,over:e,memoize:l};function o(r,u){var s,a=function(c){return r.length>1?function(){var n=c?c.concat():[];return s=this,n.push.apply(n,arguments)<r.length&&arguments.length?a.call(s,n):r.apply(s,n)}:r};return a()}return js}var Us,Ld;function Bx(){if(Ld)return Us;Ld=1;var m,t,p,d,e,l,f,o,r,u,s,a,c,n,i,h,g,v,S,b,T,x,E,A,C,w,k,R,P,B,F,O,$,N,_,X,L,K,J,ge,ae,ke,Z,I,H,fe,ce,ie,he,Se,xe,we,ee,ne,Ae,z,oe,Te,Re,Pe,G,Je,lt,et,qe,$e,nt,pt,tt,Qe,vt={}.toString;m=Ye(function(Ee,j){var U,V,Y;for(U=0,V=j.length;U<V;++U)Y=j[U],Ee(Y);return j}),t=Ye(function(Ee,j){var U,V,Y,le=[];for(U=0,V=j.length;U<V;++U)Y=j[U],le.push(Ee(Y));return le}),p=function(Ee){var j,U,V,Y=[];for(j=0,U=Ee.length;j<U;++j)V=Ee[j],V&&Y.push(V);return Y},d=Ye(function(Ee,j){var U,V,Y,le=[];for(U=0,V=j.length;U<V;++U)Y=j[U],Ee(Y)&&le.push(Y);return le}),e=Ye(function(Ee,j){var U,V,Y,le=[];for(U=0,V=j.length;U<V;++U)Y=j[U],Ee(Y)||le.push(Y);return le}),l=Ye(function(Ee,j){var U,V;return U=nt(Ee,j),V=j.slice(),U!=null&&V.splice(U,1),V}),f=Ye(function(Ee,j){var U,V,Y,le,te;for(U=[],V=[],Y=0,le=j.length;Y<le;++Y)te=j[Y],(Ee(te)?U:V).push(te);return[U,V]}),o=Ye(function(Ee,j){var U,V,Y;for(U=0,V=j.length;U<V;++U)if(Y=j[U],Ee(Y))return Y}),r=u=function(Ee){return Ee[0]},s=function(Ee){if(Ee.length)return Ee.slice(1)},a=function(Ee){return Ee[Ee.length-1]},c=function(Ee){if(Ee.length)return Ee.slice(0,-1)},n=function(Ee){return!Ee.length},i=function(Ee){return Ee.concat().reverse()},h=function(Ee){var j,U,V,Y;for(j=[],U=0,V=Ee.length;U<V;++U)Y=Ee[U],bt(Y,j)||j.push(Y);return j},g=Ye(function(Ee,j){var U,V,Y,le,te,q=[];for(U=[],V=0,Y=j.length;V<Y;++V)le=j[V],te=Ee(le),!bt(te,U)&&(U.push(te),q.push(le));return q}),v=S=Ye(function(Ee,j,U){var V,Y,le;for(V=0,Y=U.length;V<Y;++V)le=U[V],j=Ee(j,le);return j}),b=T=Ye(function(Ee,j){return v(Ee,j[0],j.slice(1))}),x=Ye(function(Ee,j,U){var V,Y;for(V=U.length-1;V>=0;--V)Y=U[V],j=Ee(Y,j);return j}),E=Ye(function(Ee,j){return x(Ee,j[j.length-1],j.slice(0,-1))}),A=Ye(function(Ee,j){var U,V,Y;for(U=[],V=j;(Y=Ee(V))!=null;)U.push(Y[0]),V=Y[1];return U}),C=function(Ee){return[].concat.apply([],Ee)},w=Ye(function(Ee,j){var U;return[].concat.apply([],function(){var V,Y,le,te=[];for(V=0,le=(Y=j).length;V<le;++V)U=Y[V],te.push(Ee(U));return te}())}),k=function(Ee){var j;return[].concat.apply([],function(){var U,V,Y,le=[];for(U=0,Y=(V=Ee).length;U<Y;++U)j=V[U],vt.call(j).slice(8,-1)==="Array"?le.push(k(j)):le.push(j);return le}())},R=function(Ee){var j,U,V,Y,le,te,q,se,ue,be;for(U=[],V=1,Y=arguments.length;V<Y;++V)U.push(arguments[V]);j=U,le=[];e:for(V=0,te=Ee.length;V<te;++V){for(q=Ee[V],se=0,ue=j.length;se<ue;++se)if(be=j[se],bt(q,be))continue e;le.push(q)}return le},P=function(Ee){var j,U,V,Y,le,te,q,se,ue,be;for(U=[],V=1,Y=arguments.length;V<Y;++V)U.push(arguments[V]);j=U,le=[];e:for(V=0,te=Ee.length;V<te;++V){for(q=Ee[V],se=0,ue=j.length;se<ue;++se)if(be=j[se],!bt(q,be))continue e;le.push(q)}return le},B=function(){var Ee,j,U,V,Y,le,te,q,se,ue;for(j=[],U=0,V=arguments.length;U<V;++U)j.push(arguments[U]);for(Ee=j,Y=[],U=0,le=Ee.length;U<le;++U)for(te=Ee[U],q=0,se=te.length;q<se;++q)ue=te[q],bt(ue,Y)||Y.push(ue);return Y},F=Ye(function(Ee,j){var U,V,Y,le,te;for(U={},V=0,Y=j.length;V<Y;++V)le=j[V],te=Ee(le),te in U?U[te]+=1:U[te]=1;return U}),O=Ye(function(Ee,j){var U,V,Y,le,te;for(U={},V=0,Y=j.length;V<Y;++V)le=j[V],te=Ee(le),te in U?U[te].push(le):U[te]=[le];return U}),$=function(Ee){var j,U,V;for(j=0,U=Ee.length;j<U;++j)if(V=Ee[j],!V)return!1;return!0},N=function(Ee){var j,U,V;for(j=0,U=Ee.length;j<U;++j)if(V=Ee[j],V)return!0;return!1},_=Ye(function(Ee,j){var U,V,Y;for(U=0,V=j.length;U<V;++U)if(Y=j[U],Ee(Y))return!0;return!1}),X=Ye(function(Ee,j){var U,V,Y;for(U=0,V=j.length;U<V;++U)if(Y=j[U],!Ee(Y))return!1;return!0}),L=function(Ee){return Ee.concat().sort(function(j,U){return j>U?1:j<U?-1:0})},K=Ye(function(Ee,j){return j.concat().sort(Ee)}),J=Ye(function(Ee,j){return j.concat().sort(function(U,V){return Ee(U)>Ee(V)?1:Ee(U)<Ee(V)?-1:0})}),ge=function(Ee){var j,U,V,Y;for(j=0,U=0,V=Ee.length;U<V;++U)Y=Ee[U],j+=Y;return j},ae=function(Ee){var j,U,V,Y;for(j=1,U=0,V=Ee.length;U<V;++U)Y=Ee[U],j*=Y;return j},ke=Z=function(Ee){var j,U,V,Y;for(j=0,U=0,V=Ee.length;U<V;++U)Y=Ee[U],j+=Y;return j/Ee.length},I=function(Ee){var j,U,V,Y,le;for(j=Ee[0],U=0,Y=(V=Ee.slice(1)).length;U<Y;++U)le=V[U],le>j&&(j=le);return j},H=function(Ee){var j,U,V,Y,le;for(j=Ee[0],U=0,Y=(V=Ee.slice(1)).length;U<Y;++U)le=V[U],le<j&&(j=le);return j},fe=Ye(function(Ee,j){var U,V,Y,le,te;for(U=j[0],V=0,le=(Y=j.slice(1)).length;V<le;++V)te=Y[V],Ee(te)>Ee(U)&&(U=te);return U}),ce=Ye(function(Ee,j){var U,V,Y,le,te;for(U=j[0],V=0,le=(Y=j.slice(1)).length;V<le;++V)te=Y[V],Ee(te)<Ee(U)&&(U=te);return U}),ie=he=Ye(function(Ee,j,U){var V,Y;return V=j,[j].concat(function(){var le,te,q,se=[];for(le=0,q=(te=U).length;le<q;++le)Y=te[le],se.push(V=Ee(V,Y));return se}())}),Se=xe=Ye(function(Ee,j){if(j.length)return ie(Ee,j[0],j.slice(1))}),we=Ye(function(Ee,j,U){return U=U.concat().reverse(),ie(Ee,j,U).reverse()}),ee=Ye(function(Ee,j){if(j.length)return j=j.concat().reverse(),ie(Ee,j[0],j.slice(1)).reverse()}),ne=Ye(function(Ee,j,U){return U.slice(Ee,j)}),Ae=Ye(function(Ee,j){return Ee<=0?j.slice(0,0):j.slice(0,Ee)}),z=Ye(function(Ee,j){return Ee<=0?j:j.slice(Ee)}),oe=Ye(function(Ee,j){return[Ae(Ee,j),z(Ee,j)]}),Te=Ye(function(Ee,j){var U,V;if(U=j.length,!U)return j;for(V=0;V<U&&Ee(j[V]);)V+=1;return j.slice(0,V)}),Re=Ye(function(Ee,j){var U,V;if(U=j.length,!U)return j;for(V=0;V<U&&Ee(j[V]);)V+=1;return j.slice(V)}),Pe=Ye(function(Ee,j){return[Te(Ee,j),Re(Ee,j)]}),G=Ye(function(Ee,j){return Pe(Ke(Ee,We),j)}),Je=Ye(function(Ee,j){var U,V,Y,le,te,q;for(U=[],V=j.length,Y=0,le=Ee.length;Y<le&&(te=Y,q=Ee[Y],te!==V);++Y)U.push([q,j[te]]);return U}),lt=Ye(function(Ee,j,U){var V,Y,le,te,q,se;for(V=[],Y=U.length,le=0,te=j.length;le<te&&(q=le,se=j[le],q!==Y);++le)V.push(Ee(se,U[q]));return V}),et=function(){var Ee,j,U,V,Y,le,te,q,se,ue,be,Oe=[];for(j=[],U=0,V=arguments.length;U<V;++U)j.push(arguments[U]);for(Ee=j,Y=void 0,U=0,le=Ee.length;U<le;++U)te=Ee[U],Y<=(q=te.length)||(Y=q);for(U=0;U<Y;++U){for(se=U,ue=[],be=0,le=Ee.length;be<le;++be)te=Ee[be],ue.push(te[se]);Oe.push(ue)}return Oe},qe=function(Ee){var j,U,V,Y,le,te,q,se,ue,be=[];for(U=[],V=1,Y=arguments.length;V<Y;++V)U.push(arguments[V]);for(j=U,le=void 0,V=0,te=j.length;V<te;++V)q=j[V],le<=(se=q.length)||(le=se);for(V=0;V<le;++V)ue=V,be.push(Ee.apply(null,Oe()));return be;function Oe(){var Ie,Ge,ze,de=[];for(Ie=0,ze=(Ge=j).length;Ie<ze;++Ie)q=Ge[Ie],de.push(q[ue]);return de}},$e=Ye(function(Ee,j){return Ee<0?j[j.length+Ee]:j[Ee]}),nt=Ye(function(Ee,j){var U,V,Y,le;for(U=0,V=j.length;U<V;++U)if(Y=U,le=j[U],le===Ee)return Y}),pt=Ye(function(Ee,j){var U,V,Y,le,te=[];for(U=0,V=j.length;U<V;++U)Y=U,le=j[U],le===Ee&&te.push(Y);return te}),tt=Ye(function(Ee,j){var U,V,Y,le;for(U=0,V=j.length;U<V;++U)if(Y=U,le=j[U],Ee(le))return Y}),Qe=Ye(function(Ee,j){var U,V,Y,le,te=[];for(U=0,V=j.length;U<V;++U)Y=U,le=j[U],Ee(le)&&te.push(Y);return te}),Us={each:m,map:t,filter:d,compact:p,reject:e,remove:l,partition:f,find:o,head:r,first:u,tail:s,last:a,initial:c,empty:n,reverse:i,difference:R,intersection:P,union:B,countBy:F,groupBy:O,fold:v,fold1:b,foldl:S,foldl1:T,foldr:x,foldr1:E,unfoldr:A,andList:$,orList:N,any:_,all:X,unique:h,uniqueBy:g,sort:L,sortWith:K,sortBy:J,sum:ge,product:ae,mean:ke,average:Z,concat:C,concatMap:w,flatten:k,maximum:I,minimum:H,maximumBy:fe,minimumBy:ce,scan:ie,scan1:Se,scanl:he,scanl1:xe,scanr:we,scanr1:ee,slice:ne,take:Ae,drop:z,splitAt:oe,takeWhile:Te,dropWhile:Re,span:Pe,breakList:G,zip:Je,zipWith:lt,zipAll:et,zipAllWith:qe,at:$e,elemIndex:nt,elemIndices:pt,findIndex:tt,findIndices:Qe};function Ye(Ee,j){var U,V=function(Y){return Ee.length>1?function(){var le=Y?Y.concat():[];return U=this,le.push.apply(le,arguments)<Ee.length&&arguments.length?V.call(U,le):Ee.apply(U,le)}:Ee};return V()}function bt(Ee,j){for(var U=-1,V=j.length>>>0;++U<V;)if(Ee===j[U])return!0;return!1}function Ke(){var Ee=arguments;return function(){var j,U;for(U=Ee[0].apply(this,arguments),j=1;j<Ee.length;++j)U=Ee[j](U);return U}}function We(Ee){return!Ee}return Us}var qs,Od;function Lx(){if(Od)return qs;Od=1;var m,t,p,d,e,l,f,o,r,u,s,a,c,n;m=function(h){var g,v,S=[];for(g in h)v=h[g],S.push(v);return S},t=function(h){var g,v=[];for(g in h)v.push(g);return v},p=function(h){var g,v,S,b={};for(g=0,v=h.length;g<v;++g)S=h[g],b[S[0]]=S[1];return b},d=function(h){var g,v,S=[];for(g in h)v=h[g],S.push([g,v]);return S},e=i(function(h,g){var v,S,b,T,x={};for(v=0,S=h.length;v<S;++v)b=v,T=h[v],x[T]=g[b];return x}),l=function(h){var g,v,S,b;g=[],v=[];for(S in h)b=h[S],g.push(S),v.push(b);return[g,v]},f=function(h){var g;for(g in h)return!1;return!0},o=i(function(h,g){var v,S;for(v in g)S=g[v],h(S);return g}),r=i(function(h,g){var v,S,b={};for(v in g)S=g[v],b[v]=h(S);return b}),u=function(h){var g,v,S={};for(g in h)v=h[g],v&&(S[g]=v);return S},s=i(function(h,g){var v,S,b={};for(v in g)S=g[v],h(S)&&(b[v]=S);return b}),a=i(function(h,g){var v,S,b={};for(v in g)S=g[v],h(S)||(b[v]=S);return b}),c=i(function(h,g){var v,S,b,T;v={},S={};for(b in g)T=g[b],(h(T)?v:S)[b]=T;return[v,S]}),n=i(function(h,g){var v,S;for(v in g)if(S=g[v],h(S))return S}),qs={values:m,keys:t,pairsToObj:p,objToPairs:d,listsToObj:e,objToLists:l,empty:f,each:o,map:r,filter:s,compact:u,reject:a,partition:c,find:n};function i(h,g){var v,S=function(b){return h.length>1?function(){var T=b?b.concat():[];return v=this,T.push.apply(T,arguments)<h.length&&arguments.length?S.call(v,T):h.apply(v,T)}:h};return S()}return qs}var Vs,Nd;function Ox(){if(Nd)return Vs;Nd=1;var m,t,p,d,e,l,f,o,r,u,s,a,c;m=n(function(i,h){return h.split(i)}),t=n(function(i,h){return h.join(i)}),p=function(i){return i.length?i.split(`
34
- `):[]},d=function(i){return i.join(`
35
- `)},e=function(i){return i.length?i.split(/[ ]+/):[]},l=function(i){return i.join(" ")},f=function(i){return i.split("")},o=function(i){return i.join("")},r=function(i){return i.split("").reverse().join("")},u=n(function(i,h){var g,v;for(g="",v=0;v<i;++v)g+=h;return g}),s=function(i){return i.charAt(0).toUpperCase()+i.slice(1)},a=function(i){return i.replace(/[-_]+(.)?/g,function(h,g){return(g??"").toUpperCase()})},c=function(i){return i.replace(/([^-A-Z])([A-Z]+)/g,function(h,g,v){return g+"-"+(v.length>1?v:v.toLowerCase())}).replace(/^([A-Z]+)/,function(h,g){return g.length>1?g+"-":g.toLowerCase()})},Vs={split:m,join:t,lines:p,unlines:d,words:e,unwords:l,chars:f,unchars:o,reverse:r,repeat:u,capitalize:s,camelize:a,dasherize:c};function n(i,h){var g,v=function(S){return i.length>1?function(){var b=S?S.concat():[];return g=this,b.push.apply(b,arguments)<i.length&&arguments.length?v.call(g,b):i.apply(g,b)}:i};return v()}return Vs}var $s,Md;function Nx(){if(Md)return $s;Md=1;var m,t,p,d,e,l,f,o,r,u,s,a,c,n,i,h,g,v,S,b,T,x,E,A,C,w,k,R,P,B,F,O;m=$(function(N,_){return N>_?N:_}),t=$(function(N,_){return N<_?N:_}),p=function(N){return-N},d=Math.abs,e=function(N){return N<0?-1:N>0?1:0},l=$(function(N,_){return~~(N/_)}),f=$(function(N,_){return N%_}),o=$(function(N,_){return Math.floor(N/_)}),r=$(function(N,_){var X;return(N%(X=_)+X)%X}),u=function(N){return 1/N},s=Math.PI,a=s*2,c=Math.exp,n=Math.sqrt,i=Math.log,h=$(function(N,_){return Math.pow(N,_)}),g=Math.sin,v=Math.tan,S=Math.cos,b=Math.asin,T=Math.acos,x=Math.atan,E=$(function(N,_){return Math.atan2(N,_)}),A=function(N){return~~N},C=Math.round,w=Math.ceil,k=Math.floor,R=function(N){return N!==N},P=function(N){return N%2===0},B=function(N){return N%2!==0},F=$(function(N,_){var X;for(N=Math.abs(N),_=Math.abs(_);_!==0;)X=N%_,N=_,_=X;return N}),O=$(function(N,_){return Math.abs(Math.floor(N/F(N,_)*_))}),$s={max:m,min:t,negate:p,abs:d,signum:e,quot:l,rem:f,div:o,mod:r,recip:u,pi:s,tau:a,exp:c,sqrt:n,ln:i,pow:h,sin:g,tan:v,cos:S,acos:T,asin:b,atan:x,atan2:E,truncate:A,round:C,ceiling:w,floor:k,isItNaN:R,even:P,odd:B,gcd:F,lcm:O};function $(N,_){var X,L=function(K){return N.length>1?function(){var J=K?K.concat():[];return X=this,J.push.apply(J,arguments)<N.length&&arguments.length?L.call(X,J):N.apply(X,J)}:N};return L()}return $s}var Ws,jd;function Ud(){if(jd)return Ws;jd=1;var m,t,p,d,e,l,f,o,r,u={}.toString;m=_x(),t=Bx(),p=Lx(),d=Ox(),e=Nx(),l=function(a){return a},f=s(function(a,c){return u.call(c).slice(8,-1)===a}),o=s(function(a,c){var n,i=[];for(n=0;n<a;++n)i.push(c);return i}),d.empty=t.empty,d.slice=t.slice,d.take=t.take,d.drop=t.drop,d.splitAt=t.splitAt,d.takeWhile=t.takeWhile,d.dropWhile=t.dropWhile,d.span=t.span,d.breakStr=t.breakList,r={Func:m,List:t,Obj:p,Str:d,Num:e,id:l,isType:f,replicate:o},r.each=t.each,r.map=t.map,r.filter=t.filter,r.compact=t.compact,r.reject=t.reject,r.partition=t.partition,r.find=t.find,r.head=t.head,r.first=t.first,r.tail=t.tail,r.last=t.last,r.initial=t.initial,r.empty=t.empty,r.reverse=t.reverse,r.difference=t.difference,r.intersection=t.intersection,r.union=t.union,r.countBy=t.countBy,r.groupBy=t.groupBy,r.fold=t.fold,r.foldl=t.foldl,r.fold1=t.fold1,r.foldl1=t.foldl1,r.foldr=t.foldr,r.foldr1=t.foldr1,r.unfoldr=t.unfoldr,r.andList=t.andList,r.orList=t.orList,r.any=t.any,r.all=t.all,r.unique=t.unique,r.uniqueBy=t.uniqueBy,r.sort=t.sort,r.sortWith=t.sortWith,r.sortBy=t.sortBy,r.sum=t.sum,r.product=t.product,r.mean=t.mean,r.average=t.average,r.concat=t.concat,r.concatMap=t.concatMap,r.flatten=t.flatten,r.maximum=t.maximum,r.minimum=t.minimum,r.maximumBy=t.maximumBy,r.minimumBy=t.minimumBy,r.scan=t.scan,r.scanl=t.scanl,r.scan1=t.scan1,r.scanl1=t.scanl1,r.scanr=t.scanr,r.scanr1=t.scanr1,r.slice=t.slice,r.take=t.take,r.drop=t.drop,r.splitAt=t.splitAt,r.takeWhile=t.takeWhile,r.dropWhile=t.dropWhile,r.span=t.span,r.breakList=t.breakList,r.zip=t.zip,r.zipWith=t.zipWith,r.zipAll=t.zipAll,r.zipAllWith=t.zipAllWith,r.at=t.at,r.elemIndex=t.elemIndex,r.elemIndices=t.elemIndices,r.findIndex=t.findIndex,r.findIndices=t.findIndices,r.apply=m.apply,r.curry=m.curry,r.flip=m.flip,r.fix=m.fix,r.over=m.over,r.split=d.split,r.join=d.join,r.lines=d.lines,r.unlines=d.unlines,r.words=d.words,r.unwords=d.unwords,r.chars=d.chars,r.unchars=d.unchars,r.repeat=d.repeat,r.capitalize=d.capitalize,r.camelize=d.camelize,r.dasherize=d.dasherize,r.values=p.values,r.keys=p.keys,r.pairsToObj=p.pairsToObj,r.objToPairs=p.objToPairs,r.listsToObj=p.listsToObj,r.objToLists=p.objToLists,r.max=e.max,r.min=e.min,r.negate=e.negate,r.abs=e.abs,r.signum=e.signum,r.quot=e.quot,r.rem=e.rem,r.div=e.div,r.mod=e.mod,r.recip=e.recip,r.pi=e.pi,r.tau=e.tau,r.exp=e.exp,r.sqrt=e.sqrt,r.ln=e.ln,r.pow=e.pow,r.sin=e.sin,r.tan=e.tan,r.cos=e.cos,r.acos=e.acos,r.asin=e.asin,r.atan=e.atan,r.atan2=e.atan2,r.truncate=e.truncate,r.round=e.round,r.ceiling=e.ceiling,r.floor=e.floor,r.isItNaN=e.isItNaN,r.even=e.even,r.odd=e.odd,r.gcd=e.gcd,r.lcm=e.lcm,r.VERSION="1.2.1",Ws=r;function s(a,c){var n,i=function(h){return a.length>1?function(){var g=h?h.concat():[];return n=this,g.push.apply(g,arguments)<a.length&&arguments.length?i.call(n,g):a.apply(n,g)}:a};return i()}return Ws}var qd;function Mx(){return qd||(qd=1,(function(){var m,t,p;m=Ud().reject;function d(n,i){if(n[0]===i)return n.shift();throw new Error("Expected '"+i+"', but got '"+n[0]+"' instead in "+JSON.stringify(n)+".")}function e(n,i){if(n[0]===i)return n.shift()}function l(n,i,h){var g,v,S,b;for(g=i[0],v=i[1],h&&d(n,g),S=[],b=","+(h?v:"");n.length&&h&&n[0]!==v;)S.push(s(n,b)),e(n,",");return h&&d(n,v),S}function f(n,i){return l(n,["[","]"],i)}function o(n,i){return l(n,["(",")"],i)}function r(n,i){var h,g,v;for(i&&d(n,"{"),h={},g=","+(i?"}":"");n.length&&(!i||n[0]!=="}");)v=u(n,":"),d(n,":"),h[v]=s(n,g),e(n,",");return i&&d(n,"}"),h}function u(n,i){var h;for(i==null&&(i=""),h="";n.length&&i.indexOf(n[0])===-1;)h+=n.shift();return h}function s(n,i){switch(n[0]){case"[":return f(n,!0);case"(":return o(n,!0);case"{":return r(n,!0);default:return u(n,i)}}function a(n,i,h){var g,v,S,b,T,x,E,A;return g=i[0],v=g.type,S=g.structure,b=n.concat(),!h.explicit&&i.length===1&&(!v&&S||v==="Array"||v==="Object")?(T=S==="array"||v==="Array"?f(n,n[0]==="["):S==="tuple"?o(n,n[0]==="("):r(n,n[0]==="{"),x=n.length?s(S==="array"||v==="Array"?(E=b,E.unshift("["),E.push("]"),E):(A=b,A.unshift("("),A.push(")"),A)):T):x=s(n),x}t=/\[\]\(\)}{:,/.source,p=RegExp(`("(?:\\\\"|[^"])*")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|([`+t+"])|([^\\s"+t+"](?:\\s*[^\\s"+t+"]+)*)|\\s*"),Ms.exports=function(n,i,h){var g,v;if(h==null&&(h={}),!h.explicit&&n.length===1&&n[0].type==="String")return i;if(g=m(c,i.split(p)),v=a(g,n,h),!v)throw new Error("Error parsing '"+i+"'.");return v};function c(n){return!n}}).call(this)),Ms.exports}var Gs={exports:{}},zs={exports:{}},Hs={exports:{}},Vd;function jx(){return Vd||(Vd=1,(function(){var m,t;m=/[\$\w]+/;function p(i){var h;if(h=i[0],h==null)throw new Error("Unexpected end of input.");return h}function d(i){var h;if(h=p(i),!m.test(h))throw new Error("Expected text, got '"+h+"' instead.");return i.shift()}function e(i,h){var g;if(g=p(i),g!==h)throw new Error("Expected '"+h+"', got '"+g+"' instead.");return i.shift()}function l(i,h){var g;return g=i[0],g===h?i.shift():null}function f(i){var h;if(e(i,"["),p(i)==="]")throw new Error("Must specify type of Array - eg. [Type], got [] instead.");return h=c(i),e(i,"]"),{structure:"array",of:h}}function o(i){var h;if(h=[],e(i,"("),p(i)===")")throw new Error("Tuple must be of at least length 1 - eg. (Type), got () instead.");for(;h.push(c(i)),l(i,","),p(i)!==")";);return e(i,")"),{structure:"tuple",of:h}}function r(i){var h,g,v,S,b;for(h={},e(i,"{"),g=!1;;){if(l(i,"...")){g=!0;break}if(v=u(i),S=v[0],b=v[1],h[S]=b,l(i,","),p(i)==="}")break}return e(i,"}"),{structure:"fields",of:h,subset:g}}function u(i){var h,g;return h=d(i),e(i,":"),g=c(i),[h,g]}function s(i){switch(i[0]){case"[":return f(i);case"(":return o(i);case"{":return r(i)}}function a(i){var h,g,v,S;if(h=p(i),g=h==="*",g||m.test(h))return v=g?e(i,"*"):d(i),S=s(i),S?(S.type=v,S):{type:v};if(S=s(i),!S)throw new Error("Unexpected character: "+h);return S}function c(i){var h,g,v,S,b,T;if(p(i)==="::")throw new Error("No comment before comment separator '::' found.");for(h=i[1],h!=null&&h==="::"&&(i.shift(),i.shift()),g=[],v={},p(i)==="Maybe"&&(i.shift(),g=[{type:"Undefined"},{type:"Null"}],v={Undefined:!0,Null:!0});S=a(i),b=S.type,T=S.structure,v[b]||g.push(S),T==null&&(v[b]=!0),!!l(i,"|"););return g}t=RegExp("\\.\\.\\.|::|->|"+m.source+"|\\S","g"),Hs.exports=function(i){var h,g;if(!i.length)throw new Error("No type specified.");if(h=i.match(t)||[],n("->",h))throw new Error("Function types are not supported. To validate that something is a function, you may use 'Function'.");try{return c(h)}catch(v){throw g=v,new Error(g.message+" - Remaining tokens: "+JSON.stringify(h)+" - Initial input: '"+i+"'")}};function n(i,h){for(var g=-1,v=h.length>>>0;++g<v;)if(i===h[g])return!0;return!1}}).call(this)),Hs.exports}var Ks={exports:{}},$d;function Ux(){return $d||($d=1,(function(){var m,t,p,d,e,l,f={}.toString;m=Ud(),t=m.any,p=m.all,d=m.isItNaN,e={Number:{typeOf:"Number",validate:function(n){return!d(n)}},NaN:{typeOf:"Number",validate:d},Int:{typeOf:"Number",validate:function(n){return!d(n)&&n%1===0}},Float:{typeOf:"Number",validate:function(n){return!d(n)}},Date:{typeOf:"Date",validate:function(n){return!d(n.getTime())}}},l={array:"Array",tuple:"Array"};function o(n,i,h){return p(function(g){return c(g,i.of,h)},n)}function r(n,i,h){var g,v,S,b,T;for(g=0,v=0,b=(S=i.of).length;v<b;++v){if(T=S[v],!c(n[g],T,h))return!1;g++}return n.length<=g}function u(n,i,h){var g,v,S,b,T,x,E;g={},v=0;for(S in n)g[S]=!0,v++;b=0;for(T in x=i.of){if(E=x[T],!c(n[T],E,h))return!1;g[T]&&b++}return i.subset||v===b}function s(n,i,h){if(!(n instanceof Object))return!1;switch(i.structure){case"fields":return u(n,i,h);case"array":return o(n,i,h);case"tuple":return r(n,i,h)}}function a(n,i,h){var g,v,S,b;if(g=i.type,v=i.structure,g)return g==="*"?!0:(S=h.customTypes[g]||e[g],S?(S.typeOf===void 0||S.typeOf===f.call(n).slice(8,-1))&&S.validate(n):g===f.call(n).slice(8,-1)&&(!v||s(n,i,h)));if(v)return(b=l[v])&&b!==f.call(n).slice(8,-1)?!1:s(n,i,h);throw new Error("No type defined. Input: "+n+".")}function c(n,i,h){if(f.call(i).slice(8,-1)!=="Array")throw new Error("Types must be in an array. Input: "+n+".");return t(function(g){return a(n,g,h)},i)}Ks.exports=function(n,i,h){return h==null&&(h={}),h.customTypes==null&&(h.customTypes={}),c(i,n,h)}}).call(this)),Ks.exports}var Wd;function Gd(){return Wd||(Wd=1,(function(){var m,t,p,d;m="0.4.0",t=jx(),p=Ux(),d=function(e,l,f){return p(t(e),l,f)},zs.exports={VERSION:m,typeCheck:d,parsedTypeCheck:p,parseType:t}}).call(this)),zs.exports}var zd;function qx(){return zd||(zd=1,(function(){var m,t,p={}.toString;m=Gd().parsedTypeCheck,t={"*":function(r,u){switch(p.call(r).slice(8,-1)){case"Array":return f(r,{type:"Array"},u);case"Object":return f(r,{type:"Object"},u);default:return{type:"Just",value:o(r,[{type:"Undefined"},{type:"Null"},{type:"NaN"},{type:"Boolean"},{type:"Number"},{type:"Date"},{type:"RegExp"},{type:"Array"},{type:"Object"},{type:"String"}],(u.explicit=!0,u))}}},Undefined:function(r){return r==="undefined"||r===void 0?{type:"Just",value:void 0}:{type:"Nothing"}},Null:function(r){return r==="null"?{type:"Just",value:null}:{type:"Nothing"}},NaN:function(r){return r==="NaN"?{type:"Just",value:NaN}:{type:"Nothing"}},Boolean:function(r){return r==="true"?{type:"Just",value:!0}:r==="false"?{type:"Just",value:!1}:{type:"Nothing"}},Number:function(r){return{type:"Just",value:+r}},Int:function(r){return{type:"Just",value:+r}},Float:function(r){return{type:"Just",value:+r}},Date:function(r,u){var s;return(s=/^\#([\s\S]*)\#$/.exec(r))?{type:"Just",value:new Date(+s[1]||s[1])}:u.explicit?{type:"Nothing"}:{type:"Just",value:new Date(+r||r)}},RegExp:function(r,u){var s;return(s=/^\/([\s\S]*)\/([gimy]*)$/.exec(r))?{type:"Just",value:new RegExp(s[1],s[2])}:u.explicit?{type:"Nothing"}:{type:"Just",value:new RegExp(r)}},Array:function(r,u){return d(r,{of:[{type:"*"}]},u)},Object:function(r,u){return l(r,{of:{}},u)},String:function(r){var u,s;return p.call(r).slice(8,-1)!=="String"?{type:"Nothing"}:(u=function(a,c){return a.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(n,i){switch(i[0]){case c:return c;case"\\":return"\\";case"b":return"\b";case"f":return"\f";case"n":return`
36
- `;case"r":return"\r";case"t":return" ";case"u":return JSON.parse('"'+n+'"');default:return i}})},(s=r.match(/^'([\s\S]*)'$/))?{type:"Just",value:u(s[1],"'")}:(s=r.match(/^"([\s\S]*)"$/))?{type:"Just",value:u(s[1],'"')}:{type:"Just",value:r})}};function d(r,u,s){var a,c;return p.call(r).slice(8,-1)!=="Array"?{type:"Nothing"}:(a=u.of,{type:"Just",value:function(){var n,i,h,g=[];for(n=0,h=(i=r).length;n<h;++n)c=i[n],g.push(o(c,a,s));return g}()})}function e(r,u,s){var a,c,n,i,h,g,v;if(p.call(r).slice(8,-1)!=="Array")return{type:"Nothing"};for(a=[],c=0,n=0,h=(i=u.of).length;n<h;++n)g=i[n],v=o(r[c],g,s),p.call(v).slice(8,-1)!=="Undefined"&&a.push(v),c++;return r.length<=c?{type:"Just",value:a}:{type:"Nothing"}}function l(r,u,s){var a,c,n;return p.call(r).slice(8,-1)!=="Object"?{type:"Nothing"}:(a=u.of,{type:"Just",value:function(){var i,h={};for(c in i=r)n=i[c],h[o(c,[{type:"String"}],s)]=o(n,a[c]||[{type:"*"}],s);return h}()})}function f(r,u,s){var a,c,n,i;if(a=u.type,c=u.structure,a){if(n=((i=s.customTypes[a])!=null?i.cast:void 0)||t[a],!n)throw new Error("Type not defined: "+a+".");return n(r,s,o)}else switch(c){case"array":return d(r,u,s);case"tuple":return e(r,u,s);case"fields":return l(r,u,s)}}function o(r,u,s){var a,c,n,i,h,g;for(a=0,c=u.length;a<c;++a)if(n=u[a],i=f(r,n,s),h=i.type,g=i.value,h!=="Nothing"&&m([n],g,{customTypes:s.customTypes}))return g;throw new Error("Value "+JSON.stringify(r)+" does not type check against "+JSON.stringify(u)+".")}Gs.exports=function(r,u,s){return!s.explicit&&u.length===1&&u[0].type==="String"?r:o(r,u,s)}}).call(this)),Gs.exports}var Hd;function Vx(){return Hd||(Hd=1,(function(){var m,t,p,d,e,l;m=Mx(),t=qx(),p=Gd().parseType,d="0.4.1",e=function(f,o,r){return r==null&&(r={}),r.explicit==null&&(r.explicit=!1),r.customTypes==null&&(r.customTypes={}),t(m(f,o,r),f,r)},l=function(f,o,r){return e(p(f),o,r)},Ns.exports={VERSION:d,parse:l,parsedTypeParse:e}}).call(this)),Ns.exports}var Kd;function Xd(){if(Kd)return gr;Kd=1;var m=Vx();const t=/^([a-z]+(?:-[a-z]+)*)(?:\s|$)/u,p=new Set([0,1,2,"off","warn","error"]);function d(g){const v=Array.isArray(g)?g[0]:g;return p.has(v)}function e(g){return Object.values(g).every(d)}class l{label="";value="";justification="";constructor(v,S,b){this.label=v,this.value=S,this.justification=b}}class f{parseStringConfig(v){const S={};return v.trim().replace(new RegExp("(?<!\\s)\\s*([:,])\\s*","gu"),"$1").split(/\s|,+/u).forEach(T=>{if(!T)return;const[x,E=null]=T.split(":");S[x]=E}),S}parseJSONLikeConfig(v){try{const b=m.parse("Object",v)||{};if(e(b))return{ok:!0,config:b}}catch{}const S=v.replace(new RegExp("(?<![-a-zA-Z0-9/])([-a-zA-Z0-9/]+):","gu"),'"$1":').replace(/([\]0-9])\s+(?=")/u,"$1,");try{return{ok:!0,config:JSON.parse(`{${S}}`)}}catch(b){const T=b instanceof Error?b.message:String(b);return{ok:!1,error:{message:`Failed to parse JSON from '${S}': ${T}`}}}}parseListConfig(v){const S={};return v.split(",").forEach(b=>{const T=b.trim().replace(/^(?<quote>['"]?)(?<ruleId>.*)\k<quote>$/su,"$<ruleId>");T&&(S[T]=!0)}),S}#e(v){const S=/\s-{2,}\s/u.exec(v);if(!S)return{directivePart:v.trim(),justificationPart:""};const b=v.slice(0,S.index).trim(),T=v.slice(S.index+S[0].length).trim();return{directivePart:b,justificationPart:T}}parseDirective(v){const{directivePart:S,justificationPart:b}=this.#e(v),T=t.exec(S);if(!T)return;const x=T[1],E=S.slice(T.index+x.length);return new l(x,E.trim(),b)}}function o(g){return"loc"in g}function r(g){return"position"in g}function u(g){return"range"in g}function s(g){return"position"in g}function a(g,v){let S=0,b=g.length-1;for(;S<b;){const T=(S+b)/2|0;v<g[T]?b=T:S=T+1}return S}class c{type="visit";kind=1;target;phase;args;constructor({target:v,phase:S,args:b}){this.target=v,this.phase=S,this.args=b}}class n{type="call";kind=2;target;args;constructor({target:v,args:S}){this.target=v,this.args=S}}class i{type;node;value;justification;constructor({type:v,node:S,value:b,justification:T}){this.type=v,this.node=S,this.value=b,this.justification=T}}class h{#e=[];#t=[0];#r;ast;text;constructor({text:v,ast:S,lineEndingPattern:b=/\r?\n/u}){this.ast=S,this.text=v,this.#r=new RegExp(b.source,b.flags.replace(/[gy]/gu,""))}#n(v){const S=this.#r.exec(v);return S?(this.#e.push(v.slice(0,S.index)),this.#t.push((this.#t.at(-1)??0)+S.index+S[0].length),!0):!1}#s(){if(this.#e.length!==this.#t.length){for(;this.#n(this.text.slice(this.#t.at(-1))););this.#e.push(this.text.slice(this.#t.at(-1))),Object.freeze(this.#e)}}#a(v){if(!(v<=(this.#t.at(-1)??0)))for(;v>(this.#t.at(-1)??0)&&this.#n(this.text.slice(this.#t.at(-1))););}#i(v,S){const b=v.line-S+1,T=this.#t.length-1;let x=b-T;if(!(x<=0))for(;x>0&&this.#n(this.text.slice(this.#t.at(-1)));)x-=1}getLoc(v){if(o(v))return v.loc;if(r(v))return v.position;throw new Error("Custom getLoc() method must be implemented in the subclass.")}getLocFromIndex(v){if(typeof v!="number")throw new TypeError("Expected `index` to be a number.");if(v<0||v>this.text.length)throw new RangeError(`Index out of range (requested index ${v}, but source text has length ${this.text.length}).`);const{start:{line:S,column:b},end:{line:T,column:x}}=this.getLoc(this.ast);if(v===0)return{line:S,column:b};if(v===this.text.length)return{line:T,column:x};this.#a(v);const E=(v>=(this.#t.at(-1)??0)?this.#t.length:a(this.#t,v))-1+S;return{line:E,column:v-this.#t[E-S]+b}}getIndexFromLoc(v){if(v===null||typeof v!="object"||typeof v.line!="number"||typeof v.column!="number")throw new TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");const{start:{line:S,column:b},end:{line:T,column:x}}=this.getLoc(this.ast);if(v.line<S||T<v.line)throw new RangeError(`Line number out of range (line ${v.line} requested). Valid range: ${S}-${T}`);if(v.line===S&&v.column===b)return 0;if(v.line===T&&v.column===x)return this.text.length;this.#i(v,S);const E=v.line===T,A=this.#t[v.line-S],C=E?this.text.length:this.#t[v.line-S+1],w=A+v.column-b;if(v.column<b||E&&w>C||!E&&w>=C)throw new RangeError(`Column number out of range (column ${v.column} requested). Valid range for line ${v.line}: ${b}-${C-A+b+(E?0:-1)}`);return w}getRange(v){if(u(v))return v.range;if(s(v))return[v.position.start.offset,v.position.end.offset];throw new Error("Custom getRange() method must be implemented in the subclass.")}getParent(v){throw new Error("Not implemented.")}getAncestors(v){if(!v)throw new TypeError("Missing required argument: node.");const S=[];for(let b=this.getParent(v);b;b=this.getParent(b))S.push(b);return S.reverse()}getText(v,S,b){if(v){const T=this.getRange(v);return this.text.slice(Math.max(T[0]-(S||0),0),T[1]+(b||0))}return this.text}get lines(){return this.#s(),this.#e}traverse(){throw new Error("Not implemented.")}}return gr.CallMethodStep=n,gr.ConfigCommentParser=f,gr.Directive=i,gr.TextSourceCodeBase=h,gr.VisitNodeStep=c,gr}var Xs,Jd;function $x(){if(Jd)return Xs;Jd=1;const{isCommentToken:m}=Mt(),t=Dx(),p=en(),d=us(),e=xd(),{directivesPattern:l}=Ad(),f=Rx(),{ConfigCommentParser:o,VisitNodeStep:r,CallMethodStep:u,Directive:s}=Xd(),a=ln(),c=new o;function n(w){if(!w)throw new TypeError(`Unexpected empty AST. (${w})`);if(!w.tokens)throw new TypeError("AST is missing the tokens array.");if(!w.comments)throw new TypeError("AST is missing the comments array.");if(!w.loc)throw new TypeError("AST is missing location information.");if(!w.range)throw new TypeError("AST is missing range information")}function i(w){switch(w){case 3:return e.es3;case 5:return e.es5;default:return w<2015?e[`es${w+2009}`]:e[`es${w}`]}}function h(w){return w.type==="ExportDefaultDeclaration"||w.type==="ExportNamedDeclaration"||w.type==="ExportAllDeclaration"||w.type==="ExportSpecifier"}function g(w,k){const R=[];let P=0,B=0;for(;P<w.length||B<k.length;)B>=k.length||P<w.length&&w[P].range[0]<k[B].range[0]?R.push(w[P++]):R.push(k[B++]);return R}function v(w){switch(w){case"off":return"off";case!0:case"true":case"writeable":case"writable":return"writable";case null:case!1:case"false":case"readable":case"readonly":return"readonly";default:throw new Error(`'${w}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}function S(w,k){return w.range[0]<=k.range[0]&&w.range[1]>=k.range[0]||k.range[0]<=w.range[0]&&k.range[1]>=w.range[0]}function b(w,k,R,P){if(S(k,R))return!1;const[B,F]=k.range[1]<=R.range[0]?[k,R]:[R,k],O=w.getLastToken(B)||B,$=w.getFirstToken(F)||F;let N=O;for(;N!==$;){const _=w.getTokenAfter(N,{includeComments:!0});if(N.range[1]!==_.range[0]||P&&_!==$&&_.type==="JSXText"&&/\s/u.test(_.value))return!0;N=_}return!1}function T(w,k){let R=0,P=w.length;for(;R<P;){const B=(R+P)/2|0;k<w[B]?P=B:R=B+1}return R}function x(w,k={},R={}){for(const B of new Set([...Object.keys(k),...Object.keys(R)])){const F=k[B]===void 0?void 0:v(k[B]),$=R[B]&&R[B].value||F,N=R[B]&&R[B].comments;if($==="off")continue;let _=w.set.get(B);_||(_=new a.Variable(B,w),w.variables.push(_),w.set.set(B,_)),_.eslintImplicitGlobalSetting=F,_.eslintExplicitGlobal=N!==void 0,_.eslintExplicitGlobalComments=N,_.writeable=$==="writable"}w.through=w.through.filter(B=>{const F=B.identifier.name,O=w.set.get(F);return O?(B.resolved=O,O.references.push(B),!1):!0});const{implicit:P}=w;typeof P=="object"&&P!==null&&(P.variables=P.variables.filter(B=>{const F=B.name;return w.set.has(F)?(P.set.delete(F),!1):!0}),P.left&&(P.left=P.left.filter(B=>!w.set.has(B.identifier.name))))}function E(w,k){Object.keys(k).forEach(R=>{const P=w.set.get(R);P&&(P.eslintUsed=!0,P.eslintExported=!0)})}const A=Symbol("caches");class C extends t{#e;constructor(k,R){let P,B,F,O,$,N;typeof k=="string"?(P=k,F=R,B=!1):typeof k=="object"&&k!==null&&(P=k.text,F=k.ast,B=k.hasBOM,O=k.parserServices,$=k.scopeManager,N=k.visitorKeys),n(F),super(F.tokens,F.comments),this[A]=new Map([["scopes",new WeakMap],["vars",new Map],["configNodes",void 0],["isGlobalReference",new WeakMap]]),this.isESTree=F.type==="Program";const _=P.charCodeAt(0)===65279;this.hasBOM=_||!!B,this.text=_?P.slice(1):P,this.ast=F,this.parserServices=O||{},this.scopeManager=$||null,this.visitorKeys=N||d.DEFAULT_VISITOR_KEYS;const X=this.text.match(p.shebangPattern);X&&F.comments.length&&F.comments[0].value===X[1]&&(F.comments[0].type="Shebang"),this.tokensAndComments=g(F.tokens,F.comments),this.lines=[],this.lineStartIndices=[0];const K=p.createGlobalLinebreakMatcher();let J;for(;J=K.exec(this.text);)this.lines.push(this.text.slice(this.lineStartIndices.at(-1),J.index)),this.lineStartIndices.push(J.index+J[0].length);this.lines.push(this.text.slice(this.lineStartIndices.at(-1))),Object.freeze(this),Object.freeze(this.lines)}static splitLines(k){return k.split(p.createGlobalLinebreakMatcher())}getText(k,R,P){return k?this.text.slice(Math.max(k.range[0]-(R||0),0),k.range[1]+(P||0)):this.text}getLines(){return this.lines}getAllComments(){return this.ast.comments}getJSDocComment(k){const R=B=>{const F=this.getTokenBefore(B,{includeComments:!0});return F&&m(F)&&F.type==="Block"&&F.value.charAt(0)==="*"&&B.loc.start.line-F.loc.end.line<=1?F:null};let P=k.parent;switch(k.type){case"ClassDeclaration":case"FunctionDeclaration":return R(h(P)?P:k);case"ClassExpression":return R(P.parent);case"ArrowFunctionExpression":case"FunctionExpression":if(P.type!=="CallExpression"&&P.type!=="NewExpression"){for(;!this.getCommentsBefore(P).length&&!/Function/u.test(P.type)&&P.type!=="MethodDefinition"&&P.type!=="Property"&&(P=P.parent,!!P););if(P&&P.type!=="FunctionDeclaration"&&P.type!=="Program")return R(P)}return R(k);default:return null}}getNodeByRangeIndex(k){let R=null;return d.traverse(this.ast,{visitorKeys:this.visitorKeys,enter(P){P.range[0]<=k&&k<P.range[1]?R=P:this.skip()},leave(P){P===R&&this.break()}}),R}isSpaceBetween(k,R){return b(this,k,R,!1)}isSpaceBetweenTokens(k,R){return b(this,k,R,!0)}getLocFromIndex(k){if(typeof k!="number")throw new TypeError("Expected `index` to be a number.");if(k<0||k>this.text.length)throw new RangeError(`Index out of range (requested index ${k}, but source text has length ${this.text.length}).`);if(k===this.text.length)return{line:this.lines.length,column:this.lines.at(-1).length};const R=k>=this.lineStartIndices.at(-1)?this.lineStartIndices.length:T(this.lineStartIndices,k);return{line:R,column:k-this.lineStartIndices[R-1]}}getIndexFromLoc(k){if(k===null||typeof k!="object"||typeof k.line!="number"||typeof k.column!="number")throw new TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");if(k.line<=0)throw new RangeError(`Line number out of range (line ${k.line} requested). Line numbers should be 1-based.`);if(k.line>this.lineStartIndices.length)throw new RangeError(`Line number out of range (line ${k.line} requested, but only ${this.lineStartIndices.length} lines present).`);if(k.column<0)throw new RangeError(`Invalid column number (column ${k.column} requested).`);const R=this.lineStartIndices[k.line-1],P=k.line===this.lineStartIndices.length?this.text.length:this.lineStartIndices[k.line],B=R+k.column;if(k.line===this.lineStartIndices.length&&B>P||k.line<this.lineStartIndices.length&&B>=P)throw new RangeError(`Column number out of range (column ${k.column} requested, but the length of line ${k.line} is ${P-R}).`);return B}getScope(k){if(!k)throw new TypeError("Missing required argument: node.");const R=this[A].get("scopes"),P=R.get(k);if(P)return P;const B=k.type!=="Program";for(let F=k;F;F=F.parent){const O=this.scopeManager.acquire(F,B);if(O)return O.type==="function-expression-name"?(R.set(k,O.childScopes[0]),O.childScopes[0]):(R.set(k,O),O)}return R.set(k,this.scopeManager.scopes[0]),this.scopeManager.scopes[0]}getDeclaredVariables(k){return this.scopeManager.getDeclaredVariables(k)}getAncestors(k){if(!k)throw new TypeError("Missing required argument: node.");const R=[];for(let P=k.parent;P;P=P.parent)R.push(P);return R.reverse()}isGlobalReference(k){if(!k)throw new TypeError("Missing required argument: node.");const R=this[A].get("isGlobalReference");if(R.has(k))return R.get(k);if(k.type!=="Identifier")return R.set(k,!1),!1;const P=this.scopeManager.scopes[0].set.get(k.name);if(!P||P.defs.length>0)return R.set(k,!1),!1;const B=P.references.some(({identifier:F})=>F===k);return R.set(k,B),B}getLoc(k){return k.loc}getRange(k){return k.range}markVariableAsUsed(k,R=this.ast){const P=this.getScope(R);let B=P;P.type==="global"&&P.childScopes.length>0&&P.childScopes[0].block===this.ast&&(B=P.childScopes[0]);for(let F=B;F;F=F.upper){const O=F.variables.find($=>$.name===k);if(O)return O.eslintUsed=!0,!0}return!1}getInlineConfigNodes(){let k=this[A].get("configNodes");return k||(k=this.ast.comments.filter(R=>{if(R.type==="Shebang")return!1;const P=c.parseDirective(R.value);return!P||!l.test(P.label)?!1:R.type!=="Line"||!!/^eslint-disable-(?:next-)?line$/u.test(P.label)}),this[A].set("configNodes",k),k)}getDisableDirectives(){const k=this[A].get("disableDirectives");if(k)return k;const R=[],P=[];this.getInlineConfigNodes().forEach(F=>{const{label:O,value:$,justification:N}=c.parseDirective(F.value),_=/^eslint-disable-(?:next-)?line$/u.test(O);if(!(F.type==="Line"&&!_)){if(O==="eslint-disable-line"&&F.loc.start.line!==F.loc.end.line){const X=`${O} comment should not span multiple lines.`;R.push({ruleId:null,message:X,loc:F.loc});return}switch(O){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const X=O.slice(7);P.push(new s({type:X,node:F,value:$,justification:N}))}}}});const B={problems:R,directives:P};return this[A].set("disableDirectives",B),B}applyLanguageOptions(k){const R=Object.assign(Object.create(null),i(k.ecmaVersion),k.sourceType==="commonjs"?e.commonjs:void 0,k.globals);this[A].get("vars").set("configGlobals",R)}applyInlineConfig(){const k=[],R=[],P={},B=Object.create(null);this.getInlineConfigNodes().forEach(O=>{const{label:$,value:N}=c.parseDirective(O.value);switch($){case"exported":Object.assign(P,c.parseListConfig(N));break;case"globals":case"global":for(const[_,X]of Object.entries(c.parseStringConfig(N))){let L;try{L=v(X)}catch(K){k.push({ruleId:null,loc:O.loc,message:K.message});continue}B[_]?(B[_].comments.push(O),B[_].value=L):B[_]={comments:[O],value:L}}break;case"eslint":{const _=c.parseJSONLikeConfig(N);_.ok?R.push({config:{rules:_.config},loc:O.loc}):k.push({ruleId:null,loc:O.loc,message:_.error.message});break}}});const F=this[A].get("vars");return F.set("inlineGlobals",B),F.set("exportedVariables",P),{configs:R,problems:k}}finalize(){const k=this[A].get("vars"),R=k.get("configGlobals"),P=k.get("inlineGlobals"),B=k.get("exportedVariables"),F=this.scopeManager.scopes[0];x(F,R,P),B&&E(F,B)}traverse(){if(this.#e)return this.#e;const k=this.#e=[];let R={enterNode(P){k.push(new r({target:P,phase:1,args:[P]}))},leaveNode(P){k.push(new r({target:P,phase:2,args:[P]}))},emit(P,B){k.push(new u({target:P,args:B}))}};return this.isESTree&&(R=new f(R)),d.traverse(this.ast,{enter(P,B){P.parent=B,R.enterNode(P)},leave(P){R.leaveNode(P)},visitorKeys:this.visitorKeys}),k}}return Xs=C,Xs}var Js,Qd;function Yd(){return Qd||(Qd=1,Js={SourceCode:$x()}),Js}var Qs,Zd;function tn(){return Zd||(Zd=1,Qs=m=>{if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Qs}var Ys,em;function tm(){if(em)return Ys;em=1;function m(d){return typeof d=="object"&&d!==null&&!Array.isArray(d)}function t(d,e){if(e===void 0)return d;if(!m(d)||!m(e))return e;const l={...d,...e};for(const f of Object.keys(e))Object.prototype.propertyIsEnumerable.call(d,f)&&(l[f]=t(d[f],e[f]));return l}function p(d,e){return!d||!e?e||d||[]:[...d.map((l,f)=>t(l,f<e.length?e[f]:void 0)),...e.slice(d.length)]}return Ys={deepMergeArrays:p},Ys}var Zs,rm;function nm(){if(rm)return Zs;rm=1;function m(p){if([2,"2","error"].includes(p))return"error";if([1,"1","warn"].includes(p))return"warn";if([0,"0","off"].includes(p))return"off";throw new Error(`Invalid severity value: ${p}`)}function t(p){if([2,"2","error"].includes(p))return 2;if([1,"1","warn"].includes(p))return 1;if([0,"0","off"].includes(p))return 0;throw new Error(`Invalid severity value: ${p}`)}return Zs={normalizeSeverityToString:m,normalizeSeverityToNumber:t},Zs}var ea,sm;function ta(){if(sm)return ea;sm=1;const{normalizeSeverityToNumber:m}=nm(),t=new Map([[0,0],["off",0],[1,1],["warn",1],[2,2],["error",2]]);function p(B){return typeof B=="object"&&B!==null}function d(B){return p(B)&&!Array.isArray(B)}function e(B){return typeof B>"u"}function l(B,F,O=new Map){let $=O.get(B);if($){const _=$.get(F);if(_)return _}else $=new Map,O.set(B,$);const N={...B,...F};delete N.__proto__,$.set(F,N);for(const _ of Object.keys(F)){if(_==="__proto__"||!Object.prototype.propertyIsEnumerable.call(B,_))continue;const X=B[_],L=F[_];d(X)&&d(L)?N[_]=l(X,L,O):e(L)&&(N[_]=X)}return N}function f(B){const F=Array.isArray(B)?B.slice(0):[B];return F[0]=t.get(F[0]),structuredClone(F)}function o(B){for(const F of Object.keys(B))if(typeof B[F]=="function")return!0;return!1}class r extends Error{constructor(F,O){super(`Key "${F}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-options",this.messageData={ruleId:F,value:O}}}function u(B,F){if(typeof F!="string"&&typeof F!="number"&&!Array.isArray(F))throw new r(B,F)}class s extends Error{constructor(F,O){super(`Key "${F}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-severity",this.messageData={ruleId:F,value:O}}}function a(B,F){if(typeof t.get(F)>"u")throw new s(B,F)}function c(B){if(!/[\w\-@$]+(?:\/[\w\-$]+)+$/iu.test(B))throw new TypeError(`Expected string in the form "pluginName/objectName" but found "${B}".`)}function n(B){if(!p(B))throw new TypeError("Expected an object.")}class i extends Error{constructor(F){super("This appears to be in eslintrc format rather than flat config format."),this.messageTemplate="eslintrc-incompat",this.messageData={key:F}}}class h extends Error{constructor(F){super("This appears to be in eslintrc format (array of strings) rather than flat config format (object)."),this.messageTemplate="eslintrc-plugins",this.messageData={plugins:F}}}const g={merge:"replace",validate:"boolean"},v=new Set(["error","warn","off",2,1,0]),S={merge(B,F){const O=F===void 0?B:F;return typeof O=="boolean"?O?"warn":"off":m(O)},validate(B){if(!(v.has(B)||typeof B=="boolean"))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, 2, or a boolean.')}},b={merge(B,F){return m(F===void 0?B:F)},validate(B){if(!v.has(B))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, or 2.')}},T={merge(B={},F={}){return l(B,F)},validate:"object"},x={merge(B={},F={}){const O=l(B,F);for(const[$,N]of Object.entries(O))if(d(N)){if(o(N)){O[$]=F[$]??B[$];continue}O[$]={...O[$]};continue}return O},validate:"object"},E={merge:"replace",validate:c},A={merge(B={},F={}){const O=new Set([...Object.keys(B),...Object.keys(F)]),$={};for(const N of O)if(N!=="__proto__"){if(N in B&&N in F&&B[N]!==F[N])throw new TypeError(`Cannot redefine plugin "${N}".`);$[N]=F[N]||B[N]}return $},validate(B){if(B===null||typeof B!="object")throw new TypeError("Expected an object.");if(Array.isArray(B))throw new h(B);for(const F of Object.keys(B))if(F!=="__proto__"&&(B[F]===null||typeof B[F]!="object"))throw new TypeError(`Key "${F}": Expected an object.`)}},C={merge:"replace",validate(B){if(typeof B=="string")c(B);else if(B&&typeof B=="object"){if(typeof B.preprocess!="function"||typeof B.postprocess!="function")throw new TypeError("Object must have a preprocess() and a postprocess() method.")}else throw new TypeError("Expected an object or a string.")}},w={merge(B={},F={}){const O={...B,...F};for(const $ of Object.keys(O))try{if($==="__proto__"){delete O.__proto__;continue}if(O[$]=f(O[$]),!($ in B)||!($ in F))continue;const N=f(B[$]),_=f(F[$]);if(_.length===1){O[$]=[_[0],...N.slice(1)];continue}}catch(N){throw new Error(`Key "${$}": ${N.message}`,{cause:N})}return O},validate(B){n(B);for(const F of Object.keys(B)){if(F==="__proto__")continue;const O=B[F];u(F,O),Array.isArray(O)?a(F,O[0]):a(F,O)}}};function k(B){return{merge:"replace",validate(){throw new i(B)}}}return ea={flatConfigSchema:{...Object.fromEntries(["env","extends","globals","ignorePatterns","noInlineConfig","overrides","parser","parserOptions","reportUnusedDisableDirectives","root"].map(B=>[B,k(B)])),settings:T,linterOptions:{schema:{noInlineConfig:g,reportUnusedDisableDirectives:S,reportUnusedInlineConfigs:b}},language:E,languageOptions:x,processor:C,plugins:A,rules:w},hasMethod:o,assertIsRuleSeverity:a},ea}var ra={},Dt={},am;function Wx(){if(am)return Dt;am=1;function m(I){if(typeof I!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(I)}"`)}function t(I,H){if(H.length>=I.length)return I;const fe=I.length-H.length;for(let ce=H.length-1;ce>=0;--ce)if(I.charCodeAt(fe+ce)!==H.charCodeAt(ce))return I;return I.slice(0,-H.length)}function p(I,H,fe=0){let ce=!1,ie=I.length;for(let he=I.length-1;he>=fe;--he)if(H(I.charCodeAt(he))){if(ce){fe=he+1;break}}else ce||(ce=!0,ie=he+1);return I.slice(fe,ie)}function d(I,H){if(m(I),I.length===0)return I;if(typeof H!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(H)}"`)}function e(I){if(I=I instanceof URL?I:new URL(I),I.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${I.protocol}"`);return I}function l(I){return I=e(I),decodeURIComponent(I.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function f(I,H){if(I.length<=1)return I;let fe=I.length;for(let ce=I.length-1;ce>0&&H(I.charCodeAt(ce));ce--)fe=ce;return I.slice(0,fe)}const o=46,r=47;function u(I){return I===r}function s(I,H=""){I instanceof URL&&(I=l(I)),d(I,H);const fe=p(I,u),ce=f(fe,u);return H?t(ce,H):ce}const a=":",c="/",n=/\/+/;function i(I){if(m(I),I.length===0)return"."}function h(I){I instanceof URL&&(I=l(I)),i(I);let H=-1,fe=!1;for(let ce=I.length-1;ce>=1;--ce)if(u(I.charCodeAt(ce))){if(fe){H=ce;break}}else fe=!0;return H===-1?u(I.charCodeAt(0))?"/":".":f(I.slice(0,H),u)}function g(I){I instanceof URL&&(I=l(I)),m(I);let H=-1,fe=0,ce=-1,ie=!0,he=0;for(let Se=I.length-1;Se>=0;--Se){const xe=I.charCodeAt(Se);if(u(xe)){if(!ie){fe=Se+1;break}continue}ce===-1&&(ie=!1,ce=Se+1),xe===o?H===-1?H=Se:he!==1&&(he=1):H!==-1&&(he=-1)}return H===-1||ce===-1||he===0||he===1&&H===ce-1&&H===fe+1?"":I.slice(H,ce)}function v(I,H){const fe=H.dir||H.root,ce=H.base||(H.name??"")+(H.ext??"");return fe?ce===I?fe:fe===H.root?fe+ce:fe+I+ce:ce}function S(I){if(I===null||typeof I!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof I}"`)}function b(I){return S(I),v("/",I)}function T(I){return m(I),I.length>0&&u(I.charCodeAt(0))}function x(I){if(m(I),I.length===0)return"."}function E(I,H,fe,ce){let ie="",he=0,Se=-1,xe=0,we;for(let ee=0;ee<=I.length;++ee){if(ee<I.length)we=I.charCodeAt(ee);else{if(ce(we))break;we=r}if(ce(we)){if(!(Se===ee-1||xe===1))if(Se!==ee-1&&xe===2){if(ie.length<2||he!==2||ie.charCodeAt(ie.length-1)!==o||ie.charCodeAt(ie.length-2)!==o){if(ie.length>2){const ne=ie.lastIndexOf(fe);ne===-1?(ie="",he=0):(ie=ie.slice(0,ne),he=ie.length-1-ie.lastIndexOf(fe)),Se=ee,xe=0;continue}else if(ie.length===2||ie.length===1){ie="",he=0,Se=ee,xe=0;continue}}H&&(ie.length>0?ie+=`${fe}..`:ie="..",he=2)}else ie.length>0?ie+=fe+I.slice(Se+1,ee):ie=I.slice(Se+1,ee),he=ee-Se-1;Se=ee,xe=0}else we===o&&xe!==-1?++xe:xe=-1}return ie}function A(I){I instanceof URL&&(I=l(I)),x(I);const H=u(I.charCodeAt(0)),fe=u(I.charCodeAt(I.length-1));return I=E(I,!H,"/",u),I.length===0&&!H&&(I="."),I.length>0&&fe&&(I+="/"),H?`/${I}`:I}function C(I,...H){if(I===void 0)return".";I instanceof URL&&(I=l(I)),H=I?[I,...H]:H,H.forEach(ce=>m(ce));const fe=H.filter(ce=>ce.length>0).join("/");return fe===""?".":A(fe)}function w(I){m(I);const H={root:"",dir:"",base:"",ext:"",name:""};if(I.length===0)return H;const fe=u(I.charCodeAt(0));let ce;fe?(H.root="/",ce=1):ce=0;let ie=-1,he=0,Se=-1,xe=!0,we=I.length-1,ee=0;for(;we>=ce;--we){const ne=I.charCodeAt(we);if(u(ne)){if(!xe){he=we+1;break}continue}Se===-1&&(xe=!1,Se=we+1),ne===o?ie===-1?ie=we:ee!==1&&(ee=1):ie!==-1&&(ee=-1)}return ie===-1||Se===-1||ee===0||ee===1&&ie===Se-1&&ie===he+1?(Se!==-1&&(he===0&&fe?H.base=H.name=I.slice(1,Se):H.base=H.name=I.slice(he,Se)),H.base=H.base||"/"):(he===0&&fe?(H.name=I.slice(1,ie),H.base=I.slice(1,Se)):(H.name=I.slice(he,ie),H.base=I.slice(he,Se)),H.ext=I.slice(ie,Se)),he>0?H.dir=f(I.slice(0,he-1),u):fe&&(H.dir="/"),H}function k(...I){let H="",fe=!1;for(let ce=I.length-1;ce>=-1&&!fe;ce--){let ie;if(ce>=0)ie=I[ce];else{const{Deno:he}=globalThis;if(typeof he?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");ie=he.cwd()}m(ie),ie.length!==0&&(H=`${ie}/${H}`,fe=u(ie.charCodeAt(0)))}return H=E(H,!fe,"/",u),fe?H.length>0?`/${H}`:"/":H.length>0?H:"."}function R(I,H){if(m(I),m(H),I===H)return""}function P(I,H){if(R(I,H),I=k(I),H=k(H),I===H)return"";let fe=1;const ce=I.length;for(;fe<ce&&u(I.charCodeAt(fe));++fe);const ie=ce-fe;let he=1;const Se=H.length;for(;he<Se&&u(H.charCodeAt(he));++he);const xe=Se-he,we=ie<xe?ie:xe;let ee=-1,ne=0;for(;ne<=we;++ne){if(ne===we){if(xe>we){if(u(H.charCodeAt(he+ne)))return H.slice(he+ne+1);if(ne===0)return H.slice(he+ne)}else ie>we&&(u(I.charCodeAt(fe+ne))?ee=ne:ne===0&&(ee=0));break}const z=I.charCodeAt(fe+ne),oe=H.charCodeAt(he+ne);if(z!==oe)break;u(z)&&(ee=ne)}let Ae="";for(ne=fe+ee+1;ne<=ce;++ne)(ne===ce||u(I.charCodeAt(ne)))&&(Ae.length===0?Ae+="..":Ae+="/..");return Ae.length>0?Ae+H.slice(he+ee):(he+=ee,u(H.charCodeAt(he))&&++he,H.slice(he))}const B={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function F(I){return I.replaceAll(/[\s]/g,H=>B[H]??H)}function O(I){if(!T(I))throw new TypeError(`Path must be absolute: received "${I}"`);const H=new URL("file:///");return H.pathname=F(I.replace(/%/g,"%25").replace(/\\/g,"%5C")),H}function $(I){return I}function N(I,H){const[fe="",...ce]=I,ie=fe.split(H);let he=ie.length,Se="";for(const xe of ce){const we=xe.split(H);we.length<=he&&(he=we.length,Se="");for(let ee=0;ee<he;ee++)if(we[ee]!==ie[ee]){he=ee,Se=ee===0?"":H;break}}return ie.slice(0,he).join(H)+Se}function _(I){return N(I,c)}const X=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],L=["-","\\","]"];function K(I,H,{extended:fe=!0,globstar:ce=!0,caseInsensitive:ie=!1}={}){if(H==="")return/(?!)/;let he=H.length;for(;he>1&&I.seps.includes(H[he-1]);he--);H=H.slice(0,he);let Se="";for(let xe=0;xe<H.length;){let we="";const ee=[];let ne=!1,Ae=!1,z=!1,oe=xe;for(;oe<H.length&&!I.seps.includes(H[oe]);oe++){if(Ae){Ae=!1,we+=(ne?L:X).includes(H[oe])?`\\${H[oe]}`:H[oe];continue}if(H[oe]===I.escapePrefix){Ae=!0;continue}if(H[oe]==="[")if(ne){if(H[oe+1]===":"){let Te=oe+1,Re="";for(;H[Te+1]!==void 0&&H[Te+1]!==":";)Re+=H[Te+1],Te++;if(H[Te+1]===":"&&H[Te+2]==="]"){oe=Te+2,Re==="alnum"?we+="\\dA-Za-z":Re==="alpha"?we+="A-Za-z":Re==="ascii"?we+="\0-":Re==="blank"?we+=" ":Re==="cntrl"?we+="\0-":Re==="digit"?we+="\\d":Re==="graph"?we+="!-~":Re==="lower"?we+="a-z":Re==="print"?we+=" -~":Re==="punct"?we+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:Re==="space"?we+="\\s\v":Re==="upper"?we+="A-Z":Re==="word"?we+="\\w":Re==="xdigit"&&(we+="\\dA-Fa-f");continue}}}else{ne=!0,we+="[",H[oe+1]==="!"?(oe++,we+="^"):H[oe+1]==="^"&&(oe++,we+="\\^");continue}if(H[oe]==="]"&&ne){ne=!1,we+="]";continue}if(ne){we+=H[oe];continue}if(H[oe]===")"&&ee.length>0&&ee[ee.length-1]!=="BRACE"){we+=")";const Te=ee.pop();Te==="!"?we+=I.wildcard:Te!=="@"&&(we+=Te);continue}if(H[oe]==="|"&&ee.length>0&&ee[ee.length-1]!=="BRACE"){we+="|";continue}if(H[oe]==="+"&&fe&&H[oe+1]==="("){oe++,ee.push("+"),we+="(?:";continue}if(H[oe]==="@"&&fe&&H[oe+1]==="("){oe++,ee.push("@"),we+="(?:";continue}if(H[oe]==="?"){fe&&H[oe+1]==="("?(oe++,ee.push("?"),we+="(?:"):we+=".";continue}if(H[oe]==="!"&&fe&&H[oe+1]==="("){oe++,ee.push("!"),we+="(?!";continue}if(H[oe]==="{"){ee.push("BRACE"),we+="(?:";continue}if(H[oe]==="}"&&ee[ee.length-1]==="BRACE"){ee.pop(),we+=")";continue}if(H[oe]===","&&ee[ee.length-1]==="BRACE"){we+="|";continue}if(H[oe]==="*"){if(fe&&H[oe+1]==="(")oe++,ee.push("*"),we+="(?:";else{const Te=H[oe-1];let Re=1;for(;H[oe+1]==="*";)oe++,Re++;const Pe=H[oe+1];ce&&Re===2&&[...I.seps,void 0].includes(Te)&&[...I.seps,void 0].includes(Pe)?(we+=I.globstar,z=!0):we+=I.wildcard}continue}we+=X.includes(H[oe])?`\\${H[oe]}`:H[oe]}if(ee.length>0||ne||Ae){we="";for(const Te of H.slice(xe,oe))we+=X.includes(Te)?`\\${Te}`:Te,z=!1}for(Se+=we,z||(Se+=oe<H.length?I.sep:I.sepMaybe,z=!0);I.seps.includes(H[oe]);)oe++;xe=oe}return Se=`^${Se}$`,new RegExp(Se,ie?"i":"")}const J={sep:"/+",sepMaybe:"/*",seps:["/"],globstar:"(?:[^/]*(?:/|$)+)*",wildcard:"[^/]*",escapePrefix:"\\"};function ge(I,H={}){return K(J,I,H)}function ae(I){const H={"{":"}","(":")","[":"]"},fe=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;if(I==="")return!1;let ce;for(;ce=fe.exec(I);){if(ce[2])return!0;let ie=ce.index+ce[0].length;const he=ce[1],Se=he?H[he]:null;if(he&&Se){const xe=I.indexOf(Se,ie);xe!==-1&&(ie=xe+1)}I=I.slice(ie)}return!1}function ke(I,H={}){const{globstar:fe=!1}=H;if(I.match(/\0/g))throw new Error(`Glob contains invalid characters: "${I}"`);if(!fe)return A(I);const ce=n.source,ie=new RegExp(`(?<=(${ce}|^)\\*\\*${ce})\\.\\.(?=${ce}|$)`,"g");return A(I.replace(ie,"\0")).replace(/\0/g,"..")}function Z(I,H={}){const{globstar:fe=!1}=H;if(!fe||I.length===0)return C(...I);let ce;for(const ie of I){const he=ie;he.length>0&&(ce?ce+=`${c}${he}`:ce=he)}return ce?ke(ce,{globstar:fe}):"."}return Dt.DELIMITER=a,Dt.SEPARATOR=c,Dt.SEPARATOR_PATTERN=n,Dt.basename=s,Dt.common=_,Dt.dirname=h,Dt.extname=g,Dt.format=b,Dt.fromFileUrl=l,Dt.globToRegExp=ge,Dt.isAbsolute=T,Dt.isGlob=ae,Dt.join=C,Dt.joinGlobs=Z,Dt.normalize=A,Dt.normalizeGlob=ke,Dt.parse=w,Dt.relative=P,Dt.resolve=k,Dt.toFileUrl=O,Dt.toNamespacedPath=$,Dt}var It={},im;function Gx(){if(im)return It;im=1;function m(ee){if(typeof ee!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(ee)}"`)}function t(ee,ne){if(ne.length>=ee.length)return ee;const Ae=ee.length-ne.length;for(let z=ne.length-1;z>=0;--z)if(ee.charCodeAt(Ae+z)!==ne.charCodeAt(z))return ee;return ee.slice(0,-ne.length)}function p(ee,ne,Ae=0){let z=!1,oe=ee.length;for(let Te=ee.length-1;Te>=Ae;--Te)if(ne(ee.charCodeAt(Te))){if(z){Ae=Te+1;break}}else z||(z=!0,oe=Te+1);return ee.slice(Ae,oe)}function d(ee,ne){if(m(ee),ee.length===0)return ee;if(typeof ne!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(ne)}"`)}const e=65,l=97,f=90,o=122,r=46,u=47,s=92,a=58,c=63;function n(ee,ne){if(ee.length<=1)return ee;let Ae=ee.length;for(let z=ee.length-1;z>0&&ne(ee.charCodeAt(z));z--)Ae=z;return ee.slice(0,Ae)}function i(ee){return ee===u}function h(ee){return ee===u||ee===s}function g(ee){return ee>=l&&ee<=o||ee>=e&&ee<=f}function v(ee){if(ee=ee instanceof URL?ee:new URL(ee),ee.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${ee.protocol}"`);return ee}function S(ee){ee=v(ee);let ne=decodeURIComponent(ee.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return ee.hostname!==""&&(ne=`\\\\${ee.hostname}${ne}`),ne}function b(ee,ne=""){ee instanceof URL&&(ee=S(ee)),d(ee,ne);let Ae=0;if(ee.length>=2){const Te=ee.charCodeAt(0);g(Te)&&ee.charCodeAt(1)===a&&(Ae=2)}const z=p(ee,h,Ae),oe=n(z,h);return ne?t(oe,ne):oe}const T=";",x="\\",E=/[\\/]+/;function A(ee){if(m(ee),ee.length===0)return"."}function C(ee){ee instanceof URL&&(ee=S(ee)),A(ee);const ne=ee.length;let Ae=-1,z=-1,oe=!0,Te=0;const Re=ee.charCodeAt(0);if(ne>1)if(h(Re)){if(Ae=Te=1,h(ee.charCodeAt(1))){let Pe=2,G=Pe;for(;Pe<ne&&!h(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){for(G=Pe;Pe<ne&&h(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){for(G=Pe;Pe<ne&&!h(ee.charCodeAt(Pe));++Pe);if(Pe===ne)return ee;Pe!==G&&(Ae=Te=Pe+1)}}}}else g(Re)&&ee.charCodeAt(1)===a&&(Ae=Te=2,ne>2&&h(ee.charCodeAt(2))&&(Ae=Te=3));else if(h(Re))return ee;for(let Pe=ne-1;Pe>=Te;--Pe)if(h(ee.charCodeAt(Pe))){if(!oe){z=Pe;break}}else oe=!1;if(z===-1){if(Ae===-1)return".";z=Ae}return n(ee.slice(0,z),i)}function w(ee){ee instanceof URL&&(ee=S(ee)),m(ee);let ne=0,Ae=-1,z=0,oe=-1,Te=!0,Re=0;ee.length>=2&&ee.charCodeAt(1)===a&&g(ee.charCodeAt(0))&&(ne=z=2);for(let Pe=ee.length-1;Pe>=ne;--Pe){const G=ee.charCodeAt(Pe);if(h(G)){if(!Te){z=Pe+1;break}continue}oe===-1&&(Te=!1,oe=Pe+1),G===r?Ae===-1?Ae=Pe:Re!==1&&(Re=1):Ae!==-1&&(Re=-1)}return Ae===-1||oe===-1||Re===0||Re===1&&Ae===oe-1&&Ae===z+1?"":ee.slice(Ae,oe)}function k(ee,ne){const Ae=ne.dir||ne.root,z=ne.base||(ne.name??"")+(ne.ext??"");return Ae?z===ee?Ae:Ae===ne.root?Ae+z:Ae+ee+z:z}function R(ee){if(ee===null||typeof ee!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof ee}"`)}function P(ee){return R(ee),k("\\",ee)}function B(ee){m(ee);const ne=ee.length;if(ne===0)return!1;const Ae=ee.charCodeAt(0);return h(Ae)?!0:!!(g(Ae)&&ne>2&&ee.charCodeAt(1)===a&&h(ee.charCodeAt(2)))}function F(ee){if(m(ee),ee.length===0)return"."}function O(ee,ne,Ae,z){let oe="",Te=0,Re=-1,Pe=0,G;for(let Je=0;Je<=ee.length;++Je){if(Je<ee.length)G=ee.charCodeAt(Je);else{if(z(G))break;G=u}if(z(G)){if(!(Re===Je-1||Pe===1))if(Re!==Je-1&&Pe===2){if(oe.length<2||Te!==2||oe.charCodeAt(oe.length-1)!==r||oe.charCodeAt(oe.length-2)!==r){if(oe.length>2){const lt=oe.lastIndexOf(Ae);lt===-1?(oe="",Te=0):(oe=oe.slice(0,lt),Te=oe.length-1-oe.lastIndexOf(Ae)),Re=Je,Pe=0;continue}else if(oe.length===2||oe.length===1){oe="",Te=0,Re=Je,Pe=0;continue}}ne&&(oe.length>0?oe+=`${Ae}..`:oe="..",Te=2)}else oe.length>0?oe+=Ae+ee.slice(Re+1,Je):oe=ee.slice(Re+1,Je),Te=Je-Re-1;Re=Je,Pe=0}else G===r&&Pe!==-1?++Pe:Pe=-1}return oe}function $(ee){ee instanceof URL&&(ee=S(ee)),F(ee);const ne=ee.length;let Ae=0,z,oe=!1;const Te=ee.charCodeAt(0);if(ne>1)if(h(Te))if(oe=!0,h(ee.charCodeAt(1))){let Pe=2,G=Pe;for(;Pe<ne&&!h(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){const Je=ee.slice(G,Pe);for(G=Pe;Pe<ne&&h(ee.charCodeAt(Pe));++Pe);if(Pe<ne&&Pe!==G){for(G=Pe;Pe<ne&&!h(ee.charCodeAt(Pe));++Pe);if(Pe===ne)return`\\\\${Je}\\${ee.slice(G)}\\`;Pe!==G&&(z=`\\\\${Je}\\${ee.slice(G,Pe)}`,Ae=Pe)}}}else Ae=1;else g(Te)&&ee.charCodeAt(1)===a&&(z=ee.slice(0,2),Ae=2,ne>2&&h(ee.charCodeAt(2))&&(oe=!0,Ae=3));else if(h(Te))return"\\";let Re;return Ae<ne?Re=O(ee.slice(Ae),!oe,"\\",h):Re="",Re.length===0&&!oe&&(Re="."),Re.length>0&&h(ee.charCodeAt(ne-1))&&(Re+="\\"),z===void 0?oe?Re.length>0?`\\${Re}`:"\\":Re:oe?Re.length>0?`${z}\\${Re}`:`${z}\\`:z+Re}function N(ee,...ne){if(ee instanceof URL&&(ee=S(ee)),ne=ee?[ee,...ne]:ne,ne.forEach(Re=>m(Re)),ne=ne.filter(Re=>Re.length>0),ne.length===0)return".";let Ae=!0,z=0;const oe=ne[0];if(h(oe.charCodeAt(0))){++z;const Re=oe.length;Re>1&&h(oe.charCodeAt(1))&&(++z,Re>2&&(h(oe.charCodeAt(2))?++z:Ae=!1))}let Te=ne.join("\\");if(Ae){for(;z<Te.length&&h(Te.charCodeAt(z));++z);z>=2&&(Te=`\\${Te.slice(z)}`)}return $(Te)}function _(ee){m(ee);const ne={root:"",dir:"",base:"",ext:"",name:""},Ae=ee.length;if(Ae===0)return ne;let z=0,oe=ee.charCodeAt(0);if(Ae>1){if(h(oe)){if(z=1,h(ee.charCodeAt(1))){let et=2,qe=et;for(;et<Ae&&!h(ee.charCodeAt(et));++et);if(et<Ae&&et!==qe){for(qe=et;et<Ae&&h(ee.charCodeAt(et));++et);if(et<Ae&&et!==qe){for(qe=et;et<Ae&&!h(ee.charCodeAt(et));++et);et===Ae?z=et:et!==qe&&(z=et+1)}}}}else if(g(oe)&&ee.charCodeAt(1)===a)if(z=2,Ae>2){if(h(ee.charCodeAt(2))){if(Ae===3)return ne.root=ne.dir=ee,ne.base="\\",ne;z=3}}else return ne.root=ne.dir=ee,ne}else if(h(oe))return ne.root=ne.dir=ee,ne.base="\\",ne;z>0&&(ne.root=ee.slice(0,z));let Te=-1,Re=z,Pe=-1,G=!0,Je=ee.length-1,lt=0;for(;Je>=z;--Je){if(oe=ee.charCodeAt(Je),h(oe)){if(!G){Re=Je+1;break}continue}Pe===-1&&(G=!1,Pe=Je+1),oe===r?Te===-1?Te=Je:lt!==1&&(lt=1):Te!==-1&&(lt=-1)}return Te===-1||Pe===-1||lt===0||lt===1&&Te===Pe-1&&Te===Re+1?Pe!==-1&&(ne.base=ne.name=ee.slice(Re,Pe)):(ne.name=ee.slice(Re,Te),ne.base=ee.slice(Re,Pe),ne.ext=ee.slice(Te,Pe)),ne.base=ne.base||"\\",Re>0&&Re!==z?ne.dir=ee.slice(0,Re-1):ne.dir=ne.root,ne}function X(...ee){let ne="",Ae="",z=!1;for(let oe=ee.length-1;oe>=-1;oe--){let Te;const{Deno:Re}=globalThis;if(oe>=0)Te=ee[oe];else if(ne){if(typeof Re?.env?.get!="function"||typeof Re?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");Te=Re.cwd(),(Te===void 0||Te.slice(0,3).toLowerCase()!==`${ne.toLowerCase()}\\`)&&(Te=`${ne}\\`)}else{if(typeof Re?.cwd!="function")throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");Te=Re.cwd()}m(Te);const Pe=Te.length;if(Pe===0)continue;let G=0,Je="",lt=!1;const et=Te.charCodeAt(0);if(Pe>1)if(h(et))if(lt=!0,h(Te.charCodeAt(1))){let qe=2,$e=qe;for(;qe<Pe&&!h(Te.charCodeAt(qe));++qe);if(qe<Pe&&qe!==$e){const nt=Te.slice($e,qe);for($e=qe;qe<Pe&&h(Te.charCodeAt(qe));++qe);if(qe<Pe&&qe!==$e){for($e=qe;qe<Pe&&!h(Te.charCodeAt(qe));++qe);qe===Pe?(Je=`\\\\${nt}\\${Te.slice($e)}`,G=qe):qe!==$e&&(Je=`\\\\${nt}\\${Te.slice($e,qe)}`,G=qe)}}}else G=1;else g(et)&&Te.charCodeAt(1)===a&&(Je=Te.slice(0,2),G=2,Pe>2&&h(Te.charCodeAt(2))&&(lt=!0,G=3));else h(et)&&(G=1,lt=!0);if(!(Je.length>0&&ne.length>0&&Je.toLowerCase()!==ne.toLowerCase())&&(ne.length===0&&Je.length>0&&(ne=Je),z||(Ae=`${Te.slice(G)}\\${Ae}`,z=lt),z&&ne.length>0))break}return Ae=O(Ae,!z,"\\",h),ne+(z?"\\":"")+Ae||"."}function L(ee,ne){if(m(ee),m(ne),ee===ne)return""}function K(ee,ne){L(ee,ne);const Ae=X(ee),z=X(ne);if(Ae===z||(ee=Ae.toLowerCase(),ne=z.toLowerCase(),ee===ne))return"";let oe=0,Te=ee.length;for(;oe<Te&&ee.charCodeAt(oe)===s;++oe);for(;Te-1>oe&&ee.charCodeAt(Te-1)===s;--Te);const Re=Te-oe;let Pe=0,G=ne.length;for(;Pe<G&&ne.charCodeAt(Pe)===s;++Pe);for(;G-1>Pe&&ne.charCodeAt(G-1)===s;--G);const Je=G-Pe,lt=Re<Je?Re:Je;let et=-1,qe=0;for(;qe<=lt;++qe){if(qe===lt){if(Je>lt){if(ne.charCodeAt(Pe+qe)===s)return z.slice(Pe+qe+1);if(qe===2)return z.slice(Pe+qe)}Re>lt&&(ee.charCodeAt(oe+qe)===s?et=qe:qe===2&&(et=3));break}const nt=ee.charCodeAt(oe+qe),pt=ne.charCodeAt(Pe+qe);if(nt!==pt)break;nt===s&&(et=qe)}if(qe!==lt&&et===-1)return z;let $e="";for(et===-1&&(et=0),qe=oe+et+1;qe<=Te;++qe)(qe===Te||ee.charCodeAt(qe)===s)&&($e.length===0?$e+="..":$e+="\\..");return $e.length>0?$e+z.slice(Pe+et,G):(Pe+=et,z.charCodeAt(Pe)===s&&++Pe,z.slice(Pe,G))}const J={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function ge(ee){return ee.replaceAll(/[\s]/g,ne=>J[ne]??ne)}function ae(ee){if(!B(ee))throw new TypeError(`Path must be absolute: received "${ee}"`);const[,ne,Ae]=ee.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/),z=new URL("file:///");if(z.pathname=ge(Ae.replace(/%/g,"%25")),ne!==void 0&&ne!=="localhost"&&(z.hostname=ne,!z.hostname))throw new TypeError(`Invalid hostname: "${z.hostname}"`);return z}function ke(ee){if(typeof ee!="string")return ee;if(ee.length===0)return"";const ne=X(ee);if(ne.length>=3){if(ne.charCodeAt(0)===s){if(ne.charCodeAt(1)===s){const Ae=ne.charCodeAt(2);if(Ae!==c&&Ae!==r)return`\\\\?\\UNC\\${ne.slice(2)}`}}else if(g(ne.charCodeAt(0))&&ne.charCodeAt(1)===a&&ne.charCodeAt(2)===s)return`\\\\?\\${ne}`}return ee}function Z(ee,ne){const[Ae="",...z]=ee,oe=Ae.split(ne);let Te=oe.length,Re="";for(const Pe of z){const G=Pe.split(ne);G.length<=Te&&(Te=G.length,Re="");for(let Je=0;Je<Te;Je++)if(G[Je]!==oe[Je]){Te=Je,Re=Je===0?"":ne;break}}return oe.slice(0,Te).join(ne)+Re}function I(ee){return Z(ee,x)}const H=["!","$","(",")","*","+",".","=","?","[","\\","^","{","|"],fe=["-","\\","]"];function ce(ee,ne,{extended:Ae=!0,globstar:z=!0,caseInsensitive:oe=!1}={}){if(ne==="")return/(?!)/;let Te=ne.length;for(;Te>1&&ee.seps.includes(ne[Te-1]);Te--);ne=ne.slice(0,Te);let Re="";for(let Pe=0;Pe<ne.length;){let G="";const Je=[];let lt=!1,et=!1,qe=!1,$e=Pe;for(;$e<ne.length&&!ee.seps.includes(ne[$e]);$e++){if(et){et=!1,G+=(lt?fe:H).includes(ne[$e])?`\\${ne[$e]}`:ne[$e];continue}if(ne[$e]===ee.escapePrefix){et=!0;continue}if(ne[$e]==="[")if(lt){if(ne[$e+1]===":"){let nt=$e+1,pt="";for(;ne[nt+1]!==void 0&&ne[nt+1]!==":";)pt+=ne[nt+1],nt++;if(ne[nt+1]===":"&&ne[nt+2]==="]"){$e=nt+2,pt==="alnum"?G+="\\dA-Za-z":pt==="alpha"?G+="A-Za-z":pt==="ascii"?G+="\0-":pt==="blank"?G+=" ":pt==="cntrl"?G+="\0-":pt==="digit"?G+="\\d":pt==="graph"?G+="!-~":pt==="lower"?G+="a-z":pt==="print"?G+=" -~":pt==="punct"?G+=`!"#$%&'()*+,\\-./:;<=>?@[\\\\\\]^_‘{|}~`:pt==="space"?G+="\\s\v":pt==="upper"?G+="A-Z":pt==="word"?G+="\\w":pt==="xdigit"&&(G+="\\dA-Fa-f");continue}}}else{lt=!0,G+="[",ne[$e+1]==="!"?($e++,G+="^"):ne[$e+1]==="^"&&($e++,G+="\\^");continue}if(ne[$e]==="]"&&lt){lt=!1,G+="]";continue}if(lt){G+=ne[$e];continue}if(ne[$e]===")"&&Je.length>0&&Je[Je.length-1]!=="BRACE"){G+=")";const nt=Je.pop();nt==="!"?G+=ee.wildcard:nt!=="@"&&(G+=nt);continue}if(ne[$e]==="|"&&Je.length>0&&Je[Je.length-1]!=="BRACE"){G+="|";continue}if(ne[$e]==="+"&&Ae&&ne[$e+1]==="("){$e++,Je.push("+"),G+="(?:";continue}if(ne[$e]==="@"&&Ae&&ne[$e+1]==="("){$e++,Je.push("@"),G+="(?:";continue}if(ne[$e]==="?"){Ae&&ne[$e+1]==="("?($e++,Je.push("?"),G+="(?:"):G+=".";continue}if(ne[$e]==="!"&&Ae&&ne[$e+1]==="("){$e++,Je.push("!"),G+="(?!";continue}if(ne[$e]==="{"){Je.push("BRACE"),G+="(?:";continue}if(ne[$e]==="}"&&Je[Je.length-1]==="BRACE"){Je.pop(),G+=")";continue}if(ne[$e]===","&&Je[Je.length-1]==="BRACE"){G+="|";continue}if(ne[$e]==="*"){if(Ae&&ne[$e+1]==="(")$e++,Je.push("*"),G+="(?:";else{const nt=ne[$e-1];let pt=1;for(;ne[$e+1]==="*";)$e++,pt++;const tt=ne[$e+1];z&&pt===2&&[...ee.seps,void 0].includes(nt)&&[...ee.seps,void 0].includes(tt)?(G+=ee.globstar,qe=!0):G+=ee.wildcard}continue}G+=H.includes(ne[$e])?`\\${ne[$e]}`:ne[$e]}if(Je.length>0||lt||et){G="";for(const nt of ne.slice(Pe,$e))G+=H.includes(nt)?`\\${nt}`:nt,qe=!1}for(Re+=G,qe||(Re+=$e<ne.length?ee.sep:ee.sepMaybe,qe=!0);ee.seps.includes(ne[$e]);)$e++;Pe=$e}return Re=`^${Re}$`,new RegExp(Re,oe?"i":"")}const ie={sep:"(?:\\\\|/)+",sepMaybe:"(?:\\\\|/)*",seps:["\\","/"],globstar:"(?:[^\\\\/]*(?:\\\\|/|$)+)*",wildcard:"[^\\\\/]*",escapePrefix:"`"};function he(ee,ne={}){return ce(ie,ee,ne)}function Se(ee){const ne={"{":"}","(":")","[":"]"},Ae=/\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;if(ee==="")return!1;let z;for(;z=Ae.exec(ee);){if(z[2])return!0;let oe=z.index+z[0].length;const Te=z[1],Re=Te?ne[Te]:null;if(Te&&Re){const Pe=ee.indexOf(Re,oe);Pe!==-1&&(oe=Pe+1)}ee=ee.slice(oe)}return!1}function xe(ee,ne={}){const{globstar:Ae=!1}=ne;if(ee.match(/\0/g))throw new Error(`Glob contains invalid characters: "${ee}"`);if(!Ae)return $(ee);const z=E.source,oe=new RegExp(`(?<=(${z}|^)\\*\\*${z})\\.\\.(?=${z}|$)`,"g");return $(ee.replace(oe,"\0")).replace(/\0/g,"..")}function we(ee,ne={}){const{globstar:Ae=!1}=ne;if(!Ae||ee.length===0)return N(...ee);let z;for(const oe of ee){const Te=oe;Te.length>0&&(z?z+=`${x}${Te}`:z=Te)}return z?xe(z,{globstar:Ae}):"."}return It.DELIMITER=T,It.SEPARATOR=x,It.SEPARATOR_PATTERN=E,It.basename=b,It.common=I,It.dirname=C,It.extname=w,It.format=P,It.fromFileUrl=S,It.globToRegExp=he,It.isAbsolute=B,It.isGlob=Se,It.join=N,It.joinGlobs=we,It.normalize=$,It.normalizeGlob=xe,It.parse=_,It.relative=K,It.resolve=X,It.toFileUrl=ae,It.toNamespacedPath=ke,It}function om(m,t){for(var p=0,d=m.length-1;d>=0;d--){var e=m[d];e==="."?m.splice(d,1):e===".."?(m.splice(d,1),p++):p&&(m.splice(d,1),p--)}if(t)for(;p--;p)m.unshift("..");return m}var zx=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,na=function(m){return zx.exec(m).slice(1)};function rn(){for(var m="",t=!1,p=arguments.length-1;p>=-1&&!t;p--){var d=p>=0?arguments[p]:"/";if(typeof d!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!d)continue;m=d+"/"+m,t=d.charAt(0)==="/"}return m=om(ia(m.split("/"),function(e){return!!e}),!t).join("/"),(t?"/":"")+m||"."}function sa(m){var t=aa(m),p=Kx(m,-1)==="/";return m=om(ia(m.split("/"),function(d){return!!d}),!t).join("/"),!m&&!t&&(m="."),m&&p&&(m+="/"),(t?"/":"")+m}function aa(m){return m.charAt(0)==="/"}function lm(){var m=Array.prototype.slice.call(arguments,0);return sa(ia(m,function(t,p){if(typeof t!="string")throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))}function um(m,t){m=rn(m).substr(1),t=rn(t).substr(1);function p(u){for(var s=0;s<u.length&&u[s]==="";s++);for(var a=u.length-1;a>=0&&u[a]==="";a--);return s>a?[]:u.slice(s,a-s+1)}for(var d=p(m.split("/")),e=p(t.split("/")),l=Math.min(d.length,e.length),f=l,o=0;o<l;o++)if(d[o]!==e[o]){f=o;break}for(var r=[],o=f;o<d.length;o++)r.push("..");return r=r.concat(e.slice(f)),r.join("/")}var cm="/",fm=":";function pm(m){var t=na(m),p=t[0],d=t[1];return!p&&!d?".":(d&&(d=d.substr(0,d.length-1)),p+d)}function dm(m,t){var p=na(m)[2];return t&&p.substr(-1*t.length)===t&&(p=p.substr(0,p.length-t.length)),p}function mm(m){return na(m)[3]}var Hx={extname:mm,basename:dm,dirname:pm,sep:cm,delimiter:fm,relative:um,join:lm,isAbsolute:aa,normalize:sa,resolve:rn};function ia(m,t){if(m.filter)return m.filter(t);for(var p=[],d=0;d<m.length;d++)t(m[d],d,m)&&p.push(m[d]);return p}var Kx="ab".substr(-1)==="b"?function(m,t,p){return m.substr(t,p)}:function(m,t,p){return t<0&&(t=m.length+t),m.substr(t,p)},Xx=Object.freeze({__proto__:null,basename:dm,default:Hx,delimiter:fm,dirname:pm,extname:mm,isAbsolute:aa,join:lm,normalize:sa,relative:um,resolve:rn,sep:cm}),Jx=nb(Xx),oa,hm;function Qx(){if(hm)return oa;hm=1,oa=function(t,p){for(var d=[],e=0;e<t.length;e++){var l=p(t[e],e);m(l)?d.push.apply(d,l):d.push(l)}return d};var m=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};return oa}var la,gm;function Yx(){if(gm)return la;gm=1,la=m;function m(d,e,l){d instanceof RegExp&&(d=t(d,l)),e instanceof RegExp&&(e=t(e,l));var f=p(d,e,l);return f&&{start:f[0],end:f[1],pre:l.slice(0,f[0]),body:l.slice(f[0]+d.length,f[1]),post:l.slice(f[1]+e.length)}}function t(d,e){var l=e.match(d);return l?l[0]:null}m.range=p;function p(d,e,l){var f,o,r,u,s,a=l.indexOf(d),c=l.indexOf(e,a+1),n=a;if(a>=0&&c>0){if(d===e)return[a,c];for(f=[],r=l.length;n>=0&&!s;)n==a?(f.push(n),a=l.indexOf(d,n+1)):f.length==1?s=[f.pop(),c]:(o=f.pop(),o<r&&(r=o,u=c),c=l.indexOf(e,n+1)),n=a<c&&a>=0?a:c;f.length&&(s=[r,u])}return s}return la}var ua,ym;function Zx(){if(ym)return ua;ym=1;var m=Qx(),t=Yx();ua=a;var p="\0SLASH"+Math.random()+"\0",d="\0OPEN"+Math.random()+"\0",e="\0CLOSE"+Math.random()+"\0",l="\0COMMA"+Math.random()+"\0",f="\0PERIOD"+Math.random()+"\0";function o(v){return parseInt(v,10)==v?parseInt(v,10):v.charCodeAt(0)}function r(v){return v.split("\\\\").join(p).split("\\{").join(d).split("\\}").join(e).split("\\,").join(l).split("\\.").join(f)}function u(v){return v.split(p).join("\\").split(d).join("{").split(e).join("}").split(l).join(",").split(f).join(".")}function s(v){if(!v)return[""];var S=[],b=t("{","}",v);if(!b)return v.split(",");var T=b.pre,x=b.body,E=b.post,A=T.split(",");A[A.length-1]+="{"+x+"}";var C=s(E);return E.length&&(A[A.length-1]+=C.shift(),A.push.apply(A,C)),S.push.apply(S,A),S}function a(v){return v?(v.substr(0,2)==="{}"&&(v="\\{\\}"+v.substr(2)),g(r(v),!0).map(u)):[]}function c(v){return"{"+v+"}"}function n(v){return/^-?0\d/.test(v)}function i(v,S){return v<=S}function h(v,S){return v>=S}function g(v,S){var b=[],T=t("{","}",v);if(!T||/\$$/.test(T.pre))return[v];var x=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(T.body),E=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(T.body),A=x||E,C=T.body.indexOf(",")>=0;if(!A&&!C)return T.post.match(/,.*\}/)?(v=T.pre+"{"+T.body+e+T.post,g(v)):[v];var w;if(A)w=T.body.split(/\.\./);else if(w=s(T.body),w.length===1&&(w=g(w[0],!1).map(c),w.length===1)){var R=T.post.length?g(T.post,!1):[""];return R.map(function(H){return T.pre+w[0]+H})}var k=T.pre,R=T.post.length?g(T.post,!1):[""],P;if(A){var B=o(w[0]),F=o(w[1]),O=Math.max(w[0].length,w[1].length),$=w.length==3?Math.abs(o(w[2])):1,N=i,_=F<B;_&&($*=-1,N=h);var X=w.some(n);P=[];for(var L=B;N(L,F);L+=$){var K;if(E)K=String.fromCharCode(L),K==="\\"&&(K="");else if(K=String(L),X){var J=O-K.length;if(J>0){var ge=new Array(J+1).join("0");L<0?K="-"+ge+K.slice(1):K=ge+K}}P.push(K)}}else P=m(w,function(I){return g(I,!1)});for(var ae=0;ae<P.length;ae++)for(var ke=0;ke<R.length;ke++){var Z=k+P[ae]+R[ke];(!S||A||Z)&&b.push(Z)}return b}return ua}var ca,vm;function eC(){if(vm)return ca;vm=1,ca=n,n.Minimatch=i;var m=function(){try{return Jx}catch{}}()||{sep:"/"};n.sep=m.sep;var t=n.GLOBSTAR=i.GLOBSTAR={},p=Zx(),d={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},e="[^/]",l=e+"*?",f="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",o="(?:(?!(?:\\/|^)\\.).)*?",r=u("().*{}+?[]^$\\!");function u(w){return w.split("").reduce(function(k,R){return k[R]=!0,k},{})}var s=/\/+/;n.filter=a;function a(w,k){return k=k||{},function(R,P,B){return n(R,w,k)}}function c(w,k){k=k||{};var R={};return Object.keys(w).forEach(function(P){R[P]=w[P]}),Object.keys(k).forEach(function(P){R[P]=k[P]}),R}n.defaults=function(w){if(!w||typeof w!="object"||!Object.keys(w).length)return n;var k=n,R=function(B,F,O){return k(B,F,c(w,O))};return R.Minimatch=function(B,F){return new k.Minimatch(B,c(w,F))},R.Minimatch.defaults=function(B){return k.defaults(c(w,B)).Minimatch},R.filter=function(B,F){return k.filter(B,c(w,F))},R.defaults=function(B){return k.defaults(c(w,B))},R.makeRe=function(B,F){return k.makeRe(B,c(w,F))},R.braceExpand=function(B,F){return k.braceExpand(B,c(w,F))},R.match=function(P,B,F){return k.match(P,B,c(w,F))},R},i.defaults=function(w){return n.defaults(w).Minimatch};function n(w,k,R){return b(k),R||(R={}),!R.nocomment&&k.charAt(0)==="#"?!1:new i(k,R).match(w)}function i(w,k){if(!(this instanceof i))return new i(w,k);b(w),k||(k={}),w=w.trim(),!k.allowWindowsEscape&&m.sep!=="/"&&(w=w.split(m.sep).join("/")),this.options=k,this.set=[],this.pattern=w,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!k.partial,this.make()}i.prototype.debug=function(){},i.prototype.make=h;function h(){var w=this.pattern,k=this.options;if(!k.nocomment&&w.charAt(0)==="#"){this.comment=!0;return}if(!w){this.empty=!0;return}this.parseNegate();var R=this.globSet=this.braceExpand();k.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,R),R=this.globParts=R.map(function(P){return P.split(s)}),this.debug(this.pattern,R),R=R.map(function(P,B,F){return P.map(this.parse,this)},this),this.debug(this.pattern,R),R=R.filter(function(P){return P.indexOf(!1)===-1}),this.debug(this.pattern,R),this.set=R}i.prototype.parseNegate=g;function g(){var w=this.pattern,k=!1,R=this.options,P=0;if(!R.nonegate){for(var B=0,F=w.length;B<F&&w.charAt(B)==="!";B++)k=!k,P++;P&&(this.pattern=w.substr(P)),this.negate=k}}n.braceExpand=function(w,k){return v(w,k)},i.prototype.braceExpand=v;function v(w,k){return k||(this instanceof i?k=this.options:k={}),w=typeof w>"u"?this.pattern:w,b(w),k.nobrace||!/\{(?:(?!\{).)*\}/.test(w)?[w]:p(w)}var S=1024*64,b=function(w){if(typeof w!="string")throw new TypeError("invalid pattern");if(w.length>S)throw new TypeError("pattern is too long")};i.prototype.parse=x;var T={};function x(w,k){b(w);var R=this.options;if(w==="**")if(R.noglobstar)w="*";else return t;if(w==="")return"";var P="",B=!!R.nocase,F=!1,O=[],$=[],N,_=!1,X=-1,L=-1,K=w.charAt(0)==="."?"":R.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",J=this;function ge(){if(N){switch(N){case"*":P+=l,B=!0;break;case"?":P+=e,B=!0;break;default:P+="\\"+N;break}J.debug("clearStateChar %j %j",N,P),N=!1}}for(var ae=0,ke=w.length,Z;ae<ke&&(Z=w.charAt(ae));ae++){if(this.debug("%s %s %s %j",w,ae,P,Z),F&&r[Z]){P+="\\"+Z,F=!1;continue}switch(Z){case"/":return!1;case"\\":ge(),F=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",w,ae,P,Z),_){this.debug(" in class"),Z==="!"&&ae===L+1&&(Z="^"),P+=Z;continue}J.debug("call clearStateChar %j",N),ge(),N=Z,R.noext&&ge();continue;case"(":if(_){P+="(";continue}if(!N){P+="\\(";continue}O.push({type:N,start:ae-1,reStart:P.length,open:d[N].open,close:d[N].close}),P+=N==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",N,P),N=!1;continue;case")":if(_||!O.length){P+="\\)";continue}ge(),B=!0;var I=O.pop();P+=I.close,I.type==="!"&&$.push(I),I.reEnd=P.length;continue;case"|":if(_||!O.length||F){P+="\\|",F=!1;continue}ge(),P+="|";continue;case"[":if(ge(),_){P+="\\"+Z;continue}_=!0,L=ae,X=P.length,P+=Z;continue;case"]":if(ae===L+1||!_){P+="\\"+Z,F=!1;continue}var H=w.substring(L+1,ae);try{RegExp("["+H+"]")}catch{var fe=this.parse(H,T);P=P.substr(0,X)+"\\["+fe[0]+"\\]",B=B||fe[1],_=!1;continue}B=!0,_=!1,P+=Z;continue;default:ge(),F?F=!1:r[Z]&&!(Z==="^"&&_)&&(P+="\\"),P+=Z}}for(_&&(H=w.substr(L+1),fe=this.parse(H,T),P=P.substr(0,X)+"\\["+fe[0],B=B||fe[1]),I=O.pop();I;I=O.pop()){var ce=P.slice(I.reStart+I.open.length);this.debug("setting tail",P,I),ce=ce.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Je,lt,et){return et||(et="\\"),lt+lt+et+"|"}),this.debug(`tail=%j
37
- %s`,ce,ce,I,P);var ie=I.type==="*"?l:I.type==="?"?e:"\\"+I.type;B=!0,P=P.slice(0,I.reStart)+ie+"\\("+ce}ge(),F&&(P+="\\\\");var he=!1;switch(P.charAt(0)){case"[":case".":case"(":he=!0}for(var Se=$.length-1;Se>-1;Se--){var xe=$[Se],we=P.slice(0,xe.reStart),ee=P.slice(xe.reStart,xe.reEnd-8),ne=P.slice(xe.reEnd-8,xe.reEnd),Ae=P.slice(xe.reEnd);ne+=Ae;var z=we.split("(").length-1,oe=Ae;for(ae=0;ae<z;ae++)oe=oe.replace(/\)[+*?]?/,"");Ae=oe;var Te="";Ae===""&&k!==T&&(Te="$");var Re=we+ee+Ae+Te+ne;P=Re}if(P!==""&&B&&(P="(?=.)"+P),he&&(P=K+P),k===T)return[P,B];if(!B)return A(w);var Pe=R.nocase?"i":"";try{var G=new RegExp("^"+P+"$",Pe)}catch{return new RegExp("$.")}return G._glob=w,G._src=P,G}n.makeRe=function(w,k){return new i(w,k||{}).makeRe()},i.prototype.makeRe=E;function E(){if(this.regexp||this.regexp===!1)return this.regexp;var w=this.set;if(!w.length)return this.regexp=!1,this.regexp;var k=this.options,R=k.noglobstar?l:k.dot?f:o,P=k.nocase?"i":"",B=w.map(function(F){return F.map(function(O){return O===t?R:typeof O=="string"?C(O):O._src}).join("\\/")}).join("|");B="^(?:"+B+")$",this.negate&&(B="^(?!"+B+").*$");try{this.regexp=new RegExp(B,P)}catch{this.regexp=!1}return this.regexp}n.match=function(w,k,R){R=R||{};var P=new i(k,R);return w=w.filter(function(B){return P.match(B)}),P.options.nonull&&!w.length&&w.push(k),w},i.prototype.match=function(k,R){if(typeof R>"u"&&(R=this.partial),this.debug("match",k,this.pattern),this.comment)return!1;if(this.empty)return k==="";if(k==="/"&&R)return!0;var P=this.options;m.sep!=="/"&&(k=k.split(m.sep).join("/")),k=k.split(s),this.debug(this.pattern,"split",k);var B=this.set;this.debug(this.pattern,"set",B);var F,O;for(O=k.length-1;O>=0&&(F=k[O],!F);O--);for(O=0;O<B.length;O++){var $=B[O],N=k;P.matchBase&&$.length===1&&(N=[F]);var _=this.matchOne(N,$,R);if(_)return P.flipNegate?!0:!this.negate}return P.flipNegate?!1:this.negate},i.prototype.matchOne=function(w,k,R){var P=this.options;this.debug("matchOne",{this:this,file:w,pattern:k}),this.debug("matchOne",w.length,k.length);for(var B=0,F=0,O=w.length,$=k.length;B<O&&F<$;B++,F++){this.debug("matchOne loop");var N=k[F],_=w[B];if(this.debug(k,N,_),N===!1)return!1;if(N===t){this.debug("GLOBSTAR",[k,N,_]);var X=B,L=F+1;if(L===$){for(this.debug("** at the end");B<O;B++)if(w[B]==="."||w[B]===".."||!P.dot&&w[B].charAt(0)===".")return!1;return!0}for(;X<O;){var K=w[X];if(this.debug(`
38
- globstar while`,w,X,k,L,K),this.matchOne(w.slice(X),k.slice(L),R))return this.debug("globstar found match!",X,O,K),!0;if(K==="."||K===".."||!P.dot&&K.charAt(0)==="."){this.debug("dot detected!",w,X,k,L);break}this.debug("globstar swallow a segment, and continue"),X++}return!!(R&&(this.debug(`
39
- >>> no match, partial?`,w,X,k,L),X===O))}var J;if(typeof N=="string"?(J=_===N,this.debug("string match",N,_,J)):(J=_.match(N),this.debug("pattern match",N,_,J)),!J)return!1}if(B===O&&F===$)return!0;if(B===O)return R;if(F===$)return B===O-1&&w[B]==="";throw new Error("wtf?")};function A(w){return w.replace(/\\(.)/g,"$1")}function C(w){return w.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}return ca}var Mr={},Em;function tC(){if(Em)return Mr;Em=1;class m{static overwrite(u,s){return s}static replace(u,s){return typeof s<"u"?s:u}static assign(u,s){return Object.assign({},u,s)}}class t{static array(u){if(!Array.isArray(u))throw new TypeError("Expected an array.")}static boolean(u){if(typeof u!="boolean")throw new TypeError("Expected a Boolean.")}static number(u){if(typeof u!="number")throw new TypeError("Expected a number.")}static object(u){if(!u||typeof u!="object")throw new TypeError("Expected an object.")}static"object?"(u){if(typeof u!="object")throw new TypeError("Expected an object or null.")}static string(u){if(typeof u!="string")throw new TypeError("Expected a string.")}static"string!"(u){if(typeof u!="string"||u.length===0)throw new TypeError("Expected a non-empty string.")}}function p(r,u){let s=!1;if(u.schema)if(typeof u.schema=="object")s=!0;else throw new TypeError("Schema must be an object.");if(typeof u.merge=="string"){if(!(u.merge in m))throw new TypeError(`Definition for key "${r}" missing valid merge strategy.`)}else if(!s&&typeof u.merge!="function")throw new TypeError(`Definition for key "${r}" must have a merge property.`);if(typeof u.validate=="string"){if(!(u.validate in t))throw new TypeError(`Definition for key "${r}" missing valid validation strategy.`)}else if(!s&&typeof u.validate!="function")throw new TypeError(`Definition for key "${r}" must have a validate() method.`)}class d extends Error{constructor(u){super(`Unexpected key "${u}" found.`)}}class e extends Error{constructor(u){super(`Missing required key "${u}".`)}}class l extends Error{constructor(u,s){super(`Key "${u}" requires keys "${s.join('", "')}".`)}}class f extends Error{constructor(u,s){super(`Key "${u}": ${s.message}`,{cause:s});for(const a of Object.keys(s))a in this||(this[a]=s[a])}}class o{#e=new Map;#t=new Map;constructor(u){if(!u)throw new Error("Schema definitions missing.");for(const s of Object.keys(u)){if(p(s,u[s]),typeof u[s].schema=="object"){const a=new o(u[s].schema);u[s]={...u[s],merge(c={},n={}){return a.merge(c,n)},validate(c){t.object(c),a.validate(c)}}}typeof u[s].merge=="string"&&(u[s]={...u[s],merge:m[u[s].merge]}),typeof u[s].validate=="string"&&(u[s]={...u[s],validate:t[u[s].validate]}),this.#e.set(s,u[s]),u[s].required&&this.#t.set(s,u[s])}}hasKey(u){return this.#e.has(u)}merge(...u){if(u.length<2)throw new TypeError("merge() requires at least two arguments.");if(u.some(s=>s===null||typeof s!="object"))throw new TypeError("All arguments must be objects.");return u.reduce((s,a)=>{this.validate(a);for(const[c,n]of this.#e)try{if(c in s||c in a){const h=n.merge.call(this,s[c],a[c]);h!==void 0&&(s[c]=h)}}catch(i){throw new f(c,i)}return s},{})}validate(u){for(const s of Object.keys(u)){if(!this.hasKey(s))throw new d(s);const a=this.#e.get(s);if(Array.isArray(a.requires)&&!a.requires.every(c=>c in u))throw new l(s,a.requires);try{a.validate.call(a,u[s])}catch(c){throw new f(s,c)}}for(const[s]of this.#t)if(!(s in u))throw new e(s)}}return Mr.MergeStrategy=m,Mr.ObjectSchema=o,Mr.ValidationStrategy=t,Mr}var Sm;function bm(){return Sm||(Sm=1,function(m){var t=Wx(),p=Gx(),d=eC(),e=hr(),l=tC();function f(ie){var he=Object.create(null);return ie&&Object.keys(ie).forEach(function(Se){if(Se!=="default"){var xe=Object.getOwnPropertyDescriptor(ie,Se);Object.defineProperty(he,Se,xe.get?xe:{enumerable:!0,get:function(){return ie[Se]}})}}),he.default=ie,Object.freeze(he)}var o=f(t),r=f(p);const u={required:!1,merge(){},validate(){}},s=Object.freeze({name:{required:!1,merge(){},validate(ie){if(typeof ie!="string")throw new TypeError("Property must be a string.")}},basePath:u,files:u,ignores:u});function a(ie){if(!Array.isArray(ie))throw new TypeError("Expected value to be an array.")}function c(ie){if(a(ie),ie.some(he=>typeof he!="string"&&typeof he!="function"))throw new TypeError("Expected array to only contain strings and functions.")}function n(ie){if(!Array.isArray(ie)||ie.length===0)throw new TypeError("Expected value to be a non-empty array.")}const i=Object.freeze({basePath:{required:!1,merge(){},validate(ie){if(typeof ie!="string")throw new TypeError("Expected value to be a string.")}},files:{required:!1,merge(){},validate(ie){n(ie),ie.forEach(he=>{if(Array.isArray(he))c(he);else if(typeof he!="string"&&typeof he!="function")throw new TypeError("Items must be a string, a function, or an array of strings and functions.")})}},ignores:{required:!1,merge(){},validate:c}}),h=d.Minimatch,g=e("@eslint/config-array"),v=new Map,S=new Map,b={dot:!0,allowWindowsEscape:!0},T=new Set(["array","function"]),x=new Set(["name","basePath"]),E=new l.ObjectSchema(i),A=Object.freeze({status:"external"}),C=Object.freeze({status:"ignored"}),w=Object.freeze({status:"unconfigured"}),k=/^\.\.(?:\/|$)/u;class R extends Error{constructor(he,Se,{cause:xe,message:we}){const ee=we||xe.message;if(super(`Config ${he}: ${ee}`,{cause:xe}),xe)for(const ne of Object.keys(xe))ne in this||(this[ne]=xe[ne]);this.name="ConfigError",this.index=Se}}function P(ie){return ie&&typeof ie.name=="string"&&ie.name?`"${ie.name}"`:"(unnamed)"}function B(ie,he,Se){const xe=P(ie);throw new R(xe,he,{cause:Se})}function F(ie){return typeof ie=="string"}function O(ie,he){if(ie===null)throw new R(P(ie),he,{message:"Unexpected null config."});if(ie===void 0)throw new R(P(ie),he,{message:"Unexpected undefined config."});if(typeof ie!="object")throw new R(P(ie),he,{message:"Unexpected non-object config."});const Se={};"basePath"in ie&&(Se.basePath=ie.basePath),"files"in ie&&(Se.files=ie.files),"ignores"in ie&&(Se.ignores=ie.ignores);try{E.validate(Se)}catch(xe){B(ie,he,xe)}}function $(ie,he,Se={}){let xe=v;Se.flipNegate&&(xe=S);let we=xe.get(he);return we||(we=new h(he,Object.assign({},b,Se)),xe.set(he,we)),we.match(ie)}function N(ie){if(F(ie)){if(ie.startsWith("./"))return ie.slice(2);if(ie.startsWith("!./"))return`!${ie.slice(3)}`}return ie}function _(ie){return F(ie)&&(ie.startsWith("./")||ie.startsWith("!./"))}function X(ie,he,Se){if(!ie)return ie;const xe=typeof ie.basePath=="string";let we=!1;if(xe&&(we=!0),!we&&Array.isArray(ie.files)&&(we=ie.files.some(ne=>Array.isArray(ne)?ne.some(_):_(ne))),!we&&Array.isArray(ie.ignores)&&(we=ie.ignores.some(_)),!we)return ie;const ee={...ie};return xe&&(Se.isAbsolute(ie.basePath)?ee.basePath=Se.toNamespacedPath(ie.basePath):ee.basePath=Se.resolve(he,ie.basePath)),Array.isArray(ee.files)&&(ee.files=ee.files.map(ne=>Array.isArray(ne)?ne.map(N):N(ne))),Array.isArray(ee.ignores)&&(ee.ignores=ee.ignores.map(N)),ee}async function L(ie,he,Se,xe,we){const ee=Se.includes("function"),ne=Se.includes("array");async function*Ae(Te){for(let Re of Te){if(typeof Re=="function"){if(!ee)throw new TypeError("Unexpected function.");Re=Re(he),Re.then&&(Re=await Re)}if(Array.isArray(Re)){if(!ne)throw new TypeError("Unexpected array.");yield*Ae(Re)}else{if(typeof Re=="function")throw new TypeError("A config function can only return an object or array.");yield Re}}}const z=await Ae(ie),oe=[];for await(const Te of z)oe.push(X(Te,xe,we));return oe}function K(ie,he,Se,xe,we){const ee=Se.includes("function"),ne=Se.includes("array");function*Ae(oe){for(let Te of oe){if(typeof Te=="function"){if(!ee)throw new TypeError("Unexpected function.");if(Te=Te(he),Te.then)throw new TypeError("Async config functions are not supported.")}if(Array.isArray(Te)){if(!ne)throw new TypeError("Unexpected array.");yield*Ae(Te)}else{if(typeof Te=="function")throw new TypeError("A config function can only return an object or array.");yield Te}}}const z=[];for(const oe of Ae(ie))z.push(X(oe,xe,we));return z}function J(ie,he,Se){const xe=Se.resolve(he,ie),we=Se.toNamespacedPath(xe);return Se.relative(he,we).replaceAll(Se.SEPARATOR,"/")}function ge(ie,he,Se,{basePath:xe,path:we}={}){let ee=!1;for(const ne of ie){let Ae=Se;if(ne.basePath){if(Ae=J(we.resolve(xe,Se),ne.basePath,we),Ae===""||k.test(Ae))continue;Se.endsWith("/")&&(Ae+="/")}ee=ne.ignores.reduce((z,oe)=>z?typeof oe=="string"&&oe.startsWith("!")?!$(Ae,oe,{flipNegate:!0}):z:typeof oe=="function"?oe(he):oe.startsWith("!")?!1:$(Ae,oe),ee)}return ee}function ae(ie,he,Se){function xe(ee){if(F(ee))return $(he,ee);if(typeof ee=="function")return ee(ie);throw new TypeError(`Unexpected matcher type ${ee}.`)}let we=Se.files.some(ee=>Array.isArray(ee)?ee.every(xe):xe(ee));return we&&Se.ignores&&(we=!ge([{ignores:Se.ignores}],ie,he)),we}function ke(ie){if(!ie.isNormalized())throw new Error("ConfigArray must be normalized to perform this operation.")}function Z(ie){if(ie.length>2)throw new TypeError("configTypes must be an array with at most two items.");for(const he of ie)if(!T.has(he))throw new TypeError(`Unexpected config type "${he}" found. Expected one of: "object", "array", "function".`)}function I(ie){if(ie.startsWith("/"))return o;if(/^(?:[A-Za-z]:[/\\]|[/\\]{2})/u.test(ie))return r;throw new Error(`Expected an absolute path but received "${ie}"`)}const H={isNormalized:Symbol("isNormalized"),configCache:Symbol("configCache"),schema:Symbol("schema"),finalizeConfig:Symbol("finalizeConfig"),preprocessConfig:Symbol("preprocessConfig")},fe=new WeakMap;class ce extends Array{#e;#t;constructor(he,{basePath:Se="/",normalized:xe=!1,schema:we,extraConfigTypes:ee=[]}={}){if(super(),this[H.isNormalized]=xe,this[H.schema]=new l.ObjectSchema(Object.assign({},we,s)),!F(Se)||!Se)throw new TypeError("basePath must be a non-empty string");this.basePath=Se,Z(ee),this.extraConfigTypes=[...ee],Object.freeze(this.extraConfigTypes),this[H.configCache]=new Map,fe.set(this,{explicitMatches:new Map,directoryMatches:new Map,files:void 0,ignores:void 0}),Array.isArray(he)?this.push(...he):this.push(he),this.#t=I(Se),this.#e=this.#t.toNamespacedPath(Se)}static get[Symbol.species](){return Array}get files(){ke(this);const he=fe.get(this);if(he.files)return he.files;const Se=[];for(const xe of this)xe.files&&xe.files.forEach(we=>{Se.push(we)});return he.files=Se,fe.set(this,he),Se}get ignores(){ke(this);const he=fe.get(this);if(he.ignores)return he.ignores;const Se=[];for(const xe of this)xe.ignores&&Object.keys(xe).filter(we=>!x.has(we)).length===1&&Se.push(xe);return he.ignores=Se,fe.set(this,he),Se}isNormalized(){return this[H.isNormalized]}async normalize(he={}){if(!this.isNormalized()){const Se=await L(this,he,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...Se.map(this[H.preprocessConfig].bind(this))),this.forEach(O),this[H.isNormalized]=!0,Object.freeze(this)}return this}normalizeSync(he={}){if(!this.isNormalized()){const Se=K(this,he,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...Se.map(this[H.preprocessConfig].bind(this))),this.forEach(O),this[H.isNormalized]=!0,Object.freeze(this)}return this}[H.finalizeConfig](he){return he}[H.preprocessConfig](he){return he}getConfigWithStatus(he){ke(this);const Se=this[H.configCache];if(Se.has(he))return Se.get(he);const xe=J(he,this.#e,this.#t);if(k.test(xe))return g(`No config for file ${he} outside of base path`),Se.set(he,A),A;if(this.isDirectoryIgnored(this.#t.dirname(he)))return g(`Ignoring ${he} based on directory pattern`),Se.set(he,C),C;if(ge(this.ignores,he,xe,{basePath:this.#e,path:this.#t}))return g(`Ignoring ${he} based on file pattern`),Se.set(he,C),C;const we=[];let ee=!1;const ne=/^\*$|^!|\/\*{1,2}$/u;if(this.forEach((Te,Re)=>{const Pe=Te.basePath?J(this.#t.resolve(this.#e,he),Te.basePath,this.#t):xe;if(Te.basePath&&k.test(Pe)){g(`Skipped config found for ${he} (based on config's base path: ${Te.basePath}`);return}if(!Te.files){if(!Te.ignores){g(`Universal config found for ${he}`),we.push(Re);return}if(Object.keys(Te).filter(lt=>!x.has(lt)).length===1){g(`Skipped config found for ${he} (global ignores)`);return}if(ge([{ignores:Te.ignores}],he,Pe)){g(`Skipped config found for ${he} (based on ignores: ${Te.ignores})`);return}g(`Matching config found for ${he} (based on ignores: ${Te.ignores})`),we.push(Re);return}const G=[],Je=Te.files.filter(lt=>Array.isArray(lt)?lt.every(et=>ne.test(et))?!0:(G.push(lt),!1):ne.test(lt)?!0:(G.push(lt),!1));if(Je.length){if(g("Universal files patterns found. Checking carefully."),G.length&&ae(he,Pe,{files:G,ignores:Te.ignores})){g(`Matching config found for ${he}`),we.push(Re),ee=!0;return}if(Je.length&&ae(he,Pe,{files:Je,ignores:Te.ignores})){g(`Matching config found for ${he}`),we.push(Re);return}return}ae(he,Pe,Te)&&(g(`Matching config found for ${he}`),we.push(Re),ee=!0)}),!ee)return g(`No matching configs found for ${he}`),Se.set(he,w),w;const Ae=we.toString();let z=Se.get(Ae);if(z)return Se.set(he,z),z;let oe=we.reduce((Te,Re)=>{try{return this[H.schema].merge(Te,this[Re])}catch(Pe){B(this[Re],Re,Pe)}},{});return oe=this[H.finalizeConfig](oe),z=Object.freeze({config:oe,status:"matched"}),Se.set(he,z),Se.set(Ae,z),z}getConfig(he){return this.getConfigWithStatus(he).config}getConfigStatus(he){return this.getConfigWithStatus(he).status}isIgnored(he){return this.isFileIgnored(he)}isFileIgnored(he){return this.getConfigStatus(he)==="ignored"}isDirectoryIgnored(he){ke(this);const Se=J(he,this.#e,this.#t);if(Se==="")return!1;if(k.test(Se))return!0;const xe=fe.get(this).directoryMatches;if(xe.has(Se))return xe.get(Se);const we=Se.split("/");let ee="",ne;do ee+=`${we.shift()}/`,ne=ge(this.ignores,this.#t.join(this.basePath,ee),ee,{basePath:this.#e,path:this.#t}),xe.set(ee,ne);while(!ne&&we.length);return xe.set(Se,ne),ne}}Object.defineProperty(m,"ObjectSchema",{enumerable:!0,get:function(){return l.ObjectSchema}}),m.ConfigArray=ce,m.ConfigArraySymbol=H}(ra)),ra}var rC="http://json-schema.org/draft-04/schema#",nC="http://json-schema.org/draft-04/schema#",sC="Core schema meta-schema",aC={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},iC="object",oC={id:{type:"string"},$schema:{type:"string"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},lC={exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},uC={id:rC,$schema:nC,description:sC,definitions:aC,type:iC,properties:oC,dependencies:lC,default:{}},fa,xm;function cC(){if(xm)return fa;xm=1;const m=Jp(),t=uC;return fa=(p={})=>{const d=new m({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...p});return d.addMetaSchema(t),d._opts.defaultMeta=t.id,d},fa}var fC={"generator-star":["generator-star-spacing"],"global-strict":["strict"],"no-arrow-condition":["no-confusing-arrow","no-constant-condition"],"no-comma-dangle":["comma-dangle"],"no-empty-class":["no-empty-character-class"],"no-empty-label":["no-labels"],"no-extra-strict":["strict"],"no-reserved-keys":["quote-props"],"no-space-before-semi":["semi-spacing"],"no-wrap-func":["no-extra-parens"],"space-after-function-name":["space-before-function-paren"],"space-after-keywords":["keyword-spacing"],"space-before-function-parentheses":["space-before-function-paren"],"space-before-keywords":["keyword-spacing"],"space-in-brackets":["object-curly-spacing","array-bracket-spacing","computed-property-spacing"],"space-return-throw-case":["keyword-spacing"],"space-unary-word-ops":["space-unary-ops"],"spaced-line-comment":["spaced-comment"]},Cm={rules:fC},pa,Am;function da(){if(Am)return pa;Am=1;const{deepMergeArrays:m}=tm(),{flatConfigSchema:t,hasMethod:p}=ta(),{ObjectSchema:d}=bm(),l=cC()(),f=Cm,o=Object.freeze({type:"array",minItems:0,maxItems:0}),r=new Map([[0,0],[1,1],[2,2],["off",0],["warn",1],["error",2]]),u=new WeakMap;function s({pluginName:x,ruleName:E},A){const C=x==="@"?E:`${x}/${E}`,w=`Key "rules": Key "${C}"`;let k=`${w}: Could not find plugin "${x}" in configuration.`;const R=k;if(A.plugins&&A.plugins[x]){const B=f.rules[E];if(x==="@"&&B)k=`${w}: Rule "${E}" was removed and replaced by "${B}".`;else{k=`${w}: Could not find "${E}" in plugin "${x}".`;for(const[F,O]of Object.entries(A.plugins))if(O.rules&&O.rules[E]){k+=` Did you mean "${F}/${E}"?`;break}}}const P=new TypeError(k);throw k===R&&(P.messageTemplate="config-plugin-missing",P.messageData={pluginName:x,ruleId:C}),P}class a extends Error{constructor(E,A){super(`Error while processing options validation schema of rule '${E}': ${A.message}`,{cause:A}),this.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"}}function c(x){let E,A;return x.includes("/")?(x.startsWith("@")?E=x.slice(0,x.lastIndexOf("/")):E=x.slice(0,x.indexOf("/")),A=x.slice(E.length+1)):(E="@",A=x),{pluginName:E,ruleName:A}}function n(x,E){const{pluginName:A,ruleName:C}=c(x);return E.plugins?.[A]?.rules?.[C]}function i(x){if(!x.meta)return{...o};const E=x.meta.schema;if(typeof E>"u")return{...o};if(E===!1)return null;if(typeof E!="object"||E===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(E)?E.length?{type:"array",items:E,minItems:0,maxItems:E.length}:{...o}:E}function h(x){const E=x.split("/");return{objectName:E.pop(),pluginName:E.join("/")}}function g(x){let E=x.name;if(!E&&(!x.meta||(E=x.meta.name,!E)))return null;let A=x.version;return A||(A=x.meta&&x.meta.version),A?`${E}@${A}`:E}function v(x,E,A){if(typeof x=="function"){const C=new TypeError(`Cannot serialize key "${E}" in "${A}": Function values are not supported.`);throw C.messageTemplate="config-serialize-function",C.messageData={key:E,objectKey:A},C}}function S(x,E="languageOptions"){if(typeof x.toJSON=="function"){const C=x.toJSON();return v(C,"toJSON",E),C}const A={};for(const[C,w]of Object.entries(x)){if(w){if(typeof w=="object"){const k=g(w);typeof w.toJSON=="function"?(A[C]=w.toJSON(),v(A[C],C,E)):k&&p(w)?A[C]=k:A[C]=S(w,C);continue}v(w,C,E)}A[C]=w}return A}function b(x,E){if(!u.has(x))try{const A=i(x);A&&u.set(x,l.compile(A))}catch(A){throw new a(E,A)}return u.get(x)}class T{#e;#t;constructor(E){const{plugins:A,language:C,languageOptions:w,processor:k,...R}=E;if(new d(t).validate(E),Object.assign(this,R),!C)throw new TypeError("Key 'language' is required.");this.plugins=A,this.language=C;const{pluginName:B,objectName:F}=h(C);if(this.#e=C,!A||!A[B]||!A[B].languages||!A[B].languages[F])throw new TypeError(`Key "language": Could not find "${F}" in plugin "${B}".`);this.language=A[B].languages[F],this.language.defaultLanguageOptions??w?this.languageOptions=t.languageOptions.merge(this.language.defaultLanguageOptions,w):this.languageOptions={};try{this.language.validateLanguageOptions(this.languageOptions)}catch(O){throw new TypeError(`Key "languageOptions": ${O.message}`,{cause:O})}if(this.language.normalizeLanguageOptions&&(this.languageOptions=this.language.normalizeLanguageOptions(this.languageOptions)),k)if(this.processor=k,typeof k=="string"){const{pluginName:O,objectName:$}=h(k);if(this.#t=k,!A||!A[O]||!A[O].processors||!A[O].processors[$])throw new TypeError(`Key "processor": Could not find "${$}" in plugin "${O}".`);this.processor=A[O].processors[$]}else if(typeof k=="object")this.#t=g(k),this.processor=k;else throw new TypeError("Key 'processor' must be a string or an object.");this.rules&&(this.#r(),this.validateRulesConfig(this.rules))}toJSON(){if(this.processor&&!this.#t)throw new Error("Could not serialize processor object (missing 'meta' object).");if(!this.#e)throw new Error("Could not serialize language object (missing 'meta' object).");return{...this,plugins:Object.entries(this.plugins).map(([E,A])=>{const C=g(A);return C?`${E}:${C}`:E}),language:this.#e,languageOptions:S(this.languageOptions),processor:this.#t}}getRuleDefinition(E){return n(E,this)}#r(){for(const[E,A]of Object.entries(this.rules)){let C=Array.isArray(A)?A:[A];C[0]=r.get(C[0]);const w=n(E,this),k=C.slice(1),R=m(w?.meta?.defaultOptions,k);R.length&&(C=[C[0],...R]),this.rules[E]=C}}validateRulesConfig(E){if(!E)throw new TypeError("Config is required for validation.");for(const[A,C]of Object.entries(E)){if(A==="__proto__"||C[0]===0)continue;const w=n(A,this);w||s(c(A),this);const k=b(w,A);if(k&&(k(C.slice(1)),k.errors))throw new Error(`Key "rules": Key "${A}":
40
- ${k.errors.map(R=>{if(R.keyword==="additionalProperties"&&R.schema===!1&&typeof R.parentSchema?.properties=="object"&&typeof R.params?.additionalProperty=="string"){const P=Object.keys(R.parentSchema.properties).map(B=>`"${B}"`);return` Value ${JSON.stringify(R.data)} ${R.message}.
41
- Unexpected property "${R.params.additionalProperty}". Expected properties: ${P.join(", ")}.
42
- `}return` Value ${JSON.stringify(R.data)} ${R.message}.
43
- `}).join("")}`)}}static getRuleOptionsSchema(E){return i(E)}static getRuleNumericSeverity(E){const A=Array.isArray(E)?E[0]:E;return r.has(A)?r.get(A):typeof A=="string"?r.get(A.toLowerCase())??0:0}}return pa={Config:T},pa}var ma,wm;function pC(){if(wm)return ma;wm=1;const m=tn(),{Config:t}=da();function p(u,s){return u.line-s.line||u.column-s.column}function d(u){const s=new Map;for(const a of u){const{unprocessedDirective:{parentDirective:c}}=a;s.has(c)?s.get(c).push(a):s.set(c,[a])}return[...s.values()]}function e(u,s,a){const c=s.value.trim(),n=a.text.indexOf(c,a.getRange(s.node)[0]);return u.map(i=>{const{ruleId:h}=i,v=new RegExp(String.raw`(?:^|\s*,\s*)(?<quote>['"]?)${m(h)}\k<quote>(?:\s*,\s*|$)`,"u").exec(c),S=v[0],b=n+v.index,T=b+S.length,x=S.indexOf(","),E=S.lastIndexOf(",");let A,C;return x!==E?(A=b+x,C=b+E):(A=b,C=T),{description:`'${h}'`,fix:{range:[A,C],text:""},unprocessedDirective:i.unprocessedDirective}})}function l(u,s,a){const c=a.getRange(s),n=u.filter(i=>i.ruleId).map(i=>`'${i.ruleId}'`);return{description:n.length<=2?n.join(" or "):`${n.slice(0,n.length-1).join(", ")}, or ${n.at(-1)}`,fix:{range:c,text:" "},unprocessedDirective:u[0].unprocessedDirective}}function f(u,s){return d(u).flatMap(c=>{const{parentDirective:n}=c[0].unprocessedDirective,i=new Set(n.ruleIds);for(const h of c)i.delete(h.ruleId);return i.size?e(c,n,s):[l(c,n.node,s)]})}function o(u){const s=new Map,a=new Set;for(let c=u.length-1;c>=0;c--){const n=u[c];if(n.type==="disable"){if(s.size===0)continue;if(n.ruleId===null){for(const i of s.values())a.add(i);s.clear()}else{const i=s.get(n.ruleId);if(i)a.add(i);else{const h=s.get(null);h&&a.add(h)}}}else n.type==="enable"&&(n.ruleId===null?(s.clear(),s.set(null,n)):s.set(n.ruleId,n))}return a}function r(u){const s=[],a=new Set,{sourceCode:c}=u;for(const b of u.problems){let T=[],x=0;for(;x<u.directives.length&&p(u.directives[x],b)<=0;){const E=u.directives[x++];if(E.ruleId===null||E.ruleId===b.ruleId)switch(E.type){case"disable":T.push(E);break;case"enable":T=[];break}}if(T.length>0){const E=T.map(A=>({kind:"directive",justification:A.unprocessedDirective.justification}));b.suppressions?b.suppressions=b.suppressions.concat(E):(b.suppressions=E,a.add(T.at(-1)))}s.push(b)}const n=u.directives.filter(b=>b.type==="disable"&&!a.has(b)&&!u.rulesToIgnore.has(b.ruleId)),i=new Set(u.directives.filter(b=>b.unprocessedDirective.type==="enable"&&!u.rulesToIgnore.has(b.ruleId)));if(i.size>0)for(const b of o(u.directives))i.delete(b);const h=f(n,c).concat(f(i,c)),g=u.language.columnStart===1?0:1,v=u.language.lineStart===1?0:1,S=h.map(({description:b,fix:T,unprocessedDirective:x})=>{const{parentDirective:E,type:A,line:C,column:w}=x;let k;A==="enable"?k=b?`Unused eslint-enable directive (no matching eslint-disable directives were found for ${b}).`:"Unused eslint-enable directive (no matching eslint-disable directives were found).":k=b?`Unused eslint-disable directive (no problems were reported from ${b}).`:"Unused eslint-disable directive (no problems were reported).";const R=c.getLoc(E.node);return{ruleId:null,message:k,line:A==="disable-next-line"?R.start.line+v:C,column:A==="disable-next-line"?R.start.column+g:w,severity:u.reportUnusedDisableDirectives==="warn"?1:2,nodeType:null,...u.disableFixes?{}:{fix:T}}});return{problems:s,unusedDirectives:S}}return ma=({language:u,sourceCode:s,directives:a,disableFixes:c,problems:n,configuredRules:i,ruleFilter:h,reportUnusedDisableDirectives:g="off"})=>{const v=a.filter(E=>E.type==="disable"||E.type==="enable").map(E=>Object.assign({},E,{unprocessedDirective:E})).sort(p),S=a.flatMap(E=>{switch(E.type){case"disable":case"enable":return[];case"disable-line":return[{type:"disable",line:E.line,column:1,ruleId:E.ruleId,unprocessedDirective:E},{type:"enable",line:E.line+1,column:0,ruleId:E.ruleId,unprocessedDirective:E}];case"disable-next-line":return[{type:"disable",line:E.line+1,column:1,ruleId:E.ruleId,unprocessedDirective:E},{type:"enable",line:E.line+2,column:0,ruleId:E.ruleId,unprocessedDirective:E}];default:throw new TypeError(`Unrecognized directive type '${E.type}'`)}}).sort(p),b=i&&h?new Set(Object.keys(i).filter(E=>{const A=t.getRuleNumericSeverity(i[E]);return A===0?!1:!h({severity:A,ruleId:E})})):new Set;b.size>0&&b.add(null);const T=r({language:u,sourceCode:s,problems:n,directives:v,disableFixes:c,reportUnusedDisableDirectives:g,rulesToIgnore:b}),x=r({language:u,sourceCode:s,problems:T.problems,directives:S,disableFixes:c,reportUnusedDisableDirectives:g,rulesToIgnore:b});return g!=="off"?x.problems.concat(T.unusedDirectives).concat(x.unusedDirectives).sort(p):x.problems},ma}function dC(m){throw new Error('Could not dynamically require "'+m+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ha,Tm;function mC(){if(Tm)return ha;Tm=1;const m=hr()("eslint:rules");class t extends Map{constructor(d){let e=d.length;super(m.enabled?d.map(([l,f])=>{let o=null;return[l,()=>(o||(m("Loading rule %o (remaining=%d)",l,--e),o=f()),o)]}):d),Object.defineProperty(t.prototype,"set",{configurable:!0,value:void 0})}get(d){const e=super.get(d);return e&&e()}*values(){for(const d of super.values())yield d()}*entries(){for(const[d,e]of super.entries())yield[d,e()]}forEach(d,e){for(const[l,f]of super.entries())d.call(e,f(),l,this)}}return Object.defineProperties(t.prototype,{clear:{configurable:!0,value:void 0},delete:{configurable:!0,value:void 0},[Symbol.iterator]:{configurable:!0,writable:!0,value:t.prototype.entries}}),ha={LazyLoadingRuleMap:t},ha}var ga={exports:{}},jr={},ya={exports:{}},km;function hC(){return km||(km=1,function(){function m(f){if(f==null)return!1;switch(f.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(f){if(f==null)return!1;switch(f.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function p(f){if(f==null)return!1;switch(f.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function d(f){return p(f)||f!=null&&f.type==="FunctionDeclaration"}function e(f){switch(f.type){case"IfStatement":return f.alternate!=null?f.alternate:f.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return f.body}return null}function l(f){var o;if(f.type!=="IfStatement"||f.alternate==null)return!1;o=f.consequent;do{if(o.type==="IfStatement"&&o.alternate==null)return!0;o=e(o)}while(o);return!1}ya.exports={isExpression:m,isStatement:p,isIterationStatement:t,isSourceElement:d,isProblematicIfStatement:l,trailingStatement:e}}()),ya.exports}var va={exports:{}},Dm;function Im(){return Dm||(Dm=1,function(){var m,t,p,d,e,l;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},m={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function f(g){return 48<=g&&g<=57}function o(g){return 48<=g&&g<=57||97<=g&&g<=102||65<=g&&g<=70}function r(g){return g>=48&&g<=55}p=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function u(g){return g===32||g===9||g===11||g===12||g===160||g>=5760&&p.indexOf(g)>=0}function s(g){return g===10||g===13||g===8232||g===8233}function a(g){if(g<=65535)return String.fromCharCode(g);var v=String.fromCharCode(Math.floor((g-65536)/1024)+55296),S=String.fromCharCode((g-65536)%1024+56320);return v+S}for(d=new Array(128),l=0;l<128;++l)d[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(e=new Array(128),l=0;l<128;++l)e[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function c(g){return g<128?d[g]:t.NonAsciiIdentifierStart.test(a(g))}function n(g){return g<128?e[g]:t.NonAsciiIdentifierPart.test(a(g))}function i(g){return g<128?d[g]:m.NonAsciiIdentifierStart.test(a(g))}function h(g){return g<128?e[g]:m.NonAsciiIdentifierPart.test(a(g))}va.exports={isDecimalDigit:f,isHexDigit:o,isOctalDigit:r,isWhiteSpace:u,isLineTerminator:s,isIdentifierStartES5:c,isIdentifierPartES5:n,isIdentifierStartES6:i,isIdentifierPartES6:h}}()),va.exports}var Ea={exports:{}},Pm;function gC(){return Pm||(Pm=1,function(){var m=Im();function t(c){switch(c){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function p(c,n){return!n&&c==="yield"?!1:d(c,n)}function d(c,n){if(n&&t(c))return!0;switch(c.length){case 2:return c==="if"||c==="in"||c==="do";case 3:return c==="var"||c==="for"||c==="new"||c==="try";case 4:return c==="this"||c==="else"||c==="case"||c==="void"||c==="with"||c==="enum";case 5:return c==="while"||c==="break"||c==="catch"||c==="throw"||c==="const"||c==="yield"||c==="class"||c==="super";case 6:return c==="return"||c==="typeof"||c==="delete"||c==="switch"||c==="export"||c==="import";case 7:return c==="default"||c==="finally"||c==="extends";case 8:return c==="function"||c==="continue"||c==="debugger";case 10:return c==="instanceof";default:return!1}}function e(c,n){return c==="null"||c==="true"||c==="false"||p(c,n)}function l(c,n){return c==="null"||c==="true"||c==="false"||d(c,n)}function f(c){return c==="eval"||c==="arguments"}function o(c){var n,i,h;if(c.length===0||(h=c.charCodeAt(0),!m.isIdentifierStartES5(h)))return!1;for(n=1,i=c.length;n<i;++n)if(h=c.charCodeAt(n),!m.isIdentifierPartES5(h))return!1;return!0}function r(c,n){return(c-55296)*1024+(n-56320)+65536}function u(c){var n,i,h,g,v;if(c.length===0)return!1;for(v=m.isIdentifierStartES6,n=0,i=c.length;n<i;++n){if(h=c.charCodeAt(n),55296<=h&&h<=56319){if(++n,n>=i||(g=c.charCodeAt(n),!(56320<=g&&g<=57343)))return!1;h=r(h,g)}if(!v(h))return!1;v=m.isIdentifierPartES6}return!0}function s(c,n){return o(c)&&!e(c,n)}function a(c,n){return u(c)&&!l(c,n)}Ea.exports={isKeywordES5:p,isKeywordES6:d,isReservedWordES5:e,isReservedWordES6:l,isRestrictedWord:f,isIdentifierNameES5:o,isIdentifierNameES6:u,isIdentifierES5:s,isIdentifierES6:a}}()),Ea.exports}var Fm;function Rm(){return Fm||(Fm=1,function(){jr.ast=hC(),jr.code=Im(),jr.keyword=gC()}()),jr}var Sa,_m;function ba(){return _m||(_m=1,Sa={LATEST_ECMA_VERSION:2026}),Sa}var Bm;function Le(){return Bm||(Bm=1,function(m){const{KEYS:t}=Rr(),p=Rm(),d=Xr(),e=tn(),{breakableTypePattern:l,createGlobalLinebreakMatcher:f,lineBreakPattern:o,shebangPattern:r}=en(),u=xd(),{LATEST_ECMA_VERSION:s}=ba(),a=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,c=/^(?:DoWhile|For|ForIn|ForOf|While)Statement$/u,n=/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|some)$/u,i=/Array$/u,h=/^(?:bind|call|apply)$/u,g=/^[\s*]*@this/mu,v=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,S=/^(?:eslint[- ]|(?:globals?|exported) )/u,b=new Set([`\r
44
- `,"\r",`
45
- `,"\u2028","\u2029"]),T=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),x=new Set(["let","const","using","await using"]),E=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,A=/^(?:[^\\]|\\.)*\\(?:[1-9]|0\d)/su,C=new Set(["&&=","||=","??="]),w=u[`es${s}`];function k(q,se,ue){const be=q.identifier,Oe=se===0||ue[se-1].identifier!==be;return be&&q.init===!1&&q.isWrite()&&Oe}function R(q){return q[0]!==q[0].toLocaleLowerCase()}function P(q){return q.id&&R(q.id.name)}function B(q){for(let se=q;se;se=se.parent)if(a.test(se.type))return se;return null}function F(q){return!!(q&&a.test(q.type))}function O(q){return!!(q&&c.test(q.type))}function $(q){for(let se=q;se&&!F(se);se=se.parent)if(O(se))return!0;return!1}function N(q){return q.type==="Literal"&&q.value===null&&!q.regex&&!q.bigint}function _(q){return N(q)||q.type==="Identifier"&&q.name==="undefined"||q.type==="UnaryExpression"&&q.operator==="void"}function X(q){return q.parent.type==="CallExpression"&&q.parent.callee===q}function L(q){switch(q.type){case"Literal":if(q.value===null){if(N(q))return String(q.value);if(q.regex)return`/${q.regex.pattern}/${q.regex.flags}`;if(q.bigint)return q.bigint}else return String(q.value);break;case"TemplateLiteral":if(q.expressions.length===0&&q.quasis.length===1)return q.quasis[0].value.cooked;break}return null}function K(q){let se;switch(q&&q.type){case"ChainExpression":return K(q.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":case"TSPropertySignature":case"TSMethodSignature":se=q.key;break;case"MemberExpression":se=q.property;break}return se?se.type==="Identifier"&&!q.computed?se.name:L(se):null}function J(q){return q&&q.type==="ChainExpression"?q.expression:q}function ge(q,se){return typeof se=="string"?q===se:se.test(q)}function ae(q,se){return q.type==="Identifier"&&ge(q.name,se)}function ke(q,se,ue){const be=J(q);if(be.type!=="MemberExpression"||se&&!ae(be.object,se))return!1;if(ue){const Oe=K(be);if(typeof Oe!="string"||!ge(Oe,ue))return!1}return!0}function Z(q,se){return q.regex||se.regex?!!(q.regex&&se.regex&&q.regex.pattern===se.regex.pattern&&q.regex.flags===se.regex.flags):q.bigint||se.bigint?q.bigint===se.bigint:q.value===se.value}function I(q,se,ue=!1){if(q.type!==se.type)return q.type==="ChainExpression"?I(q.expression,se,ue):se.type==="ChainExpression"?I(q,se.expression,ue):!1;switch(q.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return q.name===se.name;case"Literal":return Z(q,se);case"ChainExpression":return I(q.expression,se.expression,ue);case"MemberExpression":{if(!ue){const be=K(q);if(be!==null)return I(q.object,se.object,ue)&&be===K(se)}return q.computed===se.computed&&I(q.object,se.object,ue)&&I(q.property,se.property,ue)}default:return!1}}function H(q){return ke(q,"Reflect","apply")}function fe(q){return ke(q,i,"from")}function ce(q){return ke(q,null,n)}function ie(q){return se=>!q(se)}function he(q,se){const ue=se.getJSDocComment(q);return ue&&g.test(ue.value)?!0:se.getCommentsBefore(q).some(be=>g.test(be.value))}function Se(q,se){const ue=q.getTokenBefore(se),be=q.getTokenAfter(se);return!!(ue&&be)&&ue.value==="("&&ue.range[1]<=se.range[0]&&be.value===")"&&be.range[0]>=se.range[1]}function xe(q){return q.value==="="&&q.type==="Punctuator"}function we(q){return q.value==="=>"&&q.type==="Punctuator"}function ee(q){return q.value===","&&q.type==="Punctuator"}function ne(q){return q.value==="."&&q.type==="Punctuator"}function Ae(q){return q.value==="?."&&q.type==="Punctuator"}function z(q){return q.value===";"&&q.type==="Punctuator"}function oe(q){return q.value===":"&&q.type==="Punctuator"}function Te(q){return q.value==="("&&q.type==="Punctuator"}function Re(q){return q.value===")"&&q.type==="Punctuator"}function Pe(q){return q.value==="["&&q.type==="Punctuator"}function G(q){return q.value==="]"&&q.type==="Punctuator"}function Je(q){return q.value==="{"&&q.type==="Punctuator"}function lt(q){return q.value==="}"&&q.type==="Punctuator"}function et(q){return q.type==="Line"||q.type==="Block"||q.type==="Shebang"}function qe(q){return q.type==="Keyword"}function $e(q,se){if(q.type==="ArrowFunctionExpression"&&q.params.length===1){const ue=se.getFirstToken(q.params[0]),be=se.getTokenBefore(ue);return Te(be)?be:ue}return q.id?se.getTokenAfter(q.id,Te):se.getFirstToken(q,Te)}function nt(q,se,ue){const be=ue.getTokens(q),Oe=ue.getTokens(se);if(be.length!==Oe.length)return!1;for(let Ie=0;Ie<be.length;++Ie)if(be[Ie].type!==Oe[Ie].type||be[Ie].value!==Oe[Ie].value)return!1;return!0}function pt(q){return q.type==="LogicalExpression"&&(q.operator==="&&"||q.operator==="||")}function tt(q){return q.type==="LogicalExpression"&&q.operator==="??"}function Qe(q,se){return pt(q)&&tt(se)||tt(q)&&pt(se)}function vt(q){return C.has(q)}function Ye(q,se){return q.test?se.getTokenAfter(q.test,oe):se.getFirstToken(q,1)}function bt(q){return q.type==="Identifier"?q.name:q.value}function Ke(q){return q.value===null?q.raw==="null"?!1:typeof q.regex=="object"?!0:null:!!q.value}function We(q,se){switch(q.type){case"Literal":return se==="||"&&Ke(q)===!0||se==="&&"&&Ke(q)===!1;case"UnaryExpression":return se==="&&"&&q.operator==="void";case"LogicalExpression":return se===q.operator&&(We(q.left,se)||We(q.right,se));case"AssignmentExpression":return["||=","&&="].includes(q.operator)&&se===q.operator.slice(0,-1)&&We(q.right,se)}return!1}function Ee(q,se){const ue=q.references.find(be=>be.identifier===se);return!!(ue&&ue.resolved&&ue.resolved.scope.type==="global"&&ue.resolved.defs.length===0)}function j(q,se,ue){if(!se)return!0;switch(se.type){case"Literal":case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"ClassExpression":case"ObjectExpression":return!0;case"TemplateLiteral":return ue&&se.quasis.some(be=>be.value.cooked.length)||se.expressions.every(be=>j(q,be,!1));case"ArrayExpression":return ue?!0:se.elements.every(be=>j(q,be,!1));case"UnaryExpression":return se.operator==="void"||se.operator==="typeof"&&ue?!0:se.operator==="!"?j(q,se.argument,!0):j(q,se.argument,!1);case"BinaryExpression":return j(q,se.left,!1)&&j(q,se.right,!1)&&se.operator!=="in";case"LogicalExpression":{const be=j(q,se.left,ue),Oe=j(q,se.right,ue),Ie=be&&We(se.left,se.operator),Ge=ue&&Oe&&We(se.right,se.operator);return be&&Oe||Ie||Ge}case"NewExpression":return ue;case"AssignmentExpression":return se.operator==="="?j(q,se.right,ue):["||=","&&="].includes(se.operator)&&ue?We(se.right,se.operator.slice(0,-1)):!1;case"SequenceExpression":return j(q,se.expressions.at(-1),ue);case"SpreadElement":return j(q,se.argument,ue);case"CallExpression":return se.callee.type==="Identifier"&&se.callee.name==="Boolean"&&(se.arguments.length===0||j(q,se.arguments[0],!0))?Ee(q,se.callee):!1;case"Identifier":return se.name==="undefined"&&Ee(q,se)}return!1}function U(q){if(q.type!=="ExpressionStatement")return!1;const se=q.parent;return se.type==="Program"||se.type==="TSModuleBlock"||se.type==="BlockStatement"&&F(se.parent)}function V(q){return q.type==="ExpressionStatement"&&typeof q.directive=="string"}function Y(q){const se=q.range[0];let ue=q;for(;(ue=ue.parent)&&ue.range[0]===se;)if(ue.type==="ExpressionStatement")return!0;return!1}let le;{let q=function(de){for(let pe=de;;){const{parent:ve}=pe;if(!ve)break;if(ze.has(ve.type)&&pe===ve.typeAnnotation)return!0;pe=ve}return!1};const se=new Set(["BreakStatement","ContinueStatement"]),ue=new Set(["ExportAllDeclaration","ExportNamedDeclaration","ImportDeclaration"]),be=new Set(["Identifier","Keyword"]),Oe={__proto__:null,break:"BreakStatement",continue:"ContinueStatement",debugger:"DebuggerStatement",do:"DoWhileStatement",else:"IfStatement",return:"ReturnStatement",yield:"YieldExpression"},Ie=new Set([":",";","{","=>","++","--"]),Ge=new Set(["DoWhileStatement","ForInStatement","ForOfStatement","ForStatement","IfStatement","WhileStatement","WithStatement"]),ze=new Set(["TSAsExpression","TSSatisfiesExpression","TSTypeAliasDeclaration","TSTypeAnnotation"]);le=function(de,pe){const ve=de.getTokenBefore(pe);if(!ve||ve.type==="Punctuator"&&Ie.has(ve.value))return!1;const De=de.getNodeByRangeIndex(ve.range[0]);if(De.type==="TSDeclareFunction"||De.parent.type==="TSImportEqualsDeclaration"||De.parent.parent?.type==="TSImportEqualsDeclaration"||ze.has(De.type)||q(De))return!1;if(Re(ve))return!Ge.has(De.type);if(lt(ve))return De.type==="BlockStatement"&&De.parent.type==="FunctionExpression"&&De.parent.parent.type!=="MethodDefinition"||De.type==="ClassBody"&&De.parent.type==="ClassExpression"||De.type==="ObjectExpression";if(be.has(ve.type)){if(De.parent.type==="VariableDeclarator"&&!De.parent.init||se.has(De.parent.type))return!1;const Fe=ve.value,st=Oe[Fe];return De.type!==st}return ve.type==="String"?!ue.has(De.parent.type):!0}}function te(q){const{parent:se}=q;if(se.type==="ImportAttribute"&&se.key===q)return!0;if(se.type==="Property"&&!se.computed&&(se.key===q||se.value===q&&se.shorthand&&!se.method)&&se.parent.type==="ObjectExpression"){const ue=se.parent,be=ue.parent;if(be.type==="ImportExpression"&&be.options===ue)return!0;if(be.type==="Property"&&be.value===ue)return te(be.key)}return!1}m.exports={COMMENTS_IGNORE_PATTERN:v,LINEBREAKS:b,LINEBREAK_MATCHER:o,SHEBANG_MATCHER:r,STATEMENT_LIST_PARENTS:T,ECMASCRIPT_GLOBALS:w,isTokenOnSameLine(q,se){return q.loc.end.line===se.loc.start.line},isNullOrUndefined:_,isCallee:X,isES5Constructor:P,getUpperFunction:B,isFunction:F,isLoop:O,isInLoop:$,isArrayFromMethod:fe,isParenthesised:Se,createGlobalLinebreakMatcher:f,equalTokens:nt,isArrowToken:we,isClosingBraceToken:lt,isClosingBracketToken:G,isClosingParenToken:Re,isColonToken:oe,isCommaToken:ee,isCommentToken:et,isDotToken:ne,isQuestionDotToken:Ae,isKeywordToken:qe,isNotClosingBraceToken:ie(lt),isNotClosingBracketToken:ie(G),isNotClosingParenToken:ie(Re),isNotColonToken:ie(oe),isNotCommaToken:ie(ee),isNotDotToken:ie(ne),isNotQuestionDotToken:ie(Ae),isNotOpeningBraceToken:ie(Je),isNotOpeningBracketToken:ie(Pe),isNotOpeningParenToken:ie(Te),isNotSemicolonToken:ie(z),isOpeningBraceToken:Je,isOpeningBracketToken:Pe,isOpeningParenToken:Te,isSemicolonToken:z,isEqToken:xe,isStringLiteral(q){return q.type==="Literal"&&typeof q.value=="string"||q.type==="TemplateLiteral"},isBreakableStatement(q){return l.test(q.type)},getModifyingReferences(q){return q.filter(k)},isSurroundedBy(q,se){return q[0]===se&&q.at(-1)===se},isDirectiveComment(q){const se=q.value.trim();return q.type==="Line"&&se.startsWith("eslint-")||q.type==="Block"&&S.test(se)},getTrailingStatement:p.ast.trailingStatement,getVariableByName(q,se){let ue=q;for(;ue;){const be=ue.set.get(se);if(be)return be;ue=ue.upper}return null},isDefaultThisBinding(q,se,{capIsConstructor:ue=!0}={}){if(q.parent.type==="PropertyDefinition"&&q.parent.value===q||q.type==="StaticBlock"||(q.type==="FunctionDeclaration"||q.type==="FunctionExpression")&&q.params.some(Ie=>Ie.type==="Identifier"&&Ie.name==="this")||ue&&P(q)||he(q,se))return!1;const be=q.id===null;let Oe=q;for(;Oe;){const Ie=Oe.parent;switch(Ie.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":Oe=Ie;break;case"ReturnStatement":{const Ge=B(Ie);if(Ge===null||!X(Ge))return!0;Oe=Ge.parent;break}case"ArrowFunctionExpression":if(Oe!==Ie.body||!X(Ie))return!0;Oe=Ie.parent;break;case"Property":case"PropertyDefinition":case"MethodDefinition":return Ie.value!==Oe;case"AssignmentExpression":case"AssignmentPattern":return!(Ie.left.type==="MemberExpression"||ue&&be&&Ie.left.type==="Identifier"&&R(Ie.left.name));case"VariableDeclarator":return!(ue&&be&&Ie.init===Oe&&Ie.id.type==="Identifier"&&R(Ie.id.name));case"MemberExpression":if(Ie.object===Oe&&ke(Ie,null,h)){const Ge=Ie.parent.type==="ChainExpression"?Ie.parent:Ie;return!(X(Ge)&&Ge.parent.arguments.length>=1&&!_(Ge.parent.arguments[0]))}return!0;case"CallExpression":return H(Ie.callee)?Ie.arguments.length!==3||Ie.arguments[0]!==Oe||_(Ie.arguments[1]):fe(Ie.callee)?Ie.arguments.length!==3||Ie.arguments[1]!==Oe||_(Ie.arguments[2]):ce(Ie.callee)?Ie.arguments.length!==2||Ie.arguments[0]!==Oe||_(Ie.arguments[1]):!0;default:return!0}}return!0},getPrecedence(q){switch(q.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(q.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(q.operator){case"|":return 6;case"^":return 7;case"&":return 8;case"==":case"!=":case"===":case"!==":return 9;case"<":case"<=":case">":case">=":case"in":case"instanceof":return 10;case"<<":case">>":case">>>":return 11;case"+":case"-":return 12;case"*":case"/":case"%":return 13;case"**":return 15}case"UnaryExpression":case"AwaitExpression":return 16;case"UpdateExpression":return 17;case"CallExpression":case"ChainExpression":case"ImportExpression":return 18;case"NewExpression":return 19;default:return q.type in t?20:-1}},isEmptyBlock(q){return!!(q&&q.type==="BlockStatement"&&q.body.length===0)},isEmptyFunction(q){return F(q)&&m.exports.isEmptyBlock(q.body)},getDirectivePrologue(q){const se=[];if(q.type==="Program"||q.type==="FunctionDeclaration"||q.type==="FunctionExpression"||q.type==="ArrowFunctionExpression"&&q.body.type==="BlockStatement"){const ue=q.type==="Program"?q.body:q.body.body;for(const be of ue)if(be.type==="ExpressionStatement"&&be.expression.type==="Literal")se.push(be);else break}return se},isDecimalInteger(q){return q.type==="Literal"&&typeof q.value=="number"&&E.test(q.raw)},isDecimalIntegerNumericToken(q){return q.type==="Numeric"&&E.test(q.value)},getFunctionNameWithKind(q){const se=q.parent,ue=[];if((se.type==="MethodDefinition"||se.type==="PropertyDefinition"||q.type==="TSPropertySignature"||q.type==="TSMethodSignature")&&(se.static&&ue.push("static"),!se.computed&&se.key?.type==="PrivateIdentifier"&&ue.push("private")),q.async&&ue.push("async"),q.generator&&ue.push("generator"),se.type==="Property"||se.type==="MethodDefinition"){if(se.kind==="constructor")return"constructor";se.kind==="get"?ue.push("getter"):se.kind==="set"?ue.push("setter"):ue.push("method")}else q.type==="TSMethodSignature"?q.kind==="get"?ue.push("getter"):q.kind==="set"?ue.push("setter"):ue.push("method"):se.type==="PropertyDefinition"?ue.push("method"):(q.type==="ArrowFunctionExpression"&&ue.push("arrow"),ue.push("function"));if(se.type==="Property"||se.type==="MethodDefinition"||se.type==="PropertyDefinition")if(!se.computed&&se.key.type==="PrivateIdentifier")ue.push(`#${se.key.name}`);else{const be=K(se);be!==null?ue.push(`'${be}'`):q.id&&ue.push(`'${q.id.name}'`)}else q.type==="TSMethodSignature"?ue.push(`'${K(q)}'`):q.id&&ue.push(`'${q.id.name}'`);return ue.join(" ")},getFunctionHeadLoc(q,se){const ue=q.parent;let be,Oe;if(ue.type==="Property"||ue.type==="MethodDefinition"||ue.type==="PropertyDefinition"||ue.type==="TSPropertySignature"||ue.type==="TSMethodSignature")be=ue.loc.start,Oe=$e(q,se).loc.start;else if(q.type==="ArrowFunctionExpression"){const Ie=se.getTokenBefore(q.body,we);be=Ie.loc.start,Oe=Ie.loc.end}else be=q.loc.start,Oe=$e(q,se).loc.start;return{start:Object.assign({},be),end:Object.assign({},Oe)}},getNextLocation(q,{line:se,column:ue}){return ue<q.lines[se-1].length?{line:se,column:ue+1}:se<q.lines.length?{line:se+1,column:0}:null},getParenthesisedText(q,se){let ue=q.getFirstToken(se),be=q.getLastToken(se);for(;q.getTokenBefore(ue)&&q.getTokenBefore(ue).type==="Punctuator"&&q.getTokenBefore(ue).value==="("&&q.getTokenAfter(be)&&q.getTokenAfter(be).type==="Punctuator"&&q.getTokenAfter(be).value===")";)ue=q.getTokenBefore(ue),be=q.getTokenAfter(be);return q.getText().slice(ue.range[0],be.range[1])},couldBeError(q){switch(q.type){case"Identifier":case"CallExpression":case"NewExpression":case"MemberExpression":case"TaggedTemplateExpression":case"YieldExpression":case"AwaitExpression":case"ChainExpression":return!0;case"AssignmentExpression":return["=","&&="].includes(q.operator)?m.exports.couldBeError(q.right):["||=","??="].includes(q.operator)?m.exports.couldBeError(q.left)||m.exports.couldBeError(q.right):!1;case"SequenceExpression":{const se=q.expressions;return se.length!==0&&m.exports.couldBeError(se.at(-1))}case"LogicalExpression":return q.operator==="&&"?m.exports.couldBeError(q.right):m.exports.couldBeError(q.left)||m.exports.couldBeError(q.right);case"ConditionalExpression":return m.exports.couldBeError(q.consequent)||m.exports.couldBeError(q.alternate);default:return!1}},isNumericLiteral(q){return q.type==="Literal"&&(typeof q.value=="number"||!!q.bigint)},canTokensBeAdjacent(q,se){const ue={ecmaVersion:d.latestEcmaVersion,comment:!0,range:!0};let be;if(typeof q=="string"){let Ie;try{Ie=d.tokenize(q,ue)}catch{return!1}const Ge=Ie.comments;if(be=Ie.at(-1),Ge.length){const ze=Ge.at(-1);(!be||ze.range[0]>be.range[0])&&(be=ze)}}else be=q;if(be.type==="Shebang"||be.type==="Hashbang")return!1;let Oe;if(typeof se=="string"){let Ie;try{Ie=d.tokenize(se,ue)}catch{return!1}const Ge=Ie.comments;if(Oe=Ie[0],Ge.length){const ze=Ge[0];(!Oe||ze.range[0]<Oe.range[0])&&(Oe=ze)}}else Oe=se;if(be.type==="Punctuator"||Oe.type==="Punctuator"){if(be.type==="Punctuator"&&Oe.type==="Punctuator"){const Ie=new Set(["+","++"]),Ge=new Set(["-","--"]);return!(Ie.has(be.value)&&Ie.has(Oe.value)||Ge.has(be.value)&&Ge.has(Oe.value))}return be.type==="Punctuator"&&be.value==="/"?!["Block","Line","RegularExpression"].includes(Oe.type):!0}return!!(be.type==="String"||Oe.type==="String"||be.type==="Template"||Oe.type==="Template"||be.type!=="Numeric"&&Oe.type==="Numeric"&&Oe.value.startsWith(".")||be.type==="Block"||Oe.type==="Block"||Oe.type==="Line"||Oe.type==="PrivateIdentifier")},getNameLocationInGlobalDirectiveComment(q,se,ue){const be=new RegExp(`[\\s,]${e(ue)}(?:$|[\\s,:])`,"gu");be.lastIndex=se.value.indexOf("global")+6;const Oe=be.exec(se.value),Ie=q.getLocFromIndex(se.range[0]+2+(Oe?Oe.index+1:0)),Ge={line:Ie.line,column:Ie.column+(Oe?ue.length:1)};return{start:Ie,end:Ge}},hasOctalOrNonOctalDecimalEscapeSequence(q){return A.test(q)},isStaticTemplateLiteral(q){return q.type==="TemplateLiteral"&&q.expressions.length===0},areBracesNecessary(q,se){function ue(ze){return ze.type==="VariableDeclaration"?x.has(ze.kind):ze.type==="FunctionDeclaration"||ze.type==="ClassDeclaration"}function be(ze){return ze.value==="else"&&ze.type==="Keyword"}function Oe(ze){const de=se.getTokenAfter(ze);return!!de&&be(de)}function Ie(ze){switch(ze.type){case"IfStatement":return ze.alternate?Ie(ze.alternate):!0;case"ForStatement":case"ForInStatement":case"ForOfStatement":case"LabeledStatement":case"WithStatement":case"WhileStatement":return Ie(ze.body);default:return!1}}const Ge=q.body[0];return ue(Ge)||Ie(Ge)&&Oe(q)},isReferenceToGlobalVariable:Ee,isLogicalExpression:pt,isCoalesceExpression:tt,isMixedLogicalAndCoalesceExpressions:Qe,isNullLiteral:N,getStaticStringValue:L,getStaticPropertyName:K,skipChainExpression:J,isSpecificId:ae,isSpecificMemberAccess:ke,equalLiteralValue:Z,isSameReference:I,isLogicalAssignmentOperator:vt,getSwitchCaseColonToken:Ye,getModuleExportName:bt,isConstant:j,isTopLevelExpressionStatement:U,isDirective:V,isStartOfExpressionStatement:Y,needsPrecedingSemicolon:le,isImportAttributeKey:te,getOpeningParenOfParams:$e}}(ga)),ga.exports}var xa,Lm;function yC(){if(Lm)return xa;Lm=1;const m=Le();function t(f,o){if(f.length!==o.length)return!1;for(let r=0;r<f.length;r++){const u=f[r],s=o[r];if(u.type!==s.type||u.value!==s.value)return!1}return!0}function p(f,o){return typeof f=="string"&&typeof o=="string"?f===o:Array.isArray(f)&&Array.isArray(o)?t(f,o):!1}function d(f){return f.kind==="get"||f.kind==="set"}function e(f,o,r,u){const s=f.parent;return s.type==="CallExpression"&&m.isSpecificMemberAccess(s.callee,r,u)&&s.arguments[o]===f}function l(f){if(e(f,2,"Object","defineProperty")||e(f,2,"Reflect","defineProperty"))return!0;const o=f.parent.parent;return o.type==="ObjectExpression"&&(e(o,1,"Object","create")||e(o,1,"Object","defineProperties"))}return xa={meta:{type:"suggestion",defaultOptions:[{enforceForTSTypes:!1,enforceForClassMembers:!0,getWithoutSet:!1,setWithoutGet:!0}],docs:{description:"Enforce getter and setter pairs in objects and classes",recommended:!1,url:"https://eslint.org/docs/latest/rules/accessor-pairs"},schema:[{type:"object",properties:{getWithoutSet:{type:"boolean"},setWithoutGet:{type:"boolean"},enforceForClassMembers:{type:"boolean"},enforceForTSTypes:{type:"boolean"}},additionalProperties:!1}],messages:{missingGetterInPropertyDescriptor:"Getter is not present in property descriptor.",missingSetterInPropertyDescriptor:"Setter is not present in property descriptor.",missingGetterInObjectLiteral:"Getter is not present for {{ name }}.",missingSetterInObjectLiteral:"Setter is not present for {{ name }}.",missingGetterInClass:"Getter is not present for class {{ name }}.",missingSetterInClass:"Setter is not present for class {{ name }}.",missingGetterInType:"Getter is not present for type {{ name }}.",missingSetterInType:"Setter is not present for type {{ name }}."}},create(f){const[{getWithoutSet:o,setWithoutGet:r,enforceForClassMembers:u,enforceForTSTypes:s}]=f.options,a=f.sourceCode;function c(x,E){x.type==="Property"?f.report({node:x,messageId:`${E}InObjectLiteral`,loc:m.getFunctionHeadLoc(x.value,a),data:{name:m.getFunctionNameWithKind(x.value)}}):x.type==="MethodDefinition"?f.report({node:x,messageId:`${E}InClass`,loc:m.getFunctionHeadLoc(x.value,a),data:{name:m.getFunctionNameWithKind(x.value)}}):x.type==="TSMethodSignature"?f.report({node:x,messageId:`${E}InType`,loc:m.getFunctionHeadLoc(x,a),data:{name:m.getFunctionNameWithKind(x)}}):f.report({node:x,messageId:`${E}InPropertyDescriptor`})}function n(x,E){for(const A of x)c(A,E)}function i(x){const E=[];let A=!1;for(let C=0;C<x.length;C++){const w=x[C];if(d(w)){const k=m.getStaticPropertyName(w),R=k!==null?k:a.getTokens(w.key);for(let P=0;P<E.length;P++){const B=E[P];if(p(B.key,R)){B.getters.push(...w.kind==="get"?[w]:[]),B.setters.push(...w.kind==="set"?[w]:[]),A=!0;break}}A||E.push({key:R,getters:w.kind==="get"?[w]:[],setters:w.kind==="set"?[w]:[]}),A=!1}}for(const{getters:C,setters:w}of E)r&&w.length&&!C.length&&n(w,"missingGetter"),o&&C.length&&!w.length&&n(C,"missingSetter")}function h(x){i(x.properties.filter(E=>E.type==="Property"))}function g(x){const E=new Set(x.properties.filter(w=>w.type==="Property"&&w.kind==="init"&&!w.computed).map(({key:w})=>w.name)),A=E.has("get"),C=E.has("set");r&&C&&!A&&c(x,"missingGetter"),o&&A&&!C&&c(x,"missingSetter")}function v(x){h(x),l(x)&&g(x)}function S(x){const E=x.body.filter(A=>A.type==="MethodDefinition");i(E.filter(A=>A.static)),i(E.filter(A=>!A.static))}function b(x){const A=(x.type==="TSTypeLiteral"?x.members:x.body).filter(C=>C.type==="TSMethodSignature");i(A)}const T={};return(r||o)&&(T.ObjectExpression=v,u&&(T.ClassBody=S),s&&(T["TSTypeLiteral, TSInterfaceBody"]=b)),T}},xa}var Ca,Om;function vC(){if(Om)return Ca;Om=1;const m=Le();return Ca={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"array-bracket-newline",url:"https://eslint.style/rules/array-bracket-newline"}}]},type:"layout",docs:{description:"Enforce linebreaks after opening and before closing array brackets",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-bracket-newline"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never","consistent"]},{type:"object",properties:{multiline:{type:"boolean"},minItems:{type:["integer","null"],minimum:0}},additionalProperties:!1}]}],messages:{unexpectedOpeningLinebreak:"There should be no linebreak after '['.",unexpectedClosingLinebreak:"There should be no linebreak before ']'.",missingOpeningLinebreak:"A linebreak is required after '['.",missingClosingLinebreak:"A linebreak is required before ']'."}},create(t){const p=t.sourceCode;function d(s){let a=!1,c=!1,n;return s?s==="consistent"?(a=!0,n=Number.POSITIVE_INFINITY):s==="always"||s.minItems===0?n=0:s==="never"?n=Number.POSITIVE_INFINITY:(c=!!s.multiline,n=s.minItems||Number.POSITIVE_INFINITY):(a=!1,c=!0,n=Number.POSITIVE_INFINITY),{consistent:a,multiline:c,minItems:n}}function e(s){const a=d(s);return{ArrayExpression:a,ArrayPattern:a}}function l(s,a){t.report({node:s,loc:a.loc,messageId:"unexpectedOpeningLinebreak",fix(c){const n=p.getTokenAfter(a,{includeComments:!0});return m.isCommentToken(n)?null:c.removeRange([a.range[1],n.range[0]])}})}function f(s,a){t.report({node:s,loc:a.loc,messageId:"unexpectedClosingLinebreak",fix(c){const n=p.getTokenBefore(a,{includeComments:!0});return m.isCommentToken(n)?null:c.removeRange([n.range[1],a.range[0]])}})}function o(s,a){t.report({node:s,loc:a.loc,messageId:"missingOpeningLinebreak",fix(c){return c.insertTextAfter(a,`
46
- `)}})}function r(s,a){t.report({node:s,loc:a.loc,messageId:"missingClosingLinebreak",fix(c){return c.insertTextBefore(a,`
47
- `)}})}function u(s){const a=s.elements,n=e(t.options[0])[s.type],i=p.getFirstToken(s),h=p.getLastToken(s),g=p.getTokenAfter(i,{includeComments:!0}),v=p.getTokenBefore(h,{includeComments:!0}),S=p.getTokenAfter(i),b=p.getTokenBefore(h);a.length>=n.minItems||n.multiline&&a.length>0&&g.loc.start.line!==v.loc.end.line||a.length===0&&g.type==="Block"&&g.loc.start.line!==v.loc.end.line&&g===v||n.consistent&&i.loc.end.line!==S.loc.start.line?(m.isTokenOnSameLine(i,S)&&o(s,i),m.isTokenOnSameLine(b,h)&&r(s,h)):(m.isTokenOnSameLine(i,S)||l(s,i),m.isTokenOnSameLine(b,h)||f(s,h))}return{ArrayPattern:u,ArrayExpression:u}}},Ca}var Aa,Nm;function EC(){if(Nm)return Aa;Nm=1;const m=Le();return Aa={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"array-bracket-spacing",url:"https://eslint.style/rules/array-bracket-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside array brackets",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-bracket-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{singleValue:{type:"boolean"},objectsInArrays:{type:"boolean"},arraysInArrays:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedSpaceAfter:"There should be no space after '{{tokenValue}}'.",unexpectedSpaceBefore:"There should be no space before '{{tokenValue}}'.",missingSpaceAfter:"A space is required after '{{tokenValue}}'.",missingSpaceBefore:"A space is required before '{{tokenValue}}'."}},create(t){const p=t.options[0]==="always",d=t.sourceCode;function e(n){return t.options[1]?t.options[1][n]===!p:!1}const l={spaced:p,singleElementException:e("singleValue"),objectsInArraysException:e("objectsInArrays"),arraysInArraysException:e("arraysInArrays")};function f(n,i){const h=d.getTokenAfter(i);t.report({node:n,loc:{start:i.loc.end,end:h.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:i.value},fix(g){return g.removeRange([i.range[1],h.range[0]])}})}function o(n,i){const h=d.getTokenBefore(i);t.report({node:n,loc:{start:h.loc.end,end:i.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:i.value},fix(g){return g.removeRange([h.range[1],i.range[0]])}})}function r(n,i){t.report({node:n,loc:i.loc,messageId:"missingSpaceAfter",data:{tokenValue:i.value},fix(h){return h.insertTextAfter(i," ")}})}function u(n,i){t.report({node:n,loc:i.loc,messageId:"missingSpaceBefore",data:{tokenValue:i.value},fix(h){return h.insertTextBefore(i," ")}})}function s(n){return n&&(n.type==="ObjectExpression"||n.type==="ObjectPattern")}function a(n){return n&&(n.type==="ArrayExpression"||n.type==="ArrayPattern")}function c(n){if(l.spaced&&n.elements.length===0)return;const i=d.getFirstToken(n),h=d.getFirstToken(n,1),g=n.typeAnnotation?d.getTokenBefore(n.typeAnnotation):d.getLastToken(n),v=d.getTokenBefore(g),S=n.elements[0],b=n.elements.at(-1),T=l.objectsInArraysException&&s(S)||l.arraysInArraysException&&a(S)||l.singleElementException&&n.elements.length===1?!l.spaced:l.spaced,x=l.objectsInArraysException&&s(b)||l.arraysInArraysException&&a(b)||l.singleElementException&&n.elements.length===1?!l.spaced:l.spaced;m.isTokenOnSameLine(i,h)&&(T&&!d.isSpaceBetweenTokens(i,h)&&r(n,i),!T&&d.isSpaceBetweenTokens(i,h)&&f(n,i)),i!==v&&m.isTokenOnSameLine(v,g)&&(x&&!d.isSpaceBetweenTokens(v,g)&&u(n,g),!x&&d.isSpaceBetweenTokens(v,g)&&o(n,g))}return{ArrayPattern:c,ArrayExpression:c}}},Aa}var wa,Mm;function SC(){if(Mm)return wa;Mm=1;const m=Le(),t=/^(?:Arrow)?FunctionExpression$/u,p=/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|reduce(?:Right)?|some|sort|toSorted)$/u;function d(s){return m.isSpecificMemberAccess(s,null,p)}function e(s){for(const a of s)if(a.reachable)return!0;return!1}function l(s){return["from","of","isArray"].includes(s)?"Array.".concat(s):"Array.prototype.".concat(s)}function f(s){let a=s;for(;a;){const c=a.parent;switch(c.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":a=c;break;case"ReturnStatement":{const n=m.getUpperFunction(c);if(n===null||!m.isCallee(n))return null;a=n.parent;break}case"CallExpression":return m.isArrayFromMethod(c.callee)&&c.arguments.length>=2&&c.arguments[1]===a?"from":d(c.callee)&&c.arguments.length>=1&&c.arguments[0]===a?m.getStaticPropertyName(c.callee):null;default:return null}}return null}function o(s){return s.type==="UnaryExpression"&&s.operator==="void"}function r(s,a,c){const n=m.getPrecedence(a)<m.getPrecedence({type:"UnaryExpression",operator:"void"})&&!m.isParenthesised(s,a),i=s.getTokenBefore(a,a.parent.type==="ArrowFunctionExpression"?m.isArrowToken:v=>v.type==="Keyword"&&v.value==="return"),h=s.getTokenAfter(i),g=i.value==="return"&&i.range[1]===h.range[0];return[c.insertTextBefore(h,`${g?" ":""}void ${n?"(":""}`),c.insertTextAfter(a,n?")":"")]}function u(s,a,c){const n=s.getTokenBefore(a.body,m.isArrowToken),i=s.getTokenAfter(n),h=s.getLastToken(a);return[c.insertTextBefore(i,"{"),c.insertTextAfter(h,"}")]}return wa={meta:{type:"problem",defaultOptions:[{allowImplicit:!1,checkForEach:!1,allowVoid:!1}],docs:{description:"Enforce `return` statements in callbacks of array methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-callback-return"},hasSuggestions:!0,schema:[{type:"object",properties:{allowImplicit:{type:"boolean"},checkForEach:{type:"boolean"},allowVoid:{type:"boolean"}},additionalProperties:!1}],messages:{expectedAtEnd:"{{arrayMethodName}}() expects a value to be returned at the end of {{name}}.",expectedInside:"{{arrayMethodName}}() expects a return value from {{name}}.",expectedReturnValue:"{{arrayMethodName}}() expects a return value from {{name}}.",expectedNoReturnValue:"{{arrayMethodName}}() expects no useless return value from {{name}}.",wrapBraces:"Wrap the expression in `{}`.",prependVoid:"Prepend `void` to the expression."}},create(s){const[a]=s.options,c=s.sourceCode;let n={arrayMethodName:null,upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null};function i(h){if(!n.shouldCheck)return;const g={messageId:"",suggest:[]};if(n.arrayMethodName==="forEach"){if(a.checkForEach&&h.type==="ArrowFunctionExpression"&&h.expression)if(a.allowVoid){if(o(h.body))return;g.messageId="expectedNoReturnValue",g.suggest=[{messageId:"wrapBraces",fix(v){return u(c,h,v)}},{messageId:"prependVoid",fix(v){return r(c,h.body,v)}}]}else g.messageId="expectedNoReturnValue",g.suggest=[{messageId:"wrapBraces",fix(v){return u(c,h,v)}}]}else h.body.type==="BlockStatement"&&e(n.currentSegments)&&(g.messageId=n.hasReturn?"expectedAtEnd":"expectedInside");if(g.messageId){const v=m.getFunctionNameWithKind(h);s.report({node:h,loc:m.getFunctionHeadLoc(h,c),messageId:g.messageId,data:{name:v,arrayMethodName:l(n.arrayMethodName)},suggest:g.suggest.length!==0?g.suggest:null})}}return{onCodePathStart(h,g){let v=null;t.test(g.type)&&(v=f(g)),n={arrayMethodName:v,upper:n,codePath:h,hasReturn:!1,shouldCheck:v&&!g.async&&!g.generator,node:g,currentSegments:new Set}},onCodePathEnd(){n=n.upper},onUnreachableCodePathSegmentStart(h){n.currentSegments.add(h)},onUnreachableCodePathSegmentEnd(h){n.currentSegments.delete(h)},onCodePathSegmentStart(h){n.currentSegments.add(h)},onCodePathSegmentEnd(h){n.currentSegments.delete(h)},ReturnStatement(h){if(!n.shouldCheck)return;n.hasReturn=!0;const g={messageId:"",suggest:[]};if(n.arrayMethodName==="forEach"){if(a.checkForEach&&h.argument)if(a.allowVoid){if(o(h.argument))return;g.messageId="expectedNoReturnValue",g.suggest=[{messageId:"prependVoid",fix(v){return r(c,h.argument,v)}}]}else g.messageId="expectedNoReturnValue"}else!a.allowImplicit&&!h.argument&&(g.messageId="expectedReturnValue");g.messageId&&s.report({node:h,messageId:g.messageId,data:{name:m.getFunctionNameWithKind(n.node),arrayMethodName:l(n.arrayMethodName)},suggest:g.suggest.length!==0?g.suggest:null})},"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i}}},wa}var Ta,jm;function bC(){if(jm)return Ta;jm=1;const m=Le();return Ta={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"array-element-newline",url:"https://eslint.style/rules/array-element-newline"}}]},type:"layout",docs:{description:"Enforce line breaks after each array element",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-element-newline"},fixable:"whitespace",schema:{definitions:{basicConfig:{oneOf:[{enum:["always","never","consistent"]},{type:"object",properties:{multiline:{type:"boolean"},minItems:{type:["integer","null"],minimum:0}},additionalProperties:!1}]}},type:"array",items:[{oneOf:[{$ref:"#/definitions/basicConfig"},{type:"object",properties:{ArrayExpression:{$ref:"#/definitions/basicConfig"},ArrayPattern:{$ref:"#/definitions/basicConfig"}},additionalProperties:!1,minProperties:1}]}]},messages:{unexpectedLineBreak:"There should be no linebreak here.",missingLineBreak:"There should be a linebreak after this element."}},create(t){const p=t.sourceCode;function d(r){let u=!1,s=!1,a;const c=r||"always";return c==="always"||c.minItems===0?a=0:c==="never"?a=Number.POSITIVE_INFINITY:c==="consistent"?(u=!0,a=Number.POSITIVE_INFINITY):(s=!!c.multiline,a=c.minItems||Number.POSITIVE_INFINITY),{consistent:u,multiline:s,minItems:a}}function e(r){if(r&&(r.ArrayExpression||r.ArrayPattern)){let s,a;return r.ArrayExpression&&(s=d(r.ArrayExpression)),r.ArrayPattern&&(a=d(r.ArrayPattern)),{ArrayExpression:s,ArrayPattern:a}}const u=d(r);return{ArrayExpression:u,ArrayPattern:u}}function l(r){const u=p.getTokenBefore(r,{includeComments:!0});t.report({loc:{start:u.loc.end,end:r.loc.start},messageId:"unexpectedLineBreak",fix(s){if(m.isCommentToken(u))return null;if(!m.isTokenOnSameLine(u,r))return s.replaceTextRange([u.range[1],r.range[0]]," ");const a=p.getTokenBefore(u,{includeComments:!0});return m.isCommentToken(a)?null:s.replaceTextRange([a.range[1],u.range[0]],"")}})}function f(r){const u=p.getTokenBefore(r,{includeComments:!0});t.report({loc:{start:u.loc.end,end:r.loc.start},messageId:"missingLineBreak",fix(s){return s.replaceTextRange([u.range[1],r.range[0]],`
48
- `)}})}function o(r){const u=r.elements,a=e(t.options[0])[r.type];if(!a)return;let c=!1;a.multiline&&(c=u.filter(h=>h!==null).some(h=>h.loc.start.line!==h.loc.end.line));let n=0;for(let h=0;h<r.elements.length;h++){const g=r.elements[h],v=u[h-1];if(h===0||g===null||v===null)continue;const S=p.getFirstTokenBetween(v,g,m.isCommaToken),b=p.getTokenBefore(S),T=p.getTokenAfter(S);m.isTokenOnSameLine(b,T)||n++}const i=u.length>=a.minItems||a.multiline&&c||a.consistent&&n>0&&n<r.elements.length;u.forEach((h,g)=>{const v=u[g-1];if(g===0||h===null||v===null)return;const S=p.getFirstTokenBetween(v,h,m.isCommaToken),b=p.getTokenBefore(S),T=p.getTokenAfter(S);i?m.isTokenOnSameLine(b,T)&&f(T):m.isTokenOnSameLine(b,T)||l(T)})}return{ArrayPattern:o,ArrayExpression:o}}},Ta}var ka,Um;function xC(){if(Um)return ka;Um=1;const m=Le();return ka={meta:{type:"suggestion",defaultOptions:["as-needed"],docs:{description:"Require braces around arrow function bodies",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/arrow-body-style"},schema:{anyOf:[{type:"array",items:[{enum:["always","never"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["as-needed"]},{type:"object",properties:{requireReturnForObjectLiteral:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},fixable:"code",messages:{unexpectedOtherBlock:"Unexpected block statement surrounding arrow body.",unexpectedEmptyBlock:"Unexpected block statement surrounding arrow body; put a value of `undefined` immediately after the `=>`.",unexpectedObjectBlock:"Unexpected block statement surrounding arrow body; parenthesize the returned value and move it immediately after the `=>`.",unexpectedSingleBlock:"Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.",expectedBlock:"Expected block statement surrounding arrow body."}},create(t){const p=t.options,d=p[0]==="always",e=p[0]==="as-needed",l=p[0]==="never",f=p[1]&&p[1].requireReturnForObjectLiteral,o=t.sourceCode;let r=null;function u(n){return n&&n.type==="Punctuator"&&/^[([/`+-]/u.test(n.value)}function s(n){let i=n;for(;!m.isParenthesised(o,i);)i=i.parent;return o.getTokenAfter(i)}function a(n){return n&&n.parent?n.parent.type==="ForStatement"&&n.parent.init===n?!0:a(n.parent):!1}function c(n){const i=n.body;if(i.type==="BlockStatement"){const h=i.body;if(h.length!==1&&!l||e&&f&&h[0].type==="ReturnStatement"&&h[0].argument&&h[0].argument.type==="ObjectExpression")return;if(l||e&&h[0].type==="ReturnStatement"){let g;h.length===0?g="unexpectedEmptyBlock":h.length>1||h[0].type!=="ReturnStatement"?g="unexpectedOtherBlock":h[0].argument===null?g="unexpectedSingleBlock":m.isOpeningBraceToken(o.getFirstToken(h[0],{skip:1}))?g="unexpectedObjectBlock":g="unexpectedSingleBlock",t.report({node:n,loc:i.loc,messageId:g,fix(v){const S=[];if(h.length!==1||h[0].type!=="ReturnStatement"||!h[0].argument||u(o.getTokenAfter(i)))return S;const b=o.getFirstToken(i),T=o.getLastToken(i),x=o.getFirstToken(h[0],1),E=o.getLastToken(h[0]);return o.commentsExistBetween(b,x)||o.commentsExistBetween(E,T)?S.push(v.remove(b),v.remove(T),v.remove(o.getTokenAfter(b))):S.push(v.removeRange([b.range[0],x.range[0]]),v.removeRange([E.range[1],T.range[1]])),(m.isOpeningBraceToken(x)||h[0].argument.type==="SequenceExpression"||r.hasInOperator&&a(n))&&(m.isParenthesised(o,h[0].argument)||S.push(v.insertTextBefore(x,"("),v.insertTextAfter(E,")"))),m.isSemicolonToken(E)&&S.push(v.remove(E)),S}})}}else(d||e&&f&&i.type==="ObjectExpression")&&t.report({node:n,loc:i.loc,messageId:"expectedBlock",fix(h){const g=[],v=o.getTokenBefore(i,m.isArrowToken),[S,b]=o.getTokensAfter(v,{count:2}),T=o.getLastToken(n);let x=null;if(m.isOpeningParenToken(S)&&m.isOpeningBraceToken(b)){const E=o.getNodeByRangeIndex(b.range[0]);E.type==="ObjectExpression"&&(x=E)}if(x){const E=S,A=b;m.isTokenOnSameLine(E,A)?g.push(h.replaceText(E,"{return ")):g.push(h.replaceText(E,"{"),h.insertTextBefore(A,"return ")),g.push(h.remove(s(x))),g.push(h.insertTextAfter(T,"}"))}else g.push(h.insertTextBefore(S,"{return ")),g.push(h.insertTextAfter(T,"}"));return g}})}return{"BinaryExpression[operator='in']"(){let n=r;for(;n;)n.hasInOperator=!0,n=n.upper},ArrowFunctionExpression(){r={upper:r,hasInOperator:!1}},"ArrowFunctionExpression:exit"(n){c(n),r=r.upper}}}},ka}var Da,qm;function CC(){if(qm)return Da;qm=1;const m=Le();function t(p){return p.body.type==="BlockStatement"}return Da={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"arrow-parens",url:"https://eslint.style/rules/arrow-parens"}}]},type:"layout",docs:{description:"Require parentheses around arrow function arguments",recommended:!1,url:"https://eslint.org/docs/latest/rules/arrow-parens"},fixable:"code",schema:[{enum:["always","as-needed"]},{type:"object",properties:{requireForBlockBody:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedParens:"Unexpected parentheses around single function argument.",expectedParens:"Expected parentheses around arrow function argument.",unexpectedParensInline:"Unexpected parentheses around single function argument having a body with no curly braces.",expectedParensBlock:"Expected parentheses around arrow function argument having a body with curly braces."}},create(p){const d=p.options[0]==="as-needed",e=d&&p.options[1]&&p.options[1].requireForBlockBody===!0,l=p.sourceCode;function f(s){const a=l.getTokenBefore(s.params[0]);return a&&m.isOpeningParenToken(a)&&s.range[0]<=a.range[0]?a:null}function o(s){return l.getTokenAfter(s.params[0],m.isClosingParenToken)}function r(s,a){return l.commentsExistBetween(a,o(s))}function u(s,a){const c=s.async?1:0;return l.getFirstToken(s,{skip:c})!==a}return{"ArrowFunctionExpression[params.length=1]"(s){const a=!d||e&&t(s),c=f(s),n=c!==null,[i]=s.params;a&&!n&&p.report({node:s,messageId:e?"expectedParensBlock":"expectedParens",loc:i.loc,*fix(h){yield h.insertTextBefore(i,"("),yield h.insertTextAfter(i,")")}}),!a&&n&&i.type==="Identifier"&&!i.typeAnnotation&&!s.returnType&&!r(s,c)&&!u(s,c)&&p.report({node:s,messageId:e?"unexpectedParensInline":"unexpectedParens",loc:i.loc,*fix(h){const g=l.getTokenBefore(c),v=o(s);g&&g.range[1]===c.range[0]&&!m.canTokensBeAdjacent(g,l.getFirstToken(i))&&(yield h.insertTextBefore(c," ")),yield h.removeRange([c.range[0],i.range[0]]),yield h.removeRange([i.range[1],v.range[1]])}})}}}},Da}var Ia,Vm;function AC(){if(Vm)return Ia;Vm=1;const m=Le();return Ia={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"arrow-spacing",url:"https://eslint.style/rules/arrow-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after the arrow in arrow functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/arrow-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{expectedBefore:"Missing space before =>.",unexpectedBefore:"Unexpected space before =>.",expectedAfter:"Missing space after =>.",unexpectedAfter:"Unexpected space after =>."}},create(t){const p=Object.assign({},t.options[0]);p.before=p.before!==!1,p.after=p.after!==!1;const d=t.sourceCode;function e(o){const r=d.getTokenBefore(o.body,m.isArrowToken);return{before:d.getTokenBefore(r),arrow:r,after:d.getTokenAfter(r)}}function l(o){const r=o.arrow.range[0]-o.before.range[1],u=o.after.range[0]-o.arrow.range[1];return{before:r,after:u}}function f(o){const r=e(o),u=l(r);p.before?u.before===0&&t.report({node:r.before,messageId:"expectedBefore",fix(s){return s.insertTextBefore(r.arrow," ")}}):u.before>0&&t.report({node:r.before,messageId:"unexpectedBefore",fix(s){return s.removeRange([r.before.range[1],r.arrow.range[0]])}}),p.after?u.after===0&&t.report({node:r.after,messageId:"expectedAfter",fix(s){return s.insertTextAfter(r.arrow," ")}}):u.after>0&&t.report({node:r.after,messageId:"unexpectedAfter",fix(s){return s.removeRange([r.arrow.range[1],r.after.range[0]])}})}return{ArrowFunctionExpression:f}}},Ia}var Pa,$m;function wC(){return $m||($m=1,Pa={meta:{type:"suggestion",docs:{description:"Enforce the use of variables within the scope they are defined",recommended:!1,url:"https://eslint.org/docs/latest/rules/block-scoped-var"},schema:[],messages:{outOfScope:"'{{name}}' declared on line {{definitionLine}} column {{definitionColumn}} is used outside of binding context."}},create(m){let t=[];const p=m.sourceCode;function d(o){t.push(o.range)}function e(){t.pop()}function l(o,r){const u=o.identifier,s=r.name.loc.start;m.report({node:u,messageId:"outOfScope",data:{name:u.name,definitionLine:s.line,definitionColumn:s.column+1}})}function f(o){if(o.kind!=="var")return;const r=t.at(-1);function u(a){const c=a.identifier.range;return c[0]<r[0]||c[1]>r[1]}const s=p.getDeclaredVariables(o);for(let a=0;a<s.length;++a)s[a].references.filter(u).forEach(c=>l(c,s[a].defs.find(n=>n.parent===o)))}return{Program(o){t=[o.range]},BlockStatement:d,"BlockStatement:exit":e,ForStatement:d,"ForStatement:exit":e,ForInStatement:d,"ForInStatement:exit":e,ForOfStatement:d,"ForOfStatement:exit":e,SwitchStatement:d,"SwitchStatement:exit":e,CatchClause:d,"CatchClause:exit":e,StaticBlock:d,"StaticBlock:exit":e,VariableDeclaration:f}}}),Pa}var Fa,Wm;function TC(){if(Wm)return Fa;Wm=1;const m=Le();return Fa={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"block-spacing",url:"https://eslint.style/rules/block-spacing"}}]},type:"layout",docs:{description:"Disallow or enforce spaces inside of blocks after opening block and before closing block",recommended:!1,url:"https://eslint.org/docs/latest/rules/block-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{missing:"Requires a space {{location}} '{{token}}'.",extra:"Unexpected space(s) {{location}} '{{token}}'."}},create(t){const p=t.options[0]!=="never",d=p?"missing":"extra",e=t.sourceCode;function l(r){return r.type==="SwitchStatement"?r.cases.length>0?e.getTokenBefore(r.cases[0]):e.getLastToken(r,1):r.type==="StaticBlock"?e.getFirstToken(r,{skip:1}):e.getFirstToken(r)}function f(r,u){return!m.isTokenOnSameLine(r,u)||e.isSpaceBetweenTokens(r,u)===p}function o(r){const u=l(r),s=e.getLastToken(r),a=e.getTokenAfter(u,{includeComments:!0}),c=e.getTokenBefore(s,{includeComments:!0});if(!(u.type!=="Punctuator"||u.value!=="{"||s.type!=="Punctuator"||s.value!=="}"||a===s)&&!(!p&&a.type==="Line")){if(!f(u,a)){let n=u.loc;d==="extra"&&(n={start:u.loc.end,end:a.loc.start}),t.report({node:r,loc:n,messageId:d,data:{location:"after",token:u.value},fix(i){return p?i.insertTextBefore(a," "):i.removeRange([u.range[1],a.range[0]])}})}if(!f(c,s)){let n=s.loc;d==="extra"&&(n={start:c.loc.end,end:s.loc.start}),t.report({node:r,loc:n,messageId:d,data:{location:"before",token:s.value},fix(i){return p?i.insertTextAfter(c," "):i.removeRange([c.range[1],s.range[0]])}})}}}return{BlockStatement:o,StaticBlock:o,SwitchStatement:o}}},Fa}var Ra,Gm;function kC(){if(Gm)return Ra;Gm=1;const m=Le();return Ra={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"brace-style",url:"https://eslint.style/rules/brace-style"}}]},type:"layout",docs:{description:"Enforce consistent brace style for blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/brace-style"},schema:[{enum:["1tbs","stroustrup","allman"]},{type:"object",properties:{allowSingleLine:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"whitespace",messages:{nextLineOpen:"Opening curly brace does not appear on the same line as controlling statement.",sameLineOpen:"Opening curly brace appears on the same line as controlling statement.",blockSameLine:"Statement inside of curly braces should be on next line.",nextLineClose:"Closing curly brace does not appear on the same line as the subsequent block.",singleLineClose:"Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.",sameLineClose:"Closing curly brace appears on the same line as the subsequent block."}},create(t){const p=t.options[0]||"1tbs",d=t.options[1]||{},e=t.sourceCode;function l(r,u){const s=[r.range[1],u.range[0]];return e.text.slice(s[0],s[1]).trim()?null:c=>c.replaceTextRange(s," ")}function f(r,u){const s=e.getTokenBefore(r),a=e.getTokenAfter(r),c=e.getTokenBefore(u),n=d.allowSingleLine&&m.isTokenOnSameLine(r,u);p!=="allman"&&!m.isTokenOnSameLine(s,r)&&t.report({node:r,messageId:"nextLineOpen",fix:l(s,r)}),p==="allman"&&m.isTokenOnSameLine(s,r)&&!n&&t.report({node:r,messageId:"sameLineOpen",fix:i=>i.insertTextBefore(r,`
49
- `)}),m.isTokenOnSameLine(r,a)&&a!==u&&!n&&t.report({node:r,messageId:"blockSameLine",fix:i=>i.insertTextAfter(r,`
50
- `)}),c!==r&&!n&&m.isTokenOnSameLine(c,u)&&t.report({node:u,messageId:"singleLineClose",fix:i=>i.insertTextBefore(u,`
51
- `)})}function o(r){const u=e.getTokenAfter(r);p==="1tbs"&&!m.isTokenOnSameLine(r,u)&&t.report({node:r,messageId:"nextLineClose",fix:l(r,u)}),p!=="1tbs"&&m.isTokenOnSameLine(r,u)&&t.report({node:r,messageId:"sameLineClose",fix:s=>s.insertTextAfter(r,`
52
- `)})}return{BlockStatement(r){m.STATEMENT_LIST_PARENTS.has(r.parent.type)||f(e.getFirstToken(r),e.getLastToken(r))},StaticBlock(r){f(e.getFirstToken(r,{skip:1}),e.getLastToken(r))},ClassBody(r){f(e.getFirstToken(r),e.getLastToken(r))},SwitchStatement(r){const u=e.getLastToken(r),s=e.getTokenBefore(r.cases.length?r.cases[0]:u);f(s,u)},IfStatement(r){r.consequent.type==="BlockStatement"&&r.alternate&&o(e.getLastToken(r.consequent))},TryStatement(r){o(e.getLastToken(r.block)),r.handler&&r.finalizer&&o(e.getLastToken(r.handler.body))}}}},Ra}var _a,zm;function DC(){return zm||(zm=1,_a={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"callback-return",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/callback-return.md"}}]},type:"suggestion",docs:{description:"Require `return` statements after callbacks",recommended:!1,url:"https://eslint.org/docs/latest/rules/callback-return"},schema:[{type:"array",items:{type:"string"}}],messages:{missingReturn:"Expected return with your callback function."}},create(m){const t=m.options[0]||["callback","cb","next"],p=m.sourceCode;function d(o,r){return o.parent?r.includes(o.parent.type)?o.parent:d(o.parent,r):null}function e(o){if(o.type==="Identifier")return!0;if(o.type==="MemberExpression"){if(o.object.type==="Identifier")return!0;if(o.object.type==="MemberExpression")return e(o.object)}return!1}function l(o){return e(o.callee)&&t.includes(p.getText(o.callee))}function f(o,r){return!r||r.type!=="ExpressionStatement"?!1:r.expression===o||(r.expression.type==="BinaryExpression"||r.expression.type==="LogicalExpression")&&r.expression.right===o}return{CallExpression(o){if(!l(o))return;const r=d(o,["BlockStatement","ReturnStatement","ArrowFunctionExpression"])||{};if(r.type!=="ReturnStatement"&&r.type!=="ArrowFunctionExpression"){if(r.type==="BlockStatement"){const u=r.body.at(-1);if(f(o,u)){const s=r.parent.type;if(s==="FunctionExpression"||s==="FunctionDeclaration"||s==="ArrowFunctionExpression")return}if(u.type==="ReturnStatement"&&f(o,r.body.at(-2)))return}d(o,["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"])&&m.report({node:o,messageId:"missingReturn"})}}}}}),_a}var Ba,Hm;function IC(){if(Hm)return Ba;Hm=1;const m=Le();return Ba={meta:{type:"suggestion",defaultOptions:[{allow:[],ignoreDestructuring:!1,ignoreGlobals:!1,ignoreImports:!1,properties:"always"}],docs:{description:"Enforce camelcase naming convention",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/camelcase"},schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean"},ignoreImports:{type:"boolean"},ignoreGlobals:{type:"boolean"},properties:{enum:["always","never"]},allow:{type:"array",items:{type:"string"},minItems:0,uniqueItems:!0}},additionalProperties:!1}],messages:{notCamelCase:"Identifier '{{name}}' is not in camel case.",notCamelCasePrivate:"#{{name}} is not in camel case."}},create(t){const[{allow:p,ignoreDestructuring:d,ignoreGlobals:e,ignoreImports:l,properties:f}]=t.options,o=t.sourceCode,r=new Set;function u(g){const v=g.replace(/^_+|_+$/gu,"");return v.includes("_")&&v!==v.toUpperCase()}function s(g){return p.some(v=>g===v||g.match(new RegExp(v,"u")))}function a(g){return!u(g)||s(g)}function c(g){const v=g.parent;switch(v.type){case"AssignmentExpression":case"AssignmentPattern":return v.left===g;case"Property":return v.parent.type==="ObjectPattern"&&v.value===g;case"ArrayPattern":case"RestElement":return!0;default:return!1}}function n(g){const v=g.name,S=g.parent.type==="AssignmentPattern"?g.parent:g,b=S.parent;switch(b.type){case"Property":return(b.parent.type==="ObjectPattern"||b.parent.type==="ObjectExpression")&&b.value===S&&!b.computed&&b.key.type==="Identifier"&&b.key.name===v;case"ImportSpecifier":return b.local===g&&m.getModuleExportName(b.imported)===v;default:return!1}}function i(g){r.has(g.range[0])||(r.add(g.range[0]),t.report({node:g,messageId:g.type==="PrivateIdentifier"?"notCamelCasePrivate":"notCamelCase",data:{name:g.name}}))}function h(g){g.parent.type==="CallExpression"||g.parent.type==="NewExpression"||g.parent.type==="AssignmentPattern"&&g.parent.right===g||d&&n(g)||m.isImportAttributeKey(g)||i(g)}return{Program(g){const v=o.getScope(g);if(!e){for(const S of v.variables)if(!(S.identifiers.length>0||a(S.name)))for(const b of S.references)h(b.identifier)}for(const S of v.through){const b=S.identifier;a(b.name)||m.isImportAttributeKey(b)||h(b)}},[["VariableDeclaration","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ClassDeclaration","ClassExpression","CatchClause"]](g){for(const v of o.getDeclaredVariables(g)){if(a(v.name))continue;const S=v.identifiers[0];d&&n(S)||i(S);for(const b of v.references)b.init||h(b.identifier)}},[["ObjectExpression > Property[computed!=true] > Identifier.key","MethodDefinition[computed!=true] > Identifier.key","PropertyDefinition[computed!=true] > Identifier.key","MethodDefinition > PrivateIdentifier.key","PropertyDefinition > PrivateIdentifier.key"]](g){f==="never"||m.isImportAttributeKey(g)||a(g.name)||i(g)},"MemberExpression[computed!=true] > Identifier.property"(g){f==="never"||!c(g.parent)||a(g.name)||i(g)},ImportDeclaration(g){for(const v of o.getDeclaredVariables(g)){if(a(v.name))continue;const S=v.identifiers[0];l&&n(S)||i(S);for(const b of v.references)h(b.identifier)}},[["ExportAllDeclaration > Identifier.exported","ExportSpecifier > Identifier.exported"]](g){a(g.name)||i(g)},[["LabeledStatement > Identifier.label","BreakStatement > Identifier.label","ContinueStatement > Identifier.label"]](g){a(g.name)||i(g)}}}},Ba}var La,Km;function PC(){if(Km)return La;Km=1;const t=Le().COMMENTS_IGNORE_PATTERN,p=/\s/gu,d=/^\s*[^:/?#\s]+:\/\/[^?#]/u,e=new RegExp("\\p{L}","u"),l={type:"object",properties:{ignorePattern:{type:"string"},ignoreInlineComments:{type:"boolean"},ignoreConsecutiveComments:{type:"boolean"}},additionalProperties:!1},f={ignorePattern:"",ignoreInlineComments:!1,ignoreConsecutiveComments:!1};function o(s,a){return Object.assign({},f,s[a]||s)}function r(s={}){return{Line:o(s,"line"),Block:o(s,"block")}}function u(s){Object.keys(s).forEach(a=>{const c=s[a].ignorePattern;if(c){const n=RegExp(`^\\s*(?:${c})`,"u");s[a].ignorePatternRegExp=n}})}return La={meta:{type:"suggestion",docs:{description:"Enforce or disallow capitalization of the first letter of a comment",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/capitalized-comments"},fixable:"code",schema:[{enum:["always","never"]},{oneOf:[l,{type:"object",properties:{line:l,block:l},additionalProperties:!1}]}],messages:{unexpectedLowercaseComment:"Comments should not begin with a lowercase character.",unexpectedUppercaseComment:"Comments should not begin with an uppercase character."}},create(s){const a=s.options[0]||"always",c=r(s.options[1]),n=s.sourceCode;u(c);function i(S){const b=n.getTokenBefore(S,{includeComments:!0}),T=n.getTokenAfter(S,{includeComments:!0});return!!(b&&T&&S.loc.start.line===b.loc.end.line&&S.loc.end.line===T.loc.start.line)}function h(S){const b=n.getTokenBefore(S,{includeComments:!0});return!!(b&&["Block","Line"].includes(b.type))}function g(S,b){if(t.test(S.value))return!0;const T=S.value.replace(/\*/gu,"");if(b.ignorePatternRegExp&&b.ignorePatternRegExp.test(T)||b.ignoreInlineComments&&i(S)||b.ignoreConsecutiveComments&&h(S)||d.test(T))return!0;const x=T.replace(p,"");if(x.length===0)return!0;const[E]=x;if(!e.test(E))return!0;const A=E!==E.toLocaleLowerCase(),C=E!==E.toLocaleUpperCase();return!(a==="always"&&C||a==="never"&&A)}function v(S){const b=c[S.type];if(!g(S,b)){const x=a==="always"?"unexpectedLowercaseComment":"unexpectedUppercaseComment";s.report({node:null,loc:S.loc,messageId:x,fix(E){const A=S.value.match(e),C=A[0],w=S.range[0]+A.index+2;return E.replaceTextRange([w,w+C.length],a==="always"?C.toLocaleUpperCase():C.toLocaleLowerCase())}})}}return{Program(){n.getAllComments().filter(b=>b.type!=="Shebang").forEach(v)}}}},La}var Oa,Xm;function FC(){if(Xm)return Oa;Xm=1;const m=Le();return Oa={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:[{enforceForClassFields:!0,exceptMethods:[],ignoreOverrideMethods:!1}],docs:{description:"Enforce that class methods utilize `this`",recommended:!1,url:"https://eslint.org/docs/latest/rules/class-methods-use-this"},schema:[{type:"object",properties:{exceptMethods:{type:"array",items:{type:"string"}},enforceForClassFields:{type:"boolean"},ignoreOverrideMethods:{type:"boolean"},ignoreClassesWithImplements:{enum:["all","public-fields"]}},additionalProperties:!1}],messages:{missingThis:"Expected 'this' to be used by class {{name}}."}},create(t){const[p]=t.options,{enforceForClassFields:d,ignoreOverrideMethods:e,ignoreClassesWithImplements:l}=p,f=new Set(p.exceptMethods),o=[];function r(){o.push(!1)}function u(){return o.pop()}function s(){r()}function a(g){switch(g.type){case"MethodDefinition":return!g.static&&g.kind!=="constructor";case"AccessorProperty":case"PropertyDefinition":return!g.static&&d;default:return!1}}function c(g){const v=g.parent.parent;return v?.type==="ClassDeclaration"&&v.implements?.length>0}function n(g){if(a(g)){if(g.computed)return!0;if(e&&g.override||l&&c(g)&&(l==="all"||l==="public-fields"&&g.key.type!=="PrivateIdentifier"&&(!g.accessibility||g.accessibility==="public")))return!1;const v=g.key.type==="PrivateIdentifier"?"#":"",S=g.key.type==="Literal"?m.getStaticStringValue(g.key):g.key.name||"";return!f.has(v+S)}return!1}function i(g){const v=u();n(g.parent)&&!v&&t.report({node:g,loc:m.getFunctionHeadLoc(g,t.sourceCode),messageId:"missingThis",data:{name:m.getFunctionNameWithKind(g)}})}function h(){o.length&&(o[o.length-1]=!0)}return{FunctionDeclaration:s,"FunctionDeclaration:exit":i,FunctionExpression:s,"FunctionExpression:exit":i,"AccessorProperty > *.key:exit":r,"AccessorProperty:exit":u,"PropertyDefinition > *.key:exit":r,"PropertyDefinition:exit":u,StaticBlock:r,"StaticBlock:exit":u,ThisExpression:h,Super:h,...d&&{"AccessorProperty > ArrowFunctionExpression.value":s,"AccessorProperty > ArrowFunctionExpression.value:exit":i,"PropertyDefinition > ArrowFunctionExpression.value":s,"PropertyDefinition > ArrowFunctionExpression.value:exit":i}}}},Oa}var Na,Jm;function RC(){if(Jm)return Na;Jm=1;const m=Le(),t=Object.freeze({arrays:"never",objects:"never",imports:"never",exports:"never",functions:"never"});function p(e){return!(e.type==="RestElement"||e.type==="RestProperty"||e.type==="ExperimentalRestProperty")}function d(e,l){return typeof e=="string"?{arrays:e,objects:e,imports:e,exports:e,functions:l<2017?"ignore":e}:typeof e=="object"&&e!==null?{arrays:e.arrays||t.arrays,objects:e.objects||t.objects,imports:e.imports||t.imports,exports:e.exports||t.exports,functions:e.functions||t.functions}:t}return Na={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"comma-dangle",url:"https://eslint.style/rules/comma-dangle"}}]},type:"layout",docs:{description:"Require or disallow trailing commas",recommended:!1,url:"https://eslint.org/docs/latest/rules/comma-dangle"},fixable:"code",schema:{definitions:{value:{enum:["always-multiline","always","never","only-multiline"]},valueWithIgnore:{enum:["always-multiline","always","ignore","never","only-multiline"]}},type:"array",items:[{oneOf:[{$ref:"#/definitions/value"},{type:"object",properties:{arrays:{$ref:"#/definitions/valueWithIgnore"},objects:{$ref:"#/definitions/valueWithIgnore"},imports:{$ref:"#/definitions/valueWithIgnore"},exports:{$ref:"#/definitions/valueWithIgnore"},functions:{$ref:"#/definitions/valueWithIgnore"}},additionalProperties:!1}]}],additionalItems:!1},messages:{unexpected:"Unexpected trailing comma.",missing:"Missing trailing comma."}},create(e){const l=d(e.options[0],e.languageOptions.ecmaVersion),f=e.sourceCode;function o(h){function g(v){return v.at(-1)}switch(h.type){case"ObjectExpression":case"ObjectPattern":return g(h.properties);case"ArrayExpression":case"ArrayPattern":return g(h.elements);case"ImportDeclaration":case"ExportNamedDeclaration":return g(h.specifiers);case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":return g(h.params);case"CallExpression":case"NewExpression":return g(h.arguments);default:return null}}function r(h,g){switch(h.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":return f.getLastToken(h,1);default:{const v=f.getTokenAfter(g);return m.isCommaToken(v)?v:f.getLastToken(g)}}}function u(h){const g=o(h);if(!g)return!1;const v=r(h,g);return f.getTokenAfter(v).loc.end.line!==v.loc.end.line}function s(h){const g=o(h);if(!g||h.type==="ImportDeclaration"&&g.type!=="ImportSpecifier")return;const v=r(h,g);m.isCommaToken(v)&&e.report({node:g,loc:v.loc,messageId:"unexpected",*fix(S){yield S.remove(v),yield S.insertTextBefore(f.getTokenBefore(v),""),yield S.insertTextAfter(f.getTokenAfter(v),"")}})}function a(h){const g=o(h);if(!g||h.type==="ImportDeclaration"&&g.type!=="ImportSpecifier")return;if(!p(g)){s(h);return}const v=r(h,g);v.value!==","&&e.report({node:g,loc:{start:v.loc.end,end:m.getNextLocation(f,v.loc.end)},messageId:"missing",*fix(S){yield S.insertTextAfter(v,","),yield S.insertTextBefore(v,""),yield S.insertTextAfter(f.getTokenAfter(v),"")}})}function c(h){u(h)?a(h):s(h)}function n(h){u(h)||s(h)}const i={always:a,"always-multiline":c,"only-multiline":n,never:s,ignore(){}};return{ObjectExpression:i[l.objects],ObjectPattern:i[l.objects],ArrayExpression:i[l.arrays],ArrayPattern:i[l.arrays],ImportDeclaration:i[l.imports],ExportNamedDeclaration:i[l.exports],FunctionDeclaration:i[l.functions],FunctionExpression:i[l.functions],ArrowFunctionExpression:i[l.functions],CallExpression:i[l.functions],NewExpression:i[l.functions]}}},Na}var Ma,Qm;function _C(){if(Qm)return Ma;Qm=1;const m=Le();return Ma={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"comma-spacing",url:"https://eslint.style/rules/comma-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after commas",recommended:!1,url:"https://eslint.org/docs/latest/rules/comma-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{missing:"A space is required {{loc}} ','.",unexpected:"There should be no space {{loc}} ','."}},create(t){const p=t.sourceCode,d=p.tokensAndComments,e={before:t.options[0]?t.options[0].before:!1,after:t.options[0]?t.options[0].after:!0},l=[];function f(r,u,s){t.report({node:r,fix(a){if(e[u])return u==="before"?a.insertTextBefore(r," "):a.insertTextAfter(r," ");let c,n;const i="";return u==="before"?(c=s.range[1],n=r.range[0]):(c=r.range[1],n=s.range[0]),a.replaceTextRange([c,n],i)},messageId:e[u]?"missing":"unexpected",data:{loc:u}})}function o(r){let u=p.getFirstToken(r);r.elements.forEach(s=>{let a;s===null?(a=p.getTokenAfter(u),m.isCommaToken(a)&&l.push(a)):a=p.getTokenAfter(s),u=a})}return{"Program:exit"(){d.forEach((r,u)=>{if(!m.isCommaToken(r))return;const s=d[u-1],a=d[u+1];s&&!m.isCommaToken(s)&&!l.includes(r)&&m.isTokenOnSameLine(s,r)&&e.before!==p.isSpaceBetweenTokens(s,r)&&f(r,"before",s),a&&!m.isCommaToken(a)&&!m.isClosingParenToken(a)&&!m.isClosingBracketToken(a)&&!m.isClosingBraceToken(a)&&!(!e.after&&a.type==="Line")&&m.isTokenOnSameLine(r,a)&&e.after!==p.isSpaceBetweenTokens(r,a)&&f(r,"after",a)})},ArrayExpression:o,ArrayPattern:o}}},Ma}var ja,Ym;function BC(){if(Ym)return ja;Ym=1;const m=Le();return ja={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"comma-style",url:"https://eslint.style/rules/comma-style"}}]},type:"layout",docs:{description:"Enforce consistent comma style",recommended:!1,url:"https://eslint.org/docs/latest/rules/comma-style"},fixable:"code",schema:[{enum:["first","last"]},{type:"object",properties:{exceptions:{type:"object",additionalProperties:{type:"boolean"}}},additionalProperties:!1}],messages:{unexpectedLineBeforeAndAfterComma:"Bad line breaking before and after ','.",expectedCommaFirst:"',' should be placed first.",expectedCommaLast:"',' should be placed last."}},create(t){const p=t.options[0]||"last",d=t.sourceCode,e={ArrayPattern:!0,ArrowFunctionExpression:!0,CallExpression:!0,FunctionDeclaration:!0,FunctionExpression:!0,ImportDeclaration:!0,ObjectPattern:!0,NewExpression:!0};if(t.options.length===2&&Object.hasOwn(t.options[1],"exceptions")){const s=Object.keys(t.options[1].exceptions);for(let a=0;a<s.length;a++)e[s[a]]=t.options[1].exceptions[s[a]]}function l(s,a){switch(s){case"between":return`,${a.replace(m.LINEBREAK_MATCHER,"")}`;case"first":return`${a},`;case"last":return`,${a}`;default:return""}}function f(s,a,c,n){const i=d.text.slice(a.range[1],c.range[0])+d.text.slice(c.range[1],n.range[0]),h=[a.range[1],n.range[0]];return function(g){return g.replaceTextRange(h,l(s,i))}}function o(s,a,c,n){if(!(m.isTokenOnSameLine(a,c)&&m.isTokenOnSameLine(s,a)))if(!m.isTokenOnSameLine(a,c)&&!m.isTokenOnSameLine(s,a)){const i=d.getCommentsAfter(a)[0],h=i&&i.type==="Block"&&m.isTokenOnSameLine(a,i)?p:"between";t.report({node:n,loc:a.loc,messageId:"unexpectedLineBeforeAndAfterComma",fix:f(h,s,a,c)})}else p==="first"&&!m.isTokenOnSameLine(a,c)?t.report({node:n,loc:a.loc,messageId:"expectedCommaFirst",fix:f(p,s,a,c)}):p==="last"&&m.isTokenOnSameLine(a,c)&&t.report({node:n,loc:a.loc,messageId:"expectedCommaLast",fix:f(p,s,a,c)})}function r(s,a){const c=s[a],n=s.type==="ArrayExpression"||s.type==="ArrayPattern";if(c.length>1||n){let i=d.getFirstToken(s);if(c.forEach(h=>{const g=h?d.getTokenBefore(h):i,v=h?d.getFirstToken(h):d.getTokenAfter(g),S=h||v;if(m.isCommaToken(g)&&o(i,g,v,S),h){const b=d.getTokenAfter(h,m.isNotClosingParenToken);i=b?d.getTokenBefore(b):d.ast.tokens.at(-1)}else i=v}),n){const h=d.getLastToken(s),g=d.getTokenBefore(h);m.isCommaToken(g)&&o(d.getTokenBefore(g),g,h,h)}}}const u={};return e.VariableDeclaration||(u.VariableDeclaration=function(s){r(s,"declarations")}),e.ObjectExpression||(u.ObjectExpression=function(s){r(s,"properties")}),e.ObjectPattern||(u.ObjectPattern=function(s){r(s,"properties")}),e.ArrayExpression||(u.ArrayExpression=function(s){r(s,"elements")}),e.ArrayPattern||(u.ArrayPattern=function(s){r(s,"elements")}),e.FunctionDeclaration||(u.FunctionDeclaration=function(s){r(s,"params")}),e.FunctionExpression||(u.FunctionExpression=function(s){r(s,"params")}),e.ArrowFunctionExpression||(u.ArrowFunctionExpression=function(s){r(s,"params")}),e.CallExpression||(u.CallExpression=function(s){r(s,"arguments")}),e.ImportDeclaration||(u.ImportDeclaration=function(s){r(s,"specifiers")}),e.NewExpression||(u.NewExpression=function(s){r(s,"arguments")}),u}},ja}var Ua,Zm;function yr(){if(Zm)return Ua;Zm=1;const m=/^[\u0000-\u007f]*$/u;let t;function p(e){return e.length<=1?e.toUpperCase():e[0].toUpperCase()+e.slice(1)}function d(e){if(m.test(e))return e.length;t??=new Intl.Segmenter("en-US");let l=0;for(const f of t.segment(e))l++;return l}return Ua={upperCaseFirst:p,getGraphemeCount:d},Ua}var qa,eh;function LC(){if(eh)return qa;eh=1;const m=Le(),{upperCaseFirst:t}=yr(),p=20;return qa={meta:{type:"suggestion",defaultOptions:[p],docs:{description:"Enforce a maximum cyclomatic complexity allowed in a program",recommended:!1,url:"https://eslint.org/docs/latest/rules/complexity"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0},variant:{enum:["classic","modified"]}},additionalProperties:!1}]}],messages:{complex:"{{name}} has a complexity of {{complexity}}. Maximum allowed is {{max}}."}},create(d){const e=d.sourceCode,l=d.options[0];let f=p,o="classic";typeof l=="object"?((Object.hasOwn(l,"maximum")||Object.hasOwn(l,"max"))&&(f=l.maximum||l.max),Object.hasOwn(l,"variant")&&(o=l.variant)):typeof l=="number"&&(f=l);const r=o==="modified",u=[];function s(){u[u.length-1]++}return{onCodePathStart(){u.push(1)},CatchClause:s,ConditionalExpression:s,LogicalExpression:s,ForStatement:s,ForInStatement:s,ForOfStatement:s,IfStatement:s,WhileStatement:s,DoWhileStatement:s,AssignmentPattern:s,"SwitchCase[test]":()=>r||s(),SwitchStatement:()=>r&&s(),AssignmentExpression(a){m.isLogicalAssignmentOperator(a.operator)&&s()},MemberExpression(a){a.optional===!0&&s()},CallExpression(a){a.optional===!0&&s()},onCodePathEnd(a,c){const n=u.pop();if(!(a.origin!=="function"&&a.origin!=="class-field-initializer"&&a.origin!=="class-static-block")&&n>f){let i,h=c.loc;a.origin==="class-field-initializer"?i="class field initializer":a.origin==="class-static-block"?(i="class static block",h=e.getFirstToken(c).loc):(i=m.getFunctionNameWithKind(c),h=m.getFunctionHeadLoc(c,e)),d.report({node:c,loc:h,messageId:"complex",data:{name:t(i),complexity:n,max:f}})}}}}},qa}var Va,th;function OC(){if(th)return Va;th=1;const m=Le();return Va={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"computed-property-spacing",url:"https://eslint.style/rules/computed-property-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside computed property brackets",recommended:!1,url:"https://eslint.org/docs/latest/rules/computed-property-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{enforceForClassMembers:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedSpaceBefore:"There should be no space before '{{tokenValue}}'.",unexpectedSpaceAfter:"There should be no space after '{{tokenValue}}'.",missingSpaceBefore:"A space is required before '{{tokenValue}}'.",missingSpaceAfter:"A space is required after '{{tokenValue}}'."}},create(t){const p=t.sourceCode,d=t.options[0]==="always",e=!t.options[1]||t.options[1].enforceForClassMembers;function l(a,c,n){t.report({node:a,loc:{start:c.loc.end,end:n.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:c.value},fix(i){return i.removeRange([c.range[1],n.range[0]])}})}function f(a,c,n){t.report({node:a,loc:{start:n.loc.end,end:c.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:c.value},fix(i){return i.removeRange([n.range[1],c.range[0]])}})}function o(a,c){t.report({node:a,loc:c.loc,messageId:"missingSpaceAfter",data:{tokenValue:c.value},fix(n){return n.insertTextAfter(c," ")}})}function r(a,c){t.report({node:a,loc:c.loc,messageId:"missingSpaceBefore",data:{tokenValue:c.value},fix(n){return n.insertTextBefore(c," ")}})}function u(a){return function(c){if(!c.computed)return;const n=c[a],i=p.getTokenBefore(n,m.isOpeningBracketToken),h=p.getTokenAfter(i,{includeComments:!0}),g=p.getTokenAfter(n,m.isClosingBracketToken),v=p.getTokenBefore(g,{includeComments:!0});m.isTokenOnSameLine(i,h)&&(d?!p.isSpaceBetweenTokens(i,h)&&m.isTokenOnSameLine(i,h)&&o(c,i):p.isSpaceBetweenTokens(i,h)&&l(c,i,h)),m.isTokenOnSameLine(v,g)&&(d?!p.isSpaceBetweenTokens(v,g)&&m.isTokenOnSameLine(v,g)&&r(c,g):p.isSpaceBetweenTokens(v,g)&&f(c,g,v))}}const s={Property:u("key"),MemberExpression:u("property")};return e&&(s.MethodDefinition=s.PropertyDefinition=s.Property),s}},Va}var $a,rh;function NC(){if(rh)return $a;rh=1;const m=Le(),{upperCaseFirst:t}=yr();function p(e){for(const l of e)if(l.reachable)return!1;return!0}function d(e){return e.type==="FunctionExpression"&&e.parent&&e.parent.type==="MethodDefinition"&&e.parent.kind==="constructor"}return $a={meta:{type:"suggestion",docs:{description:"Require `return` statements to either always or never specify values",recommended:!1,url:"https://eslint.org/docs/latest/rules/consistent-return"},schema:[{type:"object",properties:{treatUndefinedAsUnspecified:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{treatUndefinedAsUnspecified:!1}],messages:{missingReturn:"Expected to return a value at the end of {{name}}.",missingReturnValue:"{{name}} expected a return value.",unexpectedReturnValue:"{{name}} expected no return value."}},create(e){const[{treatUndefinedAsUnspecified:l}]=e.options;let f=null;function o(r){let u,s;!f.hasReturnValue||p(f.currentSegments)||m.isES5Constructor(r)||d(r)||(r.type==="Program"?(u={line:1,column:0},s="program"):r.type==="ArrowFunctionExpression"?u=e.sourceCode.getTokenBefore(r.body,m.isArrowToken).loc:r.parent.type==="MethodDefinition"||r.parent.type==="Property"&&r.parent.method?u=r.parent.key.loc:u=(r.id||e.sourceCode.getFirstToken(r)).loc,s||(s=m.getFunctionNameWithKind(r)),e.report({node:r,loc:u,messageId:"missingReturn",data:{name:s}}))}return{onCodePathStart(r,u){f={upper:f,codePath:r,hasReturn:!1,hasReturnValue:!1,messageId:"",node:u,currentSegments:new Set}},onCodePathEnd(){f=f.upper},onUnreachableCodePathSegmentStart(r){f.currentSegments.add(r)},onUnreachableCodePathSegmentEnd(r){f.currentSegments.delete(r)},onCodePathSegmentStart(r){f.currentSegments.add(r)},onCodePathSegmentEnd(r){f.currentSegments.delete(r)},ReturnStatement(r){const u=r.argument;let s=!!u;l&&s&&(s=!m.isSpecificId(u,"undefined")&&u.operator!=="void"),f.hasReturn?f.hasReturnValue!==s&&e.report({node:r,messageId:f.messageId,data:f.data}):(f.hasReturn=!0,f.hasReturnValue=s,f.messageId=s?"missingReturnValue":"unexpectedReturnValue",f.data={name:f.node.type==="Program"?"Program":t(m.getFunctionNameWithKind(f.node))})},"Program:exit":o,"FunctionDeclaration:exit":o,"FunctionExpression:exit":o,"ArrowFunctionExpression:exit":o}}},$a}var Wa,nh;function MC(){return nh||(nh=1,Wa={meta:{type:"suggestion",docs:{description:"Enforce consistent naming when capturing the current execution context",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/consistent-this"},schema:{type:"array",items:{type:"string",minLength:1},uniqueItems:!0},defaultOptions:["that"],messages:{aliasNotAssignedToThis:"Designated alias '{{name}}' is not assigned to 'this'.",unexpectedAlias:"Unexpected alias '{{name}}' for 'this'."}},create(m){const t=m.options,p=m.sourceCode;function d(o,r){m.report({node:o,messageId:"aliasNotAssignedToThis",data:{name:r}})}function e(o,r,u){const s=u.type==="ThisExpression";t.includes(r)?(!s||o.operator&&o.operator!=="=")&&d(o,r):s&&m.report({node:o,messageId:"unexpectedAlias",data:{name:r}})}function l(o,r){const u=r.set.get(o);u&&(u.defs.some(s=>s.node.type==="VariableDeclarator"&&s.node.init!==null)||u.references.some(s=>{const a=s.writeExpr;return s.from===r&&a&&a.type==="ThisExpression"&&a.parent.operator==="="})||u.defs.map(s=>s.node).forEach(s=>{d(s,o)}))}function f(o){const r=p.getScope(o),u=o.type==="Program"&&o.sourceType==="module"?r.childScopes[0]:null;t.forEach(s=>{l(s,r),u&&l(s,u)})}return{"Program:exit":f,"FunctionExpression:exit":f,"FunctionDeclaration:exit":f,VariableDeclarator(o){const r=o.id,u=r.type==="ArrayPattern"||r.type==="ObjectPattern";o.init!==null&&!u&&e(o,r.name,o.init)},AssignmentExpression(o){o.left.type==="Identifier"&&e(o,o.left.name,o.right)}}}}),Wa}var Ga,sh;function jC(){if(sh)return Ga;sh=1;function m(d){return d.type==="FunctionExpression"&&d.parent.type==="MethodDefinition"&&d.parent.kind==="constructor"}function t(d){if(!d)return!1;switch(d.type){case"ClassExpression":case"FunctionExpression":case"ThisExpression":case"MemberExpression":case"CallExpression":case"NewExpression":case"ChainExpression":case"YieldExpression":case"TaggedTemplateExpression":case"MetaProperty":return!0;case"Identifier":return d.name!=="undefined";case"AssignmentExpression":return["=","&&="].includes(d.operator)?t(d.right):["||=","??="].includes(d.operator)?t(d.left)||t(d.right):!1;case"LogicalExpression":return d.operator==="&&"?t(d.right):t(d.left)||t(d.right);case"ConditionalExpression":return t(d.alternate)||t(d.consequent);case"SequenceExpression":{const e=d.expressions.at(-1);return t(e)}default:return!1}}class p{calledInEveryPaths=!1;calledInSomePaths=!1;validNodes=[]}return Ga={meta:{type:"problem",docs:{description:"Require `super()` calls in constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/constructor-super"},schema:[],messages:{missingSome:"Lacked a call of 'super()' in some code paths.",missingAll:"Expected to call 'super()'.",duplicate:"Unexpected duplicate 'super()'.",badSuper:"Unexpected 'super()' because 'super' is not a constructor."}},create(d){let e=null;const l=Object.create(null);function f(u){return u.reachable&&l[u.id].calledInSomePaths}function o(u){return!!l[u.id]}function r(u){return u.reachable&&l[u.id].calledInEveryPaths}return{onCodePathStart(u,s){if(m(s)){const c=s.parent.parent.parent.superClass;e={upper:e,isConstructor:!0,hasExtends:!!c,superIsConstructor:t(c),codePath:u,currentSegments:new Set}}else e={upper:e,isConstructor:!1,hasExtends:!1,superIsConstructor:!1,codePath:u,currentSegments:new Set}},onCodePathEnd(u,s){const a=e.hasExtends;if(e=e.upper,!a)return;const c=u.returnedSegments,n=c.every(r),i=c.some(f);n||d.report({messageId:i?"missingSome":"missingAll",node:s.parent})},onCodePathSegmentStart(u,s){if(e.currentSegments.add(u),!(e.isConstructor&&e.hasExtends))return;const a=l[u.id]=new p,c=u.prevSegments.filter(o);c.length>0&&(a.calledInSomePaths=c.some(f),a.calledInEveryPaths=c.every(r)),s.parent&&s.parent.type==="ForStatement"&&s.parent.update===s&&(a.calledInEveryPaths=!0)},onUnreachableCodePathSegmentStart(u){e.currentSegments.add(u)},onUnreachableCodePathSegmentEnd(u){e.currentSegments.delete(u)},onCodePathSegmentEnd(u){e.currentSegments.delete(u)},onCodePathSegmentLoop(u,s){e.isConstructor&&e.hasExtends&&e.codePath.traverseSegments({first:s,last:u},(a,c)=>{const n=l[a.id];if(!n){c.skip();return}const i=a.prevSegments.filter(o),h=i.some(f),g=i.every(r);if(n.calledInSomePaths||=h,n.calledInEveryPaths||=g,h){const v=n.validNodes;n.validNodes=[];for(let S=0;S<v.length;++S){const b=v[S];d.report({messageId:"duplicate",node:b})}}})},"CallExpression:exit"(u){if(!(e.isConstructor&&e.hasExtends)||u.callee.type!=="Super")return;const s=e.currentSegments;let a=!1,c=null;for(const n of s)n.reachable&&(c=l[n.id],a=a||c.calledInSomePaths,c.calledInSomePaths=c.calledInEveryPaths=!0);c&&(a?d.report({messageId:"duplicate",node:u}):e.superIsConstructor?c.validNodes.push(u):d.report({messageId:"badSuper",node:u}))},ReturnStatement(u){if(!(e.isConstructor&&e.hasExtends)||!u.argument)return;const s=e.currentSegments;for(const a of s)if(a.reachable){const c=l[a.id];c.calledInSomePaths=c.calledInEveryPaths=!0}}}}},Ga}var za,ah;function UC(){if(ah)return za;ah=1;const m=Le();return za={meta:{type:"suggestion",docs:{description:"Enforce consistent brace style for all control statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/curly"},schema:{anyOf:[{type:"array",items:[{enum:["all"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["multi","multi-line","multi-or-nest"]},{enum:["consistent"]}],minItems:0,maxItems:2}]},defaultOptions:["all"],fixable:"code",messages:{missingCurlyAfter:"Expected { after '{{name}}'.",missingCurlyAfterCondition:"Expected { after '{{name}}' condition.",unexpectedCurlyAfter:"Unnecessary { after '{{name}}'.",unexpectedCurlyAfterCondition:"Unnecessary { after '{{name}}' condition."}},create(t){const p=t.options[0]==="multi",d=t.options[0]==="multi-line",e=t.options[0]==="multi-or-nest",l=t.options[1]==="consistent",f=t.sourceCode;function o(c){const n=f.getTokenBefore(c),i=f.getLastToken(c),h=m.isSemicolonToken(i)?f.getTokenBefore(i):i;return n.loc.start.line===h.loc.end.line}function r(c){if(c.type==="EmptyStatement")return!0;const n=f.getFirstToken(c),i=f.getLastToken(c),h=m.isSemicolonToken(i)?f.getTokenBefore(i):i;return n.loc.start.line===h.loc.end.line}function u(c){const n=f.getTokenBefore(c),i=f.getTokenAfter(c),h=f.getNodeByRangeIndex(n.range[0]);return m.isSemicolonToken(n)||!i||h.type==="BlockStatement"&&h.parent.type!=="FunctionExpression"&&h.parent.type!=="ArrowFunctionExpression"?!1:!!(n.loc.end.line===i.loc.start.line||/^[([/`+-]/u.test(i.value)||n.type==="Punctuator"&&(n.value==="++"||n.value==="--"))}function s(c,n,i,h){const g=n.type==="BlockStatement";let v=null;if(g&&(n.body.length!==1||m.areBracesNecessary(n,f)))v=!0;else if(p)v=!1;else if(d)o(n)||(v=!0);else if(e)if(g){const S=n.body[0],b=f.getCommentsBefore(S);v=!r(S)||b.length>0}else v=!r(n);else v=!0;return{actual:g,expected:v,check(){this.expected!==null&&this.expected!==this.actual&&(this.expected?t.report({node:c,loc:n.loc,messageId:h&&h.condition?"missingCurlyAfterCondition":"missingCurlyAfter",data:{name:i},fix:S=>S.replaceText(n,`{${f.getText(n)}}`)}):t.report({node:c,loc:n.loc,messageId:h&&h.condition?"unexpectedCurlyAfterCondition":"unexpectedCurlyAfter",data:{name:i},fix(S){const b=c.type==="DoWhileStatement"&&f.getTokenBefore(n).range[1]===n.range[0]&&!m.canTokensBeAdjacent("do",f.getFirstToken(n,{skip:1})),T=f.getFirstToken(n),x=f.getLastToken(n),E=f.getTokenBefore(x);if(u(x))return null;const A=f.getText().slice(T.range[1],E.range[0])+f.getText(E)+f.getText().slice(E.range[1],x.range[0]);return S.replaceText(n,(b?" ":"")+A)}}))}}}function a(c){const n=[];for(let i=c;i;i=i.alternate)if(n.push(s(i,i.consequent,"if",{condition:!0})),i.alternate&&i.alternate.type!=="IfStatement"){n.push(s(i,i.alternate,"else"));break}if(l){const i=n.some(h=>h.expected!==null?h.expected:h.actual);n.forEach(h=>{h.expected=i})}return n}return{IfStatement(c){const n=c.parent;n.type==="IfStatement"&&n.alternate===c||a(c).forEach(h=>{h.check()})},WhileStatement(c){s(c,c.body,"while",{condition:!0}).check()},DoWhileStatement(c){s(c,c.body,"do").check()},ForStatement(c){s(c,c.body,"for",{condition:!0}).check()},ForInStatement(c){s(c,c.body,"for-in").check()},ForOfStatement(c){s(c,c.body,"for-of").check()}}}},za}var Ha,ih;function qC(){if(ih)return Ha;ih=1;const m=/^no default$/iu;return Ha={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Require `default` cases in `switch` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/default-case"},schema:[{type:"object",properties:{commentPattern:{type:"string"}},additionalProperties:!1}],messages:{missingDefaultCase:"Expected a default case."}},create(t){const[p]=t.options,d=p.commentPattern?new RegExp(p.commentPattern,"u"):m,e=t.sourceCode;function l(f){return f.at(-1)}return{SwitchStatement(f){if(!f.cases.length)return;if(!f.cases.some(r=>r.test===null)){let r;const u=l(f.cases),s=e.getCommentsAfter(u);s.length&&(r=l(s)),(!r||!d.test(r.value.trim()))&&t.report({node:f,messageId:"missingDefaultCase"})}}}}},Ha}var Ka,oh;function VC(){return oh||(oh=1,Ka={meta:{type:"suggestion",docs:{description:"Enforce `default` clauses in `switch` statements to be last",recommended:!1,url:"https://eslint.org/docs/latest/rules/default-case-last"},schema:[],messages:{notLast:"Default clause should be the last clause."}},create(m){return{SwitchStatement(t){const p=t.cases,d=p.findIndex(e=>e.test===null);if(d!==-1&&d!==p.length-1){const e=p[d];m.report({node:e,messageId:"notLast"})}}}}}),Ka}var Xa,lh;function $C(){if(lh)return Xa;lh=1;function m(t){return!(t.type==="AssignmentPattern"||t.type==="RestElement"||t.optional)}return Xa={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Enforce default parameters to be last",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/default-param-last"},schema:[],messages:{shouldBeLast:"Default parameters should be last."}},create(t){function p(d){let e=!1;for(let l=d.params.length-1;l>=0;l-=1){const f=d.params[l],o=f.type==="TSParameterProperty"?f.parameter:f;if(m(o)){e=!0;continue}e&&t.report({node:f,messageId:"shouldBeLast"})}}return{FunctionDeclaration:p,FunctionExpression:p,ArrowFunctionExpression:p}}},Xa}var Ja,uh;function WC(){if(uh)return Ja;uh=1;const m=Le();return Ja={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"dot-location",url:"https://eslint.style/rules/dot-location"}}]},type:"layout",docs:{description:"Enforce consistent newlines before and after dots",recommended:!1,url:"https://eslint.org/docs/latest/rules/dot-location"},schema:[{enum:["object","property"]}],fixable:"code",messages:{expectedDotAfterObject:"Expected dot to be on same line as object.",expectedDotBeforeProperty:"Expected dot to be on same line as property."}},create(t){const p=t.options[0],d=p==="object"||!p,e=t.sourceCode;function l(o){const r=o.property,u=e.getTokenBefore(r);if(d){const s=e.getTokenBefore(u);m.isTokenOnSameLine(s,u)||t.report({node:o,loc:u.loc,messageId:"expectedDotAfterObject",*fix(a){u.value.startsWith(".")&&m.isDecimalIntegerNumericToken(s)?yield a.insertTextAfter(s,` ${u.value}`):yield a.insertTextAfter(s,u.value),yield a.remove(u)}})}else m.isTokenOnSameLine(u,r)||t.report({node:o,loc:u.loc,messageId:"expectedDotBeforeProperty",*fix(s){yield s.remove(u),yield s.insertTextBefore(r,u.value)}})}function f(o){o.computed||l(o)}return{MemberExpression:f}}},Ja}var Qa,ch;function Ya(){return ch||(ch=1,Qa=["abstract","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","long","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with"]),Qa}var Za,fh;function GC(){if(fh)return Za;fh=1;const m=Le(),t=Ya(),p=/^[a-zA-Z_$][\w$]*$/u,d=new Set(["string","boolean"]);return Za={meta:{type:"suggestion",defaultOptions:[{allowKeywords:!0,allowPattern:""}],docs:{description:"Enforce dot notation whenever possible",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/dot-notation"},schema:[{type:"object",properties:{allowKeywords:{type:"boolean"},allowPattern:{type:"string"}},additionalProperties:!1}],fixable:"code",messages:{useDot:"[{{key}}] is better written in dot notation.",useBrackets:".{{key}} is a syntax error."}},create(e){const[l]=e.options,f=l.allowKeywords,o=e.sourceCode;let r;l.allowPattern&&(r=new RegExp(l.allowPattern,"u"));function u(s,a){if(p.test(a)&&(f||!t.includes(String(a)))&&!(r&&r.test(a))){const c=s.property.type==="Literal"?JSON.stringify(a):`\`${a}\``;e.report({node:s.property,messageId:"useDot",data:{key:c},*fix(n){const i=o.getTokenAfter(s.object,m.isOpeningBracketToken),h=o.getLastToken(s),g=o.getTokenAfter(s);o.commentsExistBetween(i,h)||(s.optional||(yield n.insertTextBefore(i,m.isDecimalInteger(s.object)?" .":".")),yield n.replaceTextRange([i.range[0],h.range[1]],a),g&&h.range[1]===g.range[0]&&!m.canTokensBeAdjacent(String(a),g)&&(yield n.insertTextAfter(s," ")))}})}}return{MemberExpression(s){s.computed&&s.property.type==="Literal"&&(d.has(typeof s.property.value)||m.isNullLiteral(s.property))&&u(s,s.property.value),s.computed&&m.isStaticTemplateLiteral(s.property)&&u(s,s.property.quasis[0].value.cooked),!f&&!s.computed&&s.property.type==="Identifier"&&t.includes(String(s.property.name))&&e.report({node:s.property,messageId:"useBrackets",data:{key:s.property.name},*fix(a){const c=o.getTokenBefore(s.property);s.object.type==="Identifier"&&s.object.name==="let"&&!s.optional||o.commentsExistBetween(c,s.property)||(s.optional||(yield a.remove(c)),yield a.replaceText(s.property,`["${s.property.name}"]`))}})}}}},Za}var ei,ph;function zC(){return ph||(ph=1,ei={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"eol-last",url:"https://eslint.style/rules/eol-last"}}]},type:"layout",docs:{description:"Require or disallow newline at the end of files",recommended:!1,url:"https://eslint.org/docs/latest/rules/eol-last"},fixable:"whitespace",schema:[{enum:["always","never","unix","windows"]}],messages:{missing:"Newline required at end of file but not found.",unexpected:"Newline not allowed at end of file."}},create(m){return{Program:function(p){const d=m.sourceCode,e=d.getText(),l=d.lines.at(-1),f={column:l.length,line:d.lines.length},o=`
53
- `,r=`\r${o}`,u=e.endsWith(o);if(!e.length)return;let s=m.options[0]||"always",a=!1;if(s==="unix"&&(s="always"),s==="windows"&&(s="always",a=!0),s==="always"&&!u)m.report({node:p,loc:f,messageId:"missing",fix(c){return c.insertTextAfterRange([0,e.length],a?r:o)}});else if(s==="never"&&u){const c=d.lines.at(-2);m.report({node:p,loc:{start:{line:d.lines.length-1,column:c.length},end:{line:d.lines.length,column:0}},messageId:"unexpected",fix(n){const i=/(?:\r?\n)+$/u,h=i.exec(d.text),g=h.index,v=d.text.length;return n.replaceTextRange([g,v],"")}})}}}}}),ei}var ti,dh;function HC(){if(dh)return ti;dh=1;const m=Le();return ti={meta:{type:"suggestion",hasSuggestions:!0,docs:{description:"Require the use of `===` and `!==`",recommended:!1,url:"https://eslint.org/docs/latest/rules/eqeqeq"},schema:{anyOf:[{type:"array",items:[{enum:["always"]},{type:"object",properties:{null:{enum:["always","never","ignore"]}},additionalProperties:!1}],additionalItems:!1},{type:"array",items:[{enum:["smart","allow-null"]}],additionalItems:!1}]},fixable:"code",messages:{unexpected:"Expected '{{expectedOperator}}' and instead saw '{{actualOperator}}'.",replaceOperator:"Use '{{expectedOperator}}' instead of '{{actualOperator}}'."}},create(t){const p=t.options[0]||"always",d=t.options[1]||{},e=t.sourceCode,l=p==="always"?d.null||"always":"ignore",f=l==="always",o=l==="never";function r(n){return n.type==="UnaryExpression"&&n.operator==="typeof"}function u(n){return r(n.left)||r(n.right)}function s(n){return n.left.type==="Literal"&&n.right.type==="Literal"&&typeof n.left.value==typeof n.right.value}function a(n){return m.isNullLiteral(n.right)||m.isNullLiteral(n.left)}function c(n,i){const h=e.getFirstTokenBetween(n.left,n.right,v=>v.value===n.operator),g={node:n,loc:h.loc,messageId:"unexpected",data:{expectedOperator:i,actualOperator:n.operator}};u(n)||s(n)?t.report({...g,fix(v){return v.replaceText(h,i)}}):t.report({...g,suggest:[{messageId:"replaceOperator",data:{expectedOperator:i,actualOperator:n.operator},fix:v=>v.replaceText(h,i)}]})}return{BinaryExpression(n){const i=a(n);if(n.operator!=="=="&&n.operator!=="!="){o&&i&&c(n,n.operator.slice(0,-1));return}p==="smart"&&(u(n)||s(n)||i)||!f&&i||c(n,`${n.operator}=`)}}}},ti}var ri,mh;function KC(){if(mh)return ri;mh=1;const{getStaticValue:m}=Mt();return ri={meta:{type:"problem",docs:{description:"Enforce `for` loop update clause moving the counter in the right direction",recommended:!0,url:"https://eslint.org/docs/latest/rules/for-direction"},fixable:null,schema:[],messages:{incorrectDirection:"The update clause in this loop moves the variable in the wrong direction."}},create(t){const{sourceCode:p}=t;function d(o){t.report({loc:{start:o.loc.start,end:p.getTokenBefore(o.body).loc.end},messageId:"incorrectDirection"})}function e(o,r){const u=m(o.right,p.getScope(o));if(u&&["bigint","boolean","number"].includes(typeof u.value)){const s=Math.sign(Number(u.value))||0;return r*s}return 0}function l(o,r){if(o.argument.type==="Identifier"&&o.argument.name===r){if(o.operator==="++")return 1;if(o.operator==="--")return-1}return 0}function f(o,r){if(o.left.name===r){if(o.operator==="+=")return e(o,1);if(o.operator==="-=")return e(o,-1)}return 0}return{ForStatement(o){if(o.test&&o.test.type==="BinaryExpression"&&o.update)for(const r of["left","right"]){if(o.test[r].type!=="Identifier")continue;const u=o.test[r].name,s=o.test.operator,a=o.update;let c;if(s==="<"||s==="<=")c=r==="left"?-1:1;else if(s===">"||s===">=")c=r==="left"?1:-1;else return;a.type==="UpdateExpression"?l(a,u)===c&&d(o):a.type==="AssignmentExpression"&&f(a,u)===c&&d(o)}}}}},ri}var ni,hh;function XC(){if(hh)return ni;hh=1;const m=Le();return ni={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/function-call-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing between function identifiers and their invocations",recommended:!1,url:"https://eslint.org/docs/latest/rules/func-call-spacing"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{enum:["never"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always"]},{type:"object",properties:{allowNewlines:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpectedWhitespace:"Unexpected whitespace between function name and paren.",unexpectedNewline:"Unexpected newline between function name and paren.",missing:"Missing space between function name and paren."}},create(t){const p=t.options[0]!=="always",d=!p&&t.options[1]&&t.options[1].allowNewlines,e=t.sourceCode,l=e.getText();function f(o,r,u){const s=l.slice(r.range[1],u.range[0]).replace(/\/\*.*?\*\//gu,""),a=/\s/u.test(s),c=a&&m.LINEBREAK_MATCHER.test(s);p&&a?t.report({node:o,loc:{start:r.loc.end,end:{line:u.loc.start.line,column:u.loc.start.column-1}},messageId:"unexpectedWhitespace",fix(n){return e.commentsExistBetween(r,u)?null:o.optional?n.replaceTextRange([r.range[1],u.range[0]],"?."):c?null:n.removeRange([r.range[1],u.range[0]])}}):!p&&!a?t.report({node:o,loc:{start:{line:r.loc.end.line,column:r.loc.end.column-1},end:u.loc.start},messageId:"missing",fix(n){return o.optional?null:n.insertTextBefore(u," ")}}):!p&&!d&&c&&t.report({node:o,loc:{start:r.loc.end,end:u.loc.start},messageId:"unexpectedNewline",fix(n){if(!o.optional||e.commentsExistBetween(r,u))return null;const i=[r.range[1],u.range[0]],h=e.getTokenAfter(r);return h.range[0]===r.range[1]?n.replaceTextRange(i,"?. "):h.range[1]===u.range[0]?n.replaceTextRange(i," ?."):n.replaceTextRange(i," ?. ")}})}return{"CallExpression, NewExpression"(o){const r=e.getLastToken(o),u=e.getLastToken(o.callee),s=e.getFirstTokenBetween(u,r,m.isOpeningParenToken),a=s&&e.getTokenBefore(s,m.isNotQuestionDotToken);s&&s.range[1]<o.range[1]&&f(o,a,s)},ImportExpression(o){const r=e.getFirstToken(o),u=e.getTokenAfter(r);f(o,r,u)}}}},ni}var si,gh;function JC(){if(gh)return si;gh=1;const m=Le(),t=Rm();function p(f){return f.type==="MemberExpression"&&f.object.type==="Identifier"&&f.object.name==="module"&&(f.property.type==="Identifier"&&f.property.name==="exports"||f.property.type==="Literal"&&f.property.value==="exports")}function d(f,o){return o>=2015?t.keyword.isIdentifierES6(f):t.keyword.isIdentifierES5(f)}const e={enum:["always","never"]},l={type:"object",properties:{considerPropertyDescriptor:{type:"boolean"},includeCommonJSModuleExports:{type:"boolean"}},additionalProperties:!1};return si={meta:{type:"suggestion",docs:{description:"Require function names to match the name of the variable or property to which they are assigned",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/func-name-matching"},schema:{anyOf:[{type:"array",additionalItems:!1,items:[e,l]},{type:"array",additionalItems:!1,items:[l]}]},messages:{matchProperty:"Function name `{{funcName}}` should match property name `{{name}}`.",matchVariable:"Function name `{{funcName}}` should match variable name `{{name}}`.",notMatchProperty:"Function name `{{funcName}}` should not match property name `{{name}}`.",notMatchVariable:"Function name `{{funcName}}` should not match variable name `{{name}}`."}},create(f){const o=(typeof f.options[0]=="object"?f.options[0]:f.options[1])||{},r=typeof f.options[0]=="string"?f.options[0]:"always",u=o.considerPropertyDescriptor,s=o.includeCommonJSModuleExports,a=f.languageOptions.ecmaVersion;function c(g,v,S){return S?S.type==="CallExpression"&&m.isSpecificMemberAccess(S.callee,g,v):!1}function n(g,v){return r==="always"&&g!==v||r==="never"&&g===v}function i(g,v,S,b){let T;r==="always"&&b?T="matchProperty":r==="always"?T="matchVariable":b?T="notMatchProperty":T="notMatchVariable",f.report({node:g,messageId:T,data:{name:v,funcName:S}})}function h(g){return g.type==="Literal"&&typeof g.value=="string"}return{VariableDeclarator(g){!g.init||g.init.type!=="FunctionExpression"||g.id.type!=="Identifier"||g.init.id&&n(g.id.name,g.init.id.name)&&i(g,g.id.name,g.init.id.name,!1)},AssignmentExpression(g){if(g.right.type!=="FunctionExpression"||g.left.computed&&g.left.property.type!=="Literal"||!s&&p(g.left)||g.left.type!=="Identifier"&&g.left.type!=="MemberExpression")return;const v=g.left.type==="MemberExpression",S=v?m.getStaticPropertyName(g.left):g.left.name;g.right.id&&S&&d(S)&&n(S,g.right.id.name)&&i(g,S,g.right.id.name,v)},"Property, PropertyDefinition[value]"(g){if(g.value.type==="FunctionExpression"&&g.value.id){if(g.key.type==="Identifier"&&!g.computed){const v=g.value.id.name;let S=g.key.name;if(u&&S==="value"&&g.parent.type==="ObjectExpression")if(c("Object","defineProperty",g.parent.parent)||c("Reflect","defineProperty",g.parent.parent)){const b=g.parent.parent.arguments[1];h(b)&&n(b.value,v)&&i(g,b.value,v,!0)}else c("Object","defineProperties",g.parent.parent.parent.parent)||c("Object","create",g.parent.parent.parent.parent)?(S=g.parent.parent.key.name,!g.parent.parent.computed&&n(S,v)&&i(g,S,v,!0)):n(S,v)&&i(g,S,v,!0);else n(S,v)&&i(g,S,v,!0);return}h(g.key)&&d(g.key.value,a)&&n(g.key.value,g.value.id.name)&&i(g,g.key.value,g.value.id.name,!0)}}}}},si}var ai,yh;function QC(){if(yh)return ai;yh=1;const m=Le();function t(p){return p&&p.defs[0].type==="FunctionName"}return ai={meta:{type:"suggestion",defaultOptions:["always",{}],docs:{description:"Require or disallow named `function` expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/func-names"},schema:{definitions:{value:{enum:["always","as-needed","never"]}},items:[{$ref:"#/definitions/value"},{type:"object",properties:{generators:{$ref:"#/definitions/value"}},additionalProperties:!1}]},messages:{unnamed:"Unexpected unnamed {{name}}.",named:"Unexpected named {{name}}."}},create(p){const d=p.sourceCode;function e(s){return s.generator&&p.options[1].generators?p.options[1].generators:p.options[0]}function l(s){const a=s.parent;return a.type==="MethodDefinition"||a.type==="Property"&&(a.method||a.kind==="get"||a.kind==="set")}function f(s){const a=s.parent;return l(s)||a.type==="VariableDeclarator"&&a.id.type==="Identifier"&&a.init===s||a.type==="Property"&&a.value===s||a.type==="PropertyDefinition"&&a.value===s||a.type==="AssignmentExpression"&&a.left.type==="Identifier"&&a.right===s||a.type==="AssignmentPattern"&&a.left.type==="Identifier"&&a.right===s}function o(s){p.report({node:s,messageId:"unnamed",loc:m.getFunctionHeadLoc(s,d),data:{name:m.getFunctionNameWithKind(s)}})}function r(s){p.report({node:s,messageId:"named",loc:m.getFunctionHeadLoc(s,d),data:{name:m.getFunctionNameWithKind(s)}})}function u(s){const a=d.getDeclaredVariables(s)[0];if(t(a)&&a.references.length>0)return;const c=!!(s.id&&s.id.name),n=e(s);n==="never"?c&&s.type!=="FunctionDeclaration"&&r(s):n==="as-needed"?!c&&!f(s)&&o(s):!c&&!l(s)&&o(s)}return{"FunctionExpression:exit":u,"ExportDefaultDeclaration > FunctionDeclaration":u}}},ai}var ii,vh;function YC(){return vh||(vh=1,ii={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:["expression",{allowArrowFunctions:!1,allowTypeAnnotation:!1,overrides:{}}],docs:{description:"Enforce the consistent use of either `function` declarations or expressions assigned to variables",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/func-style"},schema:[{enum:["declaration","expression"]},{type:"object",properties:{allowArrowFunctions:{type:"boolean"},allowTypeAnnotation:{type:"boolean"},overrides:{type:"object",properties:{namedExports:{enum:["declaration","expression","ignore"]}},additionalProperties:!1}},additionalProperties:!1}],messages:{expression:"Expected a function expression.",declaration:"Expected a function declaration."}},create(m){const[t,{allowArrowFunctions:p,allowTypeAnnotation:d,overrides:e}]=m.options,l=t==="declaration",{namedExports:f}=e,o=[];function r(s){const a=s.id.name;return s.parent.type==="ExportNamedDeclaration"?s.parent.parent.body.some(c=>c.type==="ExportNamedDeclaration"&&c.declaration?.type==="TSDeclareFunction"&&c.declaration.id.name===a):s.parent.type==="SwitchCase"?s.parent.parent.cases.some(c=>c.consequent.some(n=>n.type==="TSDeclareFunction"&&n.id.name===a)):Array.isArray(s.parent.body)&&s.parent.body.some(c=>c.type==="TSDeclareFunction"&&c.id.name===a)}const u={FunctionDeclaration(s){o.push(!1),!l&&s.parent.type!=="ExportDefaultDeclaration"&&(typeof f>"u"||s.parent.type!=="ExportNamedDeclaration")&&!r(s)&&m.report({node:s,messageId:"expression"}),s.parent.type==="ExportNamedDeclaration"&&f==="expression"&&!r(s)&&m.report({node:s,messageId:"expression"})},"FunctionDeclaration:exit"(){o.pop()},FunctionExpression(s){o.push(!1),l&&s.parent.type==="VariableDeclarator"&&(typeof f>"u"||s.parent.parent.parent.type!=="ExportNamedDeclaration")&&!(d&&s.parent.id.typeAnnotation)&&m.report({node:s.parent,messageId:"declaration"}),s.parent.type==="VariableDeclarator"&&s.parent.parent.parent.type==="ExportNamedDeclaration"&&f==="declaration"&&!(d&&s.parent.id.typeAnnotation)&&m.report({node:s.parent,messageId:"declaration"})},"FunctionExpression:exit"(){o.pop()},"ThisExpression, Super"(){o.length>0&&(o[o.length-1]=!0)}};return p||(u.ArrowFunctionExpression=function(){o.push(!1)},u["ArrowFunctionExpression:exit"]=function(s){!o.pop()&&s.parent.type==="VariableDeclarator"&&(l&&(typeof f>"u"||s.parent.parent.parent.type!=="ExportNamedDeclaration")&&!(d&&s.parent.id.typeAnnotation)&&m.report({node:s.parent,messageId:"declaration"}),s.parent.parent.parent.type==="ExportNamedDeclaration"&&f==="declaration"&&!(d&&s.parent.id.typeAnnotation)&&m.report({node:s.parent,messageId:"declaration"}))}),u}}),ii}var oi,Eh;function ZC(){return Eh||(Eh=1,oi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-call-argument-newline",url:"https://eslint.style/rules/function-call-argument-newline"}}]},type:"layout",docs:{description:"Enforce line breaks between arguments of a function call",recommended:!1,url:"https://eslint.org/docs/latest/rules/function-call-argument-newline"},fixable:"whitespace",schema:[{enum:["always","never","consistent"]}],messages:{unexpectedLineBreak:"There should be no line break here.",missingLineBreak:"There should be a line break after this argument."}},create(m){const t=m.sourceCode,p={unexpected:{messageId:"unexpectedLineBreak",check:(l,f)=>l.loc.end.line!==f.loc.start.line,createFix:(l,f)=>o=>o.replaceTextRange([f.range[1],l.range[0]]," ")},missing:{messageId:"missingLineBreak",check:(l,f)=>l.loc.end.line===f.loc.start.line,createFix:(l,f)=>o=>o.replaceTextRange([f.range[1],l.range[0]],`
54
- `)}};function d(l,f){for(let o=1;o<l.arguments.length;o++){const r=t.getLastToken(l.arguments[o-1]),u=t.getFirstToken(l.arguments[o]);if(f.check(r,u)){const s=t.getTokenBefore(u,{includeComments:!0}),a=s.type==="Line";m.report({node:l,loc:{start:s.loc.end,end:u.loc.start},messageId:f.messageId,fix:a?null:f.createFix(u,s)})}}}function e(l){if(l.arguments.length<2)return;const f=m.options[0]||"always";if(f==="never")d(l,p.unexpected);else if(f==="always")d(l,p.missing);else if(f==="consistent"){const o=t.getLastToken(l.arguments[0]),r=t.getFirstToken(l.arguments[1]);o.loc.end.line===r.loc.start.line?d(l,p.unexpected):d(l,p.missing)}}return{CallExpression:e,NewExpression:e}}}),oi}var li,Sh;function e1(){if(Sh)return li;Sh=1;const m=Le();return li={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-paren-newline",url:"https://eslint.style/rules/function-paren-newline"}}]},type:"layout",docs:{description:"Enforce consistent line breaks inside function parentheses",recommended:!1,url:"https://eslint.org/docs/latest/rules/function-paren-newline"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never","consistent","multiline","multiline-arguments"]},{type:"object",properties:{minItems:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{expectedBefore:"Expected newline before ')'.",expectedAfter:"Expected newline after '('.",expectedBetween:"Expected newline between arguments/params.",unexpectedBefore:"Unexpected newline before ')'.",unexpectedAfter:"Unexpected newline after '('."}},create(t){const p=t.sourceCode,d=t.options[0]||"multiline",e=d==="multiline",l=d==="multiline-arguments",f=d==="consistent";let o;typeof d=="object"?o=d.minItems:d==="always"?o=0:d==="never"?o=1/0:o=null;function r(c,n){return l&&c.length===1?n:e||l?c.some((i,h)=>h!==c.length-1&&i.loc.end.line!==c[h+1].loc.start.line):f?n:c.length>=o}function u(c,n){const i=c.leftParen,h=c.rightParen,g=p.getTokenAfter(i),v=p.getTokenBefore(h),S=!m.isTokenOnSameLine(i,g),b=!m.isTokenOnSameLine(v,h),T=r(n,S);S&&!T?t.report({node:i,messageId:"unexpectedAfter",fix(x){return p.getText().slice(i.range[1],g.range[0]).trim()?null:x.removeRange([i.range[1],g.range[0]])}}):!S&&T&&t.report({node:i,messageId:"expectedAfter",fix:x=>x.insertTextAfter(i,`
55
- `)}),b&&!T?t.report({node:h,messageId:"unexpectedBefore",fix(x){return p.getText().slice(v.range[1],h.range[0]).trim()?null:x.removeRange([v.range[1],h.range[0]])}}):!b&&T&&t.report({node:h,messageId:"expectedBefore",fix:x=>x.insertTextBefore(h,`
56
- `)})}function s(c,n){const i=c.leftParen,h=p.getTokenAfter(i),g=!m.isTokenOnSameLine(i,h),v=r(n,g);for(let S=0;S<=n.length-2;S++){const b=n[S],T=n[S+1];!(b.loc.end.line!==T.loc.start.line)&&v&&t.report({node:b,messageId:"expectedBetween",fix:E=>E.insertTextBefore(T,`
57
- `)})}}function a(c){switch(c.type){case"NewExpression":if(!c.arguments.length&&!(m.isOpeningParenToken(p.getLastToken(c,{skip:1}))&&m.isClosingParenToken(p.getLastToken(c))&&c.callee.range[1]<c.range[1]))return null;case"CallExpression":return{leftParen:p.getTokenAfter(c.callee,m.isOpeningParenToken),rightParen:p.getLastToken(c)};case"FunctionDeclaration":case"FunctionExpression":{const n=p.getFirstToken(c,m.isOpeningParenToken),i=c.params.length?p.getTokenAfter(c.params.at(-1),m.isClosingParenToken):p.getTokenAfter(n);return{leftParen:n,rightParen:i}}case"ArrowFunctionExpression":{const n=p.getFirstToken(c,{skip:c.async?1:0});if(!m.isOpeningParenToken(n))return null;const i=c.params.length?p.getTokenAfter(c.params.at(-1),m.isClosingParenToken):p.getTokenAfter(n);return{leftParen:n,rightParen:i}}case"ImportExpression":{const n=p.getFirstToken(c,1),i=p.getLastToken(c);return{leftParen:n,rightParen:i}}default:throw new TypeError(`unexpected node with type ${c.type}`)}}return{[["ArrowFunctionExpression","CallExpression","FunctionDeclaration","FunctionExpression","ImportExpression","NewExpression"]](c){const n=a(c);let i;c.type==="ImportExpression"?i=[c.source]:m.isFunction(c)?i=c.params:i=c.arguments,n&&(u(n,i),l&&s(n,i))}}}},li}var ui,bh;function t1(){if(bh)return ui;bh=1;const m={oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]};return ui={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"generator-star-spacing",url:"https://eslint.style/rules/generator-star-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing around `*` operators in generator functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/generator-star-spacing"},fixable:"whitespace",schema:[{oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"},named:m,anonymous:m,method:m},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(t){const p={before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}};function d(a,c){return a?typeof a=="string"?p[a]:Object.assign({},c,a):c}const e=function(a){const c=d(a,p.before);return{named:d(a.named,c),anonymous:d(a.anonymous,c),method:d(a.method,c)}}(t.options[0]||{}),l=t.sourceCode;function f(a){return a.value==="*"&&a.type==="Punctuator"}function o(a){return l.getFirstToken(a.parent.method||a.parent.type==="MethodDefinition"?a.parent:a,f)}function r(a){return a[0].toUpperCase()+a.slice(1)}function u(a,c,n,i){if(!!(i.range[0]-n.range[1])!==e[a][c]){const h=n.value==="*",g=e[a][c],v=h?n:i,S=`${g?"missing":"unexpected"}${r(c)}`;t.report({node:v,messageId:S,fix(b){return g?h?b.insertTextAfter(v," "):b.insertTextBefore(v," "):b.removeRange([n.range[1],i.range[0]])}})}}function s(a){if(!a.generator)return;const c=o(a),n=l.getTokenBefore(c),i=l.getTokenAfter(c);let h="named";a.parent.type==="MethodDefinition"||a.parent.type==="Property"&&a.parent.method?h="method":a.id||(h="anonymous"),h==="method"&&c===l.getFirstToken(a.parent)||u(h,"before",n,c),u(h,"after",c,i)}return{FunctionDeclaration:s,FunctionExpression:s}}},ui}var ci,xh;function r1(){if(xh)return ci;xh=1;const m=Le(),t=/^(?:Arrow)?FunctionExpression$/u;function p(d){for(const e of d)if(e.reachable)return!0;return!1}return ci={meta:{type:"problem",defaultOptions:[{allowImplicit:!1}],docs:{description:"Enforce `return` statements in getters",recommended:!0,url:"https://eslint.org/docs/latest/rules/getter-return"},fixable:null,schema:[{type:"object",properties:{allowImplicit:{type:"boolean"}},additionalProperties:!1}],messages:{expected:"Expected to return a value in {{name}}.",expectedAlways:"Expected {{name}} to always return a value."}},create(d){const[{allowImplicit:e}]=d.options,l=d.sourceCode;let f={upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null,currentSegments:[]};function o(u){f.shouldCheck&&p(f.currentSegments)&&d.report({node:u,loc:m.getFunctionHeadLoc(u,l),messageId:f.hasReturn?"expectedAlways":"expected",data:{name:m.getFunctionNameWithKind(f.node)}})}function r(u){const s=u.parent;if(t.test(u.type)&&u.body.type==="BlockStatement"){if(s.kind==="get")return!0;if(s.type==="Property"&&m.getStaticPropertyName(s)==="get"&&s.parent.type==="ObjectExpression"){if(s.parent.parent.type==="CallExpression"){const a=s.parent.parent.callee;if(m.isSpecificMemberAccess(a,"Object","defineProperty")||m.isSpecificMemberAccess(a,"Reflect","defineProperty"))return!0}if(s.parent.parent.type==="Property"&&s.parent.parent.parent.type==="ObjectExpression"&&s.parent.parent.parent.parent.type==="CallExpression"){const a=s.parent.parent.parent.parent.callee;return m.isSpecificMemberAccess(a,"Object","defineProperties")||m.isSpecificMemberAccess(a,"Object","create")}}}return!1}return{onCodePathStart(u,s){f={upper:f,codePath:u,hasReturn:!1,shouldCheck:r(s),node:s,currentSegments:new Set}},onCodePathEnd(){f=f.upper},onUnreachableCodePathSegmentStart(u){f.currentSegments.add(u)},onUnreachableCodePathSegmentEnd(u){f.currentSegments.delete(u)},onCodePathSegmentStart(u){f.currentSegments.add(u)},onCodePathSegmentEnd(u){f.currentSegments.delete(u)},ReturnStatement(u){f.shouldCheck&&(f.hasReturn=!0,!e&&!u.argument&&d.report({node:u,messageId:"expected",data:{name:m.getFunctionNameWithKind(f.node)}}))},"FunctionExpression:exit":o,"ArrowFunctionExpression:exit":o}}},ci}var fi,Ch;function n1(){if(Ch)return fi;Ch=1;const m=new Set(["AssignmentExpression","VariableDeclarator","MemberExpression","ExpressionStatement","CallExpression","ConditionalExpression","Program","VariableDeclaration","ChainExpression"]);function t(d,e){const l=d.references.filter(f=>f.identifier.range[0]===e.range[0]&&f.identifier.range[1]===e.range[1]);return l.length===1?l[0]:null}function p(d,e){const l=t(d,e);return l&&l.resolved&&l.resolved.defs.length>0}return fi={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"global-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/global-require.md"}}]},type:"suggestion",docs:{description:"Require `require()` calls to be placed at top-level module scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/global-require"},schema:[],messages:{unexpected:"Unexpected require()."}},create(d){const e=d.sourceCode;return{CallExpression(l){const f=e.getScope(l);l.callee.name==="require"&&!p(f,l.callee)&&(e.getAncestors(l).every(r=>m.has(r.type))||d.report({node:l,messageId:"unexpected"}))}}}},fi}var pi,Ah;function s1(){if(Ah)return pi;Ah=1;const m=Le();function t(e,l){if(e.length!==l.length)return!1;for(let f=0;f<e.length;f++){const o=e[f],r=l[f];if(o.type!==r.type||o.value!==r.value)return!1}return!0}function p(e,l){return typeof e=="string"&&typeof l=="string"?e===l:Array.isArray(e)&&Array.isArray(l)?t(e,l):!1}function d(e){return e.kind==="get"||e.kind==="set"}return pi={meta:{type:"suggestion",defaultOptions:["anyOrder",{enforceForTSTypes:!1}],docs:{description:"Require grouped accessor pairs in object literals and classes",recommended:!1,url:"https://eslint.org/docs/latest/rules/grouped-accessor-pairs"},schema:[{enum:["anyOrder","getBeforeSet","setBeforeGet"]},{type:"object",properties:{enforceForTSTypes:{type:"boolean"}},additionalProperties:!1}],messages:{notGrouped:"Accessor pair {{ formerName }} and {{ latterName }} should be grouped.",invalidOrder:"Expected {{ latterName }} to be before {{ formerName }}."}},create(e){const[l,{enforceForTSTypes:f}]=e.options,{sourceCode:o}=e;function r(s,a,c){e.report({node:c,messageId:s,loc:m.getFunctionHeadLoc(c.type!=="TSMethodSignature"?c.value:c,o),data:{formerName:m.getFunctionNameWithKind(a.type!=="TSMethodSignature"?a.value:a),latterName:m.getFunctionNameWithKind(c.type!=="TSMethodSignature"?c.value:c)}})}function u(s,a){const c=[];let n=!1;for(let i=0;i<s.length;i++){const h=s[i];if(a(h)&&d(h)){const g=m.getStaticPropertyName(h),v=g!==null?g:o.getTokens(h.key);for(let S=0;S<c.length;S++){const b=c[S];if(p(b.key,v)){b.getters.push(...h.kind==="get"?[h]:[]),b.setters.push(...h.kind==="set"?[h]:[]),n=!0;break}}n||c.push({key:v,getters:h.kind==="get"?[h]:[],setters:h.kind==="set"?[h]:[]}),n=!1}}for(const{getters:i,setters:h}of c)if(i.length===1&&h.length===1){const[g]=i,[v]=h,S=s.indexOf(g),b=s.indexOf(v),T=S<b?g:v,x=S<b?v:g;Math.abs(S-b)>1?r("notGrouped",T,x):(l==="getBeforeSet"&&S>b||l==="setBeforeGet"&&S<b)&&r("invalidOrder",T,x)}}return{ObjectExpression(s){u(s.properties,a=>a.type==="Property")},ClassBody(s){u(s.body,a=>a.type==="MethodDefinition"&&!a.static),u(s.body,a=>a.type==="MethodDefinition"&&a.static)},"TSTypeLiteral, TSInterfaceBody"(s){f&&u(s.type==="TSTypeLiteral"?s.members:s.body,a=>a.type==="TSMethodSignature")}}}},pi}var di,wh;function a1(){return wh||(wh=1,di={meta:{type:"suggestion",docs:{description:"Require `for-in` loops to include an `if` statement",recommended:!1,url:"https://eslint.org/docs/latest/rules/guard-for-in"},schema:[],messages:{wrap:"The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype."}},create(m){return{ForInStatement(t){const p=t.body;if(p.type!=="EmptyStatement"&&p.type!=="IfStatement"&&!(p.type==="BlockStatement"&&p.body.length===0)&&!(p.type==="BlockStatement"&&p.body.length===1&&p.body[0].type==="IfStatement")){if(p.type==="BlockStatement"&&p.body.length>=1&&p.body[0].type==="IfStatement"){const d=p.body[0];if(d.consequent.type==="ContinueStatement"||d.consequent.type==="BlockStatement"&&d.consequent.body.length===1&&d.consequent.body[0].type==="ContinueStatement")return}m.report({node:t,messageId:"wrap"})}}}}}),di}var mi,Th;function i1(){return Th||(Th=1,mi={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"handle-callback-err",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/handle-callback-err.md"}}]},type:"suggestion",docs:{description:"Require error handling in callbacks",recommended:!1,url:"https://eslint.org/docs/latest/rules/handle-callback-err"},schema:[{type:"string"}],messages:{expected:"Expected error to be handled."}},create(m){const t=m.options[0]||"err",p=m.sourceCode;function d(o){return o[0]==="^"}function e(o){return d(t)?new RegExp(t,"u").test(o):o===t}function l(o){return o.variables.filter(r=>r.defs[0]&&r.defs[0].type==="Parameter")}function f(o){const r=p.getScope(o),u=l(r),s=u[0];s&&e(s.name)&&s.references.length===0&&m.report({node:o,messageId:"expected"})}return{FunctionDeclaration:f,FunctionExpression:f,ArrowFunctionExpression:f}}}),mi}var hi,kh;function o1(){if(kh)return hi;kh=1;function m(e){const l=e.parent;return l.type==="AssignmentExpression"&&l.left===e||l.type==="ArrayPattern"||l.type==="RestElement"||l.type==="Property"&&l.value===e&&l.parent.type==="ObjectPattern"||l.type==="AssignmentPattern"&&l.left===e}function t(e){const l=e.parent;return l.type==="ImportSpecifier"&&l.imported!==l.local&&l.imported===e||l.type==="ExportSpecifier"&&l.parent.source&&l.local!==l.exported&&l.local===e}function p(e){const l=e.parent;return!l.computed&&l.type==="Property"&&l.parent.type==="ObjectPattern"&&l.value!==e&&l.key===e}function d(e){const l=e.parent;return l.type==="Property"&&l.parent.type==="ObjectExpression"&&l.shorthand}return hi={meta:{deprecated:{message:"The rule was renamed.",url:"https://eslint.org/blog/2020/07/eslint-v7.5.0-released/#deprecating-id-blacklist",deprecatedSince:"7.5.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"id-denylist",url:"https://eslint.org/docs/rules/id-denylist"}}]},type:"suggestion",docs:{description:"Disallow specified identifiers",recommended:!1,url:"https://eslint.org/docs/latest/rules/id-blacklist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted."}},create(e){const l=new Set(e.options),f=new Set,o=e.sourceCode;let r;function u(n){return l.has(n)}function s(n){const i=r.set.get(n.name);return i&&i.defs.length===0&&i.references.some(h=>h.identifier===n)}function a(n){const i=n.parent;return i.type==="MemberExpression"&&i.property===n&&!i.computed?m(i):i.type!=="CallExpression"&&i.type!=="NewExpression"&&!t(n)&&!p(n)&&!(s(n)&&!d(n))}function c(n){f.has(n.range.toString())||(e.report({node:n,messageId:"restricted",data:{name:n.name}}),f.add(n.range.toString()))}return{Program(n){r=o.getScope(n)},Identifier(n){u(n.name)&&a(n)&&c(n)}}}},hi}var gi,Dh;function l1(){if(Dh)return gi;Dh=1;const m=Le();function t(e){const l=e.parent;return l.type==="AssignmentExpression"&&l.left===e||l.type==="ArrayPattern"||l.type==="RestElement"||l.type==="Property"&&l.value===e&&l.parent.type==="ObjectPattern"||l.type==="AssignmentPattern"&&l.left===e}function p(e){const l=e.parent;return l.type==="ImportSpecifier"&&l.imported!==l.local&&l.imported===e||l.type==="ExportSpecifier"&&l.parent.source&&l.local!==l.exported&&l.local===e}function d(e){const l=e.parent;return!l.computed&&l.type==="Property"&&l.parent.type==="ObjectPattern"&&l.key===e}return gi={meta:{type:"suggestion",defaultOptions:[],docs:{description:"Disallow specified identifiers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-denylist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted.",restrictedPrivate:"Identifier '#{{name}}' is restricted."}},create(e){const l=new Set(e.options),f=new Set,o=e.sourceCode;let r;function u(n){return l.has(n)}function s(n){const i=r.set.get(n.name);return i&&i.defs.length===0&&i.references.some(h=>h.identifier===n)}function a(n){if(m.isImportAttributeKey(n))return!1;const i=n.parent;return i.type==="MemberExpression"&&i.property===n&&!i.computed?t(i):i.type!=="CallExpression"&&i.type!=="NewExpression"&&!p(n)&&!d(n)&&!s(n)}function c(n){if(!f.has(n.range.toString())){const i=n.type==="PrivateIdentifier";e.report({node:n,messageId:i?"restrictedPrivate":"restricted",data:{name:n.name}}),f.add(n.range.toString())}}return{Program(n){r=o.getScope(n)},[["Identifier","PrivateIdentifier"]](n){u(n.name)&&a(n)&&c(n)}}}},gi}var yi,Ih;function u1(){if(Ih)return yi;Ih=1;const{getGraphemeCount:m}=yr(),{getModuleExportName:t,isImportAttributeKey:p}=Le();return yi={meta:{type:"suggestion",defaultOptions:[{exceptionPatterns:[],exceptions:[],min:2,properties:"always"}],docs:{description:"Enforce minimum and maximum identifier lengths",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-length"},schema:[{type:"object",properties:{min:{type:"integer"},max:{type:"integer"},exceptions:{type:"array",uniqueItems:!0,items:{type:"string"}},exceptionPatterns:{type:"array",uniqueItems:!0,items:{type:"string"}},properties:{enum:["always","never"]}},additionalProperties:!1}],messages:{tooShort:"Identifier name '{{name}}' is too short (< {{min}}).",tooShortPrivate:"Identifier name '#{{name}}' is too short (< {{min}}).",tooLong:"Identifier name '{{name}}' is too long (> {{max}}).",tooLongPrivate:"Identifier name #'{{name}}' is too long (> {{max}})."}},create(d){const[e]=d.options,{max:l=1/0,min:f}=e,o=e.properties!=="never",r=new Set(e.exceptions),u=e.exceptionPatterns.map(n=>new RegExp(n,"u")),s=new Set;function a(n){return u.some(i=>i.test(n))}const c={MemberExpression:o&&function(n){return!n.computed&&(n.parent.left===n&&n.parent.type==="AssignmentExpression"||n.parent.type==="Property"&&n.parent.value===n&&n.parent.parent.type==="ObjectPattern"&&n.parent.parent.parent.left===n.parent.parent)},AssignmentPattern(n,i){return n.left===i},VariableDeclarator(n,i){return n.id===i},Property(n,i){if(n.parent.type==="ObjectPattern"){const h=n.value.name===n.key.name;return!h&&n.value===i||h&&n.key===i&&o}return o&&!p(i)&&!n.computed&&n.key.name===i.name},ImportSpecifier(n,i){return n.local===i&&t(n.imported)!==t(n.local)},ImportDefaultSpecifier:!0,ImportNamespaceSpecifier:!0,RestElement:!0,FunctionExpression:!0,ArrowFunctionExpression:!0,ClassDeclaration:!0,FunctionDeclaration:!0,MethodDefinition:!0,PropertyDefinition:!0,CatchClause:!0,ArrayPattern:!0};return{[["Identifier","PrivateIdentifier"]](n){const i=n.name,h=n.parent,g=m(i),v=g<f,S=g>l;if(!(v||S)||r.has(i)||a(i))return;const b=c[h.type];if(b&&!s.has(n.range.toString())&&(b===!0||b(h,n))){s.add(n.range.toString());let T=v?"tooShort":"tooLong";n.type==="PrivateIdentifier"&&(T+="Private"),d.report({node:n,messageId:T,data:{name:i,min:f,max:l}})}}}}},yi}var vi,Ph;function c1(){if(Ph)return vi;Ph=1;const m=Le();return vi={meta:{type:"suggestion",defaultOptions:["^.+$",{classFields:!1,ignoreDestructuring:!1,onlyDeclarations:!1,properties:!1}],docs:{description:"Require identifiers to match a specified regular expression",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-match"},schema:[{type:"string"},{type:"object",properties:{properties:{type:"boolean"},classFields:{type:"boolean"},onlyDeclarations:{type:"boolean"},ignoreDestructuring:{type:"boolean"}},additionalProperties:!1}],messages:{notMatch:"Identifier '{{name}}' does not match the pattern '{{pattern}}'.",notMatchPrivate:"Identifier '#{{name}}' does not match the pattern '{{pattern}}'."}},create(t){const[p,{classFields:d,ignoreDestructuring:e,onlyDeclarations:l,properties:f}]=t.options,o=new RegExp(p,"u"),r=t.sourceCode;let u;const s=new Set,a=new Set(["CallExpression","NewExpression"]),c=new Set(["FunctionDeclaration","VariableDeclarator"]),n=new Set(["ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier"]);function i(b){const T=u.set.get(b.name);return T&&T.defs.length===0&&T.references.some(x=>x.identifier===b)}function h(b){return!o.test(b)}function g(b){let{parent:T}=b;for(;T;){if(T.type==="ObjectPattern")return!0;T=T.parent}return!1}function v(b,T){return(!l||c.has(b.type))&&!a.has(b.type)&&h(T)}function S(b){if(!s.has(b.range.toString())){const T=b.type==="PrivateIdentifier"?"notMatchPrivate":"notMatch";t.report({node:b,messageId:T,data:{name:b.name,pattern:p}}),s.add(b.range.toString())}}return{Program(b){u=r.getScope(b)},Identifier(b){const T=b.name,x=b.parent,E=x.type==="MemberExpression"?x.parent:x;if(!(i(b)||m.isImportAttributeKey(b)))if(x.type==="MemberExpression"){if(!f)return;x.object.type==="Identifier"&&x.object.name===T||E.type==="AssignmentExpression"&&E.left.type==="MemberExpression"&&E.left.property.name===b.name?h(T)&&S(b):E.type==="AssignmentExpression"&&E.right.type!=="MemberExpression"&&h(T)&&S(b)}else if(x.type==="Property"&&x.parent.type==="ObjectExpression"&&x.key===b&&!x.computed)f&&h(T)&&S(b);else if(x.type==="Property"||x.type==="AssignmentPattern"){if(x.parent&&x.parent.type==="ObjectPattern"){!e&&x.shorthand&&x.value.left&&h(T)&&S(b);const A=x.key.name===x.value.name;if(!A&&x.key===b)return;x.value.name&&h(T)&&!(A&&e)&&S(b)}if(!f&&!x.computed||e&&g(b))return;x.right!==b&&v(E,T)&&S(b)}else n.has(x.type)?x.local&&x.local.name===b.name&&h(T)&&S(b):x.type==="PropertyDefinition"?d&&h(T)&&S(b):v(E,T)&&S(b)},PrivateIdentifier(b){b.parent.type==="PropertyDefinition"&&!d||h(b.name)&&S(b)}}}},vi}var Ei,Fh;function f1(){if(Fh)return Ei;Fh=1;const{isCommentToken:m,isNotOpeningParenToken:t}=Le();return Ei={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"implicit-arrow-linebreak",url:"https://eslint.style/rules/implicit-arrow-linebreak"}}]},type:"layout",docs:{description:"Enforce the location of arrow function bodies",recommended:!1,url:"https://eslint.org/docs/latest/rules/implicit-arrow-linebreak"},fixable:"whitespace",schema:[{enum:["beside","below"]}],messages:{expected:"Expected a linebreak before this expression.",unexpected:"Expected no linebreak before this expression."}},create(p){const d=p.sourceCode,e=p.options[0]||"beside";function l(f){if(f.body.type==="BlockStatement")return;const o=d.getTokenBefore(f.body,t),r=d.getTokenAfter(o);o.loc.end.line===r.loc.start.line&&e==="below"?p.report({node:r,messageId:"expected",fix:u=>u.insertTextBefore(r,`
58
- `)}):o.loc.end.line!==r.loc.start.line&&e==="beside"&&p.report({node:r,messageId:"unexpected",fix(u){return d.getFirstTokenBetween(o,r,{includeComments:!0,filter:m})?null:u.replaceTextRange([o.range[1],r.range[0]]," ")}})}return{ArrowFunctionExpression:f=>l(f)}}},Ei}var Si,Rh;function p1(){if(Rh)return Si;Rh=1;const m=Le(),t=new Set(["AssignmentExpression","AssignmentPattern","ArrayExpression","ArrayPattern","ArrowFunctionExpression","AwaitExpression","BlockStatement","BinaryExpression","BreakStatement","CallExpression","CatchClause","ChainExpression","ClassBody","ClassDeclaration","ClassExpression","ConditionalExpression","ContinueStatement","DoWhileStatement","DebuggerStatement","EmptyStatement","ExperimentalRestProperty","ExperimentalSpreadProperty","ExpressionStatement","ForStatement","ForInStatement","ForOfStatement","FunctionDeclaration","FunctionExpression","Identifier","IfStatement","Literal","LabeledStatement","LogicalExpression","MemberExpression","MetaProperty","MethodDefinition","NewExpression","ObjectExpression","ObjectPattern","PrivateIdentifier","Program","Property","PropertyDefinition","RestElement","ReturnStatement","SequenceExpression","SpreadElement","StaticBlock","Super","SwitchCase","SwitchStatement","TaggedTemplateExpression","TemplateElement","TemplateLiteral","ThisExpression","ThrowStatement","TryStatement","UnaryExpression","UpdateExpression","VariableDeclaration","VariableDeclarator","WhileStatement","WithStatement","YieldExpression","JSXFragment","JSXOpeningFragment","JSXClosingFragment","JSXIdentifier","JSXNamespacedName","JSXMemberExpression","JSXEmptyExpression","JSXExpressionContainer","JSXElement","JSXClosingElement","JSXOpeningElement","JSXAttribute","JSXSpreadAttribute","JSXText","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","ExportSpecifier","ImportDeclaration","ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier","ImportExpression"]);class p{constructor(o){this._values=Array(o+1)}insert(o,r){this._values[o]=r}findLastNotAfter(o){const r=this._values;for(let u=o;u>=0;u--){const s=r[u];if(s)return s}}deleteRange(o,r){this._values.fill(void 0,o,r)}}class d{constructor(o){this.sourceCode=o,this.firstTokensByLineNumber=new Map;const r=o.tokensAndComments;for(let u=0;u<r.length;u++){const s=r[u];this.firstTokensByLineNumber.has(s.loc.start.line)||this.firstTokensByLineNumber.set(s.loc.start.line,s),!this.firstTokensByLineNumber.has(s.loc.end.line)&&o.text.slice(s.range[1]-s.loc.end.column,s.range[1]).trim()&&this.firstTokensByLineNumber.set(s.loc.end.line,s)}}getFirstTokenOfLine(o){return this.firstTokensByLineNumber.get(o.loc.start.line)}isFirstTokenOfLine(o){return this.getFirstTokenOfLine(o)===o}getTokenIndent(o){return this.sourceCode.text.slice(o.range[0]-o.loc.start.column,o.range[0])}}class e{constructor(o,r,u,s){this._tokenInfo=o,this._indentSize=r,this._indentType=u,this._indexMap=new p(s),this._indexMap.insert(0,{offset:0,from:null,force:!1}),this._lockedFirstTokens=new WeakMap,this._desiredIndentCache=new WeakMap,this._ignoredTokens=new WeakSet}_getOffsetDescriptor(o){return this._indexMap.findLastNotAfter(o.range[0])}matchOffsetOf(o,r){this._lockedFirstTokens.set(r,o)}setDesiredOffset(o,r,u){return this.setDesiredOffsets(o.range,r,u)}setDesiredOffsets(o,r,u,s){const a={offset:u,from:r,force:s},c=this._indexMap.findLastNotAfter(o[1]),n=r&&r.range[0]>=o[0]&&r.range[1]<=o[1],i=n&&this._getOffsetDescriptor(r);this._indexMap.deleteRange(o[0]+1,o[1]),this._indexMap.insert(o[0],a),n&&(this._indexMap.insert(r.range[0],i),this._indexMap.insert(r.range[1],a)),this._indexMap.insert(o[1],c)}getDesiredIndent(o){if(!this._desiredIndentCache.has(o))if(this._ignoredTokens.has(o))this._desiredIndentCache.set(o,this._tokenInfo.getTokenIndent(o));else if(this._lockedFirstTokens.has(o)){const r=this._lockedFirstTokens.get(o);this._desiredIndentCache.set(o,this.getDesiredIndent(this._tokenInfo.getFirstTokenOfLine(r))+this._indentType.repeat(r.loc.start.column-this._tokenInfo.getFirstTokenOfLine(r).loc.start.column))}else{const r=this._getOffsetDescriptor(o),u=r.from&&r.from.loc.start.line===o.loc.start.line&&!/^\s*?\n/u.test(o.value)&&!r.force?0:r.offset*this._indentSize;this._desiredIndentCache.set(o,(r.from?this.getDesiredIndent(r.from):"")+this._indentType.repeat(u))}return this._desiredIndentCache.get(o)}ignoreToken(o){this._tokenInfo.isFirstTokenOfLine(o)&&this._ignoredTokens.add(o)}getFirstDependency(o){return this._getOffsetDescriptor(o).from}}const l={oneOf:[{type:"integer",minimum:0},{enum:["first","off"]}]};return Si={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"indent",url:"https://eslint.style/rules/indent"}}]},type:"layout",docs:{description:"Enforce consistent indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/indent"},fixable:"whitespace",schema:[{oneOf:[{enum:["tab"]},{type:"integer",minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0,default:0},VariableDeclarator:{oneOf:[l,{type:"object",properties:{var:l,let:l,const:l},additionalProperties:!1}]},outerIIFEBody:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},MemberExpression:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},FunctionDeclaration:{type:"object",properties:{parameters:l,body:{type:"integer",minimum:0}},additionalProperties:!1},FunctionExpression:{type:"object",properties:{parameters:l,body:{type:"integer",minimum:0}},additionalProperties:!1},StaticBlock:{type:"object",properties:{body:{type:"integer",minimum:0}},additionalProperties:!1},CallExpression:{type:"object",properties:{arguments:l},additionalProperties:!1},ArrayExpression:l,ObjectExpression:l,ImportDeclaration:l,flatTernaryExpressions:{type:"boolean",default:!1},offsetTernaryExpressions:{type:"boolean",default:!1},ignoredNodes:{type:"array",items:{type:"string",not:{pattern:":exit$"}}},ignoreComments:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{wrongIndentation:"Expected indentation of {{expected}} but found {{actual}}."}},create(f){let s="space",a=4;const c={SwitchCase:0,VariableDeclarator:{var:1,let:1,const:1},outerIIFEBody:1,FunctionDeclaration:{parameters:1,body:1},FunctionExpression:{parameters:1,body:1},StaticBlock:{body:1},CallExpression:{arguments:1},MemberExpression:1,ArrayExpression:1,ObjectExpression:1,ImportDeclaration:1,flatTernaryExpressions:!1,ignoredNodes:[],ignoreComments:!1};f.options.length&&(f.options[0]==="tab"?(a=1,s="tab"):(a=f.options[0],s="space"),f.options[1]&&(Object.assign(c,f.options[1]),(typeof c.VariableDeclarator=="number"||c.VariableDeclarator==="first")&&(c.VariableDeclarator={var:c.VariableDeclarator,let:c.VariableDeclarator,const:c.VariableDeclarator})));const n=f.sourceCode,i=new d(n),h=new e(i,a,s==="space"?" ":" ",n.text.length),g=new WeakSet;function v(L,K,J){const ge=`${L} ${s}${L===1?"":"s"}`,ae=`space${K===1?"":"s"}`,ke=`tab${J===1?"":"s"}`;let Z;return K>0?Z=s==="space"?K:`${K} ${ae}`:J>0?Z=s==="tab"?J:`${J} ${ke}`:Z="0",{expected:ge,actual:Z}}function S(L,K){const J=Array.from(i.getTokenIndent(L)),ge=J.filter(ke=>ke===" ").length,ae=J.filter(ke=>ke===" ").length;f.report({node:L,messageId:"wrongIndentation",data:v(K.length,ge,ae),loc:{start:{line:L.loc.start.line,column:0},end:{line:L.loc.start.line,column:L.loc.start.column}},fix(ke){const Z=[L.range[0]-L.loc.start.column,L.range[0]],I=K;return ke.replaceTextRange(Z,I)}})}function b(L,K){const J=i.getTokenIndent(L);return J===K||J.includes(" ")&&J.includes(" ")}function T(L){if(!L.parent||L.parent.type!=="CallExpression"||L.parent.callee!==L)return!1;let K=L.parent&&L.parent.parent;for(;K.type==="UnaryExpression"&&["!","~","+","-"].includes(K.operator)||K.type==="AssignmentExpression"||K.type==="LogicalExpression"||K.type==="SequenceExpression"||K.type==="VariableDeclarator";)K=K.parent;return(K.type==="ExpressionStatement"||K.type==="VariableDeclaration")&&K.parent.type==="Program"}function x(L){const J=L.match(/\s*$/u)[0].match(m.createGlobalLinebreakMatcher());return J===null?0:J.length}function E(L,K,J,ge){function ae(ke){let Z=n.getTokenBefore(ke);for(;m.isOpeningParenToken(Z)&&Z!==K;)Z=n.getTokenBefore(Z);return n.getTokenAfter(Z)}h.setDesiredOffsets([K.range[1],J.range[0]],K,typeof ge=="number"?ge:1),h.setDesiredOffset(J,K,0),!(ge==="first"&&L.length&&!L[0])&&L.forEach((ke,Z)=>{if(ke&&(ge==="off"&&h.ignoreToken(ae(ke)),Z!==0))if(ge==="first"&&i.isFirstTokenOfLine(ae(ke)))h.matchOffsetOf(ae(L[0]),ae(ke));else{const I=L[Z-1],H=I&&ae(I),fe=I&&n.getLastToken(I);I&&fe.loc.end.line-x(fe.value)>K.loc.end.line&&h.setDesiredOffsets([I.range[1],ke.range[1]],H,0)}})}function A(L){if(L.type!=="BlockStatement"){const K=n.getTokenBefore(L,m.isNotOpeningParenToken);let J=n.getFirstToken(L),ge=n.getLastToken(L);for(;m.isOpeningParenToken(n.getTokenBefore(J))&&m.isClosingParenToken(n.getTokenAfter(ge));)J=n.getTokenBefore(J),ge=n.getTokenAfter(ge);h.setDesiredOffsets([J.range[0],ge.range[1]],K,1)}}function C(L){let K;L.arguments.length?K=n.getFirstTokenBetween(L.callee,L.arguments[0],m.isOpeningParenToken):K=n.getLastToken(L,1);const J=n.getLastToken(L);if(g.add(K),g.add(J),L.optional){const ke=n.getTokenAfter(L.callee,m.isQuestionDotToken),Z=n.getTokensBetween(L.callee,ke,{filter:m.isClosingParenToken}).length,I=Z?n.getTokenBefore(L.callee,{skip:Z-1}):n.getFirstToken(L.callee),H=n.getTokenBefore(ke),fe=H.loc.end.line===K.loc.start.line?H:I;h.setDesiredOffset(ke,fe,1)}const ge=L.callee.type==="TaggedTemplateExpression"?n.getFirstToken(L.callee.quasi):K,ae=n.getTokenBefore(ge);h.setDesiredOffset(K,ae,0),E(L.arguments,K,J,c.CallExpression.arguments)}function w(L){const K=[],J=[];for(let ge=0;ge<L.length;ge++){const ae=L[ge];m.isOpeningParenToken(ae)?K.push(ae):m.isClosingParenToken(ae)&&J.push({left:K.pop(),right:ae})}for(let ge=J.length-1;ge>=0;ge--){const ae=J[ge].left,ke=J[ge].right;if(!g.has(ae)&&!g.has(ke)){const Z=new Set(n.getTokensBetween(ae,ke));Z.forEach(I=>{Z.has(h.getFirstDependency(I))||h.setDesiredOffset(I,ae,1)})}h.setDesiredOffset(ke,ae,0)}}function k(L){const K=new Set(n.getTokens(L,{includeComments:!0}));K.forEach(J=>{if(!K.has(h.getFirstDependency(J))){const ge=i.getFirstTokenOfLine(J);J===ge?h.ignoreToken(J):h.setDesiredOffset(J,ge,0)}})}function R(L,K){let J=K;for(;J.parent&&!J.parent.type.endsWith("Statement")&&!J.parent.type.endsWith("Declaration");)J=J.parent;return J=J.parent,!J||J.loc.start.line===L.loc.start.line}function P(L,K){const J=L.loc.end.line,ge=K.loc.start.line;if(J===ge||J===ge-1)return!1;for(let ae=J+1;ae<ge;++ae)if(!i.firstTokensByLineNumber.has(ae))return!0;return!1}const B=new Set,F={"ArrayExpression, ArrayPattern"(L){const K=n.getFirstToken(L),J=n.getTokenAfter([...L.elements].reverse().find(ge=>ge)||K,m.isClosingBracketToken);E(L.elements,K,J,c.ArrayExpression)},"ObjectExpression, ObjectPattern"(L){const K=n.getFirstToken(L),J=n.getTokenAfter(L.properties.length?L.properties.at(-1):K,m.isClosingBraceToken);E(L.properties,K,J,c.ObjectExpression)},ArrowFunctionExpression(L){const K=n.getFirstToken(L,{skip:L.async?1:0});if(m.isOpeningParenToken(K)){const J=K,ge=n.getTokenBefore(L.body,m.isClosingParenToken);g.add(J),g.add(ge),E(L.params,J,ge,c.FunctionExpression.parameters)}A(L.body)},AssignmentExpression(L){const K=n.getFirstTokenBetween(L.left,L.right,J=>J.value===L.operator);h.setDesiredOffsets([K.range[0],L.range[1]],n.getLastToken(L.left),1),h.ignoreToken(K),h.ignoreToken(n.getTokenAfter(K))},"BinaryExpression, LogicalExpression"(L){const K=n.getFirstTokenBetween(L.left,L.right,ge=>ge.value===L.operator),J=n.getTokenAfter(K);h.ignoreToken(K),h.ignoreToken(J),h.setDesiredOffset(J,K,0)},"BlockStatement, ClassBody"(L){let K;L.parent&&T(L.parent)?K=c.outerIIFEBody:L.parent&&(L.parent.type==="FunctionExpression"||L.parent.type==="ArrowFunctionExpression")?K=c.FunctionExpression.body:L.parent&&L.parent.type==="FunctionDeclaration"?K=c.FunctionDeclaration.body:K=1,m.STATEMENT_LIST_PARENTS.has(L.parent.type)||h.setDesiredOffset(n.getFirstToken(L),n.getFirstToken(L.parent),0),E(L.body,n.getFirstToken(L),n.getLastToken(L),K)},CallExpression:C,"ClassDeclaration[superClass], ClassExpression[superClass]"(L){const K=n.getFirstToken(L),J=n.getTokenBefore(L.superClass,m.isNotOpeningParenToken);h.setDesiredOffsets([J.range[0],L.body.range[0]],K,1)},ConditionalExpression(L){const K=n.getFirstToken(L);if(!c.flatTernaryExpressions||!m.isTokenOnSameLine(L.test,L.consequent)||R(K,L)){const J=n.getFirstTokenBetween(L.test,L.consequent,I=>I.type==="Punctuator"&&I.value==="?"),ge=n.getFirstTokenBetween(L.consequent,L.alternate,I=>I.type==="Punctuator"&&I.value===":"),ae=n.getTokenAfter(J),ke=n.getTokenBefore(ge),Z=n.getTokenAfter(ge);h.setDesiredOffset(J,K,1),h.setDesiredOffset(ge,K,1),h.setDesiredOffset(ae,K,ae.type==="Punctuator"&&c.offsetTernaryExpressions?2:1),ke.loc.end.line===Z.loc.start.line?h.setDesiredOffset(Z,ae,0):h.setDesiredOffset(Z,K,Z.type==="Punctuator"&&c.offsetTernaryExpressions?2:1)}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement, WithStatement":L=>A(L.body),ExportNamedDeclaration(L){if(L.declaration===null){const K=n.getLastToken(L,m.isClosingBraceToken);E(L.specifiers,n.getFirstToken(L,{skip:1}),K,1),L.source&&h.setDesiredOffsets([K.range[1],L.range[1]],n.getFirstToken(L),1)}},ForStatement(L){const K=n.getFirstToken(L,1);L.init&&h.setDesiredOffsets(L.init.range,K,1),L.test&&h.setDesiredOffsets(L.test.range,K,1),L.update&&h.setDesiredOffsets(L.update.range,K,1),A(L.body)},"FunctionDeclaration, FunctionExpression"(L){const K=n.getTokenBefore(L.body),J=n.getTokenBefore(L.params.length?L.params[0]:K);g.add(J),g.add(K),E(L.params,J,K,c[L.type].parameters)},IfStatement(L){A(L.consequent),L.alternate&&A(L.alternate)},":matches(DoWhileStatement, ForStatement, ForInStatement, ForOfStatement, IfStatement, WhileStatement, WithStatement):exit"(L){let K;L.type==="IfStatement"?(K=[L.consequent],L.alternate&&K.push(L.alternate)):K=[L.body];for(const J of K){const ge=n.getLastToken(J);if(m.isSemicolonToken(ge)){const ae=n.getTokenBefore(ge),ke=n.getTokenAfter(ge);!m.isTokenOnSameLine(ae,ge)&&ke&&m.isTokenOnSameLine(ge,ke)&&h.setDesiredOffset(ge,n.getFirstToken(L),0)}}},ImportDeclaration(L){if(L.specifiers.some(ae=>ae.type==="ImportSpecifier")){const ae=n.getFirstToken(L,m.isOpeningBraceToken),ke=n.getLastToken(L,m.isClosingBraceToken);E(L.specifiers.filter(Z=>Z.type==="ImportSpecifier"),ae,ke,c.ImportDeclaration)}const K=n.getLastToken(L,ae=>ae.type==="Identifier"&&ae.value==="from"),J=n.getLastToken(L,ae=>ae.type==="String"),ge=n.getLastToken(L,ae=>ae.type==="Punctuator"&&ae.value===";");if(K){const ae=ge&&ge.range[1]===J.range[1]?L.range[1]:J.range[1];h.setDesiredOffsets([K.range[0],ae],n.getFirstToken(L),1)}},ImportExpression(L){const K=n.getFirstToken(L,1),J=n.getLastToken(L);g.add(K),g.add(J),h.setDesiredOffset(K,n.getTokenBefore(K),0),E([L.source],K,J,c.CallExpression.arguments)},"MemberExpression, JSXMemberExpression, MetaProperty"(L){const K=L.type==="MetaProperty"?L.meta:L.object,J=n.getFirstTokenBetween(K,L.property,m.isNotClosingParenToken),ge=n.getTokenAfter(J),ae=n.getTokensBetween(K,L.property,{filter:m.isClosingParenToken}).length,ke=ae?n.getTokenBefore(K,{skip:ae-1}):n.getFirstToken(K),Z=n.getTokenBefore(J),I=L.computed?J:ge;L.computed&&(h.setDesiredOffset(n.getLastToken(L),J,0),h.setDesiredOffsets(L.property.range,J,1));const H=Z.loc.end.line===I.loc.start.line?Z:ke;typeof c.MemberExpression=="number"?(h.setDesiredOffset(J,H,c.MemberExpression),h.setDesiredOffset(ge,L.computed?J:H,c.MemberExpression)):(h.ignoreToken(J),h.ignoreToken(ge),h.setDesiredOffset(J,H,0),h.setDesiredOffset(ge,J,0))},NewExpression(L){(L.arguments.length>0||m.isClosingParenToken(n.getLastToken(L))&&m.isOpeningParenToken(n.getLastToken(L,1)))&&C(L)},Property(L){if(!L.shorthand&&!L.method&&L.kind==="init"){const K=n.getFirstTokenBetween(L.key,L.value,m.isColonToken);h.ignoreToken(n.getTokenAfter(K))}},PropertyDefinition(L){const K=n.getFirstToken(L),J=n.getLastToken(L);let ge;if(L.computed){const ae=n.getTokenBefore(L.key,m.isOpeningBracketToken),ke=ge=n.getTokenAfter(L.key,m.isClosingBracketToken),Z=[ae.range[1],ke.range[0]];ae!==K&&h.setDesiredOffset(ae,K,0),h.setDesiredOffsets(Z,ae,1),h.setDesiredOffset(ke,ae,0)}else{const ae=ge=n.getFirstToken(L.key);ae!==K&&h.setDesiredOffset(ae,K,1)}if(L.value){const ae=n.getTokenBefore(L.value,m.isEqToken),ke=n.getTokenAfter(ae);h.setDesiredOffset(ae,ge,1),h.setDesiredOffset(ke,ae,1),m.isSemicolonToken(J)&&h.setDesiredOffset(J,ae,1)}else m.isSemicolonToken(J)&&h.setDesiredOffset(J,ge,1)},StaticBlock(L){const K=n.getFirstToken(L,{skip:1}),J=n.getLastToken(L);E(L.body,K,J,c.StaticBlock.body)},SwitchStatement(L){const K=n.getTokenAfter(L.discriminant,m.isOpeningBraceToken),J=n.getLastToken(L);h.setDesiredOffsets([K.range[1],J.range[0]],K,c.SwitchCase),L.cases.length&&n.getTokensBetween(L.cases.at(-1),J,{includeComments:!0,filter:m.isCommentToken}).forEach(ge=>h.ignoreToken(ge))},SwitchCase(L){if(!(L.consequent.length===1&&L.consequent[0].type==="BlockStatement")){const K=n.getFirstToken(L),J=n.getTokenAfter(L);h.setDesiredOffsets([K.range[1],J.range[0]],K,1)}},TemplateLiteral(L){L.expressions.forEach((K,J)=>{const ge=L.quasis[J],ae=L.quasis[J+1],ke=ge.loc.start.line===ge.loc.end.line?n.getFirstToken(ge):null;h.setDesiredOffsets([ge.range[1],ae.range[0]],ke,1),h.setDesiredOffset(n.getFirstToken(ae),ke,0)})},VariableDeclaration(L){let K=Object.hasOwn(c.VariableDeclarator,L.kind)?c.VariableDeclarator[L.kind]:1;const J=n.getFirstToken(L),ge=n.getLastToken(L);if(c.VariableDeclarator[L.kind]==="first"){if(L.declarations.length>1){E(L.declarations,J,ge,"first");return}K=1}L.declarations.at(-1).loc.start.line>L.loc.start.line?h.setDesiredOffsets(L.range,J,K,!0):h.setDesiredOffsets(L.range,J,K),m.isSemicolonToken(ge)&&h.ignoreToken(ge)},VariableDeclarator(L){if(L.init){const K=n.getTokenBefore(L.init,m.isNotOpeningParenToken),J=n.getTokenAfter(K);h.ignoreToken(K),h.ignoreToken(J),h.setDesiredOffsets([J.range[0],L.range[1]],K,1),h.setDesiredOffset(K,n.getLastToken(L.id),0)}},"JSXAttribute[value]"(L){const K=n.getFirstTokenBetween(L.name,L.value,J=>J.type==="Punctuator"&&J.value==="=");h.setDesiredOffsets([K.range[0],L.value.range[1]],n.getFirstToken(L.name),1)},JSXElement(L){L.closingElement&&E(L.children,n.getFirstToken(L.openingElement),n.getFirstToken(L.closingElement),1)},JSXOpeningElement(L){const K=n.getFirstToken(L);let J;L.selfClosing?(J=n.getLastToken(L,{skip:1}),h.setDesiredOffset(n.getLastToken(L),J,0)):J=n.getLastToken(L),h.setDesiredOffsets(L.name.range,n.getFirstToken(L)),E(L.attributes,K,J,1)},JSXClosingElement(L){const K=n.getFirstToken(L);h.setDesiredOffsets(L.name.range,K,1)},JSXFragment(L){const K=n.getFirstToken(L.openingFragment),J=n.getFirstToken(L.closingFragment);E(L.children,K,J,1)},JSXOpeningFragment(L){const K=n.getFirstToken(L),J=n.getLastToken(L);h.setDesiredOffsets(L.range,K,1),h.matchOffsetOf(K,J)},JSXClosingFragment(L){const K=n.getFirstToken(L),J=n.getLastToken(L,{skip:1}),ge=n.getLastToken(L),ae=m.isTokenOnSameLine(J,ge)?J:ge;h.setDesiredOffsets(L.range,K,1),h.matchOffsetOf(K,ae)},JSXExpressionContainer(L){const K=n.getFirstToken(L),J=n.getLastToken(L);h.setDesiredOffsets([K.range[1],J.range[0]],K,1)},JSXSpreadAttribute(L){const K=n.getFirstToken(L),J=n.getLastToken(L);h.setDesiredOffsets([K.range[1],J.range[0]],K,1)},"*"(L){const K=n.getFirstToken(L);K&&!B.has(K)&&h.setDesiredOffsets(L.range,K,0)}},O=[],$={};for(const[L,K]of Object.entries(F))$[L]=J=>O.push({listener:K,node:J});const N=new Set;function _(L){N.add(L),B.add(n.getFirstToken(L))}const X=c.ignoredNodes.reduce((L,K)=>Object.assign(L,{[K]:_}),{});return Object.assign($,X,{"*:exit"(L){t.has(L.type)||_(L)},"Program:exit"(){c.ignoreComments&&n.getAllComments().forEach(K=>h.ignoreToken(K));for(let K=0;K<O.length;K++){const J=O[K];N.has(J.node)||J.listener(J.node)}N.forEach(k),w(n.ast.tokens);const L=new WeakMap;for(let K=0;K<n.ast.comments.length;K++){const J=n.ast.comments[K],ge=n.getTokenBefore(J,{includeComments:!0}),ae=L.has(ge)?L.get(ge):ge;L.set(J,ae)}for(let K=1;K<n.lines.length+1;K++){if(!i.firstTokensByLineNumber.has(K))continue;const J=i.firstTokensByLineNumber.get(K);if(J.loc.start.line===K){if(m.isCommentToken(J)){const ge=L.get(J),ae=ge?n.getTokenAfter(ge):n.ast.tokens[0],ke=ge&&!P(ge,J),Z=ae&&!P(J,ae);if(ae&&m.isSemicolonToken(ae)&&!m.isTokenOnSameLine(J,ae)&&h.setDesiredOffset(J,ae,0),ke&&b(J,h.getDesiredIndent(ge))||Z&&b(J,h.getDesiredIndent(ae)))continue}b(J,h.getDesiredIndent(J))||S(J,h.getDesiredIndent(J))}}}})}},Si}var bi,_h;function d1(){if(_h)return bi;_h=1;const m=Le();return bi={meta:{type:"layout",docs:{description:"Enforce consistent indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/indent-legacy"},deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"indent",url:"https://eslint.style/rules/indent"}}]},fixable:"whitespace",schema:[{oneOf:[{enum:["tab"]},{type:"integer",minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0},VariableDeclarator:{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{var:{type:"integer",minimum:0},let:{type:"integer",minimum:0},const:{type:"integer",minimum:0}}}]},outerIIFEBody:{type:"integer",minimum:0},MemberExpression:{type:"integer",minimum:0},FunctionDeclaration:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},body:{type:"integer",minimum:0}}},FunctionExpression:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},body:{type:"integer",minimum:0}}},CallExpression:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]}}},ArrayExpression:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},ObjectExpression:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]}},additionalProperties:!1}],messages:{expected:"Expected indentation of {{expected}} but found {{actual}}."}},create(t){let l="space",f=4;const o={SwitchCase:0,VariableDeclarator:{var:1,let:1,const:1},outerIIFEBody:null,FunctionDeclaration:{parameters:null,body:1},FunctionExpression:{parameters:null,body:1},CallExpression:{arguments:null},ArrayExpression:1,ObjectExpression:1},r=t.sourceCode;if(t.options.length&&(t.options[0]==="tab"?(f=1,l="tab"):typeof t.options[0]=="number"&&(f=t.options[0],l="space"),t.options[1])){const _=t.options[1];o.SwitchCase=_.SwitchCase||0;const X=_.VariableDeclarator;typeof X=="number"?o.VariableDeclarator={var:X,let:X,const:X}:typeof X=="object"&&Object.assign(o.VariableDeclarator,X),typeof _.outerIIFEBody=="number"&&(o.outerIIFEBody=_.outerIIFEBody),typeof _.MemberExpression=="number"&&(o.MemberExpression=_.MemberExpression),typeof _.FunctionDeclaration=="object"&&Object.assign(o.FunctionDeclaration,_.FunctionDeclaration),typeof _.FunctionExpression=="object"&&Object.assign(o.FunctionExpression,_.FunctionExpression),typeof _.CallExpression=="object"&&Object.assign(o.CallExpression,_.CallExpression),(typeof _.ArrayExpression=="number"||typeof _.ArrayExpression=="string")&&(o.ArrayExpression=_.ArrayExpression),(typeof _.ObjectExpression=="number"||typeof _.ObjectExpression=="string")&&(o.ObjectExpression=_.ObjectExpression)}const u={};function s(_,X,L){const K=`${_} ${l}${_===1?"":"s"}`,J=`space${X===1?"":"s"}`,ge=`tab${L===1?"":"s"}`;let ae;return X>0&&L>0?ae=`${X} ${J} and ${L} ${ge}`:X>0?ae=l==="space"?X:`${X} ${J}`:L>0?ae=l==="tab"?L:`${L} ${ge}`:ae="0",{expected:K,actual:ae}}function a(_,X,L,K,J,ge){if(L&&K)return;const ae=(l==="space"?" ":" ").repeat(X),ke=ge?[_.range[1]-_.loc.end.column,_.range[1]-_.loc.end.column+L+K]:[_.range[0]-_.loc.start.column,_.range[0]-_.loc.start.column+L+K];t.report({node:_,loc:J,messageId:"expected",data:s(X,L,K),fix:Z=>Z.replaceTextRange(ke,ae)})}function c(_,X){const L=X?r.getLastToken(_):r.getFirstToken(_),K=r.getText(L,L.loc.start.column).split(""),J=K.slice(0,K.findIndex(ke=>ke!==" "&&ke!==" ")),ge=J.filter(ke=>ke===" ").length,ae=J.filter(ke=>ke===" ").length;return{space:ge,tab:ae,goodChar:l==="space"?ge:ae,badChar:l==="space"?ae:ge}}function n(_,X){const L=X===!0?r.getLastToken(_,1):r.getTokenBefore(_),K=X===!0?_.loc.end.line:_.loc.start.line,J=L?L.loc.end.line:-1;return K!==J}function i(_,X){const L=c(_,!1);if(_.type!=="ArrayExpression"&&_.type!=="ObjectExpression"&&(L.goodChar!==X||L.badChar!==0)&&n(_)&&a(_,X,L.space,L.tab),_.type==="IfStatement"&&_.alternate){const K=r.getTokenBefore(_.alternate);i(K,X),n(_.alternate)||i(_.alternate,X)}if(_.type==="TryStatement"&&_.handler){const K=r.getFirstToken(_.handler);i(K,X)}if(_.type==="TryStatement"&&_.finalizer){const K=r.getTokenBefore(_.finalizer);i(K,X)}if(_.type==="DoWhileStatement"){const K=r.getTokenAfter(_.body);i(K,X)}}function h(_,X){_.forEach(L=>i(L,X))}function g(_,X){const L=r.getLastToken(_),K=c(L,!0);(K.goodChar!==X||K.badChar!==0)&&n(_,!0)&&a(_,X,K.space,K.tab,{line:L.loc.start.line,column:L.loc.start.column},!0)}function v(_,X){const L=r.getLastToken(_,m.isClosingParenToken);if(r.getText(L,L.loc.start.column).slice(0,-1).trim())return;const J=c(L,!0);J.goodChar!==X&&a(_,X,J.space,J.tab,{line:L.loc.start.line,column:L.loc.start.column},!0)}function S(_,X){const L=c(_,!1);(L.goodChar!==X||L.badChar!==0)&&n(_)&&a(_,X,L.space,L.tab,{line:_.loc.start.line,column:_.loc.start.column})}function b(_,X,L){let K=_.parent;const J=new Set(L||["Program"]);for(;K.type!==X&&!J.has(K.type)&&K.type!=="Program";)K=K.parent;return K.type===X?K:null}function T(_){return b(_,"VariableDeclarator")}function x(_,X){return X&&X.parent.loc.start.line===_.loc.start.line&&X.parent.declarations.length>1}function E(_){const X=_.parent;return X.arguments.length>=2&&X.arguments[1]===_?X.arguments[0].loc.end.line>X.arguments[0].loc.start.line:!1}function A(_){const X=_.parent;let L=X.parent;if(X.type!=="CallExpression"||X.callee!==_)return!1;for(;L.type==="UnaryExpression"&&(L.operator==="!"||L.operator==="~"||L.operator==="+"||L.operator==="-")||L.type==="AssignmentExpression"||L.type==="LogicalExpression"||L.type==="SequenceExpression"||L.type==="VariableDeclarator";)L=L.parent;return(L.type==="ExpressionStatement"||L.type==="VariableDeclaration")&&L.parent&&L.parent.type==="Program"}function C(_){const X=_.parent;let L;if(X.parent&&(X.parent.type==="Property"||X.parent.type==="ArrayExpression")?L=c(X,!1).goodChar:L=c(X).goodChar,X.parent.type==="CallExpression"){const ge=X.parent;X.type!=="FunctionExpression"&&X.type!=="ArrowFunctionExpression"?ge&&ge.loc.start.line<_.loc.start.line&&(L=c(ge).goodChar):E(X)&&ge.callee.loc.start.line===ge.callee.loc.end.line&&!n(X)&&(L=c(ge).goodChar)}let K=f;o.outerIIFEBody!==null&&A(X)?K=o.outerIIFEBody*f:X.type==="FunctionExpression"?K=o.FunctionExpression.body*f:X.type==="FunctionDeclaration"&&(K=o.FunctionDeclaration.body*f),L+=K;const J=T(_);J&&x(_,J)&&(L+=f*o.VariableDeclarator[J.parent.kind]),_.body.length>0&&h(_.body,L),g(_,L-K)}function w(_){const X=r.getLastToken(_),L=_.loc.start.line,K=X.loc.end.line;return L===K}function k(_){if(w(_))return;let X=_.type==="ArrayExpression"?_.elements:_.properties;X=X.filter(ge=>ge!==null);let L,K;const J=T(_);if(n(_)){const ge=_.parent;if(L=c(ge).goodChar,(!J||J.loc.start.line!==_.loc.start.line)&&(ge.type!=="VariableDeclarator"||J===J.parent.declarations[0]))if(ge.type==="VariableDeclarator"&&J.loc.start.line===ge.loc.start.line)L+=f*o.VariableDeclarator[J.parent.kind];else if(ge.type==="ObjectExpression"||ge.type==="ArrayExpression"){const ae=_.parent.type==="ObjectExpression"?_.parent.properties:_.parent.elements;ae[0]&&ae[0].loc.start.line===ge.loc.start.line&&ae[0].loc.end.line!==ge.loc.start.line||(typeof o[ge.type]=="number"?L+=o[ge.type]*f:L=ae[0].loc.start.column)}else ge.type==="CallExpression"||ge.type==="NewExpression"?typeof o.CallExpression.arguments=="number"?L+=o.CallExpression.arguments*f:o.CallExpression.arguments==="first"?ge.arguments.includes(_)&&(L=ge.arguments[0].loc.start.column):L+=f:(ge.type==="LogicalExpression"||ge.type==="ArrowFunctionExpression")&&(L+=f);S(_,L)}else L=c(_).goodChar;o[_.type]==="first"?K=X.length?X[0].loc.start.column:0:K=L+f*o[_.type],x(_,J)&&(K+=f*o.VariableDeclarator[J.parent.kind]),h(X,K),!(X.length>0&&X.at(-1).loc.end.line===_.loc.end.line)&&g(_,L+(x(_,J)?o.VariableDeclarator[J.parent.kind]*f:0))}function R(_){return _.type==="BlockStatement"||_.type==="ClassBody"||_.body&&_.body.type==="BlockStatement"||_.consequent&&_.consequent.type==="BlockStatement"}function P(_){if(w(_))return;if(_.parent&&(_.parent.type==="FunctionExpression"||_.parent.type==="FunctionDeclaration"||_.parent.type==="ArrowFunctionExpression")){C(_);return}let X,L;const K=["IfStatement","WhileStatement","ForStatement","ForInStatement","ForOfStatement","DoWhileStatement","ClassDeclaration","TryStatement"];_.parent&&K.includes(_.parent.type)&&R(_)?X=c(_.parent).goodChar:_.parent&&_.parent.type==="CatchClause"?X=c(_.parent.parent).goodChar:X=c(_).goodChar,_.type==="IfStatement"&&_.consequent.type!=="BlockStatement"?L=[_.consequent]:Array.isArray(_.body)?L=_.body:L=[_.body],L.length>0&&h(L,X+f),_.type==="BlockStatement"&&g(_,X)}function B(_){return _.declarations.reduce((X,L)=>{const K=X.at(-1);return(L.loc.start.line!==_.loc.start.line&&!K||K&&K.loc.start.line!==L.loc.start.line)&&X.push(L),X},[])}function F(_){const X=B(_),L=c(_).goodChar,K=X.at(-1),J=L+f*o.VariableDeclarator[_.kind];if(h(X,J),r.getLastToken(_).loc.end.line<=K.loc.end.line)return;const ge=r.getTokenBefore(K);ge.value===","?g(_,c(ge).goodChar):g(_,J-f)}function O(_){_.body.type!=="BlockStatement"&&P(_)}function $(_,X){const L=_.type==="SwitchStatement"?_:_.parent,K=typeof X>"u"?c(L).goodChar:X;let J;return u[L.loc.start.line]?u[L.loc.start.line]:(L.cases.length>0&&o.SwitchCase===0?J=K:J=K+f*o.SwitchCase,u[L.loc.start.line]=J,J)}function N(_){const X=/^return\s*\(\s*\)/u,L=r.getText(_).replace(r.getText(_.argument),"");return X.test(L)}return{Program(_){_.body.length>0&&h(_.body,c(_).goodChar)},ClassBody:P,BlockStatement:P,WhileStatement:O,ForStatement:O,ForInStatement:O,ForOfStatement:O,DoWhileStatement:O,IfStatement(_){_.consequent.type!=="BlockStatement"&&_.consequent.loc.start.line>_.loc.start.line&&P(_)},VariableDeclaration(_){_.declarations.at(-1).loc.start.line>_.declarations[0].loc.start.line&&F(_)},ObjectExpression(_){k(_)},ArrayExpression(_){k(_)},MemberExpression(_){if(typeof o.MemberExpression>"u"||w(_)||b(_,"VariableDeclarator",["FunctionExpression","ArrowFunctionExpression"])||b(_,"AssignmentExpression",["FunctionExpression"]))return;const X=c(_).goodChar+f*o.MemberExpression,L=[_.property],K=r.getTokenBefore(_.property);K.type==="Punctuator"&&K.value==="."&&L.push(K),h(L,X)},SwitchStatement(_){const X=c(_).goodChar,L=$(_,X);h(_.cases,L),g(_,X)},SwitchCase(_){if(w(_))return;const X=$(_);h(_.consequent,X+f)},FunctionDeclaration(_){w(_)||(o.FunctionDeclaration.parameters==="first"&&_.params.length?h(_.params.slice(1),_.params[0].loc.start.column):o.FunctionDeclaration.parameters!==null&&h(_.params,c(_).goodChar+f*o.FunctionDeclaration.parameters))},FunctionExpression(_){w(_)||(o.FunctionExpression.parameters==="first"&&_.params.length?h(_.params.slice(1),_.params[0].loc.start.column):o.FunctionExpression.parameters!==null&&h(_.params,c(_).goodChar+f*o.FunctionExpression.parameters))},ReturnStatement(_){if(w(_))return;const X=c(_).goodChar;N(_)?v(_,X):i(_,X)},CallExpression(_){w(_)||(o.CallExpression.arguments==="first"&&_.arguments.length?h(_.arguments.slice(1),_.arguments[0].loc.start.column):o.CallExpression.arguments!==null&&h(_.arguments,c(_).goodChar+f*o.CallExpression.arguments))}}}},bi}var xi,Bh;function m1(){if(Bh)return xi;Bh=1;const m=new Set(["const","using","await using"]);function t(d){return d.type==="ForInStatement"||d.type==="ForOfStatement"||d.type==="ForStatement"}function p(d){const e=d.parent,l=e.parent;return t(l)?l.type==="ForStatement"?l.init===e:l.left===e:!!d.init}return xi={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Require or disallow initialization in variable declarations",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/init-declarations"},schema:{anyOf:[{type:"array",items:[{enum:["always"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["never"]},{type:"object",properties:{ignoreForLoopInit:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{initialized:"Variable '{{idName}}' should be initialized on declaration.",notInitialized:"Variable '{{idName}}' should not be initialized on declaration."}},create(d){const e="always",l="never",f=d.options[0]||e,o=d.options[1]||{};let r=!1;return{TSModuleDeclaration(u){u.declare&&(r=!0)},"TSModuleDeclaration:exit"(u){u.declare&&(r=!1)},"VariableDeclaration:exit"(u){const s=u.kind,a=u.declarations;if(!(u.declare||r))for(let c=0;c<a.length;++c){const n=a[c],i=n.id,h=p(n),g=o.ignoreForLoopInit&&t(u.parent);let v="";f===e&&!h?v="initialized":f===l&&!m.has(s)&&h&&!g&&(v="notInitialized"),i.type==="Identifier"&&v&&d.report({node:n,messageId:v,data:{idName:i.name}})}}}}},xi}var Ci,Lh;function h1(){if(Lh)return Ci;Lh=1;const m=Le(),t={"prefer-double":{quote:'"',description:"singlequote",convert(p){return p.replace(/'/gu,'"')}},"prefer-single":{quote:"'",description:"doublequote",convert(p){return p.replace(/"/gu,"'")}}};return Ci={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"jsx-quotes",url:"https://eslint.style/rules/jsx-quotes"}}]},type:"layout",docs:{description:"Enforce the consistent use of either double or single quotes in JSX attributes",recommended:!1,url:"https://eslint.org/docs/latest/rules/jsx-quotes"},fixable:"whitespace",schema:[{enum:["prefer-single","prefer-double"]}],messages:{unexpected:"Unexpected usage of {{description}}."}},create(p){const d=p.options[0]||"prefer-double",e=t[d];function l(f){return f.value.includes(e.quote)||m.isSurroundedBy(f.raw,e.quote)}return{JSXAttribute(f){const o=f.value;o&&m.isStringLiteral(o)&&!l(o)&&p.report({node:o,messageId:"unexpected",data:{description:e.description},fix(r){return r.replaceText(o,e.convert(o.raw))}})}}}},Ci}var Ai,Oh;function g1(){if(Oh)return Ai;Oh=1;const m=Le(),{getGraphemeCount:t}=yr();function p(r){return m.LINEBREAK_MATCHER.test(r)}function d(r){return r.at(-1)}function e(r){return r.loc.end.line===r.loc.start.line}function l(r){const[u]=r,s=d(r);return u.loc.start.line===s.loc.end.line}function f(r,u){return r.mode=u.mode||"strict",typeof u.beforeColon<"u"?r.beforeColon=+u.beforeColon:r.beforeColon=0,typeof u.afterColon<"u"?r.afterColon=+u.afterColon:r.afterColon=1,typeof u.align<"u"&&(typeof u.align=="object"?r.align=u.align:r.align={on:u.align,mode:r.mode,beforeColon:r.beforeColon,afterColon:r.afterColon}),r}function o(r,u){return typeof u.align=="object"?(r.align=f({},u.align),r.align.on=u.align.on||"colon",r.align.mode=u.align.mode||"strict",r.multiLine=f({},u.multiLine||u),r.singleLine=f({},u.singleLine||u)):(r.multiLine=f({},u.multiLine||u),r.singleLine=f({},u.singleLine||u),r.multiLine.align&&(r.align={on:r.multiLine.align.on,mode:r.multiLine.align.mode||r.multiLine.mode,beforeColon:r.multiLine.align.beforeColon,afterColon:r.multiLine.align.afterColon})),r}return Ai={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"key-spacing",url:"https://eslint.style/rules/key-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing between keys and values in object literal properties",recommended:!1,url:"https://eslint.org/docs/latest/rules/key-spacing"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{align:{anyOf:[{enum:["colon","value"]},{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{align:{anyOf:[{enum:["colon","value"]},{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},align:{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1}]}],messages:{extraKey:"Extra space after {{computed}}key '{{key}}'.",extraValue:"Extra space before value for {{computed}}key '{{key}}'.",missingKey:"Missing space after {{computed}}key '{{key}}'.",missingValue:"Missing space before value for {{computed}}key '{{key}}'."}},create(r){const u=r.options[0]||{},s=o({},u),a=s.multiLine,c=s.singleLine,n=s.align||null,i=r.sourceCode;function h(B){return!(B.method||B.shorthand||B.kind!=="init"||B.type!=="Property")}function g(B){return i.getTokenAfter(B,m.isColonToken)}function v(B){const F=g(B);return i.getTokenBefore(F)}function S(B){const F=g(B);return i.getTokenAfter(F)}function b(B,F){const O=B.loc.start.line,$=(h(F)?S(F.key):F).loc.start.line;if($-O<=1)return!0;const N=i.getCommentsBefore(F);if(N.length&&N[0].loc.start.line-O<=1&&$-d(N).loc.end.line<=1){for(let _=1;_<N.length;_++)if(N[_].loc.start.line-N[_-1].loc.end.line>1)return!1;return!0}return!1}function T(B){const F=B.key;return B.computed?i.getText().slice(F.range[0],F.range[1]):m.getStaticPropertyName(B)}function x(B,F,O,$,N){const _=O.length-$;if((_&&N==="strict"||_<0&&N==="minimum"||_>0&&!$&&N==="minimum")&&!($&&p(O))){const X=g(B.key),L=i.getTokenBefore(X,{includeComments:!0}),K=i.getTokenAfter(X,{includeComments:!0}),J=F==="key",ge=_>0,ae=Math.abs(_),ke=Array(ae+1).join(" "),Z=J?L.loc.end:X.loc.start,I=J?X.loc.start:K.loc.start,H=J?L.loc:K.loc,fe=ge?{start:Z,end:I}:H;let ce;if(ge){let he;J?he=[L.range[1],L.range[1]+ae]:he=[K.range[0]-ae,K.range[0]],ce=function(Se){return Se.removeRange(he)}}else J?ce=function(he){return he.insertTextAfter(L,ke)}:ce=function(he){return he.insertTextBefore(K,ke)};let ie;ge?ie=F==="key"?"extraKey":"extraValue":ie=F==="key"?"missingKey":"missingValue",r.report({node:B[F],loc:fe,messageId:ie,data:{computed:B.computed?"computed ":"",key:T(B)},fix:ce})}}function E(B){const F=i.getFirstToken(B),O=v(B.key);return t(i.getText().slice(F.range[0],O.range[1]))}function A(B){const F=/(\s*):(\s*)/u.exec(i.getText().slice(B.key.range[1],B.value.range[0]));return F?{beforeColon:F[1],afterColon:F[2]}:null}function C(B){return B.properties.length===1?[B.properties]:B.properties.reduce((F,O)=>{const $=d(F),N=d($);return!N||b(N,O)?$.push(O):F.push([O]),F},[[]])}function w(B){const F=B.length,O=B.map(E),$=n.on;let N=Math.max(...O),_,X,L;n&&F>1?(_=n.beforeColon,X=n.afterColon,L=n.mode):(_=a.beforeColon,X=a.afterColon,L=n.mode),N+=$==="colon"?_:X;for(let K=0;K<F;K++){const J=B[K],ge=A(J);if(ge){const ae=O[K];$==="value"?(x(J,"key",ge.beforeColon,_,L),x(J,"value",ge.afterColon,N-ae,L)):(x(J,"key",ge.beforeColon,N-ae,L),x(J,"value",ge.afterColon,X,L))}}}function k(B,F){const O=A(B);O&&(x(B,"key",O.beforeColon,F.beforeColon,F.mode),x(B,"value",O.afterColon,F.afterColon,F.mode))}function R(B,F){const O=B.length;for(let $=0;$<O;$++)k(B[$],F)}function P(B){C(B).forEach(F=>{const O=F.filter(h);O.length>0&&l(O)?R(O,a):w(O)})}return n?{ObjectExpression(B){e(B)?R(B.properties.filter(h),c):P(B)}}:{Property(B){k(B,e(B.parent)?c:a)}}}},Ai}var wi,Nh;function y1(){if(Nh)return wi;Nh=1;const m=Le(),t=Ya(),p=/^[)\]}>]$/u,d=/^(?:[([{<~!]|\+\+?|--?)$/u,e=/^[)\]}>*]$/u,l=/^[{*]$/u,f=/\$\{$/u,o=/^\}/u,r=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,u=t.concat(["as","async","await","from","get","let","of","set","yield"]);(function(){u.sort();for(let c=1;c<u.length;++c)if(u[c]===u[c-1])throw new Error(`Duplication was found in the keyword list: ${u[c]}`)})();function s(c){return c.type==="Template"&&f.test(c.value)}function a(c){return c.type==="Template"&&o.test(c.value)}return wi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"keyword-spacing",url:"https://eslint.style/rules/keyword-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after keywords",recommended:!1,url:"https://eslint.org/docs/latest/rules/keyword-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0},overrides:{type:"object",properties:u.reduce((c,n)=>(c[n]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},c),{}),additionalProperties:!1}},additionalProperties:!1}],messages:{expectedBefore:'Expected space(s) before "{{value}}".',expectedAfter:'Expected space(s) after "{{value}}".',unexpectedBefore:'Unexpected space(s) before "{{value}}".',unexpectedAfter:'Unexpected space(s) after "{{value}}".'}},create(c){const n=c.sourceCode,i=new WeakSet;function h(ae,ke){const Z=n.getTokenBefore(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!s(Z)&&!i.has(Z)&&m.isTokenOnSameLine(Z,ae)&&!n.isSpaceBetweenTokens(Z,ae)&&c.report({loc:ae.loc,messageId:"expectedBefore",data:ae,fix(I){return I.insertTextBefore(ae," ")}})}function g(ae,ke){const Z=n.getTokenBefore(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!s(Z)&&!i.has(Z)&&m.isTokenOnSameLine(Z,ae)&&n.isSpaceBetweenTokens(Z,ae)&&c.report({loc:{start:Z.loc.end,end:ae.loc.start},messageId:"unexpectedBefore",data:ae,fix(I){return I.removeRange([Z.range[1],ae.range[0]])}})}function v(ae,ke){const Z=n.getTokenAfter(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!a(Z)&&!i.has(Z)&&m.isTokenOnSameLine(ae,Z)&&!n.isSpaceBetweenTokens(ae,Z)&&c.report({loc:ae.loc,messageId:"expectedAfter",data:ae,fix(I){return I.insertTextAfter(ae," ")}})}function S(ae,ke){const Z=n.getTokenAfter(ae);Z&&(r.test(Z.type)||ke.test(Z.value))&&!a(Z)&&!i.has(Z)&&m.isTokenOnSameLine(ae,Z)&&n.isSpaceBetweenTokens(ae,Z)&&c.report({loc:{start:ae.loc.end,end:Z.loc.start},messageId:"unexpectedAfter",data:ae,fix(I){return I.removeRange([ae.range[1],Z.range[0]])}})}function b(ae={}){const ke=ae.before!==!1,Z=ae.after!==!1,I={before:ke?h:g,after:Z?v:S},H=ae&&ae.overrides||{},fe=Object.create(null);for(let ce=0;ce<u.length;++ce){const ie=u[ce],he=H[ie];if(he){const Se="before"in he?he.before:ke,xe="after"in he?he.after:Z;fe[ie]={before:Se?h:g,after:xe?v:S}}else fe[ie]=I}return fe}const T=b(c.options[0]);function x(ae,ke){T[ae.value].before(ae,ke||p)}function E(ae,ke){T[ae.value].after(ae,ke||d)}function A(ae){x(ae),E(ae)}function C(ae){const ke=ae&&n.getFirstToken(ae);ke&&ke.type==="Keyword"&&A(ke)}function w(ae){const ke=ae&&n.getFirstToken(ae);ke&&ke.type==="Keyword"&&x(ke)}function k(ae){if(ae){const ke=n.getTokenBefore(ae,m.isKeywordToken);A(ke)}}function R(ae){const ke=ae&&n.getFirstToken(ae);ke&&(ke.type==="Keyword"&&ke.value==="function"||ke.value==="async")&&x(ke)}function P(ae){C(ae),k(ae.superClass)}function B(ae){C(ae),k(ae.alternate)}function F(ae){C(ae),C(ae.handler),k(ae.finalizer)}function O(ae){C(ae),k(ae.test)}function $(ae){C(ae);const ke=n.getTokenBefore(ae.right,m.isNotOpeningParenToken);n.getTokenBefore(ke).type!=="PrivateIdentifier"&&x(ke),E(ke)}function N(ae){ae.await?(x(n.getFirstToken(ae,0)),E(n.getFirstToken(ae,1))):C(ae);const ke=n.getTokenBefore(ae.right,m.isNotOpeningParenToken);n.getTokenBefore(ke).type!=="PrivateIdentifier"&&x(ke),E(ke)}function _(ae){const ke=n.getFirstToken(ae);if(x(ke,e),E(ke,l),ae.type==="ExportDefaultDeclaration"&&A(n.getTokenAfter(ke)),ae.type==="ExportAllDeclaration"&&ae.exported){const Z=n.getTokenBefore(ae.exported);x(Z,e),E(Z,l)}if(ae.source){const Z=n.getTokenBefore(ae.source);x(Z,e),E(Z,l)}}function X(ae){if(ae.imported.range[0]!==ae.local.range[0]){const ke=n.getTokenBefore(ae.local);x(ke,e)}}function L(ae){if(ae.local.range[0]!==ae.exported.range[0]){const ke=n.getTokenBefore(ae.exported);x(ke,e),E(ke,l)}}function K(ae){const ke=n.getFirstToken(ae,1);x(ke,e)}function J(ae){if(ae.static&&C(ae),ae.kind==="get"||ae.kind==="set"||(ae.method||ae.type==="MethodDefinition")&&ae.value.async){const ke=n.getTokenBefore(ae.key,Z=>{switch(Z.value){case"get":case"set":case"async":return!0;default:return!1}});if(!ke)throw new Error("Failed to find token get, set, or async beside method name");A(ke)}}function ge(ae){x(n.getFirstToken(ae))}return{DebuggerStatement:C,WithStatement:C,BreakStatement:C,ContinueStatement:C,ReturnStatement:C,ThrowStatement:C,TryStatement:F,IfStatement:B,SwitchStatement:C,SwitchCase:C,DoWhileStatement:O,ForInStatement:$,ForOfStatement:N,ForStatement:C,WhileStatement:C,ClassDeclaration:P,ExportNamedDeclaration:_,ExportDefaultDeclaration:_,ExportAllDeclaration:_,FunctionDeclaration:R,ImportDeclaration:_,VariableDeclaration:C,ArrowFunctionExpression:R,AwaitExpression:ge,ClassExpression:P,FunctionExpression:R,NewExpression:w,Super:w,ThisExpression:w,UnaryExpression:w,YieldExpression:w,ImportSpecifier:X,ExportSpecifier:L,ImportNamespaceSpecifier:K,MethodDefinition:J,PropertyDefinition:J,StaticBlock:C,Property:J,"BinaryExpression[operator='>']"(ae){const ke=n.getTokenBefore(ae.right,m.isNotOpeningParenToken);i.add(ke)}}}},wi}var Ti,Mh;function v1(){if(Mh)return Ti;Mh=1;const m=Le();return Ti={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"9.3.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"line-comment-position",url:"https://eslint.style/rules/line-comment-position"}}]},type:"layout",docs:{description:"Enforce position of line comments",recommended:!1,url:"https://eslint.org/docs/latest/rules/line-comment-position"},schema:[{oneOf:[{enum:["above","beside"]},{type:"object",properties:{position:{enum:["above","beside"]},ignorePattern:{type:"string"},applyDefaultPatterns:{type:"boolean"},applyDefaultIgnorePatterns:{type:"boolean"}},additionalProperties:!1}]}],messages:{above:"Expected comment to be above code.",beside:"Expected comment to be beside code."}},create(t){const p=t.options[0];let d,e,l=!0;!p||typeof p=="string"?d=!p||p==="above":(d=!p.position||p.position==="above",e=p.ignorePattern,Object.hasOwn(p,"applyDefaultIgnorePatterns")?l=p.applyDefaultIgnorePatterns:l=p.applyDefaultPatterns!==!1);const f=m.COMMENTS_IGNORE_PATTERN,o=/^\s*falls?\s?through/u,r=new RegExp(e,"u"),u=t.sourceCode;return{Program(){u.getAllComments().filter(a=>a.type==="Line").forEach(a=>{if(l&&(f.test(a.value)||o.test(a.value))||e&&r.test(a.value))return;const c=u.getTokenBefore(a,{includeComments:!0}),n=c&&c.loc.end.line===a.loc.start.line;d?n&&t.report({node:a,messageId:"above"}):n||t.report({node:a,messageId:"beside"})})}}}},Ti}var ki,jh;function E1(){if(jh)return ki;jh=1;const m=Le();return ki={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"linebreak-style",url:"https://eslint.style/rules/linebreak-style"}}]},type:"layout",docs:{description:"Enforce consistent linebreak style",recommended:!1,url:"https://eslint.org/docs/latest/rules/linebreak-style"},fixable:"whitespace",schema:[{enum:["unix","windows"]}],messages:{expectedLF:"Expected linebreaks to be 'LF' but found 'CRLF'.",expectedCRLF:"Expected linebreaks to be 'CRLF' but found 'LF'."}},create(t){const p=t.sourceCode;function d(e,l){return function(f){return f.replaceTextRange(e,l)}}return{Program:function(l){const f=t.options[0]||"unix",o=f==="unix",r=o?`
59
- `:`\r
60
- `,u=p.getText(),s=m.createGlobalLinebreakMatcher();let a,c=0;for(;(a=s.exec(u))!==null;){if(c++,a[0]===r)continue;const n=a.index,i=[n,n+a[0].length];t.report({node:l,loc:{start:{line:c,column:p.lines[c-1].length},end:{line:c+1,column:0}},messageId:o?"expectedLF":"expectedCRLF",fix:d(i,r)})}}}}},ki}var Di,Uh;function S1(){if(Uh)return Di;Uh=1;const m=Le();function t(d){return d.map((l,f)=>({code:l.trim(),num:f+1})).filter(l=>!l.code).map(l=>l.num)}function p(d){const e=[];return d.forEach(l=>{const f=l.loc.start.line,o=l.loc.end.line;e.push(f,o)}),e}return Di={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"lines-around-comment",url:"https://eslint.style/rules/lines-around-comment"}}]},type:"layout",docs:{description:"Require empty lines around comments",recommended:!1,url:"https://eslint.org/docs/latest/rules/lines-around-comment"},fixable:"whitespace",schema:[{type:"object",properties:{beforeBlockComment:{type:"boolean",default:!0},afterBlockComment:{type:"boolean",default:!1},beforeLineComment:{type:"boolean",default:!1},afterLineComment:{type:"boolean",default:!1},allowBlockStart:{type:"boolean",default:!1},allowBlockEnd:{type:"boolean",default:!1},allowClassStart:{type:"boolean"},allowClassEnd:{type:"boolean"},allowObjectStart:{type:"boolean"},allowObjectEnd:{type:"boolean"},allowArrayStart:{type:"boolean"},allowArrayEnd:{type:"boolean"},ignorePattern:{type:"string"},applyDefaultIgnorePatterns:{type:"boolean"},afterHashbangComment:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{after:"Expected line after comment.",before:"Expected line before comment."}},create(d){const e=Object.assign({},d.options[0]),l=e.ignorePattern,f=m.COMMENTS_IGNORE_PATTERN,o=new RegExp(l,"u"),r=e.applyDefaultIgnorePatterns!==!1;e.beforeBlockComment=typeof e.beforeBlockComment<"u"?e.beforeBlockComment:!0;const u=d.sourceCode,s=u.lines,a=s.length+1,c=u.getAllComments(),n=p(c),i=t(s),h=new Set(n.concat(i));function g(F){let O=F;do O=u.getTokenBefore(O,{includeComments:!0});while(O&&m.isCommentToken(O));if(O&&m.isTokenOnSameLine(O,F))return!0;O=F;do O=u.getTokenAfter(O,{includeComments:!0});while(O&&m.isCommentToken(O));return!!(O&&m.isTokenOnSameLine(F,O))}function v(F,O){return F.type===O||F.body&&F.body.type===O||F.consequent&&F.consequent.type===O}function S(F){const O=u.getNodeByRangeIndex(F.range[0]);if(O&&O.type==="StaticBlock"){const $=u.getFirstToken(O,{skip:1});return F.range[0]>=$.range[0]?O:null}return O}function b(F,O){const $=S(F);if($&&v($,O)){let N=$;return $.type==="StaticBlock"?N=u.getFirstToken($,{skip:1}):$.type==="SwitchStatement"&&(N=u.getTokenAfter($.discriminant,{filter:m.isOpeningBraceToken})),F.loc.start.line-N.loc.start.line===1}return!1}function T(F,O){const $=S(F);return!!$&&v($,O)&&$.loc.end.line-F.loc.end.line===1}function x(F){return b(F,"ClassBody")||b(F,"BlockStatement")||b(F,"StaticBlock")||b(F,"SwitchCase")||b(F,"SwitchStatement")}function E(F){return T(F,"ClassBody")||T(F,"BlockStatement")||T(F,"StaticBlock")||T(F,"SwitchCase")||T(F,"SwitchStatement")}function A(F){return b(F,"ClassBody")}function C(F){return T(F,"ClassBody")}function w(F){return b(F,"ObjectExpression")||b(F,"ObjectPattern")}function k(F){return T(F,"ObjectExpression")||T(F,"ObjectPattern")}function R(F){return b(F,"ArrayExpression")||b(F,"ArrayPattern")}function P(F){return T(F,"ArrayExpression")||T(F,"ArrayPattern")}function B(F,O){if(r&&f.test(F.value)||l&&o.test(F.value))return;let $=O.after,N=O.before;const _=F.loc.start.line-1,X=F.loc.end.line+1,L=g(F),K=e.allowBlockStart&&x(F)&&!(e.allowClassStart===!1&&A(F)),J=e.allowBlockEnd&&E(F)&&!(e.allowClassEnd===!1&&C(F)),ge=e.allowClassStart&&A(F),ae=e.allowClassEnd&&C(F),ke=e.allowObjectStart&&w(F),Z=e.allowObjectEnd&&k(F),I=e.allowArrayStart&&R(F),H=e.allowArrayEnd&&P(F),fe=K||ge||ke||I,ce=J||ae||Z||H;if(_<1&&(N=!1),X>=a&&($=!1),L)return;const ie=u.getTokenBefore(F,{includeComments:!0}),he=u.getTokenAfter(F,{includeComments:!0});if(!fe&&N&&!h.has(_)&&!(m.isCommentToken(ie)&&m.isTokenOnSameLine(ie,F))){const Se=F.range[0]-F.loc.start.column,xe=[Se,Se];d.report({node:F,messageId:"before",fix(we){return we.insertTextBeforeRange(xe,`
61
- `)}})}!ce&&$&&!h.has(X)&&!(m.isCommentToken(he)&&m.isTokenOnSameLine(F,he))&&d.report({node:F,messageId:"after",fix(Se){return Se.insertTextAfter(F,`
62
- `)}})}return{Program(){c.forEach(F=>{F.type==="Line"?(e.beforeLineComment||e.afterLineComment)&&B(F,{after:e.afterLineComment,before:e.beforeLineComment}):F.type==="Block"?(e.beforeBlockComment||e.afterBlockComment)&&B(F,{after:e.afterBlockComment,before:e.beforeBlockComment}):F.type==="Shebang"&&e.afterHashbangComment&&B(F,{after:e.afterHashbangComment,before:!1})})}}}},Di}var Ii,qh;function b1(){if(qh)return Ii;qh=1;const m=Le();return Ii={meta:{type:"layout",docs:{description:"Require or disallow newlines around directives",recommended:!1,url:"https://eslint.org/docs/latest/rules/lines-around-directive"},schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{before:{enum:["always","never"]},after:{enum:["always","never"]}},additionalProperties:!1,minProperties:2}]}],fixable:"whitespace",messages:{expected:'Expected newline {{location}} "{{value}}" directive.',unexpected:'Unexpected newline {{location}} "{{value}}" directive.'},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(t){const p=t.sourceCode,d=t.options[0]||"always",e=typeof d=="string"?d:d.before,l=typeof d=="string"?d:d.after;function f(a){const c=p.getTokenBefore(a,{includeComments:!0}),n=c?c.loc.end.line:0;return a.loc.start.line-n>=2}function o(a){const c=p.getLastToken(a),n=p.getTokenBefore(c);return m.isSemicolonToken(c)&&c.loc.start.line>n.loc.end.line?n:c}function r(a){const c=o(a);return p.getTokenAfter(c,{includeComments:!0}).loc.start.line-c.loc.end.line>=2}function u(a,c,n){t.report({node:a,messageId:n?"expected":"unexpected",data:{value:a.expression.value,location:c},fix(i){const h=o(a);return n?c==="before"?i.insertTextBefore(a,`
63
- `):i.insertTextAfter(h,`
64
- `):i.removeRange(c==="before"?[a.range[0]-1,a.range[0]]:[h.range[1],h.range[1]+1])}})}function s(a){const c=m.getDirectivePrologue(a);if(!c.length)return;const n=c[0],i=p.getCommentsBefore(n);i.length?(e==="always"&&!f(n)&&u(n,"before",!0),e==="never"&&f(n)&&u(n,"before",!1)):a.type==="Program"&&e==="never"&&!i.length&&f(n)&&u(n,"before",!1);const h=c.at(-1),g=a.type==="Program"?a.body:a.body.body;h===g.at(-1)&&!h.trailingComments||(l==="always"&&!r(h)&&u(h,"after",!0),l==="never"&&r(h)&&u(h,"after",!1))}return{Program:s,FunctionDeclaration:s,FunctionExpression:s,ArrowFunctionExpression:s}}},Ii}var Pi,Vh;function x1(){if(Vh)return Pi;Vh=1;const m=Le(),t={"*":{test:()=>!0},field:{test:p=>p.type==="PropertyDefinition"},method:{test:p=>p.type==="MethodDefinition"}};return Pi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"lines-between-class-members",url:"https://eslint.style/rules/lines-between-class-members"}}]},type:"layout",docs:{description:"Require or disallow an empty line between class members",recommended:!1,url:"https://eslint.org/docs/latest/rules/lines-between-class-members"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{enforce:{type:"array",items:{type:"object",properties:{blankLine:{enum:["always","never"]},prev:{enum:["method","field","*"]},next:{enum:["method","field","*"]}},additionalProperties:!1,required:["blankLine","prev","next"]},minItems:1}},additionalProperties:!1,required:["enforce"]},{enum:["always","never"]}]},{type:"object",properties:{exceptAfterSingleLine:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{never:"Unexpected blank line between class members.",always:"Expected blank line between class members."}},create(p){const d=[];d[0]=p.options[0]||"always",d[1]=p.options[1]||{exceptAfterSingleLine:!1};const e=typeof d[0]=="object"?d[0].enforce:[{blankLine:d[0],prev:"*",next:"*"}],l=p.sourceCode;function f(c,n){const i=l.getLastToken(c),h=l.getTokenBefore(i),g=l.getFirstToken(n);return m.isSemicolonToken(i)&&!m.isTokenOnSameLine(h,i)&&m.isTokenOnSameLine(i,g)?{curLast:h,nextFirst:i}:{curLast:i,nextFirst:g}}function o(c,n,i){const h=l.getTokenAfter(c,{includeComments:!0});return h!==n&&h.loc.start.line-c.loc.end.line<=i?o(h,n,i):c}function r(c,n,i){const h=l.getTokenBefore(c,{includeComments:!0});return h!==n&&c.loc.start.line-h.loc.end.line<=i?r(h,n,i):c}function u(c,n){return l.getTokensBetween(c,n,{includeComments:!0}).length!==0}function s(c,n){return t[n].test(c)}function a(c,n){for(let i=e.length-1;i>=0;--i){const h=e[i];if(s(c,h.prev)&&s(n,h.next))return h.blankLine}return null}return{ClassBody(c){const n=c.body;for(let i=0;i<n.length-1;i++){const h=l.getFirstToken(n[i]),{curLast:g,nextFirst:v}=f(n[i],n[i+1]),b=!!m.isTokenOnSameLine(h,g)&&d[1].exceptAfterSingleLine,T=o(g,v,1),x=r(v,g,1),E=x.loc.start.line-T.loc.end.line>1,A=u(T,x),C=o(g,v,0),w=a(n[i],n[i+1]);w==="never"&&E?p.report({node:n[i+1],messageId:"never",fix(k){return A?null:k.replaceTextRange([T.range[1],x.range[0]],`
65
- `)}}):w==="always"&&!b&&!E&&p.report({node:n[i+1],messageId:"always",fix(k){return A?null:k.insertTextAfter(C,`
66
- `)}})}}}}},Pi}var Fi,$h;function C1(){if($h)return Fi;$h=1;const m=Le(),t=new Set(["Identifier","Super","ThisExpression"]);function p(a,c){return a.type==="Identifier"&&a.name==="undefined"?m.isReferenceToGlobalVariable(c,a):a.type==="UnaryExpression"&&a.operator==="void"&&a.argument.type==="Literal"&&a.argument.value===0}function d(a){return a.type==="Identifier"&&a.name!=="undefined"||a.type==="MemberExpression"}function e(a,c){if(a.type!=="BinaryExpression"||a.operator!=="==")return!1;const n=d(a.left)?"left":"right",i=n==="left"?"right":"left";return d(a[n])&&(m.isNullLiteral(a[i])||p(a[i],c))}function l(a){return a.type==="LogicalExpression"&&a.operator==="||"&&a.left.type==="BinaryExpression"&&a.left.operator==="==="&&a.right.type==="BinaryExpression"&&a.right.operator==="==="}function f(a,c){if(!l(a))return!1;const n=d(a.left.left)?"left":"right",i=n==="left"?"right":"left",h=d(a.right.left)?"left":"right",g=h==="left"?"right":"left";return m.isSameReference(a.left[n],a.right[h])&&(m.isNullLiteral(a.left[i])&&p(a.right[g],c)||p(a.left[i],c)&&m.isNullLiteral(a.right[g]))}function o(a,c){return a.type==="CallExpression"&&a.callee.name==="Boolean"&&a.arguments.length===1&&m.isReferenceToGlobalVariable(c,a.callee)}function r(a,c){const n=a.type==="UnaryExpression"&&a.operator==="!",i=n?a.argument:a;switch(!0){case d(i):return{reference:i,operator:n?"||":"&&"};case(i.type==="UnaryExpression"&&i.operator==="!"&&d(i.argument)):return{reference:i.argument,operator:"&&"};case(o(i,c)&&d(i.arguments[0])):return{reference:i.arguments[0],operator:n?"||":"&&"};case e(a,c):return{reference:d(a.left)?a.left:a.right,operator:"??"};case f(a,c):return{reference:d(a.left.left)?a.left.left:a.left.right,operator:"??"};default:return null}}function u(a){return a.type==="Program"?!1:a.parent.type==="WithStatement"&&a.parent.body===a?!0:u(a.parent)}function s(a,c){let n=c.left;for(;n.type==="LogicalExpression"&&n.operator===c.operator;){if(m.isParenthesised(a,n))return n;n=n.left}return n}return Fi={meta:{type:"suggestion",docs:{description:"Require or disallow logical assignment operator shorthand",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/logical-assignment-operators"},schema:{type:"array",oneOf:[{items:[{const:"always"},{type:"object",properties:{enforceForIfStatements:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2},{items:[{const:"never"}],minItems:1,maxItems:1}]},fixable:"code",hasSuggestions:!0,messages:{assignment:"Assignment (=) can be replaced with operator assignment ({{operator}}).",useLogicalOperator:"Convert this assignment to use the operator {{ operator }}.",logical:"Logical expression can be replaced with an assignment ({{ operator }}).",convertLogical:"Replace this logical expression with an assignment with the operator {{ operator }}.",if:"'if' statement can be replaced with a logical operator assignment with operator {{ operator }}.",convertIf:"Replace this 'if' statement with a logical assignment with operator {{ operator }}.",unexpected:"Unexpected logical operator assignment ({{operator}}) shorthand.",separate:"Separate the logical assignment into an assignment with a logical operator."}},create(a){const c=a.options[0]==="never"?"never":"always",n=c==="always"&&a.options.length>1&&a.options[1].enforceForIfStatements,i=a.sourceCode,h=i.getScope(i.ast).isStrict;function g(T){return T.type==="Identifier"&&(h||!u(T))}function v(T){return!h&&u(T)?T.type==="Identifier":T.type==="MemberExpression"&&t.has(T.object.type)&&(!T.computed||T.property.type!=="MemberExpression"&&T.property.type!=="ChainExpression")}function S(T,x,E){return E?{...T,fix:x.fix}:{...T,suggest:[x]}}function b(T){return i.getFirstTokenBetween(T.left,T.right,x=>x.value===T.operator)}return c==="never"?{AssignmentExpression(T){if(!m.isLogicalAssignmentOperator(T.operator))return;const x={messageId:"unexpected",node:T,data:{operator:T.operator}},E={messageId:"separate",*fix(A){if(i.getCommentsInside(T).length>0)return;const C=b(T);yield A.replaceText(C,"=");const w=i.getText(T.left),k=T.operator.slice(0,-1);yield A.insertTextAfter(C,` ${w} ${k}`);const R=m.getPrecedence(T.right)<=m.getPrecedence({type:"LogicalExpression",operator:k}),P=T.operator==="??="&&m.isLogicalExpression(T.right);!m.isParenthesised(i,T.right)&&(R||P)&&(yield A.insertTextBefore(T.right,"("),yield A.insertTextAfter(T.right,")"))}};a.report(S(x,E,g(T.left)))}}:{"AssignmentExpression[operator='='][right.type='LogicalExpression']"(T){const x=s(i,T.right);if(!m.isSameReference(T.left,x))return;const E={messageId:"assignment",node:T,data:{operator:`${T.right.operator}=`}},A={messageId:"useLogicalOperator",data:{operator:`${T.right.operator}=`},*fix(C){if(i.getCommentsInside(T).length>0)return;const w=b(T);yield C.insertTextBefore(w,T.right.operator);const k=b(x.parent),R=i.getTokenAfter(k);yield C.removeRange([x.parent.range[0],R.range[0]])}};a.report(S(E,A,g(T.left)))},'LogicalExpression[right.type="AssignmentExpression"][right.operator="="]'(T){if(d(T.left)&&m.isSameReference(T.left,T.right.left)){const x={messageId:"logical",node:T,data:{operator:`${T.operator}=`}},E={messageId:"convertLogical",data:{operator:`${T.operator}=`},*fix(C){if(i.getCommentsInside(T).length>0)return;const w=m.getPrecedence(T.parent),k=T.parent.type!=="ExpressionStatement"&&(w===-1||m.getPrecedence({type:"AssignmentExpression"})<w);!m.isParenthesised(i,T)&&k&&(yield C.insertTextBefore(T,"("),yield C.insertTextAfter(T,")")),yield C.removeRange([T.range[0],T.right.range[0]]),yield C.removeRange([T.right.range[1],T.range[1]]);const R=b(T.right);yield C.insertTextBefore(R,T.operator)}},A=g(T.left)||v(T.left);a.report(S(x,E,A))}},"IfStatement[alternate=null]"(T){if(!n)return;const x=T.consequent.type==="BlockStatement";if(x&&T.consequent.body.length!==1)return;const E=x?T.consequent.body[0]:T.consequent,A=i.getScope(T),C=r(T.test,A);if(E.type==="ExpressionStatement"&&E.expression.type==="AssignmentExpression"&&E.expression.operator==="="&&C!==null&&m.isSameReference(C.reference,E.expression.left)){const w={messageId:"if",node:T,data:{operator:`${C.operator}=`}},k={messageId:"convertIf",data:{operator:`${C.operator}=`},*fix(P){if(i.getCommentsInside(T).length>0)return;const B=i.getFirstToken(E),F=i.getTokenBefore(T);if(F!==null&&F.value!==";"&&F.value!=="{"&&B.type!=="Identifier"&&B.type!=="Keyword")return;const O=b(E.expression);yield P.insertTextBefore(O,C.operator),yield P.removeRange([T.range[0],E.range[0]]),yield P.removeRange([E.range[1],T.range[1]]);const $=i.getTokenAfter(E.expression);x&&$!==null&&$.value!==";"&&(yield P.insertTextAfter(T,";"))}},R=g(C.reference)||T.test.type!=="LogicalExpression"&&v(C.reference);a.report(S(w,k,R))}}}}},Fi}var Ri,Wh;function A1(){return Wh||(Wh=1,Ri={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of classes per file",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-classes-per-file"},schema:[{oneOf:[{type:"integer",minimum:1},{type:"object",properties:{ignoreExpressions:{type:"boolean"},max:{type:"integer",minimum:1}},additionalProperties:!1}]}],messages:{maximumExceeded:"File has too many classes ({{ classCount }}). Maximum allowed is {{ max }}."}},create(m){const[t={}]=m.options,[p,d]=typeof t=="number"?[!1,t||1]:[t.ignoreExpressions,t.max||1];let e=0;return{Program(){e=0},"Program:exit"(l){e>d&&m.report({node:l,messageId:"maximumExceeded",data:{classCount:e,max:d}})},ClassDeclaration(){e++},ClassExpression(){p||e++}}}}),Ri}var _i,Gh;function w1(){return Gh||(Gh=1,_i={meta:{type:"suggestion",docs:{description:"Enforce a maximum depth that blocks can be nested",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-depth"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{tooDeeply:"Blocks are nested too deeply ({{depth}}). Maximum allowed is {{maxDepth}}."}},create(m){const t=[],p=m.options[0];let d=4;typeof p=="object"&&(Object.hasOwn(p,"maximum")||Object.hasOwn(p,"max"))&&(d=p.maximum||p.max),typeof p=="number"&&(d=p);function e(){t.push(0)}function l(){t.pop()}function f(r){const u=++t[t.length-1];u>d&&m.report({node:r,messageId:"tooDeeply",data:{depth:u,maxDepth:d}})}function o(){t[t.length-1]--}return{Program:e,FunctionDeclaration:e,FunctionExpression:e,ArrowFunctionExpression:e,StaticBlock:e,IfStatement(r){r.parent.type!=="IfStatement"&&f(r)},SwitchStatement:f,TryStatement:f,DoWhileStatement:f,WhileStatement:f,WithStatement:f,ForStatement:f,ForInStatement:f,ForOfStatement:f,"IfStatement:exit":o,"SwitchStatement:exit":o,"TryStatement:exit":o,"DoWhileStatement:exit":o,"WhileStatement:exit":o,"WithStatement:exit":o,"ForStatement:exit":o,"ForInStatement:exit":o,"ForOfStatement:exit":o,"FunctionDeclaration:exit":l,"FunctionExpression:exit":l,"ArrowFunctionExpression:exit":l,"StaticBlock:exit":l,"Program:exit":l}}}),_i}var Bi,zh;function T1(){if(zh)return Bi;zh=1;const m={type:"object",properties:{code:{type:"integer",minimum:0},comments:{type:"integer",minimum:0},tabWidth:{type:"integer",minimum:0},ignorePattern:{type:"string"},ignoreComments:{type:"boolean"},ignoreStrings:{type:"boolean"},ignoreUrls:{type:"boolean"},ignoreTemplateLiterals:{type:"boolean"},ignoreRegExpLiterals:{type:"boolean"},ignoreTrailingComments:{type:"boolean"}},additionalProperties:!1},t={anyOf:[m,{type:"integer",minimum:0}]};return Bi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"max-len",url:"https://eslint.style/rules/max-len"}}]},type:"layout",docs:{description:"Enforce a maximum line length",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-len"},schema:[t,t,m],messages:{max:"This line has a length of {{lineLength}}. Maximum allowed is {{maxLength}}.",maxComment:"This line has a comment length of {{lineLength}}. Maximum allowed is {{maxCommentLength}}."}},create(p){const d=/[^:/?#]:\/\/[^?#]/u,e=p.sourceCode;function l(P,B){let F=0;return P.replace(/\t/gu,(O,$)=>{const N=$+F,_=B?N%B:0,X=B-_;F+=X-1}),Array.from(P).length+F}const f=Object.assign({},p.options.at(-1));typeof p.options[0]=="number"&&(f.code=p.options[0]),typeof p.options[1]=="number"&&(f.tabWidth=p.options[1]);const o=typeof f.code=="number"?f.code:80,r=typeof f.tabWidth=="number"?f.tabWidth:4,u=!!f.ignoreComments,s=!!f.ignoreStrings,a=!!f.ignoreTemplateLiterals,c=!!f.ignoreRegExpLiterals,n=!!f.ignoreTrailingComments||!!f.ignoreComments,i=!!f.ignoreUrls,h=f.comments;let g=f.ignorePattern||null;g&&(g=new RegExp(g,"u"));function v(P,B,F){return F&&F.loc.start.line===B&&B<=F.loc.end.line&&(F.loc.end.line>B||F.loc.end.column===P.length)}function S(P,B,F){const O=F.loc.start,$=F.loc.end,N=!P.slice(0,F.loc.start.column).trim();return F&&(O.line<B||O.line===B&&N)&&($.line>B||$.line===B&&$.column===P.length)}function b(P){if(!P||!P.parent||P.type!=="JSXEmptyExpression"||P.parent.type!=="JSXExpressionContainer")return!1;const B=P.parent;return B.loc.start.line===B.loc.end.line}function T(P,B){return P.slice(0,B.loc.start.column).replace(/\s+$/u,"")}function x(P,B,F){Array.isArray(P[B])||(P[B]=[]),P[B].push(F)}function E(){return e.ast.tokens.filter(P=>P.type==="String"||P.type==="JSXText"&&e.getNodeByRangeIndex(P.range[0]-1).type==="JSXAttribute")}function A(){return e.ast.tokens.filter(P=>P.type==="Template")}function C(){return e.ast.tokens.filter(P=>P.type==="RegularExpression")}function w(P){const B={};for(let F=0;F<P.length;F++){const O=P[F];for(let $=O.loc.start.line;$<=O.loc.end.line;++$)x(B,$,O)}return B}function k(){const P=[];return e.getAllComments().forEach(B=>{const F=e.getNodeByRangeIndex(B.range[0]);b(F)?P.at(-1)!==F.parent&&P.push(F.parent):P.push(B)}),P}function R(P){const B=e.lines,F=u||h||n?k():[];let O=0;const $=E(),N=w($),_=A(),X=w(_),L=C(),K=w(L);B.forEach((J,ge)=>{const ae=ge+1;let ke=!1,Z;if(O<F.length){let ce;do ce=F[++O];while(ce&&ce.loc.start.line<=ae);if(ce=F[--O],S(J,ae,ce))ke=!0,Z=J;else if(n&&v(J,ae,ce)){Z=T(J,ce);let ie=O;for(;v(Z,ae,F[--ie]);)Z=T(Z,F[ie])}else Z=J}else Z=J;if(g&&g.test(Z)||i&&d.test(Z)||s&&N[ae]||a&&X[ae]||c&&K[ae])return;const I=l(Z,r),H=ke&&h;if(ke&&u)return;const fe={start:{line:ae,column:0},end:{line:ae,column:Z.length}};H?I>h&&p.report({node:P,loc:fe,messageId:"maxComment",data:{lineLength:I,maxCommentLength:h}}):I>o&&p.report({node:P,loc:fe,messageId:"max",data:{lineLength:I,maxLength:o}})})}return{Program:R}}},Bi}var Li,Hh;function k1(){if(Hh)return Li;Hh=1;const m=Le();function t(p,d){return[...Array(d-p).keys()].map(e=>e+p)}return Li={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of lines per file",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-lines"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{max:{type:"integer",minimum:0},skipComments:{type:"boolean"},skipBlankLines:{type:"boolean"}},additionalProperties:!1}]}],messages:{exceed:"File has too many lines ({{actual}}). Maximum allowed is {{max}}."}},create(p){const d=p.options[0];let e=300;typeof d=="object"&&Object.hasOwn(d,"max")?e=d.max:typeof d=="number"&&(e=d);const l=d&&d.skipComments,f=d&&d.skipBlankLines,o=p.sourceCode;function r(s){return s&&(s.type==="Block"||s.type==="Line")}function u(s){let a=s.loc.start.line,c=s.loc.end.line,n;n=s;do n=o.getTokenBefore(n,{includeComments:!0});while(r(n));n&&m.isTokenOnSameLine(n,s)&&(a+=1),n=s;do n=o.getTokenAfter(n,{includeComments:!0});while(r(n));return n&&m.isTokenOnSameLine(s,n)&&(c-=1),a<=c?t(a,c+1):[]}return{"Program:exit"(){let s=o.lines.map((a,c)=>({lineNumber:c+1,text:a}));if(s.length>1&&s.at(-1).text===""&&s.pop(),f&&(s=s.filter(a=>a.text.trim()!=="")),l){const a=o.getAllComments(),c=new Set(a.flatMap(u));s=s.filter(n=>!c.has(n.lineNumber))}if(s.length>e){const a={start:{line:s[e].lineNumber,column:0},end:{line:o.lines.length,column:o.lines.at(-1).length}};p.report({loc:a,messageId:"exceed",data:{max:e,actual:s.length}})}}}}},Li}var Oi,Kh;function D1(){if(Kh)return Oi;Kh=1;const m=Le(),{upperCaseFirst:t}=yr(),d={oneOf:[{type:"object",properties:{max:{type:"integer",minimum:0},skipComments:{type:"boolean"},skipBlankLines:{type:"boolean"},IIFEs:{type:"boolean"}},additionalProperties:!1},{type:"integer",minimum:1}]};function e(l){const f=new Map;return l.forEach(o=>{for(let r=o.loc.start.line;r<=o.loc.end.line;r++)f.set(r,o)}),f}return Oi={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of lines of code in a function",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-lines-per-function"},schema:[d],messages:{exceed:"{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}."}},create(l){const f=l.sourceCode,o=f.lines,r=l.options[0];let u=50,s=!1,a=!1,c=!1;typeof r=="object"?(u=typeof r.max=="number"?r.max:50,s=!!r.skipComments,a=!!r.skipBlankLines,c=!!r.IIFEs):typeof r=="number"&&(u=r);const n=e(f.getAllComments());function i(S,b,T){const x=T.loc.start,E=T.loc.end,A=x.line===b&&!S.slice(0,x.column).trim(),C=E.line===b&&!S.slice(E.column).trim();return T&&(x.line<b||A)&&(E.line>b||C)}function h(S){return(S.type==="FunctionExpression"||S.type==="ArrowFunctionExpression")&&S.parent&&S.parent.type==="CallExpression"&&S.parent.callee===S}function g(S){return!S.parent||S!==S.parent.value?!1:S.parent.type==="MethodDefinition"?!0:S.parent.type==="Property"?S.parent.method===!0||S.parent.kind==="get"||S.parent.kind==="set":!1}function v(S){const b=g(S)?S.parent:S;if(!c&&h(b))return;let T=0;for(let x=b.loc.start.line-1;x<b.loc.end.line;++x){const E=o[x];s&&n.has(x+1)&&i(E,x+1,n.get(x+1))||a&&E.match(/^\s*$/u)||T++}if(T>u){const x=t(m.getFunctionNameWithKind(S));l.report({node:b,messageId:"exceed",data:{name:x,lineCount:T,maxLines:u}})}}return{FunctionDeclaration:v,FunctionExpression:v,ArrowFunctionExpression:v}}},Oi}var Ni,Xh;function I1(){return Xh||(Xh=1,Ni={meta:{type:"suggestion",docs:{description:"Enforce a maximum depth that callbacks can be nested",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-nested-callbacks"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{exceed:"Too many nested callbacks ({{num}}). Maximum allowed is {{max}}."}},create(m){const t=m.options[0];let p=10;typeof t=="object"&&(Object.hasOwn(t,"maximum")||Object.hasOwn(t,"max"))?p=t.maximum||t.max:typeof t=="number"&&(p=t);const d=[];function e(f){if(f.parent.type==="CallExpression"&&d.push(f),d.length>p){const r={num:d.length,max:p};m.report({node:f,messageId:"exceed",data:r})}}function l(){d.pop()}return{ArrowFunctionExpression:e,"ArrowFunctionExpression:exit":l,FunctionExpression:e,"FunctionExpression:exit":l}}}),Ni}var Mi,Jh;function P1(){if(Jh)return Mi;Jh=1;const m=Le(),{upperCaseFirst:t}=yr();return Mi={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Enforce a maximum number of parameters in function definitions",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-params"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0},countVoidThis:{type:"boolean",description:"Whether to count a `this` declaration when the type is `void`."}},additionalProperties:!1}]}],messages:{exceed:"{{name}} has too many parameters ({{count}}). Maximum allowed is {{max}}."}},create(p){const d=p.sourceCode,e=p.options[0];let l=3,f=!1;typeof e=="object"&&((Object.hasOwn(e,"maximum")||Object.hasOwn(e,"max"))&&(l=e.maximum||e.max),f=e.countVoidThis),typeof e=="number"&&(l=e);function o(r){const s=r.params.length>0&&r.params[0].type==="Identifier"&&r.params[0].name==="this"&&r.params[0].typeAnnotation?.typeAnnotation.type==="TSVoidKeyword"&&!f?r.params.length-1:r.params.length;s>l&&p.report({loc:m.getFunctionHeadLoc(r,d),node:r,messageId:"exceed",data:{name:t(m.getFunctionNameWithKind(r)),count:s,max:l}})}return{FunctionDeclaration:o,ArrowFunctionExpression:o,FunctionExpression:o,TSDeclareFunction:o,TSFunctionType:o}}},Mi}var ji,Qh;function F1(){if(Qh)return ji;Qh=1;const m=Le(),{upperCaseFirst:t}=yr();return ji={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of statements allowed in function blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-statements"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]},{type:"object",properties:{ignoreTopLevelFunctions:{type:"boolean"}},additionalProperties:!1}],messages:{exceed:"{{name}} has too many statements ({{count}}). Maximum allowed is {{max}}."}},create(p){const d=[],e=p.options[0],l=p.options[1]&&p.options[1].ignoreTopLevelFunctions||!1,f=[];let o=10;typeof e=="object"&&(Object.hasOwn(e,"maximum")||Object.hasOwn(e,"max"))?o=e.maximum||e.max:typeof e=="number"&&(o=e);function r(c,n,i){if(n>i){const h=t(m.getFunctionNameWithKind(c));p.report({node:c,messageId:"exceed",data:{name:h,count:n,max:i}})}}function u(){d.push(0)}function s(c){const n=d.pop();c.type!=="StaticBlock"&&(l&&d.length===0?f.push({node:c,count:n}):r(c,n,o))}function a(c){d[d.length-1]+=c.body.length}return{FunctionDeclaration:u,FunctionExpression:u,ArrowFunctionExpression:u,StaticBlock:u,BlockStatement:a,"FunctionDeclaration:exit":s,"FunctionExpression:exit":s,"ArrowFunctionExpression:exit":s,"StaticBlock:exit":s,"Program:exit"(){f.length!==1&&f.forEach(c=>{const n=c.count,i=c.node;r(i,n,o)})}}}},ji}var Ui,Yh;function R1(){if(Yh)return Ui;Yh=1;const m=Le();return Ui={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"max-statements-per-line",url:"https://eslint.style/rules/max-statements-per-line"}}]},type:"layout",docs:{description:"Enforce a maximum number of statements allowed per line",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-statements-per-line"},schema:[{type:"object",properties:{max:{type:"integer",minimum:1,default:1}},additionalProperties:!1}],messages:{exceed:"This line has {{numberOfStatementsOnThisLine}} {{statements}}. Maximum allowed is {{maxStatementsPerLine}}."}},create(t){const p=t.sourceCode,d=t.options[0]||{},e=typeof d.max<"u"?d.max:1;let l=0,f=0,o;const r=/^(?:(?:DoWhile|For|ForIn|ForOf|If|Labeled|While)Statement|Export(?:Default|Named)Declaration)$/u;function u(){o&&t.report({node:o,messageId:"exceed",data:{numberOfStatementsOnThisLine:f,maxStatementsPerLine:e,statements:f===1?"statement":"statements"}}),o=null}function s(n){return p.getLastToken(n,m.isNotSemicolonToken)}function a(n){const i=n.loc.start.line;r.test(n.parent.type)&&n.parent.alternate!==n||(i===l?f+=1:(u(),f=1,l=i),f===e+1&&(o=o||n))}function c(n){const i=s(n).loc.end.line;i!==l&&(u(),f=1,l=i)}return{BreakStatement:a,ClassDeclaration:a,ContinueStatement:a,DebuggerStatement:a,DoWhileStatement:a,ExpressionStatement:a,ForInStatement:a,ForOfStatement:a,ForStatement:a,FunctionDeclaration:a,IfStatement:a,ImportDeclaration:a,LabeledStatement:a,ReturnStatement:a,SwitchStatement:a,ThrowStatement:a,TryStatement:a,VariableDeclaration:a,WhileStatement:a,WithStatement:a,ExportNamedDeclaration:a,ExportDefaultDeclaration:a,ExportAllDeclaration:a,"BreakStatement:exit":c,"ClassDeclaration:exit":c,"ContinueStatement:exit":c,"DebuggerStatement:exit":c,"DoWhileStatement:exit":c,"ExpressionStatement:exit":c,"ForInStatement:exit":c,"ForOfStatement:exit":c,"ForStatement:exit":c,"FunctionDeclaration:exit":c,"IfStatement:exit":c,"ImportDeclaration:exit":c,"LabeledStatement:exit":c,"ReturnStatement:exit":c,"SwitchStatement:exit":c,"ThrowStatement:exit":c,"TryStatement:exit":c,"VariableDeclaration:exit":c,"WhileStatement:exit":c,"WithStatement:exit":c,"ExportNamedDeclaration:exit":c,"ExportDefaultDeclaration:exit":c,"ExportAllDeclaration:exit":c,"Program:exit":u}}},Ui}var qi,Zh;function _1(){if(Zh)return qi;Zh=1;const m=Le();return qi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"9.3.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"multiline-comment-style",url:"https://eslint.style/rules/multiline-comment-style"}}]},type:"suggestion",docs:{description:"Enforce a particular style for multiline comments",recommended:!1,url:"https://eslint.org/docs/latest/rules/multiline-comment-style"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{enum:["starred-block","bare-block"]}],additionalItems:!1},{type:"array",items:[{enum:["separate-lines"]},{type:"object",properties:{checkJSDoc:{type:"boolean"}},additionalProperties:!1}],additionalItems:!1}]},messages:{expectedBlock:"Expected a block comment instead of consecutive line comments.",expectedBareBlock:"Expected a block comment without padding stars.",startNewline:"Expected a linebreak after '/*'.",endNewline:"Expected a linebreak before '*/'.",missingStar:"Expected a '*' at the start of this line.",alignment:"Expected this line to be aligned with the start of the comment.",expectedLines:"Expected multiple line comments instead of a block comment."}},create(t){const p=t.sourceCode,d=t.options[0]||"starred-block",l=!!(t.options[1]||{}).checkJSDoc;function f(S){return/^\s*\*/u.test(S)}function o([S]){if(S.type!=="Block")return!1;const b=S.value.split(m.LINEBREAK_MATCHER);return b.length>0&&b.every((T,x)=>(x===0||x===b.length-1?/^\s*$/u:/^\s*\*/u).test(T))}function r([S]){if(S.type!=="Block")return!1;const b=S.value.split(m.LINEBREAK_MATCHER);return/^\*\s*$/u.test(b[0])&&b.slice(1,-1).every(T=>/^\s* /u.test(T))&&/^\s*$/u.test(b.at(-1))}function u(S){const b=S.map(({value:T})=>T).filter(T=>T.trim().length).every(T=>T.startsWith(" "));return S.map(({value:T})=>b?T.replace(/^ /u,""):T)}function s(S){const b=S.value.split(m.LINEBREAK_MATCHER).filter((x,E,A)=>!(E===0||E===A.length-1)).map(x=>x.replace(/^\s*$/u,"")),T=b.map(x=>x.replace(/\s*\*/u,"")).filter(x=>x.trim().length).every(x=>x.startsWith(" "));return b.map(x=>x.replace(T?/\s*\* ?/u:/\s*\*/u,""))}function a(S){const b=S.value.split(m.LINEBREAK_MATCHER).map(E=>E.replace(/^\s*$/u,"")),T=`${p.text.slice(S.range[0]-S.loc.start.column,S.range[0])} `;let x="";for(const[E,A]of b.entries()){if(!A.trim().length||E===0)continue;const[,C]=A.match(/^(\s*\*?\s*)/u);if(C.length<T.length){const w=T.slice(C.length-T.length);w.length>x.length&&(x=w)}}return b.map(E=>{const A=E.match(/^(\s*\*?\s*)(.*)/u),[,C,w]=A;return C.length>T.length?`${C.slice(T.length-(x.length+C.length))}${w}`:C.length<T.length?`${C.slice(T.length)}${w}`:w})}function c(S){const[b]=S;return b.type==="Line"?u(S):o(S)?s(b):a(b)}function n(S){return p.text.slice(S.range[0]-S.loc.start.column,S.range[0])}function i(S,b){const T=n(S);return`/*
67
- ${b.map(x=>`${T} * ${x}`).join(`
68
- `)}
69
- ${T} */`}function h(S,b){return b.map(T=>`// ${T}`).join(`
70
- ${n(S)}`)}function g(S,b){return`/* ${b.join(`
71
- ${n(S)} `)} */`}const v={"starred-block"(S){const[b]=S,T=c(S);if(!T.some(x=>x.includes("*/")))if(S.length>1)t.report({loc:{start:b.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(x){const E=[b.range[0],S.at(-1).range[1]];return T.some(A=>A.startsWith("/"))?null:x.replaceTextRange(E,i(b,T))}});else{const x=b.value.split(m.LINEBREAK_MATCHER),A=`${n(b)} *`;if(!/^\*?\s*$/u.test(x[0])){const C=b.value.startsWith("*")?b.range[0]+1:b.range[0];t.report({loc:{start:b.loc.start,end:{line:b.loc.start.line,column:b.loc.start.column+2}},messageId:"startNewline",fix:w=>w.insertTextAfterRange([C,C+2],`
72
- ${A}`)})}/^\s*$/u.test(x.at(-1))||t.report({loc:{start:{line:b.loc.end.line,column:b.loc.end.column-2},end:b.loc.end},messageId:"endNewline",fix:C=>C.replaceTextRange([b.range[1]-2,b.range[1]],`
73
- ${A}/`)});for(let C=b.loc.start.line+1;C<=b.loc.end.line;C++){const w=p.lines[C-1],k=f(w)?"alignment":"missingStar";w.startsWith(A)||t.report({loc:{start:{line:C,column:0},end:{line:C,column:w.length}},messageId:k,fix(R){const P=p.getIndexFromLoc({line:C,column:0});if(k==="alignment"){const[,$=""]=w.match(/^(\s*\*)/u)||[],N=P+$.length;return R.replaceTextRange([P,N],A)}const[,B=""]=w.match(/^(\s*)/u)||[],F=P+B.length;let O;for(const[$,N]of x.entries()){if(!/\S+/u.test(N))continue;const _=p.lines[b.loc.start.line-1+$],[,X="",L=""]=_.match(/^(\s*(?:\/?\*)?(\s*))/u)||[];O=`${B.slice(X.length)}${L}`,/^\s*\//u.test(w)&&O.length===0&&(O+=" ");break}return R.replaceTextRange([P,F],`${A}${O}`)}})}}},"separate-lines"(S){const[b]=S,T=r(S);if(b.type!=="Block"||!l&&T)return;let x=c(S);T&&(x=x.slice(1,x.length-1));const E=p.getTokenAfter(b,{includeComments:!0});E&&b.loc.end.line===E.loc.start.line||t.report({loc:{start:b.loc.start,end:{line:b.loc.start.line,column:b.loc.start.column+2}},messageId:"expectedLines",fix(A){return A.replaceText(b,h(b,x))}})},"bare-block"(S){if(r(S))return;const[b]=S,T=c(S);b.type==="Line"&&T.length>1&&!T.some(x=>x.includes("*/"))&&t.report({loc:{start:b.loc.start,end:S.at(-1).loc.end},messageId:"expectedBlock",fix(x){return x.replaceTextRange([b.range[0],S.at(-1).range[1]],g(b,T))}}),o(S)&&t.report({loc:{start:b.loc.start,end:{line:b.loc.start.line,column:b.loc.start.column+2}},messageId:"expectedBareBlock",fix(x){return x.replaceText(b,g(b,T))}})}};return{Program(){return p.getAllComments().filter(S=>S.type!=="Shebang").filter(S=>!m.COMMENTS_IGNORE_PATTERN.test(S.value)).filter(S=>{const b=p.getTokenBefore(S,{includeComments:!0});return!b||b.loc.end.line<S.loc.start.line}).reduce((S,b,T,x)=>{const E=p.getTokenBefore(b,{includeComments:!0});return b.type==="Line"&&T&&x[T-1].type==="Line"&&E&&E.loc.end.line===b.loc.start.line-1&&E===x[T-1]?S.at(-1).push(b):S.push([b]),S},[]).filter(S=>!(S.length===1&&S[0].loc.start.line===S[0].loc.end.line)).forEach(v[d])}}}},qi}var Vi,eg;function B1(){if(eg)return Vi;eg=1;const m=Le();return Vi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"multiline-ternary",url:"https://eslint.style/rules/multiline-ternary"}}]},type:"layout",docs:{description:"Enforce newlines between operands of ternary expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/multiline-ternary"},schema:[{enum:["always","always-multiline","never"]}],messages:{expectedTestCons:"Expected newline between test and consequent of ternary expression.",expectedConsAlt:"Expected newline between consequent and alternate of ternary expression.",unexpectedTestCons:"Unexpected newline between test and consequent of ternary expression.",unexpectedConsAlt:"Unexpected newline between consequent and alternate of ternary expression."},fixable:"whitespace"},create(t){const p=t.sourceCode,d=t.options[0],e=d!=="never",l=d==="always-multiline";return{ConditionalExpression(f){const o=p.getTokenAfter(f.test,m.isNotClosingParenToken),r=p.getTokenAfter(f.consequent,m.isNotClosingParenToken),u=p.getFirstToken(f),s=p.getTokenBefore(o),a=p.getTokenAfter(o),c=p.getTokenBefore(r),n=p.getTokenAfter(r),i=m.isTokenOnSameLine(s,a),h=m.isTokenOnSameLine(c,n),g=!!p.getCommentsInside(f).length;if(!e)i||t.report({node:f.test,loc:{start:u.loc.start,end:s.loc.end},messageId:"unexpectedTestCons",fix(v){if(g)return null;const S=[],b=m.isTokenOnSameLine(s,o),T=m.isTokenOnSameLine(o,a);return b||S.push(v.removeRange([s.range[1],o.range[0]])),T||S.push(v.removeRange([o.range[1],a.range[0]])),S}}),h||t.report({node:f.consequent,loc:{start:a.loc.start,end:c.loc.end},messageId:"unexpectedConsAlt",fix(v){if(g)return null;const S=[],b=m.isTokenOnSameLine(c,r),T=m.isTokenOnSameLine(r,n);return b||S.push(v.removeRange([c.range[1],r.range[0]])),T||S.push(v.removeRange([r.range[1],n.range[0]])),S}});else{if(l&&f.loc.start.line===f.loc.end.line)return;i&&t.report({node:f.test,loc:{start:u.loc.start,end:s.loc.end},messageId:"expectedTestCons",fix:v=>g?null:v.replaceTextRange([s.range[1],o.range[0]],`
74
- `)}),h&&t.report({node:f.consequent,loc:{start:a.loc.start,end:c.loc.end},messageId:"expectedConsAlt",fix:v=>g?null:v.replaceTextRange([c.range[1],r.range[0]],`
75
- `)})}}}}},Vi}var $i,tg;function L1(){if(tg)return $i;tg=1;const m=Le(),t=["Array","Boolean","Date","Error","Function","Number","Object","RegExp","String","Symbol","BigInt"];function p(e,l){return e[l]=!0,e}function d(e){return Array.from(new Set([...e.capIsNewExceptions,...t])).reduce(p,{})}return $i={meta:{type:"suggestion",docs:{description:"Require constructor names to begin with a capital letter",recommended:!1,url:"https://eslint.org/docs/latest/rules/new-cap"},schema:[{type:"object",properties:{newIsCap:{type:"boolean"},capIsNew:{type:"boolean"},newIsCapExceptions:{type:"array",items:{type:"string"}},newIsCapExceptionPattern:{type:"string"},capIsNewExceptions:{type:"array",items:{type:"string"}},capIsNewExceptionPattern:{type:"string"},properties:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{capIsNew:!0,capIsNewExceptions:t,newIsCap:!0,newIsCapExceptions:[],properties:!0}],messages:{upper:"A function with a name starting with an uppercase letter should only be used as a constructor.",lower:"A constructor name should not start with a lowercase letter."}},create(e){const[l]=e.options,f=!l.properties,o=l.newIsCapExceptions.reduce(p,{}),r=l.newIsCapExceptionPattern?new RegExp(l.newIsCapExceptionPattern,"u"):null,u=d(l),s=l.capIsNewExceptionPattern?new RegExp(l.capIsNewExceptionPattern,"u"):null,a={},c=e.sourceCode;function n(v){return v.callee.type==="Identifier"?v.callee.name:m.getStaticPropertyName(v.callee)||""}function i(v){const S=v.charAt(0),b=S.toLowerCase(),T=S.toUpperCase();return b===T?"non-alpha":S===b?"lower":"upper"}function h(v,S,b,T){const x=c.getText(S.callee);if(v[b]||v[x]||T&&T.test(x))return!0;const E=m.skipChainExpression(S.callee);return b==="UTC"&&E.type==="MemberExpression"?E.object.type==="Identifier"&&E.object.name==="Date":f&&E.type==="MemberExpression"}function g(v,S){let b=m.skipChainExpression(v.callee);b.type==="MemberExpression"&&(b=b.property),e.report({node:v,loc:b.loc,messageId:S})}return l.newIsCap&&(a.NewExpression=function(v){const S=n(v);S&&(i(S)!=="lower"||h(o,v,S,r)||g(v,"lower"))}),l.capIsNew&&(a.CallExpression=function(v){const S=n(v);S&&(i(S)!=="upper"||h(u,v,S,s)||g(v,"upper"))}),a}},$i}var Wi,rg;function O1(){if(rg)return Wi;rg=1;const m=Le();return Wi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"new-parens",url:"https://eslint.style/rules/new-parens"}}]},type:"layout",docs:{description:"Enforce or disallow parentheses when invoking a constructor with no arguments",recommended:!1,url:"https://eslint.org/docs/latest/rules/new-parens"},fixable:"code",schema:[{enum:["always","never"]}],messages:{missing:"Missing '()' invoking a constructor.",unnecessary:"Unnecessary '()' invoking a constructor with no arguments."}},create(t){const d=t.options[0]!=="never",e=t.sourceCode;return{NewExpression(l){if(l.arguments.length!==0)return;const f=e.getLastToken(l),r=f&&m.isClosingParenToken(f)&&m.isOpeningParenToken(e.getTokenBefore(f))&&l.callee.range[1]<l.range[1];d?r||t.report({node:l,messageId:"missing",fix:u=>u.insertTextAfter(l,"()")}):r&&t.report({node:l,messageId:"unnecessary",fix:u=>[u.remove(e.getTokenBefore(f)),u.remove(f),u.insertTextBefore(l,"("),u.insertTextAfter(l,")")]})}}}},Wi}var Gi,ng;function N1(){if(ng)return Gi;ng=1;const m=Le();return Gi={meta:{type:"layout",docs:{description:"Require or disallow an empty line after variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/rules/newline-after-var"},schema:[{enum:["never","always"]}],fixable:"whitespace",messages:{expected:"Expected blank line after variable declarations.",unexpected:"Unexpected blank line after variable declarations."},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(t){const p=t.sourceCode,d=t.options[0]==="never"?"never":"always",e=p.getAllComments().reduce((n,i)=>(n[i.loc.start.line]=i.loc.end.line,n),{});function l(n){const i=p.getLastToken(n);if(i.type==="Punctuator"&&i.value===";"){const h=p.getTokenBefore(i);if(h.loc.end.line!==i.loc.start.line)return h}return i}function f(n){return n==="var"||n==="let"||n==="const"}function o(n){return n==="ForStatement"||n==="ForInStatement"||n==="ForOfStatement"}function r(n){return n==="ExportNamedDeclaration"||n==="ExportSpecifier"||n==="ExportDefaultDeclaration"||n==="ExportAllDeclaration"}function u(n){const i=p.getTokenAfter(n);return!i||i.type==="Punctuator"&&i.value==="}"}function s(n){const i=e[n];return e[i+1]?s(i+1):i}function a(n,i){return n.loc.start.line>s(i)+1}function c(n){const i=l(n),h=i===p.getLastToken(n)?p.getTokenAfter(n):p.getLastToken(n),g=i.loc.end.line+1;if(!h||o(n.parent.type)||r(n.parent.type)||h.type==="Keyword"&&f(h.value)||u(n))return;const v=h.loc.start.line>g,S=typeof e[g]<"u";d==="never"&&v&&!S&&t.report({node:n,messageId:"unexpected",fix(b){const T=p.getText().slice(i.range[1],h.range[0]).split(m.LINEBREAK_MATCHER);return b.replaceTextRange([i.range[1],h.range[0]],`${T.slice(0,-1).join("")}
76
- ${T.at(-1)}`)}}),d==="always"&&(!v||S&&!a(h,g))&&t.report({node:n,messageId:"expected",fix(b){return(v?s(g):i.loc.end.line)===h.loc.start.line?b.insertTextBefore(h,`
77
-
78
- `):b.insertTextBeforeRange([h.range[0]-h.loc.start.column,h.range[1]],`
79
- `)}})}return{VariableDeclaration:c}}},Gi}var zi,sg;function M1(){return sg||(sg=1,zi={meta:{type:"layout",docs:{description:"Require an empty line before `return` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/newline-before-return"},fixable:"whitespace",schema:[],messages:{expected:"Expected newline before return statement."},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(m){const t=m.sourceCode;function p(r,u){const s=t.getTokenBefore(r);return u.includes(s.value)}function d(r){const u=r.parent.type;return r.parent.body?Array.isArray(r.parent.body)?r.parent.body[0]===r:r.parent.body===r:u==="IfStatement"?p(r,["else",")"]):u==="DoWhileStatement"?p(r,["do"]):u==="SwitchCase"?p(r,[":"]):p(r,[")"])}function e(r,u){const s=t.getCommentsBefore(r);let a=0;return s.length&&s.forEach(c=>{a++,c.type==="Block"&&(a+=c.loc.end.line-c.loc.start.line),c.loc.start.line===u&&a--,c.loc.end.line===r.loc.start.line&&a--}),a}function l(r){const u=t.getTokenBefore(r);let s;return u?s=u.loc.end.line:s=0,s}function f(r){const u=r.loc.start.line,s=l(r),a=e(r,s);return u-s-a>1}function o(r){const u=t.getCommentsBefore(r),s=u.at(-1),a=t.getTokenBefore(r);return u.length===0||s.loc.end.line===a.loc.end.line&&s.loc.end.line!==r.loc.start.line}return{ReturnStatement(r){!d(r)&&!f(r)&&m.report({node:r,messageId:"expected",fix(u){if(o(r)){const s=t.getTokenBefore(r),a=r.loc.start.line===s.loc.end.line?`
80
-
81
- `:`
82
- `;return u.insertTextBefore(r,a)}return null}})}}}}),zi}var Hi,ag;function j1(){if(ag)return Hi;ag=1;const m=Le();return Hi={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"newline-per-chained-call",url:"https://eslint.style/rules/newline-per-chained-call"}}]},type:"layout",docs:{description:"Require a newline after each call in a method chain",recommended:!1,url:"https://eslint.org/docs/latest/rules/newline-per-chained-call"},fixable:"whitespace",schema:[{type:"object",properties:{ignoreChainWithDepth:{type:"integer",minimum:1,maximum:10,default:2}},additionalProperties:!1}],messages:{expected:"Expected line break before `{{callee}}`."}},create(t){const p=t.options[0]||{},d=p.ignoreChainWithDepth||2,e=t.sourceCode;function l(o){return o.computed?o.optional?"?.[":"[":o.optional?"?.":"."}function f(o){const r=l(o),u=e.getText(o.property).split(m.LINEBREAK_MATCHER),s=o.computed&&u.length===1?"]":"";return r+u[0]+s}return{"CallExpression:exit"(o){const r=m.skipChainExpression(o.callee);if(r.type!=="MemberExpression")return;let u=m.skipChainExpression(r.object),s=1;for(;u&&u.callee;)s+=1,u=m.skipChainExpression(m.skipChainExpression(u.callee).object);if(s>d&&m.isTokenOnSameLine(r.object,r.property)){const a=e.getTokenAfter(r.object,m.isNotClosingParenToken);t.report({node:r.property,loc:{start:a.loc.start,end:r.loc.end},messageId:"expected",data:{callee:f(r)},fix(c){return c.insertTextBefore(a,`
83
- `)}})}}}}},Hi}var Ki,ig;function U1(){if(ig)return Ki;ig=1;const{getStaticPropertyName:m,getVariableByName:t,skipChainExpression:p}=Le();function d(o){return/^(?:alert|confirm|prompt)$/u.test(o)}function e(o,r){const u=o.references.filter(s=>s.identifier.range[0]===r.range[0]&&s.identifier.range[1]===r.range[1]);return u.length===1?u[0]:null}function l(o,r){const u=e(o,r);return u&&u.resolved&&u.resolved.defs.length>0}function f(o,r){return o.type==="global"&&r.type==="ThisExpression"?!0:r.type==="Identifier"&&(r.name==="window"||r.name==="globalThis"&&t(o,"globalThis"))?!l(o,r):!1}return Ki={meta:{type:"suggestion",docs:{description:"Disallow the use of `alert`, `confirm`, and `prompt`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-alert"},schema:[],messages:{unexpected:"Unexpected {{name}}."}},create(o){const r=o.sourceCode;return{CallExpression(u){const s=p(u.callee),a=r.getScope(u);if(s.type==="Identifier"){const c=s.name;!l(a,s)&&d(s.name)&&o.report({node:u,messageId:"unexpected",data:{name:c}})}else if(s.type==="MemberExpression"&&f(a,s.object)){const c=m(s);d(c)&&o.report({node:u,messageId:"unexpected",data:{name:c}})}}}}},Ki}var Xi,og;function q1(){if(og)return Xi;og=1;const{getVariableByName:m,isClosingParenToken:t,isOpeningParenToken:p,isStartOfExpressionStatement:d,needsPrecedingSemicolon:e}=Le();return Xi={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow `Array` constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-array-constructor"},fixable:"code",hasSuggestions:!0,schema:[],messages:{preferLiteral:"The array literal notation [] is preferable.",useLiteral:"Replace with an array literal.",useLiteralAfterSemicolon:"Replace with an array literal, add preceding semicolon."}},create(l){const f=l.sourceCode;function o(s){const a=f.getFirstToken(s),c=f.getLastToken(s);let n=f.getLastToken(s.callee);for(;n!==c&&!p(n);)n=f.getTokenAfter(n);return f.commentsExistBetween(a,n)}function r(s){const a=f.getLastToken(s);if(!t(a))return"";let c=s.callee;do if(c=f.getTokenAfter(c),!c||c===a)return"";while(!p(c));return f.text.slice(c.range[1],a.range[0])}function u(s){if(s.callee.type!=="Identifier"||s.callee.name!=="Array"||s.typeArguments||s.arguments.length===1&&s.arguments[0].type!=="SpreadElement")return;const a=m(f.getScope(s),"Array");if(a&&a.identifiers.length===0){const c=r(s);let n,i;const h=s.arguments.reduce((v,S)=>S.type!=="SpreadElement"?v+1:v,0),g=s.optional||s.arguments.length>0&&h<2||o(s);d(s)&&e(f,s)?(n=`;[${c}]`,i="useLiteralAfterSemicolon"):(n=`[${c}]`,i="useLiteral"),l.report({node:s,messageId:"preferLiteral",fix(v){return g?null:v.replaceText(s,n)},suggest:[{messageId:i,fix(v){return g?v.replaceText(s,n):null}}]})}}return{CallExpression:u,NewExpression:u}}},Xi}var Ji,lg;function V1(){return lg||(lg=1,Ji={meta:{type:"problem",docs:{description:"Disallow using an async function as a Promise executor",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-async-promise-executor"},fixable:null,schema:[],messages:{async:"Promise executor functions should not be async."}},create(m){return{"NewExpression[callee.name='Promise'][arguments.0.async=true]"(t){m.report({node:m.sourceCode.getFirstToken(t.arguments[0],p=>p.value==="async"),messageId:"async"})}}}}),Ji}var Qi,ug;function $1(){if(ug)return Qi;ug=1;function m(p){const d=p.type;return d==="FunctionDeclaration"||d==="FunctionExpression"||d==="ArrowFunctionExpression"||d==="ForOfStatement"&&p.await===!0}function t(p,d){switch(d.type){case"ForStatement":return p===d.test||p===d.update||p===d.body;case"ForOfStatement":case"ForInStatement":return p===d.body||p===d.left&&p.kind==="await using";case"WhileStatement":case"DoWhileStatement":return p===d.test||p===d.body;default:return!1}}return Qi={meta:{type:"problem",docs:{description:"Disallow `await` inside of loops",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-await-in-loop"},schema:[],messages:{unexpectedAwait:"Unexpected `await` inside a loop."}},create(p){function d(e){if(e.type==="VariableDeclaration"&&e.kind!=="await using"||e.type==="ForOfStatement"&&!e.await)return;let l=e,f=l.parent;for(;f&&!m(f);){if(t(l,f)){p.report({node:e,messageId:"unexpectedAwait"});return}l=f,f=f.parent}}return{AwaitExpression:d,ForOfStatement:d,VariableDeclaration:d}}},Qi}var Yi,cg;function W1(){if(cg)return Yi;cg=1;const m=["^","|","&","<<",">>",">>>","^=","|=","&=","<<=",">>=",">>>=","~"];return Yi={meta:{type:"suggestion",defaultOptions:[{allow:[],int32Hint:!1}],docs:{description:"Disallow bitwise operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-bitwise"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:m},uniqueItems:!0},int32Hint:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Unexpected use of '{{operator}}'."}},create(t){const[{allow:p,int32Hint:d}]=t.options;function e(u){t.report({node:u,messageId:"unexpected",data:{operator:u.operator}})}function l(u){return m.includes(u.operator)}function f(u){return p.includes(u.operator)}function o(u){return d&&u.operator==="|"&&u.right&&u.right.type==="Literal"&&u.right.value===0}function r(u){l(u)&&!f(u)&&!o(u)&&e(u)}return{AssignmentExpression:r,BinaryExpression:r,UnaryExpression:r}}},Yi}var Zi,fg;function G1(){return fg||(fg=1,Zi={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-deprecated-api",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-deprecated-api.md"}}]},type:"problem",docs:{description:"Disallow use of the `Buffer()` constructor",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-buffer-constructor"},schema:[],messages:{deprecated:"{{expr}} is deprecated. Use Buffer.from(), Buffer.alloc(), or Buffer.allocUnsafe() instead."}},create(m){return{"CallExpression[callee.name='Buffer'], NewExpression[callee.name='Buffer']"(t){m.report({node:t,messageId:"deprecated",data:{expr:t.type==="CallExpression"?"Buffer()":"new Buffer()"}})}}}}),Zi}var eo,pg;function z1(){return pg||(pg=1,eo={meta:{type:"suggestion",docs:{description:"Disallow the use of `arguments.caller` or `arguments.callee`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-caller"},schema:[],messages:{unexpected:"Avoid arguments.{{prop}}."}},create(m){return{MemberExpression(t){const p=t.object.name,d=t.property.name;p==="arguments"&&!t.computed&&d&&d.match(/^calle[er]$/u)&&m.report({node:t,messageId:"unexpected",data:{prop:d}})}}}}),eo}var to,dg;function H1(){return dg||(dg=1,to={meta:{type:"suggestion",docs:{description:"Disallow lexical declarations in case clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-case-declarations"},hasSuggestions:!0,schema:[],messages:{addBrackets:"Add {} brackets around the case block.",unexpected:"Unexpected lexical declaration in case block."}},create(m){function t(p){switch(p.type){case"FunctionDeclaration":case"ClassDeclaration":return!0;case"VariableDeclaration":return p.kind!=="var";default:return!1}}return{SwitchCase(p){for(let d=0;d<p.consequent.length;d++){const e=p.consequent[d];t(e)&&m.report({node:e,messageId:"unexpected",suggest:[{messageId:"addBrackets",fix:l=>[l.insertTextBefore(p.consequent[0],"{ "),l.insertTextAfter(p.consequent.at(-1)," }")]}]})}}}}}),to}var ro,mg;function K1(){if(mg)return ro;mg=1;const m=Le();return ro={meta:{type:"suggestion",docs:{description:"Disallow `catch` clause parameters from shadowing variables in the outer scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-catch-shadow"},deprecated:{message:"This rule was renamed.",url:"https://eslint.org/blog/2018/07/eslint-v5.1.0-released/",deprecatedSince:"5.1.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-shadow",url:"https://eslint.org/docs/rules/no-shadow"}}]},schema:[],messages:{mutable:"Value of '{{name}}' may be overwritten in IE 8 and earlier."}},create(t){const p=t.sourceCode;function d(e,l){return m.getVariableByName(e,l)!==null}return{"CatchClause[param!=null]"(e){let l=p.getScope(e);l.block===e&&(l=l.upper),d(l,e.param.name)&&t.report({node:e,messageId:"mutable",data:{name:e.param.name}})}}}},ro}var no,hg;function X1(){if(hg)return no;hg=1;const m=Le();return no={meta:{type:"problem",docs:{description:"Disallow reassigning class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-class-assign"},schema:[],messages:{class:"'{{name}}' is a class."}},create(t){const p=t.sourceCode;function d(l){m.getModifyingReferences(l.references).forEach(f=>{t.report({node:f.identifier,messageId:"class",data:{name:f.identifier.name}})})}function e(l){p.getDeclaredVariables(l).forEach(d)}return{ClassDeclaration:e,ClassExpression:e}}},no}var so,gg;function J1(){return gg||(gg=1,so={meta:{type:"problem",docs:{description:"Disallow comparing against `-0`",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-compare-neg-zero"},fixable:null,schema:[],messages:{unexpected:"Do not use the '{{operator}}' operator to compare against -0."}},create(m){function t(d){return d.type==="UnaryExpression"&&d.operator==="-"&&d.argument.type==="Literal"&&d.argument.value===0}const p=new Set([">",">=","<","<=","==","===","!=","!=="]);return{BinaryExpression(d){p.has(d.operator)&&(t(d.left)||t(d.right))&&m.report({node:d,messageId:"unexpected",data:{operator:d.operator}})}}}}),so}var ao,yg;function Q1(){if(yg)return ao;yg=1;const m=Le(),t=new Set(["IfStatement","WhileStatement","DoWhileStatement","ForStatement","ConditionalExpression"]),p={DoWhileStatement:"a 'do...while' statement",ForStatement:"a 'for' statement",IfStatement:"an 'if' statement",WhileStatement:"a 'while' statement"};return ao={meta:{type:"problem",defaultOptions:["except-parens"],docs:{description:"Disallow assignment operators in conditional expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-cond-assign"},schema:[{enum:["except-parens","always"]}],messages:{unexpected:"Unexpected assignment within {{type}}.",missing:"Expected a conditional expression and instead saw an assignment."}},create(d){const[e]=d.options,l=d.sourceCode;function f(a){return a.parent&&t.has(a.parent.type)&&a===a.parent.test}function o(a){let c=a;do if(f(c))return c.parent;while((c=c.parent)&&!m.isFunction(c));return null}function r(a){const c=l.getTokenBefore(a,1),n=l.getTokenAfter(a,1);return m.isParenthesised(l,a)&&c&&m.isOpeningParenToken(c)&&c.range[1]<=a.range[0]&&m.isClosingParenToken(n)&&n.range[0]>=a.range[1]}function u(a){a.test&&a.test.type==="AssignmentExpression"&&(a.type==="ForStatement"?!m.isParenthesised(l,a.test):!r(a.test))&&d.report({node:a.test,messageId:"missing"})}function s(a){const c=o(a);c&&d.report({node:a,messageId:"unexpected",data:{type:p[c.type]||c.type}})}return e==="always"?{AssignmentExpression:s}:{DoWhileStatement:u,ForStatement:u,IfStatement:u,WhileStatement:u,ConditionalExpression:u}}},ao}var io,vg;function Y1(){if(vg)return io;vg=1;const m=Le();function t(p){return p&&p.type==="ConditionalExpression"}return io={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-confusing-arrow",url:"https://eslint.style/rules/no-confusing-arrow"}}]},type:"suggestion",docs:{description:"Disallow arrow functions where they could be confused with comparisons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-confusing-arrow"},fixable:"code",schema:[{type:"object",properties:{allowParens:{type:"boolean",default:!0},onlyOneSimpleParam:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{confusing:"Arrow function used ambiguously with a conditional expression."}},create(p){const d=p.options[0]||{},e=d.allowParens||d.allowParens===void 0,l=d.onlyOneSimpleParam,f=p.sourceCode;function o(r){const u=r.body;t(u)&&!(e&&m.isParenthesised(f,u))&&!(l&&!(r.params.length===1&&r.params[0].type==="Identifier"))&&p.report({node:r,messageId:"confusing",fix(s){return e&&s.replaceText(r.body,`(${f.getText(r.body)})`)}})}return{ArrowFunctionExpression:o}}},io}var oo,Eg;function Z1(){if(Eg)return oo;Eg=1;const m=Le();return oo={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow the use of `console`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-console"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},additionalProperties:!1}],hasSuggestions:!0,messages:{unexpected:"Unexpected console statement.",limited:"Unexpected console statement. Only these console methods are allowed: {{ allowed }}.",removeConsole:"Remove the console.{{ propertyName }}().",removeMethodCall:"Remove the console method call."}},create(t){const[{allow:p=[]}]=t.options,d=t.sourceCode;function e(s){const a=s.identifier;return a&&a.name==="console"}function l(s){const a=m.getStaticPropertyName(s);return a&&p.includes(a)}function f(s){const a=s.identifier,c=a.parent;return c.type==="MemberExpression"&&c.object===a&&!l(c)}function o(s){const a=/^[:;{]$/u,c=/^[-[(/+`]/u,n=d.getTokenBefore(s),i=d.getTokenAfter(s);return!!i&&c.test(i.value)&&i.value!=="++"&&i.value!=="--"&&!!n&&!a.test(n.value)}function r(s){return s.parent.type==="CallExpression"&&s.parent.callee===s&&s.parent.parent.type==="ExpressionStatement"&&m.STATEMENT_LIST_PARENTS.has(s.parent.parent.parent.type)&&!o(s.parent.parent)}function u(s){const a=s.identifier.parent,c=[];if(r(a)){const n={fix(i){return i.remove(a.parent.parent)}};a.computed?n.messageId="removeMethodCall":(n.messageId="removeConsole",n.data={propertyName:a.property.name}),c.push(n)}t.report({node:a,loc:a.loc,messageId:p.length?"limited":"unexpected",data:{allowed:p.join(", ")},suggest:c})}return{"Program:exit"(s){const a=d.getScope(s),c=m.getVariableByName(a,"console"),n=c&&c.defs.length>0,i=c?c.references:a.through.filter(e);n||i.filter(f).forEach(u)}}}},oo}var lo,Sg;function eA(){if(Sg)return lo;Sg=1;const m=Le(),t=new Set(["const","using","await using"]);return lo={meta:{type:"problem",docs:{description:"Disallow reassigning `const`, `using`, and `await using` variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-const-assign"},schema:[],messages:{const:"'{{name}}' is constant."}},create(p){const d=p.sourceCode;function e(l){m.getModifyingReferences(l.references).forEach(f=>{p.report({node:f.identifier,messageId:"const",data:{name:f.identifier.name}})})}return{VariableDeclaration(l){t.has(l.kind)&&d.getDeclaredVariables(l).forEach(e)}}}},lo}var uo,bg;function tA(){if(bg)return uo;bg=1;const{isNullLiteral:m,isConstant:t,isReferenceToGlobalVariable:p,isLogicalAssignmentOperator:d,ECMASCRIPT_GLOBALS:e}=Le(),l=new Set(["+","-","*","/","%","|","^","&","**","<<",">>",">>>"]);function f(n,i){return m(i)||i.type==="Identifier"&&i.name==="undefined"&&p(n,i)||i.type==="UnaryExpression"&&i.operator==="void"}function o(n,i,h){if(h&&f(n,i))return!1;switch(i.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":case"NewExpression":case"Literal":case"TemplateLiteral":case"UpdateExpression":case"BinaryExpression":return!0;case"CallExpression":{if(i.callee.type!=="Identifier")return!1;const g=i.callee.name;return(g==="Boolean"||g==="String"||g==="Number")&&p(n,i.callee)}case"LogicalExpression":return i.operator==="??"&&o(n,i.right,!0);case"AssignmentExpression":return i.operator==="="?o(n,i.right,h):!d(i.operator);case"UnaryExpression":return!0;case"SequenceExpression":{const g=i.expressions.at(-1);return o(n,g,h)}case"Identifier":return i.name==="undefined"&&p(n,i);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function r(n,i){switch(i.type){case"Literal":return typeof i.value=="boolean";case"CallExpression":return i.callee.type==="Identifier"&&i.callee.name==="Boolean"&&p(n,i.callee)&&(i.arguments.length===0||t(n,i.arguments[0],!0));case"UnaryExpression":return i.operator==="!"&&t(n,i.argument,!0);default:return!1}}function u(n,i){switch(i.type){case"ObjectExpression":case"ClassExpression":return!0;case"ArrayExpression":{const h=i.elements.filter(g=>g!==null&&g.type!=="SpreadElement");return i.elements.length===0||h.length>1}case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"UnaryExpression":return i.operator==="void"||i.operator==="typeof"?!0:i.operator==="!"?t(n,i.argument,!0):!1;case"NewExpression":return!1;case"CallExpression":return i.callee.type==="Identifier"&&i.callee.name==="Boolean"&&p(n,i.callee)?i.arguments.length===0||t(n,i.arguments[0],!0):!1;case"Literal":return!0;case"Identifier":return i.name==="undefined"&&p(n,i);case"TemplateLiteral":return i.expressions.length===0;case"AssignmentExpression":return i.operator==="="?u(n,i.right):!1;case"SequenceExpression":{const h=i.expressions.at(-1);return u(n,h)}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function s(n,i){switch(i.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":case"NewExpression":case"TemplateLiteral":case"Literal":case"UpdateExpression":return!0;case"BinaryExpression":return l.has(i.operator);case"UnaryExpression":return i.operator==="delete"?!1:i.operator==="!"?t(n,i.argument,!0):!0;case"SequenceExpression":{const h=i.expressions.at(-1);return s(n,h)}case"Identifier":return i.name==="undefined"&&p(n,i);case"AssignmentExpression":return i.operator==="="?s(n,i.right):!d(i.operator);case"CallExpression":{if(i.callee.type!=="Identifier")return!1;const h=i.callee.name;return(h==="String"||h==="Number")&&p(n,i.callee)?!0:h==="Boolean"&&p(n,i.callee)?i.arguments.length===0||t(n,i.arguments[0],!0):!1}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function a(n,i){switch(i.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":return!0;case"NewExpression":return i.callee.type!=="Identifier"?!1:Object.hasOwn(e,i.callee.name)&&p(n,i.callee);case"Literal":return typeof i.regex=="object";case"SequenceExpression":{const h=i.expressions.at(-1);return a(n,h)}case"AssignmentExpression":return i.operator==="="?a(n,i.right):!1;case"ConditionalExpression":return a(n,i.consequent)&&a(n,i.alternate);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function c(n,i,h,g){if(g==="=="||g==="!="){if(f(n,i)&&o(n,h,!1)||r(n,i)&&u(n,h))return h}else if((g==="==="||g==="!==")&&(f(n,i)&&o(n,h,!1)||r(n,i)&&s(n,h)))return h;return null}return uo={meta:{type:"problem",docs:{description:"Disallow expressions where the operation doesn't affect the value",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-constant-binary-expression"},schema:[],messages:{constantBinaryOperand:"Unexpected constant binary expression. Compares constantly with the {{otherSide}}-hand side of the `{{operator}}`.",constantShortCircuit:"Unexpected constant {{property}} on the left-hand side of a `{{operator}}` expression.",alwaysNew:"Unexpected comparison to newly constructed object. These two values can never be equal.",bothAlwaysNew:"Unexpected comparison of two newly constructed objects. These two values can never be equal."}},create(n){const i=n.sourceCode;return{LogicalExpression(h){const{operator:g,left:v}=h,S=i.getScope(h);(g==="&&"||g==="||")&&t(S,v,!0)?n.report({node:v,messageId:"constantShortCircuit",data:{property:"truthiness",operator:g}}):g==="??"&&o(S,v,!1)&&n.report({node:v,messageId:"constantShortCircuit",data:{property:"nullishness",operator:g}})},BinaryExpression(h){const g=i.getScope(h),{right:v,left:S,operator:b}=h,T=c(g,S,v,b),x=c(g,v,S,b);T?n.report({node:T,messageId:"constantBinaryOperand",data:{operator:b,otherSide:"left"}}):x?n.report({node:x,messageId:"constantBinaryOperand",data:{operator:b,otherSide:"right"}}):b==="==="||b==="!=="?a(g,S)?n.report({node:S,messageId:"alwaysNew"}):a(g,v)&&n.report({node:v,messageId:"alwaysNew"}):(b==="=="||b==="!=")&&a(g,S)&&a(g,v)&&n.report({node:S,messageId:"bothAlwaysNew"})}}}},uo}var co,xg;function rA(){if(xg)return co;xg=1;const{isConstant:m}=Le();return co={meta:{type:"problem",defaultOptions:[{checkLoops:"allExceptWhileTrue"}],docs:{description:"Disallow constant expressions in conditions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-constant-condition"},schema:[{type:"object",properties:{checkLoops:{enum:["all","allExceptWhileTrue","none",!0,!1]}},additionalProperties:!1}],messages:{unexpected:"Unexpected constant condition."}},create(t){const p=[],d=t.sourceCode;let[{checkLoops:e}]=t.options;e===!0?e="all":e===!1&&(e="none");let l=new Set;function f(c){c.test&&m(d.getScope(c),c.test,!0)&&l.add(c)}function o(c){l.has(c)&&(l.delete(c),t.report({node:c.test,messageId:"unexpected"}))}function r(c){c.test&&m(d.getScope(c),c.test,!0)&&t.report({node:c.test,messageId:"unexpected"})}function u(){p.push(l),l=new Set}function s(){l=p.pop()}function a(c){(e==="all"||e==="allExceptWhileTrue")&&f(c)}return{ConditionalExpression:r,IfStatement:r,WhileStatement(c){c.test.type==="Literal"&&c.test.value===!0&&e==="allExceptWhileTrue"||a(c)},"WhileStatement:exit":o,DoWhileStatement:a,"DoWhileStatement:exit":o,ForStatement:a,"ForStatement > .test":c=>a(c.parent),"ForStatement:exit":o,FunctionDeclaration:u,"FunctionDeclaration:exit":s,FunctionExpression:u,"FunctionExpression:exit":s,YieldExpression:()=>l.clear()}}},co}var fo,Cg;function nA(){return Cg||(Cg=1,fo={meta:{type:"problem",docs:{description:"Disallow returning value from constructor",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-constructor-return"},schema:[],fixable:null,messages:{unexpected:"Unexpected return statement in constructor."}},create(m){const t=[];return{onCodePathStart(p,d){t.push(d)},onCodePathEnd(){t.pop()},ReturnStatement(p){const d=t.at(-1);d.parent&&d.parent.type==="MethodDefinition"&&d.parent.kind==="constructor"&&p.argument&&m.report({node:p,messageId:"unexpected"})}}}}),fo}var po,Ag;function sA(){return Ag||(Ag=1,po={meta:{type:"suggestion",docs:{description:"Disallow `continue` statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-continue"},schema:[],messages:{unexpected:"Unexpected use of continue statement."}},create(m){return{ContinueStatement(t){m.report({node:t,messageId:"unexpected"})}}}}),po}var Zt={},wg;function er(){if(wg)return Zt;wg=1,Object.defineProperty(Zt,"__esModule",{value:!0});var m=Object.freeze({__proto__:null});const t=2025;let p,d;function e(je){return je<65?!1:je<91?!0:je<97?!1:je<123?!0:f(je)}function l(je){return je<48?!1:je<58?!0:je<65?!1:je<91||je===95?!0:je<97?!1:je<123?!0:f(je)||o(je)}function f(je){return s(je,p??(p=r()))}function o(je){return s(je,d??(d=u()))}function r(){return a("4q 0 b 0 5 0 6 m 2 u 2 cp 5 b f 4 8 0 2 0 3m 4 2 1 3 3 2 0 7 0 2 2 2 0 2 j 2 2a 2 3u 9 4l 2 11 3 0 7 14 20 q 5 3 1a 16 10 1 2 2q 2 0 g 1 8 1 b 2 3 0 h 0 2 t u 2g c 0 p w a 1 5 0 6 l 5 0 a 0 4 0 o o 8 a 6 n 2 5 i 15 1n 1h 4 0 j 0 8 9 g f 5 7 3 1 3 l 2 6 2 0 4 3 4 0 h 0 e 1 2 2 f 1 b 0 9 5 5 1 3 l 2 6 2 1 2 1 2 1 w 3 2 0 k 2 h 8 2 2 2 l 2 6 2 1 2 4 4 0 j 0 g 1 o 0 c 7 3 1 3 l 2 6 2 1 2 4 4 0 v 1 2 2 g 0 i 0 2 5 4 2 2 3 4 1 2 0 2 1 4 1 4 2 4 b n 0 1h 7 2 2 2 m 2 f 4 0 r 2 3 0 3 1 v 0 5 7 2 2 2 m 2 9 2 4 4 0 w 1 2 1 g 1 i 8 2 2 2 14 3 0 h 0 6 2 9 2 p 5 6 h 4 n 2 8 2 0 3 6 1n 1b 2 1 d 6 1n 1 2 0 2 4 2 n 2 0 2 9 2 1 a 0 3 4 2 0 m 3 x 0 1s 7 2 z s 4 38 16 l 0 h 5 5 3 4 0 4 1 8 2 5 c d 0 i 11 2 0 6 0 3 16 2 98 2 3 3 6 2 0 2 3 3 14 2 3 3 w 2 3 3 6 2 0 2 3 3 e 2 1k 2 3 3 1u 12 f h 2d 3 5 4 h7 3 g 2 p 6 22 4 a 8 h e i f h f c 2 2 g 1f 10 0 5 0 1w 2g 8 14 2 0 6 1x b u 1e t 3 4 c 17 5 p 1j m a 1g 2b 0 2m 1a i 7 1j t e 1 b 17 r z 16 2 b z 3 a 6 16 3 2 16 3 2 5 2 1 4 0 6 5b 1t 7p 3 5 3 11 3 5 3 7 2 0 2 0 2 0 2 u 3 1g 2 6 2 0 4 2 2 6 4 3 3 5 5 c 6 2 2 6 39 0 e 0 h c 2u 0 5 0 3 9 2 0 3 5 7 0 2 0 2 0 2 f 3 3 6 4 5 0 i 14 22g 6c 7 3 4 1 d 11 2 0 6 0 3 1j 8 0 h m a 6 2 6 2 6 2 6 2 6 2 6 2 6 2 6 fb 2 q 8 8 4 3 4 5 2d 5 4 2 2h 2 3 6 16 2 2l i v 1d f e9 533 1t h3g 1w 19 3 7g 4 f b 1 l 1a h u 3 27 14 8 3 2u 3 1u 3 1 2 0 2 7 m f 2 2 2 3 2 m u 1f f 1d 1r 5 4 0 2 1 c r b m q s 8 1a t 0 h 4 2 9 b 4 2 14 o 2 2 7 l m 4 0 4 1d 2 0 4 1 3 4 3 0 2 0 p 2 3 a 8 2 d 5 3 5 3 5 a 6 2 6 2 16 2 d 7 36 u 8mb d m 5 1c 6it a5 3 2x 13 6 d 4 6 0 2 9 2 c 2 4 2 0 2 1 2 1 2 2z y a2 j 1r 3 1h 15 b 39 4 2 3q 11 p 7 p c 2g 4 5 3 5 3 5 3 2 10 b 2 p 2 i 2 1 2 e 3 d z 3e 1y 1g 7g s 4 1c 1c v e t 6 11 b t 3 z 5 7 2 4 17 4d j z 5 z 5 13 9 1f d a 2 e 2 6 2 1 2 a 2 e 2 6 2 1 4 1f d 8m a l b 7 p 5 2 15 2 8 1y 5 3 0 2 17 2 1 4 0 3 m b m a u 1u i 2 1 b l b p 1z 1j 7 1 1t 0 g 3 2 2 2 s 17 s 4 s 10 7 2 r s 1h b l b i e h 33 20 1k 1e e 1e e z 13 r a m 6z 15 7 1 h 2 1o s b 0 9 l 17 h 1b k s m d 1g 1m 1 3 0 e 18 x o r z u 0 3 0 9 y 4 0 d 1b f 3 m 0 2 0 10 h 2 o k 1 1s 6 2 0 2 3 2 e 2 9 8 1a 13 7 3 1 3 l 2 6 2 1 2 4 4 0 j 0 d 4 v 9 2 0 3 0 2 11 2 0 q 0 2 0 19 1g j 3 l 2 v 1b l 1 2 0 55 1a 16 3 11 1b l 0 1o 16 e 0 20 q 12 6 56 17 39 1r w 7 3 0 3 7 2 1 2 n g 0 2 0 2n 7 3 12 h 0 2 0 t 0 b 13 8 0 m 0 c 19 k 0 j 20 5k w w 8 2 10 i 0 1e t 35 6 2 1 2 11 m 0 q 5 2 1 2 v f 0 94 i g 0 2 c 2 x 3h 0 28 pl 2v 32 i 5f 219 2o g tr i 5 q 32y 6 g6 5a2 t 1cz fs 8 u i 26 i t j 1b h 3 w k 6 i c1 18 5w 1r 3l 22 6 0 1v c 1t 1 2 0 t 4qf 9 yd 16 9 6w8 3 2 6 2 1 2 82 g 0 u 2 3 0 f 3 9 az 1s5 2y 6 c 4 8 8 9 4mf 2c 2 1y 2 1 3 0 3 1 3 3 2 b 2 0 2 6 2 1s 2 3 3 7 2 6 2 r 2 3 2 4 2 0 4 6 2 9f 3 o 2 o 2 u 2 o 2 u 2 o 2 u 2 o 2 u 2 o 2 7 1f9 u 7 5 7a 1p 43 18 b 6 h 0 8y t j 17 dh r 6d t 3 0 ds 6 2 3 2 1 2 e 2 5g 1o 1v 8 0 xh 3 2 q 2 1 2 0 3 0 2 9 2 3 2 0 2 0 7 0 5 0 2 0 2 0 2 2 2 1 2 0 3 0 2 0 2 0 2 0 2 0 2 1 2 0 3 3 2 6 2 3 2 3 2 0 2 9 2 g 6 2 2 4 2 g 3et wyn x 37d 7 65 3 4g1 f 5rk g h9 1wj f1 15v 3t6 6 38f")}function u(){return a("53 0 g9 33 o 0 70 4 7e 18 2 0 2 1 2 1 2 0 21 a 1d u 7 0 2u 6 3 5 3 1 2 3 3 9 o 0 v q 2k a g 9 y 8 a 0 p 3 2 8 2 2 2 4 18 2 1o 8 17 n 2 w 1j 2 2 h 2 6 b 1 3 9 i 2 1l 0 2 6 3 1 3 2 a 0 b 1 3 9 f 0 3 2 1l 0 2 4 5 1 3 2 4 0 l b 4 0 c 2 1l 0 2 7 2 2 2 2 l 1 3 9 b 5 2 2 1l 0 2 6 3 1 3 2 8 2 b 1 3 9 j 0 1o 4 4 2 2 3 a 0 f 9 h 4 1k 0 2 6 2 2 2 3 8 1 c 1 3 9 i 2 1l 0 2 6 2 2 2 3 8 1 c 1 3 9 4 0 d 3 1k 1 2 6 2 2 2 3 a 0 b 1 3 9 i 2 1z 0 5 5 2 0 2 7 7 9 3 1 1q 0 3 6 d 7 2 9 2g 0 3 8 c 6 2 9 1r 1 7 9 c 0 2 0 2 0 5 1 1e j 2 1 6 a 2 z a 0 2t j 2 9 d 3 5 2 2 2 3 6 4 3 e b 2 e jk 2 a 8 pt 3 t 2 u 1 v 1 1t v a 0 3 9 y 2 2 a 40 0 3b b 5 b b 9 3l a 1p 4 1m 9 2 s 3 a 7 9 n d 2 f 1e 4 1c g c 9 i 8 d 2 v c 3 9 19 d 1d j 9 9 7 9 3b 2 2 k 5 0 7 0 3 2 5j 1r el 1 1e 1 k 0 3g c 5 0 4 b 2db 2 3y 0 2p v ff 5 2y 1 2p 0 n51 9 1y 0 5 9 x 1 29 1 7l 0 4 0 5 0 o 4 5 0 2c 1 1f h b 9 7 h e a t 7 q c 19 3 1c d g 9 c 0 b 9 1c d d 0 9 1 3 9 y 2 1f 0 2 2 3 1 6 1 2 0 16 4 6 1 6l 7 2 1 3 9 fmt 0 ki f h f 4 1 p 2 5d 9 12 0 12 0 ig 0 6b 0 46 4 86 9 120 2 2 1 6 3 15 2 5 0 4m 1 fy 3 9 9 7 9 w 4 8u 1 28 3 1z a 1e 3 3f 2 1i e w a 3 1 b 3 1a a 8 0 1a 9 7 2 11 d 2 9 6 1 19 0 d 2 1d d 9 3 2 b 2b b 7 0 3 0 4e b 6 9 7 3 1k 1 2 6 3 1 3 2 a 0 b 1 3 6 4 4 1w 8 2 0 3 0 2 3 2 4 2 0 f 1 2b h a 9 5 0 2a j d 9 5y 6 3 8 s 1 2b g g 9 2a c 9 9 7 j 1m e 5 9 6r e 4m 9 1z 5 2 1 3 3 2 0 2 1 d 9 3c 6 3 6 4 0 t 9 15 6 2 3 9 0 a a 1b f 9j 9 1i 7 2 7 h 9 1l l 2 d 3f 5 4 0 2 1 2 6 2 0 9 9 1d 4 2 1 2 4 9 9 96 3 a 1 2 0 1d 6 4 4 e a 44m 0 7 e 8uh r 1t3 9 2f 9 13 4 1o 6 q 9 ev 9 d2 0 2 1i 8 3 2a 0 c 1 f58 1 382 9 ef 19 3 m f3 4 4 5 9 7 3 6 v 3 45 2 13e 1d e9 1i 5 1d 9 0 f 0 n 4 2 e 11t 6 2 g 3 6 2 1 2 4 2t 0 4h 6 a 9 9x 0 1q d dv d 6t 1 2 9 k6 6 32 6 6 9 3o7 9 gvt3 6n")}function s(je,M){let re=0,me=M.length/2|0,Be=0,y=0,D=0;for(;re<me;)if(Be=(re+me)/2|0,y=M[2*Be],D=M[2*Be+1],je<y)me=Be;else if(je>D)re=Be+1;else return!0;return!1}function a(je){let M=0;return je.split(" ").map(re=>M+=parseInt(re,36)|0)}class c{constructor(M,re,me,Be,y,D,W,Q){this._raw2018=M,this._raw2019=re,this._raw2020=me,this._raw2021=Be,this._raw2022=y,this._raw2023=D,this._raw2024=W,this._raw2025=Q}get es2018(){var M;return(M=this._set2018)!==null&&M!==void 0?M:this._set2018=new Set(this._raw2018.split(" "))}get es2019(){var M;return(M=this._set2019)!==null&&M!==void 0?M:this._set2019=new Set(this._raw2019.split(" "))}get es2020(){var M;return(M=this._set2020)!==null&&M!==void 0?M:this._set2020=new Set(this._raw2020.split(" "))}get es2021(){var M;return(M=this._set2021)!==null&&M!==void 0?M:this._set2021=new Set(this._raw2021.split(" "))}get es2022(){var M;return(M=this._set2022)!==null&&M!==void 0?M:this._set2022=new Set(this._raw2022.split(" "))}get es2023(){var M;return(M=this._set2023)!==null&&M!==void 0?M:this._set2023=new Set(this._raw2023.split(" "))}get es2024(){var M;return(M=this._set2024)!==null&&M!==void 0?M:this._set2024=new Set(this._raw2024.split(" "))}get es2025(){var M;return(M=this._set2025)!==null&&M!==void 0?M:this._set2025=new Set(this._raw2025.split(" "))}}const n=new Set(["General_Category","gc"]),i=new Set(["Script","Script_Extensions","sc","scx"]),h=new c("C Cased_Letter Cc Cf Close_Punctuation Cn Co Combining_Mark Connector_Punctuation Control Cs Currency_Symbol Dash_Punctuation Decimal_Number Enclosing_Mark Final_Punctuation Format Initial_Punctuation L LC Letter Letter_Number Line_Separator Ll Lm Lo Lowercase_Letter Lt Lu M Mark Math_Symbol Mc Me Mn Modifier_Letter Modifier_Symbol N Nd Nl No Nonspacing_Mark Number Open_Punctuation Other Other_Letter Other_Number Other_Punctuation Other_Symbol P Paragraph_Separator Pc Pd Pe Pf Pi Po Private_Use Ps Punctuation S Sc Separator Sk Sm So Space_Separator Spacing_Mark Surrogate Symbol Titlecase_Letter Unassigned Uppercase_Letter Z Zl Zp Zs cntrl digit punct","","","","","","",""),g=new c("Adlam Adlm Aghb Ahom Anatolian_Hieroglyphs Arab Arabic Armenian Armi Armn Avestan Avst Bali Balinese Bamu Bamum Bass Bassa_Vah Batak Batk Beng Bengali Bhaiksuki Bhks Bopo Bopomofo Brah Brahmi Brai Braille Bugi Buginese Buhd Buhid Cakm Canadian_Aboriginal Cans Cari Carian Caucasian_Albanian Chakma Cham Cher Cherokee Common Copt Coptic Cprt Cuneiform Cypriot Cyrillic Cyrl Deseret Deva Devanagari Dsrt Dupl Duployan Egyp Egyptian_Hieroglyphs Elba Elbasan Ethi Ethiopic Geor Georgian Glag Glagolitic Gonm Goth Gothic Gran Grantha Greek Grek Gujarati Gujr Gurmukhi Guru Han Hang Hangul Hani Hano Hanunoo Hatr Hatran Hebr Hebrew Hira Hiragana Hluw Hmng Hung Imperial_Aramaic Inherited Inscriptional_Pahlavi Inscriptional_Parthian Ital Java Javanese Kaithi Kali Kana Kannada Katakana Kayah_Li Khar Kharoshthi Khmer Khmr Khoj Khojki Khudawadi Knda Kthi Lana Lao Laoo Latin Latn Lepc Lepcha Limb Limbu Lina Linb Linear_A Linear_B Lisu Lyci Lycian Lydi Lydian Mahajani Mahj Malayalam Mand Mandaic Mani Manichaean Marc Marchen Masaram_Gondi Meetei_Mayek Mend Mende_Kikakui Merc Mero Meroitic_Cursive Meroitic_Hieroglyphs Miao Mlym Modi Mong Mongolian Mro Mroo Mtei Mult Multani Myanmar Mymr Nabataean Narb Nbat New_Tai_Lue Newa Nko Nkoo Nshu Nushu Ogam Ogham Ol_Chiki Olck Old_Hungarian Old_Italic Old_North_Arabian Old_Permic Old_Persian Old_South_Arabian Old_Turkic Oriya Orkh Orya Osage Osge Osma Osmanya Pahawh_Hmong Palm Palmyrene Pau_Cin_Hau Pauc Perm Phag Phags_Pa Phli Phlp Phnx Phoenician Plrd Prti Psalter_Pahlavi Qaac Qaai Rejang Rjng Runic Runr Samaritan Samr Sarb Saur Saurashtra Sgnw Sharada Shavian Shaw Shrd Sidd Siddham SignWriting Sind Sinh Sinhala Sora Sora_Sompeng Soyo Soyombo Sund Sundanese Sylo Syloti_Nagri Syrc Syriac Tagalog Tagb Tagbanwa Tai_Le Tai_Tham Tai_Viet Takr Takri Tale Talu Tamil Taml Tang Tangut Tavt Telu Telugu Tfng Tglg Thaa Thaana Thai Tibetan Tibt Tifinagh Tirh Tirhuta Ugar Ugaritic Vai Vaii Wara Warang_Citi Xpeo Xsux Yi Yiii Zanabazar_Square Zanb Zinh Zyyy","Dogr Dogra Gong Gunjala_Gondi Hanifi_Rohingya Maka Makasar Medefaidrin Medf Old_Sogdian Rohg Sogd Sogdian Sogo","Elym Elymaic Hmnp Nand Nandinagari Nyiakeng_Puachue_Hmong Wancho Wcho","Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi","Cpmn Cypro_Minoan Old_Uyghur Ougr Tangsa Tnsa Toto Vith Vithkuqi","Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz","",""),v=new c("AHex ASCII ASCII_Hex_Digit Alpha Alphabetic Any Assigned Bidi_C Bidi_Control Bidi_M Bidi_Mirrored CI CWCF CWCM CWKCF CWL CWT CWU Case_Ignorable Cased Changes_When_Casefolded Changes_When_Casemapped Changes_When_Lowercased Changes_When_NFKC_Casefolded Changes_When_Titlecased Changes_When_Uppercased DI Dash Default_Ignorable_Code_Point Dep Deprecated Dia Diacritic Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Ext Extender Gr_Base Gr_Ext Grapheme_Base Grapheme_Extend Hex Hex_Digit IDC IDS IDSB IDST IDS_Binary_Operator IDS_Trinary_Operator ID_Continue ID_Start Ideo Ideographic Join_C Join_Control LOE Logical_Order_Exception Lower Lowercase Math NChar Noncharacter_Code_Point Pat_Syn Pat_WS Pattern_Syntax Pattern_White_Space QMark Quotation_Mark RI Radical Regional_Indicator SD STerm Sentence_Terminal Soft_Dotted Term Terminal_Punctuation UIdeo Unified_Ideograph Upper Uppercase VS Variation_Selector White_Space XIDC XIDS XID_Continue XID_Start space","Extended_Pictographic","","EBase EComp EMod EPres ExtPict","","","",""),S=new c("","","","","","","Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji RGI_Emoji_Flag_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence","");function b(je,M,re){return n.has(M)?je>=2018&&h.es2018.has(re):i.has(M)?je>=2018&&g.es2018.has(re)||je>=2019&&g.es2019.has(re)||je>=2020&&g.es2020.has(re)||je>=2021&&g.es2021.has(re)||je>=2022&&g.es2022.has(re)||je>=2023&&g.es2023.has(re):!1}function T(je,M){return je>=2018&&v.es2018.has(M)||je>=2019&&v.es2019.has(M)||je>=2021&&v.es2021.has(M)}function x(je,M){return je>=2024&&S.es2024.has(M)}const E=8,A=9,C=10,w=11,k=12,R=13,P=33,B=35,F=36,O=37,$=38,N=40,_=41,X=42,L=43,K=44,J=45,ge=46,ae=47,ke=48,Z=49,I=55,H=57,fe=58,ce=59,ie=60,he=61,Se=62,xe=63,we=64,ee=65,ne=66,Ae=68,z=70,oe=80,Te=83,Re=87,Pe=90,G=95,Je=97,lt=98,et=99,qe=100,$e=102,nt=103,pt=105,tt=107,Qe=109,vt=110,Ye=112,bt=113,Ke=114,We=115,Ee=116,j=117,U=118,V=119,Y=120,le=121,te=122,q=91,se=92,ue=93,be=94,Oe=96,Ie=123,Ge=124,ze=125,de=126,pe=8204,ve=8205,De=8232,Fe=8233,st=0,Ue=1114111;function Xe(je){return je>=ee&&je<=Pe||je>=Je&&je<=te}function it(je){return je>=ke&&je<=H}function He(je){return je>=ke&&je<=I}function rt(je){return je>=ke&&je<=H||je>=ee&&je<=z||je>=Je&&je<=$e}function ft(je){return je===C||je===R||je===De||je===Fe}function mt(je){return je>=st&&je<=Ue}function ct(je){return je>=Je&&je<=$e?je-Je+10:je>=ee&&je<=z?je-ee+10:je-ke}function ht(je){return je>=55296&&je<=56319}function xt(je){return je>=56320&&je<=57343}function St(je,M){return(je-55296)*1024+(M-56320)+65536}class Pt{constructor(){this.groupName=new Set}clear(){this.groupName.clear()}isEmpty(){return!this.groupName.size}hasInPattern(M){return this.groupName.has(M)}hasInScope(M){return this.hasInPattern(M)}addToScope(M){this.groupName.add(M)}enterDisjunction(){}enterAlternative(){}leaveDisjunction(){}}class Ft{constructor(M,re){this.parent=M,this.base=re??this}separatedFrom(M){var re,me;return this.base===M.base&&this!==M||M.parent&&this.separatedFrom(M.parent)?!0:(me=(re=this.parent)===null||re===void 0?void 0:re.separatedFrom(M))!==null&&me!==void 0?me:!1}child(){return new Ft(this,null)}sibling(){return new Ft(this.parent,this.base)}}class Rt{constructor(){this.branchID=new Ft(null,null),this.groupNames=new Map}clear(){this.branchID=new Ft(null,null),this.groupNames.clear()}isEmpty(){return!this.groupNames.size}enterDisjunction(){this.branchID=this.branchID.child()}enterAlternative(M){M!==0&&(this.branchID=this.branchID.sibling())}leaveDisjunction(){this.branchID=this.branchID.parent}hasInPattern(M){return this.groupNames.has(M)}hasInScope(M){const re=this.groupNames.get(M);if(!re)return!1;for(const me of re)if(!me.separatedFrom(this.branchID))return!0;return!1}addToScope(M){const re=this.groupNames.get(M);if(re){re.push(this.branchID);return}this.groupNames.set(M,[this.branchID])}}const Wt={at(je,M,re){return re<M?je.charCodeAt(re):-1},width(je){return 1}},$t={at(je,M,re){return re<M?je.codePointAt(re):-1},width(je){return je>65535?2:1}};class Bt{constructor(){this._impl=Wt,this._s="",this._i=0,this._end=0,this._cp1=-1,this._w1=1,this._cp2=-1,this._w2=1,this._cp3=-1,this._w3=1,this._cp4=-1}get source(){return this._s}get index(){return this._i}get currentCodePoint(){return this._cp1}get nextCodePoint(){return this._cp2}get nextCodePoint2(){return this._cp3}get nextCodePoint3(){return this._cp4}reset(M,re,me,Be){this._impl=Be?$t:Wt,this._s=M,this._end=me,this.rewind(re)}rewind(M){const re=this._impl;this._i=M,this._cp1=re.at(this._s,this._end,M),this._w1=re.width(this._cp1),this._cp2=re.at(this._s,this._end,M+this._w1),this._w2=re.width(this._cp2),this._cp3=re.at(this._s,this._end,M+this._w1+this._w2),this._w3=re.width(this._cp3),this._cp4=re.at(this._s,this._end,M+this._w1+this._w2+this._w3)}advance(){if(this._cp1!==-1){const M=this._impl;this._i+=this._w1,this._cp1=this._cp2,this._w1=this._w2,this._cp2=this._cp3,this._w2=M.width(this._cp2),this._cp3=this._cp4,this._w3=M.width(this._cp3),this._cp4=M.at(this._s,this._end,this._i+this._w1+this._w2+this._w3)}}eat(M){return this._cp1===M?(this.advance(),!0):!1}eat2(M,re){return this._cp1===M&&this._cp2===re?(this.advance(),this.advance(),!0):!1}eat3(M,re,me){return this._cp1===M&&this._cp2===re&&this._cp3===me?(this.advance(),this.advance(),this.advance(),!0):!1}}class Ut extends SyntaxError{constructor(M,re){super(M),this.index=re}}function ot(je,M,re,me){let Be="";if(je.kind==="literal"){const y=je.source.slice(je.start,je.end);y&&(Be=`: ${y}`)}else if(je.kind==="pattern"){const y=je.source.slice(je.start,je.end),D=`${M.unicode?"u":""}${M.unicodeSets?"v":""}`;Be=`: /${y}/${D}`}return new Ut(`Invalid regular expression${Be}: ${me}`,re)}const Lt=new Set([be,F,se,ge,X,L,xe,N,_,q,ue,Ie,ze,Ge]),_t=new Set([$,P,B,F,O,X,L,K,ge,fe,ce,ie,he,Se,xe,we,be,Oe,de]),cr=new Set([N,_,q,ue,Ie,ze,ae,J,se,Ge]),fr=new Set([$,J,P,B,O,K,fe,ce,ie,he,Se,we,Oe,de]),Ht={global:nt,ignoreCase:pt,multiline:Qe,unicode:j,sticky:le,dotAll:We,hasIndices:qe,unicodeSets:U},tr=Object.fromEntries(Object.entries(Ht).map(([je,M])=>[M,je]));function Qt(je){return Lt.has(je)}function rr(je){return _t.has(je)}function pr(je){return cr.has(je)}function Kt(je){return fr.has(je)}function qt(je){return e(je)||je===F||je===G}function Ot(je){return l(je)||je===F||je===pe||je===ve}function wr(je){return Xe(je)||je===G}function Tr(je){return wr(je)||it(je)}function kr(je){return je===pt||je===Qe||je===We}class Er{constructor(M){this._reader=new Bt,this._unicodeMode=!1,this._unicodeSetsMode=!1,this._nFlag=!1,this._lastIntValue=0,this._lastRange={min:0,max:Number.POSITIVE_INFINITY},this._lastStrValue="",this._lastAssertionIsQuantifiable=!1,this._numCapturingParens=0,this._backreferenceNames=new Set,this._srcCtx=null,this._options=M??{},this._groupSpecifiers=this.ecmaVersion>=2025?new Rt:new Pt}validateLiteral(M,re=0,me=M.length){if(this._srcCtx={source:M,start:re,end:me,kind:"literal"},this._unicodeSetsMode=this._unicodeMode=this._nFlag=!1,this.reset(M,re,me),this.onLiteralEnter(re),this.eat(ae)&&this.eatRegExpBody()&&this.eat(ae)){const Be=this.index,y=M.includes("u",Be),D=M.includes("v",Be);this.validateFlagsInternal(M,Be,me),this.validatePatternInternal(M,re+1,Be-1,{unicode:y,unicodeSets:D})}else if(re>=me)this.raise("Empty");else{const Be=String.fromCodePoint(this.currentCodePoint);this.raise(`Unexpected character '${Be}'`)}this.onLiteralLeave(re,me)}validateFlags(M,re=0,me=M.length){this._srcCtx={source:M,start:re,end:me,kind:"flags"},this.validateFlagsInternal(M,re,me)}validatePattern(M,re=0,me=M.length,Be=void 0){this._srcCtx={source:M,start:re,end:me,kind:"pattern"},this.validatePatternInternal(M,re,me,Be)}validatePatternInternal(M,re=0,me=M.length,Be=void 0){const y=this._parseFlagsOptionToMode(Be,me);this._unicodeMode=y.unicodeMode,this._nFlag=y.nFlag,this._unicodeSetsMode=y.unicodeSetsMode,this.reset(M,re,me),this.consumePattern(),!this._nFlag&&this.ecmaVersion>=2018&&!this._groupSpecifiers.isEmpty()&&(this._nFlag=!0,this.rewind(re),this.consumePattern())}validateFlagsInternal(M,re,me){const Be=this.parseFlags(M,re,me);this.onRegExpFlags(re,me,Be)}_parseFlagsOptionToMode(M,re){let me=!1,Be=!1;M&&this.ecmaVersion>=2015&&(typeof M=="object"?(me=!!M.unicode,this.ecmaVersion>=2024&&(Be=!!M.unicodeSets)):me=M),me&&Be&&this.raise("Invalid regular expression flags",{index:re+1,unicode:me,unicodeSets:Be});const y=me||Be,D=me&&this.ecmaVersion>=2018||Be||!!(this._options.strict&&this.ecmaVersion>=2023);return{unicodeMode:y,nFlag:D,unicodeSetsMode:Be}}get strict(){return!!this._options.strict||this._unicodeMode}get ecmaVersion(){var M;return(M=this._options.ecmaVersion)!==null&&M!==void 0?M:t}onLiteralEnter(M){this._options.onLiteralEnter&&this._options.onLiteralEnter(M)}onLiteralLeave(M,re){this._options.onLiteralLeave&&this._options.onLiteralLeave(M,re)}onRegExpFlags(M,re,me){this._options.onRegExpFlags&&this._options.onRegExpFlags(M,re,me),this._options.onFlags&&this._options.onFlags(M,re,me.global,me.ignoreCase,me.multiline,me.unicode,me.sticky,me.dotAll,me.hasIndices)}onPatternEnter(M){this._options.onPatternEnter&&this._options.onPatternEnter(M)}onPatternLeave(M,re){this._options.onPatternLeave&&this._options.onPatternLeave(M,re)}onDisjunctionEnter(M){this._options.onDisjunctionEnter&&this._options.onDisjunctionEnter(M)}onDisjunctionLeave(M,re){this._options.onDisjunctionLeave&&this._options.onDisjunctionLeave(M,re)}onAlternativeEnter(M,re){this._options.onAlternativeEnter&&this._options.onAlternativeEnter(M,re)}onAlternativeLeave(M,re,me){this._options.onAlternativeLeave&&this._options.onAlternativeLeave(M,re,me)}onGroupEnter(M){this._options.onGroupEnter&&this._options.onGroupEnter(M)}onGroupLeave(M,re){this._options.onGroupLeave&&this._options.onGroupLeave(M,re)}onModifiersEnter(M){this._options.onModifiersEnter&&this._options.onModifiersEnter(M)}onModifiersLeave(M,re){this._options.onModifiersLeave&&this._options.onModifiersLeave(M,re)}onAddModifiers(M,re,me){this._options.onAddModifiers&&this._options.onAddModifiers(M,re,me)}onRemoveModifiers(M,re,me){this._options.onRemoveModifiers&&this._options.onRemoveModifiers(M,re,me)}onCapturingGroupEnter(M,re){this._options.onCapturingGroupEnter&&this._options.onCapturingGroupEnter(M,re)}onCapturingGroupLeave(M,re,me){this._options.onCapturingGroupLeave&&this._options.onCapturingGroupLeave(M,re,me)}onQuantifier(M,re,me,Be,y){this._options.onQuantifier&&this._options.onQuantifier(M,re,me,Be,y)}onLookaroundAssertionEnter(M,re,me){this._options.onLookaroundAssertionEnter&&this._options.onLookaroundAssertionEnter(M,re,me)}onLookaroundAssertionLeave(M,re,me,Be){this._options.onLookaroundAssertionLeave&&this._options.onLookaroundAssertionLeave(M,re,me,Be)}onEdgeAssertion(M,re,me){this._options.onEdgeAssertion&&this._options.onEdgeAssertion(M,re,me)}onWordBoundaryAssertion(M,re,me,Be){this._options.onWordBoundaryAssertion&&this._options.onWordBoundaryAssertion(M,re,me,Be)}onAnyCharacterSet(M,re,me){this._options.onAnyCharacterSet&&this._options.onAnyCharacterSet(M,re,me)}onEscapeCharacterSet(M,re,me,Be){this._options.onEscapeCharacterSet&&this._options.onEscapeCharacterSet(M,re,me,Be)}onUnicodePropertyCharacterSet(M,re,me,Be,y,D,W){this._options.onUnicodePropertyCharacterSet&&this._options.onUnicodePropertyCharacterSet(M,re,me,Be,y,D,W)}onCharacter(M,re,me){this._options.onCharacter&&this._options.onCharacter(M,re,me)}onBackreference(M,re,me){this._options.onBackreference&&this._options.onBackreference(M,re,me)}onCharacterClassEnter(M,re,me){this._options.onCharacterClassEnter&&this._options.onCharacterClassEnter(M,re,me)}onCharacterClassLeave(M,re,me){this._options.onCharacterClassLeave&&this._options.onCharacterClassLeave(M,re,me)}onCharacterClassRange(M,re,me,Be){this._options.onCharacterClassRange&&this._options.onCharacterClassRange(M,re,me,Be)}onClassIntersection(M,re){this._options.onClassIntersection&&this._options.onClassIntersection(M,re)}onClassSubtraction(M,re){this._options.onClassSubtraction&&this._options.onClassSubtraction(M,re)}onClassStringDisjunctionEnter(M){this._options.onClassStringDisjunctionEnter&&this._options.onClassStringDisjunctionEnter(M)}onClassStringDisjunctionLeave(M,re){this._options.onClassStringDisjunctionLeave&&this._options.onClassStringDisjunctionLeave(M,re)}onStringAlternativeEnter(M,re){this._options.onStringAlternativeEnter&&this._options.onStringAlternativeEnter(M,re)}onStringAlternativeLeave(M,re,me){this._options.onStringAlternativeLeave&&this._options.onStringAlternativeLeave(M,re,me)}get index(){return this._reader.index}get currentCodePoint(){return this._reader.currentCodePoint}get nextCodePoint(){return this._reader.nextCodePoint}get nextCodePoint2(){return this._reader.nextCodePoint2}get nextCodePoint3(){return this._reader.nextCodePoint3}reset(M,re,me){this._reader.reset(M,re,me,this._unicodeMode)}rewind(M){this._reader.rewind(M)}advance(){this._reader.advance()}eat(M){return this._reader.eat(M)}eat2(M,re){return this._reader.eat2(M,re)}eat3(M,re,me){return this._reader.eat3(M,re,me)}raise(M,re){var me,Be,y;throw ot(this._srcCtx,{unicode:(me=re?.unicode)!==null&&me!==void 0?me:this._unicodeMode&&!this._unicodeSetsMode,unicodeSets:(Be=re?.unicodeSets)!==null&&Be!==void 0?Be:this._unicodeSetsMode},(y=re?.index)!==null&&y!==void 0?y:this.index,M)}eatRegExpBody(){const M=this.index;let re=!1,me=!1;for(;;){const Be=this.currentCodePoint;if(Be===-1||ft(Be)){const y=re?"character class":"regular expression";this.raise(`Unterminated ${y}`)}if(me)me=!1;else if(Be===se)me=!0;else if(Be===q)re=!0;else if(Be===ue)re=!1;else if(Be===ae&&!re||Be===X&&this.index===M)break;this.advance()}return this.index!==M}consumePattern(){const M=this.index;this._numCapturingParens=this.countCapturingParens(),this._groupSpecifiers.clear(),this._backreferenceNames.clear(),this.onPatternEnter(M),this.consumeDisjunction();const re=this.currentCodePoint;if(this.currentCodePoint!==-1){re===_&&this.raise("Unmatched ')'"),re===se&&this.raise("\\ at end of pattern"),(re===ue||re===ze)&&this.raise("Lone quantifier brackets");const me=String.fromCodePoint(re);this.raise(`Unexpected character '${me}'`)}for(const me of this._backreferenceNames)this._groupSpecifiers.hasInPattern(me)||this.raise("Invalid named capture referenced");this.onPatternLeave(M,this.index)}countCapturingParens(){const M=this.index;let re=!1,me=!1,Be=0,y=0;for(;(y=this.currentCodePoint)!==-1;)me?me=!1:y===se?me=!0:y===q?re=!0:y===ue?re=!1:y===N&&!re&&(this.nextCodePoint!==xe||this.nextCodePoint2===ie&&this.nextCodePoint3!==he&&this.nextCodePoint3!==P)&&(Be+=1),this.advance();return this.rewind(M),Be}consumeDisjunction(){const M=this.index;let re=0;this._groupSpecifiers.enterDisjunction(),this.onDisjunctionEnter(M);do this.consumeAlternative(re++);while(this.eat(Ge));this.consumeQuantifier(!0)&&this.raise("Nothing to repeat"),this.eat(Ie)&&this.raise("Lone quantifier brackets"),this.onDisjunctionLeave(M,this.index),this._groupSpecifiers.leaveDisjunction()}consumeAlternative(M){const re=this.index;for(this._groupSpecifiers.enterAlternative(M),this.onAlternativeEnter(re,M);this.currentCodePoint!==-1&&this.consumeTerm(););this.onAlternativeLeave(re,this.index,M)}consumeTerm(){return this._unicodeMode||this.strict?this.consumeAssertion()||this.consumeAtom()&&this.consumeOptionalQuantifier():this.consumeAssertion()&&(!this._lastAssertionIsQuantifiable||this.consumeOptionalQuantifier())||this.consumeExtendedAtom()&&this.consumeOptionalQuantifier()}consumeOptionalQuantifier(){return this.consumeQuantifier(),!0}consumeAssertion(){const M=this.index;if(this._lastAssertionIsQuantifiable=!1,this.eat(be))return this.onEdgeAssertion(M,this.index,"start"),!0;if(this.eat(F))return this.onEdgeAssertion(M,this.index,"end"),!0;if(this.eat2(se,ne))return this.onWordBoundaryAssertion(M,this.index,"word",!0),!0;if(this.eat2(se,lt))return this.onWordBoundaryAssertion(M,this.index,"word",!1),!0;if(this.eat2(N,xe)){const re=this.ecmaVersion>=2018&&this.eat(ie);let me=!1;if(this.eat(he)||(me=this.eat(P))){const Be=re?"lookbehind":"lookahead";return this.onLookaroundAssertionEnter(M,Be,me),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this._lastAssertionIsQuantifiable=!re&&!this.strict,this.onLookaroundAssertionLeave(M,this.index,Be,me),!0}this.rewind(M)}return!1}consumeQuantifier(M=!1){const re=this.index;let me=0,Be=0,y=!1;if(this.eat(X))me=0,Be=Number.POSITIVE_INFINITY;else if(this.eat(L))me=1,Be=Number.POSITIVE_INFINITY;else if(this.eat(xe))me=0,Be=1;else if(this.eatBracedQuantifier(M))({min:me,max:Be}=this._lastRange);else return!1;return y=!this.eat(xe),M||this.onQuantifier(re,this.index,me,Be,y),!0}eatBracedQuantifier(M){const re=this.index;if(this.eat(Ie)){if(this.eatDecimalDigits()){const me=this._lastIntValue;let Be=me;if(this.eat(K)&&(Be=this.eatDecimalDigits()?this._lastIntValue:Number.POSITIVE_INFINITY),this.eat(ze))return!M&&Be<me&&this.raise("numbers out of order in {} quantifier"),this._lastRange={min:me,max:Be},!0}!M&&(this._unicodeMode||this.strict)&&this.raise("Incomplete quantifier"),this.rewind(re)}return!1}consumeAtom(){return this.consumePatternCharacter()||this.consumeDot()||this.consumeReverseSolidusAtomEscape()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()}consumeDot(){return this.eat(ge)?(this.onAnyCharacterSet(this.index-1,this.index,"any"),!0):!1}consumeReverseSolidusAtomEscape(){const M=this.index;if(this.eat(se)){if(this.consumeAtomEscape())return!0;this.rewind(M)}return!1}consumeUncapturingGroup(){const M=this.index;return this.eat2(N,xe)?(this.onGroupEnter(M),this.ecmaVersion>=2025&&this.consumeModifiers(),this.eat(fe)||(this.rewind(M+1),this.raise("Invalid group")),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this.onGroupLeave(M,this.index),!0):!1}consumeModifiers(){const M=this.index,re=this.eatModifiers(),me=this.index,Be=this.eat(J);if(!re&&!Be)return!1;this.onModifiersEnter(M);const y=this.parseModifiers(M,me);if(this.onAddModifiers(M,me,y),Be){const D=this.index;!this.eatModifiers()&&!re&&this.currentCodePoint===fe&&this.raise("Invalid empty flags");const W=this.parseModifiers(D,this.index);for(const[Q]of Object.entries(W).filter(([,ye])=>ye))y[Q]&&this.raise(`Duplicated flag '${String.fromCodePoint(Ht[Q])}'`);this.onRemoveModifiers(D,this.index,W)}return this.onModifiersLeave(M,this.index),!0}consumeCapturingGroup(){const M=this.index;if(this.eat(N)){let re=null;if(this.ecmaVersion>=2018){if(this.consumeGroupSpecifier())re=this._lastStrValue;else if(this.currentCodePoint===xe)return this.rewind(M),!1}else if(this.currentCodePoint===xe)return this.rewind(M),!1;return this.onCapturingGroupEnter(M,re),this.consumeDisjunction(),this.eat(_)||this.raise("Unterminated group"),this.onCapturingGroupLeave(M,this.index,re),!0}return!1}consumeExtendedAtom(){return this.consumeDot()||this.consumeReverseSolidusAtomEscape()||this.consumeReverseSolidusFollowedByC()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()||this.consumeInvalidBracedQuantifier()||this.consumeExtendedPatternCharacter()}consumeReverseSolidusFollowedByC(){const M=this.index;return this.currentCodePoint===se&&this.nextCodePoint===et?(this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(M,this.index,se),!0):!1}consumeInvalidBracedQuantifier(){return this.eatBracedQuantifier(!0)&&this.raise("Nothing to repeat"),!1}consumePatternCharacter(){const M=this.index,re=this.currentCodePoint;return re!==-1&&!Qt(re)?(this.advance(),this.onCharacter(M,this.index,re),!0):!1}consumeExtendedPatternCharacter(){const M=this.index,re=this.currentCodePoint;return re!==-1&&re!==be&&re!==F&&re!==se&&re!==ge&&re!==X&&re!==L&&re!==xe&&re!==N&&re!==_&&re!==q&&re!==Ge?(this.advance(),this.onCharacter(M,this.index,re),!0):!1}consumeGroupSpecifier(){const M=this.index;if(this.eat(xe)){if(this.eatGroupName()){if(!this._groupSpecifiers.hasInScope(this._lastStrValue))return this._groupSpecifiers.addToScope(this._lastStrValue),!0;this.raise("Duplicate capture group name")}this.rewind(M)}return!1}consumeAtomEscape(){return this.consumeBackreference()||this.consumeCharacterClassEscape()||this.consumeCharacterEscape()||this._nFlag&&this.consumeKGroupName()?!0:((this.strict||this._unicodeMode)&&this.raise("Invalid escape"),!1)}consumeBackreference(){const M=this.index;if(this.eatDecimalEscape()){const re=this._lastIntValue;if(re<=this._numCapturingParens)return this.onBackreference(M-1,this.index,re),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(M)}return!1}consumeCharacterClassEscape(){var M;const re=this.index;if(this.eat(qe))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"digit",!1),{};if(this.eat(Ae))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"digit",!0),{};if(this.eat(We))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"space",!1),{};if(this.eat(Te))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"space",!0),{};if(this.eat(V))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"word",!1),{};if(this.eat(Re))return this._lastIntValue=-1,this.onEscapeCharacterSet(re-1,this.index,"word",!0),{};let me=!1;if(this._unicodeMode&&this.ecmaVersion>=2018&&(this.eat(Ye)||(me=this.eat(oe)))){this._lastIntValue=-1;let Be=null;if(this.eat(Ie)&&(Be=this.eatUnicodePropertyValueExpression())&&this.eat(ze))return me&&Be.strings&&this.raise("Invalid property name"),this.onUnicodePropertyCharacterSet(re-1,this.index,"property",Be.key,Be.value,me,(M=Be.strings)!==null&&M!==void 0?M:!1),{mayContainStrings:Be.strings};this.raise("Invalid property name")}return null}consumeCharacterEscape(){const M=this.index;return this.eatControlEscape()||this.eatCControlLetter()||this.eatZero()||this.eatHexEscapeSequence()||this.eatRegExpUnicodeEscapeSequence()||!this.strict&&!this._unicodeMode&&this.eatLegacyOctalEscapeSequence()||this.eatIdentityEscape()?(this.onCharacter(M-1,this.index,this._lastIntValue),!0):!1}consumeKGroupName(){const M=this.index;if(this.eat(tt)){if(this.eatGroupName()){const re=this._lastStrValue;return this._backreferenceNames.add(re),this.onBackreference(M-1,this.index,re),!0}this.raise("Invalid named reference")}return!1}consumeCharacterClass(){const M=this.index;if(this.eat(q)){const re=this.eat(be);this.onCharacterClassEnter(M,re,this._unicodeSetsMode);const me=this.consumeClassContents();return this.eat(ue)||(this.currentCodePoint===-1&&this.raise("Unterminated character class"),this.raise("Invalid character in character class")),re&&me.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(M,this.index,re),me}return null}consumeClassContents(){if(this._unicodeSetsMode)return this.currentCodePoint===ue?{}:this.consumeClassSetExpression();const M=this.strict||this._unicodeMode;for(;;){const re=this.index;if(!this.consumeClassAtom())break;const me=this._lastIntValue;if(!this.eat(J))continue;if(this.onCharacter(this.index-1,this.index,J),!this.consumeClassAtom())break;const Be=this._lastIntValue;if(me===-1||Be===-1){M&&this.raise("Invalid character class");continue}me>Be&&this.raise("Range out of order in character class"),this.onCharacterClassRange(re,this.index,me,Be)}return{}}consumeClassAtom(){const M=this.index,re=this.currentCodePoint;if(re!==-1&&re!==se&&re!==ue)return this.advance(),this._lastIntValue=re,this.onCharacter(M,this.index,this._lastIntValue),!0;if(this.eat(se)){if(this.consumeClassEscape())return!0;if(!this.strict&&this.currentCodePoint===et)return this._lastIntValue=se,this.onCharacter(M,this.index,this._lastIntValue),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(M)}return!1}consumeClassEscape(){const M=this.index;if(this.eat(lt))return this._lastIntValue=E,this.onCharacter(M-1,this.index,this._lastIntValue),!0;if(this._unicodeMode&&this.eat(J))return this._lastIntValue=J,this.onCharacter(M-1,this.index,this._lastIntValue),!0;let re=0;return!this.strict&&!this._unicodeMode&&this.currentCodePoint===et&&(it(re=this.nextCodePoint)||re===G)?(this.advance(),this.advance(),this._lastIntValue=re%32,this.onCharacter(M-1,this.index,this._lastIntValue),!0):!!this.consumeCharacterClassEscape()||this.consumeCharacterEscape()}consumeClassSetExpression(){const M=this.index;let re=!1,me=null;if(this.consumeClassSetCharacter()){if(this.consumeClassSetRangeFromOperator(M))return this.consumeClassUnionRight({}),{};re=!1}else if(me=this.consumeClassSetOperand())re=me.mayContainStrings;else{const Be=this.currentCodePoint;Be===se&&(this.advance(),this.raise("Invalid escape")),Be===this.nextCodePoint&&rr(Be)&&this.raise("Invalid set operation in character class"),this.raise("Invalid character in character class")}if(this.eat2($,$)){for(;this.currentCodePoint!==$&&(me=this.consumeClassSetOperand());)if(this.onClassIntersection(M,this.index),me.mayContainStrings||(re=!1),!this.eat2($,$))return{mayContainStrings:re};this.raise("Invalid character in character class")}if(this.eat2(J,J)){for(;this.consumeClassSetOperand();)if(this.onClassSubtraction(M,this.index),!this.eat2(J,J))return{mayContainStrings:re};this.raise("Invalid character in character class")}return this.consumeClassUnionRight({mayContainStrings:re})}consumeClassUnionRight(M){let re=M.mayContainStrings;for(;;){const me=this.index;if(this.consumeClassSetCharacter()){this.consumeClassSetRangeFromOperator(me);continue}const Be=this.consumeClassSetOperand();if(Be){Be.mayContainStrings&&(re=!0);continue}break}return{mayContainStrings:re}}consumeClassSetRangeFromOperator(M){const re=this.index,me=this._lastIntValue;if(this.eat(J)){if(this.consumeClassSetCharacter()){const Be=this._lastIntValue;return(me===-1||Be===-1)&&this.raise("Invalid character class"),me>Be&&this.raise("Range out of order in character class"),this.onCharacterClassRange(M,this.index,me,Be),!0}this.rewind(re)}return!1}consumeClassSetOperand(){let M=null;return(M=this.consumeNestedClass())||(M=this.consumeClassStringDisjunction())?M:this.consumeClassSetCharacter()?{}:null}consumeNestedClass(){const M=this.index;if(this.eat(q)){const re=this.eat(be);this.onCharacterClassEnter(M,re,!0);const me=this.consumeClassContents();return this.eat(ue)||this.raise("Unterminated character class"),re&&me.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(M,this.index,re),me}if(this.eat(se)){const re=this.consumeCharacterClassEscape();if(re)return re;this.rewind(M)}return null}consumeClassStringDisjunction(){const M=this.index;if(this.eat3(se,bt,Ie)){this.onClassStringDisjunctionEnter(M);let re=0,me=!1;do this.consumeClassString(re++).mayContainStrings&&(me=!0);while(this.eat(Ge));if(this.eat(ze))return this.onClassStringDisjunctionLeave(M,this.index),{mayContainStrings:me};this.raise("Unterminated class string disjunction")}return null}consumeClassString(M){const re=this.index;let me=0;for(this.onStringAlternativeEnter(re,M);this.currentCodePoint!==-1&&this.consumeClassSetCharacter();)me++;return this.onStringAlternativeLeave(re,this.index,M),{mayContainStrings:me!==1}}consumeClassSetCharacter(){const M=this.index,re=this.currentCodePoint;if((re!==this.nextCodePoint||!rr(re))&&re!==-1&&!pr(re))return this._lastIntValue=re,this.advance(),this.onCharacter(M,this.index,this._lastIntValue),!0;if(this.eat(se)){if(this.consumeCharacterEscape())return!0;if(Kt(this.currentCodePoint))return this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(M,this.index,this._lastIntValue),!0;if(this.eat(lt))return this._lastIntValue=E,this.onCharacter(M,this.index,this._lastIntValue),!0;this.rewind(M)}return!1}eatGroupName(){if(this.eat(ie)){if(this.eatRegExpIdentifierName()&&this.eat(Se))return!0;this.raise("Invalid capture group name")}return!1}eatRegExpIdentifierName(){if(this.eatRegExpIdentifierStart()){for(this._lastStrValue=String.fromCodePoint(this._lastIntValue);this.eatRegExpIdentifierPart();)this._lastStrValue+=String.fromCodePoint(this._lastIntValue);return!0}return!1}eatRegExpIdentifierStart(){const M=this.index,re=!this._unicodeMode&&this.ecmaVersion>=2020;let me=this.currentCodePoint;return this.advance(),me===se&&this.eatRegExpUnicodeEscapeSequence(re)?me=this._lastIntValue:re&&ht(me)&&xt(this.currentCodePoint)&&(me=St(me,this.currentCodePoint),this.advance()),qt(me)?(this._lastIntValue=me,!0):(this.index!==M&&this.rewind(M),!1)}eatRegExpIdentifierPart(){const M=this.index,re=!this._unicodeMode&&this.ecmaVersion>=2020;let me=this.currentCodePoint;return this.advance(),me===se&&this.eatRegExpUnicodeEscapeSequence(re)?me=this._lastIntValue:re&&ht(me)&&xt(this.currentCodePoint)&&(me=St(me,this.currentCodePoint),this.advance()),Ot(me)?(this._lastIntValue=me,!0):(this.index!==M&&this.rewind(M),!1)}eatCControlLetter(){const M=this.index;if(this.eat(et)){if(this.eatControlLetter())return!0;this.rewind(M)}return!1}eatZero(){return this.currentCodePoint===ke&&!it(this.nextCodePoint)?(this._lastIntValue=0,this.advance(),!0):!1}eatControlEscape(){return this.eat($e)?(this._lastIntValue=k,!0):this.eat(vt)?(this._lastIntValue=C,!0):this.eat(Ke)?(this._lastIntValue=R,!0):this.eat(Ee)?(this._lastIntValue=A,!0):this.eat(U)?(this._lastIntValue=w,!0):!1}eatControlLetter(){const M=this.currentCodePoint;return Xe(M)?(this.advance(),this._lastIntValue=M%32,!0):!1}eatRegExpUnicodeEscapeSequence(M=!1){const re=this.index,me=M||this._unicodeMode;if(this.eat(j)){if(me&&this.eatRegExpUnicodeSurrogatePairEscape()||this.eatFixedHexDigits(4)||me&&this.eatRegExpUnicodeCodePointEscape())return!0;(this.strict||me)&&this.raise("Invalid unicode escape"),this.rewind(re)}return!1}eatRegExpUnicodeSurrogatePairEscape(){const M=this.index;if(this.eatFixedHexDigits(4)){const re=this._lastIntValue;if(ht(re)&&this.eat(se)&&this.eat(j)&&this.eatFixedHexDigits(4)){const me=this._lastIntValue;if(xt(me))return this._lastIntValue=St(re,me),!0}this.rewind(M)}return!1}eatRegExpUnicodeCodePointEscape(){const M=this.index;return this.eat(Ie)&&this.eatHexDigits()&&this.eat(ze)&&mt(this._lastIntValue)?!0:(this.rewind(M),!1)}eatIdentityEscape(){const M=this.currentCodePoint;return this.isValidIdentityEscape(M)?(this._lastIntValue=M,this.advance(),!0):!1}isValidIdentityEscape(M){return M===-1?!1:this._unicodeMode?Qt(M)||M===ae:this.strict?!l(M):this._nFlag?!(M===et||M===tt):M!==et}eatDecimalEscape(){this._lastIntValue=0;let M=this.currentCodePoint;if(M>=Z&&M<=H){do this._lastIntValue=10*this._lastIntValue+(M-ke),this.advance();while((M=this.currentCodePoint)>=ke&&M<=H);return!0}return!1}eatUnicodePropertyValueExpression(){const M=this.index;if(this.eatUnicodePropertyName()&&this.eat(he)){const re=this._lastStrValue;if(this.eatUnicodePropertyValue()){const me=this._lastStrValue;if(b(this.ecmaVersion,re,me))return{key:re,value:me||null};this.raise("Invalid property name")}}if(this.rewind(M),this.eatLoneUnicodePropertyNameOrValue()){const re=this._lastStrValue;if(b(this.ecmaVersion,"General_Category",re))return{key:"General_Category",value:re||null};if(T(this.ecmaVersion,re))return{key:re,value:null};if(this._unicodeSetsMode&&x(this.ecmaVersion,re))return{key:re,value:null,strings:!0};this.raise("Invalid property name")}return null}eatUnicodePropertyName(){for(this._lastStrValue="";wr(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return this._lastStrValue!==""}eatUnicodePropertyValue(){for(this._lastStrValue="";Tr(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return this._lastStrValue!==""}eatLoneUnicodePropertyNameOrValue(){return this.eatUnicodePropertyValue()}eatHexEscapeSequence(){const M=this.index;if(this.eat(Y)){if(this.eatFixedHexDigits(2))return!0;(this._unicodeMode||this.strict)&&this.raise("Invalid escape"),this.rewind(M)}return!1}eatDecimalDigits(){const M=this.index;for(this._lastIntValue=0;it(this.currentCodePoint);)this._lastIntValue=10*this._lastIntValue+ct(this.currentCodePoint),this.advance();return this.index!==M}eatHexDigits(){const M=this.index;for(this._lastIntValue=0;rt(this.currentCodePoint);)this._lastIntValue=16*this._lastIntValue+ct(this.currentCodePoint),this.advance();return this.index!==M}eatLegacyOctalEscapeSequence(){if(this.eatOctalDigit()){const M=this._lastIntValue;if(this.eatOctalDigit()){const re=this._lastIntValue;M<=3&&this.eatOctalDigit()?this._lastIntValue=M*64+re*8+this._lastIntValue:this._lastIntValue=M*8+re}else this._lastIntValue=M;return!0}return!1}eatOctalDigit(){const M=this.currentCodePoint;return He(M)?(this.advance(),this._lastIntValue=M-ke,!0):(this._lastIntValue=0,!1)}eatFixedHexDigits(M){const re=this.index;this._lastIntValue=0;for(let me=0;me<M;++me){const Be=this.currentCodePoint;if(!rt(Be))return this.rewind(re),!1;this._lastIntValue=16*this._lastIntValue+ct(Be),this.advance()}return!0}eatModifiers(){let M=!1;for(;kr(this.currentCodePoint);)this.advance(),M=!0;return M}parseModifiers(M,re){const{ignoreCase:me,multiline:Be,dotAll:y}=this.parseFlags(this._reader.source,M,re);return{ignoreCase:me,multiline:Be,dotAll:y}}parseFlags(M,re,me){const Be={global:!1,ignoreCase:!1,multiline:!1,unicode:!1,sticky:!1,dotAll:!1,hasIndices:!1,unicodeSets:!1},y=new Set;y.add(nt),y.add(pt),y.add(Qe),this.ecmaVersion>=2015&&(y.add(j),y.add(le),this.ecmaVersion>=2018&&(y.add(We),this.ecmaVersion>=2022&&(y.add(qe),this.ecmaVersion>=2024&&y.add(U))));for(let D=re;D<me;++D){const W=M.charCodeAt(D);if(y.has(W)){const Q=tr[W];Be[Q]&&this.raise(`Duplicated flag '${M[D]}'`,{index:re}),Be[Q]=!0}else this.raise(`Invalid flag '${M[D]}'`,{index:re})}return Be}}const Vr={},$r={},ir={};function or(je){return je.type==="Character"||je.type==="CharacterSet"||je.type==="CharacterClass"||je.type==="ExpressionCharacterClass"||je.type==="ClassStringDisjunction"}class Dr{constructor(M){var re;this._node=Vr,this._expressionBufferMap=new Map,this._flags=$r,this._backreferences=[],this._capturingGroups=[],this.source="",this.strict=!!M?.strict,this.ecmaVersion=(re=M?.ecmaVersion)!==null&&re!==void 0?re:t}get pattern(){if(this._node.type!=="Pattern")throw new Error("UnknownError");return this._node}get flags(){if(this._flags.type!=="Flags")throw new Error("UnknownError");return this._flags}onRegExpFlags(M,re,{global:me,ignoreCase:Be,multiline:y,unicode:D,sticky:W,dotAll:Q,hasIndices:ye,unicodeSets:Ne}){this._flags={type:"Flags",parent:null,start:M,end:re,raw:this.source.slice(M,re),global:me,ignoreCase:Be,multiline:y,unicode:D,sticky:W,dotAll:Q,hasIndices:ye,unicodeSets:Ne}}onPatternEnter(M){this._node={type:"Pattern",parent:null,start:M,end:M,raw:"",alternatives:[]},this._backreferences.length=0,this._capturingGroups.length=0}onPatternLeave(M,re){this._node.end=re,this._node.raw=this.source.slice(M,re);for(const me of this._backreferences){const Be=me.ref,y=typeof Be=="number"?[this._capturingGroups[Be-1]]:this._capturingGroups.filter(D=>D.name===Be);if(y.length===1){const D=y[0];me.ambiguous=!1,me.resolved=D}else me.ambiguous=!0,me.resolved=y;for(const D of y)D.references.push(me)}}onAlternativeEnter(M){const re=this._node;if(re.type!=="Assertion"&&re.type!=="CapturingGroup"&&re.type!=="Group"&&re.type!=="Pattern")throw new Error("UnknownError");this._node={type:"Alternative",parent:re,start:M,end:M,raw:"",elements:[]},re.alternatives.push(this._node)}onAlternativeLeave(M,re){const me=this._node;if(me.type!=="Alternative")throw new Error("UnknownError");me.end=re,me.raw=this.source.slice(M,re),this._node=me.parent}onGroupEnter(M){const re=this._node;if(re.type!=="Alternative")throw new Error("UnknownError");const me={type:"Group",parent:re,start:M,end:M,raw:"",modifiers:null,alternatives:[]};this._node=me,re.elements.push(this._node)}onGroupLeave(M,re){const me=this._node;if(me.type!=="Group"||me.parent.type!=="Alternative")throw new Error("UnknownError");me.end=re,me.raw=this.source.slice(M,re),this._node=me.parent}onModifiersEnter(M){const re=this._node;if(re.type!=="Group")throw new Error("UnknownError");this._node={type:"Modifiers",parent:re,start:M,end:M,raw:"",add:null,remove:null},re.modifiers=this._node}onModifiersLeave(M,re){const me=this._node;if(me.type!=="Modifiers"||me.parent.type!=="Group")throw new Error("UnknownError");me.end=re,me.raw=this.source.slice(M,re),this._node=me.parent}onAddModifiers(M,re,{ignoreCase:me,multiline:Be,dotAll:y}){const D=this._node;if(D.type!=="Modifiers")throw new Error("UnknownError");D.add={type:"ModifierFlags",parent:D,start:M,end:re,raw:this.source.slice(M,re),ignoreCase:me,multiline:Be,dotAll:y}}onRemoveModifiers(M,re,{ignoreCase:me,multiline:Be,dotAll:y}){const D=this._node;if(D.type!=="Modifiers")throw new Error("UnknownError");D.remove={type:"ModifierFlags",parent:D,start:M,end:re,raw:this.source.slice(M,re),ignoreCase:me,multiline:Be,dotAll:y}}onCapturingGroupEnter(M,re){const me=this._node;if(me.type!=="Alternative")throw new Error("UnknownError");this._node={type:"CapturingGroup",parent:me,start:M,end:M,raw:"",name:re,alternatives:[],references:[]},me.elements.push(this._node),this._capturingGroups.push(this._node)}onCapturingGroupLeave(M,re){const me=this._node;if(me.type!=="CapturingGroup"||me.parent.type!=="Alternative")throw new Error("UnknownError");me.end=re,me.raw=this.source.slice(M,re),this._node=me.parent}onQuantifier(M,re,me,Be,y){const D=this._node;if(D.type!=="Alternative")throw new Error("UnknownError");const W=D.elements.pop();if(W==null||W.type==="Quantifier"||W.type==="Assertion"&&W.kind!=="lookahead")throw new Error("UnknownError");const Q={type:"Quantifier",parent:D,start:W.start,end:re,raw:this.source.slice(W.start,re),min:me,max:Be,greedy:y,element:W};D.elements.push(Q),W.parent=Q}onLookaroundAssertionEnter(M,re,me){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");const y=this._node={type:"Assertion",parent:Be,start:M,end:M,raw:"",kind:re,negate:me,alternatives:[]};Be.elements.push(y)}onLookaroundAssertionLeave(M,re){const me=this._node;if(me.type!=="Assertion"||me.parent.type!=="Alternative")throw new Error("UnknownError");me.end=re,me.raw=this.source.slice(M,re),this._node=me.parent}onEdgeAssertion(M,re,me){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");Be.elements.push({type:"Assertion",parent:Be,start:M,end:re,raw:this.source.slice(M,re),kind:me})}onWordBoundaryAssertion(M,re,me,Be){const y=this._node;if(y.type!=="Alternative")throw new Error("UnknownError");y.elements.push({type:"Assertion",parent:y,start:M,end:re,raw:this.source.slice(M,re),kind:me,negate:Be})}onAnyCharacterSet(M,re,me){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");Be.elements.push({type:"CharacterSet",parent:Be,start:M,end:re,raw:this.source.slice(M,re),kind:me})}onEscapeCharacterSet(M,re,me,Be){const y=this._node;if(y.type!=="Alternative"&&y.type!=="CharacterClass")throw new Error("UnknownError");y.elements.push({type:"CharacterSet",parent:y,start:M,end:re,raw:this.source.slice(M,re),kind:me,negate:Be})}onUnicodePropertyCharacterSet(M,re,me,Be,y,D,W){const Q=this._node;if(Q.type!=="Alternative"&&Q.type!=="CharacterClass")throw new Error("UnknownError");const ye={type:"CharacterSet",parent:null,start:M,end:re,raw:this.source.slice(M,re),kind:me,strings:null,key:Be};if(W){if(Q.type==="CharacterClass"&&!Q.unicodeSets||D||y!==null)throw new Error("UnknownError");Q.elements.push(Object.assign(Object.assign({},ye),{parent:Q,strings:W,value:y,negate:D}))}else Q.elements.push(Object.assign(Object.assign({},ye),{parent:Q,strings:W,value:y,negate:D}))}onCharacter(M,re,me){const Be=this._node;if(Be.type!=="Alternative"&&Be.type!=="CharacterClass"&&Be.type!=="StringAlternative")throw new Error("UnknownError");Be.elements.push({type:"Character",parent:Be,start:M,end:re,raw:this.source.slice(M,re),value:me})}onBackreference(M,re,me){const Be=this._node;if(Be.type!=="Alternative")throw new Error("UnknownError");const y={type:"Backreference",parent:Be,start:M,end:re,raw:this.source.slice(M,re),ref:me,ambiguous:!1,resolved:ir};Be.elements.push(y),this._backreferences.push(y)}onCharacterClassEnter(M,re,me){const Be=this._node,y={type:"CharacterClass",parent:Be,start:M,end:M,raw:"",unicodeSets:me,negate:re,elements:[]};if(Be.type==="Alternative"){const D=Object.assign(Object.assign({},y),{parent:Be});this._node=D,Be.elements.push(D)}else if(Be.type==="CharacterClass"&&Be.unicodeSets&&me){const D=Object.assign(Object.assign({},y),{parent:Be,unicodeSets:me});this._node=D,Be.elements.push(D)}else throw new Error("UnknownError")}onCharacterClassLeave(M,re){const me=this._node;if(me.type!=="CharacterClass"||me.parent.type!=="Alternative"&&me.parent.type!=="CharacterClass")throw new Error("UnknownError");const Be=me.parent;me.end=re,me.raw=this.source.slice(M,re),this._node=Be;const y=this._expressionBufferMap.get(me);if(!y)return;if(me.elements.length>0)throw new Error("UnknownError");this._expressionBufferMap.delete(me);const D={type:"ExpressionCharacterClass",parent:Be,start:me.start,end:me.end,raw:me.raw,negate:me.negate,expression:y};if(y.parent=D,me!==Be.elements.pop())throw new Error("UnknownError");Be.elements.push(D)}onCharacterClassRange(M,re){const me=this._node;if(me.type!=="CharacterClass")throw new Error("UnknownError");const Be=me.elements,y=Be.pop();if(!y||y.type!=="Character")throw new Error("UnknownError");if(!me.unicodeSets){const Q=Be.pop();if(!Q||Q.type!=="Character"||Q.value!==J)throw new Error("UnknownError")}const D=Be.pop();if(!D||D.type!=="Character")throw new Error("UnknownError");const W={type:"CharacterClassRange",parent:me,start:M,end:re,raw:this.source.slice(M,re),min:D,max:y};D.parent=W,y.parent=W,Be.push(W)}onClassIntersection(M,re){var me;const Be=this._node;if(Be.type!=="CharacterClass"||!Be.unicodeSets)throw new Error("UnknownError");const y=Be.elements.pop(),D=(me=this._expressionBufferMap.get(Be))!==null&&me!==void 0?me:Be.elements.pop();if(!D||!y||D.type==="ClassSubtraction"||D.type!=="ClassIntersection"&&!or(D)||!or(y))throw new Error("UnknownError");const W={type:"ClassIntersection",parent:Be,start:M,end:re,raw:this.source.slice(M,re),left:D,right:y};D.parent=W,y.parent=W,this._expressionBufferMap.set(Be,W)}onClassSubtraction(M,re){var me;const Be=this._node;if(Be.type!=="CharacterClass"||!Be.unicodeSets)throw new Error("UnknownError");const y=Be.elements.pop(),D=(me=this._expressionBufferMap.get(Be))!==null&&me!==void 0?me:Be.elements.pop();if(!D||!y||D.type==="ClassIntersection"||D.type!=="ClassSubtraction"&&!or(D)||!or(y))throw new Error("UnknownError");const W={type:"ClassSubtraction",parent:Be,start:M,end:re,raw:this.source.slice(M,re),left:D,right:y};D.parent=W,y.parent=W,this._expressionBufferMap.set(Be,W)}onClassStringDisjunctionEnter(M){const re=this._node;if(re.type!=="CharacterClass"||!re.unicodeSets)throw new Error("UnknownError");this._node={type:"ClassStringDisjunction",parent:re,start:M,end:M,raw:"",alternatives:[]},re.elements.push(this._node)}onClassStringDisjunctionLeave(M,re){const me=this._node;if(me.type!=="ClassStringDisjunction"||me.parent.type!=="CharacterClass")throw new Error("UnknownError");me.end=re,me.raw=this.source.slice(M,re),this._node=me.parent}onStringAlternativeEnter(M){const re=this._node;if(re.type!=="ClassStringDisjunction")throw new Error("UnknownError");this._node={type:"StringAlternative",parent:re,start:M,end:M,raw:"",elements:[]},re.alternatives.push(this._node)}onStringAlternativeLeave(M,re){const me=this._node;if(me.type!=="StringAlternative")throw new Error("UnknownError");me.end=re,me.raw=this.source.slice(M,re),this._node=me.parent}}class Sr{constructor(M){this._state=new Dr(M),this._validator=new Er(this._state)}parseLiteral(M,re=0,me=M.length){this._state.source=M,this._validator.validateLiteral(M,re,me);const Be=this._state.pattern,y=this._state.flags,D={type:"RegExpLiteral",parent:null,start:re,end:me,raw:M,pattern:Be,flags:y};return Be.parent=D,y.parent=D,D}parseFlags(M,re=0,me=M.length){return this._state.source=M,this._validator.validateFlags(M,re,me),this._state.flags}parsePattern(M,re=0,me=M.length,Be=void 0){return this._state.source=M,this._validator.validatePattern(M,re,me,Be),this._state.pattern}}class nr{constructor(M){this._handlers=M}visit(M){switch(M.type){case"Alternative":this.visitAlternative(M);break;case"Assertion":this.visitAssertion(M);break;case"Backreference":this.visitBackreference(M);break;case"CapturingGroup":this.visitCapturingGroup(M);break;case"Character":this.visitCharacter(M);break;case"CharacterClass":this.visitCharacterClass(M);break;case"CharacterClassRange":this.visitCharacterClassRange(M);break;case"CharacterSet":this.visitCharacterSet(M);break;case"ClassIntersection":this.visitClassIntersection(M);break;case"ClassStringDisjunction":this.visitClassStringDisjunction(M);break;case"ClassSubtraction":this.visitClassSubtraction(M);break;case"ExpressionCharacterClass":this.visitExpressionCharacterClass(M);break;case"Flags":this.visitFlags(M);break;case"Group":this.visitGroup(M);break;case"Modifiers":this.visitModifiers(M);break;case"ModifierFlags":this.visitModifierFlags(M);break;case"Pattern":this.visitPattern(M);break;case"Quantifier":this.visitQuantifier(M);break;case"RegExpLiteral":this.visitRegExpLiteral(M);break;case"StringAlternative":this.visitStringAlternative(M);break;default:throw new Error(`Unknown type: ${M.type}`)}}visitAlternative(M){this._handlers.onAlternativeEnter&&this._handlers.onAlternativeEnter(M),M.elements.forEach(this.visit,this),this._handlers.onAlternativeLeave&&this._handlers.onAlternativeLeave(M)}visitAssertion(M){this._handlers.onAssertionEnter&&this._handlers.onAssertionEnter(M),(M.kind==="lookahead"||M.kind==="lookbehind")&&M.alternatives.forEach(this.visit,this),this._handlers.onAssertionLeave&&this._handlers.onAssertionLeave(M)}visitBackreference(M){this._handlers.onBackreferenceEnter&&this._handlers.onBackreferenceEnter(M),this._handlers.onBackreferenceLeave&&this._handlers.onBackreferenceLeave(M)}visitCapturingGroup(M){this._handlers.onCapturingGroupEnter&&this._handlers.onCapturingGroupEnter(M),M.alternatives.forEach(this.visit,this),this._handlers.onCapturingGroupLeave&&this._handlers.onCapturingGroupLeave(M)}visitCharacter(M){this._handlers.onCharacterEnter&&this._handlers.onCharacterEnter(M),this._handlers.onCharacterLeave&&this._handlers.onCharacterLeave(M)}visitCharacterClass(M){this._handlers.onCharacterClassEnter&&this._handlers.onCharacterClassEnter(M),M.elements.forEach(this.visit,this),this._handlers.onCharacterClassLeave&&this._handlers.onCharacterClassLeave(M)}visitCharacterClassRange(M){this._handlers.onCharacterClassRangeEnter&&this._handlers.onCharacterClassRangeEnter(M),this.visitCharacter(M.min),this.visitCharacter(M.max),this._handlers.onCharacterClassRangeLeave&&this._handlers.onCharacterClassRangeLeave(M)}visitCharacterSet(M){this._handlers.onCharacterSetEnter&&this._handlers.onCharacterSetEnter(M),this._handlers.onCharacterSetLeave&&this._handlers.onCharacterSetLeave(M)}visitClassIntersection(M){this._handlers.onClassIntersectionEnter&&this._handlers.onClassIntersectionEnter(M),this.visit(M.left),this.visit(M.right),this._handlers.onClassIntersectionLeave&&this._handlers.onClassIntersectionLeave(M)}visitClassStringDisjunction(M){this._handlers.onClassStringDisjunctionEnter&&this._handlers.onClassStringDisjunctionEnter(M),M.alternatives.forEach(this.visit,this),this._handlers.onClassStringDisjunctionLeave&&this._handlers.onClassStringDisjunctionLeave(M)}visitClassSubtraction(M){this._handlers.onClassSubtractionEnter&&this._handlers.onClassSubtractionEnter(M),this.visit(M.left),this.visit(M.right),this._handlers.onClassSubtractionLeave&&this._handlers.onClassSubtractionLeave(M)}visitExpressionCharacterClass(M){this._handlers.onExpressionCharacterClassEnter&&this._handlers.onExpressionCharacterClassEnter(M),this.visit(M.expression),this._handlers.onExpressionCharacterClassLeave&&this._handlers.onExpressionCharacterClassLeave(M)}visitFlags(M){this._handlers.onFlagsEnter&&this._handlers.onFlagsEnter(M),this._handlers.onFlagsLeave&&this._handlers.onFlagsLeave(M)}visitGroup(M){this._handlers.onGroupEnter&&this._handlers.onGroupEnter(M),M.modifiers&&this.visit(M.modifiers),M.alternatives.forEach(this.visit,this),this._handlers.onGroupLeave&&this._handlers.onGroupLeave(M)}visitModifiers(M){this._handlers.onModifiersEnter&&this._handlers.onModifiersEnter(M),M.add&&this.visit(M.add),M.remove&&this.visit(M.remove),this._handlers.onModifiersLeave&&this._handlers.onModifiersLeave(M)}visitModifierFlags(M){this._handlers.onModifierFlagsEnter&&this._handlers.onModifierFlagsEnter(M),this._handlers.onModifierFlagsLeave&&this._handlers.onModifierFlagsLeave(M)}visitPattern(M){this._handlers.onPatternEnter&&this._handlers.onPatternEnter(M),M.alternatives.forEach(this.visit,this),this._handlers.onPatternLeave&&this._handlers.onPatternLeave(M)}visitQuantifier(M){this._handlers.onQuantifierEnter&&this._handlers.onQuantifierEnter(M),this.visit(M.element),this._handlers.onQuantifierLeave&&this._handlers.onQuantifierLeave(M)}visitRegExpLiteral(M){this._handlers.onRegExpLiteralEnter&&this._handlers.onRegExpLiteralEnter(M),this.visitPattern(M.pattern),this.visitFlags(M.flags),this._handlers.onRegExpLiteralLeave&&this._handlers.onRegExpLiteralLeave(M)}visitStringAlternative(M){this._handlers.onStringAlternativeEnter&&this._handlers.onStringAlternativeEnter(M),M.elements.forEach(this.visit,this),this._handlers.onStringAlternativeLeave&&this._handlers.onStringAlternativeLeave(M)}}function Et(je,M){return new Sr(M).parseLiteral(String(je))}function Wr(je,M){new Er(M).validateLiteral(je)}function Ir(je,M){new nr(M).visit(je)}return Zt.AST=m,Zt.RegExpParser=Sr,Zt.RegExpSyntaxError=Ut,Zt.RegExpValidator=Er,Zt.parseRegExpLiteral=Et,Zt.validateRegExpLiteral=Wr,Zt.visitRegExpAST=Ir,Zt}var mo,Tg;function aA(){if(Tg)return mo;Tg=1;const m=er().RegExpValidator,t=new class{constructor(){this._source="",this._controlChars=[],this._validator=new m(this)}onPatternEnter(){this._controlChars=[]}onCharacter(p,d,e){e>=0&&e<=31&&(this._source.codePointAt(p)===e||this._source.slice(p,d).startsWith("\\x")||this._source.slice(p,d).startsWith("\\u"))&&this._controlChars.push(`\\x${`0${e.toString(16)}`.slice(-2)}`)}collectControlChars(p,d){const e=typeof d=="string"&&d.includes("u"),l=typeof d=="string"&&d.includes("v");this._controlChars=[],this._source=p;try{this._validator.validatePattern(p,void 0,void 0,{unicode:e,unicodeSets:l})}catch{}return this._controlChars}};return mo={meta:{type:"problem",docs:{description:"Disallow control characters in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-control-regex"},schema:[],messages:{unexpected:"Unexpected control character(s) in regular expression: {{controlChars}}."}},create(p){function d(e){if(e.regex)return e.regex;if(typeof e.value=="string"&&(e.parent.type==="NewExpression"||e.parent.type==="CallExpression")&&e.parent.callee.type==="Identifier"&&e.parent.callee.name==="RegExp"&&e.parent.arguments[0]===e){const l=e.value,f=e.parent.arguments.length>1&&e.parent.arguments[1].type==="Literal"&&typeof e.parent.arguments[1].value=="string"?e.parent.arguments[1].value:null;return{pattern:l,flags:f}}return null}return{Literal(e){const l=d(e);if(l){const{pattern:f,flags:o}=l,r=t.collectControlChars(f,o);r.length>0&&p.report({node:e,messageId:"unexpected",data:{controlChars:r.join(", ")}})}}}}},mo}var ho,kg;function iA(){return kg||(kg=1,ho={meta:{type:"problem",docs:{description:"Disallow the use of `debugger`",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-debugger"},fixable:null,schema:[],messages:{unexpected:"Unexpected 'debugger' statement."}},create(m){return{DebuggerStatement(t){m.report({node:t,messageId:"unexpected"})}}}}),ho}var go,Dg;function oA(){return Dg||(Dg=1,go={meta:{type:"suggestion",docs:{description:"Disallow deleting variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-delete-var"},schema:[],messages:{unexpected:"Variables should not be deleted."}},create(m){return{UnaryExpression(t){t.operator==="delete"&&t.argument.type==="Identifier"&&m.report({node:t,messageId:"unexpected"})}}}}),go}var yo,Ig;function lA(){return Ig||(Ig=1,yo={meta:{type:"suggestion",docs:{description:"Disallow equal signs explicitly at the beginning of regular expressions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-div-regex"},fixable:"code",schema:[],messages:{unexpected:"A regular expression literal can be confused with '/='."}},create(m){const t=m.sourceCode;return{Literal(p){const d=t.getFirstToken(p);d.type==="RegularExpression"&&d.value[1]==="="&&m.report({node:p,messageId:"unexpected",fix(e){return e.replaceTextRange([d.range[0]+1,d.range[0]+2],"[=]")}})}}}}),yo}var vo,Pg;function uA(){if(Pg)return vo;Pg=1;const m=Le();return vo={meta:{type:"problem",docs:{description:"Disallow duplicate arguments in `function` definitions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-args"},schema:[],messages:{unexpected:"Duplicate param '{{name}}'."}},create(t){const p=t.sourceCode;function d(l){return l.type==="Parameter"}function e(l){const f=p.getDeclaredVariables(l);for(let o=0;o<f.length;++o){const r=f[o],u=r.defs.filter(d),s={start:m.getOpeningParenOfParams(l,p).loc.start,end:p.getTokenBefore(l.body).loc.end};u.length>=2&&t.report({loc:s,messageId:"unexpected",data:{name:r.name}})}}return{FunctionDeclaration:e,FunctionExpression:e}}},vo}var Eo,Fg;function cA(){if(Fg)return Eo;Fg=1;const m=Le();return Eo={meta:{type:"problem",dialects:["javascript","typescript"],language:"javascript",docs:{description:"Disallow duplicate class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-class-members"},schema:[],messages:{unexpected:"Duplicate name '{{name}}'."}},create(t){let p=[];function d(e,l){const f=p.at(-1),o=`$${e}`;return f[o]||(f[o]={nonStatic:{init:!1,get:!1,set:!1},static:{init:!1,get:!1,set:!1}}),f[o][l?"static":"nonStatic"]}return{Program(){p=[]},ClassBody(){p.push(Object.create(null))},"ClassBody:exit"(){p.pop()},"MethodDefinition, PropertyDefinition"(e){if(e.value&&e.value.type==="TSEmptyBodyFunctionExpression")return;const l=m.getStaticPropertyName(e),f=e.type==="MethodDefinition"?e.kind:"field";if(l===null||f==="constructor")return;const o=d(l,e.static);let r;f==="get"?(r=o.init||o.get,o.get=!0):f==="set"?(r=o.init||o.set,o.set=!0):(r=o.init||o.get||o.set,o.init=!0),r&&t.report({loc:e.key.loc,messageId:"unexpected",data:{name:l}})}}}},Eo}var So,Rg;function fA(){if(Rg)return So;Rg=1;const m=Le();function t(l,f,o){return f.every(r=>o.some(u=>l(r,u)))}function p(l,f){return f.type==="LogicalExpression"&&f.operator===l?[...p(l,f.left),...p(l,f.right)]:[f]}const d=p.bind(null,"||"),e=p.bind(null,"&&");return So={meta:{type:"problem",docs:{description:"Disallow duplicate conditions in if-else-if chains",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-else-if"},schema:[],messages:{unexpected:"This branch can never execute. Its condition is a duplicate or covered by previous conditions in the if-else-if chain."}},create(l){const f=l.sourceCode;function o(u,s){return u.type!==s.type?!1:u.type==="LogicalExpression"&&(u.operator==="||"||u.operator==="&&")&&u.operator===s.operator?o(u.left,s.left)&&o(u.right,s.right)||o(u.left,s.right)&&o(u.right,s.left):m.equalTokens(u,s,f)}const r=t.bind(null,o);return{IfStatement(u){const s=u.test,a=s.type==="LogicalExpression"&&s.operator==="&&"?[s,...e(s)]:[s];let c=u,n=a.map(i=>d(i).map(e));for(;c.parent&&c.parent.type==="IfStatement"&&c.parent.alternate===c;){c=c.parent;const i=d(c.test).map(e);if(n=n.map(h=>h.filter(g=>!i.some(v=>r(v,g)))),n.some(h=>h.length===0)){l.report({node:s,messageId:"unexpected"});break}}}}}},So}var bo,_g;function pA(){if(_g)return bo;_g=1;const m=Le(),t=/^(?:init|get)$/u,p=/^(?:init|set)$/u;class d{constructor(l,f){this.upper=l,this.node=f,this.properties=new Map}getPropertyInfo(l){const f=m.getStaticPropertyName(l);return this.properties.has(f)||this.properties.set(f,{get:!1,set:!1}),this.properties.get(f)}isPropertyDefined(l){const f=this.getPropertyInfo(l);return t.test(l.kind)&&f.get||p.test(l.kind)&&f.set}defineProperty(l){const f=this.getPropertyInfo(l);t.test(l.kind)&&(f.get=!0),p.test(l.kind)&&(f.set=!0)}}return bo={meta:{type:"problem",docs:{description:"Disallow duplicate keys in object literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-keys"},schema:[],messages:{unexpected:"Duplicate key '{{name}}'."}},create(e){let l=null;return{ObjectExpression(f){l=new d(l,f)},"ObjectExpression:exit"(){l=l.upper},Property(f){const o=m.getStaticPropertyName(f);f.parent.type==="ObjectExpression"&&o!==null&&(o==="__proto__"&&f.kind==="init"&&!f.computed&&!f.shorthand&&!f.method||(l.isPropertyDefined(f)&&e.report({node:l.node,loc:f.key.loc,messageId:"unexpected",data:{name:o}}),l.defineProperty(f)))}}}},bo}var xo,Bg;function dA(){if(Bg)return xo;Bg=1;const m=Le();return xo={meta:{type:"problem",docs:{description:"Disallow duplicate case labels",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-duplicate-case"},schema:[],messages:{unexpected:"Duplicate case label."}},create(t){const p=t.sourceCode;function d(e,l){return e.type!==l.type?!1:m.equalTokens(e,l,p)}return{SwitchStatement(e){const l=[];for(const f of e.cases)if(f.test){const o=f.test;l.some(r=>d(r,o))?t.report({node:f,messageId:"unexpected"}):l.push(o)}}}}},xo}var Co,Lg;function mA(){if(Lg)return Co;Lg=1;const m=["ImportSpecifier","ExportSpecifier"],t=["ImportNamespaceSpecifier","ExportNamespaceSpecifier"];function p(s,a){return(a==="named"?m:t).includes(s)}function d(s){if(s.specifiers&&s.specifiers.length>0){const a=s.specifiers,c=a.findIndex(({type:i})=>p(i,"named")||p(i,"namespace")),n=c>-1?c:0;return a[n].type}return s.type==="ExportAllDeclaration"?s.exported?"ExportNamespaceSpecifier":"ExportAll":"SideEffectImport"}function e(s,a){const c=d(s),n=d(a);if((s.importKind==="type"||s.exportKind==="type")&&(a.importKind==="type"||a.exportKind==="type")){const i=c==="ImportDefaultSpecifier",h=n==="ImportDefaultSpecifier",g=p(c,"named"),v=p(n,"named");if(i&&v||h&&g)return!1}return!(c==="ExportAll"&&n!=="ExportAll"&&n!=="SideEffectImport"||c!=="ExportAll"&&c!=="SideEffectImport"&&n==="ExportAll"||p(c,"namespace")&&p(n,"named")||p(n,"namespace")&&p(c,"named"))}function l(s,a,c){let n=0;for(;n<a.length;){const i=a[n];if(c){const h=s.importKind==="type"||s.exportKind==="type",g=i.importKind==="type"||i.exportKind==="type";if(h!==g){n++;continue}}if(e(s,i))return!0;n++}return!1}function f(s,a){return s.filter(({declarationType:c})=>c===a).map(({node:c})=>c)}function o(s){return s&&s.source&&s.source.value?s.source.value.trim():""}function r(s,a,c,n,i,h){const g=o(a);if(c.has(g)){const v=c.get(g),S=[],b=f(v,"import");let T;i&&(T=f(v,"export")),n==="import"?(l(a,b,h)&&S.push("import"),i&&l(a,T,h)&&S.push("importAs")):n==="export"&&(l(a,T,h)&&S.push("export"),l(a,b,h)&&S.push("exportAs")),S.forEach(x=>s.report({node:a,messageId:x,data:{module:g}}))}}function u(s,a,c,n,i){return function(h){const g=o(h);if(g){r(s,h,a,c,n,i);const v={node:h,declarationType:c};let S=[v];a.has(g)&&(S=[...a.get(g),v]),a.set(g,S)}}}return Co={meta:{dialects:["javascript","typescript"],language:"javascript",type:"problem",defaultOptions:[{includeExports:!1,allowSeparateTypeImports:!1}],docs:{description:"Disallow duplicate module imports",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-duplicate-imports"},schema:[{type:"object",properties:{includeExports:{type:"boolean"},allowSeparateTypeImports:{type:"boolean"}},additionalProperties:!1}],messages:{import:"'{{module}}' import is duplicated.",importAs:"'{{module}}' import is duplicated as export.",export:"'{{module}}' export is duplicated.",exportAs:"'{{module}}' export is duplicated as import."}},create(s){const[{includeExports:a,allowSeparateTypeImports:c}]=s.options,n=new Map,i={ImportDeclaration:u(s,n,"import",a,c)};return a&&(i.ExportNamedDeclaration=u(s,n,"export",a,c),i.ExportAllDeclaration=u(s,n,"export",a,c)),i}},Co}var Ao,Og;function Ur(){if(Og)return Ao;Og=1;const m=Le();class t{constructor(d,e){this.fixer=d,this.sourceCode=e,this.retainedRange=null}retainRange(d){return this.retainedRange=d,this}retainEnclosingFunction(d){const e=m.getUpperFunction(d);return this.retainRange(e?e.range:this.sourceCode.ast.range)}retainSurroundingTokens(d){const e=this.sourceCode.getTokenBefore(d)||d,l=this.sourceCode.getTokenAfter(d)||d;return this.retainRange([e.range[0],l.range[1]])}replaceTextRange(d,e){let l;return this.retainedRange?l=[Math.min(this.retainedRange[0],d[0]),Math.max(this.retainedRange[1],d[1])]:l=d,this.fixer.replaceTextRange(l,this.sourceCode.text.slice(l[0],d[0])+e+this.sourceCode.text.slice(d[1],l[1]))}remove(d){return this.replaceTextRange(d.range,"")}}return Ao=t,Ao}var wo,Ng;function hA(){if(Ng)return wo;Ng=1;const m=Le(),t=Ur();return wo={meta:{type:"suggestion",defaultOptions:[{allowElseIf:!0}],docs:{description:"Disallow `else` blocks after `return` statements in `if` statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-else-return"},schema:[{type:"object",properties:{allowElseIf:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unexpected:"Unnecessary 'else' after 'return'."}},create(p){const[{allowElseIf:d}]=p.options,e=p.sourceCode;function l(g,v){if(g.length===0)return!0;const S=v.variableScope;if(v.variables.filter(({defs:x})=>x.length>0).some(({name:x})=>g.includes(x))||v!==S&&v.upper.type==="catch"&&v.upper.variables.some(({name:x})=>g.includes(x))||v.variables.filter(({defs:x,references:E})=>x.length===0&&E.length>0).some(({name:x})=>g.includes(x))||v.through.some(x=>g.includes(x.identifier.name)))return!1;if(v!==S){const x=v.block.range;if(S.variables.filter(({name:A})=>g.includes(A)).some(A=>A.defs.some(({node:{range:C}})=>x[0]<=C[0]&&C[1]<=x[1])))return!1}return!0}function f(g,v){if(g.type==="FunctionDeclaration")return!1;if(g.type!=="BlockStatement")return!0;const S=v.childScopes.find(({block:T})=>T===g);if(!S)return!0;const b=S.variables.map(({name:T})=>T);return l(b,v)}function o(g){const v=e.getScope(g.parent);p.report({node:g,messageId:"unexpected",fix(S){if(!f(g,v))return null;const b=e.getFirstToken(g),T=e.getTokenBefore(b),x=e.getText(g),E=e.getTokenBefore(T);let A,C;b.type==="Punctuator"&&b.value==="{"?C=e.getTokenAfter(b):C=b;const w=g.parent.consequent.type!=="BlockStatement"&&E.value!==";",k=/^[([/+`-]/u.test(C.value);if(w&&k)return null;const R=e.getLastToken(g),P=e.getTokenBefore(R);if(P.value!==";"){const B=e.getTokenAfter(R),F=B&&/^[([/+`-]/u.test(B.value),O=B&&B.loc.start.line===P.loc.start.line;if(F||O&&B.value!=="}")return null}return b.type==="Punctuator"&&b.value==="{"?A=x.slice(1,-1):A=x,new t(S,e).retainEnclosingFunction(g).replaceTextRange([T.range[0],g.range[1]],A)}})}function r(g){return g.type==="ReturnStatement"}function u(g){if(g.type==="BlockStatement"){const v=g.body,S=v.at(-1);return S&&r(S)}return r(g)}function s(g){return g.alternate&&g.consequent}function a(g){return g.type==="IfStatement"&&s(g)&&u(g.alternate)&&u(g.consequent)}function c(g){return r(g)||a(g)}function n(g){return g.type==="BlockStatement"?g.body.some(c):c(g)}function i(g){const v=g.parent;if(!m.STATEMENT_LIST_PARENTS.has(v.type))return;const S=[];let b;for(let T=g;T.type==="IfStatement";T=T.alternate){if(!T.alternate)return;S.push(T.consequent),b=T.alternate}S.every(n)&&o(b)}function h(g){const v=g.parent;if(!m.STATEMENT_LIST_PARENTS.has(v.type))return;const S=g.alternate;S&&n(g.consequent)&&o(S)}return{"IfStatement:exit":d?i:h}}},wo}var To,Mg;function gA(){if(Mg)return To;Mg=1;const m=Le();return To={meta:{hasSuggestions:!0,type:"suggestion",defaultOptions:[{allowEmptyCatch:!1}],docs:{description:"Disallow empty block statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty"},schema:[{type:"object",properties:{allowEmptyCatch:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Empty {{type}} statement.",suggestComment:"Add comment inside empty {{type}} statement."}},create(t){const[{allowEmptyCatch:p}]=t.options,d=t.sourceCode;return{BlockStatement(e){e.body.length===0&&(m.isFunction(e.parent)||p&&e.parent.type==="CatchClause"||d.getCommentsInside(e).length>0||t.report({node:e,messageId:"unexpected",data:{type:"block"},suggest:[{messageId:"suggestComment",data:{type:"block"},fix(l){const f=[e.range[0]+1,e.range[1]-1];return l.replaceTextRange(f," /* empty */ ")}}]}))},SwitchStatement(e){if(typeof e.cases>"u"||e.cases.length===0){const l=d.getTokenAfter(e.discriminant,m.isOpeningBraceToken),f=d.getLastToken(e);if(d.commentsExistBetween(l,f))return;t.report({node:e,loc:{start:l.loc.start,end:f.loc.end},messageId:"unexpected",data:{type:"switch"},suggest:[{messageId:"suggestComment",data:{type:"switch"},fix(o){const r=[l.range[1],f.range[0]];return o.replaceTextRange(r," /* empty */ ")}}]})}}}}},To}var ko,jg;function yA(){if(jg)return ko;jg=1;const{RegExpParser:m,visitRegExpAST:t}=er(),p=new m,d=/\[\]/u;return ko={meta:{type:"problem",docs:{description:"Disallow empty character classes in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-character-class"},schema:[],messages:{unexpected:"Empty class."}},create(e){return{"Literal[regex]"(l){const{pattern:f,flags:o}=l.regex;if(!d.test(f))return;let r;try{r=p.parsePattern(f,0,f.length,{unicode:o.includes("u"),unicodeSets:o.includes("v")})}catch{return}t(r,{onCharacterClassEnter(u){!u.negate&&u.elements.length===0&&e.report({node:l,messageId:"unexpected"})}})}}}},ko}var Do,Ug;function vA(){if(Ug)return Do;Ug=1;const m=Le(),t=Object.freeze(["functions","arrowFunctions","generatorFunctions","methods","generatorMethods","getters","setters","constructors","asyncFunctions","asyncMethods","privateConstructors","protectedConstructors","decoratedFunctions","overrideMethods"]);function p(e){const l=e.parent;let f;if(e.type==="ArrowFunctionExpression")return"arrowFunctions";if(l.type==="Property"){if(l.kind==="get")return"getters";if(l.kind==="set")return"setters";f=l.method?"methods":"functions"}else if(l.type==="MethodDefinition"){if(l.kind==="get")return"getters";if(l.kind==="set")return"setters";if(l.kind==="constructor")return"constructors";f="methods"}else f="functions";let o;if(e.generator)o="generator";else if(e.async)o="async";else return f;return o+f[0].toUpperCase()+f.slice(1)}function d(e){return e.params.some(l=>l.type==="TSParameterProperty")}return Do={meta:{dialects:["javascript","typescript"],language:"javascript",hasSuggestions:!0,type:"suggestion",defaultOptions:[{allow:[]}],docs:{description:"Disallow empty functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-empty-function"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:t},uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"Unexpected empty {{name}}.",suggestComment:"Add comment inside empty {{name}}."}},create(e){const[{allow:l}]=e.options,f=e.sourceCode;function o(u){const s=p(u);return!!(l.includes(s)||s==="constructors"&&(u.parent.accessibility==="private"&&l.includes("privateConstructors")||u.parent.accessibility==="protected"&&l.includes("protectedConstructors")||d(u))||/(?:g|s)etters|methods$/iu.test(s)&&(u.parent.decorators?.length&&l.includes("decoratedFunctions")||u.parent.override&&l.includes("overrideMethods")))}function r(u){const s=m.getFunctionNameWithKind(u),a=f.getTokens(u.body,{includeComments:!0,filter:m.isCommentToken});!o(u)&&u.body.type==="BlockStatement"&&u.body.body.length===0&&a.length===0&&e.report({node:u,loc:u.body.loc,messageId:"unexpected",data:{name:s},suggest:[{messageId:"suggestComment",data:{name:s},fix(c){const n=[u.body.range[0]+1,u.body.range[1]-1];return c.replaceTextRange(n," /* empty */ ")}}]})}return{ArrowFunctionExpression:r,FunctionDeclaration:r,FunctionExpression:r}}},Do}var Io,qg;function EA(){if(qg)return Io;qg=1;const m=Le();return Io={meta:{type:"problem",defaultOptions:[{allowObjectPatternsAsParameters:!1}],docs:{description:"Disallow empty destructuring patterns",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-pattern"},schema:[{type:"object",properties:{allowObjectPatternsAsParameters:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Unexpected empty {{type}} pattern."}},create(t){const[{allowObjectPatternsAsParameters:p}]=t.options;return{ObjectPattern(d){d.properties.length>0||p&&(m.isFunction(d.parent)||d.parent.type==="AssignmentPattern"&&m.isFunction(d.parent.parent)&&d.parent.right.type==="ObjectExpression"&&d.parent.right.properties.length===0)||t.report({node:d,messageId:"unexpected",data:{type:"object"}})},ArrayPattern(d){d.elements.length===0&&t.report({node:d,messageId:"unexpected",data:{type:"array"}})}}}},Io}var Po,Vg;function SA(){return Vg||(Vg=1,Po={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow empty static blocks",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-static-block"},schema:[],messages:{unexpected:"Unexpected empty static block.",suggestComment:"Add comment inside empty static block."}},create(m){const t=m.sourceCode;return{StaticBlock(p){if(p.body.length===0){const d=t.getFirstToken(p,{skip:1}),e=t.getLastToken(p);t.getCommentsBefore(e).length===0&&m.report({loc:{start:d.loc.start,end:e.loc.end},messageId:"unexpected",suggest:[{messageId:"suggestComment",fix(l){const f=[d.range[1],e.range[0]];return l.replaceTextRange(f," /* empty */ ")}}]})}}}}}),Po}var Fo,$g;function bA(){return $g||($g=1,Fo={meta:{type:"suggestion",docs:{description:"Disallow `null` comparisons without type-checking operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-eq-null"},schema:[],messages:{unexpected:"Use '===' to compare with null."}},create(m){return{BinaryExpression(t){const p=t.operator==="=="||t.operator==="!=";(t.right.type==="Literal"&&t.right.raw==="null"&&p||t.left.type==="Literal"&&t.left.raw==="null"&&p)&&m.report({node:t,messageId:"unexpected"})}}}}),Fo}var Ro,Wg;function xA(){if(Wg)return Ro;Wg=1;const m=Le(),t=Object.freeze(["global","window","globalThis"]);function p(d,e){return m.isSpecificMemberAccess(d,null,e)}return Ro={meta:{type:"suggestion",defaultOptions:[{allowIndirect:!1}],docs:{description:"Disallow the use of `eval()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-eval"},schema:[{type:"object",properties:{allowIndirect:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"eval can be harmful."}},create(d){const[{allowIndirect:e}]=d.options,l=d.sourceCode;let f=null;function o(c){const n=l.getScope(c).isStrict;f={upper:f,node:c,strict:n,isTopLevelOfScript:!1,defaultThis:!1,initialized:n}}function r(){f=f.upper}function u(c){const n=c.parent,i=c.type==="MemberExpression"?c.property:c,h=n.type==="CallExpression"&&n.callee===c?n:c;d.report({node:h,loc:i.loc,messageId:"unexpected"})}function s(c){for(let n=0;n<t.length;++n){const i=t[n],h=m.getVariableByName(c,i);if(!h)continue;const g=h.references;for(let v=0;v<g.length;++v){let b=g[v].identifier.parent;for(;p(b,i);)b=b.parent;p(b,"eval")&&u(b)}}}function a(c){const n=m.getVariableByName(c,"eval");if(!n)return;const i=n.references;for(let h=0;h<i.length;++h){const v=i[h].identifier;v.name==="eval"&&!m.isCallee(v)&&u(v)}}return e?{"CallExpression:exit"(c){const n=c.callee;!c.optional&&m.isSpecificId(n,"eval")&&u(n)}}:{"CallExpression:exit"(c){const n=c.callee;m.isSpecificId(n,"eval")&&u(n)},Program(c){const n=l.getScope(c),i=d.languageOptions.parserOptions.ecmaFeatures||{},h=n.isStrict||c.sourceType==="module"||i.globalReturn&&n.childScopes[0].isStrict,g=c.sourceType!=="module"&&!i.globalReturn;f={upper:null,node:c,strict:h,isTopLevelOfScript:g,defaultThis:!0,initialized:!0}},"Program:exit"(c){const n=l.getScope(c);r(),a(n),s(n)},FunctionDeclaration:o,"FunctionDeclaration:exit":r,FunctionExpression:o,"FunctionExpression:exit":r,"PropertyDefinition > *.value":o,"PropertyDefinition > *.value:exit":r,StaticBlock:o,"StaticBlock:exit":r,ThisExpression(c){p(c.parent,"eval")&&(f.initialized||(f.initialized=!0,f.defaultThis=m.isDefaultThisBinding(f.node,l)),(f.isTopLevelOfScript||!f.strict&&f.defaultThis)&&u(c.parent))}}}},Ro}var _o,Gg;function CA(){if(Gg)return _o;Gg=1;const m=Le();return _o={meta:{type:"problem",docs:{description:"Disallow reassigning exceptions in `catch` clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-ex-assign"},schema:[],messages:{unexpected:"Do not assign to the exception parameter."}},create(t){const p=t.sourceCode;function d(e){m.getModifyingReferences(e.references).forEach(l=>{t.report({node:l.identifier,messageId:"unexpected"})})}return{CatchClause(e){p.getDeclaredVariables(e).forEach(d)}}}},_o}var Bo,zg;function AA(){if(zg)return Bo;zg=1;const m=Le();return Bo={meta:{type:"suggestion",defaultOptions:[{exceptions:[]}],docs:{description:"Disallow extending native types",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extend-native"},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"{{builtin}} prototype is read only, properties should not be added."}},create(t){const p=t.sourceCode,d=new Set(t.options[0].exceptions),e=new Set(Object.keys(m.ECMASCRIPT_GLOBALS).filter(s=>s[0].toUpperCase()===s[0]).filter(s=>!d.has(s)));function l(s,a){t.report({node:s,messageId:"unexpected",data:{builtin:a}})}function f(s){return!!(s&&s.parent&&s.parent.type==="MemberExpression"&&s.parent.object===s&&m.getStaticPropertyName(s.parent)==="prototype")}function o(s){return s.parent.type==="MemberExpression"&&s.parent.object===s&&s.parent.parent.type==="AssignmentExpression"&&s.parent.parent.left===s.parent}function r(s){return s.parent.type==="CallExpression"&&s.parent.arguments[0]===s&&m.isSpecificMemberAccess(s.parent.callee,"Object",/^definePropert(?:y|ies)$/u)}function u(s){if(!f(s))return;const a=s.parent.parent.type==="ChainExpression"?s.parent.parent:s.parent;o(a)?l(a.parent.parent,s.name):r(a)&&l(a.parent,s.name)}return{"Program:exit"(s){const a=p.getScope(s);e.forEach(c=>{const n=a.set.get(c);n&&n.references&&n.references.map(i=>i.identifier).forEach(u)})}}}},Bo}var Lo,Hg;function wA(){if(Hg)return Lo;Hg=1;const m=Le(),t=new Set(["Literal","Identifier","ThisExpression","FunctionExpression"]);return Lo={meta:{type:"suggestion",docs:{description:"Disallow unnecessary calls to `.bind()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-bind"},schema:[],fixable:"code",messages:{unexpected:"The function binding is unnecessary."}},create(p){const d=p.sourceCode;let e=null;function l(c){return t.has(c.type)}function f(c){const n=c.parent,i=n.parent.type==="ChainExpression"?n.parent.parent:n.parent;p.report({node:i,messageId:"unexpected",loc:n.property.loc,fix(h){if(!l(i.arguments[0]))return null;const g=[[d.getTokenAfter(n.object,m.isNotClosingParenToken),d.getLastToken(n)],[d.getTokenAfter(n,m.isNotClosingParenToken),d.getLastToken(i)]],v=g[0][0],S=g[1][1];return d.commentsExistBetween(v,S)?null:g.map(([b,T])=>h.removeRange([b.range[0],T.range[1]]))}})}function o(c){if(!m.isSpecificMemberAccess(c.parent,null,"bind"))return!1;const n=c.parent.parent.type==="ChainExpression"?c.parent.parent:c.parent;return n.parent.type==="CallExpression"&&n.parent.callee===n&&n.parent.arguments.length===1&&n.parent.arguments[0].type!=="SpreadElement"}function r(c){e={isBound:o(c),thisFound:!1,upper:e}}function u(c){e.isBound&&!e.thisFound&&f(c),e=e.upper}function s(c){o(c)&&f(c)}function a(){e&&(e.thisFound=!0)}return{"ArrowFunctionExpression:exit":s,FunctionDeclaration:r,"FunctionDeclaration:exit":u,FunctionExpression:r,"FunctionExpression:exit":u,ThisExpression:a}}},Lo}var Oo,Kg;function TA(){if(Kg)return Oo;Kg=1;const m=Le(),t=Mt(),p=m.getPrecedence;return Oo={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow unnecessary boolean casts",recommended:!0,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-extra-boolean-cast"},schema:[{anyOf:[{type:"object",properties:{enforceForInnerExpressions:{type:"boolean"}},additionalProperties:!1},{type:"object",properties:{enforceForLogicalOperands:{type:"boolean"}},additionalProperties:!1}]}],fixable:"code",messages:{unexpectedCall:"Redundant Boolean call.",unexpectedNegation:"Redundant double negation."}},create(d){const e=d.sourceCode,[{enforceForLogicalOperands:l,enforceForInnerExpressions:f}]=d.options,o=new Set(["IfStatement","DoWhileStatement","WhileStatement","ConditionalExpression","ForStatement"]);function r(i){return(i.type==="CallExpression"||i.type==="NewExpression")&&i.callee.type==="Identifier"&&i.callee.name==="Boolean"}function u(i){return r(i.parent)&&i===i.parent.arguments[0]||o.has(i.parent.type)&&i===i.parent.test||i.parent.type==="UnaryExpression"&&i.parent.operator==="!"}function s(i){return i.parent.type==="ChainExpression"||(l||f)&&i.parent.type==="LogicalExpression"&&(i.parent.operator==="||"||i.parent.operator==="&&"||f&&i.parent.operator==="??"&&i.parent.right===i)||f&&(i.parent.type==="ConditionalExpression"&&(i.parent.consequent===i||i.parent.alternate===i)||i.parent.type==="SequenceExpression"&&i.parent.expressions.at(-1)===i)?s(i.parent):u(i)}function a(i){return!!e.getCommentsInside(i).length}function c(i){return t.isParenthesized(1,i,e)}function n(i,h){if(i.parent.type==="ChainExpression")return n(i.parent,h);if(c(i))return!1;const g=i.parent;switch(g.type){case"CallExpression":case"NewExpression":return h.type==="SequenceExpression";case"IfStatement":case"DoWhileStatement":case"WhileStatement":case"ForStatement":case"SequenceExpression":return!1;case"ConditionalExpression":if(i===g.test)return p(h)<=p(g);if(i===g.consequent||i===g.alternate)return p(h)<p({type:"AssignmentExpression"});throw new Error("Ternary child must be test, consequent, or alternate.");case"UnaryExpression":return p(h)<p(g);case"LogicalExpression":return m.isMixedLogicalAndCoalesceExpressions(h,g)?!0:i===g.left?p(h)<p(g):p(h)<=p(g);default:throw new Error(`Unexpected parent type: ${g.type}`)}}return{UnaryExpression(i){const h=i.parent;i.operator!=="!"||h.type!=="UnaryExpression"||h.operator!=="!"||s(h)&&d.report({node:h,messageId:"unexpectedNegation",fix(g){if(a(h))return null;if(n(h,i.argument))return g.replaceText(h,`(${e.getText(i.argument)})`);let v="";const S=e.getTokenBefore(h),b=e.getFirstToken(i.argument);return S&&S.range[1]===h.range[0]&&!m.canTokensBeAdjacent(S,b)&&(v=" "),g.replaceText(h,v+e.getText(i.argument))}})},CallExpression(i){i.callee.type!=="Identifier"||i.callee.name!=="Boolean"||s(i)&&d.report({node:i,messageId:"unexpectedCall",fix(h){const g=i.parent;if(i.arguments.length===0){if(g.type==="UnaryExpression"&&g.operator==="!"){if(a(g))return null;const v="true";let S="";const b=e.getTokenBefore(g);return b&&b.range[1]===g.range[0]&&!m.canTokensBeAdjacent(b,v)&&(S=" "),h.replaceText(g,S+v)}return a(i)?null:h.replaceText(i,"false")}if(i.arguments.length===1){const v=i.arguments[0];return v.type==="SpreadElement"||a(i)?null:n(i,v)?h.replaceText(i,`(${e.getText(v)})`):h.replaceText(i,e.getText(v))}return null}})}}}},Oo}var No,Xg;function kA(){if(Xg)return No;Xg=1;const m=Le();return No={meta:{type:"suggestion",docs:{description:"Disallow unnecessary labels",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-extra-label"},schema:[],fixable:"code",messages:{unexpected:"This label '{{name}}' is unnecessary."}},create(t){const p=t.sourceCode;let d=null;function e(u){d={label:u.parent.type==="LabeledStatement"?u.parent.label:null,breakable:!0,upper:d}}function l(){d=d.upper}function f(u){m.isBreakableStatement(u.body)||(d={label:u.label,breakable:!1,upper:d})}function o(u){m.isBreakableStatement(u.body)||(d=d.upper)}function r(u){if(!u.label)return;const s=u.label;for(let a=d;a!==null;a=a.upper)if(a.breakable||a.label&&a.label.name===s.name){a.breakable&&a.label&&a.label.name===s.name&&t.report({node:s,messageId:"unexpected",data:s,fix(c){const n=p.getFirstToken(u);return p.commentsExistBetween(n,s)?null:c.removeRange([n.range[1],s.range[1]])}});return}}return{WhileStatement:e,"WhileStatement:exit":l,DoWhileStatement:e,"DoWhileStatement:exit":l,ForStatement:e,"ForStatement:exit":l,ForInStatement:e,"ForInStatement:exit":l,ForOfStatement:e,"ForOfStatement:exit":l,SwitchStatement:e,"SwitchStatement:exit":l,LabeledStatement:f,"LabeledStatement:exit":o,BreakStatement:r,ContinueStatement:r}}},No}var Mo,Jg;function DA(){if(Jg)return Mo;Jg=1;const{isParenthesized:m}=Mt(),t=Le();return Mo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-extra-parens",url:"https://eslint.style/rules/no-extra-parens"}}]},type:"layout",docs:{description:"Disallow unnecessary parentheses",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-parens"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["functions"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["all"]},{type:"object",properties:{conditionalAssign:{type:"boolean"},ternaryOperandBinaryExpressions:{type:"boolean"},nestedBinaryExpressions:{type:"boolean"},returnAssign:{type:"boolean"},ignoreJSX:{enum:["none","all","single-line","multi-line"]},enforceForArrowConditionals:{type:"boolean"},enforceForSequenceExpressions:{type:"boolean"},enforceForNewInMemberExpressions:{type:"boolean"},enforceForFunctionPrototypeMethods:{type:"boolean"},allowParensAfterCommentPattern:{type:"string"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpected:"Unnecessary parentheses around expression."}},create(p){const d=p.sourceCode,e=new WeakSet,l=t.getPrecedence,f=p.options[0]!=="functions",o=f&&p.options[1]&&p.options[1].conditionalAssign===!1,r=f&&p.options[1]&&p.options[1].ternaryOperandBinaryExpressions===!1,u=f&&p.options[1]&&p.options[1].nestedBinaryExpressions===!1,s=f&&p.options[1]&&p.options[1].returnAssign===!1,a=f&&p.options[1]&&p.options[1].ignoreJSX,c=f&&p.options[1]&&p.options[1].enforceForArrowConditionals===!1,n=f&&p.options[1]&&p.options[1].enforceForSequenceExpressions===!1,i=f&&p.options[1]&&p.options[1].enforceForNewInMemberExpressions===!1,h=f&&p.options[1]&&p.options[1].enforceForFunctionPrototypeMethods===!1,g=f&&p.options[1]&&p.options[1].allowParensAfterCommentPattern,v=l({type:"AssignmentExpression"}),S=l({type:"UpdateExpression"});let b;function T(z){const oe=t.skipChainExpression(z);if(oe.type!=="CallExpression")return!1;const Te=t.skipChainExpression(oe.callee);return Te.type==="MemberExpression"&&Te.object.type==="FunctionExpression"&&["call","apply"].includes(t.getStaticPropertyName(Te))}function x(z){if(z.type==="JSXElement"||z.type==="JSXFragment"){const oe=z.loc.start.line===z.loc.end.line;switch(a){case"all":return!1;case"multi-line":return oe;case"single-line":return!oe}}return z.type==="SequenceExpression"&&n||T(z)&&h?!1:f||z.type==="FunctionExpression"||z.type==="ArrowFunctionExpression"}function E(z){return m(1,z,d)}function A(z){return m(2,z,d)}function C(z){return x(z)&&E(z)}function w(z){return x(z)&&A(z)}function k(z,oe){return!!(x(z)&&E(z)&&(l(z)>=oe||A(z)))}function R(z){return o&&z.test.type==="AssignmentExpression"}function P(z){for(let oe=z;oe;oe=oe.parent)if(oe.type==="ReturnStatement"||oe.type==="ArrowFunctionExpression"&&oe.body.type!=="BlockStatement")return!0;return!1}function B(z){const oe=d.getLastToken(z),Te=d.getTokenBefore(oe);return z.arguments.length>0||t.isOpeningParenToken(Te)&&t.isClosingParenToken(oe)&&z.callee.range[1]<z.range[1]}function F(z){return!!(z.type==="AssignmentExpression"||z.type==="ConditionalExpression"&&(z.consequent.type==="AssignmentExpression"||z.alternate.type==="AssignmentExpression")||z.left&&z.left.type==="AssignmentExpression"||z.right&&z.right.type==="AssignmentExpression")}function O(z){return!s||!P(z)?!1:z.type==="ReturnStatement"?z.argument&&F(z.argument):z.type==="ArrowFunctionExpression"&&z.body.type!=="BlockStatement"?F(z.body):F(z)}function $(z,oe){return z.loc.end.line===oe.loc.start.line?C(oe):w(oe)}function N(z){const oe=d.getTokenBefore(z),Te=d.getTokenBefore(oe,{includeComments:!0}),Re=d.getTokenAfter(oe,{includeComments:!0});return Te&&Te.range[1]===oe.range[0]&&oe.range[1]===Re.range[0]&&!t.canTokensBeAdjacent(Te,Re)}function _(z){const oe=d.getTokensAfter(z,{count:2}),Te=oe[0],Re=oe[1],Pe=d.getLastToken(z);return Te&&Re&&!d.isSpaceBetweenTokens(Te,Re)&&!t.canTokensBeAdjacent(Pe,Re)}function X(z){const oe=t.skipChainExpression(z);return oe.type==="CallExpression"&&oe.callee.type==="FunctionExpression"}function L(z){return z&&(z.type==="Identifier"||z.type==="MemberExpression")}function K(z){return z.type!=="Literal"||typeof z.value!="string"||A(z)?!0:!t.isTopLevelExpressionStatement(z.parent)}function J(z){const oe=d.getTokenBefore(z),Te=d.getTokenAfter(z);if(!A(z)){if(e.has(d.getFirstToken(z))||X(z)&&!E(z.callee))return;if(g){const Pe=d.getCommentsBefore(oe),G=Pe.length,Je=new RegExp(g,"u");if(G>0&&Je.test(Pe[G-1].value))return}}function Re(){p.report({node:z,loc:oe.loc,messageId:"unexpected",fix:K(z)?Pe=>{const G=d.text.slice(oe.range[1],Te.range[0]);return Pe.replaceTextRange([oe.range[0],Te.range[1]],(N(z)?" ":"")+G+(_(z)?" ":""))}:null})}if(b){b.reports.push({node:z,finishReport:Re});return}Re()}function ge(z){k(z.argument,l(z))&&J(z.argument)}function ae(z){let oe=z.object,Te=z.object.type;for(;Te==="MemberExpression";)oe=oe.object,Te=oe.type;return Te==="CallExpression"}function ke(z){const oe=z.callee;k(oe,l(z))&&(w(oe)||!(X(z)||oe.type==="NewExpression"&&!B(oe)&&!(z.type==="NewExpression"&&!B(z))||z.type==="NewExpression"&&oe.type==="MemberExpression"&&ae(oe)||!z.optional&&oe.type==="ChainExpression"))&&J(z.callee),z.arguments.filter(Te=>k(Te,v)).forEach(J)}function Z(z){const oe=l(z),Te=l(z.left),Re=l(z.right),Pe=z.operator==="**",G=u&&(z.left.type==="BinaryExpression"||z.left.type==="LogicalExpression"),Je=u&&(z.right.type==="BinaryExpression"||z.right.type==="LogicalExpression");!G&&C(z.left)&&(!(["AwaitExpression","UnaryExpression"].includes(z.left.type)&&Pe)&&!t.isMixedLogicalAndCoalesceExpressions(z.left,z)&&(Te>oe||Te===oe&&!Pe)||A(z.left))&&J(z.left),!Je&&C(z.right)&&(!t.isMixedLogicalAndCoalesceExpressions(z.right,z)&&(Re>oe||Re===oe&&Pe)||A(z.right))&&J(z.right)}function I(z){if(!z.superClass)return;(l(z.superClass)>S?C(z.superClass):w(z.superClass))&&J(z.superClass)}function H(z){k(z.argument,v)&&J(z.argument)}function fe(z){const oe=E(z)?d.getTokenBefore(z):d.getFirstToken(z),Te=d.getTokenAfter(oe,t.isNotOpeningParenToken),Re=Te?d.getTokenAfter(Te):null,Pe=Te?d.getTokenAfter(Te,t.isNotClosingParenToken):null;t.isOpeningParenToken(oe)&&(t.isOpeningBraceToken(Te)||Te.type==="Keyword"&&(Te.value==="function"||Te.value==="class"||Te.value==="let"&&Pe&&(t.isOpeningBracketToken(Pe)||Pe.type==="Identifier"))||Te&&Te.type==="Identifier"&&Te.value==="async"&&Re&&Re.type==="Keyword"&&Re.value==="function")&&e.add(Te),(z.parent.type==="ExportDefaultDeclaration"?k(z,v):C(z))&&J(z)}function ce(z,oe){const Te=[z];let Re=z;for(;Re!==oe;){if(Re=Re.parent,Re===null)throw new Error("Nodes are not in the ancestor-descendant relationship.");Te.push(Re)}return Te}function ie(z,oe){return ce(oe,z).reverse()}function he(z,oe){switch(z.type){case"ArrayExpression":case"ArrayPattern":case"BlockStatement":case"ObjectExpression":case"ObjectPattern":case"TemplateLiteral":return!0;case"ArrowFunctionExpression":case"FunctionExpression":return z.params.includes(oe);case"CallExpression":case"NewExpression":return z.arguments.includes(oe);case"MemberExpression":return z.computed&&z.property===oe;case"ConditionalExpression":return z.consequent===oe;default:return!1}}function Se(){b={upper:b,inExpressionNodes:[],reports:[]}}function xe(){const{upper:z,inExpressionNodes:oe,reports:Te}=b;z?(z.inExpressionNodes.push(...oe),z.reports.push(...Te)):Te.forEach(({finishReport:Re})=>Re()),b=z}function we(z){return b.reports.some(oe=>oe.node===z)}function ee(z){b.reports=b.reports.filter(oe=>oe.node!==z)}function ne(z){return z.type==="MemberExpression"?z.parent.type==="NewExpression"&&z.parent.callee===z?!0:z.parent.object===z&&ne(z.parent):!1}function Ae({left:z,operator:oe,right:Te}){if(z.type==="Identifier"&&["=","&&=","||=","??="].includes(oe)){const Re=Te.type;if(Re==="ArrowFunctionExpression"||(Re==="FunctionExpression"||Re==="ClassExpression")&&!Te.id)return!0}return!1}return{ArrayExpression(z){z.elements.filter(oe=>oe&&k(oe,v)).forEach(J)},ArrayPattern(z){z.elements.filter(oe=>L(oe)&&C(oe)).forEach(J)},ArrowFunctionExpression(z){if(!O(z)&&!(z.body.type==="ConditionalExpression"&&c)&&z.body.type!=="BlockStatement"){const oe=d.getFirstToken(z.body,t.isNotOpeningParenToken),Te=d.getTokenBefore(oe);t.isOpeningParenToken(Te)&&t.isOpeningBraceToken(oe)&&e.add(oe),k(z.body,v)&&J(z.body)}},AssignmentExpression(z){L(z.left)&&C(z.left)&&(!Ae(z)||A(z.left))&&J(z.left),!O(z)&&k(z.right,l(z))&&J(z.right)},BinaryExpression(z){b&&z.operator==="in"&&b.inExpressionNodes.push(z),Z(z)},CallExpression:ke,ConditionalExpression(z){if(O(z))return;const oe=new Set(["BinaryExpression","LogicalExpression"]);!(r&&oe.has(z.test.type))&&!R(z)&&k(z.test,l({type:"LogicalExpression",operator:"||"}))&&J(z.test),!(r&&oe.has(z.consequent.type))&&k(z.consequent,v)&&J(z.consequent),!(r&&oe.has(z.alternate.type))&&k(z.alternate,v)&&J(z.alternate)},DoWhileStatement(z){C(z.test)&&!R(z)&&J(z.test)},ExportDefaultDeclaration:z=>fe(z.declaration),ExpressionStatement:z=>fe(z.expression),ForInStatement(z){if(z.left.type!=="VariableDeclaration"){const oe=d.getFirstToken(z.left,t.isNotOpeningParenToken);oe.value==="let"&&t.isOpeningBracketToken(d.getTokenAfter(oe,t.isNotClosingParenToken))&&e.add(oe)}C(z.left)&&J(z.left),C(z.right)&&J(z.right)},ForOfStatement(z){if(z.left.type!=="VariableDeclaration"){const oe=d.getFirstToken(z.left,t.isNotOpeningParenToken);oe.value==="let"&&e.add(oe)}C(z.left)&&J(z.left),k(z.right,v)&&J(z.right)},ForStatement(z){if(z.test&&C(z.test)&&!R(z)&&J(z.test),z.update&&C(z.update)&&J(z.update),z.init){if(z.init.type!=="VariableDeclaration"){const oe=d.getFirstToken(z.init,t.isNotOpeningParenToken);oe.value==="let"&&t.isOpeningBracketToken(d.getTokenAfter(oe,t.isNotClosingParenToken))&&e.add(oe)}Se(),C(z.init)&&J(z.init)}},"ForStatement > *.init:exit"(z){b.reports.length&&b.inExpressionNodes.forEach(oe=>{const Te=ie(z,oe);let Re;for(let Pe=0;Pe<Te.length;Pe++){const G=Te[Pe];if(Pe<Te.length-1){const Je=Te[Pe+1];if(he(G,Je))return}if(E(G))if(we(G)){if(A(G))return;Re||(Re=G)}else return}ee(Re)}),xe()},IfStatement(z){C(z.test)&&!R(z)&&J(z.test)},ImportExpression(z){const{source:oe}=z;oe.type==="SequenceExpression"?w(oe)&&J(oe):C(oe)&&J(oe)},LogicalExpression:Z,MemberExpression(z){const Te=ne(z)&&ae(z)?w(z.object):C(z.object)&&!(T(z.parent)&&z.parent.callee===z&&h);Te&&l(z.object)>=l(z)&&(z.computed||!(t.isDecimalInteger(z.object)||z.object.type==="Literal"&&z.object.regex))&&J(z.object),Te&&z.object.type==="CallExpression"&&J(z.object),Te&&!i&&z.object.type==="NewExpression"&&B(z.object)&&J(z.object),Te&&z.optional&&z.object.type==="ChainExpression"&&J(z.object),z.computed&&C(z.property)&&J(z.property)},"MethodDefinition[computed=true]"(z){k(z.key,v)&&J(z.key)},NewExpression:ke,ObjectExpression(z){z.properties.filter(oe=>oe.value&&k(oe.value,v)).forEach(oe=>J(oe.value))},ObjectPattern(z){z.properties.filter(oe=>{const Te=oe.value;return L(Te)&&C(Te)}).forEach(oe=>J(oe.value))},Property(z){if(z.computed){const{key:oe}=z;oe&&k(oe,v)&&J(oe)}},PropertyDefinition(z){z.computed&&k(z.key,v)&&J(z.key),z.value&&k(z.value,v)&&J(z.value)},RestElement(z){const oe=z.argument;L(oe)&&C(oe)&&J(oe)},ReturnStatement(z){const oe=d.getFirstToken(z);O(z)||z.argument&&$(oe,z.argument)&&!(z.argument.type==="Literal"&&z.argument.regex)&&J(z.argument)},SequenceExpression(z){const oe=l(z);z.expressions.filter(Te=>k(Te,oe)).forEach(J)},SwitchCase(z){z.test&&C(z.test)&&J(z.test)},SwitchStatement(z){C(z.discriminant)&&J(z.discriminant)},ThrowStatement(z){const oe=d.getFirstToken(z);$(oe,z.argument)&&J(z.argument)},UnaryExpression:ge,UpdateExpression(z){if(z.prefix)ge(z);else{const{argument:oe}=z,Te=d.getLastToken(z);oe.loc.end.line===Te.loc.start.line?ge(z):w(oe)&&J(oe)}},AwaitExpression:ge,VariableDeclarator(z){z.init&&k(z.init,v)&&!(z.init.type==="Literal"&&z.init.regex)&&J(z.init)},WhileStatement(z){C(z.test)&&!R(z)&&J(z.test)},WithStatement(z){C(z.object)&&J(z.object)},YieldExpression(z){if(z.argument){const oe=d.getFirstToken(z);(l(z.argument)>=l(z)&&$(oe,z.argument)||w(z.argument))&&J(z.argument)}},ClassDeclaration:I,ClassExpression:I,SpreadElement:H,SpreadProperty:H,ExperimentalSpreadProperty:H,TemplateLiteral(z){z.expressions.filter(oe=>oe&&C(oe)).forEach(J)},AssignmentPattern(z){const{left:oe,right:Te}=z;L(oe)&&C(oe)&&J(oe),Te&&k(Te,v)&&J(Te)}}}},Mo}var jo,Qg;function IA(){if(Qg)return jo;Qg=1;const m=Ur(),t=Le();return jo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-extra-semi",url:"https://eslint.style/rules/no-extra-semi"}}]},type:"suggestion",docs:{description:"Disallow unnecessary semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-semi"},fixable:"code",schema:[],messages:{unexpected:"Unnecessary semicolon."}},create(p){const d=p.sourceCode;function e(o){const r=d.getTokenAfter(o);if(!r||r.type!=="String")return!0;const u=d.getNodeByRangeIndex(r.range[0]);return!t.isTopLevelExpressionStatement(u.parent)}function l(o){p.report({node:o,messageId:"unexpected",fix:e(o)?r=>new m(r,p.sourceCode).retainSurroundingTokens(o).remove(o):null})}function f(o){for(let r=o;r.type==="Punctuator"&&!t.isClosingBraceToken(r);r=d.getTokenAfter(r))t.isSemicolonToken(r)&&l(r)}return{EmptyStatement(o){const r=o.parent;["ForStatement","ForInStatement","ForOfStatement","WhileStatement","DoWhileStatement","IfStatement","LabeledStatement","WithStatement"].includes(r.type)||l(o)},ClassBody(o){f(d.getFirstToken(o,1))},"MethodDefinition, PropertyDefinition, StaticBlock"(o){f(d.getTokenAfter(o))}}}},jo}var Uo,Yg;function PA(){if(Yg)return Uo;Yg=1;const{directivesPattern:m}=Ad(),t=/falls?\s?through/iu;function p(f){for(const o of f)if(o.reachable)return!0;return!1}function d(f,o){return o.test(f)&&!m.test(f.trim())}function e(f,o,r,u){const s=r.sourceCode;if(f.consequent.length===1&&f.consequent[0].type==="BlockStatement"){const c=s.getLastToken(f.consequent[0]),n=s.getCommentsBefore(c).pop();if(n&&d(n.value,u))return n}const a=s.getCommentsBefore(o).pop();return a&&d(a.value,u)?a:null}function l(f,o){return o.loc.start.line>f.loc.end.line+1}return Uo={meta:{type:"problem",defaultOptions:[{allowEmptyCase:!1,reportUnusedFallthroughComment:!1}],docs:{description:"Disallow fallthrough of `case` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-fallthrough"},schema:[{type:"object",properties:{commentPattern:{type:"string"},allowEmptyCase:{type:"boolean"},reportUnusedFallthroughComment:{type:"boolean"}},additionalProperties:!1}],messages:{unusedFallthroughComment:"Found a comment that would permit fallthrough, but case cannot fall through.",case:"Expected a 'break' statement before 'case'.",default:"Expected a 'break' statement before 'default'."}},create(f){const o=[];let r=new Set;const u=f.sourceCode,[{allowEmptyCase:s,commentPattern:a,reportUnusedFallthroughComment:c}]=f.options,n=a?new RegExp(a,"u"):t;let i=null;return{onCodePathStart(){o.push(r),r=new Set},onCodePathEnd(){r=o.pop()},onUnreachableCodePathSegmentStart(h){r.add(h)},onUnreachableCodePathSegmentEnd(h){r.delete(h)},onCodePathSegmentStart(h){r.add(h)},onCodePathSegmentEnd(h){r.delete(h)},SwitchCase(h){if(i&&i.node.parent===h.parent){const g=e(i.node,h,f,n);i.isFallthrough&&!g?f.report({messageId:h.test?"case":"default",node:h}):c&&!i.isSwitchExitReachable&&g&&f.report({messageId:"unusedFallthroughComment",node:g})}i=null},"SwitchCase:exit"(h){const g=u.getTokenAfter(h),v=p(r),S=v&&(h.consequent.length>0||!s&&l(h,g))&&h.parent.cases.at(-1)!==h;i={node:h,isSwitchExitReachable:v,isFallthrough:S}}}}},Uo}var qo,Zg;function FA(){if(Zg)return qo;Zg=1;const m=Le();return qo={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-floating-decimal",url:"https://eslint.style/rules/no-floating-decimal"}}]},type:"suggestion",docs:{description:"Disallow leading or trailing decimal points in numeric literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-floating-decimal"},schema:[],fixable:"code",messages:{leading:"A leading decimal point can be confused with a dot.",trailing:"A trailing decimal point can be confused with a dot."}},create(t){const p=t.sourceCode;return{Literal(d){typeof d.value=="number"&&(d.raw.startsWith(".")&&t.report({node:d,messageId:"leading",fix(e){const l=p.getTokenBefore(d),f=l&&l.range[1]===d.range[0]&&!m.canTokensBeAdjacent(l,`0${d.raw}`);return e.insertTextBefore(d,f?" 0":"0")}}),d.raw.indexOf(".")===d.raw.length-1&&t.report({node:d,messageId:"trailing",fix:e=>e.insertTextAfter(d,"0")}))}}}},qo}var Vo,ey;function RA(){if(ey)return Vo;ey=1;const m=Le();return Vo={meta:{type:"problem",docs:{description:"Disallow reassigning `function` declarations",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-func-assign"},schema:[],messages:{isAFunction:"'{{name}}' is a function."}},create(t){const p=t.sourceCode;function d(f){m.getModifyingReferences(f).forEach(o=>{t.report({node:o.identifier,messageId:"isAFunction",data:{name:o.identifier.name}})})}function e(f){f.defs[0].type==="FunctionName"&&d(f.references)}function l(f){p.getDeclaredVariables(f).forEach(e)}return{FunctionDeclaration:l,FunctionExpression:l}}},Vo}var $o,ty;function _A(){return ty||(ty=1,$o={meta:{type:"suggestion",defaultOptions:[{exceptions:[]}],docs:{description:"Disallow assignments to native objects or read-only global variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-global-assign"},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{globalShouldNotBeModified:"Read-only global '{{name}}' should not be modified."}},create(m){const t=m.sourceCode,[{exceptions:p}]=m.options;function d(l,f,o){const r=l.identifier;l.init===!1&&l.isWrite()&&(f===0||o[f-1].identifier!==r)&&m.report({node:r,messageId:"globalShouldNotBeModified",data:{name:r.name}})}function e(l){l.writeable===!1&&!p.includes(l.name)&&l.references.forEach(d)}return{Program(l){t.getScope(l).variables.forEach(e)}}}}),$o}var Wo,ry;function BA(){if(ry)return Wo;ry=1;const m=Le(),t=/^(?:i|lastI)ndexOf$/u,p=["~","!!","+","- -","-","*"];function d(i){return i.operator==="!"&&i.argument.type==="UnaryExpression"&&i.argument.operator==="!"}function e(i){if(i.operator!=="~")return!1;const h=m.skipChainExpression(i.argument);return h.type==="CallExpression"&&m.isSpecificMemberAccess(h.callee,null,t)}function l(i){return i.operator==="*"&&(i.left.type==="Literal"&&i.left.value===1||i.right.type==="Literal"&&i.right.value===1)}function f(i,h){return i.type==="BinaryExpression"&&i.operator==="*"&&i.right.type==="Literal"&&i.right.value===1&&i.parent.type==="BinaryExpression"&&i.parent.operator==="/"&&i.parent.left===i&&!m.isParenthesised(h,i)}function o(i){return i.type==="Literal"&&typeof i.value=="number"||i.type==="CallExpression"&&(i.callee.name==="Number"||i.callee.name==="parseInt"||i.callee.name==="parseFloat")}function r(i){const h=i.left,g=i.right;return g.type!=="BinaryExpression"&&!o(g)?g:h.type!=="BinaryExpression"&&!o(h)?h:null}function u(i){return m.isStringLiteral(i)||i.type==="CallExpression"&&i.callee.type==="Identifier"&&i.callee.name==="String"}function s(i){return m.isStringLiteral(i)&&(i.value===""||i.type==="TemplateLiteral"&&i.quasis.length===1&&i.quasis[0].value.cooked==="")}function a(i){return i.operator==="+"&&(s(i.left)&&!u(i.right)||s(i.right)&&!u(i.left))}function c(i){return i.operator==="+="&&s(i.right)}function n(i){return s(i.left)?i.right:i.left}return Wo={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow shorthand type conversions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-implicit-coercion"},fixable:"code",schema:[{type:"object",properties:{boolean:{type:"boolean"},number:{type:"boolean"},string:{type:"boolean"},disallowTemplateShorthand:{type:"boolean"},allow:{type:"array",items:{enum:p},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allow:[],boolean:!0,disallowTemplateShorthand:!1,number:!0,string:!0}],messages:{implicitCoercion:"Unexpected implicit coercion encountered. Use `{{recommendation}}` instead.",useRecommendation:"Use `{{recommendation}}` instead."}},create(i){const[h]=i.options,g=i.sourceCode;function v(S,b,T,x){function E(A){const C=g.getTokenBefore(S);return C?.range[1]===S.range[0]&&!m.canTokensBeAdjacent(C,b)?A.replaceText(S,` ${b}`):A.replaceText(S,b)}i.report({node:S,messageId:"implicitCoercion",data:{recommendation:b},fix(A){return x?E(A):null},suggest:[{messageId:"useRecommendation",data:{recommendation:b},fix(A){return x||!T?null:E(A)}}]})}return{UnaryExpression(S){let b;if(b=h.allow.includes("!!"),!b&&h.boolean&&d(S)){const T=`Boolean(${g.getText(S.argument.argument)})`,E=m.getVariableByName(g.getScope(S),"Boolean")?.identifiers.length===0;v(S,T,!0,E)}if(b=h.allow.includes("~"),!b&&h.boolean&&e(S)){const T=S.argument.type==="ChainExpression"?">= 0":"!== -1",x=`${g.getText(S.argument)} ${T}`;v(S,x,!1,!1)}if(b=h.allow.includes("+"),!b&&h.number&&S.operator==="+"&&!o(S.argument)){const T=`Number(${g.getText(S.argument)})`;v(S,T,!0,!1)}if(b=h.allow.includes("- -"),!b&&h.number&&S.operator==="-"&&S.argument.type==="UnaryExpression"&&S.argument.operator==="-"&&!o(S.argument.argument)){const T=`Number(${g.getText(S.argument.argument)})`;v(S,T,!0,!1)}},"BinaryExpression:exit"(S){let b;b=h.allow.includes("*");const T=!b&&h.number&&l(S)&&!f(S,g)&&r(S);if(T){const x=`Number(${g.getText(T)})`;v(S,x,!0,!1)}if(b=h.allow.includes("-"),!b&&h.number&&S.operator==="-"&&S.right.type==="Literal"&&S.right.value===0&&!o(S.left)){const x=`Number(${g.getText(S.left)})`;v(S,x,!0,!1)}if(b=h.allow.includes("+"),!b&&h.string&&a(S)){const x=`String(${g.getText(n(S))})`;v(S,x,!0,!1)}},AssignmentExpression(S){if(!h.allow.includes("+")&&h.string&&c(S)){const T=g.getText(n(S)),x=`${T} = String(${T})`;v(S,x,!0,!1)}},TemplateLiteral(S){if(!h.disallowTemplateShorthand||S.parent.type==="TaggedTemplateExpression"||S.expressions.length!==1||S.quasis[0].value.cooked!==""||S.quasis[1].value.cooked!==""||u(S.expressions[0]))return;const T=`String(${g.getText(S.expressions[0])})`;v(S,T,!0,!1)}}}},Wo}var Go,ny;function LA(){if(ny)return Go;ny=1;const m=new Set(["AssignmentExpression","ForInStatement","ForOfStatement"]);return Go={meta:{type:"suggestion",defaultOptions:[{lexicalBindings:!1}],docs:{description:"Disallow declarations in the global scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-implicit-globals"},schema:[{type:"object",properties:{lexicalBindings:{type:"boolean"}},additionalProperties:!1}],messages:{globalNonLexicalBinding:"Unexpected {{kind}} declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.",globalLexicalBinding:"Unexpected {{kind}} declaration in the global scope, wrap in a block or in an IIFE.",globalVariableLeak:"Global variable leak, declare the variable if it is intended to be local.",assignmentToReadonlyGlobal:"Unexpected assignment to read-only global variable.",redeclarationOfReadonlyGlobal:"Unexpected redeclaration of read-only global variable."}},create(t){const[{lexicalBindings:p}]=t.options,d=t.sourceCode;function e(l,f,o){t.report({node:l,messageId:f,data:{kind:o}})}return{Program(l){const f=d.getScope(l);f.variables.forEach(o=>{const r=o.writeable===!1;o.writeable!==!0&&(o.eslintExported||(o.defs.forEach(s=>{const a=s.node;(s.type==="FunctionName"||s.type==="Variable"&&s.parent.kind==="var")&&(r?e(a,"redeclarationOfReadonlyGlobal"):e(a,"globalNonLexicalBinding",s.type==="FunctionName"?"function":`'${s.parent.kind}'`)),p&&(s.type==="ClassName"||s.type==="Variable"&&(s.parent.kind==="let"||s.parent.kind==="const"))&&(r?e(a,"redeclarationOfReadonlyGlobal"):e(a,"globalLexicalBinding",s.type==="ClassName"?"class":`'${s.parent.kind}'`))}),r&&o.defs.length===0&&o.references.forEach(s=>{if(s.isWrite()&&!s.isRead()){let a=s.identifier.parent;for(;a&&!m.has(a.type);)a=a.parent;e(a??s.identifier,"assignmentToReadonlyGlobal")}})))}),f.implicit.variables.forEach(o=>{o.defs.forEach(r=>{e(r.node,"globalVariableLeak")})})}}}},Go}var zo,sy;function OA(){if(sy)return zo;sy=1;const m=Le(),{getStaticValue:t}=Mt();return zo={meta:{type:"suggestion",docs:{description:"Disallow the use of `eval()`-like methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-implied-eval"},schema:[],messages:{impliedEval:"Implied eval. Consider passing a function instead of a string.",execScript:"Implied eval. Do not use execScript()."}},create(p){const d=Object.freeze(["global","window","globalThis"]),e=/^(?:set(?:Interval|Timeout)|execScript)$/u,l=p.sourceCode;function f(u){return u.type==="Literal"&&typeof u.value=="string"||u.type==="TemplateLiteral"?!0:u.type==="BinaryExpression"&&u.operator==="+"?f(u.left)||f(u.right):!1}function o(u){const[s]=u.arguments;if(s){const a=t(s,l.getScope(u));if(a&&typeof a.value=="string"||f(s)){const h=(u.callee.type==="Identifier"?u.callee.name:m.getStaticPropertyName(u.callee))==="execScript";p.report({node:u,messageId:h?"execScript":"impliedEval"})}}}function r(u){const{references:s,name:a}=u;s.forEach(c=>{let i=c.identifier.parent;for(;m.isSpecificMemberAccess(i,null,a);)i=i.parent;if(m.isSpecificMemberAccess(i,null,e)){const h=i.parent.type==="ChainExpression"?i.parent:i,g=h.parent;g.type==="CallExpression"&&g.callee===h&&o(g)}})}return{CallExpression(u){m.isSpecificId(u.callee,e)&&l.isGlobalReference(u.callee)&&o(u)},"Program:exit"(u){const s=l.getScope(u);d.map(a=>m.getVariableByName(s,a)).filter(a=>!!a&&a.defs.length===0).forEach(r)}}}},zo}var Ho,ay;function NA(){if(ay)return Ho;ay=1;const{findVariable:m}=Mt(),t=Le(),p={Object:/^(?:assign|definePropert(?:y|ies)|freeze|setPrototypeOf)$/u,Reflect:/^(?:(?:define|delete)Property|set(?:PrototypeOf)?)$/u};function d(u){const{parent:s}=u;return s.type==="AssignmentExpression"&&s.left===u||s.type==="ArrayPattern"||s.type==="Property"&&s.value===u&&s.parent.type==="ObjectPattern"||s.type==="RestElement"||s.type==="AssignmentPattern"&&s.left===u}function e(u){const s=u.parent.type==="ChainExpression"?u.parent:u,{parent:a}=s;return a.type==="UpdateExpression"&&a.argument===s||a.type==="UnaryExpression"&&a.operator==="delete"&&a.argument===s}function l(u){const{parent:s}=u;return s.type==="ForInStatement"&&s.left===u||s.type==="ForOfStatement"&&s.left===u}function f(u,s){const{parent:a}=u;if(a.type!=="CallExpression"||a.arguments[0]!==u)return!1;const c=t.skipChainExpression(a.callee);if(!t.isSpecificMemberAccess(c,"Object",p.Object)&&!t.isSpecificMemberAccess(c,"Reflect",p.Reflect))return!1;const n=m(s,c.object);return n!==null&&n.scope.type==="global"}function o(u,s){const{parent:a}=u;return a.type==="MemberExpression"&&a.object===u&&(d(a)||e(a)||l(a))||f(u,s)}function r(u){let s=u.parent;for(;s&&s.type!=="AssignmentExpression"&&s.type!=="UpdateExpression"&&s.type!=="UnaryExpression"&&s.type!=="CallExpression"&&s.type!=="ForInStatement"&&s.type!=="ForOfStatement";)s=s.parent;return s||u}return Ho={meta:{type:"problem",docs:{description:"Disallow assigning to imported bindings",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-import-assign"},schema:[],messages:{readonly:"'{{name}}' is read-only.",readonlyMember:"The members of '{{name}}' are read-only."}},create(u){const s=u.sourceCode;return{ImportDeclaration(a){const c=s.getScope(a);for(const n of s.getDeclaredVariables(a)){const i=n.defs.some(g=>g.node.type==="ImportNamespaceSpecifier");let h=null;for(const g of n.references){const v=g.identifier;v!==h&&(h=v,g.isWrite()?u.report({node:r(v),messageId:"readonly",data:{name:v.name}}):i&&o(v,c)&&u.report({node:r(v),messageId:"readonlyMember",data:{name:v.name}}))}}}}}},Ho}var Ko,iy;function MA(){if(iy)return Ko;iy=1;const m=Le();return Ko={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow inline comments after code",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-inline-comments"},schema:[{type:"object",properties:{ignorePattern:{type:"string"}},additionalProperties:!1}],messages:{unexpectedInlineComment:"Unexpected comment inline with code."}},create(t){const p=t.sourceCode,[{ignorePattern:d}]=t.options,e=d&&new RegExp(d,"u");function l(f){const o=String(p.lines[f.loc.start.line-1]),r=String(p.lines[f.loc.end.line-1]),u=o.slice(0,f.loc.start.column).trim(),s=r.slice(f.loc.end.column).trim(),a=!u,c=!s;if(!(a&&c)&&!(e&&e.test(f.value))){if((a||u==="{")&&(c||s==="}")){const n=p.getNodeByRangeIndex(f.range[0]);if(n&&n.type==="JSXEmptyExpression")return}m.isDirectiveComment(f)||t.report({node:f,messageId:"unexpectedInlineComment"})}}return{Program(){p.getAllComments().filter(f=>f.type!=="Shebang").forEach(l)}}}},Ko}var Xo,oy;function jA(){if(oy)return Xo;oy=1;const m=Le(),t=new Set(["Program","StaticBlock","ExportNamedDeclaration","ExportDefaultDeclaration"]),p=new Set(["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]);function d(e){let{parent:l}=e;for(;l;){if(l.type==="StaticBlock")return"class static block body";if(m.isFunction(l))return"function body";({parent:l}=l)}return"program"}return Xo={meta:{type:"problem",defaultOptions:["functions",{blockScopedFunctions:"allow"}],docs:{description:"Disallow variable or `function` declarations in nested blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-inner-declarations"},schema:[{enum:["functions","both"]},{type:"object",properties:{blockScopedFunctions:{enum:["allow","disallow"]}},additionalProperties:!1}],messages:{moveDeclToRoot:"Move {{type}} declaration to {{body}} root."}},create(e){const l=e.options[0]==="both",{blockScopedFunctions:f}=e.options[1],o=e.sourceCode,r=e.languageOptions.ecmaVersion;function u(s){const a=s.parent;a.type==="BlockStatement"&&p.has(a.parent.type)||t.has(a.type)||e.report({node:s,messageId:"moveDeclToRoot",data:{type:s.type==="FunctionDeclaration"?"function":"variable",body:d(s)}})}return{FunctionDeclaration(s){const a=o.getScope(s).upper.isStrict;f==="allow"&&r>=2015&&a||u(s)},VariableDeclaration(s){l&&s.kind==="var"&&u(s)}}}},Xo}var Jo,ly;function UA(){if(ly)return Jo;ly=1;const m=er().RegExpValidator,t=new m,p="dgimsuvy",d=void 0;return Jo={meta:{type:"problem",defaultOptions:[{}],docs:{description:"Disallow invalid regular expression strings in `RegExp` constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-invalid-regexp"},schema:[{type:"object",properties:{allowConstructorFlags:{type:"array",items:{type:"string"}}},additionalProperties:!1}],messages:{regexMessage:"{{message}}."}},create(e){const[{allowConstructorFlags:l}]=e.options;let f=[];if(l){const c=l.join("").replace(new RegExp(`[${p}]`,"gu"),"");c&&(f=[...new Set(c)])}function o(c,n){e.report({node:c,messageId:"regexMessage",data:{message:n}})}function r(c){return c&&c.type==="Literal"&&typeof c.value=="string"}function u(c){return c.arguments.length<2?"":r(c.arguments[1])?c.arguments[1].value:null}function s(c,n){try{return t.validatePattern(c,d,d,n),null}catch(i){return i.message}}function a(c,n,i){const h=[];if(typeof n=="string")for(const g of n)i.includes(g)&&h.push(g);return c&&c.includes("u")&&c.includes("v")?"Regex 'u' and 'v' flags cannot be used together":h.length>0?`Duplicate flags ('${h.join("")}') supplied to RegExp constructor`:n?`Invalid flags supplied to RegExp constructor '${n}'`:null}return{"CallExpression, NewExpression"(c){if(c.callee.type!=="Identifier"||c.callee.name!=="RegExp")return;const n=u(c);let i=n;const h=f.length>0?p.split("").concat(f):p.split("");n&&h.forEach(S=>{i=i.replace(S,"")});let g=a(n,i,h);if(g){o(c,g);return}if(!r(c.arguments[0]))return;const v=c.arguments[0].value;g=n===null?s(v,{unicode:!0,unicodeSets:!1})&&s(v,{unicode:!1,unicodeSets:!0})&&s(v,{unicode:!1,unicodeSets:!1}):s(v,{unicode:n.includes("u"),unicodeSets:n.includes("v")}),g&&o(c,g)}}}},Jo}var Qo,uy;function qA(){if(uy)return Qo;uy=1;const m=Le();function t(p,d){return p.origin==="function"&&d.type==="ArrowFunctionExpression"}return Qo={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:[{capIsConstructor:!0}],docs:{description:"Disallow use of `this` in contexts where the value of `this` is `undefined`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-invalid-this"},schema:[{type:"object",properties:{capIsConstructor:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedThis:"Unexpected 'this'."}},create(p){const[{capIsConstructor:d}]=p.options,e=[],l=p.sourceCode;return e.getCurrent=function(){const f=this.at(-1);return f.init||(f.init=!0,f.valid=!m.isDefaultThisBinding(f.node,l,{capIsConstructor:d})),f},{onCodePathStart(f,o){if(!t(f,o)){if(f.origin==="program"){const r=l.getScope(o),u=p.languageOptions.parserOptions.ecmaFeatures||{};e.push({init:!0,node:o,valid:!(o.sourceType==="module"||u.globalReturn&&r.childScopes[0].isStrict)});return}e.push({init:!l.getScope(o).isStrict,node:o,valid:!0})}},onCodePathEnd(f,o){t(f,o)||e.pop()},"AccessorProperty > *.value"(f){e.push({init:!0,node:f,valid:!0})},"AccessorProperty:exit"(){e.pop()},ThisExpression(f){if(f.parent.type==="AccessorProperty"&&f.parent.value===f)return;const o=e.getCurrent();o&&!o.valid&&p.report({node:f,messageId:"unexpectedThis"})}}}},Qo}var Yo,cy;function VA(){if(cy)return Yo;cy=1;const m=Le(),t=/[\f\v\u0085\ufeff\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000\u2028\u2029]/u,p=/[\f\v\u0085\ufeff\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000]+/gu,d=/[\u2028\u2029]/gu,e=m.createGlobalLinebreakMatcher();return Yo={meta:{type:"problem",defaultOptions:[{skipComments:!1,skipJSXText:!1,skipRegExps:!1,skipStrings:!0,skipTemplates:!1}],docs:{description:"Disallow irregular whitespace",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-irregular-whitespace"},schema:[{type:"object",properties:{skipComments:{type:"boolean"},skipStrings:{type:"boolean"},skipTemplates:{type:"boolean"},skipRegExps:{type:"boolean"},skipJSXText:{type:"boolean"}},additionalProperties:!1}],messages:{noIrregularWhitespace:"Irregular whitespace not allowed."}},create(l){const[{skipComments:f,skipStrings:o,skipRegExps:r,skipTemplates:u,skipJSXText:s}]=l.options,a=l.sourceCode,c=a.getAllComments();let n=[];function i(A){const C=A.loc.start,w=A.loc.end;n=n.filter(({loc:{start:k}})=>k.line<C.line||k.line===C.line&&k.column<C.column||k.line===w.line&&k.column>=w.column||k.line>w.line)}function h(A){const C=o&&typeof A.value=="string",w=r&&!!A.regex;(C||w)&&t.test(A.raw)&&i(A)}function g(A){typeof A.value.raw=="string"&&t.test(A.value.raw)&&i(A)}function v(A){t.test(A.value)&&i(A)}function S(A){t.test(A.raw)&&i(A)}function b(A){a.lines.forEach((w,k)=>{const R=k+1;let P;for(;(P=p.exec(w))!==null;)n.push({node:A,messageId:"noIrregularWhitespace",loc:{start:{line:R,column:P.index},end:{line:R,column:P.index+P[0].length}}})})}function T(A){const C=a.getText(),w=a.lines,k=C.match(e);let R=-1,P;for(;(P=d.exec(C))!==null;){const B=k.indexOf(P[0],R+1)||0;n.push({node:A,messageId:"noIrregularWhitespace",loc:{start:{line:B+1,column:w[B].length},end:{line:B+2,column:0}}}),R=B}}function x(){}const E={};return t.test(a.getText())?(E.Program=function(A){b(A),T(A)},E.Literal=h,E.TemplateElement=u?g:x,E.JSXText=s?S:x,E["Program:exit"]=function(){f&&c.forEach(v),n.forEach(A=>l.report(A))}):E.Program=x,E}},Yo}var Zo,fy;function $A(){if(fy)return Zo;fy=1;const{getStaticPropertyName:m}=Le();return Zo={meta:{type:"suggestion",docs:{description:"Disallow the use of the `__iterator__` property",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-iterator"},schema:[],messages:{noIterator:"Reserved name '__iterator__'."}},create(t){return{MemberExpression(p){m(p)==="__iterator__"&&t.report({node:p,messageId:"noIterator"})}}}},Zo}var el,py;function WA(){if(py)return el;py=1;const m=Le();return el={meta:{type:"suggestion",docs:{description:"Disallow labels that share a name with a variable",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-label-var"},schema:[],messages:{identifierClashWithLabel:"Found identifier with same name as label."}},create(t){const p=t.sourceCode;function d(e,l){return m.getVariableByName(e,l)!==null}return{LabeledStatement(e){const l=p.getScope(e);d(l,e.label.name)&&t.report({node:e,messageId:"identifierClashWithLabel"})}}}},el}var tl,dy;function GA(){if(dy)return tl;dy=1;const m=Le();return tl={meta:{type:"suggestion",defaultOptions:[{allowLoop:!1,allowSwitch:!1}],docs:{description:"Disallow labeled statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-labels"},schema:[{type:"object",properties:{allowLoop:{type:"boolean"},allowSwitch:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedLabel:"Unexpected labeled statement.",unexpectedLabelInBreak:"Unexpected label in break statement.",unexpectedLabelInContinue:"Unexpected label in continue statement."}},create(t){const[{allowLoop:p,allowSwitch:d}]=t.options;let e=null;function l(r){return m.isLoop(r)?"loop":r.type==="SwitchStatement"?"switch":"other"}function f(r){switch(r){case"loop":return p;case"switch":return d;default:return!1}}function o(r){let u=e;for(;u;){if(u.label===r)return u.kind;u=u.upper}return"other"}return{LabeledStatement(r){e={label:r.label.name,kind:l(r.body),upper:e}},"LabeledStatement:exit"(r){f(e.kind)||t.report({node:r,messageId:"unexpectedLabel"}),e=e.upper},BreakStatement(r){r.label&&!f(o(r.label.name))&&t.report({node:r,messageId:"unexpectedLabelInBreak"})},ContinueStatement(r){r.label&&!f(o(r.label.name))&&t.report({node:r,messageId:"unexpectedLabelInContinue"})}}}},tl}var rl,my;function zA(){return my||(my=1,rl={meta:{type:"suggestion",docs:{description:"Disallow unnecessary nested blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-lone-blocks"},schema:[],messages:{redundantBlock:"Block is redundant.",redundantNestedBlock:"Nested block is redundant."}},create(m){const t=[];let p;const d=m.sourceCode;function e(o){const r=o.parent.type==="BlockStatement"||o.parent.type==="StaticBlock"?"redundantNestedBlock":"redundantBlock";m.report({node:o,messageId:r})}function l(o){return o.parent.type==="BlockStatement"||o.parent.type==="StaticBlock"||o.parent.type==="Program"||o.parent.type==="SwitchCase"&&!(o.parent.consequent[0]===o&&o.parent.consequent.length===1)}function f(o){if(t.length===0)return;const r=o.parent;t.at(-1)===r&&t.pop()}return p={BlockStatement(o){l(o)&&e(o)}},m.languageOptions.ecmaVersion>=2015&&(p={BlockStatement(o){l(o)&&t.push(o)},"BlockStatement:exit"(o){t.length>0&&t.at(-1)===o?(t.pop(),e(o)):(o.parent.type==="BlockStatement"||o.parent.type==="StaticBlock")&&o.parent.body.length===1&&e(o)}},p.VariableDeclaration=function(o){o.kind!=="var"&&f(o)},p.FunctionDeclaration=function(o){d.getScope(o).isStrict&&f(o)},p.ClassDeclaration=f),p}}),rl}var nl,hy;function HA(){if(hy)return nl;hy=1;const m=Le();return nl={meta:{type:"suggestion",docs:{description:"Disallow `if` statements as the only statement in `else` blocks",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-lonely-if"},schema:[],fixable:"code",messages:{unexpectedLonelyIf:"Unexpected if as the only statement in an else block."}},create(t){const p=t.sourceCode;return{IfStatement(d){const e=d.parent,l=e.parent;e&&e.type==="BlockStatement"&&e.body.length===1&&!m.areBracesNecessary(e,p)&&l&&l.type==="IfStatement"&&e===l.alternate&&t.report({node:d,messageId:"unexpectedLonelyIf",fix(f){const o=p.getFirstToken(e),r=p.getLastToken(e),u=p.getTokenBefore(o),s=p.getTokenAfter(r),a=p.getLastToken(d.consequent),c=p.getText();return c.slice(o.range[1],d.range[0]).trim()||c.slice(d.range[1],r.range[0]).trim()||d.consequent.type!=="BlockStatement"&&a.value!==";"&&s&&(d.consequent.loc.end.line===s.loc.start.line||/^[([/+`-]/u.test(s.value)||a.value==="++"||a.value==="--")?null:f.replaceTextRange([o.range[0],r.range[1]],(u.range[1]===o.range[0]?" ":"")+p.getText(d))}})}}}},nl}var sl,gy;function KA(){if(gy)return sl;gy=1;const m=new Set(["const","using","await using"]);function t(p){return(p.type==="FunctionExpression"||p.type==="ArrowFunctionExpression")&&p.parent&&p.parent.type==="CallExpression"&&p.parent.callee===p}return sl={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow function declarations that contain unsafe references inside loop statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-loop-func"},schema:[],messages:{unsafeRefs:"Function declared in a loop contains unsafe references to variable(s) {{ varNames }}."}},create(p){const d=new Set,e=p.sourceCode;function l(u){for(let s=u;s.parent;s=s.parent){const a=s.parent;switch(a.type){case"WhileStatement":case"DoWhileStatement":return a;case"ForStatement":if(a.init!==s)return a;break;case"ForInStatement":case"ForOfStatement":if(a.right!==s)return a;break;case"ArrowFunctionExpression":case"FunctionExpression":case"FunctionDeclaration":if(d.has(a))break;return null}}return null}function f(u,s){const a=s?s.range[1]:0;let c=u,n=u;for(;n&&n.range[0]>=a;)c=n,n=l(n);return c}function o(u,s){const a=s.resolved,c=a&&a.defs[0],n=c&&c.parent,i=n&&n.type==="VariableDeclaration"?n.kind:"";if(m.has(i)||i==="let"&&n.range[0]>u.range[0]&&n.range[1]<u.range[1])return!0;const h=f(u,i==="let"?n:null).range[0];function g(v){const S=v.identifier;return!v.isWrite()||a.scope.variableScope===v.from.variableScope&&S.range[0]<h}return!!a&&a.references.every(g)}function r(u){const s=l(u);if(!s)return;const a=e.getScope(u).through;if(!(u.async||u.generator)&&t(u)&&!(u.type==="FunctionExpression"&&u.id?a.some(h=>h.identifier.name===u.id.name):!1)){d.add(u);return}const c=[...new Set(a.filter(n=>n.resolved&&!o(s,n)).map(n=>n.identifier.name))];c.length>0&&p.report({node:u,messageId:"unsafeRefs",data:{varNames:`'${c.join("', '")}'`}})}return{ArrowFunctionExpression:r,FunctionExpression:r,FunctionDeclaration:r}}},sl}var al,yy;function XA(){if(yy)return al;yy=1;class m{coefficient;magnitude;constructor(n,i){this.coefficient=n,this.magnitude=i}toString(){return`${this.coefficient[0]}${this.coefficient.length>1?`.${this.coefficient.slice(1)}`:""}e${this.magnitude}`}}function t(c){return typeof c.value=="number"}function p(c){return c.raw.replace(/_/gu,"")}function d(c){return["0x","0X","0b","0B","0o","0O"].every(i=>!c.raw.startsWith(i))&&!/^0[0-7]+$/u.test(c.raw)}function e(c){const n=p(c).toUpperCase();let i;return n.startsWith("0B")?i=2:n.startsWith("0X")?i=16:i=8,!n.endsWith(c.value.toString(i).toUpperCase())}function l(c){for(let n=0;n<c.length;n++)if(c[n]!=="0")return c.slice(n);return c}function f(c){for(let n=c.length-1;n>=0;n--)if(c[n]!=="0")return c.slice(0,n+1);return c}function o(c){const n=l(c),i=f(n);return new m(i,n.length-1)}function r(c){const n=l(c),i=n.indexOf(".");switch(i){case 0:{const h=l(n.slice(1));return new m(h,h.length-n.length)}case-1:return new m(n,n.length-1);default:return new m(n.replace(".",""),i-1)}}function u(c,n){const i=c.split("e"),h=i[0],g=n||c.includes(".")?r(h):o(h);return i.length>1&&(g.magnitude+=parseInt(i[1],10)),g}function s(c){const n=p(c).toLowerCase(),i=u(n,!1),h=i.coefficient.length;if(h>100)return!0;const g=c.value.toPrecision(h),v=u(g,!0);return i.magnitude!==v.magnitude||i.coefficient!==v.coefficient}function a(c){return d(c)?s(c):e(c)}return al={meta:{type:"problem",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow literal numbers that lose precision",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-loss-of-precision"},schema:[],messages:{noLossOfPrecision:"This number literal will lose precision at runtime."}},create(c){return{Literal(n){n.value&&t(n)&&a(n)&&c.report({messageId:"noLossOfPrecision",node:n})}}}},al}var il,vy;function JA(){if(vy)return il;vy=1;const m=Le(),t=2**32-1;function p(o){return typeof o=="string"?BigInt(o.slice(0,-1)):o}function d(o){return o.parent.type==="TSEnumMember"}function e(o){let r=o.parent;for(;r.parent.type==="TSUnionType";)r=r.parent;return r.parent.type==="TSTypeAliasDeclaration"}function l(o){return!!(o.parent?.type==="PropertyDefinition"&&o.parent.readonly)}function f(o){let r=o.parent;for(;r.parent.type==="TSUnionType"||r.parent.type==="TSIntersectionType";)r=r.parent;return r.parent.type==="TSIndexedAccessType"}return il={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow magic numbers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-magic-numbers"},schema:[{type:"object",properties:{detectObjects:{type:"boolean",default:!1},enforceConst:{type:"boolean",default:!1},ignore:{type:"array",items:{anyOf:[{type:"number"},{type:"string",pattern:"^[+-]?(?:0|[1-9][0-9]*)n$"}]},uniqueItems:!0},ignoreArrayIndexes:{type:"boolean",default:!1},ignoreDefaultValues:{type:"boolean",default:!1},ignoreClassFieldInitialValues:{type:"boolean",default:!1},ignoreEnums:{type:"boolean",default:!1},ignoreNumericLiteralTypes:{type:"boolean",default:!1},ignoreReadonlyClassProperties:{type:"boolean",default:!1},ignoreTypeIndexes:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{useConst:"Number constants declarations must use 'const'.",noMagic:"No magic number: {{raw}}."}},create(o){const r=o.options[0]||{},u=!!r.detectObjects,s=!!r.enforceConst,a=new Set((r.ignore||[]).map(p)),c=!!r.ignoreArrayIndexes,n=!!r.ignoreDefaultValues,i=!!r.ignoreClassFieldInitialValues,h=!!r.ignoreEnums,g=!!r.ignoreNumericLiteralTypes,v=!!r.ignoreReadonlyClassProperties,S=!!r.ignoreTypeIndexes,b=u?[]:["ObjectExpression","Property","AssignmentExpression"];function T(k){return a.has(k)}function x(k){const R=k.parent;return R.type==="AssignmentPattern"&&R.right===k}function E(k){const R=k.parent;return R.type==="PropertyDefinition"&&R.value===k}function A(k){const R=k.parent;return R.type==="CallExpression"&&k===R.arguments[1]&&(m.isSpecificId(R.callee,"parseInt")||m.isSpecificMemberAccess(R.callee,"Number","parseInt"))}function C(k){return k.parent.type.indexOf("JSX")===0}function w(k,R){const P=k.parent;return P.type==="MemberExpression"&&P.property===k&&(Number.isInteger(R)||typeof R=="bigint")&&R>=0&&R<t}return{Literal(k){if(!m.isNumericLiteral(k))return;let R,P,B;k.parent.type==="UnaryExpression"&&["-","+"].includes(k.parent.operator)?(R=k.parent,P=k.parent.operator==="-"?-k.value:k.value,B=`${k.parent.operator}${k.raw}`):(R=k,P=k.value,B=k.raw);const F=R.parent;T(P)||n&&x(R)||i&&E(R)||h&&d(R)||g&&e(R)||S&&f(R)||v&&l(R)||A(R)||C(R)||c&&w(R,P)||(F.type==="VariableDeclarator"?s&&F.parent.kind!=="const"&&o.report({node:R,messageId:"useConst"}):(!b.includes(F.type)||F.type==="AssignmentExpression"&&F.left.type==="Identifier")&&o.report({node:R,messageId:"noMagic",data:{raw:B}}))}}}},il}var ol,Ey;function QA(){return Ey||(Ey=1,ol=function(t){return/^[\p{Mc}\p{Me}\p{Mn}]$/u.test(String.fromCodePoint(t))}),ol}var ll,Sy;function YA(){return Sy||(Sy=1,ll=function(t){return t>=127995&&t<=127999}),ll}var ul,by;function ZA(){return by||(by=1,ul=function(t){return t>=127462&&t<=127487}),ul}var cl,xy;function ew(){return xy||(xy=1,cl=function(t,p){return t>=55296&&t<56320&&p>=56320&&p<57344}),cl}var fl,Cy;function tw(){if(Cy)return fl;Cy=1;const m=QA(),t=YA(),p=ZA(),d=ew();return fl={isCombiningCharacter:m,isEmojiModifier:t,isRegionalIndicatorSymbol:p,isSurrogatePair:d},fl}var pl,Ay;function dl(){if(Ay)return pl;Ay=1;const{RegExpValidator:m}=er(),t=2025;function p(d,e,l="u"){if(l==="u"&&d<=5||l==="v"&&d<=2023)return!1;const f=new m({ecmaVersion:Math.min(d,t)});try{f.validatePattern(e,void 0,void 0,l==="u"?{unicode:!0}:{unicodeSets:!0})}catch{return!1}return!0}return pl={isValidWithUnicodeFlag:p,REGEXPP_LATEST_ECMA_VERSION:t},pl}var ml,wy;function rw(){if(wy)return ml;wy=1;class m{constructor(a,c){this.start=a,this.source=c}get end(){return this.start+this.length}get length(){return this.source.length}}class t{constructor(a){this.source=a,this.pos=0}advance(a){this.pos+=a}read(a=0,c=1){const n=a+this.pos;return this.source.slice(n,n+c)}}const p={__proto__:null,b:"\b",f:"\f",n:`
84
- `,r:"\r",t:" ",v:"\v"};function d(s,a){const c=s.read(0,a),n=parseInt(c,16);return s.advance(a),String.fromCharCode(n)}function e(s){const a=/\{(?<hexDigits>[\dA-F]+)\}/iuy;a.lastIndex=s.pos;const c=a.exec(s.source);if(c){const n=parseInt(c.groups.hexDigits,16);return s.pos=a.lastIndex,String.fromCodePoint(n)}return d(s,4)}function l(s,a){const[c]=s.read(-1,a).match(/^[0-7]+/u);s.advance(c.length-1);const n=parseInt(c,8);return String.fromCharCode(n)}function f(s){const a=s.read(1);s.advance(2);const c=p[a];if(c)return c;switch(a){case"x":return d(s,2);case"u":return e(s);case"\r":s.read()===`
85
- `&&s.advance(1);case`
86
- `:case"\u2028":case"\u2029":return"";case"0":case"1":case"2":case"3":return l(s,3);case"4":case"5":case"6":case"7":return l(s,2);default:return a}}function*o(s){const a=s.pos,c=f(s),n=s.pos,i=s.source.slice(a,n);switch(c.length){case 0:break;case 1:yield new m(a,i);break;default:yield new m(a,i),yield new m(a,i);break}}function r(s){const a=new t(s),c=a.read();a.advance(1);const n=[];for(;;){const i=a.read();if(i===c)break;i==="\\"?n.push(...o(a)):(n.push(new m(a.pos,i)),a.advance(1))}return n}function u(s){const a=new t(s);a.advance(1);const c=[];for(;;){const n=a.read();if(n==="`"||n==="$"&&a.read(1)==="{")break;if(n==="\\")c.push(...o(a));else{let i;n==="\r"&&a.read(1)===`
87
- `?i=`\r
88
- `:i=n,c.push(new m(a.pos,i)),a.advance(i.length)}}return c}return ml={parseStringLiteral:r,parseTemplateToken:u},ml}var hl,Ty;function nw(){if(Ty)return hl;Ty=1;const{CALL:m,CONSTRUCT:t,ReferenceTracker:p,getStaticValue:d,getStringIfConstant:e}=Mt(),{RegExpParser:l,visitRegExpAST:f}=er(),{isCombiningCharacter:o,isEmojiModifier:r,isRegionalIndicatorSymbol:u,isSurrogatePair:s}=tw(),a=Le(),{isValidWithUnicodeFlag:c}=dl(),{parseStringLiteral:n,parseTemplateToken:i}=rw();function*h(E){let A=[];for(const C of E)switch(C.type){case"Character":A.push(C);break;case"CharacterClassRange":A.push(C.min),yield A,A=[C.max];break;case"CharacterSet":case"CharacterClass":case"ClassStringDisjunction":case"ExpressionCharacterClass":A.length>0&&(yield A,A=[]);break}A.length>0&&(yield A)}function g(E){return/^\\u\{[\da-f]+\}$/iu.test(E.raw)}const v={*surrogatePairWithoutUFlag(E){for(const[A,C]of E.entries()){const w=E[A-1];w&&C&&s(w.value,C.value)&&!g(w)&&!g(C)&&(yield[w,C])}},*surrogatePair(E){for(const[A,C]of E.entries()){const w=E[A-1];w&&C&&s(w.value,C.value)&&(g(w)||g(C))&&(yield[w,C])}},*combiningClass(E,A){for(const[C,w]of E.entries()){const k=A[C-1];k&&w&&o(w.value)&&!o(k.value)&&(yield[k,w])}},*emojiModifier(E){for(const[A,C]of E.entries()){const w=E[A-1];w&&C&&r(C.value)&&!r(w.value)&&(yield[w,C])}},*regionalIndicatorSymbol(E){for(const[A,C]of E.entries()){const w=E[A-1];w&&C&&u(C.value)&&u(w.value)&&(yield[w,C])}},*zwj(E){let A=null;for(const[C,w]of E.entries()){const k=E[C-1],R=E[C+1];k&&w&&R&&w.value===8205&&k.value!==8205&&R.value!==8205&&(A?A.at(-1)===k?A.push(w,R):(yield A,A=E.slice(C-1,C+2)):A=E.slice(C-1,C+2))}A&&(yield A)}},S=Object.keys(v);function b(E,A){if(!E)return null;if(E.type==="Literal"&&E.regex)return{regex:E.regex};const C=d(E,A);return C?.value instanceof RegExp?null:C}function T(E,A){return A.startsWith("\\")?new RegExp("(?<=^\\\\+).$","su").exec(A)?.[0]!==String.fromCodePoint(E.value):!1}function x(E,A,C){const w=E.start,k=E.end-1,R=C[w].start,P=C[k].end,B=A.slice(R,P);return T(E,B)}return hl={meta:{type:"problem",defaultOptions:[{allowEscape:!1}],docs:{description:"Disallow characters which are made with multiple code points in character class syntax",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-misleading-character-class"},hasSuggestions:!0,schema:[{type:"object",properties:{allowEscape:{type:"boolean"}},additionalProperties:!1}],messages:{surrogatePairWithoutUFlag:"Unexpected surrogate pair in character class. Use 'u' flag.",surrogatePair:"Unexpected surrogate pair in character class.",combiningClass:"Unexpected combined character in character class.",emojiModifier:"Unexpected modified Emoji in character class.",regionalIndicatorSymbol:"Unexpected national flag in character class.",zwj:"Unexpected joined character sequence in character class.",suggestUnicodeFlag:"Add unicode 'u' flag to regex."}},create(E){const[{allowEscape:A}]=E.options,C=E.sourceCode,w=new l,k=new Set;function R(P,B,F,O){let $;try{$=w.parsePattern(B,0,B.length,{unicode:F.includes("u"),unicodeSets:F.includes("v")})}catch{return}let N=null;function _(K){if(P.type==="Literal"&&P.regex)return T(K,K.raw);if(P.type==="Literal"&&typeof P.value=="string"){const J=P.raw;return N??=n(J),x(K,J,N)}if(a.isStaticTemplateLiteral(P)){const J=C.getText(P);return N??=i(J),x(K,J,N)}return!1}const X=new Map;f($,{onCharacterClassEnter(K){for(const J of h(K.elements)){let ge;A?ge=J.map(ae=>_(ae)?null:ae):ge=J;for(const ae of S){const ke=v[ae](ge,J);X.has(ae)?X.get(ae).push(...ke):X.set(ae,[...ke])}}}});function L(K){return!a.isStaticTemplateLiteral(P)&&P.type!=="Literal"?K.length?[P.loc]:[]:K.map(J=>{const ge=J[0].start,ae=J.at(-1).end-1;let ke,Z;if(P.type==="TemplateLiteral"){const I=C.getText(P),H=P.range[0];N??=i(I),ke=H+N[ge].start,Z=H+N[ae].end}else if(typeof P.value=="string"){const I=P.raw,H=P.range[0];N??=n(I),ke=H+N[ge].start,Z=H+N[ae].end}else{const I=P.range[0]+1;ke=I+ge,Z=I+ae+1}return{start:C.getLocFromIndex(ke),end:C.getLocFromIndex(Z)}})}for(const[K,J]of X){let ge;K==="surrogatePairWithoutUFlag"&&(ge=[{messageId:"suggestUnicodeFlag",fix:O}]);const ae=L(J);for(const ke of ae)E.report({node:P,loc:ke,messageId:K,suggest:ge})}}return{"Literal[regex]"(P){k.has(P)||R(P,P.regex.pattern,P.regex.flags,B=>c(E.languageOptions.ecmaVersion,P.regex.pattern)?B.insertTextAfter(P,"u"):null)},Program(P){const B=C.getScope(P),F=new p(B);for(const{node:O}of F.iterateGlobalReferences({RegExp:{[m]:!0,[t]:!0}})){let $,N;const[_,X]=O.arguments,L=b(_,B);if(L){if(X)L.regex?($=L.regex.pattern,k.add(_)):$=String(L.value),N=e(X,B);else{if(L.regex)continue;$=String(L.value),N=""}typeof N=="string"&&R(_,$,N,K=>{if(!c(E.languageOptions.ecmaVersion,$))return null;if(O.arguments.length===1){const J=C.getLastToken(O,{skip:1});return K.insertTextAfter(J,a.isCommaToken(J)?' "u",':', "u"')}if(X.type==="Literal"&&typeof X.value=="string"||X.type==="TemplateLiteral"){const J=[X.range[0],X.range[1]-1];return K.insertTextAfterRange(J,"u")}return null})}}}}}},hl}var gl,ky;function sw(){if(ky)return gl;ky=1;const m=Le(),t=["+","-","*","/","%","**"],p=["&","|","^","~","<<",">>",">>>"],d=["==","!=","===","!==",">",">=","<","<="],e=["&&","||"],l=["in","instanceof"],f=["?:"],o=["??"],r=[].concat(t,p,d,e,l,f,o),u=[t,p,d,e,l],s=/^(?:Binary|Logical|Conditional)Expression$/u;function a(i={}){const g=i.groups&&i.groups.length>0?i.groups:u,v=i.allowSamePrecedence!==!1;return{groups:g,allowSamePrecedence:v}}function c(i,h,g){return i.some(v=>v.includes(h)&&v.includes(g))}function n(i){return i.type==="ConditionalExpression"?i.test:i.left}return gl={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-mixed-operators",url:"https://eslint.style/rules/no-mixed-operators"}}]},type:"suggestion",docs:{description:"Disallow mixed binary operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-operators"},schema:[{type:"object",properties:{groups:{type:"array",items:{type:"array",items:{enum:r},minItems:2,uniqueItems:!0},uniqueItems:!0},allowSamePrecedence:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedMixedOperator:"Unexpected mix of '{{leftOperator}}' and '{{rightOperator}}'. Use parentheses to clarify the intended order of operations."}},create(i){const h=i.sourceCode,g=a(i.options[0]);function v(E){const A=E,C=E.parent;return!c(g.groups,A.operator,C.type==="ConditionalExpression"?"?:":C.operator)||g.allowSamePrecedence&&m.getPrecedence(A)===m.getPrecedence(C)}function S(E){return E.operator!==E.parent.operator&&!m.isParenthesised(h,E)}function b(E){return h.getTokenAfter(n(E),m.isNotClosingParenToken)}function T(E){const A=E.parent,C=n(A)===E?E:A,w=n(A)!==E?E:A,k={leftOperator:C.operator||"?:",rightOperator:w.operator||"?:"};i.report({node:C,loc:b(C).loc,messageId:"unexpectedMixedOperator",data:k}),i.report({node:w,loc:b(w).loc,messageId:"unexpectedMixedOperator",data:k})}function x(E){s.test(E.parent.type)&&S(E)&&!v(E)&&T(E)}return{BinaryExpression:x,LogicalExpression:x}}},gl}var yl,Dy;function aw(){return Dy||(Dy=1,yl={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-mixed-requires",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-mixed-requires.md"}}]},type:"suggestion",docs:{description:"Disallow `require` calls to be mixed with regular variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-requires"},schema:[{oneOf:[{type:"boolean"},{type:"object",properties:{grouping:{type:"boolean"},allowCall:{type:"boolean"}},additionalProperties:!1}]}],messages:{noMixRequire:"Do not mix 'require' and other declarations.",noMixCoreModuleFileComputed:"Do not mix core, module, file and computed requires."}},create(m){const t=m.options[0];let p=!1,d=!1;typeof t=="object"?(p=t.grouping,d=t.allowCall):p=!!t;function e(){return["assert","buffer","child_process","cluster","crypto","dgram","dns","domain","events","fs","http","https","net","os","path","punycode","querystring","readline","repl","smalloc","stream","string_decoder","tls","tty","url","util","v8","vm","zlib"]}const l=e(),f="require",o="uninitialized",r="other",u="core",s="file",a="module",c="computed";function n(v){return v?v.type==="CallExpression"&&v.callee.type==="Identifier"&&v.callee.name==="require"?f:d&&v.type==="CallExpression"&&v.callee.type==="CallExpression"?n(v.callee):v.type==="MemberExpression"?n(v.object):r:o}function i(v){if(v.type==="MemberExpression")return i(v.object);if(v.arguments.length===0)return c;const S=v.arguments[0];return S.type!=="Literal"||typeof S.value!="string"?c:l.includes(S.value)?u:/^\.{0,2}\//u.test(S.value)?s:a}function h(v){const S={};return v.forEach(b=>{const T=n(b.init);S[T]=!0}),!!(S[f]&&(S[o]||S[r]))}function g(v){const S={};return v.forEach(b=>{n(b.init)===f&&(S[i(b.init)]=!0)}),Object.keys(S).length<=1}return{VariableDeclaration(v){h(v.declarations)?m.report({node:v,messageId:"noMixRequire"}):p&&!g(v.declarations)&&m.report({node:v,messageId:"noMixCoreModuleFileComputed"})}}}}),yl}var vl,Iy;function iw(){return Iy||(Iy=1,vl={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-mixed-spaces-and-tabs",url:"https://eslint.style/rules/no-mixed-spaces-and-tabs"}}]},type:"layout",docs:{description:"Disallow mixed spaces and tabs for indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs"},schema:[{enum:["smart-tabs",!0,!1]}],messages:{mixedSpacesAndTabs:"Mixed spaces and tabs."}},create(m){const t=m.sourceCode;let p;switch(m.options[0]){case!0:case"smart-tabs":p=!0;break;default:p=!1}return{"Program:exit"(d){const e=t.lines,l=t.getAllComments(),f=new Set;l.forEach(r=>{for(let u=r.loc.start.line+1;u<=r.loc.end.line;u++)f.add(u)});let o=/^(?=( +|\t+))\1(?:\t| )/u;p&&(o=/^(?=(\t*))\1(?=( +))\2\t/u),e.forEach((r,u)=>{const s=o.exec(r);if(s){const a=u+1,c={start:{line:a,column:s[0].length-2},end:{line:a,column:s[0].length}};if(!f.has(a)){const n=t.getNodeByRangeIndex(t.getIndexFromLoc(c.start));n&&["Literal","TemplateElement"].includes(n.type)||m.report({node:d,loc:c,messageId:"mixedSpacesAndTabs"})}}})}}}}),vl}var El,Py;function ow(){return Py||(Py=1,El={meta:{type:"suggestion",defaultOptions:[{ignoreNonDeclaration:!1}],docs:{description:"Disallow use of chained assignment expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-multi-assign"},schema:[{type:"object",properties:{ignoreNonDeclaration:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedChain:"Unexpected chained assignment."}},create(m){const[{ignoreNonDeclaration:t}]=m.options,p=["VariableDeclarator > AssignmentExpression.init","PropertyDefinition > AssignmentExpression.value"];return t||p.push("AssignmentExpression > AssignmentExpression.right"),{[p](d){m.report({node:d,messageId:"unexpectedChain"})}}}}),El}var Sl,Fy;function lw(){if(Fy)return Sl;Fy=1;const m=Le();return Sl={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-multi-spaces",url:"https://eslint.style/rules/no-multi-spaces"}}]},type:"layout",docs:{description:"Disallow multiple spaces",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-multi-spaces"},fixable:"whitespace",schema:[{type:"object",properties:{exceptions:{type:"object",patternProperties:{"^([A-Z][a-z]*)+$":{type:"boolean"}},additionalProperties:!1},ignoreEOLComments:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{multipleSpaces:"Multiple spaces found before '{{displayValue}}'."}},create(t){const p=t.sourceCode,d=t.options[0]||{},e=d.ignoreEOLComments,l=Object.assign({Property:!0},d.exceptions),f=Object.keys(l).some(r=>l[r]);function o(r){const u=r.value.split(`
89
- `),s=u[0],a=`${s.slice(0,12)}...`;return u.length===1&&s.length<=12?s:a}return{Program(){p.tokensAndComments.forEach((r,u,s)=>{if(u===s.length-1)return;const a=s[u+1];if(!p.text.slice(r.range[1],a.range[0]).includes(" ")||r.loc.end.line<a.loc.start.line||e&&m.isCommentToken(a)&&(u===s.length-2||a.loc.end.line<s[u+2].loc.start.line))return;if(f){const n=p.getNodeByRangeIndex(a.range[0]-1);if(n&&l[n.type])return}let c;a.type==="Block"?c=`/*${o(a)}*/`:a.type==="Line"?c=`//${o(a)}`:c=a.value,t.report({node:a,loc:{start:r.loc.end,end:a.loc.start},messageId:"multipleSpaces",data:{displayValue:c},fix:n=>n.replaceTextRange([r.range[1],a.range[0]]," ")})})}}}},Sl}var bl,Ry;function uw(){if(Ry)return bl;Ry=1;const m=Le();return bl={meta:{type:"suggestion",docs:{description:"Disallow multiline strings",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-multi-str"},schema:[],messages:{multilineString:"Multiline support is limited to browsers supporting ES5 only."}},create(t){function p(d){return d.type.indexOf("JSX")===0}return{Literal(d){m.LINEBREAK_MATCHER.test(d.raw)&&!p(d.parent)&&t.report({node:d,messageId:"multilineString"})}}}},bl}var xl,_y;function cw(){return _y||(_y=1,xl={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-multiple-empty-lines",url:"https://eslint.style/rules/no-multiple-empty-lines"}}]},type:"layout",docs:{description:"Disallow multiple empty lines",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-multiple-empty-lines"},fixable:"whitespace",schema:[{type:"object",properties:{max:{type:"integer",minimum:0},maxEOF:{type:"integer",minimum:0},maxBOF:{type:"integer",minimum:0}},required:["max"],additionalProperties:!1}],messages:{blankBeginningOfFile:"Too many blank lines at the beginning of file. Max of {{max}} allowed.",blankEndOfFile:"Too many blank lines at the end of file. Max of {{max}} allowed.",consecutiveBlank:"More than {{max}} blank {{pluralizedLines}} not allowed."}},create(m){let t=2,p=t,d=t;m.options.length&&(t=m.options[0].max,p=typeof m.options[0].maxEOF<"u"?m.options[0].maxEOF:t,d=typeof m.options[0].maxBOF<"u"?m.options[0].maxBOF:t);const e=m.sourceCode,l=e.lines.at(-1)===""?e.lines.slice(0,-1):e.lines,f=new Set;return{TemplateLiteral(o){o.quasis.forEach(r=>{for(let u=r.loc.start.line;u<r.loc.end.line;u++)f.add(u)})},"Program:exit"(o){return l.reduce((r,u,s)=>((u.trim()||f.has(s+1))&&r.push(s+1),r),[]).concat(l.length+1).reduce((r,u)=>{let s,a;return r===0?(s="blankBeginningOfFile",a=d):u===l.length+1?(s="blankEndOfFile",a=p):(s="consecutiveBlank",a=t),u-r-1>a&&m.report({node:o,loc:{start:{line:r+a+1,column:0},end:{line:u,column:0}},messageId:s,data:{max:a,pluralizedLines:a===1?"line":"lines"},fix(c){const n=e.getIndexFromLoc({line:r+1,column:0}),i=u-a,h=i<=l.length?e.getIndexFromLoc({line:i,column:0}):e.text.length;return c.removeRange([n,h])}}),u},0)}}}}),xl}var Cl,By;function fw(){return By||(By=1,Cl={meta:{type:"suggestion",docs:{description:"Disallow assignments to native objects or read-only global variables",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-native-reassign"},deprecated:{message:"Renamed rule.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-global-assign",url:"https://eslint.org/docs/rules/no-global-assign"}}]},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{nativeReassign:"Read-only global '{{name}}' should not be modified."}},create(m){const t=m.options[0],p=t&&t.exceptions||[],d=m.sourceCode;function e(f,o,r){const u=f.identifier;f.init===!1&&f.isWrite()&&(o===0||r[o-1].identifier!==u)&&m.report({node:u,messageId:"nativeReassign",data:u})}function l(f){f.writeable===!1&&!p.includes(f.name)&&f.references.forEach(e)}return{Program(f){d.getScope(f).variables.forEach(l)}}}}),Cl}var Al,Ly;function pw(){return Ly||(Ly=1,Al={meta:{type:"suggestion",docs:{description:"Disallow negated conditions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-negated-condition"},schema:[],messages:{unexpectedNegated:"Unexpected negated condition."}},create(m){function t(l){return l.alternate&&l.alternate.type!=="IfStatement"}function p(l){return l.type==="UnaryExpression"&&l.operator==="!"}function d(l){return l.type==="BinaryExpression"&&(l.operator==="!="||l.operator==="!==")}function e(l){return p(l.test)||d(l.test)}return{IfStatement(l){t(l)&&e(l)&&m.report({node:l,messageId:"unexpectedNegated"})},ConditionalExpression(l){e(l)&&m.report({node:l,messageId:"unexpectedNegated"})}}}}),Al}var wl,Oy;function dw(){return Oy||(Oy=1,wl={meta:{type:"problem",docs:{description:"Disallow negating the left operand in `in` expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-negated-in-lhs"},deprecated:{message:"Renamed rule.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-unsafe-negation",url:"https://eslint.org/docs/rules/no-unsafe-negation"}}]},schema:[],messages:{negatedLHS:"The 'in' expression's left operand is negated."}},create(m){return{BinaryExpression(t){t.operator==="in"&&t.left.type==="UnaryExpression"&&t.left.operator==="!"&&m.report({node:t,messageId:"negatedLHS"})}}}}),wl}var Tl,Ny;function mw(){return Ny||(Ny=1,Tl={meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-nested-ternary"},schema:[],messages:{noNestedTernary:"Do not nest ternary expressions."}},create(m){return{ConditionalExpression(t){(t.alternate.type==="ConditionalExpression"||t.consequent.type==="ConditionalExpression")&&m.report({node:t,messageId:"noNestedTernary"})}}}}),Tl}var kl,My;function hw(){return My||(My=1,kl={meta:{type:"suggestion",docs:{description:"Disallow `new` operators outside of assignments or comparisons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new"},schema:[],messages:{noNewStatement:"Do not use 'new' for side effects."}},create(m){return{"ExpressionStatement > NewExpression"(t){m.report({node:t.parent,messageId:"noNewStatement"})}}}}),kl}var Dl,jy;function gw(){if(jy)return Dl;jy=1;const m=Le(),t=new Set(["apply","bind","call"]);return Dl={meta:{type:"suggestion",docs:{description:"Disallow `new` operators with the `Function` object",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-func"},schema:[],messages:{noFunctionConstructor:"The Function constructor is eval."}},create(p){const d=p.sourceCode;return{"Program:exit"(e){const f=d.getScope(e).set.get("Function");f&&f.defs.length===0&&f.references.forEach(o=>{const r=o.identifier,{parent:u}=r;let s;if(u){if(r===u.callee&&(u.type==="NewExpression"||u.type==="CallExpression"))s=u;else if(u.type==="MemberExpression"&&r===u.object&&t.has(m.getStaticPropertyName(u))){const a=u.parent.type==="ChainExpression"?u.parent:u;a.parent.type==="CallExpression"&&a.parent.callee===a&&(s=a.parent)}}s&&p.report({node:s,messageId:"noFunctionConstructor"})})}}}},Dl}var Il,Uy;function yw(){if(Uy)return Il;Uy=1;const m=["Symbol","BigInt"];return Il={meta:{type:"problem",docs:{description:"Disallow `new` operators with global non-constructor functions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-new-native-nonconstructor"},schema:[],messages:{noNewNonconstructor:"`{{name}}` cannot be called as a constructor."}},create(t){const p=t.sourceCode;return{"Program:exit"(d){const e=p.getScope(d);for(const l of m){const f=e.set.get(l);f&&f.defs.length===0&&f.references.forEach(o=>{const r=o.identifier,u=r.parent;u&&u.type==="NewExpression"&&u.callee===r&&t.report({node:r,messageId:"noNewNonconstructor",data:{name:l}})})}}}}},Il}var Pl,qy;function vw(){if(qy)return Pl;qy=1;const m=Le();return Pl={meta:{type:"suggestion",docs:{description:"Disallow `Object` constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-object"},deprecated:{message:"The new rule flags more situations where object literal syntax can be used, and it does not report a problem when the `Object` constructor is invoked with an argument.",url:"https://eslint.org/blog/2023/09/eslint-v8.50.0-released/",deprecatedSince:"8.50.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-object-constructor",url:"https://eslint.org/docs/rules/no-object-constructor"}}]},schema:[],messages:{preferLiteral:"The object literal notation {} is preferable."}},create(t){const p=t.sourceCode;return{NewExpression(d){const e=m.getVariableByName(p.getScope(d),d.callee.name);e&&e.identifiers.length>0||d.callee.name==="Object"&&t.report({node:d,messageId:"preferLiteral"})}}}},Pl}var Fl,Vy;function Ew(){return Vy||(Vy=1,Fl={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-new-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-new-require.md"}}]},type:"suggestion",docs:{description:"Disallow `new` operators with calls to `require`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-require"},schema:[],messages:{noNewRequire:"Unexpected use of new with require."}},create(m){return{NewExpression(t){t.callee.type==="Identifier"&&t.callee.name==="require"&&m.report({node:t,messageId:"noNewRequire"})}}}}),Fl}var Rl,$y;function Sw(){return $y||($y=1,Rl={meta:{type:"problem",docs:{description:"Disallow `new` operators with the `Symbol` object",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-symbol"},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/docs/latest/use/migrate-to-9.0.0#eslint-recommended",deprecatedSince:"9.0.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-new-native-nonconstructor",url:"https://eslint.org/docs/latest/rules/no-new-native-nonconstructor"}}]},schema:[],messages:{noNewSymbol:"`Symbol` cannot be called as a constructor."}},create(m){const t=m.sourceCode;return{"Program:exit"(p){const e=t.getScope(p).set.get("Symbol");e&&e.defs.length===0&&e.references.forEach(l=>{const f=l.identifier,o=f.parent;o&&o.type==="NewExpression"&&o.callee===f&&m.report({node:f,messageId:"noNewSymbol"})})}}}}),Rl}var _l,Wy;function bw(){if(Wy)return _l;Wy=1;const{getVariableByName:m}=Le();return _l={meta:{type:"suggestion",docs:{description:"Disallow `new` operators with the `String`, `Number`, and `Boolean` objects",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-wrappers"},schema:[],messages:{noConstructor:"Do not use {{fn}} as a constructor."}},create(t){const{sourceCode:p}=t;return{NewExpression(d){const e=["String","Number","Boolean"],{name:l}=d.callee;if(e.includes(l)){const f=m(p.getScope(d),l);f&&f.identifiers.length===0&&t.report({node:d,messageId:"noConstructor",data:{fn:l}})}}}}},_l}var Bl,Gy;function xw(){if(Gy)return Bl;Gy=1;const m=/\\[89]/u;function t(p){return`\\u${p.charCodeAt(0).toString(16).padStart(4,"0")}`}return Bl={meta:{type:"suggestion",docs:{description:"Disallow `\\8` and `\\9` escape sequences in string literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape"},hasSuggestions:!0,schema:[],messages:{decimalEscape:"Don't use '{{decimalEscape}}' escape sequence.",refactor:"Replace '{{original}}' with '{{replacement}}'. This maintains the current functionality.",escapeBackslash:"Replace '{{original}}' with '{{replacement}}' to include the actual backslash character."}},create(p){const d=p.sourceCode;function e(l,f,o){return{messageId:l,data:{original:d.getText().slice(...f),replacement:o},fix(r){return r.replaceTextRange(f,o)}}}return{Literal(l){if(typeof l.value!="string"||!m.test(l.raw))return;const f=/(?:[^\\]|(?<previousEscape>\\.))*?(?<decimalEscape>\\[89])/suy;let o;for(;o=f.exec(l.raw);){const{previousEscape:r,decimalEscape:u}=o.groups,s=l.range[0]+o.index+o[0].length,a=s-u.length,c=[a,s],n=[];r==="\\0"?n.push(e("refactor",[a-r.length,s],`${t("\0")}${u[1]}`),e("refactor",c,t(u[1]))):n.push(e("refactor",c,u[1])),n.push(e("escapeBackslash",c,`\\${u}`)),p.report({node:l,loc:{start:d.getLocFromIndex(a),end:d.getLocFromIndex(s)},messageId:"decimalEscape",data:{decimalEscape:u},suggest:n})}}}}},Bl}var Ll,zy;function Cw(){if(zy)return Ll;zy=1;const{CALL:m,CONSTRUCT:t,ReferenceTracker:p}=Mt(),d=Le().getStaticPropertyName,e=["Atomics","JSON","Math","Reflect","Intl"];function l(f){return f.type==="ChainExpression"?l(f.expression):f.type==="MemberExpression"?d(f):f.name}return Ll={meta:{type:"problem",docs:{description:"Disallow calling global object properties as functions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-obj-calls"},schema:[],messages:{unexpectedCall:"'{{name}}' is not a function.",unexpectedRefCall:"'{{name}}' is reference to '{{ref}}', which is not a function."}},create(f){const o=f.sourceCode;return{Program(r){const u=o.getScope(r),s=new p(u),a={};for(const c of e)a[c]={[m]:!0,[t]:!0};for(const{node:c,path:n}of s.iterateGlobalReferences(a)){const i=l(c.callee),h=n[0],g=i===h?"unexpectedCall":"unexpectedRefCall";f.report({node:c,messageId:g,data:{name:i,ref:h}})}}}}},Ll}var Ol,Hy;function Aw(){if(Hy)return Ol;Hy=1;const{getVariableByName:m,isArrowToken:t,isStartOfExpressionStatement:p,needsPrecedingSemicolon:d}=Le();return Ol={meta:{type:"suggestion",docs:{description:"Disallow calls to the `Object` constructor without an argument",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-object-constructor"},hasSuggestions:!0,schema:[],messages:{preferLiteral:"The object literal notation {} is preferable.",useLiteral:"Replace with '{{replacement}}'.",useLiteralAfterSemicolon:"Replace with '{{replacement}}', add preceding semicolon."}},create(e){const l=e.sourceCode;function f(r){if(p(r))return!0;const u=l.getTokenBefore(r);return!!(u&&t(u))}function o(r){if(r.callee.type!=="Identifier"||r.callee.name!=="Object"||r.arguments.length)return;const u=m(l.getScope(r),"Object");if(u&&u.identifiers.length===0){let s,a,c="useLiteral";f(r)?(s="({})",d(l,r)?(a=";({})",c="useLiteralAfterSemicolon"):a="({})"):s=a="{}",e.report({node:r,messageId:"preferLiteral",suggest:[{messageId:c,data:{replacement:s},fix:n=>n.replaceText(r,a)}]})}}return{CallExpression:o,NewExpression:o}}},Ol}var Nl,Ky;function ww(){return Ky||(Ky=1,Nl={meta:{type:"suggestion",docs:{description:"Disallow octal literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-octal"},schema:[],messages:{noOctal:"Octal literals should not be used."}},create(m){return{Literal(t){typeof t.value=="number"&&/^0\d/u.test(t.raw)&&m.report({node:t,messageId:"noOctal"})}}}}),Nl}var Ml,Xy;function Tw(){return Xy||(Xy=1,Ml={meta:{type:"suggestion",docs:{description:"Disallow octal escape sequences in string literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-octal-escape"},schema:[],messages:{octalEscapeSequence:"Don't use octal: '\\{{sequence}}'. Use '\\u....' instead."}},create(m){return{Literal(t){if(typeof t.value!="string")return;const p=t.raw.match(/^(?:[^\\]|\\.)*?\\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su);p&&m.report({node:t,messageId:"octalEscapeSequence",data:{sequence:p[1]}})}}}}),Ml}var jl,Jy;function kw(){if(Jy)return jl;Jy=1;const m=/(?:Statement|Declaration|Function(?:Expression)?|Program)$/u;return jl={meta:{type:"suggestion",docs:{description:"Disallow reassigning function parameters",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-param-reassign"},schema:[{oneOf:[{type:"object",properties:{props:{enum:[!1]}},additionalProperties:!1},{type:"object",properties:{props:{enum:[!0]},ignorePropertyModificationsFor:{type:"array",items:{type:"string"},uniqueItems:!0},ignorePropertyModificationsForRegex:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]}],messages:{assignmentToFunctionParam:"Assignment to function parameter '{{name}}'.",assignmentToFunctionParamProp:"Assignment to property of function parameter '{{name}}'."}},create(t){const p=t.options[0]&&t.options[0].props,d=t.options[0]&&t.options[0].ignorePropertyModificationsFor||[],e=t.options[0]&&t.options[0].ignorePropertyModificationsForRegex||[],l=t.sourceCode;function f(a){let c=a.identifier,n=c.parent;for(;n&&(!m.test(n.type)||n.type==="ForInStatement"||n.type==="ForOfStatement");){switch(n.type){case"AssignmentExpression":return n.left===c;case"UpdateExpression":return!0;case"UnaryExpression":if(n.operator==="delete")return!0;break;case"ForInStatement":case"ForOfStatement":return n.left===c;case"CallExpression":if(n.callee!==c)return!1;break;case"MemberExpression":if(n.property===c)return!1;break;case"Property":if(n.key===c)return!1;break;case"ConditionalExpression":if(n.test===c)return!1;break}c=n,n=c.parent}return!1}function o(a){return d.includes(a)||e.some(c=>new RegExp(c,"u").test(a))}function r(a,c,n){const i=a.identifier;i&&!a.init&&(c===0||n[c-1].identifier!==i)&&(a.isWrite()?t.report({node:i,messageId:"assignmentToFunctionParam",data:{name:i.name}}):p&&f(a)&&!o(i.name)&&t.report({node:i,messageId:"assignmentToFunctionParamProp",data:{name:i.name}}))}function u(a){a.defs[0].type==="Parameter"&&a.references.forEach(r)}function s(a){l.getDeclaredVariables(a).forEach(u)}return{"FunctionDeclaration:exit":s,"FunctionExpression:exit":s,"ArrowFunctionExpression:exit":s}}},jl}var Ul,Qy;function Dw(){return Qy||(Qy=1,Ul={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-path-concat",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-path-concat.md"}}]},type:"suggestion",docs:{description:"Disallow string concatenation with `__dirname` and `__filename`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-path-concat"},schema:[],messages:{usePathFunctions:"Use path.join() or path.resolve() instead of + to create paths."}},create(m){const t=/^__(?:dir|file)name$/u;return{BinaryExpression(p){const d=p.left,e=p.right;p.operator==="+"&&(d.type==="Identifier"&&t.test(d.name)||e.type==="Identifier"&&t.test(e.name))&&m.report({node:p,messageId:"usePathFunctions"})}}}}),Ul}var ql,Yy;function Iw(){if(Yy)return ql;Yy=1;function m(p){const d=p.parent;return d.type==="ForStatement"&&d.update===p}function t(p){const d=p.parent;return d.type==="SequenceExpression"?t(d):m(p)}return ql={meta:{type:"suggestion",defaultOptions:[{allowForLoopAfterthoughts:!1}],docs:{description:"Disallow the unary operators `++` and `--`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-plusplus"},schema:[{type:"object",properties:{allowForLoopAfterthoughts:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedUnaryOp:"Unary operator '{{operator}}' used."}},create(p){const[{allowForLoopAfterthoughts:d}]=p.options;return{UpdateExpression(e){d&&t(e)||p.report({node:e,messageId:"unexpectedUnaryOp",data:{operator:e.operator}})}}}},ql}var Vl,Zy;function Pw(){return Zy||(Zy=1,Vl={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-process-env",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-process-env.md"}}]},type:"suggestion",docs:{description:"Disallow the use of `process.env`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-process-env"},schema:[],messages:{unexpectedProcessEnv:"Unexpected use of process.env."}},create(m){return{MemberExpression(t){const p=t.object.name,d=t.property.name;p==="process"&&!t.computed&&d&&d==="env"&&m.report({node:t,messageId:"unexpectedProcessEnv"})}}}}),Vl}var $l,ev;function Fw(){return ev||(ev=1,$l={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-process-exit",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-process-exit.md"}}]},type:"suggestion",docs:{description:"Disallow the use of `process.exit()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-process-exit"},schema:[],messages:{noProcessExit:"Don't use process.exit(); throw an error instead."}},create(m){return{"CallExpression > MemberExpression.callee[object.name = 'process'][property.name = 'exit']"(t){m.report({node:t.parent,messageId:"noProcessExit"})}}}}),$l}var Wl,tv;function Rw(){if(tv)return Wl;tv=1;const m=Le(),t=new Set(["ArrowFunctionExpression","FunctionExpression"]);function p(f,o){const r=f.parent;return r.type==="NewExpression"&&r.arguments[0]===f&&r.callee.type==="Identifier"&&r.callee.name==="Promise"&&o.isGlobalReference(r.callee)}function d(f){return f.type==="UnaryExpression"&&f.operator==="void"}function e(f,o,r){const u=m.getPrecedence(o)<m.getPrecedence({type:"UnaryExpression",operator:"void"})&&!m.isParenthesised(f,o),s=f.getTokenBefore(o,o.parent.type==="ArrowFunctionExpression"?m.isArrowToken:n=>n.type==="Keyword"&&n.value==="return"),a=f.getTokenAfter(s),c=s.value==="return"&&s.range[1]===a.range[0];return[r.insertTextBefore(a,`${c?" ":""}void ${u?"(":""}`),r.insertTextAfter(o,u?")":"")]}function l(f,o,r){const u=f.getTokenBefore(o.body,m.isArrowToken),s=f.getTokenAfter(u),a=f.getLastToken(o);return[r.insertTextBefore(s,"{"),r.insertTextAfter(a,"}")]}return Wl={meta:{type:"problem",defaultOptions:[{allowVoid:!1}],docs:{description:"Disallow returning values from Promise executor functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-promise-executor-return"},hasSuggestions:!0,schema:[{type:"object",properties:{allowVoid:{type:"boolean"}},additionalProperties:!1}],messages:{returnsValue:"Return values from promise executor functions cannot be read.",prependVoid:"Prepend `void` to the expression.",wrapBraces:"Wrap the expression in `{}`."}},create(f){let o=null;const r=f.sourceCode,[{allowVoid:u}]=f.options;return{onCodePathStart(s,a){if(o={upper:o,shouldCheck:t.has(a.type)&&p(a,r)},o.shouldCheck&&a.type==="ArrowFunctionExpression"&&a.expression&&!(u&&d(a.body))){const c=[];u&&c.push({messageId:"prependVoid",fix(n){return e(r,a.body,n)}}),a.body.type==="FunctionExpression"&&!a.body.id||c.push({messageId:"wrapBraces",fix(n){return l(r,a,n)}}),f.report({node:a.body,messageId:"returnsValue",suggest:c})}},onCodePathEnd(){o=o.upper},ReturnStatement(s){if(o.shouldCheck&&s.argument){if(!u){f.report({node:s,messageId:"returnsValue"});return}d(s.argument)||f.report({node:s,messageId:"returnsValue",suggest:[{messageId:"prependVoid",fix(a){return e(r,s.argument,a)}}]})}}}}},Wl}var Gl,rv;function _w(){if(rv)return Gl;rv=1;const{getStaticPropertyName:m}=Le();return Gl={meta:{type:"suggestion",docs:{description:"Disallow the use of the `__proto__` property",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-proto"},schema:[],messages:{unexpectedProto:"The '__proto__' property is deprecated."}},create(t){return{MemberExpression(p){m(p)==="__proto__"&&t.report({node:p,messageId:"unexpectedProto"})}}}},Gl}var zl,nv;function Bw(){if(nv)return zl;nv=1;const m=Le();function t(p){let d;if(p.type==="MemberExpression")d=p.object;else if(p.type==="CallExpression")d=p.callee;else return!1;return p.optional?!0:t(d)}return zl={meta:{type:"problem",docs:{description:"Disallow calling some `Object.prototype` methods directly on objects",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-prototype-builtins"},hasSuggestions:!0,schema:[],messages:{prototypeBuildIn:"Do not access Object.prototype method '{{prop}}' from target object.",callObjectPrototype:"Call Object.prototype.{{prop}} explicitly."}},create(p){const d=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable"]);function e(l){const f=m.skipChainExpression(l.callee);if(f.type!=="MemberExpression")return;const o=m.getStaticPropertyName(f);o!==null&&d.has(o)&&p.report({messageId:"prototypeBuildIn",loc:f.property.loc,data:{prop:o},node:l,suggest:[{messageId:"callObjectPrototype",data:{prop:o},fix(r){const u=p.sourceCode;if(t(l)||l.callee.type==="ChainExpression")return null;const s=m.getVariableByName(u.getScope(l),"Object");if(!s||s.scope.type!=="global"||s.defs.length>0)return null;let a=u.getText(f.object);m.getPrecedence(f.object)<=m.getPrecedence({type:"SequenceExpression"})&&(a=`(${a})`);const c=u.getTokenAfter(l.callee,m.isOpeningParenToken),i=l.arguments.length===0?"":", ";return[r.replaceText(f,`Object.prototype.${o}.call`),r.insertTextAfter(c,a+i)]}}]})}return{CallExpression:e}}},zl}var Hl,sv;function Lw(){if(sv)return Hl;sv=1;const m=Le();return Hl={meta:{type:"suggestion",defaultOptions:[{builtinGlobals:!0}],docs:{description:"Disallow variable redeclaration",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-redeclare"},messages:{redeclared:"'{{id}}' is already defined.",redeclaredAsBuiltin:"'{{id}}' is already defined as a built-in global variable.",redeclaredBySyntax:"'{{id}}' is already defined by a variable declaration."},schema:[{type:"object",properties:{builtinGlobals:{type:"boolean"}},additionalProperties:!1}]},create(t){const[{builtinGlobals:p}]=t.options,d=t.sourceCode;function*e(o){p&&(o.eslintImplicitGlobalSetting==="readonly"||o.eslintImplicitGlobalSetting==="writable")&&(yield{type:"builtin"});for(const r of o.identifiers)yield{type:"syntax",node:r,loc:r.loc};if(o.eslintExplicitGlobalComments)for(const r of o.eslintExplicitGlobalComments)yield{type:"comment",node:r,loc:m.getNameLocationInGlobalDirectiveComment(d,r,o.name)}}function l(o){for(const r of o.variables){const[u,...s]=e(r);if(s.length===0)continue;const a=u.type==="builtin"?"redeclaredAsBuiltin":"redeclaredBySyntax",c={id:r.name};for(const{type:n,node:i,loc:h}of s){const g=n===u.type?"redeclared":a;t.report({node:i,loc:h,messageId:g,data:c})}}}function f(o){const r=d.getScope(o);r.block===o&&l(r)}return{Program(o){const r=d.getScope(o);l(r),r.type==="global"&&r.childScopes[0]&&r.block===r.childScopes[0].block&&l(r.childScopes[0])},FunctionDeclaration:f,FunctionExpression:f,ArrowFunctionExpression:f,StaticBlock:f,BlockStatement:f,ForStatement:f,ForInStatement:f,ForOfStatement:f,SwitchStatement:f}}},Hl}var Kl,av;function Ow(){if(av)return Kl;av=1;const m=Le(),t=er(),p=new t.RegExpParser,d=/ {2}/u;function e(l){return l&&l.type==="Literal"&&typeof l.value=="string"}return Kl={meta:{type:"suggestion",docs:{description:"Disallow multiple spaces in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-regex-spaces"},schema:[],fixable:"code",messages:{multipleSpaces:"Spaces are hard to count. Use {{{length}}}."}},create(l){const f=l.sourceCode;function o(s,a,c,n,i){if(!d.test(c))return;const h=[];let g;try{g=p.parsePattern(a,0,a.length,{unicode:i.includes("u"),unicodeSets:i.includes("v")})}catch{return}t.visitRegExpAST(g,{onCharacterClassEnter(b){h.push(b)}});const v=/( {2,})(?: [+*{?]|[^+*{?]|$)/gu;let S;for(;S=v.exec(a);){const{1:{length:b},index:T}=S;if(h.every(({start:x,end:E})=>T<x||E<=T)){l.report({node:s,messageId:"multipleSpaces",data:{length:b},fix(x){return a!==c?null:x.replaceTextRange([n+T,n+T+b],` {${b}}`)}});return}}}function r(s){if(s.regex){const a=s.regex.pattern,c=s.raw.slice(1,s.raw.lastIndexOf("/")),n=s.range[0]+1,i=s.regex.flags;o(s,a,c,n,i)}}function u(s){const a=f.getScope(s),c=m.getVariableByName(a,"RegExp"),n=c&&c.defs.length>0,i=s.arguments[0];if(s.callee.type==="Identifier"&&s.callee.name==="RegExp"&&e(i)&&!n){const h=i.value,g=i.raw.slice(1,-1),v=i.range[0]+1;let S;if(s.arguments.length<2)S="";else{const b=s.arguments[1];if(e(b))S=b.value;else return}o(s,h,g,v,S)}}return{Literal:r,CallExpression:u,NewExpression:u}}},Kl}var Xl,iv;function Nw(){if(iv)return Xl;iv=1;const m=Le();return Xl={meta:{type:"suggestion",docs:{description:"Disallow specified names in exports",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-exports"},schema:[{anyOf:[{type:"object",properties:{restrictedNamedExports:{type:"array",items:{type:"string"},uniqueItems:!0},restrictedNamedExportsPattern:{type:"string"}},additionalProperties:!1},{type:"object",properties:{restrictedNamedExports:{type:"array",items:{type:"string",pattern:"^(?!default$)"},uniqueItems:!0},restrictedNamedExportsPattern:{type:"string"},restrictDefaultExports:{type:"object",properties:{direct:{type:"boolean"},named:{type:"boolean"},defaultFrom:{type:"boolean"},namedFrom:{type:"boolean"},namespaceFrom:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1}]}],messages:{restrictedNamed:"'{{name}}' is restricted from being used as an exported name.",restrictedDefault:"Exporting 'default' is restricted."}},create(t){const p=new Set(t.options[0]&&t.options[0].restrictedNamedExports),d=t.options[0]&&t.options[0].restrictedNamedExportsPattern,e=t.options[0]&&t.options[0].restrictDefaultExports,l=t.sourceCode;function f(o){const r=m.getModuleExportName(o);let u=!1;if(d&&r!=="default"&&(u=new RegExp(d,"u").test(r)),u||p.has(r)){t.report({node:o,messageId:"restrictedNamed",data:{name:r}});return}if(r==="default")if(o.parent.type==="ExportAllDeclaration")e&&e.namespaceFrom&&t.report({node:o,messageId:"restrictedDefault"});else{const s=!!o.parent.parent.source,a=m.getModuleExportName(o.parent.local);if(!s&&e&&e.named){t.report({node:o,messageId:"restrictedDefault"});return}s&&e&&(a==="default"&&e.defaultFrom||a!=="default"&&e.namedFrom)&&t.report({node:o,messageId:"restrictedDefault"})}}return{ExportAllDeclaration(o){o.exported&&f(o.exported)},ExportDefaultDeclaration(o){e&&e.direct&&t.report({node:o,messageId:"restrictedDefault"})},ExportNamedDeclaration(o){const r=o.declaration;r?r.type==="FunctionDeclaration"||r.type==="ClassDeclaration"?f(r.id):r.type==="VariableDeclaration"&&l.getDeclaredVariables(r).map(u=>u.defs.find(s=>s.parent===r)).map(u=>u.name).forEach(f):o.specifiers.map(u=>u.exported).forEach(f)}}}},Xl}var Jl,ov;function Mw(){if(ov)return Jl;ov=1;const m=Le(),t=new Set(["TSTypeReference","TSInterfaceHeritage","TSClassImplements","TSTypeQuery","TSQualifiedName"]),p=new Set(["globalThis","self","window"]),d={type:"array",items:{oneOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string"}},required:["name"],additionalProperties:!1}]},uniqueItems:!0,minItems:0};return Jl={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow specified global variables",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-globals"},schema:{anyOf:[d,{type:"array",items:[{type:"object",properties:{globals:d,checkGlobalObject:{type:"boolean"},globalObjects:{type:"array",items:{type:"string"},uniqueItems:!0}},required:["globals"],additionalProperties:!1}],additionalItems:!1}]},messages:{defaultMessage:"Unexpected use of '{{name}}'.",customMessage:"Unexpected use of '{{name}}'. {{customMessage}}"}},create(e){const{sourceCode:l,options:f}=e,o=typeof f[0]=="object"&&Object.hasOwn(f[0],"globals"),r=o?f[0].globals:f,u=o?f[0].checkGlobalObject:!1,s=o?f[0].globalObjects||[]:[],a=new Set([...p,...s]);if(r.length===0)return{};const c=r.reduce((g,v)=>(typeof v=="string"?g[v]=null:g[v.name]=v.message,g),{});function n(g){const v=g.identifier.name,S=c[v],b=S?"customMessage":"defaultMessage";e.report({node:g.identifier,messageId:b,data:{name:v,customMessage:S}})}function i(g){return Object.hasOwn(c,g)}function h(g){const v=g.identifier.parent;return t.has(v.type)}return{Program(g){const v=l.getScope(g);v.variables.forEach(S=>{!S.defs.length&&i(S.name)&&S.references.forEach(b=>{h(b)||n(b)})}),v.through.forEach(S=>{i(S.identifier.name)&&!h(S)&&n(S)})},"Program:exit"(g){if(!u)return;const v=l.getScope(g);a.forEach(S=>{const b=m.getVariableByName(v,S);b&&b.references.forEach(T=>{let E=T.identifier.parent;for(;m.isSpecificMemberAccess(E,null,S);)E=E.parent;const A=m.getStaticPropertyName(E);if(A&&i(A)){const C=c[A],w=C?"customMessage":"defaultMessage";e.report({node:E.property,messageId:w,data:{name:A,customMessage:C}})}})})}}}},Jl}var Ql,lv;function uv(){if(lv)return Ql;lv=1;function m($){return Array.isArray($)?$:[$]}const t="",p=" ",d="\\",e=/^\s+$/,l=/(?:[^\\]|^)\\$/,f=/^\\!/,o=/^\\#/,r=/\r?\n/g,u=/^\.*\/|^\.+$/,s="/";let a="node-ignore";typeof Symbol<"u"&&(a=Symbol.for("node-ignore"));const c=a,n=($,N,_)=>Object.defineProperty($,N,{value:_}),i=/([0-z])-([0-z])/g,h=()=>!1,g=$=>$.replace(i,(N,_,X)=>_.charCodeAt(0)<=X.charCodeAt(0)?N:t),v=$=>{const{length:N}=$;return $.slice(0,N-N%2)},S=[[/^\uFEFF/,()=>t],[/((?:\\\\)*?)(\\?\s+)$/,($,N,_)=>N+(_.indexOf("\\")===0?p:t)],[/(\\+?)\s/g,($,N)=>{const{length:_}=N;return N.slice(0,_-_%2)+p}],[/[\\$.|*+(){^]/g,$=>`\\${$}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,($,N,_)=>N+6<_.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,($,N,_)=>{const X=_.replace(/\\\*/g,"[^\\/]*");return N+X}],[/\\\\\\(?=[$.|*+(){^])/g,()=>d],[/\\\\/g,()=>d],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,($,N,_,X,L)=>N===d?`\\[${_}${v(X)}${L}`:L==="]"&&X.length%2===0?`[${g(_)}${X}]`:"[]"],[/(?:[^*])$/,$=>/\/$/.test($)?`${$}$`:`${$}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,($,N)=>`${N?`${N}[^/]+`:"[^/]*"}(?=$|\\/$)`]],b=Object.create(null),T=($,N)=>{let _=b[$];return _||(_=S.reduce((X,[L,K])=>X.replace(L,K.bind($)),$),b[$]=_),N?new RegExp(_,"i"):new RegExp(_)},x=$=>typeof $=="string",E=$=>$&&x($)&&!e.test($)&&!l.test($)&&$.indexOf("#")!==0,A=$=>$.split(r);class C{constructor(N,_,X,L){this.origin=N,this.pattern=_,this.negative=X,this.regex=L}}const w=($,N)=>{const _=$;let X=!1;$.indexOf("!")===0&&(X=!0,$=$.substr(1)),$=$.replace(f,"!").replace(o,"#");const L=T($,N);return new C(_,$,X,L)},k=($,N)=>{throw new N($)},R=($,N,_)=>x($)?$?R.isNotRelative($)?_(`path should be a \`path.relative()\`d string, but got "${N}"`,RangeError):!0:_("path must not be empty",TypeError):_(`path must be a string, but got \`${N}\``,TypeError),P=$=>u.test($);R.isNotRelative=P,R.convert=$=>$;class B{constructor({ignorecase:N=!0,ignoreCase:_=N,allowRelativePaths:X=!1}={}){n(this,c,!0),this._rules=[],this._ignoreCase=_,this._allowRelativePaths=X,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(N){if(N&&N[c]){this._rules=this._rules.concat(N._rules),this._added=!0;return}if(E(N)){const _=w(N,this._ignoreCase);this._added=!0,this._rules.push(_)}}add(N){return this._added=!1,m(x(N)?A(N):N).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(N){return this.add(N)}_testOne(N,_){let X=!1,L=!1;return this._rules.forEach(K=>{const{negative:J}=K;if(L===J&&X!==L||J&&!X&&!L&&!_)return;K.regex.test(N)&&(X=!J,L=J)}),{ignored:X,unignored:L}}_test(N,_,X,L){const K=N&&R.convert(N);return R(K,N,this._allowRelativePaths?h:k),this._t(K,_,X,L)}_t(N,_,X,L){if(N in _)return _[N];if(L||(L=N.split(s)),L.pop(),!L.length)return _[N]=this._testOne(N,X);const K=this._t(L.join(s)+s,_,X,L);return _[N]=K.ignored?K:this._testOne(N,X)}ignores(N){return this._test(N,this._ignoreCache,!1).ignored}createFilter(){return N=>!this.ignores(N)}filter(N){return m(N).filter(this.createFilter())}test(N){return this._test(N,this._testCache,!0)}}const F=$=>new B($),O=$=>R($&&R.convert($),$,h);if(F.isPathValid=O,F.default=F,Ql=F,typeof Vt<"u"&&(Vt.env&&Vt.env.IGNORE_TEST_WIN32||Vt.platform==="win32")){const $=_=>/^\\\\\?\\/.test(_)||/["<>|\u0000-\u001F]+/u.test(_)?_:_.replace(/\\/g,"/");R.convert=$;const N=/^[a-z]:\//i;R.isNotRelative=_=>N.test(_)||P(_)}return Ql}var Yl,cv;function jw(){if(cv)return Yl;cv=1;const m=Le(),t=uv(),p={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string",minLength:1},importNames:{type:"array",items:{type:"string"}},allowImportNames:{type:"array",items:{type:"string"}},allowTypeImports:{type:"boolean",description:"Whether to allow type-only imports for a path."}},additionalProperties:!1,required:["name"],not:{required:["importNames","allowImportNames"]}}]},uniqueItems:!0};return Yl={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow specified modules when loaded by `import`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-imports"},messages:{path:"'{{importSource}}' import is restricted from being used.",pathWithCustomMessage:"'{{importSource}}' import is restricted from being used. {{customMessage}}",patterns:"'{{importSource}}' import is restricted from being used by a pattern.",patternWithCustomMessage:"'{{importSource}}' import is restricted from being used by a pattern. {{customMessage}}",patternAndImportName:"'{{importName}}' import from '{{importSource}}' is restricted from being used by a pattern.",patternAndImportNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted from being used by a pattern. {{customMessage}}",patternAndEverything:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted from being used by a pattern.",patternAndEverythingWithRegexImportName:"* import is invalid because import name matching '{{importNames}}' pattern from '{{importSource}}' is restricted from being used.",patternAndEverythingWithCustomMessage:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted from being used by a pattern. {{customMessage}}",patternAndEverythingWithRegexImportNameAndCustomMessage:"* import is invalid because import name matching '{{importNames}}' pattern from '{{importSource}}' is restricted from being used. {{customMessage}}",everything:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted.",everythingWithCustomMessage:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted. {{customMessage}}",importName:"'{{importName}}' import from '{{importSource}}' is restricted.",importNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted. {{customMessage}}",allowedImportName:"'{{importName}}' import from '{{importSource}}' is restricted because only '{{allowedImportNames}}' import(s) is/are allowed.",allowedImportNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted because only '{{allowedImportNames}}' import(s) is/are allowed. {{customMessage}}",everythingWithAllowImportNames:"* import is invalid because only '{{allowedImportNames}}' from '{{importSource}}' is/are allowed.",everythingWithAllowImportNamesAndCustomMessage:"* import is invalid because only '{{allowedImportNames}}' from '{{importSource}}' is/are allowed. {{customMessage}}",allowedImportNamePattern:"'{{importName}}' import from '{{importSource}}' is restricted because only imports that match the pattern '{{allowedImportNamePattern}}' are allowed from '{{importSource}}'.",allowedImportNamePatternWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted because only imports that match the pattern '{{allowedImportNamePattern}}' are allowed from '{{importSource}}'. {{customMessage}}",everythingWithAllowedImportNamePattern:"* import is invalid because only imports that match the pattern '{{allowedImportNamePattern}}' from '{{importSource}}' are allowed.",everythingWithAllowedImportNamePatternWithCustomMessage:"* import is invalid because only imports that match the pattern '{{allowedImportNamePattern}}' from '{{importSource}}' are allowed. {{customMessage}}"},schema:{anyOf:[p,{type:"array",items:[{type:"object",properties:{paths:p,patterns:{anyOf:[{type:"array",items:{type:"string"},uniqueItems:!0},{type:"array",items:{type:"object",properties:{importNames:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},allowImportNames:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},group:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},regex:{type:"string"},importNamePattern:{type:"string"},allowImportNamePattern:{type:"string"},message:{type:"string",minLength:1},caseSensitive:{type:"boolean"},allowTypeImports:{type:"boolean",description:"Whether to allow type-only imports for a pattern."}},additionalProperties:!1,not:{anyOf:[{required:["importNames","allowImportNames"]},{required:["importNamePattern","allowImportNamePattern"]},{required:["importNames","allowImportNamePattern"]},{required:["importNamePattern","allowImportNames"]},{required:["allowImportNames","allowImportNamePattern"]}]},oneOf:[{required:["group"]},{required:["regex"]}]},uniqueItems:!0}]}},additionalProperties:!1}],additionalItems:!1}]}},create(e){const l=e.sourceCode,f=Array.isArray(e.options)?e.options:[],o=typeof f[0]=="object"&&(Object.hasOwn(f[0],"paths")||Object.hasOwn(f[0],"patterns")),r=(o?f[0].paths:e.options)||[],u=r.reduce((b,T)=>{const x=typeof T=="string"?T:T.name;return b[x]||(b[x]=[]),typeof T=="string"?b[x].push({}):b[x].push({message:T.message,importNames:T.importNames,allowImportNames:T.allowImportNames,allowTypeImports:T.allowTypeImports}),b},Object.create(null));let s=(o?f[0].patterns:[])||[];s.length>0&&typeof s[0]=="string"&&(s=[{group:s}]);const a=s.map(({group:b,regex:T,message:x,caseSensitive:E,importNames:A,importNamePattern:C,allowImportNames:w,allowImportNamePattern:k,allowTypeImports:R})=>({...b?{matcher:t({allowRelativePaths:!0,ignorecase:!E}).add(b)}:{},...typeof T=="string"?{regexMatcher:new RegExp(T,E?"u":"iu")}:{},customMessage:x,importNames:A,importNamePattern:C,allowImportNames:w,allowImportNamePattern:k,allowTypeImports:R}));if(Object.keys(r).length===0&&a.length===0)return{};function c(b){return b.importKind==="type"||b.specifiers?.length>0&&b.specifiers.every(T=>T.importKind==="type")}function n(b){return b.importKind==="type"||b.exportKind==="type"}function i(b){return b.exportKind==="type"||b.specifiers?.length>0&&b.specifiers.every(T=>T.exportKind==="type")}function h(b,T,x){Object.hasOwn(u,b)&&u[b].forEach(E=>{const A=E.message,C=E.importNames,w=E.allowImportNames,k=E.allowTypeImports;if(!(k&&(x.type==="ImportDeclaration"||x.type==="TSImportEqualsDeclaration")&&c(x))&&!(k&&(x.type==="ExportNamedDeclaration"||x.type==="ExportAllDeclaration")&&i(x))){if(!C&&!w){e.report({node:x,messageId:A?"pathWithCustomMessage":"path",data:{importSource:b,customMessage:A}});return}T.forEach((R,P)=>{if(P==="*"){const[B]=R;C?e.report({node:x,messageId:A?"everythingWithCustomMessage":"everything",loc:B.loc,data:{importSource:b,importNames:C,customMessage:A}}):w&&e.report({node:x,messageId:A?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:B.loc,data:{importSource:b,allowedImportNames:w,customMessage:A}});return}C&&C.includes(P)&&R.forEach(B=>{k&&n(B.specifier)||e.report({node:x,messageId:A?"importNameWithCustomMessage":"importName",loc:B.loc,data:{importSource:b,customMessage:A,importName:P}})}),w&&!w.includes(P)&&R.forEach(B=>{k&&n(B.specifier)||e.report({node:x,loc:B.loc,messageId:A?"allowedImportNameWithCustomMessage":"allowedImportName",data:{importSource:b,customMessage:A,importName:P,allowedImportNames:w}})})})}})}function g(b,T,x,E){if(T.allowTypeImports&&(b.type==="ImportDeclaration"||b.type==="TSImportEqualsDeclaration")&&c(b)||T.allowTypeImports&&(b.type==="ExportNamedDeclaration"||b.type==="ExportAllDeclaration")&&i(b))return;const A=T.customMessage,C=T.importNames,w=T.importNamePattern?new RegExp(T.importNamePattern,"u"):null,k=T.allowImportNames,R=T.allowImportNamePattern?new RegExp(T.allowImportNamePattern,"u"):null;if(!C&&!k&&!w&&!R){e.report({node:b,messageId:A?"patternWithCustomMessage":"patterns",data:{importSource:E,customMessage:A}});return}x.forEach((P,B)=>{if(B==="*"){const[F]=P;C?e.report({node:b,messageId:A?"patternAndEverythingWithCustomMessage":"patternAndEverything",loc:F.loc,data:{importSource:E,importNames:C,customMessage:A}}):k?e.report({node:b,messageId:A?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:F.loc,data:{importSource:E,allowedImportNames:k,customMessage:A}}):R?e.report({node:b,messageId:A?"everythingWithAllowedImportNamePatternWithCustomMessage":"everythingWithAllowedImportNamePattern",loc:F.loc,data:{importSource:E,allowedImportNamePattern:R,customMessage:A}}):e.report({node:b,messageId:A?"patternAndEverythingWithRegexImportNameAndCustomMessage":"patternAndEverythingWithRegexImportName",loc:F.loc,data:{importSource:E,importNames:w,customMessage:A}});return}(C&&C.includes(B)||w&&w.test(B))&&P.forEach(F=>{T.allowTypeImports&&n(F.specifier)||e.report({node:b,messageId:A?"patternAndImportNameWithCustomMessage":"patternAndImportName",loc:F.loc,data:{importSource:E,customMessage:A,importName:B}})}),k&&!k.includes(B)?P.forEach(F=>{T.allowTypeImports&&n(F.specifier)||e.report({node:b,messageId:A?"allowedImportNameWithCustomMessage":"allowedImportName",loc:F.loc,data:{importSource:E,customMessage:A,importName:B,allowedImportNames:k}})}):R&&!R.test(B)&&P.forEach(F=>{T.allowTypeImports&&n(F.specifier)||e.report({node:b,messageId:A?"allowedImportNamePatternWithCustomMessage":"allowedImportNamePattern",loc:F.loc,data:{importSource:E,customMessage:A,importName:B,allowedImportNamePattern:R}})})})}function v(b,T){return T.regexMatcher?T.regexMatcher.test(b):T.matcher.ignores(b)}function S(b){const T=b.source.value.trim(),x=new Map;if(b.type==="ExportAllDeclaration"){const E=l.getFirstToken(b,1);x.set("*",[{loc:E.loc}])}else if(b.specifiers)for(const E of b.specifiers){let A;const C={loc:E.loc,specifier:E};E.type==="ImportDefaultSpecifier"?A="default":E.type==="ImportNamespaceSpecifier"?A="*":E.imported?A=m.getModuleExportName(E.imported):E.local&&(A=m.getModuleExportName(E.local)),typeof A=="string"&&(x.has(A)?x.get(A).push(C):x.set(A,[C]))}h(T,x,b),a.forEach(E=>{v(T,E)&&g(b,E,x,T)})}return{ImportDeclaration:S,ExportNamedDeclaration(b){b.source&&S(b)},ExportAllDeclaration:S,TSImportEqualsDeclaration(b){if(b.moduleReference.type==="TSExternalModuleReference"){const T=b.moduleReference.expression.value,x=new Map;h(T,x,b),a.forEach(E=>{v(T,E)&&g(b,E,x,T)})}}}}},Yl}var Zl,fv;function Uw(){if(fv)return Zl;fv=1;const m=Le(),t=uv(),p={type:"array",items:{type:"string"},uniqueItems:!0},d={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string",minLength:1}},additionalProperties:!1,required:["name"]}]},uniqueItems:!0};return Zl={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-restricted-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-restricted-require.md"}}]},type:"suggestion",docs:{description:"Disallow specified modules when loaded by `require`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-modules"},schema:{anyOf:[d,{type:"array",items:{type:"object",properties:{paths:d,patterns:p},additionalProperties:!1},additionalItems:!1}]},messages:{defaultMessage:"'{{name}}' module is restricted from being used.",customMessage:"'{{name}}' module is restricted from being used. {{customMessage}}",patternMessage:"'{{name}}' module is restricted from being used by a pattern."}},create(e){const l=Array.isArray(e.options)?e.options:[],f=typeof l[0]=="object"&&(Object.hasOwn(l[0],"paths")||Object.hasOwn(l[0],"patterns")),o=(f?l[0].paths:e.options)||[],r=(f?l[0].patterns:[])||[],u=o.reduce((g,v)=>(typeof v=="string"?g[v]=null:g[v.name]=v.message,g),{});if(Object.keys(o).length===0&&r.length===0)return{};const s=t({allowRelativePaths:!0}).add(r);function a(g){return g&&g.type==="Literal"&&typeof g.value=="string"}function c(g){return g.callee.type==="Identifier"&&g.callee.name==="require"}function n(g){return a(g)?g.value.trim():m.isStaticTemplateLiteral(g)?g.quasis[0].value.cooked.trim():null}function i(g,v){const S=u[v],b=S?"customMessage":"defaultMessage";e.report({node:g,messageId:b,data:{name:v,customMessage:S}})}function h(g){return Object.hasOwn(u,g)}return{CallExpression(g){if(c(g)&&g.arguments.length){const v=n(g.arguments[0]);v&&(h(v)&&i(g,v),r.length>0&&s.ignores(v)&&e.report({node:g,messageId:"patternMessage",data:{name:v}}))}}}}},Zl}var eu,pv;function qw(){if(pv)return eu;pv=1;const m=Le();return eu={meta:{type:"suggestion",docs:{description:"Disallow certain properties on certain objects",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-properties"},schema:{type:"array",items:{type:"object",properties:{object:{type:"string"},property:{type:"string"},allowObjects:{type:"array",items:{type:"string"},uniqueItems:!0},allowProperties:{type:"array",items:{type:"string"},uniqueItems:!0},message:{type:"string"}},anyOf:[{required:["object"]},{required:["property"]}],not:{anyOf:[{required:["allowObjects","object"]},{required:["allowProperties","property"]}]},additionalProperties:!1},uniqueItems:!0},messages:{restrictedObjectProperty:"'{{objectName}}.{{propertyName}}' is restricted from being used.{{allowedPropertiesMessage}}{{message}}",restrictedProperty:"'{{propertyName}}' is restricted from being used.{{allowedObjectsMessage}}{{message}}"}},create(t){const p=t.options;if(p.length===0)return{};const d=new Map,e=new Map,l=new Map;p.forEach(r=>{const u=r.object,s=r.property;typeof u>"u"?l.set(s,{allowObjects:r.allowObjects,message:r.message}):typeof s>"u"?e.set(u,{allowProperties:r.allowProperties,message:r.message}):(d.has(u)||d.set(u,new Map),d.get(u).set(s,{message:r.message}))});function f(r,u){return u?u.includes(r):!1}function o(r,u,s){if(s===null)return;const a=d.get(u),c=a?a.get(s):e.get(u),n=l.get(s);if(c&&!f(s,c.allowProperties)){const i=c.message?` ${c.message}`:"",h=c.allowProperties?` Only these properties are allowed: ${c.allowProperties.join(", ")}.`:"";t.report({node:r,messageId:"restrictedObjectProperty",data:{objectName:u,propertyName:s,message:i,allowedPropertiesMessage:h}})}else if(n&&!f(u,n.allowObjects)){const i=n.message?` ${n.message}`:"",h=n.allowObjects?` Property '${s}' is only allowed on these objects: ${n.allowObjects.join(", ")}.`:"";t.report({node:r,messageId:"restrictedProperty",data:{propertyName:s,message:i,allowedObjectsMessage:h}})}}return{MemberExpression(r){o(r,r.object&&r.object.name,m.getStaticPropertyName(r))},ObjectPattern(r){let u=null;r.parent.type==="VariableDeclarator"?r.parent.init&&r.parent.init.type==="Identifier"&&(u=r.parent.init.name):(r.parent.type==="AssignmentExpression"||r.parent.type==="AssignmentPattern")&&r.parent.right.type==="Identifier"&&(u=r.parent.right.name),r.properties.forEach(s=>{o(r,u,m.getStaticPropertyName(s))})}}}},eu}var tu,dv;function Vw(){return dv||(dv=1,tu={meta:{type:"suggestion",docs:{description:"Disallow specified syntax",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-syntax"},schema:{type:"array",items:{oneOf:[{type:"string"},{type:"object",properties:{selector:{type:"string"},message:{type:"string"}},required:["selector"],additionalProperties:!1}]},uniqueItems:!0,minItems:0},messages:{restrictedSyntax:"{{message}}"}},create(m){return m.options.reduce((t,p)=>{const d=typeof p=="string",e=!d&&!!p.message,l=d?p:p.selector,f=e?p.message:`Using '${l}' is not allowed.`;return Object.assign(t,{[l](o){m.report({node:o,messageId:"restrictedSyntax",data:{message:f}})}})},{})}}),tu}var ru,mv;function $w(){if(mv)return ru;mv=1;const m=Le(),t=/^(?:[a-zA-Z]+?Statement|ArrowFunctionExpression|FunctionExpression|ClassExpression)$/u;return ru={meta:{type:"suggestion",defaultOptions:["except-parens"],docs:{description:"Disallow assignment operators in `return` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-return-assign"},schema:[{enum:["except-parens","always"]}],messages:{returnAssignment:"Return statement should not contain assignment.",arrowAssignment:"Arrow function should not return assignment."}},create(p){const d=p.options[0]!=="except-parens",e=p.sourceCode;return{AssignmentExpression(l){if(!d&&m.isParenthesised(e,l))return;let f=l,o=f.parent;for(;o&&!t.test(o.type);)f=o,o=o.parent;o&&o.type==="ReturnStatement"?p.report({node:o,messageId:"returnAssignment"}):o&&o.type==="ArrowFunctionExpression"&&o.body===f&&p.report({node:o,messageId:"arrowAssignment"})}}}},ru}var nu,hv;function Ww(){if(hv)return nu;hv=1;const m=Le();return nu={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow unnecessary `return await`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-return-await"},fixable:null,deprecated:{message:"The original assumption of the rule no longer holds true because of engine optimization.",deprecatedSince:"8.46.0",availableUntil:null,replacedBy:[]},schema:[],messages:{removeAwait:"Remove redundant `await`.",redundantUseOfAwait:"Redundant use of `await` on a return value."}},create(t){function p(l){t.report({node:t.sourceCode.getFirstToken(l),loc:l.loc,messageId:"redundantUseOfAwait",suggest:[{messageId:"removeAwait",fix(f){const o=t.sourceCode,[r,u]=o.getFirstTokens(l,2);if(!(r.loc.start.line===u.loc.start.line))return null;const[a,c]=r.range,i=o.text[c]===" "?1:0,h=[a,c+i];return f.removeRange(h)}}]})}function d(l){let f=l;for(;!m.isFunction(f)&&f.type!=="Program";){if(f.parent.type==="TryStatement"&&(f===f.parent.block||f===f.parent.handler&&f.parent.finalizer))return!0;f=f.parent}return!1}function e(l){return l.parent.type==="ArrowFunctionExpression"?!0:l.parent.type==="ReturnStatement"?!d(l.parent):l.parent.type==="ConditionalExpression"&&(l===l.parent.consequent||l===l.parent.alternate)||l.parent.type==="LogicalExpression"&&l===l.parent.right||l.parent.type==="SequenceExpression"&&l===l.parent.expressions.at(-1)?e(l.parent):!1}return{AwaitExpression(l){e(l)&&!d(l)&&p(l)}}}},nu}var su,gv;function Gw(){if(gv)return su;gv=1;const m=Le();return su={meta:{type:"suggestion",docs:{description:"Disallow `javascript:` URLs",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-script-url"},schema:[],messages:{unexpectedScriptURL:"Script URL is a form of eval."}},create(t){function p(d){const e=m.getStaticStringValue(d);typeof e=="string"&&e.toLowerCase().indexOf("javascript:")===0&&t.report({node:d,messageId:"unexpectedScriptURL"})}return{Literal(d){d.value&&typeof d.value=="string"&&p(d)},TemplateLiteral(d){d.parent&&d.parent.type==="TaggedTemplateExpression"||p(d)}}}},su}var au,yv;function zw(){if(yv)return au;yv=1;const m=Le(),t=/\s+/gu;function p(d,e,l,f){if(!(!d||!e))if(d.type==="Identifier"&&e.type==="Identifier"&&d.name===e.name)f(e);else if(d.type==="ArrayPattern"&&e.type==="ArrayExpression"){const o=Math.min(d.elements.length,e.elements.length);for(let r=0;r<o;++r){const u=d.elements[r],s=e.elements[r];if(u&&u.type==="RestElement"&&r<e.elements.length-1||(p(u,s,l,f),s&&s.type==="SpreadElement"))break}}else if(d.type==="RestElement"&&e.type==="SpreadElement")p(d.argument,e.argument,l,f);else if(d.type==="ObjectPattern"&&e.type==="ObjectExpression"&&e.properties.length>=1){let o=0;for(let r=e.properties.length-1;r>=0;--r){const u=e.properties[r].type;if(u==="SpreadElement"||u==="ExperimentalSpreadProperty"){o=r+1;break}}for(let r=0;r<d.properties.length;++r)for(let u=o;u<e.properties.length;++u)p(d.properties[r],e.properties[u],l,f)}else if(d.type==="Property"&&e.type==="Property"&&e.kind==="init"&&!e.method){const o=m.getStaticPropertyName(d);o!==null&&o===m.getStaticPropertyName(e)&&p(d.value,e.value,l,f)}else l&&m.skipChainExpression(d).type==="MemberExpression"&&m.skipChainExpression(e).type==="MemberExpression"&&m.isSameReference(d,e)&&f(e)}return au={meta:{type:"problem",defaultOptions:[{props:!0}],docs:{description:"Disallow assignments where both sides are exactly the same",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-self-assign"},schema:[{type:"object",properties:{props:{type:"boolean"}},additionalProperties:!1}],messages:{selfAssignment:"'{{name}}' is assigned to itself."}},create(d){const e=d.sourceCode,[{props:l}]=d.options;function f(o){d.report({node:o,messageId:"selfAssignment",data:{name:e.getText(o).replace(t,"")}})}return{AssignmentExpression(o){["=","&&=","||=","??="].includes(o.operator)&&p(o.left,o.right,l,f)}}}},au}var iu,vv;function Hw(){return vv||(vv=1,iu={meta:{type:"problem",docs:{description:"Disallow comparisons where both sides are exactly the same",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-self-compare"},schema:[],messages:{comparingToSelf:"Comparing to itself is potentially pointless."}},create(m){const t=m.sourceCode;function p(d,e){const l=t.getTokens(d),f=t.getTokens(e);return l.length===f.length&&l.every((o,r)=>o.type===f[r].type&&o.value===f[r].value)}return{BinaryExpression(d){new Set(["===","==","!==","!=",">","<",">=","<="]).has(d.operator)&&p(d.left,d.right)&&m.report({node:d,messageId:"comparingToSelf"})}}}}),iu}var ou,Ev;function Kw(){if(Ev)return ou;Ev=1;const m=Le();return ou={meta:{type:"suggestion",docs:{description:"Disallow comma operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-sequences"},schema:[{type:"object",properties:{allowInParentheses:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowInParentheses:!0}],messages:{unexpectedCommaExpression:"Unexpected use of comma operator."}},create(t){const[{allowInParentheses:p}]=t.options,d=t.sourceCode,e={DoWhileStatement:"test",IfStatement:"test",SwitchStatement:"discriminant",WhileStatement:"test",WithStatement:"object",ArrowFunctionExpression:"body"};function l(r){return r.parent&&e[r.parent.type]&&r===r.parent[e[r.parent.type]]}function f(r){return m.isParenthesised(d,r)}function o(r){const u=d.getTokenBefore(r,1),s=d.getTokenAfter(r,1);return f(r)&&u&&s&&m.isOpeningParenToken(u)&&u.range[1]<=r.range[0]&&m.isClosingParenToken(s)&&s.range[0]>=r.range[1]}return{SequenceExpression(r){if(r.parent.type==="ForStatement"&&(r===r.parent.init||r===r.parent.update))return;if(p){if(l(r)){if(o(r))return}else if(f(r))return}const u=d.getTokenAfter(r.expressions[0],m.isCommaToken);t.report({node:r,loc:u.loc,messageId:"unexpectedCommaExpression"})}}}},ou}var lu,Sv;function Xw(){if(Sv)return lu;Sv=1;const m=Le();function t(e,l,f,o,r){const u=e.parent;return u.type==="CallExpression"&&u.arguments[r]===e&&m.isSpecificMemberAccess(u.callee,f,o)&&l.isGlobalReference(m.skipChainExpression(u.callee).object)}function p(e,l){if(t(e,l,"Object","defineProperty",2)||t(e,l,"Reflect","defineProperty",2))return!0;const f=e.parent;if(f.type==="Property"&&f.value===e){const o=f.parent;if(o.type==="ObjectExpression"&&(t(o,l,"Object","create",1)||t(o,l,"Object","defineProperties",1)))return!0}return!1}function d(e,l){const f=e.parent;return!!((f.type==="Property"||f.type==="MethodDefinition")&&f.kind==="set"&&f.value===e||f.type==="Property"&&f.value===e&&m.getStaticPropertyName(f)==="set"&&f.parent.type==="ObjectExpression"&&p(f.parent,l))}return lu={meta:{type:"problem",docs:{description:"Disallow returning values from setters",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-setter-return"},schema:[],messages:{returnsValue:"Setter cannot return a value."}},create(e){let l=null;const f=e.sourceCode;function o(s){l={upper:l,isSetter:d(s,f)}}function r(){l=l.upper}function u(s){e.report({node:s,messageId:"returnsValue"})}return{FunctionDeclaration:o,FunctionExpression:o,ArrowFunctionExpression(s){o(s),l.isSetter&&s.expression&&u(s.body)},"FunctionDeclaration:exit":r,"FunctionExpression:exit":r,"ArrowFunctionExpression:exit":r,ReturnStatement(s){l&&l.isSetter&&s.argument&&u(s)}}}},lu}var uu,bv;function Jw(){if(bv)return uu;bv=1;const m=Le(),t=new Set(["ArrowFunctionExpression","FunctionExpression"]),p=new Set(["CallExpression"]),d=/^For(?:In|Of)Statement$/u,e=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/u,l=new Set(["TSInterfaceDeclaration","TSTypeAliasDeclaration"]),f=new Set(["TSCallSignatureDeclaration","TSFunctionType","TSMethodSignature","TSEmptyBodyFunctionExpression","TSDeclareFunction","TSConstructSignatureDeclaration","TSConstructorType"]);return uu={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",defaultOptions:[{allow:[],builtinGlobals:!1,hoist:"functions",ignoreOnInitialization:!1,ignoreTypeValueShadow:!0,ignoreFunctionTypeParameterNameValueShadow:!0}],docs:{description:"Disallow variable declarations from shadowing variables declared in the outer scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-shadow"},schema:[{type:"object",properties:{builtinGlobals:{type:"boolean"},hoist:{enum:["all","functions","never","types","functions-and-types"]},allow:{type:"array",items:{type:"string"}},ignoreOnInitialization:{type:"boolean"},ignoreTypeValueShadow:{type:"boolean"},ignoreFunctionTypeParameterNameValueShadow:{type:"boolean"}},additionalProperties:!1}],messages:{noShadow:"'{{name}}' is already declared in the upper scope on line {{shadowedLine}} column {{shadowedColumn}}.",noShadowGlobal:"'{{name}}' is already a global variable."}},create(o){const[{builtinGlobals:r,hoist:u,allow:s,ignoreOnInitialization:a,ignoreTypeValueShadow:c,ignoreFunctionTypeParameterNameValueShadow:n}]=o.options,i=o.sourceCode;function h(X){return X.block.kind==="global"||!!X.upper&&h(X.upper)}function g(X){return X.name==="this"}function v(X,L){if(c!==!0||!("isValueVariable"in X))return!1;const K=L.defs[0],J=K&&K.parent?.type==="ImportDeclaration"&&(K.parent.importKind==="type"||K.parent.specifiers.some(ae=>ae.importKind==="type")),ge=!K||(J?!1:L.isValueVariable);return X.isValueVariable!==ge}function S(X){return n!==!0?!1:X.defs.some(L=>f.has(L.node.type))}function b(X){const K=X.identifiers[0].parent.parent;return K.type!=="TSTypeParameterDeclaration"?!1:K.parent.parent.static}function T(X){return b(X)}function x(X,L){return X&&X.range[0]<=L&&L<=X.range[1]}function E(X,L){let K=X;for(;K&&!L(K);)K=K.parent;return K}function A(X){const L=X.upper;return L&&L.type==="function-expression-name"?L.upper:L}function C(X,L){const K=L.defs[0];if(!K)return!1;const{variableScope:J}=X.scope;if(!(t.has(J.block.type)&&A(J)===L.scope))return!1;const ge=J.block,{parent:ae}=ge,ke=E(ae,H=>p.has(H.type));if(!ke)return!1;let Z=K.name;const I=ke.range[1];for(;Z;){if(Z.type==="VariableDeclarator"){if(x(Z.init,I)||d.test(Z.parent.parent.type)&&x(Z.parent.parent.right,I))return!0;break}else if(Z.type==="AssignmentPattern"){if(x(Z.right,I))return!0}else if(e.test(Z.type))break;Z=Z.parent}return!1}function w(X){return s.includes(X.name)}function k(X){const L=X.scope.block;return L.type==="ClassDeclaration"&&L.id===X.identifiers[0]}function R(X,L){const K=L.scope,J=L.defs[0],ge=J&&J.parent&&J.parent.range,ae=X.scope,ke=X.defs[0],Z=ke&&ke.name.range;return ge&&Z&&ge[0]<Z[0]&&Z[1]<ge[1]&&(ke.type==="FunctionName"&&ke.node.type==="FunctionExpression"||ke.node.type==="ClassExpression")&&K===ae.upper}function P(X){const L=X.defs[0];return L&&L.name.range}function B(X){const L=X.identifiers[0];let K;return L?K={global:!1,line:L.loc.start.line,column:L.loc.start.column+1}:K={global:!0},K}function F(X,L){const K=L.defs[0],J=P(X),ge=P(L);return!ge||J[1]>=ge[0]?!1:u==="types"?!l.has(K.node.type):u==="functions-and-types"?K.node.type!=="FunctionDeclaration"&&!l.has(K.node.type):J&&ge&&J[1]<ge[0]&&(u!=="functions"||!K||K.node.type!=="FunctionDeclaration")}function O(X){const L=o.filename;return!L.endsWith(".d.ts")&&!L.endsWith(".d.cts")&&!L.endsWith(".d.mts")?!1:X.defs.some(K=>K.type==="Variable"&&K.parent.declare||K.type==="ClassName"&&K.node.declare||K.type==="TSEnumName"&&K.node.declare||K.type==="TSModuleName"&&K.node.declare)}function $(X){const L=X.scope.block;return L.type==="TSEnumDeclaration"&&L.id===X.identifiers[0]}function N(X,L,K){const J=K.defs[0];if(!J||!J.parent||!(J.parent.type==="ImportDeclaration"&&(J.parent.importKind==="type"||J.parent.specifiers?.some(I=>I.type==="ImportSpecifier"&&I.importKind==="type"&&I.local.name===K.name))))return!1;const ae=E(L.identifiers[0]?.parent,I=>I.type==="TSModuleDeclaration");if(!ae)return!1;const ke=J.parent.source.value,Z=ae.id.type==="Literal"?ae.id.value:ae.id.name;return ke===Z}function _(X){if(h(X))return;const L=X.variables;for(let K=0;K<L.length;++K){const J=L[K];if(J.identifiers.length===0||k(J)||$(J)||w(J)||O(J)||g(J))continue;const ge=m.getVariableByName(X.upper,J.name);if(ge&&(ge.identifiers.length>0||r&&"writeable"in ge)&&!R(J,ge)&&!(a&&C(J,ge))&&!(u!=="all"&&F(J,ge))&&!v(J,ge)&&!S(J)&&!T(J)&&!N(X,J,ge)){const ae=B(ge),ke=ae.global?"noShadowGlobal":"noShadow",Z={name:J.name};ae.global||(Z.shadowedLine=ae.line,Z.shadowedColumn=ae.column),o.report({node:J.identifiers[0],messageId:ke,data:Z})}}}return{"Program:exit"(X){const K=i.getScope(X).childScopes.slice();for(;K.length;){const J=K.pop();K.push(...J.childScopes),_(J)}}}}},uu}var cu,xv;function Qw(){if(xv)return cu;xv=1;function m(t){return t.name==="undefined"&&t.references.every(p=>!p.isWrite())&&t.defs.every(p=>p.node.type==="VariableDeclarator"&&p.node.init===null)}return cu={meta:{type:"suggestion",defaultOptions:[{reportGlobalThis:!1}],docs:{description:"Disallow identifiers from shadowing restricted names",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-shadow-restricted-names"},schema:[{type:"object",properties:{reportGlobalThis:{type:"boolean"}},additionalProperties:!1}],messages:{shadowingRestrictedName:"Shadowing of global property '{{name}}'."}},create(t){const[{reportGlobalThis:p}]=t.options,d=new Set(["undefined","NaN","Infinity","arguments","eval"]);p&&d.add("globalThis");const e=t.sourceCode,l=new Set;return{"VariableDeclaration, :function, CatchClause, ImportDeclaration, ClassDeclaration, ClassExpression"(f){for(const o of e.getDeclaredVariables(f))if(o.defs.length>0&&d.has(o.name)&&!m(o))for(const r of o.defs){const u=r.name;l.has(u)||(l.add(u),t.report({node:u,messageId:"shadowingRestrictedName",data:{name:o.name}}))}}}}},cu}var fu,Cv;function Yw(){return Cv||(Cv=1,fu={meta:{type:"layout",docs:{description:"Disallow spacing between function identifiers and their applications (deprecated)",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-spaced-func"},deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/function-call-spacing"}}]},fixable:"whitespace",schema:[],messages:{noSpacedFunction:"Unexpected space between function name and paren."}},create(m){const t=m.sourceCode;function p(d){const e=t.getLastToken(d.callee);let l=e,f=t.getTokenAfter(e);for(;f&&f.range[1]<d.range[1]&&f.value!=="(";)l=f,f=t.getTokenAfter(f);f&&f.range[1]<d.range[1]&&t.isSpaceBetweenTokens(l,f)&&m.report({node:d,loc:e.loc.start,messageId:"noSpacedFunction",fix(o){return o.removeRange([l.range[1],f.range[0]])}})}return{CallExpression:p,NewExpression:p}}}),fu}var pu,Av;function Zw(){if(Av)return pu;Av=1;const m=Le();return pu={meta:{type:"problem",docs:{description:"Disallow sparse arrays",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-sparse-arrays"},schema:[],messages:{unexpectedSparseArray:"Unexpected comma in middle of array."}},create(t){return{ArrayExpression(p){if(!p.elements.includes(null))return;const{sourceCode:d}=t;let e;for(const[l,f]of p.elements.entries()){if(l===p.elements.length-1&&f)return;e=d.getTokenAfter(f??e??d.getFirstToken(p),m.isCommaToken),!f&&t.report({node:p,loc:e.loc,messageId:"unexpectedSparseArray"})}}}}},pu}var du,wv;function eT(){return wv||(wv=1,du={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-sync",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-sync.md"}}]},type:"suggestion",docs:{description:"Disallow synchronous methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-sync"},schema:[{type:"object",properties:{allowAtRootLevel:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{noSync:"Unexpected sync method: '{{propertyName}}'."}},create(m){return{[m.options[0]&&m.options[0].allowAtRootLevel?":function MemberExpression[property.name=/.*Sync$/]":"MemberExpression[property.name=/.*Sync$/]"](p){m.report({node:p,messageId:"noSync",data:{propertyName:p.property.name}})}}}}),du}var mu,Tv;function tT(){if(Tv)return mu;Tv=1;const m=/\t+/gu,t=/\S/u;return mu={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-tabs",url:"https://eslint.style/rules/no-tabs"}}]},type:"layout",docs:{description:"Disallow all tabs",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-tabs"},schema:[{type:"object",properties:{allowIndentationTabs:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedTab:"Unexpected tab character."}},create(p){const d=p.sourceCode,e=p.options&&p.options[0]&&p.options[0].allowIndentationTabs;return{Program(l){d.getLines().forEach((f,o)=>{let r;for(;(r=m.exec(f))!==null;)e&&!t.test(f.slice(0,r.index))||p.report({node:l,loc:{start:{line:o+1,column:r.index},end:{line:o+1,column:r.index+r[0].length}},messageId:"unexpectedTab"})})}}}},mu}var hu,kv;function rT(){return kv||(kv=1,hu={meta:{type:"problem",docs:{description:"Disallow template literal placeholder syntax in regular strings",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-template-curly-in-string"},schema:[],messages:{unexpectedTemplateExpression:"Unexpected template string expression."}},create(m){const t=/\$\{[^}]+\}/u;return{Literal(p){typeof p.value=="string"&&t.test(p.value)&&m.report({node:p,messageId:"unexpectedTemplateExpression"})}}}}),hu}var gu,Dv;function nT(){return Dv||(Dv=1,gu={meta:{type:"suggestion",docs:{description:"Disallow ternary operators",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-ternary"},schema:[],messages:{noTernaryOperator:"Ternary operator used."}},create(m){return{ConditionalExpression(t){m.report({node:t,messageId:"noTernaryOperator"})}}}}),gu}var yu,Iv;function sT(){if(Iv)return yu;Iv=1;const m=Le();function t(d){return d.type==="FunctionExpression"&&d.parent.type==="MethodDefinition"&&d.parent.kind==="constructor"}class p{superCalled=!1;invalidNodes=[]}return yu={meta:{type:"problem",docs:{description:"Disallow `this`/`super` before calling `super()` in constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-this-before-super"},schema:[],messages:{noBeforeSuper:"'{{kind}}' is not allowed before 'super()'."}},create(d){let e=null,l=Object.create(null);function f(c){return!c.reachable||l[c.id]?.superCalled}function o(){return!!(e&&e.isConstructor&&e.hasExtends)}function r(c){for(const n of c)if(!f(n))return!1;return!0}function u(){return o()&&!r(e.currentSegments)}function s(c){const n=e.currentSegments;for(const i of n)i.reachable&&l[i.id].invalidNodes.push(c)}function a(){const c=e.currentSegments;for(const n of c)n.reachable&&(l[n.id].superCalled=!0)}return{onCodePathStart(c,n){if(t(n)){const i=n.parent.parent.parent;e={upper:e,isConstructor:!0,hasExtends:!!(i.superClass&&!m.isNullOrUndefined(i.superClass)),codePath:c,currentSegments:new Set}}else e={upper:e,isConstructor:!1,hasExtends:!1,codePath:c,currentSegments:new Set}},onCodePathEnd(c){const n=e.hasExtends;if(e=e.upper,!n)return;const i=new Set;c.traverseSegments((h,g)=>{const v=l[h.id],S=v.invalidNodes.filter(b=>!i.has(b));for(const b of S)i.add(b),d.report({messageId:"noBeforeSuper",node:b,data:{kind:b.type==="Super"?"super":"this"}});v.superCalled&&g.skip()})},onCodePathSegmentStart(c){e.currentSegments.add(c),o()&&(l[c.id]={superCalled:c.prevSegments.length>0&&c.prevSegments.every(f),invalidNodes:[]})},onUnreachableCodePathSegmentStart(c){e.currentSegments.add(c)},onUnreachableCodePathSegmentEnd(c){e.currentSegments.delete(c)},onCodePathSegmentEnd(c){e.currentSegments.delete(c)},onCodePathSegmentLoop(c,n){o()&&e.codePath.traverseSegments({first:n,last:c},(i,h)=>{const g=l[i.id]??new p;g.superCalled?h.skip():i.prevSegments.length>0&&i.prevSegments.every(f)&&(g.superCalled=!0),l[i.id]=g})},ThisExpression(c){u()&&s(c)},Super(c){!m.isCallee(c)&&u()&&s(c)},"CallExpression:exit"(c){c.callee.type==="Super"&&u()&&a()},"Program:exit"(){l=Object.create(null)}}}},yu}var vu,Pv;function aT(){if(Pv)return vu;Pv=1;const m=Le();return vu={meta:{type:"suggestion",docs:{description:"Disallow throwing literals as exceptions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-throw-literal"},schema:[],messages:{object:"Expected an error object to be thrown.",undef:"Do not throw undefined."}},create(t){return{ThrowStatement(p){m.couldBeError(p.argument)?p.argument.type==="Identifier"&&p.argument.name==="undefined"&&t.report({node:p,messageId:"undef"}):t.report({node:p,messageId:"object"})}}}},vu}var Eu,Fv;function iT(){if(Fv)return Eu;Fv=1;const m=Le();return Eu={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-trailing-spaces",url:"https://eslint.style/rules/no-trailing-spaces"}}]},type:"layout",docs:{description:"Disallow trailing whitespace at the end of lines",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-trailing-spaces"},fixable:"whitespace",schema:[{type:"object",properties:{skipBlankLines:{type:"boolean",default:!1},ignoreComments:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{trailingSpace:"Trailing spaces not allowed."}},create(t){const p=t.sourceCode,d="[             ​ ]",e=`^${d}*$`,l=`${d}+$`,f=t.options[0]||{},o=f.skipBlankLines||!1,r=f.ignoreComments||!1;function u(a,c,n){t.report({node:a,loc:c,messageId:"trailingSpace",fix(i){return i.removeRange(n)}})}function s(a){const c=new Set;return a.forEach(n=>{const i=n.type==="Block"?n.loc.end.line-1:n.loc.end.line;for(let h=n.loc.start.line;h<=i;h++)c.add(h)}),c}return{Program:function(c){const n=new RegExp(l,"u"),i=new RegExp(e,"u"),h=p.lines,g=p.getText().match(m.createGlobalLinebreakMatcher()),v=p.getAllComments(),S=s(v);let b=0;for(let T=0,x=h.length;T<x;T++){const E=T+1,A=g&&g[T]?g[T].length:1,C=h[T].length+A,w=n.exec(h[T]);if(w){const k={start:{line:E,column:w.index},end:{line:E,column:C-A}},R=b+k.start.column,P=b+k.end.column,B=p.getNodeByRangeIndex(R);if(B&&B.type==="TemplateElement"&&R>B.parent.range[0]&&P<B.parent.range[1]){b+=C;continue}if(o&&i.test(h[T])){b+=C;continue}const F=[R,P];(!r||!S.has(E))&&u(c,k,F)}b+=C}}}}},Eu}var Su,Rv;function oT(){return Rv||(Rv=1,Su={meta:{type:"problem",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow `let` or `var` variables that are read but never assigned",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unassigned-vars"},schema:[],messages:{unassigned:"'{{name}}' is always 'undefined' because it's never assigned."}},create(m){const t=m.sourceCode;let p=!1;return{"TSModuleDeclaration[declare=true]"(){p=!0},"TSModuleDeclaration[declare=true]:exit"(){p=!1},VariableDeclarator(d){const e=d.parent;if(d.init||d.id.type!=="Identifier"||e.kind==="const"||e.declare||p)return;const[f]=t.getDeclaredVariables(d);if(!f)return;let o=!1;for(const r of f.references){if(r.isWrite())return;r.isRead()&&(o=!0)}o&&m.report({node:d,messageId:"unassigned",data:{name:d.id.name}})}}}}),Su}var bu,_v;function lT(){if(_v)return bu;_v=1;function m(t){const p=t.parent;return p.type==="UnaryExpression"&&p.operator==="typeof"}return bu={meta:{type:"problem",defaultOptions:[{typeof:!1}],docs:{description:"Disallow the use of undeclared variables unless mentioned in `/*global */` comments",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-undef"},schema:[{type:"object",properties:{typeof:{type:"boolean"}},additionalProperties:!1}],messages:{undef:"'{{name}}' is not defined."}},create(t){const[{typeof:p}]=t.options,d=t.sourceCode;return{"Program:exit"(e){d.getScope(e).through.forEach(f=>{const o=f.identifier;!p&&m(o)||t.report({node:o,messageId:"undef",data:o})})}}}},bu}var xu,Bv;function uT(){if(Bv)return xu;Bv=1;const m=Le(),t=new Set(["const","using","await using"]);return xu={meta:{type:"suggestion",docs:{description:"Disallow initializing variables to `undefined`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-undef-init"},schema:[],fixable:"code",messages:{unnecessaryUndefinedInit:"It's not necessary to initialize '{{name}}' to undefined."}},create(p){const d=p.sourceCode;return{VariableDeclarator(e){const l=d.getText(e.id),f=e.init&&e.init.name,o=d.getScope(e),r=m.getVariableByName(o,"undefined"),u=r&&r.defs.length>0,s=d.getLastToken(e);f==="undefined"&&!t.has(e.parent.kind)&&!u&&p.report({node:e,messageId:"unnecessaryUndefinedInit",data:{name:l},fix(a){return e.parent.kind==="var"||e.id.type==="ArrayPattern"||e.id.type==="ObjectPattern"||d.commentsExistBetween(e.id,s)?null:a.removeRange([e.id.range[1],e.range[1]])}})}}}},xu}var Cu,Lv;function cT(){return Lv||(Lv=1,Cu={meta:{type:"suggestion",docs:{description:"Disallow the use of `undefined` as an identifier",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-undefined"},schema:[],messages:{unexpectedUndefined:"Unexpected use of undefined."}},create(m){const t=m.sourceCode;function p(e){m.report({node:e,messageId:"unexpectedUndefined"})}function d(e){const l=e.set.get("undefined");if(!l)return;const f=l.references,o=l.defs;f.filter(r=>!r.init).forEach(r=>p(r.identifier)),o.forEach(r=>p(r.name))}return{"Program:exit"(e){const f=[t.getScope(e)];for(;f.length;){const o=f.pop();f.push(...o.childScopes),d(o)}}}}}),Cu}var Au,Ov;function fT(){return Ov||(Ov=1,Au={meta:{type:"suggestion",defaultOptions:[{allow:[],allowAfterSuper:!1,allowAfterThis:!1,allowAfterThisConstructor:!1,allowFunctionParams:!0,allowInArrayDestructuring:!0,allowInObjectDestructuring:!0,enforceInClassFields:!1,enforceInMethodNames:!1}],docs:{description:"Disallow dangling underscores in identifiers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-underscore-dangle"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"}},allowAfterThis:{type:"boolean"},allowAfterSuper:{type:"boolean"},allowAfterThisConstructor:{type:"boolean"},enforceInMethodNames:{type:"boolean"},allowFunctionParams:{type:"boolean"},enforceInClassFields:{type:"boolean"},allowInArrayDestructuring:{type:"boolean"},allowInObjectDestructuring:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedUnderscore:"Unexpected dangling '_' in '{{identifier}}'."}},create(m){const[{allow:t,allowAfterSuper:p,allowAfterThis:d,allowAfterThisConstructor:e,allowFunctionParams:l,allowInArrayDestructuring:f,allowInObjectDestructuring:o,enforceInClassFields:r,enforceInMethodNames:u}]=m.options,s=m.sourceCode;function a(E){return t.includes(E)}function c(E){const A=E.length;return E!=="_"&&(E[0]==="_"||E[A-1]==="_")}function n(E){return E==="__proto__"}function i(E){return E==="_"}function h(E){return E.object.type==="MemberExpression"&&E.object.property.name==="constructor"&&E.object.object.type==="ThisExpression"}function g(E){l||E.params.forEach(A=>{const{type:C}=A;let w;if(C==="RestElement"?w=A.argument:C==="AssignmentPattern"?w=A.left:w=A,w.type==="Identifier"){const k=w.name;c(k)&&!a(k)&&m.report({node:A,messageId:"unexpectedUnderscore",data:{identifier:k}})}})}function v(E){if(E.type==="FunctionDeclaration"&&E.id){const A=E.id.name;typeof A<"u"&&c(A)&&!a(A)&&m.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:A}})}g(E)}function S(E){s.getDeclaredVariables(E).forEach(A=>{const w=A.defs.find(P=>P.node===E).name,k=w.name;let R=w.parent;for(;!["VariableDeclarator","ArrayPattern","ObjectPattern"].includes(R.type);)R=R.parent;c(k)&&!i(k)&&!a(k)&&!(f&&R.type==="ArrayPattern")&&!(o&&R.type==="ObjectPattern")&&m.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:k}})})}function b(E){const A=E.property.name,C=E.object.type==="ThisExpression",w=E.object.type==="Super",k=h(E);typeof A<"u"&&c(A)&&!(C&&d)&&!(w&&p)&&!(k&&e)&&!n(A)&&!a(A)&&m.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:A}})}function T(E){const A=E.key.name,C=E.type==="MethodDefinition"||E.type==="Property"&&E.method;typeof A<"u"&&u&&C&&c(A)&&!a(A)&&m.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:E.key.type==="PrivateIdentifier"?`#${A}`:A}})}function x(E){const A=E.key.name;typeof A<"u"&&c(A)&&r&&!a(A)&&m.report({node:E,messageId:"unexpectedUnderscore",data:{identifier:E.key.type==="PrivateIdentifier"?`#${A}`:A}})}return{FunctionDeclaration:v,VariableDeclarator:S,MemberExpression:b,MethodDefinition:T,PropertyDefinition:x,Property:T,FunctionExpression:v,ArrowFunctionExpression:v}}}),Au}var wu,Nv;function pT(){if(Nv)return wu;Nv=1;const m=Le();return wu={meta:{type:"problem",docs:{description:"Disallow confusing multiline expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unexpected-multiline"},schema:[],messages:{function:"Unexpected newline between function and ( of function call.",property:"Unexpected newline between object and [ of property access.",taggedTemplate:"Unexpected newline between template tag and template literal.",division:"Unexpected newline between numerator and division operator."}},create(t){const p=/^[gimsuy]+$/u,d=t.sourceCode;function e(l,f){const o=d.getTokenAfter(l,m.isNotClosingParenToken),r=d.getTokenBefore(o);o.loc.start.line!==r.loc.end.line&&t.report({node:l,loc:o.loc,messageId:f})}return{MemberExpression(l){!l.computed||l.optional||e(l.object,"property")},TaggedTemplateExpression(l){const{quasi:f}=l;d.getTokenBefore(f).loc.end.line!==f.loc.start.line&&t.report({node:l,loc:{start:f.loc.start,end:{line:f.loc.start.line,column:f.loc.start.column+1}},messageId:"taggedTemplate"})},CallExpression(l){l.arguments.length===0||l.optional||e(l.callee,"function")},"BinaryExpression[operator='/'] > BinaryExpression[operator='/'].left"(l){const f=d.getTokenAfter(l,r=>r.value==="/"),o=d.getTokenAfter(f);o.type==="Identifier"&&p.test(o.value)&&f.range[1]===o.range[0]&&e(l.left,"division")}}}},wu}var Tu,Mv;function dT(){if(Mv)return Tu;Mv=1;const m=us(),t=Le(),p=/(?:(?:Call|Class|Function|Member|New|Yield)Expression|Statement|Declaration)$/u,d=/^(?:DoWhile|For|While)Statement$/u,e=/^(?:BinaryExpression|ConditionalExpression)$/u,l=/^(?:ArrowFunction|Class|Function)Expression$/u,f=/^(?:Call|Member|New|TaggedTemplate|Yield)Expression$/u;function o(i){if(i.init){const h=i.resolved&&i.resolved.defs[0];if(!h||h.type!=="Variable"||h.parent.kind!=="var")return!1}return i.isWrite()}function r(i){return!i.modified}function u(i){return!(i.modified||i.group)}function s(i,h){const g=i.range,v=h.identifier.range;return g[0]<=v[0]&&v[1]<=g[1]}const a={WhileStatement:s,DoWhileStatement:s,ForStatement(i,h){return s(i,h)&&!(i.init&&s(i.init,h))}};function c(i){let h=i.identifier;for(;h;){if(h.type==="FunctionDeclaration")return h.id?h:null;h=h.parent}return null}function n(i,h){for(let g=0;g<i.length;++g){const v=i[g];for(let S=0;!v.modified&&S<h.length;++S){const b=h[S];let T,x;const E=v.isInLoop(b)||!!((T=c(b))&&(x=t.getVariableByName(b.from.upper,T.id.name))&&x.references.some(v.isInLoop));v.modified=E}}}return Tu={meta:{type:"problem",docs:{description:"Disallow unmodified loop conditions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unmodified-loop-condition"},schema:[],messages:{loopConditionNotModified:"'{{name}}' is not modified in this loop."}},create(i){const h=i.sourceCode;let g=null;function v(A){const C=A.reference.identifier;i.report({node:C,messageId:"loopConditionNotModified",data:C})}function S(A){for(let C=0;C<A.length;++C){const w=A[C];if(w.group){let k=g.get(w.group);k||(k=[],g.set(w.group,k)),k.push(w)}}}function b(A){A.every(r)&&A.forEach(v)}function T(A){let C=!1;return m.traverse(A,{visitorKeys:h.visitorKeys,enter(w){f.test(w.type)?(C=!0,this.break()):l.test(w.type)&&this.skip()}}),C}function x(A){if(A.init)return null;let C=null,w=A.identifier,k=w.parent;for(;k;){if(p.test(k.type)){if(d.test(k.type)&&k.test===w)return{reference:A,group:C,isInLoop:a[k.type].bind(null,k),modified:!1};break}if(e.test(k.type)){if(T(k))break;C=k}w=k,k=k.parent}return null}function E(A){const C=A.references.map(x).filter(Boolean);if(C.length===0)return;S(C);const w=A.references.filter(o);w.length>0&&n(C,w),C.filter(u).forEach(v)}return{"Program:exit"(A){const C=[h.getScope(A)];g=new Map;let w;for(;w=C.pop();)C.push(...w.childScopes),w.variables.forEach(E);g.forEach(b),g=null}}}},Tu}var ku,jv;function mT(){if(jv)return ku;jv=1;const m=Le(),t=new Set(["==","===","!=","!==",">",">=","<","<=","in","instanceof"]),p={"==":"!=","!=":"==","===":"!==","!==":"==="},d=m.getPrecedence({type:"LogicalExpression",operator:"||"});return ku={meta:{type:"suggestion",defaultOptions:[{defaultAssignment:!0}],docs:{description:"Disallow ternary operators when simpler alternatives exist",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-unneeded-ternary"},schema:[{type:"object",properties:{defaultAssignment:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unnecessaryConditionalExpression:"Unnecessary use of boolean literals in conditional expression.",unnecessaryConditionalAssignment:"Unnecessary use of conditional expression for default assignment."}},create(e){const[{defaultAssignment:l}]=e.options,f=e.sourceCode;function o(a){return a.type==="Literal"&&typeof a.value=="boolean"}function r(a){if(a.type==="BinaryExpression"&&Object.hasOwn(p,a.operator)){const c=f.getFirstTokenBetween(a.left,a.right,i=>i.value===a.operator),n=f.getText();return n.slice(a.range[0],c.range[0])+p[a.operator]+n.slice(c.range[1],a.range[1])}return m.getPrecedence(a)<m.getPrecedence({type:"UnaryExpression"})?`!(${m.getParenthesisedText(f,a)})`:`!${m.getParenthesisedText(f,a)}`}function u(a){return a.type==="BinaryExpression"&&t.has(a.operator)||a.type==="UnaryExpression"&&a.operator==="!"}function s(a){return a.test.type==="Identifier"&&a.consequent.type==="Identifier"&&a.test.name===a.consequent.name}return{ConditionalExpression(a){o(a.alternate)&&o(a.consequent)?e.report({node:a,messageId:"unnecessaryConditionalExpression",fix(c){return a.consequent.value===a.alternate.value?a.test.type==="Identifier"?c.replaceText(a,a.consequent.value.toString()):null:a.alternate.value?c.replaceText(a,r(a.test)):c.replaceText(a,u(a.test)?m.getParenthesisedText(f,a.test):`!${r(a.test)}`)}}):!l&&s(a)&&e.report({node:a,messageId:"unnecessaryConditionalAssignment",fix(c){const i=(m.getPrecedence(a.alternate)<d||m.isCoalesceExpression(a.alternate))&&!m.isParenthesised(f,a.alternate)?`(${f.getText(a.alternate)})`:m.getParenthesisedText(f,a.alternate),h=m.getParenthesisedText(f,a.test);return c.replaceText(a,`${h} || ${i}`)}})}}}},ku}var Du,Uv;function hT(){if(Uv)return Du;Uv=1;function m(d){return!!d.init}function t(d){for(const e of d)if(e.reachable)return!1;return!0}class p{constructor(e){this.sourceCode=e,this.startNode=null,this.endNode=null}get location(){return{start:this.startNode.loc.start,end:this.endNode.loc.end}}get isEmpty(){return!(this.startNode&&this.endNode)}contains(e){return e.range[0]>=this.startNode.range[0]&&e.range[1]<=this.endNode.range[1]}isConsecutive(e){return this.contains(this.sourceCode.getTokenBefore(e))}merge(e){this.endNode=e}reset(e){this.startNode=this.endNode=e}}return Du={meta:{type:"problem",docs:{description:"Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unreachable"},schema:[],messages:{unreachableCode:"Unreachable code."}},create(d){let e=null;const l=new p(d.sourceCode),f=[];let o=new Set;function r(u){let s=null;if(u&&(u.type==="PropertyDefinition"||t(o))){if(l.isEmpty){l.reset(u);return}if(l.contains(u))return;if(l.isConsecutive(u)){l.merge(u);return}s=u}l.isEmpty||d.report({messageId:"unreachableCode",loc:l.location,node:l.startNode}),l.reset(s)}return{onCodePathStart(){f.push(o),o=new Set},onCodePathEnd(){o=f.pop()},onUnreachableCodePathSegmentStart(u){o.add(u)},onUnreachableCodePathSegmentEnd(u){o.delete(u)},onCodePathSegmentEnd(u){o.delete(u)},onCodePathSegmentStart(u){o.add(u)},BlockStatement:r,BreakStatement:r,ClassDeclaration:r,ContinueStatement:r,DebuggerStatement:r,DoWhileStatement:r,ExpressionStatement:r,ForInStatement:r,ForOfStatement:r,ForStatement:r,IfStatement:r,ImportDeclaration:r,LabeledStatement:r,ReturnStatement:r,SwitchStatement:r,ThrowStatement:r,TryStatement:r,VariableDeclaration(u){(u.kind!=="var"||u.declarations.some(m))&&r(u)},WhileStatement:r,WithStatement:r,ExportNamedDeclaration:r,ExportDefaultDeclaration:r,ExportAllDeclaration:r,"Program:exit"(){r()},"MethodDefinition[kind='constructor']"(){e={upper:e,hasSuperCall:!1}},"MethodDefinition[kind='constructor']:exit"(u){const{hasSuperCall:s}=e;if(e=e.upper,!u.value.body)return;const a=u.parent.parent;if(a.superClass&&!s)for(const c of a.body.body)c.type==="PropertyDefinition"&&!c.static&&r(c)},"CallExpression > Super.callee"(){e&&(e.hasSuperCall=!0)}}}},Du}var Iu,qv;function gT(){if(qv)return Iu;qv=1;const m=["WhileStatement","DoWhileStatement","ForStatement","ForInStatement","ForOfStatement"];function t(e){for(const l of e)if(l.reachable)return!0;return!1}function p(e){const l=e.parent;if(l)switch(l.type){case"WhileStatement":return e===l.test;case"DoWhileStatement":return e===l.body;case"ForStatement":return e===(l.update||l.test||l.body);case"ForInStatement":case"ForOfStatement":return e===l.left}return!1}function d(e,l){return e.filter(f=>!l.includes(f))}return Iu={meta:{type:"problem",defaultOptions:[{ignore:[]}],docs:{description:"Disallow loops with a body that allows only one iteration",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unreachable-loop"},schema:[{type:"object",properties:{ignore:{type:"array",items:{enum:m},uniqueItems:!0}},additionalProperties:!1}],messages:{invalid:"Invalid loop. Its body allows only one iteration."}},create(e){const[{ignore:l}]=e.options,f=d(m,l),o=f.join(","),r=new Map,u=new Set,s=[];let a=new Set;return{onCodePathStart(){s.push(a),a=new Set},onCodePathEnd(){a=s.pop()},onUnreachableCodePathSegmentStart(c){a.add(c)},onUnreachableCodePathSegmentEnd(c){a.delete(c)},onCodePathSegmentEnd(c){a.delete(c)},onCodePathSegmentStart(c,n){if(a.add(c),p(n)){const i=n.parent;r.set(c,i)}},onCodePathSegmentLoop(c,n,i){const h=r.get(n);(i===h||i.type==="ContinueStatement")&&u.delete(h)},[o](c){t(a)&&u.add(c)},"Program:exit"(){u.forEach(c=>e.report({node:c,messageId:"invalid"}))}}}},Iu}var Pu,Vv;function yT(){if(Vv)return Pu;Vv=1;const m=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression)$/u,t=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement|SwitchStatement)$/u,p=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement)$/u;return Pu={meta:{type:"problem",docs:{description:"Disallow control flow statements in `finally` blocks",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-finally"},schema:[],messages:{unsafeUsage:"Unsafe usage of {{nodeType}}."}},create(d){function e(o){return o.parent.type==="TryStatement"&&o.parent.finalizer===o}function l(o,r){let u=!1,s;o.type==="BreakStatement"&&!o.label?s=t:o.type==="ContinueStatement"?s=p:s=m;for(let a=o;a&&!s.test(a.type);a=a.parent)if(a.parent.label&&r&&a.parent.label.name===r.name&&(u=!0),e(a))return!(r&&u);return!1}function f(o){l(o,o.label)&&d.report({messageId:"unsafeUsage",data:{nodeType:o.type},node:o,line:o.loc.line,column:o.loc.column})}return{ReturnStatement:f,ThrowStatement:f,BreakStatement:f,ContinueStatement:f}}},Pu}var Fu,$v;function vT(){if($v)return Fu;$v=1;const m=Le();function t(e){return e==="in"||e==="instanceof"}function p(e){return e==="<"||e===">"||e===">="||e==="<="}function d(e){return e.type==="UnaryExpression"&&e.operator==="!"}return Fu={meta:{type:"problem",defaultOptions:[{enforceForOrderingRelations:!1}],docs:{description:"Disallow negating the left operand of relational operators",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-negation"},hasSuggestions:!0,schema:[{type:"object",properties:{enforceForOrderingRelations:{type:"boolean"}},additionalProperties:!1}],fixable:null,messages:{unexpected:"Unexpected negating the left operand of '{{operator}}' operator.",suggestNegatedExpression:"Negate '{{operator}}' expression instead of its left operand. This changes the current behavior.",suggestParenthesisedNegation:"Wrap negation in '()' to make the intention explicit. This preserves the current behavior."}},create(e){const l=e.sourceCode,[{enforceForOrderingRelations:f}]=e.options;return{BinaryExpression(o){const r=o.operator,u=f&&p(r);(t(r)||u)&&d(o.left)&&!m.isParenthesised(l,o.left)&&e.report({node:o,loc:o.left.loc,messageId:"unexpected",data:{operator:r},suggest:[{messageId:"suggestNegatedExpression",data:{operator:r},fix(s){const c=[l.getFirstToken(o.left).range[1],o.range[1]],n=l.text.slice(c[0],c[1]);return s.replaceTextRange(c,`(${n})`)}},{messageId:"suggestParenthesisedNegation",fix(s){return s.replaceText(o.left,`(${l.getText(o.left)})`)}}]})}}}},Fu}var Ru,Wv;function ET(){if(Wv)return Ru;Wv=1;const m=new Set(["+","-","/","*","%","**"]),t=new Set(["+=","-=","/=","*=","%=","**="]),p=new Set(["in","instanceof"]);function d(e){return e.type==="ObjectPattern"||e.type==="ArrayPattern"}return Ru={meta:{type:"problem",defaultOptions:[{disallowArithmeticOperators:!1}],docs:{description:"Disallow use of optional chaining in contexts where the `undefined` value is not allowed",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining"},schema:[{type:"object",properties:{disallowArithmeticOperators:{type:"boolean"}},additionalProperties:!1}],fixable:null,messages:{unsafeOptionalChain:"Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError.",unsafeArithmetic:"Unsafe arithmetic operation on optional chaining. It can result in NaN."}},create(e){const[{disallowArithmeticOperators:l}]=e.options;function f(a){e.report({messageId:"unsafeOptionalChain",node:a})}function o(a){e.report({messageId:"unsafeArithmetic",node:a})}function r(a,c){if(a)switch(a.type){case"LogicalExpression":a.operator==="||"||a.operator==="??"?r(a.right,c):a.operator==="&&"&&(r(a.left,c),r(a.right,c));break;case"SequenceExpression":r(a.expressions.at(-1),c);break;case"ConditionalExpression":r(a.consequent,c),r(a.alternate,c);break;case"AwaitExpression":r(a.argument,c);break;case"ChainExpression":c(a);break}}function u(a){r(a,f)}function s(a){r(a,o)}return{"AssignmentExpression, AssignmentPattern"(a){d(a.left)&&u(a.right)},"ClassDeclaration, ClassExpression"(a){u(a.superClass)},CallExpression(a){a.optional||u(a.callee)},NewExpression(a){u(a.callee)},VariableDeclarator(a){d(a.id)&&u(a.init)},MemberExpression(a){a.optional||u(a.object)},TaggedTemplateExpression(a){u(a.tag)},ForOfStatement(a){u(a.right)},SpreadElement(a){a.parent&&a.parent.type!=="ObjectExpression"&&u(a.argument)},BinaryExpression(a){p.has(a.operator)&&u(a.right),l&&m.has(a.operator)&&(s(a.right),s(a.left))},WithStatement(a){u(a.object)},UnaryExpression(a){l&&m.has(a.operator)&&s(a.argument)},AssignmentExpression(a){l&&t.has(a.operator)&&s(a.right)}}}},Ru}var _u,Gv;function ST(){if(Gv)return _u;Gv=1;const m=Le();function t(){return!0}function p(){return!1}return _u={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow unused expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unused-expressions"},schema:[{type:"object",properties:{allowShortCircuit:{type:"boolean"},allowTernary:{type:"boolean"},allowTaggedTemplates:{type:"boolean"},enforceForJSX:{type:"boolean"},ignoreDirectives:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowShortCircuit:!1,allowTernary:!1,allowTaggedTemplates:!1,enforceForJSX:!1,ignoreDirectives:!1}],messages:{unusedExpression:"Expected an assignment or function call and instead saw an expression."}},create(d){const[{allowShortCircuit:e,allowTernary:l,allowTaggedTemplates:f,enforceForJSX:o,ignoreDirectives:r}]=d.options;function u(i){return i.type==="ExpressionStatement"&&i.expression.type==="Literal"&&typeof i.expression.value=="string"}function s(i,h){for(let g=0;g<h.length;++g)if(!i(h[g]))return h.slice(0,g);return h.slice()}function a(i){return s(u,i.body)}function c(i){return m.isTopLevelExpressionStatement(i)&&a(i.parent).includes(i)}const n=Object.assign(Object.create(null),{isDisallowed(i){return(n[i.type]||p)(i)},ArrayExpression:t,ArrowFunctionExpression:t,BinaryExpression:t,ChainExpression(i){return n.isDisallowed(i.expression)},ClassExpression:t,ConditionalExpression(i){return l?n.isDisallowed(i.consequent)||n.isDisallowed(i.alternate):!0},FunctionExpression:t,Identifier:t,JSXElement(){return o},JSXFragment(){return o},Literal:t,LogicalExpression(i){return e?n.isDisallowed(i.right):!0},MemberExpression:t,MetaProperty:t,ObjectExpression:t,SequenceExpression:t,TaggedTemplateExpression(){return!f},TemplateLiteral:t,ThisExpression:t,UnaryExpression(i){return i.operator!=="void"&&i.operator!=="delete"},TSAsExpression(i){return n.isDisallowed(i.expression)},TSTypeAssertion(i){return n.isDisallowed(i.expression)},TSNonNullExpression(i){return n.isDisallowed(i.expression)},TSInstantiationExpression(i){return n.isDisallowed(i.expression)}});return{ExpressionStatement(i){n.isDisallowed(i.expression)&&!m.isDirective(i)&&!(r&&c(i))&&d.report({node:i,messageId:"unusedExpression"})}}}},_u}var Bu,zv;function bT(){if(zv)return Bu;zv=1;const m=Le();return Bu={meta:{type:"suggestion",docs:{description:"Disallow unused labels",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-labels"},schema:[],fixable:"code",messages:{unused:"'{{name}}:' is defined but never used."}},create(t){const p=t.sourceCode;let d=null;function e(r){d={label:r.label.name,used:!1,upper:d}}function l(r){if(p.getTokenAfter(r.label,{includeComments:!0})!==p.getTokenBefore(r.body,{includeComments:!0}))return!1;let u=r.parent;for(;u.type==="LabeledStatement";)u=u.parent;if(u.type==="Program"||u.type==="BlockStatement"&&m.isFunction(u.parent)){const{body:s}=r;if(s.type==="ExpressionStatement"&&(s.expression.type==="Literal"&&typeof s.expression.value=="string"||m.isStaticTemplateLiteral(s.expression)))return!1}return!0}function f(r){d.used||t.report({node:r.label,messageId:"unused",data:r.label,fix:l(r)?u=>u.removeRange([r.range[0],r.body.range[0]]):null}),d=d.upper}function o(r){if(!r.label)return;const u=r.label.name;let s=d;for(;s;){if(s.label===u){s.used=!0;break}s=s.upper}}return{LabeledStatement:e,"LabeledStatement:exit":f,BreakStatement:o,ContinueStatement:o}}},Bu}var Lu,Hv;function xT(){return Hv||(Hv=1,Lu={meta:{type:"problem",docs:{description:"Disallow unused private class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-private-class-members"},schema:[],messages:{unusedPrivateClassMember:"'{{classMemberName}}' is defined but never used."}},create(m){const t=[];function p(d){const e=d.parent.parent,l=e.type==="AssignmentExpression";return!l&&e.type!=="ForInStatement"&&e.type!=="ForOfStatement"&&e.type!=="AssignmentPattern"||e.left!==d.parent?!1:l&&e.operator!=="="?e.parent.type==="ExpressionStatement":!0}return{ClassBody(d){const e=new Map;t.unshift(e);for(const l of d.body)(l.type==="PropertyDefinition"||l.type==="MethodDefinition")&&l.key.type==="PrivateIdentifier"&&e.set(l.key.name,{declaredNode:l,isAccessor:l.type==="MethodDefinition"&&(l.kind==="set"||l.kind==="get")})},PrivateIdentifier(d){const e=t.find(r=>r.has(d.name));if(!e)return;const l=e.get(d.name);if(l.isUsed||d.parent.type==="PropertyDefinition"||d.parent.type==="MethodDefinition")return;if(l.isAccessor){l.isUsed=!0;return}if(p(d))return;const f=d.parent.parent.type,o=d.parent.parent.parent.type;f==="UpdateExpression"&&o==="ExpressionStatement"||f==="Property"&&o==="ObjectPattern"&&d.parent.parent.value===d.parent||f!=="RestElement"&&f!=="ArrayPattern"&&(l.isUsed=!0)},"ClassBody:exit"(){const d=t.shift();for(const[e,{declaredNode:l,isUsed:f}]of d.entries())f||m.report({node:l,loc:l.key.loc,messageId:"unusedPrivateClassMember",data:{classMemberName:`#${e}`}})}}}}),Lu}var Ou,Kv;function CT(){if(Kv)return Ou;Kv=1;const m=Le();return Ou={meta:{type:"problem",docs:{description:"Disallow unused variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-vars"},hasSuggestions:!0,schema:[{oneOf:[{enum:["all","local"]},{type:"object",properties:{vars:{enum:["all","local"]},varsIgnorePattern:{type:"string"},args:{enum:["all","after-used","none"]},ignoreRestSiblings:{type:"boolean"},argsIgnorePattern:{type:"string"},caughtErrors:{enum:["all","none"]},caughtErrorsIgnorePattern:{type:"string"},destructuredArrayIgnorePattern:{type:"string"},ignoreClassWithStaticInitBlock:{type:"boolean"},ignoreUsingDeclarations:{type:"boolean"},reportUsedIgnorePattern:{type:"boolean"}},additionalProperties:!1}]}],messages:{unusedVar:"'{{varName}}' is {{action}} but never used{{additional}}.",usedIgnoredVar:"'{{varName}}' is marked as ignored but is used{{additional}}.",removeVar:"Remove unused variable '{{varName}}'."}},create(t){const p=t.sourceCode,d=/^(?:RestElement|(?:Experimental)?RestProperty)$/u,e={vars:"all",args:"after-used",ignoreRestSiblings:!1,caughtErrors:"all",ignoreClassWithStaticInitBlock:!1,ignoreUsingDeclarations:!1,reportUsedIgnorePattern:!1},l=t.options[0];l&&(typeof l=="string"?e.vars=l:(e.vars=l.vars||e.vars,e.args=l.args||e.args,e.ignoreRestSiblings=l.ignoreRestSiblings||e.ignoreRestSiblings,e.caughtErrors=l.caughtErrors||e.caughtErrors,e.ignoreClassWithStaticInitBlock=l.ignoreClassWithStaticInitBlock||e.ignoreClassWithStaticInitBlock,e.ignoreUsingDeclarations=l.ignoreUsingDeclarations||e.ignoreUsingDeclarations,e.reportUsedIgnorePattern=l.reportUsedIgnorePattern||e.reportUsedIgnorePattern,l.varsIgnorePattern&&(e.varsIgnorePattern=new RegExp(l.varsIgnorePattern,"u")),l.argsIgnorePattern&&(e.argsIgnorePattern=new RegExp(l.argsIgnorePattern,"u")),l.caughtErrorsIgnorePattern&&(e.caughtErrorsIgnorePattern=new RegExp(l.caughtErrorsIgnorePattern,"u")),l.destructuredArrayIgnorePattern&&(e.destructuredArrayIgnorePattern=new RegExp(l.destructuredArrayIgnorePattern,"u"))));function f(F){if(e.destructuredArrayIgnorePattern&&F.name.parent.type==="ArrayPattern")return"array-destructure";switch(F.type){case"CatchClause":return"catch-clause";case"Parameter":return"parameter";default:return"variable"}}function o(F){let O,$;switch(F){case"array-destructure":O=e.destructuredArrayIgnorePattern,$="elements of array destructuring";break;case"catch-clause":O=e.caughtErrorsIgnorePattern,$="caught errors";break;case"parameter":O=e.argsIgnorePattern,$="args";break;case"variable":O=e.varsIgnorePattern,$="vars";break;default:throw new Error(`Unexpected variable type: ${F}`)}return O&&(O=O.toString()),[$,O]}function r(F){const O=F.defs&&F.defs[0];let $="";if(O){const[N,_]=o(f(O));_&&N&&($=`. Allowed unused ${N} must match ${_}`)}return{varName:F.name,action:"defined",additional:$}}function u(F){const O=F.defs&&F.defs[0];let $="";if(O){const[N,_]=o(f(O));_&&N&&($=`. Allowed unused ${N} must match ${_}`)}return{varName:F.name,action:"assigned a value",additional:$}}function s(F,O){const[$,N]=o(O);let _="";return N&&$&&(_=`. Used ${$} must not match ${N}`),{varName:F.name,additional:_}}const a=/(?:Statement|Declaration)$/u;function c(F){const O=F.defs[0];if(O){let $=O.node;if($.type==="VariableDeclarator")$=$.parent;else if(O.type==="Parameter")return!1;return $.parent.type.indexOf("Export")===0}return!1}function n(F){const[O]=F.defs;return O?.type==="Variable"&&(O.parent.kind==="using"||O.parent.kind==="await using")}function i(F){return F.type==="Property"&&F.parent.type==="ObjectPattern"&&d.test(F.parent.properties.at(-1).type)}function h(F){if(e.ignoreRestSiblings){const O=F.defs.some(N=>i(N.name.parent)),$=F.references.some(N=>i(N.identifier.parent));return O||$}return!1}function g(F){return F.isRead()}function v(F,O){let $=F.from;for(;$;){if(O.includes($.block))return!0;$=$.upper}return!1}function S(F){const O=[];return F.defs.forEach($=>{const{type:N,node:_}=$;N==="FunctionName"&&O.push(_),N==="Variable"&&_.init&&(_.init.type==="FunctionExpression"||_.init.type==="ArrowFunctionExpression")&&O.push(_.init)}),O}function b(F,O){return F.range[0]>=O.range[0]&&F.range[1]<=O.range[1]}function T(F){const O=F.parent;return O.type==="ExpressionStatement"?!0:O.type==="SequenceExpression"?O.expressions.at(-1)===F?T(O):!0:!1}function x(F,O){const $=F.identifier,N=$.parent,_=F.from.variableScope,X=F.resolved.scope.variableScope,L=_!==X||m.isInLoop($);return O&&b($,O)?O:N.type==="AssignmentExpression"&&T(N)&&$===N.left&&!L?N.right:null}function E(F,O){let $=F,N=F.parent;for(;N&&b(N,O);){switch(N.type){case"SequenceExpression":if(N.expressions.at(-1)!==$)return!1;break;case"CallExpression":case"NewExpression":return N.callee!==$;case"AssignmentExpression":case"TaggedTemplateExpression":case"YieldExpression":return!0;default:if(a.test(N.type))return!0}$=N,N=N.parent}return!1}function A(F,O){const $=m.getUpperFunction(F);return $&&b($,O)&&E($,O)}function C(F,O){const $=F.identifier,N=$.parent;return F.isRead()&&(N.type==="AssignmentExpression"&&N.left===$&&T(N)&&!m.isLogicalAssignmentOperator(N.operator)||N.type==="UpdateExpression"&&T(N)||O&&b($,O)&&!A($,O))}function w(F){let O=F.identifier.parent;return O.type==="VariableDeclarator"&&(O=O.parent.parent),O.type!=="ForInStatement"&&O.type!=="ForOfStatement"||(O.body.type==="BlockStatement"?O=O.body.body[0]:O=O.body,!O)?!1:O.type==="ReturnStatement"}function k(F){if(F.eslintUsed)return!0;const O=S(F),$=O.length>0;let N=null;return F.references.some(_=>{if(w(_))return!0;const X=C(_,N);return N=x(_,N),g(_)&&!X&&!($&&v(_,O))})}function R(F){const O=F.defs[0],$=p.getDeclaredVariables(O.node);return!$.slice($.indexOf(F)+1).some(_=>_.references.length>0||_.eslintUsed)}function P(F,O){const $=F.variables,N=F.childScopes;let _,X;if(F.type!=="global"||e.vars==="all")for(_=0,X=$.length;_<X;++_){const L=$[_];if(F.type==="class"&&F.block.id===L.identifiers[0]||F.functionExpressionScope||!e.reportUsedIgnorePattern&&L.eslintUsed||F.type==="function"&&L.name==="arguments"&&L.identifiers.length===0)continue;const K=L.defs[0];if(K){const J=K.type,ge=L.references.some(ae=>ae.identifier.parent.type==="ArrayPattern");if((K.name.parent.type==="ArrayPattern"||ge)&&e.destructuredArrayIgnorePattern&&e.destructuredArrayIgnorePattern.test(K.name.name)){e.reportUsedIgnorePattern&&k(L)&&t.report({node:K.name,messageId:"usedIgnoredVar",data:s(L,"array-destructure")});continue}if(J==="ClassName"){const ae=K.node.body.body.some(ke=>ke.type==="StaticBlock");if(e.ignoreClassWithStaticInitBlock&&ae)continue}if(J==="CatchClause"){if(e.caughtErrors==="none")continue;if(e.caughtErrorsIgnorePattern&&e.caughtErrorsIgnorePattern.test(K.name.name)){e.reportUsedIgnorePattern&&k(L)&&t.report({node:K.name,messageId:"usedIgnoredVar",data:s(L,"catch-clause")});continue}}else if(J==="Parameter"){if((K.node.parent.type==="Property"||K.node.parent.type==="MethodDefinition")&&K.node.parent.kind==="set"||e.args==="none")continue;if(e.argsIgnorePattern&&e.argsIgnorePattern.test(K.name.name)){e.reportUsedIgnorePattern&&k(L)&&t.report({node:K.name,messageId:"usedIgnoredVar",data:s(L,"parameter")});continue}if(e.args==="after-used"&&m.isFunction(K.name.parent)&&!R(L))continue}else if(e.varsIgnorePattern&&e.varsIgnorePattern.test(K.name.name)){e.reportUsedIgnorePattern&&k(L)&&t.report({node:K.name,messageId:"usedIgnoredVar",data:s(L,"variable")});continue}}!k(L)&&!c(L)&&!(e.ignoreUsingDeclarations&&n(L))&&!h(L)&&O.push(L)}for(_=0,X=N.length;_<X;++_)P(N[_],O);return O}function B(F,O){const $=O.identifiers[0],N=$.parent,_=N.type,X=p.getTokenBefore($),L=p.getTokenAfter($),K=m.isFunction,J=m.isLoop,ge=O.references.filter(ne=>ne.isWrite());function ae(ne,Ae){return p.getTokenBefore(ne,Ae).range[0]}function ke(ne,Ae){return p.getTokenAfter(ne,Ae).range[1]}function Z(ne){return p.getTokenBefore(ne).value}function I(ne){return p.getTokenAfter(ne).value}function H(ne){return ne.elements.filter(Ae=>Ae!==null).length===1}function fe(ne,Ae){return ne.specifiers.some(z=>z.type===Ae)}function ce(ne,Ae){return ne.type==="String"||Ae&&!m.isSemicolonToken(Ae)&&!m.isOpeningBraceToken(Ae)}function ie(ne){const Ae=ne.parent;return K(Ae)?Ae.params.length===1?F.removeRange(ne.range):Z(ne)==="("&&I(ne)===","?F.removeRange([ne.range[0],ke(ne)]):F.removeRange([ae(ne),ne.range[1]]):null}function he(ne){const Ae=ne.parent;if(Ae.type==="VariableDeclarator"){if(J(Ae.parent.parent))return null;if(Ae.parent.declarations.length===1){const z=p.getTokenAfter(Ae.parent),oe=p.getTokenBefore(Ae.parent);return z&&ce(z,oe)?null:F.removeRange(Ae.parent.range)}return Z(Ae)===","?F.removeRange([ae(Ae),Ae.range[1]]):F.removeRange([Ae.range[0],ke(Ae)])}return Z(ne)===":"&&Ae.parent.type==="ObjectPattern"?we(ne):ie(ne)}function Se(ne){const Ae=ne.parent;return Ae.parent.parent.parent.type==="ObjectPattern"&&Ae.parent.properties.length===1?Se(Ae.parent):Ae.parent.type==="ObjectPattern"?Ae.parent.properties.length===1?he(Ae.parent):Z(Ae)==="{"?F.removeRange([Ae.range[0],ke(Ae)]):F.removeRange([ae(Ae),Ae.range[1]]):null}function xe(ne){const Ae=ne.parent;return Ae.parent.type==="ArrayPattern"&&H(Ae)?xe(Ae):H(Ae)?Z(Ae)===":"?he(Ae):Ae.parent.type==="RestElement"?ee(Ae.parent):he(Ae):Z(ne)===","&&I(ne)==="]"?F.removeRange([ae(ne),ne.range[1]]):F.removeRange(ne.range)}function we(ne){const Ae=ne.parent.parent;return Ae.parent.type==="ArrayPattern"&&Ae.properties.length===1?xe(Ae):Se(ne)}function ee(ne){const Ae=ne.parent;return K(Ae)?Ae.params.length===1?F.removeRange(ne.range):F.removeRange([ae(ne),ne.range[1]]):Ae.type==="ArrayPattern"?H(Ae)?Ae.parent.type==="ArrayPattern"?xe(Ae):he(Ae):F.removeRange([ae(ne),ne.range[1]]):null}if(ge.some(ne=>ne.identifier.range[0]!==$.range[0]))return null;if(_==="VariableDeclarator"){if(N.parent.declarations.length===1){if(J(N.parent.parent)&&N.parent.parent.body!==N.parent)return null;if(N.parent.parent.type==="IfStatement"||J(N.parent.parent)||N.parent.parent.type==="WithStatement"&&N.parent.parent.body===N.parent)return F.replaceText(N.parent,";");const ne=p.getTokenAfter(N.parent),Ae=p.getTokenBefore(N.parent);return ne&&ce(ne,Ae)?null:F.removeRange(N.parent.range)}return X.value===","?F.removeRange([X.range[0],N.range[1]]):F.removeRange([N.range[0],ke(N)])}if(N.parent.type==="ObjectPattern"){if(N.parent.properties.length===1)return N.parent.parent.type==="RestElement"?ee(N.parent.parent):N.parent.parent.type==="ArrayPattern"?xe(N.parent):he(N.parent);if(X.value===":")return Z(N)==="{"&&I(N)===","?F.removeRange([N.range[0],ke(N)]):F.removeRange([ae(N),$.range[1]])}if(_==="ArrayPattern"){if(H(N))return N.parent.type==="RestElement"?ee(N.parent):N.parent.type==="ArrayPattern"?xe(N):he(N);if(X.value===","&&L.value===",")return F.removeRange($.range)}if(_==="RestElement"){if(N.parent.type==="ArrayPattern")return H(N.parent)?N.parent.parent.type==="ArrayPattern"?xe(N.parent):he(N.parent):F.removeRange([ae($,1),$.range[1]]);if(N.parent.type==="ObjectPattern")return N.parent.properties.length===1?he(N.parent):F.removeRange([ae($,1),$.range[1]]);if(K(N.parent))return N.parent.params.length===1?F.removeRange(N.range):F.removeRange([ae(N),N.range[1]])}if(_==="AssignmentPattern"){if(N.parent.type==="ArrayPattern")return xe(N);if(N.parent.parent.type==="ObjectPattern")return N.parent.parent.properties.length===1?N.parent.parent.parent.type==="ArrayPattern"?xe(N.parent.parent):he(N.parent.parent):Z(N.parent)==="{"&&I(N.parent)===","?F.removeRange([N.parent.range[0],ke(N.parent)]):F.removeRange([ae(N.parent),N.parent.range[1]]);if(K(N.parent))return ie(N)}if(_==="FunctionDeclaration"&&N.id===$)return F.removeRange(N.range);if(_==="ImportDefaultSpecifier")return!fe(N.parent,"ImportSpecifier")&&!fe(N.parent,"ImportNamespaceSpecifier")?F.removeRange([N.range[0],N.parent.source.range[0]]):F.removeRange([$.range[0],L.range[1]]);if(_==="ImportSpecifier")return N.parent.specifiers.filter(ne=>ne.type==="ImportSpecifier").length===1?fe(N.parent,"ImportDefaultSpecifier")?F.removeRange([ae(N,1),L.range[1]]):F.removeRange(N.parent.range):Z(N)==="{"?F.removeRange([N.range[0],ke(N)]):F.removeRange([ae(N),N.range[1]]);if(_==="ImportNamespaceSpecifier")return fe(N.parent,"ImportDefaultSpecifier")?F.removeRange([ae(N),N.range[1]]):F.removeRange([N.range[0],N.parent.source.range[0]]);if(_==="CatchClause")return null;if(_==="ClassDeclaration")return F.removeRange(N.range);if(X?.value===",")return F.removeRange([X.range[0],$.range[1]]);if(L.value===","){if(X.value==="(")return F.removeRange([$.range[0],L.range[1]]);if(X.value==="{")return F.removeRange([$.range[0],L.range[1]])}return _==="ArrowFunctionExpression"&&N.params.length===1&&L?.value!==")"?F.replaceText($,"()"):F.removeRange($.range)}return{"Program:exit"(F){const O=P(p.getScope(F),[]);for(let $=0,N=O.length;$<N;++$){const _=O[$];if(_.defs.length>0){const X=_.references.filter(K=>K.isWrite()&&K.from.variableScope===_.scope.variableScope);let L;X.length>0&&(L=X.at(-1)),t.report({node:L?L.identifier:_.identifiers[0],messageId:"unusedVar",data:_.references.some(K=>K.isWrite())?u(_):r(_),suggest:[{messageId:"removeVar",data:{varName:_.name},fix(K){return B(K,_)}}]})}else if(_.eslintExplicitGlobalComments){const X=_.eslintExplicitGlobalComments[0];t.report({node:F,loc:m.getNameLocationInGlobalDirectiveComment(p,X,_.name),messageId:"unusedVar",data:r(_)})}}}}}},Ou}var Nu,Xv;function AT(){if(Xv)return Nu;Xv=1;const m=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/u,t=/^For(?:In|Of)Statement$/u;function p(s){return typeof s=="object"&&s!==null?s:{functions:typeof s=="string"?s!=="nofunc":!0,classes:!0,variables:!0,allowNamedExports:!1,enums:!0,typedefs:!0,ignoreTypeReferences:!0}}function d(s,a){return s&&s.range[0]<=a&&a<=s.range[1]}function e(s,a){return s.body.some(c=>c.type==="StaticBlock"&&d(c,a)||c.type==="PropertyDefinition"&&c.static&&c.value&&d(c.value,a))}function l(s){return s.type==="class-static-block"?!0:s.type==="class-field-initializer"?s.block.parent.static:!1}function f(s){const a=s.resolved;let c=s.from;for(;a.scope.variableScope!==c.variableScope;)if(l(c.variableScope))c=c.variableScope.upper;else return!0;return!1}function o(s){if(f(s))return!1;const a=s.identifier.range[1],c=s.resolved.defs[0];if(c.type==="ClassName"){const i=c.node;return d(i,a)&&!e(i.body,a)}let n=c.name.parent;for(;n;){if(n.type==="VariableDeclarator"){if(d(n.init,a)||t.test(n.parent.parent.type)&&d(n.parent.parent.right,a))return!0;break}else if(n.type==="AssignmentPattern"){if(d(n.right,a))return!0}else if(m.test(n.type))break;n=n.parent}return!1}function r(s){switch(s.type){case"TSTypeQuery":return!0;case"TSQualifiedName":case"Identifier":return r(s.parent);default:return!1}}function u(s,a){if(s.defs[0].type!=="ClassName"||!s.defs[0].node.decorators||s.defs[0].node.decorators.length===0)return!1;for(const c of s.defs[0].node.decorators)if(a.identifier.range[0]>=c.range[0]&&a.identifier.range[1]<=c.range[1])return!0;return!1}return Nu={meta:{dialects:["javascript","typescript"],language:"javascript",type:"problem",docs:{description:"Disallow the use of variables before they are defined",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-use-before-define"},schema:[{oneOf:[{enum:["nofunc"]},{type:"object",properties:{functions:{type:"boolean"},classes:{type:"boolean"},variables:{type:"boolean"},allowNamedExports:{type:"boolean"},enums:{type:"boolean"},typedefs:{type:"boolean"},ignoreTypeReferences:{type:"boolean"}},additionalProperties:!1}]}],defaultOptions:[{classes:!0,functions:!0,variables:!0,allowNamedExports:!1,enums:!0,typedefs:!0,ignoreTypeReferences:!0}],messages:{usedBeforeDefined:"'{{name}}' was used before it was defined."}},create(s){const a=p(s.options[0]),c=s.sourceCode;function n(h){if(h.init)return!1;const{identifier:g}=h;if(a.allowNamedExports&&g.parent.type==="ExportSpecifier"&&g.parent.local===g)return!1;const v=h.resolved;if(!v||v.defs.length===0)return!1;const S=v.defs[0].type;if(!a.functions&&S==="FunctionName"||(!a.variables&&S==="Variable"||!a.classes&&S==="ClassName")&&f(h)||!a.enums&&S==="TSEnumName"||!a.typedefs&&S==="Type"||a.ignoreTypeReferences&&(r(g)||g.parent.type==="TSTypeReference"))return!1;if(g.parent.type==="TSQualifiedName"){let b=g.parent;for(;b.type==="TSQualifiedName";)b=b.left;return b===g}return!u(v,h)}function i(h){h.references.filter(n).forEach(g=>{const S=g.resolved.defs[0].name;(g.identifier.range[1]<S.range[1]||o(g)&&g.identifier.parent.type!=="TSTypeReference")&&s.report({node:g.identifier,messageId:"usedBeforeDefined",data:g.identifier})}),h.childScopes.forEach(i)}return{Program(h){i(c.getScope(h))}}}},Nu}var Mu,Jv;function wT(){if(Jv)return Mu;Jv=1;const{findVariable:m}=Mt();function*t(e){switch(e.type){case"Identifier":yield e;return;case"ObjectPattern":for(const l of e.properties)yield*t(l.type==="Property"?l.value:l);return;case"ArrayPattern":for(const l of e.elements)l&&(yield*t(l));return;case"RestElement":yield*t(e.argument);return;case"AssignmentPattern":yield*t(e.left)}}function p(e,l){return!(l.range[0]<e.identifier.range[1]||e.expression&&e.expression.range[0]<=l.range[0]&&l.range[1]<=e.expression.range[1])}function d(e,l){return e.expression?e.identifier.range[1]<=l.range[0]&&l.range[1]<=e.expression.range[0]:!1}return Mu={meta:{type:"problem",docs:{description:"Disallow variable assignments when the value is not used",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-assignment"},schema:[],messages:{unnecessaryAssignment:"This assigned value is not used in subsequent statements."}},create(e){const l=e.sourceCode;let f=null;const o=new Set;function r(s){let a=s;for(;a;){if(o.has(a))return a;a=a.upper}return null}function u(s){function a(n,i){const h=s.segments[n.id];return h.first&&h.last&&h.first.range[0]<=i.range[0]&&i.range[1]<=h.last.range[1]}function c(n,i){if(s.tryStatementBlocks.some(T=>T.range[0]<=n.identifier.range[0]&&n.identifier.range[1]<=T.range[1]))return;const g={results:[],subsequentSegments:new Set,queueSegments:n.segments.flatMap(T=>T.nextSegments)};function*v(){for(yield*g.results;g.queueSegments.length>0;){const T=g.queueSegments.shift();if(g.subsequentSegments.has(T))continue;g.subsequentSegments.add(T);const x=i.find(A=>A.segments.includes(T)&&!d(A,n.identifier));x||g.queueSegments.push(...T.nextSegments);const E={segment:T,assignment:x};g.results.push(E),yield E}}if(n.variable.references.some(T=>T.identifier.type!=="Identifier"))return;const S=n.variable.references.filter(T=>T.isRead());if(!S.length)return;const b=i.find(T=>T===n||T.segments.length&&T.segments.every(x=>!n.segments.includes(x))?!1:!!(p(n,T.identifier)||T.expression&&T.expression.range[0]<=n.identifier.range[0]&&n.identifier.range[1]<=T.expression.range[1]));for(const T of S){if(s.scope!==r(T.from))return;if(p(n,T.identifier)&&(d(n,T.identifier)||n.segments.some(x=>a(x,T.identifier)))){if(b&&p(b,T.identifier))continue;return}if(!b){for(const x of v())if(a(x.segment,T.identifier)){if(x.assignment&&p(x.assignment,T.identifier))continue;return}}}e.report({node:n.identifier,messageId:"unnecessaryAssignment"})}for(const n of s.assignments.values()){n.sort((i,h)=>i.identifier.range[0]-h.identifier.range[0]);for(const i of n)c(i,n)}}return{onCodePathStart(s,a){const c=l.getScope(a);f={upper:f,codePath:s,scope:c,segments:Object.create(null),currentSegments:new Set,assignments:new Map,tryStatementBlocks:[]},o.add(f.scope)},onCodePathEnd(){u(f),f=f.upper},onCodePathSegmentStart(s){const a={segment:s,first:null,last:null};f.segments[s.id]=a,f.currentSegments.add(s)},onCodePathSegmentEnd(s){f.currentSegments.delete(s)},TryStatement(s){f.tryStatementBlocks.push(s.block)},Identifier(s){for(const a of f.currentSegments){const c=f.segments[a.id];c.first||(c.first=s),c.last=s}},":matches(VariableDeclarator[init!=null], AssignmentExpression, UpdateExpression):exit"(s){if(f.currentSegments.size===0)return;const a=f.assignments;let c,n=null;s.type==="VariableDeclarator"?(c=s.id,n=s.init):s.type==="AssignmentExpression"?(c=s.left,n=s.right):c=s.argument;for(const i of t(c)){const h=l.getScope(i),g=m(h,i);if(!g||g.scope.type==="global"&&g.defs.length===0||f.scope!==r(g.scope)||g.eslintUsed||g.scope.type==="module"&&(g.defs.some(S=>S.type==="Variable"&&S.parent.parent.type==="ExportNamedDeclaration"||S.type==="FunctionName"&&(S.node.parent.type==="ExportNamedDeclaration"||S.node.parent.type==="ExportDefaultDeclaration")||S.type==="ClassName"&&(S.node.parent.type==="ExportNamedDeclaration"||S.node.parent.type==="ExportDefaultDeclaration"))||g.references.some(S=>S.identifier.parent.type==="ExportSpecifier")))continue;let v=a.get(g);v||(v=[],a.set(g,v)),v.push({variable:g,identifier:i,node:s,expression:n,segments:[...f.currentSegments]})}}}}},Mu}var ju,Qv;function TT(){if(Qv)return ju;Qv=1;const{CALL:m,CONSTRUCT:t,ReferenceTracker:p,getStringIfConstant:d}=Mt(),{RegExpParser:e,visitRegExpAST:l}=er(),f=new e;function o(s){const a=[];let c=s;do a.push(c),c=c.parent;while(c);return a}function r(s){return s.type==="Assertion"&&(s.kind==="lookahead"||s.kind==="lookbehind")}function u(s){return r(s)&&s.negate}return ju={meta:{type:"problem",docs:{description:"Disallow useless backreferences in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-backreference"},schema:[],messages:{nested:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} from within that group.",forward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which appears later in the pattern.",backward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which appears before in the same lookbehind.",disjunctive:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which is in another alternative.",intoNegativeLookaround:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which is in a negative lookaround."}},create(s){const a=s.sourceCode;function c(n,i,h){let g;try{g=f.parsePattern(i,0,i.length,{unicode:h.includes("u"),unicodeSets:h.includes("v")})}catch{return}l(g,{onBackreferenceEnter(v){const S=[v.resolved].flat(),b=o(v),T=S.map(R=>{const P=o(R);if(b.includes(R))return{messageId:"nested",group:R};let B=b.length-1,F=P.length-1;do B--,F--;while(b[B]===P[F]);const O=F+1,$=P.slice(0,O),N=P.slice(O),_=N.find(r),X=_&&_.kind==="lookbehind";return $.at(-1).type==="Alternative"?{messageId:"disjunctive",group:R}:!X&&v.end<=R.start?{messageId:"forward",group:R}:X&&R.end<=v.start?{messageId:"backward",group:R}:$.some(u)?{messageId:"intoNegativeLookaround",group:R}:null});if(T.length===0||T.some(R=>!R))return;let x;const E=T.filter(R=>R.messageId!=="disjunctive");E.length?x=E:x=T;const[{messageId:A,group:C},...w]=x;let k="";w.length===1?k=" and another group":w.length>1&&(k=` and other ${w.length} groups`),s.report({node:n,messageId:A,data:{bref:v.raw,group:C.raw,otherGroups:k}})}})}return{"Literal[regex]"(n){const{pattern:i,flags:h}=n.regex;c(n,i,h)},Program(n){const i=a.getScope(n),h=new p(i),g={RegExp:{[m]:!0,[t]:!0}};for(const{node:v}of h.iterateGlobalReferences(g)){const[S,b]=v.arguments,T=d(S,i),x=d(b,i);typeof T=="string"&&c(v,T,x||"")}}}}},ju}var Uu,Yv;function kT(){if(Yv)return Uu;Yv=1;const m=Le();function t(d){const e=m.skipChainExpression(d.callee);return e.type==="MemberExpression"&&e.property.type==="Identifier"&&e.computed===!1&&(e.property.name==="call"&&d.arguments.length>=1||e.property.name==="apply"&&d.arguments.length===2&&d.arguments[1].type==="ArrayExpression")}function p(d,e,l){return d?m.equalTokens(d,e,l):m.isNullOrUndefined(e)}return Uu={meta:{type:"suggestion",docs:{description:"Disallow unnecessary calls to `.call()` and `.apply()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-call"},schema:[],messages:{unnecessaryCall:"Unnecessary '.{{name}}()'."}},create(d){const e=d.sourceCode;return{CallExpression(l){if(!t(l))return;const f=m.skipChainExpression(l.callee),o=m.skipChainExpression(f.object),r=o.type==="MemberExpression"?o.object:null,u=l.arguments[0];p(r,u,e)&&d.report({node:l,messageId:"unnecessaryCall",data:{name:f.property.name}})}}}},Uu}var qu,Zv;function DT(){return Zv||(Zv=1,qu={meta:{type:"suggestion",docs:{description:"Disallow unnecessary `catch` clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-catch"},schema:[],messages:{unnecessaryCatchClause:"Unnecessary catch clause.",unnecessaryCatch:"Unnecessary try/catch wrapper."}},create(m){return{CatchClause(t){t.param&&t.param.type==="Identifier"&&t.body.body.length&&t.body.body[0].type==="ThrowStatement"&&t.body.body[0].argument.type==="Identifier"&&t.body.body[0].argument.name===t.param.name&&(t.parent.finalizer?m.report({node:t,messageId:"unnecessaryCatchClause"}):m.report({node:t.parent,messageId:"unnecessaryCatch"}))}}}}),qu}var Vu,eE;function IT(){if(eE)return Vu;eE=1;const m=Le();function t(p){if(!p.computed)return!1;const{key:d}=p;if(d.type!=="Literal")return!1;const{value:e}=d;if(typeof e!="number"&&typeof e!="string")return!1;switch(p.type){case"Property":return p.parent.type==="ObjectExpression"?e!=="__proto__":!0;case"PropertyDefinition":return p.static?e!=="constructor"&&e!=="prototype":e!=="constructor";case"MethodDefinition":return p.static?e!=="prototype":e!=="constructor";default:throw new Error(`Unexpected node type: ${p.type}`)}}return Vu={meta:{type:"suggestion",defaultOptions:[{enforceForClassMembers:!0}],docs:{description:"Disallow unnecessary computed property keys in objects and classes",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-useless-computed-key"},schema:[{type:"object",properties:{enforceForClassMembers:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unnecessarilyComputedProperty:"Unnecessarily computed property [{{property}}] found."}},create(p){const d=p.sourceCode,[{enforceForClassMembers:e}]=p.options;function l(o){if(t(o)){const{key:r}=o;p.report({node:o,messageId:"unnecessarilyComputedProperty",data:{property:d.getText(r)},fix(u){const s=d.getTokenBefore(r,m.isOpeningBracketToken),a=d.getTokenAfter(r,m.isClosingBracketToken);if(d.commentsExistBetween(s,a))return null;const c=d.getTokenBefore(s),i=(c.range[1]===s.range[0]&&!m.canTokensBeAdjacent(c,d.getFirstToken(r))?" ":"")+r.raw;return u.replaceTextRange([s.range[0],a.range[1]],i)}})}}function f(){}return{Property:l,MethodDefinition:e?l:f,PropertyDefinition:e?l:f}}},Vu}var $u,tE;function PT(){if(tE)return $u;tE=1;const m=Le();function t(l){return l.type==="BinaryExpression"&&l.operator==="+"}function p(l){return l.value==="+"&&l.type==="Punctuator"}function d(l){let f=l.left;for(;t(f);)f=f.right;return f}function e(l){let f=l.right;for(;t(f);)f=f.left;return f}return $u={meta:{type:"suggestion",docs:{description:"Disallow unnecessary concatenation of literals or template literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-useless-concat"},schema:[],messages:{unexpectedConcat:"Unexpected string concatenation of literals."}},create(l){const f=l.sourceCode;return{BinaryExpression(o){if(o.operator!=="+")return;const r=d(o),u=e(o);if(m.isStringLiteral(r)&&m.isStringLiteral(u)&&m.isTokenOnSameLine(r,u)){const s=f.getFirstTokenBetween(r,u,p);l.report({node:o,loc:s.loc,messageId:"unexpectedConcat"})}}}}},$u}var Wu,rE;function FT(){if(rE)return Wu;rE=1;const m=Le();function t(a){return a.value.params.some(c=>c.decorators?.length||c.type==="TSParameterProperty")}function p(a){switch(a.accessibility){case"protected":case"private":return!0;case"public":return!!a.parent.parent.superClass;default:return!1}}function d(a){return a.length===1&&a[0].type==="ExpressionStatement"&&a[0].expression.type==="CallExpression"&&a[0].expression.callee.type==="Super"}function e(a){return a.type==="Identifier"||a.type==="RestElement"}function l(a){return a.length===1&&a[0].type==="SpreadElement"&&a[0].argument.type==="Identifier"&&a[0].argument.name==="arguments"}function f(a,c){return a.type==="Identifier"&&c.type==="Identifier"&&a.name===c.name}function o(a,c){return a.type==="RestElement"&&c.type==="SpreadElement"&&f(a.argument,c.argument)}function r(a,c){return f(a,c)||o(a,c)}function u(a,c){if(a.length!==c.length)return!1;for(let n=0;n<a.length;++n)if(!r(a[n],c[n]))return!1;return!0}function s(a,c){return d(a)&&c.every(e)&&(l(a[0].expression.arguments)||u(c,a[0].expression.arguments))}return Wu={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow unnecessary constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-constructor"},hasSuggestions:!0,schema:[],messages:{noUselessConstructor:"Useless constructor.",removeConstructor:"Remove the constructor."}},create(a){function c(n){if(n.kind!=="constructor"||n.value.type!=="FunctionExpression"||t(n)||p(n)||!n.value.body)return;const i=n.value.body.body,h=n.value.params;(n.parent.parent.superClass?s(i,h):i.length===0)&&a.report({node:n,messageId:"noUselessConstructor",suggest:[{messageId:"removeConstructor",*fix(v){const S=a.sourceCode.getTokenAfter(n),b=S.type==="Punctuator"&&S.value==="["&&m.needsPrecedingSemicolon(a.sourceCode,n);yield v.replaceText(n,b?";":"")}}]})}return{MethodDefinition:c}}},Wu}var Gu,nE;function RT(){if(nE)return Gu;nE=1;const m=Le(),{RegExpParser:t,visitRegExpAST:p}=er();function d(u,s){return new Set(function*(){yield*u,yield*s}())}const e=d(new Set("\\nrvtbfux"),m.LINEBREAKS),l=new Set("\\bcdDfnpPrsStvwWxu0123456789]"),f=d(l,new Set("^/.$*+?[{}|()Bk")),o=d(l,new Set("q/[{}|()-")),r=new Set("!#$%&*+,.:;<=>?@^`~");return Gu={meta:{type:"suggestion",defaultOptions:[{allowRegexCharacters:[]}],docs:{description:"Disallow unnecessary escape characters",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-escape"},hasSuggestions:!0,messages:{unnecessaryEscape:"Unnecessary escape character: \\{{character}}.",removeEscape:"Remove the `\\`. This maintains the current functionality.",removeEscapeDoNotKeepSemantics:"Remove the `\\` if it was inserted by mistake.",escapeBackslash:"Replace the `\\` with `\\\\` to include the actual backslash character."},schema:[{type:"object",properties:{allowRegexCharacters:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]},create(u){const s=u.sourceCode,[{allowRegexCharacters:a}]=u.options,c=new t;function n(v,S,b,T){const x=v.range[0]+S,E=[x,x+1],A=s.getLocFromIndex(x);u.report({node:v,loc:{start:A,end:{line:A.line,column:A.column+1}},messageId:"unnecessaryEscape",data:{character:b},suggest:[{messageId:m.isDirective(v.parent)?"removeEscapeDoNotKeepSemantics":"removeEscape",fix(C){return C.removeRange(E)}},...T?[]:[{messageId:"escapeBackslash",fix(C){return C.insertTextBeforeRange(E,"\\")}}]]})}function i(v,S){const b=v.type==="TemplateElement",T=S[0][1];let x=!e.has(T),E;b?(E=T==="`",T==="$"?x=S.input[S.index+2]!=="{":T==="{"&&(x=S.input[S.index-1]!=="$")):E=T===v.raw[0],x&&!E&&n(v,S.index,S[0].slice(1))}function h(v){const{pattern:S,flags:b}=v.regex;let T;const x=b.includes("u"),E=b.includes("v");try{T=c.parsePattern(S,0,S.length,{unicode:x,unicodeSets:E})}catch{return}const A=[];p(T,{onCharacterClassEnter:C=>A.unshift(C),onCharacterClassLeave:()=>A.shift(),onExpressionCharacterClassEnter:C=>A.unshift(C),onExpressionCharacterClassLeave:()=>A.shift(),onCharacterEnter(C){if(!C.raw.startsWith("\\"))return;const w=C.raw.slice(1);if(w!==String.fromCodePoint(C.value)||a.includes(w))return;let k;if(A.length?k=E?o:l:k=f,k.has(w))return;const R=C.start+1;let P=!1;if(A.length){const B=A[0];if(w==="^"&&B.start+1===C.start)return;if(E){if(r.has(w)&&(S[C.end]===w||S[C.start-1]===w&&(w!=="^"||!B.negate||B.start+1<C.start-1)))return;(C.parent.type==="ClassIntersection"||C.parent.type==="ClassSubtraction")&&(P=!0)}else if(w==="-"&&B.start+1!==C.start&&C.end!==B.end-1)return}n(v,R,w,P)}})}function g(v){const S=v.type==="TemplateElement";if(!(S&&v.parent&&v.parent.parent&&v.parent.parent.type==="TaggedTemplateExpression"&&v.parent===v.parent.parent.quasi))if(typeof v.value=="string"||S){if(v.parent.type==="JSXAttribute"||v.parent.type==="JSXElement"||v.parent.type==="JSXFragment")return;const b=S?s.getText(v):v.raw,T=/\\\D/gu;let x;for(;x=T.exec(b);)i(v,x)}else v.regex&&h(v)}return{Literal:g,TemplateElement:g}}},Gu}var zu,sE;function _T(){if(sE)return zu;sE=1;const m=Le();return zu={meta:{type:"suggestion",defaultOptions:[{ignoreDestructuring:!1,ignoreImport:!1,ignoreExport:!1}],docs:{description:"Disallow renaming import, export, and destructured assignments to the same name",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-rename"},fixable:"code",schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean"},ignoreImport:{type:"boolean"},ignoreExport:{type:"boolean"}},additionalProperties:!1}],messages:{unnecessarilyRenamed:"{{type}} {{name}} unnecessarily renamed."}},create(t){const p=t.sourceCode,[{ignoreDestructuring:d,ignoreImport:e,ignoreExport:l}]=t.options;function f(s,a,c){const n=a.type==="Identifier"?a.name:a.value;return t.report({node:s,messageId:"unnecessarilyRenamed",data:{name:n,type:c},fix(i){const h=s.type==="Property"?s.value:s.local;return p.getCommentsInside(s).length>p.getCommentsInside(h).length||h.type==="AssignmentPattern"&&m.isParenthesised(p,h.left)?null:i.replaceText(s,p.getText(h))}})}function o(s){if(!d)for(const a of s.properties){if(a.type!=="Property"||a.shorthand||a.computed)continue;const c=a.key.type==="Identifier"&&a.key.name||a.key.type==="Literal"&&a.key.value,n=a.value.type==="AssignmentPattern"?a.value.left.name:a.value.name;c===n&&f(a,a.key,"Destructuring assignment")}}function r(s){e||s.imported.range[0]!==s.local.range[0]&&m.getModuleExportName(s.imported)===s.local.name&&f(s,s.imported,"Import")}function u(s){l||s.local.range[0]!==s.exported.range[0]&&m.getModuleExportName(s.local)===m.getModuleExportName(s.exported)&&f(s,s.local,"Export")}return{ObjectPattern:o,ImportSpecifier:r,ExportSpecifier:u}}},zu}var Hu,aE;function BT(){if(aE)return Hu;aE=1;const m=Le(),t=Ur();function p(f,o){const r=f.indexOf(o);r!==-1&&f.splice(r,1)}function d(f){return m.STATEMENT_LIST_PARENTS.has(f.parent.type)}function e(f){for(let o=f;o&&o.parent&&!m.isFunction(o);o=o.parent)if(o.parent.type==="TryStatement"&&o.parent.finalizer===o)return!0;return!1}function l(f){for(const o of f)if(o.reachable)return!0;return!1}return Hu={meta:{type:"suggestion",docs:{description:"Disallow redundant return statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-return"},fixable:"code",schema:[],messages:{unnecessaryReturn:"Unnecessary return statement."}},create(f){const o=new WeakMap,r=f.sourceCode;let u=null;function s(i){const h=o.get(i);return!h||h.returned}function a(i,h,g){const v=g||new WeakSet;for(const S of h){if(!S.reachable){v.has(S)||(v.add(S),a(i,S.allPrevSegments.filter(s),v));continue}o.has(S)&&i.push(...o.get(S).uselessReturns)}return i}function c(i,h){if(!i.reachable){h.add(i),i.allPrevSegments.filter(s).filter(v=>!h.has(v)).forEach(v=>c(v,h));return}const g=o.get(i);g&&(g.uselessReturns=g.uselessReturns.filter(v=>{if(u.traversedTryBlockStatements&&u.traversedTryBlockStatements.length>0){const S=v.range[0],b=v.range[1];if(u.traversedTryBlockStatements.some(x=>{const E=x.range[0],A=x.range[1];return S>=E&&b<=A}))return!0}return p(u.uselessReturns,v),!1}))}function n(){u.currentSegments.forEach(i=>c(i,new Set))}return{onCodePathStart(i){u={upper:u,uselessReturns:[],traversedTryBlockStatements:[],codePath:i,currentSegments:new Set}},onCodePathEnd(){for(const i of u.uselessReturns)f.report({node:i,loc:i.loc,messageId:"unnecessaryReturn",fix(h){return d(i)&&!r.getCommentsInside(i).length?new t(h,r).retainEnclosingFunction(i).remove(i):null}});u=u.upper},onCodePathSegmentStart(i){u.currentSegments.add(i);const h={uselessReturns:a([],i.allPrevSegments),returned:!1};o.set(i,h)},onUnreachableCodePathSegmentStart(i){u.currentSegments.add(i)},onUnreachableCodePathSegmentEnd(i){u.currentSegments.delete(i)},onCodePathSegmentEnd(i){u.currentSegments.delete(i)},ReturnStatement(i){if(i.argument&&n(),!(i.argument||m.isInLoop(i)||e(i)||!l(u.currentSegments))){for(const h of u.currentSegments){const g=o.get(h);g&&(g.uselessReturns.push(i),g.returned=!0)}u.uselessReturns.push(i)}},"TryStatement > BlockStatement.block:exit"(i){u.traversedTryBlockStatements.push(i)},"TryStatement:exit"(){u.traversedTryBlockStatements.pop()},ClassDeclaration:n,ContinueStatement:n,DebuggerStatement:n,DoWhileStatement:n,EmptyStatement:n,ExpressionStatement:n,ForInStatement:n,ForOfStatement:n,ForStatement:n,IfStatement:n,ImportDeclaration:n,LabeledStatement:n,SwitchStatement:n,ThrowStatement:n,TryStatement:n,VariableDeclaration:n,WhileStatement:n,WithStatement:n,ExportNamedDeclaration:n,ExportDefaultDeclaration:n,ExportAllDeclaration:n}}},Hu}var Ku,iE;function LT(){if(iE)return Ku;iE=1;const m=Le();function t(c){return!!c.scope&&c.scope.type==="global"}function p(c){let n=c;for(;n.type!=="function"&&n.type!=="global";)n=n.upper;return n}function d(c){const n=p(c.scope);return c.references.some(i=>p(i.from)!==n)}function e(c){return(c.parent.type==="ForOfStatement"||c.parent.type==="ForInStatement")&&c===c.parent.left}function l(c){return c.declarations.every(n=>n.init!==null)}const f=/^(?:Program|BlockStatement|SwitchStatement|ForStatement|ForInStatement|ForOfStatement)$/u;function o(c){for(let n=c;n;n=n.parent)if(f.test(n.type))return n;return null}function r(c){return c.defs.length>=2}function u(c){function n(i){const h=c.range,g=i.identifier.range;return g[0]<h[0]||g[1]>h[1]}return function(i){return i.references.some(n)}}function s(c){const n=c.range[0],i=c.range[1];return h=>{const g=h.defs[0].name,v=g.range[0],S=g.parent.type==="AssignmentPattern"?g.parent.right:null,b=S&&S.range[0],T=S&&S.range[1];return h.references.some(x=>{const E=x.identifier.range[0],A=x.identifier.range[1];return!x.init&&(E<v||S!==null&&E>=b&&A<=T||!m.isFunction(c)&&E>=n&&A<=i)})}}function a(c){return c.name==="let"}return Ku={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Require `let` or `const` instead of `var`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-var"},schema:[],fixable:"code",messages:{unexpectedVar:"Unexpected var, use let or const instead."}},create(c){const n=c.sourceCode;function i(v){return v.init?n.getDeclaredVariables(v).some(s(v.init)):!1}function h(v){const S=n.getDeclaredVariables(v),b=o(v);return!(v.parent.type==="SwitchCase"||v.declarations.some(i)||S.some(t)||S.some(r)||S.some(u(b))||S.some(a)||m.isInLoop(v)&&(S.some(d)||!e(v)&&!l(v))||!e(v)&&!(v.parent.type==="ForStatement"&&v.parent.init===v)&&!m.STATEMENT_LIST_PARENTS.has(v.parent.type))}function g(v){c.report({node:v,messageId:"unexpectedVar",fix(S){const b=n.getFirstToken(v,{filter:T=>T.value==="var"});return h(v)?S.replaceText(b,"let"):null}})}return{"VariableDeclaration:exit"(v){v.kind==="var"&&(v.parent.type==="TSModuleBlock"&&v.parent.parent.type==="TSModuleDeclaration"&&v.parent.parent.global||g(v))}}}},Ku}var Xu,oE;function OT(){return oE||(oE=1,Xu={meta:{type:"suggestion",defaultOptions:[{allowAsStatement:!1}],docs:{description:"Disallow `void` operators",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-void"},messages:{noVoid:"Expected 'undefined' and instead saw 'void'."},schema:[{type:"object",properties:{allowAsStatement:{type:"boolean"}},additionalProperties:!1}]},create(m){const[{allowAsStatement:t}]=m.options;return{'UnaryExpression[operator="void"]'(p){t&&p.parent&&p.parent.type==="ExpressionStatement"||m.report({node:p,messageId:"noVoid"})}}}}),Xu}var Ju,lE;function NT(){if(lE)return Ju;lE=1;const m=tn(),t=Le(),p=40;return Ju={meta:{type:"suggestion",defaultOptions:[{location:"start",terms:["todo","fixme","xxx"]}],docs:{description:"Disallow specified warning terms in comments",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-warning-comments"},schema:[{type:"object",properties:{terms:{type:"array",items:{type:"string"}},location:{enum:["start","anywhere"]},decoration:{type:"array",items:{type:"string",pattern:"^\\S$"},minItems:1,uniqueItems:!0}},additionalProperties:!1}],messages:{unexpectedComment:"Unexpected '{{matchedTerm}}' comment: '{{comment}}'."}},create(d){const e=d.sourceCode,[{decoration:l,location:f,terms:o}]=d.options,r=m(l?l.join(""):""),u=/\bno-warning-comments\b/u;function s(i){const h=m(i),g="\\b";let v="";f==="start"?v=`^[\\s${r}]*`:/^\w/u.test(i)&&(v=g);const S=/\w$/u.test(i)?g:"",b="iu";return new RegExp(`${v}${h}${S}`,b)}const a=o.map(s);function c(i){const h=[];return a.forEach((g,v)=>{g.test(i)&&h.push(o[v])}),h}function n(i){const h=i.value;if(t.isDirectiveComment(i)&&u.test(h))return;c(h).forEach(v=>{let S="",b=!1;for(const T of h.trim().split(/\s+/u)){const x=S?`${S} ${T}`:T;if(x.length<=p)S=x;else{b=!0;break}}d.report({node:i,messageId:"unexpectedComment",data:{matchedTerm:v,comment:`${S}${b?"...":""}`}})})}return{Program(){e.getAllComments().filter(h=>h.type!=="Shebang").forEach(n)}}}},Ju}var Qu,uE;function MT(){if(uE)return Qu;uE=1;const m=Le();return Qu={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-whitespace-before-property",url:"https://eslint.style/rules/no-whitespace-before-property"}}]},type:"layout",docs:{description:"Disallow whitespace before properties",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-whitespace-before-property"},fixable:"whitespace",schema:[],messages:{unexpectedWhitespace:"Unexpected whitespace before property {{propName}}."}},create(t){const p=t.sourceCode;function d(e,l,f){t.report({node:e,messageId:"unexpectedWhitespace",data:{propName:p.getText(e.property)},fix(o){let r="";return!e.computed&&!e.optional&&m.isDecimalInteger(e.object)||p.commentsExistBetween(l,f)?null:(e.optional?r="?.":e.computed||(r="."),o.replaceTextRange([l.range[1],f.range[0]],r))}})}return{MemberExpression(e){let l,f;m.isTokenOnSameLine(e.object,e.property)&&(e.computed?(l=p.getTokenBefore(e.property,m.isOpeningBracketToken),f=p.getTokenBefore(l,e.optional?1:0)):(l=p.getFirstToken(e.property),f=p.getTokenBefore(l,1)),p.isSpaceBetweenTokens(f,l)&&d(e,f,l))}}}},Qu}var Yu,cE;function jT(){return cE||(cE=1,Yu={meta:{type:"suggestion",docs:{description:"Disallow `with` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-with"},schema:[],messages:{unexpectedWith:"Unexpected use of 'with' statement."}},create(m){return{WithStatement(t){m.report({node:t,messageId:"unexpectedWith"})}}}}),Yu}var Zu,fE;function UT(){if(fE)return Zu;fE=1;const m={enum:["beside","below","any"]};return Zu={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"nonblock-statement-body-position",url:"https://eslint.style/rules/nonblock-statement-body-position"}}]},type:"layout",docs:{description:"Enforce the location of single-line statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/nonblock-statement-body-position"},fixable:"whitespace",schema:[m,{properties:{overrides:{properties:{if:m,else:m,while:m,do:m,for:m},additionalProperties:!1}},additionalProperties:!1}],messages:{expectNoLinebreak:"Expected no linebreak before this statement.",expectLinebreak:"Expected a linebreak before this statement."}},create(t){const p=t.sourceCode;function d(l){return t.options[1]&&t.options[1].overrides&&t.options[1].overrides[l]||t.options[0]||"beside"}function e(l,f){const o=d(f);if(l.type==="BlockStatement"||o==="any")return;const r=p.getTokenBefore(l);r.loc.end.line===l.loc.start.line&&o==="below"?t.report({node:l,messageId:"expectLinebreak",fix:u=>u.insertTextBefore(l,`
90
- `)}):r.loc.end.line!==l.loc.start.line&&o==="beside"&&t.report({node:l,messageId:"expectNoLinebreak",fix(u){return p.getText().slice(r.range[1],l.range[0]).trim()?null:u.replaceTextRange([r.range[1],l.range[0]]," ")}})}return{IfStatement(l){e(l.consequent,"if"),l.alternate&&l.alternate.type!=="IfStatement"&&e(l.alternate,"else")},WhileStatement:l=>e(l.body,"while"),DoWhileStatement:l=>e(l.body,"do"),ForStatement:l=>e(l.body,"for"),ForInStatement:l=>e(l.body,"for"),ForOfStatement:l=>e(l.body,"for")}}},Zu}var ec,pE;function qT(){if(pE)return ec;pE=1;const m=Le(),t={oneOf:[{enum:["always","never"]},{type:"object",properties:{multiline:{type:"boolean"},minProperties:{type:"integer",minimum:0},consistent:{type:"boolean"}},additionalProperties:!1,minProperties:1}]};function p(o){let r=!1,u=Number.POSITIVE_INFINITY,s=!1;return o?o==="always"?u=0:o==="never"?u=Number.POSITIVE_INFINITY:(r=!!o.multiline,u=o.minProperties||Number.POSITIVE_INFINITY,s=!!o.consistent):s=!0,{multiline:r,minProperties:u,consistent:s}}function d(o){return typeof o=="object"&&o!==null}function e(o){return d(o)||typeof o=="string"}function l(o){if(d(o)&&Object.values(o).some(e))return{ObjectExpression:p(o.ObjectExpression),ObjectPattern:p(o.ObjectPattern),ImportDeclaration:p(o.ImportDeclaration),ExportNamedDeclaration:p(o.ExportDeclaration)};const r=p(o);return{ObjectExpression:r,ObjectPattern:r,ImportDeclaration:r,ExportNamedDeclaration:r}}function f(o,r,u,s){let a;return o.type==="ObjectExpression"||o.type==="ObjectPattern"?a=o.properties:a=o.specifiers.filter(c=>c.type==="ImportSpecifier"||c.type==="ExportSpecifier"),a.length>=r.minProperties||r.multiline&&a.length>0&&u.loc.start.line!==s.loc.end.line}return ec={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"object-curly-newline",url:"https://eslint.style/rules/object-curly-newline"}}]},type:"layout",docs:{description:"Enforce consistent line breaks after opening and before closing braces",recommended:!1,url:"https://eslint.org/docs/latest/rules/object-curly-newline"},fixable:"whitespace",schema:[{oneOf:[t,{type:"object",properties:{ObjectExpression:t,ObjectPattern:t,ImportDeclaration:t,ExportDeclaration:t},additionalProperties:!1,minProperties:1}]}],messages:{unexpectedLinebreakBeforeClosingBrace:"Unexpected line break before this closing brace.",unexpectedLinebreakAfterOpeningBrace:"Unexpected line break after this opening brace.",expectedLinebreakBeforeClosingBrace:"Expected a line break before this closing brace.",expectedLinebreakAfterOpeningBrace:"Expected a line break after this opening brace."}},create(o){const r=o.sourceCode,u=l(o.options[0]);function s(a){const c=u[a.type];if(a.type==="ImportDeclaration"&&!a.specifiers.some(T=>T.type==="ImportSpecifier")||a.type==="ExportNamedDeclaration"&&!a.specifiers.some(T=>T.type==="ExportSpecifier"))return;const n=r.getFirstToken(a,T=>T.value==="{");let i;a.typeAnnotation?i=r.getTokenBefore(a.typeAnnotation):i=r.getLastToken(a,T=>T.value==="}");let h=r.getTokenAfter(n,{includeComments:!0}),g=r.getTokenBefore(i,{includeComments:!0});const v=f(a,c,h,g),S=m.isCommentToken(h),b=m.isCommentToken(g);if(h=r.getTokenAfter(n),g=r.getTokenBefore(i),v)m.isTokenOnSameLine(n,h)&&o.report({messageId:"expectedLinebreakAfterOpeningBrace",node:a,loc:n.loc,fix(T){return S?null:T.insertTextAfter(n,`
91
- `)}}),m.isTokenOnSameLine(g,i)&&o.report({messageId:"expectedLinebreakBeforeClosingBrace",node:a,loc:i.loc,fix(T){return b?null:T.insertTextBefore(i,`
92
- `)}});else{const T=c.consistent,x=!m.isTokenOnSameLine(n,h),E=!m.isTokenOnSameLine(g,i);(!T&&x||T&&x&&!E)&&o.report({messageId:"unexpectedLinebreakAfterOpeningBrace",node:a,loc:n.loc,fix(A){return S?null:A.removeRange([n.range[1],h.range[0]])}}),(!T&&E||T&&!x&&E)&&o.report({messageId:"unexpectedLinebreakBeforeClosingBrace",node:a,loc:i.loc,fix(A){return b?null:A.removeRange([g.range[1],i.range[0]])}})}}return{ObjectExpression:s,ObjectPattern:s,ImportDeclaration:s,ExportNamedDeclaration:s}}},ec}var tc,dE;function VT(){if(dE)return tc;dE=1;const m=Le();return tc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"object-curly-spacing",url:"https://eslint.style/rules/object-curly-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside braces",recommended:!1,url:"https://eslint.org/docs/latest/rules/object-curly-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{arraysInObjects:{type:"boolean"},objectsInObjects:{type:"boolean"}},additionalProperties:!1}],messages:{requireSpaceBefore:"A space is required before '{{token}}'.",requireSpaceAfter:"A space is required after '{{token}}'.",unexpectedSpaceBefore:"There should be no space before '{{token}}'.",unexpectedSpaceAfter:"There should be no space after '{{token}}'."}},create(t){const p=t.options[0]==="always",d=t.sourceCode;function e(h){return t.options[1]?t.options[1][h]===!p:!1}const l={spaced:p,arraysInObjectsException:e("arraysInObjects"),objectsInObjectsException:e("objectsInObjects")};function f(h,g){const v=t.sourceCode.getTokenAfter(g,{includeComments:!0});t.report({node:h,loc:{start:g.loc.end,end:v.loc.start},messageId:"unexpectedSpaceAfter",data:{token:g.value},fix(S){return S.removeRange([g.range[1],v.range[0]])}})}function o(h,g){const v=t.sourceCode.getTokenBefore(g,{includeComments:!0});t.report({node:h,loc:{start:v.loc.end,end:g.loc.start},messageId:"unexpectedSpaceBefore",data:{token:g.value},fix(S){return S.removeRange([v.range[1],g.range[0]])}})}function r(h,g){t.report({node:h,loc:g.loc,messageId:"requireSpaceAfter",data:{token:g.value},fix(v){return v.insertTextAfter(g," ")}})}function u(h,g){t.report({node:h,loc:g.loc,messageId:"requireSpaceBefore",data:{token:g.value},fix(v){return v.insertTextBefore(g," ")}})}function s(h,g,v,S,b){if(m.isTokenOnSameLine(g,v)){const T=d.isSpaceBetweenTokens(g,v);l.spaced&&!T&&r(h,g),!l.spaced&&T&&v.type!=="Line"&&f(h,g)}if(m.isTokenOnSameLine(S,b)){const x=(l.arraysInObjectsException&&m.isClosingBracketToken(S)||l.objectsInObjectsException&&m.isClosingBraceToken(S))&&d.getNodeByRangeIndex(S.range[0]).type,E=l.arraysInObjectsException&&x==="ArrayExpression"||l.objectsInObjectsException&&(x==="ObjectExpression"||x==="ObjectPattern")?!l.spaced:l.spaced,A=d.isSpaceBetweenTokens(S,b);E&&!A&&u(h,b),!E&&A&&o(h,b)}}function a(h){const g=h.properties.at(-1);return d.getTokenAfter(g,m.isClosingBraceToken)}function c(h){if(h.properties.length===0)return;const g=d.getFirstToken(h),v=a(h),S=d.getTokenAfter(g,{includeComments:!0}),b=d.getTokenBefore(v,{includeComments:!0});s(h,g,S,b,v)}function n(h){if(h.specifiers.length===0)return;let g=h.specifiers[0];const v=h.specifiers.at(-1);if(v.type!=="ImportSpecifier")return;g.type!=="ImportSpecifier"&&(g=h.specifiers[1]);const S=d.getTokenBefore(g),b=d.getTokenAfter(v,m.isNotCommaToken),T=d.getTokenAfter(S,{includeComments:!0}),x=d.getTokenBefore(b,{includeComments:!0});s(h,S,T,x,b)}function i(h){if(h.specifiers.length===0)return;const g=h.specifiers[0],v=h.specifiers.at(-1),S=d.getTokenBefore(g),b=d.getTokenAfter(v,m.isNotCommaToken),T=d.getTokenAfter(S,{includeComments:!0}),x=d.getTokenBefore(b,{includeComments:!0});s(h,S,T,x,b)}return{ObjectPattern:c,ObjectExpression:c,ImportDeclaration:n,ExportNamedDeclaration:i}}},tc}var rc,mE;function $T(){return mE||(mE=1,rc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"object-property-newline",url:"https://eslint.style/rules/object-property-newline"}}]},type:"layout",docs:{description:"Enforce placing object properties on separate lines",recommended:!1,url:"https://eslint.org/docs/latest/rules/object-property-newline"},schema:[{type:"object",properties:{allowAllPropertiesOnSameLine:{type:"boolean",default:!1},allowMultiplePropertiesPerLine:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"whitespace",messages:{propertiesOnNewlineAll:"Object properties must go on a new line if they aren't all on the same line.",propertiesOnNewline:"Object properties must go on a new line."}},create(m){const t=m.options[0]&&(m.options[0].allowAllPropertiesOnSameLine||m.options[0].allowMultiplePropertiesPerLine),p=t?"propertiesOnNewlineAll":"propertiesOnNewline",d=m.sourceCode;return{ObjectExpression(e){if(t&&e.properties.length>1){const l=d.getFirstToken(e.properties[0]),f=d.getLastToken(e.properties.at(-1));if(l.loc.end.line===f.loc.start.line)return}for(let l=1;l<e.properties.length;l++){const f=d.getLastToken(e.properties[l-1]),o=d.getFirstToken(e.properties[l]);f.loc.end.line===o.loc.start.line&&m.report({node:e,loc:o.loc,messageId:p,fix(r){const s=[d.getTokenBefore(o).range[1],o.range[0]];return d.text.slice(s[0],s[1]).trim()?null:r.replaceTextRange(s,`
93
- `)}})}}}}}),rc}var nc,hE;function WT(){if(hE)return nc;hE=1;const m={always:"always",never:"never",methods:"methods",properties:"properties",consistent:"consistent",consistentAsNeeded:"consistent-as-needed"},t=Le(),p=/[^_$0-9]/u,d=/^\s*\*/u;function e(u){const s=p.exec(u);if(!s)return!1;const a=u.charAt(s.index);return a===a.toUpperCase()}function l(u){return u.kind!=="set"&&u.kind!=="get"&&u.type!=="SpreadElement"&&u.type!=="SpreadProperty"&&u.type!=="ExperimentalSpreadProperty"}function f(u){return u.type==="Literal"&&typeof u.value=="string"}function o(u){return u.shorthand||u.method}function r(u){const s=u.value;return s.type==="FunctionExpression"?!s.id:s.type==="Identifier"?t.getStaticPropertyName(u)===s.name:!1}return nc={meta:{type:"suggestion",docs:{description:"Require or disallow method and property shorthand syntax for object literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/object-shorthand"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["always","methods","properties","never","consistent","consistent-as-needed"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always","methods","properties"]},{type:"object",properties:{avoidQuotes:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2},{type:"array",items:[{enum:["always","methods"]},{type:"object",properties:{ignoreConstructors:{type:"boolean"},methodsIgnorePattern:{type:"string"},avoidQuotes:{type:"boolean"},avoidExplicitReturnArrows:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{expectedAllPropertiesShorthanded:"Expected shorthand for all properties.",expectedLiteralMethodLongform:"Expected longform method syntax for string literal keys.",expectedPropertyShorthand:"Expected property shorthand.",expectedPropertyLongform:"Expected longform property syntax.",expectedMethodShorthand:"Expected method shorthand.",expectedMethodLongform:"Expected longform method syntax.",unexpectedMix:"Unexpected mix of shorthand and non-shorthand properties."}},create(u){const s=u.options[0]||m.always,a=s===m.methods||s===m.always,c=s===m.properties||s===m.always,n=s===m.never,i=s===m.consistent,h=s===m.consistentAsNeeded,g=u.options[1]||{},v=g.ignoreConstructors,S=g.methodsIgnorePattern?new RegExp(g.methodsIgnorePattern,"u"):null,b=g.avoidQuotes,T=!!g.avoidExplicitReturnArrows,x=u.sourceCode;function E(O,$){const N=O.properties.filter(l);if(N.length>0){const _=N.filter(o);_.length!==N.length&&(_.length>0?u.report({node:O,messageId:"unexpectedMix"}):$&&N.every(r)&&u.report({node:O,messageId:"expectedAllPropertiesShorthanded"}))}}function A(O,$){const N=$.computed?x.getFirstToken($,t.isOpeningBracketToken):x.getFirstToken($.key),_=$.computed?x.getFirstTokenBetween($.key,$.value,t.isClosingBracketToken):x.getLastToken($.key),X=x.text.slice(N.range[0],_.range[1]);let L="";if(x.commentsExistBetween(_,$.value))return null;$.value.async&&(L+="async "),$.value.generator&&(L+="*");const K=[N.range[0],$.range[1]],J=L+X;if($.value.type==="FunctionExpression"){const ie=x.getTokens($.value).find(Se=>Se.type==="Keyword"&&Se.value==="function"),he=$.value.generator?x.getTokenAfter(ie):ie;return O.replaceTextRange(K,J+x.text.slice(he.range[1],$.value.range[1]))}const ge=x.getTokenBefore($.value.body,t.isArrowToken),ae=x.text.slice(ge.range[1],$.value.range[1]),Z=x.getFirstToken($.value,{skip:$.value.async?1:0}).range[0],I=x.getTokenBefore(ge).range[1],H=$.value.params.length===1&&$.value.params[0].range[0]===Z,fe=x.text.slice(Z,I),ce=H?`(${fe})`:fe;return O.replaceTextRange(K,J+ce+ae)}function C(O,$){const N=$.computed?x.getTokens($).find(K=>K.value==="["):x.getFirstToken($.key),_=$.computed?x.getTokensBetween($.key,$.value).find(K=>K.value==="]"):x.getLastToken($.key),X=x.text.slice(N.range[0],_.range[1]);let L="function";return $.value.async&&(L=`async ${L}`),$.value.generator&&(L=`${L}*`),O.replaceTextRange([$.range[0],_.range[1]],`${X}: ${L}`)}const w=[],k=new WeakSet,R=new WeakSet;function P(O){w.unshift(new Set),x.getScope(O).variables.filter($=>$.name==="arguments").forEach($=>{$.references.map(N=>N.identifier).forEach(N=>R.add(N))})}function B(){w.shift()}function F(){w[0].forEach(O=>k.add(O))}return{Program:P,FunctionDeclaration:P,FunctionExpression:P,"Program:exit":B,"FunctionDeclaration:exit":B,"FunctionExpression:exit":B,ArrowFunctionExpression(O){w[0].add(O)},"ArrowFunctionExpression:exit"(O){w[0].delete(O)},ThisExpression:F,Super:F,MetaProperty(O){O.meta.name==="new"&&O.property.name==="target"&&F()},Identifier(O){R.has(O)&&F()},ObjectExpression(O){i?E(O,!1):h&&E(O,!0)},"Property:exit"(O){const $=O.method||O.shorthand;if(O.parent.type!=="ObjectPattern"&&!(O.kind==="get"||O.kind==="set")&&!(O.computed&&O.value.type!=="FunctionExpression"&&O.value.type!=="ArrowFunctionExpression")){if($)if(O.method&&(n||b&&f(O.key))){const N=n?"expectedMethodLongform":"expectedLiteralMethodLongform";u.report({node:O,messageId:N,fix:_=>C(_,O)})}else n&&u.report({node:O,messageId:"expectedPropertyLongform",fix:N=>N.insertTextAfter(O.key,`: ${O.key.name}`)});else if(a&&!O.value.id&&(O.value.type==="FunctionExpression"||O.value.type==="ArrowFunctionExpression")){if(v&&O.key.type==="Identifier"&&e(O.key.name))return;if(S){const N=t.getStaticPropertyName(O);if(N!==null&&S.test(N))return}if(b&&f(O.key))return;(O.value.type==="FunctionExpression"||O.value.type==="ArrowFunctionExpression"&&O.value.body.type==="BlockStatement"&&T&&!k.has(O.value))&&u.report({node:O,messageId:"expectedMethodShorthand",fix:N=>A(N,O)})}else if(O.value.type==="Identifier"&&O.key.name===O.value.name&&c){if(x.getCommentsInside(O).some(_=>_.type==="Block"&&d.test(_.value)&&_.value.includes("@type")))return;u.report({node:O,messageId:"expectedPropertyShorthand",fix(_){return x.getCommentsInside(O).length>0?null:_.replaceText(O,O.value.name)}})}else if(O.value.type==="Identifier"&&O.key.type==="Literal"&&O.key.value===O.value.name&&c){if(b||x.getCommentsInside(O).some(_=>_.type==="Block"&&_.value.startsWith("*")&&_.value.includes("@type")))return;u.report({node:O,messageId:"expectedPropertyShorthand",fix(_){return x.getCommentsInside(O).length>0?null:_.replaceText(O,O.value.name)}})}}}}}},nc}var sc,gE;function GT(){if(gE)return sc;gE=1;const m=Le();function t(p){return m.STATEMENT_LIST_PARENTS.has(p.parent.type)}return sc={meta:{type:"suggestion",docs:{description:"Enforce variables to be declared either together or separately in functions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/one-var"},fixable:"code",schema:[{oneOf:[{enum:["always","never","consecutive"]},{type:"object",properties:{separateRequires:{type:"boolean"},var:{enum:["always","never","consecutive"]},let:{enum:["always","never","consecutive"]},const:{enum:["always","never","consecutive"]},using:{enum:["always","never","consecutive"]},awaitUsing:{enum:["always","never","consecutive"]}},additionalProperties:!1},{type:"object",properties:{initialized:{enum:["always","never","consecutive"]},uninitialized:{enum:["always","never","consecutive"]}},additionalProperties:!1}]}],messages:{combineUninitialized:"Combine this with the previous '{{type}}' statement with uninitialized variables.",combineInitialized:"Combine this with the previous '{{type}}' statement with initialized variables.",splitUninitialized:"Split uninitialized '{{type}}' declarations into multiple statements.",splitInitialized:"Split initialized '{{type}}' declarations into multiple statements.",splitRequires:"Split requires to be separated into a single block.",combine:"Combine this with the previous '{{type}}' statement.",split:"Split '{{type}}' declarations into multiple statements."}},create(p){const d="always",e="never",l="consecutive",f=p.options[0]||d,o={};typeof f=="string"?(o.var={uninitialized:f,initialized:f},o.let={uninitialized:f,initialized:f},o.const={uninitialized:f,initialized:f},o.using={uninitialized:f,initialized:f},o.awaitUsing={uninitialized:f,initialized:f}):typeof f=="object"&&(o.separateRequires=!!f.separateRequires,o.var={uninitialized:f.var,initialized:f.var},o.let={uninitialized:f.let,initialized:f.let},o.const={uninitialized:f.const,initialized:f.const},o.using={uninitialized:f.using,initialized:f.using},o.awaitUsing={uninitialized:f.awaitUsing,initialized:f.awaitUsing},Object.hasOwn(f,"uninitialized")&&(o.var.uninitialized=f.uninitialized,o.let.uninitialized=f.uninitialized,o.const.uninitialized=f.uninitialized,o.using.uninitialized=f.uninitialized,o.awaitUsing.uninitialized=f.uninitialized),Object.hasOwn(f,"initialized")&&(o.var.initialized=f.initialized,o.let.initialized=f.initialized,o.const.initialized=f.initialized,o.using.initialized=f.initialized,o.awaitUsing.initialized=f.initialized));const r=p.sourceCode,u=[],s=[];function a(){s.push({let:{initialized:!1,uninitialized:!1},const:{initialized:!1,uninitialized:!1},using:{initialized:!1,uninitialized:!1},awaitUsing:{initialized:!1,uninitialized:!1}})}function c(){u.push({initialized:!1,uninitialized:!1}),a()}function n(){s.pop()}function i(){u.pop(),n()}function h(A){return A.init&&A.init.type==="CallExpression"&&A.init.callee.name==="require"}function g(A,C,w){for(let k=0;k<C.length;k++)C[k].init===null?o[A]&&o[A].uninitialized===d&&(w.uninitialized=!0):o[A]&&o[A].initialized===d&&(o.separateRequires&&h(C[k])?w.required=!0:w.initialized=!0)}function v(A){let C;return A==="var"?C=u.at(-1):A==="let"?C=s.at(-1).let:A==="const"?C=s.at(-1).const:A==="using"?C=s.at(-1).using:A==="awaitUsing"&&(C=s.at(-1).awaitUsing),C}function S(A){const C={uninitialized:0,initialized:0};for(let w=0;w<A.length;w++)A[w].init===null?C.uninitialized++:C.initialized++;return C}function b(A,C){const w=S(C),k=o[A]||{},R=v(A),P=C.some(h);return k.uninitialized===d&&k.initialized===d&&(R.uninitialized||R.initialized)&&!P||w.uninitialized>0&&k.uninitialized===d&&R.uninitialized||w.initialized>0&&k.initialized===d&&R.initialized&&!P||R.required&&P?!1:(g(A,C,R),!0)}function T(A){const C=A[0],w=Array.isArray(C.parent.parent.body)?C.parent.parent.body:[],k=w.findIndex(P=>P.range[0]===C.parent.range[0]),R=w[k-1];return function*(B){const F=r.getFirstToken(C.parent),O=r.getTokenBefore(F);if(R&&R.kind===C.parent.kind){if(O.value===";"?yield B.replaceText(O,","):yield B.insertTextAfter(O,","),C.parent.kind==="await using"){const $=r.getTokenAfter(F);yield B.remove($)}yield B.replaceText(F,"")}}}function x(A){const{parent:C}=A;return t(C.type==="ExportNamedDeclaration"?C:A)?w=>A.declarations.map(k=>{const R=r.getTokenAfter(k);if(R===null)return null;const P=r.getTokenAfter(R,{includeComments:!0});if(R.value!==",")return null;const B=A.parent.type==="ExportNamedDeclaration"?"export ":"";if(P.range[0]===R.range[1])return w.replaceText(R,`; ${B}${A.kind} `);if(P.loc.start.line>R.loc.end.line||P.type==="Line"||P.type==="Block"){let F=P;for(;F.type==="Line"||F.type==="Block";)F=r.getTokenAfter(F,{includeComments:!0});return w.replaceTextRange([R.range[0],F.range[0]],`;${r.text.slice(R.range[1],F.range[0])}${B}${A.kind} `)}return w.replaceText(R,`; ${B}${A.kind}`)}).filter(k=>k):null}function E(A){const C=A.parent,w=A.kind,k=w==="await using"?"awaitUsing":w;if(!o[k])return;const R=A.declarations,P=S(R),B=R.some(h)&&!R.every(h);o[k].initialized===d&&o.separateRequires&&B&&p.report({node:A,messageId:"splitRequires"});const F=C.body&&C.body.length>0&&C.body.indexOf(A)||0;if(F>0){const O=C.body[F-1],$=O.type==="VariableDeclaration",N=R.concat(O.declarations||[]);if($&&O.kind===w&&!(N.some(h)&&!N.every(h))){const _=S(O.declarations);o[k].initialized===l&&o[k].uninitialized===l?p.report({node:A,messageId:"combine",data:{type:w},fix:T(R)}):o[k].initialized===l&&P.initialized>0&&_.initialized>0?p.report({node:A,messageId:"combineInitialized",data:{type:w},fix:T(R)}):o[k].uninitialized===l&&P.uninitialized>0&&_.uninitialized>0&&p.report({node:A,messageId:"combineUninitialized",data:{type:w},fix:T(R)})}}if(!b(k,R)){if(o[k].initialized===d&&o[k].uninitialized===d)p.report({node:A,messageId:"combine",data:{type:w},fix:T(R)});else if(o[k].initialized===d&&P.initialized>0&&p.report({node:A,messageId:"combineInitialized",data:{type:w},fix:T(R)}),o[k].uninitialized===d&&P.uninitialized>0){if(A.parent.left===A&&(A.parent.type==="ForInStatement"||A.parent.type==="ForOfStatement"))return;p.report({node:A,messageId:"combineUninitialized",data:{type:w},fix:T(R)})}}(C.type!=="ForStatement"||C.init!==A)&&P.uninitialized+P.initialized>1&&(o[k].initialized===e&&o[k].uninitialized===e?p.report({node:A,messageId:"split",data:{type:w},fix:x(A)}):o[k].initialized===e&&P.initialized>0?p.report({node:A,messageId:"splitInitialized",data:{type:w},fix:x(A)}):o[k].uninitialized===e&&P.uninitialized>0&&p.report({node:A,messageId:"splitUninitialized",data:{type:w},fix:x(A)}))}return{Program:c,FunctionDeclaration:c,FunctionExpression:c,ArrowFunctionExpression:c,StaticBlock:c,BlockStatement:a,ForStatement:a,ForInStatement:a,ForOfStatement:a,SwitchStatement:a,VariableDeclaration:E,"ForStatement:exit":n,"ForOfStatement:exit":n,"ForInStatement:exit":n,"SwitchStatement:exit":n,"BlockStatement:exit":n,"Program:exit":i,"FunctionDeclaration:exit":i,"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i,"StaticBlock:exit":i}}},sc}var ac,yE;function zT(){return yE||(yE=1,ac={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"one-var-declaration-per-line",url:"https://eslint.style/rules/one-var-declaration-per-line"}}]},type:"suggestion",docs:{description:"Require or disallow newlines around variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/rules/one-var-declaration-per-line"},schema:[{enum:["always","initializations"]}],fixable:"whitespace",messages:{expectVarOnNewline:"Expected variable declaration to be on a new line."}},create(m){const t=m.options[0]==="always";function p(e){return e==="ForStatement"||e==="ForInStatement"||e==="ForOfStatement"}function d(e){if(p(e.parent.type))return;const l=e.declarations;let f;l.forEach(o=>{f&&f.loc.end.line===o.loc.start.line&&(t||f.init||o.init)&&m.report({node:e,messageId:"expectVarOnNewline",loc:o.loc,fix:r=>r.insertTextBefore(o,`
94
- `)}),f=o})}return{VariableDeclaration:d}}}),ac}var ic,vE;function HT(){if(vE)return ic;vE=1;const m=Le();function t(e){return["*","&","^","|"].includes(e)}function p(e){return["+","-","/","%","<<",">>",">>>","**"].includes(e)}function d(e){return e.type==="Identifier"||e.type==="MemberExpression"&&(e.object.type==="Identifier"||e.object.type==="ThisExpression")&&(!e.computed||e.property.type==="Literal")}return ic={meta:{type:"suggestion",defaultOptions:["always"],docs:{description:"Require or disallow assignment operator shorthand where possible",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/operator-assignment"},schema:[{enum:["always","never"]}],fixable:"code",messages:{replaced:"Assignment (=) can be replaced with operator assignment ({{operator}}).",unexpected:"Unexpected operator assignment ({{operator}}) shorthand."}},create(e){const l=e.options[0]==="never",f=e.sourceCode;function o(s){return f.getFirstTokenBetween(s.left,s.right,a=>a.value===s.operator)}function r(s){if(s.operator!=="="||s.right.type!=="BinaryExpression")return;const a=s.left,c=s.right,n=c.operator;if(t(n)||p(n)){const i=`${n}=`;m.isSameReference(a,c.left,!0)?e.report({node:s,messageId:"replaced",data:{operator:i},fix(h){if(d(a)&&d(c.left)){const g=o(s),v=o(c),S=f.getText().slice(s.range[0],g.range[0]),b=f.getText().slice(v.range[1],s.right.range[1]);return f.commentsExistBetween(g,v)?null:h.replaceText(s,`${S}${i}${b}`)}return null}}):m.isSameReference(a,c.right,!0)&&t(n)&&e.report({node:s,messageId:"replaced",data:{operator:i}})}}function u(s){s.operator!=="="&&!m.isLogicalAssignmentOperator(s.operator)&&e.report({node:s,messageId:"unexpected",data:{operator:s.operator},fix(a){if(d(s.left)){const c=f.getFirstToken(s),n=o(s),i=f.getText().slice(s.range[0],n.range[0]),h=s.operator.slice(0,-1);let g;if(f.commentsExistBetween(c,n))return null;if(m.getPrecedence(s.right)<=m.getPrecedence({type:"BinaryExpression",operator:h})&&!m.isParenthesised(f,s.right))g=`${f.text.slice(n.range[1],s.right.range[0])}(${f.getText(s.right)})`;else{const v=f.getTokenAfter(n,{includeComments:!0});let S="";n.range[1]===v.range[0]&&!m.canTokensBeAdjacent({type:"Punctuator",value:h},v)&&(S=" "),g=`${S}${f.text.slice(n.range[1],s.range[1])}`}return a.replaceText(s,`${i}= ${i}${h}${g}`)}return null}})}return{AssignmentExpression:l?u:r}}},ic}var oc,EE;function KT(){if(EE)return oc;EE=1;const m=Le();return oc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"operator-linebreak",url:"https://eslint.style/rules/operator-linebreak"}}]},type:"layout",docs:{description:"Enforce consistent linebreak style for operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/operator-linebreak"},schema:[{enum:["after","before","none",null]},{type:"object",properties:{overrides:{type:"object",additionalProperties:{enum:["after","before","none","ignore"]}}},additionalProperties:!1}],fixable:"code",messages:{operatorAtBeginning:"'{{operator}}' should be placed at the beginning of the line.",operatorAtEnd:"'{{operator}}' should be placed at the end of the line.",badLinebreak:"Bad line breaking before and after '{{operator}}'.",noLinebreak:"There should be no line break before or after '{{operator}}'."}},create(t){const p=!t.options[0],d=t.options[0]||"after",e=t.options[1]||{},l=e.overrides?Object.assign({},e.overrides):{};p&&!l["?"]&&(l["?"]="before"),p&&!l[":"]&&(l[":"]="before");const f=t.sourceCode;function o(s,a){return c=>{const n=f.getTokenBefore(s),i=f.getTokenAfter(s),h=f.text.slice(n.range[1],s.range[0]),g=f.text.slice(s.range[1],i.range[0]),v=!m.isTokenOnSameLine(n,s),S=!m.isTokenOnSameLine(s,i);let b,T;if(v!==S&&a!=="none"){if(f.getTokenBefore(s,{includeComments:!0})!==n&&f.getTokenAfter(s,{includeComments:!0})!==i)return null;b=g,T=h}else{const x=m.createGlobalLinebreakMatcher();if(b=a==="before"||h.trim()?h:h.replace(x,""),T=a==="after"||g.trim()?g:g.replace(x,""),b===h&&T===g)return null}return T===""&&i.type==="Punctuator"&&"+-".includes(s.value)&&i.value===s.value&&(T+=" "),c.replaceTextRange([n.range[1],i.range[0]],b+s.value+T)}}function r(s,a,c){const n=f.getTokenBefore(a,b=>b.value===c),i=f.getTokenBefore(n),h=f.getTokenAfter(n),g=l[c],v=g||d,S=o(n,v);m.isTokenOnSameLine(i,n)&&m.isTokenOnSameLine(n,h)||(g!=="ignore"&&!m.isTokenOnSameLine(i,n)&&!m.isTokenOnSameLine(n,h)?t.report({node:s,loc:n.loc,messageId:"badLinebreak",data:{operator:c},fix:S}):v==="before"&&m.isTokenOnSameLine(i,n)?t.report({node:s,loc:n.loc,messageId:"operatorAtBeginning",data:{operator:c},fix:S}):v==="after"&&m.isTokenOnSameLine(n,h)?t.report({node:s,loc:n.loc,messageId:"operatorAtEnd",data:{operator:c},fix:S}):v==="none"&&t.report({node:s,loc:n.loc,messageId:"noLinebreak",data:{operator:c},fix:S}))}function u(s){r(s,s.right,s.operator)}return{BinaryExpression:u,LogicalExpression:u,AssignmentExpression:u,VariableDeclarator(s){s.init&&r(s,s.init,"=")},PropertyDefinition(s){s.value&&r(s,s.value,"=")},ConditionalExpression(s){r(s,s.consequent,"?"),r(s,s.alternate,":")}}}},oc}var lc,SE;function XT(){if(SE)return lc;SE=1;const m=Le();return lc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padded-blocks",url:"https://eslint.style/rules/padded-blocks"}}]},type:"layout",docs:{description:"Require or disallow padding within blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/padded-blocks"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{blocks:{enum:["always","never"]},switches:{enum:["always","never"]},classes:{enum:["always","never"]}},additionalProperties:!1,minProperties:1}]},{type:"object",properties:{allowSingleLineBlocks:{type:"boolean"}},additionalProperties:!1}],messages:{alwaysPadBlock:"Block must be padded by blank lines.",neverPadBlock:"Block must not be padded by blank lines."}},create(t){const p={},d=t.options[0]||"always",e=t.options[1]||{};if(typeof d=="string"){const i=d==="always";p.blocks=i,p.switches=i,p.classes=i}else Object.hasOwn(d,"blocks")&&(p.blocks=d.blocks==="always"),Object.hasOwn(d,"switches")&&(p.switches=d.switches==="always"),Object.hasOwn(d,"classes")&&(p.classes=d.classes==="always");Object.hasOwn(e,"allowSingleLineBlocks")&&(p.allowSingleLineBlocks=e.allowSingleLineBlocks===!0);const l=t.sourceCode;function f(i){return i.type==="SwitchStatement"?l.getTokenBefore(i.cases[0]):i.type==="StaticBlock"?l.getFirstToken(i,{skip:1}):l.getFirstToken(i)}function o(i){return i.type==="Line"||i.type==="Block"}function r(i,h){return h.loc.start.line-i.loc.end.line>=2}function u(i){let h,g=i;do h=g,g=l.getTokenAfter(g,{includeComments:!0});while(o(g)&&g.loc.start.line===h.loc.end.line);return g}function s(i){let h=i,g;do g=h,h=l.getTokenBefore(h,{includeComments:!0});while(o(h)&&h.loc.end.line===g.loc.start.line);return h}function a(i){switch(i.type){case"BlockStatement":case"StaticBlock":return p.blocks;case"SwitchStatement":return p.switches;case"ClassBody":return p.classes;default:throw new Error("unreachable")}}function c(i){const h=f(i),g=u(h),v=l.getTokenBefore(g,{includeComments:!0}),S=l.getLastToken(i),b=s(S),T=l.getTokenAfter(b,{includeComments:!0}),x=r(v,g),E=r(b,T);p.allowSingleLineBlocks&&m.isTokenOnSameLine(v,T)||(a(i)?(x||t.report({node:i,loc:{start:v.loc.start,end:g.loc.start},fix(A){return A.insertTextAfter(v,`
95
- `)},messageId:"alwaysPadBlock"}),E||t.report({node:i,loc:{end:T.loc.start,start:b.loc.end},fix(A){return A.insertTextBefore(T,`
96
- `)},messageId:"alwaysPadBlock"})):(x&&t.report({node:i,loc:{start:v.loc.start,end:g.loc.start},fix(A){return A.replaceTextRange([v.range[1],g.range[0]-g.loc.start.column],`
97
- `)},messageId:"neverPadBlock"}),E&&t.report({node:i,loc:{end:T.loc.start,start:b.loc.end},messageId:"neverPadBlock",fix(A){return A.replaceTextRange([b.range[1],T.range[0]-T.loc.start.column],`
98
- `)}})))}const n={};return Object.hasOwn(p,"switches")&&(n.SwitchStatement=function(i){i.cases.length!==0&&c(i)}),Object.hasOwn(p,"blocks")&&(n.BlockStatement=function(i){i.body.length!==0&&c(i)},n.StaticBlock=n.BlockStatement),Object.hasOwn(p,"classes")&&(n.ClassBody=function(i){i.body.length!==0&&c(i)}),n}},lc}var uc,bE;function JT(){if(bE)return uc;bE=1;const m=Le(),t=`[${Array.from(m.LINEBREAKS).join("")}]`,p=new RegExp(String.raw`^(\s*?${t})\s*${t}(\s*;?)$`,"u"),d=/^(?:module\s*\.\s*)?exports(?:\s*\.|\s*\[|$)/u,e=/^require\(/u;function l(S){return{test:(b,T)=>T.getFirstToken(b).value===S}}function f(S){return{test:(b,T)=>b.loc.start.line===b.loc.end.line&&T.getFirstToken(b).value===S}}function o(S){return{test:(b,T)=>b.loc.start.line!==b.loc.end.line&&T.getFirstToken(b).value===S}}function r(S){return{test:b=>b.type===S}}function u(S){if(S.type==="ExpressionStatement"){let b=m.skipChainExpression(S.expression);return b.type==="UnaryExpression"&&(b=m.skipChainExpression(b.argument)),b.type==="CallExpression"&&m.isFunction(b.callee)}return!1}function s(S,b){if(b.type==="DoWhileStatement"&&b.body.type==="BlockStatement"||u(b))return!0;const T=S.getLastToken(b,m.isNotSemicolonToken),x=T&&m.isClosingBraceToken(T)?S.getNodeByRangeIndex(T.range[0]):null;return!!x&&(x.type==="BlockStatement"||x.type==="SwitchStatement")}function a(S,b){const T=S.getLastToken(b),x=S.getTokenBefore(T),E=S.getTokenAfter(T);return!!(x&&E&&x.range[0]>=b.range[0]&&m.isSemicolonToken(T)&&T.loc.start.line!==x.loc.end.line&&T.loc.end.line===E.loc.start.line)?x:T}function c(S,b,T){return b+T}function n(){}function i(S,b,T,x){x.length!==0&&S.report({node:T,messageId:"unexpectedBlankLine",fix(E){if(x.length>=2)return null;const A=x[0][0],C=x[0][1],w=A.range[1],k=C.range[0],R=S.sourceCode.text.slice(w,k).replace(p,c);return E.replaceTextRange([w,k],R)}})}function h(S,b,T,x){x.length>0||S.report({node:T,messageId:"expectedBlankLine",fix(E){const A=S.sourceCode;let C=a(A,b);const w=A.getFirstTokenBetween(C,T,{includeComments:!0,filter(R){return m.isTokenOnSameLine(C,R)?(C=R,!1):!0}})||T,k=m.isTokenOnSameLine(C,w)?`
99
-
100
- `:`
101
- `;return E.insertTextAfter(C,k)}})}const g={any:{verify:n},never:{verify:i},always:{verify:h}},v={"*":{test:()=>!0},"block-like":{test:(S,b)=>s(b,S)},"cjs-export":{test:(S,b)=>S.type==="ExpressionStatement"&&S.expression.type==="AssignmentExpression"&&d.test(b.getText(S.expression.left))},"cjs-import":{test:(S,b)=>S.type==="VariableDeclaration"&&S.declarations.length>0&&!!S.declarations[0].init&&e.test(b.getText(S.declarations[0].init))},directive:{test:m.isDirective},expression:{test:S=>S.type==="ExpressionStatement"&&!m.isDirective(S)},iife:{test:u},"multiline-block-like":{test:(S,b)=>S.loc.start.line!==S.loc.end.line&&s(b,S)},"multiline-expression":{test:S=>S.loc.start.line!==S.loc.end.line&&S.type==="ExpressionStatement"&&!m.isDirective(S)},"multiline-const":o("const"),"multiline-let":o("let"),"multiline-var":o("var"),"singleline-const":f("const"),"singleline-let":f("let"),"singleline-var":f("var"),block:r("BlockStatement"),empty:r("EmptyStatement"),function:r("FunctionDeclaration"),break:l("break"),case:l("case"),class:l("class"),const:l("const"),continue:l("continue"),debugger:l("debugger"),default:l("default"),do:l("do"),export:l("export"),for:l("for"),if:l("if"),import:l("import"),let:l("let"),return:l("return"),switch:l("switch"),throw:l("throw"),try:l("try"),var:l("var"),while:l("while"),with:l("with")};return uc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]},type:"layout",docs:{description:"Require or disallow padding lines between statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/padding-line-between-statements"},fixable:"whitespace",schema:{definitions:{paddingType:{enum:Object.keys(g)},statementType:{anyOf:[{enum:Object.keys(v)},{type:"array",items:{enum:Object.keys(v)},minItems:1,uniqueItems:!0}]}},type:"array",items:{type:"object",properties:{blankLine:{$ref:"#/definitions/paddingType"},prev:{$ref:"#/definitions/statementType"},next:{$ref:"#/definitions/statementType"}},additionalProperties:!1,required:["blankLine","prev","next"]}},messages:{unexpectedBlankLine:"Unexpected blank line before this statement.",expectedBlankLine:"Expected blank line before this statement."}},create(S){const b=S.sourceCode,T=S.options||[];let x=null;function E(){x={upper:x,prevNode:null}}function A(){x=x.upper}function C(B,F){let O=B;for(;O.type==="LabeledStatement";)O=O.body;return Array.isArray(F)?F.some(C.bind(null,O)):v[F].test(O,b)}function w(B,F){for(let O=T.length-1;O>=0;--O){const $=T[O];if(C(B,$.prev)&&C(F,$.next))return g[$.blankLine]}return g.any}function k(B,F){const O=[];let $=a(b,B);if(F.loc.start.line-$.loc.end.line>=2)do{const N=b.getTokenAfter($,{includeComments:!0});N.loc.start.line-$.loc.end.line>=2&&O.push([$,N]),$=N}while($.range[0]<F.range[0]);return O}function R(B){const F=B.parent.type;if(!(m.STATEMENT_LIST_PARENTS.has(F)||F==="SwitchStatement"))return;const $=x.prevNode;if($){const N=w($,B),_=k($,B);N.verify(S,$,B,_)}x.prevNode=B}function P(B){R(B),E()}return{Program:E,BlockStatement:E,SwitchStatement:E,StaticBlock:E,"Program:exit":A,"BlockStatement:exit":A,"SwitchStatement:exit":A,"StaticBlock:exit":A,":statement":R,SwitchCase:P,"SwitchCase:exit":A}}},uc}var cc,xE;function QT(){if(xE)return cc;xE=1;const m=Le();function t(f){return f&&f.defs[0].type==="FunctionName"}function p(f,o,r){return f.meta.name===o&&f.property.name===r}function d(f){const o=f.variables;for(let r=0;r<o.length;++r){const u=o[r];if(u.name==="arguments")return u.identifiers.length===0?u:null}return null}function e(f){const o={isCallback:!1,isLexicalThis:!1};let r=f,u=f.parent,s=!1;for(;r;){switch(u.type){case"LogicalExpression":case"ChainExpression":case"ConditionalExpression":break;case"MemberExpression":if(u.object===r&&!u.property.computed&&u.property.type==="Identifier"&&u.property.name==="bind"){const a=u.parent.type==="ChainExpression"?u.parent:u;if(m.isCallee(a))s||(s=!0,o.isLexicalThis=a.parent.arguments.length===1&&a.parent.arguments[0].type==="ThisExpression"),u=a.parent;else return o}else return o;break;case"CallExpression":case"NewExpression":return u.callee!==r&&(o.isCallback=!0),o;default:return o}r=u,u=u.parent}throw new Error("unreachable")}function l(f){return f.every(o=>o.type==="Identifier")&&f.length!==new Set(f.map(o=>o.name)).size}return cc={meta:{type:"suggestion",dialects:["javascript","typescript"],language:"javascript",defaultOptions:[{allowNamedFunctions:!1,allowUnboundThis:!0}],docs:{description:"Require using arrow functions for callbacks",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-arrow-callback"},schema:[{type:"object",properties:{allowNamedFunctions:{type:"boolean"},allowUnboundThis:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{preferArrowCallback:"Unexpected function expression."}},create(f){const[{allowNamedFunctions:o,allowUnboundThis:r}]=f.options,u=f.sourceCode;let s=[];function a(){s.push({this:!1,super:!1,meta:!1})}function c(){return s.pop()}return{Program(){s=[]},ThisExpression(){const n=s.at(-1);n&&(n.this=!0)},Super(){const n=s.at(-1);n&&(n.super=!0)},MetaProperty(n){const i=s.at(-1);i&&p(n,"new","target")&&(i.meta=!0)},FunctionDeclaration:a,"FunctionDeclaration:exit":c,FunctionExpression:a,"FunctionExpression:exit"(n){const i=c();if(o&&n.id&&n.id.name||n.generator)return;const h=u.getDeclaredVariables(n)[0];if(t(h)&&h.references.length>0)return;const g=d(u.getScope(n));if(g&&g.references.length>0)return;const v=e(n);v.isCallback&&(!r||!i.this||v.isLexicalThis)&&!i.super&&!i.meta&&f.report({node:n,messageId:"preferArrowCallback",*fix(S){if(!v.isLexicalThis&&i.this||l(n.params)||n.params.length&&n.params[0].name==="this")return;if(v.isLexicalThis){const A=n.parent;if(A.type!=="MemberExpression")return;const C=A.parent,w=u.getTokenAfter(A.object,m.isNotClosingParenToken),k=u.getLastToken(C);if(m.isParenthesised(u,A)||u.commentsExistBetween(w,k))return;yield S.removeRange([w.range[0],k.range[1]])}const b=u.getFirstToken(n,n.async?1:0),T=u.getTokenAfter(b,m.isOpeningParenToken),x=u.getTokenBefore(n.body);u.commentsExistBetween(b,T)?(yield S.remove(b),n.id&&(yield S.remove(n.id))):yield S.removeRange([b.range[0],T.range[0]]),yield S.insertTextAfter(x," =>");let E=v.isLexicalThis?n.parent.parent:n;E.type==="ChainExpression"&&(E=E.parent),E.parent.type!=="CallExpression"&&E.parent.type!=="ConditionalExpression"&&!m.isParenthesised(u,E)&&!m.isParenthesised(u,n)&&(yield S.insertTextBefore(E,"("),yield S.insertTextAfter(E,")"))}})}}}},cc}var fc,CE;function YT(){if(CE)return fc;CE=1;const m=Ur(),t=Le(),p=/^(?:.+?Pattern|RestElement|SpreadProperty|ExperimentalRestProperty|Property)$/u,d=/^(?:Program|BlockStatement|StaticBlock|SwitchCase)$/u,e=/^(?:VariableDeclarator|AssignmentExpression)$/u;function l(n){return n.parent.type==="ForStatement"&&n.parent.init===n}function f(n){let i=n.parent;for(;p.test(i.type);)i=i.parent;return i.type==="VariableDeclarator"||i.type==="AssignmentExpression"&&i.parent.type==="ExpressionStatement"&&d.test(i.parent.parent.type)}function o(n,i){if(i.through.some(g=>g.resolved&&g.resolved.name===n))return!0;const h=t.getVariableByName(i,n);return h!==null?h.defs.some(g=>g.type==="Parameter"):!1}function r(n){if(!n.isWrite())return null;let i=n.identifier.parent;for(;p.test(i.type);)i=i.parent;return e.test(i.type)?i:null}function u(n){switch(n.type){case"ObjectPattern":return n.properties.some(i=>i?u(i.argument||i.value):!1);case"ArrayPattern":return n.elements.some(i=>i?u(i):!1);case"AssignmentPattern":return u(n.left);case"MemberExpression":return!0}return!1}function s(n,i){if(n.eslintUsed&&n.scope.type==="global")return null;let h=null,g=!1;const v=n.references;for(let b=0;b<v.length;++b){const T=v[b];if(T.isWrite()){if(h!==null&&h.identifier!==T.identifier)return null;const E=r(T);if(E!==null&&E.left!==void 0){const A=E.left;let C=!1,w=!1;if(A.type==="ObjectPattern"?(C=A.properties.filter(R=>R.value).map(R=>R.value.name).some(R=>o(R,n.scope)),w=u(A)):A.type==="ArrayPattern"&&(C=A.elements.map(R=>R&&R.name).some(R=>o(R,n.scope)),w=u(A)),C||w)return null}h=T}else if(T.isRead()&&h===null){if(i)return null;g=!0}}return h!==null&&h.from===n.scope&&f(h.identifier)?g?n.defs[0].name:h.identifier:null}function a(n,i){const h=new Map;for(let g=0;g<n.length;++g){const v=n[g],S=v.references,b=s(v,i);let T=null;for(let x=0;x<S.length;++x){const E=S[x],A=E.identifier;if(A===T)continue;T=A;const C=r(E);C&&(h.has(C)?h.get(C).push(b):h.set(C,[b]))}}return h}function c(n,i,h){return!n||h(n)?null:n.type===i?n:c(n.parent,i,h)}return fc={meta:{type:"suggestion",defaultOptions:[{destructuring:"any",ignoreReadBeforeAssign:!1}],docs:{description:"Require `const` declarations for variables that are never reassigned after declared",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-const"},fixable:"code",schema:[{type:"object",properties:{destructuring:{enum:["any","all"]},ignoreReadBeforeAssign:{type:"boolean"}},additionalProperties:!1}],messages:{useConst:"'{{name}}' is never reassigned. Use 'const' instead."}},create(n){const[{destructuring:i,ignoreReadBeforeAssign:h}]=n.options,g=i!=="all",v=n.sourceCode,S=[];let b=0,T=null,x="";function E(A){const C=A.filter(Boolean);if(A.length&&(g||C.length===A.length)){const w=c(A[0],"VariableDeclaration",P=>P.type.endsWith("Statement")),k=w===null;if(!k&&w.declarations.length>0){const P=w.declarations[0];if(P.init){const B=P.init.parent;B.type==="VariableDeclarator"&&(B.id.name!==x&&(x=B.id.name,b=0),B.id.type==="ObjectPattern"&&B.init.name!==x&&(x=B.init.name,b=0),B.id!==T&&(T=B.id,b=0))}}let R=w&&(w.parent.type==="ForInStatement"||w.parent.type==="ForOfStatement"||w.declarations.every(P=>P.init))&&C.length===A.length;if(!k&&w.declarations&&w.declarations.length!==1&&w&&w.declarations&&w.declarations.length>=1){b+=C.length;let P=0;w.declarations.forEach(B=>{B.id.type==="ObjectPattern"?P+=B.id.properties.length:B.id.type==="ArrayPattern"?P+=B.id.elements.length:P+=1}),R=R&&b===P}C.forEach(P=>{n.report({node:P,messageId:"useConst",data:P,fix:R?B=>{const F=v.getFirstToken(w,O=>O.value===w.kind);return new m(B,v).retainRange(w.range).replaceTextRange(F.range,"const")}:null})})}}return{"Program:exit"(){a(S,h).forEach(E)},VariableDeclaration(A){A.kind==="let"&&!l(A)&&S.push(...v.getDeclaredVariables(A))}}}},fc}var pc,AE;function ZT(){if(AE)return pc;AE=1;const m=Le(),t=m.getPrecedence({type:"AssignmentExpression"});return pc={meta:{type:"suggestion",docs:{description:"Require destructuring from arrays and/or objects",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-destructuring"},fixable:"code",schema:[{oneOf:[{type:"object",properties:{VariableDeclarator:{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1},AssignmentExpression:{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1}]},{type:"object",properties:{enforceForRenamedProperties:{type:"boolean"}},additionalProperties:!1}],messages:{preferDestructuring:"Use {{type}} destructuring."}},create(p){const d=p.options[0],e=p.options[1]&&p.options[1].enforceForRenamedProperties;let l={VariableDeclarator:{array:!0,object:!0},AssignmentExpression:{array:!0,object:!0}};d&&(l=typeof d.array<"u"||typeof d.object<"u"?{VariableDeclarator:d,AssignmentExpression:d}:d);function f(i,h){return l&&l[i]&&l[i][h]}function o(i){return Number.isInteger(i.property.value)}function r(i,h,g){p.report({node:i,messageId:"preferDestructuring",data:{type:h},fix:g})}function u(i){return i.type==="VariableDeclarator"&&i.id.type==="Identifier"&&i.init.type==="MemberExpression"&&!i.init.computed&&i.init.property.type==="Identifier"&&i.id.name===i.init.property.name}function s(i,h){const g=h.init,v=p.sourceCode;if(v.getCommentsInside(h).length>v.getCommentsInside(g.object).length)return null;let S=v.getText(g.object);return m.getPrecedence(g.object)<t&&(S=`(${S})`),i.replaceText(h,`{${g.property.name}} = ${S}`)}function a(i,h,g){if(h.type!=="MemberExpression"||h.object.type==="Super"||h.property.type==="PrivateIdentifier")return;if(o(h)){f(g.type,"array")&&r(g,"array",null);return}const v=u(g)?S=>s(S,g):null;if(f(g.type,"object")&&e){r(g,"object",v);return}if(f(g.type,"object")){const S=h.property;(S.type==="Literal"&&i.name===S.value||S.type==="Identifier"&&i.name===S.name&&!h.computed)&&r(g,"object",v)}}function c(i){i.init&&(i.parent.kind==="using"||i.parent.kind==="await using"||i.init.type==="MemberExpression"&&a(i.id,i.init,i))}function n(i){i.operator==="="&&a(i.left,i.right,i)}return{VariableDeclarator:c,AssignmentExpression:n}}},pc}var dc,wE;function ek(){if(wE)return dc;wE=1;const m=Le(),{CALL:t,ReferenceTracker:p}=Mt(),d=m.getPrecedence({type:"BinaryExpression",operator:"**"});function e(r){return m.getPrecedence(r)<=d||r.type==="AwaitExpression"||r.type==="UnaryExpression"}function l(r){return m.getPrecedence(r)<d}function f(r,u){const s=r.parent.type==="ChainExpression"?r.parent.parent:r.parent,a=m.getPrecedence(s);return(s.type==="ClassDeclaration"||s.type.endsWith("Expression")&&(a===-1||a>=d)&&!(s.type==="BinaryExpression"&&s.operator==="**"&&s.right===r)&&!((s.type==="CallExpression"||s.type==="NewExpression")&&s.arguments.includes(r))&&!(s.type==="MemberExpression"&&s.computed&&s.property===r)&&s.type!=="ArrayExpression")&&!m.isParenthesised(u,r)}function o(r,u){return u?`(${r})`:r}return dc={meta:{type:"suggestion",docs:{description:"Disallow the use of `Math.pow` in favor of the `**` operator",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-exponentiation-operator"},schema:[],fixable:"code",messages:{useExponentiation:"Use the '**' operator instead of 'Math.pow'."}},create(r){const u=r.sourceCode;function s(a){r.report({node:a,messageId:"useExponentiation",fix(c){if(a.arguments.length!==2||a.arguments.some(w=>w.type==="SpreadElement")||u.getCommentsInside(a).length>0)return null;const n=a.arguments[0],i=a.arguments[1],h=u.getText(n),g=u.getText(i),v=e(n),S=l(i),b=f(a,u);let T="",x="";if(!b){if(!v){const w=u.getFirstToken(n),k=u.getTokenBefore(a);k&&k.range[1]===a.range[0]&&!m.canTokensBeAdjacent(k,w)&&(T=" ")}if(!S){const w=u.getLastToken(i),k=u.getTokenAfter(a);k&&a.range[1]===k.range[0]&&!m.canTokensBeAdjacent(w,k)&&(x=" ")}}const E=o(h,v),A=o(g,S),C=o(`${E}**${A}`,b);return c.replaceText(a,`${T}${C}${x}`)}})}return{Program(a){const c=u.getScope(a),n=new p(c),i={Math:{pow:{[t]:!0}}};for(const{node:h}of n.iterateGlobalReferences(i))s(h)}}}},dc}var mc,TE;function tk(){if(TE)return mc;TE=1;const{CALL:m,CONSTRUCT:t,ReferenceTracker:p,getStringIfConstant:d}=Mt(),e=er(),l=new e.RegExpParser;function f(o,r,u,s){switch(s.type){case"Literal":if(typeof s.value=="string"&&u.includes("\\"))return null;break;case"TemplateLiteral":if(s.expressions.length||u.slice(1,-1)!==r)return null;break;default:return null}const a=s.range[0]+o+2;return[{fix(c){const i=(r.match(/temp\d+/gu)||[]).reduce((h,g)=>Math.max(h,Number(g.slice(4))),0);return c.insertTextBeforeRange([a,a],`?<temp${i+1}>`)},messageId:"addGroupName"},{fix(c){return c.insertTextBeforeRange([a,a],"?:")},messageId:"addNonCapture"}]}return mc={meta:{type:"suggestion",docs:{description:"Enforce using named capture group in regular expression",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-named-capture-group"},hasSuggestions:!0,schema:[],messages:{addGroupName:"Add name to capture group.",addNonCapture:"Convert group to non-capturing.",required:"Capture group '{{group}}' should be converted to a named or non-capturing group."}},create(o){const r=o.sourceCode;function u(s,a,c,n){let i;try{i=l.parsePattern(s,0,s.length,{unicode:!!(n&&n.includes("u")),unicodeSets:!!(n&&n.includes("v"))})}catch{return}e.visitRegExpAST(i,{onCapturingGroupEnter(h){if(!h.name){const g=r.getText(c),v=f(h.start,s,g,c);o.report({node:a,messageId:"required",data:{group:h.raw},suggest:v})}}})}return{Literal(s){s.regex&&u(s.regex.pattern,s,s,s.regex.flags)},Program(s){const a=r.getScope(s),c=new p(a),n={RegExp:{[m]:!0,[t]:!0}};for(const{node:i}of c.iterateGlobalReferences(n)){const h=d(i.arguments[0]),g=d(i.arguments[1]);h&&u(h,i,i.arguments[0],g)}}}}},mc}var hc,kE;function rk(){if(kE)return hc;kE=1;const m=Le(),t=new Map([[2,{system:"binary",literalPrefix:"0b"}],[8,{system:"octal",literalPrefix:"0o"}],[16,{system:"hexadecimal",literalPrefix:"0x"}]]);function p(d){return m.isSpecificId(d,"parseInt")||m.isSpecificMemberAccess(d,"Number","parseInt")}return hc={meta:{type:"suggestion",docs:{description:"Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-numeric-literals"},schema:[],messages:{useLiteral:"Use {{system}} literals instead of {{functionName}}()."},fixable:"code"},create(d){const e=d.sourceCode;return{"CallExpression[arguments.length=2]"(l){const[f,o]=l.arguments,r=m.getStaticStringValue(f),u=o.value;if(r!==null&&m.isStringLiteral(f)&&o.type==="Literal"&&typeof u=="number"&&t.has(u)&&p(l.callee)){const{system:s,literalPrefix:a}=t.get(u);d.report({node:l,messageId:"useLiteral",data:{system:s,functionName:e.getText(l.callee)},fix(c){if(e.getCommentsInside(l).length)return null;const n=`${a}${r}`;if(+n!==parseInt(r,u))return null;const i=e.getTokenBefore(l),h=e.getTokenAfter(l);let g="",v="";return i&&i.range[1]===l.range[0]&&!m.canTokensBeAdjacent(i,n)&&(g=" "),h&&l.range[1]===h.range[0]&&!m.canTokensBeAdjacent(n,h)&&(v=" "),c.replaceText(l,`${g}${n}${v}`)}})}}}}},hc}var gc,DE;function nk(){if(DE)return gc;DE=1;const m=Le();function t(p){if(p.object.type==="ObjectExpression"&&p.object.properties.length===0)return!0;const d=p.object.type==="MemberExpression"&&m.getStaticPropertyName(p.object)==="prototype"?p.object.object:p.object;return d.type==="Identifier"&&d.name==="Object"}return gc={meta:{type:"suggestion",docs:{description:"Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-object-has-own"},schema:[],messages:{useHasOwn:"Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'."},fixable:"code"},create(p){const d=p.sourceCode;return{CallExpression(e){if(!(e.callee.type==="MemberExpression"&&e.callee.object.type==="MemberExpression"))return;const l=m.getStaticPropertyName(e.callee),f=m.getStaticPropertyName(e.callee.object),o=t(e.callee.object),r=d.getScope(e),u=m.getVariableByName(r,"Object");l==="call"&&f==="hasOwnProperty"&&o&&u&&u.scope.type==="global"&&p.report({node:e,messageId:"useHasOwn",fix(s){if(d.getCommentsInside(e.callee).length>0)return null;const a=d.getTokenBefore(e.callee,{includeComments:!0});return a&&a.range[1]===e.callee.range[0]&&!m.canTokensBeAdjacent(a,"Object.hasOwn")?s.replaceText(e.callee," Object.hasOwn"):s.replaceText(e.callee,"Object.hasOwn")}})}}}},gc}var yc,IE;function sk(){if(IE)return yc;IE=1;const{CALL:m,ReferenceTracker:t}=Mt(),{isCommaToken:p,isOpeningParenToken:d,isClosingParenToken:e,isParenthesised:l}=Le(),f=/\s/u;function o(v){return v.arguments.some(S=>S.type==="SpreadElement")}function r(v){return v.type==="Property"&&(v.kind==="get"||v.kind==="set")}function u(v){return v.properties.some(r)}function s(v){return v.arguments.filter(S=>S.type==="ObjectExpression").some(u)}function a(v,S){const b=v.parent;switch(b.type){case"VariableDeclarator":case"ArrayExpression":case"ReturnStatement":case"CallExpression":case"Property":return!1;case"AssignmentExpression":return b.left===v&&!l(S,v);default:return!l(S,v)}}function c(v,S){switch(v.type){case"AssignmentExpression":case"ArrowFunctionExpression":case"ConditionalExpression":return!l(S,v);default:return!1}}function n(v,S,b){const T=[b.getFirstToken(v),b.getLastToken(v)];let x=b.getTokenBefore(v),E=b.getTokenAfter(v);for(;x&&E&&x.range[0]>S.range[0]&&d(x)&&e(E);)T.push(x,E),x=b.getTokenBefore(x),E=b.getTokenAfter(E);return T.sort((A,C)=>A.range[0]-C.range[0])}function i(v,S){const b=S.text;let T=v.range[0];{const x=S.getTokenBefore(v,{includeComments:!0});if(x&&x.type==="Line")return T}for(;f.test(b[T-1]||"");)T-=1;return T}function h(v,S){const b=S.text;let T=v.range[1];for(;f.test(b[T]||"");)T+=1;return T}function g(v,S){return function*(b){const T=S.getTokenAfter(v.callee,d),x=S.getLastToken(v);yield b.removeRange([v.range[0],T.range[0]]),a(v,S)?(yield b.replaceText(T,"({"),yield b.replaceText(x,"})")):(yield b.replaceText(T,"{"),yield b.replaceText(x,"}"));for(const E of v.arguments){const A=n(E,T,S),C=A.shift(),w=A.pop();if(E.type==="ObjectExpression"){const k=S.getLastToken(E,1),R=S.getTokenAfter(w);for(const F of A)yield b.remove(F);const P=[C.range[0],h(C,S)],B=[Math.max(i(w,S),P[1]),w.range[1]];yield b.removeRange(P),yield b.removeRange(B),(E.properties.length===0||p(k))&&p(R)&&(yield b.remove(R))}else c(E,S)?(yield b.insertTextBefore(C,"...("),yield b.insertTextAfter(w,")")):yield b.insertTextBefore(C,"...")}}}return yc={meta:{type:"suggestion",docs:{description:"Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-object-spread"},schema:[],fixable:"code",messages:{useSpreadMessage:"Use an object spread instead of `Object.assign` eg: `{ ...foo }`.",useLiteralMessage:"Use an object literal instead of `Object.assign`. eg: `{ foo: bar }`."}},create(v){const S=v.sourceCode;return{Program(b){const T=S.getScope(b),x=new t(T),E={Object:{assign:{[m]:!0}}};for(const{node:A}of x.iterateGlobalReferences(E))if(A.arguments.length>=1&&A.arguments[0].type==="ObjectExpression"&&!o(A)&&!(A.arguments.length>1&&s(A))){const C=A.arguments.length===1?"useLiteralMessage":"useSpreadMessage",w=g(A,S);v.report({node:A,messageId:C,fix:w})}}}}},yc}var vc,PE;function ak(){if(PE)return vc;PE=1;const m=Le();return vc={meta:{type:"suggestion",defaultOptions:[{allowEmptyReject:!1}],docs:{description:"Require using Error objects as Promise rejection reasons",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-promise-reject-errors"},fixable:null,schema:[{type:"object",properties:{allowEmptyReject:{type:"boolean"}},additionalProperties:!1}],messages:{rejectAnError:"Expected the Promise rejection reason to be an Error."}},create(t){const[{allowEmptyReject:p}]=t.options,d=t.sourceCode;function e(f){!f.arguments.length&&p||(!f.arguments.length||!m.couldBeError(f.arguments[0])||f.arguments[0].type==="Identifier"&&f.arguments[0].name==="undefined")&&t.report({node:f,messageId:"rejectAnError"})}function l(f){return m.isSpecificMemberAccess(f.callee,"Promise","reject")}return{CallExpression(f){l(f)&&e(f)},"NewExpression:exit"(f){f.callee.type==="Identifier"&&f.callee.name==="Promise"&&f.arguments.length&&m.isFunction(f.arguments[0])&&f.arguments[0].params.length>1&&f.arguments[0].params[1].type==="Identifier"&&d.getDeclaredVariables(f.arguments[0]).find(o=>o.name===f.arguments[0].params[1].name).references.filter(o=>o.isRead()).filter(o=>o.identifier.parent.type==="CallExpression"&&o.identifier===o.identifier.parent.callee).forEach(o=>e(o.identifier.parent))}}}},vc}var Ec,FE;function ik(){return FE||(FE=1,Ec={meta:{type:"suggestion",docs:{description:"Require `Reflect` methods where applicable",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-reflect"},deprecated:{message:"The original intention of this rule was misguided.",deprecatedSince:"3.9.0",availableUntil:null,replacedBy:[]},schema:[{type:"object",properties:{exceptions:{type:"array",items:{enum:["apply","call","delete","defineProperty","getOwnPropertyDescriptor","getPrototypeOf","setPrototypeOf","isExtensible","getOwnPropertyNames","preventExtensions"]},uniqueItems:!0}},additionalProperties:!1}],messages:{preferReflect:"Avoid using {{existing}}, instead use {{substitute}}."}},create(m){const t={apply:"Function.prototype.apply",call:"Function.prototype.call",defineProperty:"Object.defineProperty",getOwnPropertyDescriptor:"Object.getOwnPropertyDescriptor",getPrototypeOf:"Object.getPrototypeOf",setPrototypeOf:"Object.setPrototypeOf",isExtensible:"Object.isExtensible",getOwnPropertyNames:"Object.getOwnPropertyNames",preventExtensions:"Object.preventExtensions"},p={apply:"Reflect.apply",call:"Reflect.apply",defineProperty:"Reflect.defineProperty",getOwnPropertyDescriptor:"Reflect.getOwnPropertyDescriptor",getPrototypeOf:"Reflect.getPrototypeOf",setPrototypeOf:"Reflect.setPrototypeOf",isExtensible:"Reflect.isExtensible",getOwnPropertyNames:"Reflect.getOwnPropertyNames",preventExtensions:"Reflect.preventExtensions"},d=(m.options[0]||{}).exceptions||[];function e(l,f,o){m.report({node:l,messageId:"preferReflect",data:{existing:f,substitute:o}})}return{CallExpression(l){const f=(l.callee.property||{}).name,o=(l.callee.object||{}).name==="Reflect",r=Object.hasOwn(p,f),u=d.includes(f);r&&!o&&!u&&e(l,t[f],p[f])},UnaryExpression(l){const f=l.operator==="delete",o=l.argument.type==="Identifier",r=d.includes("delete");f&&!o&&!r&&e(l,"the delete keyword","Reflect.deleteProperty")}}}}),Ec}var Sc,RE;function ok(){if(RE)return Sc;RE=1;const m=Le(),{CALL:t,CONSTRUCT:p,ReferenceTracker:d}=Mt(),{RegExpValidator:e,visitRegExpAST:l,RegExpParser:f}=er(),{canTokensBeAdjacent:o}=Le(),{REGEXPP_LATEST_ECMA_VERSION:r}=dl();function u(c){return c.type==="Literal"&&typeof c.value=="string"}function s(c){return c.type==="Literal"&&Object.hasOwn(c,"regex")}const a=new Set(["(",";","[",",","=","+","*","-","?","~","%","**","!","typeof","instanceof","&&","||","??","return","...","delete","void","in","<",">","<=",">=","==","===","!=","!==","<<",">>",">>>","&","|","^",":","{","=>","*=","<<=",">>=",">>>=","^=","|=","&=","??=","||=","&&=","**=","+=","-=","/=","%=","/","do","break","continue","debugger","case","throw"]);return Sc={meta:{type:"suggestion",defaultOptions:[{disallowRedundantWrapping:!1}],docs:{description:"Disallow use of the `RegExp` constructor in favor of regular expression literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-regex-literals"},hasSuggestions:!0,schema:[{type:"object",properties:{disallowRedundantWrapping:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedRegExp:"Use a regular expression literal instead of the 'RegExp' constructor.",replaceWithLiteral:"Replace with an equivalent regular expression literal.",replaceWithLiteralAndFlags:"Replace with an equivalent regular expression literal with flags '{{ flags }}'.",replaceWithIntendedLiteralAndFlags:"Replace with a regular expression literal with flags '{{ flags }}'.",unexpectedRedundantRegExp:"Regular expression literal is unnecessarily wrapped within a 'RegExp' constructor.",unexpectedRedundantRegExpWithFlags:"Use regular expression literal with flags instead of the 'RegExp' constructor."}},create(c){const[{disallowRedundantWrapping:n}]=c.options,i=c.sourceCode;function h(P){return P.type==="TaggedTemplateExpression"&&m.isSpecificMemberAccess(P.tag,"String","raw")&&i.isGlobalReference(m.skipChainExpression(P.tag).object)&&m.isStaticTemplateLiteral(P.quasi)}function g(P){return u(P)?P.value:m.isStaticTemplateLiteral(P)?P.quasis[0].value.cooked:h(P)?P.quasi.quasis[0].value.raw:null}function v(P){return u(P)||m.isStaticTemplateLiteral(P)||h(P)}function S(P){const B=P.arguments;return!!((B.length===1||B.length===2)&&B.every(v))}function b(P){const B=P.arguments;return!!(B.length===1&&s(B[0])||B.length===2&&s(B[0])&&v(B[1]))}function T(P){return P<=5?5:Math.min(P,r)}const x=T(c.languageOptions.ecmaVersion);function E(P){switch(P){case`
102
- `:case`\\
103
- `:return"\\n";case"\r":case"\\\r":return"\\r";case" ":case"\\ ":return"\\t";case"\v":case"\\\v":return"\\v";case"\f":case"\\\f":return"\\f";case"/":return"\\/";default:return null}}function A(P,B){const F=new e({ecmaVersion:x});try{return F.validatePattern(P,0,P.length,{unicode:B?B.includes("u"):!1,unicodeSets:B?B.includes("v"):!1}),B&&F.validateFlags(B),!0}catch{return!1}}function C(P,B){return[...P].sort().join("")===[...B].sort().join("")}function w(P,B){return[...new Set([...P,...B])].join("")}function k(P,B,F){const O=i.getTokenBefore(P);return i.getCommentsInside(P).length===0&&(!O||a.has(O.value))&&A(B,F)}function R(P,B){const F=i.getTokenBefore(P),O=i.getTokenAfter(P);return(F&&!o(F,B)&&F.range[1]===P.range[0]?" ":"")+B+(O&&!o(B,O)&&P.range[1]===O.range[0]?" ":"")}return{Program(P){const B=i.getScope(P),F=new d(B),O={RegExp:{[t]:!0,[p]:!0}};for(const{node:$}of F.iterateGlobalReferences(O))if(n&&b($)){const N=$.arguments[0];if($.arguments.length===2){const _=[],X=g($.arguments[1])||"";k($,N.regex.pattern,X)&&_.push({messageId:"replaceWithLiteralAndFlags",pattern:N.regex.pattern,flags:X});const L=N.regex.flags||"",K=w(L,X);!C(K,X)&&k($,N.regex.pattern,K)&&_.push({messageId:"replaceWithIntendedLiteralAndFlags",pattern:N.regex.pattern,flags:K}),c.report({node:$,messageId:"unexpectedRedundantRegExpWithFlags",suggest:_.map(({flags:J,pattern:ge,messageId:ae})=>({messageId:ae,data:{flags:J},fix(ke){return ke.replaceText($,R($,`/${ge}/${J}`))}}))})}else{const _=[];k($,N.regex.pattern,N.regex.flags)&&_.push(i.getText(N)),c.report({node:$,messageId:"unexpectedRedundantRegExp",suggest:_.map(X=>({messageId:"replaceWithLiteral",fix(L){return L.replaceText($,R($,X))}}))})}}else if(S($)){let N=g($.arguments[0]),_=!1,X;if($.arguments[1]&&(X=g($.arguments[1])),k($,N,X)||(_=!0),/^[-\w\\[\](){} \t\r\n\v\f!@#$%^&*+=/~`.><?,'"|:;]*$/u.test(N)||(_=!0),N&&!_){let K=0;const J=new f({ecmaVersion:x}).parsePattern(N,0,N.length,{unicode:X?X.includes("u"):!1,unicodeSets:X?X.includes("v"):!1});l(J,{onCharacterEnter(ge){const ae=E(ge.raw);ae&&(N=N.slice(0,ge.start+K)+ae+N.slice(ge.end+K),ge.raw.length===1&&(K+=1))}})}const L=`/${N||"(?:)"}/${X||""}`;c.report({node:$,messageId:"unexpectedRegExp",suggest:_?[]:[{messageId:"replaceWithLiteral",fix(K){return K.replaceText($,R($,L))}}]})}}}}},Sc}var bc,_E;function lk(){if(_E)return bc;_E=1;function m(p){const d=p.variables;for(let e=0;e<d.length;++e){const l=d[e];if(l.name==="arguments")return l.identifiers.length===0?l:null}return null}function t(p){const d=p.identifier,e=d.parent;return!(e.type==="MemberExpression"&&e.object===d&&!e.computed)}return bc={meta:{type:"suggestion",docs:{description:"Require rest parameters instead of `arguments`",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-rest-params"},schema:[],messages:{preferRestParams:"Use the rest parameters instead of 'arguments'."}},create(p){const d=p.sourceCode;function e(f){p.report({node:f.identifier,loc:f.identifier.loc,messageId:"preferRestParams"})}function l(f){const o=m(d.getScope(f));o&&o.references.filter(t).forEach(e)}return{"FunctionDeclaration:exit":l,"FunctionExpression:exit":l}}},bc}var xc,BE;function uk(){if(BE)return xc;BE=1;const m=Le();function t(d){return m.isSpecificMemberAccess(d.callee,null,"apply")&&d.arguments.length===2&&d.arguments[1].type!=="ArrayExpression"&&d.arguments[1].type!=="SpreadElement"}function p(d,e,l){return d?m.equalTokens(d,e,l):m.isNullOrUndefined(e)}return xc={meta:{type:"suggestion",docs:{description:"Require spread operators instead of `.apply()`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-spread"},schema:[],fixable:null,messages:{preferSpread:"Use the spread operator instead of '.apply()'."}},create(d){const e=d.sourceCode;return{CallExpression(l){if(!t(l))return;const f=m.skipChainExpression(m.skipChainExpression(l.callee).object),o=f.type==="MemberExpression"?f.object:null,r=l.arguments[0];p(o,r,e)&&d.report({node:l,messageId:"preferSpread"})}}}},xc}var Cc,LE;function ck(){if(LE)return Cc;LE=1;const m=Le();function t(r){return r.type==="BinaryExpression"&&r.operator==="+"}function p(r){let u=r;for(;t(u.parent);)u=u.parent;return u}function d(r){return t(r)?d(r.left)||d(r.right):r.type==="Literal"&&typeof r.value=="string"?m.hasOctalOrNonOctalDecimalEscapeSequence(r.raw):!1}function e(r){return t(r)?e(r.right)||e(r.left):m.isStringLiteral(r)}function l(r){return t(r)?l(r.right)||l(r.left):!m.isStringLiteral(r)}function f(r){return r.type==="BinaryExpression"?f(r.left):r.type==="TemplateLiteral"?r.expressions.length&&r.quasis.length&&r.quasis[0].range[0]===r.quasis[0].range[1]:r.type!=="Literal"||typeof r.value!="string"}function o(r){return r.type==="BinaryExpression"?f(r.right):r.type==="TemplateLiteral"?r.expressions.length&&r.quasis.length&&r.quasis.at(-1).range[0]===r.quasis.at(-1).range[1]:r.type!=="Literal"||typeof r.value!="string"}return Cc={meta:{type:"suggestion",docs:{description:"Require template literals instead of string concatenation",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-template"},schema:[],fixable:"code",messages:{unexpectedStringConcatenation:"Unexpected string concatenation."}},create(r){const u=r.sourceCode;let s=Object.create(null);function a(h,g){const v=[h].concat(u.getTokensBetween(h,g)).concat(g),S=u.getText();return v.slice(0,-1).reduce((b,T,x)=>b+S.slice(T.range[1],v[x+1].range[0]),"")}function c(h,g,v){if(h.type==="Literal"&&typeof h.value=="string")return`\`${h.raw.slice(1,-1).replace(/\\*(\$\{|`)/gu,S=>S.lastIndexOf("\\")%2?`\\${S}`:S).replace(new RegExp(`\\\\${h.raw[0]}`,"gu"),h.raw[0])}\``;if(h.type==="TemplateLiteral")return u.getText(h);if(t(h)&&e(h)){const S=u.getFirstTokenBetween(h.left,h.right,A=>A.value==="+"),b=a(h.left,S),T=a(S,h.right),x=o(h.left),E=f(h.right);return x?c(h.left,g,b+T).slice(0,-1)+c(h.right,null,v).slice(1):E?c(h.left,g,null).slice(0,-1)+c(h.right,b+T,v).slice(1):`${c(h.left,g,null)}${b}+${T}${c(h.right,v,null)}`}return`\`\${${g||""}${u.getText(h)}${v||""}}\``}function n(h,g){const v=p(g.parent);return d(v)?null:h.replaceText(v,c(v,null,null))}function i(h){if(!m.isStringLiteral(h)||!t(h.parent))return;const g=p(h.parent);s[g.range[0]]||(s[g.range[0]]=!0,l(g)&&r.report({node:g,messageId:"unexpectedStringConcatenation",fix:v=>n(v,h)}))}return{Program(){s=Object.create(null)},Literal:i,TemplateLiteral:i}}},Cc}var Ac,OE;function fk(){if(OE)return Ac;OE=1;const m=Le(),t=Symbol("unknown_cause"),p=new Set(["Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","AggregateError"]);function d(l){const f=l.argument,o=f.callee.name==="AggregateError"?2:1,r=f.arguments.findIndex(s=>s.type==="SpreadElement");if(r>=0&&r<=o)return t;const u=f.arguments[o];if(u){if(u.type==="ObjectExpression"){if(u.properties.some(c=>c.type==="SpreadElement"))return t;const s=u.properties.filter(c=>m.getStaticPropertyName(c)==="cause"),a=s.at(-1);return a?{value:a.value,multipleDefinitions:s.length>1}:null}return t}return null}function e(l){let f=l;for(;f&&f.type!=="CatchClause";){if(["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","StaticBlock"].includes(f.type))return null;f=f.parent}return f}return Ac={meta:{type:"suggestion",defaultOptions:[{requireCatchParameter:!1}],docs:{description:"Disallow losing originally caught error when re-throwing custom errors",recommended:!1,url:"https://eslint.org/docs/latest/rules/preserve-caught-error"},schema:[{type:"object",properties:{requireCatchParameter:{type:"boolean",description:"Requires the catch blocks to always have the caught error parameter so it is not discarded."}},additionalProperties:!1}],messages:{missingCause:"There is no `cause` attached to the symptom error being thrown.",incorrectCause:"The symptom error is being thrown with an incorrect `cause`.",includeCause:"Include the original caught error as the `cause` of the symptom error.",missingCatchErrorParam:"The caught error is not accessible because the catch clause lacks the error parameter. Start referencing the caught error using the catch parameter.",partiallyLostError:"Re-throws cannot preserve the caught error as a part of it is being lost due to destructuring.",caughtErrorShadowed:"The caught error is being attached as `cause`, but is shadowed by a closer scoped redeclaration."},hasSuggestions:!0},create(l){const f=l.sourceCode,[{requireCatchParameter:o}]=l.options;function r(s){return(s.argument.type==="NewExpression"||s.argument.type==="CallExpression")&&s.argument.callee.type==="Identifier"&&p.has(s.argument.callee.name)&&f.isGlobalReference(s.argument.callee)}function u(s,a,c){const n=a.properties;if(n.length===0)return s.insertTextAfter(f.getFirstToken(a),`cause: ${c}`);const i=n.at(-1);return s.insertTextAfter(i,`, cause: ${c}`)}return{ThrowStatement(s){const a=e(s),c=s;if(a&&r(c)){if(a.param&&a.param.type!=="Identifier"){l.report({messageId:"partiallyLostError",node:a});return}const n=a.param?.type==="Identifier"?a.param:null;if(!n){if(o){l.report({node:c,messageId:"missingCatchErrorParam"});return}return}const i=d(c);if(i===t)return;if(i===null){l.report({messageId:"missingCause",node:c,suggest:[{messageId:"includeCause",fix(v){const S=c.argument,b=S.arguments;if(S.callee.name==="AggregateError"){const A=b[0],C=b[1],w=b[2];if(!A){const k=f.getLastToken(S),R=f.getLastToken(S.callee),P=f.getFirstTokenBetween(R,k,m.isOpeningParenToken);return P?v.insertTextAfter(P,`[], "", { cause: ${n.name} }`):v.insertTextAfter(S.callee,`([], "", { cause: ${n.name} })`)}return C?w?w.type==="ObjectExpression"?u(v,w,n.name):null:v.insertTextAfter(C,`, { cause: ${n.name} }`):v.insertTextAfter(A,`, "", { cause: ${n.name} }`)}const x=b[0],E=b[1];if(!x){const A=f.getLastToken(S),C=f.getLastToken(S.callee),w=f.getFirstTokenBetween(C,A,m.isOpeningParenToken);return w?v.insertTextAfter(w,`"", { cause: ${n.name} }`):v.insertTextAfter(S.callee,`("", { cause: ${n.name} })`)}return E?E.type==="ObjectExpression"?u(v,E,n.name):null:v.insertTextAfter(x,`, { cause: ${n.name} }`)}}]});return}const{value:h}=i;if(!(h.type==="Identifier"&&h.name===n.name)){const v=i.multipleDefinitions?null:[{messageId:"includeCause",fix(S){return h.parent.method||h.parent.shorthand||h.parent.kind!=="init"?S.replaceText(h.parent,`cause: ${n.name}`):S.replaceText(h,n.name)}}];l.report({messageId:"incorrectCause",node:h,suggest:v});return}let g=f.getScope(c);do{if(g.set.get(n.name))break;g=g.upper}while(g);g?.block!==a&&l.report({messageId:"caughtErrorShadowed",node:c})}}}}},Ac}var wc,NE;function pk(){if(NE)return wc;NE=1;const m=Xr(),t=Le(),p=Ya();return wc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"quote-props",url:"https://eslint.style/rules/quote-props"}}]},type:"suggestion",docs:{description:"Require quotes around object literal property names",recommended:!1,url:"https://eslint.org/docs/latest/rules/quote-props"},schema:{anyOf:[{type:"array",items:[{enum:["always","as-needed","consistent","consistent-as-needed"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always","as-needed","consistent","consistent-as-needed"]},{type:"object",properties:{keywords:{type:"boolean"},unnecessary:{type:"boolean"},numbers:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},fixable:"code",messages:{requireQuotesDueToReservedWord:"Properties should be quoted as '{{property}}' is a reserved word.",inconsistentlyQuotedProperty:"Inconsistently quoted property '{{key}}' found.",unnecessarilyQuotedProperty:"Unnecessarily quoted property '{{property}}' found.",unquotedReservedProperty:"Unquoted reserved word '{{property}}' used as key.",unquotedNumericProperty:"Unquoted number literal '{{property}}' used as key.",unquotedPropertyFound:"Unquoted property '{{property}}' found.",redundantQuoting:"Properties shouldn't be quoted as all quotes are redundant."}},create(d){const e=d.options[0],l=d.options[1]&&d.options[1].keywords,f=!d.options[1]||d.options[1].unnecessary!==!1,o=d.options[1]&&d.options[1].numbers,r=d.sourceCode;function u(g){return p.includes(g)}function s(g,v,S){return v.length===1&&v[0].start===0&&v[0].end===g.length&&(["Identifier","Keyword","Null","Boolean"].includes(v[0].type)||v[0].type==="Numeric"&&!S&&String(+v[0].value)===v[0].value)}function a(g){return g.type==="Identifier"?g.name:g.value}function c(g){return g.type==="Literal"&&typeof g.value=="string"?r.getText(g):`"${g.type==="Identifier"?g.name:g.value}"`}function n(g){const v=g.key;if(!(g.method||g.computed||g.shorthand))if(v.type==="Literal"&&typeof v.value=="string"){let S;try{S=m.tokenize(v.value)}catch{return}if(S.length!==1||u(S[0].value)&&l)return;f&&s(v.value,S,o)&&d.report({node:g,messageId:"unnecessarilyQuotedProperty",data:{property:v.value},fix:T=>T.replaceText(v,a(v))})}else l&&v.type==="Identifier"&&u(v.name)?d.report({node:g,messageId:"unquotedReservedProperty",data:{property:v.name},fix:S=>S.replaceText(v,c(v))}):o&&v.type==="Literal"&&t.isNumericLiteral(v)&&d.report({node:g,messageId:"unquotedNumericProperty",data:{property:v.value},fix:S=>S.replaceText(v,c(v))})}function i(g){const v=g.key;!g.method&&!g.computed&&!g.shorthand&&!(v.type==="Literal"&&typeof v.value=="string")&&d.report({node:g,messageId:"unquotedPropertyFound",data:{property:v.name||v.value},fix:S=>S.replaceText(v,c(v))})}function h(g,v){const S=[],b=[];let T=null,x=!1;g.properties.forEach(E=>{const A=E.key;if(!(!A||E.method||E.computed||E.shorthand))if(A.type==="Literal"&&typeof A.value=="string"){if(S.push(E),v){let C;try{C=m.tokenize(A.value)}catch{x=!0;return}x=x||!s(A.value,C)||l&&u(C[0].value)}}else l&&v&&A.type==="Identifier"&&u(A.name)?(b.push(E),x=!0,T=A.name):b.push(E)}),v&&S.length&&!x?S.forEach(E=>{d.report({node:E,messageId:"redundantQuoting",fix:A=>A.replaceText(E.key,a(E.key))})}):b.length&&T?b.forEach(E=>{d.report({node:E,messageId:"requireQuotesDueToReservedWord",data:{property:T},fix:A=>A.replaceText(E.key,c(E.key))})}):S.length&&b.length&&b.forEach(E=>{d.report({node:E,messageId:"inconsistentlyQuotedProperty",data:{key:E.key.name||E.key.value},fix:A=>A.replaceText(E.key,c(E.key))})})}return{Property(g){(e==="always"||!e)&&i(g),e==="as-needed"&&n(g)},ObjectExpression(g){e==="consistent"&&h(g,!1),e==="consistent-as-needed"&&h(g,!0)}}}},wc}var Tc,ME;function dk(){if(ME)return Tc;ME=1;const m=Le(),t={double:{quote:'"',alternateQuote:"'",description:"doublequote"},single:{quote:"'",alternateQuote:'"',description:"singlequote"},backtick:{quote:"`",alternateQuote:'"',description:"backtick"}},p=new RegExp(String.raw`(^|[^\\])(\\\\)*[${Array.from(m.LINEBREAKS).join("")}]`,"u");t.double.convert=t.single.convert=t.backtick.convert=function(e){const l=this.quote,f=e[0];return l===f?e:l+e.slice(1,-1).replace(/\\(\$\{|\r\n?|\n|.)|["'`]|\$\{|(\r\n?|\n)/gu,(o,r,u)=>r===f||f==="`"&&r==="${"?r:o===l||l==="`"&&o==="${"?`\\${o}`:u&&f==="`"?"\\n":o)+l};const d="avoid-escape";return Tc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"quotes",url:"https://eslint.style/rules/quotes"}}]},type:"layout",docs:{description:"Enforce the consistent use of either backticks, double, or single quotes",recommended:!1,url:"https://eslint.org/docs/latest/rules/quotes"},fixable:"code",schema:[{enum:["single","double","backtick"]},{anyOf:[{enum:["avoid-escape"]},{type:"object",properties:{avoidEscape:{type:"boolean"},allowTemplateLiterals:{type:"boolean"}},additionalProperties:!1}]}],messages:{wrongQuotes:"Strings must use {{description}}."}},create(e){const l=e.options[0],f=t[l||"double"],o=e.options[1],r=o&&o.allowTemplateLiterals===!0,u=e.sourceCode;let s=o&&o.avoidEscape===!0;o===d&&(s=!0);function a(g){return g.parent.type==="JSXAttribute"||g.parent.type==="JSXElement"||g.parent.type==="JSXFragment"}function c(g){return g.type==="ExpressionStatement"&&g.expression.type==="Literal"&&typeof g.expression.value=="string"&&!m.isParenthesised(u,g.expression)}function n(g){if(!m.isTopLevelExpressionStatement(g.parent))return!1;const v=g.parent.parent;for(let S=0;S<v.body.length;++S){const b=v.body[S];if(b===g.parent)return!0;if(!c(b))break}return!1}function i(g){const v=g.parent;switch(v.type){case"ExpressionStatement":return!m.isParenthesised(u,g)&&n(g);case"Property":case"PropertyDefinition":case"MethodDefinition":return v.key===g&&!v.computed;case"ImportDeclaration":case"ExportNamedDeclaration":return v.source===g;case"ExportAllDeclaration":return v.exported===g||v.source===g;case"ImportSpecifier":return v.imported===g;case"ExportSpecifier":return v.local===g||v.exported===g;default:return!1}}function h(g){return!!(g.parent.type==="TaggedTemplateExpression"&&g===g.parent.quasi||g.expressions.length>0||g.quasis.length>=1&&p.test(g.quasis[0].value.raw))}return{Literal(g){const v=g.value,S=g.raw;if(f&&typeof v=="string"){let b=l==="backtick"&&i(g)||a(g)||m.isSurroundedBy(S,f.quote);!b&&s&&(b=m.isSurroundedBy(S,f.alternateQuote)&&S.includes(f.quote)),b||e.report({node:g,messageId:"wrongQuotes",data:{description:f.description},fix(T){return l==="backtick"&&m.hasOctalOrNonOctalDecimalEscapeSequence(S)?null:T.replaceText(g,f.convert(g.raw))}})}},TemplateLiteral(g){r||l==="backtick"||h(g)||e.report({node:g,messageId:"wrongQuotes",data:{description:f.description},fix(v){return m.isTopLevelExpressionStatement(g.parent)&&!m.isParenthesised(u,g)?null:v.replaceText(g,f.convert(u.getText(g)))}})}}}},Tc}var kc,jE;function mk(){if(jE)return kc;jE=1;const m=Le(),t="always",p="as-needed",d=new Set(Array.from({length:35},(r,u)=>u+2));function e(r){return r.defs.length>=1}function l(r){return r.type==="MemberExpression"&&!r.computed&&r.property.type==="Identifier"&&r.property.name==="parseInt"}function f(r){return!(r.type==="Literal"&&!d.has(r.value)||r.type==="Identifier"&&r.name==="undefined")}function o(r){return r.type==="Literal"&&r.value===10}return kc={meta:{type:"suggestion",defaultOptions:[t],docs:{description:"Enforce the consistent use of the radix argument when using `parseInt()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/radix"},hasSuggestions:!0,schema:[{enum:["always","as-needed"]}],messages:{missingParameters:"Missing parameters.",redundantRadix:"Redundant radix parameter.",missingRadix:"Missing radix parameter.",invalidRadix:"Invalid radix parameter, must be an integer between 2 and 36.",addRadixParameter10:"Add radix parameter `10` for parsing decimal numbers."}},create(r){const[u]=r.options,s=r.sourceCode;function a(c){const n=c.arguments;switch(n.length){case 0:r.report({node:c,messageId:"missingParameters"});break;case 1:u===t&&r.report({node:c,messageId:"missingRadix",suggest:[{messageId:"addRadixParameter10",fix(i){const h=s.getTokens(c),g=h.at(-1),v=h.at(-2),S=v.type==="Punctuator"&&v.value===",";return i.insertTextBefore(g,S?" 10,":", 10")}}]});break;default:u===p&&o(n[1])?r.report({node:c,messageId:"redundantRadix"}):f(n[1])||r.report({node:c,messageId:"invalidRadix"});break}}return{"Program:exit"(c){const n=s.getScope(c);let i;i=m.getVariableByName(n,"parseInt"),i&&!e(i)&&i.references.forEach(h=>{const g=h.identifier;m.isCallee(g)&&a(g.parent)}),i=m.getVariableByName(n,"Number"),i&&!e(i)&&i.references.forEach(h=>{const g=h.identifier.parent,v=g.parent.type==="ChainExpression"?g.parent:g;l(g)&&m.isCallee(v)&&a(v.parent)})}}}},kc}var Dc,UE;function hk(){if(UE)return Dc;UE=1;function m(e,l=new Map){for(const f of e.references)f.resolved!==null&&l.set(f.identifier,f);for(const f of e.childScopes)f.type!=="function"&&m(f,l);return l}function t(e){if(e.writeExpr)return e.writeExpr;let l=e.identifier;for(;l;){const f=l.parent.type;if(f==="AssignmentExpression"&&l.parent.left===l)return l.parent.right;if(f==="MemberExpression"&&l.parent.object===l){l=l.parent;continue}break}return null}function p(e,l){if(!e||l&&e.defs.some(o=>o.type==="Parameter"))return!1;const f=e.scope.variableScope;return e.references.every(o=>o.from.variableScope===f)}class d{constructor(){this.info=new WeakMap}initialize(l){const f=new Set,o=new Set;for(const r of l.prevSegments){const u=this.info.get(r);u&&(u.outdatedReadVariables.forEach(Set.prototype.add,f),u.freshReadVariables.forEach(Set.prototype.add,o))}this.info.set(l,{outdatedReadVariables:f,freshReadVariables:o})}markAsRead(l,f){for(const o of l){const r=this.info.get(o);r&&(r.freshReadVariables.add(f),r.outdatedReadVariables.delete(f))}}makeOutdated(l){for(const f of l){const o=this.info.get(f);o&&(o.freshReadVariables.forEach(Set.prototype.add,o.outdatedReadVariables),o.freshReadVariables.clear())}}isOutdated(l,f){for(const o of l){const r=this.info.get(o);if(r&&r.outdatedReadVariables.has(f))return!0}return!1}}return Dc={meta:{type:"problem",defaultOptions:[{allowProperties:!1}],docs:{description:"Disallow assignments that can lead to race conditions due to usage of `await` or `yield`",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-atomic-updates"},fixable:null,schema:[{type:"object",properties:{allowProperties:{type:"boolean"}},additionalProperties:!1}],messages:{nonAtomicUpdate:"Possible race condition: `{{value}}` might be reassigned based on an outdated value of `{{value}}`.",nonAtomicObjectUpdate:"Possible race condition: `{{value}}` might be assigned based on an outdated state of `{{object}}`."}},create(e){const[{allowProperties:l}]=e.options,f=e.sourceCode,o=new Map,r=new d;let u=null;return{onCodePathStart(s,a){const c=f.getScope(a),n=c.type==="function"&&(c.block.async||c.block.generator);u={upper:u,codePath:s,referenceMap:n?m(c):null,currentSegments:new Set}},onCodePathEnd(){u=u.upper},onCodePathSegmentStart(s){r.initialize(s),u.currentSegments.add(s)},onUnreachableCodePathSegmentStart(s){u.currentSegments.add(s)},onUnreachableCodePathSegmentEnd(s){u.currentSegments.delete(s)},onCodePathSegmentEnd(s){u.currentSegments.delete(s)},Identifier(s){const{referenceMap:a}=u,c=a&&a.get(s);if(!c)return;const n=c.resolved,i=t(c),h=c.identifier.parent.type==="MemberExpression";if(c.isRead()&&!(i&&i.parent.operator==="=")&&r.markAsRead(u.currentSegments,n),i&&i.parent.right===i&&!p(n,h)){let g=o.get(i);g||(g=[],o.set(i,g)),g.push(c)}},":expression:exit"(s){if(!u.referenceMap)return;(s.type==="AwaitExpression"||s.type==="YieldExpression")&&r.makeOutdated(u.currentSegments);const a=o.get(s);if(a){o.delete(s);for(const c of a){const n=c.resolved;r.isOutdated(u.currentSegments,n)&&(s.parent.left===c.identifier?e.report({node:s.parent,messageId:"nonAtomicUpdate",data:{value:n.name}}):l||e.report({node:s.parent,messageId:"nonAtomicObjectUpdate",data:{value:f.getText(s.parent.left),object:n.name}}))}}}}}},Dc}var Ic,qE;function gk(){if(qE)return Ic;qE=1;const m=Le();function t(p){return p[0].toUpperCase()+p.slice(1)}return Ic={meta:{type:"suggestion",docs:{description:"Disallow async functions which have no `await` expression",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-await"},schema:[],messages:{missingAwait:"{{name}} has no 'await' expression.",removeAsync:"Remove 'async'."},hasSuggestions:!0},create(p){const d=p.sourceCode;let e=null;function l(){e={upper:e,hasAwait:!1}}function f(o){if(!o.generator&&o.async&&!e.hasAwait&&!m.isEmptyFunction(o)){const r=o.parent.type==="MethodDefinition"&&o.parent.value===o||o.parent.type==="Property"&&o.parent.method&&o.parent.value===o?o.parent:o,u=d.getFirstToken(r,n=>n.value==="async"),s=[u.range[0],d.getTokenAfter(u,{includeComments:!0}).range[0]],a=d.getTokenAfter(u),c=a.type==="Punctuator"&&(a.value==="["||a.value==="(")&&(r.type==="MethodDefinition"||m.isStartOfExpressionStatement(r))&&m.needsPrecedingSemicolon(d,r);p.report({node:o,loc:m.getFunctionHeadLoc(o,d),messageId:"missingAwait",data:{name:t(m.getFunctionNameWithKind(o))},suggest:[{messageId:"removeAsync",fix:n=>n.replaceTextRange(s,c?";":"")}]})}e=e.upper}return{FunctionDeclaration:l,FunctionExpression:l,ArrowFunctionExpression:l,"FunctionDeclaration:exit":f,"FunctionExpression:exit":f,"ArrowFunctionExpression:exit":f,AwaitExpression(){e&&(e.hasAwait=!0)},ForOfStatement(o){e&&o.await&&(e.hasAwait=!0)},VariableDeclaration(o){e&&o.kind==="await using"&&(e.hasAwait=!0)}}}},Ic}var Pc,VE;function yk(){if(VE)return Pc;VE=1;const{CALL:m,CONSTRUCT:t,ReferenceTracker:p,getStringIfConstant:d}=Mt(),e=Le(),{isValidWithUnicodeFlag:l}=dl();function f(o,r){let u;return o==="v"?u=!r.includes("v"):o==="u"?u=!r.includes("u"):u=!r.includes("u")&&!r.includes("v"),u}return Pc={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Enforce the use of `u` or `v` flag on regular expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-unicode-regexp"},hasSuggestions:!0,messages:{addUFlag:"Add the 'u' flag.",addVFlag:"Add the 'v' flag.",requireUFlag:"Use the 'u' flag.",requireVFlag:"Use the 'v' flag."},schema:[{type:"object",properties:{requireFlag:{enum:["u","v"]}},additionalProperties:!1}]},create(o){const r=o.sourceCode,[{requireFlag:u}]=o.options;return{"Literal[regex]"(s){const a=s.regex.flags||"";f(u,a)&&o.report({messageId:u==="v"?"requireVFlag":"requireUFlag",node:s,suggest:l(o.languageOptions.ecmaVersion,s.regex.pattern,u)?[{fix(n){const i=u??"u",h=r.getText(s),g=h.lastIndexOf("/");if(u){const v=u==="u"?"v":"u";if(h.includes(v,g))return n.replaceText(s,h.slice(0,g)+h.slice(g).replace(v,u))}return n.insertTextAfter(s,i)},messageId:u==="v"?"addVFlag":"addUFlag"}]:null})},Program(s){const a=r.getScope(s),c=new p(a),n={RegExp:{[m]:!0,[t]:!0}};for(const{node:i}of c.iterateGlobalReferences(n)){const[h,g]=i.arguments;if(h&&h.type==="SpreadElement")continue;const v=d(h,a),S=d(g,a);let b=!g;typeof S=="string"&&(b=f(u,S)),b&&o.report({messageId:u==="v"?"requireVFlag":"requireUFlag",node:i,suggest:typeof v=="string"&&l(o.languageOptions.ecmaVersion,v,u)?[{fix(T){const x=u??"u";if(g){if(g.type==="Literal"&&typeof g.value=="string"||g.type==="TemplateLiteral"){const A=r.getText(g),C=u==="u"?"v":"u";return S.includes(C)?g.type==="Literal"&&g.raw.includes("\\")||g.type==="TemplateLiteral"&&(g.expressions.length||g.quasis.some(({value:{raw:w}})=>w.includes("\\")))?null:T.replaceText(g,A.replace(C,x)):T.replaceText(g,[A.slice(0,A.length-1),A.slice(A.length-1)].join(x))}return null}const E=r.getLastToken(i,{skip:1});return T.insertTextAfter(E,e.isCommaToken(E)?` "${x}",`:`, "${x}"`)},messageId:u==="v"?"addVFlag":"addUFlag"}]:null})}}}}},Pc}var Fc,$E;function vk(){return $E||($E=1,Fc={meta:{type:"suggestion",docs:{description:"Require generator functions to contain `yield`",recommended:!0,url:"https://eslint.org/docs/latest/rules/require-yield"},schema:[],messages:{missingYield:"This generator function does not have 'yield'."}},create(m){const t=[];function p(e){e.generator&&t.push(0)}function d(e){if(!e.generator)return;t.pop()===0&&e.body.body.length>0&&m.report({node:e,messageId:"missingYield"})}return{FunctionDeclaration:p,"FunctionDeclaration:exit":d,FunctionExpression:p,"FunctionExpression:exit":d,YieldExpression(){t.length>0&&(t[t.length-1]+=1)}}}}),Fc}var Rc,WE;function Ek(){return WE||(WE=1,Rc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"rest-spread-spacing",url:"https://eslint.style/rules/rest-spread-spacing"}}]},type:"layout",docs:{description:"Enforce spacing between rest and spread operators and their expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/rest-spread-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{unexpectedWhitespace:"Unexpected whitespace after {{type}} operator.",expectedWhitespace:"Expected whitespace after {{type}} operator."}},create(m){const t=m.sourceCode,p=m.options[0]==="always";function d(e){const l=t.getFirstToken(e),f=t.getTokenAfter(l),o=t.isSpaceBetweenTokens(l,f);let r;switch(e.type){case"SpreadElement":r="spread",e.parent.type==="ObjectExpression"&&(r+=" property");break;case"RestElement":r="rest",e.parent.type==="ObjectPattern"&&(r+=" property");break;case"ExperimentalSpreadProperty":r="spread property";break;case"ExperimentalRestProperty":r="rest property";break;default:return}p&&!o?m.report({node:e,loc:l.loc,messageId:"expectedWhitespace",data:{type:r},fix(u){return u.replaceTextRange([l.range[1],f.range[0]]," ")}}):!p&&o&&m.report({node:e,loc:{start:l.loc.end,end:f.loc.start},messageId:"unexpectedWhitespace",data:{type:r},fix(u){return u.removeRange([l.range[1],f.range[0]])}})}return{SpreadElement:d,RestElement:d,ExperimentalSpreadProperty:d,ExperimentalRestProperty:d}}}),Rc}var _c,GE;function Sk(){if(GE)return _c;GE=1;const m=Ur(),t=Le();return _c={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"semi",url:"https://eslint.style/rules/semi"}}]},type:"layout",docs:{description:"Require or disallow semicolons instead of ASI",recommended:!1,url:"https://eslint.org/docs/latest/rules/semi"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["never"]},{type:"object",properties:{beforeStatementContinuationChars:{enum:["always","any","never"]}},additionalProperties:!1}],minItems:0,maxItems:2},{type:"array",items:[{enum:["always"]},{type:"object",properties:{omitLastInOneLineBlock:{type:"boolean"},omitLastInOneLineClassBody:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{missingSemi:"Missing semicolon.",extraSemi:"Extra semicolon."}},create(p){const d=/^[-[(/+`]/u,e=new Set(["get","set","static"]),l=new Set(["*","in","instanceof"]),f=p.options[1],o=p.options[0]==="never",r=!!(f&&f.omitLastInOneLineBlock),u=!!(f&&f.omitLastInOneLineClassBody),s=f&&f.beforeStatementContinuationChars||"any",a=p.sourceCode;function c(C,w){const k=a.getLastToken(C);let R,P,B;w?(R="extraSemi",B=k.loc,P=function(F){return new m(F,a).retainSurroundingTokens(k).remove(k)}):(R="missingSemi",B={start:k.loc.end,end:t.getNextLocation(a,k.loc.end)},P=function(F){return F.insertTextAfter(k,";")}),p.report({node:C,loc:B,messageId:R,fix:P})}function n(C){const w=a.getTokenAfter(C);return!w||t.isClosingBraceToken(w)||t.isSemicolonToken(w)}function i(C){if(!t.isClosingBraceToken(C))return!1;const w=a.getNodeByRangeIndex(C.range[0]);return w.type==="BlockStatement"&&w.parent.type==="ArrowFunctionExpression"}function h(C){if(C.type!=="PropertyDefinition")return!1;if(!C.computed&&C.key.type==="Identifier"&&e.has(C.key.name)&&!(C.static&&C.key.name==="static")&&!C.value)return!0;const k=a.getTokenAfter(C);return l.has(k.value)}function g(C){const w=a.getLastToken(C,1),k=a.getTokenAfter(C);return!!k&&t.isTokenOnSameLine(w,k)}function v(C){const w=C.type;return w==="DoWhileStatement"||w==="BreakStatement"||w==="ContinueStatement"||w==="DebuggerStatement"||w==="ImportDeclaration"||w==="ExportAllDeclaration"?!1:w==="ReturnStatement"?!!C.argument:w==="ExportNamedDeclaration"?!!C.declaration:!i(a.getLastToken(C,1))}function S(C){return!!C&&d.test(C.value)&&C.value!=="++"&&C.value!=="--"}function b(C){return n(a.getLastToken(C))?!0:h(C)||g(C)?!1:C.type!=="PropertyDefinition"&&s==="never"&&!v(C)||!S(a.getTokenAfter(C))}function T(C){const w=C.parent,k=a.getTokenAfter(C);return!k||k.value!=="}"?!1:w.type==="BlockStatement"?w.loc.start.line===w.loc.end.line:w.type==="StaticBlock"?a.getFirstToken(w,{skip:1}).loc.start.line===w.loc.end.line:!1}function x(C){const w=C.parent,k=a.getTokenAfter(C);return!k||k.value!=="}"?!1:w.type==="ClassBody"?w.loc.start.line===w.loc.end.line:!1}function E(C){const w=t.isSemicolonToken(a.getLastToken(C));if(o)w&&b(C)?c(C,!0):!w&&s==="always"&&C.type!=="PropertyDefinition"&&S(a.getTokenAfter(C))&&c(C);else{const k=r&&T(C),R=u&&x(C),P=k||R;w&&P?c(C,!0):!w&&!P&&c(C)}}function A(C){const w=C.parent;(w.type!=="ForStatement"||w.init!==C)&&(!/^For(?:In|Of)Statement/u.test(w.type)||w.left!==C)&&E(C)}return{VariableDeclaration:A,ExpressionStatement:E,ReturnStatement:E,ThrowStatement:E,DoWhileStatement:E,DebuggerStatement:E,BreakStatement:E,ContinueStatement:E,ImportDeclaration:E,ExportAllDeclaration:E,ExportNamedDeclaration(C){C.declaration||E(C)},ExportDefaultDeclaration(C){/(?:Class|Function)Declaration/u.test(C.declaration.type)||E(C)},PropertyDefinition:E}}},_c}var Bc,zE;function bk(){if(zE)return Bc;zE=1;const m=Le();return Bc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"semi-spacing",url:"https://eslint.style/rules/semi-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/semi-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedWhitespaceBefore:"Unexpected whitespace before semicolon.",unexpectedWhitespaceAfter:"Unexpected whitespace after semicolon.",missingWhitespaceBefore:"Missing whitespace before semicolon.",missingWhitespaceAfter:"Missing whitespace after semicolon."}},create(t){const p=t.options[0],d=t.sourceCode;let e=!1,l=!0;typeof p=="object"&&(e=p.before,l=p.after);function f(n){const i=d.getTokenBefore(n);return i&&m.isTokenOnSameLine(i,n)&&d.isSpaceBetweenTokens(i,n)}function o(n){const i=d.getTokenAfter(n);return i&&m.isTokenOnSameLine(n,i)&&d.isSpaceBetweenTokens(n,i)}function r(n){const i=d.getTokenAfter(n);return!(i&&m.isTokenOnSameLine(n,i))}function u(n){const i=d.getTokenBefore(n);return!(i&&m.isTokenOnSameLine(n,i))}function s(n){const i=d.getTokenAfter(n);return i&&m.isClosingBraceToken(i)||m.isClosingParenToken(i)}function a(n,i){if(m.isSemicolonToken(n)){if(f(n)){if(!e){const h=d.getTokenBefore(n),g={start:h.loc.end,end:n.loc.start};t.report({node:i,loc:g,messageId:"unexpectedWhitespaceBefore",fix(v){return v.removeRange([h.range[1],n.range[0]])}})}}else if(e){const h=n.loc;t.report({node:i,loc:h,messageId:"missingWhitespaceBefore",fix(g){return g.insertTextBefore(n," ")}})}if(!u(n)&&!r(n)&&!s(n)){if(o(n)){if(!l){const h=d.getTokenAfter(n),g={start:n.loc.end,end:h.loc.start};t.report({node:i,loc:g,messageId:"unexpectedWhitespaceAfter",fix(v){return v.removeRange([n.range[1],h.range[0]])}})}}else if(l){const h=n.loc;t.report({node:i,loc:h,messageId:"missingWhitespaceAfter",fix(g){return g.insertTextAfter(n," ")}})}}}}function c(n){const i=d.getLastToken(n);a(i,n)}return{VariableDeclaration:c,ExpressionStatement:c,BreakStatement:c,ContinueStatement:c,DebuggerStatement:c,DoWhileStatement:c,ReturnStatement:c,ThrowStatement:c,ImportDeclaration:c,ExportNamedDeclaration:c,ExportAllDeclaration:c,ExportDefaultDeclaration:c,ForStatement(n){n.init&&a(d.getTokenAfter(n.init),n),n.test&&a(d.getTokenAfter(n.test),n)},PropertyDefinition:c}}},Bc}var Lc,HE;function xk(){if(HE)return Lc;HE=1;const m=Le(),t=["BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ImportDeclaration","ReturnStatement","ThrowStatement","VariableDeclaration","PropertyDefinition"].join(",");function p(e){const l=e.type;return l==="BlockStatement"||l==="StaticBlock"||l==="Program"||l==="ClassBody"?e.body:l==="SwitchCase"?e.consequent:null}function d(e){const l=e.parent.type;if(l==="IfStatement"&&e.parent.consequent===e&&e.parent.alternate||l==="DoWhileStatement")return!0;const f=p(e.parent);return f!==null&&f.at(-1)===e}return Lc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"semi-style",url:"https://eslint.style/rules/semi-style"}}]},type:"layout",docs:{description:"Enforce location of semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/semi-style"},schema:[{enum:["last","first"]}],fixable:"whitespace",messages:{expectedSemiColon:"Expected this semicolon to be at {{pos}}."}},create(e){const l=e.sourceCode,f=e.options[0]||"last";function o(r,u){const s=l.getTokenBefore(r),a=l.getTokenAfter(r),c=!s||m.isTokenOnSameLine(s,r),n=!a||m.isTokenOnSameLine(r,a);(u==="last"&&!c||u==="first"&&!n)&&e.report({loc:r.loc,messageId:"expectedSemiColon",data:{pos:u==="last"?"the end of the previous line":"the beginning of the next line"},fix(i){if(s&&a&&l.commentsExistBetween(s,a))return null;const h=s?s.range[1]:r.range[0],g=a?a.range[0]:r.range[1],v=u==="last"?`;
104
- `:`
105
- ;`;return i.replaceTextRange([h,g],v)}})}return{[t](r){if(f==="first"&&d(r))return;const u=l.getLastToken(r);m.isSemicolonToken(u)&&o(u,f)},ForStatement(r){const u=r.init&&l.getTokenAfter(r.init,m.isSemicolonToken),s=r.test&&l.getTokenAfter(r.test,m.isSemicolonToken);u&&o(u,"last"),s&&o(s,"last")}}}},Lc}var Oc,KE;function Ck(){return KE||(KE=1,Oc={meta:{type:"suggestion",defaultOptions:[{allowSeparatedGroups:!1,ignoreCase:!1,ignoreDeclarationSort:!1,ignoreMemberSort:!1,memberSyntaxSortOrder:["none","all","multiple","single"]}],docs:{description:"Enforce sorted `import` declarations within modules",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-imports"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"},memberSyntaxSortOrder:{type:"array",items:{enum:["none","all","multiple","single"]},uniqueItems:!0,minItems:4,maxItems:4},ignoreDeclarationSort:{type:"boolean"},ignoreMemberSort:{type:"boolean"},allowSeparatedGroups:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{sortImportsAlphabetically:"Imports should be sorted alphabetically.",sortMembersAlphabetically:"Member '{{memberName}}' of the import declaration should be sorted alphabetically.",unexpectedSyntaxOrder:"Expected '{{syntaxA}}' syntax before '{{syntaxB}}' syntax."}},create(m){const[{ignoreCase:t,ignoreDeclarationSort:p,ignoreMemberSort:d,memberSyntaxSortOrder:e,allowSeparatedGroups:l}]=m.options,f=m.sourceCode;let o=null;function r(c){return c.specifiers.length===0?"none":c.specifiers[0].type==="ImportNamespaceSpecifier"?"all":c.specifiers.length===1?"single":"multiple"}function u(c){return e.indexOf(r(c))}function s(c){return c.specifiers[0]?c.specifiers[0].local.name:null}function a(c,n){return Math.max(n.loc.start.line-c.loc.end.line-1,0)}return{ImportDeclaration(c){if(!p){if(o&&l&&a(o,c)>0&&(o=null),o){const n=u(c),i=u(o);let h=s(c),g=s(o);t&&(g=g&&g.toLowerCase(),h=h&&h.toLowerCase()),n!==i?n<i&&m.report({node:c,messageId:"unexpectedSyntaxOrder",data:{syntaxA:e[n],syntaxB:e[i]}}):g&&h&&h<g&&m.report({node:c,messageId:"sortImportsAlphabetically"})}o=c}if(!d){const n=c.specifiers.filter(g=>g.type==="ImportSpecifier"),i=t?g=>g.local.name.toLowerCase():g=>g.local.name,h=n.map(i).findIndex((g,v,S)=>S[v-1]>g);h!==-1&&m.report({node:n[h],messageId:"sortMembersAlphabetically",data:{memberName:n[h].local.name},fix(g){return n.some(v=>f.getCommentsBefore(v).length||f.getCommentsAfter(v).length)?null:g.replaceTextRange([n[0].range[0],n.at(-1).range[1]],n.slice().sort((v,S)=>{const b=i(v),T=i(S);return b>T?1:-1}).reduce((v,S,b)=>{const T=b===n.length-1?"":f.getText().slice(n[b].range[1],n[b+1].range[0]);return v+f.getText(S)+T},""))}})}}}}}),Oc}var Nc={exports:{}},XE;function Ak(){if(XE)return Nc.exports;XE=1;var m=function(t,p){var d,e,l=1,f=0,o=0,r=String.alphabet;function u(s,a,c){if(c){for(d=a;c=u(s,d),c<76&&c>65;)++d;return+s.slice(a-1,d)}return c=r&&r.indexOf(s.charAt(a)),c>-1?c+76:(c=s.charCodeAt(a)||0,c<45||c>127?c:c<46?65:c<48?c-1:c<58?c+18:c<65?c-11:c<91?c+11:c<97?c-37:c<123?c+5:c-63)}if((t+="")!=(p+="")){for(;l;)if(e=u(t,f++),l=u(p,o++),e<76&&l<76&&e>66&&l>66&&(e=u(t,f,f),l=u(p,o,f=d),o=d),e!=l)return e<l?-1:1}return 0};try{Nc.exports=m}catch{String.naturalCompare=m}return Nc.exports}var Mc,JE;function wk(){if(JE)return Mc;JE=1;const m=Le(),t=Ak();function p(e){const l=m.getStaticPropertyName(e);return l!==null?l:e.key.name||null}const d={asc(e,l){return e<=l},ascI(e,l){return e.toLowerCase()<=l.toLowerCase()},ascN(e,l){return t(e,l)<=0},ascIN(e,l){return t(e.toLowerCase(),l.toLowerCase())<=0},desc(e,l){return d.asc(l,e)},descI(e,l){return d.ascI(l,e)},descN(e,l){return d.ascN(l,e)},descIN(e,l){return d.ascIN(l,e)}};return Mc={meta:{type:"suggestion",defaultOptions:["asc",{allowLineSeparatedGroups:!1,caseSensitive:!0,ignoreComputedKeys:!1,minKeys:2,natural:!1}],docs:{description:"Require object keys to be sorted",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-keys"},schema:[{enum:["asc","desc"]},{type:"object",properties:{caseSensitive:{type:"boolean"},natural:{type:"boolean"},minKeys:{type:"integer",minimum:2},allowLineSeparatedGroups:{type:"boolean"},ignoreComputedKeys:{type:"boolean"}},additionalProperties:!1}],messages:{sortKeys:"Expected object keys to be in {{natural}}{{insensitive}}{{order}}ending order. '{{thisName}}' should be before '{{prevName}}'."}},create(e){const[l,{caseSensitive:f,natural:o,minKeys:r,allowLineSeparatedGroups:u,ignoreComputedKeys:s}]=e.options,a=!f,c=d[l+(a?"I":"")+(o?"N":"")];let n=null;const i=e.sourceCode;return{ObjectExpression(h){n={upper:n,prevNode:null,prevBlankLine:!1,prevName:null,numKeys:h.properties.length}},"ObjectExpression:exit"(){n=n.upper},SpreadElement(h){h.parent.type==="ObjectExpression"&&(n.prevName=null)},Property(h){if(h.parent.type==="ObjectPattern")return;if(s&&h.computed){n.prevName=null;return}const g=n.prevName,v=n.numKeys,S=p(h),b=n.prevNode&&i.getTokensBetween(n.prevNode,h,{includeComments:!0});let T=n.prevBlankLine;if(b&&(b.forEach((x,E)=>{const A=b[E-1];A&&x.loc.start.line-A.loc.end.line>1&&(T=!0)}),!T&&h.loc.start.line-b.at(-1).loc.end.line>1&&(T=!0),!T&&b[0].loc.start.line-n.prevNode.loc.end.line>1&&(T=!0)),n.prevNode=h,S!==null&&(n.prevName=S),u&&T){n.prevBlankLine=S===null;return}g===null||S===null||v<r||c(g,S)||e.report({node:h,loc:h.key.loc,messageId:"sortKeys",data:{thisName:S,prevName:g,order:l,insensitive:a?"insensitive ":"",natural:o?"natural ":""}})}}}},Mc}var jc,QE;function Tk(){return QE||(QE=1,jc={meta:{type:"suggestion",defaultOptions:[{ignoreCase:!1}],docs:{description:"Require variables within the same declaration block to be sorted",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-vars"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{sortVars:"Variables within the same declaration block should be sorted alphabetically."}},create(m){const[{ignoreCase:t}]=m.options,p=m.sourceCode;return{VariableDeclaration(d){const e=d.declarations.filter(r=>r.id.type==="Identifier"),l=t?r=>r.id.name.toLowerCase():r=>r.id.name,f=e.some(r=>r.init!==null&&r.init.type!=="Literal");let o=!1;e.slice(1).reduce((r,u)=>{const s=l(r);return l(u)<s?(m.report({node:u,messageId:"sortVars",fix(c){return f||o?null:c.replaceTextRange([e[0].range[0],e.at(-1).range[1]],e.slice().sort((n,i)=>{const h=l(n),g=l(i);return h>g?1:-1}).reduce((n,i,h)=>{const g=h===e.length-1?"":p.getText().slice(e[h].range[1],e[h+1].range[0]);return n+p.getText(i)+g},""))}}),o=!0,r):u},e[0])}}}}),jc}var Uc,YE;function kk(){if(YE)return Uc;YE=1;const m=Le();function t(p){const d=p.parent;return p.type==="BlockStatement"&&m.isFunction(d)&&d.body===p}return Uc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-before-blocks",url:"https://eslint.style/rules/space-before-blocks"}}]},type:"layout",docs:{description:"Enforce consistent spacing before blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-before-blocks"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{keywords:{enum:["always","never","off"]},functions:{enum:["always","never","off"]},classes:{enum:["always","never","off"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before opening brace.",missingSpace:"Missing space before opening brace."}},create(p){const d=p.options[0],e=p.sourceCode;let l=!0,f=!0,o=!0,r=!1,u=!1,s=!1;typeof d=="object"?(l=d.functions==="always",f=d.keywords==="always",o=d.classes==="always",r=d.functions==="never",u=d.keywords==="never",s=d.classes==="never"):d==="never"&&(l=!1,f=!1,o=!1,r=!0,u=!0,s=!0);function a(i,h){return m.isArrowToken(i)||m.isKeywordToken(i)&&!t(h)||m.isColonToken(i)&&h.parent&&h.parent.type==="SwitchCase"&&i===m.getSwitchCaseColonToken(h.parent,e)}function c(i){const h=e.getTokenBefore(i);if(h&&!a(h,i)&&m.isTokenOnSameLine(h,i)){const g=e.isSpaceBetweenTokens(h,i);let v,S;t(i)?(v=l,S=r):i.type==="ClassBody"?(v=o,S=s):(v=f,S=u),v&&!g?p.report({node:i,messageId:"missingSpace",fix(b){return b.insertTextBefore(i," ")}}):S&&g&&p.report({node:i,messageId:"unexpectedSpace",fix(b){return b.removeRange([h.range[1],i.range[0]])}})}}function n(i){const h=i.cases;let g;h.length>0?g=e.getTokenBefore(h[0]):g=e.getLastToken(i,1),c(g)}return{BlockStatement:c,ClassBody:c,SwitchStatement:n}}},Uc}var qc,ZE;function Dk(){if(ZE)return qc;ZE=1;const m=Le();return qc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-before-function-paren",url:"https://eslint.style/rules/space-before-function-paren"}}]},type:"layout",docs:{description:"Enforce consistent spacing before `function` definition opening parenthesis",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-before-function-paren"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{anonymous:{enum:["always","never","ignore"]},named:{enum:["always","never","ignore"]},asyncArrow:{enum:["always","never","ignore"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before function parentheses.",missingSpace:"Missing space before function parentheses."}},create(t){const p=t.sourceCode,d=typeof t.options[0]=="string"?t.options[0]:"always",e=typeof t.options[0]=="object"?t.options[0]:{};function l(r){if(r.id)return!0;const u=r.parent;return u.type==="MethodDefinition"||u.type==="Property"&&(u.kind==="get"||u.kind==="set"||u.method)}function f(r){if(r.type==="ArrowFunctionExpression"){if(r.async&&m.isOpeningParenToken(p.getFirstToken(r,{skip:1})))return e.asyncArrow||d}else{if(l(r))return e.named||d;if(!r.generator)return e.anonymous||d}return"ignore"}function o(r){const u=f(r);if(u==="ignore")return;const s=p.getFirstToken(r,m.isOpeningParenToken),a=p.getTokenBefore(s),c=p.isSpaceBetweenTokens(a,s);c&&u==="never"?t.report({node:r,loc:{start:a.loc.end,end:s.loc.start},messageId:"unexpectedSpace",fix(n){const i=p.getCommentsBefore(s);return i.some(h=>h.type==="Line")?null:n.replaceTextRange([a.range[1],s.range[0]],i.reduce((h,g)=>h+p.getText(g),""))}}):!c&&u==="always"&&t.report({node:r,loc:s.loc,messageId:"missingSpace",fix:n=>n.insertTextAfter(a," ")})}return{ArrowFunctionExpression:o,FunctionDeclaration:o,FunctionExpression:o}}},qc}var Vc,eS;function Ik(){if(eS)return Vc;eS=1;const m=Le();return Vc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-in-parens",url:"https://eslint.style/rules/space-in-parens"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside parentheses",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-in-parens"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{exceptions:{type:"array",items:{enum:["{}","[]","()","empty"]},uniqueItems:!0}},additionalProperties:!1}],messages:{missingOpeningSpace:"There must be a space after this paren.",missingClosingSpace:"There must be a space before this paren.",rejectedOpeningSpace:"There should be no space after this paren.",rejectedClosingSpace:"There should be no space before this paren."}},create(t){const p=t.options[0]==="always",d=t.options[1]&&t.options[1].exceptions||[],e={};let l;d.length&&(e.braceException=d.includes("{}"),e.bracketException=d.includes("[]"),e.parenException=d.includes("()"),e.empty=d.includes("empty"));function f(){const i=[],h=[];return e.braceException&&(i.push("{"),h.push("}")),e.bracketException&&(i.push("["),h.push("]")),e.parenException&&(i.push("("),h.push(")")),e.empty&&(i.push(")"),h.push("(")),{openers:i,closers:h}}const o=t.sourceCode;function r(i){return l.openers.includes(i.value)}function u(i){return l.closers.includes(i.value)}function s(i,h){return o.isSpaceBetweenTokens(i,h)||!e.empty&&m.isClosingParenToken(h)?!1:p?!r(h):r(h)}function a(i,h){return!m.isTokenOnSameLine(i,h)||h.type==="Line"||!o.isSpaceBetweenTokens(i,h)?!1:p?r(h):!r(h)}function c(i,h){return o.isSpaceBetweenTokens(i,h)||!e.empty&&m.isOpeningParenToken(i)?!1:p?!u(i):u(i)}function n(i,h){return!m.isTokenOnSameLine(i,h)||!o.isSpaceBetweenTokens(i,h)?!1:p?u(i):!u(i)}return{Program:function(h){l=f();const g=o.tokensAndComments;g.forEach((v,S)=>{const b=g[S-1],T=g[S+1];!m.isOpeningParenToken(v)&&!m.isClosingParenToken(v)||(v.value==="("&&s(v,T)&&t.report({node:h,loc:v.loc,messageId:"missingOpeningSpace",fix(x){return x.insertTextAfter(v," ")}}),v.value==="("&&a(v,T)&&t.report({node:h,loc:{start:v.loc.end,end:T.loc.start},messageId:"rejectedOpeningSpace",fix(x){return x.removeRange([v.range[1],T.range[0]])}}),v.value===")"&&c(b,v)&&t.report({node:h,loc:v.loc,messageId:"missingClosingSpace",fix(x){return x.insertTextBefore(v," ")}}),v.value===")"&&n(b,v)&&t.report({node:h,loc:{start:b.loc.end,end:v.loc.start},messageId:"rejectedClosingSpace",fix(x){return x.removeRange([b.range[1],v.range[0]])}}))})}}}},Vc}var $c,tS;function Pk(){if(tS)return $c;tS=1;const{isEqToken:m}=Le();return $c={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-infix-ops",url:"https://eslint.style/rules/space-infix-ops"}}]},type:"layout",docs:{description:"Require spacing around infix operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-infix-ops"},fixable:"whitespace",schema:[{type:"object",properties:{int32Hint:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{missingSpace:"Operator '{{operator}}' must be spaced."}},create(t){const p=t.options[0]?t.options[0].int32Hint===!0:!1,d=t.sourceCode;function e(u,s,a){const c=d.getFirstTokenBetween(u,s,h=>h.value===a),n=d.getTokenBefore(c),i=d.getTokenAfter(c);return!d.isSpaceBetweenTokens(n,c)||!d.isSpaceBetweenTokens(c,i)?c:null}function l(u,s){t.report({node:u,loc:s.loc,messageId:"missingSpace",data:{operator:s.value},fix(a){const c=d.getTokenBefore(s),n=d.getTokenAfter(s);let i="";return s.range[0]-c.range[1]===0&&(i=" "),i+=s.value,n.range[0]-s.range[1]===0&&(i+=" "),a.replaceText(s,i)}})}function f(u){const s=u.left.typeAnnotation?u.left.typeAnnotation:u.left,a=u.right,c=u.operator||"=",n=e(s,a,c);n&&(p&&d.getText(u).endsWith("|0")||l(u,n))}function o(u){const s=e(u.test,u.consequent,"?"),a=e(u.consequent,u.alternate,":");s&&l(u,s),a&&l(u,a)}function r(u){const s=u.id.typeAnnotation?u.id.typeAnnotation:u.id,a=u.init;if(a){const c=e(s,a,"=");c&&l(u,c)}}return{AssignmentExpression:f,AssignmentPattern:f,BinaryExpression:f,LogicalExpression:f,ConditionalExpression:o,VariableDeclarator:r,PropertyDefinition(u){if(!u.value)return;const s=d.getTokenBefore(u.value,m),a=d.getTokenBefore(s),c=d.getTokenAfter(s);(!d.isSpaceBetweenTokens(a,s)||!d.isSpaceBetweenTokens(s,c))&&l(u,s)}}}},$c}var Wc,rS;function Fk(){if(rS)return Wc;rS=1;const m=Le();return Wc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-unary-ops",url:"https://eslint.style/rules/space-unary-ops"}}]},type:"layout",docs:{description:"Enforce consistent spacing before or after unary operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-unary-ops"},fixable:"whitespace",schema:[{type:"object",properties:{words:{type:"boolean",default:!0},nonwords:{type:"boolean",default:!1},overrides:{type:"object",additionalProperties:{type:"boolean"}}},additionalProperties:!1}],messages:{unexpectedBefore:"Unexpected space before unary operator '{{operator}}'.",unexpectedAfter:"Unexpected space after unary operator '{{operator}}'.",unexpectedAfterWord:"Unexpected space after unary word operator '{{word}}'.",wordOperator:"Unary word operator '{{word}}' must be followed by whitespace.",operator:"Unary operator '{{operator}}' must be followed by whitespace.",beforeUnaryExpressions:"Space is required before unary expressions '{{token}}'."}},create(t){const p=t.options[0]||{words:!0,nonwords:!1},d=t.sourceCode;function e(h){return h&&h.type==="UnaryExpression"&&h.argument.operator==="!"&&h.argument&&h.argument.type==="UnaryExpression"&&h.argument.operator==="!"}function l(h){return p.overrides&&Object.hasOwn(p.overrides,h)}function f(h){return p.overrides[h]}function o(h,g,v,S){v.range[0]===g.range[1]&&t.report({node:h,messageId:"wordOperator",data:{word:S},fix(b){return b.insertTextAfter(g," ")}})}function r(h,g,v,S){m.canTokensBeAdjacent(g,v)&&v.range[0]>g.range[1]&&t.report({node:h,messageId:"unexpectedAfterWord",data:{word:S},fix(b){return b.removeRange([g.range[1],v.range[0]])}})}function u(h,g,v,S){l(S)?f(S)?o(h,g,v,S):r(h,g,v,S):p.words?o(h,g,v,S):r(h,g,v,S)}function s(h){const g=d.getFirstTokens(h,3),v="yield";!h.argument||h.delegate||u(h,g[0],g[1],v)}function a(h){const g=d.getFirstTokens(h,3);u(h,g[0],g[1],"await")}function c(h,g,v){if(h.prefix){if(e(h))return;g.range[1]===v.range[0]&&t.report({node:h,messageId:"operator",data:{operator:g.value},fix(S){return S.insertTextAfter(g," ")}})}else g.range[1]===v.range[0]&&t.report({node:h,messageId:"beforeUnaryExpressions",data:{token:v.value},fix(S){return S.insertTextBefore(v," ")}})}function n(h,g,v){h.prefix?v.range[0]>g.range[1]&&t.report({node:h,messageId:"unexpectedAfter",data:{operator:g.value},fix(S){return m.canTokensBeAdjacent(g,v)?S.removeRange([g.range[1],v.range[0]]):null}}):v.range[0]>g.range[1]&&t.report({node:h,messageId:"unexpectedBefore",data:{operator:v.value},fix(S){return S.removeRange([g.range[1],v.range[0]])}})}function i(h){const g=h.type==="UpdateExpression"&&!h.prefix?d.getLastTokens(h,2):d.getFirstTokens(h,2),v=g[0],S=g[1];if((h.type==="NewExpression"||h.prefix)&&v.type==="Keyword"){u(h,v,S,v.value);return}const b=h.prefix?g[0].value:g[1].value;l(b)?f(b)?c(h,v,S):n(h,v,S):p.nonwords?c(h,v,S):n(h,v,S)}return{UnaryExpression:i,UpdateExpression:i,NewExpression:i,YieldExpression:s,AwaitExpression:a}}},Wc}var Gc,nS;function Rk(){if(nS)return Gc;nS=1;const m=tn(),t=Le();function p(r){return`(?:${m(r)})`}function d(r){return`${p(r)}+`}function e(r){return r.includes("*")?r:r.concat("*")}function l(r){let u="";return r.length===0?u+="\\s":(u+="(?:\\s|",r.length===1?u+=d(r[0]):(u+="(?:",u+=r.map(d).join("|"),u+=")"),u+=`(?:$|[${Array.from(t.LINEBREAKS).join("")}]))`),u}function f(r,u){let s="^";return r.length===1?s+=p(r[0]):(s+="(?:",s+=r.map(p).join("|"),s+=")"),s+="?",s+=l(u),new RegExp(s,"u")}function o(r){const u=`^(${r.map(p).join("|")})?[ ]+`;return new RegExp(u,"u")}return Gc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"spaced-comment",url:"https://eslint.style/rules/spaced-comment"}}]},type:"suggestion",docs:{description:"Enforce consistent spacing after the `//` or `/*` in a comment",recommended:!1,url:"https://eslint.org/docs/latest/rules/spaced-comment"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}},line:{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}}},additionalProperties:!1},block:{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}},balanced:{type:"boolean",default:!1}},additionalProperties:!1}},additionalProperties:!1}],messages:{unexpectedSpaceAfterMarker:"Unexpected space or tab after marker ({{refChar}}) in comment.",expectedExceptionAfter:"Expected exception block, space or tab after '{{refChar}}' in comment.",unexpectedSpaceBefore:"Unexpected space or tab before '*/' in comment.",unexpectedSpaceAfter:"Unexpected space or tab after '{{refChar}}' in comment.",expectedSpaceBefore:"Expected space or tab before '*/' in comment.",expectedSpaceAfter:"Expected space or tab after '{{refChar}}' in comment."}},create(r){const u=r.sourceCode,s=r.options[0]!=="never",a=r.options[1]||{},c=a.block&&a.block.balanced,n=["block","line"].reduce((v,S)=>{const b=e(a[S]&&a[S].markers||a.markers||[]),T=a[S]&&a[S].exceptions||a.exceptions||[],x="[ ]+$";return v[S]={beginRegex:s?f(b,T):o(b),endRegex:c&&s?new RegExp(`${l(T)}$`,"u"):new RegExp(x,"u"),hasExceptions:T.length>0,captureMarker:new RegExp(`^(${b.map(p).join("|")})`,"u"),markers:new Set(b)},v},{});function i(v,S,b,T){const x=v.type.toLowerCase(),E=x==="block"?"/*":"//";r.report({node:v,fix(A){const C=v.range[0];let w=C+2;return s?(b&&(w+=b[0].length),A.insertTextAfterRange([C,w]," ")):(w+=b[0].length,A.replaceTextRange([C,w],E+(b[1]?b[1]:"")))},messageId:S,data:{refChar:T}})}function h(v,S,b){r.report({node:v,fix(T){if(s)return T.insertTextAfterRange([v.range[0],v.range[1]-2]," ");const x=v.range[1]-2,E=x-b[0].length;return T.replaceTextRange([E,x],"")},messageId:S})}function g(v){const S=v.type.toLowerCase(),b=n[S],T=S==="block"?"/*":"//";if(v.value.length===0||b.markers.has(v.value))return;const x=b.beginRegex.exec(v.value),E=b.endRegex.exec(v.value);if(s){if(!x){const A=b.captureMarker.exec(v.value),C=A?T+A[0]:T;b.hasExceptions?i(v,"expectedExceptionAfter",A,C):i(v,"expectedSpaceAfter",A,C)}c&&S==="block"&&!E&&h(v,"expectedSpaceBefore")}else x&&(x[1]?i(v,"unexpectedSpaceAfterMarker",x,x[1]):i(v,"unexpectedSpaceAfter",x,T)),c&&S==="block"&&E&&h(v,"unexpectedSpaceBefore",E)}return{Program(){u.getAllComments().filter(S=>S.type!=="Shebang").forEach(g)}}}},Gc}var zc,sS;function _k(){if(sS)return zc;sS=1;const m=Le();function t(e){const l=[];for(let f=0;f<e.length;f++){const o=e[f];if(o.type==="ExpressionStatement"&&o.expression.type==="Literal"&&o.expression.value==="use strict")l[f]=o;else break}return l}function p(e){return e.type==="Identifier"}function d(e){return e.every(p)}return zc={meta:{type:"suggestion",defaultOptions:["safe"],docs:{description:"Require or disallow strict mode directives",recommended:!1,url:"https://eslint.org/docs/latest/rules/strict"},schema:[{enum:["never","global","function","safe"]}],fixable:"code",messages:{function:"Use the function form of 'use strict'.",global:"Use the global form of 'use strict'.",multiple:"Multiple 'use strict' directives.",never:"Strict mode is not permitted.",unnecessary:"Unnecessary 'use strict' directive.",module:"'use strict' is unnecessary inside of modules.",implied:"'use strict' is unnecessary when implied strict mode is enabled.",unnecessaryInClasses:"'use strict' is unnecessary inside of classes.",nonSimpleParameterList:"'use strict' directive inside a function with non-simple parameter list throws a syntax error since ES2016.",wrap:"Wrap {{name}} in a function with 'use strict' directive."}},create(e){const l=e.languageOptions.parserOptions.ecmaFeatures||{},f=[],o=[];let[r]=e.options;l.impliedStrict?r="implied":r==="safe"&&(r=l.globalReturn||e.languageOptions.sourceType==="commonjs"?"global":"function");function u(S){return S==="multiple"||S==="unnecessary"||S==="module"||S==="implied"||S==="unnecessaryInClasses"}function s(S){return b=>b.remove(S)}function a(S,b,T,x,E){S.slice(b,T).forEach(A=>{e.report({node:A,messageId:x,fix:E?s(A):null})})}function c(S,b,T){a(S,0,S.length,b,T)}function n(S,b,T){a(S,1,S.length,b,T)}function i(S,b){const T=o.length>0,x=f.length===0&&o.length===0,E=f.length>0&&f.at(-1),A=b.length>0;A?(d(S.params)?E?e.report({node:b[0],messageId:"unnecessary",fix:s(b[0])}):T&&e.report({node:b[0],messageId:"unnecessaryInClasses",fix:s(b[0])}):e.report({node:b[0],messageId:"nonSimpleParameterList"}),n(b,"multiple",!0)):x&&(d(S.params)?e.report({node:S,messageId:"function"}):e.report({node:S,messageId:"wrap",data:{name:m.getFunctionNameWithKind(S)}})),f.push(E||A)}function h(){f.pop()}function g(S){const b=S.body.type==="BlockStatement",T=b?t(S.body.body):[];r==="function"?i(S,T):T.length>0&&(d(S.params)?c(T,r,u(r)):(e.report({node:T[0],messageId:"nonSimpleParameterList"}),n(T,"multiple",!0)))}const v={Program(S){const b=t(S.body);S.sourceType==="module"&&(r="module"),r==="global"?(S.body.length>0&&b.length===0&&e.report({node:S,messageId:"global"}),n(b,"multiple",!0)):c(b,r,u(r))},FunctionDeclaration:g,FunctionExpression:g,ArrowFunctionExpression:g};return r==="function"&&Object.assign(v,{ClassBody(){o.push(!0)},"ClassBody:exit"(){o.pop()},"FunctionDeclaration:exit":h,"FunctionExpression:exit":h,"ArrowFunctionExpression:exit":h}),v}},zc}var Hc,aS;function Bk(){if(aS)return Hc;aS=1;const m=Le();return Hc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"switch-colon-spacing",url:"https://eslint.style/rules/switch-colon-spacing"}}]},type:"layout",docs:{description:"Enforce spacing around colons of switch statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/switch-colon-spacing"},schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],fixable:"whitespace",messages:{expectedBefore:"Expected space(s) before this colon.",expectedAfter:"Expected space(s) after this colon.",unexpectedBefore:"Unexpected space(s) before this colon.",unexpectedAfter:"Unexpected space(s) after this colon."}},create(t){const p=t.sourceCode,d=t.options[0]||{},e=d.before===!0,l=d.after!==!1;function f(u,s,a){return m.isClosingBraceToken(s)||!m.isTokenOnSameLine(u,s)||p.isSpaceBetweenTokens(u,s)===a}function o(u,s){return p.getFirstTokenBetween(u,s,{includeComments:!0,filter:m.isCommentToken})!==null}function r(u,s,a,c){return o(s,a)?null:c?u.insertTextAfter(s," "):u.removeRange([s.range[1],a.range[0]])}return{SwitchCase(u){const s=m.getSwitchCaseColonToken(u,p),a=p.getTokenBefore(s),c=p.getTokenAfter(s);f(a,s,e)||t.report({node:u,loc:s.loc,messageId:e?"expectedBefore":"unexpectedBefore",fix:n=>r(n,a,s,e)}),f(s,c,l)||t.report({node:u,loc:s.loc,messageId:l?"expectedAfter":"unexpectedAfter",fix:n=>r(n,s,c,l)})}}}},Hc}var Kc,iS;function Lk(){if(iS)return Kc;iS=1;const m=Le();return Kc={meta:{type:"suggestion",docs:{description:"Require symbol descriptions",recommended:!1,url:"https://eslint.org/docs/latest/rules/symbol-description"},fixable:null,schema:[],messages:{expected:"Expected Symbol to have a description."}},create(t){const p=t.sourceCode;function d(e){e.arguments.length===0&&t.report({node:e,messageId:"expected"})}return{"Program:exit"(e){const l=p.getScope(e),f=m.getVariableByName(l,"Symbol");f&&f.defs.length===0&&f.references.forEach(o=>{const r=o.identifier;m.isCallee(r)&&d(r.parent)})}}}},Kc}var Xc,oS;function Ok(){if(oS)return Xc;oS=1;const m=Le();return Xc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"template-curly-spacing",url:"https://eslint.style/rules/template-curly-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing around embedded expressions of template strings",recommended:!1,url:"https://eslint.org/docs/latest/rules/template-curly-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{expectedBefore:"Expected space(s) before '}'.",expectedAfter:"Expected space(s) after '${'.",unexpectedBefore:"Unexpected space(s) before '}'.",unexpectedAfter:"Unexpected space(s) after '${'."}},create(t){const p=t.sourceCode,d=t.options[0]==="always";function e(f){if(!f.value.startsWith("}"))return;const o=p.getTokenBefore(f,{includeComments:!0}),r=p.isSpaceBetween(o,f);m.isTokenOnSameLine(o,f)&&(d&&!r&&t.report({loc:{start:f.loc.start,end:{line:f.loc.start.line,column:f.loc.start.column+1}},messageId:"expectedBefore",fix:u=>u.insertTextBefore(f," ")}),!d&&r&&t.report({loc:{start:o.loc.end,end:f.loc.start},messageId:"unexpectedBefore",fix:u=>u.removeRange([o.range[1],f.range[0]])}))}function l(f){if(!f.value.endsWith("${"))return;const o=p.getTokenAfter(f,{includeComments:!0}),r=p.isSpaceBetween(f,o);m.isTokenOnSameLine(f,o)&&(d&&!r&&t.report({loc:{start:{line:f.loc.end.line,column:f.loc.end.column-2},end:f.loc.end},messageId:"expectedAfter",fix:u=>u.insertTextAfter(f," ")}),!d&&r&&t.report({loc:{start:f.loc.end,end:o.loc.start},messageId:"unexpectedAfter",fix:u=>u.removeRange([f.range[1],o.range[0]])}))}return{TemplateElement(f){const o=p.getFirstToken(f);e(o),l(o)}}}},Xc}var Jc,lS;function Nk(){return lS||(lS=1,Jc={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"template-tag-spacing",url:"https://eslint.style/rules/template-tag-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing between template tags and their literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/template-tag-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{unexpected:"Unexpected space between template tag and template literal.",missing:"Missing space between template tag and template literal."}},create(m){const t=m.options[0]!=="always",p=m.sourceCode;function d(e){const l=p.getTokenBefore(e.quasi),f=p.getFirstToken(e.quasi),o=p.isSpaceBetweenTokens(l,f);t&&o?m.report({node:e,loc:{start:l.loc.end,end:f.loc.start},messageId:"unexpected",fix(r){const u=p.getCommentsBefore(e.quasi);return u.some(s=>s.type==="Line")?null:r.replaceTextRange([l.range[1],f.range[0]],u.reduce((s,a)=>s+p.getText(a),""))}}):!t&&!o&&m.report({node:e,loc:{start:e.loc.start,end:f.loc.start},messageId:"missing",fix(r){return r.insertTextAfter(l," ")}})}return{TaggedTemplateExpression:d}}}),Jc}var Qc,uS;function Mk(){return uS||(uS=1,Qc={meta:{type:"layout",defaultOptions:["never"],docs:{description:"Require or disallow Unicode byte order mark (BOM)",recommended:!1,url:"https://eslint.org/docs/latest/rules/unicode-bom"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{expected:"Expected Unicode BOM (Byte Order Mark).",unexpected:"Unexpected Unicode BOM (Byte Order Mark)."}},create(m){return{Program:function(p){const d=m.sourceCode,e={column:0,line:1},[l]=m.options;!d.hasBOM&&l==="always"?m.report({node:p,loc:e,messageId:"expected",fix(f){return f.insertTextBeforeRange([0,1],"\uFEFF")}}):d.hasBOM&&l==="never"&&m.report({node:p,loc:e,messageId:"unexpected",fix(f){return f.removeRange([-1,0])}})}}}}),Qc}var Yc,cS;function jk(){if(cS)return Yc;cS=1;const m=Le();function t(p){if(!p)return!1;const d=p.type==="SequenceExpression"?p.expressions.at(-1):p;return m.isSpecificId(d,"NaN")||m.isSpecificMemberAccess(d,"Number","NaN")}return Yc={meta:{hasSuggestions:!0,type:"problem",docs:{description:"Require calls to `isNaN()` when checking for `NaN`",recommended:!0,url:"https://eslint.org/docs/latest/rules/use-isnan"},schema:[{type:"object",properties:{enforceForSwitchCase:{type:"boolean"},enforceForIndexOf:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{enforceForIndexOf:!1,enforceForSwitchCase:!0}],messages:{comparisonWithNaN:"Use the isNaN function to compare with NaN.",switchNaN:"'switch(NaN)' can never match a case clause. Use Number.isNaN instead of the switch.",caseNaN:"'case NaN' can never match. Use Number.isNaN before the switch.",indexOfNaN:"Array prototype method '{{ methodName }}' cannot find NaN.",replaceWithIsNaN:"Replace with Number.isNaN.",replaceWithCastingAndIsNaN:"Replace with Number.isNaN and cast to a Number.",replaceWithFindIndex:"Replace with Array.prototype.{{ methodName }}."}},create(p){const[{enforceForIndexOf:d,enforceForSwitchCase:e}]=p.options,l=p.sourceCode,f=new Set(["==","===","!=","!=="]),o=new Set(["==","!="]);function r(n,i){return h=>{const g=t(n.left)?n.right:n.left,v=g.type==="SequenceExpression",b=n.operator[0]==="!"?"!":"";let T=l.getText(g);v&&(T=`(${T})`);const x=i(T);return h.replaceText(n,`${b}${x}`)}}function u(n){if(/^(?:[<>]|[!=]=)=?$/u.test(n.operator)&&(t(n.left)||t(n.right))){const i=[],g=(t(n.left)?n.left:n.right).type==="SequenceExpression",v=f.has(n.operator)&&!g,S=o.has(n.operator);v&&(i.push({messageId:"replaceWithIsNaN",fix:r(n,b=>`Number.isNaN(${b})`)}),S&&i.push({messageId:"replaceWithCastingAndIsNaN",fix:r(n,b=>`Number.isNaN(Number(${b}))`)})),p.report({node:n,messageId:"comparisonWithNaN",suggest:i})}}function s(n){t(n.discriminant)&&p.report({node:n,messageId:"switchNaN"});for(const i of n.cases)t(i.test)&&p.report({node:i,messageId:"caseNaN"})}function a(n){const i=m.skipChainExpression(n.callee);if(i.type==="MemberExpression"){const h=m.getStaticPropertyName(i);if((h==="indexOf"||h==="lastIndexOf")&&n.arguments.length<=2&&t(n.arguments[0])){const g=n.arguments[0].type!=="SequenceExpression"&&!n.arguments[1],v=[];if(g){const S=i.computed,b=h==="indexOf"?"findIndex":"findLastIndex",T=S?`"${b}"`:b;v.push({messageId:"replaceWithFindIndex",data:{methodName:b},fix:x=>[x.replaceText(i.property,T),x.replaceText(n.arguments[0],"Number.isNaN")]})}p.report({node:n,messageId:"indexOfNaN",data:{methodName:h},suggest:v})}}}const c={BinaryExpression:u};return e&&(c.SwitchStatement=s),d&&(c.CallExpression=a),c}},Yc}var Zc,fS;function Uk(){if(fS)return Zc;fS=1;const m=Le();return Zc={meta:{type:"problem",defaultOptions:[{requireStringLiterals:!1}],docs:{description:"Enforce comparing `typeof` expressions against valid strings",recommended:!0,url:"https://eslint.org/docs/latest/rules/valid-typeof"},hasSuggestions:!0,schema:[{type:"object",properties:{requireStringLiterals:{type:"boolean"}},additionalProperties:!1}],messages:{invalidValue:"Invalid typeof comparison value.",notString:"Typeof comparisons should be to string literals.",suggestString:'Use `"{{type}}"` instead of `{{type}}`.'}},create(t){const p=new Set(["symbol","undefined","object","boolean","number","string","function","bigint"]),d=new Set(["==","===","!=","!=="]),e=t.sourceCode,[{requireStringLiterals:l}]=t.options;let f;function o(u){const s=f.set.get(u.name);return s&&s.defs.length===0&&s.references.some(a=>a.identifier===u)}function r(u){return u.type==="UnaryExpression"&&u.operator==="typeof"}return{Program(u){f=e.getScope(u)},UnaryExpression(u){if(r(u)){const{parent:s}=u;if(s.type==="BinaryExpression"&&d.has(s.operator)){const a=s.left===u?s.right:s.left;if(a.type==="Literal"||m.isStaticTemplateLiteral(a)){const c=a.type==="Literal"?a.value:a.quasis[0].value.cooked;p.has(c)||t.report({node:a,messageId:"invalidValue"})}else a.type==="Identifier"&&a.name==="undefined"&&o(a)?t.report({node:a,messageId:l?"notString":"invalidValue",suggest:[{messageId:"suggestString",data:{type:"undefined"},fix(c){return c.replaceText(a,'"undefined"')}}]}):l&&!r(a)&&t.report({node:a,messageId:"notString"})}}}}}},Zc}var ef,pS;function qk(){return pS||(pS=1,ef={meta:{type:"suggestion",docs:{description:"Require `var` declarations be placed at the top of their containing scope",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/vars-on-top"},schema:[],messages:{top:"All 'var' declarations must be at the top of the function scope."}},create(m){function t(o){return o.type==="ExpressionStatement"&&o.expression.type==="Literal"&&typeof o.expression.value=="string"}function p(o){return o.type==="ImportDeclaration"||o.type==="ImportSpecifier"||o.type==="ImportDefaultSpecifier"||o.type==="ImportNamespaceSpecifier"}function d(o){return o.type==="VariableDeclaration"||o.type==="ExportNamedDeclaration"&&o.declaration&&o.declaration.type==="VariableDeclaration"}function e(o,r){const u=r.length;let s=0;if(o.parent.type!=="StaticBlock")for(;s<u&&!(!t(r[s])&&!p(r[s]));++s);for(;s<u;++s){if(!d(r[s]))return!1;if(r[s]===o)return!0}return!1}function l(o,r){e(o,r.body)||m.report({node:o,messageId:"top"})}function f(o){const{parent:r}=o;r.type==="BlockStatement"&&/Function/u.test(r.parent.type)&&e(o,r.body)||r.type==="StaticBlock"&&e(o,r.body)||m.report({node:o,messageId:"top"})}return{"VariableDeclaration[kind='var']"(o){o.parent.type==="ExportNamedDeclaration"?l(o.parent,o.parent.parent):o.parent.type==="Program"?l(o,o.parent):f(o)}}}}),ef}var tf,dS;function Vk(){if(dS)return tf;dS=1;const m=Le(),t=Mt();function p(d){const e=d.parent.type==="ChainExpression"?d.parent:d;return e.parent.type==="NewExpression"&&e.parent.callee===e}return tf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"wrap-iife",url:"https://eslint.style/rules/wrap-iife"}}]},type:"layout",docs:{description:"Require parentheses around immediate `function` invocations",recommended:!1,url:"https://eslint.org/docs/latest/rules/wrap-iife"},schema:[{enum:["outside","inside","any"]},{type:"object",properties:{functionPrototypeMethods:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"code",messages:{wrapInvocation:"Wrap an immediate function invocation in parentheses.",wrapExpression:"Wrap only the function expression in parens.",moveInvocation:"Move the invocation into the parens that contain the function."}},create(d){const e=d.options[0]||"outside",l=d.options[1]&&d.options[1].functionPrototypeMethods,f=d.sourceCode;function o(s){return m.isParenthesised(f,s)}function r(s){return t.isParenthesized(1,s,f)}function u(s){const a=m.skipChainExpression(s.callee);return a.type==="FunctionExpression"?a:l&&a.type==="MemberExpression"&&a.object.type==="FunctionExpression"&&(m.getStaticPropertyName(a)==="call"||m.getStaticPropertyName(a)==="apply")?a.object:null}return{CallExpression(s){const a=u(s);if(!a)return;const c=o(s),n=o(a);!c&&!n?d.report({node:s,messageId:"wrapInvocation",fix(i){const h=e==="inside"?a:s;return i.replaceText(h,`(${f.getText(h)})`)}}):e==="inside"&&!n?d.report({node:s,messageId:"wrapExpression",fix(i){if(r(s)&&!p(s)){const h=f.getTokenAfter(s);return i.replaceTextRange([a.range[1],h.range[1]],`)${f.getText().slice(a.range[1],h.range[0])}`)}return i.replaceText(a,`(${f.getText(a)})`)}}):e==="outside"&&!c&&d.report({node:s,messageId:"moveInvocation",fix(i){const h=f.getTokenAfter(a);return i.replaceTextRange([h.range[0],s.range[1]],`${f.getText().slice(h.range[1],s.range[1])})`)}})}}}},tf}var rf,mS;function $k(){return mS||(mS=1,rf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"wrap-regex",url:"https://eslint.style/rules/wrap-regex"}}]},type:"layout",docs:{description:"Require parenthesis around regex literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/wrap-regex"},schema:[],fixable:"code",messages:{requireParens:"Wrap the regexp literal in parens to disambiguate the slash."}},create(m){const t=m.sourceCode;return{Literal(p){if(t.getFirstToken(p).type==="RegularExpression"){const l=t.getTokenBefore(p),f=t.getTokenAfter(p),{parent:o}=p;o.type==="MemberExpression"&&o.object===p&&!(l&&l.value==="("&&f&&f.value===")")&&m.report({node:p,messageId:"requireParens",fix:r=>r.replaceText(p,`(${t.getText(p)})`)})}}}}}),rf}var nf,hS;function Wk(){return hS||(hS=1,nf={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"yield-star-spacing",url:"https://eslint.style/rules/yield-star-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing around the `*` in `yield*` expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/yield-star-spacing"},fixable:"whitespace",schema:[{oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(m){const t=m.sourceCode,p=function(l){return!l||typeof l=="string"?{before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}}[l||"after"]:l}(m.options[0]);function d(l,f,o){if(t.isSpaceBetweenTokens(f,o)!==p[l]){const r=f.value==="*",u=p[l],s=r?f:o;let a;u?a=l==="before"?"missingBefore":"missingAfter":a=l==="before"?"unexpectedBefore":"unexpectedAfter",m.report({node:s,messageId:a,fix(c){return u?r?c.insertTextAfter(s," "):c.insertTextBefore(s," "):c.removeRange([f.range[1],o.range[0]])}})}}function e(l){if(!l.delegate)return;const f=t.getFirstTokens(l,3),o=f[0],r=f[1],u=f[2];d("before",o,r),d("after",r,u)}return{YieldExpression:e}}}),nf}var sf,gS;function Gk(){if(gS)return sf;gS=1;const m=Le();function t(o){return/^(?:==|===|!=|!==|<|>|<=|>=)$/u.test(o)}function p(o){return/^(?:==|===)$/u.test(o)}function d(o){return["<","<="].includes(o)}function e(o){return o.type==="UnaryExpression"&&o.operator==="-"&&o.prefix&&m.isNumericLiteral(o.argument)}function l(o){return e(o)||m.isStaticTemplateLiteral(o)}function f(o){return o.type==="Literal"?o:e(o)?{type:"Literal",value:-o.argument.value,raw:`-${o.argument.value}`}:m.isStaticTemplateLiteral(o)?{type:"Literal",value:o.quasis[0].value.cooked,raw:o.quasis[0].value.raw}:null}return sf={meta:{type:"suggestion",defaultOptions:["never",{exceptRange:!1,onlyEquality:!1}],docs:{description:'Require or disallow "Yoda" conditions',recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/yoda"},schema:[{enum:["always","never"]},{type:"object",properties:{exceptRange:{type:"boolean"},onlyEquality:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{expected:"Expected literal to be on the {{expectedSide}} side of {{operator}}."}},create(o){const[r,{exceptRange:u,onlyEquality:s}]=o.options,a=r==="always",c=o.sourceCode;function n(g){const v=g.left,S=g.right;function b(){if(g.operator==="&&"&&m.isSameReference(v.right,S.left)){const E=f(v.left),A=f(S.right);if(E===null&&A===null)return!1;if(A===null||E===null||E.value<=A.value)return!0}return!1}function T(){if(g.operator==="||"&&m.isSameReference(v.left,S.right)){const E=f(v.right),A=f(S.left);if(E===null&&A===null)return!1;if(A===null||E===null||E.value<=A.value)return!0}return!1}function x(){return m.isParenthesised(c,g)}return g.type==="LogicalExpression"&&v.type==="BinaryExpression"&&S.type==="BinaryExpression"&&d(v.operator)&&d(S.operator)&&(b()||T())&&x()}const i={"===":"===","!==":"!==","==":"==","!=":"!=","<":">",">":"<","<=":">=",">=":"<="};function h(g){const v=c.getFirstTokenBetween(g.left,g.right,B=>B.value===g.operator),S=c.getTokenBefore(v),b=c.getTokenAfter(v),T=c.getText(),x=T.slice(g.range[0],S.range[1]),E=T.slice(S.range[1],v.range[0]),A=T.slice(v.range[1],b.range[0]),C=T.slice(b.range[0],g.range[1]),w=c.getTokenBefore(g),k=c.getTokenAfter(g);let R="",P="";return w&&w.range[1]===g.range[0]&&!m.canTokensBeAdjacent(w,b)&&(R=" "),k&&g.range[1]===k.range[0]&&!m.canTokensBeAdjacent(S,k)&&(P=" "),R+C+E+i[v.value]+A+x+P}return{BinaryExpression(g){const v=a?g.left:g.right,S=a?g.right:g.left;(S.type==="Literal"||l(S))&&!(v.type==="Literal"||l(v))&&!(!p(g.operator)&&s)&&t(g.operator)&&!(u&&n(g.parent))&&o.report({node:g,messageId:"expected",data:{operator:g.operator,expectedSide:a?"left":"right"},fix:b=>b.replaceText(g,h(g))})}}}},sf}var af,yS;function vS(){if(yS)return af;yS=1;const{LazyLoadingRuleMap:m}=mC();return af=new m(Object.entries({"accessor-pairs":()=>yC(),"array-bracket-newline":()=>vC(),"array-bracket-spacing":()=>EC(),"array-callback-return":()=>SC(),"array-element-newline":()=>bC(),"arrow-body-style":()=>xC(),"arrow-parens":()=>CC(),"arrow-spacing":()=>AC(),"block-scoped-var":()=>wC(),"block-spacing":()=>TC(),"brace-style":()=>kC(),"callback-return":()=>DC(),camelcase:()=>IC(),"capitalized-comments":()=>PC(),"class-methods-use-this":()=>FC(),"comma-dangle":()=>RC(),"comma-spacing":()=>_C(),"comma-style":()=>BC(),complexity:()=>LC(),"computed-property-spacing":()=>OC(),"consistent-return":()=>NC(),"consistent-this":()=>MC(),"constructor-super":()=>jC(),curly:()=>UC(),"default-case":()=>qC(),"default-case-last":()=>VC(),"default-param-last":()=>$C(),"dot-location":()=>WC(),"dot-notation":()=>GC(),"eol-last":()=>zC(),eqeqeq:()=>HC(),"for-direction":()=>KC(),"func-call-spacing":()=>XC(),"func-name-matching":()=>JC(),"func-names":()=>QC(),"func-style":()=>YC(),"function-call-argument-newline":()=>ZC(),"function-paren-newline":()=>e1(),"generator-star-spacing":()=>t1(),"getter-return":()=>r1(),"global-require":()=>n1(),"grouped-accessor-pairs":()=>s1(),"guard-for-in":()=>a1(),"handle-callback-err":()=>i1(),"id-blacklist":()=>o1(),"id-denylist":()=>l1(),"id-length":()=>u1(),"id-match":()=>c1(),"implicit-arrow-linebreak":()=>f1(),indent:()=>p1(),"indent-legacy":()=>d1(),"init-declarations":()=>m1(),"jsx-quotes":()=>h1(),"key-spacing":()=>g1(),"keyword-spacing":()=>y1(),"line-comment-position":()=>v1(),"linebreak-style":()=>E1(),"lines-around-comment":()=>S1(),"lines-around-directive":()=>b1(),"lines-between-class-members":()=>x1(),"logical-assignment-operators":()=>C1(),"max-classes-per-file":()=>A1(),"max-depth":()=>w1(),"max-len":()=>T1(),"max-lines":()=>k1(),"max-lines-per-function":()=>D1(),"max-nested-callbacks":()=>I1(),"max-params":()=>P1(),"max-statements":()=>F1(),"max-statements-per-line":()=>R1(),"multiline-comment-style":()=>_1(),"multiline-ternary":()=>B1(),"new-cap":()=>L1(),"new-parens":()=>O1(),"newline-after-var":()=>N1(),"newline-before-return":()=>M1(),"newline-per-chained-call":()=>j1(),"no-alert":()=>U1(),"no-array-constructor":()=>q1(),"no-async-promise-executor":()=>V1(),"no-await-in-loop":()=>$1(),"no-bitwise":()=>W1(),"no-buffer-constructor":()=>G1(),"no-caller":()=>z1(),"no-case-declarations":()=>H1(),"no-catch-shadow":()=>K1(),"no-class-assign":()=>X1(),"no-compare-neg-zero":()=>J1(),"no-cond-assign":()=>Q1(),"no-confusing-arrow":()=>Y1(),"no-console":()=>Z1(),"no-const-assign":()=>eA(),"no-constant-binary-expression":()=>tA(),"no-constant-condition":()=>rA(),"no-constructor-return":()=>nA(),"no-continue":()=>sA(),"no-control-regex":()=>aA(),"no-debugger":()=>iA(),"no-delete-var":()=>oA(),"no-div-regex":()=>lA(),"no-dupe-args":()=>uA(),"no-dupe-class-members":()=>cA(),"no-dupe-else-if":()=>fA(),"no-dupe-keys":()=>pA(),"no-duplicate-case":()=>dA(),"no-duplicate-imports":()=>mA(),"no-else-return":()=>hA(),"no-empty":()=>gA(),"no-empty-character-class":()=>yA(),"no-empty-function":()=>vA(),"no-empty-pattern":()=>EA(),"no-empty-static-block":()=>SA(),"no-eq-null":()=>bA(),"no-eval":()=>xA(),"no-ex-assign":()=>CA(),"no-extend-native":()=>AA(),"no-extra-bind":()=>wA(),"no-extra-boolean-cast":()=>TA(),"no-extra-label":()=>kA(),"no-extra-parens":()=>DA(),"no-extra-semi":()=>IA(),"no-fallthrough":()=>PA(),"no-floating-decimal":()=>FA(),"no-func-assign":()=>RA(),"no-global-assign":()=>_A(),"no-implicit-coercion":()=>BA(),"no-implicit-globals":()=>LA(),"no-implied-eval":()=>OA(),"no-import-assign":()=>NA(),"no-inline-comments":()=>MA(),"no-inner-declarations":()=>jA(),"no-invalid-regexp":()=>UA(),"no-invalid-this":()=>qA(),"no-irregular-whitespace":()=>VA(),"no-iterator":()=>$A(),"no-label-var":()=>WA(),"no-labels":()=>GA(),"no-lone-blocks":()=>zA(),"no-lonely-if":()=>HA(),"no-loop-func":()=>KA(),"no-loss-of-precision":()=>XA(),"no-magic-numbers":()=>JA(),"no-misleading-character-class":()=>nw(),"no-mixed-operators":()=>sw(),"no-mixed-requires":()=>aw(),"no-mixed-spaces-and-tabs":()=>iw(),"no-multi-assign":()=>ow(),"no-multi-spaces":()=>lw(),"no-multi-str":()=>uw(),"no-multiple-empty-lines":()=>cw(),"no-native-reassign":()=>fw(),"no-negated-condition":()=>pw(),"no-negated-in-lhs":()=>dw(),"no-nested-ternary":()=>mw(),"no-new":()=>hw(),"no-new-func":()=>gw(),"no-new-native-nonconstructor":()=>yw(),"no-new-object":()=>vw(),"no-new-require":()=>Ew(),"no-new-symbol":()=>Sw(),"no-new-wrappers":()=>bw(),"no-nonoctal-decimal-escape":()=>xw(),"no-obj-calls":()=>Cw(),"no-object-constructor":()=>Aw(),"no-octal":()=>ww(),"no-octal-escape":()=>Tw(),"no-param-reassign":()=>kw(),"no-path-concat":()=>Dw(),"no-plusplus":()=>Iw(),"no-process-env":()=>Pw(),"no-process-exit":()=>Fw(),"no-promise-executor-return":()=>Rw(),"no-proto":()=>_w(),"no-prototype-builtins":()=>Bw(),"no-redeclare":()=>Lw(),"no-regex-spaces":()=>Ow(),"no-restricted-exports":()=>Nw(),"no-restricted-globals":()=>Mw(),"no-restricted-imports":()=>jw(),"no-restricted-modules":()=>Uw(),"no-restricted-properties":()=>qw(),"no-restricted-syntax":()=>Vw(),"no-return-assign":()=>$w(),"no-return-await":()=>Ww(),"no-script-url":()=>Gw(),"no-self-assign":()=>zw(),"no-self-compare":()=>Hw(),"no-sequences":()=>Kw(),"no-setter-return":()=>Xw(),"no-shadow":()=>Jw(),"no-shadow-restricted-names":()=>Qw(),"no-spaced-func":()=>Yw(),"no-sparse-arrays":()=>Zw(),"no-sync":()=>eT(),"no-tabs":()=>tT(),"no-template-curly-in-string":()=>rT(),"no-ternary":()=>nT(),"no-this-before-super":()=>sT(),"no-throw-literal":()=>aT(),"no-trailing-spaces":()=>iT(),"no-unassigned-vars":()=>oT(),"no-undef":()=>lT(),"no-undef-init":()=>uT(),"no-undefined":()=>cT(),"no-underscore-dangle":()=>fT(),"no-unexpected-multiline":()=>pT(),"no-unmodified-loop-condition":()=>dT(),"no-unneeded-ternary":()=>mT(),"no-unreachable":()=>hT(),"no-unreachable-loop":()=>gT(),"no-unsafe-finally":()=>yT(),"no-unsafe-negation":()=>vT(),"no-unsafe-optional-chaining":()=>ET(),"no-unused-expressions":()=>ST(),"no-unused-labels":()=>bT(),"no-unused-private-class-members":()=>xT(),"no-unused-vars":()=>CT(),"no-use-before-define":()=>AT(),"no-useless-assignment":()=>wT(),"no-useless-backreference":()=>TT(),"no-useless-call":()=>kT(),"no-useless-catch":()=>DT(),"no-useless-computed-key":()=>IT(),"no-useless-concat":()=>PT(),"no-useless-constructor":()=>FT(),"no-useless-escape":()=>RT(),"no-useless-rename":()=>_T(),"no-useless-return":()=>BT(),"no-var":()=>LT(),"no-void":()=>OT(),"no-warning-comments":()=>NT(),"no-whitespace-before-property":()=>MT(),"no-with":()=>jT(),"nonblock-statement-body-position":()=>UT(),"object-curly-newline":()=>qT(),"object-curly-spacing":()=>VT(),"object-property-newline":()=>$T(),"object-shorthand":()=>WT(),"one-var":()=>GT(),"one-var-declaration-per-line":()=>zT(),"operator-assignment":()=>HT(),"operator-linebreak":()=>KT(),"padded-blocks":()=>XT(),"padding-line-between-statements":()=>JT(),"prefer-arrow-callback":()=>QT(),"prefer-const":()=>YT(),"prefer-destructuring":()=>ZT(),"prefer-exponentiation-operator":()=>ek(),"prefer-named-capture-group":()=>tk(),"prefer-numeric-literals":()=>rk(),"prefer-object-has-own":()=>nk(),"prefer-object-spread":()=>sk(),"prefer-promise-reject-errors":()=>ak(),"prefer-reflect":()=>ik(),"prefer-regex-literals":()=>ok(),"prefer-rest-params":()=>lk(),"prefer-spread":()=>uk(),"prefer-template":()=>ck(),"preserve-caught-error":()=>fk(),"quote-props":()=>pk(),quotes:()=>dk(),radix:()=>mk(),"require-atomic-updates":()=>hk(),"require-await":()=>gk(),"require-unicode-regexp":()=>yk(),"require-yield":()=>vk(),"rest-spread-spacing":()=>Ek(),semi:()=>Sk(),"semi-spacing":()=>bk(),"semi-style":()=>xk(),"sort-imports":()=>Ck(),"sort-keys":()=>wk(),"sort-vars":()=>Tk(),"space-before-blocks":()=>kk(),"space-before-function-paren":()=>Dk(),"space-in-parens":()=>Ik(),"space-infix-ops":()=>Pk(),"space-unary-ops":()=>Fk(),"spaced-comment":()=>Rk(),strict:()=>_k(),"switch-colon-spacing":()=>Bk(),"symbol-description":()=>Lk(),"template-curly-spacing":()=>Ok(),"template-tag-spacing":()=>Nk(),"unicode-bom":()=>Mk(),"use-isnan":()=>jk(),"valid-typeof":()=>Uk(),"vars-on-top":()=>qk(),"wrap-iife":()=>Vk(),"wrap-regex":()=>$k(),"yield-star-spacing":()=>Wk(),yoda:()=>Gk()})),af}var of,ES;function zk(){if(ES)return of;ES=1;const m=vS();class t{constructor(){this._rules=Object.create(null)}define(d,e){this._rules[d]=e}get(d){return typeof this._rules[d]=="string"&&this.define(d,dC(this._rules[d])),this._rules[d]?this._rules[d]:m.has(d)?m.get(d):null}*[Symbol.iterator](){yield*m;for(const d of Object.keys(this._rules))yield[d,this.get(d)]}}return of=t,of}var lf,SS;function Hk(){if(SS)return lf;SS=1;const m=hr()("eslint:source-code-fixer"),t="\uFEFF";function p(l,f){return l.fix.range[0]-f.fix.range[0]||l.fix.range[1]-f.fix.range[1]}function d(l,f){return l.line-f.line||l.column-f.column}function e(){Object.freeze(this)}return e.applyFixes=function(l,f,o){if(m("Applying fixes"),o===!1)return m("shouldFix parameter was false, not attempting fixes"),{fixed:!1,messages:f,output:l};const r=[],u=[],s=l.startsWith(t)?t:"",a=s?l.slice(1):l;let c=Number.NEGATIVE_INFINITY,n=s;function i(h){const g=h.fix,v=g.range[0],S=g.range[1];return c>=v||v>S?(r.push(h),!1):((v<0&&S>=0||v===0&&g.text.startsWith(t))&&(n=""),n+=a.slice(Math.max(0,c),Math.max(0,v)),n+=g.text,c=S,!0)}if(f.forEach(h=>{Object.hasOwn(h,"fix")&&h.fix?u.push(h):r.push(h)}),u.length){m("Found fixes to apply");let h=!1;for(const g of u.sort(p))typeof o!="function"||o(g)?(i(g),h=!0):r.push(g);return n+=a.slice(Math.max(0,c)),{fixed:h,messages:r.sort(d),output:n}}return m("No fixes to apply"),{fixed:!1,messages:f,output:s+a}},lf=e,lf}var uf,bS;function Kk(){if(bS)return uf;bS=1;const m=Object.freeze([]);class t{#e=new Map;add(d,e){this.#e.has(d)?this.#e.get(d).push(e):this.#e.set(d,[e])}get(d){return this.#e.has(d)?this.#e.get(d):m}forEachName(d){this.#e.forEach((e,l)=>{d(l)})}callSync(d,...e){this.#e.has(d)&&this.#e.get(d).forEach(l=>l(...e))}}return uf={SourceCodeVisitor:t},uf}var cf,xS;function CS(){if(xS)return cf;xS=1;function m(){return Vt.hrtime()}function t(p){const d=Vt.hrtime(p);return d[0]*1e3+d[1]/1e6}return cf={startTime:m,endTime:t},cf}var ff,AS;function Xk(){if(AS)return ff;AS=1;const{startTime:m,endTime:t}=CS(),p=!!Vt.env.TIMING;function d(){if(typeof Vt.env.TIMING!="string")return 10;if(Vt.env.TIMING.toLowerCase()==="all")return Number.POSITIVE_INFINITY;const l=Number.parseInt(Vt.env.TIMING,10);return l>10?l:10}return ff=function(){const e=Object.create(null);function l(u,s,a){return function(...c){const n=m(),i=s(...c),h=t(n);return p&&(typeof e[u]>"u"&&(e[u]=0),e[u]+=h),a?{result:i,tdiff:h}:i}}function f(){return{...e}}function o(u){for(const[s,a]of Object.entries(u))typeof e[s]>"u"&&(e[s]=0),e[s]+=a}function r(){}return{time:l,enabled:p,getListSize:d,getData:f,mergeData:o,disableDisplay:r}}(),ff}var pf={},nn={},df,wS;function Jk(){if(wS)return df;wS=1;const m=new Set([!0,"true","writable","writeable",!1,"false","readonly","readable",null,"off"]);function t(u){return typeof u=="object"&&u!==null}function p(u){return t(u)&&!Array.isArray(u)}function d(u){return typeof u>"u"}function e(u){if(d(u))throw new TypeError('Key "ecmaVersion": Expected an "ecmaVersion" property.');if(typeof u!="number"&&u!=="latest")throw new TypeError('Key "ecmaVersion": Expected a number or "latest".')}function l(u){if(typeof u!="string"||!/^(?:script|module|commonjs)$/u.test(u))throw new TypeError('Key "sourceType": Expected "script", "module", or "commonjs".')}function f(u){if(!p(u))throw new TypeError('Key "globals": Expected an object.');for(const s of Object.keys(u))if(s!=="__proto__"){if(s!==s.trim())throw new TypeError(`Key "globals": Global "${s}" has leading or trailing whitespace.`);if(!m.has(u[s]))throw new TypeError(`Key "globals": Key "${s}": Expected "readonly", "writable", or "off".`)}}function o(u){if(!u||typeof u!="object"||typeof u.parse!="function"&&typeof u.parseForESLint!="function")throw new TypeError('Key "parser": Expected object with parse() or parseForESLint() method.')}function r(u){if(!p(u))throw new TypeError("Expected an object.");const{ecmaVersion:s,sourceType:a,globals:c,parser:n,parserOptions:i,...h}=u;if("ecmaVersion"in u&&e(s),"sourceType"in u&&l(a),"globals"in u&&f(c),"parser"in u&&o(n),"parserOptions"in u&&!p(i))throw new TypeError('Key "parserOptions": Expected an object.');const g=Object.keys(h);if(g.length>0)throw new TypeError(`Unexpected key "${g[0]}" found.`)}return df={validateLanguageOptions:r},df}var mf,TS;function kS(){if(TS)return mf;TS=1;const{SourceCode:m}=Yd(),t=hr(),p=en(),d=Xr(),e=ln(),l=Rr(),{validateLanguageOptions:f}=Jk(),{LATEST_ECMA_VERSION:o}=ba(),r=t("eslint:languages:js"),u=5,s=Symbol.for("eslint.RuleTester.parser");function a(i,h,g){const S=h.parserOptions.ecmaFeatures||{},b=h.ecmaVersion||u;return e.analyze(i,{ignoreEval:!0,nodejsScope:S.globalReturn,impliedStrict:S.impliedStrict,ecmaVersion:typeof b=="number"?b:6,sourceType:h.sourceType||"script",childVisitorKeys:g||l.KEYS,fallback:l.getKeys})}function c(i){return i===d||i[s]===d}function n(i){switch(i){case 3:return 3;case 5:case void 0:return 5;default:if(typeof i=="number")return i>=2015?i:i+2009}return o}return mf={fileType:"text",lineStart:1,columnStart:0,nodeTypeKey:"type",visitorKeys:l.KEYS,defaultLanguageOptions:{sourceType:"module",ecmaVersion:"latest",parser:d,parserOptions:{}},validateLanguageOptions:f,normalizeLanguageOptions(i){if(i.ecmaVersion=n(i.ecmaVersion),c(i.parser)){const h=i.parserOptions;i.sourceType&&(h.sourceType=i.sourceType,h.sourceType==="module"&&h.ecmaFeatures&&h.ecmaFeatures.globalReturn&&(h.ecmaFeatures.globalReturn=!1))}return i},matchesSelectorClass(i,h,g){switch(i.toLowerCase()){case"statement":if(h.type.slice(-9)==="Statement")return!0;case"declaration":return h.type.slice(-11)==="Declaration";case"pattern":if(h.type.slice(-7)==="Pattern")return!0;case"expression":return h.type.slice(-10)==="Expression"||h.type.slice(-7)==="Literal"||h.type==="Identifier"&&(g.length===0||g[0].type!=="MetaProperty")||h.type==="MetaProperty";case"function":return h.type==="FunctionDeclaration"||h.type==="FunctionExpression"||h.type==="ArrowFunctionExpression";default:throw new Error(`Unknown class name: ${i}`)}},parse(i,{languageOptions:h}){const{body:g,path:v}=i,S=g.replace(p.shebangPattern,(A,C)=>`//${C}`),{ecmaVersion:b,sourceType:T,parser:x}=h,E=Object.assign({ecmaVersion:b,sourceType:T},h.parserOptions,{loc:!0,range:!0,raw:!0,tokens:!0,comment:!0,eslintVisitorKeys:!0,eslintScopeManager:!0,filePath:v});try{r("Parsing:",v);const A=typeof x.parseForESLint=="function"?x.parseForESLint(S,E):{ast:x.parse(S,E)};r("Parsing successful:",v);const{ast:C,services:w={},visitorKeys:k=l.KEYS,scopeManager:R}=A;return{ok:!0,ast:C,parserServices:w,visitorKeys:k,scopeManager:R}}catch(A){const C=A.message.replace(/^line \d+:/iu,"").trim();return r(`%s
106
- %s`,C,A.stack),{ok:!1,errors:[{message:C,line:A.lineNumber,column:A.column}]}}},createSourceCode(i,h,{languageOptions:g}){const{body:v,path:S,bom:b}=i,{ast:T,parserServices:x,visitorKeys:E}=h;r("Scope analysis:",S);const A=h.scopeManager||a(T,g,E);return r("Scope analysis successful:",S),new m({text:v,ast:T,hasBOM:b,parserServices:x,scopeManager:A,visitorKeys:E})}},mf}var DS;function Qk(){if(DS)return nn;DS=1;const m=vS(),t=[{files:["**/*.js","**/*.mjs"]},{files:["**/*.cjs"],languageOptions:{sourceType:"commonjs",ecmaVersion:"latest"}}];return nn.defaultConfig=Object.freeze([{plugins:{"@":{languages:{js:kS()},rules:new Proxy({},{get(p,d){return m.get(d)},has(p,d){return m.has(d)}})}},language:"@/js",linterOptions:{reportUnusedDisableDirectives:1}},{ignores:["**/node_modules/",".git/"]},...t]),nn.defaultRuleTesterConfig=Object.freeze([{files:["**"]},...t]),nn}var IS;function Yk(){if(IS)return pf;IS=1;const{ConfigArray:m,ConfigArraySymbol:t}=bm(),{flatConfigSchema:p}=ta(),{defaultConfig:d}=Qk(),{Config:e}=da(),l=new Set(["name","basePath"]);function f(a,c,n){let i="user-defined",h=a.index;return a.index<n?i="base":a.index<c+n?(i="original",h=a.index-n):h=a.index-c-n,new TypeError(`${a.message.slice(0,-1)} at ${i} index ${h}.`,{cause:a})}const o=Symbol("originalBaseConfig"),r=Symbol("originalLength"),u=Symbol("baseLength");class s extends m{constructor(c,{basePath:n,shouldIgnore:i=!0,baseConfig:h=d}={}){super(c,{basePath:n,schema:p}),this[r]=this.length,h[Symbol.iterator]?this.unshift(...h):this.unshift(h),this[u]=this.length-this[r],this[o]=h,Object.defineProperty(this,o,{writable:!1}),this.shouldIgnore=i,Object.defineProperty(this,"shouldIgnore",{writable:!1})}normalize(c){return super.normalize(c).catch(n=>{throw n.name==="ConfigError"?f(n,this[r],this[u]):n})}normalizeSync(c){try{return super.normalizeSync(c)}catch(n){throw n.name==="ConfigError"?f(n,this[r],this[u]):n}}[t.preprocessConfig](c){if(!this.shouldIgnore&&!this[o].includes(c)&&c.ignores&&Object.keys(c).filter(n=>!l.has(n)).length===1){const{ignores:n,...i}=c;return i}return c}[t.finalizeConfig](c){return new e(c)}}return pf.FlatConfigArray=s,pf}var hf,PS;function Zk(){if(PS)return hf;PS=1;const m=new Map([["test_only","Used only for testing."],["test_only_2","Used only for testing."],["v10_config_lookup_from_file","Look up `eslint.config.js` from the file being linted."],["unstable_native_nodejs_ts_config","Use native Node.js to load TypeScript configuration."]]),t=new Map([["test_only_replaced",{description:"Used only for testing flags that have been replaced by other flags.",replacedBy:"test_only"}],["test_only_enabled_by_default",{description:"Used only for testing flags whose features have been enabled by default.",replacedBy:null}],["test_only_abandoned",{description:"Used only for testing flags whose features have been abandoned."}],["unstable_ts_config",{description:"Enable TypeScript configuration files.",replacedBy:null}],["unstable_config_lookup_from_file",{description:"Look up `eslint.config.js` from the file being linted.",replacedBy:"v10_config_lookup_from_file"}]]);function p({replacedBy:d}){return typeof d>"u"?"This feature has been abandoned.":typeof d=="string"?`This flag has been renamed '${d}' to reflect its stabilization. Please use '${d}' instead.`:"This feature is now enabled by default."}return hf={activeFlags:m,inactiveFlags:t,getInactivityReasonMessage:p},hf}var gf,FS;function RS(){if(FS)return gf;FS=1;function m(d){return typeof d=="string"?d.charCodeAt(0)===65279:d[0]===239&&d[1]===187&&d[2]===191}function t(d){return m(d)?typeof d=="string"?d.slice(1):d.slice(3):d}class p{path;physicalPath;body;rawBody;bom;constructor(e,l,{physicalPath:f}={}){this.path=e,this.physicalPath=f??e,this.bom=m(l),this.body=t(l),this.rawBody=l}}return gf={VFile:p},gf}var yf,_S;function eD(){if(_S)return yf;_S=1;class m{parseSync(p,d){const{language:e,languageOptions:l}=d,f=e.parse(p,{languageOptions:l});if(typeof f.then=="function")throw new Error("Unsupported: Language parser returned a promise.");return f.ok?{ok:!0,sourceCode:e.createSourceCode(p,f,{languageOptions:l})}:{ok:!1,errors:f.errors.map(o=>({ruleId:null,nodeType:null,fatal:!0,severity:2,message:`Parsing error: ${o.message}`,line:o.line,column:o.column}))}}}return yf={ParserService:m},yf}var vf={},BS;function tD(){if(BS)return vf;BS=1;class m{cwd;filename;physicalFilename;sourceCode;parserOptions;parserPath;languageOptions;settings;constructor({cwd:p,filename:d,physicalFilename:e,sourceCode:l,parserOptions:f,parserPath:o,languageOptions:r,settings:u}){this.cwd=p,this.filename=d,this.physicalFilename=e,this.sourceCode=l,this.parserOptions=f,this.parserPath=o,this.languageOptions=r,this.settings=u,Object.freeze(this)}getCwd(){return this.cwd}getFilename(){return this.filename}getPhysicalFilename(){return this.physicalFilename}getSourceCode(){return this.sourceCode}extend(p){return Object.freeze(Object.assign(Object.create(this),p))}}return vf.FileContext=m,vf}var Ef,LS;function rD(){if(LS)return Ef;LS=1;const m=zr,{VFile:t}=RS();class p{preprocessSync(e,l){const{processor:f}=l;let o;try{o=f.preprocess(e.rawBody,e.path)}catch(r){return{ok:!1,errors:[{ruleId:null,fatal:!0,severity:2,message:`Preprocessing error: ${r.message.replace(/^line \d+:/iu,"").trim()}`,line:r.lineNumber,column:r.column,nodeType:null}]}}if(typeof o.then=="function")throw new Error("Unsupported: Preprocessor returned a promise.");return{ok:!0,files:o.map((r,u)=>{if(typeof r=="string")return r;const s=m.join(e.path,`${u}_${r.filename}`);return new t(s,r.text,{physicalPath:e.physicalPath})})}}postprocessSync(e,l,f){const{processor:o}=f;return o.postprocess(l,e.path)}}return Ef={ProcessorService:p},Ef}var Sf,OS;function nD(){if(OS)return Sf;OS=1;function m(t,p){if(t===p)return!1;if(typeof t!=typeof p||Array.isArray(t)!==Array.isArray(p))return!0;if(Array.isArray(t))return t.length!==p.length||t.some((d,e)=>m(d,p[e]));if(typeof t=="object"){if(t===null||p===null)return!0;const d=Object.keys(t),e=Object.keys(p);return d.length!==e.length||d.some(l=>!Object.hasOwn(p,l)||m(t[l],p[l]))}return!0}return Sf={containsDifferentProperty:m},Sf}var bf,NS;function sD(){if(NS)return bf;NS=1;class m{constructor({emitWarning:p=globalThis.process?.emitWarning??(()=>{})}={}){this.emitWarning=p}emitCircularFixesWarning(p){this.emitWarning(`Circular fixes detected while fixing ${p}. It is likely that you have conflicting rules in your configuration.`,"ESLintCircularFixesWarning")}emitEmptyConfigWarning(p){this.emitWarning(`Running ESLint with an empty config (from ${p}). Please double-check that this is what you want. If you want to run ESLint with an empty config, export [{}] to remove this warning.`,"ESLintEmptyConfigWarning")}emitESLintIgnoreWarning(){this.emitWarning('The ".eslintignore" file is no longer supported. Switch to using the "ignores" property in "eslint.config.js": https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files',"ESLintIgnoreWarning")}emitESLintRCWarning(){this.emitWarning("You are using an eslintrc configuration file, which is deprecated and support will be removed in v10.0.0. Please migrate to an eslint.config.js file. See https://eslint.org/docs/latest/use/configure/migration-guide for details. An eslintrc configuration file is used because you have the ESLINT_USE_FLAT_CONFIG environment variable set to false. If you want to use an eslint.config.js file, remove the environment variable. If you want to find the location of the eslintrc configuration file, use the --debug flag.","ESLintRCWarning")}emitInactiveFlagWarning(p,d){this.emitWarning(d,`ESLintInactiveFlag_${p}`)}emitPoorConcurrencyWarning(p){this.emitWarning(`You may ${p} to improve performance.`,"ESLintPoorConcurrencyWarning")}}return bf={WarningService:m},bf}function qr(m){return(qr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(m)}function xf(m,t){return function(p){if(Array.isArray(p))return p}(m)||function(p,d){var e=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(e!=null){var l,f,o,r,u=[],s=!0,a=!1;try{if(o=(e=e.call(p)).next,d!==0)for(;!(s=(l=o.call(e)).done)&&(u.push(l.value),u.length!==d);s=!0);}catch(c){a=!0,f=c}finally{try{if(!s&&e.return!=null&&(r=e.return(),Object(r)!==r))return}finally{if(a)throw f}}return u}}(m,t)||MS(m,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
107
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function aD(m){return function(t){if(Array.isArray(t))return Cf(t)}(m)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(m)||MS(m)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
108
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function MS(m,t){if(m){if(typeof m=="string")return Cf(m,t);var p=Object.prototype.toString.call(m).slice(8,-1);return p==="Object"&&m.constructor&&(p=m.constructor.name),p==="Map"||p==="Set"?Array.from(m):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?Cf(m,t):void 0}}function Cf(m,t){(t==null||t>m.length)&&(t=m.length);for(var p=0,d=new Array(t);p<t;p++)d[p]=m[p];return d}function jS(m,t){return m(t={exports:{}},t.exports),t.exports}var sn=jS(function(m,t){(function p(d){var e,l,f,o,r,u;function s(b){var T,x,E={};for(T in b)b.hasOwnProperty(T)&&(x=b[T],E[T]=typeof x=="object"&&x!==null?s(x):x);return E}function a(b,T){this.parent=b,this.key=T}function c(b,T,x,E){this.node=b,this.path=T,this.wrap=x,this.ref=E}function n(){}function i(b){return b!=null&&typeof b=="object"&&typeof b.type=="string"}function h(b,T){return(b===e.ObjectExpression||b===e.ObjectPattern)&&T==="properties"}function g(b,T){for(var x=b.length-1;x>=0;--x)if(b[x].node===T)return!0;return!1}function v(b,T){return new n().traverse(b,T)}function S(b,T){var x;return x=function(E,A){var C,w,k,R;for(w=E.length,k=0;w;)A(E[R=k+(C=w>>>1)])?w=C:(k=R+1,w-=C+1);return k}(T,function(E){return E.range[0]>b.range[0]}),b.extendedRange=[b.range[0],b.range[1]],x!==T.length&&(b.extendedRange[1]=T[x].range[0]),(x-=1)>=0&&(b.extendedRange[0]=T[x].range[1]),b}return e={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},f={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},l={Break:o={},Skip:r={},Remove:u={}},a.prototype.replace=function(b){this.parent[this.key]=b},a.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},n.prototype.path=function(){var b,T,x,E,A;function C(w,k){if(Array.isArray(k))for(x=0,E=k.length;x<E;++x)w.push(k[x]);else w.push(k)}if(!this.__current.path)return null;for(A=[],b=2,T=this.__leavelist.length;b<T;++b)C(A,this.__leavelist[b].path);return C(A,this.__current.path),A},n.prototype.type=function(){return this.current().type||this.__current.wrap},n.prototype.parents=function(){var b,T,x;for(x=[],b=1,T=this.__leavelist.length;b<T;++b)x.push(this.__leavelist[b].node);return x},n.prototype.current=function(){return this.__current.node},n.prototype.__execute=function(b,T){var x,E;return E=void 0,x=this.__current,this.__current=T,this.__state=null,b&&(E=b.call(this,T.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=x,E},n.prototype.notify=function(b){this.__state=b},n.prototype.skip=function(){this.notify(r)},n.prototype.break=function(){this.notify(o)},n.prototype.remove=function(){this.notify(u)},n.prototype.__initialize=function(b,T){this.visitor=T,this.root=b,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,T.fallback==="iteration"?this.__fallback=Object.keys:typeof T.fallback=="function"&&(this.__fallback=T.fallback),this.__keys=f,T.keys&&(this.__keys=Object.assign(Object.create(this.__keys),T.keys))},n.prototype.traverse=function(b,T){var x,E,A,C,w,k,R,P,B,F,O,$;for(this.__initialize(b,T),$={},x=this.__worklist,E=this.__leavelist,x.push(new c(b,null,null,null)),E.push(new c(null,null,null,null));x.length;)if((A=x.pop())!==$){if(A.node){if(k=this.__execute(T.enter,A),this.__state===o||k===o)return;if(x.push($),E.push(A),this.__state===r||k===r)continue;if(w=(C=A.node).type||A.wrap,!(F=this.__keys[w])){if(!this.__fallback)throw new Error("Unknown node type "+w+".");F=this.__fallback(C)}for(P=F.length;(P-=1)>=0;)if(O=C[R=F[P]]){if(Array.isArray(O)){for(B=O.length;(B-=1)>=0;)if(O[B]&&!g(E,O[B])){if(h(w,F[P]))A=new c(O[B],[R,B],"Property",null);else{if(!i(O[B]))continue;A=new c(O[B],[R,B],null,null)}x.push(A)}}else if(i(O)){if(g(E,O))continue;x.push(new c(O,R,null,null))}}}}else if(A=E.pop(),k=this.__execute(T.leave,A),this.__state===o||k===o)return},n.prototype.replace=function(b,T){var x,E,A,C,w,k,R,P,B,F,O,$,N;function _(X){var L,K,J,ge;if(X.ref.remove()){for(K=X.ref.key,ge=X.ref.parent,L=x.length;L--;)if((J=x[L]).ref&&J.ref.parent===ge){if(J.ref.key<K)break;--J.ref.key}}}for(this.__initialize(b,T),O={},x=this.__worklist,E=this.__leavelist,k=new c(b,null,null,new a($={root:b},"root")),x.push(k),E.push(k);x.length;)if((k=x.pop())!==O){if((w=this.__execute(T.enter,k))!==void 0&&w!==o&&w!==r&&w!==u&&(k.ref.replace(w),k.node=w),this.__state!==u&&w!==u||(_(k),k.node=null),this.__state===o||w===o)return $.root;if((A=k.node)&&(x.push(O),E.push(k),this.__state!==r&&w!==r)){if(C=A.type||k.wrap,!(B=this.__keys[C])){if(!this.__fallback)throw new Error("Unknown node type "+C+".");B=this.__fallback(A)}for(R=B.length;(R-=1)>=0;)if(F=A[N=B[R]])if(Array.isArray(F)){for(P=F.length;(P-=1)>=0;)if(F[P]){if(h(C,B[R]))k=new c(F[P],[N,P],"Property",new a(F,P));else{if(!i(F[P]))continue;k=new c(F[P],[N,P],null,new a(F,P))}x.push(k)}}else i(F)&&x.push(new c(F,N,null,new a(A,N)))}}else if(k=E.pop(),(w=this.__execute(T.leave,k))!==void 0&&w!==o&&w!==r&&w!==u&&k.ref.replace(w),this.__state!==u&&w!==u||_(k),this.__state===o||w===o)return $.root;return $.root},d.Syntax=e,d.traverse=v,d.replace=function(b,T){return new n().replace(b,T)},d.attachComments=function(b,T,x){var E,A,C,w,k=[];if(!b.range)throw new Error("attachComments needs range information");if(!x.length){if(T.length){for(C=0,A=T.length;C<A;C+=1)(E=s(T[C])).extendedRange=[0,b.range[0]],k.push(E);b.leadingComments=k}return b}for(C=0,A=T.length;C<A;C+=1)k.push(S(s(T[C]),x));return w=0,v(b,{enter:function(R){for(var P;w<k.length&&!((P=k[w]).extendedRange[1]>R.range[0]);)P.extendedRange[1]===R.range[0]?(R.leadingComments||(R.leadingComments=[]),R.leadingComments.push(P),k.splice(w,1)):w+=1;return w===k.length?l.Break:k[w].extendedRange[0]>R.range[1]?l.Skip:void 0}}),w=0,v(b,{leave:function(R){for(var P;w<k.length&&(P=k[w],!(R.range[1]<P.extendedRange[0]));)R.range[1]===P.extendedRange[0]?(R.trailingComments||(R.trailingComments=[]),R.trailingComments.push(P),k.splice(w,1)):w+=1;return w===k.length?l.Break:k[w].extendedRange[0]>R.range[1]?l.Skip:void 0}}),b},d.VisitorKeys=f,d.VisitorOption=l,d.Controller=n,d.cloneEnvironment=function(){return p({})},d})(t)}),iD=jS(function(m){m.exports&&(m.exports=function(){function t(p,d,e,l){this.message=p,this.expected=d,this.found=e,this.location=l,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,t)}return function(p,d){function e(){this.constructor=p}e.prototype=d.prototype,p.prototype=new e}(t,Error),t.buildMessage=function(p,d){var e={literal:function(r){return'"'+f(r.text)+'"'},class:function(r){var u,s="";for(u=0;u<r.parts.length;u++)s+=r.parts[u]instanceof Array?o(r.parts[u][0])+"-"+o(r.parts[u][1]):o(r.parts[u]);return"["+(r.inverted?"^":"")+s+"]"},any:function(r){return"any character"},end:function(r){return"end of input"},other:function(r){return r.description}};function l(r){return r.charCodeAt(0).toString(16).toUpperCase()}function f(r){return r.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(u){return"\\x0"+l(u)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(u){return"\\x"+l(u)})}function o(r){return r.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(u){return"\\x0"+l(u)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(u){return"\\x"+l(u)})}return"Expected "+function(r){var u,s,a,c=new Array(r.length);for(u=0;u<r.length;u++)c[u]=(a=r[u],e[a.type](a));if(c.sort(),c.length>0){for(u=1,s=1;u<c.length;u++)c[u-1]!==c[u]&&(c[s]=c[u],s++);c.length=s}switch(c.length){case 1:return c[0];case 2:return c[0]+" or "+c[1];default:return c.slice(0,-1).join(", ")+", or "+c[c.length-1]}}(p)+" but "+function(r){return r?'"'+f(r)+'"':"end of input"}(d)+" found."},{SyntaxError:t,parse:function(p,d){d=d!==void 0?d:{};var e,l,f,o,r={},u={start:vt},s=vt,a=$e(" ",!1),c=/^[^ [\],():#!=><~+.]/,n=nt([" ","[","]",",","(",")",":","#","!","=",">","<","~","+","."],!0,!1),i=$e(">",!1),h=$e("~",!1),g=$e("+",!1),v=$e(",",!1),S=$e("!",!1),b=$e("*",!1),T=$e("#",!1),x=$e("[",!1),E=$e("]",!1),A=/^[><!]/,C=nt([">","<","!"],!1,!1),w=$e("=",!1),k=function(te){return(te||"")+"="},R=/^[><]/,P=nt([">","<"],!1,!1),B=$e(".",!1),F=function(te,q,se){return{type:"attribute",name:te,operator:q,value:se}},O=$e('"',!1),$=/^[^\\"]/,N=nt(["\\",'"'],!0,!1),_=$e("\\",!1),X={type:"any"},L=function(te,q){return te+q},K=function(te){return{type:"literal",value:(q=te.join(""),q.replace(/\\(.)/g,function(se,ue){switch(ue){case"b":return"\b";case"f":return"\f";case"n":return`
109
- `;case"r":return"\r";case"t":return" ";case"v":return"\v";default:return ue}}))};var q},J=$e("'",!1),ge=/^[^\\']/,ae=nt(["\\","'"],!0,!1),ke=/^[0-9]/,Z=nt([["0","9"]],!1,!1),I=$e("type(",!1),H=/^[^ )]/,fe=nt([" ",")"],!0,!1),ce=$e(")",!1),ie=/^[imsu]/,he=nt(["i","m","s","u"],!1,!1),Se=$e("/",!1),xe=/^[^\/]/,we=nt(["/"],!0,!1),ee=$e(":not(",!1),ne=$e(":matches(",!1),Ae=$e(":has(",!1),z=$e(":first-child",!1),oe=$e(":last-child",!1),Te=$e(":nth-child(",!1),Re=$e(":nth-last-child(",!1),Pe=$e(":",!1),G=0,Je=[{line:1,column:1}],lt=0,et=[],qe={};if("startRule"in d){if(!(d.startRule in u))throw new Error(`Can't start parsing from rule "`+d.startRule+'".');s=u[d.startRule]}function $e(te,q){return{type:"literal",text:te,ignoreCase:q}}function nt(te,q,se){return{type:"class",parts:te,inverted:q,ignoreCase:se}}function pt(te){var q,se=Je[te];if(se)return se;for(q=te-1;!Je[q];)q--;for(se={line:(se=Je[q]).line,column:se.column};q<te;)p.charCodeAt(q)===10?(se.line++,se.column=1):se.column++,q++;return Je[te]=se,se}function tt(te,q){var se=pt(te),ue=pt(q);return{start:{offset:te,line:se.line,column:se.column},end:{offset:q,line:ue.line,column:ue.column}}}function Qe(te){G<lt||(G>lt&&(lt=G,et=[]),et.push(te))}function vt(){var te,q,se,ue,be=30*G+0,Oe=qe[be];return Oe?(G=Oe.nextPos,Oe.result):(te=G,(q=Ye())!==r&&(se=We())!==r&&Ye()!==r?te=q=(ue=se).length===1?ue[0]:{type:"matches",selectors:ue}:(G=te,te=r),te===r&&(te=G,(q=Ye())!==r&&(q=void 0),te=q),qe[be]={nextPos:G,result:te},te)}function Ye(){var te,q,se=30*G+1,ue=qe[se];if(ue)return G=ue.nextPos,ue.result;for(te=[],p.charCodeAt(G)===32?(q=" ",G++):(q=r,Qe(a));q!==r;)te.push(q),p.charCodeAt(G)===32?(q=" ",G++):(q=r,Qe(a));return qe[se]={nextPos:G,result:te},te}function bt(){var te,q,se,ue=30*G+2,be=qe[ue];if(be)return G=be.nextPos,be.result;if(q=[],c.test(p.charAt(G))?(se=p.charAt(G),G++):(se=r,Qe(n)),se!==r)for(;se!==r;)q.push(se),c.test(p.charAt(G))?(se=p.charAt(G),G++):(se=r,Qe(n));else q=r;return q!==r&&(q=q.join("")),te=q,qe[ue]={nextPos:G,result:te},te}function Ke(){var te,q,se,ue=30*G+3,be=qe[ue];return be?(G=be.nextPos,be.result):(te=G,(q=Ye())!==r?(p.charCodeAt(G)===62?(se=">",G++):(se=r,Qe(i)),se!==r&&Ye()!==r?te=q="child":(G=te,te=r)):(G=te,te=r),te===r&&(te=G,(q=Ye())!==r?(p.charCodeAt(G)===126?(se="~",G++):(se=r,Qe(h)),se!==r&&Ye()!==r?te=q="sibling":(G=te,te=r)):(G=te,te=r),te===r&&(te=G,(q=Ye())!==r?(p.charCodeAt(G)===43?(se="+",G++):(se=r,Qe(g)),se!==r&&Ye()!==r?te=q="adjacent":(G=te,te=r)):(G=te,te=r),te===r&&(te=G,p.charCodeAt(G)===32?(q=" ",G++):(q=r,Qe(a)),q!==r&&(se=Ye())!==r?te=q="descendant":(G=te,te=r)))),qe[ue]={nextPos:G,result:te},te)}function We(){var te,q,se,ue,be,Oe,Ie,Ge,ze=30*G+4,de=qe[ze];if(de)return G=de.nextPos,de.result;if(te=G,(q=Ee())!==r){for(se=[],ue=G,(be=Ye())!==r?(p.charCodeAt(G)===44?(Oe=",",G++):(Oe=r,Qe(v)),Oe!==r&&(Ie=Ye())!==r&&(Ge=Ee())!==r?ue=be=[be,Oe,Ie,Ge]:(G=ue,ue=r)):(G=ue,ue=r);ue!==r;)se.push(ue),ue=G,(be=Ye())!==r?(p.charCodeAt(G)===44?(Oe=",",G++):(Oe=r,Qe(v)),Oe!==r&&(Ie=Ye())!==r&&(Ge=Ee())!==r?ue=be=[be,Oe,Ie,Ge]:(G=ue,ue=r)):(G=ue,ue=r);se!==r?te=q=[q].concat(se.map(function(pe){return pe[3]})):(G=te,te=r)}else G=te,te=r;return qe[ze]={nextPos:G,result:te},te}function Ee(){var te,q,se,ue,be,Oe,Ie,Ge=30*G+5,ze=qe[Ge];if(ze)return G=ze.nextPos,ze.result;if(te=G,(q=j())!==r){for(se=[],ue=G,(be=Ke())!==r&&(Oe=j())!==r?ue=be=[be,Oe]:(G=ue,ue=r);ue!==r;)se.push(ue),ue=G,(be=Ke())!==r&&(Oe=j())!==r?ue=be=[be,Oe]:(G=ue,ue=r);se!==r?(Ie=q,te=q=se.reduce(function(de,pe){return{type:pe[0],left:de,right:pe[1]}},Ie)):(G=te,te=r)}else G=te,te=r;return qe[Ge]={nextPos:G,result:te},te}function j(){var te,q,se,ue,be,Oe,Ie,Ge=30*G+6,ze=qe[Ge];if(ze)return G=ze.nextPos,ze.result;if(te=G,p.charCodeAt(G)===33?(q="!",G++):(q=r,Qe(S)),q===r&&(q=null),q!==r){if(se=[],(ue=U())!==r)for(;ue!==r;)se.push(ue),ue=U();else se=r;se!==r?(be=q,Ie=(Oe=se).length===1?Oe[0]:{type:"compound",selectors:Oe},be&&(Ie.subject=!0),te=q=Ie):(G=te,te=r)}else G=te,te=r;return qe[Ge]={nextPos:G,result:te},te}function U(){var te,q=30*G+7,se=qe[q];return se?(G=se.nextPos,se.result):((te=function(){var ue,be,Oe=30*G+8,Ie=qe[Oe];return Ie?(G=Ie.nextPos,Ie.result):(p.charCodeAt(G)===42?(be="*",G++):(be=r,Qe(b)),be!==r&&(be={type:"wildcard",value:be}),ue=be,qe[Oe]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe,Ie=30*G+9,Ge=qe[Ie];return Ge?(G=Ge.nextPos,Ge.result):(ue=G,p.charCodeAt(G)===35?(be="#",G++):(be=r,Qe(T)),be===r&&(be=null),be!==r&&(Oe=bt())!==r?ue=be={type:"identifier",value:Oe}:(G=ue,ue=r),qe[Ie]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe,Ie,Ge=30*G+10,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,p.charCodeAt(G)===91?(be="[",G++):(be=r,Qe(x)),be!==r&&Ye()!==r&&(Oe=function(){var de,pe,ve,De,Fe=30*G+14,st=qe[Fe];return st?(G=st.nextPos,st.result):(de=G,(pe=V())!==r&&Ye()!==r&&(ve=function(){var Ue,Xe,it,He=30*G+12,rt=qe[He];return rt?(G=rt.nextPos,rt.result):(Ue=G,p.charCodeAt(G)===33?(Xe="!",G++):(Xe=r,Qe(S)),Xe===r&&(Xe=null),Xe!==r?(p.charCodeAt(G)===61?(it="=",G++):(it=r,Qe(w)),it!==r?(Xe=k(Xe),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r),qe[He]={nextPos:G,result:Ue},Ue)}())!==r&&Ye()!==r?((De=function(){var Ue,Xe,it,He,rt,ft=30*G+18,mt=qe[ft];if(mt)return G=mt.nextPos,mt.result;if(Ue=G,p.substr(G,5)==="type("?(Xe="type(",G+=5):(Xe=r,Qe(I)),Xe!==r)if(Ye()!==r){if(it=[],H.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(fe)),He!==r)for(;He!==r;)it.push(He),H.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(fe));else it=r;it!==r&&(He=Ye())!==r?(p.charCodeAt(G)===41?(rt=")",G++):(rt=r,Qe(ce)),rt!==r?(Xe={type:"type",value:it.join("")},Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;else G=Ue,Ue=r;return qe[ft]={nextPos:G,result:Ue},Ue}())===r&&(De=function(){var Ue,Xe,it,He,rt,ft,mt=30*G+20,ct=qe[mt];if(ct)return G=ct.nextPos,ct.result;if(Ue=G,p.charCodeAt(G)===47?(Xe="/",G++):(Xe=r,Qe(Se)),Xe!==r){if(it=[],xe.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(we)),He!==r)for(;He!==r;)it.push(He),xe.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(we));else it=r;it!==r?(p.charCodeAt(G)===47?(He="/",G++):(He=r,Qe(Se)),He!==r?((rt=function(){var ht,xt,St=30*G+19,Pt=qe[St];if(Pt)return G=Pt.nextPos,Pt.result;if(ht=[],ie.test(p.charAt(G))?(xt=p.charAt(G),G++):(xt=r,Qe(he)),xt!==r)for(;xt!==r;)ht.push(xt),ie.test(p.charAt(G))?(xt=p.charAt(G),G++):(xt=r,Qe(he));else ht=r;return qe[St]={nextPos:G,result:ht},ht}())===r&&(rt=null),rt!==r?(ft=rt,Xe={type:"regexp",value:new RegExp(it.join(""),ft?ft.join(""):"")},Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;return qe[mt]={nextPos:G,result:Ue},Ue}()),De!==r?(pe=F(pe,ve,De),de=pe):(G=de,de=r)):(G=de,de=r),de===r&&(de=G,(pe=V())!==r&&Ye()!==r&&(ve=function(){var Ue,Xe,it,He=30*G+11,rt=qe[He];return rt?(G=rt.nextPos,rt.result):(Ue=G,A.test(p.charAt(G))?(Xe=p.charAt(G),G++):(Xe=r,Qe(C)),Xe===r&&(Xe=null),Xe!==r?(p.charCodeAt(G)===61?(it="=",G++):(it=r,Qe(w)),it!==r?(Xe=k(Xe),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r),Ue===r&&(R.test(p.charAt(G))?(Ue=p.charAt(G),G++):(Ue=r,Qe(P))),qe[He]={nextPos:G,result:Ue},Ue)}())!==r&&Ye()!==r?((De=function(){var Ue,Xe,it,He,rt,ft,mt=30*G+15,ct=qe[mt];if(ct)return G=ct.nextPos,ct.result;if(Ue=G,p.charCodeAt(G)===34?(Xe='"',G++):(Xe=r,Qe(O)),Xe!==r){for(it=[],$.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(N)),He===r&&(He=G,p.charCodeAt(G)===92?(rt="\\",G++):(rt=r,Qe(_)),rt!==r?(p.length>G?(ft=p.charAt(G),G++):(ft=r,Qe(X)),ft!==r?(rt=L(rt,ft),He=rt):(G=He,He=r)):(G=He,He=r));He!==r;)it.push(He),$.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(N)),He===r&&(He=G,p.charCodeAt(G)===92?(rt="\\",G++):(rt=r,Qe(_)),rt!==r?(p.length>G?(ft=p.charAt(G),G++):(ft=r,Qe(X)),ft!==r?(rt=L(rt,ft),He=rt):(G=He,He=r)):(G=He,He=r));it!==r?(p.charCodeAt(G)===34?(He='"',G++):(He=r,Qe(O)),He!==r?(Xe=K(it),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;if(Ue===r)if(Ue=G,p.charCodeAt(G)===39?(Xe="'",G++):(Xe=r,Qe(J)),Xe!==r){for(it=[],ge.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(ae)),He===r&&(He=G,p.charCodeAt(G)===92?(rt="\\",G++):(rt=r,Qe(_)),rt!==r?(p.length>G?(ft=p.charAt(G),G++):(ft=r,Qe(X)),ft!==r?(rt=L(rt,ft),He=rt):(G=He,He=r)):(G=He,He=r));He!==r;)it.push(He),ge.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(ae)),He===r&&(He=G,p.charCodeAt(G)===92?(rt="\\",G++):(rt=r,Qe(_)),rt!==r?(p.length>G?(ft=p.charAt(G),G++):(ft=r,Qe(X)),ft!==r?(rt=L(rt,ft),He=rt):(G=He,He=r)):(G=He,He=r));it!==r?(p.charCodeAt(G)===39?(He="'",G++):(He=r,Qe(J)),He!==r?(Xe=K(it),Ue=Xe):(G=Ue,Ue=r)):(G=Ue,Ue=r)}else G=Ue,Ue=r;return qe[mt]={nextPos:G,result:Ue},Ue}())===r&&(De=function(){var Ue,Xe,it,He,rt,ft,mt,ct=30*G+16,ht=qe[ct];if(ht)return G=ht.nextPos,ht.result;for(Ue=G,Xe=G,it=[],ke.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(Z));He!==r;)it.push(He),ke.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(Z));if(it!==r?(p.charCodeAt(G)===46?(He=".",G++):(He=r,Qe(B)),He!==r?Xe=it=[it,He]:(G=Xe,Xe=r)):(G=Xe,Xe=r),Xe===r&&(Xe=null),Xe!==r){if(it=[],ke.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(Z)),He!==r)for(;He!==r;)it.push(He),ke.test(p.charAt(G))?(He=p.charAt(G),G++):(He=r,Qe(Z));else it=r;it!==r?(ft=it,mt=(rt=Xe)?[].concat.apply([],rt).join(""):"",Xe={type:"literal",value:parseFloat(mt+ft.join(""))},Ue=Xe):(G=Ue,Ue=r)}else G=Ue,Ue=r;return qe[ct]={nextPos:G,result:Ue},Ue}())===r&&(De=function(){var Ue,Xe,it=30*G+17,He=qe[it];return He?(G=He.nextPos,He.result):((Xe=bt())!==r&&(Xe={type:"literal",value:Xe}),Ue=Xe,qe[it]={nextPos:G,result:Ue},Ue)}()),De!==r?(pe=F(pe,ve,De),de=pe):(G=de,de=r)):(G=de,de=r),de===r&&(de=G,(pe=V())!==r&&(pe={type:"attribute",name:pe}),de=pe)),qe[Fe]={nextPos:G,result:de},de)}())!==r&&Ye()!==r?(p.charCodeAt(G)===93?(Ie="]",G++):(Ie=r,Qe(E)),Ie!==r?ue=be=Oe:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe,Ie,Ge,ze,de,pe,ve=30*G+21,De=qe[ve];if(De)return G=De.nextPos,De.result;if(ue=G,p.charCodeAt(G)===46?(be=".",G++):(be=r,Qe(B)),be!==r)if((Oe=bt())!==r){for(Ie=[],Ge=G,p.charCodeAt(G)===46?(ze=".",G++):(ze=r,Qe(B)),ze!==r&&(de=bt())!==r?Ge=ze=[ze,de]:(G=Ge,Ge=r);Ge!==r;)Ie.push(Ge),Ge=G,p.charCodeAt(G)===46?(ze=".",G++):(ze=r,Qe(B)),ze!==r&&(de=bt())!==r?Ge=ze=[ze,de]:(G=Ge,Ge=r);Ie!==r?(pe=Oe,be={type:"field",name:Ie.reduce(function(Fe,st){return Fe+st[0]+st[1]},pe)},ue=be):(G=ue,ue=r)}else G=ue,ue=r;else G=ue,ue=r;return qe[ve]={nextPos:G,result:ue},ue}())===r&&(te=function(){var ue,be,Oe,Ie,Ge=30*G+22,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,p.substr(G,5)===":not("?(be=":not(",G+=5):(be=r,Qe(ee)),be!==r&&Ye()!==r&&(Oe=We())!==r&&Ye()!==r?(p.charCodeAt(G)===41?(Ie=")",G++):(Ie=r,Qe(ce)),Ie!==r?ue=be={type:"not",selectors:Oe}:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe,Ie,Ge=30*G+23,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,p.substr(G,9)===":matches("?(be=":matches(",G+=9):(be=r,Qe(ne)),be!==r&&Ye()!==r&&(Oe=We())!==r&&Ye()!==r?(p.charCodeAt(G)===41?(Ie=")",G++):(Ie=r,Qe(ce)),Ie!==r?ue=be={type:"matches",selectors:Oe}:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe,Ie,Ge=30*G+24,ze=qe[Ge];return ze?(G=ze.nextPos,ze.result):(ue=G,p.substr(G,5)===":has("?(be=":has(",G+=5):(be=r,Qe(Ae)),be!==r&&Ye()!==r&&(Oe=We())!==r&&Ye()!==r?(p.charCodeAt(G)===41?(Ie=")",G++):(Ie=r,Qe(ce)),Ie!==r?ue=be={type:"has",selectors:Oe}:(G=ue,ue=r)):(G=ue,ue=r),qe[Ge]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe=30*G+25,Ie=qe[Oe];return Ie?(G=Ie.nextPos,Ie.result):(p.substr(G,12)===":first-child"?(be=":first-child",G+=12):(be=r,Qe(z)),be!==r&&(be=Y(1)),ue=be,qe[Oe]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe=30*G+26,Ie=qe[Oe];return Ie?(G=Ie.nextPos,Ie.result):(p.substr(G,11)===":last-child"?(be=":last-child",G+=11):(be=r,Qe(oe)),be!==r&&(be=le(1)),ue=be,qe[Oe]={nextPos:G,result:ue},ue)}())===r&&(te=function(){var ue,be,Oe,Ie,Ge,ze=30*G+27,de=qe[ze];if(de)return G=de.nextPos,de.result;if(ue=G,p.substr(G,11)===":nth-child("?(be=":nth-child(",G+=11):(be=r,Qe(Te)),be!==r)if(Ye()!==r){if(Oe=[],ke.test(p.charAt(G))?(Ie=p.charAt(G),G++):(Ie=r,Qe(Z)),Ie!==r)for(;Ie!==r;)Oe.push(Ie),ke.test(p.charAt(G))?(Ie=p.charAt(G),G++):(Ie=r,Qe(Z));else Oe=r;Oe!==r&&(Ie=Ye())!==r?(p.charCodeAt(G)===41?(Ge=")",G++):(Ge=r,Qe(ce)),Ge!==r?(be=Y(parseInt(Oe.join(""),10)),ue=be):(G=ue,ue=r)):(G=ue,ue=r)}else G=ue,ue=r;else G=ue,ue=r;return qe[ze]={nextPos:G,result:ue},ue}())===r&&(te=function(){var ue,be,Oe,Ie,Ge,ze=30*G+28,de=qe[ze];if(de)return G=de.nextPos,de.result;if(ue=G,p.substr(G,16)===":nth-last-child("?(be=":nth-last-child(",G+=16):(be=r,Qe(Re)),be!==r)if(Ye()!==r){if(Oe=[],ke.test(p.charAt(G))?(Ie=p.charAt(G),G++):(Ie=r,Qe(Z)),Ie!==r)for(;Ie!==r;)Oe.push(Ie),ke.test(p.charAt(G))?(Ie=p.charAt(G),G++):(Ie=r,Qe(Z));else Oe=r;Oe!==r&&(Ie=Ye())!==r?(p.charCodeAt(G)===41?(Ge=")",G++):(Ge=r,Qe(ce)),Ge!==r?(be=le(parseInt(Oe.join(""),10)),ue=be):(G=ue,ue=r)):(G=ue,ue=r)}else G=ue,ue=r;else G=ue,ue=r;return qe[ze]={nextPos:G,result:ue},ue}())===r&&(te=function(){var ue,be,Oe,Ie=30*G+29,Ge=qe[Ie];return Ge?(G=Ge.nextPos,Ge.result):(ue=G,p.charCodeAt(G)===58?(be=":",G++):(be=r,Qe(Pe)),be!==r&&(Oe=bt())!==r?ue=be={type:"class",name:Oe}:(G=ue,ue=r),qe[Ie]={nextPos:G,result:ue},ue)}()),qe[q]={nextPos:G,result:te},te)}function V(){var te,q,se,ue,be,Oe,Ie,Ge,ze=30*G+13,de=qe[ze];if(de)return G=de.nextPos,de.result;if(te=G,(q=bt())!==r){for(se=[],ue=G,p.charCodeAt(G)===46?(be=".",G++):(be=r,Qe(B)),be!==r&&(Oe=bt())!==r?ue=be=[be,Oe]:(G=ue,ue=r);ue!==r;)se.push(ue),ue=G,p.charCodeAt(G)===46?(be=".",G++):(be=r,Qe(B)),be!==r&&(Oe=bt())!==r?ue=be=[be,Oe]:(G=ue,ue=r);se!==r?(Ie=q,Ge=se,te=q=[].concat.apply([Ie],Ge).join("")):(G=te,te=r)}else G=te,te=r;return qe[ze]={nextPos:G,result:te},te}function Y(te){return{type:"nth-child",index:{type:"literal",value:te}}}function le(te){return{type:"nth-last-child",index:{type:"literal",value:te}}}if((e=s())!==r&&G===p.length)return e;throw e!==r&&G<p.length&&Qe({type:"end"}),l=et,f=lt<p.length?p.charAt(lt):null,o=lt<p.length?tt(lt,lt+1):tt(lt,lt),new t(t.buildMessage(l,f),l,f,o)}}}())});function Jt(m,t){for(var p=0;p<t.length;++p){if(m==null)return m;m=m[t[p]]}return m}var Af=typeof WeakMap=="function"?new WeakMap:null;function jt(m){if(m==null)return function(){return!0};if(Af!=null){var t=Af.get(m);return t!=null||(t=US(m),Af.set(m,t)),t}return US(m)}function US(m){switch(m.type){case"wildcard":return function(){return!0};case"identifier":var t=m.value.toLowerCase();return function(E,A,C){var w=C&&C.nodeTypeKey||"type";return t===E[w].toLowerCase()};case"field":var p=m.name.split(".");return function(E,A){return function C(w,k,R,P){for(var B=k,F=P;F<R.length;++F){if(B==null)return!1;var O=B[R[F]];if(Array.isArray(O)){for(var $=0;$<O.length;++$)if(C(w,O[$],R,F+1))return!0;return!1}B=O}return w===B}(E,A[p.length-1],p,0)};case"matches":var d=m.selectors.map(jt);return function(E,A,C){for(var w=0;w<d.length;++w)if(d[w](E,A,C))return!0;return!1};case"compound":var e=m.selectors.map(jt);return function(E,A,C){for(var w=0;w<e.length;++w)if(!e[w](E,A,C))return!1;return!0};case"not":var l=m.selectors.map(jt);return function(E,A,C){for(var w=0;w<l.length;++w)if(l[w](E,A,C))return!1;return!0};case"has":var f=m.selectors.map(jt);return function(E,A,C){var w=!1,k=[];return sn.traverse(E,{enter:function(R,P){P!=null&&k.unshift(P);for(var B=0;B<f.length;++B)if(f[B](R,k,C))return w=!0,void this.break()},leave:function(){k.shift()},keys:C&&C.visitorKeys,fallback:C&&C.fallback||"iteration"}),w};case"child":var o=jt(m.left),r=jt(m.right);return function(E,A,C){return!!(A.length>0&&r(E,A,C))&&o(A[0],A.slice(1),C)};case"descendant":var u=jt(m.left),s=jt(m.right);return function(E,A,C){if(s(E,A,C)){for(var w=0,k=A.length;w<k;++w)if(u(A[w],A.slice(w+1),C))return!0}return!1};case"attribute":var a=m.name.split(".");switch(m.operator){case void 0:return function(E){return Jt(E,a)!=null};case"=":switch(m.value.type){case"regexp":return function(E){var A=Jt(E,a);return typeof A=="string"&&m.value.value.test(A)};case"literal":var c="".concat(m.value.value);return function(E){return c==="".concat(Jt(E,a))};case"type":return function(E){return m.value.value===qr(Jt(E,a))}}throw new Error("Unknown selector value type: ".concat(m.value.type));case"!=":switch(m.value.type){case"regexp":return function(E){return!m.value.value.test(Jt(E,a))};case"literal":var n="".concat(m.value.value);return function(E){return n!=="".concat(Jt(E,a))};case"type":return function(E){return m.value.value!==qr(Jt(E,a))}}throw new Error("Unknown selector value type: ".concat(m.value.type));case"<=":return function(E){return Jt(E,a)<=m.value.value};case"<":return function(E){return Jt(E,a)<m.value.value};case">":return function(E){return Jt(E,a)>m.value.value};case">=":return function(E){return Jt(E,a)>=m.value.value}}throw new Error("Unknown operator: ".concat(m.operator));case"sibling":var i=jt(m.left),h=jt(m.right);return function(E,A,C){return h(E,A,C)&&qS(E,i,A,"LEFT_SIDE",C)||m.left.subject&&i(E,A,C)&&qS(E,h,A,"RIGHT_SIDE",C)};case"adjacent":var g=jt(m.left),v=jt(m.right);return function(E,A,C){return v(E,A,C)&&VS(E,g,A,"LEFT_SIDE",C)||m.right.subject&&g(E,A,C)&&VS(E,v,A,"RIGHT_SIDE",C)};case"nth-child":var S=m.index.value,b=jt(m.right);return function(E,A,C){return b(E,A,C)&&$S(E,A,S,C)};case"nth-last-child":var T=-m.index.value,x=jt(m.right);return function(E,A,C){return x(E,A,C)&&$S(E,A,T,C)};case"class":return function(E,A,C){if(C&&C.matchClass)return C.matchClass(m.name,E,A);if(C&&C.nodeTypeKey)return!1;switch(m.name.toLowerCase()){case"statement":if(E.type.slice(-9)==="Statement")return!0;case"declaration":return E.type.slice(-11)==="Declaration";case"pattern":if(E.type.slice(-7)==="Pattern")return!0;case"expression":return E.type.slice(-10)==="Expression"||E.type.slice(-7)==="Literal"||E.type==="Identifier"&&(A.length===0||A[0].type!=="MetaProperty")||E.type==="MetaProperty";case"function":return E.type==="FunctionDeclaration"||E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"}throw new Error("Unknown class name: ".concat(m.name))}}throw new Error("Unknown selector type: ".concat(m.type))}function wf(m,t){var p=t&&t.nodeTypeKey||"type",d=m[p];return t&&t.visitorKeys&&t.visitorKeys[d]?t.visitorKeys[d]:sn.VisitorKeys[d]?sn.VisitorKeys[d]:t&&typeof t.fallback=="function"?t.fallback(m):Object.keys(m).filter(function(e){return e!==p})}function Tf(m,t){var p=t&&t.nodeTypeKey||"type";return m!==null&&qr(m)==="object"&&typeof m[p]=="string"}function qS(m,t,p,d,e){var l=xf(p,1)[0];if(!l)return!1;for(var f=wf(l,e),o=0;o<f.length;++o){var r=l[f[o]];if(Array.isArray(r)){var u=r.indexOf(m);if(u<0)continue;var s=void 0,a=void 0;d==="LEFT_SIDE"?(s=0,a=u):(s=u+1,a=r.length);for(var c=s;c<a;++c)if(Tf(r[c],e)&&t(r[c],p,e))return!0}}return!1}function VS(m,t,p,d,e){var l=xf(p,1)[0];if(!l)return!1;for(var f=wf(l,e),o=0;o<f.length;++o){var r=l[f[o]];if(Array.isArray(r)){var u=r.indexOf(m);if(u<0)continue;if(d==="LEFT_SIDE"&&u>0&&Tf(r[u-1],e)&&t(r[u-1],p,e)||d==="RIGHT_SIDE"&&u<r.length-1&&Tf(r[u+1],e)&&t(r[u+1],p,e))return!0}}return!1}function $S(m,t,p,d){if(p===0)return!1;var e=xf(t,1)[0];if(!e)return!1;for(var l=wf(e,d),f=0;f<l.length;++f){var o=e[l[f]];if(Array.isArray(o)){var r=p<0?o.length+p:p-1;if(r>=0&&r<o.length&&o[r]===m)return!0}}return!1}function WS(m,t,p,d){if(t){var e=[],l=jt(t),f=function o(r,u){if(r==null||qr(r)!="object")return[];u==null&&(u=r);for(var s=r.subject?[u]:[],a=Object.keys(r),c=0;c<a.length;++c){var n=a[c],i=r[n];s.push.apply(s,aD(o(i,n==="left"?i:u)))}return s}(t).map(jt);sn.traverse(m,{enter:function(o,r){if(r!=null&&e.unshift(r),l(o,e,d))if(f.length)for(var u=0,s=f.length;u<s;++u){f[u](o,e,d)&&p(o,r,e);for(var a=0,c=e.length;a<c;++a){var n=e.slice(a+1);f[u](e[a],n,d)&&p(e[a],r,n)}}else p(o,r,e)},leave:function(){e.shift()},keys:d&&d.visitorKeys,fallback:d&&d.fallback||"iteration"})}}function GS(m,t,p){var d=[];return WS(m,t,function(e){d.push(e)},p),d}function zS(m){return iD.parse(m)}function vr(m,t,p){return GS(m,zS(t),p)}vr.parse=zS,vr.match=GS,vr.traverse=WS,vr.matches=function(m,t,p,d){return!t||!!m&&(p||(p=[]),jt(t)(m,p,d))},vr.query=vr;var kf,HS;function oD(){if(HS)return kf;HS=1;const m=vr;class t{source;isExit;root;nodeTypes;attributeCount;identifierCount;constructor(a,c,n,i,h,g){this.source=a,this.isExit=c,this.root=n,this.nodeTypes=i,this.attributeCount=h,this.identifierCount=g}compare(a){return this.attributeCount-a.attributeCount||this.identifierCount-a.identifierCount||(this.source<=a.source?-1:1)}}const p=new Map;function d(...s){return[...new Set(s.flat())]}function e(...s){if(s.length===0)return[];let a=[...new Set(s[0])];for(const c of s.slice(1))a=a.filter(n=>c.includes(n));return a}function l(s){let a=0,c=0;function n(h){switch(h.type){case"identifier":return c++,[h.value];case"not":return h.selectors.map(n),null;case"matches":{const g=h.selectors.map(n);return g.every(Boolean)?d(...g):null}case"compound":{const g=h.selectors.map(n).filter(v=>v);return g.length?e(...g):null}case"attribute":case"field":case"nth-child":case"nth-last-child":return a++,null;case"child":case"descendant":case"sibling":case"adjacent":return n(h.left),n(h.right);case"class":return h.name==="function"?["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]:null;default:return null}}return{nodeTypes:n(s),attributeCount:a,identifierCount:c}}function f(s){return s==="*"?{type:"wildcard",value:"*"}:/^[a-z]+$/iu.test(s)?{type:"identifier",value:s}:null}function o(s){try{return m.parse(s)}catch(a){throw a.location&&a.location.start&&typeof a.location.start.offset=="number"?new SyntaxError(`Syntax error in selector "${s}" at position ${a.location.start.offset}: ${a.message}`,{cause:a}):a}}function r(s){if(p.has(s))return p.get(s);const a=s.replace(/:exit$/u,""),c=f(a)??o(a),{nodeTypes:n,attributeCount:i,identifierCount:h}=l(c),g=new t(s,s.endsWith(":exit"),c,n,i,h);return p.set(s,g),g}function u(s,a,c,n){return m.matches(s,a,c,n)}return kf={parse:r,matches:u,ESQueryParsedSelector:t},kf}var Df,KS;function lD(){if(KS)return Df;KS=1;const{parse:m,matches:t}=oD(),p=Rr(),d=1,e=2;function l(r,u){return r.compare(u)}class f{constructor(u,s){this.visitor=u,this.esqueryOptions=s,this.enterSelectorsByNodeType=new Map,this.exitSelectorsByNodeType=new Map,this.anyTypeEnterSelectors=[],this.anyTypeExitSelectors=[],u.forEachName(a=>{const c=m(a);if(c.nodeTypes){const i=c.isExit?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType;c.nodeTypes.forEach(h=>{i.has(h)||i.set(h,[]),i.get(h).push(c)});return}(c.isExit?this.anyTypeExitSelectors:this.anyTypeEnterSelectors).push(c)}),this.anyTypeEnterSelectors.sort(l),this.anyTypeExitSelectors.sort(l),this.enterSelectorsByNodeType.forEach(a=>a.sort(l)),this.exitSelectorsByNodeType.forEach(a=>a.sort(l))}matches(u,s,a){return t(u,a.root,s,this.esqueryOptions)}calculateSelectors(u,s,a){const c=this.esqueryOptions?.nodeTypeKey||"type",n=[],i=(a?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType).get(u[c])||[],h=a?this.anyTypeExitSelectors:this.anyTypeEnterSelectors;let g=0,v=0;for(;g<i.length||v<h.length;){const S=g<i.length,b=v<h.length,T=h[v],x=i[g],E=b&&S&&T.compare(x)<0;!S||E?(v++,this.matches(u,s,T)&&n.push(T.source)):(g++,this.matches(u,s,x)&&n.push(x.source))}return n}}class o{#e;static instances=new WeakMap;constructor(u){this.#e=u}static getInstance(u){return this.instances.has(u)||this.instances.set(u,new this(u)),this.instances.get(u)}traverseSync(u,s,{steps:a}={}){const c=new f(s,{visitorKeys:u.visitorKeys??this.#e.visitorKeys,fallback:p.getKeys,matchClass:this.#e.matchesSelectorClass??(()=>!1),nodeTypeKey:this.#e.nodeTypeKey}),n=[];for(const i of a??u.traverse())switch(i.kind){case d:{try{i.phase===1?(c.calculateSelectors(i.target,n,!1).forEach(h=>{s.callSync(h,...i.args??[i.target])}),n.unshift(i.target)):(n.shift(),c.calculateSelectors(i.target,n,!0).forEach(h=>{s.callSync(h,...i.args??[i.target])}))}catch(h){throw h.currentNode=i.target,h}break}case e:{s.callSync(i.target,...i.args);break}default:throw new Error(`Invalid traversal step found: "${i.kind}".`)}}}return Df={SourceCodeTraverser:o},Df}var If,XS;function uD(){if(XS)return If;XS=1;function m(p,d){return{range:[p,p],text:d}}class t{#e;constructor({sourceCode:d}){this.#e=d}insertTextAfter(d,e){const l=this.#e.getRange(d);return this.insertTextAfterRange(l,e)}insertTextAfterRange(d,e){return m(d[1],e)}insertTextBefore(d,e){const l=this.#e.getRange(d);return this.insertTextBeforeRange(l,e)}insertTextBeforeRange(d,e){return m(d[0],e)}replaceText(d,e){const l=this.#e.getRange(d);return this.replaceTextRange(l,e)}replaceTextRange(d,e){return{range:d,text:e}}remove(d){const e=this.#e.getRange(d);return this.removeRange(e)}removeRange(d){return{range:d,text:""}}}return If={RuleFixer:t},If}var Pf,JS;function cD(){if(JS)return Pf;JS=1;function m(){return/\{\{([^{}]+)\}\}/gu}function t(p,d){if(!d)return p;const e=m();return p.replace(e,(l,f)=>{const o=f.trim();return o in d?d[o]:l})}return Pf={getPlaceholderMatcher:m,interpolate:t},Pf}var Ff,QS;function fD(){if(QS)return Ff;QS=1;const m=Zr(),{RuleFixer:t}=uD(),{interpolate:p}=cD(),d=Cm,e={start:{line:1,column:0},end:{line:1,column:1}};function l({line:x,column:E,endLine:A,endColumn:C},w){const k=w.columnStart===1?0:1,R=w.lineStart===1?0:1,P=A===void 0?A:A+R,B=C===void 0?C:C+k;return{line:x+R,column:E+k,endLine:P,endColumn:B}}function f(x){return Object.hasOwn(d.rules,x)?`Rule '${x}' was removed and replaced by: ${d.rules[x].join(", ")}`:`Definition for rule '${x}' was not found.`}function o(x,E,A){const{ruleId:C=null,loc:w=e,message:k=f(x.ruleId)}=x;return{ruleId:C,message:k,...l({line:w.start.line,column:w.start.column,endLine:w.end.line,endColumn:w.end.column},A),severity:E,nodeType:null}}function r(...x){return x.length===1?Object.assign({},x[0]):typeof x[1]=="string"?{node:x[0],message:x[1],data:x[2],fix:x[3]}:{node:x[0],loc:x[1],message:x[2],data:x[3],fix:x[4]}}function u(x){x.node?m(typeof x.node=="object","Node must be an object"):m(x.loc,"Node must be provided when reporting error if location is not provided")}function s(x){return x.loc.start?x.loc:{start:x.loc,end:null}}function a(x){return x?{range:[x.range[0],x.range[1]],text:x.text}:null}function c(x){x&&m(x.range&&typeof x.range[0]=="number"&&typeof x.range[1]=="number",`Fix has invalid range: ${JSON.stringify(x,null,2)}`)}function n(x,E){return x.range[0]-E.range[0]||x.range[1]-E.range[1]}function i(x,E){for(const P of x)c(P);if(x.length===0)return null;if(x.length===1)return a(x[0]);x.sort(n);const A=E.text,C=x[0].range[0],w=x.at(-1).range[1];let k="",R=Number.MIN_SAFE_INTEGER;for(const P of x)m(P.range[0]>=R,"Fix objects must not be overlapped in a report."),P.range[0]>=0&&(k+=A.slice(Math.max(0,C,R),P.range[0])),k+=P.text,R=P.range[1];return k+=A.slice(Math.max(0,C,R),w),{range:[C,w],text:k}}function h(x,E){if(typeof x.fix!="function")return null;const A=new t({sourceCode:E}),C=x.fix(A);return C&&Symbol.iterator in C?i(Array.from(C),E):(c(C),a(C))}function g(x,E,A){return!x.suggest||!Array.isArray(x.suggest)?[]:x.suggest.map(C=>{const w=C.desc||A[C.messageId];return{...C,desc:p(w,C.data),fix:h(C,E)}}).filter(({fix:C})=>C)}function v(x){const{language:E}=x,A=E.columnStart===1?0:1,C=E.lineStart===1?0:1,w={ruleId:x.ruleId,severity:x.severity,message:x.message,line:x.loc.start.line+C,column:x.loc.start.column+A,nodeType:x.node&&x.node.type||null};return x.messageId&&(w.messageId=x.messageId),x.loc.end&&(w.endLine=x.loc.end.line+C,w.endColumn=x.loc.end.column+A),x.fix&&(w.fix=x.fix),x.suggestions&&x.suggestions.length>0&&(w.suggestions=x.suggestions),w}function S(x,E){x&&Array.isArray(x)&&x.forEach(A=>{if(A.messageId){const{messageId:C}=A;if(!E)throw new TypeError(`context.report() called with a suggest option with a messageId '${C}', but no messages were present in the rule metadata.`);if(!E[C])throw new TypeError(`context.report() called with a suggest option with a messageId '${C}' which is not present in the 'messages' config: ${JSON.stringify(E,null,2)}`);if(A.desc)throw new TypeError("context.report() called with a suggest option that defines both a 'messageId' and an 'desc'. Please only pass one.")}else if(!A.desc)throw new TypeError("context.report() called with a suggest option that doesn't have either a `desc` or `messageId`");if(typeof A.fix!="function")throw new TypeError(`context.report() called with a suggest option without a fix function. See: ${JSON.stringify(A,null,2)}`)})}function b(x,E){if(x.messageId){if(!E)throw new TypeError("context.report() called with a messageId, but no messages were present in the rule metadata.");const A=x.messageId;if(x.message)throw new TypeError("context.report() called with a message and a messageId. Please only pass one.");if(!E||!Object.hasOwn(E,A))throw new TypeError(`context.report() called with a messageId of '${A}' which is not present in the 'messages' config: ${JSON.stringify(E,null,2)}`);return E[A]}if(x.message)return x.message;throw new TypeError("Missing `message` property in report() call; add a message that describes the linting problem.")}class T{messages=[];#e;#t;#r;#n;constructor({ruleMapper:E,sourceCode:A,language:C,disableFixes:w=!1}){this.#e=E,this.#t=A,this.#r=C,this.#n=w}addRuleMessage(E,A,...C){const w=r(...C),R=this.#e(E)?.meta?.messages;u(w);const P=b(w,R);return S(w.suggest,R),this.messages.push(v({ruleId:E,severity:A,node:w.node,message:p(P,w.data),messageId:w.messageId,loc:w.loc?s(w):this.#t.getLoc(w.node),fix:this.#n?null:h(w,this.#t),suggestions:this.#n?[]:g(w,this.#t,R),language:this.#r})),this.messages.at(-1)}addError(E){const A=o(E,2,this.#r);return this.messages.push(A),A}addFatal(E){const A=o(E,2,this.#r);return A.fatal=!0,this.messages.push(A),A}addWarning(E){const A=o(E,1,this.#r);return this.messages.push(A),A}}return Ff={FileReport:T,updateLocationInformation:l},Ff}var Rf,YS;function pD(){if(YS)return Rf;YS=1;const m=zr,t=ln(),p=Rr(),d=Xr(),e=Nb(),l=jb,{Legacy:{ConfigOps:f,ConfigValidator:o,environments:r}}=hx(),u=us(),{SourceCode:s}=Yd(),a=pC(),{ConfigCommentParser:c}=Xd(),n=zk(),i=Hk(),{SourceCodeVisitor:h}=Kk(),g=Xk(),{FlatConfigArray:v}=Yk(),{startTime:S,endTime:b}=CS(),{assertIsRuleSeverity:T}=ta(),{normalizeSeverityToString:x,normalizeSeverityToNumber:E}=nm(),{deepMergeArrays:A}=tm(),C=kS(),{activeFlags:w,inactiveFlags:k,getInactivityReasonMessage:R}=Zk(),P=hr()("eslint:linter"),B=10,F="espree",O=5,$=new c,N=Symbol.for("eslint.RuleTester.parser"),{LATEST_ECMA_VERSION:_}=ba(),{VFile:X}=RS(),{ParserService:L}=eD(),{FileContext:K}=tD(),{ProcessorService:J}=rD(),{containsDifferentProperty:ge}=nD(),{Config:ae}=da(),{WarningService:ke}=sD(),{SourceCodeTraverser:Z}=lD(),{FileReport:I,updateLocationInformation:H}=fD();function fe(Ke){return Ke===d||Ke[N]===d}function ce(Ke,We,{exportedVariables:Ee,enabledGlobals:j}){for(const U of new Set([...Object.keys(We),...Object.keys(j)])){const V=We[U]===void 0?void 0:f.normalizeConfigGlobal(We[U]),le=j[U]&&j[U].value||V,te=j[U]&&j[U].comments;if(le==="off")continue;let q=Ke.set.get(U);q||(q=new t.Variable(U,Ke),Ke.variables.push(q),Ke.set.set(U,q)),q.eslintImplicitGlobalSetting=V,q.eslintExplicitGlobal=te!==void 0,q.eslintExplicitGlobalComments=te,q.writeable=le==="writable"}Object.keys(Ee).forEach(U=>{const V=Ke.set.get(U);V&&(V.eslintUsed=!0,V.eslintExported=!0)}),Ke.through=Ke.through.filter(U=>{const V=U.identifier.name,Y=Ke.set.get(V);return Y?(U.resolved=Y,Y.references.push(U),!1):!0})}function ie(Ke){return Array.isArray(Ke)?Ke:[Ke]}function he(Ke,We,Ee,j,U,V,Y){const le=Ke.rules?.[j],te=le?ie(le):["off"],q=x(te[0]),se=x(U[0]);if(!(q===se))return;const be=le?`is already configured to '${q}'`:"is not enabled so can't be turned off";let Oe;if(te.length===1&&U.length===1||q==="off"?Oe=`Unused inline config ('${j}' ${be}).`:ge(U.slice(1),te.slice(1))||(Oe=V.length===1?`Unused inline config ('${j}' ${be}).`:`Unused inline config ('${j}' ${be} with the same options).`),Oe){const Ie=E(Y),Ge={message:Oe,loc:We};Ie===1?Ee.addWarning(Ge):Ie===2&&Ee.addError(Ge)}}function Se({type:Ke,value:We,justification:Ee,node:j},U,V,Y,le){const te=Object.keys($.parseListConfig(We)),q=te.length?te:[null],se=[],ue={node:j,value:We,ruleIds:te};for(const be of q){const Oe=Y.getLoc(j);if(be===null||U(be))if(Ke==="disable-next-line"){const{line:Ie,column:Ge}=H(Oe.end,V);se.push({parentDirective:ue,type:Ke,line:Ie,column:Ge,ruleId:be,justification:Ee})}else{const{line:Ie,column:Ge}=H(Oe.start,V);se.push({parentDirective:ue,type:Ke,line:Ie,column:Ge,ruleId:be,justification:Ee})}else le.addError({ruleId:be,loc:Oe})}return se}function xe(Ke,We,Ee,j,U){const V={},Y=Object.create(null),le={},te=[],q=new o({builtInRules:n});return Ke.getInlineConfigNodes().filter(se=>se.type!=="Shebang").forEach(se=>{const ue=$.parseDirective(se.value);if(!ue)return;const{label:be,value:Oe,justification:Ie}=ue,Ge=/^eslint-disable-(?:next-)?line$/u.test(be);if(se.type==="Line"&&!Ge)return;const ze=Ke.getLoc(se);if(Ee){const de=se.type==="Block"?`/*${be}*/`:`//${be}`;U.addWarning({ruleId:null,message:`'${de}' has no effect because you have 'noInlineConfig' setting in ${Ee}.`,loc:ze});return}if(be==="eslint-disable-line"&&ze.start.line!==ze.end.line){const de=`${be} comment should not span multiple lines.`;U.addError({message:de,loc:ze});return}switch(be){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{const de=be.slice(7),pe=Se({type:de,value:Oe,justification:Ie,node:se},We,C,Ke,U);te.push(...pe);break}case"exported":Object.assign(le,$.parseListConfig(Oe));break;case"globals":case"global":for(const[de,pe]of Object.entries($.parseStringConfig(Oe))){let ve;try{ve=f.normalizeConfigGlobal(pe)}catch(De){U.addError({loc:ze,message:De.message});continue}Y[de]?(Y[de].comments.push(se),Y[de].value=ve):Y[de]={comments:[se],value:ve}}break;case"eslint":{const de=$.parseJSONLikeConfig(Oe);de.ok?Object.keys(de.config).forEach(pe=>{const ve=We(pe),De=de.config[pe];if(!ve){U.addError({ruleId:pe,loc:ze});return}if(Object.hasOwn(V,pe)){U.addError({message:`Rule "${pe}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:ze});return}let Fe=ie(De);Fe.length===1&&j.rules&&Object.hasOwn(j.rules,pe)&&(Fe=[Fe[0],...ie(j.rules[pe]).slice(1)]);try{q.validateRuleOptions(ve,pe,Fe)}catch(st){if(st.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw st;U.addError({ruleId:pe,message:st.message,loc:ze});return}V[pe]=Fe}):U.addFatal({loc:ze,message:de.error.message});break}}}),{configuredRules:V,enabledGlobals:Y,exportedVariables:le,disableDirectives:te}}function we(Ke,We,Ee,j){const U=[];if(Ke.getDisableDirectives){const{directives:V,problems:Y}=Ke.getDisableDirectives();Array.isArray(Y)&&Y.forEach(le=>j.addError(le)),V.forEach(le=>{const te=Se(le,We,Ee,Ke,j);U.push(...te)})}return U}function ee(Ke,We){return fe(Ke)&&We==="latest"?d.latestEcmaVersion:We>=2015?We-2009:We}function ne(Ke){switch(Ke){case 3:return 3;case 5:case void 0:return 5;default:if(typeof Ke=="number")return Ke>=2015?Ke:Ke+2009}return _}const Ae=/\/\*\s*eslint-env\s.+?(?:\*\/|$)/gsu;function z(Ke){let We,Ee;for(Ae.lastIndex=0;(We=Ae.exec(Ke))!==null;)We[0].endsWith("*/")&&(Ee=Object.assign(Ee||{},$.parseListConfig($.parseDirective(We[0].slice(2,-2)).value)));return Ee}function oe(Ke){const We=Ke.split(m.sep),Ee=We.lastIndexOf("<text>");return Ee===-1?Ke:We.slice(Ee).join(m.sep)}function Te(Ke,We){const Ee=We.linterOptions||We,j=Ee.noInlineConfig===!0,U=Ke.allowInlineConfig===!1,V=We.configNameOfNoInlineConfig?` (${We.configNameOfNoInlineConfig})`:"";let Y=Ke.reportUnusedDisableDirectives;typeof Y=="boolean"&&(Y=Y?"error":"off"),typeof Y!="string"&&(typeof Ee.reportUnusedDisableDirectives=="boolean"?Y=Ee.reportUnusedDisableDirectives?"warn":"off":Y=Ee.reportUnusedDisableDirectives===void 0?"off":x(Ee.reportUnusedDisableDirectives));const le=Ee.reportUnusedInlineConfigs===void 0?"off":x(Ee.reportUnusedInlineConfigs);let te=Ke.ruleFilter;return typeof te!="function"&&(te=()=>!0),{filename:oe(Ke.filename||"<input>"),allowInlineConfig:!U,warnInlineConfig:j&&!U?`your config${V}`:null,reportUnusedDisableDirectives:Y,reportUnusedInlineConfigs:le,disableFixes:!!Ke.disableFixes,stats:Ke.stats,ruleFilter:te}}function Re(Ke,We,Ee){const j=Ee.filter(Y=>Y.parserOptions).reduce((Y,le)=>e(Y,le.parserOptions),{}),U=e(j,We||{});return U.sourceType==="module"&&(U.ecmaFeatures=Object.assign({},U.ecmaFeatures,{globalReturn:!1})),U.ecmaVersion=ee(Ke,U.ecmaVersion),U}function Pe({globals:Ke,parser:We,parserOptions:Ee}){const{ecmaVersion:j,sourceType:U}=Ee;return{globals:Ke,ecmaVersion:ne(j),sourceType:U,parser:We,parserOptions:Ee}}function G(Ke,We){return Object.assign(Object.create(null),...We.filter(Ee=>Ee.globals).map(Ee=>Ee.globals),Ke)}function Je(Ke,We,Ee){const{type:j,key:U}=We;Ee.times||(Ee.times={passes:[{}]});const V=Ee.fixPasses;V>Ee.times.passes.length-1&&Ee.times.passes.push({}),U?(Ee.times.passes[V][j]??={},Ee.times.passes[V][j][U]??={total:0},Ee.times.passes[V][j][U].total+=Ke):(Ee.times.passes[V][j]??={total:0},Ee.times.passes[V][j].total+=Ke)}function lt(Ke,We){return Array.isArray(Ke)?A(We,Ke.slice(1)):We??[]}function et(Ke,We,Ee){const U=We.parserOptions.ecmaFeatures||{},V=We.ecmaVersion||O;return t.analyze(Ke,{ignoreEval:!0,nodejsScope:U.globalReturn,impliedStrict:U.impliedStrict,ecmaVersion:typeof V=="number"?V:6,sourceType:We.sourceType||"script",childVisitorKeys:p.KEYS,fallback:u.getKeys})}function qe(Ke,We){if(!Ke||typeof Ke!="object"||typeof Ke.create!="function")throw new TypeError(`Error while loading rule '${We.id}': Rule must be an object with a \`create\` method`);try{return Ke.create(We)}catch(Ee){throw Ee.message=`Error while loading rule '${We.id}': ${Ee.message}`,Ee}}function $e(Ke,We,Ee,j,U,V,Y,le,te,q,se,ue,be,Oe,Ie){const Ge=new h,ze=new K({cwd:q,filename:le,physicalFilename:se||le,sourceCode:Ke,parserOptions:{...V.parserOptions},parserPath:j,languageOptions:V,settings:Y}),de=Ke.traverse();return Object.keys(We).forEach(ve=>{const De=ae.getRuleNumericSeverity(We[ve]);if(De===0||ue&&!ue({ruleId:ve,severity:De}))return;const Fe=Ee(ve);if(!Fe){Ie.addError({ruleId:ve});return}const st=ze.extend({id:ve,options:lt(We[ve],te?Fe.meta?.defaultOptions:void 0),report(...He){const rt=Ie.addRuleMessage(ve,De,...He);if(rt.fix&&!(Fe.meta&&Fe.meta.fixable))throw new Error('Fixable rules must set the `meta.fixable` property to "code" or "whitespace".');if(rt.suggestions&&!(Fe.meta&&Fe.meta.hasSuggestions===!0))throw Fe.meta&&Fe.meta.docs&&typeof Fe.meta.docs.suggestion<"u"?new Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`. `meta.docs.suggestion` is ignored by ESLint."):new Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`.")}}),Ue=g.enabled||be?g.time(ve,qe,be)(Fe,st):qe(Fe,st),Xe=be?Ue.result:Ue;be&&Je(Ue.tdiff,{type:"rules",key:ve},Oe);function it(He){return function(...ft){try{const mt=He(...ft),ct=be?mt.result:mt;return be&&Je(mt.tdiff,{type:"rules",key:ve},Oe),ct}catch(mt){throw mt.ruleId=ve,mt}}}if(typeof Xe>"u"||Xe===null)throw new Error(`The create() function for rule '${ve}' did not return an object.`);Object.keys(Xe).forEach(He=>{const rt=g.enabled||be?g.time(ve,Xe[He],be):Xe[He];Ge.add(He,it(rt))})}),Z.getInstance(U).traverseSync(Ke,Ge,{steps:de}),Ie}function nt(Ke){if(typeof Ke=="object"){const{hasBOM:We,text:Ee}=Ke;return(We?"\uFEFF":"")+Ee}return String(Ke)}function pt(Ke,We){return Ke.lastConfigArray&&Ke.lastConfigArray.pluginEnvironments.get(We)||r.get(We)||null}function tt(Ke,We){return Ke.lastConfigArray&&Ke.lastConfigArray.pluginRules.get(We)||Ke.ruleMap.get(We)}function Qe(Ke){if(Ke)return Ke;if(typeof Vt=="object")return Vt.cwd()}const vt=new WeakMap;function Ye(Ke){const{configType:We}=vt.get(Ke);if(We==="flat")throw new Error("This method cannot be used with flat config. Add your entries directly into the config array.")}class bt{constructor({cwd:We,configType:Ee="flat",flags:j=[],warningService:U=new ke}={}){const V=[];j.forEach(Y=>{if(k.has(Y)){const le=k.get(Y),te=R(le),q=`The flag '${Y}' is inactive: ${te}`;if(typeof le.replacedBy>"u")throw new Error(q);typeof le.replacedBy=="string"&&V.push(le.replacedBy),U.emitInactiveFlagWarning(Y,q);return}if(!w.has(Y))throw new Error(`Unknown flag '${Y}'.`);V.push(Y)}),vt.set(this,{cwd:Qe(We),flags:V,lastConfigArray:null,lastSourceCode:null,lastSuppressedMessages:[],configType:Ee,parserMap:new Map([["espree",d]]),ruleMap:new n,warningService:U}),this.version=l.version}static get version(){return l.version}hasFlag(We){return vt.get(this).flags.includes(We)}#e(We,Ee,j){const U=vt.get(this),V=Ee||{},Y=Te(j,V);let le=F,te=d;if(typeof V.parser=="object"&&V.parser!==null)le=V.parser.filePath,te=V.parser.definition;else if(typeof V.parser=="string"){if(!U.parserMap.has(V.parser))return[{ruleId:null,fatal:!0,severity:2,message:`Configured parser '${V.parser}' was not found.`,line:0,column:0,nodeType:null}];le=V.parser,te=U.parserMap.get(V.parser)}const q=Y.allowInlineConfig&&!Y.warnInlineConfig?z(We.body):{},se=Object.assign({builtin:!0},V.env,q),ue=Object.keys(se).filter(De=>se[De]).map(De=>pt(U,De)).filter(De=>De),be=Re(te,V.parserOptions||{},ue),Oe=G(V.globals||{},ue),Ie=V.settings||{},Ge=Pe({globals:V.globals,parser:te,parserOptions:be});if(U.lastSourceCode)U.lastSourceCode.scopeManager||(U.lastSourceCode=new s({text:U.lastSourceCode.text,ast:U.lastSourceCode.ast,hasBOM:U.lastSourceCode.hasBOM,parserServices:U.lastSourceCode.parserServices,visitorKeys:U.lastSourceCode.visitorKeys,scopeManager:et(U.lastSourceCode.ast,Ge)}));else{let De;Y.stats&&(De=S());const st=new L().parseSync(We,{language:C,languageOptions:Ge});if(Y.stats){const Ue=b(De);Je(Ue,{type:"parse"},U)}if(!st.ok)return st.errors;U.lastSourceCode=st.sourceCode}const ze=U.lastSourceCode,de=new I({ruleMapper:De=>tt(U,De),language:C,sourceCode:ze,disableFixes:Y.disableFixes}),pe=Y.allowInlineConfig?xe(ze,De=>tt(U,De),Y.warnInlineConfig,V,de):{configuredRules:{},enabledGlobals:{},exportedVariables:{},disableDirectives:[]};ce(ze.scopeManager.scopes[0],Oe,{exportedVariables:pe.exportedVariables,enabledGlobals:pe.enabledGlobals});const ve=Object.assign({},V.rules,pe.configuredRules);try{$e(ze,ve,De=>tt(U,De),le,C,Ge,Ie,Y.filename,!0,U.cwd,j.physicalFilename,null,Y.stats,U,de)}catch(De){if(De.message+=`
110
- Occurred while linting ${Y.filename}`,P("An error occurred while traversing"),P("Filename:",Y.filename),De.currentNode){const{line:Fe}=ze.getLoc(De.currentNode).start;P("Line:",Fe),De.message+=`:${Fe}`}throw P("Parser Options:",be),P("Parser Path:",le),P("Settings:",Ie),De.ruleId&&(De.message+=`
111
- Rule: "${De.ruleId}"`),De}return a({language:C,sourceCode:ze,directives:pe.disableDirectives,disableFixes:Y.disableFixes,problems:de.messages.sort((De,Fe)=>De.line-Fe.line||De.column-Fe.column),reportUnusedDisableDirectives:Y.reportUnusedDisableDirectives})}_verifyWithoutProcessors(We,Ee,j){const U=vt.get(this),V=oe(j.filename||"<input>");let Y;typeof We=="string"?(U.lastSourceCode=null,Y=We):(U.lastSourceCode=We,Y=We.text);const le=new X(V,Y,{physicalPath:j.physicalFilename});return this.#e(le,Ee,j)}verify(We,Ee,j){P("Verify");const{configType:U,cwd:V}=vt.get(this),Y=typeof j=="string"?{filename:j}:j||{},le=Ee??{};if(U!=="eslintrc"){let te=le;return(!Array.isArray(le)||typeof le.getConfig!="function")&&(te=new v(le,{basePath:V}),te.normalizeSync()),this._distinguishSuppressedMessages(this._verifyWithFlatConfigArray(We,te,Y,!0))}return typeof le.extractConfig=="function"?this._distinguishSuppressedMessages(this._verifyWithConfigArray(We,le,Y)):Y.preprocess||Y.postprocess?this._distinguishSuppressedMessages(this._verifyWithProcessor(We,le,Y)):this._distinguishSuppressedMessages(this._verifyWithoutProcessors(We,le,Y))}_verifyWithFlatConfigArrayAndProcessor(We,Ee,j,U){const V=vt.get(this),Y=j.filename||"<input>",le=oe(Y),te=j.physicalFilename||le,q=nt(We),se=new X(le,q,{physicalPath:te}),ue=j.preprocess||(ve=>[ve]),be=j.postprocess||(ve=>ve.flat()),Oe=new J,Ie=Oe.preprocessSync(se,{processor:{preprocess:ue,postprocess:be}});if(!Ie.ok)return Ie.errors;const Ge=j.filterCodeBlock||(ve=>ve.endsWith(".js")),ze=m.extname(Y),{files:de}=Ie,pe=de.map(ve=>(P("A code block was found: %o",ve.path||"(unnamed)"),typeof ve=="string"?this._verifyWithFlatConfigArrayAndWithoutProcessors(ve,Ee,j):Ge(ve.path,ve.body)?U&&(q!==ve.rawBody||m.extname(ve.path)!==ze)?(P("Resolving configuration again because the file content or extension was changed."),this._verifyWithFlatConfigArray(ve.rawBody,U,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(V.lastSourceCode=null,this.#t(ve,Ee,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(P("This code block was skipped."),[])));return Oe.postprocessSync(se,pe,{processor:{preprocess:ue,postprocess:be}})}#t(We,Ee,j){const U=vt.get(this),V=Ee||{},{settings:Y={},languageOptions:le}=V,te=Te(j,V);if(U.lastSourceCode)U.lastSourceCode.scopeManager===null&&(U.lastSourceCode=new s({text:U.lastSourceCode.text,ast:U.lastSourceCode.ast,hasBOM:U.lastSourceCode.hasBOM,parserServices:U.lastSourceCode.parserServices,visitorKeys:U.lastSourceCode.visitorKeys,scopeManager:et(U.lastSourceCode.ast,le)}));else{let Ie;te.stats&&(Ie=S());const ze=new L().parseSync(We,V);if(te.stats){const de=b(Ie);Je(de,{type:"parse"},U)}if(!ze.ok)return ze.errors;U.lastSourceCode=ze.sourceCode}const q=U.lastSourceCode,se=new I({ruleMapper:Ie=>V.getRuleDefinition(Ie),language:V.language,sourceCode:q,disableFixes:te.disableFixes});q.applyLanguageOptions?.(le);const ue={rules:{}};if(te.allowInlineConfig)if(te.warnInlineConfig)q.getInlineConfigNodes&&q.getInlineConfigNodes().forEach(Ie=>{const Ge=q.getLoc(Ie),ze=q.getRange(Ie);se.addWarning({message:`'${q.text.slice(ze[0],ze[1])}' has no effect because you have 'noInlineConfig' setting in ${te.warnInlineConfig}.`,loc:Ge})});else{const Ie=q.applyInlineConfig?.();if(Ie){Ie.problems.forEach(Ge=>{se.addFatal(Ge)});for(const{config:Ge,loc:ze}of Ie.configs)Object.keys(Ge.rules).forEach(de=>{const pe=V.getRuleDefinition(de),ve=Ge.rules[de];if(!pe){se.addError({ruleId:de,loc:ze});return}if(Object.hasOwn(ue.rules,de)){se.addError({message:`Rule "${de}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:ze});return}try{const De=ie(ve);let Fe=De;T(de,Fe[0]);let st=!0;if(Fe.length===1&&V.rules&&Object.hasOwn(V.rules,de))Fe=[Fe[0],...V.rules[de].slice(1)],V.rules[de][0]>0&&(st=!1);else{const Ue=Fe.slice(1),Xe=A(pe.meta?.defaultOptions,Ue);Xe.length&&(Fe=[Fe[0],...Xe])}te.reportUnusedInlineConfigs!=="off"&&he(V,ze,se,de,Fe,De,te.reportUnusedInlineConfigs),st&&V.validateRulesConfig({[de]:Fe}),ue.rules[de]=Fe}catch(De){if(De.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw De;let Fe=De.message.slice(De.message.startsWith('Key "rules":')?De.message.indexOf(":",12)+1:De.message.indexOf(":")+1).trim();De.messageTemplate&&(Fe+=` You passed "${ve}".`),se.addError({ruleId:de,message:`Inline configuration for rule "${de}" is invalid:
112
- ${Fe}
113
- `,loc:ze})}})}}const be=te.allowInlineConfig&&!te.warnInlineConfig?we(q,Ie=>V.getRuleDefinition(Ie),V.language,se):[],Oe=Object.assign({},V.rules,ue.rules);q.finalize?.();try{$e(q,Oe,Ie=>V.getRuleDefinition(Ie),void 0,V.language,le,Y,te.filename,!1,U.cwd,j.physicalFilename,te.ruleFilter,te.stats,U,se)}catch(Ie){if(Ie.message+=`
114
- Occurred while linting ${te.filename}`,P("An error occurred while traversing"),P("Filename:",te.filename),Ie.currentNode){const{line:Ge}=q.getLoc(Ie.currentNode).start;P("Line:",Ge),Ie.message+=`:${Ge}`}throw P("Parser Options:",le.parserOptions),P("Settings:",Y),Ie.ruleId&&(Ie.message+=`
115
- Rule: "${Ie.ruleId}"`),Ie}return a({language:V.language,sourceCode:q,directives:be,disableFixes:te.disableFixes,problems:se.messages.sort((Ie,Ge)=>Ie.line-Ge.line||Ie.column-Ge.column),reportUnusedDisableDirectives:te.reportUnusedDisableDirectives,ruleFilter:te.ruleFilter,configuredRules:Oe})}_verifyWithFlatConfigArrayAndWithoutProcessors(We,Ee,j){const U=vt.get(this),V=oe(j.filename||"<input>");let Y;typeof We=="string"?(U.lastSourceCode=null,Y=We):(U.lastSourceCode=We,Y=We.text);const le=new X(V,Y,{physicalPath:j.physicalFilename});return this.#t(le,Ee,j)}_verifyWithConfigArray(We,Ee,j){P("With ConfigArray: %s",j.filename),vt.get(this).lastConfigArray=Ee;const U=Ee.extractConfig(j.filename),V=U.processor&&Ee.pluginProcessors.get(U.processor);if(V){P("Apply the processor: %o",U.processor);const{preprocess:Y,postprocess:le,supportsAutofix:te}=V,q=j.disableFixes||!te;return this._verifyWithProcessor(We,U,{...j,disableFixes:q,postprocess:le,preprocess:Y},Ee)}return this._verifyWithoutProcessors(We,U,j)}_verifyWithFlatConfigArray(We,Ee,j,U=!1){P("With flat config: %s",j.filename);const V=j.filename||"__placeholder__.js";vt.get(this).lastConfigArray=Ee;const Y=Ee.getConfig(V);if(!Y)return[{ruleId:null,severity:1,message:`No matching configuration found for ${V}.`,line:0,column:0,nodeType:null}];if(Y.processor){P("Apply the processor: %o",Y.processor);const{preprocess:le,postprocess:te,supportsAutofix:q}=Y.processor,se=j.disableFixes||!q;return this._verifyWithFlatConfigArrayAndProcessor(We,Y,{...j,filename:V,disableFixes:se,postprocess:te,preprocess:le},Ee)}return U&&(j.preprocess||j.postprocess)?this._verifyWithFlatConfigArrayAndProcessor(We,Y,j):this._verifyWithFlatConfigArrayAndWithoutProcessors(We,Y,j)}_verifyWithProcessor(We,Ee,j,U){const V=vt.get(this),Y=j.filename||"<input>",le=oe(Y),te=j.physicalFilename||le,q=nt(We),se=new X(le,q,{physicalPath:te}),ue=j.preprocess||(ve=>[ve]),be=j.postprocess||(ve=>ve.flat()),Oe=new J,Ie=Oe.preprocessSync(se,{processor:{preprocess:ue,postprocess:be}});if(!Ie.ok)return Ie.errors;const Ge=j.filterCodeBlock||(ve=>ve.endsWith(".js")),ze=m.extname(Y),{files:de}=Ie,pe=de.map(ve=>(P("A code block was found: %o",ve.path??"(unnamed)"),typeof ve=="string"?this._verifyWithoutProcessors(ve,Ee,j):Ge(ve.path,ve.body)?U&&(q!==ve.rawBody||m.extname(ve.path)!==ze)?(P("Resolving configuration again because the file content or extension was changed."),this._verifyWithConfigArray(ve.rawBody,U,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(V.lastSourceCode=null,this.#e(ve,Ee,{...j,filename:ve.path,physicalFilename:ve.physicalPath})):(P("This code block was skipped."),[])));return Oe.postprocessSync(se,pe,{processor:{preprocess:ue,postprocess:be}})}_distinguishSuppressedMessages(We){const Ee=[],j=[],U=vt.get(this);for(const V of We)V.suppressions?j.push(V):Ee.push(V);return U.lastSuppressedMessages=j,Ee}getSourceCode(){return vt.get(this).lastSourceCode}getTimes(){return vt.get(this).times??{passes:[]}}getFixPassCount(){return vt.get(this).fixPasses??0}getSuppressedMessages(){return vt.get(this).lastSuppressedMessages}defineRule(We,Ee){Ye(this),vt.get(this).ruleMap.define(We,Ee)}defineRules(We){Ye(this),Object.getOwnPropertyNames(We).forEach(Ee=>{this.defineRule(Ee,We[Ee])})}getRules(){Ye(this);const{lastConfigArray:We,ruleMap:Ee}=vt.get(this);return new Map(function*(){yield*Ee,We&&(yield*We.pluginRules)}())}defineParser(We,Ee){Ye(this),vt.get(this).parserMap.set(We,Ee)}verifyAndFix(We,Ee,j){let U,V,Y=!1,le=0,te=We,q,se;const ue=j&&j.filename||`${We.slice(0,10)}...`,be=j&&typeof j.fix<"u"?j.fix:!0,Oe=j?.stats,Ie=vt.get(this);Oe&&(delete Ie.times,Ie.fixPasses=0);do{le++;let Ge;Oe&&(Ge=S()),P(`Linting code for ${ue} (pass ${le})`),U=this.verify(te,Ee,j),P(`Generating fixed text for ${ue} (pass ${le})`);let ze;if(Oe&&(ze=S()),V=i.applyFixes(te,U,be),Oe)if(V.fixed){const de=b(ze);Je(de,{type:"fix"},Ie),Ie.fixPasses++}else Je(0,{type:"fix"},Ie);if(U.length===1&&U[0].fatal)break;if(Y=Y||V.fixed,q=se,se=te,te=V.output,Oe){Ge=b(Ge);const de=Ie.times.passes.length-1;Ie.times.passes[de].total=Ge}if(le>1&&te.length===q.length&&te===q){P(`Circular fixes detected after pass ${le}. Exiting fix loop.`),Ie.warningService.emitCircularFixesWarning(j?.filename??"text");break}}while(V.fixed&&le<B);if(V.fixed){let Ge;Oe&&(Ge=S()),V.messages=this.verify(te,Ee,j),Oe&&(Je(0,{type:"fix"},Ie),Ie.times.passes.at(-1).total=b(Ge))}return V.fixed=Y,V.output=te,V}}return Rf={Linter:bt,getLinterInternalSlots(Ke){return vt.get(Ke)}},Rf}function dD(){return pD().Linter}var mD=dD();function hD(m){return m&&m.__esModule&&Object.prototype.hasOwnProperty.call(m,"default")?m.default:m}var gD={amd:{define:!1,require:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},astro:{Astro:!1},atomtest:{advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},browser:JSON.parse('{"AbortController":false,"AbortSignal":false,"AbsoluteOrientationSensor":false,"AbstractRange":false,"Accelerometer":false,"addEventListener":false,"ai":false,"AI":false,"AICreateMonitor":false,"AITextSession":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffect":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"AsyncDisposableStack":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioData":false,"AudioDecoder":false,"AudioDestinationNode":false,"AudioEncoder":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioParamMap":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioSinkInfo":false,"AudioWorklet":false,"AudioWorkletGlobalScope":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"AuthenticatorAssertionResponse":false,"AuthenticatorAttestationResponse":false,"AuthenticatorResponse":false,"BackgroundFetchManager":false,"BackgroundFetchRecord":false,"BackgroundFetchRegistration":false,"BarcodeDetector":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"Bluetooth":false,"BluetoothCharacteristicProperties":false,"BluetoothDevice":false,"BluetoothRemoteGATTCharacteristic":false,"BluetoothRemoteGATTDescriptor":false,"BluetoothRemoteGATTServer":false,"BluetoothRemoteGATTService":false,"BluetoothUUID":false,"blur":false,"BroadcastChannel":false,"BrowserCaptureMediaStreamTrack":false,"btoa":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStream":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"CaptureController":false,"CaretPosition":false,"CDATASection":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"ChapterInformation":false,"CharacterBoundsUpdateEvent":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"Clipboard":false,"ClipboardChangeEvent":false,"ClipboardEvent":false,"ClipboardItem":false,"close":false,"closed":false,"CloseEvent":false,"CloseWatcher":false,"CommandEvent":false,"Comment":false,"CompositionEvent":false,"CompressionStream":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ContentVisibilityAutoStateChangeEvent":false,"ConvolverNode":false,"CookieChangeEvent":false,"CookieDeprecationLabel":false,"cookieStore":false,"CookieStore":false,"CookieStoreManager":false,"CountQueuingStrategy":false,"createImageBitmap":false,"CreateMonitor":false,"Credential":false,"credentialless":false,"CredentialsContainer":false,"CropTarget":false,"crossOriginIsolated":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSPViolationReportBody":false,"CSS":false,"CSSAnimation":false,"CSSConditionRule":false,"CSSContainerRule":false,"CSSCounterStyleRule":false,"CSSFontFaceRule":false,"CSSFontFeatureValuesRule":false,"CSSFontPaletteValuesRule":false,"CSSFunctionDeclarations":false,"CSSFunctionDescriptors":false,"CSSFunctionRule":false,"CSSGroupingRule":false,"CSSImageValue":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSKeywordValue":false,"CSSLayerBlockRule":false,"CSSLayerStatementRule":false,"CSSMarginRule":false,"CSSMathClamp":false,"CSSMathInvert":false,"CSSMathMax":false,"CSSMathMin":false,"CSSMathNegate":false,"CSSMathProduct":false,"CSSMathSum":false,"CSSMathValue":false,"CSSMatrixComponent":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSNestedDeclarations":false,"CSSNumericArray":false,"CSSNumericValue":false,"CSSPageDescriptors":false,"CSSPageRule":false,"CSSPerspective":false,"CSSPositionTryDescriptors":false,"CSSPositionTryRule":false,"CSSPositionValue":false,"CSSPropertyRule":false,"CSSRotate":false,"CSSRule":false,"CSSRuleList":false,"CSSScale":false,"CSSScopeRule":false,"CSSSkew":false,"CSSSkewX":false,"CSSSkewY":false,"CSSStartingStyleRule":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSStyleValue":false,"CSSSupportsRule":false,"CSSTransformComponent":false,"CSSTransformValue":false,"CSSTransition":false,"CSSTranslate":false,"CSSUnitValue":false,"CSSUnparsedValue":false,"CSSVariableReferenceValue":false,"CSSViewTransitionRule":false,"currentFrame":false,"currentTime":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"CustomStateSet":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"DecompressionStream":false,"DelayNode":false,"DelegatedInkTrailPresenter":false,"DeviceMotionEvent":false,"DeviceMotionEventAcceleration":false,"DeviceMotionEventRotationRate":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"DevicePosture":false,"DigitalCredential":false,"dispatchEvent":false,"DisposableStack":false,"document":false,"Document":false,"DocumentFragment":false,"documentPictureInPicture":false,"DocumentPictureInPicture":false,"DocumentPictureInPictureEvent":false,"DocumentTimeline":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectList":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"EditContext":false,"Element":false,"ElementInternals":false,"EncodedAudioChunk":false,"EncodedVideoChunk":false,"ErrorEvent":false,"event":false,"Event":false,"EventCounts":false,"EventSource":false,"EventTarget":false,"external":false,"External":false,"EyeDropper":false,"FeaturePolicy":false,"FederatedCredential":false,"fence":false,"Fence":false,"FencedFrameConfig":false,"fetch":false,"fetchLater":false,"FetchLaterResult":false,"File":false,"FileList":false,"FileReader":false,"FileSystem":false,"FileSystemDirectoryEntry":false,"FileSystemDirectoryHandle":false,"FileSystemDirectoryReader":false,"FileSystemEntry":false,"FileSystemFileEntry":false,"FileSystemFileHandle":false,"FileSystemHandle":false,"FileSystemObserver":false,"FileSystemWritableFileStream":false,"find":false,"focus":false,"FocusEvent":false,"FontData":false,"FontFace":false,"FontFaceSet":false,"FontFaceSetLoadEvent":false,"FormData":false,"FormDataEvent":false,"FragmentDirective":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadAxisMoveEvent":false,"GamepadButton":false,"GamepadButtonEvent":false,"GamepadEvent":false,"GamepadHapticActuator":false,"GamepadPose":false,"Geolocation":false,"GeolocationCoordinates":false,"GeolocationPosition":false,"GeolocationPositionError":false,"getComputedStyle":false,"getScreenDetails":false,"getSelection":false,"GPU":false,"GPUAdapter":false,"GPUAdapterInfo":false,"GPUBindGroup":false,"GPUBindGroupLayout":false,"GPUBuffer":false,"GPUBufferUsage":false,"GPUCanvasContext":false,"GPUColorWrite":false,"GPUCommandBuffer":false,"GPUCommandEncoder":false,"GPUCompilationInfo":false,"GPUCompilationMessage":false,"GPUComputePassEncoder":false,"GPUComputePipeline":false,"GPUDevice":false,"GPUDeviceLostInfo":false,"GPUError":false,"GPUExternalTexture":false,"GPUInternalError":false,"GPUMapMode":false,"GPUOutOfMemoryError":false,"GPUPipelineError":false,"GPUPipelineLayout":false,"GPUQuerySet":false,"GPUQueue":false,"GPURenderBundle":false,"GPURenderBundleEncoder":false,"GPURenderPassEncoder":false,"GPURenderPipeline":false,"GPUSampler":false,"GPUShaderModule":false,"GPUShaderStage":false,"GPUSupportedFeatures":false,"GPUSupportedLimits":false,"GPUTexture":false,"GPUTextureUsage":false,"GPUTextureView":false,"GPUUncapturedErrorEvent":false,"GPUValidationError":false,"GravitySensor":false,"Gyroscope":false,"HashChangeEvent":false,"Headers":false,"HID":false,"HIDConnectionEvent":false,"HIDDevice":false,"HIDInputReportEvent":false,"Highlight":false,"HighlightRegistry":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFencedFrameElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectedContentElement":false,"HTMLSelectElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRecord":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdentityCredential":false,"IdentityCredentialError":false,"IdentityProvider":false,"IdleDeadline":false,"IdleDetector":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"ImageDecoder":false,"ImageTrack":false,"ImageTrackList":false,"indexedDB":false,"Ink":false,"innerHeight":false,"innerWidth":false,"InputDeviceCapabilities":false,"InputDeviceInfo":false,"InputEvent":false,"IntegrityViolationReportBody":false,"InterestEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"isSecureContext":false,"Keyboard":false,"KeyboardEvent":false,"KeyboardLayoutMap":false,"KeyframeEffect":false,"LanguageDetector":false,"LargestContentfulPaint":false,"LaunchParams":false,"launchQueue":false,"LaunchQueue":false,"LayoutShift":false,"LayoutShiftAttribution":false,"length":false,"LinearAccelerationSensor":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"Lock":false,"LockManager":false,"matchMedia":false,"MathMLElement":false,"MediaCapabilities":false,"MediaCapabilitiesInfo":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyError":false,"MediaKeyMessageEvent":false,"MediaKeys":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaMetadata":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaRecorderErrorEvent":false,"MediaSession":false,"MediaSource":false,"MediaSourceHandle":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackAudioSourceNode":false,"MediaStreamTrackAudioStats":false,"MediaStreamTrackEvent":false,"MediaStreamTrackGenerator":false,"MediaStreamTrackProcessor":false,"MediaStreamTrackVideoStats":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"model":false,"ModelGenericSession":false,"ModelManager":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigateEvent":false,"navigation":false,"Navigation":false,"NavigationActivation":false,"NavigationCurrentEntryChangeEvent":false,"NavigationDestination":false,"NavigationHistoryEntry":false,"NavigationPrecommitController":false,"NavigationPreloadManager":false,"NavigationTransition":false,"navigator":false,"Navigator":false,"NavigatorLogin":false,"NavigatorManagedData":false,"NavigatorUAData":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"NotifyPaintEvent":false,"NotRestoredReasonDetails":false,"NotRestoredReasons":false,"Observable":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":false,"OffscreenCanvasRenderingContext2D":false,"onabort":true,"onafterprint":true,"onanimationcancel":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinput":true,"onbeforeinstallprompt":true,"onbeforematch":true,"onbeforeprint":true,"onbeforetoggle":true,"onbeforeunload":true,"onbeforexrselect":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncommand":true,"oncontentvisibilityautostatechange":true,"oncontextlost":true,"oncontextmenu":true,"oncontextrestored":true,"oncopy":true,"oncuechange":true,"oncut":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"onformdata":true,"ongamepadconnected":true,"ongamepaddisconnected":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpagereveal":true,"onpageshow":true,"onpageswap":true,"onpaste":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerrawupdate":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onscrollend":true,"onscrollsnapchange":true,"onscrollsnapchanging":true,"onsearch":true,"onsecuritypolicyviolation":true,"onseeked":true,"onseeking":true,"onselect":true,"onselectionchange":true,"onselectstart":true,"onslotchange":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitioncancel":true,"ontransitionend":true,"ontransitionrun":true,"ontransitionstart":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"opener":false,"Option":false,"OrientationSensor":false,"origin":false,"originAgentCluster":false,"OscillatorNode":false,"OTPCredential":false,"outerHeight":false,"outerWidth":false,"OverconstrainedError":false,"PageRevealEvent":false,"PageSwapEvent":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"PasswordCredential":false,"Path2D":false,"PaymentAddress":false,"PaymentManager":false,"PaymentMethodChangeEvent":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceElementTiming":false,"PerformanceEntry":false,"PerformanceEventTiming":false,"PerformanceLongAnimationFrameTiming":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceScriptTiming":false,"PerformanceServerTiming":false,"PerformanceTiming":false,"PeriodicSyncManager":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"PERSISTENT":false,"personalbar":false,"PictureInPictureEvent":false,"PictureInPictureWindow":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"PressureObserver":false,"PressureRecord":false,"print":false,"ProcessingInstruction":false,"Profiler":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"ProtectedAudience":false,"PublicKeyCredential":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queryLocalFonts":false,"queueMicrotask":false,"QuotaExceededError":false,"RadioNodeList":false,"Range":false,"ReadableByteStreamController":false,"ReadableStream":false,"ReadableStreamBYOBReader":false,"ReadableStreamBYOBRequest":false,"ReadableStreamDefaultController":false,"ReadableStreamDefaultReader":false,"registerProcessor":false,"RelativeOrientationSensor":false,"RemotePlayback":false,"removeEventListener":false,"ReportBody":false,"reportError":false,"ReportingObserver":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"ResizeObserverSize":false,"resizeTo":false,"Response":false,"RestrictionTarget":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCDTMFSender":false,"RTCDTMFToneChangeEvent":false,"RTCEncodedAudioFrame":false,"RTCEncodedVideoFrame":false,"RTCError":false,"RTCErrorEvent":false,"RTCIceCandidate":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceErrorEvent":false,"RTCPeerConnectionIceEvent":false,"RTCRtpReceiver":false,"RTCRtpScriptTransform":false,"RTCRtpSender":false,"RTCRtpTransceiver":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"sampleRate":false,"scheduler":false,"Scheduler":false,"Scheduling":false,"screen":false,"Screen":false,"ScreenDetailed":false,"ScreenDetails":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"ScrollTimeline":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"Sensor":false,"SensorErrorEvent":false,"Serial":false,"SerialPort":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"sharedStorage":false,"SharedStorage":false,"SharedStorageAppendMethod":false,"SharedStorageClearMethod":false,"SharedStorageDeleteMethod":false,"SharedStorageModifierMethod":false,"SharedStorageSetMethod":false,"SharedStorageWorklet":false,"SharedWorker":false,"showDirectoryPicker":false,"showOpenFilePicker":false,"showSaveFilePicker":false,"SnapEvent":false,"SourceBuffer":false,"SourceBufferList":false,"SpeechGrammar":false,"SpeechGrammarList":false,"SpeechRecognition":false,"SpeechRecognitionErrorEvent":false,"SpeechRecognitionEvent":false,"SpeechRecognitionPhrase":false,"speechSynthesis":false,"SpeechSynthesis":false,"SpeechSynthesisErrorEvent":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"SpeechSynthesisVoice":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageBucket":false,"StorageBucketManager":false,"StorageEvent":false,"StorageManager":false,"structuredClone":false,"styleMedia":false,"StylePropertyMap":false,"StylePropertyMapReadOnly":false,"StyleSheet":false,"StyleSheetList":false,"SubmitEvent":false,"Subscriber":false,"SubtleCrypto":false,"Summarizer":false,"SuppressedError":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"SyncManager":false,"TaskAttributionTiming":false,"TaskController":false,"TaskPriorityChangeEvent":false,"TaskSignal":false,"TEMPORARY":false,"Text":false,"TextDecoder":false,"TextDecoderStream":false,"TextEncoder":false,"TextEncoderStream":false,"TextEvent":false,"TextFormat":false,"TextFormatUpdateEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TextUpdateEvent":false,"TimeEvent":false,"TimeRanges":false,"ToggleEvent":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransformStream":false,"TransformStreamDefaultController":false,"TransitionEvent":false,"Translator":false,"TreeWalker":false,"TrustedHTML":false,"TrustedScript":false,"TrustedScriptURL":false,"TrustedTypePolicy":false,"TrustedTypePolicyFactory":false,"trustedTypes":false,"UIEvent":false,"URL":false,"URLPattern":false,"URLSearchParams":false,"USB":false,"USBAlternateInterface":false,"USBConfiguration":false,"USBConnectionEvent":false,"USBDevice":false,"USBEndpoint":false,"USBInterface":false,"USBInTransferResult":false,"USBIsochronousInTransferPacket":false,"USBIsochronousInTransferResult":false,"USBIsochronousOutTransferPacket":false,"USBIsochronousOutTransferResult":false,"USBOutTransferResult":false,"UserActivation":false,"ValidityState":false,"VideoColorSpace":false,"VideoDecoder":false,"VideoEncoder":false,"VideoFrame":false,"VideoPlaybackQuality":false,"viewport":false,"Viewport":false,"ViewTimeline":false,"ViewTransition":false,"ViewTransitionTypeSet":false,"VirtualKeyboard":false,"VirtualKeyboardGeometryChangeEvent":false,"VisibilityStateEntry":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"VTTRegion":false,"WakeLock":false,"WakeLockSentinel":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLObject":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WebSocketError":false,"WebSocketStream":false,"WebTransport":false,"WebTransportBidirectionalStream":false,"WebTransportDatagramDuplexStream":false,"WebTransportError":false,"WebTransportReceiveStream":false,"WebTransportSendStream":false,"WGSLLanguageFeatures":false,"WheelEvent":false,"when":false,"window":false,"Window":false,"WindowControlsOverlay":false,"WindowControlsOverlayGeometryChangeEvent":false,"Worker":false,"Worklet":false,"WorkletGlobalScope":false,"WritableStream":false,"WritableStreamDefaultController":false,"WritableStreamDefaultWriter":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XRAnchor":false,"XRAnchorSet":false,"XRBoundedReferenceSpace":false,"XRCamera":false,"XRCPUDepthInformation":false,"XRDepthInformation":false,"XRDOMOverlayState":false,"XRFrame":false,"XRHand":false,"XRHitTestResult":false,"XRHitTestSource":false,"XRInputSource":false,"XRInputSourceArray":false,"XRInputSourceEvent":false,"XRInputSourcesChangeEvent":false,"XRJointPose":false,"XRJointSpace":false,"XRLayer":false,"XRLightEstimate":false,"XRLightProbe":false,"XRPose":false,"XRRay":false,"XRReferenceSpace":false,"XRReferenceSpaceEvent":false,"XRRenderState":false,"XRRigidTransform":false,"XRSession":false,"XRSessionEvent":false,"XRSpace":false,"XRSystem":false,"XRTransientInputHitTestResult":false,"XRTransientInputHitTestSource":false,"XRView":false,"XRViewerPose":false,"XRViewport":false,"XRWebGLBinding":false,"XRWebGLDepthInformation":false,"XRWebGLLayer":false,"XSLTProcessor":false}'),builtin:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float16Array:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},chai:{assert:!0,expect:!0,should:!0},commonjs:{exports:!0,global:!1,module:!1,require:!1},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2016:{Array:!1,ArrayBuffer:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2018:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2019:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2020:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2021:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2022:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2023:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2024:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2025:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float16Array:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2026:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float16Array:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},es5:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addElement:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_deleteValues:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_getValues:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_setValues:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fit:!1,it:!1,jest:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},jquery:{$:!1,jQuery:!1},meteor:{$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},node:{__dirname:!1,__filename:!1,AbortController:!1,AbortSignal:!1,AsyncDisposableStack:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DisposableStack:!1,DOMException:!1,ErrorEvent:!1,Event:!1,EventTarget:!1,exports:!0,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,localStorage:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,module:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,require:!1,Response:!1,sessionStorage:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,Storage:!1,structuredClone:!1,SubtleCrypto:!1,SuppressedError:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},nodeBuiltin:{AbortController:!1,AbortSignal:!1,AsyncDisposableStack:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DisposableStack:!1,DOMException:!1,ErrorEvent:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,localStorage:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,sessionStorage:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,Storage:!1,structuredClone:!1,SubtleCrypto:!1,SuppressedError:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},serviceworker:{AbortController:!1,AbortPaymentEvent:!1,AbortSignal:!1,addEventListener:!1,ai:!1,AI:!1,AICreateMonitor:!1,AsyncDisposableStack:!1,atob:!1,BackgroundFetchEvent:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BackgroundFetchUpdateUIEvent:!1,BarcodeDetector:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,CanMakePaymentEvent:!1,CanvasGradient:!1,CanvasPattern:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,CloseEvent:!1,CompressionStream:!1,console:!1,cookieStore:!1,CookieStore:!1,CookieStoreManager:!1,CountQueuingStrategy:!1,createImageBitmap:!1,CreateMonitor:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSSSkewX:!1,CSSSkewY:!1,CustomEvent:!1,DecompressionStream:!1,dispatchEvent:!1,DisposableStack:!1,DOMException:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,ErrorEvent:!1,Event:!1,EventSource:!1,EventTarget:!1,ExtendableCookieChangeEvent:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,File:!1,FileList:!1,FileReader:!1,FileSystemDirectoryHandle:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemWritableFileStream:!1,FontFace:!1,fonts:!1,FormData:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRecord:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageData:!1,importScripts:!1,indexedDB:!1,InstallEvent:!1,isSecureContext:!1,LanguageDetector:!1,location:!1,Lock:!1,LockManager:!1,MediaCapabilities:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,NavigationPreloadManager:!1,navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Notification:!1,NotificationEvent:!1,Observable:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onabortpayment:!0,onactivate:!0,onbackgroundfetchabort:!0,onbackgroundfetchclick:!0,onbackgroundfetchfail:!0,onbackgroundfetchsuccess:!0,oncanmakepayment:!0,oncookiechange:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onpaymentrequest:!0,onperiodicsync:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,origin:!1,Path2D:!1,PaymentRequestEvent:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceServerTiming:!1,PeriodicSyncEvent:!1,PeriodicSyncManager:!1,Permissions:!1,PermissionStatus:!1,PromiseRejectionEvent:!1,PushEvent:!1,PushManager:!1,PushMessageData:!1,PushSubscription:!1,PushSubscriptionChangeEvent:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,QuotaExceededError:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registration:!1,removeEventListener:!1,ReportBody:!1,reportError:!1,ReportingObserver:!1,Request:!1,Response:!1,RestrictionTarget:!1,scheduler:!1,Scheduler:!1,SecurityPolicyViolationEvent:!1,self:!1,serviceWorker:!1,ServiceWorker:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,StorageBucket:!1,StorageBucketManager:!1,StorageManager:!1,structuredClone:!1,Subscriber:!1,SubtleCrypto:!1,SuppressedError:!1,SyncEvent:!1,SyncManager:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextMetrics:!1,TransformStream:!1,TransformStreamDefaultController:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,UserActivation:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WGSLLanguageFeatures:!1,when:!1,WindowClient:!1,WorkerGlobalScope:!1,WorkerLocation:!1,WorkerNavigator:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},"shared-node-browser":{AbortController:!1,AbortSignal:!1,AsyncDisposableStack:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DisposableStack:!1,DOMException:!1,ErrorEvent:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,Headers:!1,localStorage:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,Storage:!1,structuredClone:!1,SubtleCrypto:!1,SuppressedError:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},shelljs:{cat:!1,cd:!1,chmod:!1,cmd:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,errorCode:!1,exec:!1,exit:!1,find:!1,grep:!1,head:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,ShellString:!1,sort:!1,tail:!1,tempdir:!1,test:!1,touch:!1,uniq:!1,which:!1},svelte:{$bindable:!1,$derived:!1,$effect:!1,$host:!1,$inspect:!1,$props:!1,$state:!1},vitest:{afterAll:!1,afterEach:!1,assert:!1,assertType:!1,beforeAll:!1,beforeEach:!1,chai:!1,describe:!1,expect:!1,expectTypeOf:!1,it:!1,onTestFailed:!1,onTestFinished:!1,suite:!1,test:!1,vi:!1,vitest:!1},vue:{defineEmits:!1,defineExpose:!1,defineModel:!1,defineOptions:!1,defineProps:!1,defineSlots:!1,withDefaults:!1},webextensions:{browser:!1,chrome:!1,opr:!1},worker:{AbortController:!1,AbortSignal:!1,addEventListener:!1,ai:!1,AI:!1,AICreateMonitor:!1,AsyncDisposableStack:!1,atob:!1,AudioData:!1,AudioDecoder:!1,AudioEncoder:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BarcodeDetector:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,clearInterval:!1,clearTimeout:!1,close:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,createImageBitmap:!1,CreateMonitor:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSSSkewX:!1,CSSSkewY:!1,CustomEvent:!1,DecompressionStream:!1,DedicatedWorkerGlobalScope:!1,dispatchEvent:!1,DisposableStack:!1,DOMException:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,EncodedAudioChunk:!1,EncodedVideoChunk:!1,ErrorEvent:!1,Event:!1,EventSource:!1,EventTarget:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,FileReaderSync:!1,FileSystemDirectoryHandle:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemObserver:!1,FileSystemSyncAccessHandle:!1,FileSystemWritableFileStream:!1,FontFace:!1,fonts:!1,FormData:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,Headers:!1,HID:!1,HIDConnectionEvent:!1,HIDDevice:!1,HIDInputReportEvent:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRecord:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDetector:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageData:!1,ImageDecoder:!1,ImageTrack:!1,ImageTrackList:!1,importScripts:!1,indexedDB:!1,isSecureContext:!1,LanguageDetector:!1,location:!1,Lock:!1,LockManager:!1,MediaCapabilities:!1,MediaSource:!1,MediaSourceHandle:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,NavigationPreloadManager:!1,navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Notification:!1,Observable:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onerror:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onrejectionhandled:!0,onrtctransform:!0,onunhandledrejection:!0,origin:!1,Path2D:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceServerTiming:!1,PeriodicSyncManager:!1,Permissions:!1,PermissionStatus:!1,PERSISTENT:!1,postMessage:!1,PressureObserver:!1,PressureRecord:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,QuotaExceededError:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,removeEventListener:!1,ReportBody:!1,reportError:!1,ReportingObserver:!1,Request:!1,requestAnimationFrame:!1,Response:!1,RestrictionTarget:!1,RTCDataChannel:!1,RTCEncodedAudioFrame:!1,RTCEncodedVideoFrame:!1,RTCRtpScriptTransformer:!1,RTCTransformEvent:!1,scheduler:!1,Scheduler:!1,SecurityPolicyViolationEvent:!1,self:!1,Serial:!1,SerialPort:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,SourceBuffer:!1,SourceBufferList:!1,StorageBucket:!1,StorageBucketManager:!1,StorageManager:!1,structuredClone:!1,Subscriber:!1,SubtleCrypto:!1,SuppressedError:!1,SyncManager:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TEMPORARY:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextMetrics:!1,TransformStream:!1,TransformStreamDefaultController:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,USB:!1,USBAlternateInterface:!1,USBConfiguration:!1,USBConnectionEvent:!1,USBDevice:!1,USBEndpoint:!1,USBInterface:!1,USBInTransferResult:!1,USBIsochronousInTransferPacket:!1,USBIsochronousInTransferResult:!1,USBIsochronousOutTransferPacket:!1,USBIsochronousOutTransferResult:!1,USBOutTransferResult:!1,UserActivation:!1,VideoColorSpace:!1,VideoDecoder:!1,VideoEncoder:!1,VideoFrame:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,webkitRequestFileSystem:!1,webkitRequestFileSystemSync:!1,webkitResolveLocalFileSystemSyncURL:!1,webkitResolveLocalFileSystemURL:!1,WebSocket:!1,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WGSLLanguageFeatures:!1,when:!1,Worker:!1,WorkerGlobalScope:!1,WorkerLocation:!1,WorkerNavigator:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1},wsh:{ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1}},_f,ZS;function yD(){return ZS||(ZS=1,_f=gD),_f}var vD=yD(),eb=hD(vD);const ED=new mD,SD={languageOptions:{globals:{...eb.browser,...eb.es2021},parserOptions:{ecmaVersion:2022,sourceType:"module",ecmaFeatures:{jsx:!0}}},rules:{"no-unused-vars":["warn",{argsIgnorePattern:"^_"}],"no-undef":"error",semi:"off"}};function tb(m,t,p){let d=0;for(let e=0;e<t-1;e++)d+=(m[e]?m[e].length:0)+1;return d+p-1}self.onmessage=m=>{const{code:t,requestId:p,fileName:d}=m.data;if(typeof t!="string"){self.postMessage({diagnostics:[],requestId:p,error:"Invalid code received"});return}if(!d){self.postMessage({diagnostics:[],requestId:p});return}const e=/\.js$/i.test(d),l=/\.jsx$/i.test(d);if(!e&&(!l||!0)){self.postMessage({diagnostics:[],requestId:p});return}try{const f=ED.verify(t,SD),o=t.split(`
116
- `),r=f.map(u=>{const s=tb(o,u.line,u.column),a=u.endLine&&u.endColumn?tb(o,u.endLine,u.endColumn):s+(u.fix?.range[1]-u.fix?.range[0]||1);return{from:s,to:a,severity:u.severity===2?"error":u.severity===1?"warning":"info",message:u.message,source:u.ruleId?`eslint(${u.ruleId})`:"eslint"}});self.postMessage({diagnostics:r,requestId:p})}catch(f){console.error("Error linting in ESLint worker:",f),self.postMessage({error:f.message,diagnostics:[],requestId:p})}}})();