@topwrite/reader 1.0.88-alpha.0 → 1.0.88-alpha.1
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/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -444,5 +444,5 @@ _r=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.
|
|
|
444
444
|
* LICENSE file in the root directory of this source tree.
|
|
445
445
|
*/var n=r(87363),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)a.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},35250:(e,t,r)=>{"use strict";e.exports=r(82875)},54426:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attach:()=>i,detach:()=>a,getConfig:()=>f,shouldRetryRequest:()=>l});var n=r(87233),o=r.n(n);function i(e){return(e=e||o()).interceptors.response.use(s,c)}function a(e,t){(t=t||o()).interceptors.response.eject(e)}function s(e){return e}function u(e){var t=[];if(e)return Array.isArray(e)?e:("object"==typeof e&&Object.keys(e).forEach((function(r){"number"==typeof r&&(t[r]=e[r])})),t)}function c(e){if(o().isCancel(e))return Promise.reject(e);var t=f(e)||{};if(t.currentRetryAttempt=t.currentRetryAttempt||0,t.retry="number"==typeof t.retry?t.retry:3,t.retryDelay="number"==typeof t.retryDelay?t.retryDelay:100,t.instance=t.instance||o(),t.backoffType=t.backoffType||"exponential",t.httpMethodsToRetry=u(t.httpMethodsToRetry)||["GET","HEAD","PUT","OPTIONS","DELETE"],t.noResponseRetries="number"==typeof t.noResponseRetries?t.noResponseRetries:2,t.checkRetryAfter="boolean"!=typeof t.checkRetryAfter||t.checkRetryAfter,t.maxRetryAfter="number"==typeof t.maxRetryAfter?t.maxRetryAfter:3e5,t.statusCodesToRetry=u(t.statusCodesToRetry)||[[100,199],[429,429],[500,599]],e.config=e.config||{},e.config.raxConfig=Object.assign({},t),!(t.shouldRetry||l)(e))return Promise.reject(e);var r=new Promise((function(r,n){var o=0;if(t.checkRetryAfter&&e.response&&e.response.headers["retry-after"]){var i=function(e){var t=Number(e);if(!Number.isNaN(t))return 1e3*t;var r=Date.parse(e);return Number.isNaN(r)?void 0:r-Date.now()}(e.response.headers["retry-after"]);if(!(i&&i>0&&i<=t.maxRetryAfter))return n(e);o=i}e.config.raxConfig.currentRetryAttempt+=1;var a=e.config.raxConfig.currentRetryAttempt;0===o&&(o="linear"===t.backoffType?1e3*a:"static"===t.backoffType?t.retryDelay:(Math.pow(2,a)-1)/2*1e3,"number"==typeof t.maxRetryDelay&&(o=Math.min(o,t.maxRetryDelay))),setTimeout(r,o)})),n=t.onRetryAttempt?Promise.resolve(t.onRetryAttempt(e)):Promise.resolve();return Promise.resolve().then((function(){return r})).then((function(){return n})).then((function(){return t.instance.request(e.config)}))}function l(e){var t=e.config.raxConfig;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){for(var r=!1,n=0,o=t.statusCodesToRetry;n<o.length;n+=1){var i=o[n],a=e.response.status;if(a>=i[0]&&a<=i[1]){r=!0;break}}if(!r)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function f(e){if(e&&e.config)return e.config.raxConfig}},35218:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<i.length;u++){var c=i[u];if(!s(c))return!1;var l=e[c],f=t[c];if(!1===(o=r?r.call(n,l,f,c):void 0)||void 0===o&&l!==f)return!1}return!0}},5458:(e,t,r)=>{"use strict";var n=r(89161),o=Array.prototype.concat,i=Array.prototype.slice,a=e.exports=function(e){for(var t=[],r=0,a=e.length;r<a;r++){var s=e[r];n(s)?t=o.call(t,i.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},68882:e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},43602:e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},85648:function(e,t){
|
|
446
446
|
/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
|
|
447
|
-
!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,o=1;o<n;++o)t[o]=t[o].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),a=r(r("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+r("%[89A-Fa-f]"+i+"%"+i+i)+"|"+r("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,o,"[\\+\\-\\.]")+"*"),p=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),h=(r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("[1-9]"+o)+"|"+o),r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("0?[1-9]"+o)+"|0?0?"+o)),d=r(h+"\\."+h+"\\."+h+"\\."+h),m=r(i+"{1,4}"),v=r(r(m+"\\:"+m)+"|"+d),g=r(r(m+"\\:")+"{6}"+v),y=r("\\:\\:"+r(m+"\\:")+"{5}"+v),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+v),w=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+v),E=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+v),D=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+v),x=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+v),F=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),S=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),A=r([g,y,b,w,E,D,x,F,S].join("|")),k=r(r(l+"|"+a)+"+"),C=(r(A+"\\%25"+k),r(A+r("\\%25|\\%(?!"+i+"{2})")+k)),P=r("[vV]"+i+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+A+"|"+P)+"\\]"),j=r(r(a+"|"+t(l,s))+"*"),T=r(O+"|"+d+"(?!"+j+")|"+j),_=r(o+"*"),R=r(r(p+"@")+"?"+T+r("\\:"+_)+"?"),B=r(a+"|"+t(l,s,"[\\:\\@]")),I=r(B+"*"),L=r(B+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),N=r(r("\\/"+I)+"*"),$=r("\\/"+r(L+N)+"?"),H=r(M+N),z=r(L+N),U="(?!"+B+")",q=(r(N+"|"+$+"|"+H+"|"+z+"|"+U),r(r(B+"|"+t("[\\/\\?]",c))+"*")),V=r(r(B+"|[\\/\\?]")+"*"),W=r(r("\\/\\/"+R+N)+"|"+$+"|"+z+"|"+U),G=r(f+"\\:"+W+r("\\?"+q)+"?"+r("\\#"+V)+"?"),Z=r(r("\\/\\/"+R+N)+"|"+$+"|"+H+"|"+U),K=r(Z+r("\\?"+q)+"?"+r("\\#"+V)+"?");return r(G+"|"+K),r(f+"\\:"+W+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+p+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+U+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+H+"|"+U+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+U+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+p+")@"),r("\\:("+_+")"),{NOT_SCHEME:new RegExp(t("[^]",n,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+A+")"+r(r("\\%25|\\%(?!"+i+"{2})")+"("+k+")")+"?\\]?$")}}var u=s(!1),c=s(!0),l=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},p=2147483647,h=36,d=1,m=26,v=38,g=700,y=72,b=128,w="-",E=/^xn--/,D=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=h-d,A=Math.floor,k=String.fromCharCode;function C(e){throw new RangeError(F[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(x,".")).split("."),t).join(".")}function j(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}var T=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},R=function(e,t,r){var n=0;for(e=r?A(e/g):e>>1,e+=A(e/t);e>S*m>>1;n+=h)e=A(e/S);return A(n+(S+1)*e/(e+v))},B=function(e){var t=[],r=e.length,n=0,o=b,i=y,a=e.lastIndexOf(w);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=h;;f+=h){u>=r&&C("invalid-input");var v=T(e.charCodeAt(u++));(v>=h||v>A((p-n)/l))&&C("overflow"),n+=v*l;var g=f<=i?d:f>=i+m?m:f-i;if(v<g)break;var E=h-g;l>A(p/E)&&C("overflow"),l*=E}var D=t.length+1;i=R(n-c,D,0==c),A(n/D)>p-o&&C("overflow"),o+=A(n/D),n%=D,t.splice(n++,0,o)}return String.fromCodePoint.apply(String,t)},I=function(e){var t=[],r=(e=j(e)).length,n=b,o=0,i=y,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f<128&&t.push(k(f))}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}var v=t.length,g=v;for(v&&t.push(w);g<r;){var E=p,D=!0,x=!1,F=void 0;try{for(var S,P=e[Symbol.iterator]();!(D=(S=P.next()).done);D=!0){var O=S.value;O>=n&&O<E&&(E=O)}}catch(e){x=!0,F=e}finally{try{!D&&P.return&&P.return()}finally{if(x)throw F}}var T=g+1;E-n>A((p-o)/T)&&C("overflow"),o+=(E-n)*T,n=E;var B=!0,I=!1,L=void 0;try{for(var M,N=e[Symbol.iterator]();!(B=(M=N.next()).done);B=!0){var $=M.value;if($<n&&++o>p&&C("overflow"),$==n){for(var H=o,z=h;;z+=h){var U=z<=i?d:z>=i+m?m:z-i;if(H<U)break;var q=H-U,V=h-U;t.push(k(_(U+q%V,0))),H=A(q/V)}t.push(k(_(H,0))),i=R(o,T,g==v),o=0,++g}}}catch(e){I=!0,L=e}finally{try{!B&&N.return&&N.return()}finally{if(I)throw L}}++o,++n}return t.join("")},L=function(e){return O(e,(function(e){return E.test(e)?B(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return D.test(e)?"xn--"+I(e):e}))},N={version:"2.1.0",ucs2:{decode:j,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:B,encode:I,toASCII:M,toUnicode:L},$={};function H(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function z(e){for(var t="",r=0,n=e.length;r<n;){var o=parseInt(e.substr(r+1,2),16);if(o<128)t+=String.fromCharCode(o),r+=3;else if(o>=194&&o<224){if(n-r>=6){var i=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(r,6);r+=6}else if(o>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function U(e,t){function r(e){var r=z(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,H).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,H).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,H).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,H).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,H).replace(t.PCT_ENCODED,o)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function V(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(q).join("."):e}function W(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),o=n[1],i=n[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(q):[],p=u.split(":").map(q),h=t.IPV4ADDRESS.test(p[p.length-1]),d=h?7:8,m=p.length-d,v=Array(d),g=0;g<d;++g)v[g]=f[g]||p[m+g]||"";h&&(v[d-1]=V(v[d-1],t));var y=v.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var w=v.slice(0,y.index),E=v.slice(y.index+y.length);b=w.join(":")+"::"+E.join(":")}else b=v.join(":");return i&&(b+="%"+i),b}return e}var G=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Z=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(G);if(o){Z?(r.scheme=o[1],r.userinfo=o[3],r.host=o[4],r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=o[7],r.fragment=o[8],isNaN(r.port)&&(r.port=o[5])):(r.scheme=o[1]||void 0,r.userinfo=-1!==e.indexOf("@")?o[3]:void 0,r.host=-1!==e.indexOf("//")?o[4]:void 0,r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=-1!==e.indexOf("?")?o[7]:void 0,r.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),r.host&&(r.host=W(V(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var i=$[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)U(r,n);else{if(r.host&&(t.domainHost||i&&i.domainHost))try{r.host=N.toASCII(r.host.replace(n.PCT_ENCODED,z).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}U(r,u)}i&&i.parse&&i.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Q(e,t){var r=!1!==t.iri?c:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(W(V(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var Y=/^\.\.?\//,X=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Y))e=e.replace(Y,"");else if(e.match(X))e=e.replace(X,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?c:u,n=[],o=$[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?N.toUnicode(e.host):N.toASCII(e.host.replace(r.PCT_ENCODED,z).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}U(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var i=Q(e,t);if(void 0!==i&&("suffix"!==t.reference&&n.push("//"),n.push(i),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||o&&o.absolutePath||(a=te(a)),void 0===i&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function oe(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function ie(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,H)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,z)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var pe={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),o=n[0],i=n[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ve="[0-9A-Fa-f]",ge=r(r("%[EFef]"+ve+"%"+ve+ve+"%"+ve+ve)+"|"+r("%[89A-Fa-f]"+ve+"%"+ve+ve)+"|"+r("%"+ve+ve)),ye="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),we="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ee=new RegExp(me,"g"),De=new RegExp(ge,"g"),xe=new RegExp(t("[^]",ye,"[\\.]",'[\\"]',be),"g"),Fe=new RegExp(t("[^]",me,we),"g"),Se=Fe;function Ae(e){var t=z(e);return t.match(Ee)?t:e}var ke={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var o=!1,i={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,p=l.length;f<p;++f)n.push(l[f]);break;case"subject":r.subject=ue(c[1],t);break;case"body":r.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(r.headers=i)}r.query=void 0;for(var h=0,d=n.length;h<d;++h){var m=n[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=N.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[h]=m.join("@")}return r},serialize:function(e,t){var r=e,n=i(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(De,Ae).replace(De,o).replace(xe,H),f=u.slice(c+1);try{f=t.iri?N.toUnicode(f):N.toASCII(ue(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var h=[];for(var d in p)p[d]!==de[d]&&h.push(d.replace(De,Ae).replace(De,o).replace(Fe,H)+"="+p[d].replace(De,Ae).replace(De,o).replace(Se,H));return h.length&&(r.query=h.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var o=t.scheme||n.scheme||"urn",i=r[1].toLowerCase(),a=r[2],s=o+":"+(t.nid||i),u=$[s];n.nid=i,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,o=r+":"+(t.nid||n),i=$[o];i&&(e=i.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,je={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};$[ce.scheme]=ce,$[le.scheme]=le,$[pe.scheme]=pe,$[he.scheme]=he,$[ke.scheme]=ke,$[Pe.scheme]=Pe,$[je.scheme]=je,e.SCHEMES=$,e.pctEncChar=H,e.pctDecChars=z,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=oe,e.normalize=ie,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3040:(e,t,r)=>{"use strict";var n=r(74870),o=r(54783);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(54415);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var w=u.exec(b);if(w)return this.path=b,this.href=b,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=a.exec(b);if(E){var D=(E=E[0]).toLowerCase();this.protocol=D,b=b.substr(E.length)}if(r||E||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||E&&v[E]||(b=b.substr(2),this.slashes=!0)}if(!v[E]&&(x||E&&!g[E])){for(var F,S,A=-1,k=0;k<p.length;k++){-1!==(C=b.indexOf(p[k]))&&(-1===A||C<A)&&(A=C)}-1!==(S=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(F=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(F)),A=-1;for(k=0;k<f.length;k++){var C;-1!==(C=b.indexOf(f[k]))&&(-1===A||C<A)&&(A=C)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),j=(k=0,O.length);k<j;k++){var T=O[k];if(T&&!T.match(h)){for(var _="",R=0,B=T.length;R<B;R++)T.charCodeAt(R)>127?_+="x":_+=T[R];if(!_.match(h)){var I=O.slice(0,k),L=O.slice(k+1),M=T.match(d);M&&(I.push(M[1]),L.unshift(M[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var N=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+N,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[D])for(k=0,j=l.length;k<j;k++){var H=l[k];if(-1!==b.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),b=b.split(H).join(z)}}var U=b.indexOf("#");-1!==U&&(this.hash=b.substr(U),b=b.slice(0,U));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=y.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),g[D]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var V=this.search||"";this.path=N+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=y.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return g[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!g[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||v[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",y=r.search||"";r.path=m+y}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),w=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=w||b||r.host&&e.pathname,D=E,x=r.pathname&&r.pathname.split("/")||[],F=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!g[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),E=E&&(""===d[0]||""===x[0])),w)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(F)r.hostname=r.host=x.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=x.slice(-1)[0],A=(r.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,k=0,C=x.length;C>=0;C--)"."===(S=x[C])?x.splice(C,1):".."===S?(x.splice(C,1),k++):k&&(x.splice(C,1),k--);if(!E&&!D)for(;k--;k)x.unshift("..");!E||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var P,O=""===x[0]||x[0]&&"/"===x[0].charAt(0);F&&(r.hostname=r.host=O?"":x.length?x.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(E=E||r.host&&x.length)&&!O&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},54783:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},2439:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},42406:(e,t,r)=>{"use strict";var n=r(7974),o=r(50434),i=r(3615),a=r(36466);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function v(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===l(e)}function y(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function w(e){return"[object WeakSet]"===l(e)}function E(e){return"[object ArrayBuffer]"===l(e)}function D(e){return"undefined"!=typeof ArrayBuffer&&(E.working?E(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===l(e)}function F(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||F(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},g.working="undefined"!=typeof Map&&g(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),t.isArrayBuffer=D,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=F;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==S&&(void 0===A.working&&(A.working=A(new S)),A.working?A(e):e instanceof S)}function C(e){return v(e,f)}function P(e){return v(e,p)}function O(e){return v(e,h)}function j(e){return u&&v(e,d)}function T(e){return c&&v(e,m)}t.isSharedArrayBuffer=k,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=j,t.isSymbolObject=T,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||j(e)||T(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(D(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},35210:(e,t,r)=>{var n=r(44675),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<o;s=n[++r])g(s)||!D(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),o=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),v(r)?n.showHidden=r:r&&t._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),p(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=p(e,o,n)),o}var i=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(y(t))return e.stylize(""+t,"number");if(v(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,r);if(i)return i;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),F(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(F(r))return h(r)}var c,l="",f=!1,D=["{","}"];(m(r)&&(f=!0,D=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return E(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),F(r)&&(l=" "+h(r)),0!==a.length||f&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a<s;++a)P(t,String(a))?i.push(d(e,t,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(d(e,t,r,n,o,!0))})),i}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,D)):D[0]+l+D[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=g(r)?p(e,u.value,null):p(e,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),w(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return"number"==typeof e}function b(e){return"string"==typeof e}function w(e){return void 0===e}function E(e){return D(e)&&"[object RegExp]"===A(e)}function D(e){return"object"==typeof e&&null!==e}function x(e){return D(e)&&"[object Date]"===A(e)}function F(e){return D(e)&&("[object Error]"===A(e)||e instanceof Error)}function S(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.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]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(42406),t.isArray=m,t.isBoolean=v,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=E,t.types.isRegExp=E,t.isObject=D,t.isDate=x,t.types.isDate=x,t.isError=F,t.types.isNativeError=F,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(2439);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(89118),t._extend=function(e,t){if(!t||!D(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=O,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},3615:(e,t,r)=>{"use strict";var n=r(6862),o=r(14897),i=r(57372),a=r(49662),s=i("Object.prototype.toString"),u=r(3825)(),c="undefined"==typeof globalThis?r.g:globalThis,l=o(),f=i("String.prototype.slice"),p={},h=Object.getPrototypeOf;u&&a&&h&&n(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=h(t),n=a(r,Symbol.toStringTag);if(!n){var o=h(r);n=a(o,Symbol.toStringTag)}p[e]=n.get}}}));var d=r(36466);e.exports=function(e){return!!d(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return n(p,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}},87363:e=>{"use strict";e.exports=React},61533:e=>{"use strict";e.exports=ReactDOM},12611:e=>{"use strict";e.exports=_},26089:()=>{},72899:(e,t,r)=>{var n=r(63981);function o(e){var t,r;function o(t,r){try{var a=e[t](r),s=a.value,u=s instanceof n;Promise.resolve(u?s.v:s).then((function(r){if(u){var n="return"===t?"return":"next";if(!s.k||r.done)return o(n,r);r=e[n](r).value}i(a.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},63981:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},89415:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},22193:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},44220:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},529:(e,t,r)=>{var n=r(63981);e.exports=function(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new n(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},87790:e=>{function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},76985:(e,t,r)=>{var n=r(63981);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32078:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},82357:(e,t,r)=>{var n=r(11926);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},6322:(e,t,r)=>{var n=r(11926);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},12982:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},33649:(e,t,r)=>{var n=r(91337);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},10424:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24601:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},59560:e=>{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},45471:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},34889:(e,t,r)=>{var n=r(63483);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},63483:e=>{e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},74158:(e,t,r)=>{var n=r(64020).default,o=r(44220);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},88501:(e,t,r)=>{var n=r(64020).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new C(n||[]);return a(i,"_invoke",{value:F(e,r,s)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d={};function m(){}function v(){}function g(){}var y={};f(y,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(P([])));w&&w!==r&&i.call(w,u)&&(y=w);var E=g.prototype=m.prototype=Object.create(y);function D(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,a,s,u){var c=h(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function F(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return v.prototype=g,a(E,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:v,configurable:!0}),v.displayName=f(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},D(x.prototype),f(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},D(E),f(E,l,"Generator"),f(E,u,(function(){return this})),f(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},91337:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},45990:(e,t,r)=>{var n=r(22193),o=r(24601),i=r(70891),a=r(59560);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},28056:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},12147:(e,t,r)=>{var n=r(22193),o=r(10424),i=r(70891),a=r(59560);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},46217:(e,t,r)=>{var n=r(64020).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},11926:(e,t,r)=>{var n=r(64020).default,o=r(46217);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},64020:e=>{function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70891:(e,t,r)=>{var n=r(89415);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},58089:(e,t,r)=>{var n=r(72899);e.exports=function(e){return function(){return new n(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},366:(e,t,r)=>{var n=r(88501)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},14897:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof o[n[t]]&&(e[e.length]=n[t]);return e}},41470:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(72320);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},45675:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},67666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(41470);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},72320:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(24622);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},24622:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}r.d(t,{Z:()=>n})},36365:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});const n=document.createElement("i");function o(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},79243:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),o);return i(),s}function o(e,t,r){return">"+(r?"":" ")+e}r.r(t),r.d(t,{blockquote:()=>n})},81100:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>a});var n=r(53827),o=r(50819),i=r(28989);function a(e,t,r,a){const s=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(function(e,t){let r=!1;return(0,n.Vn)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,o.BK})),Boolean((!e.depth||e.depth<3)&&(0,i.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),o=r.containerPhrasing(e,{...u.current(),before:"\n",after:"\n"});return n(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const c="#".repeat(s),l=r.enter("headingAtx"),f=r.enter("phrasing");u.move(c+" ");let p=r.containerPhrasing(e,{before:"# ",after:"\n",...u.current()});return/^[\t ]/.test(p)&&(p="&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"+p.slice(1)),p=p?c+" "+p:c,r.options.closeAtx&&(p+=" "+c),f(),l(),p}},44478:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(99656);function o(e,t,r,o){const i=(0,n.l)(r),a='"'===i?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const c=r.createTracker(o);let l=c.move("![");return l+=c.move(r.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(r.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(u=r.enter("destinationRaw"),l+=c.move(r.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=r.enter(`title${a}`),l+=c.move(" "+i),l+=c.move(r.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),u()),l+=c.move(")"),s(),l}o.peek=function(){return"!"}},48486:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=r.enter("paragraph"),i=r.enter("phrasing"),a=r.containerPhrasing(e,n);return i(),o(),a}r.r(t),r.d(t,{paragraph:()=>n})},99656:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},85771:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],a=t.createTracker(r),s=[];let u=-1;for(n.push(-1);++u<i.length;){const r=i[u];n[n.length-1]=u,s.push(a.move(t.handle(r,e,t,{before:"\n",after:"\n",...a.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),u<i.length-1&&s.push(a.move(o(r,i[u+1],e,t)))}return n.pop(),s.join("")}function o(e,t,r,n){let o=n.join.length;for(;o--;){const i=n.join[o](e,t,r,n);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}r.d(t,{K:()=>n})},48736:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,o=e.children||[],i=[];let a=-1,s=r.before;n.push(-1);let u=t.createTracker(r);for(;++a<o.length;){const c=o[a];let l;if(n[n.length-1]=a,a+1<o.length){let r=t.handle.handlers[o[a+1].type];r&&r.peek&&(r=r.peek),l=r?r(o[a+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else l=r.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",u=t.createTracker(r),u.move(i.join(""))),i.push(u.move(t.handle(c,e,t,{...u.current(),before:s,after:l}))),s=i[i.length-1].slice(-1)}return n.pop(),i.join("")}r.d(t,{p:()=>n})},87717:(e,t,r)=>{"use strict";function n(e){const t=e||{},r=t.now||{};let n=t.lineShift||0,o=r.line||1,i=r.column||1;return{move:function(e){const t=e||"",r=t.split(/\r?\n|\r/g),a=r[r.length-1];return o+=r.length-1,i=1===r.length?i+a.length:1+a.length+n,t},current:function(){return{now:{line:o,column:i},lineShift:n}},shift:function(e){n+=e}}}r.d(t,{j:()=>n})},28989:(e,t,r)=>{"use strict";function n(e,t){const r=(t||{}).includeImageAlt;return o(e,"boolean"!=typeof r||r)}function o(e,t){return function(e){return Boolean(e&&"object"==typeof e)}(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&i(e.children,t))||Array.isArray(e)&&i(e,t)||""}function i(e,t){const r=[];let n=-1;for(;++n<e.length;)r[n]=o(e[n],t);return r.join("")}r.d(t,{B:()=>n})},3962:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>o.j,blankLine:()=>i.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>u.u,codeFenced:()=>c._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>p.k,definition:()=>h.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>v.P,htmlText:()=>g.L,labelEnd:()=>y.Z,labelStartImage:()=>b.C,labelStartLink:()=>w.F,lineEnding:()=>E.g,list:()=>D.p,setextUnderline:()=>x.C,thematicBreak:()=>F.C});var n=r(39362),o=r(40366),i=r(58775),a=r(79230),s=r(30670),u=r(73608),c=r(60214),l=r(44322),f=r(83126),p=r(52240),h=r(22774),d=r(2669),m=r(86053),v=r(26890),g=r(9373),y=r(3369),b=r(82287),w=r(83555),E=r(47071),D=r(44084),x=r(38029),F=r(19281)},39362:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(11707),o=r(85618),i=r(79142);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=(0,o.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,o.r)(u),f=!l||2===l&&i||r.includes(u),p=!i||2===i&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(i||!p)),c._close=Boolean(42===a?p:p&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,o,a,u,c,l,f,p,h=-1;for(;++h<e.length;)if("enter"===e[h][0]&&"attentionSequence"===e[h][1].type&&e[h][1]._close)for(r=h;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[h][1]).charCodeAt(0)){if((e[r][1]._close||e[h][1]._open)&&(e[h][1].end.offset-e[h][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[h][1].end.offset-e[h][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[h][1].end.offset-e[h][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[h][1].start);s(d,-l),s(m,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},c={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[h][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[h][1].start)},o={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[h][1].start=Object.assign({},c.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",o,t],["enter",u,t],["exit",u,t],["enter",a,t]]),f=(0,n.V)(f,(0,i.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,h),t)),f=(0,n.V)(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[h][1].end.offset-e[h][1].start.offset?(p=2,f=(0,n.V)(f,[["enter",e[h][1],t],["exit",e[h][1],t]])):p=0,(0,n.d)(e,r-1,h-r+3,f),h=r+f.length-p-2;break}h=-1;for(;++h<e.length;)"attentionSequence"===e[h][1].type&&(e[h][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},40366:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(19967);const o={name:"autolink",tokenize:function(e,t,r){let o=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?c(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):c(e)}function s(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&o++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),u)}function c(t){return 64===t?(e.consume(t),o=0,l):(0,n.asciiAtext)(t)?(e.consume(t),c):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),o=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):p(t)}function p(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&o++<63?(e.consume(t),45===t?p:f):r(t)}function h(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},58775:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(46050),o=r(19967);const i={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,o.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},79230:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(46050),o=r(19967);const i={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return(0,o.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(i,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},30670:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(19967);const o={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),o};function o(o){return(0,n.asciiPunctuation)(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(o)}}}},73608:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(36365),o=r(19967);const i={name:"characterReference",tokenize:function(e,t,r){const i=this;let a,s,u=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=o.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=o.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=o.asciiDigit,f(t))}function f(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==o.asciiAlphanumeric||(0,n.T)(i.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(c)):s(c)&&u++<a?(e.consume(c),f):r(c)}}}},60214:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(46050),o=r(19967);const i={name:"codeFenced",tokenize:function(e,t,r){const i=this,a={tokenize:function(e,t,r){let i=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),i++,s):i<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,u,"whitespace")(t))}function u(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},u=this.events[this.events.length-1],c=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,p(t)};function p(t){return t===l?(e.consume(t),f++,p):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,h,"whitespace")(t))}function h(t){return null===t||(0,o.markdownLineEnding)(t)?g(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,o.markdownLineEnding)(t)?g(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(t))}function v(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(t)):96===t&&t===l?r(t):(e.consume(t),v)}function g(r){return e.exit("codeFencedFence"),i.interrupt?t(r):y(r)}function y(t){return null===t?w(t):(0,o.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,w,c?(0,n.factorySpace)(e,y,"linePrefix",c+1):y),w)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),y(t)):(e.consume(t),b)}function w(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},44322:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(46050),o=r(19967);const i={name:"codeIndented",tokenize:function(e,t,r){const i=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=i.events[i.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?u(e):r(e)}function u(t){return null===t?l(t):(0,o.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),u(t)):(e.consume(t),c)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const i=this;return a;function a(t){return i.parser.lazy[i.now().line]?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=i.events[i.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,o.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},83126:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(19967);const o={name:"codeText",tokenize:function(e,t,r){let o,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?r(t):96===t?(i=e.enter("codeTextSequence"),o=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),c)}function l(r){return 96===r?(e.consume(r),o++,l):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",c(r))}},resolve:function(e){let t,r,n=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=o;++t<n;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[n][1].type="codeTextPadding",o+=2,n-=2;break}t=o-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},52240:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(46050),o=r(19967),i=r(35197);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):(0,o.markdownLineEnding)(t)?e.check(s,a,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,i._)(e),e}},s={tokenize:function(e,t,r){const i=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,o.markdownLineEnding)(n))return r(n);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(i.parser.constructs.flow,r,t)(n)}},partial:!0}},22774:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(20447),o=r(42874),i=r(46050),a=r(67784),s=r(48948),u=r(37618),c=r(19967);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),o.factoryLabel.call(a,e,p,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return l=(0,u.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,i.factorySpace)(e,h,"whitespace"),(0,i.factorySpace)(e,h,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function h(n){return null===n||(0,c.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,c.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,i.factorySpace)(e,o,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function o(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},2669:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(19967);const o={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),o};function o(o){return(0,n.markdownLineEnding)(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):r(o)}}}},86053:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(46050),o=r(19967),i=r(11707);const a={name:"headingAtx",tokenize:function(e,t,r){const i=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,o.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),i.interrupt?t(n):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,o.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,o.markdownSpace)(r)?(0,n.factorySpace)(e,u,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function c(t){return 35===t?(e.consume(t),c):(e.exit("atxHeadingSequence"),u(t))}function l(t){return null===t||35===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,o=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);o-2>a&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4);o>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},n={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},(0,i.d)(e,a,o-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},26890:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(19967);const o=["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"],i=["pre","script","style","textarea"];var a=r(58775);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,l,f,p;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),h};function h(o){return 33===o?(e.consume(o),d):47===o?(e.consume(o),g):63===o?(e.consume(o),s=3,a.interrupt?t:M):(0,n.asciiAlpha)(o)?(e.consume(o),l=String.fromCharCode(o),c=!0,y):r(o)}function d(o){return 45===o?(e.consume(o),s=2,m):91===o?(e.consume(o),s=5,l="CDATA[",f=0,v):(0,n.asciiAlpha)(o)?(e.consume(o),s=4,a.interrupt?t:M):r(o)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:M):r(n)}function v(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:v):r(n)}function g(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),y):r(t)}function y(u){return null===u||47===u||62===u||(0,n.markdownLineEndingOrSpace)(u)?47!==u&&c&&i.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):o.includes(l.toLowerCase())?(s=6,47===u?(e.consume(u),b):a.interrupt?t(u):O(u)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(u):c?E(u):w(u)):45===u||(0,n.asciiAlphanumeric)(u)?(e.consume(u),l+=String.fromCharCode(u),y):r(u)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function w(t){return(0,n.markdownSpace)(t)?(e.consume(t),w):C(t)}function E(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),D):(0,n.markdownSpace)(t)?(e.consume(t),E):C(t)}function D(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),D):x(t)}function x(t){return 61===t?(e.consume(t),F):(0,n.markdownSpace)(t)?(e.consume(t),x):E(t)}function F(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),p=t,S):(0,n.markdownSpace)(t)?(e.consume(t),F):(p=null,A(t))}function S(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===p?(e.consume(t),k):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?x(t):(e.consume(t),A)}function k(e){return 47===e||62===e||(0,n.markdownSpace)(e)?E(e):r(e)}function C(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),R):60===t&&1===s?(e.consume(t),B):62===t&&4===s?(e.consume(t),N):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),L):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?j(t):(e.consume(t),O):e.check(u,N,j)(t)}function j(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?$(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},T,$)(t):(e.enter("htmlFlowData"),O(t))}function _(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function R(t){return 45===t?(e.consume(t),M):O(t)}function B(t){return 47===t?(e.consume(t),l="",I):O(t)}function I(t){return 62===t&&i.includes(l.toLowerCase())?(e.consume(t),N):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),I):O(t)}function L(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),N):45===t&&2===s?(e.consume(t),M):O(t)}function N(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),N)}function $(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},u={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},9373:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(46050),o=r(19967);const i={name:"htmlText",tokenize:function(e,t,r){const i=this;let a,s,u,c;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),F):63===t?(e.consume(t),D):(0,o.asciiAlpha)(t)?(e.consume(t),k):r(t)}function f(t){return 45===t?(e.consume(t),p):91===t?(e.consume(t),s="CDATA[",u=0,g):(0,o.asciiAlpha)(t)?(e.consume(t),E):r(t)}function p(t){return 45===t?(e.consume(t),h):r(t)}function h(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),v):(0,o.markdownLineEnding)(t)?(c=m,B(t)):(e.consume(t),m)}function v(t){return 45===t?(e.consume(t),L):m(t)}function g(t){return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?y:g):r(t)}function y(t){return null===t?r(t):93===t?(e.consume(t),b):(0,o.markdownLineEnding)(t)?(c=y,B(t)):(e.consume(t),y)}function b(t){return 93===t?(e.consume(t),w):y(t)}function w(t){return 62===t?L(t):93===t?(e.consume(t),w):y(t)}function E(t){return null===t||62===t?L(t):(0,o.markdownLineEnding)(t)?(c=E,B(t)):(e.consume(t),E)}function D(t){return null===t?r(t):63===t?(e.consume(t),x):(0,o.markdownLineEnding)(t)?(c=D,B(t)):(e.consume(t),D)}function x(e){return 62===e?L(e):D(e)}function F(t){return(0,o.asciiAlpha)(t)?(e.consume(t),S):r(t)}function S(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),S):A(t)}function A(t){return(0,o.markdownLineEnding)(t)?(c=A,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),A):L(t)}function k(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),k):47===t||62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),L):58===t||95===t||(0,o.asciiAlpha)(t)?(e.consume(t),P):(0,o.markdownLineEnding)(t)?(c=C,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),C):L(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),j):(0,o.markdownLineEnding)(t)?(c=O,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),O):C(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,T):(0,o.markdownLineEnding)(t)?(c=j,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),j):(e.consume(t),a=void 0,R)}function T(t){return t===a?(e.consume(t),_):null===t?r(t):(0,o.markdownLineEnding)(t)?(c=T,B(t)):(e.consume(t),T)}function _(e){return 62===e||47===e||(0,o.markdownLineEndingOrSpace)(e)?C(e):r(e)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),R)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(t){return e.enter("htmlTextData"),c(t)}function L(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},3369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(20447),o=r(42874),i=r(67784),a=r(48948),s=r(19967),u=r(11707),c=r(37618),l=r(79142);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let o,i,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){o=n.events[a][1];break}return function(t){if(!o)return r(t);return o._inactive?u(t):(i=n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize({start:o.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(p,t,i?t:u)(r):91===r?e.attempt(h,t,i?e.attempt(d,t,u):u)(r):i?t(r):u(r)}function u(e){return o._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,o,i,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(o=a);const c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[o][1].end)},p={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",c,t],["enter",f,t]],i=(0,u.V)(i,e.slice(n+1,n+s+3)),i=(0,u.V)(i,[["enter",p,t]]),i=(0,u.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,u.V)(i,[["exit",p,t],e[o-2],e[o-1],["exit",f,t]]),i=(0,u.V)(i,e.slice(o+1)),i=(0,u.V)(i,[["exit",c,t]]),(0,u.d)(e,n,e.length,i),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},p={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,o)};function o(t){return 41===t?l(t):(0,n.factoryDestination)(e,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function u(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,c)(t):l(t)}function c(t){return 34===t||39===t||40===t?(0,i.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},h={tokenize:function(e,t,r){const n=this;return function(t){return o.factoryLabel.call(n,e,i,r,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},82287:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):r(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},83555:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},47071:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(46050);const o={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},44084:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(46050),o=r(19967),i=r(58775),a=r(19281);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let c=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:(0,o.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,p)(t):p(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,o.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),p(t)):r(t)}function p(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(i.w,n.interrupt?r:h,e.attempt(u,m,d))}function h(e){return n.containerState.initialBlankLine=!0,c++,m(e)}function d(t){return(0,o.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=c+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(i.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,o.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(o){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},u={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return!(0,o.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===o.containerState.size?t(e):r(e)}),"listItemIndent",o.containerState.size+1)},partial:!0}},38029:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"setextUnderline",tokenize:function(e,t,r){const i=this;let a,s,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){s="paragraph"===i.events[u][1].type;break}return function(t){if(!i.parser.lazy[i.now().line]&&(i.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,c(t);return r(t)};function c(t){return t===a?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){r=i;break}"paragraph"===e[i][1].type&&(n=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",o?(e.splice(n,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},19281:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"thematicBreak",tokenize:function(e,t,r){let i,a=0;return function(t){return e.enter("thematicBreak"),i=t,s(t)};function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):(0,o.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,o.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===i?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},20447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>o});var n=r(19967);function o(e,t,r,o,i,a,s,u,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(o),e.enter(i),e.enter(a),e.consume(t),e.exit(a),p;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(o),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(t)};function p(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(o),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),h(r))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(u),p(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:h)}function d(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(i){return 40===i?++f>l?r(i):(e.consume(i),m):41===i?f--?(e.consume(i),m):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):null===i||(0,n.markdownLineEndingOrSpace)(i)?f?r(i):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):(0,n.asciiControl)(i)?r(i):(e.consume(i),92===i?v:m)}function v(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},42874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>o});var n=r(19967);function o(e,t,r,o,i,a){const s=this;let u,c=0;return function(t){return e.enter(o),e.enter(i),e.consume(t),e.exit(i),e.enter(a),l};function l(p){return null===p||91===p||93===p&&!u||94===p&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?r(p):93===p?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(o),t):(0,n.markdownLineEnding)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},46050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>o});var n=r(19967);function o(e,t,r,o){const i=o?o-1:Number.POSITIVE_INFINITY;let a=0;return function(o){if((0,n.markdownSpace)(o))return e.enter(r),s(o);return t(o)};function s(o){return(0,n.markdownSpace)(o)&&a++<i?(e.consume(o),s):(e.exit(r),t(o))}}},67784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>i});var n=r(46050),o=r(19967);function i(e,t,r,i,a,s){let u;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),u=40===t?41:t,c};function c(r){return r===u?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):null===t?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===u||null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:f)}function p(t){return t===u||92===t?(e.consume(t),f):f(t)}}},48948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>i});var n=r(46050),o=r(19967);function i(e,t){let r;return function i(a){if((0,o.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,i;if((0,o.markdownSpace)(a))return(0,n.factorySpace)(e,i,r?"linePrefix":"lineSuffix")(a);return t(a)}}},19967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,asciiDigit:()=>o,asciiHexDigit:()=>i,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>p,unicodePunctuation:()=>d,unicodeWhitespace:()=>h});const n=m(/[A-Za-z]/),o=m(/\d/),i=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),u=m(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function p(e){return-2===e||-1===e||32===e}const h=m(/\s/),d=m(/[!-/:-@[-`{-~\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 m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},11707:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,r=r>0?r:0,n.length<1e4)i=Array.from(n),i.unshift(t,r),[].splice.apply(e,i);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)i=n.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function o(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{V:()=>o,d:()=>n})},85618:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(19967);function o(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},89063:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(11707);const o={}.hasOwnProperty;function i(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(o.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let a;for(a in i){o.call(n,a)||(n[a]=[]);const e=i[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const o=[];for(;++r<t.length;)("after"===t[r].add?e:o).push(t[r]);(0,n.d)(e,0,0,o)}},92791:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},12006:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(36365),o=r(92791);const i=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(i,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,o.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},37618:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},79142:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}r.d(t,{C:()=>n})},35197:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(11707);function o(e){const t={};let r,o,a,s,u,c,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(c=r[1]._tokenizer.events,a=0,a<c.length&&"lineEndingBlank"===c[a][1].type&&(a+=2),a<c.length&&"content"===c[a][1].type))for(;++a<c.length&&"content"!==c[a][1].type;)"chunkText"===c[a][1].type&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,i(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,o=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(o&&(e[o][1].type="lineEndingBlank"),s[1].type="lineEnding",o=a);o&&(r[1].end=Object.assign({},e[o][1].start),u=e.slice(o,f),u.unshift(r),(0,n.d)(e,o,f-o+1,u))}}return!l}function i(e,t){const r=e[t][1],o=e[t][2];let i=t-1;const a=[],s=r._tokenizer||o.parser[r.contentType](r.start),u=s.events,c=[],l={};let f,p,h=-1,d=r,m=0,v=0;const g=[v];for(;d;){for(;e[++i][1]!==d;);a.push(i),d._tokenizer||(f=o.sliceStream(d),d.next||f.push(null),p&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=r;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(v=h+1,g.push(v),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),h=g.length;h--;){const t=u.slice(g[h],g[h+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(h=-1;++h<c.length;)l[m+c[h][0]]=m+c[h][1],m+=c[h][1]-c[h][0]-1;return l}},55975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},8449:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},15472:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},59463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(53827);const o=/[\t ]*(?:\r?\n|\r)/g;function i(){return e=>{(0,n.Vn)(e,"text",((e,t,r)=>{const n=[];let i=0;o.lastIndex=0;let a=o.exec(e.value);for(;a;){const t=a.index;i!==t&&n.push({type:"text",value:e.value.slice(i,t)}),n.push({type:"break"}),i=t+a[0].length,a=o.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return i<e.value.length&&n.push({type:"text",value:e.value.slice(i)}),r.children.splice(t,1,...n),t+n.length}))}}},63038:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>i});var n=r(53827),o=r(55975);function i(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[o.codes.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==o.codes.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==o.codes.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),i)}function i(n){return[o.codes.carriageReturn,o.codes.lineFeed,o.codes.carriageReturnLineFeed,null,o.codes.backslash,o.codes.leftCurlyBrace].includes(n)?r(n):n===o.codes.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),i)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.Vn)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.Vn)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},47759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Y});var n=r(46050),o=r(19967),i=r(48948);function a(e,t,r,a,s,u,c,l,f,p,h,d,m,v,g){let y,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),w};function w(t){return 35===t?(y=c,E(t)):46===t?(y=l,E(t)):58===t||95===t||(0,o.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),F):g&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,w,"whitespace")(t):!g&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,w)(t):T(t)}function E(t){return e.enter(u),e.enter(y),e.enter(y+"Marker"),e.consume(t),e.exit(y+"Marker"),D}function D(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?r(t):(e.enter(y+"Value"),e.consume(t),x)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(y+"Value"),e.exit(y),e.exit(u),w(t)):(e.consume(t),x)}function F(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),F):(e.exit(f),g&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,S,"whitespace")(t):!g&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,S)(t):S(t))}function S(t){return 61===t?(e.enter(p),e.consume(t),e.exit(p),A):(e.exit(u),w(t))}function A(t){return null===t||60===t||61===t||62===t||96===t||125===t||g&&(0,o.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(h),e.enter(m),e.consume(t),e.exit(m),b=t,C):g&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!g&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,A)(t):(e.enter(d),e.enter(v),e.consume(t),b=void 0,k)}function k(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(v),e.exit(d),e.exit(u),w(t)):(e.consume(t),k)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(h),e.exit(u),j):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(t)):null===t?r(t):(0,o.markdownLineEnding)(t)?g?r(t):(0,i.factoryWhitespace)(e,P)(t):(e.enter(v),e.consume(t),O)}function O(t){return t===b||null===t||(0,o.markdownLineEnding)(t)?(e.exit(v),P(t)):(e.consume(t),O)}function j(e){return 125===e||(0,o.markdownLineEndingOrSpace)(e)?w(e):T(e)}function T(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,i,a,s){let u,c=0,l=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),f};function f(r){return 93===r?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),p(r))}function p(t){if(93===t&&!l)return m(t);const r=e.enter("chunkText",{contentType:"text",previous:u});return u&&(u.next=r),u=r,h(t)}function h(t){return null===t||c>999||91===t&&++l>32?r(t):93!==t||l--?(0,o.markdownLineEnding)(t)?s?r(t):(e.consume(t),e.exit("chunkText"),p):(e.consume(t),92===t?d:h):(e.exit("chunkText"),m(t))}function d(t){return 91===t||92===t||93===t?(e.consume(t),c++,h):h(t)}function m(r){return e.exit(a),e.enter(i),e.consume(r),e.exit(i),e.exit(n),t}}function u(e,t,r,n){const i=this;return function(t){if((0,o.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,o.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===i.previous||95===i.previous?r(s):t(s))}}const c={tokenize:function(e,t,r){const i=this,a=i.events[i.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let c,h=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),h++,d):h<3?r(t):(e.exit("directiveContainerSequence"),u.call(i,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,v,v)(t):v(t)}function v(t){return 123===t?e.attempt(f,g,g)(t):g(t)}function g(t){return(0,n.factorySpace)(e,y,"whitespace")(t)}function y(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,o.markdownLineEnding)(n)?i.interrupt?t(n):e.attempt(p,w,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function w(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),E(r))}function E(t){return null===t?A(t):e.attempt({tokenize:k,partial:!0},A,s?(0,n.factorySpace)(e,D,"linePrefix",s+1):D)(t)}function D(t){if(null===t)return A(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,x(t)}function x(t){if(null===t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}return(0,o.markdownLineEnding)(t)?e.check(p,F,S)(t):(e.consume(t),x)}function F(t){e.consume(t);const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,E}function S(t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}function A(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function k(e,t,r){let i=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),i++,a):i<h?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},p={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const h={tokenize:function(e,t,r){const i=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),u.call(i,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,c,c)(t):c(t)}function c(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const v={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),u.call(n,e,o,r,"directiveTextName")};function o(t){return 58===t?r(t):91===t?e.attempt(g,i,i)(t):i(t)}function i(t){return 123===t?e.attempt(y,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},g={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},y={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],w={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function E(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function D(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function x(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||E(e)}var F=r(36365);const S=String.fromCharCode,A=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function k(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let o,i,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,l=(o?o.line:0)||1,f=(o?o.column:0)||1,p=d();for(a--;++a<=e.length;)if(10===c&&(f=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){const o=e.charCodeAt(a+1);if(9===o||10===o||12===o||32===o||38===o||60===o||Number.isNaN(o)||r&&o===r){u+=S(c),f++;continue}const i=a+1;let s,l=i,g=i;if(35===o){g=++l;const t=e.charCodeAt(g);88===t||120===t?(s="hexadecimal",g=++l):s="decimal"}else s="named";let y="",A="",k="";const P="named"===s?x:"decimal"===s?E:D;for(g--;++g<=e.length;){const t=e.charCodeAt(g);if(!P(t))break;k+=S(t),"named"===s&&b.includes(k)&&(y=k,A=(0,F.T)(k))}let O=59===e.charCodeAt(g);if(O){g++;const e="named"===s&&(0,F.T)(k);e&&(y=k,A=e)}let j=1+g-i,T="";if(O||!1!==t.nonTerminated)if(k)if("named"===s){if(O&&!A)m(5,1);else if(y!==k&&(g=l+y.length,j=1+g-l,O=!1),!O){const r=y?1:3;if(t.attribute){const t=e.charCodeAt(g);61===t?(m(r,j),A=""):x(t)?A="":m(r,j)}else m(r,j)}T=A}else{O||m(2,j);let e=Number.parseInt(k,"hexadecimal"===s?16:10);if((h=e)>=55296&&h<=57343||h>1114111)m(7,j),T=S(65533);else if(e in w)m(6,j),T=w[e];else{let t="";C(e)&&m(6,j),e>65535&&(e-=65536,t+=S(e>>>10|55296),e=56320|1023&e),T=t+S(e)}}else"named"!==s&&m(4,j);else;if(T){v(),p=d(),a=g-1,f+=g-i+1,n.push(T);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,T,{start:p,end:r},e.slice(i-1,g)),p=r}else k=e.slice(i-1,g),u+=k,f+=k.length,a=g-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?v():(u+=S(c),f++);var h;return n.join("");function d(){return{line:l,column:f,offset:a+((o?o.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,A[e],n,e))}function v(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:p,end:d()}),u="")}}function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var j=r(50819),T=r(85771),_=r(48736),R=r(99656),B=r(87717);const I={}.hasOwnProperty,L=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){$.call(this,"containerDirective",e)},directiveContainerAttributes:z,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){$.call(this,"leafDirective",e)},directiveLeafAttributes:z,directiveText:function(e){$.call(this,"textDirective",e)},directiveTextAttributes:z},exit:{directiveContainer:Z,directiveContainerAttributeClassValue:q,directiveContainerAttributeIdValue:U,directiveContainerAttributeName:W,directiveContainerAttributeValue:V,directiveContainerAttributes:G,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:H,directiveLeaf:Z,directiveLeafAttributeClassValue:q,directiveLeafAttributeIdValue:U,directiveLeafAttributeName:W,directiveLeafAttributeValue:V,directiveLeafAttributes:G,directiveLeafName:H,directiveText:Z,directiveTextAttributeClassValue:q,directiveTextAttributeIdValue:U,directiveTextAttributeName:W,directiveTextAttributeValue:V,directiveTextAttributes:G,directiveTextName:H}},N={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function $(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function H(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function z(){this.setData("directiveAttributes",[]),this.buffer()}function U(e){this.getData("directiveAttributes").push(["id",k(this.sliceSerialize(e),{attribute:!0})])}function q(e){this.getData("directiveAttributes").push(["class",k(this.sliceSerialize(e),{attribute:!0})])}function V(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=k(this.sliceSerialize(e),{attribute:!0})}function W(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function G(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Z(e){this.exit(e)}function K(e,t,r,n){const o=(0,B.j)(n),i=function(e){let t=0;"containerDirective"===e.type?((0,j.S4)(e,(function(e,r){if("containerDirective"===e.type){let e=r.length,n=0;for(;e--;)"containerDirective"===r[e].type&&n++;n>t&&(t=n)}})),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t)}(e),a=r.enter(e.type);let s,u=o.move(i+(e.name||""));if("containerDirective"===e.type){const t=(e.children||[])[0];s=Q(t)?t:void 0}else s=e;if(s&&s.children&&s.children.length>0){const t=r.enter("label"),n=`${e.type}Label`,i=r.enter(n);u+=o.move("["),u+=o.move((0,_.p)(s,r,{...o.current(),before:u,after:"]"})),u+=o.move("]"),i(),t()}if(u+=o.move(function(e,t){const r=(0,R.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],o=e.attributes||{},i=[];let a,s,u,c;for(c in o)if(I.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)u=L.test(e)?"#"+e:l("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let o=-1;for(;++o<t.length;)(L.test(t[o])?n:r).push(t[o]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else i.push(l(c,e))}a&&i.unshift(a);s&&i.unshift(s);u&&i.unshift(u);return i.length>0?"{"+i.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r)),"containerDirective"===e.type){let t=e;Q((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(u+=o.move("\n"),u+=o.move((0,T.K)(t,r,o.current()))),u+=o.move("\n"+i)}return a(),u}function Q(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function Y(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:v},flow:{58:[c,h]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",N)}},42363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(19967),o=r(98544);const i=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?o(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,u={yaml:"-",toml:"+"};function c(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(u,t))throw i("Missing matter definition for `%s`",t);t={type:t,marker:u[t]}}else if("object"!=typeof t)throw i("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw i("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw i("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,o=t+"Value",i=t+"Fence",a=i+"Sequence",s={tokenize:function(e,t,r){let o=0;return function(t){if(t===u.charCodeAt(o))return e.enter(i),e.enter(a),s(t);return r(t)};function s(t){return o===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(o++)?(e.consume(t),s):r(t)}function c(t){return(0,n.markdownSpace)(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function l(o){return null===o||(0,n.markdownLineEnding)(o)?(e.exit(i),t(o)):r(o)}},partial:!0};let u;return{tokenize:function(i,a,c){const l=this;return function(n){const o=l.now();if(1!==o.column||!r&&1!==o.line)return c(n);return i.enter(t),u=p(e,"open"),i.attempt(s,f,c)(n)};function f(t){return u=p(e,"close"),m(t)}function h(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(i.enter(o),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(i.exit(o),m(e)):(i.consume(e),d)}function m(e){return null===e?c(e):(i.enter("lineEnding"),i.consume(e),i.exit("lineEnding"),i.attempt(s,v,h))}function v(e){return i.exit(t),a(e)}},concrete:!0}}function p(e,t){return e.marker?h(e.marker,t).repeat(3):h(e.fence,t)}function h(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function v(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function g(e){const t=y(e,"open"),r=y(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function y(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function w(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=c(e),r={};let n=-1;for(;++n<t.length;){const e=t[n],o=p(e,"open").charCodeAt(0);o in r?r[o].push(f(e)):r[o]=[f(e)]}return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(e),r={},n={};let o=-1;for(;++o<t.length;){const e=t[o];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=v}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=c(e);let o=-1;for(;++o<n.length;){const e=n[o];r[e.type]=g(e),t.push({atBreak:!0,character:y(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},52795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ze});var n=r(89063),o=r(19967);const i={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),i):r(t)}function i(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,o.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,i;return a;function a(t){return 38===t?e.check(c,l,s)(t):46===t||95===t?e.check(u,l,s)(t):null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||45!==t&&(0,o.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(i=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return i||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(c,t,o)(a):(40===a&&r++,41===a?e.check(u,i,o)(a):g(a)?t(a):v(a)?e.check(u,t,o)(a):(e.consume(a),n))}function o(t){return e.consume(t),n}function i(e){return r--,r<0?t(e):o(e)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(o){return v(o)?(e.consume(o),n):g(o)?t(o):r(o)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,o.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),i):r(t)}function i(e){return g(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||D(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(i,e.attempt(a,e.attempt(s,o),r),r)(t)};function o(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!w(n.previous)||D(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||(0,o.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:w},p={tokenize:function(e,t,r){const n=this;let i,a;return function(t){if(!y(t)||!E(n.previous)||D(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return y(t)?(e.consume(t),s):64===t?(e.consume(t),c):r(t)}function c(t){return 46===t?e.check(u,h,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,o.asciiAlphanumeric)(t)?(!a&&(0,o.asciiDigit)(t)&&(a=!0),e.consume(t),c):h(t)}function l(t){return e.consume(t),i=!0,a=void 0,c}function f(t){return e.consume(t),p}function p(t){return 46===t?e.check(u,r,l)(t):c(t)}function h(n){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:E},h={},d={text:h};let m=48;for(;m<123;)h[m]=p,m++,58===m?m=65:91===m&&(m=97);function v(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function g(e){return null===e||60===e||(0,o.markdownLineEndingOrSpace)(e)}function y(e){return 43===e||45===e||46===e||95===e||(0,o.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,o.markdownLineEndingOrSpace)(e)}function w(e){return null===e||!(0,o.asciiAlpha)(e)}function E(e){return 47!==e&&w(e)}function D(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}h[43]=p,h[45]=p,h[46]=p,h[95]=p,h[72]=[p,f],h[104]=[p,f],h[87]=[p,l],h[119]=[p,l];var x=r(58775),F=r(46050),S=r(37618);const A={tokenize:function(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function k(e,t,r){const n=this;let o=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;o--;){const e=n.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return r(o);const s=(0,S.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!i.includes(s.slice(1)))return r(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function C(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",o,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(n,e.length-n+1,...u),e}function P(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){let f;return null===u||91===u||s++>999?r(u):93===u?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),i.includes((0,S.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(u):r(u)):r(u):(e.consume(u),(0,o.markdownLineEndingOrSpace)(u)||(a=!0),92===u?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function O(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let i;return null===t||91===t||u>999?r(t):93===t?s?(i=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,S.normalizeIdentifier)(n.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h):r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,o.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,F.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return i.includes(a)||i.push(a),t(e)}}function j(e,t,r){return e.check(x.w,t,e.attempt(A,t,r))}function T(e){e.exit("gfmFootnoteDefinition")}var _=r(11707),R=r(85618),B=r(79142);function I(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const u=(0,R.r)(o);if(126===i)return a>1?n(i):(e.consume(i),a++,s);if(a<2&&!t)return n(i);const c=e.exit("strikethroughSequenceTemporary"),l=(0,R.r)(i);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&Boolean(l),r(i)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},i={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",i,t]];(0,_.d)(a,a.length,0,(0,B.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,_.d)(a,a.length,0,[["exit",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",o,t]]),(0,_.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const L={flow:{null:{tokenize:function(e,t,r){const n=this,i=[];let a,s,u=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),p(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const o=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=o,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=o,r(e)}))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t?c(t):(e.enter("temporaryTableCellContent"),p(t)))}function f(t){return(0,o.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function p(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?h:p)}function h(t){return 92===t||124===t?(e.consume(t),p):p(t)}function d(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,i.push("none"),v):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i.push("left"),g):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,o.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function v(t){return 45===t?(e.consume(t),v):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i[i.length-1]="left"===i[i.length-1]?"center":"right",y):d(t))}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,v):r(t)}function y(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&u===i.length?null===t?w(t):e.check(M,w,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,E,"linePrefix",4),w))(t):r(t)}function w(r){return e.exit("table"),t(r)}function E(t){return e.enter("tableBody"),D(t)}function D(t){return e.enter("tableRow"),124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function x(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(M,P,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,D,"linePrefix",4),P))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),A):124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function A(t){return(0,o.markdownSpace)(t)?(e.consume(t),A):(e.exit("whitespace"),S(t))}function k(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?C:k)}function C(t){return 92===t||124===t?(e.consume(t),k):k(t)}function P(t){return e.exit("tableBody"),w(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,F.factorySpace)(e,i,"linePrefix")};function i(i){if(n.parser.lazy[n.now().line]||null===i||(0,o.markdownLineEnding)(i))return r(i);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(i):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(i))}}},resolve:function(e,t){let r,n,o,i,a,s,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(o&&("temporaryTableCellContent"===l.type&&(i=i||c,a=c),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[i][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(i,a-i+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),c-=a-i-3,i=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(u?0:1)<c&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<c||"whitespace"!==e[s][1].type))){const o={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===l.type?1:0),0,["exit",o,t]),e.splice(s,0,["enter",o,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(o="enter"===e[c][0],o&&(s=c+1,u=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[c][0],n&&(s=c+1,u=!1)),"tableHead"===l.type&&(r="enter"===e[c][0])}return e}}}},M={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),i};function i(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:i):null===a||(0,o.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const N={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return(0,o.markdownLineEndingOrSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:H},t,r)):r(n)}}},$={text:{91:N}};function H(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return(i&&"whitespace"===i[1].type||(0,o.markdownLineEnding)(e))&&null!==e?t(e):r(e)}),"whitespace")}function z(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;-1!==o;)n++,o=r.indexOf(t,o+t.length);return n}var U=r(50819),q=r(44516);const V={}.hasOwnProperty,W=function(e,t,r,n){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,r]],o=n):(i=t,o=r),o||(o={});const a=(0,q.O)(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([G(e[r][0]),Z(e[r][1])])}else{let r;for(r in e)V.call(e,r)&&t.push([G(r),Z(e[r])])}return t}(i);let u=-1;for(;++u<s.length;)(0,U.S4)(e,"text",c);return e;function c(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=t[t.length-1],n=s[u][0],o=s[u][1];let i=0;const a=r.children.indexOf(e);let c=!1,l=[];n.lastIndex=0;let f=n.exec(e.value);for(;f;){const r=f.index,a={index:f.index,input:f.input,stack:[...t,e]};let s=o(...f,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+f[0].length,c=!0),!n.global)break;f=n.exec(e.value)}c?(i<e.value.length&&l.push({type:"text",value:e.value.slice(i)}),r.children.splice(a,1,...l)):l=[e];return a+l.length}(e,t)}};function G(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Z(e){return"function"==typeof e?e:()=>e}const K="phrasing",Q=["autolink","link","image","label"],Y={transforms:[function(e){W(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:J,literalAutolinkHttp:J,literalAutolinkWww:J},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},X={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Q},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Q},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Q}]};function J(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,o){let i="";if(!re(o))return!1;if(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const o=z(e,"(");let i=z(e,")");for(;-1!==n&&o>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.unicodeWhitespace)(r)||(0,o.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(12006);function oe(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var ie=r(85771);const ae=/\r?\n|\r/g;function se(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function ue(e,t){return ce(e,t.inConstruct,!0)&&!ce(e,t.notInConstruct,!1)}function ce(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function le(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!ue(e.stack,t))continue;const r=se(t);let i;for(;i=r.exec(n);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=i.index+(e?i[1].length:0);o.includes(n)?(a[n].before&&!e&&(a[n].before=!1),a[n].after&&!r&&(a[n].after=!1)):(o.push(n),a[n]={before:e,after:r})}}o.sort(fe);let u=r.before?r.before.length:0;const c=n.length-(r.after?r.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<u||e>=c||(e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(u!==e&&i.push(pe(n.slice(u,e),"\\")),u=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(i.push("&#x"+n.charCodeAt(e).toString(16).toUpperCase()+";"),u++):i.push("\\")))}return i.push(pe(n.slice(u,c),r.after)),i.join("")}function fe(e,t){return e-t}function pe(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t;let a,s=-1,u=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&o.push(e.slice(u,n[s])),o.push("\\"),u=n[s];return o.push(e.slice(u)),o.join("")}var he=r(87717);function de(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function me(){this.buffer()}function ve(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function ge(e){this.exit(e)}function ye(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function be(){this.buffer()}function we(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function Ee(e){this.exit(e)}function De(e,t,r,n){const o=(0,he.j)(n);let i=o.move("[^");const a=r.enter("footnoteReference"),s=r.enter("reference");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function xe(e,t,r,n){const o=(0,he.j)(n);let i=o.move("[^");const a=r.enter("footnoteDefinition"),s=r.enter("label");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const r=[];let n,o=0,i=0;for(;n=ae.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}((0,ie.K)(e,r,o.current()),Fe)),a(),i}function Fe(e,t,r){return 0===t?e:(r?"":" ")+e}De.peek=function(){return"["};var Se=r(48736);Ce.peek=function(){return"~"};const Ae={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ke={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ce}};function Ce(e,t,r,n){const o=(0,he.j)(n),i=r.enter("strikethrough");let a=o.move("~~");return a+=(0,Se.p)(e,r,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Pe(e,t,r){let n=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(n);)o+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const e=r.unsafe[i],t=se(e);let o;if(e.atBreak)for(;o=t.exec(n);){let e=o.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(o.index+1)}}return o+n+o}function Oe(e){return null==e?"":String(e)}function je(e){return e.length}function Te(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Pe.peek=function(){return"`"};const _e={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:Be,tableHeader:Be,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ie));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Re,tableHeader:Re,tableRow:Re}};function Re(e){this.exit(e)}function Be(e){this.enter({type:"tableCell",children:[]},e)}function Ie(e,t){return"|"===t?t:e}function Le(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,o=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r,n){return s(function(e,t,r){const n=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<n.length;)i[o]=u(n[o],t,r);return a(),i}(e,r,n),e.align)},tableRow:function(e,t,r,n){const o=s([u(e,r,n)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=Pe(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r,n){const o=r.enter("tableCell"),a=r.enter("phrasing"),s=(0,Se.p)(e,r,{...n,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const r=(t.align||[]).concat(),n=t.stringLength||je,o=[],i=[],a=[],s=[];let u=0,c=-1;for(;++c<e.length;){const r=[],o=[];let l=-1;for(e[c].length>u&&(u=e[c].length);++l<e[c].length;){const i=Oe(e[c][l]);if(!1!==t.alignDelimiters){const e=n(i);o[l]=e,(void 0===s[l]||e>s[l])&&(s[l]=e)}r.push(i)}i[c]=r,a[c]=o}let l=-1;if("object"==typeof r&&"length"in r)for(;++l<u;)o[l]=Te(r[l]);else{const e=Te(r);for(;++l<u;)o[l]=e}l=-1;const f=[],p=[];for(;++l<u;){const e=o[l];let r="",n="";99===e?(r=":",n=":"):108===e?r=":":114===e&&(n=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[l]-r.length-n.length);const a=r+"-".repeat(i)+n;!1!==t.alignDelimiters&&(i=r.length+i+n.length,i>s[l]&&(s[l]=i),p[l]=i),f[l]=a}i.splice(1,0,f),a.splice(1,0,p),c=-1;const h=[];for(;++c<i.length;){const e=i[c],r=a[c];l=-1;const n=[];for(;++l<u;){const i=e[l]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[l]-(r[l]||0),t=o[l];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||l||n.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!l||n.push(" "),!1!==t.alignDelimiters&&n.push(a),n.push(i),!1!==t.alignDelimiters&&n.push(c),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&l===u-1||n.push("|")}h.push(!1===t.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:o})}function u(e,t,r){const n=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<n.length;)i[o]=a(n[o],0,t,r);return s(),i}}function Me(e,t,r,n){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=r.createTracker(n);s.move(i+" ".repeat(a-i.length)),s.shift(a);const u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(a))+e;return(r?i:i+" ".repeat(a-i.length))+e}));return u(),c}const Ne={exit:{taskListCheckValueChecked:He,taskListCheckValueUnchecked:He,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],r=e.children[0];if(r&&"text"===r.type){const n=t.children;let o,i=-1;for(;++i<n.length;){const e=n[i];if("paragraph"===e.type){o=e;break}}o===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}}},$e={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r,n){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=(0,he.j)(n);i&&s.move(a);let u=Me(e,t,r,{...n,...s.current()});i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return u}}};function He(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function ze(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:j},exit:T}},text:{91:{tokenize:P},93:{add:"after",tokenize:k,resolveTo:C}}},I(e),L,$])}(e)),r("fromMarkdownExtensions",[Y,{enter:{gfmFootnoteDefinition:de,gfmFootnoteDefinitionLabelString:me,gfmFootnoteCall:ye,gfmFootnoteCallString:be},exit:{gfmFootnoteDefinition:ge,gfmFootnoteDefinitionLabelString:ve,gfmFootnoteCall:Ee,gfmFootnoteCallString:we}},Ae,_e,Ne]),r("toMarkdownExtensions",function(e){return{extensions:[X,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:xe,footnoteReference:De}},ke,Le(e),$e]}}(e))}},24851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>fe});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Q,contentInitial:()=>q,disable:()=>Y,document:()=>U,flow:()=>W,flowInitial:()=>V,insideSpan:()=>K,string:()=>G,text:()=>Z});var o=r(28989),i=r(89063),a=r(46050),s=r(19967);const u={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),o)}}};var c=r(11707);const l={tokenize:function(e){const t=this,r=[];let n,o,i,a=0;return u;function u(n){if(a<r.length){const o=r[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,p)(n)}return p(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&E();const r=t.events.length;let o,i=r;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}w(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return(0,c.d)(t.events,i+1,0,t.events.slice(r)),t.events.length=s,p(e)}return u(e)}function p(o){if(a===r.length){if(!n)return m(o);if(n.currentConstruct&&n.currentConstruct.concrete)return g(o);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,h,d)(o)}function h(e){return n&&E(),w(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,i=t.now().offset,g(e)}function m(r){return t.containerState={},e.attempt(f,v,g)(r)}function v(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function g(r){return null===r?(n&&E(),w(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),y(r))}function y(r){return null===r?(b(e.exit("chunkFlow"),!0),w(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(r),y)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=o,o&&(o.next=e),o=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<i&&(!n.events[e][1].end||n.events[e][1].end.offset>i))return;const r=t.events.length;let o,s,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){s=t.events[u][1].end;break}o=!0}for(w(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,c.d)(t.events,u+1,0,t.events.slice(r)),t.events.length=e}}function w(n){let o=r.length;for(;o-- >n;){const n=r[o];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function E(){n.write([null]),o=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var p=r(58775),h=r(52240);const d={tokenize:function(e){const t=this,r=e.attempt(p.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(h.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},v=y("string"),g=y("text");function y(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],o=t.attempt(n,i,a);return i;function i(e){return u(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;const t=n[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?w:void 0)}}function b(e){return function(t,r){let n,o=-1;for(;++o<=t.length;)void 0===n?t[o]&&"data"===t[o][1].type&&(n=o,o++):t[o]&&"data"===t[o][1].type||(o!==n+2&&(t[n][1].end=t[o-1][1].end,t.splice(n+2,o-n-2),o=n+2),n=void 0);return e?e(t,r):t}}function w(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],o=t.sliceStream(n);let i,a=o.length,s=-1,u=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)i=!0,u++;else if(-1!==e){a++;break}}if(u){const o={type:r===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-u,offset:n.end.offset-u,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},o.start),n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(r,0,["enter",o,t],["exit",o,t]),r+=2)}r++}return e}var E=r(79142);function D(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,x()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));p.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=v(),p.events.push(["enter",r,p]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=v(),p.events.push(["exit",t,p]),t},attempt:w((function(e,t){D(e,t.from)})),check:w(b),interrupt:w(b,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let o;for(;++r<e.length;){const i=e[r];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,n.push(a)}return n.join("")}(m(e),t)},now:v,defineSkip:function(e){o[e.line]=e.column,x()},write:function(e){if(a=(0,c.V)(a,e),g(),null!==a[a.length-1])return[];return D(t,0),p.events=(0,E.C)(i,p.events,p),p.events}};let h,d=t.tokenize.call(p,f);return t.resolveAll&&i.push(t),p;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;r===o?a=[e[r].slice(n,i)]:(a=e.slice(r,o),n>-1&&(a[0]=a[0].slice(n)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function v(){return Object.assign({},n)}function g(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)y(t.charCodeAt(n._bufferIndex));else y(t)}}function y(e){l=void 0,h=e,d=d(e)}function b(e,t){t.restore()}function w(e,t){return function(r,o,i){let a,s,c,h;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?i:m(e[s])}function m(e){return function(r){h=function(){const e=v(),t=p.previous,r=p.currentConstruct,o=p.events.length,i=Array.from(u);return{restore:a,from:o};function a(){n=e,p.previous=t,p.currentConstruct=r,p.events.length=o,u=i,x()}}(),c=e,e.partial||(p.currentConstruct=e);if(e.name&&p.parser.constructs.disable.null.includes(e.name))return y(r);return e.tokenize.call(t?Object.assign(Object.create(p),t):p,f,g,y)(r)}}function g(t){return l=!0,e(c,h),o}function y(e){return l=!0,h.restore(),++s<a.length?m(a[s]):i}}}function D(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,c.d)(p.events,t,p.events.length-t,e.resolve(p.events.slice(t),p)),e.resolveTo&&(p.events=e.resolveTo(p.events,p))}function x(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}var x=r(44084),F=r(79230),S=r(22774),A=r(44322),k=r(86053),C=r(19281),P=r(38029),O=r(26890),j=r(60214),T=r(73608),_=r(30670),R=r(47071),B=r(82287),I=r(39362),L=r(40366),M=r(9373),N=r(83555),$=r(2669),H=r(3369),z=r(83126);const U={42:x.p,43:x.p,45:x.p,48:x.p,49:x.p,50:x.p,51:x.p,52:x.p,53:x.p,54:x.p,55:x.p,56:x.p,57:x.p,62:F.m},q={91:S.D},V={[-2]:A.S,[-1]:A.S,32:A.S},W={35:k.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:j._,126:j._},G={38:T.u,92:_.L},Z={[-5]:R.g,[-4]:R.g,[-3]:R.g,33:B.C,38:T.u,42:I.v,60:[L.j,M.L],91:N.F,92:[$.R,_.L],93:H.Z,95:I.v,96:z.h},K={null:[I.v,m]},Q={null:[42,95]},Y={null:[]};const X=/[\0\t\n\r]/g;var J=r(35197);var ee=r(92791),te=r(12006),re=r(37618),ne=r(36365),oe=r(56077);const ie={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(pe),autolinkProtocol:C,autolinkEmail:C,atxHeading:u(J),blockQuote:u(Z),characterEscape:C,characterReference:C,codeFenced:u(K),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(K,c),codeText:u(Q,c),codeTextData:C,data:C,codeFlowValue:C,definition:u(Y),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(X),hardBreakEscape:u(ae),hardBreakTrailing:u(ae),htmlFlow:u(ce,c),htmlFlowData:C,htmlText:u(ce,c),htmlTextData:C,image:u(fe),label:c,link:u(pe),listItem:u(de),listItemValue:m,listOrdered:u(he,d),listUnordered:u(he),paragraph:u(me),reference:z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(J),strong:u(ve),thematicBreak:u(ye)},exit:{atxHeading:f(),atxHeadingSequence:F,autolink:f(),autolinkEmail:G,autolinkProtocol:W,blockQuote:f(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:V,codeFenced:f(b),codeFencedFence:y,codeFencedFenceInfo:v,codeFencedFenceMeta:g,codeFlowValue:P,codeIndented:f(w),codeText:f(R),codeTextData:P,data:P,definition:f(),definitionDestinationString:x,definitionLabelString:E,definitionTitleString:D,emphasis:f(),hardBreakEscape:f(j),hardBreakTrailing:f(j),htmlFlow:f(T),htmlFlowData:P,htmlText:f(_),htmlTextData:P,image:f(I),label:M,labelText:L,lineEnding:O,link:f(B),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:U,resourceDestinationString:N,resourceTitleString:$,resource:H,setextHeading:f(k),setextHeadingLineSequence:A,setextHeadingText:S,strong:f(),thematicBreak:f()}};ue(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(e){let r={type:"root",children:[]};const n={stack:[r],tokenStack:[],config:t,enter:l,exit:p,buffer:c,resume:h,setData:a,getData:s},o=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])o.push(u);else{u=i(e,o.pop(),u)}for(u=-1;++u<e.length;){const r=t[e[u][0]];ie.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},n),e[u][1])}if(n.tokenStack.length>0){const e=n.tokenStack[n.tokenStack.length-1];(e[1]||le).call(n,void 0,e[0])}for(r.position={start:se(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:se(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r}function i(e,t,r){let n,o,i,a,s=t-1,u=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||u||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(n._spread=!0),n.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,i=void 0,a=!0)}}return e[t][1]._spread=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e,t){return r;function r(r){l.call(this,e(r),r),t&&t.call(this,r)}}function c(){this.stack.push({type:"fragment",children:[]})}function l(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:se(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),p.call(this,t)}}function p(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||le).call(this,e,n[0])}return r.position.end=se(e.end),r}function h(){return(0,o.B)(this.stack.pop())}function d(){a("expectingFirstListItemValue",!0)}function m(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function v(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function g(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function y(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function E(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function D(){const e=this.resume();this.stack[this.stack.length-1].title=e}function x(){const e=this.resume();this.stack[this.stack.length-1].url=e}function F(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function S(){a("setextHeadingSlurpLineEnding",!0)}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function k(){a("setextHeadingSlurpLineEnding")}function C(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ge(),r.position={start:se(e.start)},t.children.push(r)),this.stack.push(r)}function P(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=se(e.end)}function O(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=se(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(C.call(this,e),P.call(this,e))}function j(){a("atHardBreak",!0)}function T(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function B(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function I(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function L(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=(0,te.v)(t),r.identifier=(0,re.normalizeIdentifier)(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(a("inReference",!0),"link"===r.type){const t=e.children;r.children=t}else r.alt=t}function N(){const e=this.resume();this.stack[this.stack.length-1].url=e}function $(){const e=this.resume();this.stack[this.stack.length-1].title=e}function H(){a("inReference")}function z(){a("referenceType","collapsed")}function U(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function q(e){a("characterReferenceType",e.type)}function V(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;if(r)n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType");else{n=(0,ne.T)(t)}const o=this.stack.pop();o.value+=n,o.position.end=se(e.end)}function W(e){P.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function G(e){P.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Z(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function Y(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function J(){return{type:"heading",depth:void 0,children:[]}}function ae(){return{type:"break"}}function ce(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function he(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ve(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function ye(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,J._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,i.W)([n].concat(e.extensions||[])),content:r(u),document:r(l),flow:r(d),string:r(v),text:r(g)};return t;function r(e){return function(r){return D(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(o,i,a){const s=[];let u,c,l,f,p;for(o=r+o.toString(i),l=0,r="",n&&(65279===o.charCodeAt(0)&&l++,n=void 0);l<o.length;){if(X.lastIndex=l,u=X.exec(o),f=u&&void 0!==u.index?u.index:o.length,p=o.charCodeAt(f),!u){r=o.slice(l);break}if(10===p&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(o.slice(l,f)),t+=f-l),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e){return{line:e.line,column:e.column,offset:e.offset}}function ue(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ue(e,n):ce(e,n)}}function ce(e,t){let r;for(r in t)if(ie.call(t,r))if("canContainEols"===r){const n=t[r];n&&e[r].push(...n)}else if("transforms"===r){const n=t[r];n&&e[r].push(...n)}else if("enter"===r||"exit"===r){const n=t[r];n&&Object.assign(e[r],n)}}function le(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is still open")}const fe=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},29477:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>w});var o=r(38165),i=r(24740);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function o(i,...a){const s=e[++r];let u=-1;if(i)n(i);else{for(;++u<t.length;)null!==a[u]&&void 0!==a[u]||(a[u]=t[u]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(o);try{a=e.apply(this,t)}catch(e){if(n&&r)throw e;return o(e)}n||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...n){r||(r=!0,t(e,...n))}function i(e){o(null,e)}}(s,o)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var u=r(56077);class c extends Error{constructor(e,t,r){const n=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){const e=r.indexOf(":");-1===e?n[1]=r:(n[0]=r.slice(0,e),n[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else o<0&&(r=!0,o=i+1);return o<0?"":e.slice(n,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else a<0&&(r=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));n===o?o=a:o<0&&(o=e.length);return e.slice(n,o)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,o=0,i=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?i<0?i=r:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=r+1;break}}if(i<0||n<0||0===a||1===a&&i===n-1&&i===o+1)return"";return e.slice(i,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,o="",i=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(n=o.lastIndexOf("/"),n!==o.length-1){n<0?(o="",i=0):(o=o.slice(0,n),i=o.length-1-o.lastIndexOf("/")),a=u,s=0;continue}}else if(o.length>0){o="",i=0,a=u,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,u):o=e.slice(a+1,u),i=u-a-1;a=u,s=0}else 46===r&&s>-1?s++:s=-1}return o}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const p={cwd:function(){return"/"}};function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!h(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class v{constructor(e){let t;t=e?"string"==typeof e||function(e){return o(e)}(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=p.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){h(e)&&(e=d(e)),y(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){y(e,"basename"),g(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(g(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){y(e,"stem"),g(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,r){const n=new c(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function g(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function y(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const w=function e(){const t=s(),r=[];let u,c={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(S("data",u),c[e]=t,f):E.call(c,e)&&c[e]||null;if(e)return S("data",u),c=e,f;return c},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(u)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const o=e.call(f,...n);"function"==typeof o&&t.use(o)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(S("use",u),null==e);else if("function"==typeof e)p(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(c.settings=Object.assign(c.settings||{},n));return f;function o(e){if("function"==typeof e)p(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;p(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function p(e,t){let n,o=-1;for(;++o<r.length;)if(r[o][0]===e){n=r[o];break}n?(a(n[1])&&a(t)&&(t=i(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=C(e),r=f.Parser;if(x("parse",r),D(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(F("stringify",n),A(e),D(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){A(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(o);function o(o,i){function a(t,r,a){r=r||e,t?i(t):o?o(r):n(null,r,a)}t.run(e,C(r),a)}o(null,n)},f.runSync=function(e,t){let r,o;return f.run(e,t,i),k("runSync","run",o),r;function i(e,t){n(e),r=t,o=!0}},f.process=function(e,t){if(f.freeze(),x("process",f.Parser),F("process",f.Compiler),!t)return new Promise(r);function r(r,n){const i=C(e);function a(e,o){e||!o?n(e):r?r(o):t(null,o)}f.run(f.parse(i),i,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||o(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),x("processSync",f.Parser),F("processSync",f.Compiler);const r=C(e);return f.process(r,o),k("processSync","process",t),r;function o(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(i(!0,{},c)),t}}().freeze(),E={}.hasOwnProperty;function D(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(E.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function x(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function F(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function S(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function A(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function k(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new v(e)}},49522:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convert:()=>n.O,is:()=>n.is});var n=r(44516)},44516:(e,t,r)=>{"use strict";r.d(t,{O:()=>o,is:()=>n});const n=function e(t,r,n,i,a){const s=o(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==i||e(i)&&i.children))throw new Error("Expected parent node");if(null==i!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,i))},o=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return i(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=o(e[r]);return i(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return i(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return i(e);throw new Error("Expected function, string, or object as test")};function i(e){return function(t,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function a(){return!0}},93227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>re,select:()=>ne,selectAll:()=>oe});const n={},o={};function i(e,t){let r=t;for(let t=0;t<e.length;t++){const n=t===e.length-1,o=e.charAt(t),i=r[o]||(r[o]={chars:{}});n&&(i.self=e),r=i.chars}}function a(e){if(0===e.length)return n;const t={};for(const r of e)i(r,t);return t}function s(e){if(0===e.length)return o;const t={};for(const r of e)t[r]=!0;return t}const u={},c={type:"String",optional:!0};function l(e){const t={optional:!1};function r(e){if(t.type&&t.type!==e)throw new Error(`Conflicting pseudo-class argument type: "${t.type}" vs "${e}".`);t.type=e}for(const n of e)"NoArgument"===n&&(t.optional=!0),"Formula"===n&&r("Formula"),"FormulaOfSelector"===n&&(r("Formula"),t.ofSelector=!0),"String"===n&&r("String"),"Selector"===n&&r("Selector");return t}function f(e){const t=function(e){const t={};for(const r of Object.keys(e)){const n=e[r];if(n)for(const e of n)(t[e]||(t[e]=[])).push(r)}return t}(e),r={};for(const e of Object.keys(t)){const n=t[e];n&&(r[e]=l(n))}return r}const p={},h={wildcard:!0};function d(e){return e?"boolean"==typeof e?h:e:p}function m(e,t){const r={...e};if("tag"in t)if(t.tag){r.tag={...d(e.tag)};const n=d(t.tag);"wildcard"in n&&(r.tag.wildcard=n.wildcard)}else r.tag=void 0;if("ids"in t&&(r.ids=t.ids),"classNames"in t&&(r.classNames=t.classNames),"namespace"in t)if(t.namespace){r.namespace={...d(e.namespace)};const n=d(t.namespace);"wildcard"in n&&(r.namespace.wildcard=n.wildcard)}else r.namespace=void 0;if("combinators"in t&&(t.combinators?r.combinators=r.combinators?r.combinators.concat(t.combinators):t.combinators:r.combinators=void 0),"attributes"in t&&(t.attributes?(r.attributes={...e.attributes},"unknownCaseSensitivityModifiers"in t.attributes&&(r.attributes.unknownCaseSensitivityModifiers=t.attributes.unknownCaseSensitivityModifiers),"operators"in t.attributes&&(r.attributes.operators=t.attributes.operators?r.attributes.operators?r.attributes.operators.concat(t.attributes.operators):t.attributes.operators:void 0),"caseSensitivityModifiers"in t.attributes&&(r.attributes.caseSensitivityModifiers=t.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers.concat(t.attributes.caseSensitivityModifiers):t.attributes.caseSensitivityModifiers:void 0)):r.attributes=void 0),"pseudoElements"in t&&(t.pseudoElements?(r.pseudoElements={...e.pseudoElements},"unknown"in t.pseudoElements&&(r.pseudoElements.unknown=t.pseudoElements.unknown),"notation"in t.pseudoElements&&(r.pseudoElements.notation=t.pseudoElements.notation),"definitions"in t.pseudoElements&&(r.pseudoElements.definitions=t.pseudoElements.definitions?r.pseudoElements.definitions?r.pseudoElements.definitions.concat(t.pseudoElements.definitions):t.pseudoElements.definitions:void 0)):r.pseudoElements=void 0),"pseudoClasses"in t)if(t.pseudoClasses){if(r.pseudoClasses={...e.pseudoClasses},"unknown"in t.pseudoClasses&&(r.pseudoClasses.unknown=t.pseudoClasses.unknown),"definitions"in t.pseudoClasses){const e=t.pseudoClasses.definitions;if(e){r.pseudoClasses.definitions={...r.pseudoClasses.definitions};const t=r.pseudoClasses.definitions;for(const r of Object.keys(e)){const n=e[r],o=t[r];t[r]=n?o?o.concat(n):n:void 0}}else r.pseudoClasses.definitions=void 0}}else r.pseudoClasses=void 0;return r}const v={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},g=m(v,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),y=m(g,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),b=m(y,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),w={css1:v,css2:g,css3:y,"selectors-3":y,"selectors-4":b,latest:b,progressive:m(b,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}})};function E(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e}function D(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}const x={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\"},F={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},S={'"':!0,"'":!0},A={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0};const k="css-selector-parser parse error: ";function C(e){return(t,r)=>({[t]:t=>({type:e,...t}),[r]:t=>"object"==typeof t&&null!==t&&t.type===e})}C("Selector")("selector","isSelector"),C("Rule")("rule","isRule"),C("TagName")("tagName","isTagName"),C("WildcardTag")("wildcardTag","isWildcardTag"),C("NamespaceName")("namespaceName","isNamespaceName"),C("WildcardNamespace")("wildcardNamespace","isWildcardNamespace"),C("NoNamespace")("noNamespace","isNoNamespace"),C("Attribute")("attribute","isAttribute"),C("PseudoClass")("pseudoClass","isPseudoClass"),C("String")("string","isString"),C("Formula")("formula","isFormula"),C("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector"),C("Substitution")("substitution","isSubstitution");const P=function(e={}){const{syntax:t="latest",substitutes:r,strict:i=!0}=e;let l="string"==typeof t?w[t]:t;l.baseSyntax&&(l=m(w[l.baseSyntax],l));const[p,h]=l.tag?[!0,Boolean(d(l.tag).wildcard)]:[!1,!1],v=Boolean(l.ids),g=Boolean(l.classNames),y=Boolean(l.namespace),b=l.namespace&&(!0===l.namespace||!0===l.namespace.wildcard);if(y&&!p)throw new Error(`${k}Namespaces cannot be enabled while tags are disabled.`);const C=Boolean(r),P=l.combinators?a(l.combinators):n,[O,j,T,_]=l.attributes?[!0,l.attributes.operators?a(l.attributes.operators):n,l.attributes.caseSensitivityModifiers?s(l.attributes.caseSensitivityModifiers):o,"accept"===l.attributes.unknownCaseSensitivityModifiers]:[!1,n,o,!1],R=_||Object.keys(T).length>0,[B,I,L]=l.pseudoClasses?[!0,l.pseudoClasses.definitions?f(l.pseudoClasses.definitions):u,"accept"===l.pseudoClasses.unknown]:[!1,u,!1],[M,N,$,H,z]=l.pseudoElements?[!0,"singleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,!l.pseudoElements.notation||"doubleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,l.pseudoElements.definitions?s(l.pseudoElements.definitions):o,"accept"===l.pseudoElements.unknown]:[!1,!1,!1,o,!1];let U="",q=U.length,V=0,W="";const G=e=>W===e,Z=()=>G("*")||E(W)||G("\\"),K=e=>{V=e,W=U.charAt(V)},Q=()=>{V++,W=U.charAt(V)},Y=()=>{const e=W;return V++,W=U.charAt(V),e};function X(e){const t=Math.min(q-1,V),r=new Error(`${k}${e} Pos: ${t}.`);throw r.position=t,r.name="ParserError",r}function J(e,t){if(!e)return X(t)}const ee=()=>{J(V<q,"Unexpected end of input.")},te=()=>V>=q,re=e=>{J(V<q,`Expected "${e}" but end of input reached.`),J(W===e,`Expected "${e}" but "${W}" found.`),V++,W=U.charAt(V)};function ne(e){const t=oe(e,V);if(t)return V+=t.length,W=U.charAt(V),t}function oe(e,t){const r=e[U.charAt(t)];if(r){const e=oe(r.chars,t+1);if(e)return e;if(r.self)return r.self}}function ie(){let e=Y();for(;D(W);)e+=Y();return G(" ")&&Q(),String.fromCharCode(parseInt(e,16))}function ae(e){let t="";for(re(e);V<q;){if(G(e))return Q(),t;if(G("\\")){let r;if(Q(),G(e))t+=e;else if(void 0!==(r=x[W]))t+=r;else{if(D(W)){t+=ie();continue}t+=W}}else t+=W;Q()}return t}function se(){let e="";for(;V<q;)if((t=W)>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"-"===t||"_"===t)e+=Y();else{if(!G("\\"))return e;Q(),ee(),D(W)?e+=ie():e+=Y()}var t;return e}function ue(){let e="";for(;V<q&&!G(")");)if(G("\\")){if(Q(),te()&&!i)return(e+"\\").trim();ee(),D(W)?e+=ie():e+=Y()}else e+=Y();return e.trim()}function ce(){for(;F[W];)Q()}function le(e=!1){ce();const t=[ge(e)];for(;G(",");)Q(),ce(),t.push(ge(e));return{type:"Selector",rules:t}}function fe(){let e;if(re("["),ce(),G("|"))J(y,"Namespaces are not enabled."),Q(),e={type:"Attribute",name:se(),namespace:{type:"NoNamespace"}};else if(G("*"))J(y,"Namespaces are not enabled."),J(b,"Wildcard namespace is not enabled."),Q(),re("|"),e={type:"Attribute",name:se(),namespace:{type:"WildcardNamespace"}};else{const t=se();if(e={type:"Attribute",name:t},G("|")){const r=V;Q(),E(W)||G("\\")?(J(y,"Namespaces are not enabled."),e={type:"Attribute",name:se(),namespace:{type:"NamespaceName",name:t}}):K(r)}}if(J(e.name,"Expected attribute name."),ce(),te()&&!i)return e;if(G("]"))Q();else{if(e.operator=ne(j),J(e.operator,"Expected a valid attribute selector operator."),ce(),ee(),S[W]?e.value={type:"String",value:ae(W)}:C&&G("$")?(Q(),e.value={type:"Substitution",name:se()},J(e.value.name,"Expected substitute name.")):(e.value={type:"String",value:se()},J(e.value.value,"Expected attribute value.")),ce(),te()&&!i)return e;if(!G("]")&&(e.caseSensitivityModifier=se(),J(e.caseSensitivityModifier,"Expected end of attribute selector."),J(R,"Attribute case sensitivity modifiers are not enabled."),J(_||T[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),ce(),te()&&!i))return e;re("]")}return e}function pe(){let e="";for(;A[W];)e+=Y();return J(""!==e,"Formula parse error."),parseInt(e)}const he=()=>G("-")||G("+")||A[W];function de(e){const t={type:"PseudoClass",name:e};let r=I[e];if(!r&&L&&(r=c),J(r,`Unknown pseudo-class: "${e}".`),G("(")){if(Q(),ce(),C&&G("$"))Q(),t.argument={type:"Substitution",name:se()},J(t.argument.name,"Expected substitute name.");else if("String"===r.type)t.argument={type:"String",value:ue()},J(t.argument.value,"Expected pseudo-class argument value.");else if("Selector"===r.type)t.argument=le(!0);else{if("Formula"!==r.type)return X("Invalid pseudo-class signature.");{const[e,n]=function(){if(G("e")||G("o")){const e=se();if("even"===e)return ce(),[2,0];if("odd"===e)return ce(),[2,1]}let e,t=null,r=1;if(G("-")&&(Q(),r=-1),he()&&(G("+")&&Q(),t=pe(),!G("\\")&&!G("n")))return[0,t*r];if(null===t&&(t=1),t*=r,G("\\")?(Q(),e=D(W)?ie():Y()):e=Y(),J("n"===e,'Formula parse error: expected "n".'),ce(),G("+")||G("-")){const e=G("+")?1:-1;return Q(),ce(),[t,e*pe()]}return[t,0]}();if(t.argument={type:"Formula",a:e,b:n},r.ofSelector&&(ce(),G("o")||G("\\"))){J("of"===se(),"Formula of selector parse error."),ce(),t.argument={type:"FormulaOfSelector",a:e,b:n,selector:ge()}}}}if(ce(),te()&&!i)return t;re(")")}else J(r.optional,`Argument is required for pseudo-class "${e}".`);return t}function me(){return G("*")?(J(h,"Wildcard tag name is not enabled."),Q(),{type:"WildcardTag"}):E(W)||G("\\")?(J(p,"Tag names are not enabled."),{type:"TagName",name:se()}):X("Expected tag name.")}function ve(){if(G("*")){const e=V;if(Q(),!G("|"))return K(e),me();if(Q(),!Z())return K(e),me();J(y,"Namespaces are not enabled."),J(b,"Wildcard namespace is not enabled.");const t=me();return t.namespace={type:"WildcardNamespace"},t}if(G("|")){J(y,"Namespaces are not enabled."),Q();const e=me();return e.namespace={type:"NoNamespace"},e}if(E(W)||G("\\")){const e=se();if(!G("|"))return J(p,"Tag names are not enabled."),{type:"TagName",name:e};const t=V;if(Q(),!Z())return K(t),{type:"TagName",name:e};J(y,"Namespaces are not enabled.");const r=me();return r.namespace={type:"NamespaceName",name:e},r}return X("Expected tag name.")}function ge(e=!1){const t={};let r=!0;if(e){const e=ne(P);e&&(t.combinator=e,ce())}for(;V<q;){if(Z())J(r,"Unexpected tag/namespace start."),t.tag=ve();else if(G("|")){const e=V;if(Q(),!Z()){K(e);break}J(r,"Unexpected tag/namespace start."),K(e),t.tag=ve()}else if(G(".")){J(g,"Class names are not enabled."),Q();const e=se();J(e,"Expected class name."),(t.classNames=t.classNames||[]).push(e)}else if(G("#")){J(v,"IDs are not enabled."),Q();const e=se();J(e,"Expected ID name."),(t.ids=t.ids||[]).push(e)}else if(G("["))J(O,"Attributes are not enabled."),(t.attributes=t.attributes||[]).push(fe());else{if(!G(":"))break;{let e=!1,r=!1;Q(),G(":")&&(J(M,"Pseudo elements are not enabled."),J($,"Pseudo elements double colon notation is not enabled."),e=!0,Q());const n=se();if(J(e||n,"Expected pseudo-class name."),J(!e||n,"Expected pseudo-element name."),J(!e||z||H[n],`Unknown pseudo-element "${n}".`),r=M&&(e||!e&&N&&H[n]),r){if(t.pseudoElement=n,!(F[W]||G(",")||G(")")||te()))return X("Pseudo-element should be the last component of a CSS selector rule.")}else J(B,"Pseudo classes are not enabled."),(t.pseudoClasses=t.pseudoClasses||[]).push(de(n))}}r=!1}if(r)return te()?X("Expected rule but end of input reached."):X(`Expected rule but "${W}" found.`);if(t.type="Rule",ce(),!te()&&!G(",")&&!G(")")){const e=ne(P);ce(),t.nestedRule=ge(),t.nestedRule.combinator=e}return t}return e=>{if("string"!=typeof e)throw new Error(`${k}Expected string input.`);return U=e,q=U.length,V=0,W=U.charAt(0),le()}}({syntax:"selectors-4"});function O(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return P(e)}function j(e){return Array.isArray(e.children)}const T={}.hasOwnProperty;function _(e,t){const r=t||{};function n(t,...r){let o=n.invalid;const i=n.handlers;if(t&&T.call(t,e)){const r=String(t[e]);o=T.call(i,r)?i[r]:n.unknown}if(o)return o.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const R=_("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:B,handlers:{"=":function(e,t){const r=I(e);return B(e,t)&&String(t[e.name])===r},"^=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(0,n.length)===n)},"$=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(-n.length)===n)},"*=":function(e,t){const r=t[e.name],n=I(e);return Boolean("string"==typeof r&&n&&r.includes(n))},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;const n=I(e);if(Array.isArray(r)&&r.includes(n))return!0;return String(r)===n}}});function B(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function I(e){const t=e.value;return t.type,t.value}const L=new Set([9,10,12,13,32]),M="0".charCodeAt(0),N="9".charCodeAt(0);var $=r(96501);function H(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return $.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?$.trueFunc:e=>e>=r;const n=Math.abs(t),o=(r%n+n)%n;return t>1?e=>e>=r&&e%n===o:e=>e<=r&&e%n===o}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,r=0,n=i(),o=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,r=n*(null!=o?o:1),s(),t<e.length?(n=i(),s(),o=a()):n=o=0),null===o||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[r,n*o];function i(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){const r=t;let n=0;for(;t<e.length&&e.charCodeAt(t)>=M&&e.charCodeAt(t)<=N;)n=10*n+(e.charCodeAt(t)-M),t++;return t===r?null:n}function s(){for(;t<e.length&&L.has(e.charCodeAt(t));)t++}}(e))}const z=H.default||H,U=_("name",{unknown:function(e){throw new Error("Unknown pseudo-selector `"+e.name+"`")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{is:W,blank:V,empty:V,"first-child":function(e,t,r,n,o){return G(o,e),0===o.nodeIndex},"first-of-type":function(e,t,r,n,o){return G(o,e),0===o.typeIndex},has:function(e,t,r,n,o){const i=e.argument;!i||i.type;const a={type:"root",children:j(t)?t.children:[]},s={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Y(s,a),s.results.length>0},"last-child":function(e,t,r,n,o){return G(o,e),"number"==typeof o.nodeCount&&o.nodeIndex===o.nodeCount-1},"last-of-type":function(e,t,r,n,o){return G(o,e),"number"==typeof o.typeCount&&o.typeIndex===o.typeCount-1},not:function(e,t,r,n,o){return!W(e,t,r,n,o)},"nth-child":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.nodeIndex&&i(o.nodeIndex)},"nth-last-child":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.nodeCount&&"number"==typeof o.nodeIndex&&i(o.nodeCount-o.nodeIndex-1)},"nth-of-type":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.typeIndex&&i(o.typeIndex)},"nth-last-of-type":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.typeIndex&&"number"==typeof o.typeCount&&i(o.typeCount-1-o.typeIndex)},"only-child":function(e,t,r,n,o){return G(o,e),1===o.nodeCount},"only-of-type":function(e,t,r,n,o){return G(o,e),1===o.typeCount},root:function(e,t,r,n){return t&&!n},scope:function(e,t,r,n,o){return t&&o.scopeNodes.includes(t)}}});function q(e,t,r,n,o){let i=-1;if(e.pseudoClasses)for(;++i<e.pseudoClasses.length;)if(!U(e.pseudoClasses[i],t,r,n,o))return!1;return!0}function V(e,t){return j(t)?0===t.children.length:!("value"in t)}function W(e,t,r,n,o){const i=e.argument;!i||i.type;const a={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Y(a,t),a.results[0]===t}function G(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Z(e){let t=e._cachedFn;if(!t){const r=e.argument;!r||r.type,t=z(r.a+"n+"+r.b),e._cachedFn=t}return t}function K(e,t,r,n,o){if(e.ids)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");if(e.pseudoElement)throw new Error("Invalid selector: `::"+e.pseudoElement+"`");return Boolean(t&&(!e.tag||"WildcardTag"===e.tag.type||e.tag.name===t.type)&&(!e.attributes||function(e,t){let r=-1;if(e.attributes)for(;++r<e.attributes.length;)if(!R(e.attributes[r],t))return!1;return!0}(e,t))&&(!e.pseudoClasses||q(e,t,r,n,o)))}q.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","is","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const Q=[];function Y(e,t){t&&X(e,[],t,void 0,void 0,t)}function X(e,t,r,n,o,i){let a={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},s=e.rootQuery.rules;return o&&o!==i&&(s=e.rootQuery.rules.filter((e=>void 0===e.combinator||">"===e.combinator&&o===i))),a=function(e,t,r,n,o){const i={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};let a=-1;for(;++a<t.length;){const s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.nestedRule)throw new Error("Expected selector without nesting");if(K(s,r,n,o,e)){const t=s.nestedRule;if(t){ee(i,"+"===t.combinator?"adjacentSibling":"~"===t.combinator?"generalSibling":">"===t.combinator?"directChild":"descendant",t)}else e.found=!0,e.results.includes(r)||e.results.push(r)}void 0===s.combinator?ee(i,"descendant",s):"~"===s.combinator&&ee(i,"generalSibling",s)}return i}(e,J(t,s),r,n,o),!j(r)||e.shallow||e.one&&e.found||function(e,t,r,n){const o=J(t.descendant,t.directChild);let i,a=-1;const s={count:0,types:new Map},u={count:0,types:new Map};for(;++a<r.children.length;)te(s,r.children[a]);a=-1;for(;++a<r.children.length;){const t=r.children[a].type.toUpperCase();e.nodeIndex=u.count,e.typeIndex=u.types.get(t)||0,e.nodeCount=s.count,e.typeCount=s.types.get(t);const c=X(e,J(o,i),r.children[a],a,r,n);if(i=J(c.generalSibling,c.adjacentSibling),e.one&&e.found)break;te(u,r.children[a])}}(e,a,r,i),a}function J(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:Q}function ee(e,t,r){const n=e[t];n?n.push(r):e[t]=[r]}function te(e,t){const r=t.type.toUpperCase(),n=(e.types.get(r)||0)+1;e.count++,e.types.set(r,n)}function re(e,t){const r=ie(e,t);return r.one=!0,r.shallow=!0,Y(r,t||void 0),r.results.length>0}function ne(e,t){const r=ie(e,t);return r.one=!0,Y(r,t||void 0),r.results[0]}function oe(e,t){const r=ie(e,t);return Y(r,t||void 0),r.results}function ie(e,t){return{rootQuery:O(e),results:[],scopeNodes:t?!j(t)||"RootNode"!==t.type&&"root"!==t.type?[t]:t.children:[],one:!1,shallow:!1,found:!1,typeIndex:void 0,nodeIndex:void 0,typeCount:void 0,nodeCount:void 0}}},56077:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?i(e.position):"start"in e||"end"in e?i(e):"line"in e||"column"in e?o(e):"":""}function o(e){return a(e&&e.line)+":"+a(e&&e.column)}function i(e){return o(e&&e.start)+"-"+o(e&&e.end)}function a(e){return e&&"number"==typeof e?e:1}r.d(t,{y:()=>n})},50819:(e,t,r)=>{"use strict";r.d(t,{dR:()=>o,BK:()=>i,AM:()=>a,S4:()=>s});var n=r(44516);const o=!0,i=!1,a="skip",s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.O)(t),c=s?-1:1;!function e(n,l,f){const p=n&&"object"==typeof n?n:{};if("string"==typeof p.type){const e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(h,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return h;function h(){let p,h,d,m=[];if((!t||u(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[o,e];return[e]}(r(n,f)),m[0]===i))return m;if(n.children&&m[0]!==a)for(h=(s?n.children.length:-1)+c,d=f.concat(n);h>-1&&h<n.children.length;){if(p=e(n.children[h],h,d)(),p[0]===i)return p;h="number"==typeof p[1]?p[1]:h+c}return m}}(e,void 0,[])()}},18213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,EXIT:()=>n.BK,SKIP:()=>n.AM,visit:()=>o.Vn});var n=r(50819),o=r(53827)},53827:(e,t,r)=>{"use strict";r.d(t,{Vn:()=>o});var n=r(50819);const o=function(e,t,r,o){"function"==typeof t&&"function"!=typeof r&&(o=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),o)}},84862:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},74502:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},6614:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"@topwrite/reader","version":"1.0.88-alpha.0+3689bb7","author":"yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)","license":"ISC","types":"types/index.d.ts","main":"dist/index.js","files":["dist","types"],"scripts":{"prebuild":"rimraf dist types","build":"webpack --progress","build:dev":"npm run build -- --env dev","serve":"webpack serve --env dev","extract":"formatjs extract src/**/*.{ts,tsx} --out-file src/lang/zh-CN.json --ignore src/global.d.ts --id-interpolation-pattern [sha512:contenthash:base64:6] --additional-function-names $t --format simple","prepack":"npm run build"},"dependencies":{"@topwrite/common":"^1.0.73-alpha.0+3689bb7","@types/color":"^3.0.3","@types/lodash":"^4.14.168","@types/node":"^16.4.13","@types/react":"^18","@types/react-dom":"^18","color":"^4.2.3","dayjs":"^1.10.4","history":"^5.0.0"},"devDependencies":{"@docsearch/css":"^3.2.1","@formatjs/cli":"^5.0.2","@topthink/webpack-config-plugin":"^1.0.16","crypto-browserify":"^3.12.0","path-browserify":"^1.0.1","process":"^0.11.10","query-string":"^7.1.1","rc-tooltip":"^5.1.1","react-loading-bar":"^0.0.7","rimraf":"^3.0.2","stream-browserify":"^3.0.0","typescript":"^5.3.3","webpack":"^5.36.2","webpack-cli":"^4.7.0","webpack-dev-server":"^4.7.3"},"gitHead":"3689bb7825dfaa9a4448c5aa2cd9d6a3e53c9f51"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"c1fe80",267:"960f60",331:"dbe0b3",408:"34768a",769:"14f39b",858:"a4e80b",863:"dc28d1"}[e]+".js",a.miniCssF=e=>e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=a.miniCssF(e),o=a.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(n,o))return t();((e,t,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode&&i.parentNode.removeChild(i),o(u)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,o,null,t,r)})),t={826:0};a.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{408:1,858:1,863:1}[r]&&n.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,(r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,u]=r,c=0;if(i.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>Qe.Z,Article:()=>jt,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>qt,Catalog:()=>zt,CatalogItems:()=>Nt,CompositionInput:()=>t.D7,Config:()=>t.De,File:()=>t.$B,Helmet:()=>t.ql,InjectedComponent:()=>t.cu,InjectedComponentSet:()=>t.IA,IntlContext:()=>t.fH,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>Me.Z,LoadingBar:()=>Ke,Logo:()=>Le,Markdown:()=>Ft,Model:()=>t.Hn,NavLink:()=>He,PageLoader:()=>te,Plugin:()=>t.Sy,PoweredBy:()=>Re,Search:()=>Ve,Spinner:()=>J,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ThemeProvider:()=>t.f6,ToFirstArticle:()=>Vt,Tooltip:()=>Ie,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>Fe,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,date:()=>ke,defineMessage:()=>t.Em,defineMessages:()=>t.vU,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>h.m8,immerable:()=>t.sc,isCancel:()=>t.Mw,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isRequestError:()=>t.N0,isUrl:()=>t.CB,keyframes:()=>t.F4,listStorageKeys:()=>t._f,loadjs:()=>t.j0,markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,produce:()=>t.Uy,request:()=>t.WY,styled:()=>t.zo,useActions:()=>t.ol,useArticle:()=>he.ZP,useAsset:()=>Pe,useAssetUrl:()=>Ce,useAsync:()=>t.r5,useAsyncCallback:()=>t.UK,useAsyncEffect:()=>t.bd,useBook:()=>t.CQ,useDebounce:()=>t.Nr,useDocumentTitle:()=>t.jr,useEvent:()=>t.zX,useEventTarget:()=>t.Rs,useFile:()=>oe.Z,useHotkeys:()=>t.y1,useImmer:()=>t.xX,useInPreview:()=>_e,useIntl:()=>t.cw,useIntlContext:()=>t.mP,useLocalStorageState:()=>t.Rr,useLockBodyScroll:()=>Te,useLogo:()=>ve,useModel:()=>t.tT,useNextArticle:()=>he.VI,useOptions:()=>t.D2,usePrevArticle:()=>he.ir,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>pe,useWindowScroll:()=>je.Z,useWindowSize:()=>Oe.Z,windowSizes:()=>Oe.D});var e={};a.r(e),a.d(e,{ask:()=>K,book:()=>S,page:()=>$,search:()=>q});var t=a(20501),r=a(35250);t.$B.prototype[t.sc]=!0;var n=a(87790),o=a.n(n),i=a(45990),u=a.n(i),c=a(366),l=a.n(c),f=(a(81044),a(93344),a(63583),a(65251),a(38664),a(57930),a(69017),a(75591),a(7395),a(96853),a(68546),a(87363)),p=a.n(f),h=a(29736),d=(a(16585),a(11333),a(82357)),m=a.n(d),v=a(32078),g=a.n(v),y=a(33649),b=a.n(y),w=a(74158),E=a.n(w),D=a(12982),x=a.n(D);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}var S=new(function(e){b()(r,e);var t=F(r);function r(){return g()(this,r),t.apply(this,arguments)}return m()(r)}(t.Hn)),A=a(44220),k=a.n(A),C=a(6322),P=a.n(C),O=a(58089),j=a.n(O),T=a(76985),_=a.n(T),R=a(529),B=a.n(R);a(82814),a(60337),a(72336),a(49778),a(27313),a(7190),a(61228),a(70776);function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}function L(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new M(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function M(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return M=function(e){this.s=e,this.n=e.next},M.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new M(e)}var N=function(e){b()(n,e);var r=I(n);function n(){var e;g()(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r.call.apply(r,[this].concat(i)),P()(k()(e),"initialState",{loading:!1,request:t.WY.create(),config:{}}),e}return m()(n,[{key:"subscription",value:function(e){var t=e.fetch,r=h.m8.location;h.m8.listen((function(e){var n=e.location;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((function(){window.scrollTo(0,0)}))),r=n}))}},{key:"fetch",value:function(e){var r=this;return j()(l().mark((function n(){var i,a,s,u,c,f,p,h,d,m,v,g,y;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.setState((function(e){e.loading=!0}));case 2:return n.delegateYield(B()(L(r.getState("book")),_()),"t0",3);case 3:return i=n.t0,n.delegateYield(B()(L(r.getState("page")),_()),"t1",5);case 5:if(a=n.t1,s=a.request,u=a.config,n.prev=8,f=!0,p=decodeURI(e),h=function(){var e=o()(l().mark((function e(){var r,n,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.get(p,u);case 2:return r=e.sent,n=r.data,o=r.status,f=200===o,e.abrupt("return","string"==typeof n?(0,t.He)(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),!i.sha||!("caches"in window)){n.next=32;break}return n.next=15,_()(caches.open("book-".concat(i.id,"-").concat(i.sha)));case 15:return d=n.sent,n.next=18,_()(d.match(p));case 18:if(!(m=n.sent)){n.next=23;break}return n.next=22,_()(m.json());case 22:c=n.sent;case 23:if(c){n.next=30;break}return n.next=26,_()(h());case 26:if(c=n.sent,!f){n.next=30;break}return n.next=30,_()(d.put(p,new Response(JSON.stringify(c),{headers:{"Content-Type":"application/json"},status:200})));case 30:n.next=35;break;case 32:return n.next=34,_()(h());case 34:c=n.sent;case 35:return g=(v=c).file,y=v.lfs,n.next=38,r.setState((function(e){e.file=new t.$B(g),e.lfs=y}));case 38:n.next=44;break;case 40:return n.prev=40,n.t2=n.catch(8),n.next=44,r.setState((function(e){e.error=n.t2}));case 44:return n.prev=44,n.next=47,r.setState((function(e){e.loading=!1}));case 47:return n.finish(44);case 48:case"end":return n.stop()}}),n,null,[[8,40,44,48]])})))()}},{key:"intercept",value:l().mark((function e(t){var r,n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this.getState("page"),"t0",1);case 1:r=e.t0,n=r.request,t(n.interceptors);case 4:case"end":return e.stop()}}),e,this)}))},{key:"updateConfig",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t(e.config)}));case 2:case"end":return e.stop()}}),e,this)}))}]),n}(t.Hn),$=new N;a(33394),a(62443),a(82122),a(25013);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}function z(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new U(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function U(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return U=function(e){this.s=e,this.n=e.next},U.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new U(e)}var q=new(function(e){b()(r,e);var t=H(r);function r(){var e;g()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),P()(k()(e),"initialState",{status:"idle",results:[],query:""}),e}return m()(r,[{key:"fetch",value:function(e){var t=this;return j()(l().mark((function r(){var n,o,i,a,s,u;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=27;break}return r.next=4,t.setState((function(t){t.query=e,t.status="loading"}));case 4:return r.delegateYield(B()(z(t.getState("search")),_()),"t0",5);case 5:if(n=r.t0,o=n.handler,i=n.part,o){r.next=13;break}return r.delegateYield(B()(z(t.getState("book")),_()),"t1",10);case 10:a=r.t1,s=a.summary,o=function(){var t=[];return s.getArticle((function(r){var n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1}),(function(e){return!i||e.level.toString()===i})),t};case 13:return r.prev=13,r.next=16,_()(o(e,i));case 16:return u=r.sent,r.next=19,t.setState((function(e){e.results=u,e.status="idle"}));case 19:r.next=25;break;case 21:return r.prev=21,r.t2=r.catch(13),r.next=25,t.setState((function(e){e.results=[],e.status="error"}));case 25:r.next=29;break;case 27:return r.next=29,t.setState((function(t){t.query=e,t.status="idle",t.results=[]}));case 29:case"end":return r.stop()}}),r,null,[[13,21]])})))()}},{key:"setPart",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.status="idle",e.results=[],e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn));function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}function W(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new G(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function G(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return G=function(e){this.s=e,this.n=e.next},G.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new G(e)}var Z,K=new(function(e){b()(r,e);var t=V(r);function r(){var e;g()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),P()(k()(e),"initialState",{enable:!1,status:"idle",query:"",answer:""}),e}return m()(r,[{key:"fetch",value:function(e){var t=this;return j()(l().mark((function r(){var n,o,i,a,s;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=31;break}return r.delegateYield(B()(W(t.getState("ask")),_()),"t0",3);case 3:if(n=r.t0,o=n.handler,i=n.part,!o){r.next=31;break}return r.prev=7,r.next=10,t.setState((function(t){t.query=e,t.status="loading",t.answer=""}));case 10:return r.next=12,_()(o(e,i));case 12:return a=r.sent,r.next=15,t.setState((function(e){e.status="stalled"}));case 15:s=l().mark((function e(){var r,n,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_()(a.read());case 2:if(r=e.sent,n=r.done,o=r.value,!n){e.next=7;break}return e.abrupt("return","break");case 7:return e.next=9,t.setState((function(e){e.answer+=o}));case 9:case"end":return e.stop()}}),e)}));case 16:return r.delegateYield(s(),"t1",18);case 18:if("break"!==r.t1){r.next=21;break}return r.abrupt("break",23);case 21:r.next=16;break;case 23:return r.next=25,t.setState((function(e){e.status="idle"}));case 25:r.next=31;break;case 27:return r.prev=27,r.t2=r.catch(7),r.next=31,t.setState((function(e){e.answer="",e.status="error"}));case 31:case"end":return r.stop()}}),r,null,[[7,27]])})))()}},{key:"setPart",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.answer="",e.status="idle",e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t,e.enable=!!t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn)),Q=a(52815),Y=a(28056),X=a.n(Y);const J=t.zo.div(Z||(Z=X()(["\n @keyframes spinner-border {\n to {\n transform: rotate(360deg)\n }\n }\n\n display: inline-block;\n width: 2rem;\n height: 2rem;\n vertical-align: -0.125em;\n border: 0.25em solid var(--ttw-primary-color, #3c60ff);\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"])));var ee;function te(){return(0,r.jsx)(ne,{children:(0,r.jsx)(J,{})})}var re,ne=t.zo.div(ee||(ee=X()(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),oe=a(52738),ie=a(47851),ae=a.n(ie),se=(0,f.createContext)(void 0);function ue(e){var n=e.children,i=(0,oe.Z)(),a=(0,t.LU)(),s=(0,t.r5)(o()(l().mark((function e(){var r,n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,t.WY)(i.relative(t.fy.style));case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)}))),[]),u=s.result,c=s.loading,p=(0,f.useMemo)((function(){return{primaryColor:new(ae())(a.primaryColor)}}),[a]);return c?null:(0,r.jsx)(se.Provider,{value:u,children:(0,r.jsxs)(t.f6,{theme:p,children:[(0,r.jsx)(ce,{}),n]})})}var ce=(0,t.vJ)(re||(re=X()(["\n :root {\n --ttw-primary-color: ",";\n }\n"])),(function(e){return e.theme.primaryColor.toString()}));var le=a(12147),fe=a.n(le);a(43934),a(17915);function pe(){var e=(0,t.cw)();return(0,t.CQ)().config.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}var he=a(5576),de=(a(66164),a(7525),(0,f.createContext)(void 0));function me(e){var n=e.children,o=(0,f.useState)((function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})),i=u()(o,2),a=i[0],s=i[1],c=(0,oe.Z)();return(0,f.useEffect)((function(){var e=c.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){var e=document.createElement("canvas");e.height=this.height,e.width=this.width;var t=e.getContext("2d");if(t)try{t.drawImage(this,0,0),e.toBlob((function(e){e&&s(window.URL.createObjectURL(e))}))}catch(e){console.warn(e)}})),r.src=e}),[]),(0,r.jsx)(de.Provider,{value:a,children:n})}function ve(){return(0,f.useContext)(de)}var ge=a(22827),ye=p().lazy((function(){return a.e(858).then(a.bind(a,48858))}));function be(){var e=(0,t.CQ)().summary,n=pe(),o=(0,oe.Z)(),i=(0,f.useMemo)((function(){return e.getArticle((function(e){return e.getPath()===o.path}))}),[e,o]);(0,f.useEffect)((function(){window.parent!==window&&(window.addEventListener("message",(function(e){try{var t=fe()(e.data),r=t[0],n=t[1],o=t.slice(2);if("history"===r)switch(n){case"replace":h.m8.replace(o[0]);break;case"push":h.m8.push(o[0])}}catch(e){}})),h.m8.listen((function(e){var t="".concat(window.location.origin).concat((0,ge.Ep)(e.location));window.parent.postMessage(["history",e.action.toLowerCase(),t],"*")})),window.parent.postMessage(["bootstrapped"],"*")),window.dispatchEvent(new Event("bootstrapped"))}),[]);var a=ve();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.ql,{children:[(0,r.jsx)("title",{children:"".concat(i?"".concat(i.title," - "):"").concat(n)}),(0,r.jsx)("link",{rel:"shortcut icon",href:a,type:"image/png"})]}),(0,r.jsxs)(he.Q3.Provider,{value:i,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(p().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:ye})})]})]})}var we=a(47354),Ee=a.n(we);function De(){var n=(0,f.useState)(),i=u()(n,2),s=i[0],c=i[1];return(0,t.bd)(o()(l().mark((function n(){var i,s,u,f,p,d,m,v,g,y,b,w,E,D,x,F,S,A,k,C,P,O,j,T;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,i=(0,h.fi)(),s=i.location,u=(0,t.He)()){n.next=8;break}return n.next=6,t.WY.get(s.toString());case 6:f=n.sent,u=f.data;case 8:return d=(p=u).id,m=p.sha,v=p.metadata,g=void 0===v?{}:v,y=p.summary,b=p.file,w=p.config,E=void 0===w?{}:w,D=p.options,x=void 0===D?{}:D,F=p.lfs,S=p.pluginCenter,A=t.De.createFromObject(E),k=t.ER.create(y),C=new t.fy(d,A,k,g,m),P={page:{config:{params:Q.parse(s.search)},file:new t.$B(b),lfs:F},options:x},n.next=15,(0,t.W3)({name:"reader",book:C,models:e,initialState:P,locale:A.getValue("language","zh-CN"),theme:A.getValue(["themeConfig","defaultMode"],"light"),localize:function(){var e=o()(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.startsWith("zh")){e.next=7;break}return e.next=3,a.e(769).then(a.t.bind(a,87769,23));case 3:return Ee().locale("zh-cn"),e.abrupt("return",a.e(267).then(a.t.bind(a,53267,19)));case 7:return e.abrupt("return",a.e(7).then(a.t.bind(a,82007,19)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pluginCenter:S});case 15:O=n.sent,j=(0,r.jsx)(O,{children:(0,r.jsx)(me,{children:(0,r.jsx)(ue,{children:(0,r.jsx)(be,{})})})}),c(j),n.next=24;break;case 20:n.prev=20,n.t0=n.catch(0),console.error(n.t0),t.WY.isAxiosError(n.t0)?c((null===(T=n.t0.response)||void 0===T?void 0:T.data)||n.t0.message):c(n.t0.message);case 24:case"end":return n.stop()}}),n,null,[[0,20]])}))),[]),s||(0,r.jsx)(te,{})}var xe=a(61533);const Fe=function(){var e=document.getElementById("root");e&&(0,xe.createRoot)(e).render((0,r.jsx)(De,{}))};a(80532),a(83473),a(51913),a(43050),a(98006);var Se=a(82386),Ae=a.n(Se);Date.prototype.format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e},Ee().extend(Ae());const ke=Ee();function Ce(e){var r=(0,t.v9)("page"),n=r.lfs,o=r.file;if(n){var i=n.url,a=n.files[e];if(a)return i.replace("{oid}",a)}return o.relative(e)}function Pe(){var e=(0,t.v9)("page"),r=e.lfs,n=e.file;return{getUrl:function(e){if((0,t.CB)(e))return e;if(r){var o=r.url,i=r.files[e];if(i)return o.replace("{oid}",i)}return n.relative(e)},upload:function(e,t){throw new Error("upload not support in reader context")}}}var Oe=a(89482),je=a(19035);function Te(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,f.useEffect)((function(){if(e)return document.body.style.overflow="hidden",t&&window.scrollTo(0,0),function(){document.body.style.overflow="visible"}}),[e])}function _e(){var e=(0,t.v9)("options").preview;return void 0!==e&&e}a(53915),a(23740);function Re(e){var n=e.className,o=(0,t.cw)(),i=(0,t.v9)("options").poweredBy;return i?(0,r.jsx)("div",{className:n,children:o.formatMessage({id:"YMZgTe",defaultMessage:[{type:0,value:"由 "},{type:1,value:"link"},{type:0,value:" 强力驱动"}]},{link:(0,r.jsx)("a",{href:i.link,target:"_blank",children:i.name})})}):null}var Be=a(56261);function Ie(e){var t=e.tooltip,n=e.children,o=e.placement,i=void 0===o?"left":o,a=e.wrap;return void 0!==a&&a&&(n=(0,r.jsx)("span",{children:n})),(0,r.jsx)(Be.Z,{overlay:t,placement:i,getTooltipContainer:function(e){return e.parentElement||document.body},children:n})}function Le(e){var t=e.size,n=void 0===t?60:t,o=e.className,i=ve();return(0,r.jsx)("img",{className:o,src:i,width:n,height:n,alt:"logo"})}var Me=a(81163),Ne=a(18887),$e=a.n(Ne);function He(e){var n=e.url,o=e.title,i=e.className,a=(0,t.CQ)().summary;if(!n.startsWith("http")&&".md"===$e().extname(n)){var s=a.getArticle((function(e){return e.ref===n}));if(s)return(0,r.jsx)(Me.Z,{className:i,to:s,children:o})}return(0,r.jsx)("a",{className:i,href:n,target:"_blank",children:o})}a(25444),a(44703),a(19855),a(77389),a(37607),a(55126),a(87462),a(5148);function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var qe=(0,f.lazy)((function(){return a.e(863).then(a.bind(a,35863))}));function Ve(e){return(0,r.jsx)(f.Suspense,{fallback:null,children:(0,r.jsx)(qe,Ue({},e))})}function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ze=(0,f.lazy)((function(){return Promise.all([a.e(331),a.e(408)]).then(a.bind(a,37408))}));function Ke(e){return(0,r.jsx)(f.Suspense,{fallback:null,children:(0,r.jsx)(Ze,Ge({},e))})}var Qe=a(26669),Ye=a(64020),Xe=a.n(Ye),Je=a(34889),et=a.n(Je),tt=["element","src"],rt=["src"];function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function it(e){var n=e.element,o=e.src,i=et()(e,tt),a=(0,t.v9)("page"),s=a.lfs,u=a.file;if(o&&!(0,t.CB)(o)&&u&&s){var c=s.url,l=s.files[u.resolve(decodeURIComponent(o))];l&&(o=c.replace("{oid}",l))}var p=(0,f.useCallback)((function(e){var o=e.src,i=et()(e,rt);return o&&!(0,t.CB)(o)&&u&&o.startsWith("/")&&(o=u.relative(o.slice(1))),(0,r.jsx)(t.cu,{role:"page:asset",props:ot({src:o},i),component:n})}),[n]);return(0,r.jsx)(t.cu,{role:"page:asset:source",props:ot({src:o},i),component:p})}function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"img"},e))}function ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ct(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"t-attachment"},e))}function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"video"},e))}function pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ht(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"audio"},e))}function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vt(e){var t=(0,he.ZP)();return(0,r.jsx)(Qe.Z,mt(mt({},e),{},{base:t}))}var gt,yt,bt,wt,Et=["children","components"];function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ft(e){var n=e.children,o=e.components,i=et()(e,Et),a=(0,f.useContext)(se);return(0,r.jsx)(t.UG,xt(xt({},i),{},{css:a,loader:(0,r.jsx)(J,{}),components:(0,f.useMemo)((function(){return xt({a:vt,img:st,attachment:ct,video:ft,audio:ht},o)}),[o]),children:n}))}var St=["depth","id","children"],At=["className","header","footer","offset","aside"];function kt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ct(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pt={heading:function(e){var t=e.depth,n=e.id,o=e.children,i=et()(e,St);return n&&(o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Tt,{tabIndex:-1,id:n}),o]})),(0,f.createElement)("h".concat(t),i,o)}},Ot=function(e){if(e){var t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}};function jt(e){var n=e.className,o=e.header,i=e.footer,a=e.offset,s=e.aside,u=void 0===s||s,c=et()(e,At),l=(0,oe.Z)(),p=(0,he.ZP)();(0,f.useEffect)((function(){Ot(h.m8.location.hash);var e=h.m8.listen((function(e){Ot(e.location.hash)}));return function(){e()}}),[l.path]),void 0===o&&p&&(o=(0,r.jsx)(Rt,{children:p.title})),o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),o,(0,r.jsx)(t.IA,{role:"page:article:content:before"})]}),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:content:after"}),i,(0,r.jsx)(t.IA,{role:"page:article:after"})]}),u&&(u={header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:aside:before"}),"object"===Xe()(u)&&u.header]}),footer:(0,r.jsxs)(r.Fragment,{children:["object"===Xe()(u)&&u.footer,(0,r.jsx)(t.IA,{role:"page:article:aside:after"})]})});var d=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:Ft,props:Ct({header:o,footer:i,aside:u,children:l.content,components:Pt},c)});return(0,r.jsx)(_t,{className:n,offset:a,children:d},l.path)}var Tt=t.zo.a(gt||(gt=X()(["\n display: block;\n position: relative;\n top: -.5em;\n"]))),_t=t.zo.div(yt||(yt=X()(["\n ","\n"])),(function(e){return e.offset&&(0,t.iv)(bt||(bt=X()(["\n "," {\n top: calc(-.5em - ","px);\n }\n "])),Tt,e.offset)})),Rt=t.zo.h1(wt||(wt=X()(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),Bt=a(45471),It=a.n(Bt),Lt=(a(8213),a(94332),function(e){var n=e.item,o=e.itemComponent,i=e.itemsComponent,a=(0,oe.Z)().path,s=(0,he.ZP)(),c=(0,t.LU)(),l=(0,f.useMemo)((function(){return Boolean(s&&n.getLevel().isDescendant(s.getLevel()))}),[n,s]),p=a===n.getPath(),h=(0,f.useState)((function(){return-1===c.expandLevel||c.expandLevel>=n.level.getDepth()||(l||p)})),d=u()(h,2),m=d[0],v=d[1];(0,f.useEffect)((function(){!m&&p&&v(!0)}),[p]),(0,f.useEffect)((function(){!m&&l&&v(!0)}),[l]);var g=n.children.length>0,y=!n.getPath(),b=g?(0,r.jsx)(Nt,{itemsComponent:i,itemComponent:o,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,open:m,setOpen:v,active:p,disabled:y,activeDescendant:l,children:b},component:o})}),Mt=function(e){var t=e.children;return(0,r.jsx)("ul",{children:t})},Nt=function(e){var n=e.items,o=e.part,i=e.itemsComponent,a=void 0===i?Mt:i,s=e.itemComponent,u=(0,r.jsx)(r.Fragment,{children:n.map((function(e){return(0,r.jsx)(Lt,{itemsComponent:a,itemComponent:s,item:e},e.level.toString())}))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:o,children:u},component:a})},$t=function(e){var n=e.part,o=e.component,i=e.itemsComponent,a=e.itemComponent,s=(0,r.jsx)(Nt,{itemsComponent:i,itemComponent:a,items:n.articles,part:n});return(0,r.jsx)(t.cu,{role:"catalog:part",props:{part:n,children:s},component:o})},Ht=function(e){var t=e.summary,n=e.partComponent,o=e.itemsComponent,i=e.itemComponent;return t.isSinglePart()?(0,r.jsx)(Nt,{itemsComponent:o,itemComponent:i,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((function(e){return(0,r.jsx)($t,{component:n,itemsComponent:o,itemComponent:i,part:e},e.level.toString())}))})};function zt(e){var n=Object.assign({},(It()(e),e)),o=(0,t.v9)("book").summary,i=n.renderItem,a=n.renderPart;i&&(console.warn("renderItem deprecated"),n.itemComponent=i),a&&(console.warn("renderPart deprecated"),n.partComponent=a);var s=n.partComponent,u=n.itemsComponent,c=n.itemComponent;return(0,r.jsx)(Ht,{summary:o,partComponent:s,itemsComponent:u,itemComponent:c})}a(75041);var Ut=function(e){return e instanceof t.oI?(0,r.jsx)(Me.Z,{to:e}):e.title};function qt(e){var n=e.className,o=e.renderItem,i=void 0===o?Ut:o,a=(0,t.CQ)().summary,s=(0,he.ZP)(),u=(0,t.cw)().formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]}),c=[(0,r.jsx)("li",{children:(0,r.jsx)(Me.Z,{to:".",children:u})},"0")];if(s){var l=s.getLevel();l.data.reduce((function(e,n){e.push(n);var o,s=new t.aC(e),u=a.getByLevel(s);u&&(o=s.eq(l)?u.title:i(u),c.push((0,r.jsx)("li",{children:o},s.toString())));return e}),[])}return(0,r.jsx)("ol",{className:n,children:c})}function Vt(e){var r=e.children,n=(0,t.CQ)().summary,o=(0,he.ZP)(),i=(0,oe.Z)();return(0,f.useEffect)((function(){if(!o){var e=n.getFirstArticle();e&&h.m8.replace(i.relative(e.path))}}),[o]),o?r:null}!function(){console.log("%cWelcome to TopWrite!%c\n","padding-top: 0.5em; font-size: 2em;","padding-bottom: 0.5em;");var e=a(4147);console.log("[ua:version] ".concat(navigator.userAgent)),console.log("[client:version] v".concat(e.version))}()})(),window.TopWrite=s})();
|
|
447
|
+
!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,o=1;o<n;++o)t[o]=t[o].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function i(e){return null!=e?e instanceof Array?e:"number"!=typeof e.length||e.split||e.setInterval||e.call?[e]:Array.prototype.slice.call(e):[]}function a(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}function s(e){var n="[A-Za-z]",o="[0-9]",i=t(o,"[A-Fa-f]"),a=r(r("%[EFef]"+i+"%"+i+i+"%"+i+i)+"|"+r("%[89A-Fa-f]"+i+"%"+i+i)+"|"+r("%"+i+i)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",u=t("[\\:\\/\\?\\#\\[\\]\\@]",s),c=e?"[\\uE000-\\uF8FF]":"[]",l=t(n,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),f=r(n+t(n,o,"[\\+\\-\\.]")+"*"),p=r(r(a+"|"+t(l,s,"[\\:]"))+"*"),h=(r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("[1-9]"+o)+"|"+o),r(r("25[0-5]")+"|"+r("2[0-4]"+o)+"|"+r("1"+o+o)+"|"+r("0?[1-9]"+o)+"|0?0?"+o)),d=r(h+"\\."+h+"\\."+h+"\\."+h),m=r(i+"{1,4}"),v=r(r(m+"\\:"+m)+"|"+d),g=r(r(m+"\\:")+"{6}"+v),y=r("\\:\\:"+r(m+"\\:")+"{5}"+v),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+v),w=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+v),E=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+v),D=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+v),x=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+v),F=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),S=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),A=r([g,y,b,w,E,D,x,F,S].join("|")),k=r(r(l+"|"+a)+"+"),C=(r(A+"\\%25"+k),r(A+r("\\%25|\\%(?!"+i+"{2})")+k)),P=r("[vV]"+i+"+\\."+t(l,s,"[\\:]")+"+"),O=r("\\["+r(C+"|"+A+"|"+P)+"\\]"),j=r(r(a+"|"+t(l,s))+"*"),T=r(O+"|"+d+"(?!"+j+")|"+j),_=r(o+"*"),R=r(r(p+"@")+"?"+T+r("\\:"+_)+"?"),B=r(a+"|"+t(l,s,"[\\:\\@]")),I=r(B+"*"),L=r(B+"+"),M=r(r(a+"|"+t(l,s,"[\\@]"))+"+"),N=r(r("\\/"+I)+"*"),$=r("\\/"+r(L+N)+"?"),H=r(M+N),z=r(L+N),U="(?!"+B+")",q=(r(N+"|"+$+"|"+H+"|"+z+"|"+U),r(r(B+"|"+t("[\\/\\?]",c))+"*")),V=r(r(B+"|[\\/\\?]")+"*"),W=r(r("\\/\\/"+R+N)+"|"+$+"|"+z+"|"+U),G=r(f+"\\:"+W+r("\\?"+q)+"?"+r("\\#"+V)+"?"),Z=r(r("\\/\\/"+R+N)+"|"+$+"|"+H+"|"+U),K=r(Z+r("\\?"+q)+"?"+r("\\#"+V)+"?");return r(G+"|"+K),r(f+"\\:"+W+r("\\?"+q)+"?"),r(r("\\/\\/("+r("("+p+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+U+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+H+"|"+U+")"),r("\\?("+q+")"),r("\\#("+V+")"),r(r("\\/\\/("+r("("+p+")@")+"?("+T+")"+r("\\:("+_+")")+"?)")+"?("+N+"|"+$+"|"+z+"|"+U+")"),r("\\?("+q+")"),r("\\#("+V+")"),r("("+p+")@"),r("\\:("+_+")"),{NOT_SCHEME:new RegExp(t("[^]",n,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",l,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",l,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",l,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",l,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]",c),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",l,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",l,s),"g"),UNRESERVED:new RegExp(l,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",l,u),"g"),PCT_ENCODED:new RegExp(a,"g"),IPV4ADDRESS:new RegExp("^("+d+")$"),IPV6ADDRESS:new RegExp("^\\[?("+A+")"+r(r("\\%25|\\%(?!"+i+"{2})")+"("+k+")")+"?\\]?$")}}var u=s(!1),c=s(!0),l=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},p=2147483647,h=36,d=1,m=26,v=38,g=700,y=72,b=128,w="-",E=/^xn--/,D=/[^\0-\x7E]/,x=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=h-d,A=Math.floor,k=String.fromCharCode;function C(e){throw new RangeError(F[e])}function P(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}function O(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+P((e=e.replace(x,".")).split("."),t).join(".")}function j(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}var T=function(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:h},_=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},R=function(e,t,r){var n=0;for(e=r?A(e/g):e>>1,e+=A(e/t);e>S*m>>1;n+=h)e=A(e/S);return A(n+(S+1)*e/(e+v))},B=function(e){var t=[],r=e.length,n=0,o=b,i=y,a=e.lastIndexOf(w);a<0&&(a=0);for(var s=0;s<a;++s)e.charCodeAt(s)>=128&&C("not-basic"),t.push(e.charCodeAt(s));for(var u=a>0?a+1:0;u<r;){for(var c=n,l=1,f=h;;f+=h){u>=r&&C("invalid-input");var v=T(e.charCodeAt(u++));(v>=h||v>A((p-n)/l))&&C("overflow"),n+=v*l;var g=f<=i?d:f>=i+m?m:f-i;if(v<g)break;var E=h-g;l>A(p/E)&&C("overflow"),l*=E}var D=t.length+1;i=R(n-c,D,0==c),A(n/D)>p-o&&C("overflow"),o+=A(n/D),n%=D,t.splice(n++,0,o)}return String.fromCodePoint.apply(String,t)},I=function(e){var t=[],r=(e=j(e)).length,n=b,o=0,i=y,a=!0,s=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value;f<128&&t.push(k(f))}}catch(e){s=!0,u=e}finally{try{!a&&l.return&&l.return()}finally{if(s)throw u}}var v=t.length,g=v;for(v&&t.push(w);g<r;){var E=p,D=!0,x=!1,F=void 0;try{for(var S,P=e[Symbol.iterator]();!(D=(S=P.next()).done);D=!0){var O=S.value;O>=n&&O<E&&(E=O)}}catch(e){x=!0,F=e}finally{try{!D&&P.return&&P.return()}finally{if(x)throw F}}var T=g+1;E-n>A((p-o)/T)&&C("overflow"),o+=(E-n)*T,n=E;var B=!0,I=!1,L=void 0;try{for(var M,N=e[Symbol.iterator]();!(B=(M=N.next()).done);B=!0){var $=M.value;if($<n&&++o>p&&C("overflow"),$==n){for(var H=o,z=h;;z+=h){var U=z<=i?d:z>=i+m?m:z-i;if(H<U)break;var q=H-U,V=h-U;t.push(k(_(U+q%V,0))),H=A(q/V)}t.push(k(_(H,0))),i=R(o,T,g==v),o=0,++g}}}catch(e){I=!0,L=e}finally{try{!B&&N.return&&N.return()}finally{if(I)throw L}}++o,++n}return t.join("")},L=function(e){return O(e,(function(e){return E.test(e)?B(e.slice(4).toLowerCase()):e}))},M=function(e){return O(e,(function(e){return D.test(e)?"xn--"+I(e):e}))},N={version:"2.1.0",ucs2:{decode:j,encode:function(e){return String.fromCodePoint.apply(String,f(e))}},decode:B,encode:I,toASCII:M,toUnicode:L},$={};function H(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function z(e){for(var t="",r=0,n=e.length;r<n;){var o=parseInt(e.substr(r+1,2),16);if(o<128)t+=String.fromCharCode(o),r+=3;else if(o>=194&&o<224){if(n-r>=6){var i=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(r,6);r+=6}else if(o>=224){if(n-r>=9){var a=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&a)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function U(e,t){function r(e){var r=z(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,H).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,H).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,H).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,H).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,H).replace(t.PCT_ENCODED,o)),e}function q(e){return e.replace(/^0*(.*)/,"$1")||"0"}function V(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=l(r,2)[1];return n?n.split(".").map(q).join("."):e}function W(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=l(r,3),o=n[1],i=n[2];if(o){for(var a=o.toLowerCase().split("::").reverse(),s=l(a,2),u=s[0],c=s[1],f=c?c.split(":").map(q):[],p=u.split(":").map(q),h=t.IPV4ADDRESS.test(p[p.length-1]),d=h?7:8,m=p.length-d,v=Array(d),g=0;g<d;++g)v[g]=f[g]||p[m+g]||"";h&&(v[d-1]=V(v[d-1],t));var y=v.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var w=v.slice(0,y.index),E=v.slice(y.index+y.length);b=w.join(":")+"::"+E.join(":")}else b=v.join(":");return i&&(b+="%"+i),b}return e}var G=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Z=void 0==="".match(/(){0}/)[1];function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(G);if(o){Z?(r.scheme=o[1],r.userinfo=o[3],r.host=o[4],r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=o[7],r.fragment=o[8],isNaN(r.port)&&(r.port=o[5])):(r.scheme=o[1]||void 0,r.userinfo=-1!==e.indexOf("@")?o[3]:void 0,r.host=-1!==e.indexOf("//")?o[4]:void 0,r.port=parseInt(o[5],10),r.path=o[6]||"",r.query=-1!==e.indexOf("?")?o[7]:void 0,r.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),r.host&&(r.host=W(V(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var i=$[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)U(r,n);else{if(r.host&&(t.domainHost||i&&i.domainHost))try{r.host=N.toASCII(r.host.replace(n.PCT_ENCODED,z).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}U(r,u)}i&&i.parse&&i.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function Q(e,t){var r=!1!==t.iri?c:u,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(W(V(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var Y=/^\.\.?\//,X=/^\/\.(\/|$)/,J=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(Y))e=e.replace(Y,"");else if(e.match(X))e=e.replace(X,"/");else if(e.match(J))e=e.replace(J,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(ee);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?c:u,n=[],o=$[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?N.toUnicode(e.host):N.toASCII(e.host.replace(r.PCT_ENCODED,z).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}U(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var i=Q(e,t);if(void 0!==i&&("suffix"!==t.reference&&n.push("//"),n.push(i),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var a=e.path;t.absolutePath||o&&o.absolutePath||(a=te(a)),void 0===i&&(a=a.replace(/^\/\//,"/%2F")),n.push(a)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function ne(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=K(re(e,r),r),t=K(re(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=te(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=te(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function oe(e,t,r){var n=a({scheme:"null"},r);return re(ne(K(e,n),K(t,n),n,!0),n)}function ie(e,t){return"string"==typeof e?e=re(K(e,t),t):"object"===n(e)&&(e=K(re(e,t),t)),e}function ae(e,t,r){return"string"==typeof e?e=re(K(e,r),r):"object"===n(e)&&(e=re(e,r)),"string"==typeof t?t=re(K(t,r),r):"object"===n(t)&&(t=re(t,r)),e===t}function se(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,H)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,z)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var pe={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=fe(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=l(r,2),o=n[0],i=n[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:pe.domainHost,parse:pe.parse,serialize:pe.serialize},de={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ve="[0-9A-Fa-f]",ge=r(r("%[EFef]"+ve+"%"+ve+ve+"%"+ve+ve)+"|"+r("%[89A-Fa-f]"+ve+"%"+ve+ve)+"|"+r("%"+ve+ve)),ye="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),we="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",Ee=new RegExp(me,"g"),De=new RegExp(ge,"g"),xe=new RegExp(t("[^]",ye,"[\\.]",'[\\"]',be),"g"),Fe=new RegExp(t("[^]",me,we),"g"),Se=Fe;function Ae(e){var t=z(e);return t.match(Ee)?t:e}var ke={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var o=!1,i={},a=r.query.split("&"),s=0,u=a.length;s<u;++s){var c=a[s].split("=");switch(c[0]){case"to":for(var l=c[1].split(","),f=0,p=l.length;f<p;++f)n.push(l[f]);break;case"subject":r.subject=ue(c[1],t);break;case"body":r.body=ue(c[1],t);break;default:o=!0,i[ue(c[0],t)]=ue(c[1],t)}}o&&(r.headers=i)}r.query=void 0;for(var h=0,d=n.length;h<d;++h){var m=n[h].split("@");if(m[0]=ue(m[0]),t.unicodeSupport)m[1]=ue(m[1],t).toLowerCase();else try{m[1]=N.toASCII(ue(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[h]=m.join("@")}return r},serialize:function(e,t){var r=e,n=i(e.to);if(n){for(var a=0,s=n.length;a<s;++a){var u=String(n[a]),c=u.lastIndexOf("@"),l=u.slice(0,c).replace(De,Ae).replace(De,o).replace(xe,H),f=u.slice(c+1);try{f=t.iri?N.toUnicode(f):N.toASCII(ue(f,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}n[a]=l+"@"+f}r.path=n.join(",")}var p=e.headers=e.headers||{};e.subject&&(p.subject=e.subject),e.body&&(p.body=e.body);var h=[];for(var d in p)p[d]!==de[d]&&h.push(d.replace(De,Ae).replace(De,o).replace(Fe,H)+"="+p[d].replace(De,Ae).replace(De,o).replace(Se,H));return h.length&&(r.query=h.join("&")),r}},Ce=/^([^\:]+)\:(.*)/,Pe={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(Ce),n=e;if(r){var o=t.scheme||n.scheme||"urn",i=r[1].toLowerCase(),a=r[2],s=o+":"+(t.nid||i),u=$[s];n.nid=i,n.nss=a,n.path=void 0,u&&(n=u.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,o=r+":"+(t.nid||n),i=$[o];i&&(e=i.serialize(e,t));var a=e,s=e.nss;return a.path=(n||t.nid)+":"+s,a}},Oe=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,je={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(Oe)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};$[ce.scheme]=ce,$[le.scheme]=le,$[pe.scheme]=pe,$[he.scheme]=he,$[ke.scheme]=ke,$[Pe.scheme]=Pe,$[je.scheme]=je,e.SCHEMES=$,e.pctEncChar=H,e.pctDecChars=z,e.parse=K,e.removeDotSegments=te,e.serialize=re,e.resolveComponents=ne,e.resolve=oe,e.normalize=ie,e.equal=ae,e.escapeComponent=se,e.unescapeComponent=ue,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3040:(e,t,r)=>{"use strict";var n=r(74870),o=r(54783);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=b,t.resolve=function(e,t){return b(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?b(e,!1,!0).resolveObject(t):t},t.format=function(e){o.isString(e)&&(e=b(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(c),f=["%","/","?",";","#"].concat(l),p=["/","?","#"],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},v={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=r(54415);function b(e,t,r){if(e&&o.isObject(e)&&e instanceof i)return e;var n=new i;return n.parse(e,t,r),n}i.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),s=-1!==i&&i<e.indexOf("#")?"?":"#",c=e.split(s);c[0]=c[0].replace(/\\/g,"/");var b=e=c.join(s);if(b=b.trim(),!r&&1===e.split("#").length){var w=u.exec(b);if(w)return this.path=b,this.href=b,this.pathname=w[1],w[2]?(this.search=w[2],this.query=t?y.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var E=a.exec(b);if(E){var D=(E=E[0]).toLowerCase();this.protocol=D,b=b.substr(E.length)}if(r||E||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===b.substr(0,2);!x||E&&v[E]||(b=b.substr(2),this.slashes=!0)}if(!v[E]&&(x||E&&!g[E])){for(var F,S,A=-1,k=0;k<p.length;k++){-1!==(C=b.indexOf(p[k]))&&(-1===A||C<A)&&(A=C)}-1!==(S=-1===A?b.lastIndexOf("@"):b.lastIndexOf("@",A))&&(F=b.slice(0,S),b=b.slice(S+1),this.auth=decodeURIComponent(F)),A=-1;for(k=0;k<f.length;k++){var C;-1!==(C=b.indexOf(f[k]))&&(-1===A||C<A)&&(A=C)}-1===A&&(A=b.length),this.host=b.slice(0,A),b=b.slice(A),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var O=this.hostname.split(/\./),j=(k=0,O.length);k<j;k++){var T=O[k];if(T&&!T.match(h)){for(var _="",R=0,B=T.length;R<B;R++)T.charCodeAt(R)>127?_+="x":_+=T[R];if(!_.match(h)){var I=O.slice(0,k),L=O.slice(k+1),M=T.match(d);M&&(I.push(M[1]),L.unshift(M[2])),L.length&&(b="/"+L.join(".")+b),this.hostname=I.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),P||(this.hostname=n.toASCII(this.hostname));var N=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+N,this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!m[D])for(k=0,j=l.length;k<j;k++){var H=l[k];if(-1!==b.indexOf(H)){var z=encodeURIComponent(H);z===H&&(z=escape(H)),b=b.split(H).join(z)}}var U=b.indexOf("#");-1!==U&&(this.hash=b.substr(U),b=b.slice(0,U));var q=b.indexOf("?");if(-1!==q?(this.search=b.substr(q),this.query=b.substr(q+1),t&&(this.query=y.parse(this.query)),b=b.slice(0,q)):t&&(this.search="",this.query={}),b&&(this.pathname=b),g[D]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){N=this.pathname||"";var V=this.search||"";this.path=N+V}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,a="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=y.stringify(this.query));var s=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||g[t])&&!1!==i?(i="//"+(i||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),s&&"?"!==s.charAt(0)&&(s="?"+s),t+i+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+n},i.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(o.isString(e)){var t=new i;t.parse(e,!1,!0),e=t}for(var r=new i,n=Object.keys(this),a=0;a<n.length;a++){var s=n[a];r[s]=this[s]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),c=0;c<u.length;c++){var l=u[c];"protocol"!==l&&(r[l]=e[l])}return g[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!g[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];r[h]=e[h]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||v[e.protocol])r.pathname=e.pathname;else{for(var d=(e.pathname||"").split("/");d.length&&!(e.host=d.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==d[0]&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",y=r.search||"";r.path=m+y}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var b=r.pathname&&"/"===r.pathname.charAt(0),w=e.host||e.pathname&&"/"===e.pathname.charAt(0),E=w||b||r.host&&e.pathname,D=E,x=r.pathname&&r.pathname.split("/")||[],F=(d=e.pathname&&e.pathname.split("/")||[],r.protocol&&!g[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(""===x[0]?x[0]=r.host:x.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===d[0]?d[0]=e.host:d.unshift(e.host)),e.host=null),E=E&&(""===d[0]||""===x[0])),w)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,x=d;else if(d.length)x||(x=[]),x.pop(),x=x.concat(d),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(F)r.hostname=r.host=x.shift(),(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!x.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var S=x.slice(-1)[0],A=(r.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,k=0,C=x.length;C>=0;C--)"."===(S=x[C])?x.splice(C,1):".."===S?(x.splice(C,1),k++):k&&(x.splice(C,1),k--);if(!E&&!D)for(;k--;k)x.unshift("..");!E||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),A&&"/"!==x.join("/").substr(-1)&&x.push("");var P,O=""===x[0]||x[0]&&"/"===x[0].charAt(0);F&&(r.hostname=r.host=O?"":x.length?x.shift():"",(P=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=P.shift(),r.host=r.hostname=P.shift()));return(E=E||r.host&&x.length)&&!O&&x.unshift(""),x.length?r.pathname=x.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},54783:e=>{"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},2439:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},42406:(e,t,r)=>{"use strict";var n=r(7974),o=r(50434),i=r(3615),a=r(36466);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,c="undefined"!=typeof Symbol,l=s(Object.prototype.toString),f=s(Number.prototype.valueOf),p=s(String.prototype.valueOf),h=s(Boolean.prototype.valueOf);if(u)var d=s(BigInt.prototype.valueOf);if(c)var m=s(Symbol.prototype.valueOf);function v(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"[object Map]"===l(e)}function y(e){return"[object Set]"===l(e)}function b(e){return"[object WeakMap]"===l(e)}function w(e){return"[object WeakSet]"===l(e)}function E(e){return"[object ArrayBuffer]"===l(e)}function D(e){return"undefined"!=typeof ArrayBuffer&&(E.working?E(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===l(e)}function F(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=o,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||F(e)},t.isUint8Array=function(e){return"Uint8Array"===i(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)},t.isUint16Array=function(e){return"Uint16Array"===i(e)},t.isUint32Array=function(e){return"Uint32Array"===i(e)},t.isInt8Array=function(e){return"Int8Array"===i(e)},t.isInt16Array=function(e){return"Int16Array"===i(e)},t.isInt32Array=function(e){return"Int32Array"===i(e)},t.isFloat32Array=function(e){return"Float32Array"===i(e)},t.isFloat64Array=function(e){return"Float64Array"===i(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===i(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},g.working="undefined"!=typeof Map&&g(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(g.working?g(e):e instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(y.working?y(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),t.isArrayBuffer=D,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=F;var S="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===l(e)}function k(e){return void 0!==S&&(void 0===A.working&&(A.working=A(new S)),A.working?A(e):e instanceof S)}function C(e){return v(e,f)}function P(e){return v(e,p)}function O(e){return v(e,h)}function j(e){return u&&v(e,d)}function T(e){return c&&v(e,m)}t.isSharedArrayBuffer=k,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===l(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===l(e)},t.isGeneratorObject=function(e){return"[object Generator]"===l(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},t.isNumberObject=C,t.isStringObject=P,t.isBooleanObject=O,t.isBigIntObject=j,t.isSymbolObject=T,t.isBoxedPrimitive=function(e){return C(e)||P(e)||O(e)||j(e)||T(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(D(e)||k(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},35210:(e,t,r)=>{var n=r(44675),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(c(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,o=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}})),s=n[r];r<o;s=n[++r])g(s)||!D(s)?a+=" "+s:a+=" "+c(s);return a},t.deprecate=function(e,r){if(void 0!==n&&!0===n.noDeprecation)return e;if(void 0===n)return function(){return t.deprecate(e,r).apply(this,arguments)};var o=!1;return function(){if(!o){if(n.throwDeprecation)throw new Error(r);n.traceDeprecation?console.trace(r):console.error(r),o=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(n.env.NODE_DEBUG){var u=n.env.NODE_DEBUG;u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+u+"$","i")}function c(e,r){var n={seen:[],stylize:f};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),v(r)?n.showHidden=r:r&&t._extend(n,r),w(n.showHidden)&&(n.showHidden=!1),w(n.depth)&&(n.depth=2),w(n.colors)&&(n.colors=!1),w(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),p(n,e,n.depth)}function l(e,t){var r=c.styles[t];return r?"["+c.colors[r][0]+"m"+e+"["+c.colors[r][1]+"m":e}function f(e,t){return e}function p(e,r,n){if(e.customInspect&&r&&S(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return b(o)||(o=p(e,o,n)),o}var i=function(e,t){if(w(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(y(t))return e.stylize(""+t,"number");if(v(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,r);if(i)return i;var a=Object.keys(r),s=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),F(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return h(r);if(0===a.length){if(S(r)){var u=r.name?": "+r.name:"";return e.stylize("[Function"+u+"]","special")}if(E(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(x(r))return e.stylize(Date.prototype.toString.call(r),"date");if(F(r))return h(r)}var c,l="",f=!1,D=["{","}"];(m(r)&&(f=!0,D=["[","]"]),S(r))&&(l=" [Function"+(r.name?": "+r.name:"")+"]");return E(r)&&(l=" "+RegExp.prototype.toString.call(r)),x(r)&&(l=" "+Date.prototype.toUTCString.call(r)),F(r)&&(l=" "+h(r)),0!==a.length||f&&0!=r.length?n<0?E(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=f?function(e,t,r,n,o){for(var i=[],a=0,s=t.length;a<s;++a)P(t,String(a))?i.push(d(e,t,r,n,String(a),!0)):i.push("");return o.forEach((function(o){o.match(/^\d+$/)||i.push(d(e,t,r,n,o,!0))})),i}(e,r,n,s,a):a.map((function(t){return d(e,r,n,s,t,f)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,D)):D[0]+l+D[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,r,n,o,i){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),P(n,o)||(a="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=g(r)?p(e,u.value,null):p(e,u.value,r-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+s.split("\n").map((function(e){return" "+e})).join("\n")):s=e.stylize("[Circular]","special")),w(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return"number"==typeof e}function b(e){return"string"==typeof e}function w(e){return void 0===e}function E(e){return D(e)&&"[object RegExp]"===A(e)}function D(e){return"object"==typeof e&&null!==e}function x(e){return D(e)&&"[object Date]"===A(e)}function F(e){return D(e)&&("[object Error]"===A(e)||e instanceof Error)}function S(e){return"function"==typeof e}function A(e){return Object.prototype.toString.call(e)}function k(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!a[e])if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){};return a[e]},t.inspect=c,c.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]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(42406),t.isArray=m,t.isBoolean=v,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=w,t.isRegExp=E,t.types.isRegExp=E,t.isObject=D,t.isDate=x,t.types.isDate=x,t.isError=F,t.types.isNativeError=F,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(2439);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(e=new Date,r=[k(e.getHours()),k(e.getMinutes()),k(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(89118),t._extend=function(e,t){if(!t||!D(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(O&&e[O]){var t;if("function"!=typeof(t=e[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),O&&Object.defineProperty(t,O,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=O,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],r=0;r<arguments.length;r++)t.push(arguments[r]);var o=t.pop();if("function"!=typeof o)throw new TypeError("The last argument must be of type Function");var i=this,a=function(){return o.apply(i,arguments)};e.apply(this,t).then((function(e){n.nextTick(a.bind(null,null,e))}),(function(e){n.nextTick(j.bind(null,e,a))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},3615:(e,t,r)=>{"use strict";var n=r(6862),o=r(14897),i=r(57372),a=r(49662),s=i("Object.prototype.toString"),u=r(3825)(),c="undefined"==typeof globalThis?r.g:globalThis,l=o(),f=i("String.prototype.slice"),p={},h=Object.getPrototypeOf;u&&a&&h&&n(l,(function(e){if("function"==typeof c[e]){var t=new c[e];if(Symbol.toStringTag in t){var r=h(t),n=a(r,Symbol.toStringTag);if(!n){var o=h(r);n=a(o,Symbol.toStringTag)}p[e]=n.get}}}));var d=r(36466);e.exports=function(e){return!!d(e)&&(u&&Symbol.toStringTag in e?function(e){var t=!1;return n(p,(function(r,n){if(!t)try{var o=r.call(e);o===n&&(t=o)}catch(e){}})),t}(e):f(s(e),8,-1))}},87363:e=>{"use strict";e.exports=React},61533:e=>{"use strict";e.exports=ReactDOM},12611:e=>{"use strict";e.exports=_},26089:()=>{},72899:(e,t,r)=>{var n=r(63981);function o(e){var t,r;function o(t,r){try{var a=e[t](r),s=a.value,u=s instanceof n;Promise.resolve(u?s.v:s).then((function(r){if(u){var n="return"===t?"return":"next";if(!s.k||r.done)return o(n,r);r=e[n](r).value}i(a.done?"return":"normal",r)}),(function(e){o("throw",e)}))}catch(e){i("throw",e)}}function i(e,n){switch(e){case"return":t.resolve({value:n,done:!0});break;case"throw":t.reject(n);break;default:t.resolve({value:n,done:!1})}(t=t.next)?o(t.key,t.arg):r=null}this._invoke=function(e,n){return new Promise((function(i,a){var s={key:e,arg:n,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,o(e,n))}))},"function"!=typeof e.return&&(this.return=void 0)}o.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},o.prototype.next=function(e){return this._invoke("next",e)},o.prototype.throw=function(e){return this._invoke("throw",e)},o.prototype.return=function(e){return this._invoke("return",e)},e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},63981:e=>{e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},89415:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},22193:e=>{e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},44220:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},529:(e,t,r)=>{var n=r(63981);e.exports=function(e){var t={},r=!1;function o(t,o){return r=!0,o=new Promise((function(r){r(e[t](o))})),{done:!1,value:new n(o,1)}}return t["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},t.next=function(e){return r?(r=!1,e):o("next",e)},"function"==typeof e.throw&&(t.throw=function(e){if(r)throw r=!1,e;return o("throw",e)}),"function"==typeof e.return&&(t.return=function(e){return r?(r=!1,e):o("return",e)}),t},e.exports.__esModule=!0,e.exports.default=e.exports},87790:e=>{function t(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function s(e){t(a,o,i,s,u,"next",e)}function u(e){t(a,o,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},76985:(e,t,r)=>{var n=r(63981);e.exports=function(e){return new n(e,0)},e.exports.__esModule=!0,e.exports.default=e.exports},32078:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},82357:(e,t,r)=>{var n=r(11926);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,n(o.key),o)}}e.exports=function(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},6322:(e,t,r)=>{var n=r(11926);e.exports=function(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},12982:e=>{function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},33649:(e,t,r)=>{var n=r(91337);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},10424:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},24601:e=>{e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},59560:e=>{e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},45471:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure "+e)},e.exports.__esModule=!0,e.exports.default=e.exports},34889:(e,t,r)=>{var n=r(63483);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.__esModule=!0,e.exports.default=e.exports},63483:e=>{e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},74158:(e,t,r)=>{var n=r(64020).default,o=r(44220);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},88501:(e,t,r)=>{var n=r(64020).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",c=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),s=new C(n||[]);return a(i,"_invoke",{value:F(e,r,s)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d={};function m(){}function v(){}function g(){}var y={};f(y,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(P([])));w&&w!==r&&i.call(w,u)&&(y=w);var E=g.prototype=m.prototype=Object.create(y);function D(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,a,s,u){var c=h(e[o],e,a);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==n(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var o;a(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}})}function F(e,t,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return O()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=h(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,d;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function P(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,n=function t(){for(;++r<e.length;)if(i.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return n.next=n}}return{next:O}}function O(){return{value:void 0,done:!0}}return v.prototype=g,a(E,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:v,configurable:!0}),v.displayName=f(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,f(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},D(x.prototype),f(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(p(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},D(E),f(E,l,"Generator"),f(E,u,(function(){return this})),f(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,n){return a.type="throw",a.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:P(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},91337:e=>{function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},45990:(e,t,r)=>{var n=r(22193),o=r(24601),i=r(70891),a=r(59560);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},28056:e=>{e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},12147:(e,t,r)=>{var n=r(22193),o=r(10424),i=r(70891),a=r(59560);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},46217:(e,t,r)=>{var n=r(64020).default;e.exports=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},11926:(e,t,r)=>{var n=r(64020).default,o=r(46217);e.exports=function(e){var t=o(e,"string");return"symbol"===n(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},64020:e=>{function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70891:(e,t,r)=>{var n=r(89415);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},58089:(e,t,r)=>{var n=r(72899);e.exports=function(e){return function(){return new n(e.apply(this,arguments))}},e.exports.__esModule=!0,e.exports.default=e.exports},366:(e,t,r)=>{var n=r(88501)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},14897:(e,t,r)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],o="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof o[n[t]]&&(e[e.length]=n[t]);return e}},41470:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(72320);function o(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},45675:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{Z:()=>n})},67666:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(41470);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},72320:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(24622);function o(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==(0,n.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},24622:(e,t,r)=>{"use strict";function n(e){return n="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},n(e)}r.d(t,{Z:()=>n})},36365:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});const n=document.createElement("i");function o(e){const t="&"+e+";";n.innerHTML=t;const r=n.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&(r!==t&&r)}},79243:(e,t,r)=>{"use strict";function n(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),o);return i(),s}function o(e,t,r){return">"+(r?"":" ")+e}r.r(t),r.d(t,{blockquote:()=>n})},81100:(e,t,r)=>{"use strict";r.r(t),r.d(t,{heading:()=>a});var n=r(53827),o=r(50819),i=r(28989);function a(e,t,r,a){const s=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(function(e,t){let r=!1;return(0,n.Vn)(e,(e=>{if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return r=!0,o.BK})),Boolean((!e.depth||e.depth<3)&&(0,i.B)(e)&&(t.options.setext||r))}(e,r)){const t=r.enter("headingSetext"),n=r.enter("phrasing"),o=r.containerPhrasing(e,{...u.current(),before:"\n",after:"\n"});return n(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const c="#".repeat(s),l=r.enter("headingAtx"),f=r.enter("phrasing");u.move(c+" ");let p=r.containerPhrasing(e,{before:"# ",after:"\n",...u.current()});return/^[\t ]/.test(p)&&(p="&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"+p.slice(1)),p=p?c+" "+p:c,r.options.closeAtx&&(p+=" "+c),f(),l(),p}},44478:(e,t,r)=>{"use strict";r.r(t),r.d(t,{image:()=>o});var n=r(99656);function o(e,t,r,o){const i=(0,n.l)(r),a='"'===i?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const c=r.createTracker(o);let l=c.move("![");return l+=c.move(r.safe(e.alt,{before:l,after:"]",...c.current()})),l+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(r.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(u=r.enter("destinationRaw"),l+=c.move(r.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=r.enter(`title${a}`),l+=c.move(" "+i),l+=c.move(r.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),u()),l+=c.move(")"),s(),l}o.peek=function(){return"!"}},48486:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=r.enter("paragraph"),i=r.enter("phrasing"),a=r.containerPhrasing(e,n);return i(),o(),a}r.r(t),r.d(t,{paragraph:()=>n})},99656:(e,t,r)=>{"use strict";function n(e){const t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}r.d(t,{l:()=>n})},85771:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,i=e.children||[],a=t.createTracker(r),s=[];let u=-1;for(n.push(-1);++u<i.length;){const r=i[u];n[n.length-1]=u,s.push(a.move(t.handle(r,e,t,{before:"\n",after:"\n",...a.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),u<i.length-1&&s.push(a.move(o(r,i[u+1],e,t)))}return n.pop(),s.join("")}function o(e,t,r,n){let o=n.join.length;for(;o--;){const i=n.join[o](e,t,r,n);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}r.d(t,{K:()=>n})},48736:(e,t,r)=>{"use strict";function n(e,t,r){const n=t.indexStack,o=e.children||[],i=[];let a=-1,s=r.before;n.push(-1);let u=t.createTracker(r);for(;++a<o.length;){const c=o[a];let l;if(n[n.length-1]=a,a+1<o.length){let r=t.handle.handlers[o[a+1].type];r&&r.peek&&(r=r.peek),l=r?r(o[a+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else l=r.after;i.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),s=" ",u=t.createTracker(r),u.move(i.join(""))),i.push(u.move(t.handle(c,e,t,{...u.current(),before:s,after:l}))),s=i[i.length-1].slice(-1)}return n.pop(),i.join("")}r.d(t,{p:()=>n})},87717:(e,t,r)=>{"use strict";function n(e){const t=e||{},r=t.now||{};let n=t.lineShift||0,o=r.line||1,i=r.column||1;return{move:function(e){const t=e||"",r=t.split(/\r?\n|\r/g),a=r[r.length-1];return o+=r.length-1,i=1===r.length?i+a.length:1+a.length+n,t},current:function(){return{now:{line:o,column:i},lineShift:n}},shift:function(e){n+=e}}}r.d(t,{j:()=>n})},28989:(e,t,r)=>{"use strict";function n(e,t){const r=(t||{}).includeImageAlt;return o(e,"boolean"!=typeof r||r)}function o(e,t){return function(e){return Boolean(e&&"object"==typeof e)}(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&i(e.children,t))||Array.isArray(e)&&i(e,t)||""}function i(e,t){const r=[];let n=-1;for(;++n<e.length;)r[n]=o(e[n],t);return r.join("")}r.d(t,{B:()=>n})},3962:(e,t,r)=>{"use strict";r.r(t),r.d(t,{attention:()=>n.v,autolink:()=>o.j,blankLine:()=>i.w,blockQuote:()=>a.m,characterEscape:()=>s.L,characterReference:()=>u.u,codeFenced:()=>c._,codeIndented:()=>l.S,codeText:()=>f.h,content:()=>p.k,definition:()=>h.D,hardBreakEscape:()=>d.R,headingAtx:()=>m.Z,htmlFlow:()=>v.P,htmlText:()=>g.L,labelEnd:()=>y.Z,labelStartImage:()=>b.C,labelStartLink:()=>w.F,lineEnding:()=>E.g,list:()=>D.p,setextUnderline:()=>x.C,thematicBreak:()=>F.C});var n=r(39362),o=r(40366),i=r(58775),a=r(79230),s=r(30670),u=r(73608),c=r(60214),l=r(44322),f=r(83126),p=r(52240),h=r(22774),d=r(2669),m=r(86053),v=r(26890),g=r(9373),y=r(3369),b=r(82287),w=r(83555),E=r(47071),D=r(44084),x=r(38029),F=r(19281)},39362:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(11707),o=r(85618),i=r(79142);const a={name:"attention",tokenize:function(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=(0,o.r)(n);let a;return function(t){return e.enter("attentionSequence"),a=t,s(t)};function s(u){if(u===a)return e.consume(u),s;const c=e.exit("attentionSequence"),l=(0,o.r)(u),f=!l||2===l&&i||r.includes(u),p=!i||2===i&&l||r.includes(n);return c._open=Boolean(42===a?f:f&&(i||!p)),c._close=Boolean(42===a?p:p&&(l||!f)),t(u)}},resolveAll:function(e,t){let r,o,a,u,c,l,f,p,h=-1;for(;++h<e.length;)if("enter"===e[h][0]&&"attentionSequence"===e[h][1].type&&e[h][1]._close)for(r=h;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[h][1]).charCodeAt(0)){if((e[r][1]._close||e[h][1]._open)&&(e[h][1].end.offset-e[h][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[h][1].end.offset-e[h][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[h][1].end.offset-e[h][1].start.offset>1?2:1;const d=Object.assign({},e[r][1].end),m=Object.assign({},e[h][1].start);s(d,-l),s(m,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[r][1].end)},c={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[h][1].start),end:m},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[h][1].start)},o={type:l>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},c.end)},e[r][1].end=Object.assign({},u.start),e[h][1].start=Object.assign({},c.end),f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=(0,n.V)(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=(0,n.V)(f,[["enter",o,t],["enter",u,t],["exit",u,t],["enter",a,t]]),f=(0,n.V)(f,(0,i.C)(t.parser.constructs.insideSpan.null,e.slice(r+1,h),t)),f=(0,n.V)(f,[["exit",a,t],["enter",c,t],["exit",c,t],["exit",o,t]]),e[h][1].end.offset-e[h][1].start.offset?(p=2,f=(0,n.V)(f,[["enter",e[h][1],t],["exit",e[h][1],t]])):p=0,(0,n.d)(e,r-1,h-r+3,f),h=r+f.length-p-2;break}h=-1;for(;++h<e.length;)"attentionSequence"===e[h][1].type&&(e[h][1].type="data");return e}};function s(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}},40366:(e,t,r)=>{"use strict";r.d(t,{j:()=>o});var n=r(19967);const o={name:"autolink",tokenize:function(e,t,r){let o=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,n.asciiAlpha)(t)?(e.consume(t),a):(0,n.asciiAtext)(t)?c(t):r(t)}function a(e){return 43===e||45===e||46===e||(0,n.asciiAlphanumeric)(e)?s(e):c(e)}function s(t){return 58===t?(e.consume(t),u):(43===t||45===t||46===t||(0,n.asciiAlphanumeric)(t))&&o++<32?(e.consume(t),s):c(t)}function u(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):null===t||32===t||60===t||(0,n.asciiControl)(t)?r(t):(e.consume(t),u)}function c(t){return 64===t?(e.consume(t),o=0,l):(0,n.asciiAtext)(t)?(e.consume(t),c):r(t)}function l(e){return(0,n.asciiAlphanumeric)(e)?f(e):r(e)}function f(t){return 46===t?(e.consume(t),o=0,l):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):p(t)}function p(t){return(45===t||(0,n.asciiAlphanumeric)(t))&&o++<63?(e.consume(t),45===t?p:f):r(t)}function h(r){return e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t}}}},58775:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(46050),o=r(19967);const i={tokenize:function(e,t,r){return(0,n.factorySpace)(e,(function(e){return null===e||(0,o.markdownLineEnding)(e)?t(e):r(e)}),"linePrefix")},partial:!0}},79230:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(46050),o=r(19967);const i={name:"blockQuote",tokenize:function(e,t,r){const n=this;return function(t){if(62===t){const r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return(0,o.markdownSpace)(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}},continuation:{tokenize:function(e,t,r){return(0,n.factorySpace)(e,e.attempt(i,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},exit:function(e){e.exit("blockQuote")}}},30670:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(19967);const o={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),o};function o(o){return(0,n.asciiPunctuation)(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(o)}}}},73608:(e,t,r)=>{"use strict";r.d(t,{u:()=>i});var n=r(36365),o=r(19967);const i={name:"characterReference",tokenize:function(e,t,r){const i=this;let a,s,u=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),c};function c(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=o.asciiAlphanumeric,f(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=o.asciiHexDigit,f):(e.enter("characterReferenceValue"),a=7,s=o.asciiDigit,f(t))}function f(c){let l;return 59===c&&u?(l=e.exit("characterReferenceValue"),s!==o.asciiAlphanumeric||(0,n.T)(i.sliceSerialize(l))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(c)):s(c)&&u++<a?(e.consume(c),f):r(c)}}}},60214:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(46050),o=r(19967);const i={name:"codeFenced",tokenize:function(e,t,r){const i=this,a={tokenize:function(e,t,r){let i=0;return(0,n.factorySpace)(e,a,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(t)}function s(t){return t===l?(e.consume(t),i++,s):i<f?r(t):(e.exit("codeFencedFenceSequence"),(0,n.factorySpace)(e,u,"whitespace")(t))}function u(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("codeFencedFence"),t(n)):r(n)}},partial:!0},s={tokenize:function(e,t,r){const n=this;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i}function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0},u=this.events[this.events.length-1],c=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0;let l,f=0;return function(t){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l=t,p(t)};function p(t){return t===l?(e.consume(t),f++,p):(e.exit("codeFencedFenceSequence"),f<3?r(t):(0,n.factorySpace)(e,h,"whitespace")(t))}function h(t){return null===t||(0,o.markdownLineEnding)(t)?g(t):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,n.factorySpace)(e,m,"whitespace")(t)):96===t&&t===l?r(t):(e.consume(t),d)}function m(t){return null===t||(0,o.markdownLineEnding)(t)?g(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(t))}function v(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),g(t)):96===t&&t===l?r(t):(e.consume(t),v)}function g(r){return e.exit("codeFencedFence"),i.interrupt?t(r):y(r)}function y(t){return null===t?w(t):(0,o.markdownLineEnding)(t)?e.attempt(s,e.attempt(a,w,c?(0,n.factorySpace)(e,y,"linePrefix",c+1):y),w)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),y(t)):(e.consume(t),b)}function w(r){return e.exit("codeFenced"),t(r)}},concrete:!0}},44322:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(46050),o=r(19967);const i={name:"codeIndented",tokenize:function(e,t,r){const i=this;return function(t){return e.enter("codeIndented"),(0,n.factorySpace)(e,s,"linePrefix",5)(t)};function s(e){const t=i.events[i.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?u(e):r(e)}function u(t){return null===t?l(t):(0,o.markdownLineEnding)(t)?e.attempt(a,u,l)(t):(e.enter("codeFlowValue"),c(t))}function c(t){return null===t||(0,o.markdownLineEnding)(t)?(e.exit("codeFlowValue"),u(t)):(e.consume(t),c)}function l(r){return e.exit("codeIndented"),t(r)}}},a={tokenize:function(e,t,r){const i=this;return a;function a(t){return i.parser.lazy[i.now().line]?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(0,n.factorySpace)(e,s,"linePrefix",5)(t)}function s(e){const n=i.events[i.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?t(e):(0,o.markdownLineEnding)(e)?a(e):r(e)}},partial:!0}},83126:(e,t,r)=>{"use strict";r.d(t,{h:()=>o});var n=r(19967);const o={name:"codeText",tokenize:function(e,t,r){let o,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),u(t))}function u(t){return null===t?r(t):96===t?(i=e.enter("codeTextSequence"),o=0,l(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),u):(0,n.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||(0,n.markdownLineEnding)(t)?(e.exit("codeTextData"),u(t)):(e.consume(t),c)}function l(r){return 96===r?(e.consume(r),o++,l):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",c(r))}},resolve:function(e){let t,r,n=e.length-4,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[n][1].type&&"space"!==e[n][1].type))for(t=o;++t<n;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[n][1].type="codeTextPadding",o+=2,n-=2;break}t=o-1,n++;for(;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):t!==n&&"lineEnding"!==e[t][1].type||(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},52240:(e,t,r)=>{"use strict";r.d(t,{k:()=>a});var n=r(46050),o=r(19967),i=r(35197);const a={tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):(0,o.markdownLineEnding)(t)?e.check(s,a,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}},resolve:function(e){return(0,i._)(e),e}},s={tokenize:function(e,t,r){const i=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,a,"linePrefix")};function a(n){if(null===n||(0,o.markdownLineEnding)(n))return r(n);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(n):e.interrupt(i.parser.constructs.flow,r,t)(n)}},partial:!0}},22774:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(20447),o=r(42874),i=r(46050),a=r(67784),s=r(48948),u=r(37618),c=r(19967);const l={name:"definition",tokenize:function(e,t,r){const a=this;let l;return function(t){return e.enter("definition"),o.factoryLabel.call(a,e,p,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return l=(0,u.normalizeIdentifier)(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,s.factoryWhitespace)(e,(0,n.factoryDestination)(e,e.attempt(f,(0,i.factorySpace)(e,h,"whitespace"),(0,i.factorySpace)(e,h,"whitespace")),r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):r(t)}function h(n){return null===n||(0,c.markdownLineEnding)(n)?(e.exit("definition"),a.parser.defined.includes(l)||a.parser.defined.push(l),t(n)):r(n)}}},f={tokenize:function(e,t,r){return function(t){return(0,c.markdownLineEndingOrSpace)(t)?(0,s.factoryWhitespace)(e,n)(t):r(t)};function n(t){return 34===t||39===t||40===t?(0,a.factoryTitle)(e,(0,i.factorySpace)(e,o,"whitespace"),r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):r(t)}function o(e){return null===e||(0,c.markdownLineEnding)(e)?t(e):r(e)}},partial:!0}},2669:(e,t,r)=>{"use strict";r.d(t,{R:()=>o});var n=r(19967);const o={name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),o};function o(o){return(0,n.markdownLineEnding)(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):r(o)}}}},86053:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(46050),o=r(19967),i=r(11707);const a={name:"headingAtx",tokenize:function(e,t,r){const i=this;let a=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),s(t)};function s(n){return 35===n&&a++<6?(e.consume(n),s):null===n||(0,o.markdownLineEndingOrSpace)(n)?(e.exit("atxHeadingSequence"),i.interrupt?t(n):u(n)):r(n)}function u(r){return 35===r?(e.enter("atxHeadingSequence"),c(r)):null===r||(0,o.markdownLineEnding)(r)?(e.exit("atxHeading"),t(r)):(0,o.markdownSpace)(r)?(0,n.factorySpace)(e,u,"whitespace")(r):(e.enter("atxHeadingText"),l(r))}function c(t){return 35===t?(e.consume(t),c):(e.exit("atxHeadingSequence"),u(t))}function l(t){return null===t||35===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("atxHeadingText"),u(t)):(e.consume(t),l)}},resolve:function(e,t){let r,n,o=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);o-2>a&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4);o>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},n={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},(0,i.d)(e,a,o-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]]));return e}}},26890:(e,t,r)=>{"use strict";r.d(t,{P:()=>s});var n=r(19967);const o=["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"],i=["pre","script","style","textarea"];var a=r(58775);const s={name:"htmlFlow",tokenize:function(e,t,r){const a=this;let s,c,l,f,p;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),h};function h(o){return 33===o?(e.consume(o),d):47===o?(e.consume(o),g):63===o?(e.consume(o),s=3,a.interrupt?t:M):(0,n.asciiAlpha)(o)?(e.consume(o),l=String.fromCharCode(o),c=!0,y):r(o)}function d(o){return 45===o?(e.consume(o),s=2,m):91===o?(e.consume(o),s=5,l="CDATA[",f=0,v):(0,n.asciiAlpha)(o)?(e.consume(o),s=4,a.interrupt?t:M):r(o)}function m(n){return 45===n?(e.consume(n),a.interrupt?t:M):r(n)}function v(n){return n===l.charCodeAt(f++)?(e.consume(n),f===l.length?a.interrupt?t:O:v):r(n)}function g(t){return(0,n.asciiAlpha)(t)?(e.consume(t),l=String.fromCharCode(t),y):r(t)}function y(u){return null===u||47===u||62===u||(0,n.markdownLineEndingOrSpace)(u)?47!==u&&c&&i.includes(l.toLowerCase())?(s=1,a.interrupt?t(u):O(u)):o.includes(l.toLowerCase())?(s=6,47===u?(e.consume(u),b):a.interrupt?t(u):O(u)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(u):c?E(u):w(u)):45===u||(0,n.asciiAlphanumeric)(u)?(e.consume(u),l+=String.fromCharCode(u),y):r(u)}function b(n){return 62===n?(e.consume(n),a.interrupt?t:O):r(n)}function w(t){return(0,n.markdownSpace)(t)?(e.consume(t),w):C(t)}function E(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,n.asciiAlpha)(t)?(e.consume(t),D):(0,n.markdownSpace)(t)?(e.consume(t),E):C(t)}function D(t){return 45===t||46===t||58===t||95===t||(0,n.asciiAlphanumeric)(t)?(e.consume(t),D):x(t)}function x(t){return 61===t?(e.consume(t),F):(0,n.markdownSpace)(t)?(e.consume(t),x):E(t)}function F(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),p=t,S):(0,n.markdownSpace)(t)?(e.consume(t),F):(p=null,A(t))}function S(t){return null===t||(0,n.markdownLineEnding)(t)?r(t):t===p?(e.consume(t),k):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||(0,n.markdownLineEndingOrSpace)(t)?x(t):(e.consume(t),A)}function k(e){return 47===e||62===e||(0,n.markdownSpace)(e)?E(e):r(e)}function C(t){return 62===t?(e.consume(t),P):r(t)}function P(t){return(0,n.markdownSpace)(t)?(e.consume(t),P):null===t||(0,n.markdownLineEnding)(t)?O(t):r(t)}function O(t){return 45===t&&2===s?(e.consume(t),R):60===t&&1===s?(e.consume(t),B):62===t&&4===s?(e.consume(t),N):63===t&&3===s?(e.consume(t),M):93===t&&5===s?(e.consume(t),L):!(0,n.markdownLineEnding)(t)||6!==s&&7!==s?null===t||(0,n.markdownLineEnding)(t)?j(t):(e.consume(t),O):e.check(u,N,j)(t)}function j(t){return e.exit("htmlFlowData"),T(t)}function T(t){return null===t?$(t):(0,n.markdownLineEnding)(t)?e.attempt({tokenize:_,partial:!0},T,$)(t):(e.enter("htmlFlowData"),O(t))}function _(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n};function n(e){return a.parser.lazy[a.now().line]?r(e):t(e)}}function R(t){return 45===t?(e.consume(t),M):O(t)}function B(t){return 47===t?(e.consume(t),l="",I):O(t)}function I(t){return 62===t&&i.includes(l.toLowerCase())?(e.consume(t),N):(0,n.asciiAlpha)(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),I):O(t)}function L(t){return 93===t?(e.consume(t),M):O(t)}function M(t){return 62===t?(e.consume(t),N):45===t&&2===s?(e.consume(t),M):O(t)}function N(t){return null===t||(0,n.markdownLineEnding)(t)?(e.exit("htmlFlowData"),$(t)):(e.consume(t),N)}function $(r){return e.exit("htmlFlow"),t(r)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},u={tokenize:function(e,t,r){return function(n){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(a.w,t,r)}},partial:!0}},9373:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(46050),o=r(19967);const i={name:"htmlText",tokenize:function(e,t,r){const i=this;let a,s,u,c;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),f):47===t?(e.consume(t),F):63===t?(e.consume(t),D):(0,o.asciiAlpha)(t)?(e.consume(t),k):r(t)}function f(t){return 45===t?(e.consume(t),p):91===t?(e.consume(t),s="CDATA[",u=0,g):(0,o.asciiAlpha)(t)?(e.consume(t),E):r(t)}function p(t){return 45===t?(e.consume(t),h):r(t)}function h(t){return null===t||62===t?r(t):45===t?(e.consume(t),d):m(t)}function d(e){return null===e||62===e?r(e):m(e)}function m(t){return null===t?r(t):45===t?(e.consume(t),v):(0,o.markdownLineEnding)(t)?(c=m,B(t)):(e.consume(t),m)}function v(t){return 45===t?(e.consume(t),L):m(t)}function g(t){return t===s.charCodeAt(u++)?(e.consume(t),u===s.length?y:g):r(t)}function y(t){return null===t?r(t):93===t?(e.consume(t),b):(0,o.markdownLineEnding)(t)?(c=y,B(t)):(e.consume(t),y)}function b(t){return 93===t?(e.consume(t),w):y(t)}function w(t){return 62===t?L(t):93===t?(e.consume(t),w):y(t)}function E(t){return null===t||62===t?L(t):(0,o.markdownLineEnding)(t)?(c=E,B(t)):(e.consume(t),E)}function D(t){return null===t?r(t):63===t?(e.consume(t),x):(0,o.markdownLineEnding)(t)?(c=D,B(t)):(e.consume(t),D)}function x(e){return 62===e?L(e):D(e)}function F(t){return(0,o.asciiAlpha)(t)?(e.consume(t),S):r(t)}function S(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),S):A(t)}function A(t){return(0,o.markdownLineEnding)(t)?(c=A,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),A):L(t)}function k(t){return 45===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),k):47===t||62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):r(t)}function C(t){return 47===t?(e.consume(t),L):58===t||95===t||(0,o.asciiAlpha)(t)?(e.consume(t),P):(0,o.markdownLineEnding)(t)?(c=C,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),C):L(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),P):O(t)}function O(t){return 61===t?(e.consume(t),j):(0,o.markdownLineEnding)(t)?(c=O,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),O):C(t)}function j(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),a=t,T):(0,o.markdownLineEnding)(t)?(c=j,B(t)):(0,o.markdownSpace)(t)?(e.consume(t),j):(e.consume(t),a=void 0,R)}function T(t){return t===a?(e.consume(t),_):null===t?r(t):(0,o.markdownLineEnding)(t)?(c=T,B(t)):(e.consume(t),T)}function _(e){return 62===e||47===e||(0,o.markdownLineEndingOrSpace)(e)?C(e):r(e)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):62===t||(0,o.markdownLineEndingOrSpace)(t)?C(t):(e.consume(t),R)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function I(t){return e.enter("htmlTextData"),c(t)}function L(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}}}},3369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(20447),o=r(42874),i=r(67784),a=r(48948),s=r(19967),u=r(11707),c=r(37618),l=r(79142);const f={name:"labelEnd",tokenize:function(e,t,r){const n=this;let o,i,a=n.events.length;for(;a--;)if(("labelImage"===n.events[a][1].type||"labelLink"===n.events[a][1].type)&&!n.events[a][1]._balanced){o=n.events[a][1];break}return function(t){if(!o)return r(t);return o._inactive?u(t):(i=n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize({start:o.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s)};function s(r){return 40===r?e.attempt(p,t,i?t:u)(r):91===r?e.attempt(h,t,i?e.attempt(d,t,u):u)(r):i?t(r):u(r)}function u(e){return o._balanced=!0,r(e)}},resolveTo:function(e,t){let r,n,o,i,a=e.length,s=0;for(;a--;)if(r=e[a][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[a][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(o){if("enter"===e[a][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=a,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(o=a);const c={type:"labelLink"===e[n][1].type?"link":"image",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)},f={type:"label",start:Object.assign({},e[n][1].start),end:Object.assign({},e[o][1].end)},p={type:"labelText",start:Object.assign({},e[n+s+2][1].end),end:Object.assign({},e[o-2][1].start)};return i=[["enter",c,t],["enter",f,t]],i=(0,u.V)(i,e.slice(n+1,n+s+3)),i=(0,u.V)(i,[["enter",p,t]]),i=(0,u.V)(i,(0,l.C)(t.parser.constructs.insideSpan.null,e.slice(n+s+4,o-3),t)),i=(0,u.V)(i,[["exit",p,t],e[o-2],e[o-1],["exit",f,t]]),i=(0,u.V)(i,e.slice(o+1)),i=(0,u.V)(i,[["exit",c,t]]),(0,u.d)(e,n,e.length,i),e},resolveAll:function(e){let t,r=-1;for(;++r<e.length;)t=e[r][1],"labelImage"!==t.type&&"labelLink"!==t.type&&"labelEnd"!==t.type||(e.splice(r+1,"labelImage"===t.type?4:2),t.type="data",r++);return e}},p={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),(0,a.factoryWhitespace)(e,o)};function o(t){return 41===t?l(t):(0,n.factoryDestination)(e,u,r,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function u(t){return(0,s.markdownLineEndingOrSpace)(t)?(0,a.factoryWhitespace)(e,c)(t):l(t)}function c(t){return 34===t||39===t||40===t?(0,i.factoryTitle)(e,(0,a.factoryWhitespace)(e,l),r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):l(t)}function l(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},h={tokenize:function(e,t,r){const n=this;return function(t){return o.factoryLabel.call(n,e,i,r,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes((0,c.normalizeIdentifier)(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}}},d={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}}},82287:(e,t,r)=>{"use strict";r.d(t,{C:()=>n});const n={name:"labelStartImage",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):r(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},83555:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});const n={name:"labelStartLink",tokenize:function(e,t,r){const n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}},resolveAll:r(3369).Z.resolveAll}},47071:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(46050);const o={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,n.factorySpace)(e,t,"linePrefix")}}}},44084:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(46050),o=r(19967),i=r(58775),a=r(19281);const s={name:"list",tokenize:function(e,t,r){const n=this,s=n.events[n.events.length-1];let c=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,l=0;return function(t){const i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:(0,o.asciiDigit)(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(a.C,r,p)(t):p(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return r(t)};function f(t){return(0,o.asciiDigit)(t)&&++l<10?(e.consume(t),f):(!n.interrupt||l<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),p(t)):r(t)}function p(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(i.w,n.interrupt?r:h,e.attempt(u,m,d))}function h(e){return n.containerState.initialBlankLine=!0,c++,m(e)}function d(t){return(0,o.markdownSpace)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),m):r(t)}function m(r){return n.containerState.size=c+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}},continuation:{tokenize:function(e,t,r){const a=this;return a.containerState._closeFlow=void 0,e.check(i.w,(function(r){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,(0,n.factorySpace)(e,t,"listItemIndent",a.containerState.size+1)(r)}),(function(r){if(a.containerState.furtherBlankLines||!(0,o.markdownSpace)(r))return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,u(r);return a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(c,t,u)(r)}));function u(o){return a.containerState._closeFlow=!0,a.interrupt=void 0,(0,n.factorySpace)(e,e.attempt(s,t,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},u={tokenize:function(e,t,r){const i=this;return(0,n.factorySpace)(e,(function(e){const n=i.events[i.events.length-1];return!(0,o.markdownSpace)(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):r(e)}),"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},c={tokenize:function(e,t,r){const o=this;return(0,n.factorySpace)(e,(function(e){const n=o.events[o.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===o.containerState.size?t(e):r(e)}),"listItemIndent",o.containerState.size+1)},partial:!0}},38029:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"setextUnderline",tokenize:function(e,t,r){const i=this;let a,s,u=i.events.length;for(;u--;)if("lineEnding"!==i.events[u][1].type&&"linePrefix"!==i.events[u][1].type&&"content"!==i.events[u][1].type){s="paragraph"===i.events[u][1].type;break}return function(t){if(!i.parser.lazy[i.now().line]&&(i.interrupt||s))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),a=t,c(t);return r(t)};function c(t){return t===a?(e.consume(t),c):(e.exit("setextHeadingLineSequence"),(0,n.factorySpace)(e,l,"lineSuffix")(t))}function l(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}},resolveTo:function(e,t){let r,n,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){r=i;break}"paragraph"===e[i][1].type&&(n=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const a={type:"setextHeading",start:Object.assign({},e[n][1].start),end:Object.assign({},e[e.length-1][1].end)};e[n][1].type="setextHeadingText",o?(e.splice(n,0,["enter",a,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=a;return e.push(["exit",a,t]),e}}},19281:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(46050),o=r(19967);const i={name:"thematicBreak",tokenize:function(e,t,r){let i,a=0;return function(t){return e.enter("thematicBreak"),i=t,s(t)};function s(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):(0,o.markdownSpace)(c)?(0,n.factorySpace)(e,s,"whitespace")(c):a<3||null!==c&&!(0,o.markdownLineEnding)(c)?r(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===i?(e.consume(t),a++,u):(e.exit("thematicBreakSequence"),s(t))}}}},20447:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryDestination:()=>o});var n=r(19967);function o(e,t,r,o,i,a,s,u,c){const l=c||Number.POSITIVE_INFINITY;let f=0;return function(t){if(60===t)return e.enter(o),e.enter(i),e.enter(a),e.consume(t),e.exit(a),p;if(null===t||41===t||(0,n.asciiControl)(t))return r(t);return e.enter(o),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),m(t)};function p(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(o),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),h(r))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(u),p(t)):null===t||60===t||(0,n.markdownLineEnding)(t)?r(t):(e.consume(t),92===t?d:h)}function d(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(i){return 40===i?++f>l?r(i):(e.consume(i),m):41===i?f--?(e.consume(i),m):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):null===i||(0,n.markdownLineEndingOrSpace)(i)?f?r(i):(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(o),t(i)):(0,n.asciiControl)(i)?r(i):(e.consume(i),92===i?v:m)}function v(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}},42874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryLabel:()=>o});var n=r(19967);function o(e,t,r,o,i,a){const s=this;let u,c=0;return function(t){return e.enter(o),e.enter(i),e.consume(t),e.exit(i),e.enter(a),l};function l(p){return null===p||91===p||93===p&&!u||94===p&&!c&&"_hiddenFootnoteSupport"in s.parser.constructs||c>999?r(p):93===p?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(o),t):(0,n.markdownLineEnding)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(t){return null===t||91===t||93===t||(0,n.markdownLineEnding)(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),u=u||!(0,n.markdownSpace)(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),c++,f):f(t)}}},46050:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factorySpace:()=>o});var n=r(19967);function o(e,t,r,o){const i=o?o-1:Number.POSITIVE_INFINITY;let a=0;return function(o){if((0,n.markdownSpace)(o))return e.enter(r),s(o);return t(o)};function s(o){return(0,n.markdownSpace)(o)&&a++<i?(e.consume(o),s):(e.exit(r),t(o))}}},67784:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryTitle:()=>i});var n=r(46050),o=r(19967);function i(e,t,r,i,a,s){let u;return function(t){return e.enter(i),e.enter(a),e.consume(t),e.exit(a),u=40===t?41:t,c};function c(r){return r===u?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),t):(e.enter(s),l(r))}function l(t){return t===u?(e.exit(s),c(u)):null===t?r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,n.factorySpace)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return t===u||null===t||(0,o.markdownLineEnding)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:f)}function p(t){return t===u||92===t?(e.consume(t),f):f(t)}}},48948:(e,t,r)=>{"use strict";r.r(t),r.d(t,{factoryWhitespace:()=>i});var n=r(46050),o=r(19967);function i(e,t){let r;return function i(a){if((0,o.markdownLineEnding)(a))return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,i;if((0,o.markdownSpace)(a))return(0,n.factorySpace)(e,i,r?"linePrefix":"lineSuffix")(a);return t(a)}}},19967:(e,t,r)=>{"use strict";r.r(t),r.d(t,{asciiAlpha:()=>n,asciiAlphanumeric:()=>a,asciiAtext:()=>u,asciiControl:()=>c,asciiDigit:()=>o,asciiHexDigit:()=>i,asciiPunctuation:()=>s,markdownLineEnding:()=>f,markdownLineEndingOrSpace:()=>l,markdownSpace:()=>p,unicodePunctuation:()=>d,unicodeWhitespace:()=>h});const n=m(/[A-Za-z]/),o=m(/\d/),i=m(/[\dA-Fa-f]/),a=m(/[\dA-Za-z]/),s=m(/[!-/:-@[-`{-~]/),u=m(/[#-'*+\--9=?A-Z^-~]/);function c(e){return null!==e&&(e<32||127===e)}function l(e){return null!==e&&(e<0||32===e)}function f(e){return null!==e&&e<-2}function p(e){return-2===e||-1===e||32===e}const h=m(/\s/),d=m(/[!-/:-@[-`{-~\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 m(e){return function(t){return null!==t&&e.test(String.fromCharCode(t))}}},11707:(e,t,r)=>{"use strict";function n(e,t,r,n){const o=e.length;let i,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,r=r>0?r:0,n.length<1e4)i=Array.from(n),i.unshift(t,r),[].splice.apply(e,i);else for(r&&[].splice.apply(e,[t,r]);a<n.length;)i=n.slice(a,a+1e4),i.unshift(t,0),[].splice.apply(e,i),a+=1e4,t+=1e4}function o(e,t){return e.length>0?(n(e,e.length,0,t),e):t}r.d(t,{V:()=>o,d:()=>n})},85618:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(19967);function o(e){return null===e||(0,n.markdownLineEndingOrSpace)(e)||(0,n.unicodeWhitespace)(e)?1:(0,n.unicodePunctuation)(e)?2:void 0}},89063:(e,t,r)=>{"use strict";r.d(t,{W:()=>i});var n=r(11707);const o={}.hasOwnProperty;function i(e){const t={};let r=-1;for(;++r<e.length;)a(t,e[r]);return t}function a(e,t){let r;for(r in t){const n=(o.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let a;for(a in i){o.call(n,a)||(n[a]=[]);const e=i[a];s(n[a],Array.isArray(e)?e:e?[e]:[])}}}function s(e,t){let r=-1;const o=[];for(;++r<t.length;)("after"===t[r].add?e:o).push(t[r]);(0,n.d)(e,0,0,o)}},92791:(e,t,r)=>{"use strict";function n(e,t){const r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||65535==(65535&r)||65534==(65535&r)||r>1114111?"�":String.fromCharCode(r)}r.d(t,{o:()=>n})},12006:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(36365),o=r(92791);const i=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function a(e){return e.replace(i,s)}function s(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){const e=r.charCodeAt(1),t=120===e||88===e;return(0,o.o)(r.slice(t?2:1),t?16:10)}return(0,n.T)(r)||e}},37618:(e,t,r)=>{"use strict";function n(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}r.r(t),r.d(t,{normalizeIdentifier:()=>n})},79142:(e,t,r)=>{"use strict";function n(e,t,r){const n=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}r.d(t,{C:()=>n})},35197:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(11707);function o(e){const t={};let r,o,a,s,u,c,l,f=-1;for(;++f<e.length;){for(;f in t;)f=t[f];if(r=e[f],f&&"chunkFlow"===r[1].type&&"listItemPrefix"===e[f-1][1].type&&(c=r[1]._tokenizer.events,a=0,a<c.length&&"lineEndingBlank"===c[a][1].type&&(a+=2),a<c.length&&"content"===c[a][1].type))for(;++a<c.length&&"content"!==c[a][1].type;)"chunkText"===c[a][1].type&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if("enter"===r[0])r[1].contentType&&(Object.assign(t,i(e,f)),f=t[f],l=!0);else if(r[1]._container){for(a=f,o=void 0;a--&&(s=e[a],"lineEnding"===s[1].type||"lineEndingBlank"===s[1].type);)"enter"===s[0]&&(o&&(e[o][1].type="lineEndingBlank"),s[1].type="lineEnding",o=a);o&&(r[1].end=Object.assign({},e[o][1].start),u=e.slice(o,f),u.unshift(r),(0,n.d)(e,o,f-o+1,u))}}return!l}function i(e,t){const r=e[t][1],o=e[t][2];let i=t-1;const a=[],s=r._tokenizer||o.parser[r.contentType](r.start),u=s.events,c=[],l={};let f,p,h=-1,d=r,m=0,v=0;const g=[v];for(;d;){for(;e[++i][1]!==d;);a.push(i),d._tokenizer||(f=o.sliceStream(d),d.next||f.push(null),p&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(f),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=d,d=d.next}for(d=r;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(v=h+1,g.push(v),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),h=g.length;h--;){const t=u.slice(g[h],g[h+1]),r=a.pop();c.unshift([r,r+t.length-1]),(0,n.d)(e,r,2,t)}for(h=-1;++h<c.length;)l[m+c[h][0]]=m+c[h][1],m+=c[h][1]-c[h][0]-1;return l}},55975:(e,t,r)=>{"use strict";r.r(t),r.d(t,{codes:()=>n});const n={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},8449:(e,t,r)=>{"use strict";r.r(t),r.d(t,{constants:()=>n});const n={attentionSideBefore:1,attentionSideAfter:2,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupWhitespace:1,characterGroupPunctuation:2,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeContent:"content",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlRaw:1,htmlComment:2,htmlInstruction:3,htmlDeclaration:4,htmlCdata:5,htmlBasic:6,htmlComplete:7,htmlRawSizeMax:8,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4}},15472:(e,t,r)=>{"use strict";r.r(t),r.d(t,{types:()=>n});const n={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}},59463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>i});var n=r(53827);const o=/[\t ]*(?:\r?\n|\r)/g;function i(){return e=>{(0,n.Vn)(e,"text",((e,t,r)=>{const n=[];let i=0;o.lastIndex=0;let a=o.exec(e.value);for(;a;){const t=a.index;i!==t&&n.push({type:"text",value:e.value.slice(i,t)}),n.push({type:"break"}),i=t+a[0].length,a=o.exec(e.value)}if(n.length>0&&r&&"number"==typeof t)return i<e.value.length&&n.push({type:"text",value:e.value.slice(i)}),r.children.splice(t,1,...n),t+n.length}))}}},63038:(e,t,r)=>{"use strict";r.r(t),r.d(t,{remarkHeadingId:()=>i});var n=r(53827),o=r(55975);function i(){const e=this.data();function t(t,r){(e[t]||(e[t]=[])).push(r)}return t("micromarkExtensions",{text:{[o.codes.leftCurlyBrace]:{name:"headingIdMaybeStart",tokenize:(e,t,r)=>function(n){return e.attempt({tokenize(e,t,r){return function(t){if(t!==o.codes.leftCurlyBrace)throw new Error(`Unexpected code ${t}`);return e.enter("id"),e.enter("idMarker"),e.consume(t),n};function n(t){return t!==o.codes.numberSign?r(t):(e.consume(t),e.exit("idMarker"),e.enter("idString"),e.enter("chunkString",{contentType:"string"}),i)}function i(n){return[o.codes.carriageReturn,o.codes.lineFeed,o.codes.carriageReturnLineFeed,null,o.codes.backslash,o.codes.leftCurlyBrace].includes(n)?r(n):n===o.codes.rightCurlyBrace?(e.exit("chunkString"),e.exit("idString"),e.enter("idMarker"),e.consume(n),e.exit("idMarker"),e.exit("id"),t):(e.consume(n),i)}}},t,r)(n)}}}}),t("fromMarkdownExtensions",{enter:{idString(e){this.enter({type:"idString",value:null},e),this.buffer()}},exit:{idString(e){const t=this.resume();this.exit(e).value=t}}}),function(e){(0,n.Vn)(e,"idString",((e,t,r)=>{if(!r)throw new Error("Unexpected idString under no parent.");if("heading"!==r.type)throw new Error(`Unexpected node ${e} under ${r}`)})),(0,n.Vn)(e,"heading",(e=>{const t=e.children.filter((e=>"idString"===e.type));if(0==t.length)return;if(t.length>1)throw new Error(`Found ${t.length} ids under heading ${e}.`);const r=t[0];if(r.value&&r.value.length>0){e.data||(e.data={}),e.data.hProperties||(e.data.hProperties={}),e.data.id=e.data.hProperties.id=r.value,r.value="";const t=e.children.indexOf(r);if(t>=1){const r=e.children[t-1];"text"===r.type&&(r.value=r.value.trimEnd())}e.children.splice(t,1)}}))}}},47759:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Y});var n=r(46050),o=r(19967),i=r(48948);function a(e,t,r,a,s,u,c,l,f,p,h,d,m,v,g){let y,b;return function(t){return e.enter(a),e.enter(s),e.consume(t),e.exit(s),w};function w(t){return 35===t?(y=c,E(t)):46===t?(y=l,E(t)):58===t||95===t||(0,o.asciiAlpha)(t)?(e.enter(u),e.enter(f),e.consume(t),F):g&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,w,"whitespace")(t):!g&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,w)(t):T(t)}function E(t){return e.enter(u),e.enter(y),e.enter(y+"Marker"),e.consume(t),e.exit(y+"Marker"),D}function D(t){return null===t||34===t||35===t||39===t||46===t||60===t||61===t||62===t||96===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?r(t):(e.enter(y+"Value"),e.consume(t),x)}function x(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):35===t||46===t||125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(y+"Value"),e.exit(y),e.exit(u),w(t)):(e.consume(t),x)}function F(t){return 45===t||46===t||58===t||95===t||(0,o.asciiAlphanumeric)(t)?(e.consume(t),F):(e.exit(f),g&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,S,"whitespace")(t):!g&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,S)(t):S(t))}function S(t){return 61===t?(e.enter(p),e.consume(t),e.exit(p),A):(e.exit(u),w(t))}function A(t){return null===t||60===t||61===t||62===t||96===t||125===t||g&&(0,o.markdownLineEnding)(t)?r(t):34===t||39===t?(e.enter(h),e.enter(m),e.consume(t),e.exit(m),b=t,C):g&&(0,o.markdownSpace)(t)?(0,n.factorySpace)(e,A,"whitespace")(t):!g&&(0,o.markdownLineEndingOrSpace)(t)?(0,i.factoryWhitespace)(e,A)(t):(e.enter(d),e.enter(v),e.consume(t),b=void 0,k)}function k(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t?r(t):125===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit(v),e.exit(d),e.exit(u),w(t)):(e.consume(t),k)}function C(t){return t===b?(e.enter(m),e.consume(t),e.exit(m),e.exit(h),e.exit(u),j):(e.enter(d),P(t))}function P(t){return t===b?(e.exit(d),C(t)):null===t?r(t):(0,o.markdownLineEnding)(t)?g?r(t):(0,i.factoryWhitespace)(e,P)(t):(e.enter(v),e.consume(t),O)}function O(t){return t===b||null===t||(0,o.markdownLineEnding)(t)?(e.exit(v),P(t)):(e.consume(t),O)}function j(e){return 125===e||(0,o.markdownLineEndingOrSpace)(e)?w(e):T(e)}function T(n){return 125===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(a),t):r(n)}}function s(e,t,r,n,i,a,s){let u,c=0,l=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),f};function f(r){return 93===r?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),p(r))}function p(t){if(93===t&&!l)return m(t);const r=e.enter("chunkText",{contentType:"text",previous:u});return u&&(u.next=r),u=r,h(t)}function h(t){return null===t||c>999||91===t&&++l>32?r(t):93!==t||l--?(0,o.markdownLineEnding)(t)?s?r(t):(e.consume(t),e.exit("chunkText"),p):(e.consume(t),92===t?d:h):(e.exit("chunkText"),m(t))}function d(t){return 91===t||92===t||93===t?(e.consume(t),c++,h):h(t)}function m(r){return e.exit(a),e.enter(i),e.consume(r),e.exit(i),e.exit(n),t}}function u(e,t,r,n){const i=this;return function(t){if((0,o.asciiAlpha)(t))return e.enter(n),e.consume(t),a;return r(t)};function a(s){return 45===s||95===s||(0,o.asciiAlphanumeric)(s)?(e.consume(s),a):(e.exit(n),45===i.previous||95===i.previous?r(s):t(s))}}const c={tokenize:function(e,t,r){const i=this,a=i.events[i.events.length-1],s=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0;let c,h=0;return function(t){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),d(t)};function d(t){return 58===t?(e.consume(t),h++,d):h<3?r(t):(e.exit("directiveContainerSequence"),u.call(i,e,m,r,"directiveContainerName")(t))}function m(t){return 91===t?e.attempt(l,v,v)(t):v(t)}function v(t){return 123===t?e.attempt(f,g,g)(t):g(t)}function g(t){return(0,n.factorySpace)(e,y,"whitespace")(t)}function y(n){return e.exit("directiveContainerFence"),null===n?b(n):(0,o.markdownLineEnding)(n)?i.interrupt?t(n):e.attempt(p,w,b)(n):r(n)}function b(r){return e.exit("directiveContainer"),t(r)}function w(r){return null===r?(e.exit("directiveContainer"),t(r)):(e.enter("directiveContainerContent"),E(r))}function E(t){return null===t?A(t):e.attempt({tokenize:k,partial:!0},A,s?(0,n.factorySpace)(e,D,"linePrefix",s+1):D)(t)}function D(t){if(null===t)return A(t);const r=e.enter("chunkDocument",{contentType:"document",previous:c});return c&&(c.next=r),c=r,x(t)}function x(t){if(null===t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}return(0,o.markdownLineEnding)(t)?e.check(p,F,S)(t):(e.consume(t),x)}function F(t){e.consume(t);const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,E}function S(t){const r=e.exit("chunkDocument");return i.parser.lazy[r.start.line]=!1,A(t)}function A(r){return e.exit("directiveContainerContent"),e.exit("directiveContainer"),t(r)}function k(e,t,r){let i=0;return(0,n.factorySpace)(e,(function(t){return e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),a(t)}),"linePrefix",4);function a(t){return 58===t?(e.consume(t),i++,a):i<h?r(t):(e.exit("directiveContainerSequence"),(0,n.factorySpace)(e,s,"whitespace")(t))}function s(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveContainerFence"),t(n)):r(n)}}},concrete:!0},l={tokenize:function(e,t,r){return s(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)},partial:!0},f={tokenize:function(e,t,r){return a(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)},partial:!0},p={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};const h={tokenize:function(e,t,r){const i=this;return function(t){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(t),a};function a(t){return 58===t?(e.consume(t),e.exit("directiveLeafSequence"),u.call(i,e,s,r,"directiveLeafName")):r(t)}function s(t){return 91===t?e.attempt(d,c,c)(t):c(t)}function c(t){return 123===t?e.attempt(m,l,l)(t):l(t)}function l(t){return(0,n.factorySpace)(e,f,"whitespace")(t)}function f(n){return null===n||(0,o.markdownLineEnding)(n)?(e.exit("directiveLeaf"),t(n)):r(n)}}},d={tokenize:function(e,t,r){return s(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)},partial:!0},m={tokenize:function(e,t,r){return a(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)},partial:!0};const v={tokenize:function(e,t,r){const n=this;return function(t){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(t),e.exit("directiveTextMarker"),u.call(n,e,o,r,"directiveTextName")};function o(t){return 58===t?r(t):91===t?e.attempt(g,i,i)(t):i(t)}function i(t){return 123===t?e.attempt(y,a,a)(t):a(t)}function a(r){return e.exit("directiveText"),t(r)}},previous:function(e){return 58!==e||"characterEscape"===this.events[this.events.length-1][1].type}},g={tokenize:function(e,t,r){return s(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")},partial:!0},y={tokenize:function(e,t,r){return a(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")},partial:!0};const b=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],w={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function E(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function D(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function x(e){return function(e){const t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||E(e)}var F=r(36365);const S=String.fromCharCode,A=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function k(e,t={}){const r="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,n=[];let o,i,a=0,s=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(i=t.position.indent,o=t.position.start):o=t.position);let c,l=(o?o.line:0)||1,f=(o?o.column:0)||1,p=d();for(a--;++a<=e.length;)if(10===c&&(f=(i?i[s]:0)||1),c=e.charCodeAt(a),38===c){const o=e.charCodeAt(a+1);if(9===o||10===o||12===o||32===o||38===o||60===o||Number.isNaN(o)||r&&o===r){u+=S(c),f++;continue}const i=a+1;let s,l=i,g=i;if(35===o){g=++l;const t=e.charCodeAt(g);88===t||120===t?(s="hexadecimal",g=++l):s="decimal"}else s="named";let y="",A="",k="";const P="named"===s?x:"decimal"===s?E:D;for(g--;++g<=e.length;){const t=e.charCodeAt(g);if(!P(t))break;k+=S(t),"named"===s&&b.includes(k)&&(y=k,A=(0,F.T)(k))}let O=59===e.charCodeAt(g);if(O){g++;const e="named"===s&&(0,F.T)(k);e&&(y=k,A=e)}let j=1+g-i,T="";if(O||!1!==t.nonTerminated)if(k)if("named"===s){if(O&&!A)m(5,1);else if(y!==k&&(g=l+y.length,j=1+g-l,O=!1),!O){const r=y?1:3;if(t.attribute){const t=e.charCodeAt(g);61===t?(m(r,j),A=""):x(t)?A="":m(r,j)}else m(r,j)}T=A}else{O||m(2,j);let e=Number.parseInt(k,"hexadecimal"===s?16:10);if((h=e)>=55296&&h<=57343||h>1114111)m(7,j),T=S(65533);else if(e in w)m(6,j),T=w[e];else{let t="";C(e)&&m(6,j),e>65535&&(e-=65536,t+=S(e>>>10|55296),e=56320|1023&e),T=t+S(e)}}else"named"!==s&&m(4,j);else;if(T){v(),p=d(),a=g-1,f+=g-i+1,n.push(T);const r=d();r.offset++,t.reference&&t.reference.call(t.referenceContext,T,{start:p,end:r},e.slice(i-1,g)),p=r}else k=e.slice(i-1,g),u+=k,f+=k.length,a=g-1}else 10===c&&(l++,s++,f=0),Number.isNaN(c)?v():(u+=S(c),f++);var h;return n.join("");function d(){return{line:l,column:f,offset:a+((o?o.offset:0)||0)}}function m(e,r){let n;t.warning&&(n=d(),n.column+=r,n.offset+=r,t.warning.call(t.warningContext,A[e],n,e))}function v(){u&&(n.push(u),t.text&&t.text.call(t.textContext,u,{start:p,end:d()}),u="")}}function C(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}function P(e,t){return e=e.replace(t.subset?function(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,r,n){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function r(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function O(e){return"&#x"+e.toString(16).toUpperCase()+";"}var j=r(50819),T=r(85771),_=r(48736),R=r(99656),B=r(87717);const I={}.hasOwnProperty,L=/^[^\t\n\r "#'.<=>`}]+$/;K.peek=function(){return":"};const M={canContainEols:["textDirective"],enter:{directiveContainer:function(e){$.call(this,"containerDirective",e)},directiveContainerAttributes:z,directiveContainerLabel:function(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)},directiveLeaf:function(e){$.call(this,"leafDirective",e)},directiveLeafAttributes:z,directiveText:function(e){$.call(this,"textDirective",e)},directiveTextAttributes:z},exit:{directiveContainer:Z,directiveContainerAttributeClassValue:q,directiveContainerAttributeIdValue:U,directiveContainerAttributeName:W,directiveContainerAttributeValue:V,directiveContainerAttributes:G,directiveContainerLabel:function(e){this.exit(e)},directiveContainerName:H,directiveLeaf:Z,directiveLeafAttributeClassValue:q,directiveLeafAttributeIdValue:U,directiveLeafAttributeName:W,directiveLeafAttributeValue:V,directiveLeafAttributes:G,directiveLeafName:H,directiveText:Z,directiveTextAttributeClassValue:q,directiveTextAttributeIdValue:U,directiveTextAttributeName:W,directiveTextAttributeValue:V,directiveTextAttributes:G,directiveTextName:H}},N={unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:"\n",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}],handlers:{containerDirective:K,leafDirective:K,textDirective:K}};function $(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function H(e){this.stack[this.stack.length-1].name=this.sliceSerialize(e)}function z(){this.setData("directiveAttributes",[]),this.buffer()}function U(e){this.getData("directiveAttributes").push(["id",k(this.sliceSerialize(e),{attribute:!0})])}function q(e){this.getData("directiveAttributes").push(["class",k(this.sliceSerialize(e),{attribute:!0})])}function V(e){const t=this.getData("directiveAttributes");t[t.length-1][1]=k(this.sliceSerialize(e),{attribute:!0})}function W(e){this.getData("directiveAttributes").push([this.sliceSerialize(e),""])}function G(){const e=this.getData("directiveAttributes"),t={};let r=-1;for(;++r<e.length;){const n=e[r];"class"===n[0]&&t.class?t.class+=" "+n[1]:t[n[0]]=n[1]}this.setData("directiveAttributes"),this.resume();this.stack[this.stack.length-1].attributes=t}function Z(e){this.exit(e)}function K(e,t,r,n){const o=(0,B.j)(n),i=function(e){let t=0;"containerDirective"===e.type?((0,j.S4)(e,(function(e,r){if("containerDirective"===e.type){let e=r.length,n=0;for(;e--;)"containerDirective"===r[e].type&&n++;n>t&&(t=n)}})),t+=3):t="leafDirective"===e.type?2:1;return":".repeat(t)}(e),a=r.enter(e.type);let s,u=o.move(i+(e.name||""));if("containerDirective"===e.type){const t=(e.children||[])[0];s=Q(t)?t:void 0}else s=e;if(s&&s.children&&s.children.length>0){const t=r.enter("label"),n=`${e.type}Label`,i=r.enter(n);u+=o.move("["),u+=o.move((0,_.p)(s,r,{...o.current(),before:u,after:"]"})),u+=o.move("]"),i(),t()}if(u+=o.move(function(e,t){const r=(0,R.l)(t),n="textDirective"===e.type?[r]:[r,"\n","\r"],o=e.attributes||{},i=[];let a,s,u,c;for(c in o)if(I.call(o,c)&&void 0!==o[c]&&null!==o[c]){const e=String(o[c]);if("id"===c)u=L.test(e)?"#"+e:l("id",e);else if("class"===c){const t=e.split(/[\t\n\r ]+/g),r=[],n=[];let o=-1;for(;++o<t.length;)(L.test(t[o])?n:r).push(t[o]);a=r.length>0?l("class",r.join(" ")):"",s=n.length>0?"."+n.join("."):""}else i.push(l(c,e))}a&&i.unshift(a);s&&i.unshift(s);u&&i.unshift(u);return i.length>0?"{"+i.join(" ")+"}":"";function l(e,t){return e+(t?"="+r+function(e,t){return P(e,Object.assign({format:O},t))}(t,{subset:n})+r:"")}}(e,r)),"containerDirective"===e.type){let t=e;Q((e.children||[])[0])&&(t=Object.assign({},e,{children:e.children.slice(1)})),t&&t.children&&t.children.length>0&&(u+=o.move("\n"),u+=o.move((0,T.K)(t,r,o.current()))),u+=o.move("\n"+i)}return a(),u}function Q(e){return Boolean(e&&"paragraph"===e.type&&e.data&&e.data.directiveLabel)}function Y(){const e=this.data();function t(t,r){(e[t]?e[t]:e[t]=[]).push(r)}t("micromarkExtensions",{text:{58:v},flow:{58:[c,h]}}),t("fromMarkdownExtensions",M),t("toMarkdownExtensions",N)}},42363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var n=r(19967),o=r(98544);const i=Object.assign(a(Error),{eval:a(EvalError),range:a(RangeError),reference:a(ReferenceError),syntax:a(SyntaxError),type:a(TypeError),uri:a(URIError)});function a(e){return t.displayName=e.displayName||e.name,t;function t(t,...r){const n=t?o(t,...r):t;return new e(n)}}const s={}.hasOwnProperty,u={yaml:"-",toml:"+"};function c(e="yaml"){const t=[];let r=-1;for(Array.isArray(e)||(e=[e]);++r<e.length;)t[r]=l(e[r]);return t}function l(e){let t=e;if("string"==typeof t){if(!s.call(u,t))throw i("Missing matter definition for `%s`",t);t={type:t,marker:u[t]}}else if("object"!=typeof t)throw i("Expected matter to be an object, not `%j`",t);if(!s.call(t,"type"))throw i("Missing `type` in matter `%j`",t);if(!s.call(t,"fence")&&!s.call(t,"marker"))throw i("Missing `marker` or `fence` in matter `%j`",t);return t}function f(e){const t=e.type,r=e.anywhere,o=t+"Value",i=t+"Fence",a=i+"Sequence",s={tokenize:function(e,t,r){let o=0;return function(t){if(t===u.charCodeAt(o))return e.enter(i),e.enter(a),s(t);return r(t)};function s(t){return o===u.length?(e.exit(a),(0,n.markdownSpace)(t)?(e.enter("whitespace"),c(t)):l(t)):t===u.charCodeAt(o++)?(e.consume(t),s):r(t)}function c(t){return(0,n.markdownSpace)(t)?(e.consume(t),c):(e.exit("whitespace"),l(t))}function l(o){return null===o||(0,n.markdownLineEnding)(o)?(e.exit(i),t(o)):r(o)}},partial:!0};let u;return{tokenize:function(i,a,c){const l=this;return function(n){const o=l.now();if(1!==o.column||!r&&1!==o.line)return c(n);return i.enter(t),u=p(e,"open"),i.attempt(s,f,c)(n)};function f(t){return u=p(e,"close"),m(t)}function h(e){return null===e||(0,n.markdownLineEnding)(e)?m(e):(i.enter(o),d(e))}function d(e){return null===e||(0,n.markdownLineEnding)(e)?(i.exit(o),m(e)):(i.consume(e),d)}function m(e){return null===e?c(e):(i.enter("lineEnding"),i.consume(e),i.exit("lineEnding"),i.attempt(s,v,h))}function v(e){return i.exit(t),a(e)}},concrete:!0}}function p(e,t){return e.marker?h(e.marker,t).repeat(3):h(e.fence,t)}function h(e,t){return"string"==typeof e?e:e[t]}function d(e){return function(t){this.enter({type:e.type,value:""},t),this.buffer()}}function m(e){const t=this.resume();this.exit(e).value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function v(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function g(e){const t=y(e,"open"),r=y(e,"close");return function(e){return t+(e.value?"\n"+e.value:"")+"\n"+r}}function y(e,t){return e.marker?b(e.marker,t).repeat(3):b(e.fence,t)}function b(e,t){return"string"==typeof e?e:e[t]}function w(e="yaml"){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){const t=c(e),r={};let n=-1;for(;++n<t.length;){const e=t[n],o=p(e,"open").charCodeAt(0);o in r?r[o].push(f(e)):r[o]=[f(e)]}return{flow:r}}(e)),r("fromMarkdownExtensions",function(e){const t=c(e),r={},n={};let o=-1;for(;++o<t.length;){const e=t[o];r[e.type]=d(e),n[e.type]=m,n[e.type+"Value"]=v}return{enter:r,exit:n}}(e)),r("toMarkdownExtensions",function(e){const t=[],r={},n=c(e);let o=-1;for(;++o<n.length;){const e=n[o];r[e.type]=g(e),t.push({atBreak:!0,character:y(e,"open").charAt(0)})}return{unsafe:t,handlers:r}}(e))}},52795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ze});var n=r(89063),o=r(19967);const i={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return 87===t||119===t?(e.consume(t),i):r(t)}function i(t){return 87===t||119===t?(e.consume(t),a):r(t)}function a(t){return 46===t?(e.consume(t),s):r(t)}function s(e){return null===e||(0,o.markdownLineEnding)(e)?r(e):t(e)}},partial:!0},a={tokenize:function(e,t,r){let n,i;return a;function a(t){return 38===t?e.check(c,l,s)(t):46===t||95===t?e.check(u,l,s)(t):null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||45!==t&&(0,o.unicodePunctuation)(t)?l(t):(e.consume(t),a)}function s(t){return 46===t?(i=n,n=void 0,e.consume(t),a):(95===t&&(n=!0),e.consume(t),a)}function l(e){return i||n?r(e):t(e)}},partial:!0},s={tokenize:function(e,t){let r=0;return n;function n(a){return 38===a?e.check(c,t,o)(a):(40===a&&r++,41===a?e.check(u,i,o)(a):g(a)?t(a):v(a)?e.check(u,t,o)(a):(e.consume(a),n))}function o(t){return e.consume(t),n}function i(e){return r--,r<0?t(e):o(e)}},partial:!0},u={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(o){return v(o)?(e.consume(o),n):g(o)?t(o):r(o)}},partial:!0},c={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(t){return(0,o.asciiAlpha)(t)?(e.consume(t),n):59===t?(e.consume(t),i):r(t)}function i(e){return g(e)?t(e):r(e)}},partial:!0},l={tokenize:function(e,t,r){const n=this;return function(t){if(87!==t&&119!==t||!b(n.previous)||D(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(i,e.attempt(a,e.attempt(s,o),r),r)(t)};function o(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:b},f={tokenize:function(e,t,r){const n=this;return function(t){if(72!==t&&104!==t||!w(n.previous)||D(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(t),i};function i(t){return 84===t||116===t?(e.consume(t),u):r(t)}function u(t){return 84===t||116===t?(e.consume(t),c):r(t)}function c(t){return 80===t||112===t?(e.consume(t),l):r(t)}function l(t){return 83===t||115===t?(e.consume(t),f):f(t)}function f(t){return 58===t?(e.consume(t),p):r(t)}function p(t){return 47===t?(e.consume(t),h):r(t)}function h(t){return 47===t?(e.consume(t),d):r(t)}function d(t){return null===t||(0,o.asciiControl)(t)||(0,o.unicodeWhitespace)(t)||(0,o.unicodePunctuation)(t)?r(t):e.attempt(a,e.attempt(s,m),r)(t)}function m(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:w},p={tokenize:function(e,t,r){const n=this;let i,a;return function(t){if(!y(t)||!E(n.previous)||D(n.events))return r(t);return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(t)};function s(t){return y(t)?(e.consume(t),s):64===t?(e.consume(t),c):r(t)}function c(t){return 46===t?e.check(u,h,l)(t):45===t||95===t?e.check(u,r,f)(t):(0,o.asciiAlphanumeric)(t)?(!a&&(0,o.asciiDigit)(t)&&(a=!0),e.consume(t),c):h(t)}function l(t){return e.consume(t),i=!0,a=void 0,c}function f(t){return e.consume(t),p}function p(t){return 46===t?e.check(u,r,l)(t):c(t)}function h(n){return i&&!a?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(n)):r(n)}},previous:E},h={},d={text:h};let m=48;for(;m<123;)h[m]=p,m++,58===m?m=65:91===m&&(m=97);function v(e){return 33===e||34===e||39===e||41===e||42===e||44===e||46===e||58===e||59===e||60===e||63===e||95===e||126===e}function g(e){return null===e||60===e||(0,o.markdownLineEndingOrSpace)(e)}function y(e){return 43===e||45===e||46===e||95===e||(0,o.asciiAlphanumeric)(e)}function b(e){return null===e||40===e||42===e||95===e||126===e||(0,o.markdownLineEndingOrSpace)(e)}function w(e){return null===e||!(0,o.asciiAlpha)(e)}function E(e){return 47!==e&&w(e)}function D(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}h[43]=p,h[45]=p,h[46]=p,h[95]=p,h[72]=[p,f],h[104]=[p,f],h[87]=[p,l],h[119]=[p,l];var x=r(58775),F=r(46050),S=r(37618);const A={tokenize:function(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const o=n.events[n.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):r(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function k(e,t,r){const n=this;let o=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a;for(;o--;){const e=n.events[o][1];if("labelImage"===e.type){a=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!a||!a._balanced)return r(o);const s=(0,S.normalizeIdentifier)(n.sliceSerialize({start:a.end,end:n.now()}));if(94!==s.charCodeAt(0)||!i.includes(s.slice(1)))return r(o);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function C(e,t){let r,n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},u=[e[n+1],e[n+2],["enter",o,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(n,e.length-n+1,...u),e}function P(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){let f;return null===u||91===u||s++>999?r(u):93===u?a?(e.exit("chunkString"),f=e.exit("gfmFootnoteCallString"),i.includes((0,S.normalizeIdentifier)(n.sliceSerialize(f)))?function(r){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(r),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}(u):r(u)):r(u):(e.consume(u),(0,o.markdownLineEndingOrSpace)(u)||(a=!0),92===u?l:c)}function l(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function O(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s,u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),l):r(t)}function l(t){let i;return null===t||91===t||u>999?r(t):93===t?s?(i=e.exit("gfmFootnoteDefinitionLabelString"),a=(0,S.normalizeIdentifier)(n.sliceSerialize(i)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h):r(t):(0,o.markdownLineEnding)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u++,l):(e.enter("chunkString").contentType="string",f(t))}function f(t){return null===t||(0,o.markdownLineEnding)(t)||91===t||93===t||u>999?(e.exit("chunkString"),l(t)):((0,o.markdownLineEndingOrSpace)(t)||(s=!0),u++,e.consume(t),92===t?p:f)}function p(t){return 91===t||92===t||93===t?(e.consume(t),u++,f):f(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),(0,F.factorySpace)(e,d,"gfmFootnoteDefinitionWhitespace")):r(t)}function d(e){return i.includes(a)||i.push(a),t(e)}}function j(e,t,r){return e.check(x.w,t,e.attempt(A,t,r))}function T(e){e.exit("gfmFootnoteDefinition")}var _=r(11707),R=r(85618),B=r(79142);function I(e={}){let t=e.singleTilde;const r={tokenize:function(e,r,n){const o=this.previous,i=this.events;let a=0;return function(t){if(126===o&&"characterEscape"!==i[i.length-1][1].type)return n(t);return e.enter("strikethroughSequenceTemporary"),s(t)};function s(i){const u=(0,R.r)(o);if(126===i)return a>1?n(i):(e.consume(i),a++,s);if(a<2&&!t)return n(i);const c=e.exit("strikethroughSequenceTemporary"),l=(0,R.r)(i);return c._open=!l||2===l&&Boolean(u),c._close=!u||2===u&&Boolean(l),r(i)}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";const o={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},i={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},a=[["enter",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",i,t]];(0,_.d)(a,a.length,0,(0,B.C)(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),(0,_.d)(a,a.length,0,[["exit",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",o,t]]),(0,_.d)(e,n-1,r-n+3,a),r=n+a.length-2;break}}r=-1;for(;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}const L={flow:{null:{tokenize:function(e,t,r){const n=this,i=[];let a,s,u=0;return function(t){if(e.enter("table")._align=i,e.enter("tableHead"),e.enter("tableRow"),124===t)return c(t);return u++,e.enter("temporaryTableCellContent"),p(t)};function c(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l}function l(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(null===t)return r(t);e.exit("tableRow"),e.exit("tableHead");const o=n.interrupt;return n.interrupt=!0,e.attempt({tokenize:O,partial:!0},(function(t){return n.interrupt=o,e.enter("tableDelimiterRow"),d(t)}),(function(e){return n.interrupt=o,r(e)}))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),f):(a&&(a=void 0,u++),124===t?c(t):(e.enter("temporaryTableCellContent"),p(t)))}function f(t){return(0,o.markdownSpace)(t)?(e.consume(t),f):(e.exit("whitespace"),l(t))}function p(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),l(t)):(e.consume(t),92===t?h:p)}function h(t){return 92===t||124===t?(e.consume(t),p):p(t)}function d(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,i.push("none"),v):58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i.push("left"),g):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function m(t){return(0,o.markdownSpace)(t)?(e.consume(t),m):(e.exit("whitespace"),d(t))}function v(t){return 45===t?(e.consume(t),v):(e.exit("tableDelimiterFiller"),58===t?(e.enter("tableDelimiterAlignment"),e.consume(t),e.exit("tableDelimiterAlignment"),i[i.length-1]="left"===i[i.length-1]?"center":"right",y):d(t))}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),e.consume(t),s=!0,v):r(t)}function y(t){return null===t||(0,o.markdownLineEnding)(t)?b(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),m):124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),d):r(t)}function b(t){return e.exit("tableDelimiterRow"),s&&u===i.length?null===t?w(t):e.check(M,w,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,E,"linePrefix",4),w))(t):r(t)}function w(r){return e.exit("table"),t(r)}function E(t){return e.enter("tableBody"),D(t)}function D(t){return e.enter("tableRow"),124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function x(t){return e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),S}function S(t){return null===t||(0,o.markdownLineEnding)(t)?function(t){if(e.exit("tableRow"),null===t)return P(t);return e.check(M,P,e.attempt({tokenize:O,partial:!0},(0,F.factorySpace)(e,D,"linePrefix",4),P))(t)}(t):(0,o.markdownSpace)(t)?(e.enter("whitespace"),e.consume(t),A):124===t?x(t):(e.enter("temporaryTableCellContent"),k(t))}function A(t){return(0,o.markdownSpace)(t)?(e.consume(t),A):(e.exit("whitespace"),S(t))}function k(t){return null===t||124===t||(0,o.markdownLineEndingOrSpace)(t)?(e.exit("temporaryTableCellContent"),S(t)):(e.consume(t),92===t?C:k)}function C(t){return 92===t||124===t?(e.consume(t),k):k(t)}function P(t){return e.exit("tableBody"),w(t)}function O(e,t,r){return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,F.factorySpace)(e,i,"linePrefix")};function i(i){if(n.parser.lazy[n.now().line]||null===i||(0,o.markdownLineEnding)(i))return r(i);const a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?r(i):(n._gfmTableDynamicInterruptHack=!0,e.check(n.parser.constructs.flow,(function(e){return n._gfmTableDynamicInterruptHack=!1,r(e)}),(function(e){return n._gfmTableDynamicInterruptHack=!1,t(e)}))(i))}}},resolve:function(e,t){let r,n,o,i,a,s,u,c=-1;for(;++c<e.length;){const l=e[c][1];if(o&&("temporaryTableCellContent"===l.type&&(i=i||c,a=c),("tableCellDivider"===l.type||"tableRow"===l.type)&&a)){const r={type:"tableContent",start:e[i][1].start,end:e[a][1].end},n={type:"chunkText",start:r.start,end:r.end,contentType:"text"};e.splice(i,a-i+1,["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]),c-=a-i-3,i=void 0,a=void 0}if("exit"===e[c][0]&&void 0!==s&&s+(u?0:1)<c&&("tableCellDivider"===l.type||"tableRow"===l.type&&(s+3<c||"whitespace"!==e[s][1].type))){const o={type:n?"tableDelimiter":r?"tableHeader":"tableData",start:e[s][1].start,end:e[c][1].end};e.splice(c+("tableCellDivider"===l.type?1:0),0,["exit",o,t]),e.splice(s,0,["enter",o,t]),c+=2,s=c+1,u=!0}"tableRow"===l.type&&(o="enter"===e[c][0],o&&(s=c+1,u=!1)),"tableDelimiterRow"===l.type&&(n="enter"===e[c][0],n&&(s=c+1,u=!1)),"tableHead"===l.type&&(r="enter"===e[c][0])}return e}}}},M={tokenize:function(e,t,r){let n=0;return function(t){return e.enter("check"),e.consume(t),i};function i(a){return-1===a||32===a?(e.consume(a),n++,4===n?t:i):null===a||(0,o.markdownLineEndingOrSpace)(a)?t(a):r(a)}},partial:!0};const N={tokenize:function(e,t,r){const n=this;return function(t){if(null!==n.previous||!n._gfmTasklistFirstContentOfListItem)return r(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i};function i(t){return(0,o.markdownLineEndingOrSpace)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(n){return 93===n?(e.enter("taskListCheckMarker"),e.consume(n),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:H},t,r)):r(n)}}},$={text:{91:N}};function H(e,t,r){const n=this;return(0,F.factorySpace)(e,(function(e){const i=n.events[n.events.length-1];return(i&&"whitespace"===i[1].type||(0,o.markdownLineEnding)(e))&&null!==e?t(e):r(e)}),"whitespace")}function z(e,t){const r=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;-1!==o;)n++,o=r.indexOf(t,o+t.length);return n}var U=r(50819),q=r(44516);const V={}.hasOwnProperty,W=function(e,t,r,n){let o,i;"string"==typeof t||t instanceof RegExp?(i=[[t,r]],o=n):(i=t,o=r),o||(o={});const a=(0,q.O)(o.ignore||[]),s=function(e){const t=[];if("object"!=typeof e)throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let r=-1;for(;++r<e.length;)t.push([G(e[r][0]),Z(e[r][1])])}else{let r;for(r in e)V.call(e,r)&&t.push([G(r),Z(e[r])])}return t}(i);let u=-1;for(;++u<s.length;)(0,U.S4)(e,"text",c);return e;function c(e,t){let r,n=-1;for(;++n<t.length;){const e=t[n];if(a(e,r?r.children.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){const r=t[t.length-1],n=s[u][0],o=s[u][1];let i=0;const a=r.children.indexOf(e);let c=!1,l=[];n.lastIndex=0;let f=n.exec(e.value);for(;f;){const r=f.index,a={index:f.index,input:f.input,stack:[...t,e]};let s=o(...f,a);if("string"==typeof s&&(s=s.length>0?{type:"text",value:s}:void 0),!1!==s&&(i!==r&&l.push({type:"text",value:e.value.slice(i,r)}),Array.isArray(s)?l.push(...s):s&&l.push(s),i=r+f[0].length,c=!0),!n.global)break;f=n.exec(e.value)}c?(i<e.value.length&&l.push({type:"text",value:e.value.slice(i)}),r.children.splice(a,1,...l)):l=[e];return a+l.length}(e,t)}};function G(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Z(e){return"function"==typeof e?e:()=>e}const K="phrasing",Q=["autolink","link","image","label"],Y={transforms:[function(e){W(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ee],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,te]],{ignore:["link","linkReference"]})}],enter:{literalAutolink:function(e){this.enter({type:"link",title:null,url:"",children:[]},e)},literalAutolinkEmail:J,literalAutolinkHttp:J,literalAutolinkWww:J},exit:{literalAutolink:function(e){this.exit(e)},literalAutolinkEmail:function(e){this.config.exit.autolinkEmail.call(this,e)},literalAutolinkHttp:function(e){this.config.exit.autolinkProtocol.call(this,e)},literalAutolinkWww:function(e){this.config.exit.data.call(this,e);this.stack[this.stack.length-1].url="http://"+this.sliceSerialize(e)}}},X={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Q},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:K,notInConstruct:Q},{character:":",before:"[ps]",after:"\\/",inConstruct:K,notInConstruct:Q}]};function J(e){this.config.enter.autolinkProtocol.call(this,e)}function ee(e,t,r,n,o){let i="";if(!re(o))return!1;if(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!function(e){const t=e.split(".");if(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))return!1;return!0}(r))return!1;const a=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const o=z(e,"(");let i=z(e,")");for(;-1!==n&&o>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}(r+n);if(!a[0])return!1;const s={type:"link",title:null,url:i+t+a[0],children:[{type:"text",value:t+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function te(e,t,r,n){return!(!re(n,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function re(e,t){const r=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.unicodeWhitespace)(r)||(0,o.unicodePunctuation)(r))&&(!t||47!==r)}var ne=r(12006);function oe(e){return e.label||!e.identifier?e.label||"":(0,ne.v)(e.identifier)}var ie=r(85771);const ae=/\r?\n|\r/g;function se(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function ue(e,t){return ce(e,t.inConstruct,!0)&&!ce(e,t.notInConstruct,!1)}function ce(e,t,r){if("string"==typeof t&&(t=[t]),!t||0===t.length)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function le(e,t,r){const n=(r.before||"")+(t||"")+(r.after||""),o=[],i=[],a={};let s=-1;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!ue(e.stack,t))continue;const r=se(t);let i;for(;i=r.exec(n);){const e="before"in t||Boolean(t.atBreak),r="after"in t,n=i.index+(e?i[1].length:0);o.includes(n)?(a[n].before&&!e&&(a[n].before=!1),a[n].after&&!r&&(a[n].after=!1)):(o.push(n),a[n]={before:e,after:r})}}o.sort(fe);let u=r.before?r.before.length:0;const c=n.length-(r.after?r.after.length:0);for(s=-1;++s<o.length;){const e=o[s];e<u||e>=c||(e+1<c&&o[s+1]===e+1&&a[e].after&&!a[e+1].before&&!a[e+1].after||o[s-1]===e-1&&a[e].before&&!a[e-1].before&&!a[e-1].after||(u!==e&&i.push(pe(n.slice(u,e),"\\")),u=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(i.push("&#x"+n.charCodeAt(e).toString(16).toUpperCase()+";"),u++):i.push("\\")))}return i.push(pe(n.slice(u,c),r.after)),i.join("")}function fe(e,t){return e-t}function pe(e,t){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t;let a,s=-1,u=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)u!==n[s]&&o.push(e.slice(u,n[s])),o.push("\\"),u=n[s];return o.push(e.slice(u)),o.join("")}var he=r(87717);function de(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function me(){this.buffer()}function ve(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function ge(e){this.exit(e)}function ye(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function be(){this.buffer()}function we(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,S.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function Ee(e){this.exit(e)}function De(e,t,r,n){const o=(0,he.j)(n);let i=o.move("[^");const a=r.enter("footnoteReference"),s=r.enter("reference");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),a(),i+=o.move("]"),i}function xe(e,t,r,n){const o=(0,he.j)(n);let i=o.move("[^");const a=r.enter("footnoteDefinition"),s=r.enter("label");return i+=o.move(le(r,oe(e),{...o.current(),before:i,after:"]"})),s(),i+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),i+=o.move(function(e,t){const r=[];let n,o=0,i=0;for(;n=ae.exec(e);)a(e.slice(o,n.index)),r.push(n[0]),o=n.index+n[0].length,i++;return a(e.slice(o)),r.join("");function a(e){r.push(t(e,i,!e))}}((0,ie.K)(e,r,o.current()),Fe)),a(),i}function Fe(e,t,r){return 0===t?e:(r?"":" ")+e}De.peek=function(){return"["};var Se=r(48736);Ce.peek=function(){return"~"};const Ae={canContainEols:["delete"],enter:{strikethrough:function(e){this.enter({type:"delete",children:[]},e)}},exit:{strikethrough:function(e){this.exit(e)}}},ke={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]}],handlers:{delete:Ce}};function Ce(e,t,r,n){const o=(0,he.j)(n),i=r.enter("strikethrough");let a=o.move("~~");return a+=(0,Se.p)(e,r,{...o.current(),before:a,after:"~"}),a+=o.move("~~"),i(),a}function Pe(e,t,r){let n=e.value||"",o="`",i=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(n);)o+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const e=r.unsafe[i],t=se(e);let o;if(e.atBreak)for(;o=t.exec(n);){let e=o.index;10===n.charCodeAt(e)&&13===n.charCodeAt(e-1)&&e--,n=n.slice(0,e)+" "+n.slice(o.index+1)}}return o+n+o}function Oe(e){return null==e?"":String(e)}function je(e){return e.length}function Te(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}Pe.peek=function(){return"`"};const _e={enter:{table:function(e){const t=e._align;this.enter({type:"table",align:t.map((e=>"none"===e?null:e)),children:[]},e),this.setData("inTable",!0)},tableData:Be,tableHeader:Be,tableRow:function(e){this.enter({type:"tableRow",children:[]},e)}},exit:{codeText:function(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,Ie));this.stack[this.stack.length-1].value=t,this.exit(e)},table:function(e){this.exit(e),this.setData("inTable")},tableData:Re,tableHeader:Re,tableRow:Re}};function Re(e){this.exit(e)}function Be(e){this.enter({type:"tableCell",children:[]},e)}function Ie(e,t){return"|"===t?t:e}function Le(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,o=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:function(e,t,r,n){return s(function(e,t,r){const n=e.children;let o=-1;const i=[],a=t.enter("table");for(;++o<n.length;)i[o]=u(n[o],t,r);return a(),i}(e,r,n),e.align)},tableRow:function(e,t,r,n){const o=s([u(e,r,n)]);return o.slice(0,o.indexOf("\n"))},tableCell:a,inlineCode:function(e,t,r){let n=Pe(e,0,r);r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&"));return n}}};function a(e,t,r,n){const o=r.enter("tableCell"),a=r.enter("phrasing"),s=(0,Se.p)(e,r,{...n,before:i,after:i});return a(),o(),s}function s(e,t){return function(e,t={}){const r=(t.align||[]).concat(),n=t.stringLength||je,o=[],i=[],a=[],s=[];let u=0,c=-1;for(;++c<e.length;){const r=[],o=[];let l=-1;for(e[c].length>u&&(u=e[c].length);++l<e[c].length;){const i=Oe(e[c][l]);if(!1!==t.alignDelimiters){const e=n(i);o[l]=e,(void 0===s[l]||e>s[l])&&(s[l]=e)}r.push(i)}i[c]=r,a[c]=o}let l=-1;if("object"==typeof r&&"length"in r)for(;++l<u;)o[l]=Te(r[l]);else{const e=Te(r);for(;++l<u;)o[l]=e}l=-1;const f=[],p=[];for(;++l<u;){const e=o[l];let r="",n="";99===e?(r=":",n=":"):108===e?r=":":114===e&&(n=":");let i=!1===t.alignDelimiters?1:Math.max(1,s[l]-r.length-n.length);const a=r+"-".repeat(i)+n;!1!==t.alignDelimiters&&(i=r.length+i+n.length,i>s[l]&&(s[l]=i),p[l]=i),f[l]=a}i.splice(1,0,f),a.splice(1,0,p),c=-1;const h=[];for(;++c<i.length;){const e=i[c],r=a[c];l=-1;const n=[];for(;++l<u;){const i=e[l]||"";let a="",c="";if(!1!==t.alignDelimiters){const e=s[l]-(r[l]||0),t=o[l];114===t?a=" ".repeat(e):99===t?e%2?(a=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(a=" ".repeat(e/2),c=a):c=" ".repeat(e)}!1===t.delimiterStart||l||n.push("|"),!1===t.padding||!1===t.alignDelimiters&&""===i||!1===t.delimiterStart&&!l||n.push(" "),!1!==t.alignDelimiters&&n.push(a),n.push(i),!1!==t.alignDelimiters&&n.push(c),!1!==t.padding&&n.push(" "),!1===t.delimiterEnd&&l===u-1||n.push("|")}h.push(!1===t.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:o})}function u(e,t,r){const n=e.children;let o=-1;const i=[],s=t.enter("tableRow");for(;++o<n.length;)i[o]=a(n[o],0,t,r);return s(),i}}function Me(e,t,r,n){const o=function(e){const t=e.options.listItemIndent||"tab";if(1===t||"1"===t)return"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r);let i=r.bulletCurrent||function(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(i=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+i);let a=i.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(a=4*Math.ceil(a/4));const s=r.createTracker(n);s.move(i+" ".repeat(a-i.length)),s.shift(a);const u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,s.current()),(function(e,t,r){if(t)return(r?"":" ".repeat(a))+e;return(r?i:i+" ".repeat(a-i.length))+e}));return u(),c}const Ne={exit:{taskListCheckValueChecked:He,taskListCheckValueUnchecked:He,paragraph:function(e){const t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){const e=this.stack[this.stack.length-1],r=e.children[0];if(r&&"text"===r.type){const n=t.children;let o,i=-1;for(;++i<n.length;){const e=n[i];if("paragraph"===e.type){o=e;break}}o===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}}},$e={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:function(e,t,r,n){const o=e.children[0],i="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=(0,he.j)(n);i&&s.move(a);let u=Me(e,t,r,{...n,...s.current()});i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){return e+a})));return u}}};function He(e){this.stack[this.stack.length-2].checked="taskListCheckValueChecked"===e.type}function ze(e={}){const t=this.data();function r(e,r){(t[e]?t[e]:t[e]=[]).push(r)}r("micromarkExtensions",function(e){return(0,n.W)([d,{document:{91:{tokenize:O,continuation:{tokenize:j},exit:T}},text:{91:{tokenize:P},93:{add:"after",tokenize:k,resolveTo:C}}},I(e),L,$])}(e)),r("fromMarkdownExtensions",[Y,{enter:{gfmFootnoteDefinition:de,gfmFootnoteDefinitionLabelString:me,gfmFootnoteCall:ye,gfmFootnoteCallString:be},exit:{gfmFootnoteDefinition:ge,gfmFootnoteDefinitionLabelString:ve,gfmFootnoteCall:Ee,gfmFootnoteCallString:we}},Ae,_e,Ne]),r("toMarkdownExtensions",function(e){return{extensions:[X,{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:xe,footnoteReference:De}},ke,Le(e),$e]}}(e))}},24851:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>fe});var n={};r.r(n),r.d(n,{attentionMarkers:()=>Q,contentInitial:()=>q,disable:()=>Y,document:()=>U,flow:()=>W,flowInitial:()=>V,insideSpan:()=>K,string:()=>G,text:()=>Z});var o=r(28989),i=r(89063),a=r(46050),s=r(19967);const u={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),(0,a.factorySpace)(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),n(t)}));let r;return t;function n(t){const n=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=n),r=n,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):(0,s.markdownLineEnding)(t)?(e.consume(t),e.exit("chunkText"),n):(e.consume(t),o)}}};var c=r(11707);const l={tokenize:function(e){const t=this,r=[];let n,o,i,a=0;return u;function u(n){if(a<r.length){const o=r[a];return t.containerState=o[1],e.attempt(o[0].continuation,l,p)(n)}return p(n)}function l(e){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,n&&E();const r=t.events.length;let o,i=r;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}w(a);let s=r;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return(0,c.d)(t.events,i+1,0,t.events.slice(r)),t.events.length=s,p(e)}return u(e)}function p(o){if(a===r.length){if(!n)return m(o);if(n.currentConstruct&&n.currentConstruct.concrete)return g(o);t.interrupt=Boolean(n.currentConstruct&&!n._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(f,h,d)(o)}function h(e){return n&&E(),w(a),m(e)}function d(e){return t.parser.lazy[t.now().line]=a!==r.length,i=t.now().offset,g(e)}function m(r){return t.containerState={},e.attempt(f,v,g)(r)}function v(e){return a++,r.push([t.currentConstruct,t.containerState]),m(e)}function g(r){return null===r?(n&&E(),w(0),void e.consume(r)):(n=n||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:n}),y(r))}function y(r){return null===r?(b(e.exit("chunkFlow"),!0),w(0),void e.consume(r)):(0,s.markdownLineEnding)(r)?(e.consume(r),b(e.exit("chunkFlow")),a=0,t.interrupt=void 0,u):(e.consume(r),y)}function b(e,r){const s=t.sliceStream(e);if(r&&s.push(null),e.previous=o,o&&(o.next=e),o=e,n.defineSkip(e.start),n.write(s),t.parser.lazy[e.start.line]){let e=n.events.length;for(;e--;)if(n.events[e][1].start.offset<i&&(!n.events[e][1].end||n.events[e][1].end.offset>i))return;const r=t.events.length;let o,s,u=r;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){s=t.events[u][1].end;break}o=!0}for(w(a),e=r;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++;(0,c.d)(t.events,u+1,0,t.events.slice(r)),t.events.length=e}}function w(n){let o=r.length;for(;o-- >n;){const n=r[o];t.containerState=n[1],n[0].exit.call(t,e)}r.length=n}function E(){n.write([null]),o=void 0,n=void 0,t.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,r){return(0,a.factorySpace)(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var p=r(58775),h=r(52240);const d={tokenize:function(e){const t=this,r=e.attempt(p.w,(function(n){if(null===n)return void e.consume(n);return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}),e.attempt(this.parser.constructs.flowInitial,n,(0,a.factorySpace)(e,e.attempt(this.parser.constructs.flow,n,e.attempt(h.k,n)),"linePrefix")));return r;function n(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r;e.consume(n)}}};const m={resolveAll:b()},v=y("string"),g=y("text");function y(e){return{tokenize:function(t){const r=this,n=this.parser.constructs[e],o=t.attempt(n,i,a);return i;function i(e){return u(e)?o(e):a(e)}function a(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function u(e){if(null===e)return!0;const t=n[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}},resolveAll:b("text"===e?w:void 0)}}function b(e){return function(t,r){let n,o=-1;for(;++o<=t.length;)void 0===n?t[o]&&"data"===t[o][1].type&&(n=o,o++):t[o]&&"data"===t[o][1].type||(o!==n+2&&(t[n][1].end=t[o-1][1].end,t.splice(n+2,o-n-2),o=n+2),n=void 0);return e?e(t,r):t}}function w(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){const n=e[r-1][1],o=t.sliceStream(n);let i,a=o.length,s=-1,u=0;for(;a--;){const e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)i=!0,u++;else if(-1!==e){a++;break}}if(u){const o={type:r===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-u,offset:n.end.offset-u,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},o.start),n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(r,0,["enter",o,t],["exit",o,t]),r+=2)}r++}return e}var E=r(79142);function D(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],u=[],l=!0;const f={consume:function(e){(0,s.markdownLineEnding)(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,x()):-1!==e&&(n.column++,n.offset++);n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++));p.previous=e,l=!0},enter:function(e,t){const r=t||{};return r.type=e,r.start=v(),p.events.push(["enter",r,p]),u.push(r),r},exit:function(e){const t=u.pop();return t.end=v(),p.events.push(["exit",t,p]),t},attempt:w((function(e,t){D(e,t.from)})),check:w(b),interrupt:w(b,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:function(e,t){return function(e,t){let r=-1;const n=[];let o;for(;++r<e.length;){const i=e[r];let a;if("string"==typeof i)a=i;else switch(i){case-5:a="\r";break;case-4:a="\n";break;case-3:a="\r\n";break;case-2:a=t?" ":"\t";break;case-1:if(!t&&o)continue;a=" ";break;default:a=String.fromCharCode(i)}o=-2===i,n.push(a)}return n.join("")}(m(e),t)},now:v,defineSkip:function(e){o[e.line]=e.column,x()},write:function(e){if(a=(0,c.V)(a,e),g(),null!==a[a.length-1])return[];return D(t,0),p.events=(0,E.C)(i,p.events,p),p.events}};let h,d=t.tokenize.call(p,f);return t.resolveAll&&i.push(t),p;function m(e){return function(e,t){const r=t.start._index,n=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;r===o?a=[e[r].slice(n,i)]:(a=e.slice(r,o),n>-1&&(a[0]=a[0].slice(n)),i>0&&a.push(e[o].slice(0,i)));return a}(a,e)}function v(){return Object.assign({},n)}function g(){let e;for(;n._index<a.length;){const t=a[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)y(t.charCodeAt(n._bufferIndex));else y(t)}}function y(e){l=void 0,h=e,d=d(e)}function b(e,t){t.restore()}function w(e,t){return function(r,o,i){let a,s,c,h;return Array.isArray(r)?d(r):"tokenize"in r?d([r]):function(e){return t;function t(t){const r=null!==t&&e[t],n=null!==t&&e.null;return d([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}(r);function d(e){return a=e,s=0,0===e.length?i:m(e[s])}function m(e){return function(r){h=function(){const e=v(),t=p.previous,r=p.currentConstruct,o=p.events.length,i=Array.from(u);return{restore:a,from:o};function a(){n=e,p.previous=t,p.currentConstruct=r,p.events.length=o,u=i,x()}}(),c=e,e.partial||(p.currentConstruct=e);if(e.name&&p.parser.constructs.disable.null.includes(e.name))return y(r);return e.tokenize.call(t?Object.assign(Object.create(p),t):p,f,g,y)(r)}}function g(t){return l=!0,e(c,h),o}function y(e){return l=!0,h.restore(),++s<a.length?m(a[s]):i}}}function D(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,c.d)(p.events,t,p.events.length-t,e.resolve(p.events.slice(t),p)),e.resolveTo&&(p.events=e.resolveTo(p.events,p))}function x(){n.line in o&&n.column<2&&(n.column=o[n.line],n.offset+=o[n.line]-1)}}var x=r(44084),F=r(79230),S=r(22774),A=r(44322),k=r(86053),C=r(19281),P=r(38029),O=r(26890),j=r(60214),T=r(73608),_=r(30670),R=r(47071),B=r(82287),I=r(39362),L=r(40366),M=r(9373),N=r(83555),$=r(2669),H=r(3369),z=r(83126);const U={42:x.p,43:x.p,45:x.p,48:x.p,49:x.p,50:x.p,51:x.p,52:x.p,53:x.p,54:x.p,55:x.p,56:x.p,57:x.p,62:F.m},q={91:S.D},V={[-2]:A.S,[-1]:A.S,32:A.S},W={35:k.Z,42:C.C,45:[P.C,C.C],60:O.P,61:P.C,95:C.C,96:j._,126:j._},G={38:T.u,92:_.L},Z={[-5]:R.g,[-4]:R.g,[-3]:R.g,33:B.C,38:T.u,42:I.v,60:[L.j,M.L],91:N.F,92:[$.R,_.L],93:H.Z,95:I.v,96:z.h},K={null:[I.v,m]},Q={null:[42,95]},Y={null:[]};const X=/[\0\t\n\r]/g;var J=r(35197);var ee=r(92791),te=r(12006),re=r(37618),ne=r(36365),oe=r(56077);const ie={}.hasOwnProperty,ae=function(e,t,r){return"string"!=typeof t&&(r=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(pe),autolinkProtocol:C,autolinkEmail:C,atxHeading:u(J),blockQuote:u(Z),characterEscape:C,characterReference:C,codeFenced:u(K),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(K,c),codeText:u(Q,c),codeTextData:C,data:C,codeFlowValue:C,definition:u(Y),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(X),hardBreakEscape:u(ae),hardBreakTrailing:u(ae),htmlFlow:u(ce,c),htmlFlowData:C,htmlText:u(ce,c),htmlTextData:C,image:u(fe),label:c,link:u(pe),listItem:u(de),listItemValue:m,listOrdered:u(he,d),listUnordered:u(he),paragraph:u(me),reference:z,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(J),strong:u(ve),thematicBreak:u(ye)},exit:{atxHeading:f(),atxHeadingSequence:F,autolink:f(),autolinkEmail:G,autolinkProtocol:W,blockQuote:f(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:q,characterReferenceMarkerNumeric:q,characterReferenceValue:V,codeFenced:f(b),codeFencedFence:y,codeFencedFenceInfo:v,codeFencedFenceMeta:g,codeFlowValue:P,codeIndented:f(w),codeText:f(R),codeTextData:P,data:P,definition:f(),definitionDestinationString:x,definitionLabelString:E,definitionTitleString:D,emphasis:f(),hardBreakEscape:f(j),hardBreakTrailing:f(j),htmlFlow:f(T),htmlFlowData:P,htmlText:f(_),htmlTextData:P,image:f(I),label:M,labelText:L,lineEnding:O,link:f(B),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:U,resourceDestinationString:N,resourceTitleString:$,resource:H,setextHeading:f(k),setextHeadingLineSequence:A,setextHeadingText:S,strong:f(),thematicBreak:f()}};ue(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(e){let r={type:"root",children:[]};const n={stack:[r],tokenStack:[],config:t,enter:l,exit:p,buffer:c,resume:h,setData:a,getData:s},o=[];let u=-1;for(;++u<e.length;)if("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)if("enter"===e[u][0])o.push(u);else{u=i(e,o.pop(),u)}for(u=-1;++u<e.length;){const r=t[e[u][0]];ie.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},n),e[u][1])}if(n.tokenStack.length>0){const e=n.tokenStack[n.tokenStack.length-1];(e[1]||le).call(n,void 0,e[0])}for(r.position={start:se(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:se(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r}function i(e,t,r){let n,o,i,a,s=t-1,u=-1,c=!1;for(;++s<=r;){const t=e[s];if("listUnordered"===t[1].type||"listOrdered"===t[1].type||"blockQuote"===t[1].type?("enter"===t[0]?u++:u--,a=void 0):"lineEndingBlank"===t[1].type?"enter"===t[0]&&(!n||a||u||i||(i=s),a=void 0):"linePrefix"===t[1].type||"listItemValue"===t[1].type||"listItemMarker"===t[1].type||"listItemPrefix"===t[1].type||"listItemPrefixWhitespace"===t[1].type||(a=void 0),!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let a=s;for(o=void 0;a--;){const t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=a}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(n._spread=!0),n.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",n,t[2]]),s++,r++}"listItemPrefix"===t[1].type&&(n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start)},e.splice(s,0,["enter",n,t[2]]),s++,r++,i=void 0,a=!0)}}return e[t][1]._spread=c,r}function a(e,t){r[e]=t}function s(e){return r[e]}function u(e,t){return r;function r(r){l.call(this,e(r),r),t&&t.call(this,r)}}function c(){this.stack.push({type:"fragment",children:[]})}function l(e,t,r){return this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r]),e.position={start:se(t.start)},e}function f(e){return t;function t(t){e&&e.call(this,t),p.call(this,t)}}function p(e,t){const r=this.stack.pop(),n=this.tokenStack.pop();if(!n)throw new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): it’s not open");if(n[0].type!==e.type)if(t)t.call(this,e,n[0]);else{(n[1]||le).call(this,e,n[0])}return r.position.end=se(e.end),r}function h(){return(0,o.B)(this.stack.pop())}function d(){a("expectingFirstListItemValue",!0)}function m(e){if(s("expectingFirstListItemValue")){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),a("expectingFirstListItemValue")}}function v(){const e=this.resume();this.stack[this.stack.length-1].lang=e}function g(){const e=this.resume();this.stack[this.stack.length-1].meta=e}function y(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function b(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function w(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function E(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase()}function D(){const e=this.resume();this.stack[this.stack.length-1].title=e}function x(){const e=this.resume();this.stack[this.stack.length-1].url=e}function F(e){const t=this.stack[this.stack.length-1];if(!t.depth){const r=this.sliceSerialize(e).length;t.depth=r}}function S(){a("setextHeadingSlurpLineEnding",!0)}function A(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2}function k(){a("setextHeadingSlurpLineEnding")}function C(e){const t=this.stack[this.stack.length-1];let r=t.children[t.children.length-1];r&&"text"===r.type||(r=ge(),r.position={start:se(e.start)},t.children.push(r)),this.stack.push(r)}function P(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=se(e.end)}function O(e){const r=this.stack[this.stack.length-1];if(s("atHardBreak")){return r.children[r.children.length-1].position.end=se(e.end),void a("atHardBreak")}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(r.type)&&(C.call(this,e),P.call(this,e))}function j(){a("atHardBreak",!0)}function T(){const e=this.resume();this.stack[this.stack.length-1].value=e}function _(){const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){const e=this.resume();this.stack[this.stack.length-1].value=e}function B(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function I(){const e=this.stack[this.stack.length-1];if(s("inReference")){const t=s("referenceType")||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;a("referenceType")}function L(e){const t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=(0,te.v)(t),r.identifier=(0,re.normalizeIdentifier)(t).toLowerCase()}function M(){const e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];if(a("inReference",!0),"link"===r.type){const t=e.children;r.children=t}else r.alt=t}function N(){const e=this.resume();this.stack[this.stack.length-1].url=e}function $(){const e=this.resume();this.stack[this.stack.length-1].title=e}function H(){a("inReference")}function z(){a("referenceType","collapsed")}function U(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=(0,re.normalizeIdentifier)(this.sliceSerialize(e)).toLowerCase(),a("referenceType","full")}function q(e){a("characterReferenceType",e.type)}function V(e){const t=this.sliceSerialize(e),r=s("characterReferenceType");let n;if(r)n=(0,ee.o)(t,"characterReferenceMarkerNumeric"===r?10:16),a("characterReferenceType");else{n=(0,ne.T)(t)}const o=this.stack.pop();o.value+=n,o.position.end=se(e.end)}function W(e){P.call(this,e);this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function G(e){P.call(this,e);this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function Z(){return{type:"blockquote",children:[]}}function K(){return{type:"code",lang:null,meta:null,value:""}}function Q(){return{type:"inlineCode",value:""}}function Y(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function J(){return{type:"heading",depth:void 0,children:[]}}function ae(){return{type:"break"}}function ce(){return{type:"html",value:""}}function fe(){return{type:"image",title:null,url:"",alt:null}}function pe(){return{type:"link",title:null,url:"",children:[]}}function he(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function de(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function ve(){return{type:"strong",children:[]}}function ge(){return{type:"text",value:""}}function ye(){return{type:"thematicBreak"}}}(r)(function(e){for(;!(0,J._)(e););return e}(function(e={}){const t={defined:[],lazy:{},constructs:(0,i.W)([n].concat(e.extensions||[])),content:r(u),document:r(l),flow:r(d),string:r(v),text:r(g)};return t;function r(e){return function(r){return D(t,e,r)}}}(r).document().write(function(){let e,t=1,r="",n=!0;return function(o,i,a){const s=[];let u,c,l,f,p;for(o=r+o.toString(i),l=0,r="",n&&(65279===o.charCodeAt(0)&&l++,n=void 0);l<o.length;){if(X.lastIndex=l,u=X.exec(o),f=u&&void 0!==u.index?u.index:o.length,p=o.charCodeAt(f),!u){r=o.slice(l);break}if(10===p&&l===f&&e)s.push(-3),e=void 0;else switch(e&&(s.push(-5),e=void 0),l<f&&(s.push(o.slice(l,f)),t+=f-l),p){case 0:s.push(65533),t++;break;case 9:for(c=4*Math.ceil(t/4),s.push(-2);t++<c;)s.push(-1);break;case 10:s.push(-4),t=1;break;default:e=!0,t=1}l=f+1}return a&&(e&&s.push(-5),r&&s.push(r),s.push(null)),s}}()(e,t,!0))))};function se(e){return{line:e.line,column:e.column,offset:e.offset}}function ue(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ue(e,n):ce(e,n)}}function ce(e,t){let r;for(r in t)if(ie.call(t,r))if("canContainEols"===r){const n=t[r];n&&e[r].push(...n)}else if("transforms"===r){const n=t[r];n&&e[r].push(...n)}else if("enter"===r||"exit"===r){const n=t[r];n&&Object.assign(e[r],n)}}function le(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+(0,oe.y)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+(0,oe.y)({start:t.start,end:t.end})+") is still open")}const fe=function(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ae(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}},29477:(e,t,r)=>{"use strict";function n(e){if(e)throw e}r.r(t),r.d(t,{unified:()=>w});var o=r(38165),i=r(24740);function a(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function s(){const e=[],t={run:function(...t){let r=-1;const n=t.pop();if("function"!=typeof n)throw new TypeError("Expected function as last argument, not "+n);!function o(i,...a){const s=e[++r];let u=-1;if(i)n(i);else{for(;++u<t.length;)null!==a[u]&&void 0!==a[u]||(a[u]=t[u]);t=a,s?function(e,t){let r;return n;function n(...t){const n=e.length>t.length;let a;n&&t.push(o);try{a=e.apply(this,t)}catch(e){if(n&&r)throw e;return o(e)}n||(a instanceof Promise?a.then(i,o):a instanceof Error?o(a):i(a))}function o(e,...n){r||(r=!0,t(e,...n))}function i(e){o(null,e)}}(s,o)(...a):n(null,...a)}}(null,...t)},use:function(r){if("function"!=typeof r)throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}var u=r(56077);class c extends Error{constructor(e,t,r){const n=[null,null];let o={start:{line:null,column:null},end:{line:null,column:null}};if(super(),"string"==typeof t&&(r=t,t=void 0),"string"==typeof r){const e=r.indexOf(":");-1===e?n[1]=r:(n[0]=r.slice(0,e),n[1]=r.slice(e+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=(0,u.y)(t)||"1:1",this.message="object"==typeof e?e.message:e,this.stack="","object"==typeof e&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=n[0],this.ruleId=n[1],this.file,this.actual,this.expected,this.url,this.note}}c.prototype.file="",c.prototype.name="",c.prototype.reason="",c.prototype.message="",c.prototype.stack="",c.prototype.fatal=null,c.prototype.column=null,c.prototype.line=null,c.prototype.source=null,c.prototype.ruleId=null,c.prototype.position=null;const l={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');f(e);let r,n=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else o<0&&(r=!0,o=i+1);return o<0?"":e.slice(n,o)}if(t===e)return"";let a=-1,s=t.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(r){n=i+1;break}}else a<0&&(r=!0,a=i+1),s>-1&&(e.charCodeAt(i)===t.charCodeAt(s--)?s<0&&(o=i):(s=-1,o=a));n===o?o=a:o<0&&(o=e.length);return e.slice(n,o)},dirname:function(e){if(f(e),0===e.length)return".";let t,r=-1,n=e.length;for(;--n;)if(47===e.charCodeAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.charCodeAt(0)?"/":".":1===r&&47===e.charCodeAt(0)?"//":e.slice(0,r)},extname:function(e){f(e);let t,r=e.length,n=-1,o=0,i=-1,a=0;for(;r--;){const s=e.charCodeAt(r);if(47!==s)n<0&&(t=!0,n=r+1),46===s?i<0?i=r:1!==a&&(a=1):i>-1&&(a=-1);else if(t){o=r+1;break}}if(i<0||n<0||0===a||1===a&&i===n-1&&i===o+1)return"";return e.slice(i,n)},join:function(...e){let t,r=-1;for(;++r<e.length;)f(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":function(e){f(e);const t=47===e.charCodeAt(0);let r=function(e,t){let r,n,o="",i=0,a=-1,s=0,u=-1;for(;++u<=e.length;){if(u<e.length)r=e.charCodeAt(u);else{if(47===r)break;r=47}if(47===r){if(a===u-1||1===s);else if(a!==u-1&&2===s){if(o.length<2||2!==i||46!==o.charCodeAt(o.length-1)||46!==o.charCodeAt(o.length-2))if(o.length>2){if(n=o.lastIndexOf("/"),n!==o.length-1){n<0?(o="",i=0):(o=o.slice(0,n),i=o.length-1-o.lastIndexOf("/")),a=u,s=0;continue}}else if(o.length>0){o="",i=0,a=u,s=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(a+1,u):o=e.slice(a+1,u),i=u-a-1;a=u,s=0}else 46===r&&s>-1?s++:s=-1}return o}(e,!t);0!==r.length||t||(r=".");r.length>0&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(t)},sep:"/"};function f(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const p={cwd:function(){return"/"}};function h(e){return null!==e&&"object"==typeof e&&e.href&&e.origin}function d(e){if("string"==typeof e)e=new URL(e);else if(!h(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let r=-1;for(;++r<t.length;)if(37===t.charCodeAt(r)&&50===t.charCodeAt(r+1)){const e=t.charCodeAt(r+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}const m=["history","path","basename","stem","extname","dirname"];class v{constructor(e){let t;t=e?"string"==typeof e||function(e){return o(e)}(e)?{value:e}:h(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=p.cwd(),this.value,this.stored,this.result,this.map;let r,n=-1;for(;++n<m.length;){const e=m[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)m.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(e){h(e)&&(e=d(e)),y(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return"string"==typeof this.path?l.dirname(this.path):void 0}set dirname(e){b(this.basename,"dirname"),this.path=l.join(e||"",this.basename)}get basename(){return"string"==typeof this.path?l.basename(this.path):void 0}set basename(e){y(e,"basename"),g(e,"basename"),this.path=l.join(this.dirname||"",e)}get extname(){return"string"==typeof this.path?l.extname(this.path):void 0}set extname(e){if(g(e,"extname"),b(this.dirname,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=l.join(this.dirname,this.stem+(e||""))}get stem(){return"string"==typeof this.path?l.basename(this.path,this.extname):void 0}set stem(e){y(e,"stem"),g(e,"stem"),this.path=l.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,t,r){const n=new c(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(e,t,r){const n=this.message(e,t,r);return n.fatal=null,n}fail(e,t,r){const n=this.message(e,t,r);throw n.fatal=!0,n}}function g(e,t){if(e&&e.includes(l.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+l.sep+"`")}function y(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const w=function e(){const t=s(),r=[];let u,c={},l=-1;return f.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(S("data",u),c[e]=t,f):E.call(c,e)&&c[e]||null;if(e)return S("data",u),c=e,f;return c},f.Parser=void 0,f.Compiler=void 0,f.freeze=function(){if(u)return f;for(;++l<r.length;){const[e,...n]=r[l];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const o=e.call(f,...n);"function"==typeof o&&t.use(o)}return u=!0,l=Number.POSITIVE_INFINITY,f},f.attachers=r,f.use=function(e,...t){let n;if(S("use",u),null==e);else if("function"==typeof e)p(e,...t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?l(e):s(e)}n&&(c.settings=Object.assign(c.settings||{},n));return f;function o(e){if("function"==typeof e)p(e);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...r]=e;p(t,...r)}else s(e)}}function s(e){l(e.plugins),e.settings&&(n=Object.assign(n||{},e.settings))}function l(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){o(e[t])}}}function p(e,t){let n,o=-1;for(;++o<r.length;)if(r[o][0]===e){n=r[o];break}n?(a(n[1])&&a(t)&&(t=i(!0,n[1],t)),n[1]=t):r.push([...arguments])}},f.parse=function(e){f.freeze();const t=C(e),r=f.Parser;if(x("parse",r),D(r,"parse"))return new r(String(t),t).parse();return r(String(t),t)},f.stringify=function(e,t){f.freeze();const r=C(t),n=f.Compiler;if(F("stringify",n),A(e),D(n,"compile"))return new n(e,r).compile();return n(e,r)},f.run=function(e,r,n){A(e),f.freeze(),n||"function"!=typeof r||(n=r,r=void 0);if(!n)return new Promise(o);function o(o,i){function a(t,r,a){r=r||e,t?i(t):o?o(r):n(null,r,a)}t.run(e,C(r),a)}o(null,n)},f.runSync=function(e,t){let r,o;return f.run(e,t,i),k("runSync","run",o),r;function i(e,t){n(e),r=t,o=!0}},f.process=function(e,t){if(f.freeze(),x("process",f.Parser),F("process",f.Compiler),!t)return new Promise(r);function r(r,n){const i=C(e);function a(e,o){e||!o?n(e):r?r(o):t(null,o)}f.run(f.parse(i),i,((e,t,r)=>{if(!e&&t&&r){const n=f.stringify(t,r);null==n||(!function(e){return"string"==typeof e||o(e)}(n)?r.result=n:r.value=n),a(e,r)}else a(e)}))}r(null,t)},f.processSync=function(e){let t;f.freeze(),x("processSync",f.Parser),F("processSync",f.Compiler);const r=C(e);return f.process(r,o),k("processSync","process",t),r;function o(e){t=!0,n(e)}},f;function f(){const t=e();let n=-1;for(;++n<r.length;)t.use(...r[n]);return t.data(i(!0,{},c)),t}}().freeze(),E={}.hasOwnProperty;function D(e,t){return"function"==typeof e&&e.prototype&&(function(e){let t;for(t in e)if(E.call(e,t))return!0;return!1}(e.prototype)||t in e.prototype)}function x(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Parser`")}function F(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `Compiler`")}function S(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function A(e){if(!a(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function k(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function C(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new v(e)}},49522:(e,t,r)=>{"use strict";r.r(t),r.d(t,{convert:()=>n.O,is:()=>n.is});var n=r(44516)},44516:(e,t,r)=>{"use strict";r.d(t,{O:()=>o,is:()=>n});const n=function e(t,r,n,i,a){const s=o(r);if(null!=n&&("number"!=typeof n||n<0||n===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(!(null==i||e(i)&&i.children))throw new Error("Expected parent node");if(null==i!=(null==n))throw new Error("Expected both parent and index");return!(!t||!t.type||"string"!=typeof t.type)&&Boolean(s.call(a,t,n,i))},o=function(e){if(null==e)return a;if("string"==typeof e)return function(e){return i(t);function t(t){return t&&t.type===e}}(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=o(e[r]);return i(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}(e):function(e){return i(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}(e);if("function"==typeof e)return i(e);throw new Error("Expected function, string, or object as test")};function i(e){return function(t,...r){return Boolean(t&&"object"==typeof t&&"type"in t&&Boolean(e.call(this,t,...r)))}}function a(){return!0}},93227:(e,t,r)=>{"use strict";r.r(t),r.d(t,{matches:()=>re,select:()=>ne,selectAll:()=>oe});const n={},o={};function i(e,t){let r=t;for(let t=0;t<e.length;t++){const n=t===e.length-1,o=e.charAt(t),i=r[o]||(r[o]={chars:{}});n&&(i.self=e),r=i.chars}}function a(e){if(0===e.length)return n;const t={};for(const r of e)i(r,t);return t}function s(e){if(0===e.length)return o;const t={};for(const r of e)t[r]=!0;return t}const u={},c={type:"String",optional:!0};function l(e){const t={optional:!1};function r(e){if(t.type&&t.type!==e)throw new Error(`Conflicting pseudo-class argument type: "${t.type}" vs "${e}".`);t.type=e}for(const n of e)"NoArgument"===n&&(t.optional=!0),"Formula"===n&&r("Formula"),"FormulaOfSelector"===n&&(r("Formula"),t.ofSelector=!0),"String"===n&&r("String"),"Selector"===n&&r("Selector");return t}function f(e){const t=function(e){const t={};for(const r of Object.keys(e)){const n=e[r];if(n)for(const e of n)(t[e]||(t[e]=[])).push(r)}return t}(e),r={};for(const e of Object.keys(t)){const n=t[e];n&&(r[e]=l(n))}return r}const p={},h={wildcard:!0};function d(e){return e?"boolean"==typeof e?h:e:p}function m(e,t){const r={...e};if("tag"in t)if(t.tag){r.tag={...d(e.tag)};const n=d(t.tag);"wildcard"in n&&(r.tag.wildcard=n.wildcard)}else r.tag=void 0;if("ids"in t&&(r.ids=t.ids),"classNames"in t&&(r.classNames=t.classNames),"namespace"in t)if(t.namespace){r.namespace={...d(e.namespace)};const n=d(t.namespace);"wildcard"in n&&(r.namespace.wildcard=n.wildcard)}else r.namespace=void 0;if("combinators"in t&&(t.combinators?r.combinators=r.combinators?r.combinators.concat(t.combinators):t.combinators:r.combinators=void 0),"attributes"in t&&(t.attributes?(r.attributes={...e.attributes},"unknownCaseSensitivityModifiers"in t.attributes&&(r.attributes.unknownCaseSensitivityModifiers=t.attributes.unknownCaseSensitivityModifiers),"operators"in t.attributes&&(r.attributes.operators=t.attributes.operators?r.attributes.operators?r.attributes.operators.concat(t.attributes.operators):t.attributes.operators:void 0),"caseSensitivityModifiers"in t.attributes&&(r.attributes.caseSensitivityModifiers=t.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers?r.attributes.caseSensitivityModifiers.concat(t.attributes.caseSensitivityModifiers):t.attributes.caseSensitivityModifiers:void 0)):r.attributes=void 0),"pseudoElements"in t&&(t.pseudoElements?(r.pseudoElements={...e.pseudoElements},"unknown"in t.pseudoElements&&(r.pseudoElements.unknown=t.pseudoElements.unknown),"notation"in t.pseudoElements&&(r.pseudoElements.notation=t.pseudoElements.notation),"definitions"in t.pseudoElements&&(r.pseudoElements.definitions=t.pseudoElements.definitions?r.pseudoElements.definitions?r.pseudoElements.definitions.concat(t.pseudoElements.definitions):t.pseudoElements.definitions:void 0)):r.pseudoElements=void 0),"pseudoClasses"in t)if(t.pseudoClasses){if(r.pseudoClasses={...e.pseudoClasses},"unknown"in t.pseudoClasses&&(r.pseudoClasses.unknown=t.pseudoClasses.unknown),"definitions"in t.pseudoClasses){const e=t.pseudoClasses.definitions;if(e){r.pseudoClasses.definitions={...r.pseudoClasses.definitions};const t=r.pseudoClasses.definitions;for(const r of Object.keys(e)){const n=e[r],o=t[r];t[r]=n?o?o.concat(n):n:void 0}}else r.pseudoClasses.definitions=void 0}}else r.pseudoClasses=void 0;return r}const v={tag:{},ids:!0,classNames:!0,combinators:[],pseudoElements:{unknown:"reject",notation:"singleColon",definitions:["first-letter","first-line"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["link","visited","active"]}}},g=m(v,{tag:{wildcard:!0},combinators:[">","+"],attributes:{unknownCaseSensitivityModifiers:"reject",operators:["=","~=","|="]},pseudoElements:{definitions:["before","after"]},pseudoClasses:{unknown:"reject",definitions:{NoArgument:["hover","focus","first-child"],String:["lang"]}}}),y=m(g,{namespace:{wildcard:!0},combinators:["~"],attributes:{operators:["^=","$=","*="]},pseudoElements:{notation:"both"},pseudoClasses:{definitions:{NoArgument:["root","last-child","first-of-type","last-of-type","only-child","only-of-type","empty","target","enabled","disabled","checked","indeterminate"],Formula:["nth-child","nth-last-child","nth-of-type","nth-last-of-type"],Selector:["not"]}}}),b=m(y,{combinators:["||"],attributes:{caseSensitivityModifiers:["i","I","s","S"]},pseudoClasses:{definitions:{NoArgument:["any-link","local-link","target-within","scope","current","past","future","focus-within","focus-visible","read-write","read-only","placeholder-shown","default","valid","invalid","in-range","out-of-range","required","optional","blank","user-invalid"],Formula:["nth-col","nth-last-col"],String:["dir"],FormulaOfSelector:["nth-child","nth-last-child"],Selector:["current","is","where","has"]}}}),w={css1:v,css2:g,css3:y,"selectors-3":y,"selectors-4":b,latest:b,progressive:m(b,{pseudoElements:{unknown:"accept"},pseudoClasses:{unknown:"accept"},attributes:{unknownCaseSensitivityModifiers:"accept"}})};function E(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e}function D(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"}const x={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\"},F={" ":!0,"\t":!0,"\n":!0,"\r":!0,"\f":!0},S={'"':!0,"'":!0},A={0:!0,1:!0,2:!0,3:!0,4:!0,5:!0,6:!0,7:!0,8:!0,9:!0};const k="css-selector-parser parse error: ";function C(e){return(t,r)=>({[t]:t=>({type:e,...t}),[r]:t=>"object"==typeof t&&null!==t&&t.type===e})}C("Selector")("selector","isSelector"),C("Rule")("rule","isRule"),C("TagName")("tagName","isTagName"),C("WildcardTag")("wildcardTag","isWildcardTag"),C("NamespaceName")("namespaceName","isNamespaceName"),C("WildcardNamespace")("wildcardNamespace","isWildcardNamespace"),C("NoNamespace")("noNamespace","isNoNamespace"),C("Attribute")("attribute","isAttribute"),C("PseudoClass")("pseudoClass","isPseudoClass"),C("String")("string","isString"),C("Formula")("formula","isFormula"),C("FormulaOfSelector")("formulaOfSelector","isFormulaOfSelector"),C("Substitution")("substitution","isSubstitution");const P=function(e={}){const{syntax:t="latest",substitutes:r,strict:i=!0}=e;let l="string"==typeof t?w[t]:t;l.baseSyntax&&(l=m(w[l.baseSyntax],l));const[p,h]=l.tag?[!0,Boolean(d(l.tag).wildcard)]:[!1,!1],v=Boolean(l.ids),g=Boolean(l.classNames),y=Boolean(l.namespace),b=l.namespace&&(!0===l.namespace||!0===l.namespace.wildcard);if(y&&!p)throw new Error(`${k}Namespaces cannot be enabled while tags are disabled.`);const C=Boolean(r),P=l.combinators?a(l.combinators):n,[O,j,T,_]=l.attributes?[!0,l.attributes.operators?a(l.attributes.operators):n,l.attributes.caseSensitivityModifiers?s(l.attributes.caseSensitivityModifiers):o,"accept"===l.attributes.unknownCaseSensitivityModifiers]:[!1,n,o,!1],R=_||Object.keys(T).length>0,[B,I,L]=l.pseudoClasses?[!0,l.pseudoClasses.definitions?f(l.pseudoClasses.definitions):u,"accept"===l.pseudoClasses.unknown]:[!1,u,!1],[M,N,$,H,z]=l.pseudoElements?[!0,"singleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,!l.pseudoElements.notation||"doubleColon"===l.pseudoElements.notation||"both"===l.pseudoElements.notation,l.pseudoElements.definitions?s(l.pseudoElements.definitions):o,"accept"===l.pseudoElements.unknown]:[!1,!1,!1,o,!1];let U="",q=U.length,V=0,W="";const G=e=>W===e,Z=()=>G("*")||E(W)||G("\\"),K=e=>{V=e,W=U.charAt(V)},Q=()=>{V++,W=U.charAt(V)},Y=()=>{const e=W;return V++,W=U.charAt(V),e};function X(e){const t=Math.min(q-1,V),r=new Error(`${k}${e} Pos: ${t}.`);throw r.position=t,r.name="ParserError",r}function J(e,t){if(!e)return X(t)}const ee=()=>{J(V<q,"Unexpected end of input.")},te=()=>V>=q,re=e=>{J(V<q,`Expected "${e}" but end of input reached.`),J(W===e,`Expected "${e}" but "${W}" found.`),V++,W=U.charAt(V)};function ne(e){const t=oe(e,V);if(t)return V+=t.length,W=U.charAt(V),t}function oe(e,t){const r=e[U.charAt(t)];if(r){const e=oe(r.chars,t+1);if(e)return e;if(r.self)return r.self}}function ie(){let e=Y();for(;D(W);)e+=Y();return G(" ")&&Q(),String.fromCharCode(parseInt(e,16))}function ae(e){let t="";for(re(e);V<q;){if(G(e))return Q(),t;if(G("\\")){let r;if(Q(),G(e))t+=e;else if(void 0!==(r=x[W]))t+=r;else{if(D(W)){t+=ie();continue}t+=W}}else t+=W;Q()}return t}function se(){let e="";for(;V<q;)if((t=W)>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"-"===t||"_"===t)e+=Y();else{if(!G("\\"))return e;Q(),ee(),D(W)?e+=ie():e+=Y()}var t;return e}function ue(){let e="";for(;V<q&&!G(")");)if(G("\\")){if(Q(),te()&&!i)return(e+"\\").trim();ee(),D(W)?e+=ie():e+=Y()}else e+=Y();return e.trim()}function ce(){for(;F[W];)Q()}function le(e=!1){ce();const t=[ge(e)];for(;G(",");)Q(),ce(),t.push(ge(e));return{type:"Selector",rules:t}}function fe(){let e;if(re("["),ce(),G("|"))J(y,"Namespaces are not enabled."),Q(),e={type:"Attribute",name:se(),namespace:{type:"NoNamespace"}};else if(G("*"))J(y,"Namespaces are not enabled."),J(b,"Wildcard namespace is not enabled."),Q(),re("|"),e={type:"Attribute",name:se(),namespace:{type:"WildcardNamespace"}};else{const t=se();if(e={type:"Attribute",name:t},G("|")){const r=V;Q(),E(W)||G("\\")?(J(y,"Namespaces are not enabled."),e={type:"Attribute",name:se(),namespace:{type:"NamespaceName",name:t}}):K(r)}}if(J(e.name,"Expected attribute name."),ce(),te()&&!i)return e;if(G("]"))Q();else{if(e.operator=ne(j),J(e.operator,"Expected a valid attribute selector operator."),ce(),ee(),S[W]?e.value={type:"String",value:ae(W)}:C&&G("$")?(Q(),e.value={type:"Substitution",name:se()},J(e.value.name,"Expected substitute name.")):(e.value={type:"String",value:se()},J(e.value.value,"Expected attribute value.")),ce(),te()&&!i)return e;if(!G("]")&&(e.caseSensitivityModifier=se(),J(e.caseSensitivityModifier,"Expected end of attribute selector."),J(R,"Attribute case sensitivity modifiers are not enabled."),J(_||T[e.caseSensitivityModifier],"Unknown attribute case sensitivity modifier."),ce(),te()&&!i))return e;re("]")}return e}function pe(){let e="";for(;A[W];)e+=Y();return J(""!==e,"Formula parse error."),parseInt(e)}const he=()=>G("-")||G("+")||A[W];function de(e){const t={type:"PseudoClass",name:e};let r=I[e];if(!r&&L&&(r=c),J(r,`Unknown pseudo-class: "${e}".`),G("(")){if(Q(),ce(),C&&G("$"))Q(),t.argument={type:"Substitution",name:se()},J(t.argument.name,"Expected substitute name.");else if("String"===r.type)t.argument={type:"String",value:ue()},J(t.argument.value,"Expected pseudo-class argument value.");else if("Selector"===r.type)t.argument=le(!0);else{if("Formula"!==r.type)return X("Invalid pseudo-class signature.");{const[e,n]=function(){if(G("e")||G("o")){const e=se();if("even"===e)return ce(),[2,0];if("odd"===e)return ce(),[2,1]}let e,t=null,r=1;if(G("-")&&(Q(),r=-1),he()&&(G("+")&&Q(),t=pe(),!G("\\")&&!G("n")))return[0,t*r];if(null===t&&(t=1),t*=r,G("\\")?(Q(),e=D(W)?ie():Y()):e=Y(),J("n"===e,'Formula parse error: expected "n".'),ce(),G("+")||G("-")){const e=G("+")?1:-1;return Q(),ce(),[t,e*pe()]}return[t,0]}();if(t.argument={type:"Formula",a:e,b:n},r.ofSelector&&(ce(),G("o")||G("\\"))){J("of"===se(),"Formula of selector parse error."),ce(),t.argument={type:"FormulaOfSelector",a:e,b:n,selector:ge()}}}}if(ce(),te()&&!i)return t;re(")")}else J(r.optional,`Argument is required for pseudo-class "${e}".`);return t}function me(){return G("*")?(J(h,"Wildcard tag name is not enabled."),Q(),{type:"WildcardTag"}):E(W)||G("\\")?(J(p,"Tag names are not enabled."),{type:"TagName",name:se()}):X("Expected tag name.")}function ve(){if(G("*")){const e=V;if(Q(),!G("|"))return K(e),me();if(Q(),!Z())return K(e),me();J(y,"Namespaces are not enabled."),J(b,"Wildcard namespace is not enabled.");const t=me();return t.namespace={type:"WildcardNamespace"},t}if(G("|")){J(y,"Namespaces are not enabled."),Q();const e=me();return e.namespace={type:"NoNamespace"},e}if(E(W)||G("\\")){const e=se();if(!G("|"))return J(p,"Tag names are not enabled."),{type:"TagName",name:e};const t=V;if(Q(),!Z())return K(t),{type:"TagName",name:e};J(y,"Namespaces are not enabled.");const r=me();return r.namespace={type:"NamespaceName",name:e},r}return X("Expected tag name.")}function ge(e=!1){const t={};let r=!0;if(e){const e=ne(P);e&&(t.combinator=e,ce())}for(;V<q;){if(Z())J(r,"Unexpected tag/namespace start."),t.tag=ve();else if(G("|")){const e=V;if(Q(),!Z()){K(e);break}J(r,"Unexpected tag/namespace start."),K(e),t.tag=ve()}else if(G(".")){J(g,"Class names are not enabled."),Q();const e=se();J(e,"Expected class name."),(t.classNames=t.classNames||[]).push(e)}else if(G("#")){J(v,"IDs are not enabled."),Q();const e=se();J(e,"Expected ID name."),(t.ids=t.ids||[]).push(e)}else if(G("["))J(O,"Attributes are not enabled."),(t.attributes=t.attributes||[]).push(fe());else{if(!G(":"))break;{let e=!1,r=!1;Q(),G(":")&&(J(M,"Pseudo elements are not enabled."),J($,"Pseudo elements double colon notation is not enabled."),e=!0,Q());const n=se();if(J(e||n,"Expected pseudo-class name."),J(!e||n,"Expected pseudo-element name."),J(!e||z||H[n],`Unknown pseudo-element "${n}".`),r=M&&(e||!e&&N&&H[n]),r){if(t.pseudoElement=n,!(F[W]||G(",")||G(")")||te()))return X("Pseudo-element should be the last component of a CSS selector rule.")}else J(B,"Pseudo classes are not enabled."),(t.pseudoClasses=t.pseudoClasses||[]).push(de(n))}}r=!1}if(r)return te()?X("Expected rule but end of input reached."):X(`Expected rule but "${W}" found.`);if(t.type="Rule",ce(),!te()&&!G(",")&&!G(")")){const e=ne(P);ce(),t.nestedRule=ge(),t.nestedRule.combinator=e}return t}return e=>{if("string"!=typeof e)throw new Error(`${k}Expected string input.`);return U=e,q=U.length,V=0,W=U.charAt(0),le()}}({syntax:"selectors-4"});function O(e){if("string"!=typeof e)throw new TypeError("Expected `string` as selector, not `"+e+"`");return P(e)}function j(e){return Array.isArray(e.children)}const T={}.hasOwnProperty;function _(e,t){const r=t||{};function n(t,...r){let o=n.invalid;const i=n.handlers;if(t&&T.call(t,e)){const r=String(t[e]);o=T.call(i,r)?i[r]:n.unknown}if(o)return o.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const R=_("operator",{unknown:function(e){throw new Error("Unknown operator `"+e.operator+"`")},invalid:B,handlers:{"=":function(e,t){const r=I(e);return B(e,t)&&String(t[e.name])===r},"^=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(0,n.length)===n)},"$=":function(e,t){const r=t[e.name],n=I(e);return Boolean(e.value&&"string"==typeof r&&r.slice(-n.length)===n)},"*=":function(e,t){const r=t[e.name],n=I(e);return Boolean("string"==typeof r&&n&&r.includes(n))},"~=":function(e,t){const r=t[e.name];if(null==r)return!1;const n=I(e);if(Array.isArray(r)&&r.includes(n))return!0;return String(r)===n}}});function B(e,t){return null!==t[e.name]&&void 0!==t[e.name]}function I(e){const t=e.value;return t.type,t.value}const L=new Set([9,10,12,13,32]),M="0".charCodeAt(0),N="9".charCodeAt(0);var $=r(96501);function H(e){return function(e){const t=e[0],r=e[1]-1;if(r<0&&t<=0)return $.falseFunc;if(-1===t)return e=>e<=r;if(0===t)return e=>e===r;if(1===t)return r<0?$.trueFunc:e=>e>=r;const n=Math.abs(t),o=(r%n+n)%n;return t>1?e=>e>=r&&e%n===o:e=>e<=r&&e%n===o}(function(e){if("even"===(e=e.trim().toLowerCase()))return[2,0];if("odd"===e)return[2,1];let t=0,r=0,n=i(),o=a();if(t<e.length&&"n"===e.charAt(t)&&(t++,r=n*(null!=o?o:1),s(),t<e.length?(n=i(),s(),o=a()):n=o=0),null===o||t<e.length)throw new Error(`n-th rule couldn't be parsed ('${e}')`);return[r,n*o];function i(){return"-"===e.charAt(t)?(t++,-1):("+"===e.charAt(t)&&t++,1)}function a(){const r=t;let n=0;for(;t<e.length&&e.charCodeAt(t)>=M&&e.charCodeAt(t)<=N;)n=10*n+(e.charCodeAt(t)-M),t++;return t===r?null:n}function s(){for(;t<e.length&&L.has(e.charCodeAt(t));)t++}}(e))}const z=H.default||H,U=_("name",{unknown:function(e){throw new Error("Unknown pseudo-selector `"+e.name+"`")},invalid:function(){throw new Error("Invalid pseudo-selector")},handlers:{is:W,blank:V,empty:V,"first-child":function(e,t,r,n,o){return G(o,e),0===o.nodeIndex},"first-of-type":function(e,t,r,n,o){return G(o,e),0===o.typeIndex},has:function(e,t,r,n,o){const i=e.argument;!i||i.type;const a={type:"root",children:j(t)?t.children:[]},s={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Y(s,a),s.results.length>0},"last-child":function(e,t,r,n,o){return G(o,e),"number"==typeof o.nodeCount&&o.nodeIndex===o.nodeCount-1},"last-of-type":function(e,t,r,n,o){return G(o,e),"number"==typeof o.typeCount&&o.typeIndex===o.typeCount-1},not:function(e,t,r,n,o){return!W(e,t,r,n,o)},"nth-child":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.nodeIndex&&i(o.nodeIndex)},"nth-last-child":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.nodeCount&&"number"==typeof o.nodeIndex&&i(o.nodeCount-o.nodeIndex-1)},"nth-of-type":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.typeIndex&&i(o.typeIndex)},"nth-last-of-type":function(e,t,r,n,o){const i=Z(e);return G(o,e),"number"==typeof o.typeIndex&&"number"==typeof o.typeCount&&i(o.typeCount-1-o.typeIndex)},"only-child":function(e,t,r,n,o){return G(o,e),1===o.nodeCount},"only-of-type":function(e,t,r,n,o){return G(o,e),1===o.typeCount},root:function(e,t,r,n){return t&&!n},scope:function(e,t,r,n,o){return t&&o.scopeNodes.includes(t)}}});function q(e,t,r,n,o){let i=-1;if(e.pseudoClasses)for(;++i<e.pseudoClasses.length;)if(!U(e.pseudoClasses[i],t,r,n,o))return!1;return!0}function V(e,t){return j(t)?0===t.children.length:!("value"in t)}function W(e,t,r,n,o){const i=e.argument;!i||i.type;const a={...o,found:!1,shallow:!1,one:!0,scopeNodes:[t],results:[],rootQuery:i};return Y(a,t),a.results[0]===t}function G(e,t){if(e.shallow)throw new Error("Cannot use `:"+t.name+"` without parent")}function Z(e){let t=e._cachedFn;if(!t){const r=e.argument;!r||r.type,t=z(r.a+"n+"+r.b),e._cachedFn=t}return t}function K(e,t,r,n,o){if(e.ids)throw new Error("Invalid selector: id");if(e.classNames)throw new Error("Invalid selector: class");if(e.pseudoElement)throw new Error("Invalid selector: `::"+e.pseudoElement+"`");return Boolean(t&&(!e.tag||"WildcardTag"===e.tag.type||e.tag.name===t.type)&&(!e.attributes||function(e,t){let r=-1;if(e.attributes)for(;++r<e.attributes.length;)if(!R(e.attributes[r],t))return!1;return!0}(e,t))&&(!e.pseudoClasses||q(e,t,r,n,o)))}q.needsIndex=["any","first-child","first-of-type","last-child","last-of-type","is","not","nth-child","nth-last-child","nth-of-type","nth-last-of-type","only-child","only-of-type"];const Q=[];function Y(e,t){t&&X(e,[],t,void 0,void 0,t)}function X(e,t,r,n,o,i){let a={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0},s=e.rootQuery.rules;return o&&o!==i&&(s=e.rootQuery.rules.filter((e=>void 0===e.combinator||">"===e.combinator&&o===i))),a=function(e,t,r,n,o){const i={directChild:void 0,descendant:void 0,adjacentSibling:void 0,generalSibling:void 0};let a=-1;for(;++a<t.length;){const s=t[a];if(e.one&&e.found)break;if(e.shallow&&s.nestedRule)throw new Error("Expected selector without nesting");if(K(s,r,n,o,e)){const t=s.nestedRule;if(t){ee(i,"+"===t.combinator?"adjacentSibling":"~"===t.combinator?"generalSibling":">"===t.combinator?"directChild":"descendant",t)}else e.found=!0,e.results.includes(r)||e.results.push(r)}void 0===s.combinator?ee(i,"descendant",s):"~"===s.combinator&&ee(i,"generalSibling",s)}return i}(e,J(t,s),r,n,o),!j(r)||e.shallow||e.one&&e.found||function(e,t,r,n){const o=J(t.descendant,t.directChild);let i,a=-1;const s={count:0,types:new Map},u={count:0,types:new Map};for(;++a<r.children.length;)te(s,r.children[a]);a=-1;for(;++a<r.children.length;){const t=r.children[a].type.toUpperCase();e.nodeIndex=u.count,e.typeIndex=u.types.get(t)||0,e.nodeCount=s.count,e.typeCount=s.types.get(t);const c=X(e,J(o,i),r.children[a],a,r,n);if(i=J(c.generalSibling,c.adjacentSibling),e.one&&e.found)break;te(u,r.children[a])}}(e,a,r,i),a}function J(e,t){return e&&t&&e.length>0&&t.length>0?[...e,...t]:e&&e.length>0?e:t&&t.length>0?t:Q}function ee(e,t,r){const n=e[t];n?n.push(r):e[t]=[r]}function te(e,t){const r=t.type.toUpperCase(),n=(e.types.get(r)||0)+1;e.count++,e.types.set(r,n)}function re(e,t){const r=ie(e,t);return r.one=!0,r.shallow=!0,Y(r,t||void 0),r.results.length>0}function ne(e,t){const r=ie(e,t);return r.one=!0,Y(r,t||void 0),r.results[0]}function oe(e,t){const r=ie(e,t);return Y(r,t||void 0),r.results}function ie(e,t){return{rootQuery:O(e),results:[],scopeNodes:t?!j(t)||"RootNode"!==t.type&&"root"!==t.type?[t]:t.children:[],one:!1,shallow:!1,found:!1,typeIndex:void 0,nodeIndex:void 0,typeCount:void 0,nodeCount:void 0}}},56077:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e?"position"in e||"type"in e?i(e.position):"start"in e||"end"in e?i(e):"line"in e||"column"in e?o(e):"":""}function o(e){return a(e&&e.line)+":"+a(e&&e.column)}function i(e){return o(e&&e.start)+"-"+o(e&&e.end)}function a(e){return e&&"number"==typeof e?e:1}r.d(t,{y:()=>n})},50819:(e,t,r)=>{"use strict";r.d(t,{dR:()=>o,BK:()=>i,AM:()=>a,S4:()=>s});var n=r(44516);const o=!0,i=!1,a="skip",s=function(e,t,r,s){"function"==typeof t&&"function"!=typeof r&&(s=r,r=t,t=null);const u=(0,n.O)(t),c=s?-1:1;!function e(n,l,f){const p=n&&"object"==typeof n?n:{};if("string"==typeof p.type){const e="string"==typeof p.tagName?p.tagName:"string"==typeof p.name?p.name:void 0;Object.defineProperty(h,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return h;function h(){let p,h,d,m=[];if((!t||u(n,l,f[f.length-1]||null))&&(m=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[o,e];return[e]}(r(n,f)),m[0]===i))return m;if(n.children&&m[0]!==a)for(h=(s?n.children.length:-1)+c,d=f.concat(n);h>-1&&h<n.children.length;){if(p=e(n.children[h],h,d)(),p[0]===i)return p;h="number"==typeof p[1]?p[1]:h+c}return m}}(e,void 0,[])()}},18213:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CONTINUE:()=>n.dR,EXIT:()=>n.BK,SKIP:()=>n.AM,visit:()=>o.Vn});var n=r(50819),o=r(53827)},53827:(e,t,r)=>{"use strict";r.d(t,{Vn:()=>o});var n=r(50819);const o=function(e,t,r,o){"function"==typeof t&&"function"!=typeof r&&(o=r,r=t,t=null),(0,n.S4)(e,t,(function(e,t){const n=t[t.length-1];return r(e,n?n.children.indexOf(e):null,n)}),o)}},84862:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},74502:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},6614:e=>{"use strict";e.exports=JSON.parse('["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]')},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"@topwrite/reader","version":"1.0.88-alpha.1+285fcd2","author":"yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)","license":"ISC","types":"types/index.d.ts","main":"dist/index.js","files":["dist","types"],"scripts":{"prebuild":"rimraf dist types","build":"webpack --progress","build:dev":"npm run build -- --env dev","serve":"webpack serve --env dev","extract":"formatjs extract src/**/*.{ts,tsx} --out-file src/lang/zh-CN.json --ignore src/global.d.ts --id-interpolation-pattern [sha512:contenthash:base64:6] --additional-function-names $t --format simple","prepack":"npm run build"},"dependencies":{"@topwrite/common":"^1.0.73-alpha.1+285fcd2","@types/color":"^3.0.3","@types/lodash":"^4.14.168","@types/node":"^16.4.13","@types/react":"^18","@types/react-dom":"^18","color":"^4.2.3","dayjs":"^1.10.4","history":"^5.0.0"},"devDependencies":{"@docsearch/css":"^3.2.1","@formatjs/cli":"^5.0.2","@topthink/webpack-config-plugin":"^1.0.16","crypto-browserify":"^3.12.0","path-browserify":"^1.0.1","process":"^0.11.10","query-string":"^7.1.1","rc-tooltip":"^5.1.1","react-loading-bar":"^0.0.7","rimraf":"^3.0.2","stream-browserify":"^3.0.0","typescript":"^5.3.3","webpack":"^5.36.2","webpack-cli":"^4.7.0","webpack-dev-server":"^4.7.3"},"gitHead":"285fcd2d87ca33c726bf643c58f70d45f7197ac4"}')}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=o,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,r)=>(a.f[r](e,t),t)),[])),a.u=e=>e+"-"+{7:"c1fe80",267:"960f60",331:"dbe0b3",408:"34768a",769:"14f39b",858:"a4e80b",863:"dc28d1"}[e]+".js",a.miniCssF=e=>e+".css",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="@topwrite/reader:",a.l=(e,t,o,i)=>{if(r[e])r[e].push(t);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){s=f;break}}s||(u=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),u&&document.head.appendChild(s)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{if("undefined"!=typeof document){var e=e=>new Promise(((t,r)=>{var n=a.miniCssF(e),o=a.p+n;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=(a=r[n]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var i=document.getElementsByTagName("style");for(n=0;n<i.length;n++){var a;if((o=(a=i[n]).getAttribute("data-href"))===e||o===t)return a}})(n,o))return t();((e,t,r,n,o)=>{var i=document.createElement("link");i.rel="stylesheet",i.type="text/css",i.onerror=i.onload=r=>{if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,u=new Error("Loading CSS chunk "+e+" failed.\n("+s+")");u.code="CSS_CHUNK_LOAD_FAILED",u.type=a,u.request=s,i.parentNode&&i.parentNode.removeChild(i),o(u)}},i.href=t,r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i)})(e,o,null,t,r)})),t={826:0};a.f.miniCss=(r,n)=>{t[r]?n.push(t[r]):0!==t[r]&&{408:1,858:1,863:1}[r]&&n.push(t[r]=e(r).then((()=>{t[r]=0}),(e=>{throw delete t[r],e})))}}})(),(()=>{var e={826:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var i=a.p+a.u(t),s=new Error;a.l(i,(r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,u]=r,c=0;if(i.some((t=>0!==e[t]))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(u)u(a)}for(t&&t(r);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunk_topwrite_reader=self.webpackChunk_topwrite_reader||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),a.nc=void 0;var s={};(()=>{"use strict";a.r(s),a.d(s,{Anchor:()=>Qe.Z,Article:()=>jt,BaseConfig:()=>t.l_,Book:()=>t.fy,Breadcrumb:()=>qt,Catalog:()=>zt,CatalogItems:()=>Nt,CompositionInput:()=>t.D7,Config:()=>t.De,File:()=>t.$B,Helmet:()=>t.ql,InjectedComponent:()=>t.cu,InjectedComponentSet:()=>t.IA,IntlContext:()=>t.fH,LetterAvatar:()=>t.$q,Level:()=>t.aC,Link:()=>Me.Z,LoadingBar:()=>Ke,Logo:()=>Le,Markdown:()=>Ft,Model:()=>t.Hn,NavLink:()=>He,PageLoader:()=>te,Plugin:()=>t.Sy,PoweredBy:()=>Re,Search:()=>Ve,Spinner:()=>J,Summary:()=>t.ER,SummaryArticle:()=>t.oI,SummaryPart:()=>t.Lj,ThemeProvider:()=>t.f6,ToFirstArticle:()=>Vt,Tooltip:()=>Ie,aes:()=>t.rK,base64:()=>t.US,bootstrap:()=>Fe,createApplication:()=>t.W3,createComponentDescriptor:()=>t.nC,createGlobalStyle:()=>t.vJ,createStorageSlot:()=>t.WA,css:()=>t.iv,date:()=>ke,defineMessage:()=>t.Em,defineMessages:()=>t.vU,getPayload:()=>t.He,getPublicPath:()=>t.Ak,history:()=>h.m8,immerable:()=>t.sc,isCancel:()=>t.Mw,isEncryptedData:()=>t.oe,isMac:()=>t.V5,isRequestError:()=>t.N0,isUrl:()=>t.CB,keyframes:()=>t.F4,listStorageKeys:()=>t._f,loadjs:()=>t.j0,markdown:()=>t.JH,md5:()=>t.FB,pluginCenter:()=>t.YB,produce:()=>t.Uy,request:()=>t.WY,styled:()=>t.zo,useActions:()=>t.ol,useArticle:()=>he.ZP,useAsset:()=>Pe,useAssetUrl:()=>Ce,useAsync:()=>t.r5,useAsyncCallback:()=>t.UK,useAsyncEffect:()=>t.bd,useBook:()=>t.CQ,useDebounce:()=>t.Nr,useDocumentTitle:()=>t.jr,useEvent:()=>t.zX,useEventTarget:()=>t.Rs,useFile:()=>oe.Z,useHotkeys:()=>t.y1,useImmer:()=>t.xX,useInPreview:()=>_e,useIntl:()=>t.cw,useIntlContext:()=>t.mP,useLocalStorageState:()=>t.Rr,useLockBodyScroll:()=>Te,useLogo:()=>ve,useModel:()=>t.tT,useNextArticle:()=>he.VI,useOptions:()=>t.D2,usePrevArticle:()=>he.ir,usePrevious:()=>t.D9,useSelector:()=>t.v9,useStateWithCallback:()=>t.CM,useThemeConfig:()=>t.LU,useThemeContext:()=>t.TC,useThrottle:()=>t.fB,useTitle:()=>pe,useWindowScroll:()=>je.Z,useWindowSize:()=>Oe.Z,windowSizes:()=>Oe.D});var e={};a.r(e),a.d(e,{ask:()=>K,book:()=>S,page:()=>$,search:()=>q});var t=a(20501),r=a(35250);t.$B.prototype[t.sc]=!0;var n=a(87790),o=a.n(n),i=a(45990),u=a.n(i),c=a(366),l=a.n(c),f=(a(81044),a(93344),a(63583),a(65251),a(38664),a(57930),a(69017),a(75591),a(7395),a(96853),a(68546),a(87363)),p=a.n(f),h=a(29736),d=(a(16585),a(11333),a(82357)),m=a.n(d),v=a(32078),g=a.n(v),y=a(33649),b=a.n(y),w=a(74158),E=a.n(w),D=a(12982),x=a.n(D);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}var S=new(function(e){b()(r,e);var t=F(r);function r(){return g()(this,r),t.apply(this,arguments)}return m()(r)}(t.Hn)),A=a(44220),k=a.n(A),C=a(6322),P=a.n(C),O=a(58089),j=a.n(O),T=a(76985),_=a.n(T),R=a(529),B=a.n(R);a(82814),a(60337),a(72336),a(49778),a(27313),a(7190),a(61228),a(70776);function I(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}function L(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new M(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function M(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return M=function(e){this.s=e,this.n=e.next},M.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new M(e)}var N=function(e){b()(n,e);var r=I(n);function n(){var e;g()(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r.call.apply(r,[this].concat(i)),P()(k()(e),"initialState",{loading:!1,request:t.WY.create(),config:{}}),e}return m()(n,[{key:"subscription",value:function(e){var t=e.fetch,r=h.m8.location;h.m8.listen((function(e){var n=e.location;r.pathname!==n.pathname&&(t(n.pathname),requestAnimationFrame((function(){window.scrollTo(0,0)}))),r=n}))}},{key:"fetch",value:function(e){var r=this;return j()(l().mark((function n(){var i,a,s,u,c,f,p,h,d,m,v,g,y;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.setState((function(e){e.loading=!0}));case 2:return n.delegateYield(B()(L(r.getState("book")),_()),"t0",3);case 3:return i=n.t0,n.delegateYield(B()(L(r.getState("page")),_()),"t1",5);case 5:if(a=n.t1,s=a.request,u=a.config,n.prev=8,f=!0,p=decodeURI(e),h=function(){var e=o()(l().mark((function e(){var r,n,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.get(p,u);case 2:return r=e.sent,n=r.data,o=r.status,f=200===o,e.abrupt("return","string"==typeof n?(0,t.He)(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),!i.sha||!("caches"in window)){n.next=32;break}return n.next=15,_()(caches.open("book-".concat(i.id,"-").concat(i.sha)));case 15:return d=n.sent,n.next=18,_()(d.match(p));case 18:if(!(m=n.sent)){n.next=23;break}return n.next=22,_()(m.json());case 22:c=n.sent;case 23:if(c){n.next=30;break}return n.next=26,_()(h());case 26:if(c=n.sent,!f){n.next=30;break}return n.next=30,_()(d.put(p,new Response(JSON.stringify(c),{headers:{"Content-Type":"application/json"},status:200})));case 30:n.next=35;break;case 32:return n.next=34,_()(h());case 34:c=n.sent;case 35:return g=(v=c).file,y=v.lfs,n.next=38,r.setState((function(e){e.file=new t.$B(g),e.lfs=y}));case 38:n.next=44;break;case 40:return n.prev=40,n.t2=n.catch(8),n.next=44,r.setState((function(e){e.error=n.t2}));case 44:return n.prev=44,n.next=47,r.setState((function(e){e.loading=!1}));case 47:return n.finish(44);case 48:case"end":return n.stop()}}),n,null,[[8,40,44,48]])})))()}},{key:"intercept",value:l().mark((function e(t){var r,n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(this.getState("page"),"t0",1);case 1:r=e.t0,n=r.request,t(n.interceptors);case 4:case"end":return e.stop()}}),e,this)}))},{key:"updateConfig",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t(e.config)}));case 2:case"end":return e.stop()}}),e,this)}))}]),n}(t.Hn),$=new N;a(33394),a(62443),a(82122),a(25013);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}function z(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new U(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function U(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return U=function(e){this.s=e,this.n=e.next},U.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new U(e)}var q=new(function(e){b()(r,e);var t=H(r);function r(){var e;g()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),P()(k()(e),"initialState",{status:"idle",results:[],query:""}),e}return m()(r,[{key:"fetch",value:function(e){var t=this;return j()(l().mark((function r(){var n,o,i,a,s,u;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=27;break}return r.next=4,t.setState((function(t){t.query=e,t.status="loading"}));case 4:return r.delegateYield(B()(z(t.getState("search")),_()),"t0",5);case 5:if(n=r.t0,o=n.handler,i=n.part,o){r.next=13;break}return r.delegateYield(B()(z(t.getState("book")),_()),"t1",10);case 10:a=r.t1,s=a.summary,o=function(){var t=[];return s.getArticle((function(r){var n=r.getPath();return r.title.includes(e)&&n&&t.push({title:r.title,path:n}),!1}),(function(e){return!i||e.level.toString()===i})),t};case 13:return r.prev=13,r.next=16,_()(o(e,i));case 16:return u=r.sent,r.next=19,t.setState((function(e){e.results=u,e.status="idle"}));case 19:r.next=25;break;case 21:return r.prev=21,r.t2=r.catch(13),r.next=25,t.setState((function(e){e.results=[],e.status="error"}));case 25:r.next=29;break;case 27:return r.next=29,t.setState((function(t){t.query=e,t.status="idle",t.results=[]}));case 29:case"end":return r.stop()}}),r,null,[[13,21]])})))()}},{key:"setPart",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.status="idle",e.results=[],e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn));function V(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=x()(e);if(t){var o=x()(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return E()(this,r)}}function W(e){var t,r,n,o=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);o--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new G(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function G(e){function t(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then((function(e){return{value:e,done:t}}))}return G=function(e){this.s=e,this.n=e.next},G.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(e){var r=this.s.return;return void 0===r?Promise.resolve({value:e,done:!0}):t(r.apply(this.s,arguments))},throw:function(e){var r=this.s.return;return void 0===r?Promise.reject(e):t(r.apply(this.s,arguments))}},new G(e)}var Z,K=new(function(e){b()(r,e);var t=V(r);function r(){var e;g()(this,r);for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),P()(k()(e),"initialState",{enable:!1,status:"idle",query:"",answer:""}),e}return m()(r,[{key:"fetch",value:function(e){var t=this;return j()(l().mark((function r(){var n,o,i,a,s;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=e.trim())){r.next=31;break}return r.delegateYield(B()(W(t.getState("ask")),_()),"t0",3);case 3:if(n=r.t0,o=n.handler,i=n.part,!o){r.next=31;break}return r.prev=7,r.next=10,t.setState((function(t){t.query=e,t.status="loading",t.answer=""}));case 10:return r.next=12,_()(o(e,i));case 12:return a=r.sent,r.next=15,t.setState((function(e){e.status="stalled"}));case 15:s=l().mark((function e(){var r,n,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_()(a.read());case 2:if(r=e.sent,n=r.done,o=r.value,!n){e.next=7;break}return e.abrupt("return","break");case 7:return e.next=9,t.setState((function(e){e.answer+=o}));case 9:case"end":return e.stop()}}),e)}));case 16:return r.delegateYield(s(),"t1",18);case 18:if("break"!==r.t1){r.next=21;break}return r.abrupt("break",23);case 21:r.next=16;break;case 23:return r.next=25,t.setState((function(e){e.status="idle"}));case 25:r.next=31;break;case 27:return r.prev=27,r.t2=r.catch(7),r.next=31,t.setState((function(e){e.answer="",e.status="error"}));case 31:case"end":return r.stop()}}),r,null,[[7,27]])})))()}},{key:"setPart",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){t!==e.part&&(e.query="",e.answer="",e.status="idle",e.part=t)}));case 2:case"end":return e.stop()}}),e,this)}))},{key:"setHandler",value:l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setState((function(e){e.handler=t,e.enable=!!t}));case 2:case"end":return e.stop()}}),e,this)}))}]),r}(t.Hn)),Q=a(52815),Y=a(28056),X=a.n(Y);const J=t.zo.div(Z||(Z=X()(["\n @keyframes spinner-border {\n to {\n transform: rotate(360deg)\n }\n }\n\n display: inline-block;\n width: 2rem;\n height: 2rem;\n vertical-align: -0.125em;\n border: 0.25em solid var(--ttw-primary-color, #3c60ff);\n border-right-color: transparent;\n border-radius: 50%;\n animation: 0.75s linear infinite spinner-border;\n"])));var ee;function te(){return(0,r.jsx)(ne,{children:(0,r.jsx)(J,{})})}var re,ne=t.zo.div(ee||(ee=X()(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n display: flex;\n align-items: center;\n justify-content: center;\n"]))),oe=a(52738),ie=a(47851),ae=a.n(ie),se=(0,f.createContext)(void 0);function ue(e){var n=e.children,i=(0,oe.Z)(),a=(0,t.LU)(),s=(0,t.r5)(o()(l().mark((function e(){var r,n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,t.WY)(i.relative(t.fy.style));case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)}))),[]),u=s.result,c=s.loading,p=(0,f.useMemo)((function(){return{primaryColor:new(ae())(a.primaryColor)}}),[a]);return c?null:(0,r.jsx)(se.Provider,{value:u,children:(0,r.jsxs)(t.f6,{theme:p,children:[(0,r.jsx)(ce,{}),n]})})}var ce=(0,t.vJ)(re||(re=X()(["\n :root {\n --ttw-primary-color: ",";\n }\n"])),(function(e){return e.theme.primaryColor.toString()}));var le=a(12147),fe=a.n(le);a(43934),a(17915);function pe(){var e=(0,t.cw)();return(0,t.CQ)().config.getValue("title",e.formatMessage({id:"n24ytq",defaultMessage:[{type:0,value:"未命名文档"}]}))}var he=a(5576),de=(a(66164),a(7525),(0,f.createContext)(void 0));function me(e){var n=e.children,o=(0,f.useState)((function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="})),i=u()(o,2),a=i[0],s=i[1],c=(0,oe.Z)();return(0,f.useEffect)((function(){var e=c.relative(t.fy.logo),r=new Image;r.addEventListener("load",(function(){var e=document.createElement("canvas");e.height=this.height,e.width=this.width;var t=e.getContext("2d");if(t)try{t.drawImage(this,0,0),e.toBlob((function(e){e&&s(window.URL.createObjectURL(e))}))}catch(e){console.warn(e)}})),r.src=e}),[]),(0,r.jsx)(de.Provider,{value:a,children:n})}function ve(){return(0,f.useContext)(de)}var ge=a(22827),ye=p().lazy((function(){return a.e(858).then(a.bind(a,48858))}));function be(){var e=(0,t.CQ)().summary,n=pe(),o=(0,oe.Z)(),i=(0,f.useMemo)((function(){return e.getArticle((function(e){return e.getPath()===o.path}))}),[e,o]);(0,f.useEffect)((function(){window.parent!==window&&(window.addEventListener("message",(function(e){try{var t=fe()(e.data),r=t[0],n=t[1],o=t.slice(2);if("history"===r)switch(n){case"replace":h.m8.replace(o[0]);break;case"push":h.m8.push(o[0])}}catch(e){}})),h.m8.listen((function(e){var t="".concat(window.location.origin).concat((0,ge.Ep)(e.location));window.parent.postMessage(["history",e.action.toLowerCase(),t],"*")})),window.parent.postMessage(["bootstrapped"],"*")),window.dispatchEvent(new Event("bootstrapped"))}),[]);var a=ve();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(t.ql,{children:[(0,r.jsx)("title",{children:"".concat(i?"".concat(i.title," - "):"").concat(n)}),(0,r.jsx)("link",{rel:"shortcut icon",href:a,type:"image/png"})]}),(0,r.jsxs)(he.Q3.Provider,{value:i,children:[(0,r.jsx)(t.cu,{role:"app"}),(0,r.jsx)(t.cu,{role:"page"}),(0,r.jsx)(p().Suspense,{fallback:null,children:(0,r.jsx)(t.cu,{role:"page:menu",component:ye})})]})]})}var we=a(47354),Ee=a.n(we);function De(){var n=(0,f.useState)(),i=u()(n,2),s=i[0],c=i[1];return(0,t.bd)(o()(l().mark((function n(){var i,s,u,f,p,d,m,v,g,y,b,w,E,D,x,F,S,A,k,C,P,O,j,T;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.prev=0,i=(0,h.fi)(),s=i.location,u=(0,t.He)()){n.next=8;break}return n.next=6,t.WY.get(s.toString());case 6:f=n.sent,u=f.data;case 8:return d=(p=u).id,m=p.sha,v=p.metadata,g=void 0===v?{}:v,y=p.summary,b=p.file,w=p.config,E=void 0===w?{}:w,D=p.options,x=void 0===D?{}:D,F=p.lfs,S=p.pluginCenter,A=t.De.createFromObject(E),k=t.ER.create(y),C=new t.fy(d,A,k,g,m),P={page:{config:{params:Q.parse(s.search)},file:new t.$B(b),lfs:F},options:x},n.next=15,(0,t.W3)({name:"reader",book:C,models:e,initialState:P,locale:A.getValue("language","zh-CN"),theme:A.getValue(["themeConfig","defaultMode"],"light"),localize:function(){var e=o()(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.startsWith("zh")){e.next=7;break}return e.next=3,a.e(769).then(a.t.bind(a,87769,23));case 3:return Ee().locale("zh-cn"),e.abrupt("return",a.e(267).then(a.t.bind(a,53267,19)));case 7:return e.abrupt("return",a.e(7).then(a.t.bind(a,82007,19)));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pluginCenter:S});case 15:O=n.sent,j=(0,r.jsx)(O,{children:(0,r.jsx)(me,{children:(0,r.jsx)(ue,{children:(0,r.jsx)(be,{})})})}),c(j),n.next=24;break;case 20:n.prev=20,n.t0=n.catch(0),console.error(n.t0),t.WY.isAxiosError(n.t0)?c((null===(T=n.t0.response)||void 0===T?void 0:T.data)||n.t0.message):c(n.t0.message);case 24:case"end":return n.stop()}}),n,null,[[0,20]])}))),[]),s||(0,r.jsx)(te,{})}var xe=a(61533);const Fe=function(){var e=document.getElementById("root");e&&(0,xe.createRoot)(e).render((0,r.jsx)(De,{}))};a(80532),a(83473),a(51913),a(43050),a(98006);var Se=a(82386),Ae=a.n(Se);Date.prototype.format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[r]:("00"+t[r]).substr((""+t[r]).length)));return e},Ee().extend(Ae());const ke=Ee();function Ce(e){var r=(0,t.v9)("page"),n=r.lfs,o=r.file;if(n){var i=n.url,a=n.files[e];if(a)return i.replace("{oid}",a)}return o.relative(e)}function Pe(){var e=(0,t.v9)("page"),r=e.lfs,n=e.file;return{getUrl:function(e){if((0,t.CB)(e))return e;if(r){var o=r.url,i=r.files[e];if(i)return o.replace("{oid}",i)}return n.relative(e)},upload:function(e,t){throw new Error("upload not support in reader context")}}}var Oe=a(89482),je=a(19035);function Te(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,f.useEffect)((function(){if(e)return document.body.style.overflow="hidden",t&&window.scrollTo(0,0),function(){document.body.style.overflow="visible"}}),[e])}function _e(){var e=(0,t.v9)("options").preview;return void 0!==e&&e}a(53915),a(23740);function Re(e){var n=e.className,o=(0,t.cw)(),i=(0,t.v9)("options").poweredBy;return i?(0,r.jsx)("div",{className:n,children:o.formatMessage({id:"YMZgTe",defaultMessage:[{type:0,value:"由 "},{type:1,value:"link"},{type:0,value:" 强力驱动"}]},{link:(0,r.jsx)("a",{href:i.link,target:"_blank",children:i.name})})}):null}var Be=a(56261);function Ie(e){var t=e.tooltip,n=e.children,o=e.placement,i=void 0===o?"left":o,a=e.wrap;return void 0!==a&&a&&(n=(0,r.jsx)("span",{children:n})),(0,r.jsx)(Be.Z,{overlay:t,placement:i,getTooltipContainer:function(e){return e.parentElement||document.body},children:n})}function Le(e){var t=e.size,n=void 0===t?60:t,o=e.className,i=ve();return(0,r.jsx)("img",{className:o,src:i,width:n,height:n,alt:"logo"})}var Me=a(81163),Ne=a(18887),$e=a.n(Ne);function He(e){var n=e.url,o=e.title,i=e.className,a=(0,t.CQ)().summary;if(!n.startsWith("http")&&".md"===$e().extname(n)){var s=a.getArticle((function(e){return e.ref===n}));if(s)return(0,r.jsx)(Me.Z,{className:i,to:s,children:o})}return(0,r.jsx)("a",{className:i,href:n,target:"_blank",children:o})}a(25444),a(44703),a(19855),a(77389),a(37607),a(55126),a(87462),a(5148);function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var qe=(0,f.lazy)((function(){return a.e(863).then(a.bind(a,35863))}));function Ve(e){return(0,r.jsx)(f.Suspense,{fallback:null,children:(0,r.jsx)(qe,Ue({},e))})}function We(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?We(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):We(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ze=(0,f.lazy)((function(){return Promise.all([a.e(331),a.e(408)]).then(a.bind(a,37408))}));function Ke(e){return(0,r.jsx)(f.Suspense,{fallback:null,children:(0,r.jsx)(Ze,Ge({},e))})}var Qe=a(26669),Ye=a(64020),Xe=a.n(Ye),Je=a(34889),et=a.n(Je),tt=["element","src"],rt=["src"];function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function it(e){var n=e.element,o=e.src,i=et()(e,tt),a=(0,t.v9)("page"),s=a.lfs,u=a.file;if(o&&!(0,t.CB)(o)&&u&&s){var c=s.url,l=s.files[u.resolve(decodeURIComponent(o))];l&&(o=c.replace("{oid}",l))}var p=(0,f.useCallback)((function(e){var o=e.src,i=et()(e,rt);return o&&!(0,t.CB)(o)&&u&&o.startsWith("/")&&(o=u.relative(o.slice(1))),(0,r.jsx)(t.cu,{role:"page:asset",props:ot({src:o},i),component:n})}),[n]);return(0,r.jsx)(t.cu,{role:"page:asset:source",props:ot({src:o},i),component:p})}function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"img"},e))}function ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ct(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"t-attachment"},e))}function lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ft(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"video"},e))}function pt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ht(e){return(0,r.jsx)(it,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({element:"audio"},e))}function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function vt(e){var t=(0,he.ZP)();return(0,r.jsx)(Qe.Z,mt(mt({},e),{},{base:t}))}var gt,yt,bt,wt,Et=["children","components"];function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ft(e){var n=e.children,o=e.components,i=et()(e,Et),a=(0,f.useContext)(se);return(0,r.jsx)(t.UG,xt(xt({},i),{},{css:a,loader:(0,r.jsx)(J,{}),components:(0,f.useMemo)((function(){return xt({a:vt,img:st,attachment:ct,video:ft,audio:ht},o)}),[o]),children:n}))}var St=["depth","id","children"],At=["className","header","footer","offset","aside"];function kt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ct(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(r),!0).forEach((function(t){P()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pt={heading:function(e){var t=e.depth,n=e.id,o=e.children,i=et()(e,St);return n&&(o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Tt,{tabIndex:-1,id:n}),o]})),(0,f.createElement)("h".concat(t),i,o)}},Ot=function(e){if(e){var t=document.getElementById(decodeURIComponent(e).substr(1));t&&window.scrollTo(0,t.offsetTop)}};function jt(e){var n=e.className,o=e.header,i=e.footer,a=e.offset,s=e.aside,u=void 0===s||s,c=et()(e,At),l=(0,oe.Z)(),p=(0,he.ZP)();(0,f.useEffect)((function(){Ot(h.m8.location.hash);var e=h.m8.listen((function(e){Ot(e.location.hash)}));return function(){e()}}),[l.path]),void 0===o&&p&&(o=(0,r.jsx)(Rt,{children:p.title})),o=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:before"}),o,(0,r.jsx)(t.IA,{role:"page:article:content:before"})]}),i=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:content:after"}),i,(0,r.jsx)(t.IA,{role:"page:article:after"})]}),u&&(u={header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.IA,{role:"page:article:aside:before"}),"object"===Xe()(u)&&u.header]}),footer:(0,r.jsxs)(r.Fragment,{children:["object"===Xe()(u)&&u.footer,(0,r.jsx)(t.IA,{role:"page:article:aside:after"})]})});var d=(0,r.jsx)(t.cu,{role:"page:article:markdown",component:Ft,props:Ct({header:o,footer:i,aside:u,children:l.content,components:Pt},c)});return(0,r.jsx)(_t,{className:n,offset:a,children:d},l.path)}var Tt=t.zo.a(gt||(gt=X()(["\n display: block;\n position: relative;\n top: -.5em;\n"]))),_t=t.zo.div(yt||(yt=X()(["\n ","\n"])),(function(e){return e.offset&&(0,t.iv)(bt||(bt=X()(["\n "," {\n top: calc(-.5em - ","px);\n }\n "])),Tt,e.offset)})),Rt=t.zo.h1(wt||(wt=X()(["\n border-bottom: 1px solid #eee;\n font-size: 2em;\n line-height: 1.2;\n padding: 0 0 .5em;\n margin: 0 0 1em;\n font-weight: 400;\n"]))),Bt=a(45471),It=a.n(Bt),Lt=(a(8213),a(94332),function(e){var n=e.item,o=e.itemComponent,i=e.itemsComponent,a=(0,oe.Z)().path,s=(0,he.ZP)(),c=(0,t.LU)(),l=(0,f.useMemo)((function(){return Boolean(s&&n.getLevel().isDescendant(s.getLevel()))}),[n,s]),p=a===n.getPath(),h=(0,f.useState)((function(){return-1===c.expandLevel||c.expandLevel>=n.level.getDepth()||(l||p)})),d=u()(h,2),m=d[0],v=d[1];(0,f.useEffect)((function(){!m&&p&&v(!0)}),[p]),(0,f.useEffect)((function(){!m&&l&&v(!0)}),[l]);var g=n.children.length>0,y=!n.getPath(),b=g?(0,r.jsx)(Nt,{itemsComponent:i,itemComponent:o,items:n.children}):null;return(0,r.jsx)(t.cu,{role:"catalog:item",props:{item:n,open:m,setOpen:v,active:p,disabled:y,activeDescendant:l,children:b},component:o})}),Mt=function(e){var t=e.children;return(0,r.jsx)("ul",{children:t})},Nt=function(e){var n=e.items,o=e.part,i=e.itemsComponent,a=void 0===i?Mt:i,s=e.itemComponent,u=(0,r.jsx)(r.Fragment,{children:n.map((function(e){return(0,r.jsx)(Lt,{itemsComponent:a,itemComponent:s,item:e},e.level.toString())}))});return(0,r.jsx)(t.cu,{role:"catalog:items",props:{part:o,children:u},component:a})},$t=function(e){var n=e.part,o=e.component,i=e.itemsComponent,a=e.itemComponent,s=(0,r.jsx)(Nt,{itemsComponent:i,itemComponent:a,items:n.articles,part:n});return(0,r.jsx)(t.cu,{role:"catalog:part",props:{part:n,children:s},component:o})},Ht=function(e){var t=e.summary,n=e.partComponent,o=e.itemsComponent,i=e.itemComponent;return t.isSinglePart()?(0,r.jsx)(Nt,{itemsComponent:o,itemComponent:i,items:t.getLastPart().getArticles()}):(0,r.jsx)(r.Fragment,{children:t.parts.map((function(e){return(0,r.jsx)($t,{component:n,itemsComponent:o,itemComponent:i,part:e},e.level.toString())}))})};function zt(e){var n=Object.assign({},(It()(e),e)),o=(0,t.v9)("book").summary,i=n.renderItem,a=n.renderPart;i&&(console.warn("renderItem deprecated"),n.itemComponent=i),a&&(console.warn("renderPart deprecated"),n.partComponent=a);var s=n.partComponent,u=n.itemsComponent,c=n.itemComponent;return(0,r.jsx)(Ht,{summary:o,partComponent:s,itemsComponent:u,itemComponent:c})}a(75041);var Ut=function(e){return e instanceof t.oI?(0,r.jsx)(Me.Z,{to:e}):e.title};function qt(e){var n=e.className,o=e.renderItem,i=void 0===o?Ut:o,a=(0,t.CQ)().summary,s=(0,he.ZP)(),u=(0,t.cw)().formatMessage({id:"4R5GEq",defaultMessage:[{type:0,value:"首页"}]}),c=[(0,r.jsx)("li",{children:(0,r.jsx)(Me.Z,{to:".",children:u})},"0")];if(s){var l=s.getLevel();l.data.reduce((function(e,n){e.push(n);var o,s=new t.aC(e),u=a.getByLevel(s);u&&(o=s.eq(l)?u.title:i(u),c.push((0,r.jsx)("li",{children:o},s.toString())));return e}),[])}return(0,r.jsx)("ol",{className:n,children:c})}function Vt(e){var r=e.children,n=(0,t.CQ)().summary,o=(0,he.ZP)(),i=(0,oe.Z)();return(0,f.useEffect)((function(){if(!o){var e=n.getFirstArticle();e&&h.m8.replace(i.relative(e.path))}}),[o]),o?r:null}!function(){console.log("%cWelcome to TopWrite!%c\n","padding-top: 0.5em; font-size: 2em;","padding-bottom: 0.5em;");var e=a(4147);console.log("[ua:version] ".concat(navigator.userAgent)),console.log("[client:version] v".concat(e.version))}()})(),window.TopWrite=s})();
|
|
448
448
|
//# sourceMappingURL=index.js.map
|