@slidev/parser 0.28.1 → 0.28.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fs.js CHANGED
@@ -14,32 +14,4774 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkWBX4FRCIjs = require('./chunk-WBX4FRCI.js');
17
+
18
+
19
+
20
+ var _chunkMNCWYMHNjs = require('./chunk-MNCWYMHN.js');
21
+
22
+ // ../../node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json
23
+ var require_entities = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
24
+ "../../node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json"(exports, module) {
25
+ module.exports = { Aacute: "\xC1", aacute: "\xE1", Abreve: "\u0102", abreve: "\u0103", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", Acirc: "\xC2", acirc: "\xE2", acute: "\xB4", Acy: "\u0410", acy: "\u0430", AElig: "\xC6", aelig: "\xE6", af: "\u2061", Afr: "\u{1D504}", afr: "\u{1D51E}", Agrave: "\xC0", agrave: "\xE0", alefsym: "\u2135", aleph: "\u2135", Alpha: "\u0391", alpha: "\u03B1", Amacr: "\u0100", amacr: "\u0101", amalg: "\u2A3F", amp: "&", AMP: "&", andand: "\u2A55", And: "\u2A53", and: "\u2227", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angmsd: "\u2221", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", Aogon: "\u0104", aogon: "\u0105", Aopf: "\u{1D538}", aopf: "\u{1D552}", apacir: "\u2A6F", ap: "\u2248", apE: "\u2A70", ape: "\u224A", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", Aring: "\xC5", aring: "\xE5", Ascr: "\u{1D49C}", ascr: "\u{1D4B6}", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", Atilde: "\xC3", atilde: "\xE3", Auml: "\xC4", auml: "\xE4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", Bcy: "\u0411", bcy: "\u0431", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", Beta: "\u0392", beta: "\u03B2", beth: "\u2136", between: "\u226C", Bfr: "\u{1D505}", bfr: "\u{1D51F}", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bNot: "\u2AED", bnot: "\u2310", Bopf: "\u{1D539}", bopf: "\u{1D553}", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxHd: "\u2564", boxhD: "\u2565", boxHD: "\u2566", boxhu: "\u2534", boxHu: "\u2567", boxhU: "\u2568", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\u{1D4B7}", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsolb: "\u29C5", bsol: "\\", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpE: "\u2AAE", bumpe: "\u224F", Bumpeq: "\u224E", bumpeq: "\u224F", Cacute: "\u0106", cacute: "\u0107", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", cap: "\u2229", Cap: "\u22D2", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", Ccaron: "\u010C", ccaron: "\u010D", Ccedil: "\xC7", ccedil: "\xE7", Ccirc: "\u0108", ccirc: "\u0109", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", Cdot: "\u010A", cdot: "\u010B", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\u{1D520}", Cfr: "\u212D", CHcy: "\u0427", chcy: "\u0447", check: "\u2713", checkmark: "\u2713", Chi: "\u03A7", chi: "\u03C7", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", cir: "\u25CB", cirE: "\u29C3", cire: "\u2257", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", Colone: "\u2A74", colone: "\u2254", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\u{1D554}", Copf: "\u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\u21B5", cross: "\u2717", Cross: "\u2A2F", Cscr: "\u{1D49E}", cscr: "\u{1D4B8}", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cup: "\u222A", Cup: "\u22D3", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", Darr: "\u21A1", dArr: "\u21D3", dash: "\u2010", Dashv: "\u2AE4", dashv: "\u22A3", dbkarow: "\u290F", dblac: "\u02DD", Dcaron: "\u010E", dcaron: "\u010F", Dcy: "\u0414", dcy: "\u0434", ddagger: "\u2021", ddarr: "\u21CA", DD: "\u2145", dd: "\u2146", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", Delta: "\u0394", delta: "\u03B4", demptyv: "\u29B1", dfisht: "\u297F", Dfr: "\u{1D507}", dfr: "\u{1D521}", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", DJcy: "\u0402", djcy: "\u0452", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", Dopf: "\u{1D53B}", dopf: "\u{1D555}", Dot: "\xA8", dot: "\u02D9", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\u21D5", DoubleVerticalBar: "\u2225", DownArrowBar: "\u2913", downarrow: "\u2193", DownArrow: "\u2193", Downarrow: "\u21D3", DownArrowUpArrow: "\u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVectorBar: "\u2956", DownLeftVector: "\u21BD", DownRightTeeVector: "\u295F", DownRightVectorBar: "\u2957", DownRightVector: "\u21C1", DownTeeArrow: "\u21A7", DownTee: "\u22A4", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", Dscr: "\u{1D49F}", dscr: "\u{1D4B9}", DScy: "\u0405", dscy: "\u0455", dsol: "\u29F6", Dstrok: "\u0110", dstrok: "\u0111", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", DZcy: "\u040F", dzcy: "\u045F", dzigrarr: "\u27FF", Eacute: "\xC9", eacute: "\xE9", easter: "\u2A6E", Ecaron: "\u011A", ecaron: "\u011B", Ecirc: "\xCA", ecirc: "\xEA", ecir: "\u2256", ecolon: "\u2255", Ecy: "\u042D", ecy: "\u044D", eDDot: "\u2A77", Edot: "\u0116", edot: "\u0117", eDot: "\u2251", ee: "\u2147", efDot: "\u2252", Efr: "\u{1D508}", efr: "\u{1D522}", eg: "\u2A9A", Egrave: "\xC8", egrave: "\xE8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", elsdot: "\u2A97", Emacr: "\u0112", emacr: "\u0113", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp13: "\u2004", emsp14: "\u2005", emsp: "\u2003", ENG: "\u014A", eng: "\u014B", ensp: "\u2002", Eogon: "\u0118", eogon: "\u0119", Eopf: "\u{1D53C}", eopf: "\u{1D556}", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", Epsilon: "\u0395", epsilon: "\u03B5", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", Esim: "\u2A73", esim: "\u2242", Eta: "\u0397", eta: "\u03B7", ETH: "\xD0", eth: "\xF0", Euml: "\xCB", euml: "\xEB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", Fcy: "\u0424", fcy: "\u0444", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", Ffr: "\u{1D509}", ffr: "\u{1D523}", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", Fopf: "\u{1D53D}", fopf: "\u{1D557}", forall: "\u2200", ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\u{1D4BB}", Fscr: "\u2131", gacute: "\u01F5", Gamma: "\u0393", gamma: "\u03B3", Gammad: "\u03DC", gammad: "\u03DD", gap: "\u2A86", Gbreve: "\u011E", gbreve: "\u011F", Gcedil: "\u0122", Gcirc: "\u011C", gcirc: "\u011D", Gcy: "\u0413", gcy: "\u0433", Gdot: "\u0120", gdot: "\u0121", ge: "\u2265", gE: "\u2267", gEl: "\u2A8C", gel: "\u22DB", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", gescc: "\u2AA9", ges: "\u2A7E", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", Gfr: "\u{1D50A}", gfr: "\u{1D524}", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", GJcy: "\u0403", gjcy: "\u0453", gla: "\u2AA5", gl: "\u2277", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", Gopf: "\u{1D53E}", gopf: "\u{1D558}", grave: "`", GreaterEqual: "\u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", Gscr: "\u{1D4A2}", gscr: "\u210A", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gtcc: "\u2AA7", gtcir: "\u2A7A", gt: ">", GT: ">", Gt: "\u226B", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", HARDcy: "\u042A", hardcy: "\u044A", harrcir: "\u2948", harr: "\u2194", hArr: "\u21D4", harrw: "\u21AD", Hat: "^", hbar: "\u210F", Hcirc: "\u0124", hcirc: "\u0125", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\u{1D525}", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", hookrightarrow: "\u21AA", hopf: "\u{1D559}", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\u{1D4BD}", Hscr: "\u210B", hslash: "\u210F", Hstrok: "\u0126", hstrok: "\u0127", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", Iacute: "\xCD", iacute: "\xED", ic: "\u2063", Icirc: "\xCE", icirc: "\xEE", Icy: "\u0418", icy: "\u0438", Idot: "\u0130", IEcy: "\u0415", iecy: "\u0435", iexcl: "\xA1", iff: "\u21D4", ifr: "\u{1D526}", Ifr: "\u2111", Igrave: "\xCC", igrave: "\xEC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", IJlig: "\u0132", ijlig: "\u0133", Imacr: "\u012A", imacr: "\u012B", image: "\u2111", ImaginaryI: "\u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", Im: "\u2111", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", incare: "\u2105", in: "\u2208", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", intcal: "\u22BA", int: "\u222B", Int: "\u222C", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", IOcy: "\u0401", iocy: "\u0451", Iogon: "\u012E", iogon: "\u012F", Iopf: "\u{1D540}", iopf: "\u{1D55A}", Iota: "\u0399", iota: "\u03B9", iprod: "\u2A3C", iquest: "\xBF", iscr: "\u{1D4BE}", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\u22F3", isinv: "\u2208", it: "\u2062", Itilde: "\u0128", itilde: "\u0129", Iukcy: "\u0406", iukcy: "\u0456", Iuml: "\xCF", iuml: "\xEF", Jcirc: "\u0134", jcirc: "\u0135", Jcy: "\u0419", jcy: "\u0439", Jfr: "\u{1D50D}", jfr: "\u{1D527}", jmath: "\u0237", Jopf: "\u{1D541}", jopf: "\u{1D55B}", Jscr: "\u{1D4A5}", jscr: "\u{1D4BF}", Jsercy: "\u0408", jsercy: "\u0458", Jukcy: "\u0404", jukcy: "\u0454", Kappa: "\u039A", kappa: "\u03BA", kappav: "\u03F0", Kcedil: "\u0136", kcedil: "\u0137", Kcy: "\u041A", kcy: "\u043A", Kfr: "\u{1D50E}", kfr: "\u{1D528}", kgreen: "\u0138", KHcy: "\u0425", khcy: "\u0445", KJcy: "\u040C", kjcy: "\u045C", Kopf: "\u{1D542}", kopf: "\u{1D55C}", Kscr: "\u{1D4A6}", kscr: "\u{1D4C0}", lAarr: "\u21DA", Lacute: "\u0139", lacute: "\u013A", laemptyv: "\u29B4", lagran: "\u2112", Lambda: "\u039B", lambda: "\u03BB", lang: "\u27E8", Lang: "\u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larrb: "\u21E4", larrbfs: "\u291F", larr: "\u2190", Larr: "\u219E", lArr: "\u21D0", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", latail: "\u2919", lAtail: "\u291B", lat: "\u2AAB", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", Lcaron: "\u013D", lcaron: "\u013E", Lcedil: "\u013B", lcedil: "\u013C", lceil: "\u2308", lcub: "{", Lcy: "\u041B", lcy: "\u043B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", LeftArrowBar: "\u21E4", leftarrow: "\u2190", LeftArrow: "\u2190", Leftarrow: "\u21D0", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVectorBar: "\u2959", LeftDownVector: "\u21C3", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\u21C7", leftrightarrow: "\u2194", LeftRightArrow: "\u2194", Leftrightarrow: "\u21D4", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTeeArrow: "\u21A4", LeftTee: "\u22A3", LeftTeeVector: "\u295A", leftthreetimes: "\u22CB", LeftTriangleBar: "\u29CF", LeftTriangle: "\u22B2", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVectorBar: "\u2958", LeftUpVector: "\u21BF", LeftVectorBar: "\u2952", LeftVector: "\u21BC", lEg: "\u2A8B", leg: "\u22DA", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", lescc: "\u2AA8", les: "\u2A7D", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\u297C", lfloor: "\u230A", Lfr: "\u{1D50F}", lfr: "\u{1D529}", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", LJcy: "\u0409", ljcy: "\u0459", llarr: "\u21C7", ll: "\u226A", Ll: "\u22D8", llcorner: "\u231E", Lleftarrow: "\u21DA", llhard: "\u296B", lltri: "\u25FA", Lmidot: "\u013F", lmidot: "\u0140", lmoustache: "\u23B0", lmoust: "\u23B0", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\u27F5", LongLeftArrow: "\u27F5", Longleftarrow: "\u27F8", longleftrightarrow: "\u27F7", LongLeftRightArrow: "\u27F7", Longleftrightarrow: "\u27FA", longmapsto: "\u27FC", longrightarrow: "\u27F6", LongRightArrow: "\u27F6", Longrightarrow: "\u27F9", looparrowleft: "\u21AB", looparrowright: "\u21AC", lopar: "\u2985", Lopf: "\u{1D543}", lopf: "\u{1D55D}", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\u{1D4C1}", Lscr: "\u2112", lsh: "\u21B0", Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", Lstrok: "\u0141", lstrok: "\u0142", ltcc: "\u2AA6", ltcir: "\u2A79", lt: "<", LT: "<", Lt: "\u226A", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", Map: "\u2905", map: "\u21A6", mapsto: "\u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", Mcy: "\u041C", mcy: "\u043C", mdash: "\u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", Mfr: "\u{1D510}", mfr: "\u{1D52A}", mho: "\u2127", micro: "\xB5", midast: "*", midcir: "\u2AF0", mid: "\u2223", middot: "\xB7", minusb: "\u229F", minus: "\u2212", minusd: "\u2238", minusdu: "\u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", Mopf: "\u{1D544}", mopf: "\u{1D55E}", mp: "\u2213", mscr: "\u{1D4C2}", Mscr: "\u2133", mstpos: "\u223E", Mu: "\u039C", mu: "\u03BC", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207", Nacute: "\u0143", nacute: "\u0144", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\u2249", natural: "\u266E", naturals: "\u2115", natur: "\u266E", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", Ncaron: "\u0147", ncaron: "\u0148", Ncedil: "\u0145", ncedil: "\u0146", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", Ncy: "\u041D", ncy: "\u043D", ndash: "\u2013", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", ne: "\u2260", nedot: "\u2250\u0338", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: "\n", nexist: "\u2204", nexists: "\u2204", Nfr: "\u{1D511}", nfr: "\u{1D52B}", ngE: "\u2267\u0338", nge: "\u2271", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", nGt: "\u226B\u20D2", ngt: "\u226F", ngtr: "\u226F", nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", NJcy: "\u040A", njcy: "\u045A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nlE: "\u2266\u0338", nle: "\u2270", nleftarrow: "\u219A", nLeftarrow: "\u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nLt: "\u226A\u20D2", nlt: "\u226E", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338", nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\u{1D55F}", Nopf: "\u2115", Not: "\u2AEC", not: "\xAC", NotCongruent: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangle: "\u22EA", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", NotReverseElement: "\u220C", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangle: "\u22EB", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\u2249", NotVerticalBar: "\u2224", nparallel: "\u2226", npar: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\u2280", nprcue: "\u22E0", nprec: "\u2280", npreceq: "\u2AAF\u0338", npre: "\u2AAF\u0338", nrarrc: "\u2933\u0338", nrarr: "\u219B", nrArr: "\u21CF", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", Nscr: "\u{1D4A9}", nscr: "\u{1D4C3}", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsubE: "\u2AC5\u0338", nsube: "\u2288", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupE: "\u2AC6\u0338", nsupe: "\u2289", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", Ntilde: "\xD1", ntilde: "\xF1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", Nu: "\u039D", nu: "\u03BD", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\u22AE", nVDash: "\u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6", nwarrow: "\u2196", nwnear: "\u2927", Oacute: "\xD3", oacute: "\xF3", oast: "\u229B", Ocirc: "\xD4", ocirc: "\xF4", ocir: "\u229A", Ocy: "\u041E", ocy: "\u043E", odash: "\u229D", Odblac: "\u0150", odblac: "\u0151", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", OElig: "\u0152", oelig: "\u0153", ofcir: "\u29BF", Ofr: "\u{1D512}", ofr: "\u{1D52C}", ogon: "\u02DB", Ograve: "\xD2", ograve: "\xF2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", Omacr: "\u014C", omacr: "\u014D", Omega: "\u03A9", omega: "\u03C9", Omicron: "\u039F", omicron: "\u03BF", omid: "\u29B6", ominus: "\u2296", Oopf: "\u{1D546}", oopf: "\u{1D560}", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", orarr: "\u21BB", Or: "\u2A54", or: "\u2228", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oS: "\u24C8", Oscr: "\u{1D4AA}", oscr: "\u2134", Oslash: "\xD8", oslash: "\xF8", osol: "\u2298", Otilde: "\xD5", otilde: "\xF5", otimesas: "\u2A36", Otimes: "\u2A37", otimes: "\u2297", Ouml: "\xD6", ouml: "\xF6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", para: "\xB6", parallel: "\u2225", par: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\u2202", PartialD: "\u2202", Pcy: "\u041F", pcy: "\u043F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", Pfr: "\u{1D513}", pfr: "\u{1D52D}", Phi: "\u03A6", phi: "\u03C6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", Pi: "\u03A0", pi: "\u03C0", pitchfork: "\u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plus: "+", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", Poincareplane: "\u210C", pointint: "\u2A15", popf: "\u{1D561}", Popf: "\u2119", pound: "\xA3", prap: "\u2AB7", Pr: "\u2ABB", pr: "\u227A", prcue: "\u227C", precapprox: "\u2AB7", prec: "\u227A", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", pre: "\u2AAF", prE: "\u2AB3", precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportional: "\u221D", Proportion: "\u2237", propto: "\u221D", prsim: "\u227E", prurel: "\u22B0", Pscr: "\u{1D4AB}", pscr: "\u{1D4C5}", Psi: "\u03A8", psi: "\u03C8", puncsp: "\u2008", Qfr: "\u{1D514}", qfr: "\u{1D52E}", qint: "\u2A0C", qopf: "\u{1D562}", Qopf: "\u211A", qprime: "\u2057", Qscr: "\u{1D4AC}", qscr: "\u{1D4C6}", quaternions: "\u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\u223D\u0331", Racute: "\u0154", racute: "\u0155", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raquo: "\xBB", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarr: "\u2192", Rarr: "\u21A0", rArr: "\u21D2", rarrfs: "\u291E", rarrhk: "\u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", Rarrtl: "\u2916", rarrtl: "\u21A3", rarrw: "\u219D", ratail: "\u291A", rAtail: "\u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", Rcaron: "\u0158", rcaron: "\u0159", Rcedil: "\u0156", rcedil: "\u0157", rceil: "\u2309", rcub: "}", Rcy: "\u0420", rcy: "\u0440", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", Re: "\u211C", rect: "\u25AD", reg: "\xAE", REG: "\xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\u{1D52F}", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", Rho: "\u03A1", rho: "\u03C1", rhov: "\u03F1", RightAngleBracket: "\u27E9", RightArrowBar: "\u21E5", rightarrow: "\u2192", RightArrow: "\u2192", Rightarrow: "\u21D2", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\u27E7", RightDownTeeVector: "\u295D", RightDownVectorBar: "\u2955", RightDownVector: "\u21C2", RightFloor: "\u230B", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTeeArrow: "\u21A6", RightTee: "\u22A2", RightTeeVector: "\u295B", rightthreetimes: "\u22CC", RightTriangleBar: "\u29D0", RightTriangle: "\u22B3", RightTriangleEqual: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVectorBar: "\u2954", RightUpVector: "\u21BE", RightVectorBar: "\u2953", RightVector: "\u21C0", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoustache: "\u23B1", rmoust: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\u{1D563}", Ropf: "\u211D", roplus: "\u2A2E", rotimes: "\u2A35", RoundImplies: "\u2970", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\u203A", rscr: "\u{1D4C7}", Rscr: "\u211B", rsh: "\u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", Sacute: "\u015A", sacute: "\u015B", sbquo: "\u201A", scap: "\u2AB8", Scaron: "\u0160", scaron: "\u0161", Sc: "\u2ABC", sc: "\u227B", sccue: "\u227D", sce: "\u2AB0", scE: "\u2AB4", Scedil: "\u015E", scedil: "\u015F", Scirc: "\u015C", scirc: "\u015D", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\u22E9", scpolint: "\u2A13", scsim: "\u227F", Scy: "\u0421", scy: "\u0441", sdotb: "\u22A1", sdot: "\u22C5", sdote: "\u2A66", searhk: "\u2925", searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\u2736", Sfr: "\u{1D516}", sfr: "\u{1D530}", sfrown: "\u2322", sharp: "\u266F", SHCHcy: "\u0429", shchcy: "\u0449", SHcy: "\u0428", shcy: "\u0448", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\u2191", shy: "\xAD", Sigma: "\u03A3", sigma: "\u03C3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", SOFTcy: "\u042C", softcy: "\u044C", solbar: "\u233F", solb: "\u29C4", sol: "/", Sopf: "\u{1D54A}", sopf: "\u{1D564}", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\u2290", sqsupseteq: "\u2292", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squ: "\u25A1", squf: "\u25AA", srarr: "\u2192", Sscr: "\u{1D4AE}", sscr: "\u{1D4C8}", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", Star: "\u22C6", star: "\u2606", starf: "\u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", subE: "\u2AC5", sube: "\u2286", subedot: "\u2AC3", submult: "\u2AC1", subnE: "\u2ACB", subne: "\u228A", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\u22D0", subseteq: "\u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", succapprox: "\u2AB8", succ: "\u227B", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", sup: "\u2283", Sup: "\u22D1", supdot: "\u2ABE", supdsub: "\u2AD8", supE: "\u2AC6", supe: "\u2287", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supnE: "\u2ACC", supne: "\u228B", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926", swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: " ", target: "\u2316", Tau: "\u03A4", tau: "\u03C4", tbrk: "\u23B4", Tcaron: "\u0164", tcaron: "\u0165", Tcedil: "\u0162", tcedil: "\u0163", Tcy: "\u0422", tcy: "\u0442", tdot: "\u20DB", telrec: "\u2315", Tfr: "\u{1D517}", tfr: "\u{1D531}", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", Theta: "\u0398", theta: "\u03B8", thetasym: "\u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", ThinSpace: "\u2009", thinsp: "\u2009", thkap: "\u2248", thksim: "\u223C", THORN: "\xDE", thorn: "\xFE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\u2248", timesbar: "\u2A31", timesb: "\u22A0", times: "\xD7", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", topbot: "\u2336", topcir: "\u2AF1", top: "\u22A4", Topf: "\u{1D54B}", topf: "\u{1D565}", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", Tscr: "\u{1D4AF}", tscr: "\u{1D4C9}", TScy: "\u0426", tscy: "\u0446", TSHcy: "\u040B", tshcy: "\u045B", Tstrok: "\u0166", tstrok: "\u0167", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", Uacute: "\xDA", uacute: "\xFA", uarr: "\u2191", Uarr: "\u219F", uArr: "\u21D1", Uarrocir: "\u2949", Ubrcy: "\u040E", ubrcy: "\u045E", Ubreve: "\u016C", ubreve: "\u016D", Ucirc: "\xDB", ucirc: "\xFB", Ucy: "\u0423", ucy: "\u0443", udarr: "\u21C5", Udblac: "\u0170", udblac: "\u0171", udhar: "\u296E", ufisht: "\u297E", Ufr: "\u{1D518}", ufr: "\u{1D532}", Ugrave: "\xD9", ugrave: "\xF9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", Umacr: "\u016A", umacr: "\u016B", uml: "\xA8", UnderBar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", Uogon: "\u0172", uogon: "\u0173", Uopf: "\u{1D54C}", uopf: "\u{1D566}", UpArrowBar: "\u2912", uparrow: "\u2191", UpArrow: "\u2191", Uparrow: "\u21D1", UpArrowDownArrow: "\u21C5", updownarrow: "\u2195", UpDownArrow: "\u2195", Updownarrow: "\u21D5", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", Upsilon: "\u03A5", upsilon: "\u03C5", UpTeeArrow: "\u21A5", UpTee: "\u22A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", Uring: "\u016E", uring: "\u016F", urtri: "\u25F9", Uscr: "\u{1D4B0}", uscr: "\u{1D4CA}", utdot: "\u22F0", Utilde: "\u0168", utilde: "\u0169", utri: "\u25B5", utrif: "\u25B4", uuarr: "\u21C8", Uuml: "\xDC", uuml: "\xFC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", Vcy: "\u0412", vcy: "\u0432", vdash: "\u22A2", vDash: "\u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", veebar: "\u22BB", vee: "\u2228", Vee: "\u22C1", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", VeryThinSpace: "\u200A", Vfr: "\u{1D519}", vfr: "\u{1D533}", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", Vopf: "\u{1D54D}", vopf: "\u{1D567}", vprop: "\u221D", vrtri: "\u22B3", Vscr: "\u{1D4B1}", vscr: "\u{1D4CB}", vsubnE: "\u2ACB\uFE00", vsubne: "\u228A\uFE00", vsupnE: "\u2ACC\uFE00", vsupne: "\u228B\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", Wcirc: "\u0174", wcirc: "\u0175", wedbar: "\u2A5F", wedge: "\u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", Wfr: "\u{1D51A}", wfr: "\u{1D534}", Wopf: "\u{1D54E}", wopf: "\u{1D568}", wp: "\u2118", wr: "\u2240", wreath: "\u2240", Wscr: "\u{1D4B2}", wscr: "\u{1D4CC}", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD", Xfr: "\u{1D51B}", xfr: "\u{1D535}", xharr: "\u27F7", xhArr: "\u27FA", Xi: "\u039E", xi: "\u03BE", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\u27FC", xnis: "\u22FB", xodot: "\u2A00", Xopf: "\u{1D54F}", xopf: "\u{1D569}", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\u27F9", Xscr: "\u{1D4B3}", xscr: "\u{1D4CD}", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", Yacute: "\xDD", yacute: "\xFD", YAcy: "\u042F", yacy: "\u044F", Ycirc: "\u0176", ycirc: "\u0177", Ycy: "\u042B", ycy: "\u044B", yen: "\xA5", Yfr: "\u{1D51C}", yfr: "\u{1D536}", YIcy: "\u0407", yicy: "\u0457", Yopf: "\u{1D550}", yopf: "\u{1D56A}", Yscr: "\u{1D4B4}", yscr: "\u{1D4CE}", YUcy: "\u042E", yucy: "\u044E", yuml: "\xFF", Yuml: "\u0178", Zacute: "\u0179", zacute: "\u017A", Zcaron: "\u017D", zcaron: "\u017E", Zcy: "\u0417", zcy: "\u0437", Zdot: "\u017B", zdot: "\u017C", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", Zeta: "\u0396", zeta: "\u03B6", zfr: "\u{1D537}", Zfr: "\u2128", ZHcy: "\u0416", zhcy: "\u0436", zigrarr: "\u21DD", zopf: "\u{1D56B}", Zopf: "\u2124", Zscr: "\u{1D4B5}", zscr: "\u{1D4CF}", zwj: "\u200D", zwnj: "\u200C" };
26
+ }
27
+ });
28
+
29
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js
30
+ var require_entities2 = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
31
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js"(exports, module) {
32
+ "use strict";
33
+ module.exports = require_entities();
34
+ }
35
+ });
36
+
37
+ // ../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js
38
+ var require_regex = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
39
+ "../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js"(exports, module) {
40
+ module.exports = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;
41
+ }
42
+ });
43
+
44
+ // ../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js
45
+ var require_encode = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
46
+ "../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js"(exports, module) {
47
+ "use strict";
48
+ var encodeCache = {};
49
+ function getEncodeCache(exclude) {
50
+ var i, ch, cache = encodeCache[exclude];
51
+ if (cache) {
52
+ return cache;
53
+ }
54
+ cache = encodeCache[exclude] = [];
55
+ for (i = 0; i < 128; i++) {
56
+ ch = String.fromCharCode(i);
57
+ if (/^[0-9a-z]$/i.test(ch)) {
58
+ cache.push(ch);
59
+ } else {
60
+ cache.push("%" + ("0" + i.toString(16).toUpperCase()).slice(-2));
61
+ }
62
+ }
63
+ for (i = 0; i < exclude.length; i++) {
64
+ cache[exclude.charCodeAt(i)] = exclude[i];
65
+ }
66
+ return cache;
67
+ }
68
+ function encode(string, exclude, keepEscaped) {
69
+ var i, l, code, nextCode, cache, result = "";
70
+ if (typeof exclude !== "string") {
71
+ keepEscaped = exclude;
72
+ exclude = encode.defaultChars;
73
+ }
74
+ if (typeof keepEscaped === "undefined") {
75
+ keepEscaped = true;
76
+ }
77
+ cache = getEncodeCache(exclude);
78
+ for (i = 0, l = string.length; i < l; i++) {
79
+ code = string.charCodeAt(i);
80
+ if (keepEscaped && code === 37 && i + 2 < l) {
81
+ if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {
82
+ result += string.slice(i, i + 3);
83
+ i += 2;
84
+ continue;
85
+ }
86
+ }
87
+ if (code < 128) {
88
+ result += cache[code];
89
+ continue;
90
+ }
91
+ if (code >= 55296 && code <= 57343) {
92
+ if (code >= 55296 && code <= 56319 && i + 1 < l) {
93
+ nextCode = string.charCodeAt(i + 1);
94
+ if (nextCode >= 56320 && nextCode <= 57343) {
95
+ result += encodeURIComponent(string[i] + string[i + 1]);
96
+ i++;
97
+ continue;
98
+ }
99
+ }
100
+ result += "%EF%BF%BD";
101
+ continue;
102
+ }
103
+ result += encodeURIComponent(string[i]);
104
+ }
105
+ return result;
106
+ }
107
+ encode.defaultChars = ";/?:@&=+$,-_.!~*'()#";
108
+ encode.componentChars = "-_.!~*'()";
109
+ module.exports = encode;
110
+ }
111
+ });
112
+
113
+ // ../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js
114
+ var require_decode = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
115
+ "../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js"(exports, module) {
116
+ "use strict";
117
+ var decodeCache = {};
118
+ function getDecodeCache(exclude) {
119
+ var i, ch, cache = decodeCache[exclude];
120
+ if (cache) {
121
+ return cache;
122
+ }
123
+ cache = decodeCache[exclude] = [];
124
+ for (i = 0; i < 128; i++) {
125
+ ch = String.fromCharCode(i);
126
+ cache.push(ch);
127
+ }
128
+ for (i = 0; i < exclude.length; i++) {
129
+ ch = exclude.charCodeAt(i);
130
+ cache[ch] = "%" + ("0" + ch.toString(16).toUpperCase()).slice(-2);
131
+ }
132
+ return cache;
133
+ }
134
+ function decode(string, exclude) {
135
+ var cache;
136
+ if (typeof exclude !== "string") {
137
+ exclude = decode.defaultChars;
138
+ }
139
+ cache = getDecodeCache(exclude);
140
+ return string.replace(/(%[a-f0-9]{2})+/gi, function(seq) {
141
+ var i, l, b1, b2, b3, b4, chr, result = "";
142
+ for (i = 0, l = seq.length; i < l; i += 3) {
143
+ b1 = parseInt(seq.slice(i + 1, i + 3), 16);
144
+ if (b1 < 128) {
145
+ result += cache[b1];
146
+ continue;
147
+ }
148
+ if ((b1 & 224) === 192 && i + 3 < l) {
149
+ b2 = parseInt(seq.slice(i + 4, i + 6), 16);
150
+ if ((b2 & 192) === 128) {
151
+ chr = b1 << 6 & 1984 | b2 & 63;
152
+ if (chr < 128) {
153
+ result += "\uFFFD\uFFFD";
154
+ } else {
155
+ result += String.fromCharCode(chr);
156
+ }
157
+ i += 3;
158
+ continue;
159
+ }
160
+ }
161
+ if ((b1 & 240) === 224 && i + 6 < l) {
162
+ b2 = parseInt(seq.slice(i + 4, i + 6), 16);
163
+ b3 = parseInt(seq.slice(i + 7, i + 9), 16);
164
+ if ((b2 & 192) === 128 && (b3 & 192) === 128) {
165
+ chr = b1 << 12 & 61440 | b2 << 6 & 4032 | b3 & 63;
166
+ if (chr < 2048 || chr >= 55296 && chr <= 57343) {
167
+ result += "\uFFFD\uFFFD\uFFFD";
168
+ } else {
169
+ result += String.fromCharCode(chr);
170
+ }
171
+ i += 6;
172
+ continue;
173
+ }
174
+ }
175
+ if ((b1 & 248) === 240 && i + 9 < l) {
176
+ b2 = parseInt(seq.slice(i + 4, i + 6), 16);
177
+ b3 = parseInt(seq.slice(i + 7, i + 9), 16);
178
+ b4 = parseInt(seq.slice(i + 10, i + 12), 16);
179
+ if ((b2 & 192) === 128 && (b3 & 192) === 128 && (b4 & 192) === 128) {
180
+ chr = b1 << 18 & 1835008 | b2 << 12 & 258048 | b3 << 6 & 4032 | b4 & 63;
181
+ if (chr < 65536 || chr > 1114111) {
182
+ result += "\uFFFD\uFFFD\uFFFD\uFFFD";
183
+ } else {
184
+ chr -= 65536;
185
+ result += String.fromCharCode(55296 + (chr >> 10), 56320 + (chr & 1023));
186
+ }
187
+ i += 9;
188
+ continue;
189
+ }
190
+ }
191
+ result += "\uFFFD";
192
+ }
193
+ return result;
194
+ });
195
+ }
196
+ decode.defaultChars = ";/?:@&=+$,#";
197
+ decode.componentChars = "";
198
+ module.exports = decode;
199
+ }
200
+ });
201
+
202
+ // ../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js
203
+ var require_format = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
204
+ "../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js"(exports, module) {
205
+ "use strict";
206
+ module.exports = function format(url) {
207
+ var result = "";
208
+ result += url.protocol || "";
209
+ result += url.slashes ? "//" : "";
210
+ result += url.auth ? url.auth + "@" : "";
211
+ if (url.hostname && url.hostname.indexOf(":") !== -1) {
212
+ result += "[" + url.hostname + "]";
213
+ } else {
214
+ result += url.hostname || "";
215
+ }
216
+ result += url.port ? ":" + url.port : "";
217
+ result += url.pathname || "";
218
+ result += url.search || "";
219
+ result += url.hash || "";
220
+ return result;
221
+ };
222
+ }
223
+ });
224
+
225
+ // ../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js
226
+ var require_parse = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
227
+ "../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js"(exports, module) {
228
+ "use strict";
229
+ function Url() {
230
+ this.protocol = null;
231
+ this.slashes = null;
232
+ this.auth = null;
233
+ this.port = null;
234
+ this.hostname = null;
235
+ this.hash = null;
236
+ this.search = null;
237
+ this.pathname = null;
238
+ }
239
+ var protocolPattern = /^([a-z0-9.+-]+:)/i;
240
+ var portPattern = /:[0-9]*$/;
241
+ var simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/;
242
+ var delims = ["<", ">", '"', "`", " ", "\r", "\n", " "];
243
+ var unwise = ["{", "}", "|", "\\", "^", "`"].concat(delims);
244
+ var autoEscape = ["'"].concat(unwise);
245
+ var nonHostChars = ["%", "/", "?", ";", "#"].concat(autoEscape);
246
+ var hostEndingChars = ["/", "?", "#"];
247
+ var hostnameMaxLen = 255;
248
+ var hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/;
249
+ var hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/;
250
+ var hostlessProtocol = {
251
+ "javascript": true,
252
+ "javascript:": true
253
+ };
254
+ var slashedProtocol = {
255
+ "http": true,
256
+ "https": true,
257
+ "ftp": true,
258
+ "gopher": true,
259
+ "file": true,
260
+ "http:": true,
261
+ "https:": true,
262
+ "ftp:": true,
263
+ "gopher:": true,
264
+ "file:": true
265
+ };
266
+ function urlParse(url, slashesDenoteHost) {
267
+ if (url && url instanceof Url) {
268
+ return url;
269
+ }
270
+ var u = new Url();
271
+ u.parse(url, slashesDenoteHost);
272
+ return u;
273
+ }
274
+ Url.prototype.parse = function(url, slashesDenoteHost) {
275
+ var i, l, lowerProto, hec, slashes, rest = url;
276
+ rest = rest.trim();
277
+ if (!slashesDenoteHost && url.split("#").length === 1) {
278
+ var simplePath = simplePathPattern.exec(rest);
279
+ if (simplePath) {
280
+ this.pathname = simplePath[1];
281
+ if (simplePath[2]) {
282
+ this.search = simplePath[2];
283
+ }
284
+ return this;
285
+ }
286
+ }
287
+ var proto = protocolPattern.exec(rest);
288
+ if (proto) {
289
+ proto = proto[0];
290
+ lowerProto = proto.toLowerCase();
291
+ this.protocol = proto;
292
+ rest = rest.substr(proto.length);
293
+ }
294
+ if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
295
+ slashes = rest.substr(0, 2) === "//";
296
+ if (slashes && !(proto && hostlessProtocol[proto])) {
297
+ rest = rest.substr(2);
298
+ this.slashes = true;
299
+ }
300
+ }
301
+ if (!hostlessProtocol[proto] && (slashes || proto && !slashedProtocol[proto])) {
302
+ var hostEnd = -1;
303
+ for (i = 0; i < hostEndingChars.length; i++) {
304
+ hec = rest.indexOf(hostEndingChars[i]);
305
+ if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {
306
+ hostEnd = hec;
307
+ }
308
+ }
309
+ var auth, atSign;
310
+ if (hostEnd === -1) {
311
+ atSign = rest.lastIndexOf("@");
312
+ } else {
313
+ atSign = rest.lastIndexOf("@", hostEnd);
314
+ }
315
+ if (atSign !== -1) {
316
+ auth = rest.slice(0, atSign);
317
+ rest = rest.slice(atSign + 1);
318
+ this.auth = auth;
319
+ }
320
+ hostEnd = -1;
321
+ for (i = 0; i < nonHostChars.length; i++) {
322
+ hec = rest.indexOf(nonHostChars[i]);
323
+ if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {
324
+ hostEnd = hec;
325
+ }
326
+ }
327
+ if (hostEnd === -1) {
328
+ hostEnd = rest.length;
329
+ }
330
+ if (rest[hostEnd - 1] === ":") {
331
+ hostEnd--;
332
+ }
333
+ var host = rest.slice(0, hostEnd);
334
+ rest = rest.slice(hostEnd);
335
+ this.parseHost(host);
336
+ this.hostname = this.hostname || "";
337
+ var ipv6Hostname = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
338
+ if (!ipv6Hostname) {
339
+ var hostparts = this.hostname.split(/\./);
340
+ for (i = 0, l = hostparts.length; i < l; i++) {
341
+ var part = hostparts[i];
342
+ if (!part) {
343
+ continue;
344
+ }
345
+ if (!part.match(hostnamePartPattern)) {
346
+ var newpart = "";
347
+ for (var j = 0, k = part.length; j < k; j++) {
348
+ if (part.charCodeAt(j) > 127) {
349
+ newpart += "x";
350
+ } else {
351
+ newpart += part[j];
352
+ }
353
+ }
354
+ if (!newpart.match(hostnamePartPattern)) {
355
+ var validParts = hostparts.slice(0, i);
356
+ var notHost = hostparts.slice(i + 1);
357
+ var bit = part.match(hostnamePartStart);
358
+ if (bit) {
359
+ validParts.push(bit[1]);
360
+ notHost.unshift(bit[2]);
361
+ }
362
+ if (notHost.length) {
363
+ rest = notHost.join(".") + rest;
364
+ }
365
+ this.hostname = validParts.join(".");
366
+ break;
367
+ }
368
+ }
369
+ }
370
+ }
371
+ if (this.hostname.length > hostnameMaxLen) {
372
+ this.hostname = "";
373
+ }
374
+ if (ipv6Hostname) {
375
+ this.hostname = this.hostname.substr(1, this.hostname.length - 2);
376
+ }
377
+ }
378
+ var hash = rest.indexOf("#");
379
+ if (hash !== -1) {
380
+ this.hash = rest.substr(hash);
381
+ rest = rest.slice(0, hash);
382
+ }
383
+ var qm = rest.indexOf("?");
384
+ if (qm !== -1) {
385
+ this.search = rest.substr(qm);
386
+ rest = rest.slice(0, qm);
387
+ }
388
+ if (rest) {
389
+ this.pathname = rest;
390
+ }
391
+ if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) {
392
+ this.pathname = "";
393
+ }
394
+ return this;
395
+ };
396
+ Url.prototype.parseHost = function(host) {
397
+ var port = portPattern.exec(host);
398
+ if (port) {
399
+ port = port[0];
400
+ if (port !== ":") {
401
+ this.port = port.substr(1);
402
+ }
403
+ host = host.substr(0, host.length - port.length);
404
+ }
405
+ if (host) {
406
+ this.hostname = host;
407
+ }
408
+ };
409
+ module.exports = urlParse;
410
+ }
411
+ });
412
+
413
+ // ../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js
414
+ var require_mdurl = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
415
+ "../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js"(exports, module) {
416
+ "use strict";
417
+ module.exports.encode = require_encode();
418
+ module.exports.decode = require_decode();
419
+ module.exports.format = require_format();
420
+ module.exports.parse = require_parse();
421
+ }
422
+ });
423
+
424
+ // ../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js
425
+ var require_regex2 = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
426
+ "../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js"(exports, module) {
427
+ module.exports = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
428
+ }
429
+ });
430
+
431
+ // ../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js
432
+ var require_regex3 = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
433
+ "../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js"(exports, module) {
434
+ module.exports = /[\0-\x1F\x7F-\x9F]/;
435
+ }
436
+ });
437
+
438
+ // ../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js
439
+ var require_regex4 = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
440
+ "../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js"(exports, module) {
441
+ module.exports = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;
442
+ }
443
+ });
444
+
445
+ // ../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js
446
+ var require_regex5 = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
447
+ "../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js"(exports, module) {
448
+ module.exports = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;
449
+ }
450
+ });
451
+
452
+ // ../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js
453
+ var require_uc = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
454
+ "../../node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js"(exports) {
455
+ "use strict";
456
+ exports.Any = require_regex2();
457
+ exports.Cc = require_regex3();
458
+ exports.Cf = require_regex4();
459
+ exports.P = require_regex();
460
+ exports.Z = require_regex5();
461
+ }
462
+ });
463
+
464
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js
465
+ var require_utils = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
466
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js"(exports) {
467
+ "use strict";
468
+ function _class(obj) {
469
+ return Object.prototype.toString.call(obj);
470
+ }
471
+ function isString(obj) {
472
+ return _class(obj) === "[object String]";
473
+ }
474
+ var _hasOwnProperty = Object.prototype.hasOwnProperty;
475
+ function has(object, key) {
476
+ return _hasOwnProperty.call(object, key);
477
+ }
478
+ function assign(obj) {
479
+ var sources = Array.prototype.slice.call(arguments, 1);
480
+ sources.forEach(function(source) {
481
+ if (!source) {
482
+ return;
483
+ }
484
+ if (typeof source !== "object") {
485
+ throw new TypeError(source + "must be object");
486
+ }
487
+ Object.keys(source).forEach(function(key) {
488
+ obj[key] = source[key];
489
+ });
490
+ });
491
+ return obj;
492
+ }
493
+ function arrayReplaceAt(src, pos, newElements) {
494
+ return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1));
495
+ }
496
+ function isValidEntityCode(c) {
497
+ if (c >= 55296 && c <= 57343) {
498
+ return false;
499
+ }
500
+ if (c >= 64976 && c <= 65007) {
501
+ return false;
502
+ }
503
+ if ((c & 65535) === 65535 || (c & 65535) === 65534) {
504
+ return false;
505
+ }
506
+ if (c >= 0 && c <= 8) {
507
+ return false;
508
+ }
509
+ if (c === 11) {
510
+ return false;
511
+ }
512
+ if (c >= 14 && c <= 31) {
513
+ return false;
514
+ }
515
+ if (c >= 127 && c <= 159) {
516
+ return false;
517
+ }
518
+ if (c > 1114111) {
519
+ return false;
520
+ }
521
+ return true;
522
+ }
523
+ function fromCodePoint(c) {
524
+ if (c > 65535) {
525
+ c -= 65536;
526
+ var surrogate1 = 55296 + (c >> 10), surrogate2 = 56320 + (c & 1023);
527
+ return String.fromCharCode(surrogate1, surrogate2);
528
+ }
529
+ return String.fromCharCode(c);
530
+ }
531
+ var UNESCAPE_MD_RE = /\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g;
532
+ var ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi;
533
+ var UNESCAPE_ALL_RE = new RegExp(UNESCAPE_MD_RE.source + "|" + ENTITY_RE.source, "gi");
534
+ var DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;
535
+ var entities = require_entities2();
536
+ function replaceEntityPattern(match, name) {
537
+ var code = 0;
538
+ if (has(entities, name)) {
539
+ return entities[name];
540
+ }
541
+ if (name.charCodeAt(0) === 35 && DIGITAL_ENTITY_TEST_RE.test(name)) {
542
+ code = name[1].toLowerCase() === "x" ? parseInt(name.slice(2), 16) : parseInt(name.slice(1), 10);
543
+ if (isValidEntityCode(code)) {
544
+ return fromCodePoint(code);
545
+ }
546
+ }
547
+ return match;
548
+ }
549
+ function unescapeMd(str) {
550
+ if (str.indexOf("\\") < 0) {
551
+ return str;
552
+ }
553
+ return str.replace(UNESCAPE_MD_RE, "$1");
554
+ }
555
+ function unescapeAll(str) {
556
+ if (str.indexOf("\\") < 0 && str.indexOf("&") < 0) {
557
+ return str;
558
+ }
559
+ return str.replace(UNESCAPE_ALL_RE, function(match, escaped, entity) {
560
+ if (escaped) {
561
+ return escaped;
562
+ }
563
+ return replaceEntityPattern(match, entity);
564
+ });
565
+ }
566
+ var HTML_ESCAPE_TEST_RE = /[&<>"]/;
567
+ var HTML_ESCAPE_REPLACE_RE = /[&<>"]/g;
568
+ var HTML_REPLACEMENTS = {
569
+ "&": "&amp;",
570
+ "<": "&lt;",
571
+ ">": "&gt;",
572
+ '"': "&quot;"
573
+ };
574
+ function replaceUnsafeChar(ch) {
575
+ return HTML_REPLACEMENTS[ch];
576
+ }
577
+ function escapeHtml(str) {
578
+ if (HTML_ESCAPE_TEST_RE.test(str)) {
579
+ return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar);
580
+ }
581
+ return str;
582
+ }
583
+ var REGEXP_ESCAPE_RE = /[.?*+^$[\]\\(){}|-]/g;
584
+ function escapeRE(str) {
585
+ return str.replace(REGEXP_ESCAPE_RE, "\\$&");
586
+ }
587
+ function isSpace(code) {
588
+ switch (code) {
589
+ case 9:
590
+ case 32:
591
+ return true;
592
+ }
593
+ return false;
594
+ }
595
+ function isWhiteSpace(code) {
596
+ if (code >= 8192 && code <= 8202) {
597
+ return true;
598
+ }
599
+ switch (code) {
600
+ case 9:
601
+ case 10:
602
+ case 11:
603
+ case 12:
604
+ case 13:
605
+ case 32:
606
+ case 160:
607
+ case 5760:
608
+ case 8239:
609
+ case 8287:
610
+ case 12288:
611
+ return true;
612
+ }
613
+ return false;
614
+ }
615
+ var UNICODE_PUNCT_RE = require_regex();
616
+ function isPunctChar(ch) {
617
+ return UNICODE_PUNCT_RE.test(ch);
618
+ }
619
+ function isMdAsciiPunct(ch) {
620
+ switch (ch) {
621
+ case 33:
622
+ case 34:
623
+ case 35:
624
+ case 36:
625
+ case 37:
626
+ case 38:
627
+ case 39:
628
+ case 40:
629
+ case 41:
630
+ case 42:
631
+ case 43:
632
+ case 44:
633
+ case 45:
634
+ case 46:
635
+ case 47:
636
+ case 58:
637
+ case 59:
638
+ case 60:
639
+ case 61:
640
+ case 62:
641
+ case 63:
642
+ case 64:
643
+ case 91:
644
+ case 92:
645
+ case 93:
646
+ case 94:
647
+ case 95:
648
+ case 96:
649
+ case 123:
650
+ case 124:
651
+ case 125:
652
+ case 126:
653
+ return true;
654
+ default:
655
+ return false;
656
+ }
657
+ }
658
+ function normalizeReference(str) {
659
+ str = str.trim().replace(/\s+/g, " ");
660
+ if ("\u1E9E".toLowerCase() === "\u1E7E") {
661
+ str = str.replace(/ẞ/g, "\xDF");
662
+ }
663
+ return str.toLowerCase().toUpperCase();
664
+ }
665
+ exports.lib = {};
666
+ exports.lib.mdurl = require_mdurl();
667
+ exports.lib.ucmicro = require_uc();
668
+ exports.assign = assign;
669
+ exports.isString = isString;
670
+ exports.has = has;
671
+ exports.unescapeMd = unescapeMd;
672
+ exports.unescapeAll = unescapeAll;
673
+ exports.isValidEntityCode = isValidEntityCode;
674
+ exports.fromCodePoint = fromCodePoint;
675
+ exports.escapeHtml = escapeHtml;
676
+ exports.arrayReplaceAt = arrayReplaceAt;
677
+ exports.isSpace = isSpace;
678
+ exports.isWhiteSpace = isWhiteSpace;
679
+ exports.isMdAsciiPunct = isMdAsciiPunct;
680
+ exports.isPunctChar = isPunctChar;
681
+ exports.escapeRE = escapeRE;
682
+ exports.normalizeReference = normalizeReference;
683
+ }
684
+ });
685
+
686
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js
687
+ var require_parse_link_label = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
688
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js"(exports, module) {
689
+ "use strict";
690
+ module.exports = function parseLinkLabel(state, start, disableNested) {
691
+ var level, found, marker, prevPos, labelEnd = -1, max = state.posMax, oldPos = state.pos;
692
+ state.pos = start + 1;
693
+ level = 1;
694
+ while (state.pos < max) {
695
+ marker = state.src.charCodeAt(state.pos);
696
+ if (marker === 93) {
697
+ level--;
698
+ if (level === 0) {
699
+ found = true;
700
+ break;
701
+ }
702
+ }
703
+ prevPos = state.pos;
704
+ state.md.inline.skipToken(state);
705
+ if (marker === 91) {
706
+ if (prevPos === state.pos - 1) {
707
+ level++;
708
+ } else if (disableNested) {
709
+ state.pos = oldPos;
710
+ return -1;
711
+ }
712
+ }
713
+ }
714
+ if (found) {
715
+ labelEnd = state.pos;
716
+ }
717
+ state.pos = oldPos;
718
+ return labelEnd;
719
+ };
720
+ }
721
+ });
722
+
723
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js
724
+ var require_parse_link_destination = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
725
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js"(exports, module) {
726
+ "use strict";
727
+ var unescapeAll = require_utils().unescapeAll;
728
+ module.exports = function parseLinkDestination(str, pos, max) {
729
+ var code, level, lines = 0, start = pos, result = {
730
+ ok: false,
731
+ pos: 0,
732
+ lines: 0,
733
+ str: ""
734
+ };
735
+ if (str.charCodeAt(pos) === 60) {
736
+ pos++;
737
+ while (pos < max) {
738
+ code = str.charCodeAt(pos);
739
+ if (code === 10) {
740
+ return result;
741
+ }
742
+ if (code === 60) {
743
+ return result;
744
+ }
745
+ if (code === 62) {
746
+ result.pos = pos + 1;
747
+ result.str = unescapeAll(str.slice(start + 1, pos));
748
+ result.ok = true;
749
+ return result;
750
+ }
751
+ if (code === 92 && pos + 1 < max) {
752
+ pos += 2;
753
+ continue;
754
+ }
755
+ pos++;
756
+ }
757
+ return result;
758
+ }
759
+ level = 0;
760
+ while (pos < max) {
761
+ code = str.charCodeAt(pos);
762
+ if (code === 32) {
763
+ break;
764
+ }
765
+ if (code < 32 || code === 127) {
766
+ break;
767
+ }
768
+ if (code === 92 && pos + 1 < max) {
769
+ if (str.charCodeAt(pos + 1) === 32) {
770
+ break;
771
+ }
772
+ pos += 2;
773
+ continue;
774
+ }
775
+ if (code === 40) {
776
+ level++;
777
+ if (level > 32) {
778
+ return result;
779
+ }
780
+ }
781
+ if (code === 41) {
782
+ if (level === 0) {
783
+ break;
784
+ }
785
+ level--;
786
+ }
787
+ pos++;
788
+ }
789
+ if (start === pos) {
790
+ return result;
791
+ }
792
+ if (level !== 0) {
793
+ return result;
794
+ }
795
+ result.str = unescapeAll(str.slice(start, pos));
796
+ result.lines = lines;
797
+ result.pos = pos;
798
+ result.ok = true;
799
+ return result;
800
+ };
801
+ }
802
+ });
803
+
804
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js
805
+ var require_parse_link_title = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
806
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js"(exports, module) {
807
+ "use strict";
808
+ var unescapeAll = require_utils().unescapeAll;
809
+ module.exports = function parseLinkTitle(str, pos, max) {
810
+ var code, marker, lines = 0, start = pos, result = {
811
+ ok: false,
812
+ pos: 0,
813
+ lines: 0,
814
+ str: ""
815
+ };
816
+ if (pos >= max) {
817
+ return result;
818
+ }
819
+ marker = str.charCodeAt(pos);
820
+ if (marker !== 34 && marker !== 39 && marker !== 40) {
821
+ return result;
822
+ }
823
+ pos++;
824
+ if (marker === 40) {
825
+ marker = 41;
826
+ }
827
+ while (pos < max) {
828
+ code = str.charCodeAt(pos);
829
+ if (code === marker) {
830
+ result.pos = pos + 1;
831
+ result.lines = lines;
832
+ result.str = unescapeAll(str.slice(start + 1, pos));
833
+ result.ok = true;
834
+ return result;
835
+ } else if (code === 40 && marker === 41) {
836
+ return result;
837
+ } else if (code === 10) {
838
+ lines++;
839
+ } else if (code === 92 && pos + 1 < max) {
840
+ pos++;
841
+ if (str.charCodeAt(pos) === 10) {
842
+ lines++;
843
+ }
844
+ }
845
+ pos++;
846
+ }
847
+ return result;
848
+ };
849
+ }
850
+ });
851
+
852
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js
853
+ var require_helpers = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
854
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js"(exports) {
855
+ "use strict";
856
+ exports.parseLinkLabel = require_parse_link_label();
857
+ exports.parseLinkDestination = require_parse_link_destination();
858
+ exports.parseLinkTitle = require_parse_link_title();
859
+ }
860
+ });
861
+
862
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js
863
+ var require_renderer = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
864
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js"(exports, module) {
865
+ "use strict";
866
+ var assign = require_utils().assign;
867
+ var unescapeAll = require_utils().unescapeAll;
868
+ var escapeHtml = require_utils().escapeHtml;
869
+ var default_rules = {};
870
+ default_rules.code_inline = function(tokens, idx, options, env, slf) {
871
+ var token = tokens[idx];
872
+ return "<code" + slf.renderAttrs(token) + ">" + escapeHtml(tokens[idx].content) + "</code>";
873
+ };
874
+ default_rules.code_block = function(tokens, idx, options, env, slf) {
875
+ var token = tokens[idx];
876
+ return "<pre" + slf.renderAttrs(token) + "><code>" + escapeHtml(tokens[idx].content) + "</code></pre>\n";
877
+ };
878
+ default_rules.fence = function(tokens, idx, options, env, slf) {
879
+ var token = tokens[idx], info = token.info ? unescapeAll(token.info).trim() : "", langName = "", langAttrs = "", highlighted, i, arr, tmpAttrs, tmpToken;
880
+ if (info) {
881
+ arr = info.split(/(\s+)/g);
882
+ langName = arr[0];
883
+ langAttrs = arr.slice(2).join("");
884
+ }
885
+ if (options.highlight) {
886
+ highlighted = options.highlight(token.content, langName, langAttrs) || escapeHtml(token.content);
887
+ } else {
888
+ highlighted = escapeHtml(token.content);
889
+ }
890
+ if (highlighted.indexOf("<pre") === 0) {
891
+ return highlighted + "\n";
892
+ }
893
+ if (info) {
894
+ i = token.attrIndex("class");
895
+ tmpAttrs = token.attrs ? token.attrs.slice() : [];
896
+ if (i < 0) {
897
+ tmpAttrs.push(["class", options.langPrefix + langName]);
898
+ } else {
899
+ tmpAttrs[i] = tmpAttrs[i].slice();
900
+ tmpAttrs[i][1] += " " + options.langPrefix + langName;
901
+ }
902
+ tmpToken = {
903
+ attrs: tmpAttrs
904
+ };
905
+ return "<pre><code" + slf.renderAttrs(tmpToken) + ">" + highlighted + "</code></pre>\n";
906
+ }
907
+ return "<pre><code" + slf.renderAttrs(token) + ">" + highlighted + "</code></pre>\n";
908
+ };
909
+ default_rules.image = function(tokens, idx, options, env, slf) {
910
+ var token = tokens[idx];
911
+ token.attrs[token.attrIndex("alt")][1] = slf.renderInlineAsText(token.children, options, env);
912
+ return slf.renderToken(tokens, idx, options);
913
+ };
914
+ default_rules.hardbreak = function(tokens, idx, options) {
915
+ return options.xhtmlOut ? "<br />\n" : "<br>\n";
916
+ };
917
+ default_rules.softbreak = function(tokens, idx, options) {
918
+ return options.breaks ? options.xhtmlOut ? "<br />\n" : "<br>\n" : "\n";
919
+ };
920
+ default_rules.text = function(tokens, idx) {
921
+ return escapeHtml(tokens[idx].content);
922
+ };
923
+ default_rules.html_block = function(tokens, idx) {
924
+ return tokens[idx].content;
925
+ };
926
+ default_rules.html_inline = function(tokens, idx) {
927
+ return tokens[idx].content;
928
+ };
929
+ function Renderer() {
930
+ this.rules = assign({}, default_rules);
931
+ }
932
+ Renderer.prototype.renderAttrs = function renderAttrs(token) {
933
+ var i, l, result;
934
+ if (!token.attrs) {
935
+ return "";
936
+ }
937
+ result = "";
938
+ for (i = 0, l = token.attrs.length; i < l; i++) {
939
+ result += " " + escapeHtml(token.attrs[i][0]) + '="' + escapeHtml(token.attrs[i][1]) + '"';
940
+ }
941
+ return result;
942
+ };
943
+ Renderer.prototype.renderToken = function renderToken(tokens, idx, options) {
944
+ var nextToken, result = "", needLf = false, token = tokens[idx];
945
+ if (token.hidden) {
946
+ return "";
947
+ }
948
+ if (token.block && token.nesting !== -1 && idx && tokens[idx - 1].hidden) {
949
+ result += "\n";
950
+ }
951
+ result += (token.nesting === -1 ? "</" : "<") + token.tag;
952
+ result += this.renderAttrs(token);
953
+ if (token.nesting === 0 && options.xhtmlOut) {
954
+ result += " /";
955
+ }
956
+ if (token.block) {
957
+ needLf = true;
958
+ if (token.nesting === 1) {
959
+ if (idx + 1 < tokens.length) {
960
+ nextToken = tokens[idx + 1];
961
+ if (nextToken.type === "inline" || nextToken.hidden) {
962
+ needLf = false;
963
+ } else if (nextToken.nesting === -1 && nextToken.tag === token.tag) {
964
+ needLf = false;
965
+ }
966
+ }
967
+ }
968
+ }
969
+ result += needLf ? ">\n" : ">";
970
+ return result;
971
+ };
972
+ Renderer.prototype.renderInline = function(tokens, options, env) {
973
+ var type, result = "", rules = this.rules;
974
+ for (var i = 0, len = tokens.length; i < len; i++) {
975
+ type = tokens[i].type;
976
+ if (typeof rules[type] !== "undefined") {
977
+ result += rules[type](tokens, i, options, env, this);
978
+ } else {
979
+ result += this.renderToken(tokens, i, options);
980
+ }
981
+ }
982
+ return result;
983
+ };
984
+ Renderer.prototype.renderInlineAsText = function(tokens, options, env) {
985
+ var result = "";
986
+ for (var i = 0, len = tokens.length; i < len; i++) {
987
+ if (tokens[i].type === "text") {
988
+ result += tokens[i].content;
989
+ } else if (tokens[i].type === "image") {
990
+ result += this.renderInlineAsText(tokens[i].children, options, env);
991
+ } else if (tokens[i].type === "softbreak") {
992
+ result += "\n";
993
+ }
994
+ }
995
+ return result;
996
+ };
997
+ Renderer.prototype.render = function(tokens, options, env) {
998
+ var i, len, type, result = "", rules = this.rules;
999
+ for (i = 0, len = tokens.length; i < len; i++) {
1000
+ type = tokens[i].type;
1001
+ if (type === "inline") {
1002
+ result += this.renderInline(tokens[i].children, options, env);
1003
+ } else if (typeof rules[type] !== "undefined") {
1004
+ result += rules[tokens[i].type](tokens, i, options, env, this);
1005
+ } else {
1006
+ result += this.renderToken(tokens, i, options, env);
1007
+ }
1008
+ }
1009
+ return result;
1010
+ };
1011
+ module.exports = Renderer;
1012
+ }
1013
+ });
1014
+
1015
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js
1016
+ var require_ruler = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1017
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js"(exports, module) {
1018
+ "use strict";
1019
+ function Ruler() {
1020
+ this.__rules__ = [];
1021
+ this.__cache__ = null;
1022
+ }
1023
+ Ruler.prototype.__find__ = function(name) {
1024
+ for (var i = 0; i < this.__rules__.length; i++) {
1025
+ if (this.__rules__[i].name === name) {
1026
+ return i;
1027
+ }
1028
+ }
1029
+ return -1;
1030
+ };
1031
+ Ruler.prototype.__compile__ = function() {
1032
+ var self = this;
1033
+ var chains = [""];
1034
+ self.__rules__.forEach(function(rule) {
1035
+ if (!rule.enabled) {
1036
+ return;
1037
+ }
1038
+ rule.alt.forEach(function(altName) {
1039
+ if (chains.indexOf(altName) < 0) {
1040
+ chains.push(altName);
1041
+ }
1042
+ });
1043
+ });
1044
+ self.__cache__ = {};
1045
+ chains.forEach(function(chain) {
1046
+ self.__cache__[chain] = [];
1047
+ self.__rules__.forEach(function(rule) {
1048
+ if (!rule.enabled) {
1049
+ return;
1050
+ }
1051
+ if (chain && rule.alt.indexOf(chain) < 0) {
1052
+ return;
1053
+ }
1054
+ self.__cache__[chain].push(rule.fn);
1055
+ });
1056
+ });
1057
+ };
1058
+ Ruler.prototype.at = function(name, fn, options) {
1059
+ var index = this.__find__(name);
1060
+ var opt = options || {};
1061
+ if (index === -1) {
1062
+ throw new Error("Parser rule not found: " + name);
1063
+ }
1064
+ this.__rules__[index].fn = fn;
1065
+ this.__rules__[index].alt = opt.alt || [];
1066
+ this.__cache__ = null;
1067
+ };
1068
+ Ruler.prototype.before = function(beforeName, ruleName, fn, options) {
1069
+ var index = this.__find__(beforeName);
1070
+ var opt = options || {};
1071
+ if (index === -1) {
1072
+ throw new Error("Parser rule not found: " + beforeName);
1073
+ }
1074
+ this.__rules__.splice(index, 0, {
1075
+ name: ruleName,
1076
+ enabled: true,
1077
+ fn,
1078
+ alt: opt.alt || []
1079
+ });
1080
+ this.__cache__ = null;
1081
+ };
1082
+ Ruler.prototype.after = function(afterName, ruleName, fn, options) {
1083
+ var index = this.__find__(afterName);
1084
+ var opt = options || {};
1085
+ if (index === -1) {
1086
+ throw new Error("Parser rule not found: " + afterName);
1087
+ }
1088
+ this.__rules__.splice(index + 1, 0, {
1089
+ name: ruleName,
1090
+ enabled: true,
1091
+ fn,
1092
+ alt: opt.alt || []
1093
+ });
1094
+ this.__cache__ = null;
1095
+ };
1096
+ Ruler.prototype.push = function(ruleName, fn, options) {
1097
+ var opt = options || {};
1098
+ this.__rules__.push({
1099
+ name: ruleName,
1100
+ enabled: true,
1101
+ fn,
1102
+ alt: opt.alt || []
1103
+ });
1104
+ this.__cache__ = null;
1105
+ };
1106
+ Ruler.prototype.enable = function(list, ignoreInvalid) {
1107
+ if (!Array.isArray(list)) {
1108
+ list = [list];
1109
+ }
1110
+ var result = [];
1111
+ list.forEach(function(name) {
1112
+ var idx = this.__find__(name);
1113
+ if (idx < 0) {
1114
+ if (ignoreInvalid) {
1115
+ return;
1116
+ }
1117
+ throw new Error("Rules manager: invalid rule name " + name);
1118
+ }
1119
+ this.__rules__[idx].enabled = true;
1120
+ result.push(name);
1121
+ }, this);
1122
+ this.__cache__ = null;
1123
+ return result;
1124
+ };
1125
+ Ruler.prototype.enableOnly = function(list, ignoreInvalid) {
1126
+ if (!Array.isArray(list)) {
1127
+ list = [list];
1128
+ }
1129
+ this.__rules__.forEach(function(rule) {
1130
+ rule.enabled = false;
1131
+ });
1132
+ this.enable(list, ignoreInvalid);
1133
+ };
1134
+ Ruler.prototype.disable = function(list, ignoreInvalid) {
1135
+ if (!Array.isArray(list)) {
1136
+ list = [list];
1137
+ }
1138
+ var result = [];
1139
+ list.forEach(function(name) {
1140
+ var idx = this.__find__(name);
1141
+ if (idx < 0) {
1142
+ if (ignoreInvalid) {
1143
+ return;
1144
+ }
1145
+ throw new Error("Rules manager: invalid rule name " + name);
1146
+ }
1147
+ this.__rules__[idx].enabled = false;
1148
+ result.push(name);
1149
+ }, this);
1150
+ this.__cache__ = null;
1151
+ return result;
1152
+ };
1153
+ Ruler.prototype.getRules = function(chainName) {
1154
+ if (this.__cache__ === null) {
1155
+ this.__compile__();
1156
+ }
1157
+ return this.__cache__[chainName] || [];
1158
+ };
1159
+ module.exports = Ruler;
1160
+ }
1161
+ });
1162
+
1163
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js
1164
+ var require_normalize = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1165
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js"(exports, module) {
1166
+ "use strict";
1167
+ var NEWLINES_RE = /\r\n?|\n/g;
1168
+ var NULL_RE = /\0/g;
1169
+ module.exports = function normalize(state) {
1170
+ var str;
1171
+ str = state.src.replace(NEWLINES_RE, "\n");
1172
+ str = str.replace(NULL_RE, "\uFFFD");
1173
+ state.src = str;
1174
+ };
1175
+ }
1176
+ });
1177
+
1178
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js
1179
+ var require_block = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1180
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js"(exports, module) {
1181
+ "use strict";
1182
+ module.exports = function block(state) {
1183
+ var token;
1184
+ if (state.inlineMode) {
1185
+ token = new state.Token("inline", "", 0);
1186
+ token.content = state.src;
1187
+ token.map = [0, 1];
1188
+ token.children = [];
1189
+ state.tokens.push(token);
1190
+ } else {
1191
+ state.md.block.parse(state.src, state.md, state.env, state.tokens);
1192
+ }
1193
+ };
1194
+ }
1195
+ });
1196
+
1197
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js
1198
+ var require_inline = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1199
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js"(exports, module) {
1200
+ "use strict";
1201
+ module.exports = function inline(state) {
1202
+ var tokens = state.tokens, tok, i, l;
1203
+ for (i = 0, l = tokens.length; i < l; i++) {
1204
+ tok = tokens[i];
1205
+ if (tok.type === "inline") {
1206
+ state.md.inline.parse(tok.content, state.md, state.env, tok.children);
1207
+ }
1208
+ }
1209
+ };
1210
+ }
1211
+ });
1212
+
1213
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js
1214
+ var require_linkify = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1215
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js"(exports, module) {
1216
+ "use strict";
1217
+ var arrayReplaceAt = require_utils().arrayReplaceAt;
1218
+ function isLinkOpen(str) {
1219
+ return /^<a[>\s]/i.test(str);
1220
+ }
1221
+ function isLinkClose(str) {
1222
+ return /^<\/a\s*>/i.test(str);
1223
+ }
1224
+ module.exports = function linkify(state) {
1225
+ var i, j, l, tokens, token, currentToken, nodes, ln, text, pos, lastPos, level, htmlLinkLevel, url, fullUrl, urlText, blockTokens = state.tokens, links;
1226
+ if (!state.md.options.linkify) {
1227
+ return;
1228
+ }
1229
+ for (j = 0, l = blockTokens.length; j < l; j++) {
1230
+ if (blockTokens[j].type !== "inline" || !state.md.linkify.pretest(blockTokens[j].content)) {
1231
+ continue;
1232
+ }
1233
+ tokens = blockTokens[j].children;
1234
+ htmlLinkLevel = 0;
1235
+ for (i = tokens.length - 1; i >= 0; i--) {
1236
+ currentToken = tokens[i];
1237
+ if (currentToken.type === "link_close") {
1238
+ i--;
1239
+ while (tokens[i].level !== currentToken.level && tokens[i].type !== "link_open") {
1240
+ i--;
1241
+ }
1242
+ continue;
1243
+ }
1244
+ if (currentToken.type === "html_inline") {
1245
+ if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {
1246
+ htmlLinkLevel--;
1247
+ }
1248
+ if (isLinkClose(currentToken.content)) {
1249
+ htmlLinkLevel++;
1250
+ }
1251
+ }
1252
+ if (htmlLinkLevel > 0) {
1253
+ continue;
1254
+ }
1255
+ if (currentToken.type === "text" && state.md.linkify.test(currentToken.content)) {
1256
+ text = currentToken.content;
1257
+ links = state.md.linkify.match(text);
1258
+ nodes = [];
1259
+ level = currentToken.level;
1260
+ lastPos = 0;
1261
+ for (ln = 0; ln < links.length; ln++) {
1262
+ url = links[ln].url;
1263
+ fullUrl = state.md.normalizeLink(url);
1264
+ if (!state.md.validateLink(fullUrl)) {
1265
+ continue;
1266
+ }
1267
+ urlText = links[ln].text;
1268
+ if (!links[ln].schema) {
1269
+ urlText = state.md.normalizeLinkText("http://" + urlText).replace(/^http:\/\//, "");
1270
+ } else if (links[ln].schema === "mailto:" && !/^mailto:/i.test(urlText)) {
1271
+ urlText = state.md.normalizeLinkText("mailto:" + urlText).replace(/^mailto:/, "");
1272
+ } else {
1273
+ urlText = state.md.normalizeLinkText(urlText);
1274
+ }
1275
+ pos = links[ln].index;
1276
+ if (pos > lastPos) {
1277
+ token = new state.Token("text", "", 0);
1278
+ token.content = text.slice(lastPos, pos);
1279
+ token.level = level;
1280
+ nodes.push(token);
1281
+ }
1282
+ token = new state.Token("link_open", "a", 1);
1283
+ token.attrs = [["href", fullUrl]];
1284
+ token.level = level++;
1285
+ token.markup = "linkify";
1286
+ token.info = "auto";
1287
+ nodes.push(token);
1288
+ token = new state.Token("text", "", 0);
1289
+ token.content = urlText;
1290
+ token.level = level;
1291
+ nodes.push(token);
1292
+ token = new state.Token("link_close", "a", -1);
1293
+ token.level = --level;
1294
+ token.markup = "linkify";
1295
+ token.info = "auto";
1296
+ nodes.push(token);
1297
+ lastPos = links[ln].lastIndex;
1298
+ }
1299
+ if (lastPos < text.length) {
1300
+ token = new state.Token("text", "", 0);
1301
+ token.content = text.slice(lastPos);
1302
+ token.level = level;
1303
+ nodes.push(token);
1304
+ }
1305
+ blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes);
1306
+ }
1307
+ }
1308
+ }
1309
+ };
1310
+ }
1311
+ });
1312
+
1313
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js
1314
+ var require_replacements = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1315
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js"(exports, module) {
1316
+ "use strict";
1317
+ var RARE_RE = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/;
1318
+ var SCOPED_ABBR_TEST_RE = /\((c|tm|r|p)\)/i;
1319
+ var SCOPED_ABBR_RE = /\((c|tm|r|p)\)/ig;
1320
+ var SCOPED_ABBR = {
1321
+ c: "\xA9",
1322
+ r: "\xAE",
1323
+ p: "\xA7",
1324
+ tm: "\u2122"
1325
+ };
1326
+ function replaceFn(match, name) {
1327
+ return SCOPED_ABBR[name.toLowerCase()];
1328
+ }
1329
+ function replace_scoped(inlineTokens) {
1330
+ var i, token, inside_autolink = 0;
1331
+ for (i = inlineTokens.length - 1; i >= 0; i--) {
1332
+ token = inlineTokens[i];
1333
+ if (token.type === "text" && !inside_autolink) {
1334
+ token.content = token.content.replace(SCOPED_ABBR_RE, replaceFn);
1335
+ }
1336
+ if (token.type === "link_open" && token.info === "auto") {
1337
+ inside_autolink--;
1338
+ }
1339
+ if (token.type === "link_close" && token.info === "auto") {
1340
+ inside_autolink++;
1341
+ }
1342
+ }
1343
+ }
1344
+ function replace_rare(inlineTokens) {
1345
+ var i, token, inside_autolink = 0;
1346
+ for (i = inlineTokens.length - 1; i >= 0; i--) {
1347
+ token = inlineTokens[i];
1348
+ if (token.type === "text" && !inside_autolink) {
1349
+ if (RARE_RE.test(token.content)) {
1350
+ token.content = token.content.replace(/\+-/g, "\xB1").replace(/\.{2,}/g, "\u2026").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1\u2014").replace(/(^|\s)--(?=\s|$)/mg, "$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1\u2013");
1351
+ }
1352
+ }
1353
+ if (token.type === "link_open" && token.info === "auto") {
1354
+ inside_autolink--;
1355
+ }
1356
+ if (token.type === "link_close" && token.info === "auto") {
1357
+ inside_autolink++;
1358
+ }
1359
+ }
1360
+ }
1361
+ module.exports = function replace(state) {
1362
+ var blkIdx;
1363
+ if (!state.md.options.typographer) {
1364
+ return;
1365
+ }
1366
+ for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {
1367
+ if (state.tokens[blkIdx].type !== "inline") {
1368
+ continue;
1369
+ }
1370
+ if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) {
1371
+ replace_scoped(state.tokens[blkIdx].children);
1372
+ }
1373
+ if (RARE_RE.test(state.tokens[blkIdx].content)) {
1374
+ replace_rare(state.tokens[blkIdx].children);
1375
+ }
1376
+ }
1377
+ };
1378
+ }
1379
+ });
1380
+
1381
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js
1382
+ var require_smartquotes = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1383
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js"(exports, module) {
1384
+ "use strict";
1385
+ var isWhiteSpace = require_utils().isWhiteSpace;
1386
+ var isPunctChar = require_utils().isPunctChar;
1387
+ var isMdAsciiPunct = require_utils().isMdAsciiPunct;
1388
+ var QUOTE_TEST_RE = /['"]/;
1389
+ var QUOTE_RE = /['"]/g;
1390
+ var APOSTROPHE = "\u2019";
1391
+ function replaceAt(str, index, ch) {
1392
+ return str.substr(0, index) + ch + str.substr(index + 1);
1393
+ }
1394
+ function process_inlines(tokens, state) {
1395
+ var i, token, text, t, pos, max, thisLevel, item, lastChar, nextChar, isLastPunctChar, isNextPunctChar, isLastWhiteSpace, isNextWhiteSpace, canOpen, canClose, j, isSingle, stack, openQuote, closeQuote;
1396
+ stack = [];
1397
+ for (i = 0; i < tokens.length; i++) {
1398
+ token = tokens[i];
1399
+ thisLevel = tokens[i].level;
1400
+ for (j = stack.length - 1; j >= 0; j--) {
1401
+ if (stack[j].level <= thisLevel) {
1402
+ break;
1403
+ }
1404
+ }
1405
+ stack.length = j + 1;
1406
+ if (token.type !== "text") {
1407
+ continue;
1408
+ }
1409
+ text = token.content;
1410
+ pos = 0;
1411
+ max = text.length;
1412
+ OUTER:
1413
+ while (pos < max) {
1414
+ QUOTE_RE.lastIndex = pos;
1415
+ t = QUOTE_RE.exec(text);
1416
+ if (!t) {
1417
+ break;
1418
+ }
1419
+ canOpen = canClose = true;
1420
+ pos = t.index + 1;
1421
+ isSingle = t[0] === "'";
1422
+ lastChar = 32;
1423
+ if (t.index - 1 >= 0) {
1424
+ lastChar = text.charCodeAt(t.index - 1);
1425
+ } else {
1426
+ for (j = i - 1; j >= 0; j--) {
1427
+ if (tokens[j].type === "softbreak" || tokens[j].type === "hardbreak")
1428
+ break;
1429
+ if (!tokens[j].content)
1430
+ continue;
1431
+ lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1);
1432
+ break;
1433
+ }
1434
+ }
1435
+ nextChar = 32;
1436
+ if (pos < max) {
1437
+ nextChar = text.charCodeAt(pos);
1438
+ } else {
1439
+ for (j = i + 1; j < tokens.length; j++) {
1440
+ if (tokens[j].type === "softbreak" || tokens[j].type === "hardbreak")
1441
+ break;
1442
+ if (!tokens[j].content)
1443
+ continue;
1444
+ nextChar = tokens[j].content.charCodeAt(0);
1445
+ break;
1446
+ }
1447
+ }
1448
+ isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));
1449
+ isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));
1450
+ isLastWhiteSpace = isWhiteSpace(lastChar);
1451
+ isNextWhiteSpace = isWhiteSpace(nextChar);
1452
+ if (isNextWhiteSpace) {
1453
+ canOpen = false;
1454
+ } else if (isNextPunctChar) {
1455
+ if (!(isLastWhiteSpace || isLastPunctChar)) {
1456
+ canOpen = false;
1457
+ }
1458
+ }
1459
+ if (isLastWhiteSpace) {
1460
+ canClose = false;
1461
+ } else if (isLastPunctChar) {
1462
+ if (!(isNextWhiteSpace || isNextPunctChar)) {
1463
+ canClose = false;
1464
+ }
1465
+ }
1466
+ if (nextChar === 34 && t[0] === '"') {
1467
+ if (lastChar >= 48 && lastChar <= 57) {
1468
+ canClose = canOpen = false;
1469
+ }
1470
+ }
1471
+ if (canOpen && canClose) {
1472
+ canOpen = isLastPunctChar;
1473
+ canClose = isNextPunctChar;
1474
+ }
1475
+ if (!canOpen && !canClose) {
1476
+ if (isSingle) {
1477
+ token.content = replaceAt(token.content, t.index, APOSTROPHE);
1478
+ }
1479
+ continue;
1480
+ }
1481
+ if (canClose) {
1482
+ for (j = stack.length - 1; j >= 0; j--) {
1483
+ item = stack[j];
1484
+ if (stack[j].level < thisLevel) {
1485
+ break;
1486
+ }
1487
+ if (item.single === isSingle && stack[j].level === thisLevel) {
1488
+ item = stack[j];
1489
+ if (isSingle) {
1490
+ openQuote = state.md.options.quotes[2];
1491
+ closeQuote = state.md.options.quotes[3];
1492
+ } else {
1493
+ openQuote = state.md.options.quotes[0];
1494
+ closeQuote = state.md.options.quotes[1];
1495
+ }
1496
+ token.content = replaceAt(token.content, t.index, closeQuote);
1497
+ tokens[item.token].content = replaceAt(tokens[item.token].content, item.pos, openQuote);
1498
+ pos += closeQuote.length - 1;
1499
+ if (item.token === i) {
1500
+ pos += openQuote.length - 1;
1501
+ }
1502
+ text = token.content;
1503
+ max = text.length;
1504
+ stack.length = j;
1505
+ continue OUTER;
1506
+ }
1507
+ }
1508
+ }
1509
+ if (canOpen) {
1510
+ stack.push({
1511
+ token: i,
1512
+ pos: t.index,
1513
+ single: isSingle,
1514
+ level: thisLevel
1515
+ });
1516
+ } else if (canClose && isSingle) {
1517
+ token.content = replaceAt(token.content, t.index, APOSTROPHE);
1518
+ }
1519
+ }
1520
+ }
1521
+ }
1522
+ module.exports = function smartquotes(state) {
1523
+ var blkIdx;
1524
+ if (!state.md.options.typographer) {
1525
+ return;
1526
+ }
1527
+ for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {
1528
+ if (state.tokens[blkIdx].type !== "inline" || !QUOTE_TEST_RE.test(state.tokens[blkIdx].content)) {
1529
+ continue;
1530
+ }
1531
+ process_inlines(state.tokens[blkIdx].children, state);
1532
+ }
1533
+ };
1534
+ }
1535
+ });
1536
+
1537
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js
1538
+ var require_token = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1539
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js"(exports, module) {
1540
+ "use strict";
1541
+ function Token(type, tag, nesting) {
1542
+ this.type = type;
1543
+ this.tag = tag;
1544
+ this.attrs = null;
1545
+ this.map = null;
1546
+ this.nesting = nesting;
1547
+ this.level = 0;
1548
+ this.children = null;
1549
+ this.content = "";
1550
+ this.markup = "";
1551
+ this.info = "";
1552
+ this.meta = null;
1553
+ this.block = false;
1554
+ this.hidden = false;
1555
+ }
1556
+ Token.prototype.attrIndex = function attrIndex(name) {
1557
+ var attrs, i, len;
1558
+ if (!this.attrs) {
1559
+ return -1;
1560
+ }
1561
+ attrs = this.attrs;
1562
+ for (i = 0, len = attrs.length; i < len; i++) {
1563
+ if (attrs[i][0] === name) {
1564
+ return i;
1565
+ }
1566
+ }
1567
+ return -1;
1568
+ };
1569
+ Token.prototype.attrPush = function attrPush(attrData) {
1570
+ if (this.attrs) {
1571
+ this.attrs.push(attrData);
1572
+ } else {
1573
+ this.attrs = [attrData];
1574
+ }
1575
+ };
1576
+ Token.prototype.attrSet = function attrSet(name, value) {
1577
+ var idx = this.attrIndex(name), attrData = [name, value];
1578
+ if (idx < 0) {
1579
+ this.attrPush(attrData);
1580
+ } else {
1581
+ this.attrs[idx] = attrData;
1582
+ }
1583
+ };
1584
+ Token.prototype.attrGet = function attrGet(name) {
1585
+ var idx = this.attrIndex(name), value = null;
1586
+ if (idx >= 0) {
1587
+ value = this.attrs[idx][1];
1588
+ }
1589
+ return value;
1590
+ };
1591
+ Token.prototype.attrJoin = function attrJoin(name, value) {
1592
+ var idx = this.attrIndex(name);
1593
+ if (idx < 0) {
1594
+ this.attrPush([name, value]);
1595
+ } else {
1596
+ this.attrs[idx][1] = this.attrs[idx][1] + " " + value;
1597
+ }
1598
+ };
1599
+ module.exports = Token;
1600
+ }
1601
+ });
1602
+
1603
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js
1604
+ var require_state_core = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1605
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js"(exports, module) {
1606
+ "use strict";
1607
+ var Token = require_token();
1608
+ function StateCore(src, md2, env) {
1609
+ this.src = src;
1610
+ this.env = env;
1611
+ this.tokens = [];
1612
+ this.inlineMode = false;
1613
+ this.md = md2;
1614
+ }
1615
+ StateCore.prototype.Token = Token;
1616
+ module.exports = StateCore;
1617
+ }
1618
+ });
1619
+
1620
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js
1621
+ var require_parser_core = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1622
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js"(exports, module) {
1623
+ "use strict";
1624
+ var Ruler = require_ruler();
1625
+ var _rules = [
1626
+ ["normalize", require_normalize()],
1627
+ ["block", require_block()],
1628
+ ["inline", require_inline()],
1629
+ ["linkify", require_linkify()],
1630
+ ["replacements", require_replacements()],
1631
+ ["smartquotes", require_smartquotes()]
1632
+ ];
1633
+ function Core() {
1634
+ this.ruler = new Ruler();
1635
+ for (var i = 0; i < _rules.length; i++) {
1636
+ this.ruler.push(_rules[i][0], _rules[i][1]);
1637
+ }
1638
+ }
1639
+ Core.prototype.process = function(state) {
1640
+ var i, l, rules;
1641
+ rules = this.ruler.getRules("");
1642
+ for (i = 0, l = rules.length; i < l; i++) {
1643
+ rules[i](state);
1644
+ }
1645
+ };
1646
+ Core.prototype.State = require_state_core();
1647
+ module.exports = Core;
1648
+ }
1649
+ });
1650
+
1651
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js
1652
+ var require_table = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1653
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js"(exports, module) {
1654
+ "use strict";
1655
+ var isSpace = require_utils().isSpace;
1656
+ function getLine(state, line) {
1657
+ var pos = state.bMarks[line] + state.tShift[line], max = state.eMarks[line];
1658
+ return state.src.substr(pos, max - pos);
1659
+ }
1660
+ function escapedSplit(str) {
1661
+ var result = [], pos = 0, max = str.length, ch, isEscaped = false, lastPos = 0, current = "";
1662
+ ch = str.charCodeAt(pos);
1663
+ while (pos < max) {
1664
+ if (ch === 124) {
1665
+ if (!isEscaped) {
1666
+ result.push(current + str.substring(lastPos, pos));
1667
+ current = "";
1668
+ lastPos = pos + 1;
1669
+ } else {
1670
+ current += str.substring(lastPos, pos - 1);
1671
+ lastPos = pos;
1672
+ }
1673
+ }
1674
+ isEscaped = ch === 92;
1675
+ pos++;
1676
+ ch = str.charCodeAt(pos);
1677
+ }
1678
+ result.push(current + str.substring(lastPos));
1679
+ return result;
1680
+ }
1681
+ module.exports = function table(state, startLine, endLine, silent) {
1682
+ var ch, lineText, pos, i, l, nextLine, columns, columnCount, token, aligns, t, tableLines, tbodyLines, oldParentType, terminate, terminatorRules, firstCh, secondCh;
1683
+ if (startLine + 2 > endLine) {
1684
+ return false;
1685
+ }
1686
+ nextLine = startLine + 1;
1687
+ if (state.sCount[nextLine] < state.blkIndent) {
1688
+ return false;
1689
+ }
1690
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
1691
+ return false;
1692
+ }
1693
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
1694
+ if (pos >= state.eMarks[nextLine]) {
1695
+ return false;
1696
+ }
1697
+ firstCh = state.src.charCodeAt(pos++);
1698
+ if (firstCh !== 124 && firstCh !== 45 && firstCh !== 58) {
1699
+ return false;
1700
+ }
1701
+ if (pos >= state.eMarks[nextLine]) {
1702
+ return false;
1703
+ }
1704
+ secondCh = state.src.charCodeAt(pos++);
1705
+ if (secondCh !== 124 && secondCh !== 45 && secondCh !== 58 && !isSpace(secondCh)) {
1706
+ return false;
1707
+ }
1708
+ if (firstCh === 45 && isSpace(secondCh)) {
1709
+ return false;
1710
+ }
1711
+ while (pos < state.eMarks[nextLine]) {
1712
+ ch = state.src.charCodeAt(pos);
1713
+ if (ch !== 124 && ch !== 45 && ch !== 58 && !isSpace(ch)) {
1714
+ return false;
1715
+ }
1716
+ pos++;
1717
+ }
1718
+ lineText = getLine(state, startLine + 1);
1719
+ columns = lineText.split("|");
1720
+ aligns = [];
1721
+ for (i = 0; i < columns.length; i++) {
1722
+ t = columns[i].trim();
1723
+ if (!t) {
1724
+ if (i === 0 || i === columns.length - 1) {
1725
+ continue;
1726
+ } else {
1727
+ return false;
1728
+ }
1729
+ }
1730
+ if (!/^:?-+:?$/.test(t)) {
1731
+ return false;
1732
+ }
1733
+ if (t.charCodeAt(t.length - 1) === 58) {
1734
+ aligns.push(t.charCodeAt(0) === 58 ? "center" : "right");
1735
+ } else if (t.charCodeAt(0) === 58) {
1736
+ aligns.push("left");
1737
+ } else {
1738
+ aligns.push("");
1739
+ }
1740
+ }
1741
+ lineText = getLine(state, startLine).trim();
1742
+ if (lineText.indexOf("|") === -1) {
1743
+ return false;
1744
+ }
1745
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
1746
+ return false;
1747
+ }
1748
+ columns = escapedSplit(lineText);
1749
+ if (columns.length && columns[0] === "")
1750
+ columns.shift();
1751
+ if (columns.length && columns[columns.length - 1] === "")
1752
+ columns.pop();
1753
+ columnCount = columns.length;
1754
+ if (columnCount === 0 || columnCount !== aligns.length) {
1755
+ return false;
1756
+ }
1757
+ if (silent) {
1758
+ return true;
1759
+ }
1760
+ oldParentType = state.parentType;
1761
+ state.parentType = "table";
1762
+ terminatorRules = state.md.block.ruler.getRules("blockquote");
1763
+ token = state.push("table_open", "table", 1);
1764
+ token.map = tableLines = [startLine, 0];
1765
+ token = state.push("thead_open", "thead", 1);
1766
+ token.map = [startLine, startLine + 1];
1767
+ token = state.push("tr_open", "tr", 1);
1768
+ token.map = [startLine, startLine + 1];
1769
+ for (i = 0; i < columns.length; i++) {
1770
+ token = state.push("th_open", "th", 1);
1771
+ if (aligns[i]) {
1772
+ token.attrs = [["style", "text-align:" + aligns[i]]];
1773
+ }
1774
+ token = state.push("inline", "", 0);
1775
+ token.content = columns[i].trim();
1776
+ token.children = [];
1777
+ token = state.push("th_close", "th", -1);
1778
+ }
1779
+ token = state.push("tr_close", "tr", -1);
1780
+ token = state.push("thead_close", "thead", -1);
1781
+ for (nextLine = startLine + 2; nextLine < endLine; nextLine++) {
1782
+ if (state.sCount[nextLine] < state.blkIndent) {
1783
+ break;
1784
+ }
1785
+ terminate = false;
1786
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
1787
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
1788
+ terminate = true;
1789
+ break;
1790
+ }
1791
+ }
1792
+ if (terminate) {
1793
+ break;
1794
+ }
1795
+ lineText = getLine(state, nextLine).trim();
1796
+ if (!lineText) {
1797
+ break;
1798
+ }
1799
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
1800
+ break;
1801
+ }
1802
+ columns = escapedSplit(lineText);
1803
+ if (columns.length && columns[0] === "")
1804
+ columns.shift();
1805
+ if (columns.length && columns[columns.length - 1] === "")
1806
+ columns.pop();
1807
+ if (nextLine === startLine + 2) {
1808
+ token = state.push("tbody_open", "tbody", 1);
1809
+ token.map = tbodyLines = [startLine + 2, 0];
1810
+ }
1811
+ token = state.push("tr_open", "tr", 1);
1812
+ token.map = [nextLine, nextLine + 1];
1813
+ for (i = 0; i < columnCount; i++) {
1814
+ token = state.push("td_open", "td", 1);
1815
+ if (aligns[i]) {
1816
+ token.attrs = [["style", "text-align:" + aligns[i]]];
1817
+ }
1818
+ token = state.push("inline", "", 0);
1819
+ token.content = columns[i] ? columns[i].trim() : "";
1820
+ token.children = [];
1821
+ token = state.push("td_close", "td", -1);
1822
+ }
1823
+ token = state.push("tr_close", "tr", -1);
1824
+ }
1825
+ if (tbodyLines) {
1826
+ token = state.push("tbody_close", "tbody", -1);
1827
+ tbodyLines[1] = nextLine;
1828
+ }
1829
+ token = state.push("table_close", "table", -1);
1830
+ tableLines[1] = nextLine;
1831
+ state.parentType = oldParentType;
1832
+ state.line = nextLine;
1833
+ return true;
1834
+ };
1835
+ }
1836
+ });
1837
+
1838
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js
1839
+ var require_code = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1840
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js"(exports, module) {
1841
+ "use strict";
1842
+ module.exports = function code(state, startLine, endLine) {
1843
+ var nextLine, last, token;
1844
+ if (state.sCount[startLine] - state.blkIndent < 4) {
1845
+ return false;
1846
+ }
1847
+ last = nextLine = startLine + 1;
1848
+ while (nextLine < endLine) {
1849
+ if (state.isEmpty(nextLine)) {
1850
+ nextLine++;
1851
+ continue;
1852
+ }
1853
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
1854
+ nextLine++;
1855
+ last = nextLine;
1856
+ continue;
1857
+ }
1858
+ break;
1859
+ }
1860
+ state.line = last;
1861
+ token = state.push("code_block", "code", 0);
1862
+ token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + "\n";
1863
+ token.map = [startLine, state.line];
1864
+ return true;
1865
+ };
1866
+ }
1867
+ });
1868
+
1869
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js
1870
+ var require_fence = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1871
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js"(exports, module) {
1872
+ "use strict";
1873
+ module.exports = function fence(state, startLine, endLine, silent) {
1874
+ var marker, len, params, nextLine, mem, token, markup, haveEndMarker = false, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
1875
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
1876
+ return false;
1877
+ }
1878
+ if (pos + 3 > max) {
1879
+ return false;
1880
+ }
1881
+ marker = state.src.charCodeAt(pos);
1882
+ if (marker !== 126 && marker !== 96) {
1883
+ return false;
1884
+ }
1885
+ mem = pos;
1886
+ pos = state.skipChars(pos, marker);
1887
+ len = pos - mem;
1888
+ if (len < 3) {
1889
+ return false;
1890
+ }
1891
+ markup = state.src.slice(mem, pos);
1892
+ params = state.src.slice(pos, max);
1893
+ if (marker === 96) {
1894
+ if (params.indexOf(String.fromCharCode(marker)) >= 0) {
1895
+ return false;
1896
+ }
1897
+ }
1898
+ if (silent) {
1899
+ return true;
1900
+ }
1901
+ nextLine = startLine;
1902
+ for (; ; ) {
1903
+ nextLine++;
1904
+ if (nextLine >= endLine) {
1905
+ break;
1906
+ }
1907
+ pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];
1908
+ max = state.eMarks[nextLine];
1909
+ if (pos < max && state.sCount[nextLine] < state.blkIndent) {
1910
+ break;
1911
+ }
1912
+ if (state.src.charCodeAt(pos) !== marker) {
1913
+ continue;
1914
+ }
1915
+ if (state.sCount[nextLine] - state.blkIndent >= 4) {
1916
+ continue;
1917
+ }
1918
+ pos = state.skipChars(pos, marker);
1919
+ if (pos - mem < len) {
1920
+ continue;
1921
+ }
1922
+ pos = state.skipSpaces(pos);
1923
+ if (pos < max) {
1924
+ continue;
1925
+ }
1926
+ haveEndMarker = true;
1927
+ break;
1928
+ }
1929
+ len = state.sCount[startLine];
1930
+ state.line = nextLine + (haveEndMarker ? 1 : 0);
1931
+ token = state.push("fence", "code", 0);
1932
+ token.info = params;
1933
+ token.content = state.getLines(startLine + 1, nextLine, len, true);
1934
+ token.markup = markup;
1935
+ token.map = [startLine, state.line];
1936
+ return true;
1937
+ };
1938
+ }
1939
+ });
1940
+
1941
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js
1942
+ var require_blockquote = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
1943
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js"(exports, module) {
1944
+ "use strict";
1945
+ var isSpace = require_utils().isSpace;
1946
+ module.exports = function blockquote(state, startLine, endLine, silent) {
1947
+ var adjustTab, ch, i, initial, l, lastLineEmpty, lines, nextLine, offset, oldBMarks, oldBSCount, oldIndent, oldParentType, oldSCount, oldTShift, spaceAfterMarker, terminate, terminatorRules, token, isOutdented, oldLineMax = state.lineMax, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
1948
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
1949
+ return false;
1950
+ }
1951
+ if (state.src.charCodeAt(pos++) !== 62) {
1952
+ return false;
1953
+ }
1954
+ if (silent) {
1955
+ return true;
1956
+ }
1957
+ initial = offset = state.sCount[startLine] + 1;
1958
+ if (state.src.charCodeAt(pos) === 32) {
1959
+ pos++;
1960
+ initial++;
1961
+ offset++;
1962
+ adjustTab = false;
1963
+ spaceAfterMarker = true;
1964
+ } else if (state.src.charCodeAt(pos) === 9) {
1965
+ spaceAfterMarker = true;
1966
+ if ((state.bsCount[startLine] + offset) % 4 === 3) {
1967
+ pos++;
1968
+ initial++;
1969
+ offset++;
1970
+ adjustTab = false;
1971
+ } else {
1972
+ adjustTab = true;
1973
+ }
1974
+ } else {
1975
+ spaceAfterMarker = false;
1976
+ }
1977
+ oldBMarks = [state.bMarks[startLine]];
1978
+ state.bMarks[startLine] = pos;
1979
+ while (pos < max) {
1980
+ ch = state.src.charCodeAt(pos);
1981
+ if (isSpace(ch)) {
1982
+ if (ch === 9) {
1983
+ offset += 4 - (offset + state.bsCount[startLine] + (adjustTab ? 1 : 0)) % 4;
1984
+ } else {
1985
+ offset++;
1986
+ }
1987
+ } else {
1988
+ break;
1989
+ }
1990
+ pos++;
1991
+ }
1992
+ oldBSCount = [state.bsCount[startLine]];
1993
+ state.bsCount[startLine] = state.sCount[startLine] + 1 + (spaceAfterMarker ? 1 : 0);
1994
+ lastLineEmpty = pos >= max;
1995
+ oldSCount = [state.sCount[startLine]];
1996
+ state.sCount[startLine] = offset - initial;
1997
+ oldTShift = [state.tShift[startLine]];
1998
+ state.tShift[startLine] = pos - state.bMarks[startLine];
1999
+ terminatorRules = state.md.block.ruler.getRules("blockquote");
2000
+ oldParentType = state.parentType;
2001
+ state.parentType = "blockquote";
2002
+ for (nextLine = startLine + 1; nextLine < endLine; nextLine++) {
2003
+ isOutdented = state.sCount[nextLine] < state.blkIndent;
2004
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
2005
+ max = state.eMarks[nextLine];
2006
+ if (pos >= max) {
2007
+ break;
2008
+ }
2009
+ if (state.src.charCodeAt(pos++) === 62 && !isOutdented) {
2010
+ initial = offset = state.sCount[nextLine] + 1;
2011
+ if (state.src.charCodeAt(pos) === 32) {
2012
+ pos++;
2013
+ initial++;
2014
+ offset++;
2015
+ adjustTab = false;
2016
+ spaceAfterMarker = true;
2017
+ } else if (state.src.charCodeAt(pos) === 9) {
2018
+ spaceAfterMarker = true;
2019
+ if ((state.bsCount[nextLine] + offset) % 4 === 3) {
2020
+ pos++;
2021
+ initial++;
2022
+ offset++;
2023
+ adjustTab = false;
2024
+ } else {
2025
+ adjustTab = true;
2026
+ }
2027
+ } else {
2028
+ spaceAfterMarker = false;
2029
+ }
2030
+ oldBMarks.push(state.bMarks[nextLine]);
2031
+ state.bMarks[nextLine] = pos;
2032
+ while (pos < max) {
2033
+ ch = state.src.charCodeAt(pos);
2034
+ if (isSpace(ch)) {
2035
+ if (ch === 9) {
2036
+ offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
2037
+ } else {
2038
+ offset++;
2039
+ }
2040
+ } else {
2041
+ break;
2042
+ }
2043
+ pos++;
2044
+ }
2045
+ lastLineEmpty = pos >= max;
2046
+ oldBSCount.push(state.bsCount[nextLine]);
2047
+ state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);
2048
+ oldSCount.push(state.sCount[nextLine]);
2049
+ state.sCount[nextLine] = offset - initial;
2050
+ oldTShift.push(state.tShift[nextLine]);
2051
+ state.tShift[nextLine] = pos - state.bMarks[nextLine];
2052
+ continue;
2053
+ }
2054
+ if (lastLineEmpty) {
2055
+ break;
2056
+ }
2057
+ terminate = false;
2058
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
2059
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
2060
+ terminate = true;
2061
+ break;
2062
+ }
2063
+ }
2064
+ if (terminate) {
2065
+ state.lineMax = nextLine;
2066
+ if (state.blkIndent !== 0) {
2067
+ oldBMarks.push(state.bMarks[nextLine]);
2068
+ oldBSCount.push(state.bsCount[nextLine]);
2069
+ oldTShift.push(state.tShift[nextLine]);
2070
+ oldSCount.push(state.sCount[nextLine]);
2071
+ state.sCount[nextLine] -= state.blkIndent;
2072
+ }
2073
+ break;
2074
+ }
2075
+ oldBMarks.push(state.bMarks[nextLine]);
2076
+ oldBSCount.push(state.bsCount[nextLine]);
2077
+ oldTShift.push(state.tShift[nextLine]);
2078
+ oldSCount.push(state.sCount[nextLine]);
2079
+ state.sCount[nextLine] = -1;
2080
+ }
2081
+ oldIndent = state.blkIndent;
2082
+ state.blkIndent = 0;
2083
+ token = state.push("blockquote_open", "blockquote", 1);
2084
+ token.markup = ">";
2085
+ token.map = lines = [startLine, 0];
2086
+ state.md.block.tokenize(state, startLine, nextLine);
2087
+ token = state.push("blockquote_close", "blockquote", -1);
2088
+ token.markup = ">";
2089
+ state.lineMax = oldLineMax;
2090
+ state.parentType = oldParentType;
2091
+ lines[1] = state.line;
2092
+ for (i = 0; i < oldTShift.length; i++) {
2093
+ state.bMarks[i + startLine] = oldBMarks[i];
2094
+ state.tShift[i + startLine] = oldTShift[i];
2095
+ state.sCount[i + startLine] = oldSCount[i];
2096
+ state.bsCount[i + startLine] = oldBSCount[i];
2097
+ }
2098
+ state.blkIndent = oldIndent;
2099
+ return true;
2100
+ };
2101
+ }
2102
+ });
2103
+
2104
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js
2105
+ var require_hr = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2106
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js"(exports, module) {
2107
+ "use strict";
2108
+ var isSpace = require_utils().isSpace;
2109
+ module.exports = function hr(state, startLine, endLine, silent) {
2110
+ var marker, cnt, ch, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
2111
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
2112
+ return false;
2113
+ }
2114
+ marker = state.src.charCodeAt(pos++);
2115
+ if (marker !== 42 && marker !== 45 && marker !== 95) {
2116
+ return false;
2117
+ }
2118
+ cnt = 1;
2119
+ while (pos < max) {
2120
+ ch = state.src.charCodeAt(pos++);
2121
+ if (ch !== marker && !isSpace(ch)) {
2122
+ return false;
2123
+ }
2124
+ if (ch === marker) {
2125
+ cnt++;
2126
+ }
2127
+ }
2128
+ if (cnt < 3) {
2129
+ return false;
2130
+ }
2131
+ if (silent) {
2132
+ return true;
2133
+ }
2134
+ state.line = startLine + 1;
2135
+ token = state.push("hr", "hr", 0);
2136
+ token.map = [startLine, state.line];
2137
+ token.markup = Array(cnt + 1).join(String.fromCharCode(marker));
2138
+ return true;
2139
+ };
2140
+ }
2141
+ });
2142
+
2143
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js
2144
+ var require_list = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2145
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js"(exports, module) {
2146
+ "use strict";
2147
+ var isSpace = require_utils().isSpace;
2148
+ function skipBulletListMarker(state, startLine) {
2149
+ var marker, pos, max, ch;
2150
+ pos = state.bMarks[startLine] + state.tShift[startLine];
2151
+ max = state.eMarks[startLine];
2152
+ marker = state.src.charCodeAt(pos++);
2153
+ if (marker !== 42 && marker !== 45 && marker !== 43) {
2154
+ return -1;
2155
+ }
2156
+ if (pos < max) {
2157
+ ch = state.src.charCodeAt(pos);
2158
+ if (!isSpace(ch)) {
2159
+ return -1;
2160
+ }
2161
+ }
2162
+ return pos;
2163
+ }
2164
+ function skipOrderedListMarker(state, startLine) {
2165
+ var ch, start = state.bMarks[startLine] + state.tShift[startLine], pos = start, max = state.eMarks[startLine];
2166
+ if (pos + 1 >= max) {
2167
+ return -1;
2168
+ }
2169
+ ch = state.src.charCodeAt(pos++);
2170
+ if (ch < 48 || ch > 57) {
2171
+ return -1;
2172
+ }
2173
+ for (; ; ) {
2174
+ if (pos >= max) {
2175
+ return -1;
2176
+ }
2177
+ ch = state.src.charCodeAt(pos++);
2178
+ if (ch >= 48 && ch <= 57) {
2179
+ if (pos - start >= 10) {
2180
+ return -1;
2181
+ }
2182
+ continue;
2183
+ }
2184
+ if (ch === 41 || ch === 46) {
2185
+ break;
2186
+ }
2187
+ return -1;
2188
+ }
2189
+ if (pos < max) {
2190
+ ch = state.src.charCodeAt(pos);
2191
+ if (!isSpace(ch)) {
2192
+ return -1;
2193
+ }
2194
+ }
2195
+ return pos;
2196
+ }
2197
+ function markTightParagraphs(state, idx) {
2198
+ var i, l, level = state.level + 2;
2199
+ for (i = idx + 2, l = state.tokens.length - 2; i < l; i++) {
2200
+ if (state.tokens[i].level === level && state.tokens[i].type === "paragraph_open") {
2201
+ state.tokens[i + 2].hidden = true;
2202
+ state.tokens[i].hidden = true;
2203
+ i += 2;
2204
+ }
2205
+ }
2206
+ }
2207
+ module.exports = function list(state, startLine, endLine, silent) {
2208
+ var ch, contentStart, i, indent, indentAfterMarker, initial, isOrdered, itemLines, l, listLines, listTokIdx, markerCharCode, markerValue, max, nextLine, offset, oldListIndent, oldParentType, oldSCount, oldTShift, oldTight, pos, posAfterMarker, prevEmptyEnd, start, terminate, terminatorRules, token, isTerminatingParagraph = false, tight = true;
2209
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
2210
+ return false;
2211
+ }
2212
+ if (state.listIndent >= 0 && state.sCount[startLine] - state.listIndent >= 4 && state.sCount[startLine] < state.blkIndent) {
2213
+ return false;
2214
+ }
2215
+ if (silent && state.parentType === "paragraph") {
2216
+ if (state.sCount[startLine] >= state.blkIndent) {
2217
+ isTerminatingParagraph = true;
2218
+ }
2219
+ }
2220
+ if ((posAfterMarker = skipOrderedListMarker(state, startLine)) >= 0) {
2221
+ isOrdered = true;
2222
+ start = state.bMarks[startLine] + state.tShift[startLine];
2223
+ markerValue = Number(state.src.slice(start, posAfterMarker - 1));
2224
+ if (isTerminatingParagraph && markerValue !== 1)
2225
+ return false;
2226
+ } else if ((posAfterMarker = skipBulletListMarker(state, startLine)) >= 0) {
2227
+ isOrdered = false;
2228
+ } else {
2229
+ return false;
2230
+ }
2231
+ if (isTerminatingParagraph) {
2232
+ if (state.skipSpaces(posAfterMarker) >= state.eMarks[startLine])
2233
+ return false;
2234
+ }
2235
+ markerCharCode = state.src.charCodeAt(posAfterMarker - 1);
2236
+ if (silent) {
2237
+ return true;
2238
+ }
2239
+ listTokIdx = state.tokens.length;
2240
+ if (isOrdered) {
2241
+ token = state.push("ordered_list_open", "ol", 1);
2242
+ if (markerValue !== 1) {
2243
+ token.attrs = [["start", markerValue]];
2244
+ }
2245
+ } else {
2246
+ token = state.push("bullet_list_open", "ul", 1);
2247
+ }
2248
+ token.map = listLines = [startLine, 0];
2249
+ token.markup = String.fromCharCode(markerCharCode);
2250
+ nextLine = startLine;
2251
+ prevEmptyEnd = false;
2252
+ terminatorRules = state.md.block.ruler.getRules("list");
2253
+ oldParentType = state.parentType;
2254
+ state.parentType = "list";
2255
+ while (nextLine < endLine) {
2256
+ pos = posAfterMarker;
2257
+ max = state.eMarks[nextLine];
2258
+ initial = offset = state.sCount[nextLine] + posAfterMarker - (state.bMarks[startLine] + state.tShift[startLine]);
2259
+ while (pos < max) {
2260
+ ch = state.src.charCodeAt(pos);
2261
+ if (ch === 9) {
2262
+ offset += 4 - (offset + state.bsCount[nextLine]) % 4;
2263
+ } else if (ch === 32) {
2264
+ offset++;
2265
+ } else {
2266
+ break;
2267
+ }
2268
+ pos++;
2269
+ }
2270
+ contentStart = pos;
2271
+ if (contentStart >= max) {
2272
+ indentAfterMarker = 1;
2273
+ } else {
2274
+ indentAfterMarker = offset - initial;
2275
+ }
2276
+ if (indentAfterMarker > 4) {
2277
+ indentAfterMarker = 1;
2278
+ }
2279
+ indent = initial + indentAfterMarker;
2280
+ token = state.push("list_item_open", "li", 1);
2281
+ token.markup = String.fromCharCode(markerCharCode);
2282
+ token.map = itemLines = [startLine, 0];
2283
+ if (isOrdered) {
2284
+ token.info = state.src.slice(start, posAfterMarker - 1);
2285
+ }
2286
+ oldTight = state.tight;
2287
+ oldTShift = state.tShift[startLine];
2288
+ oldSCount = state.sCount[startLine];
2289
+ oldListIndent = state.listIndent;
2290
+ state.listIndent = state.blkIndent;
2291
+ state.blkIndent = indent;
2292
+ state.tight = true;
2293
+ state.tShift[startLine] = contentStart - state.bMarks[startLine];
2294
+ state.sCount[startLine] = offset;
2295
+ if (contentStart >= max && state.isEmpty(startLine + 1)) {
2296
+ state.line = Math.min(state.line + 2, endLine);
2297
+ } else {
2298
+ state.md.block.tokenize(state, startLine, endLine, true);
2299
+ }
2300
+ if (!state.tight || prevEmptyEnd) {
2301
+ tight = false;
2302
+ }
2303
+ prevEmptyEnd = state.line - startLine > 1 && state.isEmpty(state.line - 1);
2304
+ state.blkIndent = state.listIndent;
2305
+ state.listIndent = oldListIndent;
2306
+ state.tShift[startLine] = oldTShift;
2307
+ state.sCount[startLine] = oldSCount;
2308
+ state.tight = oldTight;
2309
+ token = state.push("list_item_close", "li", -1);
2310
+ token.markup = String.fromCharCode(markerCharCode);
2311
+ nextLine = startLine = state.line;
2312
+ itemLines[1] = nextLine;
2313
+ contentStart = state.bMarks[startLine];
2314
+ if (nextLine >= endLine) {
2315
+ break;
2316
+ }
2317
+ if (state.sCount[nextLine] < state.blkIndent) {
2318
+ break;
2319
+ }
2320
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
2321
+ break;
2322
+ }
2323
+ terminate = false;
2324
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
2325
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
2326
+ terminate = true;
2327
+ break;
2328
+ }
2329
+ }
2330
+ if (terminate) {
2331
+ break;
2332
+ }
2333
+ if (isOrdered) {
2334
+ posAfterMarker = skipOrderedListMarker(state, nextLine);
2335
+ if (posAfterMarker < 0) {
2336
+ break;
2337
+ }
2338
+ start = state.bMarks[nextLine] + state.tShift[nextLine];
2339
+ } else {
2340
+ posAfterMarker = skipBulletListMarker(state, nextLine);
2341
+ if (posAfterMarker < 0) {
2342
+ break;
2343
+ }
2344
+ }
2345
+ if (markerCharCode !== state.src.charCodeAt(posAfterMarker - 1)) {
2346
+ break;
2347
+ }
2348
+ }
2349
+ if (isOrdered) {
2350
+ token = state.push("ordered_list_close", "ol", -1);
2351
+ } else {
2352
+ token = state.push("bullet_list_close", "ul", -1);
2353
+ }
2354
+ token.markup = String.fromCharCode(markerCharCode);
2355
+ listLines[1] = nextLine;
2356
+ state.line = nextLine;
2357
+ state.parentType = oldParentType;
2358
+ if (tight) {
2359
+ markTightParagraphs(state, listTokIdx);
2360
+ }
2361
+ return true;
2362
+ };
2363
+ }
2364
+ });
2365
+
2366
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js
2367
+ var require_reference = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2368
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js"(exports, module) {
2369
+ "use strict";
2370
+ var normalizeReference = require_utils().normalizeReference;
2371
+ var isSpace = require_utils().isSpace;
2372
+ module.exports = function reference(state, startLine, _endLine, silent) {
2373
+ var ch, destEndPos, destEndLineNo, endLine, href, i, l, label, labelEnd, oldParentType, res, start, str, terminate, terminatorRules, title, lines = 0, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine], nextLine = startLine + 1;
2374
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
2375
+ return false;
2376
+ }
2377
+ if (state.src.charCodeAt(pos) !== 91) {
2378
+ return false;
2379
+ }
2380
+ while (++pos < max) {
2381
+ if (state.src.charCodeAt(pos) === 93 && state.src.charCodeAt(pos - 1) !== 92) {
2382
+ if (pos + 1 === max) {
2383
+ return false;
2384
+ }
2385
+ if (state.src.charCodeAt(pos + 1) !== 58) {
2386
+ return false;
2387
+ }
2388
+ break;
2389
+ }
2390
+ }
2391
+ endLine = state.lineMax;
2392
+ terminatorRules = state.md.block.ruler.getRules("reference");
2393
+ oldParentType = state.parentType;
2394
+ state.parentType = "reference";
2395
+ for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
2396
+ if (state.sCount[nextLine] - state.blkIndent > 3) {
2397
+ continue;
2398
+ }
2399
+ if (state.sCount[nextLine] < 0) {
2400
+ continue;
2401
+ }
2402
+ terminate = false;
2403
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
2404
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
2405
+ terminate = true;
2406
+ break;
2407
+ }
2408
+ }
2409
+ if (terminate) {
2410
+ break;
2411
+ }
2412
+ }
2413
+ str = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
2414
+ max = str.length;
2415
+ for (pos = 1; pos < max; pos++) {
2416
+ ch = str.charCodeAt(pos);
2417
+ if (ch === 91) {
2418
+ return false;
2419
+ } else if (ch === 93) {
2420
+ labelEnd = pos;
2421
+ break;
2422
+ } else if (ch === 10) {
2423
+ lines++;
2424
+ } else if (ch === 92) {
2425
+ pos++;
2426
+ if (pos < max && str.charCodeAt(pos) === 10) {
2427
+ lines++;
2428
+ }
2429
+ }
2430
+ }
2431
+ if (labelEnd < 0 || str.charCodeAt(labelEnd + 1) !== 58) {
2432
+ return false;
2433
+ }
2434
+ for (pos = labelEnd + 2; pos < max; pos++) {
2435
+ ch = str.charCodeAt(pos);
2436
+ if (ch === 10) {
2437
+ lines++;
2438
+ } else if (isSpace(ch)) {
2439
+ } else {
2440
+ break;
2441
+ }
2442
+ }
2443
+ res = state.md.helpers.parseLinkDestination(str, pos, max);
2444
+ if (!res.ok) {
2445
+ return false;
2446
+ }
2447
+ href = state.md.normalizeLink(res.str);
2448
+ if (!state.md.validateLink(href)) {
2449
+ return false;
2450
+ }
2451
+ pos = res.pos;
2452
+ lines += res.lines;
2453
+ destEndPos = pos;
2454
+ destEndLineNo = lines;
2455
+ start = pos;
2456
+ for (; pos < max; pos++) {
2457
+ ch = str.charCodeAt(pos);
2458
+ if (ch === 10) {
2459
+ lines++;
2460
+ } else if (isSpace(ch)) {
2461
+ } else {
2462
+ break;
2463
+ }
2464
+ }
2465
+ res = state.md.helpers.parseLinkTitle(str, pos, max);
2466
+ if (pos < max && start !== pos && res.ok) {
2467
+ title = res.str;
2468
+ pos = res.pos;
2469
+ lines += res.lines;
2470
+ } else {
2471
+ title = "";
2472
+ pos = destEndPos;
2473
+ lines = destEndLineNo;
2474
+ }
2475
+ while (pos < max) {
2476
+ ch = str.charCodeAt(pos);
2477
+ if (!isSpace(ch)) {
2478
+ break;
2479
+ }
2480
+ pos++;
2481
+ }
2482
+ if (pos < max && str.charCodeAt(pos) !== 10) {
2483
+ if (title) {
2484
+ title = "";
2485
+ pos = destEndPos;
2486
+ lines = destEndLineNo;
2487
+ while (pos < max) {
2488
+ ch = str.charCodeAt(pos);
2489
+ if (!isSpace(ch)) {
2490
+ break;
2491
+ }
2492
+ pos++;
2493
+ }
2494
+ }
2495
+ }
2496
+ if (pos < max && str.charCodeAt(pos) !== 10) {
2497
+ return false;
2498
+ }
2499
+ label = normalizeReference(str.slice(1, labelEnd));
2500
+ if (!label) {
2501
+ return false;
2502
+ }
2503
+ if (silent) {
2504
+ return true;
2505
+ }
2506
+ if (typeof state.env.references === "undefined") {
2507
+ state.env.references = {};
2508
+ }
2509
+ if (typeof state.env.references[label] === "undefined") {
2510
+ state.env.references[label] = { title, href };
2511
+ }
2512
+ state.parentType = oldParentType;
2513
+ state.line = startLine + lines + 1;
2514
+ return true;
2515
+ };
2516
+ }
2517
+ });
2518
+
2519
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js
2520
+ var require_html_blocks = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2521
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js"(exports, module) {
2522
+ "use strict";
2523
+ module.exports = [
2524
+ "address",
2525
+ "article",
2526
+ "aside",
2527
+ "base",
2528
+ "basefont",
2529
+ "blockquote",
2530
+ "body",
2531
+ "caption",
2532
+ "center",
2533
+ "col",
2534
+ "colgroup",
2535
+ "dd",
2536
+ "details",
2537
+ "dialog",
2538
+ "dir",
2539
+ "div",
2540
+ "dl",
2541
+ "dt",
2542
+ "fieldset",
2543
+ "figcaption",
2544
+ "figure",
2545
+ "footer",
2546
+ "form",
2547
+ "frame",
2548
+ "frameset",
2549
+ "h1",
2550
+ "h2",
2551
+ "h3",
2552
+ "h4",
2553
+ "h5",
2554
+ "h6",
2555
+ "head",
2556
+ "header",
2557
+ "hr",
2558
+ "html",
2559
+ "iframe",
2560
+ "legend",
2561
+ "li",
2562
+ "link",
2563
+ "main",
2564
+ "menu",
2565
+ "menuitem",
2566
+ "nav",
2567
+ "noframes",
2568
+ "ol",
2569
+ "optgroup",
2570
+ "option",
2571
+ "p",
2572
+ "param",
2573
+ "section",
2574
+ "source",
2575
+ "summary",
2576
+ "table",
2577
+ "tbody",
2578
+ "td",
2579
+ "tfoot",
2580
+ "th",
2581
+ "thead",
2582
+ "title",
2583
+ "tr",
2584
+ "track",
2585
+ "ul"
2586
+ ];
2587
+ }
2588
+ });
2589
+
2590
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js
2591
+ var require_html_re = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2592
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js"(exports, module) {
2593
+ "use strict";
2594
+ var attr_name = "[a-zA-Z_:][a-zA-Z0-9:._-]*";
2595
+ var unquoted = "[^\"'=<>`\\x00-\\x20]+";
2596
+ var single_quoted = "'[^']*'";
2597
+ var double_quoted = '"[^"]*"';
2598
+ var attr_value = "(?:" + unquoted + "|" + single_quoted + "|" + double_quoted + ")";
2599
+ var attribute = "(?:\\s+" + attr_name + "(?:\\s*=\\s*" + attr_value + ")?)";
2600
+ var open_tag = "<[A-Za-z][A-Za-z0-9\\-]*" + attribute + "*\\s*\\/?>";
2601
+ var close_tag = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";
2602
+ var comment = "<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->";
2603
+ var processing = "<[?][\\s\\S]*?[?]>";
2604
+ var declaration = "<![A-Z]+\\s+[^>]*>";
2605
+ var cdata = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";
2606
+ var HTML_TAG_RE = new RegExp("^(?:" + open_tag + "|" + close_tag + "|" + comment + "|" + processing + "|" + declaration + "|" + cdata + ")");
2607
+ var HTML_OPEN_CLOSE_TAG_RE = new RegExp("^(?:" + open_tag + "|" + close_tag + ")");
2608
+ module.exports.HTML_TAG_RE = HTML_TAG_RE;
2609
+ module.exports.HTML_OPEN_CLOSE_TAG_RE = HTML_OPEN_CLOSE_TAG_RE;
2610
+ }
2611
+ });
2612
+
2613
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js
2614
+ var require_html_block = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2615
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js"(exports, module) {
2616
+ "use strict";
2617
+ var block_names = require_html_blocks();
2618
+ var HTML_OPEN_CLOSE_TAG_RE = require_html_re().HTML_OPEN_CLOSE_TAG_RE;
2619
+ var HTML_SEQUENCES = [
2620
+ [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, true],
2621
+ [/^<!--/, /-->/, true],
2622
+ [/^<\?/, /\?>/, true],
2623
+ [/^<![A-Z]/, />/, true],
2624
+ [/^<!\[CDATA\[/, /\]\]>/, true],
2625
+ [new RegExp("^</?(" + block_names.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, true],
2626
+ [new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + "\\s*$"), /^$/, false]
2627
+ ];
2628
+ module.exports = function html_block(state, startLine, endLine, silent) {
2629
+ var i, nextLine, token, lineText, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
2630
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
2631
+ return false;
2632
+ }
2633
+ if (!state.md.options.html) {
2634
+ return false;
2635
+ }
2636
+ if (state.src.charCodeAt(pos) !== 60) {
2637
+ return false;
2638
+ }
2639
+ lineText = state.src.slice(pos, max);
2640
+ for (i = 0; i < HTML_SEQUENCES.length; i++) {
2641
+ if (HTML_SEQUENCES[i][0].test(lineText)) {
2642
+ break;
2643
+ }
2644
+ }
2645
+ if (i === HTML_SEQUENCES.length) {
2646
+ return false;
2647
+ }
2648
+ if (silent) {
2649
+ return HTML_SEQUENCES[i][2];
2650
+ }
2651
+ nextLine = startLine + 1;
2652
+ if (!HTML_SEQUENCES[i][1].test(lineText)) {
2653
+ for (; nextLine < endLine; nextLine++) {
2654
+ if (state.sCount[nextLine] < state.blkIndent) {
2655
+ break;
2656
+ }
2657
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
2658
+ max = state.eMarks[nextLine];
2659
+ lineText = state.src.slice(pos, max);
2660
+ if (HTML_SEQUENCES[i][1].test(lineText)) {
2661
+ if (lineText.length !== 0) {
2662
+ nextLine++;
2663
+ }
2664
+ break;
2665
+ }
2666
+ }
2667
+ }
2668
+ state.line = nextLine;
2669
+ token = state.push("html_block", "", 0);
2670
+ token.map = [startLine, nextLine];
2671
+ token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
2672
+ return true;
2673
+ };
2674
+ }
2675
+ });
2676
+
2677
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js
2678
+ var require_heading = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2679
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js"(exports, module) {
2680
+ "use strict";
2681
+ var isSpace = require_utils().isSpace;
2682
+ module.exports = function heading(state, startLine, endLine, silent) {
2683
+ var ch, level, tmp, token, pos = state.bMarks[startLine] + state.tShift[startLine], max = state.eMarks[startLine];
2684
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
2685
+ return false;
2686
+ }
2687
+ ch = state.src.charCodeAt(pos);
2688
+ if (ch !== 35 || pos >= max) {
2689
+ return false;
2690
+ }
2691
+ level = 1;
2692
+ ch = state.src.charCodeAt(++pos);
2693
+ while (ch === 35 && pos < max && level <= 6) {
2694
+ level++;
2695
+ ch = state.src.charCodeAt(++pos);
2696
+ }
2697
+ if (level > 6 || pos < max && !isSpace(ch)) {
2698
+ return false;
2699
+ }
2700
+ if (silent) {
2701
+ return true;
2702
+ }
2703
+ max = state.skipSpacesBack(max, pos);
2704
+ tmp = state.skipCharsBack(max, 35, pos);
2705
+ if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {
2706
+ max = tmp;
2707
+ }
2708
+ state.line = startLine + 1;
2709
+ token = state.push("heading_open", "h" + String(level), 1);
2710
+ token.markup = "########".slice(0, level);
2711
+ token.map = [startLine, state.line];
2712
+ token = state.push("inline", "", 0);
2713
+ token.content = state.src.slice(pos, max).trim();
2714
+ token.map = [startLine, state.line];
2715
+ token.children = [];
2716
+ token = state.push("heading_close", "h" + String(level), -1);
2717
+ token.markup = "########".slice(0, level);
2718
+ return true;
2719
+ };
2720
+ }
2721
+ });
2722
+
2723
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js
2724
+ var require_lheading = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2725
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js"(exports, module) {
2726
+ "use strict";
2727
+ module.exports = function lheading(state, startLine, endLine) {
2728
+ var content, terminate, i, l, token, pos, max, level, marker, nextLine = startLine + 1, oldParentType, terminatorRules = state.md.block.ruler.getRules("paragraph");
2729
+ if (state.sCount[startLine] - state.blkIndent >= 4) {
2730
+ return false;
2731
+ }
2732
+ oldParentType = state.parentType;
2733
+ state.parentType = "paragraph";
2734
+ for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
2735
+ if (state.sCount[nextLine] - state.blkIndent > 3) {
2736
+ continue;
2737
+ }
2738
+ if (state.sCount[nextLine] >= state.blkIndent) {
2739
+ pos = state.bMarks[nextLine] + state.tShift[nextLine];
2740
+ max = state.eMarks[nextLine];
2741
+ if (pos < max) {
2742
+ marker = state.src.charCodeAt(pos);
2743
+ if (marker === 45 || marker === 61) {
2744
+ pos = state.skipChars(pos, marker);
2745
+ pos = state.skipSpaces(pos);
2746
+ if (pos >= max) {
2747
+ level = marker === 61 ? 1 : 2;
2748
+ break;
2749
+ }
2750
+ }
2751
+ }
2752
+ }
2753
+ if (state.sCount[nextLine] < 0) {
2754
+ continue;
2755
+ }
2756
+ terminate = false;
2757
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
2758
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
2759
+ terminate = true;
2760
+ break;
2761
+ }
2762
+ }
2763
+ if (terminate) {
2764
+ break;
2765
+ }
2766
+ }
2767
+ if (!level) {
2768
+ return false;
2769
+ }
2770
+ content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
2771
+ state.line = nextLine + 1;
2772
+ token = state.push("heading_open", "h" + String(level), 1);
2773
+ token.markup = String.fromCharCode(marker);
2774
+ token.map = [startLine, state.line];
2775
+ token = state.push("inline", "", 0);
2776
+ token.content = content;
2777
+ token.map = [startLine, state.line - 1];
2778
+ token.children = [];
2779
+ token = state.push("heading_close", "h" + String(level), -1);
2780
+ token.markup = String.fromCharCode(marker);
2781
+ state.parentType = oldParentType;
2782
+ return true;
2783
+ };
2784
+ }
2785
+ });
2786
+
2787
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js
2788
+ var require_paragraph = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2789
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js"(exports, module) {
2790
+ "use strict";
2791
+ module.exports = function paragraph(state, startLine) {
2792
+ var content, terminate, i, l, token, oldParentType, nextLine = startLine + 1, terminatorRules = state.md.block.ruler.getRules("paragraph"), endLine = state.lineMax;
2793
+ oldParentType = state.parentType;
2794
+ state.parentType = "paragraph";
2795
+ for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
2796
+ if (state.sCount[nextLine] - state.blkIndent > 3) {
2797
+ continue;
2798
+ }
2799
+ if (state.sCount[nextLine] < 0) {
2800
+ continue;
2801
+ }
2802
+ terminate = false;
2803
+ for (i = 0, l = terminatorRules.length; i < l; i++) {
2804
+ if (terminatorRules[i](state, nextLine, endLine, true)) {
2805
+ terminate = true;
2806
+ break;
2807
+ }
2808
+ }
2809
+ if (terminate) {
2810
+ break;
2811
+ }
2812
+ }
2813
+ content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
2814
+ state.line = nextLine;
2815
+ token = state.push("paragraph_open", "p", 1);
2816
+ token.map = [startLine, state.line];
2817
+ token = state.push("inline", "", 0);
2818
+ token.content = content;
2819
+ token.map = [startLine, state.line];
2820
+ token.children = [];
2821
+ token = state.push("paragraph_close", "p", -1);
2822
+ state.parentType = oldParentType;
2823
+ return true;
2824
+ };
2825
+ }
2826
+ });
2827
+
2828
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js
2829
+ var require_state_block = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2830
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js"(exports, module) {
2831
+ "use strict";
2832
+ var Token = require_token();
2833
+ var isSpace = require_utils().isSpace;
2834
+ function StateBlock(src, md2, env, tokens) {
2835
+ var ch, s, start, pos, len, indent, offset, indent_found;
2836
+ this.src = src;
2837
+ this.md = md2;
2838
+ this.env = env;
2839
+ this.tokens = tokens;
2840
+ this.bMarks = [];
2841
+ this.eMarks = [];
2842
+ this.tShift = [];
2843
+ this.sCount = [];
2844
+ this.bsCount = [];
2845
+ this.blkIndent = 0;
2846
+ this.line = 0;
2847
+ this.lineMax = 0;
2848
+ this.tight = false;
2849
+ this.ddIndent = -1;
2850
+ this.listIndent = -1;
2851
+ this.parentType = "root";
2852
+ this.level = 0;
2853
+ this.result = "";
2854
+ s = this.src;
2855
+ indent_found = false;
2856
+ for (start = pos = indent = offset = 0, len = s.length; pos < len; pos++) {
2857
+ ch = s.charCodeAt(pos);
2858
+ if (!indent_found) {
2859
+ if (isSpace(ch)) {
2860
+ indent++;
2861
+ if (ch === 9) {
2862
+ offset += 4 - offset % 4;
2863
+ } else {
2864
+ offset++;
2865
+ }
2866
+ continue;
2867
+ } else {
2868
+ indent_found = true;
2869
+ }
2870
+ }
2871
+ if (ch === 10 || pos === len - 1) {
2872
+ if (ch !== 10) {
2873
+ pos++;
2874
+ }
2875
+ this.bMarks.push(start);
2876
+ this.eMarks.push(pos);
2877
+ this.tShift.push(indent);
2878
+ this.sCount.push(offset);
2879
+ this.bsCount.push(0);
2880
+ indent_found = false;
2881
+ indent = 0;
2882
+ offset = 0;
2883
+ start = pos + 1;
2884
+ }
2885
+ }
2886
+ this.bMarks.push(s.length);
2887
+ this.eMarks.push(s.length);
2888
+ this.tShift.push(0);
2889
+ this.sCount.push(0);
2890
+ this.bsCount.push(0);
2891
+ this.lineMax = this.bMarks.length - 1;
2892
+ }
2893
+ StateBlock.prototype.push = function(type, tag, nesting) {
2894
+ var token = new Token(type, tag, nesting);
2895
+ token.block = true;
2896
+ if (nesting < 0)
2897
+ this.level--;
2898
+ token.level = this.level;
2899
+ if (nesting > 0)
2900
+ this.level++;
2901
+ this.tokens.push(token);
2902
+ return token;
2903
+ };
2904
+ StateBlock.prototype.isEmpty = function isEmpty(line) {
2905
+ return this.bMarks[line] + this.tShift[line] >= this.eMarks[line];
2906
+ };
2907
+ StateBlock.prototype.skipEmptyLines = function skipEmptyLines(from) {
2908
+ for (var max = this.lineMax; from < max; from++) {
2909
+ if (this.bMarks[from] + this.tShift[from] < this.eMarks[from]) {
2910
+ break;
2911
+ }
2912
+ }
2913
+ return from;
2914
+ };
2915
+ StateBlock.prototype.skipSpaces = function skipSpaces(pos) {
2916
+ var ch;
2917
+ for (var max = this.src.length; pos < max; pos++) {
2918
+ ch = this.src.charCodeAt(pos);
2919
+ if (!isSpace(ch)) {
2920
+ break;
2921
+ }
2922
+ }
2923
+ return pos;
2924
+ };
2925
+ StateBlock.prototype.skipSpacesBack = function skipSpacesBack(pos, min) {
2926
+ if (pos <= min) {
2927
+ return pos;
2928
+ }
2929
+ while (pos > min) {
2930
+ if (!isSpace(this.src.charCodeAt(--pos))) {
2931
+ return pos + 1;
2932
+ }
2933
+ }
2934
+ return pos;
2935
+ };
2936
+ StateBlock.prototype.skipChars = function skipChars(pos, code) {
2937
+ for (var max = this.src.length; pos < max; pos++) {
2938
+ if (this.src.charCodeAt(pos) !== code) {
2939
+ break;
2940
+ }
2941
+ }
2942
+ return pos;
2943
+ };
2944
+ StateBlock.prototype.skipCharsBack = function skipCharsBack(pos, code, min) {
2945
+ if (pos <= min) {
2946
+ return pos;
2947
+ }
2948
+ while (pos > min) {
2949
+ if (code !== this.src.charCodeAt(--pos)) {
2950
+ return pos + 1;
2951
+ }
2952
+ }
2953
+ return pos;
2954
+ };
2955
+ StateBlock.prototype.getLines = function getLines(begin, end, indent, keepLastLF) {
2956
+ var i, lineIndent, ch, first, last, queue, lineStart, line = begin;
2957
+ if (begin >= end) {
2958
+ return "";
2959
+ }
2960
+ queue = new Array(end - begin);
2961
+ for (i = 0; line < end; line++, i++) {
2962
+ lineIndent = 0;
2963
+ lineStart = first = this.bMarks[line];
2964
+ if (line + 1 < end || keepLastLF) {
2965
+ last = this.eMarks[line] + 1;
2966
+ } else {
2967
+ last = this.eMarks[line];
2968
+ }
2969
+ while (first < last && lineIndent < indent) {
2970
+ ch = this.src.charCodeAt(first);
2971
+ if (isSpace(ch)) {
2972
+ if (ch === 9) {
2973
+ lineIndent += 4 - (lineIndent + this.bsCount[line]) % 4;
2974
+ } else {
2975
+ lineIndent++;
2976
+ }
2977
+ } else if (first - lineStart < this.tShift[line]) {
2978
+ lineIndent++;
2979
+ } else {
2980
+ break;
2981
+ }
2982
+ first++;
2983
+ }
2984
+ if (lineIndent > indent) {
2985
+ queue[i] = new Array(lineIndent - indent + 1).join(" ") + this.src.slice(first, last);
2986
+ } else {
2987
+ queue[i] = this.src.slice(first, last);
2988
+ }
2989
+ }
2990
+ return queue.join("");
2991
+ };
2992
+ StateBlock.prototype.Token = Token;
2993
+ module.exports = StateBlock;
2994
+ }
2995
+ });
2996
+
2997
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js
2998
+ var require_parser_block = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
2999
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js"(exports, module) {
3000
+ "use strict";
3001
+ var Ruler = require_ruler();
3002
+ var _rules = [
3003
+ ["table", require_table(), ["paragraph", "reference"]],
3004
+ ["code", require_code()],
3005
+ ["fence", require_fence(), ["paragraph", "reference", "blockquote", "list"]],
3006
+ ["blockquote", require_blockquote(), ["paragraph", "reference", "blockquote", "list"]],
3007
+ ["hr", require_hr(), ["paragraph", "reference", "blockquote", "list"]],
3008
+ ["list", require_list(), ["paragraph", "reference", "blockquote"]],
3009
+ ["reference", require_reference()],
3010
+ ["html_block", require_html_block(), ["paragraph", "reference", "blockquote"]],
3011
+ ["heading", require_heading(), ["paragraph", "reference", "blockquote"]],
3012
+ ["lheading", require_lheading()],
3013
+ ["paragraph", require_paragraph()]
3014
+ ];
3015
+ function ParserBlock() {
3016
+ this.ruler = new Ruler();
3017
+ for (var i = 0; i < _rules.length; i++) {
3018
+ this.ruler.push(_rules[i][0], _rules[i][1], { alt: (_rules[i][2] || []).slice() });
3019
+ }
3020
+ }
3021
+ ParserBlock.prototype.tokenize = function(state, startLine, endLine) {
3022
+ var ok, i, rules = this.ruler.getRules(""), len = rules.length, line = startLine, hasEmptyLines = false, maxNesting = state.md.options.maxNesting;
3023
+ while (line < endLine) {
3024
+ state.line = line = state.skipEmptyLines(line);
3025
+ if (line >= endLine) {
3026
+ break;
3027
+ }
3028
+ if (state.sCount[line] < state.blkIndent) {
3029
+ break;
3030
+ }
3031
+ if (state.level >= maxNesting) {
3032
+ state.line = endLine;
3033
+ break;
3034
+ }
3035
+ for (i = 0; i < len; i++) {
3036
+ ok = rules[i](state, line, endLine, false);
3037
+ if (ok) {
3038
+ break;
3039
+ }
3040
+ }
3041
+ state.tight = !hasEmptyLines;
3042
+ if (state.isEmpty(state.line - 1)) {
3043
+ hasEmptyLines = true;
3044
+ }
3045
+ line = state.line;
3046
+ if (line < endLine && state.isEmpty(line)) {
3047
+ hasEmptyLines = true;
3048
+ line++;
3049
+ state.line = line;
3050
+ }
3051
+ }
3052
+ };
3053
+ ParserBlock.prototype.parse = function(src, md2, env, outTokens) {
3054
+ var state;
3055
+ if (!src) {
3056
+ return;
3057
+ }
3058
+ state = new this.State(src, md2, env, outTokens);
3059
+ this.tokenize(state, state.line, state.lineMax);
3060
+ };
3061
+ ParserBlock.prototype.State = require_state_block();
3062
+ module.exports = ParserBlock;
3063
+ }
3064
+ });
3065
+
3066
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js
3067
+ var require_text = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3068
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js"(exports, module) {
3069
+ "use strict";
3070
+ function isTerminatorChar(ch) {
3071
+ switch (ch) {
3072
+ case 10:
3073
+ case 33:
3074
+ case 35:
3075
+ case 36:
3076
+ case 37:
3077
+ case 38:
3078
+ case 42:
3079
+ case 43:
3080
+ case 45:
3081
+ case 58:
3082
+ case 60:
3083
+ case 61:
3084
+ case 62:
3085
+ case 64:
3086
+ case 91:
3087
+ case 92:
3088
+ case 93:
3089
+ case 94:
3090
+ case 95:
3091
+ case 96:
3092
+ case 123:
3093
+ case 125:
3094
+ case 126:
3095
+ return true;
3096
+ default:
3097
+ return false;
3098
+ }
3099
+ }
3100
+ module.exports = function text(state, silent) {
3101
+ var pos = state.pos;
3102
+ while (pos < state.posMax && !isTerminatorChar(state.src.charCodeAt(pos))) {
3103
+ pos++;
3104
+ }
3105
+ if (pos === state.pos) {
3106
+ return false;
3107
+ }
3108
+ if (!silent) {
3109
+ state.pending += state.src.slice(state.pos, pos);
3110
+ }
3111
+ state.pos = pos;
3112
+ return true;
3113
+ };
3114
+ }
3115
+ });
3116
+
3117
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js
3118
+ var require_newline = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3119
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js"(exports, module) {
3120
+ "use strict";
3121
+ var isSpace = require_utils().isSpace;
3122
+ module.exports = function newline(state, silent) {
3123
+ var pmax, max, ws, pos = state.pos;
3124
+ if (state.src.charCodeAt(pos) !== 10) {
3125
+ return false;
3126
+ }
3127
+ pmax = state.pending.length - 1;
3128
+ max = state.posMax;
3129
+ if (!silent) {
3130
+ if (pmax >= 0 && state.pending.charCodeAt(pmax) === 32) {
3131
+ if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 32) {
3132
+ ws = pmax - 1;
3133
+ while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 32)
3134
+ ws--;
3135
+ state.pending = state.pending.slice(0, ws);
3136
+ state.push("hardbreak", "br", 0);
3137
+ } else {
3138
+ state.pending = state.pending.slice(0, -1);
3139
+ state.push("softbreak", "br", 0);
3140
+ }
3141
+ } else {
3142
+ state.push("softbreak", "br", 0);
3143
+ }
3144
+ }
3145
+ pos++;
3146
+ while (pos < max && isSpace(state.src.charCodeAt(pos))) {
3147
+ pos++;
3148
+ }
3149
+ state.pos = pos;
3150
+ return true;
3151
+ };
3152
+ }
3153
+ });
3154
+
3155
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js
3156
+ var require_escape = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3157
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js"(exports, module) {
3158
+ "use strict";
3159
+ var isSpace = require_utils().isSpace;
3160
+ var ESCAPED = [];
3161
+ for (i = 0; i < 256; i++) {
3162
+ ESCAPED.push(0);
3163
+ }
3164
+ var i;
3165
+ "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(ch) {
3166
+ ESCAPED[ch.charCodeAt(0)] = 1;
3167
+ });
3168
+ module.exports = function escape(state, silent) {
3169
+ var ch, pos = state.pos, max = state.posMax;
3170
+ if (state.src.charCodeAt(pos) !== 92) {
3171
+ return false;
3172
+ }
3173
+ pos++;
3174
+ if (pos < max) {
3175
+ ch = state.src.charCodeAt(pos);
3176
+ if (ch < 256 && ESCAPED[ch] !== 0) {
3177
+ if (!silent) {
3178
+ state.pending += state.src[pos];
3179
+ }
3180
+ state.pos += 2;
3181
+ return true;
3182
+ }
3183
+ if (ch === 10) {
3184
+ if (!silent) {
3185
+ state.push("hardbreak", "br", 0);
3186
+ }
3187
+ pos++;
3188
+ while (pos < max) {
3189
+ ch = state.src.charCodeAt(pos);
3190
+ if (!isSpace(ch)) {
3191
+ break;
3192
+ }
3193
+ pos++;
3194
+ }
3195
+ state.pos = pos;
3196
+ return true;
3197
+ }
3198
+ }
3199
+ if (!silent) {
3200
+ state.pending += "\\";
3201
+ }
3202
+ state.pos++;
3203
+ return true;
3204
+ };
3205
+ }
3206
+ });
3207
+
3208
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js
3209
+ var require_backticks = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3210
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js"(exports, module) {
3211
+ "use strict";
3212
+ module.exports = function backtick(state, silent) {
3213
+ var start, max, marker, token, matchStart, matchEnd, openerLength, closerLength, pos = state.pos, ch = state.src.charCodeAt(pos);
3214
+ if (ch !== 96) {
3215
+ return false;
3216
+ }
3217
+ start = pos;
3218
+ pos++;
3219
+ max = state.posMax;
3220
+ while (pos < max && state.src.charCodeAt(pos) === 96) {
3221
+ pos++;
3222
+ }
3223
+ marker = state.src.slice(start, pos);
3224
+ openerLength = marker.length;
3225
+ if (state.backticksScanned && (state.backticks[openerLength] || 0) <= start) {
3226
+ if (!silent)
3227
+ state.pending += marker;
3228
+ state.pos += openerLength;
3229
+ return true;
3230
+ }
3231
+ matchStart = matchEnd = pos;
3232
+ while ((matchStart = state.src.indexOf("`", matchEnd)) !== -1) {
3233
+ matchEnd = matchStart + 1;
3234
+ while (matchEnd < max && state.src.charCodeAt(matchEnd) === 96) {
3235
+ matchEnd++;
3236
+ }
3237
+ closerLength = matchEnd - matchStart;
3238
+ if (closerLength === openerLength) {
3239
+ if (!silent) {
3240
+ token = state.push("code_inline", "code", 0);
3241
+ token.markup = marker;
3242
+ token.content = state.src.slice(pos, matchStart).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
3243
+ }
3244
+ state.pos = matchEnd;
3245
+ return true;
3246
+ }
3247
+ state.backticks[closerLength] = matchStart;
3248
+ }
3249
+ state.backticksScanned = true;
3250
+ if (!silent)
3251
+ state.pending += marker;
3252
+ state.pos += openerLength;
3253
+ return true;
3254
+ };
3255
+ }
3256
+ });
3257
+
3258
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js
3259
+ var require_strikethrough = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3260
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js"(exports, module) {
3261
+ "use strict";
3262
+ module.exports.tokenize = function strikethrough(state, silent) {
3263
+ var i, scanned, token, len, ch, start = state.pos, marker = state.src.charCodeAt(start);
3264
+ if (silent) {
3265
+ return false;
3266
+ }
3267
+ if (marker !== 126) {
3268
+ return false;
3269
+ }
3270
+ scanned = state.scanDelims(state.pos, true);
3271
+ len = scanned.length;
3272
+ ch = String.fromCharCode(marker);
3273
+ if (len < 2) {
3274
+ return false;
3275
+ }
3276
+ if (len % 2) {
3277
+ token = state.push("text", "", 0);
3278
+ token.content = ch;
3279
+ len--;
3280
+ }
3281
+ for (i = 0; i < len; i += 2) {
3282
+ token = state.push("text", "", 0);
3283
+ token.content = ch + ch;
3284
+ state.delimiters.push({
3285
+ marker,
3286
+ length: 0,
3287
+ token: state.tokens.length - 1,
3288
+ end: -1,
3289
+ open: scanned.can_open,
3290
+ close: scanned.can_close
3291
+ });
3292
+ }
3293
+ state.pos += scanned.length;
3294
+ return true;
3295
+ };
3296
+ function postProcess(state, delimiters) {
3297
+ var i, j, startDelim, endDelim, token, loneMarkers = [], max = delimiters.length;
3298
+ for (i = 0; i < max; i++) {
3299
+ startDelim = delimiters[i];
3300
+ if (startDelim.marker !== 126) {
3301
+ continue;
3302
+ }
3303
+ if (startDelim.end === -1) {
3304
+ continue;
3305
+ }
3306
+ endDelim = delimiters[startDelim.end];
3307
+ token = state.tokens[startDelim.token];
3308
+ token.type = "s_open";
3309
+ token.tag = "s";
3310
+ token.nesting = 1;
3311
+ token.markup = "~~";
3312
+ token.content = "";
3313
+ token = state.tokens[endDelim.token];
3314
+ token.type = "s_close";
3315
+ token.tag = "s";
3316
+ token.nesting = -1;
3317
+ token.markup = "~~";
3318
+ token.content = "";
3319
+ if (state.tokens[endDelim.token - 1].type === "text" && state.tokens[endDelim.token - 1].content === "~") {
3320
+ loneMarkers.push(endDelim.token - 1);
3321
+ }
3322
+ }
3323
+ while (loneMarkers.length) {
3324
+ i = loneMarkers.pop();
3325
+ j = i + 1;
3326
+ while (j < state.tokens.length && state.tokens[j].type === "s_close") {
3327
+ j++;
3328
+ }
3329
+ j--;
3330
+ if (i !== j) {
3331
+ token = state.tokens[j];
3332
+ state.tokens[j] = state.tokens[i];
3333
+ state.tokens[i] = token;
3334
+ }
3335
+ }
3336
+ }
3337
+ module.exports.postProcess = function strikethrough(state) {
3338
+ var curr, tokens_meta = state.tokens_meta, max = state.tokens_meta.length;
3339
+ postProcess(state, state.delimiters);
3340
+ for (curr = 0; curr < max; curr++) {
3341
+ if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
3342
+ postProcess(state, tokens_meta[curr].delimiters);
3343
+ }
3344
+ }
3345
+ };
3346
+ }
3347
+ });
3348
+
3349
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js
3350
+ var require_emphasis = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3351
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js"(exports, module) {
3352
+ "use strict";
3353
+ module.exports.tokenize = function emphasis(state, silent) {
3354
+ var i, scanned, token, start = state.pos, marker = state.src.charCodeAt(start);
3355
+ if (silent) {
3356
+ return false;
3357
+ }
3358
+ if (marker !== 95 && marker !== 42) {
3359
+ return false;
3360
+ }
3361
+ scanned = state.scanDelims(state.pos, marker === 42);
3362
+ for (i = 0; i < scanned.length; i++) {
3363
+ token = state.push("text", "", 0);
3364
+ token.content = String.fromCharCode(marker);
3365
+ state.delimiters.push({
3366
+ marker,
3367
+ length: scanned.length,
3368
+ token: state.tokens.length - 1,
3369
+ end: -1,
3370
+ open: scanned.can_open,
3371
+ close: scanned.can_close
3372
+ });
3373
+ }
3374
+ state.pos += scanned.length;
3375
+ return true;
3376
+ };
3377
+ function postProcess(state, delimiters) {
3378
+ var i, startDelim, endDelim, token, ch, isStrong, max = delimiters.length;
3379
+ for (i = max - 1; i >= 0; i--) {
3380
+ startDelim = delimiters[i];
3381
+ if (startDelim.marker !== 95 && startDelim.marker !== 42) {
3382
+ continue;
3383
+ }
3384
+ if (startDelim.end === -1) {
3385
+ continue;
3386
+ }
3387
+ endDelim = delimiters[startDelim.end];
3388
+ isStrong = i > 0 && delimiters[i - 1].end === startDelim.end + 1 && delimiters[i - 1].marker === startDelim.marker && delimiters[i - 1].token === startDelim.token - 1 && delimiters[startDelim.end + 1].token === endDelim.token + 1;
3389
+ ch = String.fromCharCode(startDelim.marker);
3390
+ token = state.tokens[startDelim.token];
3391
+ token.type = isStrong ? "strong_open" : "em_open";
3392
+ token.tag = isStrong ? "strong" : "em";
3393
+ token.nesting = 1;
3394
+ token.markup = isStrong ? ch + ch : ch;
3395
+ token.content = "";
3396
+ token = state.tokens[endDelim.token];
3397
+ token.type = isStrong ? "strong_close" : "em_close";
3398
+ token.tag = isStrong ? "strong" : "em";
3399
+ token.nesting = -1;
3400
+ token.markup = isStrong ? ch + ch : ch;
3401
+ token.content = "";
3402
+ if (isStrong) {
3403
+ state.tokens[delimiters[i - 1].token].content = "";
3404
+ state.tokens[delimiters[startDelim.end + 1].token].content = "";
3405
+ i--;
3406
+ }
3407
+ }
3408
+ }
3409
+ module.exports.postProcess = function emphasis(state) {
3410
+ var curr, tokens_meta = state.tokens_meta, max = state.tokens_meta.length;
3411
+ postProcess(state, state.delimiters);
3412
+ for (curr = 0; curr < max; curr++) {
3413
+ if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
3414
+ postProcess(state, tokens_meta[curr].delimiters);
3415
+ }
3416
+ }
3417
+ };
3418
+ }
3419
+ });
3420
+
3421
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js
3422
+ var require_link = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3423
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js"(exports, module) {
3424
+ "use strict";
3425
+ var normalizeReference = require_utils().normalizeReference;
3426
+ var isSpace = require_utils().isSpace;
3427
+ module.exports = function link(state, silent) {
3428
+ var attrs, code, label, labelEnd, labelStart, pos, res, ref, token, href = "", title = "", oldPos = state.pos, max = state.posMax, start = state.pos, parseReference = true;
3429
+ if (state.src.charCodeAt(state.pos) !== 91) {
3430
+ return false;
3431
+ }
3432
+ labelStart = state.pos + 1;
3433
+ labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true);
3434
+ if (labelEnd < 0) {
3435
+ return false;
3436
+ }
3437
+ pos = labelEnd + 1;
3438
+ if (pos < max && state.src.charCodeAt(pos) === 40) {
3439
+ parseReference = false;
3440
+ pos++;
3441
+ for (; pos < max; pos++) {
3442
+ code = state.src.charCodeAt(pos);
3443
+ if (!isSpace(code) && code !== 10) {
3444
+ break;
3445
+ }
3446
+ }
3447
+ if (pos >= max) {
3448
+ return false;
3449
+ }
3450
+ start = pos;
3451
+ res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
3452
+ if (res.ok) {
3453
+ href = state.md.normalizeLink(res.str);
3454
+ if (state.md.validateLink(href)) {
3455
+ pos = res.pos;
3456
+ } else {
3457
+ href = "";
3458
+ }
3459
+ start = pos;
3460
+ for (; pos < max; pos++) {
3461
+ code = state.src.charCodeAt(pos);
3462
+ if (!isSpace(code) && code !== 10) {
3463
+ break;
3464
+ }
3465
+ }
3466
+ res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
3467
+ if (pos < max && start !== pos && res.ok) {
3468
+ title = res.str;
3469
+ pos = res.pos;
3470
+ for (; pos < max; pos++) {
3471
+ code = state.src.charCodeAt(pos);
3472
+ if (!isSpace(code) && code !== 10) {
3473
+ break;
3474
+ }
3475
+ }
3476
+ }
3477
+ }
3478
+ if (pos >= max || state.src.charCodeAt(pos) !== 41) {
3479
+ parseReference = true;
3480
+ }
3481
+ pos++;
3482
+ }
3483
+ if (parseReference) {
3484
+ if (typeof state.env.references === "undefined") {
3485
+ return false;
3486
+ }
3487
+ if (pos < max && state.src.charCodeAt(pos) === 91) {
3488
+ start = pos + 1;
3489
+ pos = state.md.helpers.parseLinkLabel(state, pos);
3490
+ if (pos >= 0) {
3491
+ label = state.src.slice(start, pos++);
3492
+ } else {
3493
+ pos = labelEnd + 1;
3494
+ }
3495
+ } else {
3496
+ pos = labelEnd + 1;
3497
+ }
3498
+ if (!label) {
3499
+ label = state.src.slice(labelStart, labelEnd);
3500
+ }
3501
+ ref = state.env.references[normalizeReference(label)];
3502
+ if (!ref) {
3503
+ state.pos = oldPos;
3504
+ return false;
3505
+ }
3506
+ href = ref.href;
3507
+ title = ref.title;
3508
+ }
3509
+ if (!silent) {
3510
+ state.pos = labelStart;
3511
+ state.posMax = labelEnd;
3512
+ token = state.push("link_open", "a", 1);
3513
+ token.attrs = attrs = [["href", href]];
3514
+ if (title) {
3515
+ attrs.push(["title", title]);
3516
+ }
3517
+ state.md.inline.tokenize(state);
3518
+ token = state.push("link_close", "a", -1);
3519
+ }
3520
+ state.pos = pos;
3521
+ state.posMax = max;
3522
+ return true;
3523
+ };
3524
+ }
3525
+ });
3526
+
3527
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js
3528
+ var require_image = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3529
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js"(exports, module) {
3530
+ "use strict";
3531
+ var normalizeReference = require_utils().normalizeReference;
3532
+ var isSpace = require_utils().isSpace;
3533
+ module.exports = function image(state, silent) {
3534
+ var attrs, code, content, label, labelEnd, labelStart, pos, ref, res, title, token, tokens, start, href = "", oldPos = state.pos, max = state.posMax;
3535
+ if (state.src.charCodeAt(state.pos) !== 33) {
3536
+ return false;
3537
+ }
3538
+ if (state.src.charCodeAt(state.pos + 1) !== 91) {
3539
+ return false;
3540
+ }
3541
+ labelStart = state.pos + 2;
3542
+ labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false);
3543
+ if (labelEnd < 0) {
3544
+ return false;
3545
+ }
3546
+ pos = labelEnd + 1;
3547
+ if (pos < max && state.src.charCodeAt(pos) === 40) {
3548
+ pos++;
3549
+ for (; pos < max; pos++) {
3550
+ code = state.src.charCodeAt(pos);
3551
+ if (!isSpace(code) && code !== 10) {
3552
+ break;
3553
+ }
3554
+ }
3555
+ if (pos >= max) {
3556
+ return false;
3557
+ }
3558
+ start = pos;
3559
+ res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
3560
+ if (res.ok) {
3561
+ href = state.md.normalizeLink(res.str);
3562
+ if (state.md.validateLink(href)) {
3563
+ pos = res.pos;
3564
+ } else {
3565
+ href = "";
3566
+ }
3567
+ }
3568
+ start = pos;
3569
+ for (; pos < max; pos++) {
3570
+ code = state.src.charCodeAt(pos);
3571
+ if (!isSpace(code) && code !== 10) {
3572
+ break;
3573
+ }
3574
+ }
3575
+ res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
3576
+ if (pos < max && start !== pos && res.ok) {
3577
+ title = res.str;
3578
+ pos = res.pos;
3579
+ for (; pos < max; pos++) {
3580
+ code = state.src.charCodeAt(pos);
3581
+ if (!isSpace(code) && code !== 10) {
3582
+ break;
3583
+ }
3584
+ }
3585
+ } else {
3586
+ title = "";
3587
+ }
3588
+ if (pos >= max || state.src.charCodeAt(pos) !== 41) {
3589
+ state.pos = oldPos;
3590
+ return false;
3591
+ }
3592
+ pos++;
3593
+ } else {
3594
+ if (typeof state.env.references === "undefined") {
3595
+ return false;
3596
+ }
3597
+ if (pos < max && state.src.charCodeAt(pos) === 91) {
3598
+ start = pos + 1;
3599
+ pos = state.md.helpers.parseLinkLabel(state, pos);
3600
+ if (pos >= 0) {
3601
+ label = state.src.slice(start, pos++);
3602
+ } else {
3603
+ pos = labelEnd + 1;
3604
+ }
3605
+ } else {
3606
+ pos = labelEnd + 1;
3607
+ }
3608
+ if (!label) {
3609
+ label = state.src.slice(labelStart, labelEnd);
3610
+ }
3611
+ ref = state.env.references[normalizeReference(label)];
3612
+ if (!ref) {
3613
+ state.pos = oldPos;
3614
+ return false;
3615
+ }
3616
+ href = ref.href;
3617
+ title = ref.title;
3618
+ }
3619
+ if (!silent) {
3620
+ content = state.src.slice(labelStart, labelEnd);
3621
+ state.md.inline.parse(content, state.md, state.env, tokens = []);
3622
+ token = state.push("image", "img", 0);
3623
+ token.attrs = attrs = [["src", href], ["alt", ""]];
3624
+ token.children = tokens;
3625
+ token.content = content;
3626
+ if (title) {
3627
+ attrs.push(["title", title]);
3628
+ }
3629
+ }
3630
+ state.pos = pos;
3631
+ state.posMax = max;
3632
+ return true;
3633
+ };
3634
+ }
3635
+ });
3636
+
3637
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js
3638
+ var require_autolink = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3639
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js"(exports, module) {
3640
+ "use strict";
3641
+ var EMAIL_RE = /^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/;
3642
+ var AUTOLINK_RE = /^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;
3643
+ module.exports = function autolink(state, silent) {
3644
+ var url, fullUrl, token, ch, start, max, pos = state.pos;
3645
+ if (state.src.charCodeAt(pos) !== 60) {
3646
+ return false;
3647
+ }
3648
+ start = state.pos;
3649
+ max = state.posMax;
3650
+ for (; ; ) {
3651
+ if (++pos >= max)
3652
+ return false;
3653
+ ch = state.src.charCodeAt(pos);
3654
+ if (ch === 60)
3655
+ return false;
3656
+ if (ch === 62)
3657
+ break;
3658
+ }
3659
+ url = state.src.slice(start + 1, pos);
3660
+ if (AUTOLINK_RE.test(url)) {
3661
+ fullUrl = state.md.normalizeLink(url);
3662
+ if (!state.md.validateLink(fullUrl)) {
3663
+ return false;
3664
+ }
3665
+ if (!silent) {
3666
+ token = state.push("link_open", "a", 1);
3667
+ token.attrs = [["href", fullUrl]];
3668
+ token.markup = "autolink";
3669
+ token.info = "auto";
3670
+ token = state.push("text", "", 0);
3671
+ token.content = state.md.normalizeLinkText(url);
3672
+ token = state.push("link_close", "a", -1);
3673
+ token.markup = "autolink";
3674
+ token.info = "auto";
3675
+ }
3676
+ state.pos += url.length + 2;
3677
+ return true;
3678
+ }
3679
+ if (EMAIL_RE.test(url)) {
3680
+ fullUrl = state.md.normalizeLink("mailto:" + url);
3681
+ if (!state.md.validateLink(fullUrl)) {
3682
+ return false;
3683
+ }
3684
+ if (!silent) {
3685
+ token = state.push("link_open", "a", 1);
3686
+ token.attrs = [["href", fullUrl]];
3687
+ token.markup = "autolink";
3688
+ token.info = "auto";
3689
+ token = state.push("text", "", 0);
3690
+ token.content = state.md.normalizeLinkText(url);
3691
+ token = state.push("link_close", "a", -1);
3692
+ token.markup = "autolink";
3693
+ token.info = "auto";
3694
+ }
3695
+ state.pos += url.length + 2;
3696
+ return true;
3697
+ }
3698
+ return false;
3699
+ };
3700
+ }
3701
+ });
3702
+
3703
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js
3704
+ var require_html_inline = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3705
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js"(exports, module) {
3706
+ "use strict";
3707
+ var HTML_TAG_RE = require_html_re().HTML_TAG_RE;
3708
+ function isLetter(ch) {
3709
+ var lc = ch | 32;
3710
+ return lc >= 97 && lc <= 122;
3711
+ }
3712
+ module.exports = function html_inline(state, silent) {
3713
+ var ch, match, max, token, pos = state.pos;
3714
+ if (!state.md.options.html) {
3715
+ return false;
3716
+ }
3717
+ max = state.posMax;
3718
+ if (state.src.charCodeAt(pos) !== 60 || pos + 2 >= max) {
3719
+ return false;
3720
+ }
3721
+ ch = state.src.charCodeAt(pos + 1);
3722
+ if (ch !== 33 && ch !== 63 && ch !== 47 && !isLetter(ch)) {
3723
+ return false;
3724
+ }
3725
+ match = state.src.slice(pos).match(HTML_TAG_RE);
3726
+ if (!match) {
3727
+ return false;
3728
+ }
3729
+ if (!silent) {
3730
+ token = state.push("html_inline", "", 0);
3731
+ token.content = state.src.slice(pos, pos + match[0].length);
3732
+ }
3733
+ state.pos += match[0].length;
3734
+ return true;
3735
+ };
3736
+ }
3737
+ });
3738
+
3739
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js
3740
+ var require_entity = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3741
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js"(exports, module) {
3742
+ "use strict";
3743
+ var entities = require_entities2();
3744
+ var has = require_utils().has;
3745
+ var isValidEntityCode = require_utils().isValidEntityCode;
3746
+ var fromCodePoint = require_utils().fromCodePoint;
3747
+ var DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i;
3748
+ var NAMED_RE = /^&([a-z][a-z0-9]{1,31});/i;
3749
+ module.exports = function entity(state, silent) {
3750
+ var ch, code, match, pos = state.pos, max = state.posMax;
3751
+ if (state.src.charCodeAt(pos) !== 38) {
3752
+ return false;
3753
+ }
3754
+ if (pos + 1 < max) {
3755
+ ch = state.src.charCodeAt(pos + 1);
3756
+ if (ch === 35) {
3757
+ match = state.src.slice(pos).match(DIGITAL_RE);
3758
+ if (match) {
3759
+ if (!silent) {
3760
+ code = match[1][0].toLowerCase() === "x" ? parseInt(match[1].slice(1), 16) : parseInt(match[1], 10);
3761
+ state.pending += isValidEntityCode(code) ? fromCodePoint(code) : fromCodePoint(65533);
3762
+ }
3763
+ state.pos += match[0].length;
3764
+ return true;
3765
+ }
3766
+ } else {
3767
+ match = state.src.slice(pos).match(NAMED_RE);
3768
+ if (match) {
3769
+ if (has(entities, match[1])) {
3770
+ if (!silent) {
3771
+ state.pending += entities[match[1]];
3772
+ }
3773
+ state.pos += match[0].length;
3774
+ return true;
3775
+ }
3776
+ }
3777
+ }
3778
+ }
3779
+ if (!silent) {
3780
+ state.pending += "&";
3781
+ }
3782
+ state.pos++;
3783
+ return true;
3784
+ };
3785
+ }
3786
+ });
3787
+
3788
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js
3789
+ var require_balance_pairs = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3790
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js"(exports, module) {
3791
+ "use strict";
3792
+ function processDelimiters(state, delimiters) {
3793
+ var closerIdx, openerIdx, closer, opener, minOpenerIdx, newMinOpenerIdx, isOddMatch, lastJump, openersBottom = {}, max = delimiters.length;
3794
+ if (!max)
3795
+ return;
3796
+ var headerIdx = 0;
3797
+ var lastTokenIdx = -2;
3798
+ var jumps = [];
3799
+ for (closerIdx = 0; closerIdx < max; closerIdx++) {
3800
+ closer = delimiters[closerIdx];
3801
+ jumps.push(0);
3802
+ if (delimiters[headerIdx].marker !== closer.marker || lastTokenIdx !== closer.token - 1) {
3803
+ headerIdx = closerIdx;
3804
+ }
3805
+ lastTokenIdx = closer.token;
3806
+ closer.length = closer.length || 0;
3807
+ if (!closer.close)
3808
+ continue;
3809
+ if (!openersBottom.hasOwnProperty(closer.marker)) {
3810
+ openersBottom[closer.marker] = [-1, -1, -1, -1, -1, -1];
3811
+ }
3812
+ minOpenerIdx = openersBottom[closer.marker][(closer.open ? 3 : 0) + closer.length % 3];
3813
+ openerIdx = headerIdx - jumps[headerIdx] - 1;
3814
+ newMinOpenerIdx = openerIdx;
3815
+ for (; openerIdx > minOpenerIdx; openerIdx -= jumps[openerIdx] + 1) {
3816
+ opener = delimiters[openerIdx];
3817
+ if (opener.marker !== closer.marker)
3818
+ continue;
3819
+ if (opener.open && opener.end < 0) {
3820
+ isOddMatch = false;
3821
+ if (opener.close || closer.open) {
3822
+ if ((opener.length + closer.length) % 3 === 0) {
3823
+ if (opener.length % 3 !== 0 || closer.length % 3 !== 0) {
3824
+ isOddMatch = true;
3825
+ }
3826
+ }
3827
+ }
3828
+ if (!isOddMatch) {
3829
+ lastJump = openerIdx > 0 && !delimiters[openerIdx - 1].open ? jumps[openerIdx - 1] + 1 : 0;
3830
+ jumps[closerIdx] = closerIdx - openerIdx + lastJump;
3831
+ jumps[openerIdx] = lastJump;
3832
+ closer.open = false;
3833
+ opener.end = closerIdx;
3834
+ opener.close = false;
3835
+ newMinOpenerIdx = -1;
3836
+ lastTokenIdx = -2;
3837
+ break;
3838
+ }
3839
+ }
3840
+ }
3841
+ if (newMinOpenerIdx !== -1) {
3842
+ openersBottom[closer.marker][(closer.open ? 3 : 0) + (closer.length || 0) % 3] = newMinOpenerIdx;
3843
+ }
3844
+ }
3845
+ }
3846
+ module.exports = function link_pairs(state) {
3847
+ var curr, tokens_meta = state.tokens_meta, max = state.tokens_meta.length;
3848
+ processDelimiters(state, state.delimiters);
3849
+ for (curr = 0; curr < max; curr++) {
3850
+ if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
3851
+ processDelimiters(state, tokens_meta[curr].delimiters);
3852
+ }
3853
+ }
3854
+ };
3855
+ }
3856
+ });
3857
+
3858
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js
3859
+ var require_text_collapse = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3860
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js"(exports, module) {
3861
+ "use strict";
3862
+ module.exports = function text_collapse(state) {
3863
+ var curr, last, level = 0, tokens = state.tokens, max = state.tokens.length;
3864
+ for (curr = last = 0; curr < max; curr++) {
3865
+ if (tokens[curr].nesting < 0)
3866
+ level--;
3867
+ tokens[curr].level = level;
3868
+ if (tokens[curr].nesting > 0)
3869
+ level++;
3870
+ if (tokens[curr].type === "text" && curr + 1 < max && tokens[curr + 1].type === "text") {
3871
+ tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content;
3872
+ } else {
3873
+ if (curr !== last) {
3874
+ tokens[last] = tokens[curr];
3875
+ }
3876
+ last++;
3877
+ }
3878
+ }
3879
+ if (curr !== last) {
3880
+ tokens.length = last;
3881
+ }
3882
+ };
3883
+ }
3884
+ });
3885
+
3886
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js
3887
+ var require_state_inline = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3888
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js"(exports, module) {
3889
+ "use strict";
3890
+ var Token = require_token();
3891
+ var isWhiteSpace = require_utils().isWhiteSpace;
3892
+ var isPunctChar = require_utils().isPunctChar;
3893
+ var isMdAsciiPunct = require_utils().isMdAsciiPunct;
3894
+ function StateInline(src, md2, env, outTokens) {
3895
+ this.src = src;
3896
+ this.env = env;
3897
+ this.md = md2;
3898
+ this.tokens = outTokens;
3899
+ this.tokens_meta = Array(outTokens.length);
3900
+ this.pos = 0;
3901
+ this.posMax = this.src.length;
3902
+ this.level = 0;
3903
+ this.pending = "";
3904
+ this.pendingLevel = 0;
3905
+ this.cache = {};
3906
+ this.delimiters = [];
3907
+ this._prev_delimiters = [];
3908
+ this.backticks = {};
3909
+ this.backticksScanned = false;
3910
+ }
3911
+ StateInline.prototype.pushPending = function() {
3912
+ var token = new Token("text", "", 0);
3913
+ token.content = this.pending;
3914
+ token.level = this.pendingLevel;
3915
+ this.tokens.push(token);
3916
+ this.pending = "";
3917
+ return token;
3918
+ };
3919
+ StateInline.prototype.push = function(type, tag, nesting) {
3920
+ if (this.pending) {
3921
+ this.pushPending();
3922
+ }
3923
+ var token = new Token(type, tag, nesting);
3924
+ var token_meta = null;
3925
+ if (nesting < 0) {
3926
+ this.level--;
3927
+ this.delimiters = this._prev_delimiters.pop();
3928
+ }
3929
+ token.level = this.level;
3930
+ if (nesting > 0) {
3931
+ this.level++;
3932
+ this._prev_delimiters.push(this.delimiters);
3933
+ this.delimiters = [];
3934
+ token_meta = { delimiters: this.delimiters };
3935
+ }
3936
+ this.pendingLevel = this.level;
3937
+ this.tokens.push(token);
3938
+ this.tokens_meta.push(token_meta);
3939
+ return token;
3940
+ };
3941
+ StateInline.prototype.scanDelims = function(start, canSplitWord) {
3942
+ var pos = start, lastChar, nextChar, count, can_open, can_close, isLastWhiteSpace, isLastPunctChar, isNextWhiteSpace, isNextPunctChar, left_flanking = true, right_flanking = true, max = this.posMax, marker = this.src.charCodeAt(start);
3943
+ lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 32;
3944
+ while (pos < max && this.src.charCodeAt(pos) === marker) {
3945
+ pos++;
3946
+ }
3947
+ count = pos - start;
3948
+ nextChar = pos < max ? this.src.charCodeAt(pos) : 32;
3949
+ isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));
3950
+ isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));
3951
+ isLastWhiteSpace = isWhiteSpace(lastChar);
3952
+ isNextWhiteSpace = isWhiteSpace(nextChar);
3953
+ if (isNextWhiteSpace) {
3954
+ left_flanking = false;
3955
+ } else if (isNextPunctChar) {
3956
+ if (!(isLastWhiteSpace || isLastPunctChar)) {
3957
+ left_flanking = false;
3958
+ }
3959
+ }
3960
+ if (isLastWhiteSpace) {
3961
+ right_flanking = false;
3962
+ } else if (isLastPunctChar) {
3963
+ if (!(isNextWhiteSpace || isNextPunctChar)) {
3964
+ right_flanking = false;
3965
+ }
3966
+ }
3967
+ if (!canSplitWord) {
3968
+ can_open = left_flanking && (!right_flanking || isLastPunctChar);
3969
+ can_close = right_flanking && (!left_flanking || isNextPunctChar);
3970
+ } else {
3971
+ can_open = left_flanking;
3972
+ can_close = right_flanking;
3973
+ }
3974
+ return {
3975
+ can_open,
3976
+ can_close,
3977
+ length: count
3978
+ };
3979
+ };
3980
+ StateInline.prototype.Token = Token;
3981
+ module.exports = StateInline;
3982
+ }
3983
+ });
3984
+
3985
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js
3986
+ var require_parser_inline = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
3987
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js"(exports, module) {
3988
+ "use strict";
3989
+ var Ruler = require_ruler();
3990
+ var _rules = [
3991
+ ["text", require_text()],
3992
+ ["newline", require_newline()],
3993
+ ["escape", require_escape()],
3994
+ ["backticks", require_backticks()],
3995
+ ["strikethrough", require_strikethrough().tokenize],
3996
+ ["emphasis", require_emphasis().tokenize],
3997
+ ["link", require_link()],
3998
+ ["image", require_image()],
3999
+ ["autolink", require_autolink()],
4000
+ ["html_inline", require_html_inline()],
4001
+ ["entity", require_entity()]
4002
+ ];
4003
+ var _rules2 = [
4004
+ ["balance_pairs", require_balance_pairs()],
4005
+ ["strikethrough", require_strikethrough().postProcess],
4006
+ ["emphasis", require_emphasis().postProcess],
4007
+ ["text_collapse", require_text_collapse()]
4008
+ ];
4009
+ function ParserInline() {
4010
+ var i;
4011
+ this.ruler = new Ruler();
4012
+ for (i = 0; i < _rules.length; i++) {
4013
+ this.ruler.push(_rules[i][0], _rules[i][1]);
4014
+ }
4015
+ this.ruler2 = new Ruler();
4016
+ for (i = 0; i < _rules2.length; i++) {
4017
+ this.ruler2.push(_rules2[i][0], _rules2[i][1]);
4018
+ }
4019
+ }
4020
+ ParserInline.prototype.skipToken = function(state) {
4021
+ var ok, i, pos = state.pos, rules = this.ruler.getRules(""), len = rules.length, maxNesting = state.md.options.maxNesting, cache = state.cache;
4022
+ if (typeof cache[pos] !== "undefined") {
4023
+ state.pos = cache[pos];
4024
+ return;
4025
+ }
4026
+ if (state.level < maxNesting) {
4027
+ for (i = 0; i < len; i++) {
4028
+ state.level++;
4029
+ ok = rules[i](state, true);
4030
+ state.level--;
4031
+ if (ok) {
4032
+ break;
4033
+ }
4034
+ }
4035
+ } else {
4036
+ state.pos = state.posMax;
4037
+ }
4038
+ if (!ok) {
4039
+ state.pos++;
4040
+ }
4041
+ cache[pos] = state.pos;
4042
+ };
4043
+ ParserInline.prototype.tokenize = function(state) {
4044
+ var ok, i, rules = this.ruler.getRules(""), len = rules.length, end = state.posMax, maxNesting = state.md.options.maxNesting;
4045
+ while (state.pos < end) {
4046
+ if (state.level < maxNesting) {
4047
+ for (i = 0; i < len; i++) {
4048
+ ok = rules[i](state, false);
4049
+ if (ok) {
4050
+ break;
4051
+ }
4052
+ }
4053
+ }
4054
+ if (ok) {
4055
+ if (state.pos >= end) {
4056
+ break;
4057
+ }
4058
+ continue;
4059
+ }
4060
+ state.pending += state.src[state.pos++];
4061
+ }
4062
+ if (state.pending) {
4063
+ state.pushPending();
4064
+ }
4065
+ };
4066
+ ParserInline.prototype.parse = function(str, md2, env, outTokens) {
4067
+ var i, rules, len;
4068
+ var state = new this.State(str, md2, env, outTokens);
4069
+ this.tokenize(state);
4070
+ rules = this.ruler2.getRules("");
4071
+ len = rules.length;
4072
+ for (i = 0; i < len; i++) {
4073
+ rules[i](state);
4074
+ }
4075
+ };
4076
+ ParserInline.prototype.State = require_state_inline();
4077
+ module.exports = ParserInline;
4078
+ }
4079
+ });
4080
+
4081
+ // ../../node_modules/.pnpm/linkify-it@3.0.2/node_modules/linkify-it/lib/re.js
4082
+ var require_re = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
4083
+ "../../node_modules/.pnpm/linkify-it@3.0.2/node_modules/linkify-it/lib/re.js"(exports, module) {
4084
+ "use strict";
4085
+ module.exports = function(opts) {
4086
+ var re = {};
4087
+ re.src_Any = require_regex2().source;
4088
+ re.src_Cc = require_regex3().source;
4089
+ re.src_Z = require_regex5().source;
4090
+ re.src_P = require_regex().source;
4091
+ re.src_ZPCc = [re.src_Z, re.src_P, re.src_Cc].join("|");
4092
+ re.src_ZCc = [re.src_Z, re.src_Cc].join("|");
4093
+ var text_separators = "[><\uFF5C]";
4094
+ re.src_pseudo_letter = "(?:(?!" + text_separators + "|" + re.src_ZPCc + ")" + re.src_Any + ")";
4095
+ re.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)";
4096
+ re.src_auth = "(?:(?:(?!" + re.src_ZCc + "|[@/\\[\\]()]).)+@)?";
4097
+ re.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?";
4098
+ re.src_host_terminator = "(?=$|" + text_separators + "|" + re.src_ZPCc + ")(?!-|_|:\\d|\\.-|\\.(?!$|" + re.src_ZPCc + "))";
4099
+ re.src_path = "(?:[/?#](?:(?!" + re.src_ZCc + "|" + text_separators + `|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!` + re.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + re.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + re.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + re.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + re.src_ZCc + "|[']).)+\\'|\\'(?=" + re.src_pseudo_letter + "|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + re.src_ZCc + "|[.]).|" + (opts && opts["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + "\\,(?!" + re.src_ZCc + ").|\\!+(?!" + re.src_ZCc + "|[!]).|\\?(?!" + re.src_ZCc + "|[?]).)+|\\/)?";
4100
+ re.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*';
4101
+ re.src_xn = "xn--[a-z0-9\\-]{1,59}";
4102
+ re.src_domain_root = "(?:" + re.src_xn + "|" + re.src_pseudo_letter + "{1,63})";
4103
+ re.src_domain = "(?:" + re.src_xn + "|(?:" + re.src_pseudo_letter + ")|(?:" + re.src_pseudo_letter + "(?:-|" + re.src_pseudo_letter + "){0,61}" + re.src_pseudo_letter + "))";
4104
+ re.src_host = "(?:(?:(?:(?:" + re.src_domain + ")\\.)*" + re.src_domain + "))";
4105
+ re.tpl_host_fuzzy = "(?:" + re.src_ip4 + "|(?:(?:(?:" + re.src_domain + ")\\.)+(?:%TLDS%)))";
4106
+ re.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + re.src_domain + ")\\.)+(?:%TLDS%))";
4107
+ re.src_host_strict = re.src_host + re.src_host_terminator;
4108
+ re.tpl_host_fuzzy_strict = re.tpl_host_fuzzy + re.src_host_terminator;
4109
+ re.src_host_port_strict = re.src_host + re.src_port + re.src_host_terminator;
4110
+ re.tpl_host_port_fuzzy_strict = re.tpl_host_fuzzy + re.src_port + re.src_host_terminator;
4111
+ re.tpl_host_port_no_ip_fuzzy_strict = re.tpl_host_no_ip_fuzzy + re.src_port + re.src_host_terminator;
4112
+ re.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + re.src_ZPCc + "|>|$))";
4113
+ re.tpl_email_fuzzy = "(^|" + text_separators + '|"|\\(|' + re.src_ZCc + ")(" + re.src_email_name + "@" + re.tpl_host_fuzzy_strict + ")";
4114
+ re.tpl_link_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|" + re.src_ZPCc + "))((?![$+<=>^`|\uFF5C])" + re.tpl_host_port_fuzzy_strict + re.src_path + ")";
4115
+ re.tpl_link_no_ip_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|" + re.src_ZPCc + "))((?![$+<=>^`|\uFF5C])" + re.tpl_host_port_no_ip_fuzzy_strict + re.src_path + ")";
4116
+ return re;
4117
+ };
4118
+ }
4119
+ });
4120
+
4121
+ // ../../node_modules/.pnpm/linkify-it@3.0.2/node_modules/linkify-it/index.js
4122
+ var require_linkify_it = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
4123
+ "../../node_modules/.pnpm/linkify-it@3.0.2/node_modules/linkify-it/index.js"(exports, module) {
4124
+ "use strict";
4125
+ function assign(obj) {
4126
+ var sources = Array.prototype.slice.call(arguments, 1);
4127
+ sources.forEach(function(source) {
4128
+ if (!source) {
4129
+ return;
4130
+ }
4131
+ Object.keys(source).forEach(function(key) {
4132
+ obj[key] = source[key];
4133
+ });
4134
+ });
4135
+ return obj;
4136
+ }
4137
+ function _class(obj) {
4138
+ return Object.prototype.toString.call(obj);
4139
+ }
4140
+ function isString(obj) {
4141
+ return _class(obj) === "[object String]";
4142
+ }
4143
+ function isObject(obj) {
4144
+ return _class(obj) === "[object Object]";
4145
+ }
4146
+ function isRegExp(obj) {
4147
+ return _class(obj) === "[object RegExp]";
4148
+ }
4149
+ function isFunction(obj) {
4150
+ return _class(obj) === "[object Function]";
4151
+ }
4152
+ function escapeRE(str) {
4153
+ return str.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
4154
+ }
4155
+ var defaultOptions = {
4156
+ fuzzyLink: true,
4157
+ fuzzyEmail: true,
4158
+ fuzzyIP: false
4159
+ };
4160
+ function isOptionsObj(obj) {
4161
+ return Object.keys(obj || {}).reduce(function(acc, k) {
4162
+ return acc || defaultOptions.hasOwnProperty(k);
4163
+ }, false);
4164
+ }
4165
+ var defaultSchemas = {
4166
+ "http:": {
4167
+ validate: function(text, pos, self) {
4168
+ var tail = text.slice(pos);
4169
+ if (!self.re.http) {
4170
+ self.re.http = new RegExp("^\\/\\/" + self.re.src_auth + self.re.src_host_port_strict + self.re.src_path, "i");
4171
+ }
4172
+ if (self.re.http.test(tail)) {
4173
+ return tail.match(self.re.http)[0].length;
4174
+ }
4175
+ return 0;
4176
+ }
4177
+ },
4178
+ "https:": "http:",
4179
+ "ftp:": "http:",
4180
+ "//": {
4181
+ validate: function(text, pos, self) {
4182
+ var tail = text.slice(pos);
4183
+ if (!self.re.no_http) {
4184
+ self.re.no_http = new RegExp("^" + self.re.src_auth + "(?:localhost|(?:(?:" + self.re.src_domain + ")\\.)+" + self.re.src_domain_root + ")" + self.re.src_port + self.re.src_host_terminator + self.re.src_path, "i");
4185
+ }
4186
+ if (self.re.no_http.test(tail)) {
4187
+ if (pos >= 3 && text[pos - 3] === ":") {
4188
+ return 0;
4189
+ }
4190
+ if (pos >= 3 && text[pos - 3] === "/") {
4191
+ return 0;
4192
+ }
4193
+ return tail.match(self.re.no_http)[0].length;
4194
+ }
4195
+ return 0;
4196
+ }
4197
+ },
4198
+ "mailto:": {
4199
+ validate: function(text, pos, self) {
4200
+ var tail = text.slice(pos);
4201
+ if (!self.re.mailto) {
4202
+ self.re.mailto = new RegExp("^" + self.re.src_email_name + "@" + self.re.src_host_strict, "i");
4203
+ }
4204
+ if (self.re.mailto.test(tail)) {
4205
+ return tail.match(self.re.mailto)[0].length;
4206
+ }
4207
+ return 0;
4208
+ }
4209
+ }
4210
+ };
4211
+ var tlds_2ch_src_re = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]";
4212
+ var tlds_default = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");
4213
+ function resetScanCache(self) {
4214
+ self.__index__ = -1;
4215
+ self.__text_cache__ = "";
4216
+ }
4217
+ function createValidator(re) {
4218
+ return function(text, pos) {
4219
+ var tail = text.slice(pos);
4220
+ if (re.test(tail)) {
4221
+ return tail.match(re)[0].length;
4222
+ }
4223
+ return 0;
4224
+ };
4225
+ }
4226
+ function createNormalizer() {
4227
+ return function(match, self) {
4228
+ self.normalize(match);
4229
+ };
4230
+ }
4231
+ function compile(self) {
4232
+ var re = self.re = require_re()(self.__opts__);
4233
+ var tlds = self.__tlds__.slice();
4234
+ self.onCompile();
4235
+ if (!self.__tlds_replaced__) {
4236
+ tlds.push(tlds_2ch_src_re);
4237
+ }
4238
+ tlds.push(re.src_xn);
4239
+ re.src_tlds = tlds.join("|");
4240
+ function untpl(tpl) {
4241
+ return tpl.replace("%TLDS%", re.src_tlds);
4242
+ }
4243
+ re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), "i");
4244
+ re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), "i");
4245
+ re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), "i");
4246
+ re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), "i");
4247
+ var aliases = [];
4248
+ self.__compiled__ = {};
4249
+ function schemaError(name, val) {
4250
+ throw new Error('(LinkifyIt) Invalid schema "' + name + '": ' + val);
4251
+ }
4252
+ Object.keys(self.__schemas__).forEach(function(name) {
4253
+ var val = self.__schemas__[name];
4254
+ if (val === null) {
4255
+ return;
4256
+ }
4257
+ var compiled = { validate: null, link: null };
4258
+ self.__compiled__[name] = compiled;
4259
+ if (isObject(val)) {
4260
+ if (isRegExp(val.validate)) {
4261
+ compiled.validate = createValidator(val.validate);
4262
+ } else if (isFunction(val.validate)) {
4263
+ compiled.validate = val.validate;
4264
+ } else {
4265
+ schemaError(name, val);
4266
+ }
4267
+ if (isFunction(val.normalize)) {
4268
+ compiled.normalize = val.normalize;
4269
+ } else if (!val.normalize) {
4270
+ compiled.normalize = createNormalizer();
4271
+ } else {
4272
+ schemaError(name, val);
4273
+ }
4274
+ return;
4275
+ }
4276
+ if (isString(val)) {
4277
+ aliases.push(name);
4278
+ return;
4279
+ }
4280
+ schemaError(name, val);
4281
+ });
4282
+ aliases.forEach(function(alias) {
4283
+ if (!self.__compiled__[self.__schemas__[alias]]) {
4284
+ return;
4285
+ }
4286
+ self.__compiled__[alias].validate = self.__compiled__[self.__schemas__[alias]].validate;
4287
+ self.__compiled__[alias].normalize = self.__compiled__[self.__schemas__[alias]].normalize;
4288
+ });
4289
+ self.__compiled__[""] = { validate: null, normalize: createNormalizer() };
4290
+ var slist = Object.keys(self.__compiled__).filter(function(name) {
4291
+ return name.length > 0 && self.__compiled__[name];
4292
+ }).map(escapeRE).join("|");
4293
+ self.re.schema_test = RegExp("(^|(?!_)(?:[><\uFF5C]|" + re.src_ZPCc + "))(" + slist + ")", "i");
4294
+ self.re.schema_search = RegExp("(^|(?!_)(?:[><\uFF5C]|" + re.src_ZPCc + "))(" + slist + ")", "ig");
4295
+ self.re.pretest = RegExp("(" + self.re.schema_test.source + ")|(" + self.re.host_fuzzy_test.source + ")|@", "i");
4296
+ resetScanCache(self);
4297
+ }
4298
+ function Match(self, shift) {
4299
+ var start = self.__index__, end = self.__last_index__, text = self.__text_cache__.slice(start, end);
4300
+ this.schema = self.__schema__.toLowerCase();
4301
+ this.index = start + shift;
4302
+ this.lastIndex = end + shift;
4303
+ this.raw = text;
4304
+ this.text = text;
4305
+ this.url = text;
4306
+ }
4307
+ function createMatch(self, shift) {
4308
+ var match = new Match(self, shift);
4309
+ self.__compiled__[match.schema].normalize(match, self);
4310
+ return match;
4311
+ }
4312
+ function LinkifyIt(schemas, options) {
4313
+ if (!(this instanceof LinkifyIt)) {
4314
+ return new LinkifyIt(schemas, options);
4315
+ }
4316
+ if (!options) {
4317
+ if (isOptionsObj(schemas)) {
4318
+ options = schemas;
4319
+ schemas = {};
4320
+ }
4321
+ }
4322
+ this.__opts__ = assign({}, defaultOptions, options);
4323
+ this.__index__ = -1;
4324
+ this.__last_index__ = -1;
4325
+ this.__schema__ = "";
4326
+ this.__text_cache__ = "";
4327
+ this.__schemas__ = assign({}, defaultSchemas, schemas);
4328
+ this.__compiled__ = {};
4329
+ this.__tlds__ = tlds_default;
4330
+ this.__tlds_replaced__ = false;
4331
+ this.re = {};
4332
+ compile(this);
4333
+ }
4334
+ LinkifyIt.prototype.add = function add(schema, definition) {
4335
+ this.__schemas__[schema] = definition;
4336
+ compile(this);
4337
+ return this;
4338
+ };
4339
+ LinkifyIt.prototype.set = function set(options) {
4340
+ this.__opts__ = assign(this.__opts__, options);
4341
+ return this;
4342
+ };
4343
+ LinkifyIt.prototype.test = function test(text) {
4344
+ this.__text_cache__ = text;
4345
+ this.__index__ = -1;
4346
+ if (!text.length) {
4347
+ return false;
4348
+ }
4349
+ var m, ml, me, len, shift, next, re, tld_pos, at_pos;
4350
+ if (this.re.schema_test.test(text)) {
4351
+ re = this.re.schema_search;
4352
+ re.lastIndex = 0;
4353
+ while ((m = re.exec(text)) !== null) {
4354
+ len = this.testSchemaAt(text, m[2], re.lastIndex);
4355
+ if (len) {
4356
+ this.__schema__ = m[2];
4357
+ this.__index__ = m.index + m[1].length;
4358
+ this.__last_index__ = m.index + m[0].length + len;
4359
+ break;
4360
+ }
4361
+ }
4362
+ }
4363
+ if (this.__opts__.fuzzyLink && this.__compiled__["http:"]) {
4364
+ tld_pos = text.search(this.re.host_fuzzy_test);
4365
+ if (tld_pos >= 0) {
4366
+ if (this.__index__ < 0 || tld_pos < this.__index__) {
4367
+ if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) {
4368
+ shift = ml.index + ml[1].length;
4369
+ if (this.__index__ < 0 || shift < this.__index__) {
4370
+ this.__schema__ = "";
4371
+ this.__index__ = shift;
4372
+ this.__last_index__ = ml.index + ml[0].length;
4373
+ }
4374
+ }
4375
+ }
4376
+ }
4377
+ }
4378
+ if (this.__opts__.fuzzyEmail && this.__compiled__["mailto:"]) {
4379
+ at_pos = text.indexOf("@");
4380
+ if (at_pos >= 0) {
4381
+ if ((me = text.match(this.re.email_fuzzy)) !== null) {
4382
+ shift = me.index + me[1].length;
4383
+ next = me.index + me[0].length;
4384
+ if (this.__index__ < 0 || shift < this.__index__ || shift === this.__index__ && next > this.__last_index__) {
4385
+ this.__schema__ = "mailto:";
4386
+ this.__index__ = shift;
4387
+ this.__last_index__ = next;
4388
+ }
4389
+ }
4390
+ }
4391
+ }
4392
+ return this.__index__ >= 0;
4393
+ };
4394
+ LinkifyIt.prototype.pretest = function pretest(text) {
4395
+ return this.re.pretest.test(text);
4396
+ };
4397
+ LinkifyIt.prototype.testSchemaAt = function testSchemaAt(text, schema, pos) {
4398
+ if (!this.__compiled__[schema.toLowerCase()]) {
4399
+ return 0;
4400
+ }
4401
+ return this.__compiled__[schema.toLowerCase()].validate(text, pos, this);
4402
+ };
4403
+ LinkifyIt.prototype.match = function match(text) {
4404
+ var shift = 0, result = [];
4405
+ if (this.__index__ >= 0 && this.__text_cache__ === text) {
4406
+ result.push(createMatch(this, shift));
4407
+ shift = this.__last_index__;
4408
+ }
4409
+ var tail = shift ? text.slice(shift) : text;
4410
+ while (this.test(tail)) {
4411
+ result.push(createMatch(this, shift));
4412
+ tail = tail.slice(this.__last_index__);
4413
+ shift += this.__last_index__;
4414
+ }
4415
+ if (result.length) {
4416
+ return result;
4417
+ }
4418
+ return null;
4419
+ };
4420
+ LinkifyIt.prototype.tlds = function tlds(list, keepOld) {
4421
+ list = Array.isArray(list) ? list : [list];
4422
+ if (!keepOld) {
4423
+ this.__tlds__ = list.slice();
4424
+ this.__tlds_replaced__ = true;
4425
+ compile(this);
4426
+ return this;
4427
+ }
4428
+ this.__tlds__ = this.__tlds__.concat(list).sort().filter(function(el, idx, arr) {
4429
+ return el !== arr[idx - 1];
4430
+ }).reverse();
4431
+ compile(this);
4432
+ return this;
4433
+ };
4434
+ LinkifyIt.prototype.normalize = function normalize(match) {
4435
+ if (!match.schema) {
4436
+ match.url = "http://" + match.url;
4437
+ }
4438
+ if (match.schema === "mailto:" && !/^mailto:/i.test(match.url)) {
4439
+ match.url = "mailto:" + match.url;
4440
+ }
4441
+ };
4442
+ LinkifyIt.prototype.onCompile = function onCompile() {
4443
+ };
4444
+ module.exports = LinkifyIt;
4445
+ }
4446
+ });
4447
+
4448
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js
4449
+ var require_default = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
4450
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js"(exports, module) {
4451
+ "use strict";
4452
+ module.exports = {
4453
+ options: {
4454
+ html: false,
4455
+ xhtmlOut: false,
4456
+ breaks: false,
4457
+ langPrefix: "language-",
4458
+ linkify: false,
4459
+ typographer: false,
4460
+ quotes: "\u201C\u201D\u2018\u2019",
4461
+ highlight: null,
4462
+ maxNesting: 100
4463
+ },
4464
+ components: {
4465
+ core: {},
4466
+ block: {},
4467
+ inline: {}
4468
+ }
4469
+ };
4470
+ }
4471
+ });
4472
+
4473
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js
4474
+ var require_zero = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
4475
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js"(exports, module) {
4476
+ "use strict";
4477
+ module.exports = {
4478
+ options: {
4479
+ html: false,
4480
+ xhtmlOut: false,
4481
+ breaks: false,
4482
+ langPrefix: "language-",
4483
+ linkify: false,
4484
+ typographer: false,
4485
+ quotes: "\u201C\u201D\u2018\u2019",
4486
+ highlight: null,
4487
+ maxNesting: 20
4488
+ },
4489
+ components: {
4490
+ core: {
4491
+ rules: [
4492
+ "normalize",
4493
+ "block",
4494
+ "inline"
4495
+ ]
4496
+ },
4497
+ block: {
4498
+ rules: [
4499
+ "paragraph"
4500
+ ]
4501
+ },
4502
+ inline: {
4503
+ rules: [
4504
+ "text"
4505
+ ],
4506
+ rules2: [
4507
+ "balance_pairs",
4508
+ "text_collapse"
4509
+ ]
4510
+ }
4511
+ }
4512
+ };
4513
+ }
4514
+ });
4515
+
4516
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js
4517
+ var require_commonmark = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
4518
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js"(exports, module) {
4519
+ "use strict";
4520
+ module.exports = {
4521
+ options: {
4522
+ html: true,
4523
+ xhtmlOut: true,
4524
+ breaks: false,
4525
+ langPrefix: "language-",
4526
+ linkify: false,
4527
+ typographer: false,
4528
+ quotes: "\u201C\u201D\u2018\u2019",
4529
+ highlight: null,
4530
+ maxNesting: 20
4531
+ },
4532
+ components: {
4533
+ core: {
4534
+ rules: [
4535
+ "normalize",
4536
+ "block",
4537
+ "inline"
4538
+ ]
4539
+ },
4540
+ block: {
4541
+ rules: [
4542
+ "blockquote",
4543
+ "code",
4544
+ "fence",
4545
+ "heading",
4546
+ "hr",
4547
+ "html_block",
4548
+ "lheading",
4549
+ "list",
4550
+ "reference",
4551
+ "paragraph"
4552
+ ]
4553
+ },
4554
+ inline: {
4555
+ rules: [
4556
+ "autolink",
4557
+ "backticks",
4558
+ "emphasis",
4559
+ "entity",
4560
+ "escape",
4561
+ "html_inline",
4562
+ "image",
4563
+ "link",
4564
+ "newline",
4565
+ "text"
4566
+ ],
4567
+ rules2: [
4568
+ "balance_pairs",
4569
+ "emphasis",
4570
+ "text_collapse"
4571
+ ]
4572
+ }
4573
+ }
4574
+ };
4575
+ }
4576
+ });
4577
+
4578
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js
4579
+ var require_lib = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
4580
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js"(exports, module) {
4581
+ "use strict";
4582
+ var utils = require_utils();
4583
+ var helpers = require_helpers();
4584
+ var Renderer = require_renderer();
4585
+ var ParserCore = require_parser_core();
4586
+ var ParserBlock = require_parser_block();
4587
+ var ParserInline = require_parser_inline();
4588
+ var LinkifyIt = require_linkify_it();
4589
+ var mdurl = require_mdurl();
4590
+ var punycode = _chunkMNCWYMHNjs.__require.call(void 0, "punycode");
4591
+ var config = {
4592
+ default: require_default(),
4593
+ zero: require_zero(),
4594
+ commonmark: require_commonmark()
4595
+ };
4596
+ var BAD_PROTO_RE = /^(vbscript|javascript|file|data):/;
4597
+ var GOOD_DATA_RE = /^data:image\/(gif|png|jpeg|webp);/;
4598
+ function validateLink(url) {
4599
+ var str = url.trim().toLowerCase();
4600
+ return BAD_PROTO_RE.test(str) ? GOOD_DATA_RE.test(str) ? true : false : true;
4601
+ }
4602
+ var RECODE_HOSTNAME_FOR = ["http:", "https:", "mailto:"];
4603
+ function normalizeLink(url) {
4604
+ var parsed = mdurl.parse(url, true);
4605
+ if (parsed.hostname) {
4606
+ if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {
4607
+ try {
4608
+ parsed.hostname = punycode.toASCII(parsed.hostname);
4609
+ } catch (er) {
4610
+ }
4611
+ }
4612
+ }
4613
+ return mdurl.encode(mdurl.format(parsed));
4614
+ }
4615
+ function normalizeLinkText(url) {
4616
+ var parsed = mdurl.parse(url, true);
4617
+ if (parsed.hostname) {
4618
+ if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {
4619
+ try {
4620
+ parsed.hostname = punycode.toUnicode(parsed.hostname);
4621
+ } catch (er) {
4622
+ }
4623
+ }
4624
+ }
4625
+ return mdurl.decode(mdurl.format(parsed), mdurl.decode.defaultChars + "%");
4626
+ }
4627
+ function MarkdownIt(presetName, options) {
4628
+ if (!(this instanceof MarkdownIt)) {
4629
+ return new MarkdownIt(presetName, options);
4630
+ }
4631
+ if (!options) {
4632
+ if (!utils.isString(presetName)) {
4633
+ options = presetName || {};
4634
+ presetName = "default";
4635
+ }
4636
+ }
4637
+ this.inline = new ParserInline();
4638
+ this.block = new ParserBlock();
4639
+ this.core = new ParserCore();
4640
+ this.renderer = new Renderer();
4641
+ this.linkify = new LinkifyIt();
4642
+ this.validateLink = validateLink;
4643
+ this.normalizeLink = normalizeLink;
4644
+ this.normalizeLinkText = normalizeLinkText;
4645
+ this.utils = utils;
4646
+ this.helpers = utils.assign({}, helpers);
4647
+ this.options = {};
4648
+ this.configure(presetName);
4649
+ if (options) {
4650
+ this.set(options);
4651
+ }
4652
+ }
4653
+ MarkdownIt.prototype.set = function(options) {
4654
+ utils.assign(this.options, options);
4655
+ return this;
4656
+ };
4657
+ MarkdownIt.prototype.configure = function(presets) {
4658
+ var self = this, presetName;
4659
+ if (utils.isString(presets)) {
4660
+ presetName = presets;
4661
+ presets = config[presetName];
4662
+ if (!presets) {
4663
+ throw new Error('Wrong `markdown-it` preset "' + presetName + '", check name');
4664
+ }
4665
+ }
4666
+ if (!presets) {
4667
+ throw new Error("Wrong `markdown-it` preset, can't be empty");
4668
+ }
4669
+ if (presets.options) {
4670
+ self.set(presets.options);
4671
+ }
4672
+ if (presets.components) {
4673
+ Object.keys(presets.components).forEach(function(name) {
4674
+ if (presets.components[name].rules) {
4675
+ self[name].ruler.enableOnly(presets.components[name].rules);
4676
+ }
4677
+ if (presets.components[name].rules2) {
4678
+ self[name].ruler2.enableOnly(presets.components[name].rules2);
4679
+ }
4680
+ });
4681
+ }
4682
+ return this;
4683
+ };
4684
+ MarkdownIt.prototype.enable = function(list, ignoreInvalid) {
4685
+ var result = [];
4686
+ if (!Array.isArray(list)) {
4687
+ list = [list];
4688
+ }
4689
+ ["core", "block", "inline"].forEach(function(chain) {
4690
+ result = result.concat(this[chain].ruler.enable(list, true));
4691
+ }, this);
4692
+ result = result.concat(this.inline.ruler2.enable(list, true));
4693
+ var missed = list.filter(function(name) {
4694
+ return result.indexOf(name) < 0;
4695
+ });
4696
+ if (missed.length && !ignoreInvalid) {
4697
+ throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + missed);
4698
+ }
4699
+ return this;
4700
+ };
4701
+ MarkdownIt.prototype.disable = function(list, ignoreInvalid) {
4702
+ var result = [];
4703
+ if (!Array.isArray(list)) {
4704
+ list = [list];
4705
+ }
4706
+ ["core", "block", "inline"].forEach(function(chain) {
4707
+ result = result.concat(this[chain].ruler.disable(list, true));
4708
+ }, this);
4709
+ result = result.concat(this.inline.ruler2.disable(list, true));
4710
+ var missed = list.filter(function(name) {
4711
+ return result.indexOf(name) < 0;
4712
+ });
4713
+ if (missed.length && !ignoreInvalid) {
4714
+ throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + missed);
4715
+ }
4716
+ return this;
4717
+ };
4718
+ MarkdownIt.prototype.use = function(plugin) {
4719
+ var args = [this].concat(Array.prototype.slice.call(arguments, 1));
4720
+ plugin.apply(plugin, args);
4721
+ return this;
4722
+ };
4723
+ MarkdownIt.prototype.parse = function(src, env) {
4724
+ if (typeof src !== "string") {
4725
+ throw new Error("Input data should be a String");
4726
+ }
4727
+ var state = new this.core.State(src, this, env);
4728
+ this.core.process(state);
4729
+ return state.tokens;
4730
+ };
4731
+ MarkdownIt.prototype.render = function(src, env) {
4732
+ env = env || {};
4733
+ return this.renderer.render(this.parse(src, env), this.options, env);
4734
+ };
4735
+ MarkdownIt.prototype.parseInline = function(src, env) {
4736
+ var state = new this.core.State(src, this, env);
4737
+ state.inlineMode = true;
4738
+ this.core.process(state);
4739
+ return state.tokens;
4740
+ };
4741
+ MarkdownIt.prototype.renderInline = function(src, env) {
4742
+ env = env || {};
4743
+ return this.renderer.render(this.parseInline(src, env), this.options, env);
4744
+ };
4745
+ module.exports = MarkdownIt;
4746
+ }
4747
+ });
4748
+
4749
+ // ../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js
4750
+ var require_markdown_it = _chunkMNCWYMHNjs.__commonJS.call(void 0, {
4751
+ "../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js"(exports, module) {
4752
+ "use strict";
4753
+ module.exports = require_lib();
4754
+ }
4755
+ });
18
4756
 
19
4757
  // src/fs.ts
4758
+ var import_markdown_it = _chunkMNCWYMHNjs.__toModule.call(void 0, require_markdown_it());
20
4759
  var _fs = require('fs');
21
4760
  var _path = require('path');
4761
+ var md = (0, import_markdown_it.default)({ html: true });
22
4762
  async function load(filepath, themeMeta, content) {
23
4763
  const dir = _path.dirname.call(void 0, filepath);
24
4764
  const markdown = content != null ? content : await _fs.promises.readFile(filepath, "utf-8");
25
- const data = _chunkWBX4FRCIjs.parse.call(void 0, markdown, filepath, themeMeta);
4765
+ const data = _chunkMNCWYMHNjs.parse.call(void 0, markdown, filepath, themeMeta);
26
4766
  const entries = /* @__PURE__ */ new Set([
27
4767
  filepath
28
4768
  ]);
29
4769
  for (const slide of data.slides) {
4770
+ if (slide.title)
4771
+ slide.title = md.render(slide.title).trim().replace(/^<p>/, "").replace(/<\/p>$/, "");
30
4772
  if (!slide.frontmatter.src)
31
4773
  continue;
32
4774
  const path = _path.resolve.call(void 0, dir, slide.frontmatter.src);
33
4775
  const raw = await _fs.promises.readFile(path, "utf-8");
34
- const source = _chunkWBX4FRCIjs.parseSlide.call(void 0, raw);
35
- const inline = _chunkWBX4FRCIjs.__spreadValues.call(void 0, {}, slide);
36
- slide.source = _chunkWBX4FRCIjs.__spreadValues.call(void 0, {
4776
+ const source = _chunkMNCWYMHNjs.parseSlide.call(void 0, raw);
4777
+ const inline = _chunkMNCWYMHNjs.__spreadValues.call(void 0, {}, slide);
4778
+ slide.source = _chunkMNCWYMHNjs.__spreadValues.call(void 0, {
37
4779
  filepath: path
38
4780
  }, source);
39
4781
  slide.inline = inline;
40
4782
  Object.assign(slide, slide.source);
41
- slide.frontmatter = _chunkWBX4FRCIjs.__spreadValues.call(void 0, _chunkWBX4FRCIjs.__spreadValues.call(void 0, {}, slide.source.frontmatter), inline.frontmatter);
42
- data.features = _chunkWBX4FRCIjs.mergeFeatureFlags.call(void 0, data.features, _chunkWBX4FRCIjs.detectFeatures.call(void 0, raw));
4783
+ slide.frontmatter = _chunkMNCWYMHNjs.__spreadValues.call(void 0, _chunkMNCWYMHNjs.__spreadValues.call(void 0, {}, slide.source.frontmatter), inline.frontmatter);
4784
+ data.features = _chunkMNCWYMHNjs.mergeFeatureFlags.call(void 0, data.features, _chunkMNCWYMHNjs.detectFeatures.call(void 0, raw));
43
4785
  entries.add(path);
44
4786
  }
45
4787
  data.entries = Array.from(entries);
@@ -47,10 +4789,10 @@ async function load(filepath, themeMeta, content) {
47
4789
  }
48
4790
  async function save(data, filepath) {
49
4791
  filepath = filepath || data.filepath;
50
- await _fs.promises.writeFile(filepath, _chunkWBX4FRCIjs.stringify.call(void 0, data), "utf-8");
4792
+ await _fs.promises.writeFile(filepath, _chunkMNCWYMHNjs.stringify.call(void 0, data), "utf-8");
51
4793
  }
52
4794
  async function saveExternalSlide(slide) {
53
- await _fs.promises.writeFile(slide.filepath, _chunkWBX4FRCIjs.stringifySlide.call(void 0, slide), "utf-8");
4795
+ await _fs.promises.writeFile(slide.filepath, _chunkMNCWYMHNjs.stringifySlide.call(void 0, slide), "utf-8");
54
4796
  }
55
4797
 
56
4798
 
@@ -70,4 +4812,4 @@ async function saveExternalSlide(slide) {
70
4812
 
71
4813
 
72
4814
 
73
- exports.detectFeatures = _chunkWBX4FRCIjs.detectFeatures; exports.filterDisabled = _chunkWBX4FRCIjs.filterDisabled; exports.load = load; exports.mergeFeatureFlags = _chunkWBX4FRCIjs.mergeFeatureFlags; exports.parse = _chunkWBX4FRCIjs.parse; exports.parseAspectRatio = _chunkWBX4FRCIjs.parseAspectRatio; exports.parseRangeString = _chunkWBX4FRCIjs.parseRangeString; exports.parseSlide = _chunkWBX4FRCIjs.parseSlide; exports.prettify = _chunkWBX4FRCIjs.prettify; exports.prettifySlide = _chunkWBX4FRCIjs.prettifySlide; exports.resolveConfig = _chunkWBX4FRCIjs.resolveConfig; exports.resolveFonts = _chunkWBX4FRCIjs.resolveFonts; exports.save = save; exports.saveExternalSlide = saveExternalSlide; exports.scanMonacoModules = _chunkWBX4FRCIjs.scanMonacoModules; exports.stringify = _chunkWBX4FRCIjs.stringify; exports.stringifySlide = _chunkWBX4FRCIjs.stringifySlide;
4815
+ exports.detectFeatures = _chunkMNCWYMHNjs.detectFeatures; exports.filterDisabled = _chunkMNCWYMHNjs.filterDisabled; exports.load = load; exports.mergeFeatureFlags = _chunkMNCWYMHNjs.mergeFeatureFlags; exports.parse = _chunkMNCWYMHNjs.parse; exports.parseAspectRatio = _chunkMNCWYMHNjs.parseAspectRatio; exports.parseRangeString = _chunkMNCWYMHNjs.parseRangeString; exports.parseSlide = _chunkMNCWYMHNjs.parseSlide; exports.prettify = _chunkMNCWYMHNjs.prettify; exports.prettifySlide = _chunkMNCWYMHNjs.prettifySlide; exports.resolveConfig = _chunkMNCWYMHNjs.resolveConfig; exports.resolveFonts = _chunkMNCWYMHNjs.resolveFonts; exports.save = save; exports.saveExternalSlide = saveExternalSlide; exports.scanMonacoModules = _chunkMNCWYMHNjs.scanMonacoModules; exports.stringify = _chunkMNCWYMHNjs.stringify; exports.stringifySlide = _chunkMNCWYMHNjs.stringifySlide;