eslint-config-sukka 6.18.1 → 6.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- let e,t,n,r;"use strict";const i=e=>Promise.resolve(require(e));var o,s,a,l,c,p,u,f,d,m,g,h,y,E,T,b,S,x,P,v,k,_,A,Y,C,w,L,I,O,D,V,B,N,j,M,R,F,U,q,W,G,H,$,K,z,J,X,Q,Z,ee,et,en,er,ei,eo,es,ea,el,ec,ep,eu,ef,ed,em,eg,eh,ey,eE,eT,eb,eS,ex,eP,ev,ek,e_,eA,eY,eC,ew,eL,eI,eO,eD,eV,eB,eN,ej,eM,eR,eF,eU,eq,eW,eG,eH,e$,eK,ez,eJ,eX,eQ,eZ,e0,e1,e2,e3,e4,e6,e5,e9,e8,e7,te,tt,tn,tr,ti,to,ts,ta,tl,tc,tp,tu,tf,td,tm,tg,th,ty,tE,tT,tb,tS,tx,tP,tv,tk,t_,tA,tY,tC,tw,tL,tI,tO,tD,tV,tB,tN,tj,tM,tR,tF,tU,tq,tW,tG,tH,t$,tK,tz,tJ,tX,tQ,tZ,t0,t1,t2,t3,t4,t6,t5,t9,t8,t7,ne,nt,nn,nr,ni,no,ns,na,nl,nc,np,nu,nf,nd,nm,ng,nh,ny,nE,nT,nb,nS,nx,nP,nv,nk,n_,nA,nY,nC,nw,nL,nI,nO,nD,nV,nB,nN,nj,nM,nR,nF,nU,nq,nW,nG,nH,n$,nK,nz,nJ,nX,nQ,nZ,n0,n1,n2,n3,n4,n6=require("@eslint-sukka/shared"),n5=require("node:fs"),n9=require("node:path"),n8=require("node:process"),n7=require("./vendor-_TcEY0mA.cjs");require("node:fs/promises");var re=require("node:url"),rt=require("foxts/guard"),rn=require("@eslint-community/eslint-plugin-eslint-comments"),rr=require("eslint-plugin-sukka"),ri=require("eslint-plugin-promise"),ro=require("eslint-plugin-regexp"),rs=require("@eslint/js"),ra=require("eslint-plugin-unused-imports"),rl=require("eslint-plugin-import-x"),rc=require("eslint-plugin-de-morgan"),rp=require("eslint-plugin-autofix"),ru=require("eslint-plugin-jsonc"),rf=require("jsonc-eslint-parser"),rd=require("typescript-eslint"),rm=require("eslint/use-at-your-own-risk"),rg=require("eslint"),rh=require("eslint-plugin-paths"),ry=require("eslint-import-resolver-typescript"),rE=require("picocolors"),rT=require("defu"),rb=require("ci-info"),rS="undefined"!=typeof document?document.currentScript:null;function rx(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var rP=rx(n5),rv=rx(n9),rk=rx(ro),r_=rx(rm),rA=rx(rg),rY={},rC=n7.g(rP),rw=n7.g(rv),rL=function(){if(a)return rY;a=1;let e=new Map([["getSource","getText"],["getSourceLines","getLines"],["getAllComments","getAllComments"],["getDeclaredVariables","getDeclaredVariables"],["getNodeByRangeIndex","getNodeByRangeIndex"],["getCommentsBefore","getCommentsBefore"],["getCommentsAfter","getCommentsAfter"],["getCommentsInside","getCommentsInside"],["getJSDocComment","getJSDocComment"],["getFirstToken","getFirstToken"],["getFirstTokens","getFirstTokens"],["getLastToken","getLastToken"],["getLastTokens","getLastTokens"],["getTokenAfter","getTokenAfter"],["getTokenBefore","getTokenBefore"],["getTokenByRangeStart","getTokenByRangeStart"],["getTokens","getTokens"],["getTokensAfter","getTokensAfter"],["getTokensBefore","getTokensBefore"],["getTokensBetween","getTokensBetween"]]),t=new WeakMap,n=new WeakSet,r=new WeakMap,i=new WeakSet;function o(r){if(t.has(r))return t.get(r);let i="function"==typeof r;if(!i&&n.has(r))return r;let o=i?r:r.create.bind(r),s={...i?void 0:r,create:function(t){if("getScope"in t)return o(t);let n=t.sourceCode,r=n.ast,i=Object.assign(Object.create(t),{parserServices:n.parserServices,getScope:()=>n.getScope(r),getAncestors:()=>n.getAncestors(r),markVariableAsUsed(e){n.markVariableAsUsed(e,r)}});for(let[t,r]of e)i[t]=n[r].bind(n);Object.freeze(i);let s=o(i);for(let[e,t]of Object.entries(s)){if(e.startsWith("on")){s[e]=(...n)=>(r=n["onCodePathSegmentLoop"===e?2:1],t.call(s,...n));continue}s[e]=(...e)=>(r=e[0],t.call(s,...e))}return s}},{schema:a}=r;return a&&(s.meta?s.meta={...s.meta,schema:a}:s.meta={schema:a}),t.set(r,s),n.add(s),s}function s(e){if(r.has(e))return r.get(e);if(i.has(e)||!e.rules)return e;let t={...e,rules:Object.fromEntries(Object.entries(e.rules).map(([e,t])=>[e,o(t)]))};return r.set(e,t),i.add(t),t}function l(e){let t=e.startsWith("!"),n=t?"!":"",r=(t?e.slice(1):e).trimEnd();if(["","**","/**","**/"].includes(r))return`${n}${r}`;let i=r.indexOf("/"),o=i<0||i===r.length-1?"**/":"",s=(0===i?r.slice(1):r).replaceAll(/(?=((?:\\.|[^{(])*))\1([{(])/guy,"$1\\$2"),a=r.endsWith("/**")?"/*":"";return`${n}${o}${s}${a}`}return rY.convertIgnorePatternToMinimatch=l,rY.fixupConfigRules=function(e){return(Array.isArray(e)?e:[e]).map(e=>{if(!e.plugins)return e;let t=Object.fromEntries(Object.entries(e.plugins).map(([e,t])=>[e,s(t)]));return{...e,plugins:t}})},rY.fixupPluginRules=s,rY.fixupRule=o,rY.includeIgnoreFile=function(e){if(!rw.isAbsolute(e))throw Error("The ignore file location must be an absolute path.");return{name:"Imported .gitignore patterns",ignores:rC.readFileSync(e,"utf8").split(/\r?\n/u).map(e=>e.trim()).filter(e=>e&&!e.startsWith("#")).map(l)}},rY}();function rI(e){return Array.isArray(e=e??[])?e:[e]}const rO=e=>e instanceof URL?re.fileURLToPath(e):e;function rD(e,{cwd:t=n8.cwd(),type:n="file",stopAt:r}={}){let i=n9.resolve(rO(t)??""),{root:o}=n9.parse(i);for(r=n9.resolve(i,rO(r)??o);i&&i!==r&&i!==o;){let t=n9.isAbsolute(e)?e:n9.join(i,e);try{let e=n5.statSync(t,{throwIfNoEntry:!1});if("file"===n&&e?.isFile()||"directory"===n&&e?.isDirectory())return t}catch{}i=n9.dirname(i)}}const rV=".gitignore",rB=".gitmodules";function rN(e={}){let t=[],{cwd:n=n8.cwd(),root:r=!1,files:i=r?rV:rD(rV,{cwd:n})||[],filesGitModules:o=r?n5.existsSync(n9.join(n,rB))?rB:[]:rD(rB,{cwd:n})||[],strict:s=!0}=e,a=rI(i).map(e=>n9.resolve(n,e)),l=rI(o).map(e=>n9.resolve(n,e));for(let e of a){let r="";try{r=n5.readFileSync(e,"utf8")}catch(e){if(s)throw e;continue}let i=n9.relative(n,n9.dirname(e)).replaceAll("\\","/"),o=r.split(/\r?\n/u).filter(e=>e&&!e.startsWith("#")).map(e=>rL.convertIgnorePatternToMinimatch(e)).map(e=>(function(e,t,n){if(["",".","/"].includes(t))return e;let r=e.startsWith("!")?"!":"",i=r?e.slice(1):e;if(t.endsWith("/")||(t=`${t}/`),!t.startsWith(".."))return`${r}${t}${i}`;if(!t.match(/^(\.\.\/)+$/))throw Error("The ignore file location should be either a parent or child directory");if(i.startsWith("**"))return e;let o=n9.relative(n9.resolve(n,t),n).split(/[/\\]/);for(;o.length&&i.startsWith(`${o[0]}/`);)i=i.slice(o[0].length+1),o.shift();return i.startsWith("**")||0===o.length?`${r}${i}`:null})(e,i,n)).filter(e=>null!==e);t.push(...o)}for(let e of l){let n="";try{n=n5.readFileSync(e,"utf8")}catch(e){if(s)throw e;continue}let r=n.split(/\r?\n/u).map(e=>e.match(/path\s*=\s*(.+)/u)).filter(e=>null!==e).map(e=>e[1].trim());t.push(...r.map(e=>`${e}/**`))}if(s&&0===a.length)throw Error("No .gitignore file found");return{name:e.name||"gitignore",ignores:t}}function rj(e={}){let{customGlobs:t=null,gitignore:n=[".gitignore"]}=e,r=[],i=[];return!1===t||null===t?i=n6.constants.GLOB_EXCLUDE:"function"==typeof t?i=t(n6.constants.GLOB_EXCLUDE):"string"==typeof t?i.push(...n6.constants.GLOB_EXCLUDE,t):Array.isArray(t)?i.push(...n6.constants.GLOB_EXCLUDE,...t):rt.never(t),r.push({ignores:i}),!1===n||null===n||(!0===n?r.push(rN({files:[".gitignore"],strict:!1})):"string"==typeof n||Array.isArray(n)?r.push(rN({files:n,strict:!1})):rt.never(n)),r}const rM={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:["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"],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"]};for(const e of Object.keys(rM))Object.freeze(rM[e]);Object.freeze(rM);const rR=new Set(["parent","leadingComments","trailingComments"]);function rF(e){return!rR.has(e)&&"_"!==e[0]}var rU=Object.freeze({__proto__:null,KEYS:rM,getKeys:function(e){return Object.keys(e).filter(rF)},unionWith:function(e){let t=Object.assign({},rM);for(let n of Object.keys(e))if(Object.hasOwn(t,n)){let r=new Set(e[n]);for(let e of t[n])r.add(e);t[n]=Object.freeze(Array.from(r))}else t[n]=Object.freeze(Array.from(e[n]));return Object.freeze(t)}}),rq=[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],rW=[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],rG="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",rH={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",rK={5:r$,"5module":r$+" export import",6:r$+" const class extends export import super"},rz=/^in(stanceof)?$/,rJ=RegExp("["+rG+"]"),rX=RegExp("["+rG+"‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function rQ(e,t){for(var n=65536,r=0;r<t.length&&!((n+=t[r])>e);r+=2)if((n+=t[r+1])>=e)return!0;return!1}function rZ(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&rJ.test(String.fromCharCode(e)):!1!==t&&rQ(e,rW)))}function r0(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&rX.test(String.fromCharCode(e)):!1!==t&&(rQ(e,rW)||rQ(e,rq)))))}var r1=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function r2(e,t){return new r1(e,{beforeExpr:!0,binop:t})}var r3={beforeExpr:!0},r4={startsExpr:!0},r6={};function r5(e,t){return void 0===t&&(t={}),t.keyword=e,r6[e]=new r1(e,t)}var r9={num:new r1("num",r4),regexp:new r1("regexp",r4),string:new r1("string",r4),name:new r1("name",r4),privateId:new r1("privateId",r4),eof:new r1("eof"),bracketL:new r1("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new r1("]"),braceL:new r1("{",{beforeExpr:!0,startsExpr:!0}),braceR:new r1("}"),parenL:new r1("(",{beforeExpr:!0,startsExpr:!0}),parenR:new r1(")"),comma:new r1(",",r3),semi:new r1(";",r3),colon:new r1(":",r3),dot:new r1("."),question:new r1("?",r3),questionDot:new r1("?."),arrow:new r1("=>",r3),template:new r1("template"),invalidTemplate:new r1("invalidTemplate"),ellipsis:new r1("...",r3),backQuote:new r1("`",r4),dollarBraceL:new r1("${",{beforeExpr:!0,startsExpr:!0}),eq:new r1("=",{beforeExpr:!0,isAssign:!0}),assign:new r1("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r1("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r1("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:r2("||",1),logicalAND:r2("&&",2),bitwiseOR:r2("|",3),bitwiseXOR:r2("^",4),bitwiseAND:r2("&",5),equality:r2("==/!=/===/!==",6),relational:r2("</>/<=/>=",7),bitShift:r2("<</>>/>>>",8),plusMin:new r1("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:r2("%",10),star:r2("*",10),slash:r2("/",10),starstar:new r1("**",{beforeExpr:!0}),coalesce:r2("??",1),_break:r5("break"),_case:r5("case",r3),_catch:r5("catch"),_continue:r5("continue"),_debugger:r5("debugger"),_default:r5("default",r3),_do:r5("do",{isLoop:!0,beforeExpr:!0}),_else:r5("else",r3),_finally:r5("finally"),_for:r5("for",{isLoop:!0}),_function:r5("function",r4),_if:r5("if"),_return:r5("return",r3),_switch:r5("switch"),_throw:r5("throw",r3),_try:r5("try"),_var:r5("var"),_const:r5("const"),_while:r5("while",{isLoop:!0}),_with:r5("with"),_new:r5("new",{beforeExpr:!0,startsExpr:!0}),_this:r5("this",r4),_super:r5("super",r4),_class:r5("class",r4),_extends:r5("extends",r3),_export:r5("export"),_import:r5("import",r4),_null:r5("null",r4),_true:r5("true",r4),_false:r5("false",r4),_in:r5("in",{beforeExpr:!0,binop:7}),_instanceof:r5("instanceof",{beforeExpr:!0,binop:7}),_typeof:r5("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:r5("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:r5("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},r8=/\r\n?|\n|\u2028|\u2029/,r7=RegExp(r8.source,"g");function ie(e){return 10===e||13===e||8232===e||8233===e}function it(e,t,n){void 0===n&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(ie(i))return r<n-1&&13===i&&10===e.charCodeAt(r+1)?r+2:r+1}return -1}var ir=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ii=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,io=Object.prototype,is=io.hasOwnProperty,ia=io.toString,il=Object.hasOwn||function(e,t){return is.call(e,t)},ic=Array.isArray||function(e){return"[object Array]"===ia.call(e)},ip=Object.create(null);function iu(e){return ip[e]||(ip[e]=RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function id(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}var im=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ig=function(e,t){this.line=e,this.column=t};ig.prototype.offset=function(e){return new ig(this.line,this.column+e)};var ih=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function iy(e,t){for(var n=1,r=0;;){var i=it(e,r,t);if(i<0)return new ig(n,t-r);++n,r=i}}var iE={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},iT=!1;function ib(e,t){return 2|4*!!e|8*!!t}var iS=function(e,t,n){this.options=e=function(e){var t,n,r={};for(var i in iE)r[i]=e&&il(e,i)?e[i]:iE[i];if("latest"===r.ecmaVersion?r.ecmaVersion=1e8:null==r.ecmaVersion?(!iT&&"object"==typeof console&&console.warn&&(iT=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),r.ecmaVersion=11):r.ecmaVersion>=2015&&(r.ecmaVersion-=2009),null==r.allowReserved&&(r.allowReserved=r.ecmaVersion<5),e&&null!=e.allowHashBang||(r.allowHashBang=r.ecmaVersion>=14),ic(r.onToken)){var o=r.onToken;r.onToken=function(e){return o.push(e)}}return ic(r.onComment)&&(t=r,n=r.onComment,r.onComment=function(e,r,i,o,s,a){var l={type:e?"Block":"Line",value:r,start:i,end:o};t.locations&&(l.loc=new ih(this,s,a)),t.ranges&&(l.range=[i,o]),n.push(l)}),r}(e),this.sourceFile=e.sourceFile,this.keywords=iu(rK[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var r="";!0!==e.allowReserved&&(r=rH[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(r+=" await")),this.reservedWords=iu(r);var i=(r?r+" ":"")+rH.strict;this.reservedWordsStrict=iu(i),this.reservedWordsStrictBind=iu(i+" "+rH.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(r8).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=r9.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="module"===e.sourceType,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),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},ix={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}};iS.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},ix.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},ix.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ix.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ix.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ix.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(64&t)>0||n||this.options.allowSuperOutsideMethod},ix.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},ix.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ix.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(258&t)>0||n},ix.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},iS.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},iS.parse=function(e,t){return new this(t,e).parse()},iS.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},iS.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(iS.prototype,ix);var iP=iS.prototype,iv=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;iP.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){ii.lastIndex=e,e+=ii.exec(this.input)[0].length;var t=iv.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){ii.lastIndex=e+t[0].length;var n=ii.exec(this.input),r=n.index+n[0].length,i=this.input.charAt(r);return";"===i||"}"===i||r8.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1))}ii.lastIndex=e+=t[0].length,e+=ii.exec(this.input)[0].length,";"===this.input[e]&&e++}},iP.eat=function(e){return this.type===e&&(this.next(),!0)},iP.isContextual=function(e){return this.type===r9.name&&this.value===e&&!this.containsEsc},iP.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},iP.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},iP.canInsertSemicolon=function(){return this.type===r9.eof||this.type===r9.braceR||r8.test(this.input.slice(this.lastTokEnd,this.start))},iP.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},iP.semicolon=function(){this.eat(r9.semi)||this.insertSemicolon()||this.unexpected()},iP.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},iP.expect=function(e){this.eat(e)||this.unexpected()},iP.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var ik=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};iP.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,t?"Assigning to rvalue":"Parenthesized pattern")}},iP.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},iP.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")},iP.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var i_=iS.prototype;i_.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==r9.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var o=i[r];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var iA={kind:"loop"},iY={kind:"switch"};i_.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ii.lastIndex=this.pos;var t=ii.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(91===r||92===r)return!0;if(e)return!1;if(123===r||r>55295&&r<56320)return!0;if(rZ(r,!0)){for(var i=n+1;r0(r=this.input.charCodeAt(i),!0);)++i;if(92===r||r>55295&&r<56320)return!0;var o=this.input.slice(n,i);if(!rz.test(o))return!0}return!1},i_.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ii.lastIndex=this.pos;var e,t=ii.exec(this.input),n=this.pos+t[0].length;return!r8.test(this.input.slice(this.pos,n))&&"function"===this.input.slice(n,n+8)&&(n+8===this.input.length||!(r0(e=this.input.charCodeAt(n+8))||e>55295&&e<56320))},i_.parseStatement=function(e,t,n){var r,i=this.type,o=this.startNode();switch(this.isLet(e)&&(i=r9._var,r="let"),i){case r9._break:case r9._continue:return this.parseBreakContinueStatement(o,i.keyword);case r9._debugger:return this.parseDebuggerStatement(o);case r9._do:return this.parseDoStatement(o);case r9._for:return this.parseForStatement(o);case r9._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case r9._class:return e&&this.unexpected(),this.parseClass(o,!0);case r9._if:return this.parseIfStatement(o);case r9._return:return this.parseReturnStatement(o);case r9._switch:return this.parseSwitchStatement(o);case r9._throw:return this.parseThrowStatement(o);case r9._try:return this.parseTryStatement(o);case r9._const:case r9._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(o,r);case r9._while:return this.parseWhileStatement(o);case r9._with:return this.parseWithStatement(o);case r9.braceL:return this.parseBlock(!0,o);case r9.semi:return this.parseEmptyStatement(o);case r9._export:case r9._import:if(this.options.ecmaVersion>10&&i===r9._import){ii.lastIndex=this.pos;var s=ii.exec(this.input),a=this.pos+s[0].length,l=this.input.charCodeAt(a);if(40===l||46===l)return this.parseExpressionStatement(o,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(t||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'")),i===r9._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var c=this.value,p=this.parseExpression();if(i===r9.name&&"Identifier"===p.type&&this.eat(r9.colon))return this.parseLabeledStatement(o,c,p,e);return this.parseExpressionStatement(o,p)}},i_.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(r9.semi)||this.insertSemicolon()?e.label=null:this.type!==r9.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if((null==e.label||i.name===e.label.name)&&(null!=i.kind&&(n||"loop"===i.kind)||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")},i_.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},i_.parseDoStatement=function(e){return this.next(),this.labels.push(iA),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(r9._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(r9.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},i_.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(iA),this.enterScope(0),this.expect(r9.parenL),this.type===r9.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===r9._var||this.type===r9._const||n){var r=this.startNode(),i=n?"let":this.value;return(this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===r9._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length)?(this.options.ecmaVersion>=9&&(this.type===r9._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=this.isContextual("let"),s=!1,a=this.containsEsc,l=new ik,c=this.start,p=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(!0,l);return this.type===r9._in||(s=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===r9._in&&this.unexpected(t),e.await=!0):s&&this.options.ecmaVersion>=8&&(p.start!==c||a||"Identifier"!==p.type||"async"!==p.name?this.options.ecmaVersion>=9&&(e.await=!1):this.unexpected()),o&&s&&this.raise(p.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(p,!1,l),this.checkLValPattern(p),this.parseForIn(e,p)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,p))},i_.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,iw|(n?0:iL),!1,t)},i_.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(r9._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},i_.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(r9.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},i_.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(r9.braceL),this.labels.push(iY),this.enterScope(0);for(var t,n=!1;this.type!==r9.braceR;)if(this.type===r9._case||this.type===r9._default){var r=this.type===r9._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(r9.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},i_.parseThrowStatement=function(e){return this.next(),r8.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var iC=[];i_.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(32*!!t),this.checkLValPattern(e,t?4:2),this.expect(r9.parenR),e},i_.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===r9._catch){var t=this.startNode();this.next(),this.eat(r9.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(r9._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},i_.parseVarStatement=function(e,t,n){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")},i_.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(iA),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},i_.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},i_.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},i_.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i<o.length;i+=1)o[i].name===t&&this.raise(n.start,"Label '"+t+"' is already declared");for(var s=this.type.isLoop?"loop":this.type===r9._switch?"switch":null,a=this.labels.length-1;a>=0;a--){var l=this.labels[a];if(l.statementStart===e.start)l.statementStart=this.start,l.kind=s;else break}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},i_.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},i_.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(r9.braceL),e&&this.enterScope(0);this.type!==r9.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},i_.parseFor=function(e,t){return e.init=t,this.expect(r9.semi),e.test=this.type===r9.semi?null:this.parseExpression(),this.expect(r9.semi),e.update=this.type===r9.parenR?null:this.parseExpression(),this.expect(r9.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},i_.parseForIn=function(e,t){var n=this.type===r9._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(r9.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},i_.parseVar=function(e,t,n,r){for(e.declarations=[],e.kind=n;;){var i=this.startNode();if(this.parseVarId(i,n),this.eat(r9.eq)?i.init=this.parseMaybeAssign(t):r||"const"!==n||this.type===r9._in||this.options.ecmaVersion>=6&&this.isContextual("of")?r||"Identifier"===i.id.type||t&&(this.type===r9._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(r9.comma))break}return e},i_.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var iw=1,iL=2;function iI(e,t){var n=e.computed,r=e.key;return!n&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}i_.parseFunction=function(e,t,n,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===r9.star&&t&iL&&this.unexpected(),e.generator=this.eat(r9.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&iw&&(e.id=4&t&&this.type!==r9.name?null:this.parseIdent(),e.id&&!(t&iL)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var o=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ib(e.async,e.generator)),t&iw||(e.id=this.type===r9.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,i),this.yieldPos=o,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&iw?"FunctionDeclaration":"FunctionExpression")},i_.parseFunctionParams=function(e){this.expect(r9.parenL),e.params=this.parseBindingList(r9.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},i_.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),i=this.startNode(),o=!1;for(i.body=[],this.expect(r9.braceL);this.type!==r9.braceR;){var s=this.parseClassElement(null!==e.superClass);s&&(i.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind?(o&&this.raiseRecoverable(s.start,"Duplicate constructor in the same class"),o=!0):s.key&&"PrivateIdentifier"===s.key.type&&function(e,t){var n=t.key.name,r=e[n],i="true";return("MethodDefinition"===t.type&&("get"===t.kind||"set"===t.kind)&&(i=(t.static?"s":"i")+t.kind),"iget"===r&&"iset"===i||"iset"===r&&"iget"===i||"sget"===r&&"sset"===i||"sset"===r&&"sget"===i)?(e[n]="true",!1):!!r||(e[n]=i,!1)}(r,s)&&this.raiseRecoverable(s.key.start,"Identifier '#"+s.key.name+"' has already been declared"))}return this.strict=n,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},i_.parseClassElement=function(e){if(this.eat(r9.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r="",i=!1,o=!1,s="method",a=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(r9.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===r9.star?a=!0:r="static"}if(n.static=a,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===r9.star)&&!this.canInsertSemicolon()?o=!0:r="async"),!r&&(t>=9||!o)&&this.eat(r9.star)&&(i=!0),!r&&!o&&!i){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=l:r=l)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),t<13||this.type===r9.parenL||"method"!==s||i||o){var c=!n.static&&iI(n,"constructor");c&&"method"!==s&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=c?"constructor":s,this.parseClassMethod(n,i,o,c&&e)}else this.parseClassField(n);return n},i_.isClassElementNameStart=function(){return this.type===r9.name||this.type===r9.privateId||this.type===r9.num||this.type===r9.string||this.type===r9.bracketL||this.type.keyword},i_.parseClassElementName=function(e){this.type===r9.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},i_.parseClassMethod=function(e,t,n,r){var i=e.key;"constructor"===e.kind?(t&&this.raise(i.start,"Constructor can't be a generator"),n&&this.raise(i.start,"Constructor can't be an async method")):e.static&&iI(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,n,r);return"get"===e.kind&&0!==o.params.length&&this.raiseRecoverable(o.start,"getter should have no params"),"set"===e.kind&&1!==o.params.length&&this.raiseRecoverable(o.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===o.params[0].type&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},i_.parseClassField=function(e){if(iI(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&iI(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(r9.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},i_.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==r9.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},i_.parseClassId=function(e,t){this.type===r9.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},i_.parseClassSuper=function(e){e.superClass=this.eat(r9._extends)?this.parseExprSubscripts(null,!1):null},i_.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},i_.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,n=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,i=0===r?null:this.privateNameStack[r-1],o=0;o<n.length;++o){var s=n[o];il(t,s.name)||(i?i.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}},i_.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==r9.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},i_.parseExport=function(e,t){if(this.next(),this.eat(r9.star))return this.parseExportAllDeclaration(e,t);if(this.eat(r9._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==r9.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var n=0,r=e.specifiers;n<r.length;n+=1){var i=r[n];this.checkUnreserved(i.local),this.checkLocalExport(i.local),"Literal"===i.local.type&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},i_.parseExportDeclaration=function(e){return this.parseStatement(null)},i_.parseExportDefaultDeclaration=function(){if(this.type===r9._function||(e=this.isAsyncFunction())){var e,t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|iw,!1,e)}if(this.type===r9._class){var n=this.startNode();return this.parseClass(n,"nullableID")}var r=this.parseMaybeAssign();return this.semicolon(),r},i_.checkExport=function(e,t,n){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),il(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)},i_.checkPatternExport=function(e,t){var n=t.type;if("Identifier"===n)this.checkExport(e,t,t.start);else if("ObjectPattern"===n)for(var r=0,i=t.properties;r<i.length;r+=1){var o=i[r];this.checkPatternExport(e,o)}else if("ArrayPattern"===n)for(var s=0,a=t.elements;s<a.length;s+=1){var l=a[s];l&&this.checkPatternExport(e,l)}else"Property"===n?this.checkPatternExport(e,t.value):"AssignmentPattern"===n?this.checkPatternExport(e,t.left):"RestElement"===n&&this.checkPatternExport(e,t.argument)},i_.checkVariableExport=function(e,t){if(e)for(var n=0;n<t.length;n+=1){var r=t[n];this.checkPatternExport(e,r.id)}},i_.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},i_.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},i_.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(r9.braceL);!this.eat(r9.braceR);){if(n)n=!1;else if(this.expect(r9.comma),this.afterTrailingComma(r9.braceR))break;t.push(this.parseExportSpecifier(e))}return t},i_.parseImport=function(e){return this.next(),this.type===r9.string?(e.specifiers=iC,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===r9.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},i_.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},i_.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},i_.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},i_.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===r9.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(r9.comma)))return e;if(this.type===r9.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(r9.braceL);!this.eat(r9.braceR);){if(t)t=!1;else if(this.expect(r9.comma),this.afterTrailingComma(r9.braceR))break;e.push(this.parseImportSpecifier())}return e},i_.parseWithClause=function(){var e=[];if(!this.eat(r9._with))return e;this.expect(r9.braceL);for(var t={},n=!0;!this.eat(r9.braceR);){if(n)n=!1;else if(this.expect(r9.comma),this.afterTrailingComma(r9.braceR))break;var r=this.parseImportAttribute(),i="Identifier"===r.key.type?r.key.name:r.key.value;il(t,i)&&this.raiseRecoverable(r.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(r)}return e},i_.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===r9.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(r9.colon),this.type!==r9.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},i_.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===r9.string){var e=this.parseLiteral(this.value);return im.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},i_.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},i_.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var iO=iS.prototype;iO.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];this.toAssignable(o,t),"RestElement"===o.type&&("ArrayPattern"===o.argument.type||"ObjectPattern"===o.argument.type)&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,n);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return e},iO.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var i=e[r];i&&this.toAssignable(i,t)}if(n){var o=e[n-1];6===this.options.ecmaVersion&&t&&o&&"RestElement"===o.type&&"Identifier"!==o.argument.type&&this.unexpected(o.argument.start)}return e},iO.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},iO.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==r9.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},iO.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case r9.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(r9.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case r9.braceL:return this.parseObj(!0)}return this.parseIdent()},iO.parseBindingList=function(e,t,n,r){for(var i=[],o=!0;!this.eat(e);)if(o?o=!1:this.expect(r9.comma),t&&this.type===r9.comma)i.push(null);else if(n&&this.afterTrailingComma(e))break;else if(this.type===r9.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),i.push(s),this.type===r9.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(r));return i},iO.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},iO.parseBindingListItem=function(e){return e},iO.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(r9.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},iO.checkLValSimple=function(e,t,n){void 0===t&&(t=0);var r=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),n&&(il(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),5!==t&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,n);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}},iO.checkLValPattern=function(e,t,n){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];this.checkLValInnerPattern(o,t,n)}break;case"ArrayPattern":for(var s=0,a=e.elements;s<a.length;s+=1){var l=a[s];l&&this.checkLValInnerPattern(l,t,n)}break;default:this.checkLValSimple(e,t,n)}},iO.checkLValInnerPattern=function(e,t,n){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,n);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,n);break;case"RestElement":this.checkLValPattern(e.argument,t,n);break;default:this.checkLValPattern(e,t,n)}};var iD=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},iV={b_stat:new iD("{",!1),b_expr:new iD("{",!0),b_tmpl:new iD("${",!1),p_stat:new iD("(",!1),p_expr:new iD("(",!0),q_tmpl:new iD("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new iD("function",!1),f_expr:new iD("function",!0),f_expr_gen:new iD("function",!0,!1,null,!0),f_gen:new iD("function",!1,!1,null,!0)},iB=iS.prototype;iB.initialContext=function(){return[iV.b_stat]},iB.curContext=function(){return this.context[this.context.length-1]},iB.braceIsBlock=function(e){var t=this.curContext();return t===iV.f_expr||t===iV.f_stat||(e===r9.colon&&(t===iV.b_stat||t===iV.b_expr)?!t.isExpr:e===r9._return||e===r9.name&&this.exprAllowed?r8.test(this.input.slice(this.lastTokEnd,this.start)):e===r9._else||e===r9.semi||e===r9.eof||e===r9.parenR||e===r9.arrow||(e===r9.braceL?t===iV.b_stat:e!==r9._var&&e!==r9._const&&e!==r9.name&&!this.exprAllowed))},iB.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},iB.updateContext=function(e){var t,n=this.type;n.keyword&&e===r9.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},iB.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},r9.parenR.updateContext=r9.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var e=this.context.pop();e===iV.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},r9.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?iV.b_stat:iV.b_expr),this.exprAllowed=!0},r9.dollarBraceL.updateContext=function(){this.context.push(iV.b_tmpl),this.exprAllowed=!0},r9.parenL.updateContext=function(e){var t=e===r9._if||e===r9._for||e===r9._with||e===r9._while;this.context.push(t?iV.p_stat:iV.p_expr),this.exprAllowed=!0},r9.incDec.updateContext=function(){},r9._function.updateContext=r9._class.updateContext=function(e){e.beforeExpr&&e!==r9._else&&(e!==r9.semi||this.curContext()===iV.p_stat)&&!(e===r9._return&&r8.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==r9.colon&&e!==r9.braceL||this.curContext()!==iV.b_stat)?this.context.push(iV.f_expr):this.context.push(iV.f_stat),this.exprAllowed=!1},r9.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},r9.backQuote.updateContext=function(){this.curContext()===iV.q_tmpl?this.context.pop():this.context.push(iV.q_tmpl),this.exprAllowed=!1},r9.star.updateContext=function(e){if(e===r9._function){var t=this.context.length-1;this.context[t]===iV.f_expr?this.context[t]=iV.f_expr_gen:this.context[t]=iV.f_gen}this.exprAllowed=!0},r9.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==r9.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var iN=iS.prototype;iN.checkPropClash=function(e,t,n){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==e.type)&&(!(this.options.ecmaVersion>=6)||!e.computed&&!e.method&&!e.shorthand)){var r,i,o=e.key;switch(o.type){case"Identifier":r=o.name;break;case"Literal":r=String(o.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){"__proto__"===r&&"init"===s&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=o.start):this.raiseRecoverable(o.start,"Redefinition of __proto__ property")),t.proto=!0);return}var a=t[r="$"+r];a?("init"===s?this.strict&&a.init||a.get||a.set:a.init||a[s])&&this.raiseRecoverable(o.start,"Redefinition of property"):a=t[r]={init:!1,get:!1,set:!1},a[s]=!0}},iN.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===r9.comma){var o=this.startNodeAt(n,r);for(o.expressions=[i];this.eat(r9.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i},iN.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var r=!1,i=-1,o=-1,s=-1;t?(i=t.parenthesizedAssign,o=t.trailingComma,s=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new ik,r=!0);var a=this.start,l=this.startLoc;(this.type===r9.parenL||this.type===r9.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var c=this.parseMaybeConditional(e,t);if(n&&(c=n.call(this,c,a,l)),this.type.isAssign){var p=this.startNodeAt(a,l);return p.operator=this.value,this.type===r9.eq&&(c=this.toAssignable(c,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===r9.eq?this.checkLValPattern(c):this.checkLValSimple(c),p.left=c,this.next(),p.right=this.parseMaybeAssign(e),s>-1&&(t.doubleProto=s),this.finishNode(p,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),c},iN.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(r9.question)){var o=this.startNodeAt(n,r);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(r9.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i},iN.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},iN.parseExprOp=function(e,t,n,r,i){var o=this.type.binop;if(null!=o&&(!i||this.type!==r9._in)&&o>r){var s=this.type===r9.logicalOR||this.type===r9.logicalAND,a=this.type===r9.coalesce;a&&(o=r9.logicalAND.binop);var l=this.value;this.next();var c=this.start,p=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),c,p,o,i),f=this.buildBinary(t,n,e,u,l,s||a);return(s&&this.type===r9.coalesce||a&&(this.type===r9.logicalOR||this.type===r9.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(f,t,n,r,i)}return e},iN.buildBinary=function(e,t,n,r,i,o){"PrivateIdentifier"===r.type&&this.raise(r.start,"Private identifier can only be left side of binary expression");var s=this.startNodeAt(e,t);return s.left=n,s.operator=i,s.right=r,this.finishNode(s,o?"LogicalExpression":"BinaryExpression")},iN.parseMaybeUnary=function(e,t,n,r){var i,o=this.start,s=this.startLoc;if(this.isContextual("await")&&this.canAwait)i=this.parseAwait(r),t=!0;else if(this.type.prefix){var a=this.startNode(),l=this.type===r9.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0,l,r),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(a.argument):this.strict&&"delete"===a.operator&&function e(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&&e(t.expression)}(a.argument)?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):"delete"===a.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)||"ParenthesizedExpression"===t.type&&e(t.expression)}(a.argument)?this.raiseRecoverable(a.start,"Private fields can not be deleted"):t=!0,i=this.finishNode(a,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==r9.privateId){if(i=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(o,s);c.operator=this.value,c.prefix=!1,c.argument=i,this.checkLValSimple(i),this.next(),i=this.finishNode(c,"UpdateExpression")}}else(r||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),i=this.parsePrivateIdent(),this.type!==r9._in&&this.unexpected();return!n&&this.eat(r9.starstar)?t?void this.unexpected(this.lastTokStart):this.buildBinary(o,s,i,this.parseMaybeUnary(null,!1,!1,r),"**",!1):i},iN.parseExprSubscripts=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===i.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return i;var o=this.parseSubscripts(i,n,r,!1,t);return e&&"MemberExpression"===o.type&&(e.parenthesizedAssign>=o.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=o.start&&(e.parenthesizedBind=-1),e.trailingComma>=o.start&&(e.trailingComma=-1)),o},iN.parseSubscripts=function(e,t,n,r,i){for(var o=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,s=!1;;){var a=this.parseSubscript(e,t,n,r,o,s,i);if(a.optional&&(s=!0),a===e||"ArrowFunctionExpression"===a.type){if(s){var l=this.startNodeAt(t,n);l.expression=a,a=this.finishNode(l,"ChainExpression")}return a}e=a}},iN.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(r9.arrow)},iN.parseSubscriptAsyncArrow=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!0,r)},iN.parseSubscript=function(e,t,n,r,i,o,s){var a=this.options.ecmaVersion>=11,l=a&&this.eat(r9.questionDot);r&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(r9.bracketL);if(c||l&&this.type!==r9.parenL&&this.type!==r9.backQuote||this.eat(r9.dot)){var p=this.startNodeAt(t,n);p.object=e,c?(p.property=this.parseExpression(),this.expect(r9.bracketR)):this.type===r9.privateId&&"Super"!==e.type?p.property=this.parsePrivateIdent():p.property=this.parseIdent("never"!==this.options.allowReserved),p.computed=!!c,a&&(p.optional=l),e=this.finishNode(p,"MemberExpression")}else if(!r&&this.eat(r9.parenL)){var u=new ik,f=this.yieldPos,d=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var g=this.parseExprList(r9.parenR,this.options.ecmaVersion>=8,!1,u);if(i&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=f,this.awaitPos=d,this.awaitIdentPos=m,this.parseSubscriptAsyncArrow(t,n,g,s);this.checkExpressionErrors(u,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=m||this.awaitIdentPos;var h=this.startNodeAt(t,n);h.callee=e,h.arguments=g,a&&(h.optional=l),e=this.finishNode(h,"CallExpression")}else if(this.type===r9.backQuote){(l||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var y=this.startNodeAt(t,n);y.tag=e,y.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(y,"TaggedTemplateExpression")}return e},iN.parseExprAtom=function(e,t,n){this.type===r9.slash&&this.readRegexp();var r,i=this.potentialArrowAt===this.start;switch(this.type){case r9._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type!==r9.parenL||this.allowDirectSuper||this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==r9.dot&&this.type!==r9.bracketL&&this.type!==r9.parenL&&this.unexpected(),this.finishNode(r,"Super");case r9._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case r9.name:var o=this.start,s=this.startLoc,a=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(r9._function))return this.overrideContext(iV.f_expr),this.parseFunction(this.startNodeAt(o,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(r9.arrow))return this.parseArrowExpression(this.startNodeAt(o,s),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===r9.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(r9.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,s),[l],!0,t)}return l;case r9.regexp:var c=this.value;return(r=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},r;case r9.num:case r9.string:return this.parseLiteral(this.value);case r9._null:case r9._true:case r9._false:return(r=this.startNode()).value=this.type===r9._null?null:this.type===r9._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case r9.parenL:var p=this.start,u=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),u;case r9.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(r9.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case r9.braceL:return this.overrideContext(iV.b_expr),this.parseObj(!1,e);case r9._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case r9._class:return this.parseClass(this.startNode(),!1);case r9._new:return this.parseNew();case r9.backQuote:return this.parseTemplate();case r9._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(n);return this.unexpected();default:return this.parseExprAtomDefault()}},iN.parseExprAtomDefault=function(){this.unexpected()},iN.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===r9.parenL&&!e)return this.parseDynamicImport(t);if(this.type===r9.dot){var n=this.startNodeAt(t.start,t.loc&&t.loc.start);return n.name="import",t.meta=this.finishNode(n,"Identifier"),this.parseImportMeta(t)}this.unexpected()},iN.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(r9.parenR)?e.options=null:(this.expect(r9.comma),this.afterTrailingComma(r9.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),!this.eat(r9.parenR)&&(this.expect(r9.comma),this.afterTrailingComma(r9.parenR)||this.unexpected())));else if(!this.eat(r9.parenR)){var t=this.start;this.eat(r9.comma)&&this.eat(r9.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},iN.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},iN.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},iN.parseParenExpression=function(){this.expect(r9.parenL);var e=this.parseExpression();return this.expect(r9.parenR),e},iN.shouldParseArrow=function(e){return!this.canInsertSemicolon()},iN.parseParenAndDistinguishExpression=function(e,t){var n,r=this.start,i=this.startLoc,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,l=this.startLoc,c=[],p=!0,u=!1,f=new ik,d=this.yieldPos,m=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==r9.parenR;){if(p?p=!1:this.expect(r9.comma),o&&this.afterTrailingComma(r9.parenR,!0)){u=!0;break}if(this.type===r9.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===r9.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var g=this.lastTokEnd,h=this.lastTokEndLoc;if(this.expect(r9.parenR),e&&this.shouldParseArrow(c)&&this.eat(r9.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=m,this.parseParenArrowList(r,i,c,t);(!c.length||u)&&this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(f,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=m||this.awaitPos,c.length>1?((n=this.startNodeAt(a,l)).expressions=c,this.finishNodeAt(n,"SequenceExpression",g,h)):n=c[0]}else n=this.parseParenExpression();if(!this.options.preserveParens)return n;var y=this.startNodeAt(r,i);return y.expression=n,this.finishNode(y,"ParenthesizedExpression")},iN.parseParenItem=function(e){return e},iN.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!1,r)};var ij=[];iN.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===r9.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,i,!0,!1),this.eat(r9.parenL)?e.arguments=this.parseExprList(r9.parenR,this.options.ecmaVersion>=8,!1):e.arguments=ij,this.finishNode(e,"NewExpression")},iN.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===r9.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===r9.backQuote,this.finishNode(n,"TemplateElement")},iN.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===r9.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(r9.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(r9.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},iN.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===r9.name||this.type===r9.num||this.type===r9.string||this.type===r9.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===r9.star)&&!r8.test(this.input.slice(this.lastTokEnd,this.start))},iN.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(r9.braceR);){if(r)r=!1;else if(this.expect(r9.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(r9.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},iN.parseProperty=function(e,t){var n,r,i,o,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(r9.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===r9.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(s.argument=this.parseMaybeAssign(!1,t),this.type===r9.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(r9.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(s)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(r9.star),this.parsePropertyName(s)):r=!1,this.parsePropertyValue(s,e,n,r,i,o,t,a),this.finishNode(s,"Property")},iN.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=+("get"!==e.kind);if(e.value.params.length!==t){var n=e.value.start;"get"===e.kind?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},iN.parsePropertyValue=function(e,t,n,r,i,o,s,a){(n||r)&&this.type===r9.colon&&this.unexpected(),this.eat(r9.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init"):this.options.ecmaVersion>=6&&this.type===r9.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r)):t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===r9.comma||this.type===r9.braceR||this.type===r9.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===r9.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((n||r)&&this.unexpected(),this.parseGetterSetter(e))},iN.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(r9.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(r9.bracketR),e.key;else e.computed=!1;return e.key=this.type===r9.num||this.type===r9.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},iN.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},iN.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|ib(t,r.generator)|128*!!n),this.expect(r9.parenL),r.params=this.parseBindingList(r9.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")},iN.parseArrowExpression=function(e,t,n,r){var i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|ib(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},iN.parseFunctionBody=function(e,t,n,r){var i=t&&this.type!==r9.braceL,o=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!o||a)&&(s=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!o&&!s&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,s&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},iN.isSimpleParamList=function(e){for(var t=0;t<e.length;t+=1)if("Identifier"!==e[t].type)return!1;return!0},iN.checkParams=function(e,t){for(var n=Object.create(null),r=0,i=e.params;r<i.length;r+=1){var o=i[r];this.checkLValInnerPattern(o,1,t?null:n)}},iN.parseExprList=function(e,t,n,r){for(var i=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(r9.comma),t&&this.afterTrailingComma(e))break;var s=void 0;n&&this.type===r9.comma?s=null:this.type===r9.ellipsis?(s=this.parseSpread(r),r&&this.type===r9.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):s=this.parseMaybeAssign(!1,r),i.push(s)}return i},iN.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;this.inGenerator&&"yield"===r&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===r&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===r&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===r||"await"===r)&&this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),(!(this.options.ecmaVersion<6)||-1===this.input.slice(t,n).indexOf("\\"))&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(this.inAsync||"await"!==r||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))},iN.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),!e&&(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},iN.parseIdentNode=function(){var e=this.startNode();return this.type===r9.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,("class"===e.name||"function"===e.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=r9.name):this.unexpected(),e},iN.parsePrivateIdent=function(){var e=this.startNode();return this.type===r9.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},iN.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===r9.semi||this.canInsertSemicolon()||this.type!==r9.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(r9.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},iN.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var iM=iS.prototype;iM.raise=function(e,t){var n=iy(this.input,e),r=SyntaxError(t+=" ("+n.line+":"+n.column+")");throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},iM.raiseRecoverable=iM.raise,iM.curPosition=function(){if(this.options.locations)return new ig(this.curLine,this.pos-this.lineStart)};var iR=iS.prototype,iF=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};iR.enterScope=function(e){this.scopeStack.push(new iF(e))},iR.exitScope=function(){this.scopeStack.pop()},iR.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},iR.declareName=function(e,t,n){var r=!1;if(2===t){var i=this.currentScope();r=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var o=this.currentScope();r=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var s=this.scopeStack.length-1;s>=0;--s){var a=this.scopeStack[s];if(a.lexical.indexOf(e)>-1&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){r=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],259&a.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},iR.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},iR.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},iR.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},iR.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var iU=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ih(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},iq=iS.prototype;function iW(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}iq.startNode=function(){return new iU(this,this.start,this.startLoc)},iq.startNodeAt=function(e,t){return new iU(this,e,t)},iq.finishNode=function(e,t){return iW.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},iq.finishNodeAt=function(e,t,n,r){return iW.call(this,e,t,n,r)},iq.copyNode=function(e){var t=new iU(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};for(var iG="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",iH=iG+" Extended_Pictographic",i$=iH+" EBase EComp EMod EPres ExtPict",iK={9:iG,10:iH,11:iH,12:i$,13:i$,14:i$},iz={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},iJ="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",iX="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",iQ=iX+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",iZ=iQ+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",i0=iZ+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",i1=i0+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",i2={9:iX,10:iQ,11:iZ,12:i0,13:i1,14:i1+" 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"},i3={},i4=0,i6=[9,10,11,12,13,14];i4<i6.length;i4+=1)!function(e){var t=i3[e]={binary:iu(iK[e]+" "+iJ),binaryOfStrings:iu(iz[e]),nonBinary:{General_Category:iu(iJ),Script:iu(i2[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}(i6[i4]);var i5=iS.prototype,i9=function(e,t){this.parent=e,this.base=t||this};i9.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var n=e;n;n=n.parent)if(t.base===n.base&&t!==n)return!0;return!1},i9.prototype.sibling=function(){return new i9(this.parent,this.base)};var i8=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=i3[e.options.ecmaVersion>=14?14:e.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};function i7(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function oe(e){return e>=65&&e<=90||e>=97&&e<=122}function ot(e){return oe(e)||95===e}function on(e){return e>=48&&e<=57}function or(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function oi(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function oo(e){return e>=48&&e<=55}i8.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("v"),i=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=i&&this.parser.options.ecmaVersion>=9)},i8.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},i8.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return -1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-0x35fdc00:i},i8.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i,o=n.charCodeAt(e);return!(t||this.switchU)||o<=55295||o>=57344||e+1>=r||(i=n.charCodeAt(e+1))<56320||i>57343?e+1:e+2},i8.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},i8.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},i8.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},i8.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},i8.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var n=this.pos,r=0;r<e.length;r+=1){var i=e[r],o=this.at(n,t);if(-1===o||o!==i)return!1;n=this.nextIndex(n,t)}return this.pos=n,!0},i5.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=!1,i=!1,o=0;o<n.length;o++){var s=n.charAt(o);-1===t.indexOf(s)&&this.raise(e.start,"Invalid regular expression flag"),n.indexOf(s,o+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===s&&(r=!0),"v"===s&&(i=!0)}this.options.ecmaVersion>=15&&r&&i&&this.raise(e.start,"Invalid regular expression flag")},i5.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&function(e){for(var t in e)return!0;return!1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},i5.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames[r]||e.raise("Invalid named capture referenced")}},i5.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new i9(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},i5.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},i5.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?!!this.regexp_eatAtom(e):!!this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},i5.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},i5.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},i5.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},i5.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return -1!==i&&i<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=n}return!1},i5.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},i5.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},i5.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var n=this.regexp_eatModifiers(e),r=e.eat(45);if(n||r){for(var i=0;i<n.length;i++){var o=n.charAt(i);n.indexOf(o,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(r){var s=this.regexp_eatModifiers(e);n||s||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var a=0;a<s.length;a++){var l=s.charAt(a);(s.indexOf(l,a+1)>-1||n.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},i5.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},i5.regexp_eatModifiers=function(e){for(var t,n="",r=0;-1!==(r=e.current())&&(105===(t=r)||109===t||115===t);)n+=id(r),e.advance();return n},i5.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},i5.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},i5.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!i7(t)&&(e.lastIntValue=t,e.advance(),!0)},i5.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!i7(n);)e.advance();return e.pos!==t},i5.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return -1!==t&&36!==t&&(!(t>=40)||!(t<=43))&&46!==t&&63!==t&&91!==t&&94!==t&&124!==t&&(e.advance(),!0)},i5.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,n=e.groupNames[e.lastStringValue];if(n)if(t)for(var r=0;r<n.length;r+=1)n[r].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(n||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},i5.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},i5.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=id(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=id(e.lastIntValue);return!0}return!1},i5.regexp_eatRegExpIdentifierStart=function(e){var t,n=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return(e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),rZ(t=i,!0)||36===t||95===t)?(e.lastIntValue=i,!0):(e.pos=n,!1)},i5.regexp_eatRegExpIdentifierPart=function(e){var t,n=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return(e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),r0(t=i,!0)||36===t||95===t||8204===t||8205===t)?(e.lastIntValue=i,!0):(e.pos=n,!1)},i5.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},i5.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},i5.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},i5.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},i5.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},i5.regexp_eatZero=function(e){return!(48!==e.current()||on(e.lookahead()))&&(e.lastIntValue=0,e.advance(),!0)},i5.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},i5.regexp_eatControlLetter=function(e){var t=e.current();return!!oe(t)&&(e.lastIntValue=t%32,e.advance(),!0)},i5.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i,o=e.lastIntValue;if(r&&o>=55296&&o<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(o-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=o}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(i=e.lastIntValue)>=0&&i<=1114111)return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},i5.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return 99!==t&&(!e.switchN||107!==t)&&(e.lastIntValue=t,e.advance(),!0)},i5.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},i5.regexp_eatCharacterClassEscape=function(e){var t,n,r=e.current();if(100===(t=r)||68===t||115===t||83===t||119===t||87===t)return e.lastIntValue=-1,e.advance(),1;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=80===r)||112===r)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&2===n&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return 0},i5.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return 0},i5.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){il(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},i5.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},i5.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ot(t=e.current());)e.lastStringValue+=id(t),e.advance();return""!==e.lastStringValue},i5.regexp_eatUnicodePropertyValue=function(e){var t,n=0;for(e.lastStringValue="";ot(t=n=e.current())||on(t);)e.lastStringValue+=id(n),e.advance();return""!==e.lastStringValue},i5.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},i5.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),n=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===n&&e.raise("Negated character class may contain strings"),!0}return!1},i5.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},i5.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(-1===t||-1===n)&&e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},i5.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||oo(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},i5.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},i5.regexp_classSetExpression=function(e){var t,n=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(n=2);for(var r=e.pos;e.eatChars([38,38]);){if(38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))){2!==t&&(n=1);continue}e.raise("Invalid character in character class")}if(r!==e.pos)return n;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(r!==e.pos)return n}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return n;2===t&&(n=2)}},i5.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return -1!==n&&-1!==r&&n>r&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},i5.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},i5.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var n=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return n&&2===r&&e.raise("Negated character class may contain strings"),r;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null},i5.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var n=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return n}else e.raise("Invalid escape");e.pos=t}return null},i5.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},i5.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},i5.regexp_eatClassSetCharacter=function(e){var t,n,r=e.pos;if(e.eat(92))return!!(this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=r,!1));var i=e.current();return!(i<0||i===e.lookahead()&&(33===(t=i)||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t)||40===(n=i)||41===n||45===n||47===n||n>=91&&n<=93||n>=123&&n<=125)&&(e.advance(),e.lastIntValue=i,!0)},i5.regexp_eatClassSetReservedPunctuator=function(e){var t,n=e.current();return!!(33===(t=n)||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t)&&(e.lastIntValue=n,e.advance(),!0)},i5.regexp_eatClassControlLetter=function(e){var t=e.current();return(!!on(t)||95===t)&&(e.lastIntValue=t%32,e.advance(),!0)},i5.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},i5.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;on(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},i5.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;or(n=e.current());)e.lastIntValue=16*e.lastIntValue+oi(n),e.advance();return e.pos!==t},i5.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},i5.regexp_eatOctalDigit=function(e){var t=e.current();return oo(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},i5.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var i=e.current();if(!or(i))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+oi(i),e.advance()}return!0};var os=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new ih(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},oa=iS.prototype;function ol(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}oa.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new os(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},oa.getToken=function(){return this.next(),new os(this)},"undefined"!=typeof Symbol&&(oa[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===r9.eof,value:t}}}}),oa.nextToken=function(){var e=this.curContext();return(e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(r9.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},oa.readToken=function(e){return rZ(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},oa.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-0x35fdc00},oa.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(var r=void 0,i=t;(r=it(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},oa.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!ie(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},oa.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++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(e>8&&e<14||e>=5760&&ir.test(String.fromCharCode(e)))++this.pos;else break e}}},oa.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},oa.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(r9.ellipsis)):(++this.pos,this.finishToken(r9.dot))},oa.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(r9.assign,2):this.finishOp(r9.slash,1)},oa.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?r9.star:r9.modulo;return(this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=r9.starstar,t=this.input.charCodeAt(this.pos+2)),61===t)?this.finishOp(r9.assign,n+1):this.finishOp(r,n)},oa.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(r9.assign,3):this.finishOp(124===e?r9.logicalOR:r9.logicalAND,2);return 61===t?this.finishOp(r9.assign,2):this.finishOp(124===e?r9.bitwiseOR:r9.bitwiseAND,1)},oa.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(r9.assign,2):this.finishOp(r9.bitwiseXOR,1)},oa.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45===t&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||r8.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(r9.incDec,2):61===t?this.finishOp(r9.assign,2):this.finishOp(r9.plusMin,1)},oa.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n))?this.finishOp(r9.assign,n+1):this.finishOp(r9.bitShift,n):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(r9.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},oa.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(r9.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(r9.arrow)):this.finishOp(61===e?r9.eq:r9.prefix,1)},oa.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(r9.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(r9.assign,3):this.finishOp(r9.coalesce,2)}return this.finishOp(r9.question,1)},oa.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,rZ(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(r9.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+id(t)+"'")},oa.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(r9.parenL);case 41:return++this.pos,this.finishToken(r9.parenR);case 59:return++this.pos,this.finishToken(r9.semi);case 44:return++this.pos,this.finishToken(r9.comma);case 91:return++this.pos,this.finishToken(r9.bracketL);case 93:return++this.pos,this.finishToken(r9.bracketR);case 123:return++this.pos,this.finishToken(r9.braceL);case 125:return++this.pos,this.finishToken(r9.braceR);case 58:return++this.pos,this.finishToken(r9.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(r9.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)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(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(r9.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+id(e)+"'")},oa.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},oa.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(r8.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var a=this.regexpState||(this.regexpState=new i8(this));a.reset(n,i,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var l=null;try{l=new RegExp(i,s)}catch(e){}return this.finishToken(r9.regexp,{pattern:i,flags:s,value:l})},oa.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,i=n&&48===this.input.charCodeAt(this.pos),o=this.pos,s=0,a=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var p=this.input.charCodeAt(this.pos),u=void 0;if(r&&95===p){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=p;continue}if((u=p>=97?p-97+10:p>=65?p-65+10:p>=48&&p<=57?p-48:1/0)>=e)break;a=p,s=s*e+u}return(r&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||null!=t&&this.pos-o!==t)?null:s},oa.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=ol(this.input.slice(t,this.pos)),++this.pos):rZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r9.num,n)},oa.readNumber=function(e){var t,n=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(n,"Invalid number");var r=this.pos-n>=2&&48===this.input.charCodeAt(n);r&&this.strict&&this.raise(n,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===i){var o=ol(this.input.slice(n,this.pos));return++this.pos,rZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r9.num,o)}r&&/[89]/.test(this.input.slice(n,this.pos))&&(r=!1),46!==i||r||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||r||((43===(i=this.input.charCodeAt(++this.pos))||45===i)&&++this.pos,null===this.readInt(10)&&this.raise(n,"Invalid number")),rZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=(t=this.input.slice(n,this.pos),r?parseInt(t,8):parseFloat(t.replace(/_/g,"")));return this.finishToken(r9.num,s)},oa.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},oa.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):8232===r||8233===r?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ie(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(r9.string,t)};var oc={};oa.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===oc)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},oa.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw oc;this.raise(e,t)},oa.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===r9.template||this.type===r9.invalidTemplate))if(36===n)return this.pos+=2,this.finishToken(r9.dollarBraceL);else return++this.pos,this.finishToken(r9.backQuote);return e+=this.input.slice(t,this.pos),this.finishToken(r9.template,e)}if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ie(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},oa.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(r9.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},oa.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return id(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++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"),e){var n=this.pos-1;this.invalidStringToken(n,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(i=parseInt(r=r.slice(0,-1),8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),("0"!==r||56===t||57===t)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}if(ie(t))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(t)}},oa.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},oa.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(r0(i,r))this.pos+=i<=65535?1:2;else if(92===i){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var o=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?rZ:r0)(s,r)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=id(s),n=this.pos}else break;t=!1}return e+this.input.slice(n,this.pos)},oa.readWord=function(){var e=this.readWord1(),t=r9.name;return this.keywords.test(e)&&(t=r6[e]),this.finishToken(t,e)};var op="8.14.0";iS.acorn={Parser:iS,version:op,defaultOptions:iE,Position:ig,SourceLocation:ih,getLineInfo:iy,Node:iU,TokenType:r1,tokTypes:r9,keywordTypes:r6,TokContext:iD,tokContexts:iV,isIdentifierChar:r0,isIdentifierStart:rZ,Token:os,isNewLine:ie,lineBreak:r8,lineBreakG:r7,nonASCIIwhitespace:ir};var ou=Object.freeze({__proto__:null,Node:iU,Parser:iS,Position:ig,SourceLocation:ih,TokContext:iD,Token:os,TokenType:r1,defaultOptions:iE,getLineInfo:iy,isIdentifierChar:r0,isIdentifierStart:rZ,isNewLine:ie,keywordTypes:r6,lineBreak:r8,lineBreakG:r7,nonASCIIwhitespace:ir,parse:function(e,t){return iS.parse(e,t)},parseExpressionAt:function(e,t,n){return iS.parseExpressionAt(e,t,n)},tokContexts:iV,tokTypes:r9,tokenizer:function(e,t){return iS.tokenizer(e,t)},version:op}),of={exports:{}},od=n7.g(ou),om=(p||(p=1,!function(e){let t=c?l:(c=1,l={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",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:"♦"}),n=/^[\da-fA-F]+$/,r=/^\d+$/,i=new WeakMap;function o(e){e=e.Parser.acorn||e;let t=i.get(e);if(!t){let n=e.tokTypes,r=e.TokContext,o=e.TokenType,s=new r("<tag",!1),a=new r("</tag",!1),l=new r("<tag>...</tag>",!0,!0),c={jsxName:new o("jsxName"),jsxText:new o("jsxText",{beforeExpr:!0}),jsxTagStart:new o("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new o("jsxTagEnd")};c.jsxTagStart.updateContext=function(){this.context.push(l),this.context.push(s),this.exprAllowed=!1},c.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===s&&e===n.slash||t===a?(this.context.pop(),this.exprAllowed=this.curContext()===l):this.exprAllowed=!0},t={tokContexts:{tc_oTag:s,tc_cTag:a,tc_expr:l},tokTypes:c},i.set(e,t)}return t}function s(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?s(e.object)+"."+s(e.property):void 0:e}e.exports=function(e){return e=e||{},function(i){return function(e,i){let a=i.acorn||od,l=o(a),c=a.tokTypes,p=l.tokTypes,u=a.tokContexts,f=l.tokContexts.tc_oTag,d=l.tokContexts.tc_cTag,m=l.tokContexts.tc_expr,g=a.isNewLine,h=a.isIdentifierStart,y=a.isIdentifierChar;return class extends i{static get acornJsx(){return l}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let n=this.input.charCodeAt(this.pos);switch(n){case 60:case 123:if(this.pos===this.start){if(60===n&&this.exprAllowed)return++this.pos,this.finishToken(p.jsxTagStart);return this.getTokenFromCode(n)}return e+=this.input.slice(t,this.pos),this.finishToken(p.jsxText,e);case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===n?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:g(n)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",n=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let r=this.input.charCodeAt(this.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos):g(r)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!1),n=this.pos):++this.pos}return t+=this.input.slice(n,this.pos++),this.finishToken(c.string,t)}jsx_readEntity(){let e="",i=0,o,s=this.input[this.pos];"&"!==s&&this.raise(this.pos,"Entity must start with an ampersand");let a=++this.pos;for(;this.pos<this.input.length&&i++<10;){if(";"===(s=this.input[this.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),n.test(e)&&(o=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),r.test(e)&&(o=String.fromCharCode(parseInt(e,10)))):o=t[e];break}e+=s}return o||(this.pos=a,"&")}jsx_readWord(){let e,t=this.pos;do e=this.input.charCodeAt(++this.pos);while(y(e)||45===e);return this.finishToken(p.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===p.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let t=this.start,n=this.startLoc,r=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(c.colon))return r;var i=this.startNodeAt(t,n);return i.namespace=r,i.name=this.jsx_parseIdentifier(),this.finishNode(i,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===p.jsxTagEnd)return"";let t=this.start,n=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type!==c.dot||"JSXNamespacedName"!==r.type||e.allowNamespacedObjects||this.unexpected();this.eat(c.dot);){let e=this.startNodeAt(t,n);e.object=r,e.property=this.jsx_parseIdentifier(),r=this.finishNode(e,"JSXMemberExpression")}return r}jsx_parseAttributeValue(){switch(this.type){case c.braceL:let e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case p.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 e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===c.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(c.braceR),this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();return this.eat(c.braceL)?(this.expect(c.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(c.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(c.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsx_parseOpeningElementAt(e,t){let n=this.startNodeAt(e,t);n.attributes=[];let r=this.jsx_parseElementName();for(r&&(n.name=r);this.type!==c.slash&&this.type!==p.jsxTagEnd;)n.attributes.push(this.jsx_parseAttribute());return n.selfClosing=this.eat(c.slash),this.expect(p.jsxTagEnd),this.finishNode(n,r?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let n=this.startNodeAt(e,t),r=this.jsx_parseElementName();return r&&(n.name=r),this.expect(p.jsxTagEnd),this.finishNode(n,r?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let n=this.startNodeAt(e,t),r=[],i=this.jsx_parseOpeningElementAt(e,t),o=null;if(!i.selfClosing){t:for(;;)switch(this.type){case p.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(c.slash)){o=this.jsx_parseClosingElementAt(e,t);break t}r.push(this.jsx_parseElementAt(e,t));break;case p.jsxText:r.push(this.parseExprAtom());break;case c.braceL:r.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(o.name)!==s(i.name)&&this.raise(o.start,"Expected corresponding JSX closing tag for <"+s(i.name)+">")}let a=i.name?"Element":"Fragment";return n["opening"+a]=i,n["closing"+a]=o,n.children=r,this.type===c.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSX"+a)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===p.jsxText?this.jsx_parseText():this.type===p.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===f||t===d){if(h(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(p.jsxTagEnd);if((34===e||39===e)&&t==f)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(p.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==c.braceL){var t=this.curContext();t==f?this.context.push(u.b_expr):t==m?this.context.push(u.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==c.slash||e!==p.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(d),this.exprAllowed=!1}}}}({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects},i)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return o(od).tokTypes},configurable:!0,enumerable:!0})}(of)),of.exports),og=n7.a(om);const oh={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 oy(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}oy.prototype={constructor:oy,translate(e,t){let n=e.type,r=this._acornTokTypes;if(n===r.name)e.type=oh.Identifier,"static"===e.value&&(e.type=oh.Keyword),t.ecmaVersion>5&&("yield"===e.value||"let"===e.value)&&(e.type=oh.Keyword);else if(n===r.privateId)e.type=oh.PrivateIdentifier;else if(n===r.semi||n===r.comma||n===r.parenL||n===r.parenR||n===r.braceL||n===r.braceR||n===r.dot||n===r.bracketL||n===r.colon||n===r.question||n===r.bracketR||n===r.ellipsis||n===r.arrow||n===r.jsxTagStart||n===r.incDec||n===r.starstar||n===r.jsxTagEnd||n===r.prefix||n===r.questionDot||n.binop&&!n.keyword||n.isAssign)e.type=oh.Punctuator,e.value=this._code.slice(e.start,e.end);else if(n===r.jsxName)e.type=oh.JSXIdentifier;else if("jsxText"===n.label||n===r.jsxAttrValueToken)e.type=oh.JSXText;else if(n.keyword)"true"===n.keyword||"false"===n.keyword?e.type=oh.Boolean:"null"===n.keyword?e.type=oh.Null:e.type=oh.Keyword;else if(n===r.num)e.type=oh.Numeric,e.value=this._code.slice(e.start,e.end);else if(n===r.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=oh.JSXText):e.type=oh.String,e.value=this._code.slice(e.start,e.end);else if(n===r.regexp){e.type=oh.RegularExpression;let t=e.value;e.regex={flags:t.flags,pattern:t.pattern},e.value=`/${t.pattern}/${t.flags}`}return e},onToken(e,t){let n=this._acornTokTypes,r=t.tokens,i=this._tokens,o=()=>{r.push(function(e,t){let n=e[0],r=e.at(-1),i={type:oh.Template,value:t.slice(n.start,r.end)};return n.loc&&(i.loc={start:n.loc.start,end:r.loc.end}),n.range&&(i.start=n.range[0],i.end=r.range[1],i.range=[i.start,i.end]),i}(this._tokens,this._code)),this._tokens=[]};if(e.type===n.eof){this._curlyBrace&&r.push(this.translate(this._curlyBrace,t));return}if(e.type===n.backQuote){this._curlyBrace&&(r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),i.push(e),i.length>1&&o();return}if(e.type===n.dollarBraceL){i.push(e),o();return}if(e.type===n.braceR){this._curlyBrace&&r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=e;return}if(e.type===n.template||e.type===n.invalidTemplate){this._curlyBrace&&(i.push(this._curlyBrace),this._curlyBrace=null),i.push(e);return}this._curlyBrace&&(r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),r.push(this.translate(e,t))}};const oE=[3,5,6,7,8,9,10,11,12,13,14,15,16];function oT(){return oE.at(-1)}const ob=Symbol("espree's internal state"),oS=Symbol("espree's esprimaFinishNode");var ox=()=>e=>{let t=Object.assign({},e.acorn.tokTypes);return e.acornJsx&&Object.assign(t,e.acornJsx.tokTypes),class extends e{constructor(e,n){("object"!=typeof e||null===e)&&(e={}),"string"==typeof n||n instanceof String||(n=String(n));let r=e.sourceType,i=function(e){let t=function(e=5){let t="latest"===e?oT():e;if("number"!=typeof t)throw Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);if(t>=2015&&(t-=2009),!oE.includes(t))throw Error("Invalid ecmaVersion.");return t}(e.ecmaVersion),n=function(e="script"){if("script"===e||"module"===e)return e;if("commonjs"===e)return"script";throw Error("Invalid sourceType.")}(e.sourceType),r=!0===e.range,i=!0===e.loc;if(3!==t&&e.allowReserved)throw Error("`allowReserved` is only supported when ecmaVersion is 3");if(void 0!==e.allowReserved&&"boolean"!=typeof e.allowReserved)throw Error("`allowReserved`, when present, must be `true` or `false`");let o=3===t&&(e.allowReserved||"never"),s=e.ecmaFeatures||{},a="commonjs"===e.sourceType||!!s.globalReturn;if("module"===n&&t<6)throw Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},e,{ecmaVersion:t,sourceType:n,ranges:r,locations:i,allowReserved:o,allowReturnOutsideFunction:a})}(e),o=i.ecmaFeatures||{},s=!0===i.tokens?new oy(t,n):null,a={originalSourceType:r||i.sourceType,tokens:s?[]:null,comments:!0===i.comment?[]:null,impliedStrict:!0===o.impliedStrict&&i.ecmaVersion>=5,ecmaVersion:i.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:i.ecmaVersion,sourceType:i.sourceType,ranges:i.ranges,locations:i.locations,allowReserved:i.allowReserved,allowReturnOutsideFunction:i.allowReturnOutsideFunction,onToken(e){s&&s.onToken(e,a),e.type!==t.eof&&(a.lastToken=e)},onComment(e,t,r,i,o,s){if(a.comments){let l=function(e,t,n,r,i,o,s){let a,l={type:e?"Block":"#!"===s.slice(n,n+2)?"Hashbang":"Line",value:t};return"number"==typeof n&&(l.start=n,l.end=r,l.range=[n,r]),"object"==typeof i&&(l.loc={start:i,end:o}),l}(e,t,r,i,o,s,n);a.comments.push(l)}}},n),this[ob]=a}tokenize(){do this.next();while(this.type!==t.eof);this.next();let e=this[ob],n=e.tokens;return e.comments&&(n.comments=e.comments),n}finishNode(...e){let t=super.finishNode(...e);return this[oS](t)}finishNodeAt(...e){let t=super.finishNodeAt(...e);return this[oS](t)}parse(){let e=this[ob],t=super.parse();if(t.sourceType=e.originalSourceType,e.comments&&(t.comments=e.comments),e.tokens&&(t.tokens=e.tokens),t.body.length){let[e]=t.body;t.range&&(t.range[0]=e.range[0]),t.loc&&(t.loc.start=e.loc.start),t.start=e.start}return e.lastToken&&(t.range&&(t.range[1]=e.lastToken.range[1]),t.loc&&(t.loc.end=e.lastToken.loc.end),t.end=e.lastToken.end),this[ob].templateElements.forEach(e=>{let t=e.tail?1:2;e.start+=-1,e.end+=t,e.range&&(e.range[0]+=-1,e.range[1]+=t),e.loc&&(e.loc.start.column+=-1,e.loc.end.column+=t)}),t}parseTopLevel(e){return this[ob].impliedStrict&&(this.strict=!0),super.parseTopLevel(e)}raise(t,n){let r=e.acorn.getLineInfo(this.input,t),i=SyntaxError(n);throw i.index=t,i.lineNumber=r.line,i.column=r.column+1,i}raiseRecoverable(e,t){this.raise(e,t)}unexpected(e){let t="Unexpected token";if(null!=e){if(this.pos=e,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf("\n",this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(t+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,t)}jsx_readString(e){let n=super.jsx_readString(e);return this.type===t.string&&(this[ob].jsxAttrValueToken=!0),n}[oS](e){return"TemplateElement"===e.type&&this[ob].templateElements.push(e),e.type.includes("Function")&&!e.generator&&(e.generator=!1),e}}};const oP={_regular:null,_jsx:null,get regular(){return null===this._regular&&(this._regular=iS.extend(ox())),this._regular},get jsx(){return null===this._jsx&&(this._jsx=iS.extend(og(),ox())),this._jsx},get(e){return e&&e.ecmaFeatures&&e.ecmaFeatures.jsx?this.jsx:this.regular}};function ov(e,t){let n=oP.get(t);return t&&!0===t.tokens||(t=Object.assign({},t,{tokens:!0})),new n(t,e).tokenize()}let ok,o_={};for(ok in"function"==typeof Object.create&&(o_=Object.create(null)),rM)Object.hasOwn(rM,ok)&&(o_[ok]=ok);"function"==typeof Object.freeze&&Object.freeze(o_);const oA=oT(),oY=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,oC=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,ow=new Set(["\r\n","\r","\n","\u2028","\u2029"]),oL=/\r\n|[\r\n\u2028\u2029]/u,oI=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),oO=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,oD=/^(?:[^\\]|\\.)*\\(?:[1-9]|0\d)/su;function oV(){return RegExp(oL.source,"gu")}function oB(e){return!!(e&&oY.test(e.type))}function oN(e){let t;if(e)switch(e.type){case"ChainExpression":return oN(e.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":case"ImportAttribute":t=e.key;break;case"MemberExpression":t=e.property}if(t){if("Identifier"===t.type&&!("computed"in e&&e.computed))return t.name;var n=t;switch(n.type){case"Literal":if(null!==n.value||"Literal"===n.type&&null===n.value&&!("regex"in n)&&!("bigint"in n))return String(n.value);if("regex"in n&&n.regex)return`/${n.regex.pattern}/${n.regex.flags}`;if("bigint"in n&&n.bigint)return n.bigint;break;case"TemplateLiteral":if(0===n.expressions.length&&1===n.quasis.length)return n.quasis[0].value.cooked}}return null}function oj(e){return e&&"ChainExpression"===e.type?e.expression:e}function oM(e){return t=>!e(t)}function oR(e,t){let n=e.getTokenBefore(t),r=e.getTokenAfter(t);return!!n&&!!r&&"("===n.value&&n.range[1]<=t.range[0]&&")"===r.value&&r.range[0]>=t.range[1]}function oF(e){return"="===e.value&&"Punctuator"===e.type}function oU(e){return"=>"===e.value&&"Punctuator"===e.type}function oq(e){return","===e.value&&"Punctuator"===e.type}function oW(e){return"?."===e.value&&"Punctuator"===e.type}function oG(e){return";"===e.value&&"Punctuator"===e.type}function oH(e){return":"===e.value&&"Punctuator"===e.type}function o$(e){return"("===e.value&&"Punctuator"===e.type}function oK(e){return")"===e.value&&"Punctuator"===e.type}function oz(e){return"["===e.value&&"Punctuator"===e.type}function oJ(e){return"]"===e.value&&"Punctuator"===e.type}function oX(e){return"{"===e.value&&"Punctuator"===e.type}function oQ(e){return"}"===e.value&&"Punctuator"===e.type}function oZ(e){return!!e&&("Line"===e.type||"Block"===e.type||"Shebang"===e.type)}function o0(e){return"Keyword"===e.type}function o1(e){return"LogicalExpression"===e.type&&("&&"===e.operator||"||"===e.operator)}function o2(e){return"LogicalExpression"===e.type&&"??"===e.operator}function o3(e,t){return o1(e)&&o2(t)||o2(e)&&o1(t)}function o4(e,t){return"test"in e&&e.test?t.getTokenAfter(e.test,e=>oH(e)):t.getFirstToken(e,1)}function o6(e){if("ExpressionStatement"!==e.type)return!1;let t=e.parent;return"Program"===t.type||"BlockStatement"===t.type&&oB(t.parent)}function o5(e){return"ExpressionStatement"===e.type&&"string"==typeof e.directive}function o9(e,t){return e?.loc?.end.line===t?.loc?.start.line}const o8=oM(oK),o7=oM(oq),se=oM(oW),st=oM(o$),sn=oM(oG);function sr(e,t){return e[0]===t&&e[e.length-1]===t}function si(e){switch(e.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(e.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(e.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:if(e.type in rM)return 20;return -1}}function so(e){return"Literal"===e.type&&"number"==typeof e.value&&oO.test(e.raw)}function ss(e,{column:t,line:n}){return t<e.lines[n-1].length?{column:t+1,line:n}:n<e.lines.length?{column:0,line:n+1}:null}function sa(e,t){let n,r,i={comment:!0,ecmaVersion:oA,range:!0};if("string"==typeof e){let t;try{t=ov(e,i)}catch{return!1}let r=t.comments;if(n=t[t.length-1],r.length){let e=r[r.length-1];(!n||e.range[0]>n.range[0])&&(n=e)}}else n=e;if("Shebang"===n.type||"Hashbang"===n.type)return!1;if("string"==typeof t){let e;try{e=ov(t,i)}catch{return!1}let n=e.comments;if(r=e[0],n.length){let e=n[0];(!r||e.range[0]<r.range[0])&&(r=e)}}else r=t;if("Punctuator"===n.type||"Punctuator"===r.type){if("Punctuator"===n.type&&"Punctuator"===r.type){let e=new Set(["+","++"]),t=new Set(["-","--"]);return!(e.has(n.value)&&e.has(r.value)||t.has(n.value)&&t.has(r.value))}return"Punctuator"!==n.type||"/"!==n.value||!["Block","Line","RegularExpression"].includes(r.type)}return!!("String"===n.type||"String"===r.type||"Template"===n.type||"Template"===r.type||"Numeric"!==n.type&&"Numeric"===r.type&&r.value.startsWith("."))||"Block"===n.type||"Block"===r.type||"Line"===r.type||"PrivateIdentifier"===r.type}function sl(e,t,n=1){let r,i;if(null==e||null==e.parent||"CatchClause"===e.parent.type&&e.parent.param===e)return!1;r=i=e;do r=t.getTokenBefore(r),i=t.getTokenAfter(i);while(null!=r&&null!=i&&"Punctuator"===r.type&&"("===r.value&&"Punctuator"===i.type&&")"===i.value&&r!==function(e,t){let n=e.parent;if(!n)return null;switch(n.type){case"CallExpression":case"NewExpression":if(1===n.arguments.length&&n.arguments[0]===e)return t.getTokenAfter(n.callee,o$);return null;case"DoWhileStatement":if(n.test===e)return t.getTokenAfter(n.body,o$);return null;case"IfStatement":case"WhileStatement":if(n.test===e)return t.getFirstToken(n,1);return null;case"ImportExpression":if(n.source===e)return t.getFirstToken(n,1);return null;case"SwitchStatement":if(n.discriminant===e)return t.getFirstToken(n,1);return null;case"WithStatement":if(n.object===e)return t.getFirstToken(n,1);return null;default:return null}}(e,t)&&--n>0);return 0===n}function sc(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}function sp({name:e,package:t,create:n,defaultOptions:r=[],meta:i}){return{create:e=>{let t=Array.from({length:Math.max(e.options.length,r.length)},(t,n)=>sc(e.options[n])&&sc(r[n])?function e(t={},n={}){return Array.from(new Set(Object.keys(t).concat(Object.keys(n)))).reduce((r,i)=>{let o=i in t,s=i in n,a=t[i],l=n[i];return o&&s?sc(a)&&sc(l)?r[i]=e(a,l):r[i]=l:o?r[i]=a:r[i]=l,r},{})}(r[n],e.options[n]):e.options[n]??r[n]);return n(e,t)},defaultOptions:r,meta:{...i,docs:{...i.docs,url:`https://eslint.style/rules/${t}/${e}`}}}}const su=["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"];let sf=class{constructor(e,t){this.fixer=e,this.sourceCode=t,this.retainedRange=null}retainedRange;retainRange(e){return this.retainedRange=e,this}retainEnclosingFunction(e){let t=function(e){for(let t=e;t;t=t.parent)if(oY.test(t.type))return t;return null}(e);return this.retainRange(t?t.range:this.sourceCode.ast.range)}retainSurroundingTokens(e){let t=this.sourceCode.getTokenBefore(e)||e,n=this.sourceCode.getTokenAfter(e)||e;return this.retainRange([t.range[0],n.range[1]])}replaceTextRange(e,t){let n;return n=this.retainedRange?[Math.min(this.retainedRange[0],e[0]),Math.max(this.retainedRange[1],e[1])]:e,this.fixer.replaceTextRange(n,this.sourceCode.text.slice(n[0],e[0])+t+this.sourceCode.text.slice(e[1],n[1]))}remove(e){return this.replaceTextRange(e.range,"")}};var sd=sp({name:"array-bracket-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce linebreaks after opening and before closing array brackets"},fixable:"whitespace",schema:[{oneOf:[{type:"string",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(e){let t=e.sourceCode;function n(n){let r=n.elements,i=function(e){let t,n,r,i=(t=!1,n=!1,r=0,e?"consistent"===e?(t=!0,r=Number.POSITIVE_INFINITY):"always"===e||"string"!=typeof e&&0===e.minItems?r=0:"never"===e?r=Number.POSITIVE_INFINITY:(n=!!e.multiline,r=e.minItems||Number.POSITIVE_INFINITY):(t=!1,n=!0,r=Number.POSITIVE_INFINITY),{consistent:t,multiline:n,minItems:r});return{ArrayExpression:i,ArrayPattern:i}}(e.options[0])[n.type],o=t.getFirstToken(n),s=t.getLastToken(n),a=t.getTokenAfter(o,{includeComments:!0}),l=t.getTokenBefore(s,{includeComments:!0}),c=t.getTokenAfter(o),p=t.getTokenBefore(s);r.length>=i.minItems||i.multiline&&r.length>0&&a.loc.start.line!==l.loc.end.line||0===r.length&&"Block"===a.type&&a.loc.start.line!==l.loc.end.line&&a===l||i.consistent&&o.loc.end.line!==c.loc.start.line?(o9(o,c)&&e.report({node:n,loc:o.loc,messageId:"missingOpeningLinebreak",fix:e=>e.insertTextAfter(o,"\n")}),o9(p,s)&&e.report({node:n,loc:s.loc,messageId:"missingClosingLinebreak",fix:e=>e.insertTextBefore(s,"\n")})):(o9(o,c)||e.report({node:n,loc:o.loc,messageId:"unexpectedOpeningLinebreak",fix(e){let n=t.getTokenAfter(o,{includeComments:!0});return!n||oZ(n)?null:e.removeRange([o.range[1],n.range[0]])}}),o9(p,s)||e.report({node:n,loc:s.loc,messageId:"unexpectedClosingLinebreak",fix(e){let n=t.getTokenBefore(s,{includeComments:!0});return!n||oZ(n)?null:e.removeRange([n.range[1],s.range[0]])}}))}return{ArrayPattern:n,ArrayExpression:n}}}),sm=sp({name:"array-bracket-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing inside array brackets"},fixable:"whitespace",schema:[{type:"string",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(e){let t="always"===e.options[0],n=e.sourceCode;function r(n){return!!e.options[1]&&!t===e.options[1][n]}let i={spaced:t,singleElementException:r("singleValue"),objectsInArraysException:r("objectsInArrays"),arraysInArraysException:r("arraysInArrays")};function o(e){return e&&("ObjectExpression"===e.type||"ObjectPattern"===e.type)}function s(e){return e&&("ArrayExpression"===e.type||"ArrayPattern"===e.type)}function a(t){if(i.spaced&&0===t.elements.length)return;let r=n.getFirstToken(t),a=n.getFirstToken(t,1),l="ArrayPattern"===t.type&&t.typeAnnotation?n.getTokenBefore(t.typeAnnotation):n.getLastToken(t),c=n.getTokenBefore(l),p=t.elements[0],u=t.elements[t.elements.length-1],f=p&&i.objectsInArraysException&&o(p)||p&&i.arraysInArraysException&&s(p)||i.singleElementException&&1===t.elements.length?!i.spaced:i.spaced,d=u&&i.objectsInArraysException&&o(u)||u&&i.arraysInArraysException&&s(u)||i.singleElementException&&1===t.elements.length?!i.spaced:i.spaced;o9(r,a)&&(f&&!n.isSpaceBetween(r,a)&&e.report({node:t,loc:r.loc,messageId:"missingSpaceAfter",data:{tokenValue:r.value},fix:e=>e.insertTextAfter(r," ")}),!f&&n.isSpaceBetween(r,a)&&function(t,r){let i=n.getTokenAfter(r);e.report({node:t,loc:{start:r.loc.end,end:i.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:r.value},fix:e=>e.removeRange([r.range[1],i.range[0]])})}(t,r)),r!==c&&o9(c,l)&&(d&&!n.isSpaceBetween(c,l)&&e.report({node:t,loc:l.loc,messageId:"missingSpaceBefore",data:{tokenValue:l.value},fix:e=>e.insertTextBefore(l," ")}),!d&&n.isSpaceBetween(c,l)&&function(t,r){let i=n.getTokenBefore(r);e.report({node:t,loc:{start:i.loc.end,end:r.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:r.value},fix:e=>e.removeRange([i.range[1],r.range[0]])})}(t,l))}return{ArrayPattern:a,ArrayExpression:a}}}),sg=sp({name:"array-element-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce line breaks after each array element"},fixable:"whitespace",schema:{definitions:{basicConfig:{oneOf:[{type:"string",enum:["always","never","consistent"]},{type:"object",properties:{consistent:{type:"boolean"},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(e){let t=e.sourceCode;function n(e){let t,n=!1,r=!1,i=e||"always";return"always"===i||"object"==typeof i&&0===i.minItems?t=0:"never"===i?t=Number.POSITIVE_INFINITY:"consistent"===i?(n=!0,t=Number.POSITIVE_INFINITY):(n=!!i.consistent,r=!!i.multiline,t=i.minItems||Number.POSITIVE_INFINITY),{consistent:n,multiline:r,minItems:t}}function r(r){let i=r.elements,o=function(e){if(e&&(e.ArrayExpression||e.ArrayPattern)){let t,r;return e.ArrayExpression&&(t=n(e.ArrayExpression)),e.ArrayPattern&&(r=n(e.ArrayPattern)),{ArrayExpression:t,ArrayPattern:r}}let t=n(e);return{ArrayExpression:t,ArrayPattern:t}}(e.options[0])[r.type];if(!o)return;let s=!1;o.multiline&&(s=i.filter(e=>null!==e).some(e=>e.loc.start.line!==e.loc.end.line));let a=0;for(let e=0;e<r.elements.length;e++){let n=r.elements[e],o=i[e-1];if(0===e||null===n||null===o)continue;let s=t.getFirstTokenBetween(o,n,oq);!o9(t.getTokenBefore(s),t.getTokenAfter(s))&&a++}let l=i.length>=o.minItems||o.multiline&&s||o.consistent&&a>0&&a<r.elements.length;i.forEach((n,r)=>{let o=i[r-1];if(0===r||null===n||null===o)return;let s=t.getFirstTokenBetween(o,n,oq),a=t.getTokenBefore(s),c=t.getTokenAfter(s);l?o9(a,c)&&function(n){let r=t.getTokenBefore(n,{includeComments:!0});e.report({loc:{start:r.loc.end,end:n.loc.start},messageId:"missingLineBreak",fix:e=>e.replaceTextRange([r.range[1],n.range[0]],"\n")})}(c):o9(a,c)||function(n){let r=t.getTokenBefore(n,{includeComments:!0});e.report({loc:{start:r.loc.end,end:n.loc.start},messageId:"unexpectedLineBreak",fix(e){if(oZ(r))return null;if(!o9(r,n))return e.replaceTextRange([r.range[1],n.range[0]]," ");let i=t.getTokenBefore(r,{includeComments:!0});return oZ(i)?null:e.replaceTextRange([i.range[1],r.range[0]],"")}})}(c)})}return{ArrayPattern:r,ArrayExpression:r}}}),sh=sp({name:"arrow-parens",package:"js",meta:{type:"layout",docs:{description:"Require parentheses around arrow function arguments"},fixable:"code",schema:[{type:"string",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(e){let t="as-needed"===e.options[0],n=t&&e.options[1]&&!0===e.options[1].requireForBlockBody,r=e.sourceCode;function i(e){return r.getTokenAfter(e.params[0],oK)}return{"ArrowFunctionExpression[params.length=1]":function(o){let s=!t||n&&"BlockStatement"===o.body.type,a=function(e){let t=r.getTokenBefore(e.params[0]);return t&&o$(t)&&e.range[0]<=t.range[0]?t:null}(o),l=null!==a,[c]=o.params;s&&!l&&e.report({node:o,messageId:n?"expectedParensBlock":"expectedParens",loc:c.loc,*fix(e){yield e.insertTextBefore(c,"("),yield e.insertTextAfter(c,")")}}),s||!l||"Identifier"!==c.type||c.optional||c.typeAnnotation||o.returnType||r.commentsExistBetween(a,i(o))||function(e,t){let n=+!!e.async;return r.getFirstToken(e,{skip:n})!==t}(o,a)||e.report({node:o,messageId:n?"unexpectedParensInline":"unexpectedParens",loc:c.loc,*fix(e){let t=r.getTokenBefore(a),n=i(o);t&&t.range[1]===a.range[0]&&!sa(t,r.getFirstToken(c))&&(yield e.insertTextBefore(a," ")),yield e.removeRange([a.range[0],c.range[0]]),yield e.removeRange([c.range[1],n.range[1]])}})}}}}),sy=sp({name:"arrow-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after the arrow in arrow functions"},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(e){let t=Object.assign({},e.options[0]);t.before=!1!==t.before,t.after=!1!==t.after;let n=e.sourceCode;return{ArrowFunctionExpression:function(r){var i;let o=function(e){let t=n.getTokenBefore(e.body,oU);return{before:n.getTokenBefore(t),arrow:t,after:n.getTokenAfter(t)}}(r),s={before:(i=o).arrow.range[0]-i.before.range[1],after:i.after.range[0]-i.arrow.range[1]};t.before?0===s.before&&e.report({node:o.before,messageId:"expectedBefore",fix:e=>e.insertTextBefore(o.arrow," ")}):s.before>0&&e.report({node:o.before,messageId:"unexpectedBefore",fix:e=>e.removeRange([o.before.range[1],o.arrow.range[0]])}),t.after?0===s.after&&e.report({node:o.after,messageId:"expectedAfter",fix:e=>e.insertTextAfter(o.arrow," ")}):s.after>0&&e.report({node:o.after,messageId:"unexpectedAfter",fix:e=>e.removeRange([o.arrow.range[1],o.after.range[0]])})}}}}),sE=sp({name:"block-spacing",package:"js",meta:{type:"layout",docs:{description:"Disallow or enforce spaces inside of blocks after opening block and before closing block"},fixable:"whitespace",schema:[{type:"string",enum:["always","never"]}],messages:{missing:"Requires a space {{location}} '{{token}}'.",extra:"Unexpected space(s) {{location}} '{{token}}'."}},create(e){let t="never"!==e.options[0],n=t?"missing":"extra",r=e.sourceCode;function i(e,n){return!o9(e,n)||r.isSpaceBetween(e,n)===t}function o(o){var s;let a="SwitchStatement"===(s=o).type?s.cases.length>0?r.getTokenBefore(s.cases[0]):r.getLastToken(s,1):"StaticBlock"===s.type?r.getFirstToken(s,{skip:1}):r.getFirstToken(s),l=r.getLastToken(o),c=r.getTokenAfter(a,{includeComments:!0}),p=r.getTokenBefore(l,{includeComments:!0});if("Punctuator"===a.type&&"{"===a.value&&"Punctuator"===l.type&&"}"===l.value&&c!==l&&(t||"Line"!==c.type)){if(!i(a,c)){let r=a.loc;"extra"===n&&(r={start:a.loc.end,end:c.loc.start}),e.report({node:o,loc:r,messageId:n,data:{location:"after",token:a.value},fix:e=>t?e.insertTextBefore(c," "):e.removeRange([a.range[1],c.range[0]])})}if(!i(p,l)){let r=l.loc;"extra"===n&&(r={start:p.loc.end,end:l.loc.start}),e.report({node:o,loc:r,messageId:n,data:{location:"before",token:l.value},fix:e=>t?e.insertTextAfter(p," "):e.removeRange([p.range[1],l.range[0]])})}}}return{BlockStatement:o,StaticBlock:o,SwitchStatement:o}}}),sT=sp({name:"brace-style",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent brace style for blocks"},schema:[{type:"string",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(e){let t=e.options[0]||"1tbs",n=e.options[1]||{},r=e.sourceCode;function i(e,t){let n=[e.range[1],t.range[0]];return r.text.slice(n[0],n[1]).trim()?null:e=>e.replaceTextRange(n," ")}function o(o,s){let a=r.getTokenBefore(o),l=r.getTokenAfter(o),c=r.getTokenBefore(s),p=n.allowSingleLine&&o9(o,s);"allman"===t||o9(a,o)||e.report({node:o,messageId:"nextLineOpen",fix:i(a,o)}),"allman"===t&&o9(a,o)&&!p&&e.report({node:o,messageId:"sameLineOpen",fix:e=>e.insertTextBefore(o,"\n")}),o9(o,l)&&l!==s&&!p&&e.report({node:o,messageId:"blockSameLine",fix:e=>e.insertTextAfter(o,"\n")}),c!==o&&!p&&o9(c,s)&&e.report({node:s,messageId:"singleLineClose",fix:e=>e.insertTextBefore(s,"\n")})}function s(n){let o=r.getTokenAfter(n);"1tbs"!==t||o9(n,o)||e.report({node:n,messageId:"nextLineClose",fix:i(n,o)}),"1tbs"!==t&&o9(n,o)&&e.report({node:n,messageId:"sameLineClose",fix:e=>e.insertTextAfter(n,"\n")})}return{BlockStatement(e){oI.has(e.parent.type)||o(r.getFirstToken(e),r.getLastToken(e))},StaticBlock(e){o(r.getFirstToken(e,{skip:1}),r.getLastToken(e))},ClassBody(e){o(r.getFirstToken(e),r.getLastToken(e))},SwitchStatement(e){let t=r.getLastToken(e);o(r.getTokenBefore(e.cases.length?e.cases[0]:t),t)},IfStatement(e){"BlockStatement"===e.consequent.type&&e.alternate&&s(r.getLastToken(e.consequent))},TryStatement(e){s(r.getLastToken(e.block)),e.handler&&e.finalizer&&s(r.getLastToken(e.handler.body))}}}});const sb=Object.freeze({arrays:"never",objects:"never",imports:"never",exports:"never",functions:"never",importAttributes:"never",dynamicImports:"never"}),sS=["}","]",")",">"];var sx=sp({name:"comma-dangle",package:"js",meta:{type:"layout",docs:{description:"Require or disallow trailing commas"},fixable:"code",schema:{definitions:{value:{type:"string",enum:["always-multiline","always","never","only-multiline"]},valueWithIgnore:{type:"string",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"},importAttributes:{$ref:"#/definitions/valueWithIgnore"},dynamicImports:{$ref:"#/definitions/valueWithIgnore"}},additionalProperties:!1}]}],additionalItems:!1},messages:{unexpected:"Unexpected trailing comma.",missing:"Missing trailing comma."}},create(e){var t;let n=e?.languageOptions?.ecmaVersion??e.parserOptions.ecmaVersion,r=(t=e.options[0],"string"==typeof t?{arrays:t,objects:t,imports:t,exports:t,functions:n&&"latest"!==n&&n<2017?"ignore":t,importAttributes:t,dynamicImports:n&&"latest"!==n&&n<2025?"ignore":t}:"object"==typeof t&&null!==t?{arrays:t.arrays||sb.arrays,objects:t.objects||sb.objects,imports:t.imports||sb.imports,exports:t.exports||sb.exports,functions:t.functions||sb.functions,importAttributes:t.importAttributes||sb.importAttributes,dynamicImports:t.dynamicImports||sb.dynamicImports}:sb),i=e.sourceCode;function o(e){return e?e[e.length-1]??null:null}function s(e){switch(e.node.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":case"ImportExpression":return i.getLastToken(e.node,1);default:{let t=e.lastItem;if(!t)return null;let n=i.getTokenAfter(t);if(oq(n))return n;return i.getLastToken(t)}}}function a(e){if(!e.lastItem)return!1;let t=s(e);if(!t)return!1;let n=i.getTokenAfter(t);return!!n&&n.loc.end.line!==t.loc.end.line}function l(t){let n=t.lastItem;if(!n)return;let r=s(t);r&&oq(r)&&e.report({node:n,loc:r.loc,messageId:"unexpected",*fix(e){yield e.remove(r),yield e.insertTextBefore(i.getTokenBefore(r),""),yield e.insertTextAfter(i.getTokenAfter(r),"")}})}function c(t){let n=t.lastItem;if(!n)return;if("RestElement"===n.type)return void l(t);let r=s(t);if(!r||","===r.value)return;let o=i.getTokenAfter(r);o&&sS.includes(o.value)&&e.report({node:n,loc:{start:r.loc.end,end:ss(i,r.loc.end)},messageId:"missing",*fix(e){yield e.insertTextAfter(r,","),yield e.insertTextBefore(r,""),yield e.insertTextAfter(i.getTokenAfter(r),"")}})}let p={always:c,"always-multiline":function(e){a(e)?c(e):l(e)},"only-multiline":function(e){a(e)||l(e)},never:l,ignore(){}};return{ObjectExpression:e=>{p[r.objects]({node:e,lastItem:o(e.properties)})},ObjectPattern:e=>{p[r.objects]({node:e,lastItem:o(e.properties)})},ArrayExpression:e=>{p[r.arrays]({node:e,lastItem:o(e.elements)})},ArrayPattern:e=>{p[r.arrays]({node:e,lastItem:o(e.elements)})},ImportDeclaration:e=>{let t=o(e.specifiers);t?.type==="ImportSpecifier"&&p[r.imports]({node:e,lastItem:t}),p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},ExportNamedDeclaration:e=>{p[r.exports]({node:e,lastItem:o(e.specifiers)}),p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},ExportAllDeclaration:e=>{p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},FunctionDeclaration:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},FunctionExpression:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},ArrowFunctionExpression:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},CallExpression:e=>{p[r.functions]({node:e,lastItem:o(e.arguments)})},NewExpression:e=>{p[r.functions]({node:e,lastItem:o(e.arguments)})},ImportExpression:e=>{p[r.dynamicImports]({node:e,lastItem:e.options??e.source})}}}}),sP=sp({name:"comma-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after commas"},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(e){let t=e.sourceCode,n=t.tokensAndComments,r={before:!!e.options[0]&&e.options[0].before,after:!e.options[0]||e.options[0].after},i=[];function o(t,n,i){e.report({node:t,fix(e){let o,s;return r[n]?"before"===n?e.insertTextBefore(t," "):e.insertTextAfter(t," "):("before"===n?(o=i.range[1],s=t.range[0]):(o=t.range[1],s=i.range[0]),e.replaceTextRange([o,s],""))},messageId:r[n]?"missing":"unexpected",data:{loc:n}})}function s(e){let n=t.getFirstToken(e);e.elements.forEach(e=>{let r;null===e?oq(r=t.getTokenAfter(n))&&i.push(r):r=t.getTokenAfter(e),n=r})}return{"Program:exit":function(){n.forEach((e,s)=>{if(!oq(e))return;let a=n[s-1],l=n[s+1];a&&!oq(a)&&!i.includes(e)&&o9(a,e)&&r.before!==t.isSpaceBetween(a,e)&&o(e,"before",a),l&&!oq(l)&&!oK(l)&&!oJ(l)&&!oQ(l)&&!(!r.after&&"Line"===l.type)&&o9(e,l)&&r.after!==t.isSpaceBetween(e,l)&&o(e,"after",l)})},ArrayExpression:s,ArrayPattern:s}}}),sv=sp({name:"comma-style",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent comma style"},fixable:"code",schema:[{type:"string",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(e){let t=e.options[0]||"last",n=e.sourceCode,r={};if(2===e.options.length&&Object.prototype.hasOwnProperty.call(e.options[1],"exceptions")){e.options[1]??={exceptions:{}};let t=e.options[1].exceptions,n=Object.keys(t);for(let e=0;e<n.length;e++)r[n[e]]=t[n[e]]}function i(e,t,r,i){let o=n.text.slice(t.range[1],r.range[0])+n.text.slice(r.range[1],i.range[0]),s=[t.range[1],i.range[0]];return function(t){return t.replaceTextRange(s,function(e,t){switch(e){case"between":return`,${t.replace(oL,"")}`;case"first":return`${t},`;case"last":return`,${t}`;default:return""}}(e,o))}}function o(r,o){(function(e,t){if(0===t.length)return[];let r=t.filter(e=>!!e);if(0===r.length)return n.getTokens(e).filter(oq);let i=[],o=r[0],s=n.getTokenBefore(o);for(;s&&e.range[0]<=s.range[0];){if(oq(s))i.unshift(s);else if(st(s))break;s=n.getTokenBefore(s)}let a=null;for(let e of r){a&&i.push(...n.getTokensBetween(a,e).filter(oq));let t=n.getLastToken(e);t&&oq(t)&&i.push(t),a=e}let l=n.getTokenAfter(a);for(;l&&l.range[1]<=e.range[1];){if(oq(l))i.push(l);else if(o8(l))break;l=n.getTokenAfter(l)}return i})(r,o).forEach(r=>{let o=n.getTokenBefore(r),s=n.getTokenAfter(r);if(!(oz(o)||oq(o)&&oz(n.getTokenBefore(o,o7)))&&(!oq(s)||o9(r,s)))if(o9(r,s)&&o9(o,r));else if(o9(r,s)||o9(o,r))"first"!==t||o9(r,s)?"last"===t&&o9(r,s)&&e.report({node:r,messageId:"expectedCommaLast",fix:i(t,o,r,s)}):e.report({node:r,messageId:"expectedCommaFirst",fix:i(t,o,r,s)});else{let a=n.getCommentsAfter(r)[0],l=a&&"Block"===a.type&&o9(r,a)?t:"between";e.report({node:r,messageId:"unexpectedLineBeforeAndAfterComma",fix:i(l,o,r,s)})}})}let s={};return r.VariableDeclaration||(s.VariableDeclaration=e=>o(e,e.declarations)),r.ObjectExpression||(s.ObjectExpression=a),r.ObjectPattern||(s.ObjectPattern=a),r.ArrayExpression||(s.ArrayExpression=l),r.ArrayPattern||(s.ArrayPattern=l),r.FunctionDeclaration||(s.FunctionDeclaration=c),r.FunctionExpression||(s.FunctionExpression=c),r.ArrowFunctionExpression||(s.ArrowFunctionExpression=c),r.CallExpression||(s.CallExpression=p),r.ImportDeclaration||(s.ImportDeclaration=e=>{o(e,e.specifiers),u(e)}),r.NewExpression||(s.NewExpression=p),r.ExportAllDeclaration||(s.ExportAllDeclaration=u),r.ExportNamedDeclaration||(s.ExportNamedDeclaration=e=>{o(e,e.specifiers),u(e)}),r.ImportExpression||(s.ImportExpression=e=>{o(e,[e.source,e.options??null])}),r.SequenceExpression||(s.SequenceExpression=e=>o(e,e.expressions)),r.ClassDeclaration||(s.ClassDeclaration=f),r.ClassExpression||(s.ClassExpression=f),r.TSDeclareFunction||(s.TSDeclareFunction=c),r.TSFunctionType||(s.TSFunctionType=c),r.TSConstructorType||(s.TSConstructorType=c),r.TSEmptyBodyFunctionExpression||(s.TSEmptyBodyFunctionExpression=c),r.TSMethodSignature||(s.TSMethodSignature=c),r.TSCallSignatureDeclaration||(s.TSCallSignatureDeclaration=c),r.TSConstructSignatureDeclaration||(s.TSConstructSignatureDeclaration=c),r.TSTypeParameterDeclaration||(s.TSTypeParameterDeclaration=m),r.TSTypeParameterInstantiation||(s.TSTypeParameterInstantiation=m),r.TSEnumBody||(s.TSEnumBody=d),r.TSTypeLiteral||(s.TSTypeLiteral=d),r.TSIndexSignature||(s.TSIndexSignature=e=>o(e,e.parameters)),r.TSInterfaceDeclaration||(s.TSInterfaceDeclaration=e=>o(e,e.extends)),r.TSInterfaceBody||(s.TSInterfaceBody=e=>o(e,e.body)),r.TSTupleType||(s.TSTupleType=e=>o(e,e.elementTypes)),s;function a(e){o(e,e.properties)}function l(e){o(e,e.elements)}function c(e){o(e,e.params)}function p(e){o(e,e.arguments)}function u(e){e.attributes&&o(e,e.attributes)}function f(e){e.implements&&o(e,e.implements)}function d(e){o(e,e.members)}function m(e){o(e,e.params)}}}),sk=sp({name:"computed-property-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing inside computed property brackets"},fixable:"whitespace",schema:[{type:"string",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(e){let t=e.sourceCode,n="always"===e.options[0],r=!e.options[1]||e.options[1].enforceForClassMembers;function i(r){return function(i){if(!i.computed)return;let o=i[r],s=t.getTokenBefore(o,oz),a=t.getTokenAfter(s,{includeComments:!0}),l=t.getTokenAfter(o,oJ),c=t.getTokenBefore(l,{includeComments:!0});o9(s,a)&&(n?!t.isSpaceBetween(s,a)&&o9(s,a)&&e.report({node:i,loc:s.loc,messageId:"missingSpaceAfter",data:{tokenValue:s.value},fix:e=>e.insertTextAfter(s," ")}):t.isSpaceBetween(s,a)&&e.report({node:i,loc:{start:s.loc.end,end:a.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:s.value},fix:e=>e.removeRange([s.range[1],a.range[0]])})),o9(c,l)&&(n?!t.isSpaceBetween(c,l)&&o9(c,l)&&e.report({node:i,loc:l.loc,messageId:"missingSpaceBefore",data:{tokenValue:l.value},fix:e=>e.insertTextBefore(l," ")}):t.isSpaceBetween(c,l)&&e.report({node:i,loc:{start:c.loc.end,end:l.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:l.value},fix:e=>e.removeRange([c.range[1],l.range[0]])}))}}let o={Property:i("key"),MemberExpression:i("property")};return r&&(o.MethodDefinition=i("key"),o.PropertyDefinition=i("key")),o}}),s_=sp({name:"dot-location",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent newlines before and after dots"},schema:[{type:"string",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(e){let t=e.options[0],n="object"===t||!t,r=e.sourceCode;return{MemberExpression:function(t){"MemberExpression"!==t.type||t.computed||function(t){let i=t.property,o=r.getTokenBefore(i);if(n&&o){let n=r.getTokenBefore(o);n&&!o9(n,o)&&e.report({node:t,loc:o.loc,messageId:"expectedDotAfterObject",*fix(e){var t;o.value.startsWith(".")&&"Numeric"===(t=n).type&&oO.test(t.value)?yield e.insertTextAfter(n,` ${o.value}`):yield e.insertTextAfter(n,o.value),yield e.remove(o)}})}else!o9(o,i)&&o&&e.report({node:t,loc:o.loc,messageId:"expectedDotBeforeProperty",*fix(e){yield e.remove(o),yield e.insertTextBefore(i,o.value)}})}(t)}}}}),sA=sp({name:"eol-last",package:"js",meta:{type:"layout",docs:{description:"Require or disallow newline at the end of files"},fixable:"whitespace",schema:[{type:"string",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:e=>({Program:function(t){let n=e.sourceCode,r=n.getText(),i={column:n.lines[n.lines.length-1].length,line:n.lines.length},o=`\r
1
+ let e,t,n,r;"use strict";const i=e=>Promise.resolve(require(e));var o,s,a,l,c,p,u,f,d,m,g,h,y,E,T,b,S,x,P,v,k,_,A,Y,C,w,L,I,O,D,V,B,N,j,M,R,F,U,q,W,G,H,$,K,z,J,X,Q,Z,ee,et,en,er,ei,eo,es,ea,el,ec,ep,eu,ef,ed,em,eg,eh,ey,eE,eT,eb,eS,ex,eP,ev,ek,e_,eA,eY,eC,ew,eL,eI,eO,eD,eV,eB,eN,ej,eM,eR,eF,eU,eq,eW,eG,eH,e$,eK,ez,eJ,eX,eQ,eZ,e0,e1,e2,e3,e4,e6,e5,e9,e8,e7,te,tt,tn,tr,ti,to,ts,ta,tl,tc,tp,tu,tf,td,tm,tg,th,ty,tE,tT,tb,tS,tx,tP,tv,tk,t_,tA,tY,tC,tw,tL,tI,tO,tD,tV,tB,tN,tj,tM,tR,tF,tU,tq,tW,tG,tH,t$,tK,tz,tJ,tX,tQ,tZ,t0,t1,t2,t3,t4,t6,t5,t9,t8,t7,ne,nt,nn,nr,ni,no,ns,na,nl,nc,np,nu,nf,nd,nm,ng,nh,ny,nE,nT,nb,nS,nx,nP,nv,nk,n_,nA,nY,nC,nw,nL,nI,nO,nD,nV,nB,nN,nj,nM,nR,nF,nU,nq,nW,nG,nH,n$,nK,nz,nJ,nX,nQ,nZ,n0,n1,n2,n3,n4,n6=require("@eslint-sukka/shared"),n5=require("node:fs"),n9=require("node:path"),n8=require("node:process"),n7=require("./vendor-DZYS6gZu.cjs");require("node:fs/promises");var re=require("node:url"),rt=require("foxts/guard"),rn=require("@eslint-community/eslint-plugin-eslint-comments"),rr=require("eslint-plugin-sukka"),ri=require("eslint-plugin-promise"),ro=require("eslint-plugin-regexp"),rs=require("@eslint/js"),ra=require("eslint-plugin-unused-imports"),rl=require("eslint-plugin-import-x"),rc=require("eslint-plugin-de-morgan"),rp=require("eslint-plugin-autofix"),ru=require("eslint-plugin-jsonc"),rf=require("jsonc-eslint-parser"),rd=require("typescript-eslint"),rm=require("eslint/use-at-your-own-risk"),rg=require("eslint"),rh=require("eslint-plugin-paths"),ry=require("eslint-import-resolver-typescript"),rE=require("picocolors"),rT=require("defu"),rb=require("ci-info"),rS="undefined"!=typeof document?document.currentScript:null;function rx(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var rP=rx(n5),rv=rx(n9),rk=rx(ro),r_=rx(rm),rA=rx(rg),rY={},rC=n7.g(rP),rw=n7.g(rv),rL=function(){if(a)return rY;a=1;let e=new Map([["getSource","getText"],["getSourceLines","getLines"],["getAllComments","getAllComments"],["getDeclaredVariables","getDeclaredVariables"],["getNodeByRangeIndex","getNodeByRangeIndex"],["getCommentsBefore","getCommentsBefore"],["getCommentsAfter","getCommentsAfter"],["getCommentsInside","getCommentsInside"],["getJSDocComment","getJSDocComment"],["getFirstToken","getFirstToken"],["getFirstTokens","getFirstTokens"],["getLastToken","getLastToken"],["getLastTokens","getLastTokens"],["getTokenAfter","getTokenAfter"],["getTokenBefore","getTokenBefore"],["getTokenByRangeStart","getTokenByRangeStart"],["getTokens","getTokens"],["getTokensAfter","getTokensAfter"],["getTokensBefore","getTokensBefore"],["getTokensBetween","getTokensBetween"]]),t=new WeakMap,n=new WeakSet,r=new WeakMap,i=new WeakSet;function o(r){if(t.has(r))return t.get(r);let i="function"==typeof r;if(!i&&n.has(r))return r;let o=i?r:r.create.bind(r),s={...i?void 0:r,create:function(t){if("getScope"in t)return o(t);let n=t.sourceCode,r=n.ast,i=Object.assign(Object.create(t),{parserServices:n.parserServices,getScope:()=>n.getScope(r),getAncestors:()=>n.getAncestors(r),markVariableAsUsed(e){n.markVariableAsUsed(e,r)}});for(let[t,r]of e)i[t]=n[r].bind(n);Object.freeze(i);let s=o(i);for(let[e,t]of Object.entries(s)){if(e.startsWith("on")){s[e]=(...n)=>(r=n["onCodePathSegmentLoop"===e?2:1],t.call(s,...n));continue}s[e]=(...e)=>(r=e[0],t.call(s,...e))}return s}},{schema:a}=r;return a&&(s.meta?s.meta={...s.meta,schema:a}:s.meta={schema:a}),t.set(r,s),n.add(s),s}function s(e){if(r.has(e))return r.get(e);if(i.has(e)||!e.rules)return e;let t={...e,rules:Object.fromEntries(Object.entries(e.rules).map(([e,t])=>[e,o(t)]))};return r.set(e,t),i.add(t),t}function l(e){let t=e.startsWith("!"),n=t?"!":"",r=(t?e.slice(1):e).trimEnd();if(["","**","/**","**/"].includes(r))return`${n}${r}`;let i=r.indexOf("/"),o=i<0||i===r.length-1?"**/":"",s=(0===i?r.slice(1):r).replaceAll(/(?=((?:\\.|[^{(])*))\1([{(])/guy,"$1\\$2"),a=r.endsWith("/**")?"/*":"";return`${n}${o}${s}${a}`}return rY.convertIgnorePatternToMinimatch=l,rY.fixupConfigRules=function(e){return(Array.isArray(e)?e:[e]).map(e=>{if(!e.plugins)return e;let t=Object.fromEntries(Object.entries(e.plugins).map(([e,t])=>[e,s(t)]));return{...e,plugins:t}})},rY.fixupPluginRules=s,rY.fixupRule=o,rY.includeIgnoreFile=function(e){if(!rw.isAbsolute(e))throw Error("The ignore file location must be an absolute path.");return{name:"Imported .gitignore patterns",ignores:rC.readFileSync(e,"utf8").split(/\r?\n/u).map(e=>e.trim()).filter(e=>e&&!e.startsWith("#")).map(l)}},rY}();function rI(e){return Array.isArray(e=e??[])?e:[e]}const rO=e=>e instanceof URL?re.fileURLToPath(e):e;function rD(e,{cwd:t=n8.cwd(),type:n="file",stopAt:r}={}){let i=n9.resolve(rO(t)??""),{root:o}=n9.parse(i);for(r=n9.resolve(i,rO(r)??o);i&&i!==r&&i!==o;){let t=n9.isAbsolute(e)?e:n9.join(i,e);try{let e=n5.statSync(t,{throwIfNoEntry:!1});if("file"===n&&e?.isFile()||"directory"===n&&e?.isDirectory())return t}catch{}i=n9.dirname(i)}}const rV=".gitignore",rB=".gitmodules";function rN(e={}){let t=[],{cwd:n=n8.cwd(),root:r=!1,files:i=r?rV:rD(rV,{cwd:n})||[],filesGitModules:o=r?n5.existsSync(n9.join(n,rB))?rB:[]:rD(rB,{cwd:n})||[],strict:s=!0}=e,a=rI(i).map(e=>n9.resolve(n,e)),l=rI(o).map(e=>n9.resolve(n,e));for(let e of a){let r="";try{r=n5.readFileSync(e,"utf8")}catch(e){if(s)throw e;continue}let i=n9.relative(n,n9.dirname(e)).replaceAll("\\","/"),o=r.split(/\r?\n/u).filter(e=>e&&!e.startsWith("#")).map(e=>rL.convertIgnorePatternToMinimatch(e)).map(e=>(function(e,t,n){if(["",".","/"].includes(t))return e;let r=e.startsWith("!")?"!":"",i=r?e.slice(1):e;if(t.endsWith("/")||(t=`${t}/`),!t.startsWith(".."))return`${r}${t}${i}`;if(!t.match(/^(\.\.\/)+$/))throw Error("The ignore file location should be either a parent or child directory");if(i.startsWith("**"))return e;let o=n9.relative(n9.resolve(n,t),n).split(/[/\\]/);for(;o.length&&i.startsWith(`${o[0]}/`);)i=i.slice(o[0].length+1),o.shift();return i.startsWith("**")||0===o.length?`${r}${i}`:null})(e,i,n)).filter(e=>null!==e);t.push(...o)}for(let e of l){let n="";try{n=n5.readFileSync(e,"utf8")}catch(e){if(s)throw e;continue}let r=n.split(/\r?\n/u).map(e=>e.match(/path\s*=\s*(.+)/u)).filter(e=>null!==e).map(e=>e[1].trim());t.push(...r.map(e=>`${e}/**`))}if(s&&0===a.length)throw Error("No .gitignore file found");return{name:e.name||"gitignore",ignores:t}}function rj(e={}){let{customGlobs:t=null,gitignore:n=[".gitignore"]}=e,r=[],i=[];return!1===t||null===t?i=n6.constants.GLOB_EXCLUDE:"function"==typeof t?i=t(n6.constants.GLOB_EXCLUDE):"string"==typeof t?i.push(...n6.constants.GLOB_EXCLUDE,t):Array.isArray(t)?i.push(...n6.constants.GLOB_EXCLUDE,...t):rt.never(t),r.push({ignores:i}),!1===n||null===n||(!0===n?r.push(rN({files:[".gitignore"],strict:!1})):"string"==typeof n||Array.isArray(n)?r.push(rN({files:n,strict:!1})):rt.never(n)),r}const rM={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:["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"],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"]};for(const e of Object.keys(rM))Object.freeze(rM[e]);Object.freeze(rM);const rR=new Set(["parent","leadingComments","trailingComments"]);function rF(e){return!rR.has(e)&&"_"!==e[0]}var rU=Object.freeze({__proto__:null,KEYS:rM,getKeys:function(e){return Object.keys(e).filter(rF)},unionWith:function(e){let t=Object.assign({},rM);for(let n of Object.keys(e))if(Object.hasOwn(t,n)){let r=new Set(e[n]);for(let e of t[n])r.add(e);t[n]=Object.freeze(Array.from(r))}else t[n]=Object.freeze(Array.from(e[n]));return Object.freeze(t)}}),rq=[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],rW=[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],rG="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",rH={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",rK={5:r$,"5module":r$+" export import",6:r$+" const class extends export import super"},rz=/^in(stanceof)?$/,rJ=RegExp("["+rG+"]"),rX=RegExp("["+rG+"‌‍\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function rQ(e,t){for(var n=65536,r=0;r<t.length&&!((n+=t[r])>e);r+=2)if((n+=t[r+1])>=e)return!0;return!1}function rZ(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&rJ.test(String.fromCharCode(e)):!1!==t&&rQ(e,rW)))}function r0(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&rX.test(String.fromCharCode(e)):!1!==t&&(rQ(e,rW)||rQ(e,rq)))))}var r1=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function r2(e,t){return new r1(e,{beforeExpr:!0,binop:t})}var r3={beforeExpr:!0},r4={startsExpr:!0},r6={};function r5(e,t){return void 0===t&&(t={}),t.keyword=e,r6[e]=new r1(e,t)}var r9={num:new r1("num",r4),regexp:new r1("regexp",r4),string:new r1("string",r4),name:new r1("name",r4),privateId:new r1("privateId",r4),eof:new r1("eof"),bracketL:new r1("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new r1("]"),braceL:new r1("{",{beforeExpr:!0,startsExpr:!0}),braceR:new r1("}"),parenL:new r1("(",{beforeExpr:!0,startsExpr:!0}),parenR:new r1(")"),comma:new r1(",",r3),semi:new r1(";",r3),colon:new r1(":",r3),dot:new r1("."),question:new r1("?",r3),questionDot:new r1("?."),arrow:new r1("=>",r3),template:new r1("template"),invalidTemplate:new r1("invalidTemplate"),ellipsis:new r1("...",r3),backQuote:new r1("`",r4),dollarBraceL:new r1("${",{beforeExpr:!0,startsExpr:!0}),eq:new r1("=",{beforeExpr:!0,isAssign:!0}),assign:new r1("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r1("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r1("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:r2("||",1),logicalAND:r2("&&",2),bitwiseOR:r2("|",3),bitwiseXOR:r2("^",4),bitwiseAND:r2("&",5),equality:r2("==/!=/===/!==",6),relational:r2("</>/<=/>=",7),bitShift:r2("<</>>/>>>",8),plusMin:new r1("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:r2("%",10),star:r2("*",10),slash:r2("/",10),starstar:new r1("**",{beforeExpr:!0}),coalesce:r2("??",1),_break:r5("break"),_case:r5("case",r3),_catch:r5("catch"),_continue:r5("continue"),_debugger:r5("debugger"),_default:r5("default",r3),_do:r5("do",{isLoop:!0,beforeExpr:!0}),_else:r5("else",r3),_finally:r5("finally"),_for:r5("for",{isLoop:!0}),_function:r5("function",r4),_if:r5("if"),_return:r5("return",r3),_switch:r5("switch"),_throw:r5("throw",r3),_try:r5("try"),_var:r5("var"),_const:r5("const"),_while:r5("while",{isLoop:!0}),_with:r5("with"),_new:r5("new",{beforeExpr:!0,startsExpr:!0}),_this:r5("this",r4),_super:r5("super",r4),_class:r5("class",r4),_extends:r5("extends",r3),_export:r5("export"),_import:r5("import",r4),_null:r5("null",r4),_true:r5("true",r4),_false:r5("false",r4),_in:r5("in",{beforeExpr:!0,binop:7}),_instanceof:r5("instanceof",{beforeExpr:!0,binop:7}),_typeof:r5("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:r5("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:r5("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},r8=/\r\n?|\n|\u2028|\u2029/,r7=RegExp(r8.source,"g");function ie(e){return 10===e||13===e||8232===e||8233===e}function it(e,t,n){void 0===n&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(ie(i))return r<n-1&&13===i&&10===e.charCodeAt(r+1)?r+2:r+1}return -1}var ir=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ii=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,io=Object.prototype,is=io.hasOwnProperty,ia=io.toString,il=Object.hasOwn||function(e,t){return is.call(e,t)},ic=Array.isArray||function(e){return"[object Array]"===ia.call(e)},ip=Object.create(null);function iu(e){return ip[e]||(ip[e]=RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function id(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}var im=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ig=function(e,t){this.line=e,this.column=t};ig.prototype.offset=function(e){return new ig(this.line,this.column+e)};var ih=function(e,t,n){this.start=t,this.end=n,null!==e.sourceFile&&(this.source=e.sourceFile)};function iy(e,t){for(var n=1,r=0;;){var i=it(e,r,t);if(i<0)return new ig(n,t-r);++n,r=i}}var iE={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},iT=!1;function ib(e,t){return 2|4*!!e|8*!!t}var iS=function(e,t,n){this.options=e=function(e){var t,n,r={};for(var i in iE)r[i]=e&&il(e,i)?e[i]:iE[i];if("latest"===r.ecmaVersion?r.ecmaVersion=1e8:null==r.ecmaVersion?(!iT&&"object"==typeof console&&console.warn&&(iT=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),r.ecmaVersion=11):r.ecmaVersion>=2015&&(r.ecmaVersion-=2009),null==r.allowReserved&&(r.allowReserved=r.ecmaVersion<5),e&&null!=e.allowHashBang||(r.allowHashBang=r.ecmaVersion>=14),ic(r.onToken)){var o=r.onToken;r.onToken=function(e){return o.push(e)}}return ic(r.onComment)&&(t=r,n=r.onComment,r.onComment=function(e,r,i,o,s,a){var l={type:e?"Block":"Line",value:r,start:i,end:o};t.locations&&(l.loc=new ih(this,s,a)),t.ranges&&(l.range=[i,o]),n.push(l)}),r}(e),this.sourceFile=e.sourceFile,this.keywords=iu(rK[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var r="";!0!==e.allowReserved&&(r=rH[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(r+=" await")),this.reservedWords=iu(r);var i=(r?r+" ":"")+rH.strict;this.reservedWordsStrict=iu(i),this.reservedWordsStrictBind=iu(i+" "+rH.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf("\n",n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(r8).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=r9.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="module"===e.sourceType,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),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},ix={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}};iS.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},ix.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},ix.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ix.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},ix.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ix.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(64&t)>0||n||this.options.allowSuperOutsideMethod},ix.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},ix.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ix.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(258&t)>0||n},ix.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},iS.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},iS.parse=function(e,t){return new this(t,e).parse()},iS.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},iS.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(iS.prototype,ix);var iP=iS.prototype,iv=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;iP.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){ii.lastIndex=e,e+=ii.exec(this.input)[0].length;var t=iv.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){ii.lastIndex=e+t[0].length;var n=ii.exec(this.input),r=n.index+n[0].length,i=this.input.charAt(r);return";"===i||"}"===i||r8.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1))}ii.lastIndex=e+=t[0].length,e+=ii.exec(this.input)[0].length,";"===this.input[e]&&e++}},iP.eat=function(e){return this.type===e&&(this.next(),!0)},iP.isContextual=function(e){return this.type===r9.name&&this.value===e&&!this.containsEsc},iP.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},iP.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},iP.canInsertSemicolon=function(){return this.type===r9.eof||this.type===r9.braceR||r8.test(this.input.slice(this.lastTokEnd,this.start))},iP.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},iP.semicolon=function(){this.eat(r9.semi)||this.insertSemicolon()||this.unexpected()},iP.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},iP.expect=function(e){this.eat(e)||this.unexpected()},iP.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var ik=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};iP.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,t?"Assigning to rvalue":"Parenthesized pattern")}},iP.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},iP.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")},iP.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var i_=iS.prototype;i_.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==r9.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var o=i[r];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var iA={kind:"loop"},iY={kind:"switch"};i_.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ii.lastIndex=this.pos;var t=ii.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(91===r||92===r)return!0;if(e)return!1;if(123===r||r>55295&&r<56320)return!0;if(rZ(r,!0)){for(var i=n+1;r0(r=this.input.charCodeAt(i),!0);)++i;if(92===r||r>55295&&r<56320)return!0;var o=this.input.slice(n,i);if(!rz.test(o))return!0}return!1},i_.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ii.lastIndex=this.pos;var e,t=ii.exec(this.input),n=this.pos+t[0].length;return!r8.test(this.input.slice(this.pos,n))&&"function"===this.input.slice(n,n+8)&&(n+8===this.input.length||!(r0(e=this.input.charCodeAt(n+8))||e>55295&&e<56320))},i_.parseStatement=function(e,t,n){var r,i=this.type,o=this.startNode();switch(this.isLet(e)&&(i=r9._var,r="let"),i){case r9._break:case r9._continue:return this.parseBreakContinueStatement(o,i.keyword);case r9._debugger:return this.parseDebuggerStatement(o);case r9._do:return this.parseDoStatement(o);case r9._for:return this.parseForStatement(o);case r9._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(o,!1,!e);case r9._class:return e&&this.unexpected(),this.parseClass(o,!0);case r9._if:return this.parseIfStatement(o);case r9._return:return this.parseReturnStatement(o);case r9._switch:return this.parseSwitchStatement(o);case r9._throw:return this.parseThrowStatement(o);case r9._try:return this.parseTryStatement(o);case r9._const:case r9._var:return r=r||this.value,e&&"var"!==r&&this.unexpected(),this.parseVarStatement(o,r);case r9._while:return this.parseWhileStatement(o);case r9._with:return this.parseWithStatement(o);case r9.braceL:return this.parseBlock(!0,o);case r9.semi:return this.parseEmptyStatement(o);case r9._export:case r9._import:if(this.options.ecmaVersion>10&&i===r9._import){ii.lastIndex=this.pos;var s=ii.exec(this.input),a=this.pos+s[0].length,l=this.input.charCodeAt(a);if(40===l||46===l)return this.parseExpressionStatement(o,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(t||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'")),i===r9._import?this.parseImport(o):this.parseExport(o,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(o,!0,!e);var c=this.value,p=this.parseExpression();if(i===r9.name&&"Identifier"===p.type&&this.eat(r9.colon))return this.parseLabeledStatement(o,c,p,e);return this.parseExpressionStatement(o,p)}},i_.parseBreakContinueStatement=function(e,t){var n="break"===t;this.next(),this.eat(r9.semi)||this.insertSemicolon()?e.label=null:this.type!==r9.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if((null==e.label||i.name===e.label.name)&&(null!=i.kind&&(n||"loop"===i.kind)||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")},i_.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},i_.parseDoStatement=function(e){return this.next(),this.labels.push(iA),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(r9._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(r9.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},i_.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(iA),this.enterScope(0),this.expect(r9.parenL),this.type===r9.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===r9._var||this.type===r9._const||n){var r=this.startNode(),i=n?"let":this.value;return(this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===r9._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===r.declarations.length)?(this.options.ecmaVersion>=9&&(this.type===r9._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=this.isContextual("let"),s=!1,a=this.containsEsc,l=new ik,c=this.start,p=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(!0,l);return this.type===r9._in||(s=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===r9._in&&this.unexpected(t),e.await=!0):s&&this.options.ecmaVersion>=8&&(p.start!==c||a||"Identifier"!==p.type||"async"!==p.name?this.options.ecmaVersion>=9&&(e.await=!1):this.unexpected()),o&&s&&this.raise(p.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(p,!1,l),this.checkLValPattern(p),this.parseForIn(e,p)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,p))},i_.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,iw|(n?0:iL),!1,t)},i_.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(r9._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},i_.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(r9.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},i_.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(r9.braceL),this.labels.push(iY),this.enterScope(0);for(var t,n=!1;this.type!==r9.braceR;)if(this.type===r9._case||this.type===r9._default){var r=this.type===r9._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(r9.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},i_.parseThrowStatement=function(e){return this.next(),r8.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var iC=[];i_.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(32*!!t),this.checkLValPattern(e,t?4:2),this.expect(r9.parenR),e},i_.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===r9._catch){var t=this.startNode();this.next(),this.eat(r9.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(r9._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},i_.parseVarStatement=function(e,t,n){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")},i_.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(iA),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},i_.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},i_.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},i_.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i<o.length;i+=1)o[i].name===t&&this.raise(n.start,"Label '"+t+"' is already declared");for(var s=this.type.isLoop?"loop":this.type===r9._switch?"switch":null,a=this.labels.length-1;a>=0;a--){var l=this.labels[a];if(l.statementStart===e.start)l.statementStart=this.start,l.kind=s;else break}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(r?-1===r.indexOf("label")?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},i_.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},i_.parseBlock=function(e,t,n){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(r9.braceL),e&&this.enterScope(0);this.type!==r9.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},i_.parseFor=function(e,t){return e.init=t,this.expect(r9.semi),e.test=this.type===r9.semi?null:this.parseExpression(),this.expect(r9.semi),e.update=this.type===r9.parenR?null:this.parseExpression(),this.expect(r9.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},i_.parseForIn=function(e,t){var n=this.type===r9._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(r9.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},i_.parseVar=function(e,t,n,r){for(e.declarations=[],e.kind=n;;){var i=this.startNode();if(this.parseVarId(i,n),this.eat(r9.eq)?i.init=this.parseMaybeAssign(t):r||"const"!==n||this.type===r9._in||this.options.ecmaVersion>=6&&this.isContextual("of")?r||"Identifier"===i.id.type||t&&(this.type===r9._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(r9.comma))break}return e},i_.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var iw=1,iL=2;function iI(e,t){var n=e.computed,r=e.key;return!n&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}i_.parseFunction=function(e,t,n,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===r9.star&&t&iL&&this.unexpected(),e.generator=this.eat(r9.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&iw&&(e.id=4&t&&this.type!==r9.name?null:this.parseIdent(),e.id&&!(t&iL)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var o=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(ib(e.async,e.generator)),t&iw||(e.id=this.type===r9.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,i),this.yieldPos=o,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&iw?"FunctionDeclaration":"FunctionExpression")},i_.parseFunctionParams=function(e){this.expect(r9.parenL),e.params=this.parseBindingList(r9.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},i_.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),i=this.startNode(),o=!1;for(i.body=[],this.expect(r9.braceL);this.type!==r9.braceR;){var s=this.parseClassElement(null!==e.superClass);s&&(i.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind?(o&&this.raiseRecoverable(s.start,"Duplicate constructor in the same class"),o=!0):s.key&&"PrivateIdentifier"===s.key.type&&function(e,t){var n=t.key.name,r=e[n],i="true";return("MethodDefinition"===t.type&&("get"===t.kind||"set"===t.kind)&&(i=(t.static?"s":"i")+t.kind),"iget"===r&&"iset"===i||"iset"===r&&"iget"===i||"sget"===r&&"sset"===i||"sset"===r&&"sget"===i)?(e[n]="true",!1):!!r||(e[n]=i,!1)}(r,s)&&this.raiseRecoverable(s.key.start,"Identifier '#"+s.key.name+"' has already been declared"))}return this.strict=n,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},i_.parseClassElement=function(e){if(this.eat(r9.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r="",i=!1,o=!1,s="method",a=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(r9.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===r9.star?a=!0:r="static"}if(n.static=a,!r&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===r9.star)&&!this.canInsertSemicolon()?o=!0:r="async"),!r&&(t>=9||!o)&&this.eat(r9.star)&&(i=!0),!r&&!o&&!i){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=l:r=l)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),t<13||this.type===r9.parenL||"method"!==s||i||o){var c=!n.static&&iI(n,"constructor");c&&"method"!==s&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=c?"constructor":s,this.parseClassMethod(n,i,o,c&&e)}else this.parseClassField(n);return n},i_.isClassElementNameStart=function(){return this.type===r9.name||this.type===r9.privateId||this.type===r9.num||this.type===r9.string||this.type===r9.bracketL||this.type.keyword},i_.parseClassElementName=function(e){this.type===r9.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},i_.parseClassMethod=function(e,t,n,r){var i=e.key;"constructor"===e.kind?(t&&this.raise(i.start,"Constructor can't be a generator"),n&&this.raise(i.start,"Constructor can't be an async method")):e.static&&iI(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,n,r);return"get"===e.kind&&0!==o.params.length&&this.raiseRecoverable(o.start,"getter should have no params"),"set"===e.kind&&1!==o.params.length&&this.raiseRecoverable(o.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===o.params[0].type&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},i_.parseClassField=function(e){if(iI(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&iI(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(r9.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},i_.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==r9.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},i_.parseClassId=function(e,t){this.type===r9.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},i_.parseClassSuper=function(e){e.superClass=this.eat(r9._extends)?this.parseExprSubscripts(null,!1):null},i_.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},i_.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,n=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,i=0===r?null:this.privateNameStack[r-1],o=0;o<n.length;++o){var s=n[o];il(t,s.name)||(i?i.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}},i_.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==r9.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},i_.parseExport=function(e,t){if(this.next(),this.eat(r9.star))return this.parseExportAllDeclaration(e,t);if(this.eat(r9._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==r9.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var n=0,r=e.specifiers;n<r.length;n+=1){var i=r[n];this.checkUnreserved(i.local),this.checkLocalExport(i.local),"Literal"===i.local.type&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},i_.parseExportDeclaration=function(e){return this.parseStatement(null)},i_.parseExportDefaultDeclaration=function(){if(this.type===r9._function||(e=this.isAsyncFunction())){var e,t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|iw,!1,e)}if(this.type===r9._class){var n=this.startNode();return this.parseClass(n,"nullableID")}var r=this.parseMaybeAssign();return this.semicolon(),r},i_.checkExport=function(e,t,n){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),il(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)},i_.checkPatternExport=function(e,t){var n=t.type;if("Identifier"===n)this.checkExport(e,t,t.start);else if("ObjectPattern"===n)for(var r=0,i=t.properties;r<i.length;r+=1){var o=i[r];this.checkPatternExport(e,o)}else if("ArrayPattern"===n)for(var s=0,a=t.elements;s<a.length;s+=1){var l=a[s];l&&this.checkPatternExport(e,l)}else"Property"===n?this.checkPatternExport(e,t.value):"AssignmentPattern"===n?this.checkPatternExport(e,t.left):"RestElement"===n&&this.checkPatternExport(e,t.argument)},i_.checkVariableExport=function(e,t){if(e)for(var n=0;n<t.length;n+=1){var r=t[n];this.checkPatternExport(e,r.id)}},i_.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},i_.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},i_.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(r9.braceL);!this.eat(r9.braceR);){if(n)n=!1;else if(this.expect(r9.comma),this.afterTrailingComma(r9.braceR))break;t.push(this.parseExportSpecifier(e))}return t},i_.parseImport=function(e){return this.next(),this.type===r9.string?(e.specifiers=iC,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===r9.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},i_.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},i_.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},i_.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},i_.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===r9.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(r9.comma)))return e;if(this.type===r9.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(r9.braceL);!this.eat(r9.braceR);){if(t)t=!1;else if(this.expect(r9.comma),this.afterTrailingComma(r9.braceR))break;e.push(this.parseImportSpecifier())}return e},i_.parseWithClause=function(){var e=[];if(!this.eat(r9._with))return e;this.expect(r9.braceL);for(var t={},n=!0;!this.eat(r9.braceR);){if(n)n=!1;else if(this.expect(r9.comma),this.afterTrailingComma(r9.braceR))break;var r=this.parseImportAttribute(),i="Identifier"===r.key.type?r.key.name:r.key.value;il(t,i)&&this.raiseRecoverable(r.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(r)}return e},i_.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===r9.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(r9.colon),this.type!==r9.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},i_.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===r9.string){var e=this.parseLiteral(this.value);return im.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},i_.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},i_.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var iO=iS.prototype;iO.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];this.toAssignable(o,t),"RestElement"===o.type&&("ArrayPattern"===o.argument.type||"ObjectPattern"===o.argument.type)&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,n);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return e},iO.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var i=e[r];i&&this.toAssignable(i,t)}if(n){var o=e[n-1];6===this.options.ecmaVersion&&t&&o&&"RestElement"===o.type&&"Identifier"!==o.argument.type&&this.unexpected(o.argument.start)}return e},iO.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},iO.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==r9.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},iO.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case r9.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(r9.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case r9.braceL:return this.parseObj(!0)}return this.parseIdent()},iO.parseBindingList=function(e,t,n,r){for(var i=[],o=!0;!this.eat(e);)if(o?o=!1:this.expect(r9.comma),t&&this.type===r9.comma)i.push(null);else if(n&&this.afterTrailingComma(e))break;else if(this.type===r9.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),i.push(s),this.type===r9.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(r));return i},iO.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},iO.parseBindingListItem=function(e){return e},iO.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(r9.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},iO.checkLValSimple=function(e,t,n){void 0===t&&(t=0);var r=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),n&&(il(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),5!==t&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":r&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return r&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,n);default:this.raise(e.start,(r?"Binding":"Assigning to")+" rvalue")}},iO.checkLValPattern=function(e,t,n){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];this.checkLValInnerPattern(o,t,n)}break;case"ArrayPattern":for(var s=0,a=e.elements;s<a.length;s+=1){var l=a[s];l&&this.checkLValInnerPattern(l,t,n)}break;default:this.checkLValSimple(e,t,n)}},iO.checkLValInnerPattern=function(e,t,n){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,n);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,n);break;case"RestElement":this.checkLValPattern(e.argument,t,n);break;default:this.checkLValPattern(e,t,n)}};var iD=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},iV={b_stat:new iD("{",!1),b_expr:new iD("{",!0),b_tmpl:new iD("${",!1),p_stat:new iD("(",!1),p_expr:new iD("(",!0),q_tmpl:new iD("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new iD("function",!1),f_expr:new iD("function",!0),f_expr_gen:new iD("function",!0,!1,null,!0),f_gen:new iD("function",!1,!1,null,!0)},iB=iS.prototype;iB.initialContext=function(){return[iV.b_stat]},iB.curContext=function(){return this.context[this.context.length-1]},iB.braceIsBlock=function(e){var t=this.curContext();return t===iV.f_expr||t===iV.f_stat||(e===r9.colon&&(t===iV.b_stat||t===iV.b_expr)?!t.isExpr:e===r9._return||e===r9.name&&this.exprAllowed?r8.test(this.input.slice(this.lastTokEnd,this.start)):e===r9._else||e===r9.semi||e===r9.eof||e===r9.parenR||e===r9.arrow||(e===r9.braceL?t===iV.b_stat:e!==r9._var&&e!==r9._const&&e!==r9.name&&!this.exprAllowed))},iB.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},iB.updateContext=function(e){var t,n=this.type;n.keyword&&e===r9.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},iB.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},r9.parenR.updateContext=r9.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var e=this.context.pop();e===iV.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},r9.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?iV.b_stat:iV.b_expr),this.exprAllowed=!0},r9.dollarBraceL.updateContext=function(){this.context.push(iV.b_tmpl),this.exprAllowed=!0},r9.parenL.updateContext=function(e){var t=e===r9._if||e===r9._for||e===r9._with||e===r9._while;this.context.push(t?iV.p_stat:iV.p_expr),this.exprAllowed=!0},r9.incDec.updateContext=function(){},r9._function.updateContext=r9._class.updateContext=function(e){e.beforeExpr&&e!==r9._else&&(e!==r9.semi||this.curContext()===iV.p_stat)&&!(e===r9._return&&r8.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==r9.colon&&e!==r9.braceL||this.curContext()!==iV.b_stat)?this.context.push(iV.f_expr):this.context.push(iV.f_stat),this.exprAllowed=!1},r9.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},r9.backQuote.updateContext=function(){this.curContext()===iV.q_tmpl?this.context.pop():this.context.push(iV.q_tmpl),this.exprAllowed=!1},r9.star.updateContext=function(e){if(e===r9._function){var t=this.context.length-1;this.context[t]===iV.f_expr?this.context[t]=iV.f_expr_gen:this.context[t]=iV.f_gen}this.exprAllowed=!0},r9.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==r9.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var iN=iS.prototype;iN.checkPropClash=function(e,t,n){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==e.type)&&(!(this.options.ecmaVersion>=6)||!e.computed&&!e.method&&!e.shorthand)){var r,i,o=e.key;switch(o.type){case"Identifier":r=o.name;break;case"Literal":r=String(o.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){"__proto__"===r&&"init"===s&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=o.start):this.raiseRecoverable(o.start,"Redefinition of __proto__ property")),t.proto=!0);return}var a=t[r="$"+r];a?("init"===s?this.strict&&a.init||a.get||a.set:a.init||a[s])&&this.raiseRecoverable(o.start,"Redefinition of property"):a=t[r]={init:!1,get:!1,set:!1},a[s]=!0}},iN.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===r9.comma){var o=this.startNodeAt(n,r);for(o.expressions=[i];this.eat(r9.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i},iN.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var r=!1,i=-1,o=-1,s=-1;t?(i=t.parenthesizedAssign,o=t.trailingComma,s=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new ik,r=!0);var a=this.start,l=this.startLoc;(this.type===r9.parenL||this.type===r9.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var c=this.parseMaybeConditional(e,t);if(n&&(c=n.call(this,c,a,l)),this.type.isAssign){var p=this.startNodeAt(a,l);return p.operator=this.value,this.type===r9.eq&&(c=this.toAssignable(c,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===r9.eq?this.checkLValPattern(c):this.checkLValSimple(c),p.left=c,this.next(),p.right=this.parseMaybeAssign(e),s>-1&&(t.doubleProto=s),this.finishNode(p,"AssignmentExpression")}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),c},iN.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(r9.question)){var o=this.startNodeAt(n,r);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(r9.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i},iN.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===n&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,n,r,-1,e)},iN.parseExprOp=function(e,t,n,r,i){var o=this.type.binop;if(null!=o&&(!i||this.type!==r9._in)&&o>r){var s=this.type===r9.logicalOR||this.type===r9.logicalAND,a=this.type===r9.coalesce;a&&(o=r9.logicalAND.binop);var l=this.value;this.next();var c=this.start,p=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),c,p,o,i),f=this.buildBinary(t,n,e,u,l,s||a);return(s&&this.type===r9.coalesce||a&&(this.type===r9.logicalOR||this.type===r9.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(f,t,n,r,i)}return e},iN.buildBinary=function(e,t,n,r,i,o){"PrivateIdentifier"===r.type&&this.raise(r.start,"Private identifier can only be left side of binary expression");var s=this.startNodeAt(e,t);return s.left=n,s.operator=i,s.right=r,this.finishNode(s,o?"LogicalExpression":"BinaryExpression")},iN.parseMaybeUnary=function(e,t,n,r){var i,o=this.start,s=this.startLoc;if(this.isContextual("await")&&this.canAwait)i=this.parseAwait(r),t=!0;else if(this.type.prefix){var a=this.startNode(),l=this.type===r9.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0,l,r),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(a.argument):this.strict&&"delete"===a.operator&&function e(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&&e(t.expression)}(a.argument)?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):"delete"===a.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)||"ParenthesizedExpression"===t.type&&e(t.expression)}(a.argument)?this.raiseRecoverable(a.start,"Private fields can not be deleted"):t=!0,i=this.finishNode(a,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==r9.privateId){if(i=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(o,s);c.operator=this.value,c.prefix=!1,c.argument=i,this.checkLValSimple(i),this.next(),i=this.finishNode(c,"UpdateExpression")}}else(r||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),i=this.parsePrivateIdent(),this.type!==r9._in&&this.unexpected();return!n&&this.eat(r9.starstar)?t?void this.unexpected(this.lastTokStart):this.buildBinary(o,s,i,this.parseMaybeUnary(null,!1,!1,r),"**",!1):i},iN.parseExprSubscripts=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===i.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return i;var o=this.parseSubscripts(i,n,r,!1,t);return e&&"MemberExpression"===o.type&&(e.parenthesizedAssign>=o.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=o.start&&(e.parenthesizedBind=-1),e.trailingComma>=o.start&&(e.trailingComma=-1)),o},iN.parseSubscripts=function(e,t,n,r,i){for(var o=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,s=!1;;){var a=this.parseSubscript(e,t,n,r,o,s,i);if(a.optional&&(s=!0),a===e||"ArrowFunctionExpression"===a.type){if(s){var l=this.startNodeAt(t,n);l.expression=a,a=this.finishNode(l,"ChainExpression")}return a}e=a}},iN.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(r9.arrow)},iN.parseSubscriptAsyncArrow=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!0,r)},iN.parseSubscript=function(e,t,n,r,i,o,s){var a=this.options.ecmaVersion>=11,l=a&&this.eat(r9.questionDot);r&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(r9.bracketL);if(c||l&&this.type!==r9.parenL&&this.type!==r9.backQuote||this.eat(r9.dot)){var p=this.startNodeAt(t,n);p.object=e,c?(p.property=this.parseExpression(),this.expect(r9.bracketR)):this.type===r9.privateId&&"Super"!==e.type?p.property=this.parsePrivateIdent():p.property=this.parseIdent("never"!==this.options.allowReserved),p.computed=!!c,a&&(p.optional=l),e=this.finishNode(p,"MemberExpression")}else if(!r&&this.eat(r9.parenL)){var u=new ik,f=this.yieldPos,d=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var g=this.parseExprList(r9.parenR,this.options.ecmaVersion>=8,!1,u);if(i&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=f,this.awaitPos=d,this.awaitIdentPos=m,this.parseSubscriptAsyncArrow(t,n,g,s);this.checkExpressionErrors(u,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=m||this.awaitIdentPos;var h=this.startNodeAt(t,n);h.callee=e,h.arguments=g,a&&(h.optional=l),e=this.finishNode(h,"CallExpression")}else if(this.type===r9.backQuote){(l||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var y=this.startNodeAt(t,n);y.tag=e,y.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(y,"TaggedTemplateExpression")}return e},iN.parseExprAtom=function(e,t,n){this.type===r9.slash&&this.readRegexp();var r,i=this.potentialArrowAt===this.start;switch(this.type){case r9._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),r=this.startNode(),this.next(),this.type!==r9.parenL||this.allowDirectSuper||this.raise(r.start,"super() call outside constructor of a subclass"),this.type!==r9.dot&&this.type!==r9.bracketL&&this.type!==r9.parenL&&this.unexpected(),this.finishNode(r,"Super");case r9._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case r9.name:var o=this.start,s=this.startLoc,a=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(r9._function))return this.overrideContext(iV.f_expr),this.parseFunction(this.startNodeAt(o,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(r9.arrow))return this.parseArrowExpression(this.startNodeAt(o,s),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===r9.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(r9.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,s),[l],!0,t)}return l;case r9.regexp:var c=this.value;return(r=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},r;case r9.num:case r9.string:return this.parseLiteral(this.value);case r9._null:case r9._true:case r9._false:return(r=this.startNode()).value=this.type===r9._null?null:this.type===r9._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case r9.parenL:var p=this.start,u=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(u)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),u;case r9.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(r9.bracketR,!0,!0,e),this.finishNode(r,"ArrayExpression");case r9.braceL:return this.overrideContext(iV.b_expr),this.parseObj(!1,e);case r9._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case r9._class:return this.parseClass(this.startNode(),!1);case r9._new:return this.parseNew();case r9.backQuote:return this.parseTemplate();case r9._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(n);return this.unexpected();default:return this.parseExprAtomDefault()}},iN.parseExprAtomDefault=function(){this.unexpected()},iN.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===r9.parenL&&!e)return this.parseDynamicImport(t);if(this.type===r9.dot){var n=this.startNodeAt(t.start,t.loc&&t.loc.start);return n.name="import",t.meta=this.finishNode(n,"Identifier"),this.parseImportMeta(t)}this.unexpected()},iN.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(r9.parenR)?e.options=null:(this.expect(r9.comma),this.afterTrailingComma(r9.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),!this.eat(r9.parenR)&&(this.expect(r9.comma),this.afterTrailingComma(r9.parenR)||this.unexpected())));else if(!this.eat(r9.parenR)){var t=this.start;this.eat(r9.comma)&&this.eat(r9.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},iN.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},iN.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},iN.parseParenExpression=function(){this.expect(r9.parenL);var e=this.parseExpression();return this.expect(r9.parenR),e},iN.shouldParseArrow=function(e){return!this.canInsertSemicolon()},iN.parseParenAndDistinguishExpression=function(e,t){var n,r=this.start,i=this.startLoc,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,l=this.startLoc,c=[],p=!0,u=!1,f=new ik,d=this.yieldPos,m=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==r9.parenR;){if(p?p=!1:this.expect(r9.comma),o&&this.afterTrailingComma(r9.parenR,!0)){u=!0;break}if(this.type===r9.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===r9.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,f,this.parseParenItem))}var g=this.lastTokEnd,h=this.lastTokEndLoc;if(this.expect(r9.parenR),e&&this.shouldParseArrow(c)&&this.eat(r9.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=m,this.parseParenArrowList(r,i,c,t);(!c.length||u)&&this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(f,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=m||this.awaitPos,c.length>1?((n=this.startNodeAt(a,l)).expressions=c,this.finishNodeAt(n,"SequenceExpression",g,h)):n=c[0]}else n=this.parseParenExpression();if(!this.options.preserveParens)return n;var y=this.startNodeAt(r,i);return y.expression=n,this.finishNode(y,"ParenthesizedExpression")},iN.parseParenItem=function(e){return e},iN.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!1,r)};var ij=[];iN.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===r9.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var n=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,i,!0,!1),this.eat(r9.parenL)?e.arguments=this.parseExprList(r9.parenR,this.options.ecmaVersion>=8,!1):e.arguments=ij,this.finishNode(e,"NewExpression")},iN.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===r9.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),n.tail=this.type===r9.backQuote,this.finishNode(n,"TemplateElement")},iN.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===r9.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(r9.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(r9.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},iN.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===r9.name||this.type===r9.num||this.type===r9.string||this.type===r9.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===r9.star)&&!r8.test(this.input.slice(this.lastTokEnd,this.start))},iN.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(r9.braceR);){if(r)r=!1;else if(this.expect(r9.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(r9.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},iN.parseProperty=function(e,t){var n,r,i,o,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(r9.ellipsis))return e?(s.argument=this.parseIdent(!1),this.type===r9.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(s.argument=this.parseMaybeAssign(!1,t),this.type===r9.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(n=this.eat(r9.star)));var a=this.containsEsc;return this.parsePropertyName(s),!e&&!a&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(s)?(r=!0,n=this.options.ecmaVersion>=9&&this.eat(r9.star),this.parsePropertyName(s)):r=!1,this.parsePropertyValue(s,e,n,r,i,o,t,a),this.finishNode(s,"Property")},iN.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=+("get"!==e.kind);if(e.value.params.length!==t){var n=e.value.start;"get"===e.kind?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},iN.parsePropertyValue=function(e,t,n,r,i,o,s,a){(n||r)&&this.type===r9.colon&&this.unexpected(),this.eat(r9.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init"):this.options.ecmaVersion>=6&&this.type===r9.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r)):t||a||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===r9.comma||this.type===r9.braceR||this.type===r9.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===r9.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((n||r)&&this.unexpected(),this.parseGetterSetter(e))},iN.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(r9.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(r9.bracketR),e.key;else e.computed=!1;return e.key=this.type===r9.num||this.type===r9.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},iN.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},iN.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|ib(t,r.generator)|128*!!n),this.expect(r9.parenL),r.params=this.parseBindingList(r9.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")},iN.parseArrowExpression=function(e,t,n,r){var i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|ib(n,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},iN.parseFunctionBody=function(e,t,n,r){var i=t&&this.type!==r9.braceL,o=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!o||a)&&(s=this.strictDirective(this.end))&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!o&&!s&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,s&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},iN.isSimpleParamList=function(e){for(var t=0;t<e.length;t+=1)if("Identifier"!==e[t].type)return!1;return!0},iN.checkParams=function(e,t){for(var n=Object.create(null),r=0,i=e.params;r<i.length;r+=1){var o=i[r];this.checkLValInnerPattern(o,1,t?null:n)}},iN.parseExprList=function(e,t,n,r){for(var i=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(r9.comma),t&&this.afterTrailingComma(e))break;var s=void 0;n&&this.type===r9.comma?s=null:this.type===r9.ellipsis?(s=this.parseSpread(r),r&&this.type===r9.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):s=this.parseMaybeAssign(!1,r),i.push(s)}return i},iN.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;this.inGenerator&&"yield"===r&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===r&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===r&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===r||"await"===r)&&this.raise(t,"Cannot use "+r+" in class static initialization block"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),(!(this.options.ecmaVersion<6)||-1===this.input.slice(t,n).indexOf("\\"))&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(this.inAsync||"await"!==r||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))},iN.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),!e&&(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},iN.parseIdentNode=function(){var e=this.startNode();return this.type===r9.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,("class"===e.name||"function"===e.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=r9.name):this.unexpected(),e},iN.parsePrivateIdent=function(){var e=this.startNode();return this.type===r9.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},iN.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===r9.semi||this.canInsertSemicolon()||this.type!==r9.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(r9.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},iN.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var iM=iS.prototype;iM.raise=function(e,t){var n=iy(this.input,e),r=SyntaxError(t+=" ("+n.line+":"+n.column+")");throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},iM.raiseRecoverable=iM.raise,iM.curPosition=function(){if(this.options.locations)return new ig(this.curLine,this.pos-this.lineStart)};var iR=iS.prototype,iF=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};iR.enterScope=function(e){this.scopeStack.push(new iF(e))},iR.exitScope=function(){this.scopeStack.pop()},iR.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},iR.declareName=function(e,t,n){var r=!1;if(2===t){var i=this.currentScope();r=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&1&i.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var o=this.currentScope();r=this.treatFunctionsAsVar?o.lexical.indexOf(e)>-1:o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1,o.functions.push(e)}else for(var s=this.scopeStack.length-1;s>=0;--s){var a=this.scopeStack[s];if(a.lexical.indexOf(e)>-1&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(e)>-1){r=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],259&a.flags)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},iR.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},iR.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},iR.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},iR.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var iU=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ih(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},iq=iS.prototype;function iW(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}iq.startNode=function(){return new iU(this,this.start,this.startLoc)},iq.startNodeAt=function(e,t){return new iU(this,e,t)},iq.finishNode=function(e,t){return iW.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},iq.finishNodeAt=function(e,t,n,r){return iW.call(this,e,t,n,r)},iq.copyNode=function(e){var t=new iU(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};for(var iG="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",iH=iG+" Extended_Pictographic",i$=iH+" EBase EComp EMod EPres ExtPict",iK={9:iG,10:iH,11:iH,12:i$,13:i$,14:i$},iz={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},iJ="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",iX="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",iQ=iX+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",iZ=iQ+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",i0=iZ+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",i1=i0+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",i2={9:iX,10:iQ,11:iZ,12:i0,13:i1,14:i1+" 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"},i3={},i4=0,i6=[9,10,11,12,13,14];i4<i6.length;i4+=1)!function(e){var t=i3[e]={binary:iu(iK[e]+" "+iJ),binaryOfStrings:iu(iz[e]),nonBinary:{General_Category:iu(iJ),Script:iu(i2[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}(i6[i4]);var i5=iS.prototype,i9=function(e,t){this.parent=e,this.base=t||this};i9.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var n=e;n;n=n.parent)if(t.base===n.base&&t!==n)return!0;return!1},i9.prototype.sibling=function(){return new i9(this.parent,this.base)};var i8=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=i3[e.options.ecmaVersion>=14?14:e.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};function i7(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function oe(e){return e>=65&&e<=90||e>=97&&e<=122}function ot(e){return oe(e)||95===e}function on(e){return e>=48&&e<=57}function or(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function oi(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function oo(e){return e>=48&&e<=55}i8.prototype.reset=function(e,t,n){var r=-1!==n.indexOf("v"),i=-1!==n.indexOf("u");this.start=0|e,this.source=t+"",this.flags=n,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=i&&this.parser.options.ecmaVersion>=9)},i8.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},i8.prototype.at=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return -1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-0x35fdc00:i},i8.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i,o=n.charCodeAt(e);return!(t||this.switchU)||o<=55295||o>=57344||e+1>=r||(i=n.charCodeAt(e+1))<56320||i>57343?e+1:e+2},i8.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},i8.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},i8.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},i8.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},i8.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var n=this.pos,r=0;r<e.length;r+=1){var i=e[r],o=this.at(n,t);if(-1===o||o!==i)return!1;n=this.nextIndex(n,t)}return this.pos=n,!0},i5.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=!1,i=!1,o=0;o<n.length;o++){var s=n.charAt(o);-1===t.indexOf(s)&&this.raise(e.start,"Invalid regular expression flag"),n.indexOf(s,o+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===s&&(r=!0),"v"===s&&(i=!0)}this.options.ecmaVersion>=15&&r&&i&&this.raise(e.start,"Invalid regular expression flag")},i5.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&function(e){for(var t in e)return!0;return!1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},i5.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames[r]||e.raise("Invalid named capture referenced")}},i5.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new i9(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},i5.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},i5.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?!!this.regexp_eatAtom(e):!!this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},i5.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},i5.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},i5.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},i5.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return -1!==i&&i<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=n}return!1},i5.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},i5.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},i5.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var n=this.regexp_eatModifiers(e),r=e.eat(45);if(n||r){for(var i=0;i<n.length;i++){var o=n.charAt(i);n.indexOf(o,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(r){var s=this.regexp_eatModifiers(e);n||s||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var a=0;a<s.length;a++){var l=s.charAt(a);(s.indexOf(l,a+1)>-1||n.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},i5.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},i5.regexp_eatModifiers=function(e){for(var t,n="",r=0;-1!==(r=e.current())&&(105===(t=r)||109===t||115===t);)n+=id(r),e.advance();return n},i5.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},i5.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},i5.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!i7(t)&&(e.lastIntValue=t,e.advance(),!0)},i5.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;-1!==(n=e.current())&&!i7(n);)e.advance();return e.pos!==t},i5.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return -1!==t&&36!==t&&(!(t>=40)||!(t<=43))&&46!==t&&63!==t&&91!==t&&94!==t&&124!==t&&(e.advance(),!0)},i5.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,n=e.groupNames[e.lastStringValue];if(n)if(t)for(var r=0;r<n.length;r+=1)n[r].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(n||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},i5.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},i5.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=id(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=id(e.lastIntValue);return!0}return!1},i5.regexp_eatRegExpIdentifierStart=function(e){var t,n=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return(e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),rZ(t=i,!0)||36===t||95===t)?(e.lastIntValue=i,!0):(e.pos=n,!1)},i5.regexp_eatRegExpIdentifierPart=function(e){var t,n=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return(e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),r0(t=i,!0)||36===t||95===t||8204===t||8205===t)?(e.lastIntValue=i,!0):(e.pos=n,!1)},i5.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},i5.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},i5.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},i5.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},i5.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},i5.regexp_eatZero=function(e){return!(48!==e.current()||on(e.lookahead()))&&(e.lastIntValue=0,e.advance(),!0)},i5.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},i5.regexp_eatControlLetter=function(e){var t=e.current();return!!oe(t)&&(e.lastIntValue=t%32,e.advance(),!0)},i5.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i,o=e.lastIntValue;if(r&&o>=55296&&o<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(o-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=o}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&(i=e.lastIntValue)>=0&&i<=1114111)return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},i5.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return 99!==t&&(!e.switchN||107!==t)&&(e.lastIntValue=t,e.advance(),!0)},i5.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},i5.regexp_eatCharacterClassEscape=function(e){var t,n,r=e.current();if(100===(t=r)||68===t||115===t||83===t||119===t||87===t)return e.lastIntValue=-1,e.advance(),1;var i=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((i=80===r)||112===r)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&2===n&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return 0},i5.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return 0},i5.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){il(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},i5.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},i5.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";ot(t=e.current());)e.lastStringValue+=id(t),e.advance();return""!==e.lastStringValue},i5.regexp_eatUnicodePropertyValue=function(e){var t,n=0;for(e.lastStringValue="";ot(t=n=e.current())||on(t);)e.lastStringValue+=id(n),e.advance();return""!==e.lastStringValue},i5.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},i5.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),n=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===n&&e.raise("Negated character class may contain strings"),!0}return!1},i5.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},i5.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(-1===t||-1===n)&&e.raise("Invalid character class"),-1!==t&&-1!==n&&t>n&&e.raise("Range out of order in character class")}}},i5.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(99===n||oo(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},i5.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},i5.regexp_classSetExpression=function(e){var t,n=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(n=2);for(var r=e.pos;e.eatChars([38,38]);){if(38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))){2!==t&&(n=1);continue}e.raise("Invalid character in character class")}if(r!==e.pos)return n;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(r!==e.pos)return n}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return n;2===t&&(n=2)}},i5.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return -1!==n&&-1!==r&&n>r&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},i5.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},i5.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var n=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return n&&2===r&&e.raise("Negated character class may contain strings"),r;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null},i5.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var n=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return n}else e.raise("Invalid escape");e.pos=t}return null},i5.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},i5.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},i5.regexp_eatClassSetCharacter=function(e){var t,n,r=e.pos;if(e.eat(92))return!!(this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=r,!1));var i=e.current();return!(i<0||i===e.lookahead()&&(33===(t=i)||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t)||40===(n=i)||41===n||45===n||47===n||n>=91&&n<=93||n>=123&&n<=125)&&(e.advance(),e.lastIntValue=i,!0)},i5.regexp_eatClassSetReservedPunctuator=function(e){var t,n=e.current();return!!(33===(t=n)||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t)&&(e.lastIntValue=n,e.advance(),!0)},i5.regexp_eatClassControlLetter=function(e){var t=e.current();return(!!on(t)||95===t)&&(e.lastIntValue=t%32,e.advance(),!0)},i5.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},i5.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;on(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},i5.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;or(n=e.current());)e.lastIntValue=16*e.lastIntValue+oi(n),e.advance();return e.pos!==t},i5.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*n+e.lastIntValue:e.lastIntValue=8*t+n}else e.lastIntValue=t;return!0}return!1},i5.regexp_eatOctalDigit=function(e){var t=e.current();return oo(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},i5.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var i=e.current();if(!or(i))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+oi(i),e.advance()}return!0};var os=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new ih(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},oa=iS.prototype;function ol(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}oa.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new os(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},oa.getToken=function(){return this.next(),new os(this)},"undefined"!=typeof Symbol&&(oa[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===r9.eof,value:t}}}}),oa.nextToken=function(){var e=this.curContext();return(e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(r9.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},oa.readToken=function(e){return rZ(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},oa.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-0x35fdc00},oa.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(var r=void 0,i=t;(r=it(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},oa.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!ie(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},oa.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++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(e>8&&e<14||e>=5760&&ir.test(String.fromCharCode(e)))++this.pos;else break e}}},oa.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},oa.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(r9.ellipsis)):(++this.pos,this.finishToken(r9.dot))},oa.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(r9.assign,2):this.finishOp(r9.slash,1)},oa.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=42===e?r9.star:r9.modulo;return(this.options.ecmaVersion>=7&&42===e&&42===t&&(++n,r=r9.starstar,t=this.input.charCodeAt(this.pos+2)),61===t)?this.finishOp(r9.assign,n+1):this.finishOp(r,n)},oa.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(r9.assign,3):this.finishOp(124===e?r9.logicalOR:r9.logicalAND,2);return 61===t?this.finishOp(r9.assign,2):this.finishOp(124===e?r9.bitwiseOR:r9.bitwiseAND,1)},oa.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(r9.assign,2):this.finishOp(r9.bitwiseXOR,1)},oa.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45===t&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||r8.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(r9.incDec,2):61===t?this.finishOp(r9.assign,2):this.finishOp(r9.plusMin,1)},oa.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+n))?this.finishOp(r9.assign,n+1):this.finishOp(r9.bitShift,n):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(n=2),this.finishOp(r9.relational,n)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},oa.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(r9.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(r9.arrow)):this.finishOp(61===e?r9.eq:r9.prefix,1)},oa.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(r9.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(r9.assign,3):this.finishOp(r9.coalesce,2)}return this.finishOp(r9.question,1)},oa.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,rZ(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(r9.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+id(t)+"'")},oa.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(r9.parenL);case 41:return++this.pos,this.finishToken(r9.parenR);case 59:return++this.pos,this.finishToken(r9.semi);case 44:return++this.pos,this.finishToken(r9.comma);case 91:return++this.pos,this.finishToken(r9.bracketL);case 93:return++this.pos,this.finishToken(r9.bracketR);case 123:return++this.pos,this.finishToken(r9.braceL);case 125:return++this.pos,this.finishToken(r9.braceR);case 58:return++this.pos,this.finishToken(r9.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(r9.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)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(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(r9.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+id(e)+"'")},oa.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},oa.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(r8.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if("["===r)t=!0;else if("]"===r&&t)t=!1;else if("/"===r&&!t)break;e="\\"===r}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var a=this.regexpState||(this.regexpState=new i8(this));a.reset(n,i,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var l=null;try{l=new RegExp(i,s)}catch(e){}return this.finishToken(r9.regexp,{pattern:i,flags:s,value:l})},oa.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&void 0===t,i=n&&48===this.input.charCodeAt(this.pos),o=this.pos,s=0,a=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var p=this.input.charCodeAt(this.pos),u=void 0;if(r&&95===p){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=p;continue}if((u=p>=97?p-97+10:p>=65?p-65+10:p>=48&&p<=57?p-48:1/0)>=e)break;a=p,s=s*e+u}return(r&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||null!=t&&this.pos-o!==t)?null:s},oa.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return null==n&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(n=ol(this.input.slice(t,this.pos)),++this.pos):rZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r9.num,n)},oa.readNumber=function(e){var t,n=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(n,"Invalid number");var r=this.pos-n>=2&&48===this.input.charCodeAt(n);r&&this.strict&&this.raise(n,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===i){var o=ol(this.input.slice(n,this.pos));return++this.pos,rZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r9.num,o)}r&&/[89]/.test(this.input.slice(n,this.pos))&&(r=!1),46!==i||r||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||r||((43===(i=this.input.charCodeAt(++this.pos))||45===i)&&++this.pos,null===this.readInt(10)&&this.raise(n,"Invalid number")),rZ(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=(t=this.input.slice(n,this.pos),r?parseInt(t,8):parseFloat(t.replace(/_/g,"")));return this.finishToken(r9.num,s)},oa.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},oa.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;92===r?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):8232===r||8233===r?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ie(r)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(r9.string,t)};var oc={};oa.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===oc)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},oa.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw oc;this.raise(e,t)},oa.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===r9.template||this.type===r9.invalidTemplate))if(36===n)return this.pos+=2,this.finishToken(r9.dollarBraceL);else return++this.pos,this.finishToken(r9.backQuote);return e+=this.input.slice(t,this.pos),this.finishToken(r9.template,e)}if(92===n)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ie(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},oa.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(r9.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},oa.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return id(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++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"),e){var n=this.pos-1;this.invalidStringToken(n,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(i=parseInt(r=r.slice(0,-1),8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),("0"!==r||56===t||57===t)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}if(ie(t))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(t)}},oa.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return null===n&&this.invalidStringToken(t,"Bad character escape sequence"),n},oa.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(r0(i,r))this.pos+=i<=65535?1:2;else if(92===i){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var o=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?rZ:r0)(s,r)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=id(s),n=this.pos}else break;t=!1}return e+this.input.slice(n,this.pos)},oa.readWord=function(){var e=this.readWord1(),t=r9.name;return this.keywords.test(e)&&(t=r6[e]),this.finishToken(t,e)};var op="8.14.0";iS.acorn={Parser:iS,version:op,defaultOptions:iE,Position:ig,SourceLocation:ih,getLineInfo:iy,Node:iU,TokenType:r1,tokTypes:r9,keywordTypes:r6,TokContext:iD,tokContexts:iV,isIdentifierChar:r0,isIdentifierStart:rZ,Token:os,isNewLine:ie,lineBreak:r8,lineBreakG:r7,nonASCIIwhitespace:ir};var ou=Object.freeze({__proto__:null,Node:iU,Parser:iS,Position:ig,SourceLocation:ih,TokContext:iD,Token:os,TokenType:r1,defaultOptions:iE,getLineInfo:iy,isIdentifierChar:r0,isIdentifierStart:rZ,isNewLine:ie,keywordTypes:r6,lineBreak:r8,lineBreakG:r7,nonASCIIwhitespace:ir,parse:function(e,t){return iS.parse(e,t)},parseExpressionAt:function(e,t,n){return iS.parseExpressionAt(e,t,n)},tokContexts:iV,tokTypes:r9,tokenizer:function(e,t){return iS.tokenizer(e,t)},version:op}),of={exports:{}},od=n7.g(ou),om=(p||(p=1,!function(e){let t=c?l:(c=1,l={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",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:"♦"}),n=/^[\da-fA-F]+$/,r=/^\d+$/,i=new WeakMap;function o(e){e=e.Parser.acorn||e;let t=i.get(e);if(!t){let n=e.tokTypes,r=e.TokContext,o=e.TokenType,s=new r("<tag",!1),a=new r("</tag",!1),l=new r("<tag>...</tag>",!0,!0),c={jsxName:new o("jsxName"),jsxText:new o("jsxText",{beforeExpr:!0}),jsxTagStart:new o("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new o("jsxTagEnd")};c.jsxTagStart.updateContext=function(){this.context.push(l),this.context.push(s),this.exprAllowed=!1},c.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===s&&e===n.slash||t===a?(this.context.pop(),this.exprAllowed=this.curContext()===l):this.exprAllowed=!0},t={tokContexts:{tc_oTag:s,tc_cTag:a,tc_expr:l},tokTypes:c},i.set(e,t)}return t}function s(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?s(e.object)+"."+s(e.property):void 0:e}e.exports=function(e){return e=e||{},function(i){return function(e,i){let a=i.acorn||od,l=o(a),c=a.tokTypes,p=l.tokTypes,u=a.tokContexts,f=l.tokContexts.tc_oTag,d=l.tokContexts.tc_cTag,m=l.tokContexts.tc_expr,g=a.isNewLine,h=a.isIdentifierStart,y=a.isIdentifierChar;return class extends i{static get acornJsx(){return l}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let n=this.input.charCodeAt(this.pos);switch(n){case 60:case 123:if(this.pos===this.start){if(60===n&&this.exprAllowed)return++this.pos,this.finishToken(p.jsxTagStart);return this.getTokenFromCode(n)}return e+=this.input.slice(t,this.pos),this.finishToken(p.jsxText,e);case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===n?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:g(n)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",n=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let r=this.input.charCodeAt(this.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos):g(r)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!1),n=this.pos):++this.pos}return t+=this.input.slice(n,this.pos++),this.finishToken(c.string,t)}jsx_readEntity(){let e="",i=0,o,s=this.input[this.pos];"&"!==s&&this.raise(this.pos,"Entity must start with an ampersand");let a=++this.pos;for(;this.pos<this.input.length&&i++<10;){if(";"===(s=this.input[this.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),n.test(e)&&(o=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),r.test(e)&&(o=String.fromCharCode(parseInt(e,10)))):o=t[e];break}e+=s}return o||(this.pos=a,"&")}jsx_readWord(){let e,t=this.pos;do e=this.input.charCodeAt(++this.pos);while(y(e)||45===e);return this.finishToken(p.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===p.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let t=this.start,n=this.startLoc,r=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(c.colon))return r;var i=this.startNodeAt(t,n);return i.namespace=r,i.name=this.jsx_parseIdentifier(),this.finishNode(i,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===p.jsxTagEnd)return"";let t=this.start,n=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type!==c.dot||"JSXNamespacedName"!==r.type||e.allowNamespacedObjects||this.unexpected();this.eat(c.dot);){let e=this.startNodeAt(t,n);e.object=r,e.property=this.jsx_parseIdentifier(),r=this.finishNode(e,"JSXMemberExpression")}return r}jsx_parseAttributeValue(){switch(this.type){case c.braceL:let e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case p.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 e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===c.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(c.braceR),this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();return this.eat(c.braceL)?(this.expect(c.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(c.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(c.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsx_parseOpeningElementAt(e,t){let n=this.startNodeAt(e,t);n.attributes=[];let r=this.jsx_parseElementName();for(r&&(n.name=r);this.type!==c.slash&&this.type!==p.jsxTagEnd;)n.attributes.push(this.jsx_parseAttribute());return n.selfClosing=this.eat(c.slash),this.expect(p.jsxTagEnd),this.finishNode(n,r?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let n=this.startNodeAt(e,t),r=this.jsx_parseElementName();return r&&(n.name=r),this.expect(p.jsxTagEnd),this.finishNode(n,r?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let n=this.startNodeAt(e,t),r=[],i=this.jsx_parseOpeningElementAt(e,t),o=null;if(!i.selfClosing){t:for(;;)switch(this.type){case p.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(c.slash)){o=this.jsx_parseClosingElementAt(e,t);break t}r.push(this.jsx_parseElementAt(e,t));break;case p.jsxText:r.push(this.parseExprAtom());break;case c.braceL:r.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(o.name)!==s(i.name)&&this.raise(o.start,"Expected corresponding JSX closing tag for <"+s(i.name)+">")}let a=i.name?"Element":"Fragment";return n["opening"+a]=i,n["closing"+a]=o,n.children=r,this.type===c.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSX"+a)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===p.jsxText?this.jsx_parseText():this.type===p.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===f||t===d){if(h(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(p.jsxTagEnd);if((34===e||39===e)&&t==f)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(p.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==c.braceL){var t=this.curContext();t==f?this.context.push(u.b_expr):t==m?this.context.push(u.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==c.slash||e!==p.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(d),this.exprAllowed=!1}}}}({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects},i)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return o(od).tokTypes},configurable:!0,enumerable:!0})}(of)),of.exports),og=n7.a(om);const oh={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 oy(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}oy.prototype={constructor:oy,translate(e,t){let n=e.type,r=this._acornTokTypes;if(n===r.name)e.type=oh.Identifier,"static"===e.value&&(e.type=oh.Keyword),t.ecmaVersion>5&&("yield"===e.value||"let"===e.value)&&(e.type=oh.Keyword);else if(n===r.privateId)e.type=oh.PrivateIdentifier;else if(n===r.semi||n===r.comma||n===r.parenL||n===r.parenR||n===r.braceL||n===r.braceR||n===r.dot||n===r.bracketL||n===r.colon||n===r.question||n===r.bracketR||n===r.ellipsis||n===r.arrow||n===r.jsxTagStart||n===r.incDec||n===r.starstar||n===r.jsxTagEnd||n===r.prefix||n===r.questionDot||n.binop&&!n.keyword||n.isAssign)e.type=oh.Punctuator,e.value=this._code.slice(e.start,e.end);else if(n===r.jsxName)e.type=oh.JSXIdentifier;else if("jsxText"===n.label||n===r.jsxAttrValueToken)e.type=oh.JSXText;else if(n.keyword)"true"===n.keyword||"false"===n.keyword?e.type=oh.Boolean:"null"===n.keyword?e.type=oh.Null:e.type=oh.Keyword;else if(n===r.num)e.type=oh.Numeric,e.value=this._code.slice(e.start,e.end);else if(n===r.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=oh.JSXText):e.type=oh.String,e.value=this._code.slice(e.start,e.end);else if(n===r.regexp){e.type=oh.RegularExpression;let t=e.value;e.regex={flags:t.flags,pattern:t.pattern},e.value=`/${t.pattern}/${t.flags}`}return e},onToken(e,t){let n=this._acornTokTypes,r=t.tokens,i=this._tokens,o=()=>{r.push(function(e,t){let n=e[0],r=e.at(-1),i={type:oh.Template,value:t.slice(n.start,r.end)};return n.loc&&(i.loc={start:n.loc.start,end:r.loc.end}),n.range&&(i.start=n.range[0],i.end=r.range[1],i.range=[i.start,i.end]),i}(this._tokens,this._code)),this._tokens=[]};if(e.type===n.eof){this._curlyBrace&&r.push(this.translate(this._curlyBrace,t));return}if(e.type===n.backQuote){this._curlyBrace&&(r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),i.push(e),i.length>1&&o();return}if(e.type===n.dollarBraceL){i.push(e),o();return}if(e.type===n.braceR){this._curlyBrace&&r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=e;return}if(e.type===n.template||e.type===n.invalidTemplate){this._curlyBrace&&(i.push(this._curlyBrace),this._curlyBrace=null),i.push(e);return}this._curlyBrace&&(r.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),r.push(this.translate(e,t))}};const oE=[3,5,6,7,8,9,10,11,12,13,14,15,16];function oT(){return oE.at(-1)}const ob=Symbol("espree's internal state"),oS=Symbol("espree's esprimaFinishNode");var ox=()=>e=>{let t=Object.assign({},e.acorn.tokTypes);return e.acornJsx&&Object.assign(t,e.acornJsx.tokTypes),class extends e{constructor(e,n){("object"!=typeof e||null===e)&&(e={}),"string"==typeof n||n instanceof String||(n=String(n));let r=e.sourceType,i=function(e){let t=function(e=5){let t="latest"===e?oT():e;if("number"!=typeof t)throw Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);if(t>=2015&&(t-=2009),!oE.includes(t))throw Error("Invalid ecmaVersion.");return t}(e.ecmaVersion),n=function(e="script"){if("script"===e||"module"===e)return e;if("commonjs"===e)return"script";throw Error("Invalid sourceType.")}(e.sourceType),r=!0===e.range,i=!0===e.loc;if(3!==t&&e.allowReserved)throw Error("`allowReserved` is only supported when ecmaVersion is 3");if(void 0!==e.allowReserved&&"boolean"!=typeof e.allowReserved)throw Error("`allowReserved`, when present, must be `true` or `false`");let o=3===t&&(e.allowReserved||"never"),s=e.ecmaFeatures||{},a="commonjs"===e.sourceType||!!s.globalReturn;if("module"===n&&t<6)throw Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},e,{ecmaVersion:t,sourceType:n,ranges:r,locations:i,allowReserved:o,allowReturnOutsideFunction:a})}(e),o=i.ecmaFeatures||{},s=!0===i.tokens?new oy(t,n):null,a={originalSourceType:r||i.sourceType,tokens:s?[]:null,comments:!0===i.comment?[]:null,impliedStrict:!0===o.impliedStrict&&i.ecmaVersion>=5,ecmaVersion:i.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:i.ecmaVersion,sourceType:i.sourceType,ranges:i.ranges,locations:i.locations,allowReserved:i.allowReserved,allowReturnOutsideFunction:i.allowReturnOutsideFunction,onToken(e){s&&s.onToken(e,a),e.type!==t.eof&&(a.lastToken=e)},onComment(e,t,r,i,o,s){if(a.comments){let l=function(e,t,n,r,i,o,s){let a,l={type:e?"Block":"#!"===s.slice(n,n+2)?"Hashbang":"Line",value:t};return"number"==typeof n&&(l.start=n,l.end=r,l.range=[n,r]),"object"==typeof i&&(l.loc={start:i,end:o}),l}(e,t,r,i,o,s,n);a.comments.push(l)}}},n),this[ob]=a}tokenize(){do this.next();while(this.type!==t.eof);this.next();let e=this[ob],n=e.tokens;return e.comments&&(n.comments=e.comments),n}finishNode(...e){let t=super.finishNode(...e);return this[oS](t)}finishNodeAt(...e){let t=super.finishNodeAt(...e);return this[oS](t)}parse(){let e=this[ob],t=super.parse();if(t.sourceType=e.originalSourceType,e.comments&&(t.comments=e.comments),e.tokens&&(t.tokens=e.tokens),t.body.length){let[e]=t.body;t.range&&(t.range[0]=e.range[0]),t.loc&&(t.loc.start=e.loc.start),t.start=e.start}return e.lastToken&&(t.range&&(t.range[1]=e.lastToken.range[1]),t.loc&&(t.loc.end=e.lastToken.loc.end),t.end=e.lastToken.end),this[ob].templateElements.forEach(e=>{let t=e.tail?1:2;e.start+=-1,e.end+=t,e.range&&(e.range[0]+=-1,e.range[1]+=t),e.loc&&(e.loc.start.column+=-1,e.loc.end.column+=t)}),t}parseTopLevel(e){return this[ob].impliedStrict&&(this.strict=!0),super.parseTopLevel(e)}raise(t,n){let r=e.acorn.getLineInfo(this.input,t),i=SyntaxError(n);throw i.index=t,i.lineNumber=r.line,i.column=r.column+1,i}raiseRecoverable(e,t){this.raise(e,t)}unexpected(e){let t="Unexpected token";if(null!=e){if(this.pos=e,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf("\n",this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(t+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,t)}jsx_readString(e){let n=super.jsx_readString(e);return this.type===t.string&&(this[ob].jsxAttrValueToken=!0),n}[oS](e){return"TemplateElement"===e.type&&this[ob].templateElements.push(e),e.type.includes("Function")&&!e.generator&&(e.generator=!1),e}}};const oP={_regular:null,_jsx:null,get regular(){return null===this._regular&&(this._regular=iS.extend(ox())),this._regular},get jsx(){return null===this._jsx&&(this._jsx=iS.extend(og(),ox())),this._jsx},get(e){return e&&e.ecmaFeatures&&e.ecmaFeatures.jsx?this.jsx:this.regular}};function ov(e,t){let n=oP.get(t);return t&&!0===t.tokens||(t=Object.assign({},t,{tokens:!0})),new n(t,e).tokenize()}let ok,o_={};for(ok in"function"==typeof Object.create&&(o_=Object.create(null)),rM)Object.hasOwn(rM,ok)&&(o_[ok]=ok);"function"==typeof Object.freeze&&Object.freeze(o_);const oA=oT(),oY=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,oC=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,ow=new Set(["\r\n","\r","\n","\u2028","\u2029"]),oL=/\r\n|[\r\n\u2028\u2029]/u,oI=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),oO=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,oD=/^(?:[^\\]|\\.)*\\(?:[1-9]|0\d)/su;function oV(){return RegExp(oL.source,"gu")}function oB(e){return!!(e&&oY.test(e.type))}function oN(e){let t;if(e)switch(e.type){case"ChainExpression":return oN(e.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":case"ImportAttribute":t=e.key;break;case"MemberExpression":t=e.property}if(t){if("Identifier"===t.type&&!("computed"in e&&e.computed))return t.name;var n=t;switch(n.type){case"Literal":if(null!==n.value||"Literal"===n.type&&null===n.value&&!("regex"in n)&&!("bigint"in n))return String(n.value);if("regex"in n&&n.regex)return`/${n.regex.pattern}/${n.regex.flags}`;if("bigint"in n&&n.bigint)return n.bigint;break;case"TemplateLiteral":if(0===n.expressions.length&&1===n.quasis.length)return n.quasis[0].value.cooked}}return null}function oj(e){return e&&"ChainExpression"===e.type?e.expression:e}function oM(e){return t=>!e(t)}function oR(e,t){let n=e.getTokenBefore(t),r=e.getTokenAfter(t);return!!n&&!!r&&"("===n.value&&n.range[1]<=t.range[0]&&")"===r.value&&r.range[0]>=t.range[1]}function oF(e){return"="===e.value&&"Punctuator"===e.type}function oU(e){return"=>"===e.value&&"Punctuator"===e.type}function oq(e){return","===e.value&&"Punctuator"===e.type}function oW(e){return"?."===e.value&&"Punctuator"===e.type}function oG(e){return";"===e.value&&"Punctuator"===e.type}function oH(e){return":"===e.value&&"Punctuator"===e.type}function o$(e){return"("===e.value&&"Punctuator"===e.type}function oK(e){return")"===e.value&&"Punctuator"===e.type}function oz(e){return"["===e.value&&"Punctuator"===e.type}function oJ(e){return"]"===e.value&&"Punctuator"===e.type}function oX(e){return"{"===e.value&&"Punctuator"===e.type}function oQ(e){return"}"===e.value&&"Punctuator"===e.type}function oZ(e){return!!e&&("Line"===e.type||"Block"===e.type||"Shebang"===e.type)}function o0(e){return"Keyword"===e.type}function o1(e){return"LogicalExpression"===e.type&&("&&"===e.operator||"||"===e.operator)}function o2(e){return"LogicalExpression"===e.type&&"??"===e.operator}function o3(e,t){return o1(e)&&o2(t)||o2(e)&&o1(t)}function o4(e,t){return"test"in e&&e.test?t.getTokenAfter(e.test,e=>oH(e)):t.getFirstToken(e,1)}function o6(e){if("ExpressionStatement"!==e.type)return!1;let t=e.parent;return"Program"===t.type||"BlockStatement"===t.type&&oB(t.parent)}function o5(e){return"ExpressionStatement"===e.type&&"string"==typeof e.directive}function o9(e,t){return e?.loc?.end.line===t?.loc?.start.line}const o8=oM(oK),o7=oM(oq),se=oM(oW),st=oM(o$),sn=oM(oG);function sr(e,t){return e[0]===t&&e[e.length-1]===t}function si(e){switch(e.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(e.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(e.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:if(e.type in rM)return 20;return -1}}function so(e){return"Literal"===e.type&&"number"==typeof e.value&&oO.test(e.raw)}function ss(e,{column:t,line:n}){return t<e.lines[n-1].length?{column:t+1,line:n}:n<e.lines.length?{column:0,line:n+1}:null}function sa(e,t){let n,r,i={comment:!0,ecmaVersion:oA,range:!0};if("string"==typeof e){let t;try{t=ov(e,i)}catch{return!1}let r=t.comments;if(n=t[t.length-1],r.length){let e=r[r.length-1];(!n||e.range[0]>n.range[0])&&(n=e)}}else n=e;if("Shebang"===n.type||"Hashbang"===n.type)return!1;if("string"==typeof t){let e;try{e=ov(t,i)}catch{return!1}let n=e.comments;if(r=e[0],n.length){let e=n[0];(!r||e.range[0]<r.range[0])&&(r=e)}}else r=t;if("Punctuator"===n.type||"Punctuator"===r.type){if("Punctuator"===n.type&&"Punctuator"===r.type){let e=new Set(["+","++"]),t=new Set(["-","--"]);return!(e.has(n.value)&&e.has(r.value)||t.has(n.value)&&t.has(r.value))}return"Punctuator"!==n.type||"/"!==n.value||!["Block","Line","RegularExpression"].includes(r.type)}return!!("String"===n.type||"String"===r.type||"Template"===n.type||"Template"===r.type||"Numeric"!==n.type&&"Numeric"===r.type&&r.value.startsWith("."))||"Block"===n.type||"Block"===r.type||"Line"===r.type||"PrivateIdentifier"===r.type}function sl(e,t,n=1){let r,i;if(null==e||null==e.parent||"CatchClause"===e.parent.type&&e.parent.param===e)return!1;r=i=e;do r=t.getTokenBefore(r),i=t.getTokenAfter(i);while(null!=r&&null!=i&&"Punctuator"===r.type&&"("===r.value&&"Punctuator"===i.type&&")"===i.value&&r!==function(e,t){let n=e.parent;if(!n)return null;switch(n.type){case"CallExpression":case"NewExpression":if(1===n.arguments.length&&n.arguments[0]===e)return t.getTokenAfter(n.callee,o$);return null;case"DoWhileStatement":if(n.test===e)return t.getTokenAfter(n.body,o$);return null;case"IfStatement":case"WhileStatement":if(n.test===e)return t.getFirstToken(n,1);return null;case"ImportExpression":if(n.source===e)return t.getFirstToken(n,1);return null;case"SwitchStatement":if(n.discriminant===e)return t.getFirstToken(n,1);return null;case"WithStatement":if(n.object===e)return t.getFirstToken(n,1);return null;default:return null}}(e,t)&&--n>0);return 0===n}function sc(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}function sp({name:e,package:t,create:n,defaultOptions:r=[],meta:i}){return{create:e=>{let t=Array.from({length:Math.max(e.options.length,r.length)},(t,n)=>sc(e.options[n])&&sc(r[n])?function e(t={},n={}){return Array.from(new Set(Object.keys(t).concat(Object.keys(n)))).reduce((r,i)=>{let o=i in t,s=i in n,a=t[i],l=n[i];return o&&s?sc(a)&&sc(l)?r[i]=e(a,l):r[i]=l:o?r[i]=a:r[i]=l,r},{})}(r[n],e.options[n]):e.options[n]??r[n]);return n(e,t)},defaultOptions:r,meta:{...i,docs:{...i.docs,url:`https://eslint.style/rules/${t}/${e}`}}}}const su=["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"];let sf=class{constructor(e,t){this.fixer=e,this.sourceCode=t,this.retainedRange=null}retainedRange;retainRange(e){return this.retainedRange=e,this}retainEnclosingFunction(e){let t=function(e){for(let t=e;t;t=t.parent)if(oY.test(t.type))return t;return null}(e);return this.retainRange(t?t.range:this.sourceCode.ast.range)}retainSurroundingTokens(e){let t=this.sourceCode.getTokenBefore(e)||e,n=this.sourceCode.getTokenAfter(e)||e;return this.retainRange([t.range[0],n.range[1]])}replaceTextRange(e,t){let n;return n=this.retainedRange?[Math.min(this.retainedRange[0],e[0]),Math.max(this.retainedRange[1],e[1])]:e,this.fixer.replaceTextRange(n,this.sourceCode.text.slice(n[0],e[0])+t+this.sourceCode.text.slice(e[1],n[1]))}remove(e){return this.replaceTextRange(e.range,"")}};var sd=sp({name:"array-bracket-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce linebreaks after opening and before closing array brackets"},fixable:"whitespace",schema:[{oneOf:[{type:"string",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(e){let t=e.sourceCode;function n(n){let r=n.elements,i=function(e){let t,n,r,i=(t=!1,n=!1,r=0,e?"consistent"===e?(t=!0,r=Number.POSITIVE_INFINITY):"always"===e||"string"!=typeof e&&0===e.minItems?r=0:"never"===e?r=Number.POSITIVE_INFINITY:(n=!!e.multiline,r=e.minItems||Number.POSITIVE_INFINITY):(t=!1,n=!0,r=Number.POSITIVE_INFINITY),{consistent:t,multiline:n,minItems:r});return{ArrayExpression:i,ArrayPattern:i}}(e.options[0])[n.type],o=t.getFirstToken(n),s=t.getLastToken(n),a=t.getTokenAfter(o,{includeComments:!0}),l=t.getTokenBefore(s,{includeComments:!0}),c=t.getTokenAfter(o),p=t.getTokenBefore(s);r.length>=i.minItems||i.multiline&&r.length>0&&a.loc.start.line!==l.loc.end.line||0===r.length&&"Block"===a.type&&a.loc.start.line!==l.loc.end.line&&a===l||i.consistent&&o.loc.end.line!==c.loc.start.line?(o9(o,c)&&e.report({node:n,loc:o.loc,messageId:"missingOpeningLinebreak",fix:e=>e.insertTextAfter(o,"\n")}),o9(p,s)&&e.report({node:n,loc:s.loc,messageId:"missingClosingLinebreak",fix:e=>e.insertTextBefore(s,"\n")})):(o9(o,c)||e.report({node:n,loc:o.loc,messageId:"unexpectedOpeningLinebreak",fix(e){let n=t.getTokenAfter(o,{includeComments:!0});return!n||oZ(n)?null:e.removeRange([o.range[1],n.range[0]])}}),o9(p,s)||e.report({node:n,loc:s.loc,messageId:"unexpectedClosingLinebreak",fix(e){let n=t.getTokenBefore(s,{includeComments:!0});return!n||oZ(n)?null:e.removeRange([n.range[1],s.range[0]])}}))}return{ArrayPattern:n,ArrayExpression:n}}}),sm=sp({name:"array-bracket-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing inside array brackets"},fixable:"whitespace",schema:[{type:"string",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(e){let t="always"===e.options[0],n=e.sourceCode;function r(n){return!!e.options[1]&&!t===e.options[1][n]}let i={spaced:t,singleElementException:r("singleValue"),objectsInArraysException:r("objectsInArrays"),arraysInArraysException:r("arraysInArrays")};function o(e){return e&&("ObjectExpression"===e.type||"ObjectPattern"===e.type)}function s(e){return e&&("ArrayExpression"===e.type||"ArrayPattern"===e.type)}function a(t){if(i.spaced&&0===t.elements.length)return;let r=n.getFirstToken(t),a=n.getFirstToken(t,1),l="ArrayPattern"===t.type&&t.typeAnnotation?n.getTokenBefore(t.typeAnnotation):n.getLastToken(t),c=n.getTokenBefore(l),p=t.elements[0],u=t.elements[t.elements.length-1],f=p&&i.objectsInArraysException&&o(p)||p&&i.arraysInArraysException&&s(p)||i.singleElementException&&1===t.elements.length?!i.spaced:i.spaced,d=u&&i.objectsInArraysException&&o(u)||u&&i.arraysInArraysException&&s(u)||i.singleElementException&&1===t.elements.length?!i.spaced:i.spaced;o9(r,a)&&(f&&!n.isSpaceBetween(r,a)&&e.report({node:t,loc:r.loc,messageId:"missingSpaceAfter",data:{tokenValue:r.value},fix:e=>e.insertTextAfter(r," ")}),!f&&n.isSpaceBetween(r,a)&&function(t,r){let i=n.getTokenAfter(r);e.report({node:t,loc:{start:r.loc.end,end:i.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:r.value},fix:e=>e.removeRange([r.range[1],i.range[0]])})}(t,r)),r!==c&&o9(c,l)&&(d&&!n.isSpaceBetween(c,l)&&e.report({node:t,loc:l.loc,messageId:"missingSpaceBefore",data:{tokenValue:l.value},fix:e=>e.insertTextBefore(l," ")}),!d&&n.isSpaceBetween(c,l)&&function(t,r){let i=n.getTokenBefore(r);e.report({node:t,loc:{start:i.loc.end,end:r.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:r.value},fix:e=>e.removeRange([i.range[1],r.range[0]])})}(t,l))}return{ArrayPattern:a,ArrayExpression:a}}}),sg=sp({name:"array-element-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce line breaks after each array element"},fixable:"whitespace",schema:{definitions:{basicConfig:{oneOf:[{type:"string",enum:["always","never","consistent"]},{type:"object",properties:{consistent:{type:"boolean"},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(e){let t=e.sourceCode;function n(e){let t,n=!1,r=!1,i=e||"always";return"always"===i||"object"==typeof i&&0===i.minItems?t=0:"never"===i?t=Number.POSITIVE_INFINITY:"consistent"===i?(n=!0,t=Number.POSITIVE_INFINITY):(n=!!i.consistent,r=!!i.multiline,t=i.minItems||Number.POSITIVE_INFINITY),{consistent:n,multiline:r,minItems:t}}function r(r){let i=r.elements,o=function(e){if(e&&(e.ArrayExpression||e.ArrayPattern)){let t,r;return e.ArrayExpression&&(t=n(e.ArrayExpression)),e.ArrayPattern&&(r=n(e.ArrayPattern)),{ArrayExpression:t,ArrayPattern:r}}let t=n(e);return{ArrayExpression:t,ArrayPattern:t}}(e.options[0])[r.type];if(!o)return;let s=!1;o.multiline&&(s=i.filter(e=>null!==e).some(e=>e.loc.start.line!==e.loc.end.line));let a=0;for(let e=0;e<r.elements.length;e++){let n=r.elements[e],o=i[e-1];if(0===e||null===n||null===o)continue;let s=t.getFirstTokenBetween(o,n,oq);!o9(t.getTokenBefore(s),t.getTokenAfter(s))&&a++}let l=i.length>=o.minItems||o.multiline&&s||o.consistent&&a>0&&a<r.elements.length;i.forEach((n,r)=>{let o=i[r-1];if(0===r||null===n||null===o)return;let s=t.getFirstTokenBetween(o,n,oq),a=t.getTokenBefore(s),c=t.getTokenAfter(s);l?o9(a,c)&&function(n){let r=t.getTokenBefore(n,{includeComments:!0});e.report({loc:{start:r.loc.end,end:n.loc.start},messageId:"missingLineBreak",fix:e=>e.replaceTextRange([r.range[1],n.range[0]],"\n")})}(c):o9(a,c)||function(n){let r=t.getTokenBefore(n,{includeComments:!0});e.report({loc:{start:r.loc.end,end:n.loc.start},messageId:"unexpectedLineBreak",fix(e){if(oZ(r))return null;if(!o9(r,n))return e.replaceTextRange([r.range[1],n.range[0]]," ");let i=t.getTokenBefore(r,{includeComments:!0});return oZ(i)?null:e.replaceTextRange([i.range[1],r.range[0]],"")}})}(c)})}return{ArrayPattern:r,ArrayExpression:r}}}),sh=sp({name:"arrow-parens",package:"js",meta:{type:"layout",docs:{description:"Require parentheses around arrow function arguments"},fixable:"code",schema:[{type:"string",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(e){let t="as-needed"===e.options[0],n=t&&e.options[1]&&!0===e.options[1].requireForBlockBody,r=e.sourceCode;function i(e){return r.getTokenAfter(e.params[0],oK)}return{"ArrowFunctionExpression[params.length=1]":function(o){let s=!t||n&&"BlockStatement"===o.body.type,a=function(e){let t=r.getTokenBefore(e.params[0]);return t&&o$(t)&&e.range[0]<=t.range[0]?t:null}(o),l=null!==a,[c]=o.params;s&&!l&&e.report({node:o,messageId:n?"expectedParensBlock":"expectedParens",loc:c.loc,*fix(e){yield e.insertTextBefore(c,"("),yield e.insertTextAfter(c,")")}}),s||!l||"Identifier"!==c.type||c.optional||c.typeAnnotation||o.returnType||r.commentsExistBetween(a,i(o))||function(e,t){let n=+!!e.async;return r.getFirstToken(e,{skip:n})!==t}(o,a)||e.report({node:o,messageId:n?"unexpectedParensInline":"unexpectedParens",loc:c.loc,*fix(e){let t=r.getTokenBefore(a),n=i(o);t&&t.range[1]===a.range[0]&&!sa(t,r.getFirstToken(c))&&(yield e.insertTextBefore(a," ")),yield e.removeRange([a.range[0],c.range[0]]),yield e.removeRange([c.range[1],n.range[1]])}})}}}}),sy=sp({name:"arrow-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after the arrow in arrow functions"},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(e){let t=Object.assign({},e.options[0]);t.before=!1!==t.before,t.after=!1!==t.after;let n=e.sourceCode;return{ArrowFunctionExpression:function(r){var i;let o=function(e){let t=n.getTokenBefore(e.body,oU);return{before:n.getTokenBefore(t),arrow:t,after:n.getTokenAfter(t)}}(r),s={before:(i=o).arrow.range[0]-i.before.range[1],after:i.after.range[0]-i.arrow.range[1]};t.before?0===s.before&&e.report({node:o.before,messageId:"expectedBefore",fix:e=>e.insertTextBefore(o.arrow," ")}):s.before>0&&e.report({node:o.before,messageId:"unexpectedBefore",fix:e=>e.removeRange([o.before.range[1],o.arrow.range[0]])}),t.after?0===s.after&&e.report({node:o.after,messageId:"expectedAfter",fix:e=>e.insertTextAfter(o.arrow," ")}):s.after>0&&e.report({node:o.after,messageId:"unexpectedAfter",fix:e=>e.removeRange([o.arrow.range[1],o.after.range[0]])})}}}}),sE=sp({name:"block-spacing",package:"js",meta:{type:"layout",docs:{description:"Disallow or enforce spaces inside of blocks after opening block and before closing block"},fixable:"whitespace",schema:[{type:"string",enum:["always","never"]}],messages:{missing:"Requires a space {{location}} '{{token}}'.",extra:"Unexpected space(s) {{location}} '{{token}}'."}},create(e){let t="never"!==e.options[0],n=t?"missing":"extra",r=e.sourceCode;function i(e,n){return!o9(e,n)||r.isSpaceBetween(e,n)===t}function o(o){var s;let a="SwitchStatement"===(s=o).type?s.cases.length>0?r.getTokenBefore(s.cases[0]):r.getLastToken(s,1):"StaticBlock"===s.type?r.getFirstToken(s,{skip:1}):r.getFirstToken(s),l=r.getLastToken(o),c=r.getTokenAfter(a,{includeComments:!0}),p=r.getTokenBefore(l,{includeComments:!0});if("Punctuator"===a.type&&"{"===a.value&&"Punctuator"===l.type&&"}"===l.value&&c!==l&&(t||"Line"!==c.type)){if(!i(a,c)){let r=a.loc;"extra"===n&&(r={start:a.loc.end,end:c.loc.start}),e.report({node:o,loc:r,messageId:n,data:{location:"after",token:a.value},fix:e=>t?e.insertTextBefore(c," "):e.removeRange([a.range[1],c.range[0]])})}if(!i(p,l)){let r=l.loc;"extra"===n&&(r={start:p.loc.end,end:l.loc.start}),e.report({node:o,loc:r,messageId:n,data:{location:"before",token:l.value},fix:e=>t?e.insertTextAfter(p," "):e.removeRange([p.range[1],l.range[0]])})}}}return{BlockStatement:o,StaticBlock:o,SwitchStatement:o}}}),sT=sp({name:"brace-style",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent brace style for blocks"},schema:[{type:"string",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(e){let t=e.options[0]||"1tbs",n=e.options[1]||{},r=e.sourceCode;function i(e,t){let n=[e.range[1],t.range[0]];return r.text.slice(n[0],n[1]).trim()?null:e=>e.replaceTextRange(n," ")}function o(o,s){let a=r.getTokenBefore(o),l=r.getTokenAfter(o),c=r.getTokenBefore(s),p=n.allowSingleLine&&o9(o,s);"allman"===t||o9(a,o)||e.report({node:o,messageId:"nextLineOpen",fix:i(a,o)}),"allman"===t&&o9(a,o)&&!p&&e.report({node:o,messageId:"sameLineOpen",fix:e=>e.insertTextBefore(o,"\n")}),o9(o,l)&&l!==s&&!p&&e.report({node:o,messageId:"blockSameLine",fix:e=>e.insertTextAfter(o,"\n")}),c!==o&&!p&&o9(c,s)&&e.report({node:s,messageId:"singleLineClose",fix:e=>e.insertTextBefore(s,"\n")})}function s(n){let o=r.getTokenAfter(n);"1tbs"!==t||o9(n,o)||e.report({node:n,messageId:"nextLineClose",fix:i(n,o)}),"1tbs"!==t&&o9(n,o)&&e.report({node:n,messageId:"sameLineClose",fix:e=>e.insertTextAfter(n,"\n")})}return{BlockStatement(e){oI.has(e.parent.type)||o(r.getFirstToken(e),r.getLastToken(e))},StaticBlock(e){o(r.getFirstToken(e,{skip:1}),r.getLastToken(e))},ClassBody(e){o(r.getFirstToken(e),r.getLastToken(e))},SwitchStatement(e){let t=r.getLastToken(e);o(r.getTokenBefore(e.cases.length?e.cases[0]:t),t)},IfStatement(e){"BlockStatement"===e.consequent.type&&e.alternate&&s(r.getLastToken(e.consequent))},TryStatement(e){s(r.getLastToken(e.block)),e.handler&&e.finalizer&&s(r.getLastToken(e.handler.body))}}}});const sb=Object.freeze({arrays:"never",objects:"never",imports:"never",exports:"never",functions:"never",importAttributes:"never",dynamicImports:"never"}),sS=["}","]",")",">"];var sx=sp({name:"comma-dangle",package:"js",meta:{type:"layout",docs:{description:"Require or disallow trailing commas"},fixable:"code",schema:{definitions:{value:{type:"string",enum:["always-multiline","always","never","only-multiline"]},valueWithIgnore:{type:"string",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"},importAttributes:{$ref:"#/definitions/valueWithIgnore"},dynamicImports:{$ref:"#/definitions/valueWithIgnore"}},additionalProperties:!1}]}],additionalItems:!1},messages:{unexpected:"Unexpected trailing comma.",missing:"Missing trailing comma."}},create(e){var t;let n=e?.languageOptions?.ecmaVersion??e.parserOptions.ecmaVersion,r=(t=e.options[0],"string"==typeof t?{arrays:t,objects:t,imports:t,exports:t,functions:n&&"latest"!==n&&n<2017?"ignore":t,importAttributes:t,dynamicImports:n&&"latest"!==n&&n<2025?"ignore":t}:"object"==typeof t&&null!==t?{arrays:t.arrays||sb.arrays,objects:t.objects||sb.objects,imports:t.imports||sb.imports,exports:t.exports||sb.exports,functions:t.functions||sb.functions,importAttributes:t.importAttributes||sb.importAttributes,dynamicImports:t.dynamicImports||sb.dynamicImports}:sb),i=e.sourceCode;function o(e){return e?e[e.length-1]??null:null}function s(e){switch(e.node.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":case"ImportExpression":return i.getLastToken(e.node,1);default:{let t=e.lastItem;if(!t)return null;let n=i.getTokenAfter(t);if(oq(n))return n;return i.getLastToken(t)}}}function a(e){if(!e.lastItem)return!1;let t=s(e);if(!t)return!1;let n=i.getTokenAfter(t);return!!n&&n.loc.end.line!==t.loc.end.line}function l(t){let n=t.lastItem;if(!n)return;let r=s(t);r&&oq(r)&&e.report({node:n,loc:r.loc,messageId:"unexpected",*fix(e){yield e.remove(r),yield e.insertTextBefore(i.getTokenBefore(r),""),yield e.insertTextAfter(i.getTokenAfter(r),"")}})}function c(t){let n=t.lastItem;if(!n)return;if("RestElement"===n.type)return void l(t);let r=s(t);if(!r||","===r.value)return;let o=i.getTokenAfter(r);o&&sS.includes(o.value)&&e.report({node:n,loc:{start:r.loc.end,end:ss(i,r.loc.end)},messageId:"missing",*fix(e){yield e.insertTextAfter(r,","),yield e.insertTextBefore(r,""),yield e.insertTextAfter(i.getTokenAfter(r),"")}})}let p={always:c,"always-multiline":function(e){a(e)?c(e):l(e)},"only-multiline":function(e){a(e)||l(e)},never:l,ignore(){}};return{ObjectExpression:e=>{p[r.objects]({node:e,lastItem:o(e.properties)})},ObjectPattern:e=>{p[r.objects]({node:e,lastItem:o(e.properties)})},ArrayExpression:e=>{p[r.arrays]({node:e,lastItem:o(e.elements)})},ArrayPattern:e=>{p[r.arrays]({node:e,lastItem:o(e.elements)})},ImportDeclaration:e=>{let t=o(e.specifiers);t?.type==="ImportSpecifier"&&p[r.imports]({node:e,lastItem:t}),p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},ExportNamedDeclaration:e=>{p[r.exports]({node:e,lastItem:o(e.specifiers)}),p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},ExportAllDeclaration:e=>{p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},FunctionDeclaration:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},FunctionExpression:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},ArrowFunctionExpression:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},CallExpression:e=>{p[r.functions]({node:e,lastItem:o(e.arguments)})},NewExpression:e=>{p[r.functions]({node:e,lastItem:o(e.arguments)})},ImportExpression:e=>{p[r.dynamicImports]({node:e,lastItem:e.options??e.source})}}}}),sP=sp({name:"comma-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after commas"},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(e){let t=e.sourceCode,n=t.tokensAndComments,r={before:!!e.options[0]&&e.options[0].before,after:!e.options[0]||e.options[0].after},i=[];function o(t,n,i){e.report({node:t,fix(e){let o,s;return r[n]?"before"===n?e.insertTextBefore(t," "):e.insertTextAfter(t," "):("before"===n?(o=i.range[1],s=t.range[0]):(o=t.range[1],s=i.range[0]),e.replaceTextRange([o,s],""))},messageId:r[n]?"missing":"unexpected",data:{loc:n}})}function s(e){let n=t.getFirstToken(e);e.elements.forEach(e=>{let r;null===e?oq(r=t.getTokenAfter(n))&&i.push(r):r=t.getTokenAfter(e),n=r})}return{"Program:exit":function(){n.forEach((e,s)=>{if(!oq(e))return;let a=n[s-1],l=n[s+1];a&&!oq(a)&&!i.includes(e)&&o9(a,e)&&r.before!==t.isSpaceBetween(a,e)&&o(e,"before",a),l&&!oq(l)&&!oK(l)&&!oJ(l)&&!oQ(l)&&!(!r.after&&"Line"===l.type)&&o9(e,l)&&r.after!==t.isSpaceBetween(e,l)&&o(e,"after",l)})},ArrayExpression:s,ArrayPattern:s}}}),sv=sp({name:"comma-style",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent comma style"},fixable:"code",schema:[{type:"string",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(e){let t=e.options[0]||"last",n=e.sourceCode,r={};if(2===e.options.length&&Object.prototype.hasOwnProperty.call(e.options[1],"exceptions")){e.options[1]??={exceptions:{}};let t=e.options[1].exceptions,n=Object.keys(t);for(let e=0;e<n.length;e++)r[n[e]]=t[n[e]]}function i(e,t,r,i){let o=n.text.slice(t.range[1],r.range[0])+n.text.slice(r.range[1],i.range[0]),s=[t.range[1],i.range[0]];return function(t){return t.replaceTextRange(s,function(e,t){switch(e){case"between":return`,${t.replace(oL,"")}`;case"first":return`${t},`;case"last":return`,${t}`;default:return""}}(e,o))}}function o(r,o){(function(e,t){if(0===t.length)return[];let r=t.filter(e=>!!e);if(0===r.length)return n.getTokens(e).filter(oq);let i=[],o=r[0],s=n.getTokenBefore(o);for(;s&&e.range[0]<=s.range[0];){if(oq(s))i.unshift(s);else if(st(s))break;s=n.getTokenBefore(s)}let a=null;for(let e of r){a&&i.push(...n.getTokensBetween(a,e).filter(oq));let t=n.getLastToken(e);t&&oq(t)&&i.push(t),a=e}let l=n.getTokenAfter(a);for(;l&&l.range[1]<=e.range[1];){if(oq(l))i.push(l);else if(o8(l))break;l=n.getTokenAfter(l)}return i})(r,o).forEach(r=>{let o=n.getTokenBefore(r),s=n.getTokenAfter(r);if(!(oz(o)||oq(o)&&oz(n.getTokenBefore(o,o7)))&&(!oq(s)||o9(r,s)))if(o9(r,s)&&o9(o,r));else if(o9(r,s)||o9(o,r))"first"!==t||o9(r,s)?"last"===t&&o9(r,s)&&e.report({node:r,messageId:"expectedCommaLast",fix:i(t,o,r,s)}):e.report({node:r,messageId:"expectedCommaFirst",fix:i(t,o,r,s)});else{let a=n.getCommentsAfter(r)[0],l=a&&"Block"===a.type&&o9(r,a)?t:"between";e.report({node:r,messageId:"unexpectedLineBeforeAndAfterComma",fix:i(l,o,r,s)})}})}let s={};return r.VariableDeclaration||(s.VariableDeclaration=e=>o(e,e.declarations)),r.ObjectExpression||(s.ObjectExpression=a),r.ObjectPattern||(s.ObjectPattern=a),r.ArrayExpression||(s.ArrayExpression=l),r.ArrayPattern||(s.ArrayPattern=l),r.FunctionDeclaration||(s.FunctionDeclaration=c),r.FunctionExpression||(s.FunctionExpression=c),r.ArrowFunctionExpression||(s.ArrowFunctionExpression=c),r.CallExpression||(s.CallExpression=p),r.ImportDeclaration||(s.ImportDeclaration=e=>{o(e,e.specifiers),u(e)}),r.NewExpression||(s.NewExpression=p),r.ExportAllDeclaration||(s.ExportAllDeclaration=u),r.ExportNamedDeclaration||(s.ExportNamedDeclaration=e=>{o(e,e.specifiers),u(e)}),r.ImportExpression||(s.ImportExpression=e=>{o(e,[e.source,e.options??null])}),r.SequenceExpression||(s.SequenceExpression=e=>o(e,e.expressions)),r.ClassDeclaration||(s.ClassDeclaration=f),r.ClassExpression||(s.ClassExpression=f),r.TSDeclareFunction||(s.TSDeclareFunction=c),r.TSFunctionType||(s.TSFunctionType=c),r.TSConstructorType||(s.TSConstructorType=c),r.TSEmptyBodyFunctionExpression||(s.TSEmptyBodyFunctionExpression=c),r.TSMethodSignature||(s.TSMethodSignature=c),r.TSCallSignatureDeclaration||(s.TSCallSignatureDeclaration=c),r.TSConstructSignatureDeclaration||(s.TSConstructSignatureDeclaration=c),r.TSTypeParameterDeclaration||(s.TSTypeParameterDeclaration=m),r.TSTypeParameterInstantiation||(s.TSTypeParameterInstantiation=m),r.TSEnumBody||(s.TSEnumBody=d),r.TSTypeLiteral||(s.TSTypeLiteral=d),r.TSIndexSignature||(s.TSIndexSignature=e=>o(e,e.parameters)),r.TSInterfaceDeclaration||(s.TSInterfaceDeclaration=e=>o(e,e.extends)),r.TSInterfaceBody||(s.TSInterfaceBody=e=>o(e,e.body)),r.TSTupleType||(s.TSTupleType=e=>o(e,e.elementTypes)),s;function a(e){o(e,e.properties)}function l(e){o(e,e.elements)}function c(e){o(e,e.params)}function p(e){o(e,e.arguments)}function u(e){e.attributes&&o(e,e.attributes)}function f(e){e.implements&&o(e,e.implements)}function d(e){o(e,e.members)}function m(e){o(e,e.params)}}}),sk=sp({name:"computed-property-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing inside computed property brackets"},fixable:"whitespace",schema:[{type:"string",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(e){let t=e.sourceCode,n="always"===e.options[0],r=!e.options[1]||e.options[1].enforceForClassMembers;function i(r){return function(i){if(!i.computed)return;let o=i[r],s=t.getTokenBefore(o,oz),a=t.getTokenAfter(s,{includeComments:!0}),l=t.getTokenAfter(o,oJ),c=t.getTokenBefore(l,{includeComments:!0});o9(s,a)&&(n?!t.isSpaceBetween(s,a)&&o9(s,a)&&e.report({node:i,loc:s.loc,messageId:"missingSpaceAfter",data:{tokenValue:s.value},fix:e=>e.insertTextAfter(s," ")}):t.isSpaceBetween(s,a)&&e.report({node:i,loc:{start:s.loc.end,end:a.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:s.value},fix:e=>e.removeRange([s.range[1],a.range[0]])})),o9(c,l)&&(n?!t.isSpaceBetween(c,l)&&o9(c,l)&&e.report({node:i,loc:l.loc,messageId:"missingSpaceBefore",data:{tokenValue:l.value},fix:e=>e.insertTextBefore(l," ")}):t.isSpaceBetween(c,l)&&e.report({node:i,loc:{start:c.loc.end,end:l.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:l.value},fix:e=>e.removeRange([c.range[1],l.range[0]])}))}}let o={Property:i("key"),MemberExpression:i("property")};return r&&(o.MethodDefinition=i("key"),o.PropertyDefinition=i("key")),o}}),s_=sp({name:"dot-location",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent newlines before and after dots"},schema:[{type:"string",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(e){let t=e.options[0],n="object"===t||!t,r=e.sourceCode;return{MemberExpression:function(t){"MemberExpression"!==t.type||t.computed||function(t){let i=t.property,o=r.getTokenBefore(i);if(n&&o){let n=r.getTokenBefore(o);n&&!o9(n,o)&&e.report({node:t,loc:o.loc,messageId:"expectedDotAfterObject",*fix(e){var t;o.value.startsWith(".")&&"Numeric"===(t=n).type&&oO.test(t.value)?yield e.insertTextAfter(n,` ${o.value}`):yield e.insertTextAfter(n,o.value),yield e.remove(o)}})}else!o9(o,i)&&o&&e.report({node:t,loc:o.loc,messageId:"expectedDotBeforeProperty",*fix(e){yield e.remove(o),yield e.insertTextBefore(i,o.value)}})}(t)}}}}),sA=sp({name:"eol-last",package:"js",meta:{type:"layout",docs:{description:"Require or disallow newline at the end of files"},fixable:"whitespace",schema:[{type:"string",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:e=>({Program:function(t){let n=e.sourceCode,r=n.getText(),i={column:n.lines[n.lines.length-1].length,line:n.lines.length},o=`\r
2
2
  `,s=r.endsWith("\n");if(!r.length)return;let a=e.options[0]||"always",l=!1;if("unix"===a&&(a="always"),"windows"===a&&(a="always",l=!0),"always"!==a||s){if("never"===a&&s){let r=n.lines[n.lines.length-2];e.report({node:t,loc:{start:{line:n.lines.length-1,column:r.length},end:{line:n.lines.length,column:0}},messageId:"unexpected",fix(e){let t=/(?:\r?\n)+$/u.exec(n.text).index,r=n.text.length;return e.replaceTextRange([t,r],"")}})}}else e.report({node:t,loc:i,messageId:"missing",fix:e=>e.insertTextAfterRange([0,r.length],l?o:"\n")})}})}),sY=sp({name:"function-call-argument-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce line breaks between arguments of a function call"},fixable:"whitespace",schema:[{type:"string",enum:["always","never","consistent"]}],messages:{unexpectedLineBreak:"There should be no line break here.",missingLineBreak:"There should be a line break after this argument."}},create(e){let t=e.sourceCode,n={unexpected:{messageId:"unexpectedLineBreak",check:(e,t)=>e.loc.end.line!==t.loc.start.line,createFix:(e,t)=>n=>n.replaceTextRange([t.range[1],e.range[0]]," ")},missing:{messageId:"missingLineBreak",check:(e,t)=>e.loc.end.line===t.loc.start.line,createFix:(e,t)=>n=>n.replaceTextRange([t.range[1],e.range[0]],"\n")}};function r(n,r){for(let i=1;i<n.length;i++){let o=n[i-1],s=t.getLastToken(o),a=t.getFirstToken(n[i]);if(r.check(s,a)){let o=t.getTokenBefore(a,{includeComments:!0}),s="Line"===o.type;e.report({node:n[i-1],loc:{start:o.loc.end,end:a.loc.start},messageId:r.messageId,fix:s?null:r.createFix(a,o)})}}}function i(i){if(i.length<2)return;let o=e.options[0]||"always";if("never"===o)r(i,n.unexpected);else if("always"===o)r(i,n.missing);else if("consistent"===o){let e=t.getLastToken(i[0]),o=t.getFirstToken(i[1]);e?.loc.end.line===o?.loc.start.line?r(i,n.unexpected):r(i,n.missing)}}return{CallExpression:e=>i(e.arguments),NewExpression:e=>i(e.arguments),ImportExpression:e=>{e.options&&i([e.source,e.options])}}}}),sC=sp({name:"function-call-spacing",package:"js",meta:{type:"layout",docs:{description:"Require or disallow spacing between function identifiers and their invocations"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{type:"string",enum:["never"]}],minItems:0,maxItems:1},{type:"array",items:[{type:"string",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(e){let t="always"!==e.options[0],n=!t&&e.options[1]&&e.options[1].allowNewlines,r=e.sourceCode,i=r.getText();function o(o,s,a){let l=i.slice(s.range[1],a.range[0]).replace(/\/\*.*?\*\//gu,""),c=/\s/u.test(l),p=c&&oL.test(l);t&&c?e.report({node:o,loc:{start:s.loc.end,end:{line:a.loc.start.line,column:a.loc.start.column-1}},messageId:"unexpectedWhitespace",fix:e=>r.commentsExistBetween(s,a)?null:"optional"in o&&o.optional?e.replaceTextRange([s.range[1],a.range[0]],"?."):p?null:e.removeRange([s.range[1],a.range[0]])}):t||c?t||n||!p||e.report({node:o,loc:{start:s.loc.end,end:a.loc.start},messageId:"unexpectedNewline",fix(e){if(!("optional"in o)||!o.optional||r.commentsExistBetween(s,a))return null;let t=[s.range[1],a.range[0]],n=r.getTokenAfter(s);return n.range[0]===s.range[1]?e.replaceTextRange(t,"?. "):n.range[1]===a.range[0]?e.replaceTextRange(t," ?."):e.replaceTextRange(t," ?. ")}}):e.report({node:o,loc:{start:{line:s.loc.end.line,column:s.loc.end.column-1},end:a.loc.start},messageId:"missing",fix:e=>"optional"in o&&o.optional?null:e.insertTextBefore(a," ")})}return{"CallExpression, NewExpression":function(e){let t=r.getLastToken(e),n=r.getLastToken(e.callee),i=r.getFirstTokenBetween(n,t,o$),s=i&&r.getTokenBefore(i,se);i&&i.range[1]<e.range[1]&&o(e,s,i)},ImportExpression(e){let t=r.getFirstToken(e),n=r.getTokenAfter(t);o(e,t,n)}}}}),sw=sp({name:"function-paren-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent line breaks inside function parentheses"},fixable:"whitespace",schema:[{oneOf:[{type:"string",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(e){let t,n=e.sourceCode,r=e.options[0]||"multiline",i="multiline"===r,o="multiline-arguments"===r,s="consistent"===r;function a(e,n){return o&&1===e.length?n:i||o?e.some((t,n)=>n!==e.length-1&&t.loc.end.line!==e[n+1].loc.start.line):s?n:null==t||e.length>=t}return"object"==typeof r?t=r.minItems:"always"===r?t=0:"never"===r&&(t=1/0),{"ArrowFunctionExpression, CallExpression, FunctionDeclaration, FunctionExpression, ImportExpression, NewExpression"(t){let r,i=function(e){let t=()=>{let e=0;return t=>("Punctuator"===t.type&&"<"===t.value&&(e+=1),"Punctuator"===t.type&&">"===t.value&&(e-=1),0===e&&o$(t))};switch(e.type){case"NewExpression":if(!e.arguments.length&&!(o$(n.getLastToken(e,{skip:1}))&&oK(n.getLastToken(e))&&e.callee.range[1]<e.range[1]))return null;case"CallExpression":return{leftParen:n.getTokenAfter(e.callee,t()),rightParen:n.getLastToken(e)};case"FunctionDeclaration":case"FunctionExpression":{let r=n.getFirstToken(e,t()),i=e.params.length?n.getTokenAfter(e.params[e.params.length-1],oK):n.getTokenAfter(r);return{leftParen:r,rightParen:i}}case"ArrowFunctionExpression":{let t=n.getFirstToken(e,{skip:+!!e.async});if(!o$(t))return null;let r=e.params.length?n.getTokenAfter(e.params[e.params.length-1],oK):n.getTokenAfter(t);return{leftParen:t,rightParen:r}}case"ImportExpression":return{leftParen:n.getFirstToken(e,1),rightParen:n.getLastToken(e)};default:throw TypeError(`unexpected node with type ${e.type}`)}}(t);r="ImportExpression"===t.type?[t.source,...t.options?[t.options]:[]]:oB(t)?t.params:t.arguments,i&&(!function(t,r){let i=t.leftParen,o=t.rightParen,s=n.getTokenAfter(i),l=n.getTokenBefore(o),c=!o9(i,s),p=!o9(l,o),u=a(r,c);c&&!u?e.report({node:i,messageId:"unexpectedAfter",fix:e=>n.getText().slice(i.range[1],s.range[0]).trim()?null:e.removeRange([i.range[1],s.range[0]])}):!c&&u&&e.report({node:i,messageId:"expectedAfter",fix:e=>e.insertTextAfter(i,"\n")}),p&&!u?e.report({node:o,messageId:"unexpectedBefore",fix:e=>n.getText().slice(l.range[1],o.range[0]).trim()?null:e.removeRange([l.range[1],o.range[0]])}):!p&&u&&e.report({node:o,messageId:"expectedBefore",fix:e=>e.insertTextBefore(o,"\n")})}(i,r),o&&function(t,r){let i=t.leftParen,o=n.getTokenAfter(i),s=a(r,!o9(i,o));for(let t=0;t<=r.length-2;t++){let n=r[t],i=r[t+1];n.loc.end.line===i.loc.start.line&&s&&e.report({node:n,messageId:"expectedBetween",fix:e=>e.insertTextBefore(i,"\n")})}}(i,r))}}}});const sL={oneOf:[{type:"string",enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]};var sI=sp({name:"generator-star-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing around `*` operators in generator functions"},fixable:"whitespace",schema:[{oneOf:[{type:"string",enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"},named:sL,anonymous:sL,method:sL},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(e){let t={before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}};function n(e,n){return e?"string"==typeof e?t[e]:Object.assign({},n,e):n}let r=function(e){let r=n(e,t.before);return{named:n(e.named,r),anonymous:n(e.anonymous,r),method:n(e.method,r)}}(e.options[0]||{}),i=e.sourceCode;function o(e){return"*"===e.value&&"Punctuator"===e.type}function s(t,n,i,o){if(!!(o.range[0]-i.range[1])!==r[t][n]){let s="*"===i.value,a=r[t][n],l=s?i:o,c=`${a?"missing":"unexpected"}${n[0].toUpperCase()+n.slice(1)}`;e.report({node:l,messageId:c,fix:e=>a?s?e.insertTextAfter(l," "):e.insertTextBefore(l," "):e.removeRange([i.range[1],o.range[0]])})}}function a(e){if(!e.generator)return;let t=i.getFirstToken("method"in e.parent&&e.parent.method||"MethodDefinition"===e.parent.type?e.parent:e,o),n=i.getTokenBefore(t),r=i.getTokenAfter(t),a="named";"MethodDefinition"===e.parent.type||"Property"===e.parent.type&&e.parent.method?a="method":e.id||(a="anonymous"),("method"!==a||t!==i.getFirstToken(e.parent))&&s(a,"before",n,t),s(a,"after",t,r)}return{FunctionDeclaration:a,FunctionExpression:a}}}),sO=sp({name:"implicit-arrow-linebreak",package:"js",meta:{type:"layout",docs:{description:"Enforce the location of arrow function bodies"},fixable:"whitespace",schema:[{type:"string",enum:["beside","below"]}],messages:{expected:"Expected a linebreak before this expression.",unexpected:"Expected no linebreak before this expression."}},create(e){let t=e.sourceCode,n=e.options[0]||"beside";return{ArrowFunctionExpression:r=>(function(r){if("BlockStatement"===r.body.type)return;let i=t.getTokenBefore(r.body,st),o=t.getTokenAfter(i);i.loc.end.line===o.loc.start.line&&"below"===n?e.report({node:o,messageId:"expected",fix:e=>e.insertTextBefore(o,"\n")}):i.loc.end.line!==o.loc.start.line&&"beside"===n&&e.report({node:o,messageId:"unexpected",fix:e=>t.getFirstTokenBetween(i,o,{includeComments:!0,filter:oZ})?null:e.replaceTextRange([i.range[1],o.range[0]]," ")})})(r)}}});const sD=new Set(["AssignmentExpression","AssignmentPattern","ArrayExpression","ArrayPattern","ArrowFunctionExpression","AwaitExpression","BlockStatement","BinaryExpression","BreakStatement","CallExpression","CatchClause","ChainExpression","ClassBody","ClassDeclaration","ClassExpression","ConditionalExpression","ContinueStatement","DoWhileStatement","DebuggerStatement","EmptyStatement","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","ImportAttribute"]);let sV=class{_values;constructor(e){this._values=Array(e+1)}insert(e,t){this._values[e]=t}findLastNotAfter(e){let t=this._values;for(let n=e;n>=0;n--){let e=t[n];if(e)return e}}deleteRange(e,t){this._values.fill(void 0,e,t)}},sB=class{sourceCode;firstTokensByLineNumber;constructor(e){this.sourceCode=e,this.firstTokensByLineNumber=new Map;let t=e.tokensAndComments;for(let n=0;n<t.length;n++){let r=t[n];this.firstTokensByLineNumber.has(r.loc.start.line)||this.firstTokensByLineNumber.set(r.loc.start.line,r),!this.firstTokensByLineNumber.has(r.loc.end.line)&&e.text.slice(r.range[1]-r.loc.end.column,r.range[1]).trim()&&this.firstTokensByLineNumber.set(r.loc.end.line,r)}}getFirstTokenOfLine(e){return this.firstTokensByLineNumber.get(e.loc.start.line)}isFirstTokenOfLine(e){return this.getFirstTokenOfLine(e)===e}getTokenIndent(e){return this.sourceCode.text.slice(e.range[0]-e.loc.start.column,e.range[0])}},sN=class{_tokenInfo;_indentSize;_indentType;_indexMap;_lockedFirstTokens=new WeakMap;_desiredIndentCache=new WeakMap;_ignoredTokens=new WeakSet;constructor(e,t,n,r){this._tokenInfo=e,this._indentSize=t,this._indentType=n,this._indexMap=new sV(r),this._indexMap.insert(0,{offset:0,from:null,force:!1})}_getOffsetDescriptor(e){return this._indexMap.findLastNotAfter(e.range[0])}matchOffsetOf(e,t){this._lockedFirstTokens.set(t,e)}setDesiredOffset(e,t,n){e&&this.setDesiredOffsets(e.range,t,n)}setDesiredOffsets(e,t,n,r=!1){let i={offset:n,from:t,force:r},o=this._indexMap.findLastNotAfter(e[1]),s=t&&t.range[0]>=e[0]&&t.range[1]<=e[1],a=s&&this._getOffsetDescriptor(t);this._indexMap.deleteRange(e[0]+1,e[1]),this._indexMap.insert(e[0],i),s&&(this._indexMap.insert(t.range[0],a),this._indexMap.insert(t.range[1],i)),this._indexMap.insert(e[1],o)}getDesiredIndent(e){if(!this._desiredIndentCache.has(e))if(this._ignoredTokens.has(e))this._desiredIndentCache.set(e,this._tokenInfo.getTokenIndent(e));else if(this._lockedFirstTokens.has(e)){let t=this._lockedFirstTokens.get(e);this._desiredIndentCache.set(e,this.getDesiredIndent(this._tokenInfo.getFirstTokenOfLine(t))+this._indentType.repeat(t.loc.start.column-this._tokenInfo.getFirstTokenOfLine(t).loc.start.column))}else{let t=this._getOffsetDescriptor(e),n=!t.from||t.from.loc.start.line!==e.loc.start.line||/^\s*?\n/u.test(e.value)||t.force?t.offset*this._indentSize:0;this._desiredIndentCache.set(e,(t.from?this.getDesiredIndent(t.from):"")+this._indentType.repeat(n))}return this._desiredIndentCache.get(e)}ignoreToken(e){this._tokenInfo.isFirstTokenOfLine(e)&&this._ignoredTokens.add(e)}getFirstDependency(e){return this._getOffsetDescriptor(e).from}};const sj={oneOf:[{type:"integer",minimum:0},{type:"string",enum:["first","off"]}]};var sM=sp({name:"indent",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent indentation"},fixable:"whitespace",schema:[{oneOf:[{type:"string",enum:["tab"]},{type:"integer",minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0,default:0},VariableDeclarator:{oneOf:[sj,{type:"object",properties:{var:sj,let:sj,const:sj},additionalProperties:!1}]},outerIIFEBody:{oneOf:[{type:"integer",minimum:0},{type:"string",enum:["off"]}]},MemberExpression:{oneOf:[{type:"integer",minimum:0},{type:"string",enum:["off"]}]},FunctionDeclaration:{type:"object",properties:{parameters:sj,body:{type:"integer",minimum:0}},additionalProperties:!1},FunctionExpression:{type:"object",properties:{parameters:sj,body:{type:"integer",minimum:0}},additionalProperties:!1},StaticBlock:{type:"object",properties:{body:{type:"integer",minimum:0}},additionalProperties:!1},CallExpression:{type:"object",properties:{arguments:sj},additionalProperties:!1},ArrayExpression:sj,ObjectExpression:sj,ImportDeclaration:sj,flatTernaryExpressions:{type:"boolean",default:!1},offsetTernaryExpressions:{type:"boolean",default:!1},offsetTernaryExpressionsOffsetCallExpressions:{type:"boolean",default:!0},ignoredNodes:{type:"array",items:{type:"string",not:{pattern:":exit$"}}},ignoreComments:{type:"boolean",default:!1},tabLength:{type:"number",default:4}},additionalProperties:!1}],messages:{wrongIndentation:"Expected indentation of {{expected}} but found {{actual}}."}},create(e){let t="space",n=4,r={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,offsetTernaryExpressions:!1,offsetTernaryExpressionsOffsetCallExpressions:!0,tabLength:4};if(e.options.length){"tab"===e.options[0]?(n=1,t="tab"):(n=e.options[0]??n,t="space");let i=e.options[1];i&&(Object.assign(r,i),("number"==typeof i.VariableDeclarator||"first"===i.VariableDeclarator)&&(r.VariableDeclarator={var:i.VariableDeclarator,let:i.VariableDeclarator,const:i.VariableDeclarator}))}let i=e.sourceCode,o=new sB(i),s=new sN(o,n,"space"===t?" ":" ",i.text.length),a=new WeakSet;function l(e,n,r){let i,o=`space${1===n?"":"s"}`,s=`tab${1===r?"":"s"}`;return{expected:`${e} ${t}${1===e?"":"s"}`,actual:n>0?"space"===t?n:`${n} ${o}`:r>0?"tab"===t?r:`${r} ${s}`:"0"}}function c(e,t){return o.getTokenIndent(e)===t}function p(e,t,n,r){function a(e){let n=i.getTokenBefore(e);for(;o$(n)&&n!==t;)n=i.getTokenBefore(n);return i.getTokenAfter(n)}s.setDesiredOffsets([t.range[1],n.range[0]],t,"number"==typeof r?r:1),s.setDesiredOffset(n,t,0),("first"!==r||!e.length||e[0])&&e.forEach((n,l)=>{if(n&&("off"===r&&s.ignoreToken(a(n)),0!==l))if("first"===r&&o.isFirstTokenOfLine(a(n)))s.matchOffsetOf(a(e[0]),a(n));else{let r=e[l-1],o=r&&a(r),c=r&&i.getLastToken(r);r&&c.loc.end.line-function(e){let t=e.match(/\s*$/u)[0].match(oV());return null===t?0:t.length}(c.value)>t.loc.end.line&&s.setDesiredOffsets([r.range[1],n.range[1]],o,0)}})}function u(e){if("BlockStatement"!==e.type){let t=i.getTokenBefore(e,st),n=i.getFirstToken(e),r=i.getLastToken(e);for(;o$(i.getTokenBefore(n))&&oK(i.getTokenAfter(r));)n=i.getTokenBefore(n),r=i.getTokenAfter(r);s.setDesiredOffsets([n.range[0],r.range[1]],t,1)}}function f(e){let t;t=e.arguments.length?i.getFirstTokenBetween(e.callee,e.arguments[0],o$):i.getLastToken(e,1);let n=i.getLastToken(e);if(a.add(t),a.add(n),"optional"in e&&e.optional){let n=i.getTokenAfter(e.callee,oW),r=i.getTokensBetween(e.callee,n,{filter:oK}).length,o=r?i.getTokenBefore(e.callee,{skip:r-1}):i.getFirstToken(e.callee),a=i.getTokenBefore(n),l=a.loc.end.line===t.loc.start.line?a:o;s.setDesiredOffset(n,l,1)}let o="TaggedTemplateExpression"===e.callee.type?i.getFirstToken(e.callee.quasi):e.typeArguments??t,l=i.getTokenBefore(o);s.setDesiredOffset(t,l,0),p(e.arguments,t,n,r.CallExpression.arguments)}function d(e){let t=new Set(i.getTokens(e,{includeComments:!0}));t.forEach(e=>{if(!t.has(s.getFirstDependency(e))){let t=o.getFirstTokenOfLine(e);e===t?s.ignoreToken(e):s.setDesiredOffset(e,t,0)}})}function m(e,t){let n=e.loc.end.line,r=t.loc.start.line;if(n===r||n===r-1)return!1;for(let e=n+1;e<r;++e)if(!o.firstTokensByLineNumber.has(e))return!0;return!1}let g=new Set,h=[],y={};for(let[e,o]of Object.entries({"ArrayExpression, ArrayPattern":function(e){let t=i.getFirstToken(e),n=i.getTokenAfter([...e.elements].reverse().find(e=>e)||t,oJ);p(e.elements,t,n,r.ArrayExpression)},"ObjectExpression, ObjectPattern":function(e){let t=i.getFirstToken(e,oX),n=i.getTokenAfter(e.properties.length?e.properties[e.properties.length-1]:t,oQ);p(e.properties,t,n,r.ObjectExpression)},ArrowFunctionExpression(e){let t=i.getFirstToken(e,{skip:+!!e.async});if(o$(t)){let n=i.getTokenBefore(e.body,oK);a.add(t),a.add(n),p(e.params,t,n,r.FunctionExpression.parameters)}u(e.body)},AssignmentExpression(e){let t=i.getFirstTokenBetween(e.left,e.right,t=>t.value===e.operator);s.setDesiredOffsets([t.range[0],e.range[1]],i.getLastToken(e.left),1),s.ignoreToken(t),s.ignoreToken(i.getTokenAfter(t))},"BinaryExpression, LogicalExpression":function(e){let t=i.getFirstTokenBetween(e.left,e.right,t=>t.value===e.operator),n=i.getTokenAfter(t);s.ignoreToken(t),s.ignoreToken(n),s.setDesiredOffset(n,t,0)},"BlockStatement, ClassBody":function(e){let t;t=e.parent&&function(e){if(!e.parent||"CallExpression"!==e.parent.type||e.parent.callee!==e)return!1;let t=e.parent&&e.parent.parent;for(;"UnaryExpression"===t.type&&["!","~","+","-"].includes(t.operator)||"AssignmentExpression"===t.type||"LogicalExpression"===t.type||"SequenceExpression"===t.type||"VariableDeclarator"===t.type;)t=t.parent;return("ExpressionStatement"===t.type||"VariableDeclaration"===t.type)&&"Program"===t.parent.type}(e.parent)?r.outerIIFEBody:e.parent&&("FunctionExpression"===e.parent.type||"ArrowFunctionExpression"===e.parent.type)?r.FunctionExpression.body:e.parent&&"FunctionDeclaration"===e.parent.type?r.FunctionDeclaration.body:1,oI.has(e.parent.type)||s.setDesiredOffset(i.getFirstToken(e),i.getFirstToken(e.parent),0),p(e.body,i.getFirstToken(e),i.getLastToken(e),t)},CallExpression:f,"ClassDeclaration[superClass], ClassExpression[superClass]":function(e){if(!e.superClass)return;let t=i.getFirstToken(e),n=i.getTokenBefore(e.superClass,st);s.setDesiredOffsets([n.range[0],e.body.range[0]],t,1)},ConditionalExpression(e){let t=i.getFirstToken(e);if(!r.flatTernaryExpressions||!o9(e.test,e.consequent)||function(e,t){let n=t;for(;n.parent&&!n.parent.type.endsWith("Statement")&&!n.parent.type.endsWith("Declaration");)n=n.parent;return!(n=n.parent)||n.loc.start.line===e.loc.start.line}(t,e)){let n=i.getFirstTokenBetween(e.test,e.consequent,e=>"Punctuator"===e.type&&"?"===e.value),o=i.getFirstTokenBetween(e.consequent,e.alternate,e=>"Punctuator"===e.type&&":"===e.value),a=i.getTokenAfter(n),l=i.getTokenBefore(o),c=i.getTokenAfter(o);s.setDesiredOffset(n,t,1),s.setDesiredOffset(o,t,1);let p=1;if(r.offsetTernaryExpressions&&("Punctuator"===a.type&&(p=2),r.offsetTernaryExpressionsOffsetCallExpressions&&"CallExpression"===e.consequent.type&&(p=2)),s.setDesiredOffset(a,t,p),l.loc.end.line===c.loc.start.line)s.setDesiredOffset(c,a,0);else{let n=1;r.offsetTernaryExpressions&&("Punctuator"===c.type&&(n=2),r.offsetTernaryExpressionsOffsetCallExpressions&&"CallExpression"===e.alternate.type&&(n=2)),s.setDesiredOffset(c,t,n)}}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement, WithStatement":function(e){u(e.body)},ExportNamedDeclaration(e){if(null===e.declaration){let t=e.source?i.getTokenBefore(e.source,oQ):i.getLastToken(e,oQ);if(p(e.specifiers,i.getFirstToken(e,{skip:1}),t,1),e.source){let n=i.getTokenAfter(t,e=>"Identifier"===e.type&&"from"===e.value),r=i.getLastToken(e,sn);s.setDesiredOffsets([n.range[0],r.range[1]],i.getFirstToken(e),1);let o=i.getLastToken(e,oQ);if(o&&e.source.range[1]<o.range[0]){let t=i.getTokenAfter(e.source,oX);p(e.attributes,t,o,1)}}}},ExportAllDeclaration(e){let t=i.getTokenAfter(e.exported||i.getFirstToken(e),e=>"Identifier"===e.type&&"from"===e.value),n=i.getLastToken(e,sn);s.setDesiredOffsets([t.range[0],n.range[1]],i.getFirstToken(e),1);let r=i.getLastToken(e,oQ);if(r&&e.source.range[1]<r.range[0]){let t=i.getTokenAfter(e.source,oX);p(e.attributes,t,r,1)}},ForStatement(e){let t=i.getFirstToken(e,1);e.init&&s.setDesiredOffsets(e.init.range,t,1),e.test&&s.setDesiredOffsets(e.test.range,t,1),e.update&&s.setDesiredOffsets(e.update.range,t,1),u(e.body)},"FunctionDeclaration, FunctionExpression":function(e){let t=i.getTokenBefore(e.body),n=i.getTokenBefore(e.params.length?e.params[0].decorators?.length?e.params[0].decorators[0]:e.params[0]:t,{filter:o$});a.add(n),a.add(t),p(e.params,n,t,r[e.type].parameters)},IfStatement(e){u(e.consequent),e.alternate&&u(e.alternate)},":matches(DoWhileStatement, ForStatement, ForInStatement, ForOfStatement, IfStatement, WhileStatement, WithStatement):exit":function(e){let t;for(let n of("IfStatement"===e.type?(t=[e.consequent],e.alternate&&t.push(e.alternate)):t=[e.body],t)){let t=i.getLastToken(n);if(oG(t)){let n=i.getTokenBefore(t),r=i.getTokenAfter(t);!o9(n,t)&&r&&o9(t,r)&&s.setDesiredOffset(t,i.getFirstToken(e),0)}}},ImportDeclaration(e){if(e.specifiers.some(e=>"ImportSpecifier"===e.type)){let t=i.getFirstToken(e,oX),n=i.getTokenBefore(e.source,oQ);p(e.specifiers.filter(e=>"ImportSpecifier"===e.type),t,n,r.ImportDeclaration)}let t=e.specifiers.length?i.getTokenAfter(e.specifiers[e.specifiers.length-1],e=>"Identifier"===e.type&&"from"===e.value):i.getFirstToken(e,e=>"Identifier"===e.type&&"from"===e.value),n=i.getLastToken(e,sn);t&&s.setDesiredOffsets([t.range[0],n.range[1]],i.getFirstToken(e),1);let o=i.getLastToken(e,oQ);if(o&&e.source.range[1]<o.range[0]){let r=i.getTokenAfter(e.source,oX);if(!t){let t=i.getTokenBefore(r,e=>"with"===e.value);s.setDesiredOffsets([t.range[0],n.range[1]],i.getFirstToken(e),1)}p(e.attributes,r,o,1)}},ImportExpression(e){let t=i.getFirstToken(e,1),n=i.getLastToken(e);a.add(t),a.add(n),s.setDesiredOffset(t,i.getTokenBefore(t),0),p([e.source],t,n,r.CallExpression.arguments)},"MemberExpression, JSXMemberExpression, MetaProperty":function(e){let t="MetaProperty"===e.type?e.meta:e.object,n=i.getFirstTokenBetween(t,e.property,o8),o=i.getTokenAfter(n),a=i.getTokensBetween(t,e.property,{filter:oK}).length,l=a?i.getTokenBefore(t,{skip:a-1}):i.getFirstToken(t),c=i.getTokenBefore(n),p="computed"in e&&e.computed?n:o;"computed"in e&&e.computed&&(s.setDesiredOffset(i.getLastToken(e),n,0),s.setDesiredOffsets(e.property.range,n,1));let u=c.loc.end.line===p.loc.start.line?c:l;"number"==typeof r.MemberExpression?(s.setDesiredOffset(n,u,r.MemberExpression),s.setDesiredOffset(o,"computed"in e&&e.computed?n:u,r.MemberExpression)):(s.ignoreToken(n),s.ignoreToken(o),s.setDesiredOffset(n,u,0),s.setDesiredOffset(o,n,0))},NewExpression(e){(e.arguments.length>0||oK(i.getLastToken(e))&&o$(i.getLastToken(e,1)))&&f(e)},Property(e){if(!e.shorthand&&!e.method&&"init"===e.kind){let t=i.getFirstTokenBetween(e.key,e.value,oH);s.ignoreToken(i.getTokenAfter(t))}},PropertyDefinition(e){let t=i.getFirstToken(e),n=i.getLastToken(e),r=null;if(e.computed){let n=i.getTokenBefore(e.key,oz),o=r=i.getTokenAfter(e.key,oJ),a=[n.range[1],o.range[0]];n!==t&&s.setDesiredOffset(n,t,0),s.setDesiredOffsets(a,n,1),s.setDesiredOffset(o,n,0)}else{let n=r=i.getFirstToken(e.key);e.decorators?.length||n===t||s.setDesiredOffset(n,t,1)}if(e.value){let t=i.getTokenBefore(e.value,oF),o=i.getTokenAfter(t);s.setDesiredOffset(t,r,1),s.setDesiredOffset(o,t,1),oG(n)&&s.setDesiredOffset(n,t,1)}else oG(n)&&s.setDesiredOffset(n,r,1)},StaticBlock(e){let t=i.getFirstToken(e,{skip:1}),n=i.getLastToken(e);p(e.body,t,n,r.StaticBlock.body)},SwitchStatement(e){let t=i.getTokenAfter(e.discriminant,oX),n=i.getLastToken(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,r.SwitchCase),e.cases.length&&i.getTokensBetween(e.cases[e.cases.length-1],n,{includeComments:!0,filter:oZ}).forEach(e=>s.ignoreToken(e))},SwitchCase(e){if(1!==e.consequent.length||"BlockStatement"!==e.consequent[0].type){let t=i.getFirstToken(e),n=i.getTokenAfter(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,1)}},TemplateLiteral(e){e.expressions.forEach((o,a)=>{let l=e.quasis[a],c=e.quasis[a+1],p=l.loc.start.line===l.loc.end.line?i.getFirstToken(l):null,u=l.loc.end.line===o.loc.start.line,f=c.loc.start.line===o.loc.end.line;if(p||f&&!u){s.setDesiredOffsets([l.range[1],c.range[0]],p,1),s.setDesiredOffset(i.getFirstToken(c),p,0);return}let d=i.text.slice(l.range[1]-l.loc.end.column,l.range[1]-2).split(""),m=d.findIndex(e=>" "!==e&&" "!==e);-1===m&&(m=d.length);let g=d.slice(0,m).filter(e=>" "===e).length,h=m-g+Math.ceil(g/("tab"===t?r.tabLength:n)),y=f?h:h+1;s.setDesiredOffsets([l.range[1],c.range[0]],p,y),s.setDesiredOffset(i.getFirstToken(c),p,h)})},VariableDeclaration(e){let t=Object.prototype.hasOwnProperty.call(r.VariableDeclarator,e.kind)?r.VariableDeclarator[e.kind]:1,n=i.getFirstToken(e),o=i.getLastToken(e);if("first"===r.VariableDeclarator[e.kind]){if(e.declarations.length>1)return void p(e.declarations,n,o,"first");t=1}e.declarations[e.declarations.length-1].loc.start.line>e.loc.start.line?s.setDesiredOffsets(e.range,n,t,!0):s.setDesiredOffsets(e.range,n,t),oG(o)&&s.ignoreToken(o)},VariableDeclarator(e){if(e.init){let t=i.getTokenBefore(e.init,st),n=i.getTokenAfter(t);s.ignoreToken(t),s.ignoreToken(n),s.setDesiredOffsets([n.range[0],e.range[1]],t,1),s.setDesiredOffset(t,i.getLastToken(e.id),0)}},"JSXAttribute[value]":function(e){if(!e.value)return;let t=i.getFirstTokenBetween(e.name,e.value,e=>"Punctuator"===e.type&&"="===e.value);s.setDesiredOffsets([t.range[0],e.value.range[1]],i.getFirstToken(e.name),1)},JSXElement(e){e.closingElement&&p(e.children,i.getFirstToken(e.openingElement),i.getFirstToken(e.closingElement),1)},JSXOpeningElement(e){let t,n=i.getFirstToken(e);e.selfClosing?(t=i.getLastToken(e,{skip:1}),s.setDesiredOffset(i.getLastToken(e),t,0)):t=i.getLastToken(e),s.setDesiredOffsets(e.name.range,i.getFirstToken(e),0),p(e.attributes,n,t,1)},JSXClosingElement(e){let t=i.getFirstToken(e);s.setDesiredOffsets(e.name.range,t,1)},JSXFragment(e){let t=i.getFirstToken(e.openingFragment),n=i.getFirstToken(e.closingFragment);p(e.children,t,n,1)},JSXOpeningFragment(e){let t=i.getFirstToken(e),n=i.getLastToken(e);s.setDesiredOffsets(e.range,t,1),s.matchOffsetOf(t,n)},JSXClosingFragment(e){let t=i.getFirstToken(e),n=i.getLastToken(e,{skip:1}),r=i.getLastToken(e),o=o9(n,r)?n:r;s.setDesiredOffsets(e.range,t,1),s.matchOffsetOf(t,o)},JSXExpressionContainer(e){let t=i.getFirstToken(e),n=i.getLastToken(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,1)},JSXSpreadAttribute(e){let t=i.getFirstToken(e),n=i.getLastToken(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,1)},"*":function(e){let t=i.getFirstToken(e);t&&!g.has(t)&&s.setDesiredOffsets(e.range,t,0)}}))y[e]=e=>h.push({listener:o,node:e});let E=new Set;function T(e){E.add(e),g.add(i.getFirstToken(e))}let b=r.ignoredNodes.reduce((e,t)=>Object.assign(e,{[t]:T}),{}),S="space"===t?" ":" ";return{...y,JSXText:function(r){if(!r.parent||"JSXElement"!==r.parent.type&&"JSXFragment"!==r.parent.type)return;let i=r.value,o="space"===t?/\n( *)[\t ]*\S/g:/\n(\t*)[\t ]*\S/g,s=Array.from(String(i).matchAll(o),e=>e[1]?e[1].length:0),a=s.length>0,c=function(n,r=!1,i=!1){let o,s=e.sourceCode.getText(n,n.loc.start.column),a=s.split("\n");s=r?a[a.length-1]:a[0];let l=i?",":"",c=("space"===t?RegExp(`^[ ${l}]+`):RegExp(`^[ ${l}]+`)).exec(s);return c?c[0].length:0}(r.parent)+n;a&&!s.every(e=>e===c)&&s.forEach(t=>{e.report({node:r,messageId:"wrongIndentation",data:l(c,t,t),fix:function(e,t){let n=Array(t+1).join(S);return function(t){let r=e.raw.replace(/\n[\t ]*(\S)/g,(e,t)=>`
3
3
  ${n}${t}`);return t.replaceText(e,r)}}(r,c)})})},...b,"*:exit":function(e){sD.has(e.type)||T(e)},"Program:exit":function(){r.ignoreComments&&i.getAllComments().forEach(e=>s.ignoreToken(e));for(let e=0;e<h.length;e++){let t=h[e];E.has(t.node)||t.listener?.(t.node)}E.forEach(d),function(e){let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];o$(i)?t.push(i):oK(i)&&n.push({left:t.pop(),right:i})}for(let e=n.length-1;e>=0;e--){let t=n[e].left,r=n[e].right;if(!a.has(t)&&!a.has(r)){let e=new Set(i.getTokensBetween(t,r));e.forEach(n=>{e.has(s.getFirstDependency(n))||s.setDesiredOffset(n,t,1)})}s.setDesiredOffset(r,t,0)}}(i.ast.tokens);let t=new WeakMap;for(let e=0;e<i.ast.comments.length;e++){let n=i.ast.comments[e],r=i.getTokenBefore(n,{includeComments:!0}),o=t.has(r)?t.get(r):r;t.set(n,o)}for(let n=1;n<i.lines.length+1;n++){if(!o.firstTokensByLineNumber.has(n))continue;let r=o.firstTokensByLineNumber.get(n);if(r.loc.start.line===n){if(oZ(r)){let e=t.get(r),n=e?i.getTokenAfter(e):i.ast.tokens[0],o=e&&!m(e,r),a=n&&!m(r,n);if(n&&oG(n)&&!o9(r,n)&&s.setDesiredOffset(r,n,0),o&&c(r,s.getDesiredIndent(e))||a&&c(r,s.getDesiredIndent(n)))continue}c(r,s.getDesiredIndent(r))||function(t,n){let r=Array.from(o.getTokenIndent(t)),i=r.filter(e=>" "===e).length,s=r.filter(e=>" "===e).length;e.report({node:t,messageId:"wrongIndentation",data:l(n.length,i,s),loc:{start:{line:t.loc.start.line,column:0},end:{line:t.loc.start.line,column:t.loc.start.column}},fix(e){let r=[t.range[0]-t.loc.start.column,t.range[0]];return e.replaceTextRange(r,n)}})}(r,s.getDesiredIndent(r))}}}}}});const sR={"prefer-double":{quote:'"',description:"singlequote",convert:e=>e.replace(/'/gu,'"')},"prefer-single":{quote:"'",description:"doublequote",convert:e=>e.replace(/"/gu,"'")}};var sF=sp({name:"jsx-quotes",package:"js",meta:{type:"layout",docs:{description:"Enforce the consistent use of either double or single quotes in JSX attributes"},fixable:"whitespace",schema:[{type:"string",enum:["prefer-single","prefer-double"]}],messages:{unexpected:"Unexpected usage of {{description}}."}},create(e){let t=sR[e.options[0]||"prefer-double"];return{JSXAttribute(n){let r=n.value;r&&("Literal"===r.type&&"string"==typeof r.value||"TemplateLiteral"===r.type)&&!(r.value.includes(t.quote)||sr(r.raw,t.quote))&&e.report({node:r,messageId:"unexpected",data:{description:t.description},fix:e=>e.replaceText(r,t.convert(r.raw))})}}}});function sU(e){return e[e.length-1]}function sq(e){return e.loc.end.line===e.loc.start.line}function sW(e,t){let n=t.getTokenBefore(e.attributes[0],oX);return t.getTokenAfter(e.attributes[e.attributes.length-1],oQ).loc.end.line===n.loc.start.line}function sG(e,t){return e.mode=t.mode||"strict",void 0!==t.beforeColon?e.beforeColon=+t.beforeColon:e.beforeColon=0,void 0!==t.afterColon?e.afterColon=+t.afterColon:e.afterColon=1,void 0!==t.align&&("object"==typeof t.align?e.align=t.align:e.align={on:t.align,mode:e.mode,beforeColon:e.beforeColon,afterColon:e.afterColon}),e}var sH=sp({name:"key-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing between keys and values in object literal properties"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{align:{anyOf:[{type:"string",enum:["colon","value"]},{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"},ignoredNodes:{type:"array",items:{type:"string",enum:["ObjectExpression","ObjectPattern","ImportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TSTypeLiteral","TSInterfaceBody","ClassBody"]}}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{align:{anyOf:[{type:"string",enum:["colon","value"]},{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},align:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",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(t){var n,r;let i=(n={},"object"==typeof(r=t.options[0]||{}).align?(n.align=sG({},r.align),n.align.on=r.align.on||"colon",n.align.mode=r.align.mode||"strict",n.multiLine=sG({},r.multiLine||r),n.singleLine=sG({},r.singleLine||r)):(n.multiLine=sG({},r.multiLine||r),n.singleLine=sG({},r.singleLine||r),n.multiLine.align&&(n.align={on:n.multiLine.align.on,mode:n.multiLine.align.mode||n.multiLine.mode,beforeColon:n.multiLine.align.beforeColon,afterColon:n.multiLine.align.afterColon})),n.ignoredNodes=r.ignoredNodes||[],n),o=i.multiLine,s=i.singleLine,a=i.align||null,l=i.ignoredNodes,c=t.sourceCode;function p(e){return"ImportAttribute"===e.type||!("method"in e&&e.method||"shorthand"in e&&e.shorthand||"kind"in e&&"init"!==e.kind||"Property"!==e.type)}function u(e){return c.getTokenAfter(e,oH)}function f(e,n,r,i,o){let s=r.length-i;if((s&&"strict"===o||s<0&&"minimum"===o||s>0&&!i&&"minimum"===o)&&!(i&&oL.test(r))){let r,i=u(e.key),o=c.getTokenBefore(i,{includeComments:!0}),a=c.getTokenAfter(i,{includeComments:!0}),l="key"===n,p=s>0,f=Math.abs(s),d=Array(f+1).join(" "),m=l?o.loc.end:i.loc.start,g=l?i.loc.start:a.loc.start,h=l?o.loc:a.loc;if(p){let e;e=l?[o.range[1],o.range[1]+f]:[a.range[0]-f,a.range[0]],r=function(t){return t.removeRange(e)}}else r=l?function(e){return e.insertTextAfter(o,d)}:function(e){return e.insertTextBefore(a,d)};t.report({node:e[n],loc:p?{start:m,end:g}:h,messageId:p?"key"===n?"extraKey":"extraValue":"key"===n?"missingKey":"missingValue",data:{computed:"ImportAttribute"!==e.type&&e.computed?"computed ":"",key:function(e){let t=e.key;return"ImportAttribute"!==e.type&&e.computed?c.getText().slice(t.range[0],t.range[1]):oN(e)}(e)},fix:r})}}function d(t){var n,r;let i=c.getFirstToken(t),o=function(e){let t=u(e);return c.getTokenBefore(t)}(t.key);return(r=n=c.getText().slice(i.range[0],o.range[1]),/^[\u0020-\u007F]*$/u.test(r))?n.length:[...(e??=new Intl.Segmenter).segment(n)].length}function m(e){let t=/(\s*):(\s*)/u.exec(c.getText().slice(e.key.range[1],e.value.range[0]));return t?{beforeColon:t[1],afterColon:t[2]}:null}function g(e,t){if(l.includes(e.parent.type))return;let n=m(e);n&&(f(e,"key",n.beforeColon,t.beforeColon,t.mode),f(e,"value",n.afterColon,t.afterColon,t.mode))}function h(e,t){let n=e.length;for(let r=0;r<n;r++)g(e[r],t)}function y(e){(1===e.length?[e]:e.reduce((e,t)=>{let n=sU(e),r=sU(n);return!r||function(e,t){let n=e.loc.start.line,r=(p(t)?function(e){let t=u(e);return c.getTokenAfter(t)}(t.key):t).loc.start.line;if(r-n<=1)return!0;let i=c.getCommentsBefore(t);if(i.length&&i[0].loc.start.line-n<=1&&r-sU(i).loc.end.line<=1){for(let e=1;e<i.length;e++)if(i[e].loc.start.line-i[e-1].loc.end.line>1)return!1;return!0}return!1}(r,t)?n.push(t):e.push([t]),e},[[]])).forEach(e=>{let t=e.filter(p);t.length>0&&function(e){let[t]=e,n=sU(e);return t.loc.start.line===n.loc.end.line}(t)?h(t,o):function(e){let t,n,r,i=e.length,s=e.map(d),l=a.on,c=Math.max(...s);a&&i>1?(t=a.beforeColon,n=a.afterColon):(t=o.beforeColon,n=o.afterColon),r=a.mode,c+="colon"===l?t:n;for(let o=0;o<i;o++){let i=e[o],a=m(i);if(a){let e=s[o];"value"===l?(f(i,"key",a.beforeColon,t,r),f(i,"value",a.afterColon,c-e,r)):(f(i,"key",a.beforeColon,c-e,r),f(i,"value",a.afterColon,n,r))}}}(t)})}function E(e){!l.includes(e.type)&&e.attributes&&e.attributes.length&&(sW(e,c)?h(e.attributes,s):y(e.attributes))}return a?{ObjectExpression(e){l.includes(e.type)||(sq(e)?h(e.properties.filter(p),s):y(e.properties))},ImportDeclaration(e){E(e)},ExportNamedDeclaration(e){E(e)},ExportAllDeclaration(e){E(e)}}:{Property(e){g(e,sq(e.parent)?s:o)},ImportAttribute(e){let t=e.parent;g(e,sW(t,c)?s:o)}}}});const s$=/^[)\]}>]$/u,sK=/^(?:[([{<~!]|\+\+?|--?)$/u,sz=/^[)\]}>*]$/u,sJ=/^[{*]$/u,sX=/\$\{$/u,sQ=/^\}/u,sZ=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,s0=su.concat(["as","async","await","from","get","let","of","satisfies","set","yield"]);s0.sort();for(let e=1;e<s0.length;++e)if(s0[e]===s0[e-1])throw Error(`Duplication was found in the keyword list: ${s0[e]}`);function s1(e){return"Template"===e.type&&sX.test(e.value)}function s2(e){return"Template"===e.type&&sQ.test(e.value)}var s3=sp({name:"keyword-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after keywords"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0},overrides:{type:"object",properties:s0.reduce((e,t)=>(e[t]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},e),{}),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(e){let t=e.sourceCode,n=new WeakSet;function r(r,i){let o=t.getTokenBefore(r);o&&(sZ.test(o.type)||i.test(o.value))&&!s1(o)&&!n.has(o)&&o9(o,r)&&!t.isSpaceBetween(o,r)&&e.report({loc:r.loc,messageId:"expectedBefore",data:r,fix:e=>e.insertTextBefore(r," ")})}function i(r,i){let o=t.getTokenBefore(r);o&&(sZ.test(o.type)||i.test(o.value))&&!s1(o)&&!n.has(o)&&o9(o,r)&&t.isSpaceBetween(o,r)&&e.report({loc:{start:o.loc.end,end:r.loc.start},messageId:"unexpectedBefore",data:r,fix:e=>e.removeRange([o.range[1],r.range[0]])})}function o(r,i){let o=t.getTokenAfter(r);o&&(sZ.test(o.type)||i.test(o.value))&&!s2(o)&&!n.has(o)&&o9(r,o)&&!t.isSpaceBetween(r,o)&&e.report({loc:r.loc,messageId:"expectedAfter",data:r,fix:e=>e.insertTextAfter(r," ")})}function s(r,i){let o=t.getTokenAfter(r);o&&(sZ.test(o.type)||i.test(o.value))&&!s2(o)&&!n.has(o)&&o9(r,o)&&t.isSpaceBetween(r,o)&&e.report({loc:{start:r.loc.end,end:o.loc.start},messageId:"unexpectedAfter",data:r,fix:e=>e.removeRange([r.range[1],o.range[0]])})}let a=function(e={}){let t=!1!==e.before,n=!1!==e.after,a={before:t?r:i,after:n?o:s},l=e&&e.overrides||{},c=Object.create(null);for(let e=0;e<s0.length;++e){let p=s0[e],u=l[p];if(u){let e="before"in u?u.before:t,a="after"in u?u.after:n;c[p]={before:e?r:i,after:a?o:s}}else c[p]=a}return c}(e.options[0]);function l(e,t){a[e.value].before(e,t||s$)}function c(e,t){a[e.value].after(e,t||sK)}function p(e){l(e),c(e)}function u(e){let n=e&&t.getFirstToken(e);n&&"Keyword"===n.type&&p(n)}function f(e){let n=e&&t.getFirstToken(e);n&&"Keyword"===n.type&&l(n)}function d(e){if(e){let n=t.getTokenBefore(e,o0);n&&p(n)}}function m(e){let n=e&&t.getFirstToken(e);n&&("Keyword"===n.type&&"function"===n.value||"async"===n.value)&&l(n)}function g(e){u(e),d(e.superClass)}function h(e){let n=t.getFirstToken(e);if(l(n,sz),c(n,sJ),"ExportDefaultDeclaration"===e.type&&p(t.getTokenAfter(n)),"ExportAllDeclaration"===e.type&&e.exported){let n=t.getTokenBefore(e.exported);l(n,sz),c(n,sJ)}if("source"in e&&e.source){let n=t.getTokenBefore(e.source);l(n,sz),c(n,sJ)}}function y(e){if("static"in e&&e.static&&u(e),"get"===e.kind||"set"===e.kind||("method"in e&&e.method||"MethodDefinition"===e.type)&&"async"in e.value&&e.value.async){let n=t.getTokenBefore(e.key,e=>{switch(e.value){case"get":case"set":case"async":return!0;default:return!1}});if(!n)throw Error("Failed to find token get, set, or async beside method name");p(n)}}return{DebuggerStatement:u,WithStatement:u,BreakStatement:u,ContinueStatement:u,ReturnStatement:u,ThrowStatement:u,TryStatement:function(e){u(e),u(e.handler),d(e.finalizer)},IfStatement:function(e){u(e),d(e.alternate)},SwitchStatement:u,SwitchCase:u,DoWhileStatement:function(e){u(e),d(e.test)},ForInStatement:function(e){u(e);let n=t.getTokenBefore(e.right,st);"PrivateIdentifier"!==t.getTokenBefore(n).type&&l(n),c(n)},ForOfStatement:function(e){e.await?(l(t.getFirstToken(e,0)),c(t.getFirstToken(e,1))):u(e);let n=t.getTokenBefore(e.right,st);"PrivateIdentifier"!==t.getTokenBefore(n).type&&l(n),c(n)},ForStatement:u,WhileStatement:u,ClassDeclaration:g,ExportNamedDeclaration:h,ExportDefaultDeclaration:h,ExportAllDeclaration:h,FunctionDeclaration:m,ImportDeclaration:h,VariableDeclaration:u,ArrowFunctionExpression:m,AwaitExpression:function(e){l(t.getFirstToken(e))},ClassExpression:g,FunctionExpression:m,NewExpression:f,Super:f,ThisExpression:f,UnaryExpression:f,YieldExpression:f,ImportSpecifier:function(e){e.imported.range[0]!==e.local.range[0]&&l(t.getTokenBefore(e.local),sz)},ExportSpecifier:function(e){if(e.local.range[0]!==e.exported.range[0]){let n=t.getTokenBefore(e.exported);l(n,sz),c(n,sJ)}},ImportNamespaceSpecifier:function(e){l(t.getFirstToken(e,1),sz)},MethodDefinition:y,PropertyDefinition:y,StaticBlock:u,Property:y,"BinaryExpression[operator='>']":function(e){let r=t.getTokenBefore(e.right,st);n.add(r)}}}}),s4=sp({name:"line-comment-position",package:"js",meta:{type:"layout",docs:{description:"Enforce position of line comments"},schema:[{oneOf:[{type:"string",enum:["above","beside"]},{type:"object",properties:{position:{type:"string",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(e){let t,n,r,i=e.options[0],o=!0;i&&"string"!=typeof i?(t=!i.position||"above"===i.position,r=RegExp(n=i.ignorePattern,"u"),o=Object.hasOwn(i,"applyDefaultIgnorePatterns")?i.applyDefaultIgnorePatterns:!1!==i.applyDefaultPatterns):t=!i||"above"===i;let s=/^\s*falls?\s?through/u,a=e.sourceCode;return{Program(){a.getAllComments().filter(e=>"Line"===e.type).forEach(i=>{if(o&&(oC.test(i.value)||s.test(i.value))||n&&r.test(i.value))return;let l=a.getTokenBefore(i,{includeComments:!0}),c=l&&l.loc.end.line===i.loc.start.line;t?c&&e.report({node:i,messageId:"above"}):c||e.report({node:i,messageId:"beside"})})}}}}),s6=sp({name:"linebreak-style",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent linebreak style"},fixable:"whitespace",schema:[{type:"string",enum:["unix","windows"]}],messages:{expectedLF:"Expected linebreaks to be 'LF' but found 'CRLF'.",expectedCRLF:"Expected linebreaks to be 'CRLF' but found 'LF'."}},create(e){let t=e.sourceCode;return{Program:function(n){let r,i="unix"===(e.options[0]||"unix"),o=i?"\n":"\r\n",s=t.getText(),a=oV(),l=0;for(;null!==(r=a.exec(s));){if(l++,r[0]===o)continue;let s=r.index,a=[s,s+r[0].length];e.report({node:n,loc:{start:{line:l,column:t.lines[l-1].length},end:{line:l+1,column:0}},messageId:i?"expectedLF":"expectedCRLF",fix:function(e,t){return function(n){return n.replaceTextRange(e,t)}}(a,o)})}}}}}),s5=sp({name:"lines-around-comment",package:"js",meta:{type:"layout",docs:{description:"Require empty lines around comments"},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(e){let t=Object.assign({},e.options[0]),n=t.ignorePattern,r=n&&RegExp(n,"u"),i=!1!==t.applyDefaultIgnorePatterns;t.beforeBlockComment=void 0===t.beforeBlockComment||t.beforeBlockComment;let o=e.sourceCode,s=o.lines,a=s.length+1,l=o.getAllComments(),c=function(e){let t=[];return e.forEach(e=>{let n=e.loc.start.line,r=e.loc.end.line;t.push(n,r)}),t}(l),p=s.map((e,t)=>({code:e.trim(),num:t+1})).filter(e=>!e.code).map(e=>e.num),u=new Set(c.concat(p));function f(e){let t=o.getNodeByRangeIndex(e.range[0]);if(t&&"StaticBlock"===t.type){let n=o.getFirstToken(t,{skip:1});return n&&e.range[0]>=n.range[0]?t:null}return t}function d(e,t){let n=f(e);if(n&&n.type===t){let t=n;return"StaticBlock"===n.type?t=o.getFirstToken(n,{skip:1}):"SwitchStatement"===n.type&&(t=o.getTokenAfter(n.discriminant,{filter:oX})),!!t&&e.loc.start.line-t.loc.start.line==1}return!1}function m(e,t){let n=f(e);return!!n&&n.type===t&&n.loc.end.line-e.loc.end.line==1}function g(e){return d(e,"ClassBody")}function h(e){return m(e,"ClassBody")}function y(n,s){if(i&&oC.test(n.value)||r&&r.test(n.value))return;let l=s.after,c=s.before,p=n.loc.start.line-1,f=n.loc.end.line+1,y=function(e){let t=e;do t=o.getTokenBefore(t,{includeComments:!0});while(t&&oZ(t));if(t&&o9(t,e))return!0;t=e;do t=o.getTokenAfter(t,{includeComments:!0});while(t&&oZ(t));return!!(t&&o9(e,t))}(n),E=t.allowBlockStart&&(d(n,"ClassBody")||d(n,"BlockStatement")||d(n,"StaticBlock")||d(n,"SwitchCase")||d(n,"SwitchStatement"))&&!(!1===t.allowClassStart&&g(n)),T=t.allowBlockEnd&&(m(n,"ClassBody")||m(n,"BlockStatement")||m(n,"StaticBlock")||m(n,"SwitchCase")||m(n,"SwitchStatement"))&&!(!1===t.allowClassEnd&&h(n)),b=t.allowClassStart&&g(n),S=t.allowClassEnd&&h(n),x=t.allowObjectStart&&(d(n,"ObjectExpression")||d(n,"ObjectPattern")),P=t.allowObjectEnd&&(m(n,"ObjectExpression")||m(n,"ObjectPattern")),v=t.allowArrayStart&&(d(n,"ArrayExpression")||d(n,"ArrayPattern")),k=t.allowArrayEnd&&(m(n,"ArrayExpression")||m(n,"ArrayPattern"));if(p<1&&(c=!1),f>=a&&(l=!1),y)return;let _=o.getTokenBefore(n,{includeComments:!0}),A=o.getTokenAfter(n,{includeComments:!0});if(!(E||b||x||v)&&c&&!u.has(p)&&!(oZ(_)&&o9(_,n))){let t=n.range[0]-n.loc.start.column,r=[t,t];e.report({node:n,messageId:"before",fix:e=>e.insertTextBeforeRange(r,"\n")})}T||S||P||k||!l||u.has(f)||oZ(A)&&o9(n,A)||e.report({node:n,messageId:"after",fix:e=>e.insertTextAfter(n,"\n")})}return{Program(){l.forEach(e=>{"Line"===e.type?(t.beforeLineComment||t.afterLineComment)&&y(e,{after:t.afterLineComment,before:t.beforeLineComment}):"Block"===e.type?(t.beforeBlockComment||t.afterBlockComment)&&y(e,{after:t.afterBlockComment,before:t.beforeBlockComment}):"Shebang"===e.type&&t.afterHashbangComment&&y(e,{after:t.afterHashbangComment,before:!1})})}}}});const s9={"*":{test:()=>!0},field:{test:e=>"PropertyDefinition"===e.type},method:{test:e=>"MethodDefinition"===e.type}};var s8=sp({name:"lines-between-class-members",package:"js",meta:{type:"layout",docs:{description:"Require or disallow an empty line between class members"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{enforce:{type:"array",items:{type:"object",properties:{blankLine:{type:"string",enum:["always","never"]},prev:{type:"string",enum:["method","field","*"]},next:{type:"string",enum:["method","field","*"]}},additionalProperties:!1,required:["blankLine","prev","next"]},minItems:1}},additionalProperties:!1,required:["enforce"]},{type:"string",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(e){let t=[];t[0]=e.options[0]||"always",t[1]=e.options[1]||{exceptAfterSingleLine:!1};let n="object"==typeof t[0]?t[0].enforce:[{blankLine:t[0],prev:"*",next:"*"}],r=e.sourceCode;function i(e,t,n){let o=r.getTokenAfter(e,{includeComments:!0});return o!==t&&o.loc.start.line-e.loc.end.line<=n?i(o,t,n):e}return{ClassBody(o){let s=o.body;for(let o=0;o<s.length-1;o++){let a=r.getFirstToken(s[o]),{curLast:l,nextFirst:c}=function(e,t){let n=r.getLastToken(e),i=r.getTokenBefore(n),o=r.getFirstToken(t);return oG(n)&&!o9(i,n)&&o9(n,o)?{curLast:i,nextFirst:n}:{curLast:n,nextFirst:o}}(s[o],s[o+1]),p=!!o9(a,l)&&t[1].exceptAfterSingleLine,u=i(l,c,1),f=function e(t,n,i){let o=r.getTokenBefore(t,{includeComments:!0});return o!==n&&t.loc.start.line-o.loc.end.line<=i?e(o,n,i):t}(c,l,1),d=f.loc.start.line-u.loc.end.line>1,m=0!==r.getTokensBetween(u,f,{includeComments:!0}).length,g=i(l,c,0),h=function(e,t){for(let r=n.length-1;r>=0;--r){let i=n[r];if(s9[i.prev].test(e)&&s9[i.next].test(t))return i.blankLine}return null}(s[o],s[o+1]);"never"===h&&d?e.report({node:s[o+1],messageId:"never",fix:e=>m?null:e.replaceTextRange([u.range[1],f.range[0]],"\n")}):"always"!==h||p||d||e.report({node:s[o+1],messageId:"always",fix:e=>m?null:e.insertTextAfter(g,"\n")})}}}}});const s7={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},ae={anyOf:[s7,{type:"integer",minimum:0}]};var at=sp({name:"max-len",package:"js",meta:{type:"layout",docs:{description:"Enforce a maximum line length"},schema:[ae,ae,s7],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(e){let t=/[^:/?#]:\/\/[^?#]/u,n=e.sourceCode,r=Object.assign({},e.options[e.options.length-1]);"number"==typeof e.options[0]&&(r.code=e.options[0]),"number"==typeof e.options[1]&&(r.tabWidth=e.options[1]);let i="number"==typeof r.code?r.code:80,o="number"==typeof r.tabWidth?r.tabWidth:4,s=!!r.ignoreComments,a=!!r.ignoreStrings,l=!!r.ignoreTemplateLiterals,c=!!r.ignoreRegExpLiterals,p=!!r.ignoreTrailingComments||!!r.ignoreComments,u=!!r.ignoreUrls,f=r.comments,d=null;function m(e,t,n){return n&&n.loc.start.line===t&&t<=n.loc.end.line&&(n.loc.end.line>t||n.loc.end.column===e.length)}function g(e,t){return e.slice(0,t.loc.start.column).replace(/\s+$/u,"")}function h(e){let t={};for(let r=0;r<e.length;r++){let i=e[r];for(let e=i.loc.start.line;e<=i.loc.end.line;++e){var n;Array.isArray(t[n=e])||(t[n]=[]),t[n].push(i)}}return t}return r.ignorePattern&&(d=RegExp(r.ignorePattern,"u")),{Program:function(r){let y=n.lines,E=s||f||p?function(){let e=[];return n.getAllComments().forEach(t=>{let r=n.getNodeByRangeIndex(t.range[0]);!function(e){if(!e||!e.parent||"JSXEmptyExpression"!==e.type||"JSXExpressionContainer"!==e.parent.type)return!1;let t=e.parent;return t.loc.start.line===t.loc.end.line}(r)?e.push(t):e[e.length-1]!==r.parent&&e.push(r.parent)}),e}():[],T=0,b=h(n.ast.tokens.filter(e=>"String"===e.type||"JSXText"===e.type&&"JSXAttribute"===n.getNodeByRangeIndex(e.range[0]-1).type)),S=h(n.ast.tokens.filter(e=>"Template"===e.type)),x=h(n.ast.tokens.filter(e=>"RegularExpression"===e.type));y.forEach((n,h)=>{var y;let P,v,k=h+1,_=!1;if(T<E.length){let e=null;do e=E[++T];while(e&&e.loc.start.line<=k);if(function(e,t,n){let r=n.loc.start,i=n.loc.end,o=!e.slice(0,n.loc.start.column).trim();return n&&(r.line<t||r.line===t&&o)&&(i.line>t||i.line===t&&i.column===e.length)}(n,k,e=E[--T]))_=!0,P=n;else if(p&&m(n,k,e)){P=g(n,e);let t=T;for(;m(P,k,E[--t]);)P=g(P,E[t])}else P=n}else P=n;if(d&&d.test(P)||u&&t.test(P)||a&&b[k]||l&&S[k]||c&&x[k])return;let A=(v=0,(y=P).replace(/\t/gu,(e,t)=>{let n=t+v;return v+=o-(o?n%o:0)-1,""}),Array.from(y).length+v),Y=_&&f;if(_&&s)return;let C={start:{line:k,column:0},end:{line:k,column:P.length}};Y?A>f&&e.report({node:r,loc:C,messageId:"maxComment",data:{lineLength:A,maxCommentLength:f}}):A>i&&e.report({node:r,loc:C,messageId:"max",data:{lineLength:A,maxLength:i}})})}}}});const an=["BreakStatement","ClassDeclaration","ContinueStatement","DebuggerStatement","DoWhileStatement","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","IfStatement","ImportDeclaration","LabeledStatement","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","VariableDeclaration","WhileStatement","WithStatement","ExportNamedDeclaration","ExportDefaultDeclaration","ExportAllDeclaration"];var ar=sp({name:"max-statements-per-line",package:"js",meta:{type:"layout",docs:{description:"Enforce a maximum number of statements allowed per line"},schema:[{type:"object",properties:{max:{type:"integer",minimum:1,default:1},ignoredNodes:{type:"array",items:{type:"string",enum:an}}},additionalProperties:!1}],messages:{exceed:"This line has {{numberOfStatementsOnThisLine}} {{statements}}. Maximum allowed is {{maxStatementsPerLine}}."}},create(e){let t=e.sourceCode,n=e.options[0]||{},r=void 0!==n.max?n.max:1,i=n.ignoredNodes||[],o=0,s=0,a=null,l=/^(?:(?:DoWhile|For|ForIn|ForOf|If|Labeled|While)Statement|Export(?:Default|Named)Declaration)$/u;function c(){a&&e.report({node:a,messageId:"exceed",data:{numberOfStatementsOnThisLine:s,maxStatementsPerLine:r,statements:1===s?"statement":"statements"}}),a=null}function p(e){let t=e.loc.start.line;(!(e.parent&&l.test(e.parent.type))||"alternate"in e.parent&&e.parent.alternate===e)&&(t===o?s+=1:(c(),s=1,o=t),s===r+1&&(a=a||e))}function u(e){let n=t.getLastToken(e,sn).loc.end.line;n!==o&&(c(),s=1,o=n)}let f={"Program:exit":c};for(let e of an)i.includes(e)||(f[e]=p,f[`${e}:exit`]=u);return f}}),ai=sp({name:"multiline-comment-style",package:"js",meta:{type:"suggestion",docs:{description:"Enforce a particular style for multiline comments"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{enum:["starred-block","bare-block"],type:"string"}],additionalItems:!1},{type:"array",items:[{enum:["separate-lines"],type:"string"},{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(e){let t=e.sourceCode,n=e.options[0]||"starred-block",r=!!(e.options[1]||{}).checkJSDoc;function i([e]){if("Block"!==e.type)return!1;let t=e.value.split(oL);return t.length>0&&t.every((e,n)=>(0===n||n===t.length-1?/^\s*$/u:/^\s*\*/u).test(e))}function o([e]){if("Block"!==e.type)return!1;let t=e.value.split(oL);return/^\*\s*$/u.test(t[0])&&t.slice(1,-1).every(e=>/^\s* /u.test(e))&&/^\s*$/u.test(t.at(-1))}function s(e){let[n]=e;if("Line"===n.type){let t=e.map(({value:e})=>e).filter(e=>e.trim().length).every(e=>e.startsWith(" "));return e.map(({value:e})=>t?e.replace(/^ /u,""):e)}if(i(e)){let e=n.value.split(oL).filter((e,t,n)=>0!==t&&t!==n.length-1).map(e=>e.replace(/^\s*$/u,"")),t=e.map(e=>e.replace(/\s*\*/u,"")).filter(e=>e.trim().length).every(e=>e.startsWith(" "));return e.map(e=>e.replace(t?/\s*\* ?/u:/\s*\*/u,""))}return function(e){let n=e.value.split(oL).map(e=>e.replace(/^\s*$/u,"")),r=`${t.text.slice(e.range[0]-e.loc.start.column,e.range[0])} `,i="";for(let[e,t]of n.entries()){if(!t.trim().length||0===e)continue;let[,n]=t.match(/^(\s*\*?\s*)/u);if(n.length<r.length){let e=r.slice(n.length-r.length);e.length>i.length&&(i=e)}}return n.map(e=>{let[,t,n]=e.match(/^(\s*\*?\s*)(.*)/u);return t.length>r.length?`${t.slice(r.length-(i.length+t.length))}${n}`:t.length<r.length?`${t.slice(r.length)}${n}`:n})}(n)}function a(e){return t.text.slice(e.range[0]-e.loc.start.column,e.range[0])}function l(e,t){return`/* ${t.join(`
4
4
  ${a(e)} `)} */`}let c={"starred-block":function(n){let[r]=n,i=s(n);if(!i.some(e=>e.includes("*/")))if(n.length>1)e.report({loc:{start:r.loc.start,end:n.at(-1).loc.end},messageId:"expectedBlock",fix(e){let t=[r.range[0],n.at(-1).range[1]];return i.some(e=>e.startsWith("/"))?null:e.replaceTextRange(t,function(e,t){let n=a(e);return`/*
@@ -11,5 +11,5 @@ ${p}
11
11
  ${l}`)!==s&&e.report({node:o,messageId:"indent-unindent",fix:e=>e.replaceText(o,`\`${p}\``)})}}}}),lV=lA({name:"no-import-dist",meta:{type:"problem",docs:{description:"Prevent importing modules in `dist` folder"},schema:[],messages:{noImportDist:"Do not import modules in `dist` folder, got {{path}}"}},defaultOptions:[],create:e=>({ImportDeclaration:t=>{var n;((n=t.source.value).startsWith(".")&&n.match(/\/dist(\/|$)/)||"dist"===n)&&e.report({node:t,messageId:"noImportDist",data:{path:t.source.value}})}})}),lB=lA({name:"no-import-node-modules-by-path",meta:{type:"problem",docs:{description:"Prevent importing modules in `node_modules` folder by relative or absolute path"},schema:[],messages:{noImportNodeModulesByPath:"Do not import modules in `node_modules` folder by path"}},defaultOptions:[],create:e=>({ImportDeclaration:t=>{t.source.value.includes("/node_modules/")&&e.report({node:t,messageId:"noImportNodeModulesByPath"})},'CallExpression[callee.name="require"]':t=>{let n=t.arguments[0]?.value;"string"==typeof n&&n.includes("/node_modules/")&&e.report({node:t,messageId:"noImportNodeModulesByPath"})}})}),lN=lA({name:"no-top-level-await",meta:{type:"problem",docs:{description:"Prevent using top-level await"},schema:[],messages:{NoTopLevelAwait:"Do not use top-level await"}},defaultOptions:[],create:e=>({AwaitExpression:t=>{let n=t.parent;for(;n;){if("FunctionDeclaration"===n.type||"FunctionExpression"===n.type||"ArrowFunctionExpression"===n.type)return;n=n.parent}e.report({node:t,messageId:"NoTopLevelAwait"})}})}),lj={meta:{name:"antfu",version:"3.1.1"},rules:{"consistent-chaining":lY,"consistent-list-newline":lC,curly:lw,"if-newline":lL,"import-dedupe":lI,"indent-unindent":lD,"no-import-dist":lV,"no-import-node-modules-by-path":lB,"no-top-level-await":lN,"no-ts-export-equal":lA({name:"no-ts-export-equal",meta:{type:"problem",docs:{description:"Do not use `exports =`"},schema:[],messages:{noTsExportEqual:"Use ESM `export default` instead"}},defaultOptions:[],create:e=>{let t=e.getFilename().split(".").pop();return t&&["ts","tsx","mts","cts"].includes(t)?{TSExportAssignment(t){e.report({node:t,messageId:"noTsExportEqual"})}}:{}}}),"top-level-function":lA({name:"top-level-function",meta:{type:"problem",docs:{description:"Enforce top-level functions to be declared with function keyword"},fixable:"code",schema:[],messages:{topLevelFunctionDeclaration:"Top-level functions should be declared with function keyword"}},defaultOptions:[],create:e=>({VariableDeclaration(t){if("Program"!==t.parent.type&&"ExportNamedDeclaration"!==t.parent.type||1!==t.declarations.length||"const"!==t.kind||t.declare)return;let n=t.declarations[0];if(n.init?.type!=="ArrowFunctionExpression"&&n.init?.type!=="FunctionExpression"||n.id?.type!=="Identifier"||n.id.typeAnnotation||"BlockStatement"!==n.init.body.type&&n.id?.loc.start.line===n.init?.body.loc.end.line)return;let r=n.init,i=n.init.body,o=n.id;e.report({node:t,loc:{start:o.loc.start,end:i.loc.start},messageId:"topLevelFunctionDeclaration",fix(n){let s=e.getSourceCode().text,a=s.slice(o.range[0],o.range[1]),l=r.params.length?s.slice(r.params[0].range[0],r.params[r.params.length-1].range[1]):"",c="BlockStatement"===i.type?s.slice(i.range[0],i.range[1]):`{
12
12
  return ${s.slice(i.range[0],i.range[1])}
13
13
  }`,p=r.typeParameters?s.slice(r.typeParameters.range[0],r.typeParameters.range[1]):"",u=r.returnType?s.slice(r.returnType.range[0],r.returnType.range[1]):"",f=r.async?"async ":"",d=`${f}function ${a} ${p}(${l})${u} ${c}`;return n.replaceTextRange([t.range[0],t.range[1]],d)}})}})})}},lM=[".js",".jsx",".mjs",".cjs"],lR={plugins:{jsonc:n6.memo(ru,"eslint-plugin-jsonc")},languageOptions:{parser:rf}},lF={"jsonc/array-bracket-spacing":["error","never"],"jsonc/comma-dangle":["error","never"],"jsonc/comma-style":["error","last"],"jsonc/indent":["error",2],"jsonc/key-spacing":["error",{beforeColon:!1,afterColon:!0}],"jsonc/object-curly-newline":"off","jsonc/object-curly-spacing":["error","always"],"jsonc/object-property-newline":["error",{allowMultiplePropertiesPerLine:!0}],"jsonc/quote-props":"error","jsonc/quotes":"error"},lU={"no-dupe-class-members":"off","@typescript-eslint/no-dupe-class-members":"off","no-redeclare":"off","@typescript-eslint/no-redeclare":"off","no-unused-vars":"off","@typescript-eslint/no-unused-vars":["error",{vars:"all",varsIgnorePattern:"^_",args:"after-used",argsIgnorePattern:"^_",ignoreRestSiblings:!0}],"class-methods-use-this":"off","@typescript-eslint/class-methods-use-this":["error",{exceptMethods:[]}],"default-param-last":"off","@typescript-eslint/default-param-last":"error","dot-notation":"off","@typescript-eslint/dot-notation":["error",{allowKeywords:!0}],"no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","no-invalid-this":"off","@typescript-eslint/no-invalid-this":"off","no-loop-func":"off","@typescript-eslint/no-loop-func":"error","sukka/no-return-await":"off","@typescript-eslint/return-await":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":["error",{allowShortCircuit:!1,allowTernary:!1,allowTaggedTemplates:!1}],"prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":["error",{allowEmptyReject:!0}],"require-await":"off","@typescript-eslint/require-await":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@stylistic/js/no-extra-parens":"off","@stylistic/ts/no-extra-parens":["off","all",{conditionalAssign:!0,nestedBinaryExpressions:!1,returnAssign:!1,ignoreJSX:"all",enforceForArrowConditionals:!1}],"no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@stylistic/js/block-spacing":"off","@stylistic/ts/block-spacing":["error","always"],"@stylistic/js/brace-style":"off","@stylistic/ts/brace-style":["error","1tbs",{allowSingleLine:!0}],camelcase:"off","@stylistic/js/comma-dangle":"off","@stylistic/ts/comma-dangle":["error","never"],"@stylistic/js/comma-spacing":"off","@stylistic/ts/comma-spacing":["error",{before:!1,after:!0}],"@stylistic/js/func-call-spacing":"off","@stylistic/ts/func-call-spacing":["error","never"],"@stylistic/js/function-call-spacing":"off","@stylistic/ts/function-call-spacing":["error","never"],"@stylistic/js/indent":"off","@stylistic/ts/indent":["error",2,{SwitchCase:1}],"@stylistic/js/key-spacing":"off","@stylistic/ts/key-spacing":["error",{beforeColon:!1,afterColon:!0}],"@stylistic/js/keyword-spacing":"off","@stylistic/ts/keyword-spacing":["error",{before:!0,after:!0,overrides:{return:{after:!0},throw:{after:!0},case:{after:!0}}}],"@stylistic/js/lines-around-comment":"off","@stylistic/ts/lines-around-comment":"off","@stylistic/js/lines-between-class-members":"off","@stylistic/ts/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@stylistic/js/object-curly-newline":"off","@stylistic/ts/object-curly-newline":"off","@stylistic/js/object-curly-spacing":"off","@stylistic/ts/object-curly-spacing":["error","always"],"@stylistic/js/object-property-newline":"off","@stylistic/ts/object-property-newline":"off","@stylistic/js/padding-line-between-statements":"off","@stylistic/ts/padding-line-between-statements":["error",{blankLine:"always",prev:"directive",next:"*"},{blankLine:"always",prev:"*",next:["class","with"]},{blankLine:"always",prev:["class","with"],next:"*"}],"@stylistic/js/quotes":"off","@stylistic/ts/quotes":["error","single"],"@stylistic/js/quote-props":"off","@stylistic/ts/quote-props":["error","as-needed",{keywords:!1,unnecessary:!0,numbers:!1}],"@stylistic/js/semi":"off","@stylistic/ts/semi":["error","always"],"@stylistic/js/semi-spacing":"off","@stylistic/ts/semi-spacing":["error",{before:!1,after:!0}],"@stylistic/js/space-before-blocks":"off","@stylistic/ts/space-before-blocks":"error","@stylistic/js/space-before-function-paren":"off","@stylistic/ts/space-before-function-paren":["error",{anonymous:"always",named:"never",asyncArrow:"always"}],"@stylistic/js/space-infix-ops":"off","@stylistic/ts/space-infix-ops":"error","no-use-before-define":"off","@typescript-eslint/no-use-before-define":["error",{functions:!1,classes:!0,variables:!0}],"no-restricted-imports":"off"};function lq(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}function lW(e={},t={}){return Array.from(new Set(Object.keys(e).concat(Object.keys(t)))).reduce((n,r)=>{let i=r in e,o=r in t,s=e[r],a=t[r];return i&&o?lq(s)&&lq(a)?n[r]=lW(s,a):n[r]=a:i?n[r]=s:n[r]=a,n},{})}function lG({name:e,package:t,create:n,defaultOptions:r=[],meta:i}){return{create:e=>{let t=Array.from({length:Math.max(e.options.length,r.length)},(t,n)=>lq(e.options[n])&&lq(r[n])?lW(r[n],e.options[n]):e.options[n]??r[n]);return n(e,t)},defaultOptions:r,meta:{...i,docs:{...i.docs,url:`https://eslint.style/rules/${t}/${e}`}}}}const lH=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,l$=new Set(["\r\n","\r","\n","\u2028","\u2029"]),lK=/\r\n|[\r\n\u2028\u2029]/u,lz=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),lJ=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,lX=/^(?:[^\\]|\\.)*\\(?:[1-9]|0\d)/su;function lQ(e){return!!(e&&lH.test(e.type))}function lZ(e){let t;if(e)switch(e.type){case"ChainExpression":return lZ(e.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":case"ImportAttribute":t=e.key;break;case"MemberExpression":t=e.property}if(t){if("Identifier"===t.type&&!("computed"in e&&e.computed))return t.name;var n=t;switch(n.type){case"Literal":if(null!==n.value||"Literal"===n.type&&null===n.value&&!("regex"in n)&&!("bigint"in n))return String(n.value);if("regex"in n&&n.regex)return`/${n.regex.pattern}/${n.regex.flags}`;if("bigint"in n&&n.bigint)return n.bigint;break;case"TemplateLiteral":if(0===n.expressions.length&&1===n.quasis.length)return n.quasis[0].value.cooked}}return null}function l0(e){return e&&"ChainExpression"===e.type?e.expression:e}function l1(e){return t=>!e(t)}function l2(e,t){let n=e.getTokenBefore(t),r=e.getTokenAfter(t);return!!n&&!!r&&"("===n.value&&n.range[1]<=t.range[0]&&")"===r.value&&r.range[0]>=t.range[1]}function l3(e){return"="===e.value&&"Punctuator"===e.type}function l4(e){return","===e.value&&"Punctuator"===e.type}function l6(e){return"?."===e.value&&"Punctuator"===e.type}function l5(e){return";"===e.value&&"Punctuator"===e.type}function l9(e){return":"===e.value&&"Punctuator"===e.type}function l8(e){return"("===e.value&&"Punctuator"===e.type}function l7(e){return")"===e.value&&"Punctuator"===e.type}function ce(e){return"["===e.value&&"Punctuator"===e.type}function ct(e){return"]"===e.value&&"Punctuator"===e.type}function cn(e){return"{"===e.value&&"Punctuator"===e.type}function cr(e){return"}"===e.value&&"Punctuator"===e.type}function ci(e){return!!e&&("Line"===e.type||"Block"===e.type||"Shebang"===e.type)}function co(e){return"Keyword"===e.type}function cs(e){return"LogicalExpression"===e.type&&("&&"===e.operator||"||"===e.operator)}function ca(e){return"LogicalExpression"===e.type&&"??"===e.operator}function cl(e,t){return cs(e)&&ca(t)||ca(e)&&cs(t)}function cc(e){if("ExpressionStatement"!==e.type)return!1;let t=e.parent;return"Program"===t.type||"BlockStatement"===t.type&&lQ(t.parent)}function cp(e,t){return e?.loc?.end.line===t?.loc?.start.line}const cu=l1(l7),cf=l1(l4),cd=l1(l8),cm=l1(l5);function cg(e,t){return e[0]===t&&e[e.length-1]===t}function ch(e){switch(e.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(e.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(e.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:if(e.type in rM)return 20;return -1}}function cy(e,{column:t,line:n}){return t<e.lines[n-1].length?{column:t+1,line:n}:n<e.lines.length?{column:0,line:n+1}:null}function cE(e,t){let n,r,i={comment:!0,ecmaVersion:oA,range:!0};if("string"==typeof e){let t;try{t=ov(e,i)}catch{return!1}let r=t.comments;if(n=t[t.length-1],r.length){let e=r[r.length-1];(!n||e.range[0]>n.range[0])&&(n=e)}}else n=e;if("Shebang"===n.type||"Hashbang"===n.type)return!1;if("string"==typeof t){let e;try{e=ov(t,i)}catch{return!1}let n=e.comments;if(r=e[0],n.length){let e=n[0];(!r||e.range[0]<r.range[0])&&(r=e)}}else r=t;if("Punctuator"===n.type||"Punctuator"===r.type){if("Punctuator"===n.type&&"Punctuator"===r.type){let e=new Set(["+","++"]),t=new Set(["-","--"]);return!(e.has(n.value)&&e.has(r.value)||t.has(n.value)&&t.has(r.value))}return"Punctuator"!==n.type||"/"!==n.value||!["Block","Line","RegularExpression"].includes(r.type)}return!!("String"===n.type||"String"===r.type||"Template"===n.type||"Template"===r.type||"Numeric"!==n.type&&"Numeric"===r.type&&r.value.startsWith("."))||"Block"===n.type||"Block"===r.type||"Line"===r.type||"PrivateIdentifier"===r.type}function cT(e,t,n=1){let r,i;if(null==e||null==e.parent||"CatchClause"===e.parent.type&&e.parent.param===e)return!1;r=i=e;do r=t.getTokenBefore(r),i=t.getTokenAfter(i);while(null!=r&&null!=i&&"Punctuator"===r.type&&"("===r.value&&"Punctuator"===i.type&&")"===i.value&&r!==function(e,t){let n=e.parent;if(!n)return null;switch(n.type){case"CallExpression":case"NewExpression":if(1===n.arguments.length&&n.arguments[0]===e)return t.getTokenAfter(n.callee,l8);return null;case"DoWhileStatement":if(n.test===e)return t.getTokenAfter(n.body,l8);return null;case"IfStatement":case"WhileStatement":if(n.test===e)return t.getFirstToken(n,1);return null;case"ImportExpression":if(n.source===e)return t.getFirstToken(n,1);return null;case"SwitchStatement":if(n.discriminant===e)return t.getFirstToken(n,1);return null;case"WithStatement":if(n.object===e)return t.getFirstToken(n,1);return null;default:return null}}(e,t)&&--n>0);return 0===n}function cb(e){return/^[\u0020-\u007F]*$/u.test(e)?e.length:[...(t??=new Intl.Segmenter).segment(e)].length}const cS=(e,t)=>`Expected to find a ${e} for the ${t}.`;function cx(e,t){if(null==e)throw Error(`Non-null Assertion Failed: ${t}`);return e}const cP=["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"];class cv{constructor(e,t){this.fixer=e,this.sourceCode=t,this.retainedRange=null}retainedRange;retainRange(e){return this.retainedRange=e,this}retainEnclosingFunction(e){let t=function(e){for(let t=e;t;t=t.parent)if(lH.test(t.type))return t;return null}(e);return this.retainRange(t?t.range:this.sourceCode.ast.range)}retainSurroundingTokens(e){let t=this.sourceCode.getTokenBefore(e)||e,n=this.sourceCode.getTokenAfter(e)||e;return this.retainRange([t.range[0],n.range[1]])}replaceTextRange(e,t){let n;return n=this.retainedRange?[Math.min(this.retainedRange[0],e[0]),Math.max(this.retainedRange[1],e[1])]:e,this.fixer.replaceTextRange(n,this.sourceCode.text.slice(n[0],e[0])+t+this.sourceCode.text.slice(e[1],n[1]))}remove(e){return this.replaceTextRange(e.range,"")}}var ck={},c_={},cA={},cY={};const cC={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"]};for(const e of Object.keys(cC))Object.freeze(cC[e]);Object.freeze(cC);const cw=new Set(["parent","leadingComments","trailingComments"]);function cL(e){return!cw.has(e)&&"_"!==e[0]}function cI(e,t){let n=t.range[0],r=e,i=!1;do for(let e of(i=!1,r.childScopes)){let t=e.block.range;if(t[0]<=n&&n<t[1]){r=e,i=!0;break}}while(i);return r}function cO(e,t){let n="",r=e;for("string"==typeof t?n=t:(n=t.name,r=cI(r,t));null!=r;){let e=r.set.get(n);if(null!=e)return e;r=r.upper}return null}function cD(e){return t=>!e(t)}function cV(e,t){return"Punctuator"===e.type&&e.value===t}function cB(e){return cV(e,"=>")}function cN(e){return cV(e,",")}function cj(e){return cV(e,";")}function cM(e){return cV(e,":")}function cR(e){return cV(e,"(")}function cF(e){return cV(e,")")}function cU(e){return cV(e,"[")}function cq(e){return cV(e,"]")}function cW(e){return cV(e,"{")}function cG(e){return cV(e,"}")}function cH(e){return["Block","Line","Shebang"].includes(e.type)}const c$=cD(cB),cK=cD(cN),cz=cD(cj),cJ=cD(cM),cX=cD(cR),cQ=cD(cF),cZ=cD(cU),c0=cD(cq),c1=cD(cW),c2=cD(cG),c3=cD(cH);function c4(e,t){let n=e.parent,r=null,i=null;if("ArrowFunctionExpression"===e.type){let n=t.getTokenBefore(e.body,cB);r=n.loc.start,i=n.loc.end}else{var o,s;r="Property"===n.type||"MethodDefinition"===n.type||"PropertyDefinition"===n.type?n.loc.start:e.loc.start,i=(o=e,s=t,o.id?s.getTokenAfter(o.id,cR):s.getFirstToken(o,cR)).loc.start}return{start:{...r},end:{...i}}}const c6="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},c5=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"])),c9=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,"function"==typeof BigInt?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(e=>"random"!==e).map(e=>Math[e]).filter(e=>"function"==typeof e),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(e=>"function"==typeof e)),c8=new Set([Object.freeze,Object.preventExtensions,Object.seal]),c7=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function pe(e,t){let n=[];for(let r=0;r<e.length;++r){let i=e[r];if(null==i)n.length=r+1;else if("SpreadElement"===i.type){let e=pn(i.argument,t);if(null==e)return null;n.push(...e.value)}else{let e=pn(i,t);if(null==e)return null;n.push(e.value)}}return n}const pt=Object.freeze({ArrayExpression(e,t){let n=pe(e.elements,t);return null!=n?{value:n}:null},AssignmentExpression:(e,t)=>"="===e.operator?pn(e.right,t):null,BinaryExpression(e,t){if("in"===e.operator||"instanceof"===e.operator)return null;let n=pn(e.left,t),r=pn(e.right,t);if(null!=n&&null!=r)switch(e.operator){case"==":return{value:n.value==r.value};case"!=":return{value:n.value!=r.value};case"===":return{value:n.value===r.value};case"!==":return{value:n.value!==r.value};case"<":return{value:n.value<r.value};case"<=":return{value:n.value<=r.value};case">":return{value:n.value>r.value};case">=":return{value:n.value>=r.value};case"<<":return{value:n.value<<r.value};case">>":return{value:n.value>>r.value};case">>>":return{value:n.value>>>r.value};case"+":return{value:n.value+r.value};case"-":return{value:n.value-r.value};case"*":return{value:n.value*r.value};case"/":return{value:n.value/r.value};case"%":return{value:n.value%r.value};case"**":return{value:n.value**r.value};case"|":return{value:n.value|r.value};case"^":return{value:n.value^r.value};case"&":return{value:n.value&r.value}}return null},CallExpression(e,t){let n=e.callee,r=pe(e.arguments,t);if(null!=r)if("MemberExpression"===n.type){if("PrivateIdentifier"===n.property.type)return null;let i=pn(n.object,t);if(null!=i){if(null==i.value&&(i.optional||e.optional))return{value:void 0,optional:!0};let o=pr(n,t);if(null!=o){let e=i.value,t=o.value;if(c9.has(e[t]))return{value:e[t](...r)};if(c8.has(e[t]))return{value:r[0]}}}}else{let i=pn(n,t);if(null!=i){if(null==i.value&&e.optional)return{value:void 0,optional:!0};let t=i.value;if(c9.has(t))return{value:t(...r)};if(c8.has(t))return{value:r[0]}}}return null},ConditionalExpression(e,t){let n=pn(e.test,t);return null!=n?n.value?pn(e.consequent,t):pn(e.alternate,t):null},ExpressionStatement:(e,t)=>pn(e.expression,t),Identifier(e,t){if(null!=t){let n=cO(t,e);if(null!=n&&0===n.defs.length&&c5.has(n.name)&&n.name in c6)return{value:c6[n.name]};if(null!=n&&1===n.defs.length){let e=n.defs[0];if(e.parent&&"Variable"===e.type&&("const"===e.parent.kind||function(e){let t=e.references,n=t.filter(e=>e.init).length,r=t.filter(e=>e.isReadOnly()).length;return 1===n&&r+n===t.length}(n))&&"Identifier"===e.node.id.type)return pn(e.node.init,t)}}return null},Literal:e=>(null!=e.regex||null!=e.bigint)&&null==e.value?null:{value:e.value},LogicalExpression(e,t){let n=pn(e.left,t);if(null!=n){if("||"===e.operator&&!0==!!n.value||"&&"===e.operator&&!1==!!n.value||"??"===e.operator&&null!=n.value)return n;let r=pn(e.right,t);if(null!=r)return r}return null},MemberExpression(e,t){if("PrivateIdentifier"===e.property.type)return null;let n=pn(e.object,t);if(null!=n){if(null==n.value&&(n.optional||e.optional))return{value:void 0,optional:!0};let r=pr(e,t);if(null!=r){if(!function(e,t){let n=function(e,t){let n=e;for(;("object"==typeof n||"function"==typeof n)&&null!==n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=Object.getPrototypeOf(n)}return null}(e,t);return null!=n&&null!=n.get}(n.value,r.value))return{value:n.value[r.value]};for(let[e,t]of c7)if(n.value instanceof e&&t.has(r.value))return{value:n.value[r.value]}}}return null},ChainExpression(e,t){let n=pn(e.expression,t);return null!=n?{value:n.value}:null},NewExpression(e,t){let n=pn(e.callee,t),r=pe(e.arguments,t);if(null!=n&&null!=r){let e=n.value;if(c9.has(e))return{value:new e(...r)}}return null},ObjectExpression(e,t){let n={};for(let r of e.properties)if("Property"===r.type){if("init"!==r.kind)return null;let e=pr(r,t),i=pn(r.value,t);if(null==e||null==i)return null;n[e.value]=i.value}else{if("SpreadElement"!==r.type&&"ExperimentalSpreadProperty"!==r.type)return null;let e=pn(r.argument,t);if(null==e)return null;Object.assign(n,e.value)}return{value:n}},SequenceExpression:(e,t)=>pn(e.expressions[e.expressions.length-1],t),TaggedTemplateExpression(e,t){let n=pn(e.tag,t),r=pe(e.quasi.expressions,t);if(null!=n&&null!=r){let t=n.value,i=e.quasi.quasis.map(e=>e.value.cooked);if(i.raw=e.quasi.quasis.map(e=>e.value.raw),t===String.raw)return{value:t(i,...r)}}return null},TemplateLiteral(e,t){let n=pe(e.expressions,t);if(null!=n){let t=e.quasis[0].value.cooked;for(let r=0;r<n.length;++r)t+=n[r],t+=e.quasis[r+1].value.cooked;return{value:t}}return null},UnaryExpression(e,t){if("delete"===e.operator)return null;if("void"===e.operator)return{value:void 0};let n=pn(e.argument,t);if(null!=n)switch(e.operator){case"-":return{value:-n.value};case"+":return{value:+n.value};case"!":return{value:!n.value};case"~":return{value:~n.value};case"typeof":return{value:typeof n.value}}return null}});function pn(e,t){return null!=e&&Object.hasOwnProperty.call(pt,e.type)?pt[e.type](e,t):null}function pr(e,t){let n="Property"===e.type?e.key:e.property;return e.computed?pn(n,t):"Identifier"===n.type?{value:n.name}:"Literal"===n.type?n.bigint?{value:n.bigint}:{value:String(n.value)}:null}function pi(e,t=null){try{return pn(e,t)}catch(e){return null}}function po(e,t=null){if(e&&"Literal"===e.type&&null===e.value){if(e.regex)return`/${e.regex.pattern}/${e.regex.flags}`;if(e.bigint)return e.bigint}let n=pi(e,t);if(n)try{return String(n.value)}catch{}return null}function ps(e,t){switch(e.type){case"MemberExpression":if(e.computed)return po(e.property,t);if("PrivateIdentifier"===e.property.type)break;return e.property.name;case"Property":case"MethodDefinition":case"PropertyDefinition":if(e.computed)return po(e.key,t);if("Literal"===e.key.type)return String(e.key.value);if("PrivateIdentifier"===e.key.type)break;return e.key.name}return null}function pa(e,t){let n=e.parent,r=[],i="Property"===n.type&&n.value===e,o="MethodDefinition"===n.type&&n.value===e,s="PropertyDefinition"===n.type&&n.value===e;if((o||s)&&(n.static&&r.push("static"),"PrivateIdentifier"===n.key.type&&r.push("private")),e.async&&r.push("async"),e.generator&&r.push("generator"),i||o){if("constructor"===n.kind)return"constructor";"get"===n.kind?r.push("getter"):"set"===n.kind?r.push("setter"):r.push("method")}else s?r.push("method"):("ArrowFunctionExpression"===e.type&&r.push("arrow"),r.push("function"));if(i||o||s)if("PrivateIdentifier"===n.key.type)r.push(`#${n.key.name}`);else{let e=ps(n);if(e)r.push(`'${e}'`);else if(t){let e=t.getText(n.key);e.includes("\n")||r.push(`[${e}]`)}}else e.id?r.push(`'${e.id.name}'`):"VariableDeclarator"===n.type&&n.id&&"Identifier"===n.id.type?r.push(`'${n.id.name}'`):("AssignmentExpression"===n.type||"AssignmentPattern"===n.type)&&n.left&&"Identifier"===n.left.type?r.push(`'${n.left.name}'`):"ExportDefaultDeclaration"===n.type&&n.declaration===e&&r.push("'default'");return r.join(" ")}const pl=Object.freeze(new Set(["==","!=","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),pc=Object.freeze(new Set(["-","+","!","~"]));function pp(e){return null!==e&&"object"==typeof e&&"string"==typeof e.type}const pu=Object.freeze(Object.assign(Object.create(null),{$visit(e,t,n){let{type:r}=e;return"function"==typeof this[r]?this[r](e,t,n):this.$visitChildren(e,t,n)},$visitChildren(e,t,n){let{type:r}=e;for(let i of n[r]||Object.keys(e).filter(cL)){let r=e[i];if(Array.isArray(r)){for(let e of r)if(pp(e)&&this.$visit(e,t,n))return!0}else if(pp(r)&&this.$visit(r,t,n))return!0}return!1},ArrowFunctionExpression:()=>!1,AssignmentExpression:()=>!0,AwaitExpression:()=>!0,BinaryExpression(e,t,n){return!!(t.considerImplicitTypeConversion&&pl.has(e.operator))&&("Literal"!==e.left.type||"Literal"!==e.right.type)||this.$visitChildren(e,t,n)},CallExpression:()=>!0,FunctionExpression:()=>!1,ImportExpression:()=>!0,MemberExpression(e,t,n){return!!t.considerGetters||!!t.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.property.type||this.$visitChildren(e,t,n)},MethodDefinition(e,t,n){return!!t.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,t,n)},NewExpression:()=>!0,Property(e,t,n){return!!t.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,t,n)},PropertyDefinition(e,t,n){return!!t.considerImplicitTypeConversion&&!!e.computed&&"Literal"!==e.key.type||this.$visitChildren(e,t,n)},UnaryExpression(e,t,n){return!!("delete"===e.operator||t.considerImplicitTypeConversion&&pc.has(e.operator)&&"Literal"!==e.argument.type)||this.$visitChildren(e,t,n)},UpdateExpression:()=>!0,YieldExpression:()=>!0}));function pf(e,t,{considerGetters:n=!1,considerImplicitTypeConversion:r=!1}={}){return pu.$visit(e,{considerGetters:n,considerImplicitTypeConversion:r},t.visitorKeys||cC)}function pd(e,t,n){let r,i,o,s,a;if("number"==typeof e){if(r=0|e,i=t,o=n,!(r>=1))throw TypeError("'times' should be a positive integer.")}else r=1,i=e,o=t;if(null==i||null==i.parent||"CatchClause"===i.parent.type&&i.parent.param===i)return!1;s=a=i;do s=o.getTokenBefore(s),a=o.getTokenAfter(a);while(null!=s&&null!=a&&cR(s)&&cF(a)&&s!==function(e,t){let n=e.parent;switch(n.type){case"CallExpression":case"NewExpression":if(1===n.arguments.length&&n.arguments[0]===e)return t.getTokenAfter(n.callee,cR);return null;case"DoWhileStatement":if(n.test===e)return t.getTokenAfter(n.body,cR);return null;case"IfStatement":case"WhileStatement":if(n.test===e)return t.getFirstToken(n,1);return null;case"ImportExpression":if(n.source===e)return t.getFirstToken(n,1);return null;case"SwitchStatement":if(n.discriminant===e)return t.getFirstToken(n,1);return null;case"WithStatement":if(n.object===e)return t.getFirstToken(n,1);return null;default:return null}}(i,o)&&--r>0);return 0===r}const pm=/\$(?:[$&`']|[1-9][0-9]?)/gu,pg=new WeakMap;let ph=class{constructor(e,{escaped:t=!1}={}){if(!(e instanceof RegExp))throw TypeError("'pattern' should be a RegExp instance.");if(!e.flags.includes("g"))throw Error("'pattern' should contains 'g' flag.");pg.set(this,{pattern:new RegExp(e.source,e.flags),escaped:!!t})}*execAll(e){let{pattern:t,escaped:n}=pg.get(this),r=null,i=0;for(t.lastIndex=0;null!=(r=t.exec(e));)(n||!function(e,t){let n=!1;for(let r=t-1;r>=0&&92===e.charCodeAt(r);--r)n=!n;return n}(e,r.index))&&(i=t.lastIndex,yield r,t.lastIndex=i)}test(e){return!this.execAll(e).next().done}[Symbol.replace](e,t){return"function"==typeof t?function(e,t,n){let r=[],i=0;for(let o of e.execAll(t))r.push(t.slice(i,o.index)),r.push(String(n(...o,o.index,o.input))),i=o.index+o[0].length;return r.push(t.slice(i)),r.join("")}(this,String(e),t):function(e,t,n){let r=[],i=0,o=null;function s(e){switch(e){case"$$":return"$";case"$&":return o[0];case"$`":return t.slice(0,o.index);case"$'":return t.slice(o.index+o[0].length);default:{let t=e.slice(1);if(t in o)return o[t];return e}}}for(o of e.execAll(t))r.push(t.slice(i,o.index)),r.push(n.replace(pm,s)),i=o.index+o[0].length;return r.push(t.slice(i)),r.join("")}(this,String(e),String(t))}};const py=/^(?:Import|Export(?:All|Default|Named))Declaration$/u,pE=Function.call.bind(Object.hasOwnProperty),pT=Symbol("read"),pb=Symbol("call"),pS=Symbol("construct"),px=Symbol("esm"),pP={require:{[pb]:!0}};function pv(e){return null==e||0!==e.defs.length||e.references.some(e=>e.isWrite())}let pk=class{constructor(e,{mode:t="strict",globalObjectNames:n=["global","globalThis","self","window"]}={}){this.variableStack=[],this.globalScope=e,this.mode=t,this.globalObjectNames=n.slice(0)}*iterateGlobalReferences(e){for(let t of Object.keys(e)){let n=e[t],r=[t],i=this.globalScope.set.get(t);pv(i)||(yield*this._iterateVariableReferences(i,r,n,!0))}for(let t of this.globalObjectNames){let n=[],r=this.globalScope.set.get(t);pv(r)||(yield*this._iterateVariableReferences(r,n,e,!1))}}*iterateCjsReferences(e){for(let{node:t}of this.iterateGlobalReferences(pP)){let n=po(t.arguments[0]);if(null==n||!pE(e,n))continue;let r=e[n],i=[n];r[pT]&&(yield{node:t,path:i,type:pT,info:r[pT]}),yield*this._iteratePropertyReferences(t,i,r)}}*iterateEsmReferences(e){for(let t of this.globalScope.block.body){if(!py.test(t.type)||null==t.source)continue;let n=t.source.value;if(!pE(e,n))continue;let r=e[n],i=[n];if(r[pT]&&(yield{node:t,path:i,type:pT,info:r[pT]}),"ExportAllDeclaration"===t.type)for(let e of Object.keys(r)){let n=r[e];n[pT]&&(yield{node:t,path:i.concat(e),type:pT,info:n[pT]})}else for(let e of t.specifiers){let t=pE(r,px),n=this._iterateImportReferences(e,i,t?r:"legacy"===this.mode?{default:r,...r}:{default:r});if(t)yield*n;else for(let e of n)e.path=e.path.filter(p_),(e.path.length>=2||e.type!==pT)&&(yield e)}}}*iteratePropertyReferences(e,t){yield*this._iteratePropertyReferences(e,[],t)}*_iterateVariableReferences(e,t,n,r){if(!this.variableStack.includes(e)){this.variableStack.push(e);try{for(let i of e.references){if(!i.isRead())continue;let e=i.identifier;r&&n[pT]&&(yield{node:e,path:t,type:pT,info:n[pT]}),yield*this._iteratePropertyReferences(e,t,n)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(e,t,n){let r=e;for(;function(e){let t=e.parent;switch(t&&t.type){case"ConditionalExpression":return t.consequent===e||t.alternate===e;case"LogicalExpression":case"ChainExpression":return!0;case"SequenceExpression":return t.expressions[t.expressions.length-1]===e;default:return!1}}(r);)r=r.parent;let i=r.parent;if("MemberExpression"===i.type){if(i.object===r){let e=ps(i);if(null==e||!pE(n,e))return;t=t.concat(e);let r=n[e];r[pT]&&(yield{node:i,path:t,type:pT,info:r[pT]}),yield*this._iteratePropertyReferences(i,t,r)}return}if("CallExpression"===i.type){i.callee===r&&n[pb]&&(yield{node:i,path:t,type:pb,info:n[pb]});return}if("NewExpression"===i.type){i.callee===r&&n[pS]&&(yield{node:i,path:t,type:pS,info:n[pS]});return}if("AssignmentExpression"===i.type){i.right===r&&(yield*this._iterateLhsReferences(i.left,t,n),yield*this._iteratePropertyReferences(i,t,n));return}if("AssignmentPattern"===i.type){i.right===r&&(yield*this._iterateLhsReferences(i.left,t,n));return}"VariableDeclarator"===i.type&&i.init===r&&(yield*this._iterateLhsReferences(i.id,t,n))}*_iterateLhsReferences(e,t,n){if("Identifier"===e.type){let r=cO(this.globalScope,e);null!=r&&(yield*this._iterateVariableReferences(r,t,n,!1));return}if("ObjectPattern"===e.type){for(let r of e.properties){let e=ps(r);if(null==e||!pE(n,e))continue;let i=t.concat(e),o=n[e];o[pT]&&(yield{node:r,path:i,type:pT,info:o[pT]}),yield*this._iterateLhsReferences(r.value,i,o)}return}"AssignmentPattern"===e.type&&(yield*this._iterateLhsReferences(e.left,t,n))}*_iterateImportReferences(e,t,n){let r=e.type;if("ImportSpecifier"===r||"ImportDefaultSpecifier"===r){let i="ImportDefaultSpecifier"===r?"default":e.imported.name;if(!pE(n,i))return;t=t.concat(i);let o=n[i];o[pT]&&(yield{node:e,path:t,type:pT,info:o[pT]}),yield*this._iterateVariableReferences(cO(this.globalScope,e.local),t,o,!1);return}if("ImportNamespaceSpecifier"===r)return void(yield*this._iterateVariableReferences(cO(this.globalScope,e.local),t,n,!1));if("ExportSpecifier"===r){let r=e.local.name;if(!pE(n,r))return;t=t.concat(r);let i=n[r];i[pT]&&(yield{node:e,path:t,type:pT,info:i[pT]})}}};function p_(e,t){return 1!==t||"default"!==e}pk.READ=pT,pk.CALL=pb,pk.CONSTRUCT=pS,pk.ESM=px;var pA=Object.freeze({__proto__:null,CALL:pb,CONSTRUCT:pS,ESM:px,PatternMatcher:ph,READ:pT,ReferenceTracker:pk,default:{CALL:pb,CONSTRUCT:pS,ESM:px,findVariable:cO,getFunctionHeadLocation:c4,getFunctionNameWithKind:pa,getInnermostScope:cI,getPropertyName:ps,getStaticValue:pi,getStringIfConstant:po,hasSideEffect:pf,isArrowToken:cB,isClosingBraceToken:cG,isClosingBracketToken:cq,isClosingParenToken:cF,isColonToken:cM,isCommaToken:cN,isCommentToken:cH,isNotArrowToken:c$,isNotClosingBraceToken:c2,isNotClosingBracketToken:c0,isNotClosingParenToken:cQ,isNotColonToken:cJ,isNotCommaToken:cK,isNotCommentToken:c3,isNotOpeningBraceToken:c1,isNotOpeningBracketToken:cZ,isNotOpeningParenToken:cX,isNotSemicolonToken:cz,isOpeningBraceToken:cW,isOpeningBracketToken:cU,isOpeningParenToken:cR,isParenthesized:pd,isSemicolonToken:cj,PatternMatcher:ph,READ:pT,ReferenceTracker:pk},findVariable:cO,getFunctionHeadLocation:c4,getFunctionNameWithKind:pa,getInnermostScope:cI,getPropertyName:ps,getStaticValue:pi,getStringIfConstant:po,hasSideEffect:pf,isArrowToken:cB,isClosingBraceToken:cG,isClosingBracketToken:cq,isClosingParenToken:cF,isColonToken:cM,isCommaToken:cN,isCommentToken:cH,isNotArrowToken:c$,isNotClosingBraceToken:c2,isNotClosingBracketToken:c0,isNotClosingParenToken:cQ,isNotColonToken:cJ,isNotCommaToken:cK,isNotCommentToken:c3,isNotOpeningBraceToken:c1,isNotOpeningBracketToken:cZ,isNotOpeningParenToken:cX,isNotSemicolonToken:cz,isOpeningBraceToken:cW,isOpeningBracketToken:cU,isOpeningParenToken:cR,isParenthesized:pd,isSemicolonToken:cj}),pY=n7.g(pA),pC={},pw={},pL={},pI={},pO={};function pD(){return y?pO:(y=1,Object.defineProperty(pO,"__esModule",{value:!0}),pO.isNotTokenOfTypeWithConditions=pO.isTokenOfTypeWithConditions=pO.isNodeOfTypeWithConditions=pO.isNodeOfTypes=pO.isNodeOfType=void 0,pO.isNodeOfType=e=>t=>t?.type===e,pO.isNodeOfTypes=e=>t=>!!t&&e.includes(t.type),pO.isNodeOfTypeWithConditions=(e,t)=>{let n=Object.entries(t);return t=>t?.type===e&&n.every(([e,n])=>t[e]===n)},pO.isTokenOfTypeWithConditions=(e,t)=>{let n=Object.entries(t);return t=>t?.type===e&&n.every(([e,n])=>t[e]===n)},pO.isNotTokenOfTypeWithConditions=(e,t)=>n=>!(0,pO.isTokenOfTypeWithConditions)(e,t)(n),pO)}var pV={},pB={},pN={},pj={},pM={};function pR(){var e,t,n,r;return T?pM:(T=1,Object.defineProperty(pM,"__esModule",{value:!0}),pM.AST_TOKEN_TYPES=pM.AST_NODE_TYPES=void 0,(n=e||(pM.AST_NODE_TYPES=e={})).AccessorProperty="AccessorProperty",n.ArrayExpression="ArrayExpression",n.ArrayPattern="ArrayPattern",n.ArrowFunctionExpression="ArrowFunctionExpression",n.AssignmentExpression="AssignmentExpression",n.AssignmentPattern="AssignmentPattern",n.AwaitExpression="AwaitExpression",n.BinaryExpression="BinaryExpression",n.BlockStatement="BlockStatement",n.BreakStatement="BreakStatement",n.CallExpression="CallExpression",n.CatchClause="CatchClause",n.ChainExpression="ChainExpression",n.ClassBody="ClassBody",n.ClassDeclaration="ClassDeclaration",n.ClassExpression="ClassExpression",n.ConditionalExpression="ConditionalExpression",n.ContinueStatement="ContinueStatement",n.DebuggerStatement="DebuggerStatement",n.Decorator="Decorator",n.DoWhileStatement="DoWhileStatement",n.EmptyStatement="EmptyStatement",n.ExportAllDeclaration="ExportAllDeclaration",n.ExportDefaultDeclaration="ExportDefaultDeclaration",n.ExportNamedDeclaration="ExportNamedDeclaration",n.ExportSpecifier="ExportSpecifier",n.ExpressionStatement="ExpressionStatement",n.ForInStatement="ForInStatement",n.ForOfStatement="ForOfStatement",n.ForStatement="ForStatement",n.FunctionDeclaration="FunctionDeclaration",n.FunctionExpression="FunctionExpression",n.Identifier="Identifier",n.IfStatement="IfStatement",n.ImportAttribute="ImportAttribute",n.ImportDeclaration="ImportDeclaration",n.ImportDefaultSpecifier="ImportDefaultSpecifier",n.ImportExpression="ImportExpression",n.ImportNamespaceSpecifier="ImportNamespaceSpecifier",n.ImportSpecifier="ImportSpecifier",n.JSXAttribute="JSXAttribute",n.JSXClosingElement="JSXClosingElement",n.JSXClosingFragment="JSXClosingFragment",n.JSXElement="JSXElement",n.JSXEmptyExpression="JSXEmptyExpression",n.JSXExpressionContainer="JSXExpressionContainer",n.JSXFragment="JSXFragment",n.JSXIdentifier="JSXIdentifier",n.JSXMemberExpression="JSXMemberExpression",n.JSXNamespacedName="JSXNamespacedName",n.JSXOpeningElement="JSXOpeningElement",n.JSXOpeningFragment="JSXOpeningFragment",n.JSXSpreadAttribute="JSXSpreadAttribute",n.JSXSpreadChild="JSXSpreadChild",n.JSXText="JSXText",n.LabeledStatement="LabeledStatement",n.Literal="Literal",n.LogicalExpression="LogicalExpression",n.MemberExpression="MemberExpression",n.MetaProperty="MetaProperty",n.MethodDefinition="MethodDefinition",n.NewExpression="NewExpression",n.ObjectExpression="ObjectExpression",n.ObjectPattern="ObjectPattern",n.PrivateIdentifier="PrivateIdentifier",n.Program="Program",n.Property="Property",n.PropertyDefinition="PropertyDefinition",n.RestElement="RestElement",n.ReturnStatement="ReturnStatement",n.SequenceExpression="SequenceExpression",n.SpreadElement="SpreadElement",n.StaticBlock="StaticBlock",n.Super="Super",n.SwitchCase="SwitchCase",n.SwitchStatement="SwitchStatement",n.TaggedTemplateExpression="TaggedTemplateExpression",n.TemplateElement="TemplateElement",n.TemplateLiteral="TemplateLiteral",n.ThisExpression="ThisExpression",n.ThrowStatement="ThrowStatement",n.TryStatement="TryStatement",n.UnaryExpression="UnaryExpression",n.UpdateExpression="UpdateExpression",n.VariableDeclaration="VariableDeclaration",n.VariableDeclarator="VariableDeclarator",n.WhileStatement="WhileStatement",n.WithStatement="WithStatement",n.YieldExpression="YieldExpression",n.TSAbstractAccessorProperty="TSAbstractAccessorProperty",n.TSAbstractKeyword="TSAbstractKeyword",n.TSAbstractMethodDefinition="TSAbstractMethodDefinition",n.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",n.TSAnyKeyword="TSAnyKeyword",n.TSArrayType="TSArrayType",n.TSAsExpression="TSAsExpression",n.TSAsyncKeyword="TSAsyncKeyword",n.TSBigIntKeyword="TSBigIntKeyword",n.TSBooleanKeyword="TSBooleanKeyword",n.TSCallSignatureDeclaration="TSCallSignatureDeclaration",n.TSClassImplements="TSClassImplements",n.TSConditionalType="TSConditionalType",n.TSConstructorType="TSConstructorType",n.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",n.TSDeclareFunction="TSDeclareFunction",n.TSDeclareKeyword="TSDeclareKeyword",n.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",n.TSEnumBody="TSEnumBody",n.TSEnumDeclaration="TSEnumDeclaration",n.TSEnumMember="TSEnumMember",n.TSExportAssignment="TSExportAssignment",n.TSExportKeyword="TSExportKeyword",n.TSExternalModuleReference="TSExternalModuleReference",n.TSFunctionType="TSFunctionType",n.TSImportEqualsDeclaration="TSImportEqualsDeclaration",n.TSImportType="TSImportType",n.TSIndexedAccessType="TSIndexedAccessType",n.TSIndexSignature="TSIndexSignature",n.TSInferType="TSInferType",n.TSInstantiationExpression="TSInstantiationExpression",n.TSInterfaceBody="TSInterfaceBody",n.TSInterfaceDeclaration="TSInterfaceDeclaration",n.TSInterfaceHeritage="TSInterfaceHeritage",n.TSIntersectionType="TSIntersectionType",n.TSIntrinsicKeyword="TSIntrinsicKeyword",n.TSLiteralType="TSLiteralType",n.TSMappedType="TSMappedType",n.TSMethodSignature="TSMethodSignature",n.TSModuleBlock="TSModuleBlock",n.TSModuleDeclaration="TSModuleDeclaration",n.TSNamedTupleMember="TSNamedTupleMember",n.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",n.TSNeverKeyword="TSNeverKeyword",n.TSNonNullExpression="TSNonNullExpression",n.TSNullKeyword="TSNullKeyword",n.TSNumberKeyword="TSNumberKeyword",n.TSObjectKeyword="TSObjectKeyword",n.TSOptionalType="TSOptionalType",n.TSParameterProperty="TSParameterProperty",n.TSPrivateKeyword="TSPrivateKeyword",n.TSPropertySignature="TSPropertySignature",n.TSProtectedKeyword="TSProtectedKeyword",n.TSPublicKeyword="TSPublicKeyword",n.TSQualifiedName="TSQualifiedName",n.TSReadonlyKeyword="TSReadonlyKeyword",n.TSRestType="TSRestType",n.TSSatisfiesExpression="TSSatisfiesExpression",n.TSStaticKeyword="TSStaticKeyword",n.TSStringKeyword="TSStringKeyword",n.TSSymbolKeyword="TSSymbolKeyword",n.TSTemplateLiteralType="TSTemplateLiteralType",n.TSThisType="TSThisType",n.TSTupleType="TSTupleType",n.TSTypeAliasDeclaration="TSTypeAliasDeclaration",n.TSTypeAnnotation="TSTypeAnnotation",n.TSTypeAssertion="TSTypeAssertion",n.TSTypeLiteral="TSTypeLiteral",n.TSTypeOperator="TSTypeOperator",n.TSTypeParameter="TSTypeParameter",n.TSTypeParameterDeclaration="TSTypeParameterDeclaration",n.TSTypeParameterInstantiation="TSTypeParameterInstantiation",n.TSTypePredicate="TSTypePredicate",n.TSTypeQuery="TSTypeQuery",n.TSTypeReference="TSTypeReference",n.TSUndefinedKeyword="TSUndefinedKeyword",n.TSUnionType="TSUnionType",n.TSUnknownKeyword="TSUnknownKeyword",n.TSVoidKeyword="TSVoidKeyword",(r=t||(pM.AST_TOKEN_TYPES=t={})).Boolean="Boolean",r.Identifier="Identifier",r.JSXIdentifier="JSXIdentifier",r.JSXText="JSXText",r.Keyword="Keyword",r.Null="Null",r.Numeric="Numeric",r.Punctuator="Punctuator",r.RegularExpression="RegularExpression",r.String="String",r.Template="Template",r.Block="Block",r.Line="Line",pM)}var pF={},pU={},pq={};function pW(){var e,t,n;return P?pj:(P=1,e=pj&&pj.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=pj&&pj.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(pj,"__esModule",{value:!0}),pj.AST_TOKEN_TYPES=pj.AST_NODE_TYPES=void 0,n=pR(),Object.defineProperty(pj,"AST_NODE_TYPES",{enumerable:!0,get:function(){return n.AST_NODE_TYPES}}),Object.defineProperty(pj,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return n.AST_TOKEN_TYPES}}),t((b||(b=1,Object.defineProperty(pF,"__esModule",{value:!0})),pF),pj),t((S||(S=1,Object.defineProperty(pU,"__esModule",{value:!0})),pU),pj),t(function(){if(x)return pq;x=1;var e,t=pq&&pq.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=pq&&pq.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=pq&&pq.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s<o.length;s++)"default"!==o[s]&&t(i,r,o[s]);return n(i,r),i});return Object.defineProperty(pq,"__esModule",{value:!0}),pq.TSESTree=void 0,pq.TSESTree=r(pR()),pq}(),pj),pj)}function pG(){var e;return v?pN:(v=1,Object.defineProperty(pN,"__esModule",{value:!0}),pN.TSESTree=pN.AST_TOKEN_TYPES=pN.AST_NODE_TYPES=void 0,e=pW(),Object.defineProperty(pN,"AST_NODE_TYPES",{enumerable:!0,get:function(){return e.AST_NODE_TYPES}}),Object.defineProperty(pN,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return e.AST_TOKEN_TYPES}}),Object.defineProperty(pN,"TSESTree",{enumerable:!0,get:function(){return e.TSESTree}}),pN)}function pH(){var e,t;return _?c_:(_=1,e=c_&&c_.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=c_&&c_.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(c_,"__esModule",{value:!0}),t(function(){var e,t;return h?cA:(h=1,e=cA&&cA.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=cA&&cA.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(cA,"__esModule",{value:!0}),t(function(){if(u)return cY;u=1;var e,t=cY&&cY.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=cY&&cY.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=cY&&cY.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s<o.length;s++)"default"!==o[s]&&t(i,r,o[s]);return n(i,r),i});Object.defineProperty(cY,"__esModule",{value:!0}),cY.isParenthesized=cY.hasSideEffect=cY.getStringIfConstant=cY.getStaticValue=cY.getPropertyName=cY.getFunctionNameWithKind=cY.getFunctionHeadLocation=void 0;let i=r(pY);return cY.getFunctionHeadLocation=i.getFunctionHeadLocation,cY.getFunctionNameWithKind=i.getFunctionNameWithKind,cY.getPropertyName=i.getPropertyName,cY.getStaticValue=i.getStaticValue,cY.getStringIfConstant=i.getStringIfConstant,cY.hasSideEffect=i.hasSideEffect,cY.isParenthesized=i.isParenthesized,cY}(),cA),t(function(){if(f)return pC;f=1;var e,t=pC&&pC.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=pC&&pC.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=pC&&pC.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s<o.length;s++)"default"!==o[s]&&t(i,r,o[s]);return n(i,r),i});return Object.defineProperty(pC,"__esModule",{value:!0}),pC.PatternMatcher=void 0,pC.PatternMatcher=r(pY).PatternMatcher,pC}(),cA),t(function(){if(d)return pw;d=1;var e,t=pw&&pw.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=pw&&pw.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=pw&&pw.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s<o.length;s++)"default"!==o[s]&&t(i,r,o[s]);return n(i,r),i});Object.defineProperty(pw,"__esModule",{value:!0}),pw.isNotSemicolonToken=pw.isSemicolonToken=pw.isNotOpeningParenToken=pw.isOpeningParenToken=pw.isNotOpeningBracketToken=pw.isOpeningBracketToken=pw.isNotOpeningBraceToken=pw.isOpeningBraceToken=pw.isNotCommentToken=pw.isCommentToken=pw.isNotCommaToken=pw.isCommaToken=pw.isNotColonToken=pw.isColonToken=pw.isNotClosingParenToken=pw.isClosingParenToken=pw.isNotClosingBracketToken=pw.isClosingBracketToken=pw.isNotClosingBraceToken=pw.isClosingBraceToken=pw.isNotArrowToken=pw.isArrowToken=void 0;let i=r(pY);return pw.isArrowToken=i.isArrowToken,pw.isNotArrowToken=i.isNotArrowToken,pw.isClosingBraceToken=i.isClosingBraceToken,pw.isNotClosingBraceToken=i.isNotClosingBraceToken,pw.isClosingBracketToken=i.isClosingBracketToken,pw.isNotClosingBracketToken=i.isNotClosingBracketToken,pw.isClosingParenToken=i.isClosingParenToken,pw.isNotClosingParenToken=i.isNotClosingParenToken,pw.isColonToken=i.isColonToken,pw.isNotColonToken=i.isNotColonToken,pw.isCommaToken=i.isCommaToken,pw.isNotCommaToken=i.isNotCommaToken,pw.isCommentToken=i.isCommentToken,pw.isNotCommentToken=i.isNotCommentToken,pw.isOpeningBraceToken=i.isOpeningBraceToken,pw.isNotOpeningBraceToken=i.isNotOpeningBraceToken,pw.isOpeningBracketToken=i.isOpeningBracketToken,pw.isNotOpeningBracketToken=i.isNotOpeningBracketToken,pw.isOpeningParenToken=i.isOpeningParenToken,pw.isNotOpeningParenToken=i.isNotOpeningParenToken,pw.isSemicolonToken=i.isSemicolonToken,pw.isNotSemicolonToken=i.isNotSemicolonToken,pw}(),cA),t(function(){if(m)return pL;m=1;var e,t=pL&&pL.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=pL&&pL.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=pL&&pL.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s<o.length;s++)"default"!==o[s]&&t(i,r,o[s]);return n(i,r),i});Object.defineProperty(pL,"__esModule",{value:!0}),pL.ReferenceTracker=void 0;let i=r(pY);return i.ReferenceTracker.READ,i.ReferenceTracker.CALL,i.ReferenceTracker.CONSTRUCT,i.ReferenceTracker.ESM,pL.ReferenceTracker=i.ReferenceTracker,pL}(),cA),t(function(){if(g)return pI;g=1;var e,t=pI&&pI.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=pI&&pI.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=pI&&pI.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s<o.length;s++)"default"!==o[s]&&t(i,r,o[s]);return n(i,r),i});Object.defineProperty(pI,"__esModule",{value:!0}),pI.getInnermostScope=pI.findVariable=void 0;let i=r(pY);return pI.findVariable=i.findVariable,pI.getInnermostScope=i.getInnermostScope,pI}(),cA),cA)}(),c_),t(pD(),c_),t((E||(E=1,Object.defineProperty(pV,"__esModule",{value:!0}),pV.LINEBREAK_MATCHER=void 0,pV.isTokenOnSameLine=function(e,t){return e.loc.end.line===t.loc.start.line},pV.LINEBREAK_MATCHER=/\r\n|[\r\n\u2028\u2029]/),pV),c_),t(function(){if(k)return pB;k=1,Object.defineProperty(pB,"__esModule",{value:!0}),pB.isLoop=pB.isImportKeyword=pB.isTypeKeyword=pB.isAwaitKeyword=pB.isAwaitExpression=pB.isIdentifier=pB.isConstructor=pB.isClassOrTypeElement=pB.isTSConstructorType=pB.isTSFunctionType=pB.isFunctionOrFunctionType=pB.isFunctionType=pB.isFunction=pB.isVariableDeclarator=pB.isTypeAssertion=pB.isLogicalOrOperator=pB.isOptionalCallExpression=pB.isNotNonNullAssertionPunctuator=pB.isNonNullAssertionPunctuator=pB.isNotOptionalChainPunctuator=pB.isOptionalChainPunctuator=void 0,pB.isSetter=function(t){return!!t&&(t.type===e.AST_NODE_TYPES.MethodDefinition||t.type===e.AST_NODE_TYPES.Property)&&"set"===t.kind};let e=pG(),t=pD();pB.isOptionalChainPunctuator=(0,t.isTokenOfTypeWithConditions)(e.AST_TOKEN_TYPES.Punctuator,{value:"?."}),pB.isNotOptionalChainPunctuator=(0,t.isNotTokenOfTypeWithConditions)(e.AST_TOKEN_TYPES.Punctuator,{value:"?."}),pB.isNonNullAssertionPunctuator=(0,t.isTokenOfTypeWithConditions)(e.AST_TOKEN_TYPES.Punctuator,{value:"!"}),pB.isNotNonNullAssertionPunctuator=(0,t.isNotTokenOfTypeWithConditions)(e.AST_TOKEN_TYPES.Punctuator,{value:"!"}),pB.isOptionalCallExpression=(0,t.isNodeOfTypeWithConditions)(e.AST_NODE_TYPES.CallExpression,{optional:!0}),pB.isLogicalOrOperator=(0,t.isNodeOfTypeWithConditions)(e.AST_NODE_TYPES.LogicalExpression,{operator:"||"}),pB.isTypeAssertion=(0,t.isNodeOfTypes)([e.AST_NODE_TYPES.TSAsExpression,e.AST_NODE_TYPES.TSTypeAssertion]),pB.isVariableDeclarator=(0,t.isNodeOfType)(e.AST_NODE_TYPES.VariableDeclarator);let n=[e.AST_NODE_TYPES.ArrowFunctionExpression,e.AST_NODE_TYPES.FunctionDeclaration,e.AST_NODE_TYPES.FunctionExpression];pB.isFunction=(0,t.isNodeOfTypes)(n);let r=[e.AST_NODE_TYPES.TSCallSignatureDeclaration,e.AST_NODE_TYPES.TSConstructorType,e.AST_NODE_TYPES.TSConstructSignatureDeclaration,e.AST_NODE_TYPES.TSDeclareFunction,e.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,e.AST_NODE_TYPES.TSFunctionType,e.AST_NODE_TYPES.TSMethodSignature];return pB.isFunctionType=(0,t.isNodeOfTypes)(r),pB.isFunctionOrFunctionType=(0,t.isNodeOfTypes)([...n,...r]),pB.isTSFunctionType=(0,t.isNodeOfType)(e.AST_NODE_TYPES.TSFunctionType),pB.isTSConstructorType=(0,t.isNodeOfType)(e.AST_NODE_TYPES.TSConstructorType),pB.isClassOrTypeElement=(0,t.isNodeOfTypes)([e.AST_NODE_TYPES.PropertyDefinition,e.AST_NODE_TYPES.FunctionExpression,e.AST_NODE_TYPES.MethodDefinition,e.AST_NODE_TYPES.TSAbstractPropertyDefinition,e.AST_NODE_TYPES.TSAbstractMethodDefinition,e.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,e.AST_NODE_TYPES.TSIndexSignature,e.AST_NODE_TYPES.TSCallSignatureDeclaration,e.AST_NODE_TYPES.TSConstructSignatureDeclaration,e.AST_NODE_TYPES.TSMethodSignature,e.AST_NODE_TYPES.TSPropertySignature]),pB.isConstructor=(0,t.isNodeOfTypeWithConditions)(e.AST_NODE_TYPES.MethodDefinition,{kind:"constructor"}),pB.isIdentifier=(0,t.isNodeOfType)(e.AST_NODE_TYPES.Identifier),pB.isAwaitExpression=(0,t.isNodeOfType)(e.AST_NODE_TYPES.AwaitExpression),pB.isAwaitKeyword=(0,t.isTokenOfTypeWithConditions)(e.AST_TOKEN_TYPES.Identifier,{value:"await"}),pB.isTypeKeyword=(0,t.isTokenOfTypeWithConditions)(e.AST_TOKEN_TYPES.Identifier,{value:"type"}),pB.isImportKeyword=(0,t.isTokenOfTypeWithConditions)(e.AST_TOKEN_TYPES.Keyword,{value:"import"}),pB.isLoop=(0,t.isNodeOfTypes)([e.AST_NODE_TYPES.DoWhileStatement,e.AST_NODE_TYPES.ForStatement,e.AST_NODE_TYPES.ForInStatement,e.AST_NODE_TYPES.ForOfStatement,e.AST_NODE_TYPES.WhileStatement]),pB}(),c_),c_)}var p$={},pK={},pz={};function pJ(){if(A)return pz;function e(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}return A=1,Object.defineProperty(pz,"__esModule",{value:!0}),pz.isObjectNotArray=e,pz.deepMerge=function t(n={},r={}){return Object.fromEntries([...new Set([...Object.keys(n),...Object.keys(r)])].map(i=>{let o,s=i in n,a=i in r,l=n[i],c=r[i];return[i,s&&a?e(l)&&e(c)?t(l,c):c:s?l:c]}))},pz}function pX(){if(Y)return pK;Y=1,Object.defineProperty(pK,"__esModule",{value:!0}),pK.applyDefault=function(t,n){let r=structuredClone(t);return null==n||r.forEach((t,i)=>{if(void 0!==n[i]){let o=n[i];(0,e.isObjectNotArray)(o)&&(0,e.isObjectNotArray)(t)?r[i]=(0,e.deepMerge)(t,o):r[i]=o}}),r};let e=pJ();return pK}var pQ={},pZ={},p0={},p1={},p2={},p3={},p4={},p6={},p5={},p9={},p8={},p7=n7.g(r_);function ue(){if(j)return p8;j=1,Object.defineProperty(p8,"__esModule",{value:!0}),p8.FlatESLint=void 0;let e=p7;return p8.FlatESLint=class extends e.FlatESLint{},p8}var ut={},un={},ur=n7.g(rA),ui={},uo={},us={},ua={},ul={},uc={},up={},uu={},uf={},ud={},um=n7.g(rU),ug={};function uh(){var e,t;return z?uf:(z=1,Object.defineProperty(uf,"__esModule",{value:!0}),uf.visitorKeys=uf.getKeys=void 0,$||($=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.getKeys=void 0,ud.getKeys=um.getKeys),e=ud,Object.defineProperty(uf,"getKeys",{enumerable:!0,get:function(){return e.getKeys}}),t=function(){if(K)return ug;K=1;var e,t=ug&&ug.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=ug&&ug.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=ug&&ug.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=e(r),s=0;s<o.length;s++)"default"!==o[s]&&t(i,r,o[s]);return n(i,r),i});Object.defineProperty(ug,"__esModule",{value:!0}),ug.visitorKeys=void 0;let i=r(um),o=(()=>{let e=["typeParameters","params","returnType"],t=[...e,"body"];return{AbstractPropertyDefinition:["decorators","key","typeAnnotation"],AnonymousFunction:t,AsExpression:["expression","typeAnnotation"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeArguments","implements","body"],Function:["id",...t],FunctionType:e,PropertyDefinition:["decorators","key","typeAnnotation","value"]}})(),s={AccessorProperty:o.PropertyDefinition,ArrayPattern:["decorators","elements","typeAnnotation"],ArrowFunctionExpression:o.AnonymousFunction,AssignmentPattern:["decorators","left","right","typeAnnotation"],CallExpression:["callee","typeArguments","arguments"],ClassDeclaration:o.ClassDeclaration,ClassExpression:o.ClassDeclaration,Decorator:["expression"],ExportAllDeclaration:["exported","source","attributes"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],FunctionDeclaration:o.Function,FunctionExpression:o.Function,Identifier:["decorators","typeAnnotation"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportExpression:["source","options"],JSXClosingFragment:[],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:[],JSXSpreadChild:["expression"],MethodDefinition:["decorators","key","value"],NewExpression:["callee","typeArguments","arguments"],ObjectPattern:["decorators","properties","typeAnnotation"],PropertyDefinition:o.PropertyDefinition,RestElement:["decorators","argument","typeAnnotation"],StaticBlock:["body"],TaggedTemplateExpression:["tag","typeArguments","quasi"],TSAbstractAccessorProperty:o.AbstractPropertyDefinition,TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:o.AbstractPropertyDefinition,TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:o.AsExpression,TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:o.FunctionType,TSClassImplements:["expression","typeArguments"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:o.FunctionType,TSConstructSignatureDeclaration:o.FunctionType,TSDeclareFunction:o.Function,TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id",...o.FunctionType],TSEnumBody:["members"],TSEnumDeclaration:["id","body"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:o.FunctionType,TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["argument","qualifier","typeArguments","options"],TSIndexedAccessType:["indexType","objectType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInstantiationExpression:["expression","typeArguments"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeArguments"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSLiteralType:["literal"],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["typeParameters","key","params","returnType"],TSModuleBlock:["body"],TSModuleDeclaration:["id","body"],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:["id"],TSNeverKeyword:[],TSNonNullExpression:["expression"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:["typeAnnotation"],TSParameterProperty:["decorators","parameter"],TSPrivateKeyword:[],TSPropertySignature:["typeAnnotation","key"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSSatisfiesExpression:o.AsExpression,TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:["quasis","types"],TSThisType:[],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:["typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSTypeLiteral:["members"],TSTypeOperator:["typeAnnotation"],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:["params"],TSTypeParameterInstantiation:["params"],TSTypePredicate:["typeAnnotation","parameterName"],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:[],TSUnionType:["types"],TSUnknownKeyword:[],TSVoidKeyword:[]};return ug.visitorKeys=i.unionWith(s),ug}(),Object.defineProperty(uf,"visitorKeys",{enumerable:!0,get:function(){return t.visitorKeys}}),uf)}var uy={},uE={},uT={};function ub(){return J||(J=1,Object.defineProperty(uT,"__esModule",{value:!0}),uT.assert=function(e,t){if(null==e)throw Error(t)}),uT}var uS={},ux={},uP={},uv={};function uk(){if(X)return uv;X=1,Object.defineProperty(uv,"__esModule",{value:!0}),uv.createIdGenerator=function(){let n=t+=1;return e.set(n,0),()=>{let t=(e.get(n)??0)+1;return e.set(n,t),t}},uv.resetIds=function(){e.clear()};let e=new Map,t=0;return uv}function u_(){if(Q)return uP;Q=1,Object.defineProperty(uP,"__esModule",{value:!0}),uP.DefinitionBase=void 0;let e=(0,uk().createIdGenerator)();return uP.DefinitionBase=class{$id=e();type;name;node;parent;constructor(e,t,n,r){this.type=e,this.name=t,this.node=n,this.parent=r}},uP}var uA={};function uY(){var e,t;return Z?uA:(Z=1,Object.defineProperty(uA,"__esModule",{value:!0}),uA.DefinitionType=void 0,(t=e||(uA.DefinitionType=e={})).CatchClause="CatchClause",t.ClassName="ClassName",t.FunctionName="FunctionName",t.ImplicitGlobalVariable="ImplicitGlobalVariable",t.ImportBinding="ImportBinding",t.Parameter="Parameter",t.TSEnumName="TSEnumName",t.TSEnumMember="TSEnumMemberName",t.TSModuleName="TSModuleName",t.Type="Type",t.Variable="Variable",uA)}var uC={},uw={},uL={},uI={};function uO(){if(ei)return uI;ei=1,Object.defineProperty(uI,"__esModule",{value:!0}),uI.ImplicitGlobalVariableDefinition=void 0;let e=u_(),t=uY();return uI.ImplicitGlobalVariableDefinition=class extends e.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(e,n){super(t.DefinitionType.ImplicitGlobalVariable,e,n,null)}},uI}var uD={},uV={},uB={},uN={},uj={},uM={},uR={};function uF(){var e,t;return ef?uS:(ef=1,e=uS&&uS.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=uS&&uS.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(uS,"__esModule",{value:!0}),t(function(){if(ee)return ux;ee=1,Object.defineProperty(ux,"__esModule",{value:!0}),ux.CatchClauseDefinition=void 0;let e=u_(),t=uY();return ux.CatchClauseDefinition=class extends e.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(e,n){super(t.DefinitionType.CatchClause,e,n,null)}},ux}(),uS),t(function(){if(et)return uC;et=1,Object.defineProperty(uC,"__esModule",{value:!0}),uC.ClassNameDefinition=void 0;let e=u_(),t=uY();return uC.ClassNameDefinition=class extends e.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(e,n){super(t.DefinitionType.ClassName,e,n,null)}},uC}(),uS),t((en||(en=1,Object.defineProperty(uw,"__esModule",{value:!0})),uw),uS),t(uY(),uS),t(function(){if(er)return uL;er=1,Object.defineProperty(uL,"__esModule",{value:!0}),uL.FunctionNameDefinition=void 0;let e=u_(),t=uY();return uL.FunctionNameDefinition=class extends e.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(e,n){super(t.DefinitionType.FunctionName,e,n,null)}},uL}(),uS),t(uO(),uS),t(function(){if(eo)return uD;eo=1,Object.defineProperty(uD,"__esModule",{value:!0}),uD.ImportBindingDefinition=void 0;let e=u_(),t=uY();return uD.ImportBindingDefinition=class extends e.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(e,n,r){super(t.DefinitionType.ImportBinding,e,n,r)}},uD}(),uS),t(function(){if(es)return uV;es=1,Object.defineProperty(uV,"__esModule",{value:!0}),uV.ParameterDefinition=void 0;let e=u_(),t=uY();return uV.ParameterDefinition=class extends e.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;rest;constructor(e,n,r){super(t.DefinitionType.Parameter,e,n,null),this.rest=r}},uV}(),uS),t(function(){if(ea)return uB;ea=1,Object.defineProperty(uB,"__esModule",{value:!0}),uB.TSEnumMemberDefinition=void 0;let e=u_(),t=uY();return uB.TSEnumMemberDefinition=class extends e.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(e,n){super(t.DefinitionType.TSEnumMember,e,n,null)}},uB}(),uS),t(function(){if(el)return uN;el=1,Object.defineProperty(uN,"__esModule",{value:!0}),uN.TSEnumNameDefinition=void 0;let e=u_(),t=uY();return uN.TSEnumNameDefinition=class extends e.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(e,n){super(t.DefinitionType.TSEnumName,e,n,null)}},uN}(),uS),t(function(){if(ec)return uj;ec=1,Object.defineProperty(uj,"__esModule",{value:!0}),uj.TSModuleNameDefinition=void 0;let e=u_(),t=uY();return uj.TSModuleNameDefinition=class extends e.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(e,n){super(t.DefinitionType.TSModuleName,e,n,null)}},uj}(),uS),t(function(){if(ep)return uM;ep=1,Object.defineProperty(uM,"__esModule",{value:!0}),uM.TypeDefinition=void 0;let e=u_(),t=uY();return uM.TypeDefinition=class extends e.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!1;constructor(e,n){super(t.DefinitionType.Type,e,n,null)}},uM}(),uS),t(function(){if(eu)return uR;eu=1,Object.defineProperty(uR,"__esModule",{value:!0}),uR.VariableDefinition=void 0;let e=u_(),t=uY();return uR.VariableDefinition=class extends e.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(e,n,r){super(t.DefinitionType.Variable,e,n,r)}},uR}(),uS),uS)}var uU={},uq={},uW={};function uG(){return ed||(ed=1,Object.defineProperty(uW,"__esModule",{value:!0}),uW.TYPE_VALUE=uW.VALUE=uW.TYPE=void 0,uW.TYPE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1}),uW.VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!1,isValueVariable:!0}),uW.TYPE_VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!0})),uW}function uH(){if(em)return uq;em=1,Object.defineProperty(uq,"__esModule",{value:!0}),uq.decorators=void 0;let e=uG();return uq.decorators={libs:[],variables:[["ClassMemberDecoratorContext",e.TYPE],["DecoratorContext",e.TYPE],["DecoratorMetadataObject",e.TYPE],["DecoratorMetadata",e.TYPE],["ClassDecoratorContext",e.TYPE],["ClassMethodDecoratorContext",e.TYPE],["ClassGetterDecoratorContext",e.TYPE],["ClassSetterDecoratorContext",e.TYPE],["ClassAccessorDecoratorContext",e.TYPE],["ClassAccessorDecoratorTarget",e.TYPE],["ClassAccessorDecoratorResult",e.TYPE],["ClassFieldDecoratorContext",e.TYPE]]},uq}var u$={};function uK(){if(eg)return u$;eg=1,Object.defineProperty(u$,"__esModule",{value:!0}),u$.decorators_legacy=void 0;let e=uG();return u$.decorators_legacy={libs:[],variables:[["ClassDecorator",e.TYPE],["PropertyDecorator",e.TYPE],["MethodDecorator",e.TYPE],["ParameterDecorator",e.TYPE]]},u$}var uz={};function uJ(){if(eh)return uz;eh=1,Object.defineProperty(uz,"__esModule",{value:!0}),uz.dom=void 0;let e=uG();return uz.dom={libs:[],variables:[["AddEventListenerOptions",e.TYPE],["AddressErrors",e.TYPE],["AesCbcParams",e.TYPE],["AesCtrParams",e.TYPE],["AesDerivedKeyParams",e.TYPE],["AesGcmParams",e.TYPE],["AesKeyAlgorithm",e.TYPE],["AesKeyGenParams",e.TYPE],["Algorithm",e.TYPE],["AnalyserOptions",e.TYPE],["AnimationEventInit",e.TYPE],["AnimationPlaybackEventInit",e.TYPE],["AssignedNodesOptions",e.TYPE],["AudioBufferOptions",e.TYPE],["AudioBufferSourceOptions",e.TYPE],["AudioConfiguration",e.TYPE],["AudioContextOptions",e.TYPE],["AudioDataCopyToOptions",e.TYPE],["AudioDataInit",e.TYPE],["AudioDecoderConfig",e.TYPE],["AudioDecoderInit",e.TYPE],["AudioDecoderSupport",e.TYPE],["AudioEncoderConfig",e.TYPE],["AudioEncoderInit",e.TYPE],["AudioEncoderSupport",e.TYPE],["AudioNodeOptions",e.TYPE],["AudioProcessingEventInit",e.TYPE],["AudioTimestamp",e.TYPE],["AudioWorkletNodeOptions",e.TYPE],["AuthenticationExtensionsClientInputs",e.TYPE],["AuthenticationExtensionsClientInputsJSON",e.TYPE],["AuthenticationExtensionsClientOutputs",e.TYPE],["AuthenticationExtensionsPRFInputs",e.TYPE],["AuthenticationExtensionsPRFOutputs",e.TYPE],["AuthenticationExtensionsPRFValues",e.TYPE],["AuthenticatorSelectionCriteria",e.TYPE],["AvcEncoderConfig",e.TYPE],["BiquadFilterOptions",e.TYPE],["BlobEventInit",e.TYPE],["BlobPropertyBag",e.TYPE],["CSSMatrixComponentOptions",e.TYPE],["CSSNumericType",e.TYPE],["CSSStyleSheetInit",e.TYPE],["CacheQueryOptions",e.TYPE],["CanvasRenderingContext2DSettings",e.TYPE],["CaretPositionFromPointOptions",e.TYPE],["ChannelMergerOptions",e.TYPE],["ChannelSplitterOptions",e.TYPE],["CheckVisibilityOptions",e.TYPE],["ClientQueryOptions",e.TYPE],["ClipboardEventInit",e.TYPE],["ClipboardItemOptions",e.TYPE],["CloseEventInit",e.TYPE],["CompositionEventInit",e.TYPE],["ComputedEffectTiming",e.TYPE],["ComputedKeyframe",e.TYPE],["ConstantSourceOptions",e.TYPE],["ConstrainBooleanParameters",e.TYPE],["ConstrainDOMStringParameters",e.TYPE],["ConstrainDoubleRange",e.TYPE],["ConstrainULongRange",e.TYPE],["ContentVisibilityAutoStateChangeEventInit",e.TYPE],["ConvolverOptions",e.TYPE],["CredentialCreationOptions",e.TYPE],["CredentialPropertiesOutput",e.TYPE],["CredentialRequestOptions",e.TYPE],["CryptoKeyPair",e.TYPE],["CustomEventInit",e.TYPE],["DOMMatrix2DInit",e.TYPE],["DOMMatrixInit",e.TYPE],["DOMPointInit",e.TYPE],["DOMQuadInit",e.TYPE],["DOMRectInit",e.TYPE],["DelayOptions",e.TYPE],["DeviceMotionEventAccelerationInit",e.TYPE],["DeviceMotionEventInit",e.TYPE],["DeviceMotionEventRotationRateInit",e.TYPE],["DeviceOrientationEventInit",e.TYPE],["DisplayMediaStreamOptions",e.TYPE],["DocumentTimelineOptions",e.TYPE],["DoubleRange",e.TYPE],["DragEventInit",e.TYPE],["DynamicsCompressorOptions",e.TYPE],["EcKeyAlgorithm",e.TYPE],["EcKeyGenParams",e.TYPE],["EcKeyImportParams",e.TYPE],["EcdhKeyDeriveParams",e.TYPE],["EcdsaParams",e.TYPE],["EffectTiming",e.TYPE],["ElementCreationOptions",e.TYPE],["ElementDefinitionOptions",e.TYPE],["EncodedAudioChunkInit",e.TYPE],["EncodedAudioChunkMetadata",e.TYPE],["EncodedVideoChunkInit",e.TYPE],["EncodedVideoChunkMetadata",e.TYPE],["ErrorEventInit",e.TYPE],["EventInit",e.TYPE],["EventListenerOptions",e.TYPE],["EventModifierInit",e.TYPE],["EventSourceInit",e.TYPE],["FilePropertyBag",e.TYPE],["FileSystemCreateWritableOptions",e.TYPE],["FileSystemFlags",e.TYPE],["FileSystemGetDirectoryOptions",e.TYPE],["FileSystemGetFileOptions",e.TYPE],["FileSystemRemoveOptions",e.TYPE],["FocusEventInit",e.TYPE],["FocusOptions",e.TYPE],["FontFaceDescriptors",e.TYPE],["FontFaceSetLoadEventInit",e.TYPE],["FormDataEventInit",e.TYPE],["FullscreenOptions",e.TYPE],["GainOptions",e.TYPE],["GamepadEffectParameters",e.TYPE],["GamepadEventInit",e.TYPE],["GetAnimationsOptions",e.TYPE],["GetHTMLOptions",e.TYPE],["GetNotificationOptions",e.TYPE],["GetRootNodeOptions",e.TYPE],["HashChangeEventInit",e.TYPE],["HkdfParams",e.TYPE],["HmacImportParams",e.TYPE],["HmacKeyAlgorithm",e.TYPE],["HmacKeyGenParams",e.TYPE],["IDBDatabaseInfo",e.TYPE],["IDBIndexParameters",e.TYPE],["IDBObjectStoreParameters",e.TYPE],["IDBTransactionOptions",e.TYPE],["IDBVersionChangeEventInit",e.TYPE],["IIRFilterOptions",e.TYPE],["IdleRequestOptions",e.TYPE],["ImageBitmapOptions",e.TYPE],["ImageBitmapRenderingContextSettings",e.TYPE],["ImageDataSettings",e.TYPE],["ImageDecodeOptions",e.TYPE],["ImageDecodeResult",e.TYPE],["ImageDecoderInit",e.TYPE],["ImageEncodeOptions",e.TYPE],["InputEventInit",e.TYPE],["IntersectionObserverInit",e.TYPE],["JsonWebKey",e.TYPE],["KeyAlgorithm",e.TYPE],["KeyboardEventInit",e.TYPE],["Keyframe",e.TYPE],["KeyframeAnimationOptions",e.TYPE],["KeyframeEffectOptions",e.TYPE],["LockInfo",e.TYPE],["LockManagerSnapshot",e.TYPE],["LockOptions",e.TYPE],["MIDIConnectionEventInit",e.TYPE],["MIDIMessageEventInit",e.TYPE],["MIDIOptions",e.TYPE],["MediaCapabilitiesDecodingInfo",e.TYPE],["MediaCapabilitiesEncodingInfo",e.TYPE],["MediaCapabilitiesInfo",e.TYPE],["MediaConfiguration",e.TYPE],["MediaDecodingConfiguration",e.TYPE],["MediaElementAudioSourceOptions",e.TYPE],["MediaEncodingConfiguration",e.TYPE],["MediaEncryptedEventInit",e.TYPE],["MediaImage",e.TYPE],["MediaKeyMessageEventInit",e.TYPE],["MediaKeySystemConfiguration",e.TYPE],["MediaKeySystemMediaCapability",e.TYPE],["MediaKeysPolicy",e.TYPE],["MediaMetadataInit",e.TYPE],["MediaPositionState",e.TYPE],["MediaQueryListEventInit",e.TYPE],["MediaRecorderOptions",e.TYPE],["MediaSessionActionDetails",e.TYPE],["MediaStreamAudioSourceOptions",e.TYPE],["MediaStreamConstraints",e.TYPE],["MediaStreamTrackEventInit",e.TYPE],["MediaTrackCapabilities",e.TYPE],["MediaTrackConstraintSet",e.TYPE],["MediaTrackConstraints",e.TYPE],["MediaTrackSettings",e.TYPE],["MediaTrackSupportedConstraints",e.TYPE],["MessageEventInit",e.TYPE],["MouseEventInit",e.TYPE],["MultiCacheQueryOptions",e.TYPE],["MutationObserverInit",e.TYPE],["NavigationPreloadState",e.TYPE],["NotificationOptions",e.TYPE],["OfflineAudioCompletionEventInit",e.TYPE],["OfflineAudioContextOptions",e.TYPE],["OptionalEffectTiming",e.TYPE],["OpusEncoderConfig",e.TYPE],["OscillatorOptions",e.TYPE],["PageRevealEventInit",e.TYPE],["PageSwapEventInit",e.TYPE],["PageTransitionEventInit",e.TYPE],["PannerOptions",e.TYPE],["PayerErrors",e.TYPE],["PaymentCurrencyAmount",e.TYPE],["PaymentDetailsBase",e.TYPE],["PaymentDetailsInit",e.TYPE],["PaymentDetailsModifier",e.TYPE],["PaymentDetailsUpdate",e.TYPE],["PaymentItem",e.TYPE],["PaymentMethodChangeEventInit",e.TYPE],["PaymentMethodData",e.TYPE],["PaymentOptions",e.TYPE],["PaymentRequestUpdateEventInit",e.TYPE],["PaymentShippingOption",e.TYPE],["PaymentValidationErrors",e.TYPE],["Pbkdf2Params",e.TYPE],["PerformanceMarkOptions",e.TYPE],["PerformanceMeasureOptions",e.TYPE],["PerformanceObserverInit",e.TYPE],["PeriodicWaveConstraints",e.TYPE],["PeriodicWaveOptions",e.TYPE],["PermissionDescriptor",e.TYPE],["PictureInPictureEventInit",e.TYPE],["PlaneLayout",e.TYPE],["PointerEventInit",e.TYPE],["PointerLockOptions",e.TYPE],["PopStateEventInit",e.TYPE],["PositionOptions",e.TYPE],["ProgressEventInit",e.TYPE],["PromiseRejectionEventInit",e.TYPE],["PropertyDefinition",e.TYPE],["PropertyIndexedKeyframes",e.TYPE],["PublicKeyCredentialCreationOptions",e.TYPE],["PublicKeyCredentialCreationOptionsJSON",e.TYPE],["PublicKeyCredentialDescriptor",e.TYPE],["PublicKeyCredentialDescriptorJSON",e.TYPE],["PublicKeyCredentialEntity",e.TYPE],["PublicKeyCredentialParameters",e.TYPE],["PublicKeyCredentialRequestOptions",e.TYPE],["PublicKeyCredentialRequestOptionsJSON",e.TYPE],["PublicKeyCredentialRpEntity",e.TYPE],["PublicKeyCredentialUserEntity",e.TYPE],["PublicKeyCredentialUserEntityJSON",e.TYPE],["PushSubscriptionJSON",e.TYPE],["PushSubscriptionOptionsInit",e.TYPE],["QueuingStrategy",e.TYPE],["QueuingStrategyInit",e.TYPE],["RTCAnswerOptions",e.TYPE],["RTCCertificateExpiration",e.TYPE],["RTCConfiguration",e.TYPE],["RTCDTMFToneChangeEventInit",e.TYPE],["RTCDataChannelEventInit",e.TYPE],["RTCDataChannelInit",e.TYPE],["RTCDtlsFingerprint",e.TYPE],["RTCEncodedAudioFrameMetadata",e.TYPE],["RTCEncodedVideoFrameMetadata",e.TYPE],["RTCErrorEventInit",e.TYPE],["RTCErrorInit",e.TYPE],["RTCIceCandidateInit",e.TYPE],["RTCIceCandidatePairStats",e.TYPE],["RTCIceServer",e.TYPE],["RTCInboundRtpStreamStats",e.TYPE],["RTCLocalSessionDescriptionInit",e.TYPE],["RTCOfferAnswerOptions",e.TYPE],["RTCOfferOptions",e.TYPE],["RTCOutboundRtpStreamStats",e.TYPE],["RTCPeerConnectionIceErrorEventInit",e.TYPE],["RTCPeerConnectionIceEventInit",e.TYPE],["RTCReceivedRtpStreamStats",e.TYPE],["RTCRtcpParameters",e.TYPE],["RTCRtpCapabilities",e.TYPE],["RTCRtpCodec",e.TYPE],["RTCRtpCodecParameters",e.TYPE],["RTCRtpCodingParameters",e.TYPE],["RTCRtpContributingSource",e.TYPE],["RTCRtpEncodingParameters",e.TYPE],["RTCRtpHeaderExtensionCapability",e.TYPE],["RTCRtpHeaderExtensionParameters",e.TYPE],["RTCRtpParameters",e.TYPE],["RTCRtpReceiveParameters",e.TYPE],["RTCRtpSendParameters",e.TYPE],["RTCRtpStreamStats",e.TYPE],["RTCRtpSynchronizationSource",e.TYPE],["RTCRtpTransceiverInit",e.TYPE],["RTCSentRtpStreamStats",e.TYPE],["RTCSessionDescriptionInit",e.TYPE],["RTCSetParameterOptions",e.TYPE],["RTCStats",e.TYPE],["RTCTrackEventInit",e.TYPE],["RTCTransportStats",e.TYPE],["ReadableStreamGetReaderOptions",e.TYPE],["ReadableStreamIteratorOptions",e.TYPE],["ReadableStreamReadDoneResult",e.TYPE],["ReadableStreamReadValueResult",e.TYPE],["ReadableWritablePair",e.TYPE],["RegistrationOptions",e.TYPE],["ReportingObserverOptions",e.TYPE],["RequestInit",e.TYPE],["ResizeObserverOptions",e.TYPE],["ResponseInit",e.TYPE],["RsaHashedImportParams",e.TYPE],["RsaHashedKeyAlgorithm",e.TYPE],["RsaHashedKeyGenParams",e.TYPE],["RsaKeyAlgorithm",e.TYPE],["RsaKeyGenParams",e.TYPE],["RsaOaepParams",e.TYPE],["RsaOtherPrimesInfo",e.TYPE],["RsaPssParams",e.TYPE],["SVGBoundingBoxOptions",e.TYPE],["ScrollIntoViewOptions",e.TYPE],["ScrollOptions",e.TYPE],["ScrollToOptions",e.TYPE],["SecurityPolicyViolationEventInit",e.TYPE],["ShadowRootInit",e.TYPE],["ShareData",e.TYPE],["SpeechSynthesisErrorEventInit",e.TYPE],["SpeechSynthesisEventInit",e.TYPE],["StaticRangeInit",e.TYPE],["StereoPannerOptions",e.TYPE],["StorageEstimate",e.TYPE],["StorageEventInit",e.TYPE],["StreamPipeOptions",e.TYPE],["StructuredSerializeOptions",e.TYPE],["SubmitEventInit",e.TYPE],["TextDecodeOptions",e.TYPE],["TextDecoderOptions",e.TYPE],["TextEncoderEncodeIntoResult",e.TYPE],["ToggleEventInit",e.TYPE],["TouchEventInit",e.TYPE],["TouchInit",e.TYPE],["TrackEventInit",e.TYPE],["Transformer",e.TYPE],["TransitionEventInit",e.TYPE],["UIEventInit",e.TYPE],["ULongRange",e.TYPE],["UnderlyingByteSource",e.TYPE],["UnderlyingDefaultSource",e.TYPE],["UnderlyingSink",e.TYPE],["UnderlyingSource",e.TYPE],["ValidityStateFlags",e.TYPE],["VideoColorSpaceInit",e.TYPE],["VideoConfiguration",e.TYPE],["VideoDecoderConfig",e.TYPE],["VideoDecoderInit",e.TYPE],["VideoDecoderSupport",e.TYPE],["VideoEncoderConfig",e.TYPE],["VideoEncoderEncodeOptions",e.TYPE],["VideoEncoderEncodeOptionsForAvc",e.TYPE],["VideoEncoderInit",e.TYPE],["VideoEncoderSupport",e.TYPE],["VideoFrameBufferInit",e.TYPE],["VideoFrameCallbackMetadata",e.TYPE],["VideoFrameCopyToOptions",e.TYPE],["VideoFrameInit",e.TYPE],["WaveShaperOptions",e.TYPE],["WebGLContextAttributes",e.TYPE],["WebGLContextEventInit",e.TYPE],["WebTransportCloseInfo",e.TYPE],["WebTransportErrorOptions",e.TYPE],["WebTransportHash",e.TYPE],["WebTransportOptions",e.TYPE],["WebTransportSendStreamOptions",e.TYPE],["WheelEventInit",e.TYPE],["WindowPostMessageOptions",e.TYPE],["WorkerOptions",e.TYPE],["WorkletOptions",e.TYPE],["WriteParams",e.TYPE],["NodeFilter",e.TYPE_VALUE],["XPathNSResolver",e.TYPE],["ANGLE_instanced_arrays",e.TYPE],["ARIAMixin",e.TYPE],["AbortController",e.TYPE_VALUE],["AbortSignalEventMap",e.TYPE],["AbortSignal",e.TYPE_VALUE],["AbstractRange",e.TYPE_VALUE],["AbstractWorkerEventMap",e.TYPE],["AbstractWorker",e.TYPE],["AnalyserNode",e.TYPE_VALUE],["Animatable",e.TYPE],["AnimationEventMap",e.TYPE],["Animation",e.TYPE_VALUE],["AnimationEffect",e.TYPE_VALUE],["AnimationEvent",e.TYPE_VALUE],["AnimationFrameProvider",e.TYPE],["AnimationPlaybackEvent",e.TYPE_VALUE],["AnimationTimeline",e.TYPE_VALUE],["Attr",e.TYPE_VALUE],["AudioBuffer",e.TYPE_VALUE],["AudioBufferSourceNode",e.TYPE_VALUE],["AudioContext",e.TYPE_VALUE],["AudioData",e.TYPE_VALUE],["AudioDecoderEventMap",e.TYPE],["AudioDecoder",e.TYPE_VALUE],["AudioDestinationNode",e.TYPE_VALUE],["AudioEncoderEventMap",e.TYPE],["AudioEncoder",e.TYPE_VALUE],["AudioListener",e.TYPE_VALUE],["AudioNode",e.TYPE_VALUE],["AudioParam",e.TYPE_VALUE],["AudioParamMap",e.TYPE_VALUE],["AudioProcessingEvent",e.TYPE_VALUE],["AudioScheduledSourceNodeEventMap",e.TYPE],["AudioScheduledSourceNode",e.TYPE_VALUE],["AudioWorklet",e.TYPE_VALUE],["AudioWorkletNodeEventMap",e.TYPE],["AudioWorkletNode",e.TYPE_VALUE],["AuthenticatorAssertionResponse",e.TYPE_VALUE],["AuthenticatorAttestationResponse",e.TYPE_VALUE],["AuthenticatorResponse",e.TYPE_VALUE],["BarProp",e.TYPE_VALUE],["BaseAudioContextEventMap",e.TYPE],["BaseAudioContext",e.TYPE_VALUE],["BeforeUnloadEvent",e.TYPE_VALUE],["BiquadFilterNode",e.TYPE_VALUE],["Blob",e.TYPE_VALUE],["BlobEvent",e.TYPE_VALUE],["Body",e.TYPE],["BroadcastChannelEventMap",e.TYPE],["BroadcastChannel",e.TYPE_VALUE],["ByteLengthQueuingStrategy",e.TYPE_VALUE],["CDATASection",e.TYPE_VALUE],["CSSAnimation",e.TYPE_VALUE],["CSSConditionRule",e.TYPE_VALUE],["CSSContainerRule",e.TYPE_VALUE],["CSSCounterStyleRule",e.TYPE_VALUE],["CSSFontFaceRule",e.TYPE_VALUE],["CSSFontFeatureValuesRule",e.TYPE_VALUE],["CSSFontPaletteValuesRule",e.TYPE_VALUE],["CSSGroupingRule",e.TYPE_VALUE],["CSSImageValue",e.TYPE_VALUE],["CSSImportRule",e.TYPE_VALUE],["CSSKeyframeRule",e.TYPE_VALUE],["CSSKeyframesRule",e.TYPE_VALUE],["CSSKeywordValue",e.TYPE_VALUE],["CSSLayerBlockRule",e.TYPE_VALUE],["CSSLayerStatementRule",e.TYPE_VALUE],["CSSMathClamp",e.TYPE_VALUE],["CSSMathInvert",e.TYPE_VALUE],["CSSMathMax",e.TYPE_VALUE],["CSSMathMin",e.TYPE_VALUE],["CSSMathNegate",e.TYPE_VALUE],["CSSMathProduct",e.TYPE_VALUE],["CSSMathSum",e.TYPE_VALUE],["CSSMathValue",e.TYPE_VALUE],["CSSMatrixComponent",e.TYPE_VALUE],["CSSMediaRule",e.TYPE_VALUE],["CSSNamespaceRule",e.TYPE_VALUE],["CSSNestedDeclarations",e.TYPE_VALUE],["CSSNumericArray",e.TYPE_VALUE],["CSSNumericValue",e.TYPE_VALUE],["CSSPageRule",e.TYPE_VALUE],["CSSPerspective",e.TYPE_VALUE],["CSSPropertyRule",e.TYPE_VALUE],["CSSRotate",e.TYPE_VALUE],["CSSRule",e.TYPE_VALUE],["CSSRuleList",e.TYPE_VALUE],["CSSScale",e.TYPE_VALUE],["CSSScopeRule",e.TYPE_VALUE],["CSSSkew",e.TYPE_VALUE],["CSSSkewX",e.TYPE_VALUE],["CSSSkewY",e.TYPE_VALUE],["CSSStartingStyleRule",e.TYPE_VALUE],["CSSStyleDeclaration",e.TYPE_VALUE],["CSSStyleRule",e.TYPE_VALUE],["CSSStyleSheet",e.TYPE_VALUE],["CSSStyleValue",e.TYPE_VALUE],["CSSSupportsRule",e.TYPE_VALUE],["CSSTransformComponent",e.TYPE_VALUE],["CSSTransformValue",e.TYPE_VALUE],["CSSTransition",e.TYPE_VALUE],["CSSTranslate",e.TYPE_VALUE],["CSSUnitValue",e.TYPE_VALUE],["CSSUnparsedValue",e.TYPE_VALUE],["CSSVariableReferenceValue",e.TYPE_VALUE],["CSSViewTransitionRule",e.TYPE_VALUE],["Cache",e.TYPE_VALUE],["CacheStorage",e.TYPE_VALUE],["CanvasCaptureMediaStreamTrack",e.TYPE_VALUE],["CanvasCompositing",e.TYPE],["CanvasDrawImage",e.TYPE],["CanvasDrawPath",e.TYPE],["CanvasFillStrokeStyles",e.TYPE],["CanvasFilters",e.TYPE],["CanvasGradient",e.TYPE_VALUE],["CanvasImageData",e.TYPE],["CanvasImageSmoothing",e.TYPE],["CanvasPath",e.TYPE],["CanvasPathDrawingStyles",e.TYPE],["CanvasPattern",e.TYPE_VALUE],["CanvasRect",e.TYPE],["CanvasRenderingContext2D",e.TYPE_VALUE],["CanvasSettings",e.TYPE],["CanvasShadowStyles",e.TYPE],["CanvasState",e.TYPE],["CanvasText",e.TYPE],["CanvasTextDrawingStyles",e.TYPE],["CanvasTransform",e.TYPE],["CanvasUserInterface",e.TYPE],["CaretPosition",e.TYPE_VALUE],["ChannelMergerNode",e.TYPE_VALUE],["ChannelSplitterNode",e.TYPE_VALUE],["CharacterData",e.TYPE_VALUE],["ChildNode",e.TYPE],["ClientRect",e.TYPE],["Clipboard",e.TYPE_VALUE],["ClipboardEvent",e.TYPE_VALUE],["ClipboardItem",e.TYPE_VALUE],["CloseEvent",e.TYPE_VALUE],["Comment",e.TYPE_VALUE],["CompositionEvent",e.TYPE_VALUE],["CompressionStream",e.TYPE_VALUE],["ConstantSourceNode",e.TYPE_VALUE],["ContentVisibilityAutoStateChangeEvent",e.TYPE_VALUE],["ConvolverNode",e.TYPE_VALUE],["CountQueuingStrategy",e.TYPE_VALUE],["Credential",e.TYPE_VALUE],["CredentialsContainer",e.TYPE_VALUE],["Crypto",e.TYPE_VALUE],["CryptoKey",e.TYPE_VALUE],["CustomElementRegistry",e.TYPE_VALUE],["CustomEvent",e.TYPE_VALUE],["CustomStateSet",e.TYPE_VALUE],["DOMException",e.TYPE_VALUE],["DOMImplementation",e.TYPE_VALUE],["DOMMatrix",e.TYPE_VALUE],["SVGMatrix",e.TYPE_VALUE],["WebKitCSSMatrix",e.TYPE_VALUE],["DOMMatrixReadOnly",e.TYPE_VALUE],["DOMParser",e.TYPE_VALUE],["DOMPoint",e.TYPE_VALUE],["SVGPoint",e.TYPE_VALUE],["DOMPointReadOnly",e.TYPE_VALUE],["DOMQuad",e.TYPE_VALUE],["DOMRect",e.TYPE_VALUE],["SVGRect",e.TYPE_VALUE],["DOMRectList",e.TYPE_VALUE],["DOMRectReadOnly",e.TYPE_VALUE],["DOMStringList",e.TYPE_VALUE],["DOMStringMap",e.TYPE_VALUE],["DOMTokenList",e.TYPE_VALUE],["DataTransfer",e.TYPE_VALUE],["DataTransferItem",e.TYPE_VALUE],["DataTransferItemList",e.TYPE_VALUE],["DecompressionStream",e.TYPE_VALUE],["DelayNode",e.TYPE_VALUE],["DeviceMotionEvent",e.TYPE_VALUE],["DeviceMotionEventAcceleration",e.TYPE],["DeviceMotionEventRotationRate",e.TYPE],["DeviceOrientationEvent",e.TYPE_VALUE],["DocumentEventMap",e.TYPE],["Document",e.TYPE_VALUE],["DocumentFragment",e.TYPE_VALUE],["DocumentOrShadowRoot",e.TYPE],["DocumentTimeline",e.TYPE_VALUE],["DocumentType",e.TYPE_VALUE],["DragEvent",e.TYPE_VALUE],["DynamicsCompressorNode",e.TYPE_VALUE],["EXT_blend_minmax",e.TYPE],["EXT_color_buffer_float",e.TYPE],["EXT_color_buffer_half_float",e.TYPE],["EXT_float_blend",e.TYPE],["EXT_frag_depth",e.TYPE],["EXT_sRGB",e.TYPE],["EXT_shader_texture_lod",e.TYPE],["EXT_texture_compression_bptc",e.TYPE],["EXT_texture_compression_rgtc",e.TYPE],["EXT_texture_filter_anisotropic",e.TYPE],["EXT_texture_norm16",e.TYPE],["ElementEventMap",e.TYPE],["Element",e.TYPE_VALUE],["ElementCSSInlineStyle",e.TYPE],["ElementContentEditable",e.TYPE],["ElementInternals",e.TYPE_VALUE],["EncodedAudioChunk",e.TYPE_VALUE],["EncodedVideoChunk",e.TYPE_VALUE],["ErrorEvent",e.TYPE_VALUE],["Event",e.TYPE_VALUE],["EventCounts",e.TYPE_VALUE],["EventListener",e.TYPE],["EventListenerObject",e.TYPE],["EventSourceEventMap",e.TYPE],["EventSource",e.TYPE_VALUE],["EventTarget",e.TYPE_VALUE],["External",e.TYPE_VALUE],["File",e.TYPE_VALUE],["FileList",e.TYPE_VALUE],["FileReaderEventMap",e.TYPE],["FileReader",e.TYPE_VALUE],["FileSystem",e.TYPE_VALUE],["FileSystemDirectoryEntry",e.TYPE_VALUE],["FileSystemDirectoryHandle",e.TYPE_VALUE],["FileSystemDirectoryReader",e.TYPE_VALUE],["FileSystemEntry",e.TYPE_VALUE],["FileSystemFileEntry",e.TYPE_VALUE],["FileSystemFileHandle",e.TYPE_VALUE],["FileSystemHandle",e.TYPE_VALUE],["FileSystemWritableFileStream",e.TYPE_VALUE],["FocusEvent",e.TYPE_VALUE],["FontFace",e.TYPE_VALUE],["FontFaceSetEventMap",e.TYPE],["FontFaceSet",e.TYPE_VALUE],["FontFaceSetLoadEvent",e.TYPE_VALUE],["FontFaceSource",e.TYPE],["FormData",e.TYPE_VALUE],["FormDataEvent",e.TYPE_VALUE],["FragmentDirective",e.TYPE_VALUE],["GPUError",e.TYPE],["GainNode",e.TYPE_VALUE],["Gamepad",e.TYPE_VALUE],["GamepadButton",e.TYPE_VALUE],["GamepadEvent",e.TYPE_VALUE],["GamepadHapticActuator",e.TYPE_VALUE],["GenericTransformStream",e.TYPE],["Geolocation",e.TYPE_VALUE],["GeolocationCoordinates",e.TYPE_VALUE],["GeolocationPosition",e.TYPE_VALUE],["GeolocationPositionError",e.TYPE_VALUE],["GlobalEventHandlersEventMap",e.TYPE],["GlobalEventHandlers",e.TYPE],["HTMLAllCollection",e.TYPE_VALUE],["HTMLAnchorElement",e.TYPE_VALUE],["HTMLAreaElement",e.TYPE_VALUE],["HTMLAudioElement",e.TYPE_VALUE],["HTMLBRElement",e.TYPE_VALUE],["HTMLBaseElement",e.TYPE_VALUE],["HTMLBodyElementEventMap",e.TYPE],["HTMLBodyElement",e.TYPE_VALUE],["HTMLButtonElement",e.TYPE_VALUE],["HTMLCanvasElement",e.TYPE_VALUE],["HTMLCollectionBase",e.TYPE],["HTMLCollection",e.TYPE_VALUE],["HTMLCollectionOf",e.TYPE],["HTMLDListElement",e.TYPE_VALUE],["HTMLDataElement",e.TYPE_VALUE],["HTMLDataListElement",e.TYPE_VALUE],["HTMLDetailsElement",e.TYPE_VALUE],["HTMLDialogElement",e.TYPE_VALUE],["HTMLDirectoryElement",e.TYPE_VALUE],["HTMLDivElement",e.TYPE_VALUE],["HTMLDocument",e.TYPE_VALUE],["HTMLElementEventMap",e.TYPE],["HTMLElement",e.TYPE_VALUE],["HTMLEmbedElement",e.TYPE_VALUE],["HTMLFieldSetElement",e.TYPE_VALUE],["HTMLFontElement",e.TYPE_VALUE],["HTMLFormControlsCollection",e.TYPE_VALUE],["HTMLFormElement",e.TYPE_VALUE],["HTMLFrameElement",e.TYPE_VALUE],["HTMLFrameSetElementEventMap",e.TYPE],["HTMLFrameSetElement",e.TYPE_VALUE],["HTMLHRElement",e.TYPE_VALUE],["HTMLHeadElement",e.TYPE_VALUE],["HTMLHeadingElement",e.TYPE_VALUE],["HTMLHtmlElement",e.TYPE_VALUE],["HTMLHyperlinkElementUtils",e.TYPE],["HTMLIFrameElement",e.TYPE_VALUE],["HTMLImageElement",e.TYPE_VALUE],["HTMLInputElement",e.TYPE_VALUE],["HTMLLIElement",e.TYPE_VALUE],["HTMLLabelElement",e.TYPE_VALUE],["HTMLLegendElement",e.TYPE_VALUE],["HTMLLinkElement",e.TYPE_VALUE],["HTMLMapElement",e.TYPE_VALUE],["HTMLMarqueeElement",e.TYPE_VALUE],["HTMLMediaElementEventMap",e.TYPE],["HTMLMediaElement",e.TYPE_VALUE],["HTMLMenuElement",e.TYPE_VALUE],["HTMLMetaElement",e.TYPE_VALUE],["HTMLMeterElement",e.TYPE_VALUE],["HTMLModElement",e.TYPE_VALUE],["HTMLOListElement",e.TYPE_VALUE],["HTMLObjectElement",e.TYPE_VALUE],["HTMLOptGroupElement",e.TYPE_VALUE],["HTMLOptionElement",e.TYPE_VALUE],["HTMLOptionsCollection",e.TYPE_VALUE],["HTMLOrSVGElement",e.TYPE],["HTMLOutputElement",e.TYPE_VALUE],["HTMLParagraphElement",e.TYPE_VALUE],["HTMLParamElement",e.TYPE_VALUE],["HTMLPictureElement",e.TYPE_VALUE],["HTMLPreElement",e.TYPE_VALUE],["HTMLProgressElement",e.TYPE_VALUE],["HTMLQuoteElement",e.TYPE_VALUE],["HTMLScriptElement",e.TYPE_VALUE],["HTMLSelectElement",e.TYPE_VALUE],["HTMLSlotElement",e.TYPE_VALUE],["HTMLSourceElement",e.TYPE_VALUE],["HTMLSpanElement",e.TYPE_VALUE],["HTMLStyleElement",e.TYPE_VALUE],["HTMLTableCaptionElement",e.TYPE_VALUE],["HTMLTableCellElement",e.TYPE_VALUE],["HTMLTableColElement",e.TYPE_VALUE],["HTMLTableDataCellElement",e.TYPE],["HTMLTableElement",e.TYPE_VALUE],["HTMLTableHeaderCellElement",e.TYPE],["HTMLTableRowElement",e.TYPE_VALUE],["HTMLTableSectionElement",e.TYPE_VALUE],["HTMLTemplateElement",e.TYPE_VALUE],["HTMLTextAreaElement",e.TYPE_VALUE],["HTMLTimeElement",e.TYPE_VALUE],["HTMLTitleElement",e.TYPE_VALUE],["HTMLTrackElement",e.TYPE_VALUE],["HTMLUListElement",e.TYPE_VALUE],["HTMLUnknownElement",e.TYPE_VALUE],["HTMLVideoElementEventMap",e.TYPE],["HTMLVideoElement",e.TYPE_VALUE],["HashChangeEvent",e.TYPE_VALUE],["Headers",e.TYPE_VALUE],["Highlight",e.TYPE_VALUE],["HighlightRegistry",e.TYPE_VALUE],["History",e.TYPE_VALUE],["IDBCursor",e.TYPE_VALUE],["IDBCursorWithValue",e.TYPE_VALUE],["IDBDatabaseEventMap",e.TYPE],["IDBDatabase",e.TYPE_VALUE],["IDBFactory",e.TYPE_VALUE],["IDBIndex",e.TYPE_VALUE],["IDBKeyRange",e.TYPE_VALUE],["IDBObjectStore",e.TYPE_VALUE],["IDBOpenDBRequestEventMap",e.TYPE],["IDBOpenDBRequest",e.TYPE_VALUE],["IDBRequestEventMap",e.TYPE],["IDBRequest",e.TYPE_VALUE],["IDBTransactionEventMap",e.TYPE],["IDBTransaction",e.TYPE_VALUE],["IDBVersionChangeEvent",e.TYPE_VALUE],["IIRFilterNode",e.TYPE_VALUE],["IdleDeadline",e.TYPE_VALUE],["ImageBitmap",e.TYPE_VALUE],["ImageBitmapRenderingContext",e.TYPE_VALUE],["ImageData",e.TYPE_VALUE],["ImageDecoder",e.TYPE_VALUE],["ImageTrack",e.TYPE_VALUE],["ImageTrackList",e.TYPE_VALUE],["ImportMeta",e.TYPE],["InputDeviceInfo",e.TYPE_VALUE],["InputEvent",e.TYPE_VALUE],["IntersectionObserver",e.TYPE_VALUE],["IntersectionObserverEntry",e.TYPE_VALUE],["KHR_parallel_shader_compile",e.TYPE],["KeyboardEvent",e.TYPE_VALUE],["KeyframeEffect",e.TYPE_VALUE],["LargestContentfulPaint",e.TYPE_VALUE],["LinkStyle",e.TYPE],["Location",e.TYPE_VALUE],["Lock",e.TYPE_VALUE],["LockManager",e.TYPE_VALUE],["MIDIAccessEventMap",e.TYPE],["MIDIAccess",e.TYPE_VALUE],["MIDIConnectionEvent",e.TYPE_VALUE],["MIDIInputEventMap",e.TYPE],["MIDIInput",e.TYPE_VALUE],["MIDIInputMap",e.TYPE_VALUE],["MIDIMessageEvent",e.TYPE_VALUE],["MIDIOutput",e.TYPE_VALUE],["MIDIOutputMap",e.TYPE_VALUE],["MIDIPortEventMap",e.TYPE],["MIDIPort",e.TYPE_VALUE],["MathMLElementEventMap",e.TYPE],["MathMLElement",e.TYPE_VALUE],["MediaCapabilities",e.TYPE_VALUE],["MediaDeviceInfo",e.TYPE_VALUE],["MediaDevicesEventMap",e.TYPE],["MediaDevices",e.TYPE_VALUE],["MediaElementAudioSourceNode",e.TYPE_VALUE],["MediaEncryptedEvent",e.TYPE_VALUE],["MediaError",e.TYPE_VALUE],["MediaKeyMessageEvent",e.TYPE_VALUE],["MediaKeySessionEventMap",e.TYPE],["MediaKeySession",e.TYPE_VALUE],["MediaKeyStatusMap",e.TYPE_VALUE],["MediaKeySystemAccess",e.TYPE_VALUE],["MediaKeys",e.TYPE_VALUE],["MediaList",e.TYPE_VALUE],["MediaMetadata",e.TYPE_VALUE],["MediaQueryListEventMap",e.TYPE],["MediaQueryList",e.TYPE_VALUE],["MediaQueryListEvent",e.TYPE_VALUE],["MediaRecorderEventMap",e.TYPE],["MediaRecorder",e.TYPE_VALUE],["MediaSession",e.TYPE_VALUE],["MediaSourceEventMap",e.TYPE],["MediaSource",e.TYPE_VALUE],["MediaSourceHandle",e.TYPE_VALUE],["MediaStreamEventMap",e.TYPE],["MediaStream",e.TYPE_VALUE],["MediaStreamAudioDestinationNode",e.TYPE_VALUE],["MediaStreamAudioSourceNode",e.TYPE_VALUE],["MediaStreamTrackEventMap",e.TYPE],["MediaStreamTrack",e.TYPE_VALUE],["MediaStreamTrackEvent",e.TYPE_VALUE],["MessageChannel",e.TYPE_VALUE],["MessageEvent",e.TYPE_VALUE],["MessageEventTargetEventMap",e.TYPE],["MessageEventTarget",e.TYPE],["MessagePortEventMap",e.TYPE],["MessagePort",e.TYPE_VALUE],["MimeType",e.TYPE_VALUE],["MimeTypeArray",e.TYPE_VALUE],["MouseEvent",e.TYPE_VALUE],["MutationObserver",e.TYPE_VALUE],["MutationRecord",e.TYPE_VALUE],["NamedNodeMap",e.TYPE_VALUE],["NavigationActivation",e.TYPE_VALUE],["NavigationHistoryEntryEventMap",e.TYPE],["NavigationHistoryEntry",e.TYPE_VALUE],["NavigationPreloadManager",e.TYPE_VALUE],["Navigator",e.TYPE_VALUE],["NavigatorAutomationInformation",e.TYPE],["NavigatorBadge",e.TYPE],["NavigatorConcurrentHardware",e.TYPE],["NavigatorContentUtils",e.TYPE],["NavigatorCookies",e.TYPE],["NavigatorID",e.TYPE],["NavigatorLanguage",e.TYPE],["NavigatorLocks",e.TYPE],["NavigatorOnLine",e.TYPE],["NavigatorPlugins",e.TYPE],["NavigatorStorage",e.TYPE],["Node",e.TYPE_VALUE],["NodeIterator",e.TYPE_VALUE],["NodeList",e.TYPE_VALUE],["NodeListOf",e.TYPE],["NonDocumentTypeChildNode",e.TYPE],["NonElementParentNode",e.TYPE],["NotificationEventMap",e.TYPE],["Notification",e.TYPE_VALUE],["OES_draw_buffers_indexed",e.TYPE],["OES_element_index_uint",e.TYPE],["OES_fbo_render_mipmap",e.TYPE],["OES_standard_derivatives",e.TYPE],["OES_texture_float",e.TYPE],["OES_texture_float_linear",e.TYPE],["OES_texture_half_float",e.TYPE],["OES_texture_half_float_linear",e.TYPE],["OES_vertex_array_object",e.TYPE],["OVR_multiview2",e.TYPE],["OfflineAudioCompletionEvent",e.TYPE_VALUE],["OfflineAudioContextEventMap",e.TYPE],["OfflineAudioContext",e.TYPE_VALUE],["OffscreenCanvasEventMap",e.TYPE],["OffscreenCanvas",e.TYPE_VALUE],["OffscreenCanvasRenderingContext2D",e.TYPE_VALUE],["OscillatorNode",e.TYPE_VALUE],["OverconstrainedError",e.TYPE_VALUE],["PageRevealEvent",e.TYPE_VALUE],["PageSwapEvent",e.TYPE_VALUE],["PageTransitionEvent",e.TYPE_VALUE],["PannerNode",e.TYPE_VALUE],["ParentNode",e.TYPE],["Path2D",e.TYPE_VALUE],["PaymentAddress",e.TYPE_VALUE],["PaymentMethodChangeEvent",e.TYPE_VALUE],["PaymentRequestEventMap",e.TYPE],["PaymentRequest",e.TYPE_VALUE],["PaymentRequestUpdateEvent",e.TYPE_VALUE],["PaymentResponseEventMap",e.TYPE],["PaymentResponse",e.TYPE_VALUE],["PerformanceEventMap",e.TYPE],["Performance",e.TYPE_VALUE],["PerformanceEntry",e.TYPE_VALUE],["PerformanceEventTiming",e.TYPE_VALUE],["PerformanceMark",e.TYPE_VALUE],["PerformanceMeasure",e.TYPE_VALUE],["PerformanceNavigation",e.TYPE_VALUE],["PerformanceNavigationTiming",e.TYPE_VALUE],["PerformanceObserver",e.TYPE_VALUE],["PerformanceObserverEntryList",e.TYPE_VALUE],["PerformancePaintTiming",e.TYPE_VALUE],["PerformanceResourceTiming",e.TYPE_VALUE],["PerformanceServerTiming",e.TYPE_VALUE],["PerformanceTiming",e.TYPE_VALUE],["PeriodicWave",e.TYPE_VALUE],["PermissionStatusEventMap",e.TYPE],["PermissionStatus",e.TYPE_VALUE],["Permissions",e.TYPE_VALUE],["PictureInPictureEvent",e.TYPE_VALUE],["PictureInPictureWindowEventMap",e.TYPE],["PictureInPictureWindow",e.TYPE_VALUE],["Plugin",e.TYPE_VALUE],["PluginArray",e.TYPE_VALUE],["PointerEvent",e.TYPE_VALUE],["PopStateEvent",e.TYPE_VALUE],["PopoverInvokerElement",e.TYPE],["ProcessingInstruction",e.TYPE_VALUE],["ProgressEvent",e.TYPE_VALUE],["PromiseRejectionEvent",e.TYPE_VALUE],["PublicKeyCredential",e.TYPE_VALUE],["PushManager",e.TYPE_VALUE],["PushSubscription",e.TYPE_VALUE],["PushSubscriptionOptions",e.TYPE_VALUE],["RTCCertificate",e.TYPE_VALUE],["RTCDTMFSenderEventMap",e.TYPE],["RTCDTMFSender",e.TYPE_VALUE],["RTCDTMFToneChangeEvent",e.TYPE_VALUE],["RTCDataChannelEventMap",e.TYPE],["RTCDataChannel",e.TYPE_VALUE],["RTCDataChannelEvent",e.TYPE_VALUE],["RTCDtlsTransportEventMap",e.TYPE],["RTCDtlsTransport",e.TYPE_VALUE],["RTCEncodedAudioFrame",e.TYPE_VALUE],["RTCEncodedVideoFrame",e.TYPE_VALUE],["RTCError",e.TYPE_VALUE],["RTCErrorEvent",e.TYPE_VALUE],["RTCIceCandidate",e.TYPE_VALUE],["RTCIceCandidatePair",e.TYPE],["RTCIceTransportEventMap",e.TYPE],["RTCIceTransport",e.TYPE_VALUE],["RTCPeerConnectionEventMap",e.TYPE],["RTCPeerConnection",e.TYPE_VALUE],["RTCPeerConnectionIceErrorEvent",e.TYPE_VALUE],["RTCPeerConnectionIceEvent",e.TYPE_VALUE],["RTCRtpReceiver",e.TYPE_VALUE],["RTCRtpScriptTransform",e.TYPE_VALUE],["RTCRtpSender",e.TYPE_VALUE],["RTCRtpTransceiver",e.TYPE_VALUE],["RTCSctpTransportEventMap",e.TYPE],["RTCSctpTransport",e.TYPE_VALUE],["RTCSessionDescription",e.TYPE_VALUE],["RTCStatsReport",e.TYPE_VALUE],["RTCTrackEvent",e.TYPE_VALUE],["RadioNodeList",e.TYPE_VALUE],["Range",e.TYPE_VALUE],["ReadableByteStreamController",e.TYPE_VALUE],["ReadableStream",e.TYPE_VALUE],["ReadableStreamBYOBReader",e.TYPE_VALUE],["ReadableStreamBYOBRequest",e.TYPE_VALUE],["ReadableStreamDefaultController",e.TYPE_VALUE],["ReadableStreamDefaultReader",e.TYPE_VALUE],["ReadableStreamGenericReader",e.TYPE],["RemotePlaybackEventMap",e.TYPE],["RemotePlayback",e.TYPE_VALUE],["Report",e.TYPE_VALUE],["ReportBody",e.TYPE_VALUE],["ReportingObserver",e.TYPE_VALUE],["Request",e.TYPE_VALUE],["ResizeObserver",e.TYPE_VALUE],["ResizeObserverEntry",e.TYPE_VALUE],["ResizeObserverSize",e.TYPE_VALUE],["Response",e.TYPE_VALUE],["SVGAElement",e.TYPE_VALUE],["SVGAngle",e.TYPE_VALUE],["SVGAnimateElement",e.TYPE_VALUE],["SVGAnimateMotionElement",e.TYPE_VALUE],["SVGAnimateTransformElement",e.TYPE_VALUE],["SVGAnimatedAngle",e.TYPE_VALUE],["SVGAnimatedBoolean",e.TYPE_VALUE],["SVGAnimatedEnumeration",e.TYPE_VALUE],["SVGAnimatedInteger",e.TYPE_VALUE],["SVGAnimatedLength",e.TYPE_VALUE],["SVGAnimatedLengthList",e.TYPE_VALUE],["SVGAnimatedNumber",e.TYPE_VALUE],["SVGAnimatedNumberList",e.TYPE_VALUE],["SVGAnimatedPoints",e.TYPE],["SVGAnimatedPreserveAspectRatio",e.TYPE_VALUE],["SVGAnimatedRect",e.TYPE_VALUE],["SVGAnimatedString",e.TYPE_VALUE],["SVGAnimatedTransformList",e.TYPE_VALUE],["SVGAnimationElement",e.TYPE_VALUE],["SVGCircleElement",e.TYPE_VALUE],["SVGClipPathElement",e.TYPE_VALUE],["SVGComponentTransferFunctionElement",e.TYPE_VALUE],["SVGDefsElement",e.TYPE_VALUE],["SVGDescElement",e.TYPE_VALUE],["SVGElementEventMap",e.TYPE],["SVGElement",e.TYPE_VALUE],["SVGEllipseElement",e.TYPE_VALUE],["SVGFEBlendElement",e.TYPE_VALUE],["SVGFEColorMatrixElement",e.TYPE_VALUE],["SVGFEComponentTransferElement",e.TYPE_VALUE],["SVGFECompositeElement",e.TYPE_VALUE],["SVGFEConvolveMatrixElement",e.TYPE_VALUE],["SVGFEDiffuseLightingElement",e.TYPE_VALUE],["SVGFEDisplacementMapElement",e.TYPE_VALUE],["SVGFEDistantLightElement",e.TYPE_VALUE],["SVGFEDropShadowElement",e.TYPE_VALUE],["SVGFEFloodElement",e.TYPE_VALUE],["SVGFEFuncAElement",e.TYPE_VALUE],["SVGFEFuncBElement",e.TYPE_VALUE],["SVGFEFuncGElement",e.TYPE_VALUE],["SVGFEFuncRElement",e.TYPE_VALUE],["SVGFEGaussianBlurElement",e.TYPE_VALUE],["SVGFEImageElement",e.TYPE_VALUE],["SVGFEMergeElement",e.TYPE_VALUE],["SVGFEMergeNodeElement",e.TYPE_VALUE],["SVGFEMorphologyElement",e.TYPE_VALUE],["SVGFEOffsetElement",e.TYPE_VALUE],["SVGFEPointLightElement",e.TYPE_VALUE],["SVGFESpecularLightingElement",e.TYPE_VALUE],["SVGFESpotLightElement",e.TYPE_VALUE],["SVGFETileElement",e.TYPE_VALUE],["SVGFETurbulenceElement",e.TYPE_VALUE],["SVGFilterElement",e.TYPE_VALUE],["SVGFilterPrimitiveStandardAttributes",e.TYPE],["SVGFitToViewBox",e.TYPE],["SVGForeignObjectElement",e.TYPE_VALUE],["SVGGElement",e.TYPE_VALUE],["SVGGeometryElement",e.TYPE_VALUE],["SVGGradientElement",e.TYPE_VALUE],["SVGGraphicsElement",e.TYPE_VALUE],["SVGImageElement",e.TYPE_VALUE],["SVGLength",e.TYPE_VALUE],["SVGLengthList",e.TYPE_VALUE],["SVGLineElement",e.TYPE_VALUE],["SVGLinearGradientElement",e.TYPE_VALUE],["SVGMPathElement",e.TYPE_VALUE],["SVGMarkerElement",e.TYPE_VALUE],["SVGMaskElement",e.TYPE_VALUE],["SVGMetadataElement",e.TYPE_VALUE],["SVGNumber",e.TYPE_VALUE],["SVGNumberList",e.TYPE_VALUE],["SVGPathElement",e.TYPE_VALUE],["SVGPatternElement",e.TYPE_VALUE],["SVGPointList",e.TYPE_VALUE],["SVGPolygonElement",e.TYPE_VALUE],["SVGPolylineElement",e.TYPE_VALUE],["SVGPreserveAspectRatio",e.TYPE_VALUE],["SVGRadialGradientElement",e.TYPE_VALUE],["SVGRectElement",e.TYPE_VALUE],["SVGSVGElementEventMap",e.TYPE],["SVGSVGElement",e.TYPE_VALUE],["SVGScriptElement",e.TYPE_VALUE],["SVGSetElement",e.TYPE_VALUE],["SVGStopElement",e.TYPE_VALUE],["SVGStringList",e.TYPE_VALUE],["SVGStyleElement",e.TYPE_VALUE],["SVGSwitchElement",e.TYPE_VALUE],["SVGSymbolElement",e.TYPE_VALUE],["SVGTSpanElement",e.TYPE_VALUE],["SVGTests",e.TYPE],["SVGTextContentElement",e.TYPE_VALUE],["SVGTextElement",e.TYPE_VALUE],["SVGTextPathElement",e.TYPE_VALUE],["SVGTextPositioningElement",e.TYPE_VALUE],["SVGTitleElement",e.TYPE_VALUE],["SVGTransform",e.TYPE_VALUE],["SVGTransformList",e.TYPE_VALUE],["SVGURIReference",e.TYPE],["SVGUnitTypes",e.TYPE_VALUE],["SVGUseElement",e.TYPE_VALUE],["SVGViewElement",e.TYPE_VALUE],["Screen",e.TYPE_VALUE],["ScreenOrientationEventMap",e.TYPE],["ScreenOrientation",e.TYPE_VALUE],["ScriptProcessorNodeEventMap",e.TYPE],["ScriptProcessorNode",e.TYPE_VALUE],["SecurityPolicyViolationEvent",e.TYPE_VALUE],["Selection",e.TYPE_VALUE],["ServiceWorkerEventMap",e.TYPE],["ServiceWorker",e.TYPE_VALUE],["ServiceWorkerContainerEventMap",e.TYPE],["ServiceWorkerContainer",e.TYPE_VALUE],["ServiceWorkerRegistrationEventMap",e.TYPE],["ServiceWorkerRegistration",e.TYPE_VALUE],["ShadowRootEventMap",e.TYPE],["ShadowRoot",e.TYPE_VALUE],["SharedWorker",e.TYPE_VALUE],["Slottable",e.TYPE],["SourceBufferEventMap",e.TYPE],["SourceBuffer",e.TYPE_VALUE],["SourceBufferListEventMap",e.TYPE],["SourceBufferList",e.TYPE_VALUE],["SpeechRecognitionAlternative",e.TYPE_VALUE],["SpeechRecognitionResult",e.TYPE_VALUE],["SpeechRecognitionResultList",e.TYPE_VALUE],["SpeechSynthesisEventMap",e.TYPE],["SpeechSynthesis",e.TYPE_VALUE],["SpeechSynthesisErrorEvent",e.TYPE_VALUE],["SpeechSynthesisEvent",e.TYPE_VALUE],["SpeechSynthesisUtteranceEventMap",e.TYPE],["SpeechSynthesisUtterance",e.TYPE_VALUE],["SpeechSynthesisVoice",e.TYPE_VALUE],["StaticRange",e.TYPE_VALUE],["StereoPannerNode",e.TYPE_VALUE],["Storage",e.TYPE_VALUE],["StorageEvent",e.TYPE_VALUE],["StorageManager",e.TYPE_VALUE],["StyleMedia",e.TYPE],["StylePropertyMap",e.TYPE_VALUE],["StylePropertyMapReadOnly",e.TYPE_VALUE],["StyleSheet",e.TYPE_VALUE],["StyleSheetList",e.TYPE_VALUE],["SubmitEvent",e.TYPE_VALUE],["SubtleCrypto",e.TYPE_VALUE],["Text",e.TYPE_VALUE],["TextDecoder",e.TYPE_VALUE],["TextDecoderCommon",e.TYPE],["TextDecoderStream",e.TYPE_VALUE],["TextEncoder",e.TYPE_VALUE],["TextEncoderCommon",e.TYPE],["TextEncoderStream",e.TYPE_VALUE],["TextEvent",e.TYPE_VALUE],["TextMetrics",e.TYPE_VALUE],["TextTrackEventMap",e.TYPE],["TextTrack",e.TYPE_VALUE],["TextTrackCueEventMap",e.TYPE],["TextTrackCue",e.TYPE_VALUE],["TextTrackCueList",e.TYPE_VALUE],["TextTrackListEventMap",e.TYPE],["TextTrackList",e.TYPE_VALUE],["TimeRanges",e.TYPE_VALUE],["ToggleEvent",e.TYPE_VALUE],["Touch",e.TYPE_VALUE],["TouchEvent",e.TYPE_VALUE],["TouchList",e.TYPE_VALUE],["TrackEvent",e.TYPE_VALUE],["TransformStream",e.TYPE_VALUE],["TransformStreamDefaultController",e.TYPE_VALUE],["TransitionEvent",e.TYPE_VALUE],["TreeWalker",e.TYPE_VALUE],["UIEvent",e.TYPE_VALUE],["URL",e.TYPE_VALUE],["webkitURL",e.TYPE_VALUE],["URLSearchParams",e.TYPE_VALUE],["UserActivation",e.TYPE_VALUE],["VTTCue",e.TYPE_VALUE],["VTTRegion",e.TYPE_VALUE],["ValidityState",e.TYPE_VALUE],["VideoColorSpace",e.TYPE_VALUE],["VideoDecoderEventMap",e.TYPE],["VideoDecoder",e.TYPE_VALUE],["VideoEncoderEventMap",e.TYPE],["VideoEncoder",e.TYPE_VALUE],["VideoFrame",e.TYPE_VALUE],["VideoPlaybackQuality",e.TYPE_VALUE],["ViewTransition",e.TYPE_VALUE],["ViewTransitionTypeSet",e.TYPE_VALUE],["VisualViewportEventMap",e.TYPE],["VisualViewport",e.TYPE_VALUE],["WEBGL_color_buffer_float",e.TYPE],["WEBGL_compressed_texture_astc",e.TYPE],["WEBGL_compressed_texture_etc",e.TYPE],["WEBGL_compressed_texture_etc1",e.TYPE],["WEBGL_compressed_texture_pvrtc",e.TYPE],["WEBGL_compressed_texture_s3tc",e.TYPE],["WEBGL_compressed_texture_s3tc_srgb",e.TYPE],["WEBGL_debug_renderer_info",e.TYPE],["WEBGL_debug_shaders",e.TYPE],["WEBGL_depth_texture",e.TYPE],["WEBGL_draw_buffers",e.TYPE],["WEBGL_lose_context",e.TYPE],["WEBGL_multi_draw",e.TYPE],["WakeLock",e.TYPE_VALUE],["WakeLockSentinelEventMap",e.TYPE],["WakeLockSentinel",e.TYPE_VALUE],["WaveShaperNode",e.TYPE_VALUE],["WebGL2RenderingContext",e.TYPE_VALUE],["WebGL2RenderingContextBase",e.TYPE],["WebGL2RenderingContextOverloads",e.TYPE],["WebGLActiveInfo",e.TYPE_VALUE],["WebGLBuffer",e.TYPE_VALUE],["WebGLContextEvent",e.TYPE_VALUE],["WebGLFramebuffer",e.TYPE_VALUE],["WebGLProgram",e.TYPE_VALUE],["WebGLQuery",e.TYPE_VALUE],["WebGLRenderbuffer",e.TYPE_VALUE],["WebGLRenderingContext",e.TYPE_VALUE],["WebGLRenderingContextBase",e.TYPE],["WebGLRenderingContextOverloads",e.TYPE],["WebGLSampler",e.TYPE_VALUE],["WebGLShader",e.TYPE_VALUE],["WebGLShaderPrecisionFormat",e.TYPE_VALUE],["WebGLSync",e.TYPE_VALUE],["WebGLTexture",e.TYPE_VALUE],["WebGLTransformFeedback",e.TYPE_VALUE],["WebGLUniformLocation",e.TYPE_VALUE],["WebGLVertexArrayObject",e.TYPE_VALUE],["WebGLVertexArrayObjectOES",e.TYPE],["WebSocketEventMap",e.TYPE],["WebSocket",e.TYPE_VALUE],["WebTransport",e.TYPE_VALUE],["WebTransportBidirectionalStream",e.TYPE_VALUE],["WebTransportDatagramDuplexStream",e.TYPE_VALUE],["WebTransportError",e.TYPE_VALUE],["WheelEvent",e.TYPE_VALUE],["WindowEventMap",e.TYPE],["Window",e.TYPE_VALUE],["WindowEventHandlersEventMap",e.TYPE],["WindowEventHandlers",e.TYPE],["WindowLocalStorage",e.TYPE],["WindowOrWorkerGlobalScope",e.TYPE],["WindowSessionStorage",e.TYPE],["WorkerEventMap",e.TYPE],["Worker",e.TYPE_VALUE],["Worklet",e.TYPE_VALUE],["WritableStream",e.TYPE_VALUE],["WritableStreamDefaultController",e.TYPE_VALUE],["WritableStreamDefaultWriter",e.TYPE_VALUE],["XMLDocument",e.TYPE_VALUE],["XMLHttpRequestEventMap",e.TYPE],["XMLHttpRequest",e.TYPE_VALUE],["XMLHttpRequestEventTargetEventMap",e.TYPE],["XMLHttpRequestEventTarget",e.TYPE_VALUE],["XMLHttpRequestUpload",e.TYPE_VALUE],["XMLSerializer",e.TYPE_VALUE],["XPathEvaluator",e.TYPE_VALUE],["XPathEvaluatorBase",e.TYPE],["XPathExpression",e.TYPE_VALUE],["XPathResult",e.TYPE_VALUE],["XSLTProcessor",e.TYPE_VALUE],["Console",e.TYPE],["CSS",e.TYPE_VALUE],["WebAssembly",e.TYPE_VALUE],["AudioDataOutputCallback",e.TYPE],["BlobCallback",e.TYPE],["CustomElementConstructor",e.TYPE],["DecodeErrorCallback",e.TYPE],["DecodeSuccessCallback",e.TYPE],["EncodedAudioChunkOutputCallback",e.TYPE],["EncodedVideoChunkOutputCallback",e.TYPE],["ErrorCallback",e.TYPE],["FileCallback",e.TYPE],["FileSystemEntriesCallback",e.TYPE],["FileSystemEntryCallback",e.TYPE],["FrameRequestCallback",e.TYPE],["FunctionStringCallback",e.TYPE],["IdleRequestCallback",e.TYPE],["IntersectionObserverCallback",e.TYPE],["LockGrantedCallback",e.TYPE],["MediaSessionActionHandler",e.TYPE],["MutationCallback",e.TYPE],["NotificationPermissionCallback",e.TYPE],["OnBeforeUnloadEventHandlerNonNull",e.TYPE],["OnErrorEventHandlerNonNull",e.TYPE],["PerformanceObserverCallback",e.TYPE],["PositionCallback",e.TYPE],["PositionErrorCallback",e.TYPE],["QueuingStrategySize",e.TYPE],["RTCPeerConnectionErrorCallback",e.TYPE],["RTCSessionDescriptionCallback",e.TYPE],["RemotePlaybackAvailabilityCallback",e.TYPE],["ReportingObserverCallback",e.TYPE],["ResizeObserverCallback",e.TYPE],["TransformerFlushCallback",e.TYPE],["TransformerStartCallback",e.TYPE],["TransformerTransformCallback",e.TYPE],["UnderlyingSinkAbortCallback",e.TYPE],["UnderlyingSinkCloseCallback",e.TYPE],["UnderlyingSinkStartCallback",e.TYPE],["UnderlyingSinkWriteCallback",e.TYPE],["UnderlyingSourceCancelCallback",e.TYPE],["UnderlyingSourcePullCallback",e.TYPE],["UnderlyingSourceStartCallback",e.TYPE],["VideoFrameOutputCallback",e.TYPE],["VideoFrameRequestCallback",e.TYPE],["ViewTransitionUpdateCallback",e.TYPE],["VoidFunction",e.TYPE],["WebCodecsErrorCallback",e.TYPE],["HTMLElementTagNameMap",e.TYPE],["HTMLElementDeprecatedTagNameMap",e.TYPE],["SVGElementTagNameMap",e.TYPE],["MathMLElementTagNameMap",e.TYPE],["ElementTagNameMap",e.TYPE],["AlgorithmIdentifier",e.TYPE],["AllowSharedBufferSource",e.TYPE],["AutoFill",e.TYPE],["AutoFillField",e.TYPE],["AutoFillSection",e.TYPE],["Base64URLString",e.TYPE],["BigInteger",e.TYPE],["BlobPart",e.TYPE],["BodyInit",e.TYPE],["BufferSource",e.TYPE],["COSEAlgorithmIdentifier",e.TYPE],["CSSKeywordish",e.TYPE],["CSSNumberish",e.TYPE],["CSSPerspectiveValue",e.TYPE],["CSSUnparsedSegment",e.TYPE],["CanvasImageSource",e.TYPE],["ClipboardItemData",e.TYPE],["ClipboardItems",e.TYPE],["ConstrainBoolean",e.TYPE],["ConstrainDOMString",e.TYPE],["ConstrainDouble",e.TYPE],["ConstrainULong",e.TYPE],["DOMHighResTimeStamp",e.TYPE],["EpochTimeStamp",e.TYPE],["EventListenerOrEventListenerObject",e.TYPE],["FileSystemWriteChunkType",e.TYPE],["Float32List",e.TYPE],["FormDataEntryValue",e.TYPE],["GLbitfield",e.TYPE],["GLboolean",e.TYPE],["GLclampf",e.TYPE],["GLenum",e.TYPE],["GLfloat",e.TYPE],["GLint",e.TYPE],["GLint64",e.TYPE],["GLintptr",e.TYPE],["GLsizei",e.TYPE],["GLsizeiptr",e.TYPE],["GLuint",e.TYPE],["GLuint64",e.TYPE],["HTMLOrSVGImageElement",e.TYPE],["HTMLOrSVGScriptElement",e.TYPE],["HashAlgorithmIdentifier",e.TYPE],["HeadersInit",e.TYPE],["IDBValidKey",e.TYPE],["ImageBitmapSource",e.TYPE],["ImageBufferSource",e.TYPE],["Int32List",e.TYPE],["LineAndPositionSetting",e.TYPE],["MediaProvider",e.TYPE],["MessageEventSource",e.TYPE],["MutationRecordType",e.TYPE],["NamedCurve",e.TYPE],["OffscreenRenderingContext",e.TYPE],["OnBeforeUnloadEventHandler",e.TYPE],["OnErrorEventHandler",e.TYPE],["OptionalPostfixToken",e.TYPE],["OptionalPrefixToken",e.TYPE],["PerformanceEntryList",e.TYPE],["PublicKeyCredentialClientCapabilities",e.TYPE],["PublicKeyCredentialJSON",e.TYPE],["RTCRtpTransform",e.TYPE],["ReadableStreamController",e.TYPE],["ReadableStreamReadResult",e.TYPE],["ReadableStreamReader",e.TYPE],["RenderingContext",e.TYPE],["ReportList",e.TYPE],["RequestInfo",e.TYPE],["TexImageSource",e.TYPE],["TimerHandler",e.TYPE],["Transferable",e.TYPE],["Uint32List",e.TYPE],["VibratePattern",e.TYPE],["WindowProxy",e.TYPE],["XMLHttpRequestBodyInit",e.TYPE],["AlignSetting",e.TYPE],["AlphaOption",e.TYPE],["AnimationPlayState",e.TYPE],["AnimationReplaceState",e.TYPE],["AppendMode",e.TYPE],["AttestationConveyancePreference",e.TYPE],["AudioContextLatencyCategory",e.TYPE],["AudioContextState",e.TYPE],["AudioSampleFormat",e.TYPE],["AuthenticatorAttachment",e.TYPE],["AuthenticatorTransport",e.TYPE],["AutoFillAddressKind",e.TYPE],["AutoFillBase",e.TYPE],["AutoFillContactField",e.TYPE],["AutoFillContactKind",e.TYPE],["AutoFillCredentialField",e.TYPE],["AutoFillNormalField",e.TYPE],["AutoKeyword",e.TYPE],["AutomationRate",e.TYPE],["AvcBitstreamFormat",e.TYPE],["BinaryType",e.TYPE],["BiquadFilterType",e.TYPE],["BitrateMode",e.TYPE],["CSSMathOperator",e.TYPE],["CSSNumericBaseType",e.TYPE],["CanPlayTypeResult",e.TYPE],["CanvasDirection",e.TYPE],["CanvasFillRule",e.TYPE],["CanvasFontKerning",e.TYPE],["CanvasFontStretch",e.TYPE],["CanvasFontVariantCaps",e.TYPE],["CanvasLineCap",e.TYPE],["CanvasLineJoin",e.TYPE],["CanvasTextAlign",e.TYPE],["CanvasTextBaseline",e.TYPE],["CanvasTextRendering",e.TYPE],["ChannelCountMode",e.TYPE],["ChannelInterpretation",e.TYPE],["ClientTypes",e.TYPE],["CodecState",e.TYPE],["ColorGamut",e.TYPE],["ColorSpaceConversion",e.TYPE],["CompositeOperation",e.TYPE],["CompositeOperationOrAuto",e.TYPE],["CompressionFormat",e.TYPE],["CredentialMediationRequirement",e.TYPE],["DOMParserSupportedType",e.TYPE],["DirectionSetting",e.TYPE],["DisplayCaptureSurfaceType",e.TYPE],["DistanceModelType",e.TYPE],["DocumentReadyState",e.TYPE],["DocumentVisibilityState",e.TYPE],["EncodedAudioChunkType",e.TYPE],["EncodedVideoChunkType",e.TYPE],["EndOfStreamError",e.TYPE],["EndingType",e.TYPE],["FileSystemHandleKind",e.TYPE],["FillMode",e.TYPE],["FontDisplay",e.TYPE],["FontFaceLoadStatus",e.TYPE],["FontFaceSetLoadStatus",e.TYPE],["FullscreenNavigationUI",e.TYPE],["GamepadHapticEffectType",e.TYPE],["GamepadHapticsResult",e.TYPE],["GamepadMappingType",e.TYPE],["GlobalCompositeOperation",e.TYPE],["HardwareAcceleration",e.TYPE],["HdrMetadataType",e.TYPE],["HighlightType",e.TYPE],["IDBCursorDirection",e.TYPE],["IDBRequestReadyState",e.TYPE],["IDBTransactionDurability",e.TYPE],["IDBTransactionMode",e.TYPE],["ImageOrientation",e.TYPE],["ImageSmoothingQuality",e.TYPE],["InsertPosition",e.TYPE],["IterationCompositeOperation",e.TYPE],["KeyFormat",e.TYPE],["KeyType",e.TYPE],["KeyUsage",e.TYPE],["LatencyMode",e.TYPE],["LineAlignSetting",e.TYPE],["LockMode",e.TYPE],["MIDIPortConnectionState",e.TYPE],["MIDIPortDeviceState",e.TYPE],["MIDIPortType",e.TYPE],["MediaDecodingType",e.TYPE],["MediaDeviceKind",e.TYPE],["MediaEncodingType",e.TYPE],["MediaKeyMessageType",e.TYPE],["MediaKeySessionClosedReason",e.TYPE],["MediaKeySessionType",e.TYPE],["MediaKeyStatus",e.TYPE],["MediaKeysRequirement",e.TYPE],["MediaSessionAction",e.TYPE],["MediaSessionPlaybackState",e.TYPE],["MediaStreamTrackState",e.TYPE],["NavigationTimingType",e.TYPE],["NavigationType",e.TYPE],["NotificationDirection",e.TYPE],["NotificationPermission",e.TYPE],["OffscreenRenderingContextId",e.TYPE],["OpusBitstreamFormat",e.TYPE],["OrientationType",e.TYPE],["OscillatorType",e.TYPE],["OverSampleType",e.TYPE],["PanningModelType",e.TYPE],["PaymentComplete",e.TYPE],["PaymentShippingType",e.TYPE],["PermissionName",e.TYPE],["PermissionState",e.TYPE],["PlaybackDirection",e.TYPE],["PositionAlignSetting",e.TYPE],["PredefinedColorSpace",e.TYPE],["PremultiplyAlpha",e.TYPE],["PresentationStyle",e.TYPE],["PublicKeyCredentialType",e.TYPE],["PushEncryptionKeyName",e.TYPE],["RTCBundlePolicy",e.TYPE],["RTCDataChannelState",e.TYPE],["RTCDegradationPreference",e.TYPE],["RTCDtlsRole",e.TYPE],["RTCDtlsTransportState",e.TYPE],["RTCEncodedVideoFrameType",e.TYPE],["RTCErrorDetailType",e.TYPE],["RTCIceCandidateType",e.TYPE],["RTCIceComponent",e.TYPE],["RTCIceConnectionState",e.TYPE],["RTCIceGathererState",e.TYPE],["RTCIceGatheringState",e.TYPE],["RTCIceProtocol",e.TYPE],["RTCIceRole",e.TYPE],["RTCIceTcpCandidateType",e.TYPE],["RTCIceTransportPolicy",e.TYPE],["RTCIceTransportState",e.TYPE],["RTCPeerConnectionState",e.TYPE],["RTCPriorityType",e.TYPE],["RTCQualityLimitationReason",e.TYPE],["RTCRtcpMuxPolicy",e.TYPE],["RTCRtpTransceiverDirection",e.TYPE],["RTCSctpTransportState",e.TYPE],["RTCSdpType",e.TYPE],["RTCSignalingState",e.TYPE],["RTCStatsIceCandidatePairState",e.TYPE],["RTCStatsType",e.TYPE],["ReadableStreamReaderMode",e.TYPE],["ReadableStreamType",e.TYPE],["ReadyState",e.TYPE],["RecordingState",e.TYPE],["ReferrerPolicy",e.TYPE],["RemotePlaybackState",e.TYPE],["RequestCache",e.TYPE],["RequestCredentials",e.TYPE],["RequestDestination",e.TYPE],["RequestMode",e.TYPE],["RequestPriority",e.TYPE],["RequestRedirect",e.TYPE],["ResidentKeyRequirement",e.TYPE],["ResizeObserverBoxOptions",e.TYPE],["ResizeQuality",e.TYPE],["ResponseType",e.TYPE],["ScrollBehavior",e.TYPE],["ScrollLogicalPosition",e.TYPE],["ScrollRestoration",e.TYPE],["ScrollSetting",e.TYPE],["SecurityPolicyViolationEventDisposition",e.TYPE],["SelectionMode",e.TYPE],["ServiceWorkerState",e.TYPE],["ServiceWorkerUpdateViaCache",e.TYPE],["ShadowRootMode",e.TYPE],["SlotAssignmentMode",e.TYPE],["SpeechSynthesisErrorCode",e.TYPE],["TextTrackKind",e.TYPE],["TextTrackMode",e.TYPE],["TouchType",e.TYPE],["TransferFunction",e.TYPE],["UserVerificationRequirement",e.TYPE],["VideoColorPrimaries",e.TYPE],["VideoEncoderBitrateMode",e.TYPE],["VideoFacingModeEnum",e.TYPE],["VideoMatrixCoefficients",e.TYPE],["VideoPixelFormat",e.TYPE],["VideoTransferCharacteristics",e.TYPE],["WakeLockType",e.TYPE],["WebGLPowerPreference",e.TYPE],["WebTransportCongestionControl",e.TYPE],["WebTransportErrorSource",e.TYPE],["WorkerType",e.TYPE],["WriteCommandType",e.TYPE],["XMLHttpRequestResponseType",e.TYPE]]},uz}var uX={};function uQ(){if(ey)return uX;ey=1,Object.defineProperty(uX,"__esModule",{value:!0}),uX.dom_asynciterable=void 0;let e=uG();return uX.dom_asynciterable={libs:[],variables:[["FileSystemDirectoryHandleAsyncIterator",e.TYPE],["FileSystemDirectoryHandle",e.TYPE],["ReadableStreamAsyncIterator",e.TYPE],["ReadableStream",e.TYPE]]},uX}var uZ={};function u0(){if(eE)return uZ;eE=1,Object.defineProperty(uZ,"__esModule",{value:!0}),uZ.dom_iterable=void 0;let e=uG();return uZ.dom_iterable={libs:[],variables:[["AudioParam",e.TYPE],["AudioParamMap",e.TYPE],["BaseAudioContext",e.TYPE],["CSSKeyframesRule",e.TYPE],["CSSNumericArray",e.TYPE],["CSSRuleList",e.TYPE],["CSSStyleDeclaration",e.TYPE],["CSSTransformValue",e.TYPE],["CSSUnparsedValue",e.TYPE],["Cache",e.TYPE],["CanvasPath",e.TYPE],["CanvasPathDrawingStyles",e.TYPE],["CustomStateSet",e.TYPE],["DOMRectList",e.TYPE],["DOMStringList",e.TYPE],["DOMTokenList",e.TYPE],["DataTransferItemList",e.TYPE],["EventCounts",e.TYPE],["FileList",e.TYPE],["FontFaceSet",e.TYPE],["FormDataIterator",e.TYPE],["FormData",e.TYPE],["HTMLAllCollection",e.TYPE],["HTMLCollectionBase",e.TYPE],["HTMLCollectionOf",e.TYPE],["HTMLFormElement",e.TYPE],["HTMLSelectElement",e.TYPE],["HeadersIterator",e.TYPE],["Headers",e.TYPE],["Highlight",e.TYPE],["HighlightRegistry",e.TYPE],["IDBDatabase",e.TYPE],["IDBObjectStore",e.TYPE],["ImageTrackList",e.TYPE],["MIDIInputMap",e.TYPE],["MIDIOutput",e.TYPE],["MIDIOutputMap",e.TYPE],["MediaKeyStatusMapIterator",e.TYPE],["MediaKeyStatusMap",e.TYPE],["MediaList",e.TYPE],["MessageEvent",e.TYPE],["MimeTypeArray",e.TYPE],["NamedNodeMap",e.TYPE],["Navigator",e.TYPE],["NodeList",e.TYPE],["NodeListOf",e.TYPE],["Plugin",e.TYPE],["PluginArray",e.TYPE],["RTCRtpTransceiver",e.TYPE],["RTCStatsReport",e.TYPE],["SVGLengthList",e.TYPE],["SVGNumberList",e.TYPE],["SVGPointList",e.TYPE],["SVGStringList",e.TYPE],["SVGTransformList",e.TYPE],["SourceBufferList",e.TYPE],["SpeechRecognitionResult",e.TYPE],["SpeechRecognitionResultList",e.TYPE],["StylePropertyMapReadOnlyIterator",e.TYPE],["StylePropertyMapReadOnly",e.TYPE],["StyleSheetList",e.TYPE],["SubtleCrypto",e.TYPE],["TextTrackCueList",e.TYPE],["TextTrackList",e.TYPE],["TouchList",e.TYPE],["URLSearchParamsIterator",e.TYPE],["URLSearchParams",e.TYPE],["ViewTransitionTypeSet",e.TYPE],["WEBGL_draw_buffers",e.TYPE],["WEBGL_multi_draw",e.TYPE],["WebGL2RenderingContextBase",e.TYPE],["WebGL2RenderingContextOverloads",e.TYPE],["WebGLRenderingContextBase",e.TYPE],["WebGLRenderingContextOverloads",e.TYPE]]},uZ}var u1={};function u2(){if(eT)return u1;eT=1,Object.defineProperty(u1,"__esModule",{value:!0}),u1.es5=void 0;let e=uG(),t=uH(),n=uK();return u1.es5={libs:[t.decorators,n.decorators_legacy],variables:[["Symbol",e.TYPE],["PropertyKey",e.TYPE],["PropertyDescriptor",e.TYPE],["PropertyDescriptorMap",e.TYPE],["Object",e.TYPE_VALUE],["ObjectConstructor",e.TYPE],["Function",e.TYPE_VALUE],["FunctionConstructor",e.TYPE],["ThisParameterType",e.TYPE],["OmitThisParameter",e.TYPE],["CallableFunction",e.TYPE],["NewableFunction",e.TYPE],["IArguments",e.TYPE],["String",e.TYPE_VALUE],["StringConstructor",e.TYPE],["Boolean",e.TYPE_VALUE],["BooleanConstructor",e.TYPE],["Number",e.TYPE_VALUE],["NumberConstructor",e.TYPE],["TemplateStringsArray",e.TYPE],["ImportMeta",e.TYPE],["ImportCallOptions",e.TYPE],["ImportAssertions",e.TYPE],["ImportAttributes",e.TYPE],["Math",e.TYPE_VALUE],["Date",e.TYPE_VALUE],["DateConstructor",e.TYPE],["RegExpMatchArray",e.TYPE],["RegExpExecArray",e.TYPE],["RegExp",e.TYPE_VALUE],["RegExpConstructor",e.TYPE],["Error",e.TYPE_VALUE],["ErrorConstructor",e.TYPE],["EvalError",e.TYPE_VALUE],["EvalErrorConstructor",e.TYPE],["RangeError",e.TYPE_VALUE],["RangeErrorConstructor",e.TYPE],["ReferenceError",e.TYPE_VALUE],["ReferenceErrorConstructor",e.TYPE],["SyntaxError",e.TYPE_VALUE],["SyntaxErrorConstructor",e.TYPE],["TypeError",e.TYPE_VALUE],["TypeErrorConstructor",e.TYPE],["URIError",e.TYPE_VALUE],["URIErrorConstructor",e.TYPE],["JSON",e.TYPE_VALUE],["ReadonlyArray",e.TYPE],["ConcatArray",e.TYPE],["Array",e.TYPE_VALUE],["ArrayConstructor",e.TYPE],["TypedPropertyDescriptor",e.TYPE],["PromiseConstructorLike",e.TYPE],["PromiseLike",e.TYPE],["Promise",e.TYPE],["Awaited",e.TYPE],["ArrayLike",e.TYPE],["Partial",e.TYPE],["Required",e.TYPE],["Readonly",e.TYPE],["Pick",e.TYPE],["Record",e.TYPE],["Exclude",e.TYPE],["Extract",e.TYPE],["Omit",e.TYPE],["NonNullable",e.TYPE],["Parameters",e.TYPE],["ConstructorParameters",e.TYPE],["ReturnType",e.TYPE],["InstanceType",e.TYPE],["Uppercase",e.TYPE],["Lowercase",e.TYPE],["Capitalize",e.TYPE],["Uncapitalize",e.TYPE],["NoInfer",e.TYPE],["ThisType",e.TYPE],["WeakKeyTypes",e.TYPE],["WeakKey",e.TYPE],["ArrayBuffer",e.TYPE_VALUE],["ArrayBufferTypes",e.TYPE],["ArrayBufferLike",e.TYPE],["ArrayBufferConstructor",e.TYPE],["ArrayBufferView",e.TYPE],["DataView",e.TYPE_VALUE],["DataViewConstructor",e.TYPE],["Int8Array",e.TYPE_VALUE],["Int8ArrayConstructor",e.TYPE],["Uint8Array",e.TYPE_VALUE],["Uint8ArrayConstructor",e.TYPE],["Uint8ClampedArray",e.TYPE_VALUE],["Uint8ClampedArrayConstructor",e.TYPE],["Int16Array",e.TYPE_VALUE],["Int16ArrayConstructor",e.TYPE],["Uint16Array",e.TYPE_VALUE],["Uint16ArrayConstructor",e.TYPE],["Int32Array",e.TYPE_VALUE],["Int32ArrayConstructor",e.TYPE],["Uint32Array",e.TYPE_VALUE],["Uint32ArrayConstructor",e.TYPE],["Float32Array",e.TYPE_VALUE],["Float32ArrayConstructor",e.TYPE],["Float64Array",e.TYPE_VALUE],["Float64ArrayConstructor",e.TYPE],["Intl",e.TYPE_VALUE]]},u1}var u3={},u4={};function u6(){if(eb)return u4;eb=1,Object.defineProperty(u4,"__esModule",{value:!0}),u4.es2015_collection=void 0;let e=uG();return u4.es2015_collection={libs:[],variables:[["Map",e.TYPE_VALUE],["MapConstructor",e.TYPE],["ReadonlyMap",e.TYPE],["WeakMap",e.TYPE_VALUE],["WeakMapConstructor",e.TYPE],["Set",e.TYPE_VALUE],["SetConstructor",e.TYPE],["ReadonlySet",e.TYPE],["WeakSet",e.TYPE_VALUE],["WeakSetConstructor",e.TYPE]]},u4}var u5={};function u9(){if(eS)return u5;eS=1,Object.defineProperty(u5,"__esModule",{value:!0}),u5.es2015_core=void 0;let e=uG();return u5.es2015_core={libs:[],variables:[["Array",e.TYPE],["ArrayConstructor",e.TYPE],["DateConstructor",e.TYPE],["Function",e.TYPE],["Math",e.TYPE],["NumberConstructor",e.TYPE],["ObjectConstructor",e.TYPE],["ReadonlyArray",e.TYPE],["RegExp",e.TYPE],["RegExpConstructor",e.TYPE],["String",e.TYPE],["StringConstructor",e.TYPE],["Int8Array",e.TYPE],["Uint8Array",e.TYPE],["Uint8ClampedArray",e.TYPE],["Int16Array",e.TYPE],["Uint16Array",e.TYPE],["Int32Array",e.TYPE],["Uint32Array",e.TYPE],["Float32Array",e.TYPE],["Float64Array",e.TYPE]]},u5}var u8={},u7={},fe={};function ft(){return ex||(ex=1,Object.defineProperty(fe,"__esModule",{value:!0}),fe.es2015_symbol=void 0,fe.es2015_symbol={libs:[],variables:[["SymbolConstructor",uG().TYPE]]}),fe}function fn(){if(eP)return u7;eP=1,Object.defineProperty(u7,"__esModule",{value:!0}),u7.es2015_iterable=void 0;let e=uG();return u7.es2015_iterable={libs:[ft().es2015_symbol],variables:[["SymbolConstructor",e.TYPE],["IteratorYieldResult",e.TYPE],["IteratorReturnResult",e.TYPE],["IteratorResult",e.TYPE],["Iterator",e.TYPE],["Iterable",e.TYPE],["IterableIterator",e.TYPE],["IteratorObject",e.TYPE],["BuiltinIteratorReturn",e.TYPE],["ArrayIterator",e.TYPE],["Array",e.TYPE],["ArrayConstructor",e.TYPE],["ReadonlyArray",e.TYPE],["IArguments",e.TYPE],["MapIterator",e.TYPE],["Map",e.TYPE],["ReadonlyMap",e.TYPE],["MapConstructor",e.TYPE],["WeakMap",e.TYPE],["WeakMapConstructor",e.TYPE],["SetIterator",e.TYPE],["Set",e.TYPE],["ReadonlySet",e.TYPE],["SetConstructor",e.TYPE],["WeakSet",e.TYPE],["WeakSetConstructor",e.TYPE],["Promise",e.TYPE],["PromiseConstructor",e.TYPE],["StringIterator",e.TYPE],["String",e.TYPE],["Int8Array",e.TYPE],["Int8ArrayConstructor",e.TYPE],["Uint8Array",e.TYPE],["Uint8ArrayConstructor",e.TYPE],["Uint8ClampedArray",e.TYPE],["Uint8ClampedArrayConstructor",e.TYPE],["Int16Array",e.TYPE],["Int16ArrayConstructor",e.TYPE],["Uint16Array",e.TYPE],["Uint16ArrayConstructor",e.TYPE],["Int32Array",e.TYPE],["Int32ArrayConstructor",e.TYPE],["Uint32Array",e.TYPE],["Uint32ArrayConstructor",e.TYPE],["Float32Array",e.TYPE],["Float32ArrayConstructor",e.TYPE],["Float64Array",e.TYPE],["Float64ArrayConstructor",e.TYPE]]},u7}function fr(){if(ev)return u8;ev=1,Object.defineProperty(u8,"__esModule",{value:!0}),u8.es2015_generator=void 0;let e=uG();return u8.es2015_generator={libs:[fn().es2015_iterable],variables:[["Generator",e.TYPE],["GeneratorFunction",e.TYPE],["GeneratorFunctionConstructor",e.TYPE]]},u8}var fi={};function fo(){return ek||(ek=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.es2015_promise=void 0,fi.es2015_promise={libs:[],variables:[["PromiseConstructor",uG().TYPE]]}),fi}var fs={};function fa(){if(e_)return fs;e_=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.es2015_proxy=void 0;let e=uG();return fs.es2015_proxy={libs:[],variables:[["ProxyHandler",e.TYPE],["ProxyConstructor",e.TYPE]]},fs}var fl={};function fc(){return eA||(eA=1,Object.defineProperty(fl,"__esModule",{value:!0}),fl.es2015_reflect=void 0,fl.es2015_reflect={libs:[],variables:[["Reflect",uG().TYPE_VALUE]]}),fl}var fp={};function fu(){if(eY)return fp;eY=1,Object.defineProperty(fp,"__esModule",{value:!0}),fp.es2015_symbol_wellknown=void 0;let e=uG();return fp.es2015_symbol_wellknown={libs:[ft().es2015_symbol],variables:[["SymbolConstructor",e.TYPE],["Symbol",e.TYPE],["Array",e.TYPE],["ReadonlyArray",e.TYPE],["Date",e.TYPE],["Map",e.TYPE],["WeakMap",e.TYPE],["Set",e.TYPE],["WeakSet",e.TYPE],["JSON",e.TYPE],["Function",e.TYPE],["GeneratorFunction",e.TYPE],["Math",e.TYPE],["Promise",e.TYPE],["PromiseConstructor",e.TYPE],["RegExp",e.TYPE],["RegExpConstructor",e.TYPE],["String",e.TYPE],["ArrayBuffer",e.TYPE],["DataView",e.TYPE],["Int8Array",e.TYPE],["Uint8Array",e.TYPE],["Uint8ClampedArray",e.TYPE],["Int16Array",e.TYPE],["Uint16Array",e.TYPE],["Int32Array",e.TYPE],["Uint32Array",e.TYPE],["Float32Array",e.TYPE],["Float64Array",e.TYPE],["ArrayConstructor",e.TYPE],["MapConstructor",e.TYPE],["SetConstructor",e.TYPE],["ArrayBufferConstructor",e.TYPE]]},fp}var ff={},fd={};function fm(){if(ew)return fd;ew=1,Object.defineProperty(fd,"__esModule",{value:!0}),fd.es2015=void 0;let e=u2(),t=u6(),n=u9(),r=fr(),i=fn(),o=fo(),s=fa(),a=fc(),l=ft(),c=fu();return fd.es2015={libs:[e.es5,n.es2015_core,t.es2015_collection,i.es2015_iterable,r.es2015_generator,o.es2015_promise,s.es2015_proxy,a.es2015_reflect,l.es2015_symbol,c.es2015_symbol_wellknown],variables:[]},fd}var fg={};function fh(){if(eL)return fg;eL=1,Object.defineProperty(fg,"__esModule",{value:!0}),fg.es2016_array_include=void 0;let e=uG();return fg.es2016_array_include={libs:[],variables:[["Array",e.TYPE],["ReadonlyArray",e.TYPE],["Int8Array",e.TYPE],["Uint8Array",e.TYPE],["Uint8ClampedArray",e.TYPE],["Int16Array",e.TYPE],["Uint16Array",e.TYPE],["Int32Array",e.TYPE],["Uint32Array",e.TYPE],["Float32Array",e.TYPE],["Float64Array",e.TYPE]]},fg}var fy={};function fE(){return eI||(eI=1,Object.defineProperty(fy,"__esModule",{value:!0}),fy.es2016_intl=void 0,fy.es2016_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),fy}var fT={};function fb(){if(eD)return fT;eD=1,Object.defineProperty(fT,"__esModule",{value:!0}),fT.es2016=void 0;let e=fm(),t=fh(),n=fE();return fT.es2016={libs:[e.es2015,t.es2016_array_include,n.es2016_intl],variables:[]},fT}var fS={},fx={};function fP(){if(eV)return fx;eV=1,Object.defineProperty(fx,"__esModule",{value:!0}),fx.scripthost=void 0;let e=uG();return fx.scripthost={libs:[],variables:[["ActiveXObject",e.TYPE_VALUE],["ITextWriter",e.TYPE],["TextStreamBase",e.TYPE],["TextStreamWriter",e.TYPE],["TextStreamReader",e.TYPE],["SafeArray",e.TYPE_VALUE],["Enumerator",e.TYPE_VALUE],["EnumeratorConstructor",e.TYPE],["VBArray",e.TYPE_VALUE],["VBArrayConstructor",e.TYPE],["VarDate",e.TYPE_VALUE],["DateConstructor",e.TYPE],["Date",e.TYPE]]},fx}var fv={};function fk(){return eB||(eB=1,Object.defineProperty(fv,"__esModule",{value:!0}),fv.webworker_importscripts=void 0,fv.webworker_importscripts={libs:[],variables:[]}),fv}var f_={},fA={};function fY(){return ej||(ej=1,Object.defineProperty(fA,"__esModule",{value:!0}),fA.es2017_arraybuffer=void 0,fA.es2017_arraybuffer={libs:[],variables:[["ArrayBufferConstructor",uG().TYPE]]}),fA}var fC={};function fw(){return eM||(eM=1,Object.defineProperty(fC,"__esModule",{value:!0}),fC.es2017_date=void 0,fC.es2017_date={libs:[],variables:[["DateConstructor",uG().TYPE]]}),fC}var fL={};function fI(){return eR||(eR=1,Object.defineProperty(fL,"__esModule",{value:!0}),fL.es2017_intl=void 0,fL.es2017_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),fL}var fO={};function fD(){return eF||(eF=1,Object.defineProperty(fO,"__esModule",{value:!0}),fO.es2017_object=void 0,fO.es2017_object={libs:[],variables:[["ObjectConstructor",uG().TYPE]]}),fO}var fV={};function fB(){if(eU)return fV;eU=1,Object.defineProperty(fV,"__esModule",{value:!0}),fV.es2017_sharedmemory=void 0;let e=uG(),t=ft(),n=fu();return fV.es2017_sharedmemory={libs:[t.es2015_symbol,n.es2015_symbol_wellknown],variables:[["SharedArrayBuffer",e.TYPE_VALUE],["SharedArrayBufferConstructor",e.TYPE],["ArrayBufferTypes",e.TYPE],["Atomics",e.TYPE_VALUE]]},fV}var fN={};function fj(){return eq||(eq=1,Object.defineProperty(fN,"__esModule",{value:!0}),fN.es2017_string=void 0,fN.es2017_string={libs:[],variables:[["String",uG().TYPE]]}),fN}var fM={};function fR(){if(eW)return fM;eW=1,Object.defineProperty(fM,"__esModule",{value:!0}),fM.es2017_typedarrays=void 0;let e=uG();return fM.es2017_typedarrays={libs:[],variables:[["Int8ArrayConstructor",e.TYPE],["Uint8ArrayConstructor",e.TYPE],["Uint8ClampedArrayConstructor",e.TYPE],["Int16ArrayConstructor",e.TYPE],["Uint16ArrayConstructor",e.TYPE],["Int32ArrayConstructor",e.TYPE],["Uint32ArrayConstructor",e.TYPE],["Float32ArrayConstructor",e.TYPE],["Float64ArrayConstructor",e.TYPE]]},fM}function fF(){if(eG)return f_;eG=1,Object.defineProperty(f_,"__esModule",{value:!0}),f_.es2017=void 0;let e=fb(),t=fY(),n=fw(),r=fI(),i=fD(),o=fB(),s=fj(),a=fR();return f_.es2017={libs:[e.es2016,t.es2017_arraybuffer,n.es2017_date,r.es2017_intl,i.es2017_object,o.es2017_sharedmemory,s.es2017_string,a.es2017_typedarrays],variables:[]},f_}var fU={},fq={},fW={},fG={};function fH(){if(e$)return fG;e$=1,Object.defineProperty(fG,"__esModule",{value:!0}),fG.es2018_asynciterable=void 0;let e=uG(),t=fn();return fG.es2018_asynciterable={libs:[ft().es2015_symbol,t.es2015_iterable],variables:[["SymbolConstructor",e.TYPE],["AsyncIterator",e.TYPE],["AsyncIterable",e.TYPE],["AsyncIterableIterator",e.TYPE],["AsyncIteratorObject",e.TYPE]]},fG}function f$(){if(eK)return fW;eK=1,Object.defineProperty(fW,"__esModule",{value:!0}),fW.es2018_asyncgenerator=void 0;let e=uG();return fW.es2018_asyncgenerator={libs:[fH().es2018_asynciterable],variables:[["AsyncGenerator",e.TYPE],["AsyncGeneratorFunction",e.TYPE],["AsyncGeneratorFunctionConstructor",e.TYPE]]},fW}var fK={};function fz(){return ez||(ez=1,Object.defineProperty(fK,"__esModule",{value:!0}),fK.es2018_intl=void 0,fK.es2018_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),fK}var fJ={};function fX(){return eJ||(eJ=1,Object.defineProperty(fJ,"__esModule",{value:!0}),fJ.es2018_promise=void 0,fJ.es2018_promise={libs:[],variables:[["Promise",uG().TYPE]]}),fJ}var fQ={};function fZ(){if(eX)return fQ;eX=1,Object.defineProperty(fQ,"__esModule",{value:!0}),fQ.es2018_regexp=void 0;let e=uG();return fQ.es2018_regexp={libs:[],variables:[["RegExpMatchArray",e.TYPE],["RegExpExecArray",e.TYPE],["RegExp",e.TYPE]]},fQ}function f0(){if(eQ)return fq;eQ=1,Object.defineProperty(fq,"__esModule",{value:!0}),fq.es2018=void 0;let e=fF(),t=f$(),n=fH(),r=fz(),i=fX(),o=fZ();return fq.es2018={libs:[e.es2017,n.es2018_asynciterable,t.es2018_asyncgenerator,i.es2018_promise,o.es2018_regexp,r.es2018_intl],variables:[]},fq}var f1={},f2={},f3={};function f4(){if(e0)return f3;e0=1,Object.defineProperty(f3,"__esModule",{value:!0}),f3.es2019_array=void 0;let e=uG();return f3.es2019_array={libs:[],variables:[["FlatArray",e.TYPE],["ReadonlyArray",e.TYPE],["Array",e.TYPE]]},f3}var f6={};function f5(){return e1||(e1=1,Object.defineProperty(f6,"__esModule",{value:!0}),f6.es2019_intl=void 0,f6.es2019_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),f6}var f9={};function f8(){if(e2)return f9;e2=1,Object.defineProperty(f9,"__esModule",{value:!0}),f9.es2019_object=void 0;let e=uG();return f9.es2019_object={libs:[fn().es2015_iterable],variables:[["ObjectConstructor",e.TYPE]]},f9}var f7={};function de(){return e3||(e3=1,Object.defineProperty(f7,"__esModule",{value:!0}),f7.es2019_string=void 0,f7.es2019_string={libs:[],variables:[["String",uG().TYPE]]}),f7}var dt={};function dn(){return e4||(e4=1,Object.defineProperty(dt,"__esModule",{value:!0}),dt.es2019_symbol=void 0,dt.es2019_symbol={libs:[],variables:[["Symbol",uG().TYPE]]}),dt}function dr(){if(e6)return f2;e6=1,Object.defineProperty(f2,"__esModule",{value:!0}),f2.es2019=void 0;let e=f0(),t=f4(),n=f5(),r=f8(),i=de(),o=dn();return f2.es2019={libs:[e.es2018,t.es2019_array,r.es2019_object,i.es2019_string,o.es2019_symbol,n.es2019_intl],variables:[]},f2}var di={},ds={},da={},dl={};function dc(){if(e9)return dl;e9=1,Object.defineProperty(dl,"__esModule",{value:!0}),dl.es2020_intl=void 0;let e=uG();return dl.es2020_intl={libs:[fz().es2018_intl],variables:[["Intl",e.TYPE_VALUE]]},dl}function dp(){if(e8)return da;e8=1,Object.defineProperty(da,"__esModule",{value:!0}),da.es2020_bigint=void 0;let e=uG();return da.es2020_bigint={libs:[dc().es2020_intl],variables:[["BigIntToLocaleStringOptions",e.TYPE],["BigInt",e.TYPE_VALUE],["BigIntConstructor",e.TYPE],["BigInt64Array",e.TYPE_VALUE],["BigInt64ArrayConstructor",e.TYPE],["BigUint64Array",e.TYPE_VALUE],["BigUint64ArrayConstructor",e.TYPE],["DataView",e.TYPE],["Intl",e.TYPE_VALUE]]},da}var du={};function df(){if(e7)return du;e7=1,Object.defineProperty(du,"__esModule",{value:!0}),du.es2020_date=void 0;let e=uG();return du.es2020_date={libs:[dc().es2020_intl],variables:[["Date",e.TYPE]]},du}var dd={};function dm(){if(te)return dd;te=1,Object.defineProperty(dd,"__esModule",{value:!0}),dd.es2020_number=void 0;let e=uG();return dd.es2020_number={libs:[dc().es2020_intl],variables:[["Number",e.TYPE]]},dd}var dg={};function dh(){if(tt)return dg;tt=1,Object.defineProperty(dg,"__esModule",{value:!0}),dg.es2020_promise=void 0;let e=uG();return dg.es2020_promise={libs:[],variables:[["PromiseFulfilledResult",e.TYPE],["PromiseRejectedResult",e.TYPE],["PromiseSettledResult",e.TYPE],["PromiseConstructor",e.TYPE]]},dg}var dy={};function dE(){if(tn)return dy;tn=1,Object.defineProperty(dy,"__esModule",{value:!0}),dy.es2020_sharedmemory=void 0;let e=uG();return dy.es2020_sharedmemory={libs:[dp().es2020_bigint],variables:[["Atomics",e.TYPE]]},dy}var dT={},db={};function dS(){if(tr)return db;tr=1,Object.defineProperty(db,"__esModule",{value:!0}),db.es2020_symbol_wellknown=void 0;let e=uG(),t=fn(),n=ft();return db.es2020_symbol_wellknown={libs:[t.es2015_iterable,n.es2015_symbol],variables:[["SymbolConstructor",e.TYPE],["RegExpStringIterator",e.TYPE],["RegExp",e.TYPE]]},db}function dx(){if(ti)return dT;ti=1,Object.defineProperty(dT,"__esModule",{value:!0}),dT.es2020_string=void 0;let e=uG(),t=fn(),n=dc(),r=dS();return dT.es2020_string={libs:[t.es2015_iterable,n.es2020_intl,r.es2020_symbol_wellknown],variables:[["String",e.TYPE]]},dT}function dP(){if(to)return ds;to=1,Object.defineProperty(ds,"__esModule",{value:!0}),ds.es2020=void 0;let e=dr(),t=dp(),n=df(),r=dc(),i=dm(),o=dh(),s=dE(),a=dx(),l=dS();return ds.es2020={libs:[e.es2019,t.es2020_bigint,n.es2020_date,i.es2020_number,o.es2020_promise,s.es2020_sharedmemory,a.es2020_string,l.es2020_symbol_wellknown,r.es2020_intl],variables:[]},ds}var dv={},dk={},d_={};function dA(){return ta||(ta=1,Object.defineProperty(d_,"__esModule",{value:!0}),d_.es2021_intl=void 0,d_.es2021_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),d_}var dY={};function dC(){if(tl)return dY;tl=1,Object.defineProperty(dY,"__esModule",{value:!0}),dY.es2021_promise=void 0;let e=uG();return dY.es2021_promise={libs:[],variables:[["AggregateError",e.TYPE_VALUE],["AggregateErrorConstructor",e.TYPE],["PromiseConstructor",e.TYPE]]},dY}var dw={};function dL(){return tc||(tc=1,Object.defineProperty(dw,"__esModule",{value:!0}),dw.es2021_string=void 0,dw.es2021_string={libs:[],variables:[["String",uG().TYPE]]}),dw}var dI={};function dO(){if(tp)return dI;tp=1,Object.defineProperty(dI,"__esModule",{value:!0}),dI.es2021_weakref=void 0;let e=uG();return dI.es2021_weakref={libs:[fu().es2015_symbol_wellknown],variables:[["WeakRef",e.TYPE_VALUE],["WeakRefConstructor",e.TYPE],["FinalizationRegistry",e.TYPE_VALUE],["FinalizationRegistryConstructor",e.TYPE]]},dI}function dD(){if(tu)return dk;tu=1,Object.defineProperty(dk,"__esModule",{value:!0}),dk.es2021=void 0;let e=dP(),t=dA(),n=dC(),r=dL(),i=dO();return dk.es2021={libs:[e.es2020,n.es2021_promise,r.es2021_string,i.es2021_weakref,t.es2021_intl],variables:[]},dk}var dV={},dB={},dN={};function dj(){if(td)return dN;td=1,Object.defineProperty(dN,"__esModule",{value:!0}),dN.es2022_array=void 0;let e=uG();return dN.es2022_array={libs:[],variables:[["Array",e.TYPE],["ReadonlyArray",e.TYPE],["Int8Array",e.TYPE],["Uint8Array",e.TYPE],["Uint8ClampedArray",e.TYPE],["Int16Array",e.TYPE],["Uint16Array",e.TYPE],["Int32Array",e.TYPE],["Uint32Array",e.TYPE],["Float32Array",e.TYPE],["Float64Array",e.TYPE],["BigInt64Array",e.TYPE],["BigUint64Array",e.TYPE]]},dN}var dM={};function dR(){if(tm)return dM;tm=1,Object.defineProperty(dM,"__esModule",{value:!0}),dM.es2022_error=void 0;let e=uG();return dM.es2022_error={libs:[dC().es2021_promise],variables:[["ErrorOptions",e.TYPE],["Error",e.TYPE],["ErrorConstructor",e.TYPE],["EvalErrorConstructor",e.TYPE],["RangeErrorConstructor",e.TYPE],["ReferenceErrorConstructor",e.TYPE],["SyntaxErrorConstructor",e.TYPE],["TypeErrorConstructor",e.TYPE],["URIErrorConstructor",e.TYPE],["AggregateErrorConstructor",e.TYPE]]},dM}var dF={};function dU(){return tg||(tg=1,Object.defineProperty(dF,"__esModule",{value:!0}),dF.es2022_intl=void 0,dF.es2022_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),dF}var dq={};function dW(){return th||(th=1,Object.defineProperty(dq,"__esModule",{value:!0}),dq.es2022_object=void 0,dq.es2022_object={libs:[],variables:[["ObjectConstructor",uG().TYPE]]}),dq}var dG={};function dH(){if(ty)return dG;ty=1,Object.defineProperty(dG,"__esModule",{value:!0}),dG.es2022_regexp=void 0;let e=uG();return dG.es2022_regexp={libs:[],variables:[["RegExpMatchArray",e.TYPE],["RegExpExecArray",e.TYPE],["RegExpIndicesArray",e.TYPE],["RegExp",e.TYPE]]},dG}var d$={};function dK(){return tE||(tE=1,Object.defineProperty(d$,"__esModule",{value:!0}),d$.es2022_string=void 0,d$.es2022_string={libs:[],variables:[["String",uG().TYPE]]}),d$}function dz(){if(tT)return dB;tT=1,Object.defineProperty(dB,"__esModule",{value:!0}),dB.es2022=void 0;let e=dD(),t=dj(),n=dR(),r=dU(),i=dW(),o=dH(),s=dK();return dB.es2022={libs:[e.es2021,t.es2022_array,n.es2022_error,r.es2022_intl,i.es2022_object,o.es2022_regexp,s.es2022_string],variables:[]},dB}var dJ={},dX={},dQ={};function dZ(){if(tS)return dQ;tS=1,Object.defineProperty(dQ,"__esModule",{value:!0}),dQ.es2023_array=void 0;let e=uG();return dQ.es2023_array={libs:[],variables:[["Array",e.TYPE],["ReadonlyArray",e.TYPE],["Int8Array",e.TYPE],["Uint8Array",e.TYPE],["Uint8ClampedArray",e.TYPE],["Int16Array",e.TYPE],["Uint16Array",e.TYPE],["Int32Array",e.TYPE],["Uint32Array",e.TYPE],["Float32Array",e.TYPE],["Float64Array",e.TYPE],["BigInt64Array",e.TYPE],["BigUint64Array",e.TYPE]]},dQ}var d0={};function d1(){return tx||(tx=1,Object.defineProperty(d0,"__esModule",{value:!0}),d0.es2023_collection=void 0,d0.es2023_collection={libs:[],variables:[["WeakKeyTypes",uG().TYPE]]}),d0}var d2={};function d3(){return tP||(tP=1,Object.defineProperty(d2,"__esModule",{value:!0}),d2.es2023_intl=void 0,d2.es2023_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),d2}function d4(){if(tv)return dX;tv=1,Object.defineProperty(dX,"__esModule",{value:!0}),dX.es2023=void 0;let e=dz(),t=dZ(),n=d1(),r=d3();return dX.es2023={libs:[e.es2022,t.es2023_array,n.es2023_collection,r.es2023_intl],variables:[]},dX}var d6={},d5={},d9={};function d8(){if(t_)return d9;t_=1,Object.defineProperty(d9,"__esModule",{value:!0}),d9.es2024_arraybuffer=void 0;let e=uG();return d9.es2024_arraybuffer={libs:[],variables:[["ArrayBuffer",e.TYPE],["ArrayBufferConstructor",e.TYPE]]},d9}var d7={};function me(){return tA||(tA=1,Object.defineProperty(d7,"__esModule",{value:!0}),d7.es2024_collection=void 0,d7.es2024_collection={libs:[],variables:[["MapConstructor",uG().TYPE]]}),d7}var mt={};function mn(){return tY||(tY=1,Object.defineProperty(mt,"__esModule",{value:!0}),mt.es2024_object=void 0,mt.es2024_object={libs:[],variables:[["ObjectConstructor",uG().TYPE]]}),mt}var mr={};function mi(){if(tC)return mr;tC=1,Object.defineProperty(mr,"__esModule",{value:!0}),mr.es2024_promise=void 0;let e=uG();return mr.es2024_promise={libs:[],variables:[["PromiseWithResolvers",e.TYPE],["PromiseConstructor",e.TYPE]]},mr}var mo={};function ms(){return tw||(tw=1,Object.defineProperty(mo,"__esModule",{value:!0}),mo.es2024_regexp=void 0,mo.es2024_regexp={libs:[],variables:[["RegExp",uG().TYPE]]}),mo}var ma={};function ml(){if(tL)return ma;tL=1,Object.defineProperty(ma,"__esModule",{value:!0}),ma.es2024_sharedmemory=void 0;let e=uG();return ma.es2024_sharedmemory={libs:[dp().es2020_bigint],variables:[["Atomics",e.TYPE],["SharedArrayBuffer",e.TYPE],["SharedArrayBufferConstructor",e.TYPE]]},ma}var mc={};function mp(){return tI||(tI=1,Object.defineProperty(mc,"__esModule",{value:!0}),mc.es2024_string=void 0,mc.es2024_string={libs:[],variables:[["String",uG().TYPE]]}),mc}function mu(){if(tO)return d5;tO=1,Object.defineProperty(d5,"__esModule",{value:!0}),d5.es2024=void 0;let e=d4(),t=d8(),n=me(),r=mn(),i=mi(),o=ms(),s=ml(),a=mp();return d5.es2024={libs:[e.es2023,t.es2024_arraybuffer,n.es2024_collection,r.es2024_object,i.es2024_promise,o.es2024_regexp,s.es2024_sharedmemory,a.es2024_string],variables:[]},d5}var mf={},md={},mm={};function mg(){return tV||(tV=1,Object.defineProperty(mm,"__esModule",{value:!0}),mm.esnext_array=void 0,mm.esnext_array={libs:[],variables:[["ArrayConstructor",uG().TYPE]]}),mm}var mh={};function my(){if(tB)return mh;tB=1,Object.defineProperty(mh,"__esModule",{value:!0}),mh.esnext_collection=void 0;let e=uG();return mh.esnext_collection={libs:[me().es2024_collection],variables:[["ReadonlySetLike",e.TYPE],["Set",e.TYPE],["ReadonlySet",e.TYPE]]},mh}var mE={};function mT(){if(tN)return mE;tN=1,Object.defineProperty(mE,"__esModule",{value:!0}),mE.esnext_decorators=void 0;let e=uG(),t=uH();return mE.esnext_decorators={libs:[ft().es2015_symbol,t.decorators],variables:[["SymbolConstructor",e.TYPE],["Function",e.TYPE]]},mE}var mb={};function mS(){if(tj)return mb;tj=1,Object.defineProperty(mb,"__esModule",{value:!0}),mb.esnext_disposable=void 0;let e=uG(),t=fn(),n=ft(),r=fH();return mb.esnext_disposable={libs:[n.es2015_symbol,t.es2015_iterable,r.es2018_asynciterable],variables:[["SymbolConstructor",e.TYPE],["Disposable",e.TYPE],["AsyncDisposable",e.TYPE],["SuppressedError",e.TYPE_VALUE],["SuppressedErrorConstructor",e.TYPE],["DisposableStack",e.TYPE_VALUE],["DisposableStackConstructor",e.TYPE],["AsyncDisposableStack",e.TYPE_VALUE],["AsyncDisposableStackConstructor",e.TYPE],["IteratorObject",e.TYPE],["AsyncIteratorObject",e.TYPE]]},mb}var mx={};function mP(){if(tM)return mx;tM=1,Object.defineProperty(mx,"__esModule",{value:!0}),mx.esnext_float16=void 0;let e=uG(),t=fn();return mx.esnext_float16={libs:[ft().es2015_symbol,t.es2015_iterable],variables:[["Float16Array",e.TYPE_VALUE],["Float16ArrayConstructor",e.TYPE],["Math",e.TYPE],["DataView",e.TYPE]]},mx}var mv={};function mk(){return tR||(tR=1,Object.defineProperty(mv,"__esModule",{value:!0}),mv.esnext_intl=void 0,mv.esnext_intl={libs:[],variables:[["Intl",uG().TYPE_VALUE]]}),mv}var m_={};function mA(){if(tF)return m_;tF=1,Object.defineProperty(m_,"__esModule",{value:!0}),m_.esnext_iterator=void 0;let e=uG();return m_.esnext_iterator={libs:[fn().es2015_iterable],variables:[["Iterator",e.TYPE_VALUE],["IteratorObjectConstructor",e.TYPE]]},m_}var mY={};function mC(){return tU||(tU=1,Object.defineProperty(mY,"__esModule",{value:!0}),mY.esnext_promise=void 0,mY.esnext_promise={libs:[],variables:[["PromiseConstructor",uG().TYPE]]}),mY}function mw(){if(tq)return md;tq=1,Object.defineProperty(md,"__esModule",{value:!0}),md.esnext=void 0;let e=mu(),t=mg(),n=my(),r=mT(),i=mS(),o=mP(),s=mk(),a=mA(),l=mC();return md.esnext={libs:[e.es2024,s.esnext_intl,r.esnext_decorators,i.esnext_disposable,n.esnext_collection,t.esnext_array,a.esnext_iterator,l.esnext_promise,o.esnext_float16],variables:[]},md}var mL={},mI={},mO={},mD={},mV={},mB={},mN={},mj={},mM={},mR={},mF={},mU={},mq={},mW={},mG={},mH={},m$={},mK={};function mz(){var e,t,n,r;if(t3)return mK;t3=1,Object.defineProperty(mK,"__esModule",{value:!0}),mK.Reference=mK.ReferenceTypeFlag=mK.ReferenceFlag=void 0;let i=uk();(n=e||(mK.ReferenceFlag=e={}))[n.Read=1]="Read",n[n.Write=2]="Write",n[n.ReadWrite=3]="ReadWrite";let o=(0,i.createIdGenerator)();return(r=t||(mK.ReferenceTypeFlag=t={}))[r.Value=1]="Value",r[r.Type=2]="Type",mK.Reference=class{$id=o();#e;from;identifier;init;maybeImplicitGlobal;resolved;writeExpr;#t;constructor(e,n,r,i,o,s,a=t.Value){this.identifier=e,this.from=n,this.resolved=null,this.#e=r,this.isWrite()&&(this.writeExpr=i,this.init=s),this.maybeImplicitGlobal=o,this.#t=a}get isTypeReference(){return(this.#t&t.Type)!=0}get isValueReference(){return(this.#t&t.Value)!=0}isWrite(){return!!(this.#e&e.Write)}isRead(){return!!(this.#e&e.Read)}isReadOnly(){return this.#e===e.Read}isWriteOnly(){return this.#e===e.Write}isReadWrite(){return this.#e===e.ReadWrite}},mK}var mJ={},mX={},mQ={};function mZ(){if(t4)return mQ;t4=1,Object.defineProperty(mQ,"__esModule",{value:!0}),mQ.VariableBase=void 0;let e=(0,uk().createIdGenerator)();return mQ.VariableBase=class{$id=e();defs=[];eslintUsed=!1;identifiers=[];name;references=[];scope;constructor(e,t){this.name=e,this.scope=t}},mQ}function m0(){if(t6)return mX;t6=1,Object.defineProperty(mX,"__esModule",{value:!0}),mX.ESLintScopeVariable=void 0;let e=mZ();return mX.ESLintScopeVariable=class extends e.VariableBase{writeable;eslintExplicitGlobal;eslintImplicitGlobalSetting;eslintExplicitGlobalComments},mX}var m1={},m2={};function m3(){var e,t,n;return t8?mJ:(t8=1,Object.defineProperty(mJ,"__esModule",{value:!0}),mJ.Variable=mJ.ImplicitLibVariable=mJ.ESLintScopeVariable=void 0,e=m0(),Object.defineProperty(mJ,"ESLintScopeVariable",{enumerable:!0,get:function(){return e.ESLintScopeVariable}}),t=function(){if(t5)return m1;t5=1,Object.defineProperty(m1,"__esModule",{value:!0}),m1.ImplicitLibVariable=void 0;let e=m0();return m1.ImplicitLibVariable=class extends e.ESLintScopeVariable{isTypeVariable;isValueVariable;constructor(e,t,{eslintImplicitGlobalSetting:n,isTypeVariable:r,isValueVariable:i,writeable:o}){super(t,e),this.isTypeVariable=r??!1,this.isValueVariable=i??!1,this.writeable=o??!1,this.eslintImplicitGlobalSetting=n??"readonly"}},m1}(),Object.defineProperty(mJ,"ImplicitLibVariable",{enumerable:!0,get:function(){return t.ImplicitLibVariable}}),n=function(){if(t9)return m2;t9=1,Object.defineProperty(m2,"__esModule",{value:!0}),m2.Variable=void 0;let e=mZ();return m2.Variable=class extends e.VariableBase{get isTypeVariable(){return 0===this.defs.length||this.defs.some(e=>e.isTypeDefinition)}get isValueVariable(){return 0===this.defs.length||this.defs.some(e=>e.isVariableDefinition)}},m2}(),Object.defineProperty(mJ,"Variable",{enumerable:!0,get:function(){return n.Variable}}),mJ)}var m4={};function m6(){var e,t;return t7?m4:(t7=1,Object.defineProperty(m4,"__esModule",{value:!0}),m4.ScopeType=void 0,(t=e||(m4.ScopeType=e={})).block="block",t.catch="catch",t.class="class",t.classFieldInitializer="class-field-initializer",t.classStaticBlock="class-static-block",t.conditionalType="conditionalType",t.for="for",t.function="function",t.functionExpressionName="function-expression-name",t.functionType="functionType",t.global="global",t.mappedType="mappedType",t.module="module",t.switch="switch",t.tsEnum="tsEnum",t.tsModule="tsModule",t.type="type",t.with="with",m4)}function m5(){if(ne)return m$;ne=1,Object.defineProperty(m$,"__esModule",{value:!0}),m$.ScopeBase=void 0;let e=pW(),t=ub(),n=uF(),r=uk(),i=mz(),o=m3(),s=m6(),a=(0,r.createIdGenerator)(),l=new Set([s.ScopeType.classFieldInitializer,s.ScopeType.classStaticBlock,s.ScopeType.function,s.ScopeType.global,s.ScopeType.module,s.ScopeType.tsModule]);return m$.ScopeBase=class{$id=a();block;childScopes=[];#n;#r;functionExpressionScope=!1;isStrict;leftToResolve=[];references=[];set=new Map;through=[];type;upper;variables=[];#i=e=>{let t=this;do t.through.push(e),t=t.upper;while(t)};#o=(e,t)=>{this.shouldStaticallyCloseForGlobal(e,t)?this.#s(e):this.#i(e)};#s=e=>{(()=>{let t=e.identifier.name,n=this.set.get(t);if(!n||!this.isValidResolution(e,n))return!1;let r=e.isTypeReference&&n.isTypeVariable,i=e.isValueReference&&n.isValueVariable;return(!!r||!!i)&&(n.references.push(e),e.resolved=n,!0)})()||this.delegateToUpperScope(e)};variableScope;constructor(t,n,r,i,o){this.type=n,this.#r=this.type===s.ScopeType.global||this.type===s.ScopeType.with,this.block=i,this.variableScope=this.isVariableScope()?this:r.variableScope,this.upper=r,this.isStrict=function(t,n,r){let i;if(t.upper?.isStrict||r||t.type===s.ScopeType.class||t.type===s.ScopeType.conditionalType||t.type===s.ScopeType.functionType||t.type===s.ScopeType.mappedType||t.type===s.ScopeType.module||t.type===s.ScopeType.tsEnum||t.type===s.ScopeType.tsModule||t.type===s.ScopeType.type)return!0;if(t.type===s.ScopeType.block||t.type===s.ScopeType.switch)return!1;if(t.type===s.ScopeType.function){switch(n.type){case e.AST_NODE_TYPES.ArrowFunctionExpression:if(n.body.type!==e.AST_NODE_TYPES.BlockStatement)return!1;i=n.body;break;case e.AST_NODE_TYPES.Program:i=n;break;default:i=n.body}if(!i)return!1}else{if(t.type!==s.ScopeType.global)return!1;i=n}for(let t of i.body){if(t.type!==e.AST_NODE_TYPES.ExpressionStatement)break;if("use strict"===t.directive)return!0;let n=t.expression;if(n.type!==e.AST_NODE_TYPES.Literal)break;if('"use strict"'===n.raw||"'use strict'"===n.raw||"use strict"===n.value)return!0}return!1}(this,i,o),r?.childScopes.push(this),this.#n=t.declaredVariables;t.scopes.push(this);let a=t.nodeToScope.get(this.block);a?a.push(this):t.nodeToScope.set(this.block,[this])}isVariableScope(){return l.has(this.type)}shouldStaticallyCloseForGlobal(e,t){let r=e.identifier.name,i=this.set.get(r);if(!i)return!1;if(t.isModule())return!0;let o=i.defs;return o.length>0&&o.every(e=>e.type!==n.DefinitionType.Variable||"var"!==e.parent.kind)}close(e){let n;return n=this.shouldStaticallyClose()?this.#s:"global"!==this.type?this.#i:this.#o,(0,t.assert)(this.leftToResolve),this.leftToResolve.forEach(t=>n(t,e)),this.leftToResolve=null,this.upper}shouldStaticallyClose(){return!this.#r}defineVariable(e,t,n,r,i){let s="string"==typeof e?e:e.name,a=t.get(s);a||(a="string"==typeof e?new o.Variable(s,this):e,t.set(s,a),n.push(a)),i&&(a.defs.push(i),this.addDeclaredVariablesOfNode(a,i.node),this.addDeclaredVariablesOfNode(a,i.parent)),r&&a.identifiers.push(r)}delegateToUpperScope(e){this.upper?.leftToResolve?.push(e),this.through.push(e)}isValidResolution(e,t){return!0}addDeclaredVariablesOfNode(e,t){if(null==t)return;let n=this.#n.get(t);null==n&&(n=[],this.#n.set(t,n)),n.includes(e)||n.push(e)}defineIdentifier(e,t){this.defineVariable(e.name,this.set,this.variables,e,t)}defineLiteralIdentifier(e,t){this.defineVariable(e.value,this.set,this.variables,null,t)}referenceDualValueType(e){let t=new i.Reference(e,this,i.ReferenceFlag.Read,null,null,!1,i.ReferenceTypeFlag.Type|i.ReferenceTypeFlag.Value);this.references.push(t),this.leftToResolve?.push(t)}referenceType(e){let t=new i.Reference(e,this,i.ReferenceFlag.Read,null,null,!1,i.ReferenceTypeFlag.Type);this.references.push(t),this.leftToResolve?.push(t)}referenceValue(e,t=i.ReferenceFlag.Read,n,r,o=!1){let s=new i.Reference(e,this,t,n,r,o,i.ReferenceTypeFlag.Value);this.references.push(s),this.leftToResolve?.push(s)}},m$}var m9={},m8={};function m7(){if(nr)return m8;nr=1,Object.defineProperty(m8,"__esModule",{value:!0}),m8.ClassFieldInitializerScope=void 0;let e=m5(),t=m6();return m8.ClassFieldInitializerScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.classFieldInitializer,n,r,!1)}},m8}var ge={},gt={},gn={},gr={},gi={},go={},gs={},ga={},gl={},gc={},gp={},gu={},gf={},gd={},gm={};function gg(){var e,t;return nT?mG:(nT=1,e=mG&&mG.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=mG&&mG.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(mG,"__esModule",{value:!0}),t(function(){if(nt)return mH;nt=1,Object.defineProperty(mH,"__esModule",{value:!0}),mH.BlockScope=void 0;let e=m5(),t=m6();return mH.BlockScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.block,n,r,!1)}},mH}(),mG),t(function(){if(nn)return m9;nn=1,Object.defineProperty(m9,"__esModule",{value:!0}),m9.CatchScope=void 0;let e=m5(),t=m6();return m9.CatchScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.catch,n,r,!1)}},m9}(),mG),t(m7(),mG),t(function(){if(ni)return ge;ni=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.ClassScope=void 0;let e=m5(),t=m6();return ge.ClassScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.class,n,r,!1)}},ge}(),mG),t(function(){if(no)return gt;no=1,Object.defineProperty(gt,"__esModule",{value:!0}),gt.ConditionalTypeScope=void 0;let e=m5(),t=m6();return gt.ConditionalTypeScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.conditionalType,n,r,!1)}},gt}(),mG),t(function(){if(ns)return gn;ns=1,Object.defineProperty(gn,"__esModule",{value:!0}),gn.ForScope=void 0;let e=m5(),t=m6();return gn.ForScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.for,n,r,!1)}},gn}(),mG),t(function(){if(na)return gr;na=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.FunctionExpressionNameScope=void 0;let e=uF(),t=m5(),n=m6();return gr.FunctionExpressionNameScope=class extends t.ScopeBase{functionExpressionScope;constructor(t,r,i){super(t,n.ScopeType.functionExpressionName,r,i,!1),i.id&&this.defineIdentifier(i.id,new e.FunctionNameDefinition(i.id,i)),this.functionExpressionScope=!0}},gr}(),mG),t(function(){if(nl)return gi;nl=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.FunctionScope=void 0;let e=pW(),t=m5(),n=m6();return gi.FunctionScope=class extends t.ScopeBase{constructor(t,r,i,o){super(t,n.ScopeType.function,r,i,o),this.block.type!==e.AST_NODE_TYPES.ArrowFunctionExpression&&this.defineVariable("arguments",this.set,this.variables,null,null)}isValidResolution(t,n){if(this.block.type===e.AST_NODE_TYPES.Program)return!0;let r=this.block.body?.range[0]??-1;return!(n.scope===this&&t.identifier.range[0]<r&&n.defs.every(e=>e.name.range[0]>=r))}},gi}(),mG),t(function(){if(nc)return go;nc=1,Object.defineProperty(go,"__esModule",{value:!0}),go.FunctionTypeScope=void 0;let e=m5(),t=m6();return go.FunctionTypeScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.functionType,n,r,!1)}},go}(),mG),t(function(){if(np)return gs;np=1,Object.defineProperty(gs,"__esModule",{value:!0}),gs.GlobalScope=void 0;let e=pW(),t=ub(),n=uO(),r=m3(),i=m5(),o=m6();return gs.GlobalScope=class extends i.ScopeBase{implicit;constructor(e,t){super(e,o.ScopeType.global,null,t,!1),this.implicit={leftToBeResolved:[],set:new Map,variables:[]}}close(r){for(let r of((0,t.assert)(this.leftToResolve),this.leftToResolve))if(r.maybeImplicitGlobal&&!this.set.has(r.identifier.name)){let t=r.maybeImplicitGlobal,i=t.pattern;i.type===e.AST_NODE_TYPES.Identifier&&this.defineVariable(i.name,this.implicit.set,this.implicit.variables,i,new n.ImplicitGlobalVariableDefinition(t.pattern,t.node))}return this.implicit.leftToBeResolved=this.leftToResolve,super.close(r)}defineImplicitVariable(e,t){this.defineVariable(new r.ImplicitLibVariable(this,e,t),this.set,this.variables,null,null)}},gs}(),mG),t(function(){if(nu)return ga;nu=1,Object.defineProperty(ga,"__esModule",{value:!0}),ga.MappedTypeScope=void 0;let e=m5(),t=m6();return ga.MappedTypeScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.mappedType,n,r,!1)}},ga}(),mG),t(function(){if(nf)return gl;nf=1,Object.defineProperty(gl,"__esModule",{value:!0}),gl.ModuleScope=void 0;let e=m5(),t=m6();return gl.ModuleScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.module,n,r,!1)}},gl}(),mG),t((nd||(nd=1,Object.defineProperty(gc,"__esModule",{value:!0})),gc),mG),t(m6(),mG),t(function(){if(nm)return gp;nm=1,Object.defineProperty(gp,"__esModule",{value:!0}),gp.SwitchScope=void 0;let e=m5(),t=m6();return gp.SwitchScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.switch,n,r,!1)}},gp}(),mG),t(function(){if(ng)return gu;ng=1,Object.defineProperty(gu,"__esModule",{value:!0}),gu.TSEnumScope=void 0;let e=m5(),t=m6();return gu.TSEnumScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.tsEnum,n,r,!1)}},gu}(),mG),t(function(){if(nh)return gf;nh=1,Object.defineProperty(gf,"__esModule",{value:!0}),gf.TSModuleScope=void 0;let e=m5(),t=m6();return gf.TSModuleScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.tsModule,n,r,!1)}},gf}(),mG),t(function(){if(ny)return gd;ny=1,Object.defineProperty(gd,"__esModule",{value:!0}),gd.TypeScope=void 0;let e=m5(),t=m6();return gd.TypeScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.type,n,r,!1)}},gd}(),mG),t(function(){if(nE)return gm;nE=1,Object.defineProperty(gm,"__esModule",{value:!0}),gm.WithScope=void 0;let e=ub(),t=m5(),n=m6();return gm.WithScope=class extends t.ScopeBase{constructor(e,t,r){super(e,n.ScopeType.with,t,r,!1)}close(t){return this.shouldStaticallyClose()?super.close(t):((0,e.assert)(this.leftToResolve),this.leftToResolve.forEach(e=>this.delegateToUpperScope(e)),this.leftToResolve=null,this.upper)}},gm}(),mG),mG)}var gh={},gy={},gE={};function gT(){if(nb)return gE;nb=1,Object.defineProperty(gE,"__esModule",{value:!0}),gE.VisitorBase=void 0;let e=uh();function t(e){return"object"==typeof e&&null!=e&&"string"==typeof e.type}return gE.VisitorBase=class{#a;#l;constructor(t){this.#a=t.childVisitorKeys??e.visitorKeys,this.#l=t.visitChildrenEvenIfSelectorExists??!1}visitChildren(e,n=[]){if(e?.type==null)return;let r=new Set([...n,"parent"]);for(let n of this.#a[e.type]??Object.keys(e)){if(r.has(n))continue;let i=e[n];if(i)if(Array.isArray(i))for(let e of i)t(e)&&this.visit(e);else t(i)&&this.visit(i)}}visit(e){if(e?.type==null)return;let t=this[e.type];(!t||(t.call(this,e),this.#l))&&this.visitChildren(e)}},gE}function gb(){if(nS)return gy;nS=1,Object.defineProperty(gy,"__esModule",{value:!0}),gy.PatternVisitor=void 0;let e=pW(),t=gT();return gy.PatternVisitor=class extends t.VisitorBase{#c=[];#p;#u=[];#f;rightHandNodes=[];constructor(e,t,n){super(e),this.#f=t,this.#p=n}static isPattern(t){let n=t.type;return n===e.AST_NODE_TYPES.Identifier||n===e.AST_NODE_TYPES.ObjectPattern||n===e.AST_NODE_TYPES.ArrayPattern||n===e.AST_NODE_TYPES.SpreadElement||n===e.AST_NODE_TYPES.RestElement||n===e.AST_NODE_TYPES.AssignmentPattern}ArrayExpression(e){e.elements.forEach(this.visit,this)}ArrayPattern(e){for(let t of e.elements)this.visit(t)}AssignmentExpression(e){this.#c.push(e),this.visit(e.left),this.rightHandNodes.push(e.right),this.#c.pop()}AssignmentPattern(e){this.#c.push(e),this.visit(e.left),this.rightHandNodes.push(e.right),this.#c.pop()}CallExpression(e){e.arguments.forEach(e=>{this.rightHandNodes.push(e)}),this.visit(e.callee)}Decorator(){}Identifier(e){let t=this.#u.at(-1);this.#p(e,{assignments:this.#c,rest:t?.argument===e,topLevel:e===this.#f})}MemberExpression(e){e.computed&&this.rightHandNodes.push(e.property),this.rightHandNodes.push(e.object)}Property(e){e.computed&&this.rightHandNodes.push(e.key),this.visit(e.value)}RestElement(e){this.#u.push(e),this.visit(e.argument),this.#u.pop()}SpreadElement(e){this.visit(e.argument)}TSTypeAnnotation(){}},gy}function gS(){if(nx)return gh;nx=1;Object.defineProperty(gh,"__esModule",{value:!0}),gh.VisitorBase=gh.Visitor=void 0;let e=gb(),t=gT();class n extends t.VisitorBase{#d;constructor(e){super(e instanceof n?e.#d:e),this.#d=e instanceof n?e.#d:e}visitPattern(t,n,r={processRightHandNodes:!1}){let i=new e.PatternVisitor(this.#d,t,n);i.visit(t),r.processRightHandNodes&&i.rightHandNodes.forEach(this.visit,this)}}gh.Visitor=n;var r=gT();return Object.defineProperty(gh,"VisitorBase",{enumerable:!0,get:function(){return r.VisitorBase}}),gh}function gx(){if(nP)return mW;nP=1,Object.defineProperty(mW,"__esModule",{value:!0}),mW.TypeVisitor=void 0;let e=pW(),t=uF(),n=gg(),r=gS();return mW.TypeVisitor=class i extends r.Visitor{#m;constructor(e){super(e),this.#m=e}static visit(e,t){new i(e).visit(t)}visitFunctionType(e){for(let n of(this.#m.scopeManager.nestFunctionTypeScope(e),this.visit(e.typeParameters),e.params)){let r=!1;this.visitPattern(n,(n,i)=>{this.#m.currentScope().defineIdentifier(n,new t.ParameterDefinition(n,e,i.rest)),n.typeAnnotation&&(this.visit(n.typeAnnotation),r=!0)}),!r&&"typeAnnotation"in n&&this.visit(n.typeAnnotation)}this.visit(e.returnType),this.#m.close(e)}visitPropertyKey(e){e.computed&&this.#m.visit(e.key)}Identifier(e){this.#m.currentScope().referenceType(e)}MemberExpression(e){this.visit(e.object)}TSCallSignatureDeclaration(e){this.visitFunctionType(e)}TSConditionalType(e){this.#m.scopeManager.nestConditionalTypeScope(e),this.visitChildren(e,["falseType"]),this.#m.close(e),this.visit(e.falseType)}TSConstructorType(e){this.visitFunctionType(e)}TSConstructSignatureDeclaration(e){this.visitFunctionType(e)}TSFunctionType(e){this.visitFunctionType(e)}TSImportType(e){this.visit(e.typeArguments)}TSIndexSignature(t){for(let n of t.parameters)n.type===e.AST_NODE_TYPES.Identifier&&this.visit(n.typeAnnotation);this.visit(t.typeAnnotation)}TSInferType(e){let r=e.typeParameter,i=this.#m.currentScope();if(i.type===n.ScopeType.functionType||i.type===n.ScopeType.mappedType){let e=i.upper;for(;e;){if(e.type===n.ScopeType.functionType||e.type===n.ScopeType.mappedType){e=e.upper;continue}e.type===n.ScopeType.conditionalType&&(i=e);break}}i.defineIdentifier(r.name,new t.TypeDefinition(r.name,r)),this.visit(r.constraint)}TSInterfaceDeclaration(e){this.#m.currentScope().defineIdentifier(e.id,new t.TypeDefinition(e.id,e)),e.typeParameters&&(this.#m.scopeManager.nestTypeScope(e),this.visit(e.typeParameters)),e.extends.forEach(this.visit,this),this.visit(e.body),e.typeParameters&&this.#m.close(e)}TSMappedType(e){this.#m.scopeManager.nestMappedTypeScope(e),this.#m.currentScope().defineIdentifier(e.key,new t.TypeDefinition(e.key,e)),this.visit(e.constraint),this.visit(e.nameType),this.visit(e.typeAnnotation),this.#m.close(e)}TSMethodSignature(e){this.visitPropertyKey(e),this.visitFunctionType(e)}TSNamedTupleMember(e){this.visit(e.elementType)}TSPropertySignature(e){this.visitPropertyKey(e),this.visit(e.typeAnnotation)}TSQualifiedName(e){this.visit(e.left)}TSTypeAliasDeclaration(e){this.#m.currentScope().defineIdentifier(e.id,new t.TypeDefinition(e.id,e)),e.typeParameters&&(this.#m.scopeManager.nestTypeScope(e),this.visit(e.typeParameters)),this.visit(e.typeAnnotation),e.typeParameters&&this.#m.close(e)}TSTypeParameter(e){this.#m.currentScope().defineIdentifier(e.name,new t.TypeDefinition(e.name,e)),this.visit(e.constraint),this.visit(e.default)}TSTypePredicate(t){t.parameterName.type!==e.AST_NODE_TYPES.TSThisType&&this.#m.currentScope().referenceValue(t.parameterName),this.visit(t.typeAnnotation)}TSTypeAnnotation(e){this.visitChildren(e)}TSTypeQuery(t){let n;if(t.exprName.type===e.AST_NODE_TYPES.TSQualifiedName){let r=t.exprName;for(;r.left.type===e.AST_NODE_TYPES.TSQualifiedName;)r=r.left;n=r.left}else n=t.exprName,t.exprName.type===e.AST_NODE_TYPES.TSImportType&&this.visit(t.exprName);n.type===e.AST_NODE_TYPES.Identifier&&this.#m.currentScope().referenceValue(n),this.visit(t.typeArguments)}},mW}var gP={},gv={},gk={},g_={};function gA(){if(nw)return gk;nw=1,Object.defineProperty(gk,"__esModule",{value:!0}),gk.ScopeManager=void 0;let e=ub(),t=gg(),n=m7(),r=function(){if(nC)return g_;nC=1,Object.defineProperty(g_,"__esModule",{value:!0}),g_.ClassStaticBlockScope=void 0;let e=m5(),t=m6();return g_.ClassStaticBlockScope=class extends e.ScopeBase{constructor(e,n,r){super(e,t.ScopeType.classStaticBlock,n,r,!1)}},g_}();return gk.ScopeManager=class{#d;currentScope;declaredVariables;globalScope;nodeToScope;scopes;constructor(e){this.scopes=[],this.globalScope=null,this.nodeToScope=new WeakMap,this.currentScope=null,this.#d=e,this.declaredVariables=new WeakMap}isES6(){return!0}isGlobalReturn(){return!0===this.#d.globalReturn}isImpliedStrict(){return!0===this.#d.impliedStrict}isModule(){return"module"===this.#d.sourceType}isStrictModeSupported(){return!0}get variables(){let e=new Set;return this.scopes.forEach(function t(n){n.variables.forEach(t=>e.add(t)),n.childScopes.forEach(t)}),[...e].sort((e,t)=>e.$id-t.$id)}getDeclaredVariables(e){return this.declaredVariables.get(e)??[]}acquire(e,n=!1){function r(e){return e.type!==t.ScopeType.function||!e.functionExpressionScope}let i=this.nodeToScope.get(e);if(!i||0===i.length)return null;if(1===i.length)return i[0];if(n){for(let e=i.length-1;e>=0;--e){let t=i[e];if(r(t))return t}return null}return i.find(r)??null}nestBlockScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.BlockScope(this,this.currentScope,n))}nestCatchScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.CatchScope(this,this.currentScope,n))}nestClassFieldInitializerScope(t){return(0,e.assert)(this.currentScope),this.nestScope(new n.ClassFieldInitializerScope(this,this.currentScope,t))}nestClassScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.ClassScope(this,this.currentScope,n))}nestClassStaticBlockScope(t){return(0,e.assert)(this.currentScope),this.nestScope(new r.ClassStaticBlockScope(this,this.currentScope,t))}nestConditionalTypeScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.ConditionalTypeScope(this,this.currentScope,n))}nestForScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.ForScope(this,this.currentScope,n))}nestFunctionExpressionNameScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.FunctionExpressionNameScope(this,this.currentScope,n))}nestFunctionScope(n,r){return(0,e.assert)(this.currentScope),this.nestScope(new t.FunctionScope(this,this.currentScope,n,r))}nestFunctionTypeScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.FunctionTypeScope(this,this.currentScope,n))}nestGlobalScope(e){return this.nestScope(new t.GlobalScope(this,e))}nestMappedTypeScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.MappedTypeScope(this,this.currentScope,n))}nestModuleScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.ModuleScope(this,this.currentScope,n))}nestSwitchScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.SwitchScope(this,this.currentScope,n))}nestTSEnumScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.TSEnumScope(this,this.currentScope,n))}nestTSModuleScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.TSModuleScope(this,this.currentScope,n))}nestTypeScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.TypeScope(this,this.currentScope,n))}nestWithScope(n){return(0,e.assert)(this.currentScope),this.nestScope(new t.WithScope(this,this.currentScope,n))}nestScope(n){return n instanceof t.GlobalScope&&((0,e.assert)(null==this.currentScope),this.globalScope=n),this.currentScope=n,n}},gk}var gY={},gC={},gw={},gL={},gI=function(){var e,t,n,r,i;return nM?ck:(nM=1,e=ck&&ck.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=ck&&ck.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=ck&&ck.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)},function(r){if(r&&r.__esModule)return r;var i={};if(null!=r)for(var o=n(r),s=0;s<o.length;s++)"default"!==o[s]&&e(i,r,o[s]);return t(i,r),i}),i=ck&&ck.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(ck,"__esModule",{value:!0}),ck.TSUtils=ck.TSESLint=ck.JSONSchema=ck.ESLintUtils=ck.ASTUtils=void 0,ck.ASTUtils=r(pH()),ck.ESLintUtils=r(function(){var e,t;return D?p$:(D=1,e=p$&&p$.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=p$&&p$.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(p$,"__esModule",{value:!0}),t(pX(),p$),t(pJ(),p$),t(function(){if(w)return pQ;w=1,Object.defineProperty(pQ,"__esModule",{value:!0}),pQ.getParserServices=function(e,n=!1){let r=e.parserPath||e.languageOptions.parser?.meta?.name;return(e.sourceCode.parserServices?.esTreeNodeToTSNodeMap==null||null==e.sourceCode.parserServices.tsNodeToESTreeNodeMap)&&t(r),null!=e.sourceCode.parserServices.program||n||t(r),e.sourceCode.parserServices};let e=(C||(C=1,Object.defineProperty(pZ,"__esModule",{value:!0}),pZ.parserSeemsToBeTSESLint=function(e){return!!e&&/(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(e)}),pZ);function t(t){throw Error(["You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.",`Parser: ${t||"(unknown)"}`,!(0,e.parserSeemsToBeTSESLint)(t)&&'Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser.'].filter(Boolean).join("\n"))}return pQ}(),p$),t((L||(L=1,Object.defineProperty(p0,"__esModule",{value:!0})),p0),p$),t((I||(I=1,Object.defineProperty(p1,"__esModule",{value:!0}),p1.NullThrowsReasons=void 0,p1.nullThrows=function(e,t){if(null==e)throw Error(`Non-null Assertion Failed: ${t}`);return e},p1.NullThrowsReasons={MissingParent:"Expected node to have a parent.",MissingToken:(e,t)=>`Expected to find a ${e} for the ${t}.`}),p1),p$),t(function(){if(O)return p2;O=1,Object.defineProperty(p2,"__esModule",{value:!0}),p2.RuleCreator=t;let e=pX();function t(e){return function({meta:t,name:r,...i}){return n({meta:{...t,docs:{...t.docs,url:e(r)}},...i})}}function n({create:t,defaultOptions:n,meta:r}){return{create(r){let i=(0,e.applyDefault)(n,r.options);return t(r,i)},defaultOptions:n,meta:r}}return t.withoutDocs=function(e){return n(e)},p2}(),p$),p$)}()),ck.JSONSchema=r((V||(V=1,Object.defineProperty(p3,"__esModule",{value:!0})),p3)),ck.TSESLint=r(function(){var e,t;return nV?p4:(nV=1,e=p4&&p4.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=p4&&p4.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(p4,"__esModule",{value:!0}),t((B||(B=1,Object.defineProperty(p6,"__esModule",{value:!0})),p6),p4),t((N||(N=1,Object.defineProperty(p5,"__esModule",{value:!0})),p5),p4),t(function(){var e,t,n;return R?p9:(R=1,Object.defineProperty(p9,"__esModule",{value:!0}),p9.LegacyESLint=p9.ESLint=p9.FlatESLint=void 0,e=ue(),Object.defineProperty(p9,"FlatESLint",{enumerable:!0,get:function(){return e.FlatESLint}}),t=ue(),Object.defineProperty(p9,"ESLint",{enumerable:!0,get:function(){return t.FlatESLint}}),n=function(){if(M)return ut;M=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.LegacyESLint=void 0;let e=p7;return ut.LegacyESLint=class extends e.LegacyESLint{},ut}(),Object.defineProperty(p9,"LegacyESLint",{enumerable:!0,get:function(){return n.LegacyESLint}}),p9)}(),p4),t(function(){if(F)return un;F=1,Object.defineProperty(un,"__esModule",{value:!0}),un.Linter=void 0;let e=ur;return un.Linter=class extends e.Linter{},un}(),p4),t((U||(U=1,Object.defineProperty(ui,"__esModule",{value:!0})),ui),p4),t((q||(q=1,Object.defineProperty(uo,"__esModule",{value:!0})),uo),p4),t((W||(W=1,Object.defineProperty(us,"__esModule",{value:!0})),us),p4),t((G||(G=1,Object.defineProperty(ua,"__esModule",{value:!0})),ua),p4),t(function(){if(H)return ul;H=1,Object.defineProperty(ul,"__esModule",{value:!0}),ul.RuleTester=void 0;let e=ur;return ul.RuleTester=class extends e.RuleTester{},ul}(),p4),t(function(){if(nO)return uc;nO=1;var e,t,n,r=uc&&uc.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=uc&&uc.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=uc&&uc.__importStar||(e=function(t){return(e=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(t)},function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var o=e(t),s=0;s<o.length;s++)"default"!==o[s]&&r(n,t,o[s]);return i(n,t),n});Object.defineProperty(uc,"__esModule",{value:!0}),uc.Scope=void 0;let s=o(function(){var e,t,n,r,i,o,s;return nI?up:(nI=1,e=up&&up.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=up&&up.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(up,"__esModule",{value:!0}),up.ScopeManager=up.Visitor=up.Reference=up.PatternVisitor=up.analyze=void 0,n=function(){if(nL)return uu;nL=1,Object.defineProperty(uu,"__esModule",{value:!0}),uu.analyze=function(e,i){let o={childVisitorKeys:i?.childVisitorKeys??r.childVisitorKeys,emitDecoratorMetadata:!1,globalReturn:i?.globalReturn??r.globalReturn,impliedStrict:i?.impliedStrict??r.impliedStrict,jsxFragmentName:i?.jsxFragmentName??r.jsxFragmentName,jsxPragma:i?.jsxPragma===void 0?r.jsxPragma:i.jsxPragma,lib:i?.lib??["esnext"],sourceType:i?.sourceType??r.sourceType};o.lib=o.lib.map(e=>e.toLowerCase());let s=new n.ScopeManager(o);return new t.Referencer(o,s).visit(e),s};let e=uh(),t=function(){var e;return nY?uy:(nY=1,Object.defineProperty(uy,"__esModule",{value:!0}),uy.Referencer=void 0,e=function(){if(nA)return uE;nA=1,Object.defineProperty(uE,"__esModule",{value:!0}),uE.Referencer=void 0;let e=pW(),t=ub(),n=uF(),r=function(){if(t2)return uU;t2=1,Object.defineProperty(uU,"__esModule",{value:!0}),uU.lib=void 0;let e=uH(),t=uK(),n=uJ(),r=uQ(),i=u0(),o=u2(),s=function(){if(eC)return u3;eC=1,Object.defineProperty(u3,"__esModule",{value:!0}),u3.es6=void 0;let e=u2(),t=u6(),n=u9(),r=fr(),i=fn(),o=fo(),s=fa(),a=fc(),l=ft(),c=fu();return u3.es6={libs:[e.es5,n.es2015_core,t.es2015_collection,i.es2015_iterable,r.es2015_generator,o.es2015_promise,s.es2015_proxy,a.es2015_reflect,l.es2015_symbol,c.es2015_symbol_wellknown],variables:[]},u3}(),a=function(){if(eO)return ff;eO=1,Object.defineProperty(ff,"__esModule",{value:!0}),ff.es7=void 0;let e=fm(),t=fh(),n=fE();return ff.es7={libs:[e.es2015,t.es2016_array_include,n.es2016_intl],variables:[]},ff}(),l=fm(),c=u6(),p=u9(),u=fr(),f=fn(),d=fo(),m=fa(),g=fc(),h=ft(),y=fu(),E=fb(),T=fh(),b=function(){if(eN)return fS;eN=1,Object.defineProperty(fS,"__esModule",{value:!0}),fS.es2016_full=void 0;let e=uJ(),t=u0(),n=fb(),r=fP(),i=fk();return fS.es2016_full={libs:[n.es2016,e.dom,i.webworker_importscripts,r.scripthost,t.dom_iterable],variables:[]},fS}(),S=fE(),x=fF(),P=fY(),v=fw(),k=function(){if(eH)return fU;eH=1,Object.defineProperty(fU,"__esModule",{value:!0}),fU.es2017_full=void 0;let e=uJ(),t=u0(),n=fF(),r=fP(),i=fk();return fU.es2017_full={libs:[n.es2017,e.dom,i.webworker_importscripts,r.scripthost,t.dom_iterable],variables:[]},fU}(),_=fI(),A=fD(),Y=fB(),C=fj(),w=fR(),L=f0(),I=f$(),O=fH(),D=function(){if(eZ)return f1;eZ=1,Object.defineProperty(f1,"__esModule",{value:!0}),f1.es2018_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=f0(),i=fP(),o=fk();return f1.es2018_full={libs:[r.es2018,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},f1}(),V=fz(),B=fX(),N=fZ(),j=dr(),M=f4(),R=function(){if(e5)return di;e5=1,Object.defineProperty(di,"__esModule",{value:!0}),di.es2019_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=dr(),i=fP(),o=fk();return di.es2019_full={libs:[r.es2019,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},di}(),F=f5(),U=f8(),q=de(),W=dn(),G=dP(),H=dp(),$=df(),K=function(){if(ts)return dv;ts=1,Object.defineProperty(dv,"__esModule",{value:!0}),dv.es2020_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=dP(),i=fP(),o=fk();return dv.es2020_full={libs:[r.es2020,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},dv}(),z=dc(),J=dm(),X=dh(),Q=dE(),Z=dx(),ee=dS(),et=dD(),en=function(){if(tf)return dV;tf=1,Object.defineProperty(dV,"__esModule",{value:!0}),dV.es2021_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=dD(),i=fP(),o=fk();return dV.es2021_full={libs:[r.es2021,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},dV}(),er=dA(),ei=dC(),eo=dL(),es=dO(),ea=dz(),el=dj(),ec=dR(),ep=function(){if(tb)return dJ;tb=1,Object.defineProperty(dJ,"__esModule",{value:!0}),dJ.es2022_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=dz(),i=fP(),o=fk();return dJ.es2022_full={libs:[r.es2022,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},dJ}(),eu=dU(),ef=dW(),ed=dH(),em=dK(),eg=d4(),eh=dZ(),ey=d1(),eE=function(){if(tk)return d6;tk=1,Object.defineProperty(d6,"__esModule",{value:!0}),d6.es2023_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=d4(),i=fP(),o=fk();return d6.es2023_full={libs:[r.es2023,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},d6}(),eT=d3(),eb=mu(),eS=d8(),ex=me(),eP=function(){if(tD)return mf;tD=1,Object.defineProperty(mf,"__esModule",{value:!0}),mf.es2024_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=mu(),i=fP(),o=fk();return mf.es2024_full={libs:[r.es2024,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},mf}(),ev=mn(),ek=mi(),e_=ms(),eA=ml(),eY=mp(),ew=mw(),eL=mg(),eI=function(){if(tW)return mL;tW=1,Object.defineProperty(mL,"__esModule",{value:!0}),mL.esnext_asynciterable=void 0;let e=uG(),t=fn();return mL.esnext_asynciterable={libs:[ft().es2015_symbol,t.es2015_iterable],variables:[["SymbolConstructor",e.TYPE],["AsyncIterator",e.TYPE],["AsyncIterable",e.TYPE],["AsyncIterableIterator",e.TYPE],["AsyncIteratorObject",e.TYPE]]},mL}(),eD=function(){if(tG)return mI;tG=1,Object.defineProperty(mI,"__esModule",{value:!0}),mI.esnext_bigint=void 0;let e=uG();return mI.esnext_bigint={libs:[dc().es2020_intl],variables:[["BigIntToLocaleStringOptions",e.TYPE],["BigInt",e.TYPE_VALUE],["BigIntConstructor",e.TYPE],["BigInt64Array",e.TYPE_VALUE],["BigInt64ArrayConstructor",e.TYPE],["BigUint64Array",e.TYPE_VALUE],["BigUint64ArrayConstructor",e.TYPE],["DataView",e.TYPE],["Intl",e.TYPE_VALUE]]},mI}(),eV=my(),eB=mT(),ej=mS(),eM=mP(),eR=function(){if(tH)return mO;tH=1,Object.defineProperty(mO,"__esModule",{value:!0}),mO.esnext_full=void 0;let e=uJ(),t=uQ(),n=u0(),r=mw(),i=fP(),o=fk();return mO.esnext_full={libs:[r.esnext,e.dom,o.webworker_importscripts,i.scripthost,n.dom_iterable,t.dom_asynciterable],variables:[]},mO}(),eF=mk(),eU=mA(),eq=(t$||(t$=1,Object.defineProperty(mD,"__esModule",{value:!0}),mD.esnext_object=void 0,mD.esnext_object={libs:[],variables:[["ObjectConstructor",uG().TYPE]]}),mD),eW=mC(),eG=(tK||(tK=1,Object.defineProperty(mV,"__esModule",{value:!0}),mV.esnext_regexp=void 0,mV.esnext_regexp={libs:[],variables:[["RegExp",uG().TYPE]]}),mV),e$=(tz||(tz=1,Object.defineProperty(mB,"__esModule",{value:!0}),mB.esnext_string=void 0,mB.esnext_string={libs:[],variables:[["String",uG().TYPE]]}),mB),eK=(tJ||(tJ=1,Object.defineProperty(mN,"__esModule",{value:!0}),mN.esnext_symbol=void 0,mN.esnext_symbol={libs:[],variables:[["Symbol",uG().TYPE]]}),mN),ez=function(){if(tX)return mj;tX=1,Object.defineProperty(mj,"__esModule",{value:!0}),mj.esnext_weakref=void 0;let e=uG();return mj.esnext_weakref={libs:[fu().es2015_symbol_wellknown],variables:[["WeakRef",e.TYPE_VALUE],["WeakRefConstructor",e.TYPE],["FinalizationRegistry",e.TYPE_VALUE],["FinalizationRegistryConstructor",e.TYPE]]},mj}(),eJ=function(){if(tQ)return mM;tQ=1,Object.defineProperty(mM,"__esModule",{value:!0}),mM.lib=void 0;let e=uJ(),t=u2(),n=fP(),r=fk();return mM.lib={libs:[t.es5,e.dom,r.webworker_importscripts,n.scripthost],variables:[]},mM}(),eX=fP(),eQ=function(){if(tZ)return mR;tZ=1,Object.defineProperty(mR,"__esModule",{value:!0}),mR.webworker=void 0;let e=uG();return mR.webworker={libs:[],variables:[["AddEventListenerOptions",e.TYPE],["AesCbcParams",e.TYPE],["AesCtrParams",e.TYPE],["AesDerivedKeyParams",e.TYPE],["AesGcmParams",e.TYPE],["AesKeyAlgorithm",e.TYPE],["AesKeyGenParams",e.TYPE],["Algorithm",e.TYPE],["AudioConfiguration",e.TYPE],["AudioDataCopyToOptions",e.TYPE],["AudioDataInit",e.TYPE],["AudioDecoderConfig",e.TYPE],["AudioDecoderInit",e.TYPE],["AudioDecoderSupport",e.TYPE],["AudioEncoderConfig",e.TYPE],["AudioEncoderInit",e.TYPE],["AudioEncoderSupport",e.TYPE],["AvcEncoderConfig",e.TYPE],["BlobPropertyBag",e.TYPE],["CSSMatrixComponentOptions",e.TYPE],["CSSNumericType",e.TYPE],["CacheQueryOptions",e.TYPE],["ClientQueryOptions",e.TYPE],["CloseEventInit",e.TYPE],["CryptoKeyPair",e.TYPE],["CustomEventInit",e.TYPE],["DOMMatrix2DInit",e.TYPE],["DOMMatrixInit",e.TYPE],["DOMPointInit",e.TYPE],["DOMQuadInit",e.TYPE],["DOMRectInit",e.TYPE],["EcKeyGenParams",e.TYPE],["EcKeyImportParams",e.TYPE],["EcdhKeyDeriveParams",e.TYPE],["EcdsaParams",e.TYPE],["EncodedAudioChunkInit",e.TYPE],["EncodedAudioChunkMetadata",e.TYPE],["EncodedVideoChunkInit",e.TYPE],["EncodedVideoChunkMetadata",e.TYPE],["ErrorEventInit",e.TYPE],["EventInit",e.TYPE],["EventListenerOptions",e.TYPE],["EventSourceInit",e.TYPE],["ExtendableEventInit",e.TYPE],["ExtendableMessageEventInit",e.TYPE],["FetchEventInit",e.TYPE],["FilePropertyBag",e.TYPE],["FileSystemCreateWritableOptions",e.TYPE],["FileSystemGetDirectoryOptions",e.TYPE],["FileSystemGetFileOptions",e.TYPE],["FileSystemReadWriteOptions",e.TYPE],["FileSystemRemoveOptions",e.TYPE],["FontFaceDescriptors",e.TYPE],["FontFaceSetLoadEventInit",e.TYPE],["GetNotificationOptions",e.TYPE],["HkdfParams",e.TYPE],["HmacImportParams",e.TYPE],["HmacKeyGenParams",e.TYPE],["IDBDatabaseInfo",e.TYPE],["IDBIndexParameters",e.TYPE],["IDBObjectStoreParameters",e.TYPE],["IDBTransactionOptions",e.TYPE],["IDBVersionChangeEventInit",e.TYPE],["ImageBitmapOptions",e.TYPE],["ImageBitmapRenderingContextSettings",e.TYPE],["ImageDataSettings",e.TYPE],["ImageDecodeOptions",e.TYPE],["ImageDecodeResult",e.TYPE],["ImageDecoderInit",e.TYPE],["ImageEncodeOptions",e.TYPE],["JsonWebKey",e.TYPE],["KeyAlgorithm",e.TYPE],["LockInfo",e.TYPE],["LockManagerSnapshot",e.TYPE],["LockOptions",e.TYPE],["MediaCapabilitiesDecodingInfo",e.TYPE],["MediaCapabilitiesEncodingInfo",e.TYPE],["MediaCapabilitiesInfo",e.TYPE],["MediaConfiguration",e.TYPE],["MediaDecodingConfiguration",e.TYPE],["MediaEncodingConfiguration",e.TYPE],["MediaStreamTrackProcessorInit",e.TYPE],["MessageEventInit",e.TYPE],["MultiCacheQueryOptions",e.TYPE],["NavigationPreloadState",e.TYPE],["NotificationEventInit",e.TYPE],["NotificationOptions",e.TYPE],["OpusEncoderConfig",e.TYPE],["Pbkdf2Params",e.TYPE],["PerformanceMarkOptions",e.TYPE],["PerformanceMeasureOptions",e.TYPE],["PerformanceObserverInit",e.TYPE],["PermissionDescriptor",e.TYPE],["PlaneLayout",e.TYPE],["ProgressEventInit",e.TYPE],["PromiseRejectionEventInit",e.TYPE],["PushEventInit",e.TYPE],["PushSubscriptionJSON",e.TYPE],["PushSubscriptionOptionsInit",e.TYPE],["QueuingStrategy",e.TYPE],["QueuingStrategyInit",e.TYPE],["RTCEncodedAudioFrameMetadata",e.TYPE],["RTCEncodedVideoFrameMetadata",e.TYPE],["ReadableStreamGetReaderOptions",e.TYPE],["ReadableStreamIteratorOptions",e.TYPE],["ReadableStreamReadDoneResult",e.TYPE],["ReadableStreamReadValueResult",e.TYPE],["ReadableWritablePair",e.TYPE],["RegistrationOptions",e.TYPE],["ReportingObserverOptions",e.TYPE],["RequestInit",e.TYPE],["ResponseInit",e.TYPE],["RsaHashedImportParams",e.TYPE],["RsaHashedKeyGenParams",e.TYPE],["RsaKeyGenParams",e.TYPE],["RsaOaepParams",e.TYPE],["RsaOtherPrimesInfo",e.TYPE],["RsaPssParams",e.TYPE],["SecurityPolicyViolationEventInit",e.TYPE],["StorageEstimate",e.TYPE],["StreamPipeOptions",e.TYPE],["StructuredSerializeOptions",e.TYPE],["TextDecodeOptions",e.TYPE],["TextDecoderOptions",e.TYPE],["TextEncoderEncodeIntoResult",e.TYPE],["Transformer",e.TYPE],["UnderlyingByteSource",e.TYPE],["UnderlyingDefaultSource",e.TYPE],["UnderlyingSink",e.TYPE],["UnderlyingSource",e.TYPE],["VideoColorSpaceInit",e.TYPE],["VideoConfiguration",e.TYPE],["VideoDecoderConfig",e.TYPE],["VideoDecoderInit",e.TYPE],["VideoDecoderSupport",e.TYPE],["VideoEncoderConfig",e.TYPE],["VideoEncoderEncodeOptions",e.TYPE],["VideoEncoderEncodeOptionsForAvc",e.TYPE],["VideoEncoderInit",e.TYPE],["VideoEncoderSupport",e.TYPE],["VideoFrameBufferInit",e.TYPE],["VideoFrameCopyToOptions",e.TYPE],["VideoFrameInit",e.TYPE],["WebGLContextAttributes",e.TYPE],["WebGLContextEventInit",e.TYPE],["WebTransportCloseInfo",e.TYPE],["WebTransportErrorOptions",e.TYPE],["WebTransportHash",e.TYPE],["WebTransportOptions",e.TYPE],["WebTransportSendStreamOptions",e.TYPE],["WorkerOptions",e.TYPE],["WriteParams",e.TYPE],["ANGLE_instanced_arrays",e.TYPE],["AbortController",e.TYPE_VALUE],["AbortSignalEventMap",e.TYPE],["AbortSignal",e.TYPE_VALUE],["AbstractWorkerEventMap",e.TYPE],["AbstractWorker",e.TYPE],["AnimationFrameProvider",e.TYPE],["AudioData",e.TYPE_VALUE],["AudioDecoderEventMap",e.TYPE],["AudioDecoder",e.TYPE_VALUE],["AudioEncoderEventMap",e.TYPE],["AudioEncoder",e.TYPE_VALUE],["Blob",e.TYPE_VALUE],["Body",e.TYPE],["BroadcastChannelEventMap",e.TYPE],["BroadcastChannel",e.TYPE_VALUE],["ByteLengthQueuingStrategy",e.TYPE_VALUE],["CSSImageValue",e.TYPE_VALUE],["CSSKeywordValue",e.TYPE_VALUE],["CSSMathClamp",e.TYPE_VALUE],["CSSMathInvert",e.TYPE_VALUE],["CSSMathMax",e.TYPE_VALUE],["CSSMathMin",e.TYPE_VALUE],["CSSMathNegate",e.TYPE_VALUE],["CSSMathProduct",e.TYPE_VALUE],["CSSMathSum",e.TYPE_VALUE],["CSSMathValue",e.TYPE_VALUE],["CSSMatrixComponent",e.TYPE_VALUE],["CSSNumericArray",e.TYPE_VALUE],["CSSNumericValue",e.TYPE_VALUE],["CSSPerspective",e.TYPE_VALUE],["CSSRotate",e.TYPE_VALUE],["CSSScale",e.TYPE_VALUE],["CSSSkew",e.TYPE_VALUE],["CSSSkewX",e.TYPE_VALUE],["CSSSkewY",e.TYPE_VALUE],["CSSStyleValue",e.TYPE_VALUE],["CSSTransformComponent",e.TYPE_VALUE],["CSSTransformValue",e.TYPE_VALUE],["CSSTranslate",e.TYPE_VALUE],["CSSUnitValue",e.TYPE_VALUE],["CSSUnparsedValue",e.TYPE_VALUE],["CSSVariableReferenceValue",e.TYPE_VALUE],["Cache",e.TYPE_VALUE],["CacheStorage",e.TYPE_VALUE],["CanvasCompositing",e.TYPE],["CanvasDrawImage",e.TYPE],["CanvasDrawPath",e.TYPE],["CanvasFillStrokeStyles",e.TYPE],["CanvasFilters",e.TYPE],["CanvasGradient",e.TYPE_VALUE],["CanvasImageData",e.TYPE],["CanvasImageSmoothing",e.TYPE],["CanvasPath",e.TYPE],["CanvasPathDrawingStyles",e.TYPE],["CanvasPattern",e.TYPE_VALUE],["CanvasRect",e.TYPE],["CanvasShadowStyles",e.TYPE],["CanvasState",e.TYPE],["CanvasText",e.TYPE],["CanvasTextDrawingStyles",e.TYPE],["CanvasTransform",e.TYPE],["Client",e.TYPE_VALUE],["Clients",e.TYPE_VALUE],["CloseEvent",e.TYPE_VALUE],["CompressionStream",e.TYPE_VALUE],["CountQueuingStrategy",e.TYPE_VALUE],["Crypto",e.TYPE_VALUE],["CryptoKey",e.TYPE_VALUE],["CustomEvent",e.TYPE_VALUE],["DOMException",e.TYPE_VALUE],["DOMMatrix",e.TYPE_VALUE],["DOMMatrixReadOnly",e.TYPE_VALUE],["DOMPoint",e.TYPE_VALUE],["DOMPointReadOnly",e.TYPE_VALUE],["DOMQuad",e.TYPE_VALUE],["DOMRect",e.TYPE_VALUE],["DOMRectReadOnly",e.TYPE_VALUE],["DOMStringList",e.TYPE_VALUE],["DecompressionStream",e.TYPE_VALUE],["DedicatedWorkerGlobalScopeEventMap",e.TYPE],["DedicatedWorkerGlobalScope",e.TYPE_VALUE],["EXT_blend_minmax",e.TYPE],["EXT_color_buffer_float",e.TYPE],["EXT_color_buffer_half_float",e.TYPE],["EXT_float_blend",e.TYPE],["EXT_frag_depth",e.TYPE],["EXT_sRGB",e.TYPE],["EXT_shader_texture_lod",e.TYPE],["EXT_texture_compression_bptc",e.TYPE],["EXT_texture_compression_rgtc",e.TYPE],["EXT_texture_filter_anisotropic",e.TYPE],["EXT_texture_norm16",e.TYPE],["EncodedAudioChunk",e.TYPE_VALUE],["EncodedVideoChunk",e.TYPE_VALUE],["ErrorEvent",e.TYPE_VALUE],["Event",e.TYPE_VALUE],["EventListener",e.TYPE],["EventListenerObject",e.TYPE],["EventSourceEventMap",e.TYPE],["EventSource",e.TYPE_VALUE],["EventTarget",e.TYPE_VALUE],["ExtendableEvent",e.TYPE_VALUE],["ExtendableMessageEvent",e.TYPE_VALUE],["FetchEvent",e.TYPE_VALUE],["File",e.TYPE_VALUE],["FileList",e.TYPE_VALUE],["FileReaderEventMap",e.TYPE],["FileReader",e.TYPE_VALUE],["FileReaderSync",e.TYPE_VALUE],["FileSystemDirectoryHandle",e.TYPE_VALUE],["FileSystemFileHandle",e.TYPE_VALUE],["FileSystemHandle",e.TYPE_VALUE],["FileSystemSyncAccessHandle",e.TYPE_VALUE],["FileSystemWritableFileStream",e.TYPE_VALUE],["FontFace",e.TYPE_VALUE],["FontFaceSetEventMap",e.TYPE],["FontFaceSet",e.TYPE_VALUE],["FontFaceSetLoadEvent",e.TYPE_VALUE],["FontFaceSource",e.TYPE],["FormData",e.TYPE_VALUE],["GPUError",e.TYPE],["GenericTransformStream",e.TYPE],["Headers",e.TYPE_VALUE],["IDBCursor",e.TYPE_VALUE],["IDBCursorWithValue",e.TYPE_VALUE],["IDBDatabaseEventMap",e.TYPE],["IDBDatabase",e.TYPE_VALUE],["IDBFactory",e.TYPE_VALUE],["IDBIndex",e.TYPE_VALUE],["IDBKeyRange",e.TYPE_VALUE],["IDBObjectStore",e.TYPE_VALUE],["IDBOpenDBRequestEventMap",e.TYPE],["IDBOpenDBRequest",e.TYPE_VALUE],["IDBRequestEventMap",e.TYPE],["IDBRequest",e.TYPE_VALUE],["IDBTransactionEventMap",e.TYPE],["IDBTransaction",e.TYPE_VALUE],["IDBVersionChangeEvent",e.TYPE_VALUE],["ImageBitmap",e.TYPE_VALUE],["ImageBitmapRenderingContext",e.TYPE_VALUE],["ImageData",e.TYPE_VALUE],["ImageDecoder",e.TYPE_VALUE],["ImageTrack",e.TYPE_VALUE],["ImageTrackList",e.TYPE_VALUE],["ImportMeta",e.TYPE],["KHR_parallel_shader_compile",e.TYPE],["Lock",e.TYPE_VALUE],["LockManager",e.TYPE_VALUE],["MediaCapabilities",e.TYPE_VALUE],["MediaSourceHandle",e.TYPE_VALUE],["MediaStreamTrackProcessor",e.TYPE_VALUE],["MessageChannel",e.TYPE_VALUE],["MessageEvent",e.TYPE_VALUE],["MessageEventTargetEventMap",e.TYPE],["MessageEventTarget",e.TYPE],["MessagePortEventMap",e.TYPE],["MessagePort",e.TYPE_VALUE],["NavigationPreloadManager",e.TYPE_VALUE],["NavigatorBadge",e.TYPE],["NavigatorConcurrentHardware",e.TYPE],["NavigatorID",e.TYPE],["NavigatorLanguage",e.TYPE],["NavigatorLocks",e.TYPE],["NavigatorOnLine",e.TYPE],["NavigatorStorage",e.TYPE],["NotificationEventMap",e.TYPE],["Notification",e.TYPE_VALUE],["NotificationEvent",e.TYPE_VALUE],["OES_draw_buffers_indexed",e.TYPE],["OES_element_index_uint",e.TYPE],["OES_fbo_render_mipmap",e.TYPE],["OES_standard_derivatives",e.TYPE],["OES_texture_float",e.TYPE],["OES_texture_float_linear",e.TYPE],["OES_texture_half_float",e.TYPE],["OES_texture_half_float_linear",e.TYPE],["OES_vertex_array_object",e.TYPE],["OVR_multiview2",e.TYPE],["OffscreenCanvasEventMap",e.TYPE],["OffscreenCanvas",e.TYPE_VALUE],["OffscreenCanvasRenderingContext2D",e.TYPE_VALUE],["Path2D",e.TYPE_VALUE],["PerformanceEventMap",e.TYPE],["Performance",e.TYPE_VALUE],["PerformanceEntry",e.TYPE_VALUE],["PerformanceMark",e.TYPE_VALUE],["PerformanceMeasure",e.TYPE_VALUE],["PerformanceObserver",e.TYPE_VALUE],["PerformanceObserverEntryList",e.TYPE_VALUE],["PerformanceResourceTiming",e.TYPE_VALUE],["PerformanceServerTiming",e.TYPE_VALUE],["PermissionStatusEventMap",e.TYPE],["PermissionStatus",e.TYPE_VALUE],["Permissions",e.TYPE_VALUE],["ProgressEvent",e.TYPE_VALUE],["PromiseRejectionEvent",e.TYPE_VALUE],["PushEvent",e.TYPE_VALUE],["PushManager",e.TYPE_VALUE],["PushMessageData",e.TYPE_VALUE],["PushSubscription",e.TYPE_VALUE],["PushSubscriptionOptions",e.TYPE_VALUE],["RTCDataChannelEventMap",e.TYPE],["RTCDataChannel",e.TYPE_VALUE],["RTCEncodedAudioFrame",e.TYPE_VALUE],["RTCEncodedVideoFrame",e.TYPE_VALUE],["RTCRtpScriptTransformer",e.TYPE_VALUE],["RTCTransformEvent",e.TYPE_VALUE],["ReadableByteStreamController",e.TYPE_VALUE],["ReadableStream",e.TYPE_VALUE],["ReadableStreamBYOBReader",e.TYPE_VALUE],["ReadableStreamBYOBRequest",e.TYPE_VALUE],["ReadableStreamDefaultController",e.TYPE_VALUE],["ReadableStreamDefaultReader",e.TYPE_VALUE],["ReadableStreamGenericReader",e.TYPE],["Report",e.TYPE_VALUE],["ReportBody",e.TYPE_VALUE],["ReportingObserver",e.TYPE_VALUE],["Request",e.TYPE_VALUE],["Response",e.TYPE_VALUE],["SecurityPolicyViolationEvent",e.TYPE_VALUE],["ServiceWorkerEventMap",e.TYPE],["ServiceWorker",e.TYPE_VALUE],["ServiceWorkerContainerEventMap",e.TYPE],["ServiceWorkerContainer",e.TYPE_VALUE],["ServiceWorkerGlobalScopeEventMap",e.TYPE],["ServiceWorkerGlobalScope",e.TYPE_VALUE],["ServiceWorkerRegistrationEventMap",e.TYPE],["ServiceWorkerRegistration",e.TYPE_VALUE],["SharedWorkerGlobalScopeEventMap",e.TYPE],["SharedWorkerGlobalScope",e.TYPE_VALUE],["StorageManager",e.TYPE_VALUE],["StylePropertyMapReadOnly",e.TYPE_VALUE],["SubtleCrypto",e.TYPE_VALUE],["TextDecoder",e.TYPE_VALUE],["TextDecoderCommon",e.TYPE],["TextDecoderStream",e.TYPE_VALUE],["TextEncoder",e.TYPE_VALUE],["TextEncoderCommon",e.TYPE],["TextEncoderStream",e.TYPE_VALUE],["TextMetrics",e.TYPE_VALUE],["TransformStream",e.TYPE_VALUE],["TransformStreamDefaultController",e.TYPE_VALUE],["URL",e.TYPE_VALUE],["URLSearchParams",e.TYPE_VALUE],["VideoColorSpace",e.TYPE_VALUE],["VideoDecoderEventMap",e.TYPE],["VideoDecoder",e.TYPE_VALUE],["VideoEncoderEventMap",e.TYPE],["VideoEncoder",e.TYPE_VALUE],["VideoFrame",e.TYPE_VALUE],["WEBGL_color_buffer_float",e.TYPE],["WEBGL_compressed_texture_astc",e.TYPE],["WEBGL_compressed_texture_etc",e.TYPE],["WEBGL_compressed_texture_etc1",e.TYPE],["WEBGL_compressed_texture_pvrtc",e.TYPE],["WEBGL_compressed_texture_s3tc",e.TYPE],["WEBGL_compressed_texture_s3tc_srgb",e.TYPE],["WEBGL_debug_renderer_info",e.TYPE],["WEBGL_debug_shaders",e.TYPE],["WEBGL_depth_texture",e.TYPE],["WEBGL_draw_buffers",e.TYPE],["WEBGL_lose_context",e.TYPE],["WEBGL_multi_draw",e.TYPE],["WebGL2RenderingContext",e.TYPE_VALUE],["WebGL2RenderingContextBase",e.TYPE],["WebGL2RenderingContextOverloads",e.TYPE],["WebGLActiveInfo",e.TYPE_VALUE],["WebGLBuffer",e.TYPE_VALUE],["WebGLContextEvent",e.TYPE_VALUE],["WebGLFramebuffer",e.TYPE_VALUE],["WebGLProgram",e.TYPE_VALUE],["WebGLQuery",e.TYPE_VALUE],["WebGLRenderbuffer",e.TYPE_VALUE],["WebGLRenderingContext",e.TYPE_VALUE],["WebGLRenderingContextBase",e.TYPE],["WebGLRenderingContextOverloads",e.TYPE],["WebGLSampler",e.TYPE_VALUE],["WebGLShader",e.TYPE_VALUE],["WebGLShaderPrecisionFormat",e.TYPE_VALUE],["WebGLSync",e.TYPE_VALUE],["WebGLTexture",e.TYPE_VALUE],["WebGLTransformFeedback",e.TYPE_VALUE],["WebGLUniformLocation",e.TYPE_VALUE],["WebGLVertexArrayObject",e.TYPE_VALUE],["WebGLVertexArrayObjectOES",e.TYPE],["WebSocketEventMap",e.TYPE],["WebSocket",e.TYPE_VALUE],["WebTransport",e.TYPE_VALUE],["WebTransportBidirectionalStream",e.TYPE_VALUE],["WebTransportDatagramDuplexStream",e.TYPE_VALUE],["WebTransportError",e.TYPE_VALUE],["WindowClient",e.TYPE_VALUE],["WindowOrWorkerGlobalScope",e.TYPE],["WorkerEventMap",e.TYPE],["Worker",e.TYPE_VALUE],["WorkerGlobalScopeEventMap",e.TYPE],["WorkerGlobalScope",e.TYPE_VALUE],["WorkerLocation",e.TYPE_VALUE],["WorkerNavigator",e.TYPE_VALUE],["WritableStream",e.TYPE_VALUE],["WritableStreamDefaultController",e.TYPE_VALUE],["WritableStreamDefaultWriter",e.TYPE_VALUE],["XMLHttpRequestEventMap",e.TYPE],["XMLHttpRequest",e.TYPE_VALUE],["XMLHttpRequestEventTargetEventMap",e.TYPE],["XMLHttpRequestEventTarget",e.TYPE_VALUE],["XMLHttpRequestUpload",e.TYPE_VALUE],["Console",e.TYPE],["WebAssembly",e.TYPE_VALUE],["AudioDataOutputCallback",e.TYPE],["EncodedAudioChunkOutputCallback",e.TYPE],["EncodedVideoChunkOutputCallback",e.TYPE],["FrameRequestCallback",e.TYPE],["LockGrantedCallback",e.TYPE],["OnErrorEventHandlerNonNull",e.TYPE],["PerformanceObserverCallback",e.TYPE],["QueuingStrategySize",e.TYPE],["ReportingObserverCallback",e.TYPE],["TransformerFlushCallback",e.TYPE],["TransformerStartCallback",e.TYPE],["TransformerTransformCallback",e.TYPE],["UnderlyingSinkAbortCallback",e.TYPE],["UnderlyingSinkCloseCallback",e.TYPE],["UnderlyingSinkStartCallback",e.TYPE],["UnderlyingSinkWriteCallback",e.TYPE],["UnderlyingSourceCancelCallback",e.TYPE],["UnderlyingSourcePullCallback",e.TYPE],["UnderlyingSourceStartCallback",e.TYPE],["VideoFrameOutputCallback",e.TYPE],["VoidFunction",e.TYPE],["WebCodecsErrorCallback",e.TYPE],["AlgorithmIdentifier",e.TYPE],["AllowSharedBufferSource",e.TYPE],["BigInteger",e.TYPE],["BlobPart",e.TYPE],["BodyInit",e.TYPE],["BufferSource",e.TYPE],["CSSKeywordish",e.TYPE],["CSSNumberish",e.TYPE],["CSSPerspectiveValue",e.TYPE],["CSSUnparsedSegment",e.TYPE],["CanvasImageSource",e.TYPE],["DOMHighResTimeStamp",e.TYPE],["EpochTimeStamp",e.TYPE],["EventListenerOrEventListenerObject",e.TYPE],["FileSystemWriteChunkType",e.TYPE],["Float32List",e.TYPE],["FormDataEntryValue",e.TYPE],["GLbitfield",e.TYPE],["GLboolean",e.TYPE],["GLclampf",e.TYPE],["GLenum",e.TYPE],["GLfloat",e.TYPE],["GLint",e.TYPE],["GLint64",e.TYPE],["GLintptr",e.TYPE],["GLsizei",e.TYPE],["GLsizeiptr",e.TYPE],["GLuint",e.TYPE],["GLuint64",e.TYPE],["HashAlgorithmIdentifier",e.TYPE],["HeadersInit",e.TYPE],["IDBValidKey",e.TYPE],["ImageBitmapSource",e.TYPE],["ImageBufferSource",e.TYPE],["Int32List",e.TYPE],["MessageEventSource",e.TYPE],["NamedCurve",e.TYPE],["OffscreenRenderingContext",e.TYPE],["OnErrorEventHandler",e.TYPE],["PerformanceEntryList",e.TYPE],["PushMessageDataInit",e.TYPE],["ReadableStreamController",e.TYPE],["ReadableStreamReadResult",e.TYPE],["ReadableStreamReader",e.TYPE],["ReportList",e.TYPE],["RequestInfo",e.TYPE],["TexImageSource",e.TYPE],["TimerHandler",e.TYPE],["Transferable",e.TYPE],["Uint32List",e.TYPE],["XMLHttpRequestBodyInit",e.TYPE],["AlphaOption",e.TYPE],["AudioSampleFormat",e.TYPE],["AvcBitstreamFormat",e.TYPE],["BinaryType",e.TYPE],["BitrateMode",e.TYPE],["CSSMathOperator",e.TYPE],["CSSNumericBaseType",e.TYPE],["CanvasDirection",e.TYPE],["CanvasFillRule",e.TYPE],["CanvasFontKerning",e.TYPE],["CanvasFontStretch",e.TYPE],["CanvasFontVariantCaps",e.TYPE],["CanvasLineCap",e.TYPE],["CanvasLineJoin",e.TYPE],["CanvasTextAlign",e.TYPE],["CanvasTextBaseline",e.TYPE],["CanvasTextRendering",e.TYPE],["ClientTypes",e.TYPE],["CodecState",e.TYPE],["ColorGamut",e.TYPE],["ColorSpaceConversion",e.TYPE],["CompressionFormat",e.TYPE],["DocumentVisibilityState",e.TYPE],["EncodedAudioChunkType",e.TYPE],["EncodedVideoChunkType",e.TYPE],["EndingType",e.TYPE],["FileSystemHandleKind",e.TYPE],["FontDisplay",e.TYPE],["FontFaceLoadStatus",e.TYPE],["FontFaceSetLoadStatus",e.TYPE],["FrameType",e.TYPE],["GlobalCompositeOperation",e.TYPE],["HardwareAcceleration",e.TYPE],["HdrMetadataType",e.TYPE],["IDBCursorDirection",e.TYPE],["IDBRequestReadyState",e.TYPE],["IDBTransactionDurability",e.TYPE],["IDBTransactionMode",e.TYPE],["ImageOrientation",e.TYPE],["ImageSmoothingQuality",e.TYPE],["KeyFormat",e.TYPE],["KeyType",e.TYPE],["KeyUsage",e.TYPE],["LatencyMode",e.TYPE],["LockMode",e.TYPE],["MediaDecodingType",e.TYPE],["MediaEncodingType",e.TYPE],["NotificationDirection",e.TYPE],["NotificationPermission",e.TYPE],["OffscreenRenderingContextId",e.TYPE],["OpusBitstreamFormat",e.TYPE],["PermissionName",e.TYPE],["PermissionState",e.TYPE],["PredefinedColorSpace",e.TYPE],["PremultiplyAlpha",e.TYPE],["PushEncryptionKeyName",e.TYPE],["RTCDataChannelState",e.TYPE],["RTCEncodedVideoFrameType",e.TYPE],["ReadableStreamReaderMode",e.TYPE],["ReadableStreamType",e.TYPE],["ReferrerPolicy",e.TYPE],["RequestCache",e.TYPE],["RequestCredentials",e.TYPE],["RequestDestination",e.TYPE],["RequestMode",e.TYPE],["RequestPriority",e.TYPE],["RequestRedirect",e.TYPE],["ResizeQuality",e.TYPE],["ResponseType",e.TYPE],["SecurityPolicyViolationEventDisposition",e.TYPE],["ServiceWorkerState",e.TYPE],["ServiceWorkerUpdateViaCache",e.TYPE],["TransferFunction",e.TYPE],["VideoColorPrimaries",e.TYPE],["VideoEncoderBitrateMode",e.TYPE],["VideoMatrixCoefficients",e.TYPE],["VideoPixelFormat",e.TYPE],["VideoTransferCharacteristics",e.TYPE],["WebGLPowerPreference",e.TYPE],["WebTransportCongestionControl",e.TYPE],["WebTransportErrorSource",e.TYPE],["WorkerType",e.TYPE],["WriteCommandType",e.TYPE],["XMLHttpRequestResponseType",e.TYPE]]},mR}(),e0=function(){if(t0)return mF;t0=1,Object.defineProperty(mF,"__esModule",{value:!0}),mF.webworker_asynciterable=void 0;let e=uG();return mF.webworker_asynciterable={libs:[],variables:[["FileSystemDirectoryHandleAsyncIterator",e.TYPE],["FileSystemDirectoryHandle",e.TYPE],["ReadableStreamAsyncIterator",e.TYPE],["ReadableStream",e.TYPE]]},mF}(),e1=fk(),e2=function(){if(t1)return mU;t1=1,Object.defineProperty(mU,"__esModule",{value:!0}),mU.webworker_iterable=void 0;let e=uG();return mU.webworker_iterable={libs:[],variables:[["CSSNumericArray",e.TYPE],["CSSTransformValue",e.TYPE],["CSSUnparsedValue",e.TYPE],["Cache",e.TYPE],["CanvasPath",e.TYPE],["CanvasPathDrawingStyles",e.TYPE],["DOMStringList",e.TYPE],["FileList",e.TYPE],["FontFaceSet",e.TYPE],["FormDataIterator",e.TYPE],["FormData",e.TYPE],["HeadersIterator",e.TYPE],["Headers",e.TYPE],["IDBDatabase",e.TYPE],["IDBObjectStore",e.TYPE],["ImageTrackList",e.TYPE],["MessageEvent",e.TYPE],["StylePropertyMapReadOnlyIterator",e.TYPE],["StylePropertyMapReadOnly",e.TYPE],["SubtleCrypto",e.TYPE],["URLSearchParamsIterator",e.TYPE],["URLSearchParams",e.TYPE],["WEBGL_draw_buffers",e.TYPE],["WEBGL_multi_draw",e.TYPE],["WebGL2RenderingContextBase",e.TYPE],["WebGL2RenderingContextOverloads",e.TYPE],["WebGLRenderingContextBase",e.TYPE],["WebGLRenderingContextOverloads",e.TYPE]]},mU}();return uU.lib=new Map([["es5",o.es5],["es6",s.es6],["es2015",l.es2015],["es7",a.es7],["es2016",E.es2016],["es2017",x.es2017],["es2018",L.es2018],["es2019",j.es2019],["es2020",G.es2020],["es2021",et.es2021],["es2022",ea.es2022],["es2023",eg.es2023],["es2024",eb.es2024],["esnext",ew.esnext],["dom",n.dom],["dom.iterable",i.dom_iterable],["dom.asynciterable",r.dom_asynciterable],["webworker",eQ.webworker],["webworker.importscripts",e1.webworker_importscripts],["webworker.iterable",e2.webworker_iterable],["webworker.asynciterable",e0.webworker_asynciterable],["scripthost",eX.scripthost],["es2015.core",p.es2015_core],["es2015.collection",c.es2015_collection],["es2015.generator",u.es2015_generator],["es2015.iterable",f.es2015_iterable],["es2015.promise",d.es2015_promise],["es2015.proxy",m.es2015_proxy],["es2015.reflect",g.es2015_reflect],["es2015.symbol",h.es2015_symbol],["es2015.symbol.wellknown",y.es2015_symbol_wellknown],["es2016.array.include",T.es2016_array_include],["es2016.intl",S.es2016_intl],["es2017.arraybuffer",P.es2017_arraybuffer],["es2017.date",v.es2017_date],["es2017.object",A.es2017_object],["es2017.sharedmemory",Y.es2017_sharedmemory],["es2017.string",C.es2017_string],["es2017.intl",_.es2017_intl],["es2017.typedarrays",w.es2017_typedarrays],["es2018.asyncgenerator",I.es2018_asyncgenerator],["es2018.asynciterable",O.es2018_asynciterable],["es2018.intl",V.es2018_intl],["es2018.promise",B.es2018_promise],["es2018.regexp",N.es2018_regexp],["es2019.array",M.es2019_array],["es2019.object",U.es2019_object],["es2019.string",q.es2019_string],["es2019.symbol",W.es2019_symbol],["es2019.intl",F.es2019_intl],["es2020.bigint",H.es2020_bigint],["es2020.date",$.es2020_date],["es2020.promise",X.es2020_promise],["es2020.sharedmemory",Q.es2020_sharedmemory],["es2020.string",Z.es2020_string],["es2020.symbol.wellknown",ee.es2020_symbol_wellknown],["es2020.intl",z.es2020_intl],["es2020.number",J.es2020_number],["es2021.promise",ei.es2021_promise],["es2021.string",eo.es2021_string],["es2021.weakref",es.es2021_weakref],["es2021.intl",er.es2021_intl],["es2022.array",el.es2022_array],["es2022.error",ec.es2022_error],["es2022.intl",eu.es2022_intl],["es2022.object",ef.es2022_object],["es2022.string",em.es2022_string],["es2022.regexp",ed.es2022_regexp],["es2023.array",eh.es2023_array],["es2023.collection",ey.es2023_collection],["es2023.intl",eT.es2023_intl],["es2024.arraybuffer",eS.es2024_arraybuffer],["es2024.collection",ex.es2024_collection],["es2024.object",ev.es2024_object],["es2024.promise",ek.es2024_promise],["es2024.regexp",e_.es2024_regexp],["es2024.sharedmemory",eA.es2024_sharedmemory],["es2024.string",eY.es2024_string],["esnext.array",eL.esnext_array],["esnext.collection",eV.esnext_collection],["esnext.symbol",eK.esnext_symbol],["esnext.asynciterable",eI.esnext_asynciterable],["esnext.intl",eF.esnext_intl],["esnext.disposable",ej.esnext_disposable],["esnext.bigint",eD.esnext_bigint],["esnext.string",e$.esnext_string],["esnext.promise",eW.esnext_promise],["esnext.weakref",ez.esnext_weakref],["esnext.decorators",eB.esnext_decorators],["esnext.object",eq.esnext_object],["esnext.regexp",eG.esnext_regexp],["esnext.iterator",eU.esnext_iterator],["esnext.float16",eM.esnext_float16],["decorators",e.decorators],["decorators.legacy",t.decorators_legacy],["es2016.full",b.es2016_full],["es2017.full",k.es2017_full],["es2018.full",D.es2018_full],["es2019.full",R.es2019_full],["es2020.full",K.es2020_full],["es2021.full",en.es2021_full],["es2022.full",ep.es2022_full],["es2023.full",eE.es2023_full],["es2024.full",eP.es2024_full],["esnext.full",eR.esnext_full],["lib",eJ.lib]]),uU}(),i=function(){if(nv)return mq;nv=1,Object.defineProperty(mq,"__esModule",{value:!0}),mq.ClassVisitor=void 0;let e=pW(),t=uF(),n=gx(),r=gS();function i(t){if(t.computed&&t.key.type===e.AST_NODE_TYPES.Literal){if("string"==typeof t.key.value||"number"==typeof t.key.value)return t.key.value}else if(!t.computed&&t.key.type===e.AST_NODE_TYPES.Identifier)return t.key.name;return null}return mq.ClassVisitor=class o extends r.Visitor{#g;#m;constructor(e,t){super(e),this.#m=e,this.#g=t}static visit(e,t){new o(e,t).visitClass(t)}visit(e){e&&e.type in this?super.visit(e):this.#m.visit(e)}visitClass(n){n.type===e.AST_NODE_TYPES.ClassDeclaration&&n.id&&this.#m.currentScope().defineIdentifier(n.id,new t.ClassNameDefinition(n.id,n)),n.decorators.forEach(e=>this.#m.visit(e)),this.#m.scopeManager.nestClassScope(n),n.id&&this.#m.currentScope().defineIdentifier(n.id,new t.ClassNameDefinition(n.id,n)),this.#m.visit(n.superClass),this.visitType(n.typeParameters),this.visitType(n.superTypeArguments),n.implements.forEach(e=>this.visitType(e)),this.visit(n.body),this.#m.close(n)}visitFunctionParameterTypeAnnotation(t){switch(t.type){case e.AST_NODE_TYPES.AssignmentPattern:this.visitType(t.left.typeAnnotation);break;case e.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(t.parameter);break;default:this.visitType(t.typeAnnotation)}}visitMethod(t){t.computed&&this.#m.visit(t.key),t.value.type===e.AST_NODE_TYPES.FunctionExpression?this.visitMethodFunction(t.value,t):this.#m.visit(t.value),t.decorators.forEach(e=>this.#m.visit(e))}visitMethodFunction(n,r){n.id&&this.#m.scopeManager.nestFunctionExpressionNameScope(n),n.params.forEach(e=>{e.decorators.forEach(e=>this.visit(e))}),this.#m.scopeManager.nestFunctionScope(n,!0);let o=!!r.decorators.length;if(!(o||="set"!==r.kind&&n.params.some(e=>e.decorators.length))&&"set"===r.kind){let t=i(r);null!=t&&this.#g.body.body.find(n=>n!==r&&n.type===e.AST_NODE_TYPES.MethodDefinition&&n.static===r.static&&i(n)===t)?.decorators.length&&(o=!0)}for(let e of(!o&&"constructor"===r.kind&&this.#g.decorators.length&&(o=!0),n.params))this.visitPattern(e,(e,r)=>{this.#m.currentScope().defineIdentifier(e,new t.ParameterDefinition(e,n,r.rest)),this.#m.referencingDefaultValue(e,r.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(e);this.visitType(n.returnType),this.visitType(n.typeParameters),this.#m.visitChildren(n.body),this.#m.close(n)}visitPropertyBase(t){t.computed&&this.#m.visit(t.key),t.value&&((t.type===e.AST_NODE_TYPES.PropertyDefinition||t.type===e.AST_NODE_TYPES.AccessorProperty)&&this.#m.scopeManager.nestClassFieldInitializerScope(t.value),this.#m.visit(t.value),(t.type===e.AST_NODE_TYPES.PropertyDefinition||t.type===e.AST_NODE_TYPES.AccessorProperty)&&this.#m.close(t.value)),t.decorators.forEach(e=>this.#m.visit(e))}visitPropertyDefinition(e){this.visitPropertyBase(e),this.visitType(e.typeAnnotation)}visitType(e){e&&n.TypeVisitor.visit(this.#m,e)}AccessorProperty(e){this.visitPropertyDefinition(e)}ClassBody(e){this.visitChildren(e)}Identifier(e){this.#m.visit(e)}MethodDefinition(e){this.visitMethod(e)}PrivateIdentifier(){}PropertyDefinition(e){this.visitPropertyDefinition(e)}StaticBlock(e){this.#m.scopeManager.nestClassStaticBlockScope(e),e.body.forEach(e=>this.visit(e)),this.#m.close(e)}TSAbstractAccessorProperty(e){this.visitPropertyDefinition(e)}TSAbstractMethodDefinition(e){this.visitPropertyBase(e)}TSAbstractPropertyDefinition(e){this.visitPropertyDefinition(e)}TSIndexSignature(e){this.visitType(e)}},mq}(),o=function(){if(nk)return gP;nk=1,Object.defineProperty(gP,"__esModule",{value:!0}),gP.ExportVisitor=void 0;let e=pW(),t=gS();return gP.ExportVisitor=class n extends t.Visitor{#h;#m;constructor(e,t){super(t),this.#h=e,this.#m=t}static visit(e,t){new n(t,e).visit(t)}ExportDefaultDeclaration(t){t.declaration.type===e.AST_NODE_TYPES.Identifier&&this.visit(t.declaration)}ExportNamedDeclaration(e){!e.source&&(e.declaration||this.visitChildren(e))}ExportSpecifier(t){"type"===t.exportKind&&t.local.type===e.AST_NODE_TYPES.Identifier?this.#m.currentScope().referenceType(t.local):this.visit(t.local)}Identifier(e){"type"===this.#h.exportKind?this.#m.currentScope().referenceType(e):this.#m.currentScope().referenceDualValueType(e)}},gP}(),s=function(){if(n_)return gv;n_=1,Object.defineProperty(gv,"__esModule",{value:!0}),gv.ImportVisitor=void 0;let e=uF(),t=gS();return gv.ImportVisitor=class n extends t.Visitor{#y;#m;constructor(e,t){super(t),this.#y=e,this.#m=t}static visit(e,t){new n(t,e).visit(t)}ImportDefaultSpecifier(e){let t=e.local;this.visitImport(t,e)}ImportNamespaceSpecifier(e){let t=e.local;this.visitImport(t,e)}ImportSpecifier(e){let t=e.local;this.visitImport(t,e)}visitImport(t,n){this.#m.currentScope().defineIdentifier(t,new e.ImportBindingDefinition(t,n,this.#y))}},gv}(),a=gb(),l=mz(),c=gx(),p=gS();return uE.Referencer=class extends p.Visitor{#E=!1;#T=!1;#b;#S;#x;scopeManager;constructor(e,t){super(e),this.scopeManager=t,this.#S=e.jsxPragma,this.#b=e.jsxFragmentName,this.#x=e.lib}populateGlobalsFromLib(e){let t=new Set;for(let e of this.#x){let n=r.lib.get(e);if(!n)throw Error(`Invalid value for lib provided: ${e}`);t.add(n)}for(let n of t){for(let e of n.libs)t.add(e);for(let[t,r]of n.variables)e.defineImplicitVariable(t,r)}e.defineImplicitVariable("const",{eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1})}close(e){for(;this.currentScope(!0)&&e===this.currentScope().block;)this.scopeManager.currentScope=this.currentScope().close(this.scopeManager)}currentScope(e){return e||(0,t.assert)(this.scopeManager.currentScope,"aaa"),this.scopeManager.currentScope}referencingDefaultValue(e,t,n,r){t.forEach(t=>{this.currentScope().referenceValue(e,l.ReferenceFlag.Write,t.right,n,r)})}referenceInSomeUpperScope(e){let t=this.scopeManager.currentScope;for(;t;){let n=t.set.get(e);if(!n){t=t.upper;continue}return t.referenceValue(n.identifiers[0]),!0}return!1}referenceJsxFragment(){null==this.#b||this.#T||(this.#T=this.referenceInSomeUpperScope(this.#b))}referenceJsxPragma(){null==this.#S||this.#E||(this.#E=this.referenceInSomeUpperScope(this.#S))}visitClass(e){i.ClassVisitor.visit(this,e)}visitForIn(t){t.left.type===e.AST_NODE_TYPES.VariableDeclaration&&"var"!==t.left.kind&&this.scopeManager.nestForScope(t),t.left.type===e.AST_NODE_TYPES.VariableDeclaration?(this.visit(t.left),this.visitPattern(t.left.declarations[0].id,e=>{this.currentScope().referenceValue(e,l.ReferenceFlag.Write,t.right,null,!0)})):this.visitPattern(t.left,(e,n)=>{let r=this.currentScope().isStrict?null:{node:t,pattern:e};this.referencingDefaultValue(e,n.assignments,r,!1),this.currentScope().referenceValue(e,l.ReferenceFlag.Write,t.right,r,!1)},{processRightHandNodes:!0}),this.visit(t.right),this.visit(t.body),this.close(t)}visitFunction(t){for(let r of(t.type===e.AST_NODE_TYPES.FunctionExpression?t.id&&this.scopeManager.nestFunctionExpressionNameScope(t):t.id&&this.currentScope().defineIdentifier(t.id,new n.FunctionNameDefinition(t.id,t)),this.scopeManager.nestFunctionScope(t,!1),t.params))this.visitPattern(r,(e,r)=>{this.currentScope().defineIdentifier(e,new n.ParameterDefinition(e,t,r.rest)),this.referencingDefaultValue(e,r.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(r),r.decorators.forEach(e=>this.visit(e));this.visitType(t.returnType),this.visitType(t.typeParameters),t.body&&(t.body.type===e.AST_NODE_TYPES.BlockStatement?this.visitChildren(t.body):this.visit(t.body)),this.close(t)}visitFunctionParameterTypeAnnotation(t){switch(t.type){case e.AST_NODE_TYPES.AssignmentPattern:this.visitType(t.left.typeAnnotation);break;case e.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(t.parameter);break;default:this.visitType(t.typeAnnotation)}}visitJSXElement(t){t.name.type===e.AST_NODE_TYPES.JSXIdentifier?(t.name.name[0].toUpperCase()===t.name.name[0]||"this"===t.name.name)&&this.visit(t.name):this.visit(t.name)}visitProperty(e){e.computed&&this.visit(e.key),this.visit(e.value)}visitType(e){e&&c.TypeVisitor.visit(this,e)}visitTypeAssertion(e){this.visit(e.expression),this.visitType(e.typeAnnotation)}ArrowFunctionExpression(e){this.visitFunction(e)}AssignmentExpression(t){let n=this.visitExpressionTarget(t.left);a.PatternVisitor.isPattern(n)?"="===t.operator?this.visitPattern(n,(e,n)=>{let r=this.currentScope().isStrict?null:{node:t,pattern:e};this.referencingDefaultValue(e,n.assignments,r,!1),this.currentScope().referenceValue(e,l.ReferenceFlag.Write,t.right,r,!1)},{processRightHandNodes:!0}):n.type===e.AST_NODE_TYPES.Identifier&&this.currentScope().referenceValue(n,l.ReferenceFlag.ReadWrite,t.right):this.visit(n),this.visit(t.right)}BlockStatement(e){this.scopeManager.nestBlockScope(e),this.visitChildren(e),this.close(e)}BreakStatement(){}CallExpression(e){this.visitChildren(e,["typeArguments"]),this.visitType(e.typeArguments)}CatchClause(e){if(this.scopeManager.nestCatchScope(e),e.param){let t=e.param;this.visitPattern(t,(r,i)=>{this.currentScope().defineIdentifier(r,new n.CatchClauseDefinition(t,e)),this.referencingDefaultValue(r,i.assignments,null,!0)},{processRightHandNodes:!0})}this.visit(e.body),this.close(e)}ClassDeclaration(e){this.visitClass(e)}ClassExpression(e){this.visitClass(e)}ContinueStatement(){}ExportAllDeclaration(){}ExportDefaultDeclaration(t){t.declaration.type===e.AST_NODE_TYPES.Identifier?o.ExportVisitor.visit(this,t):this.visit(t.declaration)}ExportNamedDeclaration(e){e.declaration?this.visit(e.declaration):o.ExportVisitor.visit(this,e)}ForInStatement(e){this.visitForIn(e)}ForOfStatement(e){this.visitForIn(e)}ForStatement(t){t.init&&t.init.type===e.AST_NODE_TYPES.VariableDeclaration&&"var"!==t.init.kind&&this.scopeManager.nestForScope(t),this.visitChildren(t),this.close(t)}FunctionDeclaration(e){this.visitFunction(e)}FunctionExpression(e){this.visitFunction(e)}Identifier(e){this.currentScope().referenceValue(e),this.visitType(e.typeAnnotation)}ImportAttribute(){}ImportDeclaration(e){(0,t.assert)(this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),s.ImportVisitor.visit(this,e)}JSXAttribute(e){this.visit(e.value)}JSXClosingElement(e){this.visitJSXElement(e)}JSXFragment(e){this.referenceJsxPragma(),this.referenceJsxFragment(),this.visitChildren(e)}JSXIdentifier(e){this.currentScope().referenceValue(e)}JSXMemberExpression(t){(t.object.type!==e.AST_NODE_TYPES.JSXIdentifier||"this"!==t.object.name)&&this.visit(t.object)}JSXOpeningElement(e){for(let t of(this.referenceJsxPragma(),this.visitJSXElement(e),this.visitType(e.typeArguments),e.attributes))this.visit(t)}LabeledStatement(e){this.visit(e.body)}MemberExpression(e){this.visit(e.object),e.computed&&this.visit(e.property)}MetaProperty(){}NewExpression(e){this.visitChildren(e,["typeArguments"]),this.visitType(e.typeArguments)}PrivateIdentifier(){}Program(e){let t=this.scopeManager.nestGlobalScope(e);this.populateGlobalsFromLib(t),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.nestFunctionScope(e,!1)),this.scopeManager.isModule()&&this.scopeManager.nestModuleScope(e),this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(e),this.close(e)}Property(e){this.visitProperty(e)}SwitchStatement(e){for(let t of(this.visit(e.discriminant),this.scopeManager.nestSwitchScope(e),e.cases))this.visit(t);this.close(e)}TaggedTemplateExpression(e){this.visit(e.tag),this.visit(e.quasi),this.visitType(e.typeArguments)}TSAsExpression(e){this.visitTypeAssertion(e)}TSDeclareFunction(e){this.visitFunction(e)}TSEmptyBodyFunctionExpression(e){this.visitFunction(e)}TSEnumDeclaration(t){for(let r of(this.currentScope().defineIdentifier(t.id,new n.TSEnumNameDefinition(t.id,t)),this.scopeManager.nestTSEnumScope(t),t.body.members)){if(r.id.type===e.AST_NODE_TYPES.Literal&&"string"==typeof r.id.value){let e=r.id;this.currentScope().defineLiteralIdentifier(e,new n.TSEnumMemberDefinition(e,r))}else r.computed||r.id.type!==e.AST_NODE_TYPES.Identifier||this.currentScope().defineIdentifier(r.id,new n.TSEnumMemberDefinition(r.id,r));this.visit(r.initializer)}this.close(t)}TSExportAssignment(t){t.expression.type===e.AST_NODE_TYPES.Identifier?this.currentScope().referenceDualValueType(t.expression):this.visit(t.expression)}TSImportEqualsDeclaration(t){if(this.currentScope().defineIdentifier(t.id,new n.ImportBindingDefinition(t.id,t,t)),t.moduleReference.type===e.AST_NODE_TYPES.TSQualifiedName){let n=t.moduleReference.left;for(;n.type===e.AST_NODE_TYPES.TSQualifiedName;)n=n.left;this.visit(n)}else this.visit(t.moduleReference)}TSInstantiationExpression(e){this.visitChildren(e,["typeArguments"]),this.visitType(e.typeArguments)}TSInterfaceDeclaration(e){this.visitType(e)}TSModuleDeclaration(t){t.id.type===e.AST_NODE_TYPES.Identifier&&"global"!==t.kind&&this.currentScope().defineIdentifier(t.id,new n.TSModuleNameDefinition(t.id,t)),this.scopeManager.nestTSModuleScope(t),this.visit(t.body),this.close(t)}TSSatisfiesExpression(e){this.visitTypeAssertion(e)}TSTypeAliasDeclaration(e){this.visitType(e)}TSTypeAssertion(e){this.visitTypeAssertion(e)}UpdateExpression(e){let t=this.visitExpressionTarget(e.argument);a.PatternVisitor.isPattern(t)?this.visitPattern(t,e=>{this.currentScope().referenceValue(e,l.ReferenceFlag.ReadWrite,null)}):this.visitChildren(e)}VariableDeclaration(e){let t="var"===e.kind?this.currentScope().variableScope:this.currentScope();for(let r of e.declarations){let i=r.init;this.visitPattern(r.id,(o,s)=>{t.defineIdentifier(o,new n.VariableDefinition(o,r,e)),this.referencingDefaultValue(o,s.assignments,null,!0),i&&this.currentScope().referenceValue(o,l.ReferenceFlag.Write,i,null,!0)},{processRightHandNodes:!0}),this.visit(r.init),this.visitType(r.id.typeAnnotation)}}WithStatement(e){this.visit(e.object),this.scopeManager.nestWithScope(e),this.visit(e.body),this.close(e)}visitExpressionTarget(t){switch(t.type){case e.AST_NODE_TYPES.TSAsExpression:case e.AST_NODE_TYPES.TSTypeAssertion:this.visitType(t.typeAnnotation);case e.AST_NODE_TYPES.TSNonNullExpression:t=t.expression}return t}},uE}(),Object.defineProperty(uy,"Referencer",{enumerable:!0,get:function(){return e.Referencer}}),uy)}(),n=gA(),r={childVisitorKeys:e.visitorKeys,globalReturn:!1,impliedStrict:!1,jsxFragmentName:null,jsxPragma:"React",sourceType:"script"};return uu}(),Object.defineProperty(up,"analyze",{enumerable:!0,get:function(){return n.analyze}}),t(uF(),up),r=gb(),Object.defineProperty(up,"PatternVisitor",{enumerable:!0,get:function(){return r.PatternVisitor}}),i=mz(),Object.defineProperty(up,"Reference",{enumerable:!0,get:function(){return i.Reference}}),o=gS(),Object.defineProperty(up,"Visitor",{enumerable:!0,get:function(){return o.Visitor}}),t(gg(),up),s=gA(),Object.defineProperty(up,"ScopeManager",{enumerable:!0,get:function(){return s.ScopeManager}}),t(m3(),up),up)}());return(t=n||(uc.Scope=n={})).ScopeType=s.ScopeType,t.DefinitionType=s.DefinitionType,uc}(),p4),t(function(){if(nD)return gY;nD=1,Object.defineProperty(gY,"__esModule",{value:!0}),gY.SourceCode=void 0;let e=ur;return gY.SourceCode=class extends e.SourceCode{},gY}(),p4),p4)}()),i(pG(),ck),ck.TSUtils=r(function(){var e,t;return nj?gC:(nj=1,e=gC&&gC.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),t=gC&&gC.__exportStar||function(t,n){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||e(n,t,r)},Object.defineProperty(gC,"__esModule",{value:!0}),t((nB||(nB=1,Object.defineProperty(gw,"__esModule",{value:!0}),gw.isArray=function(e){return Array.isArray(e)}),gw),gC),t((nN||(nN=1,Object.defineProperty(gL,"__esModule",{value:!0})),gL),gC),gC)}()),ck)}(),gO=pH(),gD=lG({name:"block-spacing",package:"ts",meta:{type:"layout",docs:{description:"Disallow or enforce spaces inside of blocks after opening block and before closing block"},fixable:"whitespace",schema:[{type:"string",enum:["always","never"]}],messages:{missing:"Requires a space {{location}} '{{token}}'.",extra:"Unexpected space(s) {{location}} '{{token}}'."}},defaultOptions:["always"],create(e,[t]){let n=e.sourceCode,r="never"!==t,i=r?"missing":"extra";function o(e,t){return!gO.isTokenOnSameLine(e,t)||n.isSpaceBetween(e,t)===r}function s(t){let s=n.getFirstToken(t,{filter:e=>e.type===gI.AST_TOKEN_TYPES.Punctuator&&"{"===e.value}),a=n.getLastToken(t),l=n.getTokenAfter(s,{includeComments:!0}),c=n.getTokenBefore(a,{includeComments:!0});if(s.type===gI.AST_TOKEN_TYPES.Punctuator&&"{"===s.value&&a.type===gI.AST_TOKEN_TYPES.Punctuator&&"}"===a.value&&l!==a&&(r||l.type!==gI.AST_TOKEN_TYPES.Line)){if(!o(s,l)){let n=s.loc;"extra"===i&&(n={start:s.loc.end,end:l.loc.start}),e.report({node:t,loc:n,messageId:i,data:{location:"after",token:s.value},fix:e=>r?e.insertTextBefore(l," "):e.removeRange([s.range[1],l.range[0]])})}if(!o(c,a)){let n=a.loc;"extra"===i&&(n={start:c.loc.end,end:a.loc.start}),e.report({node:t,loc:n,messageId:i,data:{location:"before",token:a.value},fix:e=>r?e.insertTextAfter(c," "):e.removeRange([c.range[1],a.range[0]])})}}}return{BlockStatement:s,StaticBlock:s,SwitchStatement:s,TSInterfaceBody:s,TSTypeLiteral:s,TSEnumDeclaration:s}}}),gV=lG({name:"brace-style",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent brace style for blocks"},schema:[{type:"string",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(e){let t=e.options[0]||"1tbs",n=e.options[1]||{},r=e.sourceCode;function i(e,t){let n=[e.range[1],t.range[0]];return r.text.slice(n[0],n[1]).trim()?null:e=>e.replaceTextRange(n," ")}function o(o,s){let a=r.getTokenBefore(o),l=r.getTokenAfter(o),c=r.getTokenBefore(s),p=n.allowSingleLine&&cp(o,s);"allman"===t||cp(a,o)||e.report({node:o,messageId:"nextLineOpen",fix:i(a,o)}),"allman"===t&&cp(a,o)&&!p&&e.report({node:o,messageId:"sameLineOpen",fix:e=>e.insertTextBefore(o,"\n")}),cp(o,l)&&l!==s&&!p&&e.report({node:o,messageId:"blockSameLine",fix:e=>e.insertTextAfter(o,"\n")}),c!==o&&!p&&cp(c,s)&&e.report({node:s,messageId:"singleLineClose",fix:e=>e.insertTextBefore(s,"\n")})}function s(n){let o=r.getTokenAfter(n);"1tbs"!==t||cp(n,o)||e.report({node:n,messageId:"nextLineClose",fix:i(n,o)}),"1tbs"!==t&&cp(n,o)&&e.report({node:n,messageId:"sameLineClose",fix:e=>e.insertTextAfter(n,"\n")})}return{BlockStatement(e){lz.has(e.parent.type)||o(r.getFirstToken(e),r.getLastToken(e))},StaticBlock(e){o(r.getFirstToken(e,{skip:1}),r.getLastToken(e))},ClassBody(e){o(r.getFirstToken(e),r.getLastToken(e))},SwitchStatement(e){let t=r.getLastToken(e);o(r.getTokenBefore(e.cases.length?e.cases[0]:t),t)},IfStatement(e){"BlockStatement"===e.consequent.type&&e.alternate&&s(r.getLastToken(e.consequent))},TryStatement(e){s(r.getLastToken(e.block)),e.handler&&e.finalizer&&s(r.getLastToken(e.handler.body))}}}}),gB=lG({name:"brace-style",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent brace style for blocks"},messages:gV.meta.messages,fixable:gV.meta.fixable,hasSuggestions:gV.meta.hasSuggestions,schema:gV.meta.schema},defaultOptions:["1tbs"],create(e){let[t,{allowSingleLine:n}={}]=e.options,r="allman"===t,i=e.sourceCode;function o(t,o){if(n&&gO.isTokenOnSameLine(t,o))return;let s=i.getTokenBefore(t),a=i.getTokenBefore(o),l=i.getTokenAfter(t);r||gO.isTokenOnSameLine(s,t)||e.report({node:t,messageId:"nextLineOpen",fix:e=>{let n=[s.range[1],t.range[0]];return i.text.slice(n[0],n[1]).trim()?null:e.replaceTextRange(n," ")}}),r&&gO.isTokenOnSameLine(s,t)&&e.report({node:t,messageId:"sameLineOpen",fix:e=>e.insertTextBefore(t,"\n")}),gO.isTokenOnSameLine(t,l)&&l!==o&&e.report({node:t,messageId:"blockSameLine",fix:e=>e.insertTextAfter(t,"\n")}),gO.isTokenOnSameLine(a,o)&&a!==t&&e.report({node:o,messageId:"singleLineClose",fix:e=>e.insertTextBefore(o,"\n")})}return{...gV.create(e),"TSInterfaceBody, TSModuleBlock":function(e){o(i.getFirstToken(e),i.getLastToken(e))},TSEnumDeclaration(e){let t=i.getLastToken(e),n=e.body?.members||e.members;o(i.getTokenBefore(n.length?n[0]:t),t)}}}});const gN=Object.freeze({arrays:"never",objects:"never",imports:"never",exports:"never",functions:"never",importAttributes:"never",dynamicImports:"never"}),gj=["}","]",")",">"];var gM=lG({name:"comma-dangle",package:"js",meta:{type:"layout",docs:{description:"Require or disallow trailing commas"},fixable:"code",schema:{definitions:{value:{type:"string",enum:["always-multiline","always","never","only-multiline"]},valueWithIgnore:{type:"string",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"},importAttributes:{$ref:"#/definitions/valueWithIgnore"},dynamicImports:{$ref:"#/definitions/valueWithIgnore"}},additionalProperties:!1}]}],additionalItems:!1},messages:{unexpected:"Unexpected trailing comma.",missing:"Missing trailing comma."}},create(e){var t;let n=e?.languageOptions?.ecmaVersion??e.parserOptions.ecmaVersion,r=(t=e.options[0],"string"==typeof t?{arrays:t,objects:t,imports:t,exports:t,functions:n&&"latest"!==n&&n<2017?"ignore":t,importAttributes:t,dynamicImports:n&&"latest"!==n&&n<2025?"ignore":t}:"object"==typeof t&&null!==t?{arrays:t.arrays||gN.arrays,objects:t.objects||gN.objects,imports:t.imports||gN.imports,exports:t.exports||gN.exports,functions:t.functions||gN.functions,importAttributes:t.importAttributes||gN.importAttributes,dynamicImports:t.dynamicImports||gN.dynamicImports}:gN),i=e.sourceCode;function o(e){return e?e[e.length-1]??null:null}function s(e){switch(e.node.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":case"ImportExpression":return i.getLastToken(e.node,1);default:{let t=e.lastItem;if(!t)return null;let n=i.getTokenAfter(t);if(l4(n))return n;return i.getLastToken(t)}}}function a(e){if(!e.lastItem)return!1;let t=s(e);if(!t)return!1;let n=i.getTokenAfter(t);return!!n&&n.loc.end.line!==t.loc.end.line}function l(t){let n=t.lastItem;if(!n)return;let r=s(t);r&&l4(r)&&e.report({node:n,loc:r.loc,messageId:"unexpected",*fix(e){yield e.remove(r),yield e.insertTextBefore(i.getTokenBefore(r),""),yield e.insertTextAfter(i.getTokenAfter(r),"")}})}function c(t){let n=t.lastItem;if(!n)return;if("RestElement"===n.type)return void l(t);let r=s(t);if(!r||","===r.value)return;let o=i.getTokenAfter(r);o&&gj.includes(o.value)&&e.report({node:n,loc:{start:r.loc.end,end:cy(i,r.loc.end)},messageId:"missing",*fix(e){yield e.insertTextAfter(r,","),yield e.insertTextBefore(r,""),yield e.insertTextAfter(i.getTokenAfter(r),"")}})}let p={always:c,"always-multiline":function(e){a(e)?c(e):l(e)},"only-multiline":function(e){a(e)||l(e)},never:l,ignore(){}};return{ObjectExpression:e=>{p[r.objects]({node:e,lastItem:o(e.properties)})},ObjectPattern:e=>{p[r.objects]({node:e,lastItem:o(e.properties)})},ArrayExpression:e=>{p[r.arrays]({node:e,lastItem:o(e.elements)})},ArrayPattern:e=>{p[r.arrays]({node:e,lastItem:o(e.elements)})},ImportDeclaration:e=>{let t=o(e.specifiers);t?.type==="ImportSpecifier"&&p[r.imports]({node:e,lastItem:t}),p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},ExportNamedDeclaration:e=>{p[r.exports]({node:e,lastItem:o(e.specifiers)}),p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},ExportAllDeclaration:e=>{p[r.importAttributes]({node:e,lastItem:o(e.attributes)})},FunctionDeclaration:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},FunctionExpression:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},ArrowFunctionExpression:e=>{p[r.functions]({node:e,lastItem:o(e.params)})},CallExpression:e=>{p[r.functions]({node:e,lastItem:o(e.arguments)})},NewExpression:e=>{p[r.functions]({node:e,lastItem:o(e.arguments)})},ImportExpression:e=>{p[r.dynamicImports]({node:e,lastItem:e.options??e.source})}}}});const gR=["always-multiline","always","never","only-multiline"],gF="never";var gU=lG({name:"comma-dangle",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow trailing commas"},schema:{$defs:{value:{type:"string",enum:gR},valueWithIgnore:{type:"string",enum:[...gR,"ignore"]}},type:"array",items:[{oneOf:[{$ref:"#/$defs/value"},{type:"object",properties:{arrays:{$ref:"#/$defs/valueWithIgnore"},objects:{$ref:"#/$defs/valueWithIgnore"},imports:{$ref:"#/$defs/valueWithIgnore"},exports:{$ref:"#/$defs/valueWithIgnore"},functions:{$ref:"#/$defs/valueWithIgnore"},importAttributes:{$ref:"#/$defs/valueWithIgnore"},dynamicImports:{$ref:"#/$defs/valueWithIgnore"},enums:{$ref:"#/$defs/valueWithIgnore"},generics:{$ref:"#/$defs/valueWithIgnore"},tuples:{$ref:"#/$defs/valueWithIgnore"}},additionalProperties:!1}]}],additionalItems:!1},fixable:"code",hasSuggestions:gM.meta.hasSuggestions,messages:gM.meta.messages},defaultOptions:["never"],create(e,[t]){let n=gM.create(e),r=e.sourceCode,i=function(e={}){return"string"==typeof e?{enums:e,generics:e,tuples:e}:{enums:e.enums??gF,generics:e.generics??gF,tuples:e.tuples??gF}}(t),o=e.parserOptions?.ecmaFeatures?.jsx&&e.filename?.endsWith(".tsx"),s={always:f,"always-multiline":function(e){p(e)?f(e):u(e)},"only-multiline":function(e){p(e)||u(e)},never:u,ignore:()=>{}};function a(e){return e[e.length-1]??null}function l(e){switch(e.type){case gI.AST_NODE_TYPES.TSEnumDeclaration:return a(e.body?.members||e.members);case gI.AST_NODE_TYPES.TSTypeParameterDeclaration:return a(e.params);case gI.AST_NODE_TYPES.TSTupleType:return a(e.elementTypes);default:return null}}function c(e){let t=l(e);return t&&r.getTokenAfter(t)}function p(e){let t=l(e),n=r.getLastToken(e);return t?.loc.end.line!==n?.loc.end.line}function u(t){if(o&&t.type===gI.AST_NODE_TYPES.TSTypeParameterDeclaration&&1===t.params.length)return;let n=l(t),r=c(t);n&&r&&gO.isCommaToken(r)&&e.report({node:t,messageId:"unexpected",fix:e=>e.remove(r)})}function f(t){let n=l(t),r=c(t);n&&r&&!gO.isCommaToken(r)&&e.report({node:t,messageId:"missing",fix:e=>e.insertTextAfter(n,",")})}return{...n,TSEnumDeclaration:s[i.enums],TSTypeParameterDeclaration:s[i.generics],TSTupleType:s[i.tuples]}}}),gq=lG({name:"comma-spacing",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after commas"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpected:"There should be no space {{loc}} ','.",missing:"A space is required {{loc}} ','."}},defaultOptions:[{before:!1,after:!0}],create(e,[t={}]){let{before:n,after:r}=t,i=e.sourceCode,o=i.tokensAndComments,s=new Set;function a(e){let t=i.getFirstToken(e);for(let n of e.elements){let e;null==n?(e=i.getTokenAfter(t))&&gO.isCommaToken(e)&&s.add(e):e=i.getTokenAfter(n),t=e}}return{TSTypeParameterDeclaration:function(e){let t=e.params.length;if(t){let n=e.params[t-1],r=i.getTokenAfter(n);r&&gO.isCommaToken(r)&&s.add(r)}},ArrayExpression:a,ArrayPattern:a,"Program:exit":function(){o.forEach((t,a)=>{var l,c;if(!gO.isCommaToken(t))return;let p=o[a-1],u=o[a+1];l=gO.isCommaToken(p)||s.has(t)?null:p,c=u&&gO.isCommaToken(u)||s.has(t)?null:u,l&&gO.isTokenOnSameLine(l,t)&&n!==i.isSpaceBetween(l,t)&&e.report({node:t,data:{loc:"before"},messageId:n?"missing":"unexpected",fix:e=>n?e.insertTextBefore(t," "):e.replaceTextRange([l.range[1],t.range[0]],"")}),c&&gO.isTokenOnSameLine(t,c)&&!gO.isClosingParenToken(c)&&!gO.isClosingBracketToken(c)&&!gO.isClosingBraceToken(c)&&!(!r&&c.type===gI.AST_TOKEN_TYPES.Line)&&r!==i.isSpaceBetween(t,c)&&e.report({node:t,data:{loc:"after"},messageId:r?"missing":"unexpected",fix:e=>r?e.insertTextAfter(t," "):e.replaceTextRange([t.range[1],c.range[0]],"")})})}}}}),gW=lG({name:"function-call-spacing",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow spacing between function identifiers and their invocations"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{type:"string",enum:["never"]}],minItems:0,maxItems:1},{type:"array",items:[{type:"string",enum:["always"]},{type:"object",properties:{allowNewlines:{type:"boolean"},optionalChain:{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}},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."}},defaultOptions:["never",{}],create(e,[t,n]){let r=e.sourceCode,i=r.getText(),{allowNewlines:o=!1,optionalChain:s={before:!0,after:!0}}=n;function a(n,a,l){let c=gO.isOptionalCallExpression(n),p=i.slice(a.range[1],l.range[0]).replace(/\/\*.*?\*\//gu,""),u=/\s/u.test(p),f=u&&gO.LINEBREAK_MATCHER.test(p);if("never"===t){if(u)return e.report({node:n,loc:{start:a.loc.end,end:l.loc.start},messageId:"unexpectedWhitespace",fix:e=>r.commentsExistBetween(a,l)?null:c?e.replaceTextRange([a.range[1],l.range[0]],"?."):e.removeRange([a.range[1],l.range[0]])})}else if(c){let{before:t=!0,after:i=!0}=s,c=/^\s/u.test(p),u=/\s$/u.test(p),d=t?c:!c,m=i?u:!u,g=o||!f;d&&m&&g||e.report({node:n,loc:{start:a.loc.end,end:l.loc.start},messageId:g?!t&&c||!i&&u?"unexpectedWhitespace":"missing":"unexpectedNewline",fix(e){if(r.commentsExistBetween(a,l))return null;let n=p;if(!o){let e=RegExp(gO.LINEBREAK_MATCHER.source,"g");n=n.replaceAll(e," ")}return d||(n=t?` ${n}`:n.trimStart()),m||(n=i?`${n} `:n.trimEnd()),e.replaceTextRange([a.range[1],l.range[0]],n)}})}else u?!o&&f&&e.report({node:n,loc:{start:a.loc.end,end:l.loc.start},messageId:"unexpectedNewline",fix:e=>r.commentsExistBetween(a,l)?null:e.replaceTextRange([a.range[1],l.range[0]]," ")}):e.report({node:n,loc:{start:a.loc.end,end:l.loc.start},messageId:"missing",fix:e=>e.insertTextBefore(l," ")})}return{"CallExpression, NewExpression":function(e){let t=r.getLastToken(e),n=r.getLastToken(e.typeArguments??e.callee),i=r.getFirstTokenBetween(n,t,gO.isOpeningParenToken);i&&!(i.range[1]>=e.range[1])&&a(e,r.getTokenBefore(i,gO.isNotOptionalChainPunctuator),i)},ImportExpression(e){let t=r.getFirstToken(e),n=r.getTokenAfter(t);a(e,t,n)}}}});const gG=new Set(["AssignmentExpression","AssignmentPattern","ArrayExpression","ArrayPattern","ArrowFunctionExpression","AwaitExpression","BlockStatement","BinaryExpression","BreakStatement","CallExpression","CatchClause","ChainExpression","ClassBody","ClassDeclaration","ClassExpression","ConditionalExpression","ContinueStatement","DoWhileStatement","DebuggerStatement","EmptyStatement","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","ImportAttribute"]);class gH{_values;constructor(e){this._values=Array(e+1)}insert(e,t){this._values[e]=t}findLastNotAfter(e){let t=this._values;for(let n=e;n>=0;n--){let e=t[n];if(e)return e}}deleteRange(e,t){this._values.fill(void 0,e,t)}}class g${sourceCode;firstTokensByLineNumber;constructor(e){this.sourceCode=e,this.firstTokensByLineNumber=new Map;let t=e.tokensAndComments;for(let n=0;n<t.length;n++){let r=t[n];this.firstTokensByLineNumber.has(r.loc.start.line)||this.firstTokensByLineNumber.set(r.loc.start.line,r),!this.firstTokensByLineNumber.has(r.loc.end.line)&&e.text.slice(r.range[1]-r.loc.end.column,r.range[1]).trim()&&this.firstTokensByLineNumber.set(r.loc.end.line,r)}}getFirstTokenOfLine(e){return this.firstTokensByLineNumber.get(e.loc.start.line)}isFirstTokenOfLine(e){return this.getFirstTokenOfLine(e)===e}getTokenIndent(e){return this.sourceCode.text.slice(e.range[0]-e.loc.start.column,e.range[0])}}class gK{_tokenInfo;_indentSize;_indentType;_indexMap;_lockedFirstTokens=new WeakMap;_desiredIndentCache=new WeakMap;_ignoredTokens=new WeakSet;constructor(e,t,n,r){this._tokenInfo=e,this._indentSize=t,this._indentType=n,this._indexMap=new gH(r),this._indexMap.insert(0,{offset:0,from:null,force:!1})}_getOffsetDescriptor(e){return this._indexMap.findLastNotAfter(e.range[0])}matchOffsetOf(e,t){this._lockedFirstTokens.set(t,e)}setDesiredOffset(e,t,n){e&&this.setDesiredOffsets(e.range,t,n)}setDesiredOffsets(e,t,n,r=!1){let i={offset:n,from:t,force:r},o=this._indexMap.findLastNotAfter(e[1]),s=t&&t.range[0]>=e[0]&&t.range[1]<=e[1],a=s&&this._getOffsetDescriptor(t);this._indexMap.deleteRange(e[0]+1,e[1]),this._indexMap.insert(e[0],i),s&&(this._indexMap.insert(t.range[0],a),this._indexMap.insert(t.range[1],i)),this._indexMap.insert(e[1],o)}getDesiredIndent(e){if(!this._desiredIndentCache.has(e))if(this._ignoredTokens.has(e))this._desiredIndentCache.set(e,this._tokenInfo.getTokenIndent(e));else if(this._lockedFirstTokens.has(e)){let t=this._lockedFirstTokens.get(e);this._desiredIndentCache.set(e,this.getDesiredIndent(this._tokenInfo.getFirstTokenOfLine(t))+this._indentType.repeat(t.loc.start.column-this._tokenInfo.getFirstTokenOfLine(t).loc.start.column))}else{let t=this._getOffsetDescriptor(e),n=!t.from||t.from.loc.start.line!==e.loc.start.line||/^\s*?\n/u.test(e.value)||t.force?t.offset*this._indentSize:0;this._desiredIndentCache.set(e,(t.from?this.getDesiredIndent(t.from):"")+this._indentType.repeat(n))}return this._desiredIndentCache.get(e)}ignoreToken(e){this._tokenInfo.isFirstTokenOfLine(e)&&this._ignoredTokens.add(e)}getFirstDependency(e){return this._getOffsetDescriptor(e).from}}const gz={oneOf:[{type:"integer",minimum:0},{type:"string",enum:["first","off"]}]};var gJ=lG({name:"indent",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent indentation"},fixable:"whitespace",schema:[{oneOf:[{type:"string",enum:["tab"]},{type:"integer",minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0,default:0},VariableDeclarator:{oneOf:[gz,{type:"object",properties:{var:gz,let:gz,const:gz},additionalProperties:!1}]},outerIIFEBody:{oneOf:[{type:"integer",minimum:0},{type:"string",enum:["off"]}]},MemberExpression:{oneOf:[{type:"integer",minimum:0},{type:"string",enum:["off"]}]},FunctionDeclaration:{type:"object",properties:{parameters:gz,body:{type:"integer",minimum:0}},additionalProperties:!1},FunctionExpression:{type:"object",properties:{parameters:gz,body:{type:"integer",minimum:0}},additionalProperties:!1},StaticBlock:{type:"object",properties:{body:{type:"integer",minimum:0}},additionalProperties:!1},CallExpression:{type:"object",properties:{arguments:gz},additionalProperties:!1},ArrayExpression:gz,ObjectExpression:gz,ImportDeclaration:gz,flatTernaryExpressions:{type:"boolean",default:!1},offsetTernaryExpressions:{type:"boolean",default:!1},offsetTernaryExpressionsOffsetCallExpressions:{type:"boolean",default:!0},ignoredNodes:{type:"array",items:{type:"string",not:{pattern:":exit$"}}},ignoreComments:{type:"boolean",default:!1},tabLength:{type:"number",default:4}},additionalProperties:!1}],messages:{wrongIndentation:"Expected indentation of {{expected}} but found {{actual}}."}},create(e){let t="space",n=4,r={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,offsetTernaryExpressions:!1,offsetTernaryExpressionsOffsetCallExpressions:!0,tabLength:4};if(e.options.length){"tab"===e.options[0]?(n=1,t="tab"):(n=e.options[0]??n,t="space");let i=e.options[1];i&&(Object.assign(r,i),("number"==typeof i.VariableDeclarator||"first"===i.VariableDeclarator)&&(r.VariableDeclarator={var:i.VariableDeclarator,let:i.VariableDeclarator,const:i.VariableDeclarator}))}let i=e.sourceCode,o=new g$(i),s=new gK(o,n,"space"===t?" ":" ",i.text.length),a=new WeakSet;function l(e,n,r){let i,o=`space${1===n?"":"s"}`,s=`tab${1===r?"":"s"}`;return{expected:`${e} ${t}${1===e?"":"s"}`,actual:n>0?"space"===t?n:`${n} ${o}`:r>0?"tab"===t?r:`${r} ${s}`:"0"}}function c(e,t){return o.getTokenIndent(e)===t}function p(e,t,n,r){function a(e){let n=i.getTokenBefore(e);for(;l8(n)&&n!==t;)n=i.getTokenBefore(n);return i.getTokenAfter(n)}s.setDesiredOffsets([t.range[1],n.range[0]],t,"number"==typeof r?r:1),s.setDesiredOffset(n,t,0),("first"!==r||!e.length||e[0])&&e.forEach((n,l)=>{if(n&&("off"===r&&s.ignoreToken(a(n)),0!==l))if("first"===r&&o.isFirstTokenOfLine(a(n)))s.matchOffsetOf(a(e[0]),a(n));else{let r=e[l-1],o=r&&a(r),c=r&&i.getLastToken(r);r&&c.loc.end.line-function(e){let t=e.match(/\s*$/u)[0].match(RegExp(lK.source,"gu"));return null===t?0:t.length}(c.value)>t.loc.end.line&&s.setDesiredOffsets([r.range[1],n.range[1]],o,0)}})}function u(e){if("BlockStatement"!==e.type){let t=i.getTokenBefore(e,cd),n=i.getFirstToken(e),r=i.getLastToken(e);for(;l8(i.getTokenBefore(n))&&l7(i.getTokenAfter(r));)n=i.getTokenBefore(n),r=i.getTokenAfter(r);s.setDesiredOffsets([n.range[0],r.range[1]],t,1)}}function f(e){let t;t=e.arguments.length?i.getFirstTokenBetween(e.callee,e.arguments[0],l8):i.getLastToken(e,1);let n=i.getLastToken(e);if(a.add(t),a.add(n),"optional"in e&&e.optional){let n=i.getTokenAfter(e.callee,l6),r=i.getTokensBetween(e.callee,n,{filter:l7}).length,o=r?i.getTokenBefore(e.callee,{skip:r-1}):i.getFirstToken(e.callee),a=i.getTokenBefore(n),l=a.loc.end.line===t.loc.start.line?a:o;s.setDesiredOffset(n,l,1)}let o="TaggedTemplateExpression"===e.callee.type?i.getFirstToken(e.callee.quasi):e.typeArguments??t,l=i.getTokenBefore(o);s.setDesiredOffset(t,l,0),p(e.arguments,t,n,r.CallExpression.arguments)}function d(e){let t=new Set(i.getTokens(e,{includeComments:!0}));t.forEach(e=>{if(!t.has(s.getFirstDependency(e))){let t=o.getFirstTokenOfLine(e);e===t?s.ignoreToken(e):s.setDesiredOffset(e,t,0)}})}function m(e,t){let n=e.loc.end.line,r=t.loc.start.line;if(n===r||n===r-1)return!1;for(let e=n+1;e<r;++e)if(!o.firstTokensByLineNumber.has(e))return!0;return!1}let g=new Set,h=[],y={};for(let[e,o]of Object.entries({"ArrayExpression, ArrayPattern":function(e){let t=i.getFirstToken(e),n=i.getTokenAfter([...e.elements].reverse().find(e=>e)||t,ct);p(e.elements,t,n,r.ArrayExpression)},"ObjectExpression, ObjectPattern":function(e){let t=i.getFirstToken(e,cn),n=i.getTokenAfter(e.properties.length?e.properties[e.properties.length-1]:t,cr);p(e.properties,t,n,r.ObjectExpression)},ArrowFunctionExpression(e){let t=i.getFirstToken(e,{skip:+!!e.async});if(l8(t)){let n=i.getTokenBefore(e.body,l7);a.add(t),a.add(n),p(e.params,t,n,r.FunctionExpression.parameters)}u(e.body)},AssignmentExpression(e){let t=i.getFirstTokenBetween(e.left,e.right,t=>t.value===e.operator);s.setDesiredOffsets([t.range[0],e.range[1]],i.getLastToken(e.left),1),s.ignoreToken(t),s.ignoreToken(i.getTokenAfter(t))},"BinaryExpression, LogicalExpression":function(e){let t=i.getFirstTokenBetween(e.left,e.right,t=>t.value===e.operator),n=i.getTokenAfter(t);s.ignoreToken(t),s.ignoreToken(n),s.setDesiredOffset(n,t,0)},"BlockStatement, ClassBody":function(e){let t;t=e.parent&&function(e){if(!e.parent||"CallExpression"!==e.parent.type||e.parent.callee!==e)return!1;let t=e.parent&&e.parent.parent;for(;"UnaryExpression"===t.type&&["!","~","+","-"].includes(t.operator)||"AssignmentExpression"===t.type||"LogicalExpression"===t.type||"SequenceExpression"===t.type||"VariableDeclarator"===t.type;)t=t.parent;return("ExpressionStatement"===t.type||"VariableDeclaration"===t.type)&&"Program"===t.parent.type}(e.parent)?r.outerIIFEBody:e.parent&&("FunctionExpression"===e.parent.type||"ArrowFunctionExpression"===e.parent.type)?r.FunctionExpression.body:e.parent&&"FunctionDeclaration"===e.parent.type?r.FunctionDeclaration.body:1,lz.has(e.parent.type)||s.setDesiredOffset(i.getFirstToken(e),i.getFirstToken(e.parent),0),p(e.body,i.getFirstToken(e),i.getLastToken(e),t)},CallExpression:f,"ClassDeclaration[superClass], ClassExpression[superClass]":function(e){if(!e.superClass)return;let t=i.getFirstToken(e),n=i.getTokenBefore(e.superClass,cd);s.setDesiredOffsets([n.range[0],e.body.range[0]],t,1)},ConditionalExpression(e){let t=i.getFirstToken(e);if(!r.flatTernaryExpressions||!cp(e.test,e.consequent)||function(e,t){let n=t;for(;n.parent&&!n.parent.type.endsWith("Statement")&&!n.parent.type.endsWith("Declaration");)n=n.parent;return!(n=n.parent)||n.loc.start.line===e.loc.start.line}(t,e)){let n=i.getFirstTokenBetween(e.test,e.consequent,e=>"Punctuator"===e.type&&"?"===e.value),o=i.getFirstTokenBetween(e.consequent,e.alternate,e=>"Punctuator"===e.type&&":"===e.value),a=i.getTokenAfter(n),l=i.getTokenBefore(o),c=i.getTokenAfter(o);s.setDesiredOffset(n,t,1),s.setDesiredOffset(o,t,1);let p=1;if(r.offsetTernaryExpressions&&("Punctuator"===a.type&&(p=2),r.offsetTernaryExpressionsOffsetCallExpressions&&"CallExpression"===e.consequent.type&&(p=2)),s.setDesiredOffset(a,t,p),l.loc.end.line===c.loc.start.line)s.setDesiredOffset(c,a,0);else{let n=1;r.offsetTernaryExpressions&&("Punctuator"===c.type&&(n=2),r.offsetTernaryExpressionsOffsetCallExpressions&&"CallExpression"===e.alternate.type&&(n=2)),s.setDesiredOffset(c,t,n)}}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement, WithStatement":function(e){u(e.body)},ExportNamedDeclaration(e){if(null===e.declaration){let t=e.source?i.getTokenBefore(e.source,cr):i.getLastToken(e,cr);if(p(e.specifiers,i.getFirstToken(e,{skip:1}),t,1),e.source){let n=i.getTokenAfter(t,e=>"Identifier"===e.type&&"from"===e.value),r=i.getLastToken(e,cm);s.setDesiredOffsets([n.range[0],r.range[1]],i.getFirstToken(e),1);let o=i.getLastToken(e,cr);if(o&&e.source.range[1]<o.range[0]){let t=i.getTokenAfter(e.source,cn);p(e.attributes,t,o,1)}}}},ExportAllDeclaration(e){let t=i.getTokenAfter(e.exported||i.getFirstToken(e),e=>"Identifier"===e.type&&"from"===e.value),n=i.getLastToken(e,cm);s.setDesiredOffsets([t.range[0],n.range[1]],i.getFirstToken(e),1);let r=i.getLastToken(e,cr);if(r&&e.source.range[1]<r.range[0]){let t=i.getTokenAfter(e.source,cn);p(e.attributes,t,r,1)}},ForStatement(e){let t=i.getFirstToken(e,1);e.init&&s.setDesiredOffsets(e.init.range,t,1),e.test&&s.setDesiredOffsets(e.test.range,t,1),e.update&&s.setDesiredOffsets(e.update.range,t,1),u(e.body)},"FunctionDeclaration, FunctionExpression":function(e){let t=i.getTokenBefore(e.body),n=i.getTokenBefore(e.params.length?e.params[0].decorators?.length?e.params[0].decorators[0]:e.params[0]:t,{filter:l8});a.add(n),a.add(t),p(e.params,n,t,r[e.type].parameters)},IfStatement(e){u(e.consequent),e.alternate&&u(e.alternate)},":matches(DoWhileStatement, ForStatement, ForInStatement, ForOfStatement, IfStatement, WhileStatement, WithStatement):exit":function(e){let t;for(let n of("IfStatement"===e.type?(t=[e.consequent],e.alternate&&t.push(e.alternate)):t=[e.body],t)){let t=i.getLastToken(n);if(l5(t)){let n=i.getTokenBefore(t),r=i.getTokenAfter(t);!cp(n,t)&&r&&cp(t,r)&&s.setDesiredOffset(t,i.getFirstToken(e),0)}}},ImportDeclaration(e){if(e.specifiers.some(e=>"ImportSpecifier"===e.type)){let t=i.getFirstToken(e,cn),n=i.getTokenBefore(e.source,cr);p(e.specifiers.filter(e=>"ImportSpecifier"===e.type),t,n,r.ImportDeclaration)}let t=e.specifiers.length?i.getTokenAfter(e.specifiers[e.specifiers.length-1],e=>"Identifier"===e.type&&"from"===e.value):i.getFirstToken(e,e=>"Identifier"===e.type&&"from"===e.value),n=i.getLastToken(e,cm);t&&s.setDesiredOffsets([t.range[0],n.range[1]],i.getFirstToken(e),1);let o=i.getLastToken(e,cr);if(o&&e.source.range[1]<o.range[0]){let r=i.getTokenAfter(e.source,cn);if(!t){let t=i.getTokenBefore(r,e=>"with"===e.value);s.setDesiredOffsets([t.range[0],n.range[1]],i.getFirstToken(e),1)}p(e.attributes,r,o,1)}},ImportExpression(e){let t=i.getFirstToken(e,1),n=i.getLastToken(e);a.add(t),a.add(n),s.setDesiredOffset(t,i.getTokenBefore(t),0),p([e.source],t,n,r.CallExpression.arguments)},"MemberExpression, JSXMemberExpression, MetaProperty":function(e){let t="MetaProperty"===e.type?e.meta:e.object,n=i.getFirstTokenBetween(t,e.property,cu),o=i.getTokenAfter(n),a=i.getTokensBetween(t,e.property,{filter:l7}).length,l=a?i.getTokenBefore(t,{skip:a-1}):i.getFirstToken(t),c=i.getTokenBefore(n),p="computed"in e&&e.computed?n:o;"computed"in e&&e.computed&&(s.setDesiredOffset(i.getLastToken(e),n,0),s.setDesiredOffsets(e.property.range,n,1));let u=c.loc.end.line===p.loc.start.line?c:l;"number"==typeof r.MemberExpression?(s.setDesiredOffset(n,u,r.MemberExpression),s.setDesiredOffset(o,"computed"in e&&e.computed?n:u,r.MemberExpression)):(s.ignoreToken(n),s.ignoreToken(o),s.setDesiredOffset(n,u,0),s.setDesiredOffset(o,n,0))},NewExpression(e){(e.arguments.length>0||l7(i.getLastToken(e))&&l8(i.getLastToken(e,1)))&&f(e)},Property(e){if(!e.shorthand&&!e.method&&"init"===e.kind){let t=i.getFirstTokenBetween(e.key,e.value,l9);s.ignoreToken(i.getTokenAfter(t))}},PropertyDefinition(e){let t=i.getFirstToken(e),n=i.getLastToken(e),r=null;if(e.computed){let n=i.getTokenBefore(e.key,ce),o=r=i.getTokenAfter(e.key,ct),a=[n.range[1],o.range[0]];n!==t&&s.setDesiredOffset(n,t,0),s.setDesiredOffsets(a,n,1),s.setDesiredOffset(o,n,0)}else{let n=r=i.getFirstToken(e.key);e.decorators?.length||n===t||s.setDesiredOffset(n,t,1)}if(e.value){let t=i.getTokenBefore(e.value,l3),o=i.getTokenAfter(t);s.setDesiredOffset(t,r,1),s.setDesiredOffset(o,t,1),l5(n)&&s.setDesiredOffset(n,t,1)}else l5(n)&&s.setDesiredOffset(n,r,1)},StaticBlock(e){let t=i.getFirstToken(e,{skip:1}),n=i.getLastToken(e);p(e.body,t,n,r.StaticBlock.body)},SwitchStatement(e){let t=i.getTokenAfter(e.discriminant,cn),n=i.getLastToken(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,r.SwitchCase),e.cases.length&&i.getTokensBetween(e.cases[e.cases.length-1],n,{includeComments:!0,filter:ci}).forEach(e=>s.ignoreToken(e))},SwitchCase(e){if(1!==e.consequent.length||"BlockStatement"!==e.consequent[0].type){let t=i.getFirstToken(e),n=i.getTokenAfter(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,1)}},TemplateLiteral(e){e.expressions.forEach((o,a)=>{let l=e.quasis[a],c=e.quasis[a+1],p=l.loc.start.line===l.loc.end.line?i.getFirstToken(l):null,u=l.loc.end.line===o.loc.start.line,f=c.loc.start.line===o.loc.end.line;if(p||f&&!u){s.setDesiredOffsets([l.range[1],c.range[0]],p,1),s.setDesiredOffset(i.getFirstToken(c),p,0);return}let d=i.text.slice(l.range[1]-l.loc.end.column,l.range[1]-2).split(""),m=d.findIndex(e=>" "!==e&&" "!==e);-1===m&&(m=d.length);let g=d.slice(0,m).filter(e=>" "===e).length,h=m-g+Math.ceil(g/("tab"===t?r.tabLength:n)),y=f?h:h+1;s.setDesiredOffsets([l.range[1],c.range[0]],p,y),s.setDesiredOffset(i.getFirstToken(c),p,h)})},VariableDeclaration(e){let t=Object.prototype.hasOwnProperty.call(r.VariableDeclarator,e.kind)?r.VariableDeclarator[e.kind]:1,n=i.getFirstToken(e),o=i.getLastToken(e);if("first"===r.VariableDeclarator[e.kind]){if(e.declarations.length>1)return void p(e.declarations,n,o,"first");t=1}e.declarations[e.declarations.length-1].loc.start.line>e.loc.start.line?s.setDesiredOffsets(e.range,n,t,!0):s.setDesiredOffsets(e.range,n,t),l5(o)&&s.ignoreToken(o)},VariableDeclarator(e){if(e.init){let t=i.getTokenBefore(e.init,cd),n=i.getTokenAfter(t);s.ignoreToken(t),s.ignoreToken(n),s.setDesiredOffsets([n.range[0],e.range[1]],t,1),s.setDesiredOffset(t,i.getLastToken(e.id),0)}},"JSXAttribute[value]":function(e){if(!e.value)return;let t=i.getFirstTokenBetween(e.name,e.value,e=>"Punctuator"===e.type&&"="===e.value);s.setDesiredOffsets([t.range[0],e.value.range[1]],i.getFirstToken(e.name),1)},JSXElement(e){e.closingElement&&p(e.children,i.getFirstToken(e.openingElement),i.getFirstToken(e.closingElement),1)},JSXOpeningElement(e){let t,n=i.getFirstToken(e);e.selfClosing?(t=i.getLastToken(e,{skip:1}),s.setDesiredOffset(i.getLastToken(e),t,0)):t=i.getLastToken(e),s.setDesiredOffsets(e.name.range,i.getFirstToken(e),0),p(e.attributes,n,t,1)},JSXClosingElement(e){let t=i.getFirstToken(e);s.setDesiredOffsets(e.name.range,t,1)},JSXFragment(e){let t=i.getFirstToken(e.openingFragment),n=i.getFirstToken(e.closingFragment);p(e.children,t,n,1)},JSXOpeningFragment(e){let t=i.getFirstToken(e),n=i.getLastToken(e);s.setDesiredOffsets(e.range,t,1),s.matchOffsetOf(t,n)},JSXClosingFragment(e){let t=i.getFirstToken(e),n=i.getLastToken(e,{skip:1}),r=i.getLastToken(e),o=cp(n,r)?n:r;s.setDesiredOffsets(e.range,t,1),s.matchOffsetOf(t,o)},JSXExpressionContainer(e){let t=i.getFirstToken(e),n=i.getLastToken(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,1)},JSXSpreadAttribute(e){let t=i.getFirstToken(e),n=i.getLastToken(e);s.setDesiredOffsets([t.range[1],n.range[0]],t,1)},"*":function(e){let t=i.getFirstToken(e);t&&!g.has(t)&&s.setDesiredOffsets(e.range,t,0)}}))y[e]=e=>h.push({listener:o,node:e});let E=new Set;function T(e){E.add(e),g.add(i.getFirstToken(e))}let b=r.ignoredNodes.reduce((e,t)=>Object.assign(e,{[t]:T}),{}),S="space"===t?" ":" ";return{...y,JSXText:function(r){if(!r.parent||"JSXElement"!==r.parent.type&&"JSXFragment"!==r.parent.type)return;let i=r.value,o="space"===t?/\n( *)[\t ]*\S/g:/\n(\t*)[\t ]*\S/g,s=Array.from(String(i).matchAll(o),e=>e[1]?e[1].length:0),a=s.length>0,c=function(n,r=!1,i=!1){let o,s=e.sourceCode.getText(n,n.loc.start.column),a=s.split("\n");s=r?a[a.length-1]:a[0];let l=i?",":"",c=("space"===t?RegExp(`^[ ${l}]+`):RegExp(`^[ ${l}]+`)).exec(s);return c?c[0].length:0}(r.parent)+n;a&&!s.every(e=>e===c)&&s.forEach(t=>{e.report({node:r,messageId:"wrongIndentation",data:l(c,t,t),fix:function(e,t){let n=Array(t+1).join(S);return function(t){let r=e.raw.replace(/\n[\t ]*(\S)/g,(e,t)=>`
14
- ${n}${t}`);return t.replaceText(e,r)}}(r,c)})})},...b,"*:exit":function(e){gG.has(e.type)||T(e)},"Program:exit":function(){r.ignoreComments&&i.getAllComments().forEach(e=>s.ignoreToken(e));for(let e=0;e<h.length;e++){let t=h[e];E.has(t.node)||t.listener?.(t.node)}E.forEach(d),function(e){let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];l8(i)?t.push(i):l7(i)&&n.push({left:t.pop(),right:i})}for(let e=n.length-1;e>=0;e--){let t=n[e].left,r=n[e].right;if(!a.has(t)&&!a.has(r)){let e=new Set(i.getTokensBetween(t,r));e.forEach(n=>{e.has(s.getFirstDependency(n))||s.setDesiredOffset(n,t,1)})}s.setDesiredOffset(r,t,0)}}(i.ast.tokens);let t=new WeakMap;for(let e=0;e<i.ast.comments.length;e++){let n=i.ast.comments[e],r=i.getTokenBefore(n,{includeComments:!0}),o=t.has(r)?t.get(r):r;t.set(n,o)}for(let n=1;n<i.lines.length+1;n++){if(!o.firstTokensByLineNumber.has(n))continue;let r=o.firstTokensByLineNumber.get(n);if(r.loc.start.line===n){if(ci(r)){let e=t.get(r),n=e?i.getTokenAfter(e):i.ast.tokens[0],o=e&&!m(e,r),a=n&&!m(r,n);if(n&&l5(n)&&!cp(r,n)&&s.setDesiredOffset(r,n,0),o&&c(r,s.getDesiredIndent(e))||a&&c(r,s.getDesiredIndent(n)))continue}c(r,s.getDesiredIndent(r))||function(t,n){let r=Array.from(o.getTokenIndent(t)),i=r.filter(e=>" "===e).length,s=r.filter(e=>" "===e).length;e.report({node:t,messageId:"wrongIndentation",data:l(n.length,i,s),loc:{start:{line:t.loc.start.line,column:0},end:{line:t.loc.start.line,column:t.loc.start.column}},fix(e){let r=[t.range[0]-t.loc.start.column,t.range[0]];return e.replaceTextRange(r,n)}})}(r,s.getDesiredIndent(r))}}}}}});const gX=new Set([gI.AST_NODE_TYPES.PropertyDefinition,gI.AST_NODE_TYPES.TSAbstractKeyword,gI.AST_NODE_TYPES.TSAnyKeyword,gI.AST_NODE_TYPES.TSBooleanKeyword,gI.AST_NODE_TYPES.TSNeverKeyword,gI.AST_NODE_TYPES.TSNumberKeyword,gI.AST_NODE_TYPES.TSStringKeyword,gI.AST_NODE_TYPES.TSSymbolKeyword,gI.AST_NODE_TYPES.TSUndefinedKeyword,gI.AST_NODE_TYPES.TSUnknownKeyword,gI.AST_NODE_TYPES.TSVoidKeyword,gI.AST_NODE_TYPES.TSNullKeyword,gI.AST_NODE_TYPES.TSAbstractPropertyDefinition,gI.AST_NODE_TYPES.TSAbstractMethodDefinition,gI.AST_NODE_TYPES.TSArrayType,gI.AST_NODE_TYPES.TSAsExpression,gI.AST_NODE_TYPES.TSCallSignatureDeclaration,gI.AST_NODE_TYPES.TSConditionalType,gI.AST_NODE_TYPES.TSConstructorType,gI.AST_NODE_TYPES.TSConstructSignatureDeclaration,gI.AST_NODE_TYPES.TSDeclareFunction,gI.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,gI.AST_NODE_TYPES.TSEnumDeclaration,gI.AST_NODE_TYPES.TSEnumMember,gI.AST_NODE_TYPES.TSExportAssignment,gI.AST_NODE_TYPES.TSExternalModuleReference,gI.AST_NODE_TYPES.TSFunctionType,gI.AST_NODE_TYPES.TSImportType,gI.AST_NODE_TYPES.TSIndexedAccessType,gI.AST_NODE_TYPES.TSIndexSignature,gI.AST_NODE_TYPES.TSInferType,gI.AST_NODE_TYPES.TSInterfaceBody,gI.AST_NODE_TYPES.TSInterfaceDeclaration,gI.AST_NODE_TYPES.TSInterfaceHeritage,gI.AST_NODE_TYPES.TSImportEqualsDeclaration,gI.AST_NODE_TYPES.TSLiteralType,gI.AST_NODE_TYPES.TSMappedType,gI.AST_NODE_TYPES.TSMethodSignature,"TSMinusToken",gI.AST_NODE_TYPES.TSModuleBlock,gI.AST_NODE_TYPES.TSModuleDeclaration,gI.AST_NODE_TYPES.TSNonNullExpression,gI.AST_NODE_TYPES.TSParameterProperty,"TSPlusToken",gI.AST_NODE_TYPES.TSPropertySignature,gI.AST_NODE_TYPES.TSQualifiedName,"TSQuestionToken",gI.AST_NODE_TYPES.TSRestType,gI.AST_NODE_TYPES.TSThisType,gI.AST_NODE_TYPES.TSTupleType,gI.AST_NODE_TYPES.TSTypeAnnotation,gI.AST_NODE_TYPES.TSTypeLiteral,gI.AST_NODE_TYPES.TSTypeOperator,gI.AST_NODE_TYPES.TSTypeParameter,gI.AST_NODE_TYPES.TSTypeParameterDeclaration,gI.AST_NODE_TYPES.TSTypeParameterInstantiation,gI.AST_NODE_TYPES.TSTypeReference,gI.AST_NODE_TYPES.Decorator]);var gQ=lG({name:"indent",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent indentation"},fixable:"whitespace",hasSuggestions:gJ.meta.hasSuggestions,schema:gJ.meta.schema,messages:gJ.meta.messages},defaultOptions:[4,{SwitchCase:1,flatTernaryExpressions:!1,ignoredNodes:[]}],create(e,t){let n=Object.create(e,{options:{writable:!1,configurable:!1,value:t}}),r=gJ.create(n);function i(e,t=gI.AST_NODE_TYPES.Property){let n={key:null,value:null,computed:!1,method:!1,kind:"init",shorthand:!0,parent:e.parent,range:e.range,loc:e.loc};return t===gI.AST_NODE_TYPES.Property?{...n,type:t}:{type:t,accessibility:void 0,declare:!1,decorators:[],definite:!1,optional:!1,override:!1,readonly:!1,static:!1,typeAnnotation:void 0,...n}}return{...r,"*:exit":function(e){gX.has(e.type)||r["*:exit"](e)},VariableDeclaration(e){if(0!==e.declarations.length)return r.VariableDeclaration(e)},TSAsExpression:e=>r["BinaryExpression, LogicalExpression"]({type:gI.AST_NODE_TYPES.BinaryExpression,operator:"as",left:e.expression,right:e.typeAnnotation,parent:e.parent,range:e.range,loc:e.loc}),TSConditionalType:e=>r.ConditionalExpression({type:gI.AST_NODE_TYPES.ConditionalExpression,test:{parent:e,type:gI.AST_NODE_TYPES.BinaryExpression,operator:"extends",left:e.checkType,right:e.extendsType,range:[e.checkType.range[0],e.extendsType.range[1]],loc:{start:e.checkType.loc.start,end:e.extendsType.loc.end}},consequent:e.trueType,alternate:e.falseType,parent:e.parent,range:e.range,loc:e.loc}),"TSEnumDeclaration, TSTypeLiteral":function(e){let t="body"in e&&e.body?.members||e.members;return r["ObjectExpression, ObjectPattern"]({type:gI.AST_NODE_TYPES.ObjectExpression,properties:t.map(e=>i(e)),parent:e.parent,range:e.range,loc:e.loc})},TSImportEqualsDeclaration(e){let{id:t,moduleReference:n}=e;return r.VariableDeclaration({type:gI.AST_NODE_TYPES.VariableDeclaration,kind:"const",declarations:[{type:gI.AST_NODE_TYPES.VariableDeclarator,range:[t.range[0],n.range[1]],loc:{start:t.loc.start,end:n.loc.end},id:t,init:{type:gI.AST_NODE_TYPES.CallExpression,callee:{type:gI.AST_NODE_TYPES.Identifier,name:"require",range:[n.range[0],n.range[0]+7],loc:{start:n.loc.start,end:{line:n.loc.end.line,column:n.loc.start.line+7}}},arguments:"expression"in n?[n.expression]:[],range:n.range,loc:n.loc}}],declare:!1,parent:e.parent,range:e.range,loc:e.loc})},TSIndexedAccessType:e=>r["MemberExpression, JSXMemberExpression, MetaProperty"]({type:gI.AST_NODE_TYPES.MemberExpression,object:e.objectType,property:e.indexType,parent:e.parent,range:e.range,loc:e.loc,optional:!1,computed:!0}),TSInterfaceBody:e=>r["BlockStatement, ClassBody"]({type:gI.AST_NODE_TYPES.ClassBody,body:e.body.map(e=>i(e,gI.AST_NODE_TYPES.PropertyDefinition)),parent:e.parent,range:e.range,loc:e.loc}),"TSInterfaceDeclaration[extends.length > 0]":function(e){return r["ClassDeclaration[superClass], ClassExpression[superClass]"]({type:gI.AST_NODE_TYPES.ClassDeclaration,body:e.body,id:null,superClass:e.extends[0].expression,abstract:!1,declare:!1,decorators:[],implements:[],superTypeArguments:void 0,superTypeParameters:void 0,typeParameters:void 0,parent:e.parent,range:e.range,loc:e.loc})},TSMappedType(t){let n=e.sourceCode.getTokenBefore(t.constraint||t.typeParameter);return r["ObjectExpression, ObjectPattern"]({type:gI.AST_NODE_TYPES.ObjectExpression,properties:[{parent:t,type:gI.AST_NODE_TYPES.Property,key:t.key||t.typeParameter,value:t.typeAnnotation,range:[n.range[0],t.typeAnnotation?t.typeAnnotation.range[1]:n.range[0]],loc:{start:n.loc.start,end:t.typeAnnotation?t.typeAnnotation.loc.end:n.loc.end},kind:"init",computed:!1,method:!1,optional:!1,shorthand:!1}],parent:t.parent,range:t.range,loc:t.loc})},TSModuleBlock:e=>r["BlockStatement, ClassBody"]({type:gI.AST_NODE_TYPES.BlockStatement,body:e.body,parent:e.parent,range:e.range,loc:e.loc}),TSQualifiedName:e=>r["MemberExpression, JSXMemberExpression, MetaProperty"]({type:gI.AST_NODE_TYPES.MemberExpression,object:e.left,property:e.right,parent:e.parent,range:e.range,loc:e.loc,optional:!1,computed:!1}),TSTupleType:e=>r["ArrayExpression, ArrayPattern"]({type:gI.AST_NODE_TYPES.ArrayExpression,elements:e.elementTypes,parent:e.parent,range:e.range,loc:e.loc}),TSTypeParameterDeclaration(e){if(!e.params.length)return;let[t,...n]=e.params;return r.JSXOpeningElement({type:gI.AST_NODE_TYPES.JSXOpeningElement,selfClosing:!1,name:t,attributes:n,typeArguments:void 0,typeParameters:void 0,parent:e.parent,range:e.range,loc:e.loc})},TSTypeParameterInstantiation(e){if(!e.params.length)return;let[t,...n]=e.params;return r.JSXOpeningElement({type:gI.AST_NODE_TYPES.JSXOpeningElement,selfClosing:!1,name:t,attributes:n,typeArguments:void 0,typeParameters:void 0,parent:e.parent,range:e.range,loc:e.loc})}}}});function gZ(e){return e[e.length-1]}function g0(e){return e.loc.end.line===e.loc.start.line}function g1(e,t){let n=t.getTokenBefore(e.attributes[0],cn);return t.getTokenAfter(e.attributes[e.attributes.length-1],cr).loc.end.line===n.loc.start.line}function g2(e,t){return e.mode=t.mode||"strict",void 0!==t.beforeColon?e.beforeColon=+t.beforeColon:e.beforeColon=0,void 0!==t.afterColon?e.afterColon=+t.afterColon:e.afterColon=1,void 0!==t.align&&("object"==typeof t.align?e.align=t.align:e.align={on:t.align,mode:e.mode,beforeColon:e.beforeColon,afterColon:e.afterColon}),e}var g3=lG({name:"key-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing between keys and values in object literal properties"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{align:{anyOf:[{type:"string",enum:["colon","value"]},{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"},ignoredNodes:{type:"array",items:{type:"string",enum:["ObjectExpression","ObjectPattern","ImportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TSTypeLiteral","TSInterfaceBody","ClassBody"]}}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{align:{anyOf:[{type:"string",enum:["colon","value"]},{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},align:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",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(e){var t,n;let r=(t={},"object"==typeof(n=e.options[0]||{}).align?(t.align=g2({},n.align),t.align.on=n.align.on||"colon",t.align.mode=n.align.mode||"strict",t.multiLine=g2({},n.multiLine||n),t.singleLine=g2({},n.singleLine||n)):(t.multiLine=g2({},n.multiLine||n),t.singleLine=g2({},n.singleLine||n),t.multiLine.align&&(t.align={on:t.multiLine.align.on,mode:t.multiLine.align.mode||t.multiLine.mode,beforeColon:t.multiLine.align.beforeColon,afterColon:t.multiLine.align.afterColon})),t.ignoredNodes=n.ignoredNodes||[],t),i=r.multiLine,o=r.singleLine,s=r.align||null,a=r.ignoredNodes,l=e.sourceCode;function c(e){return"ImportAttribute"===e.type||!("method"in e&&e.method||"shorthand"in e&&e.shorthand||"kind"in e&&"init"!==e.kind||"Property"!==e.type)}function p(e){return l.getTokenAfter(e,l9)}function u(t,n,r,i,o){let s=r.length-i;if((s&&"strict"===o||s<0&&"minimum"===o||s>0&&!i&&"minimum"===o)&&!(i&&lK.test(r))){let r,i=p(t.key),o=l.getTokenBefore(i,{includeComments:!0}),a=l.getTokenAfter(i,{includeComments:!0}),c="key"===n,u=s>0,f=Math.abs(s),d=Array(f+1).join(" "),m=c?o.loc.end:i.loc.start,g=c?i.loc.start:a.loc.start,h=c?o.loc:a.loc;if(u){let e;e=c?[o.range[1],o.range[1]+f]:[a.range[0]-f,a.range[0]],r=function(t){return t.removeRange(e)}}else r=c?function(e){return e.insertTextAfter(o,d)}:function(e){return e.insertTextBefore(a,d)};e.report({node:t[n],loc:u?{start:m,end:g}:h,messageId:u?"key"===n?"extraKey":"extraValue":"key"===n?"missingKey":"missingValue",data:{computed:"ImportAttribute"!==t.type&&t.computed?"computed ":"",key:function(e){let t=e.key;return"ImportAttribute"!==e.type&&e.computed?l.getText().slice(t.range[0],t.range[1]):lZ(e)}(t)},fix:r})}}function f(e){let t=l.getFirstToken(e),n=function(e){let t=p(e);return l.getTokenBefore(t)}(e.key);return cb(l.getText().slice(t.range[0],n.range[1]))}function d(e){let t=/(\s*):(\s*)/u.exec(l.getText().slice(e.key.range[1],e.value.range[0]));return t?{beforeColon:t[1],afterColon:t[2]}:null}function m(e,t){if(a.includes(e.parent.type))return;let n=d(e);n&&(u(e,"key",n.beforeColon,t.beforeColon,t.mode),u(e,"value",n.afterColon,t.afterColon,t.mode))}function g(e,t){let n=e.length;for(let r=0;r<n;r++)m(e[r],t)}function h(e){(1===e.length?[e]:e.reduce((e,t)=>{let n=gZ(e),r=gZ(n);return!r||function(e,t){let n=e.loc.start.line,r=(c(t)?function(e){let t=p(e);return l.getTokenAfter(t)}(t.key):t).loc.start.line;if(r-n<=1)return!0;let i=l.getCommentsBefore(t);if(i.length&&i[0].loc.start.line-n<=1&&r-gZ(i).loc.end.line<=1){for(let e=1;e<i.length;e++)if(i[e].loc.start.line-i[e-1].loc.end.line>1)return!1;return!0}return!1}(r,t)?n.push(t):e.push([t]),e},[[]])).forEach(e=>{let t=e.filter(c);t.length>0&&function(e){let[t]=e,n=gZ(e);return t.loc.start.line===n.loc.end.line}(t)?g(t,i):function(e){let t,n,r,o=e.length,a=e.map(f),l=s.on,c=Math.max(...a);s&&o>1?(t=s.beforeColon,n=s.afterColon):(t=i.beforeColon,n=i.afterColon),r=s.mode,c+="colon"===l?t:n;for(let i=0;i<o;i++){let o=e[i],s=d(o);if(s){let e=a[i];"value"===l?(u(o,"key",s.beforeColon,t,r),u(o,"value",s.afterColon,c-e,r)):(u(o,"key",s.beforeColon,c-e,r),u(o,"value",s.afterColon,n,r))}}}(t)})}function y(e){!a.includes(e.type)&&e.attributes&&e.attributes.length&&(g1(e,l)?g(e.attributes,o):h(e.attributes))}return s?{ObjectExpression(e){a.includes(e.type)||(g0(e)?g(e.properties.filter(c),o):h(e.properties))},ImportDeclaration(e){y(e)},ExportNamedDeclaration(e){y(e)},ExportAllDeclaration(e){y(e)}}:{Property(e){m(e,g0(e.parent)?o:i)},ImportAttribute(e){let t=e.parent;m(e,g1(t,l)?o:i)}}}});const g4=Array.isArray(g3.meta.schema)?g3.meta.schema[0]:g3.meta.schema;var g6=lG({name:"key-spacing",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing between property names and type annotations in types and interfaces"},fixable:"whitespace",hasSuggestions:g3.meta.hasSuggestions,schema:[g4],messages:g3.meta.messages},defaultOptions:[{}],create(e,[t]){let n=t||{},r=n.ignoredNodes||[],i=e.sourceCode;function o(e){let t=e.line-1;return cb(i.lines.at(t).slice(0,e.column))}function s(e){return(e.type===gI.AST_NODE_TYPES.TSPropertySignature||e.type===gI.AST_NODE_TYPES.TSIndexSignature||e.type===gI.AST_NODE_TYPES.PropertyDefinition)&&!!e.typeAnnotation}function a(e){return s(e)&&e.typeAnnotation.loc.start.line===e.loc.end.line}function l(e){return e.type!==gI.AST_NODE_TYPES.TSIndexSignature?i.getText(e.key):i.getText(e).slice(0,i.getTokenAfter(e.parameters.at(-1),gO.isClosingBracketToken).range[1]-e.range[0])}function c(e){return function(e){let t=i.getTokenAfter(e,gO.isColonToken);return i.getTokenBefore(t)}(e.type!==gI.AST_NODE_TYPES.TSIndexSignature?e.key:e.parameters.at(-1)).loc.end}function p(t,n,r){let{typeAnnotation:i}=t,o=i.loc.start.column-c(t).column-n;("strict"===r?o:o<0)&&e.report({node:t,messageId:o>0?"extraKey":"missingKey",fix:e=>o>0?e.removeRange([i.range[0]-o,i.range[0]]):e.insertTextBefore(i," ".repeat(-o)),data:{computed:"",key:l(t)}})}function u(t,n,r){let{typeAnnotation:o}=t,s=i.getFirstToken(o),a=i.getTokenAfter(s,{includeComments:!0}).loc.start.column-s.loc.start.column-1-n;("strict"===r?a:a<0)&&e.report({node:t,messageId:a>0?"extraValue":"missingValue",fix:e=>a>0?e.removeRange([s.range[1],s.range[1]+a]):e.insertTextAfter(s," ".repeat(-a)),data:{computed:"",key:l(t)}})}function f(t){if(r.includes(t.type))return;let f=t.loc.start.line===t.loc.end.line,d=t.type===gI.AST_NODE_TYPES.TSTypeLiteral?t.members:t.body,m=[],g=[];if(n.align||n.multiLine?.align){let e,t=[];for(let n of(m.push(t),d)){let r=t.at(-1);r!==e&&(r=void 0),r&&function(e,t){let n=e.loc.start.line,r=(s(t)?t.typeAnnotation:t).loc.start.line;if(r===n)return!1;if(r-n==1)return!0;let o=i.getCommentsBefore(t);if(o.length&&o[0].loc.start.line-n<=1&&r-o.at(-1).loc.end.line<=1){for(let e=1;e<o.length;e++)if(o[e].loc.start.line-o[e-1].loc.end.line>1)return!1;return!0}return!1}(r,n)?t.push(n):e?.loc.start.line===n.loc.start.line?(r&&(g.push(r),t.pop()),g.push(n)):(t=[n],m.push(t)),e=n}g=g.concat(...m.filter(e=>1===e.length)),m=m.filter(e=>e.length>=2)}else g=d;for(let t of m)!function(t){let r=0,i=("object"==typeof n.align?n.align.on:"object"==typeof n.multiLine?.align?n.multiLine.align.on:n.multiLine?.align??n.align)??"colon",f=+!!("object"==typeof n.align?n.align.beforeColon:n.multiLine?"object"==typeof n.multiLine.align?n.multiLine.align.beforeColon:n.multiLine.beforeColon:n.beforeColon),d=+!!(("object"==typeof n.align?n.align.afterColon:n.multiLine?"object"==typeof n.multiLine.align?n.multiLine.align.afterColon:n.multiLine.afterColon:n.afterColon)??!0),m=("object"==typeof n.align?n.align.mode:n.multiLine?"object"==typeof n.multiLine.align?n.multiLine.align.mode??n.multiLine.mode:n.multiLine.mode:n.mode)??"strict";for(let e of t)if(s(e)){let t=o(c(e));r=Math.max(r,"colon"===i?t+f:t+1+d+f)}for(let n of t){if(!a(n))continue;let{typeAnnotation:t}=n,s="colon"===i?t:t.typeAnnotation,c=o(s.loc.start)-r;c&&e.report({node:n,messageId:c>0?"colon"===i?"extraKey":"extraValue":"colon"===i?"missingKey":"missingValue",fix:e=>c>0?e.removeRange([s.range[0]-c,s.range[0]]):e.insertTextBefore(s," ".repeat(-c)),data:{computed:"",key:l(n)}}),"colon"===i?u(n,d,m):p(n,f,m)}}(t);for(let e of g)!function(e,{singleLine:t}){let r=(t?n.singleLine?n.singleLine.beforeColon:n.beforeColon:n.multiLine?n.multiLine.beforeColon:n.beforeColon)??!1,i=(t?n.singleLine?n.singleLine.afterColon:n.afterColon:n.multiLine?n.multiLine.afterColon:n.afterColon)??!0,o=(t?n.singleLine?n.singleLine.mode:n.mode:n.multiLine?n.multiLine.mode:n.mode)??"strict";a(e)&&(p(e,+!!r,o),u(e,+!!i,o))}(e,{singleLine:f})}return{...g3.create(e),TSTypeLiteral:f,TSInterfaceBody:f,ClassBody:f}}});const g5=/^[)\]}>]$/u,g9=/^(?:[([{<~!]|\+\+?|--?)$/u,g8=/^[)\]}>*]$/u,g7=/^[{*]$/u,he=/\$\{$/u,ht=/^\}/u,hn=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,hr=cP.concat(["as","async","await","from","get","let","of","satisfies","set","yield"]);hr.sort();for(let e=1;e<hr.length;++e)if(hr[e]===hr[e-1])throw Error(`Duplication was found in the keyword list: ${hr[e]}`);function hi(e){return"Template"===e.type&&he.test(e.value)}function ho(e){return"Template"===e.type&&ht.test(e.value)}var hs=lG({name:"keyword-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after keywords"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0},overrides:{type:"object",properties:hr.reduce((e,t)=>(e[t]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},e),{}),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(e){let t=e.sourceCode,n=new WeakSet;function r(r,i){let o=t.getTokenBefore(r);o&&(hn.test(o.type)||i.test(o.value))&&!hi(o)&&!n.has(o)&&cp(o,r)&&!t.isSpaceBetween(o,r)&&e.report({loc:r.loc,messageId:"expectedBefore",data:r,fix:e=>e.insertTextBefore(r," ")})}function i(r,i){let o=t.getTokenBefore(r);o&&(hn.test(o.type)||i.test(o.value))&&!hi(o)&&!n.has(o)&&cp(o,r)&&t.isSpaceBetween(o,r)&&e.report({loc:{start:o.loc.end,end:r.loc.start},messageId:"unexpectedBefore",data:r,fix:e=>e.removeRange([o.range[1],r.range[0]])})}function o(r,i){let o=t.getTokenAfter(r);o&&(hn.test(o.type)||i.test(o.value))&&!ho(o)&&!n.has(o)&&cp(r,o)&&!t.isSpaceBetween(r,o)&&e.report({loc:r.loc,messageId:"expectedAfter",data:r,fix:e=>e.insertTextAfter(r," ")})}function s(r,i){let o=t.getTokenAfter(r);o&&(hn.test(o.type)||i.test(o.value))&&!ho(o)&&!n.has(o)&&cp(r,o)&&t.isSpaceBetween(r,o)&&e.report({loc:{start:r.loc.end,end:o.loc.start},messageId:"unexpectedAfter",data:r,fix:e=>e.removeRange([r.range[1],o.range[0]])})}let a=function(e={}){let t=!1!==e.before,n=!1!==e.after,a={before:t?r:i,after:n?o:s},l=e&&e.overrides||{},c=Object.create(null);for(let e=0;e<hr.length;++e){let p=hr[e],u=l[p];if(u){let e="before"in u?u.before:t,a="after"in u?u.after:n;c[p]={before:e?r:i,after:a?o:s}}else c[p]=a}return c}(e.options[0]);function l(e,t){a[e.value].before(e,t||g5)}function c(e,t){a[e.value].after(e,t||g9)}function p(e){l(e),c(e)}function u(e){let n=e&&t.getFirstToken(e);n&&"Keyword"===n.type&&p(n)}function f(e){let n=e&&t.getFirstToken(e);n&&"Keyword"===n.type&&l(n)}function d(e){if(e){let n=t.getTokenBefore(e,co);n&&p(n)}}function m(e){let n=e&&t.getFirstToken(e);n&&("Keyword"===n.type&&"function"===n.value||"async"===n.value)&&l(n)}function g(e){u(e),d(e.superClass)}function h(e){let n=t.getFirstToken(e);if(l(n,g8),c(n,g7),"ExportDefaultDeclaration"===e.type&&p(t.getTokenAfter(n)),"ExportAllDeclaration"===e.type&&e.exported){let n=t.getTokenBefore(e.exported);l(n,g8),c(n,g7)}if("source"in e&&e.source){let n=t.getTokenBefore(e.source);l(n,g8),c(n,g7)}}function y(e){if("static"in e&&e.static&&u(e),"get"===e.kind||"set"===e.kind||("method"in e&&e.method||"MethodDefinition"===e.type)&&"async"in e.value&&e.value.async){let n=t.getTokenBefore(e.key,e=>{switch(e.value){case"get":case"set":case"async":return!0;default:return!1}});if(!n)throw Error("Failed to find token get, set, or async beside method name");p(n)}}return{DebuggerStatement:u,WithStatement:u,BreakStatement:u,ContinueStatement:u,ReturnStatement:u,ThrowStatement:u,TryStatement:function(e){u(e),u(e.handler),d(e.finalizer)},IfStatement:function(e){u(e),d(e.alternate)},SwitchStatement:u,SwitchCase:u,DoWhileStatement:function(e){u(e),d(e.test)},ForInStatement:function(e){u(e);let n=t.getTokenBefore(e.right,cd);"PrivateIdentifier"!==t.getTokenBefore(n).type&&l(n),c(n)},ForOfStatement:function(e){e.await?(l(t.getFirstToken(e,0)),c(t.getFirstToken(e,1))):u(e);let n=t.getTokenBefore(e.right,cd);"PrivateIdentifier"!==t.getTokenBefore(n).type&&l(n),c(n)},ForStatement:u,WhileStatement:u,ClassDeclaration:g,ExportNamedDeclaration:h,ExportDefaultDeclaration:h,ExportAllDeclaration:h,FunctionDeclaration:m,ImportDeclaration:h,VariableDeclaration:u,ArrowFunctionExpression:m,AwaitExpression:function(e){l(t.getFirstToken(e))},ClassExpression:g,FunctionExpression:m,NewExpression:f,Super:f,ThisExpression:f,UnaryExpression:f,YieldExpression:f,ImportSpecifier:function(e){e.imported.range[0]!==e.local.range[0]&&l(t.getTokenBefore(e.local),g8)},ExportSpecifier:function(e){if(e.local.range[0]!==e.exported.range[0]){let n=t.getTokenBefore(e.exported);l(n,g8),c(n,g7)}},ImportNamespaceSpecifier:function(e){l(t.getFirstToken(e,1),g8)},MethodDefinition:y,PropertyDefinition:y,StaticBlock:u,Property:y,"BinaryExpression[operator='>']":function(e){let r=t.getTokenBefore(e.right,cd);n.add(r)}}}});const ha=Array.isArray(hs.meta.schema)?hs.meta.schema[0]:hs.meta.schema,hl=lW(ha,{properties:{overrides:{properties:{type:ha.properties.overrides.properties.import}}}});var hc=lG({name:"keyword-spacing",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after keywords"},fixable:"whitespace",hasSuggestions:hs.meta.hasSuggestions,schema:[hl],messages:hs.meta.messages},defaultOptions:[{}],create(e,[t]){let{after:n,overrides:r}=t??{},i=e.sourceCode,o=hs.create(e);return{...o,TSAsExpression(e){let t=cx(i.getTokenAfter(e.expression,e=>"as"===e.value),cS("as",e.type)),n=t.type;t.type=gI.AST_TOKEN_TYPES.Keyword,o.DebuggerStatement(t),t.type=n},TSSatisfiesExpression(e){let t=cx(i.getTokenAfter(e.expression,e=>"satisfies"===e.value),cS("satisfies",e.type)),n=t.type;t.type=gI.AST_TOKEN_TYPES.Keyword,o.DebuggerStatement(t),t.type=n},"ImportDeclaration[importKind=type]":function(t){let{type:o={}}=r??{},s=i.getFirstToken(t,{skip:1}),a=i.getTokenAfter(s);if(t.specifiers?.[0]?.type===gI.AST_NODE_TYPES.ImportDefaultSpecifier)return;let l=a.range[0]-s.range[1];(o.after??n)===!0&&0===l&&e.report({loc:s.loc,messageId:"expectedAfter",data:{value:"type"},fix:e=>e.insertTextAfter(s," ")}),(o.after??n)===!1&&l>0&&e.report({loc:s.loc,messageId:"unexpectedAfter",data:{value:"type"},fix:e=>e.removeRange([s.range[1],s.range[1]+l])})}}}});const hp=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u;var hu=lG({name:"lines-around-comment",package:"ts",meta:{type:"layout",docs:{description:"Require empty lines around comments"},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"},allowInterfaceStart:{type:"boolean"},allowInterfaceEnd:{type:"boolean"},allowTypeStart:{type:"boolean"},allowTypeEnd:{type:"boolean"},allowEnumStart:{type:"boolean"},allowEnumEnd:{type:"boolean"},allowModuleStart:{type:"boolean"},allowModuleEnd:{type:"boolean"},ignorePattern:{type:"string"},applyDefaultIgnorePatterns:{type:"boolean"},afterHashbangComment:{type:"boolean"}},additionalProperties:!1}],fixable:"whitespace",messages:{after:"Expected line after comment.",before:"Expected line before comment."}},defaultOptions:[{beforeBlockComment:!0}],create(e,[t]){let n=RegExp(t.ignorePattern??"","u"),r=e.sourceCode,i=r.getAllComments(),o=r.lines,s=o.length+1,a=function(e){let t=[];return e.forEach(e=>{let n=e.loc.start.line,r=e.loc.end.line;t.push(n,r)}),t}(i),l=o.map((e,t)=>({code:e.trim(),num:t+1})).filter(e=>!e.code).map(e=>e.num),c=new Set(a.concat(l));function p(e){let t=r.getNodeByRangeIndex(e.range[0]);if(t&&"StaticBlock"===t.type){let n=r.getFirstToken(t,{skip:1});return n&&e.range[0]>=n.range[0]?t:null}return t}function u(e,t){let n=p(e);if(n&&n.type===t){let t=n;return"StaticBlock"===n.type?t=r.getFirstToken(n,{skip:1}):"SwitchStatement"===n.type&&(t=r.getTokenAfter(n.discriminant,{filter:cn})),!!t&&e.loc.start.line-t.loc.start.line==1}return!1}function f(e,t){let n=p(e);return!!n&&n.type===t&&n.loc.end.line-e.loc.end.line==1}function d(e){return u(e,gI.AST_NODE_TYPES.ClassBody)}function m(e){return f(e,gI.AST_NODE_TYPES.ClassBody)}function g(i,{before:o,after:a}){if(!1!==t.applyDefaultIgnorePatterns&&hp.test(i.value)||t.ignorePattern&&n.test(i.value))return;let l=i.loc.start.line-1,p=i.loc.end.line+1;if(l<1&&(o=!1),p>=s&&(a=!1),function(e){let t=e;do t=r.getTokenBefore(t,{includeComments:!0});while(t&&gO.isCommentToken(t));if(t&&gO.isTokenOnSameLine(t,e))return!0;t=e;do t=r.getTokenAfter(t,{includeComments:!0});while(t&&gO.isCommentToken(t));return!!(t&&gO.isTokenOnSameLine(e,t))}(i))return;let g=!!t.allowBlockStart&&(u(i,gI.AST_NODE_TYPES.ClassBody)||u(i,gI.AST_NODE_TYPES.BlockStatement)||u(i,gI.AST_NODE_TYPES.StaticBlock)||u(i,gI.AST_NODE_TYPES.SwitchCase)||u(i,gI.AST_NODE_TYPES.SwitchStatement))&&!(!1===t.allowClassStart&&d(i)),h=!!t.allowBlockEnd&&(f(i,gI.AST_NODE_TYPES.ClassBody)||f(i,gI.AST_NODE_TYPES.BlockStatement)||f(i,gI.AST_NODE_TYPES.StaticBlock)||f(i,gI.AST_NODE_TYPES.SwitchCase)||f(i,gI.AST_NODE_TYPES.SwitchStatement))&&!(!1===t.allowClassEnd&&m(i)),y=!!t.allowClassStart&&d(i),E=!!t.allowClassEnd&&m(i),T=!!t.allowObjectStart&&(u(i,gI.AST_NODE_TYPES.ObjectExpression)||u(i,gI.AST_NODE_TYPES.ObjectPattern)),b=!!t.allowObjectEnd&&(f(i,gI.AST_NODE_TYPES.ObjectExpression)||f(i,gI.AST_NODE_TYPES.ObjectPattern)),S=!!t.allowArrayStart&&(u(i,gI.AST_NODE_TYPES.ArrayExpression)||u(i,gI.AST_NODE_TYPES.ArrayPattern)),x=!!t.allowArrayEnd&&(f(i,gI.AST_NODE_TYPES.ArrayExpression)||f(i,gI.AST_NODE_TYPES.ArrayPattern)),P=!!t.allowInterfaceStart&&u(i,gI.AST_NODE_TYPES.TSInterfaceBody),v=!!t.allowInterfaceEnd&&f(i,gI.AST_NODE_TYPES.TSInterfaceBody),k=!!t.allowTypeStart&&u(i,gI.AST_NODE_TYPES.TSTypeLiteral),_=!!t.allowTypeEnd&&f(i,gI.AST_NODE_TYPES.TSTypeLiteral),A=!!t.allowEnumStart&&(u(i,gI.AST_NODE_TYPES.TSEnumBody)||u(i,gI.AST_NODE_TYPES.TSEnumDeclaration)),Y=!!t.allowEnumEnd&&(f(i,gI.AST_NODE_TYPES.TSEnumBody)||f(i,gI.AST_NODE_TYPES.TSEnumDeclaration)),C=!!t.allowModuleStart&&u(i,gI.AST_NODE_TYPES.TSModuleBlock),w=!!t.allowModuleEnd&&f(i,gI.AST_NODE_TYPES.TSModuleBlock),L=g||y||T||S||P||k||A||C,I=h||E||b||x||v||_||Y||w,O=r.getTokenBefore(i,{includeComments:!0}),D=r.getTokenAfter(i,{includeComments:!0});if(!L&&o&&!c.has(l)&&!(gO.isCommentToken(O)&&gO.isTokenOnSameLine(O,i))){let t=i.range[0]-i.loc.start.column,n=[t,t];e.report({node:i,messageId:"before",fix:e=>e.insertTextBeforeRange(n,"\n")})}I||!a||c.has(p)||gO.isCommentToken(D)&&gO.isTokenOnSameLine(i,D)||e.report({node:i,messageId:"after",fix:e=>e.insertTextAfter(i,"\n")})}return{Program(){i.forEach(e=>{e.type===gI.AST_TOKEN_TYPES.Line?(t.beforeLineComment||t.afterLineComment)&&g(e,{after:t.afterLineComment,before:t.beforeLineComment}):e.type===gI.AST_TOKEN_TYPES.Block?(t.beforeBlockComment||t.afterBlockComment)&&g(e,{after:t.afterBlockComment,before:t.beforeBlockComment}):"Shebang"===e.type&&t.afterHashbangComment&&g(e,{after:t.afterHashbangComment,before:!1})})}}}});const hf={"*":{test:()=>!0},field:{test:e=>"PropertyDefinition"===e.type},method:{test:e=>"MethodDefinition"===e.type}};var hd=lG({name:"lines-between-class-members",package:"js",meta:{type:"layout",docs:{description:"Require or disallow an empty line between class members"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{enforce:{type:"array",items:{type:"object",properties:{blankLine:{type:"string",enum:["always","never"]},prev:{type:"string",enum:["method","field","*"]},next:{type:"string",enum:["method","field","*"]}},additionalProperties:!1,required:["blankLine","prev","next"]},minItems:1}},additionalProperties:!1,required:["enforce"]},{type:"string",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(e){let t=[];t[0]=e.options[0]||"always",t[1]=e.options[1]||{exceptAfterSingleLine:!1};let n="object"==typeof t[0]?t[0].enforce:[{blankLine:t[0],prev:"*",next:"*"}],r=e.sourceCode;function i(e,t,n){let o=r.getTokenAfter(e,{includeComments:!0});return o!==t&&o.loc.start.line-e.loc.end.line<=n?i(o,t,n):e}return{ClassBody(o){let s=o.body;for(let o=0;o<s.length-1;o++){let a=r.getFirstToken(s[o]),{curLast:l,nextFirst:c}=function(e,t){let n=r.getLastToken(e),i=r.getTokenBefore(n),o=r.getFirstToken(t);return l5(n)&&!cp(i,n)&&cp(n,o)?{curLast:i,nextFirst:n}:{curLast:n,nextFirst:o}}(s[o],s[o+1]),p=!!cp(a,l)&&t[1].exceptAfterSingleLine,u=i(l,c,1),f=function e(t,n,i){let o=r.getTokenBefore(t,{includeComments:!0});return o!==n&&t.loc.start.line-o.loc.end.line<=i?e(o,n,i):t}(c,l,1),d=f.loc.start.line-u.loc.end.line>1,m=0!==r.getTokensBetween(u,f,{includeComments:!0}).length,g=i(l,c,0),h=function(e,t){for(let r=n.length-1;r>=0;--r){let i=n[r];if(hf[i.prev].test(e)&&hf[i.next].test(t))return i.blankLine}return null}(s[o],s[o+1]);"never"===h&&d?e.report({node:s[o+1],messageId:"never",fix:e=>m?null:e.replaceTextRange([u.range[1],f.range[0]],"\n")}):"always"!==h||p||d||e.report({node:s[o+1],messageId:"always",fix:e=>m?null:e.insertTextAfter(g,"\n")})}}}}});const hm=Object.values(lW({...hd.meta.schema},{1:{properties:{exceptAfterOverload:{type:"boolean",default:!0}}}}));var hg=lG({name:"lines-between-class-members",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow an empty line between class members"},fixable:"whitespace",hasSuggestions:hd.meta.hasSuggestions,schema:hm,messages:hd.meta.messages},defaultOptions:["always",{exceptAfterOverload:!0,exceptAfterSingleLine:!1}],create(e,[t,n]){let r=hd.create(e),i=n?.exceptAfterOverload&&("always"===t||"string"!=typeof t&&t?.enforce.some(({blankLine:e,prev:t,next:n})=>"always"===e&&"field"!==t&&"field"!==n));return{ClassBody(e){let t=i?e.body.filter(e=>e.type!==gI.AST_NODE_TYPES.TSAbstractMethodDefinition&&e.type!==gI.AST_NODE_TYPES.MethodDefinition||e.value.type!==gI.AST_NODE_TYPES.TSEmptyBodyFunctionExpression):e.body;r.ClassBody({...e,body:t})}}}});const hh={type:"object",properties:{multiline:{type:"object",properties:{delimiter:{$ref:"#/items/0/$defs/multiLineOption"},requireLast:{type:"boolean"}},additionalProperties:!1},singleline:{type:"object",properties:{delimiter:{$ref:"#/items/0/$defs/singleLineOption"},requireLast:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1};var hy=lG({name:"member-delimiter-style",package:"ts",meta:{type:"layout",docs:{description:"Require a specific member delimiter style for interfaces and type literals"},fixable:"whitespace",messages:{unexpectedComma:"Unexpected separator (,).",unexpectedSemi:"Unexpected separator (;).",expectedComma:"Expected a comma.",expectedSemi:"Expected a semicolon."},schema:[{$defs:{multiLineOption:{type:"string",enum:["none","semi","comma"]},singleLineOption:{type:"string",enum:["semi","comma"]},delimiterConfig:hh},type:"object",properties:{...hh.properties,overrides:{type:"object",properties:{interface:{$ref:"#/items/0/$defs/delimiterConfig"},typeLiteral:{$ref:"#/items/0/$defs/delimiterConfig"}},additionalProperties:!1},multilineDetection:{type:"string",enum:["brackets","last-member"]}},additionalProperties:!1}]},defaultOptions:[{multiline:{delimiter:"semi",requireLast:!0},singleline:{delimiter:"semi",requireLast:!1},multilineDetection:"brackets"}],create(e,[t]){let n=e.sourceCode,r=t.overrides??{},i=lW(t,r.interface),o=lW(t,r.typeLiteral);function s(r){let s=r.type===gI.AST_NODE_TYPES.TSInterfaceBody?r.body:r.members,a=r.loc.start.line===r.loc.end.line;"last-member"===t.multilineDetection&&!a&&s.length>0&&s[s.length-1].loc.end.line===r.loc.end.line&&(a=!0);let l=r.type===gI.AST_NODE_TYPES.TSInterfaceBody?i:o,c=a?{...l.singleline,type:"single-line"}:{...l.multiline,type:"multi-line"};s.forEach((t,r)=>{!function(t,r,i){function o(e){return i&&!r.requireLast?"none"===e:r.delimiter===e}let s=null,a=!1,l=n.getLastToken(t,{includeComments:!1});if(!l)return;let c=n.getCommentsAfter(l).pop(),p=n.getLines()[l?.loc.start.line-1],u=o("semi"),f=o("comma"),d=o("none");";"===l.value?f?s="expectedComma":d&&(a=!0,s="unexpectedSemi"):","===l.value?u?s="expectedSemi":d&&(a=!0,s="unexpectedComma"):u?(a=!0,s="expectedSemi"):f&&(a=!0,s="expectedComma"),s&&e.report({node:l,loc:{start:{line:l.loc.end.line,column:l.loc.end.column},end:{line:l.loc.end.line,column:l.loc.end.column}},messageId:s,fix:function({optsNone:e,optsSemi:t,lastToken:n,commentsAfterLastToken:r,missingDelimiter:i,lastTokenLine:o,isSingleLine:s}){return!e||n.loc.start.column===o.length-1||r&&(r.loc.end.line>n.loc.end.line||r.loc.end.column===o.length)||s?r=>{if(e)return r.remove(n);let o=t?";":",";return i?r.insertTextAfter(n,o):r.replaceText(n,o)}:null}({optsNone:d,optsSemi:u,lastToken:l,commentsAfterLastToken:c,missingDelimiter:a,lastTokenLine:p,isSingleLine:"single-line"===r.type})})}(t,c??{},r===s.length-1)})}return{TSInterfaceBody:s,TSTypeLiteral:s}}}),hE=lG({name:"no-extra-parens",package:"js",meta:{type:"layout",docs:{description:"Disallow unnecessary parentheses"},fixable:"code",schema:{anyOf:[{type:"array",items:[{type:"string",enum:["functions"]}],minItems:0,maxItems:1},{type:"array",items:[{type:"string",enum:["all"]},{type:"object",properties:{conditionalAssign:{type:"boolean"},ternaryOperandBinaryExpressions:{type:"boolean"},nestedBinaryExpressions:{type:"boolean"},returnAssign:{type:"boolean"},ignoreJSX:{type:"string",enum:["none","all","single-line","multi-line"]},enforceForArrowConditionals:{type:"boolean"},enforceForSequenceExpressions:{type:"boolean"},enforceForNewInMemberExpressions:{type:"boolean"},enforceForFunctionPrototypeMethods:{type:"boolean"},allowParensAfterCommentPattern:{type:"string"},nestedConditionalExpressions:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpected:"Unnecessary parentheses around expression."}},create(e){let t,n=e.sourceCode,r=new WeakSet,i="functions"!==e.options[0],o=i&&e.options[1]&&!1===e.options[1].conditionalAssign,s=i&&e.options[1]&&!1===e.options[1].ternaryOperandBinaryExpressions,a=i&&e.options[1]&&!1===e.options[1].nestedBinaryExpressions,l=i&&e.options[1]&&!1===e.options[1].returnAssign,c=i&&e.options[1]&&e.options[1].ignoreJSX,p=i&&e.options[1]&&!1===e.options[1].enforceForArrowConditionals,u=i&&e.options[1]&&!1===e.options[1].enforceForSequenceExpressions,f=i&&e.options[1]&&!1===e.options[1].enforceForNewInMemberExpressions,d=i&&e.options[1]&&!1===e.options[1].enforceForFunctionPrototypeMethods,m=i&&e.options[1]&&e.options[1].allowParensAfterCommentPattern,g=i&&e.options[1]&&!1===e.options[1].nestedConditionalExpressions,h=ch({type:"AssignmentExpression"}),y=ch({type:"UpdateExpression"});function E(e){let t=l0(e);if("CallExpression"!==t.type)return!1;let n=l0(t.callee);return"MemberExpression"===n.type&&"FunctionExpression"===n.object.type&&["call","apply"].includes(lZ(n))}function T(e){if("JSXElement"===e.type||"JSXFragment"===e.type){let t=e.loc.start.line===e.loc.end.line;switch(c){case"all":return!1;case"multi-line":return t;case"single-line":return!t}}return!("SequenceExpression"===e.type&&u||E(e)&&d)&&(i||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type)}function b(e){return cT(e,n,1)}function S(e){return cT(e,n,2)}function x(e){return T(e)&&b(e)}function P(e){return T(e)&&S(e)}function v(e,t){return!!(T(e)&&b(e)&&(ch(e)>=t||S(e)))}function k(e){return o&&e.test&&"AssignmentExpression"===e.test.type}function _(e){let t=n.getLastToken(e),r=n.getTokenBefore(t);return e.arguments.length>0||l8(r)&&l7(t)&&e.callee.range[1]<e.range[1]}function A(e){return"AssignmentExpression"===e.type||"ConditionalExpression"===e.type&&("AssignmentExpression"===e.consequent.type||"AssignmentExpression"===e.alternate.type)||"left"in e&&(!!e.left&&"AssignmentExpression"===e.left.type||!!e.right&&"AssignmentExpression"===e.right.type)}function Y(e){return!!l&&!!function(e){for(let t=e;t;t=t.parent)if("ReturnStatement"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"!==t.body.type)return!0;return!1}(e)&&("ReturnStatement"===e.type?e.argument&&A(e.argument):"ArrowFunctionExpression"===e.type&&"BlockStatement"!==e.body.type?A(e.body):A(e))}function C(e,t){return e.loc.end.line===t.loc.start.line?x(t):P(t)}function w(e){let t=l0(e);return"CallExpression"===t.type&&"FunctionExpression"===t.callee.type}function L(e){return!!(e&&("Identifier"===e.type||"MemberExpression"===e.type))}function I(i){let o=n.getTokenBefore(i),s=n.getTokenAfter(i);if(!S(i)){if(r.has(n.getFirstToken(i))||w(i)&&!("callee"in i&&b(i.callee)))return;if(m){let e=n.getCommentsBefore(o),t=e.length,r=RegExp(m,"u");if(t>0&&r.test(e[t-1].value))return}}function a(){e.report({node:i,loc:o.loc,messageId:"unexpected",fix:"Literal"!==i.type||"string"!=typeof i.value||S(i)||!cc(i.parent)?e=>{let t=n.text.slice(o.range[1],s.range[0]);return e.replaceTextRange([o.range[0],s.range[1]],(!function(e){let t=n.getTokenBefore(e),r=n.getTokenBefore(t,{includeComments:!0}),i=n.getTokenAfter(t,{includeComments:!0});return r&&r.range[1]===t.range[0]&&t.range[1]===i.range[0]&&!cE(r,i)}(i)?"":" ")+t+(!function(e){let t=n.getTokensAfter(e,{count:2}),r=t[0],i=t[1],o=n.getLastToken(e);return r&&i&&!n.isSpaceBetween(r,i)&&!cE(o,i)}(i)?"":" "))}:null})}if(t)return void t.reports.push({node:i,finishReport:a});a()}function O(e){"argument"in e&&e.argument&&v(e.argument,ch(e))&&I(e.argument)}function D(e){let t=e.object,n=e.object.type;for(;"MemberExpression"===n&&"object"in t;)n=(t=t.object).type;return"CallExpression"===n}function V(e){let t=e.callee;v(t,ch(e))&&(P(t)||!(w(e)||"NewExpression"===t.type&&!_(t)&&!("NewExpression"===e.type&&!_(e))||"NewExpression"===e.type&&"MemberExpression"===t.type&&D(t)||(!("optional"in e)||!e.optional)&&"ChainExpression"===t.type))&&I(e.callee),e.arguments.filter(e=>v(e,h)).forEach(I)}function B(e){let t=ch(e),n=ch(e.left),r=ch(e.right),i="**"===e.operator,o=a&&("BinaryExpression"===e.left.type||"LogicalExpression"===e.left.type),s=a&&("BinaryExpression"===e.right.type||"LogicalExpression"===e.right.type);!o&&x(e.left)&&(!(["AwaitExpression","UnaryExpression"].includes(e.left.type)&&i)&&!cl(e.left,e)&&(n>t||n===t&&!i)||S(e.left))&&I(e.left),!s&&x(e.right)&&(!cl(e.right,e)&&(r>t||r===t&&i)||S(e.right))&&I(e.right)}function N(e){e.superClass&&(ch(e.superClass)>y?x(e.superClass):P(e.superClass))&&I(e.superClass)}function j(e){v(e.argument,h)&&I(e.argument)}function M(e){let t=b(e)?n.getTokenBefore(e):n.getFirstToken(e),i=n.getTokenAfter(t,cd),o=i?n.getTokenAfter(i):null,s=i?n.getTokenAfter(i,cu):null;l8(t)&&(cn(i)||"Keyword"===i.type&&("function"===i.value||"class"===i.value||"let"===i.value&&s&&(ce(s)||"Identifier"===s.type))||i&&"Identifier"===i.type&&"async"===i.value&&o&&"Keyword"===o.type&&"function"===o.value)&&r.add(i),("ExportDefaultDeclaration"===e.parent.type?v(e,h):x(e))&&I(e)}return{ArrayExpression(e){e.elements.filter(e=>!!e&&v(e,h)).forEach(I)},ArrayPattern(e){e.elements.filter(e=>!!e&&L(e)&&x(e)).forEach(I)},ArrowFunctionExpression(e){if(!Y(e)&&("ConditionalExpression"!==e.body.type||!p)&&"BlockStatement"!==e.body.type){let t=n.getFirstToken(e.body,cd);l8(n.getTokenBefore(t))&&cn(t)&&r.add(t),v(e.body,h)&&I(e.body)}},AssignmentExpression(e){L(e.left)&&x(e.left)&&(!function({left:e,operator:t,right:n}){if("Identifier"===e.type&&["=","&&=","||=","??="].includes(t)){let e=n.type;if("ArrowFunctionExpression"===e||("FunctionExpression"===e||"ClassExpression"===e)&&!n.id)return!0}return!1}(e)||S(e.left))&&I(e.left),!Y(e)&&v(e.right,ch(e))&&I(e.right)},BinaryExpression(e){t&&"in"===e.operator&&t.inExpressionNodes.push(e),B(e)},CallExpression:V,ConditionalExpression(e){if(Y(e))return;let t=new Set(["BinaryExpression","LogicalExpression"]);!(s&&t.has(e.test.type))&&!(g&&["ConditionalExpression"].includes(e.test.type))&&!k(e)&&v(e.test,ch({type:"LogicalExpression",operator:"||"}))&&I(e.test),!(s&&t.has(e.consequent.type))&&!(g&&["ConditionalExpression"].includes(e.consequent.type))&&v(e.consequent,h)&&I(e.consequent),!(s&&t.has(e.alternate.type))&&!(g&&["ConditionalExpression"].includes(e.alternate.type))&&v(e.alternate,h)&&I(e.alternate)},DoWhileStatement(e){x(e.test)&&!k(e)&&I(e.test)},ExportDefaultDeclaration:e=>M(e.declaration),ExpressionStatement:e=>M(e.expression),ForInStatement(e){if("VariableDeclaration"!==e.left.type){let t=n.getFirstToken(e.left,cd);"let"===t.value&&ce(n.getTokenAfter(t,cu))&&r.add(t)}x(e.left)&&I(e.left),x(e.right)&&I(e.right)},ForOfStatement(e){if("VariableDeclaration"!==e.left.type){let t=n.getFirstToken(e.left,cd);"let"===t.value&&r.add(t)}x(e.left)&&I(e.left),v(e.right,h)&&I(e.right)},ForStatement(e){if(e.test&&x(e.test)&&!k(e)&&I(e.test),e.update&&x(e.update)&&I(e.update),e.init){if("VariableDeclaration"!==e.init.type){let t=n.getFirstToken(e.init,cd);"let"===t.value&&ce(n.getTokenAfter(t,cu))&&r.add(t)}t={upper:t,inExpressionNodes:[],reports:[]},x(e.init)&&I(e.init)}},"ForStatement > *.init:exit":function(e){t?.reports.length&&t.inExpressionNodes.forEach(n=>{var r;let i=(function(e,t){let n=[e],r=e;for(;r!==t;){if(null==(r=r.parent))throw Error("Nodes are not in the ancestor-descendant relationship.");n.push(r)}return n})(n,e).reverse(),o=null;for(let e=0;e<i.length;e++){let n=i[e];if(e<i.length-1&&function(e,t){switch(e.type){case"ArrayExpression":case"ArrayPattern":case"BlockStatement":case"ObjectExpression":case"ObjectPattern":case"TemplateLiteral":return!0;case"ArrowFunctionExpression":case"FunctionExpression":return e.params.includes(t);case"CallExpression":case"NewExpression":return e.arguments.includes(t);case"MemberExpression":return e.computed&&e.property===t;case"ConditionalExpression":return e.consequent===t;default:return!1}}(n,i[e+1]))return;if(b(n))if(!function(e){return t?.reports.some(t=>t.node===e)}(n))return;else{if(S(n))return;o||(o=n)}}o&&(r=o,t&&(t.reports=t.reports.filter(e=>e.node!==r)))});let{upper:n,inExpressionNodes:r,reports:i}=t??{};n?(n.inExpressionNodes.push(...r??[]),n.reports.push(...i??[])):i?.forEach(({finishReport:e})=>e()),t=n},IfStatement(e){x(e.test)&&!k(e)&&I(e.test)},ImportExpression(e){let{source:t}=e;"SequenceExpression"===t.type?P(t)&&I(t):x(t)&&I(t)},LogicalExpression:B,MemberExpression(e){var t;let n=function e(t){return"MemberExpression"===t.type&&("NewExpression"===t.parent.type&&t.parent.callee===t||"object"in t.parent&&t.parent.object===t&&e(t.parent))}(e)&&D(e)?P(e.object):x(e.object)&&!(E(e.parent)&&"callee"in e.parent&&e.parent.callee===e&&d);n&&ch(e.object)>=ch(e)&&(e.computed||!("Literal"===(t=e.object).type&&"number"==typeof t.value&&lJ.test(t.raw)||"Literal"===e.object.type&&"regex"in e.object&&e.object.regex))&&I(e.object),n&&"CallExpression"===e.object.type&&I(e.object),n&&!f&&"NewExpression"===e.object.type&&_(e.object)&&I(e.object),n&&e.optional&&"ChainExpression"===e.object.type&&I(e.object),e.computed&&x(e.property)&&I(e.property)},"MethodDefinition[computed=true]":function(e){v(e.key,h)&&I(e.key)},NewExpression:V,ObjectExpression(e){e.properties.filter(e=>"Property"===e.type&&e.value&&v(e.value,h)).forEach(e=>I(e.value))},ObjectPattern(e){e.properties.filter(e=>{let t=e.value;return t&&L(t)&&x(t)}).forEach(e=>I(e.value))},Property(e){if(e.computed){let{key:t}=e;t&&v(t,h)&&I(t)}},PropertyDefinition(e){e.computed&&v(e.key,h)&&I(e.key),e.value&&v(e.value,h)&&I(e.value)},RestElement(e){let t=e.argument;L(t)&&x(t)&&I(t)},ReturnStatement(e){let t=n.getFirstToken(e);!Y(e)&&e.argument&&t&&C(t,e.argument)&&!("Literal"===e.argument.type&&"regex"in e.argument&&e.argument.regex)&&I(e.argument)},SequenceExpression(e){let t=ch(e);e.expressions.filter(e=>v(e,t)).forEach(I)},SwitchCase(e){e.test&&x(e.test)&&I(e.test)},SwitchStatement(e){x(e.discriminant)&&I(e.discriminant)},ThrowStatement(e){let t=n.getFirstToken(e);t&&e.argument&&C(t,e.argument)&&I(e.argument)},UnaryExpression:O,UpdateExpression(e){if(e.prefix)O(e);else{let{argument:t}=e,r=n.getLastToken(e);t.loc.end.line===r.loc.start.line?O(e):P(t)&&I(t)}},AwaitExpression:O,VariableDeclarator(e){e.init&&v(e.init,h)&&!("Literal"===e.init.type&&"regex"in e.init&&e.init.regex)&&I(e.init)},WhileStatement(e){x(e.test)&&!k(e)&&I(e.test)},WithStatement(e){x(e.object)&&I(e.object)},YieldExpression(e){if(e.argument){let t=n.getFirstToken(e);(ch(e.argument)>=ch(e)&&t&&C(t,e.argument)||P(e.argument))&&I(e.argument)}},ClassDeclaration:N,ClassExpression:N,SpreadElement:j,SpreadProperty:j,TemplateLiteral(e){e.expressions.filter(e=>e&&x(e)).forEach(I)},AssignmentPattern(e){let{left:t,right:n}=e;L(t)&&x(t)&&I(t),n&&v(n,h)&&I(n)},TSStringKeyword(e){x(e)&&I(e)}}}}),hT=lG({name:"no-extra-parens",package:"ts",meta:{type:"layout",docs:{description:"Disallow unnecessary parentheses"},fixable:"code",hasSuggestions:hE.meta.hasSuggestions,schema:hE.meta.schema,messages:hE.meta.messages},defaultOptions:["all"],create(e){let t=e.sourceCode,n=hE.create(e);function r(e){let t=n.BinaryExpression,r=gO.isTypeAssertion(e.left),i=gO.isTypeAssertion(e.right);if(!r||!i)return t(r?{...e,left:{...e.left,type:gI.AST_NODE_TYPES.SequenceExpression}}:i?{...e,right:{...e.right,type:gI.AST_NODE_TYPES.SequenceExpression}}:e)}function i(e){let r=n.CallExpression;return r(gO.isTypeAssertion(e.callee)?{...e,callee:{...e.callee,type:gI.AST_NODE_TYPES.SequenceExpression}}:e.typeArguments&&1===e.arguments.length&&t.getTokenAfter(e.callee,gO.isOpeningParenToken)!==t.getTokenBefore(e.arguments[0],gO.isOpeningParenToken)?{...e,arguments:[{...e.arguments[0],type:gI.AST_NODE_TYPES.SequenceExpression}]}:e)}function o(e){let t=n.UnaryExpression;return t(gO.isTypeAssertion(e.argument)?{...e,argument:{...e.argument,type:gI.AST_NODE_TYPES.SequenceExpression}}:e)}return Object.assign({},n,{ArrayExpression:e=>n.ArrayExpression({...e,elements:e.elements.map(e=>gO.isTypeAssertion(e)?{...e,type:gI.AST_NODE_TYPES.FunctionExpression}:e)}),ArrowFunctionExpression(e){if(!gO.isTypeAssertion(e.body))return n.ArrowFunctionExpression(e)},AwaitExpression:e=>gO.isTypeAssertion(e.argument)?n.AwaitExpression({...e,argument:{...e.argument,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.AwaitExpression(e),BinaryExpression:r,CallExpression:i,ClassDeclaration:e=>e.superClass?.type===gI.AST_NODE_TYPES.TSAsExpression?n.ClassDeclaration({...e,superClass:{...e.superClass,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ClassDeclaration(e),ClassExpression:e=>e.superClass?.type===gI.AST_NODE_TYPES.TSAsExpression?n.ClassExpression({...e,superClass:{...e.superClass,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ClassExpression(e),ConditionalExpression:e=>gO.isTypeAssertion(e.test)?n.ConditionalExpression({...e,test:{...e.test,type:gI.AST_NODE_TYPES.SequenceExpression}}):gO.isTypeAssertion(e.consequent)?n.ConditionalExpression({...e,consequent:{...e.consequent,type:gI.AST_NODE_TYPES.SequenceExpression}}):gO.isTypeAssertion(e.alternate)?n.ConditionalExpression({...e,alternate:{...e.alternate,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ConditionalExpression(e),ForStatement:e=>e.init&&gO.isTypeAssertion(e.init)?n.ForStatement({...e,init:null}):e.test&&gO.isTypeAssertion(e.test)?n.ForStatement({...e,test:null}):e.update&&gO.isTypeAssertion(e.update)?n.ForStatement({...e,update:null}):n.ForStatement(e),"ForStatement > *.init:exit":function(e){if(!gO.isTypeAssertion(e))return n["ForStatement > *.init:exit"](e)},LogicalExpression:r,MemberExpression:e=>gO.isTypeAssertion(e.object)?n.MemberExpression({...e,object:{...e.object,type:gI.AST_NODE_TYPES.SequenceExpression}}):gO.isTypeAssertion(e.property)?n.MemberExpression({...e,property:{...e.property,type:gI.AST_NODE_TYPES.FunctionExpression}}):n.MemberExpression(e),NewExpression:i,SpreadElement(e){if(!gO.isTypeAssertion(e.argument))return n.SpreadElement(e)},SwitchCase(e){if(e.test&&!gO.isTypeAssertion(e.test))return n.SwitchCase(e)},ThrowStatement(e){if(e.argument&&!gO.isTypeAssertion(e.argument))return n.ThrowStatement(e)},UnaryExpression:o,UpdateExpression:e=>gO.isTypeAssertion(e.argument)?o(e):n.UpdateExpression(e),VariableDeclarator:e=>gO.isTypeAssertion(e.init)?n.VariableDeclarator({...e,type:gI.AST_NODE_TYPES.VariableDeclarator,init:{...e.init,type:gI.AST_NODE_TYPES.FunctionExpression}}):n.VariableDeclarator(e),YieldExpression(e){if(e.argument&&!gO.isTypeAssertion(e.argument))return n.YieldExpression(e)},ForInStatement(e){if(!gO.isTypeAssertion(e.right))return n.ForInStatement(e)},ForOfStatement:e=>gO.isTypeAssertion(e.right)?n.ForOfStatement({...e,type:gI.AST_NODE_TYPES.ForOfStatement,right:{...e.right,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ForOfStatement(e),TSStringKeyword:e=>n.TSStringKeyword({...e,type:gI.AST_NODE_TYPES.FunctionExpression})})}}),hb=lG({name:"no-extra-semi",package:"js",meta:{type:"layout",docs:{description:"Disallow unnecessary semicolons"},fixable:"code",schema:[],messages:{unexpected:"Unnecessary semicolon."}},create(e){let t=e.sourceCode;function n(n){e.report({node:n,messageId:"unexpected",fix:!function(e){let n=t.getTokenAfter(e);return!n||"String"!==n.type||!cc(t.getNodeByRangeIndex(n.range[0]).parent)}(n)?null:t=>new cv(t,e.sourceCode).retainSurroundingTokens(n).remove(n)})}function r(e){for(let r=e;"Punctuator"===r.type&&!cr(r);r=t.getTokenAfter(r))l5(r)&&n(r)}return{EmptyStatement(e){["ForStatement","ForInStatement","ForOfStatement","WhileStatement","DoWhileStatement","IfStatement","LabeledStatement","WithStatement"].includes(e.parent.type)||n(e)},ClassBody(e){r(t.getFirstToken(e,1))},"MethodDefinition, PropertyDefinition, StaticBlock":function(e){r(t.getTokenAfter(e))}}}}),hS=lG({name:"no-extra-semi",package:"ts",meta:{type:"layout",docs:{description:"Disallow unnecessary semicolons"},fixable:"code",hasSuggestions:hb.meta.hasSuggestions,schema:hb.meta.schema,messages:hb.meta.messages},defaultOptions:[],create(e){let t=hb.create(e);return{...t,"TSAbstractMethodDefinition, TSAbstractPropertyDefinition":function(e){t["MethodDefinition, PropertyDefinition, StaticBlock"]?.(e)}}}});const hx={oneOf:[{type:"string",enum:["always","never"]},{type:"object",properties:{multiline:{type:"boolean"},minProperties:{type:"integer",minimum:0},consistent:{type:"boolean"}},additionalProperties:!1,minProperties:1}]};function hP(e){let t=!1,n=Number.POSITIVE_INFINITY,r=!1;return e?"always"===e?n=0:"never"===e?n=Number.POSITIVE_INFINITY:(t=!!e.multiline,n=e.minProperties||Number.POSITIVE_INFINITY,r=!!e.consistent):r=!0,{multiline:t,minProperties:n,consistent:r}}function hv(e){return"object"==typeof e&&null!==e}function hk(e){return hv(e)||"string"==typeof e}var h_=lG({name:"object-curly-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent line breaks after opening and before closing braces"},fixable:"whitespace",schema:[{oneOf:[hx,{type:"object",properties:{ObjectExpression:hx,ObjectPattern:hx,ImportDeclaration:hx,ExportDeclaration:hx,TSTypeLiteral:hx,TSInterfaceBody:hx},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(e){let t=e.sourceCode,n=function(e){if(hv(e)&&Object.values(e).some(hk))return{ObjectExpression:hP(e.ObjectExpression),ObjectPattern:hP(e.ObjectPattern),ImportDeclaration:hP(e.ImportDeclaration),ExportNamedDeclaration:hP(e.ExportDeclaration),TSTypeLiteral:hP(e.TSTypeLiteral),TSInterfaceBody:hP(e.TSInterfaceBody)};let t=hP(e);return{ObjectExpression:t,ObjectPattern:t,ImportDeclaration:t,ExportNamedDeclaration:t,TSTypeLiteral:t,TSInterfaceBody:t}}(e.options[0]);function r(r){var i,o;let s,a,l=n[r.type];if("ImportDeclaration"===r.type&&!r.specifiers.some(e=>"ImportSpecifier"===e.type)||"ExportNamedDeclaration"===r.type&&!r.specifiers.some(e=>"ExportSpecifier"===e.type))return;let c=t.getFirstToken(r,e=>"{"===e.value);s="ObjectPattern"===r.type&&r.typeAnnotation?t.getTokenBefore(r.typeAnnotation):t.getLastToken(r,e=>"}"===e.value);let p=t.getTokenAfter(c,{includeComments:!0}),u=t.getTokenBefore(s,{includeComments:!0}),f=(i=p,o=u,(a="ObjectExpression"===r.type||"ObjectPattern"===r.type?r.properties:"TSTypeLiteral"===r.type?r.members:"TSInterfaceBody"===r.type?r.body:r.specifiers.filter(e=>"ImportSpecifier"===e.type||"ExportSpecifier"===e.type)).length>=l.minProperties||l.multiline&&a.length>0&&i.loc.start.line!==o.loc.end.line),d=ci(p),m=ci(u);if(p=t.getTokenAfter(c),u=t.getTokenBefore(s),f)cp(c,p)&&e.report({messageId:"expectedLinebreakAfterOpeningBrace",node:r,loc:c.loc,fix:e=>d?null:e.insertTextAfter(c,"\n")}),cp(u,s)&&e.report({messageId:"expectedLinebreakBeforeClosingBrace",node:r,loc:s.loc,fix:e=>m?null:e.insertTextBefore(s,"\n")});else{let t=l.consistent,n=!cp(c,p),i=!cp(u,s);(!t&&n||t&&n&&!i)&&e.report({messageId:"unexpectedLinebreakAfterOpeningBrace",node:r,loc:c.loc,fix:e=>d?null:e.removeRange([c.range[1],p.range[0]])}),(!t&&i||t&&!n&&i)&&e.report({messageId:"unexpectedLinebreakBeforeClosingBrace",node:r,loc:s.loc,fix:e=>m?null:e.removeRange([u.range[1],s.range[0]])})}}return{ObjectExpression:r,ObjectPattern:r,ImportDeclaration:r,ExportNamedDeclaration:r,TSTypeLiteral:r,TSInterfaceBody:r}}});const hA={multiline:!1,minProperties:Number.POSITIVE_INFINITY,consistent:!0};var hY=lG({name:"object-curly-newline",package:"ts",meta:{...h_.meta,docs:{description:"Enforce consistent line breaks after opening and before closing braces"}},defaultOptions:[{ObjectExpression:hA,ObjectPattern:hA,ImportDeclaration:hA,ExportDeclaration:hA,TSTypeLiteral:hA,TSInterfaceBody:hA}],create:e=>h_.create(e)}),hC=lG({name:"object-curly-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing inside braces"},fixable:"whitespace",schema:[{type:"string",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(e){let t="always"===e.options[0],n=e.sourceCode;function r(n){return!!e.options[1]&&!t===e.options[1][n]}let i={spaced:t,arraysInObjectsException:r("arraysInObjects"),objectsInObjectsException:r("objectsInObjects")};function o(t,r,o,s,a){if(cp(r,o)){let s=n.isSpaceBetween(r,o);i.spaced&&!s&&e.report({node:t,loc:r.loc,messageId:"requireSpaceAfter",data:{token:r.value},fix:e=>e.insertTextAfter(r," ")}),!i.spaced&&s&&"Line"!==o.type&&function(t,n){let r=e.sourceCode.getTokenAfter(n,{includeComments:!0});e.report({node:t,loc:{start:n.loc.end,end:r.loc.start},messageId:"unexpectedSpaceAfter",data:{token:n.value},fix:e=>e.removeRange([n.range[1],r.range[0]])})}(t,r)}if(cp(s,a)){let r=(i.arraysInObjectsException&&ct(s)||i.objectsInObjectsException&&cr(s))&&n.getNodeByRangeIndex(s.range[0]).type,o=i.arraysInObjectsException&&"ArrayExpression"===r||i.objectsInObjectsException&&("ObjectExpression"===r||"ObjectPattern"===r)?!i.spaced:i.spaced,l=n.isSpaceBetween(s,a);o&&!l&&e.report({node:t,loc:a.loc,messageId:"requireSpaceBefore",data:{token:a.value},fix:e=>e.insertTextBefore(a," ")}),!o&&l&&function(t,n){let r=e.sourceCode.getTokenBefore(n,{includeComments:!0});e.report({node:t,loc:{start:r.loc.end,end:n.loc.start},messageId:"unexpectedSpaceBefore",data:{token:n.value},fix:e=>e.removeRange([r.range[1],n.range[0]])})}(t,a)}}function s(e){if(0===e.properties.length)return;let t=n.getFirstToken(e),r=function(e){let t=e.properties[e.properties.length-1];return n.getTokenAfter(t,cr)}(e),i=n.getTokenAfter(t,{includeComments:!0});o(e,t,i,n.getTokenBefore(r,{includeComments:!0}),r)}return{ObjectPattern:s,ObjectExpression:s,ImportDeclaration:function(e){if(0===e.specifiers.length)return;let t=e.specifiers[0],r=e.specifiers[e.specifiers.length-1];if("ImportSpecifier"!==r.type)return;"ImportSpecifier"!==t.type&&(t=e.specifiers[1]);let i=n.getTokenBefore(t),s=n.getTokenAfter(r,cf),a=n.getTokenAfter(i,{includeComments:!0});o(e,i,a,n.getTokenBefore(s,{includeComments:!0}),s)},ExportNamedDeclaration:function(e){if(0===e.specifiers.length)return;let t=e.specifiers[0],r=e.specifiers[e.specifiers.length-1],i=n.getTokenBefore(t),s=n.getTokenAfter(r,cf),a=n.getTokenAfter(i,{includeComments:!0});o(e,i,a,n.getTokenBefore(s,{includeComments:!0}),s)}}}}),hw=lG({name:"object-curly-spacing",package:"ts",meta:{...hC.meta,docs:{description:"Enforce consistent spacing inside braces"}},defaultOptions:["never"],create(e){let[t,n]=e.options,r="always"===t,i=e.sourceCode||e.getSourceCode();function o(e){return!!n&&!r===n[e]}let s={spaced:r,arraysInObjectsException:o("arraysInObjects"),objectsInObjectsException:o("objectsInObjects")};function a(t,n,r,o,a){if(gO.isTokenOnSameLine(n,r)){let o=i.isSpaceBetween(n,r),a=i.getNodeByRangeIndex(r.range[0]).type,l=s.arraysInObjectsException&&[gI.AST_NODE_TYPES.TSMappedType,gI.AST_NODE_TYPES.TSIndexSignature].includes(a)?!s.spaced:s.spaced;l&&!o&&e.report({node:t,loc:n.loc,messageId:"requireSpaceAfter",data:{token:n.value},fix:e=>e.insertTextAfter(n," ")}),!l&&o&&r.type!==gI.AST_TOKEN_TYPES.Line&&function(t,n){let r=i.getTokenAfter(n,{includeComments:!0});e.report({node:t,loc:{start:n.loc.end,end:r.loc.start},messageId:"unexpectedSpaceAfter",data:{token:n.value},fix:e=>e.removeRange([n.range[1],r.range[0]])})}(t,n)}if(gO.isTokenOnSameLine(o,a)){let n=s.arraysInObjectsException&&gO.isClosingBracketToken(o)||s.objectsInObjectsException&&gO.isClosingBraceToken(o)?i.getNodeByRangeIndex(o.range[0]).type:void 0,r=s.arraysInObjectsException&&n===gI.AST_NODE_TYPES.TSTupleType||s.objectsInObjectsException&&void 0!==n&&[gI.AST_NODE_TYPES.TSMappedType,gI.AST_NODE_TYPES.TSTypeLiteral].includes(n)?!s.spaced:s.spaced,l=i.isSpaceBetween(o,a);r&&!l&&e.report({node:t,loc:a.loc,messageId:"requireSpaceBefore",data:{token:a.value},fix:e=>e.insertTextBefore(a," ")}),!r&&l&&function(t,n){let r=i.getTokenBefore(n,{includeComments:!0});e.report({node:t,loc:{start:r.loc.end,end:n.loc.start},messageId:"unexpectedSpaceBefore",data:{token:n.value},fix:e=>e.removeRange([r.range[1],n.range[0]])})}(t,a)}}return{...hC.create(e),TSMappedType(e){let t=i.getFirstToken(e),n=i.getLastToken(e),r=i.getTokenAfter(t,{includeComments:!0});a(e,t,r,i.getTokenBefore(n,{includeComments:!0}),n)},TSTypeLiteral(e){if(0===e.members.length)return;let t=i.getFirstToken(e),n=function(e){let t=e.members[e.members.length-1];return i.getTokenAfter(t,gO.isClosingBraceToken)}(e),r=i.getTokenAfter(t,{includeComments:!0});a(e,t,r,i.getTokenBefore(n,{includeComments:!0}),n)}}}}),hL=lG({name:"object-property-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce placing object properties on separate lines"},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(e){let t=e.options[0]&&(e.options[0].allowAllPropertiesOnSameLine||e.options[0].allowMultiplePropertiesPerLine),n=t?"propertiesOnNewlineAll":"propertiesOnNewline",r=e.sourceCode;return{ObjectExpression(i){if(t&&i.properties.length>1){let e=r.getFirstToken(i.properties[0]),t=r.getLastToken(i.properties[i.properties.length-1]);if(e.loc.end.line===t.loc.start.line)return}for(let t=1;t<i.properties.length;t++){let o=r.getLastToken(i.properties[t-1]),s=r.getFirstToken(i.properties[t]);o.loc.end.line===s.loc.start.line&&e.report({node:i,loc:s.loc,messageId:n,fix(e){let t=[r.getTokenBefore(s).range[1],s.range[0]];return r.text.slice(t[0],t[1]).trim()?null:e.replaceTextRange(t,"\n")}})}}}}}),hI=lG({name:"object-property-newline",package:"ts",meta:{...hL.meta,docs:{description:"Enforce placing object properties on separate lines"}},defaultOptions:[{allowAllPropertiesOnSameLine:!1,allowMultiplePropertiesPerLine:!1}],create(e){let t=hL.create(e);return{...t,TSTypeLiteral:e=>t.ObjectExpression({...e,properties:e.members}),TSInterfaceBody:e=>t.ObjectExpression({...e,properties:e.body})}}});const hO=/^(?:module\s*\.\s*)?exports(?:\s*\.|\s*\[|$)/u,hD=/^require\(/u,hV=`[${Array.from(new Set(["\r\n","\r","\n","\u2028","\u2029"])).join("")}]`,hB=RegExp(String.raw`^(\s*?${hV})\s*${hV}(\s*;?)$`,"u");function hN(e,t){return{test(n,r){let i=r.getFirstToken(n)?.value===t,o=Array.isArray(e)?e.includes(n.type):e===n.type;return i&&o}}}function hj(e){return{test:(t,n)=>t.loc.start.line===t.loc.end.line&&n.getFirstToken(t).value===e}}function hM(e){return{test:(t,n)=>t.loc.start.line!==t.loc.end.line&&n.getFirstToken(t).value===e}}function hR(e){return{test:t=>t.type===e}}function hF(e){return e&&e.type===gI.AST_NODE_TYPES.ChainExpression?e.expression:e}function hU(e){if(e.type===gI.AST_NODE_TYPES.ExpressionStatement){let t=hF(e.expression);if(t.type===gI.AST_NODE_TYPES.UnaryExpression&&(t=hF(t.argument)),t.type===gI.AST_NODE_TYPES.CallExpression){let e=t.callee;for(;e.type===gI.AST_NODE_TYPES.SequenceExpression;)e=e.expressions[e.expressions.length-1];return gO.isFunction(e)}}return!1}function hq(e,t){if(e.type===gI.AST_NODE_TYPES.DoWhileStatement&&e.body.type===gI.AST_NODE_TYPES.BlockStatement||hU(e))return!0;let n=t.getLastToken(e,gO.isNotSemicolonToken),r=n&&gO.isClosingBraceToken(n)?t.getNodeByRangeIndex(n.range[0]):null;return!!r&&(r.type===gI.AST_NODE_TYPES.BlockStatement||r.type===gI.AST_NODE_TYPES.SwitchStatement)}function hW(e,t){return e.type===gI.AST_NODE_TYPES.ExpressionStatement&&(e.parent?.type===gI.AST_NODE_TYPES.Program||e.parent?.type===gI.AST_NODE_TYPES.BlockStatement&&gO.isFunction(e.parent.parent))&&e.expression.type===gI.AST_NODE_TYPES.Literal&&"string"==typeof e.expression.value&&!gO.isParenthesized(e.expression,t)}function hG(e,t){if(hW(e,t)&&e.parent&&"body"in e.parent&&Array.isArray(e.parent.body)){for(let n of e.parent.body){if(n===e)break;if(!hW(n,t))return!1}return!0}return!1}function hH(e,t){let n=t.getLastToken(e),r=t.getTokenBefore(n),i=t.getTokenAfter(n);return r&&i&&r.range[0]>=e.range[0]&&gO.isSemicolonToken(n)&&n.loc.start.line!==r.loc.end.line&&n.loc.end.line===i.loc.start.line?r:n}function h$(e,t,n){return t+n}const hK={any:{verify:function(){}},never:{verify:function(e,t,n,r){0!==r.length&&e.report({node:n,messageId:"unexpectedBlankLine",fix(t){if(r.length>=2)return null;let n=r[0][0],i=r[0][1],o=n.range[1],s=i.range[0],a=e.getSourceCode().text.slice(o,s).replace(hB,h$);return t.replaceTextRange([o,s],a)}})}},always:{verify:function(e,t,n,r){r.length>0||e.report({node:n,messageId:"expectedBlankLine",fix(r){let i=e.sourceCode,o=hH(t,i),s=i.getFirstTokenBetween(o,n,{includeComments:!0,filter:e=>!gO.isTokenOnSameLine(o,e)||(o=e,!1)})||n,a=gO.isTokenOnSameLine(o,s)?"\n\n":"\n";return r.insertTextAfter(o,a)}})}}},hz={"*":{test:()=>!0},"block-like":{test:hq},exports:{test:function(e){if(e.type===gI.AST_NODE_TYPES.ExpressionStatement){let t=e.expression;if(t.type===gI.AST_NODE_TYPES.AssignmentExpression){let e=t.left;if(e.type===gI.AST_NODE_TYPES.MemberExpression){for(;e.object.type===gI.AST_NODE_TYPES.MemberExpression;)e=e.object;return e.object.type===gI.AST_NODE_TYPES.Identifier&&("exports"===e.object.name||"module"===e.object.name&&e.property.type===gI.AST_NODE_TYPES.Identifier&&"exports"===e.property.name)}}}return!1}},require:{test:function(e){if(e.type===gI.AST_NODE_TYPES.VariableDeclaration){let t=e.declarations[0];if(t?.init){let e=t?.init;for(;e.type===gI.AST_NODE_TYPES.MemberExpression;)e=e.object;if(e.type===gI.AST_NODE_TYPES.CallExpression&&e.callee.type===gI.AST_NODE_TYPES.Identifier)return"require"===e.callee.name}}return!1}},directive:{test:hG},expression:{test:function(e,t){return e.type===gI.AST_NODE_TYPES.ExpressionStatement&&!hG(e,t)}},iife:{test:hU},"multiline-block-like":{test:(e,t)=>e.loc.start.line!==e.loc.end.line&&hq(e,t)},"multiline-expression":{test:(e,t)=>e.loc.start.line!==e.loc.end.line&&e.type===gI.AST_NODE_TYPES.ExpressionStatement&&!hG(e,t)},"multiline-const":hM("const"),"multiline-export":hM("export"),"multiline-let":hM("let"),"multiline-var":hM("var"),"singleline-const":hj("const"),"singleline-export":hj("export"),"singleline-let":hj("let"),"singleline-var":hj("var"),block:hR(gI.AST_NODE_TYPES.BlockStatement),empty:hR(gI.AST_NODE_TYPES.EmptyStatement),function:hR(gI.AST_NODE_TYPES.FunctionDeclaration),"ts-method":hR(gI.AST_NODE_TYPES.TSMethodSignature),break:hN(gI.AST_NODE_TYPES.BreakStatement,"break"),case:hN(gI.AST_NODE_TYPES.SwitchCase,"case"),class:hN(gI.AST_NODE_TYPES.ClassDeclaration,"class"),const:hN(gI.AST_NODE_TYPES.VariableDeclaration,"const"),continue:hN(gI.AST_NODE_TYPES.ContinueStatement,"continue"),debugger:hN(gI.AST_NODE_TYPES.DebuggerStatement,"debugger"),default:hN([gI.AST_NODE_TYPES.SwitchCase,gI.AST_NODE_TYPES.ExportDefaultDeclaration],"default"),do:hN(gI.AST_NODE_TYPES.DoWhileStatement,"do"),export:hN([gI.AST_NODE_TYPES.ExportAllDeclaration,gI.AST_NODE_TYPES.ExportDefaultDeclaration,gI.AST_NODE_TYPES.ExportNamedDeclaration],"export"),for:hN([gI.AST_NODE_TYPES.ForStatement,gI.AST_NODE_TYPES.ForInStatement,gI.AST_NODE_TYPES.ForOfStatement],"for"),if:hN(gI.AST_NODE_TYPES.IfStatement,"if"),import:hN(gI.AST_NODE_TYPES.ImportDeclaration,"import"),let:hN(gI.AST_NODE_TYPES.VariableDeclaration,"let"),return:hN(gI.AST_NODE_TYPES.ReturnStatement,"return"),switch:hN(gI.AST_NODE_TYPES.SwitchStatement,"switch"),throw:hN(gI.AST_NODE_TYPES.ThrowStatement,"throw"),try:hN(gI.AST_NODE_TYPES.TryStatement,"try"),var:hN(gI.AST_NODE_TYPES.VariableDeclaration,"var"),while:hN([gI.AST_NODE_TYPES.WhileStatement,gI.AST_NODE_TYPES.DoWhileStatement],"while"),with:hN(gI.AST_NODE_TYPES.WithStatement,"with"),"cjs-export":{test:(e,t)=>"ExpressionStatement"===e.type&&"AssignmentExpression"===e.expression.type&&hO.test(t.getText(e.expression.left))},"cjs-import":{test:(e,t)=>"VariableDeclaration"===e.type&&e.declarations.length>0&&!!e.declarations[0].init&&hD.test(t.getText(e.declarations[0].init))},enum:hN(gI.AST_NODE_TYPES.TSEnumDeclaration,"enum"),interface:hN(gI.AST_NODE_TYPES.TSInterfaceDeclaration,"interface"),type:hN(gI.AST_NODE_TYPES.TSTypeAliasDeclaration,"type"),"function-overload":{test:e=>"TSDeclareFunction"===e.type}};var hJ=lG({name:"padding-line-between-statements",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow padding lines between statements"},fixable:"whitespace",hasSuggestions:!1,schema:{$defs:{paddingType:{type:"string",enum:Object.keys(hK)},statementType:{anyOf:[{type:"string",enum:Object.keys(hz)},{type:"array",items:{type:"string",enum:Object.keys(hz)},minItems:1,uniqueItems:!0,additionalItems:!1}]}},type:"array",additionalItems:!1,items:{type:"object",properties:{blankLine:{$ref:"#/$defs/paddingType"},prev:{$ref:"#/$defs/statementType"},next:{$ref:"#/$defs/statementType"}},additionalProperties:!1,required:["blankLine","prev","next"]}},messages:{unexpectedBlankLine:"Unexpected blank line before this statement.",expectedBlankLine:"Expected blank line before this statement."}},defaultOptions:[],create(e){let t=e.sourceCode,n=e.options||[],r=null;function i(){r={upper:r,prevNode:null}}function o(){r&&(r=r.upper)}function s(e,n){let r=e;for(;r.type===gI.AST_NODE_TYPES.LabeledStatement;)r=r.body;return Array.isArray(n)?n.some(s.bind(null,r)):hz[n].test(r,t)}function a(i){if(!i.parent||![gI.AST_NODE_TYPES.BlockStatement,gI.AST_NODE_TYPES.Program,gI.AST_NODE_TYPES.StaticBlock,gI.AST_NODE_TYPES.SwitchCase,gI.AST_NODE_TYPES.SwitchStatement,gI.AST_NODE_TYPES.TSInterfaceBody,gI.AST_NODE_TYPES.TSModuleBlock,gI.AST_NODE_TYPES.TSTypeLiteral].includes(i.parent.type))return;let o=r.prevNode;if(o){let r=function(e,t){for(let r=n.length-1;r>=0;--r){let i=n[r];if(s(e,i.prev)&&s(t,i.next))return hK[i.blankLine]}return hK.any}(o,i),a=function(e,n){let r=[],i=hH(e,t);if(n.loc.start.line-i.loc.end.line>=2)do{let e=t.getTokenAfter(i,{includeComments:!0});e.loc.start.line-i.loc.end.line>=2&&r.push([i,e]),i=e}while(i.range[0]<n.range[0]);return r}(o,i);r.verify(e,o,i,a)}r.prevNode=i}function l(e){a(e),i()}return{Program:i,BlockStatement:i,SwitchStatement:i,StaticBlock:i,TSInterfaceBody:i,TSModuleBlock:i,TSTypeLiteral:i,"Program:exit":o,"BlockStatement:exit":o,"SwitchStatement:exit":o,"StaticBlock:exit":o,"TSInterfaceBody:exit":o,"TSModuleBlock:exit":o,"TSTypeLiteral:exit":o,":statement":a,SwitchCase:l,TSDeclareFunction:l,TSMethodSignature:l,"SwitchCase:exit":o,"TSDeclareFunction:exit":o,"TSMethodSignature:exit":o}}}),hX=lG({name:"quote-props",package:"js",meta:{type:"layout",docs:{description:"Require quotes around object literal property names"},schema:{anyOf:[{type:"array",items:[{type:"string",enum:["always","as-needed","consistent","consistent-as-needed"]}],minItems:0,maxItems:1},{type:"array",items:[{type:"string",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(e){let t=e.options[0],n=e.options[1]&&e.options[1].keywords,r=!e.options[1]||!1!==e.options[1].unnecessary,i=e.options[1]&&e.options[1].numbers,o=e.sourceCode;function s(e){return cP.includes(e)}function a(e,t,n=!1){return 1===t.length&&0===t[0].start&&t[0].end===e.length&&(["Identifier","Keyword","Null","Boolean"].includes(t[0].type)||"Numeric"===t[0].type&&!n&&String(+t[0].value)===t[0].value)}function l(e){return"Identifier"===e.type?e.name:e.value}function c(e){return"Literal"===e.type&&"string"==typeof e.value?o.getText(e):`"${"Identifier"===e.type?e.name:e.value}"`}function p(t){let o=t.key;if("ImportAttribute"===t.type||!t.method&&!t.computed&&!t.shorthand)if("Literal"===o.type&&"string"==typeof o.value){let c;try{c=ov(o.value)}catch{return}if(1!==c.length||s(c[0].value)&&n)return;r&&a(o.value,c,i)&&e.report({node:t,messageId:"unnecessarilyQuotedProperty",data:{property:o.value},fix:e=>e.replaceText(o,l(o))})}else if(n&&"Identifier"===o.type&&s(o.name))e.report({node:t,messageId:"unquotedReservedProperty",data:{property:o.name},fix:e=>e.replaceText(o,c(o))});else{var p;i&&"Literal"===o.type&&"Literal"===(p=o).type&&("number"==typeof p.value||"bigint"in p&&p.bigint)&&e.report({node:t,messageId:"unquotedNumericProperty",data:{property:o.value},fix:e=>e.replaceText(o,c(o))})}}function u(t){if("ImportAttribute"!==t.type&&(t.method||t.computed||t.shorthand))return;let n=t.key;("Literal"!==n.type||"string"!=typeof n.value)&&e.report({node:t,messageId:"unquotedPropertyFound",data:{property:n.name||n.value},fix:e=>e.replaceText(n,c(n))})}function f(e,t){m(e.properties.filter(e=>"SpreadElement"!==e.type&&e.key&&!e.method&&!e.computed&&!e.shorthand),t)}function d(e){e&&("consistent"===t&&m(e,!1),"consistent-as-needed"===t&&m(e,!0))}function m(t,r){let i=[],o=[],p=null,u=!1;t.forEach(e=>{let t=e.key;if("Literal"===t.type&&"string"==typeof t.value){if(i.push(e),r){let e;try{e=ov(t.value)}catch{u=!0;return}u=u||!a(t.value,e)||n&&s(e[0].value)}}else n&&r&&"Identifier"===t.type&&s(t.name)?(o.push(e),u=!0,p=t.name):o.push(e)}),r&&i.length&&!u?i.forEach(t=>{let n=t.key;e.report({node:t,messageId:"redundantQuoting",fix:e=>e.replaceText(n,l(n))})}):o.length&&p?o.forEach(t=>{e.report({node:t,messageId:"requireQuotesDueToReservedWord",data:{property:p},fix:e=>e.replaceText(t.key,c(t.key))})}):i.length&&o.length&&o.forEach(t=>{e.report({node:t,messageId:"inconsistentlyQuotedProperty",data:{key:t.key.name||t.key.value},fix:e=>e.replaceText(t.key,c(t.key))})})}return{Property(e){"always"!==t&&t||u(e),"as-needed"===t&&p(e)},ObjectExpression(e){"consistent"===t&&f(e,!1),"consistent-as-needed"===t&&f(e,!0)},ImportAttribute(e){"always"!==t&&t||u(e),"as-needed"===t&&p(e)},ImportDeclaration(e){d(e.attributes)},ExportAllDeclaration(e){d(e.attributes)},ExportNamedDeclaration(e){d(e.attributes)}}}}),hQ=lG({name:"quote-props",package:"ts",meta:{...hX.meta,docs:{description:"Require quotes around object literal, type literal, interfaces and enums property names"}},defaultOptions:["always"],create(e){let t=hX.create(e);return{...t,TSPropertySignature:e=>t.Property({...e,type:gI.AST_NODE_TYPES.Property,shorthand:!1,method:!1,kind:"init",value:null}),TSMethodSignature:e=>t.Property({...e,type:gI.AST_NODE_TYPES.Property,shorthand:!1,method:!0,kind:"init",value:null}),TSEnumMember:e=>t.Property({...e,type:gI.AST_NODE_TYPES.Property,key:e.id,optional:!1,shorthand:!1,method:!1,kind:"init",value:null}),TSTypeLiteral:e=>t.ObjectExpression({...e,type:gI.AST_NODE_TYPES.ObjectExpression,properties:e.members}),TSInterfaceBody:e=>t.ObjectExpression({...e,type:gI.AST_NODE_TYPES.ObjectExpression,properties:e.body}),TSEnumDeclaration(e){let n=e.body?.members||e.members;return t.ObjectExpression({...e,type:gI.AST_NODE_TYPES.ObjectExpression,properties:n.map(e=>({...e,key:e.id}))})}}}});function hZ(e){let t=this.quote,n=e[0];return t===n?e:t+e.slice(1,-1).replace(/\\(\$\{|\r\n?|\n|.)|["'`]|\$\{|(\r\n?|\n)/gu,(e,r,i)=>r===n||"`"===n&&"${"===r?r:e===t||"`"===t&&"${"===e?`\\${e}`:i&&"`"===n?"\\n":e)+t}const h0={double:{quote:'"',alternateQuote:"'",description:"doublequote",convert:hZ},single:{quote:"'",alternateQuote:'"',description:"singlequote",convert:hZ},backtick:{quote:"`",alternateQuote:'"',description:"backtick",convert:hZ}},h1=RegExp(String.raw`(^|[^\\])(\\\\)*[${Array.from(l$).join("")}]`,"u");var h2=lG({name:"quotes",package:"js",meta:{type:"layout",docs:{description:"Enforce the consistent use of either backticks, double, or single quotes"},fixable:"code",schema:[{type:"string",enum:["single","double","backtick"]},{anyOf:[{type:"string",enum:["avoid-escape"]},{type:"object",properties:{avoidEscape:{type:"boolean"},allowTemplateLiterals:{anyOf:[{type:"boolean"},{type:"string",enum:["never","avoidEscape","always"]}]},ignoreStringLiterals:{type:"boolean"}},additionalProperties:!1}]}],messages:{wrongQuotes:"Strings must use {{description}}."}},create(e){let t=e.options[0],n=h0[t||"double"],r=e.options[1],i=e.sourceCode,o=!1,s=!1,a=!1,l=!1;return"object"==typeof r?(o=!0===r.avoidEscape,s=!0===r.ignoreStringLiterals,"string"==typeof r.allowTemplateLiterals?l=(a="always"===r.allowTemplateLiterals)||"avoidEscape"===r.allowTemplateLiterals:"boolean"==typeof r.allowTemplateLiterals&&(a=!0===r.allowTemplateLiterals,l=!0===r.allowTemplateLiterals)):"avoid-escape"===r&&(o=!0),{Literal(r){if(s)return;let a=r.value,l=r.raw;if(n&&"string"==typeof a){let s="backtick"===t&&function(e){let t=e.parent;if(!t)return!1;switch(t.type){case"ExpressionStatement":return!l2(i,e)&&function(e){if(!e.parent||!cc(e.parent))return!1;let t=e.parent.parent;if(!t||!("body"in t)||!Array.isArray(t.body))return!1;for(let n=0;n<t.body.length;++n){let r=t.body[n];if(r===e.parent)return!0;if(!("ExpressionStatement"===r.type&&"Literal"===r.expression.type&&"string"==typeof r.expression.value&&!l2(i,r.expression)))break}return!1}(e);case"Property":case"PropertyDefinition":case"MethodDefinition":return t.key===e&&!t.computed;case"ImportDeclaration":case"ExportNamedDeclaration":return t.source===e;case"ExportAllDeclaration":return t.exported===e||t.source===e;case"ImportSpecifier":return t.imported===e;case"ExportSpecifier":return t.local===e||t.exported===e;case"ImportAttribute":return t.value===e;default:return!1}}(r)||!!r.parent&&("JSXAttribute"===r.parent.type||"JSXElement"===r.parent.type||"JSXFragment"===r.parent.type)||cg(l,n.quote);!s&&o&&(s=cg(l,n.alternateQuote)&&l.includes(n.quote)),s||e.report({node:r,messageId:"wrongQuotes",data:{description:n.description},fix:e=>"backtick"===t&&lX.test(l)?null:e.replaceText(r,n.convert(r.raw))})}},TemplateLiteral(r){!(a||"backtick"===t||"TaggedTemplateExpression"===r.parent.type&&r===r.parent.quasi||r.expressions.length>0||r.quasis.length>=1&&h1.test(r.quasis[0].value.raw))&&(l&&o&&i.getText(r).includes(n.quote)||e.report({node:r,messageId:"wrongQuotes",data:{description:n.description},fix:e=>cc(r.parent)&&!l2(i,r)?null:e.replaceText(r,n.convert(i.getText(r)))}))}}}}),h3=lG({name:"quotes",package:"ts",meta:{type:"layout",docs:{description:"Enforce the consistent use of either backticks, double, or single quotes"},fixable:"code",hasSuggestions:h2.meta.hasSuggestions,messages:h2.meta.messages,schema:h2.meta.schema},defaultOptions:["double",{allowTemplateLiterals:"never",avoidEscape:!1,ignoreStringLiterals:!1}],create(e,[t]){let n=h2.create(e);return{Literal(e){"backtick"===t&&function(e){let t=e.parent;switch(t?.type){case gI.AST_NODE_TYPES.TSAbstractMethodDefinition:case gI.AST_NODE_TYPES.TSMethodSignature:case gI.AST_NODE_TYPES.TSPropertySignature:case gI.AST_NODE_TYPES.TSModuleDeclaration:case gI.AST_NODE_TYPES.TSExternalModuleReference:return!0;case gI.AST_NODE_TYPES.TSEnumMember:return e===t.id;case gI.AST_NODE_TYPES.TSAbstractPropertyDefinition:case gI.AST_NODE_TYPES.PropertyDefinition:return t.key===e&&!t.computed;case gI.AST_NODE_TYPES.TSLiteralType:return t.parent?.type===gI.AST_NODE_TYPES.TSImportType;default:return!1}}(e)||n.Literal(e)},TemplateLiteral(e){n.TemplateLiteral(e)}}}}),h4=lG({name:"semi-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after semicolons"},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(e){let t=e.options[0],n=e.sourceCode,r=!1,i=!0;function o(t,o){if(l5(t)){if(function(e){let t=n.getTokenBefore(e);return t&&cp(t,e)&&n.isSpaceBetween(t,e)}(t)){if(!r){let r=n.getTokenBefore(t),i={start:r.loc.end,end:t.loc.start};e.report({node:o,loc:i,messageId:"unexpectedWhitespaceBefore",fix:e=>e.removeRange([r.range[1],t.range[0]])})}}else if(r){let n=t.loc;e.report({node:o,loc:n,messageId:"missingWhitespaceBefore",fix:e=>e.insertTextBefore(t," ")})}if(!function(e){let t=n.getTokenBefore(e);return!(t&&cp(e,t))}(t)&&!function(e){let t=n.getTokenAfter(e);return!(t&&cp(e,t))}(t)&&!function(e){let t=n.getTokenAfter(e);return t&&cr(t)||l7(t)}(t)){if(function(e){let t=n.getTokenAfter(e);return t&&cp(e,t)&&n.isSpaceBetween(e,t)}(t)){if(!i){let r=n.getTokenAfter(t),i={start:t.loc.end,end:r.loc.start};e.report({node:o,loc:i,messageId:"unexpectedWhitespaceAfter",fix:e=>e.removeRange([t.range[1],r.range[0]])})}}else if(i){let n=t.loc;e.report({node:o,loc:n,messageId:"missingWhitespaceAfter",fix:e=>e.insertTextAfter(t," ")})}}}}function s(e){o(n.getLastToken(e),e)}return"object"==typeof t&&(r=t.before,i=t.after),{VariableDeclaration:s,ExpressionStatement:s,BreakStatement:s,ContinueStatement:s,DebuggerStatement:s,DoWhileStatement:s,ReturnStatement:s,ThrowStatement:s,ImportDeclaration:s,ExportNamedDeclaration:s,ExportAllDeclaration:s,ExportDefaultDeclaration:s,ForStatement(e){e.init&&o(n.getTokenAfter(e.init),e),e.test&&o(n.getTokenAfter(e.test),e)},PropertyDefinition:s}}}),h6=lG({name:"semi-spacing",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after semicolons"},fixable:"whitespace",hasSuggestions:h4.meta.hasSuggestions,schema:h4.meta.schema,messages:h4.meta.messages},create(e){let t=h4.create(e),n=t.ExpressionStatement,r=[gI.AST_NODE_TYPES.TSDeclareFunction,gI.AST_NODE_TYPES.TSTypeAliasDeclaration].reduce((e,t)=>(e[t]=n,e),{}),i=new Set([gI.AST_NODE_TYPES.TSDeclareFunction]);return{...t,...r,TSTypeAnnotation(e){e.parent&&!i.has(e.parent.type)&&n(e.parent)}}}}),h5=lG({name:"semi",package:"js",meta:{type:"layout",docs:{description:"Require or disallow semicolons instead of ASI"},fixable:"code",schema:{anyOf:[{type:"array",items:[{type:"string",enum:["never"]},{type:"object",properties:{beforeStatementContinuationChars:{type:"string",enum:["always","any","never"]}},additionalProperties:!1}],minItems:0,maxItems:2},{type:"array",items:[{type:"string",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(e){let t=/^[-[(/+`]/u,n=new Set(["get","set","static"]),r=new Set(["*","in","instanceof"]),i=e.options[1],o="never"===e.options[0],s=!!(i&&"omitLastInOneLineBlock"in i&&i.omitLastInOneLineBlock),a=!!(i&&"omitLastInOneLineClassBody"in i&&i.omitLastInOneLineClassBody),l=i&&"beforeStatementContinuationChars"in i&&i.beforeStatementContinuationChars||"any",c=e.sourceCode;function p(t,n=!1){let r,i,o=c.getLastToken(t),s="missingSemi";n?(s="extraSemi",i=o.loc,r=function(e){return new cv(e,c).retainSurroundingTokens(o).remove(o)}):(i={start:o.loc.end,end:cy(c,o.loc.end)},r=function(e){return e.insertTextAfter(o,";")}),e.report({node:t,loc:i,messageId:s,fix:r})}function u(e){return!!e&&t.test(e.value)&&"++"!==e.value&&"--"!==e.value}function f(e){let t=l5(c.getLastToken(e));if(o){let i=c.getTokenAfter(e);!t||(!function(e){let t=c.getTokenAfter(e);return!t||cr(t)||l5(t)}(c.getLastToken(e))?function(e){if("PropertyDefinition"!==e.type)return!1;if(!e.computed&&"Identifier"===e.key.type&&"name"in e.key&&n.has(e.key.name)&&!(e.static&&"static"===e.key.name)&&!e.value)return!0;let t=c.getTokenAfter(e);return r.has(t.value)}(e)||function(e){let t=c.getLastToken(e,1),n=c.getTokenAfter(e);return!!n&&cp(t,n)}(e)||("PropertyDefinition"===e.type||"never"!==l||function(e){let t=e.type;return"DoWhileStatement"!==t&&"BreakStatement"!==t&&"ContinueStatement"!==t&&"DebuggerStatement"!==t&&"ImportDeclaration"!==t&&"ExportAllDeclaration"!==t&&("ReturnStatement"===t?!!e.argument:"ExportNamedDeclaration"===t?!!e.declaration:!function(e){if(!cr(e))return!1;let t=c.getNodeByRangeIndex(e.range[0]);return"BlockStatement"===t.type&&"ArrowFunctionExpression"===t.parent.type}(c.getLastToken(e,1)))}(e))&&u(c.getTokenAfter(e))?1:0:0)?!t&&"always"===l&&"PropertyDefinition"!==e.type&&u(i)&&p(e):p(e,!0)}else{let n=s&&function(e){let t=e.parent,n=c.getTokenAfter(e);return!!n&&"}"===n.value&&("BlockStatement"===t.type?t.loc.start.line===t.loc.end.line:"StaticBlock"===t.type&&c.getFirstToken(t,{skip:1}).loc.start.line===t.loc.end.line)}(e),r=a&&function(e){let t=e.parent,n=c.getTokenAfter(e);return!!n&&"}"===n.value&&"ClassBody"===t.type&&t.loc.start.line===t.loc.end.line}(e),i=n||r;t&&i?p(e,!0):t||i||p(e)}}return{VariableDeclaration:function(e){let t=e.parent;"ForStatement"===t.type&&t.init===e||/^For(?:In|Of)Statement/u.test(t.type)&&t.left===e||f(e)},ExpressionStatement:f,ReturnStatement:f,ThrowStatement:f,DoWhileStatement:f,DebuggerStatement:f,BreakStatement:f,ContinueStatement:f,ImportDeclaration:f,ExportAllDeclaration:f,ExportNamedDeclaration(e){e.declaration||f(e)},ExportDefaultDeclaration(e){/(?:Class|Function)Declaration/u.test(e.declaration.type)||f(e)},PropertyDefinition:f}}}),h9=lG({name:"semi",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow semicolons instead of ASI"},fixable:"code",hasSuggestions:h5.meta.hasSuggestions,schema:h5.meta.schema,messages:h5.meta.messages},defaultOptions:["always",{omitLastInOneLineBlock:!1,beforeStatementContinuationChars:"any"}],create(e){let t=h5.create(e),n=t.ExpressionStatement,r=[gI.AST_NODE_TYPES.PropertyDefinition,gI.AST_NODE_TYPES.TSAbstractPropertyDefinition,gI.AST_NODE_TYPES.TSDeclareFunction,gI.AST_NODE_TYPES.TSExportAssignment,gI.AST_NODE_TYPES.TSImportEqualsDeclaration,gI.AST_NODE_TYPES.TSTypeAliasDeclaration,gI.AST_NODE_TYPES.TSEmptyBodyFunctionExpression].reduce((e,t)=>(e[t]=n,e),{});return{...t,...r,ExportDefaultDeclaration(e){e.declaration.type!==gI.AST_NODE_TYPES.TSInterfaceDeclaration&&t.ExportDefaultDeclaration(e)}}}}),h8=lG({name:"space-before-blocks",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before blocks"},fixable:"whitespace",schema:[{oneOf:[{type:"string",enum:["always","never"]},{type:"object",properties:{keywords:{type:"string",enum:["always","never","off"]},functions:{type:"string",enum:["always","never","off"]},classes:{type:"string",enum:["always","never","off"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before opening brace.",missingSpace:"Missing space before opening brace."}},defaultOptions:["always"],create(e,[t]){let n=e.sourceCode,r=!0,i=!0,o=!0,s=!1,a=!1,l=!1;function c(e){let t=e.parent;return"BlockStatement"===e.type&&lQ(t)&&t.body===e}function p(t){var p;let u=n.getTokenBefore(t);if(u&&!("=>"===u.value&&"Punctuator"===u.type||co(u)&&!c(t)||l9(u)&&"parent"in t&&t.parent&&"SwitchCase"===t.parent.type&&u===(p=t.parent,"test"in p&&p.test?n.getTokenAfter(p.test,e=>l9(e)):n.getFirstToken(p,1)))&&cp(u,t)){let p,f,d=n.isSpaceBetween(u,t);c(t)?(p=r,f=s):"ClassBody"===t.type||"TSEnumBody"===t.type||"TSInterfaceBody"===t.type?(p=o,f=l):(p=i,f=a),p&&!d?e.report({node:t,messageId:"missingSpace",fix:e=>e.insertTextBefore(t," ")}):f&&d&&e.report({node:t,messageId:"unexpectedSpace",fix:e=>e.removeRange([u.range[1],t.range[0]])})}}return"object"==typeof t?(r="always"===t.functions,i="always"===t.keywords,o="always"===t.classes,s="never"===t.functions,a="never"===t.keywords,l="never"===t.classes):"never"===t&&(r=!1,i=!1,o=!1,s=!0,a=!0,l=!0),{BlockStatement:p,ClassBody:p,SwitchStatement(e){let t,r=e.cases;p(r.length>0?n.getTokenBefore(r[0]):n.getLastToken(e,1))},TSEnumBody:p,TSInterfaceBody:p}}}),h7=lG({name:"space-before-function-paren",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before function parenthesis"},fixable:"whitespace",schema:[{oneOf:[{type:"string",enum:["always","never"]},{type:"object",properties:{anonymous:{type:"string",enum:["always","never","ignore"]},named:{type:"string",enum:["always","never","ignore"]},asyncArrow:{type:"string",enum:["always","never","ignore"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before function parentheses.",missingSpace:"Missing space before function parentheses."}},defaultOptions:["always"],create(e,[t]){let n=e.sourceCode,r="string"==typeof t?t:"always",i="object"==typeof t?t:{};function o(t){let o,s,a=function(e){if(e.type===gI.AST_NODE_TYPES.ArrowFunctionExpression){if(e.async&&gO.isOpeningParenToken(n.getFirstToken(e,{skip:1})))return i.asyncArrow??r}else if(function(e){if(null!=e.id)return!0;let t=e.parent;return t.type===gI.AST_NODE_TYPES.MethodDefinition||t.type===gI.AST_NODE_TYPES.TSAbstractMethodDefinition||t.type===gI.AST_NODE_TYPES.Property&&("get"===t.kind||"set"===t.kind||t.method)}(e))return i.named??r;else if(!e.generator)return i.anonymous??r;return"ignore"}(t);if("ignore"===a)return;t.typeParameters?(o=n.getLastToken(t.typeParameters),s=n.getTokenAfter(o)):(s=n.getFirstToken(t,gO.isOpeningParenToken),o=n.getTokenBefore(s));let l=n.isSpaceBetween(o,s);l&&"never"===a?e.report({node:t,loc:{start:o.loc.end,end:s.loc.start},messageId:"unexpectedSpace",fix:e=>{let t=n.getCommentsBefore(s);return t.some(e=>"Line"===e.type)?null:e.replaceTextRange([o.range[1],s.range[0]],t.reduce((e,t)=>e+n.getText(t),""))}}):l||"always"!==a||t.typeParameters&&!t.id||e.report({node:t,loc:s.loc,messageId:"missingSpace",fix:e=>e.insertTextAfter(o," ")})}return{ArrowFunctionExpression:o,FunctionDeclaration:o,FunctionExpression:o,TSEmptyBodyFunctionExpression:o,TSDeclareFunction:o}}});const ye=["|","&"];var yt={rules:{"block-spacing":gD,"brace-style":gB,"comma-dangle":gU,"comma-spacing":gq,"func-call-spacing":gW,"function-call-spacing":gW,indent:gQ,"key-spacing":g6,"keyword-spacing":hc,"lines-around-comment":hu,"lines-between-class-members":hg,"member-delimiter-style":hy,"no-extra-parens":hT,"no-extra-semi":hS,"object-curly-newline":hY,"object-curly-spacing":hw,"object-property-newline":hI,"padding-line-between-statements":hJ,"quote-props":hQ,quotes:h3,semi:h9,"semi-spacing":h6,"space-before-blocks":h8,"space-before-function-paren":h7,"space-infix-ops":lG({name:"space-infix-ops",package:"ts",meta:{type:"layout",docs:{description:"Require spacing around infix operators"},fixable:"whitespace",schema:[{type:"object",properties:{int32Hint:{type:"boolean",default:!1},ignoreTypes:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{missingSpace:"Operator '{{operator}}' must be spaced."}},defaultOptions:[{int32Hint:!1,ignoreTypes:!1}],create(e){let t=!!e.options[0]&&!0===e.options[0].int32Hint,n=!!e.options[0]&&!0===e.options[0].ignoreTypes,r=e.sourceCode;function i(t,n){e.report({node:t,loc:n.loc,messageId:"missingSpace",data:{operator:n.value},fix(e){let t=r.getTokenBefore(n),i=r.getTokenAfter(n),o="";return n.range[0]-t.range[1]==0&&(o=" "),o+=n.value,i.range[0]-n.range[1]==0&&(o+=" "),e.replaceText(n,o)}})}function o(e,t,n){let i=r.getFirstTokenBetween(e,t,e=>e.value===n),o=r.getTokenBefore(i),s=r.getTokenAfter(i);return r.isSpaceBetween(o,i)&&r.isSpaceBetween(i,s)?null:i}function s(e){let n="typeAnnotation"in e.left&&e.left.typeAnnotation?e.left.typeAnnotation:e.left,s=o(n,e.right,"operator"in e&&e.operator?e.operator:"=");s&&!(t&&r.getText(e).endsWith("|0"))&&i(e,s)}function a(e){return e.type===gI.AST_TOKEN_TYPES.Punctuator&&/^[=?:]$/.test(e.value)}function l(e,t,n){if(!n||!t)return;let o=r.getFirstTokenBetween(t,n,a),s=r.getTokenBefore(o),l=r.getTokenAfter(o);r.isSpaceBetween(s,o)&&r.isSpaceBetween(o,l)||i(e,o)}function c(e){e.types.forEach(t=>{let o=t.type===gI.AST_NODE_TYPES.TSFunctionType?gO.isNotOpeningParenToken:0,s=r.getTokenBefore(t,o);if(!n&&null!=s&&ye.includes(s.value)){let t=r.getTokenBefore(s),n=r.getTokenAfter(s);r.isSpaceBetween(t,s)&&r.isSpaceBetween(s,n)||i(e,s)}})}return{AssignmentExpression:s,AssignmentPattern:s,BinaryExpression:s,LogicalExpression:s,ConditionalExpression:function(e){let t=o(e.test,e.consequent,"?"),n=o(e.consequent,e.alternate,":");t&&i(e,t),n&&i(e,n)},VariableDeclarator:function(e){let t=e.id.typeAnnotation?e.id.typeAnnotation:e.id,n=e.init;if(n){let r=o(t,n,"=");r&&i(e,r)}},TSEnumMember:function(e){l(e,e.id,e.initializer)},PropertyDefinition:function(e){let t=e.optional&&!e.typeAnnotation?r.getTokenAfter(e.key):e.typeAnnotation??e.key;l(e,t,e.value)},TSTypeAliasDeclaration:function(e){l(e,e.typeParameters??e.id,e.typeAnnotation)},TSUnionType:c,TSIntersectionType:c,TSConditionalType:function(e){l(e,e.extendsType,e.trueType),l(e,e.trueType,e.falseType)}}}}),"type-annotation-spacing":lG({name:"type-annotation-spacing",package:"ts",meta:{type:"layout",docs:{description:"Require consistent spacing around type annotations"},fixable:"whitespace",messages:{expectedSpaceAfter:"Expected a space after the '{{type}}'.",expectedSpaceBefore:"Expected a space before the '{{type}}'.",unexpectedSpaceAfter:"Unexpected space after the '{{type}}'.",unexpectedSpaceBefore:"Unexpected space before the '{{type}}'.",unexpectedSpaceBetween:"Unexpected space between the '{{previousToken}}' and the '{{type}}'."},schema:[{$defs:{spacingConfig:{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}},type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"},overrides:{type:"object",properties:{colon:{$ref:"#/items/0/$defs/spacingConfig"},arrow:{$ref:"#/items/0/$defs/spacingConfig"},variable:{$ref:"#/items/0/$defs/spacingConfig"},parameter:{$ref:"#/items/0/$defs/spacingConfig"},property:{$ref:"#/items/0/$defs/spacingConfig"},returnType:{$ref:"#/items/0/$defs/spacingConfig"}},additionalProperties:!1}},additionalProperties:!1}]},defaultOptions:[{}],create(e,[t]){let n=[":","=>"],r=e.sourceCode,i=function(e){let t={...e?.before!==void 0?{before:e.before}:{},...e?.after!==void 0?{after:e.after}:{}},n=e?.overrides??{},r={before:!1,after:!0,...t,...n?.colon};return{colon:r,arrow:{before:!0,after:!0,...t,...n?.arrow},variable:{...r,...n?.variable},property:{...r,...n?.property},parameter:{...r,...n?.parameter},returnType:{...r,...n?.returnType}}}(t);function o(t){let o=r.getTokenBefore(t),s=o,a=r.getTokenBefore(o),l=o.value;if(!n.includes(l))return;let{before:c,after:p}=function(e,t){let n=t?.parent?.parent;if(gO.isTSFunctionType(n)||gO.isTSConstructorType(n))return e.arrow;if(gO.isIdentifier(n)){let t=n?.parent;return gO.isVariableDeclarator(t)?e.variable:gO.isFunctionOrFunctionType(t)?e.parameter:e.colon}return gO.isClassOrTypeElement(n)?e.property:gO.isFunction(n)?e.returnType:e.colon}(i,t);":"===l&&"?"===a.value&&(r.isSpaceBetween(a,s)&&e.report({node:s,messageId:"unexpectedSpaceBetween",data:{type:l,previousToken:a.value},fix:e=>e.removeRange([a.range[1],s.range[0]])}),l="?:",s=a,("+"===(a=r.getTokenBefore(a)).value||"-"===a.value)&&(l=`${a.value}?:`,s=a,a=r.getTokenBefore(a)));let u=s.range[0]-a.range[1],f=t.range[0]-o.range[1];p&&0===f?e.report({node:o,messageId:"expectedSpaceAfter",data:{type:l},fix:e=>e.insertTextAfter(o," ")}):!p&&f>0&&e.report({node:o,messageId:"unexpectedSpaceAfter",data:{type:l},fix:e=>e.removeRange([o.range[1],t.range[0]])}),c&&0===u?e.report({node:s,messageId:"expectedSpaceBefore",data:{type:l},fix:e=>e.insertTextAfter(a," ")}):!c&&u>0&&e.report({node:s,messageId:"unexpectedSpaceBefore",data:{type:l},fix:e=>e.removeRange([a.range[1],s.range[0]])})}return{TSMappedType(e){e.typeAnnotation&&o(e.typeAnnotation)},TSTypeAnnotation(e){o(e.typeAnnotation)}}}})}};const yn=function(e,t,n){let r=Object.fromEntries(Object.entries(e.rules).filter(([e,t])=>t.meta.fixable&&!t.meta.deprecated&&e===t.meta.docs.url.split("/").pop()&&!0).map(([e])=>[`${t}/${e}`,2]));return{plugins:{[t]:e},rules:r}}(yt,"@stylistic/ts"),yr=Object.assign(yt,{configs:{"disable-legacy":{rules:{"@typescript-eslint/block-spacing":0,"@typescript-eslint/brace-style":0,"@typescript-eslint/comma-dangle":0,"@typescript-eslint/comma-spacing":0,"@typescript-eslint/func-call-spacing":0,"@typescript-eslint/indent":0,"@typescript-eslint/key-spacing":0,"@typescript-eslint/keyword-spacing":0,"@typescript-eslint/lines-around-comment":0,"@typescript-eslint/lines-between-class-members":0,"@typescript-eslint/member-delimiter-style":0,"@typescript-eslint/no-extra-parens":0,"@typescript-eslint/no-extra-semi":0,"@typescript-eslint/object-curly-newline":0,"@typescript-eslint/object-curly-spacing":0,"@typescript-eslint/object-property-newline":0,"@typescript-eslint/padding-line-between-statements":0,"@typescript-eslint/quote-props":0,"@typescript-eslint/quotes":0,"@typescript-eslint/semi":0,"@typescript-eslint/semi-spacing":0,"@typescript-eslint/space-before-blocks":0,"@typescript-eslint/space-before-function-paren":0,"@typescript-eslint/space-infix-ops":0,"@typescript-eslint/type-annotation-spacing":0}},all:yn,"all-flat":yn}}),yi=[".ts",".cts",".mts",".tsx",".d.ts"],yo=[...yi,".js",".jsx",".mjs",".cjs"];async function ys(e){if(!rb.isCI&&n8.stdout.isTTY&&!n6.isPackageExists(e)){let{confirm:t}=await Promise.resolve().then(function(){return require("./vendor-_TcEY0mA.cjs")}).then(function(e){return e.i});await t({message:`Package is required for this config: ${e}. Do you want to install it?`})&&await Promise.resolve().then(function(){return require("./vendor-_TcEY0mA.cjs")}).then(function(e){return e.b}).then(t=>t.installPackage(e,{dev:!0}))}return i(e)}const ya={};function yl(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return yc(e.children,t,n)}return Array.isArray(e)?yc(e,t,n):""}function yc(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=yl(e[i],t,n);return r.join("")}const yp={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"⁡",Aring:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"\xcc",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",Mopf:"\uD835\uDD44",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"\uD835\uDD11",NoBreak:"⁠",NonBreakingSpace:"\xa0",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"\uD835\uDCAB",Psi:"Ψ",QUOT:'"',Qfr:"\uD835\uDD14",Qopf:"ℚ",Qscr:"\uD835\uDCAC",RBarr:"⤐",REG:"\xae",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"\uD835\uDD16",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"\uD835\uDD4A",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"\uD835\uDCAE",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"\xde",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"\uD835\uDD17",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"\uD835\uDD4B",TripleDot:"⃛",Tscr:"\uD835\uDCAF",Tstrok:"Ŧ",Uacute:"\xda",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"\xdb",Ucy:"У",Udblac:"Ű",Ufr:"\uD835\uDD18",Ugrave:"\xd9",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"\uD835\uDD4C",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"\uD835\uDCB0",Utilde:"Ũ",Uuml:"\xdc",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",Vopf:"\uD835\uDD4D",Vscr:"\uD835\uDCB1",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"\uD835\uDD1A",Wopf:"\uD835\uDD4E",Wscr:"\uD835\uDCB2",Xfr:"\uD835\uDD1B",Xi:"Ξ",Xopf:"\uD835\uDD4F",Xscr:"\uD835\uDCB3",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"\xdd",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"\uD835\uDD1C",Yopf:"\uD835\uDD50",Yscr:"\uD835\uDCB4",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"\uD835\uDCB5",aacute:"\xe1",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"\xe2",acute:"\xb4",acy:"а",aelig:"\xe6",af:"⁡",afr:"\uD835\uDD1E",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",aopf:"\uD835\uDD52",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"\xe5",ascr:"\uD835\uDCB6",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",auml:"\xe4",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"\xe7",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",cfr:"\uD835\uDD20",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"\xae",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"\uD835\uDD54",coprod:"∐",copy:"\xa9",copysr:"℗",crarr:"↵",cross:"✗",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"\xb0",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"\xe9",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"\xea",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",eg:"⪚",egrave:"\xe8",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"\xf0",euml:"\xeb",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",horbar:"―",hscr:"\uD835\uDCBD",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"\xed",ic:"⁣",icirc:"\xee",icy:"и",iecy:"е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",igrave:"\xec",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"\uD835\uDD5A",iota:"ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"\xef",jcirc:"ĵ",jcy:"й",jfr:"\uD835\uDD27",jmath:"ȷ",jopf:"\uD835\uDD5B",jscr:"\uD835\uDCBF",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"\uD835\uDD28",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"\uD835\uDD5C",kscr:"\uD835\uDCC0",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"\xab",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",mp:"∓",mscr:"\uD835\uDCC2",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"\uD835\uDD5F",not:"\xac",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"\xf3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"\uD835\uDD2C",ogon:"˛",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"\xf8",osol:"⊘",otilde:"\xf5",otimes:"⊗",otimesas:"⨶",ouml:"\xf6",ovbar:"⌽",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",pointint:"⨕",popf:"\uD835\uDD61",pound:"\xa3",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",psi:"ψ",puncsp:" ",qfr:"\uD835\uDD2E",qint:"⨌",qopf:"\uD835\uDD62",qprime:"⁗",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"\uD835\uDCC7",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"\xad",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",tilde:"˜",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"\xfa",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"\xfb",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",ugrave:"\xf9",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"\xa8",uogon:"ų",uopf:"\uD835\uDD66",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"\uD835\uDCCA",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"\xa5",yfr:"\uD835\uDD36",yicy:"ї",yopf:"\uD835\uDD6A",yscr:"\uD835\uDCCE",yucy:"ю",yuml:"\xff",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"\uD835\uDD37",zhcy:"ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"},yu={}.hasOwnProperty;function yf(e){return!!yu.call(yp,e)&&yp[e]}function yd(e,t,n,r){let i,o=e.length,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)(i=r.slice(s,s+1e4)).unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function ym(e,t){return e.length>0?(yd(e,e.length,0,t),e):t}const yg={}.hasOwnProperty;function yh(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(yg.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){yg.call(i,r)||(i[r]=[]);let e=o[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);yd(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}function yy(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}function yE(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const yT=yL(/[A-Za-z]/),yb=yL(/[\dA-Za-z]/),yS=yL(/[#-'*+\--9=?A-Z^-~]/);function yx(e){return null!==e&&(e<32||127===e)}const yP=yL(/\d/),yv=yL(/[\dA-Fa-f]/),yk=yL(/[!-/:-@[-`{-~]/);function y_(e){return null!==e&&e<-2}function yA(e){return null!==e&&(e<0||32===e)}function yY(e){return -2===e||-1===e||32===e}const yC=yL(/\p{P}|\p{S}/u),yw=yL(/\s/);function yL(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function yI(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return yY(r)?(e.enter(n),function r(s){return yY(s)&&o++<i?(e.consume(s),r):(e.exit(n),t(s))}(r)):t(r)}}const yO={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),yI(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return y_(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},yD={tokenize:function(e){let t,n,r,i=this,o=[],s=0;return a;function a(t){if(s<o.length){let n=o[s];return i.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(s++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}h(s);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return yd(i.events,o+1,0,i.events.slice(r)),i.events.length=a,c(e)}return a(e)}function c(n){if(s===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return m(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(yV,p,u)(n)}function p(e){return t&&y(),h(s),f(e)}function u(e){return i.parser.lazy[i.now().line]=s!==o.length,r=i.now().offset,m(e)}function f(t){return i.containerState={},e.attempt(yV,d,m)(t)}function d(e){return s++,o.push([i.currentConstruct,i.containerState]),f(e)}function m(r){if(null===r){t&&y(),h(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){g(e.exit("chunkFlow"),!0),h(0),e.consume(n);return}return y_(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function g(e,o){let a=i.sliceStream(e);if(o&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let a=i.events.length,l=a;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(h(s),o=a;o<i.events.length;)i.events[o][1].end={...n},o++;yd(i.events,l+1,0,i.events.slice(a)),i.events.length=o}}function h(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},yV={tokenize:function(e,t,n){return yI(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function yB(e){return null===e||yA(e)||yw(e)?1:yC(e)?2:void 0}function yN(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const yj={name:"attention",resolveAll:function(e,t){let n,r,i,o,s,a,l,c,p=-1;for(;++p<e.length;)if("enter"===e[p][0]&&"attentionSequence"===e[p][1].type&&e[p][1]._close){for(n=p;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[p][1]).charCodeAt(0)){if((e[n][1]._close||e[p][1]._open)&&(e[p][1].end.offset-e[p][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[p][1].end.offset-e[p][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[p][1].end.offset-e[p][1].start.offset>1?2:1;let u={...e[n][1].end},f={...e[p][1].start};yM(u,-a),yM(f,a),o={type:a>1?"strongSequence":"emphasisSequence",start:u,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[p][1].start},end:f},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[p][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[p][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=ym(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=ym(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=ym(l,yN(t.parser.constructs.insideSpan.null,e.slice(n+1,p),t)),l=ym(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[p][1].end.offset-e[p][1].start.offset?(c=2,l=ym(l,[["enter",e[p][1],t],["exit",e[p][1],t]])):c=0,yd(e,n-1,p-n+3,l),p=n+l.length-c-2;break}}for(p=-1;++p<e.length;)"attentionSequence"===e[p][1].type&&(e[p][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=yB(i);return function(s){return n=s,e.enter("attentionSequence"),function s(a){if(a===n)return e.consume(a),s;let l=e.exit("attentionSequence"),c=yB(a),p=!c||2===c&&o||r.includes(a),u=!o||2===o&&c||r.includes(i);return l._open=!!(42===n?p:p&&(o||!u)),l._close=!!(42===n?u:u&&(c||!p)),t(a)}(s)}}};function yM(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const yR={partial:!0,tokenize:function(e,t,n){return function(t){return yY(t)?yI(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||y_(e)?t(e):n(e)}}},yF={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return yY(t)?yI(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(yF,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return yY(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},yU={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return yk(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},yq={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=yb,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=yv,c):(e.enter("characterReferenceValue"),r=7,i=yP,c(t))}function c(a){if(59===a&&s){let r=e.exit("characterReferenceValue");return i!==yb||yf(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<r?(e.consume(a),c):n(a)}}},yW={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},yG={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),yY(t)?yI(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),yY(i)?yI(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||y_(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,a=0;return function(t){var o=t;let c=i.events[i.events.length-1];return s=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),yY(i)?yI(e,l,"whitespace")(i):l(i))}(o)};function l(o){return null===o||y_(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(yW,p,m)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||y_(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):yY(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),yI(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function c(t){return null===t||y_(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||y_(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function p(t){return e.attempt(o,m,u)(t)}function u(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return s>0&&yY(t)?yI(e,d,"linePrefix",s+1)(t):d(t)}function d(t){return null===t||y_(t)?e.check(yW,p,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||y_(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},yH={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),yI(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):y_(n)?e.attempt(y$,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||y_(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},y$={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):y_(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):yI(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):y_(e)?i(e):n(e)}}};class yK{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&yz(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),yz(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),yz(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);yz(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);yz(this.left,t.reverse())}}}function yz(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function yJ(e){let t,n,r,i,o,s,a,l={},c=-1,p=new yK(e);for(;++c<p.length;){for(;c in l;)c=l[c];if(t=p.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===p.get(c-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],s=t-1,a=[],l=i._tokenizer||o.parser[i.contentType](i.start),c=l.events,p=[],u={},f=-1,d=i,m=0,g=0,h=[0];for(;d;){for(;e.get(++s)[1]!==d;);a.push(s),!d._tokenizer&&(n=o.sliceStream(d),d.next||n.push(null),r&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<c.length;)"exit"===c[f][0]&&"enter"===c[f-1][0]&&c[f][1].type===c[f-1][1].type&&c[f][1].start.line!==c[f][1].end.line&&(g=f+1,h.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):h.pop(),f=h.length;f--;){let t=c.slice(h[f],h[f+1]),n=a.pop();p.push([n,n+t.length-1]),e.splice(n,2,t)}for(p.reverse(),f=-1;++f<p.length;)u[m+p[f][0]]=m+p[f][1],m+=p[f][1]-p[f][0]-1;return u}(p,c)),c=l[c],a=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=p.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(p.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type);else break;n&&(t[1].end={...p.get(n)[1].start},(o=p.slice(n,c)).unshift(t),p.splice(n,c-n+1,o))}}return yd(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!a}const yX={resolve:function(e){return yJ(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):y_(t)?e.check(yQ,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},yQ={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),yI(e,i,"linePrefix")};function i(i){if(null===i||y_(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}};function yZ(e,t,n,r,i,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,p=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),u):null===t||32===t||41===t||yx(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(t))};function u(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),u(t)):null===t||60===t||y_(t)?n(t):(e.consume(t),92===t?d:f)}function d(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function m(i){return!p&&(null===i||41===i||yA(i))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):p<c&&40===i?(e.consume(i),p++,m):41===i?(e.consume(i),p--,m):null===i||32===i||40===i||yx(i)?n(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function y0(e,t,n,r,i,o){let s,a=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(u){return l>999||null===u||91===u||93===u&&!s||94===u&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(u):93===u?(e.exit(o),e.enter(i),e.consume(u),e.exit(i),e.exit(r),t):y_(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),p(u))}function p(t){return null===t||91===t||93===t||y_(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!yY(t)),92===t?u:p)}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,p):p(t)}}function y1(e,t,n,r,i,o){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,a):n(t)};function a(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===s?(e.exit(o),a(s)):null===t?n(t):y_(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),yI(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||y_(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:c)}function p(t){return t===s||92===t?(e.consume(t),c):c(t)}}function y2(e,t){let n;return function r(i){return y_(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):yY(i)?yI(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const y3={partial:!0,tokenize:function(e,t,n){return function(t){return yA(t)?y2(e,r)(t):n(t)};function r(t){return y1(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return yY(t)?yI(e,o,"whitespace")(t):o(t)}function o(e){return null===e||y_(e)?t(e):n(e)}}},y4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],y6=["pre","script","style","textarea"],y5={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(yR,t,n)}}},y9={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return y_(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},y8={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&yd(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=s);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},p={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=ym(o=[["enter",l,t],["enter",c,t]],e.slice(r+1,r+a+3)),o=ym(o,[["enter",p,t]]),o=ym(o,yN(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=ym(o,[["exit",p,t],e[i-2],e[i-1],["exit",c,t]]),o=ym(o,e.slice(i+1)),o=ym(o,[["exit",l,t]]),yd(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i,o=this,s=o.events.length;for(;s--;)if(("labelImage"===o.events[s][1].type||"labelLink"===o.events[s][1].type)&&!o.events[s][1]._balanced){r=o.events[s][1];break}return function(t){return r?r._inactive?p(t):(i=o.parser.defined.includes(yE(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(y7,c,i?c:p)(t):91===t?e.attempt(Ee,c,i?l:p)(t):i?c(t):p(t)}function l(t){return e.attempt(Et,c,p)(t)}function c(e){return t(e)}function p(e){return r._balanced=!0,n(e)}}},y7={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return yA(t)?y2(e,i)(t):i(t)}function i(t){return 41===t?c(t):yZ(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return yA(t)?y2(e,a)(t):c(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?y1(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return yA(t)?y2(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Ee={tokenize:function(e,t,n){let r=this;return function(t){return y0.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(yE(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Et={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},En={name:"labelStartImage",resolveAll:y8.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},Er={name:"labelStartLink",resolveAll:y8.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},Ei={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),yI(e,t,"linePrefix")}}},Eo={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var s;return e.enter("thematicBreak"),r=s=o,function o(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),yY(n)?yI(e,o,"whitespace")(n):o(n))}(s)):i>=3&&(null===s||y_(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},Es={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(yR,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,yI(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!yY(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(El,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,yI(e,e.attempt(Es,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:yP(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(Eo,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return yP(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(yR,r.interrupt?n:l,e.attempt(Ea,p,c))}function l(e){return r.containerState.initialBlankLine=!0,o++,p(e)}function c(t){return yY(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),p):n(t)}function p(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},Ea={partial:!0,tokenize:function(e,t,n){let r=this;return yI(e,function(e){let i=r.events[r.events.length-1];return!yY(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},El={partial:!0,tokenize:function(e,t,n){let r=this;return yI(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},Ec={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let s={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var s;let a,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){a="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,s=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),yY(n)?yI(e,o,"lineSuffix")(n):o(n))}(s)):n(t)};function o(r){return null===r||y_(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},Ep={tokenize:function(e){let t=this,n=e.attempt(yR,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,yI(e,e.attempt(this.parser.constructs.flow,r,e.attempt(yX,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},Eu={resolveAll:Eg()},Ef=Em("string"),Ed=Em("text");function Em(e){return{resolveAll:Eg("text"===e?Eh:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return l(e)?i(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function Eg(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function Eh(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],o=t.sliceStream(i),s=o.length,a=-1,l=0;for(;s--;){let e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)l++,a--;if(a)break;a=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{s++;break}}if(l){let o={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:i.start._bufferIndex+a,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}var Ey=Object.freeze({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,y0.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=yE(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return yA(t)?y2(e,a)(t):a(t)}function a(t){return yZ(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(y3,c,c)(t)}function c(t){return yY(t)?yI(e,p,"whitespace")(t):p(t)}function p(o){return null===o||y_(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},disable:{null:[]},document:{42:Es,43:Es,45:Es,48:Es,49:Es,50:Es,51:Es,52:Es,53:Es,54:Es,55:Es,56:Es,57:Es,62:yF},flow:{35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},yd(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||yA(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||y_(r)?(e.exit("atxHeading"),t(r)):yY(r)?yI(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||yA(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:Eo,45:[Ec,Eo],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,s,a,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(s){return 33===s?(e.consume(s),p):47===s?(e.consume(s),i=!0,d):63===s?(e.consume(s),r=3,l.interrupt?t:I):yT(s)?(e.consume(s),o=String.fromCharCode(s),m):n(s)}function p(i){return 45===i?(e.consume(i),r=2,u):91===i?(e.consume(i),r=5,s=0,f):yT(i)?(e.consume(i),r=4,l.interrupt?t:I):n(i)}function u(r){return 45===r?(e.consume(r),l.interrupt?t:I):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:v:f:n(r)}function d(t){return yT(t)?(e.consume(t),o=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||yA(s)){let a=47===s,c=o.toLowerCase();return!a&&!i&&y6.includes(c)?(r=1,l.interrupt?t(s):v(s)):y4.includes(o.toLowerCase())?(r=6,a)?(e.consume(s),g):l.interrupt?t(s):v(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return yY(n)?(e.consume(n),t):x(n)}(s):h(s))}return 45===s||yb(s)?(e.consume(s),o+=String.fromCharCode(s),m):n(s)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:v):n(r)}function h(t){return 47===t?(e.consume(t),x):58===t||95===t||yT(t)?(e.consume(t),y):yY(t)?(e.consume(t),h):x(t)}function y(t){return 45===t||46===t||58===t||95===t||yb(t)?(e.consume(t),y):E(t)}function E(t){return 61===t?(e.consume(t),T):yY(t)?(e.consume(t),E):h(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,b):yY(t)?(e.consume(t),T):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||yA(n)?E(n):(e.consume(n),t)}(t)}function b(t){return t===a?(e.consume(t),a=null,S):null===t||y_(t)?n(t):(e.consume(t),b)}function S(e){return 47===e||62===e||yY(e)?h(e):n(e)}function x(t){return 62===t?(e.consume(t),P):n(t)}function P(t){return null===t||y_(t)?v(t):yY(t)?(e.consume(t),P):n(t)}function v(t){return 45===t&&2===r?(e.consume(t),Y):60===t&&1===r?(e.consume(t),C):62===t&&4===r?(e.consume(t),O):63===t&&3===r?(e.consume(t),I):93===t&&5===r?(e.consume(t),L):y_(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(y5,D,k)(t)):null===t||y_(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),v)}function k(t){return e.check(y9,_,D)(t)}function _(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||y_(t)?k(t):(e.enter("htmlFlowData"),v(t))}function Y(t){return 45===t?(e.consume(t),I):v(t)}function C(t){return 47===t?(e.consume(t),o="",w):v(t)}function w(t){if(62===t){let n=o.toLowerCase();return y6.includes(n)?(e.consume(t),O):v(t)}return yT(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),w):v(t)}function L(t){return 93===t?(e.consume(t),I):v(t)}function I(t){return 62===t?(e.consume(t),O):45===t&&2===r?(e.consume(t),I):v(t)}function O(t){return null===t||y_(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),O)}function D(n){return e.exit("htmlFlow"),t(n)}}},61:Ec,95:Eo,96:yG,126:yG},flowInitial:{[-2]:yH,[-1]:yH,32:yH},insideSpan:{null:[yj,Eu]},string:{38:yq,92:yU},text:{[-5]:Ei,[-4]:Ei,[-3]:Ei,33:En,38:yq,42:yj,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return yT(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||yb(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||yb(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||yx(r)?n(r):(e.consume(r),s)}function a(t){return 64===t?(e.consume(t),l):yS(t)?(e.consume(t),a):n(t)}function l(i){return yb(i)?function i(o){return 46===o?(e.consume(o),r=0,l):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||yb(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),E):yT(t)?(e.consume(t),x):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,d):yT(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function p(t){return null===t?n(t):45===t?(e.consume(t),u):y_(t)?(o=p,w(t)):(e.consume(t),p)}function u(t){return 45===t?(e.consume(t),f):p(t)}function f(e){return 62===e?C(e):45===e?u(e):p(e)}function d(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:d):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),g):y_(t)?(o=m,w(t)):(e.consume(t),m)}function g(t){return 93===t?(e.consume(t),h):m(t)}function h(t){return 62===t?C(t):93===t?(e.consume(t),h):m(t)}function y(t){return null===t||62===t?C(t):y_(t)?(o=y,w(t)):(e.consume(t),y)}function E(t){return null===t?n(t):63===t?(e.consume(t),T):y_(t)?(o=E,w(t)):(e.consume(t),E)}function T(e){return 62===e?C(e):E(e)}function b(t){return yT(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||yb(t)?(e.consume(t),S):function t(n){return y_(n)?(o=t,w(n)):yY(n)?(e.consume(n),t):C(n)}(t)}function x(t){return 45===t||yb(t)?(e.consume(t),x):47===t||62===t||yA(t)?P(t):n(t)}function P(t){return 47===t?(e.consume(t),C):58===t||95===t||yT(t)?(e.consume(t),v):y_(t)?(o=P,w(t)):yY(t)?(e.consume(t),P):C(t)}function v(t){return 45===t||46===t||58===t||95===t||yb(t)?(e.consume(t),v):function t(n){return 61===n?(e.consume(n),k):y_(n)?(o=t,w(n)):yY(n)?(e.consume(n),t):P(n)}(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,_):y_(t)?(o=k,w(t)):yY(t)?(e.consume(t),k):(e.consume(t),A)}function _(t){return t===r?(e.consume(t),r=void 0,Y):null===t?n(t):y_(t)?(o=_,w(t)):(e.consume(t),_)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||yA(t)?P(t):(e.consume(t),A)}function Y(e){return 47===e||62===e||yA(e)?P(e):n(e)}function C(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function w(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return yY(t)?yI(e,I,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),o(t)}}}],91:Er,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return y_(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},yU],93:y8,95:yj,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):96===l?(i=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(i.type="codeTextData",a(s))}(l)):y_(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),a(l))}function a(t){return null===t||32===t||96===t||y_(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),a)}}}}});const EE=/[\0\t\n\r]/g,ET=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Eb(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return yy(n.slice(t?2:1),t?16:10)}return yf(n)||e}function ES(e){return e&&"object"==typeof e?"position"in e||"type"in e?EP(e.position):"start"in e||"end"in e?EP(e):"line"in e||"column"in e?Ex(e):"":""}function Ex(e){return Ev(e&&e.line)+":"+Ev(e&&e.column)}function EP(e){return Ex(e&&e.start)+"-"+Ex(e&&e.end)}function Ev(e){return e&&"number"==typeof e?e:1}const Ek={}.hasOwnProperty;function E_(e,t,n){let r,i,o,s;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(h,i),htmlFlowData:c,htmlText:r(h,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(E,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(E),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=yy(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=yf(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=EA(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yE(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(u),hardBreakTrailing:s(u),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ET,Eb),n.identifier=yE(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=EA(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),p.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yE(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(Ek.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},s={stack:[r],tokenStack:[],config:t,enter:o,exit:a,buffer:i,resume:l,data:n},c=[],p=-1;for(;++p<e.length;)("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)&&("enter"===e[p][0]?c.push(p):p=function(e,t,n){let r,i,o,s,a=t-1,l=-1,c=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||o||(o=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(i=void 0;s--;){let t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=s}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,o=void 0,s=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),p));for(p=-1;++p<e.length;){let n=t[e[p][0]];Ek.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},s),e[p][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||EY).call(s,void 0,e[0])}for(r.position={start:EA(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:EA(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:EA(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||EY).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+ES({start:e.start,end:e.end})+"): it’s not open");n.position.end=EA(e.end)}function l(){var e;return yl(this.stack.pop(),"boolean"!=typeof ya.includeImageAlt||ya.includeImageAlt,"boolean"!=typeof ya.includeHtml||ya.includeHtml)}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:EA(e.start),end:void 0},t.push(n)),this.stack.push(n)}function p(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=EA(e.end)}function u(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function d(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function h(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function E(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!yJ(e););return e}((function(e){let t={constructs:yh([Ey,...(e||{}).extensions||[]]),content:n(yO),defined:[],document:n(yD),flow:n(Ep),lazy:{},string:n(Ef),text:n(Ed)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],s=[],a=[],l={attempt:m(function(e,t){g(e,t.from)}),check:m(d),consume:function(e){y_(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,h()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=f(),c.events.push(["exit",t,c]),t},interrupt:m(d,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,h()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,s=e[r];if("string"==typeof s)o=s;else switch(s){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(s)}n=-2===s,i.push(o)}return i.join("")}(u(e),t)},sliceStream:u,write:function(e){return(s=ym(s,e),function(){let e;for(;r._index<s.length;){let n=s[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),p=p(t)}else p=p(n)}}(),null!==s[s.length-1])?[]:(g(t,0),c.events=yN(o,c.events,c),c.events)}},p=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function u(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,s=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,s)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[o].slice(0,s))}return n}(s,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function d(e,t){t.restore()}function m(e,t){return function(n,i,o){var s;let p,u,d,m;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function g(e){return(p=e,u=0,0===e.length)?o:y(e[u])}function y(e){return function(n){return(m=function(){let e=f(),t=c.previous,n=c.currentConstruct,i=c.events.length,o=Array.from(a);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,a=o,h()}}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?T():e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,E,T)(n)}}function E(t){return e(d,m),i}function T(e){return(m.restore(),++u<p.length)?y(p[u]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&yd(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function h(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((i=1,o="",s=!0,function(e,t,n){let a,l,c,p,u,f=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),c=0,o="",s&&(65279===e.charCodeAt(0)&&c++,s=void 0);c<e.length;){if(EE.lastIndex=c,p=(a=EE.exec(e))&&void 0!==a.index?a.index:e.length,u=e.charCodeAt(p),!a){o=e.slice(c);break}if(10===u&&c===p&&r)f.push(-3),r=void 0;else switch(r&&(f.push(-5),r=void 0),c<p&&(f.push(e.slice(c,p)),i+=p-c),u){case 0:f.push(65533),i++;break;case 9:for(l=4*Math.ceil(i/4),f.push(-2);i++<l;)f.push(-1);break;case 10:f.push(-4),i=1;break;default:r=!0,i=1}c=p+1}return n&&(r&&f.push(-5),o&&f.push(o),f.push(null)),f})(e,t,!0))))}function EA(e){return{line:e.line,column:e.column,offset:e.offset}}function EY(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+ES({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ES({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+ES({start:t.start,end:t.end})+") is still open")}var EC={},Ew={exports:{}},EL={exports:{}};function EI(){if(nX)return nJ;nX=1;var e,t,n,r,i,o,s,a,l={}.toString;function c(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return e=function(){if(nF)return nR;nF=1;var e,t,n={}.toString;function r(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return e=r(function(e,t){return e.apply(null,t)}),t=r(function(e,t,n){return e(n,t)}),nR={curry:function(e){return r(e)},flip:t,fix:function(e){var t;return t=function(t){return function(){return e(t(t)).apply(null,arguments)}},function(){return e(t(t)).apply(null,arguments)}},apply:e,over:r(function(e,t,n,r){return e(t(n),t(r))}),memoize:function(e){var t;return t={},function(){var r,i,o,s,a;for(i=0,r=[],o=arguments.length;i<o;++i)r.push(arguments[i]);return t[s=(function(){var e,t,i=[];for(e=0,t=r.length;e<t;++e)i.push((a=r[e])+n.call(a).slice(8,-1));return i})().join("")]=s in t?t[s]:e.apply(null,r)}}}}(),t=function(){if(nq)return nU;nq=1;var e,t,n,r,i,o,s,a,l,c,p,u,f,d,m,g,h,y,E,T,b,S,x,P,v,k,_,A,Y,C,w,L,I,O,D,V,B,N,j,M,R,F,U,q,W,G,H,$,K,z,J={}.toString;function X(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}function Q(e,t){for(var n=-1,r=t.length>>>0;++n<r;)if(e===t[n])return!0;return!1}function Z(e){return!e}return e=X(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)e(t[n]);return t}),t=X(function(e,t){var n,r,i=[];for(n=0,r=t.length;n<r;++n)i.push(e(t[n]));return i}),n=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)e(i=t[n])&&o.push(i);return o}),r=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)e(i=t[n])||o.push(i);return o}),i=X(function(e,t){var n,r;return n=H(e,t),r=t.slice(),null!=n&&r.splice(n,1),r}),o=X(function(e,t){var n,r,i,o,s;for(i=0,n=[],r=[],o=t.length;i<o;++i)(e(s=t[i])?n:r).push(s);return[n,r]}),s=X(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(e(i=t[n]))return i}),a=l=function(e){return e[0]},c=X(function(e,t){var n,r,i,o,s,a=[];for(r=0,n=[],i=t.length;r<i;++r)Q(s=e(o=t[r]),n)||(n.push(s),a.push(o));return a}),p=u=X(function(e,t,n){var r,i;for(r=0,i=n.length;r<i;++r)t=e(t,n[r]);return t}),f=d=X(function(e,t){return p(e,t[0],t.slice(1))}),m=X(function(e,t,n){var r;for(r=n.length-1;r>=0;--r)t=e(n[r],t);return t}),g=X(function(e,t){return m(e,t[t.length-1],t.slice(0,-1))}),h=X(function(e,t){var n,r,i;for(n=[],r=t;null!=(i=e(r));)n.push(i[0]),r=i[1];return n}),y=X(function(e,t){return[].concat.apply([],function(){var n,r,i=[];for(n=0,r=t.length;n<r;++n)i.push(e(t[n]));return i}())}),E=function(e){var t;return[].concat.apply([],function(){var n,r,i=[];for(n=0,r=e.length;n<r;++n)t=e[n],"Array"===J.call(t).slice(8,-1)?i.push(E(t)):i.push(t);return i}())},T=X(function(e,t){var n,r,i,o;for(r=0,n={},i=t.length;r<i;++r)(o=e(t[r]))in n?n[o]+=1:n[o]=1;return n}),b=X(function(e,t){var n,r,i,o,s;for(r=0,n={},i=t.length;r<i;++r)(s=e(o=t[r]))in n?n[s].push(o):n[s]=[o];return n}),S=X(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(e(t[n]))return!0;return!1}),x=X(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(!e(t[n]))return!1;return!0}),P=X(function(e,t){return t.concat().sort(e)}),v=X(function(e,t){return t.concat().sort(function(t,n){return e(t)>e(n)?1:e(t)<e(n)?-1:0})}),k=_=function(e){var t,n,r;for(n=0,t=0,r=e.length;n<r;++n)t+=e[n];return t/e.length},A=X(function(e,t){var n,r,i,o,s;for(r=0,n=t[0],o=(i=t.slice(1)).length;r<o;++r)e(s=i[r])>e(n)&&(n=s);return n}),Y=X(function(e,t){var n,r,i,o,s;for(r=0,n=t[0],o=(i=t.slice(1)).length;r<o;++r)e(s=i[r])<e(n)&&(n=s);return n}),C=w=X(function(e,t,n){var r,i;return r=t,[t].concat(function(){var t,o,s=[];for(t=0,o=n.length;t<o;++t)i=n[t],s.push(r=e(r,i));return s}())}),L=I=X(function(e,t){if(t.length)return C(e,t[0],t.slice(1))}),O=X(function(e,t,n){return C(e,t,n=n.concat().reverse()).reverse()}),D=X(function(e,t){if(t.length)return C(e,(t=t.concat().reverse())[0],t.slice(1)).reverse()}),V=X(function(e,t,n){return n.slice(e,t)}),B=X(function(e,t){return e<=0?t.slice(0,0):t.slice(0,e)}),N=X(function(e,t){return e<=0?t:t.slice(e)}),j=X(function(e,t){return[B(e,t),N(e,t)]}),M=X(function(e,t){var n,r;if(!(n=t.length))return t;for(r=0;r<n&&e(t[r]);)r+=1;return t.slice(0,r)}),R=X(function(e,t){var n,r;if(!(n=t.length))return t;for(r=0;r<n&&e(t[r]);)r+=1;return t.slice(r)}),F=X(function(e,t){return[M(e,t),R(e,t)]}),U=X(function(e,t){return F(function(){var e=arguments;return function(){var t,n;for(t=1,n=e[0].apply(this,arguments);t<e.length;++t)n=e[t](n);return n}}(e,Z),t)}),q=X(function(e,t){var n,r,i,o,s,a;for(i=0,n=[],r=t.length,o=e.length;i<o&&(s=i,a=e[i],s!==r);++i)n.push([a,t[s]]);return n}),W=X(function(e,t,n){var r,i,o,s,a,l;for(o=0,r=[],i=n.length,s=t.length;o<s&&(a=o,l=t[o],a!==i);++o)r.push(e(l,n[a]));return r}),G=X(function(e,t){return e<0?t[t.length+e]:t[e]}),H=X(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,t[n]===e)return i}),$=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)i=n,t[n]===e&&o.push(i);return o}),K=X(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,e(t[n]))return i}),z=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)i=n,e(t[n])&&o.push(i);return o}),nU={each:e,map:t,filter:n,compact:function(e){var t,n,r,i=[];for(t=0,n=e.length;t<n;++t)(r=e[t])&&i.push(r);return i},reject:r,remove:i,partition:o,find:s,head:a,first:l,tail:function(e){if(e.length)return e.slice(1)},last:function(e){return e[e.length-1]},initial:function(e){if(e.length)return e.slice(0,-1)},empty:function(e){return!e.length},reverse:function(e){return e.concat().reverse()},difference:function(e){var t,n,r,i,o,s,a,l;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];n:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],l=t.length;a<l;++a)if(Q(s,t[a]))continue n;i.push(s)}return i},intersection:function(e){var t,n,r,i,o,s,a,l;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];n:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],l=t.length;a<l;++a)if(!Q(s,t[a]))continue n;i.push(s)}return i},union:function(){var e,t,n,r,i,o,s,a,l;for(t=0,e=[],n=arguments.length;t<n;++t)e.push(arguments[t]);for(t=0,r=[],i=e.length;t<i;++t)for(s=0,a=(o=e[t]).length;s<a;++s)Q(l=o[s],r)||r.push(l);return r},countBy:T,groupBy:b,fold:p,fold1:f,foldl:u,foldl1:d,foldr:m,foldr1:g,unfoldr:h,andList:function(e){var t,n;for(t=0,n=e.length;t<n;++t)if(!e[t])return!1;return!0},orList:function(e){var t,n;for(t=0,n=e.length;t<n;++t)if(e[t])return!0;return!1},any:S,all:x,unique:function(e){var t,n,r,i;for(n=0,t=[],r=e.length;n<r;++n)Q(i=e[n],t)||t.push(i);return t},uniqueBy:c,sort:function(e){return e.concat().sort(function(e,t){return e>t?1:e<t?-1:0})},sortWith:P,sortBy:v,sum:function(e){var t,n,r;for(n=0,t=0,r=e.length;n<r;++n)t+=e[n];return t},product:function(e){var t,n,r;for(n=0,t=1,r=e.length;n<r;++n)t*=e[n];return t},mean:k,average:_,concat:function(e){return[].concat.apply([],e)},concatMap:y,flatten:E,maximum:function(e){var t,n,r,i,o;for(n=0,t=e[0],i=(r=e.slice(1)).length;n<i;++n)(o=r[n])>t&&(t=o);return t},minimum:function(e){var t,n,r,i,o;for(n=0,t=e[0],i=(r=e.slice(1)).length;n<i;++n)(o=r[n])<t&&(t=o);return t},maximumBy:A,minimumBy:Y,scan:C,scan1:L,scanl:w,scanl1:I,scanr:O,scanr1:D,slice:V,take:B,drop:N,splitAt:j,takeWhile:M,dropWhile:R,span:F,breakList:U,zip:q,zipWith:W,zipAll:function(){var e,t,n,r,i,o,s,a,l,c,p=[];for(t=0,e=[],n=arguments.length;t<n;++t)e.push(arguments[t]);for(t=0,r=void 0,i=e.length;t<i;++t)r<=(s=(o=e[t]).length)||(r=s);for(t=0;t<r;++t){for(c=0,a=t,l=[],i=e.length;c<i;++c)o=e[c],l.push(o[a]);p.push(l)}return p},zipAllWith:function(e){var t,n,r,i,o,s,a,l,c=[];for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);for(n=0,i=void 0,o=t.length;n<o;++n)i<=(a=(s=t[n]).length)||(i=a);for(n=0;n<i;++n)l=n,c.push(e.apply(null,function(){var e,n,r=[];for(e=0,n=t.length;e<n;++e)r.push((s=t[e])[l]);return r}()));return c},at:G,elemIndex:H,elemIndices:$,findIndex:K,findIndices:z}}(),n=function(){var e,t,n,r,i;if(nG)return nW;function o(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return nG=1,e=o(function(e,t){var n,r,i,o={};for(n=0,r=e.length;n<r;++n)i=n,o[e[n]]=t[i];return o}),t=o(function(e,t){var n;for(n in t)e(t[n]);return t}),n=o(function(e,t){var n,r,i={};for(n in t)r=t[n],i[n]=e(r);return i}),r=o(function(e,t){var n,r,i={};for(n in t)e(r=t[n])&&(i[n]=r);return i}),i=o(function(e,t){var n,r,i={};for(n in t)e(r=t[n])||(i[n]=r);return i}),nW={values:function(e){var t,n,r=[];for(t in e)n=e[t],r.push(n);return r},keys:function(e){var t,n=[];for(t in e)n.push(t);return n},pairsToObj:function(e){var t,n,r,i={};for(t=0,n=e.length;t<n;++t)i[(r=e[t])[0]]=r[1];return i},objToPairs:function(e){var t,n,r=[];for(t in e)n=e[t],r.push([t,n]);return r},listsToObj:e,objToLists:function(e){var t,n,r,i;for(r in t=[],n=[],e)i=e[r],t.push(r),n.push(i);return[t,n]},empty:function(e){var t;for(t in e)return!1;return!0},each:t,map:n,filter:r,compact:function(e){var t,n,r={};for(t in e)(n=e[t])&&(r[t]=n);return r},reject:i,partition:o(function(e,t){var n,r,i,o;for(i in n={},r={},t)(e(o=t[i])?n:r)[i]=o;return[n,r]}),find:o(function(e,t){var n,r;for(n in t)if(e(r=t[n]))return r})}}(),r=function(){var e;if(n$)return nH;function t(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return n$=1,e=t(function(e,t){return t.split(e)}),nH={split:e,join:t(function(e,t){return t.join(e)}),lines:function(e){return e.length?e.split("\n"):[]},unlines:function(e){return e.join("\n")},words:function(e){return e.length?e.split(/[ ]+/):[]},unwords:function(e){return e.join(" ")},chars:function(e){return e.split("")},unchars:function(e){return e.join("")},reverse:function(e){return e.split("").reverse().join("")},repeat:t(function(e,t){var n,r;for(r=0,n="";r<e;++r)n+=t;return n}),capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},camelize:function(e){return e.replace(/[-_]+(.)?/g,function(e,t){return(null!=t?t:"").toUpperCase()})},dasherize:function(e){return e.replace(/([^-A-Z])([A-Z]+)/g,function(e,t,n){return t+"-"+(n.length>1?n:n.toLowerCase())}).replace(/^([A-Z]+)/,function(e,t){return t.length>1?t+"-":t.toLowerCase()})}}}(),i=function(){var e,t,n,r,i,o,s,a,l,c,p,u,f,d,m,g,h,y,E,T,b,S,x,P;if(nz)return nK;function v(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return nz=1,e=v(function(e,t){return e>t?e:t}),t=v(function(e,t){return e<t?e:t}),n=Math.abs,r=v(function(e,t){return~~(e/t)}),i=v(function(e,t){return e%t}),o=v(function(e,t){return Math.floor(e/t)}),s=v(function(e,t){return(e%t+t)%t}),a=Math.PI,l=Math.exp,c=Math.sqrt,p=Math.log,u=v(function(e,t){return Math.pow(e,t)}),f=Math.sin,d=Math.tan,m=Math.cos,g=Math.asin,h=Math.acos,y=Math.atan,E=v(function(e,t){return Math.atan2(e,t)}),T=Math.round,b=Math.ceil,S=Math.floor,x=v(function(e,t){var n;for(e=Math.abs(e),t=Math.abs(t);0!==t;)n=e%t,e=t,t=n;return e}),P=v(function(e,t){return Math.abs(Math.floor(e/x(e,t)*t))}),nK={max:e,min:t,negate:function(e){return-e},abs:n,signum:function(e){return e<0?-1:+(e>0)},quot:r,rem:i,div:o,mod:s,recip:function(e){return 1/e},pi:a,tau:2*a,exp:l,sqrt:c,ln:p,pow:u,sin:f,tan:d,cos:m,acos:h,asin:g,atan:y,atan2:E,truncate:function(e){return~~e},round:T,ceiling:b,floor:S,isItNaN:function(e){return e!=e},even:function(e){return e%2==0},odd:function(e){return e%2!=0},gcd:x,lcm:P}}(),o=c(function(e,t){return l.call(t).slice(8,-1)===e}),s=c(function(e,t){var n,r=[];for(n=0;n<e;++n)r.push(t);return r}),r.empty=t.empty,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.breakStr=t.breakList,(a={Func:e,List:t,Obj:n,Str:r,Num:i,id:function(e){return e},isType:o,replicate:s}).each=t.each,a.map=t.map,a.filter=t.filter,a.compact=t.compact,a.reject=t.reject,a.partition=t.partition,a.find=t.find,a.head=t.head,a.first=t.first,a.tail=t.tail,a.last=t.last,a.initial=t.initial,a.empty=t.empty,a.reverse=t.reverse,a.difference=t.difference,a.intersection=t.intersection,a.union=t.union,a.countBy=t.countBy,a.groupBy=t.groupBy,a.fold=t.fold,a.foldl=t.foldl,a.fold1=t.fold1,a.foldl1=t.foldl1,a.foldr=t.foldr,a.foldr1=t.foldr1,a.unfoldr=t.unfoldr,a.andList=t.andList,a.orList=t.orList,a.any=t.any,a.all=t.all,a.unique=t.unique,a.uniqueBy=t.uniqueBy,a.sort=t.sort,a.sortWith=t.sortWith,a.sortBy=t.sortBy,a.sum=t.sum,a.product=t.product,a.mean=t.mean,a.average=t.average,a.concat=t.concat,a.concatMap=t.concatMap,a.flatten=t.flatten,a.maximum=t.maximum,a.minimum=t.minimum,a.maximumBy=t.maximumBy,a.minimumBy=t.minimumBy,a.scan=t.scan,a.scanl=t.scanl,a.scan1=t.scan1,a.scanl1=t.scanl1,a.scanr=t.scanr,a.scanr1=t.scanr1,a.slice=t.slice,a.take=t.take,a.drop=t.drop,a.splitAt=t.splitAt,a.takeWhile=t.takeWhile,a.dropWhile=t.dropWhile,a.span=t.span,a.breakList=t.breakList,a.zip=t.zip,a.zipWith=t.zipWith,a.zipAll=t.zipAll,a.zipAllWith=t.zipAllWith,a.at=t.at,a.elemIndex=t.elemIndex,a.elemIndices=t.elemIndices,a.findIndex=t.findIndex,a.findIndices=t.findIndices,a.apply=e.apply,a.curry=e.curry,a.flip=e.flip,a.fix=e.fix,a.over=e.over,a.split=r.split,a.join=r.join,a.lines=r.lines,a.unlines=r.unlines,a.words=r.words,a.unwords=r.unwords,a.chars=r.chars,a.unchars=r.unchars,a.repeat=r.repeat,a.capitalize=r.capitalize,a.camelize=r.camelize,a.dasherize=r.dasherize,a.values=n.values,a.keys=n.keys,a.pairsToObj=n.pairsToObj,a.objToPairs=n.objToPairs,a.listsToObj=n.listsToObj,a.objToLists=n.objToLists,a.max=i.max,a.min=i.min,a.negate=i.negate,a.abs=i.abs,a.signum=i.signum,a.quot=i.quot,a.rem=i.rem,a.div=i.div,a.mod=i.mod,a.recip=i.recip,a.pi=i.pi,a.tau=i.tau,a.exp=i.exp,a.sqrt=i.sqrt,a.ln=i.ln,a.pow=i.pow,a.sin=i.sin,a.tan=i.tan,a.cos=i.cos,a.acos=i.acos,a.asin=i.asin,a.atan=i.atan,a.atan2=i.atan2,a.truncate=i.truncate,a.round=i.round,a.ceiling=i.ceiling,a.floor=i.floor,a.isItNaN=i.isItNaN,a.even=i.even,a.odd=i.odd,a.gcd=i.gcd,a.lcm=i.lcm,a.VERSION="1.2.1",nJ=a}var EO=EL.exports,ED={exports:{}},EV={exports:{}},EB={exports:{}},EN=EB.exports,Ej={exports:{}},EM=Ej.exports,ER=EV.exports;function EF(){return n1||(n1=1,(function(){var e,t;nZ||(nZ=1,(function(){var e,t;function n(e){var t;if(null==(t=e[0]))throw Error("Unexpected end of input.");return t}function r(t){var r;if(r=n(t),!e.test(r))throw Error("Expected text, got '"+r+"' instead.");return t.shift()}function i(e,t){var r;if((r=n(e))!==t)throw Error("Expected '"+t+"', got '"+r+"' instead.");return e.shift()}function o(e,t){return e[0]===t?e.shift():null}function s(e){var t,s;switch(e[0]){case"[":if(i(e,"["),"]"===n(e))throw Error("Must specify type of Array - eg. [Type], got [] instead.");return t=a(e),i(e,"]"),{structure:"array",of:t};case"(":if(s=[],i(e,"("),")"===n(e))throw Error("Tuple must be of at least length 1 - eg. (Type), got () instead.");for(;s.push(a(e)),o(e,","),")"!==n(e););return i(e,")"),{structure:"tuple",of:s};case"{":return function(e){var t,s,l,c,p;for(t={},i(e,"{"),s=!1;;){if(o(e,"...")){s=!0;break}if(c=(l=function(e){var t;return t=r(e),i(e,":"),[t,a(e)]}(e))[0],p=l[1],t[c]=p,o(e,","),"}"===n(e))break}return i(e,"}"),{structure:"fields",of:t,subset:s}}(e)}}function a(t){var a,l,c,p,u,f;if("::"===n(t))throw Error("No comment before comment separator '::' found.");for(null!=(a=t[1])&&"::"===a&&(t.shift(),t.shift()),l=[],c={},"Maybe"===n(t)&&(t.shift(),l=[{type:"Undefined"},{type:"Null"}],c={Undefined:!0,Null:!0});u=(p=function(t){var o,a,l,c;if((a="*"===(o=n(t)))||e.test(o))return(l=a?i(t,"*"):r(t),c=s(t))?(c.type=l,c):{type:l};if(!(c=s(t)))throw Error("Unexpected character: "+o);return c}(t)).type,f=p.structure,c[u]||l.push(p),null==f&&(c[u]=!0),o(t,"|"););return l}t=RegExp("\\.\\.\\.|::|->|"+(e=/[\$\w]+/).source+"|\\S","g"),EB.exports=function(e){var n;if(!e.length)throw Error("No type specified.");if(function(e,t){for(var n=-1,r=t.length>>>0;++n<r;)if("->"===t[n])return!0;return!1}("->",n=e.match(t)||[]))throw Error("Function types are not supported. To validate that something is a function, you may use 'Function'.");try{return a(n)}catch(t){throw Error(t.message+" - Remaining tokens: "+JSON.stringify(n)+" - Initial input: '"+e+"'")}}}).call(EN)),e=EB.exports,n0||(n0=1,(function(){var e,t,n,r,i,o,s={}.toString;function a(e,t,r){if(!(e instanceof Object))return!1;switch(t.structure){case"fields":return function(e,t,n){var r,i,o,s,a,c,p;for(o in r={},i=0,e)r[o]=!0,i++;for(a in s=0,c=t.of){if(p=c[a],!l(e[a],p,n))return!1;r[a]&&s++}return t.subset||i===s}(e,t,r);case"array":return n(function(e){return l(e,t.of,r)},e);case"tuple":return function(e,t,n){var r,i,o,s,a;for(i=0,r=0,s=(o=t.of).length;i<s;++i){if(a=o[i],!l(e[r],a,n))return!1;r++}return e.length<=r}(e,t,r)}}function l(e,n,r){if("Array"!==s.call(n).slice(8,-1))throw Error("Types must be in an array. Input: "+e+".");return t(function(t){var n,l,c,p;if(n=t.type,l=t.structure,n)return"*"===n||((c=r.customTypes[n]||i[n])?(void 0===c.typeOf||c.typeOf===s.call(e).slice(8,-1))&&c.validate(e):n===s.call(e).slice(8,-1)&&(!l||a(e,t,r)));if(l)return(!(p=o[l])||p===s.call(e).slice(8,-1))&&a(e,t,r);throw Error("No type defined. Input: "+e+".")},n)}t=(e=EI()).any,n=e.all,i={Number:{typeOf:"Number",validate:function(e){return!r(e)}},NaN:{typeOf:"Number",validate:r=e.isItNaN},Int:{typeOf:"Number",validate:function(e){return!r(e)&&e%1==0}},Float:{typeOf:"Number",validate:function(e){return!r(e)}},Date:{typeOf:"Date",validate:function(e){return!r(e.getTime())}}},o={array:"Array",tuple:"Array"},Ej.exports=function(e,t,n){return null==n&&(n={}),null==n.customTypes&&(n.customTypes={}),l(t,e,n)}}).call(EM)),EV.exports={VERSION:"0.4.0",typeCheck:function(n,r,i){return t(e(n),r,i)},parsedTypeCheck:t=Ej.exports,parseType:e}}).call(ER)),EV.exports}var EU=ED.exports,Eq=Ew.exports,EW=function(){if(n4)return EC;n4=1;var e=(n3||(n3=1,(function(){var e,t,n,r;nQ||(nQ=1,(function(){var e,t,n;function r(e,t){if(e[0]===t)return e.shift();throw Error("Expected '"+t+"', but got '"+e[0]+"' instead in "+JSON.stringify(e)+".")}function i(e,t){if(e[0]===t)return e.shift()}function o(e,t,n){var o,s,a,l;for(o=t[0],s=t[1],n&&r(e,o),a=[],l=","+(n?s:"");e.length&&n&&e[0]!==s;)a.push(p(e,l)),i(e,",");return n&&r(e,s),a}function s(e,t){return o(e,["[","]"],t)}function a(e,t){return o(e,["(",")"],t)}function l(e,t){var n,o,s;for(t&&r(e,"{"),n={},o=","+(t?"}":"");e.length&&(!t||"}"!==e[0]);)s=c(e,":"),r(e,":"),n[s]=p(e,o),i(e,",");return t&&r(e,"}"),n}function c(e,t){var n;for(null==t&&(t=""),n="";e.length&&-1===t.indexOf(e[0]);)n+=e.shift();return n}function p(e,t){switch(e[0]){case"[":return s(e,!0);case"(":return a(e,!0);case"{":return l(e,!0);default:return c(e,t)}}function u(e){return!e}e=EI().reject,n=RegExp("(\"(?:\\\\\"|[^\"])*\")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|(["+(t=/\[\]\(\)}{:,/.source)+"])|([^\\s"+t+"](?:\\s*[^\\s"+t+"]+)*)|\\s*"),EL.exports=function(t,r,i){var o,c,f,d,m,g,h,y,E;if(null==i&&(i={}),!i.explicit&&1===t.length&&"String"===t[0].type)return r;if(c=e(u,r.split(n)),f=i,m=(d=t[0]).type,g=d.structure,h=c.concat(),f.explicit||1!==t.length||(m||!g)&&"Array"!==m&&"Object"!==m?E=p(c):(y="array"===g||"Array"===m?s(c,"["===c[0]):"tuple"===g?a(c,"("===c[0]):l(c,"{"===c[0]),E=c.length?p(("array"===g||"Array"===m?(h.unshift("["),h.push("]")):(h.unshift("("),h.push(")")),h)):y),!(o=E))throw Error("Error parsing '"+r+"'.");return o}}).call(EO)),e=EL.exports,n2||(n2=1,(function(){var e,t,n={}.toString;function r(e,t,r){var i;return"Array"!==n.call(e).slice(8,-1)?{type:"Nothing"}:(i=t.of,{type:"Just",value:function(){var t,n,o=[];for(t=0,n=e.length;t<n;++t)o.push(s(e[t],i,r));return o}()})}function i(e,t,r){var i,o,a;return"Object"!==n.call(e).slice(8,-1)?{type:"Nothing"}:(i=t.of,{type:"Just",value:function(){var t,n={};for(o in t=e)a=t[o],n[s(o,[{type:"String"}],r)]=s(a,i[o]||[{type:"*"}],r);return n}()})}function o(e,o,a){var l,c,p,u;if(l=o.type,c=o.structure,l){if(!(p=(null!=(u=a.customTypes[l])?u.cast:void 0)||t[l]))throw Error("Type not defined: "+l+".");return p(e,a,s)}switch(c){case"array":return r(e,o,a);case"tuple":return function(e,t,r){var i,o,a,l,c,p,u;if("Array"!==n.call(e).slice(8,-1))return{type:"Nothing"};for(a=0,i=[],o=0,c=(l=t.of).length;a<c;++a)p=l[a],u=s(e[o],p,r),"Undefined"!==n.call(u).slice(8,-1)&&i.push(u),o++;return e.length<=o?{type:"Just",value:i}:{type:"Nothing"}}(e,o,a);case"fields":return i(e,o,a)}}function s(t,n,r){var i,s,a,l,c,p;for(i=0,s=n.length;i<s;++i)if(c=(l=o(t,a=n[i],r)).type,p=l.value,"Nothing"!==c&&e([a],p,{customTypes:r.customTypes}))return p;throw Error("Value "+JSON.stringify(t)+" does not type check against "+JSON.stringify(n)+".")}e=EF().parsedTypeCheck,t={"*":function(e,t){switch(n.call(e).slice(8,-1)){case"Array":return o(e,{type:"Array"},t);case"Object":return o(e,{type:"Object"},t);default:return{type:"Just",value:s(e,[{type:"Undefined"},{type:"Null"},{type:"NaN"},{type:"Boolean"},{type:"Number"},{type:"Date"},{type:"RegExp"},{type:"Array"},{type:"Object"},{type:"String"}],(t.explicit=!0,t))}}},Undefined:function(e){return"undefined"===e||void 0===e?{type:"Just",value:void 0}:{type:"Nothing"}},Null:function(e){return"null"===e?{type:"Just",value:null}:{type:"Nothing"}},NaN:function(e){return"NaN"===e?{type:"Just",value:NaN}:{type:"Nothing"}},Boolean:function(e){return"true"===e?{type:"Just",value:!0}:"false"===e?{type:"Just",value:!1}:{type:"Nothing"}},Number:function(e){return{type:"Just",value:+e}},Int:function(e){return{type:"Just",value:+e}},Float:function(e){return{type:"Just",value:+e}},Date:function(e,t){var n;return(n=/^\#([\s\S]*)\#$/.exec(e))?{type:"Just",value:new Date(+n[1]||n[1])}:t.explicit?{type:"Nothing"}:{type:"Just",value:new Date(+e||e)}},RegExp:function(e,t){var n;return(n=/^\/([\s\S]*)\/([gimy]*)$/.exec(e))?{type:"Just",value:new RegExp(n[1],n[2])}:t.explicit?{type:"Nothing"}:{type:"Just",value:new RegExp(e)}},Array:function(e,t){return r(e,{of:[{type:"*"}]},t)},Object:function(e,t){return i(e,{of:{}},t)},String:function(e){var t,r;return"String"!==n.call(e).slice(8,-1)?{type:"Nothing"}:(t=function(e,t){return e.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(e,n){switch(n[0]){case t:return t;case"\\":return"\\";case"b":return"\b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return" ";case"u":return JSON.parse('"'+e+'"');default:return n}})},r=e.match(/^'([\s\S]*)'$/))?{type:"Just",value:t(r[1],"'")}:(r=e.match(/^"([\s\S]*)"$/))?{type:"Just",value:t(r[1],'"')}:{type:"Just",value:e}}},ED.exports=function(e,t,n){return n.explicit||1!==t.length||"String"!==t[0].type?s(e,t,n):e}}).call(EU)),t=ED.exports,n=EF().parseType,Ew.exports={VERSION:"0.4.1",parse:function(e,t,i){return r(n(e),t,i)},parsedTypeParse:r=function(n,r,i){return null==i&&(i={}),null==i.explicit&&(i.explicit=!1),null==i.customTypes&&(i.customTypes={}),t(e(n,r,i),n,i)}}}).call(Eq)),Ew.exports);let t=/^([a-z]+(?:-[a-z]+)*)(?:\s|$)/u,n=new Set([0,1,2,"off","warn","error"]);function r(e){let t=Array.isArray(e)?e[0]:e;return n.has(t)}class i{label="";value="";justification="";constructor(e,t,n){this.label=e,this.value=t,this.justification=n}}return EC.CallMethodStep=class{type="call";kind=2;target;args;constructor({target:e,args:t}){this.target=e,this.args=t}},EC.ConfigCommentParser=class{parseStringConfig(e){let t={};return e.trim().replace(/(?<!\s)\s*([:,])\s*/gu,"$1").split(/\s|,+/u).forEach(e=>{if(!e)return;let[n,r=null]=e.split(":");t[n]=r}),t}parseJSONLikeConfig(t){try{let n=e.parse("Object",t)||{};if(Object.values(n).every(r))return{ok:!0,config:n}}catch{}let n=t.replace(/([-a-zA-Z0-9/]+):/gu,'"$1":').replace(/(\]|[0-9])\s+(?=")/u,"$1,");try{let e=JSON.parse(`{${n}}`);return{ok:!0,config:e}}catch(t){let e=t instanceof Error?t.message:String(t);return{ok:!1,error:{message:`Failed to parse JSON from '${n}': ${e}`}}}}parseListConfig(e){let t={};return e.split(",").forEach(e=>{let n=e.trim().replace(/^(?<quote>['"]?)(?<ruleId>.*)\k<quote>$/su,"$<ruleId>");n&&(t[n]=!0)}),t}#P(e){let t=/\s-{2,}\s/u.exec(e);return t?{directivePart:e.slice(0,t.index).trim(),justificationPart:e.slice(t.index+t[0].length).trim()}:{directivePart:e.trim(),justificationPart:""}}parseDirective(e){let{directivePart:n,justificationPart:r}=this.#P(e),o=t.exec(n);if(!o)return;let s=o[1],a=n.slice(o.index+s.length);return new i(s,a.trim(),r)}},EC.Directive=class{type;node;value;justification;constructor({type:e,node:t,value:n,justification:r}){this.type=e,this.node=t,this.value=n,this.justification=r}},EC.TextSourceCodeBase=class{#v;ast;text;constructor({text:e,ast:t,lineEndingPattern:n=/\r?\n/u}){this.ast=t,this.text=e,this.#v=e.split(n)}getLoc(e){if("loc"in e)return e.loc;if("position"in e)return e.position;throw Error("Custom getLoc() method must be implemented in the subclass.")}getRange(e){if("range"in e)return e.range;if("position"in e)return[e.position.start.offset,e.position.end.offset];throw Error("Custom getRange() method must be implemented in the subclass.")}getParent(e){throw Error("Not implemented.")}getAncestors(e){if(!e)throw TypeError("Missing required argument: node.");let t=[];for(let n=this.getParent(e);n;n=this.getParent(n))t.push(n);return t.reverse()}getText(e,t,n){if(e){let r=this.getRange(e);return this.text.slice(Math.max(r[0]-(t||0),0),r[1]+(n||0))}return this.text}get lines(){return this.#v}traverse(){throw Error("Not implemented.")}},EC.VisitNodeStep=class{type="visit";kind=1;target;phase;args;constructor({target:e,phase:t,args:n}){this.target=e,this.phase=t,this.args=n}},EC}();function EG(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}const EH=function(e){var t,n;if(null==e)return EK;if("function"==typeof e)return E$(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=EH(e[n]);return E$(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,E$(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,E$(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function E$(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function EK(){return!0}const Ez=[];function EJ(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function EX(e){this.config.enter.autolinkProtocol.call(this,e)}function EQ(e){this.config.exit.autolinkProtocol.call(this,e)}function EZ(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function E0(e){this.config.exit.autolinkEmail.call(this,e)}function E1(e){this.exit(e)}function E2(e){!function(e,t,n){let r=EH((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),o=-1;for(;++o<i.length;)!function(e,t,n,r){let i=EH(t);(function e(t,r,o){let s=t&&"object"==typeof t?t:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(a,"name",{value:"node (\x1b[33m"+t.type+(e?"<"+e+">":"")+"\x1b[39m)"})}return a;function a(){var s;let a,l,c,p=Ez;if(i(t,r,o[o.length-1]||void 0)&&!1===(p=Array.isArray(s=n(t,o))?s:"number"==typeof s?[!0,s]:null==s?Ez:[s])[0])return p;if("children"in t&&t.children&&t.children&&"skip"!==p[0])for(l=0,c=o.concat(t);l>-1&&l<t.children.length;){if(!1===(a=e(t.children[l],l,c)())[0])return a;l="number"==typeof a[1]?a[1]:l+1}return p}})(e,void 0,[])()}(e,"text",s);function s(e,t){let n,s=-1;for(;++s<t.length;){let e=t[s],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=i[o][0],s=i[o][1],a=0,l=n.children.indexOf(e),c=!1,p=[];r.lastIndex=0;let u=r.exec(e.value);for(;u;){let n=u.index,i={index:u.index,input:u.input,stack:[...t,e]},o=s(...u,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&p.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?p.push(...o):o&&p.push(o),a=n+u[0].length,c=!0),!r.global)break;u=r.exec(e.value)}return c?(a<e.value.length&&p.push({type:"text",value:e.value.slice(a)}),n.children.splice(l,1,...p)):p=[e],l+p.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,E3],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,E4]],{ignore:["link","linkReference"]})}function E3(e,t,n,r,i){let o="";if(!E6(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=EG(e,"("),o=EG(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),o++;return[e,n]}(n+r);if(!s[0])return!1;let a={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function E4(e,t,n,r){return!(!E6(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E6(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||yw(n)||yC(n))&&(!t||47!==n)}function E5(){this.buffer()}function E9(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function E8(){this.buffer()}function E7(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Te(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=yE(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Tt(e){this.exit(e)}function Tn(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=yE(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Tr(e){this.exit(e)}function Ti(e){this.enter({type:"delete",children:[]},e)}function To(e){this.exit(e)}function Ts(e){let t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function Ta(e){this.exit(e),this.data.inTable=void 0}function Tl(e){this.enter({type:"tableRow",children:[]},e)}function Tc(e){this.exit(e)}function Tp(e){this.enter({type:"tableCell",children:[]},e)}function Tu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Tf));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Tf(e,t){return"|"===t?t:e}function Td(e){let t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Tm(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,o=-1;for(;++o<i.length;){let e=i[o];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}const Tg={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},Th={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(TE,l,a)(t):null===t||yA(t)||yw(t)||45!==t&&yC(t)?l(t):(o=!0,e.consume(t),s)}function a(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},Ty={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r<n?o(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?e.check(TE,t,o)(s):null===s||yA(s)||yw(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},TE={tokenize:function(e,t,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),r):38===s?(e.consume(s),o):93===s?(e.consume(s),i):60===s||null===s||yA(s)||yw(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||yA(e)||yw(e)?t(e):r(e)}function o(t){return yT(t)?function t(i){return 59===i?(e.consume(i),r):yT(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},TT={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return yb(e)?n(e):t(e)}},partial:!0},Tb={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!Tk.call(r,r.previous)||TC(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Tg,e.attempt(Th,e.attempt(Ty,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Tk},TS={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",o=!1;return function(t){return(72===t||104===t)&&T_.call(r,r.previous)&&!TC(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if(yT(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),o)?l:(o=!0,a):n(t)}function l(t){return null===t||yx(t)||yA(t)||yw(t)||yC(t)?n(t):e.attempt(Th,e.attempt(Ty,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:T_},Tx={name:"emailAutolink",tokenize:function(e,t,n){let r,i,o=this;return function(t){return!TY(t)||!TA.call(o,o.previous)||TC(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return TY(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(TT,l,a)(t):45===t||95===t||yb(t)?(i=!0,e.consume(t),s):l(t)}function a(t){return e.consume(t),r=!0,s}function l(s){return i&&r&&yT(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:TA},TP={};let Tv=48;for(;Tv<123;)TP[Tv]=Tx,58==++Tv?Tv=65:91===Tv&&(Tv=97);function Tk(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||yA(e)}function T_(e){return!yT(e)}function TA(e){return!(47===e||TY(e))}function TY(e){return 43===e||45===e||46===e||95===e||yb(e)}function TC(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}TP[43]=Tx,TP[45]=Tx,TP[46]=Tx,TP[95]=Tx,TP[72]=[Tx,TS],TP[104]=[Tx,TS],TP[87]=[Tx,Tb],TP[119]=[Tx,Tb];const Tw={tokenize:function(e,t,n){let r=this;return yI(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function TL(e,t,n){let r,i=this,o=i.events.length,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;o--;){let e=i.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return n(o);let a=yE(i.sliceSerialize({start:r.end,end:i.now()}));return 94===a.codePointAt(0)&&s.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function TI(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function TO(e,t,n){let r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(a){if(s>999||93===a&&!r||null===a||91===a||yA(a))return n(a);if(93===a){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes(yE(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return yA(a)||(r=!0),s++,e.consume(a),92===a?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,l):l(t)}}function TD(e,t,n){let r,i,o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(a>999||93===t&&!i||null===t||91===t||yA(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=yE(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),u}return yA(t)||(i=!0),a++,e.consume(t),92===t?p:c}function p(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}function u(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),yI(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function TV(e,t,n){return e.check(yR,t,e.attempt(Tw,t,n))}function TB(e){e.exit("gfmFootnoteDefinition")}class TN{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function Tj(e,t,n){let r,i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?E:a;return o===E&&i.parser.lazy[i.now().line]?n(e):o(e)};function a(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,s+=1),l(n)}function l(t){return null===t?n(t):y_(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):n(t):yY(t)?yI(e,l,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),c(t))}function c(t){return null===t||124===t||yA(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?p:c)}function p(t){return 92===t||124===t?(e.consume(t),c):c(t)}function u(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,yY(t))?yI(e,f,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function d(t){return yY(t)?yI(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||y_(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),h):(e.exit("tableDelimiterFiller"),h(n))}(t)):n(t)}function h(t){return yY(t)?yI(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return f(i);if(null===i||y_(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function E(t){return e.enter("tableRow"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||y_(n)?(e.exit("tableRow"),t(n)):yY(n)?yI(e,T,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||yA(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?S:b)}function S(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function TM(e,t){let n,r,i,o=-1,s=!0,a=0,l=[0,0,0,0],c=[0,0,0,0],p=!1,u=0,f=new TN;for(;++o<e.length;){let d=e[o],m=d[1];"enter"===d[0]?"tableHead"===m.type?(p=!1,0!==u&&(TF(f,t,u,n,r),r=void 0,u=0),n={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(o,0,[["enter",n,t]])):"tableRow"===m.type||"tableDelimiterRow"===m.type?(s=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],p&&(p=!1,r={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(o,0,[["enter",r,t]])),a="tableDelimiterRow"===m.type?2:r?3:1):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)?(s=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=TR(f,t,l,a,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableCellDivider"===m.type&&(s?s=!1:(0!==l[1]&&(c[0]=c[1],i=TR(f,t,l,a,void 0,i)),c=[(l=c)[1],o,0,0])):"tableHead"===m.type?(p=!0,u=o):"tableRow"===m.type||"tableDelimiterRow"===m.type?(u=o,0!==l[1]?(c[0]=c[1],i=TR(f,t,l,a,o,i)):0!==c[1]&&(i=TR(f,t,c,a,o,i)),a=0):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=o)}for(0!==u&&TF(f,t,u,n,r),f.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,o))}return e}function TR(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},TU(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let s=TU(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let i=TU(t.events,n[2]),o=TU(t.events,n[3]),s={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",s,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",s,t]])}return void 0!==i&&(o.end=Object.assign({},TU(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function TF(e,t,n,r,i){let o=[],s=TU(t.events,n);i&&(i.end=Object.assign({},s),o.push(["exit",i,t])),r.end=Object.assign({},s),o.push(["exit",r,t]),e.add(n+1,0,o)}function TU(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Tq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return yA(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return y_(r)?t(r):yY(r)?e.check({tokenize:TW},t,n)(r):n(r)}}};function TW(e,t,n){return yI(e,function(e){return null===e?n(e):t(e)},"whitespace")}const TG=new Set(["eol-last","unicode-bom"]),TH=new Map,T$=/^[>\s]*/u;function TK(e){return e.position.start.offset-e.position.start.column+1}function Tz(e,t){return T$.exec(e.slice(TK(t)))[0]}const TJ=/filename=(?<quote>["'])(?<filename>.*?)\1/u,TX={javascript:"js",ecmascript:"js",typescript:"ts",markdown:"md"};function TQ(e,t){return{range:t.range.map(t=>{let n=1;for(;n<e.rangeMap.length&&e.rangeMap[n].js<=t;)n++;return t+e.rangeMap[n-1].md}),text:t.text.replace(/\n/gu,`
14
+ ${n}${t}`);return t.replaceText(e,r)}}(r,c)})})},...b,"*:exit":function(e){gG.has(e.type)||T(e)},"Program:exit":function(){r.ignoreComments&&i.getAllComments().forEach(e=>s.ignoreToken(e));for(let e=0;e<h.length;e++){let t=h[e];E.has(t.node)||t.listener?.(t.node)}E.forEach(d),function(e){let t=[],n=[];for(let r=0;r<e.length;r++){let i=e[r];l8(i)?t.push(i):l7(i)&&n.push({left:t.pop(),right:i})}for(let e=n.length-1;e>=0;e--){let t=n[e].left,r=n[e].right;if(!a.has(t)&&!a.has(r)){let e=new Set(i.getTokensBetween(t,r));e.forEach(n=>{e.has(s.getFirstDependency(n))||s.setDesiredOffset(n,t,1)})}s.setDesiredOffset(r,t,0)}}(i.ast.tokens);let t=new WeakMap;for(let e=0;e<i.ast.comments.length;e++){let n=i.ast.comments[e],r=i.getTokenBefore(n,{includeComments:!0}),o=t.has(r)?t.get(r):r;t.set(n,o)}for(let n=1;n<i.lines.length+1;n++){if(!o.firstTokensByLineNumber.has(n))continue;let r=o.firstTokensByLineNumber.get(n);if(r.loc.start.line===n){if(ci(r)){let e=t.get(r),n=e?i.getTokenAfter(e):i.ast.tokens[0],o=e&&!m(e,r),a=n&&!m(r,n);if(n&&l5(n)&&!cp(r,n)&&s.setDesiredOffset(r,n,0),o&&c(r,s.getDesiredIndent(e))||a&&c(r,s.getDesiredIndent(n)))continue}c(r,s.getDesiredIndent(r))||function(t,n){let r=Array.from(o.getTokenIndent(t)),i=r.filter(e=>" "===e).length,s=r.filter(e=>" "===e).length;e.report({node:t,messageId:"wrongIndentation",data:l(n.length,i,s),loc:{start:{line:t.loc.start.line,column:0},end:{line:t.loc.start.line,column:t.loc.start.column}},fix(e){let r=[t.range[0]-t.loc.start.column,t.range[0]];return e.replaceTextRange(r,n)}})}(r,s.getDesiredIndent(r))}}}}}});const gX=new Set([gI.AST_NODE_TYPES.PropertyDefinition,gI.AST_NODE_TYPES.TSAbstractKeyword,gI.AST_NODE_TYPES.TSAnyKeyword,gI.AST_NODE_TYPES.TSBooleanKeyword,gI.AST_NODE_TYPES.TSNeverKeyword,gI.AST_NODE_TYPES.TSNumberKeyword,gI.AST_NODE_TYPES.TSStringKeyword,gI.AST_NODE_TYPES.TSSymbolKeyword,gI.AST_NODE_TYPES.TSUndefinedKeyword,gI.AST_NODE_TYPES.TSUnknownKeyword,gI.AST_NODE_TYPES.TSVoidKeyword,gI.AST_NODE_TYPES.TSNullKeyword,gI.AST_NODE_TYPES.TSAbstractPropertyDefinition,gI.AST_NODE_TYPES.TSAbstractMethodDefinition,gI.AST_NODE_TYPES.TSArrayType,gI.AST_NODE_TYPES.TSAsExpression,gI.AST_NODE_TYPES.TSCallSignatureDeclaration,gI.AST_NODE_TYPES.TSConditionalType,gI.AST_NODE_TYPES.TSConstructorType,gI.AST_NODE_TYPES.TSConstructSignatureDeclaration,gI.AST_NODE_TYPES.TSDeclareFunction,gI.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,gI.AST_NODE_TYPES.TSEnumDeclaration,gI.AST_NODE_TYPES.TSEnumMember,gI.AST_NODE_TYPES.TSExportAssignment,gI.AST_NODE_TYPES.TSExternalModuleReference,gI.AST_NODE_TYPES.TSFunctionType,gI.AST_NODE_TYPES.TSImportType,gI.AST_NODE_TYPES.TSIndexedAccessType,gI.AST_NODE_TYPES.TSIndexSignature,gI.AST_NODE_TYPES.TSInferType,gI.AST_NODE_TYPES.TSInterfaceBody,gI.AST_NODE_TYPES.TSInterfaceDeclaration,gI.AST_NODE_TYPES.TSInterfaceHeritage,gI.AST_NODE_TYPES.TSImportEqualsDeclaration,gI.AST_NODE_TYPES.TSLiteralType,gI.AST_NODE_TYPES.TSMappedType,gI.AST_NODE_TYPES.TSMethodSignature,"TSMinusToken",gI.AST_NODE_TYPES.TSModuleBlock,gI.AST_NODE_TYPES.TSModuleDeclaration,gI.AST_NODE_TYPES.TSNonNullExpression,gI.AST_NODE_TYPES.TSParameterProperty,"TSPlusToken",gI.AST_NODE_TYPES.TSPropertySignature,gI.AST_NODE_TYPES.TSQualifiedName,"TSQuestionToken",gI.AST_NODE_TYPES.TSRestType,gI.AST_NODE_TYPES.TSThisType,gI.AST_NODE_TYPES.TSTupleType,gI.AST_NODE_TYPES.TSTypeAnnotation,gI.AST_NODE_TYPES.TSTypeLiteral,gI.AST_NODE_TYPES.TSTypeOperator,gI.AST_NODE_TYPES.TSTypeParameter,gI.AST_NODE_TYPES.TSTypeParameterDeclaration,gI.AST_NODE_TYPES.TSTypeParameterInstantiation,gI.AST_NODE_TYPES.TSTypeReference,gI.AST_NODE_TYPES.Decorator]);var gQ=lG({name:"indent",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent indentation"},fixable:"whitespace",hasSuggestions:gJ.meta.hasSuggestions,schema:gJ.meta.schema,messages:gJ.meta.messages},defaultOptions:[4,{SwitchCase:1,flatTernaryExpressions:!1,ignoredNodes:[]}],create(e,t){let n=Object.create(e,{options:{writable:!1,configurable:!1,value:t}}),r=gJ.create(n);function i(e,t=gI.AST_NODE_TYPES.Property){let n={key:null,value:null,computed:!1,method:!1,kind:"init",shorthand:!0,parent:e.parent,range:e.range,loc:e.loc};return t===gI.AST_NODE_TYPES.Property?{...n,type:t}:{type:t,accessibility:void 0,declare:!1,decorators:[],definite:!1,optional:!1,override:!1,readonly:!1,static:!1,typeAnnotation:void 0,...n}}return{...r,"*:exit":function(e){gX.has(e.type)||r["*:exit"](e)},VariableDeclaration(e){if(0!==e.declarations.length)return r.VariableDeclaration(e)},TSAsExpression:e=>r["BinaryExpression, LogicalExpression"]({type:gI.AST_NODE_TYPES.BinaryExpression,operator:"as",left:e.expression,right:e.typeAnnotation,parent:e.parent,range:e.range,loc:e.loc}),TSConditionalType:e=>r.ConditionalExpression({type:gI.AST_NODE_TYPES.ConditionalExpression,test:{parent:e,type:gI.AST_NODE_TYPES.BinaryExpression,operator:"extends",left:e.checkType,right:e.extendsType,range:[e.checkType.range[0],e.extendsType.range[1]],loc:{start:e.checkType.loc.start,end:e.extendsType.loc.end}},consequent:e.trueType,alternate:e.falseType,parent:e.parent,range:e.range,loc:e.loc}),"TSEnumDeclaration, TSTypeLiteral":function(e){let t="body"in e&&e.body?.members||e.members;return r["ObjectExpression, ObjectPattern"]({type:gI.AST_NODE_TYPES.ObjectExpression,properties:t.map(e=>i(e)),parent:e.parent,range:e.range,loc:e.loc})},TSImportEqualsDeclaration(e){let{id:t,moduleReference:n}=e;return r.VariableDeclaration({type:gI.AST_NODE_TYPES.VariableDeclaration,kind:"const",declarations:[{type:gI.AST_NODE_TYPES.VariableDeclarator,range:[t.range[0],n.range[1]],loc:{start:t.loc.start,end:n.loc.end},id:t,init:{type:gI.AST_NODE_TYPES.CallExpression,callee:{type:gI.AST_NODE_TYPES.Identifier,name:"require",range:[n.range[0],n.range[0]+7],loc:{start:n.loc.start,end:{line:n.loc.end.line,column:n.loc.start.line+7}}},arguments:"expression"in n?[n.expression]:[],range:n.range,loc:n.loc}}],declare:!1,parent:e.parent,range:e.range,loc:e.loc})},TSIndexedAccessType:e=>r["MemberExpression, JSXMemberExpression, MetaProperty"]({type:gI.AST_NODE_TYPES.MemberExpression,object:e.objectType,property:e.indexType,parent:e.parent,range:e.range,loc:e.loc,optional:!1,computed:!0}),TSInterfaceBody:e=>r["BlockStatement, ClassBody"]({type:gI.AST_NODE_TYPES.ClassBody,body:e.body.map(e=>i(e,gI.AST_NODE_TYPES.PropertyDefinition)),parent:e.parent,range:e.range,loc:e.loc}),"TSInterfaceDeclaration[extends.length > 0]":function(e){return r["ClassDeclaration[superClass], ClassExpression[superClass]"]({type:gI.AST_NODE_TYPES.ClassDeclaration,body:e.body,id:null,superClass:e.extends[0].expression,abstract:!1,declare:!1,decorators:[],implements:[],superTypeArguments:void 0,superTypeParameters:void 0,typeParameters:void 0,parent:e.parent,range:e.range,loc:e.loc})},TSMappedType(t){let n=e.sourceCode.getTokenBefore(t.constraint||t.typeParameter);return r["ObjectExpression, ObjectPattern"]({type:gI.AST_NODE_TYPES.ObjectExpression,properties:[{parent:t,type:gI.AST_NODE_TYPES.Property,key:t.key||t.typeParameter,value:t.typeAnnotation,range:[n.range[0],t.typeAnnotation?t.typeAnnotation.range[1]:n.range[0]],loc:{start:n.loc.start,end:t.typeAnnotation?t.typeAnnotation.loc.end:n.loc.end},kind:"init",computed:!1,method:!1,optional:!1,shorthand:!1}],parent:t.parent,range:t.range,loc:t.loc})},TSModuleBlock:e=>r["BlockStatement, ClassBody"]({type:gI.AST_NODE_TYPES.BlockStatement,body:e.body,parent:e.parent,range:e.range,loc:e.loc}),TSQualifiedName:e=>r["MemberExpression, JSXMemberExpression, MetaProperty"]({type:gI.AST_NODE_TYPES.MemberExpression,object:e.left,property:e.right,parent:e.parent,range:e.range,loc:e.loc,optional:!1,computed:!1}),TSTupleType:e=>r["ArrayExpression, ArrayPattern"]({type:gI.AST_NODE_TYPES.ArrayExpression,elements:e.elementTypes,parent:e.parent,range:e.range,loc:e.loc}),TSTypeParameterDeclaration(e){if(!e.params.length)return;let[t,...n]=e.params;return r.JSXOpeningElement({type:gI.AST_NODE_TYPES.JSXOpeningElement,selfClosing:!1,name:t,attributes:n,typeArguments:void 0,typeParameters:void 0,parent:e.parent,range:e.range,loc:e.loc})},TSTypeParameterInstantiation(e){if(!e.params.length)return;let[t,...n]=e.params;return r.JSXOpeningElement({type:gI.AST_NODE_TYPES.JSXOpeningElement,selfClosing:!1,name:t,attributes:n,typeArguments:void 0,typeParameters:void 0,parent:e.parent,range:e.range,loc:e.loc})}}}});function gZ(e){return e[e.length-1]}function g0(e){return e.loc.end.line===e.loc.start.line}function g1(e,t){let n=t.getTokenBefore(e.attributes[0],cn);return t.getTokenAfter(e.attributes[e.attributes.length-1],cr).loc.end.line===n.loc.start.line}function g2(e,t){return e.mode=t.mode||"strict",void 0!==t.beforeColon?e.beforeColon=+t.beforeColon:e.beforeColon=0,void 0!==t.afterColon?e.afterColon=+t.afterColon:e.afterColon=1,void 0!==t.align&&("object"==typeof t.align?e.align=t.align:e.align={on:t.align,mode:e.mode,beforeColon:e.beforeColon,afterColon:e.afterColon}),e}var g3=lG({name:"key-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing between keys and values in object literal properties"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{align:{anyOf:[{type:"string",enum:["colon","value"]},{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"},ignoredNodes:{type:"array",items:{type:"string",enum:["ObjectExpression","ObjectPattern","ImportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TSTypeLiteral","TSInterfaceBody","ClassBody"]}}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{align:{anyOf:[{type:"string",enum:["colon","value"]},{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},align:{type:"object",properties:{mode:{type:"string",enum:["strict","minimum"]},on:{type:"string",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(e){var t,n;let r=(t={},"object"==typeof(n=e.options[0]||{}).align?(t.align=g2({},n.align),t.align.on=n.align.on||"colon",t.align.mode=n.align.mode||"strict",t.multiLine=g2({},n.multiLine||n),t.singleLine=g2({},n.singleLine||n)):(t.multiLine=g2({},n.multiLine||n),t.singleLine=g2({},n.singleLine||n),t.multiLine.align&&(t.align={on:t.multiLine.align.on,mode:t.multiLine.align.mode||t.multiLine.mode,beforeColon:t.multiLine.align.beforeColon,afterColon:t.multiLine.align.afterColon})),t.ignoredNodes=n.ignoredNodes||[],t),i=r.multiLine,o=r.singleLine,s=r.align||null,a=r.ignoredNodes,l=e.sourceCode;function c(e){return"ImportAttribute"===e.type||!("method"in e&&e.method||"shorthand"in e&&e.shorthand||"kind"in e&&"init"!==e.kind||"Property"!==e.type)}function p(e){return l.getTokenAfter(e,l9)}function u(t,n,r,i,o){let s=r.length-i;if((s&&"strict"===o||s<0&&"minimum"===o||s>0&&!i&&"minimum"===o)&&!(i&&lK.test(r))){let r,i=p(t.key),o=l.getTokenBefore(i,{includeComments:!0}),a=l.getTokenAfter(i,{includeComments:!0}),c="key"===n,u=s>0,f=Math.abs(s),d=Array(f+1).join(" "),m=c?o.loc.end:i.loc.start,g=c?i.loc.start:a.loc.start,h=c?o.loc:a.loc;if(u){let e;e=c?[o.range[1],o.range[1]+f]:[a.range[0]-f,a.range[0]],r=function(t){return t.removeRange(e)}}else r=c?function(e){return e.insertTextAfter(o,d)}:function(e){return e.insertTextBefore(a,d)};e.report({node:t[n],loc:u?{start:m,end:g}:h,messageId:u?"key"===n?"extraKey":"extraValue":"key"===n?"missingKey":"missingValue",data:{computed:"ImportAttribute"!==t.type&&t.computed?"computed ":"",key:function(e){let t=e.key;return"ImportAttribute"!==e.type&&e.computed?l.getText().slice(t.range[0],t.range[1]):lZ(e)}(t)},fix:r})}}function f(e){let t=l.getFirstToken(e),n=function(e){let t=p(e);return l.getTokenBefore(t)}(e.key);return cb(l.getText().slice(t.range[0],n.range[1]))}function d(e){let t=/(\s*):(\s*)/u.exec(l.getText().slice(e.key.range[1],e.value.range[0]));return t?{beforeColon:t[1],afterColon:t[2]}:null}function m(e,t){if(a.includes(e.parent.type))return;let n=d(e);n&&(u(e,"key",n.beforeColon,t.beforeColon,t.mode),u(e,"value",n.afterColon,t.afterColon,t.mode))}function g(e,t){let n=e.length;for(let r=0;r<n;r++)m(e[r],t)}function h(e){(1===e.length?[e]:e.reduce((e,t)=>{let n=gZ(e),r=gZ(n);return!r||function(e,t){let n=e.loc.start.line,r=(c(t)?function(e){let t=p(e);return l.getTokenAfter(t)}(t.key):t).loc.start.line;if(r-n<=1)return!0;let i=l.getCommentsBefore(t);if(i.length&&i[0].loc.start.line-n<=1&&r-gZ(i).loc.end.line<=1){for(let e=1;e<i.length;e++)if(i[e].loc.start.line-i[e-1].loc.end.line>1)return!1;return!0}return!1}(r,t)?n.push(t):e.push([t]),e},[[]])).forEach(e=>{let t=e.filter(c);t.length>0&&function(e){let[t]=e,n=gZ(e);return t.loc.start.line===n.loc.end.line}(t)?g(t,i):function(e){let t,n,r,o=e.length,a=e.map(f),l=s.on,c=Math.max(...a);s&&o>1?(t=s.beforeColon,n=s.afterColon):(t=i.beforeColon,n=i.afterColon),r=s.mode,c+="colon"===l?t:n;for(let i=0;i<o;i++){let o=e[i],s=d(o);if(s){let e=a[i];"value"===l?(u(o,"key",s.beforeColon,t,r),u(o,"value",s.afterColon,c-e,r)):(u(o,"key",s.beforeColon,c-e,r),u(o,"value",s.afterColon,n,r))}}}(t)})}function y(e){!a.includes(e.type)&&e.attributes&&e.attributes.length&&(g1(e,l)?g(e.attributes,o):h(e.attributes))}return s?{ObjectExpression(e){a.includes(e.type)||(g0(e)?g(e.properties.filter(c),o):h(e.properties))},ImportDeclaration(e){y(e)},ExportNamedDeclaration(e){y(e)},ExportAllDeclaration(e){y(e)}}:{Property(e){m(e,g0(e.parent)?o:i)},ImportAttribute(e){let t=e.parent;m(e,g1(t,l)?o:i)}}}});const g4=Array.isArray(g3.meta.schema)?g3.meta.schema[0]:g3.meta.schema;var g6=lG({name:"key-spacing",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing between property names and type annotations in types and interfaces"},fixable:"whitespace",hasSuggestions:g3.meta.hasSuggestions,schema:[g4],messages:g3.meta.messages},defaultOptions:[{}],create(e,[t]){let n=t||{},r=n.ignoredNodes||[],i=e.sourceCode;function o(e){let t=e.line-1;return cb(i.lines.at(t).slice(0,e.column))}function s(e){return(e.type===gI.AST_NODE_TYPES.TSPropertySignature||e.type===gI.AST_NODE_TYPES.TSIndexSignature||e.type===gI.AST_NODE_TYPES.PropertyDefinition)&&!!e.typeAnnotation}function a(e){return s(e)&&e.typeAnnotation.loc.start.line===e.loc.end.line}function l(e){return e.type!==gI.AST_NODE_TYPES.TSIndexSignature?i.getText(e.key):i.getText(e).slice(0,i.getTokenAfter(e.parameters.at(-1),gO.isClosingBracketToken).range[1]-e.range[0])}function c(e){return function(e){let t=i.getTokenAfter(e,gO.isColonToken);return i.getTokenBefore(t)}(e.type!==gI.AST_NODE_TYPES.TSIndexSignature?e.key:e.parameters.at(-1)).loc.end}function p(t,n,r){let{typeAnnotation:i}=t,o=i.loc.start.column-c(t).column-n;("strict"===r?o:o<0)&&e.report({node:t,messageId:o>0?"extraKey":"missingKey",fix:e=>o>0?e.removeRange([i.range[0]-o,i.range[0]]):e.insertTextBefore(i," ".repeat(-o)),data:{computed:"",key:l(t)}})}function u(t,n,r){let{typeAnnotation:o}=t,s=i.getFirstToken(o),a=i.getTokenAfter(s,{includeComments:!0}).loc.start.column-s.loc.start.column-1-n;("strict"===r?a:a<0)&&e.report({node:t,messageId:a>0?"extraValue":"missingValue",fix:e=>a>0?e.removeRange([s.range[1],s.range[1]+a]):e.insertTextAfter(s," ".repeat(-a)),data:{computed:"",key:l(t)}})}function f(t){if(r.includes(t.type))return;let f=t.loc.start.line===t.loc.end.line,d=t.type===gI.AST_NODE_TYPES.TSTypeLiteral?t.members:t.body,m=[],g=[];if(n.align||n.multiLine?.align){let e,t=[];for(let n of(m.push(t),d)){let r=t.at(-1);r!==e&&(r=void 0),r&&function(e,t){let n=e.loc.start.line,r=(s(t)?t.typeAnnotation:t).loc.start.line;if(r===n)return!1;if(r-n==1)return!0;let o=i.getCommentsBefore(t);if(o.length&&o[0].loc.start.line-n<=1&&r-o.at(-1).loc.end.line<=1){for(let e=1;e<o.length;e++)if(o[e].loc.start.line-o[e-1].loc.end.line>1)return!1;return!0}return!1}(r,n)?t.push(n):e?.loc.start.line===n.loc.start.line?(r&&(g.push(r),t.pop()),g.push(n)):(t=[n],m.push(t)),e=n}g=g.concat(...m.filter(e=>1===e.length)),m=m.filter(e=>e.length>=2)}else g=d;for(let t of m)!function(t){let r=0,i=("object"==typeof n.align?n.align.on:"object"==typeof n.multiLine?.align?n.multiLine.align.on:n.multiLine?.align??n.align)??"colon",f=+!!("object"==typeof n.align?n.align.beforeColon:n.multiLine?"object"==typeof n.multiLine.align?n.multiLine.align.beforeColon:n.multiLine.beforeColon:n.beforeColon),d=+!!(("object"==typeof n.align?n.align.afterColon:n.multiLine?"object"==typeof n.multiLine.align?n.multiLine.align.afterColon:n.multiLine.afterColon:n.afterColon)??!0),m=("object"==typeof n.align?n.align.mode:n.multiLine?"object"==typeof n.multiLine.align?n.multiLine.align.mode??n.multiLine.mode:n.multiLine.mode:n.mode)??"strict";for(let e of t)if(s(e)){let t=o(c(e));r=Math.max(r,"colon"===i?t+f:t+1+d+f)}for(let n of t){if(!a(n))continue;let{typeAnnotation:t}=n,s="colon"===i?t:t.typeAnnotation,c=o(s.loc.start)-r;c&&e.report({node:n,messageId:c>0?"colon"===i?"extraKey":"extraValue":"colon"===i?"missingKey":"missingValue",fix:e=>c>0?e.removeRange([s.range[0]-c,s.range[0]]):e.insertTextBefore(s," ".repeat(-c)),data:{computed:"",key:l(n)}}),"colon"===i?u(n,d,m):p(n,f,m)}}(t);for(let e of g)!function(e,{singleLine:t}){let r=(t?n.singleLine?n.singleLine.beforeColon:n.beforeColon:n.multiLine?n.multiLine.beforeColon:n.beforeColon)??!1,i=(t?n.singleLine?n.singleLine.afterColon:n.afterColon:n.multiLine?n.multiLine.afterColon:n.afterColon)??!0,o=(t?n.singleLine?n.singleLine.mode:n.mode:n.multiLine?n.multiLine.mode:n.mode)??"strict";a(e)&&(p(e,+!!r,o),u(e,+!!i,o))}(e,{singleLine:f})}return{...g3.create(e),TSTypeLiteral:f,TSInterfaceBody:f,ClassBody:f}}});const g5=/^[)\]}>]$/u,g9=/^(?:[([{<~!]|\+\+?|--?)$/u,g8=/^[)\]}>*]$/u,g7=/^[{*]$/u,he=/\$\{$/u,ht=/^\}/u,hn=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,hr=cP.concat(["as","async","await","from","get","let","of","satisfies","set","yield"]);hr.sort();for(let e=1;e<hr.length;++e)if(hr[e]===hr[e-1])throw Error(`Duplication was found in the keyword list: ${hr[e]}`);function hi(e){return"Template"===e.type&&he.test(e.value)}function ho(e){return"Template"===e.type&&ht.test(e.value)}var hs=lG({name:"keyword-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after keywords"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0},overrides:{type:"object",properties:hr.reduce((e,t)=>(e[t]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},e),{}),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(e){let t=e.sourceCode,n=new WeakSet;function r(r,i){let o=t.getTokenBefore(r);o&&(hn.test(o.type)||i.test(o.value))&&!hi(o)&&!n.has(o)&&cp(o,r)&&!t.isSpaceBetween(o,r)&&e.report({loc:r.loc,messageId:"expectedBefore",data:r,fix:e=>e.insertTextBefore(r," ")})}function i(r,i){let o=t.getTokenBefore(r);o&&(hn.test(o.type)||i.test(o.value))&&!hi(o)&&!n.has(o)&&cp(o,r)&&t.isSpaceBetween(o,r)&&e.report({loc:{start:o.loc.end,end:r.loc.start},messageId:"unexpectedBefore",data:r,fix:e=>e.removeRange([o.range[1],r.range[0]])})}function o(r,i){let o=t.getTokenAfter(r);o&&(hn.test(o.type)||i.test(o.value))&&!ho(o)&&!n.has(o)&&cp(r,o)&&!t.isSpaceBetween(r,o)&&e.report({loc:r.loc,messageId:"expectedAfter",data:r,fix:e=>e.insertTextAfter(r," ")})}function s(r,i){let o=t.getTokenAfter(r);o&&(hn.test(o.type)||i.test(o.value))&&!ho(o)&&!n.has(o)&&cp(r,o)&&t.isSpaceBetween(r,o)&&e.report({loc:{start:r.loc.end,end:o.loc.start},messageId:"unexpectedAfter",data:r,fix:e=>e.removeRange([r.range[1],o.range[0]])})}let a=function(e={}){let t=!1!==e.before,n=!1!==e.after,a={before:t?r:i,after:n?o:s},l=e&&e.overrides||{},c=Object.create(null);for(let e=0;e<hr.length;++e){let p=hr[e],u=l[p];if(u){let e="before"in u?u.before:t,a="after"in u?u.after:n;c[p]={before:e?r:i,after:a?o:s}}else c[p]=a}return c}(e.options[0]);function l(e,t){a[e.value].before(e,t||g5)}function c(e,t){a[e.value].after(e,t||g9)}function p(e){l(e),c(e)}function u(e){let n=e&&t.getFirstToken(e);n&&"Keyword"===n.type&&p(n)}function f(e){let n=e&&t.getFirstToken(e);n&&"Keyword"===n.type&&l(n)}function d(e){if(e){let n=t.getTokenBefore(e,co);n&&p(n)}}function m(e){let n=e&&t.getFirstToken(e);n&&("Keyword"===n.type&&"function"===n.value||"async"===n.value)&&l(n)}function g(e){u(e),d(e.superClass)}function h(e){let n=t.getFirstToken(e);if(l(n,g8),c(n,g7),"ExportDefaultDeclaration"===e.type&&p(t.getTokenAfter(n)),"ExportAllDeclaration"===e.type&&e.exported){let n=t.getTokenBefore(e.exported);l(n,g8),c(n,g7)}if("source"in e&&e.source){let n=t.getTokenBefore(e.source);l(n,g8),c(n,g7)}}function y(e){if("static"in e&&e.static&&u(e),"get"===e.kind||"set"===e.kind||("method"in e&&e.method||"MethodDefinition"===e.type)&&"async"in e.value&&e.value.async){let n=t.getTokenBefore(e.key,e=>{switch(e.value){case"get":case"set":case"async":return!0;default:return!1}});if(!n)throw Error("Failed to find token get, set, or async beside method name");p(n)}}return{DebuggerStatement:u,WithStatement:u,BreakStatement:u,ContinueStatement:u,ReturnStatement:u,ThrowStatement:u,TryStatement:function(e){u(e),u(e.handler),d(e.finalizer)},IfStatement:function(e){u(e),d(e.alternate)},SwitchStatement:u,SwitchCase:u,DoWhileStatement:function(e){u(e),d(e.test)},ForInStatement:function(e){u(e);let n=t.getTokenBefore(e.right,cd);"PrivateIdentifier"!==t.getTokenBefore(n).type&&l(n),c(n)},ForOfStatement:function(e){e.await?(l(t.getFirstToken(e,0)),c(t.getFirstToken(e,1))):u(e);let n=t.getTokenBefore(e.right,cd);"PrivateIdentifier"!==t.getTokenBefore(n).type&&l(n),c(n)},ForStatement:u,WhileStatement:u,ClassDeclaration:g,ExportNamedDeclaration:h,ExportDefaultDeclaration:h,ExportAllDeclaration:h,FunctionDeclaration:m,ImportDeclaration:h,VariableDeclaration:u,ArrowFunctionExpression:m,AwaitExpression:function(e){l(t.getFirstToken(e))},ClassExpression:g,FunctionExpression:m,NewExpression:f,Super:f,ThisExpression:f,UnaryExpression:f,YieldExpression:f,ImportSpecifier:function(e){e.imported.range[0]!==e.local.range[0]&&l(t.getTokenBefore(e.local),g8)},ExportSpecifier:function(e){if(e.local.range[0]!==e.exported.range[0]){let n=t.getTokenBefore(e.exported);l(n,g8),c(n,g7)}},ImportNamespaceSpecifier:function(e){l(t.getFirstToken(e,1),g8)},MethodDefinition:y,PropertyDefinition:y,StaticBlock:u,Property:y,"BinaryExpression[operator='>']":function(e){let r=t.getTokenBefore(e.right,cd);n.add(r)}}}});const ha=Array.isArray(hs.meta.schema)?hs.meta.schema[0]:hs.meta.schema,hl=lW(ha,{properties:{overrides:{properties:{type:ha.properties.overrides.properties.import}}}});var hc=lG({name:"keyword-spacing",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after keywords"},fixable:"whitespace",hasSuggestions:hs.meta.hasSuggestions,schema:[hl],messages:hs.meta.messages},defaultOptions:[{}],create(e,[t]){let{after:n,overrides:r}=t??{},i=e.sourceCode,o=hs.create(e);return{...o,TSAsExpression(e){let t=cx(i.getTokenAfter(e.expression,e=>"as"===e.value),cS("as",e.type)),n=t.type;t.type=gI.AST_TOKEN_TYPES.Keyword,o.DebuggerStatement(t),t.type=n},TSSatisfiesExpression(e){let t=cx(i.getTokenAfter(e.expression,e=>"satisfies"===e.value),cS("satisfies",e.type)),n=t.type;t.type=gI.AST_TOKEN_TYPES.Keyword,o.DebuggerStatement(t),t.type=n},"ImportDeclaration[importKind=type]":function(t){let{type:o={}}=r??{},s=i.getFirstToken(t,{skip:1}),a=i.getTokenAfter(s);if(t.specifiers?.[0]?.type===gI.AST_NODE_TYPES.ImportDefaultSpecifier)return;let l=a.range[0]-s.range[1];(o.after??n)===!0&&0===l&&e.report({loc:s.loc,messageId:"expectedAfter",data:{value:"type"},fix:e=>e.insertTextAfter(s," ")}),(o.after??n)===!1&&l>0&&e.report({loc:s.loc,messageId:"unexpectedAfter",data:{value:"type"},fix:e=>e.removeRange([s.range[1],s.range[1]+l])})}}}});const hp=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u;var hu=lG({name:"lines-around-comment",package:"ts",meta:{type:"layout",docs:{description:"Require empty lines around comments"},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"},allowInterfaceStart:{type:"boolean"},allowInterfaceEnd:{type:"boolean"},allowTypeStart:{type:"boolean"},allowTypeEnd:{type:"boolean"},allowEnumStart:{type:"boolean"},allowEnumEnd:{type:"boolean"},allowModuleStart:{type:"boolean"},allowModuleEnd:{type:"boolean"},ignorePattern:{type:"string"},applyDefaultIgnorePatterns:{type:"boolean"},afterHashbangComment:{type:"boolean"}},additionalProperties:!1}],fixable:"whitespace",messages:{after:"Expected line after comment.",before:"Expected line before comment."}},defaultOptions:[{beforeBlockComment:!0}],create(e,[t]){let n=RegExp(t.ignorePattern??"","u"),r=e.sourceCode,i=r.getAllComments(),o=r.lines,s=o.length+1,a=function(e){let t=[];return e.forEach(e=>{let n=e.loc.start.line,r=e.loc.end.line;t.push(n,r)}),t}(i),l=o.map((e,t)=>({code:e.trim(),num:t+1})).filter(e=>!e.code).map(e=>e.num),c=new Set(a.concat(l));function p(e){let t=r.getNodeByRangeIndex(e.range[0]);if(t&&"StaticBlock"===t.type){let n=r.getFirstToken(t,{skip:1});return n&&e.range[0]>=n.range[0]?t:null}return t}function u(e,t){let n=p(e);if(n&&n.type===t){let t=n;return"StaticBlock"===n.type?t=r.getFirstToken(n,{skip:1}):"SwitchStatement"===n.type&&(t=r.getTokenAfter(n.discriminant,{filter:cn})),!!t&&e.loc.start.line-t.loc.start.line==1}return!1}function f(e,t){let n=p(e);return!!n&&n.type===t&&n.loc.end.line-e.loc.end.line==1}function d(e){return u(e,gI.AST_NODE_TYPES.ClassBody)}function m(e){return f(e,gI.AST_NODE_TYPES.ClassBody)}function g(i,{before:o,after:a}){if(!1!==t.applyDefaultIgnorePatterns&&hp.test(i.value)||t.ignorePattern&&n.test(i.value))return;let l=i.loc.start.line-1,p=i.loc.end.line+1;if(l<1&&(o=!1),p>=s&&(a=!1),function(e){let t=e;do t=r.getTokenBefore(t,{includeComments:!0});while(t&&gO.isCommentToken(t));if(t&&gO.isTokenOnSameLine(t,e))return!0;t=e;do t=r.getTokenAfter(t,{includeComments:!0});while(t&&gO.isCommentToken(t));return!!(t&&gO.isTokenOnSameLine(e,t))}(i))return;let g=!!t.allowBlockStart&&(u(i,gI.AST_NODE_TYPES.ClassBody)||u(i,gI.AST_NODE_TYPES.BlockStatement)||u(i,gI.AST_NODE_TYPES.StaticBlock)||u(i,gI.AST_NODE_TYPES.SwitchCase)||u(i,gI.AST_NODE_TYPES.SwitchStatement))&&!(!1===t.allowClassStart&&d(i)),h=!!t.allowBlockEnd&&(f(i,gI.AST_NODE_TYPES.ClassBody)||f(i,gI.AST_NODE_TYPES.BlockStatement)||f(i,gI.AST_NODE_TYPES.StaticBlock)||f(i,gI.AST_NODE_TYPES.SwitchCase)||f(i,gI.AST_NODE_TYPES.SwitchStatement))&&!(!1===t.allowClassEnd&&m(i)),y=!!t.allowClassStart&&d(i),E=!!t.allowClassEnd&&m(i),T=!!t.allowObjectStart&&(u(i,gI.AST_NODE_TYPES.ObjectExpression)||u(i,gI.AST_NODE_TYPES.ObjectPattern)),b=!!t.allowObjectEnd&&(f(i,gI.AST_NODE_TYPES.ObjectExpression)||f(i,gI.AST_NODE_TYPES.ObjectPattern)),S=!!t.allowArrayStart&&(u(i,gI.AST_NODE_TYPES.ArrayExpression)||u(i,gI.AST_NODE_TYPES.ArrayPattern)),x=!!t.allowArrayEnd&&(f(i,gI.AST_NODE_TYPES.ArrayExpression)||f(i,gI.AST_NODE_TYPES.ArrayPattern)),P=!!t.allowInterfaceStart&&u(i,gI.AST_NODE_TYPES.TSInterfaceBody),v=!!t.allowInterfaceEnd&&f(i,gI.AST_NODE_TYPES.TSInterfaceBody),k=!!t.allowTypeStart&&u(i,gI.AST_NODE_TYPES.TSTypeLiteral),_=!!t.allowTypeEnd&&f(i,gI.AST_NODE_TYPES.TSTypeLiteral),A=!!t.allowEnumStart&&(u(i,gI.AST_NODE_TYPES.TSEnumBody)||u(i,gI.AST_NODE_TYPES.TSEnumDeclaration)),Y=!!t.allowEnumEnd&&(f(i,gI.AST_NODE_TYPES.TSEnumBody)||f(i,gI.AST_NODE_TYPES.TSEnumDeclaration)),C=!!t.allowModuleStart&&u(i,gI.AST_NODE_TYPES.TSModuleBlock),w=!!t.allowModuleEnd&&f(i,gI.AST_NODE_TYPES.TSModuleBlock),L=g||y||T||S||P||k||A||C,I=h||E||b||x||v||_||Y||w,O=r.getTokenBefore(i,{includeComments:!0}),D=r.getTokenAfter(i,{includeComments:!0});if(!L&&o&&!c.has(l)&&!(gO.isCommentToken(O)&&gO.isTokenOnSameLine(O,i))){let t=i.range[0]-i.loc.start.column,n=[t,t];e.report({node:i,messageId:"before",fix:e=>e.insertTextBeforeRange(n,"\n")})}I||!a||c.has(p)||gO.isCommentToken(D)&&gO.isTokenOnSameLine(i,D)||e.report({node:i,messageId:"after",fix:e=>e.insertTextAfter(i,"\n")})}return{Program(){i.forEach(e=>{e.type===gI.AST_TOKEN_TYPES.Line?(t.beforeLineComment||t.afterLineComment)&&g(e,{after:t.afterLineComment,before:t.beforeLineComment}):e.type===gI.AST_TOKEN_TYPES.Block?(t.beforeBlockComment||t.afterBlockComment)&&g(e,{after:t.afterBlockComment,before:t.beforeBlockComment}):"Shebang"===e.type&&t.afterHashbangComment&&g(e,{after:t.afterHashbangComment,before:!1})})}}}});const hf={"*":{test:()=>!0},field:{test:e=>"PropertyDefinition"===e.type},method:{test:e=>"MethodDefinition"===e.type}};var hd=lG({name:"lines-between-class-members",package:"js",meta:{type:"layout",docs:{description:"Require or disallow an empty line between class members"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{enforce:{type:"array",items:{type:"object",properties:{blankLine:{type:"string",enum:["always","never"]},prev:{type:"string",enum:["method","field","*"]},next:{type:"string",enum:["method","field","*"]}},additionalProperties:!1,required:["blankLine","prev","next"]},minItems:1}},additionalProperties:!1,required:["enforce"]},{type:"string",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(e){let t=[];t[0]=e.options[0]||"always",t[1]=e.options[1]||{exceptAfterSingleLine:!1};let n="object"==typeof t[0]?t[0].enforce:[{blankLine:t[0],prev:"*",next:"*"}],r=e.sourceCode;function i(e,t,n){let o=r.getTokenAfter(e,{includeComments:!0});return o!==t&&o.loc.start.line-e.loc.end.line<=n?i(o,t,n):e}return{ClassBody(o){let s=o.body;for(let o=0;o<s.length-1;o++){let a=r.getFirstToken(s[o]),{curLast:l,nextFirst:c}=function(e,t){let n=r.getLastToken(e),i=r.getTokenBefore(n),o=r.getFirstToken(t);return l5(n)&&!cp(i,n)&&cp(n,o)?{curLast:i,nextFirst:n}:{curLast:n,nextFirst:o}}(s[o],s[o+1]),p=!!cp(a,l)&&t[1].exceptAfterSingleLine,u=i(l,c,1),f=function e(t,n,i){let o=r.getTokenBefore(t,{includeComments:!0});return o!==n&&t.loc.start.line-o.loc.end.line<=i?e(o,n,i):t}(c,l,1),d=f.loc.start.line-u.loc.end.line>1,m=0!==r.getTokensBetween(u,f,{includeComments:!0}).length,g=i(l,c,0),h=function(e,t){for(let r=n.length-1;r>=0;--r){let i=n[r];if(hf[i.prev].test(e)&&hf[i.next].test(t))return i.blankLine}return null}(s[o],s[o+1]);"never"===h&&d?e.report({node:s[o+1],messageId:"never",fix:e=>m?null:e.replaceTextRange([u.range[1],f.range[0]],"\n")}):"always"!==h||p||d||e.report({node:s[o+1],messageId:"always",fix:e=>m?null:e.insertTextAfter(g,"\n")})}}}}});const hm=Object.values(lW({...hd.meta.schema},{1:{properties:{exceptAfterOverload:{type:"boolean",default:!0}}}}));var hg=lG({name:"lines-between-class-members",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow an empty line between class members"},fixable:"whitespace",hasSuggestions:hd.meta.hasSuggestions,schema:hm,messages:hd.meta.messages},defaultOptions:["always",{exceptAfterOverload:!0,exceptAfterSingleLine:!1}],create(e,[t,n]){let r=hd.create(e),i=n?.exceptAfterOverload&&("always"===t||"string"!=typeof t&&t?.enforce.some(({blankLine:e,prev:t,next:n})=>"always"===e&&"field"!==t&&"field"!==n));return{ClassBody(e){let t=i?e.body.filter(e=>e.type!==gI.AST_NODE_TYPES.TSAbstractMethodDefinition&&e.type!==gI.AST_NODE_TYPES.MethodDefinition||e.value.type!==gI.AST_NODE_TYPES.TSEmptyBodyFunctionExpression):e.body;r.ClassBody({...e,body:t})}}}});const hh={type:"object",properties:{multiline:{type:"object",properties:{delimiter:{$ref:"#/items/0/$defs/multiLineOption"},requireLast:{type:"boolean"}},additionalProperties:!1},singleline:{type:"object",properties:{delimiter:{$ref:"#/items/0/$defs/singleLineOption"},requireLast:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1};var hy=lG({name:"member-delimiter-style",package:"ts",meta:{type:"layout",docs:{description:"Require a specific member delimiter style for interfaces and type literals"},fixable:"whitespace",messages:{unexpectedComma:"Unexpected separator (,).",unexpectedSemi:"Unexpected separator (;).",expectedComma:"Expected a comma.",expectedSemi:"Expected a semicolon."},schema:[{$defs:{multiLineOption:{type:"string",enum:["none","semi","comma"]},singleLineOption:{type:"string",enum:["semi","comma"]},delimiterConfig:hh},type:"object",properties:{...hh.properties,overrides:{type:"object",properties:{interface:{$ref:"#/items/0/$defs/delimiterConfig"},typeLiteral:{$ref:"#/items/0/$defs/delimiterConfig"}},additionalProperties:!1},multilineDetection:{type:"string",enum:["brackets","last-member"]}},additionalProperties:!1}]},defaultOptions:[{multiline:{delimiter:"semi",requireLast:!0},singleline:{delimiter:"semi",requireLast:!1},multilineDetection:"brackets"}],create(e,[t]){let n=e.sourceCode,r=t.overrides??{},i=lW(t,r.interface),o=lW(t,r.typeLiteral);function s(r){let s=r.type===gI.AST_NODE_TYPES.TSInterfaceBody?r.body:r.members,a=r.loc.start.line===r.loc.end.line;"last-member"===t.multilineDetection&&!a&&s.length>0&&s[s.length-1].loc.end.line===r.loc.end.line&&(a=!0);let l=r.type===gI.AST_NODE_TYPES.TSInterfaceBody?i:o,c=a?{...l.singleline,type:"single-line"}:{...l.multiline,type:"multi-line"};s.forEach((t,r)=>{!function(t,r,i){function o(e){return i&&!r.requireLast?"none"===e:r.delimiter===e}let s=null,a=!1,l=n.getLastToken(t,{includeComments:!1});if(!l)return;let c=n.getCommentsAfter(l).pop(),p=n.getLines()[l?.loc.start.line-1],u=o("semi"),f=o("comma"),d=o("none");";"===l.value?f?s="expectedComma":d&&(a=!0,s="unexpectedSemi"):","===l.value?u?s="expectedSemi":d&&(a=!0,s="unexpectedComma"):u?(a=!0,s="expectedSemi"):f&&(a=!0,s="expectedComma"),s&&e.report({node:l,loc:{start:{line:l.loc.end.line,column:l.loc.end.column},end:{line:l.loc.end.line,column:l.loc.end.column}},messageId:s,fix:function({optsNone:e,optsSemi:t,lastToken:n,commentsAfterLastToken:r,missingDelimiter:i,lastTokenLine:o,isSingleLine:s}){return!e||n.loc.start.column===o.length-1||r&&(r.loc.end.line>n.loc.end.line||r.loc.end.column===o.length)||s?r=>{if(e)return r.remove(n);let o=t?";":",";return i?r.insertTextAfter(n,o):r.replaceText(n,o)}:null}({optsNone:d,optsSemi:u,lastToken:l,commentsAfterLastToken:c,missingDelimiter:a,lastTokenLine:p,isSingleLine:"single-line"===r.type})})}(t,c??{},r===s.length-1)})}return{TSInterfaceBody:s,TSTypeLiteral:s}}}),hE=lG({name:"no-extra-parens",package:"js",meta:{type:"layout",docs:{description:"Disallow unnecessary parentheses"},fixable:"code",schema:{anyOf:[{type:"array",items:[{type:"string",enum:["functions"]}],minItems:0,maxItems:1},{type:"array",items:[{type:"string",enum:["all"]},{type:"object",properties:{conditionalAssign:{type:"boolean"},ternaryOperandBinaryExpressions:{type:"boolean"},nestedBinaryExpressions:{type:"boolean"},returnAssign:{type:"boolean"},ignoreJSX:{type:"string",enum:["none","all","single-line","multi-line"]},enforceForArrowConditionals:{type:"boolean"},enforceForSequenceExpressions:{type:"boolean"},enforceForNewInMemberExpressions:{type:"boolean"},enforceForFunctionPrototypeMethods:{type:"boolean"},allowParensAfterCommentPattern:{type:"string"},nestedConditionalExpressions:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpected:"Unnecessary parentheses around expression."}},create(e){let t,n=e.sourceCode,r=new WeakSet,i="functions"!==e.options[0],o=i&&e.options[1]&&!1===e.options[1].conditionalAssign,s=i&&e.options[1]&&!1===e.options[1].ternaryOperandBinaryExpressions,a=i&&e.options[1]&&!1===e.options[1].nestedBinaryExpressions,l=i&&e.options[1]&&!1===e.options[1].returnAssign,c=i&&e.options[1]&&e.options[1].ignoreJSX,p=i&&e.options[1]&&!1===e.options[1].enforceForArrowConditionals,u=i&&e.options[1]&&!1===e.options[1].enforceForSequenceExpressions,f=i&&e.options[1]&&!1===e.options[1].enforceForNewInMemberExpressions,d=i&&e.options[1]&&!1===e.options[1].enforceForFunctionPrototypeMethods,m=i&&e.options[1]&&e.options[1].allowParensAfterCommentPattern,g=i&&e.options[1]&&!1===e.options[1].nestedConditionalExpressions,h=ch({type:"AssignmentExpression"}),y=ch({type:"UpdateExpression"});function E(e){let t=l0(e);if("CallExpression"!==t.type)return!1;let n=l0(t.callee);return"MemberExpression"===n.type&&"FunctionExpression"===n.object.type&&["call","apply"].includes(lZ(n))}function T(e){if("JSXElement"===e.type||"JSXFragment"===e.type){let t=e.loc.start.line===e.loc.end.line;switch(c){case"all":return!1;case"multi-line":return t;case"single-line":return!t}}return!("SequenceExpression"===e.type&&u||E(e)&&d)&&(i||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type)}function b(e){return cT(e,n,1)}function S(e){return cT(e,n,2)}function x(e){return T(e)&&b(e)}function P(e){return T(e)&&S(e)}function v(e,t){return!!(T(e)&&b(e)&&(ch(e)>=t||S(e)))}function k(e){return o&&e.test&&"AssignmentExpression"===e.test.type}function _(e){let t=n.getLastToken(e),r=n.getTokenBefore(t);return e.arguments.length>0||l8(r)&&l7(t)&&e.callee.range[1]<e.range[1]}function A(e){return"AssignmentExpression"===e.type||"ConditionalExpression"===e.type&&("AssignmentExpression"===e.consequent.type||"AssignmentExpression"===e.alternate.type)||"left"in e&&(!!e.left&&"AssignmentExpression"===e.left.type||!!e.right&&"AssignmentExpression"===e.right.type)}function Y(e){return!!l&&!!function(e){for(let t=e;t;t=t.parent)if("ReturnStatement"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"!==t.body.type)return!0;return!1}(e)&&("ReturnStatement"===e.type?e.argument&&A(e.argument):"ArrowFunctionExpression"===e.type&&"BlockStatement"!==e.body.type?A(e.body):A(e))}function C(e,t){return e.loc.end.line===t.loc.start.line?x(t):P(t)}function w(e){let t=l0(e);return"CallExpression"===t.type&&"FunctionExpression"===t.callee.type}function L(e){return!!(e&&("Identifier"===e.type||"MemberExpression"===e.type))}function I(i){let o=n.getTokenBefore(i),s=n.getTokenAfter(i);if(!S(i)){if(r.has(n.getFirstToken(i))||w(i)&&!("callee"in i&&b(i.callee)))return;if(m){let e=n.getCommentsBefore(o),t=e.length,r=RegExp(m,"u");if(t>0&&r.test(e[t-1].value))return}}function a(){e.report({node:i,loc:o.loc,messageId:"unexpected",fix:"Literal"!==i.type||"string"!=typeof i.value||S(i)||!cc(i.parent)?e=>{let t=n.text.slice(o.range[1],s.range[0]);return e.replaceTextRange([o.range[0],s.range[1]],(!function(e){let t=n.getTokenBefore(e),r=n.getTokenBefore(t,{includeComments:!0}),i=n.getTokenAfter(t,{includeComments:!0});return r&&r.range[1]===t.range[0]&&t.range[1]===i.range[0]&&!cE(r,i)}(i)?"":" ")+t+(!function(e){let t=n.getTokensAfter(e,{count:2}),r=t[0],i=t[1],o=n.getLastToken(e);return r&&i&&!n.isSpaceBetween(r,i)&&!cE(o,i)}(i)?"":" "))}:null})}if(t)return void t.reports.push({node:i,finishReport:a});a()}function O(e){"argument"in e&&e.argument&&v(e.argument,ch(e))&&I(e.argument)}function D(e){let t=e.object,n=e.object.type;for(;"MemberExpression"===n&&"object"in t;)n=(t=t.object).type;return"CallExpression"===n}function V(e){let t=e.callee;v(t,ch(e))&&(P(t)||!(w(e)||"NewExpression"===t.type&&!_(t)&&!("NewExpression"===e.type&&!_(e))||"NewExpression"===e.type&&"MemberExpression"===t.type&&D(t)||(!("optional"in e)||!e.optional)&&"ChainExpression"===t.type))&&I(e.callee),e.arguments.filter(e=>v(e,h)).forEach(I)}function B(e){let t=ch(e),n=ch(e.left),r=ch(e.right),i="**"===e.operator,o=a&&("BinaryExpression"===e.left.type||"LogicalExpression"===e.left.type),s=a&&("BinaryExpression"===e.right.type||"LogicalExpression"===e.right.type);!o&&x(e.left)&&(!(["AwaitExpression","UnaryExpression"].includes(e.left.type)&&i)&&!cl(e.left,e)&&(n>t||n===t&&!i)||S(e.left))&&I(e.left),!s&&x(e.right)&&(!cl(e.right,e)&&(r>t||r===t&&i)||S(e.right))&&I(e.right)}function N(e){e.superClass&&(ch(e.superClass)>y?x(e.superClass):P(e.superClass))&&I(e.superClass)}function j(e){v(e.argument,h)&&I(e.argument)}function M(e){let t=b(e)?n.getTokenBefore(e):n.getFirstToken(e),i=n.getTokenAfter(t,cd),o=i?n.getTokenAfter(i):null,s=i?n.getTokenAfter(i,cu):null;l8(t)&&(cn(i)||"Keyword"===i.type&&("function"===i.value||"class"===i.value||"let"===i.value&&s&&(ce(s)||"Identifier"===s.type))||i&&"Identifier"===i.type&&"async"===i.value&&o&&"Keyword"===o.type&&"function"===o.value)&&r.add(i),("ExportDefaultDeclaration"===e.parent.type?v(e,h):x(e))&&I(e)}return{ArrayExpression(e){e.elements.filter(e=>!!e&&v(e,h)).forEach(I)},ArrayPattern(e){e.elements.filter(e=>!!e&&L(e)&&x(e)).forEach(I)},ArrowFunctionExpression(e){if(!Y(e)&&("ConditionalExpression"!==e.body.type||!p)&&"BlockStatement"!==e.body.type){let t=n.getFirstToken(e.body,cd);l8(n.getTokenBefore(t))&&cn(t)&&r.add(t),v(e.body,h)&&I(e.body)}},AssignmentExpression(e){L(e.left)&&x(e.left)&&(!function({left:e,operator:t,right:n}){if("Identifier"===e.type&&["=","&&=","||=","??="].includes(t)){let e=n.type;if("ArrowFunctionExpression"===e||("FunctionExpression"===e||"ClassExpression"===e)&&!n.id)return!0}return!1}(e)||S(e.left))&&I(e.left),!Y(e)&&v(e.right,ch(e))&&I(e.right)},BinaryExpression(e){t&&"in"===e.operator&&t.inExpressionNodes.push(e),B(e)},CallExpression:V,ConditionalExpression(e){if(Y(e))return;let t=new Set(["BinaryExpression","LogicalExpression"]);!(s&&t.has(e.test.type))&&!(g&&["ConditionalExpression"].includes(e.test.type))&&!k(e)&&v(e.test,ch({type:"LogicalExpression",operator:"||"}))&&I(e.test),!(s&&t.has(e.consequent.type))&&!(g&&["ConditionalExpression"].includes(e.consequent.type))&&v(e.consequent,h)&&I(e.consequent),!(s&&t.has(e.alternate.type))&&!(g&&["ConditionalExpression"].includes(e.alternate.type))&&v(e.alternate,h)&&I(e.alternate)},DoWhileStatement(e){x(e.test)&&!k(e)&&I(e.test)},ExportDefaultDeclaration:e=>M(e.declaration),ExpressionStatement:e=>M(e.expression),ForInStatement(e){if("VariableDeclaration"!==e.left.type){let t=n.getFirstToken(e.left,cd);"let"===t.value&&ce(n.getTokenAfter(t,cu))&&r.add(t)}x(e.left)&&I(e.left),x(e.right)&&I(e.right)},ForOfStatement(e){if("VariableDeclaration"!==e.left.type){let t=n.getFirstToken(e.left,cd);"let"===t.value&&r.add(t)}x(e.left)&&I(e.left),v(e.right,h)&&I(e.right)},ForStatement(e){if(e.test&&x(e.test)&&!k(e)&&I(e.test),e.update&&x(e.update)&&I(e.update),e.init){if("VariableDeclaration"!==e.init.type){let t=n.getFirstToken(e.init,cd);"let"===t.value&&ce(n.getTokenAfter(t,cu))&&r.add(t)}t={upper:t,inExpressionNodes:[],reports:[]},x(e.init)&&I(e.init)}},"ForStatement > *.init:exit":function(e){t?.reports.length&&t.inExpressionNodes.forEach(n=>{var r;let i=(function(e,t){let n=[e],r=e;for(;r!==t;){if(null==(r=r.parent))throw Error("Nodes are not in the ancestor-descendant relationship.");n.push(r)}return n})(n,e).reverse(),o=null;for(let e=0;e<i.length;e++){let n=i[e];if(e<i.length-1&&function(e,t){switch(e.type){case"ArrayExpression":case"ArrayPattern":case"BlockStatement":case"ObjectExpression":case"ObjectPattern":case"TemplateLiteral":return!0;case"ArrowFunctionExpression":case"FunctionExpression":return e.params.includes(t);case"CallExpression":case"NewExpression":return e.arguments.includes(t);case"MemberExpression":return e.computed&&e.property===t;case"ConditionalExpression":return e.consequent===t;default:return!1}}(n,i[e+1]))return;if(b(n))if(!function(e){return t?.reports.some(t=>t.node===e)}(n))return;else{if(S(n))return;o||(o=n)}}o&&(r=o,t&&(t.reports=t.reports.filter(e=>e.node!==r)))});let{upper:n,inExpressionNodes:r,reports:i}=t??{};n?(n.inExpressionNodes.push(...r??[]),n.reports.push(...i??[])):i?.forEach(({finishReport:e})=>e()),t=n},IfStatement(e){x(e.test)&&!k(e)&&I(e.test)},ImportExpression(e){let{source:t}=e;"SequenceExpression"===t.type?P(t)&&I(t):x(t)&&I(t)},LogicalExpression:B,MemberExpression(e){var t;let n=function e(t){return"MemberExpression"===t.type&&("NewExpression"===t.parent.type&&t.parent.callee===t||"object"in t.parent&&t.parent.object===t&&e(t.parent))}(e)&&D(e)?P(e.object):x(e.object)&&!(E(e.parent)&&"callee"in e.parent&&e.parent.callee===e&&d);n&&ch(e.object)>=ch(e)&&(e.computed||!("Literal"===(t=e.object).type&&"number"==typeof t.value&&lJ.test(t.raw)||"Literal"===e.object.type&&"regex"in e.object&&e.object.regex))&&I(e.object),n&&"CallExpression"===e.object.type&&I(e.object),n&&!f&&"NewExpression"===e.object.type&&_(e.object)&&I(e.object),n&&e.optional&&"ChainExpression"===e.object.type&&I(e.object),e.computed&&x(e.property)&&I(e.property)},"MethodDefinition[computed=true]":function(e){v(e.key,h)&&I(e.key)},NewExpression:V,ObjectExpression(e){e.properties.filter(e=>"Property"===e.type&&e.value&&v(e.value,h)).forEach(e=>I(e.value))},ObjectPattern(e){e.properties.filter(e=>{let t=e.value;return t&&L(t)&&x(t)}).forEach(e=>I(e.value))},Property(e){if(e.computed){let{key:t}=e;t&&v(t,h)&&I(t)}},PropertyDefinition(e){e.computed&&v(e.key,h)&&I(e.key),e.value&&v(e.value,h)&&I(e.value)},RestElement(e){let t=e.argument;L(t)&&x(t)&&I(t)},ReturnStatement(e){let t=n.getFirstToken(e);!Y(e)&&e.argument&&t&&C(t,e.argument)&&!("Literal"===e.argument.type&&"regex"in e.argument&&e.argument.regex)&&I(e.argument)},SequenceExpression(e){let t=ch(e);e.expressions.filter(e=>v(e,t)).forEach(I)},SwitchCase(e){e.test&&x(e.test)&&I(e.test)},SwitchStatement(e){x(e.discriminant)&&I(e.discriminant)},ThrowStatement(e){let t=n.getFirstToken(e);t&&e.argument&&C(t,e.argument)&&I(e.argument)},UnaryExpression:O,UpdateExpression(e){if(e.prefix)O(e);else{let{argument:t}=e,r=n.getLastToken(e);t.loc.end.line===r.loc.start.line?O(e):P(t)&&I(t)}},AwaitExpression:O,VariableDeclarator(e){e.init&&v(e.init,h)&&!("Literal"===e.init.type&&"regex"in e.init&&e.init.regex)&&I(e.init)},WhileStatement(e){x(e.test)&&!k(e)&&I(e.test)},WithStatement(e){x(e.object)&&I(e.object)},YieldExpression(e){if(e.argument){let t=n.getFirstToken(e);(ch(e.argument)>=ch(e)&&t&&C(t,e.argument)||P(e.argument))&&I(e.argument)}},ClassDeclaration:N,ClassExpression:N,SpreadElement:j,SpreadProperty:j,TemplateLiteral(e){e.expressions.filter(e=>e&&x(e)).forEach(I)},AssignmentPattern(e){let{left:t,right:n}=e;L(t)&&x(t)&&I(t),n&&v(n,h)&&I(n)},TSStringKeyword(e){x(e)&&I(e)}}}}),hT=lG({name:"no-extra-parens",package:"ts",meta:{type:"layout",docs:{description:"Disallow unnecessary parentheses"},fixable:"code",hasSuggestions:hE.meta.hasSuggestions,schema:hE.meta.schema,messages:hE.meta.messages},defaultOptions:["all"],create(e){let t=e.sourceCode,n=hE.create(e);function r(e){let t=n.BinaryExpression,r=gO.isTypeAssertion(e.left),i=gO.isTypeAssertion(e.right);if(!r||!i)return t(r?{...e,left:{...e.left,type:gI.AST_NODE_TYPES.SequenceExpression}}:i?{...e,right:{...e.right,type:gI.AST_NODE_TYPES.SequenceExpression}}:e)}function i(e){let r=n.CallExpression;return r(gO.isTypeAssertion(e.callee)?{...e,callee:{...e.callee,type:gI.AST_NODE_TYPES.SequenceExpression}}:e.typeArguments&&1===e.arguments.length&&t.getTokenAfter(e.callee,gO.isOpeningParenToken)!==t.getTokenBefore(e.arguments[0],gO.isOpeningParenToken)?{...e,arguments:[{...e.arguments[0],type:gI.AST_NODE_TYPES.SequenceExpression}]}:e)}function o(e){let t=n.UnaryExpression;return t(gO.isTypeAssertion(e.argument)?{...e,argument:{...e.argument,type:gI.AST_NODE_TYPES.SequenceExpression}}:e)}return Object.assign({},n,{ArrayExpression:e=>n.ArrayExpression({...e,elements:e.elements.map(e=>gO.isTypeAssertion(e)?{...e,type:gI.AST_NODE_TYPES.FunctionExpression}:e)}),ArrowFunctionExpression(e){if(!gO.isTypeAssertion(e.body))return n.ArrowFunctionExpression(e)},AwaitExpression:e=>gO.isTypeAssertion(e.argument)?n.AwaitExpression({...e,argument:{...e.argument,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.AwaitExpression(e),BinaryExpression:r,CallExpression:i,ClassDeclaration:e=>e.superClass?.type===gI.AST_NODE_TYPES.TSAsExpression?n.ClassDeclaration({...e,superClass:{...e.superClass,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ClassDeclaration(e),ClassExpression:e=>e.superClass?.type===gI.AST_NODE_TYPES.TSAsExpression?n.ClassExpression({...e,superClass:{...e.superClass,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ClassExpression(e),ConditionalExpression:e=>gO.isTypeAssertion(e.test)?n.ConditionalExpression({...e,test:{...e.test,type:gI.AST_NODE_TYPES.SequenceExpression}}):gO.isTypeAssertion(e.consequent)?n.ConditionalExpression({...e,consequent:{...e.consequent,type:gI.AST_NODE_TYPES.SequenceExpression}}):gO.isTypeAssertion(e.alternate)?n.ConditionalExpression({...e,alternate:{...e.alternate,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ConditionalExpression(e),ForStatement:e=>e.init&&gO.isTypeAssertion(e.init)?n.ForStatement({...e,init:null}):e.test&&gO.isTypeAssertion(e.test)?n.ForStatement({...e,test:null}):e.update&&gO.isTypeAssertion(e.update)?n.ForStatement({...e,update:null}):n.ForStatement(e),"ForStatement > *.init:exit":function(e){if(!gO.isTypeAssertion(e))return n["ForStatement > *.init:exit"](e)},LogicalExpression:r,MemberExpression:e=>gO.isTypeAssertion(e.object)?n.MemberExpression({...e,object:{...e.object,type:gI.AST_NODE_TYPES.SequenceExpression}}):gO.isTypeAssertion(e.property)?n.MemberExpression({...e,property:{...e.property,type:gI.AST_NODE_TYPES.FunctionExpression}}):n.MemberExpression(e),NewExpression:i,SpreadElement(e){if(!gO.isTypeAssertion(e.argument))return n.SpreadElement(e)},SwitchCase(e){if(e.test&&!gO.isTypeAssertion(e.test))return n.SwitchCase(e)},ThrowStatement(e){if(e.argument&&!gO.isTypeAssertion(e.argument))return n.ThrowStatement(e)},UnaryExpression:o,UpdateExpression:e=>gO.isTypeAssertion(e.argument)?o(e):n.UpdateExpression(e),VariableDeclarator:e=>gO.isTypeAssertion(e.init)?n.VariableDeclarator({...e,type:gI.AST_NODE_TYPES.VariableDeclarator,init:{...e.init,type:gI.AST_NODE_TYPES.FunctionExpression}}):n.VariableDeclarator(e),YieldExpression(e){if(e.argument&&!gO.isTypeAssertion(e.argument))return n.YieldExpression(e)},ForInStatement(e){if(!gO.isTypeAssertion(e.right))return n.ForInStatement(e)},ForOfStatement:e=>gO.isTypeAssertion(e.right)?n.ForOfStatement({...e,type:gI.AST_NODE_TYPES.ForOfStatement,right:{...e.right,type:gI.AST_NODE_TYPES.SequenceExpression}}):n.ForOfStatement(e),TSStringKeyword:e=>n.TSStringKeyword({...e,type:gI.AST_NODE_TYPES.FunctionExpression})})}}),hb=lG({name:"no-extra-semi",package:"js",meta:{type:"layout",docs:{description:"Disallow unnecessary semicolons"},fixable:"code",schema:[],messages:{unexpected:"Unnecessary semicolon."}},create(e){let t=e.sourceCode;function n(n){e.report({node:n,messageId:"unexpected",fix:!function(e){let n=t.getTokenAfter(e);return!n||"String"!==n.type||!cc(t.getNodeByRangeIndex(n.range[0]).parent)}(n)?null:t=>new cv(t,e.sourceCode).retainSurroundingTokens(n).remove(n)})}function r(e){for(let r=e;"Punctuator"===r.type&&!cr(r);r=t.getTokenAfter(r))l5(r)&&n(r)}return{EmptyStatement(e){["ForStatement","ForInStatement","ForOfStatement","WhileStatement","DoWhileStatement","IfStatement","LabeledStatement","WithStatement"].includes(e.parent.type)||n(e)},ClassBody(e){r(t.getFirstToken(e,1))},"MethodDefinition, PropertyDefinition, StaticBlock":function(e){r(t.getTokenAfter(e))}}}}),hS=lG({name:"no-extra-semi",package:"ts",meta:{type:"layout",docs:{description:"Disallow unnecessary semicolons"},fixable:"code",hasSuggestions:hb.meta.hasSuggestions,schema:hb.meta.schema,messages:hb.meta.messages},defaultOptions:[],create(e){let t=hb.create(e);return{...t,"TSAbstractMethodDefinition, TSAbstractPropertyDefinition":function(e){t["MethodDefinition, PropertyDefinition, StaticBlock"]?.(e)}}}});const hx={oneOf:[{type:"string",enum:["always","never"]},{type:"object",properties:{multiline:{type:"boolean"},minProperties:{type:"integer",minimum:0},consistent:{type:"boolean"}},additionalProperties:!1,minProperties:1}]};function hP(e){let t=!1,n=Number.POSITIVE_INFINITY,r=!1;return e?"always"===e?n=0:"never"===e?n=Number.POSITIVE_INFINITY:(t=!!e.multiline,n=e.minProperties||Number.POSITIVE_INFINITY,r=!!e.consistent):r=!0,{multiline:t,minProperties:n,consistent:r}}function hv(e){return"object"==typeof e&&null!==e}function hk(e){return hv(e)||"string"==typeof e}var h_=lG({name:"object-curly-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent line breaks after opening and before closing braces"},fixable:"whitespace",schema:[{oneOf:[hx,{type:"object",properties:{ObjectExpression:hx,ObjectPattern:hx,ImportDeclaration:hx,ExportDeclaration:hx,TSTypeLiteral:hx,TSInterfaceBody:hx},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(e){let t=e.sourceCode,n=function(e){if(hv(e)&&Object.values(e).some(hk))return{ObjectExpression:hP(e.ObjectExpression),ObjectPattern:hP(e.ObjectPattern),ImportDeclaration:hP(e.ImportDeclaration),ExportNamedDeclaration:hP(e.ExportDeclaration),TSTypeLiteral:hP(e.TSTypeLiteral),TSInterfaceBody:hP(e.TSInterfaceBody)};let t=hP(e);return{ObjectExpression:t,ObjectPattern:t,ImportDeclaration:t,ExportNamedDeclaration:t,TSTypeLiteral:t,TSInterfaceBody:t}}(e.options[0]);function r(r){var i,o;let s,a,l=n[r.type];if("ImportDeclaration"===r.type&&!r.specifiers.some(e=>"ImportSpecifier"===e.type)||"ExportNamedDeclaration"===r.type&&!r.specifiers.some(e=>"ExportSpecifier"===e.type))return;let c=t.getFirstToken(r,e=>"{"===e.value);s="ObjectPattern"===r.type&&r.typeAnnotation?t.getTokenBefore(r.typeAnnotation):t.getLastToken(r,e=>"}"===e.value);let p=t.getTokenAfter(c,{includeComments:!0}),u=t.getTokenBefore(s,{includeComments:!0}),f=(i=p,o=u,(a="ObjectExpression"===r.type||"ObjectPattern"===r.type?r.properties:"TSTypeLiteral"===r.type?r.members:"TSInterfaceBody"===r.type?r.body:r.specifiers.filter(e=>"ImportSpecifier"===e.type||"ExportSpecifier"===e.type)).length>=l.minProperties||l.multiline&&a.length>0&&i.loc.start.line!==o.loc.end.line),d=ci(p),m=ci(u);if(p=t.getTokenAfter(c),u=t.getTokenBefore(s),f)cp(c,p)&&e.report({messageId:"expectedLinebreakAfterOpeningBrace",node:r,loc:c.loc,fix:e=>d?null:e.insertTextAfter(c,"\n")}),cp(u,s)&&e.report({messageId:"expectedLinebreakBeforeClosingBrace",node:r,loc:s.loc,fix:e=>m?null:e.insertTextBefore(s,"\n")});else{let t=l.consistent,n=!cp(c,p),i=!cp(u,s);(!t&&n||t&&n&&!i)&&e.report({messageId:"unexpectedLinebreakAfterOpeningBrace",node:r,loc:c.loc,fix:e=>d?null:e.removeRange([c.range[1],p.range[0]])}),(!t&&i||t&&!n&&i)&&e.report({messageId:"unexpectedLinebreakBeforeClosingBrace",node:r,loc:s.loc,fix:e=>m?null:e.removeRange([u.range[1],s.range[0]])})}}return{ObjectExpression:r,ObjectPattern:r,ImportDeclaration:r,ExportNamedDeclaration:r,TSTypeLiteral:r,TSInterfaceBody:r}}});const hA={multiline:!1,minProperties:Number.POSITIVE_INFINITY,consistent:!0};var hY=lG({name:"object-curly-newline",package:"ts",meta:{...h_.meta,docs:{description:"Enforce consistent line breaks after opening and before closing braces"}},defaultOptions:[{ObjectExpression:hA,ObjectPattern:hA,ImportDeclaration:hA,ExportDeclaration:hA,TSTypeLiteral:hA,TSInterfaceBody:hA}],create:e=>h_.create(e)}),hC=lG({name:"object-curly-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing inside braces"},fixable:"whitespace",schema:[{type:"string",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(e){let t="always"===e.options[0],n=e.sourceCode;function r(n){return!!e.options[1]&&!t===e.options[1][n]}let i={spaced:t,arraysInObjectsException:r("arraysInObjects"),objectsInObjectsException:r("objectsInObjects")};function o(t,r,o,s,a){if(cp(r,o)){let s=n.isSpaceBetween(r,o);i.spaced&&!s&&e.report({node:t,loc:r.loc,messageId:"requireSpaceAfter",data:{token:r.value},fix:e=>e.insertTextAfter(r," ")}),!i.spaced&&s&&"Line"!==o.type&&function(t,n){let r=e.sourceCode.getTokenAfter(n,{includeComments:!0});e.report({node:t,loc:{start:n.loc.end,end:r.loc.start},messageId:"unexpectedSpaceAfter",data:{token:n.value},fix:e=>e.removeRange([n.range[1],r.range[0]])})}(t,r)}if(cp(s,a)){let r=(i.arraysInObjectsException&&ct(s)||i.objectsInObjectsException&&cr(s))&&n.getNodeByRangeIndex(s.range[0]).type,o=i.arraysInObjectsException&&"ArrayExpression"===r||i.objectsInObjectsException&&("ObjectExpression"===r||"ObjectPattern"===r)?!i.spaced:i.spaced,l=n.isSpaceBetween(s,a);o&&!l&&e.report({node:t,loc:a.loc,messageId:"requireSpaceBefore",data:{token:a.value},fix:e=>e.insertTextBefore(a," ")}),!o&&l&&function(t,n){let r=e.sourceCode.getTokenBefore(n,{includeComments:!0});e.report({node:t,loc:{start:r.loc.end,end:n.loc.start},messageId:"unexpectedSpaceBefore",data:{token:n.value},fix:e=>e.removeRange([r.range[1],n.range[0]])})}(t,a)}}function s(e){if(0===e.properties.length)return;let t=n.getFirstToken(e),r=function(e){let t=e.properties[e.properties.length-1];return n.getTokenAfter(t,cr)}(e),i=n.getTokenAfter(t,{includeComments:!0});o(e,t,i,n.getTokenBefore(r,{includeComments:!0}),r)}return{ObjectPattern:s,ObjectExpression:s,ImportDeclaration:function(e){if(0===e.specifiers.length)return;let t=e.specifiers[0],r=e.specifiers[e.specifiers.length-1];if("ImportSpecifier"!==r.type)return;"ImportSpecifier"!==t.type&&(t=e.specifiers[1]);let i=n.getTokenBefore(t),s=n.getTokenAfter(r,cf),a=n.getTokenAfter(i,{includeComments:!0});o(e,i,a,n.getTokenBefore(s,{includeComments:!0}),s)},ExportNamedDeclaration:function(e){if(0===e.specifiers.length)return;let t=e.specifiers[0],r=e.specifiers[e.specifiers.length-1],i=n.getTokenBefore(t),s=n.getTokenAfter(r,cf),a=n.getTokenAfter(i,{includeComments:!0});o(e,i,a,n.getTokenBefore(s,{includeComments:!0}),s)}}}}),hw=lG({name:"object-curly-spacing",package:"ts",meta:{...hC.meta,docs:{description:"Enforce consistent spacing inside braces"}},defaultOptions:["never"],create(e){let[t,n]=e.options,r="always"===t,i=e.sourceCode||e.getSourceCode();function o(e){return!!n&&!r===n[e]}let s={spaced:r,arraysInObjectsException:o("arraysInObjects"),objectsInObjectsException:o("objectsInObjects")};function a(t,n,r,o,a){if(gO.isTokenOnSameLine(n,r)){let o=i.isSpaceBetween(n,r),a=i.getNodeByRangeIndex(r.range[0]).type,l=s.arraysInObjectsException&&[gI.AST_NODE_TYPES.TSMappedType,gI.AST_NODE_TYPES.TSIndexSignature].includes(a)?!s.spaced:s.spaced;l&&!o&&e.report({node:t,loc:n.loc,messageId:"requireSpaceAfter",data:{token:n.value},fix:e=>e.insertTextAfter(n," ")}),!l&&o&&r.type!==gI.AST_TOKEN_TYPES.Line&&function(t,n){let r=i.getTokenAfter(n,{includeComments:!0});e.report({node:t,loc:{start:n.loc.end,end:r.loc.start},messageId:"unexpectedSpaceAfter",data:{token:n.value},fix:e=>e.removeRange([n.range[1],r.range[0]])})}(t,n)}if(gO.isTokenOnSameLine(o,a)){let n=s.arraysInObjectsException&&gO.isClosingBracketToken(o)||s.objectsInObjectsException&&gO.isClosingBraceToken(o)?i.getNodeByRangeIndex(o.range[0]).type:void 0,r=s.arraysInObjectsException&&n===gI.AST_NODE_TYPES.TSTupleType||s.objectsInObjectsException&&void 0!==n&&[gI.AST_NODE_TYPES.TSMappedType,gI.AST_NODE_TYPES.TSTypeLiteral].includes(n)?!s.spaced:s.spaced,l=i.isSpaceBetween(o,a);r&&!l&&e.report({node:t,loc:a.loc,messageId:"requireSpaceBefore",data:{token:a.value},fix:e=>e.insertTextBefore(a," ")}),!r&&l&&function(t,n){let r=i.getTokenBefore(n,{includeComments:!0});e.report({node:t,loc:{start:r.loc.end,end:n.loc.start},messageId:"unexpectedSpaceBefore",data:{token:n.value},fix:e=>e.removeRange([r.range[1],n.range[0]])})}(t,a)}}return{...hC.create(e),TSMappedType(e){let t=i.getFirstToken(e),n=i.getLastToken(e),r=i.getTokenAfter(t,{includeComments:!0});a(e,t,r,i.getTokenBefore(n,{includeComments:!0}),n)},TSTypeLiteral(e){if(0===e.members.length)return;let t=i.getFirstToken(e),n=function(e){let t=e.members[e.members.length-1];return i.getTokenAfter(t,gO.isClosingBraceToken)}(e),r=i.getTokenAfter(t,{includeComments:!0});a(e,t,r,i.getTokenBefore(n,{includeComments:!0}),n)}}}}),hL=lG({name:"object-property-newline",package:"js",meta:{type:"layout",docs:{description:"Enforce placing object properties on separate lines"},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(e){let t=e.options[0]&&(e.options[0].allowAllPropertiesOnSameLine||e.options[0].allowMultiplePropertiesPerLine),n=t?"propertiesOnNewlineAll":"propertiesOnNewline",r=e.sourceCode;return{ObjectExpression(i){if(t&&i.properties.length>1){let e=r.getFirstToken(i.properties[0]),t=r.getLastToken(i.properties[i.properties.length-1]);if(e.loc.end.line===t.loc.start.line)return}for(let t=1;t<i.properties.length;t++){let o=r.getLastToken(i.properties[t-1]),s=r.getFirstToken(i.properties[t]);o.loc.end.line===s.loc.start.line&&e.report({node:i,loc:s.loc,messageId:n,fix(e){let t=[r.getTokenBefore(s).range[1],s.range[0]];return r.text.slice(t[0],t[1]).trim()?null:e.replaceTextRange(t,"\n")}})}}}}}),hI=lG({name:"object-property-newline",package:"ts",meta:{...hL.meta,docs:{description:"Enforce placing object properties on separate lines"}},defaultOptions:[{allowAllPropertiesOnSameLine:!1,allowMultiplePropertiesPerLine:!1}],create(e){let t=hL.create(e);return{...t,TSTypeLiteral:e=>t.ObjectExpression({...e,properties:e.members}),TSInterfaceBody:e=>t.ObjectExpression({...e,properties:e.body})}}});const hO=/^(?:module\s*\.\s*)?exports(?:\s*\.|\s*\[|$)/u,hD=/^require\(/u,hV=`[${Array.from(new Set(["\r\n","\r","\n","\u2028","\u2029"])).join("")}]`,hB=RegExp(String.raw`^(\s*?${hV})\s*${hV}(\s*;?)$`,"u");function hN(e,t){return{test(n,r){let i=r.getFirstToken(n)?.value===t,o=Array.isArray(e)?e.includes(n.type):e===n.type;return i&&o}}}function hj(e){return{test:(t,n)=>t.loc.start.line===t.loc.end.line&&n.getFirstToken(t).value===e}}function hM(e){return{test:(t,n)=>t.loc.start.line!==t.loc.end.line&&n.getFirstToken(t).value===e}}function hR(e){return{test:t=>t.type===e}}function hF(e){return e&&e.type===gI.AST_NODE_TYPES.ChainExpression?e.expression:e}function hU(e){if(e.type===gI.AST_NODE_TYPES.ExpressionStatement){let t=hF(e.expression);if(t.type===gI.AST_NODE_TYPES.UnaryExpression&&(t=hF(t.argument)),t.type===gI.AST_NODE_TYPES.CallExpression){let e=t.callee;for(;e.type===gI.AST_NODE_TYPES.SequenceExpression;)e=e.expressions[e.expressions.length-1];return gO.isFunction(e)}}return!1}function hq(e,t){if(e.type===gI.AST_NODE_TYPES.DoWhileStatement&&e.body.type===gI.AST_NODE_TYPES.BlockStatement||hU(e))return!0;let n=t.getLastToken(e,gO.isNotSemicolonToken),r=n&&gO.isClosingBraceToken(n)?t.getNodeByRangeIndex(n.range[0]):null;return!!r&&(r.type===gI.AST_NODE_TYPES.BlockStatement||r.type===gI.AST_NODE_TYPES.SwitchStatement)}function hW(e,t){return e.type===gI.AST_NODE_TYPES.ExpressionStatement&&(e.parent?.type===gI.AST_NODE_TYPES.Program||e.parent?.type===gI.AST_NODE_TYPES.BlockStatement&&gO.isFunction(e.parent.parent))&&e.expression.type===gI.AST_NODE_TYPES.Literal&&"string"==typeof e.expression.value&&!gO.isParenthesized(e.expression,t)}function hG(e,t){if(hW(e,t)&&e.parent&&"body"in e.parent&&Array.isArray(e.parent.body)){for(let n of e.parent.body){if(n===e)break;if(!hW(n,t))return!1}return!0}return!1}function hH(e,t){let n=t.getLastToken(e),r=t.getTokenBefore(n),i=t.getTokenAfter(n);return r&&i&&r.range[0]>=e.range[0]&&gO.isSemicolonToken(n)&&n.loc.start.line!==r.loc.end.line&&n.loc.end.line===i.loc.start.line?r:n}function h$(e,t,n){return t+n}const hK={any:{verify:function(){}},never:{verify:function(e,t,n,r){0!==r.length&&e.report({node:n,messageId:"unexpectedBlankLine",fix(t){if(r.length>=2)return null;let n=r[0][0],i=r[0][1],o=n.range[1],s=i.range[0],a=e.getSourceCode().text.slice(o,s).replace(hB,h$);return t.replaceTextRange([o,s],a)}})}},always:{verify:function(e,t,n,r){r.length>0||e.report({node:n,messageId:"expectedBlankLine",fix(r){let i=e.sourceCode,o=hH(t,i),s=i.getFirstTokenBetween(o,n,{includeComments:!0,filter:e=>!gO.isTokenOnSameLine(o,e)||(o=e,!1)})||n,a=gO.isTokenOnSameLine(o,s)?"\n\n":"\n";return r.insertTextAfter(o,a)}})}}},hz={"*":{test:()=>!0},"block-like":{test:hq},exports:{test:function(e){if(e.type===gI.AST_NODE_TYPES.ExpressionStatement){let t=e.expression;if(t.type===gI.AST_NODE_TYPES.AssignmentExpression){let e=t.left;if(e.type===gI.AST_NODE_TYPES.MemberExpression){for(;e.object.type===gI.AST_NODE_TYPES.MemberExpression;)e=e.object;return e.object.type===gI.AST_NODE_TYPES.Identifier&&("exports"===e.object.name||"module"===e.object.name&&e.property.type===gI.AST_NODE_TYPES.Identifier&&"exports"===e.property.name)}}}return!1}},require:{test:function(e){if(e.type===gI.AST_NODE_TYPES.VariableDeclaration){let t=e.declarations[0];if(t?.init){let e=t?.init;for(;e.type===gI.AST_NODE_TYPES.MemberExpression;)e=e.object;if(e.type===gI.AST_NODE_TYPES.CallExpression&&e.callee.type===gI.AST_NODE_TYPES.Identifier)return"require"===e.callee.name}}return!1}},directive:{test:hG},expression:{test:function(e,t){return e.type===gI.AST_NODE_TYPES.ExpressionStatement&&!hG(e,t)}},iife:{test:hU},"multiline-block-like":{test:(e,t)=>e.loc.start.line!==e.loc.end.line&&hq(e,t)},"multiline-expression":{test:(e,t)=>e.loc.start.line!==e.loc.end.line&&e.type===gI.AST_NODE_TYPES.ExpressionStatement&&!hG(e,t)},"multiline-const":hM("const"),"multiline-export":hM("export"),"multiline-let":hM("let"),"multiline-var":hM("var"),"singleline-const":hj("const"),"singleline-export":hj("export"),"singleline-let":hj("let"),"singleline-var":hj("var"),block:hR(gI.AST_NODE_TYPES.BlockStatement),empty:hR(gI.AST_NODE_TYPES.EmptyStatement),function:hR(gI.AST_NODE_TYPES.FunctionDeclaration),"ts-method":hR(gI.AST_NODE_TYPES.TSMethodSignature),break:hN(gI.AST_NODE_TYPES.BreakStatement,"break"),case:hN(gI.AST_NODE_TYPES.SwitchCase,"case"),class:hN(gI.AST_NODE_TYPES.ClassDeclaration,"class"),const:hN(gI.AST_NODE_TYPES.VariableDeclaration,"const"),continue:hN(gI.AST_NODE_TYPES.ContinueStatement,"continue"),debugger:hN(gI.AST_NODE_TYPES.DebuggerStatement,"debugger"),default:hN([gI.AST_NODE_TYPES.SwitchCase,gI.AST_NODE_TYPES.ExportDefaultDeclaration],"default"),do:hN(gI.AST_NODE_TYPES.DoWhileStatement,"do"),export:hN([gI.AST_NODE_TYPES.ExportAllDeclaration,gI.AST_NODE_TYPES.ExportDefaultDeclaration,gI.AST_NODE_TYPES.ExportNamedDeclaration],"export"),for:hN([gI.AST_NODE_TYPES.ForStatement,gI.AST_NODE_TYPES.ForInStatement,gI.AST_NODE_TYPES.ForOfStatement],"for"),if:hN(gI.AST_NODE_TYPES.IfStatement,"if"),import:hN(gI.AST_NODE_TYPES.ImportDeclaration,"import"),let:hN(gI.AST_NODE_TYPES.VariableDeclaration,"let"),return:hN(gI.AST_NODE_TYPES.ReturnStatement,"return"),switch:hN(gI.AST_NODE_TYPES.SwitchStatement,"switch"),throw:hN(gI.AST_NODE_TYPES.ThrowStatement,"throw"),try:hN(gI.AST_NODE_TYPES.TryStatement,"try"),var:hN(gI.AST_NODE_TYPES.VariableDeclaration,"var"),while:hN([gI.AST_NODE_TYPES.WhileStatement,gI.AST_NODE_TYPES.DoWhileStatement],"while"),with:hN(gI.AST_NODE_TYPES.WithStatement,"with"),"cjs-export":{test:(e,t)=>"ExpressionStatement"===e.type&&"AssignmentExpression"===e.expression.type&&hO.test(t.getText(e.expression.left))},"cjs-import":{test:(e,t)=>"VariableDeclaration"===e.type&&e.declarations.length>0&&!!e.declarations[0].init&&hD.test(t.getText(e.declarations[0].init))},enum:hN(gI.AST_NODE_TYPES.TSEnumDeclaration,"enum"),interface:hN(gI.AST_NODE_TYPES.TSInterfaceDeclaration,"interface"),type:hN(gI.AST_NODE_TYPES.TSTypeAliasDeclaration,"type"),"function-overload":{test:e=>"TSDeclareFunction"===e.type}};var hJ=lG({name:"padding-line-between-statements",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow padding lines between statements"},fixable:"whitespace",hasSuggestions:!1,schema:{$defs:{paddingType:{type:"string",enum:Object.keys(hK)},statementType:{anyOf:[{type:"string",enum:Object.keys(hz)},{type:"array",items:{type:"string",enum:Object.keys(hz)},minItems:1,uniqueItems:!0,additionalItems:!1}]}},type:"array",additionalItems:!1,items:{type:"object",properties:{blankLine:{$ref:"#/$defs/paddingType"},prev:{$ref:"#/$defs/statementType"},next:{$ref:"#/$defs/statementType"}},additionalProperties:!1,required:["blankLine","prev","next"]}},messages:{unexpectedBlankLine:"Unexpected blank line before this statement.",expectedBlankLine:"Expected blank line before this statement."}},defaultOptions:[],create(e){let t=e.sourceCode,n=e.options||[],r=null;function i(){r={upper:r,prevNode:null}}function o(){r&&(r=r.upper)}function s(e,n){let r=e;for(;r.type===gI.AST_NODE_TYPES.LabeledStatement;)r=r.body;return Array.isArray(n)?n.some(s.bind(null,r)):hz[n].test(r,t)}function a(i){if(!i.parent||![gI.AST_NODE_TYPES.BlockStatement,gI.AST_NODE_TYPES.Program,gI.AST_NODE_TYPES.StaticBlock,gI.AST_NODE_TYPES.SwitchCase,gI.AST_NODE_TYPES.SwitchStatement,gI.AST_NODE_TYPES.TSInterfaceBody,gI.AST_NODE_TYPES.TSModuleBlock,gI.AST_NODE_TYPES.TSTypeLiteral].includes(i.parent.type))return;let o=r.prevNode;if(o){let r=function(e,t){for(let r=n.length-1;r>=0;--r){let i=n[r];if(s(e,i.prev)&&s(t,i.next))return hK[i.blankLine]}return hK.any}(o,i),a=function(e,n){let r=[],i=hH(e,t);if(n.loc.start.line-i.loc.end.line>=2)do{let e=t.getTokenAfter(i,{includeComments:!0});e.loc.start.line-i.loc.end.line>=2&&r.push([i,e]),i=e}while(i.range[0]<n.range[0]);return r}(o,i);r.verify(e,o,i,a)}r.prevNode=i}function l(e){a(e),i()}return{Program:i,BlockStatement:i,SwitchStatement:i,StaticBlock:i,TSInterfaceBody:i,TSModuleBlock:i,TSTypeLiteral:i,"Program:exit":o,"BlockStatement:exit":o,"SwitchStatement:exit":o,"StaticBlock:exit":o,"TSInterfaceBody:exit":o,"TSModuleBlock:exit":o,"TSTypeLiteral:exit":o,":statement":a,SwitchCase:l,TSDeclareFunction:l,TSMethodSignature:l,"SwitchCase:exit":o,"TSDeclareFunction:exit":o,"TSMethodSignature:exit":o}}}),hX=lG({name:"quote-props",package:"js",meta:{type:"layout",docs:{description:"Require quotes around object literal property names"},schema:{anyOf:[{type:"array",items:[{type:"string",enum:["always","as-needed","consistent","consistent-as-needed"]}],minItems:0,maxItems:1},{type:"array",items:[{type:"string",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(e){let t=e.options[0],n=e.options[1]&&e.options[1].keywords,r=!e.options[1]||!1!==e.options[1].unnecessary,i=e.options[1]&&e.options[1].numbers,o=e.sourceCode;function s(e){return cP.includes(e)}function a(e,t,n=!1){return 1===t.length&&0===t[0].start&&t[0].end===e.length&&(["Identifier","Keyword","Null","Boolean"].includes(t[0].type)||"Numeric"===t[0].type&&!n&&String(+t[0].value)===t[0].value)}function l(e){return"Identifier"===e.type?e.name:e.value}function c(e){return"Literal"===e.type&&"string"==typeof e.value?o.getText(e):`"${"Identifier"===e.type?e.name:e.value}"`}function p(t){let o=t.key;if("ImportAttribute"===t.type||!t.method&&!t.computed&&!t.shorthand)if("Literal"===o.type&&"string"==typeof o.value){let c;try{c=ov(o.value)}catch{return}if(1!==c.length||s(c[0].value)&&n)return;r&&a(o.value,c,i)&&e.report({node:t,messageId:"unnecessarilyQuotedProperty",data:{property:o.value},fix:e=>e.replaceText(o,l(o))})}else if(n&&"Identifier"===o.type&&s(o.name))e.report({node:t,messageId:"unquotedReservedProperty",data:{property:o.name},fix:e=>e.replaceText(o,c(o))});else{var p;i&&"Literal"===o.type&&"Literal"===(p=o).type&&("number"==typeof p.value||"bigint"in p&&p.bigint)&&e.report({node:t,messageId:"unquotedNumericProperty",data:{property:o.value},fix:e=>e.replaceText(o,c(o))})}}function u(t){if("ImportAttribute"!==t.type&&(t.method||t.computed||t.shorthand))return;let n=t.key;("Literal"!==n.type||"string"!=typeof n.value)&&e.report({node:t,messageId:"unquotedPropertyFound",data:{property:n.name||n.value},fix:e=>e.replaceText(n,c(n))})}function f(e,t){m(e.properties.filter(e=>"SpreadElement"!==e.type&&e.key&&!e.method&&!e.computed&&!e.shorthand),t)}function d(e){e&&("consistent"===t&&m(e,!1),"consistent-as-needed"===t&&m(e,!0))}function m(t,r){let i=[],o=[],p=null,u=!1;t.forEach(e=>{let t=e.key;if("Literal"===t.type&&"string"==typeof t.value){if(i.push(e),r){let e;try{e=ov(t.value)}catch{u=!0;return}u=u||!a(t.value,e)||n&&s(e[0].value)}}else n&&r&&"Identifier"===t.type&&s(t.name)?(o.push(e),u=!0,p=t.name):o.push(e)}),r&&i.length&&!u?i.forEach(t=>{let n=t.key;e.report({node:t,messageId:"redundantQuoting",fix:e=>e.replaceText(n,l(n))})}):o.length&&p?o.forEach(t=>{e.report({node:t,messageId:"requireQuotesDueToReservedWord",data:{property:p},fix:e=>e.replaceText(t.key,c(t.key))})}):i.length&&o.length&&o.forEach(t=>{e.report({node:t,messageId:"inconsistentlyQuotedProperty",data:{key:t.key.name||t.key.value},fix:e=>e.replaceText(t.key,c(t.key))})})}return{Property(e){"always"!==t&&t||u(e),"as-needed"===t&&p(e)},ObjectExpression(e){"consistent"===t&&f(e,!1),"consistent-as-needed"===t&&f(e,!0)},ImportAttribute(e){"always"!==t&&t||u(e),"as-needed"===t&&p(e)},ImportDeclaration(e){d(e.attributes)},ExportAllDeclaration(e){d(e.attributes)},ExportNamedDeclaration(e){d(e.attributes)}}}}),hQ=lG({name:"quote-props",package:"ts",meta:{...hX.meta,docs:{description:"Require quotes around object literal, type literal, interfaces and enums property names"}},defaultOptions:["always"],create(e){let t=hX.create(e);return{...t,TSPropertySignature:e=>t.Property({...e,type:gI.AST_NODE_TYPES.Property,shorthand:!1,method:!1,kind:"init",value:null}),TSMethodSignature:e=>t.Property({...e,type:gI.AST_NODE_TYPES.Property,shorthand:!1,method:!0,kind:"init",value:null}),TSEnumMember:e=>t.Property({...e,type:gI.AST_NODE_TYPES.Property,key:e.id,optional:!1,shorthand:!1,method:!1,kind:"init",value:null}),TSTypeLiteral:e=>t.ObjectExpression({...e,type:gI.AST_NODE_TYPES.ObjectExpression,properties:e.members}),TSInterfaceBody:e=>t.ObjectExpression({...e,type:gI.AST_NODE_TYPES.ObjectExpression,properties:e.body}),TSEnumDeclaration(e){let n=e.body?.members||e.members;return t.ObjectExpression({...e,type:gI.AST_NODE_TYPES.ObjectExpression,properties:n.map(e=>({...e,key:e.id}))})}}}});function hZ(e){let t=this.quote,n=e[0];return t===n?e:t+e.slice(1,-1).replace(/\\(\$\{|\r\n?|\n|.)|["'`]|\$\{|(\r\n?|\n)/gu,(e,r,i)=>r===n||"`"===n&&"${"===r?r:e===t||"`"===t&&"${"===e?`\\${e}`:i&&"`"===n?"\\n":e)+t}const h0={double:{quote:'"',alternateQuote:"'",description:"doublequote",convert:hZ},single:{quote:"'",alternateQuote:'"',description:"singlequote",convert:hZ},backtick:{quote:"`",alternateQuote:'"',description:"backtick",convert:hZ}},h1=RegExp(String.raw`(^|[^\\])(\\\\)*[${Array.from(l$).join("")}]`,"u");var h2=lG({name:"quotes",package:"js",meta:{type:"layout",docs:{description:"Enforce the consistent use of either backticks, double, or single quotes"},fixable:"code",schema:[{type:"string",enum:["single","double","backtick"]},{anyOf:[{type:"string",enum:["avoid-escape"]},{type:"object",properties:{avoidEscape:{type:"boolean"},allowTemplateLiterals:{anyOf:[{type:"boolean"},{type:"string",enum:["never","avoidEscape","always"]}]},ignoreStringLiterals:{type:"boolean"}},additionalProperties:!1}]}],messages:{wrongQuotes:"Strings must use {{description}}."}},create(e){let t=e.options[0],n=h0[t||"double"],r=e.options[1],i=e.sourceCode,o=!1,s=!1,a=!1,l=!1;return"object"==typeof r?(o=!0===r.avoidEscape,s=!0===r.ignoreStringLiterals,"string"==typeof r.allowTemplateLiterals?l=(a="always"===r.allowTemplateLiterals)||"avoidEscape"===r.allowTemplateLiterals:"boolean"==typeof r.allowTemplateLiterals&&(a=!0===r.allowTemplateLiterals,l=!0===r.allowTemplateLiterals)):"avoid-escape"===r&&(o=!0),{Literal(r){if(s)return;let a=r.value,l=r.raw;if(n&&"string"==typeof a){let s="backtick"===t&&function(e){let t=e.parent;if(!t)return!1;switch(t.type){case"ExpressionStatement":return!l2(i,e)&&function(e){if(!e.parent||!cc(e.parent))return!1;let t=e.parent.parent;if(!t||!("body"in t)||!Array.isArray(t.body))return!1;for(let n=0;n<t.body.length;++n){let r=t.body[n];if(r===e.parent)return!0;if(!("ExpressionStatement"===r.type&&"Literal"===r.expression.type&&"string"==typeof r.expression.value&&!l2(i,r.expression)))break}return!1}(e);case"Property":case"PropertyDefinition":case"MethodDefinition":return t.key===e&&!t.computed;case"ImportDeclaration":case"ExportNamedDeclaration":return t.source===e;case"ExportAllDeclaration":return t.exported===e||t.source===e;case"ImportSpecifier":return t.imported===e;case"ExportSpecifier":return t.local===e||t.exported===e;case"ImportAttribute":return t.value===e;default:return!1}}(r)||!!r.parent&&("JSXAttribute"===r.parent.type||"JSXElement"===r.parent.type||"JSXFragment"===r.parent.type)||cg(l,n.quote);!s&&o&&(s=cg(l,n.alternateQuote)&&l.includes(n.quote)),s||e.report({node:r,messageId:"wrongQuotes",data:{description:n.description},fix:e=>"backtick"===t&&lX.test(l)?null:e.replaceText(r,n.convert(r.raw))})}},TemplateLiteral(r){!(a||"backtick"===t||"TaggedTemplateExpression"===r.parent.type&&r===r.parent.quasi||r.expressions.length>0||r.quasis.length>=1&&h1.test(r.quasis[0].value.raw))&&(l&&o&&i.getText(r).includes(n.quote)||e.report({node:r,messageId:"wrongQuotes",data:{description:n.description},fix:e=>cc(r.parent)&&!l2(i,r)?null:e.replaceText(r,n.convert(i.getText(r)))}))}}}}),h3=lG({name:"quotes",package:"ts",meta:{type:"layout",docs:{description:"Enforce the consistent use of either backticks, double, or single quotes"},fixable:"code",hasSuggestions:h2.meta.hasSuggestions,messages:h2.meta.messages,schema:h2.meta.schema},defaultOptions:["double",{allowTemplateLiterals:"never",avoidEscape:!1,ignoreStringLiterals:!1}],create(e,[t]){let n=h2.create(e);return{Literal(e){"backtick"===t&&function(e){let t=e.parent;switch(t?.type){case gI.AST_NODE_TYPES.TSAbstractMethodDefinition:case gI.AST_NODE_TYPES.TSMethodSignature:case gI.AST_NODE_TYPES.TSPropertySignature:case gI.AST_NODE_TYPES.TSModuleDeclaration:case gI.AST_NODE_TYPES.TSExternalModuleReference:return!0;case gI.AST_NODE_TYPES.TSEnumMember:return e===t.id;case gI.AST_NODE_TYPES.TSAbstractPropertyDefinition:case gI.AST_NODE_TYPES.PropertyDefinition:return t.key===e&&!t.computed;case gI.AST_NODE_TYPES.TSLiteralType:return t.parent?.type===gI.AST_NODE_TYPES.TSImportType;default:return!1}}(e)||n.Literal(e)},TemplateLiteral(e){n.TemplateLiteral(e)}}}}),h4=lG({name:"semi-spacing",package:"js",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after semicolons"},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(e){let t=e.options[0],n=e.sourceCode,r=!1,i=!0;function o(t,o){if(l5(t)){if(function(e){let t=n.getTokenBefore(e);return t&&cp(t,e)&&n.isSpaceBetween(t,e)}(t)){if(!r){let r=n.getTokenBefore(t),i={start:r.loc.end,end:t.loc.start};e.report({node:o,loc:i,messageId:"unexpectedWhitespaceBefore",fix:e=>e.removeRange([r.range[1],t.range[0]])})}}else if(r){let n=t.loc;e.report({node:o,loc:n,messageId:"missingWhitespaceBefore",fix:e=>e.insertTextBefore(t," ")})}if(!function(e){let t=n.getTokenBefore(e);return!(t&&cp(e,t))}(t)&&!function(e){let t=n.getTokenAfter(e);return!(t&&cp(e,t))}(t)&&!function(e){let t=n.getTokenAfter(e);return t&&cr(t)||l7(t)}(t)){if(function(e){let t=n.getTokenAfter(e);return t&&cp(e,t)&&n.isSpaceBetween(e,t)}(t)){if(!i){let r=n.getTokenAfter(t),i={start:t.loc.end,end:r.loc.start};e.report({node:o,loc:i,messageId:"unexpectedWhitespaceAfter",fix:e=>e.removeRange([t.range[1],r.range[0]])})}}else if(i){let n=t.loc;e.report({node:o,loc:n,messageId:"missingWhitespaceAfter",fix:e=>e.insertTextAfter(t," ")})}}}}function s(e){o(n.getLastToken(e),e)}return"object"==typeof t&&(r=t.before,i=t.after),{VariableDeclaration:s,ExpressionStatement:s,BreakStatement:s,ContinueStatement:s,DebuggerStatement:s,DoWhileStatement:s,ReturnStatement:s,ThrowStatement:s,ImportDeclaration:s,ExportNamedDeclaration:s,ExportAllDeclaration:s,ExportDefaultDeclaration:s,ForStatement(e){e.init&&o(n.getTokenAfter(e.init),e),e.test&&o(n.getTokenAfter(e.test),e)},PropertyDefinition:s}}}),h6=lG({name:"semi-spacing",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before and after semicolons"},fixable:"whitespace",hasSuggestions:h4.meta.hasSuggestions,schema:h4.meta.schema,messages:h4.meta.messages},create(e){let t=h4.create(e),n=t.ExpressionStatement,r=[gI.AST_NODE_TYPES.TSDeclareFunction,gI.AST_NODE_TYPES.TSTypeAliasDeclaration].reduce((e,t)=>(e[t]=n,e),{}),i=new Set([gI.AST_NODE_TYPES.TSDeclareFunction]);return{...t,...r,TSTypeAnnotation(e){e.parent&&!i.has(e.parent.type)&&n(e.parent)}}}}),h5=lG({name:"semi",package:"js",meta:{type:"layout",docs:{description:"Require or disallow semicolons instead of ASI"},fixable:"code",schema:{anyOf:[{type:"array",items:[{type:"string",enum:["never"]},{type:"object",properties:{beforeStatementContinuationChars:{type:"string",enum:["always","any","never"]}},additionalProperties:!1}],minItems:0,maxItems:2},{type:"array",items:[{type:"string",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(e){let t=/^[-[(/+`]/u,n=new Set(["get","set","static"]),r=new Set(["*","in","instanceof"]),i=e.options[1],o="never"===e.options[0],s=!!(i&&"omitLastInOneLineBlock"in i&&i.omitLastInOneLineBlock),a=!!(i&&"omitLastInOneLineClassBody"in i&&i.omitLastInOneLineClassBody),l=i&&"beforeStatementContinuationChars"in i&&i.beforeStatementContinuationChars||"any",c=e.sourceCode;function p(t,n=!1){let r,i,o=c.getLastToken(t),s="missingSemi";n?(s="extraSemi",i=o.loc,r=function(e){return new cv(e,c).retainSurroundingTokens(o).remove(o)}):(i={start:o.loc.end,end:cy(c,o.loc.end)},r=function(e){return e.insertTextAfter(o,";")}),e.report({node:t,loc:i,messageId:s,fix:r})}function u(e){return!!e&&t.test(e.value)&&"++"!==e.value&&"--"!==e.value}function f(e){let t=l5(c.getLastToken(e));if(o){let i=c.getTokenAfter(e);!t||(!function(e){let t=c.getTokenAfter(e);return!t||cr(t)||l5(t)}(c.getLastToken(e))?function(e){if("PropertyDefinition"!==e.type)return!1;if(!e.computed&&"Identifier"===e.key.type&&"name"in e.key&&n.has(e.key.name)&&!(e.static&&"static"===e.key.name)&&!e.value)return!0;let t=c.getTokenAfter(e);return r.has(t.value)}(e)||function(e){let t=c.getLastToken(e,1),n=c.getTokenAfter(e);return!!n&&cp(t,n)}(e)||("PropertyDefinition"===e.type||"never"!==l||function(e){let t=e.type;return"DoWhileStatement"!==t&&"BreakStatement"!==t&&"ContinueStatement"!==t&&"DebuggerStatement"!==t&&"ImportDeclaration"!==t&&"ExportAllDeclaration"!==t&&("ReturnStatement"===t?!!e.argument:"ExportNamedDeclaration"===t?!!e.declaration:!function(e){if(!cr(e))return!1;let t=c.getNodeByRangeIndex(e.range[0]);return"BlockStatement"===t.type&&"ArrowFunctionExpression"===t.parent.type}(c.getLastToken(e,1)))}(e))&&u(c.getTokenAfter(e))?1:0:0)?!t&&"always"===l&&"PropertyDefinition"!==e.type&&u(i)&&p(e):p(e,!0)}else{let n=s&&function(e){let t=e.parent,n=c.getTokenAfter(e);return!!n&&"}"===n.value&&("BlockStatement"===t.type?t.loc.start.line===t.loc.end.line:"StaticBlock"===t.type&&c.getFirstToken(t,{skip:1}).loc.start.line===t.loc.end.line)}(e),r=a&&function(e){let t=e.parent,n=c.getTokenAfter(e);return!!n&&"}"===n.value&&"ClassBody"===t.type&&t.loc.start.line===t.loc.end.line}(e),i=n||r;t&&i?p(e,!0):t||i||p(e)}}return{VariableDeclaration:function(e){let t=e.parent;"ForStatement"===t.type&&t.init===e||/^For(?:In|Of)Statement/u.test(t.type)&&t.left===e||f(e)},ExpressionStatement:f,ReturnStatement:f,ThrowStatement:f,DoWhileStatement:f,DebuggerStatement:f,BreakStatement:f,ContinueStatement:f,ImportDeclaration:f,ExportAllDeclaration:f,ExportNamedDeclaration(e){e.declaration||f(e)},ExportDefaultDeclaration(e){/(?:Class|Function)Declaration/u.test(e.declaration.type)||f(e)},PropertyDefinition:f}}}),h9=lG({name:"semi",package:"ts",meta:{type:"layout",docs:{description:"Require or disallow semicolons instead of ASI"},fixable:"code",hasSuggestions:h5.meta.hasSuggestions,schema:h5.meta.schema,messages:h5.meta.messages},defaultOptions:["always",{omitLastInOneLineBlock:!1,beforeStatementContinuationChars:"any"}],create(e){let t=h5.create(e),n=t.ExpressionStatement,r=[gI.AST_NODE_TYPES.PropertyDefinition,gI.AST_NODE_TYPES.TSAbstractPropertyDefinition,gI.AST_NODE_TYPES.TSDeclareFunction,gI.AST_NODE_TYPES.TSExportAssignment,gI.AST_NODE_TYPES.TSImportEqualsDeclaration,gI.AST_NODE_TYPES.TSTypeAliasDeclaration,gI.AST_NODE_TYPES.TSEmptyBodyFunctionExpression].reduce((e,t)=>(e[t]=n,e),{});return{...t,...r,ExportDefaultDeclaration(e){e.declaration.type!==gI.AST_NODE_TYPES.TSInterfaceDeclaration&&t.ExportDefaultDeclaration(e)}}}}),h8=lG({name:"space-before-blocks",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before blocks"},fixable:"whitespace",schema:[{oneOf:[{type:"string",enum:["always","never"]},{type:"object",properties:{keywords:{type:"string",enum:["always","never","off"]},functions:{type:"string",enum:["always","never","off"]},classes:{type:"string",enum:["always","never","off"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before opening brace.",missingSpace:"Missing space before opening brace."}},defaultOptions:["always"],create(e,[t]){let n=e.sourceCode,r=!0,i=!0,o=!0,s=!1,a=!1,l=!1;function c(e){let t=e.parent;return"BlockStatement"===e.type&&lQ(t)&&t.body===e}function p(t){var p;let u=n.getTokenBefore(t);if(u&&!("=>"===u.value&&"Punctuator"===u.type||co(u)&&!c(t)||l9(u)&&"parent"in t&&t.parent&&"SwitchCase"===t.parent.type&&u===(p=t.parent,"test"in p&&p.test?n.getTokenAfter(p.test,e=>l9(e)):n.getFirstToken(p,1)))&&cp(u,t)){let p,f,d=n.isSpaceBetween(u,t);c(t)?(p=r,f=s):"ClassBody"===t.type||"TSEnumBody"===t.type||"TSInterfaceBody"===t.type?(p=o,f=l):(p=i,f=a),p&&!d?e.report({node:t,messageId:"missingSpace",fix:e=>e.insertTextBefore(t," ")}):f&&d&&e.report({node:t,messageId:"unexpectedSpace",fix:e=>e.removeRange([u.range[1],t.range[0]])})}}return"object"==typeof t?(r="always"===t.functions,i="always"===t.keywords,o="always"===t.classes,s="never"===t.functions,a="never"===t.keywords,l="never"===t.classes):"never"===t&&(r=!1,i=!1,o=!1,s=!0,a=!0,l=!0),{BlockStatement:p,ClassBody:p,SwitchStatement(e){let t,r=e.cases;p(r.length>0?n.getTokenBefore(r[0]):n.getLastToken(e,1))},TSEnumBody:p,TSInterfaceBody:p}}}),h7=lG({name:"space-before-function-paren",package:"ts",meta:{type:"layout",docs:{description:"Enforce consistent spacing before function parenthesis"},fixable:"whitespace",schema:[{oneOf:[{type:"string",enum:["always","never"]},{type:"object",properties:{anonymous:{type:"string",enum:["always","never","ignore"]},named:{type:"string",enum:["always","never","ignore"]},asyncArrow:{type:"string",enum:["always","never","ignore"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before function parentheses.",missingSpace:"Missing space before function parentheses."}},defaultOptions:["always"],create(e,[t]){let n=e.sourceCode,r="string"==typeof t?t:"always",i="object"==typeof t?t:{};function o(t){let o,s,a=function(e){if(e.type===gI.AST_NODE_TYPES.ArrowFunctionExpression){if(e.async&&gO.isOpeningParenToken(n.getFirstToken(e,{skip:1})))return i.asyncArrow??r}else if(function(e){if(null!=e.id)return!0;let t=e.parent;return t.type===gI.AST_NODE_TYPES.MethodDefinition||t.type===gI.AST_NODE_TYPES.TSAbstractMethodDefinition||t.type===gI.AST_NODE_TYPES.Property&&("get"===t.kind||"set"===t.kind||t.method)}(e))return i.named??r;else if(!e.generator)return i.anonymous??r;return"ignore"}(t);if("ignore"===a)return;t.typeParameters?(o=n.getLastToken(t.typeParameters),s=n.getTokenAfter(o)):(s=n.getFirstToken(t,gO.isOpeningParenToken),o=n.getTokenBefore(s));let l=n.isSpaceBetween(o,s);l&&"never"===a?e.report({node:t,loc:{start:o.loc.end,end:s.loc.start},messageId:"unexpectedSpace",fix:e=>{let t=n.getCommentsBefore(s);return t.some(e=>"Line"===e.type)?null:e.replaceTextRange([o.range[1],s.range[0]],t.reduce((e,t)=>e+n.getText(t),""))}}):l||"always"!==a||t.typeParameters&&!t.id||e.report({node:t,loc:s.loc,messageId:"missingSpace",fix:e=>e.insertTextAfter(o," ")})}return{ArrowFunctionExpression:o,FunctionDeclaration:o,FunctionExpression:o,TSEmptyBodyFunctionExpression:o,TSDeclareFunction:o}}});const ye=["|","&"];var yt={rules:{"block-spacing":gD,"brace-style":gB,"comma-dangle":gU,"comma-spacing":gq,"func-call-spacing":gW,"function-call-spacing":gW,indent:gQ,"key-spacing":g6,"keyword-spacing":hc,"lines-around-comment":hu,"lines-between-class-members":hg,"member-delimiter-style":hy,"no-extra-parens":hT,"no-extra-semi":hS,"object-curly-newline":hY,"object-curly-spacing":hw,"object-property-newline":hI,"padding-line-between-statements":hJ,"quote-props":hQ,quotes:h3,semi:h9,"semi-spacing":h6,"space-before-blocks":h8,"space-before-function-paren":h7,"space-infix-ops":lG({name:"space-infix-ops",package:"ts",meta:{type:"layout",docs:{description:"Require spacing around infix operators"},fixable:"whitespace",schema:[{type:"object",properties:{int32Hint:{type:"boolean",default:!1},ignoreTypes:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{missingSpace:"Operator '{{operator}}' must be spaced."}},defaultOptions:[{int32Hint:!1,ignoreTypes:!1}],create(e){let t=!!e.options[0]&&!0===e.options[0].int32Hint,n=!!e.options[0]&&!0===e.options[0].ignoreTypes,r=e.sourceCode;function i(t,n){e.report({node:t,loc:n.loc,messageId:"missingSpace",data:{operator:n.value},fix(e){let t=r.getTokenBefore(n),i=r.getTokenAfter(n),o="";return n.range[0]-t.range[1]==0&&(o=" "),o+=n.value,i.range[0]-n.range[1]==0&&(o+=" "),e.replaceText(n,o)}})}function o(e,t,n){let i=r.getFirstTokenBetween(e,t,e=>e.value===n),o=r.getTokenBefore(i),s=r.getTokenAfter(i);return r.isSpaceBetween(o,i)&&r.isSpaceBetween(i,s)?null:i}function s(e){let n="typeAnnotation"in e.left&&e.left.typeAnnotation?e.left.typeAnnotation:e.left,s=o(n,e.right,"operator"in e&&e.operator?e.operator:"=");s&&!(t&&r.getText(e).endsWith("|0"))&&i(e,s)}function a(e){return e.type===gI.AST_TOKEN_TYPES.Punctuator&&/^[=?:]$/.test(e.value)}function l(e,t,n){if(!n||!t)return;let o=r.getFirstTokenBetween(t,n,a),s=r.getTokenBefore(o),l=r.getTokenAfter(o);r.isSpaceBetween(s,o)&&r.isSpaceBetween(o,l)||i(e,o)}function c(e){e.types.forEach(t=>{let o=t.type===gI.AST_NODE_TYPES.TSFunctionType?gO.isNotOpeningParenToken:0,s=r.getTokenBefore(t,o);if(!n&&null!=s&&ye.includes(s.value)){let t=r.getTokenBefore(s),n=r.getTokenAfter(s);r.isSpaceBetween(t,s)&&r.isSpaceBetween(s,n)||i(e,s)}})}return{AssignmentExpression:s,AssignmentPattern:s,BinaryExpression:s,LogicalExpression:s,ConditionalExpression:function(e){let t=o(e.test,e.consequent,"?"),n=o(e.consequent,e.alternate,":");t&&i(e,t),n&&i(e,n)},VariableDeclarator:function(e){let t=e.id.typeAnnotation?e.id.typeAnnotation:e.id,n=e.init;if(n){let r=o(t,n,"=");r&&i(e,r)}},TSEnumMember:function(e){l(e,e.id,e.initializer)},PropertyDefinition:function(e){let t=e.optional&&!e.typeAnnotation?r.getTokenAfter(e.key):e.typeAnnotation??e.key;l(e,t,e.value)},TSTypeAliasDeclaration:function(e){l(e,e.typeParameters??e.id,e.typeAnnotation)},TSUnionType:c,TSIntersectionType:c,TSConditionalType:function(e){l(e,e.extendsType,e.trueType),l(e,e.trueType,e.falseType)}}}}),"type-annotation-spacing":lG({name:"type-annotation-spacing",package:"ts",meta:{type:"layout",docs:{description:"Require consistent spacing around type annotations"},fixable:"whitespace",messages:{expectedSpaceAfter:"Expected a space after the '{{type}}'.",expectedSpaceBefore:"Expected a space before the '{{type}}'.",unexpectedSpaceAfter:"Unexpected space after the '{{type}}'.",unexpectedSpaceBefore:"Unexpected space before the '{{type}}'.",unexpectedSpaceBetween:"Unexpected space between the '{{previousToken}}' and the '{{type}}'."},schema:[{$defs:{spacingConfig:{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}},type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"},overrides:{type:"object",properties:{colon:{$ref:"#/items/0/$defs/spacingConfig"},arrow:{$ref:"#/items/0/$defs/spacingConfig"},variable:{$ref:"#/items/0/$defs/spacingConfig"},parameter:{$ref:"#/items/0/$defs/spacingConfig"},property:{$ref:"#/items/0/$defs/spacingConfig"},returnType:{$ref:"#/items/0/$defs/spacingConfig"}},additionalProperties:!1}},additionalProperties:!1}]},defaultOptions:[{}],create(e,[t]){let n=[":","=>"],r=e.sourceCode,i=function(e){let t={...e?.before!==void 0?{before:e.before}:{},...e?.after!==void 0?{after:e.after}:{}},n=e?.overrides??{},r={before:!1,after:!0,...t,...n?.colon};return{colon:r,arrow:{before:!0,after:!0,...t,...n?.arrow},variable:{...r,...n?.variable},property:{...r,...n?.property},parameter:{...r,...n?.parameter},returnType:{...r,...n?.returnType}}}(t);function o(t){let o=r.getTokenBefore(t),s=o,a=r.getTokenBefore(o),l=o.value;if(!n.includes(l))return;let{before:c,after:p}=function(e,t){let n=t?.parent?.parent;if(gO.isTSFunctionType(n)||gO.isTSConstructorType(n))return e.arrow;if(gO.isIdentifier(n)){let t=n?.parent;return gO.isVariableDeclarator(t)?e.variable:gO.isFunctionOrFunctionType(t)?e.parameter:e.colon}return gO.isClassOrTypeElement(n)?e.property:gO.isFunction(n)?e.returnType:e.colon}(i,t);":"===l&&"?"===a.value&&(r.isSpaceBetween(a,s)&&e.report({node:s,messageId:"unexpectedSpaceBetween",data:{type:l,previousToken:a.value},fix:e=>e.removeRange([a.range[1],s.range[0]])}),l="?:",s=a,("+"===(a=r.getTokenBefore(a)).value||"-"===a.value)&&(l=`${a.value}?:`,s=a,a=r.getTokenBefore(a)));let u=s.range[0]-a.range[1],f=t.range[0]-o.range[1];p&&0===f?e.report({node:o,messageId:"expectedSpaceAfter",data:{type:l},fix:e=>e.insertTextAfter(o," ")}):!p&&f>0&&e.report({node:o,messageId:"unexpectedSpaceAfter",data:{type:l},fix:e=>e.removeRange([o.range[1],t.range[0]])}),c&&0===u?e.report({node:s,messageId:"expectedSpaceBefore",data:{type:l},fix:e=>e.insertTextAfter(a," ")}):!c&&u>0&&e.report({node:s,messageId:"unexpectedSpaceBefore",data:{type:l},fix:e=>e.removeRange([a.range[1],s.range[0]])})}return{TSMappedType(e){e.typeAnnotation&&o(e.typeAnnotation)},TSTypeAnnotation(e){o(e.typeAnnotation)}}}})}};const yn=function(e,t,n){let r=Object.fromEntries(Object.entries(e.rules).filter(([e,t])=>t.meta.fixable&&!t.meta.deprecated&&e===t.meta.docs.url.split("/").pop()&&!0).map(([e])=>[`${t}/${e}`,2]));return{plugins:{[t]:e},rules:r}}(yt,"@stylistic/ts"),yr=Object.assign(yt,{configs:{"disable-legacy":{rules:{"@typescript-eslint/block-spacing":0,"@typescript-eslint/brace-style":0,"@typescript-eslint/comma-dangle":0,"@typescript-eslint/comma-spacing":0,"@typescript-eslint/func-call-spacing":0,"@typescript-eslint/indent":0,"@typescript-eslint/key-spacing":0,"@typescript-eslint/keyword-spacing":0,"@typescript-eslint/lines-around-comment":0,"@typescript-eslint/lines-between-class-members":0,"@typescript-eslint/member-delimiter-style":0,"@typescript-eslint/no-extra-parens":0,"@typescript-eslint/no-extra-semi":0,"@typescript-eslint/object-curly-newline":0,"@typescript-eslint/object-curly-spacing":0,"@typescript-eslint/object-property-newline":0,"@typescript-eslint/padding-line-between-statements":0,"@typescript-eslint/quote-props":0,"@typescript-eslint/quotes":0,"@typescript-eslint/semi":0,"@typescript-eslint/semi-spacing":0,"@typescript-eslint/space-before-blocks":0,"@typescript-eslint/space-before-function-paren":0,"@typescript-eslint/space-infix-ops":0,"@typescript-eslint/type-annotation-spacing":0}},all:yn,"all-flat":yn}}),yi=[".ts",".cts",".mts",".tsx",".d.ts"],yo=[...yi,".js",".jsx",".mjs",".cjs"];async function ys(e){if(!rb.isCI&&n8.stdout.isTTY&&!n6.isPackageExists(e)){let{confirm:t}=await Promise.resolve().then(function(){return require("./vendor-DZYS6gZu.cjs")}).then(function(e){return e.i});await t({message:`Package is required for this config: ${e}. Do you want to install it?`})&&await Promise.resolve().then(function(){return require("./vendor-DZYS6gZu.cjs")}).then(function(e){return e.b}).then(t=>t.installPackage(e,{dev:!0}))}return i(e)}const ya={};function yl(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return yc(e.children,t,n)}return Array.isArray(e)?yc(e,t,n):""}function yc(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=yl(e[i],t,n);return r.join("")}const yp={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"⁡",Aring:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",CenterDot:"\xb7",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"\xcc",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",Mopf:"\uD835\uDD44",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"\uD835\uDD11",NoBreak:"⁠",NonBreakingSpace:"\xa0",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"\uD835\uDCAB",Psi:"Ψ",QUOT:'"',Qfr:"\uD835\uDD14",Qopf:"ℚ",Qscr:"\uD835\uDCAC",RBarr:"⤐",REG:"\xae",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"\uD835\uDD16",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"\uD835\uDD4A",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"\uD835\uDCAE",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"\xde",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"\uD835\uDD17",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"\uD835\uDD4B",TripleDot:"⃛",Tscr:"\uD835\uDCAF",Tstrok:"Ŧ",Uacute:"\xda",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"\xdb",Ucy:"У",Udblac:"Ű",Ufr:"\uD835\uDD18",Ugrave:"\xd9",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"\uD835\uDD4C",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"\uD835\uDCB0",Utilde:"Ũ",Uuml:"\xdc",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",Vopf:"\uD835\uDD4D",Vscr:"\uD835\uDCB1",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"\uD835\uDD1A",Wopf:"\uD835\uDD4E",Wscr:"\uD835\uDCB2",Xfr:"\uD835\uDD1B",Xi:"Ξ",Xopf:"\uD835\uDD4F",Xscr:"\uD835\uDCB3",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"\xdd",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"\uD835\uDD1C",Yopf:"\uD835\uDD50",Yscr:"\uD835\uDCB4",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"\uD835\uDCB5",aacute:"\xe1",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"\xe2",acute:"\xb4",acy:"а",aelig:"\xe6",af:"⁡",afr:"\uD835\uDD1E",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",aopf:"\uD835\uDD52",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"\xe5",ascr:"\uD835\uDCB6",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",auml:"\xe4",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"\xe7",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",cfr:"\uD835\uDD20",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"\xae",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"\uD835\uDD54",coprod:"∐",copy:"\xa9",copysr:"℗",crarr:"↵",cross:"✗",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"\xb0",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"\xe9",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"\xea",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",eg:"⪚",egrave:"\xe8",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"\xf0",euml:"\xeb",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",horbar:"―",hscr:"\uD835\uDCBD",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"\xed",ic:"⁣",icirc:"\xee",icy:"и",iecy:"е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",igrave:"\xec",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"\uD835\uDD5A",iota:"ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"\xef",jcirc:"ĵ",jcy:"й",jfr:"\uD835\uDD27",jmath:"ȷ",jopf:"\uD835\uDD5B",jscr:"\uD835\uDCBF",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"\uD835\uDD28",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"\uD835\uDD5C",kscr:"\uD835\uDCC0",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"\xab",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",mp:"∓",mscr:"\uD835\uDCC2",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"\uD835\uDD5F",not:"\xac",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"\xf3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"\uD835\uDD2C",ogon:"˛",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"\xf8",osol:"⊘",otilde:"\xf5",otimes:"⊗",otimesas:"⨶",ouml:"\xf6",ovbar:"⌽",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",pointint:"⨕",popf:"\uD835\uDD61",pound:"\xa3",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",psi:"ψ",puncsp:" ",qfr:"\uD835\uDD2E",qint:"⨌",qopf:"\uD835\uDD62",qprime:"⁗",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"\uD835\uDCC7",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"\xad",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",tilde:"˜",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"\xfa",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"\xfb",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",ugrave:"\xf9",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"\xa8",uogon:"ų",uopf:"\uD835\uDD66",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"\uD835\uDCCA",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"\xa5",yfr:"\uD835\uDD36",yicy:"ї",yopf:"\uD835\uDD6A",yscr:"\uD835\uDCCE",yucy:"ю",yuml:"\xff",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"\uD835\uDD37",zhcy:"ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"},yu={}.hasOwnProperty;function yf(e){return!!yu.call(yp,e)&&yp[e]}function yd(e,t,n,r){let i,o=e.length,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)(i=r.slice(s,s+1e4)).unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function ym(e,t){return e.length>0?(yd(e,e.length,0,t),e):t}const yg={}.hasOwnProperty;function yh(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(yg.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){yg.call(i,r)||(i[r]=[]);let e=o[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);yd(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}function yy(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}function yE(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const yT=yL(/[A-Za-z]/),yb=yL(/[\dA-Za-z]/),yS=yL(/[#-'*+\--9=?A-Z^-~]/);function yx(e){return null!==e&&(e<32||127===e)}const yP=yL(/\d/),yv=yL(/[\dA-Fa-f]/),yk=yL(/[!-/:-@[-`{-~]/);function y_(e){return null!==e&&e<-2}function yA(e){return null!==e&&(e<0||32===e)}function yY(e){return -2===e||-1===e||32===e}const yC=yL(/\p{P}|\p{S}/u),yw=yL(/\s/);function yL(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function yI(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return function(r){return yY(r)?(e.enter(n),function r(s){return yY(s)&&o++<i?(e.consume(s),r):(e.exit(n),t(s))}(r)):t(r)}}const yO={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),yI(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return y_(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},yD={tokenize:function(e){let t,n,r,i=this,o=[],s=0;return a;function a(t){if(s<o.length){let n=o[s];return i.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(s++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}h(s);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return yd(i.events,o+1,0,i.events.slice(r)),i.events.length=a,c(e)}return a(e)}function c(n){if(s===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return m(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(yV,p,u)(n)}function p(e){return t&&y(),h(s),f(e)}function u(e){return i.parser.lazy[i.now().line]=s!==o.length,r=i.now().offset,m(e)}function f(t){return i.containerState={},e.attempt(yV,d,m)(t)}function d(e){return s++,o.push([i.currentConstruct,i.containerState]),f(e)}function m(r){if(null===r){t&&y(),h(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){g(e.exit("chunkFlow"),!0),h(0),e.consume(n);return}return y_(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function g(e,o){let a=i.sliceStream(e);if(o&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let a=i.events.length,l=a;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(h(s),o=a;o<i.events.length;)i.events[o][1].end={...n},o++;yd(i.events,l+1,0,i.events.slice(a)),i.events.length=o}}function h(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},yV={tokenize:function(e,t,n){return yI(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function yB(e){return null===e||yA(e)||yw(e)?1:yC(e)?2:void 0}function yN(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const yj={name:"attention",resolveAll:function(e,t){let n,r,i,o,s,a,l,c,p=-1;for(;++p<e.length;)if("enter"===e[p][0]&&"attentionSequence"===e[p][1].type&&e[p][1]._close){for(n=p;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[p][1]).charCodeAt(0)){if((e[n][1]._close||e[p][1]._open)&&(e[p][1].end.offset-e[p][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[p][1].end.offset-e[p][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[p][1].end.offset-e[p][1].start.offset>1?2:1;let u={...e[n][1].end},f={...e[p][1].start};yM(u,-a),yM(f,a),o={type:a>1?"strongSequence":"emphasisSequence",start:u,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[p][1].start},end:f},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[p][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[p][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=ym(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=ym(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=ym(l,yN(t.parser.constructs.insideSpan.null,e.slice(n+1,p),t)),l=ym(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[p][1].end.offset-e[p][1].start.offset?(c=2,l=ym(l,[["enter",e[p][1],t],["exit",e[p][1],t]])):c=0,yd(e,n-1,p-n+3,l),p=n+l.length-c-2;break}}for(p=-1;++p<e.length;)"attentionSequence"===e[p][1].type&&(e[p][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=yB(i);return function(s){return n=s,e.enter("attentionSequence"),function s(a){if(a===n)return e.consume(a),s;let l=e.exit("attentionSequence"),c=yB(a),p=!c||2===c&&o||r.includes(a),u=!o||2===o&&c||r.includes(i);return l._open=!!(42===n?p:p&&(o||!u)),l._close=!!(42===n?u:u&&(c||!p)),t(a)}(s)}}};function yM(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const yR={partial:!0,tokenize:function(e,t,n){return function(t){return yY(t)?yI(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||y_(e)?t(e):n(e)}}},yF={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return yY(t)?yI(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(yF,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return yY(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},yU={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return yk(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},yq={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=yb,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=yv,c):(e.enter("characterReferenceValue"),r=7,i=yP,c(t))}function c(a){if(59===a&&s){let r=e.exit("characterReferenceValue");return i!==yb||yf(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<r?(e.consume(a),c):n(a)}}},yW={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},yG={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),yY(t)?yI(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),yY(i)?yI(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||y_(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,a=0;return function(t){var o=t;let c=i.events[i.events.length-1];return s=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),yY(i)?yI(e,l,"whitespace")(i):l(i))}(o)};function l(o){return null===o||y_(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(yW,p,m)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||y_(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):yY(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),yI(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function c(t){return null===t||y_(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||y_(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function p(t){return e.attempt(o,m,u)(t)}function u(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return s>0&&yY(t)?yI(e,d,"linePrefix",s+1)(t):d(t)}function d(t){return null===t||y_(t)?e.check(yW,p,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||y_(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},yH={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),yI(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):y_(n)?e.attempt(y$,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||y_(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},y$={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):y_(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):yI(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):y_(e)?i(e):n(e)}}};class yK{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&yz(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),yz(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),yz(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);yz(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);yz(this.left,t.reverse())}}}function yz(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function yJ(e){let t,n,r,i,o,s,a,l={},c=-1,p=new yK(e);for(;++c<p.length;){for(;c in l;)c=l[c];if(t=p.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===p.get(c-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],s=t-1,a=[],l=i._tokenizer||o.parser[i.contentType](i.start),c=l.events,p=[],u={},f=-1,d=i,m=0,g=0,h=[0];for(;d;){for(;e.get(++s)[1]!==d;);a.push(s),!d._tokenizer&&(n=o.sliceStream(d),d.next||n.push(null),r&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<c.length;)"exit"===c[f][0]&&"enter"===c[f-1][0]&&c[f][1].type===c[f-1][1].type&&c[f][1].start.line!==c[f][1].end.line&&(g=f+1,h.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):h.pop(),f=h.length;f--;){let t=c.slice(h[f],h[f+1]),n=a.pop();p.push([n,n+t.length-1]),e.splice(n,2,t)}for(p.reverse(),f=-1;++f<p.length;)u[m+p[f][0]]=m+p[f][1],m+=p[f][1]-p[f][0]-1;return u}(p,c)),c=l[c],a=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=p.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(p.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type);else break;n&&(t[1].end={...p.get(n)[1].start},(o=p.slice(n,c)).unshift(t),p.splice(n,c-n+1,o))}}return yd(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!a}const yX={resolve:function(e){return yJ(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):y_(t)?e.check(yQ,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},yQ={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),yI(e,i,"linePrefix")};function i(i){if(null===i||y_(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}};function yZ(e,t,n,r,i,o,s,a,l){let c=l||Number.POSITIVE_INFINITY,p=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),u):null===t||32===t||41===t||yx(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(t))};function u(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),u(t)):null===t||60===t||y_(t)?n(t):(e.consume(t),92===t?d:f)}function d(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function m(i){return!p&&(null===i||41===i||yA(i))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):p<c&&40===i?(e.consume(i),p++,m):41===i?(e.consume(i),p--,m):null===i||32===i||40===i||yx(i)?n(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function y0(e,t,n,r,i,o){let s,a=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),c};function c(u){return l>999||null===u||91===u||93===u&&!s||94===u&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(u):93===u?(e.exit(o),e.enter(i),e.consume(u),e.exit(i),e.exit(r),t):y_(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),p(u))}function p(t){return null===t||91===t||93===t||y_(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!yY(t)),92===t?u:p)}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,p):p(t)}}function y1(e,t,n,r,i,o){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,a):n(t)};function a(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===s?(e.exit(o),a(s)):null===t?n(t):y_(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),yI(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||y_(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:c)}function p(t){return t===s||92===t?(e.consume(t),c):c(t)}}function y2(e,t){let n;return function r(i){return y_(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):yY(i)?yI(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const y3={partial:!0,tokenize:function(e,t,n){return function(t){return yA(t)?y2(e,r)(t):n(t)};function r(t){return y1(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return yY(t)?yI(e,o,"whitespace")(t):o(t)}function o(e){return null===e||y_(e)?t(e):n(e)}}},y4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],y6=["pre","script","style","textarea"],y5={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(yR,t,n)}}},y9={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return y_(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},y8={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&yd(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(i=s);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},p={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=ym(o=[["enter",l,t],["enter",c,t]],e.slice(r+1,r+a+3)),o=ym(o,[["enter",p,t]]),o=ym(o,yN(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=ym(o,[["exit",p,t],e[i-2],e[i-1],["exit",c,t]]),o=ym(o,e.slice(i+1)),o=ym(o,[["exit",l,t]]),yd(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i,o=this,s=o.events.length;for(;s--;)if(("labelImage"===o.events[s][1].type||"labelLink"===o.events[s][1].type)&&!o.events[s][1]._balanced){r=o.events[s][1];break}return function(t){return r?r._inactive?p(t):(i=o.parser.defined.includes(yE(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(y7,c,i?c:p)(t):91===t?e.attempt(Ee,c,i?l:p)(t):i?c(t):p(t)}function l(t){return e.attempt(Et,c,p)(t)}function c(e){return t(e)}function p(e){return r._balanced=!0,n(e)}}},y7={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return yA(t)?y2(e,i)(t):i(t)}function i(t){return 41===t?c(t):yZ(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return yA(t)?y2(e,a)(t):c(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?y1(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return yA(t)?y2(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Ee={tokenize:function(e,t,n){let r=this;return function(t){return y0.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(yE(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Et={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},En={name:"labelStartImage",resolveAll:y8.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},Er={name:"labelStartLink",resolveAll:y8.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},Ei={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),yI(e,t,"linePrefix")}}},Eo={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var s;return e.enter("thematicBreak"),r=s=o,function o(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),yY(n)?yI(e,o,"whitespace")(n):o(n))}(s)):i>=3&&(null===s||y_(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},Es={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(yR,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,yI(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!yY(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(El,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,yI(e,e.attempt(Es,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:yP(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(Eo,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return yP(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(yR,r.interrupt?n:l,e.attempt(Ea,p,c))}function l(e){return r.containerState.initialBlankLine=!0,o++,p(e)}function c(t){return yY(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),p):n(t)}function p(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},Ea={partial:!0,tokenize:function(e,t,n){let r=this;return yI(e,function(e){let i=r.events[r.events.length-1];return!yY(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},El={partial:!0,tokenize:function(e,t,n){let r=this;return yI(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},Ec={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let s={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var s;let a,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){a="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,s=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),yY(n)?yI(e,o,"lineSuffix")(n):o(n))}(s)):n(t)};function o(r){return null===r||y_(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},Ep={tokenize:function(e){let t=this,n=e.attempt(yR,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,yI(e,e.attempt(this.parser.constructs.flow,r,e.attempt(yX,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},Eu={resolveAll:Eg()},Ef=Em("string"),Ed=Em("text");function Em(e){return{resolveAll:Eg("text"===e?Eh:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,s);return o;function o(e){return l(e)?i(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function Eg(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function Eh(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],o=t.sliceStream(i),s=o.length,a=-1,l=0;for(;s--;){let e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)l++,a--;if(a)break;a=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{s++;break}}if(l){let o={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:i.start._bufferIndex+a,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}var Ey=Object.freeze({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,y0.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=yE(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return yA(t)?y2(e,a)(t):a(t)}function a(t){return yZ(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(y3,c,c)(t)}function c(t){return yY(t)?yI(e,p,"whitespace")(t):p(t)}function p(o){return null===o||y_(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},disable:{null:[]},document:{42:Es,43:Es,45:Es,48:Es,49:Es,50:Es,51:Es,52:Es,53:Es,54:Es,55:Es,56:Es,57:Es,62:yF},flow:{35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},yd(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||yA(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||y_(r)?(e.exit("atxHeading"),t(r)):yY(r)?yI(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||yA(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:Eo,45:[Ec,Eo],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,s,a,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(s){return 33===s?(e.consume(s),p):47===s?(e.consume(s),i=!0,d):63===s?(e.consume(s),r=3,l.interrupt?t:I):yT(s)?(e.consume(s),o=String.fromCharCode(s),m):n(s)}function p(i){return 45===i?(e.consume(i),r=2,u):91===i?(e.consume(i),r=5,s=0,f):yT(i)?(e.consume(i),r=4,l.interrupt?t:I):n(i)}function u(r){return 45===r?(e.consume(r),l.interrupt?t:I):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:v:f:n(r)}function d(t){return yT(t)?(e.consume(t),o=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||yA(s)){let a=47===s,c=o.toLowerCase();return!a&&!i&&y6.includes(c)?(r=1,l.interrupt?t(s):v(s)):y4.includes(o.toLowerCase())?(r=6,a)?(e.consume(s),g):l.interrupt?t(s):v(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return yY(n)?(e.consume(n),t):x(n)}(s):h(s))}return 45===s||yb(s)?(e.consume(s),o+=String.fromCharCode(s),m):n(s)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:v):n(r)}function h(t){return 47===t?(e.consume(t),x):58===t||95===t||yT(t)?(e.consume(t),y):yY(t)?(e.consume(t),h):x(t)}function y(t){return 45===t||46===t||58===t||95===t||yb(t)?(e.consume(t),y):E(t)}function E(t){return 61===t?(e.consume(t),T):yY(t)?(e.consume(t),E):h(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,b):yY(t)?(e.consume(t),T):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||yA(n)?E(n):(e.consume(n),t)}(t)}function b(t){return t===a?(e.consume(t),a=null,S):null===t||y_(t)?n(t):(e.consume(t),b)}function S(e){return 47===e||62===e||yY(e)?h(e):n(e)}function x(t){return 62===t?(e.consume(t),P):n(t)}function P(t){return null===t||y_(t)?v(t):yY(t)?(e.consume(t),P):n(t)}function v(t){return 45===t&&2===r?(e.consume(t),Y):60===t&&1===r?(e.consume(t),C):62===t&&4===r?(e.consume(t),O):63===t&&3===r?(e.consume(t),I):93===t&&5===r?(e.consume(t),L):y_(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(y5,D,k)(t)):null===t||y_(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),v)}function k(t){return e.check(y9,_,D)(t)}function _(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||y_(t)?k(t):(e.enter("htmlFlowData"),v(t))}function Y(t){return 45===t?(e.consume(t),I):v(t)}function C(t){return 47===t?(e.consume(t),o="",w):v(t)}function w(t){if(62===t){let n=o.toLowerCase();return y6.includes(n)?(e.consume(t),O):v(t)}return yT(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),w):v(t)}function L(t){return 93===t?(e.consume(t),I):v(t)}function I(t){return 62===t?(e.consume(t),O):45===t&&2===r?(e.consume(t),I):v(t)}function O(t){return null===t||y_(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),O)}function D(n){return e.exit("htmlFlow"),t(n)}}},61:Ec,95:Eo,96:yG,126:yG},flowInitial:{[-2]:yH,[-1]:yH,32:yH},insideSpan:{null:[yj,Eu]},string:{38:yq,92:yU},text:{[-5]:Ei,[-4]:Ei,[-3]:Ei,33:En,38:yq,42:yj,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return yT(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||yb(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||yb(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||yx(r)?n(r):(e.consume(r),s)}function a(t){return 64===t?(e.consume(t),l):yS(t)?(e.consume(t),a):n(t)}function l(i){return yb(i)?function i(o){return 46===o?(e.consume(o),r=0,l):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||yb(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),E):yT(t)?(e.consume(t),x):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,d):yT(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function p(t){return null===t?n(t):45===t?(e.consume(t),u):y_(t)?(o=p,w(t)):(e.consume(t),p)}function u(t){return 45===t?(e.consume(t),f):p(t)}function f(e){return 62===e?C(e):45===e?u(e):p(e)}function d(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:d):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),g):y_(t)?(o=m,w(t)):(e.consume(t),m)}function g(t){return 93===t?(e.consume(t),h):m(t)}function h(t){return 62===t?C(t):93===t?(e.consume(t),h):m(t)}function y(t){return null===t||62===t?C(t):y_(t)?(o=y,w(t)):(e.consume(t),y)}function E(t){return null===t?n(t):63===t?(e.consume(t),T):y_(t)?(o=E,w(t)):(e.consume(t),E)}function T(e){return 62===e?C(e):E(e)}function b(t){return yT(t)?(e.consume(t),S):n(t)}function S(t){return 45===t||yb(t)?(e.consume(t),S):function t(n){return y_(n)?(o=t,w(n)):yY(n)?(e.consume(n),t):C(n)}(t)}function x(t){return 45===t||yb(t)?(e.consume(t),x):47===t||62===t||yA(t)?P(t):n(t)}function P(t){return 47===t?(e.consume(t),C):58===t||95===t||yT(t)?(e.consume(t),v):y_(t)?(o=P,w(t)):yY(t)?(e.consume(t),P):C(t)}function v(t){return 45===t||46===t||58===t||95===t||yb(t)?(e.consume(t),v):function t(n){return 61===n?(e.consume(n),k):y_(n)?(o=t,w(n)):yY(n)?(e.consume(n),t):P(n)}(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,_):y_(t)?(o=k,w(t)):yY(t)?(e.consume(t),k):(e.consume(t),A)}function _(t){return t===r?(e.consume(t),r=void 0,Y):null===t?n(t):y_(t)?(o=_,w(t)):(e.consume(t),_)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||yA(t)?P(t):(e.consume(t),A)}function Y(e){return 47===e||62===e||yA(e)?P(e):n(e)}function C(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function w(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return yY(t)?yI(e,I,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),o(t)}}}],91:Er,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return y_(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},yU],93:y8,95:yj,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):96===l?(i=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(i.type="codeTextData",a(s))}(l)):y_(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),a(l))}function a(t){return null===t||32===t||96===t||y_(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),a)}}}}});const EE=/[\0\t\n\r]/g,ET=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Eb(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return yy(n.slice(t?2:1),t?16:10)}return yf(n)||e}function ES(e){return e&&"object"==typeof e?"position"in e||"type"in e?EP(e.position):"start"in e||"end"in e?EP(e):"line"in e||"column"in e?Ex(e):"":""}function Ex(e){return Ev(e&&e.line)+":"+Ev(e&&e.column)}function EP(e){return Ex(e&&e.start)+"-"+Ex(e&&e.end)}function Ev(e){return e&&"number"==typeof e?e:1}const Ek={}.hasOwnProperty;function E_(e,t,n){let r,i,o,s;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(h,i),htmlFlowData:c,htmlText:r(h,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(E,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(E),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:s(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:s(),autolinkEmail:function(e){p.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){p.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=yy(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=yf(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=EA(e.end)},codeFenced:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:p,codeIndented:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:p,data:p,definition:s(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yE(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(u),hardBreakTrailing:s(u),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:p,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:p,image:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ET,Eb),n.identifier=yE(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=EA(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),p.call(this,e))},link:s(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=yE(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(Ek.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},s={stack:[r],tokenStack:[],config:t,enter:o,exit:a,buffer:i,resume:l,data:n},c=[],p=-1;for(;++p<e.length;)("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)&&("enter"===e[p][0]?c.push(p):p=function(e,t,n){let r,i,o,s,a=t-1,l=-1,c=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||o||(o=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=a;for(i=void 0;s--;){let t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=s}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,o=void 0,s=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),p));for(p=-1;++p<e.length;){let n=t[e[p][0]];Ek.call(n,e[p][1].type)&&n[e[p][1].type].call(Object.assign({sliceSerialize:e[p][2].sliceSerialize},s),e[p][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||EY).call(s,void 0,e[0])}for(r.position={start:EA(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:EA(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)r=t.transforms[p](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:EA(t.start),end:void 0}}function s(e){return function(t){e&&e.call(this,t),a.call(this,t)}}function a(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||EY).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+ES({start:e.start,end:e.end})+"): it’s not open");n.position.end=EA(e.end)}function l(){var e;return yl(this.stack.pop(),"boolean"!=typeof ya.includeImageAlt||ya.includeImageAlt,"boolean"!=typeof ya.includeHtml||ya.includeHtml)}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:EA(e.start),end:void 0},t.push(n)),this.stack.push(n)}function p(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=EA(e.end)}function u(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function d(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function h(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function E(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!yJ(e););return e}((function(e){let t={constructs:yh([Ey,...(e||{}).extensions||[]]),content:n(yO),defined:[],document:n(yD),flow:n(Ep),lazy:{},string:n(Ef),text:n(Ed)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],s=[],a=[],l={attempt:m(function(e,t){g(e,t.from)}),check:m(d),consume:function(e){y_(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,h()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),c.events.push(["enter",n,c]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=f(),c.events.push(["exit",t,c]),t},interrupt:m(d,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,h()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,s=e[r];if("string"==typeof s)o=s;else switch(s){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(s)}n=-2===s,i.push(o)}return i.join("")}(u(e),t)},sliceStream:u,write:function(e){return(s=ym(s,e),function(){let e;for(;r._index<s.length;){let n=s[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),p=p(t)}else p=p(n)}}(),null!==s[s.length-1])?[]:(g(t,0),c.events=yN(o,c.events,c),c.events)}},p=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function u(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,s=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,s)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[o].slice(0,s))}return n}(s,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function d(e,t){t.restore()}function m(e,t){return function(n,i,o){var s;let p,u,d,m;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function g(e){return(p=e,u=0,0===e.length)?o:y(e[u])}function y(e){return function(n){return(m=function(){let e=f(),t=c.previous,n=c.currentConstruct,i=c.events.length,o=Array.from(a);return{from:i,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,a=o,h()}}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?T():e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,E,T)(n)}}function E(t){return e(d,m),i}function T(e){return(m.restore(),++u<p.length)?y(p[u]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&yd(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function h(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((i=1,o="",s=!0,function(e,t,n){let a,l,c,p,u,f=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),c=0,o="",s&&(65279===e.charCodeAt(0)&&c++,s=void 0);c<e.length;){if(EE.lastIndex=c,p=(a=EE.exec(e))&&void 0!==a.index?a.index:e.length,u=e.charCodeAt(p),!a){o=e.slice(c);break}if(10===u&&c===p&&r)f.push(-3),r=void 0;else switch(r&&(f.push(-5),r=void 0),c<p&&(f.push(e.slice(c,p)),i+=p-c),u){case 0:f.push(65533),i++;break;case 9:for(l=4*Math.ceil(i/4),f.push(-2);i++<l;)f.push(-1);break;case 10:f.push(-4),i=1;break;default:r=!0,i=1}c=p+1}return n&&(r&&f.push(-5),o&&f.push(o),f.push(null)),f})(e,t,!0))))}function EA(e){return{line:e.line,column:e.column,offset:e.offset}}function EY(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+ES({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ES({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+ES({start:t.start,end:t.end})+") is still open")}var EC={},Ew={exports:{}},EL={exports:{}};function EI(){if(nX)return nJ;nX=1;var e,t,n,r,i,o,s,a,l={}.toString;function c(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return e=function(){if(nF)return nR;nF=1;var e,t,n={}.toString;function r(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return e=r(function(e,t){return e.apply(null,t)}),t=r(function(e,t,n){return e(n,t)}),nR={curry:function(e){return r(e)},flip:t,fix:function(e){var t;return t=function(t){return function(){return e(t(t)).apply(null,arguments)}},function(){return e(t(t)).apply(null,arguments)}},apply:e,over:r(function(e,t,n,r){return e(t(n),t(r))}),memoize:function(e){var t;return t={},function(){var r,i,o,s,a;for(i=0,r=[],o=arguments.length;i<o;++i)r.push(arguments[i]);return t[s=(function(){var e,t,i=[];for(e=0,t=r.length;e<t;++e)i.push((a=r[e])+n.call(a).slice(8,-1));return i})().join("")]=s in t?t[s]:e.apply(null,r)}}}}(),t=function(){if(nq)return nU;nq=1;var e,t,n,r,i,o,s,a,l,c,p,u,f,d,m,g,h,y,E,T,b,S,x,P,v,k,_,A,Y,C,w,L,I,O,D,V,B,N,j,M,R,F,U,q,W,G,H,$,K,z,J={}.toString;function X(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}function Q(e,t){for(var n=-1,r=t.length>>>0;++n<r;)if(e===t[n])return!0;return!1}function Z(e){return!e}return e=X(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)e(t[n]);return t}),t=X(function(e,t){var n,r,i=[];for(n=0,r=t.length;n<r;++n)i.push(e(t[n]));return i}),n=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)e(i=t[n])&&o.push(i);return o}),r=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)e(i=t[n])||o.push(i);return o}),i=X(function(e,t){var n,r;return n=H(e,t),r=t.slice(),null!=n&&r.splice(n,1),r}),o=X(function(e,t){var n,r,i,o,s;for(i=0,n=[],r=[],o=t.length;i<o;++i)(e(s=t[i])?n:r).push(s);return[n,r]}),s=X(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(e(i=t[n]))return i}),a=l=function(e){return e[0]},c=X(function(e,t){var n,r,i,o,s,a=[];for(r=0,n=[],i=t.length;r<i;++r)Q(s=e(o=t[r]),n)||(n.push(s),a.push(o));return a}),p=u=X(function(e,t,n){var r,i;for(r=0,i=n.length;r<i;++r)t=e(t,n[r]);return t}),f=d=X(function(e,t){return p(e,t[0],t.slice(1))}),m=X(function(e,t,n){var r;for(r=n.length-1;r>=0;--r)t=e(n[r],t);return t}),g=X(function(e,t){return m(e,t[t.length-1],t.slice(0,-1))}),h=X(function(e,t){var n,r,i;for(n=[],r=t;null!=(i=e(r));)n.push(i[0]),r=i[1];return n}),y=X(function(e,t){return[].concat.apply([],function(){var n,r,i=[];for(n=0,r=t.length;n<r;++n)i.push(e(t[n]));return i}())}),E=function(e){var t;return[].concat.apply([],function(){var n,r,i=[];for(n=0,r=e.length;n<r;++n)t=e[n],"Array"===J.call(t).slice(8,-1)?i.push(E(t)):i.push(t);return i}())},T=X(function(e,t){var n,r,i,o;for(r=0,n={},i=t.length;r<i;++r)(o=e(t[r]))in n?n[o]+=1:n[o]=1;return n}),b=X(function(e,t){var n,r,i,o,s;for(r=0,n={},i=t.length;r<i;++r)(s=e(o=t[r]))in n?n[s].push(o):n[s]=[o];return n}),S=X(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(e(t[n]))return!0;return!1}),x=X(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(!e(t[n]))return!1;return!0}),P=X(function(e,t){return t.concat().sort(e)}),v=X(function(e,t){return t.concat().sort(function(t,n){return e(t)>e(n)?1:e(t)<e(n)?-1:0})}),k=_=function(e){var t,n,r;for(n=0,t=0,r=e.length;n<r;++n)t+=e[n];return t/e.length},A=X(function(e,t){var n,r,i,o,s;for(r=0,n=t[0],o=(i=t.slice(1)).length;r<o;++r)e(s=i[r])>e(n)&&(n=s);return n}),Y=X(function(e,t){var n,r,i,o,s;for(r=0,n=t[0],o=(i=t.slice(1)).length;r<o;++r)e(s=i[r])<e(n)&&(n=s);return n}),C=w=X(function(e,t,n){var r,i;return r=t,[t].concat(function(){var t,o,s=[];for(t=0,o=n.length;t<o;++t)i=n[t],s.push(r=e(r,i));return s}())}),L=I=X(function(e,t){if(t.length)return C(e,t[0],t.slice(1))}),O=X(function(e,t,n){return C(e,t,n=n.concat().reverse()).reverse()}),D=X(function(e,t){if(t.length)return C(e,(t=t.concat().reverse())[0],t.slice(1)).reverse()}),V=X(function(e,t,n){return n.slice(e,t)}),B=X(function(e,t){return e<=0?t.slice(0,0):t.slice(0,e)}),N=X(function(e,t){return e<=0?t:t.slice(e)}),j=X(function(e,t){return[B(e,t),N(e,t)]}),M=X(function(e,t){var n,r;if(!(n=t.length))return t;for(r=0;r<n&&e(t[r]);)r+=1;return t.slice(0,r)}),R=X(function(e,t){var n,r;if(!(n=t.length))return t;for(r=0;r<n&&e(t[r]);)r+=1;return t.slice(r)}),F=X(function(e,t){return[M(e,t),R(e,t)]}),U=X(function(e,t){return F(function(){var e=arguments;return function(){var t,n;for(t=1,n=e[0].apply(this,arguments);t<e.length;++t)n=e[t](n);return n}}(e,Z),t)}),q=X(function(e,t){var n,r,i,o,s,a;for(i=0,n=[],r=t.length,o=e.length;i<o&&(s=i,a=e[i],s!==r);++i)n.push([a,t[s]]);return n}),W=X(function(e,t,n){var r,i,o,s,a,l;for(o=0,r=[],i=n.length,s=t.length;o<s&&(a=o,l=t[o],a!==i);++o)r.push(e(l,n[a]));return r}),G=X(function(e,t){return e<0?t[t.length+e]:t[e]}),H=X(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,t[n]===e)return i}),$=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)i=n,t[n]===e&&o.push(i);return o}),K=X(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,e(t[n]))return i}),z=X(function(e,t){var n,r,i,o=[];for(n=0,r=t.length;n<r;++n)i=n,e(t[n])&&o.push(i);return o}),nU={each:e,map:t,filter:n,compact:function(e){var t,n,r,i=[];for(t=0,n=e.length;t<n;++t)(r=e[t])&&i.push(r);return i},reject:r,remove:i,partition:o,find:s,head:a,first:l,tail:function(e){if(e.length)return e.slice(1)},last:function(e){return e[e.length-1]},initial:function(e){if(e.length)return e.slice(0,-1)},empty:function(e){return!e.length},reverse:function(e){return e.concat().reverse()},difference:function(e){var t,n,r,i,o,s,a,l;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];n:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],l=t.length;a<l;++a)if(Q(s,t[a]))continue n;i.push(s)}return i},intersection:function(e){var t,n,r,i,o,s,a,l;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];n:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],l=t.length;a<l;++a)if(!Q(s,t[a]))continue n;i.push(s)}return i},union:function(){var e,t,n,r,i,o,s,a,l;for(t=0,e=[],n=arguments.length;t<n;++t)e.push(arguments[t]);for(t=0,r=[],i=e.length;t<i;++t)for(s=0,a=(o=e[t]).length;s<a;++s)Q(l=o[s],r)||r.push(l);return r},countBy:T,groupBy:b,fold:p,fold1:f,foldl:u,foldl1:d,foldr:m,foldr1:g,unfoldr:h,andList:function(e){var t,n;for(t=0,n=e.length;t<n;++t)if(!e[t])return!1;return!0},orList:function(e){var t,n;for(t=0,n=e.length;t<n;++t)if(e[t])return!0;return!1},any:S,all:x,unique:function(e){var t,n,r,i;for(n=0,t=[],r=e.length;n<r;++n)Q(i=e[n],t)||t.push(i);return t},uniqueBy:c,sort:function(e){return e.concat().sort(function(e,t){return e>t?1:e<t?-1:0})},sortWith:P,sortBy:v,sum:function(e){var t,n,r;for(n=0,t=0,r=e.length;n<r;++n)t+=e[n];return t},product:function(e){var t,n,r;for(n=0,t=1,r=e.length;n<r;++n)t*=e[n];return t},mean:k,average:_,concat:function(e){return[].concat.apply([],e)},concatMap:y,flatten:E,maximum:function(e){var t,n,r,i,o;for(n=0,t=e[0],i=(r=e.slice(1)).length;n<i;++n)(o=r[n])>t&&(t=o);return t},minimum:function(e){var t,n,r,i,o;for(n=0,t=e[0],i=(r=e.slice(1)).length;n<i;++n)(o=r[n])<t&&(t=o);return t},maximumBy:A,minimumBy:Y,scan:C,scan1:L,scanl:w,scanl1:I,scanr:O,scanr1:D,slice:V,take:B,drop:N,splitAt:j,takeWhile:M,dropWhile:R,span:F,breakList:U,zip:q,zipWith:W,zipAll:function(){var e,t,n,r,i,o,s,a,l,c,p=[];for(t=0,e=[],n=arguments.length;t<n;++t)e.push(arguments[t]);for(t=0,r=void 0,i=e.length;t<i;++t)r<=(s=(o=e[t]).length)||(r=s);for(t=0;t<r;++t){for(c=0,a=t,l=[],i=e.length;c<i;++c)o=e[c],l.push(o[a]);p.push(l)}return p},zipAllWith:function(e){var t,n,r,i,o,s,a,l,c=[];for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);for(n=0,i=void 0,o=t.length;n<o;++n)i<=(a=(s=t[n]).length)||(i=a);for(n=0;n<i;++n)l=n,c.push(e.apply(null,function(){var e,n,r=[];for(e=0,n=t.length;e<n;++e)r.push((s=t[e])[l]);return r}()));return c},at:G,elemIndex:H,elemIndices:$,findIndex:K,findIndices:z}}(),n=function(){var e,t,n,r,i;if(nG)return nW;function o(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return nG=1,e=o(function(e,t){var n,r,i,o={};for(n=0,r=e.length;n<r;++n)i=n,o[e[n]]=t[i];return o}),t=o(function(e,t){var n;for(n in t)e(t[n]);return t}),n=o(function(e,t){var n,r,i={};for(n in t)r=t[n],i[n]=e(r);return i}),r=o(function(e,t){var n,r,i={};for(n in t)e(r=t[n])&&(i[n]=r);return i}),i=o(function(e,t){var n,r,i={};for(n in t)e(r=t[n])||(i[n]=r);return i}),nW={values:function(e){var t,n,r=[];for(t in e)n=e[t],r.push(n);return r},keys:function(e){var t,n=[];for(t in e)n.push(t);return n},pairsToObj:function(e){var t,n,r,i={};for(t=0,n=e.length;t<n;++t)i[(r=e[t])[0]]=r[1];return i},objToPairs:function(e){var t,n,r=[];for(t in e)n=e[t],r.push([t,n]);return r},listsToObj:e,objToLists:function(e){var t,n,r,i;for(r in t=[],n=[],e)i=e[r],t.push(r),n.push(i);return[t,n]},empty:function(e){var t;for(t in e)return!1;return!0},each:t,map:n,filter:r,compact:function(e){var t,n,r={};for(t in e)(n=e[t])&&(r[t]=n);return r},reject:i,partition:o(function(e,t){var n,r,i,o;for(i in n={},r={},t)(e(o=t[i])?n:r)[i]=o;return[n,r]}),find:o(function(e,t){var n,r;for(n in t)if(e(r=t[n]))return r})}}(),r=function(){var e;if(n$)return nH;function t(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return n$=1,e=t(function(e,t){return t.split(e)}),nH={split:e,join:t(function(e,t){return t.join(e)}),lines:function(e){return e.length?e.split("\n"):[]},unlines:function(e){return e.join("\n")},words:function(e){return e.length?e.split(/[ ]+/):[]},unwords:function(e){return e.join(" ")},chars:function(e){return e.split("")},unchars:function(e){return e.join("")},reverse:function(e){return e.split("").reverse().join("")},repeat:t(function(e,t){var n,r;for(r=0,n="";r<e;++r)n+=t;return n}),capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},camelize:function(e){return e.replace(/[-_]+(.)?/g,function(e,t){return(null!=t?t:"").toUpperCase()})},dasherize:function(e){return e.replace(/([^-A-Z])([A-Z]+)/g,function(e,t,n){return t+"-"+(n.length>1?n:n.toLowerCase())}).replace(/^([A-Z]+)/,function(e,t){return t.length>1?t+"-":t.toLowerCase()})}}}(),i=function(){var e,t,n,r,i,o,s,a,l,c,p,u,f,d,m,g,h,y,E,T,b,S,x,P;if(nz)return nK;function v(e,t){var n,r=function(t){return e.length>1?function(){var i=t?t.concat():[];return n=this,i.push.apply(i,arguments)<e.length&&arguments.length?r.call(n,i):e.apply(n,i)}:e};return r()}return nz=1,e=v(function(e,t){return e>t?e:t}),t=v(function(e,t){return e<t?e:t}),n=Math.abs,r=v(function(e,t){return~~(e/t)}),i=v(function(e,t){return e%t}),o=v(function(e,t){return Math.floor(e/t)}),s=v(function(e,t){return(e%t+t)%t}),a=Math.PI,l=Math.exp,c=Math.sqrt,p=Math.log,u=v(function(e,t){return Math.pow(e,t)}),f=Math.sin,d=Math.tan,m=Math.cos,g=Math.asin,h=Math.acos,y=Math.atan,E=v(function(e,t){return Math.atan2(e,t)}),T=Math.round,b=Math.ceil,S=Math.floor,x=v(function(e,t){var n;for(e=Math.abs(e),t=Math.abs(t);0!==t;)n=e%t,e=t,t=n;return e}),P=v(function(e,t){return Math.abs(Math.floor(e/x(e,t)*t))}),nK={max:e,min:t,negate:function(e){return-e},abs:n,signum:function(e){return e<0?-1:+(e>0)},quot:r,rem:i,div:o,mod:s,recip:function(e){return 1/e},pi:a,tau:2*a,exp:l,sqrt:c,ln:p,pow:u,sin:f,tan:d,cos:m,acos:h,asin:g,atan:y,atan2:E,truncate:function(e){return~~e},round:T,ceiling:b,floor:S,isItNaN:function(e){return e!=e},even:function(e){return e%2==0},odd:function(e){return e%2!=0},gcd:x,lcm:P}}(),o=c(function(e,t){return l.call(t).slice(8,-1)===e}),s=c(function(e,t){var n,r=[];for(n=0;n<e;++n)r.push(t);return r}),r.empty=t.empty,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.breakStr=t.breakList,(a={Func:e,List:t,Obj:n,Str:r,Num:i,id:function(e){return e},isType:o,replicate:s}).each=t.each,a.map=t.map,a.filter=t.filter,a.compact=t.compact,a.reject=t.reject,a.partition=t.partition,a.find=t.find,a.head=t.head,a.first=t.first,a.tail=t.tail,a.last=t.last,a.initial=t.initial,a.empty=t.empty,a.reverse=t.reverse,a.difference=t.difference,a.intersection=t.intersection,a.union=t.union,a.countBy=t.countBy,a.groupBy=t.groupBy,a.fold=t.fold,a.foldl=t.foldl,a.fold1=t.fold1,a.foldl1=t.foldl1,a.foldr=t.foldr,a.foldr1=t.foldr1,a.unfoldr=t.unfoldr,a.andList=t.andList,a.orList=t.orList,a.any=t.any,a.all=t.all,a.unique=t.unique,a.uniqueBy=t.uniqueBy,a.sort=t.sort,a.sortWith=t.sortWith,a.sortBy=t.sortBy,a.sum=t.sum,a.product=t.product,a.mean=t.mean,a.average=t.average,a.concat=t.concat,a.concatMap=t.concatMap,a.flatten=t.flatten,a.maximum=t.maximum,a.minimum=t.minimum,a.maximumBy=t.maximumBy,a.minimumBy=t.minimumBy,a.scan=t.scan,a.scanl=t.scanl,a.scan1=t.scan1,a.scanl1=t.scanl1,a.scanr=t.scanr,a.scanr1=t.scanr1,a.slice=t.slice,a.take=t.take,a.drop=t.drop,a.splitAt=t.splitAt,a.takeWhile=t.takeWhile,a.dropWhile=t.dropWhile,a.span=t.span,a.breakList=t.breakList,a.zip=t.zip,a.zipWith=t.zipWith,a.zipAll=t.zipAll,a.zipAllWith=t.zipAllWith,a.at=t.at,a.elemIndex=t.elemIndex,a.elemIndices=t.elemIndices,a.findIndex=t.findIndex,a.findIndices=t.findIndices,a.apply=e.apply,a.curry=e.curry,a.flip=e.flip,a.fix=e.fix,a.over=e.over,a.split=r.split,a.join=r.join,a.lines=r.lines,a.unlines=r.unlines,a.words=r.words,a.unwords=r.unwords,a.chars=r.chars,a.unchars=r.unchars,a.repeat=r.repeat,a.capitalize=r.capitalize,a.camelize=r.camelize,a.dasherize=r.dasherize,a.values=n.values,a.keys=n.keys,a.pairsToObj=n.pairsToObj,a.objToPairs=n.objToPairs,a.listsToObj=n.listsToObj,a.objToLists=n.objToLists,a.max=i.max,a.min=i.min,a.negate=i.negate,a.abs=i.abs,a.signum=i.signum,a.quot=i.quot,a.rem=i.rem,a.div=i.div,a.mod=i.mod,a.recip=i.recip,a.pi=i.pi,a.tau=i.tau,a.exp=i.exp,a.sqrt=i.sqrt,a.ln=i.ln,a.pow=i.pow,a.sin=i.sin,a.tan=i.tan,a.cos=i.cos,a.acos=i.acos,a.asin=i.asin,a.atan=i.atan,a.atan2=i.atan2,a.truncate=i.truncate,a.round=i.round,a.ceiling=i.ceiling,a.floor=i.floor,a.isItNaN=i.isItNaN,a.even=i.even,a.odd=i.odd,a.gcd=i.gcd,a.lcm=i.lcm,a.VERSION="1.2.1",nJ=a}var EO=EL.exports,ED={exports:{}},EV={exports:{}},EB={exports:{}},EN=EB.exports,Ej={exports:{}},EM=Ej.exports,ER=EV.exports;function EF(){return n1||(n1=1,(function(){var e,t;nZ||(nZ=1,(function(){var e,t;function n(e){var t;if(null==(t=e[0]))throw Error("Unexpected end of input.");return t}function r(t){var r;if(r=n(t),!e.test(r))throw Error("Expected text, got '"+r+"' instead.");return t.shift()}function i(e,t){var r;if((r=n(e))!==t)throw Error("Expected '"+t+"', got '"+r+"' instead.");return e.shift()}function o(e,t){return e[0]===t?e.shift():null}function s(e){var t,s;switch(e[0]){case"[":if(i(e,"["),"]"===n(e))throw Error("Must specify type of Array - eg. [Type], got [] instead.");return t=a(e),i(e,"]"),{structure:"array",of:t};case"(":if(s=[],i(e,"("),")"===n(e))throw Error("Tuple must be of at least length 1 - eg. (Type), got () instead.");for(;s.push(a(e)),o(e,","),")"!==n(e););return i(e,")"),{structure:"tuple",of:s};case"{":return function(e){var t,s,l,c,p;for(t={},i(e,"{"),s=!1;;){if(o(e,"...")){s=!0;break}if(c=(l=function(e){var t;return t=r(e),i(e,":"),[t,a(e)]}(e))[0],p=l[1],t[c]=p,o(e,","),"}"===n(e))break}return i(e,"}"),{structure:"fields",of:t,subset:s}}(e)}}function a(t){var a,l,c,p,u,f;if("::"===n(t))throw Error("No comment before comment separator '::' found.");for(null!=(a=t[1])&&"::"===a&&(t.shift(),t.shift()),l=[],c={},"Maybe"===n(t)&&(t.shift(),l=[{type:"Undefined"},{type:"Null"}],c={Undefined:!0,Null:!0});u=(p=function(t){var o,a,l,c;if((a="*"===(o=n(t)))||e.test(o))return(l=a?i(t,"*"):r(t),c=s(t))?(c.type=l,c):{type:l};if(!(c=s(t)))throw Error("Unexpected character: "+o);return c}(t)).type,f=p.structure,c[u]||l.push(p),null==f&&(c[u]=!0),o(t,"|"););return l}t=RegExp("\\.\\.\\.|::|->|"+(e=/[\$\w]+/).source+"|\\S","g"),EB.exports=function(e){var n;if(!e.length)throw Error("No type specified.");if(function(e,t){for(var n=-1,r=t.length>>>0;++n<r;)if("->"===t[n])return!0;return!1}("->",n=e.match(t)||[]))throw Error("Function types are not supported. To validate that something is a function, you may use 'Function'.");try{return a(n)}catch(t){throw Error(t.message+" - Remaining tokens: "+JSON.stringify(n)+" - Initial input: '"+e+"'")}}}).call(EN)),e=EB.exports,n0||(n0=1,(function(){var e,t,n,r,i,o,s={}.toString;function a(e,t,r){if(!(e instanceof Object))return!1;switch(t.structure){case"fields":return function(e,t,n){var r,i,o,s,a,c,p;for(o in r={},i=0,e)r[o]=!0,i++;for(a in s=0,c=t.of){if(p=c[a],!l(e[a],p,n))return!1;r[a]&&s++}return t.subset||i===s}(e,t,r);case"array":return n(function(e){return l(e,t.of,r)},e);case"tuple":return function(e,t,n){var r,i,o,s,a;for(i=0,r=0,s=(o=t.of).length;i<s;++i){if(a=o[i],!l(e[r],a,n))return!1;r++}return e.length<=r}(e,t,r)}}function l(e,n,r){if("Array"!==s.call(n).slice(8,-1))throw Error("Types must be in an array. Input: "+e+".");return t(function(t){var n,l,c,p;if(n=t.type,l=t.structure,n)return"*"===n||((c=r.customTypes[n]||i[n])?(void 0===c.typeOf||c.typeOf===s.call(e).slice(8,-1))&&c.validate(e):n===s.call(e).slice(8,-1)&&(!l||a(e,t,r)));if(l)return(!(p=o[l])||p===s.call(e).slice(8,-1))&&a(e,t,r);throw Error("No type defined. Input: "+e+".")},n)}t=(e=EI()).any,n=e.all,i={Number:{typeOf:"Number",validate:function(e){return!r(e)}},NaN:{typeOf:"Number",validate:r=e.isItNaN},Int:{typeOf:"Number",validate:function(e){return!r(e)&&e%1==0}},Float:{typeOf:"Number",validate:function(e){return!r(e)}},Date:{typeOf:"Date",validate:function(e){return!r(e.getTime())}}},o={array:"Array",tuple:"Array"},Ej.exports=function(e,t,n){return null==n&&(n={}),null==n.customTypes&&(n.customTypes={}),l(t,e,n)}}).call(EM)),EV.exports={VERSION:"0.4.0",typeCheck:function(n,r,i){return t(e(n),r,i)},parsedTypeCheck:t=Ej.exports,parseType:e}}).call(ER)),EV.exports}var EU=ED.exports,Eq=Ew.exports,EW=function(){if(n4)return EC;n4=1;var e=(n3||(n3=1,(function(){var e,t,n,r;nQ||(nQ=1,(function(){var e,t,n;function r(e,t){if(e[0]===t)return e.shift();throw Error("Expected '"+t+"', but got '"+e[0]+"' instead in "+JSON.stringify(e)+".")}function i(e,t){if(e[0]===t)return e.shift()}function o(e,t,n){var o,s,a,l;for(o=t[0],s=t[1],n&&r(e,o),a=[],l=","+(n?s:"");e.length&&n&&e[0]!==s;)a.push(p(e,l)),i(e,",");return n&&r(e,s),a}function s(e,t){return o(e,["[","]"],t)}function a(e,t){return o(e,["(",")"],t)}function l(e,t){var n,o,s;for(t&&r(e,"{"),n={},o=","+(t?"}":"");e.length&&(!t||"}"!==e[0]);)s=c(e,":"),r(e,":"),n[s]=p(e,o),i(e,",");return t&&r(e,"}"),n}function c(e,t){var n;for(null==t&&(t=""),n="";e.length&&-1===t.indexOf(e[0]);)n+=e.shift();return n}function p(e,t){switch(e[0]){case"[":return s(e,!0);case"(":return a(e,!0);case"{":return l(e,!0);default:return c(e,t)}}function u(e){return!e}e=EI().reject,n=RegExp("(\"(?:\\\\\"|[^\"])*\")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|(["+(t=/\[\]\(\)}{:,/.source)+"])|([^\\s"+t+"](?:\\s*[^\\s"+t+"]+)*)|\\s*"),EL.exports=function(t,r,i){var o,c,f,d,m,g,h,y,E;if(null==i&&(i={}),!i.explicit&&1===t.length&&"String"===t[0].type)return r;if(c=e(u,r.split(n)),f=i,m=(d=t[0]).type,g=d.structure,h=c.concat(),f.explicit||1!==t.length||(m||!g)&&"Array"!==m&&"Object"!==m?E=p(c):(y="array"===g||"Array"===m?s(c,"["===c[0]):"tuple"===g?a(c,"("===c[0]):l(c,"{"===c[0]),E=c.length?p(("array"===g||"Array"===m?(h.unshift("["),h.push("]")):(h.unshift("("),h.push(")")),h)):y),!(o=E))throw Error("Error parsing '"+r+"'.");return o}}).call(EO)),e=EL.exports,n2||(n2=1,(function(){var e,t,n={}.toString;function r(e,t,r){var i;return"Array"!==n.call(e).slice(8,-1)?{type:"Nothing"}:(i=t.of,{type:"Just",value:function(){var t,n,o=[];for(t=0,n=e.length;t<n;++t)o.push(s(e[t],i,r));return o}()})}function i(e,t,r){var i,o,a;return"Object"!==n.call(e).slice(8,-1)?{type:"Nothing"}:(i=t.of,{type:"Just",value:function(){var t,n={};for(o in t=e)a=t[o],n[s(o,[{type:"String"}],r)]=s(a,i[o]||[{type:"*"}],r);return n}()})}function o(e,o,a){var l,c,p,u;if(l=o.type,c=o.structure,l){if(!(p=(null!=(u=a.customTypes[l])?u.cast:void 0)||t[l]))throw Error("Type not defined: "+l+".");return p(e,a,s)}switch(c){case"array":return r(e,o,a);case"tuple":return function(e,t,r){var i,o,a,l,c,p,u;if("Array"!==n.call(e).slice(8,-1))return{type:"Nothing"};for(a=0,i=[],o=0,c=(l=t.of).length;a<c;++a)p=l[a],u=s(e[o],p,r),"Undefined"!==n.call(u).slice(8,-1)&&i.push(u),o++;return e.length<=o?{type:"Just",value:i}:{type:"Nothing"}}(e,o,a);case"fields":return i(e,o,a)}}function s(t,n,r){var i,s,a,l,c,p;for(i=0,s=n.length;i<s;++i)if(c=(l=o(t,a=n[i],r)).type,p=l.value,"Nothing"!==c&&e([a],p,{customTypes:r.customTypes}))return p;throw Error("Value "+JSON.stringify(t)+" does not type check against "+JSON.stringify(n)+".")}e=EF().parsedTypeCheck,t={"*":function(e,t){switch(n.call(e).slice(8,-1)){case"Array":return o(e,{type:"Array"},t);case"Object":return o(e,{type:"Object"},t);default:return{type:"Just",value:s(e,[{type:"Undefined"},{type:"Null"},{type:"NaN"},{type:"Boolean"},{type:"Number"},{type:"Date"},{type:"RegExp"},{type:"Array"},{type:"Object"},{type:"String"}],(t.explicit=!0,t))}}},Undefined:function(e){return"undefined"===e||void 0===e?{type:"Just",value:void 0}:{type:"Nothing"}},Null:function(e){return"null"===e?{type:"Just",value:null}:{type:"Nothing"}},NaN:function(e){return"NaN"===e?{type:"Just",value:NaN}:{type:"Nothing"}},Boolean:function(e){return"true"===e?{type:"Just",value:!0}:"false"===e?{type:"Just",value:!1}:{type:"Nothing"}},Number:function(e){return{type:"Just",value:+e}},Int:function(e){return{type:"Just",value:+e}},Float:function(e){return{type:"Just",value:+e}},Date:function(e,t){var n;return(n=/^\#([\s\S]*)\#$/.exec(e))?{type:"Just",value:new Date(+n[1]||n[1])}:t.explicit?{type:"Nothing"}:{type:"Just",value:new Date(+e||e)}},RegExp:function(e,t){var n;return(n=/^\/([\s\S]*)\/([gimy]*)$/.exec(e))?{type:"Just",value:new RegExp(n[1],n[2])}:t.explicit?{type:"Nothing"}:{type:"Just",value:new RegExp(e)}},Array:function(e,t){return r(e,{of:[{type:"*"}]},t)},Object:function(e,t){return i(e,{of:{}},t)},String:function(e){var t,r;return"String"!==n.call(e).slice(8,-1)?{type:"Nothing"}:(t=function(e,t){return e.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(e,n){switch(n[0]){case t:return t;case"\\":return"\\";case"b":return"\b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return" ";case"u":return JSON.parse('"'+e+'"');default:return n}})},r=e.match(/^'([\s\S]*)'$/))?{type:"Just",value:t(r[1],"'")}:(r=e.match(/^"([\s\S]*)"$/))?{type:"Just",value:t(r[1],'"')}:{type:"Just",value:e}}},ED.exports=function(e,t,n){return n.explicit||1!==t.length||"String"!==t[0].type?s(e,t,n):e}}).call(EU)),t=ED.exports,n=EF().parseType,Ew.exports={VERSION:"0.4.1",parse:function(e,t,i){return r(n(e),t,i)},parsedTypeParse:r=function(n,r,i){return null==i&&(i={}),null==i.explicit&&(i.explicit=!1),null==i.customTypes&&(i.customTypes={}),t(e(n,r,i),n,i)}}}).call(Eq)),Ew.exports);let t=/^([a-z]+(?:-[a-z]+)*)(?:\s|$)/u,n=new Set([0,1,2,"off","warn","error"]);function r(e){let t=Array.isArray(e)?e[0]:e;return n.has(t)}class i{label="";value="";justification="";constructor(e,t,n){this.label=e,this.value=t,this.justification=n}}return EC.CallMethodStep=class{type="call";kind=2;target;args;constructor({target:e,args:t}){this.target=e,this.args=t}},EC.ConfigCommentParser=class{parseStringConfig(e){let t={};return e.trim().replace(/(?<!\s)\s*([:,])\s*/gu,"$1").split(/\s|,+/u).forEach(e=>{if(!e)return;let[n,r=null]=e.split(":");t[n]=r}),t}parseJSONLikeConfig(t){try{let n=e.parse("Object",t)||{};if(Object.values(n).every(r))return{ok:!0,config:n}}catch{}let n=t.replace(/([-a-zA-Z0-9/]+):/gu,'"$1":').replace(/(\]|[0-9])\s+(?=")/u,"$1,");try{let e=JSON.parse(`{${n}}`);return{ok:!0,config:e}}catch(t){let e=t instanceof Error?t.message:String(t);return{ok:!1,error:{message:`Failed to parse JSON from '${n}': ${e}`}}}}parseListConfig(e){let t={};return e.split(",").forEach(e=>{let n=e.trim().replace(/^(?<quote>['"]?)(?<ruleId>.*)\k<quote>$/su,"$<ruleId>");n&&(t[n]=!0)}),t}#P(e){let t=/\s-{2,}\s/u.exec(e);return t?{directivePart:e.slice(0,t.index).trim(),justificationPart:e.slice(t.index+t[0].length).trim()}:{directivePart:e.trim(),justificationPart:""}}parseDirective(e){let{directivePart:n,justificationPart:r}=this.#P(e),o=t.exec(n);if(!o)return;let s=o[1],a=n.slice(o.index+s.length);return new i(s,a.trim(),r)}},EC.Directive=class{type;node;value;justification;constructor({type:e,node:t,value:n,justification:r}){this.type=e,this.node=t,this.value=n,this.justification=r}},EC.TextSourceCodeBase=class{#v;ast;text;constructor({text:e,ast:t,lineEndingPattern:n=/\r?\n/u}){this.ast=t,this.text=e,this.#v=e.split(n)}getLoc(e){if("loc"in e)return e.loc;if("position"in e)return e.position;throw Error("Custom getLoc() method must be implemented in the subclass.")}getRange(e){if("range"in e)return e.range;if("position"in e)return[e.position.start.offset,e.position.end.offset];throw Error("Custom getRange() method must be implemented in the subclass.")}getParent(e){throw Error("Not implemented.")}getAncestors(e){if(!e)throw TypeError("Missing required argument: node.");let t=[];for(let n=this.getParent(e);n;n=this.getParent(n))t.push(n);return t.reverse()}getText(e,t,n){if(e){let r=this.getRange(e);return this.text.slice(Math.max(r[0]-(t||0),0),r[1]+(n||0))}return this.text}get lines(){return this.#v}traverse(){throw Error("Not implemented.")}},EC.VisitNodeStep=class{type="visit";kind=1;target;phase;args;constructor({target:e,phase:t,args:n}){this.target=e,this.phase=t,this.args=n}},EC}();function EG(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}const EH=function(e){var t,n;if(null==e)return EK;if("function"==typeof e)return E$(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=EH(e[n]);return E$(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,E$(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,E$(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function E$(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function EK(){return!0}const Ez=[];function EJ(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function EX(e){this.config.enter.autolinkProtocol.call(this,e)}function EQ(e){this.config.exit.autolinkProtocol.call(this,e)}function EZ(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function E0(e){this.config.exit.autolinkEmail.call(this,e)}function E1(e){this.exit(e)}function E2(e){!function(e,t,n){let r=EH((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),o=-1;for(;++o<i.length;)!function(e,t,n,r){let i=EH(t);(function e(t,r,o){let s=t&&"object"==typeof t?t:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(a,"name",{value:"node (\x1b[33m"+t.type+(e?"<"+e+">":"")+"\x1b[39m)"})}return a;function a(){var s;let a,l,c,p=Ez;if(i(t,r,o[o.length-1]||void 0)&&!1===(p=Array.isArray(s=n(t,o))?s:"number"==typeof s?[!0,s]:null==s?Ez:[s])[0])return p;if("children"in t&&t.children&&t.children&&"skip"!==p[0])for(l=0,c=o.concat(t);l>-1&&l<t.children.length;){if(!1===(a=e(t.children[l],l,c)())[0])return a;l="number"==typeof a[1]?a[1]:l+1}return p}})(e,void 0,[])()}(e,"text",s);function s(e,t){let n,s=-1;for(;++s<t.length;){let e=t[s],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=i[o][0],s=i[o][1],a=0,l=n.children.indexOf(e),c=!1,p=[];r.lastIndex=0;let u=r.exec(e.value);for(;u;){let n=u.index,i={index:u.index,input:u.input,stack:[...t,e]},o=s(...u,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&p.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?p.push(...o):o&&p.push(o),a=n+u[0].length,c=!0),!r.global)break;u=r.exec(e.value)}return c?(a<e.value.length&&p.push({type:"text",value:e.value.slice(a)}),n.children.splice(l,1,...p)):p=[e],l+p.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,E3],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,E4]],{ignore:["link","linkReference"]})}function E3(e,t,n,r,i){let o="";if(!E6(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),i=EG(e,"("),o=EG(e,")");for(;-1!==r&&i>o;)e+=n.slice(0,r+1),r=(n=n.slice(r+1)).indexOf(")"),o++;return[e,n]}(n+r);if(!s[0])return!1;let a={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[a,{type:"text",value:s[1]}]:a}function E4(e,t,n,r){return!(!E6(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E6(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||yw(n)||yC(n))&&(!t||47!==n)}function E5(){this.buffer()}function E9(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function E8(){this.buffer()}function E7(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Te(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=yE(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Tt(e){this.exit(e)}function Tn(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=yE(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Tr(e){this.exit(e)}function Ti(e){this.enter({type:"delete",children:[]},e)}function To(e){this.exit(e)}function Ts(e){let t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function Ta(e){this.exit(e),this.data.inTable=void 0}function Tl(e){this.enter({type:"tableRow",children:[]},e)}function Tc(e){this.exit(e)}function Tp(e){this.enter({type:"tableCell",children:[]},e)}function Tu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Tf));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Tf(e,t){return"|"===t?t:e}function Td(e){let t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Tm(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,o=-1;for(;++o<i.length;){let e=i[o];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}const Tg={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),i):n(o)};function i(e){return null===e?n(e):t(e)}},partial:!0},Th={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(TE,l,a)(t):null===t||yA(t)||yw(t)||45!==t&&yC(t)?l(t):(o=!0,e.consume(t),s)}function a(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function l(e){return i||r||!o?n(e):t(e)}},partial:!0},Ty={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r<n?o(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?e.check(TE,t,o)(s):null===s||yA(s)||yw(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},TE={tokenize:function(e,t,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),r):38===s?(e.consume(s),o):93===s?(e.consume(s),i):60===s||null===s||yA(s)||yw(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||yA(e)||yw(e)?t(e):r(e)}function o(t){return yT(t)?function t(i){return 59===i?(e.consume(i),r):yT(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},TT={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return yb(e)?n(e):t(e)}},partial:!0},Tb={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!Tk.call(r,r.previous)||TC(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Tg,e.attempt(Th,e.attempt(Ty,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Tk},TS={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",o=!1;return function(t){return(72===t||104===t)&&T_.call(r,r.previous)&&!TC(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if(yT(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),a}return n(t)}function a(t){return 47===t?(e.consume(t),o)?l:(o=!0,a):n(t)}function l(t){return null===t||yx(t)||yA(t)||yw(t)||yC(t)?n(t):e.attempt(Th,e.attempt(Ty,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:T_},Tx={name:"emailAutolink",tokenize:function(e,t,n){let r,i,o=this;return function(t){return!TY(t)||!TA.call(o,o.previous)||TC(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return TY(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(TT,l,a)(t):45===t||95===t||yb(t)?(i=!0,e.consume(t),s):l(t)}function a(t){return e.consume(t),r=!0,s}function l(s){return i&&r&&yT(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:TA},TP={};let Tv=48;for(;Tv<123;)TP[Tv]=Tx,58==++Tv?Tv=65:91===Tv&&(Tv=97);function Tk(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||yA(e)}function T_(e){return!yT(e)}function TA(e){return!(47===e||TY(e))}function TY(e){return 43===e||45===e||46===e||95===e||yb(e)}function TC(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}TP[43]=Tx,TP[45]=Tx,TP[46]=Tx,TP[95]=Tx,TP[72]=[Tx,TS],TP[104]=[Tx,TS],TP[87]=[Tx,Tb],TP[119]=[Tx,Tb];const Tw={tokenize:function(e,t,n){let r=this;return yI(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function TL(e,t,n){let r,i=this,o=i.events.length,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;o--;){let e=i.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return n(o);let a=yE(i.sliceSerialize({start:r.end,end:i.now()}));return 94===a.codePointAt(0)&&s.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function TI(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",s,t],["exit",s,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function TO(e,t,n){let r,i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(a){if(s>999||93===a&&!r||null===a||91===a||yA(a))return n(a);if(93===a){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes(yE(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return yA(a)||(r=!0),s++,e.consume(a),92===a?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),s++,l):l(t)}}function TD(e,t,n){let r,i,o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(a>999||93===t&&!i||null===t||91===t||yA(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=yE(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),u}return yA(t)||(i=!0),a++,e.consume(t),92===t?p:c}function p(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}function u(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),yI(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function TV(e,t,n){return e.check(yR,t,e.attempt(Tw,t,n))}function TB(e){e.exit("gfmFootnoteDefinition")}class TN{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function Tj(e,t,n){let r,i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?E:a;return o===E&&i.parser.lazy[i.now().line]?n(e):o(e)};function a(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,s+=1),l(n)}function l(t){return null===t?n(t):y_(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):n(t):yY(t)?yI(e,l,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),c(t))}function c(t){return null===t||124===t||yA(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?p:c)}function p(t){return 92===t||124===t?(e.consume(t),c):c(t)}function u(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,yY(t))?yI(e,f,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):n(t)}function d(t){return yY(t)?yI(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||y_(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),h):(e.exit("tableDelimiterFiller"),h(n))}(t)):n(t)}function h(t){return yY(t)?yI(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return f(i);if(null===i||y_(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function E(t){return e.enter("tableRow"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||y_(n)?(e.exit("tableRow"),t(n)):yY(n)?yI(e,T,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||yA(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?S:b)}function S(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function TM(e,t){let n,r,i,o=-1,s=!0,a=0,l=[0,0,0,0],c=[0,0,0,0],p=!1,u=0,f=new TN;for(;++o<e.length;){let d=e[o],m=d[1];"enter"===d[0]?"tableHead"===m.type?(p=!1,0!==u&&(TF(f,t,u,n,r),r=void 0,u=0),n={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(o,0,[["enter",n,t]])):"tableRow"===m.type||"tableDelimiterRow"===m.type?(s=!0,i=void 0,l=[0,0,0,0],c=[0,o+1,0,0],p&&(p=!1,r={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(o,0,[["enter",r,t]])),a="tableDelimiterRow"===m.type?2:r?3:1):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)?(s=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=TR(f,t,l,a,void 0,i),l=[0,0,0,0]),c[2]=o)):"tableCellDivider"===m.type&&(s?s=!1:(0!==l[1]&&(c[0]=c[1],i=TR(f,t,l,a,void 0,i)),c=[(l=c)[1],o,0,0])):"tableHead"===m.type?(p=!0,u=o):"tableRow"===m.type||"tableDelimiterRow"===m.type?(u=o,0!==l[1]?(c[0]=c[1],i=TR(f,t,l,a,o,i)):0!==c[1]&&(i=TR(f,t,c,a,o,i)),a=0):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=o)}for(0!==u&&TF(f,t,u,n,r),f.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,o))}return e}function TR(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},TU(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let s=TU(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let i=TU(t.events,n[2]),o=TU(t.events,n[3]),s={type:"tableContent",start:Object.assign({},i),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",s,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",s,t]])}return void 0!==i&&(o.end=Object.assign({},TU(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function TF(e,t,n,r,i){let o=[],s=TU(t.events,n);i&&(i.end=Object.assign({},s),o.push(["exit",i,t])),r.end=Object.assign({},s),o.push(["exit",r,t]),e.add(n+1,0,o)}function TU(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Tq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return yA(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return y_(r)?t(r):yY(r)?e.check({tokenize:TW},t,n)(r):n(r)}}};function TW(e,t,n){return yI(e,function(e){return null===e?n(e):t(e)},"whitespace")}const TG=new Set(["eol-last","unicode-bom"]),TH=new Map,T$=/^[>\s]*/u;function TK(e){return e.position.start.offset-e.position.start.column+1}function Tz(e,t){return T$.exec(e.slice(TK(t)))[0]}const TJ=/filename=(?<quote>["'])(?<filename>.*?)\1/u,TX={javascript:"js",ecmascript:"js",typescript:"ts",markdown:"md"};function TQ(e,t){return{range:t.range.map(t=>{let n=1;for(;n<e.rangeMap.length&&e.rangeMap[n].js<=t;)n++;return t+e.rangeMap[n-1].md}),text:t.text.replace(/\n/gu,`
15
15
  ${e.baseIndentText}`)}}function TZ(e){return e&&!TG.has(e.ruleId)}const T0=/\]\[\s+\]$/u;function T1(e,t){let n=0,r=0;for(let i=0;i<t;i++)"\n"===e[i]?(n++,r=0):r++;return{lineOffset:n,columnOffset:r}}const T2=new EW.ConfigCommentParser,T3=/<!--\s*(eslint(?:-enable|-disable(?:(?:-next)?-line)?))(?:\s|-->)/u,T4=/<!--(.*?)-->/gsu;class T6{value;position;constructor({value:e,position:t}){this.value=e.trim(),this.position=t}}function T5(e){let t;if(!T3.test(e.value))return[];let n=[];for(;t=T4.exec(e.value);)if(T3.test(t[0])){let r=t[0],i={...e.position.start},o={...e.position.start},{lineOffset:s,columnOffset:a}=T1(e.value,t.index);i.line+=s,i.column+=a,i.offset+=t.index;let l=r.split("\n").length-1;o.line=i.line+l,o.column=0===l?i.column+r.length:r.length-r.lastIndexOf("\n"),o.offset=i.offset+r.length,n.push(new T6({value:t[1].trim(),position:{start:i,end:o}}))}return n}class T9 extends EW.TextSourceCodeBase{#k;#_=new WeakMap;#A=[];#Y;ast=void 0;constructor({text:e,ast:t}){super({ast:t,text:e}),this.ast=t,this.traverse()}getParent(e){return this.#_.get(e)}getInlineConfigNodes(){return this.#Y||(this.#Y=this.#A.flatMap(T5)),this.#Y}getDisableDirectives(){let e=[],t=[];return this.getInlineConfigNodes().forEach(n=>{let{label:r,value:i,justification:o}=T2.parseDirective(n.value);if("eslint-disable-line"===r&&n.position.start.line!==n.position.end.line){let t=`${r} comment should not span multiple lines.`;e.push({ruleId:null,message:t,loc:n.position});return}switch(r){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{let e=r.slice(7);t.push(new EW.Directive({type:e,node:n,value:i,justification:o}))}}}),{problems:e,directives:t}}traverse(){if(this.#k)return this.#k.values();let e=this.#k=[],t=(n,r)=>{this.#_.set(n,r),e.push(new EW.VisitNodeStep({target:n,phase:1,args:[n,r]})),"html"===n.type&&this.#A.push(n),n.children&&n.children.forEach(e=>{t(e,n)}),e.push(new EW.VisitNodeStep({target:n,phase:2,args:[n,r]}))};return t(this.ast),e.values()}}class T8{fileType="text";lineStart=1;columnStart=1;nodeTypeKey="type";#C="commonmark";constructor({mode:e}={}){e&&(this.#C=e)}validateLanguageOptions(e){}parse(e){let t=e.body;try{let e="gfm"===this.#C?{extensions:[yh([{text:TP},{document:{91:{name:"gfmFootnoteDefinition",tokenize:TD,continuation:{tokenize:TV},exit:TB}},text:{91:{name:"gfmFootnoteCall",tokenize:TO},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:TL,resolveTo:TI}}},function(e){let t,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,o=this.events,s=0;return function(a){return 126===i&&"characterEscape"!==o[o.length-1][1].type?r(a):(e.enter("strikethroughSequenceTemporary"),function o(a){let l=yB(i);if(126===a)return s>1?r(a):(e.consume(a),s++,o);if(s<2&&!t)return r(a);let c=e.exit("strikethroughSequenceTemporary"),p=yB(a);return c._open=!p||2===p&&!!l,c._close=!l||2===l&&!!p,n(a)}(a))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],a=t.parser.constructs.insideSpan.null;a&&yd(s,s.length,0,yN(a,e.slice(r+1,n),t)),yd(s,s.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),yd(e,r-1,n-r+3,s),n=r+s.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(),{flow:{null:{name:"table",tokenize:Tj,resolveAll:TM}}},{text:{91:Tq}}])],mdastExtensions:[[{transforms:[E2],enter:{literalAutolink:EJ,literalAutolinkEmail:EX,literalAutolinkHttp:EX,literalAutolinkWww:EX},exit:{literalAutolink:E1,literalAutolinkEmail:E0,literalAutolinkHttp:EQ,literalAutolinkWww:EZ}},{enter:{gfmFootnoteCallString:E5,gfmFootnoteCall:E9,gfmFootnoteDefinitionLabelString:E8,gfmFootnoteDefinition:E7},exit:{gfmFootnoteCallString:Te,gfmFootnoteCall:Tt,gfmFootnoteDefinitionLabelString:Tn,gfmFootnoteDefinition:Tr}},{canContainEols:["delete"],enter:{strikethrough:Ti},exit:{strikethrough:To}},{enter:{table:Ts,tableData:Tp,tableHeader:Tp,tableRow:Tl},exit:{codeText:Tu,table:Ta,tableData:Tc,tableHeader:Tc,tableRow:Tc}},{exit:{taskListCheckValueChecked:Td,taskListCheckValueUnchecked:Td,paragraph:Tm}}]]}:{extensions:[]},n=E_(t,e);return{ok:!0,ast:n}}catch(e){return{ok:!1,errors:[e]}}}createSourceCode(e,t){return new T9({text:e.body,ast:t.ast})}}var T7={meta:{type:"problem",docs:{recommended:!0,description:"Require languages for fenced code blocks"},messages:{missingLanguage:"Missing code block language.",disallowedLanguage:'Code block language "{{lang}}" is not allowed.'},schema:[{type:"object",properties:{required:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]},create(e){let t=new Set(e.options[0]?.required),{sourceCode:n}=e;return{code(r){if(!r.lang){if("`"!==n.text[r.position.start.offset])return;e.report({loc:r.position,messageId:"missingLanguage"});return}t.size&&!t.has(r.lang)&&e.report({loc:r.position,messageId:"disallowedLanguage",data:{lang:r.lang}})}}}};const be=/<([a-z0-9]+(?:-[a-z0-9]+)*)/giu;var bt={meta:{type:"problem",docs:{description:"Disallow HTML tags"},messages:{disallowedElement:'HTML element "{{name}}" is not allowed.'},schema:[{type:"object",properties:{allowed:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]},create(e){let t=new Set(e.options[0]?.allowed);return{html(n){let r;for(;null!==(r=be.exec(n.value));){let i=r[1],{lineOffset:o,columnOffset:s}=T1(n.value,r.index),a={line:n.position.start.line+o,column:n.position.start.column+s},l={line:a.line,column:a.column+r[0].length+1};0!==t.size&&t.has(i)||e.report({loc:{start:a,end:l},messageId:"disallowedElement",data:{name:i}})}}}}};const bn=/\]\[([^\]]+)\]/u,br={"eol-last":"off","no-undef":"off","no-unused-expressions":"off","no-unused-vars":"off","padded-blocks":"off",strict:"off","unicode-bom":"off"},bi={meta:{name:"@eslint/markdown",version:"6.3.0"},processors:{markdown:{meta:{name:"@eslint/markdown/markdown",version:"6.3.0"},preprocess:function(e,t){let n=e.startsWith("\uFEFF")?e.slice(1):e,r=E_(n),i=[];TH.set(t,i);let o=[];return!function e(t,n){if(n[t.type]?n[t.type](t):n["*"](),void 0!==t.children)for(let r=0;r<t.children.length;r++)e(t.children[r],n)}(r,{"*"(){o=[]},code(e){if(e.lang){let t=[];for(let e of o){if("eslint-skip"===e.trim()){o=[];return}t.push(`/*${e}*/`)}o=[],i.push({...e,baseIndentText:Tz(n,e),comments:t,rangeMap:function(e,t,n){let r=TK(t),i=e.slice(r,t.position.end.offset).split("\n"),o=Tz(e,t).length,s=n.reduce((e,t)=>e+t.length+1,0),a=[{indent:o,js:0,md:0}],l=s,c=r+i[0].length+1;for(let e=0;e+1<i.length;e++){let t=i[e+1],n=Math.min(o,T$.exec(t)[0].length);a.push({indent:n,js:l,md:c+n-l}),c+=t.length+1,l+=t.length-n+1}return a}(n,e,t)})}},html(e){let t=function(e){let t="\x3c!--";if(e.slice(0,t.length)!==t||"--\x3e"!==e.slice(-3))return"";let n=e.slice(t.length,-3);return/^(eslint\b|global\s)/u.test(n.trim())?n:""}(e.value);t?o.push(t):o=[]}}),i.map((e,t)=>{let[n]=e.lang.trim().split(" "),r=Object.hasOwn(TX,n)?TX[n]:n;return{filename:e.meta?.match(TJ)?.groups.filename.replaceAll(/\s+/gu,"_")??`${t}.${r}`,text:[...e.comments,e.value,""].join("\n")}})},postprocess:function(e,t){let n=TH.get(t);return TH.delete(t),e.flatMap((e,t)=>{let r=function(e){let t=e.comments.reduce((e,t)=>e+t.split("\n").length,0),n=e.position.start.line;return function(r){if(!Number.isInteger(r.line))return{...r,line:n,column:e.position.start.column};let i=r.line-t;if(i<1||i>=e.rangeMap.length)return null;let o={line:i+n,column:r.column+e.rangeMap[i].indent};Number.isInteger(r.endLine)&&(o.endLine=r.endLine-t+n),Array.isArray(r.suggestions)&&(o.suggestions=r.suggestions.map(t=>({...t,fix:TQ(e,t.fix)})));let s={};return r.fix&&(s.fix=TQ(e,r.fix)),{...r,...o,...s}}}(n[t]);return e.map(r).filter(TZ)})},supportsAutofix:!0}},languages:{commonmark:new T8({mode:"commonmark"}),gfm:new T8({mode:"gfm"})},rules:{"fenced-code-language":T7,"heading-increment":{meta:{type:"problem",docs:{recommended:!0,description:"Enforce heading levels increment by one"},messages:{skippedHeading:"Heading level skipped from {{fromLevel}} to {{toLevel}}."}},create(e){let t=0;return{heading(n){t>0&&n.depth>t+1&&e.report({loc:n.position,messageId:"skippedHeading",data:{fromLevel:t.toString(),toLevel:n.depth}}),t=n.depth}}}},"no-duplicate-headings":{meta:{type:"problem",docs:{description:"Disallow duplicate headings in the same document"},messages:{duplicateHeading:'Duplicate heading "{{text}}" found.'}},create(e){let t=new Set,{sourceCode:n}=e;return{heading(r){let i=r.position.start.line!==r.position.end.line?n.lines[r.position.start.line-1].trim():n.getText(r).slice(r.depth+1).trim();t.has(i)&&e.report({loc:r.position,messageId:"duplicateHeading",data:{text:i}}),t.add(i)}}}},"no-empty-links":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow empty links"},messages:{emptyLink:"Unexpected empty link found."}},create:e=>({link(t){t.url&&"#"!==t.url||e.report({loc:t.position,messageId:"emptyLink"})}})},"no-html":bt,"no-invalid-label-refs":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow invalid label references"},messages:{invalidLabelRef:"Label reference '{{label}}' is invalid due to white space between [ and ]."}},create(e){let{sourceCode:t}=e;return{text(n){for(let r of function(e,t){let n=[],r=0,i=e.position.start.offset,o=e.position.start.line,s=e.position.start.column;for(;r<e.value.length;){let a=e.value.slice(r).match(bn);if(!a)break;if(!T0.test(a[0])){r+=a.index+a[0].length;continue}let l=r+a.index,c=i+l,p=t.lastIndexOf("[",c);if(-1===p){r+=a.index+a[0].length;continue}let u=t.slice(p,c+a[0].length).match(/!?\[([^\]]+)\]/u)[1],{lineOffset:f,columnOffset:d}=T1(e.value,l+1),{lineOffset:m,columnOffset:g}=T1(e.value,l+a[0].length),h=o+f,y=s+d,E=o+m,T=(E===h?s:0)+g;n.push({label:u.trim(),position:{start:{line:h,column:y},end:{line:E,column:T}}}),r+=a.index+a[0].length}return n}(n,t.text))e.report({loc:r.position,messageId:"invalidLabelRef",data:{label:r.label}})}}}},"no-missing-label-refs":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow missing label references"},messages:{notFound:"Label reference '{{label}}' not found."}},create(e){let{sourceCode:t}=e,n=[];return{"root:exit"(){for(let t of n)e.report({loc:t.position,messageId:"notFound",data:{label:t.label}})},text(e){n.push(...function(e,t){let n,r=[],i=e.position.start.line,o=e.position.start.column,s=/\[(?<left>[^\]]*)\](?:\[(?<right>[^\]]*)\])?/dgu;for(;n=s.exec(t);){let e,s;if(T0.test(n[0]))continue;let{left:a,right:l}=n.groups;if(!a&&!l)continue;l?(e=l,s=n.indices.groups.right):(e=a,s=n.indices.groups.left);let{lineOffset:c,columnOffset:p}=T1(t,s[0]),{lineOffset:u,columnOffset:f}=T1(t,s[1]);r.push({label:e.trim(),position:{start:{line:i+c,column:c>0?p+1:o+p},end:{line:i+u,column:u>0?f+1:o+f}}})}return r}(e,t.getText(e)))},definition(e){n=n.filter(t=>t.label!==e.identifier)}}}}},configs:{"recommended-legacy":{plugins:["markdown"],overrides:[{files:["*.md"],processor:"markdown/markdown"},{files:["**/*.md/**"],parserOptions:{ecmaFeatures:{impliedStrict:!0}},rules:{...br}}]},recommended:[{name:"markdown/recommended",files:["**/*.md"],language:"markdown/commonmark",plugins:n={},rules:{"markdown/fenced-code-language":"error","markdown/heading-increment":"error","markdown/no-empty-links":"error","markdown/no-invalid-label-refs":"error","markdown/no-missing-label-refs":"error"}}],processor:[{name:"markdown/recommended/plugin",plugins:r={}},{name:"markdown/recommended/processor",files:["**/*.md"],processor:"markdown/markdown"},{name:"markdown/recommended/code-blocks",files:["**/*.md/**"],languageOptions:{parserOptions:{ecmaFeatures:{impliedStrict:!0}}},rules:{...br}}]}};function bo(e,t=!1){return"boolean"==typeof e?e:void 0===e?t:!!e.enable||t}function bs(e,...t){let n;if("boolean"==typeof e||void 0===e)n={};else{let{enable:t,...r}=e;n=r}return t.length?rT.defu(n,...t):n}function ba(e){n6.isPackageExists(e)&&console.error(rE.yellow(`[eslint-config-sukka] "${e}" is deprecated and you should uninstall it`))}async function bl(e,...t){let n=[];ba("@eslint-sukka/js"),ba("@eslint-sukka/json"),ba("@eslint-sukka/ts"),ba("@eslint-sukka/legacy");let r=bo(e?.ts,n6.isPackageExists("typescript"));if(n.push(rj(e?.ignores),[{name:"sukka/eslint-comments",plugins:{"@eslint-community/eslint-comments":rn,sukka:n6.memo(rr,"eslint-plugin-sukka")},rules:{"sukka/ban-eslint-disable":["error","allow-with-description"],"@eslint-community/eslint-comments/disable-enable-pair":["error",{allowWholeFile:!0}],"@eslint-community/eslint-comments/no-aggregating-enable":"error","@eslint-community/eslint-comments/no-duplicate-disable":"error","@eslint-community/eslint-comments/no-unlimited-disable":"error","@eslint-community/eslint-comments/no-unused-disable":"error","@eslint-community/eslint-comments/no-unused-enable":"error"}}]),bo(e?.js,!0)&&n.push(function(e={}){let{files:t,disableNoConsoleInCLI:n=!0,env:r={}}=e,{browser:i=!0,webextensions:o=!1,greasemonkey:s=!1,customGlobals:a={}}=r,l=e.module??n6.getPackageJson()?.type==="module",c=[{linterOptions:{reportUnusedDisableDirectives:!0}},{name:"@eslint/js recommended",...rs.configs.recommended},{name:"@eslint-sukka/js base",...t?{files:t}:{},languageOptions:{ecmaVersion:"latest",sourceType:l?"module":"commonjs",parserOptions:{ecmaVersion:"latest",sourceType:l?"module":"commonjs",ecmaFeatures:{jsx:!0}},globals:{...n6.globals.es2025,...i&&n6.globals.browser,...o&&n6.globals.webextensions,...s&&n6.globals.greasemonkey,...a}},settings:{"import-x/extensions":lM,"import-x/resolver-next":[rl.createNodeResolver({extensions:lM})]},plugins:{"unused-imports":n6.memo(ra,"eslint-plugin-unused-imports"),"@stylistic/js":n6.memo(ll,"@stylistic/eslint-plugin-js"),"@stylistic/plus":n6.memo(lv,"@stylistic/eslint-plugin-plus"),sukka:n6.memo(rr,"eslint-plugin-sukka"),"import-x":n6.memo(rl,"eslint-plugin-import-x"),autofix:rp,antfu:n6.memo(lj,"eslint_plugin_antfu")},rules:{...rl.configs.recommended.rules,"import-x/newline-after-import":["error",{considerComments:!1}],"import-x/no-absolute-path":"error","import-x/no-empty-named-blocks":"error","import-x/no-mutable-exports":"error","import-x/no-useless-path-segments":"warn","import-x/no-webpack-loader-syntax":"error","import-x/no-relative-packages":"warn","accessor-pairs":"off","array-callback-return":["error",{allowImplicit:!0}],"arrow-body-style":["error","as-needed",{requireReturnForObjectLiteral:!1}],"block-scoped-var":"error","class-methods-use-this":["error",{exceptMethods:[]}],curly:["error","multi-line"],"default-case":["error",{commentPattern:"^no default$"}],"default-case-last":"error","default-param-last":"error","dot-notation":["error",{allowKeywords:!0}],"@stylistic/js/dot-location":["error","property"],eqeqeq:["error","always",{null:"ignore"}],"grouped-accessor-pairs":"error","guard-for-in":"error","no-alert":"warn","no-caller":"off","autofix/no-caller":"error","no-constructor-return":"error","no-else-return":["error",{allowElseIf:!1}],"no-empty-pattern":"error","no-empty-static-block":"error","no-eval":"error","no-extend-native":"error","no-extra-bind":"error","no-extra-label":"error","no-implicit-coercion":["off",{boolean:!1,number:!0,string:!0,allow:[]}],"no-implicit-globals":"off","no-implied-eval":"error","no-invalid-this":"off","no-labels":["error",{allowLoop:!1,allowSwitch:!1}],"no-lone-blocks":"error","no-loop-func":"error","@stylistic/js/no-multi-spaces":["error",{ignoreEOLComments:!1}],"no-multi-str":"error","no-new":"error","no-new-func":"error","no-new-wrappers":"error","no-octal-escape":"error","no-proto":"off","autofix/no-proto":"error","no-restricted-properties":["error",...[["isFinite","Number.isFinite"],["isNaN","Number.isNaN"]].flatMap(([e,t])=>["global","globalThis","window","self"].map(n=>({object:n,property:e,message:`Please use ${t} instead`}))),{object:"arguments",property:"callee",message:"arguments.callee is deprecated"},{property:"__defineGetter__",message:"Please use Object.defineProperty instead."},{property:"__defineSetter__",message:"Please use Object.defineProperty instead."},{object:"Math",property:"pow",message:"Use the exponentiation operator (**) instead."}],"no-return-assign":["error","always"],"no-return-await":"off","sukka/no-return-await":"error","no-self-compare":"off","no-sequences":"error","no-unmodified-loop-condition":"off","no-unused-expressions":["error",{allowShortCircuit:!1,allowTernary:!1,allowTaggedTemplates:!1}],"no-useless-call":"off","no-useless-catch":"off","autofix/no-useless-catch":"error","no-useless-concat":"off","autofix/no-useless-concat":"error","no-useless-escape":"error","no-useless-return":"error","no-void":["error",{allowAsStatement:!0}],"no-with":"error","prefer-promise-reject-errors":["error",{allowEmptyReject:!0}],"prefer-object-has-own":"error","prefer-regex-literals":["error",{disallowRedundantWrapping:!0}],radix:"off","autofix/radix":"error","require-await":"error","require-yield":"error","require-unicode-regexp":"off","vars-on-top":"error","@stylistic/js/wrap-iife":["error","outside",{functionPrototypeMethods:!1}],yoda:"error","no-await-in-loop":"warn","no-console":"warn","no-constant-condition":"warn","no-empty-function":"error","no-empty":["error",{allowEmptyCatch:!0}],"no-constant-binary-expression":"error","@stylistic/js/no-extra-parens":["off","all",{conditionalAssign:!0,nestedBinaryExpressions:!1,returnAssign:!1,ignoreJSX:"all",enforceForArrowConditionals:!1}],"no-loss-of-precision":"warn","no-promise-executor-return":"error","no-template-curly-in-string":"error","no-unreachable-loop":["error",{ignore:[]}],"no-unused-vars":["error",{vars:"all",varsIgnorePattern:"^_",args:"after-used",argsIgnorePattern:"^_",ignoreRestSiblings:!0}],"unused-imports/no-unused-vars":"off","unused-imports/no-unused-imports":"off","no-unused-private-class-members":"error","no-useless-backreference":"error","no-negated-in-lhs":"off","require-atomic-updates":"off","use-isnan":["error",{enforceForIndexOf:!0}],"valid-typeof":"off","autofix/valid-typeof":["error",{requireStringLiterals:!0}],"no-new-native-nonconstructor":"off","autofix/no-new-native-nonconstructor":"error","@stylistic/js/arrow-spacing":["error",{before:!0,after:!0}],"@stylistic/js/generator-star-spacing":["error",{before:!0,after:!1}],"@stylistic/js/no-confusing-arrow":["error",{allowParens:!0}],"no-duplicate-imports":"off","no-restricted-exports":["error",{restrictedNamedExports:["then"]}],"no-useless-constructor":"error","no-useless-rename":["error",{ignoreDestructuring:!1,ignoreImport:!1,ignoreExport:!1}],"no-var":"warn","object-shorthand":["error","always",{ignoreConstructors:!1,avoidQuotes:!0,avoidExplicitReturnArrows:!0}],"prefer-arrow-callback":["error",{allowNamedFunctions:!0,allowUnboundThis:!0}],"prefer-const":["error",{ignoreReadBeforeAssign:!0}],"prefer-numeric-literals":"error","prefer-rest-params":"error","prefer-template":"off","symbol-description":"error","@stylistic/js/template-curly-spacing":["error","never"],"@stylistic/js/yield-star-spacing":["error","before"],"@stylistic/js/array-bracket-newline":["off","consistent"],"@stylistic/js/array-bracket-spacing":["error","never"],"@stylistic/js/array-element-newline":["off",{multiline:!0,minItems:5}],"@stylistic/js/block-spacing":["error","always"],"@stylistic/js/brace-style":["error","1tbs",{allowSingleLine:!0}],camelcase:["warn",{properties:"never",ignoreDestructuring:!1,ignoreImports:!0,ignoreGlobals:!0,allow:["^UNSAFE_","^experimental_","^__DEV__"]}],"@stylistic/js/comma-dangle":["error","never"],"@stylistic/js/comma-spacing":["error",{before:!1,after:!0}],"@stylistic/js/comma-style":["error","last",{exceptions:{ArrayExpression:!1,ArrayPattern:!1,ArrowFunctionExpression:!1,CallExpression:!1,FunctionDeclaration:!1,FunctionExpression:!1,ImportDeclaration:!1,ObjectExpression:!1,ObjectPattern:!1,VariableDeclaration:!1,NewExpression:!1}}],"@stylistic/js/computed-property-spacing":["error","never"],"consistent-this":"off","@stylistic/js/eol-last":["error","always"],"@stylistic/js/func-call-spacing":["error","never"],"@stylistic/js/function-call-argument-newline":["off","consistent"],"@stylistic/js/function-paren-newline":["error","consistent"],"@stylistic/js/function-call-spacing":["error","never"],"@stylistic/js/implicit-arrow-linebreak":["error","beside"],"@stylistic/js/indent":["error",2,{SwitchCase:1}],"@stylistic/plus/indent-binary-ops":["error",2],"@stylistic/js/key-spacing":["error",{beforeColon:!1,afterColon:!0}],"@stylistic/js/keyword-spacing":["error",{before:!0,after:!0,overrides:{return:{after:!0},throw:{after:!0},case:{after:!0}}}],"@stylistic/js/linebreak-style":"error","@stylistic/js/lines-around-comment":"off","@stylistic/js/lines-around-directive":"off","@stylistic/js/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"@stylistic/js/multiline-ternary":["error","always-multiline"],"new-cap":["error",{newIsCap:!0,newIsCapExceptions:[],capIsNew:!1,capIsNewExceptions:["Immutable.Map","Immutable.Set","Immutable.List"]}],"@stylistic/js/newline-per-chained-call":["error",{ignoreChainWithDepth:6}],"@stylistic/js/new-parens":"error","no-bitwise":"off","no-lonely-if":"error","sukka/unicorn/no-lonely-if":"error","@stylistic/js/no-mixed-operators":["error",{groups:[["**","+"],["**","-"],["**","*"],["**","/"],["%","+"],["%","-"],["%","*"],["%","/"],["%","**"],["==","!=","===","!==",">",">=","<","<="],["&&","||"],["in","instanceof"]],allowSamePrecedence:!0}],"@stylistic/js/no-mixed-spaces-and-tabs":"error","no-multi-assign":"error","@stylistic/js/no-multiple-empty-lines":["error",{max:1,maxBOF:0,maxEOF:0}],"no-negated-condition":"off","sukka/unicorn/no-negated-condition":"warn","no-nested-ternary":"off","sukka/unicorn/no-nested-ternary":"warn","no-new-object":"off","no-object-constructor":"error","no-array-constructor":"error","@stylistic/js/no-spaced-func":"off","@stylistic/js/no-tabs":"error","no-ternary":"off","@stylistic/js/no-trailing-spaces":"error","no-unneeded-ternary":"error","@stylistic/js/no-whitespace-before-property":"error","@stylistic/js/nonblock-statement-body-position":"error","@stylistic/js/object-curly-newline":"off","@stylistic/js/object-curly-spacing":["error","always"],"@stylistic/js/object-property-newline":"off","@stylistic/js/one-var-declaration-per-line":"off","prefer-exponentiation-operator":"error","@stylistic/js/operator-linebreak":["error","before"],"@stylistic/js/padded-blocks":["error","never"],"@stylistic/js/padding-line-between-statements":["error",{blankLine:"always",prev:"directive",next:"*"},{blankLine:"always",prev:"*",next:["class","with"]},{blankLine:"always",prev:["class","with"],next:"*"}],"@stylistic/js/quotes":["error","single"],"@stylistic/js/quote-props":["error","as-needed",{keywords:!1,unnecessary:!0,numbers:!1}],"@stylistic/js/jsx-quotes":["error","prefer-double"],"@stylistic/js/rest-spread-spacing":["error","never"],"@stylistic/js/semi":["error","always"],"@stylistic/js/semi-spacing":["error",{before:!1,after:!0}],"@stylistic/js/semi-style":["error","last"],"@stylistic/js/space-before-blocks":"error","@stylistic/js/space-before-function-paren":["error",{anonymous:"always",named:"never",asyncArrow:"always"}],"@stylistic/js/space-in-parens":["error","never"],"@stylistic/js/space-infix-ops":"error","@stylistic/js/space-unary-ops":["error",{words:!0,nonwords:!1,overrides:{}}],"@stylistic/js/spaced-comment":["error","always",{line:{exceptions:["-","+"],markers:["=","!","/"]},block:{exceptions:["-","+"],markers:["=","!",":","::"],balanced:!0}}],"@stylistic/js/switch-colon-spacing":["error",{after:!0,before:!1}],"@stylistic/js/template-tag-spacing":["error","never"],"unicode-bom":["error","never"],"@stylistic/js/wrap-regex":"off","no-label-var":"error","no-use-before-define":["error",{functions:!1,classes:!0,variables:!0}],"no-restricted-globals":["error",{name:"isFinite",message:"Use Number.isFinite instead https://github.com/airbnb/javascript#standard-library--isfinite"},{name:"isNaN",message:"Use Number.isNaN instead https://github.com/airbnb/javascript#standard-library--isnan"}],"no-undef-init":"error","sukka/no-expression-empty-lines":"error","sukka/prefer-single-boolean-return":"error","sukka/no-all-duplicated-branches":"error","sukka/no-duplicated-branches":"error","sukka/bool-param-default":"error","sukka/call-argument-line":"error","sukka/class-prototype":"warn","sukka/comma-or-logical-or-case":"error","sukka/track-todo-fixme-comment":"warn","sukka/no-element-overwrite":"warn","sukka/no-empty-collection":"warn","sukka/no-equals-in-for-termination":"error","sukka/no-top-level-this":"error","sukka/no-invariant-returns":"error","sukka/no-redundant-assignments":"warn","sukka/no-same-line-conditional":"error","sukka/no-small-switch":"error","sukka/array/no-unneeded-flat-map":"error","sukka/browser/prefer-location-assign":"warn","sukka/jsx/no-template-literal":"error","sukka/jsx/no-unneeded-nested":"error","sukka/string/no-locale-case":"warn","sukka/string/no-simple-template-literal":"error","sukka/type/no-instanceof-wrapper":"error","sukka/unicode/no-bidi":"warn","sukka/unicode/no-invisible":"warn","sukka/no-redundant-variable":"error","sukka/no-single-return":"error","sukka/prefer-early-return":["error",{maximumStatements:16}],"sukka/prefer-fetch":"error","sukka/prefer-timer-id":"warn","sukka/no-useless-plusplus":"error","sukka/no-chain-array-higher-order-functions":"error","sukka/unicorn/catch-error-name":["error",{ignore:[/^(?:e|err|error|\w+Err|\w+Error)[\d_]?$/]}],"sukka/unicorn/custom-error-definition":"error","sukka/unicorn/require-array-join-separator":"warn","sukka/unicorn/no-thenable":"error","sukka/unicorn/no-invalid-remove-event-listener":"error","sukka/unicorn/consistent-function-scoping":"warn","sukka/unicorn/prefer-event-target":"warn","sukka/unicorn/prefer-keyboard-event-key":"warn","sukka/unicorn/prefer-text-content":"warn","sukka/unicorn/no-console-spaces":"warn","sukka/unicorn/no-empty-file":"warn","sukka/unicorn/no-useless-fallback-in-spread":"warn","sukka/unicorn/no-useless-length-check":"warn","sukka/unicorn/no-useless-promise-resolve-reject":"warn","sukka/unicorn/no-zero-fractions":"warn","sukka/unicorn/prefer-export-from":["warn",{ignoreUsedVariables:!0}],"sukka/unicorn/prefer-native-coercion-functions":"warn","sukka/unicorn/prefer-negative-index":"warn","sukka/unicorn/no-document-cookie":"error","sukka/unicorn/prefer-add-event-listener":"warn","sukka/unicorn/prefer-array-index-of":"warn","sukka/unicorn/prefer-blob-reading-methods":"warn","sukka/unicorn/prefer-date-now":"warn","sukka/unicorn/prefer-dom-node-dataset":"warn","sukka/unicorn/prefer-modern-math-apis":"warn","sukka/unicorn/number-literal-case":"error","sukka/unicorn/prefer-number-properties":["warn",{checkInfinity:!1}],"sukka/unicorn/prefer-reflect-apply":"warn","sukka/unicorn/prefer-set-size":"warn","sukka/unicorn/prefer-string-replace-all":"warn","sukka/unicorn/prefer-string-slice":"warn","sukka/unicorn/prefer-string-trim-start-end":"warn","sukka/unicorn/no-unreadable-iife":"warn","sukka/unicorn/throw-new-error":"warn","sukka/unicorn/escape-case":"warn","sukka/unicorn/no-hex-escape":"warn","sukka/unicorn/prefer-prototype-methods":"warn","sukka/unicorn/error-message":"error","sukka/unicorn/no-instanceof-builtins":"error","sukka/unicorn/prefer-type-error":"error","sukka/unicorn/consistent-destructuring":"warn","sukka/unicorn/new-for-builtins":"warn","sukka/unicorn/no-array-push-push":"warn","sukka/unicorn/no-static-only-class":"warn","sukka/unicorn/no-unreadable-array-destructuring":"error","sukka/unicorn/no-useless-spread":"error","sukka/unicorn/no-useless-switch-case":"warn","sukka/unicorn/no-useless-undefined":["error",{checkArguments:!1}],"sukka/unicorn/numeric-separators-style":["warn",{onlyIfContainsSeparator:!1,number:{minimumDigits:7,groupLength:3},binary:{minimumDigits:9,groupLength:4},octal:{minimumDigits:9,groupLength:4},hexadecimal:{minimumDigits:5,groupLength:2}}],"sukka/unicorn/prefer-array-find":"warn","sukka/unicorn/prefer-array-flat-map":"warn","sukka/unicorn/prefer-array-flat":"warn","sukka/unicorn/prefer-array-some":"warn","sukka/unicorn/prefer-code-point":"warn","sukka/unicorn/prefer-default-parameters":"warn","sukka/unicorn/prefer-logical-operator-over-ternary":"warn","sukka/unicorn/prefer-optional-catch-binding":"error","sukka/unicorn/prefer-regexp-test":"warn","sukka/unicorn/prefer-set-has":"error","sukka/unicorn/prefer-switch":"warn","sukka/unicorn/require-number-to-fixed-digits-argument":"warn","sukka/unicorn/prefer-string-raw":"warn","sukka/unicorn/no-single-promise-in-promise-methods":"error","sukka/unicorn/no-await-in-promise-methods":"error","sukka/unicorn/no-magic-array-flat-depth":"error","sukka/unicorn/no-object-as-default-parameter":"error","sukka/unicorn/template-indent":["warn",{tags:["outdent","dedent","gql","sql","html","styled","css"],functions:["dedent","stripIndent","strip_indent","stripTags","striptags","strip_tags","stripHtml","stripHTML","strip_html"],selectors:[],comments:["HTML","html","CSS","css","indent"]}],"sukka/unicorn/no-negation-in-equality-check":"error","sukka/unicorn/no-length-as-slice-end":"error","sukka/unicorn/consistent-date-clone":"error","sukka/unicorn/no-accessor-recursion":"error","no-restricted-imports":["error",{paths:n6.RESTRICTED_IMPORT_JS}],"no-prototype-builtins":"off","autofix/no-prototype-builtins":"error","antfu/import-dedupe":"error","antfu/consistent-chaining":"error","antfu/no-top-level-await":"error","antfu/top-level-function":"warn"}},rc.configs.recommended];if(!1!==n){let e="boolean"==typeof n?null:Array.isArray(n)?n:[n];c.push({name:"@eslint-sukka/js cli specific",files:e??[`**/scripts/${n6.constants.GLOB_SRC}`,`**/cli/${n6.constants.GLOB_SRC}`,`**/cli.${n6.constants.GLOB_SRC_EXT}`],rules:{"no-console":"off"}})}return c}(bs(e?.js)),function({typescript:e}){return[{name:"sukka/promise",plugins:{promise:ri},rules:{"promise/always-return":e?"off":["error",{ignoreLastCallback:!0}],"promise/no-return-wrap":"error","promise/param-names":"error","promise/catch-or-return":["error",{allowFinally:!0,terminationMethod:["catch","asCallback","finally"]}],"promise/no-native":"off","promise/no-nesting":"warn","promise/no-promise-in-callback":"warn","promise/no-callback-in-promise":"warn","promise/avoid-new":"off","promise/no-new-statics":"error","promise/no-return-in-finally":"warn","promise/valid-params":"warn","promise/prefer-catch":"error"}}]}({typescript:r}),[{name:"sukka/regexp",plugins:{sukka:n6.memo(rr,"eslint-plugin-sukka"),regexp:n6.memo(rk,"eslint-plugin-regexp")},rules:{"sukka/unicorn/better-regex":"warn",...ro.configs["flat/recommended"].rules,"regexp/strict":"off"}}]),bo(e?.markdown,!0)&&n.push(function(){let e=bi.configs.recommended;return Array.isArray(e)?e:[e]}()),bo(e?.yaml,n6.isDirectDependency("yaml")||n6.isDirectDependency("js-yaml"))&&n.push((await ys("@eslint-sukka/yaml")).yaml()),bo(e?.json,!0)&&n.push([...ru.configs["flat/base"],{name:"@eslint-sukka/json json",files:[n6.constants.GLOB_JSON],rules:{...ru.configs["flat/recommended-with-json"].reduce((e,t)=>({...e,...t.rules}),{}),...lF}},{name:"@eslint-sukka/json json5",...lR,files:[n6.constants.GLOB_JSON5],rules:{...ru.configs["flat/recommended-with-json5"].reduce((e,t)=>({...e,...t.rules}),{}),...lF}},{name:"@eslint-sukka/json jsonc",...lR,files:[n6.constants.GLOB_JSONC],rules:{...ru.configs["flat/recommended-with-jsonc"].reduce((e,t)=>({...e,...t.rules}),{}),...lF}},{name:"@eslint-sukka/json package.json",...lR,files:["**/package.json"],rules:{"jsonc/sort-array-values":["error",{order:{type:"asc"},pathPattern:"^files$"}],"jsonc/sort-keys":["error",{order:["$schema","publisher","name","displayName","version","private","description","funding","homepage","repository","bugs","categories","type","main","module","types","typesVersions","bin","files","exports","icon","unpkg","jsdelivr","sideEffects","activationEvents","contributes","scripts","keywords","author","license","dependencies","devDependencies","peerDependencies","peerDependenciesMeta","optionalDependencies","packageManager","engines","pnpm","overrides","resolutions","husky","simple-git-hooks","lint-staged","eslintConfig"],pathPattern:"^$"},{order:{type:"asc"},pathPattern:"^(?:dev|peer|optional|bundled)?[Dd]ependencies(Meta)?$"},{order:["types","import","module","require","default"],pathPattern:"^exports.*$"}]}},{name:"@eslint-sukka/json tsconfig.json",...lR,files:["**/tsconfig.json","**/tsconfig.*.json","**/tsconfig-*.json","**/jsconfig.json","**/jsconfig.*.json","**/jsconfig-*.json"],rules:{"jsonc/sort-keys":["error",{order:["$schema","extends","compilerOptions","references","files","include","exclude"],pathPattern:"^$"},{order:["incremental","composite","tsBuildInfoFile","disableSourceOfProjectReferenceRedirect","disableSolutionSearching","disableReferencedProjectLoad","target","lib","jsx","experimentalDecorators","emitDecoratorMetadata","jsxFactory","jsxFragmentFactory","jsxImportSource","reactNamespace","noLib","useDefineForClassFields","moduleDetection","module","rootDir","moduleResolution","baseUrl","paths","rootDirs","typeRoots","types","allowUmdGlobalAccess","moduleSuffixes","allowImportingTsExtensions","resolvePackageJsonExports","resolvePackageJsonImports","customConditions","resolveJsonModule","allowArbitraryExtensions","noResolve","allowJs","checkJs","maxNodeModuleJsDepth","declaration","declarationMap","emitDeclarationOnly","sourceMap","inlineSourceMap","outFile","outDir","removeComments","noEmit","importHelpers","importsNotUsedAsValues","downlevelIteration","sourceRoot","mapRoot","inlineSources","emitBOM","newLine","stripInternal","noEmitHelpers","noEmitOnError","preserveConstEnums","declarationDir","preserveValueImports","isolatedModules","verbatimModuleSyntax","allowSyntheticDefaultImports","esModuleInterop","preserveSymlinks","forceConsistentCasingInFileNames","strict","strictBindCallApply","strictFunctionTypes","strictNullChecks","strictPropertyInitialization","allowUnreachableCode","allowUnusedLabels","alwaysStrict","exactOptionalPropertyTypes","noFallthroughCasesInSwitch","noImplicitAny","noImplicitOverride","noImplicitReturns","noImplicitThis","noPropertyAccessFromIndexSignature","noUncheckedIndexedAccess","noUnusedLocals","noUnusedParameters","useUnknownInCatchVariables","skipDefaultLibCheck","skipLibCheck"],pathPattern:"^compilerOptions$"}]}}]),r){let t=e?.isInEditor??(!(process.env.CI||rb.isCI||process.env.GIT_PARAMS||process.env.VSCODE_GIT_COMMAND||process.env.npm_lifecycle_script?.startsWith("lint-staged"))&&!!(process.env.VSCODE_PID||process.env.VSCODE_CWD||process.env.JETBRAINS_IDE||process.env.VIM||process.env.NVIM));n.push(function(e={}){let{allowJs:t=!1,tsconfigPath:n=!0,tsconfigRootDir:r=n8.cwd(),componentExtentions:i=[],isInEditor:o=!1,allowDefaultProject:s=["next.config.ts","rollup.config.ts","webpack.config.ts"]}=e,a="string"==typeof __dirname?re.pathToFileURL(__dirname).href:"undefined"==typeof document?require("url").pathToFileURL(__filename).href:rS&&"SCRIPT"===rS.tagName.toUpperCase()&&rS.src||new URL("index.cjs",document.baseURI).href,l=re.fileURLToPath(n6.importMetaResolve("@typescript-eslint/parser",a));return[{name:"@eslint-sukka/ts base",files:[n6.constants.GLOB_TS,n6.constants.GLOB_TSX,...i.map(e=>`**/*.${e}`),...t?[n6.constants.GLOB_JS]:[]],plugins:{...rd.configs.base.plugins,"@stylistic/ts":n6.memo(yr,"@stylistic/eslint-plugin-ts"),"@stylistic/plus":n6.memo(lv,"@stylistic/eslint-plugin-plus"),"import-x":n6.memo(rl,"eslint-plugin-import-x"),paths:rh},languageOptions:{parser:rd.configs.base.languageOptions.parser,sourceType:"module",parserOptions:{sourceType:"module",ecmaVersion:"latest",...!0===n?{projectService:{allowDefaultProject:s,loadTypeScriptPlugins:o}}:{project:n},tsconfigRootDir:r,ecmaFeatures:{jsx:!0},jsxPragma:void 0,warnOnUnsupportedTypeScriptVersion:!0}},settings:{"import-x/extensions":yo,"import-x/external-module-folders":["node_modules","node_modules/@types"],"import-x/resolver-next":[ry.createTypeScriptImportResolver()],"import-x/parsers":{[l]:yi}},rules:{...rd.configs.base.rules,...rd.configs.recommendedTypeChecked.reduce((e,t)=>({...e,...t.rules}),{}),...rd.configs.stylisticTypeChecked.reduce((e,t)=>({...e,...t.rules}),{}),...rl.configs.typescript.rules,...lU,"@typescript-eslint/ban-ts-comment":["error",{"ts-expect-error":"allow-with-description","ts-ignore":!0,"ts-nocheck":!0,"ts-check":!1,minimumDescriptionLength:10}],"@typescript-eslint/naming-convention":["warn",{selector:"variable",format:["camelCase","PascalCase","UPPER_CASE","snake_case"],leadingUnderscore:"allowSingleOrDouble",trailingUnderscore:"allowSingleOrDouble"},{selector:"function",format:["camelCase","PascalCase"],leadingUnderscore:"allowSingleOrDouble",trailingUnderscore:"allowSingleOrDouble"},{selector:"typeLike",format:["PascalCase"],leadingUnderscore:"allowSingleOrDouble",trailingUnderscore:"allowSingleOrDouble"}],"@typescript-eslint/consistent-type-assertions":["error",{assertionStyle:"as",objectLiteralTypeAssertions:"allow"}],"@typescript-eslint/require-await":"error","@typescript-eslint/await-thenable":"error","@typescript-eslint/no-for-in-array":"error","@typescript-eslint/no-misused-promises":["error",{checksVoidReturn:!1}],"@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/restrict-template-expressions":["error",{allowNumber:!0,allowAny:!0,allowBoolean:!0,allowNever:!0}],"@typescript-eslint/unbound-method":"error","@typescript-eslint/consistent-type-imports":["warn",{prefer:"type-imports",disallowTypeAnnotations:!1,fixStyle:"separate-type-imports"}],"@typescript-eslint/no-import-type-side-effects":"warn","@typescript-eslint/consistent-type-exports":["warn",{fixMixedExportsWithInlineTypeSpecifier:!0}],"@typescript-eslint/consistent-type-definitions":"warn","@typescript-eslint/consistent-generic-constructors":["error","constructor"],"@typescript-eslint/no-base-to-string":["error",{ignoredTypeNames:["Error","RegExp","URL","URLSearchParams"]}],"@typescript-eslint/no-confusing-non-null-assertion":"error","@typescript-eslint/no-dynamic-delete":"warn","@typescript-eslint/no-extraneous-class":["warn",{allowConstructorOnly:!0,allowEmpty:!0,allowWithDecorator:!0}],"@typescript-eslint/no-invalid-void-type":["off",{allowInGenericTypeArguments:!0,allowAsThisParameter:!0}],"@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":["warn",{allowConstantLoopConditions:!0}],"@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-literal-enum-member":["error",{allowBitwiseExpressions:!0}],"@typescript-eslint/prefer-nullish-coalescing":"off","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/unified-signatures":["error",{ignoreDifferentlyNamedParameters:!0}],"@typescript-eslint/prefer-for-of":"off","@typescript-eslint/prefer-function-type":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/prefer-enum-initializers":"warn","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-meaningless-void-operator":"warn","@typescript-eslint/no-unnecessary-qualifier":"warn","@typescript-eslint/array-type":["warn",{default:"array-simple"}],"@typescript-eslint/no-restricted-imports":["error",{paths:n6.RESTRICTED_IMPORT_TS}],"@typescript-eslint/no-empty-object-type":["error",{allowInterfaces:"with-single-extends",allowObjectTypes:"never",allowWithName:"Props$"}],"@typescript-eslint/no-unsafe-function-type":"warn","@typescript-eslint/no-restricted-types":["error",{types:{FC:{message:"To declare a component, you don't have to use FC to annotate it. To type something that accepts/is a React Component, use ComponentType<T>.",fixWith:"ComponentType"},"React.FC":{message:"To declare a component, you don't have to use React.FC to annotate it. To type something that accepts/is a React Component, use React.ComponentType<T>.",fixWith:"React.ComponentType"},ReactElement:{message:"In most cases, you want ReactNode. Only ignore this rule when you want to use cloneElement.",fixWith:"ReactNode"},"React.ReactElement":{message:"In most cases, you want React.ReactNode. Only ignore this rule when you want to use cloneElement.",fixWith:"React.ReactNode"}}}],"@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-explicit-any":"warn","@typescript-eslint/no-loop-func":"warn","@typescript-eslint/no-redundant-type-constituents":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-unsafe-call":"off","@typescript-eslint/no-unsafe-member-access":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/no-unsafe-enum-comparison":"warn","@typescript-eslint/prefer-regexp-exec":"warn","@typescript-eslint/no-deprecated":"warn","@typescript-eslint/no-unnecessary-template-expression":"warn","@typescript-eslint/class-methods-use-this":["error",{exceptMethods:[],ignoreClassesThatImplementAnInterface:"public-fields"}],"no-restricted-syntax":["error",{message:'Unnecessary "as const"',selector:"VariableDeclarator > TSAsExpression[expression.properties.length=0] > TSTypeReference > Identifier[name=const]"},{message:'Unnecessary "as const"',selector:"VariableDeclarator[id.typeAnnotation] > TSAsExpression > TSTypeReference > Identifier[name=const]"},{message:'Static class methods requires "this: void", or change to arrow function',selector:'MethodDefinition[static=true][kind!="get"][kind!="set"] > FunctionExpression:not([params.0.name=this][params.0.typeAnnotation.typeAnnotation.type=TSVoidKeyword])'},{message:'Public "static" fields should be read-only',selector:'PropertyDefinition[readonly!=true][static=true][accessibility!="private"][accessibility!="protected"]'}],"@stylistic/ts/member-delimiter-style":["error",{multiline:{delimiter:"comma",requireLast:!1},singleline:{delimiter:"comma",requireLast:!1}}],"@stylistic/ts/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0,exceptAfterOverload:!0}],"@stylistic/ts/padding-line-between-statements":["error",{blankLine:"always",prev:"directive",next:"*"},{blankLine:"always",prev:"*",next:["class","with"]},{blankLine:"always",prev:["class","with"],next:"*"},{blankLine:"any",prev:["interface","type"],next:["interface","type"]}],"@stylistic/ts/type-annotation-spacing":["error",{before:!1,after:!0,overrides:{arrow:{before:!0,after:!0}}}],"@typescript-eslint/no-namespace":"off","@typescript-eslint/prefer-string-starts-ends-with":"off","sukka/string/prefer-string-starts-ends-with":"error","@typescript-eslint/switch-exhaustiveness-check":["error",{allowDefaultCaseForExhaustiveSwitch:!0,considerDefaultExhaustiveForUnions:!0}],"@typescript-eslint/parameter-properties":["warn",{prefer:"parameter-property"}],"sukka/string/no-unneeded-to-string":"error","sukka/type/no-force-cast-via-top-type":"error","sukka/type/no-wrapper-type-reference":"error","sukka/no-default-error":"off","sukka/no-export-const-enum":"error","sukka/no-for-in-iterable":"error","sukka/only-await-thenable":"error","sukka/no-undefined-optional-parameters":"warn","sukka/no-try-promise":"error","sukka/no-useless-string-operation":"warn","@stylistic/plus/type-generic-spacing":"error","@stylistic/plus/type-named-tuple-spacing":"error","@typescript-eslint/no-unused-vars":"off","unused-imports/no-unused-vars":["error",{vars:"all",varsIgnorePattern:"^_",args:"after-used",argsIgnorePattern:"^_",ignoreRestSiblings:!0}],"unused-imports/no-unused-imports":o?"error":"off","import-x/consistent-type-specifier-style":["error","prefer-top-level"],"import-x/named":"off","import-x/namespace":"off","import-x/default":"off","import-x/no-duplicates":"off","import-x/no-named-as-default-member":"off","import-x/no-deprecated":"off","paths/alias":"warn"}},{name:"@eslint-sukka/ts dts",files:["**/*.d.ts"],plugins:{"import-x":n6.memo(rl,"eslint-plugin-import-x")},rules:{"import-x/no-duplicates":"off","unused-imports/no-unused-vars":"off"}},{name:"@eslint-sukka/ts jest/mocha",files:["**/*.{test,spec}.ts?(x)"],rules:{"no-unused-expressions":"off"}},{name:"@eslint-sukka/ts commonjs",files:["**/*.js","**/*.cjs"],plugins:rd.configs.base.plugins,rules:{"@typescript-eslint/no-require-imports":"off"}}]}({isInEditor:t,...bs(e?.ts)}))}let i=n6.isPackageExists("next"),o=bo(e?.react,i||n6.isPackageExists("react")||n6.isPackageExists("@types/react"));if(o)if(r){let t=await ys("@eslint-sukka/react"),r=n6.isPackageExists("@remix-run/node")||n6.isPackageExists("@remix-run/react")||n6.isPackageExists("@remix-run/serve")||n6.isPackageExists("@remix-run/dev");n.push(t.react(bs(e?.react,{nextjs:i,remix:r,reactRefresh:{allowConstantExport:n6.isPackageExists("vite")},reactCompiler:n6.isPackageExists("babel-plugin-react-compiler")||n6.isPackageExists("react-compiler-webpack")?"error":"off"}))),bo(e?.next,i)&&n.push(t.next()),bo(e?.stylex,n6.isPackageExists("@stylexjs/stylex")||n6.isPackageExists("stylex-webpack"))&&n.push(t.stylex(bs(e?.stylex)))}else console.warn("[eslint-config-sukka] React preset will not be enabled when TypeScript is missing.");return bo(e?.node,n6.isPackageExists("@types/node")||n6.isPackageExists("@types/bun"))&&n.push((await ys("@eslint-sukka/node")).node({...bs(e?.node),hasTypeScript:r,hasReact:o})),bo(e?.legacy)&&n.push(function(e={}){return[{name:"@eslint-sukka/legacy base",...e.files?{files:e.files}:{},plugins:{sukka:n6.memo(rr,"eslint-plugin-sukka")},rules:{"prefer-numeric-literals":"off","no-restricted-properties":["error",{object:"arguments",property:"callee",message:"arguments.callee is deprecated"},{property:"__defineGetter__",message:"Please use Object.defineProperty instead."},{property:"__defineSetter__",message:"Please use Object.defineProperty instead."}],"no-var":"off","prefer-object-spread":"off",strict:["error","safe"],"sukka/unicorn/prefer-default-parameters":"off","sukka/unicorn/prefer-logical-operator-over-ternary":"off","sukka/unicorn/prefer-optional-catch-binding":"off"},languageOptions:{globals:{...e.browser??!0?n6.globals.browser:{},...e.node?n6.globals.node:{}}}}]}(bs(e?.legacy))),n.push(t),n.flat()}n.markdown=r.markdown=bi,exports.constants=n6.constants,exports.ignores=rj,exports.sukka=bl;