From af37321f950d0452e66e7ab9186f76bc2ba77673 Mon Sep 17 00:00:00 2001 From: Vitaly Puzrin Date: Thu, 8 Jan 2015 01:04:21 +0300 Subject: [PATCH] browser files rebuild --- dist/markdown-it.js | 45 +++++++++++++++++++++++++++++++++++++++-- dist/markdown-it.min.js | 6 +++--- 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/dist/markdown-it.js b/dist/markdown-it.js index a1b5a99..79a044d 100644 --- a/dist/markdown-it.js +++ b/dist/markdown-it.js @@ -1,4 +1,4 @@ -/*! markdown-it 3.0.0 https://github.com//markdown-it/markdown-it @license MIT */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.markdownit=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= 0xD800 && code <= 0xDBFF) { + // high surrogate + if (pos >= orig.length - 1) { return '\uFFFD'; } + code = orig.charCodeAt(pos + 1); + if (code < 0xDC00 || code > 0xDFFF) { return '\uFFFD'; } + + return ch; + } + + // low surrogate + if (pos === 0) { return '\uFFFD'; } + code = orig.charCodeAt(pos - 1); + if (code < 0xD900 || code > 0xDBFF) { return '\uFFFD'; } + return ch; +} + +function fixBrokenSurrogates(str) { + if (!SURRORATE_TEST_RE.test(str)) { return str; } + + return str.replace(SURRORATE_SEARCH_RE, replaceBadSurrogate); +} + +//////////////////////////////////////////////////////////////////////////////// + + // Incoming link can be partially encoded. Convert possible combinations to // unified form. +// +// TODO: Rewrite it. Should use: +// +// - encodeURIComponent for query +// - encodeURI for path +// - (?) punicode for domain mame (but encodeURI seems to work in real world) +// function normalizeLink(url) { var normalized = replaceEntities(url); @@ -2579,7 +2617,9 @@ function normalizeLink(url) { normalized = decodeURI(normalized); } catch (__) {} - return encodeURI(normalized); + // Encoder throws exception on broken surrogate pairs. + // Fix those first. + return encodeURI(fixBrokenSurrogates(normalized)); } //////////////////////////////////////////////////////////////////////////////// @@ -7217,6 +7257,7 @@ function isTerminatorChar(ch) { case 0x5B/* [ */: case 0x5D/* ] */: case 0x21/* ! */: + case 0x23/* # */: case 0x26/* & */: case 0x3C/* < */: case 0x3E/* > */: diff --git a/dist/markdown-it.min.js b/dist/markdown-it.min.js index 91ec6e5..de71939 100644 --- a/dist/markdown-it.min.js +++ b/dist/markdown-it.min.js @@ -1,4 +1,4 @@ -/*! markdown-it 3.0.0 https://github.com//markdown-it/markdown-it @license MIT */ +/*! markdown-it 3.0.1 https://github.com//markdown-it/markdown-it @license MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r;"undefined"!=typeof window?r=window:"undefined"!=typeof global?r=global:"undefined"!=typeof self&&(r=self),r.markdownit=e()}}(function(){var e;return function r(e,t,n){function s(o,l){if(!t[o]){if(!e[o]){var a="function"==typeof require&&require;if(!l&&a)return a(o,!0);if(i)return i(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=t[o]={exports:{}};e[o][0].call(u.exports,function(r){var t=e[o][1][r];return s(t?t:r)},u,u.exports,r,e,t,n)}return t[o].exports}for(var i="function"==typeof require&&require,o=0;o",Gt:"\u226b",gt:">",gtcc:"\u2aa7",gtcir:"\u2a7a",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",hArr:"\u21d4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",Hfr:"\u210c",hfr:"\ud835\udd25",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",Hopf:"\u210d",hopf:"\ud835\udd59",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210b",hscr:"\ud835\udcbd",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:"\u2111",ifr:"\ud835\udd26",Igrave:"\xcc",igrave:"\xec",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012a",imacr:"\u012b",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2","in":"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",Int:"\u222c","int":"\u222b",intcal:"\u22ba",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:"\ud835\udd40",iopf:"\ud835\udd5a",Iota:"\u0399",iota:"\u03b9",iprod:"\u2a3c",iquest:"\xbf",Iscr:"\u2110",iscr:"\ud835\udcbe",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:"\ud835\udd0d",jfr:"\ud835\udd27",jmath:"\u0237",Jopf:"\ud835\udd41",jopf:"\ud835\udd5b",Jscr:"\ud835\udca5",jscr:"\ud835\udcbf",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039a",kappa:"\u03ba",kappav:"\u03f0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041a",kcy:"\u043a",Kfr:"\ud835\udd0e",kfr:"\ud835\udd28",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040c",kjcy:"\u045c",Kopf:"\ud835\udd42",kopf:"\ud835\udd5c",Kscr:"\ud835\udca6",kscr:"\ud835\udcc0",lAarr:"\u21da",Lacute:"\u0139",lacute:"\u013a",laemptyv:"\u29b4",lagran:"\u2112",Lambda:"\u039b",lambda:"\u03bb",Lang:"\u27ea",lang:"\u27e8",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",Larr:"\u219e",lArr:"\u21d0",larr:"\u2190",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",lAtail:"\u291b",latail:"\u2919",late:"\u2aad",lates:"\u2aad\ufe00",lBarr:"\u290e",lbarr:"\u290c",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:"\u2266",le:"\u2264",LeftAngleBracket:"\u27e8",LeftArrow:"\u2190",Leftarrow:"\u21d0",leftarrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21d4",leftrightarrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",lEg:"\u2a8b",leg:"\u22da",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",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:"\ud835\udd0f",lfr:"\ud835\udd29",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22d8",ll:"\u226a",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",Lmidot:"\u013f",lmidot:"\u0140",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lnE:"\u2268",lne:"\u2a87",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",LongLeftArrow:"\u27f5",Longleftarrow:"\u27f8",longleftarrow:"\u27f5",LongLeftRightArrow:"\u27f7",Longleftrightarrow:"\u27fa",longleftrightarrow:"\u27f7",longmapsto:"\u27fc",LongRightArrow:"\u27f6",Longrightarrow:"\u27f9",longrightarrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",Lopf:"\ud835\udd43",lopf:"\ud835\udd5d",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:"\u2112",lscr:"\ud835\udcc1",Lsh:"\u21b0",lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226a",lt:"<",ltcc:"\u2aa6",ltcir:"\u2a79",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:"\ud835\udd10",mfr:"\ud835\udd2a",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",Mopf:"\ud835\udd44",mopf:"\ud835\udd5e",mp:"\u2213",Mscr:"\u2133",mscr:"\ud835\udcc2",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",natur:"\u266e",natural:"\u266e",naturals:"\u2115",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",ne:"\u2260",nearhk:"\u2924",neArr:"\u21d7",nearr:"\u2197",nearrow:"\u2197",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:"\ud835\udd11",nfr:"\ud835\udd2b",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:"\u21ce",nharr:"\u21ae",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",NJcy:"\u040a",njcy:"\u045a",nlArr:"\u21cd",nlarr:"\u219a",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21cd",nleftarrow:"\u219a",nLeftrightarrow:"\u21ce",nleftrightarrow:"\u21ae",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:"\u2115",nopf:"\ud835\udd5f",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",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",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",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",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",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrArr:"\u21cf",nrarr:"\u219b",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nRightarrow:"\u21cf",nrightarrow:"\u219b",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",Nscr:"\ud835\udca9",nscr:"\ud835\udcc3",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:"\u22af",nVdash:"\u22ae",nvDash:"\u22ad",nvdash:"\u22ac",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:"\u21d6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xd3",oacute:"\xf3",oast:"\u229b",ocir:"\u229a",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"\u041e",ocy:"\u043e",odash:"\u229d",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29bf",Ofr:"\ud835\udd12",ofr:"\ud835\udd2c",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:"\ud835\udd46",oopf:"\ud835\udd60",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",Or:"\u2a54",or:"\u2228",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",Oscr:"\ud835\udcaa",oscr:"\u2134",Oslash:"\xd8",oslash:"\xf8",osol:"\u2298",Otilde:"\xd5",otilde:"\xf5",Otimes:"\u2a37",otimes:"\u2297",otimesas:"\u2a36",Ouml:"\xd6",ouml:"\xf6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",Pcy:"\u041f",pcy:"\u043f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",Pfr:"\ud835\udd13",pfr:"\ud835\udd2d",Phi:"\u03a6",phi:"\u03c6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",Pi:"\u03a0",pi:"\u03c0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",Popf:"\u2119",popf:"\ud835\udd61",pound:"\xa3",Pr:"\u2abb",pr:"\u227a",prap:"\u2ab7",prcue:"\u227c",prE:"\u2ab3",pre:"\u2aaf",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",Pscr:"\ud835\udcab",pscr:"\ud835\udcc5",Psi:"\u03a8",psi:"\u03c8",puncsp:"\u2008",Qfr:"\ud835\udd14",qfr:"\ud835\udd2e",qint:"\u2a0c",Qopf:"\u211a",qopf:"\ud835\udd62",qprime:"\u2057",Qscr:"\ud835\udcac",qscr:"\ud835\udcc6",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",QUOT:'"',quot:'"',rAarr:"\u21db",race:"\u223d\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221a",raemptyv:"\u29b3",Rang:"\u27eb",rang:"\u27e9",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",Rarr:"\u21a0",rArr:"\u21d2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21a3",rarrw:"\u219d",rAtail:"\u291c",ratail:"\u291a",ratio:"\u2236",rationals:"\u211a",RBarr:"\u2910",rBarr:"\u290f",rbarr:"\u290d",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",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",REG:"\xae",reg:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",Rfr:"\u211c",rfr:"\ud835\udd2f",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",Rho:"\u03a1",rho:"\u03c1",rhov:"\u03f1",RightAngleBracket:"\u27e9",RightArrow:"\u2192",Rightarrow:"\u21d2",rightarrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",Ropf:"\u211d",ropf:"\ud835\udd63",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",Rscr:"\u211b",rscr:"\ud835\udcc7",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",Sc:"\u2abc",sc:"\u227b",scap:"\u2ab8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227d",scE:"\u2ab4",sce:"\u2ab0",Scedil:"\u015e",scedil:"\u015f",Scirc:"\u015c",scirc:"\u015d",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",Scy:"\u0421",scy:"\u0441",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",seArr:"\u21d8",searr:"\u2198",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\ud835\udd16",sfr:"\ud835\udd30",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",sol:"/",solb:"\u29c4",solbar:"\u233f",Sopf:"\ud835\udd4a",sopf:"\ud835\udd64",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",squ:"\u25a1",Square:"\u25a1",square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",Sscr:"\ud835\udcae",sscr:"\ud835\udcc8",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",Star:"\u22c6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",Sub:"\u22d0",sub:"\u2282",subdot:"\u2abd",subE:"\u2ac5",sube:"\u2286",subedot:"\u2ac3",submult:"\u2ac1",subnE:"\u2acb",subne:"\u228a",subplus:"\u2abf",subrarr:"\u2979",Subset:"\u22d0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",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",Sup:"\u22d1",sup:"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",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:"\u22d1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swArr:"\u21d9",swarr:"\u2199",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:"\ud835\udd17",tfr:"\ud835\udd31",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03b8",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",THORN:"\xde",thorn:"\xfe",Tilde:"\u223c",tilde:"\u02dc",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",Topf:"\ud835\udd4b",topf:"\ud835\udd65",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:"\ud835\udcaf",tscr:"\ud835\udcc9",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040b",tshcy:"\u045b",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",Uacute:"\xda",uacute:"\xfa",Uarr:"\u219f",uArr:"\u21d1",uarr:"\u2191",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:"\ud835\udd18",ufr:"\ud835\udd32",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:"\ud835\udd4c",uopf:"\ud835\udd66",UpArrow:"\u2191",Uparrow:"\u21d1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",UpDownArrow:"\u2195",Updownarrow:"\u21d5",updownarrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03d2",upsi:"\u03c5",upsih:"\u03d2",Upsilon:"\u03a5",upsilon:"\u03c5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",Uring:"\u016e",uring:"\u016f",urtri:"\u25f9",Uscr:"\ud835\udcb0",uscr:"\ud835\udcca",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:"\u21d5",varr:"\u2195",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",Vbar:"\u2aeb",vBar:"\u2ae8",vBarv:"\u2ae9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22ab",Vdash:"\u22a9",vDash:"\u22a8",vdash:"\u22a2",Vdashl:"\u2ae6",Vee:"\u22c1",vee:"\u2228",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",Vfr:"\ud835\udd19",vfr:"\ud835\udd33",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",Vopf:"\ud835\udd4d",vopf:"\ud835\udd67",vprop:"\u221d",vrtri:"\u22b3",Vscr:"\ud835\udcb1",vscr:"\ud835\udccb",vsubnE:"\u2acb\ufe00",vsubne:"\u228a\ufe00",vsupnE:"\u2acc\ufe00",vsupne:"\u228b\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2a5f",Wedge:"\u22c0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\ud835\udd1a",wfr:"\ud835\udd34",Wopf:"\ud835\udd4e",wopf:"\ud835\udd68",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\ud835\udcb2",wscr:"\ud835\udccc",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",Xfr:"\ud835\udd1b",xfr:"\ud835\udd35",xhArr:"\u27fa",xharr:"\u27f7",Xi:"\u039e",xi:"\u03be",xlArr:"\u27f8",xlarr:"\u27f5",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",Xopf:"\ud835\udd4f",xopf:"\ud835\udd69",xoplus:"\u2a01",xotime:"\u2a02",xrArr:"\u27f9",xrarr:"\u27f6",Xscr:"\ud835\udcb3",xscr:"\ud835\udccd",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:"\ud835\udd1c",yfr:"\ud835\udd36",YIcy:"\u0407",yicy:"\u0457",Yopf:"\ud835\udd50",yopf:"\ud835\udd6a",Yscr:"\ud835\udcb4",yscr:"\ud835\udcce",YUcy:"\u042e",yucy:"\u044e",Yuml:"\u0178",yuml:"\xff",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:"\u2128",zfr:"\ud835\udd37",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21dd",Zopf:"\u2124",zopf:"\ud835\udd6b",Zscr:"\ud835\udcb5",zscr:"\ud835\udccf",zwj:"\u200d",zwnj:"\u200c"} -},{}],2:[function(e,r){"use strict";var t={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(e){t[e]=!0}),r.exports=t},{}],3:[function(e,r){"use strict";function t(e,r){return e=e.source,r=r||"",function t(n,s){return n?(s=s.source,e=e.replace(n,s),t):new RegExp(e,r)}}var n=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,s=/[^"'=<>`\x00-\x20]+/,i=/'[^']*'/,o=/"[^"]*"/,l=t(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",s)("single_quoted",i)("double_quoted",o)(),a=t(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",n)("attr_value",l)(),c=t(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",a)(),u=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,p=//,h=/<[?].*?[?]>/,f=/]*>/,d=//,g=t(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",c)("close_tag",u)("comment",p)("processing",h)("declaration",f)("cdata",d)();r.exports.HTML_TAG_RE=g},{}],4:[function(e,r){"use strict";r.exports=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"]},{}],5:[function(e,r,t){"use strict";function n(e){return Object.prototype.toString.call(e)}function s(e){return"[object String]"===n(e)}function i(e,r){return k.call(e,r)}function o(e){var r=Array.prototype.slice.call(arguments,1);return r.forEach(function(r){if(r){if("object"!=typeof r)throw new TypeError(r+"must be object");Object.keys(r).forEach(function(t){e[t]=r[t]})}}),e}function l(e,r,t){return[].concat(e.slice(0,r),t,e.slice(r+1))}function a(e){return e.indexOf("\\")<0?e:e.replace(y,"$1")}function c(e){return e>=55296&&57343>=e?!1:e>=64976&&65007>=e?!1:65535===(65535&e)||65534===(65535&e)?!1:e>=0&&8>=e?!1:11===e?!1:e>=14&&31>=e?!1:e>=127&&159>=e?!1:e>1114111?!1:!0}function u(e){if(e>65535){e-=65536;var r=55296+(e>>10),t=56320+(1023&e);return String.fromCharCode(r,t)}return String.fromCharCode(e)}function p(e,r){var t=0;return i(w,r)?w[r]:35===r.charCodeAt(0)&&x.test(r)&&(t="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10),c(t))?u(t):e}function h(e){return e.indexOf("&")<0?e:e.replace(_,p)}function f(e){return C[e]}function d(e){return A.test(e)?e.replace(q,f):e}function g(e){var r=h(e);try{r=decodeURI(r)}catch(t){}return encodeURI(r)}function m(e){return e.replace(E,"\\$&")}function b(e){if(e>=8192&&8202>=e)return!0;switch(e){case 9:case 10:case 13:case 12:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function v(e){return S.test(e)}var k=Object.prototype.hasOwnProperty,y=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,_=/&([a-z#][a-z0-9]{1,31});/gi,x=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,w=e("./entities"),A=/[&<>"]/,q=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""},E=/[.?*+^$[\]\\(){}|-]/g,S=/[\x21-\x23\x25-\x2A\x2C-\x2F\x3A\x3B\x3F\x40\x5B-\x5D\x5F\x7B\x7D\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\u0AF0\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-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\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]/;t.assign=o,t.isString=s,t.has=i,t.unescapeMd=a,t.isValidEntityCode=c,t.fromCodePoint=u,t.replaceEntities=h,t.escapeHtml=d,t.arrayReplaceAt=l,t.normalizeLink=g,t.isWhiteSpace=b,t.isPunctChar=v,t.escapeRE=m},{"./entities":1}],6:[function(e,r,t){"use strict";t.parseLinkLabel=e("./parse_link_label"),t.parseLinkDestination=e("./parse_link_destination"),t.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":8,"./parse_link_label":9,"./parse_link_title":10}],7:[function(e,r){"use strict";r.exports=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},{}],8:[function(e,r){"use strict";var t=e("../common/utils").normalizeLink,n=e("../common/utils").unescapeMd;r.exports=function(e,r,s){var i,o,l=0,a=r,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(r)){for(r++;s>r;){if(i=e.charCodeAt(r),10===i)return c;if(62===i)return c.pos=r+1,c.str=t(n(e.slice(a+1,r))),c.ok=!0,c;92===i&&s>r+1?r+=2:r++}return c}for(o=0;s>r&&(i=e.charCodeAt(r),32!==i)&&!(32>i||127===i);)if(92===i&&s>r+1)r+=2;else{if(40===i&&(o++,o>1))break;if(41===i&&(o--,0>o))break;r++}return a===r?c:(c.str=t(n(e.slice(a,r))),c.lines=l,c.pos=r,c.ok=!0,c)}},{"../common/utils":5}],9:[function(e,r){"use strict";r.exports=function(e,r,t){var n,s,i,o,l=-1,a=e.posMax,c=e.pos;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=r+1,n=1;e.pos=n)return a;if(i=e.charCodeAt(r),34!==i&&39!==i&&40!==i)return a;for(r++,40===i&&(i=41);n>r;){if(s=e.charCodeAt(r),s===i)return a.pos=r+1,a.lines=o,a.str=t(e.slice(l+1,r)),a.ok=!0,a;10===s?o++:92===s&&n>r+1&&(r++,10===e.charCodeAt(r)&&o++),r++}return a}},{"../common/utils":5}],11:[function(e,r){"use strict";function t(e,r){return this instanceof t?(r||n.isString(e)||(r=e||{},e="default"),this.inline=new a,this.block=new l,this.core=new o,this.renderer=new i,this.utils=n,this.helpers=s,this.options={},this.configure(e),void(r&&this.set(r))):new t(e,r)}var n=e("./common/utils"),s=e("./helpers"),i=e("./renderer"),o=e("./parser_core"),l=e("./parser_block"),a=e("./parser_inline"),c={"default":e("./presets/default"),zero:e("./presets/zero"),commonmark:e("./presets/commonmark")};t.prototype.set=function(e){return n.assign(this.options,e),this},t.prototype.configure=function(e){var r,t=this;if(n.isString(e)&&(r=e,e=c[r],!e))throw new Error('Wrong `markdown-it` preset "'+r+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules)}),this},t.prototype.enable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this);var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},t.prototype.disable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this);var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},t.prototype.use=function(e){var r=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,r),this},t.prototype.parse=function(e,r){var t=new this.core.State(e,this,r);return this.core.process(t),t.tokens},t.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)},t.prototype.parseInline=function(e,r){var t=new this.core.State(e,this,r);return t.inlineMode=!0,this.core.process(t),t.tokens},t.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)},r.exports=t},{"./common/utils":5,"./helpers":6,"./parser_block":12,"./parser_core":13,"./parser_inline":14,"./presets/commonmark":15,"./presets/default":16,"./presets/zero":17,"./renderer":18}],12:[function(e,r){"use strict";function t(){this.ruler=new n;for(var e=0;el&&(e.line=l=e.skipEmptyLines(l),!(l>=t))&&!(e.tShift[l]=c){e.line=t;break}for(s=0;o>s&&!(n=i[s](e,l,t,!1));s++);if(e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),l=e.line,t>l&&e.isEmpty(l)){if(a=!0,l++,t>l&&"list"===e.parentType&&e.isEmpty(l))break;e.line=l}}},t.prototype.parse=function(e,r,t,n){var s;return e?(s=new this.State(e,r,t,n),void this.tokenize(s,s.line,s.lineMax)):[]},t.prototype.State=e("./rules_block/state_block"),r.exports=t},{"./ruler":19,"./rules_block/blockquote":20,"./rules_block/code":21,"./rules_block/fence":22,"./rules_block/heading":23,"./rules_block/hr":24,"./rules_block/html_block":25,"./rules_block/lheading":26,"./rules_block/list":27,"./rules_block/paragraph":28,"./rules_block/reference":29,"./rules_block/state_block":30,"./rules_block/table":31}],13:[function(e,r){"use strict";function t(){this.ruler=new n;for(var e=0;er;r++)n[r](e)},t.prototype.State=e("./rules_core/state_core"),r.exports=t},{"./ruler":19,"./rules_core/block":32,"./rules_core/inline":33,"./rules_core/linkify":34,"./rules_core/normalize":35,"./rules_core/replacements":36,"./rules_core/smartquotes":37,"./rules_core/state_core":38}],14:[function(e,r){"use strict";function t(e){var r=e.trim().toLowerCase();return r=i(r),r.indexOf(":")>=0&&l.indexOf(r.split(":")[0])>=0?!1:!0}function n(){this.validateLink=t,this.ruler=new s;for(var e=0;e0)return void(e.pos=t);if(e.levelr;r++)if(s[r](e,!0))return void e.cacheSet(n,e.pos);e.pos++}else e.pos=e.max;e.cacheSet(n,e.pos)},n.prototype.tokenize=function(e){for(var r,t,n=this.ruler.getRules(""),s=n.length,i=e.posMax,o=e.md.options.maxNesting;e.pos=o){e.pos=i;break}for(t=0;s>t&&!(r=n[t](e,!1));t++);if(r){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},n.prototype.parse=function(e,r,t,n){var s=new this.State(e,r,t,n);this.tokenize(s)},n.prototype.State=e("./rules_inline/state_inline"),r.exports=n},{"./common/utils":5,"./ruler":19,"./rules_inline/autolink":39,"./rules_inline/backticks":40,"./rules_inline/emphasis":41,"./rules_inline/entity":42,"./rules_inline/escape":43,"./rules_inline/html_inline":44,"./rules_inline/image":45,"./rules_inline/link":46,"./rules_inline/newline":47,"./rules_inline/state_inline":48,"./rules_inline/strikethrough":49,"./rules_inline/text":50}],15:[function(e,r){"use strict";r.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"]}}}},{}],16:[function(e,r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}}},{}],17:[function(e,r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"]}}}},{}],18:[function(e,r){"use strict";function t(){this.rules=n({},l)}var n=e("./common/utils").assign,s=e("./common/utils").unescapeMd,i=e("./common/utils").replaceEntities,o=e("./common/utils").escapeHtml,l={};l.blockquote_open=function(){return"
\n"},l.blockquote_close=function(){return"
\n"},l.code_block=function(e,r){return"
"+o(e[r].content)+"
\n"},l.code_inline=function(e,r){return""+o(e[r].content)+""},l.fence=function(e,r,t){var n,l=e[r],a="",c=t.langPrefix,u="";return l.params&&(u=o(i(s(l.params.split(/\s+/g)[0]))),a=' class="'+c+u+'"'),n=t.highlight?t.highlight(l.content,u)||o(l.content):o(l.content),"
"+n+"
\n"},l.heading_open=function(e,r){return""},l.heading_close=function(e,r){return"\n"},l.hr=function(e,r,t){return t.xhtmlOut?"
\n":"
\n"},l.bullet_list_open=function(){return"
    \n"},l.bullet_list_close=function(){return"
\n"},l.list_item_open=function(e,r){var t=e[r+1];return"list_item_close"===t.type||"paragraph_open"===t.type&&t.tight?"
  • ":"
  • \n"},l.list_item_close=function(){return"
  • \n"},l.ordered_list_open=function(e,r){return e[r].order>1?'
      \n':"
        \n"},l.ordered_list_close=function(){return"
      \n"},l.paragraph_open=function(e,r){return e[r].tight?"":"

      "},l.paragraph_close=function(e,r){return e[r].tight===!0?e[r-1].content?"close"===e[r+1].type.slice(-5)?"":"\n":"":"

      \n"},l.link_open=function(e,r){var t=e[r].title?' title="'+o(i(e[r].title))+'"':"",n=e[r].target?' target="'+o(e[r].target)+'"':"";return'"},l.link_close=function(){return""},l.image=function(e,r,t,n,s){var l=' src="'+o(e[r].src)+'"',a=e[r].title?' title="'+o(i(e[r].title))+'"':"",c=' alt="'+s.renderInlineAsText(e[r].tokens,t,n)+'"',u=t.xhtmlOut?" /":"";return""},l.table_open=function(){return"\n"},l.table_close=function(){return"
      \n"},l.thead_open=function(){return"\n"},l.thead_close=function(){return"\n"},l.tbody_open=function(){return"\n"},l.tbody_close=function(){return"\n"},l.tr_open=function(){return""},l.tr_close=function(){return"\n"},l.th_open=function(e,r){return e[r].align?'':""},l.th_close=function(){return""},l.td_open=function(e,r){return e[r].align?'':""},l.td_close=function(){return""},l.strong_open=function(){return""},l.strong_close=function(){return""},l.em_open=function(){return""},l.em_close=function(){return""},l.s_open=function(){return""},l.s_close=function(){return""},l.hardbreak=function(e,r,t){return t.xhtmlOut?"
      \n":"
      \n"},l.softbreak=function(e,r,t){return t.breaks?t.xhtmlOut?"
      \n":"
      \n":"\n"},l.text=function(e,r){return o(e[r].content)},l.html_block=function(e,r){return e[r].content},l.html_inline=function(e,r){return e[r].content},t.prototype.renderInline=function(e,r,t){for(var n="",s=this.rules,i=0,o=e.length;o>i;i++)n+=s[e[i].type](e,i,r,t,this);return n},t.prototype.renderInlineAsText=function(e,r,t){for(var n="",s=this.rules,i=0,o=e.length;o>i;i++)"text"===e[i].type?n+=s.text(e,i,r,t,this):"image"===e[i].type&&(n+=this.renderInlineAsText(e[i].tokens,r,t));return n},t.prototype.render=function(e,r,t){var n,s,i="",o=this.rules;for(n=0,s=e.length;s>n;n++)i+="inline"===e[n].type?this.renderInline(e[n].children,r,t):o[e[n].type](e,n,r,t,this);return i},r.exports=t},{"./common/utils":5}],19:[function(e,r){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var r=0;rn){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,t.push(e)},this),this.__cache__=null,t},t.prototype.enableOnly=function(e,r){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,r)},t.prototype.disable=function(e,r){Array.isArray(e)||(e=[e]);var t=[];return e.forEach(function(e){var n=this.__find__(e);if(0>n){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,t.push(e)},this),this.__cache__=null,t},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},r.exports=t},{}],20:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l,a,c,u,p,h,f,d,g=e.bMarks[r]+e.tShift[r],m=e.eMarks[r];if(g>m)return!1;if(62!==e.src.charCodeAt(g++))return!1;if(n)return!0;for(32===e.src.charCodeAt(g)&&g++,a=e.blkIndent,e.blkIndent=0,l=[e.bMarks[r]],e.bMarks[r]=g,g=m>g?e.skipSpaces(g):g,i=g>=m,o=[e.tShift[r]],e.tShift[r]=g-e.bMarks[r],p=e.md.block.ruler.getRules("blockquote"),s=r+1;t>s&&(g=e.bMarks[s]+e.tShift[s],m=e.eMarks[s],!(g>=m));s++)if(62!==e.src.charCodeAt(g++)){if(i)break;for(d=!1,h=0,f=p.length;f>h;h++)if(p[h](e,s,t,!0)){d=!0;break}if(d)break;l.push(e.bMarks[s]),o.push(e.tShift[s]),e.tShift[s]=-1337}else 32===e.src.charCodeAt(g)&&g++,l.push(e.bMarks[s]),e.bMarks[s]=g,g=m>g?e.skipSpaces(g):g,i=g>=m,o.push(e.tShift[s]),e.tShift[s]=g-e.bMarks[s];for(c=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:u=[r,0],level:e.level++}),e.md.block.tokenize(e,r,s),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=c,u[1]=e.line,h=0;hn;)if(e.isEmpty(n))n++;else{if(!(e.tShift[n]-e.blkIndent>=4))break;n++,s=n}return e.line=n,e.tokens.push({type:"code_block",content:e.getLines(r,s,4+e.blkIndent,!0),lines:[r,e.line],level:e.level}),!0}},{}],22:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l,a,c=!1,u=e.bMarks[r]+e.tShift[r],p=e.eMarks[r];if(u+3>p)return!1;if(s=e.src.charCodeAt(u),126!==s&&96!==s)return!1;if(a=u,u=e.skipChars(u,s),i=u-a,3>i)return!1;if(o=e.src.slice(u,p).trim(),o.indexOf("`")>=0)return!1;if(n)return!0;for(l=r;(l++,!(l>=t))&&(u=a=e.bMarks[l]+e.tShift[l],p=e.eMarks[l],!(p>u&&e.tShift[l]=4||(u=e.skipChars(u,s),i>u-a||(u=e.skipSpaces(u),p>u)))){c=!0;break}return i=e.tShift[r],e.line=l+(c?1:0),e.tokens.push({type:"fence",params:o,content:e.getLines(r+1,l,i,!0),lines:[r,e.line],level:e.level}),!0}},{}],23:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(l>=a)return!1;if(s=e.src.charCodeAt(l),35!==s||l>=a)return!1;for(i=1,s=e.src.charCodeAt(++l);35===s&&a>l&&6>=i;)i++,s=e.src.charCodeAt(++l);return i>6||a>l&&32!==s?!1:n?!0:(a=e.skipCharsBack(a,32,l),o=e.skipCharsBack(a,35,l),o>l&&32===e.src.charCodeAt(o-1)&&(a=o),e.line=r+1,e.tokens.push({type:"heading_open",hLevel:i,lines:[r,e.line],level:e.level}),a>l&&e.tokens.push({type:"inline",content:e.src.slice(l,a).trim(),level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:i,level:e.level}),!0)}},{}],24:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l=e.bMarks[r],a=e.eMarks[r];if(l+=e.tShift[r],l>a)return!1;if(s=e.src.charCodeAt(l++),42!==s&&45!==s&&95!==s)return!1;for(i=1;a>l;){if(o=e.src.charCodeAt(l++),o!==s&&32!==o)return!1;o===s&&i++}return 3>i?!1:n?!0:(e.line=r+1,e.tokens.push({type:"hr",lines:[r,e.line],level:e.level}),!0)}},{}],25:[function(e,r){"use strict";function t(e){var r=32|e;return r>=97&&122>=r}var n=e("../common/html_blocks"),s=/^<([a-zA-Z]{1,15})[\s\/>]/,i=/^<\/([a-zA-Z]{1,15})[\s>]/;r.exports=function(e,r,o,l){var a,c,u,p=e.bMarks[r],h=e.eMarks[r],f=e.tShift[r];if(p+=f,!e.md.options.html)return!1;if(f>3||p+2>=h)return!1;if(60!==e.src.charCodeAt(p))return!1;if(a=e.src.charCodeAt(p+1),33===a||63===a){if(l)return!0}else{if(47!==a&&!t(a))return!1;if(47===a){if(c=e.src.slice(p,h).match(i),!c)return!1}else if(c=e.src.slice(p,h).match(s),!c)return!1;if(n[c[1].toLowerCase()]!==!0)return!1;if(l)return!0}for(u=r+1;u=t?!1:e.tShift[o]3?!1:(s=e.bMarks[o]+e.tShift[o],i=e.eMarks[o],s>=i?!1:(n=e.src.charCodeAt(s),45!==n&&61!==n?!1:(s=e.skipChars(s,n),s=e.skipSpaces(s),i>s?!1:(s=e.bMarks[r]+e.tShift[r],e.line=o+1,e.tokens.push({type:"heading_open",hLevel:61===n?1:2,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(s,e.eMarks[r]).trim(),level:e.level+1,lines:[r,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:61===n?1:2,level:e.level}),!0))))}},{}],27:[function(e,r){"use strict";function t(e,r){var t,n,s;return n=e.bMarks[r]+e.tShift[r],s=e.eMarks[r],n>=s?-1:(t=e.src.charCodeAt(n++),42!==t&&45!==t&&43!==t?-1:s>n&&32!==e.src.charCodeAt(n)?-1:n)}function n(e,r){var t,n=e.bMarks[r]+e.tShift[r],s=e.eMarks[r];if(n+1>=s)return-1;if(t=e.src.charCodeAt(n++),48>t||t>57)return-1;for(;;){if(n>=s)return-1;if(t=e.src.charCodeAt(n++),!(t>=48&&57>=t)){if(41===t||46===t)break;return-1}}return s>n&&32!==e.src.charCodeAt(n)?-1:n}function s(e,r){var t,n,s=e.level+2;for(t=r+2,n=e.tokens.length-2;n>t;t++)e.tokens[t].level===s&&"paragraph_open"===e.tokens[t].type&&(e.tokens[t+2].tight=!0,e.tokens[t].tight=!0,t+=2)}r.exports=function(e,r,i,o){var l,a,c,u,p,h,f,d,g,m,b,v,k,y,_,x,w,A,q,C,E,S,D=!0;if((d=n(e,r))>=0)k=!0;else{if(!((d=t(e,r))>=0))return!1;k=!1}if(v=e.src.charCodeAt(d-1),o)return!0;for(_=e.tokens.length,k?(f=e.bMarks[r]+e.tShift[r],b=Number(e.src.substr(f,d-f-1)),e.tokens.push({type:"ordered_list_open",order:b,lines:w=[r,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:w=[r,0],level:e.level++}),l=r,x=!1,q=e.md.block.ruler.getRules("list");!(!(i>l)||(y=e.skipSpaces(d),g=e.eMarks[l],m=y>=g?1:y-d,m>4&&(m=1),1>m&&(m=1),a=d-e.bMarks[l]+m,e.tokens.push({type:"list_item_open",lines:A=[r,0],level:e.level++}),u=e.blkIndent,p=e.tight,c=e.tShift[r],h=e.parentType,e.tShift[r]=y-e.bMarks[r],e.blkIndent=a,e.tight=!0,e.parentType="list",e.md.block.tokenize(e,r,i,!0),(!e.tight||x)&&(D=!1),x=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=u,e.tShift[r]=c,e.tight=p,e.parentType=h,e.tokens.push({type:"list_item_close",level:--e.level}),l=r=e.line,A[1]=l,y=e.bMarks[r],l>=i)||e.isEmpty(l)||e.tShift[l]C;C++)if(q[C](e,l,i,!0)){S=!0;break}if(S)break;if(k){if(d=n(e,l),0>d)break}else if(d=t(e,l),0>d)break;if(v!==e.src.charCodeAt(d-1))break}return e.tokens.push({type:k?"ordered_list_close":"bullet_list_close",level:--e.level}),w[1]=l,e.line=l,D&&s(e,_),!0}},{}],28:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i,o,l,a=r+1;if(t=e.lineMax,t>a&&!e.isEmpty(a))for(l=e.md.block.ruler.getRules("paragraph");t>a&&!e.isEmpty(a);a++)if(!(e.tShift[a]-e.blkIndent>3)){for(s=!1,i=0,o=l.length;o>i;i++)if(l[i](e,a,t,!0)){s=!0;break}if(s)break}return n=e.getLines(r,a,e.blkIndent,!1).trim(),e.line=a,n.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:n,level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}},{}],29:[function(e,r){"use strict";var t=e("../helpers/parse_link_destination"),n=e("../helpers/parse_link_title"),s=e("../helpers/normalize_reference");r.exports=function(e,r,i,o){var l,a,c,u,p,h,f,d,g,m,b,v,k,y,_,x=0,w=e.bMarks[r]+e.tShift[r],A=e.eMarks[r],q=r+1;if(w>=A)return!1;if(91!==e.src.charCodeAt(w))return!1;if(u=e.lineMax,u>q&&!e.isEmpty(q))for(y=e.md.block.ruler.getRules("references");u>q&&!e.isEmpty(q);q++)if(!(e.tShift[q]-e.blkIndent>3)){for(k=!1,h=0,f=y.length;f>h;h++)if(y[h](e,q,u,!0)){k=!0;break}if(k)break}for(v=e.getLines(r,q,e.blkIndent,!1).trim(),A=v.length,w=1;A>w;w++){if(l=v.charCodeAt(w),91===l)return!1;if(93===l){g=w;break}10===l?x++:92===l&&(w++,A>w&&10===v.charCodeAt(w)&&x++)}if(0>g||58!==v.charCodeAt(g+1))return!1;for(w=g+2;A>w;w++)if(l=v.charCodeAt(w),10===l)x++;else if(32!==l)break;if(m=t(v,w,A),!m.ok)return!1;if(!e.md.inline.validateLink(m.str))return!1;for(p=m.str,w=m.pos,x+=m.lines,a=w,c=x,b=w;A>w;w++)if(l=v.charCodeAt(w),10===l)x++;else if(32!==l)break;for(m=n(v,w,A),A>w&&b!==w&&m.ok?(_=m.str,w=m.pos,x+=m.lines):(_="",w=a,x=c);A>w&&32===v.charCodeAt(w);)w++;return A>w&&10!==v.charCodeAt(w)?!1:o?!0:(d=s(v.slice(1,g)),"undefined"==typeof e.env.references&&(e.env.references={}),"undefined"==typeof e.env.references[d]&&(e.env.references[d]={title:_,href:p}),e.line=r+x+1,!0)}},{"../helpers/normalize_reference":7,"../helpers/parse_link_destination":8,"../helpers/parse_link_title":10}],30:[function(e,r){"use strict";function t(e,r,t,n){var s,i,o,l,a,c,u;for(this.src=e,this.md=r,this.env=t,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",i=this.src,c=0,u=!1,o=l=c=0,a=i.length;a>l;l++){if(s=i.charCodeAt(l),!u){if(32===s){c++;continue}u=!0}(10===s||l===a-1)&&(10!==s&&l++,this.bMarks.push(o),this.eMarks.push(l),this.tShift.push(c),u=!1,c=0,o=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}t.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},t.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;r>e&&!(this.bMarks[e]+this.tShift[e]e&&32===this.src.charCodeAt(e);e++);return e},t.prototype.skipChars=function(e,r){for(var t=this.src.length;t>e&&this.src.charCodeAt(e)===r;e++);return e},t.prototype.skipCharsBack=function(e,r,t){if(t>=e)return e;for(;e>t;)if(r!==this.src.charCodeAt(--e))return e+1;return e},t.prototype.getLines=function(e,r,t,n){var s,i,o,l,a,c=e;if(e>=r)return"";if(c+1===r)return i=this.bMarks[c]+Math.min(this.tShift[c],t),o=n?this.bMarks[r]:this.eMarks[r-1],this.src.slice(i,o);for(l=new Array(r-e),s=0;r>c;c++,s++)a=this.tShift[c],a>t&&(a=t),0>a&&(a=0),i=this.bMarks[c]+a,o=r>c+1||n?this.eMarks[c]+1:this.eMarks[c],l[s]=this.src.slice(i,o);return l.join("")},r.exports=t},{}],31:[function(e,r){"use strict";function t(e,r){var t=e.bMarks[r]+e.blkIndent,n=e.eMarks[r];return e.src.substr(t,n-t)}r.exports=function(e,r,n,s){var i,o,l,a,c,u,p,h,f,d;if(r+2>n)return!1;if(c=r+1,e.tShift[c]=e.eMarks[c])return!1;if(i=e.src.charCodeAt(l),124!==i&&45!==i&&58!==i)return!1;if(o=t(e,r+1),!/^[-:| ]+$/.test(o))return!1;if(u=o.split("|"),2>=u)return!1;for(p=[],a=0;ac&&!(e.tShift[c]t;t++)r=s[t],"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}},{}],34:[function(e,r){"use strict";function t(e){return/^\s]/i.test(e)}function n(e){return/^<\/a\s*>/i.test(e)}function s(){var e=[],r=new i({stripPrefix:!1,url:!0,email:!0,twitter:!1,replaceFn:function(r,t){switch(t.getType()){case"url":e.push({text:t.matchedText,url:t.getUrl()});break;case"email":e.push({text:t.matchedText,url:"mailto:"+t.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:r}}var i=e("autolinker"),o=e("../common/utils").arrayReplaceAt,l=/www|@|\:\/\//;r.exports=function(e){var r,i,a,c,u,p,h,f,d,g,m,b,v,k=e.tokens,y=null;if(e.md.options.linkify)for(i=0,a=k.length;a>i;i++)if("inline"===k[i].type)for(c=k[i].children,m=0,r=c.length-1;r>=0;r--)if(u=c[r],"link_close"!==u.type){if("html_inline"===u.type&&(t(u.content)&&m>0&&m--,n(u.content)&&m++),!(m>0)&&"text"===u.type&&l.test(u.content)){if(y||(y=s(),b=y.links,v=y.autolinker),p=u.content,b.length=0,v.link(p),!b.length)continue;for(h=[],g=u.level,f=0;f=0&&(i=0,o=0,r=r.replace(t,function(e,t){var n;return 10===r.charCodeAt(t)?(i=t+1,o=0,e):(n=" ".slice((t-i-o)%4),o=t-i+1,n)})),e.src=r)}},{}],36:[function(e,r){"use strict";function t(e){return e.indexOf("(")<0?e:e.replace(s,function(e,r){return i[r.toLowerCase()]})}var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/gi,i={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};r.exports=function(e){var r,s,i,o,l;if(e.md.options.typographer)for(l=e.tokens.length-1;l>=0;l--)if("inline"===e.tokens[l].type)for(o=e.tokens[l].children,r=o.length-1;r>=0;r--)s=o[r],"text"===s.type&&(i=s.content,i=t(i),n.test(i)&&(i=i.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),s.content=i)}},{}],37:[function(e,r){"use strict";function t(e,r){return 0>r||r>=e.length?!1:!o.test(e[r])}function n(e,r,t){return e.substr(0,r)+t+e.substr(r+1)}var s=/['"]/,i=/['"]/g,o=/[-\s()\[\]]/,l="\u2019";r.exports=function(e){var r,o,a,c,u,p,h,f,d,g,m,b,v,k,y,_,x;if(e.md.options.typographer)for(x=[],y=e.tokens.length-1;y>=0;y--)if("inline"===e.tokens[y].type)for(_=e.tokens[y].children,x.length=0,r=0;r<_.length;r++)if(o=_[r],"text"===o.type&&!s.test(o.text)){for(h=_[r].level,v=x.length-1;v>=0&&!(x[v].level<=h);v--);x.length=v+1,a=o.content,u=0,p=a.length;e:for(;p>u&&(i.lastIndex=u,c=i.exec(a));)if(f=!t(a,c.index-1),u=c.index+1,k="'"===c[0],d=!t(a,u),d||f){if(m=!d,b=!f)for(v=x.length-1;v>=0&&(g=x[v],!(x[v].level/,i=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;r.exports=function(e,r){var o,l,a,c,u,p=e.pos;return 60!==e.src.charCodeAt(p)?!1:(o=e.src.slice(p),o.indexOf(">")<0?!1:(l=o.match(i))?t.indexOf(l[1].toLowerCase())<0?!1:(c=l[0].slice(1,-1),u=n(c),e.md.inline.validateLink(c)?(r||(e.push({type:"link_open",href:u,target:"",level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=l[0].length,!0):!1):(a=o.match(s),a?(c=a[0].slice(1,-1),u=n("mailto:"+c),e.md.inline.validateLink(u)?(r||(e.push({type:"link_open",href:u,target:"",level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=a[0].length,!0):!1):!1))}},{"../common/url_schemas":4,"../common/utils":5}],40:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i,o,l=e.pos,a=e.src.charCodeAt(l);if(96!==a)return!1;for(t=l,l++,n=e.posMax;n>l&&96===e.src.charCodeAt(l);)l++;for(s=e.src.slice(t,l),i=o=l;-1!==(i=e.src.indexOf("`",o));){for(o=i+1;n>o&&96===e.src.charCodeAt(o);)o++;if(o-i===s.length)return r||e.push({type:"code_inline",content:e.src.slice(l,i).replace(/[ \n]+/g," ").trim(),level:e.level}),e.pos=o,!0}return r||(e.pending+=s),e.pos+=s.length,!0}},{}],41:[function(e,r){"use strict";function t(e){return e>=48&&57>=e||e>=65&&90>=e||e>=97&&122>=e}function n(e,r){var n,o,l,a,c,u,p,h=r,f=!0,d=!0,g=e.posMax,m=e.src.charCodeAt(r);for(n=r>0?e.src.charCodeAt(r-1):-1;g>h&&e.src.charCodeAt(h)===m;)h++;return h>=g&&(f=!1),l=h-r,o=g>h?e.src.charCodeAt(h):-1,c=n>=0&&i(String.fromCharCode(n)),p=o>=0&&i(String.fromCharCode(o)),a=n>=0&&s(n),u=o>=0&&s(o),u?f=!1:p&&(a||c||-1===n||(f=!1)),a?d=!1:c&&(u||p||-1===o||(d=!1)),95===m&&(t(n)&&(f=!1),t(o)&&(d=!1)),{can_open:f,can_close:d,delims:l}}var s=e("../common/utils").isWhiteSpace,i=e("../common/utils").isPunctChar;r.exports=function(e,r){var t,s,i,o,l,a,c,u=e.posMax,p=e.pos,h=e.src.charCodeAt(p);if(95!==h&&42!==h)return!1;if(r)return!1;if(c=n(e,p),t=c.delims,!c.can_open)return e.pos+=t,e.pending+=e.src.slice(p,e.pos),!0;for(e.pos=p+t,a=[t];e.posl){a.push(o-l);break}if(l-=o,0===a.length)break;e.pos+=o,o=a.pop()}if(0===a.length){t=o,i=!0;break}e.pos+=s;continue}c.can_open&&a.push(s),e.pos+=s}if(!i)return e.pos=p,!1;for(e.posMax=e.pos,e.pos=p+t,s=t;s>1;s-=2)e.push({type:"strong_open",level:e.level++});for(s%2&&e.push({type:"em_open",level:e.level++}),e.md.inline.tokenize(e),s%2&&e.push({type:"em_close",level:--e.level}),s=t;s>1;s-=2)e.push({type:"strong_close",level:--e.level});return e.pos=e.posMax+t,e.posMax=u,!0}},{"../common/utils":5}],42:[function(e,r){"use strict";var t=e("../common/entities"),n=e("../common/utils").has,s=e("../common/utils").isValidEntityCode,i=e("../common/utils").fromCodePoint,o=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;r.exports=function(e,r){var a,c,u,p=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(p))return!1;if(h>p+1)if(a=e.src.charCodeAt(p+1),35===a){if(u=e.src.slice(p).match(o))return r||(c="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=i(s(c)?c:65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(p).match(l),u&&n(t,u[1]))return r||(e.pending+=t[u[1]]),e.pos+=u[0].length,!0;return r||(e.pending+="&"),e.pos++,!0}},{"../common/entities":1,"../common/utils":5}],43:[function(e,r){"use strict";for(var t=[],n=0;256>n;n++)t.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){t[e.charCodeAt(0)]=1}),r.exports=function(e,r){var n,s=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(s))return!1;if(s++,i>s){if(n=e.src.charCodeAt(s),256>n&&0!==t[n])return r||(e.pending+=e.src[s]),e.pos+=2,!0;if(10===n){for(r||e.push({type:"hardbreak",level:e.level}),s++;i>s&&32===e.src.charCodeAt(s);)s++;return e.pos=s,!0}}return r||(e.pending+="\\"),e.pos++,!0}},{}],44:[function(e,r){"use strict";function t(e){var r=32|e;return r>=97&&122>=r}var n=e("../common/html_re").HTML_TAG_RE,s=/^$/;r.exports=function(e,r){var i,o,l,a,c=e.pos;return e.md.options.html?(l=e.posMax,60!==e.src.charCodeAt(c)||c+2>=l?!1:(i=e.src.charCodeAt(c+1),(33===i||63===i||47===i||t(i))&&(o=e.src.slice(c).match(n))?(a=e.src.slice(c,c+o[0].length),s.test(a)&&/(^>|^->|--|-$)/.test(a.slice(4,-3))?!1:(r||e.push({type:"html_inline",content:a,level:e.level}),e.pos+=o[0].length,!0)):!1)):!1}},{"../common/html_re":3}],45:[function(e,r){"use strict";var t=e("../helpers/parse_link_label"),n=e("../helpers/parse_link_destination"),s=e("../helpers/parse_link_title"),i=e("../helpers/normalize_reference");r.exports=function(e,r){var o,l,a,c,u,p,h,f,d,g,m,b=e.pos,v=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(u=e.pos+2,c=t(e,e.pos+1,!1),0>c)return!1;if(p=c+1,v>p&&40===e.src.charCodeAt(p)){for(p++;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(p>=v)return!1;for(m=p,f=n(e.src,p,e.posMax),f.ok&&e.md.inline.validateLink(f.str)?(l=f.str,p=f.pos):l="",m=p;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(f=s(e.src,p,e.posMax),v>p&&m!==p&&f.ok)for(d=f.str,p=f.pos;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);else d="";if(p>=v||41!==e.src.charCodeAt(p))return e.pos=b,!1;p++}else{if("undefined"==typeof e.env.references)return!1;for(;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(v>p&&91===e.src.charCodeAt(p)?(m=p+1,p=t(e,p),p>=0?a=e.src.slice(m,p++):p=c+1):p=c+1,a||(a=e.src.slice(u,c)),h=e.env.references[i(a)],!h)return e.pos=b,!1;l=h.href,d=h.title}if(!r){e.pos=u,e.posMax=c;var k=new e.md.inline.State(e.src.slice(u,c),e.md,e.env,g=[]);k.md.inline.tokenize(k),e.push({type:"image",src:l,title:d,tokens:g,level:e.level})}return e.pos=p,e.posMax=v,!0}},{"../helpers/normalize_reference":7,"../helpers/parse_link_destination":8,"../helpers/parse_link_label":9,"../helpers/parse_link_title":10}],46:[function(e,r){"use strict";var t=e("../helpers/parse_link_label"),n=e("../helpers/parse_link_destination"),s=e("../helpers/parse_link_title"),i=e("../helpers/normalize_reference");r.exports=function(e,r){var o,l,a,c,u,p,h,f,d,g=e.pos,m=e.posMax,b=e.pos;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,c=t(e,e.pos,!0),0>c)return!1;if(p=c+1,m>p&&40===e.src.charCodeAt(p)){for(p++;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(p>=m)return!1;for(b=p,h=n(e.src,p,e.posMax),h.ok&&e.md.inline.validateLink(h.str)?(l=h.str,p=h.pos):l="",b=p;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(h=s(e.src,p,e.posMax),m>p&&b!==p&&h.ok)for(d=h.str,p=h.pos;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);else d="";if(p>=m||41!==e.src.charCodeAt(p))return e.pos=g,!1;p++}else{if("undefined"==typeof e.env.references)return!1;for(;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(m>p&&91===e.src.charCodeAt(p)?(b=p+1,p=t(e,p),p>=0?a=e.src.slice(b,p++):p=c+1):p=c+1,a||(a=e.src.slice(u,c)),f=e.env.references[i(a)],!f)return e.pos=g,!1;l=f.href,d=f.title}return r||(e.pos=u,e.posMax=c,e.push({type:"link_open",href:l,target:"",title:d,level:e.level++}),e.md.inline.tokenize(e),e.push({type:"link_close",level:--e.level})),e.pos=p,e.posMax=m,!0}},{"../helpers/normalize_reference":7,"../helpers/parse_link_destination":8,"../helpers/parse_link_label":9,"../helpers/parse_link_title":10}],47:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;for(t=e.pending.length-1,n=e.posMax,r||(t>=0&&32===e.pending.charCodeAt(t)?t>=1&&32===e.pending.charCodeAt(t-1)?(e.pending=e.pending.replace(/ +$/,""),e.push({type:"hardbreak",level:e.level})):(e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level})):e.push({type:"softbreak",level:e.level})),s++;n>s&&32===e.src.charCodeAt(s);)s++;return e.pos=s,!0}},{}],48:[function(e,r){"use strict";function t(e,r,t,n){this.src=e,this.env=t,this.md=r,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.labelUnmatchedScopes=0}t.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},t.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},t.prototype.cacheSet=function(e,r){for(var t=this.cache.length;e>=t;t++)this.cache.push(0);this.cache[e]=r},t.prototype.cacheGet=function(e){return e0?e.src.charCodeAt(r-1):-1;a>i&&e.src.charCodeAt(i)===c;)i++;return i>=a&&(o=!1),s=i-r,n=a>i?e.src.charCodeAt(i):-1,(32===n||10===n)&&(o=!1),(32===t||10===t)&&(l=!1),{can_open:o,can_close:l,delims:s}}r.exports=function(e,r){var n,s,i,o,l,a,c=e.posMax,u=e.pos,p=e.src.charCodeAt(u);if(126!==p)return!1;if(r)return!1;if(a=t(e,u),n=a.delims,!a.can_open)return e.pos+=n,e.pending+=e.src.slice(u,e.pos),!0;if(l=Math.floor(n/2),0>=l)return!1;for(e.pos=u+n;e.pos=l){e.pos+=s-2,o=!0;break}l-=i,e.pos+=s;continue}a.can_open&&(l+=i),e.pos+=s}return o?(e.posMax=e.pos,e.pos=u+2,e.push({type:"s_open",level:e.level++}),e.md.inline.tokenize(e),e.push({type:"s_close",level:--e.level}),e.pos=e.posMax+2,e.posMax=c,!0):(e.pos=u,!1)}},{}],50:[function(e,r){"use strict";function t(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}r.exports=function(e,r){for(var n=e.pos;nl;l++){var c=n[l],u=t.processTextNode(c);o.push(u)}else o.push(r)}}),o.join("")},getHtmlParser:function(){var r=this.htmlParser;return r||(r=this.htmlParser=new e.HtmlParser),r},getTagBuilder:function(){var r=this.tagBuilder;return r||(r=this.tagBuilder=new e.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),r},processTextNode:function(e){var r=this;return e.replace(this.matcherRegex,function(e,t,n,s,i,o,l,a,c){var u=r.processCandidateMatch(e,t,n,s,i,o,l,a,c);if(u){var p=r.createMatchReturnVal(u.match,u.matchStr);return u.prefixStr+p+u.suffixStr}return e})},processCandidateMatch:function(r,t,n,s,i,o,l,a,c){var u,p=a||c,h="",f="";if(t&&!this.twitter||i&&!this.email||o&&!this.urls||!this.matchValidator.isValidMatch(o,l,p))return null;if(this.matchHasUnbalancedClosingParen(r)&&(r=r.substr(0,r.length-1),f=")"),i)u=new e.match.Email({matchedText:r,email:i});else if(t)n&&(h=n,r=r.slice(1)),u=new e.match.Twitter({matchedText:r,twitterHandle:s});else{if(p){var d=p.match(this.charBeforeProtocolRelMatchRegex)[1]||"";d&&(h=d,r=r.slice(1))}u=new e.match.Url({matchedText:r,url:r,protocolUrlMatch:!!l,protocolRelativeMatch:!!p,stripPrefix:this.stripPrefix})}return{prefixStr:h,suffixStr:f,matchStr:r,match:u}},matchHasUnbalancedClosingParen:function(e){var r=e.charAt(e.length-1);if(")"===r){var t=e.match(/\(/g),n=e.match(/\)/g),s=t&&t.length||0,i=n&&n.length||0;if(i>s)return!0}return!1},createMatchReturnVal:function(r,t){var n;if(this.replaceFn&&(n=this.replaceFn.call(this,this,r)),"string"==typeof n)return n;if(n===!1)return t;if(n instanceof e.HtmlTag)return n.toString();var s=this.getTagBuilder(),i=s.build(r);return i.toString()}},e.link=function(r,t){var n=new e(t);return n.link(r)},e.match={},e.Util={abstractMethod:function(){throw"abstract"},assign:function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t]);return e},extend:function(r,t){var n=r.prototype,s=function(){};s.prototype=n;var i;i=t.hasOwnProperty("constructor")?t.constructor:function(){n.constructor.apply(this,arguments)};var o=i.prototype=new s;return o.constructor=i,o.superclass=n,delete t.constructor,e.Util.assign(o,t),i},ellipsis:function(e,r,t){return e.length>r&&(t=null==t?"..":t,e=e.substring(0,r-t.length)+t),e},indexOf:function(e,r){if(Array.prototype.indexOf)return e.indexOf(r);for(var t=0,n=e.length;n>t;t++)if(e[t]===r)return t;return-1},splitAndCapture:function(e,r){if(!r.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var t,n=[],s=0;t=r.exec(e);)n.push(e.substring(s,t.index)),n.push(t[0]),s=t.index+t[0].length;return n.push(e.substring(s)),n}},e.HtmlParser=e.Util.extend(Object,{htmlRegex:function(){var e=/[0-9a-zA-Z][0-9a-zA-Z:]*/,r=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,t=/(?:".*?"|'.*?'|[^'"=<>`\s]+)/,n=r.source+"(?:\\s*=\\s*"+t.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",n,"|",t.source+")",")*",">",")","|","(?:","<(/)?","("+e.source+")","(?:","\\s+",n,")*","\\s*/?",">",")"].join(""),"gi")}(),parse:function(e,r){r=r||{};for(var t,n=r.processHtmlNode||function(){},s=r.processTextNode||function(){},i=this.htmlRegex,o=0;null!==(t=i.exec(e));){var l=t[0],a=t[1]||t[3],c=!!t[2],u=e.substring(o,t.index);u&&s(u),n(l,a.toLowerCase(),c),o=t.index+l.length}if(o",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var e=this.getAttrs(),r=[];for(var t in e)e.hasOwnProperty(t)&&r.push(t+'="'+e[t]+'"');return r.join(" ")}}),e.MatchValidator=e.Util.extend(Object,{invalidProtocolRelMatchRegex:/^[\w]\/\//,hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]+:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]+:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z]/,isValidMatch:function(e,r,t){return r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(e,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,r)||this.isInvalidProtocolRelativeMatch(t)?!1:!0},isValidUriScheme:function(e){var r=e.match(this.uriSchemeRegex)[0];return"javascript:"!==r&&"vbscript:"!==r},urlMatchDoesNotHaveProtocolOrDot:function(e,r){return!(!e||r&&this.hasFullProtocolRegex.test(r)||-1!==e.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(e,r){return e&&r?!this.hasWordCharAfterProtocolRegex.test(e):!1},isInvalidProtocolRelativeMatch:function(e){return!!e&&this.invalidProtocolRelMatchRegex.test(e)}}),e.AnchorTagBuilder=e.Util.extend(Object,{constructor:function(r){e.Util.assign(this,r)},build:function(r){var t=new e.HtmlTag({tagName:"a",attrs:this.createAttrs(r.getType(),r.getAnchorHref()),innerHtml:this.processAnchorText(r.getAnchorText())});return t},createAttrs:function(e,r){var t={href:r},n=this.createCssClass(e);return n&&(t["class"]=n),this.newWindow&&(t.target="_blank"),t},createCssClass:function(e){var r=this.className;return r?r+" "+r+"-"+e:""},processAnchorText:function(e){return e=this.doTruncate(e)},doTruncate:function(r){return e.Util.ellipsis(r,this.truncate||Number.POSITIVE_INFINITY)}}),e.match.Match=e.Util.extend(Object,{constructor:function(r){e.Util.assign(this,r)},getType:e.Util.abstractMethod,getMatchedText:function(){return this.matchedText},getAnchorHref:e.Util.abstractMethod,getAnchorText:e.Util.abstractMethod}),e.match.Email=e.Util.extend(e.match.Match,{getType:function(){return"email"},getEmail:function(){return this.email},getAnchorHref:function(){return"mailto:"+this.email},getAnchorText:function(){return this.email}}),e.match.Twitter=e.Util.extend(e.match.Match,{getType:function(){return"twitter"},getTwitterHandle:function(){return this.twitterHandle},getAnchorHref:function(){return"https://twitter.com/"+this.twitterHandle},getAnchorText:function(){return"@"+this.twitterHandle}}),e.match.Url=e.Util.extend(e.match.Match,{urlPrefixRegex:/^(https?:\/\/)?(www\.)?/i,protocolRelativeRegex:/^\/\//,protocolPrepended:!1,getType:function(){return"url"},getUrl:function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},getAnchorHref:function(){var e=this.getUrl();return e.replace(/&/g,"&")},getAnchorText:function(){var e=this.getUrl();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix&&(e=this.stripUrlPrefix(e)),e=this.removeTrailingSlash(e)},stripUrlPrefix:function(e){return e.replace(this.urlPrefixRegex,"")},stripProtocolRelativePrefix:function(e){return e.replace(this.protocolRelativeRegex,"")},removeTrailingSlash:function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e}}),e})},{}],52:[function(e,r){"use strict";r.exports=e("./lib/")},{"./lib/":11}]},{},[52])(52)}); \ No newline at end of file +},{}],2:[function(e,r){"use strict";var t={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(e){t[e]=!0}),r.exports=t},{}],3:[function(e,r){"use strict";function t(e,r){return e=e.source,r=r||"",function t(n,s){return n?(s=s.source,e=e.replace(n,s),t):new RegExp(e,r)}}var n=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,s=/[^"'=<>`\x00-\x20]+/,i=/'[^']*'/,o=/"[^"]*"/,l=t(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",s)("single_quoted",i)("double_quoted",o)(),a=t(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",n)("attr_value",l)(),c=t(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",a)(),u=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,p=//,h=/<[?].*?[?]>/,f=/]*>/,d=//,g=t(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",c)("close_tag",u)("comment",p)("processing",h)("declaration",f)("cdata",d)();r.exports.HTML_TAG_RE=g},{}],4:[function(e,r){"use strict";r.exports=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"]},{}],5:[function(e,r,t){"use strict";function n(e){return Object.prototype.toString.call(e)}function s(e){return"[object String]"===n(e)}function i(e,r){return _.call(e,r)}function o(e){var r=Array.prototype.slice.call(arguments,1);return r.forEach(function(r){if(r){if("object"!=typeof r)throw new TypeError(r+"must be object");Object.keys(r).forEach(function(t){e[t]=r[t]})}}),e}function l(e,r,t){return[].concat(e.slice(0,r),t,e.slice(r+1))}function a(e){return e.indexOf("\\")<0?e:e.replace(x,"$1")}function c(e){return e>=55296&&57343>=e?!1:e>=64976&&65007>=e?!1:65535===(65535&e)||65534===(65535&e)?!1:e>=0&&8>=e?!1:11===e?!1:e>=14&&31>=e?!1:e>=127&&159>=e?!1:e>1114111?!1:!0}function u(e){if(e>65535){e-=65536;var r=55296+(e>>10),t=56320+(1023&e);return String.fromCharCode(r,t)}return String.fromCharCode(e)}function p(e,r){var t=0;return i(q,r)?q[r]:35===r.charCodeAt(0)&&w.test(r)&&(t="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10),c(t))?u(t):e}function h(e){return e.indexOf("&")<0?e:e.replace(A,p)}function f(e){return S[e]}function d(e){return C.test(e)?e.replace(E,f):e}function g(e,r,t){var n=e.charCodeAt(0);return n>=55296&&56319>=n?r>=t.length-1?"\ufffd":(n=t.charCodeAt(r+1),56320>n||n>57343?"\ufffd":e):0===r?"\ufffd":(n=t.charCodeAt(r-1),55552>n||n>56319?"\ufffd":e)}function m(e){return D.test(e)?e.replace(M,g):e}function b(e){var r=h(e);try{r=decodeURI(r)}catch(t){}return encodeURI(m(r))}function v(e){return e.replace(L,"\\$&")}function k(e){if(e>=8192&&8202>=e)return!0;switch(e){case 9:case 10:case 13:case 12:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function y(e){return T.test(e)}var _=Object.prototype.hasOwnProperty,x=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,A=/&([a-z#][a-z0-9]{1,31});/gi,w=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,q=e("./entities"),C=/[&<>"]/,E=/[&<>"]/g,S={"&":"&","<":"<",">":">",'"':"""},D=/[\uD800-\uDFFF]/,M=/[\uD800-\uDFFF]/g,L=/[.?*+^$[\]\\(){}|-]/g,T=/[\x21-\x23\x25-\x2A\x2C-\x2F\x3A\x3B\x3F\x40\x5B-\x5D\x5F\x7B\x7D\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\u0AF0\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-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\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]/;t.assign=o,t.isString=s,t.has=i,t.unescapeMd=a,t.isValidEntityCode=c,t.fromCodePoint=u,t.replaceEntities=h,t.escapeHtml=d,t.arrayReplaceAt=l,t.normalizeLink=b,t.isWhiteSpace=k,t.isPunctChar=y,t.escapeRE=v},{"./entities":1}],6:[function(e,r,t){"use strict";t.parseLinkLabel=e("./parse_link_label"),t.parseLinkDestination=e("./parse_link_destination"),t.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":8,"./parse_link_label":9,"./parse_link_title":10}],7:[function(e,r){"use strict";r.exports=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},{}],8:[function(e,r){"use strict";var t=e("../common/utils").normalizeLink,n=e("../common/utils").unescapeMd;r.exports=function(e,r,s){var i,o,l=0,a=r,c={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(r)){for(r++;s>r;){if(i=e.charCodeAt(r),10===i)return c;if(62===i)return c.pos=r+1,c.str=t(n(e.slice(a+1,r))),c.ok=!0,c;92===i&&s>r+1?r+=2:r++}return c}for(o=0;s>r&&(i=e.charCodeAt(r),32!==i)&&!(32>i||127===i);)if(92===i&&s>r+1)r+=2;else{if(40===i&&(o++,o>1))break;if(41===i&&(o--,0>o))break;r++}return a===r?c:(c.str=t(n(e.slice(a,r))),c.lines=l,c.pos=r,c.ok=!0,c)}},{"../common/utils":5}],9:[function(e,r){"use strict";r.exports=function(e,r,t){var n,s,i,o,l=-1,a=e.posMax,c=e.pos;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=r+1,n=1;e.pos=n)return a;if(i=e.charCodeAt(r),34!==i&&39!==i&&40!==i)return a;for(r++,40===i&&(i=41);n>r;){if(s=e.charCodeAt(r),s===i)return a.pos=r+1,a.lines=o,a.str=t(e.slice(l+1,r)),a.ok=!0,a;10===s?o++:92===s&&n>r+1&&(r++,10===e.charCodeAt(r)&&o++),r++}return a}},{"../common/utils":5}],11:[function(e,r){"use strict";function t(e,r){return this instanceof t?(r||n.isString(e)||(r=e||{},e="default"),this.inline=new a,this.block=new l,this.core=new o,this.renderer=new i,this.utils=n,this.helpers=s,this.options={},this.configure(e),void(r&&this.set(r))):new t(e,r)}var n=e("./common/utils"),s=e("./helpers"),i=e("./renderer"),o=e("./parser_core"),l=e("./parser_block"),a=e("./parser_inline"),c={"default":e("./presets/default"),zero:e("./presets/zero"),commonmark:e("./presets/commonmark")};t.prototype.set=function(e){return n.assign(this.options,e),this},t.prototype.configure=function(e){var r,t=this;if(n.isString(e)&&(r=e,e=c[r],!e))throw new Error('Wrong `markdown-it` preset "'+r+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules)}),this},t.prototype.enable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.enable(e,!0))},this);var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},t.prototype.disable=function(e,r){var t=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){t=t.concat(this[r].ruler.disable(e,!0))},this);var n=e.filter(function(e){return t.indexOf(e)<0});if(n.length&&!r)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},t.prototype.use=function(e){var r=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,r),this},t.prototype.parse=function(e,r){var t=new this.core.State(e,this,r);return this.core.process(t),t.tokens},t.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)},t.prototype.parseInline=function(e,r){var t=new this.core.State(e,this,r);return t.inlineMode=!0,this.core.process(t),t.tokens},t.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)},r.exports=t},{"./common/utils":5,"./helpers":6,"./parser_block":12,"./parser_core":13,"./parser_inline":14,"./presets/commonmark":15,"./presets/default":16,"./presets/zero":17,"./renderer":18}],12:[function(e,r){"use strict";function t(){this.ruler=new n;for(var e=0;el&&(e.line=l=e.skipEmptyLines(l),!(l>=t))&&!(e.tShift[l]=c){e.line=t;break}for(s=0;o>s&&!(n=i[s](e,l,t,!1));s++);if(e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),l=e.line,t>l&&e.isEmpty(l)){if(a=!0,l++,t>l&&"list"===e.parentType&&e.isEmpty(l))break;e.line=l}}},t.prototype.parse=function(e,r,t,n){var s;return e?(s=new this.State(e,r,t,n),void this.tokenize(s,s.line,s.lineMax)):[]},t.prototype.State=e("./rules_block/state_block"),r.exports=t},{"./ruler":19,"./rules_block/blockquote":20,"./rules_block/code":21,"./rules_block/fence":22,"./rules_block/heading":23,"./rules_block/hr":24,"./rules_block/html_block":25,"./rules_block/lheading":26,"./rules_block/list":27,"./rules_block/paragraph":28,"./rules_block/reference":29,"./rules_block/state_block":30,"./rules_block/table":31}],13:[function(e,r){"use strict";function t(){this.ruler=new n;for(var e=0;er;r++)n[r](e)},t.prototype.State=e("./rules_core/state_core"),r.exports=t},{"./ruler":19,"./rules_core/block":32,"./rules_core/inline":33,"./rules_core/linkify":34,"./rules_core/normalize":35,"./rules_core/replacements":36,"./rules_core/smartquotes":37,"./rules_core/state_core":38}],14:[function(e,r){"use strict";function t(e){var r=e.trim().toLowerCase();return r=i(r),r.indexOf(":")>=0&&l.indexOf(r.split(":")[0])>=0?!1:!0}function n(){this.validateLink=t,this.ruler=new s;for(var e=0;e0)return void(e.pos=t);if(e.levelr;r++)if(s[r](e,!0))return void e.cacheSet(n,e.pos);e.pos++}else e.pos=e.max;e.cacheSet(n,e.pos)},n.prototype.tokenize=function(e){for(var r,t,n=this.ruler.getRules(""),s=n.length,i=e.posMax,o=e.md.options.maxNesting;e.pos=o){e.pos=i;break}for(t=0;s>t&&!(r=n[t](e,!1));t++);if(r){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},n.prototype.parse=function(e,r,t,n){var s=new this.State(e,r,t,n);this.tokenize(s)},n.prototype.State=e("./rules_inline/state_inline"),r.exports=n},{"./common/utils":5,"./ruler":19,"./rules_inline/autolink":39,"./rules_inline/backticks":40,"./rules_inline/emphasis":41,"./rules_inline/entity":42,"./rules_inline/escape":43,"./rules_inline/html_inline":44,"./rules_inline/image":45,"./rules_inline/link":46,"./rules_inline/newline":47,"./rules_inline/state_inline":48,"./rules_inline/strikethrough":49,"./rules_inline/text":50}],15:[function(e,r){"use strict";r.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"]}}}},{}],16:[function(e,r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}}},{}],17:[function(e,r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"]}}}},{}],18:[function(e,r){"use strict";function t(){this.rules=n({},l)}var n=e("./common/utils").assign,s=e("./common/utils").unescapeMd,i=e("./common/utils").replaceEntities,o=e("./common/utils").escapeHtml,l={};l.blockquote_open=function(){return"
      \n"},l.blockquote_close=function(){return"
      \n"},l.code_block=function(e,r){return"
      "+o(e[r].content)+"
      \n"},l.code_inline=function(e,r){return""+o(e[r].content)+""},l.fence=function(e,r,t){var n,l=e[r],a="",c=t.langPrefix,u="";return l.params&&(u=o(i(s(l.params.split(/\s+/g)[0]))),a=' class="'+c+u+'"'),n=t.highlight?t.highlight(l.content,u)||o(l.content):o(l.content),"
      "+n+"
      \n"},l.heading_open=function(e,r){return""},l.heading_close=function(e,r){return"\n"},l.hr=function(e,r,t){return t.xhtmlOut?"
      \n":"
      \n"},l.bullet_list_open=function(){return"
        \n"},l.bullet_list_close=function(){return"
      \n"},l.list_item_open=function(e,r){var t=e[r+1];return"list_item_close"===t.type||"paragraph_open"===t.type&&t.tight?"
    1. ":"
    2. \n"},l.list_item_close=function(){return"
    3. \n"},l.ordered_list_open=function(e,r){return e[r].order>1?'
        \n':"
          \n"},l.ordered_list_close=function(){return"
        \n"},l.paragraph_open=function(e,r){return e[r].tight?"":"

        "},l.paragraph_close=function(e,r){return e[r].tight===!0?e[r-1].content?"close"===e[r+1].type.slice(-5)?"":"\n":"":"

        \n"},l.link_open=function(e,r){var t=e[r].title?' title="'+o(i(e[r].title))+'"':"",n=e[r].target?' target="'+o(e[r].target)+'"':"";return'"},l.link_close=function(){return""},l.image=function(e,r,t,n,s){var l=' src="'+o(e[r].src)+'"',a=e[r].title?' title="'+o(i(e[r].title))+'"':"",c=' alt="'+s.renderInlineAsText(e[r].tokens,t,n)+'"',u=t.xhtmlOut?" /":"";return""},l.table_open=function(){return"\n"},l.table_close=function(){return"
        \n"},l.thead_open=function(){return"\n"},l.thead_close=function(){return"\n"},l.tbody_open=function(){return"\n"},l.tbody_close=function(){return"\n"},l.tr_open=function(){return""},l.tr_close=function(){return"\n"},l.th_open=function(e,r){return e[r].align?'':""},l.th_close=function(){return""},l.td_open=function(e,r){return e[r].align?'':""},l.td_close=function(){return""},l.strong_open=function(){return""},l.strong_close=function(){return""},l.em_open=function(){return""},l.em_close=function(){return""},l.s_open=function(){return""},l.s_close=function(){return""},l.hardbreak=function(e,r,t){return t.xhtmlOut?"
        \n":"
        \n"},l.softbreak=function(e,r,t){return t.breaks?t.xhtmlOut?"
        \n":"
        \n":"\n"},l.text=function(e,r){return o(e[r].content)},l.html_block=function(e,r){return e[r].content},l.html_inline=function(e,r){return e[r].content},t.prototype.renderInline=function(e,r,t){for(var n="",s=this.rules,i=0,o=e.length;o>i;i++)n+=s[e[i].type](e,i,r,t,this);return n},t.prototype.renderInlineAsText=function(e,r,t){for(var n="",s=this.rules,i=0,o=e.length;o>i;i++)"text"===e[i].type?n+=s.text(e,i,r,t,this):"image"===e[i].type&&(n+=this.renderInlineAsText(e[i].tokens,r,t));return n},t.prototype.render=function(e,r,t){var n,s,i="",o=this.rules;for(n=0,s=e.length;s>n;n++)i+="inline"===e[n].type?this.renderInline(e[n].children,r,t):o[e[n].type](e,n,r,t,this);return i},r.exports=t},{"./common/utils":5}],19:[function(e,r){"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var r=0;rn){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!0,t.push(e)},this),this.__cache__=null,t},t.prototype.enableOnly=function(e,r){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,r)},t.prototype.disable=function(e,r){Array.isArray(e)||(e=[e]);var t=[];return e.forEach(function(e){var n=this.__find__(e);if(0>n){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[n].enabled=!1,t.push(e)},this),this.__cache__=null,t},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},r.exports=t},{}],20:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l,a,c,u,p,h,f,d,g=e.bMarks[r]+e.tShift[r],m=e.eMarks[r];if(g>m)return!1;if(62!==e.src.charCodeAt(g++))return!1;if(n)return!0;for(32===e.src.charCodeAt(g)&&g++,a=e.blkIndent,e.blkIndent=0,l=[e.bMarks[r]],e.bMarks[r]=g,g=m>g?e.skipSpaces(g):g,i=g>=m,o=[e.tShift[r]],e.tShift[r]=g-e.bMarks[r],p=e.md.block.ruler.getRules("blockquote"),s=r+1;t>s&&(g=e.bMarks[s]+e.tShift[s],m=e.eMarks[s],!(g>=m));s++)if(62!==e.src.charCodeAt(g++)){if(i)break;for(d=!1,h=0,f=p.length;f>h;h++)if(p[h](e,s,t,!0)){d=!0;break}if(d)break;l.push(e.bMarks[s]),o.push(e.tShift[s]),e.tShift[s]=-1337}else 32===e.src.charCodeAt(g)&&g++,l.push(e.bMarks[s]),e.bMarks[s]=g,g=m>g?e.skipSpaces(g):g,i=g>=m,o.push(e.tShift[s]),e.tShift[s]=g-e.bMarks[s];for(c=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:u=[r,0],level:e.level++}),e.md.block.tokenize(e,r,s),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=c,u[1]=e.line,h=0;hn;)if(e.isEmpty(n))n++;else{if(!(e.tShift[n]-e.blkIndent>=4))break;n++,s=n}return e.line=n,e.tokens.push({type:"code_block",content:e.getLines(r,s,4+e.blkIndent,!0),lines:[r,e.line],level:e.level}),!0}},{}],22:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l,a,c=!1,u=e.bMarks[r]+e.tShift[r],p=e.eMarks[r];if(u+3>p)return!1;if(s=e.src.charCodeAt(u),126!==s&&96!==s)return!1;if(a=u,u=e.skipChars(u,s),i=u-a,3>i)return!1;if(o=e.src.slice(u,p).trim(),o.indexOf("`")>=0)return!1;if(n)return!0;for(l=r;(l++,!(l>=t))&&(u=a=e.bMarks[l]+e.tShift[l],p=e.eMarks[l],!(p>u&&e.tShift[l]=4||(u=e.skipChars(u,s),i>u-a||(u=e.skipSpaces(u),p>u)))){c=!0;break}return i=e.tShift[r],e.line=l+(c?1:0),e.tokens.push({type:"fence",params:o,content:e.getLines(r+1,l,i,!0),lines:[r,e.line],level:e.level}),!0}},{}],23:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(l>=a)return!1;if(s=e.src.charCodeAt(l),35!==s||l>=a)return!1;for(i=1,s=e.src.charCodeAt(++l);35===s&&a>l&&6>=i;)i++,s=e.src.charCodeAt(++l);return i>6||a>l&&32!==s?!1:n?!0:(a=e.skipCharsBack(a,32,l),o=e.skipCharsBack(a,35,l),o>l&&32===e.src.charCodeAt(o-1)&&(a=o),e.line=r+1,e.tokens.push({type:"heading_open",hLevel:i,lines:[r,e.line],level:e.level}),a>l&&e.tokens.push({type:"inline",content:e.src.slice(l,a).trim(),level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:i,level:e.level}),!0)}},{}],24:[function(e,r){"use strict";r.exports=function(e,r,t,n){var s,i,o,l=e.bMarks[r],a=e.eMarks[r];if(l+=e.tShift[r],l>a)return!1;if(s=e.src.charCodeAt(l++),42!==s&&45!==s&&95!==s)return!1;for(i=1;a>l;){if(o=e.src.charCodeAt(l++),o!==s&&32!==o)return!1;o===s&&i++}return 3>i?!1:n?!0:(e.line=r+1,e.tokens.push({type:"hr",lines:[r,e.line],level:e.level}),!0)}},{}],25:[function(e,r){"use strict";function t(e){var r=32|e;return r>=97&&122>=r}var n=e("../common/html_blocks"),s=/^<([a-zA-Z]{1,15})[\s\/>]/,i=/^<\/([a-zA-Z]{1,15})[\s>]/;r.exports=function(e,r,o,l){var a,c,u,p=e.bMarks[r],h=e.eMarks[r],f=e.tShift[r];if(p+=f,!e.md.options.html)return!1;if(f>3||p+2>=h)return!1;if(60!==e.src.charCodeAt(p))return!1;if(a=e.src.charCodeAt(p+1),33===a||63===a){if(l)return!0}else{if(47!==a&&!t(a))return!1;if(47===a){if(c=e.src.slice(p,h).match(i),!c)return!1}else if(c=e.src.slice(p,h).match(s),!c)return!1;if(n[c[1].toLowerCase()]!==!0)return!1;if(l)return!0}for(u=r+1;u=t?!1:e.tShift[o]3?!1:(s=e.bMarks[o]+e.tShift[o],i=e.eMarks[o],s>=i?!1:(n=e.src.charCodeAt(s),45!==n&&61!==n?!1:(s=e.skipChars(s,n),s=e.skipSpaces(s),i>s?!1:(s=e.bMarks[r]+e.tShift[r],e.line=o+1,e.tokens.push({type:"heading_open",hLevel:61===n?1:2,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(s,e.eMarks[r]).trim(),level:e.level+1,lines:[r,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:61===n?1:2,level:e.level}),!0))))}},{}],27:[function(e,r){"use strict";function t(e,r){var t,n,s;return n=e.bMarks[r]+e.tShift[r],s=e.eMarks[r],n>=s?-1:(t=e.src.charCodeAt(n++),42!==t&&45!==t&&43!==t?-1:s>n&&32!==e.src.charCodeAt(n)?-1:n)}function n(e,r){var t,n=e.bMarks[r]+e.tShift[r],s=e.eMarks[r];if(n+1>=s)return-1;if(t=e.src.charCodeAt(n++),48>t||t>57)return-1;for(;;){if(n>=s)return-1;if(t=e.src.charCodeAt(n++),!(t>=48&&57>=t)){if(41===t||46===t)break;return-1}}return s>n&&32!==e.src.charCodeAt(n)?-1:n}function s(e,r){var t,n,s=e.level+2;for(t=r+2,n=e.tokens.length-2;n>t;t++)e.tokens[t].level===s&&"paragraph_open"===e.tokens[t].type&&(e.tokens[t+2].tight=!0,e.tokens[t].tight=!0,t+=2)}r.exports=function(e,r,i,o){var l,a,c,u,p,h,f,d,g,m,b,v,k,y,_,x,A,w,q,C,E,S,D=!0;if((d=n(e,r))>=0)k=!0;else{if(!((d=t(e,r))>=0))return!1;k=!1}if(v=e.src.charCodeAt(d-1),o)return!0;for(_=e.tokens.length,k?(f=e.bMarks[r]+e.tShift[r],b=Number(e.src.substr(f,d-f-1)),e.tokens.push({type:"ordered_list_open",order:b,lines:A=[r,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:A=[r,0],level:e.level++}),l=r,x=!1,q=e.md.block.ruler.getRules("list");!(!(i>l)||(y=e.skipSpaces(d),g=e.eMarks[l],m=y>=g?1:y-d,m>4&&(m=1),1>m&&(m=1),a=d-e.bMarks[l]+m,e.tokens.push({type:"list_item_open",lines:w=[r,0],level:e.level++}),u=e.blkIndent,p=e.tight,c=e.tShift[r],h=e.parentType,e.tShift[r]=y-e.bMarks[r],e.blkIndent=a,e.tight=!0,e.parentType="list",e.md.block.tokenize(e,r,i,!0),(!e.tight||x)&&(D=!1),x=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=u,e.tShift[r]=c,e.tight=p,e.parentType=h,e.tokens.push({type:"list_item_close",level:--e.level}),l=r=e.line,w[1]=l,y=e.bMarks[r],l>=i)||e.isEmpty(l)||e.tShift[l]C;C++)if(q[C](e,l,i,!0)){S=!0;break}if(S)break;if(k){if(d=n(e,l),0>d)break}else if(d=t(e,l),0>d)break;if(v!==e.src.charCodeAt(d-1))break}return e.tokens.push({type:k?"ordered_list_close":"bullet_list_close",level:--e.level}),A[1]=l,e.line=l,D&&s(e,_),!0}},{}],28:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i,o,l,a=r+1;if(t=e.lineMax,t>a&&!e.isEmpty(a))for(l=e.md.block.ruler.getRules("paragraph");t>a&&!e.isEmpty(a);a++)if(!(e.tShift[a]-e.blkIndent>3)){for(s=!1,i=0,o=l.length;o>i;i++)if(l[i](e,a,t,!0)){s=!0;break}if(s)break}return n=e.getLines(r,a,e.blkIndent,!1).trim(),e.line=a,n.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:n,level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}},{}],29:[function(e,r){"use strict";var t=e("../helpers/parse_link_destination"),n=e("../helpers/parse_link_title"),s=e("../helpers/normalize_reference");r.exports=function(e,r,i,o){var l,a,c,u,p,h,f,d,g,m,b,v,k,y,_,x=0,A=e.bMarks[r]+e.tShift[r],w=e.eMarks[r],q=r+1;if(A>=w)return!1;if(91!==e.src.charCodeAt(A))return!1;if(u=e.lineMax,u>q&&!e.isEmpty(q))for(y=e.md.block.ruler.getRules("references");u>q&&!e.isEmpty(q);q++)if(!(e.tShift[q]-e.blkIndent>3)){for(k=!1,h=0,f=y.length;f>h;h++)if(y[h](e,q,u,!0)){k=!0;break}if(k)break}for(v=e.getLines(r,q,e.blkIndent,!1).trim(),w=v.length,A=1;w>A;A++){if(l=v.charCodeAt(A),91===l)return!1;if(93===l){g=A;break}10===l?x++:92===l&&(A++,w>A&&10===v.charCodeAt(A)&&x++)}if(0>g||58!==v.charCodeAt(g+1))return!1;for(A=g+2;w>A;A++)if(l=v.charCodeAt(A),10===l)x++;else if(32!==l)break;if(m=t(v,A,w),!m.ok)return!1;if(!e.md.inline.validateLink(m.str))return!1;for(p=m.str,A=m.pos,x+=m.lines,a=A,c=x,b=A;w>A;A++)if(l=v.charCodeAt(A),10===l)x++;else if(32!==l)break;for(m=n(v,A,w),w>A&&b!==A&&m.ok?(_=m.str,A=m.pos,x+=m.lines):(_="",A=a,x=c);w>A&&32===v.charCodeAt(A);)A++;return w>A&&10!==v.charCodeAt(A)?!1:o?!0:(d=s(v.slice(1,g)),"undefined"==typeof e.env.references&&(e.env.references={}),"undefined"==typeof e.env.references[d]&&(e.env.references[d]={title:_,href:p}),e.line=r+x+1,!0)}},{"../helpers/normalize_reference":7,"../helpers/parse_link_destination":8,"../helpers/parse_link_title":10}],30:[function(e,r){"use strict";function t(e,r,t,n){var s,i,o,l,a,c,u;for(this.src=e,this.md=r,this.env=t,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",i=this.src,c=0,u=!1,o=l=c=0,a=i.length;a>l;l++){if(s=i.charCodeAt(l),!u){if(32===s){c++;continue}u=!0}(10===s||l===a-1)&&(10!==s&&l++,this.bMarks.push(o),this.eMarks.push(l),this.tShift.push(c),u=!1,c=0,o=l+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}t.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},t.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;r>e&&!(this.bMarks[e]+this.tShift[e]e&&32===this.src.charCodeAt(e);e++);return e},t.prototype.skipChars=function(e,r){for(var t=this.src.length;t>e&&this.src.charCodeAt(e)===r;e++);return e},t.prototype.skipCharsBack=function(e,r,t){if(t>=e)return e;for(;e>t;)if(r!==this.src.charCodeAt(--e))return e+1;return e},t.prototype.getLines=function(e,r,t,n){var s,i,o,l,a,c=e;if(e>=r)return"";if(c+1===r)return i=this.bMarks[c]+Math.min(this.tShift[c],t),o=n?this.bMarks[r]:this.eMarks[r-1],this.src.slice(i,o);for(l=new Array(r-e),s=0;r>c;c++,s++)a=this.tShift[c],a>t&&(a=t),0>a&&(a=0),i=this.bMarks[c]+a,o=r>c+1||n?this.eMarks[c]+1:this.eMarks[c],l[s]=this.src.slice(i,o);return l.join("")},r.exports=t},{}],31:[function(e,r){"use strict";function t(e,r){var t=e.bMarks[r]+e.blkIndent,n=e.eMarks[r];return e.src.substr(t,n-t)}r.exports=function(e,r,n,s){var i,o,l,a,c,u,p,h,f,d;if(r+2>n)return!1;if(c=r+1,e.tShift[c]=e.eMarks[c])return!1;if(i=e.src.charCodeAt(l),124!==i&&45!==i&&58!==i)return!1;if(o=t(e,r+1),!/^[-:| ]+$/.test(o))return!1;if(u=o.split("|"),2>=u)return!1;for(p=[],a=0;ac&&!(e.tShift[c]t;t++)r=s[t],"inline"===r.type&&e.md.inline.parse(r.content,e.md,e.env,r.children)}},{}],34:[function(e,r){"use strict";function t(e){return/^\s]/i.test(e)}function n(e){return/^<\/a\s*>/i.test(e)}function s(){var e=[],r=new i({stripPrefix:!1,url:!0,email:!0,twitter:!1,replaceFn:function(r,t){switch(t.getType()){case"url":e.push({text:t.matchedText,url:t.getUrl()});break;case"email":e.push({text:t.matchedText,url:"mailto:"+t.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:e,autolinker:r}}var i=e("autolinker"),o=e("../common/utils").arrayReplaceAt,l=/www|@|\:\/\//;r.exports=function(e){var r,i,a,c,u,p,h,f,d,g,m,b,v,k=e.tokens,y=null;if(e.md.options.linkify)for(i=0,a=k.length;a>i;i++)if("inline"===k[i].type)for(c=k[i].children,m=0,r=c.length-1;r>=0;r--)if(u=c[r],"link_close"!==u.type){if("html_inline"===u.type&&(t(u.content)&&m>0&&m--,n(u.content)&&m++),!(m>0)&&"text"===u.type&&l.test(u.content)){if(y||(y=s(),b=y.links,v=y.autolinker),p=u.content,b.length=0,v.link(p),!b.length)continue;for(h=[],g=u.level,f=0;f=0&&(i=0,o=0,r=r.replace(t,function(e,t){var n;return 10===r.charCodeAt(t)?(i=t+1,o=0,e):(n=" ".slice((t-i-o)%4),o=t-i+1,n)})),e.src=r)}},{}],36:[function(e,r){"use strict";function t(e){return e.indexOf("(")<0?e:e.replace(s,function(e,r){return i[r.toLowerCase()]})}var n=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/gi,i={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};r.exports=function(e){var r,s,i,o,l;if(e.md.options.typographer)for(l=e.tokens.length-1;l>=0;l--)if("inline"===e.tokens[l].type)for(o=e.tokens[l].children,r=o.length-1;r>=0;r--)s=o[r],"text"===s.type&&(i=s.content,i=t(i),n.test(i)&&(i=i.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1\u2014$2").replace(/(^|\s)--(\s|$)/gm,"$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1\u2013$2")),s.content=i)}},{}],37:[function(e,r){"use strict";function t(e,r){return 0>r||r>=e.length?!1:!o.test(e[r])}function n(e,r,t){return e.substr(0,r)+t+e.substr(r+1)}var s=/['"]/,i=/['"]/g,o=/[-\s()\[\]]/,l="\u2019";r.exports=function(e){var r,o,a,c,u,p,h,f,d,g,m,b,v,k,y,_,x;if(e.md.options.typographer)for(x=[],y=e.tokens.length-1;y>=0;y--)if("inline"===e.tokens[y].type)for(_=e.tokens[y].children,x.length=0,r=0;r<_.length;r++)if(o=_[r],"text"===o.type&&!s.test(o.text)){for(h=_[r].level,v=x.length-1;v>=0&&!(x[v].level<=h);v--);x.length=v+1,a=o.content,u=0,p=a.length;e:for(;p>u&&(i.lastIndex=u,c=i.exec(a));)if(f=!t(a,c.index-1),u=c.index+1,k="'"===c[0],d=!t(a,u),d||f){if(m=!d,b=!f)for(v=x.length-1;v>=0&&(g=x[v],!(x[v].level/,i=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;r.exports=function(e,r){var o,l,a,c,u,p=e.pos;return 60!==e.src.charCodeAt(p)?!1:(o=e.src.slice(p),o.indexOf(">")<0?!1:(l=o.match(i))?t.indexOf(l[1].toLowerCase())<0?!1:(c=l[0].slice(1,-1),u=n(c),e.md.inline.validateLink(c)?(r||(e.push({type:"link_open",href:u,target:"",level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=l[0].length,!0):!1):(a=o.match(s),a?(c=a[0].slice(1,-1),u=n("mailto:"+c),e.md.inline.validateLink(u)?(r||(e.push({type:"link_open",href:u,target:"",level:e.level}),e.push({type:"text",content:c,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=a[0].length,!0):!1):!1))}},{"../common/url_schemas":4,"../common/utils":5}],40:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i,o,l=e.pos,a=e.src.charCodeAt(l);if(96!==a)return!1;for(t=l,l++,n=e.posMax;n>l&&96===e.src.charCodeAt(l);)l++;for(s=e.src.slice(t,l),i=o=l;-1!==(i=e.src.indexOf("`",o));){for(o=i+1;n>o&&96===e.src.charCodeAt(o);)o++;if(o-i===s.length)return r||e.push({type:"code_inline",content:e.src.slice(l,i).replace(/[ \n]+/g," ").trim(),level:e.level}),e.pos=o,!0}return r||(e.pending+=s),e.pos+=s.length,!0}},{}],41:[function(e,r){"use strict";function t(e){return e>=48&&57>=e||e>=65&&90>=e||e>=97&&122>=e}function n(e,r){var n,o,l,a,c,u,p,h=r,f=!0,d=!0,g=e.posMax,m=e.src.charCodeAt(r);for(n=r>0?e.src.charCodeAt(r-1):-1;g>h&&e.src.charCodeAt(h)===m;)h++;return h>=g&&(f=!1),l=h-r,o=g>h?e.src.charCodeAt(h):-1,c=n>=0&&i(String.fromCharCode(n)),p=o>=0&&i(String.fromCharCode(o)),a=n>=0&&s(n),u=o>=0&&s(o),u?f=!1:p&&(a||c||-1===n||(f=!1)),a?d=!1:c&&(u||p||-1===o||(d=!1)),95===m&&(t(n)&&(f=!1),t(o)&&(d=!1)),{can_open:f,can_close:d,delims:l}}var s=e("../common/utils").isWhiteSpace,i=e("../common/utils").isPunctChar;r.exports=function(e,r){var t,s,i,o,l,a,c,u=e.posMax,p=e.pos,h=e.src.charCodeAt(p);if(95!==h&&42!==h)return!1;if(r)return!1;if(c=n(e,p),t=c.delims,!c.can_open)return e.pos+=t,e.pending+=e.src.slice(p,e.pos),!0;for(e.pos=p+t,a=[t];e.posl){a.push(o-l);break}if(l-=o,0===a.length)break;e.pos+=o,o=a.pop()}if(0===a.length){t=o,i=!0;break}e.pos+=s;continue}c.can_open&&a.push(s),e.pos+=s}if(!i)return e.pos=p,!1;for(e.posMax=e.pos,e.pos=p+t,s=t;s>1;s-=2)e.push({type:"strong_open",level:e.level++});for(s%2&&e.push({type:"em_open",level:e.level++}),e.md.inline.tokenize(e),s%2&&e.push({type:"em_close",level:--e.level}),s=t;s>1;s-=2)e.push({type:"strong_close",level:--e.level});return e.pos=e.posMax+t,e.posMax=u,!0}},{"../common/utils":5}],42:[function(e,r){"use strict";var t=e("../common/entities"),n=e("../common/utils").has,s=e("../common/utils").isValidEntityCode,i=e("../common/utils").fromCodePoint,o=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;r.exports=function(e,r){var a,c,u,p=e.pos,h=e.posMax;if(38!==e.src.charCodeAt(p))return!1;if(h>p+1)if(a=e.src.charCodeAt(p+1),35===a){if(u=e.src.slice(p).match(o))return r||(c="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=i(s(c)?c:65533)),e.pos+=u[0].length,!0}else if(u=e.src.slice(p).match(l),u&&n(t,u[1]))return r||(e.pending+=t[u[1]]),e.pos+=u[0].length,!0;return r||(e.pending+="&"),e.pos++,!0}},{"../common/entities":1,"../common/utils":5}],43:[function(e,r){"use strict";for(var t=[],n=0;256>n;n++)t.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){t[e.charCodeAt(0)]=1}),r.exports=function(e,r){var n,s=e.pos,i=e.posMax;if(92!==e.src.charCodeAt(s))return!1;if(s++,i>s){if(n=e.src.charCodeAt(s),256>n&&0!==t[n])return r||(e.pending+=e.src[s]),e.pos+=2,!0;if(10===n){for(r||e.push({type:"hardbreak",level:e.level}),s++;i>s&&32===e.src.charCodeAt(s);)s++;return e.pos=s,!0}}return r||(e.pending+="\\"),e.pos++,!0}},{}],44:[function(e,r){"use strict";function t(e){var r=32|e;return r>=97&&122>=r}var n=e("../common/html_re").HTML_TAG_RE,s=/^$/;r.exports=function(e,r){var i,o,l,a,c=e.pos;return e.md.options.html?(l=e.posMax,60!==e.src.charCodeAt(c)||c+2>=l?!1:(i=e.src.charCodeAt(c+1),(33===i||63===i||47===i||t(i))&&(o=e.src.slice(c).match(n))?(a=e.src.slice(c,c+o[0].length),s.test(a)&&/(^>|^->|--|-$)/.test(a.slice(4,-3))?!1:(r||e.push({type:"html_inline",content:a,level:e.level}),e.pos+=o[0].length,!0)):!1)):!1}},{"../common/html_re":3}],45:[function(e,r){"use strict";var t=e("../helpers/parse_link_label"),n=e("../helpers/parse_link_destination"),s=e("../helpers/parse_link_title"),i=e("../helpers/normalize_reference");r.exports=function(e,r){var o,l,a,c,u,p,h,f,d,g,m,b=e.pos,v=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(u=e.pos+2,c=t(e,e.pos+1,!1),0>c)return!1;if(p=c+1,v>p&&40===e.src.charCodeAt(p)){for(p++;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(p>=v)return!1;for(m=p,f=n(e.src,p,e.posMax),f.ok&&e.md.inline.validateLink(f.str)?(l=f.str,p=f.pos):l="",m=p;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(f=s(e.src,p,e.posMax),v>p&&m!==p&&f.ok)for(d=f.str,p=f.pos;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);else d="";if(p>=v||41!==e.src.charCodeAt(p))return e.pos=b,!1;p++}else{if("undefined"==typeof e.env.references)return!1;for(;v>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(v>p&&91===e.src.charCodeAt(p)?(m=p+1,p=t(e,p),p>=0?a=e.src.slice(m,p++):p=c+1):p=c+1,a||(a=e.src.slice(u,c)),h=e.env.references[i(a)],!h)return e.pos=b,!1;l=h.href,d=h.title}if(!r){e.pos=u,e.posMax=c;var k=new e.md.inline.State(e.src.slice(u,c),e.md,e.env,g=[]);k.md.inline.tokenize(k),e.push({type:"image",src:l,title:d,tokens:g,level:e.level})}return e.pos=p,e.posMax=v,!0}},{"../helpers/normalize_reference":7,"../helpers/parse_link_destination":8,"../helpers/parse_link_label":9,"../helpers/parse_link_title":10}],46:[function(e,r){"use strict";var t=e("../helpers/parse_link_label"),n=e("../helpers/parse_link_destination"),s=e("../helpers/parse_link_title"),i=e("../helpers/normalize_reference");r.exports=function(e,r){var o,l,a,c,u,p,h,f,d,g=e.pos,m=e.posMax,b=e.pos;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,c=t(e,e.pos,!0),0>c)return!1;if(p=c+1,m>p&&40===e.src.charCodeAt(p)){for(p++;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(p>=m)return!1;for(b=p,h=n(e.src,p,e.posMax),h.ok&&e.md.inline.validateLink(h.str)?(l=h.str,p=h.pos):l="",b=p;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(h=s(e.src,p,e.posMax),m>p&&b!==p&&h.ok)for(d=h.str,p=h.pos;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);else d="";if(p>=m||41!==e.src.charCodeAt(p))return e.pos=g,!1;p++}else{if("undefined"==typeof e.env.references)return!1;for(;m>p&&(o=e.src.charCodeAt(p),32===o||10===o);p++);if(m>p&&91===e.src.charCodeAt(p)?(b=p+1,p=t(e,p),p>=0?a=e.src.slice(b,p++):p=c+1):p=c+1,a||(a=e.src.slice(u,c)),f=e.env.references[i(a)],!f)return e.pos=g,!1;l=f.href,d=f.title}return r||(e.pos=u,e.posMax=c,e.push({type:"link_open",href:l,target:"",title:d,level:e.level++}),e.md.inline.tokenize(e),e.push({type:"link_close",level:--e.level})),e.pos=p,e.posMax=m,!0}},{"../helpers/normalize_reference":7,"../helpers/parse_link_destination":8,"../helpers/parse_link_label":9,"../helpers/parse_link_title":10}],47:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;for(t=e.pending.length-1,n=e.posMax,r||(t>=0&&32===e.pending.charCodeAt(t)?t>=1&&32===e.pending.charCodeAt(t-1)?(e.pending=e.pending.replace(/ +$/,""),e.push({type:"hardbreak",level:e.level})):(e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level})):e.push({type:"softbreak",level:e.level})),s++;n>s&&32===e.src.charCodeAt(s);)s++;return e.pos=s,!0}},{}],48:[function(e,r){"use strict";function t(e,r,t,n){this.src=e,this.env=t,this.md=r,this.tokens=n,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.labelUnmatchedScopes=0}t.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},t.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level},t.prototype.cacheSet=function(e,r){for(var t=this.cache.length;e>=t;t++)this.cache.push(0);this.cache[e]=r},t.prototype.cacheGet=function(e){return e0?e.src.charCodeAt(r-1):-1;a>i&&e.src.charCodeAt(i)===c;)i++;return i>=a&&(o=!1),s=i-r,n=a>i?e.src.charCodeAt(i):-1,(32===n||10===n)&&(o=!1),(32===t||10===t)&&(l=!1),{can_open:o,can_close:l,delims:s}}r.exports=function(e,r){var n,s,i,o,l,a,c=e.posMax,u=e.pos,p=e.src.charCodeAt(u);if(126!==p)return!1;if(r)return!1;if(a=t(e,u),n=a.delims,!a.can_open)return e.pos+=n,e.pending+=e.src.slice(u,e.pos),!0;if(l=Math.floor(n/2),0>=l)return!1;for(e.pos=u+n;e.pos=l){e.pos+=s-2,o=!0;break}l-=i,e.pos+=s;continue}a.can_open&&(l+=i),e.pos+=s}return o?(e.posMax=e.pos,e.pos=u+2,e.push({type:"s_open",level:e.level++}),e.md.inline.tokenize(e),e.push({type:"s_close",level:--e.level}),e.pos=e.posMax+2,e.posMax=c,!0):(e.pos=u,!1)}},{}],50:[function(e,r){"use strict";function t(e){switch(e){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 35:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}r.exports=function(e,r){for(var n=e.pos;nl;l++){var c=n[l],u=t.processTextNode(c);o.push(u)}else o.push(r)}}),o.join("")},getHtmlParser:function(){var r=this.htmlParser;return r||(r=this.htmlParser=new e.HtmlParser),r},getTagBuilder:function(){var r=this.tagBuilder;return r||(r=this.tagBuilder=new e.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),r},processTextNode:function(e){var r=this;return e.replace(this.matcherRegex,function(e,t,n,s,i,o,l,a,c){var u=r.processCandidateMatch(e,t,n,s,i,o,l,a,c);if(u){var p=r.createMatchReturnVal(u.match,u.matchStr);return u.prefixStr+p+u.suffixStr}return e})},processCandidateMatch:function(r,t,n,s,i,o,l,a,c){var u,p=a||c,h="",f="";if(t&&!this.twitter||i&&!this.email||o&&!this.urls||!this.matchValidator.isValidMatch(o,l,p))return null;if(this.matchHasUnbalancedClosingParen(r)&&(r=r.substr(0,r.length-1),f=")"),i)u=new e.match.Email({matchedText:r,email:i});else if(t)n&&(h=n,r=r.slice(1)),u=new e.match.Twitter({matchedText:r,twitterHandle:s});else{if(p){var d=p.match(this.charBeforeProtocolRelMatchRegex)[1]||"";d&&(h=d,r=r.slice(1))}u=new e.match.Url({matchedText:r,url:r,protocolUrlMatch:!!l,protocolRelativeMatch:!!p,stripPrefix:this.stripPrefix})}return{prefixStr:h,suffixStr:f,matchStr:r,match:u}},matchHasUnbalancedClosingParen:function(e){var r=e.charAt(e.length-1);if(")"===r){var t=e.match(/\(/g),n=e.match(/\)/g),s=t&&t.length||0,i=n&&n.length||0;if(i>s)return!0}return!1},createMatchReturnVal:function(r,t){var n;if(this.replaceFn&&(n=this.replaceFn.call(this,this,r)),"string"==typeof n)return n;if(n===!1)return t;if(n instanceof e.HtmlTag)return n.toString();var s=this.getTagBuilder(),i=s.build(r);return i.toString()}},e.link=function(r,t){var n=new e(t);return n.link(r)},e.match={},e.Util={abstractMethod:function(){throw"abstract"},assign:function(e,r){for(var t in r)r.hasOwnProperty(t)&&(e[t]=r[t]);return e},extend:function(r,t){var n=r.prototype,s=function(){};s.prototype=n;var i;i=t.hasOwnProperty("constructor")?t.constructor:function(){n.constructor.apply(this,arguments)};var o=i.prototype=new s;return o.constructor=i,o.superclass=n,delete t.constructor,e.Util.assign(o,t),i},ellipsis:function(e,r,t){return e.length>r&&(t=null==t?"..":t,e=e.substring(0,r-t.length)+t),e},indexOf:function(e,r){if(Array.prototype.indexOf)return e.indexOf(r);for(var t=0,n=e.length;n>t;t++)if(e[t]===r)return t;return-1},splitAndCapture:function(e,r){if(!r.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var t,n=[],s=0;t=r.exec(e);)n.push(e.substring(s,t.index)),n.push(t[0]),s=t.index+t[0].length;return n.push(e.substring(s)),n}},e.HtmlParser=e.Util.extend(Object,{htmlRegex:function(){var e=/[0-9a-zA-Z][0-9a-zA-Z:]*/,r=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,t=/(?:".*?"|'.*?'|[^'"=<>`\s]+)/,n=r.source+"(?:\\s*=\\s*"+t.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",n,"|",t.source+")",")*",">",")","|","(?:","<(/)?","("+e.source+")","(?:","\\s+",n,")*","\\s*/?",">",")"].join(""),"gi")}(),parse:function(e,r){r=r||{};for(var t,n=r.processHtmlNode||function(){},s=r.processTextNode||function(){},i=this.htmlRegex,o=0;null!==(t=i.exec(e));){var l=t[0],a=t[1]||t[3],c=!!t[2],u=e.substring(o,t.index);u&&s(u),n(l,a.toLowerCase(),c),o=t.index+l.length}if(o",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var e=this.getAttrs(),r=[];for(var t in e)e.hasOwnProperty(t)&&r.push(t+'="'+e[t]+'"');return r.join(" ")}}),e.MatchValidator=e.Util.extend(Object,{invalidProtocolRelMatchRegex:/^[\w]\/\//,hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]+:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]+:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z]/,isValidMatch:function(e,r,t){return r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(e,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,r)||this.isInvalidProtocolRelativeMatch(t)?!1:!0},isValidUriScheme:function(e){var r=e.match(this.uriSchemeRegex)[0];return"javascript:"!==r&&"vbscript:"!==r},urlMatchDoesNotHaveProtocolOrDot:function(e,r){return!(!e||r&&this.hasFullProtocolRegex.test(r)||-1!==e.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(e,r){return e&&r?!this.hasWordCharAfterProtocolRegex.test(e):!1},isInvalidProtocolRelativeMatch:function(e){return!!e&&this.invalidProtocolRelMatchRegex.test(e)}}),e.AnchorTagBuilder=e.Util.extend(Object,{constructor:function(r){e.Util.assign(this,r)},build:function(r){var t=new e.HtmlTag({tagName:"a",attrs:this.createAttrs(r.getType(),r.getAnchorHref()),innerHtml:this.processAnchorText(r.getAnchorText())});return t},createAttrs:function(e,r){var t={href:r},n=this.createCssClass(e);return n&&(t["class"]=n),this.newWindow&&(t.target="_blank"),t},createCssClass:function(e){var r=this.className;return r?r+" "+r+"-"+e:""},processAnchorText:function(e){return e=this.doTruncate(e)},doTruncate:function(r){return e.Util.ellipsis(r,this.truncate||Number.POSITIVE_INFINITY)}}),e.match.Match=e.Util.extend(Object,{constructor:function(r){e.Util.assign(this,r)},getType:e.Util.abstractMethod,getMatchedText:function(){return this.matchedText},getAnchorHref:e.Util.abstractMethod,getAnchorText:e.Util.abstractMethod}),e.match.Email=e.Util.extend(e.match.Match,{getType:function(){return"email"},getEmail:function(){return this.email},getAnchorHref:function(){return"mailto:"+this.email},getAnchorText:function(){return this.email}}),e.match.Twitter=e.Util.extend(e.match.Match,{getType:function(){return"twitter"},getTwitterHandle:function(){return this.twitterHandle},getAnchorHref:function(){return"https://twitter.com/"+this.twitterHandle},getAnchorText:function(){return"@"+this.twitterHandle}}),e.match.Url=e.Util.extend(e.match.Match,{urlPrefixRegex:/^(https?:\/\/)?(www\.)?/i,protocolRelativeRegex:/^\/\//,protocolPrepended:!1,getType:function(){return"url"},getUrl:function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},getAnchorHref:function(){var e=this.getUrl();return e.replace(/&/g,"&")},getAnchorText:function(){var e=this.getUrl();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix&&(e=this.stripUrlPrefix(e)),e=this.removeTrailingSlash(e)},stripUrlPrefix:function(e){return e.replace(this.urlPrefixRegex,"")},stripProtocolRelativePrefix:function(e){return e.replace(this.protocolRelativeRegex,"")},removeTrailingSlash:function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e}}),e})},{}],52:[function(e,r){"use strict";r.exports=e("./lib/")},{"./lib/":11}]},{},[52])(52)}); \ No newline at end of file