@agent-teams/document-authoring 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/README.md +8 -0
- package/dist/adapters/canonical-markdown.d.ts.map +1 -1
- package/dist/adapters/canonical-markdown.js +1 -3
- package/dist/adapters/canonical-markdown.js.map +1 -1
- package/dist/adapters/markdown-runtime.js +1 -0
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.d.ts.map +1 -1
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.js +1 -7
- package/dist/documentation-observation/adapters/outbound/filesystem/markdown-document-parser.js.map +1 -1
- package/dist/markdown-distribution-proof.json +1809 -0
- package/dist/markdown-upstream-notices.txt +1859 -0
- package/dist/markdown-upstream.cdx.json +2010 -0
- package/package.json +5 -13
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf;var __hasOwnProp=Object.prototype.hasOwnProperty;var __commonJS=(cb,mod)=>function __require(){try{return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports}catch(e){throw mod=0,e}};var __export=(target,all2)=>{for(var name in all2)__defProp(target,name,{get:all2[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from==="object"||typeof from==="function"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,"default",{value:mod,enumerable:true}):target,mod));var require_format=__commonJS({"markdown:format@0.2.2/format.js"(exports,module){(function(){var namespace;if(typeof module!=="undefined"){namespace=module.exports=format}else{namespace=(function(){return this||(1,eval)("this")})()}namespace.format=format;namespace.vsprintf=vsprintf;if(typeof console!=="undefined"&&typeof console.log==="function"){namespace.printf=printf}function printf(){console.log(format.apply(null,arguments))}function vsprintf(fmt,replacements){return format.apply(null,[fmt].concat(replacements))}function format(fmt){var argIndex=1,args=[].slice.call(arguments),i=0,n=fmt.length,result="",c,escaped=false,arg,tmp,leadingZero=false,precision,nextArg=function(){return args[argIndex++]},slurpNumber=function(){var digits="";while(/\d/.test(fmt[i])){digits+=fmt[i++];c=fmt[i]}return digits.length>0?parseInt(digits):null};for(;i<n;++i){c=fmt[i];if(escaped){escaped=false;if(c=="."){leadingZero=false;c=fmt[++i]}else if(c=="0"&&fmt[i+1]=="."){leadingZero=true;i+=2;c=fmt[i]}else{leadingZero=true}precision=slurpNumber();switch(c){case"b":result+=parseInt(nextArg(),10).toString(2);break;case"c":arg=nextArg();if(typeof arg==="string"||arg instanceof String)result+=arg;else result+=String.fromCharCode(parseInt(arg,10));break;case"d":result+=parseInt(nextArg(),10);break;case"f":tmp=String(parseFloat(nextArg()).toFixed(precision||6));result+=leadingZero?tmp:tmp.replace(/^0/,"");break;case"j":result+=JSON.stringify(nextArg());break;case"o":result+="0"+parseInt(nextArg(),10).toString(8);break;case"s":result+=nextArg();break;case"x":result+="0x"+parseInt(nextArg(),10).toString(16);break;case"X":result+="0x"+parseInt(nextArg(),10).toString(16).toUpperCase();break;default:result+=c;break}}else if(c==="%"){escaped=true}else{result+=c}}return result}})()}});var require_extend_3_0=__commonJS({"markdown:extend@3.0.2/index.js"(exports,module){"use strict";var hasOwn=Object.prototype.hasOwnProperty;var toStr=Object.prototype.toString;var defineProperty=Object.defineProperty;var gOPD=Object.getOwnPropertyDescriptor;var isArray=function isArray2(arr){if(typeof Array.isArray==="function"){return Array.isArray(arr)}return toStr.call(arr)==="[object Array]"};var isPlainObject2=function isPlainObject3(obj){if(!obj||toStr.call(obj)!=="[object Object]"){return false}var hasOwnConstructor=hasOwn.call(obj,"constructor");var hasIsPrototypeOf=obj.constructor&&obj.constructor.prototype&&hasOwn.call(obj.constructor.prototype,"isPrototypeOf");if(obj.constructor&&!hasOwnConstructor&&!hasIsPrototypeOf){return false}var key;for(key in obj){}return typeof key==="undefined"||hasOwn.call(obj,key)};var setProperty=function setProperty2(target,options){if(defineProperty&&options.name==="__proto__"){defineProperty(target,options.name,{enumerable:true,configurable:true,value:options.newValue,writable:true})}else{target[options.name]=options.newValue}};var getProperty=function getProperty2(obj,name){if(name==="__proto__"){if(!hasOwn.call(obj,name)){return void 0}else if(gOPD){return gOPD(obj,name).value}}return obj[name]};module.exports=function extend2(){var options,name,src,copy,copyIsArray,clone;var target=arguments[0];var i=1;var length=arguments.length;var deep=false;if(typeof target==="boolean"){deep=target;target=arguments[1]||{};i=2}if(target==null||typeof target!=="object"&&typeof target!=="function"){target={}}for(;i<length;++i){options=arguments[i];if(options!=null){for(name in options){src=getProperty(target,name);copy=getProperty(options,name);if(target!==copy){if(deep&©&&(isPlainObject2(copy)||(copyIsArray=isArray(copy)))){if(copyIsArray){copyIsArray=false;clone=src&&isArray(src)?src:[]}else{clone=src&&isPlainObject2(src)?src:{}}setProperty(target,{name,newValue:extend2(deep,clone,copy)})}else if(typeof copy!=="undefined"){setProperty(target,{name,newValue:copy})}}}}}return target}}});var regex=/[\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;var own=Object.hasOwnProperty;var BananaSlug=class{constructor(){this.occurrences;this.reset()}slug(value2,maintainCase){const self=this;let result=slug(value2,maintainCase===true);const originalSlug=result;while(own.call(self.occurrences,result)){self.occurrences[originalSlug]++;result=originalSlug+"-"+self.occurrences[originalSlug]}self.occurrences[result]=0;return result}reset(){this.occurrences=Object.create(null)}};function slug(value2,maintainCase){if(typeof value2!=="string")return"";if(!maintainCase)value2=value2.toLowerCase();return value2.replace(regex,"").replace(/ /g,"-")}var emptyOptions={};function toString(value2,options){const settings=options||emptyOptions;const includeImageAlt=typeof settings.includeImageAlt==="boolean"?settings.includeImageAlt:true;const includeHtml=typeof settings.includeHtml==="boolean"?settings.includeHtml:true;return one(value2,includeImageAlt,includeHtml)}function one(value2,includeImageAlt,includeHtml){if(node(value2)){if("value"in value2){return value2.type==="html"&&!includeHtml?"":value2.value}if(includeImageAlt&&"alt"in value2&&value2.alt){return value2.alt}if("children"in value2){return all(value2.children,includeImageAlt,includeHtml)}}if(Array.isArray(value2)){return all(value2,includeImageAlt,includeHtml)}return""}function all(values,includeImageAlt,includeHtml){const result=[];let index2=-1;while(++index2<values.length){result[index2]=one(values[index2],includeImageAlt,includeHtml)}return result.join("")}function node(value2){return Boolean(value2&&typeof value2==="object")}function ok(){}var asciiAlpha=regexCheck(/[A-Za-z]/);var asciiAlphanumeric=regexCheck(/[\dA-Za-z]/);var asciiAtext=regexCheck(/[#-'*+\--9=?A-Z^-~]/);function asciiControl(code3){return code3!==null&&(code3<32||code3===127)}var asciiDigit=regexCheck(/\d/);var asciiHexDigit=regexCheck(/[\dA-Fa-f]/);var asciiPunctuation=regexCheck(/[!-/:-@[-`{-~]/);function markdownLineEnding(code3){return code3!==null&&code3<-2}function markdownLineEndingOrSpace(code3){return code3!==null&&(code3<0||code3===32)}function markdownSpace(code3){return code3===-2||code3===-1||code3===32}var unicodePunctuation=regexCheck(new RegExp("\\p{P}|\\p{S}","u"));var unicodeWhitespace=regexCheck(/\s/);function regexCheck(regex2){return check;function check(code3){return code3!==null&&code3>-1&®ex2.test(String.fromCharCode(code3))}}var import_format=__toESM(require_format());var fault=Object.assign(create(Error),{eval:create(EvalError),range:create(RangeError),reference:create(ReferenceError),syntax:create(SyntaxError),type:create(TypeError),uri:create(URIError)});function create(Constructor){FormattedError.displayName=Constructor.displayName||Constructor.name;return FormattedError;function FormattedError(format,...values){const reason=format?(0,import_format.default)(format,...values):format;return new Constructor(reason)}}var own2={}.hasOwnProperty;var markers={yaml:"-",toml:"+"};function toMatters(options){const result=[];let index2=-1;const presetsOrMatters=Array.isArray(options)?options:options?[options]:["yaml"];while(++index2<presetsOrMatters.length){result[index2]=matter(presetsOrMatters[index2])}return result}function matter(option){let result=option;if(typeof result==="string"){if(!own2.call(markers,result)){throw fault("Missing matter definition for `%s`",result)}result={type:result,marker:markers[result]}}else if(typeof result!=="object"){throw fault("Expected matter to be an object, not `%j`",result)}if(!own2.call(result,"type")){throw fault("Missing `type` in matter `%j`",result)}if(!own2.call(result,"fence")&&!own2.call(result,"marker")){throw fault("Missing `marker` or `fence` in matter `%j`",result)}return result}function frontmatter(options){const matters=toMatters(options);const flow3={};let index2=-1;while(++index2<matters.length){const matter2=matters[index2];const code3=fence(matter2,"open").charCodeAt(0);const construct=createConstruct(matter2);const existing=flow3[code3];if(Array.isArray(existing)){existing.push(construct)}else{flow3[code3]=[construct]}}return{flow:flow3}}function createConstruct(matter2){const anywhere=matter2.anywhere;const frontmatterType=matter2.type;const fenceType=frontmatterType+"Fence";const sequenceType=fenceType+"Sequence";const valueType=frontmatterType+"Value";const closingFenceConstruct={tokenize:tokenizeClosingFence,partial:true};let buffer;let bufferIndex=0;return{tokenize:tokenizeFrontmatter,concrete:true};function tokenizeFrontmatter(effects,ok3,nok){const self=this;return start;function start(code3){const position2=self.now();if(position2.column===1&&(position2.line===1||anywhere)){buffer=fence(matter2,"open");bufferIndex=0;if(code3===buffer.charCodeAt(bufferIndex)){effects.enter(frontmatterType);effects.enter(fenceType);effects.enter(sequenceType);return openSequence(code3)}}return nok(code3)}function openSequence(code3){if(bufferIndex===buffer.length){effects.exit(sequenceType);if(markdownSpace(code3)){effects.enter("whitespace");return openSequenceWhitespace(code3)}return openAfter(code3)}if(code3===buffer.charCodeAt(bufferIndex++)){effects.consume(code3);return openSequence}return nok(code3)}function openSequenceWhitespace(code3){if(markdownSpace(code3)){effects.consume(code3);return openSequenceWhitespace}effects.exit("whitespace");return openAfter(code3)}function openAfter(code3){if(markdownLineEnding(code3)){effects.exit(fenceType);effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");buffer=fence(matter2,"close");bufferIndex=0;return effects.attempt(closingFenceConstruct,after,contentStart)}return nok(code3)}function contentStart(code3){if(code3===null||markdownLineEnding(code3)){return contentEnd(code3)}effects.enter(valueType);return contentInside(code3)}function contentInside(code3){if(code3===null||markdownLineEnding(code3)){effects.exit(valueType);return contentEnd(code3)}effects.consume(code3);return contentInside}function contentEnd(code3){if(code3===null){return nok(code3)}effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return effects.attempt(closingFenceConstruct,after,contentStart)}function after(code3){effects.exit(frontmatterType);return ok3(code3)}}function tokenizeClosingFence(effects,ok3,nok){let bufferIndex2=0;return closeStart;function closeStart(code3){if(code3===buffer.charCodeAt(bufferIndex2)){effects.enter(fenceType);effects.enter(sequenceType);return closeSequence(code3)}return nok(code3)}function closeSequence(code3){if(bufferIndex2===buffer.length){effects.exit(sequenceType);if(markdownSpace(code3)){effects.enter("whitespace");return closeSequenceWhitespace(code3)}return closeAfter(code3)}if(code3===buffer.charCodeAt(bufferIndex2++)){effects.consume(code3);return closeSequence}return nok(code3)}function closeSequenceWhitespace(code3){if(markdownSpace(code3)){effects.consume(code3);return closeSequenceWhitespace}effects.exit("whitespace");return closeAfter(code3)}function closeAfter(code3){if(code3===null||markdownLineEnding(code3)){effects.exit(fenceType);return ok3(code3)}return nok(code3)}}}function fence(matter2,prop){return matter2.marker?pick(matter2.marker,prop).repeat(3):pick(matter2.fence,prop)}function pick(schema,prop){return typeof schema==="string"?schema:schema[prop]}function escapeStringRegexp(string3){if(typeof string3!=="string"){throw new TypeError("Expected a string")}return string3.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function frontmatterFromMarkdown(options){const matters=toMatters(options);const enter={};const exit3={};let index2=-1;while(++index2<matters.length){const matter2=matters[index2];enter[matter2.type]=opener(matter2);exit3[matter2.type]=close;exit3[matter2.type+"Value"]=value}return{enter,exit:exit3}}function opener(matter2){return open;function open(token){this.enter({type:matter2.type,value:""},token);this.buffer()}}function close(token){const data=this.resume();const node2=this.stack[this.stack.length-1];ok("value"in node2);this.exit(token);node2.value=data.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function value(token){this.config.enter.data.call(this,token);this.config.exit.data.call(this,token)}function frontmatterToMarkdown(options){const unsafe2=[];const handlers={};const matters=toMatters(options);let index2=-1;while(++index2<matters.length){const matter2=matters[index2];handlers[matter2.type]=handler(matter2);const open=fence2(matter2,"open");unsafe2.push({atBreak:true,character:open.charAt(0),after:escapeStringRegexp(open.charAt(1))})}return{unsafe:unsafe2,handlers}}function handler(matter2){const open=fence2(matter2,"open");const close2=fence2(matter2,"close");return handle2;function handle2(node2){return open+(node2.value?"\n"+node2.value:"")+"\n"+close2}}function fence2(matter2,prop){return matter2.marker?pick2(matter2.marker,prop).repeat(3):pick2(matter2.fence,prop)}function pick2(schema,prop){return typeof schema==="string"?schema:schema[prop]}var emptyOptions2="yaml";function remarkFrontmatter(options){const self=this;const settings=options||emptyOptions2;const data=self.data();const micromarkExtensions=data.micromarkExtensions||(data.micromarkExtensions=[]);const fromMarkdownExtensions=data.fromMarkdownExtensions||(data.fromMarkdownExtensions=[]);const toMarkdownExtensions=data.toMarkdownExtensions||(data.toMarkdownExtensions=[]);micromarkExtensions.push(frontmatter(settings));fromMarkdownExtensions.push(frontmatterFromMarkdown(settings));toMarkdownExtensions.push(frontmatterToMarkdown(settings))}function ccount(value2,character){const source=String(value2);if(typeof character!=="string"){throw new TypeError("Expected character")}let count=0;let index2=source.indexOf(character);while(index2!==-1){count++;index2=source.indexOf(character,index2+character.length)}return count}var convert=(function(test){if(test===null||test===void 0){return ok2}if(typeof test==="function"){return castFactory(test)}if(typeof test==="object"){return Array.isArray(test)?anyFactory(test):propertiesFactory(test)}if(typeof test==="string"){return typeFactory(test)}throw new Error("Expected function, string, or object as test")});function anyFactory(tests){const checks=[];let index2=-1;while(++index2<tests.length){checks[index2]=convert(tests[index2])}return castFactory(any);function any(...parameters){let index3=-1;while(++index3<checks.length){if(checks[index3].apply(this,parameters))return true}return false}}function propertiesFactory(check){const checkAsRecord=check;return castFactory(all2);function all2(node2){const nodeAsRecord=node2;let key;for(key in check){if(nodeAsRecord[key]!==checkAsRecord[key])return false}return true}}function typeFactory(check){return castFactory(type);function type(node2){return node2&&node2.type===check}}function castFactory(testFunction){return check;function check(value2,index2,parent){return Boolean(looksLikeANode(value2)&&testFunction.call(this,value2,typeof index2==="number"?index2:void 0,parent||void 0))}}function ok2(){return true}function looksLikeANode(value2){return value2!==null&&typeof value2==="object"&&"type"in value2}function color(d){return"\x1B[33m"+d+"\x1B[39m"}var empty=[];var CONTINUE=true;var EXIT=false;var SKIP="skip";function visitParents(tree,test,visitor,reverse){let check;if(typeof test==="function"&&typeof visitor!=="function"){reverse=visitor;visitor=test}else{check=test}const is2=convert(check);const step=reverse?-1:1;factory(tree,void 0,[])();function factory(node2,index2,parents){const value2=node2&&typeof node2==="object"?node2:{};if(typeof value2.type==="string"){const name=typeof value2.tagName==="string"?value2.tagName:typeof value2.name==="string"?value2.name:void 0;Object.defineProperty(visit2,"name",{value:"node ("+color(node2.type+(name?"<"+name+">":""))+")"})}return visit2;function visit2(){let result=empty;let subresult;let offset;let grandparents;if(!test||is2(node2,index2,parents[parents.length-1]||void 0)){result=toResult(visitor(node2,parents));if(result[0]===EXIT){return result}}if("children"in node2&&node2.children){const nodeAsParent=node2;if(nodeAsParent.children&&result[0]!==SKIP){offset=(reverse?nodeAsParent.children.length:-1)+step;grandparents=parents.concat(nodeAsParent);while(offset>-1&&offset<nodeAsParent.children.length){const child=nodeAsParent.children[offset];subresult=factory(child,offset,grandparents)();if(subresult[0]===EXIT){return subresult}offset=typeof subresult[1]==="number"?subresult[1]:offset+step}}}return result}}}function toResult(value2){if(Array.isArray(value2)){return value2}if(typeof value2==="number"){return[CONTINUE,value2]}return value2===null||value2===void 0?empty:[value2]}function findAndReplace(tree,list3,options){const settings=options||{};const ignored=convert(settings.ignore||[]);const pairs=toPairs(list3);let pairIndex=-1;while(++pairIndex<pairs.length){visitParents(tree,"text",visitor)}function visitor(node2,parents){let index2=-1;let grandparent;while(++index2<parents.length){const parent=parents[index2];const siblings=grandparent?grandparent.children:void 0;if(ignored(parent,siblings?siblings.indexOf(parent):void 0,grandparent)){return}grandparent=parent}if(grandparent){return handler2(node2,parents)}}function handler2(node2,parents){const parent=parents[parents.length-1];const find=pairs[pairIndex][0];const replace2=pairs[pairIndex][1];let start=0;const siblings=parent.children;const index2=siblings.indexOf(node2);let change=false;let nodes=[];find.lastIndex=0;let match=find.exec(node2.value);while(match){const position2=match.index;const matchObject={index:match.index,input:match.input,stack:[...parents,node2]};let value2=replace2(...match,matchObject);if(typeof value2==="string"){value2=value2.length>0?{type:"text",value:value2}:void 0}if(value2===false){find.lastIndex=position2+1}else{if(start!==position2){nodes.push({type:"text",value:node2.value.slice(start,position2)})}if(Array.isArray(value2)){nodes.push(...value2)}else if(value2){nodes.push(value2)}start=position2+match[0].length;change=true}if(!find.global){break}match=find.exec(node2.value)}if(change){if(start<node2.value.length){nodes.push({type:"text",value:node2.value.slice(start)})}parent.children.splice(index2,1,...nodes)}else{nodes=[node2]}return index2+nodes.length}}function toPairs(tupleOrList){const result=[];if(!Array.isArray(tupleOrList)){throw new TypeError("Expected find and replace tuple or list of tuples")}const list3=!tupleOrList[0]||Array.isArray(tupleOrList[0])?tupleOrList:[tupleOrList];let index2=-1;while(++index2<list3.length){const tuple=list3[index2];result.push([toExpression(tuple[0]),toFunction(tuple[1])])}return result}function toExpression(find){return typeof find==="string"?new RegExp(escapeStringRegexp(find),"g"):find}function toFunction(replace2){return typeof replace2==="function"?replace2:function(){return replace2}}var inConstruct="phrasing";var notInConstruct=["autolink","link","image","label"];function gfmAutolinkLiteralFromMarkdown(){return{transforms:[transformGfmAutolinkLiterals],enter:{literalAutolink:enterLiteralAutolink,literalAutolinkEmail:enterLiteralAutolinkValue,literalAutolinkHttp:enterLiteralAutolinkValue,literalAutolinkWww:enterLiteralAutolinkValue},exit:{literalAutolink:exitLiteralAutolink,literalAutolinkEmail:exitLiteralAutolinkEmail,literalAutolinkHttp:exitLiteralAutolinkHttp,literalAutolinkWww:exitLiteralAutolinkWww}}}function gfmAutolinkLiteralToMarkdown(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct,notInConstruct},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct,notInConstruct},{character:":",before:"[ps]",after:"\\/",inConstruct,notInConstruct}]}}function enterLiteralAutolink(token){this.enter({type:"link",title:null,url:"",children:[]},token)}function enterLiteralAutolinkValue(token){this.config.enter.autolinkProtocol.call(this,token)}function exitLiteralAutolinkHttp(token){this.config.exit.autolinkProtocol.call(this,token)}function exitLiteralAutolinkWww(token){this.config.exit.data.call(this,token);const node2=this.stack[this.stack.length-1];ok(node2.type==="link");node2.url="http://"+this.sliceSerialize(token)}function exitLiteralAutolinkEmail(token){this.config.exit.autolinkEmail.call(this,token)}function exitLiteralAutolink(token){this.exit(token)}function transformGfmAutolinkLiterals(tree){findAndReplace(tree,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,findUrl],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),findEmail]],{ignore:["link","linkReference"]})}function findUrl(_,protocol,domain2,path2,match){let prefix="";if(!previous(match)){return false}if(/^w/i.test(protocol)){domain2=protocol+domain2;protocol="";prefix="http://"}if(!isCorrectDomain(domain2)){return false}const parts=splitUrl(domain2+path2);if(!parts[0])return false;const result={type:"link",title:null,url:prefix+protocol+parts[0],children:[{type:"text",value:protocol+parts[0]}]};if(parts[1]){return[result,{type:"text",value:parts[1]}]}return result}function findEmail(_,atext,label,match){if(!previous(match,true)||/[-\d_]$/.test(label)){return false}return{type:"link",title:null,url:"mailto:"+atext+"@"+label,children:[{type:"text",value:atext+"@"+label}]}}function isCorrectDomain(domain2){const parts=domain2.split(".");if(parts.length<2||parts[parts.length-1]&&(/_/.test(parts[parts.length-1])||!/[a-zA-Z\d]/.test(parts[parts.length-1]))||parts[parts.length-2]&&(/_/.test(parts[parts.length-2])||!/[a-zA-Z\d]/.test(parts[parts.length-2]))){return false}return true}function splitUrl(url){const trailExec=/[!"&'),.:;<>?\]}]+$/.exec(url);if(!trailExec){return[url,void 0]}url=url.slice(0,trailExec.index);let trail2=trailExec[0];let closingParenIndex=trail2.indexOf(")");const openingParens=ccount(url,"(");let closingParens=ccount(url,")");while(closingParenIndex!==-1&&openingParens>closingParens){url+=trail2.slice(0,closingParenIndex+1);trail2=trail2.slice(closingParenIndex+1);closingParenIndex=trail2.indexOf(")");closingParens++}return[url,trail2]}function previous(match,email){const code3=match.input.charCodeAt(match.index-1);return(match.index===0||unicodeWhitespace(code3)||unicodePunctuation(code3))&&(!email||code3!==47)}function normalizeIdentifier(value2){return value2.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}footnoteReference.peek=footnoteReferencePeek;function enterFootnoteCallString(){this.buffer()}function enterFootnoteCall(token){this.enter({type:"footnoteReference",identifier:"",label:""},token)}function enterFootnoteDefinitionLabelString(){this.buffer()}function enterFootnoteDefinition(token){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},token)}function exitFootnoteCallString(token){const label=this.resume();const node2=this.stack[this.stack.length-1];ok(node2.type==="footnoteReference");node2.identifier=normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();node2.label=label}function exitFootnoteCall(token){this.exit(token)}function exitFootnoteDefinitionLabelString(token){const label=this.resume();const node2=this.stack[this.stack.length-1];ok(node2.type==="footnoteDefinition");node2.identifier=normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();node2.label=label}function exitFootnoteDefinition(token){this.exit(token)}function footnoteReferencePeek(){return"["}function footnoteReference(node2,_,state,info){const tracker=state.createTracker(info);let value2=tracker.move("[^");const exit3=state.enter("footnoteReference");const subexit=state.enter("reference");value2+=tracker.move(state.safe(state.associationId(node2),{after:"]",before:value2}));subexit();exit3();value2+=tracker.move("]");return value2}function gfmFootnoteFromMarkdown(){return{enter:{gfmFootnoteCallString:enterFootnoteCallString,gfmFootnoteCall:enterFootnoteCall,gfmFootnoteDefinitionLabelString:enterFootnoteDefinitionLabelString,gfmFootnoteDefinition:enterFootnoteDefinition},exit:{gfmFootnoteCallString:exitFootnoteCallString,gfmFootnoteCall:exitFootnoteCall,gfmFootnoteDefinitionLabelString:exitFootnoteDefinitionLabelString,gfmFootnoteDefinition:exitFootnoteDefinition}}}function gfmFootnoteToMarkdown(options){let firstLineBlank=false;if(options&&options.firstLineBlank){firstLineBlank=true}return{handlers:{footnoteDefinition,footnoteReference},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function footnoteDefinition(node2,_,state,info){const tracker=state.createTracker(info);let value2=tracker.move("[^");const exit3=state.enter("footnoteDefinition");const subexit=state.enter("label");value2+=tracker.move(state.safe(state.associationId(node2),{before:value2,after:"]"}));subexit();value2+=tracker.move("]:");if(node2.children&&node2.children.length>0){tracker.shift(4);value2+=tracker.move((firstLineBlank?"\n":" ")+state.indentLines(state.containerFlow(node2,tracker.current()),firstLineBlank?mapAll:mapExceptFirst))}exit3();return value2}}function mapExceptFirst(line,index2,blank){return index2===0?line:mapAll(line,index2,blank)}function mapAll(line,index2,blank){return(blank?"":" ")+line}var constructsWithoutStrikethrough=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];handleDelete.peek=peekDelete;function gfmStrikethroughFromMarkdown(){return{canContainEols:["delete"],enter:{strikethrough:enterStrikethrough},exit:{strikethrough:exitStrikethrough}}}function gfmStrikethroughToMarkdown(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:constructsWithoutStrikethrough}],handlers:{delete:handleDelete}}}function enterStrikethrough(token){this.enter({type:"delete",children:[]},token)}function exitStrikethrough(token){this.exit(token)}function handleDelete(node2,_,state,info){const tracker=state.createTracker(info);const exit3=state.enter("strikethrough");let value2=tracker.move("~~");value2+=state.containerPhrasing(node2,{...tracker.current(),before:value2,after:"~"});value2+=tracker.move("~~");exit3();return value2}function peekDelete(){return"~"}function defaultStringLength(value2){return value2.length}function markdownTable(table,options){const settings=options||{};const align=(settings.align||[]).concat();const stringLength=settings.stringLength||defaultStringLength;const alignments=[];const cellMatrix=[];const sizeMatrix=[];const longestCellByColumn=[];let mostCellsPerRow=0;let rowIndex=-1;while(++rowIndex<table.length){const row2=[];const sizes2=[];let columnIndex2=-1;if(table[rowIndex].length>mostCellsPerRow){mostCellsPerRow=table[rowIndex].length}while(++columnIndex2<table[rowIndex].length){const cell=serialize(table[rowIndex][columnIndex2]);if(settings.alignDelimiters!==false){const size=stringLength(cell);sizes2[columnIndex2]=size;if(longestCellByColumn[columnIndex2]===void 0||size>longestCellByColumn[columnIndex2]){longestCellByColumn[columnIndex2]=size}}row2.push(cell)}cellMatrix[rowIndex]=row2;sizeMatrix[rowIndex]=sizes2}let columnIndex=-1;if(typeof align==="object"&&"length"in align){while(++columnIndex<mostCellsPerRow){alignments[columnIndex]=toAlignment(align[columnIndex])}}else{const code3=toAlignment(align);while(++columnIndex<mostCellsPerRow){alignments[columnIndex]=code3}}columnIndex=-1;const row=[];const sizes=[];while(++columnIndex<mostCellsPerRow){const code3=alignments[columnIndex];let before="";let after="";if(code3===99){before=":";after=":"}else if(code3===108){before=":"}else if(code3===114){after=":"}let size=settings.alignDelimiters===false?1:Math.max(1,longestCellByColumn[columnIndex]-before.length-after.length);const cell=before+"-".repeat(size)+after;if(settings.alignDelimiters!==false){size=before.length+size+after.length;if(size>longestCellByColumn[columnIndex]){longestCellByColumn[columnIndex]=size}sizes[columnIndex]=size}row[columnIndex]=cell}cellMatrix.splice(1,0,row);sizeMatrix.splice(1,0,sizes);rowIndex=-1;const lines=[];while(++rowIndex<cellMatrix.length){const row2=cellMatrix[rowIndex];const sizes2=sizeMatrix[rowIndex];columnIndex=-1;const line=[];while(++columnIndex<mostCellsPerRow){const cell=row2[columnIndex]||"";let before="";let after="";if(settings.alignDelimiters!==false){const size=longestCellByColumn[columnIndex]-(sizes2[columnIndex]||0);const code3=alignments[columnIndex];if(code3===114){before=" ".repeat(size)}else if(code3===99){if(size%2){before=" ".repeat(size/2+.5);after=" ".repeat(size/2-.5)}else{before=" ".repeat(size/2);after=before}}else{after=" ".repeat(size)}}if(settings.delimiterStart!==false&&!columnIndex){line.push("|")}if(settings.padding!==false&&!(settings.alignDelimiters===false&&cell==="")&&(settings.delimiterStart!==false||columnIndex)){line.push(" ")}if(settings.alignDelimiters!==false){line.push(before)}line.push(cell);if(settings.alignDelimiters!==false){line.push(after)}if(settings.padding!==false){line.push(" ")}if(settings.delimiterEnd!==false||columnIndex!==mostCellsPerRow-1){line.push("|")}}lines.push(settings.delimiterEnd===false?line.join("").replace(/ +$/,""):line.join(""))}return lines.join("\n")}function serialize(value2){return value2===null||value2===void 0?"":String(value2)}function toAlignment(value2){const code3=typeof value2==="string"?value2.codePointAt(0):0;return code3===67||code3===99?99:code3===76||code3===108?108:code3===82||code3===114?114:0}var own3={}.hasOwnProperty;var own4={}.hasOwnProperty;function blockquote(node2,_,state,info){const exit3=state.enter("blockquote");const tracker=state.createTracker(info);tracker.move("> ");tracker.shift(2);const value2=state.indentLines(state.containerFlow(node2,tracker.current()),map);exit3();return value2}function map(line,_,blank){return">"+(blank?"":" ")+line}function patternInScope(stack,pattern){return listInScope(stack,pattern.inConstruct,true)&&!listInScope(stack,pattern.notInConstruct,false)}function listInScope(stack,list3,none){if(typeof list3==="string"){list3=[list3]}if(!list3||list3.length===0){return none}let index2=-1;while(++index2<list3.length){if(stack.includes(list3[index2])){return true}}return false}function hardBreak(_,_1,state,info){let index2=-1;while(++index2<state.unsafe.length){if(state.unsafe[index2].character==="\n"&&patternInScope(state.stack,state.unsafe[index2])){return/[ \t]/.test(info.before)?"":" "}}return"\\\n"}function longestStreak(value2,substring){const source=String(value2);let index2=source.indexOf(substring);let expected=index2;let count=0;let max=0;if(typeof substring!=="string"){throw new TypeError("Expected substring")}while(index2!==-1){if(index2===expected){if(++count>max){max=count}}else{count=1}expected=index2+substring.length;index2=source.indexOf(substring,expected)}return max}function formatCodeAsIndented(node2,state){return Boolean(state.options.fences===false&&node2.value&&!node2.lang&&/[^ \r\n]/.test(node2.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(node2.value))}function checkFence(state){const marker=state.options.fence||"`";if(marker!=="`"&&marker!=="~"){throw new Error("Cannot serialize code with `"+marker+"` for `options.fence`, expected `` ` `` or `~`")}return marker}function code(node2,_,state,info){const marker=checkFence(state);const raw=node2.value||"";const suffix=marker==="`"?"GraveAccent":"Tilde";if(formatCodeAsIndented(node2,state)){const exit4=state.enter("codeIndented");const value3=state.indentLines(raw,map2);exit4();return value3}const tracker=state.createTracker(info);const sequence=marker.repeat(Math.max(longestStreak(raw,marker)+1,3));const exit3=state.enter("codeFenced");let value2=tracker.move(sequence);if(node2.lang){const subexit=state.enter(`codeFencedLang${suffix}`);value2+=tracker.move(state.safe(node2.lang,{before:value2,after:" ",encode:["`"],...tracker.current()}));subexit()}if(node2.lang&&node2.meta){const subexit=state.enter(`codeFencedMeta${suffix}`);value2+=tracker.move(" ");value2+=tracker.move(state.safe(node2.meta,{before:value2,after:"\n",encode:["`"],...tracker.current()}));subexit()}value2+=tracker.move("\n");if(raw){value2+=tracker.move(raw+"\n")}value2+=tracker.move(sequence);exit3();return value2}function map2(line,_,blank){return(blank?"":" ")+line}function checkQuote(state){const marker=state.options.quote||'"';if(marker!=='"'&&marker!=="'"){throw new Error("Cannot serialize title with `"+marker+"` for `options.quote`, expected `\"`, or `'`")}return marker}function definition(node2,_,state,info){const quote=checkQuote(state);const suffix=quote==='"'?"Quote":"Apostrophe";const exit3=state.enter("definition");let subexit=state.enter("label");const tracker=state.createTracker(info);let value2=tracker.move("[");value2+=tracker.move(state.safe(state.associationId(node2),{before:value2,after:"]",...tracker.current()}));value2+=tracker.move("]: ");subexit();if(!node2.url||/[\0- \u007F]/.test(node2.url)){subexit=state.enter("destinationLiteral");value2+=tracker.move("<");value2+=tracker.move(state.safe(node2.url,{before:value2,after:">",...tracker.current()}));value2+=tracker.move(">")}else{subexit=state.enter("destinationRaw");value2+=tracker.move(state.safe(node2.url,{before:value2,after:node2.title?" ":"\n",...tracker.current()}))}subexit();if(node2.title){subexit=state.enter(`title${suffix}`);value2+=tracker.move(" "+quote);value2+=tracker.move(state.safe(node2.title,{before:value2,after:quote,...tracker.current()}));value2+=tracker.move(quote);subexit()}exit3();return value2}function checkEmphasis(state){const marker=state.options.emphasis||"*";if(marker!=="*"&&marker!=="_"){throw new Error("Cannot serialize emphasis with `"+marker+"` for `options.emphasis`, expected `*`, or `_`")}return marker}function encodeCharacterReference(code3){return"&#x"+code3.toString(16).toUpperCase()+";"}function classifyCharacter(code3){if(code3===null||markdownLineEndingOrSpace(code3)||unicodeWhitespace(code3)){return 1}if(unicodePunctuation(code3)){return 2}}function encodeInfo(outside,inside,marker){const outsideKind=classifyCharacter(outside);const insideKind=classifyCharacter(inside);if(outsideKind===void 0){return insideKind===void 0?marker==="_"?{inside:true,outside:true}:{inside:false,outside:false}:insideKind===1?{inside:true,outside:true}:{inside:false,outside:true}}if(outsideKind===1){return insideKind===void 0?{inside:false,outside:false}:insideKind===1?{inside:true,outside:true}:{inside:false,outside:false}}return insideKind===void 0?{inside:false,outside:false}:insideKind===1?{inside:true,outside:false}:{inside:false,outside:false}}emphasis.peek=emphasisPeek;function emphasis(node2,_,state,info){const marker=checkEmphasis(state);const exit3=state.enter("emphasis");const tracker=state.createTracker(info);const before=tracker.move(marker);let between=tracker.move(state.containerPhrasing(node2,{after:marker,before,...tracker.current()}));const betweenHead=between.charCodeAt(0);const open=encodeInfo(info.before.charCodeAt(info.before.length-1),betweenHead,marker);if(open.inside){between=encodeCharacterReference(betweenHead)+between.slice(1)}const betweenTail=between.charCodeAt(between.length-1);const close2=encodeInfo(info.after.charCodeAt(0),betweenTail,marker);if(close2.inside){between=between.slice(0,-1)+encodeCharacterReference(betweenTail)}const after=tracker.move(marker);exit3();state.attentionEncodeSurroundingInfo={after:close2.outside,before:open.outside};return before+between+after}function emphasisPeek(_,_1,state){return state.options.emphasis||"*"}function visit(tree,testOrVisitor,visitorOrReverse,maybeReverse){let reverse;let test;let visitor;if(typeof testOrVisitor==="function"&&typeof visitorOrReverse!=="function"){test=void 0;visitor=testOrVisitor;reverse=visitorOrReverse}else{test=testOrVisitor;visitor=visitorOrReverse;reverse=maybeReverse}visitParents(tree,test,overload,reverse);function overload(node2,parents){const parent=parents[parents.length-1];const index2=parent?parent.children.indexOf(node2):void 0;return visitor(node2,index2,parent)}}function formatHeadingAsSetext(node2,state){let literalWithBreak=false;visit(node2,function(node3){if("value"in node3&&/\r?\n|\r/.test(node3.value)||node3.type==="break"){literalWithBreak=true;return EXIT}});return Boolean((!node2.depth||node2.depth<3)&&toString(node2)&&(state.options.setext||literalWithBreak))}function heading(node2,_,state,info){const rank=Math.max(Math.min(6,node2.depth||1),1);const tracker=state.createTracker(info);if(formatHeadingAsSetext(node2,state)){const exit4=state.enter("headingSetext");const subexit2=state.enter("phrasing");const value3=state.containerPhrasing(node2,{...tracker.current(),before:"\n",after:"\n"});subexit2();exit4();return value3+"\n"+(rank===1?"=":"-").repeat(value3.length-(Math.max(value3.lastIndexOf("\r"),value3.lastIndexOf("\n"))+1))}const sequence="#".repeat(rank);const exit3=state.enter("headingAtx");const subexit=state.enter("phrasing");tracker.move(sequence+" ");let value2=state.containerPhrasing(node2,{before:"# ",after:"\n",...tracker.current()});if(/^[\t ]/.test(value2)){value2=encodeCharacterReference(value2.charCodeAt(0))+value2.slice(1)}value2=value2?sequence+" "+value2:sequence;if(state.options.closeAtx){value2+=" "+sequence}subexit();exit3();return value2}html.peek=htmlPeek;function html(node2){return node2.value||""}function htmlPeek(){return"<"}image.peek=imagePeek;function image(node2,_,state,info){const quote=checkQuote(state);const suffix=quote==='"'?"Quote":"Apostrophe";const exit3=state.enter("image");let subexit=state.enter("label");const tracker=state.createTracker(info);let value2=tracker.move("![");value2+=tracker.move(state.safe(node2.alt,{before:value2,after:"]",...tracker.current()}));value2+=tracker.move("](");subexit();if(!node2.url&&node2.title||/[\0- \u007F]/.test(node2.url)){subexit=state.enter("destinationLiteral");value2+=tracker.move("<");value2+=tracker.move(state.safe(node2.url,{before:value2,after:">",...tracker.current()}));value2+=tracker.move(">")}else{subexit=state.enter("destinationRaw");value2+=tracker.move(state.safe(node2.url,{before:value2,after:node2.title?" ":")",...tracker.current()}))}subexit();if(node2.title){subexit=state.enter(`title${suffix}`);value2+=tracker.move(" "+quote);value2+=tracker.move(state.safe(node2.title,{before:value2,after:quote,...tracker.current()}));value2+=tracker.move(quote);subexit()}value2+=tracker.move(")");exit3();return value2}function imagePeek(){return"!"}imageReference.peek=imageReferencePeek;function imageReference(node2,_,state,info){const type=node2.referenceType;const exit3=state.enter("imageReference");let subexit=state.enter("label");const tracker=state.createTracker(info);let value2=tracker.move("![");const alt=state.safe(node2.alt,{before:value2,after:"]",...tracker.current()});value2+=tracker.move(alt+"][");subexit();const stack=state.stack;state.stack=[];subexit=state.enter("reference");const reference=state.safe(state.associationId(node2),{before:value2,after:"]",...tracker.current()});subexit();state.stack=stack;exit3();if(type==="full"||!alt||alt!==reference){value2+=tracker.move(reference+"]")}else if(type==="shortcut"){value2=value2.slice(0,-1)}else{value2+=tracker.move("]")}return value2}function imageReferencePeek(){return"!"}inlineCode.peek=inlineCodePeek;function inlineCode(node2,_,state){let value2=node2.value||"";let sequence="`";let index2=-1;while(new RegExp("(^|[^`])"+sequence+"([^`]|$)").test(value2)){sequence+="`"}if(/[^ \r\n]/.test(value2)&&(/^[ \r\n]/.test(value2)&&/[ \r\n]$/.test(value2)||/^`|`$/.test(value2))){value2=" "+value2+" "}while(++index2<state.unsafe.length){const pattern=state.unsafe[index2];const expression=state.compilePattern(pattern);let match;if(!pattern.atBreak)continue;while(match=expression.exec(value2)){let position2=match.index;if(value2.charCodeAt(position2)===10&&value2.charCodeAt(position2-1)===13){position2--}value2=value2.slice(0,position2)+" "+value2.slice(match.index+1)}}return sequence+value2+sequence}function inlineCodePeek(){return"`"}function formatLinkAsAutolink(node2,state){const raw=toString(node2);return Boolean(!state.options.resourceLink&&node2.url&&!node2.title&&node2.children&&node2.children.length===1&&node2.children[0].type==="text"&&(raw===node2.url||"mailto:"+raw===node2.url)&&/^[a-z][a-z+.-]+:/i.test(node2.url)&&!/[\0- <>\u007F]/.test(node2.url))}link.peek=linkPeek;function link(node2,_,state,info){const quote=checkQuote(state);const suffix=quote==='"'?"Quote":"Apostrophe";const tracker=state.createTracker(info);let exit3;let subexit;if(formatLinkAsAutolink(node2,state)){const stack=state.stack;state.stack=[];exit3=state.enter("autolink");let value3=tracker.move("<");value3+=tracker.move(state.containerPhrasing(node2,{before:value3,after:">",...tracker.current()}));value3+=tracker.move(">");exit3();state.stack=stack;return value3}exit3=state.enter("link");subexit=state.enter("label");let value2=tracker.move("[");value2+=tracker.move(state.containerPhrasing(node2,{before:value2,after:"](",...tracker.current()}));value2+=tracker.move("](");subexit();if(!node2.url&&node2.title||/[\0- \u007F]/.test(node2.url)){subexit=state.enter("destinationLiteral");value2+=tracker.move("<");value2+=tracker.move(state.safe(node2.url,{before:value2,after:">",...tracker.current()}));value2+=tracker.move(">")}else{subexit=state.enter("destinationRaw");value2+=tracker.move(state.safe(node2.url,{before:value2,after:node2.title?" ":")",...tracker.current()}))}subexit();if(node2.title){subexit=state.enter(`title${suffix}`);value2+=tracker.move(" "+quote);value2+=tracker.move(state.safe(node2.title,{before:value2,after:quote,...tracker.current()}));value2+=tracker.move(quote);subexit()}value2+=tracker.move(")");exit3();return value2}function linkPeek(node2,_,state){return formatLinkAsAutolink(node2,state)?"<":"["}linkReference.peek=linkReferencePeek;function linkReference(node2,_,state,info){const type=node2.referenceType;const exit3=state.enter("linkReference");let subexit=state.enter("label");const tracker=state.createTracker(info);let value2=tracker.move("[");const text5=state.containerPhrasing(node2,{before:value2,after:"]",...tracker.current()});value2+=tracker.move(text5+"][");subexit();const stack=state.stack;state.stack=[];subexit=state.enter("reference");const reference=state.safe(state.associationId(node2),{before:value2,after:"]",...tracker.current()});subexit();state.stack=stack;exit3();if(type==="full"||!text5||text5!==reference){value2+=tracker.move(reference+"]")}else if(type==="shortcut"){value2=value2.slice(0,-1)}else{value2+=tracker.move("]")}return value2}function linkReferencePeek(){return"["}function checkBullet(state){const marker=state.options.bullet||"*";if(marker!=="*"&&marker!=="+"&&marker!=="-"){throw new Error("Cannot serialize items with `"+marker+"` for `options.bullet`, expected `*`, `+`, or `-`")}return marker}function checkBulletOther(state){const bullet=checkBullet(state);const bulletOther=state.options.bulletOther;if(!bulletOther){return bullet==="*"?"-":"*"}if(bulletOther!=="*"&&bulletOther!=="+"&&bulletOther!=="-"){throw new Error("Cannot serialize items with `"+bulletOther+"` for `options.bulletOther`, expected `*`, `+`, or `-`")}if(bulletOther===bullet){throw new Error("Expected `bullet` (`"+bullet+"`) and `bulletOther` (`"+bulletOther+"`) to be different")}return bulletOther}function checkBulletOrdered(state){const marker=state.options.bulletOrdered||".";if(marker!=="."&&marker!==")"){throw new Error("Cannot serialize items with `"+marker+"` for `options.bulletOrdered`, expected `.` or `)`")}return marker}function checkRule(state){const marker=state.options.rule||"*";if(marker!=="*"&&marker!=="-"&&marker!=="_"){throw new Error("Cannot serialize rules with `"+marker+"` for `options.rule`, expected `*`, `-`, or `_`")}return marker}function list(node2,parent,state,info){const exit3=state.enter("list");const bulletCurrent=state.bulletCurrent;let bullet=node2.ordered?checkBulletOrdered(state):checkBullet(state);const bulletOther=node2.ordered?bullet==="."?")":".":checkBulletOther(state);let useDifferentMarker=parent&&state.bulletLastUsed?bullet===state.bulletLastUsed:false;if(!node2.ordered){const firstListItem=node2.children?node2.children[0]:void 0;if((bullet==="*"||bullet==="-")&&firstListItem&&(!firstListItem.children||!firstListItem.children[0])&&state.stack[state.stack.length-1]==="list"&&state.stack[state.stack.length-2]==="listItem"&&state.stack[state.stack.length-3]==="list"&&state.stack[state.stack.length-4]==="listItem"&&state.indexStack[state.indexStack.length-1]===0&&state.indexStack[state.indexStack.length-2]===0&&state.indexStack[state.indexStack.length-3]===0){useDifferentMarker=true}if(checkRule(state)===bullet&&firstListItem){let index2=-1;while(++index2<node2.children.length){const item=node2.children[index2];if(item&&item.type==="listItem"&&item.children&&item.children[0]&&item.children[0].type==="thematicBreak"){useDifferentMarker=true;break}}}}if(useDifferentMarker){bullet=bulletOther}state.bulletCurrent=bullet;const value2=state.containerFlow(node2,info);state.bulletLastUsed=bullet;state.bulletCurrent=bulletCurrent;exit3();return value2}function checkListItemIndent(state){const style=state.options.listItemIndent||"one";if(style!=="tab"&&style!=="one"&&style!=="mixed"){throw new Error("Cannot serialize items with `"+style+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`")}return style}function listItem(node2,parent,state,info){const listItemIndent=checkListItemIndent(state);let bullet=state.bulletCurrent||checkBullet(state);if(parent&&parent.type==="list"&&parent.ordered){bullet=(typeof parent.start==="number"&&parent.start>-1?parent.start:1)+(state.options.incrementListMarker===false?0:parent.children.indexOf(node2))+bullet}let size=bullet.length+1;if(listItemIndent==="tab"||listItemIndent==="mixed"&&(parent&&parent.type==="list"&&parent.spread||node2.spread)){size=Math.ceil(size/4)*4}const tracker=state.createTracker(info);tracker.move(bullet+" ".repeat(size-bullet.length));tracker.shift(size);const exit3=state.enter("listItem");const value2=state.indentLines(state.containerFlow(node2,tracker.current()),map3);exit3();return value2;function map3(line,index2,blank){if(index2){return(blank?"":" ".repeat(size))+line}return(blank?bullet:bullet+" ".repeat(size-bullet.length))+line}}function paragraph(node2,_,state,info){const exit3=state.enter("paragraph");const subexit=state.enter("phrasing");const value2=state.containerPhrasing(node2,info);subexit();exit3();return value2}var phrasing=convert(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function root(node2,_,state,info){const hasPhrasing=node2.children.some(function(d){return phrasing(d)});const container=hasPhrasing?state.containerPhrasing:state.containerFlow;return container.call(state,node2,info)}function checkStrong(state){const marker=state.options.strong||"*";if(marker!=="*"&&marker!=="_"){throw new Error("Cannot serialize strong with `"+marker+"` for `options.strong`, expected `*`, or `_`")}return marker}strong.peek=strongPeek;function strong(node2,_,state,info){const marker=checkStrong(state);const exit3=state.enter("strong");const tracker=state.createTracker(info);const before=tracker.move(marker+marker);let between=tracker.move(state.containerPhrasing(node2,{after:marker,before,...tracker.current()}));const betweenHead=between.charCodeAt(0);const open=encodeInfo(info.before.charCodeAt(info.before.length-1),betweenHead,marker);if(open.inside){between=encodeCharacterReference(betweenHead)+between.slice(1)}const betweenTail=between.charCodeAt(between.length-1);const close2=encodeInfo(info.after.charCodeAt(0),betweenTail,marker);if(close2.inside){between=between.slice(0,-1)+encodeCharacterReference(betweenTail)}const after=tracker.move(marker+marker);exit3();state.attentionEncodeSurroundingInfo={after:close2.outside,before:open.outside};return before+between+after}function strongPeek(_,_1,state){return state.options.strong||"*"}function text(node2,_,state,info){return state.safe(node2.value,info)}function checkRuleRepetition(state){const repetition=state.options.ruleRepetition||3;if(repetition<3){throw new Error("Cannot serialize rules with repetition `"+repetition+"` for `options.ruleRepetition`, expected `3` or more")}return repetition}function thematicBreak(_,_1,state){const value2=(checkRule(state)+(state.options.ruleSpaces?" ":"")).repeat(checkRuleRepetition(state));return state.options.ruleSpaces?value2.slice(0,-1):value2}var handle={blockquote,break:hardBreak,code,definition,emphasis,hardBreak,heading,html,image,imageReference,inlineCode,link,linkReference,list,listItem,paragraph,root,strong,text,thematicBreak};var characterEntities={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",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:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"",InvisibleTimes:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",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:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",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:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",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:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"",afr:"𝔞",agrave:"à",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:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",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:"𝔟",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:"𝕓",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:"¦",bscr:"𝒷",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:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",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:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",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:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",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:"𝔩",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:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",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:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",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:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",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:"𝕟",not:"¬",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:"𝓃",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:"ñ",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:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",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:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",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:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",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:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",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:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"",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:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",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:"¹",sup2:"²",sup3:"³",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:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",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:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""};var own5={}.hasOwnProperty;function decodeNamedCharacterReference(value2){return own5.call(characterEntities,value2)?characterEntities[value2]:false}function decodeNumericCharacterReference(value2,base){const code3=Number.parseInt(value2,base);if(code3<9||code3===11||code3>13&&code3<32||code3>126&&code3<160||code3>55295&&code3<57344||code3>64975&&code3<65008||(code3&65535)===65535||(code3&65535)===65534||code3>1114111){return"�"}return String.fromCodePoint(code3)}var characterEscapeOrReference=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function decodeString(value2){return value2.replace(characterEscapeOrReference,decode)}function decode($0,$1,$2){if($1){return $1}const head=$2.charCodeAt(0);if(head===35){const head2=$2.charCodeAt(1);const hex=head2===120||head2===88;return decodeNumericCharacterReference($2.slice(hex?2:1),hex?16:10)}return decodeNamedCharacterReference($2)||$0}function gfmTableFromMarkdown(){return{enter:{table:enterTable,tableData:enterCell,tableHeader:enterCell,tableRow:enterRow},exit:{codeText:exitCodeText,table:exitTable,tableData:exit,tableHeader:exit,tableRow:exit}}}function enterTable(token){const align=token._align;ok(align,"expected `_align` on table");this.enter({type:"table",align:align.map(function(d){return d==="none"?null:d}),children:[]},token);this.data.inTable=true}function exitTable(token){this.exit(token);this.data.inTable=void 0}function enterRow(token){this.enter({type:"tableRow",children:[]},token)}function exit(token){this.exit(token)}function enterCell(token){this.enter({type:"tableCell",children:[]},token)}function exitCodeText(token){let value2=this.resume();if(this.data.inTable){value2=value2.replace(/\\([\\|])/g,replace)}const node2=this.stack[this.stack.length-1];ok(node2.type==="inlineCode");node2.value=value2;this.exit(token)}function replace($0,$1){return $1==="|"?$1:$0}function gfmTableToMarkdown(options){const settings=options||{};const padding=settings.tableCellPadding;const alignDelimiters=settings.tablePipeAlign;const stringLength=settings.stringLength;const around=padding?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:true,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:true,character:":",after:"-"},{atBreak:true,character:"-",after:"[:|-]"}],handlers:{inlineCode:inlineCodeWithTable,table:handleTable,tableCell:handleTableCell,tableRow:handleTableRow}};function handleTable(node2,_,state,info){return serializeData(handleTableAsData(node2,state,info),node2.align)}function handleTableRow(node2,_,state,info){const row=handleTableRowAsData(node2,state,info);const value2=serializeData([row]);return value2.slice(0,value2.indexOf("\n"))}function handleTableCell(node2,_,state,info){const exit3=state.enter("tableCell");const subexit=state.enter("phrasing");const value2=state.containerPhrasing(node2,{...info,before:around,after:around});subexit();exit3();return value2}function serializeData(matrix,align){return markdownTable(matrix,{align,alignDelimiters,padding,stringLength})}function handleTableAsData(node2,state,info){const children=node2.children;let index2=-1;const result=[];const subexit=state.enter("table");while(++index2<children.length){result[index2]=handleTableRowAsData(children[index2],state,info)}subexit();return result}function handleTableRowAsData(node2,state,info){const children=node2.children;let index2=-1;const result=[];const subexit=state.enter("tableRow");while(++index2<children.length){result[index2]=handleTableCell(children[index2],node2,state,info)}subexit();return result}function inlineCodeWithTable(node2,parent,state){let value2=handle.inlineCode(node2,parent,state);if(state.stack.includes("tableCell")){value2=value2.replace(/\|/g,"\\$&")}return value2}}function gfmTaskListItemFromMarkdown(){return{exit:{taskListCheckValueChecked:exitCheck,taskListCheckValueUnchecked:exitCheck,paragraph:exitParagraphWithTaskListItem}}}function gfmTaskListItemToMarkdown(){return{unsafe:[{atBreak:true,character:"-",after:"[:|-]"}],handlers:{listItem:listItemWithTaskListItem}}}function exitCheck(token){const node2=this.stack[this.stack.length-2];ok(node2.type==="listItem");node2.checked=token.type==="taskListCheckValueChecked"}function exitParagraphWithTaskListItem(token){const parent=this.stack[this.stack.length-2];if(parent&&parent.type==="listItem"&&typeof parent.checked==="boolean"){const node2=this.stack[this.stack.length-1];ok(node2.type==="paragraph");const head=node2.children[0];if(head&&head.type==="text"){const siblings=parent.children;let index2=-1;let firstParaghraph;while(++index2<siblings.length){const sibling=siblings[index2];if(sibling.type==="paragraph"){firstParaghraph=sibling;break}}if(firstParaghraph===node2){head.value=head.value.slice(1);if(head.value.length===0){node2.children.shift()}else if(node2.position&&head.position&&typeof head.position.start.offset==="number"){head.position.start.column++;head.position.start.offset++;node2.position.start=Object.assign({},head.position.start)}}}}this.exit(token)}function listItemWithTaskListItem(node2,parent,state,info){const head=node2.children[0];const checkable=typeof node2.checked==="boolean"&&head&&head.type==="paragraph";const checkbox="["+(node2.checked?"x":" ")+"] ";const tracker=state.createTracker(info);if(checkable){tracker.move(checkbox)}let value2=handle.listItem(node2,parent,state,{...info,...tracker.current()});if(checkable){value2=value2.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,check)}return value2;function check($0){return $0+checkbox}}function gfmFromMarkdown(){return[gfmAutolinkLiteralFromMarkdown(),gfmFootnoteFromMarkdown(),gfmStrikethroughFromMarkdown(),gfmTableFromMarkdown(),gfmTaskListItemFromMarkdown()]}function gfmToMarkdown(options){return{extensions:[gfmAutolinkLiteralToMarkdown(),gfmFootnoteToMarkdown(options),gfmStrikethroughToMarkdown(),gfmTableToMarkdown(options),gfmTaskListItemToMarkdown()]}}function splice(list3,start,remove,items){const end=list3.length;let chunkStart=0;let parameters;if(start<0){start=-start>end?0:end+start}else{start=start>end?end:start}remove=remove>0?remove:0;if(items.length<1e4){parameters=Array.from(items);parameters.unshift(start,remove);list3.splice(...parameters)}else{if(remove)list3.splice(start,remove);while(chunkStart<items.length){parameters=items.slice(chunkStart,chunkStart+1e4);parameters.unshift(start,0);list3.splice(...parameters);chunkStart+=1e4;start+=1e4}}}function push(list3,items){if(list3.length>0){splice(list3,list3.length,0,items);return list3}return items}var hasOwnProperty={}.hasOwnProperty;function combineExtensions(extensions){const all2={};let index2=-1;while(++index2<extensions.length){syntaxExtension(all2,extensions[index2])}return all2}function syntaxExtension(all2,extension2){let hook;for(hook in extension2){const maybe=hasOwnProperty.call(all2,hook)?all2[hook]:void 0;const left=maybe||(all2[hook]={});const right=extension2[hook];let code3;if(right){for(code3 in right){if(!hasOwnProperty.call(left,code3))left[code3]=[];const value2=right[code3];constructs(left[code3],Array.isArray(value2)?value2:value2?[value2]:[])}}}}function constructs(existing,list3){let index2=-1;const before=[];while(++index2<list3.length){;(list3[index2].add==="after"?existing:before).push(list3[index2])}splice(existing,0,0,before)}var wwwPrefix={tokenize:tokenizeWwwPrefix,partial:true};var domain={tokenize:tokenizeDomain,partial:true};var path={tokenize:tokenizePath,partial:true};var trail={tokenize:tokenizeTrail,partial:true};var emailDomainDotTrail={tokenize:tokenizeEmailDomainDotTrail,partial:true};var wwwAutolink={name:"wwwAutolink",tokenize:tokenizeWwwAutolink,previous:previousWww};var protocolAutolink={name:"protocolAutolink",tokenize:tokenizeProtocolAutolink,previous:previousProtocol};var emailAutolink={name:"emailAutolink",tokenize:tokenizeEmailAutolink,previous:previousEmail};var text2={};function gfmAutolinkLiteral(){return{text:text2}}var code2=48;while(code2<123){text2[code2]=emailAutolink;code2++;if(code2===58)code2=65;else if(code2===91)code2=97}text2[43]=emailAutolink;text2[45]=emailAutolink;text2[46]=emailAutolink;text2[95]=emailAutolink;text2[72]=[emailAutolink,protocolAutolink];text2[104]=[emailAutolink,protocolAutolink];text2[87]=[emailAutolink,wwwAutolink];text2[119]=[emailAutolink,wwwAutolink];function tokenizeEmailAutolink(effects,ok3,nok){const self=this;let dot;let data;return start;function start(code3){if(!gfmAtext(code3)||!previousEmail.call(self,self.previous)||previousUnbalanced(self.events)){return nok(code3)}effects.enter("literalAutolink");effects.enter("literalAutolinkEmail");return atext(code3)}function atext(code3){if(gfmAtext(code3)){effects.consume(code3);return atext}if(code3===64){effects.consume(code3);return emailDomain}return nok(code3)}function emailDomain(code3){if(code3===46){return effects.check(emailDomainDotTrail,emailDomainAfter,emailDomainDot)(code3)}if(code3===45||code3===95||asciiAlphanumeric(code3)){data=true;effects.consume(code3);return emailDomain}return emailDomainAfter(code3)}function emailDomainDot(code3){effects.consume(code3);dot=true;return emailDomain}function emailDomainAfter(code3){if(data&&dot&&asciiAlpha(self.previous)){effects.exit("literalAutolinkEmail");effects.exit("literalAutolink");return ok3(code3)}return nok(code3)}}function tokenizeWwwAutolink(effects,ok3,nok){const self=this;return wwwStart;function wwwStart(code3){if(code3!==87&&code3!==119||!previousWww.call(self,self.previous)||previousUnbalanced(self.events)){return nok(code3)}effects.enter("literalAutolink");effects.enter("literalAutolinkWww");return effects.check(wwwPrefix,effects.attempt(domain,effects.attempt(path,wwwAfter),nok),nok)(code3)}function wwwAfter(code3){effects.exit("literalAutolinkWww");effects.exit("literalAutolink");return ok3(code3)}}function tokenizeProtocolAutolink(effects,ok3,nok){const self=this;let buffer="";let seen=false;return protocolStart;function protocolStart(code3){if((code3===72||code3===104)&&previousProtocol.call(self,self.previous)&&!previousUnbalanced(self.events)){effects.enter("literalAutolink");effects.enter("literalAutolinkHttp");buffer+=String.fromCodePoint(code3);effects.consume(code3);return protocolPrefixInside}return nok(code3)}function protocolPrefixInside(code3){if(asciiAlpha(code3)&&buffer.length<5){buffer+=String.fromCodePoint(code3);effects.consume(code3);return protocolPrefixInside}if(code3===58){const protocol=buffer.toLowerCase();if(protocol==="http"||protocol==="https"){effects.consume(code3);return protocolSlashesInside}}return nok(code3)}function protocolSlashesInside(code3){if(code3===47){effects.consume(code3);if(seen){return afterProtocol}seen=true;return protocolSlashesInside}return nok(code3)}function afterProtocol(code3){return code3===null||asciiControl(code3)||markdownLineEndingOrSpace(code3)||unicodeWhitespace(code3)||unicodePunctuation(code3)?nok(code3):effects.attempt(domain,effects.attempt(path,protocolAfter),nok)(code3)}function protocolAfter(code3){effects.exit("literalAutolinkHttp");effects.exit("literalAutolink");return ok3(code3)}}function tokenizeWwwPrefix(effects,ok3,nok){let size=0;return wwwPrefixInside;function wwwPrefixInside(code3){if((code3===87||code3===119)&&size<3){size++;effects.consume(code3);return wwwPrefixInside}if(code3===46&&size===3){effects.consume(code3);return wwwPrefixAfter}return nok(code3)}function wwwPrefixAfter(code3){return code3===null?nok(code3):ok3(code3)}}function tokenizeDomain(effects,ok3,nok){let underscoreInLastSegment;let underscoreInLastLastSegment;let seen;return domainInside;function domainInside(code3){if(code3===46||code3===95){return effects.check(trail,domainAfter,domainAtPunctuation)(code3)}if(code3===null||markdownLineEndingOrSpace(code3)||unicodeWhitespace(code3)||code3!==45&&unicodePunctuation(code3)){return domainAfter(code3)}seen=true;effects.consume(code3);return domainInside}function domainAtPunctuation(code3){if(code3===95){underscoreInLastSegment=true}else{underscoreInLastLastSegment=underscoreInLastSegment;underscoreInLastSegment=void 0}effects.consume(code3);return domainInside}function domainAfter(code3){if(underscoreInLastLastSegment||underscoreInLastSegment||!seen){return nok(code3)}return ok3(code3)}}function tokenizePath(effects,ok3){let sizeOpen=0;let sizeClose=0;return pathInside;function pathInside(code3){if(code3===40){sizeOpen++;effects.consume(code3);return pathInside}if(code3===41&&sizeClose<sizeOpen){return pathAtPunctuation(code3)}if(code3===33||code3===34||code3===38||code3===39||code3===41||code3===42||code3===44||code3===46||code3===58||code3===59||code3===60||code3===63||code3===93||code3===95||code3===126){return effects.check(trail,ok3,pathAtPunctuation)(code3)}if(code3===null||markdownLineEndingOrSpace(code3)||unicodeWhitespace(code3)){return ok3(code3)}effects.consume(code3);return pathInside}function pathAtPunctuation(code3){if(code3===41){sizeClose++}effects.consume(code3);return pathInside}}function tokenizeTrail(effects,ok3,nok){return trail2;function trail2(code3){if(code3===33||code3===34||code3===39||code3===41||code3===42||code3===44||code3===46||code3===58||code3===59||code3===63||code3===95||code3===126){effects.consume(code3);return trail2}if(code3===38){effects.consume(code3);return trailCharacterReferenceStart}if(code3===93){effects.consume(code3);return trailBracketAfter}if(code3===60||code3===null||markdownLineEndingOrSpace(code3)||unicodeWhitespace(code3)){return ok3(code3)}return nok(code3)}function trailBracketAfter(code3){if(code3===null||code3===40||code3===91||markdownLineEndingOrSpace(code3)||unicodeWhitespace(code3)){return ok3(code3)}return trail2(code3)}function trailCharacterReferenceStart(code3){return asciiAlpha(code3)?trailCharacterReferenceInside(code3):nok(code3)}function trailCharacterReferenceInside(code3){if(code3===59){effects.consume(code3);return trail2}if(asciiAlpha(code3)){effects.consume(code3);return trailCharacterReferenceInside}return nok(code3)}}function tokenizeEmailDomainDotTrail(effects,ok3,nok){return start;function start(code3){effects.consume(code3);return after}function after(code3){return asciiAlphanumeric(code3)?nok(code3):ok3(code3)}}function previousWww(code3){return code3===null||code3===40||code3===42||code3===95||code3===91||code3===93||code3===126||markdownLineEndingOrSpace(code3)}function previousProtocol(code3){return!asciiAlpha(code3)}function previousEmail(code3){return!(code3===47||gfmAtext(code3))}function gfmAtext(code3){return code3===43||code3===45||code3===46||code3===95||asciiAlphanumeric(code3)}function previousUnbalanced(events){let index2=events.length;let result=false;while(index2--){const token=events[index2][1];if((token.type==="labelLink"||token.type==="labelImage")&&!token._balanced){result=true;break}if(token._gfmAutolinkLiteralWalkedInto){result=false;break}}if(events.length>0&&!result){events[events.length-1][1]._gfmAutolinkLiteralWalkedInto=true}return result}function resolveAll(constructs2,events,context){const called=[];let index2=-1;while(++index2<constructs2.length){const resolve=constructs2[index2].resolveAll;if(resolve&&!called.includes(resolve)){events=resolve(events,context);called.push(resolve)}}return events}var attention={name:"attention",resolveAll:resolveAllAttention,tokenize:tokenizeAttention};function resolveAllAttention(events,context){let index2=-1;let open;let group;let text5;let openingSequence;let closingSequence;let use;let nextEvents;let offset;while(++index2<events.length){if(events[index2][0]==="enter"&&events[index2][1].type==="attentionSequence"&&events[index2][1]._close){open=index2;while(open--){if(events[open][0]==="exit"&&events[open][1].type==="attentionSequence"&&events[open][1]._open&&context.sliceSerialize(events[open][1]).charCodeAt(0)===context.sliceSerialize(events[index2][1]).charCodeAt(0)){if((events[open][1]._close||events[index2][1]._open)&&(events[index2][1].end.offset-events[index2][1].start.offset)%3&&!((events[open][1].end.offset-events[open][1].start.offset+events[index2][1].end.offset-events[index2][1].start.offset)%3)){continue}use=events[open][1].end.offset-events[open][1].start.offset>1&&events[index2][1].end.offset-events[index2][1].start.offset>1?2:1;const start={...events[open][1].end};const end={...events[index2][1].start};movePoint(start,-use);movePoint(end,use);openingSequence={type:use>1?"strongSequence":"emphasisSequence",start,end:{...events[open][1].end}};closingSequence={type:use>1?"strongSequence":"emphasisSequence",start:{...events[index2][1].start},end};text5={type:use>1?"strongText":"emphasisText",start:{...events[open][1].end},end:{...events[index2][1].start}};group={type:use>1?"strong":"emphasis",start:{...openingSequence.start},end:{...closingSequence.end}};events[open][1].end={...openingSequence.start};events[index2][1].start={...closingSequence.end};nextEvents=[];if(events[open][1].end.offset-events[open][1].start.offset){nextEvents=push(nextEvents,[["enter",events[open][1],context],["exit",events[open][1],context]])}nextEvents=push(nextEvents,[["enter",group,context],["enter",openingSequence,context],["exit",openingSequence,context],["enter",text5,context]]);nextEvents=push(nextEvents,resolveAll(context.parser.constructs.insideSpan.null,events.slice(open+1,index2),context));nextEvents=push(nextEvents,[["exit",text5,context],["enter",closingSequence,context],["exit",closingSequence,context],["exit",group,context]]);if(events[index2][1].end.offset-events[index2][1].start.offset){offset=2;nextEvents=push(nextEvents,[["enter",events[index2][1],context],["exit",events[index2][1],context]])}else{offset=0}splice(events,open-1,index2-open+3,nextEvents);index2=open+nextEvents.length-offset-2;break}}}}index2=-1;while(++index2<events.length){if(events[index2][1].type==="attentionSequence"){events[index2][1].type="data"}}return events}function tokenizeAttention(effects,ok3){const attentionMarkers2=this.parser.constructs.attentionMarkers.null;const previous3=this.previous;const before=classifyCharacter(previous3);let marker;return start;function start(code3){marker=code3;effects.enter("attentionSequence");return inside(code3)}function inside(code3){if(code3===marker){effects.consume(code3);return inside}const token=effects.exit("attentionSequence");const after=classifyCharacter(code3);const open=!after||after===2&&before||attentionMarkers2.includes(code3);const close2=!before||before===2&&after||attentionMarkers2.includes(previous3);token._open=Boolean(marker===42?open:open&&(before||!close2));token._close=Boolean(marker===42?close2:close2&&(after||!open));return ok3(code3)}}function movePoint(point3,offset){point3.column+=offset;point3.offset+=offset;point3._bufferIndex+=offset}var autolink={name:"autolink",tokenize:tokenizeAutolink};function tokenizeAutolink(effects,ok3,nok){let size=0;return start;function start(code3){effects.enter("autolink");effects.enter("autolinkMarker");effects.consume(code3);effects.exit("autolinkMarker");effects.enter("autolinkProtocol");return open}function open(code3){if(asciiAlpha(code3)){effects.consume(code3);return schemeOrEmailAtext}if(code3===64){return nok(code3)}return emailAtext(code3)}function schemeOrEmailAtext(code3){if(code3===43||code3===45||code3===46||asciiAlphanumeric(code3)){size=1;return schemeInsideOrEmailAtext(code3)}return emailAtext(code3)}function schemeInsideOrEmailAtext(code3){if(code3===58){effects.consume(code3);size=0;return urlInside}if((code3===43||code3===45||code3===46||asciiAlphanumeric(code3))&&size++<32){effects.consume(code3);return schemeInsideOrEmailAtext}size=0;return emailAtext(code3)}function urlInside(code3){if(code3===62){effects.exit("autolinkProtocol");effects.enter("autolinkMarker");effects.consume(code3);effects.exit("autolinkMarker");effects.exit("autolink");return ok3}if(code3===null||code3===32||code3===60||asciiControl(code3)){return nok(code3)}effects.consume(code3);return urlInside}function emailAtext(code3){if(code3===64){effects.consume(code3);return emailAtSignOrDot}if(asciiAtext(code3)){effects.consume(code3);return emailAtext}return nok(code3)}function emailAtSignOrDot(code3){return asciiAlphanumeric(code3)?emailLabel(code3):nok(code3)}function emailLabel(code3){if(code3===46){effects.consume(code3);size=0;return emailAtSignOrDot}if(code3===62){effects.exit("autolinkProtocol").type="autolinkEmail";effects.enter("autolinkMarker");effects.consume(code3);effects.exit("autolinkMarker");effects.exit("autolink");return ok3}return emailValue(code3)}function emailValue(code3){if((code3===45||asciiAlphanumeric(code3))&&size++<63){const next=code3===45?emailValue:emailLabel;effects.consume(code3);return next}return nok(code3)}}function factorySpace(effects,ok3,type,max){const limit=max?max-1:Number.POSITIVE_INFINITY;let size=0;return start;function start(code3){if(markdownSpace(code3)){effects.enter(type);return prefix(code3)}return ok3(code3)}function prefix(code3){if(markdownSpace(code3)&&size++<limit){effects.consume(code3);return prefix}effects.exit(type);return ok3(code3)}}var blankLine={partial:true,tokenize:tokenizeBlankLine};function tokenizeBlankLine(effects,ok3,nok){return start;function start(code3){return markdownSpace(code3)?factorySpace(effects,after,"linePrefix")(code3):after(code3)}function after(code3){return code3===null||markdownLineEnding(code3)?ok3(code3):nok(code3)}}var blockQuote={continuation:{tokenize:tokenizeBlockQuoteContinuation},exit:exit2,name:"blockQuote",tokenize:tokenizeBlockQuoteStart};function tokenizeBlockQuoteStart(effects,ok3,nok){const self=this;return start;function start(code3){if(code3===62){const state=self.containerState;if(!state.open){effects.enter("blockQuote",{_container:true});state.open=true}effects.enter("blockQuotePrefix");effects.enter("blockQuoteMarker");effects.consume(code3);effects.exit("blockQuoteMarker");return after}return nok(code3)}function after(code3){if(markdownSpace(code3)){effects.enter("blockQuotePrefixWhitespace");effects.consume(code3);effects.exit("blockQuotePrefixWhitespace");effects.exit("blockQuotePrefix");return ok3}effects.exit("blockQuotePrefix");return ok3(code3)}}function tokenizeBlockQuoteContinuation(effects,ok3,nok){const self=this;return contStart;function contStart(code3){if(markdownSpace(code3)){return factorySpace(effects,contBefore,"linePrefix",self.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(code3)}return contBefore(code3)}function contBefore(code3){return effects.attempt(blockQuote,ok3,nok)(code3)}}function exit2(effects){effects.exit("blockQuote")}var characterEscape={name:"characterEscape",tokenize:tokenizeCharacterEscape};function tokenizeCharacterEscape(effects,ok3,nok){return start;function start(code3){effects.enter("characterEscape");effects.enter("escapeMarker");effects.consume(code3);effects.exit("escapeMarker");return inside}function inside(code3){if(asciiPunctuation(code3)){effects.enter("characterEscapeValue");effects.consume(code3);effects.exit("characterEscapeValue");effects.exit("characterEscape");return ok3}return nok(code3)}}var characterReference={name:"characterReference",tokenize:tokenizeCharacterReference};function tokenizeCharacterReference(effects,ok3,nok){const self=this;let size=0;let max;let test;return start;function start(code3){effects.enter("characterReference");effects.enter("characterReferenceMarker");effects.consume(code3);effects.exit("characterReferenceMarker");return open}function open(code3){if(code3===35){effects.enter("characterReferenceMarkerNumeric");effects.consume(code3);effects.exit("characterReferenceMarkerNumeric");return numeric}effects.enter("characterReferenceValue");max=31;test=asciiAlphanumeric;return value2(code3)}function numeric(code3){if(code3===88||code3===120){effects.enter("characterReferenceMarkerHexadecimal");effects.consume(code3);effects.exit("characterReferenceMarkerHexadecimal");effects.enter("characterReferenceValue");max=6;test=asciiHexDigit;return value2}effects.enter("characterReferenceValue");max=7;test=asciiDigit;return value2(code3)}function value2(code3){if(code3===59&&size){const token=effects.exit("characterReferenceValue");if(test===asciiAlphanumeric&&!decodeNamedCharacterReference(self.sliceSerialize(token))){return nok(code3)}effects.enter("characterReferenceMarker");effects.consume(code3);effects.exit("characterReferenceMarker");effects.exit("characterReference");return ok3}if(test(code3)&&size++<max){effects.consume(code3);return value2}return nok(code3)}}var nonLazyContinuation={partial:true,tokenize:tokenizeNonLazyContinuation};var codeFenced={concrete:true,name:"codeFenced",tokenize:tokenizeCodeFenced};function tokenizeCodeFenced(effects,ok3,nok){const self=this;const closeStart={partial:true,tokenize:tokenizeCloseStart};let initialPrefix=0;let sizeOpen=0;let marker;return start;function start(code3){return beforeSequenceOpen(code3)}function beforeSequenceOpen(code3){const tail=self.events[self.events.length-1];initialPrefix=tail&&tail[1].type==="linePrefix"?tail[2].sliceSerialize(tail[1],true).length:0;marker=code3;effects.enter("codeFenced");effects.enter("codeFencedFence");effects.enter("codeFencedFenceSequence");return sequenceOpen(code3)}function sequenceOpen(code3){if(code3===marker){sizeOpen++;effects.consume(code3);return sequenceOpen}if(sizeOpen<3){return nok(code3)}effects.exit("codeFencedFenceSequence");return markdownSpace(code3)?factorySpace(effects,infoBefore,"whitespace")(code3):infoBefore(code3)}function infoBefore(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("codeFencedFence");return self.interrupt?ok3(code3):effects.check(nonLazyContinuation,atNonLazyBreak,after)(code3)}effects.enter("codeFencedFenceInfo");effects.enter("chunkString",{contentType:"string"});return info(code3)}function info(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("chunkString");effects.exit("codeFencedFenceInfo");return infoBefore(code3)}if(markdownSpace(code3)){effects.exit("chunkString");effects.exit("codeFencedFenceInfo");return factorySpace(effects,metaBefore,"whitespace")(code3)}if(code3===96&&code3===marker){return nok(code3)}effects.consume(code3);return info}function metaBefore(code3){if(code3===null||markdownLineEnding(code3)){return infoBefore(code3)}effects.enter("codeFencedFenceMeta");effects.enter("chunkString",{contentType:"string"});return meta(code3)}function meta(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("chunkString");effects.exit("codeFencedFenceMeta");return infoBefore(code3)}if(code3===96&&code3===marker){return nok(code3)}effects.consume(code3);return meta}function atNonLazyBreak(code3){return effects.attempt(closeStart,after,contentBefore)(code3)}function contentBefore(code3){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return contentStart}function contentStart(code3){return initialPrefix>0&&markdownSpace(code3)?factorySpace(effects,beforeContentChunk,"linePrefix",initialPrefix+1)(code3):beforeContentChunk(code3)}function beforeContentChunk(code3){if(code3===null||markdownLineEnding(code3)){return effects.check(nonLazyContinuation,atNonLazyBreak,after)(code3)}effects.enter("codeFlowValue");return contentChunk(code3)}function contentChunk(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("codeFlowValue");return beforeContentChunk(code3)}effects.consume(code3);return contentChunk}function after(code3){effects.exit("codeFenced");return ok3(code3)}function tokenizeCloseStart(effects2,ok4,nok2){let size=0;return startBefore;function startBefore(code3){effects2.enter("lineEnding");effects2.consume(code3);effects2.exit("lineEnding");return start2}function start2(code3){effects2.enter("codeFencedFence");return markdownSpace(code3)?factorySpace(effects2,beforeSequenceClose,"linePrefix",self.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(code3):beforeSequenceClose(code3)}function beforeSequenceClose(code3){if(code3===marker){effects2.enter("codeFencedFenceSequence");return sequenceClose(code3)}return nok2(code3)}function sequenceClose(code3){if(code3===marker){size++;effects2.consume(code3);return sequenceClose}if(size>=sizeOpen){effects2.exit("codeFencedFenceSequence");return markdownSpace(code3)?factorySpace(effects2,sequenceCloseAfter,"whitespace")(code3):sequenceCloseAfter(code3)}return nok2(code3)}function sequenceCloseAfter(code3){if(code3===null||markdownLineEnding(code3)){effects2.exit("codeFencedFence");return ok4(code3)}return nok2(code3)}}}function tokenizeNonLazyContinuation(effects,ok3,nok){const self=this;return start;function start(code3){if(code3===null){return nok(code3)}effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return lineStart}function lineStart(code3){return self.parser.lazy[self.now().line]?nok(code3):ok3(code3)}}var codeIndented={name:"codeIndented",tokenize:tokenizeCodeIndented};var furtherStart={partial:true,tokenize:tokenizeFurtherStart};function tokenizeCodeIndented(effects,ok3,nok){const self=this;return start;function start(code3){effects.enter("codeIndented");return factorySpace(effects,afterPrefix,"linePrefix",4+1)(code3)}function afterPrefix(code3){const tail=self.events[self.events.length-1];return tail&&tail[1].type==="linePrefix"&&tail[2].sliceSerialize(tail[1],true).length>=4?atBreak(code3):nok(code3)}function atBreak(code3){if(code3===null){return after(code3)}if(markdownLineEnding(code3)){return effects.attempt(furtherStart,atBreak,after)(code3)}effects.enter("codeFlowValue");return inside(code3)}function inside(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("codeFlowValue");return atBreak(code3)}effects.consume(code3);return inside}function after(code3){effects.exit("codeIndented");return ok3(code3)}}function tokenizeFurtherStart(effects,ok3,nok){const self=this;return furtherStart2;function furtherStart2(code3){if(self.parser.lazy[self.now().line]){return nok(code3)}if(markdownLineEnding(code3)){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return furtherStart2}return factorySpace(effects,afterPrefix,"linePrefix",4+1)(code3)}function afterPrefix(code3){const tail=self.events[self.events.length-1];return tail&&tail[1].type==="linePrefix"&&tail[2].sliceSerialize(tail[1],true).length>=4?ok3(code3):markdownLineEnding(code3)?furtherStart2(code3):nok(code3)}}var codeText={name:"codeText",previous:previous2,resolve:resolveCodeText,tokenize:tokenizeCodeText};function resolveCodeText(events){let tailExitIndex=events.length-4;let headEnterIndex=3;let index2;let enter;if((events[headEnterIndex][1].type==="lineEnding"||events[headEnterIndex][1].type==="space")&&(events[tailExitIndex][1].type==="lineEnding"||events[tailExitIndex][1].type==="space")){index2=headEnterIndex;while(++index2<tailExitIndex){if(events[index2][1].type==="codeTextData"){events[headEnterIndex][1].type="codeTextPadding";events[tailExitIndex][1].type="codeTextPadding";headEnterIndex+=2;tailExitIndex-=2;break}}}index2=headEnterIndex-1;tailExitIndex++;while(++index2<=tailExitIndex){if(enter===void 0){if(index2!==tailExitIndex&&events[index2][1].type!=="lineEnding"){enter=index2}}else if(index2===tailExitIndex||events[index2][1].type==="lineEnding"){events[enter][1].type="codeTextData";if(index2!==enter+2){events[enter][1].end=events[index2-1][1].end;events.splice(enter+2,index2-enter-2);tailExitIndex-=index2-enter-2;index2=enter+2}enter=void 0}}return events}function previous2(code3){return code3!==96||this.events[this.events.length-1][1].type==="characterEscape"}function tokenizeCodeText(effects,ok3,nok){const self=this;let sizeOpen=0;let size;let token;return start;function start(code3){effects.enter("codeText");effects.enter("codeTextSequence");return sequenceOpen(code3)}function sequenceOpen(code3){if(code3===96){effects.consume(code3);sizeOpen++;return sequenceOpen}effects.exit("codeTextSequence");return between(code3)}function between(code3){if(code3===null){return nok(code3)}if(code3===32){effects.enter("space");effects.consume(code3);effects.exit("space");return between}if(code3===96){token=effects.enter("codeTextSequence");size=0;return sequenceClose(code3)}if(markdownLineEnding(code3)){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return between}effects.enter("codeTextData");return data(code3)}function data(code3){if(code3===null||code3===32||code3===96||markdownLineEnding(code3)){effects.exit("codeTextData");return between(code3)}effects.consume(code3);return data}function sequenceClose(code3){if(code3===96){effects.consume(code3);size++;return sequenceClose}if(size===sizeOpen){effects.exit("codeTextSequence");effects.exit("codeText");return ok3(code3)}token.type="codeTextData";return data(code3)}}var SpliceBuffer=class{constructor(initial){this.left=initial?[...initial]:[];this.right=[]}get(index2){if(index2<0||index2>=this.left.length+this.right.length){throw new RangeError("Cannot access index `"+index2+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`")}if(index2<this.left.length)return this.left[index2];return this.right[this.right.length-index2+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){this.setCursor(0);return this.right.pop()}slice(start,end){const stop=end===null||end===void 0?Number.POSITIVE_INFINITY:end;if(stop<this.left.length){return this.left.slice(start,stop)}if(start>this.left.length){return this.right.slice(this.right.length-stop+this.left.length,this.right.length-start+this.left.length).reverse()}return this.left.slice(start).concat(this.right.slice(this.right.length-stop+this.left.length).reverse())}splice(start,deleteCount,items){const count=deleteCount||0;this.setCursor(Math.trunc(start));const removed=this.right.splice(this.right.length-count,Number.POSITIVE_INFINITY);if(items)chunkedPush(this.left,items);return removed.reverse()}pop(){this.setCursor(Number.POSITIVE_INFINITY);return this.left.pop()}push(item){this.setCursor(Number.POSITIVE_INFINITY);this.left.push(item)}pushMany(items){this.setCursor(Number.POSITIVE_INFINITY);chunkedPush(this.left,items)}unshift(item){this.setCursor(0);this.right.push(item)}unshiftMany(items){this.setCursor(0);chunkedPush(this.right,items.reverse())}setCursor(n){if(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0)return;if(n<this.left.length){const removed=this.left.splice(n,Number.POSITIVE_INFINITY);chunkedPush(this.right,removed.reverse())}else{const removed=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);chunkedPush(this.left,removed.reverse())}}};function chunkedPush(list3,right){let chunkStart=0;if(right.length<1e4){list3.push(...right)}else{while(chunkStart<right.length){list3.push(...right.slice(chunkStart,chunkStart+1e4));chunkStart+=1e4}}}function subtokenize(eventsArray){const jumps={};let index2=-1;let event;let lineIndex;let otherIndex;let otherEvent;let parameters;let subevents;let more;const events=new SpliceBuffer(eventsArray);while(++index2<events.length){while(index2 in jumps){index2=jumps[index2]}event=events.get(index2);if(index2&&event[1].type==="chunkFlow"&&events.get(index2-1)[1].type==="listItemPrefix"){subevents=event[1]._tokenizer.events;otherIndex=0;if(otherIndex<subevents.length&&subevents[otherIndex][1].type==="lineEndingBlank"){otherIndex+=2}if(otherIndex<subevents.length&&subevents[otherIndex][1].type==="content"){while(++otherIndex<subevents.length){if(subevents[otherIndex][1].type==="content"){break}if(subevents[otherIndex][1].type==="chunkText"){subevents[otherIndex][1]._isInFirstContentOfListItem=true;otherIndex++}}}}if(event[0]==="enter"){if(event[1].contentType){Object.assign(jumps,subcontent(events,index2));index2=jumps[index2];more=true}}else if(event[1]._container){otherIndex=index2;lineIndex=void 0;while(otherIndex--){otherEvent=events.get(otherIndex);if(otherEvent[1].type==="lineEnding"||otherEvent[1].type==="lineEndingBlank"){if(otherEvent[0]==="enter"){if(lineIndex){events.get(lineIndex)[1].type="lineEndingBlank"}otherEvent[1].type="lineEnding";lineIndex=otherIndex}}else if(otherEvent[1].type==="linePrefix"||otherEvent[1].type==="listItemIndent"){}else{break}}if(lineIndex){event[1].end={...events.get(lineIndex)[1].start};parameters=events.slice(lineIndex,index2);parameters.unshift(event);events.splice(lineIndex,index2-lineIndex+1,parameters)}}}splice(eventsArray,0,Number.POSITIVE_INFINITY,events.slice(0));return!more}function subcontent(events,eventIndex){const token=events.get(eventIndex)[1];const context=events.get(eventIndex)[2];let startPosition=eventIndex-1;const startPositions=[];let tokenizer=token._tokenizer;if(!tokenizer){tokenizer=context.parser[token.contentType](token.start);if(token._contentTypeTextTrailing){tokenizer._contentTypeTextTrailing=true}}const childEvents=tokenizer.events;const jumps=[];const gaps={};let stream;let previous3;let index2=-1;let current=token;let adjust=0;let start=0;const breaks=[start];while(current){while(events.get(++startPosition)[1]!==current){}startPositions.push(startPosition);if(!current._tokenizer){stream=context.sliceStream(current);if(!current.next){stream.push(null)}if(previous3){tokenizer.defineSkip(current.start)}if(current._isInFirstContentOfListItem){tokenizer._gfmTasklistFirstContentOfListItem=true}tokenizer.write(stream);if(current._isInFirstContentOfListItem){tokenizer._gfmTasklistFirstContentOfListItem=void 0}}previous3=current;current=current.next}current=token;while(++index2<childEvents.length){if(childEvents[index2][0]==="exit"&&childEvents[index2-1][0]==="enter"&&childEvents[index2][1].type===childEvents[index2-1][1].type&&childEvents[index2][1].start.line!==childEvents[index2][1].end.line){start=index2+1;breaks.push(start);current._tokenizer=void 0;current.previous=void 0;current=current.next}}tokenizer.events=[];if(current){current._tokenizer=void 0;current.previous=void 0}else{breaks.pop()}index2=breaks.length;while(index2--){const slice=childEvents.slice(breaks[index2],breaks[index2+1]);const start2=startPositions.pop();jumps.push([start2,start2+slice.length-1]);events.splice(start2,2,slice)}jumps.reverse();index2=-1;while(++index2<jumps.length){gaps[adjust+jumps[index2][0]]=adjust+jumps[index2][1];adjust+=jumps[index2][1]-jumps[index2][0]-1}return gaps}var content={resolve:resolveContent,tokenize:tokenizeContent};var continuationConstruct={partial:true,tokenize:tokenizeContinuation};function resolveContent(events){subtokenize(events);return events}function tokenizeContent(effects,ok3){let previous3;return chunkStart;function chunkStart(code3){effects.enter("content");previous3=effects.enter("chunkContent",{contentType:"content"});return chunkInside(code3)}function chunkInside(code3){if(code3===null){return contentEnd(code3)}if(markdownLineEnding(code3)){return effects.check(continuationConstruct,contentContinue,contentEnd)(code3)}effects.consume(code3);return chunkInside}function contentEnd(code3){effects.exit("chunkContent");effects.exit("content");return ok3(code3)}function contentContinue(code3){effects.consume(code3);effects.exit("chunkContent");previous3.next=effects.enter("chunkContent",{contentType:"content",previous:previous3});previous3=previous3.next;return chunkInside}}function tokenizeContinuation(effects,ok3,nok){const self=this;return startLookahead;function startLookahead(code3){effects.exit("chunkContent");effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return factorySpace(effects,prefixed,"linePrefix")}function prefixed(code3){if(code3===null||markdownLineEnding(code3)){return nok(code3)}const tail=self.events[self.events.length-1];if(!self.parser.constructs.disable.null.includes("codeIndented")&&tail&&tail[1].type==="linePrefix"&&tail[2].sliceSerialize(tail[1],true).length>=4){return ok3(code3)}return effects.interrupt(self.parser.constructs.flow,nok,ok3)(code3)}}function factoryDestination(effects,ok3,nok,type,literalType,literalMarkerType,rawType,stringType,max){const limit=max||Number.POSITIVE_INFINITY;let balance=0;return start;function start(code3){if(code3===60){effects.enter(type);effects.enter(literalType);effects.enter(literalMarkerType);effects.consume(code3);effects.exit(literalMarkerType);return enclosedBefore}if(code3===null||code3===32||code3===41||asciiControl(code3)){return nok(code3)}effects.enter(type);effects.enter(rawType);effects.enter(stringType);effects.enter("chunkString",{contentType:"string"});return raw(code3)}function enclosedBefore(code3){if(code3===62){effects.enter(literalMarkerType);effects.consume(code3);effects.exit(literalMarkerType);effects.exit(literalType);effects.exit(type);return ok3}effects.enter(stringType);effects.enter("chunkString",{contentType:"string"});return enclosed(code3)}function enclosed(code3){if(code3===62){effects.exit("chunkString");effects.exit(stringType);return enclosedBefore(code3)}if(code3===null||code3===60||markdownLineEnding(code3)){return nok(code3)}effects.consume(code3);return code3===92?enclosedEscape:enclosed}function enclosedEscape(code3){if(code3===60||code3===62||code3===92){effects.consume(code3);return enclosed}return enclosed(code3)}function raw(code3){if(!balance&&(code3===null||code3===41||markdownLineEndingOrSpace(code3))){effects.exit("chunkString");effects.exit(stringType);effects.exit(rawType);effects.exit(type);return ok3(code3)}if(balance<limit&&code3===40){effects.consume(code3);balance++;return raw}if(code3===41){effects.consume(code3);balance--;return raw}if(code3===null||code3===32||code3===40||asciiControl(code3)){return nok(code3)}effects.consume(code3);return code3===92?rawEscape:raw}function rawEscape(code3){if(code3===40||code3===41||code3===92){effects.consume(code3);return raw}return raw(code3)}}function factoryLabel(effects,ok3,nok,type,markerType,stringType){const self=this;let size=0;let seen;return start;function start(code3){effects.enter(type);effects.enter(markerType);effects.consume(code3);effects.exit(markerType);effects.enter(stringType);return atBreak}function atBreak(code3){if(size>999||code3===null||code3===91||code3===93&&!seen||code3===94&&!size&&"_hiddenFootnoteSupport"in self.parser.constructs){return nok(code3)}if(code3===93){effects.exit(stringType);effects.enter(markerType);effects.consume(code3);effects.exit(markerType);effects.exit(type);return ok3}if(markdownLineEnding(code3)){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return atBreak}effects.enter("chunkString",{contentType:"string"});return labelInside(code3)}function labelInside(code3){if(code3===null||code3===91||code3===93||markdownLineEnding(code3)||size++>999){effects.exit("chunkString");return atBreak(code3)}effects.consume(code3);if(!seen)seen=!markdownSpace(code3);return code3===92?labelEscape:labelInside}function labelEscape(code3){if(code3===91||code3===92||code3===93){effects.consume(code3);size++;return labelInside}return labelInside(code3)}}function factoryTitle(effects,ok3,nok,type,markerType,stringType){let marker;return start;function start(code3){if(code3===34||code3===39||code3===40){effects.enter(type);effects.enter(markerType);effects.consume(code3);effects.exit(markerType);marker=code3===40?41:code3;return begin}return nok(code3)}function begin(code3){if(code3===marker){effects.enter(markerType);effects.consume(code3);effects.exit(markerType);effects.exit(type);return ok3}effects.enter(stringType);return atBreak(code3)}function atBreak(code3){if(code3===marker){effects.exit(stringType);return begin(marker)}if(code3===null){return nok(code3)}if(markdownLineEnding(code3)){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return factorySpace(effects,atBreak,"linePrefix")}effects.enter("chunkString",{contentType:"string"});return inside(code3)}function inside(code3){if(code3===marker||code3===null||markdownLineEnding(code3)){effects.exit("chunkString");return atBreak(code3)}effects.consume(code3);return code3===92?escape:inside}function escape(code3){if(code3===marker||code3===92){effects.consume(code3);return inside}return inside(code3)}}function factoryWhitespace(effects,ok3){let seen;return start;function start(code3){if(markdownLineEnding(code3)){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");seen=true;return start}if(markdownSpace(code3)){return factorySpace(effects,start,seen?"linePrefix":"lineSuffix")(code3)}return ok3(code3)}}var definition2={name:"definition",tokenize:tokenizeDefinition};var titleBefore={partial:true,tokenize:tokenizeTitleBefore};function tokenizeDefinition(effects,ok3,nok){const self=this;let identifier;return start;function start(code3){effects.enter("definition");return before(code3)}function before(code3){return factoryLabel.call(self,effects,labelAfter,nok,"definitionLabel","definitionLabelMarker","definitionLabelString")(code3)}function labelAfter(code3){identifier=normalizeIdentifier(self.sliceSerialize(self.events[self.events.length-1][1]).slice(1,-1));if(code3===58){effects.enter("definitionMarker");effects.consume(code3);effects.exit("definitionMarker");return markerAfter}return nok(code3)}function markerAfter(code3){return markdownLineEndingOrSpace(code3)?factoryWhitespace(effects,destinationBefore)(code3):destinationBefore(code3)}function destinationBefore(code3){return factoryDestination(effects,destinationAfter,nok,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(code3)}function destinationAfter(code3){return effects.attempt(titleBefore,after,after)(code3)}function after(code3){return markdownSpace(code3)?factorySpace(effects,afterWhitespace,"whitespace")(code3):afterWhitespace(code3)}function afterWhitespace(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("definition");self.parser.defined.push(identifier);return ok3(code3)}return nok(code3)}}function tokenizeTitleBefore(effects,ok3,nok){return titleBefore2;function titleBefore2(code3){return markdownLineEndingOrSpace(code3)?factoryWhitespace(effects,beforeMarker)(code3):nok(code3)}function beforeMarker(code3){return factoryTitle(effects,titleAfter,nok,"definitionTitle","definitionTitleMarker","definitionTitleString")(code3)}function titleAfter(code3){return markdownSpace(code3)?factorySpace(effects,titleAfterOptionalWhitespace,"whitespace")(code3):titleAfterOptionalWhitespace(code3)}function titleAfterOptionalWhitespace(code3){return code3===null||markdownLineEnding(code3)?ok3(code3):nok(code3)}}var hardBreakEscape={name:"hardBreakEscape",tokenize:tokenizeHardBreakEscape};function tokenizeHardBreakEscape(effects,ok3,nok){return start;function start(code3){effects.enter("hardBreakEscape");effects.consume(code3);return after}function after(code3){if(markdownLineEnding(code3)){effects.exit("hardBreakEscape");return ok3(code3)}return nok(code3)}}var headingAtx={name:"headingAtx",resolve:resolveHeadingAtx,tokenize:tokenizeHeadingAtx};function resolveHeadingAtx(events,context){let contentEnd=events.length-2;let contentStart=3;let content3;let text5;if(events[contentStart][1].type==="whitespace"){contentStart+=2}if(contentEnd-2>contentStart&&events[contentEnd][1].type==="whitespace"){contentEnd-=2}if(events[contentEnd][1].type==="atxHeadingSequence"&&(contentStart===contentEnd-1||contentEnd-4>contentStart&&events[contentEnd-2][1].type==="whitespace")){contentEnd-=contentStart+1===contentEnd?2:4}if(contentEnd>contentStart){content3={type:"atxHeadingText",start:events[contentStart][1].start,end:events[contentEnd][1].end};text5={type:"chunkText",start:events[contentStart][1].start,end:events[contentEnd][1].end,contentType:"text"};splice(events,contentStart,contentEnd-contentStart+1,[["enter",content3,context],["enter",text5,context],["exit",text5,context],["exit",content3,context]])}return events}function tokenizeHeadingAtx(effects,ok3,nok){let size=0;return start;function start(code3){effects.enter("atxHeading");return before(code3)}function before(code3){effects.enter("atxHeadingSequence");return sequenceOpen(code3)}function sequenceOpen(code3){if(code3===35&&size++<6){effects.consume(code3);return sequenceOpen}if(code3===null||markdownLineEndingOrSpace(code3)){effects.exit("atxHeadingSequence");return atBreak(code3)}return nok(code3)}function atBreak(code3){if(code3===35){effects.enter("atxHeadingSequence");return sequenceFurther(code3)}if(code3===null||markdownLineEnding(code3)){effects.exit("atxHeading");return ok3(code3)}if(markdownSpace(code3)){return factorySpace(effects,atBreak,"whitespace")(code3)}effects.enter("atxHeadingText");return data(code3)}function sequenceFurther(code3){if(code3===35){effects.consume(code3);return sequenceFurther}effects.exit("atxHeadingSequence");return atBreak(code3)}function data(code3){if(code3===null||code3===35||markdownLineEndingOrSpace(code3)){effects.exit("atxHeadingText");return atBreak(code3)}effects.consume(code3);return data}}var htmlBlockNames=["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"];var htmlRawNames=["pre","script","style","textarea"];var htmlFlow={concrete:true,name:"htmlFlow",resolveTo:resolveToHtmlFlow,tokenize:tokenizeHtmlFlow};var blankLineBefore={partial:true,tokenize:tokenizeBlankLineBefore};var nonLazyContinuationStart={partial:true,tokenize:tokenizeNonLazyContinuationStart};function resolveToHtmlFlow(events){let index2=events.length;while(index2--){if(events[index2][0]==="enter"&&events[index2][1].type==="htmlFlow"){break}}if(index2>1&&events[index2-2][1].type==="linePrefix"){events[index2][1].start=events[index2-2][1].start;events[index2+1][1].start=events[index2-2][1].start;events.splice(index2-2,2)}return events}function tokenizeHtmlFlow(effects,ok3,nok){const self=this;let marker;let closingTag;let buffer;let index2;let markerB;return start;function start(code3){return before(code3)}function before(code3){effects.enter("htmlFlow");effects.enter("htmlFlowData");effects.consume(code3);return open}function open(code3){if(code3===33){effects.consume(code3);return declarationOpen}if(code3===47){effects.consume(code3);closingTag=true;return tagCloseStart}if(code3===63){effects.consume(code3);marker=3;return self.interrupt?ok3:continuationDeclarationInside}if(asciiAlpha(code3)){effects.consume(code3);buffer=String.fromCharCode(code3);return tagName}return nok(code3)}function declarationOpen(code3){if(code3===45){effects.consume(code3);marker=2;return commentOpenInside}if(code3===91){effects.consume(code3);marker=5;index2=0;return cdataOpenInside}if(asciiAlpha(code3)){effects.consume(code3);marker=4;return self.interrupt?ok3:continuationDeclarationInside}return nok(code3)}function commentOpenInside(code3){if(code3===45){effects.consume(code3);return self.interrupt?ok3:continuationDeclarationInside}return nok(code3)}function cdataOpenInside(code3){const value2="CDATA[";if(code3===value2.charCodeAt(index2++)){effects.consume(code3);if(index2===value2.length){return self.interrupt?ok3:continuation}return cdataOpenInside}return nok(code3)}function tagCloseStart(code3){if(asciiAlpha(code3)){effects.consume(code3);buffer=String.fromCharCode(code3);return tagName}return nok(code3)}function tagName(code3){if(code3===null||code3===47||code3===62||markdownLineEndingOrSpace(code3)){const slash=code3===47;const name=buffer.toLowerCase();if(!slash&&!closingTag&&htmlRawNames.includes(name)){marker=1;return self.interrupt?ok3(code3):continuation(code3)}if(htmlBlockNames.includes(buffer.toLowerCase())){marker=6;if(slash){effects.consume(code3);return basicSelfClosing}return self.interrupt?ok3(code3):continuation(code3)}marker=7;return self.interrupt&&!self.parser.lazy[self.now().line]?nok(code3):closingTag?completeClosingTagAfter(code3):completeAttributeNameBefore(code3)}if(code3===45||asciiAlphanumeric(code3)){effects.consume(code3);buffer+=String.fromCharCode(code3);return tagName}return nok(code3)}function basicSelfClosing(code3){if(code3===62){effects.consume(code3);return self.interrupt?ok3:continuation}return nok(code3)}function completeClosingTagAfter(code3){if(markdownSpace(code3)){effects.consume(code3);return completeClosingTagAfter}return completeEnd(code3)}function completeAttributeNameBefore(code3){if(code3===47){effects.consume(code3);return completeEnd}if(code3===58||code3===95||asciiAlpha(code3)){effects.consume(code3);return completeAttributeName}if(markdownSpace(code3)){effects.consume(code3);return completeAttributeNameBefore}return completeEnd(code3)}function completeAttributeName(code3){if(code3===45||code3===46||code3===58||code3===95||asciiAlphanumeric(code3)){effects.consume(code3);return completeAttributeName}return completeAttributeNameAfter(code3)}function completeAttributeNameAfter(code3){if(code3===61){effects.consume(code3);return completeAttributeValueBefore}if(markdownSpace(code3)){effects.consume(code3);return completeAttributeNameAfter}return completeAttributeNameBefore(code3)}function completeAttributeValueBefore(code3){if(code3===null||code3===60||code3===61||code3===62||code3===96){return nok(code3)}if(code3===34||code3===39){effects.consume(code3);markerB=code3;return completeAttributeValueQuoted}if(markdownSpace(code3)){effects.consume(code3);return completeAttributeValueBefore}return completeAttributeValueUnquoted(code3)}function completeAttributeValueQuoted(code3){if(code3===markerB){effects.consume(code3);markerB=null;return completeAttributeValueQuotedAfter}if(code3===null||markdownLineEnding(code3)){return nok(code3)}effects.consume(code3);return completeAttributeValueQuoted}function completeAttributeValueUnquoted(code3){if(code3===null||code3===34||code3===39||code3===47||code3===60||code3===61||code3===62||code3===96||markdownLineEndingOrSpace(code3)){return completeAttributeNameAfter(code3)}effects.consume(code3);return completeAttributeValueUnquoted}function completeAttributeValueQuotedAfter(code3){if(code3===47||code3===62||markdownSpace(code3)){return completeAttributeNameBefore(code3)}return nok(code3)}function completeEnd(code3){if(code3===62){effects.consume(code3);return completeAfter}return nok(code3)}function completeAfter(code3){if(code3===null||markdownLineEnding(code3)){return continuation(code3)}if(markdownSpace(code3)){effects.consume(code3);return completeAfter}return nok(code3)}function continuation(code3){if(code3===45&&marker===2){effects.consume(code3);return continuationCommentInside}if(code3===60&&marker===1){effects.consume(code3);return continuationRawTagOpen}if(code3===62&&marker===4){effects.consume(code3);return continuationClose}if(code3===63&&marker===3){effects.consume(code3);return continuationDeclarationInside}if(code3===93&&marker===5){effects.consume(code3);return continuationCdataInside}if(markdownLineEnding(code3)&&(marker===6||marker===7)){effects.exit("htmlFlowData");return effects.check(blankLineBefore,continuationAfter,continuationStart)(code3)}if(code3===null||markdownLineEnding(code3)){effects.exit("htmlFlowData");return continuationStart(code3)}effects.consume(code3);return continuation}function continuationStart(code3){return effects.check(nonLazyContinuationStart,continuationStartNonLazy,continuationAfter)(code3)}function continuationStartNonLazy(code3){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return continuationBefore}function continuationBefore(code3){if(code3===null||markdownLineEnding(code3)){return continuationStart(code3)}effects.enter("htmlFlowData");return continuation(code3)}function continuationCommentInside(code3){if(code3===45){effects.consume(code3);return continuationDeclarationInside}return continuation(code3)}function continuationRawTagOpen(code3){if(code3===47){effects.consume(code3);buffer="";return continuationRawEndTag}return continuation(code3)}function continuationRawEndTag(code3){if(code3===62){const name=buffer.toLowerCase();if(htmlRawNames.includes(name)){effects.consume(code3);return continuationClose}return continuation(code3)}if(asciiAlpha(code3)&&buffer.length<8){effects.consume(code3);buffer+=String.fromCharCode(code3);return continuationRawEndTag}return continuation(code3)}function continuationCdataInside(code3){if(code3===93){effects.consume(code3);return continuationDeclarationInside}return continuation(code3)}function continuationDeclarationInside(code3){if(code3===62){effects.consume(code3);return continuationClose}if(code3===45&&marker===2){effects.consume(code3);return continuationDeclarationInside}return continuation(code3)}function continuationClose(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("htmlFlowData");return continuationAfter(code3)}effects.consume(code3);return continuationClose}function continuationAfter(code3){effects.exit("htmlFlow");return ok3(code3)}}function tokenizeNonLazyContinuationStart(effects,ok3,nok){const self=this;return start;function start(code3){if(markdownLineEnding(code3)){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return after}return nok(code3)}function after(code3){return self.parser.lazy[self.now().line]?nok(code3):ok3(code3)}}function tokenizeBlankLineBefore(effects,ok3,nok){return start;function start(code3){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return effects.attempt(blankLine,ok3,nok)}}var htmlText={name:"htmlText",tokenize:tokenizeHtmlText};function tokenizeHtmlText(effects,ok3,nok){const self=this;let marker;let index2;let returnState;return start;function start(code3){effects.enter("htmlText");effects.enter("htmlTextData");effects.consume(code3);return open}function open(code3){if(code3===33){effects.consume(code3);return declarationOpen}if(code3===47){effects.consume(code3);return tagCloseStart}if(code3===63){effects.consume(code3);return instruction}if(asciiAlpha(code3)){effects.consume(code3);return tagOpen}return nok(code3)}function declarationOpen(code3){if(code3===45){effects.consume(code3);return commentOpenInside}if(code3===91){effects.consume(code3);index2=0;return cdataOpenInside}if(asciiAlpha(code3)){effects.consume(code3);return declaration}return nok(code3)}function commentOpenInside(code3){if(code3===45){effects.consume(code3);return commentEnd}return nok(code3)}function comment(code3){if(code3===null){return nok(code3)}if(code3===45){effects.consume(code3);return commentClose}if(markdownLineEnding(code3)){returnState=comment;return lineEndingBefore(code3)}effects.consume(code3);return comment}function commentClose(code3){if(code3===45){effects.consume(code3);return commentEnd}return comment(code3)}function commentEnd(code3){return code3===62?end(code3):code3===45?commentClose(code3):comment(code3)}function cdataOpenInside(code3){const value2="CDATA[";if(code3===value2.charCodeAt(index2++)){effects.consume(code3);return index2===value2.length?cdata:cdataOpenInside}return nok(code3)}function cdata(code3){if(code3===null){return nok(code3)}if(code3===93){effects.consume(code3);return cdataClose}if(markdownLineEnding(code3)){returnState=cdata;return lineEndingBefore(code3)}effects.consume(code3);return cdata}function cdataClose(code3){if(code3===93){effects.consume(code3);return cdataEnd}return cdata(code3)}function cdataEnd(code3){if(code3===62){return end(code3)}if(code3===93){effects.consume(code3);return cdataEnd}return cdata(code3)}function declaration(code3){if(code3===null||code3===62){return end(code3)}if(markdownLineEnding(code3)){returnState=declaration;return lineEndingBefore(code3)}effects.consume(code3);return declaration}function instruction(code3){if(code3===null){return nok(code3)}if(code3===63){effects.consume(code3);return instructionClose}if(markdownLineEnding(code3)){returnState=instruction;return lineEndingBefore(code3)}effects.consume(code3);return instruction}function instructionClose(code3){return code3===62?end(code3):instruction(code3)}function tagCloseStart(code3){if(asciiAlpha(code3)){effects.consume(code3);return tagClose}return nok(code3)}function tagClose(code3){if(code3===45||asciiAlphanumeric(code3)){effects.consume(code3);return tagClose}return tagCloseBetween(code3)}function tagCloseBetween(code3){if(markdownLineEnding(code3)){returnState=tagCloseBetween;return lineEndingBefore(code3)}if(markdownSpace(code3)){effects.consume(code3);return tagCloseBetween}return end(code3)}function tagOpen(code3){if(code3===45||asciiAlphanumeric(code3)){effects.consume(code3);return tagOpen}if(code3===47||code3===62||markdownLineEndingOrSpace(code3)){return tagOpenBetween(code3)}return nok(code3)}function tagOpenBetween(code3){if(code3===47){effects.consume(code3);return end}if(code3===58||code3===95||asciiAlpha(code3)){effects.consume(code3);return tagOpenAttributeName}if(markdownLineEnding(code3)){returnState=tagOpenBetween;return lineEndingBefore(code3)}if(markdownSpace(code3)){effects.consume(code3);return tagOpenBetween}return end(code3)}function tagOpenAttributeName(code3){if(code3===45||code3===46||code3===58||code3===95||asciiAlphanumeric(code3)){effects.consume(code3);return tagOpenAttributeName}return tagOpenAttributeNameAfter(code3)}function tagOpenAttributeNameAfter(code3){if(code3===61){effects.consume(code3);return tagOpenAttributeValueBefore}if(markdownLineEnding(code3)){returnState=tagOpenAttributeNameAfter;return lineEndingBefore(code3)}if(markdownSpace(code3)){effects.consume(code3);return tagOpenAttributeNameAfter}return tagOpenBetween(code3)}function tagOpenAttributeValueBefore(code3){if(code3===null||code3===60||code3===61||code3===62||code3===96){return nok(code3)}if(code3===34||code3===39){effects.consume(code3);marker=code3;return tagOpenAttributeValueQuoted}if(markdownLineEnding(code3)){returnState=tagOpenAttributeValueBefore;return lineEndingBefore(code3)}if(markdownSpace(code3)){effects.consume(code3);return tagOpenAttributeValueBefore}effects.consume(code3);return tagOpenAttributeValueUnquoted}function tagOpenAttributeValueQuoted(code3){if(code3===marker){effects.consume(code3);marker=void 0;return tagOpenAttributeValueQuotedAfter}if(code3===null){return nok(code3)}if(markdownLineEnding(code3)){returnState=tagOpenAttributeValueQuoted;return lineEndingBefore(code3)}effects.consume(code3);return tagOpenAttributeValueQuoted}function tagOpenAttributeValueUnquoted(code3){if(code3===null||code3===34||code3===39||code3===60||code3===61||code3===96){return nok(code3)}if(code3===47||code3===62||markdownLineEndingOrSpace(code3)){return tagOpenBetween(code3)}effects.consume(code3);return tagOpenAttributeValueUnquoted}function tagOpenAttributeValueQuotedAfter(code3){if(code3===47||code3===62||markdownLineEndingOrSpace(code3)){return tagOpenBetween(code3)}return nok(code3)}function end(code3){if(code3===62){effects.consume(code3);effects.exit("htmlTextData");effects.exit("htmlText");return ok3}return nok(code3)}function lineEndingBefore(code3){effects.exit("htmlTextData");effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return lineEndingAfter}function lineEndingAfter(code3){return markdownSpace(code3)?factorySpace(effects,lineEndingAfterPrefix,"linePrefix",self.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(code3):lineEndingAfterPrefix(code3)}function lineEndingAfterPrefix(code3){effects.enter("htmlTextData");return returnState(code3)}}var labelEnd={name:"labelEnd",resolveAll:resolveAllLabelEnd,resolveTo:resolveToLabelEnd,tokenize:tokenizeLabelEnd};var resourceConstruct={tokenize:tokenizeResource};var referenceFullConstruct={tokenize:tokenizeReferenceFull};var referenceCollapsedConstruct={tokenize:tokenizeReferenceCollapsed};function resolveAllLabelEnd(events){let index2=-1;const newEvents=[];while(++index2<events.length){const token=events[index2][1];newEvents.push(events[index2]);if(token.type==="labelImage"||token.type==="labelLink"||token.type==="labelEnd"){const offset=token.type==="labelImage"?4:2;token.type="data";index2+=offset}}if(events.length!==newEvents.length){splice(events,0,events.length,newEvents)}return events}function resolveToLabelEnd(events,context){let index2=events.length;let offset=0;let token;let open;let close2;let media;while(index2--){token=events[index2][1];if(open){if(token.type==="link"||token.type==="labelLink"&&token._inactive){break}if(events[index2][0]==="enter"&&token.type==="labelLink"){token._inactive=true}}else if(close2){if(events[index2][0]==="enter"&&(token.type==="labelImage"||token.type==="labelLink")&&!token._balanced){open=index2;if(token.type!=="labelLink"){offset=2;break}}}else if(token.type==="labelEnd"){close2=index2}}const group={type:events[open][1].type==="labelLink"?"link":"image",start:{...events[open][1].start},end:{...events[events.length-1][1].end}};const label={type:"label",start:{...events[open][1].start},end:{...events[close2][1].end}};const text5={type:"labelText",start:{...events[open+offset+2][1].end},end:{...events[close2-2][1].start}};media=[["enter",group,context],["enter",label,context]];media=push(media,events.slice(open+1,open+offset+3));media=push(media,[["enter",text5,context]]);media=push(media,resolveAll(context.parser.constructs.insideSpan.null,events.slice(open+offset+4,close2-3),context));media=push(media,[["exit",text5,context],events[close2-2],events[close2-1],["exit",label,context]]);media=push(media,events.slice(close2+1));media=push(media,[["exit",group,context]]);splice(events,open,events.length,media);return events}function tokenizeLabelEnd(effects,ok3,nok){const self=this;let index2=self.events.length;let labelStart;let defined;while(index2--){if((self.events[index2][1].type==="labelImage"||self.events[index2][1].type==="labelLink")&&!self.events[index2][1]._balanced){labelStart=self.events[index2][1];break}}return start;function start(code3){if(!labelStart){return nok(code3)}if(labelStart._inactive){return labelEndNok(code3)}defined=self.parser.defined.includes(normalizeIdentifier(self.sliceSerialize({start:labelStart.end,end:self.now()})));effects.enter("labelEnd");effects.enter("labelMarker");effects.consume(code3);effects.exit("labelMarker");effects.exit("labelEnd");return after}function after(code3){if(code3===40){return effects.attempt(resourceConstruct,labelEndOk,defined?labelEndOk:labelEndNok)(code3)}if(code3===91){return effects.attempt(referenceFullConstruct,labelEndOk,defined?referenceNotFull:labelEndNok)(code3)}return defined?labelEndOk(code3):labelEndNok(code3)}function referenceNotFull(code3){return effects.attempt(referenceCollapsedConstruct,labelEndOk,labelEndNok)(code3)}function labelEndOk(code3){return ok3(code3)}function labelEndNok(code3){labelStart._balanced=true;return nok(code3)}}function tokenizeResource(effects,ok3,nok){return resourceStart;function resourceStart(code3){effects.enter("resource");effects.enter("resourceMarker");effects.consume(code3);effects.exit("resourceMarker");return resourceBefore}function resourceBefore(code3){return markdownLineEndingOrSpace(code3)?factoryWhitespace(effects,resourceOpen)(code3):resourceOpen(code3)}function resourceOpen(code3){if(code3===41){return resourceEnd(code3)}return factoryDestination(effects,resourceDestinationAfter,resourceDestinationMissing,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(code3)}function resourceDestinationAfter(code3){return markdownLineEndingOrSpace(code3)?factoryWhitespace(effects,resourceBetween)(code3):resourceEnd(code3)}function resourceDestinationMissing(code3){return nok(code3)}function resourceBetween(code3){if(code3===34||code3===39||code3===40){return factoryTitle(effects,resourceTitleAfter,nok,"resourceTitle","resourceTitleMarker","resourceTitleString")(code3)}return resourceEnd(code3)}function resourceTitleAfter(code3){return markdownLineEndingOrSpace(code3)?factoryWhitespace(effects,resourceEnd)(code3):resourceEnd(code3)}function resourceEnd(code3){if(code3===41){effects.enter("resourceMarker");effects.consume(code3);effects.exit("resourceMarker");effects.exit("resource");return ok3}return nok(code3)}}function tokenizeReferenceFull(effects,ok3,nok){const self=this;return referenceFull;function referenceFull(code3){return factoryLabel.call(self,effects,referenceFullAfter,referenceFullMissing,"reference","referenceMarker","referenceString")(code3)}function referenceFullAfter(code3){return self.parser.defined.includes(normalizeIdentifier(self.sliceSerialize(self.events[self.events.length-1][1]).slice(1,-1)))?ok3(code3):nok(code3)}function referenceFullMissing(code3){return nok(code3)}}function tokenizeReferenceCollapsed(effects,ok3,nok){return referenceCollapsedStart;function referenceCollapsedStart(code3){effects.enter("reference");effects.enter("referenceMarker");effects.consume(code3);effects.exit("referenceMarker");return referenceCollapsedOpen}function referenceCollapsedOpen(code3){if(code3===93){effects.enter("referenceMarker");effects.consume(code3);effects.exit("referenceMarker");effects.exit("reference");return ok3}return nok(code3)}}var labelStartImage={name:"labelStartImage",resolveAll:labelEnd.resolveAll,tokenize:tokenizeLabelStartImage};function tokenizeLabelStartImage(effects,ok3,nok){const self=this;return start;function start(code3){effects.enter("labelImage");effects.enter("labelImageMarker");effects.consume(code3);effects.exit("labelImageMarker");return open}function open(code3){if(code3===91){effects.enter("labelMarker");effects.consume(code3);effects.exit("labelMarker");effects.exit("labelImage");return after}return nok(code3)}function after(code3){return code3===94&&"_hiddenFootnoteSupport"in self.parser.constructs?nok(code3):ok3(code3)}}var labelStartLink={name:"labelStartLink",resolveAll:labelEnd.resolveAll,tokenize:tokenizeLabelStartLink};function tokenizeLabelStartLink(effects,ok3,nok){const self=this;return start;function start(code3){effects.enter("labelLink");effects.enter("labelMarker");effects.consume(code3);effects.exit("labelMarker");effects.exit("labelLink");return after}function after(code3){return code3===94&&"_hiddenFootnoteSupport"in self.parser.constructs?nok(code3):ok3(code3)}}var lineEnding={name:"lineEnding",tokenize:tokenizeLineEnding};function tokenizeLineEnding(effects,ok3){return start;function start(code3){effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return factorySpace(effects,ok3,"linePrefix")}}var thematicBreak2={name:"thematicBreak",tokenize:tokenizeThematicBreak};function tokenizeThematicBreak(effects,ok3,nok){let size=0;let marker;return start;function start(code3){effects.enter("thematicBreak");return before(code3)}function before(code3){marker=code3;return atBreak(code3)}function atBreak(code3){if(code3===marker){effects.enter("thematicBreakSequence");return sequence(code3)}if(size>=3&&(code3===null||markdownLineEnding(code3))){effects.exit("thematicBreak");return ok3(code3)}return nok(code3)}function sequence(code3){if(code3===marker){effects.consume(code3);size++;return sequence}effects.exit("thematicBreakSequence");return markdownSpace(code3)?factorySpace(effects,atBreak,"whitespace")(code3):atBreak(code3)}}var list2={continuation:{tokenize:tokenizeListContinuation},exit:tokenizeListEnd,name:"list",tokenize:tokenizeListStart};var listItemPrefixWhitespaceConstruct={partial:true,tokenize:tokenizeListItemPrefixWhitespace};var indentConstruct={partial:true,tokenize:tokenizeIndent};function tokenizeListStart(effects,ok3,nok){const self=this;const tail=self.events[self.events.length-1];let initialSize=tail&&tail[1].type==="linePrefix"?tail[2].sliceSerialize(tail[1],true).length:0;let size=0;return start;function start(code3){const kind=self.containerState.type||(code3===42||code3===43||code3===45?"listUnordered":"listOrdered");if(kind==="listUnordered"?!self.containerState.marker||code3===self.containerState.marker:asciiDigit(code3)){if(!self.containerState.type){self.containerState.type=kind;effects.enter(kind,{_container:true})}if(kind==="listUnordered"){effects.enter("listItemPrefix");return code3===42||code3===45?effects.check(thematicBreak2,nok,atMarker)(code3):atMarker(code3)}if(!self.interrupt||code3===49){effects.enter("listItemPrefix");effects.enter("listItemValue");return inside(code3)}}return nok(code3)}function inside(code3){if(asciiDigit(code3)&&++size<10){effects.consume(code3);return inside}if((!self.interrupt||size<2)&&(self.containerState.marker?code3===self.containerState.marker:code3===41||code3===46)){effects.exit("listItemValue");return atMarker(code3)}return nok(code3)}function atMarker(code3){effects.enter("listItemMarker");effects.consume(code3);effects.exit("listItemMarker");self.containerState.marker=self.containerState.marker||code3;return effects.check(blankLine,self.interrupt?nok:onBlank,effects.attempt(listItemPrefixWhitespaceConstruct,endOfPrefix,otherPrefix))}function onBlank(code3){self.containerState.initialBlankLine=true;initialSize++;return endOfPrefix(code3)}function otherPrefix(code3){if(markdownSpace(code3)){effects.enter("listItemPrefixWhitespace");effects.consume(code3);effects.exit("listItemPrefixWhitespace");return endOfPrefix}return nok(code3)}function endOfPrefix(code3){self.containerState.size=initialSize+self.sliceSerialize(effects.exit("listItemPrefix"),true).length;return ok3(code3)}}function tokenizeListContinuation(effects,ok3,nok){const self=this;self.containerState._closeFlow=void 0;return effects.check(blankLine,onBlank,notBlank);function onBlank(code3){self.containerState.furtherBlankLines=self.containerState.furtherBlankLines||self.containerState.initialBlankLine;return factorySpace(effects,ok3,"listItemIndent",self.containerState.size+1)(code3)}function notBlank(code3){if(self.containerState.furtherBlankLines||!markdownSpace(code3)){self.containerState.furtherBlankLines=void 0;self.containerState.initialBlankLine=void 0;return notInCurrentItem(code3)}self.containerState.furtherBlankLines=void 0;self.containerState.initialBlankLine=void 0;return effects.attempt(indentConstruct,ok3,notInCurrentItem)(code3)}function notInCurrentItem(code3){self.containerState._closeFlow=true;self.interrupt=void 0;return factorySpace(effects,effects.attempt(list2,ok3,nok),"linePrefix",self.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(code3)}}function tokenizeIndent(effects,ok3,nok){const self=this;return factorySpace(effects,afterPrefix,"listItemIndent",self.containerState.size+1);function afterPrefix(code3){const tail=self.events[self.events.length-1];return tail&&tail[1].type==="listItemIndent"&&tail[2].sliceSerialize(tail[1],true).length===self.containerState.size?ok3(code3):nok(code3)}}function tokenizeListEnd(effects){effects.exit(this.containerState.type)}function tokenizeListItemPrefixWhitespace(effects,ok3,nok){const self=this;return factorySpace(effects,afterPrefix,"listItemPrefixWhitespace",self.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function afterPrefix(code3){const tail=self.events[self.events.length-1];return!markdownSpace(code3)&&tail&&tail[1].type==="listItemPrefixWhitespace"?ok3(code3):nok(code3)}}var setextUnderline={name:"setextUnderline",resolveTo:resolveToSetextUnderline,tokenize:tokenizeSetextUnderline};function resolveToSetextUnderline(events,context){let index2=events.length;let content3;let text5;let definition3;while(index2--){if(events[index2][0]==="enter"){if(events[index2][1].type==="content"){content3=index2;break}if(events[index2][1].type==="paragraph"){text5=index2}}else{if(events[index2][1].type==="content"){events.splice(index2,1)}if(!definition3&&events[index2][1].type==="definition"){definition3=index2}}}const heading2={type:"setextHeading",start:{...events[content3][1].start},end:{...events[events.length-1][1].end}};events[text5][1].type="setextHeadingText";if(definition3){events.splice(text5,0,["enter",heading2,context]);events.splice(definition3+1,0,["exit",events[content3][1],context]);events[content3][1].end={...events[definition3][1].end}}else{events[content3][1]=heading2}events.push(["exit",heading2,context]);return events}function tokenizeSetextUnderline(effects,ok3,nok){const self=this;let marker;return start;function start(code3){let index2=self.events.length;let paragraph2;while(index2--){if(self.events[index2][1].type!=="lineEnding"&&self.events[index2][1].type!=="linePrefix"&&self.events[index2][1].type!=="content"){paragraph2=self.events[index2][1].type==="paragraph";break}}if(!self.parser.lazy[self.now().line]&&(self.interrupt||paragraph2)){effects.enter("setextHeadingLine");marker=code3;return before(code3)}return nok(code3)}function before(code3){effects.enter("setextHeadingLineSequence");return inside(code3)}function inside(code3){if(code3===marker){effects.consume(code3);return inside}effects.exit("setextHeadingLineSequence");return markdownSpace(code3)?factorySpace(effects,after,"lineSuffix")(code3):after(code3)}function after(code3){if(code3===null||markdownLineEnding(code3)){effects.exit("setextHeadingLine");return ok3(code3)}return nok(code3)}}var indent={tokenize:tokenizeIndent2,partial:true};function gfmFootnote(){return{document:{[91]:{name:"gfmFootnoteDefinition",tokenize:tokenizeDefinitionStart,continuation:{tokenize:tokenizeDefinitionContinuation},exit:gfmFootnoteDefinitionEnd}},text:{[91]:{name:"gfmFootnoteCall",tokenize:tokenizeGfmFootnoteCall},[93]:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:tokenizePotentialGfmFootnoteCall,resolveTo:resolveToPotentialGfmFootnoteCall}}}}function tokenizePotentialGfmFootnoteCall(effects,ok3,nok){const self=this;let index2=self.events.length;const defined=self.parser.gfmFootnotes||(self.parser.gfmFootnotes=[]);let labelStart;while(index2--){const token=self.events[index2][1];if(token.type==="labelImage"){labelStart=token;break}if(token.type==="gfmFootnoteCall"||token.type==="labelLink"||token.type==="label"||token.type==="image"||token.type==="link"){break}}return start;function start(code3){if(!labelStart||!labelStart._balanced){return nok(code3)}const id=normalizeIdentifier(self.sliceSerialize({start:labelStart.end,end:self.now()}));if(id.codePointAt(0)!==94||!defined.includes(id.slice(1))){return nok(code3)}effects.enter("gfmFootnoteCallLabelMarker");effects.consume(code3);effects.exit("gfmFootnoteCallLabelMarker");return ok3(code3)}}function resolveToPotentialGfmFootnoteCall(events,context){let index2=events.length;let labelStart;while(index2--){if(events[index2][1].type==="labelImage"&&events[index2][0]==="enter"){labelStart=events[index2][1];break}}events[index2+1][1].type="data";events[index2+3][1].type="gfmFootnoteCallLabelMarker";const call={type:"gfmFootnoteCall",start:Object.assign({},events[index2+3][1].start),end:Object.assign({},events[events.length-1][1].end)};const marker={type:"gfmFootnoteCallMarker",start:Object.assign({},events[index2+3][1].end),end:Object.assign({},events[index2+3][1].end)};marker.end.column++;marker.end.offset++;marker.end._bufferIndex++;const string3={type:"gfmFootnoteCallString",start:Object.assign({},marker.end),end:Object.assign({},events[events.length-1][1].start)};const chunk={type:"chunkString",contentType:"string",start:Object.assign({},string3.start),end:Object.assign({},string3.end)};const replacement=[events[index2+1],events[index2+2],["enter",call,context],events[index2+3],events[index2+4],["enter",marker,context],["exit",marker,context],["enter",string3,context],["enter",chunk,context],["exit",chunk,context],["exit",string3,context],events[events.length-2],events[events.length-1],["exit",call,context]];events.splice(index2,events.length-index2+1,...replacement);return events}function tokenizeGfmFootnoteCall(effects,ok3,nok){const self=this;const defined=self.parser.gfmFootnotes||(self.parser.gfmFootnotes=[]);let size=0;let data;return start;function start(code3){effects.enter("gfmFootnoteCall");effects.enter("gfmFootnoteCallLabelMarker");effects.consume(code3);effects.exit("gfmFootnoteCallLabelMarker");return callStart}function callStart(code3){if(code3!==94)return nok(code3);effects.enter("gfmFootnoteCallMarker");effects.consume(code3);effects.exit("gfmFootnoteCallMarker");effects.enter("gfmFootnoteCallString");effects.enter("chunkString").contentType="string";return callData}function callData(code3){if(size>999||code3===93&&!data||code3===null||code3===91||markdownLineEndingOrSpace(code3)){return nok(code3)}if(code3===93){effects.exit("chunkString");const token=effects.exit("gfmFootnoteCallString");if(!defined.includes(normalizeIdentifier(self.sliceSerialize(token)))){return nok(code3)}effects.enter("gfmFootnoteCallLabelMarker");effects.consume(code3);effects.exit("gfmFootnoteCallLabelMarker");effects.exit("gfmFootnoteCall");return ok3}if(!markdownLineEndingOrSpace(code3)){data=true}size++;effects.consume(code3);return code3===92?callEscape:callData}function callEscape(code3){if(code3===91||code3===92||code3===93){effects.consume(code3);size++;return callData}return callData(code3)}}function tokenizeDefinitionStart(effects,ok3,nok){const self=this;const defined=self.parser.gfmFootnotes||(self.parser.gfmFootnotes=[]);let identifier;let size=0;let data;return start;function start(code3){effects.enter("gfmFootnoteDefinition")._container=true;effects.enter("gfmFootnoteDefinitionLabel");effects.enter("gfmFootnoteDefinitionLabelMarker");effects.consume(code3);effects.exit("gfmFootnoteDefinitionLabelMarker");return labelAtMarker}function labelAtMarker(code3){if(code3===94){effects.enter("gfmFootnoteDefinitionMarker");effects.consume(code3);effects.exit("gfmFootnoteDefinitionMarker");effects.enter("gfmFootnoteDefinitionLabelString");effects.enter("chunkString").contentType="string";return labelInside}return nok(code3)}function labelInside(code3){if(size>999||code3===93&&!data||code3===null||code3===91||markdownLineEndingOrSpace(code3)){return nok(code3)}if(code3===93){effects.exit("chunkString");const token=effects.exit("gfmFootnoteDefinitionLabelString");identifier=normalizeIdentifier(self.sliceSerialize(token));effects.enter("gfmFootnoteDefinitionLabelMarker");effects.consume(code3);effects.exit("gfmFootnoteDefinitionLabelMarker");effects.exit("gfmFootnoteDefinitionLabel");return labelAfter}if(!markdownLineEndingOrSpace(code3)){data=true}size++;effects.consume(code3);return code3===92?labelEscape:labelInside}function labelEscape(code3){if(code3===91||code3===92||code3===93){effects.consume(code3);size++;return labelInside}return labelInside(code3)}function labelAfter(code3){if(code3===58){effects.enter("definitionMarker");effects.consume(code3);effects.exit("definitionMarker");if(!defined.includes(identifier)){defined.push(identifier)}return factorySpace(effects,whitespaceAfter,"gfmFootnoteDefinitionWhitespace")}return nok(code3)}function whitespaceAfter(code3){return ok3(code3)}}function tokenizeDefinitionContinuation(effects,ok3,nok){return effects.check(blankLine,ok3,effects.attempt(indent,ok3,nok))}function gfmFootnoteDefinitionEnd(effects){effects.exit("gfmFootnoteDefinition")}function tokenizeIndent2(effects,ok3,nok){const self=this;return factorySpace(effects,afterPrefix,"gfmFootnoteDefinitionIndent",4+1);function afterPrefix(code3){const tail=self.events[self.events.length-1];return tail&&tail[1].type==="gfmFootnoteDefinitionIndent"&&tail[2].sliceSerialize(tail[1],true).length===4?ok3(code3):nok(code3)}}var own6={}.hasOwnProperty;function gfmStrikethrough(options){const options_=options||{};let single=options_.singleTilde;const tokenizer={name:"strikethrough",tokenize:tokenizeStrikethrough,resolveAll:resolveAllStrikethrough};if(single===null||single===void 0){single=true}return{text:{[126]:tokenizer},insideSpan:{null:[tokenizer]},attentionMarkers:{null:[126]}};function resolveAllStrikethrough(events,context){let index2=-1;while(++index2<events.length){if(events[index2][0]==="enter"&&events[index2][1].type==="strikethroughSequenceTemporary"&&events[index2][1]._close){let open=index2;while(open--){if(events[open][0]==="exit"&&events[open][1].type==="strikethroughSequenceTemporary"&&events[open][1]._open&&events[index2][1].end.offset-events[index2][1].start.offset===events[open][1].end.offset-events[open][1].start.offset){events[index2][1].type="strikethroughSequence";events[open][1].type="strikethroughSequence";const strikethrough={type:"strikethrough",start:Object.assign({},events[open][1].start),end:Object.assign({},events[index2][1].end)};const text5={type:"strikethroughText",start:Object.assign({},events[open][1].end),end:Object.assign({},events[index2][1].start)};const nextEvents=[["enter",strikethrough,context],["enter",events[open][1],context],["exit",events[open][1],context],["enter",text5,context]];const insideSpan2=context.parser.constructs.insideSpan.null;if(insideSpan2){splice(nextEvents,nextEvents.length,0,resolveAll(insideSpan2,events.slice(open+1,index2),context))}splice(nextEvents,nextEvents.length,0,[["exit",text5,context],["enter",events[index2][1],context],["exit",events[index2][1],context],["exit",strikethrough,context]]);splice(events,open-1,index2-open+3,nextEvents);index2=open+nextEvents.length-2;break}}}}index2=-1;while(++index2<events.length){if(events[index2][1].type==="strikethroughSequenceTemporary"){events[index2][1].type="data"}}return events}function tokenizeStrikethrough(effects,ok3,nok){const previous3=this.previous;const events=this.events;let size=0;return start;function start(code3){if(previous3===126&&events[events.length-1][1].type!=="characterEscape"){return nok(code3)}effects.enter("strikethroughSequenceTemporary");return more(code3)}function more(code3){const before=classifyCharacter(previous3);if(code3===126){if(size>1)return nok(code3);effects.consume(code3);size++;return more}if(size<2&&!single)return nok(code3);const token=effects.exit("strikethroughSequenceTemporary");const after=classifyCharacter(code3);token._open=!after||after===2&&Boolean(before);token._close=!before||before===2&&Boolean(after);return ok3(code3)}}}var EditMap=class{constructor(){this.map=[]}add(index2,remove,add){addImplementation(this,index2,remove,add)}consume(events){this.map.sort(function(a,b){return a[0]-b[0]});if(this.map.length===0){return}let index2=this.map.length;const vecs=[];while(index2>0){index2-=1;vecs.push(events.slice(this.map[index2][0]+this.map[index2][1]),this.map[index2][2]);events.length=this.map[index2][0]}vecs.push(events.slice());events.length=0;let slice=vecs.pop();while(slice){for(const element of slice){events.push(element)}slice=vecs.pop()}this.map.length=0}};function addImplementation(editMap,at,remove,add){let index2=0;if(remove===0&&add.length===0){return}while(index2<editMap.map.length){if(editMap.map[index2][0]===at){editMap.map[index2][1]+=remove;editMap.map[index2][2].push(...add);return}index2+=1}editMap.map.push([at,remove,add])}function gfmTableAlign(events,index2){let inDelimiterRow=false;const align=[];while(index2<events.length){const event=events[index2];if(inDelimiterRow){if(event[0]==="enter"){if(event[1].type==="tableContent"){align.push(events[index2+1][1].type==="tableDelimiterMarker"?"left":"none")}}else if(event[1].type==="tableContent"){if(events[index2-1][1].type==="tableDelimiterMarker"){const alignIndex=align.length-1;align[alignIndex]=align[alignIndex]==="left"?"center":"right"}}else if(event[1].type==="tableDelimiterRow"){break}}else if(event[0]==="enter"&&event[1].type==="tableDelimiterRow"){inDelimiterRow=true}index2+=1}return align}function gfmTable(){return{flow:{null:{name:"table",tokenize:tokenizeTable,resolveAll:resolveTable}}}}function tokenizeTable(effects,ok3,nok){const self=this;let size=0;let sizeB=0;let seen;return start;function start(code3){let index2=self.events.length-1;while(index2>-1){const type=self.events[index2][1].type;if(type==="lineEnding"||type==="linePrefix")index2--;else break}const tail=index2>-1?self.events[index2][1].type:null;const next=tail==="tableHead"||tail==="tableRow"?bodyRowStart:headRowBefore;if(next===bodyRowStart&&self.parser.lazy[self.now().line]){return nok(code3)}return next(code3)}function headRowBefore(code3){effects.enter("tableHead");effects.enter("tableRow");return headRowStart(code3)}function headRowStart(code3){if(code3===124){return headRowBreak(code3)}seen=true;sizeB+=1;return headRowBreak(code3)}function headRowBreak(code3){if(code3===null){return nok(code3)}if(markdownLineEnding(code3)){if(sizeB>1){sizeB=0;self.interrupt=true;effects.exit("tableRow");effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return headDelimiterStart}return nok(code3)}if(markdownSpace(code3)){return factorySpace(effects,headRowBreak,"whitespace")(code3)}sizeB+=1;if(seen){seen=false;size+=1}if(code3===124){effects.enter("tableCellDivider");effects.consume(code3);effects.exit("tableCellDivider");seen=true;return headRowBreak}effects.enter("data");return headRowData(code3)}function headRowData(code3){if(code3===null||code3===124||markdownLineEndingOrSpace(code3)){effects.exit("data");return headRowBreak(code3)}effects.consume(code3);return code3===92?headRowEscape:headRowData}function headRowEscape(code3){if(code3===92||code3===124){effects.consume(code3);return headRowData}return headRowData(code3)}function headDelimiterStart(code3){self.interrupt=false;if(self.parser.lazy[self.now().line]){return nok(code3)}effects.enter("tableDelimiterRow");seen=false;if(markdownSpace(code3)){return factorySpace(effects,headDelimiterBefore,"linePrefix",self.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(code3)}return headDelimiterBefore(code3)}function headDelimiterBefore(code3){if(code3===45||code3===58){return headDelimiterValueBefore(code3)}if(code3===124){seen=true;effects.enter("tableCellDivider");effects.consume(code3);effects.exit("tableCellDivider");return headDelimiterCellBefore}return headDelimiterNok(code3)}function headDelimiterCellBefore(code3){if(markdownSpace(code3)){return factorySpace(effects,headDelimiterValueBefore,"whitespace")(code3)}return headDelimiterValueBefore(code3)}function headDelimiterValueBefore(code3){if(code3===58){sizeB+=1;seen=true;effects.enter("tableDelimiterMarker");effects.consume(code3);effects.exit("tableDelimiterMarker");return headDelimiterLeftAlignmentAfter}if(code3===45){sizeB+=1;return headDelimiterLeftAlignmentAfter(code3)}if(code3===null||markdownLineEnding(code3)){return headDelimiterCellAfter(code3)}return headDelimiterNok(code3)}function headDelimiterLeftAlignmentAfter(code3){if(code3===45){effects.enter("tableDelimiterFiller");return headDelimiterFiller(code3)}return headDelimiterNok(code3)}function headDelimiterFiller(code3){if(code3===45){effects.consume(code3);return headDelimiterFiller}if(code3===58){seen=true;effects.exit("tableDelimiterFiller");effects.enter("tableDelimiterMarker");effects.consume(code3);effects.exit("tableDelimiterMarker");return headDelimiterRightAlignmentAfter}effects.exit("tableDelimiterFiller");return headDelimiterRightAlignmentAfter(code3)}function headDelimiterRightAlignmentAfter(code3){if(markdownSpace(code3)){return factorySpace(effects,headDelimiterCellAfter,"whitespace")(code3)}return headDelimiterCellAfter(code3)}function headDelimiterCellAfter(code3){if(code3===124){return headDelimiterBefore(code3)}if(code3===null||markdownLineEnding(code3)){if(!seen||size!==sizeB){return headDelimiterNok(code3)}effects.exit("tableDelimiterRow");effects.exit("tableHead");return ok3(code3)}return headDelimiterNok(code3)}function headDelimiterNok(code3){return nok(code3)}function bodyRowStart(code3){effects.enter("tableRow");return bodyRowBreak(code3)}function bodyRowBreak(code3){if(code3===124){effects.enter("tableCellDivider");effects.consume(code3);effects.exit("tableCellDivider");return bodyRowBreak}if(code3===null||markdownLineEnding(code3)){effects.exit("tableRow");return ok3(code3)}if(markdownSpace(code3)){return factorySpace(effects,bodyRowBreak,"whitespace")(code3)}effects.enter("data");return bodyRowData(code3)}function bodyRowData(code3){if(code3===null||code3===124||markdownLineEndingOrSpace(code3)){effects.exit("data");return bodyRowBreak(code3)}effects.consume(code3);return code3===92?bodyRowEscape:bodyRowData}function bodyRowEscape(code3){if(code3===92||code3===124){effects.consume(code3);return bodyRowData}return bodyRowData(code3)}}function resolveTable(events,context){let index2=-1;let inFirstCellAwaitingPipe=true;let rowKind=0;let lastCell=[0,0,0,0];let cell=[0,0,0,0];let afterHeadAwaitingFirstBodyRow=false;let lastTableEnd=0;let currentTable;let currentBody;let currentCell;const map3=new EditMap;while(++index2<events.length){const event=events[index2];const token=event[1];if(event[0]==="enter"){if(token.type==="tableHead"){afterHeadAwaitingFirstBodyRow=false;if(lastTableEnd!==0){flushTableEnd(map3,context,lastTableEnd,currentTable,currentBody);currentBody=void 0;lastTableEnd=0}currentTable={type:"table",start:Object.assign({},token.start),end:Object.assign({},token.end)};map3.add(index2,0,[["enter",currentTable,context]])}else if(token.type==="tableRow"||token.type==="tableDelimiterRow"){inFirstCellAwaitingPipe=true;currentCell=void 0;lastCell=[0,0,0,0];cell=[0,index2+1,0,0];if(afterHeadAwaitingFirstBodyRow){afterHeadAwaitingFirstBodyRow=false;currentBody={type:"tableBody",start:Object.assign({},token.start),end:Object.assign({},token.end)};map3.add(index2,0,[["enter",currentBody,context]])}rowKind=token.type==="tableDelimiterRow"?2:currentBody?3:1}else if(rowKind&&(token.type==="data"||token.type==="tableDelimiterMarker"||token.type==="tableDelimiterFiller")){inFirstCellAwaitingPipe=false;if(cell[2]===0){if(lastCell[1]!==0){cell[0]=cell[1];currentCell=flushCell(map3,context,lastCell,rowKind,void 0,currentCell);lastCell=[0,0,0,0]}cell[2]=index2}}else if(token.type==="tableCellDivider"){if(inFirstCellAwaitingPipe){inFirstCellAwaitingPipe=false}else{if(lastCell[1]!==0){cell[0]=cell[1];currentCell=flushCell(map3,context,lastCell,rowKind,void 0,currentCell)}lastCell=cell;cell=[lastCell[1],index2,0,0]}}}else if(token.type==="tableHead"){afterHeadAwaitingFirstBodyRow=true;lastTableEnd=index2}else if(token.type==="tableRow"||token.type==="tableDelimiterRow"){lastTableEnd=index2;if(lastCell[1]!==0){cell[0]=cell[1];currentCell=flushCell(map3,context,lastCell,rowKind,index2,currentCell)}else if(cell[1]!==0){currentCell=flushCell(map3,context,cell,rowKind,index2,currentCell)}rowKind=0}else if(rowKind&&(token.type==="data"||token.type==="tableDelimiterMarker"||token.type==="tableDelimiterFiller")){cell[3]=index2}}if(lastTableEnd!==0){flushTableEnd(map3,context,lastTableEnd,currentTable,currentBody)}map3.consume(context.events);index2=-1;while(++index2<context.events.length){const event=context.events[index2];if(event[0]==="enter"&&event[1].type==="table"){event[1]._align=gfmTableAlign(context.events,index2)}}return events}function flushCell(map3,context,range,rowKind,rowEnd,previousCell){const groupName=rowKind===1?"tableHeader":rowKind===2?"tableDelimiter":"tableData";const valueName="tableContent";if(range[0]!==0){previousCell.end=Object.assign({},getPoint(context.events,range[0]));map3.add(range[0],0,[["exit",previousCell,context]])}const now=getPoint(context.events,range[1]);previousCell={type:groupName,start:Object.assign({},now),end:Object.assign({},now)};map3.add(range[1],0,[["enter",previousCell,context]]);if(range[2]!==0){const relatedStart=getPoint(context.events,range[2]);const relatedEnd=getPoint(context.events,range[3]);const valueToken={type:valueName,start:Object.assign({},relatedStart),end:Object.assign({},relatedEnd)};map3.add(range[2],0,[["enter",valueToken,context]]);if(rowKind!==2){const start=context.events[range[2]];const end=context.events[range[3]];start[1].end=Object.assign({},end[1].end);start[1].type="chunkText";start[1].contentType="text";if(range[3]>range[2]+1){const a=range[2]+1;const b=range[3]-range[2]-1;map3.add(a,b,[])}}map3.add(range[3]+1,0,[["exit",valueToken,context]])}if(rowEnd!==void 0){previousCell.end=Object.assign({},getPoint(context.events,rowEnd));map3.add(rowEnd,0,[["exit",previousCell,context]]);previousCell=void 0}return previousCell}function flushTableEnd(map3,context,index2,table,tableBody){const exits=[];const related=getPoint(context.events,index2);if(tableBody){tableBody.end=Object.assign({},related);exits.push(["exit",tableBody,context])}table.end=Object.assign({},related);exits.push(["exit",table,context]);map3.add(index2+1,0,exits)}function getPoint(events,index2){const event=events[index2];const side=event[0]==="enter"?"start":"end";return event[1][side]}var reFlow=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|title|textarea|xmp)(?=[\t\n\f\r />])/gi;var reText=new RegExp("^"+reFlow.source,"i");var tasklistCheck={name:"tasklistCheck",tokenize:tokenizeTasklistCheck};function gfmTaskListItem(){return{text:{[91]:tasklistCheck}}}function tokenizeTasklistCheck(effects,ok3,nok){const self=this;return open;function open(code3){if(self.previous!==null||!self._gfmTasklistFirstContentOfListItem){return nok(code3)}effects.enter("taskListCheck");effects.enter("taskListCheckMarker");effects.consume(code3);effects.exit("taskListCheckMarker");return inside}function inside(code3){if(markdownLineEndingOrSpace(code3)){effects.enter("taskListCheckValueUnchecked");effects.consume(code3);effects.exit("taskListCheckValueUnchecked");return close2}if(code3===88||code3===120){effects.enter("taskListCheckValueChecked");effects.consume(code3);effects.exit("taskListCheckValueChecked");return close2}return nok(code3)}function close2(code3){if(code3===93){effects.enter("taskListCheckMarker");effects.consume(code3);effects.exit("taskListCheckMarker");effects.exit("taskListCheck");return after}return nok(code3)}function after(code3){if(markdownLineEnding(code3)){return ok3(code3)}if(markdownSpace(code3)){return effects.check({tokenize:spaceThenNonSpace},ok3,nok)(code3)}return nok(code3)}}function spaceThenNonSpace(effects,ok3,nok){return factorySpace(effects,after,"whitespace");function after(code3){return code3===null?nok(code3):ok3(code3)}}function gfm(options){return combineExtensions([gfmAutolinkLiteral(),gfmFootnote(),gfmStrikethrough(options),gfmTable(),gfmTaskListItem()])}var emptyOptions3={};function remarkGfm(options){const self=this;const settings=options||emptyOptions3;const data=self.data();const micromarkExtensions=data.micromarkExtensions||(data.micromarkExtensions=[]);const fromMarkdownExtensions=data.fromMarkdownExtensions||(data.fromMarkdownExtensions=[]);const toMarkdownExtensions=data.toMarkdownExtensions||(data.toMarkdownExtensions=[]);micromarkExtensions.push(gfm(settings));fromMarkdownExtensions.push(gfmFromMarkdown());toMarkdownExtensions.push(gfmToMarkdown(settings))}var hasOwnProperty2={}.hasOwnProperty;var content2={tokenize:initializeContent};function initializeContent(effects){const contentStart=effects.attempt(this.parser.constructs.contentInitial,afterContentStartConstruct,paragraphInitial);let previous3;return contentStart;function afterContentStartConstruct(code3){if(code3===null){effects.consume(code3);return}effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");return factorySpace(effects,contentStart,"linePrefix")}function paragraphInitial(code3){effects.enter("paragraph");return lineStart(code3)}function lineStart(code3){const token=effects.enter("chunkText",{contentType:"text",previous:previous3});if(previous3){previous3.next=token}previous3=token;return data(code3)}function data(code3){if(code3===null){effects.exit("chunkText");effects.exit("paragraph");effects.consume(code3);return}if(markdownLineEnding(code3)){effects.consume(code3);effects.exit("chunkText");return lineStart}effects.consume(code3);return data}}var document={tokenize:initializeDocument};var containerConstruct={tokenize:tokenizeContainer};function initializeDocument(effects){const self=this;const stack=[];let continued=0;let childFlow;let childToken;let lineStartOffset;return start;function start(code3){if(continued<stack.length){const item=stack[continued];self.containerState=item[1];return effects.attempt(item[0].continuation,documentContinue,checkNewContainers)(code3)}return checkNewContainers(code3)}function documentContinue(code3){continued++;if(self.containerState._closeFlow){self.containerState._closeFlow=void 0;if(childFlow){closeFlow()}const indexBeforeExits=self.events.length;let indexBeforeFlow=indexBeforeExits;let point3;while(indexBeforeFlow--){if(self.events[indexBeforeFlow][0]==="exit"&&self.events[indexBeforeFlow][1].type==="chunkFlow"){point3=self.events[indexBeforeFlow][1].end;break}}exitContainers(continued);let index2=indexBeforeExits;while(index2<self.events.length){self.events[index2][1].end={...point3};index2++}splice(self.events,indexBeforeFlow+1,0,self.events.slice(indexBeforeExits));self.events.length=index2;return checkNewContainers(code3)}return start(code3)}function checkNewContainers(code3){if(continued===stack.length){if(!childFlow){return documentContinued(code3)}if(childFlow.currentConstruct&&childFlow.currentConstruct.concrete){return flowStart(code3)}self.interrupt=Boolean(childFlow.currentConstruct&&!childFlow._gfmTableDynamicInterruptHack)}self.containerState={};return effects.check(containerConstruct,thereIsANewContainer,thereIsNoNewContainer)(code3)}function thereIsANewContainer(code3){if(childFlow)closeFlow();exitContainers(continued);return documentContinued(code3)}function thereIsNoNewContainer(code3){self.parser.lazy[self.now().line]=continued!==stack.length;lineStartOffset=self.now().offset;return flowStart(code3)}function documentContinued(code3){self.containerState={};return effects.attempt(containerConstruct,containerContinue,flowStart)(code3)}function containerContinue(code3){continued++;stack.push([self.currentConstruct,self.containerState]);return documentContinued(code3)}function flowStart(code3){if(code3===null){if(childFlow)closeFlow();exitContainers(0);effects.consume(code3);return}childFlow=childFlow||self.parser.flow(self.now());effects.enter("chunkFlow",{_tokenizer:childFlow,contentType:"flow",previous:childToken});return flowContinue(code3)}function flowContinue(code3){if(code3===null){writeToChild(effects.exit("chunkFlow"),true);exitContainers(0);effects.consume(code3);return}if(markdownLineEnding(code3)){effects.consume(code3);writeToChild(effects.exit("chunkFlow"));continued=0;self.interrupt=void 0;return start}effects.consume(code3);return flowContinue}function writeToChild(token,endOfFile){const stream=self.sliceStream(token);if(endOfFile)stream.push(null);token.previous=childToken;if(childToken)childToken.next=token;childToken=token;childFlow.defineSkip(token.start);childFlow.write(stream);if(self.parser.lazy[token.start.line]){let index2=childFlow.events.length;while(index2--){if(childFlow.events[index2][1].start.offset<lineStartOffset&&(!childFlow.events[index2][1].end||childFlow.events[index2][1].end.offset>lineStartOffset)){return}}const indexBeforeExits=self.events.length;let indexBeforeFlow=indexBeforeExits;let seen;let point3;while(indexBeforeFlow--){if(self.events[indexBeforeFlow][0]==="exit"&&self.events[indexBeforeFlow][1].type==="chunkFlow"){if(seen){point3=self.events[indexBeforeFlow][1].end;break}seen=true}}exitContainers(continued);index2=indexBeforeExits;while(index2<self.events.length){self.events[index2][1].end={...point3};index2++}splice(self.events,indexBeforeFlow+1,0,self.events.slice(indexBeforeExits));self.events.length=index2}}function exitContainers(size){let index2=stack.length;while(index2-- >size){const entry=stack[index2];self.containerState=entry[1];entry[0].exit.call(self,effects)}stack.length=size}function closeFlow(){childFlow.write([null]);childToken=void 0;childFlow=void 0;self.containerState._closeFlow=void 0}}function tokenizeContainer(effects,ok3,nok){return factorySpace(effects,effects.attempt(this.parser.constructs.document,ok3,nok),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var flow={tokenize:initializeFlow};function initializeFlow(effects){const self=this;const initial=effects.attempt(blankLine,atBlankEnding,effects.attempt(this.parser.constructs.flowInitial,afterConstruct,factorySpace(effects,effects.attempt(this.parser.constructs.flow,afterConstruct,effects.attempt(content,afterConstruct)),"linePrefix")));return initial;function atBlankEnding(code3){if(code3===null){effects.consume(code3);return}effects.enter("lineEndingBlank");effects.consume(code3);effects.exit("lineEndingBlank");self.currentConstruct=void 0;return initial}function afterConstruct(code3){if(code3===null){effects.consume(code3);return}effects.enter("lineEnding");effects.consume(code3);effects.exit("lineEnding");self.currentConstruct=void 0;return initial}}var resolver={resolveAll:createResolver()};var string=initializeFactory("string");var text3=initializeFactory("text");function initializeFactory(field){return{resolveAll:createResolver(field==="text"?resolveAllLineSuffixes:void 0),tokenize:initializeText};function initializeText(effects){const self=this;const constructs2=this.parser.constructs[field];const text5=effects.attempt(constructs2,start,notText);return start;function start(code3){return atBreak(code3)?text5(code3):notText(code3)}function notText(code3){if(code3===null){effects.consume(code3);return}effects.enter("data");effects.consume(code3);return data}function data(code3){if(atBreak(code3)){effects.exit("data");return text5(code3)}effects.consume(code3);return data}function atBreak(code3){if(code3===null){return true}const list3=constructs2[code3];let index2=-1;if(list3){while(++index2<list3.length){const item=list3[index2];if(!item.previous||item.previous.call(self,self.previous)){return true}}}return false}}}function createResolver(extraResolver){return resolveAllText;function resolveAllText(events,context){let index2=-1;let enter;while(++index2<=events.length){if(enter===void 0){if(events[index2]&&events[index2][1].type==="data"){enter=index2;index2++}}else if(!events[index2]||events[index2][1].type!=="data"){if(index2!==enter+2){events[enter][1].end=events[index2-1][1].end;events.splice(enter+2,index2-enter-2);index2=enter+2}enter=void 0}}return extraResolver?extraResolver(events,context):events}}function resolveAllLineSuffixes(events,context){let eventIndex=0;while(++eventIndex<=events.length){if((eventIndex===events.length||events[eventIndex][1].type==="lineEnding")&&events[eventIndex-1][1].type==="data"){const data=events[eventIndex-1][1];const chunks=context.sliceStream(data);let index2=chunks.length;let bufferIndex=-1;let size=0;let tabs;while(index2--){const chunk=chunks[index2];if(typeof chunk==="string"){bufferIndex=chunk.length;while(chunk.charCodeAt(bufferIndex-1)===32){size++;bufferIndex--}if(bufferIndex)break;bufferIndex=-1}else if(chunk===-2){tabs=true;size++}else if(chunk===-1){}else{index2++;break}}if(context._contentTypeTextTrailing&&eventIndex===events.length){size=0}if(size){const token={type:eventIndex===events.length||tabs||size<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:index2?bufferIndex:data.start._bufferIndex+bufferIndex,_index:data.start._index+index2,line:data.end.line,column:data.end.column-size,offset:data.end.offset-size},end:{...data.end}};data.end={...token.start};if(data.start.offset===data.end.offset){Object.assign(data,token)}else{events.splice(eventIndex,0,["enter",token,context],["exit",token,context]);eventIndex+=2}}eventIndex++}}return events}var constructs_exports={};__export(constructs_exports,{attentionMarkers:()=>attentionMarkers,contentInitial:()=>contentInitial,disable:()=>disable,document:()=>document2,flow:()=>flow2,flowInitial:()=>flowInitial,insideSpan:()=>insideSpan,string:()=>string2,text:()=>text4});var document2={[42]:list2,[43]:list2,[45]:list2,[48]:list2,[49]:list2,[50]:list2,[51]:list2,[52]:list2,[53]:list2,[54]:list2,[55]:list2,[56]:list2,[57]:list2,[62]:blockQuote};var contentInitial={[91]:definition2};var flowInitial={[-2]:codeIndented,[-1]:codeIndented,[32]:codeIndented};var flow2={[35]:headingAtx,[42]:thematicBreak2,[45]:[setextUnderline,thematicBreak2],[60]:htmlFlow,[61]:setextUnderline,[95]:thematicBreak2,[96]:codeFenced,[126]:codeFenced};var string2={[38]:characterReference,[92]:characterEscape};var text4={[-5]:lineEnding,[-4]:lineEnding,[-3]:lineEnding,[33]:labelStartImage,[38]:characterReference,[42]:attention,[60]:[autolink,htmlText],[91]:labelStartLink,[92]:[hardBreakEscape,characterEscape],[93]:labelEnd,[95]:attention,[96]:codeText};var insideSpan={null:[attention,resolver]};var attentionMarkers={null:[42,95]};var disable={null:[]};function createTokenizer(parser,initialize,from){let point3={_bufferIndex:-1,_index:0,line:from&&from.line||1,column:from&&from.column||1,offset:from&&from.offset||0};const columnStart={};const resolveAllConstructs=[];let chunks=[];let stack=[];let consumed=true;const effects={attempt:constructFactory(onsuccessfulconstruct),check:constructFactory(onsuccessfulcheck),consume,enter,exit:exit3,interrupt:constructFactory(onsuccessfulcheck,{interrupt:true})};const context={code:null,containerState:{},defineSkip,events:[],now,parser,previous:null,sliceSerialize,sliceStream,write};let state=initialize.tokenize.call(context,effects);let expectedCode;if(initialize.resolveAll){resolveAllConstructs.push(initialize)}return context;function write(slice){chunks=push(chunks,slice);main();if(chunks[chunks.length-1]!==null){return[]}addResult(initialize,0);context.events=resolveAll(resolveAllConstructs,context.events,context);return context.events}function sliceSerialize(token,expandTabs){return serializeChunks(sliceStream(token),expandTabs)}function sliceStream(token){return sliceChunks(chunks,token)}function now(){const{_bufferIndex,_index,line,column,offset}=point3;return{_bufferIndex,_index,line,column,offset}}function defineSkip(value2){columnStart[value2.line]=value2.column;accountForPotentialSkip()}function main(){let chunkIndex;while(point3._index<chunks.length){const chunk=chunks[point3._index];if(typeof chunk==="string"){chunkIndex=point3._index;if(point3._bufferIndex<0){point3._bufferIndex=0}while(point3._index===chunkIndex&&point3._bufferIndex<chunk.length){go(chunk.charCodeAt(point3._bufferIndex))}}else{go(chunk)}}}function go(code3){consumed=void 0;expectedCode=code3;state=state(code3)}function consume(code3){if(markdownLineEnding(code3)){point3.line++;point3.column=1;point3.offset+=code3===-3?2:1;accountForPotentialSkip()}else if(code3!==-1){point3.column++;point3.offset++}if(point3._bufferIndex<0){point3._index++}else{point3._bufferIndex++;if(point3._bufferIndex===chunks[point3._index].length){point3._bufferIndex=-1;point3._index++}}context.previous=code3;consumed=true}function enter(type,fields){const token=fields||{};token.type=type;token.start=now();context.events.push(["enter",token,context]);stack.push(token);return token}function exit3(type){const token=stack.pop();token.end=now();context.events.push(["exit",token,context]);return token}function onsuccessfulconstruct(construct,info){addResult(construct,info.from)}function onsuccessfulcheck(_,info){info.restore()}function constructFactory(onreturn,fields){return hook;function hook(constructs2,returnState,bogusState){let listOfConstructs;let constructIndex;let currentConstruct;let info;return Array.isArray(constructs2)?handleListOfConstructs(constructs2):"tokenize"in constructs2?handleListOfConstructs([constructs2]):handleMapOfConstructs(constructs2);function handleMapOfConstructs(map3){return start;function start(code3){const left=code3!==null&&map3[code3];const all2=code3!==null&&map3.null;const list3=[...Array.isArray(left)?left:left?[left]:[],...Array.isArray(all2)?all2:all2?[all2]:[]];return handleListOfConstructs(list3)(code3)}}function handleListOfConstructs(list3){listOfConstructs=list3;constructIndex=0;if(list3.length===0){return bogusState}return handleConstruct(list3[constructIndex])}function handleConstruct(construct){return start;function start(code3){info=store();currentConstruct=construct;if(!construct.partial){context.currentConstruct=construct}if(construct.name&&context.parser.constructs.disable.null.includes(construct.name)){return nok(code3)}return construct.tokenize.call(fields?Object.assign(Object.create(context),fields):context,effects,ok3,nok)(code3)}}function ok3(code3){consumed=true;onreturn(currentConstruct,info);return returnState}function nok(code3){consumed=true;info.restore();if(++constructIndex<listOfConstructs.length){return handleConstruct(listOfConstructs[constructIndex])}return bogusState}}}function addResult(construct,from2){if(construct.resolveAll&&!resolveAllConstructs.includes(construct)){resolveAllConstructs.push(construct)}if(construct.resolve){splice(context.events,from2,context.events.length-from2,construct.resolve(context.events.slice(from2),context))}if(construct.resolveTo){context.events=construct.resolveTo(context.events,context)}}function store(){const startPoint=now();const startPrevious=context.previous;const startCurrentConstruct=context.currentConstruct;const startEventsIndex=context.events.length;const startStack=Array.from(stack);return{from:startEventsIndex,restore};function restore(){point3=startPoint;context.previous=startPrevious;context.currentConstruct=startCurrentConstruct;context.events.length=startEventsIndex;stack=startStack;accountForPotentialSkip()}}function accountForPotentialSkip(){if(point3.line in columnStart&&point3.column<2){point3.column=columnStart[point3.line];point3.offset+=columnStart[point3.line]-1}}}function sliceChunks(chunks,token){const startIndex=token.start._index;const startBufferIndex=token.start._bufferIndex;const endIndex=token.end._index;const endBufferIndex=token.end._bufferIndex;let view;if(startIndex===endIndex){view=[chunks[startIndex].slice(startBufferIndex,endBufferIndex)]}else{view=chunks.slice(startIndex,endIndex);if(startBufferIndex>-1){const head=view[0];if(typeof head==="string"){view[0]=head.slice(startBufferIndex)}else{view.shift()}}if(endBufferIndex>0){view.push(chunks[endIndex].slice(0,endBufferIndex))}}return view}function serializeChunks(chunks,expandTabs){let index2=-1;const result=[];let atTab;while(++index2<chunks.length){const chunk=chunks[index2];let value2;if(typeof chunk==="string"){value2=chunk}else switch(chunk){case-5:{value2="\r";break}case-4:{value2="\n";break}case-3:{value2="\r\n";break}case-2:{value2=expandTabs?" ":" ";break}case-1:{if(!expandTabs&&atTab)continue;value2=" ";break}default:{value2=String.fromCharCode(chunk)}}atTab=chunk===-2;result.push(value2)}return result.join("")}function parse(options){const settings=options||{};const constructs2=combineExtensions([constructs_exports,...settings.extensions||[]]);const parser={constructs:constructs2,content:create2(content2),defined:[],document:create2(document),flow:create2(flow),lazy:{},string:create2(string),text:create2(text3)};return parser;function create2(initial){return creator;function creator(from){return createTokenizer(parser,initial,from)}}}function postprocess(events){while(!subtokenize(events)){}return events}var search=/[\0\t\n\r]/g;function preprocess(){let column=1;let buffer="";let start=true;let atCarriageReturn;return preprocessor;function preprocessor(value2,encoding,end){const chunks=[];let match;let next;let startPosition;let endPosition;let code3;value2=buffer+(typeof value2==="string"?value2.toString():new TextDecoder(encoding||void 0).decode(value2));startPosition=0;buffer="";if(start){if(value2.charCodeAt(0)===65279){startPosition++}start=void 0}while(startPosition<value2.length){search.lastIndex=startPosition;match=search.exec(value2);endPosition=match&&match.index!==void 0?match.index:value2.length;code3=value2.charCodeAt(endPosition);if(!match){buffer=value2.slice(startPosition);break}if(code3===10&&startPosition===endPosition&&atCarriageReturn){chunks.push(-3);atCarriageReturn=void 0}else{if(atCarriageReturn){chunks.push(-5);atCarriageReturn=void 0}if(startPosition<endPosition){chunks.push(value2.slice(startPosition,endPosition));column+=endPosition-startPosition}switch(code3){case 0:{chunks.push(65533);column++;break}case 9:{next=Math.ceil(column/4)*4;chunks.push(-2);while(column++<next)chunks.push(-1);break}case 10:{chunks.push(-4);column=1;break}default:{atCarriageReturn=true;column=1}}}startPosition=endPosition+1}if(end){if(atCarriageReturn)chunks.push(-5);if(buffer)chunks.push(buffer);chunks.push(null)}return chunks}}function stringifyPosition(value2){if(!value2||typeof value2!=="object"){return""}if("position"in value2||"type"in value2){return position(value2.position)}if("start"in value2||"end"in value2){return position(value2)}if("line"in value2||"column"in value2){return point(value2)}return""}function point(point3){return index(point3&&point3.line)+":"+index(point3&&point3.column)}function position(pos){return point(pos&&pos.start)+"-"+point(pos&&pos.end)}function index(value2){return value2&&typeof value2==="number"?value2:1}var own7={}.hasOwnProperty;function fromMarkdown(value2,encoding,options){if(encoding&&typeof encoding==="object"){options=encoding;encoding=void 0}return compiler(options)(postprocess(parse(options).document().write(preprocess()(value2,encoding,true))))}function compiler(options){const config={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:opener2(link2),autolinkProtocol:onenterdata,autolinkEmail:onenterdata,atxHeading:opener2(heading2),blockQuote:opener2(blockQuote2),characterEscape:onenterdata,characterReference:onenterdata,codeFenced:opener2(codeFlow),codeFencedFenceInfo:buffer,codeFencedFenceMeta:buffer,codeIndented:opener2(codeFlow,buffer),codeText:opener2(codeText2,buffer),codeTextData:onenterdata,data:onenterdata,codeFlowValue:onenterdata,definition:opener2(definition3),definitionDestinationString:buffer,definitionLabelString:buffer,definitionTitleString:buffer,emphasis:opener2(emphasis2),hardBreakEscape:opener2(hardBreak2),hardBreakTrailing:opener2(hardBreak2),htmlFlow:opener2(html2,buffer),htmlFlowData:onenterdata,htmlText:opener2(html2,buffer),htmlTextData:onenterdata,image:opener2(image2),label:buffer,link:opener2(link2),listItem:opener2(listItem2),listItemValue:onenterlistitemvalue,listOrdered:opener2(list3,onenterlistordered),listUnordered:opener2(list3),paragraph:opener2(paragraph2),reference:onenterreference,referenceString:buffer,resourceDestinationString:buffer,resourceTitleString:buffer,setextHeading:opener2(heading2),strong:opener2(strong2),thematicBreak:opener2(thematicBreak3)},exit:{atxHeading:closer(),atxHeadingSequence:onexitatxheadingsequence,autolink:closer(),autolinkEmail:onexitautolinkemail,autolinkProtocol:onexitautolinkprotocol,blockQuote:closer(),characterEscapeValue:onexitdata,characterReferenceMarkerHexadecimal:onexitcharacterreferencemarker,characterReferenceMarkerNumeric:onexitcharacterreferencemarker,characterReferenceValue:onexitcharacterreferencevalue,characterReference:onexitcharacterreference,codeFenced:closer(onexitcodefenced),codeFencedFence:onexitcodefencedfence,codeFencedFenceInfo:onexitcodefencedfenceinfo,codeFencedFenceMeta:onexitcodefencedfencemeta,codeFlowValue:onexitdata,codeIndented:closer(onexitcodeindented),codeText:closer(onexitcodetext),codeTextData:onexitdata,data:onexitdata,definition:closer(),definitionDestinationString:onexitdefinitiondestinationstring,definitionLabelString:onexitdefinitionlabelstring,definitionTitleString:onexitdefinitiontitlestring,emphasis:closer(),hardBreakEscape:closer(onexithardbreak),hardBreakTrailing:closer(onexithardbreak),htmlFlow:closer(onexithtmlflow),htmlFlowData:onexitdata,htmlText:closer(onexithtmltext),htmlTextData:onexitdata,image:closer(onexitimage),label:onexitlabel,labelText:onexitlabeltext,lineEnding:onexitlineending,link:closer(onexitlink),listItem:closer(),listOrdered:closer(),listUnordered:closer(),paragraph:closer(),referenceString:onexitreferencestring,resourceDestinationString:onexitresourcedestinationstring,resourceTitleString:onexitresourcetitlestring,resource:onexitresource,setextHeading:closer(onexitsetextheading),setextHeadingLineSequence:onexitsetextheadinglinesequence,setextHeadingText:onexitsetextheadingtext,strong:closer(),thematicBreak:closer()}};configure2(config,(options||{}).mdastExtensions||[]);const data={};return compile2;function compile2(events){let tree={type:"root",children:[]};const context={stack:[tree],tokenStack:[],config,enter,exit:exit3,buffer,resume,data};const listStack=[];let index2=-1;while(++index2<events.length){if(events[index2][1].type==="listOrdered"||events[index2][1].type==="listUnordered"){if(events[index2][0]==="enter"){listStack.push(index2)}else{const tail=listStack.pop();index2=prepareList(events,tail,index2)}}}index2=-1;while(++index2<events.length){const handler2=config[events[index2][0]];if(own7.call(handler2,events[index2][1].type)){handler2[events[index2][1].type].call(Object.assign({sliceSerialize:events[index2][2].sliceSerialize},context),events[index2][1])}}if(context.tokenStack.length>0){const tail=context.tokenStack[context.tokenStack.length-1];const handler2=tail[1]||defaultOnError;handler2.call(context,void 0,tail[0])}tree.position={start:point2(events.length>0?events[0][1].start:{line:1,column:1,offset:0}),end:point2(events.length>0?events[events.length-2][1].end:{line:1,column:1,offset:0})};index2=-1;while(++index2<config.transforms.length){tree=config.transforms[index2](tree)||tree}return tree}function prepareList(events,start,length){let index2=start-1;let containerBalance=-1;let listSpread=false;let listItem3;let lineIndex;let firstBlankLineIndex;let atMarker;while(++index2<=length){const event=events[index2];switch(event[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{if(event[0]==="enter"){containerBalance++}else{containerBalance--}atMarker=void 0;break}case"lineEndingBlank":{if(event[0]==="enter"){if(listItem3&&!atMarker&&!containerBalance&&!firstBlankLineIndex){firstBlankLineIndex=index2}atMarker=void 0}break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":{break}default:{atMarker=void 0}}if(!containerBalance&&event[0]==="enter"&&event[1].type==="listItemPrefix"||containerBalance===-1&&event[0]==="exit"&&(event[1].type==="listUnordered"||event[1].type==="listOrdered")){if(listItem3){let tailIndex=index2;lineIndex=void 0;while(tailIndex--){const tailEvent=events[tailIndex];if(tailEvent[1].type==="lineEnding"||tailEvent[1].type==="lineEndingBlank"){if(tailEvent[0]==="exit")continue;if(lineIndex){events[lineIndex][1].type="lineEndingBlank";listSpread=true}tailEvent[1].type="lineEnding";lineIndex=tailIndex}else if(tailEvent[1].type==="linePrefix"||tailEvent[1].type==="blockQuotePrefix"||tailEvent[1].type==="blockQuotePrefixWhitespace"||tailEvent[1].type==="blockQuoteMarker"||tailEvent[1].type==="listItemIndent"){}else{break}}if(firstBlankLineIndex&&(!lineIndex||firstBlankLineIndex<lineIndex)){listItem3._spread=true}listItem3.end=Object.assign({},lineIndex?events[lineIndex][1].start:event[1].end);events.splice(lineIndex||index2,0,["exit",listItem3,event[2]]);index2++;length++}if(event[1].type==="listItemPrefix"){const item={type:"listItem",_spread:false,start:Object.assign({},event[1].start),end:void 0};listItem3=item;events.splice(index2,0,["enter",item,event[2]]);index2++;length++;firstBlankLineIndex=void 0;atMarker=true}}}events[start][1]._spread=listSpread;return length}function opener2(create2,and){return open;function open(token){enter.call(this,create2(token),token);if(and)and.call(this,token)}}function buffer(){this.stack.push({type:"fragment",children:[]})}function enter(node2,token,errorHandler){const parent=this.stack[this.stack.length-1];const siblings=parent.children;siblings.push(node2);this.stack.push(node2);this.tokenStack.push([token,errorHandler||void 0]);node2.position={start:point2(token.start),end:void 0}}function closer(and){return close2;function close2(token){if(and)and.call(this,token);exit3.call(this,token)}}function exit3(token,onExitError){const node2=this.stack.pop();const open=this.tokenStack.pop();if(!open){throw new Error("Cannot close `"+token.type+"` ("+stringifyPosition({start:token.start,end:token.end})+"): it’s not open")}else if(open[0].type!==token.type){if(onExitError){onExitError.call(this,token,open[0])}else{const handler2=open[1]||defaultOnError;handler2.call(this,token,open[0])}}node2.position.end=point2(token.end)}function resume(){return toString(this.stack.pop())}function onenterlistordered(){this.data.expectingFirstListItemValue=true}function onenterlistitemvalue(token){if(this.data.expectingFirstListItemValue){const ancestor=this.stack[this.stack.length-2];ancestor.start=Number.parseInt(this.sliceSerialize(token),10);this.data.expectingFirstListItemValue=void 0}}function onexitcodefencedfenceinfo(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.lang=data2}function onexitcodefencedfencemeta(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.meta=data2}function onexitcodefencedfence(){if(this.data.flowCodeInside)return;this.buffer();this.data.flowCodeInside=true}function onexitcodefenced(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.value=data2.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"");this.data.flowCodeInside=void 0}function onexitcodeindented(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.value=data2.replace(/(\r?\n|\r)$/g,"")}function onexitdefinitionlabelstring(token){const label=this.resume();const node2=this.stack[this.stack.length-1];node2.label=label;node2.identifier=normalizeIdentifier(this.sliceSerialize(token)).toLowerCase()}function onexitdefinitiontitlestring(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.title=data2}function onexitdefinitiondestinationstring(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.url=data2}function onexitatxheadingsequence(token){const node2=this.stack[this.stack.length-1];if(!node2.depth){const depth=this.sliceSerialize(token).length;node2.depth=depth}}function onexitsetextheadingtext(){this.data.setextHeadingSlurpLineEnding=true}function onexitsetextheadinglinesequence(token){const node2=this.stack[this.stack.length-1];node2.depth=this.sliceSerialize(token).codePointAt(0)===61?1:2}function onexitsetextheading(){this.data.setextHeadingSlurpLineEnding=void 0}function onenterdata(token){const node2=this.stack[this.stack.length-1];const siblings=node2.children;let tail=siblings[siblings.length-1];if(!tail||tail.type!=="text"){tail=text5();tail.position={start:point2(token.start),end:void 0};siblings.push(tail)}this.stack.push(tail)}function onexitdata(token){const tail=this.stack.pop();tail.value+=this.sliceSerialize(token);tail.position.end=point2(token.end)}function onexitlineending(token){const context=this.stack[this.stack.length-1];if(this.data.atHardBreak){const tail=context.children[context.children.length-1];tail.position.end=point2(token.end);this.data.atHardBreak=void 0;return}if(!this.data.setextHeadingSlurpLineEnding&&config.canContainEols.includes(context.type)){onenterdata.call(this,token);onexitdata.call(this,token)}}function onexithardbreak(){this.data.atHardBreak=true}function onexithtmlflow(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.value=data2}function onexithtmltext(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.value=data2}function onexitcodetext(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.value=data2}function onexitlink(){const node2=this.stack[this.stack.length-1];if(this.data.inReference){const referenceType=this.data.referenceType||"shortcut";node2.type+="Reference";node2.referenceType=referenceType;delete node2.url;delete node2.title}else{delete node2.identifier;delete node2.label}this.data.referenceType=void 0}function onexitimage(){const node2=this.stack[this.stack.length-1];if(this.data.inReference){const referenceType=this.data.referenceType||"shortcut";node2.type+="Reference";node2.referenceType=referenceType;delete node2.url;delete node2.title}else{delete node2.identifier;delete node2.label}this.data.referenceType=void 0}function onexitlabeltext(token){const string3=this.sliceSerialize(token);const ancestor=this.stack[this.stack.length-2];ancestor.label=decodeString(string3);ancestor.identifier=normalizeIdentifier(string3).toLowerCase()}function onexitlabel(){const fragment=this.stack[this.stack.length-1];const value2=this.resume();const node2=this.stack[this.stack.length-1];this.data.inReference=true;if(node2.type==="link"){const children=fragment.children;node2.children=children}else{node2.alt=value2}}function onexitresourcedestinationstring(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.url=data2}function onexitresourcetitlestring(){const data2=this.resume();const node2=this.stack[this.stack.length-1];node2.title=data2}function onexitresource(){this.data.inReference=void 0}function onenterreference(){this.data.referenceType="collapsed"}function onexitreferencestring(token){const label=this.resume();const node2=this.stack[this.stack.length-1];node2.label=label;node2.identifier=normalizeIdentifier(this.sliceSerialize(token)).toLowerCase();this.data.referenceType="full"}function onexitcharacterreferencemarker(token){this.data.characterReferenceType=token.type}function onexitcharacterreferencevalue(token){const data2=this.sliceSerialize(token);const type=this.data.characterReferenceType;let value2;if(type){value2=decodeNumericCharacterReference(data2,type==="characterReferenceMarkerNumeric"?10:16);this.data.characterReferenceType=void 0}else{const result=decodeNamedCharacterReference(data2);value2=result}const tail=this.stack[this.stack.length-1];tail.value+=value2}function onexitcharacterreference(token){const tail=this.stack.pop();tail.position.end=point2(token.end)}function onexitautolinkprotocol(token){onexitdata.call(this,token);const node2=this.stack[this.stack.length-1];node2.url=this.sliceSerialize(token)}function onexitautolinkemail(token){onexitdata.call(this,token);const node2=this.stack[this.stack.length-1];node2.url="mailto:"+this.sliceSerialize(token)}function blockQuote2(){return{type:"blockquote",children:[]}}function codeFlow(){return{type:"code",lang:null,meta:null,value:""}}function codeText2(){return{type:"inlineCode",value:""}}function definition3(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function emphasis2(){return{type:"emphasis",children:[]}}function heading2(){return{type:"heading",depth:0,children:[]}}function hardBreak2(){return{type:"break"}}function html2(){return{type:"html",value:""}}function image2(){return{type:"image",title:null,url:"",alt:null}}function link2(){return{type:"link",title:null,url:"",children:[]}}function list3(token){return{type:"list",ordered:token.type==="listOrdered",start:null,spread:token._spread,children:[]}}function listItem2(token){return{type:"listItem",spread:token._spread,checked:null,children:[]}}function paragraph2(){return{type:"paragraph",children:[]}}function strong2(){return{type:"strong",children:[]}}function text5(){return{type:"text",value:""}}function thematicBreak3(){return{type:"thematicBreak"}}}function point2(d){return{line:d.line,column:d.column,offset:d.offset}}function configure2(combined,extensions){let index2=-1;while(++index2<extensions.length){const value2=extensions[index2];if(Array.isArray(value2)){configure2(combined,value2)}else{extension(combined,value2)}}}function extension(combined,extension2){let key;for(key in extension2){if(own7.call(extension2,key)){switch(key){case"canContainEols":{const right=extension2[key];if(right){combined[key].push(...right)}break}case"transforms":{const right=extension2[key];if(right){combined[key].push(...right)}break}case"enter":case"exit":{const right=extension2[key];if(right){Object.assign(combined[key],right)}break}}}}}function defaultOnError(left,right){if(left){throw new Error("Cannot close `"+left.type+"` ("+stringifyPosition({start:left.start,end:left.end})+"): a different token (`"+right.type+"`, "+stringifyPosition({start:right.start,end:right.end})+") is open")}else{throw new Error("Cannot close document, a token (`"+right.type+"`, "+stringifyPosition({start:right.start,end:right.end})+") is still open")}}function remarkParse(options){const self=this;self.parser=parser;function parser(doc){return fromMarkdown(doc,{...self.data("settings"),...options,extensions:self.data("micromarkExtensions")||[],mdastExtensions:self.data("fromMarkdownExtensions")||[]})}}function bail(error){if(error){throw error}}var import_extend=__toESM(require_extend_3_0());function isPlainObject(value2){if(typeof value2!=="object"||value2===null){return false}const prototype=Object.getPrototypeOf(value2);return(prototype===null||prototype===Object.prototype||Object.getPrototypeOf(prototype)===null)&&!(Symbol.toStringTag in value2)&&!(Symbol.iterator in value2)}function trough(){const fns=[];const pipeline={run,use};return pipeline;function run(...values){let middlewareIndex=-1;const callback=values.pop();if(typeof callback!=="function"){throw new TypeError("Expected function as last argument, not "+callback)}next(null,...values);function next(error,...output){const fn=fns[++middlewareIndex];let index2=-1;if(error){callback(error);return}while(++index2<values.length){if(output[index2]===null||output[index2]===void 0){output[index2]=values[index2]}}values=output;if(fn){wrap(fn,next)(...output)}else{callback(null,...output)}}}function use(middelware){if(typeof middelware!=="function"){throw new TypeError("Expected `middelware` to be a function, not "+middelware)}fns.push(middelware);return pipeline}}function wrap(middleware,callback){let called;return wrapped;function wrapped(...parameters){const fnExpectsCallback=middleware.length>parameters.length;let result;if(fnExpectsCallback){parameters.push(done)}try{result=middleware.apply(this,parameters)}catch(error){const exception=error;if(fnExpectsCallback&&called){throw exception}return done(exception)}if(!fnExpectsCallback){if(result&&result.then&&typeof result.then==="function"){result.then(then,done)}else if(result instanceof Error){done(result)}else{then(result)}}}function done(error,...output){if(!called){called=true;callback(error,...output)}}function then(value2){done(null,value2)}}var VFileMessage=class extends Error{constructor(causeOrReason,optionsOrParentOrPlace,origin){super();if(typeof optionsOrParentOrPlace==="string"){origin=optionsOrParentOrPlace;optionsOrParentOrPlace=void 0}let reason="";let options={};let legacyCause=false;if(optionsOrParentOrPlace){if("line"in optionsOrParentOrPlace&&"column"in optionsOrParentOrPlace){options={place:optionsOrParentOrPlace}}else if("start"in optionsOrParentOrPlace&&"end"in optionsOrParentOrPlace){options={place:optionsOrParentOrPlace}}else if("type"in optionsOrParentOrPlace){options={ancestors:[optionsOrParentOrPlace],place:optionsOrParentOrPlace.position}}else{options={...optionsOrParentOrPlace}}}if(typeof causeOrReason==="string"){reason=causeOrReason}else if(!options.cause&&causeOrReason){legacyCause=true;reason=causeOrReason.message;options.cause=causeOrReason}if(!options.ruleId&&!options.source&&typeof origin==="string"){const index2=origin.indexOf(":");if(index2===-1){options.ruleId=origin}else{options.source=origin.slice(0,index2);options.ruleId=origin.slice(index2+1)}}if(!options.place&&options.ancestors&&options.ancestors){const parent=options.ancestors[options.ancestors.length-1];if(parent){options.place=parent.position}}const start=options.place&&"start"in options.place?options.place.start:options.place;this.ancestors=options.ancestors||void 0;this.cause=options.cause||void 0;this.column=start?start.column:void 0;this.fatal=void 0;this.file="";this.message=reason;this.line=start?start.line:void 0;this.name=stringifyPosition(options.place)||"1:1";this.place=options.place||void 0;this.reason=this.message;this.ruleId=options.ruleId||void 0;this.source=options.source||void 0;this.stack=legacyCause&&options.cause&&typeof options.cause.stack==="string"?options.cause.stack:"";this.actual=void 0;this.expected=void 0;this.note=void 0;this.url=void 0}};VFileMessage.prototype.file="";VFileMessage.prototype.name="";VFileMessage.prototype.reason="";VFileMessage.prototype.message="";VFileMessage.prototype.stack="";VFileMessage.prototype.column=void 0;VFileMessage.prototype.line=void 0;VFileMessage.prototype.ancestors=void 0;VFileMessage.prototype.cause=void 0;VFileMessage.prototype.fatal=void 0;VFileMessage.prototype.place=void 0;VFileMessage.prototype.ruleId=void 0;VFileMessage.prototype.source=void 0;import{default as default2}from"node:path";import{default as default3}from"node:process";import{fileURLToPath}from"node:url";function isUrl(fileUrlOrPath){return Boolean(fileUrlOrPath!==null&&typeof fileUrlOrPath==="object"&&"href"in fileUrlOrPath&&fileUrlOrPath.href&&"protocol"in fileUrlOrPath&&fileUrlOrPath.protocol&&fileUrlOrPath.auth===void 0)}var order=["history","path","basename","stem","extname","dirname"];var VFile=class{constructor(value2){let options;if(!value2){options={}}else if(isUrl(value2)){options={path:value2}}else if(typeof value2==="string"||isUint8Array(value2)){options={value:value2}}else{options=value2}this.cwd="cwd"in options?"":default3.cwd();this.data={};this.history=[];this.messages=[];this.value;this.map;this.result;this.stored;let index2=-1;while(++index2<order.length){const field2=order[index2];if(field2 in options&&options[field2]!==void 0&&options[field2]!==null){this[field2]=field2==="history"?[...options[field2]]:options[field2]}}let field;for(field in options){if(!order.includes(field)){this[field]=options[field]}}}get basename(){return typeof this.path==="string"?default2.basename(this.path):void 0}set basename(basename){assertNonEmpty(basename,"basename");assertPart(basename,"basename");this.path=default2.join(this.dirname||"",basename)}get dirname(){return typeof this.path==="string"?default2.dirname(this.path):void 0}set dirname(dirname){assertPath(this.basename,"dirname");this.path=default2.join(dirname||"",this.basename)}get extname(){return typeof this.path==="string"?default2.extname(this.path):void 0}set extname(extname){assertPart(extname,"extname");assertPath(this.dirname,"extname");if(extname){if(extname.codePointAt(0)!==46){throw new Error("`extname` must start with `.`")}if(extname.includes(".",1)){throw new Error("`extname` cannot contain multiple dots")}}this.path=default2.join(this.dirname,this.stem+(extname||""))}get path(){return this.history[this.history.length-1]}set path(path2){if(isUrl(path2)){path2=fileURLToPath(path2)}assertNonEmpty(path2,"path");if(this.path!==path2){this.history.push(path2)}}get stem(){return typeof this.path==="string"?default2.basename(this.path,this.extname):void 0}set stem(stem){assertNonEmpty(stem,"stem");assertPart(stem,"stem");this.path=default2.join(this.dirname||"",stem+(this.extname||""))}fail(causeOrReason,optionsOrParentOrPlace,origin){const message=this.message(causeOrReason,optionsOrParentOrPlace,origin);message.fatal=true;throw message}info(causeOrReason,optionsOrParentOrPlace,origin){const message=this.message(causeOrReason,optionsOrParentOrPlace,origin);message.fatal=void 0;return message}message(causeOrReason,optionsOrParentOrPlace,origin){const message=new VFileMessage(causeOrReason,optionsOrParentOrPlace,origin);if(this.path){message.name=this.path+":"+message.name;message.file=this.path}message.fatal=false;this.messages.push(message);return message}toString(encoding){if(this.value===void 0){return""}if(typeof this.value==="string"){return this.value}const decoder=new TextDecoder(encoding||void 0);return decoder.decode(this.value)}};function assertPart(part,name){if(part&&part.includes(default2.sep)){throw new Error("`"+name+"` cannot be a path: did not expect `"+default2.sep+"`")}}function assertNonEmpty(part,name){if(!part){throw new Error("`"+name+"` cannot be empty")}}function assertPath(path2,name){if(!path2){throw new Error("Setting `"+name+"` requires `path` to be set too")}}function isUint8Array(value2){return Boolean(value2&&typeof value2==="object"&&"byteLength"in value2&&"byteOffset"in value2)}var CallableInstance=(function(property){const self=this;const constr=self.constructor;const proto=constr.prototype;const value2=proto[property];const apply=function(){return value2.apply(apply,arguments)};Object.setPrototypeOf(apply,proto);return apply});var own8={}.hasOwnProperty;var Processor=class _Processor extends CallableInstance{constructor(){super("copy");this.Compiler=void 0;this.Parser=void 0;this.attachers=[];this.compiler=void 0;this.freezeIndex=-1;this.frozen=void 0;this.namespace={};this.parser=void 0;this.transformers=trough()}copy(){const destination=new _Processor;let index2=-1;while(++index2<this.attachers.length){const attacher=this.attachers[index2];destination.use(...attacher)}destination.data((0,import_extend.default)(true,{},this.namespace));return destination}data(key,value2){if(typeof key==="string"){if(arguments.length===2){assertUnfrozen("data",this.frozen);this.namespace[key]=value2;return this}return own8.call(this.namespace,key)&&this.namespace[key]||void 0}if(key){assertUnfrozen("data",this.frozen);this.namespace=key;return this}return this.namespace}freeze(){if(this.frozen){return this}const self=this;while(++this.freezeIndex<this.attachers.length){const[attacher,...options]=this.attachers[this.freezeIndex];if(options[0]===false){continue}if(options[0]===true){options[0]=void 0}const transformer=attacher.call(self,...options);if(typeof transformer==="function"){this.transformers.use(transformer)}}this.frozen=true;this.freezeIndex=Number.POSITIVE_INFINITY;return this}parse(file){this.freeze();const realFile=vfile(file);const parser=this.parser||this.Parser;assertParser("parse",parser);return parser(String(realFile),realFile)}process(file,done){const self=this;this.freeze();assertParser("process",this.parser||this.Parser);assertCompiler("process",this.compiler||this.Compiler);return done?executor(void 0,done):new Promise(executor);function executor(resolve,reject){const realFile=vfile(file);const parseTree=self.parse(realFile);self.run(parseTree,realFile,function(error,tree,file2){if(error||!tree||!file2){return realDone(error)}const compileTree=tree;const compileResult=self.stringify(compileTree,file2);if(looksLikeAValue(compileResult)){file2.value=compileResult}else{file2.result=compileResult}realDone(error,file2)});function realDone(error,file2){if(error||!file2){reject(error)}else if(resolve){resolve(file2)}else{ok(done,"`done` is defined if `resolve` is not");done(void 0,file2)}}}}processSync(file){let complete=false;let result;this.freeze();assertParser("processSync",this.parser||this.Parser);assertCompiler("processSync",this.compiler||this.Compiler);this.process(file,realDone);assertDone("processSync","process",complete);ok(result,"we either bailed on an error or have a tree");return result;function realDone(error,file2){complete=true;bail(error);result=file2}}run(tree,file,done){assertNode(tree);this.freeze();const transformers=this.transformers;if(!done&&typeof file==="function"){done=file;file=void 0}return done?executor(void 0,done):new Promise(executor);function executor(resolve,reject){ok(typeof file!=="function","`file` can’t be a `done` anymore, we checked");const realFile=vfile(file);transformers.run(tree,realFile,realDone);function realDone(error,outputTree,file2){const resultingTree=outputTree||tree;if(error){reject(error)}else if(resolve){resolve(resultingTree)}else{ok(done,"`done` is defined if `resolve` is not");done(void 0,resultingTree,file2)}}}}runSync(tree,file){let complete=false;let result;this.run(tree,file,realDone);assertDone("runSync","run",complete);ok(result,"we either bailed on an error or have a tree");return result;function realDone(error,tree2){bail(error);result=tree2;complete=true}}stringify(tree,file){this.freeze();const realFile=vfile(file);const compiler2=this.compiler||this.Compiler;assertCompiler("stringify",compiler2);assertNode(tree);return compiler2(tree,realFile)}use(value2,...parameters){const attachers=this.attachers;const namespace=this.namespace;assertUnfrozen("use",this.frozen);if(value2===null||value2===void 0){}else if(typeof value2==="function"){addPlugin(value2,parameters)}else if(typeof value2==="object"){if(Array.isArray(value2)){addList(value2)}else{addPreset(value2)}}else{throw new TypeError("Expected usable value, not `"+value2+"`")}return this;function add(value3){if(typeof value3==="function"){addPlugin(value3,[])}else if(typeof value3==="object"){if(Array.isArray(value3)){const[plugin,...parameters2]=value3;addPlugin(plugin,parameters2)}else{addPreset(value3)}}else{throw new TypeError("Expected usable value, not `"+value3+"`")}}function addPreset(result){if(!("plugins"in result)&&!("settings"in result)){throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither")}addList(result.plugins);if(result.settings){namespace.settings=(0,import_extend.default)(true,namespace.settings,result.settings)}}function addList(plugins){let index2=-1;if(plugins===null||plugins===void 0){}else if(Array.isArray(plugins)){while(++index2<plugins.length){const thing=plugins[index2];add(thing)}}else{throw new TypeError("Expected a list of plugins, not `"+plugins+"`")}}function addPlugin(plugin,parameters2){let index2=-1;let entryIndex=-1;while(++index2<attachers.length){if(attachers[index2][0]===plugin){entryIndex=index2;break}}if(entryIndex===-1){attachers.push([plugin,...parameters2])}else if(parameters2.length>0){let[primary,...rest]=parameters2;const currentPrimary=attachers[entryIndex][1];if(isPlainObject(currentPrimary)&&isPlainObject(primary)){primary=(0,import_extend.default)(true,currentPrimary,primary)}attachers[entryIndex]=[plugin,primary,...rest]}}}};var unified=new Processor().freeze();function assertParser(name,value2){if(typeof value2!=="function"){throw new TypeError("Cannot `"+name+"` without `parser`")}}function assertCompiler(name,value2){if(typeof value2!=="function"){throw new TypeError("Cannot `"+name+"` without `compiler`")}}function assertUnfrozen(name,frozen){if(frozen){throw new Error("Cannot call `"+name+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}}function assertNode(node2){if(!isPlainObject(node2)||typeof node2.type!=="string"){throw new TypeError("Expected node, got `"+node2+"`")}}function assertDone(name,asyncName,complete){if(!complete){throw new Error("`"+name+"` finished async. Use `"+asyncName+"` instead")}}function vfile(value2){return looksLikeAVFile(value2)?value2:new VFile(value2)}function looksLikeAVFile(value2){return Boolean(value2&&typeof value2==="object"&&"message"in value2&&"messages"in value2)}function looksLikeAValue(value2){return typeof value2==="string"||isUint8Array2(value2)}function isUint8Array2(value2){return Boolean(value2&&typeof value2==="object"&&"byteLength"in value2&&"byteOffset"in value2)}export{BananaSlug as GithubSlugger,remarkFrontmatter,remarkGfm,remarkParse,toString,unified,visit};
|