mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
4 lines
110 KiB
JavaScript
4 lines
110 KiB
JavaScript
/*! showdown v 3.0.0-alpha - 03-04-2022 */
|
||
!function(){function a(e){"use strict";let t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:1,describe:"The header blocks level start",type:"number"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"},moreStyling:{defaultValue:!1,describe:"Adds some useful styling css classes in the generated html",type:"boolean"},relativePathBaseUrl:{defaultValue:"",describe:"Prepends a base URL to relative paths",type:"string"}};if(!1===e)return JSON.parse(JSON.stringify(t));let r={};for(var a in t)t.hasOwnProperty(a)&&(r[a]=t[a].defaultValue);return r}var n,y={},r={},h={},p=a(!0),m="vanilla",d={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:a(!0),allOn:function(){"use strict";let e=a(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}()};function _(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",a={valid:!0,error:""};y.helper.isArray(e)||(e=[e]);for(var n=0;n<e.length;++n){var s=r+" sub-extension "+n+": ",o=e[n];if("object"!=typeof o)return a.valid=!1,a.error=s+"must be an object, but "+typeof o+" given",a;if(!y.helper.isString(o.type))return a.valid=!1,a.error=s+'property "type" must be a string, but '+typeof o.type+" given",a;var i=o.type=o.type.toLowerCase();if("lang"!==(i="html"===(i="language"===i?o.type="lang":i)?o.type="output":i)&&"output"!==i&&"listener"!==i)return a.valid=!1,a.error=s+"type "+i+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',a;if("listener"===i){if(y.helper.isUndefined(o.listeners))return a.valid=!1,a.error=s+'. Extensions of type "listener" must have a property called "listeners"',a}else if(y.helper.isUndefined(o.filter)&&y.helper.isUndefined(o.regex))return a.valid=!1,a.error=s+i+' extensions must define either a "regex" property or a "filter" method',a;if(o.listeners){if("object"!=typeof o.listeners)return a.valid=!1,a.error=s+'"listeners" property must be an object but '+typeof o.listeners+" given",a;for(var l in o.listeners)if(o.listeners.hasOwnProperty(l)&&"function"!=typeof o.listeners[l])return a.valid=!1,a.error=s+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof o.listeners[l]+" given",a}if(o.filter){if("function"!=typeof o.filter)return a.valid=!1,a.error=s+'"filter" must be a function, but '+typeof o.filter+" given",a}else if(o.regex){if(y.helper.isString(o.regex)&&(o.regex=new RegExp(o.regex,"g")),!(o.regex instanceof RegExp))return a.valid=!1,a.error=s+'"regex" property must either be a string or a RegExp object, but '+typeof o.regex+" given",a;if(y.helper.isUndefined(o.replace))return a.valid=!1,a.error=s+'"regex" extensions must implement a replace string or function',a}}return a}if(y.helper={},y.extensions={},y.setOption=function(e,t){"use strict";return p[e]=t,this},y.getOption=function(e){"use strict";return p[e]},y.getOptions=function(){"use strict";return p},y.resetOptions=function(){"use strict";p=a(!0)},y.setFlavor=function(e){"use strict";if(!d.hasOwnProperty(e))throw Error(e+" flavor was not found");y.resetOptions();var t,r=d[e];for(t in m=e,r)r.hasOwnProperty(t)&&(p[t]=r[t])},y.getFlavor=function(){"use strict";return m},y.getFlavorOptions=function(e){"use strict";if(d.hasOwnProperty(e))return d[e]},y.getDefaultOptions=a,y.subParser=function(e,t){"use strict";if(!y.helper.isString(e))throw Error("showdown.subParser function first argument must be a string (the name of the subparser)");if(void 0===t){if(r.hasOwnProperty(e))return r[e];throw Error("SubParser named "+e+" not registered!")}r[e]=t},y.extension=function(e,t){"use strict";if(!y.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=y.helper.stdExtName(e),y.helper.isUndefined(t)){if(h.hasOwnProperty(e))return h[e];throw Error("Extension named "+e+" is not registered!")}"function"==typeof t&&(t=t());var r=_(t=y.helper.isArray(t)?t:[t],e);if(!r.valid)throw Error(r.error);h[e]=t},y.getAllExtensions=function(){"use strict";return h},y.removeExtension=function(e){"use strict";delete h[e]},y.resetExtensions=function(){"use strict";h={}},y.validateExtension=function(e){"use strict";e=_(e,null);return!!e.valid||(console.warn(e.error),!1)},y.hasOwnProperty("helper")||(y.helper={}),void 0===this&&"undefined"!=typeof window)y.helper.document=window.document;else{if(void 0===this.document&&void 0===this.window){let e=require("jsdom");this.window=new e.JSDOM("",{}).window}y.helper.document=this.window.document}function s(e,t){"use strict";return"¨E"+t.charCodeAt(0)+"E"}y.helper.isString=function(e){"use strict";return"string"==typeof e||e instanceof String},y.helper.isNumber=function(e){return!isNaN(e)},y.helper.isFunction=function(e){"use strict";return e&&"[object Function]"==={}.toString.call(e)},y.helper.isArray=function(e){"use strict";return Array.isArray(e)},y.helper.isUndefined=function(e){"use strict";return void 0===e},y.helper.isObject=function(e){"use strict";return"object"==typeof e&&!Array.isArray(e)&&null!==e},y.helper.forEach=function(t,r){"use strict";if(y.helper.isUndefined(t))throw new Error("obj param is required");if(y.helper.isUndefined(r))throw new Error("callback param is required");if(!y.helper.isFunction(r))throw new Error("callback param must be a function/closure");if("function"==typeof t.forEach)t.forEach(r);else if(y.helper.isArray(t))for(let e=0;e<t.length;e++)r(t[e],e,t);else{if("object"!=typeof t)throw new Error("obj does not seem to be an array or an iterable object");for(var e in t)t.hasOwnProperty(e)&&r(t[e],e,t)}},y.helper.stdExtName=function(e){"use strict";return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},y.helper.escapeCharactersCallback=s,y.helper.escapeCharacters=function(e,t,r){"use strict";let a="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(a="\\\\"+a);t=new RegExp(a,"g");return e=e.replace(t,s)};function l(e,t,r,a){"use strict";let n=a||"",s=-1<n.indexOf("g"),o=new RegExp(t+"|"+r,"g"+n.replace(/g/g,"")),i=new RegExp(t,n.replace(/g/g,"")),l=[],c,u,h,p,m;do{for(c=0;h=o.exec(e);)if(i.test(h[0]))c++||(u=o.lastIndex,p=u-h[0].length);else if(c&&!--c){m=h.index+h[0].length;var d={left:{start:p,end:u},match:{start:u,end:h.index},right:{start:h.index,end:m},wholeMatch:{start:p,end:m}};if(l.push(d),!s)return l}}while(c&&(o.lastIndex=u));return l}function o(i,l,c,u,h){return h=!!h,function(e,t,r,a,n,s,o){return/\n\n/.test(e)?e:b(g(i,l+".captureStart",e,t,r,a,o,c,u),c,u,h)}}function c(i,l,c,u,h){return function(e,t,r,a,n,s,o){return a=y.helper.applyBaseUrl(c.relativePathBaseUrl,a),b(g(i,l+".captureStart",e,t,r,a,o,c,u),c,u,h)}}function g(e,t,r,a,n,s,o,i,l){return l.converter._dispatch(t,r,i,l,{regexp:e,matches:{wholeMatch:r,text:a,id:n,url:s,title:o}})}function b(e,t,r,a){var n=e.matches.wholeMatch,s=e.matches.text,o=e.matches.id,i=e.matches.url,l="",e=(e=e.matches.title)||"",o=o?o.toLowerCase():"";if(a)i="";else if(!i){if(i="#"+(o=o||s.toLowerCase().replace(/ ?\n/g," ")),y.helper.isUndefined(r.gUrls[o]))return n;i=r.gUrls[o],y.helper.isUndefined(r.gTitles[o])||(e=r.gTitles[o])}i=i.replace(y.helper.regexes.asteriskDashTildeAndColon,y.helper.escapeCharactersCallback),""!==e&&null!==e&&(e=' title="'+(e=(e=e.replace(/"/g,""")).replace(y.helper.regexes.asteriskDashTildeAndColon,y.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(i)&&(l=' rel="noopener noreferrer" target="¨E95Eblank"'),s=y.subParser("makehtml.codeSpan")(s,t,r),s=y.subParser("makehtml.emoji")(s,t,r),s=y.subParser("makehtml.underline")(s,t,r),s=y.subParser("makehtml.emphasisAndStrong")(s,t,r),s=y.subParser("makehtml.strikethrough")(s,t,r),s=y.subParser("makehtml.ellipsis")(s,t,r);a='<a href="'+i+'"'+e+l+">"+(s=y.subParser("makehtml.hashHTMLSpans")(s,t,r))+"</a>";return y.subParser("makehtml.hashHTMLSpans")(a,t,r)}y.helper.matchRecursiveRegExp=function(t,e,r,a){"use strict";let n=l(t,e,r,a),s=[];for(let e=0;e<n.length;++e)s.push([t.slice(n[e].wholeMatch.start,n[e].wholeMatch.end),t.slice(n[e].match.start,n[e].match.end),t.slice(n[e].left.start,n[e].left.end),t.slice(n[e].right.start,n[e].right.end)]);return s},y.helper.replaceRecursiveRegExp=function(r,a,e,t,n){"use strict";if(!y.helper.isFunction(a)){let e=a;a=function(){return e}}let s=l(r,e,t,n),o=r,i=s.length;if(0<i){let t=[];0!==s[0].wholeMatch.start&&t.push(r.slice(0,s[0].wholeMatch.start));for(let e=0;e<i;++e)t.push(a(r.slice(s[e].wholeMatch.start,s[e].wholeMatch.end),r.slice(s[e].match.start,s[e].match.end),r.slice(s[e].left.start,s[e].left.end),r.slice(s[e].right.start,s[e].right.end))),e<i-1&&t.push(r.slice(s[e].wholeMatch.end,s[e+1].wholeMatch.start));s[i-1].wholeMatch.end<r.length&&t.push(r.slice(s[i-1].wholeMatch.end)),o=t.join("")}return o},y.helper.regexIndexOf=function(e,t,r){"use strict";if(!y.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(!(t instanceof RegExp))throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";e=e.substring(r||0).search(t);return 0<=e?e+(r||0):e},y.helper.splitAtIndex=function(e,t){"use strict";if(y.helper.isString(e))return[e.substring(0,t),e.substring(t)];throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string"},y.helper.encodeEmailAddress=function(e){"use strict";let r=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}],a=(t=function(r){let e;for(let e=0,t=1779033703^r.length;e<r.length;e++)t=(t=Math.imul(t^r.charCodeAt(e),3432918353))<<13|t>>>19;return function(){return e=Math.imul(e^e>>>16,2246822507),e=Math.imul(e^e>>>13,3266489909),(e^=e>>>16)>>>0}}(e),function(){var e=t+=1831565813,e=Math.imul(e^e>>>15,1|e);return(((e^=e+Math.imul(e^e>>>7,61|e))^e>>>14)>>>0)/4294967296});var t;return e=e.replace(/./g,function(e){var t;return e="@"===e?r[Math.floor(2*a())](e):.9<(t=a())?r[2](e):.45<t?r[1](e):r[0](e)})},y.helper.repeat=function(e,t){"use strict";if(!y.helper.isUndefined(String.prototype.repeat))return e.repeat(t);if(e=""+e,t<0)throw new RangeError("repeat count must be non-negative");if(t===1/0)throw new RangeError("repeat count must be less than infinity");if(t=Math.floor(t),0===e.length||0===t)return"";if(e.length*t>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+=e.substring(0,r-e.length)},y.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):((t-=e.length)>r.length&&(r+=y.helper.repeat(r,t/r.length)),String(e)+r.slice(0,t))},y.helper.unescapeHTMLEntities=function(e){"use strict";return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},y.helper._hashHTMLSpan=function(e,t){return"¨C"+(t.gHtmlSpans.push(e)-1)+"C"},y.helper.applyBaseUrl=function(e,t){return t=e&&""!==e&&!y.helper.isAbsolutePath(t)?new y.helper.URLUtils(t,e).href:t},y.helper.isAbsolutePath=function(e){return/(^([a-z]+:)?\/\/)|(^#)/i.test(e)},y.helper.URLUtils=function(e,r){e=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(?:\/\/(?:([^:@\/?#]*)(?::([^:@\/?#]*))?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);if(!e)throw new RangeError;let a=e[1]||"",n=e[2]||"",s=e[3]||"",o=e[4]||"",i=e[5]||"",l=e[6]||"",c=e[7]||"",u=e[8]||"";e=e[9]||"";if(void 0!==r){let e=new y.helper.URLUtils(r);r=""===a&&""===o&&""===n;r&&""===c&&""===u&&(u=e.search),r&&"/"!==c.charAt(0)&&(c=""!==c?(""===e.host&&""===e.username||""!==e.pathname?"":"/")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+c:e.pathname);let t=[];c.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?t.pop():t.push(e)}),c=t.join("").replace(/^\//,"/"===c.charAt(0)?"/":""),r&&(l=e.port,i=e.hostname,o=e.host,s=e.password,n=e.username),""===a&&(a=e.protocol)}this.origin=a+(""!==a||""!==o?"//":"")+o,this.href=a+(""!==a||""!==o?"//":"")+(""!==n?n+(""!==s?":"+s:"")+"@":"")+o+c+u+e,this.protocol=a,this.username=n,this.password=s,this.host=o,this.hostname=i,this.port=l,this.pathname=c,this.search=u,this.hash=e},y.helper.cloneObject=function(t,e){if(e=!!e,null===t||"object"!=typeof t)return t;if(t instanceof Date)return new Date(t);if(e)return"function"==typeof structuredClone?structuredClone(t):JSON.parse(JSON.stringify(t));{let e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}},y.helper._populateAttributes=function(r){let a="";if(!r||!y.helper.isObject(r))return a;for(var n in r)if(r.hasOwnProperty(n)){let e=n,t;if("classes"===n&&(e="class"),null===r[n]||y.helper.isUndefined(r[n]))t=null;else if(y.helper.isArray(r[n]))""===(t=r[n].join(" "))&&(t=null);else if(y.helper.isString(r[n]))t=r[n];else{if(!y.helper.isNumber(r[n]))throw new TypeError('Attribute "'+n+'" must be either an array or string but '+typeof r[n]+" given");t=String(r[n])}a+=null===t?"":" "+e+'="'+t+'"'}return a},y.helper.validateOptions=function(e){if(!y.helper.isObject(e))throw new TypeError("Options must be an object, but "+typeof e+" given");let t=a(!1);for(var r in t)if(t.hasOwnProperty(r))switch(e.hasOwnProperty(r)||(e[r]=t[r].defaultValue),r){case"prefixHeaderId":if("boolean"==typeof e[r]||y.helper.isString(e[r]))break;throw new TypeError("Option prefixHeaderId must be of type boolean or string but "+typeof e[r]+" given");default:if(typeof e[r]!==t[r].type)throw new TypeError("Option "+r+" must be of type "+t[r].type+" but "+typeof e[r]+" given")}return e},y.helper.Event=class{constructor(e,t,r){var{output:r,regexp:a,matches:n,attributes:s,globals:o,options:i,converter:l}=r=r||{};if(!y.helper.isString(e)&&!y.helper.isString(e))throw new TypeError("Event.name must be a string but "+typeof e+" given");this._name=e.toLowerCase(),this.input=t,this.output=r||t,this.regexp=a||null,this.matches=n||{},this.attributes=s||{},this._globals=o||{},this._options=y.helper.cloneObject(i,!0)||{},this._converter=l||void 0}get name(){return this._name}get input(){return this._input}set input(e){if(!y.helper.isString(e))throw new TypeError("Event.input must be a string but "+typeof e+" given");this._input=e}get output(){return this._output}set output(e){if(!y.helper.isString(e)&&null!==e)throw new TypeError("Event.output must be a string but "+typeof e+" given");this._output=e}get regexp(){return this._regexp}set regexp(e){if(!(e instanceof RegExp)&&null!==e)throw new TypeError("Event.regexp must be a RegExp object (or null) but "+typeof e+" given");this._regexp=e}get matches(){return this._matches}set matches(t){if("object"!=typeof t)throw new TypeError("Event.matches must be an object (or null) but "+typeof t+" given");for(var r in this._matches={},t)if(t.hasOwnProperty(r)){let e={};e=/^_(.+)/.test(r)?{enumerable:!0,configurable:!1,writable:!1,value:t[r]}:{enumerable:!0,configurable:!1,writable:!0,value:t[r]},Object.defineProperty(this._matches,r,e)}}get attributes(){return this._attributes}set attributes(e){if("object"!=typeof e)throw new TypeError("Event.attributes must be an object (or null) but "+typeof e+" given");this._attributes=e}set converter(e){this._converter=e}get converter(){return this._converter}get options(){return this._options}get globals(){return this._globals}setInput(e){return this.input=e,this}setOutput(e){return this.output=e,this}setRegexp(e){return this.regexp=e,this}setMatches(e){return this.matches=e,this}setAttributes(e){return this.attributes=e,this}_setOptions(e){return this._options=e,this}_setGlobals(e){return this._globals=e,this}_setConverter(e){return this.converter=e,this}getText(){return this.output}getMatches(){return this.matches}},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),Math.imul||(Math.imul=function(e,t){let r=(4194303&e)*(t|=0);return 4290772992&e&&(r+=(4290772992&e)*t|0),0|r}),y.helper.regexes={asteriskDashTildeAndColon:/([*_:~])/g,asteriskDashAndTilde:/([*_~])/g},y.helper.emojis={100:"💯",1234:"🔢","+1":"👍","-1":"👎","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abacus:"🧮",abc:"🔤",abcd:"🔡",accept:"🉑",adhesive_bandage:"🩹",adult:"🧑",aerial_tramway:"🚡",afghanistan:"🇦🇫",airplane:"✈️",aland_islands:"🇦🇽",alarm_clock:"⏰",albania:"🇦🇱",alembic:"⚗️",algeria:"🇩🇿",alien:"👽",ambulance:"🚑",american_samoa:"🇦🇸",amphora:"🏺",anchor:"⚓",andorra:"🇦🇩",angel:"👼",anger:"💢",angola:"🇦🇴",angry:"😠",anguilla:"🇦🇮",anguished:"😧",ant:"🐜",antarctica:"🇦🇶",antigua_barbuda:"🇦🇬",apple:"🍎",aquarius:"♒",argentina:"🇦🇷",aries:"♈",armenia:"🇦🇲",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰️",artist:"🧑🎨",aruba:"🇦🇼",ascension_island:"🇦🇨",asterisk:"*️⃣",astonished:"😲",astronaut:"🧑🚀",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",australia:"🇦🇺",austria:"🇦🇹",auto_rickshaw:"🛺",avocado:"🥑",axe:"🪓",azerbaijan:"🇦🇿",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badger:"🦡",badminton:"🏸",bagel:"🥯",baggage_claim:"🛄",baguette_bread:"🥖",bahamas:"🇧🇸",bahrain:"🇧🇭",balance_scale:"⚖️",bald_man:"👨🦲",bald_woman:"👩🦲",ballet_shoes:"🩰",balloon:"🎈",ballot_box:"🗳️",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bangladesh:"🇧🇩",banjo:"🪕",bank:"🏦",bar_chart:"📊",barbados:"🇧🇧",barber:"💈",baseball:"⚾",basket:"🧺",basketball:"🏀",basketball_man:"⛹️♂️",basketball_woman:"⛹️♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖️",bear:"🐻",bearded_person:"🧔",bed:"🛏️",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",belarus:"🇧🇾",belgium:"🇧🇪",belize:"🇧🇿",bell:"🔔",bellhop_bell:"🛎️",benin:"🇧🇯",bento:"🍱",bermuda:"🇧🇲",beverage_box:"🧃",bhutan:"🇧🇹",bicyclist:"🚴",bike:"🚲",biking_man:"🚴♂️",biking_woman:"🚴♀️",bikini:"👙",billed_cap:"🧢",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛",black_medium_small_square:"◾",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blond_haired_man:"👱♂️",blond_haired_person:"👱",blond_haired_woman:"👱♀️",blonde_woman:"👱♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blue_square:"🟦",blush:"😊",boar:"🐗",boat:"⛵",bolivia:"🇧🇴",bomb:"💣",bone:"🦴",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bosnia_herzegovina:"🇧🇦",botswana:"🇧🇼",bouncing_ball_man:"⛹️♂️",bouncing_ball_person:"⛹️",bouncing_ball_woman:"⛹️♀️",bouquet:"💐",bouvet_island:"🇧🇻",bow:"🙇",bow_and_arrow:"🏹",bowing_man:"🙇♂️",bowing_woman:"🙇♀️",bowl_with_spoon:"🥣",bowling:"🎳",boxing_glove:"🥊",boy:"👦",brain:"🧠",brazil:"🇧🇷",bread:"🍞",breast_feeding:"🤱",bricks:"🧱",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",british_indian_ocean_territory:"🇮🇴",british_virgin_islands:"🇻🇬",broccoli:"🥦",broken_heart:"💔",broom:"🧹",brown_circle:"🟤",brown_heart:"🤎",brown_square:"🟫",brunei:"🇧🇳",bug:"🐛",building_construction:"🏗️",bulb:"💡",bulgaria:"🇧🇬",bullettrain_front:"🚅",bullettrain_side:"🚄",burkina_faso:"🇧🇫",burrito:"🌯",burundi:"🇧🇮",bus:"🚌",business_suit_levitating:"🕴️",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butter:"🧈",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",cambodia:"🇰🇭",camel:"🐫",camera:"📷",camera_flash:"📸",cameroon:"🇨🇲",camping:"🏕️",canada:"🇨🇦",canary_islands:"🇮🇨",cancer:"♋",candle:"🕯️",candy:"🍬",canned_food:"🥫",canoe:"🛶",cape_verde:"🇨🇻",capital_abcd:"🔠",capricorn:"♑",car:"🚗",card_file_box:"🗃️",card_index:"📇",card_index_dividers:"🗂️",caribbean_netherlands:"🇧🇶",carousel_horse:"🎠",carrot:"🥕",cartwheeling:"🤸",cat:"🐱",cat2:"🐈",cayman_islands:"🇰🇾",cd:"💿",central_african_republic:"🇨🇫",ceuta_melilla:"🇪🇦",chad:"🇹🇩",chains:"⛓️",chair:"🪑",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chess_pawn:"♟️",chestnut:"🌰",chicken:"🐔",child:"🧒",children_crossing:"🚸",chile:"🇨🇱",chipmunk:"🐿️",chocolate_bar:"🍫",chopsticks:"🥢",christmas_island:"🇨🇽",christmas_tree:"🎄",church:"⛪",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙️",cl:"🆑",clamp:"🗜️",clap:"👏",clapper:"🎬",classical_building:"🏛️",climbing:"🧗",climbing_man:"🧗♂️",climbing_woman:"🧗♀️",clinking_glasses:"🥂",clipboard:"📋",clipperton_island:"🇨🇵",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩️",cloud_with_lightning_and_rain:"⛈️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",clown_face:"🤡",clubs:"♣️",cn:"🇨🇳",coat:"🧥",cocktail:"🍸",coconut:"🥥",cocos_islands:"🇨🇨",coffee:"☕",coffin:"⚰️",cold_face:"🥶",cold_sweat:"😰",collision:"💥",colombia:"🇨🇴",comet:"☄️",comoros:"🇰🇲",compass:"🧭",computer:"💻",computer_mouse:"🖱️",confetti_ball:"🎊",confounded:"😖",confused:"😕",congo_brazzaville:"🇨🇬",congo_kinshasa:"🇨🇩",congratulations:"㊗️",construction:"🚧",construction_worker:"👷",construction_worker_man:"👷♂️",construction_worker_woman:"👷♀️",control_knobs:"🎛️",convenience_store:"🏪",cook:"🧑🍳",cook_islands:"🇨🇰",cookie:"🍪",cool:"🆒",cop:"👮",copyright:"©️",corn:"🌽",costa_rica:"🇨🇷",cote_divoire:"🇨🇮",couch_and_lamp:"🛋️",couple:"👫",couple_with_heart:"💑",couple_with_heart_man_man:"👨❤️👨",couple_with_heart_woman_man:"👩❤️👨",couple_with_heart_woman_woman:"👩❤️👩",couplekiss:"💏",couplekiss_man_man:"👨❤️💋👨",couplekiss_man_woman:"👩❤️💋👨",couplekiss_woman_woman:"👩❤️💋👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍️",credit_card:"💳",crescent_moon:"🌙",cricket:"🦗",cricket_game:"🏏",croatia:"🇭🇷",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cuba:"🇨🇺",cucumber:"🥒",cup_with_straw:"🥤",cupcake:"🧁",cupid:"💘",curacao:"🇨🇼",curling_stone:"🥌",curly_haired_man:"👨🦱",curly_haired_woman:"👩🦱",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",cursing_face:"🤬",custard:"🍮",customs:"🛃",cut_of_meat:"🥩",cyclone:"🌀",cyprus:"🇨🇾",czech_republic:"🇨🇿",dagger:"🗡️",dancer:"💃",dancers:"👯",dancing_men:"👯♂️",dancing_women:"👯♀️",dango:"🍡",dark_sunglasses:"🕶️",dart:"🎯",dash:"💨",date:"📅",de:"🇩🇪",deaf_man:"🧏♂️",deaf_person:"🧏",deaf_woman:"🧏♀️",deciduous_tree:"🌳",deer:"🦌",denmark:"🇩🇰",department_store:"🏬",derelict_house:"🏚️",desert:"🏜️",desert_island:"🏝️",desktop_computer:"🖥️",detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",diego_garcia:"🇩🇬",disappointed:"😞",disappointed_relieved:"😥",diving_mask:"🤿",diya_lamp:"🪔",dizzy:"💫",dizzy_face:"😵",djibouti:"🇩🇯",dna:"🧬",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",dominica:"🇩🇲",dominican_republic:"🇩🇴",door:"🚪",doughnut:"🍩",dove:"🕊️",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",drop_of_blood:"🩸",droplet:"💧",drum:"🥁",duck:"🦆",dumpling:"🥟",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",ear_with_hearing_aid:"🦻",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",ecuador:"🇪🇨",egg:"🥚",eggplant:"🍆",egypt:"🇪🇬",eight:"8️⃣",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",eject_button:"⏏️",el_salvador:"🇸🇻",electric_plug:"🔌",elephant:"🐘",elf:"🧝",elf_man:"🧝♂️",elf_woman:"🧝♀️",email:"✉️",end:"🔚",england:"🏴",envelope:"✉️",envelope_with_arrow:"📩",equatorial_guinea:"🇬🇶",eritrea:"🇪🇷",es:"🇪🇸",estonia:"🇪🇪",ethiopia:"🇪🇹",eu:"🇪🇺",euro:"💶",european_castle:"🏰",european_post_office:"🏤",european_union:"🇪🇺",evergreen_tree:"🌲",exclamation:"❗",exploding_head:"🤯",expressionless:"😑",eye:"👁️",eye_speech_bubble:"👁️🗨️",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",facepalm:"🤦",facepunch:"👊",factory:"🏭",factory_worker:"🧑🏭",fairy:"🧚",fairy_man:"🧚♂️",fairy_woman:"🧚♀️",falafel:"🧆",falkland_islands:"🇫🇰",fallen_leaf:"🍂",family:"👪",family_man_boy:"👨👦",family_man_boy_boy:"👨👦👦",family_man_girl:"👨👧",family_man_girl_boy:"👨👧👦",family_man_girl_girl:"👨👧👧",family_man_man_boy:"👨👨👦",family_man_man_boy_boy:"👨👨👦👦",family_man_man_girl:"👨👨👧",family_man_man_girl_boy:"👨👨👧👦",family_man_man_girl_girl:"👨👨👧👧",family_man_woman_boy:"👨👩👦",family_man_woman_boy_boy:"👨👩👦👦",family_man_woman_girl:"👨👩👧",family_man_woman_girl_boy:"👨👩👧👦",family_man_woman_girl_girl:"👨👩👧👧",family_woman_boy:"👩👦",family_woman_boy_boy:"👩👦👦",family_woman_girl:"👩👧",family_woman_girl_boy:"👩👧👦",family_woman_girl_girl:"👩👧👧",family_woman_woman_boy:"👩👩👦",family_woman_woman_boy_boy:"👩👩👦👦",family_woman_woman_girl:"👩👩👧",family_woman_woman_girl_boy:"👩👩👧👦",family_woman_woman_girl_girl:"👩👩👧👧",farmer:"🧑🌾",faroe_islands:"🇫🇴",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️♀️",female_sign:"♀️",ferris_wheel:"🎡",ferry:"⛴️",field_hockey:"🏑",fiji:"🇫🇯",file_cabinet:"🗄️",file_folder:"📁",film_projector:"📽️",film_strip:"🎞️",finland:"🇫🇮",fire:"🔥",fire_engine:"🚒",fire_extinguisher:"🧯",firecracker:"🧨",firefighter:"🧑🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist:"✊",fist_left:"🤛",fist_oncoming:"👊",fist_raised:"✊",fist_right:"🤜",five:"5️⃣",flags:"🎏",flamingo:"🦩",flashlight:"🔦",flat_shoe:"🥿",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",flipper:"🐬",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",flying_disc:"🥏",flying_saucer:"🛸",fog:"🌫️",foggy:"🌁",foot:"🦶",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fortune_cookie:"🥠",fountain:"⛲",fountain_pen:"🖋️",four:"4️⃣",four_leaf_clover:"🍀",fox_face:"🦊",fr:"🇫🇷",framed_picture:"🖼️",free:"🆓",french_guiana:"🇬🇫",french_polynesia:"🇵🇫",french_southern_territories:"🇹🇫",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍♂️",frowning_person:"🙍",frowning_woman:"🙍♀️",fu:"🖕",fuelpump:"⛽",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",gabon:"🇬🇦",gambia:"🇬🇲",game_die:"🎲",garlic:"🧄",gb:"🇬🇧",gear:"⚙️",gem:"💎",gemini:"♊",genie:"🧞",genie_man:"🧞♂️",genie_woman:"🧞♀️",georgia:"🇬🇪",ghana:"🇬🇭",ghost:"👻",gibraltar:"🇬🇮",gift:"🎁",gift_heart:"💝",giraffe:"🦒",girl:"👧",globe_with_meridians:"🌐",gloves:"🧤",goal_net:"🥅",goat:"🐐",goggles:"🥽",golf:"⛳",golfing:"🏌️",golfing_man:"🏌️♂️",golfing_woman:"🏌️♀️",gorilla:"🦍",grapes:"🍇",greece:"🇬🇷",green_apple:"🍏",green_book:"📗",green_circle:"🟢",green_heart:"💚",green_salad:"🥗",green_square:"🟩",greenland:"🇬🇱",grenada:"🇬🇩",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guadeloupe:"🇬🇵",guam:"🇬🇺",guard:"💂",guardsman:"💂♂️",guardswoman:"💂♀️",guatemala:"🇬🇹",guernsey:"🇬🇬",guide_dog:"🦮",guinea:"🇬🇳",guinea_bissau:"🇬🇼",guitar:"🎸",gun:"🔫",guyana:"🇬🇾",haircut:"💇",haircut_man:"💇♂️",haircut_woman:"💇♀️",haiti:"🇭🇹",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",hamster:"🐹",hand:"✋",hand_over_mouth:"🤭",handbag:"👜",handball_person:"🤾",handshake:"🤝",hankey:"💩",hash:"#️⃣",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",health_worker:"🧑⚕️",hear_no_evil:"🙉",heard_mcdonald_islands:"🇭🇲",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_exclamation_mark:"❗",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",hedgehog:"🦔",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hiking_boot:"🥾",hindu_temple:"🛕",hippopotamus:"🦛",hocho:"🔪",hole:"🕳️",honduras:"🇭🇳",honey_pot:"🍯",honeybee:"🐝",hong_kong:"🇭🇰",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_face:"🥵",hot_pepper:"🌶️",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘️",hugs:"🤗",hungary:"🇭🇺",hushed:"😯",ice_cream:"🍨",ice_cube:"🧊",ice_hockey:"🏒",ice_skate:"⛸️",icecream:"🍦",iceland:"🇮🇸",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",india:"🇮🇳",indonesia:"🇮🇩",infinity:"♾️",information_desk_person:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",iran:"🇮🇷",iraq:"🇮🇶",ireland:"🇮🇪",isle_of_man:"🇮🇲",israel:"🇮🇱",it:"🇮🇹",izakaya_lantern:"🏮",jack_o_lantern:"🎃",jamaica:"🇯🇲",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",jersey:"🇯🇪",jigsaw:"🧩",jordan:"🇯🇴",joy:"😂",joy_cat:"😹",joystick:"🕹️",jp:"🇯🇵",judge:"🧑⚖️",juggling_person:"🤹",kaaba:"🕋",kangaroo:"🦘",kazakhstan:"🇰🇿",kenya:"🇰🇪",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiribati:"🇰🇮",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kite:"🪁",kiwi_fruit:"🥝",kneeling_man:"🧎♂️",kneeling_person:"🧎",kneeling_woman:"🧎♀️",knife:"🔪",koala:"🐨",koko:"🈁",kosovo:"🇽🇰",kr:"🇰🇷",kuwait:"🇰🇼",kyrgyzstan:"🇰🇬",lab_coat:"🥼",label:"🏷️",lacrosse:"🥍",lantern:"🏮",laos:"🇱🇦",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",latvia:"🇱🇻",laughing:"😆",leafy_green:"🥬",leaves:"🍃",lebanon:"🇱🇧",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",left_speech_bubble:"🗨️",leftwards_arrow_with_hook:"↩️",leg:"🦵",lemon:"🍋",leo:"♌",leopard:"🐆",lesotho:"🇱🇸",level_slider:"🎚️",liberia:"🇱🇷",libra:"♎",libya:"🇱🇾",liechtenstein:"🇱🇮",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lithuania:"🇱🇹",lizard:"🦎",llama:"🦙",lobster:"🦞",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",lotion_bottle:"🧴",lotus_position:"🧘",lotus_position_man:"🧘♂️",lotus_position_woman:"🧘♀️",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",love_you_gesture:"🤟",low_brightness:"🔅",luggage:"🧳",luxembourg:"🇱🇺",lying_face:"🤥",m:"Ⓜ️",macau:"🇲🇴",macedonia:"🇲🇰",madagascar:"🇲🇬",mag:"🔍",mag_right:"🔎",mage:"🧙",mage_man:"🧙♂️",mage_woman:"🧙♀️",magnet:"🧲",mahjong:"🀄",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",malawi:"🇲🇼",malaysia:"🇲🇾",maldives:"🇲🇻",male_detective:"🕵️♂️",male_sign:"♂️",mali:"🇲🇱",malta:"🇲🇹",man:"👨",man_artist:"👨🎨",man_astronaut:"👨🚀",man_cartwheeling:"🤸♂️",man_cook:"👨🍳",man_dancing:"🕺",man_facepalming:"🤦♂️",man_factory_worker:"👨🏭",man_farmer:"👨🌾",man_firefighter:"👨🚒",man_health_worker:"👨⚕️",man_in_manual_wheelchair:"👨🦽",man_in_motorized_wheelchair:"👨🦼",man_in_tuxedo:"🤵",man_judge:"👨⚖️",man_juggling:"🤹♂️",man_mechanic:"👨🔧",man_office_worker:"👨💼",man_pilot:"👨✈️",man_playing_handball:"🤾♂️",man_playing_water_polo:"🤽♂️",man_scientist:"👨🔬",man_shrugging:"🤷♂️",man_singer:"👨🎤",man_student:"👨🎓",man_teacher:"👨🏫",man_technologist:"👨💻",man_with_gua_pi_mao:"👲",man_with_probing_cane:"👨🦯",man_with_turban:"👳♂️",mandarin:"🍊",mango:"🥭",mans_shoe:"👞",mantelpiece_clock:"🕰️",manual_wheelchair:"🦽",maple_leaf:"🍁",marshall_islands:"🇲🇭",martial_arts_uniform:"🥋",martinique:"🇲🇶",mask:"😷",massage:"💆",massage_man:"💆♂️",massage_woman:"💆♀️",mate:"🧉",mauritania:"🇲🇷",mauritius:"🇲🇺",mayotte:"🇾🇹",meat_on_bone:"🍖",mechanic:"🧑🔧",mechanical_arm:"🦾",mechanical_leg:"🦿",medal_military:"🎖️",medal_sports:"🏅",medical_symbol:"⚕️",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼♂️",menorah:"🕎",mens:"🚹",mermaid:"🧜♀️",merman:"🧜♂️",merperson:"🧜",metal:"🤘",metro:"🚇",mexico:"🇲🇽",microbe:"🦠",micronesia:"🇫🇲",microphone:"🎤",microscope:"🔬",middle_finger:"🖕",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",moldova:"🇲🇩",monaco:"🇲🇨",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",mongolia:"🇲🇳",monkey:"🐒",monkey_face:"🐵",monocle_face:"🧐",monorail:"🚝",montenegro:"🇲🇪",montserrat:"🇲🇸",moon:"🌔",moon_cake:"🥮",morocco:"🇲🇦",mortar_board:"🎓",mosque:"🕌",mosquito:"🦟",motor_boat:"🛥️",motor_scooter:"🛵",motorcycle:"🏍️",motorized_wheelchair:"🦼",motorway:"🛣️",mount_fuji:"🗻",mountain:"⛰️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵♂️",mountain_biking_woman:"🚵♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔️",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mozambique:"🇲🇿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",myanmar:"🇲🇲",nail_care:"💅",name_badge:"📛",namibia:"🇳🇦",national_park:"🏞️",nauru:"🇳🇷",nauseated_face:"🤢",nazar_amulet:"🧿",necktie:"👔",negative_squared_cross_mark:"❎",nepal:"🇳🇵",nerd_face:"🤓",netherlands:"🇳🇱",neutral_face:"😐",new:"🆕",new_caledonia:"🇳🇨",new_moon:"🌑",new_moon_with_face:"🌚",new_zealand:"🇳🇿",newspaper:"📰",newspaper_roll:"🗞️",next_track_button:"⏭️",ng:"🆖",ng_man:"🙅♂️",ng_woman:"🙅♀️",nicaragua:"🇳🇮",niger:"🇳🇪",nigeria:"🇳🇬",night_with_stars:"🌃",nine:"9️⃣",niue:"🇳🇺",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔",no_entry_sign:"🚫",no_good:"🙅",no_good_man:"🙅♂️",no_good_woman:"🙅♀️",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",norfolk_island:"🇳🇫",north_korea:"🇰🇵",northern_mariana_islands:"🇲🇵",norway:"🇳🇴",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",office_worker:"🧑💼",oil_drum:"🛢️",ok:"🆗",ok_hand:"👌",ok_man:"🙆♂️",ok_person:"🙆",ok_woman:"🙆♀️",old_key:"🗝️",older_adult:"🧓",older_man:"👴",older_woman:"👵",om:"🕉️",oman:"🇴🇲",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",one:"1️⃣",one_piece_swimsuit:"🩱",onion:"🧅",open_book:"📖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange:"🍊",orange_book:"📙",orange_circle:"🟠",orange_heart:"🧡",orange_square:"🟧",orangutan:"🦧",orthodox_cross:"☦️",otter:"🦦",outbox_tray:"📤",owl:"🦉",ox:"🐂",oyster:"🦪",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌️",pakistan:"🇵🇰",palau:"🇵🇼",palestinian_territories:"🇵🇸",palm_tree:"🌴",palms_up_together:"🤲",panama:"🇵🇦",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇️",papua_new_guinea:"🇵🇬",parachute:"🪂",paraguay:"🇵🇾",parasol_on_ground:"⛱️",parking:"🅿️",parrot:"🦜",part_alternation_mark:"〽️",partly_sunny:"⛅",partying_face:"🥳",passenger_ship:"🛳️",passport_control:"🛂",pause_button:"⏸️",paw_prints:"🐾",peace_symbol:"☮️",peach:"🍑",peacock:"🦚",peanuts:"🥜",pear:"🍐",pen:"🖊️",pencil:"📝",pencil2:"✏️",penguin:"🐧",pensive:"😔",people_holding_hands:"🧑🤝🧑",performing_arts:"🎭",persevere:"😣",person_bald:"🧑🦲",person_curly_hair:"🧑🦱",person_fencing:"🤺",person_in_manual_wheelchair:"🧑🦽",person_in_motorized_wheelchair:"🧑🦼",person_red_hair:"🧑🦰",person_white_hair:"🧑🦳",person_with_probing_cane:"🧑🦯",person_with_turban:"👳",peru:"🇵🇪",petri_dish:"🧫",philippines:"🇵🇭",phone:"☎️",pick:"⛏️",pie:"🥧",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pilot:"🧑✈️",pinching_hand:"🤏",pineapple:"🍍",ping_pong:"🏓",pirate_flag:"🏴☠️",pisces:"♓",pitcairn_islands:"🇵🇳",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽️",play_or_pause_button:"⏯️",pleading_face:"🥺",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",poland:"🇵🇱",police_car:"🚓",police_officer:"👮",policeman:"👮♂️",policewoman:"👮♀️",poodle:"🐩",poop:"💩",popcorn:"🍿",portugal:"🇵🇹",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",pout:"😡",pouting_cat:"😾",pouting_face:"🙎",pouting_man:"🙎♂️",pouting_woman:"🙎♀️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",pretzel:"🥨",previous_track_button:"⏮️",prince:"🤴",princess:"👸",printer:"🖨️",probing_cane:"🦯",puerto_rico:"🇵🇷",punch:"👊",purple_circle:"🟣",purple_heart:"💜",purple_square:"🟪",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",qatar:"🇶🇦",question:"❓",rabbit:"🐰",rabbit2:"🐇",raccoon:"🦝",racehorse:"🐎",racing_car:"🏎️",radio:"📻",radio_button:"🔘",radioactive:"☢️",rage:"😡",railway_car:"🚃",railway_track:"🛤️",rainbow:"🌈",rainbow_flag:"🏳️🌈",raised_back_of_hand:"🤚",raised_eyebrow:"🤨",raised_hand:"✋",raised_hand_with_fingers_splayed:"🖐️",raised_hands:"🙌",raising_hand:"🙋",raising_hand_man:"🙋♂️",raising_hand_woman:"🙋♀️",ram:"🐏",ramen:"🍜",rat:"🐀",razor:"🪒",receipt:"🧾",record_button:"⏺️",recycle:"♻️",red_car:"🚗",red_circle:"🔴",red_envelope:"🧧",red_haired_man:"👨🦰",red_haired_woman:"👩🦰",red_square:"🟥",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗️",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑️",restroom:"🚻",reunion:"🇷🇪",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯️",ring:"💍",ringed_planet:"🪐",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roll_of_paper:"🧻",roller_coaster:"🎢",romania:"🇷🇴",rooster:"🐓",rose:"🌹",rosette:"🏵️",rotating_light:"🚨",round_pushpin:"📍",rowboat:"🚣",rowing_man:"🚣♂️",rowing_woman:"🚣♀️",ru:"🇷🇺",rugby_football:"🏉",runner:"🏃",running:"🏃",running_man:"🏃♂️",running_shirt_with_sash:"🎽",running_woman:"🏃♀️",rwanda:"🇷🇼",sa:"🈂️",safety_pin:"🧷",safety_vest:"🦺",sagittarius:"♐",sailboat:"⛵",sake:"🍶",salt:"🧂",samoa:"🇼🇸",san_marino:"🇸🇲",sandal:"👡",sandwich:"🥪",santa:"🎅",sao_tome_principe:"🇸🇹",sari:"🥻",sassy_man:"💁♂️",sassy_woman:"💁♀️",satellite:"📡",satisfied:"😆",saudi_arabia:"🇸🇦",sauna_man:"🧖♂️",sauna_person:"🧖",sauna_woman:"🧖♀️",sauropod:"🦕",saxophone:"🎷",scarf:"🧣",school:"🏫",school_satchel:"🎒",scientist:"🧑🔬",scissors:"✂️",scorpion:"🦂",scorpius:"♏",scotland:"🏴",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",senegal:"🇸🇳",serbia:"🇷🇸",service_dog:"🐕🦺",seven:"7️⃣",seychelles:"🇸🇨",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡️",shinto_shrine:"⛩️",ship:"🚢",shirt:"👕",shit:"💩",shoe:"👞",shopping:"🛍️",shopping_cart:"🛒",shorts:"🩳",shower:"🚿",shrimp:"🦐",shrug:"🤷",shushing_face:"🤫",sierra_leone:"🇸🇱",signal_strength:"📶",singapore:"🇸🇬",singer:"🧑🎤",sint_maarten:"🇸🇽",six:"6️⃣",six_pointed_star:"🔯",skateboard:"🛹",ski:"🎿",skier:"⛷️",skull:"💀",skull_and_crossbones:"☠️",skunk:"🦨",sled:"🛷",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",sloth:"🦥",slovakia:"🇸🇰",slovenia:"🇸🇮",small_airplane:"🛩️",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_face_with_three_hearts:"🥰",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄",snowman_with_snow:"☃️",soap:"🧼",sob:"😭",soccer:"⚽",socks:"🧦",softball:"🥎",solomon_islands:"🇸🇧",somalia:"🇸🇴",soon:"🔜",sos:"🆘",sound:"🔉",south_africa:"🇿🇦",south_georgia_south_sandwich_islands:"🇬🇸",south_sudan:"🇸🇸",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣️",speech_balloon:"💬",speedboat:"🚤",spider:"🕷️",spider_web:"🕸️",spiral_calendar:"🗓️",spiral_notepad:"🗒️",sponge:"🧽",spoon:"🥄",squid:"🦑",sri_lanka:"🇱🇰",st_barthelemy:"🇧🇱",st_helena:"🇸🇭",st_kitts_nevis:"🇰🇳",st_lucia:"🇱🇨",st_martin:"🇲🇫",st_pierre_miquelon:"🇵🇲",st_vincent_grenadines:"🇻🇨",stadium:"🏟️",standing_man:"🧍♂️",standing_person:"🧍",standing_woman:"🧍♀️",star:"⭐",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",star_struck:"🤩",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stethoscope:"🩺",stew:"🍲",stop_button:"⏹️",stop_sign:"🛑",stopwatch:"⏱️",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",student:"🧑🎓",studio_microphone:"🎙️",stuffed_flatbread:"🥙",sudan:"🇸🇩",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",sun_behind_small_cloud:"🌤️",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",superhero:"🦸",superhero_man:"🦸♂️",superhero_woman:"🦸♀️",supervillain:"🦹",supervillain_man:"🦹♂️",supervillain_woman:"🦹♀️",surfer:"🏄",surfing_man:"🏄♂️",surfing_woman:"🏄♀️",suriname:"🇸🇷",sushi:"🍣",suspension_railway:"🚟",svalbard_jan_mayen:"🇸🇯",swan:"🦢",swaziland:"🇸🇿",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweden:"🇸🇪",sweet_potato:"🍠",swim_brief:"🩲",swimmer:"🏊",swimming_man:"🏊♂️",swimming_woman:"🏊♀️",switzerland:"🇨🇭",symbols:"🔣",synagogue:"🕍",syria:"🇸🇾",syringe:"💉","t-rex":"🦖",taco:"🌮",tada:"🎉",taiwan:"🇹🇼",tajikistan:"🇹🇯",takeout_box:"🥡",tanabata_tree:"🎋",tangerine:"🍊",tanzania:"🇹🇿",taurus:"♉",taxi:"🚕",tea:"🍵",teacher:"🧑🏫",technologist:"🧑💻",teddy_bear:"🧸",telephone:"☎️",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺",test_tube:"🧪",thailand:"🇹🇭",thermometer:"🌡️",thinking:"🤔",thought_balloon:"💭",thread:"🧵",three:"3️⃣",thumbsdown:"👎",thumbsup:"👍",ticket:"🎫",tickets:"🎟️",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲️",timor_leste:"🇹🇱",tipping_hand_man:"💁♂️",tipping_hand_person:"💁",tipping_hand_woman:"💁♀️",tired_face:"😫",tm:"™️",togo:"🇹🇬",toilet:"🚽",tokelau:"🇹🇰",tokyo_tower:"🗼",tomato:"🍅",tonga:"🇹🇴",tongue:"👅",toolbox:"🧰",tooth:"🦷",top:"🔝",tophat:"🎩",tornado:"🌪️",tr:"🇹🇷",trackball:"🖲️",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",trinidad_tobago:"🇹🇹",tristan_da_cunha:"🇹🇦",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tshirt:"👕",tulip:"🌷",tumbler_glass:"🥃",tunisia:"🇹🇳",turkey:"🦃",turkmenistan:"🇹🇲",turks_caicos_islands:"🇹🇨",turtle:"🐢",tuvalu:"🇹🇻",tv:"📺",twisted_rightwards_arrows:"🔀",two:"2️⃣",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",uganda:"🇺🇬",uk:"🇬🇧",ukraine:"🇺🇦",umbrella:"☔",unamused:"😒",underage:"🔞",unicorn:"🦄",united_arab_emirates:"🇦🇪",united_nations:"🇺🇳",unlock:"🔓",up:"🆙",upside_down_face:"🙃",uruguay:"🇺🇾",us:"🇺🇸",us_outlying_islands:"🇺🇲",us_virgin_islands:"🇻🇮",uzbekistan:"🇺🇿",v:"✌️",vampire:"🧛",vampire_man:"🧛♂️",vampire_woman:"🧛♀️",vanuatu:"🇻🇺",vatican_city:"🇻🇦",venezuela:"🇻🇪",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",vietnam:"🇻🇳",violin:"🎻",virgo:"♍",volcano:"🌋",volleyball:"🏐",vomiting_face:"🤮",vs:"🆚",vulcan_salute:"🖖",waffle:"🧇",wales:"🏴",walking:"🚶",walking_man:"🚶♂️",walking_woman:"🚶♀️",wallis_futuna:"🇼🇫",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑️",watch:"⌚",water_buffalo:"🐃",water_polo:"🤽",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",waxing_gibbous_moon:"🌔",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting:"🏋️",weight_lifting_man:"🏋️♂️",weight_lifting_woman:"🏋️♀️",western_sahara:"🇪🇭",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿",white_check_mark:"✅",white_circle:"⚪",white_flag:"🏳️",white_flower:"💮",white_haired_man:"👨🦳",white_haired_woman:"👩🦳",white_heart:"🤍",white_large_square:"⬜",white_medium_small_square:"◽",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬️",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩🎨",woman_astronaut:"👩🚀",woman_cartwheeling:"🤸♀️",woman_cook:"👩🍳",woman_dancing:"💃",woman_facepalming:"🤦♀️",woman_factory_worker:"👩🏭",woman_farmer:"👩🌾",woman_firefighter:"👩🚒",woman_health_worker:"👩⚕️",woman_in_manual_wheelchair:"👩🦽",woman_in_motorized_wheelchair:"👩🦼",woman_judge:"👩⚖️",woman_juggling:"🤹♀️",woman_mechanic:"👩🔧",woman_office_worker:"👩💼",woman_pilot:"👩✈️",woman_playing_handball:"🤾♀️",woman_playing_water_polo:"🤽♀️",woman_scientist:"👩🔬",woman_shrugging:"🤷♀️",woman_singer:"👩🎤",woman_student:"👩🎓",woman_teacher:"👩🏫",woman_technologist:"👩💻",woman_with_headscarf:"🧕",woman_with_probing_cane:"👩🦯",woman_with_turban:"👳♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼♀️",womens:"🚺",woozy_face:"🥴",world_map:"🗺️",worried:"😟",wrench:"🔧",wrestling:"🤼",writing_hand:"✍️",x:"❌",yarn:"🧶",yawning_face:"🥱",yellow_circle:"🟡",yellow_heart:"💛",yellow_square:"🟨",yemen:"🇾🇪",yen:"💴",yin_yang:"☯️",yo_yo:"🪀",yum:"😋",zambia:"🇿🇲",zany_face:"🤪",zap:"⚡",zebra:"🦓",zero:"0️⃣",zimbabwe:"🇿🇼",zipper_mouth_face:"🤐",zombie:"🧟",zombie_man:"🧟♂️",zombie_woman:"🧟♀️",zzz:"💤",atom:'<img alt="atom" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/atom.png?v8">',basecamp:'<img alt="basecamp" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/basecamp.png?v8">',basecampy:'<img alt="basecampy" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/basecampy.png?v8">',bowtie:'<img alt="bowtie" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/bowtie.png?v8">',electron:'<img alt="electron" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/electron.png?v8">',feelsgood:'<img alt="feelsgood" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/feelsgood.png?v8">',finnadie:'<img alt="finnadie" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/finnadie.png?v8">',goberserk:'<img alt="goberserk" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/goberserk.png?v8">',godmode:'<img alt="godmode" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/godmode.png?v8">',hurtrealbad:'<img alt="hurtrealbad" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/hurtrealbad.png?v8">',neckbeard:'<img alt="neckbeard" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/neckbeard.png?v8">',octocat:'<img alt="octocat" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/octocat.png?v8">',rage1:'<img alt="rage1" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/rage1.png?v8">',rage2:'<img alt="rage2" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/rage2.png?v8">',rage3:'<img alt="rage3" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/rage3.png?v8">',rage4:'<img alt="rage4" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/rage4.png?v8">',shipit:'<img alt="shipit" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/shipit.png?v8">',suspect:'<img alt="suspect" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/suspect.png?v8">',trollface:'<img alt="trollface" width="20" height="20" align="absmiddle" src="https://github.githubassets.com/images/icons/emoji/trollface.png?v8">',showdown:'<img alt="showdown" width="20" height="20" align="absmiddle" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAS1BMVEX///8jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS0jJS3b1q3b1q3b1q3b1q3b1q3b1q3b1q3b1q0565CIAAAAGXRSTlMAQHCAYCCw/+DQwPCQUBAwoHCAEP+wwFBgS2fvBgAAAUZJREFUeAHs1cGy7BAUheFFsEDw/k97VTq3T6ge2EmdM+pvrP6Iwd74XV9Kb52xuMU4/uc1YNgZLFOeV8FGdhGrNk5SEgUyPxAEdj4LlMRDyhVAMVEa2M7TBSeVZAFPdqHgzSZJwPKgcLFLAooHDJo4EDCw4gAtBoJA5UFj4Ng5LOGLwVXZuoIlji/jeQHFk7+baHxrCjeUwB9+s88KndvlhcyBN5BSkYNQIVVb4pV+Npm7hhuKDs/uMP5KxT3WzSNNLIuuoDpMmuAVMruMSeDyQBi24DTr43LAY7ILA1QYaWkgfHzFthYYzg67SQsCbB8GhJUEGCtO9n0rSaCLxgJQjS/JSgMTg2eBDEHAJ+H350AsjYNYscrErgI2e/l+mdR967TCX/v6N0EhPECYCP0i+IAoYQOE8BogNhQMEMdrgAQWHaMAAGi5I5euoY9NAAAAAElFTkSuQmCC">'},y.subParser("makehtml.blockGamut",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.blockGamut.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(a=r.converter.dispatch(a)).output,e=y.subParser("makehtml.blockquote")(e,t,r),e=y.subParser("makehtml.heading")(e,t,r),e=y.subParser("makehtml.horizontalRule")(e,t,r),e=y.subParser("makehtml.lists")(e,t,r),e=y.subParser("makehtml.codeBlock")(e,t,r),e=y.subParser("makehtml.tables")(e,t,r),e=y.subParser("makehtml.hashHTMLBlocks")(e,t,r),e=y.subParser("makehtml.paragraphs")(e,t,r),new y.helper.Event("makehtml.blockGamut.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.blockquote",function(e,o,i){"use strict";let t=new y.helper.Event("makehtml.blockquote.onStart",e),l=(t.setOutput(e)._setGlobals(i)._setOptions(o),e=(t=i.converter.dispatch(t)).output,e+="\n\n",/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm),r=(o.splitAdjacentBlockquotes&&(l=/^ {0,3}>[\s\S]*?\n\n/gm),e=e.replace(l,function(e){let t,r,a=e,n=(e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),new y.helper.Event("makehtml.blockquote.onCapture",e)),s=(n.setOutput(null)._setGlobals(i)._setOptions(o).setRegexp(l).setMatches({_wholeMatch:a,blockquote:e}).setAttributes({}),n=i.converter.dispatch(n),t=n.output&&""!==n.output?n.output:(e=n.matches.blockquote,e=y.subParser("makehtml.githubCodeBlock")(e,o,i),e=(e=(e=y.subParser("makehtml.blockGamut")(e,o,i)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){return t.replace(/^ {2}/gm,"")}),r=n.attributes,"<blockquote"+y.helper._populateAttributes(r)+">\n"+e+"\n</blockquote>"),new y.helper.Event("makehtml.blockquote.onHash",t));return s.setOutput(t)._setGlobals(i)._setOptions(o),s=i.converter.dispatch(s),t=s.output,y.subParser("makehtml.hashBlock")(t,o,i)}),new y.helper.Event("makehtml.blockquote.onEnd",e));return r.setOutput(e)._setGlobals(i)._setOptions(o),(r=i.converter.dispatch(r)).output}),y.subParser("makehtml.codeBlock",function(e,u,h){"use strict";let t=new y.helper.Event("makehtml.codeBlock.onStart",e),p=(t.setOutput(e)._setGlobals(h)._setOptions(u),e=(t=h.converter.dispatch(t)).output,/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g),r=(e=(e=(e+="¨0").replace(p,function(e,t,r){let a=t,n=r,s="\n",o,i={pre:{},code:{}},l=new y.helper.Event("makehtml.codeBlock.onCapture",a),c=(l.setOutput(null)._setGlobals(h)._setOptions(u).setRegexp(p).setMatches({_wholeMatch:e,codeblock:a}).setAttributes(i),(l=h.converter.dispatch(l)).output&&""!==l.output?o=l.output:(a=l.matches.codeblock,a=y.subParser("makehtml.outdent")(a,u,h),a=y.subParser("makehtml.encodeCode")(a,u,h),a=(a=(a=y.subParser("makehtml.detab")(a,u,h)).replace(/^\n+/g,"")).replace(/\n+$/g,""),i=l.attributes,o="<pre><code>",y.helper.isUndefined(i)||(o="<pre"+y.helper._populateAttributes(i.pre)+">",o+="<code"+y.helper._populateAttributes(i.code)+">"),u.omitExtraWLInCodeBlocks&&(s=""),o+=a+s+"</code></pre>"),new y.helper.Event("makehtml.codeBlock.onHash",o));return c.setOutput(o)._setGlobals(h)._setOptions(u),c=h.converter.dispatch(c),o=c.output,y.subParser("makehtml.hashBlock")(o,u,h)+n})).replace(/¨0/,""),new y.helper.Event("makehtml.codeBlock.onEnd",e));return r.setOutput(e)._setGlobals(h)._setOptions(u),(r=h.converter.dispatch(r)).output}),y.subParser("makehtml.codeSpan",function(e,i,l){"use strict";let t=new y.helper.Event("makehtml.codeSpan.onStart",e),c=(t.setOutput(e)._setGlobals(l)._setOptions(i),e=(t=l.converter.dispatch(t)).output,y.helper.isUndefined(e)&&(e=""),/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm),r=(e=e.replace(c,function(e,t,r,a){let n,s=(a=(a=a.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),new y.helper.Event("makehtml.codeSpan.onCapture",a)),o=(s.setOutput(null)._setGlobals(l)._setOptions(i).setRegexp(c).setMatches({_wholeMatch:e,code:a}).setAttributes({}),s=l.converter.dispatch(s),n=s.output&&""!==s.output?t+s.output:(a=s.matches.code,a=y.subParser("makehtml.encodeCode")(a,i,l),t+"<code"+y.helper._populateAttributes({})+">"+a+"</code>"),new y.helper.Event("makehtml.codeSpan.onHash",n));return o.setOutput(n)._setGlobals(l)._setOptions(i),o=l.converter.dispatch(o),n=o.output,y.subParser("makehtml.hashHTMLSpans")(n,i,l)}),new y.helper.Event("makehtml.codeSpan.onEnd",e));return r.setOutput(e)._setGlobals(l)._setOptions(i),(r=l.converter.dispatch(r)).output}),y.subParser("makehtml.completeHTMLDocument",function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;let a=new y.helper.Event("makehtml.completeHTMLDocument.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(a=r.converter.dispatch(a)).output,"html"),s="<!DOCTYPE HTML>\n",o="",i='<meta charset="utf-8">\n',l="",c="";for(var u in void 0!==r.metadata.parsed.doctype&&(s="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(i='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(u))switch(u.toLowerCase()){case"doctype":break;case"title":o="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":i="html"===n||"html5"===n?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":l=' lang="'+r.metadata.parsed[u]+'"',c+='<meta name="'+u+'" content="'+r.metadata.parsed[u]+'">\n';break;default:c+='<meta name="'+u+'" content="'+r.metadata.parsed[u]+'">\n'}e=s+"<html"+l+">\n<head>\n"+o+i+c+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>";let h=new y.helper.Event("makehtml.completeHTMLDocument.onEnd",e);return h.setOutput(e)._setGlobals(r)._setOptions(t),(h=r.converter.dispatch(h)).output}),y.subParser("makehtml.detab",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.detab.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(e=(e=(e=(e=(e=(a=r.converter.dispatch(a)).output).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var r=t,a=4-r.length%4,n=0;n<a;n++)r+=" ";return r})).replace(/¨A/g," ")).replace(/¨B/g,""),new y.helper.Event("makehtml.detab.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.ellipsis",function(e,t,r){"use strict";if(!t.ellipsis)return e;let a=new y.helper.Event("makehtml.ellipsis.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(e=(a=r.converter.dispatch(a)).output).replace(/\.\.\./g,"…"),new y.helper.Event("makehtml.ellipsis.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.emoji",function(e,s,o){"use strict";if(!s.emoji)return e;let t=new y.helper.Event("makehtml.emoji.onStart",e),i=(t.setOutput(e)._setGlobals(o)._setOptions(s),e=(t=o.converter.dispatch(t)).output,/:([\S]+?):/g),r=(e=e.replace(i,function(e,t){let r="",a=new y.helper.Event("makehtml.emoji.onCapture",t),n=(a.setOutput(null)._setGlobals(o)._setOptions(s).setRegexp(i).setMatches({_wholeMatch:e,emojiCode:t}).setAttributes({}),a=o.converter.dispatch(a),r=a.output&&""!==a.output?a.output:y.helper.emojis.hasOwnProperty(t)?y.helper.emojis[t]:wm,new y.helper.Event("makehtml.emoji.onHash",r));return n.setOutput(r)._setGlobals(o)._setOptions(s),(n=o.converter.dispatch(n)).output}),new y.helper.Event("makehtml.emoji.onEnd",e));return r.setOutput(e)._setGlobals(o)._setOptions(s),(r=o.converter.dispatch(r)).output}),y.subParser("makehtml.emphasisAndStrong",function(e,c,u){"use strict";let t=new y.helper.Event("makehtml.emphasisAndStrong.onStart",e);function r(e,t,r,a){let n="ERROR",s,o;switch(t){case"<em>":s={em:{}},o="emphasis";break;case"<strong>":s={strong:{}},o="strong";break;case"<strong><em>":s={em:{},strong:{}},o="emphasisAndStrong";break;default:s={},o="emphasisAndStrong"}let i=new y.helper.Event("makehtml."+o+".onCapture",e);if(i.setOutput(null)._setGlobals(u)._setOptions(c).setRegexp(a).setMatches({_wholeMatch:r,text:e}).setAttributes(s),(i=u.converter.dispatch(i)).output&&""!==i.output)n=i.output;else switch(s=i.attributes,y.helper.isUndefined(s.em)&&(s.em={}),y.helper.isUndefined(s.strong)&&(s.strong={}),t){case"<em>":n="<em"+y.helper._populateAttributes(s.em)+">"+e+"</em>";break;case"<strong>":n="<strong"+y.helper._populateAttributes(s.strong)+">"+e+"</strong>";break;case"<strong><em>":n="<strong"+y.helper._populateAttributes(s.strong)+"><em"+y.helper._populateAttributes(s.em)+">"+e+"</em></strong>"}let l=new y.helper.Event("makehtml."+o+".onHash",n);return l.setOutput(n)._setGlobals(u)._setOptions(c),l=u.converter.dispatch(l),n=l.output}t.setOutput(e)._setGlobals(u)._setOptions(c),e=(t=u.converter.dispatch(t)).output;const a=/\b___(\S[\s\S]*?)___\b/g,n=/\b__(\S[\s\S]*?)__\b/g,s=/\b_(\S[\s\S]*?)_\b/g,o=/___(\S[\s\S]*?)___/g,i=/__(\S[\s\S]*?)__/g,l=/_([^\s_][\s\S]*?)_/g,h=/\*\*\*(\S[\s\S]*?)\*\*\*/g,p=/\*\*(\S[\s\S]*?)\*\*/g,m=/\*([^\s*][\s\S]*?)\*/g;e=(e=(e=(e=c.literalMidWordUnderscores?(e=(e=e.replace(a,function(e,t){return r(t,"<strong><em>",e,a)})).replace(n,function(e,t){return r(t,"<strong>",e,n)})).replace(s,function(e,t){return r(t,"<em>",e,s)}):(e=(e=e.replace(o,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>",e,o):e})).replace(i,function(e,t){return/\S$/.test(t)?r(t,"<strong>",e,i):e})).replace(l,function(e,t){return/\S$/.test(t)?r(t,"<em>",e,l):e})).replace(h,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>",e,h):e})).replace(p,function(e,t){return/\S$/.test(t)?r(t,"<strong>",e,p):e})).replace(m,function(e,t){return/\S$/.test(t)?r(t,"<em>",e,m):e});let d=new y.helper.Event("makehtml.emphasisAndStrong.onEnd",e);return d.setOutput(e)._setGlobals(u)._setOptions(c),(d=u.converter.dispatch(d)).output}),y.subParser("makehtml.encodeAmpsAndAngles",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.encodeAmpsAndAngles.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(e=(e=(e=(e=(a=r.converter.dispatch(a)).output).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),new y.helper.Event("makehtml.encodeAmpsAndAngles.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.encodeBackslashEscapes",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.encodeBackslashEscapes.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(e=(e=(a=r.converter.dispatch(a)).output).replace(/\\(\\)/g,y.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,y.helper.escapeCharactersCallback),new y.helper.Event("makehtml.encodeBackslashEscapes.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.encodeCode",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.encodeCode.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(e=(a=r.converter.dispatch(a)).output).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,y.helper.escapeCharactersCallback),new y.helper.Event("makehtml.encodeCode.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.escapeSpecialCharsWithinTagAttributes",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.escapeSpecialCharsWithinTagAttributes.onStart",e);a.setOutput(e)._setGlobals(r)._setOptions(t);e=(e=(e=(a=r.converter.dispatch(a)).output).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,y.helper.escapeCharactersCallback)})).replace(/<!(--(([^>-]|-[^>])([^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,y.helper.escapeCharactersCallback)});let n=new y.helper.Event("makehtml.escapeSpecialCharsWithinTagAttributes.onEnd",e);return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.githubCodeBlock",function(e,c,u){"use strict";if(!c.ghCodeBlocks)return e;let t=new y.helper.Event("makehtml.githubCodeBlock.onStart",e),h=(t.setOutput(e)._setGlobals(u)._setOptions(c),e=(t=u.converter.dispatch(t)).output+"¨0",/(?:^|\n) {0,3}(```+|~~~+) *([^\n\t`~]*)\n([\s\S]*?)\n {0,3}\1/g),r=(e=(e=e.replace(h,function(e,t,r,a){let n=c.omitExtraWLInCodeBlocks?"":"\n",s,o={pre:{},code:{}},i=new y.helper.Event("makehtml.githubCodeBlock.onCapture",a);if(i.setOutput(null)._setGlobals(u)._setOptions(c).setRegexp(h).setMatches({_whoteMatch:e,codeblock:a,infostring:r}).setAttributes(o),(i=u.converter.dispatch(i)).output&&""!==i.output)s=i.output;else{let e=i.matches.infostring;r=e.trim().split(" ")[0];a=i.matches.codeblock,a=y.subParser("makehtml.encodeCode")(a,c,u),a=(a=y.subParser("makehtml.detab")(a,c,u)).replace(/^\n+/g,"").replace(/\n+$/g,""),o=i.attributes,s="<pre><code>",y.helper.isUndefined(o)||(s="<pre"+y.helper._populateAttributes(o.pre)+">",e&&(o.code||(o.code={}),o.code.classes||(o.code.classes=[]),o.code.classes&&(y.helper.isString(o.code.classes)?o.code.classes+=" "+r+" language-"+r:y.helper.isArray(o.code.classes)&&(o.code.classes.push(r),o.code.classes.push("language-"+r)))),s+="<code"+y.helper._populateAttributes(o.code)+">"),c.omitExtraWLInCodeBlocks&&(n=""),s+=a+n+"</code></pre>"}let l=new y.helper.Event("makehtml.githubCodeBlock.onHash",s);return l.setOutput(s)._setGlobals(u)._setOptions(c),l=u.converter.dispatch(l),s=l.output,s=y.subParser("makehtml.hashBlock")(s,c,u),"\n\n¨G"+(u.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"})).replace(/¨0/,""),new y.helper.Event("makehtml.githubCodeBlock.onEnd",e));return r.setOutput(e)._setGlobals(u)._setOptions(c),(r=u.converter.dispatch(r)).output}),y.subParser("makehtml.hashBlock",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.hashBlock.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(e=(a=r.converter.dispatch(a)).output).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",new y.helper.Event("makehtml.hashBlock.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.hashCodeTags",function(e,n,s){"use strict";let t=new y.helper.Event("makehtml.hashCodeTags.onStart",e);t.setOutput(e)._setGlobals(s)._setOptions(n),e=(t=s.converter.dispatch(t)).output;e=y.helper.replaceRecursiveRegExp(e,function(e,t,r,a){r=r+y.subParser("makehtml.encodeCode")(t,n,s)+a;return"¨C"+(s.gHtmlSpans.push(r)-1)+"C"},"<code\\b[^>]*>","</code>","gim");let r=new y.helper.Event("makehtml.hashCodeTags.onEnd",e);return r.setOutput(e)._setGlobals(s)._setOptions(n),(r=s.converter.dispatch(r)).output}),y.subParser("makehtml.hashElement",function(e,t,a){"use strict";return function(e,t){let r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(a.gHtmlBlocks.push(r)-1)+"K\n\n"}}),y.subParser("makehtml.hashHTMLBlocks",function(r,e,s){"use strict";let t=new y.helper.Event("makehtml.hashHTMLBlocks.onStart",r);t.setOutput(r)._setGlobals(s)._setOptions(e),r=(t=s.converter.dispatch(t)).output;function a(e,t,r,a){let n=e;return-1!==r.search(/\bmarkdown\b/)&&(n=r+s.converter.makeHtml(t)+a),"\n\n¨K"+(s.gHtmlBlocks.push(n)-1)+"K\n\n"}var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","details","p"];e.backslashEscapesHTMLTags&&(r=r.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(let e=0;e<n.length;++e)for(var o,i=new RegExp("^ {0,3}(<"+n[e]+"\\b[^>]*>)","im"),l="<"+n[e]+"\\b[^>]*>",c="</"+n[e]+">";-1!==(o=y.helper.regexIndexOf(r,i));){let e=y.helper.splitAtIndex(r,o),t=y.helper.replaceRecursiveRegExp(e[1],a,l,c,"im");if(t===e[1])break;r=e[0].concat(t)}r=r.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,y.subParser("makehtml.hashElement")(r,e,s)),r=(r=y.helper.replaceRecursiveRegExp(r,function(e){return"\n\n¨K"+(s.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/\n\n( {0,3}<([?%])[^\r]*?\2>[ \t]*(?=\n{2,}))/g,y.subParser("makehtml.hashElement")(r,e,s));let u=new y.helper.Event("makehtml.hashHTMLBlocks.onEnd",r);return u.setOutput(r)._setGlobals(s)._setOptions(e),(u=s.converter.dispatch(u)).output}),y.subParser("makehtml.hashHTMLSpans",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.hashHTMLSpans.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(e=(e=(e=(e=(a=r.converter.dispatch(a)).output).replace(/<[^>]+?\/>/gi,function(e){return y.helper._hashHTMLSpan(e,r)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return y.helper._hashHTMLSpan(e,r)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return y.helper._hashHTMLSpan(e,r)})).replace(/<[^>]+?>/gi,function(e){return y.helper._hashHTMLSpan(e,r)}),new y.helper.Event("makehtml.hashHTMLSpans.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.hashPreCodeTags",function(e,n,s){"use strict";let t=new y.helper.Event("makehtml.hashHTMLBlocks.onStart",e);t.setOutput(e)._setGlobals(s)._setOptions(n),e=(t=s.converter.dispatch(t)).output;e=y.helper.replaceRecursiveRegExp(e,function(e,t,r,a){r=r+y.subParser("makehtml.encodeCode")(t,n,s)+a;return"\n\n¨G"+(s.ghCodeBlocks.push({text:e,codeblock:r})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim");let r=new y.helper.Event("makehtml.hashPreCodeTags.onEnd",e);return r.setOutput(e)._setGlobals(s)._setOptions(n),(r=s.converter.dispatch(r)).output}),y.subParser("makehtml.heading",function(e,l,c){"use strict";function n(e,t,r,a,n){let s=new y.helper.Event("makehtml.heading.onCapture",r),o;s.setOutput(null)._setGlobals(c)._setOptions(l).setRegexp(e).setMatches({_wholeMatch:t,heading:r}).setAttributes({id:n}),s=c.converter.dispatch(s),o=s.output&&""!==s.output?s.output:(r=s.matches.heading,e=y.subParser("makehtml.spanGamut")(r,l,c),t=s.attributes,"<h"+a+y.helper._populateAttributes(t)+">"+e+"</h"+a+">");let i=new y.helper.Event("makehtml.heading.onHash",o);return i.setOutput(o)._setGlobals(c)._setOptions(l),i=c.converter.dispatch(i),o=i.output,y.subParser("makehtml.hashBlock")(o,l,c)}let t=new y.helper.Event("makehtml.heading.onStart",e),a=(t.setOutput(e)._setGlobals(c)._setOptions(l),e=(t=c.converter.dispatch(t)).output,l.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm),s=l.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm,r=l.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,o=(e=(e=(e=e.replace(a,function(e,t){var r=l.noHeaderId?null:y.subParser("makehtml.heading.id")(t,l,c);return n(a,e,t,l.headerLevelStart,r)})).replace(s,function(e,t){var r=l.noHeaderId?null:y.subParser("makehtml.heading.id")(t,l,c);return n(s,e,t,l.headerLevelStart+1,r)})).replace(r,function(e,t,r){var t=l.headerLevelStart-1+t.length,a=l.customizedHeaderId?r.replace(/\s?{([^{]+?)}\s*$/,""):r,r=l.noHeaderId?null:y.subParser("makehtml.heading.id")(r,l,c);return n(s,e,a,t,r)}),new y.helper.Event("makehtml.heading.onEnd",e));return o.setOutput(e)._setGlobals(c)._setOptions(l),(o=c.converter.dispatch(o)).output}),y.subParser("makehtml.heading.id",function(e,t,r){let a,n;var s;return t.customizedHeaderId&&(s=e.match(/{([^{]+?)}\s*$/))&&s[1]&&(e=s[1]),a=e,n=y.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(a=n+a),a=(t.ghCompatibleHeaderId?a.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,""):t.rawHeaderId?a.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-"):a.replace(/[^\w]/g,"")).toLowerCase(),t.rawPrefixHeaderId&&(a=n+a),r.hashLinkCounts[a]?a=a+"-"+r.hashLinkCounts[a]++:r.hashLinkCounts[a]=1,a}),y.subParser("makehtml.horizontalRule",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.horizontalRule.onStart",e);a.setOutput(e)._setGlobals(r)._setOptions(t),e=(a=r.converter.dispatch(a)).output;var n=y.subParser("makehtml.hashBlock")("<hr />",t,r);e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n);let s=new y.helper.Event("makehtml.horizontalRule.onEnd",e);return s.setOutput(e)._setGlobals(r)._setOptions(t),(s=r.converter.dispatch(s)).output}),y.subParser("makehtml.image",function(e,b,f){"use strict";function i(e,t,r,a,n,s,o,i,l){let c=f.gUrls,u=f.gTitles,h=f.gDimensions,p={_wholeMatch:t,_altText:r,_linkId:a,_url:n,_width:s,_height:o,_title:l},m,d;if(a=a.toLowerCase(),l=l||null,-1<t.search(/\(<?\s*>? ?(['"].*['"])?\)$/m))n="";else if(""===n||null===n){if(n="#"+(a=""!==a&&null!==a?a:r.toLowerCase().replace(/ ?\n/g," ")),y.helper.isUndefined(c[a]))return t;n=c[a],y.helper.isUndefined(u[a])||(l=u[a]),y.helper.isUndefined(h[a])||(s=h[a].width,o=h[a].height)}r=r.replace(/"/g,""").replace(y.helper.regexes.asteriskDashTildeAndColon,y.helper.escapeCharactersCallback),n=n.replace(y.helper.regexes.asteriskDashTildeAndColon,y.helper.escapeCharactersCallback),l&&y.helper.isString(l)&&(l=l.replace(/"/g,""").replace(y.helper.regexes.asteriskDashTildeAndColon,y.helper.escapeCharactersCallback)),s=s?"*"===s?"auto":s:null,o=o?"*"===o?"auto":o:null;let _=new y.helper.Event("makehtml.image.onCapture",t),g=(_.setOutput(null)._setGlobals(f)._setOptions(b).setRegexp(e).setMatches(p).setAttributes({src:n,alt:r,title:l,width:s,height:o}),_=f.converter.dispatch(_),m=_.output&&""!==_.output?_.output:(d=_.attributes,"<img"+y.helper._populateAttributes(d)+" />"),new y.helper.Event("makehtml.image.onHash",m));return g.setOutput(m)._setGlobals(f)._setOptions(b),g=f.converter.dispatch(g),m=g.output}let t=new y.helper.Event("makehtml.image.onStart",e),l=(t.setOutput(e)._setGlobals(f)._setOptions(b),e=(t=f.converter.dispatch(t)).output,/!\[([^\]]*?)][ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\5)?[ \t]?\)/g),c=/!\[([^\]]*?)][ \t]*\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\5)?[ \t]?\)/g,u=/!\[([^\]]*?)][ \t]*\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,a=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]/g,r=/!\[([^\[\]]+)]/g,n=(e=(e=(e=(e=(e=e.replace(a,function(e,t,r){return i(a,e,t,r,"")})).replace(u,function(e,t,r,a,n,s,o){return r=r.replace(/\s/g,""),i(u,e,t,"",r,a,n,0,o)})).replace(c,function(e,t,r,a,n,s,o){return r=y.helper.applyBaseUrl(b.relativePathBaseUrl,r),i(c,e,t,"",r,a,n,0,o)})).replace(l,function(e,t,r,a,n,s,o){return r=y.helper.applyBaseUrl(b.relativePathBaseUrl,r),i(l,e,t,"",r,a,n,0,o)})).replace(r,function(e,t){return i(r,e,t,"","")}),new y.helper.Event("makehtml.image.onEnd",e));return n.setOutput(e)._setGlobals(f)._setOptions(b),(n=f.converter.dispatch(n)).output}),n="makehtml.links",y.subParser("makehtml.links",function(e,t,r){return e=r.converter._dispatch(n+".start",e,t,r).getText(),e=y.subParser("makehtml.links.reference")(e,t,r),e=y.subParser("makehtml.links.inline")(e,t,r),e=y.subParser("makehtml.links.referenceShortcut")(e,t,r),e=y.subParser("makehtml.links.angleBrackets")(e,t,r),e=(e=(e=y.subParser("makehtml.links.ghMentions")(e,t,r)).replace(/<a\s[^>]*>[\s\S]*<\/a>/g,function(e){return y.helper._hashHTMLSpan(e,r)})).replace(/<img\s[^>]*\/?>/g,function(e){return y.helper._hashHTMLSpan(e,r)}),e=y.subParser("makehtml.links.naked")(e,t,r),e=r.converter._dispatch(n+".end",e,t,r).getText()}),y.subParser("makehtml.links.inline",function(e,t,r){var a=void 0+".inline",n=/\[(.*?)]()()()()\(<? ?>? ?(?:["'](.*)["'])?\)/g,s=/\[((?:\[[^\]]*]|[^\[\]])*)]()\s?\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,o=/\[([\S ]*?)]\s?()\( *<?([^\s'"]*?(?:\([\S]*?\)[\S]*?)?)>?\s*(?:()(['"])(.*?)\5)? *\)/g,i=/\[([\S ]*?)]\s?()\( *<?([^\s'"]*?(?:\([\S]*?\)[\S]*?)?)>?\s+()()\((.*?)\) *\)/g;return e=(e=(e=(e=(e=r.converter._dispatch(a+".start",e,t,r).getText()).replace(n,c(n,a,t,r,!0))).replace(s,c(s,a,t,r))).replace(o,c(o,a,t,r))).replace(i,c(i,a,t,r)),e=r.converter._dispatch(a+".end",e,t,r).getText()}),y.subParser("makehtml.links.reference",function(e,t,r){var a=void 0+".reference",n=/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g;return e=(e=r.converter._dispatch(a+".start",e,t,r).getText()).replace(n,o(n,a,t,r)),e=r.converter._dispatch(a+".end",e,t,r).getText()}),y.subParser("makehtml.links.referenceShortcut",function(e,t,r){var a=void 0+".referenceShortcut",n=/\[([^\[\]]+)]()()()()()/g;return e=(e=r.converter._dispatch(a+".start",e,t,r).getText()).replace(n,o(n,a,t,r)),e=r.converter._dispatch(a+".end",e,t,r).getText()}),y.subParser("makehtml.links.ghMentions",function(e,s,o){var i=void 0+"ghMentions";if(!s.ghMentions)return e;e=o.converter._dispatch(i+".start",e,s,o).getText();var l=/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d._-]+?[a-z\d]+)*))/gi;return e=e.replace(l,function(e,t,r,a,n){if("\\"===r)return t+a;if(!y.helper.isString(s.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");r=s.ghMentionsLink.replace(/{u}/g,n);return t+b(g(l,i+".captureStart",e,a,null,r,null,s,o),s,o)}),e=o.converter._dispatch(i+".end",e,s,o).getText()}),y.subParser("makehtml.links.angleBrackets",function(e,a,n){var s="makehtml.links.angleBrackets",o=(e=n.converter._dispatch(s+".start",e,a,n).getText(),/<(((?:https?|ftp):\/\/|www\.)[^'">\s]+)>/gi),i=(e=e.replace(o,function(e,t,r){return b(g(o,s+".captureStart",e,t,null,t="www."===r?"http://"+t:t,null,a,n),a,n)}),/<(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi);return e=e.replace(i,function(e,t){var r="mailto:";return t=y.subParser("makehtml.unescapeSpecialChars")(t,a,n),a.encodeEmails?(r=y.helper.encodeEmailAddress(r+t),t=y.helper.encodeEmailAddress(t)):r+=t,b(g(i,s+".captureStart",e,t,null,r,null,a,n),a,n)}),e=n.converter._dispatch(s+".end",e,a,n).getText()}),y.subParser("makehtml.links.naked",function(e,u,h){if(!u.simplifiedAutoLink)return e;var p="makehtml.links.naked",m=(e=h.converter._dispatch(p+".start",e,u,h).getText(),/([_*~]*?)(((?:https?|ftp):\/\/|www\.)[^\s<>"'`´.-][^\s<>"'`´]*?\.[a-z\d.]+[^\s<>"']*)\1/gi),n=(e=e.replace(m,function(e,t,r,a){for(var n="",s=r.length-1;0<=s;--s){var o=r.charAt(s);if(/[_*~,;:.!?]/.test(o))r=r.slice(0,-1),n=o+n;else if(/\)/.test(o)){var i=r.match(/\(/g)||[],l=r.match(/\)/g);if(!(i.length<l.length))break;r=r.slice(0,-1),n=o+n}else{if(!/]/.test(o))break;i=r.match(/\[/g)||[],l=r.match(/\]/g);if(!(i.length<l.length))break;r=r.slice(0,-1),n=o+n}}var c=r;return r="www."===a?"http://"+r:r,c=c.replace(y.helper.regexes.asteriskDashTildeAndColon,y.helper.escapeCharactersCallback),t+b(g(m,p+".captureStart",e,c,null,r,null,u,h),u,h)+n+t}),/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim);return e=e.replace(n,function(e,t,r){var a="mailto:";return r=y.subParser("makehtml.unescapeSpecialChars")(r,u,h),u.encodeEmails?(a=y.helper.encodeEmailAddress(a+r),r=y.helper.encodeEmailAddress(r)):a+=r,t+b(g(n,p+".captureStart",e,r,null,a,null,u,h),u,h)}),e=h.converter._dispatch(p+".end",e,u,h).getText()}),y.subParser("makehtml.lists",function(e,d,_){"use strict";function h(e,t){_.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[([xX ])])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,m=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return d.disableForced4SpacesIndentedSublists&&(r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[([xX ])])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(r,function(e,t,r,a,n,s,o){o=o&&""!==o.trim();var n=y.subParser("makehtml.outdent")(n,d,_),i="";if(s&&d.tasklists&&(i=' class="task-list-item',d.moreStyling&&(i+=o?" task-list-item-complete":""),i+='" style="list-style-type: none;"',n=n.replace(/^[ \t]*\[([xX ])?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return o&&(e+=" checked"),e+=">"})),n=n.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),/^#+.+\n.+/.test(n)&&(n=n.replace(/^(#+.+)$/m,"$1\n")),t||-1<n.search(/\n{2,}/)){n=y.subParser("makehtml.githubCodeBlock")(n,d,_),n=y.subParser("makehtml.blockquote")(n,d,_),n=y.subParser("makehtml.heading")(n,d,_),n=y.subParser("makehtml.lists")(n,d,_),n=y.subParser("makehtml.codeBlock")(n,d,_),n=y.subParser("makehtml.tables")(n,d,_);for(var l=(n=(n=(n=y.subParser("makehtml.hashHTMLBlocks")(n,d,_)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),c=[],u=l.length,h=0;h<u;h++){var p=l[h];0<=p.search(/¨([KG])(\d+)\1/g)?c.push(p):0<=p.search(/\S/)&&(p=(p=y.subParser("makehtml.spanGamut")(p,d,_)).replace(/^([ \t]*)/g,"<p>"),p+="</p>",c.push(p))}n=(n=(n=c.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,"")}else n=(n=y.subParser("makehtml.lists")(n,d,_)).replace(/\n$/,""),n=(n=y.subParser("makehtml.hashHTMLBlocks")(n,d,_)).replace(/\n\n+/g,"\n\n"),n=(m?y.subParser("makehtml.paragraphs"):y.subParser("makehtml.spanGamut"))(n,d,_);return n="<li"+i+">"+(n=n.replace("¨A",""))+"</li>\n"})).replace(/¨0/g,""),_.gListLevel--,e=t?e.replace(/\s+$/,""):e}function p(e,t){if("ol"===t){t=e.match(/^ *(\d+)\./);if(t&&"1"!==t[1])return' start="'+t[1]+'"'}return""}function n(n,s,o){var e,i=d.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=d.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===s?i:l,u="";return-1!==n.search(c)?function e(t){var r=t.search(c),a=p(n,s);-1!==r?(u+="\n\n<"+s+a+">\n"+h(t.slice(0,r),!!o)+"</"+s+">\n",c="ul"===(s="ul"===s?"ol":"ul")?i:l,e(t.slice(r))):u+="\n\n<"+s+a+">\n"+h(t,!!o)+"</"+s+">\n"}(n):(e=p(n,s),u="\n\n<"+s+e+">\n"+h(n,!!o)+"</"+s+">\n"),u}return e=_.converter._dispatch("lists.before",e,d,_).getText(),e+="¨0",e=(e=_.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r){return n(t,-1<r.search(/[*+-]/g)?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r,a){return n(r,-1<a.search(/[*+-]/g)?"ul":"ol",!1)})).replace(/¨0/,""),e=_.converter._dispatch("makehtml.lists.after",e,d,_).getText()}),y.subParser("makehtml.metadata",function(e,t,a){"use strict";return t.metadata?(e=(e=(e=(e=a.converter._dispatch("makehtml.metadata.before",e,t,a).getText()).replace(/^\s*«««+\s*(\S*?)\n([\s\S]+?)\n»»»+\s*\n/,function(e,t,r){return n(r),"¨M"})).replace(/^\s*---+\s*(\S*?)\n([\s\S]+?)\n---+\s*\n/,function(e,t,r){return t&&(a.metadata.format=t),n(r),"¨M"})).replace(/¨M/g,""),a.converter._dispatch("makehtml.metadata.after",e,t,a).getText()):e;function n(e){(e=(e=(e=(a.metadata.raw=e).replace(/&/g,"&").replace(/"/g,""")).replace(/¨D/g,"$$").replace(/¨T/g,"¨")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,r){return a.metadata.parsed[t]=r,""})}}),y.subParser("makehtml.outdent",function(e,t,r){"use strict";return e=(e=(e=r.converter._dispatch("makehtml.outdent.before",e,t,r).getText()).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("makehtml.outdent.after",e,t,r).getText()}),y.subParser("makehtml.paragraphs",function(e,t,r){"use strict";for(var a=(e=(e=(e=r.converter._dispatch("makehtml.paragraphs.before",e,t,r).getText()).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),n=[],s=a.length,o=0;o<s;o++){var i=a[o];0<=i.search(/¨(K|G)(\d+)\1/g)?n.push(i):0<=i.search(/\S/)&&(i=(i=y.subParser("makehtml.spanGamut")(i,t,r)).replace(/^([ \t]*)/g,"<p>"),i+="</p>",n.push(i))}for(s=n.length,o=0;o<s;o++){for(var l="",c=n[o],u=!1;/¨(K|G)(\d+)\1/.test(c);){var h=RegExp.$1,p=RegExp.$2;l=(l="K"===h?r.gHtmlBlocks[p]:u?y.subParser("makehtml.encodeCode")(r.ghCodeBlocks[p].text,t,r):r.ghCodeBlocks[p].codeblock).replace(/\$/g,"$$$$"),c=c.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(c)&&(u=!0)}n[o]=c}return e=(e=(e=n.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("makehtml.paragraphs.after",e,t,r).getText()}),y.subParser("makehtml.runExtension",function(e,t,r,a){"use strict";return e.filter?t=e.filter(t,a.converter,r):e.regex&&((a=e.regex)instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)),t}),y.subParser("makehtml.spanGamut",function(e,t,r){"use strict";let a=new y.helper.Event("makehtml.spanGamut.onStart",e),n=(a.setOutput(e)._setGlobals(r)._setOptions(t),e=(a=r.converter.dispatch(a)).output,e=y.subParser("makehtml.codeSpan")(e,t,r),e=y.subParser("makehtml.escapeSpecialCharsWithinTagAttributes")(e,t,r),e=y.subParser("makehtml.encodeBackslashEscapes")(e,t,r),e=y.subParser("makehtml.image")(e,t,r),e=r.converter._dispatch("smakehtml.links.before",e,t,r).getText(),e=y.subParser("makehtml.links")(e,t,r),e=r.converter._dispatch("smakehtml.links.after",e,t,r).getText(),e=y.subParser("makehtml.emoji")(e,t,r),e=y.subParser("makehtml.underline")(e,t,r),e=y.subParser("makehtml.emphasisAndStrong")(e,t,r),e=y.subParser("makehtml.strikethrough")(e,t,r),e=y.subParser("makehtml.ellipsis")(e,t,r),e=y.subParser("makehtml.hashHTMLSpans")(e,t,r),e=y.subParser("makehtml.encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),new y.helper.Event("makehtml.spanGamut.onEnd",e));return n.setOutput(e)._setGlobals(r)._setOptions(t),(n=r.converter.dispatch(n)).output}),y.subParser("makehtml.strikethrough",function(e,t,r){"use strict";return t.strikethrough&&(e=(e=r.converter._dispatch("makehtml.strikethrough.before",e,t,r).getText()).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return"<del>"+t+"</del>"}),e=r.converter._dispatch("makehtml.strikethrough.after",e,t,r).getText()),e}),y.subParser("makehtml.stripLinkDefinitions",function(i,l,c){"use strict";function e(e,t,r,a,n,s,o){return t=t.toLowerCase(),i.toLowerCase().split(t).length-1<2?e:(r.match(/^data:.+?\/.+?;base64,/)?c.gUrls[t]=r.replace(/\s/g,""):(r=y.helper.applyBaseUrl(l.relativePathBaseUrl,r),c.gUrls[t]=y.subParser("makehtml.encodeAmpsAndAngles")(r,l,c)),s?s+o:(o&&(c.gTitles[t]=o.replace(/"|'/g,""")),l.parseImgDimensions&&a&&n&&(c.gDimensions[t]={width:a,height:n}),""))}return i=(i=(i=(i+="¨0").replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,e)).replace(/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,e)).replace(/¨0/,"")}),y.subParser("makehtml.tables",function(e,w,v){"use strict";if(!w.tables)return e;function t(e){let t=e.split("\n");for(let e=0;e<t.length;++e)/^ {0,3}\|/.test(t[e])&&(t[e]=t[e].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(t[e])&&(t[e]=t[e].replace(/\|[ \t]*$/,"")),t[e]=y.subParser("makehtml.codeSpan")(t[e],w,v);let r=t[0].split("|").map(function(e){return e.trim()}),a=t[1].split("|").map(function(e){return e.trim()}),n=[],s=[],o=[],i=[];t.shift(),t.shift();for(let e=0;e<t.length;++e)""!==t[e].trim()&&n.push(t[e].split("|").map(function(e){return e.trim()}));if(r.length<a.length)return e;for(let e=0;e<a.length;++e)o.push((l=a[e],/^:[ \t]*--*$/.test(l)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(l)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(l)?' style="text-align:center;"':""));var l,c,u,h;for(let t=0;t<r.length;++t){let e=o[t];y.helper.isUndefined(e)&&(e=""),s.push((c=r[t],u=e,void 0,h="",c=c.trim(),"<th"+(h=w.tablesHeaderId||w.tableHeaderId?' id="'+c.replace(/ /g,"_").toLowerCase()+'"':h)+u+">"+(c=y.subParser("makehtml.spanGamut")(c,w,v))+"</th>\n"))}for(let r=0;r<n.length;++r){let t=[];for(let e=0;e<s.length;++e){var p=y.helper.isUndefined(n[r][e])?"":n[r][e],m=y.helper.isUndefined(o[e])?"":o[e];t.push((p=p,"<td"+m+">"+y.subParser("makehtml.spanGamut")(p,w,v)+"</td>\n"))}i.push(t)}for(var d=s,_=i,g="<table>\n<thead>\n<tr>\n",b=d.length,f=0;f<b;++f)g+=d[f];for(g+="</tr>\n</thead>\n<tbody>\n",f=0;f<_.length;++f){g+="<tr>\n";for(var k=0;k<b;++k)g+=_[f][k];g+="</tr>\n"}return g+="</tbody>\n</table>\n"}return e=(e=(e=(e=v.converter._dispatch("makehtml.tables.before",e,w,v).getText()).replace(/\\(\|)/g,y.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*[-=]{2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*[-=]{2,}[\s\S]+?(?:\n\n|¨0)/gm,t)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*[-=]{2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,t),e=v.converter._dispatch("makehtml.tables.after",e,w,v).getText()}),y.subParser("makehtml.underline",function(e,t,r){"use strict";return t.underline?(e=r.converter._dispatch("makehtml.underline.before",e,t,r).getText(),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return"<u>"+t+"</u>"})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return"<u>"+t+"</u>"}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/(_)/g,y.helper.escapeCharactersCallback),r.converter._dispatch("makehtml.underline.after",e,t,r).getText()):e}),y.subParser("makehtml.unescapeSpecialChars",function(e,t,r){"use strict";return e=(e=r.converter._dispatch("makehtml.unescapeSpecialChars.before",e,t,r).getText()).replace(/¨E(\d+)E/g,function(e,t){t=parseInt(t);return String.fromCharCode(t)}),e=r.converter._dispatch("makehtml.unescapeSpecialChars.after",e,t,r).getText()}),y.subParser("makehtml.unhashHTMLSpans",function(a,e,n){"use strict";let t=new y.helper.Event("makehtml.unhashHTMLSpans.onStart",a);t.setOutput(a)._setGlobals(n)._setOptions(e),a=(t=n.converter.dispatch(t)).output;for(let r=0;r<n.gHtmlSpans.length;++r){let e=n.gHtmlSpans[r],t=0;for(;/¨C(\d+)C/.test(e);){var s=e.match(/¨C(\d+)C/)[1];if(e=e.replace("¨C"+s+"C",n.gHtmlSpans[s]),10===t){console.error("maximum nesting of 20 spans reached!!!");break}++t}a=a.replace("¨C"+r+"C",e)}let r=new y.helper.Event("makehtml.unhashHTMLSpans.onEnd",a);return r.setOutput(a)._setGlobals(n)._setOptions(e),(r=n.converter.dispatch(r)).output}),y.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var a=e.childNodes,n=a.length,s=0;s<n;++s){var o=y.subParser("makeMarkdown.node")(a[s],t);""!==o&&(r+=o)}return r="> "+(r=r.trim()).split("\n").join("\n> ")}),y.subParser("makeMarkdown.break",function(){"use strict";return" \n"}),y.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";var r=e.getAttribute("language"),e=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[e]+"\n```"}),y.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),y.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var a=e.childNodes,n=a.length,s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t);r+="*"}return r}),y.subParser("makeMarkdown.header",function(e,t,r){"use strict";var r=new Array(r+1).join("#"),a="";if(e.hasChildNodes())for(var a=r+" ",n=e.childNodes,s=n.length,o=0;o<s;++o)a+=y.subParser("makeMarkdown.node")(n[o],t);return a}),y.subParser("makeMarkdown.hr",function(){"use strict";return"---"}),y.subParser("makeMarkdown.image",function(e){"use strict";var t="";return e.hasAttribute("src")&&(t=(t+="!["+e.getAttribute("alt")+"](")+"<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),y.subParser("makeMarkdown.input",function(e,t){"use strict";for(var r="",a=(null!==e.getAttribute("checked")?r+="[x]":r+="[ ]",e.childNodes),n=a.length,s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t);return r}),y.subParser("makeMarkdown.links",function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){for(var a=e.childNodes,n=a.length,r="[",s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t);r=(r+="](")+("<"+e.getAttribute("href")+">"),e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r}),y.subParser("makeMarkdown.list",function(e,t,r){"use strict";var a="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,s=n.length,o=e.getAttribute("start")||1,i=0;i<s;++i)void 0!==n[i].tagName&&"li"===n[i].tagName.toLowerCase()&&(a+=("ol"===r?o.toString()+". ":"- ")+y.subParser("makeMarkdown.listItem")(n[i],t),++o);return a.trim()}),y.subParser("makeMarkdown.listItem",function(e,t){"use strict";for(var r="",a=e.childNodes,n=a.length,s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t);return/\n$/.test(r)?r=r.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r}),y.subParser("makeMarkdown.node",function(e,t,r){"use strict";r=r||!1;var a="";if(3===e.nodeType)return y.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":r||(a=y.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(a=y.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(a=y.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(a=y.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(a=y.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(a=y.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(a=y.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(a=y.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(a=y.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(a=y.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(a=y.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(a=y.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(a=y.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(a=y.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":a=y.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":a=y.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":a=y.subParser("makeMarkdown.strong")(e,t);break;case"del":a=y.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":a=y.subParser("makeMarkdown.links")(e,t);break;case"img":a=y.subParser("makeMarkdown.image")(e,t);break;case"br":a=y.subParser("makeMarkdown.break")(e,t);break;case"input":a=y.subParser("makeMarkdown.input")(e,t);break;default:a=e.outerHTML+"\n\n"}return a}),y.subParser("makeMarkdown.paragraph",function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var a=e.childNodes,n=a.length,s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t);return r=r.trim()}),y.subParser("makeMarkdown.pre",function(e,t){"use strict";e=e.getAttribute("prenum");return"<pre>"+t.preList[e]+"</pre>"}),y.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var a=e.childNodes,n=a.length,s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t);r+="~~"}return r}),y.subParser("makeMarkdown.strong",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="**";for(var a=e.childNodes,n=a.length,s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t);r+="**"}return r}),y.subParser("makeMarkdown.table",function(e,t){"use strict";var r,a,n="",s=[[],[]],o=[];function i(e){for(var t=e.childNodes,r=[],a=0;a<t.length;++a){var n=t[a].nodeName.toUpperCase();"TD"!==n&&"TH"!==n||r.push(t[a])}return r}if(0!==e.querySelectorAll(":scope>thead").length&&0!==e.querySelectorAll(":scope>thead>tr").length)for(var l=e.querySelectorAll(":scope>thead>tr"),c=0;c<l.length;++c)o.push(i(l[c]));if(0!==e.querySelectorAll(":scope>tbody").length&&0!==e.querySelectorAll(":scope>tbody>tr").length){var u=e.querySelectorAll(":scope>tbody>tr");for(c=0;c<u.length;++c)o.push(i(u[c]))}if(0!==e.querySelectorAll(":scope>tfoot").length&&0!==e.querySelectorAll(":scope>tfoot>tr").length){var h=e.querySelectorAll(":scope>tfoot>tr");for(c=0;c<h.length;++c)o.push(i(h[c]))}if(0!==e.querySelectorAll(":scope>tr").length){var p=e.querySelectorAll(":scope>tr");for(c=0;c<p.length;++c)o.push(i(p[c]))}if(0===o.length)return n;for(a=o[0].length,r=o.shift(),c=0;c<r.length;++c){var m=y.subParser("makeMarkdown.tableCell")(r[c],t),d="---";if(r[c].hasAttribute("style"))switch(r[c].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":d=":---";break;case"text-align:right;":d="---:";break;case"text-align:center;":d=":---:"}s[0][c]=m.trim(),s[1][c]=d}for(c=0;c<o.length;++c)for(var _=s.push([])-1,g=0;g<a;++g){var b=" ";void 0!==o[c][g]&&(b=y.subParser("makeMarkdown.tableCell")(o[c][g],t)),s[_].push(b)}var f=3;for(c=0;c<s.length;++c)for(g=0;g<s[c].length;++g){var k=s[c][g].length;f<k&&(f=k)}for(c=0;c<s.length;++c){for(g=0;g<s[c].length;++g)1===c?":"===s[c][g].slice(-1)?s[c][g]=y.helper.padEnd(s[c][g].slice(0,-1),f-1,"-")+":":s[c][g]=y.helper.padEnd(s[c][g],f,"-"):s[c][g]=y.helper.padEnd(s[c][g],f);n+="| "+s[c].join(" | ")+" |\n"}return n.trim()}),y.subParser("makeMarkdown.tableCell",function(e,t){"use strict";var r="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,n=a.length,s=0;s<n;++s)r+=y.subParser("makeMarkdown.node")(a[s],t,!0);return r.trim()}),y.subParser("makeMarkdown.txt",function(e){"use strict";e=e.nodeValue;return e=(e=e.replace(/ +/g," ")).replace(/¨NBSP;/g," "),e=(e=(e=(e=(e=(e=(e=(e=(e=y.helper.unescapeHTMLEntities(e)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")}),y.Converter=function(e){"use strict";var t,r,n={},i=[],l=[],c={},a=m,s={parsed:{},raw:"",format:""};for(t in e=e||{},p)p.hasOwnProperty(t)&&(n[t]=p[t]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);function o(e,t){if(t=t||null,y.helper.isString(e)){if(t=e=y.helper.stdExtName(e),y.extensions[e]){console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!");var r=y.extensions[e],a=e;if("function"==typeof r&&(r=r(new y.Converter)),y.helper.isArray(r)||(r=[r]),!(a=_(r,a)).valid)throw Error(a.error);for(var n=0;n<r.length;++n)switch(r[n].type){case"lang":i.push(r[n]);break;case"output":l.push(r[n]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}return}if(y.helper.isUndefined(h[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=h[e]}"function"==typeof e&&(e=e());a=_(e=y.helper.isArray(e)?e:[e],t);if(!a.valid)throw Error(a.error);for(var s=0;s<e.length;++s){switch(e[s].type){case"lang":i.push(e[s]);break;case"output":l.push(e[s])}if(e[s].hasOwnProperty("listeners"))for(var o in e[s].listeners)e[s].listeners.hasOwnProperty(o)&&u(o,e[s].listeners[o])}}function u(e,t){if(!y.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");e=e.toLowerCase(),c.hasOwnProperty(e)||(c[e]=[]),c[e].push(t)}n.extensions&&y.helper.forEach(n.extensions,o),n=y.helper.validateOptions(n),this.dispatch=function(t){if(!(t instanceof y.helper.Event))throw new TypeError("dispatch only accepts showdown.helper.Event objects as param, but "+typeof t+" given");if(t.converter=this,c.hasOwnProperty(t.name))for(let e=0;e<c[t.name].length;++e){var r=c[t.name][e](t);y.helper.isString(r)?(t.output=r,t.input=r):r instanceof y.helper.Event&&r.name===t.name&&(t=r)}return t},this._dispatch=function(e,t,r,a,n){e=e.toLowerCase(),t=t||"";var n=n||{},s=(n.converter=this,n.input=t,n.options=r,n.globals=a,new y.helper.Event(e,t,n));if(c.hasOwnProperty(e))for(var o=0;o<c[e].length;++o){var i=c[e][o](s);i&&void 0!==i&&(s.output=i)}return s},this.listen=function(e,t){return u(e,t),this},this.makeHtml=function(t){if(!t)return t;var e,r,a={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:i,outputModifiers:l,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return t=(t=(t=(t=(t=t.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),n.smartIndentationFix&&(r=(e=t).match(/^\s*/)[0].length,r=new RegExp("^\\s{0,"+r+"}","gm"),t=e.replace(r,"")),t="\n\n"+t+"\n\n",t=(t=y.subParser("makehtml.detab")(t,n,a)).replace(/^[ \t]+$/gm,""),y.helper.forEach(i,function(e){t=y.subParser("makehtml.runExtension")(e,t,n,a)}),t=y.subParser("makehtml.metadata")(t,n,a),t=y.subParser("makehtml.hashPreCodeTags")(t,n,a),t=y.subParser("makehtml.githubCodeBlock")(t,n,a),t=y.subParser("makehtml.hashHTMLBlocks")(t,n,a),t=y.subParser("makehtml.hashCodeTags")(t,n,a),t=y.subParser("makehtml.stripLinkDefinitions")(t,n,a),t=y.subParser("makehtml.blockGamut")(t,n,a),t=y.subParser("makehtml.unhashHTMLSpans")(t,n,a),t=(t=(t=y.subParser("makehtml.unescapeSpecialChars")(t,n,a)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),t=y.subParser("makehtml.completeHTMLDocument")(t,n,a),y.helper.forEach(l,function(e){t=y.subParser("makehtml.runExtension")(e,t,n,a)}),s=a.metadata,t},this.makeMarkdown=function(e){e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<");for(var t=y.helper.document.createElement("div"),r=(t.innerHTML=e,{preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],a=0;a<t.length;++a)if(1===t[a].childElementCount&&"code"===t[a].firstChild.tagName.toLowerCase()){var n=t[a].firstChild.innerHTML.trim(),s=t[a].firstChild.getAttribute("data-language")||"";if(""===s)for(var o=t[a].firstChild.className.split(" "),i=0;i<o.length;++i){var l=o[i].match(/^language-(.+)$/);if(null!==l){s=l[1];break}}n=y.helper.unescapeHTMLEntities(n),r.push(n),t[a].outerHTML='<precode language="'+s+'" precodenum="'+a.toString()+'"></precode>'}else r.push(t[a].innerHTML),t[a].innerHTML="",t[a].setAttribute("prenum",a.toString());return r}(t)}),a=(!function e(t){for(var r=0;r<t.childNodes.length;++r){var a=t.childNodes[r];3===a.nodeType?/\S/.test(a.nodeValue)||/^[ ]+$/.test(a.nodeValue)?(a.nodeValue=a.nodeValue.split("\n").join(" "),a.nodeValue=a.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(a),--r):1===a.nodeType&&e(a)}}(t),t.childNodes),n="",s=0;s<a.length;s++)n+=y.subParser("makeMarkdown.node")(a[s],r);return n},this.setOption=function(e,t){n[e]=t},this.getOption=function(e){return n[e]},this.getOptions=function(){return n},this.addExtension=function(e,t){o(e,t=t||null)},this.useExtension=function(e){o(e)},this.setFlavor=function(e){if(!d.hasOwnProperty(e))throw Error(e+" flavor was not found");var t,r=d[e];for(t in a=e,r)r.hasOwnProperty(t)&&(n[t]=r[t])},this.getFlavor=function(){return a},this.removeExtension=function(e){y.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var r=e[t],a=0;a<i.length;++a)i[a]===r&&i.splice(a,1);for(var n=0;n<l.length;++n)l[n]===r&&l.splice(n,1)}},this.getAllExtensions=function(){return{language:i,output:l}},this.getMetadata=function(e){return e?s.raw:s.parsed},this.getMetadataFormat=function(){return s.format},this._setMetadataPair=function(e,t){s.parsed[e]=t},this._setMetadataFormat=function(e){s.format=e},this._setMetadataRaw=function(e){s.raw=e}};"function"==typeof define&&define.amd?define(function(){"use strict";return y}):"undefined"!=typeof module&&module.exports?module.exports=y:this.showdown=y}.call(this);
|
||
//# sourceMappingURL=showdown.min.js.map
|