(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5416],{57838:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(97685),l=t(67294);function i(){var e=l.useReducer(function(e){return e+1},0);return(0,r.Z)(e,2)[1]}},25378:function(e,n,t){"use strict";var r=t(67294),l=t(57838),i=t(24308);n.Z=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=(0,r.useRef)({}),t=(0,l.Z)();return(0,r.useEffect)(function(){var r=i.ZP.subscribe(function(r){n.current=r,e&&t()});return function(){return i.ZP.unsubscribe(r)}},[]),n.current}},97183:function(e,n,t){"use strict";var r=t(2897),l=t(7293),i=r.ZP;i.Header=r.h4,i.Footer=r.$_,i.Content=r.VY,i.Sider=l.Z,n.Z=i},11382:function(e,n,t){"use strict";var r=t(87462),l=t(4942),i=t(97685),o=t(94184),u=t.n(o),a=t(23279),c=t.n(a),s=t(98423),f=t(67294),p=t(53124),d=t(96159),h=t(93355),m=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>n.indexOf(r)&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);ln.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(t[r[l]]=e[r[l]]);return t};(0,h.b)("small","default","large");var g=null,y=function(e){var n=e.spinPrefixCls,t=e.spinning,o=void 0===t||t,a=e.delay,h=e.className,y=e.size,x=void 0===y?"default":y,k=e.tip,v=e.wrapperClassName,b=e.style,S=e.children,w=m(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),C=f.useState(function(){return o&&(!o||!a||!!isNaN(Number(a)))}),E=(0,i.Z)(C,2),A=E[0],F=E[1];return f.useEffect(function(){var e=c()(function(){F(o)},a);return e(),function(){var n;null===(n=null==e?void 0:e.cancel)||void 0===n||n.call(e)}},[a,o]),f.createElement(p.C,null,function(t){var i,o,a,c=t.direction,p=u()(n,(a={},(0,l.Z)(a,"".concat(n,"-sm"),"small"===x),(0,l.Z)(a,"".concat(n,"-lg"),"large"===x),(0,l.Z)(a,"".concat(n,"-spinning"),A),(0,l.Z)(a,"".concat(n,"-show-text"),!!k),(0,l.Z)(a,"".concat(n,"-rtl"),"rtl"===c),a),h),m=(0,s.Z)(w,["indicator","prefixCls"]),y=f.createElement("div",(0,r.Z)({},m,{style:b,className:p,"aria-live":"polite","aria-busy":A}),(i=e.indicator,o="".concat(n,"-dot"),null===i?null:(0,d.l$)(i)?(0,d.Tm)(i,{className:u()(i.props.className,o)}):(0,d.l$)(g)?(0,d.Tm)(g,{className:u()(g.props.className,o)}):f.createElement("span",{className:u()(o,"".concat(n,"-dot-spin"))},f.createElement("i",{className:"".concat(n,"-dot-item")}),f.createElement("i",{className:"".concat(n,"-dot-item")}),f.createElement("i",{className:"".concat(n,"-dot-item")}),f.createElement("i",{className:"".concat(n,"-dot-item")}))),k?f.createElement("div",{className:"".concat(n,"-text")},k):null);if(void 0!==S){var C=u()("".concat(n,"-container"),(0,l.Z)({},"".concat(n,"-blur"),A));return f.createElement("div",(0,r.Z)({},m,{className:u()("".concat(n,"-nested-loading"),v)}),A&&f.createElement("div",{key:"loading"},y),f.createElement("div",{className:C,key:"container"},S))}return y})},x=function(e){var n=e.prefixCls,t=(0,f.useContext(p.E_).getPrefixCls)("spin",n),l=(0,r.Z)((0,r.Z)({},e),{spinPrefixCls:t});return f.createElement(y,(0,r.Z)({},l))};x.setDefaultIndicator=function(e){g=e},n.Z=x},93645:function(e,n,t){"use strict";t.d(n,{u:function(){return l}});var r={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function l(e){return e?r[e]:r.trunc}},59910:function(e,n,t){"use strict";t.d(n,{Z:function(){return i}});var r=t(19013),l=t(13882);function i(e,n){return(0,l.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(n).getTime()}},11699:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var r=t(59910),l=t(13882),i=t(93645);function o(e,n,t){(0,l.Z)(2,arguments);var o=(0,r.Z)(e,n)/1e3;return(0,i.u)(null==t?void 0:t.roundingMethod)(o)}},94470:function(e){"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,l=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},o=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,l=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!l&&!i)return!1;for(r in e);return void 0===r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(l)return l(e,t).value}return e[t]};e.exports=function e(){var n,t,r,l,c,s,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"==typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});p * @license MIT */e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},62705:function(e,n,t){var r=t(55639).Symbol;e.exports=r},44239:function(e,n,t){var r=t(62705),l=t(89607),i=t(2333),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?l(e):i(e)}},27561:function(e,n,t){var r=t(67990),l=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(l,""):e}},31957:function(e,n,t){var r="object"==typeof t.g&&t.g&&t.g.Object===Object&&t.g;e.exports=r},89607:function(e,n,t){var r=t(62705),l=Object.prototype,i=l.hasOwnProperty,o=l.toString,u=r?r.toStringTag:void 0;e.exports=function(e){var n=i.call(e,u),t=e[u];try{e[u]=void 0;var r=!0}catch(e){}var l=o.call(e);return r&&(n?e[u]=t:delete e[u]),l}},2333:function(e){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},55639:function(e,n,t){var r=t(31957),l="object"==typeof self&&self&&self.Object===Object&&self,i=r||l||Function("return this")();e.exports=i},67990:function(e){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},23279:function(e,n,t){var r=t(13218),l=t(7771),i=t(14841),o=Math.max,u=Math.min;e.exports=function(e,n,t){var a,c,s,f,p,d,h=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError("Expected a function");function x(n){var t=a,r=c;return a=c=void 0,h=n,f=e.apply(r,t)}function k(e){var t=e-d,r=e-h;return void 0===d||t>=n||t<0||g&&r>=s}function v(){var e,t,r,i=l();if(k(i))return b(i);p=setTimeout(v,(e=i-d,t=i-h,r=n-e,g?u(r,s-t):r))}function b(e){return(p=void 0,y&&a)?x(e):(a=c=void 0,f)}function S(){var e,t=l(),r=k(t);if(a=arguments,c=this,d=t,r){if(void 0===p)return h=e=d,p=setTimeout(v,n),m?x(e):f;if(g)return clearTimeout(p),p=setTimeout(v,n),x(d)}return void 0===p&&(p=setTimeout(v,n)),f}return n=i(n)||0,r(t)&&(m=!!t.leading,s=(g="maxWait"in t)?o(i(t.maxWait)||0,n):s,y="trailing"in t?!!t.trailing:y),S.cancel=function(){void 0!==p&&clearTimeout(p),h=0,a=d=c=p=void 0},S.flush=function(){return void 0===p?f:b(l())},S}},13218:function(e){e.exports=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,n,t){var r=t(44239),l=t(37005);e.exports=function(e){return"symbol"==typeof e||l(e)&&"[object Symbol]"==r(e)}},7771:function(e,n,t){var r=t(55639);e.exports=function(){return r.Date.now()}},14841:function(e,n,t){var r=t(27561),l=t(13218),i=t(33448),o=0/0,u=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(l(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=l(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var t=a.test(e);return t||c.test(e)?s(e.slice(2),t?2:8):u.test(e)?o:+e}},11163:function(e,n,t){e.exports=t(96885)},92703:function(e,n,t){"use strict";var r=t(50414);function l(){}function i(){}i.resetWarningCache=l,e.exports=function(){function e(e,n,t,l,i,o){if(o!==r){var u=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:i,resetWarningCache:l};return t.PropTypes=t,t}},45697:function(e,n,t){e.exports=t(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},71471:function(e,n){"use strict";/** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var t,r=Symbol.for("react.element"),l=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),s=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function y(e){if("object"==typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case i:case u:case o:case p:case d:return e;default:switch(e=e&&e.$$typeof){case s:case c:case f:case m:case h:case a:return e;default:return n}}case l:return n}}}t=Symbol.for("react.module.reference"),n.ContextConsumer=c,n.ContextProvider=a,n.Element=r,n.ForwardRef=f,n.Fragment=i,n.Lazy=m,n.Memo=h,n.Portal=l,n.Profiler=u,n.StrictMode=o,n.Suspense=p,n.SuspenseList=d,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return y(e)===c},n.isContextProvider=function(e){return y(e)===a},n.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return y(e)===f},n.isFragment=function(e){return y(e)===i},n.isLazy=function(e){return y(e)===m},n.isMemo=function(e){return y(e)===h},n.isPortal=function(e){return y(e)===l},n.isProfiler=function(e){return y(e)===u},n.isStrictMode=function(e){return y(e)===o},n.isSuspense=function(e){return y(e)===p},n.isSuspenseList=function(e){return y(e)===d},n.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===u||e===o||e===p||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===c||e.$$typeof===f||e.$$typeof===t||void 0!==e.getModuleId)},n.typeOf=y},82143:function(e,n,t){"use strict";e.exports=t(71471)},61365:function(e,n,t){var r=t(18139);function l(e,n){var t,l,i,o=null;if(!e||"string"!=typeof e)return o;for(var u=r(e),a="function"==typeof n,c=0,s=u.length;ce.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1);return l<0?"":e.slice(r,l)}if(n===e)return"";let o=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(l=i):(u=-1,l=o));return r===l?l=o:l<0&&(l=e.length),e.slice(r,l)},dirname:function(e){let n;if(d(e),0===e.length)return".";let t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){let n;d(e);let t=e.length,r=-1,l=0,i=-1,o=0;for(;t--;){let u=e.charCodeAt(t);if(47===u){if(n){l=t+1;break}continue}r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==o&&(o=1):i>-1&&(o=-1)}return i<0||r<0||0===o||1===o&&i===r-1&&i===l+1?"":e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if((r=l.lastIndexOf("/"))!==l.length-1){r<0?(l="",i=0):i=(l=l.slice(0,r)).length-1-l.lastIndexOf("/"),o=a,u=0;continue}}else if(l.length>0){l="",i=0,o=a,u=0;continue}}n&&(l=l.length>0?l+"/..":"..",i=2)}else l.length>0?l+="/"+e.slice(o+1,a):l=e.slice(o+1,a),i=a-o-1;o=a,u=0}else 46===t&&u>-1?u++:u=-1}return l}(e,!n);return 0!==t.length||n||(t="."),t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/"),n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}let g=["history","path","basename","stem","extname","dirname"];class y{constructor(e){let n,t;n=e?"string"==typeof e||o(e)?{value:e}:m(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=h.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++rn.length;o&&n.push(r);try{i=e.apply(this,n)}catch(e){if(o&&t)throw e;return r(e)}o||(i instanceof Promise?i.then(l,r):i instanceof Error?r(i):l(i))};function r(e,...l){t||(t=!0,n(e,...l))}function l(e){r(null,e)}})(u,l)(...o):r(null,...o)}(null,...n)},use:function(t){if("function"!=typeof t)throw TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}(),r=[],l={},i=-1;return u.data=function(e,t){return"string"==typeof e?2==arguments.length?(P("data",n),l[e]=t,u):E.call(l,e)&&l[e]||null:e?(P("data",n),l=e,u):l},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(n)return u;for(;++i{if(!e&&n&&t){let r=u.stringify(n,t);null==r||("string"==typeof r||o(r)?t.value=r:t.result=r),i(e,t)}else i(e)})}t(null,n)},u.processSync=function(e){let n;u.freeze(),F("processSync",u.Parser),T("processSync",u.Compiler);let t=I(e);return u.process(t,function(e){n=!0,b(e)}),D("processSync","process",n),t},u;function u(){let n=e(),t=-1;for(;++ti?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)(l=Array.from(r)).unshift(n,t),[].splice.apply(e,l);else for(t&&[].splice.apply(e,[n,t]);o0?(N(e,e.length,0,n),e):n}let R={}.hasOwnProperty,_=X(/[A-Za-z]/),B=X(/\d/),H=X(/[\dA-Fa-f]/),U=X(/[\dA-Za-z]/),V=X(/[!-/:-@[-`{-~]/),q=X(/[#-'*+\--9=?A-Z^-~]/);function Z(e){return null!==e&&(e<32||127===e)}function $(e){return null!==e&&(e<0||32===e)}function W(e){return null!==e&&e<-2}function Q(e){return -2===e||-1===e||32===e}let Y=X(/\s/),K=X(/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/);function X(e){return function(n){return null!==n&&e.test(String.fromCharCode(n))}}function J(e,n,t,r){let l=r?r-1:Number.POSITIVE_INFINITY,i=0;return function(r){return Q(r)?(e.enter(t),function r(o){return Q(o)&&i++r))return;let u=l.events.length,a=u;for(;a--;)if("exit"===l.events[a][0]&&"chunkFlow"===l.events[a][1].type){if(e){t=l.events[a][1].end;break}e=!0}for(g(o),i=u;in;){let n=i[t];l.containerState=n[1],n[0].exit.call(l,e)}i.length=n}function y(){n.write([null]),t=void 0,n=void 0,l.containerState._closeFlow=void 0}}},en={tokenize:function(e,n,t){return J(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},et={tokenize:function(e,n,t){return J(e,function(e){return null===e||W(e)?n(e):t(e)},"linePrefix")},partial:!0};function er(e){let n,t,r,l,i,o,u;let a={},c=-1;for(;++c=4?n(l):e.interrupt(r.parser.constructs.flow,t,n)(l)}},partial:!0},eo={tokenize:function(e){let n=this,t=e.attempt(et,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t},e.attempt(this.parser.constructs.flowInitial,r,J(e,e.attempt(this.parser.constructs.flow,r,e.attempt(el,r)),"linePrefix")));return t;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t}}},eu={resolveAll:ef()},ea=es("string"),ec=es("text");function es(e){return{tokenize:function(n){let t=this,r=this.parser.constructs[e],l=n.attempt(r,i,o);return i;function i(e){return a(e)?l(e):o(e)}function o(e){if(null===e){n.consume(e);return}return n.enter("data"),n.consume(e),u}function u(e){return a(e)?(n.exit("data"),l(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;let n=r[e],l=-1;if(n)for(;++lc?t(l):(e.consume(l),h):41===l?s--?(e.consume(l),h):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):null===l||$(l)?s?t(l):(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),n(l)):Z(l)?t(l):(e.consume(l),92===l?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function ev(e,n,t,r,l,i){let o;let u=this,a=0;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),e.enter(i),c};function c(f){return null===f||91===f||93===f&&!o||94===f&&!a&&"_hiddenFootnoteSupport"in u.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(l),e.consume(f),e.exit(l),e.exit(r),n):W(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),s(f))}function s(n){return null===n||91===n||93===n||W(n)||a++>999?(e.exit("chunkString"),c(n)):(e.consume(n),o=o||!Q(n),92===n?f:s)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,s):s(n)}}function eb(e,n,t,r,l,i){let o;return function(n){return e.enter(r),e.enter(l),e.consume(n),e.exit(l),o=40===n?41:n,u};function u(t){return t===o?(e.enter(l),e.consume(t),e.exit(l),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===o?(e.exit(i),u(o)):null===n?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),J(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(n))}function c(n){return n===o||null===n||W(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?s:c)}function s(n){return n===o||92===n?(e.consume(n),c):c(n)}}function eS(e,n){let t;return function r(l){return W(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t=!0,r):Q(l)?J(e,r,t?"linePrefix":"lineSuffix")(l):n(l)}}function ew(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let eC={tokenize:function(e,n,t){return function(n){return $(n)?eS(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?eb(e,J(e,l,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function l(e){return null===e||W(e)?n(e):t(e)}},partial:!0},eE={name:"codeIndented",tokenize:function(e,n,t){let r=this;return function(n){return e.enter("codeIndented"),J(e,l,"linePrefix",5)(n)};function l(n){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?function n(t){return null===t?i(t):W(t)?e.attempt(eA,n,i)(t):(e.enter("codeFlowValue"),function t(r){return null===r||W(r)?(e.exit("codeFlowValue"),n(r)):(e.consume(r),t)}(t))}(n):t(n)}function i(t){return e.exit("codeIndented"),n(t)}}},eA={tokenize:function(e,n,t){let r=this;return l;function l(n){return r.parser.lazy[r.now().line]?t(n):W(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),l):J(e,i,"linePrefix",5)(n)}function i(e){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):W(e)?l(e):t(e)}},partial:!0},eF={name:"setextUnderline",tokenize:function(e,n,t){let r;let l=this,i=l.events.length;for(;i--;)if("lineEnding"!==l.events[i][1].type&&"linePrefix"!==l.events[i][1].type&&"content"!==l.events[i][1].type){r="paragraph"===l.events[i][1].type;break}return function(n){return!l.parser.lazy[l.now().line]&&(l.interrupt||r)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),function t(r){return r===n?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),J(e,o,"lineSuffix")(r))}(n)):t(n)};function o(r){return null===r||W(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,l,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),l||"definition"!==e[i][1].type||(l=i);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",o,n]),e.splice(l+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[l][1].end)):e[t][1]=o,e.push(["exit",o,n]),e}},eT=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],eP=["pre","script","style","textarea"],eO={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(et,n,t)}},partial:!0},eD={name:"codeFenced",tokenize:function(e,n,t){let r;let l=this,i={tokenize:function(e,n,t){let l=0;return J(e,function(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function n(o){return o===r?(e.consume(o),l++,n):l1&&e[s][1].end.offset-e[s][1].start.offset>1?2:1;let f=Object.assign({},e[t][1].end),p=Object.assign({},e[s][1].start);eq(f,-u),eq(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[s][1].start),end:p},l={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[s][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[t][1].end=Object.assign({},i.start),e[s][1].start=Object.assign({},o.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=j(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=j(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",l,n]]),a=j(a,ed(n.parser.constructs.insideSpan.null,e.slice(t+1,s),n)),a=j(a,[["exit",l,n],["enter",o,n],["exit",o,n],["exit",r,n]]),e[s][1].end.offset-e[s][1].start.offset?(c=2,a=j(a,[["enter",e[s][1],n],["exit",e[s][1],n]])):c=0,N(e,t-1,s-t+3,a),s=t+a.length-c-2;break}}for(s=-1;++si&&"whitespace"===e[l][1].type&&(l-=2),"atxHeadingSequence"===e[l][1].type&&(i===l-1||l-4>i&&"whitespace"===e[l-2][1].type)&&(l-=i+1===l?2:4),l>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[l][1].end},r={type:"chunkText",start:e[i][1].start,end:e[l][1].end,contentType:"text"},N(e,i,l-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},42:eh,45:[eF,eh],60:{name:"htmlFlow",tokenize:function(e,n,t){let r,l,i,o,u;let a=this;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(o){return 33===o?(e.consume(o),s):47===o?(e.consume(o),d):63===o?(e.consume(o),r=3,a.interrupt?n:D):_(o)?(e.consume(o),i=String.fromCharCode(o),l=!0,h):t(o)}function s(l){return 45===l?(e.consume(l),r=2,f):91===l?(e.consume(l),r=5,i="CDATA[",o=0,p):_(l)?(e.consume(l),r=4,a.interrupt?n:D):t(l)}function f(r){return 45===r?(e.consume(r),a.interrupt?n:D):t(r)}function p(r){return r===i.charCodeAt(o++)?(e.consume(r),o===i.length?a.interrupt?n:C:p):t(r)}function d(n){return _(n)?(e.consume(n),i=String.fromCharCode(n),h):t(n)}function h(o){return null===o||47===o||62===o||$(o)?47!==o&&l&&eP.includes(i.toLowerCase())?(r=1,a.interrupt?n(o):C(o)):eT.includes(i.toLowerCase())?(r=6,47===o)?(e.consume(o),m):a.interrupt?n(o):C(o):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(o):l?g(o):function n(t){return Q(t)?(e.consume(t),n):S(t)}(o)):45===o||U(o)?(e.consume(o),i+=String.fromCharCode(o),h):t(o)}function m(r){return 62===r?(e.consume(r),a.interrupt?n:C):t(r)}function g(n){return 47===n?(e.consume(n),S):58===n||95===n||_(n)?(e.consume(n),y):Q(n)?(e.consume(n),g):S(n)}function y(n){return 45===n||46===n||58===n||95===n||U(n)?(e.consume(n),y):x(n)}function x(n){return 61===n?(e.consume(n),k):Q(n)?(e.consume(n),x):g(n)}function k(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),u=n,v):Q(n)?(e.consume(n),k):(u=null,function n(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||$(t)?x(t):(e.consume(t),n)}(n))}function v(n){return null===n||W(n)?t(n):n===u?(e.consume(n),b):(e.consume(n),v)}function b(e){return 47===e||62===e||Q(e)?g(e):t(e)}function S(n){return 62===n?(e.consume(n),w):t(n)}function w(n){return Q(n)?(e.consume(n),w):null===n||W(n)?C(n):t(n)}function C(n){return 45===n&&2===r?(e.consume(n),F):60===n&&1===r?(e.consume(n),T):62===n&&4===r?(e.consume(n),I):63===n&&3===r?(e.consume(n),D):93===n&&5===r?(e.consume(n),O):W(n)&&(6===r||7===r)?e.check(eO,I,E)(n):null===n||W(n)?E(n):(e.consume(n),C)}function E(n){return e.exit("htmlFlowData"),function n(t){return null===t?L(t):W(t)?e.attempt({tokenize:A,partial:!0},n,L)(t):(e.enter("htmlFlowData"),C(t))}(n)}function A(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r};function r(e){return a.parser.lazy[a.now().line]?t(e):n(e)}}function F(n){return 45===n?(e.consume(n),D):C(n)}function T(n){return 47===n?(e.consume(n),i="",P):C(n)}function P(n){return 62===n&&eP.includes(i.toLowerCase())?(e.consume(n),I):_(n)&&i.length<8?(e.consume(n),i+=String.fromCharCode(n),P):C(n)}function O(n){return 93===n?(e.consume(n),D):C(n)}function D(n){return 62===n?(e.consume(n),I):45===n&&2===r?(e.consume(n),D):C(n)}function I(n){return null===n||W(n)?(e.exit("htmlFlowData"),L(n)):(e.consume(n),I)}function L(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},61:eF,95:eh,96:eD,126:eD},eK={38:eM,92:ez},eX={[-5]:eN,[-4]:eN,[-3]:eN,33:eH,38:eM,42:eV,60:[{name:"autolink",tokenize:function(e,n,t){let r=1;return function(n){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(n){return _(n)?(e.consume(n),i):q(n)?u(n):t(n)}function i(n){return 43===n||45===n||46===n||U(n)?function n(t){return 58===t?(e.consume(t),o):(43===t||45===t||46===t||U(t))&&r++<32?(e.consume(t),n):u(t)}(n):u(n)}function o(n){return 62===n?(e.exit("autolinkProtocol"),c(n)):null===n||32===n||60===n||Z(n)?t(n):(e.consume(n),o)}function u(n){return 64===n?(e.consume(n),r=0,a):q(n)?(e.consume(n),u):t(n)}function a(n){return U(n)?function n(l){return 46===l?(e.consume(l),r=0,a):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",c(l)):function l(i){return(45===i||U(i))&&r++<63?(e.consume(i),45===i?l:n):t(i)}(l)}(n):t(n)}function c(t){return e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.exit("autolink"),n}}},{name:"htmlText",tokenize:function(e,n,t){let r,l,i,o;let u=this;return function(n){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(n),a};function a(n){return 33===n?(e.consume(n),c):47===n?(e.consume(n),S):63===n?(e.consume(n),v):_(n)?(e.consume(n),C):t(n)}function c(n){return 45===n?(e.consume(n),s):91===n?(e.consume(n),l="CDATA[",i=0,m):_(n)?(e.consume(n),k):t(n)}function s(n){return 45===n?(e.consume(n),f):t(n)}function f(n){return null===n||62===n?t(n):45===n?(e.consume(n),p):d(n)}function p(e){return null===e||62===e?t(e):d(e)}function d(n){return null===n?t(n):45===n?(e.consume(n),h):W(n)?(o=d,D(n)):(e.consume(n),d)}function h(n){return 45===n?(e.consume(n),L):d(n)}function m(n){return n===l.charCodeAt(i++)?(e.consume(n),i===l.length?g:m):t(n)}function g(n){return null===n?t(n):93===n?(e.consume(n),y):W(n)?(o=g,D(n)):(e.consume(n),g)}function y(n){return 93===n?(e.consume(n),x):g(n)}function x(n){return 62===n?L(n):93===n?(e.consume(n),x):g(n)}function k(n){return null===n||62===n?L(n):W(n)?(o=k,D(n)):(e.consume(n),k)}function v(n){return null===n?t(n):63===n?(e.consume(n),b):W(n)?(o=v,D(n)):(e.consume(n),v)}function b(e){return 62===e?L(e):v(e)}function S(n){return _(n)?(e.consume(n),w):t(n)}function w(n){return 45===n||U(n)?(e.consume(n),w):function n(t){return W(t)?(o=n,D(t)):Q(t)?(e.consume(t),n):L(t)}(n)}function C(n){return 45===n||U(n)?(e.consume(n),C):47===n||62===n||$(n)?E(n):t(n)}function E(n){return 47===n?(e.consume(n),L):58===n||95===n||_(n)?(e.consume(n),A):W(n)?(o=E,D(n)):Q(n)?(e.consume(n),E):L(n)}function A(n){return 45===n||46===n||58===n||95===n||U(n)?(e.consume(n),A):function n(t){return 61===t?(e.consume(t),F):W(t)?(o=n,D(t)):Q(t)?(e.consume(t),n):E(t)}(n)}function F(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),r=n,T):W(n)?(o=F,D(n)):Q(n)?(e.consume(n),F):(e.consume(n),r=void 0,O)}function T(n){return n===r?(e.consume(n),P):null===n?t(n):W(n)?(o=T,D(n)):(e.consume(n),T)}function P(e){return 62===e||47===e||$(e)?E(e):t(e)}function O(n){return null===n||34===n||39===n||60===n||61===n||96===n?t(n):62===n||$(n)?E(n):(e.consume(n),O)}function D(n){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),J(e,I,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(n){return e.enter("htmlTextData"),o(n)}function L(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),n):t(r)}}}],91:eZ,92:[{name:"hardBreakEscape",tokenize:function(e,n,t){return function(n){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(n),r};function r(r){return W(r)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(r)):t(r)}}},ez],93:ej,95:eV,96:{name:"codeText",tokenize:function(e,n,t){let r,l,i=0;return function(n){return e.enter("codeText"),e.enter("codeTextSequence"),function n(t){return 96===t?(e.consume(t),i++,n):(e.exit("codeTextSequence"),o(t))}(n)};function o(a){return null===a?t(a):96===a?(l=e.enter("codeTextSequence"),r=0,function t(o){return 96===o?(e.consume(o),r++,t):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(o)):(l.type="codeTextData",u(o))}(a)):32===a?(e.enter("space"),e.consume(a),e.exit("space"),o):W(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):(e.enter("codeTextData"),u(a))}function u(n){return null===n||32===n||96===n||W(n)?(e.exit("codeTextData"),o(n)):(e.consume(n),u)}},resolve:function(e){let n,t,r=e.length-4,l=3;if(("lineEnding"===e[3][1].type||"space"===e[l][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(n=l;++n13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(65535&t)==65535||(65535&t)==65534||t>1114111?"�":String.fromCharCode(t)}let e4=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function e3(e,n,t){if(n)return n;let r=t.charCodeAt(0);if(35===r){let e=t.charCodeAt(1),n=120===e||88===e;return e2(t.slice(n?2:1),n?16:10)}return eL(t)||e}let e6={}.hasOwnProperty,e5=function(e,n,t){let l,i,o,a;return"string"!=typeof n&&(t=n,n=void 0),(function(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(v),autolinkProtocol:p,autolinkEmail:p,atxHeading:i(y),blockQuote:i(function(){return{type:"blockquote",children:[]}}),characterEscape:p,characterReference:p,codeFenced:i(g),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(g,o),codeText:i(function(){return{type:"inlineCode",value:""}},o),codeTextData:p,data:p,codeFlowValue:p,definition:i(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:i(x),hardBreakTrailing:i(x),htmlFlow:i(k,o),htmlFlowData:p,htmlText:i(k,o),htmlTextData:p,image:i(function(){return{type:"image",title:null,url:"",alt:null}}),label:o,link:i(v),listItem:i(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){if(t.expectingFirstListItemValue){let n=this.stack[this.stack.length-2];n.start=Number.parseInt(this.sliceSerialize(e),10),t.expectingFirstListItemValue=void 0}},listOrdered:i(b,function(){t.expectingFirstListItemValue=!0}),listUnordered:i(b),paragraph:i(function(){return{type:"paragraph",children:[]}}),reference:function(){t.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(y),strong:i(function(){return{type:"strong",children:[]}}),thematicBreak:i(function(){return{type:"thematicBreak"}})},exit:{atxHeading:c(),atxHeadingSequence:function(e){let n=this.stack[this.stack.length-1];if(!n.depth){let t=this.sliceSerialize(e).length;n.depth=t}},autolink:c(),autolinkEmail:function(e){d.call(this,e);let n=this.stack[this.stack.length-1];n.url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e);let n=this.stack[this.stack.length-1];n.url=this.sliceSerialize(e)},blockQuote:c(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:m,characterReferenceMarkerNumeric:m,characterReferenceValue:function(e){let n;let r=this.sliceSerialize(e),l=t.characterReferenceType;if(l)n=e2(r,"characterReferenceMarkerNumeric"===l?10:16),t.characterReferenceType=void 0;else{let e=eL(r);n=e}let i=this.stack.pop();i.value+=n,i.position.end=e9(e.end)},codeFenced:c(function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),t.flowCodeInside=void 0}),codeFencedFence:function(){!t.flowCodeInside&&(this.buffer(),t.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.lang=e},codeFencedFenceMeta:function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.meta=e},codeFlowValue:d,codeIndented:c(function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:c(function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.value=e}),codeTextData:d,data:d,definition:c(),definitionDestinationString:function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.url=e},definitionLabelString:function(e){let n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=ew(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.title=e},emphasis:c(),hardBreakEscape:c(h),hardBreakTrailing:c(h),htmlFlow:c(function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.value=e}),htmlFlowData:d,htmlText:c(function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.value=e}),htmlTextData:d,image:c(function(){let e=this.stack[this.stack.length-1];if(t.inReference){let n=t.referenceType||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;t.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],n=this.resume(),r=this.stack[this.stack.length-1];if(t.inReference=!0,"link"===r.type){let n=e.children;r.children=n}else r.alt=n},labelText:function(e){let n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=n.replace(e4,e3),t.identifier=ew(n).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(t.atHardBreak){let n=r.children[r.children.length-1];n.position.end=e9(e.end),t.atHardBreak=void 0;return}!t.setextHeadingSlurpLineEnding&&n.canContainEols.includes(r.type)&&(p.call(this,e),d.call(this,e))},link:c(function(){let e=this.stack[this.stack.length-1];if(t.inReference){let n=t.referenceType||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;t.referenceType=void 0}),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:function(e){let n=this.resume(),r=this.stack[this.stack.length-1];r.label=n,r.identifier=ew(this.sliceSerialize(e)).toLowerCase(),t.referenceType="full"},resourceDestinationString:function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.url=e},resourceTitleString:function(){let e=this.resume(),n=this.stack[this.stack.length-1];n.title=e},resource:function(){t.inReference=void 0},setextHeading:c(function(){t.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){let n=this.stack[this.stack.length-1];n.depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){t.setextHeadingSlurpLineEnding=!0},strong:c(),thematicBreak:c()}};!function e(n,t){let r=-1;for(;++r0){let e=i.tokenStack[i.tokenStack.length-1],n=e[1]||e7;n.call(i,void 0,e[0])}for(t.position={start:e9(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:e9(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c-1&&(t[0]=t[0].slice(l)),o>0&&t.push(e[i].slice(0,o))),t}(o,e)}function p(){return Object.assign({},r)}function d(e,n){n.restore()}function h(e,n){return function(t,l,i){let o,s,f,d;return Array.isArray(t)?h(t):"tokenize"in t?h([t]):function(e){let n=null!==e&&t[e],r=null!==e&&t.null,l=[...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]];return h(l)(e)};function h(e){return(o=e,s=0,0===e.length)?i:m(e[s])}function m(e){return function(t){return(d=function(){let e=p(),n=c.previous,t=c.currentConstruct,l=c.events.length,i=Array.from(u);return{restore:function(){r=e,c.previous=n,c.currentConstruct=t,c.events.length=l,u=i,g()},from:l}}(),f=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?x(t):e.tokenize.call(n?Object.assign(Object.create(c),n):c,a,y,x)(t)}}function y(n){return e(f,d),l}function x(e){return(d.restore(),++s{let t=this.data("settings");return e5(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))};Object.assign(this,{Parser:n})}function ne(e){let n=[],t=-1,r=0,l=0;for(;++t55295&&i<57344){let n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(o=String.fromCharCode(i,n),l=1):o="�"}else o=String.fromCharCode(i);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+l+1,o=""),l&&(t+=l,l=0)}return n.join("")+e.slice(r)}let nn=function(e){if(null==e)return nr;if("string"==typeof e)return nt(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})}return s;function s(){var c;let s,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(c=t(o,a))?c:"number"==typeof c?[!0,c]:[c])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f-1?t.offset:null}}}let nc={}.hasOwnProperty;function ns(e){return String(e||"").toUpperCase()}function nf(e,n){let t;let r=String(n.identifier).toUpperCase(),l=ne(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);-1===i?(e.footnoteOrder.push(r),e.footnoteCounts[r]=1,t=e.footnoteOrder.length):(e.footnoteCounts[r]++,t=i+1);let o=e.footnoteCounts[r],u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+l,id:e.clobberPrefix+"fnref-"+l+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(t)}]};e.patch(n,u);let a={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,a),e.applyData(n,a)}function np(e,n){let t=n.referenceType,r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return{type:"text",value:"!["+n.alt+r};let l=e.all(n),i=l[0];i&&"text"===i.type?i.value="["+i.value:l.unshift({type:"text",value:"["});let o=l[l.length-1];return o&&"text"===o.type?o.value+=r:l.push({type:"text",value:r}),l}function nd(e){let n=e.spread;return null==n?e.children.length>1:n}function nh(e,n,t){let r=0,l=e.length;if(n){let n=e.codePointAt(r);for(;9===n||32===n;)r++,n=e.codePointAt(r)}if(t){let n=e.codePointAt(l-1);for(;9===n||32===n;)l--,n=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}let nm={blockquote:function(e,n){let t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)},break:function(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:"\n"}]},code:function(e,n){let t=n.value?n.value+"\n":"",r=n.lang?n.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,l={};r&&(l.className=["language-"+r]);let i={type:"element",tagName:"code",properties:l,children:[{type:"text",value:t}]};return n.meta&&(i.data={meta:n.meta}),e.patch(n,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(n,i)]},e.patch(n,i),i},delete:function(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},emphasis:function(e,n){let t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},footnoteReference:nf,footnote:function(e,n){let t=e.footnoteById,r=1;for(;(r in t);)r++;let l=String(r);return t[l]={type:"footnoteDefinition",identifier:l,children:[{type:"paragraph",children:n.children}],position:n.position},nf(e,{type:"footnoteReference",identifier:l,position:n.position})},heading:function(e,n){let t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},html:function(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null},imageReference:function(e,n){let t=e.definition(n.identifier);if(!t)return np(e,n);let r={src:ne(t.url||""),alt:n.alt};null!==t.title&&void 0!==t.title&&(r.title=t.title);let l={type:"element",tagName:"img",properties:r,children:[]};return e.patch(n,l),e.applyData(n,l)},image:function(e,n){let t={src:ne(n.url)};null!==n.alt&&void 0!==n.alt&&(t.alt=n.alt),null!==n.title&&void 0!==n.title&&(t.title=n.title);let r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)},inlineCode:function(e,n){let t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);let r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)},linkReference:function(e,n){let t=e.definition(n.identifier);if(!t)return np(e,n);let r={href:ne(t.url||"")};null!==t.title&&void 0!==t.title&&(r.title=t.title);let l={type:"element",tagName:"a",properties:r,children:e.all(n)};return e.patch(n,l),e.applyData(n,l)},link:function(e,n){let t={href:ne(n.url)};null!==n.title&&void 0!==n.title&&(t.title=n.title);let r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)},listItem:function(e,n,t){let r=e.all(n),l=t?function(e){let n=!1;if("list"===e.type){n=e.spread||!1;let t=e.children,r=-1;for(;!n&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let u=-1;for(;++u0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},i=no(n.children[1]),o=nu(n.children[n.children.length-1]);i.line&&o.line&&(r.position={start:i,end:o}),l.push(r)}let i={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(n,i),e.applyData(n,i)},tableCell:function(e,n){let t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)},tableRow:function(e,n,t){let r=t?t.children:void 0,l=r?r.indexOf(n):1,i=0===l?"th":"td",o=t&&"table"===t.type?t.align:void 0,u=o?o.length:n.children.length,a=-1,c=[];for(;++a0,!0),r[0]),l=r.index+r[0].length,r=t.exec(n);return i.push(nh(n.slice(l),l>0,!1)),i.join("")}(String(n.value))};return e.patch(n,t),e.applyData(n,t)},thematicBreak:function(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)},toml:ng,yaml:ng,definition:ng,footnoteDefinition:ng};function ng(){return null}let ny={}.hasOwnProperty;function nx(e,n){e.position&&(n.position={start:no(e),end:nu(e)})}function nk(e,n){let t=n;if(e&&e.data){let n=e.data.hName,r=e.data.hChildren,l=e.data.hProperties;"string"==typeof n&&("element"===t.type?t.tagName=n:t={type:"element",tagName:n,properties:{},children:[]}),"element"===t.type&&l&&(t.properties={...t.properties,...l}),"children"in t&&t.children&&null!=r&&(t.children=r)}return t}function nv(e,n,t){let r=n&&n.type;if(!r)throw Error("Expected node, got `"+n+"`");return ny.call(e.handlers,r)?e.handlers[r](e,n,t):e.passThrough&&e.passThrough.includes(r)?"children"in n?{...n,children:nb(e,n)}:n:e.unknownHandler?e.unknownHandler(e,n,t):function(e,n){let t=n.data||{},r="value"in n&&!(ny.call(t,"hProperties")||ny.call(t,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:nb(e,n)};return e.patch(n,r),e.applyData(n,r)}(e,n)}function nb(e,n){let t=[];if("children"in n){let r=n.children,l=-1;for(;++l0&&t.push({type:"text",value:"\n"}),t}function nw(e,n){let t=function(e,n){let t=n||{},r=t.allowDangerousHtml||!1,l={};return o.dangerous=r,o.clobberPrefix=void 0===t.clobberPrefix||null===t.clobberPrefix?"user-content-":t.clobberPrefix,o.footnoteLabel=t.footnoteLabel||"Footnotes",o.footnoteLabelTagName=t.footnoteLabelTagName||"h2",o.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=t.footnoteBackLabel||"Back to content",o.unknownHandler=t.unknownHandler,o.passThrough=t.passThrough,o.handlers={...nm,...t.handlers},o.definition=function(e){let n=Object.create(null);if(!e||!e.type)throw Error("mdast-util-definitions expected node");return ni(e,"definition",e=>{let t=ns(e.identifier);t&&!nc.call(n,t)&&(n[t]=e)}),function(e){let t=ns(e);return t&&nc.call(n,t)?n[t]:null}}(e),o.footnoteById=l,o.footnoteOrder=[],o.footnoteCounts={},o.patch=nx,o.applyData=nk,o.one=function(e,n){return nv(o,e,n)},o.all=function(e){return nb(o,e)},o.wrap=nS,o.augment=i,ni(e,"footnoteDefinition",e=>{let n=String(e.identifier).toUpperCase();ny.call(l,n)||(l[n]=e)}),o;function i(e,n){if(e&&"data"in e&&e.data){let t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){let t="type"in e?e:{position:e};!t||!t.position||!t.position.start||!t.position.start.line||!t.position.start.column||!t.position.end||!t.position.end.line||!t.position.end.column||(n.position={start:no(t),end:nu(t)})}return n}function o(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}(e,n),r=t.one(e,null),l=function(e){let n=[],t=-1;for(;++t1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};u>1&&n.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(n)}let c=l[l.length-1];if(c&&"element"===c.type&&"p"===c.tagName){let e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...a)}else l.push(...a);let s={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+o},children:e.wrap(l,!0)};e.patch(r,s),n.push(s)}if(0!==n.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(n,!0)},{type:"text",value:"\n"}]}}(t);return l&&r.children.push({type:"text",value:"\n"},l),Array.isArray(r)?{type:"root",children:r}:r}var nC=function(e,n){var t;return e&&"run"in e?(t,r,l)=>{e.run(nw(t,n),r,e=>{l(e)})}:(t=e||n,e=>nw(e,t))},nE=t(45697);class nA{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function nF(e,n){let t={},r={},l=-1;for(;++l"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),nq=nU({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function nZ(e,n){return n in e?e[n]:n}function n$(e,n){return nZ(e,n.toLowerCase())}let nW=nU({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n$,properties:{xmlns:null,xmlnsXLink:null}}),nQ=nU({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:nI,ariaAutoComplete:null,ariaBusy:nI,ariaChecked:nI,ariaColCount:nM,ariaColIndex:nM,ariaColSpan:nM,ariaControls:nz,ariaCurrent:null,ariaDescribedBy:nz,ariaDetails:null,ariaDisabled:nI,ariaDropEffect:nz,ariaErrorMessage:null,ariaExpanded:nI,ariaFlowTo:nz,ariaGrabbed:nI,ariaHasPopup:null,ariaHidden:nI,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:nz,ariaLevel:nM,ariaLive:null,ariaModal:nI,ariaMultiLine:nI,ariaMultiSelectable:nI,ariaOrientation:null,ariaOwns:nz,ariaPlaceholder:null,ariaPosInSet:nM,ariaPressed:nI,ariaReadOnly:nI,ariaRelevant:null,ariaRequired:nI,ariaRoleDescription:nz,ariaRowCount:nM,ariaRowIndex:nM,ariaRowSpan:nM,ariaSelected:nI,ariaSetSize:nM,ariaSort:null,ariaValueMax:nM,ariaValueMin:nM,ariaValueNow:nM,ariaValueText:null,role:null}}),nY=nU({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:n$,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nN,acceptCharset:nz,accessKey:nz,action:null,allow:null,allowFullScreen:nD,allowPaymentRequest:nD,allowUserMedia:nD,alt:null,as:null,async:nD,autoCapitalize:null,autoComplete:nz,autoFocus:nD,autoPlay:nD,capture:nD,charSet:null,checked:nD,cite:null,className:nz,cols:nM,colSpan:null,content:null,contentEditable:nI,controls:nD,controlsList:nz,coords:nM|nN,crossOrigin:null,data:null,dateTime:null,decoding:null,default:nD,defer:nD,dir:null,dirName:null,disabled:nD,download:nL,draggable:nI,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:nD,formTarget:null,headers:nz,height:nM,hidden:nD,high:nM,href:null,hrefLang:null,htmlFor:nz,httpEquiv:nz,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:nD,itemId:null,itemProp:nz,itemRef:nz,itemScope:nD,itemType:nz,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:nD,low:nM,manifest:null,max:null,maxLength:nM,media:null,method:null,min:null,minLength:nM,multiple:nD,muted:nD,name:null,nonce:null,noModule:nD,noValidate:nD,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:nD,optimum:nM,pattern:null,ping:nz,placeholder:null,playsInline:nD,poster:null,preload:null,readOnly:nD,referrerPolicy:null,rel:nz,required:nD,reversed:nD,rows:nM,rowSpan:nM,sandbox:nz,scope:null,scoped:nD,seamless:nD,selected:nD,shape:null,size:nM,sizes:null,slot:null,span:nM,spellCheck:nI,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nM,step:null,style:null,tabIndex:nM,target:null,title:null,translate:null,type:null,typeMustMatch:nD,useMap:null,value:nI,width:nM,wrap:null,align:null,aLink:null,archive:nz,axis:null,background:null,bgColor:null,border:nM,borderColor:null,bottomMargin:nM,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:nD,declare:nD,event:null,face:null,frame:null,frameBorder:null,hSpace:nM,leftMargin:nM,link:null,longDesc:null,lowSrc:null,marginHeight:nM,marginWidth:nM,noResize:nD,noHref:nD,noShade:nD,noWrap:nD,object:null,profile:null,prompt:null,rev:null,rightMargin:nM,rules:null,scheme:null,scrolling:nI,standby:null,summary:null,text:null,topMargin:nM,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nM,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:nD,disableRemotePlayback:nD,prefix:null,property:null,results:nM,security:null,unselectable:null}}),nK=nU({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:nZ,properties:{about:nj,accentHeight:nM,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nM,amplitude:nM,arabicForm:null,ascent:nM,attributeName:null,attributeType:null,azimuth:nM,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nM,by:null,calcMode:null,capHeight:nM,className:nz,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nM,diffuseConstant:nM,direction:null,display:null,dur:null,divisor:nM,dominantBaseline:null,download:nD,dx:null,dy:null,edgeMode:null,editable:null,elevation:nM,enableBackground:null,end:null,event:null,exponent:nM,externalResourcesRequired:null,fill:null,fillOpacity:nM,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:nN,g2:nN,glyphName:nN,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nM,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nM,horizOriginX:nM,horizOriginY:nM,id:null,ideographic:nM,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nM,k:nM,k1:nM,k2:nM,k3:nM,k4:nM,kernelMatrix:nj,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nM,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nM,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nM,overlineThickness:nM,paintOrder:null,panose1:null,path:null,pathLength:nM,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:nz,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nM,pointsAtY:nM,pointsAtZ:nM,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:nj,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:nj,rev:nj,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:nj,requiredFeatures:nj,requiredFonts:nj,requiredFormats:nj,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nM,specularExponent:nM,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nM,strikethroughThickness:nM,string:null,stroke:null,strokeDashArray:nj,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nM,strokeOpacity:nM,strokeWidth:null,style:null,surfaceScale:nM,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:nj,tabIndex:nM,tableValues:null,target:null,targetX:nM,targetY:nM,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:nj,to:null,transform:null,u1:null,u2:null,underlinePosition:nM,underlineThickness:nM,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nM,values:null,vAlphabetic:nM,vMathematical:nM,vectorEffect:null,vHanging:nM,vIdeographic:nM,version:null,vertAdvY:nM,vertOriginX:nM,vertOriginY:nM,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nM,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),nX=nF([nq,nV,nW,nQ,nY],"html"),nJ=nF([nq,nV,nW,nQ,nK],"svg"),nG=function(e){if(null==e)return n0;if("string"==typeof e)return n1(function(n){return n&&n.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let n=[],t=-1;for(;++t":"")+")"})}return s;function s(){var c;let s,f,p,d=[];if((!n||l(o,u,a[a.length-1]||null))&&!1===(d=Array.isArray(c=t(o,a))?c:"number"==typeof c?[!0,c]:[c])[0])return d;if(o.children&&"skip"!==d[0])for(f=(r?o.children.length:-1)+i,p=a.concat(o);f>-1&&f{n4(n,"element",(n,t,r)=>{let l;if(e.allowedElements?l=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(n.tagName)),!l&&e.allowElement&&"number"==typeof t&&(l=!e.allowElement(n,t,r)),l&&"number"==typeof t)return e.unwrapDisallowed&&n.children?r.children.splice(t,1,...n.children):r.children.splice(t,1),t})}}var n6=t(82143);let n5=/^data[-\w.:]+$/i,n9=/-[a-z]/g,n7=/[A-Z]/g;function n8(e){return"-"+e.toLowerCase()}function te(e){return e.charAt(1).toUpperCase()}let tn={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var tt=t(61365);let tr=["http","https","mailto","tel"];function tl(e){let n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;let r=n.indexOf(":");if(-1===r)return n;let l=-1;for(;++ll||-1!==(l=n.indexOf("#"))&&r>l?n:"javascript:void(0)"}let ti={}.hasOwnProperty,to=new Set(["table","thead","tbody","tfoot","tr"]);function tu(e,n){let t=-1,r=0;for(;++t for more info)`),delete ts[n]}let n=C().use(e8).use(e.remarkPlugins||[]).use(nC,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(n3,e),t=new y;"string"==typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=n.runSync(n.parse(t),t);if("root"!==r.type)throw TypeError("Expected a `root` node");let l=i.createElement(i.Fragment,{},function e(n,t){let r;let l=[],o=-1;for(;++o4&&"data"===t.slice(0,4)&&n5.test(n)){if("-"===n.charAt(4)){let e=n.slice(5).replace(n9,te);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=n.slice(4);if(!n9.test(e)){let t=e.replace(n7,n8);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}l=nB}return new l(r,n)}(r.schema,n),i=t;null!=i&&i==i&&(Array.isArray(i)&&(i=l.commaSeparated?function(e,n){let t={},r=""===e[e.length-1]?[...e,""]:e;return r.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===l.property&&"string"==typeof i&&(i=function(e){let n={};try{tt(e,function(e,t){let r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,ta)]=t})}catch{}return n}(i)),l.space&&l.property?e[ti.call(tn,l.property)?tn[l.property]:l.property]=i:l.attribute&&(e[l.attribute]=i))}(f,o,t.properties[o],n);("ol"===s||"ul"===s)&&n.listDepth++;let d=e(n,t);("ol"===s||"ul"===s)&&n.listDepth--,n.schema=c;let h=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=u.components&&ti.call(u.components,s)?u.components[s]:s,g="string"==typeof m||m===i.Fragment;if(!n6.isValidElementType(m))throw TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(f.key=r,"a"===s&&u.linkTarget&&(f.target="function"==typeof u.linkTarget?u.linkTarget(String(f.href||""),t.children,"string"==typeof f.title?f.title:null):u.linkTarget),"a"===s&&a&&(f.href=a(String(f.href||""),t.children,"string"==typeof f.title?f.title:null)),g||"code"!==s||"element"!==l.type||"pre"===l.tagName||(f.inline=!0),g||"h1"!==s&&"h2"!==s&&"h3"!==s&&"h4"!==s&&"h5"!==s&&"h6"!==s||(f.level=Number.parseInt(s.charAt(1),10)),"img"===s&&u.transformImageUri&&(f.src=u.transformImageUri(String(f.src||""),String(f.alt||""),"string"==typeof f.title?f.title:null)),!g&&"li"===s&&"element"===l.type){let e=function(e){let n=-1;for(;++n0?i.createElement(m,f,d):i.createElement(m,f)}(n,r,o,t)):"text"===r.type?"element"===t.type&&to.has(t.tagName)&&function(e){let n=e&&"object"==typeof e&&"text"===e.type?e.value||"":e;return"string"==typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}(r)||l.push(r.value):"raw"!==r.type||n.options.skipHtml||l.push(r.value);return l}({options:e,schema:nX,listDepth:0},r));return e.className&&(l=i.createElement("div",{className:e.className},l)),l}tf.propTypes={children:nE.string,className:nE.string,allowElement:nE.func,allowedElements:nE.arrayOf(nE.string),disallowedElements:nE.arrayOf(nE.string),unwrapDisallowed:nE.bool,remarkPlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),rehypePlugins:nE.arrayOf(nE.oneOfType([nE.object,nE.func,nE.arrayOf(nE.oneOfType([nE.bool,nE.string,nE.object,nE.func,nE.arrayOf(nE.any)]))])),sourcePos:nE.bool,rawSourcePos:nE.bool,skipHtml:nE.bool,includeElementIndex:nE.bool,transformLinkUri:nE.oneOfType([nE.func,nE.bool]),linkTarget:nE.oneOfType([nE.func,nE.string]),transformImageUri:nE.func,components:nE.object}}}]);