@jhuix/showdowns 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/showdowns.min.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* showdowns.min.js v0.7.
|
|
2
|
+
* showdowns.min.js v0.7.3
|
|
3
3
|
* Copyright (c) 2019-present, Jhuix (Hui Jin) <jhuix0117@gmail.com>
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).showdowns=t()}(this,function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);t>n;n++)r[n]=e[n];return r}function t(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function n(e,t,n){return t&&function(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,u(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(e,t,n){return(t=u(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;arguments.length>t;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function o(){
|
|
7
7
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
8
|
-
var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var o=Object.create((r&&r.prototype instanceof c?r:c).prototype);return s(o,"_invoke",function(n,r,i){var a,o,s,c=0,u=i||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return a=t,o=0,s=e,h.n=n,l}};function f(n,r){for(o=n,s=r,t=0;!d&&c&&!i&&u.length>t;t++){var i,a=u[t],f=h.p,p=a[2];n>3?(i=p===r)&&(s=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=e):f>=a[0]&&((i=2>n&&a[1]>f)?(o=0,h.v=r,h.n=a[1]):p>f&&(i=3>n||a[0]>r||r>p)&&(a[4]=n,a[5]=r,h.n=p,o=0))}if(i||n>1)return l;throw d=!0,r}return function(i,u,p){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,p),o=u,s=p;(t=2>o?e:s)||!d;){a||(o?3>o?(o>1&&(h.n=-1),f(o,s)):h.n=s:h.v=s);try{if(c=2,a){if(o||(i="next"),t=a[i]){if(!(t=t.call(a,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,2>o&&(o=0)}else 1===o&&(t=a.return)&&t.call(a),2>o&&(s=TypeError("The iterator does not provide a '"+i+"' method"),o=1);a=e}else if((t=(d=0>h.n)?s:n.call(r,h))!==l)break}catch(t){a=e,o=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,a),!0),o}var l={};function c(){}function u(){}function d(){}t=Object.getPrototypeOf;var h=[][r]?t(t([][r]())):(s(t={},r,function(){return this}),t),f=d.prototype=c.prototype=Object.create(h);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=d,s(f,"constructor",d),s(d,"constructor",u),u.displayName="GeneratorFunction",s(d,i,"GeneratorFunction"),s(f),s(f,i,"Generator"),s(f,r,function(){return this}),s(f,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:p}})()}function s(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}s=function(e,t,n,r){function a(t,n){s(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},s(e,t,n,r)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||h(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return e+""}(e,"string");return"symbol"==typeof t?t:t+""}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var p,g={exports:{}},m=g.exports;var v=(p||(p=1,function(e){(function(){function t(e){var 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:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",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"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var n={},r={},i={},a=t(!0),o="vanilla",s={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!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,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:t(!0),allOn:function(){var e=t(!0),n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}()};function l(e,t){var r=t?"Error in "+t+" extension->":"Error in unnamed extension",i={valid:!0,error:""};n.helper.isArray(e)||(e=[e]);for(var a=0;e.length>a;++a){var o=r+" sub-extension "+a+": ",s=e[a];if("object"!=typeof s)return i.valid=!1,i.error=o+"must be an object, but "+typeof s+" given",i;if(!n.helper.isString(s.type))return i.valid=!1,i.error=o+'property "type" must be a string, but '+typeof s.type+" given",i;var l=s.type=s.type.toLowerCase();if("language"===l&&(l=s.type="lang"),"html"===l&&(l=s.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return i.valid=!1,i.error=o+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',i;if("listener"===l){if(n.helper.isUndefined(s.listeners))return i.valid=!1,i.error=o+'. Extensions of type "listener" must have a property called "listeners"',i}else if(n.helper.isUndefined(s.filter)&&n.helper.isUndefined(s.regex))return i.valid=!1,i.error=o+l+' extensions must define either a "regex" property or a "filter" method',i;if(s.listeners){if("object"!=typeof s.listeners)return i.valid=!1,i.error=o+'"listeners" property must be an object but '+typeof s.listeners+" given",i;for(var c in s.listeners)if(s.listeners.hasOwnProperty(c)&&"function"!=typeof s.listeners[c])return i.valid=!1,i.error=o+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof s.listeners[c]+" given",i}if(s.filter){if("function"!=typeof s.filter)return i.valid=!1,i.error=o+'"filter" must be a function, but '+typeof s.filter+" given",i}else if(s.regex){if(n.helper.isString(s.regex)&&(s.regex=RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return i.valid=!1,i.error=o+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",i;if(n.helper.isUndefined(s.replace))return i.valid=!1,i.error=o+'"regex" extensions must implement a replace string or function',i}}return i}function c(e,t){return"¨E"+t.charCodeAt(0)+"E"}n.helper={},n.extensions={},n.setOption=function(e,t){return a[e]=t,this},n.getOption=function(e){return a[e]},n.getOptions=function(){return a},n.resetOptions=function(){a=t(!0)},n.setFlavor=function(e){if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");n.resetOptions();var t=s[e];for(var r in o=e,t)t.hasOwnProperty(r)&&(a[r]=t[r])},n.getFlavor=function(){return o},n.getFlavorOptions=function(e){if(s.hasOwnProperty(e))return s[e]},n.getDefaultOptions=function(e){return t(e)},n.subParser=function(e,t){if(n.helper.isString(e)){if(void 0===t){if(r.hasOwnProperty(e))return r[e];throw Error("SubParser named "+e+" not registered!")}r[e]=t}},n.extension=function(e,t){if(!n.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=n.helper.stdExtName(e),n.helper.isUndefined(t)){if(!i.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return i[e]}"function"==typeof t&&(t=t()),n.helper.isArray(t)||(t=[t]);var r=l(t,e);if(!r.valid)throw Error(r.error);i[e]=t},n.getAllExtensions=function(){return i},n.removeExtension=function(e){delete i[e]},n.resetExtensions=function(){i={}},n.validateExtension=function(e){return!!l(e,null).valid},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(e){return"string"==typeof e||e instanceof String},n.helper.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},n.helper.isArray=function(e){return Array.isArray(e)},n.helper.isUndefined=function(e){return void 0===e},n.helper.forEach=function(e,t){if(n.helper.isUndefined(e))throw Error("obj param is required");if(n.helper.isUndefined(t))throw Error("callback param is required");if(!n.helper.isFunction(t))throw Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(n.helper.isArray(e))for(var r=0;e.length>r;r++)t(e[r],r,e);else{if("object"!=typeof e)throw Error("obj does not seem to be an array or an iterable object");for(var i in e)e.hasOwnProperty(i)&&t(e[i],i,e)}},n.helper.stdExtName=function(e){return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},n.helper.escapeCharactersCallback=c,n.helper.escapeCharacters=function(e,t,n){var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var i=RegExp(r,"g");return e=e.replace(i,c)},n.helper.unescapeHTMLEntities=function(e){return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var u=function(e,t,n,r){var i,a,o,s,l,c=r||"",u=c.indexOf("g")>-1,d=RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),h=RegExp(t,c.replace(/g/g,"")),f=[];do{for(i=0;o=d.exec(e);)if(h.test(o[0]))i++||(s=(a=d.lastIndex)-o[0].length);else if(i&&! --i&&(f.push({left:{start:s,end:a},match:{start:a,end:o.index},right:{start:o.index,end:l=o.index+o[0].length},wholeMatch:{start:s,end:l}}),!u))return f}while(i&&(d.lastIndex=a));return f};n.helper.matchRecursiveRegExp=function(e,t,n,r){for(var i=u(e,t,n,r),a=[],o=0;i.length>o;++o)a.push([e.slice(i[o].wholeMatch.start,i[o].wholeMatch.end),e.slice(i[o].match.start,i[o].match.end),e.slice(i[o].left.start,i[o].left.end),e.slice(i[o].right.start,i[o].right.end)]);return a},n.helper.replaceRecursiveRegExp=function(e,t,r,i,a){if(!n.helper.isFunction(t)){var o=t;t=function(){return o}}var s=u(e,r,i,a),l=e,c=s.length;if(c>0){var d=[];0!==s[0].wholeMatch.start&&d.push(e.slice(0,s[0].wholeMatch.start));for(var h=0;c>h;++h)d.push(t(e.slice(s[h].wholeMatch.start,s[h].wholeMatch.end),e.slice(s[h].match.start,s[h].match.end),e.slice(s[h].left.start,s[h].left.end),e.slice(s[h].right.start,s[h].right.end))),c-1>h&&d.push(e.slice(s[h].wholeMatch.end,s[h+1].wholeMatch.start));e.length>s[c-1].wholeMatch.end&&d.push(e.slice(s[c-1].wholeMatch.end)),l=d.join("")}return l},n.helper.regexIndexOf=function(e,t,r){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==0)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var i=e.substring(r||0).search(t);return 0>i?i:i+(r||0)},n.helper.splitAtIndex=function(e,t){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},n.helper.encodeEmailAddress=function(e){var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},n.helper.padEnd=function(e,t,n){return n=(n||" ")+"",e.length>(t|=0)?e+"":((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),e+""+n.slice(0,t))},void 0===console&&(console={warn:function(e){alert(e)},log:function(e){alert(e)},error:function(e){throw e}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",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:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",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:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",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:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",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_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:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",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_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_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",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:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",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_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",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_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},n.Converter=function(e){var t={},r=[],c=[],u={},d=o,h={parsed:{},raw:"",format:""};function f(e,t){if(t=t||null,n.helper.isString(e)){if(t=e=n.helper.stdExtName(e),n.extensions[e])return void function(e,t){"function"==typeof e&&(e=e(new n.Converter)),n.helper.isArray(e)||(e=[e]);var i=l(e,t);if(!i.valid)throw Error(i.error);for(var a=0;e.length>a;++a)switch(e[a].type){case"lang":r.push(e[a]);break;case"output":c.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(n.extensions[e],e);if(n.helper.isUndefined(i[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=i[e]}"function"==typeof e&&(e=e()),n.helper.isArray(e)||(e=[e]);var a=l(e,t);if(!a.valid)throw Error(a.error);for(var o=0;e.length>o;++o){switch(e[o].type){case"lang":r.push(e[o]);break;case"output":c.push(e[o])}if(e[o].hasOwnProperty("listeners"))for(var s in e[o].listeners)e[o].listeners.hasOwnProperty(s)&&p(s,e[o].listeners[s])}}function p(e,t){if(!n.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");u.hasOwnProperty(e)||(u[e]=[]),u[e].push(t)}!function(){for(var r in e=e||{},a)a.hasOwnProperty(r)&&(t[r]=a[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.extensions&&n.helper.forEach(t.extensions,f)}(),this._dispatch=function(e,t,n,r){if(u.hasOwnProperty(e))for(var i=0;u[e].length>i;++i){var a=u[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return p(e,t),this},this.makeHtml=function(e){if(!e)return e;var i={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:c,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=n.subParser("detab")(e,t,i)).replace(/^[ \t]+$/gm,""),n.helper.forEach(r,function(r){e=n.subParser("runExtension")(r,e,t,i)}),e=n.subParser("metadata")(e,t,i),e=n.subParser("hashPreCodeTags")(e,t,i),e=n.subParser("githubCodeBlocks")(e,t,i),e=n.subParser("hashHTMLBlocks")(e,t,i),e=n.subParser("hashCodeTags")(e,t,i),e=n.subParser("stripLinkDefinitions")(e,t,i),e=n.subParser("blockGamut")(e,t,i),e=n.subParser("unhashHTMLSpans")(e,t,i),e=(e=(e=n.subParser("unescapeSpecialChars")(e,t,i)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=n.subParser("completeHTMLDocument")(e,t,i),n.helper.forEach(c,function(r){e=n.subParser("runExtension")(r,e,t,i)}),h=i.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var i={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],i=0;t.length>i;++i)if(1===t[i].childElementCount&&"code"===t[i].firstChild.tagName.toLowerCase()){var a=t[i].firstChild.innerHTML.trim(),o=t[i].firstChild.getAttribute("data-language")||"";if(""===o)for(var s=t[i].firstChild.className.split(" "),l=0;s.length>l;++l){var c=s[l].match(/^language-(.+)$/);if(null!==c){o=c[1];break}}a=n.helper.unescapeHTMLEntities(a),r.push(a),t[i].outerHTML='<precode language="'+o+'" precodenum="'+i+'"></precode>'}else r.push(t[i].innerHTML),t[i].innerHTML="",t[i].setAttribute("prenum",""+i);return r}(r)};!function e(t){for(var n=0;t.childNodes.length>n;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)||/^[ ]+$/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(r);for(var a=r.childNodes,o="",s=0;a.length>s;s++)o+=n.subParser("makeMarkdown.node")(a[s],i);return o},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){f(e,t=t||null)},this.useExtension=function(e){f(e)},this.setFlavor=function(e){if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=s[e];for(var r in d=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return d},this.removeExtension=function(e){n.helper.isArray(e)||(e=[e]);for(var t=0;e.length>t;++t){for(var i=e[t],a=0;r.length>a;++a)r[a]===i&&r.splice(a,1);for(var o=0;c.length>o;++o)c[o]===i&&c.splice(o,1)}},this.getAllExtensions=function(){return{language:r,output:c}},this.getMetadata=function(e){return e?h.raw:h.parsed},this.getMetadataFormat=function(){return h.format},this._setMetadataPair=function(e,t){h.parsed[e]=t},this._setMetadataFormat=function(e){h.format=e},this._setMetadataRaw=function(e){h.raw=e}},n.subParser("anchors",function(e,t,r){var i=function(e,i,a,o,s,l,c){if(n.helper.isUndefined(c)&&(c=""),a=a.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(!o){if(a||(a=i.toLowerCase().replace(/ ?\n/g," ")),o="#"+a,n.helper.isUndefined(r.gUrls[a]))return e;o=r.gUrls[a],n.helper.isUndefined(r.gTitles[a])||(c=r.gTitles[a])}var u='<a href="'+(o=o.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"';return""!==c&&null!==c&&(u+=' title="'+(c=(c=c.replace(/"/g,""")).replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(o)&&(u+=' rel="noopener noreferrer" target="¨E95Eblank"'),u+=">"+i+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,i)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,i)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,i)).replace(/\[([^\[\]]+)]()()()()()/g,i),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,r,i,a,o){if("\\"===i)return r+a;if(!n.helper.isString(t.ghMentionsLink))throw Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,o),l="";return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'<a href="'+s+'"'+l+">"+a+"</a>"})),e=r.converter._dispatch("anchors.after",e,t,r)});var d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,f=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,p=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,m=function(e){return function(t,r,i,a,o,s,l){var c=i=i.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),u="",d="",h=r||"",f=l||"";return/^www\./i.test(i)&&(i=i.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),h+'<a href="'+i+'"'+d+">"+c+"</a>"+u+f}},v=function(e,t){return function(r,i,a){var o="mailto:";return i=i||"",a=n.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(o=n.helper.encodeEmailAddress(o+a),a=n.helper.encodeEmailAddress(a)):o+=a,i+'<a href="'+o+'">'+a+"</a>"}};n.subParser("autoLinks",function(e,t,n){return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(f,m(t))).replace(g,v(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),n.subParser("simplifiedAutoLinks",function(e,t,n){return t.simplifiedAutoLink?(e=(e=(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n)).replace(t.excludeTrailingPunctuationFromURLs?h:d,m(t))).replace(p,v(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),n.subParser("blockGamut",function(e,t,r){return e=r.converter._dispatch("blockGamut.before",e,t,r),e=n.subParser("blockQuotes")(e,t,r),e=n.subParser("headers")(e,t,r),e=n.subParser("horizontalRule")(e,t,r),e=n.subParser("lists")(e,t,r),e=n.subParser("codeBlocks")(e,t,r),e=n.subParser("tables")(e,t,r),e=n.subParser("hashHTMLBlocks")(e,t,r),e=n.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),n.subParser("blockQuotes",function(e,t,r){e=r.converter._dispatch("blockQuotes.before",e,t,r);var i=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(i=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=(e+="\n\n").replace(i,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=n.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=n.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")}),n.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),n.subParser("codeBlocks",function(e,t,r){return e=r.converter._dispatch("codeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,i,a){var o=i,s=a,l="\n";return o=n.subParser("outdent")(o,t,r),o=n.subParser("encodeCode")(o,t,r),o=(o=(o=n.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),o="<pre><code>"+o+l+"</code></pre>",n.subParser("hashBlock")(o,t,r)+s})).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)}),n.subParser("codeSpans",function(e,t,r){return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,i,a,o){var s=o;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=i+"<code>"+(s=n.subParser("encodeCode")(s,t,r))+"</code>",s=n.subParser("hashHTMLSpans")(s,t,r)}),e=r.converter._dispatch("codeSpans.after",e,t,r)}),n.subParser("completeHTMLDocument",function(e,t,n){if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",i="<!DOCTYPE HTML>\n",a="",o='<meta charset="utf-8">\n',s="",l="";for(var c in void 0!==n.metadata.parsed.doctype&&(i="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=(""+n.metadata.parsed.doctype).toLowerCase())&&"html5"!==r||(o='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case"doctype":break;case"title":a="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":o="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[c]+'"',l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n';break;default:l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n'}return e=i+"<html"+s+">\n<head>\n"+a+o+l+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)}),n.subParser("detab",function(e,t,n){return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,i=0;r>i;i++)n+=" ";return n})).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),n.subParser("ellipsis",function(e,t,n){return t.ellipsis?(e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)):e}),n.subParser("emoji",function(e,t,r){return t.emoji?(e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,function(e,t){return n.helper.emojis.hasOwnProperty(t)?n.helper.emojis[t]:e}),e=r.converter._dispatch("emoji.after",e,t,r)):e}),n.subParser("encodeAmpsAndAngles",function(e,t,n){return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),n.subParser("encodeBackslashEscapes",function(e,t,r){return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,n.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,n.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),n.subParser("encodeCode",function(e,t,r){return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),n.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,r){return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)})).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),n.subParser("githubCodeBlocks",function(e,t,r){return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,i,a,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=n.subParser("encodeCode")(o,t,r),o="<pre><code"+(a?' class="'+a+" language-"+a+'"':"")+">"+(o=(o=(o=n.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",o=n.subParser("hashBlock")(o,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"})).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e}),n.subParser("hashBlock",function(e,t,n){return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),n.subParser("hashCodeTags",function(e,t,r){return e=r.converter._dispatch("hashCodeTags.before",e,t,r),e=n.helper.replaceRecursiveRegExp(e,function(e,i,a,o){var s=a+n.subParser("encodeCode")(i,t,r)+o;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"},"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)}),n.subParser("hashElement",function(e,t,n){return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),n.subParser("hashHTMLBlocks",function(e,t,r){e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var i=["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","p"],a=function(e,t,n,i){var a=e;return-1!==n.search(/\bmarkdown\b/)&&(a=n+r.converter.makeHtml(t)+i),"\n\n¨K"+(r.gHtmlBlocks.push(a)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var o=0;34>o;++o)for(var s,l=RegExp("^ {0,3}(<"+i[o]+"\\b[^>]*>)","im"),c="<"+i[o]+"\\b[^>]*>",u="</"+i[o]+">";-1!==(s=n.helper.regexIndexOf(e,l));){var d=n.helper.splitAtIndex(e,s),h=n.helper.replaceRecursiveRegExp(d[1],a,c,u,"im");if(h===d[1])break;e=d[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,r)),e=(e=n.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)}),n.subParser("hashHTMLSpans",function(e,t,n){function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,function(e){return r(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),n.subParser("unhashHTMLSpans",function(e,t,n){e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;n.gHtmlSpans.length>r;++r){for(var i=n.gHtmlSpans[r],a=0;/¨C(\d+)C/.test(i);){var o=RegExp.$1;if(i=i.replace("¨C"+o+"C",n.gHtmlSpans[o]),10===a)break;++a}e=e.replace("¨C"+r+"C",i)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)}),n.subParser("hashPreCodeTags",function(e,t,r){return e=r.converter._dispatch("hashPreCodeTags.before",e,t,r),e=n.helper.replaceRecursiveRegExp(e,function(e,i,a,o){var s=a+n.subParser("encodeCode")(i,t,r)+o;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)}),n.subParser("headers",function(e,t,r){e=r.converter._dispatch("headers.before",e,t,r);var i=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;function o(e){var i,a;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return i=e,a=n.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(i=a+i),i=t.ghCompatibleHeaderId?i.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?i.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():i.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(i=a+i),r.hashLinkCounts[i]?i=i+"-"+r.hashLinkCounts[i]++:r.hashLinkCounts[i]=1,i}return e=(e=(e=e.replace(t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(e,a){var s=n.subParser("spanGamut")(a,t,r),l=t.noHeaderId?"":' id="'+o(a)+'"',c="<h"+i+l+">"+s+"</h"+i+">";return n.subParser("hashBlock")(c,t,r)})).replace(a,function(e,a){var s=n.subParser("spanGamut")(a,t,r),l=t.noHeaderId?"":' id="'+o(a)+'"',c=i+1,u="<h"+c+l+">"+s+"</h"+c+">";return n.subParser("hashBlock")(u,t,r)})).replace(t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,function(e,a,s){var l=s;t.customizedHeaderId&&(l=s.replace(/\s?\{([^{]+?)}\s*$/,""));var c=n.subParser("spanGamut")(l,t,r),u=t.noHeaderId?"":' id="'+o(s)+'"',d=i-1+a.length,h="<h"+d+u+">"+c+"</h"+d+">";return n.subParser("hashBlock")(h,t,r)}),e=r.converter._dispatch("headers.after",e,t,r)}),n.subParser("horizontalRule",function(e,t,r){e=r.converter._dispatch("horizontalRule.before",e,t,r);var i=n.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,i)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,i)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,i),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),n.subParser("images",function(e,t,r){function i(e,t,i,a,o,s,l,c){var u=r.gUrls,d=r.gTitles,h=r.gDimensions;if(i=i.toLowerCase(),c||(c=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==i&&null!==i||(i=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+i,n.helper.isUndefined(u[i]))return e;a=u[i],n.helper.isUndefined(d[i])||(c=d[i]),n.helper.isUndefined(h[i])||(o=h[i].width,s=h[i].height)}t=t.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var f='<img src="'+(a=a.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'" alt="'+t+'"';return c&&n.helper.isString(c)&&(f+=' title="'+(c=c.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),o&&s&&(f+=' width="'+(o="*"===o?"auto":o)+'"',f+=' height="'+(s="*"===s?"auto":s)+'"'),f+=" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,i)).replace(/!\[([^\]]*?)][ \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,function(e,t,n,r,a,o,s,l){return i(e,t,n,r=r.replace(/\s/g,""),a,o,0,l)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,i)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,i)).replace(/!\[([^\[\]]+)]()()()()()/g,i),e=r.converter._dispatch("images.after",e,t,r)}),n.subParser("italicsAndBold",function(e,t,n){function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return r(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong>","</strong>")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<em>","</em>")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),n.subParser("lists",function(e,t,r){function i(e,i){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(a,function(e,i,a,s,l,c,u){u=u&&""!==u.trim();var d=n.subParser("outdent")(l,t,r),h="";return c&&t.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"})),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),i||d.search(/\n{2,}/)>-1?(d=n.subParser("githubCodeBlocks")(d,t,r),d=n.subParser("blockGamut")(d,t,r)):(d=(d=n.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=n.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=o?n.subParser("paragraphs")(d,t,r):n.subParser("spanGamut")(d,t,r)),d="<li"+h+">"+(d=d.replace("¨A",""))+"</li>\n"}),e=e.replace(/¨0/g,""),r.gListLevel--,i&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function o(e,n,r){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l="ul"===n?o:s,c="";if(-1!==e.search(l))!function t(u){var d=u.search(l),h=a(e,n);-1!==d?(c+="\n\n<"+n+h+">\n"+i(u.slice(0,d),!!r)+"</"+n+">\n",l="ul"==(n="ul"===n?"ol":"ul")?o:s,t(u.slice(d))):c+="\n\n<"+n+h+">\n"+i(u,!!r)+"</"+n+">\n"}(e);else{var u=a(e,n);c="\n\n<"+n+u+">\n"+i(e,!!r)+"</"+n+">\n"}return c}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return o(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){return o(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)}),n.subParser("metadata",function(e,t,n){if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,r){return n.metadata.parsed[t]=r,""})}return e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,n){return r(n),"¨M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,i){return t&&(n.metadata.format=t),r(i),"¨M"}),e=e.replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)}),n.subParser("outdent",function(e,t,n){return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),n.subParser("paragraphs",function(e,t,r){for(var i=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],o=i.length,s=0;o>s;s++){var l=i[s];0>l.search(/¨(K|G)(\d+)\1/g)?0>l.search(/\S/)||(l=(l=n.subParser("spanGamut")(l,t,r)).replace(/^([ \t]*)/g,"<p>"),a.push(l+="</p>")):a.push(l)}for(o=a.length,s=0;o>s;s++){for(var c="",u=a[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var h=RegExp.$2;c=(c="K"===RegExp.$1?r.gHtmlBlocks[h]:d?n.subParser("encodeCode")(r.ghCodeBlocks[h].text,t,r):r.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}a[s]=u}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),n.subParser("runExtension",function(e,t,n,r){if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var i=e.regex;i instanceof RegExp||(i=RegExp(i,"g")),t=t.replace(i,e.replace)}return t}),n.subParser("spanGamut",function(e,t,r){return e=r.converter._dispatch("spanGamut.before",e,t,r),e=n.subParser("codeSpans")(e,t,r),e=n.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=n.subParser("encodeBackslashEscapes")(e,t,r),e=n.subParser("images")(e,t,r),e=n.subParser("anchors")(e,t,r),e=n.subParser("autoLinks")(e,t,r),e=n.subParser("simplifiedAutoLinks")(e,t,r),e=n.subParser("emoji")(e,t,r),e=n.subParser("underline")(e,t,r),e=n.subParser("italicsAndBold")(e,t,r),e=n.subParser("strikethrough")(e,t,r),e=n.subParser("ellipsis")(e,t,r),e=n.subParser("hashHTMLSpans")(e,t,r),e=n.subParser("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"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),n.subParser("strikethrough",function(e,t,r){return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,i){return function(e){return t.simplifiedAutoLink&&(e=n.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(i)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),n.subParser("stripLinkDefinitions",function(e,t,r){var i=function(i,a,o,s,l,c,u){return a=a.toLowerCase(),2>e.toLowerCase().split(a).length-1?i:(r.gUrls[a]=o.match(/^data:.+?\/.+?;base64,/)?o.replace(/\s/g,""):n.subParser("encodeAmpsAndAngles")(o,t,r),c?c+u:(u&&(r.gTitles[a]=u.replace(/"|'/g,""")),t.parseImgDimensions&&s&&l&&(r.gDimensions[a]={width:s,height:l}),""))};return e=(e=(e=(e+="¨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,i)).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,i)).replace(/¨0/,"")}),n.subParser("tables",function(e,t,r){if(!t.tables)return e;function i(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function a(e,i){var a="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(a=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+a+i+">"+(e=n.subParser("spanGamut")(e,t,r))+"</th>\n"}function o(e,i){return"<td"+i+">"+n.subParser("spanGamut")(e,t,r)+"</td>\n"}function s(e){var s,l=e.split("\n");for(s=0;l.length>s;++s)/^ {0,3}\|/.test(l[s])&&(l[s]=l[s].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(l[s])&&(l[s]=l[s].replace(/\|[ \t]*$/,"")),l[s]=n.subParser("codeSpans")(l[s],t,r);var c=l[0].split("|").map(function(e){return e.trim()}),u=l[1].split("|").map(function(e){return e.trim()}),d=[],h=[],f=[],p=[];for(l.shift(),l.shift(),s=0;l.length>s;++s)""!==l[s].trim()&&d.push(l[s].split("|").map(function(e){return e.trim()}));if(u.length>c.length)return e;for(s=0;u.length>s;++s)f.push(i(u[s]));for(s=0;c.length>s;++s)n.helper.isUndefined(f[s])&&(f[s]=""),h.push(a(c[s],f[s]));for(s=0;d.length>s;++s){for(var g=[],m=0;h.length>m;++m)n.helper.isUndefined(d[s][m]),g.push(o(d[s][m],f[m]));p.push(g)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,i=0;r>i;++i)n+=e[i];for(n+="</tr>\n</thead>\n<tbody>\n",i=0;t.length>i;++i){n+="<tr>\n";for(var a=0;r>a;++a)n+=t[i][a];n+="</tr>\n"}return n+"</tbody>\n</table>\n"}(h,p)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,n.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,s)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,s),e=r.converter._dispatch("tables.after",e,t,r)}),n.subParser("underline",function(e,t,r){return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),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,n.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),n.subParser("unescapeSpecialChars",function(e,t,n){return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,function(e,t){return String.fromCharCode(parseInt(t))}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)}),n.subParser("makeMarkdown.blockquote",function(e,t){var r="";if(e.hasChildNodes())for(var i=e.childNodes,a=i.length,o=0;a>o;++o){var s=n.subParser("makeMarkdown.node")(i[o],t);""!==s&&(r+=s)}return r="> "+(r=r.trim()).split("\n").join("\n> ")}),n.subParser("makeMarkdown.codeBlock",function(e,t){var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"}),n.subParser("makeMarkdown.codeSpan",function(e){return"`"+e.innerHTML+"`"}),n.subParser("makeMarkdown.emphasis",function(e,t){var r="";if(e.hasChildNodes()){r+="*";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="*"}return r}),n.subParser("makeMarkdown.header",function(e,t,r){var i=Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=i+" ";for(var o=e.childNodes,s=o.length,l=0;s>l;++l)a+=n.subParser("makeMarkdown.node")(o[l],t)}return a}),n.subParser("makeMarkdown.hr",function(){return"---"}),n.subParser("makeMarkdown.image",function(e){var t="";return e.hasAttribute("src")&&(t+="+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),n.subParser("makeMarkdown.links",function(e,t){var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var i=e.childNodes,a=i.length;r="[";for(var o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r}),n.subParser("makeMarkdown.list",function(e,t,r){var i="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,l=0;o>l;++l)void 0!==a[l].tagName&&"li"===a[l].tagName.toLowerCase()&&(i+=("ol"===r?s+". ":"- ")+n.subParser("makeMarkdown.listItem")(a[l],t),++s);return(i+="\n\x3c!-- --\x3e\n").trim()}),n.subParser("makeMarkdown.listItem",function(e,t){for(var r="",i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);return/\n$/.test(r)?r=r.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r}),n.subParser("makeMarkdown.node",function(e,t,r){r=r||!1;var i="";if(3===e.nodeType)return n.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||(i=n.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(i=n.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(i=n.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(i=n.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(i=n.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(i=n.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(i=n.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(i=n.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(i=n.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(i=n.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(i=n.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(i=n.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(i=n.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(i=n.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":i=n.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":i=n.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":i=n.subParser("makeMarkdown.strong")(e,t);break;case"del":i=n.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":i=n.subParser("makeMarkdown.links")(e,t);break;case"img":i=n.subParser("makeMarkdown.image")(e,t);break;default:i=e.outerHTML+"\n\n"}return i}),n.subParser("makeMarkdown.paragraph",function(e,t){var r="";if(e.hasChildNodes())for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);return r=r.trim()}),n.subParser("makeMarkdown.pre",function(e,t){var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"}),n.subParser("makeMarkdown.strikethrough",function(e,t){var r="";if(e.hasChildNodes()){r+="~~";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="~~"}return r}),n.subParser("makeMarkdown.strong",function(e,t){var r="";if(e.hasChildNodes()){r+="**";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="**"}return r}),n.subParser("makeMarkdown.table",function(e,t){var r,i,a="",o=[[],[]],s=e.querySelectorAll("thead>tr>th"),l=e.querySelectorAll("tbody>tr");for(r=0;s.length>r;++r){var c=n.subParser("makeMarkdown.tableCell")(s[r],t),u="---";if(s[r].hasAttribute("style"))switch(s[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}o[0][r]=c.trim(),o[1][r]=u}for(r=0;l.length>r;++r){var d=o.push([])-1,h=l[r].getElementsByTagName("td");for(i=0;s.length>i;++i){var f=" ";void 0!==h[i]&&(f=n.subParser("makeMarkdown.tableCell")(h[i],t)),o[d].push(f)}}var p=3;for(r=0;o.length>r;++r)for(i=0;o[r].length>i;++i){var g=o[r][i].length;g>p&&(p=g)}for(r=0;o.length>r;++r){for(i=0;o[r].length>i;++i)o[r][i]=1===r?":"===o[r][i].slice(-1)?n.helper.padEnd(o[r][i].slice(-1),p-1,"-")+":":n.helper.padEnd(o[r][i],p,"-"):n.helper.padEnd(o[r][i],p);a+="| "+o[r].join(" | ")+" |\n"}return a.trim()}),n.subParser("makeMarkdown.tableCell",function(e,t){var r="";if(!e.hasChildNodes())return"";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t,!0);return r.trim()}),n.subParser("makeMarkdown.txt",function(e){var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=n.helper.unescapeHTMLEntities(t)).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]:")}),e.exports?e.exports=n:this.showdown=n}).call(m)}(g)),g.exports),w=f(v);w.ConverterExtObj=function(e,t){var n=[],r=e;function i(e,t){if(t=t||null,w.helper.isString(e)&&(t=w.helper.stdExtName(e),e=w.asyncExtension(t),w.helper.isUndefined(e)))throw Error('Extension "'+t+'" could not be loaded. It was either not found or is not a valid aync extension.');if("function"==typeof e&&(e=e()),w.helper.isArray(e)||(e=[e]),w.validateExtension(e))for(var r=0;e.length>r;++r)if("output"===e[r].type)n.push(e[r])}t&&w.helper.forEach(t,i),this.addAsyncExtension=function(e,t){i(e,t=t||null)},this.removeAsyncExtension=function(e){w.helper.isArray(e)||(e=[e]);for(var t=0;e.length>t;++t)for(var r=e[t],i=0;n.length>i;++i)n[i]===r&&n.splice(i,1)},this.getAsyncExtensions=function(){return n},this.getCurrFlavor=function(){return r},this.setCurrFlavor=function(e){r=e}},w.Converter.prototype.initConvertExtObj=function(e,t){return this.extObj=new w.ConverterExtObj(e,t),this.resetOptions=function(e){e=e||{};var t=w.getOptions(),n=this.getOptions();for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);if("object"===d(e))for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i])},this.setFlavor=function(e){var t=w.getFlavorOptions(e);if(!w.helper.isUndefined(t)){this.extObj.setCurrFlavor(e);var n=w.getDefaultOptions(!0);for(var r in n)n.hasOwnProperty(r)&&(this.getOptions()[r]=n[r]);for(var r in t)t.hasOwnProperty(r)&&(this.getOptions()[r]=t[r])}},this.getFlavor=function(){return this.extObj.getCurrFlavor()},this.addAsyncExtension=function(e,t){this.extObj.addAsyncExtension(e,t)},this.removeAsyncExtension=function(e){this.extObj.removeAsyncExtension(e)},this.removeExtension=function(e){w.helper.isArray(e)||(e=[e]);for(var t=this.getAllExtensions(),n=t.language,r=t.output,i=0;e.length>i;++i){for(var a=e[i],o=0;n.length>o;++o)n[o]===a&&n.splice(o,1);for(var s=0;r.length>s;++s)r[s]===a&&r.splice(s,1)}},this.asyncMakeHtml=function(e,t){var n="<div class='showdowns'>".concat(this.makeHtml(e),"</div>"),r=this.extObj.getAsyncExtensions();if(!r.length)return Promise.resolve({html:n});var i={outputs:r,converter:this},a=(new DOMParser).parseFromString(n,"text/html"),o=void 0!==a.body?a.body:a,s=o.firstChild,l=this.getOptions(),c=Promise.resolve({wrapper:s,options:l,globals:i,scripts:[],extras:[],symbols:[],cssLinks:[]});return r.forEach(function(e){c=c.then(function(t){var n=e.filter(t);return n||t})}),c.then(function(e){if(e.symbols.length>0){var n='<div id="global-showdowns-svgs" class="none hidden"><svg xmlns="http://www.w3.org/2000/svg">'.concat(e.symbols.join(""),"</svg></div>");e.extras.unshift(n)}if("function"==typeof t&&t){var r=t(e);if(r instanceof Promise)return r.then(function(e){return o.replaceChildren(),{html:e.wrapper,extras:e.extras,scripts:e.scripts,cssLinks:e.cssLinks}})}return o.replaceChildren(),{html:e.wrapper,extras:e.extras,scripts:e.scripts,cssLinks:e.cssLinks}})},this},w.subParser("githubCodeBlocks",function(e,t,n){return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*?)(?:[ \t]*?)((?:\{[\S\t ]*\}|\[[\S\t ]*\])?)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,r,i,a,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=w.subParser("encodeCode")(o,t,n),o=(o=(o=w.subParser("detab")(o,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),o="<pre><code"+(i?' class="'+i+" language-"+i+'"':"")+(a?" data-lang='".concat(a,"'"):"")+">"+o+s+"</code></pre>",o=w.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"})).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),w.subParser("tables",function(e,t,n){if(!t.tables)return e;function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function i(e,r){var i="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(i=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+i+r+">"+(e=w.subParser("spanGamut")(e,t,n))+"</th>\n"}function a(e,r,i,a,o){if(t.tablesMerge){var s=function(e,n,r,i){if(i){if(!t.tablesRowspan||"^^"!==i||!n)return;for(var a=n-1;a>=0;--a)if(e[a][r]){if("^^"!==e[a][r])return e[a][r]=e[a][r].replace(/rowspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,r){return t+' rowspan="'+(n-a+1)+'"'+r}),i;if(0===a)return e[a][r]='<td rowspan="'+(n-a+1)+'"></td>\n',i}else for(var o=r-1;o>=0;-o){if(e[a+1][o]&&"^^"!==e[a+1][o])return;if(e[a][o]){if(!e[a+1][o])return;return e[a][o]=e[a][o].replace(/rowspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,r){return t+' rowspan="'+(n-a+1)+'"'+r}),i}}}else if(r)for(o=r-1;o>=0;--o)if(e[n][o]){if("^^"!==e[n][o])return e[n][o]=e[n][o].replace(/colspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,n){return t+' colspan="'+(r-o+1)+'"'+n}),i;for(a=n-1;a>=0;--a){if(e[a][o+1])return;if("^^"!==e[a][o])return e[a][o]=e[a][o].replace(/colspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,n){return t+' colspan="'+(r-o+1)+'"'+n}),i}}else if(0===o)return e[n][o]='<td colspan="'+(r-o+1)+'"></td>\n',i}(e,r,i,a);if(!w.helper.isUndefined(s))return s}return a=a.trim(),"<td"+o+">"+w.subParser("spanGamut")(a,t,n)+"</td>\n"}function o(e,o){var s,l=e.split("\n");for(s=0;l.length>s;++s)/^ {0,3}\|/.test(l[s])&&(l[s]=l[s].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(l[s])&&(l[s]=l[s].replace(/\|[ \t]*$/,"")),l[s]=w.subParser("codeSpans")(l[s],t,n);var c=[],u=[],d=[],h=[],f=[];if(o)for(c=l[0].split("|").map(function(e){return e.trim()}),l.shift(),s=0;c.length>s;++s)h.push(r(c[s]));else{var p=l[0].split("|").map(function(e){return e.trim()});if(c=l[1].split("|").map(function(e){return e.trim()}),l.shift(),l.shift(),c.length>p.length)return e;for(s=0;c.length>s;++s)h.push(r(c[s]));for(s=0;p.length>s;++s)w.helper.isUndefined(h[s])&&(h[s]=""),d.push(i(p[s],h[s]))}for(s=0;l.length>s;++s)""!==l[s].trim()&&u.push(l[s].split("|").map(function(e){var t=e.trim();return""===t&&e.length>0?e:t}));for(s=0;u.length>s;++s){var g=[];f.push(g);for(var m=0;h.length>m;++m)w.helper.isUndefined(u[s][m])&&(u[s][m]=""),g.push(a(f,s,m,u[s][m],h[m]))}return function(e,n,r){var i="<table>\n",a=n.length;if(e.length){i+="<thead>\n<tr>\n";for(var o=0;e.length>o;++o)i+=e[o];i+="</tr>\n</thead>\n"}for(i+="<tbody>\n",o=0;r.length>o;++o){i+="<tr>\n";for(var s=0;a>s;++s)t.tablesMerge&&"^^"===r[o][s]||(i+=r[o][s]);i+="</tr>\n"}return i+"</tbody>\n</table>\n"}(d,h,f)}function s(e){return o(e,!1)}function l(e){return o(e,!0)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,w.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,s)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,s),t.tablesHeaderless&&(e=(e=e.replace(/^ {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,l)).replace(/^ {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,l)),e=n.converter._dispatch("tables.after",e,t,n)});var b="vanilla",_={github:{ghCompatibleHeaderId:!1,underline:!0,rawHeaderId:!0,tablesHeaderless:!0,tablesMerge:!0,tablesRowspan:!0},ghost:{tablesHeaderless:!0,tablesMerge:!0,tablesRowspan:!0},allOn:{tablesHeaderless:!0,tablesMerge:!0,tablesRowspan:!0}},y={};w.asyncExtension=function(e,t){if(!w.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=w.helper.stdExtName(e),w.helper.isUndefined(t)){if(!y.hasOwnProperty(e))throw Error("Async Extension named "+e+" is not registered!");return y[e]}"function"==typeof t&&(t=t()),w.helper.isArray(t)||(t=[t]),w.validateExtension(t)&&(y[e]=t)},w.removeAsyncExtension=function(e){e=w.helper.stdExtName(e),delete y[e]},w.resetAsyncExtensions=function(){y={}},w.removeExtension=function(e){e=w.helper.stdExtName(e),delete w.getAllExtensions[e]};var k=w.setFlavor,x=w.getFlavorOptions;function E(e){return"".concat((new Date).Format("yyyy-MM-dd HH:mm:ss.S")," ").concat(e)}w.setFlavor=function(e){try{if(k(e),b=e,!_.hasOwnProperty(e))return}catch(t){if(!_.hasOwnProperty(e))return;w.resetOptions(),b=e}var t=_[e];for(var n in t)t.hasOwnProperty(n)&&(w.getOptions()[n]=t[n])},w.getFlavor=function(){return b},w.setFlavorOptions=function(e,t){t&&(_[e]=Object.assign(_[e]||{},t))},w.getFlavorOptions=function(e){var t=x(e);return w.helper.isUndefined(t)?_.hasOwnProperty(e)?_[e]:void 0:_.hasOwnProperty(e)?Object.assign(t,_[e]):t},Date.prototype.Format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"H+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};e||(e="yyyy-MM-dd hh:mm:ss.S");var n=/(y+)/.exec(e);for(var r in n&&(e=e.replace(n[1],(this.getFullYear()+"").substring(4-n[1].length))),t){var i=RegExp("("+r+")").exec(e);if(i){var a=t[r];1==i[1].length?a=("000"+t[r]).substring((""+t[r]).length):2==i[1].length&&(a=("00"+t[r]).substring((""+t[r]).length)),e=e.replace(i[1],a)}}return e};var S="jsdelivr",L="file:"===document.location.protocol?"https://":document.location.protocol+"//",A="",j="",C="",P={local:{ABCJS:{src:"../node_modules/abcjs/dist/abcjs-basic.js",css:"../node_modules/abcjs/abcjs-audio.css"},echarts:"../node_modules/echarts/dist/echarts.js",Viz:"../node_modules/@viz-js/viz/dist/viz-global.js",Raphael:"../node_modules/raphael/raphael.min.js",flowchart:"../dist/diagrams/flowchart/flowchart.min.js",mermaid:{src:"../node_modules/mermaid/dist/mermaid.js",plugins:{"mermaid-zenuml":"../node_modules/@mermaid-js/mermaid-zenuml/dist/mermaid-zenuml.min.js","mermaid-mindmap":"../node_modules/@mermaid-js/mermaid-mindmap/dist/mermaid-mindmap.min.js","mermaid-layout-elk":{type:"module",module:"../node_modules/@mermaid-js/layout-elk/dist/mermaid-layout-elk.esm.min.mjs"}}},katex:{src:"../node_modules/katex/dist/katex.min.js",css:"../node_modules/katex/dist/katex.min.css"},renderMathInElement:"../node_modules/katex/dist/contrib/auto-render.js",MathJax:"../node_modules/mathjax/tex-mml-svg.js",railroad:{src:"../node_modules/railroad-diagrams/railroad-diagrams.js",css:"../node_modules/railroad-diagrams/railroad-diagrams.css"},Snap:"../node_modules/snapsvg/dist/snap.svg-min.js",WebFont:"../node_modules/webfontloader/webfontloader.js",underscore:"../node_modules/underscore/underscore-min.js",sequence:{src:"../node_modules/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.js",css:"../node_modules/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.css"},WaveDrom:{src:"../node_modules/wavedrom/wavedrom.min.js",skin:{default:"../node_modules/wavedrom/skins/default.js",lowkey:"../node_modules/wavedrom/skins/lowkey.js",narrow:"../node_modules/wavedrom/skins/narrow.js"}},vega:"../node_modules/vega/build/vega.min.js",vegaLite:"../node_modules/vega-lite/build/vega-lite.min.js",vegaEmbed:"../node_modules/vega-embed/build/vega-embed.min.js",Plotly:"../node_modules/plotly.js-dist-min/plotly.min.js",Shiki:{type:"module",src:"../node_modules/@jhuix/shiki-loader/dist/index.js"},AntVInfographic:"../node_modules/@antv/infographic/dist/infographic.min.js",zenuml:"../node_modules/@zenuml/core/dist/zenuml.js"},unpkg:{ABCJS:{src:"https://unpkg.com/abcjs/dist/abcjs-basic-min.js",css:"https://unpkg.com/abcjs/dist/abcjs-audio.css"},echarts:"https://unpkg.com/echarts/dist/echarts.min.js",Viz:"https://unpkg.com/@viz-js/viz/dist/viz-global.js",Raphael:"https://unpkg.com/raphael/raphael.min.js",flowchart:"../dist/diagrams/flowchart/flowchart.min.js",mermaid:{src:"https://unpkg.com/mermaid/dist/mermaid.min.js",plugins:{"mermaid-layout-elk":{type:"module",module:"https://unpkg.com/@mermaid-js/layout-elk/dist/mermaid-layout-elk.esm.min.mjs"},"mermaid-zenuml":"https://unpkg.com/@mermaid-js/mermaid-zenuml/dist/mermaid-zenuml.min.js","mermaid-mindmap":"https://unpkg.com/@mermaid-js/mermaid-mindmap/dist/mermaid-mindmap.min.js"}},katex:{src:"https://unpkg.com/KaTeX/dist/katex.min.js",css:"https://unpkg.com/KaTeX/dist/katex.min.css"},renderMathInElement:"https://unpkg.com/KaTeX/dist/contrib/auto-render.js",MathJax:"https://unpkg.com/mathjax/tex-mml-svg.js",railroad:{src:"https://unpkg.com/railroad-diagrams/railroad-diagrams.js",css:"https://unpkg.com/railroad-diagrams/railroad-diagrams.css"},Snap:"https://unpkg.com/snapsvg/dist/snap.svg-min.js",WebFont:"https://unpkg.com/webfontloader/webfontloader.js",underscore:"https://unpkg.com/underscore/underscore-min.js",sequence:{src:"https://unpkg.com/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.js",css:"https://unpkg.com/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.css"},WaveDrom:{src:"https://unpkg.com/wavedrom/wavedrom.min.js",skin:{default:"https://unpkg.com/wavedrom/skins/default.js",lowkey:"https://unpkg.com/wavedrom/skins/lowkey.js",narrow:"https://unpkg.com/wavedrom/skins/narrow.js"}},vega:"https://unpkg.com/vega/build/vega.min.js",vegaLite:"https://unpkg.com/vega-lite/build/vega-lite.min.js",vegaEmbed:"https://unpkg.com/vega-embed/build/vega-embed.min.js",Plotly:"https://unpkg.com/plotly.js/dist/plotly.min.js",Shiki:{type:"module",module:"https://esm.sh/shiki"},AntVInfographic:"https://unpkg.com/@antv/infographic/dist/infographic.min.js",zenuml:"https://unpkg.com/@zenuml/core/dist/zenuml.js"},jsdelivr:{ABCJS:{src:"https://cdn.jsdelivr.net/npm/abcjs/dist/abcjs-basic-min.js",css:"https://cdn.jsdelivr.net/npm/abcjs/abcjs-audio.css"},echarts:"https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js",Viz:"https://cdn.jsdelivr.net/npm/@viz-js/viz/dist/viz-global.js",Raphael:"https://cdn.jsdelivr.net/npm/raphael/raphael.min.js",flowchart:"../dist/diagrams/flowchart/flowchart.min.js",mermaid:{type:"module",module:"https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs",plugins:{"mermaid-layout-elk":"https://cdn.jsdelivr.net/npm/@mermaid-js/layout-elk/dist/mermaid-layout-elk.esm.min.mjs","mermaid-zenuml":"https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-zenuml/dist/mermaid-zenuml.esm.min.mjs","mermaid-mindmap":"https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-mindmap/dist/mermaid-mindmap.esm.min.mjs"}},katex:{src:"https://cdn.jsdelivr.net/npm/katex/dist/katex.min.js",css:"https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css"},renderMathInElement:"https://cdn.jsdelivr.net/npm/katex/dist/contrib/auto-render.js",MathJax:"https://cdn.jsdelivr.net/npm/mathjax/tex-mml-svg.js",railroad:{src:"https://cdn.jsdelivr.net/npm/railroad-diagrams/railroad-diagrams.min.js",css:"https://cdn.jsdelivr.net/npm/railroad-diagrams/railroad-diagrams.css"},Snap:"https://cdn.jsdelivr.net/npm/snapsvg/dist/snap.svg-min.js",WebFont:"https://cdn.jsdelivr.net/npm/webfontloader/webfontloader.js",underscore:"https://cdn.jsdelivr.net/npm/underscore/underscore-min.js",sequence:{src:"https://cdn.jsdelivr.net/npm/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.js",css:"https://cdn.jsdelivr.net/npm/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.css"},WaveDrom:{src:"https://cdn.jsdelivr.net/npm/wavedrom/wavedrom.min.js",skin:{default:"https://cdn.jsdelivr.net/npm/wavedrom/skins/default.js",lowkey:"https://cdn.jsdelivr.net/npm/wavedrom/skins/lowkey.js",narrow:"https://cdn.jsdelivr.net/npm/wavedrom/skins/narrow.js"}},vega:"https://cdn.jsdelivr.net/npm/vega/build/vega.min.js",vegaLite:"https://cdn.jsdelivr.net/npm/vega-lite/build/vega-lite.min.js",vegaEmbed:"https://cdn.jsdelivr.net/npm/vega-embed/build/vega-embed.min.js",Plotly:"https://cdn.jsdelivr.net/npm/plotly.js-dist-min/plotly.min.js",Shiki:{type:"module",module:"https://cdn.jsdelivr.net/npm/shiki/+esm"},AntVInfographic:"https://cdn.jsdelivr.net/npm/@antv/infographic/dist/infographic.min.js",zenuml:"https://cdn.jsdelivr.net/npm/@zenuml/core/dist/zenuml.min.js"}};function z(){return S}function M(e,t){return e||t.startsWith("http://")||t.startsWith("https://")||t.startsWith(L)?t:t.startsWith("../dist/")?j+t:A+t}function T(e,t,n){if(void 0!==n&&n&&"default"!==n||(n=z()),P.hasOwnProperty(n)){var r=P[n][t];if(r){if("string"==typeof r)return{src:M(e,r)};if(r.src&&(r.src=M(e,r.src)),r.module&&(r.module=M(e,r.module)),r.css)if("string"==typeof r.css)r.css=M(e,r.css);else for(var i=0,a=Object.entries(r.css);a.length>i;i++){var o=l(a[i],2);r.css[o[0]]=M(e,o[1])}if(r.skin)if("string"==typeof r.skin)r.skin=M(e,r.skin);else for(var s=0,c=Object.entries(r.skin);c.length>s;s++){var u=l(c[s],2);r.skin[u[0]]=M(e,u[1])}if(r.plugins)for(var d=0,h=Object.entries(r.plugins);h.length>d;d++){var f=l(h[d],2),p=f[0],g=f[1];"string"!=typeof g?(g.src&&(r.plugins[p].src=M(e,g.src)),g.module&&(r.plugins[p].module=M(e,g.module))):r.plugins[p]=M(e,g)}if(r.src||r.module)return r}}}function O(e,t){var n="css-"+e.toLowerCase(),r=document.getElementById(n),i=document.head||document.getElementsByTagName("head")[0];r&&r.remove(),(r=document.createElement("link")).id=n,r.rel="stylesheet",r.href=t,i.appendChild(r)}function R(e,t){return new Promise(function(n){var r=e.toLowerCase(),i="script-"+r;if(!document.getElementById(i)){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");if(o.id=i,"string"==typeof t)o.src=t;else{if(t.type&&(o.type=t.type,"module"===t.type&&t.module)){var s=r.replaceAll(/[-@+.]/g,"");o.textContent="\nimport * as ".concat(s," from '").concat(t.module,"';\nif (!('").concat(e,"' in window)) {\n if ('default' in ").concat(s," && ").concat(s,"['default']) {\n window['").concat(e,"'] = ").concat(s,"['default']\n } else {\n window['").concat(e,"'] = ").concat(s,";\n }\n}\nconst s = document.querySelector('#").concat(i,"');\nif (s && s.onload) {\n s.onload();\n}\n")}t.src&&(o.src=t.src)}return o.onload=function(){n(e)},void a.appendChild(o)}n(e)})}function N(e,t,n){var r=e.toLowerCase(),i="script-"+r,a=document.getElementById(i);if(a)return n(e);var o=document.head||document.getElementsByTagName("head")[0];(a=document.createElement("script")).id=i;var s=!1;if(t.type&&(a.type=t.type,"module"===t.type&&t.module)){s=!0;var c="",u="";if(a.onloaded=function(t){n(t||e)},t.plugins){for(var d=[],h=0,f=Object.entries(t.plugins);f.length>h;h++){var p=l(f[h],2),g=p[0],m=p[1];d.push("'".concat(g,"'"));var v=g.toLowerCase().replaceAll(/[-@+.]/g,"");c+="import * as ".concat(v," from '").concat(m,"';\nif (!('").concat(g,"' in window)) {\n if ('default' in ").concat(v," && ").concat(v,"['default']) {\n window['").concat(g,"'] = ").concat(v,"['default']\n } else {\n window['").concat(g,"'] = ").concat(v,";\n }\n}\n")}d.length>0&&(u="['".concat(e,"',").concat(d.join(","),"]"))}var w=r.replaceAll(/[-@+.]/g,"");a.textContent="\nimport * as ".concat(w," from '").concat(t.module,"';\nif (!('").concat(e,"' in window)) {\n if ('default' in ").concat(w," && ").concat(w,"['default']) {\n window['").concat(e,"'] = ").concat(w,"['default']\n } else {\n window['").concat(e,"'] = ").concat(w,";\n }\n}\n").concat(c,"\nconst s = document.querySelector('#").concat(i,"');\nif (s && s.onloaded) {\n s.onloaded(").concat(u,");\n}\n")}t.src&&(a.src=t.src),t.defer&&(a.defer=!0),s||(a.onload=t.plugins?function(){var r=[];r.push(new Promise(function(t){t(e)}));for(var i=0,a=Object.entries(t.plugins);a.length>i;i++){var o=l(a[i],2);r.push(R(o[0],o[1]))}Promise.all(r).then(function(e){n(e)})}:function(){n(e)}),o.appendChild(a)}function B(e){var t=document.getElementById("css-"+e.toLowerCase());t&&t.remove()}var I={setCDN:function(e,t,n,r){e in P&&(S=e),"string"==typeof t&&t&&(A=t),"string"==typeof n&&n&&(j=n),"string"==typeof r&&r&&("/"!==C.at(C.length-1)&&(r+="/"),C=r)},getCDN:z,getCSS:function(e,t,n,r){var i=T(e,t,n);if(i)return i.css},getSrc:function(e,t,n){var r=T(e,t,n);if(r)return r.src},getUrl:function(e){try{var t=new URL(e);if("dist:"===t.protocol)return e="../dist/"===(e=e.substring(t.protocol.length+2)).substring(0,8)?j+e:A+e;if("file:"===t.protocol)if(C)return e=new URL(C).origin+"/"+e.substring(8)}catch(t){if(C){var n="./";e.substring(0,2)===n&&(e=e.substring(2)),e=C+e}}return e},getModule:T,loadScript:function(e,t,n,r){return new Promise(function(i,a){if(!e||"undefined"==typeof document)return a("Args is invaild!");t||(t="");var o=T(!1,e,t);if(!o)return a(e+" script source invaild!");if(o.css&&("string"==typeof o.css?O(e,o.css):n&&n.length>0&&n in o.css&&O(e,o.css[n])),o.skin){var s="";if("string"==typeof o.skin?(s=o.skin,r="skin"):r&&r.length>0&&r in o.skin&&(s=o.skin[r]),s.length>0)return void R(e+"-"+r,s).then(function(){N(e,o,i)})}N(e,o,i)})},unloadScript:function(e,t){var n=document.querySelectorAll('[id^="script-'.concat(e.toLowerCase(),'"]'));n&&n.forEach(function(e){e.remove()}),t&&t.length||(t="skin");var r=document.getElementById("script-"+e.toLowerCase()+"-"+t.toLowerCase());r&&r.remove(),B(e)},loadStyleSheet:function(e,t,n){if(!e||"undefined"==typeof document)return"";var r=T(!1,e,t);if(!r||!r.css)return"";var i="";return"string"==typeof r.css?i=r.css:n&&n in r.css&&(i=r.css[n]),i.length>0&&O(e,r.css[n]),"local"===t?"":i},unloadStyleSheet:B};function D(e){if(!e||"string"!=typeof e)return null;try{return JSON.parse(e)}catch(n){var t=null;return e.replace(/^\{(.*)\}$/,"$1").split(",").forEach(function(e){var n=e.split("=");if(2===n.length){t||(t={});var r=n[0].trim().replace(" ","-"),i=n[1].trim();i="true"===i.toLowerCase()||"false"!==i.toLowerCase()&&(isNaN(i)?i.replace(/^"(.*)"$/,"$1"):Number(i)),t[r]=i}}),t}}function q(e){for(var t=0,n=0;e.length>n;n++){var r=e.charCodeAt(n);t=Math.imul(31,t)+r|0}return t>>>0}function H(e){return e&&"function"!=typeof e&&"object"===d(e)&&!Array.isArray(e)}function U(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;t>i;i++)n[i-1]=arguments[i];for(var a=0,o=n;o.length>a;a++)for(var s=0,c=Object.entries(o[a]);c.length>s;s++){var u=l(c[s],2),d=u[0],h=u[1];H(h)&&H(e[d])?U(e[d],h):Object.assign(e,r({},d,h))}return e}var F={parseAttribute:D,interopDefault:function(e){return e&&"object"===d(e)&&"default"in e&&e.default?e.default:e},loadStyle:function(e,t){if(!e||!t||"undefined"==typeof document)return!1;var n="css-"+e.toLowerCase();if(!document.getElementById(n)){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.id=n,i.type="text/css",i.innerText=t,r.appendChild(i)}return!0},loadStylesheet:function(e,t){if(!e||"undefined"==typeof document)return!1;var n=null;if(t&&(n=document.getElementById(t)),!n){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("link");i.rel="stylesheet",i.href=e,t&&(i.id=t),r.appendChild(i)}return!0},loadScript:function(e,t,n){return new Promise(function(r,i){if(!e||!t||"undefined"==typeof document)return i("Args is invaild!");var a=document.getElementById(e);if(a)return r(!0);n?"string"==typeof n&&(n=document.querySelector(n)):n=document.body,(a=document.createElement("script")).id=e,a.type="text/javascript",a.text=t,n.appendChild(a),r(!0)})},removeAllStylesheet:function(e){if(e){var t=document.head||document.getElementsByTagName("head")[0];t.querySelectorAll("link").forEach(function(n){n.id&&n.id.substring(0,e.length)===e&&t.removeChild(n)})}},renderCacheElement:function(e,t,n,r){"undefined"!=typeof window&&window.document&&(e=window.document);var i=e.createElement("div");if(i.id=t,i.className=n,i.style.display="none",e.body.appendChild(i),"function"==typeof r&&r){var a=r(i);if(a instanceof Promise)return a.then(function(t){e.body.removeChild(t),t.style.display=""}),i.outerHTML}return e.body.removeChild(i),i.style.display="",i.outerHTML},renderElement:function(e,t,n){"undefined"!=typeof window&&window.document&&(e=window.document);var r=e.createElement("div");return r.id=t,r.className=n,e.body.appendChild(r),r},createElementMeta:function(e,t,n,r){var i=D(t.dataset.lang),a="diagram-left";if(i){var o=i.codeblock||i.code_block;if("boolean"==typeof o&&o||"string"==typeof o&&"true"===o.toLowerCase())return!1;i.align&&("center"===i.align?a="diagram-center":"right"===i.align&&(a="diagram-right")),i.width&&("string"!=typeof i.width&&(i.width=i.width+"px"),t.style.width=i.width),i.height&&("string"!=typeof i.height&&(i.height=i.height+"px"),t.style.height=i.height)}var s=t.textContent.trim();r&&"function"==typeof r&&(s=r(s));var l,c=(t.classList.length>0?t.classList[0]:"")+(t.className&&a?" ":"")+a;"string"==typeof n?n.length>0&&(n="-"+n):n="boolean"==typeof n&&n?"-"+(l=q(t.dataset.lang+s)):"-"+Math.floor(1e4*Math.random());var u=e.toLowerCase()+"-"+Date.now()+n;return t.id=u,t.className=c,{id:u,container:u+"-container",className:c,data:s,hash:l,element:t,lang:i}},addCssLink:function(e,t,n){return e.cssLinks?Array.isArray(e.cssLinks)||(e.cssLinks=[e.cssLinks]):e.cssLinks=[],e.cssLinks.push({id:n,link:t}),e},addScript:function(e,t){return e.scripts?Array.isArray(e.scripts)||(e.scripts=[e.scripts]):e.scripts=[],e.scripts.push(t),e},addExtra:function(e,t){return e.extras?Array.isArray(e.extras)||(e.extras=[e.extras]):e.extras=[],e.extras.push(t),e},hashString:q,deepMerge:U},Z="ABCJS",$="abc";if("undefined"==typeof window)throw Error("The showdown abcjs extension can only be used in browser environment!");if(void 0===W)var W=window.ABCJS||void 0;function V(){return!!W}var G=!1;function Y(){if(void 0===e)var e=window.ABCJS||void 0;function t(e){var t=this;t.onReady=function(){},t.onStart=function(){var t=document.querySelector("#"+e+" svg"),n=document.createElementNS("http://www.w3.org/2000/svg","line");n.setAttribute("class","abcjs-cursor"),n.setAttributeNS(null,"x1",0),n.setAttributeNS(null,"y1",0),n.setAttributeNS(null,"x2",0),n.setAttributeNS(null,"y2",0),t.appendChild(n)},t.beatSubdivisions=2,t.onBeat=function(e,t,n){},t.onEvent=function(t){if(!t.measureStart||null!==t.left){for(var n=document.querySelectorAll("#"+e+" svg .highlight"),r=0;n.length>r;r++)n[r].classList.remove("highlight");for(var i=0;t.elements.length>i;i++)for(var a=t.elements[i],o=0;a.length>o;o++)a[o].classList.add("highlight");var s=document.querySelector("#"+e+" svg .abcjs-cursor");s&&(s.setAttribute("x1",t.left-2),s.setAttribute("x2",t.left-2),s.setAttribute("y1",t.top),s.setAttribute("y2",t.top+t.height))}},t.onFinished=function(){for(var t=document.querySelectorAll("#"+e+" svg .highlight"),n=0;t.length>n;n++)t[n].classList.remove("highlight");var r=document.querySelector("#"+e+" svg .abcjs-cursor");r&&(r.setAttribute("x1",0),r.setAttribute("x2",0),r.setAttribute("y1",0),r.setAttribute("y2",0))}}window.abcEnv={abcOptions:{add_classes:!0,responsive:"resize"},setTune:function(t,n,r){var i=t.id,a=t.data;if(r){r.disable(!0);var o=e.renderAbc(i,a,this.abcOptions)[0];(new e.synth.CreateSynth).init({visualObj:o}).then(function(e){r.setTune(o,n).then(function(e){}).catch(function(e){})}).catch(function(e){})}else e.renderAbc(i,a,this.abcOptions)},load:function(n,r){var i;if(n){var a="#"+n;e.synth.supportsAudio()?(i=new e.synth.SynthController).load(a,new t(r.id),{displayLoop:!0,displayRestart:!0,displayPlay:!0,displayProgress:!0,displayWarp:!0}):document.querySelector(a).innerHTML="<div class='audio-error'>Audio is not supported in this browser.</div>"}this.setTune(r,!1,i)}}}function J(e,t){var n=function(){window.abcEnv.load(e,t)};return n.toString=function(){return"function(){\n const audio = '".concat(e,"';\n const render = ").concat(JSON.stringify(t),";\n window.abcEnv.load(audio, render);\n }")},n}function K(e,t,n){if(V()){var r=n.id,i=n.className,a=n.container,o="";n.lang&&(n.lang.width&&(o+="width:".concat(n.lang.width,";")),n.lang.height&&(o+="height:".concat(n.lang.height,";")));var s="";if(o?(s+='<div id="'.concat(a,'" class="').concat(i,'" style="').concat(o,'">'),s+='<div id="'.concat(r,'" style="width:100%;height:100%;display:inline-block"></div>')):(s+='<div id="'.concat(a,'" class="').concat(i,'">'),s+='<div id="'.concat(r,'"></div>')),!n.lang||!n.lang.audio){var l=n.data,c=n.element.ownerDocument;n.element.parentNode.outerHTML=s+="</div>";var u=c.getElementById(r);return W.renderAbc(u,l,{add_classes:!0,responsive:"resize"}),e(!0)}var d=n.data,h=r+"-audio";s+='<div id="'.concat(h,o?'" style="width:100%;height:100%;display:inline-block"></div>':'"></div>'),n.element.parentNode.outerHTML=s+="</div>";var f={id:a,code:J(h,{id:r,class:i,data:d}),host:"#".concat(a)};return t.push(f),e(!0)}setTimeout(function(){K(e,t,n)},10)}function X(e,t){return new Promise(function(n){var r=F.createElementMeta($,e);if(!r||!r.data)return n(!1);K(n,t,r)})}function Q(e,t){var n={outer:[{name:"ABCJS",src:I.getSrc(!1,"ABCJS","jsdelivr")}],id:"abcjs-ext",code:Y,inner:[]};return t.push(n),function(){var e=V();if("undefined"!=typeof window){if(G)return e;e||(G=!0,F.loadStyle("abc-audio",".highlight{fill: #0a9ecc;} .abcjs-cursor{stroke: red;} .abcjs-inline-audio .abcjs-midi-loop.abcjs-pushed{border: none;} .abcjs-inline-audio .abcjs-midi-loop.abcjs-pushed svg path{fill: #6eaa49;}"),I.loadScript(Z).then(function(e){W=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(t){var r=[];e.forEach(function(e){r.push(X(e,n.inner))}),Promise.all(r).then(function(){t(!0)})})}var ee,te,ne,re="en";ne=(ne=null!==(ee=null===(te=document)||void 0===te?void 0:te.children[0].lang)&&void 0!==ee?ee:"en").toLowerCase(),re="zh-cn"===ne||"zh-hans"===ne?"zh-cn":"en";var ie={en:{"code-copy":"Copy Code","code-theme-prefix":"Theme:","code-lang-prefix":"Lang:",toc:"Table Of Contents","toc-show-title-prefix":"Show ","toc-hide-title-prefix":"Hide ","toc-toggle-prefix":"Toggle ","msg-copy-success":"Copy success!","msg-copy-failed":"Copy failed!","export-actions-title":"Click to view actions","export-svg-action":"Save as SVG","export-png-action":"Save as PNG"},"zh-cn":{"code-copy":"复制代码","code-theme-prefix":"主题:","code-lang-prefix":"语言:",toc:"目录","toc-show-title-prefix":"显示","toc-hide-title-prefix":"隐藏","toc-toggle-prefix":"切换","msg-copy-success":"复制成功!","msg-copy-failed":"复制失败!","export-actions-title":"点击查看操作","export-svg-action":"保存为 SVG","export-png-action":"保存为 PNG",note:"备注",alert:"注意",info:"信息",tip:"提示",warning:"警告",error:"错误",success:"成功",danger:"危险",summary:"概要",tldr:"摘要",abstract:"抽象",todo:"待办",hint:"小窍门",check:"检测",done:"完成",help:"帮助",question:"问题",faq:"问答",attention:"关注",caution:"提醒",failure:"故障",fail:"失败",missing:"缺失",bug:"缺陷",example:"示例",snippet:"片段",quote:"引用",cite:"引文",important:"重点",key:"要点"}};var ae={getLangString:function(e,t){var n,r;return null!==(n=null===(r=ie[re])||void 0===r?void 0:r[e])&&void 0!==n?n:t}},oe=["H1","H2","H3","H4","H5","H6"];function se(e,t,n,r,i){try{if(i){if(r>1){var a=n.parentNode;a&&"UL"===a.tagName&&a.classList.add("toc-multi")}var o=n.querySelector("div");if(o){o.classList.remove("toc-title"),o.classList.add("toc-multi-title");var s=o.querySelector("i");s&&(s.classList.remove("toc-chapter"),s.classList.add("toc-multi-chapter"),s.innerHTML='<svg class="icon"><use xlink:href="#icon-expand"></use></svg>')}(n=n.appendChild(e.ownerDocument.createElement("ul"))).classList.add(r>1?"toc-level-".concat(r):"toc-main")}if(n=n.appendChild(e.ownerDocument.createElement("li")),t){var l=n.appendChild(e.ownerDocument.createElement("div"));l.classList.add("toc-title-".concat(r),"toc-title");var c=l.appendChild(e.ownerDocument.createElement("i"));c.classList.add("iconfont","toc-chapter"),c.innerHTML='<svg class="icon"><use xlink:href="#icon-chapter-l"></use></svg>';var u=l.appendChild(e.ownerDocument.createElement("a"));u.appendChild(e.ownerDocument.createTextNode(t.textContent)),u.href="#"+t.id}}catch(e){}return n}function le(e,t,n,r){if(n.headingLevel>=r){for(var i=null;n&&n.headingLevel>=r;)n=(i=n).parentNode,i.parentNode=null,i.toc=null,i.headingLevel=null,i.preLevel=null;return n&&le(e,t,n,r),n}if(r>n.preLevel){for(n.preLevel++;r>n.preLevel;)n.toc=se(e,null,n.toc,r,!0),n.preLevel++;n.toc=se(e,t,n.toc,r,!0)}else{for(;n.preLevel>r;)n.toc&&(n.toc=n.toc.parentNode),n.toc&&(n.toc=n.toc.parentNode),n.preLevel--;n.toc&&(n.toc=n.toc.parentNode),n.toc=se(e,t,n.toc,r,!1)}return n.parentNode&&le(e,t,n.parentNode,r),n}var ce=['<symbol id="icon-chapter-s" viewBox="0 0 1024 1024"><path d="M725.108359 579.864261c11.519371-117.753568-94.714826-195.829303-165.110981-247.666471l-10.879406-7.679581-21.118846-15.359161c-40.317798-28.798427-81.915525-58.876784-95.994756-95.994756-15.999126-41.597728-13.439266-74.235945 7.67958-97.274686 26.878532-29.438392 90.235071-35.838042 120.313428-11.519371 26.238567 20.478881 26.878532 53.117098 24.958637 70.396154-2.55986 24.318672 14.719196 46.717448 39.037867 49.917274 24.318672 2.55986 46.717448-14.719196 49.917274-39.037868 7.039615-60.796679-14.079231-115.833673-58.236819-151.03175C547.838042-19.143018 432.644335-8.903578 373.127586 55.732892c-44.157588 47.997378-53.117098 115.193708-24.958637 189.429652 8.319546 23.038742 21.758811 42.877658 37.117973 60.156714-36.478007 34.558112-73.59598 78.075735-79.355665 138.872414C294.411886 561.94524 400.646083 640.020975 471.042237 691.858143l10.879406 7.679581 21.118846 15.359161c40.317798 28.798427 81.915525 58.876784 95.994757 95.994756 15.999126 41.597728 13.439266 74.235945-7.679581 97.274686-26.878532 29.438392-90.235071 35.838042-120.313428 11.519371-26.238567-20.478881-26.878532-53.117098-24.958636-70.396154 2.55986-24.318672-14.719196-46.717448-39.037868-49.917274s-46.717448 14.719196-49.917273 39.037868c-7.039615 60.796679 14.079231 115.833673 58.236819 151.03175 29.438392 23.038742 67.196329 34.558112 106.234197 34.558112 50.557238 0 102.394407-19.198951 135.672589-55.676959 44.157588-47.997378 53.117098-115.193708 24.958636-189.429652-8.319546-23.038742-21.758811-42.877658-37.117972-60.156714 36.478007-34.558112 74.235945-78.075735 79.99563-138.872414z m-201.588988 39.677833c-60.156714-44.157588-135.672589-99.834547-129.272939-166.390911 3.199825-33.278182 28.158462-60.156714 57.596854-87.675211 7.679581 5.759685 15.999126 11.519371 23.678707 17.279056 7.039615 5.11972 13.439266 9.599476 19.838916 14.719196l10.879406 8.319546c60.156714 44.157588 135.672589 99.834547 129.272938 166.39091-3.199825 33.278182-28.158462 60.156714-57.596854 87.675211-8.319546-5.759685-15.999126-11.519371-23.678706-17.279056-7.039615-5.11972-13.439266-9.599476-19.838917-14.719196l-10.879405-8.319545z"></path></symbol>','<symbol id="icon-chapter-l" viewBox="0 0 1024 1024"><path d="M791.272727 11.636364a81.454545 81.454545 0 0 1 81.175273 74.752L872.727273 93.090909v884.363636a34.909091 34.909091 0 0 1-51.060364 30.999273l-4.142545-2.606545-142.615273-101.888-142.615273 101.934545a34.909091 34.909091 0 0 1-30.813091 4.840727l-5.026909-2.048-4.747636-2.792727L349.090909 903.912727l-142.615273 101.934546a34.955636 34.955636 0 0 1-53.946181-18.944l-0.93091-4.654546L151.272727 977.454545V93.090909A81.454545 81.454545 0 0 1 226.024727 11.915636L232.727273 11.636364h558.545454z m-139.636363 605.090909H372.363636l-4.747636 0.325818A34.909091 34.909091 0 0 0 372.363636 686.545455h279.272728l4.747636-0.325819A34.909091 34.909091 0 0 0 651.636364 616.727273z m0-186.181818H372.363636l-4.747636 0.325818A34.909091 34.909091 0 0 0 372.363636 500.363636h279.272728l4.747636-0.325818A34.909091 34.909091 0 0 0 651.636364 430.545455z m0-186.181819H372.363636l-4.747636 0.325819A34.909091 34.909091 0 0 0 372.363636 314.181818h279.272728l4.747636-0.325818A34.909091 34.909091 0 0 0 651.636364 244.363636z"></path></symbol>','<symbol id="icon-toc" viewBox="0 0 1024 1024"><path d="M62.500473 512.163729l61.447491-40.958854 387.221112 202.039529L898.394281 471.204875l61.443397 40.958854-448.668603 244.728794L62.500473 512.163729zM62.500473 308.228013l448.668603-244.732887 448.668603 244.732887-448.668603 244.724701L62.500473 308.228013zM511.169075 877.18012l387.225205-202.035436 61.443397 40.958854L511.169075 960.836425 62.500473 716.104561l61.447491-40.958854L511.169075 877.18012z"></path></symbol>','<symbol id="icon-collapse" viewBox="0 0 1024 1024"><path d="M85.781832 219.399571h73.720856c20.35996 0 36.879928-16.359968 36.879928-36.559928s-16.519968-36.559929-36.879928-36.559929h-73.719856c-20.35996 0-36.860928 16.359968-36.860928 36.559929 0 20.199961 16.499968 36.559929 36.859928 36.559928zM50.462901 475.419071c0 20.199961 16.500968 36.579929 36.859928 36.579929h72.179859c20.35996 0 36.879928-16.379968 36.879928-36.579929s-16.519968-36.579929-36.879928-36.579928h-72.179859c-20.35996 0-36.859928 16.379968-36.859928 36.579928z m145.919715 292.577429c0-20.199961-16.519968-36.595929-36.879928-36.595929h-73.719856c-20.35996 0-36.860928 16.395968-36.860928 36.595929 0 20.180961 16.499968 36.562929 36.859928 36.562929h73.720856c20.35996 0 36.879928-16.381968 36.879928-36.562929z"></path><path d="M933.660176 38.839924l-73.718856-2.279995c0-20.198961-16.519968-36.559929-36.879928-36.559929h-661.998707c-20.35996 0-36.879928 16.359968-36.879928 36.559929v70.879861h36.879928s73.359857 6.840987 73.359857 73.140857c0 0 0.779998 73.279857-75.239853 73.279857l-34.999932 2.119996 0.759999 144.019719 34.399933-0.02s75.879852-0.02 75.879852 77.699848c0 0-7.057986 70.879862-76.179852 70.879862l-34.699932 0.019-0.619999 143.980718h36.740929s73.559856 2.279996 73.559856 75.437853c0 0-0.14 75.402853-76.179851 75.402853l-33.199935-2.279996-0.46 73.159857s42.239918 109.718786 106.759792 109.718786h705.018623s34.557933-6.877987 34.557932-34.298933V75.421853s-6.899987-36.580929-36.859928-36.580929zM306.9634 255.9795h479.238064v292.579429h-479.239064V255.9795zM897.939246 916.55821s1.159998 34.279933-37.999926 34.279933H233.243544s-38.019926-12.559975-38.019925-37.719926l627.838773-0.36c20.35996 0 36.879928-16.379968 36.879928-36.579928V69.719864l37.998926 12.559975v834.278371z"></path><path d="M694.042644 329.119357H399.14022c-10.19998 0-18.439964 8.199984-18.439964 18.319964 0 10.07998 8.239984 18.259964 18.439964 18.259965h294.901424c10.17898 0 18.418964-8.179984 18.418964-18.259965 0-10.11898-8.239984-18.319964-18.419964-18.319964z m0 109.719786H399.14022c-10.19998 0-18.439964 8.199984-18.439964 18.279964 0 10.11998 8.239984 18.299964 18.439964 18.299964h294.901424c10.17898 0 18.418964-8.179984 18.418964-18.299964 0-10.07998-8.239984-18.279964-18.419964-18.279964z"></path></symbol>','<symbol id="icon-chapter" viewBox="0 0 1024 1024"><path d="M832 128v768H256V128h576m64-64H192v896h704V64z"></path><path d="M161.3 296.2v-0.2H320v-40H161.3c-35.5 0-64.3 28.7-64.3 64s28.8 64 64.3 64h90v-40h-90v-0.2c-13.3 0-24.1-10.7-24.1-23.8 0-13.1 10.8-23.8 24.1-23.8z m0 192v-0.2H320v-40H161.3c-35.5 0-64.3 28.7-64.3 64s28.8 64 64.3 64h90v-40h-90v-0.2c-13.3 0-24.1-10.7-24.1-23.8 0-13.1 10.8-23.8 24.1-23.8z m0 192v-0.2H320v-40H161.3c-35.5 0-64.3 28.7-64.3 64s28.8 64 64.3 64h90v-40h-90v-0.2c-13.3 0-24.1-10.7-24.1-23.8 0-13.1 10.8-23.8 24.1-23.8z" ></path><path d="M288 277a32 32 0 1 0 64 0 32 32 0 1 0-64 0zM288 469a32 32 0 1 0 64 0 32 32 0 1 0-64 0zM288 662a32 32 0 1 0 64 0 32 32 0 1 0-64 0zM384 256h385v40H384z m0 128h385v40H384z m0 128h385v40H384z m0 128h256v40H384z"></path></symbol>','<symbol id="icon-expand" viewBox="0 0 1024 1024"><path d="M731.093333 128c82.346667 0 158.08 20.906667 218.88 56.32 6.4 3.626667 10.026667 10.88 10.026667 18.346667v667.306666c0 12.16-9.386667 20.906667-19.84 20.906667-2.986667 0-5.76-0.64-8.746667-2.133333-57.386667-29.226667-126.08-46.08-200.32-46.08s-141.866667 17.066667-199.04 45.653333c-2.986667 1.493333-5.973333 2.986667-8.96 4.693333-0.426667 0.213333-0.853333 0.64-1.493333 0.853334-5.973333 3.2-13.226667 3.2-19.2 0-3.413333-1.92-6.826667-3.626667-10.453333-5.546667-56.96-28.586667-125.44-45.653333-199.04-45.653333s-143.146667 16.853333-200.32 46.08c-2.773333 1.493333-5.76 2.133333-8.746667 2.133333-10.453333 0-19.84-8.746667-19.84-20.906667V202.453333c0-7.68 3.84-14.72 10.026667-18.346666C134.826667 148.693333 210.56 128 292.906667 128S451.2 149.333333 512 184.746667C572.8 149.333333 648.746667 128 731.093333 128zM701.866667 187.733333c-71.466667 0-137.386667 17.92-189.866667 47.786667-52.693333-29.866667-118.613333-47.786667-189.866667-47.786667s-136.96 17.493333-189.653333 47.36c-5.546667 3.2-8.746667 9.173333-8.746667 15.573334v563.626666c0 10.24 8.106667 17.493333 17.066667 17.493334 2.56 0 5.12-0.64 7.466667-1.92 49.706667-24.533333 109.44-38.826667 173.653333-38.826667s123.093333 14.293333 172.373333 38.4c3.2 1.493333 6.186667 2.986667 9.173334 4.693333 5.12 2.773333 11.52 2.773333 16.64 0 0.64-0.213333 0.853333-0.426667 1.493333-0.853333l7.68-3.84c49.493333-24.106667 108.8-38.4 172.373333-38.4s123.946667 14.293333 173.653334 38.826667c2.56 1.28 5.12 1.92 7.466666 1.92 8.96 0 17.066667-7.466667 17.066667-17.493334V250.666667c0-6.4-3.2-12.373333-8.746667-15.573334-52.693333-29.866667-118.186667-47.573333-189.653333-47.573333z" ></path><path d="M949.333333 771.84c-123.306667-71.68-260.266667-80.64-407.466666-26.666667V221.866667c0-16.426667-13.44-29.866667-29.866667-29.866667s-29.866667 13.44-29.866667 29.866667v529.066666c-120.533333-55.466667-253.226667-53.973333-395.093333 5.12-10.88 4.48-16 17.066667-11.52 27.946667 4.48 10.88 17.066667 16 27.946667 11.52 139.306667-58.026667 263.253333-57.173333 378.666666 2.773333v46.506667c0 16.426667 13.44 29.866667 29.866667 29.866667s29.866667-13.44 29.866667-29.866667v-53.973333c142.08-56.32 268.586667-50.56 386.133333 17.706666 3.413333 1.92 7.04 2.986667 10.666667 2.986667 7.253333 0 14.506667-3.84 18.56-10.666667a21.290667 21.290667 0 0 0-7.68-29.226666z"></path></symbol>'],ue=/^((?:[\[【](?:Table[ -]Of[ -]Contents|目录|TOC)[\]】])|(?:(?:\{\{|\[\[|【)[_]?TOC[_]?(?:\}\}|\]\]|】)))$/i;function de(){if(document.querySelector("#total-showdown-toc")){var e=document.querySelector("#toc-fold-icon");e&&(e.onclick=function(t){var n=document.querySelectorAll(".total-toc ul"),r=document.querySelectorAll(".total-toc ul:not(.toc-main) .toc-multi-chapter use");if("toc-expand"===e.dataset.name)return n.forEach(function(e){e.classList.contains("toc-main")||e.classList.contains("toc-level-2")||e.classList.add("hidden")}),r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-collapse")}),void(e.dataset.name="toc-fold");n.forEach(function(e){e.classList.remove("hidden")}),r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-expand")}),e.dataset.name="toc-expand"});var t=document.querySelector("#toc-close-icon");t&&(t.onclick=function(e){var t=document.querySelector("#total-showdown-toc");t&&t.classList.add("hidden");var n=document.querySelector("#toc-switch-button");n&&n.classList.remove("hidden")});var n=document.querySelector("#toc-switch-button");n&&(n.onclick=function(e){e.currentTarget.classList.add("hidden");var t=document.querySelector("#total-showdown-toc");t&&t.classList.remove("hidden")}),document.querySelectorAll(".total-toc .toc-multi-chapter").forEach(function(e){e.onclick=function(e){var t=e.currentTarget.parentNode;if(t&&(t=t.parentNode)){var n=t.querySelectorAll("ul"),r=t.querySelectorAll(".toc-multi-chapter use"),i=e.currentTarget.querySelector("use");if(i){if("#icon-expand"===i.getAttributeNS("http://www.w3.org/1999/xlink","href"))return n.forEach(function(e){e.classList.add("hidden")}),void r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-collapse")});n.forEach(function(e){e.classList.remove("hidden")}),r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-expand")})}}}})}}function he(e){var t=function(){return a({chapterNumber:!0,compatible:!1,expand:!1,title:"",toc:ue},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t;if("string"==typeof e){var n=(new DOMParser).parseFromString(e,"text/html"),r=void 0!==n.body?n.body:n;return this.config.toc||(this.config.toc=ue),function(e,t){for(var n=null,r=0,i=null,a=!1,o=!1,s=null,l=t.toc instanceof RegExp?t.toc:RegExp("^(".concat(t.toc,")$"),"i"),c=1,u=[0,0,0,0,0,0],d=e.querySelectorAll(oe.join(",")+(t.compatible?",p":"")),h=0;d.length>h;h++)if(l.test((n=d[h]).textContent.trim())){var f=null;if(o)(f=e.ownerDocument.createElement("div")).classList.add("showdown-toc");else{var p;if(s){n.parentNode.removeChild(n);continue}(f=e.ownerDocument.createElement("div")).classList.add("showdown-toc"),s=f;var g=ae.getLangString("toc"),m=ae.getLangString("toc-show-title-prefix"),v=ae.getLangString("toc-hide-title-prefix"),w=ae.getLangString("toc-toggle-prefix");(null===(p=t.title)||void 0===p?void 0:p.length)>0&&(g=t.title);var b=e.ownerDocument.createElement("div");b.id="toc-switch-button",b.classList.add("toc-switch"),b.title=m+g,b.innerHTML='<svg class="icon"><use xlink:href="#icon-chapter-l"></use></svg>',n.parentNode.insertBefore(b,n),f.id="total-showdown-toc",f.classList.add("total-toc"),f.innerHTML='<div class="toc-pin"><span class="toc-pin-text">'.concat(g,'</span><div class="toc-fold-wrap"><div id="toc-fold-icon" class="toc-fold toc-icon" data-name="toc-expand" title="').concat(w+g,'"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-toc"></use></svg></div><div id="toc-close-icon" class="toc-close toc-icon" title="').concat(v+g,'"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-chapter-s"></use></svg></div></div></div>'),t.expand?b.classList.add("hidden"):f.classList.add("hidden")}var _=e.ownerDocument.createElement("div");_.classList.add("toc-view"),f.appendChild(_);var y={parentNode:null,toc:_,headingLevel:r,preLevel:r,standalone:!1};if(i)if(r>i.headingLevel)y.parentNode=i;else{for(var k=i;k.headingLevel>r;)k=k.parentNode;k&&(y.parentNode=r===k.headingLevel?k.parentNode:k)}a=!0,(i=y).standalone=!o,o?n.parentNode.replaceChild(f,n):n.parentNode.removeChild(n)}else if(oe.includes(n.tagName)){if(o||(o=!0),r=parseInt(n.tagName.substr(1)),t.chapterNumber)if(r>1){if(c!==r)for(var x=c=r;u.length>x;)u[x]=0,x++;var E="",S=1;for(u[c-1]++;r>S;)E+="".concat(u[S],"."),S++;n.textContent=E+" "+n.textContent}else for(var L=0;u.length>L;)u[L]=0,L++;i&&(i=le(e,n,i,r))}for(o&&(i&&(t.symbols=ce),s&&(t.extras||(t.extras=[]),t.extras.push(s.outerHTML)));i;){var A=i;i=A.parentNode,A.parentNode=null,A.toc=null,A.headingLevel=null,A.preLevel=null}return a}(r,this.config)?r.innerHTML:e}if(!("object"===d(e)&&e&&this.config.extras&&Array.isArray(this.config.extras)&&this.config.extras.length))return!1;var i,a=e;(this.config.extras.forEach(function(e){F.addExtra(a,e)}),(null===(t=this.config.symbols)||void 0===t?void 0:t.length)>0)&&(i=a.symbols).push.apply(i,c(this.config.symbols));return F.addScript(a,{inner:[{id:"showdown-toc",code:de,host:"#total-showdown-toc"}]}),a}}]}if("undefined"==typeof window)throw Error("The showdown viz extension can only be used in browser environment!");if(void 0===fe)var fe=window.Viz||void 0;var pe=["circo","dot","neato","osage","twopi"];function ge(){return!(void 0===fe||!fe||void 0===fe.instance)}var me=!1;function ve(e,t){if(ge()){var n=t.id,r=t.className,i=t.data;if(!i||0===i.length)return e(!1);var a=t.element,o=t.lang,s="dot";o&&o.engine&&-1!=pe.indexOf(o.engine)&&(s=o.engine);var l=a.style.cssText;return l.length>0&&(l=' style="'.concat(l,'"')),void fe.instance().then(function(t){var o=t.renderString(i,{format:"svg",engine:s});a.parentNode.outerHTML='<div id="'.concat(n,'" class="').concat(r,'"').concat(l,">").concat(o,"</div>"),e(!0)}).catch(function(t){e(!1)})}setTimeout(function(){ve(e,t)},10)}function we(e){return new Promise(function(t){var n=F.createElementMeta("viz",e);if(!n||!n.data)return t(!1);ve(t,n)})}function be(e){return function(){var e=ge();if("undefined"!=typeof window){if(me)return e;e||(me=!0,I.loadScript("Viz").then(function(e){fe=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(we(e))}),Promise.all(n).then(function(){t(!0)})})}var _e={},ye={},ke=["pdflatex","xelatex","lualatex"];function xe(e,t){e.forEach(function(e){!function(e,t){var n,r,i,a=F.createElementMeta("Tex",e,!0);if(a&&a.data){var o=ye[a.hash];if(o)e.parentNode.replaceWith(o);else{var s=null!==(n=t.config.buildType)&&void 0!==n?n:"pdflatex";null!==(r=a.lang)&&void 0!==r&&r.engine&&ke.includes(a.lang.engine.toLowerCase())&&(s=a.lang.engine.toLowerCase()),t.elements=null!==(i=t.elements)&&void 0!==i?i:[];var l={type:s,id:a.id};a.lang&&(l.lang=a.lang),t.elements.push(l)}}}(e,t)})}function Ee(){var e;if(window&&"Tex"in window){var t=window.Tex;if(t.elements&&Array.isArray(t.elements)&&0!==t.elements.length){var n="https://"+(null!==(e=t.config.serverUrl)&&void 0!==e?e:"tex.io");t.elements.forEach(function(e){var r=e.type,i=e.lang,a=document.querySelector("#".concat(e.id));if(a){var o=a.dataset.lang,s=a.textContent.trim(),l=F.hashString(o+s),c=ye[l];if(c)a.parentNode.replaceWith(c);else if("function"==typeof t.svgRender&&t.svgRender){var u,d,h={build:r};i&&((null===(u=i.width)||void 0===u?void 0:u.length)>0&&(h.width=i.width),(null===(d=i.height)||void 0===d?void 0:d.length)>0&&(h.height=i.height),i.zoom&&i.zoom>0&&(h.zoom=i.zoom));try{t.svgRender(a.id,s,h).then(function(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),ye[l]=t}).catch(function(e){})}catch(e){}}else if(window&&window.fetch){var f,p,g=[];if(i)(null===(f=i.width)||void 0===f?void 0:f.length)>0&&g.push("width=".concat(i.width)),(null===(p=i.height)||void 0===p?void 0:p.length)>0&&g.push("height=".concat(i.height)),i.zoom&&i.zoom>0&&g.push("zoom=".concat(i.zoom));var m="".concat(n,"/").concat(r,"/svg")+(g.length>0?"?".concat(g.join("&")):"");try{window.fetch(m,{method:"POST",body:s,headers:{Accept:"*/*","Content-Type":"text/plain; charset=utf-8"}}).then(function(e){if("string"==typeof e)return e;if(e.ok)return e.text();throw Error("RequestError: ".concat(e.status))}).then(function(e){if(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),ye[l]=t}}).catch(function(e){})}catch(e){}}}}),delete t.elements}}}function Se(e){var t=function(){return a({serverUrl:"tex.io",buildType:"pdflatex",svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r,i=n.querySelectorAll("code.tex.language-tex,code.latex.language-latex");return!!i.length&&(window&&(window.Tex=_e),_e.config={serverUrl:this.config.serverUrl,buildType:this.config.buildType},_e.svgRender=this.config.svgRender,e.scripts.push({id:"showdown-tex",code:Ee,once:!0}),xe(i,_e),(null===(t=_e.elements)||void 0===t?void 0:t.length)>0&&(r=n,Object.keys(ye).forEach(function(e){r.querySelector('[id*="-'.concat(e,'"]'))||delete ye[e]})),e)}}]}var Le="vega";if("undefined"==typeof window)throw Error("The showdown vega extension can only be used in browser environment!");if(void 0===Ae)var Ae=window.vegaEmbed||void 0;function je(){return!(void 0===Ae||!Ae)}var Ce=!1;function Pe(e,t,n,r){var i=F.createElementMeta(Le,e);if(!i||!i.data)return Promise.resolve(!1);var a=i.container,o={id:a,code:function(e,t){var n=function(){var n=window.eval,r=document.getElementById(e.id);if(r)if(e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()){var i=n("(function(){".concat(e.data,"; return option;})();"));Ae(r,i,t)}else{var a=JSON.parse(e.data);Ae(r,a,t)}};return n.toString=function(){return e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()?"function(){\n let el = document.getElementById('".concat(e.id,"');\n if (el) {\n ").concat(e.data,";\n const config = ").concat(JSON.stringify(t),";\n vegaEmbed(el, option, config);\n }\n }"):"function(){\n let el = document.getElementById('".concat(e.id,"');\n if (el) {\n const option = ").concat(e.data,";\n const config = ").concat(JSON.stringify(t),";\n vegaEmbed(el, option, config);\n }\n }")},n}(i,t),host:"#".concat(a)};return n.push(o),new Promise(function(e){Me(e,i)})}function ze(e,t,n,r){var i={outer:[{name:Le,src:I.getSrc(!1,Le,"jsdelivr")},{name:"vegaLite",src:I.getSrc(!1,"vegaLite","jsdelivr")},{name:"vegaEmbed",src:I.getSrc(!1,"vegaEmbed","jsdelivr")}],inner:[]};return n.push(i),function(){var e=je();if("undefined"!=typeof window){if(Ce)return e;e||(Ce=!0,I.loadScript(Le).then(function(){return I.loadScript("vegaLite")}).then(function(){return I.loadScript("vegaEmbed")}).then(function(e){Ae=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(n){var a=[];e.forEach(function(e){a.push(Pe(e,r,i.inner))}),t.forEach(function(e){a.push(Pe(e,r,i.inner))}),Promise.all(a).then(function(){n(!0)})})}function Me(e,t){if(je()){var n=t.id,r=t.className,i=t.container,a=t.element.parentNode,o=t.element.style.cssText;return o.length>0&&(o=' style="'.concat(o,'"')),a.outerHTML='<div id="'.concat(i,'" class="').concat(r,'"').concat(o,'><div id="').concat(n,'"></div></div>'),e(!0)}setTimeout(function(){Me(e,t)},10)}function Te(e){var t=function(){return a({actions:{editor:!1},theme:"vox",tooltip:!1,renderer:"svg"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.vega.language-vega"),r=t.querySelectorAll("code.vega-lite.language-vega-lite");return!(!n.length&&!r.length)&&ze(n,r,e.scripts,this.config).then(function(){return e})}}]}if("undefined"==typeof window)throw Error("The showdown antv extension can only be used in browser environment!");if(void 0===Oe)var Oe=window.AntVInfographic||void 0;function Re(){return!(void 0===Oe||!Oe)}var Ne=!1;function Be(e,t){if(Re()){var n,r,i=t.id,a=t.className,o=t.data,s=t.element.parentNode,l=t.element,c=null!==(n=null===(r=t.lang)||void 0===r?void 0:r.options)&&void 0!==n?n:{},u=l.ownerDocument.createElement("div");return u.id=i,l.style.cssText.length>0&&(u.style.cssText=l.style.cssText),u.className=a,c.container=u,t.lang&&(t.lang.width&&(c.width=t.lang.width),t.lang.height&&(c.height=t.lang.height)),new Oe.Infographic(c).render(o),s.replaceWith(u),void e(!0)}setTimeout(function(){Be(e,t)},10)}function Ie(e){return new Promise(function(t){var n=F.createElementMeta("infographic",e);if(!n||!n.data)return t(!1);Be(t,n)})}function De(e){return function(){var e=Re();if("undefined"!=typeof window){if(Ne)return e;if(!e)return Ne=!0,I.loadScript("AntVInfographic").then(function(e){Oe=F.interopDefault(window[e])}).catch(function(e){}),e}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(Ie(e))}),Promise.all(n).then(function(){t(!0)})})}var qe=".",He={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:10},Ue=[{input:"alpha",tag:"mi",output:"α",tex:null,ttype:0},{input:"beta",tag:"mi",output:"β",tex:null,ttype:0},{input:"chi",tag:"mi",output:"χ",tex:null,ttype:0},{input:"delta",tag:"mi",output:"δ",tex:null,ttype:0},{input:"Delta",tag:"mo",output:"Δ",tex:null,ttype:0},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",ttype:0},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,ttype:0},{input:"eta",tag:"mi",output:"η",tex:null,ttype:0},{input:"gamma",tag:"mi",output:"γ",tex:null,ttype:0},{input:"Gamma",tag:"mo",output:"Γ",tex:null,ttype:0},{input:"iota",tag:"mi",output:"ι",tex:null,ttype:0},{input:"kappa",tag:"mi",output:"κ",tex:null,ttype:0},{input:"lambda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lambda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"lamda",tag:"mi",output:"lambda",tex:null,ttype:8},{input:"Lamda",tag:"mi",output:"Lambda",tex:null,ttype:8},{input:"mu",tag:"mi",output:"μ",tex:null,ttype:0},{input:"nu",tag:"mi",output:"ν",tex:null,ttype:0},{input:"omega",tag:"mi",output:"ω",tex:null,ttype:0},{input:"Omega",tag:"mo",output:"Ω",tex:null,ttype:0},{input:"phi",tag:"mi",output:"φ",tex:null,ttype:0},{input:"varphi",tag:"mi",output:"ϕ",tex:null,ttype:0},{input:"Phi",tag:"mo",output:"Φ",tex:null,ttype:0},{input:"pi",tag:"mi",output:"π",tex:null,ttype:0},{input:"Pi",tag:"mo",output:"Π",tex:null,ttype:0},{input:"psi",tag:"mi",output:"ψ",tex:null,ttype:0},{input:"Psi",tag:"mi",output:"Ψ",tex:null,ttype:0},{input:"rho",tag:"mi",output:"ρ",tex:null,ttype:0},{input:"sigma",tag:"mi",output:"σ",tex:null,ttype:0},{input:"Sigma",tag:"mo",output:"Σ",tex:null,ttype:0},{input:"tau",tag:"mi",output:"τ",tex:null,ttype:0},{input:"theta",tag:"mi",output:"θ",tex:null,ttype:0},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,ttype:0},{input:"Theta",tag:"mo",output:"Θ",tex:null,ttype:0},{input:"upsilon",tag:"mi",output:"υ",tex:null,ttype:0},{input:"xi",tag:"mi",output:"ξ",tex:null,ttype:0},{input:"Xi",tag:"mo",output:"Ξ",tex:null,ttype:0},{input:"zeta",tag:"mi",output:"ζ",tex:null,ttype:0},{input:"*",tag:"mo",output:"⋅",tex:"cdot",ttype:0},{input:"**",tag:"mo",output:"∗",tex:"ast",ttype:0},{input:"***",tag:"mo",output:"⋆",tex:"star",ttype:0},{input:"//",tag:"mo",output:"/",tex:"/",ttype:0,val:!0,notexcopy:!0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",ttype:0},{input:"setminus",tag:"mo",output:"\\",tex:null,ttype:0},{input:"xx",tag:"mo",output:"×",tex:"times",ttype:0},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",ttype:0},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",ttype:0},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",ttype:0},{input:"-:",tag:"mo",output:"÷",tex:"div",ttype:0},{input:"divide",tag:"mo",output:"-:",tex:null,ttype:8},{input:"@",tag:"mo",output:"∘",tex:"circ",ttype:0},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",ttype:0},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",ttype:0},{input:"o.",tag:"mo",output:"⊙",tex:"odot",ttype:0},{input:"sum",tag:"mo",output:"∑",tex:null,ttype:7},{input:"prod",tag:"mo",output:"∏",tex:null,ttype:7},{input:"^^",tag:"mo",output:"∧",tex:"wedge",ttype:0},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",ttype:7},{input:"vv",tag:"mo",output:"∨",tex:"vee",ttype:0},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",ttype:7},{input:"nn",tag:"mo",output:"∩",tex:"cap",ttype:0},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",ttype:7},{input:"uu",tag:"mo",output:"∪",tex:"cup",ttype:0},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",ttype:7},{input:"overset",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"underset",tag:"munder",output:"stackrel",tex:null,ttype:2},{input:"!=",tag:"mo",output:"≠",tex:"ne",ttype:0},{input:":=",tag:"mo",output:":=",tex:null,ttype:0},{input:"lt",tag:"mo",output:"<",tex:null,ttype:0},{input:"gt",tag:"mo",output:">",tex:null,ttype:0},{input:"<=",tag:"mo",output:"≤",tex:"le",ttype:0},{input:"lt=",tag:"mo",output:"≤",tex:"leq",ttype:0},{input:"gt=",tag:"mo",output:"≥",tex:"geq",ttype:0},{input:">=",tag:"mo",output:"≥",tex:"ge",ttype:0},{input:"-<",tag:"mo",output:"≺",tex:"prec",ttype:0},{input:"-lt",tag:"mo",output:"≺",tex:null,ttype:0},{input:">-",tag:"mo",output:"≻",tex:"succ",ttype:0},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",ttype:0},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",ttype:0},{input:"in",tag:"mo",output:"∈",tex:null,ttype:0},{input:"!in",tag:"mo",output:"∉",tex:"notin",ttype:0},{input:"sub",tag:"mo",output:"⊂",tex:"subset",ttype:0},{input:"sup",tag:"mo",output:"⊃",tex:"supset",ttype:0},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",ttype:0},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",ttype:0},{input:"-=",tag:"mo",output:"≡",tex:"equiv",ttype:0},{input:"~=",tag:"mo",output:"≅",tex:"stackrel{\\sim}{=}",notexcopy:!0,ttype:0},{input:"cong",tag:"mo",output:"~=",tex:null,ttype:8},{input:"~~",tag:"mo",output:"≈",tex:"approx",ttype:0},{input:"prop",tag:"mo",output:"∝",tex:"propto",ttype:0},{input:"and",tag:"mtext",output:"and",tex:null,ttype:6},{input:"or",tag:"mtext",output:"or",tex:null,ttype:6},{input:"not",tag:"mo",output:"¬",tex:"neg",ttype:0},{input:"=>",tag:"mo",output:"⇒",tex:"Rightarrow",ttype:0},{input:"implies",tag:"mo",output:"=>",tex:null,ttype:8},{input:"if",tag:"mo",output:"if",tex:null,ttype:6},{input:"<=>",tag:"mo",output:"⇔",tex:"Leftrightarrow",ttype:0},{input:"iff",tag:"mo",output:"<=>",tex:null,ttype:8},{input:"AA",tag:"mo",output:"∀",tex:"forall",ttype:0},{input:"EE",tag:"mo",output:"∃",tex:"exists",ttype:0},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",ttype:0},{input:"TT",tag:"mo",output:"⊤",tex:"top",ttype:0},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",ttype:0},{input:"|==",tag:"mo",output:"⊨",tex:"models",ttype:0},{input:"(",tag:"mo",output:"(",tex:null,ttype:4,val:!0},{input:")",tag:"mo",output:")",tex:null,ttype:5,val:!0},{input:"[",tag:"mo",output:"[",tex:null,ttype:4,val:!0},{input:"]",tag:"mo",output:"]",tex:null,ttype:5,val:!0},{input:"left(",tag:"mo",output:"(",tex:"(",notexcopy:!0,ttype:4,val:!0},{input:"right)",tag:"mo",output:")",tex:")",notexcopy:!0,ttype:5,val:!0},{input:"left[",tag:"mo",output:"[",tex:"[",notexcopy:!0,ttype:4,val:!0},{input:"right]",tag:"mo",output:"]",tex:"]",notexcopy:!0,ttype:5,val:!0},{input:"{",tag:"mo",output:"{",tex:"lbrace",ttype:4},{input:"}",tag:"mo",output:"}",tex:"rbrace",ttype:5},{input:"|",tag:"mo",output:"|",tex:null,ttype:9,val:!0},{input:"|:",tag:"mo",output:"|",tex:"|",ttype:4,notexcopy:!0,val:!0},{input:":|",tag:"mo",output:"|",tex:"|",ttype:5,notexcopy:!0,val:!0},{input:":|:",tag:"mo",output:"|",tex:"|",ttype:0,notexcopy:!0,val:!0},{input:"(:",tag:"mo",output:"〈",tex:"langle",ttype:4},{input:":)",tag:"mo",output:"〉",tex:"rangle",ttype:5},{input:"<<",tag:"mo",output:"〈",tex:"langle",ttype:4},{input:">>",tag:"mo",output:"〉",tex:"rangle",ttype:5},{input:"{:",tag:"mo",output:"{:",tex:null,ttype:4,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,ttype:5,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,ttype:0},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,ttype:8},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,ttype:8},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,ttype:8},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,ttype:8},{input:"oint",tag:"mo",output:"∮",tex:null,ttype:0},{input:"del",tag:"mo",output:"∂",tex:"partial",ttype:0},{input:"grad",tag:"mo",output:"∇",tex:"nabla",ttype:0},{input:"+-",tag:"mo",output:"±",tex:"pm",ttype:0},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",ttype:0},{input:"oo",tag:"mo",output:"∞",tex:"infty",ttype:0},{input:"aleph",tag:"mo",output:"ℵ",tex:null,ttype:0},{input:"...",tag:"mo",output:"...",tex:"ldots",ttype:0},{input:":.",tag:"mo",output:"∴",tex:"therefore",ttype:0},{input:":'",tag:"mo",output:"∵",tex:"because",ttype:0},{input:"/_",tag:"mo",output:"∠",tex:"angle",ttype:0},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",ttype:0},{input:"\\ ",tag:"mo",output:" ",tex:null,ttype:0,val:!0},{input:"frown",tag:"mo",output:"⌢",tex:null,ttype:0},{input:"%",tag:"mo",output:"%",tex:"%",ttype:0,notexcopy:!0},{input:"quad",tag:"mo",output:" ",tex:null,ttype:0},{input:"qquad",tag:"mo",output:" ",tex:null,ttype:0},{input:"cdots",tag:"mo",output:"⋯",tex:null,ttype:0},{input:"vdots",tag:"mo",output:"⋮",tex:null,ttype:0},{input:"ddots",tag:"mo",output:"⋱",tex:null,ttype:0},{input:"diamond",tag:"mo",output:"⋄",tex:null,ttype:0},{input:"square",tag:"mo",output:"□",tex:"boxempty",ttype:0},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",ttype:0},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",ttype:0},{input:"|~",tag:"mo",output:"⌈",tex:"lceil",ttype:0},{input:"lceiling",tag:"mo",output:"|~",tex:null,ttype:8},{input:"~|",tag:"mo",output:"⌉",tex:"rceil",ttype:0},{input:"rceiling",tag:"mo",output:"~|",tex:null,ttype:8},{input:"CC",tag:"mo",output:"ℂ",tex:"mathbb{C}",ttype:0,notexcopy:!0},{input:"NN",tag:"mo",output:"ℕ",tex:"mathbb{N}",ttype:0,notexcopy:!0},{input:"QQ",tag:"mo",output:"ℚ",tex:"mathbb{Q}",ttype:0,notexcopy:!0},{input:"RR",tag:"mo",output:"ℝ",tex:"mathbb{R}",ttype:0,notexcopy:!0},{input:"ZZ",tag:"mo",output:"ℤ",tex:"mathbb{Z}",ttype:0,notexcopy:!0},{input:"f",tag:"mi",output:"f",tex:null,ttype:1,func:!0,val:!0},{input:"g",tag:"mi",output:"g",tex:null,ttype:1,func:!0,val:!0},{input:"''",tag:"mo",output:"''",tex:null,val:!0},{input:"'''",tag:"mo",output:"'''",tex:null,val:!0},{input:"''''",tag:"mo",output:"''''",tex:null,val:!0},{input:"lim",tag:"mo",output:"lim",tex:null,ttype:7},{input:"Lim",tag:"mo",output:"Lim",tex:null,ttype:7},{input:"sin",tag:"mo",output:"sin",tex:null,ttype:1,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,ttype:1,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,ttype:1,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,ttype:1,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,ttype:1,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,ttype:1,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,ttype:1,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,ttype:1,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,ttype:1,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,ttype:1,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,ttype:1,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,ttype:1,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,ttype:1,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,ttype:1,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,ttype:1,func:!0},{input:"log",tag:"mo",output:"log",tex:null,ttype:1,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,ttype:1,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["\\|","\\|"]},{input:"floor",tag:"mo",output:"floor",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["\\lfloor","\\rfloor"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["\\lceil","\\rceil"]},{input:"Sin",tag:"mo",output:"Sin",tex:null,ttype:1,func:!0},{input:"Cos",tag:"mo",output:"Cos",tex:null,ttype:1,func:!0},{input:"Tan",tag:"mo",output:"Tan",tex:null,ttype:1,func:!0},{input:"Arcsin",tag:"mo",output:"Arcsin",tex:null,ttype:1,func:!0},{input:"Arccos",tag:"mo",output:"Arccos",tex:null,ttype:1,func:!0},{input:"Arctan",tag:"mo",output:"Arctan",tex:null,ttype:1,func:!0},{input:"Sinh",tag:"mo",output:"Sinh",tex:null,ttype:1,func:!0},{input:"Cosh",tag:"mo",output:"Cosh",tex:null,ttype:1,func:!0},{input:"Tanh",tag:"mo",output:"Tanh",tex:null,ttype:1,func:!0},{input:"Cot",tag:"mo",output:"Cot",tex:null,ttype:1,func:!0},{input:"Sec",tag:"mo",output:"Sec",tex:null,ttype:1,func:!0},{input:"Csc",tag:"mo",output:"Csc",tex:null,ttype:1,func:!0},{input:"Log",tag:"mo",output:"Log",tex:null,ttype:1,func:!0},{input:"Ln",tag:"mo",output:"Ln",tex:null,ttype:1,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["|","|"]},{input:"det",tag:"mo",output:"det",tex:null,ttype:1,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,ttype:1,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,ttype:0},{input:"mod",tag:"mo",output:"mod",tex:"text{mod}",ttype:0,notexcopy:!0},{input:"gcd",tag:"mo",output:"gcd",tex:null,ttype:1,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:"text{lcm}",ttype:1,func:!0,notexcopy:!0},{input:"lub",tag:"mo",output:"lub",tex:null,ttype:0},{input:"glb",tag:"mo",output:"glb",tex:null,ttype:0},{input:"min",tag:"mo",output:"min",tex:null,ttype:7},{input:"max",tag:"mo",output:"max",tex:null,ttype:7},{input:"uarr",tag:"mo",output:"↑",tex:"uparrow",ttype:0},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",ttype:0},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",ttype:0},{input:"->",tag:"mo",output:"→",tex:"to",ttype:0},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",ttype:0},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",ttype:0},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",ttype:0},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",ttype:0},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",ttype:0},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",ttype:0},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",ttype:0},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",ttype:0},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",ttype:0},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"root",tag:"mroot",output:"root",tex:null,ttype:2},{input:"frac",tag:"mfrac",output:"/",tex:null,ttype:2},{input:"/",tag:"mfrac",output:"/",tex:null,ttype:3},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"_",tag:"msub",output:"_",tex:null,ttype:3},{input:"^",tag:"msup",output:"^",tex:null,ttype:3},{input:"cancel",tag:"menclose",output:"cancel",tex:null,ttype:1},{input:"Sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"hat",tag:"mover",output:"^",tex:null,ttype:1,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",ttype:1,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,ttype:1,acc:!0},{input:"tilde",tag:"mover",output:"~",tex:null,ttype:1,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,ttype:1,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,ttype:1,acc:!0},{input:"overarc",tag:"mover",output:"⏜",tex:"stackrel{\\frown}",notexcopy:!0,ttype:1,acc:!0},{input:"overparen",tag:"mover",output:"⏜",tex:"stackrel{\\frown}",notexcopy:!0,ttype:1,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",ttype:1,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",ttype:1,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",ttype:1,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,ttype:10},{input:"mbox",tag:"mtext",output:"mbox",tex:null,ttype:10},He,{input:"color",tag:"mstyle",ttype:2},{input:"bb",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"bb",tex:"mathbf",ttype:1,notexcopy:!0},{input:"mathbf",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"mathbf",tex:null,ttype:1},{input:"sf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"sf",tex:"mathsf",ttype:1,notexcopy:!0},{input:"mathsf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"mathsf",tex:null,ttype:1},{input:"bbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"bbb",tex:"mathbb",ttype:1,notexcopy:!0},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:1},{input:"cc",tag:"mstyle",atname:"mathvariant",atval:"script",output:"cc",tex:"mathcal",ttype:1,notexcopy:!0},{input:"mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",output:"mathcal",tex:null,ttype:1},{input:"tt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"tt",tex:"mathtt",ttype:1,notexcopy:!0},{input:"mathtt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"mathtt",tex:null,ttype:1},{input:"fr",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"fr",tex:"mathfrak",ttype:1,notexcopy:!0},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:1}];function Fe(e,t){return e.input>t.input?1:-1}var Ze,$e,We,Ve=[];function Ge(e,t){var n;n="\\"==e.charAt(t)&&"\\"!=e.charAt(t+1)&&" "!=e.charAt(t+1)?e.slice(t+1):e.slice(t);for(var r=0;n.length>r&&32>=n.charCodeAt(r);r+=1);return n.slice(r)}function Ye(e,t,n){if(0==n){var r,i;for(n=-1,r=e.length;r>n+1;)t>e[i=n+r>>1]?n=i:r=i;return r}for(var a=n;e.length>a&&t>e[a];a++);return a}function Je(e){for(var t,n,r,i=0,a="",o=!0,s=1;e.length>=s&&o;s++)n=e.slice(0,s),i=Ye(Ve,n,i),Ve.length>i&&e.slice(0,Ve[i].length)==Ve[i]&&(t=i,s=(a=Ve[i]).length),o=Ve.length>i&&e.slice(0,Ve[i].length)>=Ve[i];if($e=We,""!=a)return We=Ue[t].ttype,Ue[t];We=0,i=1,n=e.slice(0,1);for(var l=!0;n>="0"&&"9">=n&&e.length>=i;)n=e.slice(i,i+1),i++;if(n==qe&&(n=e.slice(i,i+1))>="0"&&"9">=n)for(l=!1,i++;n>="0"&&"9">=n&&e.length>=i;)n=e.slice(i,i+1),i++;return l&&i>1||i>2?(n=e.slice(0,i-1),r="mn"):(i=2,r=("A">(n=e.slice(0,1))||n>"Z")&&("a">n||n>"z")?"mo":"mi"),"-"==n&&3==$e?(We=3,{input:n,tag:r,output:n,ttype:1,func:!0,val:!0}):{input:n,tag:r,output:n,ttype:0,val:!0}}function Ke(e){var t;if("{"==e.charAt(0)&&"}"==e.charAt(e.length-1)){var n=0;"\\left"==(t=e.substr(1,5))?"("==(t=e.charAt(6))||"["==t||"{"==t?n=7:"\\lbrace"==(t=e.substr(6,7))&&(n=13):"("!=(t=e.charAt(1))&&"["!=t||(n=2),n>0&&("\\right)}"==(t=e.substr(e.length-8))||"\\right]}"==t||"\\right.}"==t?e=(e="{"+e.substr(n)).substr(0,e.length-8)+"}":"\\rbrace}"==t&&(e=(e="{"+e.substr(n)).substr(0,e.length-14)+"}"))}return e}function Xe(e){var t;return t="boolean"==typeof e.val&&e.val?"":"\\",null==e.tex?t+e.input:t+e.tex}function Qe(e){var t,n,r,i,a="";if(null==(t=Je(e=Ge(e,0)))||5==t.ttype&&Ze>0)return[null,e];switch(8==t.ttype&&(t=Je(e=t.output+Ge(e,t.input.length))),t.ttype){case 7:case 0:e=Ge(e,t.input.length);var o=Xe(t);return"\\"==o.charAt(0)||"mo"==t.tag?[o,e]:["{"+o+"}",e];case 4:Ze++,r=tt(e=Ge(e,t.input.length),!0),Ze--;var s=0;return"\\right"==r[0].substr(0,6)&&(")"==(c=r[0].charAt(6))||"]"==c||"}"==c?s=6:"."==c?s=7:"\\rbrace"==(c=r[0].substr(6,7))&&(s=13)),s>0?(r[0]=r[0].substr(s),n="boolean"==typeof t.invisible&&t.invisible?"{"+r[0]+"}":"{"+Xe(t)+r[0]+"}"):n="boolean"==typeof t.invisible&&t.invisible?"{\\left."+r[0]+"}":"{\\left"+Xe(t)+r[0]+"}",[n,r[1]];case 10:return t!=He&&(e=Ge(e,t.input.length)),-1==(i="{"==e.charAt(0)?e.indexOf("}"):"("==e.charAt(0)?e.indexOf(")"):"["==e.charAt(0)?e.indexOf("]"):t==He?e.slice(1).indexOf('"')+1:0)&&(i=e.length)," "==(c=e.slice(1,i)).charAt(0)&&(a="\\ "),a+="\\text{"+c+"}"," "==c.charAt(c.length-1)&&(a+="\\ "),[a,e=Ge(e,i+1)];case 1:return null==(r=Qe(e=Ge(e,t.input.length)))[0]?["{"+Xe(t)+"}",e]:"boolean"==typeof t.func&&t.func?"^"==(c=e.charAt(0))||"_"==c||"/"==c||"|"==c||","==c||1==t.input.length&&t.input.match(/\w/)&&"("!=c?["{"+Xe(t)+"}",e]:[n="{"+Xe(t)+"{"+r[0]+"}}",r[1]]:(r[0]=Ke(r[0]),"sqrt"==t.input?["\\sqrt{"+r[0]+"}",r[1]]:"cancel"==t.input?["\\cancel{"+r[0]+"}",r[1]]:void 0!==t.rewriteleftright?["{\\left"+t.rewriteleftright[0]+r[0]+"\\right"+t.rewriteleftright[1]+"}",r[1]]:"boolean"==typeof t.acc&&t.acc?[Xe(t)+"{"+r[0]+"}",r[1]]:["{"+Xe(t)+"{"+r[0]+"}}",r[1]]);case 2:if(null==(r=Qe(e=Ge(e,t.input.length)))[0])return["{"+Xe(t)+"}",e];r[0]=Ke(r[0]);var l=Qe(r[1]);return null==l[0]?["{"+Xe(t)+"}",e]:(l[0]=Ke(l[0]),[a="color"==t.input?"{\\color{"+r[0].replace(/[\{\}]/g,"")+"}"+l[0]+"}":"root"==t.input?"{\\sqrt["+r[0]+"]{"+l[0]+"}}":"{"+Xe(t)+"{"+r[0]+"}{"+l[0]+"}}",l[1]]);case 3:return e=Ge(e,t.input.length),[t.output,e];case 6:return e=Ge(e,t.input.length),["{\\quad\\text{"+t.input+"}\\quad}",e];case 9:Ze++,r=tt(e=Ge(e,t.input.length),!1),Ze--;var c="";return"|"==(c=r[0].charAt(r[0].length-1))&&","!==e.charAt(0)?[n="{\\left|"+r[0]+"}",r[1]]:[n="{\\mid}",e];default:return e=Ge(e,t.input.length),["{"+Xe(t)+"}",e]}}function et(e){var t,n,r,i,a;if(n=Je(e=Ge(e,0)),i=(a=Qe(e))[0],3==(t=Je(e=a[1])).ttype&&"/"!=t.input){if((a=Qe(e=Ge(e,t.input.length)))[0]=null==a[0]?"{}":Ke(a[0]),e=a[1],"_"==t.input)if("^"==(r=Je(e)).input){var o=Qe(e=Ge(e,r.input.length));o[0]=Ke(o[0]),e=o[1],i="{"+i,i+="_{"+a[0]+"}",i+="^{"+o[0]+"}",i+="}"}else i+="_{"+a[0]+"}";else i=i+"^{"+a[0]+"}";void 0!==n.func&&n.func&&(3==(r=Je(e)).ttype||5==r.ttype||1>=n.input.length&&4!=r.ttype||(i="{"+i+(a=et(e))[0]+"}",e=a[1]))}return[i,e]}function tt(e,t){var n,r,i,a,o="",s=!1;do{r=(i=et(e=Ge(e,0)))[0],3==(n=Je(e=i[1])).ttype&&"/"==n.input?((i=et(e=Ge(e,n.input.length)))[0]=null==i[0]?"{}":Ke(i[0]),e=i[1],r="\\frac{"+(r=Ke(r))+"}",o+=r+="{"+i[0]+"}",n=Je(e)):null!=r&&(o+=r)}while((5!=n.ttype&&(9!=n.ttype||t)||0==Ze)&&null!=n&&""!=n.output);if(5==n.ttype||9==n.ttype){var l=o.length;if(l>2&&"{"==o.charAt(0)&&o.indexOf(",")>0){var c=o.charAt(l-2);if(")"==c||"]"==c){var u=o.charAt(6);if("("==u&&")"==c&&"}"!=n.output||"["==u&&"]"==c){var d="",h=[];h.push(0);var f=!0,p=0,g=[];g[0]=[0];var m=0,v=0,w="";for(a=1;l-1>a;a++)o.charAt(a)==u&&p++,o.charAt(a)==c&&0==--p&&","==o.charAt(a+2)&&"{"==o.charAt(a+3)&&(h.push(a+2),g[m=a+2]=[a+2]),"["!=o.charAt(a)&&"("!=o.charAt(a)&&"{"!=o.charAt(a)||v++,"]"!=o.charAt(a)&&")"!=o.charAt(a)&&"}"!=o.charAt(a)||v--,","==o.charAt(a)&&1==v&&g[m].push(a),0>v&&(m==a+1?a++:f=!1);h.push(l);var b=-1;if(0==p&&h.length>0&&f)for(a=0;h.length-1>a;a++){if(a>0&&(d+="\\\\"),0==a)if(1==g[h[a]].length)var _=[o.substr(h[a]+7,h[a+1]-h[a]-15)];else{_=[o.substring(h[a]+7,g[h[a]][1])];for(var y=2;g[h[a]].length>y;y++)_.push(o.substring(g[h[a]][y-1]+1,g[h[a]][y]));_.push(o.substring(g[h[a]][g[h[a]].length-1]+1,h[a+1]-8))}else if(1==g[h[a]].length)_=[o.substr(h[a]+8,h[a+1]-h[a]-16)];else{for(_=[o.substring(h[a]+8,g[h[a]][1])],y=2;g[h[a]].length>y;y++)_.push(o.substring(g[h[a]][y-1]+1,g[h[a]][y]));_.push(o.substring(g[h[a]][g[h[a]].length-1]+1,h[a+1]-8))}for(y=_.length-1;y>=0;y--)"{\\mid}"==_[y]?(0==a&&(w="|"+w),_.splice(y,1)):0==a&&(w="c"+w);b>0&&_.length!=b?f=!1:-1==b&&(b=_.length),d+=_.join("&")}d="\\begin{array}{"+w+"} "+d+"\\end{array}",f&&(o=d)}}}e=Ge(e,n.input.length),"boolean"==typeof n.invisible&&n.invisible?(o+="\\right.",s=!0):(o+=r="\\right"+Xe(n),s=!0)}return Ze>0&&!s&&(o+="\\right."),[o,e]}function nt(e){return Ze=0,null==(e=(e=(e=e.replace(/( |\u00a0| )/g,"")).replace(/>/g,">")).replace(/</g,"<")).match(/\S/)?"":tt(e.replace(/^\s+/g,""),!1)[0]}if(function(){var e,t=Ue.length;for(e=0;t>e;e++)!Ue[e].tex||"boolean"==typeof Ue[e].notexcopy&&Ue[e].notexcopy||Ue.push({input:Ue[e].tex,tag:Ue[e].tag,output:Ue[e].output,ttype:Ue[e].ttype,acc:Ue[e].acc||!1});!function(){var e;for(Ue.sort(Fe),e=0;Ue.length>e;e++)Ve[e]=Ue[e].input}()}(),"undefined"==typeof window)throw Error("The showdown katex extension can only be used in browser environment!");if(void 0===rt)var rt=window.katex||void 0;if("undefined"==typeof renderMathInElement)var it=window.renderMathInElement||void 0;var at=0;function ot(){return!(void 0===rt||!rt)}var st=!1;function lt(e,t){var n=ot();if("undefined"!=typeof window){if(st)return n;if(!n)return st=!0,I.loadScript("katex").then(function(t){if(rt=F.interopDefault(window[t]),"katex"===e)return I.loadScript("renderMathInElement")}).then(function(e){it=F.interopDefault(window[e]),"function"==typeof t&&t&&t(it)}).catch(function(e){}),n}return"function"==typeof t&&t&&t(it),n}function ct(e,t){if(ot()){var n=t.className,r=t.input,i=t.data,a=t.options,o=t.element.ownerDocument,s="";if(i instanceof Array)i.forEach(function(e){if(""===e)s+="<br>";else{var t=rt.renderToString(e,a);s+='<div title="'.concat(r,'" class="').concat(n,'">').concat(t,"</div>")}});else{var l=rt.renderToString(i,a);s='<div title="'.concat(r,'" class="').concat(n,'">').concat(l,"</div>")}return t.element.parentNode.outerHTML=s,! --at&&it&&it(o.body,a),void e(!0)}setTimeout(function(){ct(e,t)},10)}function ut(e,t,n){return new Promise(function(r){var i,a=F.createElementMeta("katex",e,!1,function(e){var t;i=e;var r=e.split(/\n[ \f\r\t\v]*\n/);return r.length>1?(t=[],r.forEach(function(e){""!==(e=e.trim())&&(e=n?nt(e):e),t.push(e)})):t=n?nt(i):i,t});if(!a)return r(!1);a.input=i,a.options=t,ct(r,a)})}function dt(e){return e.replace(/[-[\]/{}()*+?.\\$^|]/g,"\\$&")}var ht=function(){var e=a({engine:"katex",displayMode:!0,throwOnError:!1,errorColor:"#ff0000",delimiters:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});function t(e,t){return!(!e||"object"!==d(e)||!e.hasOwnProperty(t))}function n(e,n,r){return!!(t(e,n)&&t(e[n],r)&&(i=e[n][r],Array.isArray(i)&&i.length))&&(e[n][r].forEach(function(e){e.display="inline"!==r,"asciimath"===n&&(e.asciimath=!0)}),e[n][r]);var i}return Array.isArray(e.delimiters)?e.delimiters.length||(e.delimiters=[{left:"$$",right:"$$",display:!0},{left:"\\[",right:"\\]",display:!0},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"@@",right:"@@",display:!0,asciimath:!0},{left:"\\$",right:"\\$",display:!1,asciimath:!0}]):e.delimiters=[].concat(n(e.delimiters,"texmath","display")||[{left:"$$",right:"$$",display:!0},{left:"\\[",right:"\\]",display:!0},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0}]).concat(n(e.delimiters,"texmath","inline")||[{left:"\\(",right:"\\)",display:!1}]).concat(n(e.delimiters,"asciimath","display")||[{left:"@@",right:"@@",display:!0,asciimath:!0}]).concat(n(e.delimiters,"asciimath","inline")||[{left:"\\$",right:"\\$",display:!1,asciimath:!0}]),e};function ft(e){var t=0,n=ht(e),r=n.delimiters.map(function(e){var n=e.right,r=e.display,i=e.asciimath;return{test:RegExp("".concat(dt(e.left),"([\\s\\S]+?)").concat(dt(n)),"g"),replacer:function(e,n){return++t,i&&(n=nt(n)),r?"\\[".concat(n,"\\]"):"\\(".concat(n,"\\)")}}});return[{type:"output",config:n,filter:function(e){var n=this;t=0;var i=e.wrapper;if(!i)return!1;"katex"===this.config.engine&&r.length&&i.querySelectorAll(":not(code):not(pre)").forEach(function(e){var t=e.textContent;if(t.length>0){var n=r.reduce(function(e,t){return e.replace(t.test,t.replacer)},t);e.textContent=n}});var a=i.querySelectorAll("code.katex.language-katex"),o=i.querySelectorAll("code.asciimath.language-asciimath");if(!a.length&&!o.length){if(t>0){var s=function(e,t){ot()?(t(i.ownerDocument.body,l.config),e(!0)):setTimeout(function(){s(e,t)},10)};this.config.cssLink=I.getCSS(!0,"katex");var l=this;return new Promise(function(e){lt(n.config.engine,function(t){s(e,t)})}).then(function(){return e})}return!1}return this.config.cssLink=I.getCSS(!0,"katex"),F.addCssLink(e,this.config.cssLink,"css-katex"),function(e,t,n){return at=e.length+t.length,lt(n.engine),new Promise(function(r){var i=[];e.forEach(function(e){i.push(ut(e,n,!1))}),t.forEach(function(e){i.push(ut(e,n,!0))}),Promise.all(i).then(function(){r(!0)})})}(a,o,this.config).then(function(){return e})}}]}var pt={},gt={};function mt(e,t){e.forEach(function(e){!function(e,t){var n=F.createElementMeta("Tex",e,!0);if(n&&n.data){var r=pt[n.hash];if(r)e.parentNode.replaceWith(r);else{var i,a="";if(e.classList.length>0){var o=e.classList[0].split("-");o.length>1&&(a=o[o.length-1])}a.length>0&&window&&window.fetch&&t&&(t.elements=null!==(i=t.elements)&&void 0!==i?i:[],t.elements.push({type:a,id:n.id}))}}}(e,t)})}function vt(){var e;if(window&&"Kroki"in window){var t=window.Kroki;if(t.elements&&Array.isArray(t.elements)&&0!==t.elements.length){var n=null!==(e=t.config.imageFormat)&&void 0!==e?e:"svg";t.elements.forEach(function(e){var r,i=e.type,a=document.querySelector("#".concat(e.id));if(a){var o=a.dataset.lang,s=a.textContent.trim(),l=F.hashString(o+s),c=pt[l];if(c)a.parentNode.replaceWith(c);else if("function"==typeof t.svgRender&&t.svgRender){var u={diagramType:i,imageFormat:n};try{t.svgRender(a.id,s,u).then(function(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),pt[l]=t}).catch(function(e){})}catch(e){}}else{var d="https://"+(null!==(r=t.config.serverUrl)&&void 0!==r?r:"kroki.io"),h="".concat(d,"/").concat(i,"/").concat(n);try{window.fetch(h,{method:"POST",body:s,headers:{Accept:"*/*","Content-Type":"text/plain; charset=utf-8"}}).then(function(e){if("string"==typeof e)return e;if(e.ok)return e.text();throw Error("RequestError: ".concat(e.status))}).then(function(e){if(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),pt[l]=t}}).catch(function(e){})}catch(e){}}}}),delete t.elements}}}function wt(e){var t=function(){return a({serverUrl:"kroki.io",imageFormat:"svg",svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r,i=n.querySelectorAll('code[class*="language-kroki-"]');return!!i.length&&(window&&(window.Kroki=gt),gt.config={serverUrl:this.config.serverUrl,imageFormat:this.config.imageFormat},gt.svgRender=this.config.svgRender,e.scripts.push({id:"showdown-kroki",code:vt,once:!0}),mt(i,gt),(null===(t=gt.elements)||void 0===t?void 0:t.length)>0&&(r=n,Object.keys(pt).forEach(function(e){r.querySelector('[id*="-'.concat(e,'"]'))||delete pt[e]})),e)}}]}if(void 0===bt)var bt=window.Shiki||void 0;function _t(){return!(void 0===(bt=window.Shiki)||!bt)}var yt,kt=!1;function xt(){function e(){var e;function t(e,t){e.content&&(e.content.textContent=t),e.root&&e.root.classList.remove("hidden"),e.timer&&(clearTimeout(e.timer),e.timer=null),e.timer=setTimeout(function(){e.content&&(e.content.textContent=""),e.root&&e.root.classList.add("hidden"),e.timer=null,e.content=null,e.root=null},5e3)}var n=document.querySelectorAll(".codeblock-container");if(null!=n&&n.length){!function(t){if(e)return e;var n=t.createElement("div");n.classList.add("select-items","select-theme-items");var r=[];window.Shiki.bundledThemesInfo.forEach(function(i){var a=function(n,r,i){var a=t.createElement("div");a.classList.add("options-item"),a.dataset.theme=r,a.dataset.name=i,a.title=i;var o=t.createElement("span");return o.classList.add("select-item-content"),o.textContent=i,a.appendChild(o),a.addEventListener("click",function(t){var r=t.currentTarget;if(r.classList.add("selected-item"),Array.from(n.children).forEach(function(e){e!==r&&e.classList.remove("selected-item")}),e&&e.container){var i=e.container,a=e.themer,o=e.tools;if(i.dataset.theme=r.dataset.theme,i.dataset.themeName=r.dataset.name,a){var s=ae.getLangString("code-theme-prefix");a.dataset.title=s+r.dataset.name}var l=i.dataset.language,c=r.dataset.theme,u=i.querySelector("pre code");u&&window.Shiki.codeToHtml(null==u?void 0:u.textContent,{lang:l,theme:c}).then(function(e){u.parentNode.outerHTML=e}),o&&o.classList.remove("show-theme-options"),e.container=null,e.themer=null,e.tools=null}n.style="",n.remove(),t.stopPropagation()}),{option:a,content:o}}(n,i.id,i.displayName);n.appendChild(a.option),r.push(a)});var i=[];window.Shiki.bundledLanguagesInfo.forEach(function(e){i.push(e.id),e.aliases&&e.aliases.forEach(function(e){i.push(e)})}),e={options:n,items:r,langs:i}}(document);for(var r=function(){var r=n[i],a=r.querySelector(".codeblock-tools"),o=r.querySelector(".tools-button-copy");o&&o.addEventListener("click",function(){var e=r.querySelector("pre code"),n={root:r.querySelector(".tools-message"),content:r.querySelector(".tools-message-content")};navigator.clipboard.writeText(null==e?void 0:e.textContent).then(function(){t(n,ae.getLangString("msg-copy-success"))},function(e){t(n,ae.getLangString("msg-copy-failed"))})});var s=r.querySelector(".tools-button-theme");s&&s.addEventListener("click",function(t){if(e){var n;e.container&&e.options&&e.options.remove(),e.container=r,e.themer=s,e.tools=a,e.tools&&e.tools.classList.add("show-theme-options"),e.items.forEach(function(e){r.dataset.theme===e.option.dataset.theme?(n=e.option,e.option.classList.add("selected-item")):e.option.classList.remove("selected-item")});var i=s.getBoundingClientRect(),o=e.container.getBoundingClientRect();e.options.style.top=i.bottom-o.top-1+"px",e.options.style.right=0,e.container.appendChild(e.options),e.options.classList.remove("hidden"),n&&n.scrollIntoView({container:"nearest"}),t.stopPropagation()}})},i=0;n.length>i;i++)r();document.addEventListener("click",function(){var t;null!==(t=e)&&void 0!==t&&null!==(t=t.options)&&void 0!==t&&t.parentNode&&(e.options.style="",e.options.remove(),e.tools&&e.tools.classList.remove("show-theme-options"),e.container=null,e.themer=null,e.tools=null)},!1)}}window&&"Shiki"in window?e():import("https://esm.sh/shiki@3.21.0").then(function(t){window.Shiki="default"in t&&t.default?t.default:t,e()})}function Et(e,t,n){if(_t()){for(var r=t.classList[0],i="",a=0;bt.bundledLanguagesInfo.length>a;a++){var o=bt.bundledLanguagesInfo[a];if(o.id===r){i=o.name;break}if(o.aliases&&o.aliases.includes(r)){i=o.name;break}}if(!i)return void e(!1);for(var s=h,l=0;bt.bundledThemesInfo.length>l;l++)if(bt.bundledThemesInfo[l].id===s){s=bt.bundledThemesInfo[l].displayName;break}var c=t.textContent.trim(),u=t.ownerDocument,d=F.parseAttribute(t.dataset.lang),h=null!=d&&d.theme?d.theme:n.theme;bt.codeToHtml(c,{lang:r,theme:h}).then(function(n){var a=u.createElement("div");a.classList.add("codeblock-container"),a.dataset.theme=h,a.dataset.themeName=s,a.dataset.language=r,a.dataset.langName=i;var o=function(e,t,n){var r=ae.getLangString("code-copy"),i=ae.getLangString("code-theme-prefix"),a=ae.getLangString("code-lang-prefix"),o=e.createElement("div");return o.classList.add("codeblock-tools","toolbar-hover"),o.innerHTML='<div class="tools-message hidden">\n <div class="tools-icon tools-message-icon">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-info"/>\n </svg>\n </div>\n <span class="tools-message-content"></span>\n </div>\n <div class="tools-icon tools-button-lang" rel="tooltip" data-title="'.concat(a).concat(t,'">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-language"/>\n </svg>\n </div>\n <div class="tools-icon tools-button-theme" rel="tooltip" data-title="').concat(i).concat(n,'">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-theme"/>\n </svg>\n </div>\n <div class="tools-icon tools-button-copy" rel="tooltip" data-title="').concat(r,'">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-copy"/>\n </svg>\n </div>'),o}(u,i,s);a.appendChild(o);var l=function(e){return yt||(yt=e.createElement("div"))}(u);l.innerHTML=n;var c=l.children[0];c.remove(),a.appendChild(c),t.parentNode.replaceWith(a),e(!0)}).catch(function(t){e(!1)})}else setTimeout(function(){Et(e,t,n)},100)}function St(e,t){return function(){var e=_t();if("undefined"!=typeof window){if(kt)return e;e||(kt=!0,I.loadScript("Shiki").then(function(e){bt=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(n){var r=[];e.forEach(function(e){r.push(function(e,t){return new Promise(function(n){Et(n,e,t)})}(e,t))}),Promise.all(r).then(function(){n(!0)})})}var Lt=['<symbol id="svg-icon-info" viewBox="64 64 896 896" fill="currentColor"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></symbol>','<symbol id="svg-icon-language" viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m0-938.666667C276.352 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667 426.666667-191.018667 426.666667-426.666667A426.666667 426.666667 0 0 0 512 85.333333z m0 682.666667a42.666667 42.666667 0 0 1-42.368-42.666667v-255.573333a42.368 42.368 0 1 1 84.693333 0V725.333333A42.410667 42.410667 0 0 1 512 768z m0-426.666667a42.325333 42.325333 0 1 1-0.085333-84.650666A42.325333 42.325333 0 0 1 512 341.333333z m42.325333-42.666666v0z" fill="currentColor"></path></symbol>','<symbol id="svg-icon-theme" viewBox="0 0 1024 1024"><path fill="currentColor" d="M42.666667 512C42.666667 251.733333 251.733333 42.666667 512 42.666667s469.333333 187.733333 469.333333 422.4c0 72.533333-29.866667 145.066667-81.066666 200.533333-51.2 51.2-123.733333 81.066667-200.533334 81.066667h-85.333333c-12.8 0-25.6 12.8-29.866667 25.6 0 8.533333 4.266667 17.066667 8.533334 21.333333 21.333333 21.333333 29.866667 46.933333 29.866666 76.8 0 64-51.2 110.933333-115.2 115.2C251.733333 981.333333 42.666667 772.266667 42.666667 512z m85.333333 0c0 213.333333 170.666667 384 384 384 17.066667 0 29.866667-12.8 29.866667-29.866667 0-4.266667 0-8.533333-4.266667-12.8l-4.266667-4.266666c-17.066667-21.333333-25.6-46.933333-29.866666-76.8 0-64 51.2-110.933333 115.2-110.933334h85.333333c51.2 0 102.4-21.333333 136.533333-55.466666 38.4-38.4 55.466667-85.333333 55.466667-136.533334 0-187.733333-170.666667-341.333333-384-341.333333s-384 170.666667-384 384z m593.066667 21.333333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-17.066667 0-38.4-8.533333-51.2-21.333334z m-520.533334 0c-21.333333-21.333333-25.6-51.2-17.066666-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666667 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-21.333333 0-38.4-8.533333-51.2-21.333334z m379.733334-187.733333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533333 72.533334 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266666-21.333333 0-38.4-8.533333-51.2-21.333333zM341.333333 345.6c-17.066667-21.333333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533334 72.533334 0 29.866667-17.066667 55.466667-42.666667 64l-29.866667 4.266666c-17.066667 0-34.133333-8.533333-51.2-21.333333z"></path></symbol>','<symbol id="svg-icon-copy" viewBox="0 0 16 16"><path d="M7 5h2a3 3 0 0 0 3-3 2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2 3 3 0 0 0 3 3zM6 2a2 2 0 1 1 4 0 1 1 0 0 1-1 1H7a1 1 0 0 1-1-1z" fill-rule="evenodd"></path></symbol>'];function At(e){var t=function(){return a({theme:"ayu-dark"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r=n.querySelectorAll('code[class*="language-"]');return!!r.length&&(e.scripts.push({id:"shiki-ext",code:xt,module:!0}),(t=e.symbols).push.apply(t,Lt),St(r,this.config).then(function(){return e}))}}]}if("undefined"==typeof window)throw Error("The showdown zenuml extension can only be used in browser environment!");var jt="zenuml";if(void 0===Ct)var Ct=window.zenuml||void 0;function Pt(){return!(void 0===Ct||!Ct)}var zt=!1;function Mt(e,t){if(Pt()){var n,r,i=t.id,a=t.className,o=t.data,s=t.element.parentNode,l=t.element,c=null!==(n=null===(r=t.lang)||void 0===r?void 0:r.options)&&void 0!==n?n:{},u=l.ownerDocument.createElement("div");return u.id=i,l.style.cssText.length>0&&(u.style.cssText=l.style.cssText),u.className=a,u.classList.remove("zenuml"),c.theme||(c.theme="theme-blue"),new Ct(u).render(o,c),s.replaceWith(u),void e(!0)}setTimeout(function(){Mt(e,t)},10)}function Tt(e){return new Promise(function(t){var n=F.createElementMeta(jt,e);if(!n||!n.data)return t(!1);Mt(t,n)})}function Ot(e,t){return function(){var e=Pt();if("undefined"!=typeof window){if(zt)return e;if(!e)return zt=!0,I.loadScript(jt).then(function(e){Ct=F.interopDefault(window[e])}).catch(function(e){}),e}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(Tt(e))}),Promise.all(n).then(function(){t(!0)})})}if("undefined"==typeof window)throw Error("The showdown plotly extension can only be used in browser environment!");var Rt="Plotly";if(void 0===Nt)var Nt=window.Plotly||void 0;function Bt(){return!(void 0===Nt||!Nt)}var It=!1;function Dt(e,t,n){if(Bt()){var r=t.id,i=t.className,a=t.data,o=t.element.parentNode,s=t.element,l=s.ownerDocument.createElement("div");return l.id=r,s.style.cssText.length>0&&(l.style.cssText=s.style.cssText),l.className=i,o.replaceWith(l),n.push({id:r,code:"(function(){\n try {\n const it = document.querySelector('#".concat(r,"');\n if (!it) return;\n ").concat(a,"\n }catch(e){\n console.error('plotly script run failed: ', e.toString());\n }\n})();"),host:l}),void e(!0)}setTimeout(function(){Dt(e,t,n)},10)}function qt(e,t){return new Promise(function(n){var r=F.createElementMeta(Rt,e);if(!r||!r.data)return n(!1);Dt(n,r,t)})}function Ht(e,t){!function(){var e=Bt();if("undefined"!=typeof window){if(It)return e;if(!e)return It=!0,I.loadScript(Rt).then(function(e){Nt=F.interopDefault(window[e])}).catch(function(e){}),e}}();var n={inner:[]};return t.push(n),new Promise(function(t){var r=[];e.forEach(function(e){r.push(qt(e,n.inner))}),Promise.all(r).then(function(){t(!0)})})}var Ut={},Ft={};function Zt(e,t){e.forEach(function(e){!function(e,t){var n,r=F.createElementMeta("Gnuplot",e,!0);if(r&&r.data){var i=Ft[r.hash];if(i)e.parentNode.replaceWith(i);else{t.elements=null!==(n=t.elements)&&void 0!==n?n:[];var a={id:r.id};r.lang&&(a.lang=r.lang),r.hash&&(a.hash=r.hash),t.elements.push(a)}}}(e,t)})}function $t(){if(window&&"Gnuplot"in window){var e=window.Gnuplot;e.elements&&Array.isArray(e.elements)&&0!==e.elements.length&&"function"==typeof e.svgRender&&e.svgRender&&(e.elements.forEach(function(t){var n=t.hash,r=document.querySelector("#".concat(t.id));if(r){var i=Ft[n];if(i)r.parentNode.replaceWith(i);else try{var a="set terminal svg\n".concat(r.textContent.trim(),"\n");e.svgRender(r.id,a).then(function(e){(i=document.createElement("div")).id=r.id,i.className=r.className,r.style.cssText.length>0&&(i.style=r.style.cssText),i.innerHTML=e,r.parentNode.replaceWith(i),Ft[n]=i}).catch(function(e){})}catch(e){}}}),delete e.elements)}}function Wt(e){var t=function(){return a({svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r,i=n.querySelectorAll("code.gnuplot.language-gnuplot");return!!i.length&&(window&&(window.Gnuplot=Ut),Ut.svgRender=this.config.svgRender,e.scripts.push({id:"showdown-gnuplot",code:$t,once:!0}),Zt(i,Ut),(null===(t=Ut.elements)||void 0===t?void 0:t.length)>0&&(r=n,Object.keys(Ft).forEach(function(e){r.querySelector('[id*="-'.concat(e,'"]'))||delete Ft[e]})),e)}}]}if("undefined"==typeof window)throw Error("The showdown MathJax extension can only be used in browser environment!");if(void 0===Vt)var Vt=window.MathJax||void 0;var Gt=0;function Yt(){return!(void 0===Vt||!Vt)}var Jt=!1;function Kt(e){var t=Yt();if("undefined"!=typeof window){if(Jt)return t;t||(Jt=!0,window.MathJax={tex:{inlineMath:{"[+]":[["\\$","\\$"]]},displayMath:{"[+]":[["@@","@@"]]}},svg:{fontCache:"global"},startup:{pageReady:function(){return window.MathJax.startup.defaultPageReady().then(function(){})}}},e?F.deepMerge(window.MathJax,e):window.MathJaxConfig&&F.deepMerge(window.MathJax,window.MathJaxConfig),I.loadScript("MathJax").then(function(e){Vt=F.interopDefault(window[e])}).catch(function(e){}))}return t}function Xt(e,t){if(Yt()){var n,r=t.id,i=t.className,a=null!==(n=t.cssLink)&&void 0!==n?n:"",o=a.length>0?" css-mathjax":"",s=t.element,l=s.ownerDocument;Vt.tex2svgPromise(t.data,t.options).then(function(t){var n=l.createElement("div");n.id=r,n.className="".concat(i).concat(o),a.length>0&&(n.dataset.css=a),s.style.cssText.length>0&&(n.style=s.style.cssText),n.appendChild(t),s.parentNode.replaceWith(n),--Gt||Vt.startup.document.clear(),e(!0)}).catch(function(t){--Gt||Vt.startup.document.clear(),e(!1)})}else setTimeout(function(){Xt(e,t)},10)}function Qt(e,t){return new Promise(function(n){var r,i=F.createElementMeta("MathJax",e);if(!i||!i.data)return n(!1);i.options=Object.assign(null!=t?t:{},null!==(r=i.options)&&void 0!==r?r:{}),Xt(n,i)})}var en=function(){var e=a({engine:"mathjax",delimiters:[],mathJax:{},conversion:{}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});function t(e,t){return!(!e||"object"!==d(e)||!e.hasOwnProperty(t))}function n(e,n,r){return!!(t(e,n)&&t(e[n],r)&&(i=e[n][r],Array.isArray(i)&&i.length))&&(e[n][r].forEach(function(e){e.display="inline"!==r,e.asciimath=!0}),e[n][r]);var i}return Array.isArray(e.delimiters)?e.delimiters.length||(e.delimiters=[{left:"@@",right:"@@",display:!0,asciimath:!0},{left:"\\$",right:"\\$",display:!1,asciimath:!0}]):e.delimiters=[].concat(n(e.delimiters,"asciimath","display")||[{left:"@@",right:"@@",display:!0,asciimath:!0}]).concat(n(e.delimiters,"asciimath","inline")||[{left:"\\$",right:"\\$",display:!1,asciimath:!0}]),e};function tn(e){if(Yt()){var t=document.querySelector(".showdowns");t&&(window.MathJax.startup.document&&window.MathJax.startup.document.clearMathItemsWithin([t]),window.MathJax.texReset(),window.MathJax.typesetPromise().then(function(){window.MathJax.startup.document.clear(),"function"==typeof e&&e&&e(window.MathJax)}).catch(function(e){}))}else setTimeout(function(){tn(e)},10)}function nn(e){var t=en(e);return[{type:"output",config:t,filter:function(e){var n,r,i=e.wrapper;if(!i)return!1;this.config.mathJax=null!==(n=this.config.mathJax)&&void 0!==n?n:{};var a=this.config.mathJax;if((null===(r=t.delimiters)||void 0===r?void 0:r.length)>0){var o,s,l,c,u={inlineMath:{},displayMath:{}};t.delimiters.forEach(function(e){var t,n;e.display?u.displayMath["[+]"]=(null!==(t=u.displayMath["[+]"])&&void 0!==t?t:[]).concat([[e.left,e.right]]):u.inlineMath["[+]"]=(null!==(n=u.inlineMath["[+]"])&&void 0!==n?n:[]).concat([[e.left,e.right]])}),a.tex||(a.tex={inlineMath:{},displayMath:{}}),a.tex.inlineMath=null!==(o=a.tex.inlineMath)&&void 0!==o?o:{},a.tex.displayMath=null!==(s=a.tex.displayMath)&&void 0!==s?s:{},0==(null!==(l=a.tex.inlineMath["[+]"])&&void 0!==l?l:[]).length&&(a.tex.inlineMath["[+]"]=u.inlineMath["[+]"]),0==(null!==(c=a.tex.displayMath["[+]"])&&void 0!==c?c:[]).length&&(a.tex.displayMath["[+]"]=u.displayMath["[+]"])}var d=!1;if("mathjax"===this.config.engine){var h=i.querySelectorAll(":not(code):not(pre)");if(h.length>0)for(var f=0;h.length>f;f++){if(h[f].textContent.match(/(?:@@|\$\$|\\\$|\\\(|\\\[|\\begin\{.*?})/)){e.scripts.push({id:"showdown-mathjax",code:tn,once:!0}),Kt(this.config.mathJax),d=!0;break}}}var p=i.querySelectorAll("code.mathjax.language-mathjax,code.math.language-math");return p.length?function(e,t){return Gt=e.length,Kt(t.mathJax),new Promise(function(n){var r=[];e.forEach(function(e){r.push(Qt(e,t.conversion))}),Promise.all(r).then(function(){n(!0)})})}(p,this.config).then(function(){return e}):!!d&&e}}]}var rn="echarts";if("undefined"==typeof window)throw Error("The showdown echarts extension can only be used in browser environment!");if(void 0===an)var an=window.echarts||void 0;function on(){return!!an}var sn=!1;function ln(e,t){if(on()){var n=t.id,r=t.container,i=t.className,a=t.element.parentNode;t.lang?(t.lang.width||(t.lang.width="400px"),t.lang.height||(t.lang.height="300px")):t.lang={width:"400px",height:"300px"};var o="width:".concat(t.lang.width,"; height:").concat(t.lang.height,";");return a.outerHTML='<div id="'.concat(r,'" class="').concat(i,'" style="').concat(o,'"><div id="').concat(n,'" style="width:100%;height:100%;display:inline-block"></div></div>'),e(!0)}setTimeout(function(){ln(e,t)},20)}function cn(e,t,n){var r=F.createElementMeta(rn,e);if(!r||!r.data)return Promise.resolve(!1);n=a(a({},n),{},{ssr:!1,width:r.lang.width,height:r.lang.height});var i={id:r.container,code:function(e,t){var n=function(){var n=window.eval,r=document.getElementById(e.id);if(r){var i=an.getInstanceByDom(r);if(i||(r.innerHTML=""),i=an.init(r,null,t),e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()){var a=n("(function(){".concat(e.data,"; return option;})();"));i.setOption(a)}else{var o=JSON.parse(e.data);i.setOption(o)}}};return n.toString=function(){return e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()?"function(){\n const config = ".concat(JSON.stringify(t),";\n let el = document.getElementById('").concat(e.id,"');\n if (el) {\n let chart = echarts.getInstanceByDom(el);\n if (!chart) {\n el.innerHTML = '';\n }\n chart = echarts.init(el, null, config);\n ").concat(e.data,"\n chart.setOption(option);\n }\n }"):"function(){\n const config = ".concat(JSON.stringify(t),";\n let el = document.getElementById('").concat(e.id,"');\n if (el) {\n let chart = echarts.getInstanceByDom(el);\n if (!chart) {\n el.innerHTML = '';\n }\n chart = echarts.init(el, null, config);\n const option = ").concat(e.data,";\n chart.setOption(option);\n }\n }")},n}(r,n),host:"#".concat(r.container)};return t.push(i),new Promise(function(e){ln(e,r)})}function un(e,t,n){var r={outer:[{name:rn,src:I.getSrc(!1,rn,"jsdelivr")}],inner:[]};return t.push(r),function(){var e=on();if("undefined"!=typeof window){if(sn)return e;e||(sn=!0,I.loadScript(rn).then(function(e){an=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(t){var i=[];e.forEach(function(e){i.push(cn(e,r.inner,n))}),Promise.all(i).then(function(){t(!0)})})}function dn(e){var t=function(){return a({renderer:"svg",ssr:!1,tooltip:{show:!0},animation:!0,useDirtyRect:!1},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.echarts.language-echarts");return!!n.length&&un(n,e.scripts,this.config).then(function(){return e})}}]}var hn,fn={};var pn,gn=(hn||(hn=1,pn=fn,function(){var e=pn||this||window;e.default=e;var t="http://www.w3.org/2000/xmlns/",n="http://www.w3.org/2000/svg",r=/url\(["']?(.+?)["']?\)/,i={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},a=function(e){return e instanceof HTMLElement||e instanceof SVGElement},o=function(e){if(!a(e))throw Error("an HTMLElement or SVGElement is required; got "+e)},s=function(e){return new Promise(function(t,n){a(e)?t(e):n(Error("an HTMLElement or SVGElement is required; got "+e))})},l=function(e,t,n){var r=e.viewBox&&e.viewBox.baseVal&&e.viewBox.baseVal[n]||null!==t.getAttribute(n)&&!t.getAttribute(n).match(/%$/)&&parseInt(t.getAttribute(n))||e.getBoundingClientRect()[n]||parseInt(t.style[n])||parseInt(window.getComputedStyle(e).getPropertyValue(n));return null==r||isNaN(parseFloat(r))?0:r},c=function(e){for(var t=window.atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),i=new Uint8Array(r),a=0;t.length>a;a++)i[a]=t.charCodeAt(a);return new Blob([r],{type:n})},u=function(e){return Promise.all(Array.from(e.querySelectorAll("image")).map(function(e){var t,n=e.getAttributeNS("http://www.w3.org/1999/xlink","href")||e.getAttribute("href");return n?((t=n)&&0===t.lastIndexOf("http",0)&&-1===t.lastIndexOf(window.location.host)&&(n+=(-1===n.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise(function(t,r){var i=document.createElement("canvas"),a=new Image;a.crossOrigin="anonymous",a.src=n,a.onerror=function(){return r(Error("Could not load "+n))},a.onload=function(){i.width=a.width,i.height=a.height,i.getContext("2d").drawImage(a,0,0),e.setAttributeNS("http://www.w3.org/1999/xlink","href",i.toDataURL("image/png")),t(!0)}})):Promise.resolve(null)}))},d={},h=function(e){return Promise.all(e.map(function(e){return new Promise(function(t,n){if(d[e.url])return t(d[e.url]);var i=new XMLHttpRequest;i.addEventListener("load",function(){var n=function(e){for(var t="",n=new Uint8Array(e),r=0;n.byteLength>r;r++)t+=String.fromCharCode(n[r]);return window.btoa(t)}(i.response),a=e.text.replace(r,'url("data:'+e.format+";base64,"+n+'")')+"\n";d[e.url]=a,t(a)}),i.addEventListener("error",function(n){d[e.url]=null,t(null)}),i.addEventListener("abort",function(e){t(null)}),i.open("GET",e.url),i.responseType="arraybuffer",i.send()})})).then(function(e){return e.filter(function(e){return e}).join("")})},f=null,p=function(e,t){var n=t||{},a=n.selectorRemap,o=n.modifyStyle,s=n.fonts,l=n.excludeUnusedCss,c=n.modifyCss||function(e,t){return(a?a(e):e)+"{"+(o?o(t):t)+"}\n"},u=[],d=void 0===s,p=s||[];return(f||(f=Array.from(document.styleSheets).map(function(e){try{return{rules:e.cssRules,href:e.href}}catch(e){return{}}}))).forEach(function(t){var n=t.rules,a=t.href;n&&Array.from(n).forEach(function(t){if(void 0!==t.style)if(function(e,t){if(t)try{return e.querySelector(t)||e.parentNode&&e.parentNode.querySelector(t)}catch(e){}}(e,t.selectorText))u.push(c(t.selectorText,t.style.cssText));else if(d&&t.cssText.match(/^@font-face/)){var n=function(e,t){var n=e.cssText.match(r),a=n&&n[1]||"";if(a&&!a.match(/^data:/)&&"about:blank"!==a){var o,s,l=a.startsWith("../")?t+"/../"+a:a.startsWith("./")?t+"/."+a:a;return{text:e.cssText,format:(o=l,s=Object.keys(i).filter(function(e){return o.indexOf("."+e)>0}).map(function(e){return i[e]}),s?s[0]:"application/octet-stream"),url:l}}}(t,a);n&&p.push(n)}else l||u.push(t.cssText)})}),h(p).then(function(e){return u.join("\n")+e})},g=function(){if(!navigator.msSaveOrOpenBlob&&!("download"in document.createElement("a")))return{popup:window.open()}};e.prepareSvg=function(e,r,i){o(e);var a=r||{},s=a.left,c=void 0===s?0:s,d=a.top,h=void 0===d?0:d,f=a.width,g=a.height,m=a.scale,v=void 0===m?1:m,w=a.responsive,b=void 0!==w&&w,_=a.excludeCss,y=void 0!==_&&_,k=a.autosize;return u(e).then(function(){var a=e.cloneNode(!0);a.style.backgroundColor=(r||{}).backgroundColor||e.style.backgroundColor;var o=function(e,t,n,r){if("svg"===e.tagName)return{width:n||l(e,t,"width"),height:r||l(e,t,"height")};if(e.getBBox){var i=e.getBBox();return{width:i.x+i.width,height:i.y+i.height}}}(e,a,f,g),s=o.width,u=o.height;if("svg"!==e.tagName){if(!e.getBBox)return;null!=a.getAttribute("transform")&&a.setAttribute("transform",a.getAttribute("transform").replace(/translate\(.*?\)/,""));var d=document.createElementNS("http://www.w3.org/2000/svg","svg");d.appendChild(a),a=d}if(a.setAttribute("version","1.1"),a.setAttribute("viewBox",[c,h,s,u].join(" ")),a.getAttribute("xmlns")||a.setAttributeNS(t,"xmlns",n),a.getAttribute("xmlns:xlink")||a.setAttributeNS(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),b?(a.removeAttribute("width"),a.removeAttribute("height"),a.setAttribute("preserveAspectRatio","xMinYMin meet")):(a.setAttribute("width",k?"100%":s*v),a.setAttribute("height",u*v)),Array.from(a.querySelectorAll("foreignObject > *")).forEach(function(e){e.setAttributeNS(t,"xmlns","svg"===e.tagName?n:"http://www.w3.org/1999/xhtml")}),!y)return p(e,r).then(function(e){var t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML="<![CDATA[\n"+e+"\n]]>";var n=document.createElementNS("http://www.w3.org/2000/svg","defs");n.appendChild(t),a.insertBefore(n,a.firstChild);var r=document.createElement("div");r.appendChild(a);var o=r.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if("function"!=typeof i)return{src:o,width:s,height:u};i(o,s,u)});var m=document.createElement("div");m.appendChild(a);var w=m.innerHTML;if("function"!=typeof i)return{src:w,width:s,height:u};i(w,s,u)})},e.svgAsDataUri=function(t,n,r){return o(t),e.prepareSvg(t,n).then(function(e){var t=e.width,n=e.height,i="data:image/svg+xml;base64,"+window.btoa(decodeURIComponent(encodeURIComponent('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp " ">]>'+e.src).replace(/%([0-9A-F]{2})/g,function(e,t){var n=String.fromCharCode("0x"+t);return"%"===n?"%25":n})));return"function"==typeof r&&r(i,t,n),i})},e.svgAsPngUri=function(t,n,r){o(t);var i=n||{},a=i.encoderType,s=void 0===a?"image/png":a,l=i.encoderOptions,c=void 0===l?.8:l,u=i.canvg,d=function(e){var t=e.src,n=e.width,i=e.height,a=document.createElement("canvas"),o=a.getContext("2d"),l=window.devicePixelRatio||1;a.width=n*l,a.height=i*l,a.style.width=a.width+"px",a.style.height=a.height+"px",o.setTransform(l,0,0,l,0,0),u?u(a,t):o.drawImage(t,0,0);var d=void 0;try{d=a.toDataURL(s,c)}catch(e){if("undefined"!=typeof SecurityError&&e instanceof SecurityError||"SecurityError"===e.name)return;throw e}return"function"==typeof r&&r(d,a.width,a.height),Promise.resolve(d)};return u?e.prepareSvg(t,n).then(d):e.svgAsDataUri(t,n).then(function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(d({src:r,width:r.width,height:r.height}))},r.onerror=function(){n("There was an error loading the data URI as an image on the following SVG\n"+window.atob(e.slice(26))+"Open the following link to see browser's diagnosis\n"+e)},r.src=e})})},e.download=function(e,t,n){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(c(t),e);else{var r=document.createElement("a");if("download"in r){r.download=e,r.style.display="none",document.body.appendChild(r);try{var i=c(t),a=URL.createObjectURL(i);r.href=a,r.onclick=function(){return requestAnimationFrame(function(){return URL.revokeObjectURL(a)})}}catch(e){r.href=t}r.click(),document.body.removeChild(r)}else n&&n.popup&&(n.popup.document.title=e,n.popup.location.replace(t))}},e.saveSvg=function(t,n,r){var i=g();return s(t).then(function(t){return e.svgAsDataUri(t,r||{})}).then(function(t){return e.download(n,t,i)})},e.saveSvgAsPng=function(t,n,r){var i=g();return s(t).then(function(t){return e.svgAsPngUri(t,r||{})}).then(function(t){return e.download(n,t,i)})}}()),fn),mn="mermaid";if("undefined"==typeof window)throw Error("The showdown mermaid extension can only be used in browser environment!");if(void 0===vn)var vn=window.mermaid||void 0;function wn(){return!(void 0===vn||!vn)}var bn=!1;function _n(e,n,r){var i=e.ownerDocument,a=i.createElement("details");a.setAttribute("title",ae.getLangString("export-actions-title","Click to view actions"));var s=i.createElement("summary");s.innerHTML='<svg viewBox="0 0 16 16" fill="currentColor" stroke="none" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">\n <circle r="2" cy="8" cx="2"></circle>\n <circle r="2" cy="8" cx="8"></circle>\n <circle r="2" cy="8" cx="14"></circle>\n</svg>',a.append(s);document.addEventListener("click",function(e){a.contains(e.target)||a.removeAttribute("open")});var l=i.createElement("div");l.classList.add("diagram-actions");for(var c=function(){var e=d[u],a=ae.getLangString("export-".concat(e,"-action"),"Save as ".concat(e.toUpperCase())),s=i.createElement("a");s.text=a,s.href="#",s.target="_blank",s.download="".concat(r,".").concat(e),s.addEventListener("mousedown",function(){var r,i=(r=o().m(function t(r){var i;return o().w(function(t){for(;;)switch(t.n){case 0:if(r.preventDefault(),"svg"!==e){t.n=2;break}return t.n=1,gn.svgAsDataUri(n,{autosize:!0,encoderOptions:1,excludeCss:!0});case 1:i=t.v,t.n=4;break;case 2:return t.n=3,gn.svgAsPngUri(n,{encoderOptions:1,excludeCss:!0,backgroundColor:"#fff"});case 3:i=t.v;case 4:this.href=i;case 5:return t.a(2)}},t,this)}),function(){var e=this,n=arguments;return new Promise(function(i,a){var o=r.apply(e,n);function s(e){t(o,i,a,s,l,"next",e)}function l(e){t(o,i,a,s,l,"throw",e)}s(void 0)})});return function(e){return i.apply(this,arguments)}}()),l.append(s)},u=0,d=["svg","png"];d.length>u;u++)c();a.append(l),e.appendChild(a)}function yn(e,t){if(wn()){var n=t.id,r=t.className,i=t.element.parentNode,a=t.element,o=a.ownerDocument;vn.render(n,t.data).then(function(t){var s=a.style.cssText,l=o.createElement("div");l.classList.add("diagram-container","has-actions");var c=o.createElement("div");r&&(c.className=r),c.classList.add("diagram-wrapper"),s.length>0&&c.setAttribute("style",s),c.innerHTML=t.svg,l.appendChild(c),_n(l,c.querySelector("svg"),n),i.replaceWith(l),e(!0)}).catch(function(t){e(!1)})}else setTimeout(function(){yn(e,t)},10)}function kn(e){return new Promise(function(t){var n=F.createElementMeta(mn,e);if(!n||!n.data)return t(!1);yn(t,n)})}function xn(e,t){return function(e){var t=wn();if("undefined"!=typeof window){if(bn)return t;if(!t)return bn=!0,I.loadScript(mn).then(function(t){if("string"==typeof t)(vn=F.interopDefault(window[t])).initialize(e);else if(Array.isArray(t)&&t.length>0){var n=[],r=[];t.forEach(function(e){var t=F.interopDefault(window[e]);Array.isArray(t)?r.push.apply(r,c(t)):n.push(t)});var i=n[0];n.shift(),r.length>0&&i.registerLayoutLoaders(r),n.length>0?i.registerExternalDiagrams(n).then(function(){(vn=i).initialize(e)}):(vn=i).initialize(e)}}),t}vn.initialize(e)}(t),new Promise(function(t){var n=[];e.forEach(function(e){n.push(kn(e))}),Promise.all(n).then(function(){t(!0)})})}function En(e){var t=function(){return a({theme:"forest",logLevel:4,startOnLoad:!1,arrowMarkerAbsolute:!1,flowchart:{curve:"basis"},gantt:{axisFormat:"%m/%d/%Y"},sequence:{actorMargin:50}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.mermaid.language-mermaid");return!!n.length&&xn(n,this.config).then(function(){return e})}}]}var Sn="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Ln=[],An=[],jn="undefined"!=typeof Uint8Array?Uint8Array:Array,Cn=!1;function Pn(){Cn=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;64>t;++t)Ln[t]=e[t],An[e.charCodeAt(t)]=t;An[45]=62,An[95]=63}function zn(e){return Ln[e>>18&63]+Ln[e>>12&63]+Ln[e>>6&63]+Ln[63&e]}function Mn(e,t,n){for(var r=[],i=t;n>i;i+=3)r.push(zn((e[i]<<16)+(e[i+1]<<8)+e[i+2]));return r.join("")}function Tn(e){var t;Cn||Pn();for(var n=e.length,r=n%3,i="",a=[],o=16383,s=0,l=n-r;l>s;s+=o)a.push(Mn(e,s,s+o>l?l:s+o));return 1===r?(i+=Ln[(t=e[n-1])>>2],i+=Ln[t<<4&63],i+="=="):2===r&&(i+=Ln[(t=(e[n-2]<<8)+e[n-1])>>10],i+=Ln[t>>4&63],i+=Ln[t<<2&63],i+="="),a.push(i),a.join("")}function On(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),a-=c}return(f?-1:1)*o*Math.pow(2,a-r)}function Rn(e,t,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,h=23===i?5.960464477539062e-8:0,f=r?0:a-1,p=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=u):(1>t*(l=Math.pow(2,-(o=Math.floor(Math.log(t)/Math.LN2))))&&(o--,l*=2),2>(t+=1>o+d?h*Math.pow(2,1-d):h/l)*l||(o++,l/=2),u>o+d?1>o+d?(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0):(s=(t*l-1)*Math.pow(2,i),o+=d):(s=0,o=u));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[n+f]=255&o,f+=p,o/=256,c-=8);e[n+f-p]|=128*g}var Nn={}.toString,Bn=Array.isArray||function(e){return"[object Array]"==Nn.call(e)};function In(){return qn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Dn(e,t){if(In()<t)throw new RangeError("Invalid typed array length");return qn.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=qn.prototype:(null===e&&(e=new qn(t)),e.length=t),e}function qn(e,t,n){if(!(qn.TYPED_ARRAY_SUPPORT||this instanceof qn))return new qn(e,t,n);if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return Fn(this,e)}return Hn(this,e,t,n)}function Hn(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(0>n||n>t.byteLength)throw new RangeError("'offset' is out of bounds");if(n+(r||0)>t.byteLength)throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);qn.TYPED_ARRAY_SUPPORT?(e=t).__proto__=qn.prototype:e=Zn(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!qn.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Vn(t,n);e=Dn(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(Wn(t)){var n=0|$n(t.length);return 0===(e=Dn(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Dn(e,0):Zn(e,t);if("Buffer"===t.type&&Bn(t.data))return Zn(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Un(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(0>e)throw new RangeError('"size" argument must not be negative')}function Fn(e,t){if(Un(t),e=Dn(e,0>t?0:0|$n(t)),!qn.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;++n)e[n]=0;return e}function Zn(e,t){var n=0>t.length?0:0|$n(t.length);e=Dn(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function $n(e){if(e>=In())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+In().toString(16)+" bytes");return 0|e}function Wn(e){return!(null==e||!e._isBuffer)}function Vn(e,t){if(Wn(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return _r(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return yr(e).length;default:if(r)return _r(e).length;t=(""+t).toLowerCase(),r=!0}}function Gn(e,t,n){var r=!1;if((void 0===t||0>t)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if((t>>>=0)>=(n>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return cr(this,t,n);case"utf8":case"utf-8":return ar(this,t,n);case"ascii":return sr(this,t,n);case"latin1":case"binary":return lr(this,t,n);case"base64":return ir(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ur(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Yn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Jn(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),isNaN(n=+n)&&(n=i?0:e.length-1),0>n&&(n=e.length+n),e.length>n){if(0>n){if(!i)return-1;n=0}}else{if(i)return-1;n=e.length-1}if("string"==typeof t&&(t=qn.from(t,r)),Wn(t))return 0===t.length?-1:Kn(e,t,n,r,i);if("number"==typeof t)return t&=255,qn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Kn(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Kn(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=(r+"").toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(2>e.length||2>t.length)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=n;s>a;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else-1!==u&&(a-=a-u),u=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var d=!0,h=0;l>h;h++)if(c(e,a+h)!==c(t,h)){d=!1;break}if(d)return a}return-1}function Xn(e,t,n,r){var i=e.length-(n=Number(n)||0);r?(r=Number(r))>i&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;r>o;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function Qn(e,t,n,r){return kr(_r(t,e.length-n),e,n,r)}function er(e,t,n,r){return kr(function(e){for(var t=[],n=0;e.length>n;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function tr(e,t,n,r){return er(e,t,n,r)}function nr(e,t,n,r){return kr(yr(t),e,n,r)}function rr(e,t,n,r){return kr(function(e,t){for(var n,r,i=[],a=0;e.length>a&&0<=(t-=2);++a)r=(n=e.charCodeAt(a))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function ir(e,t,n){return Tn(0===t&&n===e.length?e:e.slice(t,n))}function ar(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var a,o,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(n>=i+d)switch(d){case 1:128>c&&(u=c);break;case 2:128==(192&(a=e[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:o=e[i+2],128==(192&(a=e[i+1]))&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(55296>l||l>57343)&&(u=l);break;case 4:o=e[i+2],s=e[i+3],128==(192&(a=e[i+1]))&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&1114112>l&&(u=l)}null===u?(u=65533,d=1):u>65535&&(r.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(or>=t)return String.fromCharCode.apply(String,e);var n="",r=0;for(;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=or));return n}(r)}qn.TYPED_ARRAY_SUPPORT=void 0===Sn.TYPED_ARRAY_SUPPORT||Sn.TYPED_ARRAY_SUPPORT,In(),qn.poolSize=8192,qn._augment=function(e){return e.__proto__=qn.prototype,e},qn.from=function(e,t,n){return Hn(null,e,t,n)},qn.TYPED_ARRAY_SUPPORT&&(qn.prototype.__proto__=Uint8Array.prototype,qn.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Symbol),qn.alloc=function(e,t,n){return function(e,t,n,r){return Un(t),t>0&&void 0!==n?"string"==typeof r?Dn(e,t).fill(n,r):Dn(e,t).fill(n):Dn(e,t)}(null,e,t,n)},qn.allocUnsafe=function(e){return Fn(null,e)},qn.allocUnsafeSlow=function(e){return Fn(null,e)},qn.isBuffer=xr,qn.compare=function(e,t){if(!Wn(e)||!Wn(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);a>i;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return r>n?-1:n>r?1:0},qn.isEncoding=function(e){switch((e+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},qn.concat=function(e,t){if(!Bn(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return qn.alloc(0);var n;if(void 0===t)for(t=0,n=0;e.length>n;++n)t+=e[n].length;var r=qn.allocUnsafe(t),i=0;for(n=0;e.length>n;++n){var a=e[n];if(!Wn(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},qn.byteLength=Vn,qn.prototype._isBuffer=!0,qn.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;e>t;t+=2)Yn(this,t,t+1);return this},qn.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;e>t;t+=4)Yn(this,t,t+3),Yn(this,t+1,t+2);return this},qn.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;e>t;t+=8)Yn(this,t,t+7),Yn(this,t+1,t+6),Yn(this,t+2,t+5),Yn(this,t+3,t+4);return this},qn.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?ar(this,0,e):Gn.apply(this,arguments)},qn.prototype.equals=function(e){if(!Wn(e))throw new TypeError("Argument must be a Buffer");return this===e||0===qn.compare(this,e)},qn.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},qn.prototype.compare=function(e,t,n,r,i){if(!Wn(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),0>t||n>e.length||0>r||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),u=0;s>u;++u)if(l[u]!==c[u]){a=l[u],o=c[u];break}return o>a?-1:a>o?1:0},qn.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},qn.prototype.indexOf=function(e,t,n){return Jn(this,e,t,n,!0)},qn.prototype.lastIndexOf=function(e,t,n){return Jn(this,e,t,n,!1)},qn.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return Xn(this,e,t,n);case"utf8":case"utf-8":return Qn(this,e,t,n);case"ascii":return er(this,e,t,n);case"latin1":case"binary":return tr(this,e,t,n);case"base64":return nr(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rr(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},qn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var or=4096;function sr(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;++i)r+=String.fromCharCode(127&e[i]);return r}function lr(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;++i)r+=String.fromCharCode(e[i]);return r}function cr(e,t,n){var r=e.length;t&&t>=0||(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",a=t;n>a;++a)i+=br(e[a]);return i}function ur(e,t,n){for(var r=e.slice(t,n),i="",a=0;r.length>a;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}function dr(e,t,n){if(e%1!=0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function hr(e,t,n,r,i,a){if(!Wn(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||a>t)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function fr(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);a>i;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function pr(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);a>i;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function gr(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function mr(e,t,n,r,i){return i||gr(e,0,n,4),Rn(e,t,n,r,23,4),n+4}function vr(e,t,n,r,i){return i||gr(e,0,n,8),Rn(e,t,n,r,52,8),n+8}qn.prototype.slice=function(e,t){var n,r=this.length;if(0>(e=~~e)?0>(e+=r)&&(e=0):e>r&&(e=r),0>(t=void 0===t?r:~~t)?0>(t+=r)&&(t=0):t>r&&(t=r),e>t&&(t=e),qn.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=qn.prototype;else{var i=t-e;n=new qn(i,void 0);for(var a=0;i>a;++a)n[a]=this[a+e]}return n},qn.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||dr(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},qn.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||dr(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},qn.prototype.readUInt8=function(e,t){return t||dr(e,1,this.length),this[e]},qn.prototype.readUInt16LE=function(e,t){return t||dr(e,2,this.length),this[e]|this[e+1]<<8},qn.prototype.readUInt16BE=function(e,t){return t||dr(e,2,this.length),this[e]<<8|this[e+1]},qn.prototype.readUInt32LE=function(e,t){return t||dr(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},qn.prototype.readUInt32BE=function(e,t){return t||dr(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},qn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||dr(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return(i*=128)>r||(r-=Math.pow(2,8*t)),r},qn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||dr(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return(i*=128)>a||(a-=Math.pow(2,8*t)),a},qn.prototype.readInt8=function(e,t){return t||dr(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},qn.prototype.readInt16LE=function(e,t){t||dr(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},qn.prototype.readInt16BE=function(e,t){t||dr(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},qn.prototype.readInt32LE=function(e,t){return t||dr(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},qn.prototype.readInt32BE=function(e,t){return t||dr(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},qn.prototype.readFloatLE=function(e,t){return t||dr(e,4,this.length),On(this,e,!0,23,4)},qn.prototype.readFloatBE=function(e,t){return t||dr(e,4,this.length),On(this,e,!1,23,4)},qn.prototype.readDoubleLE=function(e,t){return t||dr(e,8,this.length),On(this,e,!0,52,8)},qn.prototype.readDoubleBE=function(e,t){return t||dr(e,8,this.length),On(this,e,!1,52,8)},qn.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||hr(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},qn.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||hr(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},qn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,1,255,0),qn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},qn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,2,65535,0),qn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):fr(this,e,t,!0),t+2},qn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,2,65535,0),qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):fr(this,e,t,!1),t+2},qn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,4,4294967295,0),qn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):pr(this,e,t,!0),t+4},qn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,4,4294967295,0),qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):pr(this,e,t,!1),t+4},qn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);hr(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<n&&(o*=256);)0>e&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+n},qn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);hr(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)0>e&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+n},qn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,1,127,-128),qn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},qn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,2,32767,-32768),qn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):fr(this,e,t,!0),t+2},qn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,2,32767,-32768),qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):fr(this,e,t,!1),t+2},qn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,4,2147483647,-2147483648),qn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):pr(this,e,t,!0),t+4},qn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||hr(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):pr(this,e,t,!1),t+4},qn.prototype.writeFloatLE=function(e,t,n){return mr(this,e,t,!0,n)},qn.prototype.writeFloatBE=function(e,t,n){return mr(this,e,t,!1,n)},qn.prototype.writeDoubleLE=function(e,t,n){return vr(this,e,t,!0,n)},qn.prototype.writeDoubleBE=function(e,t,n){return vr(this,e,t,!1,n)},qn.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),e.length>t||(t=e.length),t||(t=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),r-n>e.length-t&&(r=e.length-t+n);var i,a=r-n;if(this===e&&t>n&&r>t)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(1e3>a||!qn.TYPED_ARRAY_SUPPORT)for(i=0;a>i;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},qn.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);256>i&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!qn.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(0>t||t>this.length||n>this.length)throw new RangeError("Out of range index");if(t>=n)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;n>a;++a)this[a]=e;else{var o=Wn(e)?e:_r(""+new qn(e,r)),s=o.length;for(a=0;n-t>a;++a)this[a+t]=o[a%s]}return this};var wr=/[^+\/0-9A-Za-z-_]/g;function br(e){return 16>e?"0"+e.toString(16):e.toString(16)}function _r(e,t){var n;t=t||1/0;for(var r=e.length,i=null,a=[],o=0;r>o;++o){if((n=e.charCodeAt(o))>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,128>n){if(0>(t-=1))break;a.push(n)}else if(2048>n){if(0>(t-=2))break;a.push(n>>6|192,63&n|128)}else if(65536>n){if(0>(t-=3))break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(n>=1114112)throw Error("Invalid code point");if(0>(t-=4))break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function yr(e){return function(e){var t,n,r,i,a,o;Cn||Pn();var s=e.length;if(s%4>0)throw Error("Invalid string. Length must be a multiple of 4");o=new jn(3*s/4-(a="="===e[s-2]?2:"="===e[s-1]?1:0)),r=a>0?s-4:s;var l=0;for(t=0,n=0;r>t;t+=4,n+=3)i=An[e.charCodeAt(t)]<<18|An[e.charCodeAt(t+1)]<<12|An[e.charCodeAt(t+2)]<<6|An[e.charCodeAt(t+3)],o[l++]=i>>16&255,o[l++]=i>>8&255,o[l++]=255&i;return 2===a?(i=An[e.charCodeAt(t)]<<2|An[e.charCodeAt(t+1)]>>4,o[l++]=255&i):1===a&&(i=An[e.charCodeAt(t)]<<10|An[e.charCodeAt(t+1)]<<4|An[e.charCodeAt(t+2)]>>2,o[l++]=i>>8&255,o[l++]=255&i),o}(function(e){if(2>(e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(wr,"")).length)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function kr(e,t,n,r){for(var i=0;r>i&&(i+n<t.length&&i<e.length);++i)t[i+n]=e[i];return i}function xr(e){return null!=e&&(!!e._isBuffer||Er(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Er(e.slice(0,0))}(e))}function Er(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Sr(){throw Error("setTimeout has not been defined")}function Lr(){throw Error("clearTimeout has not been defined")}var Ar=Sr,jr=Lr;function Cr(e){if(Ar===setTimeout)return setTimeout(e,0);if((Ar===Sr||!Ar)&&setTimeout)return Ar=setTimeout,setTimeout(e,0);try{return Ar(e,0)}catch(t){try{return Ar.call(null,e,0)}catch(t){return Ar.call(this,e,0)}}}"function"==typeof Sn.setTimeout&&(Ar=setTimeout),"function"==typeof Sn.clearTimeout&&(jr=clearTimeout);var Pr,zr=[],Mr=!1,Tr=-1;function Or(){Mr&&Pr&&(Mr=!1,Pr.length?zr=Pr.concat(zr):Tr=-1,zr.length&&Rr())}function Rr(){if(!Mr){var e=Cr(Or);Mr=!0;for(var t=zr.length;t;){for(Pr=zr,zr=[];++Tr<t;)Pr&&Pr[Tr].run();Tr=-1,t=zr.length}Pr=null,Mr=!1,function(e){if(jr===clearTimeout)return clearTimeout(e);if((jr===Lr||!jr)&&clearTimeout)return jr=clearTimeout,clearTimeout(e);try{return jr(e)}catch(t){try{return jr.call(null,e)}catch(t){return jr.call(this,e)}}}(e)}}function Nr(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;arguments.length>n;n++)t[n-1]=arguments[n];zr.push(new Br(e,t)),1!==zr.length||Mr||Cr(Rr)}function Br(e,t){this.fun=e,this.array=t}Br.prototype.run=function(){this.fun.apply(null,this.array)};var Ir,Dr={env:{}};function qr(){}function Hr(){Hr.init.call(this)}function Ur(e){return void 0===e._maxListeners?Hr.defaultMaxListeners:e._maxListeners}function Fr(e,t,n,r){var i,a,o;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]):(a=e._events=new qr,e._eventsCount=0),o){if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),!o.warned&&(i=Ur(e))&&i>0&&o.length>i){o.warned=!0;var s=Error("Possible EventEmitter memory leak detected. "+o.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length}}else o=a[t]=n,++e._eventsCount;return e}function Zr(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function $r(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function Wr(e,t){for(var n=Array(t);t--;)n[t]=e[t];return n}qr.prototype=Object.create(null),Hr.EventEmitter=Hr,Hr.usingDomains=!1,Hr.prototype.domain=void 0,Hr.prototype._events=void 0,Hr.prototype._maxListeners=void 0,Hr.defaultMaxListeners=10,Hr.init=function(){this.domain=null,Hr.usingDomains&&(!Ir.active||this instanceof Ir.Domain||(this.domain=Ir.active)),this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new qr,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Hr.prototype.setMaxListeners=function(e){if("number"!=typeof e||0>e||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},Hr.prototype.getMaxListeners=function(){return Ur(this)},Hr.prototype.emit=function(e){var t,n,r,i,a,o,s,l="error"===e;if(o=this._events)l=l&&null==o.error;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var c=Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=o[e]))return!1;var u="function"==typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=Wr(e,r),a=0;r>a;++a)i[a].call(n)}(n,u,this);break;case 2:!function(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,a=Wr(e,i),o=0;i>o;++o)a[o].call(n,r)}(n,u,this,arguments[1]);break;case 3:!function(e,t,n,r,i){if(t)e.call(n,r,i);else for(var a=e.length,o=Wr(e,a),s=0;a>s;++s)o[s].call(n,r,i)}(n,u,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,r,i,a){if(t)e.call(n,r,i,a);else for(var o=e.length,s=Wr(e,o),l=0;o>l;++l)s[l].call(n,r,i,a)}(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=Array(r-1),a=1;r>a;a++)i[a-1]=arguments[a];!function(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,a=Wr(e,i),o=0;i>o;++o)a[o].apply(n,r)}(n,u,this,i)}return!0},Hr.prototype.on=Hr.prototype.addListener=function(e,t){return Fr(this,e,t,!1)},Hr.prototype.prependListener=function(e,t){return Fr(this,e,t,!0)},Hr.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,Zr(this,e,t)),this},Hr.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,Zr(this,e,t)),this},Hr.prototype.removeListener=function(e,t){var n,r,i,a,o;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener&&n.listener===t)0===--this._eventsCount?this._events=new qr:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){o=n[a].listener,i=a;break}if(0>i)return this;if(1===n.length){if(n[0]=void 0,0===--this._eventsCount)return this._events=new qr,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,i=e.length;i>r;n+=1,r+=1)e[n]=e[r];e.pop()}(n,i);r.removeListener&&this.emit("removeListener",e,o||t)}return this},Hr.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new qr,this._eventsCount=0):n[e]&&(0===--this._eventsCount?this._events=new qr:delete n[e]),this;if(0===arguments.length){for(var r,i=Object.keys(n),a=0;i.length>a;++a)"removeListener"!==(r=i[a])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new qr,this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},Hr.prototype.listeners=function(e){var t,n=this._events;return n&&(t=n[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=Array(e.length),n=0;t.length>n;++n)t[n]=e[n].listener||e[n];return t}(t):[]},Hr.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):$r.call(e,t)},Hr.prototype.listenerCount=$r,Hr.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Vr="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Gr=/%[sdj%]/g;function Yr(e){if(!si(e)){for(var t=[],n=0;arguments.length>n;n++)t.push(Qr(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=(e+"").replace(Gr,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return r[n++]+"";case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),o=r[n];i>n;o=r[++n])oi(o)||!ui(o)?a+=" "+o:a+=" "+Qr(o);return a}function Jr(e,t){if(li(Sn.process))return function(){return Jr(e,t).apply(this,arguments)};if(!0===Dr.noDeprecation)return e;var n=!1;return function(){if(!n){if(Dr.throwDeprecation)throw Error(t);n=!0}return e.apply(this,arguments)}}var Kr,Xr={};function Qr(e,t){var n={seen:[],stylize:ti};return 3>arguments.length||(n.depth=arguments[2]),4>arguments.length||(n.colors=arguments[3]),ai(t)?n.showHidden=t:t&&function(e,t){if(!t||!ui(t))return e;var n=Object.keys(t),r=n.length;for(;r--;)e[n[r]]=t[n[r]]}(n,t),li(n.showHidden)&&(n.showHidden=!1),li(n.depth)&&(n.depth=2),li(n.colors)&&(n.colors=!1),li(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=ei),ni(n,e,n.depth)}function ei(e,t){var n=Qr.styles[t];return n?"["+Qr.colors[n][0]+"m"+e+"["+Qr.colors[n][1]+"m":e}function ti(e,t){return e}function ni(e,t,n){if(e.customInspect&&t&&fi(t.inspect)&&t.inspect!==Qr&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return si(r)||(r=ni(e,r,n)),r}var i=function(e,t){if(li(t))return e.stylize("undefined","undefined");if(si(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(r=t,"number"==typeof r)return e.stylize(""+t,"number");var r;if(ai(t))return e.stylize(""+t,"boolean");if(oi(t))return e.stylize("null","null")}(e,t);if(i)return i;var a=Object.keys(t),o=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),hi(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return ri(t);if(0===a.length){if(fi(t))return e.stylize("[Function"+(t.name?": "+t.name:"")+"]","special");if(ci(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(di(t))return e.stylize(Date.prototype.toString.call(t),"date");if(hi(t))return ri(t)}var s,l="",c=!1,u=["{","}"];(Array.isArray(t)&&(c=!0,u=["[","]"]),fi(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return ci(t)&&(l=" "+RegExp.prototype.toString.call(t)),di(t)&&(l=" "+Date.prototype.toUTCString.call(t)),hi(t)&&(l=" "+ri(t)),0!==a.length||c&&0!=t.length?0>n?ci(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),s=c?function(e,t,n,r,i){for(var a=[],o=0,s=t.length;s>o;++o)gi(t,o+"")?a.push(ii(e,t,n,r,o+"",!0)):a.push("");return i.forEach(function(i){i.match(/^\d+$/)||a.push(ii(e,t,n,r,i,!0))}),a}(e,t,n,o,a):a.map(function(r){return ii(e,t,n,o,r,c)}),e.seen.pop(),function(e,t,n){var r=e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(s,l,u)):u[0]+l+u[1]}function ri(e){return"["+Error.prototype.toString.call(e)+"]"}function ii(e,t,n,r,i,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=e.stylize(l.set?"[Getter/Setter]":"[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),gi(r,i)||(o="["+i+"]"),s||(0>e.seen.indexOf(l.value)?(s=oi(n)?ni(e,l.value,null):ni(e,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),li(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function ai(e){return"boolean"==typeof e}function oi(e){return null===e}function si(e){return"string"==typeof e}function li(e){return void 0===e}function ci(e){return ui(e)&&"[object RegExp]"===pi(e)}function ui(e){return"object"==typeof e&&null!==e}function di(e){return ui(e)&&"[object Date]"===pi(e)}function hi(e){return ui(e)&&("[object Error]"===pi(e)||e instanceof Error)}function fi(e){return"function"==typeof e}function pi(e){return Object.prototype.toString.call(e)}function gi(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function mi(){this.head=null,this.tail=null,this.length=0}Qr.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Qr.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},mi.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},mi.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},mi.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},mi.prototype.clear=function(){this.head=this.tail=null,this.length=0},mi.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},mi.prototype.concat=function(e){if(0===this.length)return qn.alloc(0);if(1===this.length)return this.head.data;for(var t=qn.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var vi=qn.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function wi(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!vi(e))throw Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=_i;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=yi;break;default:return void(this.write=bi)}this.charBuffer=new qn(6),this.charReceived=0,this.charLength=0}function bi(e){return e.toString(this.encoding)}function _i(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function yi(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}wi.prototype.write=function(e){for(var t="";this.charLength;){var n=this.charLength-this.charReceived>e.length?e.length:this.charLength-this.charReceived;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charLength>this.charReceived)return"";if(e=e.slice(n,e.length),55296>(r=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))||r>56319){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r,i=e.length;if(this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),(r=(t+=e.toString(this.encoding,0,i)).charCodeAt(i=t.length-1))>=55296&&56319>=r){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,i)}return t},wi.prototype.detectIncompleteChar=function(e){for(var t=3>e.length?e.length:3;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},wi.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.encoding;t+=this.charBuffer.slice(0,this.charReceived).toString(n)}return t},Ei.ReadableState=xi;var ki=function(e){if(li(Kr)&&(Kr=Dr.env.NODE_DEBUG||""),e=e.toUpperCase(),!Xr[e])if(RegExp("\\b"+e+"\\b","i").test(Kr)){Xr[e]=function(){Yr.apply(null,arguments)}}else Xr[e]=function(){};return Xr[e]}("stream");function xi(e,t){this.objectMode=!!(e=e||{}).objectMode,t instanceof Xi&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=new mi,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new wi(e.encoding),this.encoding=e.encoding)}function Ei(e){if(!(this instanceof Ei))return new Ei(e);this._readableState=new xi(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),Hr.call(this)}function Si(e,t,n,r,i){var a=function(e,t){var n=null;xr(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));return n}(t,n);if(a)e.emit("error",a);else if(null===n)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,ji(e)}(e,t);else if(t.objectMode||n&&n.length>0){if(t.ended&&!i)e.emit("error",Error("stream.push() after EOF"));else if(t.endEmitted&&i){e.emit("error",Error("stream.unshift() after end event"))}else{var o;!t.decoder||i||r||(n=t.decoder.write(n),o=!t.objectMode&&0===n.length),i||(t.reading=!1),o||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&ji(e))),function(e,t){t.readingMore||(t.readingMore=!0,Nr(Pi,e,t))}(e,t)}}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.highWaterMark>e.length||0===e.length)}(t)}Vr(Ei,Hr),Ei.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!=typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=qn.from(e,t),t=""),Si(this,n,e,t,!1)},Ei.prototype.unshift=function(e){return Si(this,this._readableState,e,"",!0)},Ei.prototype.isPaused=function(){return!1===this._readableState.flowing},Ei.prototype.setEncoding=function(e){return this._readableState.decoder=new wi(e),this._readableState.encoding=e,this};var Li=8388608;function Ai(e,t){return 0>=e||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return Li>e?(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++):e=Li,e}(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function ji(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(ki("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Nr(Ci,e):Ci(e))}function Ci(e){ki("emit readable"),e.emit("readable"),Ti(e)}function Pi(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.highWaterMark>t.length&&(ki("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function zi(e){ki("readable nexttick read 0"),e.read(0)}function Mi(e,t){t.reading||(ki("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Ti(e),t.flowing&&!t.reading&&e.read(0)}function Ti(e){var t=e._readableState;for(ki("flow",t.flowing);t.flowing&&null!==e.read(););}function Oi(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():e&&t.length>e?n=function(e,t,n){var r;t.head.data.length>e?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(i+=o===a.length?a:a.slice(0,e),0===(e-=o)){o===a.length?(++r,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=a.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=qn.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),0===(e-=o)){o===a.length?(++i,t.head=r.next?r.next:t.tail=null):(t.head=r,r.data=a.slice(o));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder):(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()),n);var n}function Ri(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Nr(Ni,t,e))}function Ni(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Bi(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function Ii(){}function Di(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function qi(e,t){Object.defineProperty(this,"buffer",{get:Jr(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),this.objectMode=!!(e=e||{}).objectMode,t instanceof Xi&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.decodeStrings=!(!1===e.decodeStrings),this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?Nr(i,r):i(r);e._writableState.errorEmitted=!0,e.emit("error",r)}(e,n,r,t,i);else{var a=$i(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||Zi(e,n),r?Nr(Fi,e,n,a,i):Fi(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new Gi(this)}function Hi(e){if(!(this instanceof Hi||this instanceof Xi))return new Hi(e);this._writableState=new qi(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),Hr.call(this)}function Ui(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function Fi(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),Vi(e,t)}function Zi(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=n;for(var a=0;n;)r[a]=n,n=n.next,a+=1;Ui(e,t,!0,t.length,r,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new Gi(t)}else{for(;n;){var o=n.chunk;if(Ui(e,t,!1,t.objectMode?1:o.length,o,n.encoding,n.callback),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function $i(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function Wi(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function Vi(e,t){var n=$i(t);return n&&(0===t.pendingcb?(Wi(e,t),t.finished=!0,e.emit("finish")):Wi(e,t)),n}function Gi(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}Ei.prototype.read=function(e){ki("read",e);var t=this._readableState,n=e=parseInt(e,10);if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return ki("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Ri(this):ji(this),null;if(0===(e=Ai(e,t))&&t.ended)return 0===t.length&&Ri(this),null;var r,i=t.needReadable;return ki("need readable",i),(0===t.length||t.highWaterMark>t.length-e)&&ki("length less than watermark",i=!0),t.ended||t.reading?ki("reading or ended",i=!1):i&&(ki("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Ai(n,t))),null===(r=e>0?Oi(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Ri(this)),null!==r&&this.emit("data",r),r},Ei.prototype._read=function(e){this.emit("error",Error("not implemented"))},Ei.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,ki("pipe count=%d opts=%j",r.pipesCount,t);var i=!t||!1!==t.end?o:c;function a(e){ki("onunpipe"),e===n&&c()}function o(){ki("onend"),e.end()}r.endEmitted?Nr(i):n.once("end",i),e.on("unpipe",a);var s=function(e){return function(){var t=e._readableState;ki("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Ti(e))}}(n);e.on("drain",s);var l=!1;function c(){ki("cleanup"),e.removeListener("close",f),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",h),e.removeListener("unpipe",a),n.removeListener("end",o),n.removeListener("end",c),n.removeListener("data",d),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function d(t){ki("ondata"),u=!1,!1!==e.write(t)||u||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Bi(r.pipes,e))&&!l&&(ki("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function h(t){ki("onerror",t),g(),e.removeListener("error",h),0===function(e,t){return e.listeners(t).length}(e,"error")&&e.emit("error",t)}function f(){e.removeListener("finish",p),g()}function p(){ki("onfinish"),e.removeListener("close",f),g()}function g(){ki("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",f),e.once("finish",p),e.emit("pipe",n),r.flowing||(ki("pipe resume"),n.resume()),e},Ei.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var a=Bi(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},Ei.prototype.addListener=Ei.prototype.on=function(e,t){var n=Hr.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&ji(this):Nr(zi,this))}return n},Ei.prototype.resume=function(){var e=this._readableState;return e.flowing||(ki("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Nr(Mi,e,t))}(this,e)),this},Ei.prototype.pause=function(){return ki("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(ki("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Ei.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on("end",function(){if(ki("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){(ki("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}(["error","close","destroy","pause","resume"],function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){ki("wrapped _read",t),n&&(n=!1,e.resume())},r},Ei._fromList=Oi,Hi.WritableState=qi,Vr(Hi,Hr),qi.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Hi.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))},Hi.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),qn.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=Ii),r.ended?function(e,t){var n=Error("write after end");e.emit("error",n),Nr(t,n)}(this,n):function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):qn.isBuffer(n)||"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Nr(r,a),i=!1),i}(this,r,e,n)&&(r.pendingcb++,i=function(e,t,n,r,i){n=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=qn.from(t,n));return t}(t,n,r),qn.isBuffer(n)&&(r="buffer");var a=t.objectMode?1:n.length;t.length+=a;var o=t.highWaterMark>t.length;o||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new Di(n,r,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Ui(e,t,!1,a,n,r,i);return o}(this,r,e,t,n)),i},Hi.prototype.cork=function(){this._writableState.corked++},Hi.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||Zi(this,e))},Hi.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())<=-1)throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Hi.prototype._write=function(e,t,n){n(Error("not implemented"))},Hi.prototype._writev=null,Hi.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,Vi(e,t),n&&(t.finished?Nr(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Vr(Xi,Ei);for(var Yi=Object.keys(Hi.prototype),Ji=0;Yi.length>Ji;Ji++){var Ki=Yi[Ji];Xi.prototype[Ki]||(Xi.prototype[Ki]=Hi.prototype[Ki])}function Xi(e){if(!(this instanceof Xi))return new Xi(e);Ei.call(this,e),Hi.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",Qi)}function Qi(){this.allowHalfOpen||this._writableState.ended||Nr(ea,this)}function ea(e){e.end()}function ta(e){this.afterTransform=function(t,n){return function(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!=n&&e.push(n);i(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.highWaterMark>a.length)&&e._read(a.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function na(e){if(!(this instanceof na))return new na(e);Xi.call(this,e),this._transformState=new ta(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e){ra(t,e)}):ra(t)})}function ra(e,t){if(t)return e.emit("error",t);var n=e._transformState;if(e._writableState.length)throw Error("Calling transform done when ws.length != 0");if(n.transforming)throw Error("Calling transform done when still transforming");return e.push(null)}function ia(e){if(!(this instanceof ia))return new ia(e);na.call(this,e)}function aa(){Hr.call(this)}Vr(na,Xi),na.prototype.push=function(e,t){return this._transformState.needTransform=!1,Xi.prototype.push.call(this,e,t)},na.prototype._transform=function(e,t,n){throw Error("Not implemented")},na.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.highWaterMark>i.length)&&this._read(i.highWaterMark)}},na.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Vr(ia,na),ia.prototype._transform=function(e,t,n){n(null,e)},Vr(aa,Hr),aa.Readable=Ei,aa.Writable=Hi,aa.Duplex=Xi,aa.Transform=na,aa.PassThrough=ia,aa.Stream=aa,aa.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",o),n.on("close",s));var a=!1;function o(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===Hr.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",r),e.removeListener("drain",i),n.removeListener("end",o),n.removeListener("close",s),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e};var oa={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function sa(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function la(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;r>a;a++)e[i+a]=t[n+a]}var ca=Uint8Array,ua=Uint16Array,da=Int32Array;function ha(e){for(var t=e.length;--t>=0;)e[t]=0}var fa=256,pa=286,ga=30,ma=15,va=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],wa=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],ba=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],_a=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ya=Array(576);ha(ya);var ka=Array(60);ha(ka);var xa=Array(512);ha(xa);var Ea=Array(256);ha(Ea);var Sa=Array(29);ha(Sa);var La,Aa,ja,Ca=Array(ga);function Pa(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function za(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Ma(e){return 256>e?xa[e]:xa[256+(e>>>7)]}function Ta(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Oa(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,Ta(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Ra(e,t,n){Oa(e,n[2*t],n[2*t+1])}function Na(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function Ba(e,t,n){var r,i,a=Array(16),o=0;for(r=1;ma>=r;r++)a[r]=o=o+n[r-1]<<1;for(i=0;t>=i;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Na(a[s]++,s))}}function Ia(e){var t;for(t=0;pa>t;t++)e.dyn_ltree[2*t]=0;for(t=0;ga>t;t++)e.dyn_dtree[2*t]=0;for(t=0;19>t;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Da(e){e.bi_valid>8?Ta(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function qa(e,t,n,r){var i=2*t,a=2*n;return e[a]>e[i]||e[i]===e[a]&&r[n]>=r[t]}function Ha(e,t,n){for(var r=e.heap[n],i=n<<1;e.heap_len>=i&&(e.heap_len>i&&qa(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!qa(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function Ua(e,t,n){var r,i,a,o,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?Ra(e,i,t):(Ra(e,(a=Ea[i])+fa+1,t),0!==(o=va[a])&&Oa(e,i-=Sa[a],o),Ra(e,a=Ma(--r),n),0!==(o=wa[a])&&Oa(e,r-=Ca[a],o))}while(e.last_lit>s);Ra(e,256,t)}function Fa(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;l>n;n++)0!==a[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):a[2*n+1]=0;for(;2>e.heap_len;)a[2*(i=e.heap[++e.heap_len]=2>c?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Ha(e,a,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Ha(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[r]>e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,Ha(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(a=0;ma>=a;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;573>n;n++)(a=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(a=p,g++),l[2*r+1]=a,r>c||(e.bl_count[a]++,o=0,f>r||(o=h[r-f]),e.opt_len+=(s=l[2*r])*(a+o),d&&(e.static_len+=s*(u[2*r+1]+o)));if(0!==g){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)c<(i=e.heap[--n])||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),r--)}}(e,t),Ba(a,c,e.bl_count)}function Za(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;n>=r;r++)i=o,o=t[2*(r+1)+1],++s<l&&i===o||(c>s?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s>10?e.bl_tree[36]++:e.bl_tree[34]++,s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4))}function $a(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),r=0;n>=r;r++)if(i=o,o=t[2*(r+1)+1],++s>=l||i!==o){if(c>s)do{Ra(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(Ra(e,i,e.bl_tree),s--),Ra(e,16,e.bl_tree),Oa(e,s-3,2)):s>10?(Ra(e,18,e.bl_tree),Oa(e,s-11,7)):(Ra(e,17,e.bl_tree),Oa(e,s-3,3));s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4)}}ha(Ca);var Wa=!1;function Va(e){Wa||(!function(){var e,t,n,r,i,a=Array(16);for(n=0,r=0;28>r;r++)for(Sa[r]=n,e=0;1<<va[r]>e;e++)Ea[n++]=r;for(Ea[n-1]=r,i=0,r=0;16>r;r++)for(Ca[r]=i,e=0;1<<wa[r]>e;e++)xa[i++]=r;for(i>>=7;ga>r;r++)for(Ca[r]=i<<7,e=0;1<<wa[r]-7>e;e++)xa[256+i++]=r;for(t=0;ma>=t;t++)a[t]=0;for(e=0;143>=e;)ya[2*e+1]=8,e++,a[8]++;for(;255>=e;)ya[2*e+1]=9,e++,a[9]++;for(;279>=e;)ya[2*e+1]=7,e++,a[7]++;for(;287>=e;)ya[2*e+1]=8,e++,a[8]++;for(Ba(ya,287,a),e=0;ga>e;e++)ka[2*e+1]=5,ka[2*e]=Na(e,5);La=new Pa(ya,va,257,pa,ma),Aa=new Pa(ka,wa,0,ga,ma),ja=new Pa([],ba,0,19,7)}(),Wa=!0),e.l_desc=new za(e.dyn_ltree,La),e.d_desc=new za(e.dyn_dtree,Aa),e.bl_desc=new za(e.bl_tree,ja),e.bi_buf=0,e.bi_valid=0,Ia(e)}function Ga(e,t,n,r){Oa(e,0+(r?1:0),3),function(e,t,n){Da(e),Ta(e,n),Ta(e,~n),la(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}function Ya(e){Oa(e,2,3),Ra(e,256,ya),function(e){16===e.bi_valid?(Ta(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8>e.bi_valid||(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}function Ja(e,t,n,r){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;31>=t;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;fa>t;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),Fa(e,e.l_desc),Fa(e,e.d_desc),o=function(e){var t;for(Za(e,e.dyn_ltree,e.l_desc.max_code),Za(e,e.dyn_dtree,e.d_desc.max_code),Fa(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*_a[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),(a=e.static_len+3+7>>>3)>(i=e.opt_len+3+7>>>3)||(i=a)):i=a=n+5,n+4>i||-1===t?4===e.strategy||a===i?(Oa(e,2+(r?1:0),3),Ua(e,ya,ka)):(Oa(e,4+(r?1:0),3),function(e,t,n,r){var i;for(Oa(e,t-257,5),Oa(e,n-1,5),Oa(e,r-4,4),i=0;r>i;i++)Oa(e,e.bl_tree[2*_a[i]+1],3);$a(e,e.dyn_ltree,t-1),$a(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),Ua(e,e.dyn_ltree,e.dyn_dtree)):Ga(e,t,n,r),Ia(e),r&&Da(e)}function Ka(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Ea[n]+fa+1)]++,e.dyn_dtree[2*Ma(t)]++),e.last_lit===e.lit_bufsize-1}function Xa(e,t,n,r){for(var i=65535&e,a=e>>>16&65535,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{a=a+(i=i+t[r++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16}var Qa=function(){for(var e,t=[],n=0;256>n;n++){e=n;for(var r=0;8>r;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();function eo(e,t,n,r){var i=Qa,a=r+n;e^=-1;for(var o=r;a>o;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}var to,no=-2,ro=258,io=262,ao=103,oo=113,so=666;function lo(e,t){return e.msg=oa[t],t}function co(e){return(e<<1)-(e>4?9:0)}function uo(e){for(var t=e.length;--t>=0;)e[t]=0}function ho(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(la(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function fo(e,t){Ja(e,0>e.block_start?-1:e.block_start,e.strstart-e.block_start,t),e.block_start=e.strstart,ho(e.strm)}function po(e,t){e.pending_buf[e.pending++]=t}function go(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function mo(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,la(t,e.input,e.next_in,i,n),1===e.state.wrap?e.adler=Xa(e.adler,t,i,n):2===e.state.wrap&&(e.adler=eo(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function vo(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-io?e.strstart-(e.w_size-io):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+ro,f=c[a+o-1],p=c[a+o];e.good_match>e.prev_length||(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+o]===p&&c[n+o-1]===f&&c[n]===c[a]&&c[++n]===c[a+1]){a+=2,n++;do{}while(c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&h>a);if(r=ro-(h-a),a=h-ro,r>o){if(e.match_start=t,o=r,r>=s)break;f=c[a+o-1],p=c[a+o]}}}while((t=d[t&u])>l&&0!==--i);return o>e.lookahead?e.lookahead:o}function wo(e){var t,n,r,i,a,o=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-io)){la(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=o>r?0:r-o}while(--n);t=n=o;do{r=e.prev[--t],e.prev[t]=o>r?0:r-o}while(--n);i+=o}if(0===e.strm.avail_in)break;if(n=mo(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=3)for(e.ins_h=e.window[a=e.strstart-e.insert],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,e.lookahead+e.insert>=3););}while(io>e.lookahead&&0!==e.strm.avail_in)}function bo(e,t){for(var n,r;;){if(io>e.lookahead){if(wo(e),io>e.lookahead&&0===t)return 1;if(0===e.lookahead)break}if(n=0,3>e.lookahead||(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0===n||e.strstart-n>e.w_size-io||(e.match_length=vo(e,n)),3>e.match_length)r=Ka(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;else if(r=Ka(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length>e.max_lazy_match||3>e.lookahead)e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else{e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}if(r&&(fo(e,!1),0===e.strm.avail_out))return 1}return e.insert=2>e.strstart?e.strstart:2,4===t?(fo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(fo(e,!1),0===e.strm.avail_out)?1:2}function _o(e,t){for(var n,r,i;;){if(io>e.lookahead){if(wo(e),io>e.lookahead&&0===t)return 1;if(0===e.lookahead)break}if(n=0,3>e.lookahead||(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.max_lazy_match>e.prev_length&&e.w_size-io>=e.strstart-n&&(e.match_length=vo(e,n),5>=e.match_length&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),3>e.prev_length||e.match_length>e.prev_length)if(e.match_available){if((r=Ka(e,0,e.window[e.strstart-1]))&&fo(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--;else{i=e.strstart+e.lookahead-3,r=Ka(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart>i||(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(fo(e,!1),0===e.strm.avail_out))return 1}}return e.match_available&&(r=Ka(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=2>e.strstart?e.strstart:2,4===t?(fo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(fo(e,!1),0===e.strm.avail_out)?1:2}function yo(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function ko(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ua(1146),this.dyn_dtree=new ua(122),this.bl_tree=new ua(78),uo(this.dyn_ltree),uo(this.dyn_dtree),uo(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ua(16),this.heap=new ua(573),uo(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ua(573),uo(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function xo(e){var t,n=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,0>t.wrap&&(t.wrap=-t.wrap),t.status=t.wrap?42:oo,e.adler=2===t.wrap?0:1,t.last_flush=0,Va(t),0):lo(e,no)}(e);return 0===n&&((t=e.state).window_size=2*t.w_size,uo(t.head),t.max_lazy_match=to[t.level].max_lazy,t.good_match=to[t.level].good_length,t.nice_match=to[t.level].nice_length,t.max_chain_length=to[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function Eo(e,t){var n,r,i,a;if(!e||!e.state||t>5||0>t)return e?lo(e,no):no;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===so&&4!==t)return lo(e,0===e.avail_out?-5:no);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,po(r,31),po(r,139),po(r,8),r.gzhead?(po(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),po(r,255&r.gzhead.time),po(r,r.gzhead.time>>8&255),po(r,r.gzhead.time>>16&255),po(r,r.gzhead.time>>24&255),po(r,9===r.level?2:r.strategy>=2||2>r.level?4:0),po(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(po(r,255&r.gzhead.extra.length),po(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=eo(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(po(r,0),po(r,0),po(r,0),po(r,0),po(r,0),po(r,9===r.level?2:r.strategy>=2||2>r.level?4:0),po(r,3),r.status=oo);else{var o=8+(r.w_bits-8<<4)<<8;o|=(r.strategy>=2||2>r.level?0:6>r.level?1:6===r.level?2:3)<<6,0!==r.strstart&&(o|=32),o+=31-o%31,r.status=oo,go(r,o),0!==r.strstart&&(go(r,e.adler>>>16),go(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(i=r.pending;(65535&r.gzhead.extra.length)>r.gzindex&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=eo(e.adler,r.pending_buf,r.pending-i,i)),ho(e),i=r.pending,r.pending!==r.pending_buf_size));)po(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=eo(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=eo(e.adler,r.pending_buf,r.pending-i,i)),ho(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzhead.name.length>r.gzindex?255&r.gzhead.name.charCodeAt(r.gzindex++):0,po(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=eo(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=eo(e.adler,r.pending_buf,r.pending-i,i)),ho(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzhead.comment.length>r.gzindex?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,po(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=eo(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.status=ao)}else r.status=ao;if(r.status===ao&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&ho(e),r.pending+2>r.pending_buf_size||(po(r,255&e.adler),po(r,e.adler>>8&255),e.adler=0,r.status=oo)):r.status=oo),0!==r.pending){if(ho(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&co(t)<=co(n)&&4!==t)return lo(e,-5);if(r.status===so&&0!==e.avail_in)return lo(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&r.status!==so){var s=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(wo(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=Ka(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(fo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(fo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(fo(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,i,a,o=e.window;;){if(ro>=e.lookahead){if(wo(e),ro>=e.lookahead&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){a=e.strstart+ro;do{}while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&a>i);e.match_length=ro-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(3>e.match_length?(n=Ka(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++):(n=Ka(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0),n&&(fo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(fo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(fo(e,!1),0===e.strm.avail_out)?1:2}(r,t):to[r.level].func(r,t);if(3!==s&&4!==s||(r.status=so),1===s||3===s)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===s&&(1===t?Ya(r):5!==t&&(Ga(r,0,0,!1),3===t&&(uo(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),ho(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap>0?(2===r.wrap?(po(r,255&e.adler),po(r,e.adler>>8&255),po(r,e.adler>>16&255),po(r,e.adler>>24&255),po(r,255&e.total_in),po(r,e.total_in>>8&255),po(r,e.total_in>>16&255),po(r,e.total_in>>24&255)):(go(r,e.adler>>>16),go(r,65535&e.adler)),ho(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1):1}to=[new yo(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(1>=e.lookahead){if(wo(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,fo(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-io&&(fo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(fo(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&fo(e,!1),1)}),new yo(4,4,8,4,bo),new yo(4,5,16,8,bo),new yo(4,6,32,32,bo),new yo(4,4,16,16,_o),new yo(8,16,32,32,_o),new yo(8,16,128,128,_o),new yo(8,32,128,256,_o),new yo(32,128,258,1024,_o),new yo(32,258,258,4096,_o)];function So(e,t){var n,r,i,a,o,s,l,c,u,d,h,f,p,g,m,v,w,b,_,y,k,x,E,S,L;S=e.input,i=(r=e.next_in)+(e.avail_in-5),L=e.output,o=(a=e.next_out)-(t-e.avail_out),s=a+(e.avail_out-257),l=(n=e.state).dmax,c=n.wsize,u=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,g=n.lencode,m=n.distcode,v=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;e:do{15>p&&(f+=S[r++]<<p,f+=S[r++]<<(p+=8),p+=8),b=g[f&v];t:for(;;){if(f>>>=_=b>>>24,p-=_,0===(_=b>>>16&255))L[a++]=65535&b;else{if(!(16&_)){if(64&_){if(32&_){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}b=g[(65535&b)+(f&(1<<_)-1)];continue t}for(y=65535&b,(_&=15)&&(_>p&&(f+=S[r++]<<p,p+=8),y+=f&(1<<_)-1,f>>>=_,p-=_),15>p&&(f+=S[r++]<<p,f+=S[r++]<<(p+=8),p+=8),b=m[f&w];;){if(f>>>=_=b>>>24,p-=_,16&(_=b>>>16&255)){if(k=65535&b,(_&=15)>p&&(f+=S[r++]<<p,_>(p+=8)&&(f+=S[r++]<<p,p+=8)),(k+=f&(1<<_)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=_,p-=_,k>(_=a-o)){if((_=k-_)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,E=h,0===d){if(x+=c-_,y>_){y-=_;do{L[a++]=h[x++]}while(--_);x=a-k,E=L}}else if(_>d){if(x+=c+d-_,y>(_-=d)){y-=_;do{L[a++]=h[x++]}while(--_);if(x=0,y>d){y-=_=d;do{L[a++]=h[x++]}while(--_);x=a-k,E=L}}}else if(x+=d-_,y>_){y-=_;do{L[a++]=h[x++]}while(--_);x=a-k,E=L}for(;y>2;)L[a++]=E[x++],L[a++]=E[x++],L[a++]=E[x++],y-=3;y&&(L[a++]=E[x++],y>1&&(L[a++]=E[x++]))}else{x=a-k;do{L[a++]=L[x++],L[a++]=L[x++],L[a++]=L[x++],y-=3}while(y>2);y&&(L[a++]=L[x++],y>1&&(L[a++]=L[x++]))}break}if(64&_){e.msg="invalid distance code",n.mode=30;break e}b=m[(65535&b)+(f&(1<<_)-1)]}}break}}while(i>r&&s>a);f&=(1<<(p-=(y=p>>3)<<3))-1,e.next_in=r-=y,e.next_out=a,e.avail_in=i>r?i-r+5:5-(r-i),e.avail_out=s>a?s-a+257:257-(a-s),n.hold=f,n.bits=p}var Lo=15,Ao=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],jo=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Co=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Po=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function zo(e,t,n,r,i,a,o,s){var l,c,u,d,h,f,p,g,m,v=s.bits,w=0,b=0,_=0,y=0,k=0,x=0,E=0,S=0,L=0,A=0,j=null,C=0,P=new ua(16),z=new ua(16),M=null,T=0;for(w=0;Lo>=w;w++)P[w]=0;for(b=0;r>b;b++)P[t[n+b]]++;for(k=v,y=Lo;y>=1&&0===P[y];y--);if(k>y&&(k=y),0===y)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(_=1;y>_&&0===P[_];_++);for(_>k&&(k=_),S=1,w=1;Lo>=w;w++)if(S<<=1,0>(S-=P[w]))return-1;if(S>0&&(0===e||1!==y))return-1;for(z[1]=0,w=1;Lo>w;w++)z[w+1]=z[w]+P[w];for(b=0;r>b;b++)0!==t[n+b]&&(o[z[t[n+b]]++]=b);if(0===e?(j=M=o,f=19):1===e?(j=Ao,C-=257,M=jo,T-=257,f=256):(j=Co,M=Po,f=-1),A=0,b=0,w=_,h=a,x=k,E=0,u=-1,d=(L=1<<k)-1,1===e&&L>852||2===e&&L>592)return 1;for(;;){p=w-E,f>o[b]?(g=0,m=o[b]):o[b]>f?(g=M[T+o[b]],m=j[C+o[b]]):(g=96,m=0),l=1<<w-E,_=c=1<<x;do{i[h+(A>>E)+(c-=l)]=p<<24|g<<16|m}while(0!==c);for(l=1<<w-1;A&l;)l>>=1;if(0!==l?(A&=l-1,A+=l):A=0,b++,0===--P[w]){if(w===y)break;w=t[n+o[b]]}if(w>k&&(A&d)!==u){for(0===E&&(E=k),h+=_,S=1<<(x=w-E);y>x+E&&(S-=P[x+E])>0;)x++,S<<=1;if(L+=1<<x,1===e&&L>852||2===e&&L>592)return 1;i[u=A&d]=k<<24|x<<16|h-a}}return 0!==A&&(i[h+A]=w-E<<24|64<<16),s.bits=k,0}var Mo=-2,To=12,Oo=30;function Ro(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function No(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new ua(320),this.work=new ua(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Bo(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(e.total_in=e.total_out=(t=e.state).total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new da(852),t.distcode=t.distdyn=new da(592),t.sane=1,t.back=-1,0):Mo}(e)):Mo}function Io(e,t){var n,r;return e?(r=new No,e.state=r,r.window=null,n=function(e,t){var n,r;return e&&e.state?(0>t?(n=0,t=-t):(n=1+(t>>4),48>t&&(t&=15)),t&&(8>t||t>15)?Mo:(null!==(r=e.state).window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Bo(e))):Mo}(e,t),0!==n&&(e.state=null),n):Mo}var Do,qo,Ho=!0;function Uo(e){if(Ho){var t;for(Do=new da(512),qo=new da(32),t=0;144>t;)e.lens[t++]=8;for(;256>t;)e.lens[t++]=9;for(;280>t;)e.lens[t++]=7;for(;288>t;)e.lens[t++]=8;for(zo(1,e.lens,0,288,Do,0,e.work,{bits:9}),t=0;32>t;)e.lens[t++]=5;zo(2,e.lens,0,32,qo,0,e.work,{bits:5}),Ho=!1}e.lencode=Do,e.lenbits=9,e.distcode=qo,e.distbits=5}function Fo(e,t){var n,r,i,a,o,s,l,c,u,d,h,f,p,g,m,v,w,b,_,y,k,x,E,S,L=0,A=new ca(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Mo;(n=e.state).mode===To&&(n.mode=13),o=e.next_out,i=e.output,a=e.next_in,r=e.input,c=n.hold,u=n.bits,d=s=e.avail_in,h=l=e.avail_out,x=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(2&n.wrap&&35615===c){n.check=0,A[0]=255&c,A[1]=c>>>8&255,n.check=eo(n.check,A,2,0),c=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=Oo;break}if(8!=(15&c)){e.msg="unknown compression method",n.mode=Oo;break}if(u-=4,k=8+(15&(c>>>=4)),0===n.wbits)n.wbits=k;else if(k>n.wbits){e.msg="invalid window size",n.mode=Oo;break}n.dmax=1<<k,e.adler=n.check=1,n.mode=512&c?10:To,c=0,u=0;break;case 2:for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(n.flags=c,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=Oo;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Oo;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,n.check=eo(n.check,A,2,0)),c=0,u=0,n.mode=3;case 3:for(;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,A[2]=c>>>16&255,A[3]=c>>>24&255,n.check=eo(n.check,A,4,0)),c=0,u=0,n.mode=4;case 4:for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,n.check=eo(n.check,A,2,0)),c=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,n.check=eo(n.check,A,2,0)),c=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(k=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),la(n.head.extra,r,a,f,k)),512&n.flags&&(n.check=eo(n.check,r,f,a)),s-=f,a+=f,n.length-=f),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;f=0;do{k=r[a+f++],n.head&&k&&65536>n.length&&(n.head.name+=String.fromCharCode(k))}while(k&&s>f);if(512&n.flags&&(n.check=eo(n.check,r,f,a)),s-=f,a+=f,k)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;f=0;do{k=r[a+f++],n.head&&k&&65536>n.length&&(n.head.comment+=String.fromCharCode(k))}while(k&&s>f);if(512&n.flags&&(n.check=eo(n.check,r,f,a)),s-=f,a+=f,k)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Oo;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=To;break;case 10:for(;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}e.adler=n.check=Ro(c),c=0,u=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,2;e.adler=n.check=1,n.mode=To;case To:if(5===t||6===t)break e;case 13:if(n.last){c>>>=7&u,u-=7&u,n.mode=27;break}for(;3>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}switch(n.last=1&c,u-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(Uo(n),n.mode=20,6===t){c>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=Oo}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Oo;break}if(n.length=65535&c,c=0,u=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break e;la(i,r,a,f,o),s-=f,a+=f,l-=f,o+=f,n.length-=f;break}n.mode=To;break;case 17:for(;14>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(n.nlen=257+(31&c),u-=5,n.ndist=1+(31&(c>>>=5)),u-=5,n.ncode=4+(15&(c>>>=5)),c>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Oo;break}n.have=0,n.mode=18;case 18:for(;n.ncode>n.have;){for(;3>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.lens[j[n.have++]]=7&c,c>>>=3,u-=3}for(;19>n.have;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,x=zo(0,n.lens,0,19,n.lencode,0,n.work,E={bits:n.lenbits}),n.lenbits=E.bits,x){e.msg="invalid code lengths set",n.mode=Oo;break}n.have=0,n.mode=19;case 19:for(;n.nlen+n.ndist>n.have;){for(;v=(L=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,w=65535&L,u<(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(16>w)c>>>=m,u-=m,n.lens[n.have++]=w;else{if(16===w){for(S=m+2;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c>>>=m,u-=m,0===n.have){e.msg="invalid bit length repeat",n.mode=Oo;break}k=n.lens[n.have-1],f=3+(3&c),c>>>=2,u-=2}else if(17===w){for(S=m+3;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}u-=m,k=0,f=3+(7&(c>>>=m)),c>>>=3,u-=3}else{for(S=m+7;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}u-=m,k=0,f=11+(127&(c>>>=m)),c>>>=7,u-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Oo;break}for(;f--;)n.lens[n.have++]=k}}if(n.mode===Oo)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Oo;break}if(n.lenbits=9,x=zo(1,n.lens,0,n.nlen,n.lencode,0,n.work,E={bits:n.lenbits}),n.lenbits=E.bits,x){e.msg="invalid literal/lengths set",n.mode=Oo;break}if(n.distbits=6,n.distcode=n.distdyn,x=zo(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,E={bits:n.distbits}),n.distbits=E.bits,x){e.msg="invalid distances set",n.mode=Oo;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,So(e,h),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,n.mode===To&&(n.back=-1);break}for(n.back=0;v=(L=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,w=65535&L,u<(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(v&&!(240&v)){for(b=m,_=v,y=w;v=(L=n.lencode[y+((c&(1<<b+_)-1)>>b)])>>>16&255,w=65535&L,u<b+(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}c>>>=b,u-=b,n.back+=b}if(c>>>=m,u-=m,n.back+=m,n.length=w,0===v){n.mode=26;break}if(32&v){n.back=-1,n.mode=To;break}if(64&v){e.msg="invalid literal/length code",n.mode=Oo;break}n.extra=15&v,n.mode=22;case 22:if(n.extra){for(S=n.extra;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;v=(L=n.distcode[c&(1<<n.distbits)-1])>>>16&255,w=65535&L,u<(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(!(240&v)){for(b=m,_=v,y=w;v=(L=n.distcode[y+((c&(1<<b+_)-1)>>b)])>>>16&255,w=65535&L,u<b+(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}c>>>=b,u-=b,n.back+=b}if(c>>>=m,u-=m,n.back+=m,64&v){e.msg="invalid distance code",n.mode=Oo;break}n.offset=w,n.extra=15&v,n.mode=24;case 24:if(n.extra){for(S=n.extra;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Oo;break}n.mode=25;case 25:if(0===l)break e;if(n.offset>(f=h-l)){if((f=n.offset-f)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Oo;break}p=f>n.wnext?n.wsize-(f-=n.wnext):n.wnext-f,f>n.length&&(f=n.length),g=n.window}else g=i,p=o-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{i[o++]=g[p++]}while(--f);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;i[o++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;32>u;){if(0===s)break e;s--,c|=r[a++]<<u,u+=8}if(e.total_out+=h-=l,n.total+=h,h&&(e.adler=n.check=n.flags?eo(n.check,i,h,o-h):Xa(n.check,i,h,o-h)),h=l,(n.flags?c:Ro(c))!==n.check){e.msg="incorrect data check",n.mode=Oo;break}c=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Oo;break}c=0,u=0}n.mode=29;case 29:x=1;break e;case Oo:x=-3;break e;case 31:return-4;default:return Mo}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||h!==e.avail_out&&Oo>n.mode&&(27>n.mode||4!==t))&&function(e,t,n,r){var i,a=e.state;null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new ca(a.wsize)),a.wsize>r?((i=a.wsize-a.wnext)>r&&(i=r),la(a.window,t,n-r,i,a.wnext),(r-=i)?(la(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.wsize>a.whave&&(a.whave+=i))):(la(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize)}(e,e.output,e.next_out,h-e.avail_out),h-=e.avail_out,e.total_in+=d-=e.avail_in,e.total_out+=h,n.total+=h,n.wrap&&h&&(e.adler=n.check=n.flags?eo(n.check,i,h,e.next_out-h):Xa(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(n.mode===To?128:0)+(20===n.mode||15===n.mode?256:0),(0===d&&0===h||4===t)&&0===x&&(x=-5),x}var Zo;function $o(e){if(1>e||e>7)throw new TypeError("Bad argument");this.mode=e,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function Wo(e,t){for(var n=0;e.length>n;n++)this[t+n]=e[n]}$o.prototype.init=function(e,t,n,r,i){var a;switch(this.windowBits=e,this.level=t,this.memLevel=n,this.strategy=r,3!==this.mode&&4!==this.mode||(this.windowBits+=16),7===this.mode&&(this.windowBits+=32),5!==this.mode&&6!==this.mode||(this.windowBits=-this.windowBits),this.strm=new sa,this.mode){case 1:case 3:case 5:a=function(e,t,n,r,i,a){if(!e)return no;var o=1;if(-1===t&&(t=6),0>r?(o=0,r=-r):r>15&&(o=2,r-=16),1>i||i>9||8!==n||8>r||r>15||0>t||t>9||0>a||a>4)return lo(e,no);8===r&&(r=9);var s=new ko;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new ca(2*s.w_size),s.head=new ua(s.hash_size),s.prev=new ua(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new ca(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=n,xo(e)}(this.strm,this.level,8,this.windowBits,this.memLevel,this.strategy);break;case 2:case 4:case 6:case 7:a=Io(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}0===a?(this.write_in_progress=!1,this.init_done=!0):this._error(a)},$o.prototype.params=function(){throw Error("deflateParams Not supported")},$o.prototype._writeCheck=function(){if(!this.init_done)throw Error("write before init");if(0===this.mode)throw Error("already finalized");if(this.write_in_progress)throw Error("write already in progress");if(this.pending_close)throw Error("close is pending")},$o.prototype.write=function(e,t,n,r,i,a,o){this._writeCheck(),this.write_in_progress=!0;var s=this;return Nr(function(){s.write_in_progress=!1;var l=s._write(e,t,n,r,i,a,o);s.callback(l[0],l[1]),s.pending_close&&s.close()}),this},$o.prototype.writeSync=function(e,t,n,r,i,a,o){return this._writeCheck(),this._write(e,t,n,r,i,a,o)},$o.prototype._write=function(e,t,n,r,i,a,o){if(this.write_in_progress=!0,0!==e&&1!==e&&2!==e&&3!==e&&4!==e&&5!==e)throw Error("Invalid flush value");null==t&&(t=new qn(0),r=0,n=0),i.set=i._set?i._set:Wo;var s,l=this.strm;switch(l.avail_in=r,l.input=t,l.next_in=n,l.avail_out=o,l.output=i,l.next_out=a,this.mode){case 1:case 3:case 5:s=Eo(l,e);break;case 7:case 2:case 4:case 6:s=Fo(l,e);break;default:throw Error("Unknown mode "+this.mode)}return 1!==s&&0!==s&&this._error(s),this.write_in_progress=!1,[l.avail_in,l.avail_out]},$o.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,1===this.mode||3===this.mode||5===this.mode?function(e){var t;e&&e.state&&(42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==ao&&t!==oo&&t!==so?lo(e,no):(e.state=null,t===oo&&lo(e,-3)))}(this.strm):function(e){if(!e||!e.state)return Mo;var t=e.state;t.window&&(t.window=null),e.state=null}(this.strm),this.mode=0)},$o.prototype.reset=function(){switch(this.mode){case 1:case 5:Zo=xo(this.strm);break;case 2:case 6:Zo=Bo(this.strm)}0!==Zo&&this._error(Zo)},$o.prototype._error=function(e){this.onerror(oa[e]+": "+this.strm.msg,e),this.write_in_progress=!1,this.pending_close&&this.close()};var Vo=Object.freeze({__proto__:null,DEFLATE:1,DEFLATERAW:5,GUNZIP:4,GZIP:3,INFLATE:2,INFLATERAW:6,NONE:0,UNZIP:7,Z_BEST_COMPRESSION:9,Z_BEST_SPEED:1,Z_BINARY:0,Z_BLOCK:5,Z_BUF_ERROR:-5,Z_DATA_ERROR:-3,Z_DEFAULT_COMPRESSION:-1,Z_DEFAULT_STRATEGY:0,Z_DEFLATED:8,Z_ERRNO:-1,Z_FILTERED:1,Z_FINISH:4,Z_FIXED:4,Z_FULL_FLUSH:3,Z_HUFFMAN_ONLY:2,Z_NEED_DICT:2,Z_NO_COMPRESSION:0,Z_NO_FLUSH:0,Z_OK:0,Z_PARTIAL_FLUSH:1,Z_RLE:3,Z_STREAM_END:1,Z_STREAM_ERROR:-2,Z_SYNC_FLUSH:2,Z_TEXT:1,Z_TREES:6,Z_UNKNOWN:2,Zlib:$o});var Go={};Object.keys(Vo).forEach(function(e){Go[e]=Vo[e]}),Go.Z_MIN_WINDOWBITS=8,Go.Z_MAX_WINDOWBITS=15,Go.Z_DEFAULT_WINDOWBITS=15,Go.Z_MIN_CHUNK=64,Go.Z_MAX_CHUNK=1/0,Go.Z_DEFAULT_CHUNK=16384,Go.Z_MIN_MEMLEVEL=1,Go.Z_MAX_MEMLEVEL=9,Go.Z_DEFAULT_MEMLEVEL=8,Go.Z_MIN_LEVEL=-1,Go.Z_MAX_LEVEL=9,Go.Z_DEFAULT_LEVEL=Go.Z_DEFAULT_COMPRESSION;var Yo={Z_OK:Go.Z_OK,Z_STREAM_END:Go.Z_STREAM_END,Z_NEED_DICT:Go.Z_NEED_DICT,Z_ERRNO:Go.Z_ERRNO,Z_STREAM_ERROR:Go.Z_STREAM_ERROR,Z_DATA_ERROR:Go.Z_DATA_ERROR,Z_MEM_ERROR:Go.Z_MEM_ERROR,Z_BUF_ERROR:Go.Z_BUF_ERROR,Z_VERSION_ERROR:Go.Z_VERSION_ERROR};function Jo(e,t,n){var r=[],i=0;function a(){for(var t;null!==(t=e.read());)r.push(t),i+=t.length;e.once("readable",a)}function o(){var t=qn.concat(r,i);r=[],n(null,t),e.close()}e.on("error",function(t){e.removeListener("end",o),e.removeListener("readable",a),n(t)}),e.on("end",o),e.end(t),a()}function Ko(e,t){if("string"==typeof t&&(t=new qn(t)),!xr(t))throw new TypeError("Not a string or buffer");return e._processChunk(t,Go.Z_FINISH)}function Xo(e){if(!(this instanceof Xo))return new Xo(e);as.call(this,e,Go.DEFLATE)}function Qo(e){if(!(this instanceof Qo))return new Qo(e);as.call(this,e,Go.INFLATE)}function es(e){if(!(this instanceof es))return new es(e);as.call(this,e,Go.GZIP)}function ts(e){if(!(this instanceof ts))return new ts(e);as.call(this,e,Go.GUNZIP)}function ns(e){if(!(this instanceof ns))return new ns(e);as.call(this,e,Go.DEFLATERAW)}function rs(e){if(!(this instanceof rs))return new rs(e);as.call(this,e,Go.INFLATERAW)}function is(e){if(!(this instanceof is))return new is(e);as.call(this,e,Go.UNZIP)}function as(e,t){if(this._opts=e=e||{},this._chunkSize=e.chunkSize||Go.Z_DEFAULT_CHUNK,na.call(this,e),e.flush&&e.flush!==Go.Z_NO_FLUSH&&e.flush!==Go.Z_PARTIAL_FLUSH&&e.flush!==Go.Z_SYNC_FLUSH&&e.flush!==Go.Z_FULL_FLUSH&&e.flush!==Go.Z_FINISH&&e.flush!==Go.Z_BLOCK)throw Error("Invalid flush flag: "+e.flush);if(this._flushFlag=e.flush||Go.Z_NO_FLUSH,e.chunkSize&&(Go.Z_MIN_CHUNK>e.chunkSize||e.chunkSize>Go.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(Go.Z_MIN_WINDOWBITS>e.windowBits||e.windowBits>Go.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+e.windowBits);if(e.level&&(Go.Z_MIN_LEVEL>e.level||e.level>Go.Z_MAX_LEVEL))throw Error("Invalid compression level: "+e.level);if(e.memLevel&&(Go.Z_MIN_MEMLEVEL>e.memLevel||e.memLevel>Go.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=Go.Z_FILTERED&&e.strategy!=Go.Z_HUFFMAN_ONLY&&e.strategy!=Go.Z_RLE&&e.strategy!=Go.Z_FIXED&&e.strategy!=Go.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!xr(e.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._binding=new Go.Zlib(t);var n=this;this._hadError=!1,this._binding.onerror=function(e,t){n._binding=null,n._hadError=!0;var r=Error(e);r.errno=t,r.code=Go.codes[t],n.emit("error",r)};var r=Go.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(r=e.level);var i=Go.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(i=e.strategy),this._binding.init(e.windowBits||Go.Z_DEFAULT_WINDOWBITS,r,e.memLevel||Go.Z_DEFAULT_MEMLEVEL,i,e.dictionary),this._buffer=new qn(this._chunkSize),this._offset=0,this._closed=!1,this._level=r,this._strategy=i,this.once("end",this.close)}Object.keys(Yo).forEach(function(e){Yo[Yo[e]]=e}),Vr(as,na),as.prototype.params=function(e,t,n){if(Go.Z_MIN_LEVEL>e||e>Go.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(t!=Go.Z_FILTERED&&t!=Go.Z_HUFFMAN_ONLY&&t!=Go.Z_RLE&&t!=Go.Z_FIXED&&t!=Go.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+t);if(this._level!==e||this._strategy!==t){var r=this;this.flush(Go.Z_SYNC_FLUSH,function(){r._binding.params(e,t),r._hadError||(r._level=e,r._strategy=t,n&&n())})}else Nr(n)},as.prototype.reset=function(){return this._binding.reset()},as.prototype._flush=function(e){this._transform(new qn(0),"",e)},as.prototype.flush=function(e,t){var n=this._writableState;if(("function"==typeof e||void 0===e&&!t)&&(t=e,e=Go.Z_FULL_FLUSH),n.ended)t&&Nr(t);else if(n.ending)t&&this.once("end",t);else if(n.needDrain){var r=this;this.once("drain",function(){r.flush(t)})}else this._flushFlag=e,this.write(new qn(0),"",t)},as.prototype.close=function(e){if(e&&Nr(e),!this._closed){this._closed=!0,this._binding.close();var t=this;Nr(function(){t.emit("close")})}},as.prototype._transform=function(e,t,n){var r,i=this._writableState,a=(i.ending||i.ended)&&(!e||i.length===e.length);if(null===!e&&!xr(e))return n(Error("invalid input"));a?r=Go.Z_FINISH:(r=this._flushFlag,i.length>e.length||(this._flushFlag=this._opts.flush||Go.Z_NO_FLUSH)),this._processChunk(e,r,n)},as.prototype._processChunk=function(e,t,n){var r=e&&e.length,i=this._chunkSize-this._offset,a=0,o=this,s="function"==typeof n;if(!s){var l,c=[],u=0;this.on("error",function(e){l=e});do{var d=this._binding.writeSync(t,e,a,r,this._buffer,this._offset,i)}while(!this._hadError&&p(d[0],d[1]));if(this._hadError)throw l;var h=qn.concat(c,u);return this.close(),h}var f=this._binding.write(t,e,a,r,this._buffer,this._offset,i);function p(l,d){if(!o._hadError){var h=i-d;if(function(e,t){if(!e)throw Error(t)}(h>=0,"have should not go down"),h>0){var f=o._buffer.slice(o._offset,o._offset+h);o._offset+=h,s?o.push(f):(c.push(f),u+=f.length)}if(0!==d&&o._chunkSize>o._offset||(i=o._chunkSize,o._offset=0,o._buffer=new qn(o._chunkSize)),0===d){if(a+=r-l,r=l,!s)return!0;var g=o._binding.write(t,e,a,r,o._buffer,o._offset,o._chunkSize);return g.callback=p,void(g.buffer=e)}if(!s)return!1;n()}}f.buffer=e,f.callback=p},Vr(Xo,as),Vr(Qo,as),Vr(es,as),Vr(ts,as),Vr(ns,as),Vr(rs,as),Vr(is,as);var os={codes:Yo,createDeflate:function(e){return new Xo(e)},createInflate:function(e){return new Qo(e)},createDeflateRaw:function(e){return new ns(e)},createInflateRaw:function(e){return new rs(e)},createGzip:function(e){return new es(e)},createGunzip:function(e){return new ts(e)},createUnzip:function(e){return new is(e)},deflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),Jo(new Xo(t),e,n)},deflateSync:function(e,t){return Ko(new Xo(t),e)},gzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),Jo(new es(t),e,n)},gzipSync:function(e,t){return Ko(new es(t),e)},deflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),Jo(new ns(t),e,n)},deflateRawSync:function(e,t){return Ko(new ns(t),e)},unzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),Jo(new is(t),e,n)},unzipSync:function(e,t){return Ko(new is(t),e)},inflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),Jo(new Qo(t),e,n)},inflateSync:function(e,t){return Ko(new Qo(t),e)},gunzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),Jo(new ts(t),e,n)},gunzipSync:function(e,t){return Ko(new ts(t),e)},inflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),Jo(new rs(t),e,n)},inflateRawSync:function(e,t){return Ko(new rs(t),e)},Deflate:Xo,Inflate:Qo,Gzip:es,Gunzip:ts,DeflateRaw:ns,InflateRaw:rs,Unzip:is,Zlib:as};function ss(e,t,n){var r=(3&e)<<4|t>>4,i=(15&t)<<2|n>>6,a=63&n,o="";return o+=ls(63&e>>2),o+=ls(63&r),o+=ls(63&i),o+=ls(63&a)}function ls(e){return 10>e?String.fromCharCode(48+e):26>(e-=10)?String.fromCharCode(65+e):26>(e-=26)?String.fromCharCode(97+e):0==(e-=26)?"-":1==e?"_":"?"}function cs(e){var t=e.charCodeAt(0);return"_"===e?63:"-"===e?62:97>t?65>t?48>t?"?":t-48:t-55:t-61}function us(e){var t=cs(e[0]),n=cs(e[1]),r=cs(e[2]);return[t<<2|n>>4&63,n<<4&240|r>>2&15,r<<6&192|63&cs(e[3])]}function ds(e){return function(e){for(var t="",n=0;e.length>n;n+=3)t+=n+2==e.length?ss(e.charCodeAt(n),e.charCodeAt(n+1),0):n+1==e.length?ss(e.charCodeAt(n),0,0):ss(e.charCodeAt(n),e.charCodeAt(n+1),e.charCodeAt(n+2));return t}(os.deflateRawSync(e,{level:9}).toString("binary"))}function hs(e){return""+os.inflateRawSync(qn.from(function(e){var t="",n=0;for(n=0;e.length>n;n+=4){var r=us(e.substring(n,n+4));t+=String.fromCharCode(r[0]),t+=String.fromCharCode(r[1]),t+=String.fromCharCode(r[2])}return t}(e),"binary"))}var fs={encodeuml:function(e){var t="@startuml",n="@enduml";return ds("".concat(t).concat((e.split(t)[1]+"").split(n)[0]||"").concat(n))},decodeuml:function(e){return hs(e)}},ps="svg",gs={};var ms=0;function vs(e,t){return new Promise(function(n){var r=[],i=[];e.forEach(function(e){var n=function(e,t){var n=F.createElementMeta("PlantUML",e,!0);if(n&&n.data){var r=gs[n.hash];if(!r)return function(r){var i=t.imageFormat;if("svg"!==i){var a=e.style.cssText;a.length>0&&(a=' style="'.concat(a,'"'));var o=window&&window.location.protocol,s=("http:"===o||"https:"===o?"//":"https://")+t.umlWebSite,l=i!==ps?".".concat(i):"",c=fs.encodeuml(code),u="".concat(s,"/").concat(i,"/").concat(c).concat(l);return e.parentNode.outerHTML='<div id="'.concat(n.id,'" class="').concat(n.className,'"').concat(a,"><img src='").concat(u,"' alt=''></img></div>"),r(!0)}if("function"==typeof t.svgRender&&t.svgRender)try{t.svgRender(n.id,n.data,{count:ms}).then(function(t){var i=document.createElement("div");i.id=n.id,i.className=n.className,e.style.cssText.length>0&&(i.style=e.style.cssText),i.innerHTML=t,e.parentNode.replaceWith(i),gs[n.hash]=i,r(!0)})}catch(e){r(!1)}else if(window&&window.fetch){var d=window.location&&window.location.protocol,h=("http:"===d||"https:"===d?"//":"https://")+t.umlWebSite,f=i!==ps?".".concat(i):"",p=fs.encodeuml(n.data),g="".concat(h,"/").concat(i,"/").concat(p).concat(f);try{window.fetch(g).then(function(e){if("string"==typeof e)return e;if(e.ok)return e.text();throw Error("RequestError: ".concat(e.status))}).then(function(t){var i=document.createElement("div");i.id=n.id,i.className=n.className,e.style.cssText.length>0&&(i.style=e.style.cssText),i.innerHTML=t,e.parentNode.replaceWith(i),gs[n.hash]=i,r(!0)}).catch(function(e){r(!1)})}catch(e){r(!1)}}else r(!1)};e.parentNode.replaceWith(r)}}(e,t);n&&i.push(n)}),ms=i.length,i.forEach(function(e){r.push(new Promise(e))}),Promise.all(r).then(function(){n(!0)})})}function ws(e){var t=function(){return a({umlWebSite:"www.plantuml.com/plantuml",imageFormat:ps,svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.plantuml.language-plantuml");return!!n.length&&vs(n,this.config).then(function(){var n;return n=t,Object.keys(gs).forEach(function(e){n.querySelector('[id*="-'.concat(e,'"]'))||delete gs[e]}),e})}}]}var bs="railroad";if("undefined"==typeof window)throw Error("The showdown railroad extension can only be used in browser environment!");var _s=!1;function ys(){return _s}var ks,xs=!1;function Es(e,t){if(ys()){var n=t.id,r=t.className,i=window.eval(t.data).format(),a=t.element.ownerDocument,o=t.element.style.cssText;return o.length>0&&(o=' style="'.concat(o,'"')),t.element.parentNode.outerHTML='<div id="'.concat(n,'" class="').concat(r,'"').concat(o,"></div>"),i.addTo(a.getElementById(n)),e(!0)}setTimeout(function(){Es(e,t)},10)}function Ss(e){return new Promise(function(t){var n=F.createElementMeta(bs,e);if(!n||!n.data)return t(!1);Es(t,n)})}function Ls(e){return function(){var e=ys();if("undefined"!=typeof window){if(xs)return e;e||(xs=!0,I.loadScript(bs).then(function(){_s=!0}).catch(function(e){}))}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(Ss(e))}),Promise.all(n).then(function(){t(!0)})})}if("undefined"==typeof window)throw Error("The showdown sequence extension can only be used in browser environment!");if(void 0===As)var As=window.Raphael||void 0;if("undefined"!=typeof window&&window.Diagram&&(ks=window.Diagram,window.Diagram.Signal))var js=window.Diagram;var Cs=["simple","hand"];if(void 0===js&&"undefined"!=typeof window)js=window.SequenceJS;function Ps(){return!!As}function zs(){return Ps()&&!!js}var Ms=!1;function Ts(e){var t=F.createElementMeta("sequence",e);if(t&&t.data){var n=function(){var e=zs();if("undefined"!=typeof window){if(Ms)return e;e||(Ms=!0,I.loadScript("WebFont").then(function(){return Ps()?"Raphael":I.loadScript("Raphael")}).then(function(e){return As=F.interopDefault(window[e]),I.loadScript("Snap")}).then(function(){return I.loadScript("underscore")}).then(function(){return!ks&&window.Diagram&&(ks=window.Diagram),I.loadScript("sequence")}).then(function(){js=window.Diagram,window.SequenceJS=js,ks&&(window.Diagram=ks)}).catch(function(e){}))}return e}(),r=t.data;e.classList.replace("sequence","js-sequence"),!n&&"undefined"!=typeof window&&window.dispatchEvent?Promise.resolve(t.id).then(function(n){window.dispatchEvent(new CustomEvent("sequence",{detail:{id:e.id,className:e.className,data:r,lang:t.lang}}))}):"undefined"!=typeof window&&window.dispatchEvent&&window.dispatchEvent(new CustomEvent("sequence",{detail:{id:e.id,className:e.className,data:r,lang:t.lang}}))}}function Os(e){if(zs()){var t=e.id,n=e.className,r=e.data,i=e.lang;if(!r||0===r.length)return;var a="hand";i&&i.theme&&-1!=Cs.indexOf(i.theme)&&(a=i.theme);var o=window.document.getElementById(t);if(o)return o.parentNode.outerHTML='<div id="'.concat(t,'" class="').concat(n,'"></div>'),o=window.document.getElementById(t),void js.parse(r).drawSVG(o||t,{theme:a})}setTimeout(function(){Os(e)},10)}function Rs(){var e=!1;return[{type:"output",filter:function(t){if("string"==typeof t){var n=(new DOMParser).parseFromString(t,"text/html"),r=void 0!==n.body?n.body:n,i=r.querySelectorAll("code.sequence.language-sequence");return i.length&&(e||"undefined"!=typeof window&&window.dispatchEvent&&(e=!0,window.addEventListener("sequence",function(e){e.detail&&Os(e.detail)})),this.config={cssLink:I.getCSS(!0,"sequence")}),function(e){return!!e.length&&(e.forEach(function(e){Ts(e)}),!0)}(i)?r.innerHTML:t}if(!t||!t.wrapper)return!1;var a=t;return a.wrapper.querySelectorAll("code.sequence.language-sequence").length>0&&F.addCssLink(a,I.getCSS(!0,"sequence"),"css-sequence"),a}}]}if("undefined"==typeof window)throw Error("The showdown wavedrom extension can only be used in browser environment!");if(void 0===Ns)var Ns=window.WaveDrom||void 0;var Bs=0,Is=0;function Ds(){return!!Ns}var qs=!1;function Hs(e,t){if(Ds()){var n=t.index,r=t.id,i=t.className,a=t.data;if(!a||0===a.length)return e(!1);var o=t.element;return o.parentNode.outerHTML=F.renderCacheElement(o.ownerDocument,r+n,i,function(e){var t=window.eval("(".concat(a,")"));Ns.RenderWaveForm(n,t,r);var i=document.getElementById("WaveDrom_Display_"+n);if(e!=i)for(;i.childNodes.length;)e.appendChild(i.removeChild(i.childNodes[0]))}),e(!0)}setTimeout(function(){Hs(e,t)},10)}function Us(e){return new Promise(function(t){var n=e.dataset.lang,r=n?JSON.parse(n):null,i="";if(r){if("boolean"==typeof r.codeblock&&r.codeblock||"string"==typeof r.codeblock&&"true"===r.codeblock.toLowerCase())return t(!1);r.align&&("center"===r.align?i="diagram-center":"right"===r.align&&(i="diagram-right"))}var a=e.textContent.trim();if(0===a.length)return t(!1);var o=(e.classList.length>0?e.classList[0]:"")+(e.className&&i?" ":"")+i,s=Is;++Is,--Bs||(Is=0);var l="WaveDrom_Display_";e.id=l+s,Hs(t,{element:e,index:s,id:l,className:o,data:a})})}function Fs(e,t){return function(e){var t=Ds();qs||t||(qs=!0,"undefined"!=typeof window&&I.loadScript("WaveDrom","default","",e).then(function(e){Ns=F.interopDefault(window[e])}).catch(function(e){}))}(t),new Promise(function(t){var n=[];Bs=e.length,e.forEach(function(e){n.push(Us(e))}),Promise.all(n).then(function(){t(!0)})})}function Zs(e){var t=function(){return a({skin:"default"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.wavedrom.language-wavedrom");return!!n.length&&(E("Begin render wavedrom elements."),Fs(n,this.config.skin).then(function(){return E("End render wavedrom elements."),e}))}}]}if("undefined"==typeof window)throw Error("The showdown flowchart extension can only be used in browser environment!");if(void 0===$s)var $s=window.Raphael||void 0;if(void 0===Ws)var Ws=window.flowchart||void 0;function Vs(){return!(void 0===$s||!$s||void 0===Ws||!Ws)}var Gs=!1;function Ys(){var e=Vs();if("undefined"!=typeof window){if(Gs)return e;if(!e){if(Gs=!0,!$s)return I.loadScript("Raphael").then(function(e){return $s=F.interopDefault(window[e]),I.loadScript("flowchart")}).then(function(e){Ws=F.interopDefault(window[e])}).catch(function(e){}),e;I.loadScript("flowchart").then(function(e){Ws=F.interopDefault(window[e])}).catch(function(e){})}}return e}function Js(e,t){if(Vs()){var n=t.id,r=t.className,i=t.data;if(!i||0===i.length)return e(!1);var a=t.options;return t.element.parentNode.outerHTML=F.renderCacheElement(t.element.ownerDocument,n,r,function(e){Ws.parse(i).drawSVG(e,a)}),void e(!0)}setTimeout(function(){Js(e,t)},10)}function Ks(e,t){return new Promise(function(n){var r=F.createElementMeta("flowchart",e);if(!r||!r.data)return n(!1);r.options=t,Js(n,r)})}function Xs(e){var t=function(){return a({"line-width":3,maxWidth:3,"line-length":50,"text-margin":10,"font-size":14,font:"normal","font-family":"Helvetica","font-weight":"normal","font-color":"black","line-color":"black","element-color":"black",fill:"white","yes-text":"yes","no-text":"no","arrow-end":"block",scale:1,symbols:{start:{"font-color":"red","element-color":"green",fill:"yellow"},end:{class:"end-element"}},flowstate:{past:{fill:"#CCCCCC","font-size":12},current:{fill:"yellow","font-color":"red","font-weight":"bold"},future:{fill:"#FFFF99"},request:{fill:"blue"},invalid:{fill:"#444444"},approved:{fill:"#58C4A3","font-size":12,"yes-text":"APPROVED","no-text":"n/a"},rejected:{fill:"#C45879","font-size":12,"yes-text":"n/a","no-text":"REJECTED"}}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.flowchart.language-flowchart"),r=t.querySelectorAll("code.flow.language-flow");return!(!n.length&&!r.length)&&function(e,t,n){return Ys(),new Promise(function(r){var i=[];e.forEach(function(e){i.push(Ks(e,n))}),t.forEach(function(e){i.push(Ks(e,n))}),Promise.all(i).then(function(){r(!0)})})}(n,r,this.config).then(function(){return e})}}]}var Qs=function(){return n(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,"events",{})},[{key:"on",value:function(e,t){this.events[e]||(this.events[e]=new Set),this.events[e].add(t)}},{key:"off",value:function(e,t){var n;null===(n=this.events[e])||void 0===n||n.delete(t)}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];var i=0,a=this.events[e];return a&&a.forEach(function(e){e.apply(void 0,n),i++}),i}}])}(),el=new Qs;function tl(e){switch(e){case"tip":case"提示":return"tip";case"info":case"信息":return"info";case"warning":case"警告":return"warning";case"error":case"错误":return"error";case"danger":case"危险":return"danger";case"summary":case"概要":return"summary";case"tldr":case"摘要":return"tldr";case"abstract":case"抽象":return"abstract";case"todo":case"待办":return"todo";case"hint":case"小窍门":return"hint";case"success":case"成功":return"success";case"check":case"检测":return"check";case"done":case"完成":return"done";case"help":case"帮助":return"help";case"question":case"问题":return"question";case"faq":case"问答":return"faq";case"attention":case"关注":return"attention";case"caution":case"提醒":return"caution";case"failure":case"故障":return"failure";case"fail":case"失败":return"fail";case"missing":case"缺失":return"missing";case"bug":case"缺陷":return"bug";case"example":case"示例":return"example";case"snippet":case"片段":return"snippet";case"quote":case"引用":return"quote";case"cite":case"引文":return"cite";case"important":case"重点":return"important";case"key":case"要点":return"key";case"container":case"容器":return"container";case"row":case"行":return"row";case"col":case"列":return"col";default:return e}}function nl(e,t,n){if(!e)return t;var r=e.match(/(?:[^\s"']+|"[^"]*"|'[^']*')+/g).map(function(e){return e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'")?e.slice(1,-1):e}),i=null!=t?t:{};return r.forEach(function(e){if(e)if("#"===e[0]||"."===e[0]){var t=e.split(".");"#"===t[0][0]&&(i.id=t[0].substring(1),t.shift()),t.length>0&&(i.classList||(i.classList=[]),t.forEach(n&&0!==n.length?function(e){if(e){if(!i.style){var t=tl(e);t&&(i.style=t)}n.includes(e)||i.classList.includes(e)||i.classList.push(e)}}:function(e){e&&!i.classList.includes(e)&&i.classList.push(e)}))}else{var r=e.split("=");i.attribute||(i.attribute={});var a=r[0].toLowerCase();if(r.length>1){if("id"!==a&&"class"!==a){var o=r[1];o="true"===o.toLowerCase()||"false"!==o.toLowerCase()&&(isNaN(o)?o.replace(/^(['"]{0,1})(.*)\1$/,"$2"):Number(o)),i.attribute[a]=o}}else i.attribute[a]=void 0}}),i}function rl(e){if(!e)return"";for(var t="",n=0,r=Object.entries(e);r.length>n;n++){var i=l(r[n],2),a=i[1];switch(t+=" "+i[0],d(a)){case"boolean":t+="true";break;case"number":t+="="+"".concat(a);break;case"undefined":break;default:t+="="+'"'.concat(a,'"')}}return t}var il="resetImagePath";function al(e){return new Promise(function(t){var n=[];e.forEach(function(e){n.push(function(e){return new Promise(function(t){var n=e.dataset.src;if(!n)return t(!1);var r="image-"+Date.now()+Math.floor(1e4*Math.random()),i=function(r){r||(r=n),e.src=r,delete e.dataset.src,t(!0)};el.emit(il,r,n,i)||i(n)})}(e))}),Promise.all(n).then(function(){t(!0)})})}var ol={};ol[il]=il;var sl=function(){return a({flavor:"github",metadata:!0,underline:!1,mathEngine:"mathjax"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},ll=function(e,t){var n=null;try{n=w.extension(e)}catch(e){}return n||t},cl=function(e,t,n,r){if(!t||!n||"undefined"==typeof document)return!1;e&&"string"==typeof e&&(e=document.querySelector(e)),e||(e=document.getElementById(t))||(e=document.body);var i=e.tagName,a="script-".concat(t),o=document.querySelector("".concat(i," > #").concat(a));return o||((o=document.createElement("script")).id=a,o.type=r?"module":"text/javascript",o.text=n,e.appendChild(o)),!0},ul=function(e,t,n,r){if(!t||!n||"undefined"==typeof document)return!1;e&&"string"==typeof e&&(e=document.querySelector(e)),e||(e=document.getElementById(t))||(e=document.body);var i=e.tagName,a="script-".concat(t),o=document.querySelector("".concat(i," > #").concat(a));return o||((o=document.createElement("script")).id=a,o.type=r?"module":"text/javascript",o.text=n,e.insertBefore(o,e.children[0])),!0};function dl(e,t,n){return new Promise(function(r,i){e&&t&&"undefined"!=typeof document||i("Args is invaild!");var a=e.toLowerCase(),o="script-"+a,s=document.getElementById(o);if(s)return r(e);var l=document.head||document.getElementsByTagName("head")[0];if((s=document.createElement("script")).id=o,n&&(s.type="module","string"==typeof n&&"import"===n))return s.textContent="import * as ".concat(a," from '").concat(t,"';\nif (!('").concat(nativeName,"' in window)) {\n if ('default' in ").concat(a," && ").concat(a,"['default']) {\n window['").concat(nativeName,"'] = ").concat(a,"['default']\n } else {\n window['").concat(nativeName,"'] = ").concat(a,";\n }\n}"),l.appendChild(s),r(e);s.src=t,s.onload=function(){r(e)},l.appendChild(s)})}var hl=function(e,t,n){var r=t;if(e.host&&(r="string"==typeof e.host?document.querySelector(e.host):e.host),!e.inner){if(!e.code)return!1;if("function"==typeof e.code){var i=e.code;return n?(n.then(function(){i()}),!0):(i(),!0)}return n?(n.then(function(){cl(r,e.id,e.code,e.module)}),!0):cl(r,e.id,e.code,e.module)}if(w.helper.isArray(e.inner)||(e.inner=[e.inner]),e.code)if("function"==typeof e.code){var a=e.code;n?n.then(function(){a()}):a()}else n?n.then(function(){ul(r,e.id,e.code,e.module)}):ul(r,e.id,e.code,e.module);if(e.inner.length>0)for(var o=function(){var t=e.inner[s];if(!t.code)return 0;if("function"==typeof t.code){var i=t.code;return n?n.then(function(){i()}):i(),0}var a=r;if(t.host&&(a="string"==typeof t.host?document.querySelector(t.host):t.host),n)return n.then(function(){cl(a,t.id,t.code,t.module)}),0;cl(a,t.id,t.code,t.module)},s=0;e.inner.length>s;++s)o();return!0},fl=["github","ghost","vanilla","original","allon"],pl=["mathjax","katex"],gl={showdown:w,converter:null,eventBus:el,defaultOptions:{showdown:sl(),toc:{},plantuml:{imageFormat:"svg"},mermaid:{theme:"default"},mathjax:{},katex:{},kroki:{},vega:{theme:"vox"},shiki:{}},defaultExtensions:{},defaultAsyncExtensions:{},markdownDecodeFilter:function(e){return""},initDefaultOptions:function(){this.defaultOptions||(this.defaultOptions={showdown:{},toc:{},plantuml:{},mermaid:{},mathjax:{},katex:{},kroki:{},vega:{},shiki:{}})},onEvent:function(e,t){ol[e]&&el.on(ol[e],t)},setFlavor:function(e){this.showdown.setFlavor(e),this.converter&&this.converter.setFlavor(e)},getMetaData:function(){if(!this.converter)return null;var e=this.converter.getMetadata(!1);return e.raw=this.converter.getMetadata(!0),e.format=this.converter.getMetadataFormat(),e},addOptions:function(e){for(var t in e)"flavor"!==t&&"mathEngine"!==t&&(this.showdown.setOption(t,e[t]),this.converter&&this.converter.setOption(t,e[t]))},addExtension:function(e,t){if(this.removeExtension(e),"string"==typeof e)try{w.extension(e,t),this.converter&&this.converter.addExtension(e)}catch(e){}},removeExtension:function(e){if("string"==typeof e){if(this.converter){var t=null;try{t=w.extension(e)}catch(e){}if(!t)return;this.converter.removeExtension(t)}w.removeExtension(e)}},addAsyncExtension:function(e,t){if(this.removeAsyncExtension(e),"string"==typeof e)try{w.asyncExtension(e,t),this.converter&&this.converter.addAsyncExtension(e)}catch(e){}},removeAsyncExtension:function(e){if("string"==typeof e){if(this.converter){var t=null;try{t=w.asyncExtension(e)}catch(e){}if(!t)return;this.converter.removeAsyncExtension(t)}w.removeAsyncExtension(e)}},setCDN:function(e,t,n,r){"string"==typeof e&&e&&I.setCDN(e,t,n,r)},setShowdownFlavor:function(e){this.initDefaultOptions(),e&&(-1===fl.indexOf(e)&&(e="github"),this.defaultOptions.showdown.flavor=e,this.setFlavor(e))},setMathEngine:function(e){this.initDefaultOptions(),e&&(-1===pl.indexOf(e)&&(e="mathjax"),this.defaultOptions.showdown.mathEngine=e,this.setExtensionOptions("katex",{engine:e}),this.setExtensionOptions("mathjax",{engine:e}))},setLanuageTheme:function(e){this.initDefaultOptions(),e&&(this.defaultOptions.shiki.theme=e,this.setExtensionOptions("shiki",{theme:e}))},setShowdownOptions:function(e){return this.initDefaultOptions(),"object"===d(e)&&e||(e={}),this.defaultOptions.showdown=Object.assign(this.defaultOptions.showdown||{},e),this.setShowdownFlavor(this.defaultOptions.showdown.flavor),this.setMathEngine(this.defaultOptions.showdown.mathEngine),this.addOptions(this.defaultOptions.showdown),this.defaultOptions.showdown},setExtensionOptions:function(e,t){if(!t||"object"!==d(t))return!1;var n=function(e,t){var n=null;try{n=w.asyncExtension(e)}catch(e){}return n||t}(e="showdown-".concat(e));if(!n&&!(n=ll(e)))return!1;if(!n.length)return!1;for(var r=0;n.length>r;r++){var i=n[r];if(i&&"output"===i.type&&i.config)return U(i.config,t),!0}return!1},setPlantumlOptions:function(e){return this.setExtensionOptions("plantuml",e)},setMermaidOptions:function(e){return this.setExtensionOptions("mermaid",e)},setKatexOptions:function(e){return this.setExtensionOptions("katex",e)},setKrokiOptions:function(e){return this.setExtensionOptions("kroki",e)},setVegaOptions:function(e){return this.setExtensionOptions("vega",e)},init:function(e){if(this.converter){var t={};if("object"===d(t="boolean"==typeof e&&e?{option:!0,extension:!0}:e)){if(t.hasOwnProperty("option")&&t.option){var n=sl(this.defaultOptions&&this.defaultOptions.showdown||{});this.setFlavor(n.flavor),this.setMathEngine(n.mathEngine),this.addOptions(n)}if(t.hasOwnProperty("extension")&&t.extension)for(var r in this.defaultOptions){var i=l(r,2),o=i[0];"showdown"!==o&&this.setExtensionOptions(o,i[1])}}}else{var s=sl(this.defaultOptions&&this.defaultOptions.showdown||{}),c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a({"showdown-toc":he(e.toc),"showdown-image":[{type:"listener",listeners:{"images.after":function(e,t){return t.replace(/!\[\[([^\[\]]*)\]\](?:\{([^\{\}]*)\})?/gm,function(e,t,n){return n||(n=""),'<img class="inline-image" data-src="'.concat(t,'" ').concat(n,"/>")})}}}],"showdown-align":(t=new DOMParser,[{type:"output",filter:function(e){var n=t.parseFromString(e,"text/html"),r=void 0!==n.body?n.body:n;return function(e){for(var t=null,n=null,r=!1,i=e.querySelectorAll("p, li, h1, h2, h3, h4, h5, h6, div.paragraph"),a=0;i.length>a;a++)for(n=(t=i[a]).firstChild;n;){if(3===n.nodeType){var o=n.nodeValue.match(/^([\s\S]*?)([:-]-:)(?:[\s]?)([\s\S]*)$/);o&&(":-:"===o[2]?(n.nodeValue=o[3],t.className?t.className+=" align-center":t.className="align-center",r=!0):"--:"===o[2]&&(n.nodeValue=o[3],t.className?t.className+=" align-right":t.className="align-right",r=!0));break}n=n.nextSibling}return r}(r)?r.innerHTML:e}}]),"showdown-footnotes":[{type:"lang",filter:function(e,t){return e.replace(/^\[\^([\d\w]+)\]:\s*((\n+(\s{2,4}|\t).+)+)$/gm,function(e,n,r,i,a){var o=t.makeHtml(r.replace(RegExp("^".concat(a),"gm"),""));return'<div class="footnote" id="footnote-'.concat(n,'"><a href="#footnote-').concat(n,'"><sup>[').concat(n,"]</sup></a>:").concat(o,"</div>")})}},{type:"lang",filter:function(e){return e.replace(/^\[\^([\d\w]+)\]:( |\n)((.+\n)*.+)$/gm,function(e,t,n,r){return'<small class="footnote" id="footnote-'.concat(t,'"><a href="#footnote-').concat(t,'"><sup>[').concat(t,"]</sup></a>: ").concat(r,"</small>")})}},{type:"lang",filter:function(e){return e.replace(/([^\\])\[\^([\d\w]+)\]/gm,function(e,t,n){return"".concat(t,'<a href="#footnote-').concat(n,'"><sup>[').concat(n,"]</sup></a>")})}},{type:"lang",filter:function(e){return e.replace(/\\\[\^([\d\w]+)\]/gm,function(e,t){return"[^".concat(t,"]")})}}],"showdown-directive":[{type:"listener",listeners:{"blockGamut.before":function(e,t,n,r,i){return t=n._dispatch("directive.before",t,r,i),t=(t=(t=(t=(t=(t+="¨0").replace(/^!!! ((?:[^"\n]+[ \t]+)*)(?:"([^"\n]+)")?[ \t]*\n((?:(?: |\t)[^\r\n]*(?:\n|$)|\n)*)/gm,function(e,t,n,a){var o={classList:["admonition"]},s=(t=t.toLowerCase()).split(" ");if(s.includes("alert")||s.includes("note")||o.classList.push("note"),s.forEach(function(e,t){if(e){if(!o.style){var n=tl(e);n&&(o.style=n)}o.classList.includes(e)||o.classList.push(e)}}),o.style||(o.style="default"),o.classList.includes(o.style)||o.classList.push(o.style),n)n=w.subParser("spanGamut")(n,r,i),n='<div class="admonition-title">'.concat(n,"</div>");else{var l=o.style?ae.getLangString(o.style,o.style):ae.getLangString("note","note");n='<div class="admonition-title">'.concat(l,"</div>")}if(a){var c=a.split("\n");c.forEach(function(e,t){e&&(c[t]=e.substring("\t"===e[0]?1:4))}),a=w.subParser("githubCodeBlocks")(c.join("\n"),r,i),a=w.subParser("blockGamut")(a,r,i),a='<div class="admonition-content">'.concat(a,"</div>")}else a="";var u='<div class="'.concat(o.classList.join(" "),'">').concat(n).concat(a,"</div>");return w.subParser("hashBlock")(u,r,i)})).replace(/^ {0,3}((?::::+)|(?:!!!+))[ \t]*([-\w]*)[ \t]*(?:([^\f\v\r\n\[\]\{\}]*)|(?:\[([^\[\]]*)\])?[ \t]*(?:\{([^\{\}]*)\})?)[: \t]*\n([\s\S]*?)\n {0,3}\1[:! \t]*(?:¨0)?$/gm,function(e,t,n,a,o,s,l){(n=n.toLowerCase())||(n="container");var c={classList:[]},u="",d="",h="";if(a||!o&&!s){var f=n.split("-");n=f[0],f.forEach(function(e,t){if(t>0&&e){if(!c.style){var n=tl(e);n&&(c.style=n)}c.classList.includes(e)||c.classList.push(e)}}),o=a}var p=!1;switch(n){case"note":case"备注":p=!0,c.type="admonition",h=ae.getLangString("note","note"),c.classList.unshift("admonition","note"),nl(s,c,["alert","container","row","col"]);break;case"alert":case"注意":p=!0,c.type="admonition",h=ae.getLangString("alert","alert"),c.classList.unshift("admonition","alert"),nl(s,c,["note","container","row","col"]);break;case"container":case"容器":c.type="container",nl(s,c),c.classList.unshift("container");break;case"row":case"行":c.type="row",nl(s,c),c.classList.unshift("row");break;case"col":case"列":c.type="col",nl(s,c),c.classList.unshift("col");break;default:p=!0,c.type="admonition",c.style=tl(n),nl(s,c,["container","row","col"]),c.classList.includes("alert")||c.classList.includes("note")?c.classList.unshift("admonition"):c.classList.unshift("admonition","note")}if(p&&(c.style||(c.style="default"),c.classList.includes(c.style)||c.classList.push(c.style)),o)o=w.subParser("spanGamut")(o,r,i),o='<div class="'.concat(c.type,'-title">').concat(o,"</div>");else if(p){var g;h=null!==(g=h||!c.style)&&void 0!==g?g:ae.getLangString(c.style,c.style),o='<div class="admonition-title">'.concat(h,"</div>")}l?(l=w.subParser("githubCodeBlocks")(l,r,i),l=w.subParser("blockGamut")(l,r,i),l='<div class="'.concat(c.type,'-content">').concat(l,"</div>")):l="",c.id&&(u='id="'.concat(c.id,'" ')),c.attribute&&(d=rl(c.attribute));var m="<div ".concat(u,'class="').concat(c.classList.join(" "),'"').concat(d,">").concat(o).concat(l,"</div>");return w.subParser("hashBlock")(m,r,i)})).replace(/^ {0,3}(?<!:)::[ \t]*([-\w]+)[ \t]*(?:\[([^\[\]]*)\])?[ \t]*(?:\{([^\{\}]*)\})?[ \t]*(?:¨0)?$/gm,function(e,t,n,a){var o={};if(nl(a,o),"media"===t||"video"===t||"媒体"===t||"音视频"===t){if(!o.attribute||!o.attribute.src)return;var s="",l="",c="";n?(n=w.subParser("spanGamut")(n,r,i),n='<div class="media-title">'.concat(n,"</div>")):n="",o.id&&(s='id="'.concat(o.id,'"')),o.attribute&&(l=rl(o.attribute)),o.classList&&(c=' class="'.concat(o.classList.join(" "),'"'));var u="<iframe ".concat(s).concat(c).concat(l,">").concat(n,"}</iframe>");return w.subParser("hashBlock")(u,r,i)}if("css-link"===t){if(!o.attribute||!o.attribute.href)return;var d,h="";o.id&&(h='id="'.concat(o.id,'"')),d=rl(o.attribute);var f="<link ".concat(h).concat(d,">");return w.subParser("hashBlock")(f,r,i)}if("css"===t){if(!n)return;var p="",g="",m=n;o.id&&(p='id="'.concat(o.id,'"')),o.attribute&&(g=rl(o.attribute));var v="<style ".concat(p).concat(g,">").concat(m,"</style>");return w.subParser("hashBlock")(v,r,i)}var b="";if(el.emit("leafDirective",t,n,o,function(e){b=e})&&b)return w.subParser("hashBlock")(b,r,i)})).replace(/(?<!:):([-\w]+)\[([^\[\]]*)\](?:\{([^\{\}]*)\})?/g,function(e,t,n,a){var o={};nl(a,o);var s="",l="";o.id&&(s='id="'.concat(o.id,'"')),o.attribute&&(l=rl(o.attribute));var c="";return o.classList&&(c=' class="'.concat(o.classList.join(" "),'"')),n=n?w.subParser("spanGamut")(n,r,i):"",el.emit("textDirective",t,n,o,function(e){n=e})||(n="<".concat(t," ").concat(s).concat(c).concat(l,">").concat(n,"</").concat(t,">")),w.subParser("hashBlock")(n,r,i)})).replace(/¨0/,""),n._dispatch("directive.after",t,r,i)}}}],"showdown-sequence":Rs()},n),i=[];for(var o in r)r.hasOwnProperty(o)&&(w.extension(o,r[o]),i.push(o));return i}(this.defaultOptions,this.defaultExtensions),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e&&e.mermaid||{},r=e&&e.plantuml||{},i=e&&e.mathjax||{},o=e&&e.tex||{},s=e&&e.katex||{},l=e&&e.kroki||{},c=e&&e.vega||{},u=e&&e.shiki||{},d=e&&e.gnuplot||{},h=a(a({"showdown-toc":ll("showdown-toc",he),"showdown-image":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("img.inline-image");return!!n.length&&al(n).then(function(){return e})}}],"showdown-mermaid":En(n),"showdown-mathjax":nn(i),"showdown-katex":ft(s),"showdown-flowchart":Xs(),"showdown-viz":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.dot.language-dot");return!!n.length&&be(n).then(function(){return e})}}],"showdown-vega":Te(c),"showdown-wavedrom":Zs(),"showdown-railroad":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.railroad.language-railroad");return!!n.length&&(this.config={cssLink:I.getCSS(!0,bs)},F.addCssLink(e,this.config.cssLink,"css-railroad"),Ls(n).then(function(){return e}))}}],"showdown-abc":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.abc.language-abc");return!!n.length&&(this.config={cssLink:I.getCSS(!0,Z)},F.addCssLink(e,this.config.cssLink,"css-abc"),Q(n,e.scripts).then(function(){return e}))}}],"showdown-echarts":dn(),"showdown-plotly":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.plotly.language-plotly");return!!n.length&&Ht(n,e.scripts).then(function(){return e})}}],"showdown-antv":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.infographic.language-infographic");return!!n.length&&De(n).then(function(){return e})}}],"showdown-zenuml":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.zenuml.language-zenuml");return!!n.length&&Ot(n).then(function(){return e})}}],"showdown-sequence":ll("showdown-sequence",Rs),"showdown-plantuml":ws(r),"showdown-kroki":wt(l),"showdown-tex":Se(o),"showdown-gnuplot":Wt(d)},t),{},{"showdown-shiki":At(u),"showdow-css":[{type:"output",filter:function(e){var t="css-ex-";F.removeAllStylesheet(t);var n=e.wrapper;if(!n)return!1;var r=n.querySelectorAll("a");return!!r.length&&(r.forEach(function(n){try{if(n.href&&"string"==typeof n.href&&"css:"===n.href.substr(0,4)){var r=n.href.substr(4).trim(),i="".concat(F.hashString(r));F.addCssLink(e,r,t+i),n.parentNode&&"P"===n.parentNode.tagName&&n.parentNode.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n),r=I.getUrl(r),F.loadStylesheet(r,t+i)}}catch(e){}}),e)}}]}),f=[];for(var p in h)h.hasOwnProperty(p)&&(w.asyncExtension(p,h[p]),f.push(p));return f}(this.defaultOptions,this.defaultAsyncExtensions);this.setFlavor(s.flavor),this.setMathEngine(s.mathEngine),this.converter=new w.Converter({extensions:c}).initConvertExtObj(s.flavor,u),this.addOptions(s)}return this},makeHtml:function(e,t){var n="",r="html";if("object"===d(e)){if("string"==typeof e.content)if("string"==typeof e.type)if("zip"===e.type)n=this.zDecode(e.content);else n=this.markdownDecodeFilter(e)||e.content;else n=e.content;"dom"===e.output&&(r="dom")}else n=e;return this.converter&&n?this.converter.asyncMakeHtml(n).then(function(e){if("string"!=typeof e.html){if("undefined"!=typeof document&&"dom"===r){var t=[e.html];if(e.extras){var i="",a=e.extras;w.helper.isArray(a)||(a=[a]);for(var o=0;a.length>o;++o)"string"==typeof a[o]?i+=a[o]:t.push(a[o]);if(i.length>0){var s=document.createElement("div");s.innerHTML=i,t.push.apply(t,c(s.childNodes)),s.replaceChildren()}}return{html:t,scripts:e.scripts,cssLinks:e.cssLinks}}n=e.html.outerHTML}else n=e.html;if(e.extras){var l=e.extras;w.helper.isArray(l)||(l=[l]);for(var u=0;l.length>u;++u)n+="string"==typeof l[u]?l[u]:l.outerHTML}return{html:n,scripts:e.scripts,cssLinks:e.cssLinks}}):Promise.reject(n?"Converter is invaild.":"Content is empty.")},completedHtml:function(e,t){return w.helper.isArray(e)||(e=[e]),new Promise(function(n,r){"string"==typeof t&&(t=document.querySelector(t));for(var i,a=function(){var n=e[o];if(n.outer){w.helper.isArray(n.outer)||(n.outer=[n.outer]);for(var i=n.outer[0],a=dl(i.name,i.src,i.module),s=1;n.outer.length>s;++s)i=n.outer[s],a=a.then(function(){return dl(i.name,i.src,i.module)});return hl(n,t,a),0}if(!hl(n,t))return{v:r("Args is invaild!")}},o=0;e.length>o;++o)if(0!==(i=a())&&i)return i.v;n(!0)})},zDecode:function(e){return""+os.inflateRawSync(qn.from(e,"base64"))},zEncode:function(e){return os.deflateRawSync(e,{level:9}).toString("base64")}};return gl});
|
|
8
|
+
var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var o=Object.create((r&&r.prototype instanceof c?r:c).prototype);return s(o,"_invoke",function(n,r,i){var a,o,s,c=0,u=i||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return a=t,o=0,s=e,h.n=n,l}};function f(n,r){for(o=n,s=r,t=0;!d&&c&&!i&&u.length>t;t++){var i,a=u[t],f=h.p,p=a[2];n>3?(i=p===r)&&(s=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=e):f>=a[0]&&((i=2>n&&a[1]>f)?(o=0,h.v=r,h.n=a[1]):p>f&&(i=3>n||a[0]>r||r>p)&&(a[4]=n,a[5]=r,h.n=p,o=0))}if(i||n>1)return l;throw d=!0,r}return function(i,u,p){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,p),o=u,s=p;(t=2>o?e:s)||!d;){a||(o?3>o?(o>1&&(h.n=-1),f(o,s)):h.n=s:h.v=s);try{if(c=2,a){if(o||(i="next"),t=a[i]){if(!(t=t.call(a,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,2>o&&(o=0)}else 1===o&&(t=a.return)&&t.call(a),2>o&&(s=TypeError("The iterator does not provide a '"+i+"' method"),o=1);a=e}else if((t=(d=0>h.n)?s:n.call(r,h))!==l)break}catch(t){a=e,o=1,s=t}finally{c=1}}return{value:t,done:d}}}(n,i,a),!0),o}var l={};function c(){}function u(){}function d(){}t=Object.getPrototypeOf;var h=[][r]?t(t([][r]())):(s(t={},r,function(){return this}),t),f=d.prototype=c.prototype=Object.create(h);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,s(e,i,"GeneratorFunction")),e.prototype=Object.create(f),e}return u.prototype=d,s(f,"constructor",d),s(d,"constructor",u),u.displayName="GeneratorFunction",s(d,i,"GeneratorFunction"),s(f),s(f,i,"Generator"),s(f,r,function(){return this}),s(f,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:p}})()}function s(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}s=function(e,t,n,r){function a(t,n){s(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},s(e,t,n,r)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t);else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||h(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return e+""}(e,"string");return"symbol"==typeof t?t:t+""}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function h(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var p,g={exports:{}},m=g.exports;var v=(p||(p=1,function(e){(function(){function t(e){var 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:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",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"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r].defaultValue);return n}var n={},r={},i={},a=t(!0),o="vanilla",s={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!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,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:t(!0),allOn:function(){var e=t(!0),n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}()};function l(e,t){var r=t?"Error in "+t+" extension->":"Error in unnamed extension",i={valid:!0,error:""};n.helper.isArray(e)||(e=[e]);for(var a=0;e.length>a;++a){var o=r+" sub-extension "+a+": ",s=e[a];if("object"!=typeof s)return i.valid=!1,i.error=o+"must be an object, but "+typeof s+" given",i;if(!n.helper.isString(s.type))return i.valid=!1,i.error=o+'property "type" must be a string, but '+typeof s.type+" given",i;var l=s.type=s.type.toLowerCase();if("language"===l&&(l=s.type="lang"),"html"===l&&(l=s.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return i.valid=!1,i.error=o+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',i;if("listener"===l){if(n.helper.isUndefined(s.listeners))return i.valid=!1,i.error=o+'. Extensions of type "listener" must have a property called "listeners"',i}else if(n.helper.isUndefined(s.filter)&&n.helper.isUndefined(s.regex))return i.valid=!1,i.error=o+l+' extensions must define either a "regex" property or a "filter" method',i;if(s.listeners){if("object"!=typeof s.listeners)return i.valid=!1,i.error=o+'"listeners" property must be an object but '+typeof s.listeners+" given",i;for(var c in s.listeners)if(s.listeners.hasOwnProperty(c)&&"function"!=typeof s.listeners[c])return i.valid=!1,i.error=o+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+c+" must be a function but "+typeof s.listeners[c]+" given",i}if(s.filter){if("function"!=typeof s.filter)return i.valid=!1,i.error=o+'"filter" must be a function, but '+typeof s.filter+" given",i}else if(s.regex){if(n.helper.isString(s.regex)&&(s.regex=RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return i.valid=!1,i.error=o+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",i;if(n.helper.isUndefined(s.replace))return i.valid=!1,i.error=o+'"regex" extensions must implement a replace string or function',i}}return i}function c(e,t){return"¨E"+t.charCodeAt(0)+"E"}n.helper={},n.extensions={},n.setOption=function(e,t){return a[e]=t,this},n.getOption=function(e){return a[e]},n.getOptions=function(){return a},n.resetOptions=function(){a=t(!0)},n.setFlavor=function(e){if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");n.resetOptions();var t=s[e];for(var r in o=e,t)t.hasOwnProperty(r)&&(a[r]=t[r])},n.getFlavor=function(){return o},n.getFlavorOptions=function(e){if(s.hasOwnProperty(e))return s[e]},n.getDefaultOptions=function(e){return t(e)},n.subParser=function(e,t){if(n.helper.isString(e)){if(void 0===t){if(r.hasOwnProperty(e))return r[e];throw Error("SubParser named "+e+" not registered!")}r[e]=t}},n.extension=function(e,t){if(!n.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=n.helper.stdExtName(e),n.helper.isUndefined(t)){if(!i.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return i[e]}"function"==typeof t&&(t=t()),n.helper.isArray(t)||(t=[t]);var r=l(t,e);if(!r.valid)throw Error(r.error);i[e]=t},n.getAllExtensions=function(){return i},n.removeExtension=function(e){delete i[e]},n.resetExtensions=function(){i={}},n.validateExtension=function(e){return!!l(e,null).valid},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(e){return"string"==typeof e||e instanceof String},n.helper.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},n.helper.isArray=function(e){return Array.isArray(e)},n.helper.isUndefined=function(e){return void 0===e},n.helper.forEach=function(e,t){if(n.helper.isUndefined(e))throw Error("obj param is required");if(n.helper.isUndefined(t))throw Error("callback param is required");if(!n.helper.isFunction(t))throw Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(n.helper.isArray(e))for(var r=0;e.length>r;r++)t(e[r],r,e);else{if("object"!=typeof e)throw Error("obj does not seem to be an array or an iterable object");for(var i in e)e.hasOwnProperty(i)&&t(e[i],i,e)}},n.helper.stdExtName=function(e){return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},n.helper.escapeCharactersCallback=c,n.helper.escapeCharacters=function(e,t,n){var r="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(r="\\\\"+r);var i=RegExp(r,"g");return e=e.replace(i,c)},n.helper.unescapeHTMLEntities=function(e){return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var u=function(e,t,n,r){var i,a,o,s,l,c=r||"",u=c.indexOf("g")>-1,d=RegExp(t+"|"+n,"g"+c.replace(/g/g,"")),h=RegExp(t,c.replace(/g/g,"")),f=[];do{for(i=0;o=d.exec(e);)if(h.test(o[0]))i++||(s=(a=d.lastIndex)-o[0].length);else if(i&&! --i&&(f.push({left:{start:s,end:a},match:{start:a,end:o.index},right:{start:o.index,end:l=o.index+o[0].length},wholeMatch:{start:s,end:l}}),!u))return f}while(i&&(d.lastIndex=a));return f};n.helper.matchRecursiveRegExp=function(e,t,n,r){for(var i=u(e,t,n,r),a=[],o=0;i.length>o;++o)a.push([e.slice(i[o].wholeMatch.start,i[o].wholeMatch.end),e.slice(i[o].match.start,i[o].match.end),e.slice(i[o].left.start,i[o].left.end),e.slice(i[o].right.start,i[o].right.end)]);return a},n.helper.replaceRecursiveRegExp=function(e,t,r,i,a){if(!n.helper.isFunction(t)){var o=t;t=function(){return o}}var s=u(e,r,i,a),l=e,c=s.length;if(c>0){var d=[];0!==s[0].wholeMatch.start&&d.push(e.slice(0,s[0].wholeMatch.start));for(var h=0;c>h;++h)d.push(t(e.slice(s[h].wholeMatch.start,s[h].wholeMatch.end),e.slice(s[h].match.start,s[h].match.end),e.slice(s[h].left.start,s[h].left.end),e.slice(s[h].right.start,s[h].right.end))),c-1>h&&d.push(e.slice(s[h].wholeMatch.end,s[h+1].wholeMatch.start));e.length>s[c-1].wholeMatch.end&&d.push(e.slice(s[c-1].wholeMatch.end)),l=d.join("")}return l},n.helper.regexIndexOf=function(e,t,r){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==0)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var i=e.substring(r||0).search(t);return 0>i?i:i+(r||0)},n.helper.splitAtIndex=function(e,t){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},n.helper.encodeEmailAddress=function(e){var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},n.helper.padEnd=function(e,t,n){return n=(n||" ")+"",e.length>(t|=0)?e+"":((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),e+""+n.slice(0,t))},void 0===console&&(console={warn:function(e){alert(e)},log:function(e){alert(e)},error:function(e){throw e}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",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:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",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:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",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:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",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_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:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",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_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_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",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:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",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_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",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_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},n.Converter=function(e){var t={},r=[],c=[],u={},d=o,h={parsed:{},raw:"",format:""};function f(e,t){if(t=t||null,n.helper.isString(e)){if(t=e=n.helper.stdExtName(e),n.extensions[e])return void function(e,t){"function"==typeof e&&(e=e(new n.Converter)),n.helper.isArray(e)||(e=[e]);var i=l(e,t);if(!i.valid)throw Error(i.error);for(var a=0;e.length>a;++a)switch(e[a].type){case"lang":r.push(e[a]);break;case"output":c.push(e[a]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(n.extensions[e],e);if(n.helper.isUndefined(i[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=i[e]}"function"==typeof e&&(e=e()),n.helper.isArray(e)||(e=[e]);var a=l(e,t);if(!a.valid)throw Error(a.error);for(var o=0;e.length>o;++o){switch(e[o].type){case"lang":r.push(e[o]);break;case"output":c.push(e[o])}if(e[o].hasOwnProperty("listeners"))for(var s in e[o].listeners)e[o].listeners.hasOwnProperty(s)&&p(s,e[o].listeners[s])}}function p(e,t){if(!n.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");u.hasOwnProperty(e)||(u[e]=[]),u[e].push(t)}!function(){for(var r in e=e||{},a)a.hasOwnProperty(r)&&(t[r]=a[r]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.extensions&&n.helper.forEach(t.extensions,f)}(),this._dispatch=function(e,t,n,r){if(u.hasOwnProperty(e))for(var i=0;u[e].length>i;++i){var a=u[e][i](e,t,this,n,r);a&&void 0!==a&&(t=a)}return t},this.listen=function(e,t){return p(e,t),this},this.makeHtml=function(e){if(!e)return e;var i={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:r,outputModifiers:c,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=n.subParser("detab")(e,t,i)).replace(/^[ \t]+$/gm,""),n.helper.forEach(r,function(r){e=n.subParser("runExtension")(r,e,t,i)}),e=n.subParser("metadata")(e,t,i),e=n.subParser("hashPreCodeTags")(e,t,i),e=n.subParser("githubCodeBlocks")(e,t,i),e=n.subParser("hashHTMLBlocks")(e,t,i),e=n.subParser("hashCodeTags")(e,t,i),e=n.subParser("stripLinkDefinitions")(e,t,i),e=n.subParser("blockGamut")(e,t,i),e=n.subParser("unhashHTMLSpans")(e,t,i),e=(e=(e=n.subParser("unescapeSpecialChars")(e,t,i)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=n.subParser("completeHTMLDocument")(e,t,i),n.helper.forEach(c,function(r){e=n.subParser("runExtension")(r,e,t,i)}),h=i.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var i={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],i=0;t.length>i;++i)if(1===t[i].childElementCount&&"code"===t[i].firstChild.tagName.toLowerCase()){var a=t[i].firstChild.innerHTML.trim(),o=t[i].firstChild.getAttribute("data-language")||"";if(""===o)for(var s=t[i].firstChild.className.split(" "),l=0;s.length>l;++l){var c=s[l].match(/^language-(.+)$/);if(null!==c){o=c[1];break}}a=n.helper.unescapeHTMLEntities(a),r.push(a),t[i].outerHTML='<precode language="'+o+'" precodenum="'+i+'"></precode>'}else r.push(t[i].innerHTML),t[i].innerHTML="",t[i].setAttribute("prenum",""+i);return r}(r)};!function e(t){for(var n=0;t.childNodes.length>n;++n){var r=t.childNodes[n];3===r.nodeType?/\S/.test(r.nodeValue)||/^[ ]+$/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(r),--n):1===r.nodeType&&e(r)}}(r);for(var a=r.childNodes,o="",s=0;a.length>s;s++)o+=n.subParser("makeMarkdown.node")(a[s],i);return o},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){f(e,t=t||null)},this.useExtension=function(e){f(e)},this.setFlavor=function(e){if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=s[e];for(var r in d=e,n)n.hasOwnProperty(r)&&(t[r]=n[r])},this.getFlavor=function(){return d},this.removeExtension=function(e){n.helper.isArray(e)||(e=[e]);for(var t=0;e.length>t;++t){for(var i=e[t],a=0;r.length>a;++a)r[a]===i&&r.splice(a,1);for(var o=0;c.length>o;++o)c[o]===i&&c.splice(o,1)}},this.getAllExtensions=function(){return{language:r,output:c}},this.getMetadata=function(e){return e?h.raw:h.parsed},this.getMetadataFormat=function(){return h.format},this._setMetadataPair=function(e,t){h.parsed[e]=t},this._setMetadataFormat=function(e){h.format=e},this._setMetadataRaw=function(e){h.raw=e}},n.subParser("anchors",function(e,t,r){var i=function(e,i,a,o,s,l,c){if(n.helper.isUndefined(c)&&(c=""),a=a.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)o="";else if(!o){if(a||(a=i.toLowerCase().replace(/ ?\n/g," ")),o="#"+a,n.helper.isUndefined(r.gUrls[a]))return e;o=r.gUrls[a],n.helper.isUndefined(r.gTitles[a])||(c=r.gTitles[a])}var u='<a href="'+(o=o.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"';return""!==c&&null!==c&&(u+=' title="'+(c=(c=c.replace(/"/g,""")).replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(o)&&(u+=' rel="noopener noreferrer" target="¨E95Eblank"'),u+=">"+i+"</a>"};return e=(e=(e=(e=(e=r.converter._dispatch("anchors.before",e,t,r)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,i)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,i)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,i)).replace(/\[([^\[\]]+)]()()()()()/g,i),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,r,i,a,o){if("\\"===i)return r+a;if(!n.helper.isString(t.ghMentionsLink))throw Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,o),l="";return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'<a href="'+s+'"'+l+">"+a+"</a>"})),e=r.converter._dispatch("anchors.after",e,t,r)});var d=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,f=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,p=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,m=function(e){return function(t,r,i,a,o,s,l){var c=i=i.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),u="",d="",h=r||"",f=l||"";return/^www\./i.test(i)&&(i=i.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(d=' rel="noopener noreferrer" target="¨E95Eblank"'),h+'<a href="'+i+'"'+d+">"+c+"</a>"+u+f}},v=function(e,t){return function(r,i,a){var o="mailto:";return i=i||"",a=n.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(o=n.helper.encodeEmailAddress(o+a),a=n.helper.encodeEmailAddress(a)):o+=a,i+'<a href="'+o+'">'+a+"</a>"}};n.subParser("autoLinks",function(e,t,n){return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(f,m(t))).replace(g,v(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),n.subParser("simplifiedAutoLinks",function(e,t,n){return t.simplifiedAutoLink?(e=(e=(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n)).replace(t.excludeTrailingPunctuationFromURLs?h:d,m(t))).replace(p,v(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),n.subParser("blockGamut",function(e,t,r){return e=r.converter._dispatch("blockGamut.before",e,t,r),e=n.subParser("blockQuotes")(e,t,r),e=n.subParser("headers")(e,t,r),e=n.subParser("horizontalRule")(e,t,r),e=n.subParser("lists")(e,t,r),e=n.subParser("codeBlocks")(e,t,r),e=n.subParser("tables")(e,t,r),e=n.subParser("hashHTMLBlocks")(e,t,r),e=n.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),n.subParser("blockQuotes",function(e,t,r){e=r.converter._dispatch("blockQuotes.before",e,t,r);var i=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(i=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=(e+="\n\n").replace(i,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=n.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=n.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")}),n.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),n.subParser("codeBlocks",function(e,t,r){return e=r.converter._dispatch("codeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,i,a){var o=i,s=a,l="\n";return o=n.subParser("outdent")(o,t,r),o=n.subParser("encodeCode")(o,t,r),o=(o=(o=n.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),o="<pre><code>"+o+l+"</code></pre>",n.subParser("hashBlock")(o,t,r)+s})).replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)}),n.subParser("codeSpans",function(e,t,r){return void 0===(e=r.converter._dispatch("codeSpans.before",e,t,r))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,i,a,o){var s=o;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=i+"<code>"+(s=n.subParser("encodeCode")(s,t,r))+"</code>",s=n.subParser("hashHTMLSpans")(s,t,r)}),e=r.converter._dispatch("codeSpans.after",e,t,r)}),n.subParser("completeHTMLDocument",function(e,t,n){if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var r="html",i="<!DOCTYPE HTML>\n",a="",o='<meta charset="utf-8">\n',s="",l="";for(var c in void 0!==n.metadata.parsed.doctype&&(i="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(r=(""+n.metadata.parsed.doctype).toLowerCase())&&"html5"!==r||(o='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case"doctype":break;case"title":a="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":o="html"===r||"html5"===r?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[c]+'"',l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n';break;default:l+='<meta name="'+c+'" content="'+n.metadata.parsed[c]+'">\n'}return e=i+"<html"+s+">\n<head>\n"+a+o+l+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)}),n.subParser("detab",function(e,t,n){return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,r=4-n.length%4,i=0;r>i;i++)n+=" ";return n})).replace(/¨A/g," ")).replace(/¨B/g,""),e=n.converter._dispatch("detab.after",e,t,n)}),n.subParser("ellipsis",function(e,t,n){return t.ellipsis?(e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),e=n.converter._dispatch("ellipsis.after",e,t,n)):e}),n.subParser("emoji",function(e,t,r){return t.emoji?(e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(/:([\S]+?):/g,function(e,t){return n.helper.emojis.hasOwnProperty(t)?n.helper.emojis[t]:e}),e=r.converter._dispatch("emoji.after",e,t,r)):e}),n.subParser("encodeAmpsAndAngles",function(e,t,n){return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),n.subParser("encodeBackslashEscapes",function(e,t,r){return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,n.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,n.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),n.subParser("encodeCode",function(e,t,r){return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),n.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,r){return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)})).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,function(e){return e.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),n.subParser("githubCodeBlocks",function(e,t,r){return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,i,a,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=n.subParser("encodeCode")(o,t,r),o="<pre><code"+(a?' class="'+a+" language-"+a+'"':"")+">"+(o=(o=(o=n.subParser("detab")(o,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",o=n.subParser("hashBlock")(o,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"})).replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e}),n.subParser("hashBlock",function(e,t,n){return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),n.subParser("hashCodeTags",function(e,t,r){return e=r.converter._dispatch("hashCodeTags.before",e,t,r),e=n.helper.replaceRecursiveRegExp(e,function(e,i,a,o){var s=a+n.subParser("encodeCode")(i,t,r)+o;return"¨C"+(r.gHtmlSpans.push(s)-1)+"C"},"<code\\b[^>]*>","</code>","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)}),n.subParser("hashElement",function(e,t,n){return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),n.subParser("hashHTMLBlocks",function(e,t,r){e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var i=["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","p"],a=function(e,t,n,i){var a=e;return-1!==n.search(/\bmarkdown\b/)&&(a=n+r.converter.makeHtml(t)+i),"\n\n¨K"+(r.gHtmlBlocks.push(a)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var o=0;34>o;++o)for(var s,l=RegExp("^ {0,3}(<"+i[o]+"\\b[^>]*>)","im"),c="<"+i[o]+"\\b[^>]*>",u="</"+i[o]+">";-1!==(s=n.helper.regexIndexOf(e,l));){var d=n.helper.splitAtIndex(e,s),h=n.helper.replaceRecursiveRegExp(d[1],a,c,u,"im");if(h===d[1])break;e=d[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,r)),e=(e=n.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)}),n.subParser("hashHTMLSpans",function(e,t,n){function r(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,function(e){return r(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return r(e)})).replace(/<[^>]+?>/gi,function(e){return r(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),n.subParser("unhashHTMLSpans",function(e,t,n){e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var r=0;n.gHtmlSpans.length>r;++r){for(var i=n.gHtmlSpans[r],a=0;/¨C(\d+)C/.test(i);){var o=RegExp.$1;if(i=i.replace("¨C"+o+"C",n.gHtmlSpans[o]),10===a)break;++a}e=e.replace("¨C"+r+"C",i)}return e=n.converter._dispatch("unhashHTMLSpans.after",e,t,n)}),n.subParser("hashPreCodeTags",function(e,t,r){return e=r.converter._dispatch("hashPreCodeTags.before",e,t,r),e=n.helper.replaceRecursiveRegExp(e,function(e,i,a,o){var s=a+n.subParser("encodeCode")(i,t,r)+o;return"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"},"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)}),n.subParser("headers",function(e,t,r){e=r.converter._dispatch("headers.before",e,t,r);var i=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),a=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;function o(e){var i,a;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return i=e,a=n.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(i=a+i),i=t.ghCompatibleHeaderId?i.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?i.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():i.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(i=a+i),r.hashLinkCounts[i]?i=i+"-"+r.hashLinkCounts[i]++:r.hashLinkCounts[i]=1,i}return e=(e=(e=e.replace(t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(e,a){var s=n.subParser("spanGamut")(a,t,r),l=t.noHeaderId?"":' id="'+o(a)+'"',c="<h"+i+l+">"+s+"</h"+i+">";return n.subParser("hashBlock")(c,t,r)})).replace(a,function(e,a){var s=n.subParser("spanGamut")(a,t,r),l=t.noHeaderId?"":' id="'+o(a)+'"',c=i+1,u="<h"+c+l+">"+s+"</h"+c+">";return n.subParser("hashBlock")(u,t,r)})).replace(t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,function(e,a,s){var l=s;t.customizedHeaderId&&(l=s.replace(/\s?\{([^{]+?)}\s*$/,""));var c=n.subParser("spanGamut")(l,t,r),u=t.noHeaderId?"":' id="'+o(s)+'"',d=i-1+a.length,h="<h"+d+u+">"+c+"</h"+d+">";return n.subParser("hashBlock")(h,t,r)}),e=r.converter._dispatch("headers.after",e,t,r)}),n.subParser("horizontalRule",function(e,t,r){e=r.converter._dispatch("horizontalRule.before",e,t,r);var i=n.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,i)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,i)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,i),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),n.subParser("images",function(e,t,r){function i(e,t,i,a,o,s,l,c){var u=r.gUrls,d=r.gTitles,h=r.gDimensions;if(i=i.toLowerCase(),c||(c=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==i&&null!==i||(i=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+i,n.helper.isUndefined(u[i]))return e;a=u[i],n.helper.isUndefined(d[i])||(c=d[i]),n.helper.isUndefined(h[i])||(o=h[i].width,s=h[i].height)}t=t.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var f='<img src="'+(a=a.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'" alt="'+t+'"';return c&&n.helper.isString(c)&&(f+=' title="'+(c=c.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),o&&s&&(f+=' width="'+(o="*"===o?"auto":o)+'"',f+=' height="'+(s="*"===s?"auto":s)+'"'),f+=" />"}return e=(e=(e=(e=(e=(e=r.converter._dispatch("images.before",e,t,r)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,i)).replace(/!\[([^\]]*?)][ \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,function(e,t,n,r,a,o,s,l){return i(e,t,n,r=r.replace(/\s/g,""),a,o,0,l)})).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,i)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,i)).replace(/!\[([^\[\]]+)]()()()()()/g,i),e=r.converter._dispatch("images.after",e,t,r)}),n.subParser("italicsAndBold",function(e,t,n){function r(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return r(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return r(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return r(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<strong>","</strong>")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,n){return r(n,t+"<em>","</em>")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?r(t,"<strong>","</strong>"):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?r(t,"<em>","</em>"):e}),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),n.subParser("lists",function(e,t,r){function i(e,i){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(a,function(e,i,a,s,l,c,u){u=u&&""!==u.trim();var d=n.subParser("outdent")(l,t,r),h="";return c&&t.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',d=d.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+=">"})),d=d.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),i||d.search(/\n{2,}/)>-1?(d=n.subParser("githubCodeBlocks")(d,t,r),d=n.subParser("blockGamut")(d,t,r)):(d=(d=n.subParser("lists")(d,t,r)).replace(/\n$/,""),d=(d=n.subParser("hashHTMLBlocks")(d,t,r)).replace(/\n\n+/g,"\n\n"),d=o?n.subParser("paragraphs")(d,t,r):n.subParser("spanGamut")(d,t,r)),d="<li"+h+">"+(d=d.replace("¨A",""))+"</li>\n"}),e=e.replace(/¨0/g,""),r.gListLevel--,i&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function o(e,n,r){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l="ul"===n?o:s,c="";if(-1!==e.search(l))!function t(u){var d=u.search(l),h=a(e,n);-1!==d?(c+="\n\n<"+n+h+">\n"+i(u.slice(0,d),!!r)+"</"+n+">\n",l="ul"==(n="ul"===n?"ol":"ul")?o:s,t(u.slice(d))):c+="\n\n<"+n+h+">\n"+i(u,!!r)+"</"+n+">\n"}(e);else{var u=a(e,n);c="\n\n<"+n+u+">\n"+i(e,!!r)+"</"+n+">\n"}return c}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=(e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return o(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,r){return o(n,r.search(/[*+-]/g)>-1?"ul":"ol",!1)})).replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)}),n.subParser("metadata",function(e,t,n){if(!t.metadata)return e;function r(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,r){return n.metadata.parsed[t]=r,""})}return e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,n){return r(n),"¨M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,i){return t&&(n.metadata.format=t),r(i),"¨M"}),e=e.replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)}),n.subParser("outdent",function(e,t,n){return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),n.subParser("paragraphs",function(e,t,r){for(var i=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],o=i.length,s=0;o>s;s++){var l=i[s];0>l.search(/¨(K|G)(\d+)\1/g)?0>l.search(/\S/)||(l=(l=n.subParser("spanGamut")(l,t,r)).replace(/^([ \t]*)/g,"<p>"),a.push(l+="</p>")):a.push(l)}for(o=a.length,s=0;o>s;s++){for(var c="",u=a[s],d=!1;/¨(K|G)(\d+)\1/.test(u);){var h=RegExp.$2;c=(c="K"===RegExp.$1?r.gHtmlBlocks[h]:d?n.subParser("encodeCode")(r.ghCodeBlocks[h].text,t,r):r.ghCodeBlocks[h].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,c),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(d=!0)}a[s]=u}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),n.subParser("runExtension",function(e,t,n,r){if(e.filter)t=e.filter(t,r.converter,n);else if(e.regex){var i=e.regex;i instanceof RegExp||(i=RegExp(i,"g")),t=t.replace(i,e.replace)}return t}),n.subParser("spanGamut",function(e,t,r){return e=r.converter._dispatch("spanGamut.before",e,t,r),e=n.subParser("codeSpans")(e,t,r),e=n.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=n.subParser("encodeBackslashEscapes")(e,t,r),e=n.subParser("images")(e,t,r),e=n.subParser("anchors")(e,t,r),e=n.subParser("autoLinks")(e,t,r),e=n.subParser("simplifiedAutoLinks")(e,t,r),e=n.subParser("emoji")(e,t,r),e=n.subParser("underline")(e,t,r),e=n.subParser("italicsAndBold")(e,t,r),e=n.subParser("strikethrough")(e,t,r),e=n.subParser("ellipsis")(e,t,r),e=n.subParser("hashHTMLSpans")(e,t,r),e=n.subParser("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"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),n.subParser("strikethrough",function(e,t,r){return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,i){return function(e){return t.simplifiedAutoLink&&(e=n.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}(i)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),n.subParser("stripLinkDefinitions",function(e,t,r){var i=function(i,a,o,s,l,c,u){return a=a.toLowerCase(),2>e.toLowerCase().split(a).length-1?i:(r.gUrls[a]=o.match(/^data:.+?\/.+?;base64,/)?o.replace(/\s/g,""):n.subParser("encodeAmpsAndAngles")(o,t,r),c?c+u:(u&&(r.gTitles[a]=u.replace(/"|'/g,""")),t.parseImgDimensions&&s&&l&&(r.gDimensions[a]={width:s,height:l}),""))};return e=(e=(e=(e+="¨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,i)).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,i)).replace(/¨0/,"")}),n.subParser("tables",function(e,t,r){if(!t.tables)return e;function i(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function a(e,i){var a="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(a=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+a+i+">"+(e=n.subParser("spanGamut")(e,t,r))+"</th>\n"}function o(e,i){return"<td"+i+">"+n.subParser("spanGamut")(e,t,r)+"</td>\n"}function s(e){var s,l=e.split("\n");for(s=0;l.length>s;++s)/^ {0,3}\|/.test(l[s])&&(l[s]=l[s].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(l[s])&&(l[s]=l[s].replace(/\|[ \t]*$/,"")),l[s]=n.subParser("codeSpans")(l[s],t,r);var c=l[0].split("|").map(function(e){return e.trim()}),u=l[1].split("|").map(function(e){return e.trim()}),d=[],h=[],f=[],p=[];for(l.shift(),l.shift(),s=0;l.length>s;++s)""!==l[s].trim()&&d.push(l[s].split("|").map(function(e){return e.trim()}));if(u.length>c.length)return e;for(s=0;u.length>s;++s)f.push(i(u[s]));for(s=0;c.length>s;++s)n.helper.isUndefined(f[s])&&(f[s]=""),h.push(a(c[s],f[s]));for(s=0;d.length>s;++s){for(var g=[],m=0;h.length>m;++m)n.helper.isUndefined(d[s][m]),g.push(o(d[s][m],f[m]));p.push(g)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",r=e.length,i=0;r>i;++i)n+=e[i];for(n+="</tr>\n</thead>\n<tbody>\n",i=0;t.length>i;++i){n+="<tr>\n";for(var a=0;r>a;++a)n+=t[i][a];n+="</tr>\n"}return n+"</tbody>\n</table>\n"}(h,p)}return e=(e=(e=(e=r.converter._dispatch("tables.before",e,t,r)).replace(/\\(\|)/g,n.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,s)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,s),e=r.converter._dispatch("tables.after",e,t,r)}),n.subParser("underline",function(e,t,r){return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),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,n.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),n.subParser("unescapeSpecialChars",function(e,t,n){return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,function(e,t){return String.fromCharCode(parseInt(t))}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)}),n.subParser("makeMarkdown.blockquote",function(e,t){var r="";if(e.hasChildNodes())for(var i=e.childNodes,a=i.length,o=0;a>o;++o){var s=n.subParser("makeMarkdown.node")(i[o],t);""!==s&&(r+=s)}return r="> "+(r=r.trim()).split("\n").join("\n> ")}),n.subParser("makeMarkdown.codeBlock",function(e,t){var n=e.getAttribute("language"),r=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[r]+"\n```"}),n.subParser("makeMarkdown.codeSpan",function(e){return"`"+e.innerHTML+"`"}),n.subParser("makeMarkdown.emphasis",function(e,t){var r="";if(e.hasChildNodes()){r+="*";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="*"}return r}),n.subParser("makeMarkdown.header",function(e,t,r){var i=Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=i+" ";for(var o=e.childNodes,s=o.length,l=0;s>l;++l)a+=n.subParser("makeMarkdown.node")(o[l],t)}return a}),n.subParser("makeMarkdown.hr",function(){return"---"}),n.subParser("makeMarkdown.image",function(e){var t="";return e.hasAttribute("src")&&(t+="+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),n.subParser("makeMarkdown.links",function(e,t){var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var i=e.childNodes,a=i.length;r="[";for(var o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r}),n.subParser("makeMarkdown.list",function(e,t,r){var i="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,s=e.getAttribute("start")||1,l=0;o>l;++l)void 0!==a[l].tagName&&"li"===a[l].tagName.toLowerCase()&&(i+=("ol"===r?s+". ":"- ")+n.subParser("makeMarkdown.listItem")(a[l],t),++s);return(i+="\n\x3c!-- --\x3e\n").trim()}),n.subParser("makeMarkdown.listItem",function(e,t){for(var r="",i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);return/\n$/.test(r)?r=r.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r}),n.subParser("makeMarkdown.node",function(e,t,r){r=r||!1;var i="";if(3===e.nodeType)return n.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||(i=n.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(i=n.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(i=n.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(i=n.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(i=n.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(i=n.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(i=n.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(i=n.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(i=n.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(i=n.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(i=n.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(i=n.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(i=n.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(i=n.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":i=n.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":i=n.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":i=n.subParser("makeMarkdown.strong")(e,t);break;case"del":i=n.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":i=n.subParser("makeMarkdown.links")(e,t);break;case"img":i=n.subParser("makeMarkdown.image")(e,t);break;default:i=e.outerHTML+"\n\n"}return i}),n.subParser("makeMarkdown.paragraph",function(e,t){var r="";if(e.hasChildNodes())for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);return r=r.trim()}),n.subParser("makeMarkdown.pre",function(e,t){var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"}),n.subParser("makeMarkdown.strikethrough",function(e,t){var r="";if(e.hasChildNodes()){r+="~~";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="~~"}return r}),n.subParser("makeMarkdown.strong",function(e,t){var r="";if(e.hasChildNodes()){r+="**";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t);r+="**"}return r}),n.subParser("makeMarkdown.table",function(e,t){var r,i,a="",o=[[],[]],s=e.querySelectorAll("thead>tr>th"),l=e.querySelectorAll("tbody>tr");for(r=0;s.length>r;++r){var c=n.subParser("makeMarkdown.tableCell")(s[r],t),u="---";if(s[r].hasAttribute("style"))switch(s[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}o[0][r]=c.trim(),o[1][r]=u}for(r=0;l.length>r;++r){var d=o.push([])-1,h=l[r].getElementsByTagName("td");for(i=0;s.length>i;++i){var f=" ";void 0!==h[i]&&(f=n.subParser("makeMarkdown.tableCell")(h[i],t)),o[d].push(f)}}var p=3;for(r=0;o.length>r;++r)for(i=0;o[r].length>i;++i){var g=o[r][i].length;g>p&&(p=g)}for(r=0;o.length>r;++r){for(i=0;o[r].length>i;++i)o[r][i]=1===r?":"===o[r][i].slice(-1)?n.helper.padEnd(o[r][i].slice(-1),p-1,"-")+":":n.helper.padEnd(o[r][i],p,"-"):n.helper.padEnd(o[r][i],p);a+="| "+o[r].join(" | ")+" |\n"}return a.trim()}),n.subParser("makeMarkdown.tableCell",function(e,t){var r="";if(!e.hasChildNodes())return"";for(var i=e.childNodes,a=i.length,o=0;a>o;++o)r+=n.subParser("makeMarkdown.node")(i[o],t,!0);return r.trim()}),n.subParser("makeMarkdown.txt",function(e){var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=n.helper.unescapeHTMLEntities(t)).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]:")}),e.exports?e.exports=n:this.showdown=n}).call(m)}(g)),g.exports),w=f(v);w.ConverterExtObj=function(e,t){var n=[],r=e;function i(e,t){if(t=t||null,w.helper.isString(e)&&(t=w.helper.stdExtName(e),e=w.asyncExtension(t),w.helper.isUndefined(e)))throw Error('Extension "'+t+'" could not be loaded. It was either not found or is not a valid aync extension.');if("function"==typeof e&&(e=e()),w.helper.isArray(e)||(e=[e]),w.validateExtension(e))for(var r=0;e.length>r;++r)if("output"===e[r].type)n.push(e[r])}t&&w.helper.forEach(t,i),this.addAsyncExtension=function(e,t){i(e,t=t||null)},this.removeAsyncExtension=function(e){w.helper.isArray(e)||(e=[e]);for(var t=0;e.length>t;++t)for(var r=e[t],i=0;n.length>i;++i)n[i]===r&&n.splice(i,1)},this.getAsyncExtensions=function(){return n},this.getCurrFlavor=function(){return r},this.setCurrFlavor=function(e){r=e}},w.Converter.prototype.initConvertExtObj=function(e,t){return this.extObj=new w.ConverterExtObj(e,t),this.resetOptions=function(e){e=e||{};var t=w.getOptions(),n=this.getOptions();for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);if("object"===d(e))for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i])},this.setFlavor=function(e){var t=w.getFlavorOptions(e);if(!w.helper.isUndefined(t)){this.extObj.setCurrFlavor(e);var n=w.getDefaultOptions(!0);for(var r in n)n.hasOwnProperty(r)&&(this.getOptions()[r]=n[r]);for(var r in t)t.hasOwnProperty(r)&&(this.getOptions()[r]=t[r])}},this.getFlavor=function(){return this.extObj.getCurrFlavor()},this.addAsyncExtension=function(e,t){this.extObj.addAsyncExtension(e,t)},this.removeAsyncExtension=function(e){this.extObj.removeAsyncExtension(e)},this.removeExtension=function(e){w.helper.isArray(e)||(e=[e]);for(var t=this.getAllExtensions(),n=t.language,r=t.output,i=0;e.length>i;++i){for(var a=e[i],o=0;n.length>o;++o)n[o]===a&&n.splice(o,1);for(var s=0;r.length>s;++s)r[s]===a&&r.splice(s,1)}},this.asyncMakeHtml=function(e,t){var n="<div class='showdowns'>".concat(this.makeHtml(e),"</div>"),r=this.extObj.getAsyncExtensions();if(!r.length)return Promise.resolve({html:n});var i={outputs:r,converter:this},a=(new DOMParser).parseFromString(n,"text/html"),o=void 0!==a.body?a.body:a,s=o.firstChild,l=this.getOptions(),c=Promise.resolve({wrapper:s,options:l,globals:i,scripts:[],extras:[],symbols:[],cssLinks:[]});return r.forEach(function(e){c=c.then(function(t){var n=e.filter(t);return n||t})}),c.then(function(e){if(e.symbols.length>0){var n='<div id="global-showdowns-svgs" class="none hidden"><svg xmlns="http://www.w3.org/2000/svg">'.concat(e.symbols.join(""),"</svg></div>");e.extras.unshift(n)}if("function"==typeof t&&t){var r=t(e);if(r instanceof Promise)return r.then(function(e){return o.replaceChildren(),{html:e.wrapper,extras:e.extras,scripts:e.scripts,cssLinks:e.cssLinks}})}return o.replaceChildren(),{html:e.wrapper,extras:e.extras,scripts:e.scripts,cssLinks:e.cssLinks}})},this},w.subParser("githubCodeBlocks",function(e,t,n){if(!t.ghCodeBlocks)return e;e=n.converter._dispatch("githubCodeBlocks.before",e,t,n);var r=function(e,r,i,a,o){var s=t.omitExtraWLInCodeBlocks?"":"\n";return o=w.subParser("encodeCode")(o,t,n),o=(o=(o=w.subParser("detab")(o,t,n)).replace(/^\n+/g,"")).replace(/\n+$/g,""),o="<pre><code"+(i?' class="'+i+" language-"+i+'"':"")+(a?" data-lang='".concat(a,"'"):"")+">"+o+s+"</code></pre>",o=w.subParser("hashBlock")(o,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"};return e=(e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*?)(?:[ \t]*?)((?:\{[\S\t ]*\}|\[[\S\t ]*\])?)\n([\s\S]*?)\n(?: {0,3})\1/g,r)).replace(/(?:^|\n)(?: {0,3})(:::+)(?: *)(mermaid)(?:[ \t]*?)((?:\{[\S\t ]*\}|\[[\S\t ]*\])?)\n([\s\S]*?)\n(?: {0,3})\1/g,r)).replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)}),w.subParser("tables",function(e,t,n){if(!t.tables)return e;function r(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function i(e,r){var i="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(i=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+i+r+">"+(e=w.subParser("spanGamut")(e,t,n))+"</th>\n"}function a(e,r,i,a,o){if(t.tablesMerge){var s=function(e,n,r,i){if(i){if(!t.tablesRowspan||"^^"!==i||!n)return;for(var a=n-1;a>=0;--a)if(e[a][r]){if("^^"!==e[a][r])return e[a][r]=e[a][r].replace(/rowspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,r){return t+' rowspan="'+(n-a+1)+'"'+r}),i;if(0===a)return e[a][r]='<td rowspan="'+(n-a+1)+'"></td>\n',i}else for(var o=r-1;o>=0;-o){if(e[a+1][o]&&"^^"!==e[a+1][o])return;if(e[a][o]){if(!e[a+1][o])return;return e[a][o]=e[a][o].replace(/rowspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,r){return t+' rowspan="'+(n-a+1)+'"'+r}),i}}}else if(r)for(o=r-1;o>=0;--o)if(e[n][o]){if("^^"!==e[n][o])return e[n][o]=e[n][o].replace(/colspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,n){return t+' colspan="'+(r-o+1)+'"'+n}),i;for(a=n-1;a>=0;--a){if(e[a][o+1])return;if("^^"!==e[a][o])return e[a][o]=e[a][o].replace(/colspan="[0-9]*"/g,"").replace(/^(<td[^<>\n\r]*?)(>.*<\/td>\n)/,function(e,t,n){return t+' colspan="'+(r-o+1)+'"'+n}),i}}else if(0===o)return e[n][o]='<td colspan="'+(r-o+1)+'"></td>\n',i}(e,r,i,a);if(!w.helper.isUndefined(s))return s}return a=a.trim(),"<td"+o+">"+w.subParser("spanGamut")(a,t,n)+"</td>\n"}function o(e,o){var s,l=e.split("\n");for(s=0;l.length>s;++s)/^ {0,3}\|/.test(l[s])&&(l[s]=l[s].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(l[s])&&(l[s]=l[s].replace(/\|[ \t]*$/,"")),l[s]=w.subParser("codeSpans")(l[s],t,n);var c=[],u=[],d=[],h=[],f=[];if(o)for(c=l[0].split("|").map(function(e){return e.trim()}),l.shift(),s=0;c.length>s;++s)h.push(r(c[s]));else{var p=l[0].split("|").map(function(e){return e.trim()});if(c=l[1].split("|").map(function(e){return e.trim()}),l.shift(),l.shift(),c.length>p.length)return e;for(s=0;c.length>s;++s)h.push(r(c[s]));for(s=0;p.length>s;++s)w.helper.isUndefined(h[s])&&(h[s]=""),d.push(i(p[s],h[s]))}for(s=0;l.length>s;++s)""!==l[s].trim()&&u.push(l[s].split("|").map(function(e){var t=e.trim();return""===t&&e.length>0?e:t}));for(s=0;u.length>s;++s){var g=[];f.push(g);for(var m=0;h.length>m;++m)w.helper.isUndefined(u[s][m])&&(u[s][m]=""),g.push(a(f,s,m,u[s][m],h[m]))}return function(e,n,r){var i="<table>\n",a=n.length;if(e.length){i+="<thead>\n<tr>\n";for(var o=0;e.length>o;++o)i+=e[o];i+="</tr>\n</thead>\n"}for(i+="<tbody>\n",o=0;r.length>o;++o){i+="<tr>\n";for(var s=0;a>s;++s)t.tablesMerge&&"^^"===r[o][s]||(i+=r[o][s]);i+="</tr>\n"}return i+"</tbody>\n</table>\n"}(d,h,f)}function s(e){return o(e,!1)}function l(e){return o(e,!0)}return e=(e=(e=(e=n.converter._dispatch("tables.before",e,t,n)).replace(/\\(\|)/g,w.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,s)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,s),t.tablesHeaderless&&(e=(e=e.replace(/^ {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,l)).replace(/^ {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,l)),e=n.converter._dispatch("tables.after",e,t,n)});var b="vanilla",y={github:{ghCompatibleHeaderId:!1,underline:!0,rawHeaderId:!0,tablesHeaderless:!0,tablesMerge:!0,tablesRowspan:!0},ghost:{tablesHeaderless:!0,tablesMerge:!0,tablesRowspan:!0},allOn:{tablesHeaderless:!0,tablesMerge:!0,tablesRowspan:!0}},_={};w.asyncExtension=function(e,t){if(!w.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=w.helper.stdExtName(e),w.helper.isUndefined(t)){if(!_.hasOwnProperty(e))throw Error("Async Extension named "+e+" is not registered!");return _[e]}"function"==typeof t&&(t=t()),w.helper.isArray(t)||(t=[t]),w.validateExtension(t)&&(_[e]=t)},w.removeAsyncExtension=function(e){e=w.helper.stdExtName(e),delete _[e]},w.resetAsyncExtensions=function(){_={}},w.removeExtension=function(e){e=w.helper.stdExtName(e),delete w.getAllExtensions[e]};var k=w.setFlavor,x=w.getFlavorOptions;function E(e){return"".concat((new Date).Format("yyyy-MM-dd HH:mm:ss.S")," ").concat(e)}w.setFlavor=function(e){try{if(k(e),b=e,!y.hasOwnProperty(e))return}catch(t){if(!y.hasOwnProperty(e))return;w.resetOptions(),b=e}var t=y[e];for(var n in t)t.hasOwnProperty(n)&&(w.getOptions()[n]=t[n])},w.getFlavor=function(){return b},w.setFlavorOptions=function(e,t){t&&(y[e]=Object.assign(y[e]||{},t))},w.getFlavorOptions=function(e){var t=x(e);return w.helper.isUndefined(t)?y.hasOwnProperty(e)?y[e]:void 0:y.hasOwnProperty(e)?Object.assign(t,y[e]):t},Date.prototype.Format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"H+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};e||(e="yyyy-MM-dd hh:mm:ss.S");var n=/(y+)/.exec(e);for(var r in n&&(e=e.replace(n[1],(this.getFullYear()+"").substring(4-n[1].length))),t){var i=RegExp("("+r+")").exec(e);if(i){var a=t[r];1==i[1].length?a=("000"+t[r]).substring((""+t[r]).length):2==i[1].length&&(a=("00"+t[r]).substring((""+t[r]).length)),e=e.replace(i[1],a)}}return e};var S="jsdelivr",L="file:"===document.location.protocol?"https://":document.location.protocol+"//",A="",j="",C="",P={local:{ABCJS:{src:"../node_modules/abcjs/dist/abcjs-basic.js",css:"../node_modules/abcjs/abcjs-audio.css"},echarts:"../node_modules/echarts/dist/echarts.js",Viz:"../node_modules/@viz-js/viz/dist/viz-global.js",Raphael:"../node_modules/raphael/raphael.min.js",flowchart:"../dist/diagrams/flowchart/flowchart.min.js",mermaid:{src:"../node_modules/mermaid/dist/mermaid.js",plugins:{"mermaid-zenuml":"../node_modules/@mermaid-js/mermaid-zenuml/dist/mermaid-zenuml.min.js","mermaid-mindmap":"../node_modules/@mermaid-js/mermaid-mindmap/dist/mermaid-mindmap.min.js","mermaid-layout-elk":{type:"module",module:"../node_modules/@mermaid-js/layout-elk/dist/mermaid-layout-elk.esm.min.mjs"}}},katex:{src:"../node_modules/katex/dist/katex.min.js",css:"../node_modules/katex/dist/katex.min.css"},renderMathInElement:"../node_modules/katex/dist/contrib/auto-render.js",MathJax:"../node_modules/mathjax/tex-mml-svg.js",railroad:{src:"../node_modules/railroad-diagrams/railroad-diagrams.js",css:"../node_modules/railroad-diagrams/railroad-diagrams.css"},Snap:"../node_modules/snapsvg/dist/snap.svg-min.js",WebFont:"../node_modules/webfontloader/webfontloader.js",underscore:"../node_modules/underscore/underscore-min.js",sequence:{src:"../node_modules/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.js",css:"../node_modules/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.css"},WaveDrom:{src:"../node_modules/wavedrom/wavedrom.min.js",skin:{default:"../node_modules/wavedrom/skins/default.js",lowkey:"../node_modules/wavedrom/skins/lowkey.js",narrow:"../node_modules/wavedrom/skins/narrow.js"}},vega:"../node_modules/vega/build/vega.min.js",vegaLite:"../node_modules/vega-lite/build/vega-lite.min.js",vegaEmbed:"../node_modules/vega-embed/build/vega-embed.min.js",Plotly:"../node_modules/plotly.js-dist-min/plotly.min.js",Shiki:{type:"module",src:"../node_modules/@jhuix/shiki-loader/dist/index.js"},AntVInfographic:"../node_modules/@antv/infographic/dist/infographic.min.js",zenuml:"../node_modules/@zenuml/core/dist/zenuml.js"},unpkg:{ABCJS:{src:"https://unpkg.com/abcjs/dist/abcjs-basic-min.js",css:"https://unpkg.com/abcjs/dist/abcjs-audio.css"},echarts:"https://unpkg.com/echarts/dist/echarts.min.js",Viz:"https://unpkg.com/@viz-js/viz/dist/viz-global.js",Raphael:"https://unpkg.com/raphael/raphael.min.js",flowchart:"../dist/diagrams/flowchart/flowchart.min.js",mermaid:{src:"https://unpkg.com/mermaid/dist/mermaid.min.js",plugins:{"mermaid-layout-elk":{type:"module",module:"https://unpkg.com/@mermaid-js/layout-elk/dist/mermaid-layout-elk.esm.min.mjs"},"mermaid-zenuml":"https://unpkg.com/@mermaid-js/mermaid-zenuml/dist/mermaid-zenuml.min.js","mermaid-mindmap":"https://unpkg.com/@mermaid-js/mermaid-mindmap/dist/mermaid-mindmap.min.js"}},katex:{src:"https://unpkg.com/KaTeX/dist/katex.min.js",css:"https://unpkg.com/KaTeX/dist/katex.min.css"},renderMathInElement:"https://unpkg.com/KaTeX/dist/contrib/auto-render.js",MathJax:"https://unpkg.com/mathjax/tex-mml-svg.js",railroad:{src:"https://unpkg.com/railroad-diagrams/railroad-diagrams.js",css:"https://unpkg.com/railroad-diagrams/railroad-diagrams.css"},Snap:"https://unpkg.com/snapsvg/dist/snap.svg-min.js",WebFont:"https://unpkg.com/webfontloader/webfontloader.js",underscore:"https://unpkg.com/underscore/underscore-min.js",sequence:{src:"https://unpkg.com/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.js",css:"https://unpkg.com/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.css"},WaveDrom:{src:"https://unpkg.com/wavedrom/wavedrom.min.js",skin:{default:"https://unpkg.com/wavedrom/skins/default.js",lowkey:"https://unpkg.com/wavedrom/skins/lowkey.js",narrow:"https://unpkg.com/wavedrom/skins/narrow.js"}},vega:"https://unpkg.com/vega/build/vega.min.js",vegaLite:"https://unpkg.com/vega-lite/build/vega-lite.min.js",vegaEmbed:"https://unpkg.com/vega-embed/build/vega-embed.min.js",Plotly:"https://unpkg.com/plotly.js/dist/plotly.min.js",Shiki:{type:"module",module:"https://esm.sh/shiki"},AntVInfographic:"https://unpkg.com/@antv/infographic/dist/infographic.min.js",zenuml:"https://unpkg.com/@zenuml/core/dist/zenuml.js"},jsdelivr:{ABCJS:{src:"https://cdn.jsdelivr.net/npm/abcjs/dist/abcjs-basic-min.js",css:"https://cdn.jsdelivr.net/npm/abcjs/abcjs-audio.css"},echarts:"https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js",Viz:"https://cdn.jsdelivr.net/npm/@viz-js/viz/dist/viz-global.js",Raphael:"https://cdn.jsdelivr.net/npm/raphael/raphael.min.js",flowchart:"../dist/diagrams/flowchart/flowchart.min.js",mermaid:{type:"module",module:"https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.esm.min.mjs",plugins:{"mermaid-layout-elk":"https://cdn.jsdelivr.net/npm/@mermaid-js/layout-elk/dist/mermaid-layout-elk.esm.min.mjs","mermaid-zenuml":"https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-zenuml/dist/mermaid-zenuml.esm.min.mjs","mermaid-mindmap":"https://cdn.jsdelivr.net/npm/@mermaid-js/mermaid-mindmap/dist/mermaid-mindmap.esm.min.mjs"}},katex:{src:"https://cdn.jsdelivr.net/npm/katex/dist/katex.min.js",css:"https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css"},renderMathInElement:"https://cdn.jsdelivr.net/npm/katex/dist/contrib/auto-render.js",MathJax:"https://cdn.jsdelivr.net/npm/mathjax/tex-mml-svg.js",railroad:{src:"https://cdn.jsdelivr.net/npm/railroad-diagrams/railroad-diagrams.min.js",css:"https://cdn.jsdelivr.net/npm/railroad-diagrams/railroad-diagrams.css"},Snap:"https://cdn.jsdelivr.net/npm/snapsvg/dist/snap.svg-min.js",WebFont:"https://cdn.jsdelivr.net/npm/webfontloader/webfontloader.js",underscore:"https://cdn.jsdelivr.net/npm/underscore/underscore-min.js",sequence:{src:"https://cdn.jsdelivr.net/npm/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.js",css:"https://cdn.jsdelivr.net/npm/@rokt33r/js-sequence-diagrams/dist/sequence-diagram-min.css"},WaveDrom:{src:"https://cdn.jsdelivr.net/npm/wavedrom/wavedrom.min.js",skin:{default:"https://cdn.jsdelivr.net/npm/wavedrom/skins/default.js",lowkey:"https://cdn.jsdelivr.net/npm/wavedrom/skins/lowkey.js",narrow:"https://cdn.jsdelivr.net/npm/wavedrom/skins/narrow.js"}},vega:"https://cdn.jsdelivr.net/npm/vega/build/vega.min.js",vegaLite:"https://cdn.jsdelivr.net/npm/vega-lite/build/vega-lite.min.js",vegaEmbed:"https://cdn.jsdelivr.net/npm/vega-embed/build/vega-embed.min.js",Plotly:"https://cdn.jsdelivr.net/npm/plotly.js-dist-min/plotly.min.js",Shiki:{type:"module",module:"https://cdn.jsdelivr.net/npm/shiki/+esm"},AntVInfographic:"https://cdn.jsdelivr.net/npm/@antv/infographic/dist/infographic.min.js",zenuml:"https://cdn.jsdelivr.net/npm/@zenuml/core/dist/zenuml.min.js"}};function z(){return S}function M(e,t){return e||t.startsWith("http://")||t.startsWith("https://")||t.startsWith(L)?t:t.startsWith("../dist/")?j+t:A+t}function T(e,t,n){if(void 0!==n&&n&&"default"!==n||(n=z()),P.hasOwnProperty(n)){var r=P[n][t];if(r){if("string"==typeof r)return{src:M(e,r)};if(r.src&&(r.src=M(e,r.src)),r.module&&(r.module=M(e,r.module)),r.css)if("string"==typeof r.css)r.css=M(e,r.css);else for(var i=0,a=Object.entries(r.css);a.length>i;i++){var o=l(a[i],2);r.css[o[0]]=M(e,o[1])}if(r.skin)if("string"==typeof r.skin)r.skin=M(e,r.skin);else for(var s=0,c=Object.entries(r.skin);c.length>s;s++){var u=l(c[s],2);r.skin[u[0]]=M(e,u[1])}if(r.plugins)for(var d=0,h=Object.entries(r.plugins);h.length>d;d++){var f=l(h[d],2),p=f[0],g=f[1];"string"!=typeof g?(g.src&&(r.plugins[p].src=M(e,g.src)),g.module&&(r.plugins[p].module=M(e,g.module))):r.plugins[p]=M(e,g)}if(r.src||r.module)return r}}}function O(e,t){var n="css-"+e.toLowerCase(),r=document.getElementById(n),i=document.head||document.getElementsByTagName("head")[0];r&&r.remove(),(r=document.createElement("link")).id=n,r.rel="stylesheet",r.href=t,i.appendChild(r)}function R(e,t){return new Promise(function(n){var r=e.toLowerCase(),i="script-"+r;if(!document.getElementById(i)){var a=document.head||document.getElementsByTagName("head")[0],o=document.createElement("script");if(o.id=i,"string"==typeof t)o.src=t;else{if(t.type&&(o.type=t.type,"module"===t.type&&t.module)){var s=r.replaceAll(/[-@+.]/g,"");o.textContent="\nimport * as ".concat(s," from '").concat(t.module,"';\nif (!('").concat(e,"' in window)) {\n if ('default' in ").concat(s," && ").concat(s,"['default']) {\n window['").concat(e,"'] = ").concat(s,"['default']\n } else {\n window['").concat(e,"'] = ").concat(s,";\n }\n}\nconst s = document.querySelector('#").concat(i,"');\nif (s && s.onload) {\n s.onload();\n}\n")}t.src&&(o.src=t.src)}return o.onload=function(){n(e)},void a.appendChild(o)}n(e)})}function N(e,t,n){var r=e.toLowerCase(),i="script-"+r,a=document.getElementById(i);if(a)return n(e);var o=document.head||document.getElementsByTagName("head")[0];(a=document.createElement("script")).id=i;var s=!1;if(t.type&&(a.type=t.type,"module"===t.type&&t.module)){s=!0;var c="",u="";if(a.onloaded=function(t){n(t||e)},t.plugins){for(var d=[],h=0,f=Object.entries(t.plugins);f.length>h;h++){var p=l(f[h],2),g=p[0],m=p[1];d.push("'".concat(g,"'"));var v=g.toLowerCase().replaceAll(/[-@+.]/g,"");c+="import * as ".concat(v," from '").concat(m,"';\nif (!('").concat(g,"' in window)) {\n if ('default' in ").concat(v," && ").concat(v,"['default']) {\n window['").concat(g,"'] = ").concat(v,"['default']\n } else {\n window['").concat(g,"'] = ").concat(v,";\n }\n}\n")}d.length>0&&(u="['".concat(e,"',").concat(d.join(","),"]"))}var w=r.replaceAll(/[-@+.]/g,"");a.textContent="\nimport * as ".concat(w," from '").concat(t.module,"';\nif (!('").concat(e,"' in window)) {\n if ('default' in ").concat(w," && ").concat(w,"['default']) {\n window['").concat(e,"'] = ").concat(w,"['default']\n } else {\n window['").concat(e,"'] = ").concat(w,";\n }\n}\n").concat(c,"\nconst s = document.querySelector('#").concat(i,"');\nif (s && s.onloaded) {\n s.onloaded(").concat(u,");\n}\n")}t.src&&(a.src=t.src),t.defer&&(a.defer=!0),s||(a.onload=t.plugins?function(){var r=[];r.push(new Promise(function(t){t(e)}));for(var i=0,a=Object.entries(t.plugins);a.length>i;i++){var o=l(a[i],2);r.push(R(o[0],o[1]))}Promise.all(r).then(function(e){n(e)})}:function(){n(e)}),o.appendChild(a)}function B(e){var t=document.getElementById("css-"+e.toLowerCase());t&&t.remove()}var I={setCDN:function(e,t,n,r){e in P&&(S=e),"string"==typeof t&&t&&(A=t),"string"==typeof n&&n&&(j=n),"string"==typeof r&&r&&("/"!==C.at(C.length-1)&&(r+="/"),C=r)},getCDN:z,getCSS:function(e,t,n,r){var i=T(e,t,n);if(i)return i.css},getSrc:function(e,t,n){var r=T(e,t,n);if(r)return r.src},getUrl:function(e){try{var t=new URL(e);if("dist:"===t.protocol)return e="../dist/"===(e=e.substring(t.protocol.length+2)).substring(0,8)?j+e:A+e;if("file:"===t.protocol)if(C)return e=new URL(C).origin+"/"+e.substring(8)}catch(t){if(C){var n="./";e.substring(0,2)===n&&(e=e.substring(2)),e=C+e}}return e},getModule:T,loadScript:function(e,t,n,r){return new Promise(function(i,a){if(!e||"undefined"==typeof document)return a("Args is invaild!");t||(t="");var o=T(!1,e,t);if(!o)return a(e+" script source invaild!");if(o.css&&("string"==typeof o.css?O(e,o.css):n&&n.length>0&&n in o.css&&O(e,o.css[n])),o.skin){var s="";if("string"==typeof o.skin?(s=o.skin,r="skin"):r&&r.length>0&&r in o.skin&&(s=o.skin[r]),s.length>0)return void R(e+"-"+r,s).then(function(){N(e,o,i)})}N(e,o,i)})},unloadScript:function(e,t){var n=document.querySelectorAll('[id^="script-'.concat(e.toLowerCase(),'"]'));n&&n.forEach(function(e){e.remove()}),t&&t.length||(t="skin");var r=document.getElementById("script-"+e.toLowerCase()+"-"+t.toLowerCase());r&&r.remove(),B(e)},loadStyleSheet:function(e,t,n){if(!e||"undefined"==typeof document)return"";var r=T(!1,e,t);if(!r||!r.css)return"";var i="";return"string"==typeof r.css?i=r.css:n&&n in r.css&&(i=r.css[n]),i.length>0&&O(e,r.css[n]),"local"===t?"":i},unloadStyleSheet:B};function D(e){if(!e||"string"!=typeof e)return null;try{return JSON.parse(e)}catch(n){var t=null;return e.replace(/^\{(.*)\}$/,"$1").split(",").forEach(function(e){var n=e.split("=");if(2===n.length){t||(t={});var r=n[0].trim().replace(" ","-"),i=n[1].trim();i="true"===i.toLowerCase()||"false"!==i.toLowerCase()&&(isNaN(i)?i.replace(/^"(.*)"$/,"$1"):Number(i)),t[r]=i}}),t}}function q(e){for(var t=0,n=0;e.length>n;n++){var r=e.charCodeAt(n);t=Math.imul(31,t)+r|0}return t>>>0}function H(e){return e&&"function"!=typeof e&&"object"===d(e)&&!Array.isArray(e)}function U(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;t>i;i++)n[i-1]=arguments[i];for(var a=0,o=n;o.length>a;a++)for(var s=0,c=Object.entries(o[a]);c.length>s;s++){var u=l(c[s],2),d=u[0],h=u[1];H(h)&&H(e[d])?U(e[d],h):Object.assign(e,r({},d,h))}return e}var F={parseAttribute:D,interopDefault:function(e){return e&&"object"===d(e)&&"default"in e&&e.default?e.default:e},loadStyle:function(e,t){if(!e||!t||"undefined"==typeof document)return!1;var n="css-"+e.toLowerCase();if(!document.getElementById(n)){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.id=n,i.type="text/css",i.innerText=t,r.appendChild(i)}return!0},loadStylesheet:function(e,t){if(!e||"undefined"==typeof document)return!1;var n=null;if(t&&(n=document.getElementById(t)),!n){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("link");i.rel="stylesheet",i.href=e,t&&(i.id=t),r.appendChild(i)}return!0},loadScript:function(e,t,n){return new Promise(function(r,i){if(!e||!t||"undefined"==typeof document)return i("Args is invaild!");var a=document.getElementById(e);if(a)return r(!0);n?"string"==typeof n&&(n=document.querySelector(n)):n=document.body,(a=document.createElement("script")).id=e,a.type="text/javascript",a.text=t,n.appendChild(a),r(!0)})},removeAllStylesheet:function(e){if(e){var t=document.head||document.getElementsByTagName("head")[0];t.querySelectorAll("link").forEach(function(n){n.id&&n.id.substring(0,e.length)===e&&t.removeChild(n)})}},renderCacheElement:function(e,t,n,r){"undefined"!=typeof window&&window.document&&(e=window.document);var i=e.createElement("div");if(i.id=t,i.className=n,i.style.display="none",e.body.appendChild(i),"function"==typeof r&&r){var a=r(i);if(a instanceof Promise)return a.then(function(t){e.body.removeChild(t),t.style.display=""}),i.outerHTML}return e.body.removeChild(i),i.style.display="",i.outerHTML},renderElement:function(e,t,n){"undefined"!=typeof window&&window.document&&(e=window.document);var r=e.createElement("div");return r.id=t,r.className=n,e.body.appendChild(r),r},createElementMeta:function(e,t,n,r){var i=D(t.dataset.lang),a="diagram-left";if(i){var o=i.codeblock||i.code_block;if("boolean"==typeof o&&o||"string"==typeof o&&"true"===o.toLowerCase())return!1;i.align&&("center"===i.align?a="diagram-center":"right"===i.align&&(a="diagram-right")),i.width&&("string"!=typeof i.width&&(i.width=i.width+"px"),t.style.width=i.width),i.height&&("string"!=typeof i.height&&(i.height=i.height+"px"),t.style.height=i.height)}var s=t.textContent.trim();r&&"function"==typeof r&&(s=r(s));var l,c=(t.classList.length>0?t.classList[0]:"")+(t.className&&a?" ":"")+a;"string"==typeof n?n.length>0&&(n="-"+n):n="boolean"==typeof n&&n?"-"+(l=q(t.dataset.lang+s)):"-"+Math.floor(1e4*Math.random());var u=e.toLowerCase()+"-"+Date.now()+n;return t.id=u,t.className=c,{id:u,container:u+"-container",className:c,data:s,hash:l,element:t,lang:i}},addCssLink:function(e,t,n){return e.cssLinks?Array.isArray(e.cssLinks)||(e.cssLinks=[e.cssLinks]):e.cssLinks=[],e.cssLinks.push({id:n,link:t}),e},addScript:function(e,t){return e.scripts?Array.isArray(e.scripts)||(e.scripts=[e.scripts]):e.scripts=[],e.scripts.push(t),e},addExtra:function(e,t){return e.extras?Array.isArray(e.extras)||(e.extras=[e.extras]):e.extras=[],e.extras.push(t),e},hashString:q,deepMerge:U},Z="ABCJS",$="abc";if("undefined"==typeof window)throw Error("The showdown abcjs extension can only be used in browser environment!");if(void 0===W)var W=window.ABCJS||void 0;function V(){return!!W}var G=!1;function Y(){if(void 0===e)var e=window.ABCJS||void 0;function t(e){var t=this;t.onReady=function(){},t.onStart=function(){var t=document.querySelector("#"+e+" svg"),n=document.createElementNS("http://www.w3.org/2000/svg","line");n.setAttribute("class","abcjs-cursor"),n.setAttributeNS(null,"x1",0),n.setAttributeNS(null,"y1",0),n.setAttributeNS(null,"x2",0),n.setAttributeNS(null,"y2",0),t.appendChild(n)},t.beatSubdivisions=2,t.onBeat=function(e,t,n){},t.onEvent=function(t){if(!t.measureStart||null!==t.left){for(var n=document.querySelectorAll("#"+e+" svg .highlight"),r=0;n.length>r;r++)n[r].classList.remove("highlight");for(var i=0;t.elements.length>i;i++)for(var a=t.elements[i],o=0;a.length>o;o++)a[o].classList.add("highlight");var s=document.querySelector("#"+e+" svg .abcjs-cursor");s&&(s.setAttribute("x1",t.left-2),s.setAttribute("x2",t.left-2),s.setAttribute("y1",t.top),s.setAttribute("y2",t.top+t.height))}},t.onFinished=function(){for(var t=document.querySelectorAll("#"+e+" svg .highlight"),n=0;t.length>n;n++)t[n].classList.remove("highlight");var r=document.querySelector("#"+e+" svg .abcjs-cursor");r&&(r.setAttribute("x1",0),r.setAttribute("x2",0),r.setAttribute("y1",0),r.setAttribute("y2",0))}}window.abcEnv={abcOptions:{add_classes:!0,responsive:"resize"},setTune:function(t,n,r){var i=t.id,a=t.data;if(r){r.disable(!0);var o=e.renderAbc(i,a,this.abcOptions)[0];(new e.synth.CreateSynth).init({visualObj:o}).then(function(e){r.setTune(o,n).then(function(e){}).catch(function(e){})}).catch(function(e){})}else e.renderAbc(i,a,this.abcOptions)},load:function(n,r){var i;if(n){var a="#"+n;e.synth.supportsAudio()?(i=new e.synth.SynthController).load(a,new t(r.id),{displayLoop:!0,displayRestart:!0,displayPlay:!0,displayProgress:!0,displayWarp:!0}):document.querySelector(a).innerHTML="<div class='audio-error'>Audio is not supported in this browser.</div>"}this.setTune(r,!1,i)}}}function J(e,t){var n=function(){window.abcEnv.load(e,t)};return n.toString=function(){return"function(){\n const audio = '".concat(e,"';\n const render = ").concat(JSON.stringify(t),";\n window.abcEnv.load(audio, render);\n }")},n}function K(e,t,n){if(V()){var r=n.id,i=n.className,a=n.container,o="";n.lang&&(n.lang.width&&(o+="width:".concat(n.lang.width,";")),n.lang.height&&(o+="height:".concat(n.lang.height,";")));var s="";if(o?(s+='<div id="'.concat(a,'" class="').concat(i,'" style="').concat(o,'">'),s+='<div id="'.concat(r,'" style="width:100%;height:100%;display:inline-block"></div>')):(s+='<div id="'.concat(a,'" class="').concat(i,'">'),s+='<div id="'.concat(r,'"></div>')),!n.lang||!n.lang.audio){var l=n.data,c=n.element.ownerDocument;n.element.parentNode.outerHTML=s+="</div>";var u=c.getElementById(r);return W.renderAbc(u,l,{add_classes:!0,responsive:"resize"}),e(!0)}var d=n.data,h=r+"-audio";s+='<div id="'.concat(h,o?'" style="width:100%;height:100%;display:inline-block"></div>':'"></div>'),n.element.parentNode.outerHTML=s+="</div>";var f={id:a,code:J(h,{id:r,class:i,data:d}),host:"#".concat(a)};return t.push(f),e(!0)}setTimeout(function(){K(e,t,n)},10)}function X(e,t){return new Promise(function(n){var r=F.createElementMeta($,e);if(!r||!r.data)return n(!1);K(n,t,r)})}function Q(e,t){var n={outer:[{name:"ABCJS",src:I.getSrc(!1,"ABCJS","jsdelivr")}],id:"abcjs-ext",code:Y,inner:[]};return t.push(n),function(){var e=V();if("undefined"!=typeof window){if(G)return e;e||(G=!0,F.loadStyle("abc-audio",".highlight{fill: #0a9ecc;} .abcjs-cursor{stroke: red;} .abcjs-inline-audio .abcjs-midi-loop.abcjs-pushed{border: none;} .abcjs-inline-audio .abcjs-midi-loop.abcjs-pushed svg path{fill: #6eaa49;}"),I.loadScript(Z).then(function(e){W=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(t){var r=[];e.forEach(function(e){r.push(X(e,n.inner))}),Promise.all(r).then(function(){t(!0)})})}var ee,te,ne,re="en";ne=(ne=null!==(ee=null===(te=document)||void 0===te?void 0:te.children[0].lang)&&void 0!==ee?ee:"en").toLowerCase(),re="zh-cn"===ne||"zh-hans"===ne?"zh-cn":"en";var ie={en:{"code-copy":"Copy Code","code-theme-prefix":"Theme:","code-lang-prefix":"Lang:",toc:"Table Of Contents","toc-show-title-prefix":"Show ","toc-hide-title-prefix":"Hide ","toc-toggle-prefix":"Toggle ","msg-copy-success":"Copy success!","msg-copy-failed":"Copy failed!","export-actions-title":"Click to view actions","export-svg-action":"Save as SVG","export-png-action":"Save as PNG"},"zh-cn":{"code-copy":"复制代码","code-theme-prefix":"主题:","code-lang-prefix":"语言:",toc:"目录","toc-show-title-prefix":"显示","toc-hide-title-prefix":"隐藏","toc-toggle-prefix":"切换","msg-copy-success":"复制成功!","msg-copy-failed":"复制失败!","export-actions-title":"点击查看操作","export-svg-action":"保存为 SVG","export-png-action":"保存为 PNG",note:"备注",alert:"注意",simple:"简洁",info:"信息",tip:"提示",warning:"警告",error:"错误",success:"成功",danger:"危险",summary:"概要",tldr:"摘要",abstract:"抽象",todo:"待办",hint:"小窍门",check:"检测",done:"完成",help:"帮助",question:"问题",faq:"问答",attention:"关注",caution:"提醒",failure:"故障",fail:"失败",missing:"缺失",bug:"缺陷",example:"示例",snippet:"片段",quote:"引用",cite:"引文",important:"重点",key:"要点"}};var ae={getLangString:function(e,t){var n,r;return null!==(n=null===(r=ie[re])||void 0===r?void 0:r[e])&&void 0!==n?n:t}},oe=["H1","H2","H3","H4","H5","H6"];function se(e,t,n,r,i){try{if(i){if(r>1){var a=n.parentNode;a&&"UL"===a.tagName&&a.classList.add("toc-multi")}var o=n.querySelector("div");if(o){o.classList.remove("toc-title"),o.classList.add("toc-multi-title");var s=o.querySelector("i");s&&(s.classList.remove("toc-chapter"),s.classList.add("toc-multi-chapter"),s.innerHTML='<svg class="icon"><use xlink:href="#icon-expand"></use></svg>')}(n=n.appendChild(e.ownerDocument.createElement("ul"))).classList.add(r>1?"toc-level-".concat(r):"toc-main")}if(n=n.appendChild(e.ownerDocument.createElement("li")),t){var l=n.appendChild(e.ownerDocument.createElement("div"));l.classList.add("toc-title-".concat(r),"toc-title");var c=l.appendChild(e.ownerDocument.createElement("i"));c.classList.add("iconfont","toc-chapter"),c.innerHTML='<svg class="icon"><use xlink:href="#icon-chapter-l"></use></svg>';var u=l.appendChild(e.ownerDocument.createElement("a"));u.appendChild(e.ownerDocument.createTextNode(t.textContent)),u.href="#"+t.id}}catch(e){}return n}function le(e,t,n,r){if(n.headingLevel>=r){for(var i=null;n&&n.headingLevel>=r;)n=(i=n).parentNode,i.parentNode=null,i.toc=null,i.headingLevel=null,i.preLevel=null;return n&&le(e,t,n,r),n}if(r>n.preLevel){for(n.preLevel++;r>n.preLevel;)n.toc=se(e,null,n.toc,r,!0),n.preLevel++;n.toc=se(e,t,n.toc,r,!0)}else{for(;n.preLevel>r;)n.toc&&(n.toc=n.toc.parentNode),n.toc&&(n.toc=n.toc.parentNode),n.preLevel--;n.toc&&(n.toc=n.toc.parentNode),n.toc=se(e,t,n.toc,r,!1)}return n.parentNode&&le(e,t,n.parentNode,r),n}var ce=['<symbol id="icon-chapter-s" viewBox="0 0 1024 1024"><path d="M725.108359 579.864261c11.519371-117.753568-94.714826-195.829303-165.110981-247.666471l-10.879406-7.679581-21.118846-15.359161c-40.317798-28.798427-81.915525-58.876784-95.994756-95.994756-15.999126-41.597728-13.439266-74.235945 7.67958-97.274686 26.878532-29.438392 90.235071-35.838042 120.313428-11.519371 26.238567 20.478881 26.878532 53.117098 24.958637 70.396154-2.55986 24.318672 14.719196 46.717448 39.037867 49.917274 24.318672 2.55986 46.717448-14.719196 49.917274-39.037868 7.039615-60.796679-14.079231-115.833673-58.236819-151.03175C547.838042-19.143018 432.644335-8.903578 373.127586 55.732892c-44.157588 47.997378-53.117098 115.193708-24.958637 189.429652 8.319546 23.038742 21.758811 42.877658 37.117973 60.156714-36.478007 34.558112-73.59598 78.075735-79.355665 138.872414C294.411886 561.94524 400.646083 640.020975 471.042237 691.858143l10.879406 7.679581 21.118846 15.359161c40.317798 28.798427 81.915525 58.876784 95.994757 95.994756 15.999126 41.597728 13.439266 74.235945-7.679581 97.274686-26.878532 29.438392-90.235071 35.838042-120.313428 11.519371-26.238567-20.478881-26.878532-53.117098-24.958636-70.396154 2.55986-24.318672-14.719196-46.717448-39.037868-49.917274s-46.717448 14.719196-49.917273 39.037868c-7.039615 60.796679 14.079231 115.833673 58.236819 151.03175 29.438392 23.038742 67.196329 34.558112 106.234197 34.558112 50.557238 0 102.394407-19.198951 135.672589-55.676959 44.157588-47.997378 53.117098-115.193708 24.958636-189.429652-8.319546-23.038742-21.758811-42.877658-37.117972-60.156714 36.478007-34.558112 74.235945-78.075735 79.99563-138.872414z m-201.588988 39.677833c-60.156714-44.157588-135.672589-99.834547-129.272939-166.390911 3.199825-33.278182 28.158462-60.156714 57.596854-87.675211 7.679581 5.759685 15.999126 11.519371 23.678707 17.279056 7.039615 5.11972 13.439266 9.599476 19.838916 14.719196l10.879406 8.319546c60.156714 44.157588 135.672589 99.834547 129.272938 166.39091-3.199825 33.278182-28.158462 60.156714-57.596854 87.675211-8.319546-5.759685-15.999126-11.519371-23.678706-17.279056-7.039615-5.11972-13.439266-9.599476-19.838917-14.719196l-10.879405-8.319545z"></path></symbol>','<symbol id="icon-chapter-l" viewBox="0 0 1024 1024"><path d="M791.272727 11.636364a81.454545 81.454545 0 0 1 81.175273 74.752L872.727273 93.090909v884.363636a34.909091 34.909091 0 0 1-51.060364 30.999273l-4.142545-2.606545-142.615273-101.888-142.615273 101.934545a34.909091 34.909091 0 0 1-30.813091 4.840727l-5.026909-2.048-4.747636-2.792727L349.090909 903.912727l-142.615273 101.934546a34.955636 34.955636 0 0 1-53.946181-18.944l-0.93091-4.654546L151.272727 977.454545V93.090909A81.454545 81.454545 0 0 1 226.024727 11.915636L232.727273 11.636364h558.545454z m-139.636363 605.090909H372.363636l-4.747636 0.325818A34.909091 34.909091 0 0 0 372.363636 686.545455h279.272728l4.747636-0.325819A34.909091 34.909091 0 0 0 651.636364 616.727273z m0-186.181818H372.363636l-4.747636 0.325818A34.909091 34.909091 0 0 0 372.363636 500.363636h279.272728l4.747636-0.325818A34.909091 34.909091 0 0 0 651.636364 430.545455z m0-186.181819H372.363636l-4.747636 0.325819A34.909091 34.909091 0 0 0 372.363636 314.181818h279.272728l4.747636-0.325818A34.909091 34.909091 0 0 0 651.636364 244.363636z"></path></symbol>','<symbol id="icon-toc" viewBox="0 0 1024 1024"><path d="M62.500473 512.163729l61.447491-40.958854 387.221112 202.039529L898.394281 471.204875l61.443397 40.958854-448.668603 244.728794L62.500473 512.163729zM62.500473 308.228013l448.668603-244.732887 448.668603 244.732887-448.668603 244.724701L62.500473 308.228013zM511.169075 877.18012l387.225205-202.035436 61.443397 40.958854L511.169075 960.836425 62.500473 716.104561l61.447491-40.958854L511.169075 877.18012z"></path></symbol>','<symbol id="icon-collapse" viewBox="0 0 1024 1024"><path d="M85.781832 219.399571h73.720856c20.35996 0 36.879928-16.359968 36.879928-36.559928s-16.519968-36.559929-36.879928-36.559929h-73.719856c-20.35996 0-36.860928 16.359968-36.860928 36.559929 0 20.199961 16.499968 36.559929 36.859928 36.559928zM50.462901 475.419071c0 20.199961 16.500968 36.579929 36.859928 36.579929h72.179859c20.35996 0 36.879928-16.379968 36.879928-36.579929s-16.519968-36.579929-36.879928-36.579928h-72.179859c-20.35996 0-36.859928 16.379968-36.859928 36.579928z m145.919715 292.577429c0-20.199961-16.519968-36.595929-36.879928-36.595929h-73.719856c-20.35996 0-36.860928 16.395968-36.860928 36.595929 0 20.180961 16.499968 36.562929 36.859928 36.562929h73.720856c20.35996 0 36.879928-16.381968 36.879928-36.562929z"></path><path d="M933.660176 38.839924l-73.718856-2.279995c0-20.198961-16.519968-36.559929-36.879928-36.559929h-661.998707c-20.35996 0-36.879928 16.359968-36.879928 36.559929v70.879861h36.879928s73.359857 6.840987 73.359857 73.140857c0 0 0.779998 73.279857-75.239853 73.279857l-34.999932 2.119996 0.759999 144.019719 34.399933-0.02s75.879852-0.02 75.879852 77.699848c0 0-7.057986 70.879862-76.179852 70.879862l-34.699932 0.019-0.619999 143.980718h36.740929s73.559856 2.279996 73.559856 75.437853c0 0-0.14 75.402853-76.179851 75.402853l-33.199935-2.279996-0.46 73.159857s42.239918 109.718786 106.759792 109.718786h705.018623s34.557933-6.877987 34.557932-34.298933V75.421853s-6.899987-36.580929-36.859928-36.580929zM306.9634 255.9795h479.238064v292.579429h-479.239064V255.9795zM897.939246 916.55821s1.159998 34.279933-37.999926 34.279933H233.243544s-38.019926-12.559975-38.019925-37.719926l627.838773-0.36c20.35996 0 36.879928-16.379968 36.879928-36.579928V69.719864l37.998926 12.559975v834.278371z"></path><path d="M694.042644 329.119357H399.14022c-10.19998 0-18.439964 8.199984-18.439964 18.319964 0 10.07998 8.239984 18.259964 18.439964 18.259965h294.901424c10.17898 0 18.418964-8.179984 18.418964-18.259965 0-10.11898-8.239984-18.319964-18.419964-18.319964z m0 109.719786H399.14022c-10.19998 0-18.439964 8.199984-18.439964 18.279964 0 10.11998 8.239984 18.299964 18.439964 18.299964h294.901424c10.17898 0 18.418964-8.179984 18.418964-18.299964 0-10.07998-8.239984-18.279964-18.419964-18.279964z"></path></symbol>','<symbol id="icon-chapter" viewBox="0 0 1024 1024"><path d="M832 128v768H256V128h576m64-64H192v896h704V64z"></path><path d="M161.3 296.2v-0.2H320v-40H161.3c-35.5 0-64.3 28.7-64.3 64s28.8 64 64.3 64h90v-40h-90v-0.2c-13.3 0-24.1-10.7-24.1-23.8 0-13.1 10.8-23.8 24.1-23.8z m0 192v-0.2H320v-40H161.3c-35.5 0-64.3 28.7-64.3 64s28.8 64 64.3 64h90v-40h-90v-0.2c-13.3 0-24.1-10.7-24.1-23.8 0-13.1 10.8-23.8 24.1-23.8z m0 192v-0.2H320v-40H161.3c-35.5 0-64.3 28.7-64.3 64s28.8 64 64.3 64h90v-40h-90v-0.2c-13.3 0-24.1-10.7-24.1-23.8 0-13.1 10.8-23.8 24.1-23.8z" ></path><path d="M288 277a32 32 0 1 0 64 0 32 32 0 1 0-64 0zM288 469a32 32 0 1 0 64 0 32 32 0 1 0-64 0zM288 662a32 32 0 1 0 64 0 32 32 0 1 0-64 0zM384 256h385v40H384z m0 128h385v40H384z m0 128h385v40H384z m0 128h256v40H384z"></path></symbol>','<symbol id="icon-expand" viewBox="0 0 1024 1024"><path d="M731.093333 128c82.346667 0 158.08 20.906667 218.88 56.32 6.4 3.626667 10.026667 10.88 10.026667 18.346667v667.306666c0 12.16-9.386667 20.906667-19.84 20.906667-2.986667 0-5.76-0.64-8.746667-2.133333-57.386667-29.226667-126.08-46.08-200.32-46.08s-141.866667 17.066667-199.04 45.653333c-2.986667 1.493333-5.973333 2.986667-8.96 4.693333-0.426667 0.213333-0.853333 0.64-1.493333 0.853334-5.973333 3.2-13.226667 3.2-19.2 0-3.413333-1.92-6.826667-3.626667-10.453333-5.546667-56.96-28.586667-125.44-45.653333-199.04-45.653333s-143.146667 16.853333-200.32 46.08c-2.773333 1.493333-5.76 2.133333-8.746667 2.133333-10.453333 0-19.84-8.746667-19.84-20.906667V202.453333c0-7.68 3.84-14.72 10.026667-18.346666C134.826667 148.693333 210.56 128 292.906667 128S451.2 149.333333 512 184.746667C572.8 149.333333 648.746667 128 731.093333 128zM701.866667 187.733333c-71.466667 0-137.386667 17.92-189.866667 47.786667-52.693333-29.866667-118.613333-47.786667-189.866667-47.786667s-136.96 17.493333-189.653333 47.36c-5.546667 3.2-8.746667 9.173333-8.746667 15.573334v563.626666c0 10.24 8.106667 17.493333 17.066667 17.493334 2.56 0 5.12-0.64 7.466667-1.92 49.706667-24.533333 109.44-38.826667 173.653333-38.826667s123.093333 14.293333 172.373333 38.4c3.2 1.493333 6.186667 2.986667 9.173334 4.693333 5.12 2.773333 11.52 2.773333 16.64 0 0.64-0.213333 0.853333-0.426667 1.493333-0.853333l7.68-3.84c49.493333-24.106667 108.8-38.4 172.373333-38.4s123.946667 14.293333 173.653334 38.826667c2.56 1.28 5.12 1.92 7.466666 1.92 8.96 0 17.066667-7.466667 17.066667-17.493334V250.666667c0-6.4-3.2-12.373333-8.746667-15.573334-52.693333-29.866667-118.186667-47.573333-189.653333-47.573333z" ></path><path d="M949.333333 771.84c-123.306667-71.68-260.266667-80.64-407.466666-26.666667V221.866667c0-16.426667-13.44-29.866667-29.866667-29.866667s-29.866667 13.44-29.866667 29.866667v529.066666c-120.533333-55.466667-253.226667-53.973333-395.093333 5.12-10.88 4.48-16 17.066667-11.52 27.946667 4.48 10.88 17.066667 16 27.946667 11.52 139.306667-58.026667 263.253333-57.173333 378.666666 2.773333v46.506667c0 16.426667 13.44 29.866667 29.866667 29.866667s29.866667-13.44 29.866667-29.866667v-53.973333c142.08-56.32 268.586667-50.56 386.133333 17.706666 3.413333 1.92 7.04 2.986667 10.666667 2.986667 7.253333 0 14.506667-3.84 18.56-10.666667a21.290667 21.290667 0 0 0-7.68-29.226666z"></path></symbol>'],ue=/^((?:\[(?:Table[ -]Of[ -]Contents|目录|TOC)\])|(?:【(?:Table[ -]Of[ -]Contents|目录|TOC|_TOC_)】)|(?:\{\{([_]?)TOC\2\}\})|(?:\[\[([_]?)TOC\3\]\]))$/i;function de(){if(document.querySelector("#total-showdown-toc")){var e=document.querySelector("#toc-fold-icon");e&&(e.onclick=function(t){var n=document.querySelectorAll(".total-toc ul"),r=document.querySelectorAll(".total-toc ul:not(.toc-main) .toc-multi-chapter use");if("toc-expand"===e.dataset.name)return n.forEach(function(e){e.classList.contains("toc-main")||e.classList.contains("toc-level-2")||e.classList.add("hidden")}),r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-collapse")}),void(e.dataset.name="toc-fold");n.forEach(function(e){e.classList.remove("hidden")}),r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-expand")}),e.dataset.name="toc-expand"});var t=document.querySelector("#toc-close-icon");t&&(t.onclick=function(e){var t=document.querySelector("#total-showdown-toc");t&&t.classList.add("hidden");var n=document.querySelector("#toc-switch-button");n&&n.classList.remove("hidden")});var n=document.querySelector("#toc-switch-button");n&&(n.onclick=function(e){e.currentTarget.classList.add("hidden");var t=document.querySelector("#total-showdown-toc");t&&t.classList.remove("hidden")}),document.querySelectorAll(".total-toc .toc-multi-chapter").forEach(function(e){e.onclick=function(e){var t=e.currentTarget.parentNode;if(t&&(t=t.parentNode)){var n=t.querySelectorAll("ul"),r=t.querySelectorAll(".toc-multi-chapter use"),i=e.currentTarget.querySelector("use");if(i){if("#icon-expand"===i.getAttributeNS("http://www.w3.org/1999/xlink","href"))return n.forEach(function(e){e.classList.add("hidden")}),void r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-collapse")});n.forEach(function(e){e.classList.remove("hidden")}),r.forEach(function(e){e.setAttributeNS("http://www.w3.org/1999/xlink","href","#icon-expand")})}}}})}}function he(e){var t=function(){return a({chapterNumber:!0,compatible:!1,expand:!1,title:"",toc:ue},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t;if("string"==typeof e){var n=(new DOMParser).parseFromString(e,"text/html"),r=void 0!==n.body?n.body:n;return this.config.toc||(this.config.toc=ue),function(e,t){for(var n=null,r=0,i=null,a=!1,o=!1,s=null,l=t.toc instanceof RegExp?t.toc:RegExp("^(".concat(t.toc,")$"),"i"),c=1,u=[0,0,0,0,0,0],d=e.querySelectorAll(oe.join(",")+(t.compatible?",p":"")),h=0;d.length>h;h++)if(l.test((n=d[h]).textContent.trim())){var f=null;if(o)(f=e.ownerDocument.createElement("div")).classList.add("showdown-toc");else{var p;if(s){n.parentNode.removeChild(n);continue}(f=e.ownerDocument.createElement("div")).classList.add("showdown-toc"),s=f;var g=ae.getLangString("toc"),m=ae.getLangString("toc-show-title-prefix"),v=ae.getLangString("toc-hide-title-prefix"),w=ae.getLangString("toc-toggle-prefix");(null===(p=t.title)||void 0===p?void 0:p.length)>0&&(g=t.title);var b=e.ownerDocument.createElement("div");b.id="toc-switch-button",b.classList.add("toc-switch"),b.title=m+g,b.innerHTML='<svg class="icon"><use xlink:href="#icon-chapter-l"></use></svg>',n.parentNode.insertBefore(b,n),f.id="total-showdown-toc",f.classList.add("total-toc"),f.innerHTML='<div class="toc-pin"><span class="toc-pin-text">'.concat(g,'</span><div class="toc-fold-wrap"><div id="toc-fold-icon" class="toc-fold toc-icon" data-name="toc-expand" title="').concat(w+g,'"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-toc"></use></svg></div><div id="toc-close-icon" class="toc-close toc-icon" title="').concat(v+g,'"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-chapter-s"></use></svg></div></div></div>'),t.expand?b.classList.add("hidden"):f.classList.add("hidden")}var y=e.ownerDocument.createElement("div");y.classList.add("toc-view"),f.appendChild(y);var _={parentNode:null,toc:y,headingLevel:r,preLevel:r,standalone:!1};if(i)if(r>i.headingLevel)_.parentNode=i;else{for(var k=i;k.headingLevel>r;)k=k.parentNode;k&&(_.parentNode=r===k.headingLevel?k.parentNode:k)}a=!0,(i=_).standalone=!o,o?n.parentNode.replaceChild(f,n):n.parentNode.removeChild(n)}else if(oe.includes(n.tagName)){if(o||(o=!0),r=parseInt(n.tagName.substr(1)),t.chapterNumber)if(r>1){if(c!==r)for(var x=c=r;u.length>x;)u[x]=0,x++;var E="",S=1;for(u[c-1]++;r>S;)E+="".concat(u[S],"."),S++;n.textContent=E+" "+n.textContent}else for(var L=0;u.length>L;)u[L]=0,L++;i&&(i=le(e,n,i,r))}for(o&&(i&&(t.symbols=ce),s&&(t.extras||(t.extras=[]),t.extras.push(s.outerHTML)));i;){var A=i;i=A.parentNode,A.parentNode=null,A.toc=null,A.headingLevel=null,A.preLevel=null}return a}(r,this.config)?r.innerHTML:e}if(!("object"===d(e)&&e&&this.config.extras&&Array.isArray(this.config.extras)&&this.config.extras.length))return!1;var i,a=e;(this.config.extras.forEach(function(e){F.addExtra(a,e)}),(null===(t=this.config.symbols)||void 0===t?void 0:t.length)>0)&&(i=a.symbols).push.apply(i,c(this.config.symbols));return F.addScript(a,{inner:[{id:"showdown-toc",code:de,host:"#total-showdown-toc"}]}),a}}]}if("undefined"==typeof window)throw Error("The showdown viz extension can only be used in browser environment!");if(void 0===fe)var fe=window.Viz||void 0;var pe=["circo","dot","neato","osage","twopi"];function ge(){return!(void 0===fe||!fe||void 0===fe.instance)}var me=!1;function ve(e,t){if(ge()){var n=t.id,r=t.className,i=t.data;if(!i||0===i.length)return e(!1);var a=t.element,o=t.lang,s="dot";o&&o.engine&&-1!=pe.indexOf(o.engine)&&(s=o.engine);var l=a.style.cssText;return l.length>0&&(l=' style="'.concat(l,'"')),void fe.instance().then(function(t){var o=t.renderString(i,{format:"svg",engine:s});a.parentNode.outerHTML='<div id="'.concat(n,'" class="').concat(r,'"').concat(l,">").concat(o,"</div>"),e(!0)}).catch(function(t){e(!1)})}setTimeout(function(){ve(e,t)},10)}function we(e){return new Promise(function(t){var n=F.createElementMeta("viz",e);if(!n||!n.data)return t(!1);ve(t,n)})}function be(e){return function(){var e=ge();if("undefined"!=typeof window){if(me)return e;e||(me=!0,I.loadScript("Viz").then(function(e){fe=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(we(e))}),Promise.all(n).then(function(){t(!0)})})}var ye={},_e={},ke=["pdflatex","xelatex","lualatex"];function xe(e,t){e.forEach(function(e){!function(e,t){var n,r,i,a=F.createElementMeta("Tex",e,!0);if(a&&a.data){var o=_e[a.hash];if(o)e.parentNode.replaceWith(o);else{var s=null!==(n=t.config.buildType)&&void 0!==n?n:"pdflatex";null!==(r=a.lang)&&void 0!==r&&r.engine&&ke.includes(a.lang.engine.toLowerCase())&&(s=a.lang.engine.toLowerCase()),t.elements=null!==(i=t.elements)&&void 0!==i?i:[];var l={type:s,id:a.id};a.lang&&(l.lang=a.lang),t.elements.push(l)}}}(e,t)})}function Ee(){var e;if(window&&"Tex"in window){var t=window.Tex;if(t.elements&&Array.isArray(t.elements)&&0!==t.elements.length){var n="https://"+(null!==(e=t.config.serverUrl)&&void 0!==e?e:"tex.io");t.elements.forEach(function(e){var r=e.type,i=e.lang,a=document.querySelector("#".concat(e.id));if(a){var o=a.dataset.lang,s=a.textContent.trim(),l=F.hashString(o+s),c=_e[l];if(c)a.parentNode.replaceWith(c);else if("function"==typeof t.svgRender&&t.svgRender){var u,d,h={build:r};i&&((null===(u=i.width)||void 0===u?void 0:u.length)>0&&(h.width=i.width),(null===(d=i.height)||void 0===d?void 0:d.length)>0&&(h.height=i.height),i.zoom&&i.zoom>0&&(h.zoom=i.zoom));try{t.svgRender(a.id,s,h).then(function(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),_e[l]=t}).catch(function(e){})}catch(e){}}else if(window&&window.fetch){var f,p,g=[];if(i)(null===(f=i.width)||void 0===f?void 0:f.length)>0&&g.push("width=".concat(i.width)),(null===(p=i.height)||void 0===p?void 0:p.length)>0&&g.push("height=".concat(i.height)),i.zoom&&i.zoom>0&&g.push("zoom=".concat(i.zoom));var m="".concat(n,"/").concat(r,"/svg")+(g.length>0?"?".concat(g.join("&")):"");try{window.fetch(m,{method:"POST",body:s,headers:{Accept:"*/*","Content-Type":"text/plain; charset=utf-8"}}).then(function(e){if("string"==typeof e)return e;if(e.ok)return e.text();throw Error("RequestError: ".concat(e.status))}).then(function(e){if(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),_e[l]=t}}).catch(function(e){})}catch(e){}}}}),delete t.elements}}}function Se(e){var t=function(){return a({serverUrl:"tex.io",buildType:"pdflatex",svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r,i=n.querySelectorAll("code.tex.language-tex,code.latex.language-latex");return!!i.length&&(window&&(window.Tex=ye),ye.config={serverUrl:this.config.serverUrl,buildType:this.config.buildType},ye.svgRender=this.config.svgRender,e.scripts.push({id:"showdown-tex",code:Ee,once:!0}),xe(i,ye),(null===(t=ye.elements)||void 0===t?void 0:t.length)>0&&(r=n,Object.keys(_e).forEach(function(e){r.querySelector('[id*="-'.concat(e,'"]'))||delete _e[e]})),e)}}]}var Le="vega";if("undefined"==typeof window)throw Error("The showdown vega extension can only be used in browser environment!");if(void 0===Ae)var Ae=window.vegaEmbed||void 0;function je(){return!(void 0===Ae||!Ae)}var Ce=!1;function Pe(e,t,n,r){var i=F.createElementMeta(Le,e);if(!i||!i.data)return Promise.resolve(!1);var a=i.container,o={id:a,code:function(e,t){var n=function(){var n=window.eval,r=document.getElementById(e.id);if(r)if(e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()){var i=n("(function(){".concat(e.data,"; return option;})();"));Ae(r,i,t)}else{var a=JSON.parse(e.data);Ae(r,a,t)}};return n.toString=function(){return e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()?"function(){\n let el = document.getElementById('".concat(e.id,"');\n if (el) {\n ").concat(e.data,";\n const config = ").concat(JSON.stringify(t),";\n vegaEmbed(el, option, config);\n }\n }"):"function(){\n let el = document.getElementById('".concat(e.id,"');\n if (el) {\n const option = ").concat(e.data,";\n const config = ").concat(JSON.stringify(t),";\n vegaEmbed(el, option, config);\n }\n }")},n}(i,t),host:"#".concat(a)};return n.push(o),new Promise(function(e){Me(e,i)})}function ze(e,t,n,r){var i={outer:[{name:Le,src:I.getSrc(!1,Le,"jsdelivr")},{name:"vegaLite",src:I.getSrc(!1,"vegaLite","jsdelivr")},{name:"vegaEmbed",src:I.getSrc(!1,"vegaEmbed","jsdelivr")}],inner:[]};return n.push(i),function(){var e=je();if("undefined"!=typeof window){if(Ce)return e;e||(Ce=!0,I.loadScript(Le).then(function(){return I.loadScript("vegaLite")}).then(function(){return I.loadScript("vegaEmbed")}).then(function(e){Ae=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(n){var a=[];e.forEach(function(e){a.push(Pe(e,r,i.inner))}),t.forEach(function(e){a.push(Pe(e,r,i.inner))}),Promise.all(a).then(function(){n(!0)})})}function Me(e,t){if(je()){var n=t.id,r=t.className,i=t.container,a=t.element.parentNode,o=t.element.style.cssText;return o.length>0&&(o=' style="'.concat(o,'"')),a.outerHTML='<div id="'.concat(i,'" class="').concat(r,'"').concat(o,'><div id="').concat(n,'"></div></div>'),e(!0)}setTimeout(function(){Me(e,t)},10)}function Te(e){var t=function(){return a({actions:{editor:!1},theme:"vox",tooltip:!1,renderer:"svg"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.vega.language-vega"),r=t.querySelectorAll("code.vega-lite.language-vega-lite");return!(!n.length&&!r.length)&&ze(n,r,e.scripts,this.config).then(function(){return e})}}]}if("undefined"==typeof window)throw Error("The showdown antv extension can only be used in browser environment!");if(void 0===Oe)var Oe=window.AntVInfographic||void 0;function Re(){return!(void 0===Oe||!Oe)}var Ne=!1;function Be(e,t){if(Re()){var n,r,i=t.id,a=t.className,o=t.data,s=t.element.parentNode,l=t.element,c=null!==(n=null===(r=t.lang)||void 0===r?void 0:r.options)&&void 0!==n?n:{},u=l.ownerDocument.createElement("div");return u.id=i,l.style.cssText.length>0&&(u.style.cssText=l.style.cssText),u.className=a,c.container=u,t.lang&&(t.lang.width&&(c.width=t.lang.width),t.lang.height&&(c.height=t.lang.height)),new Oe.Infographic(c).render(o),s.replaceWith(u),void e(!0)}setTimeout(function(){Be(e,t)},10)}function Ie(e){return new Promise(function(t){var n=F.createElementMeta("infographic",e);if(!n||!n.data)return t(!1);Be(t,n)})}function De(e){return function(){var e=Re();if("undefined"!=typeof window){if(Ne)return e;if(!e)return Ne=!0,I.loadScript("AntVInfographic").then(function(e){Oe=F.interopDefault(window[e])}).catch(function(e){}),e}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(Ie(e))}),Promise.all(n).then(function(){t(!0)})})}var qe=".",He={input:'"',tag:"mtext",output:"mbox",tex:null,ttype:10},Ue=[{input:"alpha",tag:"mi",output:"α",tex:null,ttype:0},{input:"beta",tag:"mi",output:"β",tex:null,ttype:0},{input:"chi",tag:"mi",output:"χ",tex:null,ttype:0},{input:"delta",tag:"mi",output:"δ",tex:null,ttype:0},{input:"Delta",tag:"mo",output:"Δ",tex:null,ttype:0},{input:"epsi",tag:"mi",output:"ε",tex:"epsilon",ttype:0},{input:"varepsilon",tag:"mi",output:"ɛ",tex:null,ttype:0},{input:"eta",tag:"mi",output:"η",tex:null,ttype:0},{input:"gamma",tag:"mi",output:"γ",tex:null,ttype:0},{input:"Gamma",tag:"mo",output:"Γ",tex:null,ttype:0},{input:"iota",tag:"mi",output:"ι",tex:null,ttype:0},{input:"kappa",tag:"mi",output:"κ",tex:null,ttype:0},{input:"lambda",tag:"mi",output:"λ",tex:null,ttype:0},{input:"Lambda",tag:"mo",output:"Λ",tex:null,ttype:0},{input:"lamda",tag:"mi",output:"lambda",tex:null,ttype:8},{input:"Lamda",tag:"mi",output:"Lambda",tex:null,ttype:8},{input:"mu",tag:"mi",output:"μ",tex:null,ttype:0},{input:"nu",tag:"mi",output:"ν",tex:null,ttype:0},{input:"omega",tag:"mi",output:"ω",tex:null,ttype:0},{input:"Omega",tag:"mo",output:"Ω",tex:null,ttype:0},{input:"phi",tag:"mi",output:"φ",tex:null,ttype:0},{input:"varphi",tag:"mi",output:"ϕ",tex:null,ttype:0},{input:"Phi",tag:"mo",output:"Φ",tex:null,ttype:0},{input:"pi",tag:"mi",output:"π",tex:null,ttype:0},{input:"Pi",tag:"mo",output:"Π",tex:null,ttype:0},{input:"psi",tag:"mi",output:"ψ",tex:null,ttype:0},{input:"Psi",tag:"mi",output:"Ψ",tex:null,ttype:0},{input:"rho",tag:"mi",output:"ρ",tex:null,ttype:0},{input:"sigma",tag:"mi",output:"σ",tex:null,ttype:0},{input:"Sigma",tag:"mo",output:"Σ",tex:null,ttype:0},{input:"tau",tag:"mi",output:"τ",tex:null,ttype:0},{input:"theta",tag:"mi",output:"θ",tex:null,ttype:0},{input:"vartheta",tag:"mi",output:"ϑ",tex:null,ttype:0},{input:"Theta",tag:"mo",output:"Θ",tex:null,ttype:0},{input:"upsilon",tag:"mi",output:"υ",tex:null,ttype:0},{input:"xi",tag:"mi",output:"ξ",tex:null,ttype:0},{input:"Xi",tag:"mo",output:"Ξ",tex:null,ttype:0},{input:"zeta",tag:"mi",output:"ζ",tex:null,ttype:0},{input:"*",tag:"mo",output:"⋅",tex:"cdot",ttype:0},{input:"**",tag:"mo",output:"∗",tex:"ast",ttype:0},{input:"***",tag:"mo",output:"⋆",tex:"star",ttype:0},{input:"//",tag:"mo",output:"/",tex:"/",ttype:0,val:!0,notexcopy:!0},{input:"\\\\",tag:"mo",output:"\\",tex:"backslash",ttype:0},{input:"setminus",tag:"mo",output:"\\",tex:null,ttype:0},{input:"xx",tag:"mo",output:"×",tex:"times",ttype:0},{input:"|><",tag:"mo",output:"⋉",tex:"ltimes",ttype:0},{input:"><|",tag:"mo",output:"⋊",tex:"rtimes",ttype:0},{input:"|><|",tag:"mo",output:"⋈",tex:"bowtie",ttype:0},{input:"-:",tag:"mo",output:"÷",tex:"div",ttype:0},{input:"divide",tag:"mo",output:"-:",tex:null,ttype:8},{input:"@",tag:"mo",output:"∘",tex:"circ",ttype:0},{input:"o+",tag:"mo",output:"⊕",tex:"oplus",ttype:0},{input:"ox",tag:"mo",output:"⊗",tex:"otimes",ttype:0},{input:"o.",tag:"mo",output:"⊙",tex:"odot",ttype:0},{input:"sum",tag:"mo",output:"∑",tex:null,ttype:7},{input:"prod",tag:"mo",output:"∏",tex:null,ttype:7},{input:"^^",tag:"mo",output:"∧",tex:"wedge",ttype:0},{input:"^^^",tag:"mo",output:"⋀",tex:"bigwedge",ttype:7},{input:"vv",tag:"mo",output:"∨",tex:"vee",ttype:0},{input:"vvv",tag:"mo",output:"⋁",tex:"bigvee",ttype:7},{input:"nn",tag:"mo",output:"∩",tex:"cap",ttype:0},{input:"nnn",tag:"mo",output:"⋂",tex:"bigcap",ttype:7},{input:"uu",tag:"mo",output:"∪",tex:"cup",ttype:0},{input:"uuu",tag:"mo",output:"⋃",tex:"bigcup",ttype:7},{input:"overset",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"underset",tag:"munder",output:"stackrel",tex:null,ttype:2},{input:"!=",tag:"mo",output:"≠",tex:"ne",ttype:0},{input:":=",tag:"mo",output:":=",tex:null,ttype:0},{input:"lt",tag:"mo",output:"<",tex:null,ttype:0},{input:"gt",tag:"mo",output:">",tex:null,ttype:0},{input:"<=",tag:"mo",output:"≤",tex:"le",ttype:0},{input:"lt=",tag:"mo",output:"≤",tex:"leq",ttype:0},{input:"gt=",tag:"mo",output:"≥",tex:"geq",ttype:0},{input:">=",tag:"mo",output:"≥",tex:"ge",ttype:0},{input:"-<",tag:"mo",output:"≺",tex:"prec",ttype:0},{input:"-lt",tag:"mo",output:"≺",tex:null,ttype:0},{input:">-",tag:"mo",output:"≻",tex:"succ",ttype:0},{input:"-<=",tag:"mo",output:"⪯",tex:"preceq",ttype:0},{input:">-=",tag:"mo",output:"⪰",tex:"succeq",ttype:0},{input:"in",tag:"mo",output:"∈",tex:null,ttype:0},{input:"!in",tag:"mo",output:"∉",tex:"notin",ttype:0},{input:"sub",tag:"mo",output:"⊂",tex:"subset",ttype:0},{input:"sup",tag:"mo",output:"⊃",tex:"supset",ttype:0},{input:"sube",tag:"mo",output:"⊆",tex:"subseteq",ttype:0},{input:"supe",tag:"mo",output:"⊇",tex:"supseteq",ttype:0},{input:"-=",tag:"mo",output:"≡",tex:"equiv",ttype:0},{input:"~=",tag:"mo",output:"≅",tex:"stackrel{\\sim}{=}",notexcopy:!0,ttype:0},{input:"cong",tag:"mo",output:"~=",tex:null,ttype:8},{input:"~~",tag:"mo",output:"≈",tex:"approx",ttype:0},{input:"prop",tag:"mo",output:"∝",tex:"propto",ttype:0},{input:"and",tag:"mtext",output:"and",tex:null,ttype:6},{input:"or",tag:"mtext",output:"or",tex:null,ttype:6},{input:"not",tag:"mo",output:"¬",tex:"neg",ttype:0},{input:"=>",tag:"mo",output:"⇒",tex:"Rightarrow",ttype:0},{input:"implies",tag:"mo",output:"=>",tex:null,ttype:8},{input:"if",tag:"mo",output:"if",tex:null,ttype:6},{input:"<=>",tag:"mo",output:"⇔",tex:"Leftrightarrow",ttype:0},{input:"iff",tag:"mo",output:"<=>",tex:null,ttype:8},{input:"AA",tag:"mo",output:"∀",tex:"forall",ttype:0},{input:"EE",tag:"mo",output:"∃",tex:"exists",ttype:0},{input:"_|_",tag:"mo",output:"⊥",tex:"bot",ttype:0},{input:"TT",tag:"mo",output:"⊤",tex:"top",ttype:0},{input:"|--",tag:"mo",output:"⊢",tex:"vdash",ttype:0},{input:"|==",tag:"mo",output:"⊨",tex:"models",ttype:0},{input:"(",tag:"mo",output:"(",tex:null,ttype:4,val:!0},{input:")",tag:"mo",output:")",tex:null,ttype:5,val:!0},{input:"[",tag:"mo",output:"[",tex:null,ttype:4,val:!0},{input:"]",tag:"mo",output:"]",tex:null,ttype:5,val:!0},{input:"left(",tag:"mo",output:"(",tex:"(",notexcopy:!0,ttype:4,val:!0},{input:"right)",tag:"mo",output:")",tex:")",notexcopy:!0,ttype:5,val:!0},{input:"left[",tag:"mo",output:"[",tex:"[",notexcopy:!0,ttype:4,val:!0},{input:"right]",tag:"mo",output:"]",tex:"]",notexcopy:!0,ttype:5,val:!0},{input:"{",tag:"mo",output:"{",tex:"lbrace",ttype:4},{input:"}",tag:"mo",output:"}",tex:"rbrace",ttype:5},{input:"|",tag:"mo",output:"|",tex:null,ttype:9,val:!0},{input:"|:",tag:"mo",output:"|",tex:"|",ttype:4,notexcopy:!0,val:!0},{input:":|",tag:"mo",output:"|",tex:"|",ttype:5,notexcopy:!0,val:!0},{input:":|:",tag:"mo",output:"|",tex:"|",ttype:0,notexcopy:!0,val:!0},{input:"(:",tag:"mo",output:"〈",tex:"langle",ttype:4},{input:":)",tag:"mo",output:"〉",tex:"rangle",ttype:5},{input:"<<",tag:"mo",output:"〈",tex:"langle",ttype:4},{input:">>",tag:"mo",output:"〉",tex:"rangle",ttype:5},{input:"{:",tag:"mo",output:"{:",tex:null,ttype:4,invisible:!0},{input:":}",tag:"mo",output:":}",tex:null,ttype:5,invisible:!0},{input:"int",tag:"mo",output:"∫",tex:null,ttype:0},{input:"dx",tag:"mi",output:"{:d x:}",tex:null,ttype:8},{input:"dy",tag:"mi",output:"{:d y:}",tex:null,ttype:8},{input:"dz",tag:"mi",output:"{:d z:}",tex:null,ttype:8},{input:"dt",tag:"mi",output:"{:d t:}",tex:null,ttype:8},{input:"oint",tag:"mo",output:"∮",tex:null,ttype:0},{input:"del",tag:"mo",output:"∂",tex:"partial",ttype:0},{input:"grad",tag:"mo",output:"∇",tex:"nabla",ttype:0},{input:"+-",tag:"mo",output:"±",tex:"pm",ttype:0},{input:"O/",tag:"mo",output:"∅",tex:"emptyset",ttype:0},{input:"oo",tag:"mo",output:"∞",tex:"infty",ttype:0},{input:"aleph",tag:"mo",output:"ℵ",tex:null,ttype:0},{input:"...",tag:"mo",output:"...",tex:"ldots",ttype:0},{input:":.",tag:"mo",output:"∴",tex:"therefore",ttype:0},{input:":'",tag:"mo",output:"∵",tex:"because",ttype:0},{input:"/_",tag:"mo",output:"∠",tex:"angle",ttype:0},{input:"/_\\",tag:"mo",output:"△",tex:"triangle",ttype:0},{input:"\\ ",tag:"mo",output:" ",tex:null,ttype:0,val:!0},{input:"frown",tag:"mo",output:"⌢",tex:null,ttype:0},{input:"%",tag:"mo",output:"%",tex:"%",ttype:0,notexcopy:!0},{input:"quad",tag:"mo",output:" ",tex:null,ttype:0},{input:"qquad",tag:"mo",output:" ",tex:null,ttype:0},{input:"cdots",tag:"mo",output:"⋯",tex:null,ttype:0},{input:"vdots",tag:"mo",output:"⋮",tex:null,ttype:0},{input:"ddots",tag:"mo",output:"⋱",tex:null,ttype:0},{input:"diamond",tag:"mo",output:"⋄",tex:null,ttype:0},{input:"square",tag:"mo",output:"□",tex:"boxempty",ttype:0},{input:"|__",tag:"mo",output:"⌊",tex:"lfloor",ttype:0},{input:"__|",tag:"mo",output:"⌋",tex:"rfloor",ttype:0},{input:"|~",tag:"mo",output:"⌈",tex:"lceil",ttype:0},{input:"lceiling",tag:"mo",output:"|~",tex:null,ttype:8},{input:"~|",tag:"mo",output:"⌉",tex:"rceil",ttype:0},{input:"rceiling",tag:"mo",output:"~|",tex:null,ttype:8},{input:"CC",tag:"mo",output:"ℂ",tex:"mathbb{C}",ttype:0,notexcopy:!0},{input:"NN",tag:"mo",output:"ℕ",tex:"mathbb{N}",ttype:0,notexcopy:!0},{input:"QQ",tag:"mo",output:"ℚ",tex:"mathbb{Q}",ttype:0,notexcopy:!0},{input:"RR",tag:"mo",output:"ℝ",tex:"mathbb{R}",ttype:0,notexcopy:!0},{input:"ZZ",tag:"mo",output:"ℤ",tex:"mathbb{Z}",ttype:0,notexcopy:!0},{input:"f",tag:"mi",output:"f",tex:null,ttype:1,func:!0,val:!0},{input:"g",tag:"mi",output:"g",tex:null,ttype:1,func:!0,val:!0},{input:"''",tag:"mo",output:"''",tex:null,val:!0},{input:"'''",tag:"mo",output:"'''",tex:null,val:!0},{input:"''''",tag:"mo",output:"''''",tex:null,val:!0},{input:"lim",tag:"mo",output:"lim",tex:null,ttype:7},{input:"Lim",tag:"mo",output:"Lim",tex:null,ttype:7},{input:"sin",tag:"mo",output:"sin",tex:null,ttype:1,func:!0},{input:"cos",tag:"mo",output:"cos",tex:null,ttype:1,func:!0},{input:"tan",tag:"mo",output:"tan",tex:null,ttype:1,func:!0},{input:"arcsin",tag:"mo",output:"arcsin",tex:null,ttype:1,func:!0},{input:"arccos",tag:"mo",output:"arccos",tex:null,ttype:1,func:!0},{input:"arctan",tag:"mo",output:"arctan",tex:null,ttype:1,func:!0},{input:"sinh",tag:"mo",output:"sinh",tex:null,ttype:1,func:!0},{input:"cosh",tag:"mo",output:"cosh",tex:null,ttype:1,func:!0},{input:"tanh",tag:"mo",output:"tanh",tex:null,ttype:1,func:!0},{input:"cot",tag:"mo",output:"cot",tex:null,ttype:1,func:!0},{input:"coth",tag:"mo",output:"coth",tex:null,ttype:1,func:!0},{input:"sech",tag:"mo",output:"sech",tex:null,ttype:1,func:!0},{input:"csch",tag:"mo",output:"csch",tex:null,ttype:1,func:!0},{input:"sec",tag:"mo",output:"sec",tex:null,ttype:1,func:!0},{input:"csc",tag:"mo",output:"csc",tex:null,ttype:1,func:!0},{input:"log",tag:"mo",output:"log",tex:null,ttype:1,func:!0},{input:"ln",tag:"mo",output:"ln",tex:null,ttype:1,func:!0},{input:"abs",tag:"mo",output:"abs",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["|","|"]},{input:"norm",tag:"mo",output:"norm",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["\\|","\\|"]},{input:"floor",tag:"mo",output:"floor",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["\\lfloor","\\rfloor"]},{input:"ceil",tag:"mo",output:"ceil",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["\\lceil","\\rceil"]},{input:"Sin",tag:"mo",output:"Sin",tex:null,ttype:1,func:!0},{input:"Cos",tag:"mo",output:"Cos",tex:null,ttype:1,func:!0},{input:"Tan",tag:"mo",output:"Tan",tex:null,ttype:1,func:!0},{input:"Arcsin",tag:"mo",output:"Arcsin",tex:null,ttype:1,func:!0},{input:"Arccos",tag:"mo",output:"Arccos",tex:null,ttype:1,func:!0},{input:"Arctan",tag:"mo",output:"Arctan",tex:null,ttype:1,func:!0},{input:"Sinh",tag:"mo",output:"Sinh",tex:null,ttype:1,func:!0},{input:"Cosh",tag:"mo",output:"Cosh",tex:null,ttype:1,func:!0},{input:"Tanh",tag:"mo",output:"Tanh",tex:null,ttype:1,func:!0},{input:"Cot",tag:"mo",output:"Cot",tex:null,ttype:1,func:!0},{input:"Sec",tag:"mo",output:"Sec",tex:null,ttype:1,func:!0},{input:"Csc",tag:"mo",output:"Csc",tex:null,ttype:1,func:!0},{input:"Log",tag:"mo",output:"Log",tex:null,ttype:1,func:!0},{input:"Ln",tag:"mo",output:"Ln",tex:null,ttype:1,func:!0},{input:"Abs",tag:"mo",output:"abs",tex:null,ttype:1,notexcopy:!0,rewriteleftright:["|","|"]},{input:"det",tag:"mo",output:"det",tex:null,ttype:1,func:!0},{input:"exp",tag:"mo",output:"exp",tex:null,ttype:1,func:!0},{input:"dim",tag:"mo",output:"dim",tex:null,ttype:0},{input:"mod",tag:"mo",output:"mod",tex:"text{mod}",ttype:0,notexcopy:!0},{input:"gcd",tag:"mo",output:"gcd",tex:null,ttype:1,func:!0},{input:"lcm",tag:"mo",output:"lcm",tex:"text{lcm}",ttype:1,func:!0,notexcopy:!0},{input:"lub",tag:"mo",output:"lub",tex:null,ttype:0},{input:"glb",tag:"mo",output:"glb",tex:null,ttype:0},{input:"min",tag:"mo",output:"min",tex:null,ttype:7},{input:"max",tag:"mo",output:"max",tex:null,ttype:7},{input:"uarr",tag:"mo",output:"↑",tex:"uparrow",ttype:0},{input:"darr",tag:"mo",output:"↓",tex:"downarrow",ttype:0},{input:"rarr",tag:"mo",output:"→",tex:"rightarrow",ttype:0},{input:"->",tag:"mo",output:"→",tex:"to",ttype:0},{input:">->",tag:"mo",output:"↣",tex:"rightarrowtail",ttype:0},{input:"->>",tag:"mo",output:"↠",tex:"twoheadrightarrow",ttype:0},{input:">->>",tag:"mo",output:"⤖",tex:"twoheadrightarrowtail",ttype:0},{input:"|->",tag:"mo",output:"↦",tex:"mapsto",ttype:0},{input:"larr",tag:"mo",output:"←",tex:"leftarrow",ttype:0},{input:"harr",tag:"mo",output:"↔",tex:"leftrightarrow",ttype:0},{input:"rArr",tag:"mo",output:"⇒",tex:"Rightarrow",ttype:0},{input:"lArr",tag:"mo",output:"⇐",tex:"Leftarrow",ttype:0},{input:"hArr",tag:"mo",output:"⇔",tex:"Leftrightarrow",ttype:0},{input:"sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"root",tag:"mroot",output:"root",tex:null,ttype:2},{input:"frac",tag:"mfrac",output:"/",tex:null,ttype:2},{input:"/",tag:"mfrac",output:"/",tex:null,ttype:3},{input:"stackrel",tag:"mover",output:"stackrel",tex:null,ttype:2},{input:"_",tag:"msub",output:"_",tex:null,ttype:3},{input:"^",tag:"msup",output:"^",tex:null,ttype:3},{input:"cancel",tag:"menclose",output:"cancel",tex:null,ttype:1},{input:"Sqrt",tag:"msqrt",output:"sqrt",tex:null,ttype:1},{input:"hat",tag:"mover",output:"^",tex:null,ttype:1,acc:!0},{input:"bar",tag:"mover",output:"¯",tex:"overline",ttype:1,acc:!0},{input:"vec",tag:"mover",output:"→",tex:null,ttype:1,acc:!0},{input:"tilde",tag:"mover",output:"~",tex:null,ttype:1,acc:!0},{input:"dot",tag:"mover",output:".",tex:null,ttype:1,acc:!0},{input:"ddot",tag:"mover",output:"..",tex:null,ttype:1,acc:!0},{input:"overarc",tag:"mover",output:"⏜",tex:"stackrel{\\frown}",notexcopy:!0,ttype:1,acc:!0},{input:"overparen",tag:"mover",output:"⏜",tex:"stackrel{\\frown}",notexcopy:!0,ttype:1,acc:!0},{input:"ul",tag:"munder",output:"̲",tex:"underline",ttype:1,acc:!0},{input:"ubrace",tag:"munder",output:"⏟",tex:"underbrace",ttype:1,acc:!0},{input:"obrace",tag:"mover",output:"⏞",tex:"overbrace",ttype:1,acc:!0},{input:"text",tag:"mtext",output:"text",tex:null,ttype:10},{input:"mbox",tag:"mtext",output:"mbox",tex:null,ttype:10},He,{input:"color",tag:"mstyle",ttype:2},{input:"bb",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"bb",tex:"mathbf",ttype:1,notexcopy:!0},{input:"mathbf",tag:"mstyle",atname:"mathvariant",atval:"bold",output:"mathbf",tex:null,ttype:1},{input:"sf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"sf",tex:"mathsf",ttype:1,notexcopy:!0},{input:"mathsf",tag:"mstyle",atname:"mathvariant",atval:"sans-serif",output:"mathsf",tex:null,ttype:1},{input:"bbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"bbb",tex:"mathbb",ttype:1,notexcopy:!0},{input:"mathbb",tag:"mstyle",atname:"mathvariant",atval:"double-struck",output:"mathbb",tex:null,ttype:1},{input:"cc",tag:"mstyle",atname:"mathvariant",atval:"script",output:"cc",tex:"mathcal",ttype:1,notexcopy:!0},{input:"mathcal",tag:"mstyle",atname:"mathvariant",atval:"script",output:"mathcal",tex:null,ttype:1},{input:"tt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"tt",tex:"mathtt",ttype:1,notexcopy:!0},{input:"mathtt",tag:"mstyle",atname:"mathvariant",atval:"monospace",output:"mathtt",tex:null,ttype:1},{input:"fr",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"fr",tex:"mathfrak",ttype:1,notexcopy:!0},{input:"mathfrak",tag:"mstyle",atname:"mathvariant",atval:"fraktur",output:"mathfrak",tex:null,ttype:1}];function Fe(e,t){return e.input>t.input?1:-1}var Ze,$e,We,Ve=[];function Ge(e,t){var n;n="\\"==e.charAt(t)&&"\\"!=e.charAt(t+1)&&" "!=e.charAt(t+1)?e.slice(t+1):e.slice(t);for(var r=0;n.length>r&&32>=n.charCodeAt(r);r+=1);return n.slice(r)}function Ye(e,t,n){if(0==n){var r,i;for(n=-1,r=e.length;r>n+1;)t>e[i=n+r>>1]?n=i:r=i;return r}for(var a=n;e.length>a&&t>e[a];a++);return a}function Je(e){for(var t,n,r,i=0,a="",o=!0,s=1;e.length>=s&&o;s++)n=e.slice(0,s),i=Ye(Ve,n,i),Ve.length>i&&e.slice(0,Ve[i].length)==Ve[i]&&(t=i,s=(a=Ve[i]).length),o=Ve.length>i&&e.slice(0,Ve[i].length)>=Ve[i];if($e=We,""!=a)return We=Ue[t].ttype,Ue[t];We=0,i=1,n=e.slice(0,1);for(var l=!0;n>="0"&&"9">=n&&e.length>=i;)n=e.slice(i,i+1),i++;if(n==qe&&(n=e.slice(i,i+1))>="0"&&"9">=n)for(l=!1,i++;n>="0"&&"9">=n&&e.length>=i;)n=e.slice(i,i+1),i++;return l&&i>1||i>2?(n=e.slice(0,i-1),r="mn"):(i=2,r=("A">(n=e.slice(0,1))||n>"Z")&&("a">n||n>"z")?"mo":"mi"),"-"==n&&3==$e?(We=3,{input:n,tag:r,output:n,ttype:1,func:!0,val:!0}):{input:n,tag:r,output:n,ttype:0,val:!0}}function Ke(e){var t;if("{"==e.charAt(0)&&"}"==e.charAt(e.length-1)){var n=0;"\\left"==(t=e.substr(1,5))?"("==(t=e.charAt(6))||"["==t||"{"==t?n=7:"\\lbrace"==(t=e.substr(6,7))&&(n=13):"("!=(t=e.charAt(1))&&"["!=t||(n=2),n>0&&("\\right)}"==(t=e.substr(e.length-8))||"\\right]}"==t||"\\right.}"==t?e=(e="{"+e.substr(n)).substr(0,e.length-8)+"}":"\\rbrace}"==t&&(e=(e="{"+e.substr(n)).substr(0,e.length-14)+"}"))}return e}function Xe(e){var t;return t="boolean"==typeof e.val&&e.val?"":"\\",null==e.tex?t+e.input:t+e.tex}function Qe(e){var t,n,r,i,a="";if(null==(t=Je(e=Ge(e,0)))||5==t.ttype&&Ze>0)return[null,e];switch(8==t.ttype&&(t=Je(e=t.output+Ge(e,t.input.length))),t.ttype){case 7:case 0:e=Ge(e,t.input.length);var o=Xe(t);return"\\"==o.charAt(0)||"mo"==t.tag?[o,e]:["{"+o+"}",e];case 4:Ze++,r=tt(e=Ge(e,t.input.length),!0),Ze--;var s=0;return"\\right"==r[0].substr(0,6)&&(")"==(c=r[0].charAt(6))||"]"==c||"}"==c?s=6:"."==c?s=7:"\\rbrace"==(c=r[0].substr(6,7))&&(s=13)),s>0?(r[0]=r[0].substr(s),n="boolean"==typeof t.invisible&&t.invisible?"{"+r[0]+"}":"{"+Xe(t)+r[0]+"}"):n="boolean"==typeof t.invisible&&t.invisible?"{\\left."+r[0]+"}":"{\\left"+Xe(t)+r[0]+"}",[n,r[1]];case 10:return t!=He&&(e=Ge(e,t.input.length)),-1==(i="{"==e.charAt(0)?e.indexOf("}"):"("==e.charAt(0)?e.indexOf(")"):"["==e.charAt(0)?e.indexOf("]"):t==He?e.slice(1).indexOf('"')+1:0)&&(i=e.length)," "==(c=e.slice(1,i)).charAt(0)&&(a="\\ "),a+="\\text{"+c+"}"," "==c.charAt(c.length-1)&&(a+="\\ "),[a,e=Ge(e,i+1)];case 1:return null==(r=Qe(e=Ge(e,t.input.length)))[0]?["{"+Xe(t)+"}",e]:"boolean"==typeof t.func&&t.func?"^"==(c=e.charAt(0))||"_"==c||"/"==c||"|"==c||","==c||1==t.input.length&&t.input.match(/\w/)&&"("!=c?["{"+Xe(t)+"}",e]:[n="{"+Xe(t)+"{"+r[0]+"}}",r[1]]:(r[0]=Ke(r[0]),"sqrt"==t.input?["\\sqrt{"+r[0]+"}",r[1]]:"cancel"==t.input?["\\cancel{"+r[0]+"}",r[1]]:void 0!==t.rewriteleftright?["{\\left"+t.rewriteleftright[0]+r[0]+"\\right"+t.rewriteleftright[1]+"}",r[1]]:"boolean"==typeof t.acc&&t.acc?[Xe(t)+"{"+r[0]+"}",r[1]]:["{"+Xe(t)+"{"+r[0]+"}}",r[1]]);case 2:if(null==(r=Qe(e=Ge(e,t.input.length)))[0])return["{"+Xe(t)+"}",e];r[0]=Ke(r[0]);var l=Qe(r[1]);return null==l[0]?["{"+Xe(t)+"}",e]:(l[0]=Ke(l[0]),[a="color"==t.input?"{\\color{"+r[0].replace(/[\{\}]/g,"")+"}"+l[0]+"}":"root"==t.input?"{\\sqrt["+r[0]+"]{"+l[0]+"}}":"{"+Xe(t)+"{"+r[0]+"}{"+l[0]+"}}",l[1]]);case 3:return e=Ge(e,t.input.length),[t.output,e];case 6:return e=Ge(e,t.input.length),["{\\quad\\text{"+t.input+"}\\quad}",e];case 9:Ze++,r=tt(e=Ge(e,t.input.length),!1),Ze--;var c="";return"|"==(c=r[0].charAt(r[0].length-1))&&","!==e.charAt(0)?[n="{\\left|"+r[0]+"}",r[1]]:[n="{\\mid}",e];default:return e=Ge(e,t.input.length),["{"+Xe(t)+"}",e]}}function et(e){var t,n,r,i,a;if(n=Je(e=Ge(e,0)),i=(a=Qe(e))[0],3==(t=Je(e=a[1])).ttype&&"/"!=t.input){if((a=Qe(e=Ge(e,t.input.length)))[0]=null==a[0]?"{}":Ke(a[0]),e=a[1],"_"==t.input)if("^"==(r=Je(e)).input){var o=Qe(e=Ge(e,r.input.length));o[0]=Ke(o[0]),e=o[1],i="{"+i,i+="_{"+a[0]+"}",i+="^{"+o[0]+"}",i+="}"}else i+="_{"+a[0]+"}";else i=i+"^{"+a[0]+"}";void 0!==n.func&&n.func&&(3==(r=Je(e)).ttype||5==r.ttype||1>=n.input.length&&4!=r.ttype||(i="{"+i+(a=et(e))[0]+"}",e=a[1]))}return[i,e]}function tt(e,t){var n,r,i,a,o="",s=!1;do{r=(i=et(e=Ge(e,0)))[0],3==(n=Je(e=i[1])).ttype&&"/"==n.input?((i=et(e=Ge(e,n.input.length)))[0]=null==i[0]?"{}":Ke(i[0]),e=i[1],r="\\frac{"+(r=Ke(r))+"}",o+=r+="{"+i[0]+"}",n=Je(e)):null!=r&&(o+=r)}while((5!=n.ttype&&(9!=n.ttype||t)||0==Ze)&&null!=n&&""!=n.output);if(5==n.ttype||9==n.ttype){var l=o.length;if(l>2&&"{"==o.charAt(0)&&o.indexOf(",")>0){var c=o.charAt(l-2);if(")"==c||"]"==c){var u=o.charAt(6);if("("==u&&")"==c&&"}"!=n.output||"["==u&&"]"==c){var d="",h=[];h.push(0);var f=!0,p=0,g=[];g[0]=[0];var m=0,v=0,w="";for(a=1;l-1>a;a++)o.charAt(a)==u&&p++,o.charAt(a)==c&&0==--p&&","==o.charAt(a+2)&&"{"==o.charAt(a+3)&&(h.push(a+2),g[m=a+2]=[a+2]),"["!=o.charAt(a)&&"("!=o.charAt(a)&&"{"!=o.charAt(a)||v++,"]"!=o.charAt(a)&&")"!=o.charAt(a)&&"}"!=o.charAt(a)||v--,","==o.charAt(a)&&1==v&&g[m].push(a),0>v&&(m==a+1?a++:f=!1);h.push(l);var b=-1;if(0==p&&h.length>0&&f)for(a=0;h.length-1>a;a++){if(a>0&&(d+="\\\\"),0==a)if(1==g[h[a]].length)var y=[o.substr(h[a]+7,h[a+1]-h[a]-15)];else{y=[o.substring(h[a]+7,g[h[a]][1])];for(var _=2;g[h[a]].length>_;_++)y.push(o.substring(g[h[a]][_-1]+1,g[h[a]][_]));y.push(o.substring(g[h[a]][g[h[a]].length-1]+1,h[a+1]-8))}else if(1==g[h[a]].length)y=[o.substr(h[a]+8,h[a+1]-h[a]-16)];else{for(y=[o.substring(h[a]+8,g[h[a]][1])],_=2;g[h[a]].length>_;_++)y.push(o.substring(g[h[a]][_-1]+1,g[h[a]][_]));y.push(o.substring(g[h[a]][g[h[a]].length-1]+1,h[a+1]-8))}for(_=y.length-1;_>=0;_--)"{\\mid}"==y[_]?(0==a&&(w="|"+w),y.splice(_,1)):0==a&&(w="c"+w);b>0&&y.length!=b?f=!1:-1==b&&(b=y.length),d+=y.join("&")}d="\\begin{array}{"+w+"} "+d+"\\end{array}",f&&(o=d)}}}e=Ge(e,n.input.length),"boolean"==typeof n.invisible&&n.invisible?(o+="\\right.",s=!0):(o+=r="\\right"+Xe(n),s=!0)}return Ze>0&&!s&&(o+="\\right."),[o,e]}function nt(e){return Ze=0,null==(e=(e=(e=e.replace(/( |\u00a0| )/g,"")).replace(/>/g,">")).replace(/</g,"<")).match(/\S/)?"":tt(e.replace(/^\s+/g,""),!1)[0]}if(function(){var e,t=Ue.length;for(e=0;t>e;e++)!Ue[e].tex||"boolean"==typeof Ue[e].notexcopy&&Ue[e].notexcopy||Ue.push({input:Ue[e].tex,tag:Ue[e].tag,output:Ue[e].output,ttype:Ue[e].ttype,acc:Ue[e].acc||!1});!function(){var e;for(Ue.sort(Fe),e=0;Ue.length>e;e++)Ve[e]=Ue[e].input}()}(),"undefined"==typeof window)throw Error("The showdown katex extension can only be used in browser environment!");if(void 0===rt)var rt=window.katex||void 0;if("undefined"==typeof renderMathInElement)var it=window.renderMathInElement||void 0;var at=0;function ot(){return!(void 0===rt||!rt)}var st=!1;function lt(e,t){var n=ot();if("undefined"!=typeof window){if(st)return n;if(!n)return st=!0,I.loadScript("katex").then(function(t){if(rt=F.interopDefault(window[t]),"katex"===e)return I.loadScript("renderMathInElement")}).then(function(e){it=F.interopDefault(window[e]),"function"==typeof t&&t&&t(it)}).catch(function(e){}),n}return"function"==typeof t&&t&&t(it),n}function ct(e,t){if(ot()){var n=t.className,r=t.input,i=t.data,a=t.options,o=t.element.ownerDocument,s="";if(i instanceof Array)i.forEach(function(e){if(""===e)s+="<br>";else{var t=rt.renderToString(e,a);s+='<div title="'.concat(r,'" class="').concat(n,'">').concat(t,"</div>")}});else{var l=rt.renderToString(i,a);s='<div title="'.concat(r,'" class="').concat(n,'">').concat(l,"</div>")}return t.element.parentNode.outerHTML=s,! --at&&it&&it(o.body,a),void e(!0)}setTimeout(function(){ct(e,t)},10)}function ut(e,t,n){return new Promise(function(r){var i,a=F.createElementMeta("katex",e,!1,function(e){var t;i=e;var r=e.split(/\n[ \f\r\t\v]*\n/);return r.length>1?(t=[],r.forEach(function(e){""!==(e=e.trim())&&(e=n?nt(e):e),t.push(e)})):t=n?nt(i):i,t});if(!a)return r(!1);a.input=i,a.options=t,ct(r,a)})}function dt(e){return e.replace(/[-[\]/{}()*+?.\\$^|]/g,"\\$&")}var ht=function(){var e=a({engine:"katex",displayMode:!0,throwOnError:!1,errorColor:"#ff0000",delimiters:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});function t(e,t){return!(!e||"object"!==d(e)||!e.hasOwnProperty(t))}function n(e,n,r){return!!(t(e,n)&&t(e[n],r)&&(i=e[n][r],Array.isArray(i)&&i.length))&&(e[n][r].forEach(function(e){e.display="inline"!==r,"asciimath"===n&&(e.asciimath=!0)}),e[n][r]);var i}return Array.isArray(e.delimiters)?e.delimiters.length||(e.delimiters=[{left:"$$",right:"$$",display:!0},{left:"\\[",right:"\\]",display:!0},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"@@",right:"@@",display:!0,asciimath:!0},{left:"\\$",right:"\\$",display:!1,asciimath:!0}]):e.delimiters=[].concat(n(e.delimiters,"texmath","display")||[{left:"$$",right:"$$",display:!0},{left:"\\[",right:"\\]",display:!0},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0}]).concat(n(e.delimiters,"texmath","inline")||[{left:"\\(",right:"\\)",display:!1}]).concat(n(e.delimiters,"asciimath","display")||[{left:"@@",right:"@@",display:!0,asciimath:!0}]).concat(n(e.delimiters,"asciimath","inline")||[{left:"\\$",right:"\\$",display:!1,asciimath:!0}]),e};function ft(e){var t=0,n=ht(e),r=n.delimiters.map(function(e){var n=e.right,r=e.display,i=e.asciimath;return{test:RegExp("".concat(dt(e.left),"([\\s\\S]+?)").concat(dt(n)),"g"),replacer:function(e,n){return++t,i&&(n=nt(n)),r?"\\[".concat(n,"\\]"):"\\(".concat(n,"\\)")}}});return[{type:"output",config:n,filter:function(e){var n=this;t=0;var i=e.wrapper;if(!i)return!1;"katex"===this.config.engine&&r.length&&i.querySelectorAll(":not(code):not(pre)").forEach(function(e){var t=e.textContent;if(t.length>0){var n=r.reduce(function(e,t){return e.replace(t.test,t.replacer)},t);e.textContent=n}});var a=i.querySelectorAll("code.katex.language-katex"),o=i.querySelectorAll("code.asciimath.language-asciimath");if(!a.length&&!o.length){if(t>0){var s=function(e,t){ot()?(t(i.ownerDocument.body,l.config),e(!0)):setTimeout(function(){s(e,t)},10)};this.config.cssLink=I.getCSS(!0,"katex");var l=this;return new Promise(function(e){lt(n.config.engine,function(t){s(e,t)})}).then(function(){return e})}return!1}return this.config.cssLink=I.getCSS(!0,"katex"),F.addCssLink(e,this.config.cssLink,"css-katex"),function(e,t,n){return at=e.length+t.length,lt(n.engine),new Promise(function(r){var i=[];e.forEach(function(e){i.push(ut(e,n,!1))}),t.forEach(function(e){i.push(ut(e,n,!0))}),Promise.all(i).then(function(){r(!0)})})}(a,o,this.config).then(function(){return e})}}]}var pt={},gt={};function mt(e,t){e.forEach(function(e){!function(e,t){var n=F.createElementMeta("Tex",e,!0);if(n&&n.data){var r=pt[n.hash];if(r)e.parentNode.replaceWith(r);else{var i,a="";if(e.classList.length>0){var o=e.classList[0].split("-");o.length>1&&(a=o[o.length-1])}a.length>0&&window&&window.fetch&&t&&(t.elements=null!==(i=t.elements)&&void 0!==i?i:[],t.elements.push({type:a,id:n.id}))}}}(e,t)})}function vt(){var e;if(window&&"Kroki"in window){var t=window.Kroki;if(t.elements&&Array.isArray(t.elements)&&0!==t.elements.length){var n=null!==(e=t.config.imageFormat)&&void 0!==e?e:"svg";t.elements.forEach(function(e){var r,i=e.type,a=document.querySelector("#".concat(e.id));if(a){var o=a.dataset.lang,s=a.textContent.trim(),l=F.hashString(o+s),c=pt[l];if(c)a.parentNode.replaceWith(c);else if("function"==typeof t.svgRender&&t.svgRender){var u={diagramType:i,imageFormat:n};try{t.svgRender(a.id,s,u).then(function(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),pt[l]=t}).catch(function(e){})}catch(e){}}else{var d="https://"+(null!==(r=t.config.serverUrl)&&void 0!==r?r:"kroki.io"),h="".concat(d,"/").concat(i,"/").concat(n);try{window.fetch(h,{method:"POST",body:s,headers:{Accept:"*/*","Content-Type":"text/plain; charset=utf-8"}}).then(function(e){if("string"==typeof e)return e;if(e.ok)return e.text();throw Error("RequestError: ".concat(e.status))}).then(function(e){if(e){var t=document.createElement("div");t.id=a.id,t.className=a.className,a.style.cssText.length>0&&(t.style=a.style.cssText),t.innerHTML=e,a.parentNode.replaceWith(t),pt[l]=t}}).catch(function(e){})}catch(e){}}}}),delete t.elements}}}function wt(e){var t=function(){return a({serverUrl:"kroki.io",imageFormat:"svg",svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r,i=n.querySelectorAll('code[class*="language-kroki-"]');return!!i.length&&(window&&(window.Kroki=gt),gt.config={serverUrl:this.config.serverUrl,imageFormat:this.config.imageFormat},gt.svgRender=this.config.svgRender,e.scripts.push({id:"showdown-kroki",code:vt,once:!0}),mt(i,gt),(null===(t=gt.elements)||void 0===t?void 0:t.length)>0&&(r=n,Object.keys(pt).forEach(function(e){r.querySelector('[id*="-'.concat(e,'"]'))||delete pt[e]})),e)}}]}if(void 0===bt)var bt=window.Shiki||void 0;function yt(){return!(void 0===(bt=window.Shiki)||!bt)}var _t,kt=!1;function xt(){function e(){var e;function t(e,t){e.content&&(e.content.textContent=t),e.root&&e.root.classList.remove("hidden"),e.timer&&(clearTimeout(e.timer),e.timer=null),e.timer=setTimeout(function(){e.content&&(e.content.textContent=""),e.root&&e.root.classList.add("hidden"),e.timer=null,e.content=null,e.root=null},5e3)}var n=document.querySelectorAll(".codeblock-container");if(null!=n&&n.length){!function(t){if(e)return e;var n=t.createElement("div");n.classList.add("select-items","select-theme-items");var r=[];window.Shiki.bundledThemesInfo.forEach(function(i){var a=function(n,r,i){var a=t.createElement("div");a.classList.add("options-item"),a.dataset.theme=r,a.dataset.name=i,a.title=i;var o=t.createElement("span");return o.classList.add("select-item-content"),o.textContent=i,a.appendChild(o),a.addEventListener("click",function(t){var r=t.currentTarget;if(r.classList.add("selected-item"),Array.from(n.children).forEach(function(e){e!==r&&e.classList.remove("selected-item")}),e&&e.container){var i=e.container,a=e.themer,o=e.tools;if(i.dataset.theme=r.dataset.theme,i.dataset.themeName=r.dataset.name,a){var s=ae.getLangString("code-theme-prefix");a.dataset.title=s+r.dataset.name}var l=i.dataset.language,c=r.dataset.theme,u=i.querySelector("pre code");u&&window.Shiki.codeToHtml(null==u?void 0:u.textContent,{lang:l,theme:c}).then(function(e){u.parentNode.outerHTML=e}),o&&o.classList.remove("show-theme-options"),e.container=null,e.themer=null,e.tools=null}n.style="",n.remove(),t.stopPropagation()}),{option:a,content:o}}(n,i.id,i.displayName);n.appendChild(a.option),r.push(a)});var i=[];window.Shiki.bundledLanguagesInfo.forEach(function(e){i.push(e.id),e.aliases&&e.aliases.forEach(function(e){i.push(e)})}),e={options:n,items:r,langs:i}}(document);for(var r=function(){var r=n[i],a=r.querySelector(".codeblock-tools"),o=r.querySelector(".tools-button-copy");o&&o.addEventListener("click",function(){var e=r.querySelector("pre code"),n={root:r.querySelector(".tools-message"),content:r.querySelector(".tools-message-content")};navigator.clipboard.writeText(null==e?void 0:e.textContent).then(function(){t(n,ae.getLangString("msg-copy-success"))},function(e){t(n,ae.getLangString("msg-copy-failed"))})});var s=r.querySelector(".tools-button-theme");s&&s.addEventListener("click",function(t){if(e){var n;e.container&&e.options&&e.options.remove(),e.container=r,e.themer=s,e.tools=a,e.tools&&e.tools.classList.add("show-theme-options"),e.items.forEach(function(e){r.dataset.theme===e.option.dataset.theme?(n=e.option,e.option.classList.add("selected-item")):e.option.classList.remove("selected-item")});var i=s.getBoundingClientRect(),o=e.container.getBoundingClientRect();e.options.style.top=i.bottom-o.top-1+"px",e.options.style.right=0,e.container.appendChild(e.options),e.options.classList.remove("hidden"),n&&n.scrollIntoView({container:"nearest"}),t.stopPropagation()}})},i=0;n.length>i;i++)r();document.addEventListener("click",function(){var t;null!==(t=e)&&void 0!==t&&null!==(t=t.options)&&void 0!==t&&t.parentNode&&(e.options.style="",e.options.remove(),e.tools&&e.tools.classList.remove("show-theme-options"),e.container=null,e.themer=null,e.tools=null)},!1)}}window&&"Shiki"in window?e():import("https://esm.sh/shiki@3.21.0").then(function(t){window.Shiki="default"in t&&t.default?t.default:t,e()})}function Et(e,t,n){if(yt()){for(var r=t.classList[0],i="",a=0;bt.bundledLanguagesInfo.length>a;a++){var o=bt.bundledLanguagesInfo[a];if(o.id===r){i=o.name;break}if(o.aliases&&o.aliases.includes(r)){i=o.name;break}}if(!i)return void e(!1);for(var s=h,l=0;bt.bundledThemesInfo.length>l;l++)if(bt.bundledThemesInfo[l].id===s){s=bt.bundledThemesInfo[l].displayName;break}var c=t.textContent.trim(),u=t.ownerDocument,d=F.parseAttribute(t.dataset.lang),h=null!=d&&d.theme?d.theme:n.theme;bt.codeToHtml(c,{lang:r,theme:h}).then(function(n){var a=u.createElement("div");a.classList.add("codeblock-container"),a.dataset.theme=h,a.dataset.themeName=s,a.dataset.language=r,a.dataset.langName=i;var o=function(e,t,n){var r=ae.getLangString("code-copy"),i=ae.getLangString("code-theme-prefix"),a=ae.getLangString("code-lang-prefix"),o=e.createElement("div");return o.classList.add("codeblock-tools","toolbar-hover"),o.innerHTML='<div class="tools-message hidden">\n <div class="tools-icon tools-message-icon">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-info"/>\n </svg>\n </div>\n <span class="tools-message-content"></span>\n </div>\n <div class="tools-icon tools-button-lang" rel="tooltip" data-title="'.concat(a).concat(t,'">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-language"/>\n </svg>\n </div>\n <div class="tools-icon tools-button-theme" rel="tooltip" data-title="').concat(i).concat(n,'">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-theme"/>\n </svg>\n </div>\n <div class="tools-icon tools-button-copy" rel="tooltip" data-title="').concat(r,'">\n <svg xmlns="http://www.w3.org/2000/svg">\n <use xlink:href="#svg-icon-copy"/>\n </svg>\n </div>'),o}(u,i,s);a.appendChild(o);var l=function(e){return _t||(_t=e.createElement("div"))}(u);l.innerHTML=n;var c=l.children[0];c.remove(),a.appendChild(c),t.parentNode.replaceWith(a),e(!0)}).catch(function(t){e(!1)})}else setTimeout(function(){Et(e,t,n)},100)}function St(e,t){return function(){var e=yt();if("undefined"!=typeof window){if(kt)return e;e||(kt=!0,I.loadScript("Shiki").then(function(e){bt=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(n){var r=[];e.forEach(function(e){r.push(function(e,t){return new Promise(function(n){Et(n,e,t)})}(e,t))}),Promise.all(r).then(function(){n(!0)})})}var Lt=['<symbol id="svg-icon-info" viewBox="64 64 896 896" fill="currentColor"><path d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"></path></symbol>','<symbol id="svg-icon-language" viewBox="0 0 1024 1024" fill="currentColor"><path d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m0-938.666667C276.352 85.333333 85.333333 276.352 85.333333 512s191.018667 426.666667 426.666667 426.666667 426.666667-191.018667 426.666667-426.666667A426.666667 426.666667 0 0 0 512 85.333333z m0 682.666667a42.666667 42.666667 0 0 1-42.368-42.666667v-255.573333a42.368 42.368 0 1 1 84.693333 0V725.333333A42.410667 42.410667 0 0 1 512 768z m0-426.666667a42.325333 42.325333 0 1 1-0.085333-84.650666A42.325333 42.325333 0 0 1 512 341.333333z m42.325333-42.666666v0z"></path></symbol>','<symbol id="svg-icon-theme" viewBox="0 0 1024 1024" fill="currentColor"><path d="M42.666667 512C42.666667 251.733333 251.733333 42.666667 512 42.666667s469.333333 187.733333 469.333333 422.4c0 72.533333-29.866667 145.066667-81.066666 200.533333-51.2 51.2-123.733333 81.066667-200.533334 81.066667h-85.333333c-12.8 0-25.6 12.8-29.866667 25.6 0 8.533333 4.266667 17.066667 8.533334 21.333333 21.333333 21.333333 29.866667 46.933333 29.866666 76.8 0 64-51.2 110.933333-115.2 115.2C251.733333 981.333333 42.666667 772.266667 42.666667 512z m85.333333 0c0 213.333333 170.666667 384 384 384 17.066667 0 29.866667-12.8 29.866667-29.866667 0-4.266667 0-8.533333-4.266667-12.8l-4.266667-4.266666c-17.066667-21.333333-25.6-46.933333-29.866666-76.8 0-64 51.2-110.933333 115.2-110.933334h85.333333c51.2 0 102.4-21.333333 136.533333-55.466666 38.4-38.4 55.466667-85.333333 55.466667-136.533334 0-187.733333-170.666667-341.333333-384-341.333333s-384 170.666667-384 384z m593.066667 21.333333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-17.066667 0-38.4-8.533333-51.2-21.333334z m-520.533334 0c-21.333333-21.333333-25.6-51.2-17.066666-76.8 12.8-25.6 38.4-42.666667 64-42.666666 38.4 0 68.266667 34.133333 72.533333 72.533333 0 29.866667-17.066667 55.466667-42.666667 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266667-21.333333 0-38.4-8.533333-51.2-21.333334z m379.733334-187.733333c-21.333333-21.333333-25.6-51.2-17.066667-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533333 72.533334 0 29.866667-17.066667 55.466667-42.666666 64-8.533333 4.266667-17.066667 4.266667-25.6 4.266666-21.333333 0-38.4-8.533333-51.2-21.333333zM341.333333 345.6c-17.066667-21.333333-25.6-51.2-12.8-76.8 12.8-25.6 38.4-42.666667 64-42.666667 38.4 0 68.266667 34.133333 72.533334 72.533334 0 29.866667-17.066667 55.466667-42.666667 64l-29.866667 4.266666c-17.066667 0-34.133333-8.533333-51.2-21.333333z"></path></symbol>','<symbol id="svg-icon-copy" viewBox="0 0 16 16" fill="currentColor"><path d="M7 5h2a3 3 0 0 0 3-3 2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2 3 3 0 0 0 3 3zM6 2a2 2 0 1 1 4 0 1 1 0 0 1-1 1H7a1 1 0 0 1-1-1z"></path></symbol>'];function At(e){var t=function(){return a({theme:"ayu-dark"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r=n.querySelectorAll('code[class*="language-"]');return!!r.length&&(e.scripts.push({id:"shiki-ext",code:xt,module:!0}),(t=e.symbols).push.apply(t,Lt),St(r,this.config).then(function(){return e}))}}]}if("undefined"==typeof window)throw Error("The showdown zenuml extension can only be used in browser environment!");var jt="zenuml";if(void 0===Ct)var Ct=window.zenuml||void 0;function Pt(){return!(void 0===Ct||!Ct)}var zt=!1;function Mt(e,t){if(Pt()){var n,r,i=t.id,a=t.className,o=t.data,s=t.element.parentNode,l=t.element,c=null!==(n=null===(r=t.lang)||void 0===r?void 0:r.options)&&void 0!==n?n:{},u=l.ownerDocument.createElement("div");return u.id=i,l.style.cssText.length>0&&(u.style.cssText=l.style.cssText),u.className=a,u.classList.remove("zenuml"),c.theme||(c.theme="theme-blue"),new Ct(u).render(o,c),s.replaceWith(u),void e(!0)}setTimeout(function(){Mt(e,t)},10)}function Tt(e){return new Promise(function(t){var n=F.createElementMeta(jt,e);if(!n||!n.data)return t(!1);Mt(t,n)})}function Ot(e,t){return function(){var e=Pt();if("undefined"!=typeof window){if(zt)return e;if(!e)return zt=!0,I.loadScript(jt).then(function(e){Ct=F.interopDefault(window[e])}).catch(function(e){}),e}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(Tt(e))}),Promise.all(n).then(function(){t(!0)})})}if("undefined"==typeof window)throw Error("The showdown plotly extension can only be used in browser environment!");var Rt="Plotly";if(void 0===Nt)var Nt=window.Plotly||void 0;function Bt(){return!(void 0===Nt||!Nt)}var It=!1;function Dt(e,t,n){if(Bt()){var r=t.id,i=t.className,a=t.data,o=t.element.parentNode,s=t.element,l=s.ownerDocument.createElement("div");return l.id=r,s.style.cssText.length>0&&(l.style.cssText=s.style.cssText),l.className=i,o.replaceWith(l),n.push({id:r,code:"(function(){\n try {\n const it = document.querySelector('#".concat(r,"');\n if (!it) return;\n ").concat(a,"\n }catch(e){\n console.error('plotly script run failed: ', e.toString());\n }\n})();"),host:l}),void e(!0)}setTimeout(function(){Dt(e,t,n)},10)}function qt(e,t){return new Promise(function(n){var r=F.createElementMeta(Rt,e);if(!r||!r.data)return n(!1);Dt(n,r,t)})}function Ht(e,t){!function(){var e=Bt();if("undefined"!=typeof window){if(It)return e;if(!e)return It=!0,I.loadScript(Rt).then(function(e){Nt=F.interopDefault(window[e])}).catch(function(e){}),e}}();var n={inner:[]};return t.push(n),new Promise(function(t){var r=[];e.forEach(function(e){r.push(qt(e,n.inner))}),Promise.all(r).then(function(){t(!0)})})}var Ut={},Ft={};function Zt(e,t){e.forEach(function(e){!function(e,t){var n,r=F.createElementMeta("Gnuplot",e,!0);if(r&&r.data){var i=Ft[r.hash];if(i)e.parentNode.replaceWith(i);else{t.elements=null!==(n=t.elements)&&void 0!==n?n:[];var a={id:r.id};r.lang&&(a.lang=r.lang),r.hash&&(a.hash=r.hash),t.elements.push(a)}}}(e,t)})}function $t(){if(window&&"Gnuplot"in window){var e=window.Gnuplot;e.elements&&Array.isArray(e.elements)&&0!==e.elements.length&&"function"==typeof e.svgRender&&e.svgRender&&(e.elements.forEach(function(t){var n=t.hash,r=document.querySelector("#".concat(t.id));if(r){var i=Ft[n];if(i)r.parentNode.replaceWith(i);else try{var a="set terminal svg\n".concat(r.textContent.trim(),"\n");e.svgRender(r.id,a).then(function(e){(i=document.createElement("div")).id=r.id,i.className=r.className,r.style.cssText.length>0&&(i.style=r.style.cssText),i.innerHTML=e,r.parentNode.replaceWith(i),Ft[n]=i}).catch(function(e){})}catch(e){}}}),delete e.elements)}}function Wt(e){var t=function(){return a({svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t,n=e.wrapper;if(!n)return!1;var r,i=n.querySelectorAll("code.gnuplot.language-gnuplot");return!!i.length&&(window&&(window.Gnuplot=Ut),Ut.svgRender=this.config.svgRender,e.scripts.push({id:"showdown-gnuplot",code:$t,once:!0}),Zt(i,Ut),(null===(t=Ut.elements)||void 0===t?void 0:t.length)>0&&(r=n,Object.keys(Ft).forEach(function(e){r.querySelector('[id*="-'.concat(e,'"]'))||delete Ft[e]})),e)}}]}if("undefined"==typeof window)throw Error("The showdown MathJax extension can only be used in browser environment!");if(void 0===Vt)var Vt=window.MathJax||void 0;var Gt=0;function Yt(){return!(void 0===Vt||!Vt)}var Jt=!1;function Kt(e){var t=Yt();if("undefined"!=typeof window){if(Jt)return t;t||(Jt=!0,window.MathJax={tex:{inlineMath:{"[+]":[["\\$","\\$"]]},displayMath:{"[+]":[["@@","@@"]]}},svg:{fontCache:"global"},options:{menuOptions:{settings:{enrich:!0,collapsible:!1,speech:!1,braille:!1,assistiveMml:!1}}},startup:{pageReady:function(){return window.MathJax.startup.defaultPageReady().then(function(){})}}},e?F.deepMerge(window.MathJax,e):window.MathJaxConfig&&F.deepMerge(window.MathJax,window.MathJaxConfig),I.loadScript("MathJax").then(function(e){Vt=F.interopDefault(window[e])}).catch(function(e){}))}return t}function Xt(e,t){if(Yt()){var n,r=t.id,i=t.className,a=null!==(n=t.cssLink)&&void 0!==n?n:"",o=a.length>0?" css-mathjax":"",s=t.element,l=s.ownerDocument;Vt.tex2svgPromise(t.data,t.options).then(function(t){var n=l.createElement("div");n.id=r,n.className="".concat(i).concat(o),a.length>0&&(n.dataset.css=a),s.style.cssText.length>0&&(n.style=s.style.cssText),n.appendChild(t),s.parentNode.replaceWith(n),--Gt||Vt.startup.document.clear(),e(!0)}).catch(function(t){--Gt||Vt.startup.document.clear(),e(!1)})}else setTimeout(function(){Xt(e,t)},10)}function Qt(e,t){return new Promise(function(n){var r,i=F.createElementMeta("MathJax",e);if(!i||!i.data)return n(!1);i.options=Object.assign(null!=t?t:{},null!==(r=i.options)&&void 0!==r?r:{}),Xt(n,i)})}var en=function(){var e=a({engine:"mathjax",delimiters:[],mathJax:{},conversion:{}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{});function t(e,t){return!(!e||"object"!==d(e)||!e.hasOwnProperty(t))}function n(e,n,r){return!!(t(e,n)&&t(e[n],r)&&(i=e[n][r],Array.isArray(i)&&i.length))&&(e[n][r].forEach(function(e){e.display="inline"!==r,e.asciimath=!0}),e[n][r]);var i}return Array.isArray(e.delimiters)?e.delimiters.length||(e.delimiters=[{left:"@@",right:"@@",display:!0,asciimath:!0},{left:"\\$",right:"\\$",display:!1,asciimath:!0}]):e.delimiters=[].concat(n(e.delimiters,"asciimath","display")||[{left:"@@",right:"@@",display:!0,asciimath:!0}]).concat(n(e.delimiters,"asciimath","inline")||[{left:"\\$",right:"\\$",display:!1,asciimath:!0}]),e};function tn(e){if(Yt()){var t=document.querySelector(".showdowns");t&&(window.MathJax.startup.document&&window.MathJax.startup.document.clearMathItemsWithin([t]),window.MathJax.texReset(),window.MathJax.typesetPromise().then(function(){window.MathJax.startup.document.clear(),"function"==typeof e&&e&&e(window.MathJax)}).catch(function(e){}))}else setTimeout(function(){tn(e)},10)}function nn(e){var t=en(e);return[{type:"output",config:t,filter:function(e){var n,r,i=e.wrapper;if(!i)return!1;this.config.mathJax=null!==(n=this.config.mathJax)&&void 0!==n?n:{};var a=this.config.mathJax;if((null===(r=t.delimiters)||void 0===r?void 0:r.length)>0){var o,s,l,c,u={inlineMath:{},displayMath:{}};t.delimiters.forEach(function(e){var t,n;e.display?u.displayMath["[+]"]=(null!==(t=u.displayMath["[+]"])&&void 0!==t?t:[]).concat([[e.left,e.right]]):u.inlineMath["[+]"]=(null!==(n=u.inlineMath["[+]"])&&void 0!==n?n:[]).concat([[e.left,e.right]])}),a.tex||(a.tex={inlineMath:{},displayMath:{}}),a.tex.inlineMath=null!==(o=a.tex.inlineMath)&&void 0!==o?o:{},a.tex.displayMath=null!==(s=a.tex.displayMath)&&void 0!==s?s:{},0==(null!==(l=a.tex.inlineMath["[+]"])&&void 0!==l?l:[]).length&&(a.tex.inlineMath["[+]"]=u.inlineMath["[+]"]),0==(null!==(c=a.tex.displayMath["[+]"])&&void 0!==c?c:[]).length&&(a.tex.displayMath["[+]"]=u.displayMath["[+]"])}var d=!1;if("mathjax"===this.config.engine){var h=i.querySelectorAll(":not(code):not(pre)");if(h.length>0)for(var f=0;h.length>f;f++){if(h[f].textContent.match(/(?:@@|\$\$|\\\$|\\\(|\\\[|\\begin\{.*?})/)){e.scripts.push({id:"showdown-mathjax",code:tn,once:!0}),Kt(this.config.mathJax),d=!0;break}}}var p=i.querySelectorAll("code.mathjax.language-mathjax,code.math.language-math");return p.length?function(e,t){return Gt=e.length,Kt(t.mathJax),new Promise(function(n){var r=[];e.forEach(function(e){r.push(Qt(e,t.conversion))}),Promise.all(r).then(function(){n(!0)})})}(p,this.config).then(function(){return e}):!!d&&e}}]}var rn="echarts";if("undefined"==typeof window)throw Error("The showdown echarts extension can only be used in browser environment!");if(void 0===an)var an=window.echarts||void 0;function on(){return!!an}var sn=!1;function ln(e,t){if(on()){var n=t.id,r=t.container,i=t.className,a=t.element.parentNode;t.lang?(t.lang.width||(t.lang.width="400px"),t.lang.height||(t.lang.height="300px")):t.lang={width:"400px",height:"300px"};var o="width:".concat(t.lang.width,"; height:").concat(t.lang.height,";");return a.outerHTML='<div id="'.concat(r,'" class="').concat(i,'" style="').concat(o,'"><div id="').concat(n,'" style="width:100%;height:100%;display:inline-block"></div></div>'),e(!0)}setTimeout(function(){ln(e,t)},20)}function cn(e,t,n){var r=F.createElementMeta(rn,e);if(!r||!r.data)return Promise.resolve(!1);n=a(a({},n),{},{ssr:!1,width:r.lang.width,height:r.lang.height});var i={id:r.container,code:function(e,t){var n=function(){var n=window.eval,r=document.getElementById(e.id);if(r){var i=an.getInstanceByDom(r);if(i||(r.innerHTML=""),i=an.init(r,null,t),e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()){var a=n("(function(){".concat(e.data,"; return option;})();"));i.setOption(a)}else{var o=JSON.parse(e.data);i.setOption(o)}}};return n.toString=function(){return e.lang&&e.lang.type&&"string"==typeof e.lang.type&&"javascript"==e.lang.type.toLowerCase()?"function(){\n const config = ".concat(JSON.stringify(t),";\n let el = document.getElementById('").concat(e.id,"');\n if (el) {\n let chart = echarts.getInstanceByDom(el);\n if (!chart) {\n el.innerHTML = '';\n }\n chart = echarts.init(el, null, config);\n ").concat(e.data,"\n chart.setOption(option);\n }\n }"):"function(){\n const config = ".concat(JSON.stringify(t),";\n let el = document.getElementById('").concat(e.id,"');\n if (el) {\n let chart = echarts.getInstanceByDom(el);\n if (!chart) {\n el.innerHTML = '';\n }\n chart = echarts.init(el, null, config);\n const option = ").concat(e.data,";\n chart.setOption(option);\n }\n }")},n}(r,n),host:"#".concat(r.container)};return t.push(i),new Promise(function(e){ln(e,r)})}function un(e,t,n){var r={outer:[{name:rn,src:I.getSrc(!1,rn,"jsdelivr")}],inner:[]};return t.push(r),function(){var e=on();if("undefined"!=typeof window){if(sn)return e;e||(sn=!0,I.loadScript(rn).then(function(e){an=F.interopDefault(window[e])}).catch(function(e){}))}}(),new Promise(function(t){var i=[];e.forEach(function(e){i.push(cn(e,r.inner,n))}),Promise.all(i).then(function(){t(!0)})})}function dn(e){var t=function(){return a({renderer:"svg",ssr:!1,tooltip:{show:!0},animation:!0,useDirtyRect:!1},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.echarts.language-echarts");return!!n.length&&un(n,e.scripts,this.config).then(function(){return e})}}]}var hn="http://www.w3.org/2000/xmlns/",fn="http://www.w3.org/2000/svg",pn=/url\(["']?(.+?)["']?\)/,gn={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},mn=function(e){if(!((t=e)instanceof HTMLElement||t instanceof SVGElement))throw Error("an HTMLElement or SVGElement is required; got "+e);var t},vn=function(e,t,n){var r=e.viewBox&&e.viewBox.baseVal&&e.viewBox.baseVal[n]||null!==t.getAttribute(n)&&!t.getAttribute(n).match(/%$/)&&parseInt(t.getAttribute(n))||e.getBoundingClientRect()[n]||parseInt(t.style[n])||parseInt(window.getComputedStyle(e).getPropertyValue(n));return null==r||isNaN(parseFloat(r))?0:r},wn=function(e){return Promise.all(Array.from(e.querySelectorAll("image")).map(function(e){var t,n=e.getAttributeNS("http://www.w3.org/1999/xlink","href")||e.getAttribute("href");return n?((t=n)&&0===t.lastIndexOf("http",0)&&-1===t.lastIndexOf(window.location.host)&&(n+=(-1===n.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise(function(t,r){var i=document.createElement("canvas"),a=new Image;a.crossOrigin="anonymous",a.src=n,a.onerror=function(){return r(Error("Could not load "+n))},a.onload=function(){i.width=a.width,i.height=a.height,i.getContext("2d").drawImage(a,0,0),e.setAttributeNS("http://www.w3.org/1999/xlink","href",i.toDataURL("image/png")),t(!0)}})):Promise.resolve(null)}))},bn={},yn=function(e){return Promise.all(e.map(function(e){return new Promise(function(t,n){if(bn[e.url])return t(bn[e.url]);var r=new XMLHttpRequest;r.addEventListener("load",function(){var n=function(e){for(var t="",n=new Uint8Array(e),r=0;n.byteLength>r;r++)t+=String.fromCharCode(n[r]);return window.btoa(t)}(r.response),i=e.text.replace(pn,'url("data:'+e.format+";base64,"+n+'")')+"\n";bn[e.url]=i,t(i)}),r.addEventListener("error",function(n){bn[e.url]=null,t(null)}),r.addEventListener("abort",function(e){t(null)}),r.open("GET",e.url),r.responseType="arraybuffer",r.send()})})).then(function(e){return e.filter(function(e){return e}).join("")})},_n=null,kn=function(){return _n||(_n=Array.from(document.styleSheets).map(function(e){try{return{rules:e.cssRules,href:e.href}}catch(e){return{}}}))},xn=function(e){var t=kn().find(function(t){if("rules"in t)for(var n=0;t.rules.length>n;n++){var r=t.rules[n];if(r.selectorText&&r.selectorText.indexOf(e)>=0)return!0}return!1});return t?Array.from(t.rules).map(function(e){return e.cssText}).join(""):""},En=function(e,t){var n=t||{},r=n.selectorRemap,i=n.modifyStyle,a=n.fonts,o=n.excludeUnusedCss,s=n.modifyCss||function(e,t){return(r?r(e):e)+"{"+(i?i(t):t)+"}\n"},l=[],c=void 0===a,u=a||[];return kn().forEach(function(t){var n=t.rules,r=t.href;n&&Array.from(n).forEach(function(t){if(void 0!==t.style)if(function(e,t){if(t)try{return e.querySelector(t)||e.parentNode&&e.parentNode.querySelector(t)}catch(e){}}(e,t.selectorText))l.push(s(t.selectorText,t.style.cssText));else if(c&&t.cssText.match(/^@font-face/)){var n=function(e,t){var n=e.cssText.match(pn),r=n&&n[1]||"";if(r&&!r.match(/^data:/)&&"about:blank"!==r){var i,a,o=r.startsWith("../")?t+"/../"+r:r.startsWith("./")?t+"/."+r:r;return{text:e.cssText,format:(i=o,a=Object.keys(gn).filter(function(e){return i.indexOf("."+e)>0}).map(function(e){return gn[e]}),a?a[0]:"application/octet-stream"),url:o}}}(t,r);n&&u.push(n)}else o||l.push(t.cssText)})}),yn(u).then(function(e){return l.join("\n")+e})},Sn=function(e,t){var n=document.createElement("style");n.setAttribute("type","text/css"),n.innerHTML="<![CDATA[\n"+t+"\n]]>";var r=document.createElementNS("http://www.w3.org/2000/svg","defs");r.appendChild(n),e.insertBefore(r,e.firstChild);var i=document.createElement("div");return i.appendChild(e),i.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href')},Ln=function(e,t,n){mn(e);var r=t||{},i=r.left,a=void 0===i?0:i,o=r.top,s=void 0===o?0:o,l=r.width,c=r.height,u=r.scale,d=void 0===u?1:u,h=r.responsive,f=void 0!==h&&h,p=r.excludeCss,g=void 0!==p&&p,m=r.autosize,v="string"==typeof r.includeCss&&r.includeCss.length>0&&r.includeCss;return wn(e).then(function(){var r=e.cloneNode(!0);r.style.backgroundColor=(t||{}).backgroundColor||e.style.backgroundColor;var i=function(e,t,n,r){if("svg"===e.tagName)return{width:n||vn(e,t,"width"),height:r||vn(e,t,"height")};if(e.getBBox){var i=e.getBBox();return{width:i.x+i.width,height:i.y+i.height}}}(e,r,l,c),o=i.width,u=i.height;if("svg"!==e.tagName){if(!e.getBBox)return;null!=r.getAttribute("transform")&&r.setAttribute("transform",r.getAttribute("transform").replace(/translate\(.*?\)/,""));var h=document.createElementNS("http://www.w3.org/2000/svg","svg");h.appendChild(r),r=h}if(r.setAttribute("version","1.1"),r.setAttribute("viewBox",[a,s,o,u].join(" ")),r.getAttribute("xmlns")||r.setAttributeNS(hn,"xmlns",fn),r.getAttribute("xmlns:xlink")||r.setAttributeNS(hn,"xmlns:xlink","http://www.w3.org/1999/xlink"),f?(r.removeAttribute("width"),r.removeAttribute("height"),r.setAttribute("preserveAspectRatio","xMinYMin meet")):(r.setAttribute("width",m?"100%":o*d),r.setAttribute("height",u*d)),Array.from(r.querySelectorAll("foreignObject > *")).forEach(function(e){e.getAttribute("xmlns")||e.setAttributeNS(hn,"xmlns","svg"===e.tagName?fn:"http://www.w3.org/1999/xhtml")}),g){var p=document.createElement("div");p.appendChild(r);var w=p.innerHTML;if("function"!=typeof n)return{src:w,width:o,height:u};n(w,o,u)}else{if(!v)return En(e,t).then(function(e){var t=Sn(r,e);if("function"!=typeof n)return{src:t,width:o,height:u};n(t,o,u)});var b=Sn(r,v);if("function"!=typeof n)return{src:b,width:o,height:u};n(b,o,u)}})},An=function(e,t,n){return mn(e),Ln(e,t).then(function(e){var t=e.width,r=e.height,i="data:image/svg+xml;base64,"+window.btoa(decodeURIComponent(encodeURIComponent('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp " ">]>'+e.src).replace(/%([0-9A-F]{2})/g,function(e,t){var n=String.fromCharCode("0x"+t);return"%"===n?"%25":n})));return"function"==typeof n&&n(i,t,r),i})},jn=function(e,t,n){mn(e);var r=t||{},i=r.encoderType,a=void 0===i?"image/png":i,o=r.encoderOptions,s=void 0===o?.8:o,l=r.canvg,c=function(e){var t=e.src,r=e.width,i=e.height,o=document.createElement("canvas"),c=o.getContext("2d"),u=window.devicePixelRatio||1;o.width=r*u,o.height=i*u,o.style.width=o.width+"px",o.style.height=o.height+"px",c.setTransform(u,0,0,u,0,0),l?l(o,t):c.drawImage(t,0,0);var d=void 0;try{d=o.toDataURL(a,s)}catch(e){if("undefined"!=typeof SecurityError&&e instanceof SecurityError||"SecurityError"===e.name)return;throw e}return"function"==typeof n&&n(d,o.width,o.height),Promise.resolve(d)};return l?Ln(e,t).then(c):An(e,t).then(function(e){return new Promise(function(t,n){var r=new Image;r.onload=function(){return t(c({src:r,width:r.width,height:r.height}))},r.onerror=function(){n("There was an error loading the data URI as an image on the following SVG\n"+window.atob(e.slice(26))+"Open the following link to see browser's diagnosis\n"+e)},r.src=e})})},Cn="mermaid";if("undefined"==typeof window)throw Error("The showdown mermaid extension can only be used in browser environment!");if(void 0===Pn)var Pn=window.mermaid||void 0;function zn(){return!(void 0===Pn||!Pn)}var Mn=!1;function Tn(e,n,r){var i=e.ownerDocument,a=i.createElement("details");a.setAttribute("title",ae.getLangString("export-actions-title"));var s=i.createElement("summary");s.innerHTML='<svg viewBox="0 0 16 16" fill="currentColor" stroke="none" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">\n <circle r="2" cy="8" cx="2"></circle>\n <circle r="2" cy="8" cx="8"></circle>\n <circle r="2" cy="8" cx="14"></circle>\n</svg>',a.append(s);document.addEventListener("click",function(e){a.contains(e.target)||a.removeAttribute("open")});var l=i.createElement("div");l.classList.add("diagram-actions");for(var c=!!e.querySelector(".zenuml"),u=function(){var e=h[d],i=ae.getLangString("export-".concat(e,"-action"),"Save as ".concat(e.toUpperCase())),a=document.createElement("a");a.text=i,a.href="#",a.target="_blank",a.download="".concat(r,".").concat(e),a.addEventListener("mousedown",function(){var r,i=(r=o().m(function t(r){var i,s;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:if(r.preventDefault(),i="",s="",t.p=1,c&&(s=xn("zenuml")),"svg"!==e){t.n=3;break}return t.n=2,An(n,{autosize:!0,excludeCss:!s,fonts:!1,includeCss:s});case 2:i=t.v,t.n=5;break;case 3:return t.n=4,jn(n,{encoderOptions:1,excludeCss:!s,backgroundColor:"#fff",fonts:!1,includeCss:s});case 4:i=t.v;case 5:t.n=7;break;case 6:return t.p=6,t.a(2);case 7:a.href=i;case 8:return t.a(2)}},t,null,[[1,6]])}),function(){var e=this,n=arguments;return new Promise(function(i,a){var o=r.apply(e,n);function s(e){t(o,i,a,s,l,"next",e)}function l(e){t(o,i,a,s,l,"throw",e)}s(void 0)})});return function(e){return i.apply(this,arguments)}}()),l.append(a)},d=0,h=["svg","png"];h.length>d;d++)u();a.append(l),e.appendChild(a)}function On(e,t){if(zn()){var n=t.id,r=t.className,i=t.element.parentNode,a=t.element,o=a.ownerDocument;Pn.render(n,t.data).then(function(t){var s=a.style.cssText,l=o.createElement("div");l.classList.add("diagram-container","has-actions");var c=o.createElement("div");r&&(c.className=r),c.classList.add("diagram-wrapper"),s.length>0&&c.setAttribute("style",s),c.innerHTML=t.svg,l.appendChild(c),Tn(l,c.querySelector("svg"),n),i.replaceWith(l),e(!0)}).catch(function(t){e(!1)})}else setTimeout(function(){On(e,t)},10)}function Rn(e){return new Promise(function(t){var n=F.createElementMeta(Cn,e);if(!n||!n.data)return t(!1);On(t,n)})}function Nn(e,t){return function(e){var t=zn();if("undefined"!=typeof window){if(Mn)return t;if(!t)return Mn=!0,I.loadScript(Cn).then(function(t){if("string"==typeof t)(Pn=F.interopDefault(window[t])).initialize(e);else if(Array.isArray(t)&&t.length>0){var n=[],r=[];t.forEach(function(e){var t=F.interopDefault(window[e]);Array.isArray(t)?r.push.apply(r,c(t)):n.push(t)});var i=n[0];n.shift(),r.length>0&&i.registerLayoutLoaders(r),n.length>0?i.registerExternalDiagrams(n).then(function(){(Pn=i).initialize(e)}):(Pn=i).initialize(e)}}),t}Pn.initialize(e)}(t),new Promise(function(t){var n=[];e.forEach(function(e){n.push(Rn(e))}),Promise.all(n).then(function(){t(!0)})})}function Bn(e){var t=function(){return a({theme:"forest",logLevel:4,startOnLoad:!1,arrowMarkerAbsolute:!1,flowchart:{curve:"basis"},gantt:{axisFormat:"%m/%d/%Y"},sequence:{actorMargin:50}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.mermaid.language-mermaid");return!!n.length&&Nn(n,this.config).then(function(){return e})}}]}var In="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Dn=[],qn=[],Hn="undefined"!=typeof Uint8Array?Uint8Array:Array,Un=!1;function Fn(){Un=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;64>t;++t)Dn[t]=e[t],qn[e.charCodeAt(t)]=t;qn[45]=62,qn[95]=63}function Zn(e){return Dn[e>>18&63]+Dn[e>>12&63]+Dn[e>>6&63]+Dn[63&e]}function $n(e,t,n){for(var r=[],i=t;n>i;i+=3)r.push(Zn((e[i]<<16)+(e[i+1]<<8)+e[i+2]));return r.join("")}function Wn(e){var t;Un||Fn();for(var n=e.length,r=n%3,i="",a=[],o=16383,s=0,l=n-r;l>s;s+=o)a.push($n(e,s,s+o>l?l:s+o));return 1===r?(i+=Dn[(t=e[n-1])>>2],i+=Dn[t<<4&63],i+="=="):2===r&&(i+=Dn[(t=(e[n-2]<<8)+e[n-1])>>10],i+=Dn[t>>4&63],i+=Dn[t<<2&63],i+="="),a.push(i),a.join("")}function Vn(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,a=f&(1<<-u)-1,f>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=h,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=h,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),a-=c}return(f?-1:1)*o*Math.pow(2,a-r)}function Gn(e,t,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,h=23===i?5.960464477539062e-8:0,f=r?0:a-1,p=r?1:-1,g=0>t||0===t&&0>1/t?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=u):(1>t*(l=Math.pow(2,-(o=Math.floor(Math.log(t)/Math.LN2))))&&(o--,l*=2),2>(t+=1>o+d?h*Math.pow(2,1-d):h/l)*l||(o++,l/=2),u>o+d?1>o+d?(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0):(s=(t*l-1)*Math.pow(2,i),o+=d):(s=0,o=u));i>=8;e[n+f]=255&s,f+=p,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[n+f]=255&o,f+=p,o/=256,c-=8);e[n+f-p]|=128*g}var Yn={}.toString,Jn=Array.isArray||function(e){return"[object Array]"==Yn.call(e)};function Kn(){return Qn.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Xn(e,t){if(Kn()<t)throw new RangeError("Invalid typed array length");return Qn.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Qn.prototype:(null===e&&(e=new Qn(t)),e.length=t),e}function Qn(e,t,n){if(!(Qn.TYPED_ARRAY_SUPPORT||this instanceof Qn))return new Qn(e,t,n);if("number"==typeof e){if("string"==typeof t)throw Error("If encoding is specified then the first argument must be a string");return nr(this,e)}return er(this,e,t,n)}function er(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(0>n||n>t.byteLength)throw new RangeError("'offset' is out of bounds");if(n+(r||0)>t.byteLength)throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);Qn.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Qn.prototype:e=rr(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!Qn.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|or(t,n);e=Xn(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(ar(t)){var n=0|ir(t.length);return 0===(e=Xn(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?Xn(e,0):rr(e,t);if("Buffer"===t.type&&Jn(t.data))return rr(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function tr(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(0>e)throw new RangeError('"size" argument must not be negative')}function nr(e,t){if(tr(t),e=Xn(e,0>t?0:0|ir(t)),!Qn.TYPED_ARRAY_SUPPORT)for(var n=0;t>n;++n)e[n]=0;return e}function rr(e,t){var n=0>t.length?0:0|ir(t.length);e=Xn(e,n);for(var r=0;n>r;r+=1)e[r]=255&t[r];return e}function ir(e){if(e>=Kn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Kn().toString(16)+" bytes");return 0|e}function ar(e){return!(null==e||!e._isBuffer)}function or(e,t){if(ar(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Tr(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Or(e).length;default:if(r)return Tr(e).length;t=(""+t).toLowerCase(),r=!0}}function sr(e,t,n){var r=!1;if((void 0===t||0>t)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),0>=n)return"";if((t>>>=0)>=(n>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return kr(this,t,n);case"utf8":case"utf-8":return wr(this,t,n);case"ascii":return yr(this,t,n);case"latin1":case"binary":return _r(this,t,n);case"base64":return vr(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return xr(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function lr(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function cr(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:-2147483648>n&&(n=-2147483648),isNaN(n=+n)&&(n=i?0:e.length-1),0>n&&(n=e.length+n),e.length>n){if(0>n){if(!i)return-1;n=0}}else{if(i)return-1;n=e.length-1}if("string"==typeof t&&(t=Qn.from(t,r)),ar(t))return 0===t.length?-1:ur(e,t,n,r,i);if("number"==typeof t)return t&=255,Qn.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):ur(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function ur(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=(r+"").toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(2>e.length||2>t.length)return-1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=n;s>a;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else-1!==u&&(a-=a-u),u=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var d=!0,h=0;l>h;h++)if(c(e,a+h)!==c(t,h)){d=!1;break}if(d)return a}return-1}function dr(e,t,n,r){var i=e.length-(n=Number(n)||0);r?(r=Number(r))>i&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;r>o;++o){var s=parseInt(t.substr(2*o,2),16);if(isNaN(s))return o;e[n+o]=s}return o}function hr(e,t,n,r){return Rr(Tr(t,e.length-n),e,n,r)}function fr(e,t,n,r){return Rr(function(e){for(var t=[],n=0;e.length>n;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function pr(e,t,n,r){return fr(e,t,n,r)}function gr(e,t,n,r){return Rr(Or(t),e,n,r)}function mr(e,t,n,r){return Rr(function(e,t){for(var n,r,i=[],a=0;e.length>a&&0<=(t-=2);++a)r=(n=e.charCodeAt(a))>>8,i.push(n%256),i.push(r);return i}(t,e.length-n),e,n,r)}function vr(e,t,n){return Wn(0===t&&n===e.length?e:e.slice(t,n))}function wr(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;n>i;){var a,o,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(n>=i+d)switch(d){case 1:128>c&&(u=c);break;case 2:128==(192&(a=e[i+1]))&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:o=e[i+2],128==(192&(a=e[i+1]))&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(55296>l||l>57343)&&(u=l);break;case 4:o=e[i+2],s=e[i+3],128==(192&(a=e[i+1]))&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&1114112>l&&(u=l)}null===u?(u=65533,d=1):u>65535&&(r.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(br>=t)return String.fromCharCode.apply(String,e);var n="",r=0;for(;t>r;)n+=String.fromCharCode.apply(String,e.slice(r,r+=br));return n}(r)}Qn.TYPED_ARRAY_SUPPORT=void 0===In.TYPED_ARRAY_SUPPORT||In.TYPED_ARRAY_SUPPORT,Kn(),Qn.poolSize=8192,Qn._augment=function(e){return e.__proto__=Qn.prototype,e},Qn.from=function(e,t,n){return er(null,e,t,n)},Qn.TYPED_ARRAY_SUPPORT&&(Qn.prototype.__proto__=Uint8Array.prototype,Qn.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Symbol),Qn.alloc=function(e,t,n){return function(e,t,n,r){return tr(t),t>0&&void 0!==n?"string"==typeof r?Xn(e,t).fill(n,r):Xn(e,t).fill(n):Xn(e,t)}(null,e,t,n)},Qn.allocUnsafe=function(e){return nr(null,e)},Qn.allocUnsafeSlow=function(e){return nr(null,e)},Qn.isBuffer=Nr,Qn.compare=function(e,t){if(!ar(e)||!ar(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);a>i;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return r>n?-1:n>r?1:0},Qn.isEncoding=function(e){switch((e+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Qn.concat=function(e,t){if(!Jn(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Qn.alloc(0);var n;if(void 0===t)for(t=0,n=0;e.length>n;++n)t+=e[n].length;var r=Qn.allocUnsafe(t),i=0;for(n=0;e.length>n;++n){var a=e[n];if(!ar(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},Qn.byteLength=or,Qn.prototype._isBuffer=!0,Qn.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;e>t;t+=2)lr(this,t,t+1);return this},Qn.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;e>t;t+=4)lr(this,t,t+3),lr(this,t+1,t+2);return this},Qn.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;e>t;t+=8)lr(this,t,t+7),lr(this,t+1,t+6),lr(this,t+2,t+5),lr(this,t+3,t+4);return this},Qn.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?wr(this,0,e):sr.apply(this,arguments)},Qn.prototype.equals=function(e){if(!ar(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Qn.compare(this,e)},Qn.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Qn.prototype.compare=function(e,t,n,r,i){if(!ar(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),0>t||n>e.length||0>r||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(r,i),c=e.slice(t,n),u=0;s>u;++u)if(l[u]!==c[u]){a=l[u],o=c[u];break}return o>a?-1:a>o?1:0},Qn.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},Qn.prototype.indexOf=function(e,t,n){return cr(this,e,t,n,!0)},Qn.prototype.lastIndexOf=function(e,t,n){return cr(this,e,t,n,!1)},Qn.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(0>n||0>t)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return dr(this,e,t,n);case"utf8":case"utf-8":return hr(this,e,t,n);case"ascii":return fr(this,e,t,n);case"latin1":case"binary":return pr(this,e,t,n);case"base64":return gr(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},Qn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var br=4096;function yr(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;++i)r+=String.fromCharCode(127&e[i]);return r}function _r(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;n>i;++i)r+=String.fromCharCode(e[i]);return r}function kr(e,t,n){var r=e.length;t&&t>=0||(t=0),(!n||0>n||n>r)&&(n=r);for(var i="",a=t;n>a;++a)i+=Mr(e[a]);return i}function xr(e,t,n){for(var r=e.slice(t,n),i="",a=0;r.length>a;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}function Er(e,t,n){if(e%1!=0||0>e)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Sr(e,t,n,r,i,a){if(!ar(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||a>t)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Lr(e,t,n,r){0>t&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);a>i;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Ar(e,t,n,r){0>t&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);a>i;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function jr(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(0>n)throw new RangeError("Index out of range")}function Cr(e,t,n,r,i){return i||jr(e,0,n,4),Gn(e,t,n,r,23,4),n+4}function Pr(e,t,n,r,i){return i||jr(e,0,n,8),Gn(e,t,n,r,52,8),n+8}Qn.prototype.slice=function(e,t){var n,r=this.length;if(0>(e=~~e)?0>(e+=r)&&(e=0):e>r&&(e=r),0>(t=void 0===t?r:~~t)?0>(t+=r)&&(t=0):t>r&&(t=r),e>t&&(t=e),Qn.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=Qn.prototype;else{var i=t-e;n=new Qn(i,void 0);for(var a=0;i>a;++a)n[a]=this[a+e]}return n},Qn.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Er(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},Qn.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Er(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},Qn.prototype.readUInt8=function(e,t){return t||Er(e,1,this.length),this[e]},Qn.prototype.readUInt16LE=function(e,t){return t||Er(e,2,this.length),this[e]|this[e+1]<<8},Qn.prototype.readUInt16BE=function(e,t){return t||Er(e,2,this.length),this[e]<<8|this[e+1]},Qn.prototype.readUInt32LE=function(e,t){return t||Er(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Qn.prototype.readUInt32BE=function(e,t){return t||Er(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Qn.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Er(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return(i*=128)>r||(r-=Math.pow(2,8*t)),r},Qn.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Er(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return(i*=128)>a||(a-=Math.pow(2,8*t)),a},Qn.prototype.readInt8=function(e,t){return t||Er(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Qn.prototype.readInt16LE=function(e,t){t||Er(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Qn.prototype.readInt16BE=function(e,t){t||Er(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Qn.prototype.readInt32LE=function(e,t){return t||Er(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Qn.prototype.readInt32BE=function(e,t){return t||Er(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Qn.prototype.readFloatLE=function(e,t){return t||Er(e,4,this.length),Vn(this,e,!0,23,4)},Qn.prototype.readFloatBE=function(e,t){return t||Er(e,4,this.length),Vn(this,e,!1,23,4)},Qn.prototype.readDoubleLE=function(e,t){return t||Er(e,8,this.length),Vn(this,e,!0,52,8)},Qn.prototype.readDoubleBE=function(e,t){return t||Er(e,8,this.length),Vn(this,e,!1,52,8)},Qn.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Sr(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[t]=255&e;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},Qn.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Sr(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},Qn.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,1,255,0),Qn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Qn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,2,65535,0),Qn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Lr(this,e,t,!0),t+2},Qn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,2,65535,0),Qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Lr(this,e,t,!1),t+2},Qn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,4,4294967295,0),Qn.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Ar(this,e,t,!0),t+4},Qn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,4,4294967295,0),Qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ar(this,e,t,!1),t+4},Qn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Sr(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<n&&(o*=256);)0>e&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+n},Qn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Sr(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)0>e&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o|0)-s&255;return t+n},Qn.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,1,127,-128),Qn.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},Qn.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,2,32767,-32768),Qn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Lr(this,e,t,!0),t+2},Qn.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,2,32767,-32768),Qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Lr(this,e,t,!1),t+2},Qn.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,4,2147483647,-2147483648),Qn.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Ar(this,e,t,!0),t+4},Qn.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Sr(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),Qn.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Ar(this,e,t,!1),t+4},Qn.prototype.writeFloatLE=function(e,t,n){return Cr(this,e,t,!0,n)},Qn.prototype.writeFloatBE=function(e,t,n){return Cr(this,e,t,!1,n)},Qn.prototype.writeDoubleLE=function(e,t,n){return Pr(this,e,t,!0,n)},Qn.prototype.writeDoubleBE=function(e,t,n){return Pr(this,e,t,!1,n)},Qn.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),e.length>t||(t=e.length),t||(t=0),r>0&&n>r&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>n||n>=this.length)throw new RangeError("sourceStart out of bounds");if(0>r)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),r-n>e.length-t&&(r=e.length-t+n);var i,a=r-n;if(this===e&&t>n&&r>t)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(1e3>a||!Qn.TYPED_ARRAY_SUPPORT)for(i=0;a>i;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},Qn.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);256>i&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Qn.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(0>t||t>this.length||n>this.length)throw new RangeError("Out of range index");if(t>=n)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(a=t;n>a;++a)this[a]=e;else{var o=ar(e)?e:Tr(""+new Qn(e,r)),s=o.length;for(a=0;n-t>a;++a)this[a+t]=o[a%s]}return this};var zr=/[^+\/0-9A-Za-z-_]/g;function Mr(e){return 16>e?"0"+e.toString(16):e.toString(16)}function Tr(e,t){var n;t=t||1/0;for(var r=e.length,i=null,a=[],o=0;r>o;++o){if((n=e.charCodeAt(o))>55295&&57344>n){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(56320>n){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,128>n){if(0>(t-=1))break;a.push(n)}else if(2048>n){if(0>(t-=2))break;a.push(n>>6|192,63&n|128)}else if(65536>n){if(0>(t-=3))break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(n>=1114112)throw Error("Invalid code point");if(0>(t-=4))break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function Or(e){return function(e){var t,n,r,i,a,o;Un||Fn();var s=e.length;if(s%4>0)throw Error("Invalid string. Length must be a multiple of 4");o=new Hn(3*s/4-(a="="===e[s-2]?2:"="===e[s-1]?1:0)),r=a>0?s-4:s;var l=0;for(t=0,n=0;r>t;t+=4,n+=3)i=qn[e.charCodeAt(t)]<<18|qn[e.charCodeAt(t+1)]<<12|qn[e.charCodeAt(t+2)]<<6|qn[e.charCodeAt(t+3)],o[l++]=i>>16&255,o[l++]=i>>8&255,o[l++]=255&i;return 2===a?(i=qn[e.charCodeAt(t)]<<2|qn[e.charCodeAt(t+1)]>>4,o[l++]=255&i):1===a&&(i=qn[e.charCodeAt(t)]<<10|qn[e.charCodeAt(t+1)]<<4|qn[e.charCodeAt(t+2)]>>2,o[l++]=i>>8&255,o[l++]=255&i),o}(function(e){if(2>(e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(zr,"")).length)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Rr(e,t,n,r){for(var i=0;r>i&&(i+n<t.length&&i<e.length);++i)t[i+n]=e[i];return i}function Nr(e){return null!=e&&(!!e._isBuffer||Br(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Br(e.slice(0,0))}(e))}function Br(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function Ir(){throw Error("setTimeout has not been defined")}function Dr(){throw Error("clearTimeout has not been defined")}var qr=Ir,Hr=Dr;function Ur(e){if(qr===setTimeout)return setTimeout(e,0);if((qr===Ir||!qr)&&setTimeout)return qr=setTimeout,setTimeout(e,0);try{return qr(e,0)}catch(t){try{return qr.call(null,e,0)}catch(t){return qr.call(this,e,0)}}}"function"==typeof In.setTimeout&&(qr=setTimeout),"function"==typeof In.clearTimeout&&(Hr=clearTimeout);var Fr,Zr=[],$r=!1,Wr=-1;function Vr(){$r&&Fr&&($r=!1,Fr.length?Zr=Fr.concat(Zr):Wr=-1,Zr.length&&Gr())}function Gr(){if(!$r){var e=Ur(Vr);$r=!0;for(var t=Zr.length;t;){for(Fr=Zr,Zr=[];++Wr<t;)Fr&&Fr[Wr].run();Wr=-1,t=Zr.length}Fr=null,$r=!1,function(e){if(Hr===clearTimeout)return clearTimeout(e);if((Hr===Dr||!Hr)&&clearTimeout)return Hr=clearTimeout,clearTimeout(e);try{return Hr(e)}catch(t){try{return Hr.call(null,e)}catch(t){return Hr.call(this,e)}}}(e)}}function Yr(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;arguments.length>n;n++)t[n-1]=arguments[n];Zr.push(new Jr(e,t)),1!==Zr.length||$r||Ur(Gr)}function Jr(e,t){this.fun=e,this.array=t}Jr.prototype.run=function(){this.fun.apply(null,this.array)};var Kr,Xr={env:{}};function Qr(){}function ei(){ei.init.call(this)}function ti(e){return void 0===e._maxListeners?ei.defaultMaxListeners:e._maxListeners}function ni(e,t,n,r){var i,a,o;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),a=e._events),o=a[t]):(a=e._events=new Qr,e._eventsCount=0),o){if("function"==typeof o?o=a[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),!o.warned&&(i=ti(e))&&i>0&&o.length>i){o.warned=!0;var s=Error("Possible EventEmitter memory leak detected. "+o.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length}}else o=a[t]=n,++e._eventsCount;return e}function ri(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function ii(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function ai(e,t){for(var n=Array(t);t--;)n[t]=e[t];return n}Qr.prototype=Object.create(null),ei.EventEmitter=ei,ei.usingDomains=!1,ei.prototype.domain=void 0,ei.prototype._events=void 0,ei.prototype._maxListeners=void 0,ei.defaultMaxListeners=10,ei.init=function(){this.domain=null,ei.usingDomains&&(!Kr.active||this instanceof Kr.Domain||(this.domain=Kr.active)),this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Qr,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},ei.prototype.setMaxListeners=function(e){if("number"!=typeof e||0>e||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},ei.prototype.getMaxListeners=function(){return ti(this)},ei.prototype.emit=function(e){var t,n,r,i,a,o,s,l="error"===e;if(o=this._events)l=l&&null==o.error;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var c=Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=o[e]))return!1;var u="function"==typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=ai(e,r),a=0;r>a;++a)i[a].call(n)}(n,u,this);break;case 2:!function(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,a=ai(e,i),o=0;i>o;++o)a[o].call(n,r)}(n,u,this,arguments[1]);break;case 3:!function(e,t,n,r,i){if(t)e.call(n,r,i);else for(var a=e.length,o=ai(e,a),s=0;a>s;++s)o[s].call(n,r,i)}(n,u,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,r,i,a){if(t)e.call(n,r,i,a);else for(var o=e.length,s=ai(e,o),l=0;o>l;++l)s[l].call(n,r,i,a)}(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=Array(r-1),a=1;r>a;a++)i[a-1]=arguments[a];!function(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,a=ai(e,i),o=0;i>o;++o)a[o].apply(n,r)}(n,u,this,i)}return!0},ei.prototype.on=ei.prototype.addListener=function(e,t){return ni(this,e,t,!1)},ei.prototype.prependListener=function(e,t){return ni(this,e,t,!0)},ei.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,ri(this,e,t)),this},ei.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,ri(this,e,t)),this},ei.prototype.removeListener=function(e,t){var n,r,i,a,o;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener&&n.listener===t)0===--this._eventsCount?this._events=new Qr:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,a=n.length;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){o=n[a].listener,i=a;break}if(0>i)return this;if(1===n.length){if(n[0]=void 0,0===--this._eventsCount)return this._events=new Qr,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,i=e.length;i>r;n+=1,r+=1)e[n]=e[r];e.pop()}(n,i);r.removeListener&&this.emit("removeListener",e,o||t)}return this},ei.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new Qr,this._eventsCount=0):n[e]&&(0===--this._eventsCount?this._events=new Qr:delete n[e]),this;if(0===arguments.length){for(var r,i=Object.keys(n),a=0;i.length>a;++a)"removeListener"!==(r=i[a])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new Qr,this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},ei.prototype.listeners=function(e){var t,n=this._events;return n&&(t=n[e])?"function"==typeof t?[t.listener||t]:function(e){for(var t=Array(e.length),n=0;t.length>n;++n)t[n]=e[n].listener||e[n];return t}(t):[]},ei.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):ii.call(e,t)},ei.prototype.listenerCount=ii,ei.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var oi="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},si=/%[sdj%]/g;function li(e){if(!yi(e)){for(var t=[],n=0;arguments.length>n;n++)t.push(hi(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=(e+"").replace(si,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return r[n++]+"";case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),o=r[n];i>n;o=r[++n])bi(o)||!xi(o)?a+=" "+o:a+=" "+hi(o);return a}function ci(e,t){if(_i(In.process))return function(){return ci(e,t).apply(this,arguments)};if(!0===Xr.noDeprecation)return e;var n=!1;return function(){if(!n){if(Xr.throwDeprecation)throw Error(t);n=!0}return e.apply(this,arguments)}}var ui,di={};function hi(e,t){var n={seen:[],stylize:pi};return 3>arguments.length||(n.depth=arguments[2]),4>arguments.length||(n.colors=arguments[3]),wi(t)?n.showHidden=t:t&&function(e,t){if(!t||!xi(t))return e;var n=Object.keys(t),r=n.length;for(;r--;)e[n[r]]=t[n[r]]}(n,t),_i(n.showHidden)&&(n.showHidden=!1),_i(n.depth)&&(n.depth=2),_i(n.colors)&&(n.colors=!1),_i(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=fi),gi(n,e,n.depth)}function fi(e,t){var n=hi.styles[t];return n?"["+hi.colors[n][0]+"m"+e+"["+hi.colors[n][1]+"m":e}function pi(e,t){return e}function gi(e,t,n){if(e.customInspect&&t&&Li(t.inspect)&&t.inspect!==hi&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return yi(r)||(r=gi(e,r,n)),r}var i=function(e,t){if(_i(t))return e.stylize("undefined","undefined");if(yi(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(r=t,"number"==typeof r)return e.stylize(""+t,"number");var r;if(wi(t))return e.stylize(""+t,"boolean");if(bi(t))return e.stylize("null","null")}(e,t);if(i)return i;var a=Object.keys(t),o=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),Si(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return mi(t);if(0===a.length){if(Li(t))return e.stylize("[Function"+(t.name?": "+t.name:"")+"]","special");if(ki(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Ei(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Si(t))return mi(t)}var s,l="",c=!1,u=["{","}"];(Array.isArray(t)&&(c=!0,u=["[","]"]),Li(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return ki(t)&&(l=" "+RegExp.prototype.toString.call(t)),Ei(t)&&(l=" "+Date.prototype.toUTCString.call(t)),Si(t)&&(l=" "+mi(t)),0!==a.length||c&&0!=t.length?0>n?ki(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),s=c?function(e,t,n,r,i){for(var a=[],o=0,s=t.length;s>o;++o)ji(t,o+"")?a.push(vi(e,t,n,r,o+"",!0)):a.push("");return i.forEach(function(i){i.match(/^\d+$/)||a.push(vi(e,t,n,r,i,!0))}),a}(e,t,n,o,a):a.map(function(r){return vi(e,t,n,o,r,c)}),e.seen.pop(),function(e,t,n){var r=e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(s,l,u)):u[0]+l+u[1]}function mi(e){return"["+Error.prototype.toString.call(e)+"]"}function vi(e,t,n,r,i,a){var o,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=e.stylize(l.set?"[Getter/Setter]":"[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),ji(r,i)||(o="["+i+"]"),s||(0>e.seen.indexOf(l.value)?(s=bi(n)?gi(e,l.value,null):gi(e,l.value,n-1)).indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),_i(o)){if(a&&i.match(/^\d+$/))return s;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+s}function wi(e){return"boolean"==typeof e}function bi(e){return null===e}function yi(e){return"string"==typeof e}function _i(e){return void 0===e}function ki(e){return xi(e)&&"[object RegExp]"===Ai(e)}function xi(e){return"object"==typeof e&&null!==e}function Ei(e){return xi(e)&&"[object Date]"===Ai(e)}function Si(e){return xi(e)&&("[object Error]"===Ai(e)||e instanceof Error)}function Li(e){return"function"==typeof e}function Ai(e){return Object.prototype.toString.call(e)}function ji(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ci(){this.head=null,this.tail=null,this.length=0}hi.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},hi.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Ci.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},Ci.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},Ci.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,e}},Ci.prototype.clear=function(){this.head=this.tail=null,this.length=0},Ci.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},Ci.prototype.concat=function(e){if(0===this.length)return Qn.alloc(0);if(1===this.length)return this.head.data;for(var t=Qn.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var Pi=Qn.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function zi(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!Pi(e))throw Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=Ti;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Oi;break;default:return void(this.write=Mi)}this.charBuffer=new Qn(6),this.charReceived=0,this.charLength=0}function Mi(e){return e.toString(this.encoding)}function Ti(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function Oi(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}zi.prototype.write=function(e){for(var t="";this.charLength;){var n=this.charLength-this.charReceived>e.length?e.length:this.charLength-this.charReceived;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charLength>this.charReceived)return"";if(e=e.slice(n,e.length),55296>(r=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))||r>56319){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r,i=e.length;if(this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),(r=(t+=e.toString(this.encoding,0,i)).charCodeAt(i=t.length-1))>=55296&&56319>=r){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,i)}return t},zi.prototype.detectIncompleteChar=function(e){for(var t=3>e.length?e.length:3;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(2>=t&&n>>4==14){this.charLength=3;break}if(3>=t&&n>>3==30){this.charLength=4;break}}this.charReceived=t},zi.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.encoding;t+=this.charBuffer.slice(0,this.charReceived).toString(n)}return t},Bi.ReadableState=Ni;var Ri=function(e){if(_i(ui)&&(ui=Xr.env.NODE_DEBUG||""),e=e.toUpperCase(),!di[e])if(RegExp("\\b"+e+"\\b","i").test(ui)){di[e]=function(){li.apply(null,arguments)}}else di[e]=function(){};return di[e]}("stream");function Ni(e,t){this.objectMode=!!(e=e||{}).objectMode,t instanceof da&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=~~this.highWaterMark,this.buffer=new Ci,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new zi(e.encoding),this.encoding=e.encoding)}function Bi(e){if(!(this instanceof Bi))return new Bi(e);this._readableState=new Ni(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),ei.call(this)}function Ii(e,t,n,r,i){var a=function(e,t){var n=null;Nr(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));return n}(t,n);if(a)e.emit("error",a);else if(null===n)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,Hi(e)}(e,t);else if(t.objectMode||n&&n.length>0){if(t.ended&&!i)e.emit("error",Error("stream.push() after EOF"));else if(t.endEmitted&&i){e.emit("error",Error("stream.unshift() after end event"))}else{var o;!t.decoder||i||r||(n=t.decoder.write(n),o=!t.objectMode&&0===n.length),i||(t.reading=!1),o||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Hi(e))),function(e,t){t.readingMore||(t.readingMore=!0,Yr(Fi,e,t))}(e,t)}}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.highWaterMark>e.length||0===e.length)}(t)}oi(Bi,ei),Bi.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!=typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=Qn.from(e,t),t=""),Ii(this,n,e,t,!1)},Bi.prototype.unshift=function(e){return Ii(this,this._readableState,e,"",!0)},Bi.prototype.isPaused=function(){return!1===this._readableState.flowing},Bi.prototype.setEncoding=function(e){return this._readableState.decoder=new zi(e),this._readableState.encoding=e,this};var Di=8388608;function qi(e,t){return 0>=e||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return Di>e?(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++):e=Di,e}(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function Hi(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Ri("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?Yr(Ui,e):Ui(e))}function Ui(e){Ri("emit readable"),e.emit("readable"),Wi(e)}function Fi(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.highWaterMark>t.length&&(Ri("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function Zi(e){Ri("readable nexttick read 0"),e.read(0)}function $i(e,t){t.reading||(Ri("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Wi(e),t.flowing&&!t.reading&&e.read(0)}function Wi(e){var t=e._readableState;for(Ri("flow",t.flowing);t.flowing&&null!==e.read(););}function Vi(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():e&&t.length>e?n=function(e,t,n){var r;t.head.data.length>e?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(i+=o===a.length?a:a.slice(0,e),0===(e-=o)){o===a.length?(++r,t.head=n.next?n.next:t.tail=null):(t.head=n,n.data=a.slice(o));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=Qn.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,o),0===(e-=o)){o===a.length?(++i,t.head=r.next?r.next:t.tail=null):(t.head=r,r.data=a.slice(o));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder):(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()),n);var n}function Gi(e){var t=e._readableState;if(t.length>0)throw Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,Yr(Yi,t,e))}function Yi(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Ji(e,t){for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function Ki(){}function Xi(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function Qi(e,t){Object.defineProperty(this,"buffer",{get:ci(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),this.objectMode=!!(e=e||{}).objectMode,t instanceof da&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark;this.highWaterMark=n||0===n?n:this.objectMode?16:16384,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.decodeStrings=!(!1===e.decodeStrings),this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?Yr(i,r):i(r);e._writableState.errorEmitted=!0,e.emit("error",r)}(e,n,r,t,i);else{var a=ia(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||ra(e,n),r?Yr(na,e,n,a,i):na(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new sa(this)}function ea(e){if(!(this instanceof ea||this instanceof da))return new ea(e);this._writableState=new Qi(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev)),ei.call(this)}function ta(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function na(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),oa(e,t)}function ra(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=n;for(var a=0;n;)r[a]=n,n=n.next,a+=1;ta(e,t,!0,t.length,r,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new sa(t)}else{for(;n;){var o=n.chunk;if(ta(e,t,!1,t.objectMode?1:o.length,o,n.encoding,n.callback),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function ia(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function aa(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function oa(e,t){var n=ia(t);return n&&(0===t.pendingcb?(aa(e,t),t.finished=!0,e.emit("finish")):aa(e,t)),n}function sa(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}Bi.prototype.read=function(e){Ri("read",e);var t=this._readableState,n=e=parseInt(e,10);if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return Ri("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Gi(this):Hi(this),null;if(0===(e=qi(e,t))&&t.ended)return 0===t.length&&Gi(this),null;var r,i=t.needReadable;return Ri("need readable",i),(0===t.length||t.highWaterMark>t.length-e)&&Ri("length less than watermark",i=!0),t.ended||t.reading?Ri("reading or ended",i=!1):i&&(Ri("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=qi(n,t))),null===(r=e>0?Vi(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Gi(this)),null!==r&&this.emit("data",r),r},Bi.prototype._read=function(e){this.emit("error",Error("not implemented"))},Bi.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,Ri("pipe count=%d opts=%j",r.pipesCount,t);var i=!t||!1!==t.end?o:c;function a(e){Ri("onunpipe"),e===n&&c()}function o(){Ri("onend"),e.end()}r.endEmitted?Yr(i):n.once("end",i),e.on("unpipe",a);var s=function(e){return function(){var t=e._readableState;Ri("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Wi(e))}}(n);e.on("drain",s);var l=!1;function c(){Ri("cleanup"),e.removeListener("close",f),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",h),e.removeListener("unpipe",a),n.removeListener("end",o),n.removeListener("end",c),n.removeListener("data",d),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function d(t){Ri("ondata"),u=!1,!1!==e.write(t)||u||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Ji(r.pipes,e))&&!l&&(Ri("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function h(t){Ri("onerror",t),g(),e.removeListener("error",h),0===function(e,t){return e.listeners(t).length}(e,"error")&&e.emit("error",t)}function f(){e.removeListener("finish",p),g()}function p(){Ri("onfinish"),e.removeListener("close",f),g()}function g(){Ri("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",f),e.once("finish",p),e.emit("pipe",n),r.flowing||(Ri("pipe resume"),n.resume()),e},Bi.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;r>i;i++)n[i].emit("unpipe",this);return this}var a=Ji(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},Bi.prototype.addListener=Bi.prototype.on=function(e,t){var n=ei.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&Hi(this):Yr(Zi,this))}return n},Bi.prototype.resume=function(){var e=this._readableState;return e.flowing||(Ri("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,Yr($i,e,t))}(this,e)),this},Bi.prototype.pause=function(){return Ri("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Ri("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Bi.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on("end",function(){if(Ri("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(i){(Ri("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var n=0,r=e.length;r>n;n++)t(e[n],n)}(["error","close","destroy","pause","resume"],function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){Ri("wrapped _read",t),n&&(n=!1,e.resume())},r},Bi._fromList=Vi,ea.WritableState=Qi,oi(ea,ei),Qi.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},ea.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))},ea.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"==typeof t&&(n=t,t=null),Qn.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=Ki),r.ended?function(e,t){var n=Error("write after end");e.emit("error",n),Yr(t,n)}(this,n):function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):Qn.isBuffer(n)||"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),Yr(r,a),i=!1),i}(this,r,e,n)&&(r.pendingcb++,i=function(e,t,n,r,i){n=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=Qn.from(t,n));return t}(t,n,r),Qn.isBuffer(n)&&(r="buffer");var a=t.objectMode?1:n.length;t.length+=a;var o=t.highWaterMark>t.length;o||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new Xi(n,r,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else ta(e,t,!1,a,n,r,i);return o}(this,r,e,t,n)),i},ea.prototype.cork=function(){this._writableState.corked++},ea.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||ra(this,e))},ea.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())<=-1)throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},ea.prototype._write=function(e,t,n){n(Error("not implemented"))},ea.prototype._writev=null,ea.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,oa(e,t),n&&(t.finished?Yr(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},oi(da,Bi);for(var la=Object.keys(ea.prototype),ca=0;la.length>ca;ca++){var ua=la[ca];da.prototype[ua]||(da.prototype[ua]=ea.prototype[ua])}function da(e){if(!(this instanceof da))return new da(e);Bi.call(this,e),ea.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",ha)}function ha(){this.allowHalfOpen||this._writableState.ended||Yr(fa,this)}function fa(e){e.end()}function pa(e){this.afterTransform=function(t,n){return function(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!=n&&e.push(n);i(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.highWaterMark>a.length)&&e._read(a.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function ga(e){if(!(this instanceof ga))return new ga(e);da.call(this,e),this._transformState=new pa(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e){ma(t,e)}):ma(t)})}function ma(e,t){if(t)return e.emit("error",t);var n=e._transformState;if(e._writableState.length)throw Error("Calling transform done when ws.length != 0");if(n.transforming)throw Error("Calling transform done when still transforming");return e.push(null)}function va(e){if(!(this instanceof va))return new va(e);ga.call(this,e)}function wa(){ei.call(this)}oi(ga,da),ga.prototype.push=function(e,t){return this._transformState.needTransform=!1,da.prototype.push.call(this,e,t)},ga.prototype._transform=function(e,t,n){throw Error("Not implemented")},ga.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.highWaterMark>i.length)&&this._read(i.highWaterMark)}},ga.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},oi(va,ga),va.prototype._transform=function(e,t,n){n(null,e)},oi(wa,ei),wa.Readable=Bi,wa.Writable=ea,wa.Duplex=da,wa.Transform=ga,wa.PassThrough=va,wa.Stream=wa,wa.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",o),n.on("close",s));var a=!1;function o(){a||(a=!0,e.end())}function s(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===ei.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",r),e.removeListener("drain",i),n.removeListener("end",o),n.removeListener("close",s),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e};var ba={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};function ya(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}function _a(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;r>a;a++)e[i+a]=t[n+a]}var ka=Uint8Array,xa=Uint16Array,Ea=Int32Array;function Sa(e){for(var t=e.length;--t>=0;)e[t]=0}var La=256,Aa=286,ja=30,Ca=15,Pa=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],za=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Ma=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ta=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Oa=Array(576);Sa(Oa);var Ra=Array(60);Sa(Ra);var Na=Array(512);Sa(Na);var Ba=Array(256);Sa(Ba);var Ia=Array(29);Sa(Ia);var Da,qa,Ha,Ua=Array(ja);function Fa(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function Za(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function $a(e){return 256>e?Na[e]:Na[256+(e>>>7)]}function Wa(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Va(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,Wa(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function Ga(e,t,n){Va(e,n[2*t],n[2*t+1])}function Ya(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function Ja(e,t,n){var r,i,a=Array(16),o=0;for(r=1;Ca>=r;r++)a[r]=o=o+n[r-1]<<1;for(i=0;t>=i;i++){var s=e[2*i+1];0!==s&&(e[2*i]=Ya(a[s]++,s))}}function Ka(e){var t;for(t=0;Aa>t;t++)e.dyn_ltree[2*t]=0;for(t=0;ja>t;t++)e.dyn_dtree[2*t]=0;for(t=0;19>t;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Xa(e){e.bi_valid>8?Wa(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Qa(e,t,n,r){var i=2*t,a=2*n;return e[a]>e[i]||e[i]===e[a]&&r[n]>=r[t]}function eo(e,t,n){for(var r=e.heap[n],i=n<<1;e.heap_len>=i&&(e.heap_len>i&&Qa(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Qa(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function to(e,t,n){var r,i,a,o,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?Ga(e,i,t):(Ga(e,(a=Ba[i])+La+1,t),0!==(o=Pa[a])&&Va(e,i-=Ia[a],o),Ga(e,a=$a(--r),n),0!==(o=za[a])&&Va(e,r-=Ua[a],o))}while(e.last_lit>s);Ga(e,256,t)}function no(e,t){var n,r,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;l>n;n++)0!==a[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):a[2*n+1]=0;for(;2>e.heap_len;)a[2*(i=e.heap[++e.heap_len]=2>c?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)eo(e,a,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],eo(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[r]>e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,eo(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(a=0;Ca>=a;a++)e.bl_count[a]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;573>n;n++)(a=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(a=p,g++),l[2*r+1]=a,r>c||(e.bl_count[a]++,o=0,f>r||(o=h[r-f]),e.opt_len+=(s=l[2*r])*(a+o),d&&(e.static_len+=s*(u[2*r+1]+o)));if(0!==g){do{for(a=p-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(a=p;0!==a;a--)for(r=e.bl_count[a];0!==r;)c<(i=e.heap[--n])||(l[2*i+1]!==a&&(e.opt_len+=(a-l[2*i+1])*l[2*i],l[2*i+1]=a),r--)}}(e,t),Ja(a,c,e.bl_count)}function ro(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;n>=r;r++)i=o,o=t[2*(r+1)+1],++s<l&&i===o||(c>s?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[32]++):s>10?e.bl_tree[36]++:e.bl_tree[34]++,s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4))}function io(e,t,n){var r,i,a=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),r=0;n>=r;r++)if(i=o,o=t[2*(r+1)+1],++s>=l||i!==o){if(c>s)do{Ga(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==a&&(Ga(e,i,e.bl_tree),s--),Ga(e,16,e.bl_tree),Va(e,s-3,2)):s>10?(Ga(e,18,e.bl_tree),Va(e,s-11,7)):(Ga(e,17,e.bl_tree),Va(e,s-3,3));s=0,a=i,0===o?(l=138,c=3):i===o?(l=6,c=3):(l=7,c=4)}}Sa(Ua);var ao=!1;function oo(e){ao||(!function(){var e,t,n,r,i,a=Array(16);for(n=0,r=0;28>r;r++)for(Ia[r]=n,e=0;1<<Pa[r]>e;e++)Ba[n++]=r;for(Ba[n-1]=r,i=0,r=0;16>r;r++)for(Ua[r]=i,e=0;1<<za[r]>e;e++)Na[i++]=r;for(i>>=7;ja>r;r++)for(Ua[r]=i<<7,e=0;1<<za[r]-7>e;e++)Na[256+i++]=r;for(t=0;Ca>=t;t++)a[t]=0;for(e=0;143>=e;)Oa[2*e+1]=8,e++,a[8]++;for(;255>=e;)Oa[2*e+1]=9,e++,a[9]++;for(;279>=e;)Oa[2*e+1]=7,e++,a[7]++;for(;287>=e;)Oa[2*e+1]=8,e++,a[8]++;for(Ja(Oa,287,a),e=0;ja>e;e++)Ra[2*e+1]=5,Ra[2*e]=Ya(e,5);Da=new Fa(Oa,Pa,257,Aa,Ca),qa=new Fa(Ra,za,0,ja,Ca),Ha=new Fa([],Ma,0,19,7)}(),ao=!0),e.l_desc=new Za(e.dyn_ltree,Da),e.d_desc=new Za(e.dyn_dtree,qa),e.bl_desc=new Za(e.bl_tree,Ha),e.bi_buf=0,e.bi_valid=0,Ka(e)}function so(e,t,n,r){Va(e,0+(r?1:0),3),function(e,t,n){Xa(e),Wa(e,n),Wa(e,~n),_a(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}function lo(e){Va(e,2,3),Ga(e,256,Oa),function(e){16===e.bi_valid?(Wa(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8>e.bi_valid||(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}function co(e,t,n,r){var i,a,o=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;31>=t;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;La>t;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),no(e,e.l_desc),no(e,e.d_desc),o=function(e){var t;for(ro(e,e.dyn_ltree,e.l_desc.max_code),ro(e,e.dyn_dtree,e.d_desc.max_code),no(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*Ta[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),(a=e.static_len+3+7>>>3)>(i=e.opt_len+3+7>>>3)||(i=a)):i=a=n+5,n+4>i||-1===t?4===e.strategy||a===i?(Va(e,2+(r?1:0),3),to(e,Oa,Ra)):(Va(e,4+(r?1:0),3),function(e,t,n,r){var i;for(Va(e,t-257,5),Va(e,n-1,5),Va(e,r-4,4),i=0;r>i;i++)Va(e,e.bl_tree[2*Ta[i]+1],3);io(e,e.dyn_ltree,t-1),io(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),to(e,e.dyn_ltree,e.dyn_dtree)):so(e,t,n,r),Ka(e),r&&Xa(e)}function uo(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Ba[n]+La+1)]++,e.dyn_dtree[2*$a(t)]++),e.last_lit===e.lit_bufsize-1}function ho(e,t,n,r){for(var i=65535&e,a=e>>>16&65535,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{a=a+(i=i+t[r++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16}var fo=function(){for(var e,t=[],n=0;256>n;n++){e=n;for(var r=0;8>r;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();function po(e,t,n,r){var i=fo,a=r+n;e^=-1;for(var o=r;a>o;o++)e=e>>>8^i[255&(e^t[o])];return-1^e}var go,mo=-2,vo=258,wo=262,bo=103,yo=113,_o=666;function ko(e,t){return e.msg=ba[t],t}function xo(e){return(e<<1)-(e>4?9:0)}function Eo(e){for(var t=e.length;--t>=0;)e[t]=0}function So(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(_a(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Lo(e,t){co(e,0>e.block_start?-1:e.block_start,e.strstart-e.block_start,t),e.block_start=e.strstart,So(e.strm)}function Ao(e,t){e.pending_buf[e.pending++]=t}function jo(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Co(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,_a(t,e.input,e.next_in,i,n),1===e.state.wrap?e.adler=ho(e.adler,t,i,n):2===e.state.wrap&&(e.adler=po(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function Po(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-wo?e.strstart-(e.w_size-wo):0,c=e.window,u=e.w_mask,d=e.prev,h=e.strstart+vo,f=c[a+o-1],p=c[a+o];e.good_match>e.prev_length||(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+o]===p&&c[n+o-1]===f&&c[n]===c[a]&&c[++n]===c[a+1]){a+=2,n++;do{}while(c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&h>a);if(r=vo-(h-a),a=h-vo,r>o){if(e.match_start=t,o=r,r>=s)break;f=c[a+o-1],p=c[a+o]}}}while((t=d[t&u])>l&&0!==--i);return o>e.lookahead?e.lookahead:o}function zo(e){var t,n,r,i,a,o=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=o+(o-wo)){_a(e.window,e.window,o,o,0),e.match_start-=o,e.strstart-=o,e.block_start-=o,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=o>r?0:r-o}while(--n);t=n=o;do{r=e.prev[--t],e.prev[t]=o>r?0:r-o}while(--n);i+=o}if(0===e.strm.avail_in)break;if(n=Co(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=3)for(e.ins_h=e.window[a=e.strstart-e.insert],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,e.lookahead+e.insert>=3););}while(wo>e.lookahead&&0!==e.strm.avail_in)}function Mo(e,t){for(var n,r;;){if(wo>e.lookahead){if(zo(e),wo>e.lookahead&&0===t)return 1;if(0===e.lookahead)break}if(n=0,3>e.lookahead||(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0===n||e.strstart-n>e.w_size-wo||(e.match_length=Po(e,n)),3>e.match_length)r=uo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;else if(r=uo(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length>e.max_lazy_match||3>e.lookahead)e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else{e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}if(r&&(Lo(e,!1),0===e.strm.avail_out))return 1}return e.insert=2>e.strstart?e.strstart:2,4===t?(Lo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Lo(e,!1),0===e.strm.avail_out)?1:2}function To(e,t){for(var n,r,i;;){if(wo>e.lookahead){if(zo(e),wo>e.lookahead&&0===t)return 1;if(0===e.lookahead)break}if(n=0,3>e.lookahead||(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.max_lazy_match>e.prev_length&&e.w_size-wo>=e.strstart-n&&(e.match_length=Po(e,n),5>=e.match_length&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),3>e.prev_length||e.match_length>e.prev_length)if(e.match_available){if((r=uo(e,0,e.window[e.strstart-1]))&&Lo(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--;else{i=e.strstart+e.lookahead-3,r=uo(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart>i||(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(Lo(e,!1),0===e.strm.avail_out))return 1}}return e.match_available&&(r=uo(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=2>e.strstart?e.strstart:2,4===t?(Lo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Lo(e,!1),0===e.strm.avail_out)?1:2}function Oo(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function Ro(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new xa(1146),this.dyn_dtree=new xa(122),this.bl_tree=new xa(78),Eo(this.dyn_ltree),Eo(this.dyn_dtree),Eo(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new xa(16),this.heap=new xa(573),Eo(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new xa(573),Eo(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function No(e){var t,n=function(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,0>t.wrap&&(t.wrap=-t.wrap),t.status=t.wrap?42:yo,e.adler=2===t.wrap?0:1,t.last_flush=0,oo(t),0):ko(e,mo)}(e);return 0===n&&((t=e.state).window_size=2*t.w_size,Eo(t.head),t.max_lazy_match=go[t.level].max_lazy,t.good_match=go[t.level].good_length,t.nice_match=go[t.level].nice_length,t.max_chain_length=go[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function Bo(e,t){var n,r,i,a;if(!e||!e.state||t>5||0>t)return e?ko(e,mo):mo;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===_o&&4!==t)return ko(e,0===e.avail_out?-5:mo);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,Ao(r,31),Ao(r,139),Ao(r,8),r.gzhead?(Ao(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Ao(r,255&r.gzhead.time),Ao(r,r.gzhead.time>>8&255),Ao(r,r.gzhead.time>>16&255),Ao(r,r.gzhead.time>>24&255),Ao(r,9===r.level?2:r.strategy>=2||2>r.level?4:0),Ao(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Ao(r,255&r.gzhead.extra.length),Ao(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=po(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Ao(r,0),Ao(r,0),Ao(r,0),Ao(r,0),Ao(r,0),Ao(r,9===r.level?2:r.strategy>=2||2>r.level?4:0),Ao(r,3),r.status=yo);else{var o=8+(r.w_bits-8<<4)<<8;o|=(r.strategy>=2||2>r.level?0:6>r.level?1:6===r.level?2:3)<<6,0!==r.strstart&&(o|=32),o+=31-o%31,r.status=yo,jo(r,o),0!==r.strstart&&(jo(r,e.adler>>>16),jo(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(i=r.pending;(65535&r.gzhead.extra.length)>r.gzindex&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=po(e.adler,r.pending_buf,r.pending-i,i)),So(e),i=r.pending,r.pending!==r.pending_buf_size));)Ao(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=po(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=po(e.adler,r.pending_buf,r.pending-i,i)),So(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzhead.name.length>r.gzindex?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Ao(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=po(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=po(e.adler,r.pending_buf,r.pending-i,i)),So(e),i=r.pending,r.pending===r.pending_buf_size)){a=1;break}a=r.gzhead.comment.length>r.gzindex?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Ao(r,a)}while(0!==a);r.gzhead.hcrc&&r.pending>i&&(e.adler=po(e.adler,r.pending_buf,r.pending-i,i)),0===a&&(r.status=bo)}else r.status=bo;if(r.status===bo&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&So(e),r.pending+2>r.pending_buf_size||(Ao(r,255&e.adler),Ao(r,e.adler>>8&255),e.adler=0,r.status=yo)):r.status=yo),0!==r.pending){if(So(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&xo(t)<=xo(n)&&4!==t)return ko(e,-5);if(r.status===_o&&0!==e.avail_in)return ko(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&r.status!==_o){var s=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(zo(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=uo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Lo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Lo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Lo(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,i,a,o=e.window;;){if(vo>=e.lookahead){if(zo(e),vo>=e.lookahead&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=o[i=e.strstart-1])===o[++i]&&r===o[++i]&&r===o[++i]){a=e.strstart+vo;do{}while(r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&r===o[++i]&&a>i);e.match_length=vo-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(3>e.match_length?(n=uo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++):(n=uo(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0),n&&(Lo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Lo(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Lo(e,!1),0===e.strm.avail_out)?1:2}(r,t):go[r.level].func(r,t);if(3!==s&&4!==s||(r.status=_o),1===s||3===s)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===s&&(1===t?lo(r):5!==t&&(so(r,0,0,!1),3===t&&(Eo(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),So(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap>0?(2===r.wrap?(Ao(r,255&e.adler),Ao(r,e.adler>>8&255),Ao(r,e.adler>>16&255),Ao(r,e.adler>>24&255),Ao(r,255&e.total_in),Ao(r,e.total_in>>8&255),Ao(r,e.total_in>>16&255),Ao(r,e.total_in>>24&255)):(jo(r,e.adler>>>16),jo(r,65535&e.adler)),So(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1):1}go=[new Oo(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(1>=e.lookahead){if(zo(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Lo(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-wo&&(Lo(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Lo(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&Lo(e,!1),1)}),new Oo(4,4,8,4,Mo),new Oo(4,5,16,8,Mo),new Oo(4,6,32,32,Mo),new Oo(4,4,16,16,To),new Oo(8,16,32,32,To),new Oo(8,16,128,128,To),new Oo(8,32,128,256,To),new Oo(32,128,258,1024,To),new Oo(32,258,258,4096,To)];function Io(e,t){var n,r,i,a,o,s,l,c,u,d,h,f,p,g,m,v,w,b,y,_,k,x,E,S,L;S=e.input,i=(r=e.next_in)+(e.avail_in-5),L=e.output,o=(a=e.next_out)-(t-e.avail_out),s=a+(e.avail_out-257),l=(n=e.state).dmax,c=n.wsize,u=n.whave,d=n.wnext,h=n.window,f=n.hold,p=n.bits,g=n.lencode,m=n.distcode,v=(1<<n.lenbits)-1,w=(1<<n.distbits)-1;e:do{15>p&&(f+=S[r++]<<p,f+=S[r++]<<(p+=8),p+=8),b=g[f&v];t:for(;;){if(f>>>=y=b>>>24,p-=y,0===(y=b>>>16&255))L[a++]=65535&b;else{if(!(16&y)){if(64&y){if(32&y){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}b=g[(65535&b)+(f&(1<<y)-1)];continue t}for(_=65535&b,(y&=15)&&(y>p&&(f+=S[r++]<<p,p+=8),_+=f&(1<<y)-1,f>>>=y,p-=y),15>p&&(f+=S[r++]<<p,f+=S[r++]<<(p+=8),p+=8),b=m[f&w];;){if(f>>>=y=b>>>24,p-=y,16&(y=b>>>16&255)){if(k=65535&b,(y&=15)>p&&(f+=S[r++]<<p,y>(p+=8)&&(f+=S[r++]<<p,p+=8)),(k+=f&(1<<y)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=y,p-=y,k>(y=a-o)){if((y=k-y)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(x=0,E=h,0===d){if(x+=c-y,_>y){_-=y;do{L[a++]=h[x++]}while(--y);x=a-k,E=L}}else if(y>d){if(x+=c+d-y,_>(y-=d)){_-=y;do{L[a++]=h[x++]}while(--y);if(x=0,_>d){_-=y=d;do{L[a++]=h[x++]}while(--y);x=a-k,E=L}}}else if(x+=d-y,_>y){_-=y;do{L[a++]=h[x++]}while(--y);x=a-k,E=L}for(;_>2;)L[a++]=E[x++],L[a++]=E[x++],L[a++]=E[x++],_-=3;_&&(L[a++]=E[x++],_>1&&(L[a++]=E[x++]))}else{x=a-k;do{L[a++]=L[x++],L[a++]=L[x++],L[a++]=L[x++],_-=3}while(_>2);_&&(L[a++]=L[x++],_>1&&(L[a++]=L[x++]))}break}if(64&y){e.msg="invalid distance code",n.mode=30;break e}b=m[(65535&b)+(f&(1<<y)-1)]}}break}}while(i>r&&s>a);f&=(1<<(p-=(_=p>>3)<<3))-1,e.next_in=r-=_,e.next_out=a,e.avail_in=i>r?i-r+5:5-(r-i),e.avail_out=s>a?s-a+257:257-(a-s),n.hold=f,n.bits=p}var Do=15,qo=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],Ho=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Uo=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Fo=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];function Zo(e,t,n,r,i,a,o,s){var l,c,u,d,h,f,p,g,m,v=s.bits,w=0,b=0,y=0,_=0,k=0,x=0,E=0,S=0,L=0,A=0,j=null,C=0,P=new xa(16),z=new xa(16),M=null,T=0;for(w=0;Do>=w;w++)P[w]=0;for(b=0;r>b;b++)P[t[n+b]]++;for(k=v,_=Do;_>=1&&0===P[_];_--);if(k>_&&(k=_),0===_)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(y=1;_>y&&0===P[y];y++);for(y>k&&(k=y),S=1,w=1;Do>=w;w++)if(S<<=1,0>(S-=P[w]))return-1;if(S>0&&(0===e||1!==_))return-1;for(z[1]=0,w=1;Do>w;w++)z[w+1]=z[w]+P[w];for(b=0;r>b;b++)0!==t[n+b]&&(o[z[t[n+b]]++]=b);if(0===e?(j=M=o,f=19):1===e?(j=qo,C-=257,M=Ho,T-=257,f=256):(j=Uo,M=Fo,f=-1),A=0,b=0,w=y,h=a,x=k,E=0,u=-1,d=(L=1<<k)-1,1===e&&L>852||2===e&&L>592)return 1;for(;;){p=w-E,f>o[b]?(g=0,m=o[b]):o[b]>f?(g=M[T+o[b]],m=j[C+o[b]]):(g=96,m=0),l=1<<w-E,y=c=1<<x;do{i[h+(A>>E)+(c-=l)]=p<<24|g<<16|m}while(0!==c);for(l=1<<w-1;A&l;)l>>=1;if(0!==l?(A&=l-1,A+=l):A=0,b++,0===--P[w]){if(w===_)break;w=t[n+o[b]]}if(w>k&&(A&d)!==u){for(0===E&&(E=k),h+=y,S=1<<(x=w-E);_>x+E&&(S-=P[x+E])>0;)x++,S<<=1;if(L+=1<<x,1===e&&L>852||2===e&&L>592)return 1;i[u=A&d]=k<<24|x<<16|h-a}}return 0!==A&&(i[h+A]=w-E<<24|64<<16),s.bits=k,0}var $o=-2,Wo=12,Vo=30;function Go(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Yo(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new xa(320),this.work=new xa(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Jo(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(e.total_in=e.total_out=(t=e.state).total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Ea(852),t.distcode=t.distdyn=new Ea(592),t.sane=1,t.back=-1,0):$o}(e)):$o}function Ko(e,t){var n,r;return e?(r=new Yo,e.state=r,r.window=null,n=function(e,t){var n,r;return e&&e.state?(0>t?(n=0,t=-t):(n=1+(t>>4),48>t&&(t&=15)),t&&(8>t||t>15)?$o:(null!==(r=e.state).window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Jo(e))):$o}(e,t),0!==n&&(e.state=null),n):$o}var Xo,Qo,es=!0;function ts(e){if(es){var t;for(Xo=new Ea(512),Qo=new Ea(32),t=0;144>t;)e.lens[t++]=8;for(;256>t;)e.lens[t++]=9;for(;280>t;)e.lens[t++]=7;for(;288>t;)e.lens[t++]=8;for(Zo(1,e.lens,0,288,Xo,0,e.work,{bits:9}),t=0;32>t;)e.lens[t++]=5;Zo(2,e.lens,0,32,Qo,0,e.work,{bits:5}),es=!1}e.lencode=Xo,e.lenbits=9,e.distcode=Qo,e.distbits=5}function ns(e,t){var n,r,i,a,o,s,l,c,u,d,h,f,p,g,m,v,w,b,y,_,k,x,E,S,L=0,A=new ka(4),j=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return $o;(n=e.state).mode===Wo&&(n.mode=13),o=e.next_out,i=e.output,a=e.next_in,r=e.input,c=n.hold,u=n.bits,d=s=e.avail_in,h=l=e.avail_out,x=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(2&n.wrap&&35615===c){n.check=0,A[0]=255&c,A[1]=c>>>8&255,n.check=po(n.check,A,2,0),c=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=Vo;break}if(8!=(15&c)){e.msg="unknown compression method",n.mode=Vo;break}if(u-=4,k=8+(15&(c>>>=4)),0===n.wbits)n.wbits=k;else if(k>n.wbits){e.msg="invalid window size",n.mode=Vo;break}n.dmax=1<<k,e.adler=n.check=1,n.mode=512&c?10:Wo,c=0,u=0;break;case 2:for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(n.flags=c,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=Vo;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=Vo;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,n.check=po(n.check,A,2,0)),c=0,u=0,n.mode=3;case 3:for(;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,A[2]=c>>>16&255,A[3]=c>>>24&255,n.check=po(n.check,A,4,0)),c=0,u=0,n.mode=4;case 4:for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,n.check=po(n.check,A,2,0)),c=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(A[0]=255&c,A[1]=c>>>8&255,n.check=po(n.check,A,2,0)),c=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((f=n.length)>s&&(f=s),f&&(n.head&&(k=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),_a(n.head.extra,r,a,f,k)),512&n.flags&&(n.check=po(n.check,r,f,a)),s-=f,a+=f,n.length-=f),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;f=0;do{k=r[a+f++],n.head&&k&&65536>n.length&&(n.head.name+=String.fromCharCode(k))}while(k&&s>f);if(512&n.flags&&(n.check=po(n.check,r,f,a)),s-=f,a+=f,k)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;f=0;do{k=r[a+f++],n.head&&k&&65536>n.length&&(n.head.comment+=String.fromCharCode(k))}while(k&&s>f);if(512&n.flags&&(n.check=po(n.check,r,f,a)),s-=f,a+=f,k)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;16>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=Vo;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Wo;break;case 10:for(;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}e.adler=n.check=Go(c),c=0,u=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,2;e.adler=n.check=1,n.mode=Wo;case Wo:if(5===t||6===t)break e;case 13:if(n.last){c>>>=7&u,u-=7&u,n.mode=27;break}for(;3>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}switch(n.last=1&c,u-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(ts(n),n.mode=20,6===t){c>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=Vo}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Vo;break}if(n.length=65535&c,c=0,u=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(f=n.length){if(f>s&&(f=s),f>l&&(f=l),0===f)break e;_a(i,r,a,f,o),s-=f,a+=f,l-=f,o+=f,n.length-=f;break}n.mode=Wo;break;case 17:for(;14>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(n.nlen=257+(31&c),u-=5,n.ndist=1+(31&(c>>>=5)),u-=5,n.ncode=4+(15&(c>>>=5)),c>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Vo;break}n.have=0,n.mode=18;case 18:for(;n.ncode>n.have;){for(;3>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.lens[j[n.have++]]=7&c,c>>>=3,u-=3}for(;19>n.have;)n.lens[j[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,x=Zo(0,n.lens,0,19,n.lencode,0,n.work,E={bits:n.lenbits}),n.lenbits=E.bits,x){e.msg="invalid code lengths set",n.mode=Vo;break}n.have=0,n.mode=19;case 19:for(;n.nlen+n.ndist>n.have;){for(;v=(L=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,w=65535&L,u<(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(16>w)c>>>=m,u-=m,n.lens[n.have++]=w;else{if(16===w){for(S=m+2;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c>>>=m,u-=m,0===n.have){e.msg="invalid bit length repeat",n.mode=Vo;break}k=n.lens[n.have-1],f=3+(3&c),c>>>=2,u-=2}else if(17===w){for(S=m+3;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}u-=m,k=0,f=3+(7&(c>>>=m)),c>>>=3,u-=3}else{for(S=m+7;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}u-=m,k=0,f=11+(127&(c>>>=m)),c>>>=7,u-=7}if(n.have+f>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Vo;break}for(;f--;)n.lens[n.have++]=k}}if(n.mode===Vo)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=Vo;break}if(n.lenbits=9,x=Zo(1,n.lens,0,n.nlen,n.lencode,0,n.work,E={bits:n.lenbits}),n.lenbits=E.bits,x){e.msg="invalid literal/lengths set",n.mode=Vo;break}if(n.distbits=6,n.distcode=n.distdyn,x=Zo(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,E={bits:n.distbits}),n.distbits=E.bits,x){e.msg="invalid distances set",n.mode=Vo;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,Io(e,h),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,n.mode===Wo&&(n.back=-1);break}for(n.back=0;v=(L=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,w=65535&L,u<(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(v&&!(240&v)){for(b=m,y=v,_=w;v=(L=n.lencode[_+((c&(1<<b+y)-1)>>b)])>>>16&255,w=65535&L,u<b+(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}c>>>=b,u-=b,n.back+=b}if(c>>>=m,u-=m,n.back+=m,n.length=w,0===v){n.mode=26;break}if(32&v){n.back=-1,n.mode=Wo;break}if(64&v){e.msg="invalid literal/length code",n.mode=Vo;break}n.extra=15&v,n.mode=22;case 22:if(n.extra){for(S=n.extra;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;v=(L=n.distcode[c&(1<<n.distbits)-1])>>>16&255,w=65535&L,u<(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(!(240&v)){for(b=m,y=v,_=w;v=(L=n.distcode[_+((c&(1<<b+y)-1)>>b)])>>>16&255,w=65535&L,u<b+(m=L>>>24);){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}c>>>=b,u-=b,n.back+=b}if(c>>>=m,u-=m,n.back+=m,64&v){e.msg="invalid distance code",n.mode=Vo;break}n.offset=w,n.extra=15&v,n.mode=24;case 24:if(n.extra){for(S=n.extra;S>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Vo;break}n.mode=25;case 25:if(0===l)break e;if(n.offset>(f=h-l)){if((f=n.offset-f)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Vo;break}p=f>n.wnext?n.wsize-(f-=n.wnext):n.wnext-f,f>n.length&&(f=n.length),g=n.window}else g=i,p=o-n.offset,f=n.length;f>l&&(f=l),l-=f,n.length-=f;do{i[o++]=g[p++]}while(--f);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;i[o++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;32>u;){if(0===s)break e;s--,c|=r[a++]<<u,u+=8}if(e.total_out+=h-=l,n.total+=h,h&&(e.adler=n.check=n.flags?po(n.check,i,h,o-h):ho(n.check,i,h,o-h)),h=l,(n.flags?c:Go(c))!==n.check){e.msg="incorrect data check",n.mode=Vo;break}c=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;32>u;){if(0===s)break e;s--,c+=r[a++]<<u,u+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=Vo;break}c=0,u=0}n.mode=29;case 29:x=1;break e;case Vo:x=-3;break e;case 31:return-4;default:return $o}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||h!==e.avail_out&&Vo>n.mode&&(27>n.mode||4!==t))&&function(e,t,n,r){var i,a=e.state;null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new ka(a.wsize)),a.wsize>r?((i=a.wsize-a.wnext)>r&&(i=r),_a(a.window,t,n-r,i,a.wnext),(r-=i)?(_a(a.window,t,n-r,r,0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.wsize>a.whave&&(a.whave+=i))):(_a(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize)}(e,e.output,e.next_out,h-e.avail_out),h-=e.avail_out,e.total_in+=d-=e.avail_in,e.total_out+=h,n.total+=h,n.wrap&&h&&(e.adler=n.check=n.flags?po(n.check,i,h,e.next_out-h):ho(n.check,i,h,e.next_out-h)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Wo?128:0)+(20===n.mode||15===n.mode?256:0),(0===d&&0===h||4===t)&&0===x&&(x=-5),x}var rs;function is(e){if(1>e||e>7)throw new TypeError("Bad argument");this.mode=e,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function as(e,t){for(var n=0;e.length>n;n++)this[t+n]=e[n]}is.prototype.init=function(e,t,n,r,i){var a;switch(this.windowBits=e,this.level=t,this.memLevel=n,this.strategy=r,3!==this.mode&&4!==this.mode||(this.windowBits+=16),7===this.mode&&(this.windowBits+=32),5!==this.mode&&6!==this.mode||(this.windowBits=-this.windowBits),this.strm=new ya,this.mode){case 1:case 3:case 5:a=function(e,t,n,r,i,a){if(!e)return mo;var o=1;if(-1===t&&(t=6),0>r?(o=0,r=-r):r>15&&(o=2,r-=16),1>i||i>9||8!==n||8>r||r>15||0>t||t>9||0>a||a>4)return ko(e,mo);8===r&&(r=9);var s=new Ro;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new ka(2*s.w_size),s.head=new xa(s.hash_size),s.prev=new xa(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new ka(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=n,No(e)}(this.strm,this.level,8,this.windowBits,this.memLevel,this.strategy);break;case 2:case 4:case 6:case 7:a=Ko(this.strm,this.windowBits);break;default:throw Error("Unknown mode "+this.mode)}0===a?(this.write_in_progress=!1,this.init_done=!0):this._error(a)},is.prototype.params=function(){throw Error("deflateParams Not supported")},is.prototype._writeCheck=function(){if(!this.init_done)throw Error("write before init");if(0===this.mode)throw Error("already finalized");if(this.write_in_progress)throw Error("write already in progress");if(this.pending_close)throw Error("close is pending")},is.prototype.write=function(e,t,n,r,i,a,o){this._writeCheck(),this.write_in_progress=!0;var s=this;return Yr(function(){s.write_in_progress=!1;var l=s._write(e,t,n,r,i,a,o);s.callback(l[0],l[1]),s.pending_close&&s.close()}),this},is.prototype.writeSync=function(e,t,n,r,i,a,o){return this._writeCheck(),this._write(e,t,n,r,i,a,o)},is.prototype._write=function(e,t,n,r,i,a,o){if(this.write_in_progress=!0,0!==e&&1!==e&&2!==e&&3!==e&&4!==e&&5!==e)throw Error("Invalid flush value");null==t&&(t=new Qn(0),r=0,n=0),i.set=i._set?i._set:as;var s,l=this.strm;switch(l.avail_in=r,l.input=t,l.next_in=n,l.avail_out=o,l.output=i,l.next_out=a,this.mode){case 1:case 3:case 5:s=Bo(l,e);break;case 7:case 2:case 4:case 6:s=ns(l,e);break;default:throw Error("Unknown mode "+this.mode)}return 1!==s&&0!==s&&this._error(s),this.write_in_progress=!1,[l.avail_in,l.avail_out]},is.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,1===this.mode||3===this.mode||5===this.mode?function(e){var t;e&&e.state&&(42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==bo&&t!==yo&&t!==_o?ko(e,mo):(e.state=null,t===yo&&ko(e,-3)))}(this.strm):function(e){if(!e||!e.state)return $o;var t=e.state;t.window&&(t.window=null),e.state=null}(this.strm),this.mode=0)},is.prototype.reset=function(){switch(this.mode){case 1:case 5:rs=No(this.strm);break;case 2:case 6:rs=Jo(this.strm)}0!==rs&&this._error(rs)},is.prototype._error=function(e){this.onerror(ba[e]+": "+this.strm.msg,e),this.write_in_progress=!1,this.pending_close&&this.close()};var os=Object.freeze({__proto__:null,DEFLATE:1,DEFLATERAW:5,GUNZIP:4,GZIP:3,INFLATE:2,INFLATERAW:6,NONE:0,UNZIP:7,Z_BEST_COMPRESSION:9,Z_BEST_SPEED:1,Z_BINARY:0,Z_BLOCK:5,Z_BUF_ERROR:-5,Z_DATA_ERROR:-3,Z_DEFAULT_COMPRESSION:-1,Z_DEFAULT_STRATEGY:0,Z_DEFLATED:8,Z_ERRNO:-1,Z_FILTERED:1,Z_FINISH:4,Z_FIXED:4,Z_FULL_FLUSH:3,Z_HUFFMAN_ONLY:2,Z_NEED_DICT:2,Z_NO_COMPRESSION:0,Z_NO_FLUSH:0,Z_OK:0,Z_PARTIAL_FLUSH:1,Z_RLE:3,Z_STREAM_END:1,Z_STREAM_ERROR:-2,Z_SYNC_FLUSH:2,Z_TEXT:1,Z_TREES:6,Z_UNKNOWN:2,Zlib:is});var ss={};Object.keys(os).forEach(function(e){ss[e]=os[e]}),ss.Z_MIN_WINDOWBITS=8,ss.Z_MAX_WINDOWBITS=15,ss.Z_DEFAULT_WINDOWBITS=15,ss.Z_MIN_CHUNK=64,ss.Z_MAX_CHUNK=1/0,ss.Z_DEFAULT_CHUNK=16384,ss.Z_MIN_MEMLEVEL=1,ss.Z_MAX_MEMLEVEL=9,ss.Z_DEFAULT_MEMLEVEL=8,ss.Z_MIN_LEVEL=-1,ss.Z_MAX_LEVEL=9,ss.Z_DEFAULT_LEVEL=ss.Z_DEFAULT_COMPRESSION;var ls={Z_OK:ss.Z_OK,Z_STREAM_END:ss.Z_STREAM_END,Z_NEED_DICT:ss.Z_NEED_DICT,Z_ERRNO:ss.Z_ERRNO,Z_STREAM_ERROR:ss.Z_STREAM_ERROR,Z_DATA_ERROR:ss.Z_DATA_ERROR,Z_MEM_ERROR:ss.Z_MEM_ERROR,Z_BUF_ERROR:ss.Z_BUF_ERROR,Z_VERSION_ERROR:ss.Z_VERSION_ERROR};function cs(e,t,n){var r=[],i=0;function a(){for(var t;null!==(t=e.read());)r.push(t),i+=t.length;e.once("readable",a)}function o(){var t=Qn.concat(r,i);r=[],n(null,t),e.close()}e.on("error",function(t){e.removeListener("end",o),e.removeListener("readable",a),n(t)}),e.on("end",o),e.end(t),a()}function us(e,t){if("string"==typeof t&&(t=new Qn(t)),!Nr(t))throw new TypeError("Not a string or buffer");return e._processChunk(t,ss.Z_FINISH)}function ds(e){if(!(this instanceof ds))return new ds(e);ws.call(this,e,ss.DEFLATE)}function hs(e){if(!(this instanceof hs))return new hs(e);ws.call(this,e,ss.INFLATE)}function fs(e){if(!(this instanceof fs))return new fs(e);ws.call(this,e,ss.GZIP)}function ps(e){if(!(this instanceof ps))return new ps(e);ws.call(this,e,ss.GUNZIP)}function gs(e){if(!(this instanceof gs))return new gs(e);ws.call(this,e,ss.DEFLATERAW)}function ms(e){if(!(this instanceof ms))return new ms(e);ws.call(this,e,ss.INFLATERAW)}function vs(e){if(!(this instanceof vs))return new vs(e);ws.call(this,e,ss.UNZIP)}function ws(e,t){if(this._opts=e=e||{},this._chunkSize=e.chunkSize||ss.Z_DEFAULT_CHUNK,ga.call(this,e),e.flush&&e.flush!==ss.Z_NO_FLUSH&&e.flush!==ss.Z_PARTIAL_FLUSH&&e.flush!==ss.Z_SYNC_FLUSH&&e.flush!==ss.Z_FULL_FLUSH&&e.flush!==ss.Z_FINISH&&e.flush!==ss.Z_BLOCK)throw Error("Invalid flush flag: "+e.flush);if(this._flushFlag=e.flush||ss.Z_NO_FLUSH,e.chunkSize&&(ss.Z_MIN_CHUNK>e.chunkSize||e.chunkSize>ss.Z_MAX_CHUNK))throw Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(ss.Z_MIN_WINDOWBITS>e.windowBits||e.windowBits>ss.Z_MAX_WINDOWBITS))throw Error("Invalid windowBits: "+e.windowBits);if(e.level&&(ss.Z_MIN_LEVEL>e.level||e.level>ss.Z_MAX_LEVEL))throw Error("Invalid compression level: "+e.level);if(e.memLevel&&(ss.Z_MIN_MEMLEVEL>e.memLevel||e.memLevel>ss.Z_MAX_MEMLEVEL))throw Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=ss.Z_FILTERED&&e.strategy!=ss.Z_HUFFMAN_ONLY&&e.strategy!=ss.Z_RLE&&e.strategy!=ss.Z_FIXED&&e.strategy!=ss.Z_DEFAULT_STRATEGY)throw Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!Nr(e.dictionary))throw Error("Invalid dictionary: it should be a Buffer instance");this._binding=new ss.Zlib(t);var n=this;this._hadError=!1,this._binding.onerror=function(e,t){n._binding=null,n._hadError=!0;var r=Error(e);r.errno=t,r.code=ss.codes[t],n.emit("error",r)};var r=ss.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(r=e.level);var i=ss.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(i=e.strategy),this._binding.init(e.windowBits||ss.Z_DEFAULT_WINDOWBITS,r,e.memLevel||ss.Z_DEFAULT_MEMLEVEL,i,e.dictionary),this._buffer=new Qn(this._chunkSize),this._offset=0,this._closed=!1,this._level=r,this._strategy=i,this.once("end",this.close)}Object.keys(ls).forEach(function(e){ls[ls[e]]=e}),oi(ws,ga),ws.prototype.params=function(e,t,n){if(ss.Z_MIN_LEVEL>e||e>ss.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(t!=ss.Z_FILTERED&&t!=ss.Z_HUFFMAN_ONLY&&t!=ss.Z_RLE&&t!=ss.Z_FIXED&&t!=ss.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+t);if(this._level!==e||this._strategy!==t){var r=this;this.flush(ss.Z_SYNC_FLUSH,function(){r._binding.params(e,t),r._hadError||(r._level=e,r._strategy=t,n&&n())})}else Yr(n)},ws.prototype.reset=function(){return this._binding.reset()},ws.prototype._flush=function(e){this._transform(new Qn(0),"",e)},ws.prototype.flush=function(e,t){var n=this._writableState;if(("function"==typeof e||void 0===e&&!t)&&(t=e,e=ss.Z_FULL_FLUSH),n.ended)t&&Yr(t);else if(n.ending)t&&this.once("end",t);else if(n.needDrain){var r=this;this.once("drain",function(){r.flush(t)})}else this._flushFlag=e,this.write(new Qn(0),"",t)},ws.prototype.close=function(e){if(e&&Yr(e),!this._closed){this._closed=!0,this._binding.close();var t=this;Yr(function(){t.emit("close")})}},ws.prototype._transform=function(e,t,n){var r,i=this._writableState,a=(i.ending||i.ended)&&(!e||i.length===e.length);if(null===!e&&!Nr(e))return n(Error("invalid input"));a?r=ss.Z_FINISH:(r=this._flushFlag,i.length>e.length||(this._flushFlag=this._opts.flush||ss.Z_NO_FLUSH)),this._processChunk(e,r,n)},ws.prototype._processChunk=function(e,t,n){var r=e&&e.length,i=this._chunkSize-this._offset,a=0,o=this,s="function"==typeof n;if(!s){var l,c=[],u=0;this.on("error",function(e){l=e});do{var d=this._binding.writeSync(t,e,a,r,this._buffer,this._offset,i)}while(!this._hadError&&p(d[0],d[1]));if(this._hadError)throw l;var h=Qn.concat(c,u);return this.close(),h}var f=this._binding.write(t,e,a,r,this._buffer,this._offset,i);function p(l,d){if(!o._hadError){var h=i-d;if(function(e,t){if(!e)throw Error(t)}(h>=0,"have should not go down"),h>0){var f=o._buffer.slice(o._offset,o._offset+h);o._offset+=h,s?o.push(f):(c.push(f),u+=f.length)}if(0!==d&&o._chunkSize>o._offset||(i=o._chunkSize,o._offset=0,o._buffer=new Qn(o._chunkSize)),0===d){if(a+=r-l,r=l,!s)return!0;var g=o._binding.write(t,e,a,r,o._buffer,o._offset,o._chunkSize);return g.callback=p,void(g.buffer=e)}if(!s)return!1;n()}}f.buffer=e,f.callback=p},oi(ds,ws),oi(hs,ws),oi(fs,ws),oi(ps,ws),oi(gs,ws),oi(ms,ws),oi(vs,ws);var bs={codes:ls,createDeflate:function(e){return new ds(e)},createInflate:function(e){return new hs(e)},createDeflateRaw:function(e){return new gs(e)},createInflateRaw:function(e){return new ms(e)},createGzip:function(e){return new fs(e)},createGunzip:function(e){return new ps(e)},createUnzip:function(e){return new vs(e)},deflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),cs(new ds(t),e,n)},deflateSync:function(e,t){return us(new ds(t),e)},gzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),cs(new fs(t),e,n)},gzipSync:function(e,t){return us(new fs(t),e)},deflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),cs(new gs(t),e,n)},deflateRawSync:function(e,t){return us(new gs(t),e)},unzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),cs(new vs(t),e,n)},unzipSync:function(e,t){return us(new vs(t),e)},inflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),cs(new hs(t),e,n)},inflateSync:function(e,t){return us(new hs(t),e)},gunzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),cs(new ps(t),e,n)},gunzipSync:function(e,t){return us(new ps(t),e)},inflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),cs(new ms(t),e,n)},inflateRawSync:function(e,t){return us(new ms(t),e)},Deflate:ds,Inflate:hs,Gzip:fs,Gunzip:ps,DeflateRaw:gs,InflateRaw:ms,Unzip:vs,Zlib:ws};function ys(e,t,n){var r=(3&e)<<4|t>>4,i=(15&t)<<2|n>>6,a=63&n,o="";return o+=_s(63&e>>2),o+=_s(63&r),o+=_s(63&i),o+=_s(63&a)}function _s(e){return 10>e?String.fromCharCode(48+e):26>(e-=10)?String.fromCharCode(65+e):26>(e-=26)?String.fromCharCode(97+e):0==(e-=26)?"-":1==e?"_":"?"}function ks(e){var t=e.charCodeAt(0);return"_"===e?63:"-"===e?62:97>t?65>t?48>t?"?":t-48:t-55:t-61}function xs(e){var t=ks(e[0]),n=ks(e[1]),r=ks(e[2]);return[t<<2|n>>4&63,n<<4&240|r>>2&15,r<<6&192|63&ks(e[3])]}function Es(e){return function(e){for(var t="",n=0;e.length>n;n+=3)t+=n+2==e.length?ys(e.charCodeAt(n),e.charCodeAt(n+1),0):n+1==e.length?ys(e.charCodeAt(n),0,0):ys(e.charCodeAt(n),e.charCodeAt(n+1),e.charCodeAt(n+2));return t}(bs.deflateRawSync(e,{level:9}).toString("binary"))}function Ss(e){return""+bs.inflateRawSync(Qn.from(function(e){var t="",n=0;for(n=0;e.length>n;n+=4){var r=xs(e.substring(n,n+4));t+=String.fromCharCode(r[0]),t+=String.fromCharCode(r[1]),t+=String.fromCharCode(r[2])}return t}(e),"binary"))}var Ls={encodeuml:function(e){var t="@startuml",n="@enduml";return Es("".concat(t).concat((e.split(t)[1]+"").split(n)[0]||"").concat(n))},decodeuml:function(e){return Ss(e)}},As="svg",js={};var Cs=0;function Ps(e,t){return new Promise(function(n){var r=[],i=[];e.forEach(function(e){var n=function(e,t){var n=F.createElementMeta("PlantUML",e,!0);if(n&&n.data){var r=js[n.hash];if(!r)return function(r){var i=t.imageFormat;if("svg"!==i){var a=e.style.cssText;a.length>0&&(a=' style="'.concat(a,'"'));var o=window&&window.location.protocol,s=("http:"===o||"https:"===o?"//":"https://")+t.umlWebSite,l=i!==As?".".concat(i):"",c=Ls.encodeuml(code),u="".concat(s,"/").concat(i,"/").concat(c).concat(l);return e.parentNode.outerHTML='<div id="'.concat(n.id,'" class="').concat(n.className,'"').concat(a,"><img src='").concat(u,"' alt=''></img></div>"),r(!0)}if("function"==typeof t.svgRender&&t.svgRender)try{t.svgRender(n.id,n.data,{count:Cs}).then(function(t){var i=document.createElement("div");i.id=n.id,i.className=n.className,e.style.cssText.length>0&&(i.style=e.style.cssText),i.innerHTML=t,e.parentNode.replaceWith(i),js[n.hash]=i,r(!0)})}catch(e){r(!1)}else if(window&&window.fetch){var d=window.location&&window.location.protocol,h=("http:"===d||"https:"===d?"//":"https://")+t.umlWebSite,f=i!==As?".".concat(i):"",p=Ls.encodeuml(n.data),g="".concat(h,"/").concat(i,"/").concat(p).concat(f);try{window.fetch(g).then(function(e){if("string"==typeof e)return e;if(e.ok)return e.text();throw Error("RequestError: ".concat(e.status))}).then(function(t){var i=document.createElement("div");i.id=n.id,i.className=n.className,e.style.cssText.length>0&&(i.style=e.style.cssText),i.innerHTML=t,e.parentNode.replaceWith(i),js[n.hash]=i,r(!0)}).catch(function(e){r(!1)})}catch(e){r(!1)}}else r(!1)};e.parentNode.replaceWith(r)}}(e,t);n&&i.push(n)}),Cs=i.length,i.forEach(function(e){r.push(new Promise(e))}),Promise.all(r).then(function(){n(!0)})})}function zs(e){var t=function(){return a({umlWebSite:"www.plantuml.com/plantuml",imageFormat:As,svgRender:null},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.plantuml.language-plantuml");return!!n.length&&Ps(n,this.config).then(function(){var n;return n=t,Object.keys(js).forEach(function(e){n.querySelector('[id*="-'.concat(e,'"]'))||delete js[e]}),e})}}]}var Ms="railroad";if("undefined"==typeof window)throw Error("The showdown railroad extension can only be used in browser environment!");var Ts=!1;function Os(){return Ts}var Rs,Ns=!1;function Bs(e,t){if(Os()){var n=t.id,r=t.className,i=window.eval(t.data).format(),a=t.element.ownerDocument,o=t.element.style.cssText;return o.length>0&&(o=' style="'.concat(o,'"')),t.element.parentNode.outerHTML='<div id="'.concat(n,'" class="').concat(r,'"').concat(o,"></div>"),i.addTo(a.getElementById(n)),e(!0)}setTimeout(function(){Bs(e,t)},10)}function Is(e){return new Promise(function(t){var n=F.createElementMeta(Ms,e);if(!n||!n.data)return t(!1);Bs(t,n)})}function Ds(e){return function(){var e=Os();if("undefined"!=typeof window){if(Ns)return e;e||(Ns=!0,I.loadScript(Ms).then(function(){Ts=!0}).catch(function(e){}))}}(),new Promise(function(t){var n=[];e.forEach(function(e){n.push(Is(e))}),Promise.all(n).then(function(){t(!0)})})}if("undefined"==typeof window)throw Error("The showdown sequence extension can only be used in browser environment!");if(void 0===qs)var qs=window.Raphael||void 0;if("undefined"!=typeof window&&window.Diagram&&(Rs=window.Diagram,window.Diagram.Signal))var Hs=window.Diagram;var Us=["simple","hand"];if(void 0===Hs&&"undefined"!=typeof window)Hs=window.SequenceJS;function Fs(){return!!qs}function Zs(){return Fs()&&!!Hs}var $s=!1;function Ws(e){var t=F.createElementMeta("sequence",e);if(t&&t.data){var n=function(){var e=Zs();if("undefined"!=typeof window){if($s)return e;e||($s=!0,I.loadScript("WebFont").then(function(){return Fs()?"Raphael":I.loadScript("Raphael")}).then(function(e){return qs=F.interopDefault(window[e]),I.loadScript("Snap")}).then(function(){return I.loadScript("underscore")}).then(function(){return!Rs&&window.Diagram&&(Rs=window.Diagram),I.loadScript("sequence")}).then(function(){Hs=window.Diagram,window.SequenceJS=Hs,Rs&&(window.Diagram=Rs)}).catch(function(e){}))}return e}(),r=t.data;e.classList.replace("sequence","js-sequence"),!n&&"undefined"!=typeof window&&window.dispatchEvent?Promise.resolve(t.id).then(function(n){window.dispatchEvent(new CustomEvent("sequence",{detail:{id:e.id,className:e.className,data:r,lang:t.lang}}))}):"undefined"!=typeof window&&window.dispatchEvent&&window.dispatchEvent(new CustomEvent("sequence",{detail:{id:e.id,className:e.className,data:r,lang:t.lang}}))}}function Vs(e){if(Zs()){var t=e.id,n=e.className,r=e.data,i=e.lang;if(!r||0===r.length)return;var a="hand";i&&i.theme&&-1!=Us.indexOf(i.theme)&&(a=i.theme);var o=window.document.getElementById(t);if(o)return o.parentNode.outerHTML='<div id="'.concat(t,'" class="').concat(n,'"></div>'),o=window.document.getElementById(t),void Hs.parse(r).drawSVG(o||t,{theme:a})}setTimeout(function(){Vs(e)},10)}function Gs(){var e=!1;return[{type:"output",filter:function(t){if("string"==typeof t){var n=(new DOMParser).parseFromString(t,"text/html"),r=void 0!==n.body?n.body:n,i=r.querySelectorAll("code.sequence.language-sequence");return i.length&&(e||"undefined"!=typeof window&&window.dispatchEvent&&(e=!0,window.addEventListener("sequence",function(e){e.detail&&Vs(e.detail)})),this.config={cssLink:I.getCSS(!0,"sequence")}),function(e){return!!e.length&&(e.forEach(function(e){Ws(e)}),!0)}(i)?r.innerHTML:t}if(!t||!t.wrapper)return!1;var a=t;return a.wrapper.querySelectorAll("code.sequence.language-sequence").length>0&&F.addCssLink(a,I.getCSS(!0,"sequence"),"css-sequence"),a}}]}if("undefined"==typeof window)throw Error("The showdown wavedrom extension can only be used in browser environment!");if(void 0===Ys)var Ys=window.WaveDrom||void 0;var Js=0,Ks=0;function Xs(){return!!Ys}var Qs=!1;function el(e,t){if(Xs()){var n=t.index,r=t.id,i=t.className,a=t.data;if(!a||0===a.length)return e(!1);var o=t.element;return o.parentNode.outerHTML=F.renderCacheElement(o.ownerDocument,r+n,i,function(e){var t=window.eval("(".concat(a,")"));Ys.RenderWaveForm(n,t,r);var i=document.getElementById("WaveDrom_Display_"+n);if(e!=i)for(;i.childNodes.length;)e.appendChild(i.removeChild(i.childNodes[0]))}),e(!0)}setTimeout(function(){el(e,t)},10)}function tl(e){return new Promise(function(t){var n=e.dataset.lang,r=n?JSON.parse(n):null,i="";if(r){if("boolean"==typeof r.codeblock&&r.codeblock||"string"==typeof r.codeblock&&"true"===r.codeblock.toLowerCase())return t(!1);r.align&&("center"===r.align?i="diagram-center":"right"===r.align&&(i="diagram-right"))}var a=e.textContent.trim();if(0===a.length)return t(!1);var o=(e.classList.length>0?e.classList[0]:"")+(e.className&&i?" ":"")+i,s=Ks;++Ks,--Js||(Ks=0);var l="WaveDrom_Display_";e.id=l+s,el(t,{element:e,index:s,id:l,className:o,data:a})})}function nl(e,t){return function(e){var t=Xs();Qs||t||(Qs=!0,"undefined"!=typeof window&&I.loadScript("WaveDrom","default","",e).then(function(e){Ys=F.interopDefault(window[e])}).catch(function(e){}))}(t),new Promise(function(t){var n=[];Js=e.length,e.forEach(function(e){n.push(tl(e))}),Promise.all(n).then(function(){t(!0)})})}function rl(e){var t=function(){return a({skin:"default"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.wavedrom.language-wavedrom");return!!n.length&&(E("Begin render wavedrom elements."),nl(n,this.config.skin).then(function(){return E("End render wavedrom elements."),e}))}}]}if("undefined"==typeof window)throw Error("The showdown flowchart extension can only be used in browser environment!");if(void 0===il)var il=window.Raphael||void 0;if(void 0===al)var al=window.flowchart||void 0;function ol(){return!(void 0===il||!il||void 0===al||!al)}var sl=!1;function ll(){var e=ol();if("undefined"!=typeof window){if(sl)return e;if(!e){if(sl=!0,!il)return I.loadScript("Raphael").then(function(e){return il=F.interopDefault(window[e]),I.loadScript("flowchart")}).then(function(e){al=F.interopDefault(window[e])}).catch(function(e){}),e;I.loadScript("flowchart").then(function(e){al=F.interopDefault(window[e])}).catch(function(e){})}}return e}function cl(e,t){if(ol()){var n=t.id,r=t.className,i=t.data;if(!i||0===i.length)return e(!1);var a=t.options;return t.element.parentNode.outerHTML=F.renderCacheElement(t.element.ownerDocument,n,r,function(e){al.parse(i).drawSVG(e,a)}),void e(!0)}setTimeout(function(){cl(e,t)},10)}function ul(e,t){return new Promise(function(n){var r=F.createElementMeta("flowchart",e);if(!r||!r.data)return n(!1);r.options=t,cl(n,r)})}function dl(e){var t=function(){return a({"line-width":3,maxWidth:3,"line-length":50,"text-margin":10,"font-size":14,font:"normal","font-family":"Helvetica","font-weight":"normal","font-color":"black","line-color":"black","element-color":"black",fill:"white","yes-text":"yes","no-text":"no","arrow-end":"block",scale:1,symbols:{start:{"font-color":"red","element-color":"green",fill:"yellow"},end:{class:"end-element"}},flowstate:{past:{fill:"#CCCCCC","font-size":12},current:{fill:"yellow","font-color":"red","font-weight":"bold"},future:{fill:"#FFFF99"},request:{fill:"blue"},invalid:{fill:"#444444"},approved:{fill:"#58C4A3","font-size":12,"yes-text":"APPROVED","no-text":"n/a"},rejected:{fill:"#C45879","font-size":12,"yes-text":"n/a","no-text":"REJECTED"}}},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e);return[{type:"output",config:t,filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.flowchart.language-flowchart"),r=t.querySelectorAll("code.flow.language-flow");return!(!n.length&&!r.length)&&function(e,t,n){return ll(),new Promise(function(r){var i=[];e.forEach(function(e){i.push(ul(e,n))}),t.forEach(function(e){i.push(ul(e,n))}),Promise.all(i).then(function(){r(!0)})})}(n,r,this.config).then(function(){return e})}}]}var hl=function(){return n(function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),r(this,"events",{})},[{key:"on",value:function(e,t){this.events[e]||(this.events[e]=new Set),this.events[e].add(t)}},{key:"off",value:function(e,t){var n;null===(n=this.events[e])||void 0===n||n.delete(t)}},{key:"emit",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;t>r;r++)n[r-1]=arguments[r];var i=0,a=this.events[e];return a&&a.forEach(function(e){e.apply(void 0,n),i++}),i}}])}(),fl=new hl;function pl(e){switch(e){case"tip":case"提示":return"tip";case"info":case"信息":return"info";case"warning":case"警告":return"warning";case"error":case"错误":return"error";case"danger":case"危险":return"danger";case"summary":case"概要":return"summary";case"tldr":case"摘要":return"tldr";case"abstract":case"抽象":return"abstract";case"todo":case"待办":return"todo";case"hint":case"小窍门":return"hint";case"success":case"成功":return"success";case"check":case"检测":return"check";case"done":case"完成":return"done";case"help":case"帮助":return"help";case"question":case"问题":return"question";case"faq":case"问答":return"faq";case"attention":case"关注":return"attention";case"caution":case"提醒":return"caution";case"failure":case"故障":return"failure";case"fail":case"失败":return"fail";case"missing":case"缺失":return"missing";case"bug":case"缺陷":return"bug";case"example":case"示例":return"example";case"snippet":case"片段":return"snippet";case"quote":case"引用":return"quote";case"cite":case"引文":return"cite";case"important":case"重点":return"important";case"key":case"要点":return"key";case"container":case"容器":return"container";case"row":case"行":return"row";case"col":case"列":return"col";default:return e}}function gl(e,t,n){if(!e)return t;var r=e.match(/(?:[^\s"']+|"[^"]*"|'[^']*')+/g).map(function(e){return e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'")?e.slice(1,-1):e}),i=null!=t?t:{};return r.forEach(function(e){if(e)if("#"===e[0]||"."===e[0]){var t=e.split(".");"#"===t[0][0]&&(i.id=t[0].substring(1),t.shift()),t.length>0&&(i.classList||(i.classList=[]),t.forEach(n&&0!==n.length?function(e){if(e){if(!i.style){var t=pl(e);t&&(i.style=t)}n.includes(e)||i.classList.includes(e)||i.classList.push(e)}}:function(e){e&&!i.classList.includes(e)&&i.classList.push(e)}))}else{var r=e.split("=");i.attribute||(i.attribute={});var a=r[0].toLowerCase();if(r.length>1){if("id"!==a&&"class"!==a){var o=r[1];o="true"===o.toLowerCase()||"false"!==o.toLowerCase()&&(isNaN(o)?o.replace(/^(['"]{0,1})(.*)\1$/,"$2"):Number(o)),i.attribute[a]=o}}else i.attribute[a]=void 0}}),i}function ml(e){if(!e)return"";for(var t="",n=0,r=Object.entries(e);r.length>n;n++){var i=l(r[n],2),a=i[1];switch(t+=" "+i[0],d(a)){case"boolean":t+="true";break;case"number":t+="="+"".concat(a);break;case"undefined":break;default:t+="="+'"'.concat(a,'"')}}return t}var vl=["details","详情","details+","详情+","details-","详情-"];var wl="resetImagePath";function bl(e){return new Promise(function(t){var n=[];e.forEach(function(e){n.push(function(e){return new Promise(function(t){var n=e.dataset.src;if(!n)return t(!1);var r="image-"+Date.now()+Math.floor(1e4*Math.random()),i=function(r){r||(r=n),e.src=r,delete e.dataset.src,t(!0)};fl.emit(wl,r,n,i)||i(n)})}(e))}),Promise.all(n).then(function(){t(!0)})})}var yl={};yl[wl]=wl;var _l=function(){return a({flavor:"github",metadata:!0,underline:!1,mathEngine:"mathjax"},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},kl=function(e,t){var n=null;try{n=w.extension(e)}catch(e){}return n||t},xl=function(e,t,n,r){if(!t||!n||"undefined"==typeof document)return!1;e&&"string"==typeof e&&(e=document.querySelector(e)),e||(e=document.getElementById(t))||(e=document.body);var i=e.tagName,a="script-".concat(t),o=document.querySelector("".concat(i," > #").concat(a));return o||((o=document.createElement("script")).id=a,o.type=r?"module":"text/javascript",o.text=n,e.appendChild(o)),!0},El=function(e,t,n,r){if(!t||!n||"undefined"==typeof document)return!1;e&&"string"==typeof e&&(e=document.querySelector(e)),e||(e=document.getElementById(t))||(e=document.body);var i=e.tagName,a="script-".concat(t),o=document.querySelector("".concat(i," > #").concat(a));return o||((o=document.createElement("script")).id=a,o.type=r?"module":"text/javascript",o.text=n,e.insertBefore(o,e.children[0])),!0};function Sl(e,t,n){return new Promise(function(r,i){e&&t&&"undefined"!=typeof document||i("Args is invaild!");var a=e.toLowerCase(),o="script-"+a,s=document.getElementById(o);if(s)return r(e);var l=document.head||document.getElementsByTagName("head")[0];if((s=document.createElement("script")).id=o,n&&(s.type="module","string"==typeof n&&"import"===n))return s.textContent="import * as ".concat(a," from '").concat(t,"';\nif (!('").concat(nativeName,"' in window)) {\n if ('default' in ").concat(a," && ").concat(a,"['default']) {\n window['").concat(nativeName,"'] = ").concat(a,"['default']\n } else {\n window['").concat(nativeName,"'] = ").concat(a,";\n }\n}"),l.appendChild(s),r(e);s.src=t,s.onload=function(){r(e)},l.appendChild(s)})}var Ll=function(e,t,n){var r=t;if(e.host&&(r="string"==typeof e.host?document.querySelector(e.host):e.host),!e.inner){if(!e.code)return!1;if("function"==typeof e.code){var i=e.code;return n?(n.then(function(){i()}),!0):(i(),!0)}return n?(n.then(function(){xl(r,e.id,e.code,e.module)}),!0):xl(r,e.id,e.code,e.module)}if(w.helper.isArray(e.inner)||(e.inner=[e.inner]),e.code)if("function"==typeof e.code){var a=e.code;n?n.then(function(){a()}):a()}else n?n.then(function(){El(r,e.id,e.code,e.module)}):El(r,e.id,e.code,e.module);if(e.inner.length>0)for(var o=function(){var t=e.inner[s];if(!t.code)return 0;if("function"==typeof t.code){var i=t.code;return n?n.then(function(){i()}):i(),0}var a=r;if(t.host&&(a="string"==typeof t.host?document.querySelector(t.host):t.host),n)return n.then(function(){xl(a,t.id,t.code,t.module)}),0;xl(a,t.id,t.code,t.module)},s=0;e.inner.length>s;++s)o();return!0},Al=["github","ghost","vanilla","original","allon"],jl=["mathjax","katex"],Cl={showdown:w,converter:null,eventBus:fl,defaultOptions:{showdown:_l(),toc:{},plantuml:{imageFormat:"svg"},mermaid:{theme:"default"},mathjax:{},katex:{},kroki:{},vega:{theme:"vox"},shiki:{}},defaultExtensions:{},defaultAsyncExtensions:{},markdownDecodeFilter:function(e){return""},initDefaultOptions:function(){this.defaultOptions||(this.defaultOptions={showdown:{},toc:{},plantuml:{},mermaid:{},mathjax:{},katex:{},kroki:{},vega:{},shiki:{}})},onEvent:function(e,t){yl[e]&&fl.on(yl[e],t)},setFlavor:function(e){this.showdown.setFlavor(e),this.converter&&this.converter.setFlavor(e)},getMetaData:function(){if(!this.converter)return null;var e=this.converter.getMetadata(!1);return e.raw=this.converter.getMetadata(!0),e.format=this.converter.getMetadataFormat(),e},addOptions:function(e){for(var t in e)"flavor"!==t&&"mathEngine"!==t&&(this.showdown.setOption(t,e[t]),this.converter&&this.converter.setOption(t,e[t]))},addExtension:function(e,t){if(this.removeExtension(e),"string"==typeof e)try{w.extension(e,t),this.converter&&this.converter.addExtension(e)}catch(e){}},removeExtension:function(e){if("string"==typeof e){if(this.converter){var t=null;try{t=w.extension(e)}catch(e){}if(!t)return;this.converter.removeExtension(t)}w.removeExtension(e)}},addAsyncExtension:function(e,t){if(this.removeAsyncExtension(e),"string"==typeof e)try{w.asyncExtension(e,t),this.converter&&this.converter.addAsyncExtension(e)}catch(e){}},removeAsyncExtension:function(e){if("string"==typeof e){if(this.converter){var t=null;try{t=w.asyncExtension(e)}catch(e){}if(!t)return;this.converter.removeAsyncExtension(t)}w.removeAsyncExtension(e)}},setCDN:function(e,t,n,r){"string"==typeof e&&e&&I.setCDN(e,t,n,r)},setShowdownFlavor:function(e){this.initDefaultOptions(),e&&(-1===Al.indexOf(e)&&(e="github"),this.defaultOptions.showdown.flavor=e,this.setFlavor(e))},setMathEngine:function(e){this.initDefaultOptions(),e&&(-1===jl.indexOf(e)&&(e="mathjax"),this.defaultOptions.showdown.mathEngine=e,this.setExtensionOptions("katex",{engine:e}),this.setExtensionOptions("mathjax",{engine:e}))},setLanuageTheme:function(e){this.initDefaultOptions(),e&&(this.defaultOptions.shiki.theme=e,this.setExtensionOptions("shiki",{theme:e}))},setShowdownOptions:function(e){return this.initDefaultOptions(),"object"===d(e)&&e||(e={}),this.defaultOptions.showdown=Object.assign(this.defaultOptions.showdown||{},e),this.setShowdownFlavor(this.defaultOptions.showdown.flavor),this.setMathEngine(this.defaultOptions.showdown.mathEngine),this.addOptions(this.defaultOptions.showdown),this.defaultOptions.showdown},setExtensionOptions:function(e,t){if(!t||"object"!==d(t))return!1;var n=function(e,t){var n=null;try{n=w.asyncExtension(e)}catch(e){}return n||t}(e="showdown-".concat(e));if(!n&&!(n=kl(e)))return!1;if(!n.length)return!1;for(var r=0;n.length>r;r++){var i=n[r];if(i&&"output"===i.type&&i.config)return U(i.config,t),!0}return!1},setPlantumlOptions:function(e){return this.setExtensionOptions("plantuml",e)},setMermaidOptions:function(e){return this.setExtensionOptions("mermaid",e)},setKatexOptions:function(e){return this.setExtensionOptions("katex",e)},setKrokiOptions:function(e){return this.setExtensionOptions("kroki",e)},setVegaOptions:function(e){return this.setExtensionOptions("vega",e)},init:function(e){if(this.converter){var t={};if("object"===d(t="boolean"==typeof e&&e?{option:!0,extension:!0}:e)){if(t.hasOwnProperty("option")&&t.option){var n=_l(this.defaultOptions&&this.defaultOptions.showdown||{});this.setFlavor(n.flavor),this.setMathEngine(n.mathEngine),this.addOptions(n)}if(t.hasOwnProperty("extension")&&t.extension)for(var r in this.defaultOptions){var i=l(r,2),o=i[0];"showdown"!==o&&this.setExtensionOptions(o,i[1])}}}else{var s=_l(this.defaultOptions&&this.defaultOptions.showdown||{}),c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a({"showdown-toc":he(e.toc),"showdown-image":[{type:"listener",listeners:{"images.after":function(e,t){return t.replace(/!\[\[([^\[\]]*)\]\](?:\{([^\{\}]*)\})?/gm,function(e,t,n){return n||(n=""),'<img class="inline-image" data-src="'.concat(t,'" ').concat(n,"/>")})}}}],"showdown-align":(t=new DOMParser,[{type:"output",filter:function(e){var n=t.parseFromString(e,"text/html"),r=void 0!==n.body?n.body:n;return function(e){for(var t=null,n=null,r=!1,i=e.querySelectorAll("p, li, h1, h2, h3, h4, h5, h6, div.paragraph"),a=0;i.length>a;a++)for(n=(t=i[a]).firstChild;n;){if(3===n.nodeType){var o=n.nodeValue.match(/^([\s\S]*?)([:-]-:)(?:[\s]?)([\s\S]*)$/);o&&(":-:"===o[2]?(n.nodeValue=o[3],t.className?t.className+=" align-center":t.className="align-center",r=!0):"--:"===o[2]&&(n.nodeValue=o[3],t.className?t.className+=" align-right":t.className="align-right",r=!0));break}n=n.nextSibling}return r}(r)?r.innerHTML:e}}]),"showdown-footnotes":[{type:"lang",filter:function(e,t){return e.replace(/^\[\^([\d\w]+)\]:\s*((\n+(\s{2,4}|\t).+)+)$/gm,function(e,n,r,i,a){var o=t.makeHtml(r.replace(RegExp("^".concat(a),"gm"),""));return'<div class="footnote" id="footnote-'.concat(n,'"><a href="#footnote-').concat(n,'"><sup>[').concat(n,"]</sup></a>:").concat(o,"</div>")})}},{type:"lang",filter:function(e){return e.replace(/^\[\^([\d\w]+)\]:( |\n)((.+\n)*.+)$/gm,function(e,t,n,r){return'<small class="footnote" id="footnote-'.concat(t,'"><a href="#footnote-').concat(t,'"><sup>[').concat(t,"]</sup></a>: ").concat(r,"</small>")})}},{type:"lang",filter:function(e){return e.replace(/([^\\])\[\^([\d\w]+)\]/gm,function(e,t,n){return"".concat(t,'<a href="#footnote-').concat(n,'"><sup>[').concat(n,"]</sup></a>")})}},{type:"lang",filter:function(e){return e.replace(/\\\[\^([\d\w]+)\]/gm,function(e,t){return"[^".concat(t,"]")})}}],"showdown-directive":[{type:"listener",listeners:{"blockGamut.before":function(e,t,n,r,i){return t=n._dispatch("directive.before",t,r,i),t=(t=(t=(t=(t=(t=(t+="¨0").replace(/^ {0,3}>[ \t]*\[\!([^\f\v\r\n\[\]\{\}]+)\]([\+-]?)[ \t]+([^\r\n]*)[ \t]*\n((?: {0,3}>(?:[^\r\n]*(?:\n|$)))*)/gm,function(e,t,n,a,o){var s={classList:["callout","note"]};if(t=t.toLowerCase(),s.style=pl(t),s.classList.push(s.style),n){if(a)a=w.subParser("spanGamut")(a,r,i),a='<summary class="callout-title">'.concat(a,"</summary>");else{var l=s.style?ae.getLangString(s.style,s.style):ae.getLangString("note","note");a='<summary class="callout-title">'.concat(l,"</summary>")}o?(o=(o=(o=o.replace(/^ {0,3}>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),o=w.subParser("githubCodeBlocks")(o,r,i),o=w.subParser("blockGamut")(o,r,i),o='<div class="callout-content">'.concat(o,"</div>")):o="";var c="+"===n?" open":"",u='<details class="'.concat(s.classList.join(" "),'"').concat(c,">").concat(a).concat(o,"</details>");return w.subParser("hashBlock")(u,r,i)}if(a)a=w.subParser("spanGamut")(a,r,i),a='<div class="callout-title">'.concat(a,"</div>");else{var d=s.style?ae.getLangString(s.style,s.style):ae.getLangString("note","note");a='<div class="callout-title">'.concat(d,"</div>")}o?(o=(o=(o=o.replace(/^ {0,3}>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),o=w.subParser("githubCodeBlocks")(o,r,i),o=w.subParser("blockGamut")(o,r,i),o='<div class="callout-content">'.concat(o,"</div>")):o="";var h='<div class="'.concat(s.classList.join(" "),'">').concat(a).concat(o,"</div>");return w.subParser("hashBlock")(h,r,i)})).replace(/^(!!!|\?\?\?[\+]?) ((?:[^"\f\v\r\n]+[ \t]*)+)(?:"([^"\r\n]*)")?[ \t]*\n((?:(?: |\t)[^\r\n]*(?:\n|$)|\n(?![\S]))*)/gm,function(e,t,n,a,o){var s={classList:["admonition"]},l=(n=n.toLowerCase()).split(" ");if(l.includes("alert")||l.includes("note")||l.includes("simple")||s.classList.push("simple"),l.forEach(function(e,t){if(e){if(!s.style){var n=pl(e);n&&(s.style=n)}s.classList.includes(e)||s.classList.push(e)}}),s.style||(s.style="default"),s.classList.includes(s.style)||s.classList.push(s.style),t.startsWith("???")){if(a)a=w.subParser("spanGamut")(a,r,i),a='<summary class="admonition-title">'.concat(a,"</summary>");else{var c=s.style?ae.getLangString(s.style,s.style):ae.getLangString("note","note");a='<summary class="admonition-title">'.concat(c,"</summary>")}if(o){var u=o.split("\n");u.forEach(function(e,t){e&&(u[t]=e.substring("\t"===e[0]?1:4))}),o=w.subParser("githubCodeBlocks")(u.join("\n"),r,i),o=w.subParser("blockGamut")(o,r,i),o='<div class="admonition-content">'.concat(o,"</div>")}else o="";var d=t.length>3&&"+"===t[3]?" open":"",h='<details class="'.concat(s.classList.join(" "),'"').concat(d,">").concat(a).concat(o,"</details>");return w.subParser("hashBlock")(h,r,i)}if(a)a=w.subParser("spanGamut")(a,r,i),a='<div class="admonition-title">'.concat(a,"</div>");else{var f=s.style?ae.getLangString(s.style,s.style):ae.getLangString("note","note");a='<div class="admonition-title">'.concat(f,"</div>")}if(o){var p=o.split("\n");p.forEach(function(e,t){e&&(p[t]=e.substring("\t"===e[0]?1:4))}),o=w.subParser("githubCodeBlocks")(p.join("\n"),r,i),o=w.subParser("blockGamut")(o,r,i),o='<div class="admonition-content">'.concat(o,"</div>")}else o="";var g='<div class="'.concat(s.classList.join(" "),'">').concat(a).concat(o,"</div>");return w.subParser("hashBlock")(g,r,i)})).replace(/^ {0,3}((?::::+)|(?:!!!+))[ \t]*([^\f\v\r\n\[\]\{\}]*)[ \t]*(?:([^\f\v\r\n\[\]\{\}]*)|(?:\[([^\[\]]*)\])?[ \t]*(?:\{([^\{\}]*)\})?)[: \t]*\n([\s\S]*?)\n {0,3}\1[:! \t]*(?:¨0)?$/gm,function(e,t,n,a,o,s,l){if(n=n.toLowerCase(),vl.includes(n)){(a||!o&&!s)&&(o=a||"");var c=gl(s,{});o&&(o=w.subParser("spanGamut")(o,r,i)),o='<summary class="details-title">'.concat(o,"</summary>"),l&&(l=w.subParser("githubCodeBlocks")(l,r,i),l=w.subParser("blockGamut")(l,r,i),l='<div class="details-content">'.concat(l,"</div>"));var u=c.id?'id="'.concat(c.id,'" '):"",d=c.attribute?ml(c.attribute):"",h="",f="",p=n[n.length-1];"+"!==p&&"-"!==p||(h=" folder","+"===p&&(f=" open"));var g="<details ".concat(u,'class="details').concat(h,'"').concat(d).concat(f,">").concat(o).concat(l,"</details>");return w.subParser("hashBlock")(g,r,i)}n||(n="container");var m={classList:[]},v="",b="",y="";if(a||!o&&!s){var _=n.split("-");n=_[0],_.forEach(function(e,t){if(t>0&&e){if(!m.style){var n=pl(e);n&&(m.style=n)}m.classList.includes(e)||m.classList.push(e)}}),o=a||""}var k=!1;switch(n){case"note":case"备注":k=!0,m.type="admonition",y=ae.getLangString("note","note"),m.classList.unshift("admonition","note"),gl(s,m,["simple","alert","container","row","col"]);break;case"alert":case"注意":k=!0,m.type="admonition",y=ae.getLangString("alert","alert"),m.classList.unshift("admonition","alert"),gl(s,m,["simple","note","container","row","col"]);break;case"simple":case"简单":k=!0,m.type="admonition",y=ae.getLangString("simple","simple"),m.classList.unshift("admonition","simple"),gl(s,m,["note","alert","container","row","col"]);break;case"container":case"容器":m.type="container",gl(s,m),m.classList.unshift("container");break;case"row":case"行":m.type="row",gl(s,m),m.classList.unshift("row");break;case"col":case"列":m.type="col",gl(s,m),m.classList.unshift("col");break;default:k=!0,m.type="admonition",m.style=pl(n),gl(s,m,["container","row","col"]),m.classList.includes("alert")||m.classList.includes("note")||m.classList.includes("simple")?m.classList.unshift("admonition"):m.classList.unshift("admonition","note")}if(k&&(m.style||(m.style="default"),m.classList.includes(m.style)||m.classList.push(m.style)),o)o=w.subParser("spanGamut")(o,r,i),o='<div class="'.concat(m.type,'-title">').concat(o,"</div>");else if(k){var x;y=null!==(x=y||!m.style)&&void 0!==x?x:ae.getLangString(m.style,m.style),o='<div class="admonition-title">'.concat(y,"</div>")}l?(l=w.subParser("githubCodeBlocks")(l,r,i),l=w.subParser("blockGamut")(l,r,i),l='<div class="'.concat(m.type,'-content">').concat(l,"</div>")):l="",m.id&&(v='id="'.concat(m.id,'" ')),m.attribute&&(b=ml(m.attribute));var E="<div ".concat(v,'class="').concat(m.classList.join(" "),'"').concat(b,">").concat(o).concat(l,"</div>");return w.subParser("hashBlock")(E,r,i)})).replace(/^ {0,3}(?<!:)::[ \t]*([^\f\v\r\n\[\]\{\}]+)[ \t]*(?:\[([^\[\]]*)\])?[ \t]*(?:\{([^\{\}]*)\})?[ \t]*(?:¨0)?$/gm,function(e,t,n,a){var o={};if(gl(a,o),"media"===t||"video"===t||"媒体"===t||"音视频"===t){if(!o.attribute||!o.attribute.src)return;var s="",l="",c="";n?(n=w.subParser("spanGamut")(n,r,i),n='<div class="media-title">'.concat(n,"</div>")):n="",o.id&&(s='id="'.concat(o.id,'"')),o.attribute&&(l=ml(o.attribute)),o.classList&&(c=' class="'.concat(o.classList.join(" "),'"'));var u="<iframe ".concat(s).concat(c).concat(l,">").concat(n,"}</iframe>");return w.subParser("hashBlock")(u,r,i)}if("css-link"===t){if(!o.attribute||!o.attribute.href)return;var d,h="";o.id&&(h='id="'.concat(o.id,'"')),d=ml(o.attribute);var f="<link ".concat(h).concat(d,">");return w.subParser("hashBlock")(f,r,i)}if("css"===t){if(!n)return;var p="",g="",m=n;o.id&&(p='id="'.concat(o.id,'"')),o.attribute&&(g=ml(o.attribute));var v="<style ".concat(p).concat(g,">").concat(m,"</style>");return w.subParser("hashBlock")(v,r,i)}var b="";if(fl.emit("leafDirective",t,n,o,function(e){b=e})&&b)return w.subParser("hashBlock")(b,r,i)})).replace(/(?<!:):([-\w]+)\[([^\[\]]*)\](?:\{([^\{\}]*)\})?/g,function(e,t,n,a){var o={};gl(a,o);var s="",l="";o.id&&(s='id="'.concat(o.id,'"')),o.attribute&&(l=ml(o.attribute));var c="";return o.classList&&(c=' class="'.concat(o.classList.join(" "),'"')),n=n?w.subParser("spanGamut")(n,r,i):"",fl.emit("textDirective",t,n,o,function(e){n=e})||(n="<".concat(t," ").concat(s).concat(c).concat(l,">").concat(n,"</").concat(t,">")),w.subParser("hashBlock")(n,r,i)})).replace(/¨0/,""),n._dispatch("directive.after",t,r,i)}}}],"showdown-sequence":Gs()},n),i=[];for(var o in r)r.hasOwnProperty(o)&&(w.extension(o,r[o]),i.push(o));return i}(this.defaultOptions,this.defaultExtensions),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e&&e.mermaid||{},r=e&&e.plantuml||{},i=e&&e.mathjax||{},o=e&&e.tex||{},s=e&&e.katex||{},l=e&&e.kroki||{},c=e&&e.vega||{},u=e&&e.shiki||{},d=e&&e.gnuplot||{},h=a(a({"showdown-toc":kl("showdown-toc",he),"showdown-image":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("img.inline-image");return!!n.length&&bl(n).then(function(){return e})}}],"showdown-mermaid":Bn(n),"showdown-mathjax":nn(i),"showdown-katex":ft(s),"showdown-flowchart":dl(),"showdown-viz":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.dot.language-dot");return!!n.length&&be(n).then(function(){return e})}}],"showdown-vega":Te(c),"showdown-wavedrom":rl(),"showdown-railroad":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.railroad.language-railroad");return!!n.length&&(this.config={cssLink:I.getCSS(!0,Ms)},F.addCssLink(e,this.config.cssLink,"css-railroad"),Ds(n).then(function(){return e}))}}],"showdown-abc":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.abc.language-abc");return!!n.length&&(this.config={cssLink:I.getCSS(!0,Z)},F.addCssLink(e,this.config.cssLink,"css-abc"),Q(n,e.scripts).then(function(){return e}))}}],"showdown-echarts":dn(),"showdown-plotly":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.plotly.language-plotly");return!!n.length&&Ht(n,e.scripts).then(function(){return e})}}],"showdown-antv":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.infographic.language-infographic");return!!n.length&&De(n).then(function(){return e})}}],"showdown-zenuml":[{type:"output",filter:function(e){var t=e.wrapper;if(!t)return!1;var n=t.querySelectorAll("code.zenuml.language-zenuml");return!!n.length&&Ot(n).then(function(){return e})}}],"showdown-sequence":kl("showdown-sequence",Gs),"showdown-plantuml":zs(r),"showdown-kroki":wt(l),"showdown-tex":Se(o),"showdown-gnuplot":Wt(d)},t),{},{"showdown-shiki":At(u),"showdow-css":[{type:"output",filter:function(e){var t="css-ex-";F.removeAllStylesheet(t);var n=e.wrapper;if(!n)return!1;var r=n.querySelectorAll("a");return!!r.length&&(r.forEach(function(n){try{if(n.href&&"string"==typeof n.href&&"css:"===n.href.substr(0,4)){var r=n.href.substr(4).trim(),i="".concat(F.hashString(r));F.addCssLink(e,r,t+i),n.parentNode&&"P"===n.parentNode.tagName&&n.parentNode.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n),r=I.getUrl(r),F.loadStylesheet(r,t+i)}}catch(e){}}),e)}}]}),f=[];for(var p in h)h.hasOwnProperty(p)&&(w.asyncExtension(p,h[p]),f.push(p));return f}(this.defaultOptions,this.defaultAsyncExtensions);this.setFlavor(s.flavor),this.setMathEngine(s.mathEngine),this.converter=new w.Converter({extensions:c}).initConvertExtObj(s.flavor,u),this.addOptions(s)}return this},makeHtml:function(e,t){var n="",r="html";if("object"===d(e)){if("string"==typeof e.content)if("string"==typeof e.type)if("zip"===e.type)n=this.zDecode(e.content);else n=this.markdownDecodeFilter(e)||e.content;else n=e.content;"dom"===e.output&&(r="dom")}else n=e;return this.converter&&n?this.converter.asyncMakeHtml(n).then(function(e){if("string"!=typeof e.html){if("undefined"!=typeof document&&"dom"===r){var t=[e.html];if(e.extras){var i="",a=e.extras;w.helper.isArray(a)||(a=[a]);for(var o=0;a.length>o;++o)"string"==typeof a[o]?i+=a[o]:t.push(a[o]);if(i.length>0){var s=document.createElement("div");s.innerHTML=i,t.push.apply(t,c(s.childNodes)),s.replaceChildren()}}return{html:t,scripts:e.scripts,cssLinks:e.cssLinks}}n=e.html.outerHTML}else n=e.html;if(e.extras){var l=e.extras;w.helper.isArray(l)||(l=[l]);for(var u=0;l.length>u;++u)n+="string"==typeof l[u]?l[u]:l.outerHTML}return{html:n,scripts:e.scripts,cssLinks:e.cssLinks}}):Promise.reject(n?"Converter is invaild.":"Content is empty.")},completedHtml:function(e,t){return w.helper.isArray(e)||(e=[e]),new Promise(function(n,r){"string"==typeof t&&(t=document.querySelector(t));for(var i,a=function(){var n=e[o];if(n.outer){w.helper.isArray(n.outer)||(n.outer=[n.outer]);for(var i=n.outer[0],a=Sl(i.name,i.src,i.module),s=1;n.outer.length>s;++s)i=n.outer[s],a=a.then(function(){return Sl(i.name,i.src,i.module)});return Ll(n,t,a),0}if(!Ll(n,t))return{v:r("Args is invaild!")}},o=0;e.length>o;++o)if(0!==(i=a())&&i)return i.v;n(!0)})},zDecode:function(e){return""+bs.inflateRawSync(Qn.from(e,"base64"))},zEncode:function(e){return bs.deflateRawSync(e,{level:9}).toString("base64")}};return Cl});
|
|
9
9
|
//# sourceMappingURL=showdowns.min.js.map
|