text: !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).pxlsMarkdown=t()}}(function(){var t=function(t){if(t)throw t},e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===n.call(t)},a=function(t){if(!t||"[object Object]"!==n.call(t))return!1;var r,i=e.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&e.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!i&&!o)return!1;for(r in t);return void 0===r||e.call(t,r)},c=function(t,e){r&&"__proto__"===e.name?r(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},s=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(i)return i(t,n).value}return t[n]},f=function t(){var e,n,r,i,f,l,u=arguments[0],h=1,p=arguments.length,d=!1;for("boolean"==typeof u&&(d=u,u=arguments[1]||{},h=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});h<p;++h)if(null!=(e=arguments[h]))for(n in e)r=s(u,n),u!==(i=s(e,n))&&(d&&i&&(a(i)||(f=o(i)))?(f?(f=!1,l=r&&o(r)?r:[]):l=r&&a(r)?r:{},c(u,{name:n,newValue:t(d,l,i)})):void 0!==i&&c(u,{name:n,newValue:i}));return u},l=t=>{if("[object Object]"!==Object.prototype.toString.call(t))return!1;const e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},u=[].slice,h=function(t,e){var n;return function(){var e,o=u.call(arguments,0),a=t.length>o.length;a&&o.push(r);try{e=t.apply(null,o)}catch(c){if(a&&n)throw c;return r(c)}a||(e&&"function"==typeof e.then?e.then(i,r):e instanceof Error?r(e):i(e))};function r(){n||(n=!0,e.apply(null,arguments))}function i(t){r(null,t)}},p={};p=m,m.wrap=h;var d=[].slice;function m(){var t=[],e={run:function(){var e=-1,n=d.call(arguments,0,-1),r=arguments[arguments.length-1];if("function"!=typeof r)throw new Error("Expected function as last argument, not "+r);(function i(o){var a=t[++e],c=d.call(arguments,0).slice(1),s=n.length,f=-1;if(o)r(o);else{for(;++f<s;)null!==c[f]&&void 0!==c[f]||(c[f]=n[f]);n=c,a?h(a,i).apply(null,n):r.apply(null,[null].concat(n))}}).apply(null,[null].concat(n))},use:function(n){if("function"!=typeof n)throw new Error("Expected `fn` to be a function, not "+n);return t.push(n),e}};return e}var g={}.hasOwnProperty;function v(t){return t&&"object"==typeof t||(t={}),A(t.line)+":"+A(t.column)}function y(t){return t&&"object"==typeof t||(t={}),v(t.start)+"-"+v(t.end)}function A(t){return t&&"number"==typeof t?t:1}var k=function(t){return t&&"object"==typeof t?g.call(t,"position")||g.call(t,"type")?y(t.position):g.call(t,"start")||g.call(t,"end")?y(t):g.call(t,"line")||g.call(t,"column")?v(t):"":""},b={};function w(){}b=O,w.prototype=Error.prototype,O.prototype=new w;var x=O.prototype;function O(t,e,n){var r,i,o;"string"==typeof e&&(n=e,e=null),r=function(t){var e,n=[null,null];return"string"==typeof t&&(-1===(e=t.indexOf(":"))?n[1]=t:(n[0]=t.slice(0,e),n[1]=t.slice(e+1))),n}(n),i=k(e)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},e&&e.position&&(e=e.position),e&&(e.start?(o=e,e=e.start):o.start=e),t.stack&&(this.stack=t.stack,t=t.message),this.message=t,this.name=i,this.reason=t,this.line=e?e.line:null,this.column=e?e.column:null,this.location=o,this.source=r[0],this.ruleId=r[1]}x.file="",x.name="",x.reason="",x.message="",x.stack="",x.fatal=null,x.column=null,x.line=null;var C,j,T,z=C={};function E(){throw new Error("setTimeout has not been defined")}function I(){throw new Error("clearTimeout has not been defined")}function L(t){if(j===setTimeout)return setTimeout(t,0);if((j===E||!j)&&setTimeout)return j=setTimeout,setTimeout(t,0);try{return j(t,0)}catch(e){try{return j.call(null,t,0)}catch(e){return j.call(this,t,0)}}}!function(){try{j="function"==typeof setTimeout?setTimeout:E}catch(t){j=E}try{T="function"==typeof clearTimeout?clearTimeout:I}catch(t){T=I}}();var P,_=[],S=!1,M=-1;function N(){S&&P&&(S=!1,P.length?_=P.concat(_):M=-1,_.length&&B())}function B(){if(!S){var t=L(N);S=!0;for(var e=_.length;e;){for(P=_,_=[];++M<e;)P&&P[M].run();M=-1,e=_.length}P=null,S=!1,function(t){if(T===clearTimeout)return clearTimeout(t);if((T===I||!T)&&clearTimeout)return T=clearTimeout,clearTimeout(t);try{T(t)}catch(e){try{return T.call(null,t)}catch(e){return T.call(this,t)}}}(t)}}function $(t,e){this.fun=t,this.array=e}function D(){}z.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];_.push(new $(t,e)),1!==_.length||S||L(B)},$.prototype.run=function(){this.fun.apply(null,this.array)},z.title="browser",z.browser=!0,z.env={},z.argv=[],z.version="",z.versions={},z.on=D,z.addListener=D,z.once=D,z.off=D,z.removeListener=D,z.removeAllListeners=D,z.emit=D,z.prependListener=D,z.prependOnceListener=D,z.listeners=function(t){return[]},z.binding=function(t){throw new Error("process.binding is not supported")},z.cwd=function(){return"/"},z.chdir=function(t){throw new Error("process.chdir is not supported")},z.umask=function(){return 0};var q={};(function(t){function e(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function n(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}q.normalize=function(t){var i=q.isAbsolute(t),o="/"===r(t,-1);return(t=e(n(t.split("/"),function(t){return!!t}),!i).join("/"))||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},q.isAbsolute=function(t){return"/"===t.charAt(0)},q.join=function(){var t=Array.prototype.slice.call(arguments,0);return q.normalize(n(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},q.sep="/",q.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},q.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},q.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(47!==c)-1===r&&(i=!1,r=a+1),46===c?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var r="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,C);var R=function(t){return null!=t&&null!=t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},H={};(function(t){"use strict";H=i;var e={}.hasOwnProperty,n=i.prototype,r=["history","path","basename","stem","extname","dirname"];function i(n){var o,a,c;if(n){if("string"==typeof n||R(n))n={contents:n};else if("message"in n&&"messages"in n)return n}else n={};if(!(this instanceof i))return new i(n);for(this.data={},this.messages=[],this.history=[],this.cwd=t.cwd(),a=-1,c=r.length;++a<c;)o=r[a],e.call(n,o)&&(this[o]=n[o]);for(o in n)-1===r.indexOf(o)&&(this[o]=n[o])}function o(t,e){if(-1!==t.indexOf(q.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+q.sep+"`")}function a(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function c(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}n.toString=function(t){var e=this.contents||"";return R(e)?e.toString(t):String(e)},Object.defineProperty(n,"path",{get:function(){return this.history[this.history.length-1]},set:function(t){a(t,"path"),t!==this.path&&this.history.push(t)}}),Object.defineProperty(n,"dirname",{get:function(){return"string"==typeof this.path?q.dirname(this.path):void 0},set:function(t){c(this.path,"dirname"),this.path=q.join(t||"",this.basename)}}),Object.defineProperty(n,"basename",{get:function(){return"string"==typeof this.path?q.basename(this.path):void 0},set:function(t){a(t,"basename"),o(t,"basename"),this.path=q.join(this.dirname||"",t)}}),Object.defineProperty(n,"extname",{get:function(){return"string"==typeof this.path?q.extname(this.path):void 0},set:function(t){var e=t||"";if(o(e,"extname"),c(this.path,"extname"),e){if("."!==e.charAt(0))throw new Error("`extname` must start with `.`");if(-1!==e.indexOf(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=function(t,e){if("string"!=typeof t)return t;if(0===t.length)return t;var n=q.basename(t,q.extname(t))+e;return q.join(q.dirname(t),n)}(this.path,e)}}),Object.defineProperty(n,"stem",{get:function(){return"string"==typeof this.path?q.basename(this.path,this.extname):void 0},set:function(t){a(t,"stem"),o(t,"stem"),this.path=q.join(this.dirname||"",t+(this.extname||""))}})}).call(this,C);var U=H,Z=H.prototype;Z.message=function(t,e,n){var r=this.path,i=new b(t,e,n);return r&&(i.name=r+":"+i.name,i.file=r),i.fatal=!1,this.messages.push(i),i},Z.info=function(){var t=this.message.apply(this,arguments);return t.fatal=null,t},Z.fail=function(){var t=this.message.apply(this,arguments);throw t.fatal=!0,t};var W={};(function(e){"use strict";W=function e(){var d=[],m=p(),g={},v=!1,y=-1;return A.data=function(t,e){return"string"==typeof t?2===arguments.length?(s("data",v),g[t]=e,A):r.call(g,t)&&g[t]||null:t?(s("data",v),g=t,A):g},A.freeze=k,A.attachers=d,A.use=function(t){var e;if(s("use",v),null==t);else if("function"==typeof t)a.apply(null,arguments);else{if("object"!=typeof t)throw new Error("Expected usable value, not `"+t+"`");"length"in t?o(t):r(t)}return e&&(g.settings=f(g.settings||{},e)),A;function r(t){o(t.plugins),t.settings&&(e=f(e||{},t.settings))}function i(t){if("function"==typeof t)a(t);else{if("object"!=typeof t)throw new Error("Expected usable value, not `"+t+"`");"length"in t?a.apply(null,t):r(t)}}function o(t){var e,n;if(null==t);else{if(!("object"==typeof t&&"length"in t))throw new Error("Expected a list of plugins, not `"+t+"`");for(e=t.length,n=-1;++n<e;)i(t[n])}}function a(t,e){var r=function(t){for(var e,n=d.length,r=-1;++r<n;)if((e=d[r])[0]===t)return e}(t);r?(l(r[1])&&l(e)&&(e=f(r[1],e)),r[1]=e):d.push(n.call(arguments))}},A.parse=function(t){var e,n=U(t);return k(),a("parse",e=A.Parser),o(e,"parse")?new e(String(n),n).parse():e(String(n),n)},A.stringify=function(t,e){var n,r=U(e);return k(),c("stringify",n=A.Compiler),u(t),o(n,"compile")?new n(t,r).compile():n(t,r)},A.run=b,A.runSync=function(e,n){var r,i=!1;return b(e,n,function(e,n){i=!0,t(e),r=n}),h("runSync","run",i),r},A.process=w,A.processSync=function(e){var n,r=!1;return k(),a("processSync",A.Parser),c("processSync",A.Compiler),w(n=U(e),function(e){r=!0,t(e)}),h("processSync","process",r),n},A;function A(){for(var t=e(),n=d.length,r=-1;++r<n;)t.use.apply(null,d[r]);return t.data(f(!0,{},g)),t}function k(){var t,e,n,r;if(v)return A;for(;++y<d.length;)e=(t=d[y])[0],r=null,!1!==(n=t[1])&&(!0===n&&(t[1]=void 0),"function"==typeof(r=e.apply(A,t.slice(1)))&&m.use(r));return v=!0,y=1/0,A}function b(t,e,n){if(u(t),k(),n||"function"!=typeof e||(n=e,e=null),!n)return new Promise(r);function r(r,i){m.run(t,U(e),function(e,o,a){o=o||t,e?i(e):r?r(o):n(null,o,a)})}r(null,n)}function w(t,e){if(k(),a("process",A.Parser),c("process",A.Compiler),!e)return new Promise(n);function n(n,r){var o=U(t);i.run(A,{file:o},function(t){t?r(t):n?n(o):e(null,o)})}n(null,e)}}().freeze();var n=[].slice,r={}.hasOwnProperty,i=p().use(function(t,e){e.tree=t.parse(e.file)}).use(function(t,e,n){t.run(e.tree,e.file,function(t,r,i){t?n(t):(e.tree=r,e.file=i,n())})}).use(function(t,e){var n,r=t.stringify(e.tree,e.file),i=e.file;null==r||("string"==typeof r||null!=(n=r)&&null!=n.constructor&&"function"==typeof n.constructor.isBuffer&&n.constructor.isBuffer(n)?i.contents=r:i.result=r)});function o(t,e){return"function"==typeof t&&t.prototype&&(function(t){var e;for(e in t)return!0;return!1}(t.prototype)||e in t.prototype)}function a(t,e){if("function"!=typeof e)throw new Error("Cannot `"+t+"` without `Parser`")}function c(t,e){if("function"!=typeof e)throw new Error("Cannot `"+t+"` without `Compiler`")}function s(t,e){if(e)throw new Error("Cannot invoke `"+t+"` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.")}function u(t){if(!t||"string"!=typeof t.type)throw new Error("Expected node, got `"+t+"`")}function h(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}}).call(this,C);var V=function(){for(var t={},e=0;e<arguments.length;e++){var n=arguments[e];for(var r in n)X.call(n,r)&&(t[r]=n[r])}return t},X=Object.prototype.hasOwnProperty,F={};F="function"==typeof Object.create?function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}};var K=function(t){var e,n,r;for(n in F(o,t),F(i,o),e=o.prototype)(r=e[n])&&"object"==typeof r&&(e[n]="concat"in r?r.concat():V(r));return o;function i(e){return t.apply(this,e)}function o(){return this instanceof o?t.apply(this,arguments):new i(arguments)}},G=function(t,e,n){return function(){var r=n||this,i=r[t];return r[t]=!e,function(){r[t]=i}}};function Y(t){return function(e){var n=e&&e.line,r=e&&e.column;return!isNaN(n)&&!isNaN(r)&&n-1 in t?(t[n-2]||0)+r-1||0:-1}}var Q,J=function(t){var e,n=function(t){for(var e=[],n=t.indexOf("\n");-1!==n;)e.push(n+1),n=t.indexOf("\n",n+1);return e.push(t.length+1),e}(String(t));return{toPosition:(e=n,function(t){var n=-1,r=e.length;if(t<0)return{};for(;++n<r;)if(e[n]>t)return{line:n+1,column:t-(e[n-1]||0)+1,offset:t};return{}}),toOffset:Y(n)}},tt=function(t,e){return function(n){for(var r,i=0,o=n.indexOf(et),a=t[e],c=[];-1!==o;)c.push(n.slice(i,o)),i=o+1,(r=n.charAt(i))&&-1!==a.indexOf(r)||c.push(et),o=n.indexOf(et,i+1);return c.push(n.slice(i)),c.join("")}},et="\\",nt={AElig:"\xc6",AMP:"&",Aacute:"\xc1",Acirc:"\xc2",Agrave:"\xc0",Aring:"\xc5",Atilde:"\xc3",Auml:"\xc4",COPY:"\xa9",Ccedil:"\xc7",ETH:"\xd0",Eacute:"\xc9",Ecirc:"\xca",Egrave:"\xc8",Euml:"\xcb",GT:">",Iacute:"\xcd",Icirc:"\xce",Igrave:"\xcc",Iuml:"\xcf",LT:"<",Ntilde:"\xd1",Oacute:"\xd3",Ocirc:"\xd4",Ograve:"\xd2",Oslash:"\xd8",Otilde:"\xd5",Ouml:"\xd6",QUOT:'"',REG:"\xae",THORN:"\xde",Uacute:"\xda",Ucirc:"\xdb",Ugrave:"\xd9",Uuml:"\xdc",Yacute:"\xdd",aacute:"\xe1",acirc:"\xe2",acute:"\xb4",aelig:"\xe6",agrave:"\xe0",amp:"&",aring:"\xe5",atilde:"\xe3",auml:"\xe4",brvbar:"\xa6",ccedil:"\xe7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",ecirc:"\xea",egrave:"\xe8",eth:"\xf0",euml:"\xeb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",iacute:"\xed",icirc:"\xee",iexcl:"\xa1",igrave:"\xec",iquest:"\xbf",iuml:"\xef",laquo:"\xab",lt:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",oacute:"\xf3",ocirc:"\xf4",ograve:"\xf2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",otilde:"\xf5",ouml:"\xf6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',raquo:"\xbb",reg:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",times:"\xd7",uacute:"\xfa",ucirc:"\xfb",ugrave:"\xf9",uml:"\xa8",uuml:"\xfc",yacute:"\xfd",yen:"\xa5",yuml:"\xff"},rt={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},it=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=48&&e<=57},ot=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90},at=function(t){return ot(t)||it(t)},ct=function(t){var e,n="&"+t+";";return(Q=Q||document.createElement("i")).innerHTML=n,(59!==(e=Q.textContent).charCodeAt(e.length-1)||"semi"===t)&&(e!==n&&e)},st=function(t,e){var n,r,i={};for(r in e||(e={}),ht)n=e[r],i[r]=null==n?ht[r]:n;return(i.position.indent||i.position.start)&&(i.indent=i.position.indent||[],i.position=i.position.start),function(t,e){var n,r,i,o,a,c,s,f,l,u,h,p,d,m,g,v,y,A,k,b,w=e.additional,x=e.nonTerminated,O=e.text,C=e.reference,j=e.warning,T=e.textContext,z=e.referenceContext,E=e.warningContext,I=e.position,L=e.indent||[],P=t.length,_=0,S=-1,M=I.column||1,N=I.line||1,B="",$=[];for("string"==typeof w&&(w=w.charCodeAt(0)),v=D(),f=j?function(t,e){var n=D();n.column+=e,n.offset+=e,j.call(E,Bt[t],n,t)}:ut,_--,P++;++_<P;)if(a===dt&&(M=L[S]||1),(a=t.charCodeAt(_))===vt){if((s=t.charCodeAt(_+1))===pt||s===dt||s===mt||s===gt||s===vt||s===At||s!=s||w&&s===w){B+=lt(a),M++;continue}for(p=d=_+1,k=d,s===bt?(k=++p,(s=t.charCodeAt(k))===wt||s===xt?(m=jt,k=++p):m=Tt):m=Ct,n="",h="",o="",g=Et[m],k--;++k<P&&g(s=t.charCodeAt(k));)o+=lt(s),m===Ct&&ft.call(nt,o)&&(n=o,h=nt[o]);(i=t.charCodeAt(k)===yt)&&(k++,(r=m===Ct&&ct(o))&&(n=o,h=r)),A=1+k-d,(i||x)&&(o?m===Ct?(i&&!h?f(St,1):(n!==o&&(A=1+(k=p+n.length)-p,i=!1),i||(l=n?It:Pt,e.attribute?(s=t.charCodeAt(k))===kt?(f(l,A),h=null):at(s)?h=null:f(l,A):f(l,A))),c=h):(i||f(Lt,A),(b=c=parseInt(o,zt[m]))>=55296&&b<=57343||b>1114111?(f(Nt,A),c=lt(Ot)):c in rt?(f(Mt,A),c=rt[c]):(u="",$t(c)&&f(Mt,A),c>65535&&(u+=lt((c-=65536)>>>10|55296),c=56320|1023&c),c=u+lt(c))):m!==Ct&&f(_t,A)),c?(q(),v=D(),_=k-1,M+=k-d+1,$.push(c),(y=D()).offset++,C&&C.call(z,c,{start:v,end:y},t.slice(d-1,k)),v=y):(o=t.slice(d-1,k),B+=o,M+=o.length,_=k-1)}else 10===a&&(N++,S++,M=0),a==a?(B+=lt(a),M++):q();return $.join("");function D(){return{line:N,column:M,offset:_+(I.offset||0)}}function q(){B&&($.push(B),O&&O.call(T,B,{start:v,end:D()}),B="")}}(t,i)},ft={}.hasOwnProperty,lt=String.fromCharCode,ut=Function.prototype,ht={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},pt=9,dt=10,mt=12,gt=32,vt=38,yt=59,At=60,kt=61,bt=35,wt=88,xt=120,Ot=65533,Ct="named",jt="hexadecimal",Tt="decimal",zt={};zt[jt]=16,zt[Tt]=10;var Et={};Et[Ct]=at,Et[Tt]=it,Et[jt]=function(t){var e="string"==typeof t?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57};var It=1,Lt=2,Pt=3,_t=4,St=5,Mt=6,Nt=7,Bt={};function $t(t){return t>=1&&t<=8||11===t||t>=13&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||65535==(65535&t)||65534==(65535&t)}Bt[It]="Named character references must be terminated by a semicolon",Bt[Lt]="Numeric character references must be terminated by a semicolon",Bt[Pt]="Named character references cannot be empty",Bt[_t]="Numeric character references cannot be empty",Bt[St]="Named character references must be known",Bt[Mt]="Numeric character references cannot be disallowed",Bt[Nt]="Numeric character references cannot be outside the permissible Unicode range";var Dt=function(t){return n.raw=function(t,n,i){return st(t,V(i,{position:e(n),warning:r}))},n;function e(e){for(var n=t.offset,r=e.line,i=[];++r&&r in n;)i.push((n[r]||0)+1);return{start:e,indent:i}}function n(n,i,o){st(n,{position:e(i),warning:r,text:o,reference:o,textContext:t,referenceContext:t})}function r(e,n,r){3!==r&&t.file.message(e,n)}};function qt(t){var e,n;return"text"!==t.type||!t.position||(e=t.position.start,n=t.position.end,e.line!==n.line||n.column-e.column===t.value.length)}function Rt(t,e){return t.value+=e.value,t}function Ht(t,e){return this.options.commonmark||this.options.gfm?e:(t.children=t.children.concat(e.children),t)}var Ut=function(t){return function(e,n){var r,i,o,a,c,s=this,f=s.offset,l=[],u=s[t+"Methods"],h=s[t+"Tokenizers"],p=n.line,d=n.column;if(!e)return l;for(y.now=g,y.file=s.file,m("");e;){for(r=-1,i=u.length,a=!1;++r<i&&(!(o=h[u[r]])||o.onlyAtStart&&!s.atStart||o.notInList&&s.inList||o.notInBlock&&s.inBlock||o.notInLink&&s.inLink||(c=e.length,o.apply(s,[y,e]),!(a=c!==e.length))););a||s.file.fail(new Error("Infinite loop"),y.now())}return s.eof=g(),l;function m(t){for(var e=-1,n=t.indexOf("\n");-1!==n;)p++,e=n,n=t.indexOf("\n",n+1);-1===e?d+=t.length:d=t.length-e,p in f&&(-1!==e?d+=f[p]:d<=f[p]&&(d=f[p]+1))}function g(){var t={line:p,column:d};return t.offset=s.toOffset(t),t}function v(t){this.start=t,this.end=g()}function y(t){var n,r=function(){var t=[],e=p+1;return function(){for(var n=p+1;e<n;)t.push((f[e]||0)+1),e++;return t}}(),i=(n=g(),function(t,e){var r=t.position,i=r?r.start:n,o=[],a=r&&r.end.line,c=n.line;if(t.position=new v(i),r&&e&&r.indent){if(o=r.indent,a<c){for(;++a<c;)o.push((f[a]||0)+1);o.push(n.column)}e=o.concat(e)}return t.position.indent=e||[],t}),o=g();return function(t){e.slice(0,t.length)!==t&&s.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"),g())}(t),a.reset=c,c.test=u,a.test=u,e=e.slice(t.length),m(t),r=r(),a;function a(t,e){return i(function(t,e){var n=e?e.children:l,r=n[n.length-1];return r&&t.type===r.type&&("text"===t.type||"blockquote"===t.type)&&qt(r)&&qt(t)&&(t=("text"===t.type?Rt:Ht).call(s,r,t)),t!==r&&n.push(t),s.atStart&&0!==l.length&&s.exitStart(),t}(i(t),e),r)}function c(){var n=a.apply(null,arguments);return p=o.line,d=o.column,e=t+e,n}function u(){var n=i({});return p=o.line,d=o.column,e=t+e,n.position}}}},Zt=Ft,Wt=["\\","`","*","{","}","[","]","(",")","#","+","-",".","!","_",">"],Vt=Wt.concat(["~","|"]),Xt=Vt.concat(["\n",'"',"$","%","&","'",",","/",":",";","<","=","?","@","^"]);function Ft(t){var e=t||{};return e.commonmark?Xt:e.gfm?Vt:Wt}Ft.default=Wt,Ft.gfm=Vt,Ft.commonmark=Xt;var Kt={position:!0,gfm:!0,commonmark:!1,pedantic:!1,blocks:["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","pre","section","source","title","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]};function Gt(){return!0}var Yt=function t(e){if("string"==typeof e)return function(t){return function(e){return Boolean(e&&e.type===t)}}(e);if(null==e)return Gt;if("object"==typeof e)return("length"in e?function(e){var n=function(e){for(var n=[],r=e.length,i=-1;++i<r;)n[i]=t(e[i]);return n}(e),r=n.length;return function(){for(var t=-1;++t<r;)if(n[t].apply(this,arguments))return!0;return!1}}:function(t){return function(e){var n;for(n in t)if(e[n]!==t[n])return!1;return!0}})(e);if("function"==typeof e)return e;throw new Error("Expected function, string, or object as test")},Qt=ne,Jt=!0,te="skip",ee=!1;function ne(t,e,n,r){var i;"function"==typeof e&&"function"!=typeof n&&(r=n,n=e,e=null),i=Yt(e),function t(o,a,c){var s,f=[];return(e&&!i(o,a,c[c.length-1]||null)||(f=re(n(o,c)))[0]!==ee)&&o.children&&f[0]!==te&&(s=re(function(e,n){for(var i,o=r?-1:1,a=(r?e.length:-1)+o;a>-1&&a<e.length;){if((i=t(e[a],a,n))[0]===ee)return i;a="number"==typeof i[1]?i[1]:a+o}}(o.children,c.concat(o))))[0]===ee?s:f}(t,null,[])}function re(t){return null!==t&&"object"==typeof t&&"length"in t?t:"number"==typeof t?[Jt,t]:[t]}ne.CONTINUE=Jt,ne.SKIP=te,ne.EXIT=ee;var ie=se,oe=Qt.CONTINUE,ae=Qt.SKIP,ce=Qt.EXIT;function se(t,e,n,r){"function"==typeof e&&"function"!=typeof n&&(r=n,n=e,e=null),Qt(t,e,function(t,e){var r=e[e.length-1],i=r?r.children.indexOf(t):null;return n(t,i,r)},r)}function fe(t){delete t.position}function le(t){t.position=void 0}se.CONTINUE=oe,se.SKIP=ae,se.EXIT=ce;var ue,he="\n",pe=/\r\n|\r/g,de=/^[ \t]*(\n|$)/,me="",ge=function(t,e){if("string"!=typeof t)throw new TypeError("expected a string");if(1===e)return t;if(2===e)return t+t;var n=t.length*e;if(ue!==t||void 0===ue)ue=t,me="";else if(me.length>=n)return me.substr(0,n);for(;n>me.length&&e>1;)1&e&&(me+=t),e>>=1,t+=t;return me=(me+=t).substr(0,n)},ve=function(t){for(var e=String(t),n=e.length;e.charAt(--n)===ye;);return e.slice(0,n+1)},ye="\n",Ae="\n",ke="\t",be=" ",we=ge(be,4),xe="\n",Oe="\t",Ce=" ",je="~",Te="`",ze=3,Ee=4,Ie={};(Ie=Ie=function(t){return t.replace(/^\s*|\s*$/g,"")}).left=function(t){return t.replace(/^\s*/,"")},Ie.right=function(t){return t.replace(/\s*$/,"")};var Le=function(t,e,n,r){for(var i,o,a=t.length,c=-1;++c<a;)if((void 0===(o=(i=t[c])[1]||{}).pedantic||o.pedantic===n.options.pedantic)&&(void 0===o.commonmark||o.commonmark===n.options.commonmark)&&e[i[0]].apply(n,r))return!0;return!1},Pe="\n",_e="\t",Se=" ",Me=">",Ne="\n",Be="\t",$e=" ",De="#",qe=6,Re="\t",He="\n",Ue=" ",Ze="*",We="-",Ve="_",Xe=3,Fe=function(t){for(var e,n=0,r=0,i=t.charAt(n),o={},a=0;i===Ke||i===Ge;){for(r+=e=i===Ke?Qe:Ye,e>1&&(r=Math.floor(r/e)*e);a<r;)o[++a]=n;i=t.charAt(++n)}return{indent:r,stops:o}},Ke="\t",Ge=" ",Ye=1,Qe=4,Je=function(t,e){var n,r,i,o=t.split(tn),a=o.length+1,c=1/0,s=[];for(o.unshift(ge(en,e)+nn);a--;)if(r=Fe(o[a]),s[a]=r.stops,0!==Ie(o[a]).length){if(!r.indent){c=1/0;break}r.indent>0&&r.indent<c&&(c=r.indent)}if(c!==1/0)for(a=o.length;a--;){for(i=s[a],n=c;n&&!(n in i);)n--;o[a]=o[a].slice(i[n]+1)}return o.shift(),o.join(tn)},tn="\n",en=" ",nn="!",rn="*",on="_",an="+",cn="-",sn=".",fn=" ",ln="\n",un="\t",hn=")",pn="x",dn=4,mn=/\n\n(?!\s*$)/,gn=/^\[([ X\tx])][ \t]/,vn=/^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/,yn=/^([ \t]*)([*+-]|\d+[.)])([ \t]+)/,An=/^( {1,4}|\t)?/gm;function kn(t,e,n){var r,i,o=t.offset,a=null;return e=(t.options.pedantic?function(t,e,n){var r=t.offset,i=n.line;return e=e.replace(yn,o),i=n.line,e.replace(An,o);function o(t){return r[i]=(r[i]||0)+t.length,i++,""}}:function(t,e,n){var r,i,o,a,c,s,f,l=t.offset,u=n.line;for(a=(e=e.replace(vn,function(t,e,n,a,c){return i=e+n+a,o=c,Number(n)<10&&i.length%2==1&&(n=fn+n),(r=e+ge(fn,n.length)+a)+o})).split(ln),(c=Je(e,Fe(r).indent).split(ln))[0]=o,l[u]=(l[u]||0)+i.length,u++,s=0,f=a.length;++s<f;)l[u]=(l[u]||0)+a[s].length-c[s].length,u++;return c.join(ln)}).apply(null,arguments),t.options.gfm&&(r=e.match(gn))&&(i=r[0].length,a=r[1].toLowerCase()===pn,o[n.line]+=i,e=e.slice(i)),{type:"listItem",spread:mn.test(e),checked:a,children:t.tokenizeBlock(e,n)}}var bn="\n",wn="\t",xn=" ",On="=",Cn="-",jn=3,Tn=1,zn=2,En={},In="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Ln="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>";En.openCloseTag=new RegExp("^(?:"+In+"|"+Ln+")"),En.tag=new RegExp("^(?:"+In+"|"+Ln+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)");var Pn=En.openCloseTag,_n="\t",Sn=" ",Mn="\n",Nn="<",Bn=/^<(script|pre|style)(?=(\s|>|$))/i,$n=/<\/(script|pre|style)>/i,Dn=/^<!--/,qn=/-->/,Rn=/^<\?/,Hn=/\?>/,Un=/^<![A-Za-z]/,Zn=/>/,Wn=/^<!\[CDATA\[/,Vn=/]]>/,Xn=/^$/,Fn=new RegExp(Pn.source+"\\s*$"),Kn=function(t){return Yn.test("number"==typeof t?Gn(t):t.charAt(0))},Gn=String.fromCharCode,Yn=/\s/,Qn=function(t){return function(t){return String(t).replace(/\s+/g," ")}(t).toLowerCase()},Jn='"',tr="'",er="\\",nr="\n",rr="\t",ir=" ",or="[",ar="]",cr="(",sr=")",fr=":",lr="<",ur=">";function hr(t){return t!==ur&&t!==or&&t!==ar}function pr(t){return t!==or&&t!==ar&&!Kn(t)}hr.delimiter=ur;var dr,mr="\t",gr="\n",vr=" ",yr="-",Ar=":",kr="\\",br="|",wr=1,xr=2,Or="left",Cr="center",jr="right",Tr="\t",zr="\n",Er=" ",Ir=4;dr=_r,_r.locator=function(t,e){return t.indexOf("\\",e)};var Lr="\n",Pr="\\";function _r(t,e,n){var r,i;if(e.charAt(0)===Pr&&(r=e.charAt(1),-1!==this.escape.indexOf(r)))return!!n||(i=r===Lr?{type:"break"}:{type:"text",value:r},t(Pr+r)(i))}var Sr,Mr=function(t,e){return t.indexOf("<",e)};Sr=Hr,Hr.locator=Mr,Hr.notInLink=!0;var Nr="<",Br=">",$r="@",Dr="/",qr="mailto:",Rr=qr.length;function Hr(t,e,n){var r,i,o,a,c,s="",f=e.length,l=0,u="",h=!1,p="";if(e.charAt(0)===Nr){for(l++,s=Nr;l<f&&(r=e.charAt(l),!(Kn(r)||r===Br||r===$r||":"===r&&e.charAt(l+1)===Dr));)u+=r,l++;if(u){if(p+=u,u="",p+=r=e.charAt(l),l++,r===$r)h=!0;else{if(":"!==r||e.charAt(l+1)!==Dr)return;p+=Dr,l++}for(;l<f&&(r=e.charAt(l),!Kn(r)&&r!==Br);)u+=r,l++;if(r=e.charAt(l),u&&r===Br)return!!n||(o=p+=u,s+=p+r,(i=t.now()).column++,i.offset++,h&&(p.slice(0,Rr).toLowerCase()===qr?(o=o.slice(Rr),i.column+=Rr,i.offset+=Rr):p=qr+p),a=this.inlineTokenizers,this.inlineTokenizers={text:a.text},c=this.enterLink(),o=this.tokenizeInline(o,i),this.inlineTokenizers=a,c(),t(s)({type:"link",title:null,url:st(p,{nonTerminated:!1}),children:o}))}}}var Ur,Zr=function(t,e){var n,r=String(t),i=0;if("string"!=typeof e||1!==e.length)throw new Error("Expected character");for(n=r.indexOf(e);-1!==n;)i++,n=r.indexOf(e,n+1);return i},Wr=["www.","http://","https://"];Ur=ci,ci.locator=function(t,e){var n,r,i,o=-1;if(!this.options.gfm)return o;for(r=Wr.length,n=-1;++n<r;)-1!==(i=t.indexOf(Wr[n],e))&&(-1===o||i<o)&&(o=i);return o},ci.notInLink=!0;var Vr=33,Xr=38,Fr=41,Kr=42,Gr=44,Yr=45,Qr=46,Jr=58,ti=59,ei=63,ni=60,ri=95,ii=126,oi="(",ai=")";function ci(t,e,n){var r,i,o,a,c,s,f,l,u,h,p,d,m,g,v=this.options.gfm,y=this.inlineTokenizers,A=e.length,k=-1,b=!1;if(v){if("www."===e.slice(0,4))b=!0,a=4;else if("http://"===e.slice(0,7).toLowerCase())a=7;else{if("https://"!==e.slice(0,8).toLowerCase())return;a=8}for(k=a-1,o=a,r=[];a<A;)if((f=e.charCodeAt(a))!==Qr){if(!it(f)&&!ot(f)&&f!==Yr&&f!==ri)break;a++}else{if(k===a-1)break;r.push(a),k=a,a++}if(f===Qr&&(r.pop(),a--),void 0!==r[0]&&(i=r.length<2?o:r[r.length-2]+1,-1===e.slice(i,a).indexOf("_"))){if(n)return!0;for(l=a,c=a;a<A&&(f=e.charCodeAt(a),!Kn(f)&&f!==ni);)a++,f===Vr||f===Kr||f===Gr||f===Qr||f===Jr||f===ei||f===ri||f===ii||(l=a);if(a=l,e.charCodeAt(a-1)===Fr)for(s=e.slice(c,a),u=Zr(s,oi),h=Zr(s,ai);h>u;)a=c+s.lastIndexOf(ai),s=e.slice(c,a),h--;if(e.charCodeAt(a-1)===ti&&(a--,ot(e.charCodeAt(a-1)))){for(l=a-2;ot(e.charCodeAt(l));)l--;e.charCodeAt(l)===Xr&&(a=l)}return p=e.slice(0,a),m=st(p,{nonTerminated:!1}),b&&(m="http://"+m),g=this.enterLink(),this.inlineTokenizers={text:y.text},d=this.tokenizeInline(p,t.now()),this.inlineTokenizers=y,g(),t(p)({type:"link",title:null,url:m,children:d})}}}var si=43,fi=45,li=46,ui=95;function hi(t){return it(t)||ot(t)||t===si||t===fi||t===li||t===ui}var pi;pi=Ai,Ai.locator=function t(e,n){var r,i;if(!this.options.gfm)return-1;if(-1===(r=e.indexOf("@",n)))return-1;if((i=r)===n||!hi(e.charCodeAt(i-1)))return t.call(this,e,r+1);for(;i>n&&hi(e.charCodeAt(i-1));)i--;return i},Ai.notInLink=!0;var di=43,mi=45,gi=46,vi=64,yi=95;function Ai(t,e,n){var r,i,o,a,c=this.options.gfm,s=this.inlineTokenizers,f=0,l=e.length,u=-1;if(c){for(r=e.charCodeAt(f);it(r)||ot(r)||r===di||r===mi||r===gi||r===yi;)r=e.charCodeAt(++f);if(0!==f&&r===vi){for(f++;f<l&&(r=e.charCodeAt(f),it(r)||ot(r)||r===mi||r===gi||r===yi);)f++,-1===u&&r===gi&&(u=f);if(-1!==u&&u!==f&&r!==mi&&r!==yi)return r===gi&&f--,i=e.slice(0,f),!!n||(a=this.enterLink(),this.inlineTokenizers={text:s.text},o=this.tokenizeInline(i,t.now()),this.inlineTokenizers=s,a(),t(i)({type:"link",title:null,url:"mailto:"+st(i,{nonTerminated:!1}),children:o}))}}}var ki,bi=En.tag;ki=zi,zi.locator=Mr;var wi="<",xi="?",Oi="!",Ci="/",ji=/^<a /i,Ti=/^<\/a>/i;function zi(t,e,n){var r,i,o=e.length;if(!(e.charAt(0)!==wi||o<3)&&(r=e.charAt(1),(ot(r)||r===xi||r===Oi||r===Ci)&&(i=e.match(bi))))return!!n||(i=i[0],!this.inLink&&ji.test(i)?this.inLink=!0:this.inLink&&Ti.test(i)&&(this.inLink=!1),t(i)({type:"html",value:i}))}var Ei,Ii=function(t,e){var n=t.indexOf("[",e),r=t.indexOf("![",e);return-1===r?n:n<r?n:r};Ei=Ui,Ui.locator=Ii;var Li="\n",Pi="!",_i='"',Si="'",Mi="(",Ni=")",Bi="<",$i=">",Di="[",qi="\\",Ri="]",Hi="`";function Ui(t,e,n){var r,i,o,a,c,s,f,l,u,h,p,d,m,g,v,y,A,k,b="",w=0,x=e.charAt(0),O=this.options.pedantic,C=this.options.commonmark,j=this.options.gfm;if(x===Pi&&(l=!0,b=x,x=e.charAt(++w)),x===Di&&(l||!this.inLink)){for(b+=x,g="",w++,p=e.length,m=0,(y=t.now()).column+=w,y.offset+=w;w<p;){if(s=x=e.charAt(w),x===Hi){for(i=1;e.charAt(w+1)===Hi;)s+=x,w++,i++;o?i>=o&&(o=0):o=i}else if(x===qi)w++,s+=e.charAt(w);else if(o&&!j||x!==Di){if((!o||j)&&x===Ri){if(!m){if(e.charAt(w+1)!==Mi)return;s+=Mi,r=!0,w++;break}m--}}else m++;g+=s,s="",w++}if(r){for(u=g,b+=g+s,w++;w<p&&(x=e.charAt(w),Kn(x));)b+=x,w++;if(g="",a=b,(x=e.charAt(w))===Bi){for(w++,a+=Bi;w<p&&(x=e.charAt(w))!==$i;){if(C&&x===Li)return;g+=x,w++}if(e.charAt(w)!==$i)return;b+=Bi+g+$i,v=g,w++}else{for(x=null,s="";w<p&&(x=e.charAt(w),!s||!(x===_i||x===Si||C&&x===Mi));){if(Kn(x)){if(!O)break;s+=x}else{if(x===Mi)m++;else if(x===Ni){if(0===m)break;m--}g+=s,s="",x===qi&&(g+=qi,x=e.charAt(++w)),g+=x}w++}v=g,w=(b+=g).length}for(g="";w<p&&(x=e.charAt(w),Kn(x));)g+=x,w++;if(x=e.charAt(w),b+=g,g&&(x===_i||x===Si||C&&x===Mi))if(w++,g="",h=x===Mi?Ni:x,c=b+=x,C){for(;w<p&&(x=e.charAt(w))!==h;)x===qi&&(g+=qi,x=e.charAt(++w)),w++,g+=x;if((x=e.charAt(w))!==h)return;for(d=g,b+=g+x,w++;w<p&&(x=e.charAt(w),Kn(x));)b+=x,w++}else for(s="";w<p;){if((x=e.charAt(w))===h)f&&(g+=h+s,s=""),f=!0;else if(f){if(x===Ni){b+=g+h+s,d=g;break}Kn(x)?s+=x:(g+=h+s+x,s="",f=!1)}else g+=x;w++}if(e.charAt(w)===Ni)return!!n||(b+=Ni,v=this.decode.raw(this.unescape(v),t(a).test().end,{nonTerminated:!1}),d&&(c=t(c).test().end,d=this.decode.raw(this.unescape(d),c)),k={type:l?"image":"link",title:d||null,url:v},l?k.alt=this.decode.raw(this.unescape(u),y)||null:(A=this.enterLink(),k.children=this.tokenizeInline(u,y),A()),t(b)(k))}}}var Zi;Zi=to,to.locator=Ii;var Wi="link",Vi="image",Xi="shortcut",Fi="collapsed",Ki="full",Gi="!",Yi="[",Qi="\\",Ji="]";function to(t,e,n){var r,i,o,a,c,s,f,l,u=this.options.commonmark,h=e.charAt(0),p=0,d=e.length,m="",g="",v=Wi,y=Xi;if(h===Gi&&(v=Vi,g=h,h=e.charAt(++p)),h===Yi){for(p++,g+=h,s="",l=0;p<d;){if((h=e.charAt(p))===Yi)f=!0,l++;else if(h===Ji){if(!l)break;l--}h===Qi&&(s+=Qi,h=e.charAt(++p)),s+=h,p++}if(m=s,r=s,(h=e.charAt(p))===Ji){if(p++,m+=h,s="",!u)for(;p<d&&(h=e.charAt(p),Kn(h));)s+=h,p++;if((h=e.charAt(p))===Yi){for(i="",s+=h,p++;p<d&&(h=e.charAt(p))!==Yi&&h!==Ji;)h===Qi&&(i+=Qi,h=e.charAt(++p)),i+=h,p++;(h=e.charAt(p))===Ji?(y=i?Ki:Fi,s+=i+h,p++):i="",m+=s,s=""}else{if(!r)return;i=r}if(y===Ki||!f)return m=g+m,v===Wi&&this.inLink?null:!!n||((o=t.now()).column+=g.length,o.offset+=g.length,a={type:v+"Reference",identifier:Qn(i=y===Ki?i:r),label:i,referenceType:y},v===Wi?(c=this.enterLink(),a.children=this.tokenizeInline(r,o),c()):a.alt=this.decode.raw(this.unescape(r),o)||null,t(m)(a))}}}var eo;eo=oo,oo.locator=function(t,e){var n=t.indexOf("**",e),r=t.indexOf("__",e);return-1===r?n:-1===n?r:r<n?r:n};var no="\\",ro="*",io="_";function oo(t,e,n){var r,i,o,a,c,s,f,l=0,u=e.charAt(l);if(!(u!==ro&&u!==io||e.charAt(++l)!==u||(i=this.options.pedantic,c=(o=u)+o,s=e.length,l++,a="",u="",i&&Kn(e.charAt(l)))))for(;l<s;){if(f=u,!((u=e.charAt(l))!==o||e.charAt(l+1)!==o||i&&Kn(f))&&(u=e.charAt(l+2))!==o){if(!Ie(a))return;return!!n||((r=t.now()).column+=2,r.offset+=2,t(c+a+c)({type:"strong",children:this.tokenizeInline(a,r)}))}i||u!==no||(a+=u,u=e.charAt(++l)),a+=u,l++}}var ao,co=function(t){return fo.test("number"==typeof t?so(t):t.charAt(0))},so=String.fromCharCode,fo=/\w/;ao=po,po.locator=function(t,e){var n=t.indexOf("*",e),r=t.indexOf("_",e);return-1===r?n:-1===n?r:r<n?r:n};var lo="*",uo="_",ho="\\";function po(t,e,n){var r,i,o,a,c,s,f,l=0,u=e.charAt(l);if(!(u!==lo&&u!==uo||(i=this.options.pedantic,c=u,o=u,s=e.length,l++,a="",u="",i&&Kn(e.charAt(l)))))for(;l<s;){if(f=u,!((u=e.charAt(l))!==o||i&&Kn(f))){if((u=e.charAt(++l))!==o){if(!Ie(a)||f===o)return;if(!i&&o===uo&&co(u)){a+=o;continue}return!!n||((r=t.now()).column++,r.offset++,t(c+a+o)({type:"emphasis",children:this.tokenizeInline(a,r)}))}a+=o}i||u!==ho||(a+=u,u=e.charAt(++l)),a+=u,l++}}var mo;mo=yo,yo.locator=function(t,e){return t.indexOf("~~",e)};var go="~",vo="~~";function yo(t,e,n){var r,i,o,a="",c="",s="",f="";if(this.options.gfm&&e.charAt(0)===go&&e.charAt(1)===go&&!Kn(e.charAt(2)))for(r=1,i=e.length,(o=t.now()).column+=2,o.offset+=2;++r<i;){if(!((a=e.charAt(r))!==go||c!==go||s&&Kn(s)))return!!n||t(vo+f+vo)({type:"delete",children:this.tokenizeInline(f,o)});f+=c,s=c,c=a}}var Ao;Ao=xo,xo.locator=function(t,e){return t.indexOf("`",e)};var ko=10,bo=32,wo=96;function xo(t,e,n){for(var r,i,o,a,c,s,f=e.length,l=0;l<f&&e.charCodeAt(l)===wo;)l++;if(0!==l&&l!==f){for(r=l,c=e.charCodeAt(l);l<f;){if(a=c,c=e.charCodeAt(l+1),a===wo){if(void 0===i&&(i=l),o=l+1,c!==wo&&o-i===r){s=!0;break}}else void 0!==i&&(i=void 0,o=void 0);l++}if(s){if(n)return!0;if(l=r,f=i,a=e.charCodeAt(l),c=e.charCodeAt(f-1),s=!1,f-l>2&&(a===bo||a===ko)&&(c===bo||c===ko)){for(l++,f--;l<f;){if((a=e.charCodeAt(l))!==bo&&a!==ko){s=!0;break}l++}!0===s&&(r++,i--)}return t(e.slice(0,o))({type:"inlineCode",value:e.slice(r,i)})}}}var Oo;Oo=zo,zo.locator=function(t,e){for(var n=t.indexOf("\n",e);n>e&&" "===t.charAt(n-1);)n--;return n};var Co=" ",jo="\n",To=2;function zo(t,e,n){for(var r,i=e.length,o=-1,a="";++o<i;){if((r=e.charAt(o))===jo){if(o<To)return;return!!n||t(a+=r)({type:"break"})}if(r!==Co)return;a+=r}}function Eo(t,e){this.file=e,this.offset={},this.options=V(this.options),this.setOptions({}),this.inList=!1,this.inBlock=!1,this.inLink=!1,this.atStart=!0,this.toOffset=J(e).toOffset,this.unescape=tt(this,"escape"),this.decode=Dt(this)}var Io=Eo,Lo=Eo.prototype;function Po(t){var e,n=[];for(e in t)n.push(e);return n}Lo.setOptions=function(t){var e,n,r=this.options;if(null==t)t={};else{if("object"!=typeof t)throw new Error("Invalid value `"+t+"` for setting `options`");t=V(t)}for(e in Kt){if(null==(n=t[e])&&(n=r[e]),"blocks"!==e&&"boolean"!=typeof n||"blocks"===e&&"object"!=typeof n)throw new Error("Invalid value `"+n+"` for setting `options."+e+"`");t[e]=n}return this.options=t,this.escape=Zt(t),this},Lo.parse=function(){var t,e=String(this.file),n={line:1,column:1,offset:0},r=V(n);return 65279===(e=e.replace(pe,he)).charCodeAt(0)&&(e=e.slice(1),r.column++,r.offset++),t={type:"root",children:this.tokenizeBlock(e,r),position:{start:n,end:this.eof||V(n)}},this.options.position||function(t,e){ie(t,e?fe:le)}(t,!0),t},Lo.options=Kt,Lo.exitStart=G("atStart",!0),Lo.enterList=G("inList",!1),Lo.enterLink=G("inLink",!1),Lo.enterBlock=G("inBlock",!1),Lo.interruptParagraph=[["thematicBreak"],["list"],["atxHeading"],["fencedCode"],["blockquote"],["html"],["setextHeading",{commonmark:!1}],["definition",{commonmark:!1}]],Lo.interruptList=[["atxHeading",{pedantic:!1}],["fencedCode",{pedantic:!1}],["thematicBreak",{pedantic:!1}],["definition",{commonmark:!1}]],Lo.interruptBlockquote=[["indentedCode",{commonmark:!0}],["fencedCode",{commonmark:!0}],["atxHeading",{commonmark:!0}],["setextHeading",{commonmark:!0}],["thematicBreak",{commonmark:!0}],["html",{commonmark:!0}],["list",{commonmark:!0}],["definition",{commonmark:!1}]],Lo.blockTokenizers={blankLine:function(t,e,n){for(var r,i="",o=0,a=e.length;o<a&&null!=(r=de.exec(e.slice(o)));)o+=r[0].length,i+=r[0];if(""!==i)return!!n||void t(i)},indentedCode:function(t,e,n){for(var r,i,o,a=-1,c=e.length,s="",f="",l="",u="";++a<c;)if(r=e.charAt(a),o)if(o=!1,s+=l,f+=u,l="",u="",r===Ae)l=r,u=r;else for(s+=r,f+=r;++a<c;){if(!(r=e.charAt(a))||r===Ae){u=r,l=r;break}s+=r,f+=r}else if(r===be&&e.charAt(a+1)===r&&e.charAt(a+2)===r&&e.charAt(a+3)===r)l+=we,a+=3,o=!0;else if(r===ke)l+=r,o=!0;else{for(i="";r===ke||r===be;)i+=r,r=e.charAt(++a);if(r!==Ae)break;l+=i+r,u+=r}if(f)return!!n||t(s)({type:"code",lang:null,meta:null,value:ve(f)})},fencedCode:function(t,e,n){var r,i,o,a,c,s,f,l,u,h,p,d,m,g=this.options.gfm,v=e.length+1,y=0,A="";if(g){for(;y<v&&((o=e.charAt(y))===Ce||o===Oe);)A+=o,y++;if(d=y,(o=e.charAt(y))===je||o===Te){for(y++,i=o,r=1,A+=o;y<v&&(o=e.charAt(y))===i;)A+=o,r++,y++;if(!(r<ze)){for(;y<v&&((o=e.charAt(y))===Ce||o===Oe);)A+=o,y++;for(a="",f="";y<v&&(o=e.charAt(y))!==xe&&(i!==Te||o!==i);)o===Ce||o===Oe?f+=o:(a+=f+o,f=""),y++;if(!(o=e.charAt(y))||o===xe){if(n)return!0;(m=t.now()).column+=A.length,m.offset+=A.length,A+=a,a=this.decode.raw(this.unescape(a),m),f&&(A+=f),f="",h="",p="",l="",u="";for(var k=!0;y<v;)if(l+=h,u+=p,h="",p="",(o=e.charAt(y))===xe){for(k?(A+=o,k=!1):(h+=o,p+=o),f="",y++;y<v&&(o=e.charAt(y))===Ce;)f+=o,y++;if(h+=f,p+=f.slice(d),!(f.length>=Ee)){for(f="";y<v&&(o=e.charAt(y))===i;)f+=o,y++;if(h+=f,p+=f,!(f.length<r)){for(f="";y<v&&((o=e.charAt(y))===Ce||o===Oe);)h+=o,p+=o,y++;if(!o||o===xe)break}}}else l+=o,p+=o,y++;for(A+=l+h,y=-1,v=a.length;++y<v;)if((o=a.charAt(y))===Ce||o===Oe)c||(c=a.slice(0,y));else if(c){s=a.slice(y);break}return t(A)({type:"code",lang:c||a||null,meta:s||null,value:u})}}}}},blockquote:function(t,e,n){for(var r,i,o,a,c,s,f,l,u,h=this.offset,p=this.blockTokenizers,d=this.interruptBlockquote,m=t.now(),g=m.line,v=e.length,y=[],A=[],k=[],b=0;b<v&&((i=e.charAt(b))===Se||i===_e);)b++;if(e.charAt(b)===Me){if(n)return!0;for(b=0;b<v;){for(f=b,l=!1,-1===(a=e.indexOf(Pe,b))&&(a=v);b<v&&((i=e.charAt(b))===Se||i===_e);)b++;if(e.charAt(b)===Me?(b++,l=!0,e.charAt(b)===Se&&b++):b=f,c=e.slice(b,a),!l&&!Ie(c)){b=f;break}if(!l&&(o=e.slice(b),Le(d,p,this,[t,o,!0])))break;s=f===b?c:e.slice(f,a),k.push(b-f),y.push(s),A.push(c),b=a+1}for(b=-1,v=k.length,r=t(y.join(Pe));++b<v;)h[g]=(h[g]||0)+k[b],g++;return u=this.enterBlock(),A=this.tokenizeBlock(A.join(Pe),m),u(),r({type:"blockquote",children:A})}},atxHeading:function(t,e,n){for(var r,i,o,a=this.options.pedantic,c=e.length+1,s=-1,f=t.now(),l="",u="";++s<c;){if((r=e.charAt(s))!==$e&&r!==Be){s--;break}l+=r}for(o=0;++s<=c;){if((r=e.charAt(s))!==De){s--;break}l+=r,o++}if(!(o>qe)&&o&&(a||e.charAt(s+1)!==De)){for(c=e.length+1,i="";++s<c;){if((r=e.charAt(s))!==$e&&r!==Be){s--;break}i+=r}if(a||0!==i.length||!r||r===Ne){if(n)return!0;for(l+=i,i="",u="";++s<c&&(r=e.charAt(s))&&r!==Ne;)if(r===$e||r===Be||r===De){for(;r===$e||r===Be;)i+=r,r=e.charAt(++s);if(a||!u||i||r!==De){for(;r===De;)i+=r,r=e.charAt(++s);for(;r===$e||r===Be;)i+=r,r=e.charAt(++s);s--}else u+=r}else u+=i+r,i="";return f.column+=l.length,f.offset+=l.length,t(l+=u+i)({type:"heading",depth:o,children:this.tokenizeInline(u,f)})}}},thematicBreak:function(t,e,n){for(var r,i,o,a,c=-1,s=e.length+1,f="";++c<s&&((r=e.charAt(c))===Re||r===Ue);)f+=r;if(r===Ze||r===We||r===Ve)for(i=r,f+=r,o=1,a="";++c<s;)if((r=e.charAt(c))===i)o++,f+=a+i,a="";else{if(r!==Ue)return o>=Xe&&(!r||r===He)?(f+=a,!!n||t(f)({type:"thematicBreak"})):void 0;a+=r}},list:function(t,e,n){for(var r,i,o,a,c,s,f,l,u,h,p,d,m,g,v,y,A,k,b,w,x,O,C,j=this.options.commonmark,T=this.options.pedantic,z=this.blockTokenizers,E=this.interruptList,I=0,L=e.length,P=null,_=!1;I<L&&((a=e.charAt(I))===un||a===fn);)I++;if((a=e.charAt(I))===rn||a===an||a===cn)c=a,o=!1;else{for(o=!0,i="";I<L&&(a=e.charAt(I),it(a));)i+=a,I++;if(a=e.charAt(I),!i||!(a===sn||j&&a===hn))return;if(n&&"1"!==i)return;P=parseInt(i,10),c=a}if((a=e.charAt(++I))===fn||a===un||!(T||a!==ln&&""!==a)){if(n)return!0;for(I=0,g=[],v=[],y=[];I<L;){for(f=I,l=!1,C=!1,-1===(s=e.indexOf(ln,I))&&(s=L),r=0;I<L;){if((a=e.charAt(I))===un)r+=dn-r%dn;else{if(a!==fn)break;r++}I++}if(A&&r>=A.indent&&(C=!0),a=e.charAt(I),u=null,!C){if(a===rn||a===an||a===cn)u=a,I++,r++;else{for(i="";I<L&&(a=e.charAt(I),it(a));)i+=a,I++;a=e.charAt(I),I++,i&&(a===sn||j&&a===hn)&&(u=a,r+=i.length+1)}if(u)if((a=e.charAt(I))===un)r+=dn-r%dn,I++;else if(a===fn){for(O=I+dn;I<O&&e.charAt(I)===fn;)I++,r++;I===O&&e.charAt(I)===fn&&(I-=dn-1,r-=dn-1)}else a!==ln&&""!==a&&(u=null)}if(u){if(!T&&c!==u)break;l=!0}else j||C||e.charAt(f)!==fn?j&&A&&(C=r>=A.indent||r>dn):C=!0,l=!1,I=f;if(p=e.slice(f,s),h=f===I?p:e.slice(I,s),(u===rn||u===on||u===cn)&&z.thematicBreak.call(this,t,p,!0))break;if(d=m,m=!l&&!Ie(h).length,C&&A)A.value=A.value.concat(y,p),v=v.concat(y,p),y=[];else if(l)0!==y.length&&(_=!0,A.value.push(""),A.trail=y.concat()),A={value:[p],indent:r,trail:[]},g.push(A),v=v.concat(y,p),y=[];else if(m){if(d&&!j)break;y.push(p)}else{if(d)break;if(Le(E,z,this,[t,p,!0]))break;A.value=A.value.concat(y,p),v=v.concat(y,p),y=[]}I=s+1}for(w=t(v.join(ln)).reset({type:"list",ordered:o,start:P,spread:_,children:[]}),k=this.enterList(),b=this.enterBlock(),I=-1,L=g.length;++I<L;)A=g[I].value.join(ln),x=t.now(),t(A)(kn(this,A,x),w),A=g[I].trail.join(ln),I!==L-1&&(A+=ln),t(A);return k(),b(),w}},setextHeading:function(t,e,n){for(var r,i,o,a,c,s=t.now(),f=e.length,l=-1,u="";++l<f;){if((o=e.charAt(l))!==xn||l>=jn){l--;break}u+=o}for(r="",i="";++l<f;){if((o=e.charAt(l))===bn){l--;break}o===xn||o===wn?i+=o:(r+=i+o,i="")}if(s.column+=u.length,s.offset+=u.length,u+=r+i,o=e.charAt(++l),a=e.charAt(++l),o===bn&&(a===On||a===Cn)){for(u+=o,i=a,c=a===On?Tn:zn;++l<f;){if((o=e.charAt(l))!==a){if(o!==bn)return;l--;break}i+=o}return!!n||t(u+i)({type:"heading",depth:c,children:this.tokenizeInline(r,s)})}},html:function(t,e,n){for(var r,i,o,a,c,s,f,l=this.options.blocks.join("|"),u=new RegExp("^</?("+l+")(?=(\\s|/?>|$))","i"),h=e.length,p=0,d=[[Bn,$n,!0],[Dn,qn,!0],[Rn,Hn,!0],[Un,Zn,!0],[Wn,Vn,!0],[u,Xn,!0],[Fn,Xn,!1]];p<h&&((a=e.charAt(p))===_n||a===Sn);)p++;if(e.charAt(p)===Nn){for(r=-1===(r=e.indexOf(Mn,p+1))?h:r,i=e.slice(p,r),o=-1,c=d.length;++o<c;)if(d[o][0].test(i)){s=d[o];break}if(s){if(n)return s[2];if(p=r,!s[1].test(i))for(;p<h;){if(r=-1===(r=e.indexOf(Mn,p+1))?h:r,i=e.slice(p+1,r),s[1].test(i)){i&&(p=r);break}p=r}return t(f=e.slice(0,p))({type:"html",value:f})}}},definition:function(t,e,n){for(var r,i,o,a,c,s,f,l,u=this.options.commonmark,h=0,p=e.length,d="";h<p&&((a=e.charAt(h))===ir||a===rr);)d+=a,h++;if((a=e.charAt(h))===or){for(h++,d+=a,o="";h<p&&(a=e.charAt(h))!==ar;)a===er&&(o+=a,h++,a=e.charAt(h)),o+=a,h++;if(o&&e.charAt(h)===ar&&e.charAt(h+1)===fr){for(s=o,h=(d+=o+ar+fr).length,o="";h<p&&((a=e.charAt(h))===rr||a===ir||a===nr);)d+=a,h++;if(o="",r=d,(a=e.charAt(h))===lr){for(h++;h<p&&hr(a=e.charAt(h));)o+=a,h++;if((a=e.charAt(h))===hr.delimiter)d+=lr+o+a,h++;else{if(u)return;h-=o.length+1,o=""}}if(!o){for(;h<p&&pr(a=e.charAt(h));)o+=a,h++;d+=o}if(o){for(f=o,o="";h<p&&((a=e.charAt(h))===rr||a===ir||a===nr);)o+=a,h++;if(c=null,(a=e.charAt(h))===Jn?c=Jn:a===tr?c=tr:a===cr&&(c=sr),c){if(!o)return;for(h=(d+=o+a).length,o="";h<p&&(a=e.charAt(h))!==c;){if(a===nr){if(h++,(a=e.charAt(h))===nr||a===c)return;o+=nr}o+=a,h++}if((a=e.charAt(h))!==c)return;i=d,d+=o+a,h++,l=o,o=""}else o="",h=d.length;for(;h<p&&((a=e.charAt(h))===rr||a===ir);)d+=a,h++;return(a=e.charAt(h))&&a!==nr?void 0:!!n||(r=t(r).test().end,f=this.decode.raw(this.unescape(f),r,{nonTerminated:!1}),l&&(i=t(i).test().end,l=this.decode.raw(this.unescape(l),i)),t(d)({type:"definition",identifier:Qn(s),label:s,title:l||null,url:f}))}}}},table:function(t,e,n){var r,i,o,a,c,s,f,l,u,h,p,d,m,g,v,y,A,k,b,w,x,O;if(this.options.gfm){for(r=0,y=0,s=e.length+1,f=[];r<s;){if(w=e.indexOf(gr,r),x=e.indexOf(br,r+1),-1===w&&(w=e.length),-1===x||x>w){if(y<xr)return;break}f.push(e.slice(r,w)),y++,r=w+1}for(a=f.join(gr),r=0,s=(i=f.splice(1,1)[0]||[]).length,y--,o=!1,p=[];r<s;){if((u=i.charAt(r))===br){if(h=null,!1===o){if(!1===O)return}else p.push(o),o=!1;O=!1}else if(u===yr)h=!0,o=o||null;else if(u===Ar)o=o===Or?Cr:h&&null===o?jr:Or;else if(!Kn(u))return;r++}if(!1!==o&&p.push(o),!(p.length<wr)){if(n)return!0;for(v=-1,k=[],b=t(a).reset({type:"table",align:p,children:k});++v<y;){for(A=f[v],c={type:"tableRow",children:[]},v&&t(gr),t(A).reset(c,b),s=A.length+1,r=0,l="",d="",m=!0;r<s;)(u=A.charAt(r))!==mr&&u!==vr?(""===u||u===br?m?t(u):(!d&&!u||m||(a=d,l.length>1&&(u?(a+=l.slice(0,-1),l=l.charAt(l.length-1)):(a+=l,l="")),g=t.now(),t(a)({type:"tableCell",children:this.tokenizeInline(d,g)},c)),t(l+u),l="",d=""):(l&&(d+=l,l=""),d+=u,u===kr&&r!==s-2&&(d+=A.charAt(r+1),r++)),m=!1,r++):(d?l+=u:t(u),r++);v||t(gr+i)}return b}}},paragraph:function(t,e,n){for(var r,i,o,a,c,s=this.options.commonmark,f=this.blockTokenizers,l=this.interruptParagraph,u=e.indexOf(zr),h=e.length;u<h;){if(-1===u){u=h;break}if(e.charAt(u+1)===zr)break;if(s){for(a=0,r=u+1;r<h;){if((o=e.charAt(r))===Tr){a=Ir;break}if(o!==Er)break;a++,r++}if(a>=Ir&&o!==zr){u=e.indexOf(zr,u+1);continue}}if(i=e.slice(u+1),Le(l,f,this,[t,i,!0]))break;if(r=u,-1!==(u=e.indexOf(zr,u+1))&&""===Ie(e.slice(r,u))){u=r;break}}return i=e.slice(0,u),!!n||(c=t.now(),t(i=ve(i))({type:"paragraph",children:this.tokenizeInline(i,c)}))}},Lo.inlineTokenizers={escape:dr,autoLink:Sr,url:Ur,email:pi,html:ki,link:Ei,reference:Zi,strong:eo,emphasis:ao,deletion:mo,code:Ao,break:Oo,text:function(t,e,n){var r,i,o,a,c,s,f,l,u,h;if(n)return!0;for(a=(r=this.inlineMethods).length,i=this.inlineTokenizers,o=-1,u=e.length;++o<a;)"text"!==(l=r[o])&&i[l]&&((f=i[l].locator)||t.file.fail("Missing locator: `"+l+"`"),-1!==(s=f.call(this,e,1))&&s<u&&(u=s));c=e.slice(0,u),h=t.now(),this.decode(c,h,function(e,n,r){t(r||e)({type:"text",value:e})})}},Lo.blockMethods=Po(Lo.blockTokenizers),Lo.inlineMethods=Po(Lo.inlineTokenizers),Lo.tokenizeBlock=Ut("block"),Lo.tokenizeInline=Ut("inline"),Lo.tokenizeFactory=Ut;var _o;function So(t){var e=this.data("settings"),n=K(Io);n.prototype.options=V(n.prototype.options,e,t),this.Parser=n}_o=So,So.Parser=Io;var Mo={},No={};(function(t){const e=t.crel||Mo;No=function(t){t=Object.assign({ignoreParagraphs:!1},t),this.Compiler=class{constructor(t,e){this.node=t,this.file=e}_toDOM(e){const n=[];if("root"===e.type&&t.ignoreParagraphs)for(let t=0;t<e.children.length;t++){const r=e.children[t];if(r.children&&0!==r.children.length){if(t>0){const i=r.position.start.line-e.children[t-1].position.end.line;for(let t=0;t<i;t++)n.push("\n")}n.push(...this._toDOM(r))}}else for(const t of e.children){const e=t.children?()=>this._toDOM(t):()=>t.value,r=(this.visitors[t.type]||this.visitors._default)(t,e);n.push(r)}return n}compile(){return this._toDOM(this.node)}},this.Compiler.prototype.visitors={_default:(t,n)=>e("span",{"data-mdst-type":t.type},n()),paragraph:(t,n)=>e("p",n()),text:(t,e)=>t.value,break:(t,n)=>e("br"),link:(t,n)=>e("a",{href:t.url,target:"_blank"},n()),emphasis:(t,n)=>e("i",n()),strong:(t,n)=>e("b",n()),underline:(t,n)=>e("u",n()),delete:(t,n)=>e("s",n()),inlineCode:(t,n)=>e("code",n()),mention:(t,n)=>e("span",{class:"mention"},n()),coordinate:(t,n)=>e("a",{href:t.url},n()),emoji:(t,n)=>e("span",{title:`:${t.emojiName}:`},t.value),fontAwesomeIcon:(t,n)=>e("i",{class:t.classes.join(" ")})}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});const Bo={methodWhitelist:function(t){const e=this.Parser.prototype;if(t){if(null!=t.block)for(let n=e.blockMethods.length-1;n>=0;n--)(t.aggresive||"paragraph"!==e.blockMethods[n])&&(t.block.includes(e.blockMethods[n])||e.blockMethods.splice(n,1));if(null!=t.inline)for(let n=e.inlineMethods.length-1;n>=0;n--)(t.aggresive||"text"!==e.inlineMethods[n])&&(t.inline.includes(e.inlineMethods[n])||e.inlineMethods.splice(n,1))}},underline:function(){const t=this.Parser.prototype,e=Math.max(0,this.Parser.prototype.inlineMethods.indexOf("strong"));function n(t,e,n){if(!e.startsWith("__"))return!1;for(let r=2;r<e.length;r++)if("__"===e.substr(r,2)&&"_"!==e.charAt(r+2)){if(n)return!0;const i=t.now();i.column++,i.offset++;const o=e.substr(0,r+2),a=e.substring(2,r);if(4===o.length||0===a.trim().length)return;return t(o)({type:"underline",children:this.tokenizeInline(a,i)})}}t.inlineMethods.splice(e,0,"underline"),n.notInLink=!0,n.locator=function(t,e){let n=t.indexOf("__",e);return-1===n||"_"===t.charAt(n-1)?-1:n},t.inlineTokenizers.underline=n},mention:function(t){function e(e,n,r){const i=/^@([a-z0-9_-]+)/i.exec(n);if(i){const[n,o]=i;return t&&t.mentionCallback&&t.mentionCallback(o),!!r||e(n)({type:"mention",value:n,username:o})}return!1}this.Parser.prototype.inlineMethods.splice(0,0,"mention"),e.notInLink=!0,e.locator=function(t,e){return t.indexOf("@",e)},this.Parser.prototype.inlineTokenizers.mention=e},emoji:function(t){if(!t)throw new Error("Missing configuration for emoji plugin");if(!t.emojiDB)throw new Error("Missing emojiDB configuration for emoji plugin");if(!t.emojiRegex)throw new Error("Missing emojiRegex configuration for emoji plugin");const e=Object.keys(t.emojiDB),n=Object.values(t.emojiDB);function r(e,n,r){const i=/^:([a-z0-9_-]+):/i.exec(n);if(i){const[n,o]=i,a=o.toLowerCase();if(a in t.emojiDB)return!!r||e(n)({type:"emoji",value:t.emojiDB[a],emojiName:o})}return!1}function i(r,i,o){const a=i.match(t.emojiRegex);if(a&&0===a.index){const[t]=a;let i=null;for(let e=0;e<n.length;e++)if(t.startsWith(n[e])){i=e;break}if(null===i)return;return!!o||r(t)({type:"emoji",value:t,emojiName:e[i]})}return!1}this.Parser.prototype.inlineMethods.splice(0,0,"emoji_name"),r.notInLink=!0,r.locator=function(t,e){return t.indexOf(":",e)},this.Parser.prototype.inlineTokenizers.emoji_name=r,this.Parser.prototype.inlineMethods.splice(0,0,"emoji_raw"),i.notInLink=!0,i.locator=function(e,n){const r=e.substr(n).match(t.emojiRegex);return r?n+r.index:-1},this.Parser.prototype.inlineTokenizers.emoji_raw=i},coordinate:function(){function t(t,e,n){const r=/^\(([0-9]+)[., ]{1,2}([0-9]+)[., ]{0,2}([0-9]+)?x?\)/i.exec(e);if(r){const[e,i,o]=r.slice(1).map(t=>parseInt(t));if(isNaN(e)||isNaN(i))return!1;if(n)return!0;const a=this.enterLink(),c=this.tokenizeInline(r[0],t.now());return a(),t(r[0])({type:"coordinate",children:c,x:e,y:i,scale:isNaN(o)?null:o,url:`#x=${e}&y=${i}${isNaN(o)?"":`&scale=${o}`}`})}return!1}this.Parser.prototype.inlineMethods.splice(0,0,"coordinate"),t.notInLink=!0,t.locator=function(t,e){return t.indexOf("(",e)},this.Parser.prototype.inlineTokenizers.coordinate=t},fontAwesomeIcon:function(){function t(t,e,n){const r=e.indexOf("]");if(!e.startsWith("[fa")||-1===r)return!1;if(n)return!0;const i=e.substring(1,r).split(".");return t(e.substr(0,r+1))({type:"fontAwesomeIcon",classes:i})}this.Parser.prototype.inlineMethods.splice(0,0,"fontAwesomeIcon"),t.notInLink=!0,t.locator=function(t,e){return t.indexOf("[fa",e)},this.Parser.prototype.inlineTokenizers.fontAwesomeIcon=t}};return{processor:W().use(_o,{gfm:!0,commonmark:!0}).use(Bo.underline).use(Bo.mention).use(Bo.emoji).use(Bo.coordinate).use(Bo.fontAwesomeIcon).use(Bo.methodWhitelist).use(No,{ignoreParagraphs:!0}),plugins:Bo,remarkCrel:No}});
  