eslint-config-sukka 8.0.0-beta.1 → 8.0.1
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 +3 -3
- package/dist/index.d.ts +1 -1
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
let e,t;"use strict";var n,r,i,o,s,a,u,l,c,p,f,d,m,h,g,y,D,k,b,x,F,w,v=require("@eslint-sukka/shared"),E=require("node:fs"),C=require("node:path"),A=require("node:process"),S=require("node:module");require("node:fs/promises");var T=require("node:url"),I=require("foxts/guard"),L=require("@eslint/config-helpers"),B=require("@eslint-community/eslint-plugin-eslint-comments"),q=require("@eslint-sukka/eslint-plugin-sukka-full"),j=require("eslint-plugin-promise"),R=require("eslint-plugin-regexp"),O=require("@eslint/js"),N=require("eslint-plugin-unused-imports"),P=require("eslint-plugin-import-x"),_=require("eslint-plugin-autofix"),M=require("@eslint-sukka/eslint-plugin-stylistic"),z=require("eslint-plugin-jsonc"),U=require("jsonc-eslint-parser"),$=require("typescript-eslint"),V=require("@typescript-eslint/eslint-plugin"),H=require("@typescript-eslint/parser"),W=require("eslint-plugin-paths"),G=require("eslint-import-resolver-typescript"),J=require("defu"),Q=require("ci-info"),Z=require("./vendor-C7TA-LLW.cjs"),X=require("picocolors"),Y="undefined"!=typeof document?document.currentScript:null,K={};let ee=S.createRequire("undefined"==typeof document?require("url").pathToFileURL(__filename).href:Y&&"SCRIPT"===Y.tagName.toUpperCase()&&Y.src||new URL("index.cjs",document.baseURI).href),et=S.createRequire("undefined"==typeof document?require("url").pathToFileURL(__filename).href:Y&&"SCRIPT"===Y.tagName.toUpperCase()&&Y.src||new URL("index.cjs",document.baseURI).href);var en=function(){if(r)return K;r=1;var e=ee("node:fs"),t=et("node:path");let n=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"]]),i=new WeakMap,o=new WeakSet,s=new WeakMap,a=new WeakSet;function u(e){if(i.has(e))return i.get(e);let t="function"==typeof e;if(!t&&o.has(e))return e;let r=t?e:e.create.bind(e),s={...t?void 0:e,create:function(e){if("getScope"in e)return r(e);let t=e.sourceCode,i=t.ast,o=Object.assign(Object.create(e),{parserServices:t.parserServices,getScope:()=>t.getScope(i),getAncestors:()=>t.getAncestors(i),markVariableAsUsed(e){t.markVariableAsUsed(e,i)}});for(let[e,r]of n)o[e]=t[r].bind(t);Object.freeze(o);let s=r(o);for(let[e,t]of Object.entries(s)){if(e.startsWith("on")){s[e]=(...n)=>(i=n["onCodePathSegmentLoop"===e?2:1],t.call(s,...n));continue}s[e]=(...e)=>(i=e[0],t.call(s,...e))}return s}},{schema:a}=e;return a&&(s.meta?s.meta={...s.meta,schema:a}:s.meta={schema:a}),i.set(e,s),o.add(s),s}function l(e){if(s.has(e))return s.get(e);if(a.has(e)||!e.rules)return e;let t={...e,rules:Object.fromEntries(Object.entries(e.rules).map(([e,t])=>[e,u(t)]))};return s.set(e,t),a.add(t),t}function c(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 K.convertIgnorePatternToMinimatch=c,K.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,l(t)]));return{...e,plugins:t}})},K.fixupPluginRules=l,K.fixupRule=u,K.includeIgnoreFile=function(n,r){if(!t.isAbsolute(n))throw Error("The ignore file location must be an absolute path.");return{name:r||"Imported .gitignore patterns",ignores:e.readFileSync(n,"utf8").split(/\r?\n/u).map(e=>e.trim()).filter(e=>e&&!e.startsWith("#")).map(c)}},K}();function er(e){return Array.isArray(e=e??[])?e:[e]}let ei=e=>e instanceof URL?T.fileURLToPath(e):e;function eo(e,{cwd:t=A.cwd(),type:n="file",stopAt:r}={}){let i=C.resolve(ei(t)??""),{root:o}=C.parse(i);for(r=C.resolve(i,ei(r)??o);i&&i!==r&&i!==o;){let t=C.isAbsolute(e)?e:C.join(i,e);try{let e=E.statSync(t,{throwIfNoEntry:!1});if("file"===n&&e?.isFile()||"directory"===n&&e?.isDirectory())return t}catch{}i=C.dirname(i)}}let es=".gitignore",ea=".gitmodules";function eu(e={}){let t=[],{cwd:n=A.cwd(),root:r=!1,files:i=r?es:eo(es,{cwd:n})||[],filesGitModules:o=r?E.existsSync(C.join(n,ea))?ea:[]:eo(ea,{cwd:n})||[],strict:s=!0}=e,a=er(i).map(e=>C.resolve(n,e)),u=er(o).map(e=>C.resolve(n,e));for(let e of a){let r="";try{r=E.readFileSync(e,"utf8")}catch(e){if(s)throw e;continue}let i=C.relative(n,C.dirname(e)).replaceAll("\\","/"),o=r.split(/\r?\n/u).filter(e=>e&&!e.startsWith("#")).map(e=>en.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=C.relative(C.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 u){let n="";try{n=E.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 el(e={}){let{customGlobs:t=null,gitignore:n=[".gitignore"]}=e,r=[],i=[];return!1===t||null===t?i=v.constants.GLOB_EXCLUDE:"function"==typeof t?i=t(v.constants.GLOB_EXCLUDE):"string"==typeof t?i.push(...v.constants.GLOB_EXCLUDE,t):Array.isArray(t)?i.push(...v.constants.GLOB_EXCLUDE,...t):I.never(t),r.push(L.globalIgnores(i)),!1===n||null===n||(!0===n?r.push(eu({files:[".gitignore"],strict:!1})):"string"==typeof n||Array.isArray(n)?r.push(eu({files:n,strict:!1})):I.never(n)),r}let ec=["consistent-chaining","consistent-list-newline","curly","if-newline","import-dedupe","indent-unindent","top-level-function"],ep="https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/",ef=(n=e=>ec.includes(e)?`${ep}${e}.md`:`${ep}${e}.test.ts`,function({name:e,meta:t,...r}){return function({create:e,defaultOptions:t,meta:n}){return{create:n=>{let r=n.options.map((e,n)=>({...t[n]||{},...e||{}}));return e(n,r)},defaultOptions:t,meta:n}}({meta:{...t,docs:{...t.docs,url:n(e)}},...r})}),ed=ef({name:"consistent-chaining",meta:{type:"layout",docs:{description:"Having line breaks styles to object, array and named imports"},fixable:"whitespace",schema:[{type:"object",properties:{allowLeadingPropertyAccess:{type:"boolean",description:"Allow leading property access to be on the same line",default:!0}},additionalProperties:!1}],messages:{shouldWrap:"Should have line breaks between items, in node {{name}}",shouldNotWrap:"Should not have line breaks between items, in node {{name}}"}},defaultOptions:[{allowLeadingPropertyAccess:!0}],create:e=>{let t=new WeakSet,{allowLeadingPropertyAccess:n=!0}=e.options[0]||{};return{MemberExpression(r){let i=r;for(;i.parent&&("MemberExpression"===i.parent.type||"CallExpression"===i.parent.type);)i=i.parent;if(t.has(i))return;t.add(i);let o=[],s=i;for(;s;)switch(s.type){case"MemberExpression":s.computed||o.unshift(s),s=s.object;break;case"CallExpression":s=s.callee;break;default:s=void 0}let a=n,u=null;o.forEach(t=>{let n=e.sourceCode.getTokenBefore(t.property),r=e.sourceCode.getTokenBefore(n),o=n.loc.start.line===r.loc.end.line?"single":"multi";if(!a||"ThisExpression"!==t.object.type&&"Identifier"!==t.object.type&&"MemberExpression"!==t.object.type&&"Literal"!==t.object.type||"single"!==o){if(a=!1,null==u){u=o;return}u!==o&&e.report({messageId:"single"===u?"shouldNotWrap":"shouldWrap",loc:n.loc,data:{name:i.type},fix:e=>"multi"===u?e.insertTextAfter(r,"\n"):e.removeRange([r.range[1],n.range[0]])})}})}}}}),em=ef({name:"consistent-list-newline",meta:{type:"layout",docs:{description:"Having line breaks styles to object, array and named imports"},fixable:"whitespace",schema:[{type:"object",properties:{ArrayExpression:{type:"boolean"},ArrayPattern:{type:"boolean"},ArrowFunctionExpression:{type:"boolean"},CallExpression:{type:"boolean"},ExportNamedDeclaration:{type:"boolean"},FunctionDeclaration:{type:"boolean"},FunctionExpression:{type:"boolean"},ImportDeclaration:{type:"boolean"},JSONArrayExpression:{type:"boolean"},JSONObjectExpression:{type:"boolean"},JSXOpeningElement:{type:"boolean"},NewExpression:{type:"boolean"},ObjectExpression:{type:"boolean"},ObjectPattern:{type:"boolean"},TSFunctionType:{type:"boolean"},TSInterfaceDeclaration:{type:"boolean"},TSTupleType:{type:"boolean"},TSTypeLiteral:{type:"boolean"},TSTypeParameterDeclaration:{type:"boolean"},TSTypeParameterInstantiation:{type:"boolean"}},additionalProperties:!1}],messages:{shouldWrap:"Should have line breaks between items, in node {{name}}",shouldNotWrap:"Should not have line breaks between items, in node {{name}}"}},defaultOptions:[{}],create:(e,[t={}]=[{}])=>{let n=new Set(["ArrayExpression","FunctionDeclaration","ObjectExpression","ObjectPattern","TSTypeLiteral","TSTupleType","TSInterfaceDeclaration"]);function r(t,n,r,i){let o=[n,r],s=e.sourceCode.text.slice(...o);return t.replaceTextRange(o,s.replace(/(\r\n|\n)/g,i??""))}function i(t,n){if("TSInterfaceDeclaration"===t.type||"TSTypeLiteral"===t.type)return e.sourceCode.text.slice(n.range[0],n.range[1]).match(/(?:,|;)$/)?void 0:","}function o(e){let t=e;for(;"Program"!==t.type;)t=t.parent;let n=e.range;return!!t.comments?.some(e=>{let t=e.range;return t[0]>n[0]&&t[1]<n[1]})}function s(t,o,s){let a=o.filter(Boolean);if(0===a.length)return;let u=["CallExpression","NewExpression"].includes(t.type)?void 0:e.sourceCode.getFirstToken(t);"CallExpression"===t.type&&(u=e.sourceCode.getTokenAfter(t.typeArguments?t.typeArguments:"MemberExpression"===t.callee.type?t.callee.property:t.callee)),u?.type!=="Punctuator"&&(u=e.sourceCode.getTokenBefore(a[0]));let l=e.sourceCode.getTokenAfter(a[a.length-1]),c=u.loc.start.line;if(u.loc.start.line===l.loc.end.line)return;let p=null,f=c;a.forEach((n,o)=>{if(null==p){p=n.loc.start.line===f?"inline":"newline",f=n.loc.end.line;return}let s=n.loc.start.line;if("newline"===p&&s===f)e.report({node:n,messageId:"shouldWrap",data:{name:t.type},*fix(e){yield e.insertTextBefore(n,"\n")}});else if("inline"===p&&s!==f){let s=a[o-1];if(e.sourceCode.getCommentsBefore(n).length>0)return;e.sourceCode.text.slice(s.range[1],n.range[0]).includes("\n")&&e.report({node:n,messageId:"shouldNotWrap",data:{name:t.type},*fix(e){yield r(e,s.range[1],n.range[0],i(t,s))}})}f=n.loc.end.line});let d=s?Math.min(e.sourceCode.getTokenBefore(s).range[0],t.range[1]):t.range[1],m=e.sourceCode.getLocFromIndex(d),h=a[a.length-1];if("newline"===p&&m.line===f)e.report({node:h,messageId:"shouldWrap",data:{name:t.type},*fix(e){yield e.insertTextAfter(h,"\n")}});else if("inline"===p&&m.line!==f){if(1===a.length&&!n.has(t.type)||e.sourceCode.getCommentsAfter(h).length>0)return;e.sourceCode.text.slice(h.range[1],d).includes("\n")&&e.report({node:h,messageId:"shouldNotWrap",data:{name:t.type},*fix(e){let n=1===a.length?"":i(t,h);yield r(e,h.range[1],d,n)}})}}let a={ObjectExpression:e=>{s(e,e.properties)},ArrayExpression:e=>{s(e,e.elements)},ImportDeclaration:e=>{s(e,e.specifiers[0]?.type==="ImportDefaultSpecifier"?e.specifiers.slice(1):e.specifiers)},ExportNamedDeclaration:e=>{s(e,e.specifiers)},FunctionDeclaration:e=>{s(e,e.params,e.returnType||e.body)},FunctionExpression:e=>{s(e,e.params,e.returnType||e.body)},ArrowFunctionExpression:e=>{e.params.length<=1||s(e,e.params,e.returnType||e.body)},CallExpression:e=>{s(e,e.arguments)},TSInterfaceDeclaration:e=>{s(e,e.body.body)},TSTypeLiteral:e=>{s(e,e.members)},TSTupleType:e=>{s(e,e.elementTypes)},TSFunctionType:e=>{s(e,e.params)},NewExpression:e=>{s(e,e.arguments)},TSTypeParameterDeclaration(e){s(e,e.params)},TSTypeParameterInstantiation(e){s(e,e.params)},ObjectPattern(e){s(e,e.properties,e.typeAnnotation)},ArrayPattern(e){s(e,e.elements)},JSXOpeningElement(e){e.attributes.some(e=>e.loc.start.line!==e.loc.end.line)||s(e,e.attributes)},JSONArrayExpression(e){o(e)||s(e,e.elements)},JSONObjectExpression(e){o(e)||s(e,e.properties)}};return Object.keys(t).forEach(e=>{!1===t[e]&&delete a[e]}),a}}),eh=ef({name:"curly",meta:{type:"layout",docs:{description:"Enforce Anthony's style of curly bracket"},fixable:"whitespace",schema:[],messages:{missingCurlyBrackets:"Expect curly brackets"}},defaultOptions:[],create:e=>{function t(n,r=[]){[...n,...r].map(e=>(function(e){if(!e)return!1;if("BlockStatement"===e.type||["IfStatement","WhileStatement","DoWhileStatement","ForStatement","ForInStatement","ForOfStatement"].includes(e.type))return!0;let t="ExpressionStatement"===e.type?e.expression:e;return t.loc.start.line!==t.loc.end.line})(e)).some(e=>e)&&n.map(t=>{"BlockStatement"!==t.type&&e.report({node:t,messageId:"missingCurlyBrackets",*fix(n){yield n.insertTextAfter(t,"\n}");let r=e.sourceCode.getTokenBefore(t);yield n.insertTextAfterRange(r.range," {")}})})}return{IfStatement(e){let n=e.parent;if("IfStatement"===n.type&&n.alternate===e)return;let r=[],i=[];!function e(t){r.push(t.consequent),t.test&&i.push(t.test),t.alternate&&("IfStatement"===t.alternate.type?e(t.alternate):r.push(t.alternate))}(e),t(r,i)},WhileStatement(e){t([e.body],[e.test])},DoWhileStatement(e){t([e.body],[e.test])},ForStatement(e){t([e.body])},ForInStatement(e){t([e.body])},ForOfStatement(e){t([e.body])}}}}),eg=ef({name:"if-newline",meta:{type:"layout",docs:{description:"Newline after if"},fixable:"whitespace",schema:[],messages:{missingIfNewline:"Expect newline after if"}},defaultOptions:[],create:e=>({IfStatement(t){t.consequent&&"BlockStatement"!==t.consequent.type&&t.test.loc.end.line===t.consequent.loc.start.line&&e.report({node:t,loc:{start:t.test.loc.end,end:t.consequent.loc.start},messageId:"missingIfNewline",fix:e=>e.replaceTextRange([t.consequent.range[0],t.consequent.range[0]],"\n")})}})}),ey=ef({name:"import-dedupe",meta:{type:"problem",docs:{description:"Fix duplication in imports"},fixable:"code",schema:[],messages:{importDedupe:"Expect no duplication in imports"}},defaultOptions:[],create:e=>({ImportDeclaration(t){if(t.specifiers.length<=1)return;let n=new Set;t.specifiers.forEach(r=>{let i=r.local.name;n.has(i)&&e.report({node:t,loc:{start:r.loc.end,end:r.loc.start},messageId:"importDedupe",fix(t){let n=r.range[0],i=r.range[1];return","===e.getSourceCode().text[i]&&(i+=1),t.removeRange([n,i])}}),n.add(i)})}})}),eD=/^\s*$/,ek={meta:{name:"antfu",version:"3.1.1"},rules:{"consistent-chaining":ed,"consistent-list-newline":em,curly:eh,"if-newline":eg,"import-dedupe":ey,"indent-unindent":ef({name:"indent-unindent",meta:{type:"layout",docs:{description:"Enforce consistent indentation in `unindent` template tag"},fixable:"code",schema:[{type:"object",properties:{indent:{type:"number",minimum:0,default:2},tags:{type:"array",items:{type:"string"}}},additionalProperties:!1}],messages:{"indent-unindent":"Consistent indentation in unindent tag"}},defaultOptions:[{}],create(e){let{tags:t=["$","unindent","unIndent"],indent:n=2}=e.options?.[0]??{};return{TaggedTemplateExpression(r){let i=r.tag;if(!i||"Identifier"!==i.type||!t.includes(i.name)||1!==r.quasi.quasis.length)return;let o=r.quasi.quasis[0],s=o.value.raw,a=e.sourceCode.getIndexFromLoc({line:r.loc.start.line,column:0}),u=e.sourceCode.text.slice(a).match(/^\s*/)?.[0]??"",l=u+" ".repeat(n),c=(function(e){let t=("string"==typeof e?e:e[0]).split("\n"),n=t.map(e=>eD.test(e)),r=t.reduce((e,t,r)=>{if(n[r])return e;let i=t.match(/^\s*/)?.[0].length;return void 0===i?e:Math.min(e,i)},1/0),i=0;for(;i<t.length&&n[i];)i++;let o=0;for(;o<t.length&&n[t.length-o-1];)o++;return t.slice(i,t.length-o).map(e=>e.slice(r)).join("\n")})([s]).split("\n").map(e=>l+e).join("\n");(c=`
|
|
1
|
+
let e,t;"use strict";var n,r,i,o,s,a,u,l,c,p,f,d,m,h,g,y,D,b,k,x,F,w,v=require("@eslint-sukka/shared"),E=require("node:fs"),C=require("node:path"),A=require("node:process"),S=require("node:module");require("node:fs/promises");var T=require("node:url"),I=require("foxts/guard"),L=require("@eslint/config-helpers"),B=require("@eslint-community/eslint-plugin-eslint-comments"),q=require("@eslint-sukka/eslint-plugin-sukka-full"),j=require("eslint-plugin-promise"),R=require("eslint-plugin-regexp"),O=require("@eslint/js"),N=require("eslint-plugin-unused-imports"),P=require("eslint-plugin-import-x"),_=require("eslint-plugin-autofix"),M=require("@eslint-sukka/eslint-plugin-stylistic"),z=require("eslint-plugin-jsonc"),U=require("jsonc-eslint-parser"),$=require("typescript-eslint"),V=require("@typescript-eslint/eslint-plugin"),H=require("@typescript-eslint/parser"),W=require("eslint-plugin-paths"),G=require("eslint-import-resolver-typescript"),J=require("defu"),Q=require("ci-info"),Z=require("./vendor-C7TA-LLW.cjs"),Y=require("picocolors"),X="undefined"!=typeof document?document.currentScript:null,K={};let ee=S.createRequire("undefined"==typeof document?require("url").pathToFileURL(__filename).href:X&&"SCRIPT"===X.tagName.toUpperCase()&&X.src||new URL("index.cjs",document.baseURI).href),et=S.createRequire("undefined"==typeof document?require("url").pathToFileURL(__filename).href:X&&"SCRIPT"===X.tagName.toUpperCase()&&X.src||new URL("index.cjs",document.baseURI).href);var en=function(){if(r)return K;r=1;var e=ee("node:fs"),t=et("node:path");let n=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"]]),i=new WeakMap,o=new WeakSet,s=new WeakMap,a=new WeakSet;function u(e){if(i.has(e))return i.get(e);let t="function"==typeof e;if(!t&&o.has(e))return e;let r=t?e:e.create.bind(e),s={...t?void 0:e,create:function(e){if("getScope"in e)return r(e);let t=e.sourceCode,i=t.ast,o=Object.assign(Object.create(e),{parserServices:t.parserServices,getScope:()=>t.getScope(i),getAncestors:()=>t.getAncestors(i),markVariableAsUsed(e){t.markVariableAsUsed(e,i)}});for(let[e,r]of n)o[e]=t[r].bind(t);Object.freeze(o);let s=r(o);for(let[e,t]of Object.entries(s)){if(e.startsWith("on")){s[e]=(...n)=>(i=n["onCodePathSegmentLoop"===e?2:1],t.call(s,...n));continue}s[e]=(...e)=>(i=e[0],t.call(s,...e))}return s}},{schema:a}=e;return a&&(s.meta?s.meta={...s.meta,schema:a}:s.meta={schema:a}),i.set(e,s),o.add(s),s}function l(e){if(s.has(e))return s.get(e);if(a.has(e)||!e.rules)return e;let t={...e,rules:Object.fromEntries(Object.entries(e.rules).map(([e,t])=>[e,u(t)]))};return s.set(e,t),a.add(t),t}function c(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 K.convertIgnorePatternToMinimatch=c,K.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,l(t)]));return{...e,plugins:t}})},K.fixupPluginRules=l,K.fixupRule=u,K.includeIgnoreFile=function(n,r){if(!t.isAbsolute(n))throw Error("The ignore file location must be an absolute path.");return{name:r||"Imported .gitignore patterns",ignores:e.readFileSync(n,"utf8").split(/\r?\n/u).map(e=>e.trim()).filter(e=>e&&!e.startsWith("#")).map(c)}},K}();function er(e){return Array.isArray(e=e??[])?e:[e]}let ei=e=>e instanceof URL?T.fileURLToPath(e):e;function eo(e,{cwd:t=A.cwd(),type:n="file",stopAt:r}={}){let i=C.resolve(ei(t)??""),{root:o}=C.parse(i);for(r=C.resolve(i,ei(r)??o);i&&i!==r&&i!==o;){let t=C.isAbsolute(e)?e:C.join(i,e);try{let e=E.statSync(t,{throwIfNoEntry:!1});if("file"===n&&e?.isFile()||"directory"===n&&e?.isDirectory())return t}catch{}i=C.dirname(i)}}let es=".gitignore",ea=".gitmodules";function eu(e={}){let t=[],{cwd:n=A.cwd(),root:r=!1,files:i=r?es:eo(es,{cwd:n})||[],filesGitModules:o=r?E.existsSync(C.join(n,ea))?ea:[]:eo(ea,{cwd:n})||[],strict:s=!0}=e,a=er(i).map(e=>C.resolve(n,e)),u=er(o).map(e=>C.resolve(n,e));for(let e of a){let r="";try{r=E.readFileSync(e,"utf8")}catch(e){if(s)throw e;continue}let i=C.relative(n,C.dirname(e)).replaceAll("\\","/"),o=r.split(/\r?\n/u).filter(e=>e&&!e.startsWith("#")).map(e=>en.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=C.relative(C.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 u){let n="";try{n=E.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 el(e={}){let{customGlobs:t=null,gitignore:n=[".gitignore"]}=e,r=[],i=[];return!1===t||null===t?i=v.constants.GLOB_EXCLUDE:"function"==typeof t?i=t(v.constants.GLOB_EXCLUDE):"string"==typeof t?i.push(...v.constants.GLOB_EXCLUDE,t):Array.isArray(t)?i.push(...v.constants.GLOB_EXCLUDE,...t):I.never(t),r.push(L.globalIgnores(i)),!1===n||null===n||(!0===n?r.push(eu({files:[".gitignore"],strict:!1})):"string"==typeof n||Array.isArray(n)?r.push(eu({files:n,strict:!1})):I.never(n)),r}let ec=["consistent-chaining","consistent-list-newline","curly","if-newline","import-dedupe","indent-unindent","top-level-function"],ep="https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/",ef=(n=e=>ec.includes(e)?`${ep}${e}.md`:`${ep}${e}.test.ts`,function({name:e,meta:t,...r}){return function({create:e,defaultOptions:t,meta:n}){return{create:n=>{let r=n.options.map((e,n)=>({...t[n]||{},...e||{}}));return e(n,r)},defaultOptions:t,meta:n}}({meta:{...t,docs:{...t.docs,url:n(e)}},...r})}),ed=ef({name:"consistent-chaining",meta:{type:"layout",docs:{description:"Having line breaks styles to object, array and named imports"},fixable:"whitespace",schema:[{type:"object",properties:{allowLeadingPropertyAccess:{type:"boolean",description:"Allow leading property access to be on the same line",default:!0}},additionalProperties:!1}],messages:{shouldWrap:"Should have line breaks between items, in node {{name}}",shouldNotWrap:"Should not have line breaks between items, in node {{name}}"}},defaultOptions:[{allowLeadingPropertyAccess:!0}],create:e=>{let t=new WeakSet,{allowLeadingPropertyAccess:n=!0}=e.options[0]||{};return{MemberExpression(r){let i=r;for(;i.parent&&("MemberExpression"===i.parent.type||"CallExpression"===i.parent.type);)i=i.parent;if(t.has(i))return;t.add(i);let o=[],s=i;for(;s;)switch(s.type){case"MemberExpression":s.computed||o.unshift(s),s=s.object;break;case"CallExpression":s=s.callee;break;default:s=void 0}let a=n,u=null;o.forEach(t=>{let n=e.sourceCode.getTokenBefore(t.property),r=e.sourceCode.getTokenBefore(n),o=n.loc.start.line===r.loc.end.line?"single":"multi";if(!a||"ThisExpression"!==t.object.type&&"Identifier"!==t.object.type&&"MemberExpression"!==t.object.type&&"Literal"!==t.object.type||"single"!==o){if(a=!1,null==u){u=o;return}u!==o&&e.report({messageId:"single"===u?"shouldNotWrap":"shouldWrap",loc:n.loc,data:{name:i.type},fix:e=>"multi"===u?e.insertTextAfter(r,"\n"):e.removeRange([r.range[1],n.range[0]])})}})}}}}),em=ef({name:"consistent-list-newline",meta:{type:"layout",docs:{description:"Having line breaks styles to object, array and named imports"},fixable:"whitespace",schema:[{type:"object",properties:{ArrayExpression:{type:"boolean"},ArrayPattern:{type:"boolean"},ArrowFunctionExpression:{type:"boolean"},CallExpression:{type:"boolean"},ExportNamedDeclaration:{type:"boolean"},FunctionDeclaration:{type:"boolean"},FunctionExpression:{type:"boolean"},ImportDeclaration:{type:"boolean"},JSONArrayExpression:{type:"boolean"},JSONObjectExpression:{type:"boolean"},JSXOpeningElement:{type:"boolean"},NewExpression:{type:"boolean"},ObjectExpression:{type:"boolean"},ObjectPattern:{type:"boolean"},TSFunctionType:{type:"boolean"},TSInterfaceDeclaration:{type:"boolean"},TSTupleType:{type:"boolean"},TSTypeLiteral:{type:"boolean"},TSTypeParameterDeclaration:{type:"boolean"},TSTypeParameterInstantiation:{type:"boolean"}},additionalProperties:!1}],messages:{shouldWrap:"Should have line breaks between items, in node {{name}}",shouldNotWrap:"Should not have line breaks between items, in node {{name}}"}},defaultOptions:[{}],create:(e,[t={}]=[{}])=>{let n=new Set(["ArrayExpression","FunctionDeclaration","ObjectExpression","ObjectPattern","TSTypeLiteral","TSTupleType","TSInterfaceDeclaration"]);function r(t,n,r,i){let o=[n,r],s=e.sourceCode.text.slice(...o);return t.replaceTextRange(o,s.replace(/(\r\n|\n)/g,i??""))}function i(t,n){if("TSInterfaceDeclaration"===t.type||"TSTypeLiteral"===t.type)return e.sourceCode.text.slice(n.range[0],n.range[1]).match(/(?:,|;)$/)?void 0:","}function o(e){let t=e;for(;"Program"!==t.type;)t=t.parent;let n=e.range;return!!t.comments?.some(e=>{let t=e.range;return t[0]>n[0]&&t[1]<n[1]})}function s(t,o,s){let a=o.filter(Boolean);if(0===a.length)return;let u=["CallExpression","NewExpression"].includes(t.type)?void 0:e.sourceCode.getFirstToken(t);"CallExpression"===t.type&&(u=e.sourceCode.getTokenAfter(t.typeArguments?t.typeArguments:"MemberExpression"===t.callee.type?t.callee.property:t.callee)),u?.type!=="Punctuator"&&(u=e.sourceCode.getTokenBefore(a[0]));let l=e.sourceCode.getTokenAfter(a[a.length-1]),c=u.loc.start.line;if(u.loc.start.line===l.loc.end.line)return;let p=null,f=c;a.forEach((n,o)=>{if(null==p){p=n.loc.start.line===f?"inline":"newline",f=n.loc.end.line;return}let s=n.loc.start.line;if("newline"===p&&s===f)e.report({node:n,messageId:"shouldWrap",data:{name:t.type},*fix(e){yield e.insertTextBefore(n,"\n")}});else if("inline"===p&&s!==f){let s=a[o-1];if(e.sourceCode.getCommentsBefore(n).length>0)return;e.sourceCode.text.slice(s.range[1],n.range[0]).includes("\n")&&e.report({node:n,messageId:"shouldNotWrap",data:{name:t.type},*fix(e){yield r(e,s.range[1],n.range[0],i(t,s))}})}f=n.loc.end.line});let d=s?Math.min(e.sourceCode.getTokenBefore(s).range[0],t.range[1]):t.range[1],m=e.sourceCode.getLocFromIndex(d),h=a[a.length-1];if("newline"===p&&m.line===f)e.report({node:h,messageId:"shouldWrap",data:{name:t.type},*fix(e){yield e.insertTextAfter(h,"\n")}});else if("inline"===p&&m.line!==f){if(1===a.length&&!n.has(t.type)||e.sourceCode.getCommentsAfter(h).length>0)return;e.sourceCode.text.slice(h.range[1],d).includes("\n")&&e.report({node:h,messageId:"shouldNotWrap",data:{name:t.type},*fix(e){let n=1===a.length?"":i(t,h);yield r(e,h.range[1],d,n)}})}}let a={ObjectExpression:e=>{s(e,e.properties)},ArrayExpression:e=>{s(e,e.elements)},ImportDeclaration:e=>{s(e,e.specifiers[0]?.type==="ImportDefaultSpecifier"?e.specifiers.slice(1):e.specifiers)},ExportNamedDeclaration:e=>{s(e,e.specifiers)},FunctionDeclaration:e=>{s(e,e.params,e.returnType||e.body)},FunctionExpression:e=>{s(e,e.params,e.returnType||e.body)},ArrowFunctionExpression:e=>{e.params.length<=1||s(e,e.params,e.returnType||e.body)},CallExpression:e=>{s(e,e.arguments)},TSInterfaceDeclaration:e=>{s(e,e.body.body)},TSTypeLiteral:e=>{s(e,e.members)},TSTupleType:e=>{s(e,e.elementTypes)},TSFunctionType:e=>{s(e,e.params)},NewExpression:e=>{s(e,e.arguments)},TSTypeParameterDeclaration(e){s(e,e.params)},TSTypeParameterInstantiation(e){s(e,e.params)},ObjectPattern(e){s(e,e.properties,e.typeAnnotation)},ArrayPattern(e){s(e,e.elements)},JSXOpeningElement(e){e.attributes.some(e=>e.loc.start.line!==e.loc.end.line)||s(e,e.attributes)},JSONArrayExpression(e){o(e)||s(e,e.elements)},JSONObjectExpression(e){o(e)||s(e,e.properties)}};return Object.keys(t).forEach(e=>{!1===t[e]&&delete a[e]}),a}}),eh=ef({name:"curly",meta:{type:"layout",docs:{description:"Enforce Anthony's style of curly bracket"},fixable:"whitespace",schema:[],messages:{missingCurlyBrackets:"Expect curly brackets"}},defaultOptions:[],create:e=>{function t(n,r=[]){[...n,...r].map(e=>(function(e){if(!e)return!1;if("BlockStatement"===e.type||["IfStatement","WhileStatement","DoWhileStatement","ForStatement","ForInStatement","ForOfStatement"].includes(e.type))return!0;let t="ExpressionStatement"===e.type?e.expression:e;return t.loc.start.line!==t.loc.end.line})(e)).some(e=>e)&&n.map(t=>{"BlockStatement"!==t.type&&e.report({node:t,messageId:"missingCurlyBrackets",*fix(n){yield n.insertTextAfter(t,"\n}");let r=e.sourceCode.getTokenBefore(t);yield n.insertTextAfterRange(r.range," {")}})})}return{IfStatement(e){let n=e.parent;if("IfStatement"===n.type&&n.alternate===e)return;let r=[],i=[];!function e(t){r.push(t.consequent),t.test&&i.push(t.test),t.alternate&&("IfStatement"===t.alternate.type?e(t.alternate):r.push(t.alternate))}(e),t(r,i)},WhileStatement(e){t([e.body],[e.test])},DoWhileStatement(e){t([e.body],[e.test])},ForStatement(e){t([e.body])},ForInStatement(e){t([e.body])},ForOfStatement(e){t([e.body])}}}}),eg=ef({name:"if-newline",meta:{type:"layout",docs:{description:"Newline after if"},fixable:"whitespace",schema:[],messages:{missingIfNewline:"Expect newline after if"}},defaultOptions:[],create:e=>({IfStatement(t){t.consequent&&"BlockStatement"!==t.consequent.type&&t.test.loc.end.line===t.consequent.loc.start.line&&e.report({node:t,loc:{start:t.test.loc.end,end:t.consequent.loc.start},messageId:"missingIfNewline",fix:e=>e.replaceTextRange([t.consequent.range[0],t.consequent.range[0]],"\n")})}})}),ey=ef({name:"import-dedupe",meta:{type:"problem",docs:{description:"Fix duplication in imports"},fixable:"code",schema:[],messages:{importDedupe:"Expect no duplication in imports"}},defaultOptions:[],create:e=>({ImportDeclaration(t){if(t.specifiers.length<=1)return;let n=new Set;t.specifiers.forEach(r=>{let i=r.local.name;n.has(i)&&e.report({node:t,loc:{start:r.loc.end,end:r.loc.start},messageId:"importDedupe",fix(t){let n=r.range[0],i=r.range[1];return","===e.getSourceCode().text[i]&&(i+=1),t.removeRange([n,i])}}),n.add(i)})}})}),eD=/^\s*$/,eb={meta:{name:"antfu",version:"3.1.1"},rules:{"consistent-chaining":ed,"consistent-list-newline":em,curly:eh,"if-newline":eg,"import-dedupe":ey,"indent-unindent":ef({name:"indent-unindent",meta:{type:"layout",docs:{description:"Enforce consistent indentation in `unindent` template tag"},fixable:"code",schema:[{type:"object",properties:{indent:{type:"number",minimum:0,default:2},tags:{type:"array",items:{type:"string"}}},additionalProperties:!1}],messages:{"indent-unindent":"Consistent indentation in unindent tag"}},defaultOptions:[{}],create(e){let{tags:t=["$","unindent","unIndent"],indent:n=2}=e.options?.[0]??{};return{TaggedTemplateExpression(r){let i=r.tag;if(!i||"Identifier"!==i.type||!t.includes(i.name)||1!==r.quasi.quasis.length)return;let o=r.quasi.quasis[0],s=o.value.raw,a=e.sourceCode.getIndexFromLoc({line:r.loc.start.line,column:0}),u=e.sourceCode.text.slice(a).match(/^\s*/)?.[0]??"",l=u+" ".repeat(n),c=(function(e){let t=("string"==typeof e?e:e[0]).split("\n"),n=t.map(e=>eD.test(e)),r=t.reduce((e,t,r)=>{if(n[r])return e;let i=t.match(/^\s*/)?.[0].length;return void 0===i?e:Math.min(e,i)},1/0),i=0;for(;i<t.length&&n[i];)i++;let o=0;for(;o<t.length&&n[t.length-o-1];)o++;return t.slice(i,t.length-o).map(e=>e.slice(r)).join("\n")})([s]).split("\n").map(e=>l+e).join("\n");(c=`
|
|
2
2
|
${c}
|
|
3
3
|
${u}`)!==s&&e.report({node:o,messageId:"indent-unindent",fix:e=>e.replaceText(o,`\`${c}\``)})}}}}),"no-import-dist":ef({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}})}})}),"no-import-node-modules-by-path":ef({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"})}})}),"no-top-level-await":ef({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"})}})}),"no-ts-export-equal":ef({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":ef({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]),u=r.params.length?s.slice(r.params[0].range[0],r.params[r.params.length-1].range[1]):"",l="BlockStatement"===i.type?s.slice(i.range[0],i.range[1]):`{
|
|
4
4
|
return ${s.slice(i.range[0],i.range[1])}
|
|
5
|
-
}`,c=r.typeParameters?s.slice(r.typeParameters.range[0],r.typeParameters.range[1]):"",p=r.returnType?s.slice(r.returnType.range[0],r.returnType.range[1]):"",f=r.async?"async ":"",d=`${f}function ${a} ${c}(${u})${p} ${l}`;return n.replaceTextRange([t.range[0],t.range[1]],d)}})}})})}},eb="azat-io/eslint-plugin-de-morgan";function ex(...e){return(...t)=>t.every(t=>t(...e))}function eF(e){return"LogicalExpression"===e.type}function ew(e,t){let n=e,[r,i]=n.range;if(ev(r,i,t))return n;for(;n.parent&&eF(n)&&(n=n.parent,[r,i]=n.range,!ev(r,i,t)););return n}function ev(e,t,n){return"("===n[e-1]&&")"===n[t]}function eE(e){return"UnaryExpression"===e.type}function eC(e){return t=>t.operator===e}function eA(e){return ex(e)(eE,eC("!"))}function eS(e,t){let n=t.sourceCode.getText(e),r=ew(e,n);return!!eE(r)&&function e(t){return eE(t)&&"!"===t.operator&&eE(t.argument)&&"!"===t.argument.operator?e(t.argument.argument):!!eA(t)||!!eF(t)&&(e(t.left)||e(t.right))}(r.argument)}function eT(e){return"BinaryExpression"===e.type}function eI(e,t){var n,r,i;return!!e.parent&&(n=e.parent,eL.has(n.type)||eT(r=e.parent)&&eB.has(r.operator)||"CallExpression"===(i=e.parent).type&&"Identifier"===i.callee.type&&"Boolean"===i.callee.name)}let eL=new Set(["ConditionalExpression","LogicalExpression","DoWhileStatement","UnaryExpression","WhileStatement","ForStatement","IfStatement"]),eB=new Set(["instanceof","===","!==","==","!=","<=",">=","in","<",">"]);function eq(e){return ex(e)(eF,eC("&&"))}function ej(e){let t=[],n=e.replaceAll(/(?<quote>["'`])(?:\\.|(?!\k<quote>)[^\\])*\k<quote>/gu,e=>{let n=`__STRING_LITERAL_${t.length}__`;return t.push(e),n}).replaceAll(/\/\/.*$/gmu,"").replaceAll(/\/\*[\s\S]*?\*\//gu,"").replaceAll(/\s+/gu," ").replaceAll(/\(\s+/gu,"(").replaceAll(/\s+\)/gu,")").trim();for(let[e,r]of t.entries())n=n.replace(`__STRING_LITERAL_${e}__`,r);return n}function eR(e,t){var n;let r=ew(e,t.sourceCode.getText());return!function(e){let t=0,n=null;for(let r=0;r<e.length;r++){let i=e[r];if("("===i){t++;continue}if(")"===i){t--;continue}if(0!==t)continue;let o=e.slice(r,r+2);if("&&"===o||"||"===o){if(null===n)n=o;else if(n!==o)return!0;r++}}return!1}((n=t.sourceCode.getText(r)).startsWith("!(")?n.slice(2,-1):n.startsWith("(")?n.slice(1,-1):n)}function eO(e){return eA(e)&&!eA(e.argument)&&(!e.parent||!eA(e.parent))}function eN(e,t=!0){return t?`(${e})`:e}function eP(e){return"Literal"===e.type&&"boolean"==typeof e.value}function e_(e,t){var n;for(let{transformer:n,predicate:r}of[{transformer:eM,predicate:eT},{transformer:e$,predicate:eP},{transformer:ez,predicate:eF}])if(r(e))return n(e,t);return n=e,eU(t.sourceCode.getText(n).trim())}function eM(e,t){let n=t.sourceCode.getText(e.left).trim(),r=t.sourceCode.getText(e.right).trim();if(["<<",">>",">>>","+","-","*","/","%","**","|","^","&","in","instanceof"].includes(e.operator))return`!(${n} ${e.operator} ${r})`;let i={"===":"!==","!==":"===","==":"!=","!=":"==","<":">=",">":"<=","<=":">",">=":"<"}[e.operator];return`${n} ${i} ${r}`}function ez(e,t){return eU(eN(t.sourceCode.getText(e).trim()))}function eU(e){return e.startsWith("!")?e.replace(/^!/u,""):`!${e}`}function e$(e){return e.value?"false":"true"}function eV(e){return ex(e)(eF,eC("||"))}let eH={"&&":"||","||":"&&"};function eW({shouldWrapInParens:e,expressionType:t,context:n,node:r}){var i;let o=r.argument,s="conjunction"===t?"&&":"||";if(o.operator!==s)return null;let a=n.sourceCode.getText(o),u=eH[s],l={expression:o,expressionType:t,sourceOperator:s,targetOperator:u,context:n};return eN((i=a).includes("//")||i.includes("/*")||i.includes("\n")||/\s{2,}/u.test(i)?function({sourceOperator:e,targetOperator:t,expression:n,context:r}){let{sourceCode:i}=r,o=e_(n.left,r),s=e_(n.right,r);if(!n.left.range||!n.right.range)return`${o} ${t} ${s}`;let[,a]=n.left.range,[u]=n.right.range,l=i.text.slice(a,u);/\(\s*$/u.test(l)&&(l=l.replace(/\(\s*$/u,""));let c=l.replaceAll(RegExp(e.replaceAll(/[$()*+.?[\\\]^{|}]/gu,String.raw`\$&`),"gu"),t);return`${o}${c}${s}`}(l):function({expressionType:e,targetOperator:t,expression:n,context:r}){return(function({expressionType:e,expression:t,context:n}){let r=[],i=[{expr:t,depth:0}];for(;i.length>0;){var o;let{depth:t,expr:s}=i.pop();if(t>10||(o=s,"conjunction"===e?!eq(o):!eV(o))){r.push(e_(s,n));continue}i.push({expr:s.right,depth:t+1},{expr:s.left,depth:t+1})}return r})({expressionType:e,expression:n,context:r}).join(` ${t} `)}(l),e)}function eG(e){return(...t)=>!e(...t)}function eJ(...e){return(...t)=>e.some(e=>e(...t))}let eQ="de-morgan",eZ={"no-negated-conjunction":{create:e=>({UnaryExpression:t=>{if(ex(t,e)(eO,e=>eq(e.argument),eR,eJ(eI,eG(eS)))){let n=eW({expressionType:"conjunction",shouldWrapInParens:eq(t.parent),context:e,node:t});if(n){let r=e.sourceCode.getText(t);e.report({data:{original:ej(r),fixed:ej(n)},fix:e=>e.replaceText(t,n),messageId:"convertNegatedConjunction",node:t})}}}}),meta:{docs:{description:"Transforms the negation of a conjunction !(A && B) into the equivalent !A || !B according to De Morgan’s law",url:`https://github.com/${eb}/blob/main/docs/no-negated-conjunction.md`,category:"Best Practices",recommended:!0},messages:{convertNegatedConjunction:"Replace negated conjunction `{{ original }}` with `{{ fixed }}`"},type:"suggestion",fixable:"code",schema:[]}},"no-negated-disjunction":{create:e=>({UnaryExpression:t=>{if(ex(t,e)(eO,e=>eV(e.argument),eR,eJ(eI,eG(eS)))){let n=eW({expressionType:"disjunction",shouldWrapInParens:!1,context:e,node:t});if(n){let r=e.sourceCode.getText(t);e.report({data:{original:ej(r),fixed:ej(n)},fix:e=>e.replaceText(t,n),messageId:"convertNegatedDisjunction",node:t})}}}}),meta:{docs:{description:"Transforms the negation of a disjunction !(A || B) into the equivalent !A && !B according to De Morgan’s law",url:`https://github.com/${eb}/blob/main/docs/no-negated-disjunction.md`,category:"Best Practices",recommended:!0},messages:{convertNegatedDisjunction:"Replace negated disjunction `{{ original }}` with `{{ fixed }}`"},type:"suggestion",fixable:"code",schema:[]}}};function eX(){return Object.fromEntries(Object.keys(eZ).map(e=>[`${eQ}/${e}`,"error"]))}let eY={"recommended-legacy":{plugins:[eQ],rules:eX()},recommended:{plugins:{[eQ]:{rules:eZ}},rules:eX()}},eK=[".js",".jsx",".mjs",".cjs"],e0={plugins:{jsonc:v.memo(z,"eslint-plugin-jsonc")},languageOptions:{parser:U}},e1={"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"},e2={"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","in-try-catch"],"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","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error",camelcase:"off","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","no-use-before-define":"off","@typescript-eslint/no-use-before-define":["error",{functions:!1,classes:!0,variables:!0}],"no-restricted-imports":"off"},e4=[".ts",".cts",".mts",".tsx",".d.ts"],e3=[...e4,".js",".jsx",".mjs",".cjs"];async function e9(e){if(!Q.isCI&&A.stdout.isTTY&&!v.isPackageExists(e,"string"==typeof __dirname?__dirname:void 0)){let{confirm:t}=await Promise.resolve().then(function(){return require("./vendor-C7TA-LLW.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-C7TA-LLW.cjs")}).then(function(e){return e.a}).then(t=>t.installPackage(e,{dev:!0}))}return Promise.resolve(require(e))}let e5={};function e6(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 e8(e.children,t,n)}return Array.isArray(e)?e8(e,t,n):""}function e8(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=e6(e[i],t,n);return r.join("")}let e7={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:""},te={}.hasOwnProperty;function tt(e){return!!te.call(e7,e)&&e7[e]}function tn(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 tr(e,t){return e.length>0?(tn(e,e.length,0,t),e):t}let ti={}.hasOwnProperty;function to(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(ti.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){ti.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]);tn(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}function ts(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 ta(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let tu=tb(/[A-Za-z]/),tl=tb(/[\dA-Za-z]/),tc=tb(/[#-'*+\--9=?A-Z^-~]/);function tp(e){return null!==e&&(e<32||127===e)}let tf=tb(/\d/),td=tb(/[\dA-Fa-f]/),tm=tb(/[!-/:-@[-`{-~]/);function th(e){return null!==e&&e<-2}function tg(e){return null!==e&&(e<0||32===e)}function ty(e){return -2===e||-1===e||32===e}let tD=tb(/\p{P}|\p{S}/u),tk=tb(/\s/);function tb(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function tx(e,t,n,r){let i=r?r-1:1/0,o=0;return function(r){return ty(r)?(e.enter(n),function r(s){return ty(s)&&o++<i?(e.consume(s),r):(e.exit(n),t(s))}(r)):t(r)}}let tF={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"),tx(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 th(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},tw={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,u,l)(t)}return l(t)}function u(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}g(s);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return tn(i.events,o+1,0,i.events.slice(r)),i.events.length=a,l(e)}return a(e)}function l(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(tv,c,p)(n)}function c(e){return t&&y(),g(s),f(e)}function p(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(tv,d,m)(t)}function d(e){return s++,o.push([i.currentConstruct,i.containerState]),f(e)}function m(r){if(null===r){t&&y(),g(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){h(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return th(n)?(e.consume(n),h(e.exit("chunkFlow")),s=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function h(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,u=a;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(g(s),o=a;o<i.events.length;)i.events[o][1].end={...n},o++;tn(i.events,u+1,0,i.events.slice(a)),i.events.length=o}}function g(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}}},tv={tokenize:function(e,t,n){return tx(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function tE(e){return null===e||tg(e)||tk(e)?1:tD(e)?2:void 0}function tC(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}let tA={name:"attention",resolveAll:function(e,t){let n,r,i,o,s,a,u,l,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;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[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let p={...e[n][1].end},f={...e[c][1].start};tS(p,-a),tS(f,a),o={type:a>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[c][1].start={...s.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=tr(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=tr(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=tr(u,tC(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=tr(u,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(l=2,u=tr(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):l=0,tn(e,n-1,c-n+3,u),c=n+u.length-l-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=tE(i);return function(s){return n=s,e.enter("attentionSequence"),function s(a){if(a===n)return e.consume(a),s;let u=e.exit("attentionSequence"),l=tE(a),c=!l||2===l&&o||r.includes(a),p=!o||2===o&&l||r.includes(i);return u._open=!!(42===n?c:c&&(o||!p)),u._close=!!(42===n?p:p&&(l||!c)),t(a)}(s)}}};function tS(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tT={partial:!0,tokenize:function(e,t,n){return function(t){return ty(t)?tx(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||th(e)?t(e):n(e)}}},tI={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return ty(t)?tx(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(tI,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 ty(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},tL={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 tm(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},tB={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"),u):(e.enter("characterReferenceValue"),r=31,i=tl,l(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=td,l):(e.enter("characterReferenceValue"),r=7,i=tf,l(t))}function l(a){if(59===a&&s){let r=e.exit("characterReferenceValue");return i!==tl||tt(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),l):n(a)}}},tq={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)}}},tj={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"),ty(t)?tx(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),ty(i)?tx(e,l,"whitespace")(i):l(i)):n(i)}(t)):n(t)}function l(r){return null===r||th(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,a=0;return function(t){var o;let l;return o=t,s=(l=i.events[i.events.length-1])&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[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"),ty(i)?tx(e,u,"whitespace")(i):u(i))}(o)};function u(o){return null===o||th(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(tq,c,m)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||th(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):ty(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),tx(e,l,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function l(t){return null===t||th(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||th(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,m,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return s>0&&ty(t)?tx(e,d,"linePrefix",s+1)(t):d(t)}function d(t){return null===t||th(t)?e.check(tq,c,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||th(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},tR={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),tx(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):th(n)?e.attempt(tO,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||th(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},tO={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):th(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):tx(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):th(e)?i(e):n(e)}}};class tN{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?1/0: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),1/0);return n&&tP(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),tP(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),tP(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,1/0);tP(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);tP(this.left,t.reverse())}}}function tP(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 t_(e){let t,n,r,i,o,s,a,u={},l=-1,c=new tN(e);for(;++l<c.length;){for(;l in u;)l=u[l];if(t=c.get(l),l&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(l-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(u,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],s=t-1,a=[],u=i._tokenizer;!u&&(u=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));let l=u.events,c=[],p={},f=-1,d=i,m=0,h=0,g=[0];for(;d;){for(;e.get(++s)[1]!==d;);a.push(s),!d._tokenizer&&(n=o.sliceStream(d),d.next||n.push(null),r&&u.defineSkip(d.start),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(h=f+1,g.push(h),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(u.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),f=g.length;f--;){let t=l.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)p[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return p}(c,l)),l=u[l],a=!0);else if(t[1]._container){for(r=l,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,l)).unshift(t),c.splice(n,l-n+1,o))}}return tn(e,0,1/0,c.slice(0)),!a}let tM={resolve:function(e){return t_(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):th(t)?e.check(tz,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}}},tz={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"),tx(e,i,"linePrefix")};function i(i){if(null===i||th(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 tU(e,t,n,r,i,o,s,a,u){let l=u||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),p):null===t||32===t||41===t||tp(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(t))};function p(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),p(t)):null===t||60===t||th(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!c&&(null===i||41===i||tg(i))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):c<l&&40===i?(e.consume(i),c++,m):41===i?(e.consume(i),c--,m):null===i||32===i||40===i||tp(i)?n(i):(e.consume(i),92===i?h:m)}function h(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function t$(e,t,n,r,i,o){let s,a=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),l};function l(p){return u>999||null===p||91===p||93===p&&!s||94===p&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):93===p?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):th(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(t){return null===t||91===t||93===t||th(t)||u++>999?(e.exit("chunkString"),l(t)):(e.consume(t),s||(s=!ty(t)),92===t?p:c)}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function tV(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),u(n))}function u(t){return t===s?(e.exit(o),a(s)):null===t?n(t):th(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),tx(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===s||null===t||th(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:l)}function c(t){return t===s||92===t?(e.consume(t),l):l(t)}}function tH(e,t){let n;return function r(i){return th(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ty(i)?tx(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}let tW={partial:!0,tokenize:function(e,t,n){return function(t){return tg(t)?tH(e,r)(t):n(t)};function r(t){return tV(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return ty(t)?tx(e,o,"whitespace")(t):o(t)}function o(e){return null===e||th(e)?t(e):n(e)}}},tG=["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"],tJ=["pre","script","style","textarea"],tQ={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(tT,t,n)}}},tZ={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return th(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)}}},tX={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&&tn(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 u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=tr(o=[["enter",u,t],["enter",l,t]],e.slice(r+1,r+a+3)),o=tr(o,[["enter",c,t]]),o=tr(o,tC(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=tr(o,[["exit",c,t],e[i-2],e[i-1],["exit",l,t]]),o=tr(o,e.slice(i+1)),o=tr(o,[["exit",u,t]]),tn(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?c(t):(i=o.parser.defined.includes(ta(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(tY,l,i?l:c)(t):91===t?e.attempt(tK,l,i?u:c)(t):i?l(t):c(t)}function u(t){return e.attempt(t0,l,c)(t)}function l(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},tY={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 tg(t)?tH(e,i)(t):i(t)}function i(t){return 41===t?l(t):tU(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return tg(t)?tH(e,a)(t):l(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?tV(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function u(t){return tg(t)?tH(e,l)(t):l(t)}function l(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tK={tokenize:function(e,t,n){let r=this;return function(t){return t$.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(ta(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},t0={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)}}},t1={name:"labelStartImage",resolveAll:tX.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)}}},t2={name:"labelStartLink",resolveAll:tX.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)}}},t4={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),tx(e,t,"linePrefix")}}},t3={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"),ty(n)?tx(e,o,"whitespace")(n):o(n))}(s)):i>=3&&(null===s||th(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},t9={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(tT,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,tx(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!ty(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(t6,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,tx(e,e.attempt(t9,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:tf(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(t3,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return tf(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(tT,r.interrupt?n:u,e.attempt(t5,c,l))}function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function l(t){return ty(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},t5={partial:!0,tokenize:function(e,t,n){let r=this;return tx(e,function(e){let i=r.events[r.events.length-1];return!ty(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},t6={partial:!0,tokenize:function(e,t,n){let r=this;return tx(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)}},t8={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[n][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,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){a="paragraph"===i.events[u][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"),ty(n)?tx(e,o,"lineSuffix")(n):o(n))}(s)):n(t)};function o(r){return null===r||th(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},t7={tokenize:function(e){let t=this,n=e.attempt(tT,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,tx(e,e.attempt(this.parser.constructs.flow,r,e.attempt(tM,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)}}},ne={resolveAll:ni()},nt=nr("string"),nn=nr("text");function nr(e){return{resolveAll:ni("text"===e?no: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 u(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 u(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function u(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 ni(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 no(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,u=0;for(;s--;){let e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){let o={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:i.start._bufferIndex+a,_index:i.start._index+s,line:i.end.line,column:i.end.column-u,offset:i.end.offset-u},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 ns=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,t$.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=ta(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 tg(t)?tH(e,a)(t):a(t)}function a(t){return tU(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(tW,l,l)(t)}function l(t){return ty(t)?tx(e,c,"whitespace")(t):c(t)}function c(o){return null===o||th(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},disable:{null:[]},document:{42:t9,43:t9,45:t9,48:t9,49:t9,50:t9,51:t9,52:t9,53:t9,54:t9,55:t9,56:t9,57:t9,62:tI},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"},tn(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||tg(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||th(r)?(e.exit("atxHeading"),t(r)):ty(r)?tx(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||tg(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:t3,45:[t8,t3],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,u=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),l};function l(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),i=!0,d):63===s?(e.consume(s),r=3,u.interrupt?t:B):tu(s)?(e.consume(s),o=String.fromCharCode(s),m):n(s)}function c(i){return 45===i?(e.consume(i),r=2,p):91===i?(e.consume(i),r=5,s=0,f):tu(i)?(e.consume(i),r=4,u.interrupt?t:B):n(i)}function p(r){return 45===r?(e.consume(r),u.interrupt?t:B):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?u.interrupt?t:v:f:n(r)}function d(t){return tu(t)?(e.consume(t),o=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||tg(s)){let a=47===s,l=o.toLowerCase();return!a&&!i&&tJ.includes(l)?(r=1,u.interrupt?t(s):v(s)):tG.includes(o.toLowerCase())?(r=6,a)?(e.consume(s),h):u.interrupt?t(s):v(s):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(s):i?function t(n){return ty(n)?(e.consume(n),t):F(n)}(s):g(s))}return 45===s||tl(s)?(e.consume(s),o+=String.fromCharCode(s),m):n(s)}function h(r){return 62===r?(e.consume(r),u.interrupt?t:v):n(r)}function g(t){return 47===t?(e.consume(t),F):58===t||95===t||tu(t)?(e.consume(t),y):ty(t)?(e.consume(t),g):F(t)}function y(t){return 45===t||46===t||58===t||95===t||tl(t)?(e.consume(t),y):D(t)}function D(t){return 61===t?(e.consume(t),k):ty(t)?(e.consume(t),D):g(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,b):ty(t)?(e.consume(t),k):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||tg(n)?D(n):(e.consume(n),t)}(t)}function b(t){return t===a?(e.consume(t),a=null,x):null===t||th(t)?n(t):(e.consume(t),b)}function x(e){return 47===e||62===e||ty(e)?g(e):n(e)}function F(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||th(t)?v(t):ty(t)?(e.consume(t),w):n(t)}function v(t){return 45===t&&2===r?(e.consume(t),S):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),q):63===t&&3===r?(e.consume(t),B):93===t&&5===r?(e.consume(t),L):th(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tQ,j,E)(t)):null===t||th(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),v)}function E(t){return e.check(tZ,C,j)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||th(t)?E(t):(e.enter("htmlFlowData"),v(t))}function S(t){return 45===t?(e.consume(t),B):v(t)}function T(t){return 47===t?(e.consume(t),o="",I):v(t)}function I(t){if(62===t){let n=o.toLowerCase();return tJ.includes(n)?(e.consume(t),q):v(t)}return tu(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),I):v(t)}function L(t){return 93===t?(e.consume(t),B):v(t)}function B(t){return 62===t?(e.consume(t),q):45===t&&2===r?(e.consume(t),B):v(t)}function q(t){return null===t||th(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),q)}function j(n){return e.exit("htmlFlow"),t(n)}}},61:t8,95:t3,96:tj,126:tj},flowInitial:{[-2]:tR,[-1]:tR,32:tR},insideSpan:{null:[tA,ne]},string:{38:tB,92:tL},text:{[-5]:t4,[-4]:t4,[-3]:t4,33:t1,38:tB,42:tA,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 tu(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||tl(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||tl(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||tp(r)?n(r):(e.consume(r),s)}function a(t){return 64===t?(e.consume(t),u):tc(t)?(e.consume(t),a):n(t)}function u(i){return tl(i)?function i(o){return 46===o?(e.consume(o),r=0,u):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||tl(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),u):47===t?(e.consume(t),b):63===t?(e.consume(t),D):tu(t)?(e.consume(t),F):n(t)}function u(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),i=0,d):tu(t)?(e.consume(t),y):n(t)}function l(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),p):th(t)?(o=c,I(t)):(e.consume(t),c)}function p(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?T(e):45===e?p(e):c(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),h):th(t)?(o=m,I(t)):(e.consume(t),m)}function h(t){return 93===t?(e.consume(t),g):m(t)}function g(t){return 62===t?T(t):93===t?(e.consume(t),g):m(t)}function y(t){return null===t||62===t?T(t):th(t)?(o=y,I(t)):(e.consume(t),y)}function D(t){return null===t?n(t):63===t?(e.consume(t),k):th(t)?(o=D,I(t)):(e.consume(t),D)}function k(e){return 62===e?T(e):D(e)}function b(t){return tu(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||tl(t)?(e.consume(t),x):function t(n){return th(n)?(o=t,I(n)):ty(n)?(e.consume(n),t):T(n)}(t)}function F(t){return 45===t||tl(t)?(e.consume(t),F):47===t||62===t||tg(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),T):58===t||95===t||tu(t)?(e.consume(t),v):th(t)?(o=w,I(t)):ty(t)?(e.consume(t),w):T(t)}function v(t){return 45===t||46===t||58===t||95===t||tl(t)?(e.consume(t),v):function t(n){return 61===n?(e.consume(n),E):th(n)?(o=t,I(n)):ty(n)?(e.consume(n),t):w(n)}(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):th(t)?(o=E,I(t)):ty(t)?(e.consume(t),E):(e.consume(t),A)}function C(t){return t===r?(e.consume(t),r=void 0,S):null===t?n(t):th(t)?(o=C,I(t)):(e.consume(t),C)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||tg(t)?w(t):(e.consume(t),A)}function S(e){return 47===e||62===e||tg(e)?w(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return ty(t)?tx(e,B,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):B(t)}function B(t){return e.enter("htmlTextData"),o(t)}}}],91:t2,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return th(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},tL],93:tX,95:tA,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(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),s):96===u?(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))}(u)):th(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):(e.enter("codeTextData"),a(u))}function a(t){return null===t||32===t||96===t||th(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),a)}}}}});let na=/[\0\t\n\r]/g,nu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function nl(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return ts(n.slice(t?2:1),t?16:10)}return tt(n)||e}function nc(e){return e&&"object"==typeof e?"position"in e||"type"in e?nf(e.position):"start"in e||"end"in e?nf(e):"line"in e||"column"in e?np(e):"":""}function np(e){return nd(e&&e.line)+":"+nd(e&&e.column)}function nf(e){return np(e&&e.start)+"-"+np(e&&e.end)}function nd(e){return e&&"number"==typeof e?e:1}let nm={}.hasOwnProperty;function nh(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:l,autolinkEmail:l,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:l,characterReference:l,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:l,data:l,codeFlowValue:l,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(h),hardBreakTrailing:r(h),htmlFlow:r(g,i),htmlFlowData:l,htmlText:r(g,i),htmlTextData:l,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(D,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(D),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){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=ts(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tt(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=ng(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:c,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:c,data:c,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=ta(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(p),hardBreakTrailing:s(p),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,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(nu,nl),n.identifier=ta(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=ng(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(l.call(this,e),c.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=ta(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(nm.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:u,data:n},l=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?l.push(c):c=function(e,t,n){let r,i,o,s,a=t-1,u=-1,l=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||u||o||(o=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"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",l=!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=l,n}(e,l.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];nm.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},s),e[c][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||ny).call(s,void 0,e[0])}for(r.position={start:ng(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ng(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](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:ng(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]||ny).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+nc({start:e.start,end:e.end})+"): it’s not open");n.position.end=ng(e.end)}function u(){var e;return e=this.stack.pop(),e6(e,"boolean"!=typeof e5.includeImageAlt||e5.includeImageAlt,"boolean"!=typeof e5.includeHtml||e5.includeHtml)}function l(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:ng(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=ng(e.end)}function p(){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 h(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function D(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!t_(e););return e}((function(e){let t={constructs:to([ns,...(e||{}).extensions||[]]),content:n(tF),defined:[],document:n(tw),flow:n(t7),lazy:{},string:n(nt),text:n(nn)};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=[],u={attempt:m(function(e,t){h(e,t.from)}),check:m(d),consume:function(e){th(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),l.events.push(["enter",n,l]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=f(),l.events.push(["exit",t,l]),t},interrupt:m(d,{interrupt:!0})},l={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},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("")}(p(e),t)},sliceStream:p,write:function(e){return(s=tr(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),c=c(t)}else c=c(n)}}(),null!==s[s.length-1])?[]:(h(t,0),l.events=tC(o,l.events,l),l.events)}},c=t.tokenize.call(l,u);return t.resolveAll&&o.push(t),l;function p(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 c,p,d,m;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function h(e){return(c=e,p=0,0===e.length)?o:y(e[p])}function y(e){return function(n){let i,o,s,c,p;return(i=f(),o=l.previous,s=l.currentConstruct,c=l.events.length,p=Array.from(a),m={from:c,restore:function(){r=i,l.previous=o,l.currentConstruct=s,l.events.length=c,a=p,g()}},d=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name))?k():e.tokenize.call(t?Object.assign(Object.create(l),t):l,u,D,k)(n)}}function D(t){return e(d,m),i}function k(e){return(m.restore(),++p<c.length)?y(c[p]):o}}}function h(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&tn(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function g(){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,u,l,c,p,f=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),l=0,o="",s&&(65279===e.charCodeAt(0)&&l++,s=void 0);l<e.length;){if(na.lastIndex=l,c=(a=na.exec(e))&&void 0!==a.index?a.index:e.length,p=e.charCodeAt(c),!a){o=e.slice(l);break}if(10===p&&l===c&&r)f.push(-3),r=void 0;else switch(r&&(f.push(-5),r=void 0),l<c&&(f.push(e.slice(l,c)),i+=c-l),p){case 0:f.push(65533),i++;break;case 9:for(u=4*Math.ceil(i/4),f.push(-2);i++<u;)f.push(-1);break;case 10:f.push(-4),i=1;break;default:r=!0,i=1}l=c+1}return n&&(r&&f.push(-5),o&&f.push(o),f.push(null)),f})(e,t,!0))))}function ng(e){return{line:e.line,column:e.column,offset:e.offset}}function ny(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+nc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+nc({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+nc({start:t.start,end:t.end})+") is still open")}let nD=new Set(["eol-last","unicode-bom"]),nk=new Map,nb=/^[>\s]*/u;function nx(e){return e.position.start.offset-e.position.start.column+1}function nF(e,t){return nb.exec(e.slice(nx(t)))[0]}let nw=/filename=(?<quote>["'])(?<filename>.*?)\1/u,nv={javascript:"js",ecmascript:"js",typescript:"ts",markdown:"md"};function nE(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,`
|
|
6
|
-
${e.baseIndentText}`)}}function nC(e){return e&&!nD.has(e.ruleId)}var nA={},nS={exports:{}},nT={exports:{}};function nI(){if(h)return m;h=1;var e,t,n,r,g,y,D,k,b={}.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()}return e=function(){if(o)return i;o=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)}),i={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(a)return s;a=1;var e,t,n,r,i,o,u,l,c,p,f,d,m,h,g,y,D,k,b,x,F,w,v,E,C,A,S,T,I,L,B,q,j,R,O,N,P,_,M,z,U,$,V,H,W,G,J,Q,Z,X,Y={}.toString;function K(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 ee(e,t){for(var n=-1,r=t.length>>>0;++n<r;)if(e===t[n])return!0;return!1}function et(e){return!e}return e=K(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)e(t[n]);return t}),t=K(function(e,t){var n,r,i=[];for(n=0,r=t.length;n<r;++n)i.push(e(t[n]));return i}),n=K(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=K(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=K(function(e,t){var n,r;return n=J(e,t),r=t.slice(),null!=n&&r.splice(n,1),r}),o=K(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]}),u=K(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(e(i=t[n]))return i}),l=c=function(e){return e[0]},p=K(function(e,t){var n,r,i,o,s,a=[];for(r=0,n=[],i=t.length;r<i;++r)ee(s=e(o=t[r]),n)||(n.push(s),a.push(o));return a}),f=d=K(function(e,t,n){var r,i;for(r=0,i=n.length;r<i;++r)t=e(t,n[r]);return t}),m=h=K(function(e,t){return f(e,t[0],t.slice(1))}),g=K(function(e,t,n){var r;for(r=n.length-1;r>=0;--r)t=e(n[r],t);return t}),y=K(function(e,t){return g(e,t[t.length-1],t.slice(0,-1))}),D=K(function(e,t){var n,r,i;for(n=[],r=t;null!=(i=e(r));)n.push(i[0]),r=i[1];return n}),k=K(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}())}),b=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"===Y.call(t).slice(8,-1)?i.push(b(t)):i.push(t);return i}())},x=K(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}),F=K(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}),w=K(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(e(t[n]))return!0;return!1}),v=K(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(!e(t[n]))return!1;return!0}),E=K(function(e,t){return t.concat().sort(e)}),C=K(function(e,t){return t.concat().sort(function(t,n){return e(t)>e(n)?1:e(t)<e(n)?-1:0})}),A=S=function(e){var t,n,r;for(n=0,t=0,r=e.length;n<r;++n)t+=e[n];return t/e.length},T=K(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}),I=K(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}),L=B=K(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}())}),q=j=K(function(e,t){if(t.length)return L(e,t[0],t.slice(1))}),R=K(function(e,t,n){return L(e,t,n=n.concat().reverse()).reverse()}),O=K(function(e,t){if(t.length)return L(e,(t=t.concat().reverse())[0],t.slice(1)).reverse()}),N=K(function(e,t,n){return n.slice(e,t)}),P=K(function(e,t){return e<=0?t.slice(0,0):t.slice(0,e)}),_=K(function(e,t){return e<=0?t:t.slice(e)}),M=K(function(e,t){return[P(e,t),_(e,t)]}),z=K(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)}),U=K(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)}),$=K(function(e,t){return[z(e,t),U(e,t)]}),V=K(function(e,t){return $(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,et),t)}),H=K(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=K(function(e,t,n){var r,i,o,s,a,u;for(o=0,r=[],i=n.length,s=t.length;o<s&&(a=o,u=t[o],a!==i);++o)r.push(e(u,n[a]));return r}),G=K(function(e,t){return e<0?t[t.length+e]:t[e]}),J=K(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,t[n]===e)return i}),Q=K(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}),Z=K(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,e(t[n]))return i}),X=K(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}),s={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:u,head:l,first:c,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,u;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];e:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],u=t.length;a<u;++a)if(ee(s,t[a]))continue e;i.push(s)}return i},intersection:function(e){var t,n,r,i,o,s,a,u;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];e:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],u=t.length;a<u;++a)if(!ee(s,t[a]))continue e;i.push(s)}return i},union:function(){var e,t,n,r,i,o,s,a,u;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)ee(u=o[s],r)||r.push(u);return r},countBy:x,groupBy:F,fold:f,fold1:m,foldl:d,foldl1:h,foldr:g,foldr1:y,unfoldr:D,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:w,all:v,unique:function(e){var t,n,r,i;for(n=0,t=[],r=e.length;n<r;++n)ee(i=e[n],t)||t.push(i);return t},uniqueBy:p,sort:function(e){return e.concat().sort(function(e,t){return e>t?1:e<t?-1:0})},sortWith:E,sortBy:C,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:A,average:S,concat:function(e){return[].concat.apply([],e)},concatMap:k,flatten:b,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:T,minimumBy:I,scan:L,scan1:q,scanl:B,scanl1:j,scanr:R,scanr1:O,slice:N,take:P,drop:_,splitAt:M,takeWhile:z,dropWhile:U,span:$,breakList:V,zip:H,zipWith:W,zipAll:function(){var e,t,n,r,i,o,s,a,u,l,c=[];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(l=0,a=t,u=[],i=e.length;l<i;++l)o=e[l],u.push(o[a]);c.push(u)}return c},zipAllWith:function(e){var t,n,r,i,o,s,a,u,l=[];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)u=n,l.push(e.apply(null,function(){var e,n,r=[];for(e=0,n=t.length;e<n;++e)r.push((s=t[e])[u]);return r}()));return l},at:G,elemIndex:J,elemIndices:Q,findIndex:Z,findIndices:X}}(),n=function(){var e,t,n,r,i;if(l)return u;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 l=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}),u={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(p)return c;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 p=1,e=t(function(e,t){return t.split(e)}),c={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()})}}}(),g=function(){var e,t,n,r,i,o,s,a,u,l,c,p,m,h,g,y,D,k,b,x,F,w,v,E;if(d)return f;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 d=1,e=C(function(e,t){return e>t?e:t}),t=C(function(e,t){return e<t?e:t}),n=Math.abs,r=C(function(e,t){return~~(e/t)}),i=C(function(e,t){return e%t}),o=C(function(e,t){return Math.floor(e/t)}),s=C(function(e,t){return(e%t+t)%t}),a=Math.PI,u=Math.exp,l=Math.sqrt,c=Math.log,p=C(function(e,t){return Math.pow(e,t)}),m=Math.sin,h=Math.tan,g=Math.cos,y=Math.asin,D=Math.acos,k=Math.atan,b=C(function(e,t){return Math.atan2(e,t)}),x=Math.round,F=Math.ceil,w=Math.floor,v=C(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}),E=C(function(e,t){return Math.abs(Math.floor(e/v(e,t)*t))}),f={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:u,sqrt:l,ln:c,pow:p,sin:m,tan:h,cos:g,acos:D,asin:y,atan:k,atan2:b,truncate:function(e){return~~e},round:x,ceiling:F,floor:w,isItNaN:function(e){return e!=e},even:function(e){return e%2==0},odd:function(e){return e%2!=0},gcd:v,lcm:E}}(),y=x(function(e,t){return b.call(t).slice(8,-1)===e}),D=x(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,(k={Func:e,List:t,Obj:n,Str:r,Num:g,id:function(e){return e},isType:y,replicate:D}).each=t.each,k.map=t.map,k.filter=t.filter,k.compact=t.compact,k.reject=t.reject,k.partition=t.partition,k.find=t.find,k.head=t.head,k.first=t.first,k.tail=t.tail,k.last=t.last,k.initial=t.initial,k.empty=t.empty,k.reverse=t.reverse,k.difference=t.difference,k.intersection=t.intersection,k.union=t.union,k.countBy=t.countBy,k.groupBy=t.groupBy,k.fold=t.fold,k.foldl=t.foldl,k.fold1=t.fold1,k.foldl1=t.foldl1,k.foldr=t.foldr,k.foldr1=t.foldr1,k.unfoldr=t.unfoldr,k.andList=t.andList,k.orList=t.orList,k.any=t.any,k.all=t.all,k.unique=t.unique,k.uniqueBy=t.uniqueBy,k.sort=t.sort,k.sortWith=t.sortWith,k.sortBy=t.sortBy,k.sum=t.sum,k.product=t.product,k.mean=t.mean,k.average=t.average,k.concat=t.concat,k.concatMap=t.concatMap,k.flatten=t.flatten,k.maximum=t.maximum,k.minimum=t.minimum,k.maximumBy=t.maximumBy,k.minimumBy=t.minimumBy,k.scan=t.scan,k.scanl=t.scanl,k.scan1=t.scan1,k.scanl1=t.scanl1,k.scanr=t.scanr,k.scanr1=t.scanr1,k.slice=t.slice,k.take=t.take,k.drop=t.drop,k.splitAt=t.splitAt,k.takeWhile=t.takeWhile,k.dropWhile=t.dropWhile,k.span=t.span,k.breakList=t.breakList,k.zip=t.zip,k.zipWith=t.zipWith,k.zipAll=t.zipAll,k.zipAllWith=t.zipAllWith,k.at=t.at,k.elemIndex=t.elemIndex,k.elemIndices=t.elemIndices,k.findIndex=t.findIndex,k.findIndices=t.findIndices,k.apply=e.apply,k.curry=e.curry,k.flip=e.flip,k.fix=e.fix,k.over=e.over,k.split=r.split,k.join=r.join,k.lines=r.lines,k.unlines=r.unlines,k.words=r.words,k.unwords=r.unwords,k.chars=r.chars,k.unchars=r.unchars,k.repeat=r.repeat,k.capitalize=r.capitalize,k.camelize=r.camelize,k.dasherize=r.dasherize,k.values=n.values,k.keys=n.keys,k.pairsToObj=n.pairsToObj,k.objToPairs=n.objToPairs,k.listsToObj=n.listsToObj,k.objToLists=n.objToLists,k.max=g.max,k.min=g.min,k.negate=g.negate,k.abs=g.abs,k.signum=g.signum,k.quot=g.quot,k.rem=g.rem,k.div=g.div,k.mod=g.mod,k.recip=g.recip,k.pi=g.pi,k.tau=g.tau,k.exp=g.exp,k.sqrt=g.sqrt,k.ln=g.ln,k.pow=g.pow,k.sin=g.sin,k.tan=g.tan,k.cos=g.cos,k.acos=g.acos,k.asin=g.asin,k.atan=g.atan,k.atan2=g.atan2,k.truncate=g.truncate,k.round=g.round,k.ceiling=g.ceiling,k.floor=g.floor,k.isItNaN=g.isItNaN,k.even=g.even,k.odd=g.odd,k.gcd=g.gcd,k.lcm=g.lcm,k.VERSION="1.2.1",m=k}var nL=nT.exports,nB={exports:{}},nq={exports:{}},nj={exports:{}},nR=nj.exports,nO={exports:{}},nN=nO.exports,nP=nq.exports;function n_(){return k||(k=1,(function(){var e,t;y||(y=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,u,l,c;for(t={},i(e,"{"),s=!1;;){if(o(e,"...")){s=!0;break}if(l=(u=function(e){var t;return t=r(e),i(e,":"),[t,a(e)]}(e))[0],c=u[1],t[l]=c,o(e,","),"}"===n(e))break}return i(e,"}"),{structure:"fields",of:t,subset:s}}(e)}}function a(t){var a,u,l,c,p,f;if("::"===n(t))throw Error("No comment before comment separator '::' found.");for(null!=(a=t[1])&&"::"===a&&(t.shift(),t.shift()),u=[],l={},"Maybe"===n(t)&&(t.shift(),u=[{type:"Undefined"},{type:"Null"}],l={Undefined:!0,Null:!0});p=(c=function(t){var o,a,u,l;if((a="*"===(o=n(t)))||e.test(o))return(u=a?i(t,"*"):r(t),l=s(t))?(l.type=u,l):{type:u};if(!(l=s(t)))throw Error("Unexpected character: "+o);return l}(t)).type,f=c.structure,l[p]||u.push(c),null==f&&(l[p]=!0),o(t,"|"););return u}t=RegExp("\\.\\.\\.|::|->|"+(e=/[\$\w]+/).source+"|\\S","g"),nj.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(nR)),e=nj.exports,D||(D=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,l,c;for(o in r={},i=0,e)r[o]=!0,i++;for(a in s=0,l=t.of){if(c=l[a],!u(e[a],c,n))return!1;r[a]&&s++}return t.subset||i===s}(e,t,r);case"array":return n(function(e){return u(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],!u(e[r],a,n))return!1;r++}return e.length<=r}(e,t,r)}}function u(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,u,l,c;if(n=t.type,u=t.structure,n)return"*"===n||((l=r.customTypes[n]||i[n])?(void 0===l.typeOf||l.typeOf===s.call(e).slice(8,-1))&&l.validate(e):n===s.call(e).slice(8,-1)&&(!u||a(e,t,r)));if(u)return(!(c=o[u])||c===s.call(e).slice(8,-1))&&a(e,t,r);throw Error("No type defined. Input: "+e+".")},n)}t=(e=nI()).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"},nO.exports=function(e,t,n){return null==n&&(n={}),null==n.customTypes&&(n.customTypes={}),u(t,e,n)}}).call(nN)),nq.exports={VERSION:"0.4.0",typeCheck:function(n,r,i){return t(e(n),r,i)},parsedTypeCheck:t=nO.exports,parseType:e}}).call(nP)),nq.exports}var nM=nB.exports,nz=nS.exports,nU=function(){if(F)return nA;F=1;var e=(x||(x=1,(function(){var e,t,n,r;g||(g=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,u;for(o=t[0],s=t[1],n&&r(e,o),a=[],u=","+(n?s:"");e.length&&n&&e[0]!==s;)a.push(c(e,u)),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 u(e,t){var n,o,s;for(t&&r(e,"{"),n={},o=","+(t?"}":"");e.length&&(!t||"}"!==e[0]);)s=l(e,":"),r(e,":"),n[s]=c(e,o),i(e,",");return t&&r(e,"}"),n}function l(e,t){var n;for(null==t&&(t=""),n="";e.length&&-1===t.indexOf(e[0]);)n+=e.shift();return n}function c(e,t){switch(e[0]){case"[":return s(e,!0);case"(":return a(e,!0);case"{":return u(e,!0);default:return l(e,t)}}function p(e){return!e}e=nI().reject,n=RegExp("(\"(?:\\\\\"|[^\"])*\")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|(["+(t=/\[\]\(\)}{:,/.source)+"])|([^\\s"+t+"](?:\\s*[^\\s"+t+"]+)*)|\\s*"),nT.exports=function(t,r,i){var o,l,f,d,m,h,g,y,D;if(null==i&&(i={}),!i.explicit&&1===t.length&&"String"===t[0].type)return r;if(l=e(p,r.split(n)),f=i,m=(d=t[0]).type,h=d.structure,g=l.concat(),f.explicit||1!==t.length||(m||!h)&&"Array"!==m&&"Object"!==m?D=c(l):(y="array"===h||"Array"===m?s(l,"["===l[0]):"tuple"===h?a(l,"("===l[0]):u(l,"{"===l[0]),D=l.length?c(("array"===h||"Array"===m?(g.unshift("["),g.push("]")):(g.unshift("("),g.push(")")),g)):y),!(o=D))throw Error("Error parsing '"+r+"'.");return o}}).call(nL)),e=nT.exports,b||(b=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 u,l,c,p;if(u=o.type,l=o.structure,u){if(!(c=(null!=(p=a.customTypes[u])?p.cast:void 0)||t[u]))throw Error("Type not defined: "+u+".");return c(e,a,s)}switch(l){case"array":return r(e,o,a);case"tuple":return function(e,t,r){var i,o,a,u,l,c,p;if("Array"!==n.call(e).slice(8,-1))return{type:"Nothing"};for(a=0,i=[],o=0,l=(u=t.of).length;a<l;++a)c=u[a],p=s(e[o],c,r),"Undefined"!==n.call(p).slice(8,-1)&&i.push(p),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,u,l,c;for(i=0,s=n.length;i<s;++i)if(l=(u=o(t,a=n[i],r)).type,c=u.value,"Nothing"!==l&&e([a],c,{customTypes:r.customTypes}))return c;throw Error("Value "+JSON.stringify(t)+" does not type check against "+JSON.stringify(n)+".")}e=n_().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}}},nB.exports=function(e,t,n){return n.explicit||1!==t.length||"String"!==t[0].type?s(e,t,n):e}}).call(nM)),t=nB.exports,n=n_().parseType,nS.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(nz)),nS.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 nA.CallMethodStep=class{type="call";kind=2;target;args;constructor({target:e,args:t}){this.target=e,this.args=t}},nA.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/])([-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}#e(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.#e(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)}},nA.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}},nA.TextSourceCodeBase=class{#t=[];#n=[0];#r;ast;text;constructor({text:e,ast:t,lineEndingPattern:n=/\r?\n/u}){this.ast=t,this.text=e,this.#r=new RegExp(n.source,n.flags.replace(/[gy]/gu,""))}#i(e){let t=this.#r.exec(e);return!!t&&(this.#t.push(e.slice(0,t.index)),this.#n.push((this.#n.at(-1)??0)+t.index+t[0].length),!0)}#o(){if(this.#t.length!==this.#n.length){for(;this.#i(this.text.slice(this.#n.at(-1))););this.#t.push(this.text.slice(this.#n.at(-1))),Object.freeze(this.#t)}}#s(e){if(!(e<=(this.#n.at(-1)??0)))for(;e>(this.#n.at(-1)??0)&&this.#i(this.text.slice(this.#n.at(-1))););}#a(e,t){let n=e.line-t+1-(this.#n.length-1);if(!(n<=0))for(;n>0&&this.#i(this.text.slice(this.#n.at(-1)));)n-=1}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.")}getLocFromIndex(e){if("number"!=typeof e)throw TypeError("Expected `index` to be a number.");if(e<0||e>this.text.length)throw RangeError(`Index out of range (requested index ${e}, but source text has length ${this.text.length}).`);let{start:{line:t,column:n},end:{line:r,column:i}}=this.getLoc(this.ast);if(0===e)return{line:t,column:n};if(e===this.text.length)return{line:r,column:i};this.#s(e);let o=(e>=(this.#n.at(-1)??0)?this.#n.length:function(e,t){let n=0,r=e.length-1;for(;n<r;){let i=(n+r)/2|0;t<e[i]?r=i:n=i+1}return n}(this.#n,e))-1+t;return{line:o,column:e-this.#n[o-t]+n}}getIndexFromLoc(e){if(null===e||"object"!=typeof e||"number"!=typeof e.line||"number"!=typeof e.column)throw TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");let{start:{line:t,column:n},end:{line:r,column:i}}=this.getLoc(this.ast);if(e.line<t||r<e.line)throw RangeError(`Line number out of range (line ${e.line} requested). Valid range: ${t}-${r}`);if(e.line===t&&e.column===n)return 0;if(e.line===r&&e.column===i)return this.text.length;this.#a(e,t);let o=e.line===r,s=this.#n[e.line-t],a=o?this.text.length:this.#n[e.line-t+1],u=s+e.column-n;if(e.column<n||o&&u>a||!o&&u>=a)throw RangeError(`Column number out of range (column ${e.column} requested). Valid range for line ${e.line}: ${n}-${a-s+n+(o?0:-1)}`);return u}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.#o(),this.#t}traverse(){throw Error("Not implemented.")}},nA.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}},nA}();let n$=/\r\n|[\r\n]/u,nV=/\]\[\s+\]$/u,nH=/<!--[\s\S]*?-->/gu;function nW(e,t){if(!t)return!1;for(let n of e.split(n$))if(t.test(n))return!0;return!1}function nG(e){return e.replace(nH,e=>e.replace(/[^\r\n]/g," "))}let nJ=new nU.ConfigCommentParser,nQ=/<!--\s*eslint(?:-enable|-disable(?:(?:-next)?-line)?)?(?:\s|-->)/u,nZ=/<!--(.*?)-->/gsu;class nX{value;position;constructor({value:e,position:t}){this.value=e.trim(),this.position=t}}class nY extends nU.TextSourceCodeBase{#u;#l=new WeakMap;#c=[];#p;ast=void 0;constructor({text:e,ast:t}){super({ast:t,text:e,lineEndingPattern:n$}),this.ast=t,this.traverse()}getParent(e){return this.#l.get(e)}getInlineConfigNodes(){return this.#p||(this.#p=this.#c.flatMap(e=>(function(e,t){let n;if(!nQ.test(e.value))return[];let r=[];for(;n=nZ.exec(e.value);)if(nQ.test(n[0])){let i=n.index+e.position.start.offset,o=i+n[0].length;r.push(new nX({value:n[1].trim(),position:{start:{...t.getLocFromIndex(i),offset:i},end:{...t.getLocFromIndex(o),offset:o}}}))}return r})(e,this))),this.#p}getDisableDirectives(){let e=[],t=[];return this.getInlineConfigNodes().forEach(n=>{let{label:r,value:i,justification:o}=nJ.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 nU.Directive({type:e,node:n,value:i,justification:o}))}}}),{problems:e,directives:t}}applyInlineConfig(){let e=[],t=[];return this.getInlineConfigNodes().forEach(n=>{let{label:r,value:i}=nJ.parseDirective(n.value);if("eslint"===r){let r=nJ.parseJSONLikeConfig(i);r.ok?t.push({config:{rules:r.config},loc:n.position}):e.push({ruleId:null,message:r.error.message,loc:n.position})}}),{configs:t,problems:e}}traverse(){if(this.#u)return this.#u.values();let e=this.#u=[],t=(n,r)=>{this.#l.set(n,r),e.push(new nU.VisitNodeStep({target:n,phase:1,args:[n,r]})),"html"===n.type&&this.#c.push(n),n.children&&n.children.forEach(e=>{t(e,n)}),e.push(new nU.VisitNodeStep({target:n,phase:2,args:[n,r]}))};return t(this.ast),e.values()}}var nK={exports:{}},n0=function(){var e;if(w)return nK.exports;function t(e){for(var t,n,r,i,o=1,s=[].slice.call(arguments),a=0,u=e.length,l="",c=!1,p=!1,f=function(){return s[o++]};a<u;++a)if(t=e[a],c)switch(c=!1,"."==t?(p=!1,t=e[++a]):"0"==t&&"."==e[a+1]?(p=!0,a+=2,t=e[a]):p=!0,i=function(){for(var n="";/\d/.test(e[a]);)n+=e[a++],t=e[a];return n.length>0?parseInt(n):null}(),t){case"b":l+=parseInt(f(),10).toString(2);break;case"c":"string"==typeof(n=f())||n instanceof String?l+=n:l+=String.fromCharCode(parseInt(n,10));break;case"d":l+=parseInt(f(),10);break;case"f":r=String(parseFloat(f()).toFixed(i||6)),l+=p?r:r.replace(/^0/,"");break;case"j":l+=JSON.stringify(f());break;case"o":l+="0"+parseInt(f(),10).toString(8);break;case"s":l+=f();break;case"x":l+="0x"+parseInt(f(),10).toString(16);break;case"X":l+="0x"+parseInt(f(),10).toString(16).toUpperCase();break;default:l+=t}else"%"===t?c=!0:l+=t;return l}return w=1,(e=nK.exports=t).format=t,e.vsprintf=function(e,n){return t.apply(null,[e].concat(n))},"undefined"!=typeof console&&"function"==typeof console.log&&(e.printf=function(){console.log(t.apply(null,arguments))}),nK.exports}(),n1=Z.g(n0);let n2=Object.assign(n4(Error),{eval:n4(EvalError),range:n4(RangeError),reference:n4(ReferenceError),syntax:n4(SyntaxError),type:n4(TypeError),uri:n4(URIError)});function n4(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){return new e(n?n1(n,...r):n)}}let n3={}.hasOwnProperty,n9={yaml:"-",toml:"+"};function n5(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=function(e){let t=e;if("string"==typeof t){if(!n3.call(n9,t))throw n2("Missing matter definition for `%s`",t);t={type:t,marker:n9[t]}}else if("object"!=typeof t)throw n2("Expected matter to be an object, not `%j`",t);if(!n3.call(t,"type"))throw n2("Missing `type` in matter `%j`",t);if(!n3.call(t,"fence")&&!n3.call(t,"marker"))throw n2("Missing `marker` or `fence` in matter `%j`",t);return t}(r[n]);return t}function n6(e){let t=n5(e),n={},r=-1;for(;++r<t.length;){let e=t[r],i=n8(e,"open").charCodeAt(0),o=function(e){let t,n=e.anywhere,r=e.type,i=r+"Fence",o=i+"Sequence",s=r+"Value",a={tokenize:function(e,n,r){let s=0;return function(n){return n===t.charCodeAt(s)?(e.enter(i),e.enter(o),function n(i){return s===t.length?(e.exit(o),ty(i))?(e.enter("whitespace"),function t(n){return ty(n)?(e.consume(n),t):(e.exit("whitespace"),a(n))}(i)):a(i):i===t.charCodeAt(s++)?(e.consume(i),n):r(i)}(n)):r(n)};function a(t){return null===t||th(t)?(e.exit(i),n(t)):r(t)}},partial:!0},u=0;return{tokenize:function(l,c,p){let f=this;return function(s){let a=f.now();return 1===a.column&&(1===a.line||n)&&(t=n8(e,"open"),u=0,s===t.charCodeAt(u))?(l.enter(r),l.enter(i),l.enter(o),function e(n){return u===t.length?(l.exit(o),ty(n))?(l.enter("whitespace"),function e(t){return ty(t)?(l.consume(t),e):(l.exit("whitespace"),d(t))}(n)):d(n):n===t.charCodeAt(u++)?(l.consume(n),e):p(n)}(s)):p(s)};function d(n){return th(n)?(l.exit(i),l.enter("lineEnding"),l.consume(n),l.exit("lineEnding"),t=n8(e,"close"),u=0,l.attempt(a,g,m)):p(n)}function m(e){return null===e||th(e)?h(e):(l.enter(s),function e(t){return null===t||th(t)?(l.exit(s),h(t)):(l.consume(t),e)}(e))}function h(e){return null===e?p(e):(l.enter("lineEnding"),l.consume(e),l.exit("lineEnding"),l.attempt(a,g,m))}function g(e){return l.exit(r),c(e)}},concrete:!0}}(e),s=n[i];Array.isArray(s)?s.push(o):n[i]=[o]}return{flow:n}}function n8(e,t){return e.marker?n7(e.marker,t).repeat(3):n7(e.fence,t)}function n7(e,t){return"string"==typeof e?e:e[t]}function re(e){let t=n5(e),n={},r={},i=-1;for(;++i<t.length;){let e=t[i];n[e.type]=function(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}(e),r[e.type]=rt,r[e.type+"Value"]=rn}return{enter:n,exit:r}}function rt(e){let t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function rn(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function rr(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}let ri=function(e){var t,n;if(null==e)return rs;if("function"==typeof e)return ro(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=ri(e[n]);return ro(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,ro(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,ro(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function ro(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 rs(){return!0}let ra=[];function ru(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function rl(e){this.config.enter.autolinkProtocol.call(this,e)}function rc(e){this.config.exit.autolinkProtocol.call(this,e)}function rp(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 rf(e){this.config.exit.autolinkEmail.call(this,e)}function rd(e){this.exit(e)}function rm(e){!function(e,t,n){let r=ri((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=ri(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,u,l,c=ra;if(i(t,r,o[o.length-1]||void 0)&&!1===(c=Array.isArray(s=n(t,o))?s:"number"==typeof s?[!0,s]:null==s?ra:[s])[0])return c;if("children"in t&&t.children&&t.children&&"skip"!==c[0])for(u=0,l=o.concat(t);u>-1&&u<t.children.length;){if(!1===(a=e(t.children[u],u,l)())[0])return a;u="number"==typeof a[1]?a[1]:u+1}return c}})(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,u=n.children.indexOf(e),l=!1,c=[];r.lastIndex=0;let p=r.exec(e.value);for(;p;){let n=p.index,i={index:p.index,input:p.input,stack:[...t,e]},o=s(...p,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&c.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?c.push(...o):o&&c.push(o),a=n+p[0].length,l=!0),!r.global)break;p=r.exec(e.value)}return l?(a<e.value.length&&c.push({type:"text",value:e.value.slice(a)}),n.children.splice(u,1,...c)):c=[e],u+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,rh],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,rg]],{ignore:["link","linkReference"]})}function rh(e,t,n,r,i){let o,s="";if(!ry(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",s="http://"),(o=n.split(".")).length<2||o[o.length-1]&&(/_/.test(o[o.length-1])||!/[a-zA-Z\d]/.test(o[o.length-1]))||o[o.length-2]&&(/_/.test(o[o.length-2])||!/[a-zA-Z\d]/.test(o[o.length-2])))return!1;let a=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=rr(e,"("),o=rr(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(!a[0])return!1;let u={type:"link",title:null,url:s+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[u,{type:"text",value:a[1]}]:u}function rg(e,t,n,r){return!(!ry(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ry(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||tk(n)||tD(n))&&(!t||47!==n)}function rD(){this.buffer()}function rk(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function rb(){this.buffer()}function rx(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function rF(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ta(this.sliceSerialize(e)).toLowerCase(),n.label=t}function rw(e){this.exit(e)}function rv(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ta(this.sliceSerialize(e)).toLowerCase(),n.label=t}function rE(e){this.exit(e)}function rC(e){this.enter({type:"delete",children:[]},e)}function rA(e){this.exit(e)}function rS(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 rT(e){this.exit(e),this.data.inTable=void 0}function rI(e){this.enter({type:"tableRow",children:[]},e)}function rL(e){this.exit(e)}function rB(e){this.enter({type:"tableCell",children:[]},e)}function rq(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,rj));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function rj(e,t){return"|"===t?t:e}function rR(e){let t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function rO(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)}let rN={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},rP={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(rM,u,a)(t):null===t||tg(t)||tk(t)||45!==t&&tD(t)?u(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 u(e){return i||r||!o?n(e):t(e)}},partial:!0},r_={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(rM,t,o)(s):null===s||tg(s)||tk(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},rM={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||tg(s)||tk(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||tg(e)||tk(e)?t(e):r(e)}function o(t){return tu(t)?function t(i){return 59===i?(e.consume(i),r):tu(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},rz={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return tl(e)?n(e):t(e)}},partial:!0},rU={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!rG.call(r,r.previous)||rX(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rN,e.attempt(rP,e.attempt(r_,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:rG},r$={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",o=!1;return function(t){return(72===t||104===t)&&rJ.call(r,r.previous)&&!rX(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if(tu(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)?u:(o=!0,a):n(t)}function u(t){return null===t||tp(t)||tg(t)||tk(t)||tD(t)?n(t):e.attempt(rP,e.attempt(r_,l),n)(t)}function l(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:rJ},rV={name:"emailAutolink",tokenize:function(e,t,n){let r,i,o=this;return function(t){return!rZ(t)||!rQ.call(o,o.previous)||rX(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return rZ(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(rz,u,a)(t):45===t||95===t||tl(t)?(i=!0,e.consume(t),s):u(t)}function a(t){return e.consume(t),r=!0,s}function u(s){return i&&r&&tu(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:rQ},rH={},rW=48;for(;rW<123;)rH[rW]=rV,58==++rW?rW=65:91===rW&&(rW=97);function rG(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||tg(e)}function rJ(e){return!tu(e)}function rQ(e){return!(47===e||rZ(e))}function rZ(e){return 43===e||45===e||46===e||95===e||tl(e)}function rX(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}rH[43]=rV,rH[45]=rV,rH[46]=rV,rH[95]=rV,rH[72]=[rV,r$],rH[104]=[rV,r$],rH[87]=[rV,rU],rH[119]=[rV,rU];let rY={tokenize:function(e,t,n){let r=this;return tx(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 rK(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=ta(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 r0(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 r1(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",u)}function u(a){if(s>999||93===a&&!r||null===a||91===a||tg(a))return n(a);if(93===a){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes(ta(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return tg(a)||(r=!0),s++,e.consume(a),92===a?l:u}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function r2(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"),u};function u(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!i||null===t||91===t||tg(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=ta(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return tg(t)||(i=!0),a++,e.consume(t),92===t?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),tx(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function r4(e,t,n){return e.check(tT,t,e.attempt(rY,t,n))}function r3(e){e.exit("gfmFootnoteDefinition")}class r9{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 r5(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?D:a;return o===D&&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),u(n)}function u(t){return null===t?n(t):th(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):ty(t)?tx(e,u,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,u):(e.enter("data"),l(t))}function l(t){return null===t||124===t||tg(t)?(e.exit("data"),u(t)):(e.consume(t),92===t?c:l)}function c(t){return 92===t||124===t?(e.consume(t),l):l(t)}function p(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,ty(t))?tx(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 ty(t)?tx(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"),h):45===t?(s+=1,h(t)):null===t||th(t)?y(t):n(t)}function h(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"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return ty(t)?tx(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return f(i);if(null===i||th(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function D(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||th(n)?(e.exit("tableRow"),t(n)):ty(n)?tx(e,k,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||tg(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?x:b)}function x(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function r6(e,t){let n,r,i,o=-1,s=!0,a=0,u=[0,0,0,0],l=[0,0,0,0],c=!1,p=0,f=new r9;for(;++o<e.length;){let d=e[o],m=d[1];"enter"===d[0]?"tableHead"===m.type?(c=!1,0!==p&&(r7(f,t,p,n,r),r=void 0,p=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,u=[0,0,0,0],l=[0,o+1,0,0],c&&(c=!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===l[2]&&(0!==u[1]&&(l[0]=l[1],i=r8(f,t,u,a,void 0,i),u=[0,0,0,0]),l[2]=o)):"tableCellDivider"===m.type&&(s?s=!1:(0!==u[1]&&(l[0]=l[1],i=r8(f,t,u,a,void 0,i)),l=[(u=l)[1],o,0,0])):"tableHead"===m.type?(c=!0,p=o):"tableRow"===m.type||"tableDelimiterRow"===m.type?(p=o,0!==u[1]?(l[0]=l[1],i=r8(f,t,u,a,o,i)):0!==l[1]&&(i=r8(f,t,l,a,o,i)),a=0):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(l[3]=o)}for(0!==p&&r7(f,t,p,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 r8(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},ie(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let s=ie(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=ie(t.events,n[2]),o=ie(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({},ie(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function r7(e,t,n,r,i){let o=[],s=ie(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 ie(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let it={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 tg(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 th(r)?t(r):ty(r)?e.check({tokenize:ir},t,n)(r):n(r)}}};function ir(e,t,n){return tx(e,function(e){return null===e?n(e):t(e)},"whitespace")}let ii={type:"json",marker:"-"};class io{fileType="text";lineStart=1;columnStart=1;nodeTypeKey="type";defaultLanguageOptions={frontmatter:!1};#f="commonmark";constructor({mode:e}={}){e&&(this.#f=e)}validateLanguageOptions(e){let t=e?.frontmatter,n=new Set([!1,"yaml","toml","json"]);if(void 0!==t&&!n.has(t))throw Error(`Invalid language option value \`${t}\` for frontmatter.`)}parse(e,t){let n=e.body;try{let e=function(e,t){let n=[],r=[];if("gfm"===e){let e,t;n.push(to([{text:rH},{document:{91:{name:"gfmFootnoteDefinition",tokenize:r2,continuation:{tokenize:r4},exit:r3}},text:{91:{name:"gfmFootnoteCall",tokenize:r1},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:rK,resolveTo:r0}}},(e=void 0,t={name:"strikethrough",tokenize:function(t,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):(t.enter("strikethroughSequenceTemporary"),function o(a){let u=tE(i);if(126===a)return s>1?r(a):(t.consume(a),s++,o);if(s<2&&!e)return r(a);let l=t.exit("strikethroughSequenceTemporary"),c=tE(a);return l._open=!c||2===c&&!!u,l._close=!u||2===u&&!!c,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&&tn(s,s.length,0,tC(a,e.slice(r+1,n),t)),tn(s,s.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),tn(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}},null==e&&(e=!0),{text:{126:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:r5,resolveAll:r6}}},{text:{91:it}}])),r.push([{transforms:[rm],enter:{literalAutolink:ru,literalAutolinkEmail:rl,literalAutolinkHttp:rl,literalAutolinkWww:rl},exit:{literalAutolink:rd,literalAutolinkEmail:rf,literalAutolinkHttp:rc,literalAutolinkWww:rp}},{enter:{gfmFootnoteCallString:rD,gfmFootnoteCall:rk,gfmFootnoteDefinitionLabelString:rb,gfmFootnoteDefinition:rx},exit:{gfmFootnoteCallString:rF,gfmFootnoteCall:rw,gfmFootnoteDefinitionLabelString:rv,gfmFootnoteDefinition:rE}},{canContainEols:["delete"],enter:{strikethrough:rC},exit:{strikethrough:rA}},{enter:{table:rS,tableData:rB,tableHeader:rB,tableRow:rI},exit:{codeText:rq,table:rT,tableData:rL,tableHeader:rL,tableRow:rL}},{exit:{taskListCheckValueChecked:rR,taskListCheckValueUnchecked:rR,paragraph:rO}}])}let i=t?.frontmatter;return!1!==i&&("yaml"===i?(n.push(n6(["yaml"])),r.push(re(["yaml"]))):"toml"===i?(n.push(n6(["toml"])),r.push(re(["toml"]))):"json"===i&&(n.push(n6(ii)),r.push(re(ii)))),{extensions:n,mdastExtensions:r}}(this.#f,t?.languageOptions),r=nh(n,e);return{ok:!0,ast:r}}catch(e){return{ok:!1,errors:[e]}}}createSourceCode(e,t){return new nY({text:e.body,ast:t.ast})}}let is=new Set(["`","~"]);var ia={meta:{type:"problem",docs:{recommended:!0,description:"Require languages for fenced code blocks",url:"https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md"},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}],defaultOptions:[{required:[]}]},create(e){let t=new Set(e.options[0].required),{sourceCode:n}=e;return{code(r){if(!r.lang){let t;if(!is.has(n.text[r.position.start.offset]))return;for(t=r.position.start.offset;is.has(n.text[t]);t++);e.report({loc:{start:r.position.start,end:{line:r.position.start.line,column:r.position.start.column+t-r.position.start.offset}},messageId:"missingLanguage"});return}if(t.size&&!t.has(r.lang)){let t=n.getText(r).indexOf(r.lang);e.report({loc:{start:r.position.start,end:{line:r.position.start.line,column:r.position.start.column+t+r.lang.length}},messageId:"disallowedLanguage",data:{lang:r.lang}})}}}}},iu={meta:{type:"problem",docs:{recommended:!0,description:"Enforce heading levels increment by one",url:"https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md"},messages:{skippedHeading:"Heading level skipped from {{fromLevel}} to {{toLevel}}."},schema:[{type:"object",properties:{frontmatterTitle:{type:"string"}},additionalProperties:!1}],defaultOptions:[{frontmatterTitle:"^(?!\\s*['\"]title[:=]['\"])\\s*\\{?\\s*['\"]?title['\"]?\\s*[:=]"}]},create(e){let[{frontmatterTitle:t}]=e.options,n=""===t?null:RegExp(t,"iu"),r=0;return{yaml(e){nW(e.value,n)&&(r=1)},toml(e){nW(e.value,n)&&(r=1)},json(e){nW(e.value,n)&&(r=1)},heading(t){r>0&&t.depth>r+1&&e.report({loc:t.position,messageId:"skippedHeading",data:{fromLevel:r.toString(),toLevel:t.depth.toString()}}),r=t.depth}}}};let il=/^<(?<tagName>[^!>][^/\s>]*)/u;var ic={meta:{type:"problem",docs:{recommended:!0,description:"Disallow duplicate definitions",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md"},messages:{duplicateDefinition:"Unexpected duplicate definition `{{ identifier }}` (label: `{{ label }}`) found. First defined at line {{ firstLine }} (label: `{{ firstLabel }}`).",duplicateFootnoteDefinition:"Unexpected duplicate footnote definition `{{ identifier }}` (label: `{{ label }}`) found. First defined at line {{ firstLine }} (label: `{{ firstLabel }}`)."},schema:[{type:"object",properties:{allowDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},allowFootnoteDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allowDefinitions:["//"],allowFootnoteDefinitions:[]}]},create(e){let t=new Set(e.options[0].allowDefinitions.map(e=>ta(e).toLowerCase())),n=new Set(e.options[0].allowFootnoteDefinitions.map(e=>ta(e).toLowerCase())),r=new Map,i=new Map;return{definition(n){if(!t.has(n.identifier))if(r.has(n.identifier)){let t=r.get(n.identifier);e.report({node:n,messageId:"duplicateDefinition",data:{identifier:n.identifier,label:n.label.trim(),firstLine:t.position.start.line.toString(),firstLabel:t.label.trim()}})}else r.set(n.identifier,n)},footnoteDefinition(t){if(!n.has(t.identifier))if(i.has(t.identifier)){let n=i.get(t.identifier);e.report({node:t,messageId:"duplicateFootnoteDefinition",data:{identifier:t.identifier,label:t.label,firstLine:n.position.start.line.toString(),firstLabel:n.label}})}else i.set(t.identifier,t)}}}},ip={meta:{type:"problem",docs:{description:"Disallow duplicate headings in the same document",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md"},messages:{duplicateHeading:'Duplicate heading "{{text}}" found.'},schema:[{type:"object",properties:{checkSiblingsOnly:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkSiblingsOnly:!1}]},create(e){let t,n,[{checkSiblingsOnly:r}]=e.options,i=new Map(r?[[1,new Set],[2,new Set],[3,new Set],[4,new Set],[5,new Set],[6,new Set]]:[[1,new Set]]),o=1,s=i.get(o);return{heading(e){if(t="",n="",r){let t=e.depth;if(t<o)for(let e=o;e>t;e--)i.get(e).clear();o=t,s=i.get(t)}},"heading *"({type:e,value:r}){r?(t+=`[${e},${r}]`,"html"!==e&&(n+=r)):t+=`[${e}]`},"heading:exit"(r){s.has(t)?e.report({loc:r.position,messageId:"duplicateHeading",data:{text:n}}):s.add(t)}}}},id={meta:{type:"problem",docs:{recommended:!0,description:"Disallow empty definitions",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md"},messages:{emptyDefinition:"Unexpected empty definition `{{ identifier }}` (label: `{{ label }}`) found.",emptyFootnoteDefinition:"Unexpected empty footnote definition `{{ identifier }}` (label: `{{ label }}`) found."},schema:[{type:"object",properties:{allowDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},allowFootnoteDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},checkFootnoteDefinitions:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowDefinitions:["//"],allowFootnoteDefinitions:[],checkFootnoteDefinitions:!0}]},create(e){let t=new Set(e.options[0].allowDefinitions.map(e=>ta(e).toLowerCase())),n=new Set(e.options[0].allowFootnoteDefinitions.map(e=>ta(e).toLowerCase())),[{checkFootnoteDefinitions:r}]=e.options;return{definition(n){n.url&&"#"!==n.url||t.has(n.identifier)||e.report({loc:n.position,messageId:"emptyDefinition",data:{identifier:n.identifier,label:n.label.trim()}})},footnoteDefinition(t){r&&!n.has(t.identifier)&&(0===t.children.length||t.children.every(e=>"html"===e.type&&0===e.value.replace(nH,"").trim().length))&&e.report({loc:t.position,messageId:"emptyFootnoteDefinition",data:{identifier:t.identifier,label:t.label}})}}}};let im=/<(?<tagName>[a-z0-9]+(?:-[a-z0-9]+)*)(?:\s(?:[^>"']|"[^"]*"|'[^']*')*)?>/giu;var ih={meta:{type:"problem",docs:{description:"Disallow HTML tags",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md"},messages:{disallowedElement:'HTML element "{{name}}" is not allowed.'},schema:[{type:"object",properties:{allowed:{type:"array",items:{type:"string"},uniqueItems:!0},allowedIgnoreCase:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowed:[],allowedIgnoreCase:!1}]},create(e){let{sourceCode:t}=e,[{allowed:n,allowedIgnoreCase:r}]=e.options;function i(e){return r?e.toLowerCase():e}let o=new Set(n.map(i));return{html(n){let r;for(;null!==(r=im.exec(n.value));){let s=r[0],{tagName:a}=r.groups,u=s.search(n$),l=r.index+n.position.start.offset,c=l+(-1===u?s.length:u);o.has(i(a))||e.report({loc:{start:t.getLocFromIndex(l),end:t.getLocFromIndex(c)},messageId:"disallowedElement",data:{name:a}})}}}}};let ig=/\]\[([^\]]+)\]/u,iy=/(?:^|(?<=[\r\n]))(?<hashes>#{1,6})(?:[^# \t]|$)/gu,iD=/(?<![ \t])(?<spaces>[ \t]*)(?<=(?<!\\)(?:\\{2})*)(?<hashes>#+)[ \t]*$/u;var ik={meta:{type:"problem",docs:{recommended:!0,description:"Disallow headings without a space after the hash characters",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md"},fixable:"whitespace",messages:{missingSpace:"Missing space {{position}} hash(es) on ATX style heading."},schema:[{type:"object",properties:{checkClosedHeadings:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkClosedHeadings:!1}]},create(e){let{sourceCode:t}=e,[{checkClosedHeadings:n}]=e.options;return{heading(r){if(!n)return;let i=t.getText(r),o=iD.exec(i);if(null===o)return;let{spaces:s,hashes:a}=o.groups;if(s.length>0)return;let u=r.position.start.offset+o.index,l=u+a.length;e.report({loc:{start:t.getLocFromIndex(u-1),end:t.getLocFromIndex(l)},messageId:"missingSpace",data:{position:"before"},fix:e=>e.insertTextBeforeRange([u,u+1]," ")})},paragraph(n){let r,i=t.getText(n);for(;null!==(r=iy.exec(i));){let{hashes:i}=r.groups,o=n.position.start.offset+r.index,s=o+i.length;e.report({loc:{start:t.getLocFromIndex(o),end:t.getLocFromIndex(s+1)},messageId:"missingSpace",data:{position:"after"},fix:e=>e.insertTextAfterRange([s-1,s]," ")})}}}}},ib={meta:{type:"problem",docs:{recommended:!0,description:"Disallow missing label references",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md"},schema:[{type:"object",properties:{allowLabels:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allowLabels:[]}],messages:{notFound:"Label reference '{{label}}' not found."}},create(e){let{sourceCode:t}=e,n=new Set(e.options[0].allowLabels),r=[];return{"root:exit"(){for(let t of r)e.report({loc:t.position,messageId:"notFound",data:{label:t.label}})},text(e){for(let i of function(e,t){let n,r=[],i=t.getText(e),o=/(?<=(?<!\\)(?:\\{2})*)\[(?<left>(?:\\.|[^[\]\\])*)\](?:\[(?<right>(?:\\.|[^\]\\])*)\])?/dgu;for(;n=o.exec(i);){let i,o;if(nV.test(n[0]))continue;let{left:s,right:a}=n.groups;if(!s&&!a)continue;a?(i=a,o=n.indices.groups.right):(i=s,o=n.indices.groups.left);let u=o[0]+e.position.start.offset,l=o[1]+e.position.start.offset;r.push({label:i.trim(),position:{start:t.getLocFromIndex(u),end:t.getLocFromIndex(l)}})}return r}(e,t))n.has(i.label)||r.push(i)},definition(e){r=r.filter(t=>t.label!==e.identifier)}}}};let ix=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,iF=Object.hasOwnProperty;class iw{constructor(){this.occurrences,this.reset()}slug(e,t){var n,r;let i=(n=e,r=!0===t,"string"!=typeof n?"":(r||(n=n.toLowerCase()),n.replace(ix,"").replace(/ /g,"-"))),o=i;for(;iF.call(this.occurrences,i);)this.occurrences[o]++,i=o+"-"+this.occurrences[o];return this.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}let iv=/^L\d+(?:C\d+)?(?:-L\d+(?:C\d+)?)?$/u,iE=/\{#(?<id>[^}\s]+)\}\s*$/u,iC=/(?<!<)<[^>]+\s(?:id|name)\s*=\s*["']?(?<id>[^"'\s>]+)["']?/giu;var iA={meta:{type:"problem",docs:{recommended:!0,description:"Disallow link fragments that do not reference valid headings",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"},allowPattern:{type:"string"}},additionalProperties:!1}],messages:{invalidFragment:"Link fragment '#{{fragment}}' does not reference a heading or anchor in this document."},defaultOptions:[{ignoreCase:!0,allowPattern:""}]},create(e){let t,[{allowPattern:n,ignoreCase:r}]=e.options,i=n?RegExp(n,"u"):null,o=new Set(["top"]),s=new iw,a=[];return{heading(){t=""},"heading *:not(html)"({value:e}){t+=e??""},"heading:exit"(){let e=t.match(iE),n=e?e.groups.id:t,i=s.slug(n);o.add(r?i.toLowerCase():i)},html(e){for(let t of e.value.trim().replace(nH,"").matchAll(iC)){let e=t.groups.id,n=s.slug(e);o.add(r?n.toLowerCase():n)}},link(e){let t=e.url;if(!t||!t.startsWith("#"))return;let n=t.slice(1);n&&a.push({node:e,fragment:n})},"root:exit"(){for(let{node:t,fragment:n}of a){let s;try{s=decodeURIComponent(n)}catch{s=n}if(i?.test(s)||iv.test(s))continue;let a=r?s.toLowerCase():s;o.has(a)||e.report({loc:t.position,messageId:"invalidFragment",data:{fragment:n}})}}}}};let iS=/<h1[^>]*>[\s\S]*?<\/h1>/giu;var iT={meta:{type:"problem",docs:{recommended:!0,description:"Disallow multiple H1 headings in the same document",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md"},messages:{multipleH1:"Unexpected additional H1 heading found."},schema:[{type:"object",properties:{frontmatterTitle:{type:"string"}},additionalProperties:!1}],defaultOptions:[{frontmatterTitle:"^(?!\\s*['\"]title[:=]['\"])\\s*\\{?\\s*['\"]?title['\"]?\\s*[:=]"}]},create(e){let{sourceCode:t}=e,[{frontmatterTitle:n}]=e.options,r=""===n?null:RegExp(n,"iu"),i=0;return{"yaml, toml, json"(e){nW(e.value,r)&&i++},html(n){let r,o=nG(n.value);for(;null!==(r=iS.exec(o));)if(++i>1){let i=r.index+n.position.start.offset,o=i+r[0].length;e.report({loc:{start:t.getLocFromIndex(i),end:t.getLocFromIndex(o)},messageId:"multipleH1"})}},heading(t){1===t.depth&&++i>1&&e.report({loc:t.position,messageId:"multipleH1"})}}}};let iI=/\[(?<label>(?:\\.|[^()\\]|\([\s\S]*\))*?)\]\((?<destination>[ \t]*\r?\n?(?<![ \t])[ \t]*(?:<[^>]*>|[^ \t()]+))(?:[ \t]*\r?\n?(?<![ \t])[ \t]*(?:"[^"]*"|'[^']*'|\([^)]*\)))?[ \t]*\r?\n?(?<![ \t])[ \t]*\)$/u,iL=/(?<=(?<!\\)(?:\\{2})*)\((?<label>(?:\\.|[^()\\]|\([\s\S]*\))*)\)\[(?<url>(?:\\.|[^\]\\\r\n])*)\](?!\()/gu,iB=/[ \t]/u;var iq={meta:{type:"problem",docs:{recommended:!0,description:"Disallow spaces around emphasis markers",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-space-in-emphasis.md"},fixable:"whitespace",messages:{spaceInEmphasis:"Unexpected space around emphasis marker."},schema:[{type:"object",properties:{checkStrikethrough:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkStrikethrough:!1}]},create(e){let t,{sourceCode:n}=e,[{checkStrikethrough:r}]=e.options,i=r?/(?<=(?<!\\)(?:\\{2})*)(?:\*\*\*|\*\*|\*|___|__|_|~~|~)/gu:/(?<=(?<!\\)(?:\\{2})*)(?:\*\*\*|\*\*|\*|___|__|_)/gu;function o(t,r,i){iB.test(n.text[t])&&e.report({loc:{start:n.getLocFromIndex(r),end:n.getLocFromIndex(i)},messageId:"spaceInEmphasis",fix:e=>e.removeRange([t,t+1])})}return{"heading, paragraph, tableCell"(e){let[r,i]=n.getRange(e);t=Array(i-r).fill(" ")},":matches(heading, paragraph, tableCell) > text"(e){let[r,i]=n.getRange(e),o=n.getParent(e).position.start.offset;for(let e=r;e<i;e++)t[e-o]=n.text[e]},":matches(heading, paragraph, tableCell):exit"(e){let n,r=t.join(""),s=new Map;for(;null!==(n=i.exec(r));){let t=n[0],r=n.index+e.position.start.offset,i=r+t.length;s.has(t)||s.set(t,[]),s.get(t).push([r,i])}for(let e of s.values())for(let t=0;t<e.length-1;t+=2){let n=e[t];o(n[1],n[0],n[1]+2);let r=e[t+1];o(r[0]-1,r[0]-2,r[1])}}}}},ij={meta:{type:"problem",docs:{recommended:!0,description:"Disallow unused definitions",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md"},messages:{unusedDefinition:"Unexpected unused definition `{{ identifier }}` (label: `{{ label }}`) found.",unusedFootnoteDefinition:"Unexpected unused footnote definition `{{ identifier }}` (label: `{{ label }}`) found."},schema:[{type:"object",properties:{allowDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},allowFootnoteDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allowDefinitions:["//"],allowFootnoteDefinitions:[]}]},create(e){let t=new Set(e.options[0].allowDefinitions.map(e=>ta(e).toLowerCase())),n=new Set(e.options[0].allowFootnoteDefinitions.map(e=>ta(e).toLowerCase())),r=new Set,i=new Set,o=new Set,s=new Set;return{imageReference(e){r.add(e.identifier)},linkReference(e){r.add(e.identifier)},footnoteReference(e){i.add(e.identifier)},definition(e){t.has(e.identifier)||o.add(e)},footnoteDefinition(e){n.has(e.identifier)||s.add(e)},"root:exit"(){for(let t of o)r.has(t.identifier)||e.report({node:t,messageId:"unusedDefinition",data:{identifier:t.identifier,label:t.label.trim()}});for(let t of s)i.has(t.identifier)||e.report({node:t,messageId:"unusedFootnoteDefinition",data:{identifier:t.identifier,label:t.label}})}}}};let iR=/<img[^>]*>/giu;function iO(e){return RegExp(`\\s${e}(?:\\s*=\\s*['"]([^'"]*)['"])?`,"iu")}var iN={meta:{type:"problem",docs:{recommended:!0,description:"Disallow data rows in a GitHub Flavored Markdown table from having more cells than the header row",url:"https://github.com/eslint/markdown/blob/main/docs/rules/table-column-count.md"},messages:{extraCells:"Table column count mismatch (Expected: {{expectedCells}}, Actual: {{actualCells}}), extra data starting here will be ignored.",missingCells:"Table column count mismatch (Expected: {{expectedCells}}, Actual: {{actualCells}}), row might be missing data."},schema:[{type:"object",properties:{checkMissingCells:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkMissingCells:!1}]},create(e){let[{checkMissingCells:t}]=e.options;return{table(n){if(n.children.length<1)return;let r=n.children[0].children.length;for(let i=1;i<n.children.length;i++){let o=n.children[i],s=o.children.length,a=o.children[s-1];if(s>r){let t=o.children[r];e.report({loc:{start:t.position.start,end:a.position.end},messageId:"extraCells",data:{actualCells:String(s),expectedCells:String(r)}})}else t&&s<r&&e.report({loc:{start:{column:a.position.end.column-1,line:a.position.end.line},end:o.position.end},messageId:"missingCells",data:{actualCells:String(s),expectedCells:String(r)}})}}}}};let iP={"eol-last":"off","no-undef":"off","no-unused-expressions":"off","no-unused-vars":"off","padded-blocks":"off",strict:"off","unicode-bom":"off"},i_={meta:{name:"@eslint/markdown",version:"7.5.0"},processors:{markdown:{meta:{name:"@eslint/markdown/markdown",version:"7.5.0"},preprocess:function(e,t){let n=e.startsWith("\uFEFF")?e.slice(1):e,r=nh(n),i=[];nk.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:nF(n,e),comments:t,rangeMap:function(e,t,n){let r=nx(t),i=e.slice(r,t.position.end.offset).split("\n"),o=nF(e,t).length,s=n.reduce((e,t)=>e+t.length+1,0),a=[{indent:o,js:0,md:0}],u=s,l=r+i[0].length+1;for(let e=0;e+1<i.length;e++){let t=i[e+1],n=Math.min(o,nb.exec(t)[0].length);a.push({indent:n,js:u,md:l+n-u}),l+=t.length+1,u+=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(nv,n)?nv[n]:n;return{filename:e.meta?.match(nw)?.groups.filename.replaceAll(/\s+/gu,"_")??`${t}.${r}`,text:[...e.comments,e.value,""].join("\n")}})},postprocess:function(e,t){let n=nk.get(t);return nk.delete(t),e.flatMap((e,t)=>{var r;let i,o,s=(i=(r=n[t]).comments.reduce((e,t)=>e+t.split("\n").length,0),o=r.position.start.line,function(e){if(!Number.isInteger(e.line))return{...e,line:o,column:r.position.start.column};let t=e.line-i;if(t<1||t>=r.rangeMap.length)return null;let n={line:t+o,column:e.column+r.rangeMap[t].indent};Number.isInteger(e.endLine)&&(n.endLine=e.endLine-i+o),Array.isArray(e.suggestions)&&(n.suggestions=e.suggestions.map(e=>({...e,fix:nE(r,e.fix)})));let s={};return e.fix&&(s.fix=nE(r,e.fix)),{...e,...n,...s}});return e.map(s).filter(nC)})},supportsAutofix:!0}},languages:{commonmark:new io({mode:"commonmark"}),gfm:new io({mode:"gfm"})},rules:{"fenced-code-language":ia,"heading-increment":iu,"no-bare-urls":{meta:{type:"problem",docs:{description:"Disallow bare URLs",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md"},fixable:"code",messages:{bareUrl:"Unexpected bare URL. Use autolink (<URL>) or link ([text](URL)) instead."}},create(e){let{sourceCode:t}=e,n=[],r=[],i=null;function o(){r.length=0,i=null}return{":matches(heading, paragraph, tableCell) html"(e){let t=function(e){let t=e.match(il);if(t){let e=t.groups.tagName.toLowerCase(),n=e.startsWith("/");return{name:n?e.slice(1):e,isClosing:n}}return null}(e.value);t&&(t.isClosing||null!==i||(i=t.name),t.isClosing&&i===t.name&&o())},":matches(heading, paragraph, tableCell) link"(e){null!==i?r.push(e):n.push(e)},"heading:exit"(){n.push(...r),o()},"paragraph:exit"(){n.push(...r),o()},"tableCell:exit"(){n.push(...r),o()},"root:exit"(){for(let r of n){let n=t.getText(r),{url:i}=r;(i===n||i===`http://${n}`||i===`mailto:${n}`)&&e.report({node:r,messageId:"bareUrl",fix:e=>e.replaceText(r,`<${n}>`)})}}}}},"no-duplicate-definitions":ic,"no-duplicate-headings":ip,"no-empty-definitions":id,"no-empty-images":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow empty images",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md"},messages:{emptyImage:"Unexpected empty image found."}},create:e=>({image(t){t.url&&"#"!==t.url||e.report({loc:t.position,messageId:"emptyImage"})}})},"no-empty-links":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow empty links",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md"},messages:{emptyLink:"Unexpected empty link found."}},create:e=>({link(t){t.url&&"#"!==t.url||e.report({loc:t.position,messageId:"emptyLink"})}})},"no-html":ih,"no-invalid-label-refs":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow invalid label references",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md"},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=t.getText(e),r=t.text,i=[],o=0;for(;o<n.length;){let s=n.slice(o).match(ig);if(!s)break;if(!nV.test(s[0])){o+=s.index+s[0].length;continue}let a=o+s.index+e.position.start.offset,u=a+s[0].length,l=r.lastIndexOf("[",a);if(-1===l){o+=s.index+s[0].length;continue}let c=r.slice(l,u).match(/!?\[([^\]]+)\]/u)[1];i.push({label:c.trim(),position:{start:t.getLocFromIndex(a+1),end:t.getLocFromIndex(u)}}),o+=s.index+s[0].length}return i}(n,t))e.report({loc:r.position,messageId:"invalidLabelRef",data:{label:r.label}})}}}},"no-missing-atx-heading-space":ik,"no-missing-label-refs":ib,"no-missing-link-fragments":iA,"no-multiple-h1":iT,"no-reference-like-urls":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow URLs that match defined reference identifiers",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md"},fixable:"code",messages:{referenceLikeUrl:"Unexpected resource {{type}} ('{{prefix}}[text](url)') with URL that matches a definition identifier. Use '[text][id]' syntax instead."}},create(e){let{sourceCode:t}=e,n=new Set,r=[];return{definition(e){n.add(e.identifier)},"image, link"(e){r.push(e)},"root:exit"(){for(let i of r){let r=t.getText(i),o=iI.exec(r);if(null!==o){let{label:t,destination:r}=o.groups,{type:s,title:a}=i,u="image"===s?"!":"",l=ta(r).toLowerCase();n.has(l)&&e.report({loc:i.position,messageId:"referenceLikeUrl",data:{type:s,prefix:u},fix:e=>a?null:e.replaceText(i,`${u}[${t}][${r}]`)})}}}}}},"no-reversed-media-syntax":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow reversed link and image syntax",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md"},fixable:"code",messages:{reversedSyntax:"Unexpected reversed syntax found. Use [label](URL) syntax instead."}},create(e){let{sourceCode:t}=e,n=[];return{":matches(heading, paragraph, tableCell) :matches(html, inlineCode)"(e){n.push(t.getRange(e))},":matches(heading, paragraph, tableCell):exit"(r){!function(r){let i,o=t.getText(r);for(;null!==(i=iL.exec(o));){let{label:o,url:s}=i.groups,a=i.index+r.position.start.offset,u=a+i[0].length;!function(e,t){return t.some(t=>t[0]<=e&&e<t[1])}(a,n)&&e.report({loc:{start:t.getLocFromIndex(a),end:t.getLocFromIndex(u)},messageId:"reversedSyntax",fix:e=>e.replaceTextRange([a,u],`[${o}](${s})`)})}}(r),n.length=0}}}},"no-space-in-emphasis":iq,"no-unused-definitions":ij,"require-alt-text":{meta:{type:"problem",docs:{recommended:!0,description:"Require alternative text for images",url:"https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md"},messages:{altTextRequired:"Alternative text for image is required."}},create(e){let{sourceCode:t}=e;return{"image, imageReference"(t){0===t.alt.trim().length&&e.report({loc:t.position,messageId:"altTextRequired"})},html(n){let r,i=nG(n.value);for(;null!==(r=iR.exec(i));){let i=r[0],o=i.match(iO("aria-hidden"));if(o&&o[1]&&"true"===o[1].toLowerCase())continue;let s=i.match(iO("alt"));if(!s||s[1]&&0===s[1].trim().length&&s[1].length>0){let o=r.index+n.position.start.offset,s=o+i.length;e.report({loc:{start:t.getLocFromIndex(o),end:t.getLocFromIndex(s)},messageId:"altTextRequired"})}}}}}},"table-column-count":iN},configs:{"recommended-legacy":{plugins:["markdown"],overrides:[{files:["*.md"],processor:"markdown/markdown"},{files:["**/*.md/**"],parserOptions:{ecmaFeatures:{impliedStrict:!0}},rules:{...iP}}]},recommended:[{name:"markdown/recommended",files:["**/*.md"],language:"markdown/commonmark",plugins:e={},rules:{"markdown/fenced-code-language":"error","markdown/heading-increment":"error","markdown/no-duplicate-definitions":"error","markdown/no-empty-definitions":"error","markdown/no-empty-images":"error","markdown/no-empty-links":"error","markdown/no-invalid-label-refs":"error","markdown/no-missing-atx-heading-space":"error","markdown/no-missing-label-refs":"error","markdown/no-missing-link-fragments":"error","markdown/no-multiple-h1":"error","markdown/no-reference-like-urls":"error","markdown/no-reversed-media-syntax":"error","markdown/no-space-in-emphasis":"error","markdown/no-unused-definitions":"error","markdown/require-alt-text":"error","markdown/table-column-count":"error"}}],processor:[{name:"markdown/recommended/plugin",plugins:t={}},{name:"markdown/recommended/processor",files:["**/*.md"],processor:"markdown/markdown"},{name:"markdown/recommended/code-blocks",files:["**/*.md/**"],languageOptions:{parserOptions:{ecmaFeatures:{impliedStrict:!0}}},rules:{...iP}}]}};async function iM(e){if(!v.isPackageExists(e,"string"==typeof __dirname?__dirname:void 0))return;if(console.error(X.yellow(`[eslint-config-sukka] "${e}" is deprecated and you should uninstall it`)),Q.isCI||!process.stdout.isTTY)throw Error(`[eslint-config-sukka] "${e}" is deprecated and you should uninstall it`);let{confirm:t}=await Promise.resolve().then(function(){return require("./vendor-C7TA-LLW.cjs")}).then(function(e){return e.i});await t({message:` "${e}" is deprecated. Do you want to uninstall it?`})&&await Promise.resolve().then(function(){return require("./vendor-C7TA-LLW.cjs")}).then(function(e){return e.a}).then(t=>t.uninstallPackage(e,{dev:!0}))}function iz(e,t=!1){return"boolean"==typeof e?e:null==e?t:"enable"in e?"boolean"==typeof e.enable?e.enable:t:Object.keys(e).length>0||t}function iU(e,...t){let n;if("boolean"==typeof e||void 0===e)n={};else{let{enable:t,...r}=e;n=r}return t.length?J.defu(n,...t):n}e.markdown=t.markdown=i_;let i$=e=>v.isPackageExists(e,"string"==typeof __dirname?__dirname:void 0);async function iV(e,...t){let n=Date.now(),r=[];await iM("@eslint-sukka/js"),await iM("@eslint-sukka/json"),await iM("@eslint-sukka/ts"),await iM("@eslint-sukka/legacy");let i=i$("@types/node"),o=iz(e?.ts,i$("typescript")||i);if(r.push(el(e?.ignores),[q.configs.comment,{name:"sukka/eslint-comments",plugins:{"@eslint-community/eslint-comments":B},rules:{"@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"}}]),iz(e?.js,!0)&&r.push(function(e={}){let{files:t,disableNoConsoleInCLI:n=!0,env:r={}}=e,{browser:i=!0,webextensions:o=!1,greasemonkey:s=!1,customGlobals:a={}}=r,u=e.module??v.getPackageJson()?.type==="module",l=[{linterOptions:{reportUnusedDisableDirectives:!0}},O.configs.recommended,{name:"@eslint-sukka/js base",...t?{files:t}:{},languageOptions:{ecmaVersion:"latest",sourceType:u?"module":"commonjs",parserOptions:{ecmaVersion:"latest",sourceType:u?"module":"commonjs",ecmaFeatures:{jsx:!0}},globals:{...v.globals.es2025,...i&&v.globals.browser,...o&&v.globals.webextensions,...s&&v.globals.greasemonkey,...a}},settings:{"import-x/extensions":eK,"import-x/resolver-next":[P.createNodeResolver({extensions:eK})]},plugins:{"unused-imports":v.memo(N,"eslint-plugin-unused-imports"),"@stylistic":v.memo(M.stylistic_eslint_plugin,"@stylistic/eslint-plugin"),sukka:v.memo(q,"@eslint-sukka/eslint-plugin-sukka-full"),"import-x":v.memo(P,"eslint-plugin-import-x"),autofix:_,antfu:v.memo(ek,"eslint_plugin_antfu")},rules:{...P.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/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/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/wrap-iife":["error","outside",{functionPrototypeMethods:!1}],yoda:"error","no-await-in-loop":"warn","no-console":"warn","no-constant-condition":["warn",{checkLoops:"allExceptWhileTrue"}],"no-empty-function":"error","no-empty":["error",{allowEmptyCatch:!0}],"no-constant-binary-expression":"error","@stylistic/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/arrow-spacing":["error",{before:!0,after:!0}],"@stylistic/generator-star-spacing":["error",{before:!0,after:!1}],"@stylistic/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/template-curly-spacing":["error","never"],"@stylistic/yield-star-spacing":["error","before"],"@stylistic/array-bracket-newline":["off","consistent"],"@stylistic/array-bracket-spacing":["error","never"],"@stylistic/array-element-newline":["off",{multiline:!0,minItems:5}],"@stylistic/block-spacing":["error","always"],"@stylistic/brace-style":["error","1tbs",{allowSingleLine:!0}],camelcase:["warn",{properties:"never",ignoreDestructuring:!1,ignoreImports:!0,ignoreGlobals:!0,allow:["^UNSAFE_","^experimental_","^__DEV__"]}],"@stylistic/comma-dangle":["error","never"],"@stylistic/comma-spacing":["error",{before:!1,after:!0}],"@stylistic/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/computed-property-spacing":["error","never"],"consistent-this":"off","@stylistic/eol-last":["error","always"],"@stylistic/function-call-spacing":["error","never"],"@stylistic/function-call-argument-newline":["off","consistent"],"@stylistic/function-paren-newline":["error","consistent"],"@stylistic/implicit-arrow-linebreak":["error","beside"],"@stylistic/indent":["error",2,{SwitchCase:1}],"@stylistic/indent-binary-ops":["error",2],"@stylistic/key-spacing":["error",{beforeColon:!1,afterColon:!0}],"@stylistic/keyword-spacing":["error",{before:!0,after:!0,overrides:{return:{after:!0},throw:{after:!0},case:{after:!0}}}],"@stylistic/linebreak-style":"error","@stylistic/lines-around-comment":"off","@stylistic/lines-around-directive":"off","@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"@stylistic/multiline-ternary":["error","always-multiline"],"new-cap":["error",{newIsCap:!0,newIsCapExceptions:[],capIsNew:!1,capIsNewExceptions:["Immutable.Map","Immutable.Set","Immutable.List"]}],"@stylistic/newline-per-chained-call":["error",{ignoreChainWithDepth:6}],"@stylistic/new-parens":"error","no-bitwise":"off","no-lonely-if":"error","sukka/unicorn/no-lonely-if":"error","@stylistic/no-mixed-operators":["error",{groups:[["**","+"],["**","-"],["**","*"],["**","/"],["%","+"],["%","-"],["%","*"],["%","/"],["%","**"],["==","!=","===","!==",">",">=","<","<="],["&&","||"],["in","instanceof"]],allowSamePrecedence:!0}],"@stylistic/no-mixed-spaces-and-tabs":"error","no-multi-assign":"error","@stylistic/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/no-spaced-func":"off","@stylistic/no-tabs":"error","no-ternary":"off","@stylistic/no-trailing-spaces":"error","no-unneeded-ternary":"error","@stylistic/no-whitespace-before-property":"error","@stylistic/nonblock-statement-body-position":"error","@stylistic/object-curly-newline":"off","@stylistic/object-curly-spacing":["error","always"],"@stylistic/object-property-newline":"off","@stylistic/one-var-declaration-per-line":"off","prefer-exponentiation-operator":"error","@stylistic/operator-linebreak":["error","before",{overrides:{"=":"after"}}],"@stylistic/padded-blocks":["error","never"],"@stylistic/padding-line-between-statements":["error",{blankLine:"always",prev:"directive",next:"*"},{blankLine:"always",prev:"*",next:["class","with"]},{blankLine:"always",prev:["class","with"],next:"*"}],"@stylistic/quotes":["error","single"],"@stylistic/quote-props":["error","as-needed",{keywords:!1,unnecessary:!0,numbers:!1}],"@stylistic/jsx-quotes":["error","prefer-double"],"@stylistic/rest-spread-spacing":["error","never"],"@stylistic/semi":["error","always"],"@stylistic/semi-spacing":["error",{before:!1,after:!0}],"@stylistic/semi-style":["error","last"],"@stylistic/space-before-blocks":"error","@stylistic/space-before-function-paren":["error",{anonymous:"always",named:"never",asyncArrow:"always"}],"@stylistic/space-in-parens":["error","never"],"@stylistic/space-infix-ops":"error","@stylistic/space-unary-ops":["error",{words:!0,nonwords:!1,overrides:{}}],"@stylistic/spaced-comment":["error","always",{line:{exceptions:["-","+"],markers:["=","!","/"]},block:{exceptions:["-","+"],markers:["=","!",":","::"],balanced:!0}}],"@stylistic/switch-colon-spacing":["error",{after:!0,before:!1}],"@stylistic/template-tag-spacing":["error","never"],"unicode-bom":["error","never"],"@stylistic/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/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",{strategy:"loose"}],"sukka/unicorn/prefer-type-error":"error","sukka/unicorn/consistent-destructuring":"warn","sukka/unicorn/new-for-builtins":"warn","sukka/unicorn/prefer-single-call":"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-unnecessary-slice-end":"error","sukka/unicorn/consistent-date-clone":"error","sukka/unicorn/no-accessor-recursion":"error","sukka/unicorn/no-unnecessary-array-flat-depth":"error","sukka/unicorn/no-unnecessary-array-splice-count":"error","sukka/unicorn/no-useless-error-capture-stack-trace":"error","sukka/unicorn/prefer-class-fields":"error","sukka/unicorn/prefer-bigint-literals":"error","sukka/unicorn/prefer-classlist-toggle":"warn","sukka/unicorn/require-module-attributes":"error","no-restricted-imports":["error",{paths:v.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"}},eY.recommended];if(!1!==n){let e="boolean"==typeof n?null:Array.isArray(n)?n:[n];l.push({name:"@eslint-sukka/js cli specific",files:e??[`**/scripts/${v.constants.GLOB_SRC}`,`**/cli/${v.constants.GLOB_SRC}`,`**/cli.${v.constants.GLOB_SRC_EXT}`],rules:{"no-console":"off"}})}return l}(iU(e?.js)),function({typescript:e}){return[v.UNSAFE_excludeJsonYamlFiles({name:"sukka/promise",plugins:{promise:j},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:o}),v.UNSAFE_excludeJsonYamlFiles([q.configs.regexp,R.configs["flat/recommended"],{name:"sukka/regexp",rules:{"regexp/strict":"off"}}])),iz(e?.markdown,!0)&&r.push(i_.configs.recommended),iz(e?.yaml,v.isDirectDependency("yaml")||v.isDirectDependency("js-yaml"))&&r.push((await e9("@eslint-sukka/yaml")).yaml()),iz(e?.json,!0)&&r.push([...z.configs["flat/base"],{name:"@eslint-sukka/json json",files:[v.constants.GLOB_JSON],rules:{...z.configs["flat/recommended-with-json"].reduce((e,t)=>({...e,...t.rules}),{}),...e1}},{name:"@eslint-sukka/json json5",...e0,files:[v.constants.GLOB_JSON5],rules:{...z.configs["flat/recommended-with-json5"].reduce((e,t)=>({...e,...t.rules}),{}),...e1}},{name:"@eslint-sukka/json jsonc",...e0,files:[v.constants.GLOB_JSONC],rules:{...z.configs["flat/recommended-with-jsonc"].reduce((e,t)=>({...e,...t.rules}),{}),...e1}},{name:"@eslint-sukka/json package.json",...e0,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",...e0,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$"}]}}]),o){let t=e?.isInEditor??(!(process.env.CI||Q.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));r.push(function(e={}){let{allowJs:t=!1,tsconfigPath:n=!0,tsconfigRootDir:r=A.cwd(),componentExtensions:i=[],isInEditor:o=!1,allowDefaultProject:s=["next.config.ts","rollup.config.ts","webpack.config.ts"]}=e,a="string"==typeof __dirname?__dirname:void 0,u=v.packageResolver.sync(a,"@typescript-eslint/parser"),l=I.nullthrow(u.path,"[eslint-config-sukka#ts] Expect @typescript-eslint/parser to exist");return[{name:"@eslint-sukka/ts base",files:[v.constants.GLOB_TS,v.constants.GLOB_TSX,...i.map(e=>`**/*.${e}`),...t?[v.constants.GLOB_JS]:[]],plugins:{"@typescript-eslint":v.memo(V,"@typescript-eslint/eslint-plugin"),"@stylistic":v.memo(M.stylistic_eslint_plugin,"@stylistic/eslint-plugin"),"import-x":v.memo(P,"eslint-plugin-import-x"),paths:W},languageOptions:{parser:H,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":e3,"import-x/external-module-folders":["node_modules","node_modules/@types"],"import-x/resolver-next":[G.createTypeScriptImportResolver()],"import-x/parsers":{[l]:e4}},rules:{...$.configs.base.rules,...$.configs.recommendedTypeChecked.reduce((e,t)=>({...e,...t.rules}),{}),...$.configs.stylisticTypeChecked.reduce((e,t)=>({...e,...t.rules}),{}),...P.configs.typescript.rules,...e2,"@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/no-unnecessary-type-conversion":"error","@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:v.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-unsafe-return":"off","@typescript-eslint/no-unsafe-call":"off","@typescript-eslint/no-unsafe-member-access":"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-enum-comparison":"warn","@typescript-eslint/prefer-regexp-exec":"warn","@typescript-eslint/no-deprecated":"warn","@typescript-eslint/no-unnecessary-template-expression":"warn","@typescript-eslint/prefer-readonly":"error","@typescript-eslint/class-literal-property-style":"error","@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/member-delimiter-style":["error",{multiline:{delimiter:"comma",requireLast:!1},singleline:{delimiter:"comma",requireLast:!1}}],"@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0,exceptAfterOverload:!0}],"@stylistic/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/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":["error",{allowSingleElementEquality:"always"}],"@typescript-eslint/switch-exhaustiveness-check":["error",{allowDefaultCaseForExhaustiveSwitch:!0,considerDefaultExhaustiveForUnions:!0}],"@typescript-eslint/parameter-properties":["warn",{prefer:"parameter-property"}],"no-throw-literal":"off","@typescript-eslint/only-throw-error":["error",{allowRethrowing:!0,allowThrowingAny:!0,allowThrowingUnknown:!0}],"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/type-generic-spacing":"error","@stylistic/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":v.memo(P,"eslint-plugin-import-x")},rules:{"import-x/no-duplicates":"off","unused-imports/no-unused-vars":"off","unused-imports/no-unused-imports":"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:{"@typescript-eslint":v.memo(V,"@typescript-eslint/eslint-plugin")},rules:{"@typescript-eslint/no-require-imports":"off"}}]}({isInEditor:t,...iU(e?.ts)}))}let s=i$("next"),a=iz(e?.react,s||i$("react")||i$("@types/react"));if(a)if(o){let t=await e9("@eslint-sukka/react"),n=i$("@remix-run/node")||i$("@remix-run/react")||i$("@remix-run/serve")||i$("@remix-run/dev");r.push(t.react(iU(e?.react,{nextjs:s,remix:n,reactRefresh:{allowConstantExport:i$("vite")},reactCompiler:i$("babel-plugin-react-compiler")||i$("react-compiler-webpack")?"error":"off"}))),iz(e?.next,s)&&r.push(t.next()),iz(e?.stylex,i$("@stylexjs/stylex")||i$("stylex-webpack"))&&r.push(t.stylex(iU(e?.stylex)))}else console.warn("[eslint-config-sukka] React preset will not be enabled when TypeScript is missing.");iz(e?.node,i||i$("@types/bun"))&&r.push((await e9("@eslint-sukka/node")).node({...iU(e?.node),hasTypeScript:o,hasReact:a})),iz(e?.legacy)&&r.push(function(e={}){return[{name:"@eslint-sukka/legacy base",...e.files?{files:e.files}:{},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?v.globals.browser:{},...e.node?v.globals.node:{}}}}]}(iU(e?.legacy))),r.push(t);let u=(await Promise.all(r)).flat();return process.env.TIMING&&console.log(`[eslint-config-sukka] Timing: ${Date.now()-n}ms`),u}exports.constants=v.constants,exports.ignores=el,exports.sukka=iV;
|
|
5
|
+
}`,c=r.typeParameters?s.slice(r.typeParameters.range[0],r.typeParameters.range[1]):"",p=r.returnType?s.slice(r.returnType.range[0],r.returnType.range[1]):"",f=r.async?"async ":"",d=`${f}function ${a} ${c}(${u})${p} ${l}`;return n.replaceTextRange([t.range[0],t.range[1]],d)}})}})})}},ek="azat-io/eslint-plugin-de-morgan";function ex(...e){return(...t)=>t.every(t=>t(...e))}function eF(e){return"LogicalExpression"===e.type}function ew(e,t){let n=e,[r,i]=n.range;if(ev(r,i,t))return n;for(;n.parent&&eF(n)&&(n=n.parent,[r,i]=n.range,!ev(r,i,t)););return n}function ev(e,t,n){return"("===n[e-1]&&")"===n[t]}function eE(e){return"UnaryExpression"===e.type}function eC(e){return t=>t.operator===e}function eA(e){return ex(e)(eE,eC("!"))}function eS(e,t){let n=t.sourceCode.getText(e),r=ew(e,n);return!!eE(r)&&function e(t){return eE(t)&&"!"===t.operator&&eE(t.argument)&&"!"===t.argument.operator?e(t.argument.argument):!!eA(t)||!!eF(t)&&(e(t.left)||e(t.right))}(r.argument)}function eT(e){return"BinaryExpression"===e.type}function eI(e,t){var n,r,i;return!!e.parent&&(n=e.parent,eL.has(n.type)||eT(r=e.parent)&&eB.has(r.operator)||"CallExpression"===(i=e.parent).type&&"Identifier"===i.callee.type&&"Boolean"===i.callee.name)}let eL=new Set(["ConditionalExpression","LogicalExpression","DoWhileStatement","UnaryExpression","WhileStatement","ForStatement","IfStatement"]),eB=new Set(["instanceof","===","!==","==","!=","<=",">=","in","<",">"]);function eq(e){return ex(e)(eF,eC("&&"))}function ej(e){let t=[],n=e.replaceAll(/(?<quote>["'`])(?:\\.|(?!\k<quote>)[^\\])*\k<quote>/gu,e=>{let n=`__STRING_LITERAL_${t.length}__`;return t.push(e),n}).replaceAll(/\/\/.*$/gmu,"").replaceAll(/\/\*[\s\S]*?\*\//gu,"").replaceAll(/\s+/gu," ").replaceAll(/\(\s+/gu,"(").replaceAll(/\s+\)/gu,")").trim();for(let[e,r]of t.entries())n=n.replace(`__STRING_LITERAL_${e}__`,r);return n}function eR(e,t){var n;let r=ew(e,t.sourceCode.getText());return!function(e){let t=0,n=null;for(let r=0;r<e.length;r++){let i=e[r];if("("===i){t++;continue}if(")"===i){t--;continue}if(0!==t)continue;let o=e.slice(r,r+2);if("&&"===o||"||"===o){if(null===n)n=o;else if(n!==o)return!0;r++}}return!1}((n=t.sourceCode.getText(r)).startsWith("!(")?n.slice(2,-1):n.startsWith("(")?n.slice(1,-1):n)}function eO(e){return eA(e)&&!eA(e.argument)&&(!e.parent||!eA(e.parent))}function eN(e,t=!0){return t?`(${e})`:e}function eP(e){return"Literal"===e.type&&"boolean"==typeof e.value}function e_(e,t){var n;for(let{transformer:n,predicate:r}of[{transformer:eM,predicate:eT},{transformer:e$,predicate:eP},{transformer:ez,predicate:eF}])if(r(e))return n(e,t);return n=e,eU(t.sourceCode.getText(n).trim())}function eM(e,t){let n=t.sourceCode.getText(e.left).trim(),r=t.sourceCode.getText(e.right).trim();if(["<<",">>",">>>","+","-","*","/","%","**","|","^","&","in","instanceof"].includes(e.operator))return`!(${n} ${e.operator} ${r})`;let i={"===":"!==","!==":"===","==":"!=","!=":"==","<":">=",">":"<=","<=":">",">=":"<"}[e.operator];return`${n} ${i} ${r}`}function ez(e,t){return eU(eN(t.sourceCode.getText(e).trim()))}function eU(e){return e.startsWith("!")?e.replace(/^!/u,""):`!${e}`}function e$(e){return e.value?"false":"true"}function eV(e){return ex(e)(eF,eC("||"))}let eH={"&&":"||","||":"&&"};function eW({shouldWrapInParens:e,expressionType:t,context:n,node:r}){var i;let o=r.argument,s="conjunction"===t?"&&":"||";if(o.operator!==s)return null;let a=n.sourceCode.getText(o),u=eH[s],l={expression:o,expressionType:t,sourceOperator:s,targetOperator:u,context:n};return eN((i=a).includes("//")||i.includes("/*")||i.includes("\n")||/\s{2,}/u.test(i)?function({sourceOperator:e,targetOperator:t,expression:n,context:r}){let{sourceCode:i}=r,o=e_(n.left,r),s=e_(n.right,r);if(!n.left.range||!n.right.range)return`${o} ${t} ${s}`;let[,a]=n.left.range,[u]=n.right.range,l=i.text.slice(a,u);/\(\s*$/u.test(l)&&(l=l.replace(/\(\s*$/u,""));let c=l.replaceAll(RegExp(e.replaceAll(/[$()*+.?[\\\]^{|}]/gu,String.raw`\$&`),"gu"),t);return`${o}${c}${s}`}(l):function({expressionType:e,targetOperator:t,expression:n,context:r}){return(function({expressionType:e,expression:t,context:n}){let r=[],i=[{expr:t,depth:0}];for(;i.length>0;){var o;let{depth:t,expr:s}=i.pop();if(t>10||(o=s,"conjunction"===e?!eq(o):!eV(o))){r.push(e_(s,n));continue}i.push({expr:s.right,depth:t+1},{expr:s.left,depth:t+1})}return r})({expressionType:e,expression:n,context:r}).join(` ${t} `)}(l),e)}function eG(e){return(...t)=>!e(...t)}function eJ(...e){return(...t)=>e.some(e=>e(...t))}let eQ="de-morgan",eZ={"no-negated-conjunction":{create:e=>({UnaryExpression:t=>{if(ex(t,e)(eO,e=>eq(e.argument),eR,eJ(eI,eG(eS)))){let n=eW({expressionType:"conjunction",shouldWrapInParens:eq(t.parent),context:e,node:t});if(n){let r=e.sourceCode.getText(t);e.report({data:{original:ej(r),fixed:ej(n)},fix:e=>e.replaceText(t,n),messageId:"convertNegatedConjunction",node:t})}}}}),meta:{docs:{description:"Transforms the negation of a conjunction !(A && B) into the equivalent !A || !B according to De Morgan’s law",url:`https://github.com/${ek}/blob/main/docs/no-negated-conjunction.md`,category:"Best Practices",recommended:!0},messages:{convertNegatedConjunction:"Replace negated conjunction `{{ original }}` with `{{ fixed }}`"},type:"suggestion",fixable:"code",schema:[]}},"no-negated-disjunction":{create:e=>({UnaryExpression:t=>{if(ex(t,e)(eO,e=>eV(e.argument),eR,eJ(eI,eG(eS)))){let n=eW({expressionType:"disjunction",shouldWrapInParens:!1,context:e,node:t});if(n){let r=e.sourceCode.getText(t);e.report({data:{original:ej(r),fixed:ej(n)},fix:e=>e.replaceText(t,n),messageId:"convertNegatedDisjunction",node:t})}}}}),meta:{docs:{description:"Transforms the negation of a disjunction !(A || B) into the equivalent !A && !B according to De Morgan’s law",url:`https://github.com/${ek}/blob/main/docs/no-negated-disjunction.md`,category:"Best Practices",recommended:!0},messages:{convertNegatedDisjunction:"Replace negated disjunction `{{ original }}` with `{{ fixed }}`"},type:"suggestion",fixable:"code",schema:[]}}};function eY(){return Object.fromEntries(Object.keys(eZ).map(e=>[`${eQ}/${e}`,"error"]))}let eX={"recommended-legacy":{plugins:[eQ],rules:eY()},recommended:{plugins:{[eQ]:{rules:eZ}},rules:eY()}},eK=[".js",".jsx",".mjs",".cjs"],e0={plugins:{jsonc:v.memo(z,"eslint-plugin-jsonc")},languageOptions:{parser:U}},e1={"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"},e2={"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","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","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error",camelcase:"off","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","no-use-before-define":"off","@typescript-eslint/no-use-before-define":["error",{functions:!1,classes:!0,variables:!0}],"no-restricted-imports":"off","sukka/no-return-await":"off","@typescript-eslint/return-await":["error","in-try-catch"]},e4=[".ts",".cts",".mts",".tsx",".d.ts"],e3=[...e4,".js",".jsx",".mjs",".cjs"];async function e9(e){if(!Q.isCI&&A.stdout.isTTY&&!v.isPackageExists(e,"string"==typeof __dirname?__dirname:void 0)){let{confirm:t}=await Promise.resolve().then(function(){return require("./vendor-C7TA-LLW.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-C7TA-LLW.cjs")}).then(function(e){return e.a}).then(t=>t.installPackage(e,{dev:!0}))}return Promise.resolve(require(e))}let e5={};function e6(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 e8(e.children,t,n)}return Array.isArray(e)?e8(e,t,n):""}function e8(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=e6(e[i],t,n);return r.join("")}let e7={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:""},te={}.hasOwnProperty;function tt(e){return!!te.call(e7,e)&&e7[e]}function tn(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 tr(e,t){return e.length>0?(tn(e,e.length,0,t),e):t}let ti={}.hasOwnProperty;function to(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(ti.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){ti.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]);tn(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}function ts(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 ta(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let tu=tk(/[A-Za-z]/),tl=tk(/[\dA-Za-z]/),tc=tk(/[#-'*+\--9=?A-Z^-~]/);function tp(e){return null!==e&&(e<32||127===e)}let tf=tk(/\d/),td=tk(/[\dA-Fa-f]/),tm=tk(/[!-/:-@[-`{-~]/);function th(e){return null!==e&&e<-2}function tg(e){return null!==e&&(e<0||32===e)}function ty(e){return -2===e||-1===e||32===e}let tD=tk(/\p{P}|\p{S}/u),tb=tk(/\s/);function tk(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function tx(e,t,n,r){let i=r?r-1:1/0,o=0;return function(r){return ty(r)?(e.enter(n),function r(s){return ty(s)&&o++<i?(e.consume(s),r):(e.exit(n),t(s))}(r)):t(r)}}let tF={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"),tx(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 th(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},tw={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,u,l)(t)}return l(t)}function u(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}g(s);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;return tn(i.events,o+1,0,i.events.slice(r)),i.events.length=a,l(e)}return a(e)}function l(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(tv,c,p)(n)}function c(e){return t&&y(),g(s),f(e)}function p(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(tv,d,m)(t)}function d(e){return s++,o.push([i.currentConstruct,i.containerState]),f(e)}function m(r){if(null===r){t&&y(),g(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){h(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return th(n)?(e.consume(n),h(e.exit("chunkFlow")),s=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function h(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,u=a;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(g(s),o=a;o<i.events.length;)i.events[o][1].end={...n},o++;tn(i.events,u+1,0,i.events.slice(a)),i.events.length=o}}function g(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}}},tv={tokenize:function(e,t,n){return tx(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function tE(e){return null===e||tg(e)||tb(e)?1:tD(e)?2:void 0}function tC(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}let tA={name:"attention",resolveAll:function(e,t){let n,r,i,o,s,a,u,l,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;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[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let p={...e[n][1].end},f={...e[c][1].start};tS(p,-a),tS(f,a),o={type:a>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},i={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[n][1].end={...o.start},e[c][1].start={...s.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=tr(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=tr(u,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),u=tr(u,tC(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),u=tr(u,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(l=2,u=tr(u,[["enter",e[c][1],t],["exit",e[c][1],t]])):l=0,tn(e,n-1,c-n+3,u),c=n+u.length-l-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=tE(i);return function(s){return n=s,e.enter("attentionSequence"),function s(a){if(a===n)return e.consume(a),s;let u=e.exit("attentionSequence"),l=tE(a),c=!l||2===l&&o||r.includes(a),p=!o||2===o&&l||r.includes(i);return u._open=!!(42===n?c:c&&(o||!p)),u._close=!!(42===n?p:p&&(l||!c)),t(a)}(s)}}};function tS(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tT={partial:!0,tokenize:function(e,t,n){return function(t){return ty(t)?tx(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||th(e)?t(e):n(e)}}},tI={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return ty(t)?tx(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(tI,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 ty(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},tL={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 tm(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},tB={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"),u):(e.enter("characterReferenceValue"),r=31,i=tl,l(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=td,l):(e.enter("characterReferenceValue"),r=7,i=tf,l(t))}function l(a){if(59===a&&s){let r=e.exit("characterReferenceValue");return i!==tl||tt(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),l):n(a)}}},tq={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)}}},tj={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"),ty(t)?tx(e,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),ty(i)?tx(e,l,"whitespace")(i):l(i)):n(i)}(t)):n(t)}function l(r){return null===r||th(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,a=0;return function(t){var o;let l;return o=t,s=(l=i.events[i.events.length-1])&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[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"),ty(i)?tx(e,u,"whitespace")(i):u(i))}(o)};function u(o){return null===o||th(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(tq,c,m)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||th(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(i)):ty(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),tx(e,l,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function l(t){return null===t||th(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||th(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,m,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return s>0&&ty(t)?tx(e,d,"linePrefix",s+1)(t):d(t)}function d(t){return null===t||th(t)?e.check(tq,c,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||th(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}},tR={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),tx(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):th(n)?e.attempt(tO,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||th(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},tO={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):th(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):tx(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):th(e)?i(e):n(e)}}};class tN{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?1/0: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),1/0);return n&&tP(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),tP(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),tP(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,1/0);tP(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);tP(this.left,t.reverse())}}}function tP(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 t_(e){let t,n,r,i,o,s,a,u={},l=-1,c=new tN(e);for(;++l<c.length;){for(;l in u;)l=u[l];if(t=c.get(l),l&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(l-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(u,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],s=t-1,a=[],u=i._tokenizer;!u&&(u=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));let l=u.events,c=[],p={},f=-1,d=i,m=0,h=0,g=[0];for(;d;){for(;e.get(++s)[1]!==d;);a.push(s),!d._tokenizer&&(n=o.sliceStream(d),d.next||n.push(null),r&&u.defineSkip(d.start),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),d._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<l.length;)"exit"===l[f][0]&&"enter"===l[f-1][0]&&l[f][1].type===l[f-1][1].type&&l[f][1].start.line!==l[f][1].end.line&&(h=f+1,g.push(h),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(u.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),f=g.length;f--;){let t=l.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)p[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return p}(c,l)),l=u[l],a=!0);else if(t[1]._container){for(r=l,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,l)).unshift(t),c.splice(n,l-n+1,o))}}return tn(e,0,1/0,c.slice(0)),!a}let tM={resolve:function(e){return t_(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):th(t)?e.check(tz,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}}},tz={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"),tx(e,i,"linePrefix")};function i(i){if(null===i||th(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 tU(e,t,n,r,i,o,s,a,u){let l=u||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),p):null===t||32===t||41===t||tp(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),m(t))};function p(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),p(t)):null===t||60===t||th(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!c&&(null===i||41===i||tg(i))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(i)):c<l&&40===i?(e.consume(i),c++,m):41===i?(e.consume(i),c--,m):null===i||32===i||40===i||tp(i)?n(i):(e.consume(i),92===i?h:m)}function h(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function t$(e,t,n,r,i,o){let s,a=this,u=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),l};function l(p){return u>999||null===p||91===p||93===p&&!s||94===p&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):93===p?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):th(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(t){return null===t||91===t||93===t||th(t)||u++>999?(e.exit("chunkString"),l(t)):(e.consume(t),s||(s=!ty(t)),92===t?p:c)}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function tV(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),u(n))}function u(t){return t===s?(e.exit(o),a(s)):null===t?n(t):th(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),tx(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===s||null===t||th(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?c:l)}function c(t){return t===s||92===t?(e.consume(t),l):l(t)}}function tH(e,t){let n;return function r(i){return th(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ty(i)?tx(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}let tW={partial:!0,tokenize:function(e,t,n){return function(t){return tg(t)?tH(e,r)(t):n(t)};function r(t){return tV(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return ty(t)?tx(e,o,"whitespace")(t):o(t)}function o(e){return null===e||th(e)?t(e):n(e)}}},tG=["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"],tJ=["pre","script","style","textarea"],tQ={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(tT,t,n)}}},tZ={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return th(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)}}},tY={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&&tn(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 u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[i-2][1].start}};return o=tr(o=[["enter",u,t],["enter",l,t]],e.slice(r+1,r+a+3)),o=tr(o,[["enter",c,t]]),o=tr(o,tC(t.parser.constructs.insideSpan.null,e.slice(r+a+4,i-3),t)),o=tr(o,[["exit",c,t],e[i-2],e[i-1],["exit",l,t]]),o=tr(o,e.slice(i+1)),o=tr(o,[["exit",u,t]]),tn(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?c(t):(i=o.parser.defined.includes(ta(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(tX,l,i?l:c)(t):91===t?e.attempt(tK,l,i?u:c)(t):i?l(t):c(t)}function u(t){return e.attempt(t0,l,c)(t)}function l(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},tX={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 tg(t)?tH(e,i)(t):i(t)}function i(t){return 41===t?l(t):tU(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return tg(t)?tH(e,a)(t):l(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?tV(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function u(t){return tg(t)?tH(e,l)(t):l(t)}function l(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tK={tokenize:function(e,t,n){let r=this;return function(t){return t$.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(ta(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},t0={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)}}},t1={name:"labelStartImage",resolveAll:tY.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)}}},t2={name:"labelStartLink",resolveAll:tY.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)}}},t4={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),tx(e,t,"linePrefix")}}},t3={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"),ty(n)?tx(e,o,"whitespace")(n):o(n))}(s)):i>=3&&(null===s||th(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},t9={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(tT,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,tx(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!ty(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(t6,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,tx(e,e.attempt(t9,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:tf(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(t3,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return tf(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(tT,r.interrupt?n:u,e.attempt(t5,c,l))}function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function l(t){return ty(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},t5={partial:!0,tokenize:function(e,t,n){let r=this;return tx(e,function(e){let i=r.events[r.events.length-1];return!ty(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},t6={partial:!0,tokenize:function(e,t,n){let r=this;return tx(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)}},t8={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[n][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,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){a="paragraph"===i.events[u][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"),ty(n)?tx(e,o,"lineSuffix")(n):o(n))}(s)):n(t)};function o(r){return null===r||th(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},t7={tokenize:function(e){let t=this,n=e.attempt(tT,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,tx(e,e.attempt(this.parser.constructs.flow,r,e.attempt(tM,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)}}},ne={resolveAll:ni()},nt=nr("string"),nn=nr("text");function nr(e){return{resolveAll:ni("text"===e?no: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 u(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 u(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function u(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 ni(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 no(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,u=0;for(;s--;){let e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){let o={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:i.start._bufferIndex+a,_index:i.start._index+s,line:i.end.line,column:i.end.column-u,offset:i.end.offset-u},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 ns=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,t$.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=ta(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 tg(t)?tH(e,a)(t):a(t)}function a(t){return tU(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(tW,l,l)(t)}function l(t){return ty(t)?tx(e,c,"whitespace")(t):c(t)}function c(o){return null===o||th(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},disable:{null:[]},document:{42:t9,43:t9,45:t9,48:t9,49:t9,50:t9,51:t9,52:t9,53:t9,54:t9,55:t9,56:t9,57:t9,62:tI},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"},tn(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||tg(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||th(r)?(e.exit("atxHeading"),t(r)):ty(r)?tx(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||tg(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:t3,45:[t8,t3],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,u=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),l};function l(s){return 33===s?(e.consume(s),c):47===s?(e.consume(s),i=!0,d):63===s?(e.consume(s),r=3,u.interrupt?t:B):tu(s)?(e.consume(s),o=String.fromCharCode(s),m):n(s)}function c(i){return 45===i?(e.consume(i),r=2,p):91===i?(e.consume(i),r=5,s=0,f):tu(i)?(e.consume(i),r=4,u.interrupt?t:B):n(i)}function p(r){return 45===r?(e.consume(r),u.interrupt?t:B):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?u.interrupt?t:v:f:n(r)}function d(t){return tu(t)?(e.consume(t),o=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||tg(s)){let a=47===s,l=o.toLowerCase();return!a&&!i&&tJ.includes(l)?(r=1,u.interrupt?t(s):v(s)):tG.includes(o.toLowerCase())?(r=6,a)?(e.consume(s),h):u.interrupt?t(s):v(s):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(s):i?function t(n){return ty(n)?(e.consume(n),t):F(n)}(s):g(s))}return 45===s||tl(s)?(e.consume(s),o+=String.fromCharCode(s),m):n(s)}function h(r){return 62===r?(e.consume(r),u.interrupt?t:v):n(r)}function g(t){return 47===t?(e.consume(t),F):58===t||95===t||tu(t)?(e.consume(t),y):ty(t)?(e.consume(t),g):F(t)}function y(t){return 45===t||46===t||58===t||95===t||tl(t)?(e.consume(t),y):D(t)}function D(t){return 61===t?(e.consume(t),b):ty(t)?(e.consume(t),D):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,k):ty(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||tg(n)?D(n):(e.consume(n),t)}(t)}function k(t){return t===a?(e.consume(t),a=null,x):null===t||th(t)?n(t):(e.consume(t),k)}function x(e){return 47===e||62===e||ty(e)?g(e):n(e)}function F(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||th(t)?v(t):ty(t)?(e.consume(t),w):n(t)}function v(t){return 45===t&&2===r?(e.consume(t),S):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),q):63===t&&3===r?(e.consume(t),B):93===t&&5===r?(e.consume(t),L):th(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tQ,j,E)(t)):null===t||th(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),v)}function E(t){return e.check(tZ,C,j)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||th(t)?E(t):(e.enter("htmlFlowData"),v(t))}function S(t){return 45===t?(e.consume(t),B):v(t)}function T(t){return 47===t?(e.consume(t),o="",I):v(t)}function I(t){if(62===t){let n=o.toLowerCase();return tJ.includes(n)?(e.consume(t),q):v(t)}return tu(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),I):v(t)}function L(t){return 93===t?(e.consume(t),B):v(t)}function B(t){return 62===t?(e.consume(t),q):45===t&&2===r?(e.consume(t),B):v(t)}function q(t){return null===t||th(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),q)}function j(n){return e.exit("htmlFlow"),t(n)}}},61:t8,95:t3,96:tj,126:tj},flowInitial:{[-2]:tR,[-1]:tR,32:tR},insideSpan:{null:[tA,ne]},string:{38:tB,92:tL},text:{[-5]:t4,[-4]:t4,[-3]:t4,33:t1,38:tB,42:tA,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 tu(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||tl(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||tl(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||tp(r)?n(r):(e.consume(r),s)}function a(t){return 64===t?(e.consume(t),u):tc(t)?(e.consume(t),a):n(t)}function u(i){return tl(i)?function i(o){return 46===o?(e.consume(o),r=0,u):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||tl(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),u):47===t?(e.consume(t),k):63===t?(e.consume(t),D):tu(t)?(e.consume(t),F):n(t)}function u(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),i=0,d):tu(t)?(e.consume(t),y):n(t)}function l(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),p):th(t)?(o=c,I(t)):(e.consume(t),c)}function p(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?T(e):45===e?p(e):c(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),h):th(t)?(o=m,I(t)):(e.consume(t),m)}function h(t){return 93===t?(e.consume(t),g):m(t)}function g(t){return 62===t?T(t):93===t?(e.consume(t),g):m(t)}function y(t){return null===t||62===t?T(t):th(t)?(o=y,I(t)):(e.consume(t),y)}function D(t){return null===t?n(t):63===t?(e.consume(t),b):th(t)?(o=D,I(t)):(e.consume(t),D)}function b(e){return 62===e?T(e):D(e)}function k(t){return tu(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||tl(t)?(e.consume(t),x):function t(n){return th(n)?(o=t,I(n)):ty(n)?(e.consume(n),t):T(n)}(t)}function F(t){return 45===t||tl(t)?(e.consume(t),F):47===t||62===t||tg(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),T):58===t||95===t||tu(t)?(e.consume(t),v):th(t)?(o=w,I(t)):ty(t)?(e.consume(t),w):T(t)}function v(t){return 45===t||46===t||58===t||95===t||tl(t)?(e.consume(t),v):function t(n){return 61===n?(e.consume(n),E):th(n)?(o=t,I(n)):ty(n)?(e.consume(n),t):w(n)}(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):th(t)?(o=E,I(t)):ty(t)?(e.consume(t),E):(e.consume(t),A)}function C(t){return t===r?(e.consume(t),r=void 0,S):null===t?n(t):th(t)?(o=C,I(t)):(e.consume(t),C)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||tg(t)?w(t):(e.consume(t),A)}function S(e){return 47===e||62===e||tg(e)?w(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function I(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return ty(t)?tx(e,B,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):B(t)}function B(t){return e.enter("htmlTextData"),o(t)}}}],91:t2,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return th(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},tL],93:tY,95:tA,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(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),s):96===u?(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))}(u)):th(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):(e.enter("codeTextData"),a(u))}function a(t){return null===t||32===t||96===t||th(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),a)}}}}});let na=/[\0\t\n\r]/g,nu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function nl(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return ts(n.slice(t?2:1),t?16:10)}return tt(n)||e}function nc(e){return e&&"object"==typeof e?"position"in e||"type"in e?nf(e.position):"start"in e||"end"in e?nf(e):"line"in e||"column"in e?np(e):"":""}function np(e){return nd(e&&e.line)+":"+nd(e&&e.column)}function nf(e){return np(e&&e.start)+"-"+np(e&&e.end)}function nd(e){return e&&"number"==typeof e?e:1}let nm={}.hasOwnProperty;function nh(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:l,autolinkEmail:l,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:l,characterReference:l,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:l,data:l,codeFlowValue:l,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(h),hardBreakTrailing:r(h),htmlFlow:r(g,i),htmlFlowData:l,htmlText:r(g,i),htmlTextData:l,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(D,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(D),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){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=ts(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tt(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=ng(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:c,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:c,data:c,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=ta(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(p),hardBreakTrailing:s(p),htmlFlow:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:s(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,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(nu,nl),n.identifier=ta(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=ng(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(l.call(this,e),c.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=ta(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(nm.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:u,data:n},l=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?l.push(c):c=function(e,t,n){let r,i,o,s,a=t-1,u=-1,l=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||u||o||(o=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"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",l=!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=l,n}(e,l.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];nm.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},s),e[c][1])}if(s.tokenStack.length>0){let e=s.tokenStack[s.tokenStack.length-1];(e[1]||ny).call(s,void 0,e[0])}for(r.position={start:ng(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ng(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](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:ng(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]||ny).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+nc({start:e.start,end:e.end})+"): it’s not open");n.position.end=ng(e.end)}function u(){var e;return e=this.stack.pop(),e6(e,"boolean"!=typeof e5.includeImageAlt||e5.includeImageAlt,"boolean"!=typeof e5.includeHtml||e5.includeHtml)}function l(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:ng(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=ng(e.end)}function p(){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 h(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function D(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!t_(e););return e}((function(e){let t={constructs:to([ns,...(e||{}).extensions||[]]),content:n(tF),defined:[],document:n(tw),flow:n(t7),lazy:{},string:n(nt),text:n(nn)};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=[],u={attempt:m(function(e,t){h(e,t.from)}),check:m(d),consume:function(e){th(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),l.events.push(["enter",n,l]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=f(),l.events.push(["exit",t,l]),t},interrupt:m(d,{interrupt:!0})},l={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},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("")}(p(e),t)},sliceStream:p,write:function(e){return(s=tr(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),c=c(t)}else c=c(n)}}(),null!==s[s.length-1])?[]:(h(t,0),l.events=tC(o,l.events,l),l.events)}},c=t.tokenize.call(l,u);return t.resolveAll&&o.push(t),l;function p(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 c,p,d,m;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function h(e){return(c=e,p=0,0===e.length)?o:y(e[p])}function y(e){return function(n){let i,o,s,c,p;return(i=f(),o=l.previous,s=l.currentConstruct,c=l.events.length,p=Array.from(a),m={from:c,restore:function(){r=i,l.previous=o,l.currentConstruct=s,l.events.length=c,a=p,g()}},d=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name))?b():e.tokenize.call(t?Object.assign(Object.create(l),t):l,u,D,b)(n)}}function D(t){return e(d,m),i}function b(e){return(m.restore(),++p<c.length)?y(c[p]):o}}}function h(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&tn(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function g(){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,u,l,c,p,f=[];for(e=o+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),l=0,o="",s&&(65279===e.charCodeAt(0)&&l++,s=void 0);l<e.length;){if(na.lastIndex=l,c=(a=na.exec(e))&&void 0!==a.index?a.index:e.length,p=e.charCodeAt(c),!a){o=e.slice(l);break}if(10===p&&l===c&&r)f.push(-3),r=void 0;else switch(r&&(f.push(-5),r=void 0),l<c&&(f.push(e.slice(l,c)),i+=c-l),p){case 0:f.push(65533),i++;break;case 9:for(u=4*Math.ceil(i/4),f.push(-2);i++<u;)f.push(-1);break;case 10:f.push(-4),i=1;break;default:r=!0,i=1}l=c+1}return n&&(r&&f.push(-5),o&&f.push(o),f.push(null)),f})(e,t,!0))))}function ng(e){return{line:e.line,column:e.column,offset:e.offset}}function ny(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+nc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+nc({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+nc({start:t.start,end:t.end})+") is still open")}let nD=new Set(["eol-last","unicode-bom"]),nb=new Map,nk=/^[>\s]*/u;function nx(e){return e.position.start.offset-e.position.start.column+1}function nF(e,t){return nk.exec(e.slice(nx(t)))[0]}let nw=/filename=(?<quote>["'])(?<filename>.*?)\1/u,nv={javascript:"js",ecmascript:"js",typescript:"ts",markdown:"md"};function nE(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,`
|
|
6
|
+
${e.baseIndentText}`)}}function nC(e){return e&&!nD.has(e.ruleId)}var nA={},nS={exports:{}},nT={exports:{}};function nI(){if(h)return m;h=1;var e,t,n,r,g,y,D,b,k={}.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()}return e=function(){if(o)return i;o=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)}),i={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(a)return s;a=1;var e,t,n,r,i,o,u,l,c,p,f,d,m,h,g,y,D,b,k,x,F,w,v,E,C,A,S,T,I,L,B,q,j,R,O,N,P,_,M,z,U,$,V,H,W,G,J,Q,Z,Y,X={}.toString;function K(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 ee(e,t){for(var n=-1,r=t.length>>>0;++n<r;)if(e===t[n])return!0;return!1}function et(e){return!e}return e=K(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)e(t[n]);return t}),t=K(function(e,t){var n,r,i=[];for(n=0,r=t.length;n<r;++n)i.push(e(t[n]));return i}),n=K(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=K(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=K(function(e,t){var n,r;return n=J(e,t),r=t.slice(),null!=n&&r.splice(n,1),r}),o=K(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]}),u=K(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(e(i=t[n]))return i}),l=c=function(e){return e[0]},p=K(function(e,t){var n,r,i,o,s,a=[];for(r=0,n=[],i=t.length;r<i;++r)ee(s=e(o=t[r]),n)||(n.push(s),a.push(o));return a}),f=d=K(function(e,t,n){var r,i;for(r=0,i=n.length;r<i;++r)t=e(t,n[r]);return t}),m=h=K(function(e,t){return f(e,t[0],t.slice(1))}),g=K(function(e,t,n){var r;for(r=n.length-1;r>=0;--r)t=e(n[r],t);return t}),y=K(function(e,t){return g(e,t[t.length-1],t.slice(0,-1))}),D=K(function(e,t){var n,r,i;for(n=[],r=t;null!=(i=e(r));)n.push(i[0]),r=i[1];return n}),b=K(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}())}),k=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"===X.call(t).slice(8,-1)?i.push(k(t)):i.push(t);return i}())},x=K(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}),F=K(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}),w=K(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(e(t[n]))return!0;return!1}),v=K(function(e,t){var n,r;for(n=0,r=t.length;n<r;++n)if(!e(t[n]))return!1;return!0}),E=K(function(e,t){return t.concat().sort(e)}),C=K(function(e,t){return t.concat().sort(function(t,n){return e(t)>e(n)?1:e(t)<e(n)?-1:0})}),A=S=function(e){var t,n,r;for(n=0,t=0,r=e.length;n<r;++n)t+=e[n];return t/e.length},T=K(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}),I=K(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}),L=B=K(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}())}),q=j=K(function(e,t){if(t.length)return L(e,t[0],t.slice(1))}),R=K(function(e,t,n){return L(e,t,n=n.concat().reverse()).reverse()}),O=K(function(e,t){if(t.length)return L(e,(t=t.concat().reverse())[0],t.slice(1)).reverse()}),N=K(function(e,t,n){return n.slice(e,t)}),P=K(function(e,t){return e<=0?t.slice(0,0):t.slice(0,e)}),_=K(function(e,t){return e<=0?t:t.slice(e)}),M=K(function(e,t){return[P(e,t),_(e,t)]}),z=K(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)}),U=K(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)}),$=K(function(e,t){return[z(e,t),U(e,t)]}),V=K(function(e,t){return $(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,et),t)}),H=K(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=K(function(e,t,n){var r,i,o,s,a,u;for(o=0,r=[],i=n.length,s=t.length;o<s&&(a=o,u=t[o],a!==i);++o)r.push(e(u,n[a]));return r}),G=K(function(e,t){return e<0?t[t.length+e]:t[e]}),J=K(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,t[n]===e)return i}),Q=K(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}),Z=K(function(e,t){var n,r,i;for(n=0,r=t.length;n<r;++n)if(i=n,e(t[n]))return i}),Y=K(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}),s={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:u,head:l,first:c,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,u;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];e:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],u=t.length;a<u;++a)if(ee(s,t[a]))continue e;i.push(s)}return i},intersection:function(e){var t,n,r,i,o,s,a,u;for(n=1,t=[],r=arguments.length;n<r;++n)t.push(arguments[n]);i=[];e:for(n=0,o=e.length;n<o;++n){for(a=0,s=e[n],u=t.length;a<u;++a)if(!ee(s,t[a]))continue e;i.push(s)}return i},union:function(){var e,t,n,r,i,o,s,a,u;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)ee(u=o[s],r)||r.push(u);return r},countBy:x,groupBy:F,fold:f,fold1:m,foldl:d,foldl1:h,foldr:g,foldr1:y,unfoldr:D,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:w,all:v,unique:function(e){var t,n,r,i;for(n=0,t=[],r=e.length;n<r;++n)ee(i=e[n],t)||t.push(i);return t},uniqueBy:p,sort:function(e){return e.concat().sort(function(e,t){return e>t?1:e<t?-1:0})},sortWith:E,sortBy:C,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:A,average:S,concat:function(e){return[].concat.apply([],e)},concatMap:b,flatten:k,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:T,minimumBy:I,scan:L,scan1:q,scanl:B,scanl1:j,scanr:R,scanr1:O,slice:N,take:P,drop:_,splitAt:M,takeWhile:z,dropWhile:U,span:$,breakList:V,zip:H,zipWith:W,zipAll:function(){var e,t,n,r,i,o,s,a,u,l,c=[];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(l=0,a=t,u=[],i=e.length;l<i;++l)o=e[l],u.push(o[a]);c.push(u)}return c},zipAllWith:function(e){var t,n,r,i,o,s,a,u,l=[];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)u=n,l.push(e.apply(null,function(){var e,n,r=[];for(e=0,n=t.length;e<n;++e)r.push((s=t[e])[u]);return r}()));return l},at:G,elemIndex:J,elemIndices:Q,findIndex:Z,findIndices:Y}}(),n=function(){var e,t,n,r,i;if(l)return u;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 l=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}),u={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(p)return c;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 p=1,e=t(function(e,t){return t.split(e)}),c={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()})}}}(),g=function(){var e,t,n,r,i,o,s,a,u,l,c,p,m,h,g,y,D,b,k,x,F,w,v,E;if(d)return f;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 d=1,e=C(function(e,t){return e>t?e:t}),t=C(function(e,t){return e<t?e:t}),n=Math.abs,r=C(function(e,t){return~~(e/t)}),i=C(function(e,t){return e%t}),o=C(function(e,t){return Math.floor(e/t)}),s=C(function(e,t){return(e%t+t)%t}),a=Math.PI,u=Math.exp,l=Math.sqrt,c=Math.log,p=C(function(e,t){return Math.pow(e,t)}),m=Math.sin,h=Math.tan,g=Math.cos,y=Math.asin,D=Math.acos,b=Math.atan,k=C(function(e,t){return Math.atan2(e,t)}),x=Math.round,F=Math.ceil,w=Math.floor,v=C(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}),E=C(function(e,t){return Math.abs(Math.floor(e/v(e,t)*t))}),f={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:u,sqrt:l,ln:c,pow:p,sin:m,tan:h,cos:g,acos:D,asin:y,atan:b,atan2:k,truncate:function(e){return~~e},round:x,ceiling:F,floor:w,isItNaN:function(e){return e!=e},even:function(e){return e%2==0},odd:function(e){return e%2!=0},gcd:v,lcm:E}}(),y=x(function(e,t){return k.call(t).slice(8,-1)===e}),D=x(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,(b={Func:e,List:t,Obj:n,Str:r,Num:g,id:function(e){return e},isType:y,replicate:D}).each=t.each,b.map=t.map,b.filter=t.filter,b.compact=t.compact,b.reject=t.reject,b.partition=t.partition,b.find=t.find,b.head=t.head,b.first=t.first,b.tail=t.tail,b.last=t.last,b.initial=t.initial,b.empty=t.empty,b.reverse=t.reverse,b.difference=t.difference,b.intersection=t.intersection,b.union=t.union,b.countBy=t.countBy,b.groupBy=t.groupBy,b.fold=t.fold,b.foldl=t.foldl,b.fold1=t.fold1,b.foldl1=t.foldl1,b.foldr=t.foldr,b.foldr1=t.foldr1,b.unfoldr=t.unfoldr,b.andList=t.andList,b.orList=t.orList,b.any=t.any,b.all=t.all,b.unique=t.unique,b.uniqueBy=t.uniqueBy,b.sort=t.sort,b.sortWith=t.sortWith,b.sortBy=t.sortBy,b.sum=t.sum,b.product=t.product,b.mean=t.mean,b.average=t.average,b.concat=t.concat,b.concatMap=t.concatMap,b.flatten=t.flatten,b.maximum=t.maximum,b.minimum=t.minimum,b.maximumBy=t.maximumBy,b.minimumBy=t.minimumBy,b.scan=t.scan,b.scanl=t.scanl,b.scan1=t.scan1,b.scanl1=t.scanl1,b.scanr=t.scanr,b.scanr1=t.scanr1,b.slice=t.slice,b.take=t.take,b.drop=t.drop,b.splitAt=t.splitAt,b.takeWhile=t.takeWhile,b.dropWhile=t.dropWhile,b.span=t.span,b.breakList=t.breakList,b.zip=t.zip,b.zipWith=t.zipWith,b.zipAll=t.zipAll,b.zipAllWith=t.zipAllWith,b.at=t.at,b.elemIndex=t.elemIndex,b.elemIndices=t.elemIndices,b.findIndex=t.findIndex,b.findIndices=t.findIndices,b.apply=e.apply,b.curry=e.curry,b.flip=e.flip,b.fix=e.fix,b.over=e.over,b.split=r.split,b.join=r.join,b.lines=r.lines,b.unlines=r.unlines,b.words=r.words,b.unwords=r.unwords,b.chars=r.chars,b.unchars=r.unchars,b.repeat=r.repeat,b.capitalize=r.capitalize,b.camelize=r.camelize,b.dasherize=r.dasherize,b.values=n.values,b.keys=n.keys,b.pairsToObj=n.pairsToObj,b.objToPairs=n.objToPairs,b.listsToObj=n.listsToObj,b.objToLists=n.objToLists,b.max=g.max,b.min=g.min,b.negate=g.negate,b.abs=g.abs,b.signum=g.signum,b.quot=g.quot,b.rem=g.rem,b.div=g.div,b.mod=g.mod,b.recip=g.recip,b.pi=g.pi,b.tau=g.tau,b.exp=g.exp,b.sqrt=g.sqrt,b.ln=g.ln,b.pow=g.pow,b.sin=g.sin,b.tan=g.tan,b.cos=g.cos,b.acos=g.acos,b.asin=g.asin,b.atan=g.atan,b.atan2=g.atan2,b.truncate=g.truncate,b.round=g.round,b.ceiling=g.ceiling,b.floor=g.floor,b.isItNaN=g.isItNaN,b.even=g.even,b.odd=g.odd,b.gcd=g.gcd,b.lcm=g.lcm,b.VERSION="1.2.1",m=b}var nL=nT.exports,nB={exports:{}},nq={exports:{}},nj={exports:{}},nR=nj.exports,nO={exports:{}},nN=nO.exports,nP=nq.exports;function n_(){return b||(b=1,(function(){var e,t;y||(y=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,u,l,c;for(t={},i(e,"{"),s=!1;;){if(o(e,"...")){s=!0;break}if(l=(u=function(e){var t;return t=r(e),i(e,":"),[t,a(e)]}(e))[0],c=u[1],t[l]=c,o(e,","),"}"===n(e))break}return i(e,"}"),{structure:"fields",of:t,subset:s}}(e)}}function a(t){var a,u,l,c,p,f;if("::"===n(t))throw Error("No comment before comment separator '::' found.");for(null!=(a=t[1])&&"::"===a&&(t.shift(),t.shift()),u=[],l={},"Maybe"===n(t)&&(t.shift(),u=[{type:"Undefined"},{type:"Null"}],l={Undefined:!0,Null:!0});p=(c=function(t){var o,a,u,l;if((a="*"===(o=n(t)))||e.test(o))return(u=a?i(t,"*"):r(t),l=s(t))?(l.type=u,l):{type:u};if(!(l=s(t)))throw Error("Unexpected character: "+o);return l}(t)).type,f=c.structure,l[p]||u.push(c),null==f&&(l[p]=!0),o(t,"|"););return u}t=RegExp("\\.\\.\\.|::|->|"+(e=/[\$\w]+/).source+"|\\S","g"),nj.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(nR)),e=nj.exports,D||(D=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,l,c;for(o in r={},i=0,e)r[o]=!0,i++;for(a in s=0,l=t.of){if(c=l[a],!u(e[a],c,n))return!1;r[a]&&s++}return t.subset||i===s}(e,t,r);case"array":return n(function(e){return u(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],!u(e[r],a,n))return!1;r++}return e.length<=r}(e,t,r)}}function u(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,u,l,c;if(n=t.type,u=t.structure,n)return"*"===n||((l=r.customTypes[n]||i[n])?(void 0===l.typeOf||l.typeOf===s.call(e).slice(8,-1))&&l.validate(e):n===s.call(e).slice(8,-1)&&(!u||a(e,t,r)));if(u)return(!(c=o[u])||c===s.call(e).slice(8,-1))&&a(e,t,r);throw Error("No type defined. Input: "+e+".")},n)}t=(e=nI()).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"},nO.exports=function(e,t,n){return null==n&&(n={}),null==n.customTypes&&(n.customTypes={}),u(t,e,n)}}).call(nN)),nq.exports={VERSION:"0.4.0",typeCheck:function(n,r,i){return t(e(n),r,i)},parsedTypeCheck:t=nO.exports,parseType:e}}).call(nP)),nq.exports}var nM=nB.exports,nz=nS.exports,nU=function(){if(F)return nA;F=1;var e=(x||(x=1,(function(){var e,t,n,r;g||(g=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,u;for(o=t[0],s=t[1],n&&r(e,o),a=[],u=","+(n?s:"");e.length&&n&&e[0]!==s;)a.push(c(e,u)),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 u(e,t){var n,o,s;for(t&&r(e,"{"),n={},o=","+(t?"}":"");e.length&&(!t||"}"!==e[0]);)s=l(e,":"),r(e,":"),n[s]=c(e,o),i(e,",");return t&&r(e,"}"),n}function l(e,t){var n;for(null==t&&(t=""),n="";e.length&&-1===t.indexOf(e[0]);)n+=e.shift();return n}function c(e,t){switch(e[0]){case"[":return s(e,!0);case"(":return a(e,!0);case"{":return u(e,!0);default:return l(e,t)}}function p(e){return!e}e=nI().reject,n=RegExp("(\"(?:\\\\\"|[^\"])*\")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|(["+(t=/\[\]\(\)}{:,/.source)+"])|([^\\s"+t+"](?:\\s*[^\\s"+t+"]+)*)|\\s*"),nT.exports=function(t,r,i){var o,l,f,d,m,h,g,y,D;if(null==i&&(i={}),!i.explicit&&1===t.length&&"String"===t[0].type)return r;if(l=e(p,r.split(n)),f=i,m=(d=t[0]).type,h=d.structure,g=l.concat(),f.explicit||1!==t.length||(m||!h)&&"Array"!==m&&"Object"!==m?D=c(l):(y="array"===h||"Array"===m?s(l,"["===l[0]):"tuple"===h?a(l,"("===l[0]):u(l,"{"===l[0]),D=l.length?c(("array"===h||"Array"===m?(g.unshift("["),g.push("]")):(g.unshift("("),g.push(")")),g)):y),!(o=D))throw Error("Error parsing '"+r+"'.");return o}}).call(nL)),e=nT.exports,k||(k=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 u,l,c,p;if(u=o.type,l=o.structure,u){if(!(c=(null!=(p=a.customTypes[u])?p.cast:void 0)||t[u]))throw Error("Type not defined: "+u+".");return c(e,a,s)}switch(l){case"array":return r(e,o,a);case"tuple":return function(e,t,r){var i,o,a,u,l,c,p;if("Array"!==n.call(e).slice(8,-1))return{type:"Nothing"};for(a=0,i=[],o=0,l=(u=t.of).length;a<l;++a)c=u[a],p=s(e[o],c,r),"Undefined"!==n.call(p).slice(8,-1)&&i.push(p),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,u,l,c;for(i=0,s=n.length;i<s;++i)if(l=(u=o(t,a=n[i],r)).type,c=u.value,"Nothing"!==l&&e([a],c,{customTypes:r.customTypes}))return c;throw Error("Value "+JSON.stringify(t)+" does not type check against "+JSON.stringify(n)+".")}e=n_().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}}},nB.exports=function(e,t,n){return n.explicit||1!==t.length||"String"!==t[0].type?s(e,t,n):e}}).call(nM)),t=nB.exports,n=n_().parseType,nS.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(nz)),nS.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 nA.CallMethodStep=class{type="call";kind=2;target;args;constructor({target:e,args:t}){this.target=e,this.args=t}},nA.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/])([-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}#e(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.#e(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)}},nA.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}},nA.TextSourceCodeBase=class{#t=[];#n=[0];#r;ast;text;constructor({text:e,ast:t,lineEndingPattern:n=/\r?\n/u}){this.ast=t,this.text=e,this.#r=new RegExp(n.source,n.flags.replace(/[gy]/gu,""))}#i(e){let t=this.#r.exec(e);return!!t&&(this.#t.push(e.slice(0,t.index)),this.#n.push((this.#n.at(-1)??0)+t.index+t[0].length),!0)}#o(){if(this.#t.length!==this.#n.length){for(;this.#i(this.text.slice(this.#n.at(-1))););this.#t.push(this.text.slice(this.#n.at(-1))),Object.freeze(this.#t)}}#s(e){if(!(e<=(this.#n.at(-1)??0)))for(;e>(this.#n.at(-1)??0)&&this.#i(this.text.slice(this.#n.at(-1))););}#a(e,t){let n=e.line-t+1-(this.#n.length-1);if(!(n<=0))for(;n>0&&this.#i(this.text.slice(this.#n.at(-1)));)n-=1}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.")}getLocFromIndex(e){if("number"!=typeof e)throw TypeError("Expected `index` to be a number.");if(e<0||e>this.text.length)throw RangeError(`Index out of range (requested index ${e}, but source text has length ${this.text.length}).`);let{start:{line:t,column:n},end:{line:r,column:i}}=this.getLoc(this.ast);if(0===e)return{line:t,column:n};if(e===this.text.length)return{line:r,column:i};this.#s(e);let o=(e>=(this.#n.at(-1)??0)?this.#n.length:function(e,t){let n=0,r=e.length-1;for(;n<r;){let i=(n+r)/2|0;t<e[i]?r=i:n=i+1}return n}(this.#n,e))-1+t;return{line:o,column:e-this.#n[o-t]+n}}getIndexFromLoc(e){if(null===e||"object"!=typeof e||"number"!=typeof e.line||"number"!=typeof e.column)throw TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");let{start:{line:t,column:n},end:{line:r,column:i}}=this.getLoc(this.ast);if(e.line<t||r<e.line)throw RangeError(`Line number out of range (line ${e.line} requested). Valid range: ${t}-${r}`);if(e.line===t&&e.column===n)return 0;if(e.line===r&&e.column===i)return this.text.length;this.#a(e,t);let o=e.line===r,s=this.#n[e.line-t],a=o?this.text.length:this.#n[e.line-t+1],u=s+e.column-n;if(e.column<n||o&&u>a||!o&&u>=a)throw RangeError(`Column number out of range (column ${e.column} requested). Valid range for line ${e.line}: ${n}-${a-s+n+(o?0:-1)}`);return u}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.#o(),this.#t}traverse(){throw Error("Not implemented.")}},nA.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}},nA}();let n$=/\r\n|[\r\n]/u,nV=/\]\[\s+\]$/u,nH=/<!--[\s\S]*?-->/gu;function nW(e,t){if(!t)return!1;for(let n of e.split(n$))if(t.test(n))return!0;return!1}function nG(e){return e.replace(nH,e=>e.replace(/[^\r\n]/g," "))}let nJ=new nU.ConfigCommentParser,nQ=/<!--\s*eslint(?:-enable|-disable(?:(?:-next)?-line)?)?(?:\s|-->)/u,nZ=/<!--(.*?)-->/gsu;class nY{value;position;constructor({value:e,position:t}){this.value=e.trim(),this.position=t}}class nX extends nU.TextSourceCodeBase{#u;#l=new WeakMap;#c=[];#p;ast=void 0;constructor({text:e,ast:t}){super({ast:t,text:e,lineEndingPattern:n$}),this.ast=t,this.traverse()}getParent(e){return this.#l.get(e)}getInlineConfigNodes(){return this.#p||(this.#p=this.#c.flatMap(e=>(function(e,t){let n;if(!nQ.test(e.value))return[];let r=[];for(;n=nZ.exec(e.value);)if(nQ.test(n[0])){let i=n.index+e.position.start.offset,o=i+n[0].length;r.push(new nY({value:n[1].trim(),position:{start:{...t.getLocFromIndex(i),offset:i},end:{...t.getLocFromIndex(o),offset:o}}}))}return r})(e,this))),this.#p}getDisableDirectives(){let e=[],t=[];return this.getInlineConfigNodes().forEach(n=>{let{label:r,value:i,justification:o}=nJ.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 nU.Directive({type:e,node:n,value:i,justification:o}))}}}),{problems:e,directives:t}}applyInlineConfig(){let e=[],t=[];return this.getInlineConfigNodes().forEach(n=>{let{label:r,value:i}=nJ.parseDirective(n.value);if("eslint"===r){let r=nJ.parseJSONLikeConfig(i);r.ok?t.push({config:{rules:r.config},loc:n.position}):e.push({ruleId:null,message:r.error.message,loc:n.position})}}),{configs:t,problems:e}}traverse(){if(this.#u)return this.#u.values();let e=this.#u=[],t=(n,r)=>{this.#l.set(n,r),e.push(new nU.VisitNodeStep({target:n,phase:1,args:[n,r]})),"html"===n.type&&this.#c.push(n),n.children&&n.children.forEach(e=>{t(e,n)}),e.push(new nU.VisitNodeStep({target:n,phase:2,args:[n,r]}))};return t(this.ast),e.values()}}var nK={exports:{}},n0=function(){var e;if(w)return nK.exports;function t(e){for(var t,n,r,i,o=1,s=[].slice.call(arguments),a=0,u=e.length,l="",c=!1,p=!1,f=function(){return s[o++]};a<u;++a)if(t=e[a],c)switch(c=!1,"."==t?(p=!1,t=e[++a]):"0"==t&&"."==e[a+1]?(p=!0,a+=2,t=e[a]):p=!0,i=function(){for(var n="";/\d/.test(e[a]);)n+=e[a++],t=e[a];return n.length>0?parseInt(n):null}(),t){case"b":l+=parseInt(f(),10).toString(2);break;case"c":"string"==typeof(n=f())||n instanceof String?l+=n:l+=String.fromCharCode(parseInt(n,10));break;case"d":l+=parseInt(f(),10);break;case"f":r=String(parseFloat(f()).toFixed(i||6)),l+=p?r:r.replace(/^0/,"");break;case"j":l+=JSON.stringify(f());break;case"o":l+="0"+parseInt(f(),10).toString(8);break;case"s":l+=f();break;case"x":l+="0x"+parseInt(f(),10).toString(16);break;case"X":l+="0x"+parseInt(f(),10).toString(16).toUpperCase();break;default:l+=t}else"%"===t?c=!0:l+=t;return l}return w=1,(e=nK.exports=t).format=t,e.vsprintf=function(e,n){return t.apply(null,[e].concat(n))},"undefined"!=typeof console&&"function"==typeof console.log&&(e.printf=function(){console.log(t.apply(null,arguments))}),nK.exports}(),n1=Z.g(n0);let n2=Object.assign(n4(Error),{eval:n4(EvalError),range:n4(RangeError),reference:n4(ReferenceError),syntax:n4(SyntaxError),type:n4(TypeError),uri:n4(URIError)});function n4(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){return new e(n?n1(n,...r):n)}}let n3={}.hasOwnProperty,n9={yaml:"-",toml:"+"};function n5(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=function(e){let t=e;if("string"==typeof t){if(!n3.call(n9,t))throw n2("Missing matter definition for `%s`",t);t={type:t,marker:n9[t]}}else if("object"!=typeof t)throw n2("Expected matter to be an object, not `%j`",t);if(!n3.call(t,"type"))throw n2("Missing `type` in matter `%j`",t);if(!n3.call(t,"fence")&&!n3.call(t,"marker"))throw n2("Missing `marker` or `fence` in matter `%j`",t);return t}(r[n]);return t}function n6(e){let t=n5(e),n={},r=-1;for(;++r<t.length;){let e=t[r],i=n8(e,"open").charCodeAt(0),o=function(e){let t,n=e.anywhere,r=e.type,i=r+"Fence",o=i+"Sequence",s=r+"Value",a={tokenize:function(e,n,r){let s=0;return function(n){return n===t.charCodeAt(s)?(e.enter(i),e.enter(o),function n(i){return s===t.length?(e.exit(o),ty(i))?(e.enter("whitespace"),function t(n){return ty(n)?(e.consume(n),t):(e.exit("whitespace"),a(n))}(i)):a(i):i===t.charCodeAt(s++)?(e.consume(i),n):r(i)}(n)):r(n)};function a(t){return null===t||th(t)?(e.exit(i),n(t)):r(t)}},partial:!0},u=0;return{tokenize:function(l,c,p){let f=this;return function(s){let a=f.now();return 1===a.column&&(1===a.line||n)&&(t=n8(e,"open"),u=0,s===t.charCodeAt(u))?(l.enter(r),l.enter(i),l.enter(o),function e(n){return u===t.length?(l.exit(o),ty(n))?(l.enter("whitespace"),function e(t){return ty(t)?(l.consume(t),e):(l.exit("whitespace"),d(t))}(n)):d(n):n===t.charCodeAt(u++)?(l.consume(n),e):p(n)}(s)):p(s)};function d(n){return th(n)?(l.exit(i),l.enter("lineEnding"),l.consume(n),l.exit("lineEnding"),t=n8(e,"close"),u=0,l.attempt(a,g,m)):p(n)}function m(e){return null===e||th(e)?h(e):(l.enter(s),function e(t){return null===t||th(t)?(l.exit(s),h(t)):(l.consume(t),e)}(e))}function h(e){return null===e?p(e):(l.enter("lineEnding"),l.consume(e),l.exit("lineEnding"),l.attempt(a,g,m))}function g(e){return l.exit(r),c(e)}},concrete:!0}}(e),s=n[i];Array.isArray(s)?s.push(o):n[i]=[o]}return{flow:n}}function n8(e,t){return e.marker?n7(e.marker,t).repeat(3):n7(e.fence,t)}function n7(e,t){return"string"==typeof e?e:e[t]}function re(e){let t=n5(e),n={},r={},i=-1;for(;++i<t.length;){let e=t[i];n[e.type]=function(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}(e),r[e.type]=rt,r[e.type+"Value"]=rn}return{enter:n,exit:r}}function rt(e){let t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function rn(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function rr(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}let ri=function(e){var t,n;if(null==e)return rs;if("function"==typeof e)return ro(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=ri(e[n]);return ro(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,ro(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,ro(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function ro(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 rs(){return!0}let ra=[];function ru(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function rl(e){this.config.enter.autolinkProtocol.call(this,e)}function rc(e){this.config.exit.autolinkProtocol.call(this,e)}function rp(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 rf(e){this.config.exit.autolinkEmail.call(this,e)}function rd(e){this.exit(e)}function rm(e){!function(e,t,n){let r=ri((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=ri(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,u,l,c=ra;if(i(t,r,o[o.length-1]||void 0)&&!1===(c=Array.isArray(s=n(t,o))?s:"number"==typeof s?[!0,s]:null==s?ra:[s])[0])return c;if("children"in t&&t.children&&t.children&&"skip"!==c[0])for(u=0,l=o.concat(t);u>-1&&u<t.children.length;){if(!1===(a=e(t.children[u],u,l)())[0])return a;u="number"==typeof a[1]?a[1]:u+1}return c}})(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,u=n.children.indexOf(e),l=!1,c=[];r.lastIndex=0;let p=r.exec(e.value);for(;p;){let n=p.index,i={index:p.index,input:p.input,stack:[...t,e]},o=s(...p,i);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&c.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?c.push(...o):o&&c.push(o),a=n+p[0].length,l=!0),!r.global)break;p=r.exec(e.value)}return l?(a<e.value.length&&c.push({type:"text",value:e.value.slice(a)}),n.children.splice(u,1,...c)):c=[e],u+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,rh],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,rg]],{ignore:["link","linkReference"]})}function rh(e,t,n,r,i){let o,s="";if(!ry(i))return!1;if(/^w/i.test(t)&&(n=t+n,t="",s="http://"),(o=n.split(".")).length<2||o[o.length-1]&&(/_/.test(o[o.length-1])||!/[a-zA-Z\d]/.test(o[o.length-1]))||o[o.length-2]&&(/_/.test(o[o.length-2])||!/[a-zA-Z\d]/.test(o[o.length-2])))return!1;let a=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=rr(e,"("),o=rr(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(!a[0])return!1;let u={type:"link",title:null,url:s+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[u,{type:"text",value:a[1]}]:u}function rg(e,t,n,r){return!(!ry(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function ry(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||tb(n)||tD(n))&&(!t||47!==n)}function rD(){this.buffer()}function rb(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function rk(){this.buffer()}function rx(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function rF(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ta(this.sliceSerialize(e)).toLowerCase(),n.label=t}function rw(e){this.exit(e)}function rv(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ta(this.sliceSerialize(e)).toLowerCase(),n.label=t}function rE(e){this.exit(e)}function rC(e){this.enter({type:"delete",children:[]},e)}function rA(e){this.exit(e)}function rS(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 rT(e){this.exit(e),this.data.inTable=void 0}function rI(e){this.enter({type:"tableRow",children:[]},e)}function rL(e){this.exit(e)}function rB(e){this.enter({type:"tableCell",children:[]},e)}function rq(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,rj));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function rj(e,t){return"|"===t?t:e}function rR(e){let t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function rO(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)}let rN={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},rP={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(rM,u,a)(t):null===t||tg(t)||tb(t)||45!==t&&tD(t)?u(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 u(e){return i||r||!o?n(e):t(e)}},partial:!0},r_={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(rM,t,o)(s):null===s||tg(s)||tb(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},rM={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||tg(s)||tb(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||tg(e)||tb(e)?t(e):r(e)}function o(t){return tu(t)?function t(i){return 59===i?(e.consume(i),r):tu(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},rz={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return tl(e)?n(e):t(e)}},partial:!0},rU={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!rG.call(r,r.previous)||rY(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(rN,e.attempt(rP,e.attempt(r_,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:rG},r$={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",o=!1;return function(t){return(72===t||104===t)&&rJ.call(r,r.previous)&&!rY(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if(tu(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)?u:(o=!0,a):n(t)}function u(t){return null===t||tp(t)||tg(t)||tb(t)||tD(t)?n(t):e.attempt(rP,e.attempt(r_,l),n)(t)}function l(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:rJ},rV={name:"emailAutolink",tokenize:function(e,t,n){let r,i,o=this;return function(t){return!rZ(t)||!rQ.call(o,o.previous)||rY(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return rZ(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(rz,u,a)(t):45===t||95===t||tl(t)?(i=!0,e.consume(t),s):u(t)}function a(t){return e.consume(t),r=!0,s}function u(s){return i&&r&&tu(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:rQ},rH={},rW=48;for(;rW<123;)rH[rW]=rV,58==++rW?rW=65:91===rW&&(rW=97);function rG(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||tg(e)}function rJ(e){return!tu(e)}function rQ(e){return!(47===e||rZ(e))}function rZ(e){return 43===e||45===e||46===e||95===e||tl(e)}function rY(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}rH[43]=rV,rH[45]=rV,rH[46]=rV,rH[95]=rV,rH[72]=[rV,r$],rH[104]=[rV,r$],rH[87]=[rV,rU],rH[119]=[rV,rU];let rX={tokenize:function(e,t,n){let r=this;return tx(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 rK(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=ta(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 r0(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 r1(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",u)}function u(a){if(s>999||93===a&&!r||null===a||91===a||tg(a))return n(a);if(93===a){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes(ta(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return tg(a)||(r=!0),s++,e.consume(a),92===a?l:u}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function r2(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"),u};function u(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!i||null===t||91===t||tg(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=ta(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return tg(t)||(i=!0),a++,e.consume(t),92===t?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),tx(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function r4(e,t,n){return e.check(tT,t,e.attempt(rX,t,n))}function r3(e){e.exit("gfmFootnoteDefinition")}class r9{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 r5(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?D:a;return o===D&&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),u(n)}function u(t){return null===t?n(t):th(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):ty(t)?tx(e,u,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,u):(e.enter("data"),l(t))}function l(t){return null===t||124===t||tg(t)?(e.exit("data"),u(t)):(e.consume(t),92===t?c:l)}function c(t){return 92===t||124===t?(e.consume(t),l):l(t)}function p(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,ty(t))?tx(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 ty(t)?tx(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"),h):45===t?(s+=1,h(t)):null===t||th(t)?y(t):n(t)}function h(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"),g):(e.exit("tableDelimiterFiller"),g(n))}(t)):n(t)}function g(t){return ty(t)?tx(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return f(i);if(null===i||th(i))return r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function D(t){return e.enter("tableRow"),b(t)}function b(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),b):null===n||th(n)?(e.exit("tableRow"),t(n)):ty(n)?tx(e,b,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||tg(t)?(e.exit("data"),b(t)):(e.consume(t),92===t?x:k)}function x(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function r6(e,t){let n,r,i,o=-1,s=!0,a=0,u=[0,0,0,0],l=[0,0,0,0],c=!1,p=0,f=new r9;for(;++o<e.length;){let d=e[o],m=d[1];"enter"===d[0]?"tableHead"===m.type?(c=!1,0!==p&&(r7(f,t,p,n,r),r=void 0,p=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,u=[0,0,0,0],l=[0,o+1,0,0],c&&(c=!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===l[2]&&(0!==u[1]&&(l[0]=l[1],i=r8(f,t,u,a,void 0,i),u=[0,0,0,0]),l[2]=o)):"tableCellDivider"===m.type&&(s?s=!1:(0!==u[1]&&(l[0]=l[1],i=r8(f,t,u,a,void 0,i)),l=[(u=l)[1],o,0,0])):"tableHead"===m.type?(c=!0,p=o):"tableRow"===m.type||"tableDelimiterRow"===m.type?(p=o,0!==u[1]?(l[0]=l[1],i=r8(f,t,u,a,o,i)):0!==l[1]&&(i=r8(f,t,l,a,o,i)),a=0):a&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(l[3]=o)}for(0!==p&&r7(f,t,p,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 r8(e,t,n,r,i,o){0!==n[0]&&(o.end=Object.assign({},ie(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let s=ie(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=ie(t.events,n[2]),o=ie(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({},ie(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function r7(e,t,n,r,i){let o=[],s=ie(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 ie(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let it={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 tg(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 th(r)?t(r):ty(r)?e.check({tokenize:ir},t,n)(r):n(r)}}};function ir(e,t,n){return tx(e,function(e){return null===e?n(e):t(e)},"whitespace")}let ii={type:"json",marker:"-"};class io{fileType="text";lineStart=1;columnStart=1;nodeTypeKey="type";defaultLanguageOptions={frontmatter:!1};#f="commonmark";constructor({mode:e}={}){e&&(this.#f=e)}validateLanguageOptions(e){let t=e?.frontmatter,n=new Set([!1,"yaml","toml","json"]);if(void 0!==t&&!n.has(t))throw Error(`Invalid language option value \`${t}\` for frontmatter.`)}parse(e,t){let n=e.body;try{let e=function(e,t){let n=[],r=[];if("gfm"===e){let e,t;n.push(to([{text:rH},{document:{91:{name:"gfmFootnoteDefinition",tokenize:r2,continuation:{tokenize:r4},exit:r3}},text:{91:{name:"gfmFootnoteCall",tokenize:r1},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:rK,resolveTo:r0}}},(e=void 0,t={name:"strikethrough",tokenize:function(t,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):(t.enter("strikethroughSequenceTemporary"),function o(a){let u=tE(i);if(126===a)return s>1?r(a):(t.consume(a),s++,o);if(s<2&&!e)return r(a);let l=t.exit("strikethroughSequenceTemporary"),c=tE(a);return l._open=!c||2===c&&!!u,l._close=!u||2===u&&!!c,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&&tn(s,s.length,0,tC(a,e.slice(r+1,n),t)),tn(s,s.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),tn(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}},null==e&&(e=!0),{text:{126:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:r5,resolveAll:r6}}},{text:{91:it}}])),r.push([{transforms:[rm],enter:{literalAutolink:ru,literalAutolinkEmail:rl,literalAutolinkHttp:rl,literalAutolinkWww:rl},exit:{literalAutolink:rd,literalAutolinkEmail:rf,literalAutolinkHttp:rc,literalAutolinkWww:rp}},{enter:{gfmFootnoteCallString:rD,gfmFootnoteCall:rb,gfmFootnoteDefinitionLabelString:rk,gfmFootnoteDefinition:rx},exit:{gfmFootnoteCallString:rF,gfmFootnoteCall:rw,gfmFootnoteDefinitionLabelString:rv,gfmFootnoteDefinition:rE}},{canContainEols:["delete"],enter:{strikethrough:rC},exit:{strikethrough:rA}},{enter:{table:rS,tableData:rB,tableHeader:rB,tableRow:rI},exit:{codeText:rq,table:rT,tableData:rL,tableHeader:rL,tableRow:rL}},{exit:{taskListCheckValueChecked:rR,taskListCheckValueUnchecked:rR,paragraph:rO}}])}let i=t?.frontmatter;return!1!==i&&("yaml"===i?(n.push(n6(["yaml"])),r.push(re(["yaml"]))):"toml"===i?(n.push(n6(["toml"])),r.push(re(["toml"]))):"json"===i&&(n.push(n6(ii)),r.push(re(ii)))),{extensions:n,mdastExtensions:r}}(this.#f,t?.languageOptions),r=nh(n,e);return{ok:!0,ast:r}}catch(e){return{ok:!1,errors:[e]}}}createSourceCode(e,t){return new nX({text:e.body,ast:t.ast})}}let is=new Set(["`","~"]);var ia={meta:{type:"problem",docs:{recommended:!0,description:"Require languages for fenced code blocks",url:"https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md"},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}],defaultOptions:[{required:[]}]},create(e){let t=new Set(e.options[0].required),{sourceCode:n}=e;return{code(r){if(!r.lang){let t;if(!is.has(n.text[r.position.start.offset]))return;for(t=r.position.start.offset;is.has(n.text[t]);t++);e.report({loc:{start:r.position.start,end:{line:r.position.start.line,column:r.position.start.column+t-r.position.start.offset}},messageId:"missingLanguage"});return}if(t.size&&!t.has(r.lang)){let t=n.getText(r).indexOf(r.lang);e.report({loc:{start:r.position.start,end:{line:r.position.start.line,column:r.position.start.column+t+r.lang.length}},messageId:"disallowedLanguage",data:{lang:r.lang}})}}}}},iu={meta:{type:"problem",docs:{recommended:!0,description:"Enforce heading levels increment by one",url:"https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md"},messages:{skippedHeading:"Heading level skipped from {{fromLevel}} to {{toLevel}}."},schema:[{type:"object",properties:{frontmatterTitle:{type:"string"}},additionalProperties:!1}],defaultOptions:[{frontmatterTitle:"^(?!\\s*['\"]title[:=]['\"])\\s*\\{?\\s*['\"]?title['\"]?\\s*[:=]"}]},create(e){let[{frontmatterTitle:t}]=e.options,n=""===t?null:RegExp(t,"iu"),r=0;return{yaml(e){nW(e.value,n)&&(r=1)},toml(e){nW(e.value,n)&&(r=1)},json(e){nW(e.value,n)&&(r=1)},heading(t){r>0&&t.depth>r+1&&e.report({loc:t.position,messageId:"skippedHeading",data:{fromLevel:r.toString(),toLevel:t.depth.toString()}}),r=t.depth}}}};let il=/^<(?<tagName>[^!>][^/\s>]*)/u;var ic={meta:{type:"problem",docs:{recommended:!0,description:"Disallow duplicate definitions",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md"},messages:{duplicateDefinition:"Unexpected duplicate definition `{{ identifier }}` (label: `{{ label }}`) found. First defined at line {{ firstLine }} (label: `{{ firstLabel }}`).",duplicateFootnoteDefinition:"Unexpected duplicate footnote definition `{{ identifier }}` (label: `{{ label }}`) found. First defined at line {{ firstLine }} (label: `{{ firstLabel }}`)."},schema:[{type:"object",properties:{allowDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},allowFootnoteDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allowDefinitions:["//"],allowFootnoteDefinitions:[]}]},create(e){let t=new Set(e.options[0].allowDefinitions.map(e=>ta(e).toLowerCase())),n=new Set(e.options[0].allowFootnoteDefinitions.map(e=>ta(e).toLowerCase())),r=new Map,i=new Map;return{definition(n){if(!t.has(n.identifier))if(r.has(n.identifier)){let t=r.get(n.identifier);e.report({node:n,messageId:"duplicateDefinition",data:{identifier:n.identifier,label:n.label.trim(),firstLine:t.position.start.line.toString(),firstLabel:t.label.trim()}})}else r.set(n.identifier,n)},footnoteDefinition(t){if(!n.has(t.identifier))if(i.has(t.identifier)){let n=i.get(t.identifier);e.report({node:t,messageId:"duplicateFootnoteDefinition",data:{identifier:t.identifier,label:t.label,firstLine:n.position.start.line.toString(),firstLabel:n.label}})}else i.set(t.identifier,t)}}}},ip={meta:{type:"problem",docs:{description:"Disallow duplicate headings in the same document",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md"},messages:{duplicateHeading:'Duplicate heading "{{text}}" found.'},schema:[{type:"object",properties:{checkSiblingsOnly:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkSiblingsOnly:!1}]},create(e){let t,n,[{checkSiblingsOnly:r}]=e.options,i=new Map(r?[[1,new Set],[2,new Set],[3,new Set],[4,new Set],[5,new Set],[6,new Set]]:[[1,new Set]]),o=1,s=i.get(o);return{heading(e){if(t="",n="",r){let t=e.depth;if(t<o)for(let e=o;e>t;e--)i.get(e).clear();o=t,s=i.get(t)}},"heading *"({type:e,value:r}){r?(t+=`[${e},${r}]`,"html"!==e&&(n+=r)):t+=`[${e}]`},"heading:exit"(r){s.has(t)?e.report({loc:r.position,messageId:"duplicateHeading",data:{text:n}}):s.add(t)}}}},id={meta:{type:"problem",docs:{recommended:!0,description:"Disallow empty definitions",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md"},messages:{emptyDefinition:"Unexpected empty definition `{{ identifier }}` (label: `{{ label }}`) found.",emptyFootnoteDefinition:"Unexpected empty footnote definition `{{ identifier }}` (label: `{{ label }}`) found."},schema:[{type:"object",properties:{allowDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},allowFootnoteDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},checkFootnoteDefinitions:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowDefinitions:["//"],allowFootnoteDefinitions:[],checkFootnoteDefinitions:!0}]},create(e){let t=new Set(e.options[0].allowDefinitions.map(e=>ta(e).toLowerCase())),n=new Set(e.options[0].allowFootnoteDefinitions.map(e=>ta(e).toLowerCase())),[{checkFootnoteDefinitions:r}]=e.options;return{definition(n){n.url&&"#"!==n.url||t.has(n.identifier)||e.report({loc:n.position,messageId:"emptyDefinition",data:{identifier:n.identifier,label:n.label.trim()}})},footnoteDefinition(t){r&&!n.has(t.identifier)&&(0===t.children.length||t.children.every(e=>"html"===e.type&&0===e.value.replace(nH,"").trim().length))&&e.report({loc:t.position,messageId:"emptyFootnoteDefinition",data:{identifier:t.identifier,label:t.label}})}}}};let im=/<(?<tagName>[a-z0-9]+(?:-[a-z0-9]+)*)(?:\s(?:[^>"']|"[^"]*"|'[^']*')*)?>/giu;var ih={meta:{type:"problem",docs:{description:"Disallow HTML tags",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md"},messages:{disallowedElement:'HTML element "{{name}}" is not allowed.'},schema:[{type:"object",properties:{allowed:{type:"array",items:{type:"string"},uniqueItems:!0},allowedIgnoreCase:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowed:[],allowedIgnoreCase:!1}]},create(e){let{sourceCode:t}=e,[{allowed:n,allowedIgnoreCase:r}]=e.options;function i(e){return r?e.toLowerCase():e}let o=new Set(n.map(i));return{html(n){let r;for(;null!==(r=im.exec(n.value));){let s=r[0],{tagName:a}=r.groups,u=s.search(n$),l=r.index+n.position.start.offset,c=l+(-1===u?s.length:u);o.has(i(a))||e.report({loc:{start:t.getLocFromIndex(l),end:t.getLocFromIndex(c)},messageId:"disallowedElement",data:{name:a}})}}}}};let ig=/\]\[([^\]]+)\]/u,iy=/(?:^|(?<=[\r\n]))(?<hashes>#{1,6})(?:[^# \t]|$)/gu,iD=/(?<![ \t])(?<spaces>[ \t]*)(?<=(?<!\\)(?:\\{2})*)(?<hashes>#+)[ \t]*$/u;var ib={meta:{type:"problem",docs:{recommended:!0,description:"Disallow headings without a space after the hash characters",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-atx-heading-space.md"},fixable:"whitespace",messages:{missingSpace:"Missing space {{position}} hash(es) on ATX style heading."},schema:[{type:"object",properties:{checkClosedHeadings:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkClosedHeadings:!1}]},create(e){let{sourceCode:t}=e,[{checkClosedHeadings:n}]=e.options;return{heading(r){if(!n)return;let i=t.getText(r),o=iD.exec(i);if(null===o)return;let{spaces:s,hashes:a}=o.groups;if(s.length>0)return;let u=r.position.start.offset+o.index,l=u+a.length;e.report({loc:{start:t.getLocFromIndex(u-1),end:t.getLocFromIndex(l)},messageId:"missingSpace",data:{position:"before"},fix:e=>e.insertTextBeforeRange([u,u+1]," ")})},paragraph(n){let r,i=t.getText(n);for(;null!==(r=iy.exec(i));){let{hashes:i}=r.groups,o=n.position.start.offset+r.index,s=o+i.length;e.report({loc:{start:t.getLocFromIndex(o),end:t.getLocFromIndex(s+1)},messageId:"missingSpace",data:{position:"after"},fix:e=>e.insertTextAfterRange([s-1,s]," ")})}}}}},ik={meta:{type:"problem",docs:{recommended:!0,description:"Disallow missing label references",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md"},schema:[{type:"object",properties:{allowLabels:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allowLabels:[]}],messages:{notFound:"Label reference '{{label}}' not found."}},create(e){let{sourceCode:t}=e,n=new Set(e.options[0].allowLabels),r=[];return{"root:exit"(){for(let t of r)e.report({loc:t.position,messageId:"notFound",data:{label:t.label}})},text(e){for(let i of function(e,t){let n,r=[],i=t.getText(e),o=/(?<=(?<!\\)(?:\\{2})*)\[(?<left>(?:\\.|[^[\]\\])*)\](?:\[(?<right>(?:\\.|[^\]\\])*)\])?/dgu;for(;n=o.exec(i);){let i,o;if(nV.test(n[0]))continue;let{left:s,right:a}=n.groups;if(!s&&!a)continue;a?(i=a,o=n.indices.groups.right):(i=s,o=n.indices.groups.left);let u=o[0]+e.position.start.offset,l=o[1]+e.position.start.offset;r.push({label:i.trim(),position:{start:t.getLocFromIndex(u),end:t.getLocFromIndex(l)}})}return r}(e,t))n.has(i.label)||r.push(i)},definition(e){r=r.filter(t=>t.label!==e.identifier)}}}};let ix=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,iF=Object.hasOwnProperty;class iw{constructor(){this.occurrences,this.reset()}slug(e,t){var n,r;let i=(n=e,r=!0===t,"string"!=typeof n?"":(r||(n=n.toLowerCase()),n.replace(ix,"").replace(/ /g,"-"))),o=i;for(;iF.call(this.occurrences,i);)this.occurrences[o]++,i=o+"-"+this.occurrences[o];return this.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}}let iv=/^L\d+(?:C\d+)?(?:-L\d+(?:C\d+)?)?$/u,iE=/\{#(?<id>[^}\s]+)\}\s*$/u,iC=/(?<!<)<[^>]+\s(?:id|name)\s*=\s*["']?(?<id>[^"'\s>]+)["']?/giu;var iA={meta:{type:"problem",docs:{recommended:!0,description:"Disallow link fragments that do not reference valid headings",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"},allowPattern:{type:"string"}},additionalProperties:!1}],messages:{invalidFragment:"Link fragment '#{{fragment}}' does not reference a heading or anchor in this document."},defaultOptions:[{ignoreCase:!0,allowPattern:""}]},create(e){let t,[{allowPattern:n,ignoreCase:r}]=e.options,i=n?RegExp(n,"u"):null,o=new Set(["top"]),s=new iw,a=[];return{heading(){t=""},"heading *:not(html)"({value:e}){t+=e??""},"heading:exit"(){let e=t.match(iE),n=e?e.groups.id:t,i=s.slug(n);o.add(r?i.toLowerCase():i)},html(e){for(let t of e.value.trim().replace(nH,"").matchAll(iC)){let e=t.groups.id,n=s.slug(e);o.add(r?n.toLowerCase():n)}},link(e){let t=e.url;if(!t||!t.startsWith("#"))return;let n=t.slice(1);n&&a.push({node:e,fragment:n})},"root:exit"(){for(let{node:t,fragment:n}of a){let s;try{s=decodeURIComponent(n)}catch{s=n}if(i?.test(s)||iv.test(s))continue;let a=r?s.toLowerCase():s;o.has(a)||e.report({loc:t.position,messageId:"invalidFragment",data:{fragment:n}})}}}}};let iS=/<h1[^>]*>[\s\S]*?<\/h1>/giu;var iT={meta:{type:"problem",docs:{recommended:!0,description:"Disallow multiple H1 headings in the same document",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md"},messages:{multipleH1:"Unexpected additional H1 heading found."},schema:[{type:"object",properties:{frontmatterTitle:{type:"string"}},additionalProperties:!1}],defaultOptions:[{frontmatterTitle:"^(?!\\s*['\"]title[:=]['\"])\\s*\\{?\\s*['\"]?title['\"]?\\s*[:=]"}]},create(e){let{sourceCode:t}=e,[{frontmatterTitle:n}]=e.options,r=""===n?null:RegExp(n,"iu"),i=0;return{"yaml, toml, json"(e){nW(e.value,r)&&i++},html(n){let r,o=nG(n.value);for(;null!==(r=iS.exec(o));)if(++i>1){let i=r.index+n.position.start.offset,o=i+r[0].length;e.report({loc:{start:t.getLocFromIndex(i),end:t.getLocFromIndex(o)},messageId:"multipleH1"})}},heading(t){1===t.depth&&++i>1&&e.report({loc:t.position,messageId:"multipleH1"})}}}};let iI=/\[(?<label>(?:\\.|[^()\\]|\([\s\S]*\))*?)\]\((?<destination>[ \t]*\r?\n?(?<![ \t])[ \t]*(?:<[^>]*>|[^ \t()]+))(?:[ \t]*\r?\n?(?<![ \t])[ \t]*(?:"[^"]*"|'[^']*'|\([^)]*\)))?[ \t]*\r?\n?(?<![ \t])[ \t]*\)$/u,iL=/(?<=(?<!\\)(?:\\{2})*)\((?<label>(?:\\.|[^()\\]|\([\s\S]*\))*)\)\[(?<url>(?:\\.|[^\]\\\r\n])*)\](?!\()/gu,iB=/[ \t]/u;var iq={meta:{type:"problem",docs:{recommended:!0,description:"Disallow spaces around emphasis markers",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-space-in-emphasis.md"},fixable:"whitespace",messages:{spaceInEmphasis:"Unexpected space around emphasis marker."},schema:[{type:"object",properties:{checkStrikethrough:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkStrikethrough:!1}]},create(e){let t,{sourceCode:n}=e,[{checkStrikethrough:r}]=e.options,i=r?/(?<=(?<!\\)(?:\\{2})*)(?:\*\*\*|\*\*|\*|___|__|_|~~|~)/gu:/(?<=(?<!\\)(?:\\{2})*)(?:\*\*\*|\*\*|\*|___|__|_)/gu;function o(t,r,i){iB.test(n.text[t])&&e.report({loc:{start:n.getLocFromIndex(r),end:n.getLocFromIndex(i)},messageId:"spaceInEmphasis",fix:e=>e.removeRange([t,t+1])})}return{"heading, paragraph, tableCell"(e){let[r,i]=n.getRange(e);t=Array(i-r).fill(" ")},":matches(heading, paragraph, tableCell) > text"(e){let[r,i]=n.getRange(e),o=n.getParent(e).position.start.offset;for(let e=r;e<i;e++)t[e-o]=n.text[e]},":matches(heading, paragraph, tableCell):exit"(e){let n,r=t.join(""),s=new Map;for(;null!==(n=i.exec(r));){let t=n[0],r=n.index+e.position.start.offset,i=r+t.length;s.has(t)||s.set(t,[]),s.get(t).push([r,i])}for(let e of s.values())for(let t=0;t<e.length-1;t+=2){let n=e[t];o(n[1],n[0],n[1]+2);let r=e[t+1];o(r[0]-1,r[0]-2,r[1])}}}}},ij={meta:{type:"problem",docs:{recommended:!0,description:"Disallow unused definitions",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md"},messages:{unusedDefinition:"Unexpected unused definition `{{ identifier }}` (label: `{{ label }}`) found.",unusedFootnoteDefinition:"Unexpected unused footnote definition `{{ identifier }}` (label: `{{ label }}`) found."},schema:[{type:"object",properties:{allowDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0},allowFootnoteDefinitions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allowDefinitions:["//"],allowFootnoteDefinitions:[]}]},create(e){let t=new Set(e.options[0].allowDefinitions.map(e=>ta(e).toLowerCase())),n=new Set(e.options[0].allowFootnoteDefinitions.map(e=>ta(e).toLowerCase())),r=new Set,i=new Set,o=new Set,s=new Set;return{imageReference(e){r.add(e.identifier)},linkReference(e){r.add(e.identifier)},footnoteReference(e){i.add(e.identifier)},definition(e){t.has(e.identifier)||o.add(e)},footnoteDefinition(e){n.has(e.identifier)||s.add(e)},"root:exit"(){for(let t of o)r.has(t.identifier)||e.report({node:t,messageId:"unusedDefinition",data:{identifier:t.identifier,label:t.label.trim()}});for(let t of s)i.has(t.identifier)||e.report({node:t,messageId:"unusedFootnoteDefinition",data:{identifier:t.identifier,label:t.label}})}}}};let iR=/<img[^>]*>/giu;function iO(e){return RegExp(`\\s${e}(?:\\s*=\\s*['"]([^'"]*)['"])?`,"iu")}var iN={meta:{type:"problem",docs:{recommended:!0,description:"Disallow data rows in a GitHub Flavored Markdown table from having more cells than the header row",url:"https://github.com/eslint/markdown/blob/main/docs/rules/table-column-count.md"},messages:{extraCells:"Table column count mismatch (Expected: {{expectedCells}}, Actual: {{actualCells}}), extra data starting here will be ignored.",missingCells:"Table column count mismatch (Expected: {{expectedCells}}, Actual: {{actualCells}}), row might be missing data."},schema:[{type:"object",properties:{checkMissingCells:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{checkMissingCells:!1}]},create(e){let[{checkMissingCells:t}]=e.options;return{table(n){if(n.children.length<1)return;let r=n.children[0].children.length;for(let i=1;i<n.children.length;i++){let o=n.children[i],s=o.children.length,a=o.children[s-1];if(s>r){let t=o.children[r];e.report({loc:{start:t.position.start,end:a.position.end},messageId:"extraCells",data:{actualCells:String(s),expectedCells:String(r)}})}else t&&s<r&&e.report({loc:{start:{column:a.position.end.column-1,line:a.position.end.line},end:o.position.end},messageId:"missingCells",data:{actualCells:String(s),expectedCells:String(r)}})}}}}};let iP={"eol-last":"off","no-undef":"off","no-unused-expressions":"off","no-unused-vars":"off","padded-blocks":"off",strict:"off","unicode-bom":"off"},i_={meta:{name:"@eslint/markdown",version:"7.5.0"},processors:{markdown:{meta:{name:"@eslint/markdown/markdown",version:"7.5.0"},preprocess:function(e,t){let n=e.startsWith("\uFEFF")?e.slice(1):e,r=nh(n),i=[];nb.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:nF(n,e),comments:t,rangeMap:function(e,t,n){let r=nx(t),i=e.slice(r,t.position.end.offset).split("\n"),o=nF(e,t).length,s=n.reduce((e,t)=>e+t.length+1,0),a=[{indent:o,js:0,md:0}],u=s,l=r+i[0].length+1;for(let e=0;e+1<i.length;e++){let t=i[e+1],n=Math.min(o,nk.exec(t)[0].length);a.push({indent:n,js:u,md:l+n-u}),l+=t.length+1,u+=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(nv,n)?nv[n]:n;return{filename:e.meta?.match(nw)?.groups.filename.replaceAll(/\s+/gu,"_")??`${t}.${r}`,text:[...e.comments,e.value,""].join("\n")}})},postprocess:function(e,t){let n=nb.get(t);return nb.delete(t),e.flatMap((e,t)=>{var r;let i,o,s=(i=(r=n[t]).comments.reduce((e,t)=>e+t.split("\n").length,0),o=r.position.start.line,function(e){if(!Number.isInteger(e.line))return{...e,line:o,column:r.position.start.column};let t=e.line-i;if(t<1||t>=r.rangeMap.length)return null;let n={line:t+o,column:e.column+r.rangeMap[t].indent};Number.isInteger(e.endLine)&&(n.endLine=e.endLine-i+o),Array.isArray(e.suggestions)&&(n.suggestions=e.suggestions.map(e=>({...e,fix:nE(r,e.fix)})));let s={};return e.fix&&(s.fix=nE(r,e.fix)),{...e,...n,...s}});return e.map(s).filter(nC)})},supportsAutofix:!0}},languages:{commonmark:new io({mode:"commonmark"}),gfm:new io({mode:"gfm"})},rules:{"fenced-code-language":ia,"heading-increment":iu,"no-bare-urls":{meta:{type:"problem",docs:{description:"Disallow bare URLs",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md"},fixable:"code",messages:{bareUrl:"Unexpected bare URL. Use autolink (<URL>) or link ([text](URL)) instead."}},create(e){let{sourceCode:t}=e,n=[],r=[],i=null;function o(){r.length=0,i=null}return{":matches(heading, paragraph, tableCell) html"(e){let t=function(e){let t=e.match(il);if(t){let e=t.groups.tagName.toLowerCase(),n=e.startsWith("/");return{name:n?e.slice(1):e,isClosing:n}}return null}(e.value);t&&(t.isClosing||null!==i||(i=t.name),t.isClosing&&i===t.name&&o())},":matches(heading, paragraph, tableCell) link"(e){null!==i?r.push(e):n.push(e)},"heading:exit"(){n.push(...r),o()},"paragraph:exit"(){n.push(...r),o()},"tableCell:exit"(){n.push(...r),o()},"root:exit"(){for(let r of n){let n=t.getText(r),{url:i}=r;(i===n||i===`http://${n}`||i===`mailto:${n}`)&&e.report({node:r,messageId:"bareUrl",fix:e=>e.replaceText(r,`<${n}>`)})}}}}},"no-duplicate-definitions":ic,"no-duplicate-headings":ip,"no-empty-definitions":id,"no-empty-images":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow empty images",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md"},messages:{emptyImage:"Unexpected empty image found."}},create:e=>({image(t){t.url&&"#"!==t.url||e.report({loc:t.position,messageId:"emptyImage"})}})},"no-empty-links":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow empty links",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md"},messages:{emptyLink:"Unexpected empty link found."}},create:e=>({link(t){t.url&&"#"!==t.url||e.report({loc:t.position,messageId:"emptyLink"})}})},"no-html":ih,"no-invalid-label-refs":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow invalid label references",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md"},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=t.getText(e),r=t.text,i=[],o=0;for(;o<n.length;){let s=n.slice(o).match(ig);if(!s)break;if(!nV.test(s[0])){o+=s.index+s[0].length;continue}let a=o+s.index+e.position.start.offset,u=a+s[0].length,l=r.lastIndexOf("[",a);if(-1===l){o+=s.index+s[0].length;continue}let c=r.slice(l,u).match(/!?\[([^\]]+)\]/u)[1];i.push({label:c.trim(),position:{start:t.getLocFromIndex(a+1),end:t.getLocFromIndex(u)}}),o+=s.index+s[0].length}return i}(n,t))e.report({loc:r.position,messageId:"invalidLabelRef",data:{label:r.label}})}}}},"no-missing-atx-heading-space":ib,"no-missing-label-refs":ik,"no-missing-link-fragments":iA,"no-multiple-h1":iT,"no-reference-like-urls":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow URLs that match defined reference identifiers",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md"},fixable:"code",messages:{referenceLikeUrl:"Unexpected resource {{type}} ('{{prefix}}[text](url)') with URL that matches a definition identifier. Use '[text][id]' syntax instead."}},create(e){let{sourceCode:t}=e,n=new Set,r=[];return{definition(e){n.add(e.identifier)},"image, link"(e){r.push(e)},"root:exit"(){for(let i of r){let r=t.getText(i),o=iI.exec(r);if(null!==o){let{label:t,destination:r}=o.groups,{type:s,title:a}=i,u="image"===s?"!":"",l=ta(r).toLowerCase();n.has(l)&&e.report({loc:i.position,messageId:"referenceLikeUrl",data:{type:s,prefix:u},fix:e=>a?null:e.replaceText(i,`${u}[${t}][${r}]`)})}}}}}},"no-reversed-media-syntax":{meta:{type:"problem",docs:{recommended:!0,description:"Disallow reversed link and image syntax",url:"https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md"},fixable:"code",messages:{reversedSyntax:"Unexpected reversed syntax found. Use [label](URL) syntax instead."}},create(e){let{sourceCode:t}=e,n=[];return{":matches(heading, paragraph, tableCell) :matches(html, inlineCode)"(e){n.push(t.getRange(e))},":matches(heading, paragraph, tableCell):exit"(r){!function(r){let i,o=t.getText(r);for(;null!==(i=iL.exec(o));){let{label:o,url:s}=i.groups,a=i.index+r.position.start.offset,u=a+i[0].length;!function(e,t){return t.some(t=>t[0]<=e&&e<t[1])}(a,n)&&e.report({loc:{start:t.getLocFromIndex(a),end:t.getLocFromIndex(u)},messageId:"reversedSyntax",fix:e=>e.replaceTextRange([a,u],`[${o}](${s})`)})}}(r),n.length=0}}}},"no-space-in-emphasis":iq,"no-unused-definitions":ij,"require-alt-text":{meta:{type:"problem",docs:{recommended:!0,description:"Require alternative text for images",url:"https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md"},messages:{altTextRequired:"Alternative text for image is required."}},create(e){let{sourceCode:t}=e;return{"image, imageReference"(t){0===t.alt.trim().length&&e.report({loc:t.position,messageId:"altTextRequired"})},html(n){let r,i=nG(n.value);for(;null!==(r=iR.exec(i));){let i=r[0],o=i.match(iO("aria-hidden"));if(o&&o[1]&&"true"===o[1].toLowerCase())continue;let s=i.match(iO("alt"));if(!s||s[1]&&0===s[1].trim().length&&s[1].length>0){let o=r.index+n.position.start.offset,s=o+i.length;e.report({loc:{start:t.getLocFromIndex(o),end:t.getLocFromIndex(s)},messageId:"altTextRequired"})}}}}}},"table-column-count":iN},configs:{"recommended-legacy":{plugins:["markdown"],overrides:[{files:["*.md"],processor:"markdown/markdown"},{files:["**/*.md/**"],parserOptions:{ecmaFeatures:{impliedStrict:!0}},rules:{...iP}}]},recommended:[{name:"markdown/recommended",files:["**/*.md"],language:"markdown/commonmark",plugins:e={},rules:{"markdown/fenced-code-language":"error","markdown/heading-increment":"error","markdown/no-duplicate-definitions":"error","markdown/no-empty-definitions":"error","markdown/no-empty-images":"error","markdown/no-empty-links":"error","markdown/no-invalid-label-refs":"error","markdown/no-missing-atx-heading-space":"error","markdown/no-missing-label-refs":"error","markdown/no-missing-link-fragments":"error","markdown/no-multiple-h1":"error","markdown/no-reference-like-urls":"error","markdown/no-reversed-media-syntax":"error","markdown/no-space-in-emphasis":"error","markdown/no-unused-definitions":"error","markdown/require-alt-text":"error","markdown/table-column-count":"error"}}],processor:[{name:"markdown/recommended/plugin",plugins:t={}},{name:"markdown/recommended/processor",files:["**/*.md"],processor:"markdown/markdown"},{name:"markdown/recommended/code-blocks",files:["**/*.md/**"],languageOptions:{parserOptions:{ecmaFeatures:{impliedStrict:!0}}},rules:{...iP}}]}};async function iM(e){if(!v.isPackageExists(e,"string"==typeof __dirname?__dirname:void 0))return;if(console.error(Y.yellow(`[eslint-config-sukka] "${e}" is deprecated and you should uninstall it`)),Q.isCI||!process.stdout.isTTY)throw Error(`[eslint-config-sukka] "${e}" is deprecated and you should uninstall it`);let{confirm:t}=await Promise.resolve().then(function(){return require("./vendor-C7TA-LLW.cjs")}).then(function(e){return e.i});await t({message:` "${e}" is deprecated. Do you want to uninstall it?`})&&await Promise.resolve().then(function(){return require("./vendor-C7TA-LLW.cjs")}).then(function(e){return e.a}).then(t=>t.uninstallPackage(e,{dev:!0}))}function iz(e,t=!1){return"boolean"==typeof e?e:null==e?t:"enable"in e?"boolean"==typeof e.enable?e.enable:t:Object.keys(e).length>0||t}function iU(e,...t){let n;if("boolean"==typeof e||void 0===e)n={};else{let{enable:t,...r}=e;n=r}return t.length?J.defu(n,...t):n}e.markdown=t.markdown=i_;let i$=e=>v.isPackageExists(e,"string"==typeof __dirname?__dirname:void 0);async function iV(e,...t){let n=Date.now(),r=[];await iM("@eslint-sukka/js"),await iM("@eslint-sukka/json"),await iM("@eslint-sukka/ts"),await iM("@eslint-sukka/legacy");let i=i$("@types/node"),o=iz(e?.ts,i$("typescript")||i);if(r.push(el(e?.ignores),[q.configs.comment,{name:"sukka/eslint-comments",plugins:{"@eslint-community/eslint-comments":B},rules:{"@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"}}]),iz(e?.js,!0)&&r.push(function(e={}){let{files:t,disableNoConsoleInCLI:n=!0,env:r={}}=e,{browser:i=!0,webextensions:o=!1,greasemonkey:s=!1,customGlobals:a={}}=r,u=e.module??v.getPackageJson()?.type==="module",l=[{linterOptions:{reportUnusedDisableDirectives:!0}},O.configs.recommended,v.withFiles({name:"@eslint-sukka/js base",languageOptions:{ecmaVersion:"latest",sourceType:u?"module":"commonjs",parserOptions:{ecmaVersion:"latest",sourceType:u?"module":"commonjs",ecmaFeatures:{jsx:!0}},globals:{...v.globals.es2025,...i&&v.globals.browser,...o&&v.globals.webextensions,...s&&v.globals.greasemonkey,...a}},plugins:{"unused-imports":v.memo(N,"eslint-plugin-unused-imports"),"@stylistic":v.memo(M.stylistic_eslint_plugin,"@stylistic/eslint-plugin"),sukka:v.memo(q,"@eslint-sukka/eslint-plugin-sukka-full"),autofix:_,antfu:v.memo(eb,"eslint_plugin_antfu")},rules:{"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/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/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-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/wrap-iife":["error","outside",{functionPrototypeMethods:!1}],yoda:"error","no-await-in-loop":"warn","no-console":"warn","no-constant-condition":["warn",{checkLoops:"allExceptWhileTrue"}],"no-empty-function":"error","no-empty":["error",{allowEmptyCatch:!0}],"no-constant-binary-expression":"error","@stylistic/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/arrow-spacing":["error",{before:!0,after:!0}],"@stylistic/generator-star-spacing":["error",{before:!0,after:!1}],"@stylistic/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/template-curly-spacing":["error","never"],"@stylistic/yield-star-spacing":["error","before"],"@stylistic/array-bracket-newline":["off","consistent"],"@stylistic/array-bracket-spacing":["error","never"],"@stylistic/array-element-newline":["off",{multiline:!0,minItems:5}],"@stylistic/block-spacing":["error","always"],"@stylistic/brace-style":["error","1tbs",{allowSingleLine:!0}],camelcase:["warn",{properties:"never",ignoreDestructuring:!1,ignoreImports:!0,ignoreGlobals:!0,allow:["^UNSAFE_","^experimental_","^__DEV__"]}],"@stylistic/comma-dangle":["error","never"],"@stylistic/comma-spacing":["error",{before:!1,after:!0}],"@stylistic/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/computed-property-spacing":["error","never"],"consistent-this":"off","@stylistic/eol-last":["error","always"],"@stylistic/function-call-spacing":["error","never"],"@stylistic/function-call-argument-newline":["off","consistent"],"@stylistic/function-paren-newline":["error","consistent"],"@stylistic/implicit-arrow-linebreak":["error","beside"],"@stylistic/indent":["error",2,{SwitchCase:1}],"@stylistic/indent-binary-ops":["error",2],"@stylistic/key-spacing":["error",{beforeColon:!1,afterColon:!0}],"@stylistic/keyword-spacing":["error",{before:!0,after:!0,overrides:{return:{after:!0},throw:{after:!0},case:{after:!0}}}],"@stylistic/linebreak-style":"error","@stylistic/lines-around-comment":"off","@stylistic/lines-around-directive":"off","@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"@stylistic/multiline-ternary":["error","always-multiline"],"new-cap":["error",{newIsCap:!0,newIsCapExceptions:[],capIsNew:!1,capIsNewExceptions:["Immutable.Map","Immutable.Set","Immutable.List"]}],"@stylistic/newline-per-chained-call":["error",{ignoreChainWithDepth:6}],"@stylistic/new-parens":"error","no-bitwise":"off","no-lonely-if":"error","sukka/unicorn/no-lonely-if":"error","@stylistic/no-mixed-operators":["error",{groups:[["**","+"],["**","-"],["**","*"],["**","/"],["%","+"],["%","-"],["%","*"],["%","/"],["%","**"],["==","!=","===","!==",">",">=","<","<="],["&&","||"],["in","instanceof"]],allowSamePrecedence:!0}],"@stylistic/no-mixed-spaces-and-tabs":"error","no-multi-assign":"error","@stylistic/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/no-spaced-func":"off","@stylistic/no-tabs":"error","no-ternary":"off","@stylistic/no-trailing-spaces":"error","no-unneeded-ternary":"error","@stylistic/no-whitespace-before-property":"error","@stylistic/nonblock-statement-body-position":"error","@stylistic/object-curly-newline":"off","@stylistic/object-curly-spacing":["error","always"],"@stylistic/object-property-newline":"off","@stylistic/one-var-declaration-per-line":"off","prefer-exponentiation-operator":"error","@stylistic/operator-linebreak":["error","before",{overrides:{"=":"after"}}],"@stylistic/padded-blocks":["error","never"],"@stylistic/padding-line-between-statements":["error",{blankLine:"always",prev:"directive",next:"*"},{blankLine:"always",prev:"*",next:["class","with"]},{blankLine:"always",prev:["class","with"],next:"*"}],"@stylistic/quotes":["error","single"],"@stylistic/quote-props":["error","as-needed",{keywords:!1,unnecessary:!0,numbers:!1}],"@stylistic/jsx-quotes":["error","prefer-double"],"@stylistic/rest-spread-spacing":["error","never"],"@stylistic/semi":["error","always"],"@stylistic/semi-spacing":["error",{before:!1,after:!0}],"@stylistic/semi-style":["error","last"],"@stylistic/space-before-blocks":"error","@stylistic/space-before-function-paren":["error",{anonymous:"always",named:"never",asyncArrow:"always"}],"@stylistic/space-in-parens":["error","never"],"@stylistic/space-infix-ops":"error","@stylistic/space-unary-ops":["error",{words:!0,nonwords:!1,overrides:{}}],"@stylistic/spaced-comment":["error","always",{line:{exceptions:["-","+"],markers:["=","!","/"]},block:{exceptions:["-","+"],markers:["=","!",":","::"],balanced:!0}}],"@stylistic/switch-colon-spacing":["error",{after:!0,before:!1}],"@stylistic/template-tag-spacing":["error","never"],"unicode-bom":["error","never"],"@stylistic/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/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/unicode/no-bidi":"warn","sukka/unicode/no-invisible":"warn","sukka/no-redundant-variable":"error","sukka/no-single-return":"warn","sukka/prefer-early-return":["error",{maximumStatements:16}],"sukka/prefer-fetch":"error","sukka/prefer-timer-id":"warn","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",{strategy:"loose"}],"sukka/unicorn/prefer-type-error":"error","sukka/unicorn/consistent-destructuring":"warn","sukka/unicorn/new-for-builtins":"warn","sukka/unicorn/prefer-single-call":"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-unnecessary-slice-end":"error","sukka/unicorn/consistent-date-clone":"error","sukka/unicorn/no-accessor-recursion":"error","sukka/unicorn/no-unnecessary-array-flat-depth":"error","sukka/unicorn/no-unnecessary-array-splice-count":"error","sukka/unicorn/no-useless-error-capture-stack-trace":"error","sukka/unicorn/prefer-class-fields":"error","sukka/unicorn/prefer-bigint-literals":"error","sukka/unicorn/prefer-classlist-toggle":"warn","sukka/unicorn/require-module-attributes":"error","no-restricted-imports":["error",{paths:v.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"}},t),v.withFiles(v.UNSAFE_excludeJsonYamlFiles({plugins:{"import-x":v.memo(P,"eslint-plugin-import-x")},settings:{"import-x/extensions":eK,"import-x/resolver-next":[P.createNodeResolver({extensions:eK})]},rules:{...P.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"}}),t),v.withFiles(eX.recommended,t),v.withFiles(q.configs.recommended,t)];if(!1!==n){let e="boolean"==typeof n?null:Array.isArray(n)?n:[n];l.push({name:"@eslint-sukka/js cli specific",files:e??[`**/scripts/${v.constants.GLOB_SRC}`,`**/cli/${v.constants.GLOB_SRC}`,`**/cli.${v.constants.GLOB_SRC_EXT}`],rules:{"no-console":"off"}})}return l}(iU(e?.js)),function({typescript:e}){return[v.UNSAFE_excludeJsonYamlFiles({name:"sukka/promise",plugins:{promise:j},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:o}),v.UNSAFE_excludeJsonYamlFiles([q.configs.regexp,R.configs["flat/recommended"],{name:"sukka/regexp",rules:{"regexp/strict":"off"}}])),iz(e?.markdown,!0)&&r.push(i_.configs.recommended),iz(e?.yaml,v.isDirectDependency("yaml")||v.isDirectDependency("js-yaml"))&&r.push((await e9("@eslint-sukka/yaml")).yaml()),iz(e?.json,!0)&&r.push([...z.configs["flat/base"],{name:"@eslint-sukka/json json",files:[v.constants.GLOB_JSON],rules:{...z.configs["flat/recommended-with-json"].reduce((e,t)=>({...e,...t.rules}),{}),...e1}},{name:"@eslint-sukka/json json5",...e0,files:[v.constants.GLOB_JSON5],rules:{...z.configs["flat/recommended-with-json5"].reduce((e,t)=>({...e,...t.rules}),{}),...e1}},{name:"@eslint-sukka/json jsonc",...e0,files:[v.constants.GLOB_JSONC],rules:{...z.configs["flat/recommended-with-jsonc"].reduce((e,t)=>({...e,...t.rules}),{}),...e1}},{name:"@eslint-sukka/json package.json",...e0,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",...e0,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$"}]}}]),o){let t=e?.isInEditor??(!(process.env.CI||Q.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));r.push(function(e={}){let{allowJs:t=!1,tsconfigPath:n=!0,tsconfigRootDir:r=A.cwd(),componentExtensions:i=[],isInEditor:o=!1,allowDefaultProject:s=["next.config.ts","rollup.config.ts","webpack.config.ts"]}=e,a="string"==typeof __dirname?__dirname:void 0,u=v.packageResolver.sync(a,"@typescript-eslint/parser"),l=I.nullthrow(u.path,"[eslint-config-sukka#ts] Expect @typescript-eslint/parser to exist"),c=[v.constants.GLOB_TS,v.constants.GLOB_TSX,...i.map(e=>`**/*.${e}`),...t?[v.constants.GLOB_JS]:[]];return[{name:"@eslint-sukka/ts base",files:c,plugins:{"@typescript-eslint":v.memo(V,"@typescript-eslint/eslint-plugin"),"@stylistic":v.memo(M.stylistic_eslint_plugin,"@stylistic/eslint-plugin"),"import-x":v.memo(P,"eslint-plugin-import-x"),paths:W},languageOptions:{parser:H,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":e3,"import-x/external-module-folders":["node_modules","node_modules/@types"],"import-x/resolver-next":[G.createTypeScriptImportResolver()],"import-x/parsers":{[l]:e4}},rules:{...$.configs.base.rules,...$.configs.recommendedTypeChecked.reduce((e,t)=>({...e,...t.rules}),{}),...$.configs.stylisticTypeChecked.reduce((e,t)=>({...e,...t.rules}),{}),...P.configs.typescript.rules,...e2,"@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/no-unnecessary-type-conversion":"error","@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:v.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-unsafe-return":"off","@typescript-eslint/no-unsafe-call":"off","@typescript-eslint/no-unsafe-member-access":"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-enum-comparison":"warn","@typescript-eslint/prefer-regexp-exec":"warn","@typescript-eslint/no-deprecated":"warn","@typescript-eslint/no-unnecessary-template-expression":"warn","@typescript-eslint/prefer-readonly":"error","@typescript-eslint/class-literal-property-style":"error","@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/member-delimiter-style":["error",{multiline:{delimiter:"comma",requireLast:!1},singleline:{delimiter:"comma",requireLast:!1}}],"@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0,exceptAfterOverload:!0}],"@stylistic/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/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":["error",{allowSingleElementEquality:"always"}],"@typescript-eslint/switch-exhaustiveness-check":["error",{allowDefaultCaseForExhaustiveSwitch:!0,considerDefaultExhaustiveForUnions:!0}],"@typescript-eslint/parameter-properties":["warn",{prefer:"parameter-property"}],"no-throw-literal":"off","@typescript-eslint/only-throw-error":["error",{allowRethrowing:!0,allowThrowingAny:!0,allowThrowingUnknown:!0}],"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","@stylistic/type-generic-spacing":"error","@stylistic/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"}},v.withFiles(q.configs.recommended_extra_with_typed_lint,c),{name:"@eslint-sukka/ts dts",files:["**/*.d.ts"],plugins:{"import-x":v.memo(P,"eslint-plugin-import-x")},rules:{"import-x/no-duplicates":"off","unused-imports/no-unused-vars":"off","unused-imports/no-unused-imports":"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:{"@typescript-eslint":v.memo(V,"@typescript-eslint/eslint-plugin")},rules:{"@typescript-eslint/no-require-imports":"off"}}]}({isInEditor:t,...iU(e?.ts)}))}let s=i$("next"),a=iz(e?.react,s||i$("react")||i$("@types/react"));if(a)if(o){let t=await e9("@eslint-sukka/react"),n=i$("@remix-run/node")||i$("@remix-run/react")||i$("@remix-run/serve")||i$("@remix-run/dev");r.push(t.react(iU(e?.react,{nextjs:s,remix:n,reactRefresh:{allowConstantExport:i$("vite")},reactCompiler:i$("babel-plugin-react-compiler")||i$("react-compiler-webpack")?"error":"off"}))),iz(e?.next,s)&&r.push(t.next()),iz(e?.stylex,i$("@stylexjs/stylex")||i$("stylex-webpack"))&&r.push(t.stylex(iU(e?.stylex)))}else console.warn("[eslint-config-sukka] React preset will not be enabled when TypeScript is missing.");iz(e?.node,i||i$("@types/bun"))&&r.push((await e9("@eslint-sukka/node")).node({...iU(e?.node),hasTypeScript:o,hasReact:a})),iz(e?.legacy)&&r.push(function(e={}){return[{name:"@eslint-sukka/legacy base",...e.files?{files:e.files}:{},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?v.globals.browser:{},...e.node?v.globals.node:{}}}}]}(iU(e?.legacy))),r.push(t);let u=(await Promise.all(r)).flat();return process.env.TIMING&&console.log(`[eslint-config-sukka] Timing: ${Date.now()-n}ms`),u}exports.constants=v.constants,exports.ignores=el,exports.sukka=iV;
|