Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed
https://markdown-it.github.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4 lines
86 KiB
4 lines
86 KiB
/*! remarkable 1.4.1 https://github.com//jonschlinkert/remarkable @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.Remarkable=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<n.length;o++)s(n[o]);return s}({1:[function(e,r){"use strict";r.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒","in":"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬","int":"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}},{}],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||s,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=/<![A-Z]+\s+[^>]*>/,g=/<!\[CDATA\[([^\]]+|\][^\]]|\]\][^>])*\]\]>/,d=t(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",c)("close_tag",u)("comment",p)("processing",h)("declaration",f)("cdata",g)();r.exports.HTML_TAG_RE=d},{}],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){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 o(e){return e.indexOf("\\")<0?e:e.replace(p,"$1")}function l(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 a(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 c(e,r){var t=0;return g.hasOwnProperty(r)?g[r]:35===r.charCodeAt(0)&&f.test(r)&&(t="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10),l(t))?a(t):e}function u(e){return e.indexOf("&")<0?e:e.replace(h,c)}var p=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,h=/&([a-z#][a-z0-9]{1,31});/gi,f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,g=e("./entities");t.assign=i,t.isString=s,t.unescapeMd=o,t.isValidEntityCode=l,t.fromCodePoint=a,t.replaceEntities=u},{"./entities":1}],6:[function(e,r){"use strict";r.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}},{}],7:[function(e,r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","linkify","smartquotes","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","htmltag","links","newline","text"]}}}},{}],8:[function(e,r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}}},{}],9:[function(e,r){"use strict";var t=e("../common/utils").replaceEntities;r.exports=function(e){var r=t(e);try{r=decodeURI(r)}catch(n){}return encodeURI(r)}},{"../common/utils":5}],10:[function(e,r){"use strict";r.exports=function(e){return e.trim().replace(/\s+/g," ").toLowerCase()}},{}],11:[function(e,r){"use strict";var t=e("./normalize_link"),n=e("../common/utils").unescapeMd;r.exports=function(e,r){var s,i,o,l=r,a=e.posMax;if(60===e.src.charCodeAt(r)){for(r++;a>r;){if(s=e.src.charCodeAt(r),10===s)return!1;if(62===s)return o=t(n(e.src.slice(l+1,r))),e.parser.validateLink(o)?(e.pos=r+1,e.linkContent=o,!0):!1;92===s&&a>r+1?r+=2:r++}return!1}for(i=0;a>r&&(s=e.src.charCodeAt(r),32!==s)&&!(32>s||127===s);)if(92===s&&a>r+1)r+=2;else{if(40===s&&(i++,i>1))break;if(41===s&&(i--,0>i))break;r++}return l===r?!1:(o=t(n(e.src.slice(l,r))),e.parser.validateLink(o)?(e.linkContent=o,e.pos=r,!0):!1)}},{"../common/utils":5,"./normalize_link":9}],12:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i=-1,o=e.posMax,l=e.pos,a=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=r+1,e.isInLabel=!0,t=1;e.pos<o;){if(s=e.src.charCodeAt(e.pos),91===s)t++;else if(93===s&&(t--,0===t)){n=!0;break}e.parser.skipToken(e)
|
|
}return n?(i=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=t-1,e.pos=l,e.isInLabel=a,i}},{}],13:[function(e,r){"use strict";var t=e("../common/utils").unescapeMd;r.exports=function(e,r){var n,s=r,i=e.posMax,o=e.src.charCodeAt(r);if(34!==o&&39!==o&&40!==o)return!1;for(r++,40===o&&(o=41);i>r;){if(n=e.src.charCodeAt(r),n===o)return e.pos=r+1,e.linkContent=t(e.src.slice(s+1,r)),!0;92===n&&i>r+1?r+=2:r++}return!1}},{"../common/utils":5}],14:[function(e,r){"use strict";function t(e,r,t){this.src=r,this.env=t,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function n(e,r){r||i(e)||(r=e||{},e="default"),this.inline=new c,this.block=new a,this.core=new l,this.renderer=new o,this.ruler=new u,this.options={},this.configure(p[e]),r&&this.set(r)}var s=e("./common/utils").assign,i=e("./common/utils").isString,o=e("./renderer"),l=e("./parser_core"),a=e("./parser_block"),c=e("./parser_inline"),u=e("./ruler"),p={"default":e("./configs/default"),full:e("./configs/full"),commonmark:e("./configs/commonmark")};n.prototype.set=function(e){s(this.options,e)},n.prototype.configure=function(e){var r=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&r[t].ruler.enable(e.components[t].rules,!0)})},n.prototype.use=function(e,r){return e(this,r),this},n.prototype.parse=function(e,r){var n=new t(this,e,r);return this.core.process(n),n.tokens},n.prototype.render=function(e,r){return r=r||{},this.renderer.render(this.parse(e,r),this.options,r)},n.prototype.parseInline=function(e,r){var n=new t(this,e,r);return n.inlineMode=!0,this.core.process(n),n.tokens},n.prototype.renderInline=function(e,r){return r=r||{},this.renderer.render(this.parseInline(e,r),this.options,r)},r.exports=n},{"./common/utils":5,"./configs/commonmark":6,"./configs/default":7,"./configs/full":8,"./parser_block":15,"./parser_core":16,"./parser_inline":17,"./renderer":18,"./ruler":19}],15:[function(e,r){"use strict";function t(){this.ruler=new n;for(var e=0;e<i.length;e++)this.ruler.push(i[e][0],i[e][1],{alt:(i[e][2]||[]).slice()})}var n=e("./ruler"),s=e("./rules_block/state_block"),i=[["code",e("./rules_block/code")],["fences",e("./rules_block/fences"),["paragraph","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","blockquote","list"]],["hr",e("./rules_block/hr"),["paragraph","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","blockquote"]],["heading",e("./rules_block/heading"),["paragraph","blockquote"]],["lheading",e("./rules_block/lheading")],["htmlblock",e("./rules_block/htmlblock"),["paragraph","blockquote"]],["table",e("./rules_block/table"),["paragraph"]],["paragraph",e("./rules_block/paragraph")]];t.prototype.tokenize=function(e,r,t){for(var n,s,i=this.ruler.getRules(""),o=i.length,l=r,a=!1;t>l&&(e.line=l=e.skipEmptyLines(l),!(l>=t))&&!(e.tShift[l]<e.blkIndent);){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}}};var o=/[\n\t]/g,l=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,a=/\u00a0/g;t.prototype.parse=function(e,r,t,n){var i,c=0,u=0;return e?(e=e.replace(a," "),e=e.replace(l,"\n"),e.indexOf(" ")>=0&&(e=e.replace(o,function(r,t){var n;return 10===e.charCodeAt(t)?(c=t+1,u=0,r):(n=" ".slice((t-c-u)%4),u=t-c+1,n)})),i=new s(e,this,r,t,n),void this.tokenize(i,i.line,i.lineMax)):[]},r.exports=t},{"./ruler":19,"./rules_block/blockquote":20,"./rules_block/code":21,"./rules_block/fences":22,"./rules_block/heading":23,"./rules_block/hr":24,"./rules_block/htmlblock":25,"./rules_block/lheading":26,"./rules_block/list":27,"./rules_block/paragraph":28,"./rules_block/state_block":29,"./rules_block/table":30}],16:[function(e,r){"use strict";function t(){this.options={},this.ruler=new n;for(var e=0;e<s.length;e++)this.ruler.push(s[e][0],s[e][1])}var n=e("./ruler"),s=[["block",e("./rules_core/block")],["abbr",e("./rules_core/abbr")],["references",e("./rules_core/references")],["inline",e("./rules_core/inline")],["abbr2",e("./rules_core/abbr2")],["replacements",e("./rules_core/replacements")],["smartquotes",e("./rules_core/smartquotes")],["linkify",e("./rules_core/linkify")]];t.prototype.process=function(e){var r,t,n;for(n=this.ruler.getRules(""),r=0,t=n.length;t>r;r++)n[r](e)},r.exports=t},{"./ruler":19,"./rules_core/abbr":31,"./rules_core/abbr2":32,"./rules_core/block":33,"./rules_core/inline":34,"./rules_core/linkify":35,"./rules_core/references":36,"./rules_core/replacements":37,"./rules_core/smartquotes":38}],17:[function(e,r){"use strict";function t(e){var r=e.trim().toLowerCase();return r=o(r),r.indexOf(":")>=0&&a.indexOf(r.split(":")[0])>=0?!1:!0}function n(){this.validateLink=t,this.ruler=new s;for(var e=0;e<l.length;e++)this.ruler.push(l[e][0],l[e][1])}var s=e("./ruler"),i=e("./rules_inline/state_inline"),o=e("./common/utils").replaceEntities,l=[["text",e("./rules_inline/text")],["newline",e("./rules_inline/newline")],["escape",e("./rules_inline/escape")],["backticks",e("./rules_inline/backticks")],["del",e("./rules_inline/del")],["ins",e("./rules_inline/ins")],["mark",e("./rules_inline/mark")],["emphasis",e("./rules_inline/emphasis")],["sub",e("./rules_inline/sub")],["sup",e("./rules_inline/sup")],["links",e("./rules_inline/links")],["autolink",e("./rules_inline/autolink")],["htmltag",e("./rules_inline/htmltag")],["entity",e("./rules_inline/entity")]],a=["vbscript","javascript","file"];n.prototype.skipToken=function(e){var r,t,n=e.pos,s=this.ruler.getRules(""),i=s.length;if((t=e.cacheGet(n))>0)return void(e.pos=t);for(r=0;i>r;r++)if(s[r](e,!0))return void e.cacheSet(n,e.pos);e.pos++,e.cacheSet(n,e.pos)},n.prototype.tokenize=function(e){for(var r,t,n=this.ruler.getRules(""),s=n.length,i=e.posMax;e.pos<i;){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 i(e,this,r,t,n);this.tokenize(s)},r.exports=n},{"./common/utils":5,"./ruler":19,"./rules_inline/autolink":39,"./rules_inline/backticks":40,"./rules_inline/del":41,"./rules_inline/emphasis":42,"./rules_inline/entity":43,"./rules_inline/escape":44,"./rules_inline/htmltag":45,"./rules_inline/ins":46,"./rules_inline/links":47,"./rules_inline/mark":48,"./rules_inline/newline":49,"./rules_inline/state_inline":50,"./rules_inline/sub":51,"./rules_inline/sup":52,"./rules_inline/text":53}],18:[function(e,r){"use strict";function t(e){return h[e]}function n(e){return u.test(e)?e.replace(p,t):e}function s(e,r){return++r>=e.length-2?r:"paragraph_open"===e[r].type&&e[r].tight&&"inline"===e[r+1].type&&0===e[r+1].content.length&&"paragraph_close"===e[r+2].type&&e[r+2].tight?s(e,r+2):r}function i(e,r){return r=s(e,r),r<e.length&&"list_item_close"===e[r].type?"":"\n"}function o(){this.rules=l({},f)}var l=e("./common/utils").assign,a=e("./common/utils").unescapeMd,c=e("./common/utils").replaceEntities,u=/[&<>"]/,p=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""},f={};f.blockquote_open=function(){return"<blockquote>\n"},f.blockquote_close=function(e,r){return"</blockquote>"+i(e,r)},f.code=function(e,r){return e[r].block?"<pre><code>"+n(e[r].content)+"</code></pre>"+i(e,r):"<code>"+n(e[r].content)+"</code>"},f.fence=function(e,r,t){var s,o,l=e[r],u="",p=t.langPrefix,h="";return l.params&&(s=l.params.split(/ +/g),h=n(c(a(s[0]))),u=' class="'+p+h+'"'),o=t.highlight?t.highlight(l.content,h)||n(l.content):n(l.content),"<pre><code"+u+">"+o+"</code></pre>"+i(e,r)},f.heading_open=function(e,r){return"<h"+e[r].hLevel+">"},f.heading_close=function(e,r){return"</h"+e[r].hLevel+">\n"},f.hr=function(e,r,t){return(t.xhtmlOut?"<hr />":"<hr>")+i(e,r)},f.bullet_list_open=function(){return"<ul>\n"},f.bullet_list_close=function(e,r){return"</ul>"+i(e,r)},f.list_item_open=function(){return"<li>"},f.list_item_close=function(){return"</li>\n"},f.ordered_list_open=function(e,r){var t=e[r];return"<ol"+(t.order>1?' start="'+t.order+'"':"")+">\n"},f.ordered_list_close=function(e,r){return"</ol>"+i(e,r)},f.paragraph_open=function(e,r){return e[r].tight?"":"<p>"},f.paragraph_close=function(e,r){var t=!(e[r].tight&&r&&"inline"===e[r-1].type&&!e[r-1].content);return(e[r].tight?"":"</p>")+(t?i(e,r):"")},f.link_open=function(e,r){var t=e[r].title?' title="'+n(c(e[r].title))+'"':"";return'<a href="'+n(e[r].href)+'"'+t+">"},f.link_close=function(){return"</a>"},f.image=function(e,r,t){var s=' src="'+n(e[r].src)+'"',i=e[r].title?' title="'+n(c(e[r].title))+'"':"",o=' alt="'+(e[r].alt?n(c(e[r].alt)):"")+'"',l=t.xhtmlOut?" /":"";return"<img"+s+o+i+l+">"},f.table_open=function(){return"<table>\n"},f.table_close=function(){return"</table>\n"},f.thead_open=function(){return"<thead>\n"},f.thead_close=function(){return"</thead>\n"},f.tbody_open=function(){return"<tbody>\n"},f.tbody_close=function(){return"</tbody>\n"},f.tr_open=function(){return"<tr>"},f.tr_close=function(){return"</tr>\n"},f.th_open=function(e,r){var t=e[r];return"<th"+(t.align?' style="text-align:'+t.align+'"':"")+">"},f.th_close=function(){return"</th>"},f.td_open=function(e,r){var t=e[r];return"<td"+(t.align?' style="text-align:'+t.align+'"':"")+">"},f.td_close=function(){return"</td>"},f.strong_open=function(){return"<strong>"},f.strong_close=function(){return"</strong>"},f.em_open=function(){return"<em>"},f.em_close=function(){return"</em>"},f.del_open=function(){return"<del>"},f.del_close=function(){return"</del>"},f.ins_open=function(){return"<ins>"},f.ins_close=function(){return"</ins>"},f.mark_open=function(){return"<mark>"},f.mark_close=function(){return"</mark>"},f.sub=function(e,r){return"<sub>"+n(e[r].content)+"</sub>"},f.sup=function(e,r){return"<sup>"+n(e[r].content)+"</sup>"},f.hardbreak=function(e,r,t){return t.xhtmlOut?"<br />\n":"<br>\n"},f.softbreak=function(e,r,t){return t.breaks?t.xhtmlOut?"<br />\n":"<br>\n":"\n"},f.text=function(e,r){return n(e[r].content)},f.htmlblock=function(e,r){return e[r].content},f.htmltag=function(e,r){return e[r].content},f.abbr_open=function(e,r){return'<abbr title="'+n(c(e[r].title))+'">'},f.abbr_close=function(){return"</abbr>"},o.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);return n},o.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);return i},r.exports=o},{"./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;r<this.rules.length;r++)if(this.rules[r].name===e)return r;return-1},t.prototype.at=function(e,r,t){var n=this.find(e),s=t||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.rules[n].fn=r,this.rules[n].alt=s.alt||[],this.cache=null},t.prototype.before=function(e,r,t,n){var s=this.find(e),i=n||{};if(-1===s)throw new Error("Parser rule not found: "+e);this.rules.splice(s,0,{name:r,enabled:!0,fn:t,alt:i.alt||[]}),this.cache=null},t.prototype.after=function(e,r,t,n){var s=this.find(e),i=n||{};if(-1===s)throw new Error("Parser rule not found: "+e);this.rules.splice(s+1,0,{name:r,enabled:!0,fn:t,alt:i.alt||[]}),this.cache=null},t.prototype.push=function(e,r,t){var n=t||{};this.rules.push({name:e,enabled:!0,fn:r,alt:n.alt||[]}),this.cache=null},t.prototype.enable=function(e,r){Array.isArray(e)||(e=[e]),r&&this.rules.forEach(function(e){e.enabled=!1}),e.forEach(function(e){var r=this.find(e);if(0>r)throw new Error("Rules manager: invalid rule name "+e);this.rules[r].enabled=!0},this),this.cache=null},t.prototype.disable=function(e){Array.isArray(e)||(e=[e]),e.forEach(function(e){var r=this.find(e);if(0>r)throw new Error("Rules manager: invalid rule name "+e);this.rules[r].enabled=!1},this),this.cache=null},t.prototype.compile=function(){var e=this,r=[""];e.rules.forEach(function(e){e.enabled&&e.alt.forEach(function(e){r.indexOf(e)<0&&r.push(e)})}),e.cache={},r.forEach(function(r){e.cache[r]=[],e.rules.forEach(function(t){t.enabled&&(r&&t.alt.indexOf(r)<0||e.cache[r].push(t.fn))})})},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,g,d=e.bMarks[r]+e.tShift[r],m=e.eMarks[r];if(d>m)return!1;if(62!==e.src.charCodeAt(d++))return!1;if(e.level>=e.options.maxNesting)return!1;if(n)return!0;for(32===e.src.charCodeAt(d)&&d++,a=e.blkIndent,e.blkIndent=0,l=[e.bMarks[r]],e.bMarks[r]=d,d=m>d?e.skipSpaces(d):d,i=d>=m,o=[e.tShift[r]],e.tShift[r]=d-e.bMarks[r],p=e.parser.ruler.getRules("blockquote"),s=r+1;t>s&&(d=e.bMarks[s]+e.tShift[s],m=e.eMarks[s],!(d>=m));s++)if(62!==e.src.charCodeAt(d++)){if(i)break;for(g=!1,h=0,f=p.length;f>h;h++)if(p[h](e,s,t,!0)){g=!0;break}if(g)break;l.push(e.bMarks[s]),o.push(e.tShift[s]),e.tShift[s]=-1337}else 32===e.src.charCodeAt(d)&&d++,l.push(e.bMarks[s]),e.bMarks[s]=d,d=m>d?e.skipSpaces(d):d,i=d>=m,o.push(e.tShift[s]),e.tShift[s]=d-e.bMarks[s];for(c=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:u=[r,0],level:e.level++}),e.parser.tokenize(e,r,s),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=c,u[1]=e.line,h=0;h<o.length;h++)e.bMarks[h+r]=l[h],e.tShift[h+r]=o[h];return e.blkIndent=a,!0}},{}],21:[function(e,r){"use strict";r.exports=function(e,r,t){var n,s;if(e.tShift[r]-e.blkIndent<4)return!1;for(s=n=r+1;t>n;)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",content:e.getLines(r,s,4+e.blkIndent,!0),block:!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]<e.blkIndent));)if(e.src.charCodeAt(u)===s&&!(e.tShift[l]-e.blkIndent>=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.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<e.lineMax&&!e.isEmpty(u);)u++;return e.line=u,e.tokens.push({type:"htmlblock",level:e.level,lines:[r,e.line],content:e.getLines(r,u,0,!0)}),!0}},{"../common/html_blocks":2}],26:[function(e,r){"use strict";r.exports=function(e,r,t){var n,s,i,o=r+1;return o>=t?!1:e.tShift[o]<e.blkIndent?!1:e.tShift[o]-e.blkIndent>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,g,d,m,b,v,k,y,x,w,A,q,_,C,E,S,L=!0;if((g=n(e,r))>=0)k=!0;else{if(!((g=t(e,r))>=0))return!1;k=!1}if(e.level>=e.options.maxNesting)return!1;if(v=e.src.charCodeAt(g-1),o)return!0;for(x=e.tokens.length,k?(f=e.bMarks[r]+e.tShift[r],b=Number(e.src.substr(f,g-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,w=!1,_=e.parser.ruler.getRules("list");!(!(i>l)||(y=e.skipSpaces(g),d=e.eMarks[l],m=y>=d?1:y-g,m>4&&(m=1),1>m&&(m=1),a=g-e.bMarks[l]+m,e.tokens.push({type:"list_item_open",lines:q=[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.parser.tokenize(e,r,i,!0),(!e.tight||w)&&(L=!1),w=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,q[1]=l,y=e.bMarks[r],l>=i)||e.isEmpty(l)||e.tShift[l]<e.blkIndent);){for(S=!1,C=0,E=_.length;E>C;C++)if(_[C](e,l,i,!0)){S=!0;break}if(S)break;if(k){if(g=n(e,l),0>g)break}else if(g=t(e,l),0>g)break;if(v!==e.src.charCodeAt(g-1))break}return e.tokens.push({type:k?"ordered_list_close":"bullet_list_close",level:--e.level}),A[1]=l,e.line=l,L&&s(e,x),!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.parser.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";function t(e,r,t,n,s){var i,o,l,a,c,u,p;for(this.src=e,this.parser=r,this.options=t,this.env=n,this.tokens=s,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.level=0,this.result="",o=this.src,u=0,p=!1,l=a=u=0,c=o.length;c>a;a++){if(i=o.charCodeAt(a),!p){if(32===i){u++;continue}p=!0}(10===i||a===c-1)&&(10!==i&&a++,this.bMarks.push(l),this.eMarks.push(a),this.tShift.push(u),p=!1,u=0,l=a+1)}this.bMarks.push(o.length),this.eMarks.push(o.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]<this.eMarks[e]);e++);return e},t.prototype.skipSpaces=function(e){for(var r=this.src.length;r>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},{}],30:[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,g;if(r+2>n)return!1;if(c=r+1,e.tShift[c]<e.blkIndent)return!1;if(l=e.bMarks[c]+e.tShift[c],l>=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;a<u.length;a++){if(h=u[a].trim(),!h){if(0===a||a===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(h))return!1;p.push(58===h.charCodeAt(h.length-1)?58===h.charCodeAt(0)?"center":"right":58===h.charCodeAt(0)?"left":"")}if(o=t(e,r).trim(),-1===o.indexOf("|"))return!1;if(u=o.replace(/^\||\|$/g,"").split("|"),p.length!==u.length)return!1;if(s)return!0;for(e.tokens.push({type:"table_open",lines:f=[r,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[r,r+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[r,r+1],level:e.level++}),a=0;a<u.length;a++)e.tokens.push({type:"th_open",align:p[a],lines:[r,r+1],level:e.level++}),e.tokens.push({type:"inline",content:u[a].trim(),lines:[r,r+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level});for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:g=[r+2,0],level:e.level++}),c=r+2;n>c&&!(e.tShift[c]<e.blkIndent)&&(o=t(e,c).trim(),-1!==o.indexOf("|"));c++){for(u=o.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),a=0;a<u.length;a++)e.tokens.push({type:"td_open",align:p[a],level:e.level++}),e.tokens.push({type:"inline",content:u[a].replace(/^\|? *| *\|?$/g,""),level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level});e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),f[1]=g[1]=c,e.line=c,!0}},{}],31:[function(e,r){"use strict";function t(e,r,t,i){var o,l,a,c,u,p;if(42!==e.charCodeAt(0))return-1;if(91!==e.charCodeAt(1))return-1;if(-1===e.indexOf("]:"))return-1;if(o=new n(e,r,t,i,[]),l=s(o,1),0>l||58!==e.charCodeAt(l+1))return-1;for(c=o.posMax,a=l+2;c>a&&10!==o.src.charCodeAt(a);a++);return u=e.slice(2,l),p=e.slice(l+2,a).trim(),0===p.length?-1:(i.abbreviations||(i.abbreviations={}),i.abbreviations[u]=i.abbreviations[u]||p,a)}var n=e("../rules_inline/state_inline"),s=e("../helpers/parse_link_label");r.exports=function(e){var r,n,s,i,o=e.tokens;if(!e.inlineMode)for(r=1,n=o.length-1;n>r;r++)if("paragraph_open"===o[r-1].type&&"inline"===o[r].type&&"paragraph_close"===o[r+1].type){for(s=o[r].content;s.length&&(i=t(s,e.inline,e.options,e.env),!(0>i));)s=s.slice(i).trim();o[r].content=s,s.length||(o[r-1].tight=!0,o[r+1].tight=!0)}}},{"../helpers/parse_link_label":12,"../rules_inline/state_inline":50}],32:[function(e,r){"use strict";function t(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var n=" \n()[]'\".,!?-";r.exports=function(e){var r,s,i,o,l,a,c,u,p,h,f,g,d=e.tokens;if(e.env.abbreviations)for(e.env.abbrRegExp||(g="(^|["+n.split("").map(t).join("")+"])("+Object.keys(e.env.abbreviations).sort(function(e,r){return r.length-e.length}).map(t).join("|")+")($|["+n.split("").map(t).join("")+"])",e.env.abbrRegExp=new RegExp(g,"g")),h=e.env.abbrRegExp,s=0,i=d.length;i>s;s++)if("inline"===d[s].type)for(o=d[s].children,r=o.length-1;r>=0;r--)if(l=o[r],"text"===l.type){for(u=0,a=l.content,h.lastIndex=0,p=l.level,c=[];f=h.exec(a);)h.lastIndex>u&&c.push({type:"text",content:a.slice(u,f.index+f[1].length),level:p}),c.push({type:"abbr_open",title:e.env.abbreviations[f[2]],level:p++}),c.push({type:"text",content:f[2],level:p}),c.push({type:"abbr_close",level:--p}),u=h.lastIndex-f[3].length;c.length&&(u<a.length&&c.push({type:"text",content:a.slice(u),level:p}),d[s].children=o=[].concat(o.slice(0,r),c,o.slice(r+1)))}}},{}],33:[function(e,r){"use strict";r.exports=function(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}},{}],34:[function(e,r){"use strict";r.exports=function(e){var r,t,n,s=e.tokens;for(t=0,n=s.length;n>t;t++)r=s[t],"inline"===r.type&&e.inline.parse(r.content,e.options,e.env,r.children)}},{}],35:[function(e,r){"use strict";function t(e){return/^<a[>\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=/www|@|\:\/\//;r.exports=function(e){var r,i,l,a,c,u,p,h,f,g,d,m,b,v=e.tokens,k=null;if(e.options.linkify)for(i=0,l=v.length;l>i;i++)if("inline"===v[i].type)for(a=v[i].children,d=0,r=a.length-1;r>=0;r--)if(c=a[r],"link_close"!==c.type){if("htmltag"===c.type&&(t(c.content)&&d>0&&d--,n(c.content)&&d++),!(d>0)&&"text"===c.type&&o.test(c.content)){if(k||(k=s(),m=k.links,b=k.autolinker),u=c.content,m.length=0,b.link(u),!m.length)continue;for(p=[],g=c.level,h=0;h<m.length;h++)e.inline.validateLink(m[h].url)&&(f=u.indexOf(m[h].text),f&&(g=g,p.push({type:"text",content:u.slice(0,f),level:g})),p.push({type:"link_open",href:m[h].url,title:"",level:g++}),p.push({type:"text",content:m[h].text,level:g}),p.push({type:"link_close",level:--g}),u=u.slice(f+m[h].text.length));u.length&&p.push({type:"text",content:u,level:g}),v[i].children=a=[].concat(a.slice(0,r),p,a.slice(r+1))}}else for(r--;a[r].level!==c.level&&"link_open"!==a[r].type;)r--}},{autolinker:54}],36:[function(e,r){"use strict";function t(e,r,t,a){var c,u,p,h,f,g,d,m,b;if(91!==e.charCodeAt(0))return-1;if(-1===e.indexOf("]:"))return-1;if(c=new n(e,r,t,a,[]),u=s(c,0),0>u||58!==e.charCodeAt(u+1))return-1;for(h=c.posMax,p=u+2;h>p&&(f=c.src.charCodeAt(p),32===f||10===f);p++);if(!i(c,p))return-1;for(d=c.linkContent,p=c.pos,g=p,p+=1;h>p&&(f=c.src.charCodeAt(p),32===f||10===f);p++);for(h>p&&g!==p&&o(c,p)?(m=c.linkContent,p=c.pos):(m="",p=g);h>p&&32===c.src.charCodeAt(p);)p++;return h>p&&10!==c.src.charCodeAt(p)?-1:(b=l(e.slice(1,u)),a.references[b]=a.references[b]||{title:m,href:d},p)}var n=e("../rules_inline/state_inline"),s=e("../helpers/parse_link_label"),i=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),l=e("../helpers/normalize_reference");r.exports=function(e){var r,n,s,i,o=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode)for(r=1,n=o.length-1;n>r;r++)if("inline"===o[r].type&&"paragraph_open"===o[r-1].type&&"paragraph_close"===o[r+1].type){for(s=o[r].content;s.length&&(i=t(s,e.inline,e.options,e.env),!(0>i));)s=s.slice(i).trim();o[r].content=s,s.length||(o[r-1].tight=!0,o[r+1].tight=!0)}}},{"../helpers/normalize_reference":10,"../helpers/parse_link_destination":11,"../helpers/parse_link_label":12,"../helpers/parse_link_title":13,"../rules_inline/state_inline":50}],37:[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:"©",r:"®",p:"§",tm:"™"};r.exports=function(e){var r,s,i,o,l;if(e.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,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),s.content=i)}},{}],38:[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="’";r.exports=function(e){var r,o,a,c,u,p,h,f,g,d,m,b,v,k,y,x,w;if(e.options.typographer)for(w=[],y=e.tokens.length-1;y>=0;y--)if("inline"===e.tokens[y].type)for(x=e.tokens[y].children,w.length=0,r=0;r<x.length;r++)if(o=x[r],"text"===o.type&&!s.test(o.text)){for(h=x[r].level,v=w.length-1;v>=0&&!(w[v].level<=h);v--);w.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],g=!t(a,u),g||f){if(m=!g,b=!f)for(v=w.length-1;v>=0&&(d=w[v],!(w[v].level<h));v--)if(d.single===k&&w[v].level===h){d=w[v],k?(x[d.token].content=n(x[d.token].content,d.pos,e.options.quotes[2]),o.content=n(o.content,c.index,e.options.quotes[3])):(x[d.token].content=n(x[d.token].content,d.pos,e.options.quotes[0]),o.content=n(o.content,c.index,e.options.quotes[1])),w.length=v;continue e}m?w.push({token:r,pos:c.index,single:k,level:h}):b&&k&&(o.content=n(o.content,c.index,l))}else k&&(o.content=n(o.content,c.index,l))}}},{}],39:[function(e,r){"use strict";var t=e("../common/url_schemas"),n=e("../helpers/normalize_link"),s=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,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.parser.validateLink(c)?(r||(e.push({type:"link_open",href:u,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.parser.validateLink(u)?(r||(e.push({type:"link_open",href:u,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,"../helpers/normalize_link":9}],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",content:e.src.slice(l,i).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=o,!0}return r||(e.pending+=s),e.pos+=s.length,!0}},{}],41:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i,o,l=e.posMax,a=e.pos;if(126!==e.src.charCodeAt(a))return!1;if(r)return!1;if(a+4>=l)return!1;if(126!==e.src.charCodeAt(a+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(i=a>0?e.src.charCodeAt(a-1):-1,o=e.src.charCodeAt(a+2),126===i)return!1;if(126===o)return!1;if(32===o||10===o)return!1;for(n=a+2;l>n&&126===e.src.charCodeAt(n);)n++;if(n>a+3)return e.pos+=n-a,r||(e.pending+=e.src.slice(a,n)),!0;for(e.pos=a+2,s=1;e.pos+1<l;){if(126===e.src.charCodeAt(e.pos)&&126===e.src.charCodeAt(e.pos+1)&&(i=e.src.charCodeAt(e.pos-1),o=e.pos+2<l?e.src.charCodeAt(e.pos+2):-1,126!==o&&126!==i&&(32!==i&&10!==i?s--:32!==o&&10!==o&&s++,0>=s))){t=!0;
|
|
break}e.parser.skipToken(e)}return t?(e.posMax=e.pos,e.pos=a+2,r||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=l,!0):(e.pos=a,!1)}},{}],42:[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,s,i,o=r,l=!0,a=!0,c=e.posMax,u=e.src.charCodeAt(r);for(n=r>0?e.src.charCodeAt(r-1):-1;c>o&&e.src.charCodeAt(o)===u;)o++;return o>=c&&(l=!1),i=o-r,i>=4?l=a=!1:(s=c>o?e.src.charCodeAt(o):-1,(32===s||10===s)&&(l=!1),(32===n||10===n)&&(a=!1),95===u&&(t(n)&&(l=!1),t(s)&&(a=!1))),{can_open:l,can_close:a,delims:i}}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,r||(e.pending+=e.src.slice(p,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=p+t,a=[t];e.pos<u;)if(e.src.charCodeAt(e.pos)!==h)e.parser.skipToken(e);else{if(c=n(e,e.pos),s=c.delims,c.can_close){for(o=a.pop(),l=s;o!==l;){if(o>l){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}return i?(e.posMax=e.pos,e.pos=p+t,r||((2===t||3===t)&&e.push({type:"strong_open",level:e.level++}),(1===t||3===t)&&e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),(1===t||3===t)&&e.push({type:"em_close",level:--e.level}),(2===t||3===t)&&e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+t,e.posMax=u,!0):(e.pos=p,!1)}},{}],43:[function(e,r){"use strict";var t=e("../common/entities"),n=e("../common/utils").isValidEntityCode,s=e("../common/utils").fromCodePoint,i=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;r.exports=function(e,r){var l,a,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(p>u+1)if(l=e.src.charCodeAt(u+1),35===l){if(c=e.src.slice(u).match(i))return r||(a="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=s(n(a)?a:65533)),e.pos+=c[0].length,!0}else if(c=e.src.slice(u).match(o),c&&t.hasOwnProperty(c[1]))return r||(e.pending+=t[c[1]]),e.pos+=c[0].length,!0;return r||(e.pending+="&"),e.pos++,!0}},{"../common/entities":1,"../common/utils":5}],44:[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}},{}],45:[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;r.exports=function(e,r){var s,i,o,l=e.pos;return e.options.html?(o=e.posMax,60!==e.src.charCodeAt(l)||l+2>=o?!1:(s=e.src.charCodeAt(l+1),(33===s||63===s||47===s||t(s))&&(i=e.src.slice(l).match(n))?(r||e.push({type:"htmltag",content:e.src.slice(l,l+i[0].length),level:e.level}),e.pos+=i[0].length,!0):!1)):!1}},{"../common/html_re":3}],46:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i,o,l=e.posMax,a=e.pos;if(43!==e.src.charCodeAt(a))return!1;if(r)return!1;if(a+4>=l)return!1;if(43!==e.src.charCodeAt(a+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(i=a>0?e.src.charCodeAt(a-1):-1,o=e.src.charCodeAt(a+2),43===i)return!1;if(43===o)return!1;if(32===o||10===o)return!1;for(n=a+2;l>n&&43===e.src.charCodeAt(n);)n++;if(n!==a+2)return e.pos+=n-a,r||(e.pending+=e.src.slice(a,n)),!0;for(e.pos=a+2,s=1;e.pos+1<l;){if(43===e.src.charCodeAt(e.pos)&&43===e.src.charCodeAt(e.pos+1)&&(i=e.src.charCodeAt(e.pos-1),o=e.pos+2<l?e.src.charCodeAt(e.pos+2):-1,43!==o&&43!==i&&(32!==i&&10!==i?s--:32!==o&&10!==o&&s++,0>=s))){t=!0;break}e.parser.skipToken(e)}return t?(e.posMax=e.pos,e.pos=a+2,r||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=l,!0):(e.pos=a,!1)}},{}],47:[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,g=!1,d=e.pos,m=e.posMax,b=e.pos,v=e.src.charCodeAt(b);if(33===v&&(g=!0,v=e.src.charCodeAt(++b)),91!==v)return!1;if(e.level>=e.options.maxNesting)return!1;if(o=b+1,l=t(e,b),0>l)return!1;if(p=l+1,m>p&&40===e.src.charCodeAt(p)){for(p++;m>p&&(f=e.src.charCodeAt(p),32===f||10===f);p++);if(p>=m)return!1;for(b=p,n(e,p)?(c=e.linkContent,p=e.pos):c="",b=p;m>p&&(f=e.src.charCodeAt(p),32===f||10===f);p++);if(m>p&&b!==p&&s(e,p))for(u=e.linkContent,p=e.pos;m>p&&(f=e.src.charCodeAt(p),32===f||10===f);p++);else u="";if(p>=m||41!==e.src.charCodeAt(p))return e.pos=d,!1;p++}else{if(e.linkLevel>0)return!1;for(;m>p&&(f=e.src.charCodeAt(p),32===f||10===f);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=b-1),a||(a=e.src.slice(o,l)),h=e.env.references[i(a)],!h)return e.pos=d,!1;c=h.href,u=h.title}return r||(e.pos=o,e.posMax=l,g?e.push({type:"image",src:c,title:u,alt:e.src.substr(o,l-o),level:e.level}):(e.push({type:"link_open",href:c,title:u,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=p,e.posMax=m,!0}},{"../helpers/normalize_reference":10,"../helpers/parse_link_destination":11,"../helpers/parse_link_label":12,"../helpers/parse_link_title":13}],48:[function(e,r){"use strict";r.exports=function(e,r){var t,n,s,i,o,l=e.posMax,a=e.pos;if(61!==e.src.charCodeAt(a))return!1;if(r)return!1;if(a+4>=l)return!1;if(61!==e.src.charCodeAt(a+1))return!1;if(e.level>=e.options.maxNesting)return!1;if(i=a>0?e.src.charCodeAt(a-1):-1,o=e.src.charCodeAt(a+2),61===i)return!1;if(61===o)return!1;if(32===o||10===o)return!1;for(n=a+2;l>n&&61===e.src.charCodeAt(n);)n++;if(n!==a+2)return e.pos+=n-a,r||(e.pending+=e.src.slice(a,n)),!0;for(e.pos=a+2,s=1;e.pos+1<l;){if(61===e.src.charCodeAt(e.pos)&&61===e.src.charCodeAt(e.pos+1)&&(i=e.src.charCodeAt(e.pos-1),o=e.pos+2<l?e.src.charCodeAt(e.pos+2):-1,61!==o&&61!==i&&(32!==i&&10!==i?s--:32!==o&&10!==o&&s++,0>=s))){t=!0;break}e.parser.skipToken(e)}return t?(e.posMax=e.pos,e.pos=a+2,r||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=l,!0):(e.pos=a,!1)}},{}],49:[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}},{}],50:[function(e,r){"use strict";function t(e,r,t,n,s){this.src=e,this.env=n,this.options=t,this.parser=r,this.tokens=s,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",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 e<this.cache.length?this.cache[e]:0},r.exports=t},{}],51:[function(e,r){"use strict";var t=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;r.exports=function(e,r){var n,s,i=e.posMax,o=e.pos;if(126!==e.src.charCodeAt(o))return!1;if(r)return!1;if(o+2>=i)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=o+1;e.pos<i;){if(126===e.src.charCodeAt(e.pos)){n=!0;break}e.parser.skipToken(e)}return n&&o+1!==e.pos?(s=e.src.slice(o+1,e.pos),s.match(/(^|[^\\])(\\\\)*\s/)?(e.pos=o,!1):(e.posMax=e.pos,e.pos=o+1,r||e.push({type:"sub",level:e.level,content:s.replace(t,"$1")}),e.pos=e.posMax+1,e.posMax=i,!0)):(e.pos=o,!1)}},{}],52:[function(e,r){"use strict";var t=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;r.exports=function(e,r){var n,s,i=e.posMax,o=e.pos;if(94!==e.src.charCodeAt(o))return!1;if(r)return!1;if(o+2>=i)return!1;if(e.level>=e.options.maxNesting)return!1;for(e.pos=o+1;e.pos<i;){if(94===e.src.charCodeAt(e.pos)){n=!0;break}e.parser.skipToken(e)}return n&&o+1!==e.pos?(s=e.src.slice(o+1,e.pos),s.match(/(^|[^\\])(\\\\)*\s/)?(e.pos=o,!1):(e.posMax=e.pos,e.pos=o+1,r||e.push({type:"sup",level:e.level,content:s.replace(t,"$1")}),e.pos=e.posMax+1,e.posMax=i,!0)):(e.pos=o,!1)}},{}],53:[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;n<e.posMax&&!t(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(r||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},{}],54:[function(r,t,n){!function(r,s){"function"==typeof e&&e.amd?e(s):"undefined"!=typeof n?t.exports=s():r.Autolinker=s()}(this,function(){var e=function(r){e.Util.assign(this,r)};return e.prototype={constructor:e,urls:!0,email:!0,twitter:!0,newWindow:!0,stripPrefix:!0,className:"",htmlCharacterEntitiesRegex:/( | |<|<|>|>)/gi,matcherRegex:function(){var e=/(^|[^\w])@(\w{1,15})/,r=/(?:[\-;:&=\+\$,\w\.]+@)/,t=/(?:[A-Za-z]{3,9}:(?:\/\/)?)/,n=/(?:www\.)/,s=/[A-Za-z0-9\.\-]*[A-Za-z0-9\-]/,i=/\.(?:international|construction|contractors|enterprises|photography|productions|foundation|immobilien|industries|management|properties|technology|christmas|community|directory|education|equipment|institute|marketing|solutions|vacations|bargains|boutique|builders|catering|cleaning|clothing|computer|democrat|diamonds|graphics|holdings|lighting|partners|plumbing|supplies|training|ventures|academy|careers|company|cruises|domains|exposed|flights|florist|gallery|guitars|holiday|kitchen|neustar|okinawa|recipes|rentals|reviews|shiksha|singles|support|systems|agency|berlin|camera|center|coffee|condos|dating|estate|events|expert|futbol|kaufen|luxury|maison|monash|museum|nagoya|photos|repair|report|social|supply|tattoo|tienda|travel|viajes|villas|vision|voting|voyage|actor|build|cards|cheap|codes|dance|email|glass|house|mango|ninja|parts|photo|shoes|solar|today|tokyo|tools|watch|works|aero|arpa|asia|best|bike|blue|buzz|camp|club|cool|coop|farm|fish|gift|guru|info|jobs|kiwi|kred|land|limo|link|menu|mobi|moda|name|pics|pink|post|qpon|rich|ruhr|sexy|tips|vote|voto|wang|wien|wiki|zone|bar|bid|biz|cab|cat|ceo|com|edu|gov|int|kim|mil|net|onl|org|pro|pub|red|tel|uno|wed|xxx|xyz|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw)\b/,o=/(?:[\-A-Za-z0-9+&@#\/%?=~_()|!:,.;]*[\-A-Za-z0-9+&@#\/%=~_()|])?/;return new RegExp(["(",e.source,")","|","(",r.source,s.source,i.source,")","|","(","(?:","(?:",t.source,s.source,")","|","(?:","(.?//)?",n.source,s.source,")","|","(?:","(.?//)?",s.source,i.source,")",")",o.source,")"].join(""),"gi")}(),invalidProtocolRelMatchRegex:/^[\w]\/\//,charBeforeProtocolRelMatchRegex:/^(.)?\/\//,link:function(r){var t=this,n=this.getHtmlParser(),s=this.htmlCharacterEntitiesRegex,i=0,o=[];return n.parse(r,{processHtmlNode:function(e,r,t){"a"===r&&(t?i=Math.max(i-1,0):i++),o.push(e)},processTextNode:function(r){if(0===i)for(var n=e.Util.splitAndCapture(r,s),l=0,a=n.length;a>l;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(r){var t=this,n=this.charBeforeProtocolRelMatchRegex;return r.replace(this.matcherRegex,function(r,s,i,o,l,a,c,u){var p,h=s,f=i,g=o,d=l,m=a,b=c||u,v="",k="";if(!t.isValidMatch(h,d,m,b))return r;if(t.matchHasUnbalancedClosingParen(r)&&(r=r.substr(0,r.length-1),k=")"),d)p=new e.match.Email({matchedText:r,email:d});else if(h)f&&(v=f,r=r.slice(1)),p=new e.match.Twitter({matchedText:r,twitterHandle:g});else{if(b){var y=b.match(n)[1]||"";y&&(v=y,r=r.slice(1))}p=new e.match.Url({matchedText:r,url:r,protocolRelativeMatch:b,stripPrefix:t.stripPrefix})}var x=t.createMatchReturnVal(p,r);return v+x+k})},isValidMatch:function(e,r,t,n){return e&&!this.twitter||r&&!this.email||t&&!this.urls||t&&-1===t.indexOf(".")||t&&/^[A-Za-z]{3,9}:/.test(t)&&!/:.*?[A-Za-z]/.test(t)||n&&this.invalidProtocolRelMatchRegex.test(n)?!1:!0},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:]+/,r=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,t=/(?:".*?"|'.*?'|[^'"=<>`\s]+)/,n=r.source+"(?:\\s*=\\s*"+t.source+")?";return new RegExp(["<(?:!|(/))?","("+e.source+")","(?:","\\s+","(?:",n,"|",t.source+")",")*","\\s*/?",">"].join(""),"g")}(),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[2],c=!!t[1],u=e.substring(o,t.index);u&&s(u),n(l,a,c),o=t.index+l.length}if(o<e.length){var p=e.substring(o);p&&s(p)}}}),e.HtmlTag=e.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(r){e.Util.assign(this,r),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(e){return this.tagName=e,this},getTagName:function(){return this.tagName||""},setAttr:function(e,r){var t=this.getAttrs();return t[e]=r,this},getAttr:function(e){return this.getAttrs()[e]},setAttrs:function(r){var t=this.getAttrs();return e.Util.assign(t,r),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(e){return this.setAttr("class",e)},addClass:function(r){for(var t,n=this.getClass(),s=this.whitespaceRegex,i=e.Util.indexOf,o=n?n.split(s):[],l=r.split(s);t=l.shift();)-1===i(o,t)&&o.push(t);return this.getAttrs()["class"]=o.join(" "),this},removeClass:function(r){for(var t,n=this.getClass(),s=this.whitespaceRegex,i=e.Util.indexOf,o=n?n.split(s):[],l=r.split(s);o.length&&(t=l.shift());){var a=i(o,t);-1!==a&&o.splice(a,1)}return this.getAttrs()["class"]=o.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},setInnerHtml:function(e){return this.innerHtml=e,this},getInnerHtml:function(){return this.innerHtml||""},toString:function(){var e=this.getTagName(),r=this.buildAttrsStr();return r=r?" "+r:"",["<",e,r,">",this.getInnerHtml(),"</",e,">"].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.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:/^\/\//,checkForProtocolRegex:/^[A-Za-z]{3,9}:/,getType:function(){return"url"},getUrl:function(){var e=this.url;return this.protocolRelativeMatch||this.checkForProtocolRegex.test(e)||(e=this.url="http://"+e),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})},{}],"/":[function(e,r){"use strict";r.exports=e("./lib/")},{"./lib/":14}]},{},[])("/")});
|