iobroker.admin 6.2.18 → 6.2.19
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/README.md +4 -4
- package/admin/jsonConfig.json5 +0 -4
- package/io-package.json +13 -13
- package/main.js +8 -2
- package/package.json +1 -1
- package/www/asset-manifest.json +15 -15
- package/www/index.html +1 -1
- package/www/static/js/1553.c291692c.chunk.js +709 -0
- package/www/static/js/1553.c291692c.chunk.js.map +1 -0
- package/www/static/js/{5710.72e95b8e.chunk.js → 5710.05cde997.chunk.js} +4 -4
- package/www/static/js/5710.05cde997.chunk.js.map +1 -0
- package/www/static/js/7228.cd98fee1.chunk.js +67 -0
- package/www/static/js/7228.cd98fee1.chunk.js.map +1 -0
- package/www/static/js/{7412.6bf54cc4.chunk.js → 7412.e4b0556a.chunk.js} +5 -5
- package/www/static/js/7412.e4b0556a.chunk.js.map +1 -0
- package/www/static/js/{7858.d768cb91.chunk.js → 7858.b16a767f.chunk.js} +10 -10
- package/www/static/js/7858.b16a767f.chunk.js.map +1 -0
- package/www/static/js/8596.62e5938c.chunk.js +3 -0
- package/www/static/js/8596.62e5938c.chunk.js.map +1 -0
- package/www/static/js/{main.1fb226a1.js → main.b9cd96c6.js} +5 -5
- package/www/static/js/{main.1fb226a1.js.map → main.b9cd96c6.js.map} +1 -1
- package/www/static/js/1553.1c221cad.chunk.js +0 -709
- package/www/static/js/1553.1c221cad.chunk.js.map +0 -1
- package/www/static/js/5710.72e95b8e.chunk.js.map +0 -1
- package/www/static/js/7228.7cff9ec6.chunk.js +0 -67
- package/www/static/js/7228.7cff9ec6.chunk.js.map +0 -1
- package/www/static/js/7412.6bf54cc4.chunk.js.map +0 -1
- package/www/static/js/7858.d768cb91.chunk.js.map +0 -1
- package/www/static/js/8596.803204cf.chunk.js +0 -3
- package/www/static/js/8596.803204cf.chunk.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Mo=Object.defineProperty,Bo=Object.defineProperties;var No=Object.getOwnPropertyDescriptors;var ir=Object.getOwnPropertySymbols;var Uo=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable;var or=Math.pow,lr=(J,C,w)=>C in J?Mo(J,C,{enumerable:!0,configurable:!0,writable:!0,value:w}):J[C]=w,
|
|
1
|
+
var Mo=Object.defineProperty,Bo=Object.defineProperties;var No=Object.getOwnPropertyDescriptors;var ir=Object.getOwnPropertySymbols;var Uo=Object.prototype.hasOwnProperty,jo=Object.prototype.propertyIsEnumerable;var or=Math.pow,lr=(J,C,w)=>C in J?Mo(J,C,{enumerable:!0,configurable:!0,writable:!0,value:w}):J[C]=w,Kn=(J,C)=>{for(var w in C||(C={}))Uo.call(C,w)&&lr(J,w,C[w]);if(ir)for(var w of ir(C))jo.call(C,w)&&lr(J,w,C[w]);return J},Te=(J,C)=>Bo(J,No(C));(self.webpackChunksrc_rx=self.webpackChunksrc_rx||[]).push([[7858],{45761:function(J,C,w){"use strict";var Z,_=w(64836);Z={value:!0},C.Z=void 0;var T=_(w(36128)),K=w(67557),I=(0,T.default)((0,K.jsx)("path",{d:"M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"}),"BugReport");C.Z=I},1635:function(J,C,w){"use strict";var Z,_=w(64836);Z={value:!0},C.Z=void 0;var T=_(w(36128)),K=w(67557),I=(0,T.default)((0,K.jsx)("path",{d:"m19 8-4 4h3c0 3.31-2.69 6-6 6-1.01 0-1.97-.25-2.8-.7l-1.46 1.46C8.97 19.54 10.43 20 12 20c4.42 0 8-3.58 8-8h3l-4-4zM6 12c0-3.31 2.69-6 6-6 1.01 0 1.97.25 2.8.7l1.46-1.46C15.03 4.46 13.57 4 12 4c-4.42 0-8 3.58-8 8H1l4 4 4-4H6z"}),"Cached");C.Z=I},97562:function(J,C,w){"use strict";var Z,_=w(64836);Z={value:!0},C.Z=void 0;var T=_(w(36128)),K=w(67557),I=(0,T.default)((0,K.jsx)("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"}),"Computer");C.Z=I},83609:function(J,C,w){"use strict";var Z=w(63366),_=w(87462),T=w(4819),K=w.n(T),I=w(23060),Y=w(15854),H=w.n(Y),O=w(21127),D=w(13957),L=w(9943),nn=w(72945),hn=w(82500),tn=w(89857),N=w(90757),rn=w(67557);const S=["animation","className","component","height","style","variant","width"];let en=pn=>pn,Xn,Zn,Nn,ne;const ee=pn=>{const{classes:un,variant:R,animation:z,hasChildren:xn,width:Yn,height:te}=pn,re={root:["root",R,z,xn&&"withChildren",xn&&!Yn&&"fitContent",xn&&!te&&"heightAuto"]};return(0,D.Z)(re,N.B,un)},zn=(0,O.F4)(Xn||(Xn=en`
|
|
2
2
|
0% {
|
|
3
3
|
opacity: 1;
|
|
4
4
|
}
|
|
@@ -10,7 +10,7 @@ var Mo=Object.defineProperty,Bo=Object.defineProperties;var No=Object.getOwnProp
|
|
|
10
10
|
100% {
|
|
11
11
|
opacity: 1;
|
|
12
12
|
}
|
|
13
|
-
`)),
|
|
13
|
+
`)),Qn=(0,O.F4)(Zn||(Zn=en`
|
|
14
14
|
0% {
|
|
15
15
|
transform: translateX(-100%);
|
|
16
16
|
}
|
|
@@ -48,8 +48,8 @@ var Mo=Object.defineProperty,Bo=Object.defineProperties;var No=Object.getOwnProp
|
|
|
48
48
|
right: 0;
|
|
49
49
|
top: 0;
|
|
50
50
|
}
|
|
51
|
-
`),
|
|
52
|
-
`,O="/",D="*",L="",nn="comment",hn="declaration";J.exports=function(N,rn){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];rn=rn||{};var S=1,en=1;function
|
|
51
|
+
`),Qn,(un.vars||un).palette.action.hover)),$n=T.forwardRef(function(un,R){const z=(0,tn.Z)({props:un,name:"MuiSkeleton"}),{animation:xn="pulse",className:Yn,component:te="span",height:re,style:Ce,variant:Se="text",width:De}=z,ie=(0,Z.Z)(z,S),le=(0,_.Z)({},z,{animation:xn,component:te,variant:Se,hasChildren:Boolean(ie.children)}),he=ee(le);return(0,rn.jsx)(Wn,(0,_.Z)({as:te,ref:R,className:(0,I.default)(he.root,Yn),ownerState:le},ie,{style:(0,_.Z)({width:De,height:re},Ce)}))});C.Z=$n},90757:function(J,C,w){"use strict";w.d(C,{B:function(){return T}});var Z=w(85111),_=w(67402);function T(I){return(0,Z.Z)("MuiSkeleton",I)}const K=(0,_.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);C.Z=K},77447:function(J,C,w){"use strict";var Z=w(12817),_={"text/plain":"Text","text/html":"Url",default:"Text"},T="Copy to clipboard: #{key}, Enter";function K(Y){var H=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return Y.replace(/#{\s*key\s*}/g,H)}function I(Y,H){var O,D,L,nn,hn,tn,N=!1;H||(H={}),O=H.debug||!1;try{L=Z(),nn=document.createRange(),hn=document.getSelection(),tn=document.createElement("span"),tn.textContent=Y,tn.ariaHidden="true",tn.style.all="unset",tn.style.position="fixed",tn.style.top=0,tn.style.clip="rect(0, 0, 0, 0)",tn.style.whiteSpace="pre",tn.style.webkitUserSelect="text",tn.style.MozUserSelect="text",tn.style.msUserSelect="text",tn.style.userSelect="text",tn.addEventListener("copy",function(S){if(S.stopPropagation(),H.format)if(S.preventDefault(),typeof S.clipboardData=="undefined"){O&&console.warn("unable to use e.clipboardData"),O&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var en=_[H.format]||_.default;window.clipboardData.setData(en,Y)}else S.clipboardData.clearData(),S.clipboardData.setData(H.format,Y);H.onCopy&&(S.preventDefault(),H.onCopy(S.clipboardData))}),document.body.appendChild(tn),nn.selectNodeContents(tn),hn.addRange(nn);var rn=document.execCommand("copy");if(!rn)throw new Error("copy command was unsuccessful");N=!0}catch(S){O&&console.error("unable to copy using execCommand: ",S),O&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(H.format||"text",Y),H.onCopy&&H.onCopy(window.clipboardData),N=!0}catch(en){O&&console.error("unable to copy using clipboardData: ",en),O&&console.error("falling back to prompt"),D=K("message"in H?H.message:T),window.prompt(D,Y)}}finally{hn&&(typeof hn.removeRange=="function"?hn.removeRange(nn):hn.removeAllRanges()),tn&&document.body.removeChild(tn),L()}return N}J.exports=I},6067:function(J){"use strict";var C=Object.prototype.hasOwnProperty,w=Object.prototype.toString,Z=Object.defineProperty,_=Object.getOwnPropertyDescriptor,T=function(O){return typeof Array.isArray=="function"?Array.isArray(O):w.call(O)==="[object Array]"},K=function(O){if(!O||w.call(O)!=="[object Object]")return!1;var D=C.call(O,"constructor"),L=O.constructor&&O.constructor.prototype&&C.call(O.constructor.prototype,"isPrototypeOf");if(O.constructor&&!D&&!L)return!1;var nn;for(nn in O);return typeof nn=="undefined"||C.call(O,nn)},I=function(O,D){Z&&D.name==="__proto__"?Z(O,D.name,{enumerable:!0,configurable:!0,value:D.newValue,writable:!0}):O[D.name]=D.newValue},Y=function(O,D){if(D==="__proto__")if(C.call(O,D)){if(_)return _(O,D).value}else return;return O[D]};J.exports=function H(){var O,D,L,nn,hn,tn,N=arguments[0],rn=1,S=arguments.length,en=!1;for(typeof N=="boolean"&&(en=N,N=arguments[1]||{},rn=2),(N==null||typeof N!="object"&&typeof N!="function")&&(N={});rn<S;++rn)if(O=arguments[rn],O!=null)for(D in O)L=Y(N,D),nn=Y(O,D),N!==nn&&(en&&nn&&(K(nn)||(hn=T(nn)))?(hn?(hn=!1,tn=L&&T(L)?L:[]):tn=L&&K(L)?L:{},I(N,{name:D,newValue:H(en,tn,nn)})):typeof nn!="undefined"&&I(N,{name:D,newValue:nn}));return N}},63089:function(J){var C=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,w=/\n/g,Z=/^\s*/,_=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,T=/^:\s*/,K=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,I=/^[;\s]*/,Y=/^\s+|\s+$/g,H=`
|
|
52
|
+
`,O="/",D="*",L="",nn="comment",hn="declaration";J.exports=function(N,rn){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];rn=rn||{};var S=1,en=1;function Xn(R){var z=R.match(w);z&&(S+=z.length);var xn=R.lastIndexOf(H);en=~xn?R.length-xn:en+R.length}function Zn(){var R={line:S,column:en};return function(z){return z.position=new Nn(R),Qn(),z}}function Nn(R){this.start=R,this.end={line:S,column:en},this.source=rn.source}Nn.prototype.content=N;var ne=[];function ee(R){var z=new Error(rn.source+":"+S+":"+en+": "+R);if(z.reason=R,z.filename=rn.source,z.line=S,z.column=en,z.source=N,rn.silent)ne.push(z);else throw z}function zn(R){var z=R.exec(N);if(!!z){var xn=z[0];return Xn(xn),N=N.slice(xn.length),z}}function Qn(){zn(Z)}function Wn(R){var z;for(R=R||[];z=$n();)z!==!1&&R.push(z);return R}function $n(){var R=Zn();if(!(O!=N.charAt(0)||D!=N.charAt(1))){for(var z=2;L!=N.charAt(z)&&(D!=N.charAt(z)||O!=N.charAt(z+1));)++z;if(z+=2,L===N.charAt(z-1))return ee("End of comment missing");var xn=N.slice(2,z-2);return en+=2,Xn(xn),N=N.slice(z),en+=2,R({type:nn,comment:xn})}}function pn(){var R=Zn(),z=zn(_);if(!!z){if($n(),!zn(T))return ee("property missing ':'");var xn=zn(K),Yn=R({type:hn,property:tn(z[0].replace(C,L)),value:xn?tn(xn[0].replace(C,L)):L});return zn(I),Yn}}function un(){var R=[];Wn(R);for(var z;z=pn();)z!==!1&&(R.push(z),Wn(R));return R}return Qn(),un()};function tn(N){return N?N.replace(Y,L):L}},81246:function(J){/*!
|
|
53
53
|
* Determine if an object is a Buffer
|
|
54
54
|
*
|
|
55
55
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
@@ -62,18 +62,18 @@ var Mo=Object.defineProperty,Bo=Object.defineProperties;var No=Object.getOwnProp
|
|
|
62
62
|
*
|
|
63
63
|
* This source code is licensed under the MIT license found in the
|
|
64
64
|
* LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/var w=Symbol.for("react.element"),Z=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),K=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),Y=Symbol.for("react.context"),H=Symbol.for("react.server_context"),O=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),nn=Symbol.for("react.memo"),hn=Symbol.for("react.lazy"),tn=Symbol.for("react.offscreen"),N;N=Symbol.for("react.module.reference");function rn(S){if(typeof S=="object"&&S!==null){var en=S.$$typeof;switch(en){case w:switch(S=S.type,S){case _:case K:case T:case D:case L:return S;default:switch(S=S&&S.$$typeof,S){case H:case Y:case O:case hn:case nn:case I:return S;default:return en}}case Z:return en}}}C.ContextConsumer=Y,C.ContextProvider=I,C.Element=w,C.ForwardRef=O,C.Fragment=_,C.Lazy=hn,C.Memo=nn,C.Portal=Z,C.Profiler=K,C.StrictMode=T,C.Suspense=D,C.SuspenseList=L,C.isAsyncMode=function(){return!1},C.isConcurrentMode=function(){return!1},C.isContextConsumer=function(S){return rn(S)===Y},C.isContextProvider=function(S){return rn(S)===I},C.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===w},C.isForwardRef=function(S){return rn(S)===O},C.isFragment=function(S){return rn(S)===_},C.isLazy=function(S){return rn(S)===hn},C.isMemo=function(S){return rn(S)===nn},C.isPortal=function(S){return rn(S)===Z},C.isProfiler=function(S){return rn(S)===K},C.isStrictMode=function(S){return rn(S)===T},C.isSuspense=function(S){return rn(S)===D},C.isSuspenseList=function(S){return rn(S)===L},C.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===_||S===K||S===T||S===D||S===L||S===tn||typeof S=="object"&&S!==null&&(S.$$typeof===hn||S.$$typeof===nn||S.$$typeof===I||S.$$typeof===Y||S.$$typeof===O||S.$$typeof===N||S.getModuleId!==void 0)},C.typeOf=rn},87522:function(J,C,w){"use strict";J.exports=w(80311)},34848:function(J,C,w){var Z=w(63089);function _(T,K){var I=null;if(!T||typeof T!="string")return I;for(var Y,H=Z(T),O=typeof K=="function",D,L,nn=0,hn=H.length;nn<hn;nn++)Y=H[nn],D=Y.property,L=Y.value,O?K(D,L,Y):L&&(I||(I={}),I[D]=L);return I}J.exports=_},12817:function(J){J.exports=function(){var C=document.getSelection();if(!C.rangeCount)return function(){};for(var w=document.activeElement,Z=[],_=0;_<C.rangeCount;_++)Z.push(C.getRangeAt(_));switch(w.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":w.blur();break;default:w=null;break}return C.removeAllRanges(),function(){C.type==="Caret"&&C.removeAllRanges(),C.rangeCount||Z.forEach(function(T){C.addRange(T)}),w&&w.focus()}}},52232:function(J,C,w){"use strict";w.d(C,{D:function(){return Ge}});var Z={};w.r(Z),w.d(Z,{attentionMarkers:function(){return Yi},contentInitial:function(){return $i},disable:function(){return Gi},document:function(){return Wi},flow:function(){return Ki},flowInitial:function(){return qi},insideSpan:function(){return Qi},string:function(){return Xi},text:function(){return Zi}});var _={};w.r(_),w.d(_,{boolean:function(){return V},booleanish:function(){return gn},commaOrSpaceSeparated:function(){return On},commaSeparated:function(){return ue},number:function(){return b},overloadedBoolean:function(){return Ut},spaceSeparated:function(){return cn}});var T=w(4819),K=w(81246);function I(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?H(n.position):"start"in n||"end"in n?H(n):"line"in n||"column"in n?Y(n):""}function Y(n){return O(n&&n.line)+":"+O(n&&n.column)}function H(n){return Y(n&&n.start)+"-"+Y(n&&n.end)}function O(n){return n&&typeof n=="number"?n:1}class D extends Error{constructor(e,t,r){const i=[null,null];let l={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(r=t,t=void 0),typeof r=="string"){const o=r.indexOf(":");o===-1?i[1]=r:(i[0]=r.slice(0,o),i[1]=r.slice(o+1))}t&&("type"in t||"position"in t?t.position&&(l=t.position):"start"in t||"end"in t?l=t:("line"in t||"column"in t)&&(l.start=t)),this.name=I(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack=typeof e=="object"?e.stack:"",this.reason=this.message,this.fatal,this.line=l.start.line,this.column=l.start.column,this.source=i[0],this.ruleId=i[1],this.position=l,this.actual,this.expected,this.file,this.url,this.note}}D.prototype.file="",D.prototype.name="",D.prototype.reason="",D.prototype.message="",D.prototype.stack="",D.prototype.fatal=null,D.prototype.column=null,D.prototype.line=null,D.prototype.source=null,D.prototype.ruleId=null,D.prototype.position=null;const L={basename:nn,dirname:hn,extname:tn,join:N,sep:"/"};function nn(n,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');en(n);let t=0,r=-1,i=n.length,l;if(e===void 0||e.length===0||e.length>n.length){for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":n.slice(t,r)}if(e===n)return"";let o=-1,u=e.length-1;for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),u>-1&&(n.charCodeAt(i)===e.charCodeAt(u--)?u<0&&(r=i):(u=-1,r=o));return t===r?r=o:r<0&&(r=n.length),n.slice(t,r)}function hn(n){if(en(n),n.length===0)return".";let e=-1,t=n.length,r;for(;--t;)if(n.charCodeAt(t)===47){if(r){e=t;break}}else r||(r=!0);return e<0?n.charCodeAt(0)===47?"/":".":e===1&&n.charCodeAt(0)===47?"//":n.slice(0,e)}function tn(n){en(n);let e=n.length,t=-1,r=0,i=-1,l=0,o;for(;e--;){const u=n.charCodeAt(e);if(u===47){if(o){r=e+1;break}continue}t<0&&(o=!0,t=e+1),u===46?i<0?i=e:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":n.slice(i,t)}function N(...n){let e=-1,t;for(;++e<n.length;)en(n[e]),n[e]&&(t=t===void 0?n[e]:t+"/"+n[e]);return t===void 0?".":rn(t)}function rn(n){en(n);const e=n.charCodeAt(0)===47;let t=S(n,!e);return t.length===0&&!e&&(t="."),t.length>0&&n.charCodeAt(n.length-1)===47&&(t+="/"),e?"/"+t:t}function S(n,e){let t="",r=0,i=-1,l=0,o=-1,u,a;for(;++o<=n.length;){if(o<n.length)u=n.charCodeAt(o);else{if(u===47)break;u=47}if(u===47){if(!(i===o-1||l===1))if(i!==o-1&&l===2){if(t.length<2||r!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){if(a=t.lastIndexOf("/"),a!==t.length-1){a<0?(t="",r=0):(t=t.slice(0,a),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}e&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+n.slice(i+1,o):t=n.slice(i+1,o),r=o-i-1;i=o,l=0}else u===46&&l>-1?l++:l=-1}return t}function en(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Kn={cwd:Xn};function Xn(){return"/"}function Nn(n){return n!==null&&typeof n=="object"&&n.href&&n.origin}function ne(n){if(typeof n=="string")n=new URL(n);else if(!Nn(n)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(n.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return ee(n)}function ee(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=n.pathname;let t=-1;for(;++t<e.length;)if(e.charCodeAt(t)===37&&e.charCodeAt(t+1)===50){const r=e.charCodeAt(t+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const zn=["history","path","basename","stem","extname","dirname"];class Zn{constructor(e){let t;e?typeof e=="string"||K(e)?t={value:e}:Nn(e)?t={path:e}:t=e:t={},this.data={},this.messages=[],this.history=[],this.cwd=Kn.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<zn.length;){const l=zn[r];l in t&&t[l]!==void 0&&(this[l]=l==="history"?[...t[l]]:t[l])}let i;for(i in t)zn.includes(i)||(this[i]=t[i])}get path(){return this.history[this.history.length-1]}set path(e){Nn(e)&&(e=ne(e)),$n(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return typeof this.path=="string"?L.dirname(this.path):void 0}set dirname(e){pn(this.basename,"dirname"),this.path=L.join(e||"",this.basename)}get basename(){return typeof this.path=="string"?L.basename(this.path):void 0}set basename(e){$n(e,"basename"),Wn(e,"basename"),this.path=L.join(this.dirname||"",e)}get extname(){return typeof this.path=="string"?L.extname(this.path):void 0}set extname(e){if(Wn(e,"extname"),pn(this.dirname,"extname"),e){if(e.charCodeAt(0)!==46)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 typeof this.path=="string"?L.basename(this.path,this.extname):void 0}set stem(e){$n(e,"stem"),Wn(e,"stem"),this.path=L.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,r){const i=new D(e,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(e,t,r){const i=this.message(e,t,r);return i.fatal=null,i}fail(e,t,r){const i=this.message(e,t,r);throw i.fatal=!0,i}}function Wn(n,e){if(n&&n.includes(L.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+L.sep+"`")}function $n(n,e){if(!n)throw new Error("`"+e+"` cannot be empty")}function pn(n,e){if(!n)throw new Error("Setting `"+e+"` requires `path` to be set too")}function un(n){if(n)throw n}var R=w(6067);function z(n){if(typeof n!="object"||n===null)return!1;const e=Object.getPrototypeOf(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function xn(){const n=[],e={run:t,use:r};return e;function t(...i){let l=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);u(null,...i);function u(a,...f){const p=n[++l];let g=-1;if(a){o(a);return}for(;++g<i.length;)(f[g]===null||f[g]===void 0)&&(f[g]=i[g]);i=f,p?Qn(p,u)(...f):o(null,...f)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return n.push(i),e}}function Qn(n,e){let t;return r;function r(...o){const u=n.length>o.length;let a;u&&o.push(i);try{a=n.apply(this,o)}catch(f){const p=f;if(u&&t)throw p;return i(p)}u||(a instanceof Promise?a.then(l,i):a instanceof Error?i(a):l(a))}function i(o,...u){t||(t=!0,e(o,...u))}function l(o){i(null,o)}}const te=Ce().freeze(),re={}.hasOwnProperty;function Ce(){const n=xn(),e=[];let t={},r,i=-1;return l.data=o,l.Parser=void 0,l.Compiler=void 0,l.freeze=u,l.attachers=e,l.use=a,l.parse=f,l.stringify=p,l.run=g,l.runSync=h,l.process=m,l.processSync=k,l;function l(){const A=Ce();let F=-1;for(;++F<e.length;)A.use(...e[F]);return A.data(R(!0,{},t)),A}function o(A,F){return typeof A=="string"?arguments.length===2?(he("data",r),t[A]=F,l):re.call(t,A)&&t[A]||null:A?(he("data",r),t=A,l):t}function u(){if(r)return l;for(;++i<e.length;){const[A,...F]=e[i];if(F[0]===!1)continue;F[0]===!0&&(F[0]=void 0);const x=A.call(l,...F);typeof x=="function"&&n.use(x)}return r=!0,i=Number.POSITIVE_INFINITY,l}function a(A,...F){let x;if(he("use",r),A!=null)if(typeof A=="function")$(A,...F);else if(typeof A=="object")Array.isArray(A)?X(A):P(A);else throw new TypeError("Expected usable value, not `"+A+"`");return x&&(t.settings=Object.assign(t.settings||{},x)),l;function W(y){if(typeof y=="function")$(y);else if(typeof y=="object")if(Array.isArray(y)){const[U,...q]=y;$(U,...q)}else P(y);else throw new TypeError("Expected usable value, not `"+y+"`")}function P(y){X(y.plugins),y.settings&&(x=Object.assign(x||{},y.settings))}function X(y){let U=-1;if(y!=null)if(Array.isArray(y))for(;++U<y.length;){const q=y[U];W(q)}else throw new TypeError("Expected a list of plugins, not `"+y+"`")}function $(y,U){let q=-1,Q;for(;++q<e.length;)if(e[q][0]===y){Q=e[q];break}Q?(z(Q[1])&&z(U)&&(U=R(!0,Q[1],U)),Q[1]=U):e.push([...arguments])}}function f(A){l.freeze();const F=me(A),x=l.Parser;return ie("parse",x),Se(x,"parse")?new x(String(F),F).parse():x(String(F),F)}function p(A,F){l.freeze();const x=me(F),W=l.Compiler;return le("stringify",W),et(A),Se(W,"compile")?new W(A,x).compile():W(A,x)}function g(A,F,x){if(et(A),l.freeze(),!x&&typeof F=="function"&&(x=F,F=void 0),!x)return new Promise(W);W(null,x);function W(P,X){n.run(A,me(F),$);function $(y,U,q){U=U||A,y?X(y):P?P(U):x(null,U,q)}}}function h(A,F){let x,W;return l.run(A,F,P),tt("runSync","run",W),x;function P(X,$){un(X),x=$,W=!0}}function m(A,F){if(l.freeze(),ie("process",l.Parser),le("process",l.Compiler),!F)return new Promise(x);x(null,F);function x(W,P){const X=me(A);l.run(l.parse(X),X,(y,U,q)=>{if(y||!U||!q)$(y);else{const Q=l.stringify(U,q);Q==null||(ar(Q)?q.value=Q:q.result=Q),$(y,q)}});function $(y,U){y||!U?P(y):W?W(U):F(null,U)}}}function k(A){let F;l.freeze(),ie("processSync",l.Parser),le("processSync",l.Compiler);const x=me(A);return l.process(x,W),tt("processSync","process",F),x;function W(P){F=!0,un(P)}}}function Se(n,e){return typeof n=="function"&&n.prototype&&(Te(n.prototype)||e in n.prototype)}function Te(n){let e;for(e in n)if(re.call(n,e))return!0;return!1}function ie(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Parser`")}function le(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Compiler`")}function he(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function et(n){if(!z(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function tt(n,e,t){if(!t)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function me(n){return ur(n)?n:new Zn(n)}function ur(n){return Boolean(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function ar(n){return typeof n=="string"||K(n)}function sr(n,e){var{includeImageAlt:t=!0}=e||{};return rt(n,t)}function rt(n,e){return n&&typeof n=="object"&&(n.value||(e?n.alt:"")||"children"in n&&it(n.children,e)||Array.isArray(n)&&it(n,e))||""}function it(n,e){for(var t=[],r=-1;++r<n.length;)t[r]=rt(n[r],e);return t.join("")}function Mn(n,e,t,r){const i=n.length;let l=0,o;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(e,t),[].splice.apply(n,o);else for(t&&[].splice.apply(n,[e,t]);l<r.length;)o=r.slice(l,l+1e4),o.unshift(e,0),[].splice.apply(n,o),l+=1e4,e+=1e4}function _n(n,e){return n.length>0?(Mn(n,n.length,0,e),n):e}const De={}.hasOwnProperty;function cr(n){const e={};let t=-1;for(;++t<n.length;)fr(e,n[t]);return e}function fr(n,e){let t;for(t in e){const i=(De.call(n,t)?n[t]:void 0)||(n[t]={}),l=e[t];let o;for(o in l){De.call(i,o)||(i[o]=[]);const u=l[o];pr(i[o],Array.isArray(u)?u:u?[u]:[])}}}function pr(n,e){let t=-1;const r=[];for(;++t<e.length;)(e[t].add==="after"?n:r).push(e[t]);Mn(n,0,0,r)}function Ho(n){const e={};let t=-1;for(;++t<n.length;)hr(e,n[t]);return e}function hr(n,e){let t;for(t in e){const i=(De.call(n,t)?n[t]:void 0)||(n[t]={}),l=e[t];let o;if(l)for(o in l)i[o]=l[o]}}const mr=/[!-/:-@[-`{-~\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]/,Bn=qn(/[A-Za-z]/),Le=qn(/\d/),dr=qn(/[\dA-Fa-f]/),In=qn(/[\dA-Za-z]/),gr=qn(/[!-/:-@[-`{-~]/),lt=qn(/[#-'*+\--9=?A-Z^-~]/);function ze(n){return n!==null&&(n<32||n===127)}function Tn(n){return n!==null&&(n<0||n===32)}function M(n){return n!==null&&n<-2}function dn(n){return n===-2||n===-1||n===32}const yr=qn(/\s/),xr=qn(mr);function qn(n){return e;function e(t){return t!==null&&n.test(String.fromCharCode(t))}}function an(n,e,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(a){return dn(a)?(n.enter(t),u(a)):e(a)}function u(a){return dn(a)&&l++<i?(n.consume(a),u):(n.exit(t),e(a))}}const kr={tokenize:br};function br(n){const e=n.attempt(this.parser.constructs.contentInitial,r,i);let t;return e;function r(u){if(u===null){n.consume(u);return}return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),an(n,e,"linePrefix")}function i(u){return n.enter("paragraph"),l(u)}function l(u){const a=n.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=a),t=a,o(u)}function o(u){if(u===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(u);return}return M(u)?(n.consume(u),n.exit("chunkText"),l):(n.consume(u),o)}}const wr={tokenize:Cr},ot={tokenize:Sr};function Cr(n){const e=this,t=[];let r=0,i,l,o;return u;function u(P){if(r<t.length){const X=t[r];return e.containerState=X[1],n.attempt(X[0].continuation,a,f)(P)}return f(P)}function a(P){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&W();const X=e.events.length;let $=X,y;for(;$--;)if(e.events[$][0]==="exit"&&e.events[$][1].type==="chunkFlow"){y=e.events[$][1].end;break}x(r);let U=X;for(;U<e.events.length;)e.events[U][1].end=Object.assign({},y),U++;return Mn(e.events,$+1,0,e.events.slice(X)),e.events.length=U,f(P)}return u(P)}function f(P){if(r===t.length){if(!i)return h(P);if(i.currentConstruct&&i.currentConstruct.concrete)return k(P);e.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},n.check(ot,p,g)(P)}function p(P){return i&&W(),x(r),h(P)}function g(P){return e.parser.lazy[e.now().line]=r!==t.length,o=e.now().offset,k(P)}function h(P){return e.containerState={},n.attempt(ot,m,k)(P)}function m(P){return r++,t.push([e.currentConstruct,e.containerState]),h(P)}function k(P){if(P===null){i&&W(),x(0),n.consume(P);return}return i=i||e.parser.flow(e.now()),n.enter("chunkFlow",{contentType:"flow",previous:l,_tokenizer:i}),A(P)}function A(P){if(P===null){F(n.exit("chunkFlow"),!0),x(0),n.consume(P);return}return M(P)?(n.consume(P),F(n.exit("chunkFlow")),r=0,e.interrupt=void 0,u):(n.consume(P),A)}function F(P,X){const $=e.sliceStream(P);if(X&&$.push(null),P.previous=l,l&&(l.next=P),l=P,i.defineSkip(P.start),i.write($),e.parser.lazy[P.start.line]){let y=i.events.length;for(;y--;)if(i.events[y][1].start.offset<o&&(!i.events[y][1].end||i.events[y][1].end.offset>o))return;const U=e.events.length;let q=U,Q,Sn;for(;q--;)if(e.events[q][0]==="exit"&&e.events[q][1].type==="chunkFlow"){if(Q){Sn=e.events[q][1].end;break}Q=!0}for(x(r),y=U;y<e.events.length;)e.events[y][1].end=Object.assign({},Sn),y++;Mn(e.events,q+1,0,e.events.slice(U)),e.events.length=y}}function x(P){let X=t.length;for(;X-- >P;){const $=t[X];e.containerState=$[1],$[0].exit.call(e,n)}t.length=P}function W(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Sr(n,e,t){return an(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Ee={tokenize:Er,partial:!0};function Er(n,e,t){return an(n,r,"linePrefix");function r(i){return i===null||M(i)?e(i):t(i)}}function ut(n){const e={};let t=-1,r,i,l,o,u,a,f;for(;++t<n.length;){for(;t in e;)t=e[t];if(r=n[t],t&&r[1].type==="chunkFlow"&&n[t-1][1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,l=0,l<a.length&&a[l][1].type==="lineEndingBlank"&&(l+=2),l<a.length&&a[l][1].type==="content"))for(;++l<a.length&&a[l][1].type!=="content";)a[l][1].type==="chunkText"&&(a[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,Ar(n,t)),t=e[t],f=!0);else if(r[1]._container){for(l=t,i=void 0;l--&&(o=n[l],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(n[i][1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);i&&(r[1].end=Object.assign({},n[i][1].start),u=n.slice(i,t),u.unshift(r),Mn(n,i,t-i+1,u))}}return!f}function Ar(n,e){const t=n[e][1],r=n[e][2];let i=e-1;const l=[],o=t._tokenizer||r.parser[t.contentType](t.start),u=o.events,a=[],f={};let p,g,h=-1,m=t,k=0,A=0;const F=[A];for(;m;){for(;n[++i][1]!==m;);l.push(i),m._tokenizer||(p=r.sliceStream(m),m.next||p.push(null),g&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),g=m,m=m.next}for(m=t;++h<u.length;)u[h][0]==="exit"&&u[h-1][0]==="enter"&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(A=h+1,F.push(A),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):F.pop(),h=F.length;h--;){const x=u.slice(F[h],F[h+1]),W=l.pop();a.unshift([W,W+x.length-1]),Mn(n,W,2,x)}for(h=-1;++h<a.length;)f[k+a[h][0]]=k+a[h][1],k+=a[h][1]-a[h][0]-1;return f}const vr={tokenize:Ir,resolve:Fr},Pr={tokenize:Or,partial:!0};function Fr(n){return ut(n),n}function Ir(n,e){let t;return r;function r(u){return n.enter("content"),t=n.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?l(u):M(u)?n.check(Pr,o,l)(u):(n.consume(u),i)}function l(u){return n.exit("chunkContent"),n.exit("content"),e(u)}function o(u){return n.consume(u),n.exit("chunkContent"),t.next=n.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function Or(n,e,t){const r=this;return i;function i(o){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),an(n,l,"linePrefix")}function l(o){if(o===null||M(o))return t(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(o):n.interrupt(r.parser.constructs.flow,t,e)(o)}}const _r={tokenize:Tr};function Tr(n){const e=this,t=n.attempt(Ee,r,n.attempt(this.parser.constructs.flowInitial,i,an(n,n.attempt(this.parser.constructs.flow,i,n.attempt(vr,i)),"linePrefix")));return t;function r(l){if(l===null){n.consume(l);return}return n.enter("lineEndingBlank"),n.consume(l),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(l){if(l===null){n.consume(l);return}return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const Dr={resolveAll:st()},Lr=at("string"),zr=at("text");function at(n){return{tokenize:e,resolveAll:st(n==="text"?Rr:void 0)};function e(t){const r=this,i=this.parser.constructs[n],l=t.attempt(i,o,u);return o;function o(p){return f(p)?l(p):u(p)}function u(p){if(p===null){t.consume(p);return}return t.enter("data"),t.consume(p),a}function a(p){return f(p)?(t.exit("data"),l(p)):(t.consume(p),a)}function f(p){if(p===null)return!0;const g=i[p];let h=-1;if(g)for(;++h<g.length;){const m=g[h];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function st(n){return e;function e(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return n?n(t,r):t}}function Rr(n,e){let t=0;for(;++t<=n.length;)if((t===n.length||n[t][1].type==="lineEnding")&&n[t-1][1].type==="data"){const r=n[t-1][1],i=e.sliceStream(r);let l=i.length,o=-1,u=0,a;for(;l--;){const f=i[l];if(typeof f=="string"){for(o=f.length;f.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(f===-2)a=!0,u++;else if(f!==-1){l++;break}}if(u){const f={type:t===n.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+l,_bufferIndex:l?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},f.start),r.start.offset===r.end.offset?Object.assign(r,f):(n.splice(t,0,["enter",f,e],["exit",f,e]),t+=2)}t++}return n}function Re(n,e,t){const r=[];let i=-1;for(;++i<n.length;){const l=n[i].resolveAll;l&&!r.includes(l)&&(e=l(e,t),r.push(l))}return e}function Mr(n,e,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},l=[];let o=[],u=[],a=!0;const f={consume:X,enter:$,exit:y,attempt:Q(U),check:Q(q),interrupt:Q(q,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:n,sliceStream:A,sliceSerialize:k,now:F,defineSkip:x,write:m};let g=e.tokenize.call(p,f),h;return e.resolveAll&&l.push(e),p;function m(v){return o=_n(o,v),W(),o[o.length-1]!==null?[]:(Sn(e,0),p.events=Re(l,p.events,p),p.events)}function k(v,G){return Nr(A(v),G)}function A(v){return Br(o,v)}function F(){return Object.assign({},r)}function x(v){i[v.line]=v.column,sn()}function W(){let v;for(;r._index<o.length;){const G=o[r._index];if(typeof G=="string")for(v=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===v&&r._bufferIndex<G.length;)P(G.charCodeAt(r._bufferIndex));else P(G)}}function P(v){a=void 0,h=v,g=g(v)}function X(v){M(v)?(r.line++,r.column=1,r.offset+=v===-3?2:1,sn()):v!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),p.previous=v,a=!0}function $(v,G){const bn=G||{};return bn.type=v,bn.start=F(),p.events.push(["enter",bn,p]),u.push(bn),bn}function y(v){const G=u.pop();return G.end=F(),p.events.push(["exit",G,p]),G}function U(v,G){Sn(v,G.from)}function q(v,G){G.restore()}function Q(v,G){return bn;function bn(Fn,Rn,wn){let vn,yn,c,s;return Array.isArray(Fn)?Gn(Fn):"tokenize"in Fn?Gn([Fn]):ye(Fn);function ye(Cn){return ke;function ke(Hn){const ce=Hn!==null&&Cn[Hn],fe=Hn!==null&&Cn.null,_e=[...Array.isArray(ce)?ce:ce?[ce]:[],...Array.isArray(fe)?fe:fe?[fe]:[]];return Gn(_e)(Hn)}}function Gn(Cn){return vn=Cn,yn=0,Cn.length===0?wn:se(Cn[yn])}function se(Cn){return ke;function ke(Hn){return s=ln(),c=Cn,Cn.partial||(p.currentConstruct=Cn),Cn.name&&p.parser.constructs.disable.null.includes(Cn.name)?jn(Hn):Cn.tokenize.call(G?Object.assign(Object.create(p),G):p,f,xe,jn)(Hn)}}function xe(Cn){return a=!0,v(c,s),Rn}function jn(Cn){return a=!0,s.restore(),++yn<vn.length?se(vn[yn]):wn}}}function Sn(v,G){v.resolveAll&&!l.includes(v)&&l.push(v),v.resolve&&Mn(p.events,G,p.events.length-G,v.resolve(p.events.slice(G),p)),v.resolveTo&&(p.events=v.resolveTo(p.events,p))}function ln(){const v=F(),G=p.previous,bn=p.currentConstruct,Fn=p.events.length,Rn=Array.from(u);return{restore:wn,from:Fn};function wn(){r=v,p.previous=G,p.currentConstruct=bn,p.events.length=Fn,u=Rn,sn()}}function sn(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Br(n,e){const t=e.start._index,r=e.start._bufferIndex,i=e.end._index,l=e.end._bufferIndex;let o;return t===i?o=[n[t].slice(r,l)]:(o=n.slice(t,i),r>-1&&(o[0]=o[0].slice(r)),l>0&&o.push(n[i].slice(0,l))),o}function Nr(n,e){let t=-1;const r=[];let i;for(;++t<n.length;){const l=n[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
|
|
65
|
+
*/var w=Symbol.for("react.element"),Z=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),K=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),Y=Symbol.for("react.context"),H=Symbol.for("react.server_context"),O=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),nn=Symbol.for("react.memo"),hn=Symbol.for("react.lazy"),tn=Symbol.for("react.offscreen"),N;N=Symbol.for("react.module.reference");function rn(S){if(typeof S=="object"&&S!==null){var en=S.$$typeof;switch(en){case w:switch(S=S.type,S){case _:case K:case T:case D:case L:return S;default:switch(S=S&&S.$$typeof,S){case H:case Y:case O:case hn:case nn:case I:return S;default:return en}}case Z:return en}}}C.ContextConsumer=Y,C.ContextProvider=I,C.Element=w,C.ForwardRef=O,C.Fragment=_,C.Lazy=hn,C.Memo=nn,C.Portal=Z,C.Profiler=K,C.StrictMode=T,C.Suspense=D,C.SuspenseList=L,C.isAsyncMode=function(){return!1},C.isConcurrentMode=function(){return!1},C.isContextConsumer=function(S){return rn(S)===Y},C.isContextProvider=function(S){return rn(S)===I},C.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===w},C.isForwardRef=function(S){return rn(S)===O},C.isFragment=function(S){return rn(S)===_},C.isLazy=function(S){return rn(S)===hn},C.isMemo=function(S){return rn(S)===nn},C.isPortal=function(S){return rn(S)===Z},C.isProfiler=function(S){return rn(S)===K},C.isStrictMode=function(S){return rn(S)===T},C.isSuspense=function(S){return rn(S)===D},C.isSuspenseList=function(S){return rn(S)===L},C.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===_||S===K||S===T||S===D||S===L||S===tn||typeof S=="object"&&S!==null&&(S.$$typeof===hn||S.$$typeof===nn||S.$$typeof===I||S.$$typeof===Y||S.$$typeof===O||S.$$typeof===N||S.getModuleId!==void 0)},C.typeOf=rn},87522:function(J,C,w){"use strict";J.exports=w(80311)},34848:function(J,C,w){var Z=w(63089);function _(T,K){var I=null;if(!T||typeof T!="string")return I;for(var Y,H=Z(T),O=typeof K=="function",D,L,nn=0,hn=H.length;nn<hn;nn++)Y=H[nn],D=Y.property,L=Y.value,O?K(D,L,Y):L&&(I||(I={}),I[D]=L);return I}J.exports=_},12817:function(J){J.exports=function(){var C=document.getSelection();if(!C.rangeCount)return function(){};for(var w=document.activeElement,Z=[],_=0;_<C.rangeCount;_++)Z.push(C.getRangeAt(_));switch(w.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":w.blur();break;default:w=null;break}return C.removeAllRanges(),function(){C.type==="Caret"&&C.removeAllRanges(),C.rangeCount||Z.forEach(function(T){C.addRange(T)}),w&&w.focus()}}},52232:function(J,C,w){"use strict";w.d(C,{D:function(){return Je}});var Z={};w.r(Z),w.d(Z,{attentionMarkers:function(){return Yi},contentInitial:function(){return $i},disable:function(){return Gi},document:function(){return Wi},flow:function(){return Ki},flowInitial:function(){return qi},insideSpan:function(){return Qi},string:function(){return Xi},text:function(){return Zi}});var _={};w.r(_),w.d(_,{boolean:function(){return V},booleanish:function(){return gn},commaOrSpaceSeparated:function(){return On},commaSeparated:function(){return ue},number:function(){return b},overloadedBoolean:function(){return Ut},spaceSeparated:function(){return cn}});var T=w(4819),K=w(81246);function I(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?H(n.position):"start"in n||"end"in n?H(n):"line"in n||"column"in n?Y(n):""}function Y(n){return O(n&&n.line)+":"+O(n&&n.column)}function H(n){return Y(n&&n.start)+"-"+Y(n&&n.end)}function O(n){return n&&typeof n=="number"?n:1}class D extends Error{constructor(e,t,r){const i=[null,null];let l={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(r=t,t=void 0),typeof r=="string"){const o=r.indexOf(":");o===-1?i[1]=r:(i[0]=r.slice(0,o),i[1]=r.slice(o+1))}t&&("type"in t||"position"in t?t.position&&(l=t.position):"start"in t||"end"in t?l=t:("line"in t||"column"in t)&&(l.start=t)),this.name=I(t)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack=typeof e=="object"?e.stack:"",this.reason=this.message,this.fatal,this.line=l.start.line,this.column=l.start.column,this.source=i[0],this.ruleId=i[1],this.position=l,this.actual,this.expected,this.file,this.url,this.note}}D.prototype.file="",D.prototype.name="",D.prototype.reason="",D.prototype.message="",D.prototype.stack="",D.prototype.fatal=null,D.prototype.column=null,D.prototype.line=null,D.prototype.source=null,D.prototype.ruleId=null,D.prototype.position=null;const L={basename:nn,dirname:hn,extname:tn,join:N,sep:"/"};function nn(n,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');en(n);let t=0,r=-1,i=n.length,l;if(e===void 0||e.length===0||e.length>n.length){for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":n.slice(t,r)}if(e===n)return"";let o=-1,u=e.length-1;for(;i--;)if(n.charCodeAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),u>-1&&(n.charCodeAt(i)===e.charCodeAt(u--)?u<0&&(r=i):(u=-1,r=o));return t===r?r=o:r<0&&(r=n.length),n.slice(t,r)}function hn(n){if(en(n),n.length===0)return".";let e=-1,t=n.length,r;for(;--t;)if(n.charCodeAt(t)===47){if(r){e=t;break}}else r||(r=!0);return e<0?n.charCodeAt(0)===47?"/":".":e===1&&n.charCodeAt(0)===47?"//":n.slice(0,e)}function tn(n){en(n);let e=n.length,t=-1,r=0,i=-1,l=0,o;for(;e--;){const u=n.charCodeAt(e);if(u===47){if(o){r=e+1;break}continue}t<0&&(o=!0,t=e+1),u===46?i<0?i=e:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":n.slice(i,t)}function N(...n){let e=-1,t;for(;++e<n.length;)en(n[e]),n[e]&&(t=t===void 0?n[e]:t+"/"+n[e]);return t===void 0?".":rn(t)}function rn(n){en(n);const e=n.charCodeAt(0)===47;let t=S(n,!e);return t.length===0&&!e&&(t="."),t.length>0&&n.charCodeAt(n.length-1)===47&&(t+="/"),e?"/"+t:t}function S(n,e){let t="",r=0,i=-1,l=0,o=-1,u,a;for(;++o<=n.length;){if(o<n.length)u=n.charCodeAt(o);else{if(u===47)break;u=47}if(u===47){if(!(i===o-1||l===1))if(i!==o-1&&l===2){if(t.length<2||r!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){if(a=t.lastIndexOf("/"),a!==t.length-1){a<0?(t="",r=0):(t=t.slice(0,a),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}e&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+n.slice(i+1,o):t=n.slice(i+1,o),r=o-i-1;i=o,l=0}else u===46&&l>-1?l++:l=-1}return t}function en(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const Xn={cwd:Zn};function Zn(){return"/"}function Nn(n){return n!==null&&typeof n=="object"&&n.href&&n.origin}function ne(n){if(typeof n=="string")n=new URL(n);else if(!Nn(n)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(n.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return ee(n)}function ee(n){if(n.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const e=n.pathname;let t=-1;for(;++t<e.length;)if(e.charCodeAt(t)===37&&e.charCodeAt(t+1)===50){const r=e.charCodeAt(t+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const zn=["history","path","basename","stem","extname","dirname"];class Qn{constructor(e){let t;e?typeof e=="string"||K(e)?t={value:e}:Nn(e)?t={path:e}:t=e:t={},this.data={},this.messages=[],this.history=[],this.cwd=Xn.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<zn.length;){const l=zn[r];l in t&&t[l]!==void 0&&(this[l]=l==="history"?[...t[l]]:t[l])}let i;for(i in t)zn.includes(i)||(this[i]=t[i])}get path(){return this.history[this.history.length-1]}set path(e){Nn(e)&&(e=ne(e)),$n(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return typeof this.path=="string"?L.dirname(this.path):void 0}set dirname(e){pn(this.basename,"dirname"),this.path=L.join(e||"",this.basename)}get basename(){return typeof this.path=="string"?L.basename(this.path):void 0}set basename(e){$n(e,"basename"),Wn(e,"basename"),this.path=L.join(this.dirname||"",e)}get extname(){return typeof this.path=="string"?L.extname(this.path):void 0}set extname(e){if(Wn(e,"extname"),pn(this.dirname,"extname"),e){if(e.charCodeAt(0)!==46)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 typeof this.path=="string"?L.basename(this.path,this.extname):void 0}set stem(e){$n(e,"stem"),Wn(e,"stem"),this.path=L.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e)}message(e,t,r){const i=new D(e,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(e,t,r){const i=this.message(e,t,r);return i.fatal=null,i}fail(e,t,r){const i=this.message(e,t,r);throw i.fatal=!0,i}}function Wn(n,e){if(n&&n.includes(L.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+L.sep+"`")}function $n(n,e){if(!n)throw new Error("`"+e+"` cannot be empty")}function pn(n,e){if(!n)throw new Error("Setting `"+e+"` requires `path` to be set too")}function un(n){if(n)throw n}var R=w(6067);function z(n){if(typeof n!="object"||n===null)return!1;const e=Object.getPrototypeOf(n);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function xn(){const n=[],e={run:t,use:r};return e;function t(...i){let l=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);u(null,...i);function u(a,...f){const p=n[++l];let g=-1;if(a){o(a);return}for(;++g<i.length;)(f[g]===null||f[g]===void 0)&&(f[g]=i[g]);i=f,p?Yn(p,u)(...f):o(null,...f)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return n.push(i),e}}function Yn(n,e){let t;return r;function r(...o){const u=n.length>o.length;let a;u&&o.push(i);try{a=n.apply(this,o)}catch(f){const p=f;if(u&&t)throw p;return i(p)}u||(a instanceof Promise?a.then(l,i):a instanceof Error?i(a):l(a))}function i(o,...u){t||(t=!0,e(o,...u))}function l(o){i(null,o)}}const te=Ce().freeze(),re={}.hasOwnProperty;function Ce(){const n=xn(),e=[];let t={},r,i=-1;return l.data=o,l.Parser=void 0,l.Compiler=void 0,l.freeze=u,l.attachers=e,l.use=a,l.parse=f,l.stringify=p,l.run=g,l.runSync=h,l.process=m,l.processSync=k,l;function l(){const A=Ce();let F=-1;for(;++F<e.length;)A.use(...e[F]);return A.data(R(!0,{},t)),A}function o(A,F){return typeof A=="string"?arguments.length===2?(he("data",r),t[A]=F,l):re.call(t,A)&&t[A]||null:A?(he("data",r),t=A,l):t}function u(){if(r)return l;for(;++i<e.length;){const[A,...F]=e[i];if(F[0]===!1)continue;F[0]===!0&&(F[0]=void 0);const x=A.call(l,...F);typeof x=="function"&&n.use(x)}return r=!0,i=Number.POSITIVE_INFINITY,l}function a(A,...F){let x;if(he("use",r),A!=null)if(typeof A=="function")$(A,...F);else if(typeof A=="object")Array.isArray(A)?X(A):P(A);else throw new TypeError("Expected usable value, not `"+A+"`");return x&&(t.settings=Object.assign(t.settings||{},x)),l;function W(y){if(typeof y=="function")$(y);else if(typeof y=="object")if(Array.isArray(y)){const[U,...q]=y;$(U,...q)}else P(y);else throw new TypeError("Expected usable value, not `"+y+"`")}function P(y){X(y.plugins),y.settings&&(x=Object.assign(x||{},y.settings))}function X(y){let U=-1;if(y!=null)if(Array.isArray(y))for(;++U<y.length;){const q=y[U];W(q)}else throw new TypeError("Expected a list of plugins, not `"+y+"`")}function $(y,U){let q=-1,Q;for(;++q<e.length;)if(e[q][0]===y){Q=e[q];break}Q?(z(Q[1])&&z(U)&&(U=R(!0,Q[1],U)),Q[1]=U):e.push([...arguments])}}function f(A){l.freeze();const F=me(A),x=l.Parser;return ie("parse",x),Se(x,"parse")?new x(String(F),F).parse():x(String(F),F)}function p(A,F){l.freeze();const x=me(F),W=l.Compiler;return le("stringify",W),et(A),Se(W,"compile")?new W(A,x).compile():W(A,x)}function g(A,F,x){if(et(A),l.freeze(),!x&&typeof F=="function"&&(x=F,F=void 0),!x)return new Promise(W);W(null,x);function W(P,X){n.run(A,me(F),$);function $(y,U,q){U=U||A,y?X(y):P?P(U):x(null,U,q)}}}function h(A,F){let x,W;return l.run(A,F,P),tt("runSync","run",W),x;function P(X,$){un(X),x=$,W=!0}}function m(A,F){if(l.freeze(),ie("process",l.Parser),le("process",l.Compiler),!F)return new Promise(x);x(null,F);function x(W,P){const X=me(A);l.run(l.parse(X),X,(y,U,q)=>{if(y||!U||!q)$(y);else{const Q=l.stringify(U,q);Q==null||(ar(Q)?q.value=Q:q.result=Q),$(y,q)}});function $(y,U){y||!U?P(y):W?W(U):F(null,U)}}}function k(A){let F;l.freeze(),ie("processSync",l.Parser),le("processSync",l.Compiler);const x=me(A);return l.process(x,W),tt("processSync","process",F),x;function W(P){F=!0,un(P)}}}function Se(n,e){return typeof n=="function"&&n.prototype&&(De(n.prototype)||e in n.prototype)}function De(n){let e;for(e in n)if(re.call(n,e))return!0;return!1}function ie(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Parser`")}function le(n,e){if(typeof e!="function")throw new TypeError("Cannot `"+n+"` without `Compiler`")}function he(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function et(n){if(!z(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function tt(n,e,t){if(!t)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function me(n){return ur(n)?n:new Qn(n)}function ur(n){return Boolean(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function ar(n){return typeof n=="string"||K(n)}function sr(n,e){var{includeImageAlt:t=!0}=e||{};return rt(n,t)}function rt(n,e){return n&&typeof n=="object"&&(n.value||(e?n.alt:"")||"children"in n&&it(n.children,e)||Array.isArray(n)&&it(n,e))||""}function it(n,e){for(var t=[],r=-1;++r<n.length;)t[r]=rt(n[r],e);return t.join("")}function Mn(n,e,t,r){const i=n.length;let l=0,o;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(e,t),[].splice.apply(n,o);else for(t&&[].splice.apply(n,[e,t]);l<r.length;)o=r.slice(l,l+1e4),o.unshift(e,0),[].splice.apply(n,o),l+=1e4,e+=1e4}function _n(n,e){return n.length>0?(Mn(n,n.length,0,e),n):e}const Le={}.hasOwnProperty;function cr(n){const e={};let t=-1;for(;++t<n.length;)fr(e,n[t]);return e}function fr(n,e){let t;for(t in e){const i=(Le.call(n,t)?n[t]:void 0)||(n[t]={}),l=e[t];let o;for(o in l){Le.call(i,o)||(i[o]=[]);const u=l[o];pr(i[o],Array.isArray(u)?u:u?[u]:[])}}}function pr(n,e){let t=-1;const r=[];for(;++t<e.length;)(e[t].add==="after"?n:r).push(e[t]);Mn(n,0,0,r)}function Ho(n){const e={};let t=-1;for(;++t<n.length;)hr(e,n[t]);return e}function hr(n,e){let t;for(t in e){const i=(Le.call(n,t)?n[t]:void 0)||(n[t]={}),l=e[t];let o;if(l)for(o in l)i[o]=l[o]}}const mr=/[!-/:-@[-`{-~\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]/,Bn=qn(/[A-Za-z]/),ze=qn(/\d/),dr=qn(/[\dA-Fa-f]/),In=qn(/[\dA-Za-z]/),gr=qn(/[!-/:-@[-`{-~]/),lt=qn(/[#-'*+\--9=?A-Z^-~]/);function Re(n){return n!==null&&(n<32||n===127)}function Tn(n){return n!==null&&(n<0||n===32)}function M(n){return n!==null&&n<-2}function dn(n){return n===-2||n===-1||n===32}const yr=qn(/\s/),xr=qn(mr);function qn(n){return e;function e(t){return t!==null&&n.test(String.fromCharCode(t))}}function an(n,e,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(a){return dn(a)?(n.enter(t),u(a)):e(a)}function u(a){return dn(a)&&l++<i?(n.consume(a),u):(n.exit(t),e(a))}}const kr={tokenize:br};function br(n){const e=n.attempt(this.parser.constructs.contentInitial,r,i);let t;return e;function r(u){if(u===null){n.consume(u);return}return n.enter("lineEnding"),n.consume(u),n.exit("lineEnding"),an(n,e,"linePrefix")}function i(u){return n.enter("paragraph"),l(u)}function l(u){const a=n.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=a),t=a,o(u)}function o(u){if(u===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(u);return}return M(u)?(n.consume(u),n.exit("chunkText"),l):(n.consume(u),o)}}const wr={tokenize:Cr},ot={tokenize:Sr};function Cr(n){const e=this,t=[];let r=0,i,l,o;return u;function u(P){if(r<t.length){const X=t[r];return e.containerState=X[1],n.attempt(X[0].continuation,a,f)(P)}return f(P)}function a(P){if(r++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&W();const X=e.events.length;let $=X,y;for(;$--;)if(e.events[$][0]==="exit"&&e.events[$][1].type==="chunkFlow"){y=e.events[$][1].end;break}x(r);let U=X;for(;U<e.events.length;)e.events[U][1].end=Object.assign({},y),U++;return Mn(e.events,$+1,0,e.events.slice(X)),e.events.length=U,f(P)}return u(P)}function f(P){if(r===t.length){if(!i)return h(P);if(i.currentConstruct&&i.currentConstruct.concrete)return k(P);e.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},n.check(ot,p,g)(P)}function p(P){return i&&W(),x(r),h(P)}function g(P){return e.parser.lazy[e.now().line]=r!==t.length,o=e.now().offset,k(P)}function h(P){return e.containerState={},n.attempt(ot,m,k)(P)}function m(P){return r++,t.push([e.currentConstruct,e.containerState]),h(P)}function k(P){if(P===null){i&&W(),x(0),n.consume(P);return}return i=i||e.parser.flow(e.now()),n.enter("chunkFlow",{contentType:"flow",previous:l,_tokenizer:i}),A(P)}function A(P){if(P===null){F(n.exit("chunkFlow"),!0),x(0),n.consume(P);return}return M(P)?(n.consume(P),F(n.exit("chunkFlow")),r=0,e.interrupt=void 0,u):(n.consume(P),A)}function F(P,X){const $=e.sliceStream(P);if(X&&$.push(null),P.previous=l,l&&(l.next=P),l=P,i.defineSkip(P.start),i.write($),e.parser.lazy[P.start.line]){let y=i.events.length;for(;y--;)if(i.events[y][1].start.offset<o&&(!i.events[y][1].end||i.events[y][1].end.offset>o))return;const U=e.events.length;let q=U,Q,Sn;for(;q--;)if(e.events[q][0]==="exit"&&e.events[q][1].type==="chunkFlow"){if(Q){Sn=e.events[q][1].end;break}Q=!0}for(x(r),y=U;y<e.events.length;)e.events[y][1].end=Object.assign({},Sn),y++;Mn(e.events,q+1,0,e.events.slice(U)),e.events.length=y}}function x(P){let X=t.length;for(;X-- >P;){const $=t[X];e.containerState=$[1],$[0].exit.call(e,n)}t.length=P}function W(){i.write([null]),l=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Sr(n,e,t){return an(n,n.attempt(this.parser.constructs.document,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Ee={tokenize:Er,partial:!0};function Er(n,e,t){return an(n,r,"linePrefix");function r(i){return i===null||M(i)?e(i):t(i)}}function ut(n){const e={};let t=-1,r,i,l,o,u,a,f;for(;++t<n.length;){for(;t in e;)t=e[t];if(r=n[t],t&&r[1].type==="chunkFlow"&&n[t-1][1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,l=0,l<a.length&&a[l][1].type==="lineEndingBlank"&&(l+=2),l<a.length&&a[l][1].type==="content"))for(;++l<a.length&&a[l][1].type!=="content";)a[l][1].type==="chunkText"&&(a[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(e,Ar(n,t)),t=e[t],f=!0);else if(r[1]._container){for(l=t,i=void 0;l--&&(o=n[l],o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(n[i][1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);i&&(r[1].end=Object.assign({},n[i][1].start),u=n.slice(i,t),u.unshift(r),Mn(n,i,t-i+1,u))}}return!f}function Ar(n,e){const t=n[e][1],r=n[e][2];let i=e-1;const l=[],o=t._tokenizer||r.parser[t.contentType](t.start),u=o.events,a=[],f={};let p,g,h=-1,m=t,k=0,A=0;const F=[A];for(;m;){for(;n[++i][1]!==m;);l.push(i),m._tokenizer||(p=r.sliceStream(m),m.next||p.push(null),g&&o.defineSkip(m.start),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),m._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),g=m,m=m.next}for(m=t;++h<u.length;)u[h][0]==="exit"&&u[h-1][0]==="enter"&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(A=h+1,F.push(A),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(o.events=[],m?(m._tokenizer=void 0,m.previous=void 0):F.pop(),h=F.length;h--;){const x=u.slice(F[h],F[h+1]),W=l.pop();a.unshift([W,W+x.length-1]),Mn(n,W,2,x)}for(h=-1;++h<a.length;)f[k+a[h][0]]=k+a[h][1],k+=a[h][1]-a[h][0]-1;return f}const vr={tokenize:Ir,resolve:Fr},Pr={tokenize:Or,partial:!0};function Fr(n){return ut(n),n}function Ir(n,e){let t;return r;function r(u){return n.enter("content"),t=n.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?l(u):M(u)?n.check(Pr,o,l)(u):(n.consume(u),i)}function l(u){return n.exit("chunkContent"),n.exit("content"),e(u)}function o(u){return n.consume(u),n.exit("chunkContent"),t.next=n.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function Or(n,e,t){const r=this;return i;function i(o){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),an(n,l,"linePrefix")}function l(o){if(o===null||M(o))return t(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(o):n.interrupt(r.parser.constructs.flow,t,e)(o)}}const _r={tokenize:Tr};function Tr(n){const e=this,t=n.attempt(Ee,r,n.attempt(this.parser.constructs.flowInitial,i,an(n,n.attempt(this.parser.constructs.flow,i,n.attempt(vr,i)),"linePrefix")));return t;function r(l){if(l===null){n.consume(l);return}return n.enter("lineEndingBlank"),n.consume(l),n.exit("lineEndingBlank"),e.currentConstruct=void 0,t}function i(l){if(l===null){n.consume(l);return}return n.enter("lineEnding"),n.consume(l),n.exit("lineEnding"),e.currentConstruct=void 0,t}}const Dr={resolveAll:st()},Lr=at("string"),zr=at("text");function at(n){return{tokenize:e,resolveAll:st(n==="text"?Rr:void 0)};function e(t){const r=this,i=this.parser.constructs[n],l=t.attempt(i,o,u);return o;function o(p){return f(p)?l(p):u(p)}function u(p){if(p===null){t.consume(p);return}return t.enter("data"),t.consume(p),a}function a(p){return f(p)?(t.exit("data"),l(p)):(t.consume(p),a)}function f(p){if(p===null)return!0;const g=i[p];let h=-1;if(g)for(;++h<g.length;){const m=g[h];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function st(n){return e;function e(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return n?n(t,r):t}}function Rr(n,e){let t=0;for(;++t<=n.length;)if((t===n.length||n[t][1].type==="lineEnding")&&n[t-1][1].type==="data"){const r=n[t-1][1],i=e.sliceStream(r);let l=i.length,o=-1,u=0,a;for(;l--;){const f=i[l];if(typeof f=="string"){for(o=f.length;f.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(f===-2)a=!0,u++;else if(f!==-1){l++;break}}if(u){const f={type:t===n.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-u,offset:r.end.offset-u,_index:r.start._index+l,_bufferIndex:l?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},f.start),r.start.offset===r.end.offset?Object.assign(r,f):(n.splice(t,0,["enter",f,e],["exit",f,e]),t+=2)}t++}return n}function Me(n,e,t){const r=[];let i=-1;for(;++i<n.length;){const l=n[i].resolveAll;l&&!r.includes(l)&&(e=l(e,t),r.push(l))}return e}function Mr(n,e,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},l=[];let o=[],u=[],a=!0;const f={consume:X,enter:$,exit:y,attempt:Q(U),check:Q(q),interrupt:Q(q,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:n,sliceStream:A,sliceSerialize:k,now:F,defineSkip:x,write:m};let g=e.tokenize.call(p,f),h;return e.resolveAll&&l.push(e),p;function m(v){return o=_n(o,v),W(),o[o.length-1]!==null?[]:(Sn(e,0),p.events=Me(l,p.events,p),p.events)}function k(v,G){return Nr(A(v),G)}function A(v){return Br(o,v)}function F(){return Object.assign({},r)}function x(v){i[v.line]=v.column,sn()}function W(){let v;for(;r._index<o.length;){const G=o[r._index];if(typeof G=="string")for(v=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===v&&r._bufferIndex<G.length;)P(G.charCodeAt(r._bufferIndex));else P(G)}}function P(v){a=void 0,h=v,g=g(v)}function X(v){M(v)?(r.line++,r.column=1,r.offset+=v===-3?2:1,sn()):v!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),p.previous=v,a=!0}function $(v,G){const bn=G||{};return bn.type=v,bn.start=F(),p.events.push(["enter",bn,p]),u.push(bn),bn}function y(v){const G=u.pop();return G.end=F(),p.events.push(["exit",G,p]),G}function U(v,G){Sn(v,G.from)}function q(v,G){G.restore()}function Q(v,G){return bn;function bn(Fn,Rn,wn){let vn,yn,c,s;return Array.isArray(Fn)?Jn(Fn):"tokenize"in Fn?Jn([Fn]):ye(Fn);function ye(Cn){return ke;function ke(Hn){const ce=Hn!==null&&Cn[Hn],fe=Hn!==null&&Cn.null,_e=[...Array.isArray(ce)?ce:ce?[ce]:[],...Array.isArray(fe)?fe:fe?[fe]:[]];return Jn(_e)(Hn)}}function Jn(Cn){return vn=Cn,yn=0,Cn.length===0?wn:se(Cn[yn])}function se(Cn){return ke;function ke(Hn){return s=ln(),c=Cn,Cn.partial||(p.currentConstruct=Cn),Cn.name&&p.parser.constructs.disable.null.includes(Cn.name)?jn(Hn):Cn.tokenize.call(G?Object.assign(Object.create(p),G):p,f,xe,jn)(Hn)}}function xe(Cn){return a=!0,v(c,s),Rn}function jn(Cn){return a=!0,s.restore(),++yn<vn.length?se(vn[yn]):wn}}}function Sn(v,G){v.resolveAll&&!l.includes(v)&&l.push(v),v.resolve&&Mn(p.events,G,p.events.length-G,v.resolve(p.events.slice(G),p)),v.resolveTo&&(p.events=v.resolveTo(p.events,p))}function ln(){const v=F(),G=p.previous,bn=p.currentConstruct,Fn=p.events.length,Rn=Array.from(u);return{restore:wn,from:Fn};function wn(){r=v,p.previous=G,p.currentConstruct=bn,p.events.length=Fn,u=Rn,sn()}}function sn(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Br(n,e){const t=e.start._index,r=e.start._bufferIndex,i=e.end._index,l=e.end._bufferIndex;let o;return t===i?o=[n[t].slice(r,l)]:(o=n.slice(t,i),r>-1&&(o[0]=o[0].slice(r)),l>0&&o.push(n[i].slice(0,l))),o}function Nr(n,e){let t=-1;const r=[];let i;for(;++t<n.length;){const l=n[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
|
|
66
66
|
`;break}case-3:{o=`\r
|
|
67
|
-
`;break}case-2:{o=e?" ":" ";break}case-1:{if(!e&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}const Ae={name:"thematicBreak",tokenize:Ur};function Ur(n,e,t){let r=0,i;return l;function l(a){return n.enter("thematicBreak"),i=a,o(a)}function o(a){return a===i?(n.enter("thematicBreakSequence"),u(a)):dn(a)?an(n,o,"whitespace")(a):r<3||a!==null&&!M(a)?t(a):(n.exit("thematicBreak"),e(a))}function u(a){return a===i?(n.consume(a),r++,u):(n.exit("thematicBreakSequence"),o(a))}}const Pn={name:"list",tokenize:Vr,continuation:{tokenize:Wr},exit:qr},jr={tokenize:Kr,partial:!0},Hr={tokenize:$r,partial:!0};function Vr(n,e,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(m){const k=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Le(m)){if(r.containerState.type||(r.containerState.type=k,n.enter(k,{_container:!0})),k==="listUnordered")return n.enter("listItemPrefix"),m===42||m===45?n.check(Ae,t,f)(m):f(m);if(!r.interrupt||m===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),a(m)}return t(m)}function a(m){return Le(m)&&++o<10?(n.consume(m),a):(!r.interrupt||o<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(n.exit("listItemValue"),f(m)):t(m)}function f(m){return n.enter("listItemMarker"),n.consume(m),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,n.check(Ee,r.interrupt?t:p,n.attempt(jr,h,g))}function p(m){return r.containerState.initialBlankLine=!0,l++,h(m)}function g(m){return dn(m)?(n.enter("listItemPrefixWhitespace"),n.consume(m),n.exit("listItemPrefixWhitespace"),h):t(m)}function h(m){return r.containerState.size=l+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(m)}}function Wr(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Ee,i,l);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,an(n,e,"listItemIndent",r.containerState.size+1)(u)}function l(u){return r.containerState.furtherBlankLines||!dn(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(Hr,e,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,an(n,n.attempt(Pn,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function $r(n,e,t){const r=this;return an(n,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?e(l):t(l)}}function qr(n){n.exit(this.containerState.type)}function Kr(n,e,t){const r=this;return an(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(l){const o=r.events[r.events.length-1];return!dn(l)&&o&&o[1].type==="listItemPrefixWhitespace"?e(l):t(l)}}const ct={name:"blockQuote",tokenize:Xr,continuation:{tokenize:Zr},exit:Qr};function Xr(n,e,t){const r=this;return i;function i(o){if(o===62){const u=r.containerState;return u.open||(n.enter("blockQuote",{_container:!0}),u.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(o),n.exit("blockQuoteMarker"),l}return t(o)}function l(o){return dn(o)?(n.enter("blockQuotePrefixWhitespace"),n.consume(o),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),e):(n.exit("blockQuotePrefix"),e(o))}}function Zr(n,e,t){return an(n,n.attempt(ct,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Qr(n){n.exit("blockQuote")}function ft(n,e,t,r,i,l,o,u,a){const f=a||Number.POSITIVE_INFINITY;let p=0;return g;function g(x){return x===60?(n.enter(r),n.enter(i),n.enter(l),n.consume(x),n.exit(l),h):x===null||x===41||ze(x)?t(x):(n.enter(r),n.enter(o),n.enter(u),n.enter("chunkString",{contentType:"string"}),A(x))}function h(x){return x===62?(n.enter(l),n.consume(x),n.exit(l),n.exit(i),n.exit(r),e):(n.enter(u),n.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(n.exit("chunkString"),n.exit(u),h(x)):x===null||x===60||M(x)?t(x):(n.consume(x),x===92?k:m)}function k(x){return x===60||x===62||x===92?(n.consume(x),m):m(x)}function A(x){return x===40?++p>f?t(x):(n.consume(x),A):x===41?p--?(n.consume(x),A):(n.exit("chunkString"),n.exit(u),n.exit(o),n.exit(r),e(x)):x===null||Tn(x)?p?t(x):(n.exit("chunkString"),n.exit(u),n.exit(o),n.exit(r),e(x)):ze(x)?t(x):(n.consume(x),x===92?F:A)}function F(x){return x===40||x===41||x===92?(n.consume(x),A):A(x)}}function pt(n,e,t,r,i,l){const o=this;let u=0,a;return f;function f(m){return n.enter(r),n.enter(i),n.consume(m),n.exit(i),n.enter(l),p}function p(m){return m===null||m===91||m===93&&!a||m===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs||u>999?t(m):m===93?(n.exit(l),n.enter(i),n.consume(m),n.exit(i),n.exit(r),e):M(m)?(n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),p):(n.enter("chunkString",{contentType:"string"}),g(m))}function g(m){return m===null||m===91||m===93||M(m)||u++>999?(n.exit("chunkString"),p(m)):(n.consume(m),a=a||!dn(m),m===92?h:g)}function h(m){return m===91||m===92||m===93?(n.consume(m),u++,g):g(m)}}function ht(n,e,t,r,i,l){let o;return u;function u(h){return n.enter(r),n.enter(i),n.consume(h),n.exit(i),o=h===40?41:h,a}function a(h){return h===o?(n.enter(i),n.consume(h),n.exit(i),n.exit(r),e):(n.enter(l),f(h))}function f(h){return h===o?(n.exit(l),a(o)):h===null?t(h):M(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),an(n,f,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||M(h)?(n.exit("chunkString"),f(h)):(n.consume(h),h===92?g:p)}function g(h){return h===o||h===92?(n.consume(h),p):p(h)}}function de(n,e){let t;return r;function r(i){return M(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):dn(i)?an(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}function oe(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Yr={name:"definition",tokenize:Jr},Gr={tokenize:ni,partial:!0};function Jr(n,e,t){const r=this;let i;return l;function l(a){return n.enter("definition"),pt.call(r,n,o,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(a)}function o(a){return i=oe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),a===58?(n.enter("definitionMarker"),n.consume(a),n.exit("definitionMarker"),de(n,ft(n,n.attempt(Gr,an(n,u,"whitespace"),an(n,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(a)}function u(a){return a===null||M(a)?(n.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),e(a)):t(a)}}function ni(n,e,t){return r;function r(o){return Tn(o)?de(n,i)(o):t(o)}function i(o){return o===34||o===39||o===40?ht(n,an(n,l,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):t(o)}function l(o){return o===null||M(o)?e(o):t(o)}}const Me={name:"codeIndented",tokenize:ti},ei={tokenize:ri,partial:!0};function ti(n,e,t){const r=this;return i;function i(f){return n.enter("codeIndented"),an(n,l,"linePrefix",4+1)(f)}function l(f){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(f):t(f)}function o(f){return f===null?a(f):M(f)?n.attempt(ei,o,a)(f):(n.enter("codeFlowValue"),u(f))}function u(f){return f===null||M(f)?(n.exit("codeFlowValue"),o(f)):(n.consume(f),u)}function a(f){return n.exit("codeIndented"),e(f)}}function ri(n,e,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):M(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i):an(n,l,"linePrefix",4+1)(o)}function l(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(o):M(o)?i(o):t(o)}}const ii={name:"headingAtx",tokenize:oi,resolve:li};function li(n,e){let t=n.length-2,r=3,i,l;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},l={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},Mn(n,r,t-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),n}function oi(n,e,t){const r=this;let i=0;return l;function l(p){return n.enter("atxHeading"),n.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&i++<6?(n.consume(p),o):p===null||Tn(p)?(n.exit("atxHeadingSequence"),r.interrupt?e(p):u(p)):t(p)}function u(p){return p===35?(n.enter("atxHeadingSequence"),a(p)):p===null||M(p)?(n.exit("atxHeading"),e(p)):dn(p)?an(n,u,"whitespace")(p):(n.enter("atxHeadingText"),f(p))}function a(p){return p===35?(n.consume(p),a):(n.exit("atxHeadingSequence"),u(p))}function f(p){return p===null||p===35||Tn(p)?(n.exit("atxHeadingText"),u(p)):(n.consume(p),f)}}const mt={name:"setextUnderline",tokenize:ai,resolveTo:ui};function ui(n,e){let t=n.length,r,i,l;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!l&&n[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",l?(n.splice(i,0,["enter",o,e]),n.splice(l+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[l][1].end)):n[r][1]=o,n.push(["exit",o,e]),n}function ai(n,e,t){const r=this;let i=r.events.length,l,o;for(;i--;)if(r.events[i][1].type!=="lineEnding"&&r.events[i][1].type!=="linePrefix"&&r.events[i][1].type!=="content"){o=r.events[i][1].type==="paragraph";break}return u;function u(p){return!r.parser.lazy[r.now().line]&&(r.interrupt||o)?(n.enter("setextHeadingLine"),n.enter("setextHeadingLineSequence"),l=p,a(p)):t(p)}function a(p){return p===l?(n.consume(p),a):(n.exit("setextHeadingLineSequence"),an(n,f,"lineSuffix")(p))}function f(p){return p===null||M(p)?(n.exit("setextHeadingLine"),e(p)):t(p)}}const si=["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"],dt=["pre","script","style","textarea"],ci={name:"htmlFlow",tokenize:hi,resolveTo:pi,concrete:!0},fi={tokenize:mi,partial:!0};function pi(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function hi(n,e,t){const r=this;let i,l,o,u,a;return f;function f(s){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(s),p}function p(s){return s===33?(n.consume(s),g):s===47?(n.consume(s),k):s===63?(n.consume(s),i=3,r.interrupt?e:vn):Bn(s)?(n.consume(s),o=String.fromCharCode(s),l=!0,A):t(s)}function g(s){return s===45?(n.consume(s),i=2,h):s===91?(n.consume(s),i=5,o="CDATA[",u=0,m):Bn(s)?(n.consume(s),i=4,r.interrupt?e:vn):t(s)}function h(s){return s===45?(n.consume(s),r.interrupt?e:vn):t(s)}function m(s){return s===o.charCodeAt(u++)?(n.consume(s),u===o.length?r.interrupt?e:ln:m):t(s)}function k(s){return Bn(s)?(n.consume(s),o=String.fromCharCode(s),A):t(s)}function A(s){return s===null||s===47||s===62||Tn(s)?s!==47&&l&&dt.includes(o.toLowerCase())?(i=1,r.interrupt?e(s):ln(s)):si.includes(o.toLowerCase())?(i=6,s===47?(n.consume(s),F):r.interrupt?e(s):ln(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(s):l?W(s):x(s)):s===45||In(s)?(n.consume(s),o+=String.fromCharCode(s),A):t(s)}function F(s){return s===62?(n.consume(s),r.interrupt?e:ln):t(s)}function x(s){return dn(s)?(n.consume(s),x):Q(s)}function W(s){return s===47?(n.consume(s),Q):s===58||s===95||Bn(s)?(n.consume(s),P):dn(s)?(n.consume(s),W):Q(s)}function P(s){return s===45||s===46||s===58||s===95||In(s)?(n.consume(s),P):X(s)}function X(s){return s===61?(n.consume(s),$):dn(s)?(n.consume(s),X):W(s)}function $(s){return s===null||s===60||s===61||s===62||s===96?t(s):s===34||s===39?(n.consume(s),a=s,y):dn(s)?(n.consume(s),$):(a=null,U(s))}function y(s){return s===null||M(s)?t(s):s===a?(n.consume(s),q):(n.consume(s),y)}function U(s){return s===null||s===34||s===39||s===60||s===61||s===62||s===96||Tn(s)?X(s):(n.consume(s),U)}function q(s){return s===47||s===62||dn(s)?W(s):t(s)}function Q(s){return s===62?(n.consume(s),Sn):t(s)}function Sn(s){return dn(s)?(n.consume(s),Sn):s===null||M(s)?ln(s):t(s)}function ln(s){return s===45&&i===2?(n.consume(s),bn):s===60&&i===1?(n.consume(s),Fn):s===62&&i===4?(n.consume(s),yn):s===63&&i===3?(n.consume(s),vn):s===93&&i===5?(n.consume(s),wn):M(s)&&(i===6||i===7)?n.check(fi,yn,sn)(s):s===null||M(s)?sn(s):(n.consume(s),ln)}function sn(s){return n.exit("htmlFlowData"),v(s)}function v(s){return s===null?c(s):M(s)?n.attempt({tokenize:G,partial:!0},v,c)(s):(n.enter("htmlFlowData"),ln(s))}function G(s,ye,Gn){return se;function se(jn){return s.enter("lineEnding"),s.consume(jn),s.exit("lineEnding"),xe}function xe(jn){return r.parser.lazy[r.now().line]?Gn(jn):ye(jn)}}function bn(s){return s===45?(n.consume(s),vn):ln(s)}function Fn(s){return s===47?(n.consume(s),o="",Rn):ln(s)}function Rn(s){return s===62&&dt.includes(o.toLowerCase())?(n.consume(s),yn):Bn(s)&&o.length<8?(n.consume(s),o+=String.fromCharCode(s),Rn):ln(s)}function wn(s){return s===93?(n.consume(s),vn):ln(s)}function vn(s){return s===62?(n.consume(s),yn):s===45&&i===2?(n.consume(s),vn):ln(s)}function yn(s){return s===null||M(s)?(n.exit("htmlFlowData"),c(s)):(n.consume(s),yn)}function c(s){return n.exit("htmlFlow"),e(s)}}function mi(n,e,t){return r;function r(i){return n.exit("htmlFlowData"),n.enter("lineEndingBlank"),n.consume(i),n.exit("lineEndingBlank"),n.attempt(Ee,e,t)}}const gt={name:"codeFenced",tokenize:di,concrete:!0};function di(n,e,t){const r=this,i={tokenize:$,partial:!0},l={tokenize:X,partial:!0},o=this.events[this.events.length-1],u=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0;let a=0,f;return p;function p(y){return n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),f=y,g(y)}function g(y){return y===f?(n.consume(y),a++,g):(n.exit("codeFencedFenceSequence"),a<3?t(y):an(n,h,"whitespace")(y))}function h(y){return y===null||M(y)?F(y):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||Tn(y)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),an(n,k,"whitespace")(y)):y===96&&y===f?t(y):(n.consume(y),m)}function k(y){return y===null||M(y)?F(y):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),A(y))}function A(y){return y===null||M(y)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),F(y)):y===96&&y===f?t(y):(n.consume(y),A)}function F(y){return n.exit("codeFencedFence"),r.interrupt?e(y):x(y)}function x(y){return y===null?P(y):M(y)?n.attempt(l,n.attempt(i,P,u?an(n,x,"linePrefix",u+1):x),P)(y):(n.enter("codeFlowValue"),W(y))}function W(y){return y===null||M(y)?(n.exit("codeFlowValue"),x(y)):(n.consume(y),W)}function P(y){return n.exit("codeFenced"),e(y)}function X(y,U,q){const Q=this;return Sn;function Sn(sn){return y.enter("lineEnding"),y.consume(sn),y.exit("lineEnding"),ln}function ln(sn){return Q.parser.lazy[Q.now().line]?q(sn):U(sn)}}function $(y,U,q){let Q=0;return an(y,Sn,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Sn(v){return y.enter("codeFencedFence"),y.enter("codeFencedFenceSequence"),ln(v)}function ln(v){return v===f?(y.consume(v),Q++,ln):Q<a?q(v):(y.exit("codeFencedFenceSequence"),an(y,sn,"whitespace")(v))}function sn(v){return v===null||M(v)?(y.exit("codeFencedFence"),U(v)):q(v)}}}const yt=document.createElement("i");function Be(n){const e="&"+n+";";yt.innerHTML=e;const t=yt.textContent;return t.charCodeAt(t.length-1)===59&&n!=="semi"||t===e?!1:t}const xt={name:"characterReference",tokenize:gi};function gi(n,e,t){const r=this;let i=0,l,o;return u;function u(g){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),a}function a(g){return g===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(g),n.exit("characterReferenceMarkerNumeric"),f):(n.enter("characterReferenceValue"),l=31,o=In,p(g))}function f(g){return g===88||g===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(g),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),l=6,o=dr,p):(n.enter("characterReferenceValue"),l=7,o=Le,p(g))}function p(g){let h;return g===59&&i?(h=n.exit("characterReferenceValue"),o===In&&!Be(r.sliceSerialize(h))?t(g):(n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),n.exit("characterReference"),e)):o(g)&&i++<l?(n.consume(g),p):t(g)}}const kt={name:"characterEscape",tokenize:yi};function yi(n,e,t){return r;function r(l){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(l),n.exit("escapeMarker"),i}function i(l){return gr(l)?(n.enter("characterEscapeValue"),n.consume(l),n.exit("characterEscapeValue"),n.exit("characterEscape"),e):t(l)}}const Ne={name:"lineEnding",tokenize:xi};function xi(n,e){return t;function t(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),an(n,e,"linePrefix")}}const Ue={name:"labelEnd",tokenize:Ei,resolveTo:Si,resolveAll:Ci},ki={tokenize:Ai},bi={tokenize:vi},wi={tokenize:Pi};function Ci(n){let e=-1,t;for(;++e<n.length;)t=n[e][1],(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(n.splice(e+1,t.type==="labelImage"?4:2),t.type="data",e++);return n}function Si(n,e){let t=n.length,r=0,i,l,o,u;for(;t--;)if(i=n[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;n[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(n[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const a={type:n[l][1].type==="labelLink"?"link":"image",start:Object.assign({},n[l][1].start),end:Object.assign({},n[n.length-1][1].end)},f={type:"label",start:Object.assign({},n[l][1].start),end:Object.assign({},n[o][1].end)},p={type:"labelText",start:Object.assign({},n[l+r+2][1].end),end:Object.assign({},n[o-2][1].start)};return u=[["enter",a,e],["enter",f,e]],u=_n(u,n.slice(l+1,l+r+3)),u=_n(u,[["enter",p,e]]),u=_n(u,Re(e.parser.constructs.insideSpan.null,n.slice(l+r+4,o-3),e)),u=_n(u,[["exit",p,e],n[o-2],n[o-1],["exit",f,e]]),u=_n(u,n.slice(o+1)),u=_n(u,[["exit",a,e]]),Mn(n,l,n.length,u),n}function Ei(n,e,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return u;function u(p){return l?l._inactive?f(p):(o=r.parser.defined.includes(oe(r.sliceSerialize({start:l.end,end:r.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(p),n.exit("labelMarker"),n.exit("labelEnd"),a):t(p)}function a(p){return p===40?n.attempt(ki,e,o?e:f)(p):p===91?n.attempt(bi,e,o?n.attempt(wi,e,f):f)(p):o?e(p):f(p)}function f(p){return l._balanced=!0,t(p)}}function Ai(n,e,t){return r;function r(a){return n.enter("resource"),n.enter("resourceMarker"),n.consume(a),n.exit("resourceMarker"),de(n,i)}function i(a){return a===41?u(a):ft(n,l,t,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(a)}function l(a){return Tn(a)?de(n,o)(a):u(a)}function o(a){return a===34||a===39||a===40?ht(n,de(n,u),t,"resourceTitle","resourceTitleMarker","resourceTitleString")(a):u(a)}function u(a){return a===41?(n.enter("resourceMarker"),n.consume(a),n.exit("resourceMarker"),n.exit("resource"),e):t(a)}}function vi(n,e,t){const r=this;return i;function i(o){return pt.call(r,n,l,t,"reference","referenceMarker","referenceString")(o)}function l(o){return r.parser.defined.includes(oe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(o):t(o)}}function Pi(n,e,t){return r;function r(l){return n.enter("reference"),n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),i}function i(l){return l===93?(n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),n.exit("reference"),e):t(l)}}const Fi={name:"labelStartImage",tokenize:Ii,resolveAll:Ue.resolveAll};function Ii(n,e,t){const r=this;return i;function i(u){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(u),n.exit("labelImageMarker"),l}function l(u){return u===91?(n.enter("labelMarker"),n.consume(u),n.exit("labelMarker"),n.exit("labelImage"),o):t(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(u):e(u)}}function bt(n){if(n===null||Tn(n)||yr(n))return 1;if(xr(n))return 2}const je={name:"attention",tokenize:_i,resolveAll:Oi};function Oi(n,e){let t=-1,r,i,l,o,u,a,f,p;for(;++t<n.length;)if(n[t][0]==="enter"&&n[t][1].type==="attentionSequence"&&n[t][1]._close){for(r=t;r--;)if(n[r][0]==="exit"&&n[r][1].type==="attentionSequence"&&n[r][1]._open&&e.sliceSerialize(n[r][1]).charCodeAt(0)===e.sliceSerialize(n[t][1]).charCodeAt(0)){if((n[r][1]._close||n[t][1]._open)&&(n[t][1].end.offset-n[t][1].start.offset)%3&&!((n[r][1].end.offset-n[r][1].start.offset+n[t][1].end.offset-n[t][1].start.offset)%3))continue;a=n[r][1].end.offset-n[r][1].start.offset>1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const g=Object.assign({},n[r][1].end),h=Object.assign({},n[t][1].start);wt(g,-a),wt(h,a),o={type:a>1?"strongSequence":"emphasisSequence",start:g,end:Object.assign({},n[r][1].end)},u={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:h},l={type:a>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},u.end)},n[r][1].end=Object.assign({},o.start),n[t][1].start=Object.assign({},u.end),f=[],n[r][1].end.offset-n[r][1].start.offset&&(f=_n(f,[["enter",n[r][1],e],["exit",n[r][1],e]])),f=_n(f,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",l,e]]),f=_n(f,Re(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),f=_n(f,[["exit",l,e],["enter",u,e],["exit",u,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(p=2,f=_n(f,[["enter",n[t][1],e],["exit",n[t][1],e]])):p=0,Mn(n,r-1,t-r+3,f),t=r+f.length-p-2;break}}for(t=-1;++t<n.length;)n[t][1].type==="attentionSequence"&&(n[t][1].type="data");return n}function _i(n,e){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=bt(r);let l;return o;function o(a){return n.enter("attentionSequence"),l=a,u(a)}function u(a){if(a===l)return n.consume(a),u;const f=n.exit("attentionSequence"),p=bt(a),g=!p||p===2&&i||t.includes(a),h=!i||i===2&&p||t.includes(r);return f._open=Boolean(l===42?g:g&&(i||!h)),f._close=Boolean(l===42?h:h&&(p||!g)),e(a)}}function wt(n,e){n.column+=e,n.offset+=e,n._bufferIndex+=e}const Ti={name:"autolink",tokenize:Di};function Di(n,e,t){let r=1;return i;function i(k){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(k),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),l}function l(k){return Bn(k)?(n.consume(k),o):lt(k)?f(k):t(k)}function o(k){return k===43||k===45||k===46||In(k)?u(k):f(k)}function u(k){return k===58?(n.consume(k),a):(k===43||k===45||k===46||In(k))&&r++<32?(n.consume(k),u):f(k)}function a(k){return k===62?(n.exit("autolinkProtocol"),m(k)):k===null||k===32||k===60||ze(k)?t(k):(n.consume(k),a)}function f(k){return k===64?(n.consume(k),r=0,p):lt(k)?(n.consume(k),f):t(k)}function p(k){return In(k)?g(k):t(k)}function g(k){return k===46?(n.consume(k),r=0,p):k===62?(n.exit("autolinkProtocol").type="autolinkEmail",m(k)):h(k)}function h(k){return(k===45||In(k))&&r++<63?(n.consume(k),k===45?h:g):t(k)}function m(k){return n.enter("autolinkMarker"),n.consume(k),n.exit("autolinkMarker"),n.exit("autolink"),e}}const Li={name:"htmlText",tokenize:zi};function zi(n,e,t){const r=this;let i,l,o,u;return a;function a(c){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(c),f}function f(c){return c===33?(n.consume(c),p):c===47?(n.consume(c),U):c===63?(n.consume(c),$):Bn(c)?(n.consume(c),Sn):t(c)}function p(c){return c===45?(n.consume(c),g):c===91?(n.consume(c),l="CDATA[",o=0,F):Bn(c)?(n.consume(c),X):t(c)}function g(c){return c===45?(n.consume(c),h):t(c)}function h(c){return c===null||c===62?t(c):c===45?(n.consume(c),m):k(c)}function m(c){return c===null||c===62?t(c):k(c)}function k(c){return c===null?t(c):c===45?(n.consume(c),A):M(c)?(u=k,wn(c)):(n.consume(c),k)}function A(c){return c===45?(n.consume(c),yn):k(c)}function F(c){return c===l.charCodeAt(o++)?(n.consume(c),o===l.length?x:F):t(c)}function x(c){return c===null?t(c):c===93?(n.consume(c),W):M(c)?(u=x,wn(c)):(n.consume(c),x)}function W(c){return c===93?(n.consume(c),P):x(c)}function P(c){return c===62?yn(c):c===93?(n.consume(c),P):x(c)}function X(c){return c===null||c===62?yn(c):M(c)?(u=X,wn(c)):(n.consume(c),X)}function $(c){return c===null?t(c):c===63?(n.consume(c),y):M(c)?(u=$,wn(c)):(n.consume(c),$)}function y(c){return c===62?yn(c):$(c)}function U(c){return Bn(c)?(n.consume(c),q):t(c)}function q(c){return c===45||In(c)?(n.consume(c),q):Q(c)}function Q(c){return M(c)?(u=Q,wn(c)):dn(c)?(n.consume(c),Q):yn(c)}function Sn(c){return c===45||In(c)?(n.consume(c),Sn):c===47||c===62||Tn(c)?ln(c):t(c)}function ln(c){return c===47?(n.consume(c),yn):c===58||c===95||Bn(c)?(n.consume(c),sn):M(c)?(u=ln,wn(c)):dn(c)?(n.consume(c),ln):yn(c)}function sn(c){return c===45||c===46||c===58||c===95||In(c)?(n.consume(c),sn):v(c)}function v(c){return c===61?(n.consume(c),G):M(c)?(u=v,wn(c)):dn(c)?(n.consume(c),v):ln(c)}function G(c){return c===null||c===60||c===61||c===62||c===96?t(c):c===34||c===39?(n.consume(c),i=c,bn):M(c)?(u=G,wn(c)):dn(c)?(n.consume(c),G):(n.consume(c),i=void 0,Rn)}function bn(c){return c===i?(n.consume(c),Fn):c===null?t(c):M(c)?(u=bn,wn(c)):(n.consume(c),bn)}function Fn(c){return c===62||c===47||Tn(c)?ln(c):t(c)}function Rn(c){return c===null||c===34||c===39||c===60||c===61||c===96?t(c):c===62||Tn(c)?ln(c):(n.consume(c),Rn)}function wn(c){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),an(n,vn,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function vn(c){return n.enter("htmlTextData"),u(c)}function yn(c){return c===62?(n.consume(c),n.exit("htmlTextData"),n.exit("htmlText"),e):t(c)}}const Ri={name:"labelStartLink",tokenize:Mi,resolveAll:Ue.resolveAll};function Mi(n,e,t){const r=this;return i;function i(o){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(o),n.exit("labelMarker"),n.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):e(o)}}const Bi={name:"hardBreakEscape",tokenize:Ni};function Ni(n,e,t){return r;function r(l){return n.enter("hardBreakEscape"),n.enter("escapeMarker"),n.consume(l),i}function i(l){return M(l)?(n.exit("escapeMarker"),n.exit("hardBreakEscape"),e(l)):t(l)}}const Ui={name:"codeText",tokenize:Vi,resolve:ji,previous:Hi};function ji(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r<e;)if(n[r][1].type==="codeTextData"){n[t][1].type="codeTextPadding",n[e][1].type="codeTextPadding",t+=2,e-=2;break}}for(r=t-1,e++;++r<=e;)i===void 0?r!==e&&n[r][1].type!=="lineEnding"&&(i=r):(r===e||n[r][1].type==="lineEnding")&&(n[i][1].type="codeTextData",r!==i+2&&(n[i][1].end=n[r-1][1].end,n.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return n}function Hi(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Vi(n,e,t){const r=this;let i=0,l,o;return u;function u(h){return n.enter("codeText"),n.enter("codeTextSequence"),a(h)}function a(h){return h===96?(n.consume(h),i++,a):(n.exit("codeTextSequence"),f(h))}function f(h){return h===null?t(h):h===96?(o=n.enter("codeTextSequence"),l=0,g(h)):h===32?(n.enter("space"),n.consume(h),n.exit("space"),f):M(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),f):(n.enter("codeTextData"),p(h))}function p(h){return h===null||h===32||h===96||M(h)?(n.exit("codeTextData"),f(h)):(n.consume(h),p)}function g(h){return h===96?(n.consume(h),l++,g):l===i?(n.exit("codeTextSequence"),n.exit("codeText"),e(h)):(o.type="codeTextData",p(h))}}const Wi={[42]:Pn,[43]:Pn,[45]:Pn,[48]:Pn,[49]:Pn,[50]:Pn,[51]:Pn,[52]:Pn,[53]:Pn,[54]:Pn,[55]:Pn,[56]:Pn,[57]:Pn,[62]:ct},$i={[91]:Yr},qi={[-2]:Me,[-1]:Me,[32]:Me},Ki={[35]:ii,[42]:Ae,[45]:[mt,Ae],[60]:ci,[61]:mt,[95]:Ae,[96]:gt,[126]:gt},Xi={[38]:xt,[92]:kt},Zi={[-5]:Ne,[-4]:Ne,[-3]:Ne,[33]:Fi,[38]:xt,[42]:je,[60]:[Ti,Li],[91]:Ri,[92]:[Bi,kt],[93]:Ue,[95]:je,[96]:Ui},Qi={null:[je,Dr]},Yi={null:[42,95]},Gi={null:[]};function Ji(n={}){const e=cr([Z].concat(n.extensions||[])),t={defined:[],lazy:{},constructs:e,content:r(kr),document:r(wr),flow:r(_r),string:r(Lr),text:r(zr)};return t;function r(i){return l;function l(o){return Mr(t,i,o)}}}const Ct=/[\0\t\n\r]/g;function nl(){let n=1,e="",t=!0,r;return i;function i(l,o,u){const a=[];let f,p,g,h,m;for(l=e+l.toString(o),g=0,e="",t&&(l.charCodeAt(0)===65279&&g++,t=void 0);g<l.length;){if(Ct.lastIndex=g,f=Ct.exec(l),h=f&&f.index!==void 0?f.index:l.length,m=l.charCodeAt(h),!f){e=l.slice(g);break}if(m===10&&g===h&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),g<h&&(a.push(l.slice(g,h)),n+=h-g),m){case 0:{a.push(65533),n++;break}case 9:{for(p=Math.ceil(n/4)*4,a.push(-2);n++<p;)a.push(-1);break}case 10:{a.push(-4),n=1;break}default:r=!0,n=1}g=h+1}return u&&(r&&a.push(-5),e&&a.push(e),a.push(null)),a}}function el(n){for(;!ut(n););return n}function St(n,e){const t=Number.parseInt(n,e);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"\uFFFD":String.fromCharCode(t)}const tl=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rl(n){return n.replace(tl,il)}function il(n,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return St(t.slice(l?2:1),l?16:10)}return Be(t)||n}const He={}.hasOwnProperty,ll=function(n,e,t){return typeof e!="string"&&(t=e,e=void 0),ol(t)(el(Ji(t).document().write(nl()(n,e,!0))))};function ol(n={}){const e=Et({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(tr),autolinkProtocol:sn,autolinkEmail:sn,atxHeading:a(Jt),blockQuote:a(fe),characterEscape:sn,characterReference:sn,codeFenced:a(_e),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:a(_e,f),codeText:a(Fo,f),codeTextData:sn,data:sn,codeFlowValue:sn,definition:a(Io),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:a(Oo),hardBreakEscape:a(nr),hardBreakTrailing:a(nr),htmlFlow:a(er,f),htmlFlowData:sn,htmlText:a(er,f),htmlTextData:sn,image:a(_o),label:f,link:a(tr),listItem:a(To),listItemValue:A,listOrdered:a(rr,k),listUnordered:a(rr),paragraph:a(Do),reference:xe,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:a(Jt),strong:a(Lo),thematicBreak:a(Ro)},exit:{atxHeading:g(),atxHeadingSequence:q,autolink:g(),autolinkEmail:ce,autolinkProtocol:Hn,blockQuote:g(),characterEscapeValue:v,characterReferenceMarkerHexadecimal:Cn,characterReferenceMarkerNumeric:Cn,characterReferenceValue:ke,codeFenced:g(P),codeFencedFence:W,codeFencedFenceInfo:F,codeFencedFenceMeta:x,codeFlowValue:v,codeIndented:g(X),codeText:g(wn),codeTextData:v,data:v,definition:g(),definitionDestinationString:U,definitionLabelString:$,definitionTitleString:y,emphasis:g(),hardBreakEscape:g(bn),hardBreakTrailing:g(bn),htmlFlow:g(Fn),htmlFlowData:v,htmlText:g(Rn),htmlTextData:v,image:g(yn),label:s,labelText:c,lineEnding:G,link:g(vn),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:jn,resourceDestinationString:ye,resourceTitleString:Gn,resource:se,setextHeading:g(ln),setextHeadingLineSequence:Sn,setextHeadingText:Q,strong:g(),thematicBreak:g()}},n.mdastExtensions||[]),t={};return r;function r(d){let E={type:"root",children:[]};const j=[E],on=[],Ln=[],be={stack:j,tokenStack:on,config:e,enter:p,exit:h,buffer:f,resume:m,setData:l,getData:o};let fn=-1;for(;++fn<d.length;)if(d[fn][1].type==="listOrdered"||d[fn][1].type==="listUnordered")if(d[fn][0]==="enter")Ln.push(fn);else{const En=Ln.pop();fn=i(d,En,fn)}for(fn=-1;++fn<d.length;){const En=e[d[fn][0]];He.call(En,d[fn][1].type)&&En[d[fn][1].type].call(Object.assign({sliceSerialize:d[fn][2].sliceSerialize},be),d[fn][1])}if(on.length>0){const En=on[on.length-1];(En[1]||At).call(be,void 0,En[0])}for(E.position={start:u(d.length>0?d[0][1].start:{line:1,column:1,offset:0}),end:u(d.length>0?d[d.length-2][1].end:{line:1,column:1,offset:0})},fn=-1;++fn<e.transforms.length;)E=e.transforms[fn](E)||E;return E}function i(d,E,j){let on=E-1,Ln=-1,be=!1,fn,En,pe,we;for(;++on<=j;){const mn=d[on];if(mn[1].type==="listUnordered"||mn[1].type==="listOrdered"||mn[1].type==="blockQuote"?(mn[0]==="enter"?Ln++:Ln--,we=void 0):mn[1].type==="lineEndingBlank"?mn[0]==="enter"&&(fn&&!we&&!Ln&&!pe&&(pe=on),we=void 0):mn[1].type==="linePrefix"||mn[1].type==="listItemValue"||mn[1].type==="listItemMarker"||mn[1].type==="listItemPrefix"||mn[1].type==="listItemPrefixWhitespace"||(we=void 0),!Ln&&mn[0]==="enter"&&mn[1].type==="listItemPrefix"||Ln===-1&&mn[0]==="exit"&&(mn[1].type==="listUnordered"||mn[1].type==="listOrdered")){if(fn){let Je=on;for(En=void 0;Je--;){const Vn=d[Je];if(Vn[1].type==="lineEnding"||Vn[1].type==="lineEndingBlank"){if(Vn[0]==="exit")continue;En&&(d[En][1].type="lineEndingBlank",be=!0),Vn[1].type="lineEnding",En=Je}else if(!(Vn[1].type==="linePrefix"||Vn[1].type==="blockQuotePrefix"||Vn[1].type==="blockQuotePrefixWhitespace"||Vn[1].type==="blockQuoteMarker"||Vn[1].type==="listItemIndent"))break}pe&&(!En||pe<En)&&(fn._spread=!0),fn.end=Object.assign({},En?d[En][1].start:mn[1].end),d.splice(En||on,0,["exit",fn,mn[2]]),on++,j++}mn[1].type==="listItemPrefix"&&(fn={type:"listItem",_spread:!1,start:Object.assign({},mn[1].start)},d.splice(on,0,["enter",fn,mn[2]]),on++,j++,pe=void 0,we=!0)}}return d[E][1]._spread=be,j}function l(d,E){t[d]=E}function o(d){return t[d]}function u(d){return{line:d.line,column:d.column,offset:d.offset}}function a(d,E){return j;function j(on){p.call(this,d(on),on),E&&E.call(this,on)}}function f(){this.stack.push({type:"fragment",children:[]})}function p(d,E,j){return this.stack[this.stack.length-1].children.push(d),this.stack.push(d),this.tokenStack.push([E,j]),d.position={start:u(E.start)},d}function g(d){return E;function E(j){d&&d.call(this,j),h.call(this,j)}}function h(d,E){const j=this.stack.pop(),on=this.tokenStack.pop();if(on)on[0].type!==d.type&&(E?E.call(this,d,on[0]):(on[1]||At).call(this,d,on[0]));else throw new Error("Cannot close `"+d.type+"` ("+I({start:d.start,end:d.end})+"): it\u2019s not open");return j.position.end=u(d.end),j}function m(){return sr(this.stack.pop())}function k(){l("expectingFirstListItemValue",!0)}function A(d){if(o("expectingFirstListItemValue")){const E=this.stack[this.stack.length-2];E.start=Number.parseInt(this.sliceSerialize(d),10),l("expectingFirstListItemValue")}}function F(){const d=this.resume(),E=this.stack[this.stack.length-1];E.lang=d}function x(){const d=this.resume(),E=this.stack[this.stack.length-1];E.meta=d}function W(){o("flowCodeInside")||(this.buffer(),l("flowCodeInside",!0))}function P(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),l("flowCodeInside")}function X(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d.replace(/(\r?\n|\r)$/g,"")}function $(d){const E=this.resume(),j=this.stack[this.stack.length-1];j.label=E,j.identifier=oe(this.sliceSerialize(d)).toLowerCase()}function y(){const d=this.resume(),E=this.stack[this.stack.length-1];E.title=d}function U(){const d=this.resume(),E=this.stack[this.stack.length-1];E.url=d}function q(d){const E=this.stack[this.stack.length-1];if(!E.depth){const j=this.sliceSerialize(d).length;E.depth=j}}function Q(){l("setextHeadingSlurpLineEnding",!0)}function Sn(d){const E=this.stack[this.stack.length-1];E.depth=this.sliceSerialize(d).charCodeAt(0)===61?1:2}function ln(){l("setextHeadingSlurpLineEnding")}function sn(d){const E=this.stack[this.stack.length-1];let j=E.children[E.children.length-1];(!j||j.type!=="text")&&(j=zo(),j.position={start:u(d.start)},E.children.push(j)),this.stack.push(j)}function v(d){const E=this.stack.pop();E.value+=this.sliceSerialize(d),E.position.end=u(d.end)}function G(d){const E=this.stack[this.stack.length-1];if(o("atHardBreak")){const j=E.children[E.children.length-1];j.position.end=u(d.end),l("atHardBreak");return}!o("setextHeadingSlurpLineEnding")&&e.canContainEols.includes(E.type)&&(sn.call(this,d),v.call(this,d))}function bn(){l("atHardBreak",!0)}function Fn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d}function Rn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d}function wn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d}function vn(){const d=this.stack[this.stack.length-1];o("inReference")?(d.type+="Reference",d.referenceType=o("referenceType")||"shortcut",delete d.url,delete d.title):(delete d.identifier,delete d.label),l("referenceType")}function yn(){const d=this.stack[this.stack.length-1];o("inReference")?(d.type+="Reference",d.referenceType=o("referenceType")||"shortcut",delete d.url,delete d.title):(delete d.identifier,delete d.label),l("referenceType")}function c(d){const E=this.stack[this.stack.length-2],j=this.sliceSerialize(d);E.label=rl(j),E.identifier=oe(j).toLowerCase()}function s(){const d=this.stack[this.stack.length-1],E=this.resume(),j=this.stack[this.stack.length-1];l("inReference",!0),j.type==="link"?j.children=d.children:j.alt=E}function ye(){const d=this.resume(),E=this.stack[this.stack.length-1];E.url=d}function Gn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.title=d}function se(){l("inReference")}function xe(){l("referenceType","collapsed")}function jn(d){const E=this.resume(),j=this.stack[this.stack.length-1];j.label=E,j.identifier=oe(this.sliceSerialize(d)).toLowerCase(),l("referenceType","full")}function Cn(d){l("characterReferenceType",d.type)}function ke(d){const E=this.sliceSerialize(d),j=o("characterReferenceType");let on;j?(on=St(E,j==="characterReferenceMarkerNumeric"?10:16),l("characterReferenceType")):on=Be(E);const Ln=this.stack.pop();Ln.value+=on,Ln.position.end=u(d.end)}function Hn(d){v.call(this,d);const E=this.stack[this.stack.length-1];E.url=this.sliceSerialize(d)}function ce(d){v.call(this,d);const E=this.stack[this.stack.length-1];E.url="mailto:"+this.sliceSerialize(d)}function fe(){return{type:"blockquote",children:[]}}function _e(){return{type:"code",lang:null,meta:null,value:""}}function Fo(){return{type:"inlineCode",value:""}}function Io(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Oo(){return{type:"emphasis",children:[]}}function Jt(){return{type:"heading",depth:void 0,children:[]}}function nr(){return{type:"break"}}function er(){return{type:"html",value:""}}function _o(){return{type:"image",title:null,url:"",alt:null}}function tr(){return{type:"link",title:null,url:"",children:[]}}function rr(d){return{type:"list",ordered:d.type==="listOrdered",start:null,spread:d._spread,children:[]}}function To(d){return{type:"listItem",spread:d._spread,checked:null,children:[]}}function Do(){return{type:"paragraph",children:[]}}function Lo(){return{type:"strong",children:[]}}function zo(){return{type:"text",value:""}}function Ro(){return{type:"thematicBreak"}}}function Et(n,e){let t=-1;for(;++t<e.length;){const r=e[t];Array.isArray(r)?Et(n,r):ul(n,r)}return n}function ul(n,e){let t;for(t in e)if(He.call(e,t)){const r=t==="canContainEols"||t==="transforms",l=(He.call(n,t)?n[t]:void 0)||(n[t]=r?[]:{}),o=e[t];o&&(r?n[t]=[...l,...o]:Object.assign(l,o))}}function At(n,e){throw n?new Error("Cannot close `"+n.type+"` ("+I({start:n.start,end:n.end})+"): a different token (`"+e.type+"`, "+I({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+I({start:e.start,end:e.end})+") is still open")}function al(n){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ll(t,Object.assign({},r,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var sl=al,kn=function(n,e,t){var r={type:String(n)};return t==null&&(typeof e=="string"||Array.isArray(e))?t=e:Object.assign(r,e),Array.isArray(t)?r.children=t:t!=null&&(r.value=String(t)),r};const Vo=function n(e,t,r,i,l){const o=Ve(t);if(r!=null&&(typeof r!="number"||r<0||r===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(i!=null&&(!n(i)||!i.children))throw new Error("Expected parent node");if(i==null!=(r==null))throw new Error("Expected both parent and index");return e&&e.type&&typeof e.type=="string"?Boolean(o.call(l,e,r,i)):!1},Ve=function(n){if(n==null)return hl;if(typeof n=="string")return pl(n);if(typeof n=="object")return Array.isArray(n)?cl(n):fl(n);if(typeof n=="function")return ve(n);throw new Error("Expected function, string, or object as test")};function cl(n){const e=[];let t=-1;for(;++t<n.length;)e[t]=Ve(n[t]);return ve(r);function r(...i){let l=-1;for(;++l<e.length;)if(e[l].call(this,...i))return!0;return!1}}function fl(n){return ve(e);function e(t){let r;for(r in n)if(t[r]!==n[r])return!1;return!0}}function pl(n){return ve(e);function e(t){return t&&t.type===n}}function ve(n){return e;function e(...t){return Boolean(n.call(this,...t))}}function hl(){return!0}function Wo(n){return n}const ml=!0,dl="skip",vt=!1,gl=function(n,e,t,r){typeof e=="function"&&typeof t!="function"&&(r=t,t=e,e=null);const i=Ve(e),l=r?-1:1;o(n,null,[])();function o(u,a,f){const p=typeof u=="object"&&u!==null?u:{};let g;return typeof p.type=="string"&&(g=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0,Object.defineProperty(h,"name",{value:"node ("+(p.type+(g?"<"+g+">":""))+")"})),h;function h(){let m=[],k,A,F;if((!e||i(u,a,f[f.length-1]||null))&&(m=yl(t(u,f)),m[0]===vt))return m;if(u.children&&m[0]!==dl)for(A=(r?u.children.length:-1)+l,F=f.concat(u);A>-1&&A<u.children.length;){if(k=o(u.children[A],A,F)(),k[0]===vt)return k;A=typeof k[1]=="number"?k[1]:A+l}return m}}};function yl(n){return Array.isArray(n)?n:typeof n=="number"?[ml,n]:[n]}const We=function(n,e,t,r){typeof e=="function"&&typeof t!="function"&&(r=t,t=e,e=null),gl(n,e,i,r);function i(l,o){const u=o[o.length-1];return t(l,u?u.children.indexOf(l):null,u)}},$e=Pt("start"),qe=Pt("end");function $o(n){return{start:$e(n),end:qe(n)}}function Pt(n){return e;function e(t){const r=t&&t.position&&t.position[n]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function xl(n){return!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column}const Ft={}.hasOwnProperty;function kl(n){const e=Object.create(null);if(!n||!n.type)throw new Error("mdast-util-definitions expected node");return We(n,"definition",r=>{const i=It(r.identifier);i&&!Ft.call(e,i)&&(e[i]=r)}),t;function t(r){const i=It(r);return i&&Ft.call(e,i)?e[i]:null}}function It(n){return String(n||"").toUpperCase()}const Pe={}.hasOwnProperty;function bl(n,e){const t=e.data||{};return"value"in e&&!(Pe.call(t,"hName")||Pe.call(t,"hProperties")||Pe.call(t,"hChildren"))?n.augment(e,kn("text",e.value)):n(e,"div",An(n,e))}function Ot(n,e,t){const r=e&&e.type;let i;if(!r)throw new Error("Expected node, got `"+e+"`");return Pe.call(n.handlers,r)?i=n.handlers[r]:n.passThrough&&n.passThrough.includes(r)?i=wl:i=n.unknownHandler,(typeof i=="function"?i:bl)(n,e,t)}function wl(n,e){return"children"in e?nt(Jn({},e),{children:An(n,e)}):e}function An(n,e){const t=[];if("children"in e){const r=e.children;let i=-1;for(;++i<r.length;){const l=Ot(n,r[i],e);if(l){if(i&&r[i-1].type==="break"&&(!Array.isArray(l)&&l.type==="text"&&(l.value=l.value.replace(/^\s+/,"")),!Array.isArray(l)&&l.type==="element")){const o=l.children[0];o&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,""))}Array.isArray(l)?t.push(...l):t.push(l)}}}return t}const Cl={'"':"quot","&":"amp","<":"lt",">":"gt"};function Sl(n){return n.replace(/["&<>]/g,e);function e(t){return"&"+Cl[t]+";"}}function _t(n,e){const t=Sl(El(n||""));if(!e)return t;const r=t.indexOf(":"),i=t.indexOf("?"),l=t.indexOf("#"),o=t.indexOf("/");return r<0||o>-1&&r>o||i>-1&&r>i||l>-1&&r>l||e.test(t.slice(0,r))?t:""}function El(n){const e=[];let t=-1,r=0,i=0;for(;++t<n.length;){const l=n.charCodeAt(t);let o="";if(l===37&&In(n.charCodeAt(t+1))&&In(n.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const u=n.charCodeAt(t+1);l<56320&&u>56319&&u<57344?(o=String.fromCharCode(l,u),i=1):o="\uFFFD"}else o=String.fromCharCode(l);o&&(e.push(n.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return e.join("")+n.slice(r)}function Un(n,e){const t=[];let r=-1;for(e&&t.push(kn("text",`
|
|
67
|
+
`;break}case-2:{o=e?" ":" ";break}case-1:{if(!e&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}const Ae={name:"thematicBreak",tokenize:Ur};function Ur(n,e,t){let r=0,i;return l;function l(a){return n.enter("thematicBreak"),i=a,o(a)}function o(a){return a===i?(n.enter("thematicBreakSequence"),u(a)):dn(a)?an(n,o,"whitespace")(a):r<3||a!==null&&!M(a)?t(a):(n.exit("thematicBreak"),e(a))}function u(a){return a===i?(n.consume(a),r++,u):(n.exit("thematicBreakSequence"),o(a))}}const Pn={name:"list",tokenize:Vr,continuation:{tokenize:Wr},exit:qr},jr={tokenize:Kr,partial:!0},Hr={tokenize:$r,partial:!0};function Vr(n,e,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return u;function u(m){const k=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:ze(m)){if(r.containerState.type||(r.containerState.type=k,n.enter(k,{_container:!0})),k==="listUnordered")return n.enter("listItemPrefix"),m===42||m===45?n.check(Ae,t,f)(m):f(m);if(!r.interrupt||m===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),a(m)}return t(m)}function a(m){return ze(m)&&++o<10?(n.consume(m),a):(!r.interrupt||o<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(n.exit("listItemValue"),f(m)):t(m)}function f(m){return n.enter("listItemMarker"),n.consume(m),n.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,n.check(Ee,r.interrupt?t:p,n.attempt(jr,h,g))}function p(m){return r.containerState.initialBlankLine=!0,l++,h(m)}function g(m){return dn(m)?(n.enter("listItemPrefixWhitespace"),n.consume(m),n.exit("listItemPrefixWhitespace"),h):t(m)}function h(m){return r.containerState.size=l+r.sliceSerialize(n.exit("listItemPrefix"),!0).length,e(m)}}function Wr(n,e,t){const r=this;return r.containerState._closeFlow=void 0,n.check(Ee,i,l);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,an(n,e,"listItemIndent",r.containerState.size+1)(u)}function l(u){return r.containerState.furtherBlankLines||!dn(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n.attempt(Hr,e,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,an(n,n.attempt(Pn,e,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function $r(n,e,t){const r=this;return an(n,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?e(l):t(l)}}function qr(n){n.exit(this.containerState.type)}function Kr(n,e,t){const r=this;return an(n,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(l){const o=r.events[r.events.length-1];return!dn(l)&&o&&o[1].type==="listItemPrefixWhitespace"?e(l):t(l)}}const ct={name:"blockQuote",tokenize:Xr,continuation:{tokenize:Zr},exit:Qr};function Xr(n,e,t){const r=this;return i;function i(o){if(o===62){const u=r.containerState;return u.open||(n.enter("blockQuote",{_container:!0}),u.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(o),n.exit("blockQuoteMarker"),l}return t(o)}function l(o){return dn(o)?(n.enter("blockQuotePrefixWhitespace"),n.consume(o),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),e):(n.exit("blockQuotePrefix"),e(o))}}function Zr(n,e,t){return an(n,n.attempt(ct,e,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Qr(n){n.exit("blockQuote")}function ft(n,e,t,r,i,l,o,u,a){const f=a||Number.POSITIVE_INFINITY;let p=0;return g;function g(x){return x===60?(n.enter(r),n.enter(i),n.enter(l),n.consume(x),n.exit(l),h):x===null||x===41||Re(x)?t(x):(n.enter(r),n.enter(o),n.enter(u),n.enter("chunkString",{contentType:"string"}),A(x))}function h(x){return x===62?(n.enter(l),n.consume(x),n.exit(l),n.exit(i),n.exit(r),e):(n.enter(u),n.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(n.exit("chunkString"),n.exit(u),h(x)):x===null||x===60||M(x)?t(x):(n.consume(x),x===92?k:m)}function k(x){return x===60||x===62||x===92?(n.consume(x),m):m(x)}function A(x){return x===40?++p>f?t(x):(n.consume(x),A):x===41?p--?(n.consume(x),A):(n.exit("chunkString"),n.exit(u),n.exit(o),n.exit(r),e(x)):x===null||Tn(x)?p?t(x):(n.exit("chunkString"),n.exit(u),n.exit(o),n.exit(r),e(x)):Re(x)?t(x):(n.consume(x),x===92?F:A)}function F(x){return x===40||x===41||x===92?(n.consume(x),A):A(x)}}function pt(n,e,t,r,i,l){const o=this;let u=0,a;return f;function f(m){return n.enter(r),n.enter(i),n.consume(m),n.exit(i),n.enter(l),p}function p(m){return m===null||m===91||m===93&&!a||m===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs||u>999?t(m):m===93?(n.exit(l),n.enter(i),n.consume(m),n.exit(i),n.exit(r),e):M(m)?(n.enter("lineEnding"),n.consume(m),n.exit("lineEnding"),p):(n.enter("chunkString",{contentType:"string"}),g(m))}function g(m){return m===null||m===91||m===93||M(m)||u++>999?(n.exit("chunkString"),p(m)):(n.consume(m),a=a||!dn(m),m===92?h:g)}function h(m){return m===91||m===92||m===93?(n.consume(m),u++,g):g(m)}}function ht(n,e,t,r,i,l){let o;return u;function u(h){return n.enter(r),n.enter(i),n.consume(h),n.exit(i),o=h===40?41:h,a}function a(h){return h===o?(n.enter(i),n.consume(h),n.exit(i),n.exit(r),e):(n.enter(l),f(h))}function f(h){return h===o?(n.exit(l),a(o)):h===null?t(h):M(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),an(n,f,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||M(h)?(n.exit("chunkString"),f(h)):(n.consume(h),h===92?g:p)}function g(h){return h===o||h===92?(n.consume(h),p):p(h)}}function de(n,e){let t;return r;function r(i){return M(i)?(n.enter("lineEnding"),n.consume(i),n.exit("lineEnding"),t=!0,r):dn(i)?an(n,r,t?"linePrefix":"lineSuffix")(i):e(i)}}function oe(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Yr={name:"definition",tokenize:Jr},Gr={tokenize:ni,partial:!0};function Jr(n,e,t){const r=this;let i;return l;function l(a){return n.enter("definition"),pt.call(r,n,o,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(a)}function o(a){return i=oe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),a===58?(n.enter("definitionMarker"),n.consume(a),n.exit("definitionMarker"),de(n,ft(n,n.attempt(Gr,an(n,u,"whitespace"),an(n,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(a)}function u(a){return a===null||M(a)?(n.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),e(a)):t(a)}}function ni(n,e,t){return r;function r(o){return Tn(o)?de(n,i)(o):t(o)}function i(o){return o===34||o===39||o===40?ht(n,an(n,l,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(o):t(o)}function l(o){return o===null||M(o)?e(o):t(o)}}const Be={name:"codeIndented",tokenize:ti},ei={tokenize:ri,partial:!0};function ti(n,e,t){const r=this;return i;function i(f){return n.enter("codeIndented"),an(n,l,"linePrefix",4+1)(f)}function l(f){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(f):t(f)}function o(f){return f===null?a(f):M(f)?n.attempt(ei,o,a)(f):(n.enter("codeFlowValue"),u(f))}function u(f){return f===null||M(f)?(n.exit("codeFlowValue"),o(f)):(n.consume(f),u)}function a(f){return n.exit("codeIndented"),e(f)}}function ri(n,e,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):M(o)?(n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),i):an(n,l,"linePrefix",4+1)(o)}function l(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?e(o):M(o)?i(o):t(o)}}const ii={name:"headingAtx",tokenize:oi,resolve:li};function li(n,e){let t=n.length-2,r=3,i,l;return n[r][1].type==="whitespace"&&(r+=2),t-2>r&&n[t][1].type==="whitespace"&&(t-=2),n[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&n[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:n[r][1].start,end:n[t][1].end},l={type:"chunkText",start:n[r][1].start,end:n[t][1].end,contentType:"text"},Mn(n,r,t-r+1,[["enter",i,e],["enter",l,e],["exit",l,e],["exit",i,e]])),n}function oi(n,e,t){const r=this;let i=0;return l;function l(p){return n.enter("atxHeading"),n.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&i++<6?(n.consume(p),o):p===null||Tn(p)?(n.exit("atxHeadingSequence"),r.interrupt?e(p):u(p)):t(p)}function u(p){return p===35?(n.enter("atxHeadingSequence"),a(p)):p===null||M(p)?(n.exit("atxHeading"),e(p)):dn(p)?an(n,u,"whitespace")(p):(n.enter("atxHeadingText"),f(p))}function a(p){return p===35?(n.consume(p),a):(n.exit("atxHeadingSequence"),u(p))}function f(p){return p===null||p===35||Tn(p)?(n.exit("atxHeadingText"),u(p)):(n.consume(p),f)}}const mt={name:"setextUnderline",tokenize:ai,resolveTo:ui};function ui(n,e){let t=n.length,r,i,l;for(;t--;)if(n[t][0]==="enter"){if(n[t][1].type==="content"){r=t;break}n[t][1].type==="paragraph"&&(i=t)}else n[t][1].type==="content"&&n.splice(t,1),!l&&n[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:Object.assign({},n[i][1].start),end:Object.assign({},n[n.length-1][1].end)};return n[i][1].type="setextHeadingText",l?(n.splice(i,0,["enter",o,e]),n.splice(l+1,0,["exit",n[r][1],e]),n[r][1].end=Object.assign({},n[l][1].end)):n[r][1]=o,n.push(["exit",o,e]),n}function ai(n,e,t){const r=this;let i=r.events.length,l,o;for(;i--;)if(r.events[i][1].type!=="lineEnding"&&r.events[i][1].type!=="linePrefix"&&r.events[i][1].type!=="content"){o=r.events[i][1].type==="paragraph";break}return u;function u(p){return!r.parser.lazy[r.now().line]&&(r.interrupt||o)?(n.enter("setextHeadingLine"),n.enter("setextHeadingLineSequence"),l=p,a(p)):t(p)}function a(p){return p===l?(n.consume(p),a):(n.exit("setextHeadingLineSequence"),an(n,f,"lineSuffix")(p))}function f(p){return p===null||M(p)?(n.exit("setextHeadingLine"),e(p)):t(p)}}const si=["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"],dt=["pre","script","style","textarea"],ci={name:"htmlFlow",tokenize:hi,resolveTo:pi,concrete:!0},fi={tokenize:mi,partial:!0};function pi(n){let e=n.length;for(;e--&&!(n[e][0]==="enter"&&n[e][1].type==="htmlFlow"););return e>1&&n[e-2][1].type==="linePrefix"&&(n[e][1].start=n[e-2][1].start,n[e+1][1].start=n[e-2][1].start,n.splice(e-2,2)),n}function hi(n,e,t){const r=this;let i,l,o,u,a;return f;function f(s){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(s),p}function p(s){return s===33?(n.consume(s),g):s===47?(n.consume(s),k):s===63?(n.consume(s),i=3,r.interrupt?e:vn):Bn(s)?(n.consume(s),o=String.fromCharCode(s),l=!0,A):t(s)}function g(s){return s===45?(n.consume(s),i=2,h):s===91?(n.consume(s),i=5,o="CDATA[",u=0,m):Bn(s)?(n.consume(s),i=4,r.interrupt?e:vn):t(s)}function h(s){return s===45?(n.consume(s),r.interrupt?e:vn):t(s)}function m(s){return s===o.charCodeAt(u++)?(n.consume(s),u===o.length?r.interrupt?e:ln:m):t(s)}function k(s){return Bn(s)?(n.consume(s),o=String.fromCharCode(s),A):t(s)}function A(s){return s===null||s===47||s===62||Tn(s)?s!==47&&l&&dt.includes(o.toLowerCase())?(i=1,r.interrupt?e(s):ln(s)):si.includes(o.toLowerCase())?(i=6,s===47?(n.consume(s),F):r.interrupt?e(s):ln(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(s):l?W(s):x(s)):s===45||In(s)?(n.consume(s),o+=String.fromCharCode(s),A):t(s)}function F(s){return s===62?(n.consume(s),r.interrupt?e:ln):t(s)}function x(s){return dn(s)?(n.consume(s),x):Q(s)}function W(s){return s===47?(n.consume(s),Q):s===58||s===95||Bn(s)?(n.consume(s),P):dn(s)?(n.consume(s),W):Q(s)}function P(s){return s===45||s===46||s===58||s===95||In(s)?(n.consume(s),P):X(s)}function X(s){return s===61?(n.consume(s),$):dn(s)?(n.consume(s),X):W(s)}function $(s){return s===null||s===60||s===61||s===62||s===96?t(s):s===34||s===39?(n.consume(s),a=s,y):dn(s)?(n.consume(s),$):(a=null,U(s))}function y(s){return s===null||M(s)?t(s):s===a?(n.consume(s),q):(n.consume(s),y)}function U(s){return s===null||s===34||s===39||s===60||s===61||s===62||s===96||Tn(s)?X(s):(n.consume(s),U)}function q(s){return s===47||s===62||dn(s)?W(s):t(s)}function Q(s){return s===62?(n.consume(s),Sn):t(s)}function Sn(s){return dn(s)?(n.consume(s),Sn):s===null||M(s)?ln(s):t(s)}function ln(s){return s===45&&i===2?(n.consume(s),bn):s===60&&i===1?(n.consume(s),Fn):s===62&&i===4?(n.consume(s),yn):s===63&&i===3?(n.consume(s),vn):s===93&&i===5?(n.consume(s),wn):M(s)&&(i===6||i===7)?n.check(fi,yn,sn)(s):s===null||M(s)?sn(s):(n.consume(s),ln)}function sn(s){return n.exit("htmlFlowData"),v(s)}function v(s){return s===null?c(s):M(s)?n.attempt({tokenize:G,partial:!0},v,c)(s):(n.enter("htmlFlowData"),ln(s))}function G(s,ye,Jn){return se;function se(jn){return s.enter("lineEnding"),s.consume(jn),s.exit("lineEnding"),xe}function xe(jn){return r.parser.lazy[r.now().line]?Jn(jn):ye(jn)}}function bn(s){return s===45?(n.consume(s),vn):ln(s)}function Fn(s){return s===47?(n.consume(s),o="",Rn):ln(s)}function Rn(s){return s===62&&dt.includes(o.toLowerCase())?(n.consume(s),yn):Bn(s)&&o.length<8?(n.consume(s),o+=String.fromCharCode(s),Rn):ln(s)}function wn(s){return s===93?(n.consume(s),vn):ln(s)}function vn(s){return s===62?(n.consume(s),yn):s===45&&i===2?(n.consume(s),vn):ln(s)}function yn(s){return s===null||M(s)?(n.exit("htmlFlowData"),c(s)):(n.consume(s),yn)}function c(s){return n.exit("htmlFlow"),e(s)}}function mi(n,e,t){return r;function r(i){return n.exit("htmlFlowData"),n.enter("lineEndingBlank"),n.consume(i),n.exit("lineEndingBlank"),n.attempt(Ee,e,t)}}const gt={name:"codeFenced",tokenize:di,concrete:!0};function di(n,e,t){const r=this,i={tokenize:$,partial:!0},l={tokenize:X,partial:!0},o=this.events[this.events.length-1],u=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0;let a=0,f;return p;function p(y){return n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),f=y,g(y)}function g(y){return y===f?(n.consume(y),a++,g):(n.exit("codeFencedFenceSequence"),a<3?t(y):an(n,h,"whitespace")(y))}function h(y){return y===null||M(y)?F(y):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||Tn(y)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),an(n,k,"whitespace")(y)):y===96&&y===f?t(y):(n.consume(y),m)}function k(y){return y===null||M(y)?F(y):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),A(y))}function A(y){return y===null||M(y)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),F(y)):y===96&&y===f?t(y):(n.consume(y),A)}function F(y){return n.exit("codeFencedFence"),r.interrupt?e(y):x(y)}function x(y){return y===null?P(y):M(y)?n.attempt(l,n.attempt(i,P,u?an(n,x,"linePrefix",u+1):x),P)(y):(n.enter("codeFlowValue"),W(y))}function W(y){return y===null||M(y)?(n.exit("codeFlowValue"),x(y)):(n.consume(y),W)}function P(y){return n.exit("codeFenced"),e(y)}function X(y,U,q){const Q=this;return Sn;function Sn(sn){return y.enter("lineEnding"),y.consume(sn),y.exit("lineEnding"),ln}function ln(sn){return Q.parser.lazy[Q.now().line]?q(sn):U(sn)}}function $(y,U,q){let Q=0;return an(y,Sn,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Sn(v){return y.enter("codeFencedFence"),y.enter("codeFencedFenceSequence"),ln(v)}function ln(v){return v===f?(y.consume(v),Q++,ln):Q<a?q(v):(y.exit("codeFencedFenceSequence"),an(y,sn,"whitespace")(v))}function sn(v){return v===null||M(v)?(y.exit("codeFencedFence"),U(v)):q(v)}}}const yt=document.createElement("i");function Ne(n){const e="&"+n+";";yt.innerHTML=e;const t=yt.textContent;return t.charCodeAt(t.length-1)===59&&n!=="semi"||t===e?!1:t}const xt={name:"characterReference",tokenize:gi};function gi(n,e,t){const r=this;let i=0,l,o;return u;function u(g){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),a}function a(g){return g===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(g),n.exit("characterReferenceMarkerNumeric"),f):(n.enter("characterReferenceValue"),l=31,o=In,p(g))}function f(g){return g===88||g===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(g),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),l=6,o=dr,p):(n.enter("characterReferenceValue"),l=7,o=ze,p(g))}function p(g){let h;return g===59&&i?(h=n.exit("characterReferenceValue"),o===In&&!Ne(r.sliceSerialize(h))?t(g):(n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),n.exit("characterReference"),e)):o(g)&&i++<l?(n.consume(g),p):t(g)}}const kt={name:"characterEscape",tokenize:yi};function yi(n,e,t){return r;function r(l){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(l),n.exit("escapeMarker"),i}function i(l){return gr(l)?(n.enter("characterEscapeValue"),n.consume(l),n.exit("characterEscapeValue"),n.exit("characterEscape"),e):t(l)}}const Ue={name:"lineEnding",tokenize:xi};function xi(n,e){return t;function t(r){return n.enter("lineEnding"),n.consume(r),n.exit("lineEnding"),an(n,e,"linePrefix")}}const je={name:"labelEnd",tokenize:Ei,resolveTo:Si,resolveAll:Ci},ki={tokenize:Ai},bi={tokenize:vi},wi={tokenize:Pi};function Ci(n){let e=-1,t;for(;++e<n.length;)t=n[e][1],(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(n.splice(e+1,t.type==="labelImage"?4:2),t.type="data",e++);return n}function Si(n,e){let t=n.length,r=0,i,l,o,u;for(;t--;)if(i=n[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;n[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(n[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const a={type:n[l][1].type==="labelLink"?"link":"image",start:Object.assign({},n[l][1].start),end:Object.assign({},n[n.length-1][1].end)},f={type:"label",start:Object.assign({},n[l][1].start),end:Object.assign({},n[o][1].end)},p={type:"labelText",start:Object.assign({},n[l+r+2][1].end),end:Object.assign({},n[o-2][1].start)};return u=[["enter",a,e],["enter",f,e]],u=_n(u,n.slice(l+1,l+r+3)),u=_n(u,[["enter",p,e]]),u=_n(u,Me(e.parser.constructs.insideSpan.null,n.slice(l+r+4,o-3),e)),u=_n(u,[["exit",p,e],n[o-2],n[o-1],["exit",f,e]]),u=_n(u,n.slice(o+1)),u=_n(u,[["exit",a,e]]),Mn(n,l,n.length,u),n}function Ei(n,e,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return u;function u(p){return l?l._inactive?f(p):(o=r.parser.defined.includes(oe(r.sliceSerialize({start:l.end,end:r.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(p),n.exit("labelMarker"),n.exit("labelEnd"),a):t(p)}function a(p){return p===40?n.attempt(ki,e,o?e:f)(p):p===91?n.attempt(bi,e,o?n.attempt(wi,e,f):f)(p):o?e(p):f(p)}function f(p){return l._balanced=!0,t(p)}}function Ai(n,e,t){return r;function r(a){return n.enter("resource"),n.enter("resourceMarker"),n.consume(a),n.exit("resourceMarker"),de(n,i)}function i(a){return a===41?u(a):ft(n,l,t,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(a)}function l(a){return Tn(a)?de(n,o)(a):u(a)}function o(a){return a===34||a===39||a===40?ht(n,de(n,u),t,"resourceTitle","resourceTitleMarker","resourceTitleString")(a):u(a)}function u(a){return a===41?(n.enter("resourceMarker"),n.consume(a),n.exit("resourceMarker"),n.exit("resource"),e):t(a)}}function vi(n,e,t){const r=this;return i;function i(o){return pt.call(r,n,l,t,"reference","referenceMarker","referenceString")(o)}function l(o){return r.parser.defined.includes(oe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?e(o):t(o)}}function Pi(n,e,t){return r;function r(l){return n.enter("reference"),n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),i}function i(l){return l===93?(n.enter("referenceMarker"),n.consume(l),n.exit("referenceMarker"),n.exit("reference"),e):t(l)}}const Fi={name:"labelStartImage",tokenize:Ii,resolveAll:je.resolveAll};function Ii(n,e,t){const r=this;return i;function i(u){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(u),n.exit("labelImageMarker"),l}function l(u){return u===91?(n.enter("labelMarker"),n.consume(u),n.exit("labelMarker"),n.exit("labelImage"),o):t(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(u):e(u)}}function bt(n){if(n===null||Tn(n)||yr(n))return 1;if(xr(n))return 2}const He={name:"attention",tokenize:_i,resolveAll:Oi};function Oi(n,e){let t=-1,r,i,l,o,u,a,f,p;for(;++t<n.length;)if(n[t][0]==="enter"&&n[t][1].type==="attentionSequence"&&n[t][1]._close){for(r=t;r--;)if(n[r][0]==="exit"&&n[r][1].type==="attentionSequence"&&n[r][1]._open&&e.sliceSerialize(n[r][1]).charCodeAt(0)===e.sliceSerialize(n[t][1]).charCodeAt(0)){if((n[r][1]._close||n[t][1]._open)&&(n[t][1].end.offset-n[t][1].start.offset)%3&&!((n[r][1].end.offset-n[r][1].start.offset+n[t][1].end.offset-n[t][1].start.offset)%3))continue;a=n[r][1].end.offset-n[r][1].start.offset>1&&n[t][1].end.offset-n[t][1].start.offset>1?2:1;const g=Object.assign({},n[r][1].end),h=Object.assign({},n[t][1].start);wt(g,-a),wt(h,a),o={type:a>1?"strongSequence":"emphasisSequence",start:g,end:Object.assign({},n[r][1].end)},u={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},n[t][1].start),end:h},l={type:a>1?"strongText":"emphasisText",start:Object.assign({},n[r][1].end),end:Object.assign({},n[t][1].start)},i={type:a>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},u.end)},n[r][1].end=Object.assign({},o.start),n[t][1].start=Object.assign({},u.end),f=[],n[r][1].end.offset-n[r][1].start.offset&&(f=_n(f,[["enter",n[r][1],e],["exit",n[r][1],e]])),f=_n(f,[["enter",i,e],["enter",o,e],["exit",o,e],["enter",l,e]]),f=_n(f,Me(e.parser.constructs.insideSpan.null,n.slice(r+1,t),e)),f=_n(f,[["exit",l,e],["enter",u,e],["exit",u,e],["exit",i,e]]),n[t][1].end.offset-n[t][1].start.offset?(p=2,f=_n(f,[["enter",n[t][1],e],["exit",n[t][1],e]])):p=0,Mn(n,r-1,t-r+3,f),t=r+f.length-p-2;break}}for(t=-1;++t<n.length;)n[t][1].type==="attentionSequence"&&(n[t][1].type="data");return n}function _i(n,e){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=bt(r);let l;return o;function o(a){return n.enter("attentionSequence"),l=a,u(a)}function u(a){if(a===l)return n.consume(a),u;const f=n.exit("attentionSequence"),p=bt(a),g=!p||p===2&&i||t.includes(a),h=!i||i===2&&p||t.includes(r);return f._open=Boolean(l===42?g:g&&(i||!h)),f._close=Boolean(l===42?h:h&&(p||!g)),e(a)}}function wt(n,e){n.column+=e,n.offset+=e,n._bufferIndex+=e}const Ti={name:"autolink",tokenize:Di};function Di(n,e,t){let r=1;return i;function i(k){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(k),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),l}function l(k){return Bn(k)?(n.consume(k),o):lt(k)?f(k):t(k)}function o(k){return k===43||k===45||k===46||In(k)?u(k):f(k)}function u(k){return k===58?(n.consume(k),a):(k===43||k===45||k===46||In(k))&&r++<32?(n.consume(k),u):f(k)}function a(k){return k===62?(n.exit("autolinkProtocol"),m(k)):k===null||k===32||k===60||Re(k)?t(k):(n.consume(k),a)}function f(k){return k===64?(n.consume(k),r=0,p):lt(k)?(n.consume(k),f):t(k)}function p(k){return In(k)?g(k):t(k)}function g(k){return k===46?(n.consume(k),r=0,p):k===62?(n.exit("autolinkProtocol").type="autolinkEmail",m(k)):h(k)}function h(k){return(k===45||In(k))&&r++<63?(n.consume(k),k===45?h:g):t(k)}function m(k){return n.enter("autolinkMarker"),n.consume(k),n.exit("autolinkMarker"),n.exit("autolink"),e}}const Li={name:"htmlText",tokenize:zi};function zi(n,e,t){const r=this;let i,l,o,u;return a;function a(c){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(c),f}function f(c){return c===33?(n.consume(c),p):c===47?(n.consume(c),U):c===63?(n.consume(c),$):Bn(c)?(n.consume(c),Sn):t(c)}function p(c){return c===45?(n.consume(c),g):c===91?(n.consume(c),l="CDATA[",o=0,F):Bn(c)?(n.consume(c),X):t(c)}function g(c){return c===45?(n.consume(c),h):t(c)}function h(c){return c===null||c===62?t(c):c===45?(n.consume(c),m):k(c)}function m(c){return c===null||c===62?t(c):k(c)}function k(c){return c===null?t(c):c===45?(n.consume(c),A):M(c)?(u=k,wn(c)):(n.consume(c),k)}function A(c){return c===45?(n.consume(c),yn):k(c)}function F(c){return c===l.charCodeAt(o++)?(n.consume(c),o===l.length?x:F):t(c)}function x(c){return c===null?t(c):c===93?(n.consume(c),W):M(c)?(u=x,wn(c)):(n.consume(c),x)}function W(c){return c===93?(n.consume(c),P):x(c)}function P(c){return c===62?yn(c):c===93?(n.consume(c),P):x(c)}function X(c){return c===null||c===62?yn(c):M(c)?(u=X,wn(c)):(n.consume(c),X)}function $(c){return c===null?t(c):c===63?(n.consume(c),y):M(c)?(u=$,wn(c)):(n.consume(c),$)}function y(c){return c===62?yn(c):$(c)}function U(c){return Bn(c)?(n.consume(c),q):t(c)}function q(c){return c===45||In(c)?(n.consume(c),q):Q(c)}function Q(c){return M(c)?(u=Q,wn(c)):dn(c)?(n.consume(c),Q):yn(c)}function Sn(c){return c===45||In(c)?(n.consume(c),Sn):c===47||c===62||Tn(c)?ln(c):t(c)}function ln(c){return c===47?(n.consume(c),yn):c===58||c===95||Bn(c)?(n.consume(c),sn):M(c)?(u=ln,wn(c)):dn(c)?(n.consume(c),ln):yn(c)}function sn(c){return c===45||c===46||c===58||c===95||In(c)?(n.consume(c),sn):v(c)}function v(c){return c===61?(n.consume(c),G):M(c)?(u=v,wn(c)):dn(c)?(n.consume(c),v):ln(c)}function G(c){return c===null||c===60||c===61||c===62||c===96?t(c):c===34||c===39?(n.consume(c),i=c,bn):M(c)?(u=G,wn(c)):dn(c)?(n.consume(c),G):(n.consume(c),i=void 0,Rn)}function bn(c){return c===i?(n.consume(c),Fn):c===null?t(c):M(c)?(u=bn,wn(c)):(n.consume(c),bn)}function Fn(c){return c===62||c===47||Tn(c)?ln(c):t(c)}function Rn(c){return c===null||c===34||c===39||c===60||c===61||c===96?t(c):c===62||Tn(c)?ln(c):(n.consume(c),Rn)}function wn(c){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),an(n,vn,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function vn(c){return n.enter("htmlTextData"),u(c)}function yn(c){return c===62?(n.consume(c),n.exit("htmlTextData"),n.exit("htmlText"),e):t(c)}}const Ri={name:"labelStartLink",tokenize:Mi,resolveAll:je.resolveAll};function Mi(n,e,t){const r=this;return i;function i(o){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(o),n.exit("labelMarker"),n.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):e(o)}}const Bi={name:"hardBreakEscape",tokenize:Ni};function Ni(n,e,t){return r;function r(l){return n.enter("hardBreakEscape"),n.enter("escapeMarker"),n.consume(l),i}function i(l){return M(l)?(n.exit("escapeMarker"),n.exit("hardBreakEscape"),e(l)):t(l)}}const Ui={name:"codeText",tokenize:Vi,resolve:ji,previous:Hi};function ji(n){let e=n.length-4,t=3,r,i;if((n[t][1].type==="lineEnding"||n[t][1].type==="space")&&(n[e][1].type==="lineEnding"||n[e][1].type==="space")){for(r=t;++r<e;)if(n[r][1].type==="codeTextData"){n[t][1].type="codeTextPadding",n[e][1].type="codeTextPadding",t+=2,e-=2;break}}for(r=t-1,e++;++r<=e;)i===void 0?r!==e&&n[r][1].type!=="lineEnding"&&(i=r):(r===e||n[r][1].type==="lineEnding")&&(n[i][1].type="codeTextData",r!==i+2&&(n[i][1].end=n[r-1][1].end,n.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return n}function Hi(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Vi(n,e,t){const r=this;let i=0,l,o;return u;function u(h){return n.enter("codeText"),n.enter("codeTextSequence"),a(h)}function a(h){return h===96?(n.consume(h),i++,a):(n.exit("codeTextSequence"),f(h))}function f(h){return h===null?t(h):h===96?(o=n.enter("codeTextSequence"),l=0,g(h)):h===32?(n.enter("space"),n.consume(h),n.exit("space"),f):M(h)?(n.enter("lineEnding"),n.consume(h),n.exit("lineEnding"),f):(n.enter("codeTextData"),p(h))}function p(h){return h===null||h===32||h===96||M(h)?(n.exit("codeTextData"),f(h)):(n.consume(h),p)}function g(h){return h===96?(n.consume(h),l++,g):l===i?(n.exit("codeTextSequence"),n.exit("codeText"),e(h)):(o.type="codeTextData",p(h))}}const Wi={[42]:Pn,[43]:Pn,[45]:Pn,[48]:Pn,[49]:Pn,[50]:Pn,[51]:Pn,[52]:Pn,[53]:Pn,[54]:Pn,[55]:Pn,[56]:Pn,[57]:Pn,[62]:ct},$i={[91]:Yr},qi={[-2]:Be,[-1]:Be,[32]:Be},Ki={[35]:ii,[42]:Ae,[45]:[mt,Ae],[60]:ci,[61]:mt,[95]:Ae,[96]:gt,[126]:gt},Xi={[38]:xt,[92]:kt},Zi={[-5]:Ue,[-4]:Ue,[-3]:Ue,[33]:Fi,[38]:xt,[42]:He,[60]:[Ti,Li],[91]:Ri,[92]:[Bi,kt],[93]:je,[95]:He,[96]:Ui},Qi={null:[He,Dr]},Yi={null:[42,95]},Gi={null:[]};function Ji(n={}){const e=cr([Z].concat(n.extensions||[])),t={defined:[],lazy:{},constructs:e,content:r(kr),document:r(wr),flow:r(_r),string:r(Lr),text:r(zr)};return t;function r(i){return l;function l(o){return Mr(t,i,o)}}}const Ct=/[\0\t\n\r]/g;function nl(){let n=1,e="",t=!0,r;return i;function i(l,o,u){const a=[];let f,p,g,h,m;for(l=e+l.toString(o),g=0,e="",t&&(l.charCodeAt(0)===65279&&g++,t=void 0);g<l.length;){if(Ct.lastIndex=g,f=Ct.exec(l),h=f&&f.index!==void 0?f.index:l.length,m=l.charCodeAt(h),!f){e=l.slice(g);break}if(m===10&&g===h&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),g<h&&(a.push(l.slice(g,h)),n+=h-g),m){case 0:{a.push(65533),n++;break}case 9:{for(p=Math.ceil(n/4)*4,a.push(-2);n++<p;)a.push(-1);break}case 10:{a.push(-4),n=1;break}default:r=!0,n=1}g=h+1}return u&&(r&&a.push(-5),e&&a.push(e),a.push(null)),a}}function el(n){for(;!ut(n););return n}function St(n,e){const t=Number.parseInt(n,e);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"\uFFFD":String.fromCharCode(t)}const tl=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rl(n){return n.replace(tl,il)}function il(n,e,t){if(e)return e;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return St(t.slice(l?2:1),l?16:10)}return Ne(t)||n}const Ve={}.hasOwnProperty,ll=function(n,e,t){return typeof e!="string"&&(t=e,e=void 0),ol(t)(el(Ji(t).document().write(nl()(n,e,!0))))};function ol(n={}){const e=Et({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(tr),autolinkProtocol:sn,autolinkEmail:sn,atxHeading:a(Jt),blockQuote:a(fe),characterEscape:sn,characterReference:sn,codeFenced:a(_e),codeFencedFenceInfo:f,codeFencedFenceMeta:f,codeIndented:a(_e,f),codeText:a(Fo,f),codeTextData:sn,data:sn,codeFlowValue:sn,definition:a(Io),definitionDestinationString:f,definitionLabelString:f,definitionTitleString:f,emphasis:a(Oo),hardBreakEscape:a(nr),hardBreakTrailing:a(nr),htmlFlow:a(er,f),htmlFlowData:sn,htmlText:a(er,f),htmlTextData:sn,image:a(_o),label:f,link:a(tr),listItem:a(To),listItemValue:A,listOrdered:a(rr,k),listUnordered:a(rr),paragraph:a(Do),reference:xe,referenceString:f,resourceDestinationString:f,resourceTitleString:f,setextHeading:a(Jt),strong:a(Lo),thematicBreak:a(Ro)},exit:{atxHeading:g(),atxHeadingSequence:q,autolink:g(),autolinkEmail:ce,autolinkProtocol:Hn,blockQuote:g(),characterEscapeValue:v,characterReferenceMarkerHexadecimal:Cn,characterReferenceMarkerNumeric:Cn,characterReferenceValue:ke,codeFenced:g(P),codeFencedFence:W,codeFencedFenceInfo:F,codeFencedFenceMeta:x,codeFlowValue:v,codeIndented:g(X),codeText:g(wn),codeTextData:v,data:v,definition:g(),definitionDestinationString:U,definitionLabelString:$,definitionTitleString:y,emphasis:g(),hardBreakEscape:g(bn),hardBreakTrailing:g(bn),htmlFlow:g(Fn),htmlFlowData:v,htmlText:g(Rn),htmlTextData:v,image:g(yn),label:s,labelText:c,lineEnding:G,link:g(vn),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:jn,resourceDestinationString:ye,resourceTitleString:Jn,resource:se,setextHeading:g(ln),setextHeadingLineSequence:Sn,setextHeadingText:Q,strong:g(),thematicBreak:g()}},n.mdastExtensions||[]),t={};return r;function r(d){let E={type:"root",children:[]};const j=[E],on=[],Ln=[],be={stack:j,tokenStack:on,config:e,enter:p,exit:h,buffer:f,resume:m,setData:l,getData:o};let fn=-1;for(;++fn<d.length;)if(d[fn][1].type==="listOrdered"||d[fn][1].type==="listUnordered")if(d[fn][0]==="enter")Ln.push(fn);else{const En=Ln.pop();fn=i(d,En,fn)}for(fn=-1;++fn<d.length;){const En=e[d[fn][0]];Ve.call(En,d[fn][1].type)&&En[d[fn][1].type].call(Object.assign({sliceSerialize:d[fn][2].sliceSerialize},be),d[fn][1])}if(on.length>0){const En=on[on.length-1];(En[1]||At).call(be,void 0,En[0])}for(E.position={start:u(d.length>0?d[0][1].start:{line:1,column:1,offset:0}),end:u(d.length>0?d[d.length-2][1].end:{line:1,column:1,offset:0})},fn=-1;++fn<e.transforms.length;)E=e.transforms[fn](E)||E;return E}function i(d,E,j){let on=E-1,Ln=-1,be=!1,fn,En,pe,we;for(;++on<=j;){const mn=d[on];if(mn[1].type==="listUnordered"||mn[1].type==="listOrdered"||mn[1].type==="blockQuote"?(mn[0]==="enter"?Ln++:Ln--,we=void 0):mn[1].type==="lineEndingBlank"?mn[0]==="enter"&&(fn&&!we&&!Ln&&!pe&&(pe=on),we=void 0):mn[1].type==="linePrefix"||mn[1].type==="listItemValue"||mn[1].type==="listItemMarker"||mn[1].type==="listItemPrefix"||mn[1].type==="listItemPrefixWhitespace"||(we=void 0),!Ln&&mn[0]==="enter"&&mn[1].type==="listItemPrefix"||Ln===-1&&mn[0]==="exit"&&(mn[1].type==="listUnordered"||mn[1].type==="listOrdered")){if(fn){let nt=on;for(En=void 0;nt--;){const Vn=d[nt];if(Vn[1].type==="lineEnding"||Vn[1].type==="lineEndingBlank"){if(Vn[0]==="exit")continue;En&&(d[En][1].type="lineEndingBlank",be=!0),Vn[1].type="lineEnding",En=nt}else if(!(Vn[1].type==="linePrefix"||Vn[1].type==="blockQuotePrefix"||Vn[1].type==="blockQuotePrefixWhitespace"||Vn[1].type==="blockQuoteMarker"||Vn[1].type==="listItemIndent"))break}pe&&(!En||pe<En)&&(fn._spread=!0),fn.end=Object.assign({},En?d[En][1].start:mn[1].end),d.splice(En||on,0,["exit",fn,mn[2]]),on++,j++}mn[1].type==="listItemPrefix"&&(fn={type:"listItem",_spread:!1,start:Object.assign({},mn[1].start)},d.splice(on,0,["enter",fn,mn[2]]),on++,j++,pe=void 0,we=!0)}}return d[E][1]._spread=be,j}function l(d,E){t[d]=E}function o(d){return t[d]}function u(d){return{line:d.line,column:d.column,offset:d.offset}}function a(d,E){return j;function j(on){p.call(this,d(on),on),E&&E.call(this,on)}}function f(){this.stack.push({type:"fragment",children:[]})}function p(d,E,j){return this.stack[this.stack.length-1].children.push(d),this.stack.push(d),this.tokenStack.push([E,j]),d.position={start:u(E.start)},d}function g(d){return E;function E(j){d&&d.call(this,j),h.call(this,j)}}function h(d,E){const j=this.stack.pop(),on=this.tokenStack.pop();if(on)on[0].type!==d.type&&(E?E.call(this,d,on[0]):(on[1]||At).call(this,d,on[0]));else throw new Error("Cannot close `"+d.type+"` ("+I({start:d.start,end:d.end})+"): it\u2019s not open");return j.position.end=u(d.end),j}function m(){return sr(this.stack.pop())}function k(){l("expectingFirstListItemValue",!0)}function A(d){if(o("expectingFirstListItemValue")){const E=this.stack[this.stack.length-2];E.start=Number.parseInt(this.sliceSerialize(d),10),l("expectingFirstListItemValue")}}function F(){const d=this.resume(),E=this.stack[this.stack.length-1];E.lang=d}function x(){const d=this.resume(),E=this.stack[this.stack.length-1];E.meta=d}function W(){o("flowCodeInside")||(this.buffer(),l("flowCodeInside",!0))}function P(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),l("flowCodeInside")}function X(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d.replace(/(\r?\n|\r)$/g,"")}function $(d){const E=this.resume(),j=this.stack[this.stack.length-1];j.label=E,j.identifier=oe(this.sliceSerialize(d)).toLowerCase()}function y(){const d=this.resume(),E=this.stack[this.stack.length-1];E.title=d}function U(){const d=this.resume(),E=this.stack[this.stack.length-1];E.url=d}function q(d){const E=this.stack[this.stack.length-1];if(!E.depth){const j=this.sliceSerialize(d).length;E.depth=j}}function Q(){l("setextHeadingSlurpLineEnding",!0)}function Sn(d){const E=this.stack[this.stack.length-1];E.depth=this.sliceSerialize(d).charCodeAt(0)===61?1:2}function ln(){l("setextHeadingSlurpLineEnding")}function sn(d){const E=this.stack[this.stack.length-1];let j=E.children[E.children.length-1];(!j||j.type!=="text")&&(j=zo(),j.position={start:u(d.start)},E.children.push(j)),this.stack.push(j)}function v(d){const E=this.stack.pop();E.value+=this.sliceSerialize(d),E.position.end=u(d.end)}function G(d){const E=this.stack[this.stack.length-1];if(o("atHardBreak")){const j=E.children[E.children.length-1];j.position.end=u(d.end),l("atHardBreak");return}!o("setextHeadingSlurpLineEnding")&&e.canContainEols.includes(E.type)&&(sn.call(this,d),v.call(this,d))}function bn(){l("atHardBreak",!0)}function Fn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d}function Rn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d}function wn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.value=d}function vn(){const d=this.stack[this.stack.length-1];o("inReference")?(d.type+="Reference",d.referenceType=o("referenceType")||"shortcut",delete d.url,delete d.title):(delete d.identifier,delete d.label),l("referenceType")}function yn(){const d=this.stack[this.stack.length-1];o("inReference")?(d.type+="Reference",d.referenceType=o("referenceType")||"shortcut",delete d.url,delete d.title):(delete d.identifier,delete d.label),l("referenceType")}function c(d){const E=this.stack[this.stack.length-2],j=this.sliceSerialize(d);E.label=rl(j),E.identifier=oe(j).toLowerCase()}function s(){const d=this.stack[this.stack.length-1],E=this.resume(),j=this.stack[this.stack.length-1];l("inReference",!0),j.type==="link"?j.children=d.children:j.alt=E}function ye(){const d=this.resume(),E=this.stack[this.stack.length-1];E.url=d}function Jn(){const d=this.resume(),E=this.stack[this.stack.length-1];E.title=d}function se(){l("inReference")}function xe(){l("referenceType","collapsed")}function jn(d){const E=this.resume(),j=this.stack[this.stack.length-1];j.label=E,j.identifier=oe(this.sliceSerialize(d)).toLowerCase(),l("referenceType","full")}function Cn(d){l("characterReferenceType",d.type)}function ke(d){const E=this.sliceSerialize(d),j=o("characterReferenceType");let on;j?(on=St(E,j==="characterReferenceMarkerNumeric"?10:16),l("characterReferenceType")):on=Ne(E);const Ln=this.stack.pop();Ln.value+=on,Ln.position.end=u(d.end)}function Hn(d){v.call(this,d);const E=this.stack[this.stack.length-1];E.url=this.sliceSerialize(d)}function ce(d){v.call(this,d);const E=this.stack[this.stack.length-1];E.url="mailto:"+this.sliceSerialize(d)}function fe(){return{type:"blockquote",children:[]}}function _e(){return{type:"code",lang:null,meta:null,value:""}}function Fo(){return{type:"inlineCode",value:""}}function Io(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Oo(){return{type:"emphasis",children:[]}}function Jt(){return{type:"heading",depth:void 0,children:[]}}function nr(){return{type:"break"}}function er(){return{type:"html",value:""}}function _o(){return{type:"image",title:null,url:"",alt:null}}function tr(){return{type:"link",title:null,url:"",children:[]}}function rr(d){return{type:"list",ordered:d.type==="listOrdered",start:null,spread:d._spread,children:[]}}function To(d){return{type:"listItem",spread:d._spread,checked:null,children:[]}}function Do(){return{type:"paragraph",children:[]}}function Lo(){return{type:"strong",children:[]}}function zo(){return{type:"text",value:""}}function Ro(){return{type:"thematicBreak"}}}function Et(n,e){let t=-1;for(;++t<e.length;){const r=e[t];Array.isArray(r)?Et(n,r):ul(n,r)}return n}function ul(n,e){let t;for(t in e)if(Ve.call(e,t)){const r=t==="canContainEols"||t==="transforms",l=(Ve.call(n,t)?n[t]:void 0)||(n[t]=r?[]:{}),o=e[t];o&&(r?n[t]=[...l,...o]:Object.assign(l,o))}}function At(n,e){throw n?new Error("Cannot close `"+n.type+"` ("+I({start:n.start,end:n.end})+"): a different token (`"+e.type+"`, "+I({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+I({start:e.start,end:e.end})+") is still open")}function al(n){Object.assign(this,{Parser:t=>{const r=this.data("settings");return ll(t,Object.assign({},r,n,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var sl=al,kn=function(n,e,t){var r={type:String(n)};return t==null&&(typeof e=="string"||Array.isArray(e))?t=e:Object.assign(r,e),Array.isArray(t)?r.children=t:t!=null&&(r.value=String(t)),r};const Vo=function n(e,t,r,i,l){const o=We(t);if(r!=null&&(typeof r!="number"||r<0||r===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(i!=null&&(!n(i)||!i.children))throw new Error("Expected parent node");if(i==null!=(r==null))throw new Error("Expected both parent and index");return e&&e.type&&typeof e.type=="string"?Boolean(o.call(l,e,r,i)):!1},We=function(n){if(n==null)return hl;if(typeof n=="string")return pl(n);if(typeof n=="object")return Array.isArray(n)?cl(n):fl(n);if(typeof n=="function")return ve(n);throw new Error("Expected function, string, or object as test")};function cl(n){const e=[];let t=-1;for(;++t<n.length;)e[t]=We(n[t]);return ve(r);function r(...i){let l=-1;for(;++l<e.length;)if(e[l].call(this,...i))return!0;return!1}}function fl(n){return ve(e);function e(t){let r;for(r in n)if(t[r]!==n[r])return!1;return!0}}function pl(n){return ve(e);function e(t){return t&&t.type===n}}function ve(n){return e;function e(...t){return Boolean(n.call(this,...t))}}function hl(){return!0}function Wo(n){return n}const ml=!0,dl="skip",vt=!1,gl=function(n,e,t,r){typeof e=="function"&&typeof t!="function"&&(r=t,t=e,e=null);const i=We(e),l=r?-1:1;o(n,null,[])();function o(u,a,f){const p=typeof u=="object"&&u!==null?u:{};let g;return typeof p.type=="string"&&(g=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0,Object.defineProperty(h,"name",{value:"node ("+(p.type+(g?"<"+g+">":""))+")"})),h;function h(){let m=[],k,A,F;if((!e||i(u,a,f[f.length-1]||null))&&(m=yl(t(u,f)),m[0]===vt))return m;if(u.children&&m[0]!==dl)for(A=(r?u.children.length:-1)+l,F=f.concat(u);A>-1&&A<u.children.length;){if(k=o(u.children[A],A,F)(),k[0]===vt)return k;A=typeof k[1]=="number"?k[1]:A+l}return m}}};function yl(n){return Array.isArray(n)?n:typeof n=="number"?[ml,n]:[n]}const $e=function(n,e,t,r){typeof e=="function"&&typeof t!="function"&&(r=t,t=e,e=null),gl(n,e,i,r);function i(l,o){const u=o[o.length-1];return t(l,u?u.children.indexOf(l):null,u)}},qe=Pt("start"),Ke=Pt("end");function $o(n){return{start:qe(n),end:Ke(n)}}function Pt(n){return e;function e(t){const r=t&&t.position&&t.position[n]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function xl(n){return!n||!n.position||!n.position.start||!n.position.start.line||!n.position.start.column||!n.position.end||!n.position.end.line||!n.position.end.column}const Ft={}.hasOwnProperty;function kl(n){const e=Object.create(null);if(!n||!n.type)throw new Error("mdast-util-definitions expected node");return $e(n,"definition",r=>{const i=It(r.identifier);i&&!Ft.call(e,i)&&(e[i]=r)}),t;function t(r){const i=It(r);return i&&Ft.call(e,i)?e[i]:null}}function It(n){return String(n||"").toUpperCase()}const Pe={}.hasOwnProperty;function bl(n,e){const t=e.data||{};return"value"in e&&!(Pe.call(t,"hName")||Pe.call(t,"hProperties")||Pe.call(t,"hChildren"))?n.augment(e,kn("text",e.value)):n(e,"div",An(n,e))}function Ot(n,e,t){const r=e&&e.type;let i;if(!r)throw new Error("Expected node, got `"+e+"`");return Pe.call(n.handlers,r)?i=n.handlers[r]:n.passThrough&&n.passThrough.includes(r)?i=wl:i=n.unknownHandler,(typeof i=="function"?i:bl)(n,e,t)}function wl(n,e){return"children"in e?Te(Kn({},e),{children:An(n,e)}):e}function An(n,e){const t=[];if("children"in e){const r=e.children;let i=-1;for(;++i<r.length;){const l=Ot(n,r[i],e);if(l){if(i&&r[i-1].type==="break"&&(!Array.isArray(l)&&l.type==="text"&&(l.value=l.value.replace(/^\s+/,"")),!Array.isArray(l)&&l.type==="element")){const o=l.children[0];o&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,""))}Array.isArray(l)?t.push(...l):t.push(l)}}}return t}const Cl={'"':"quot","&":"amp","<":"lt",">":"gt"};function Sl(n){return n.replace(/["&<>]/g,e);function e(t){return"&"+Cl[t]+";"}}function _t(n,e){const t=Sl(El(n||""));if(!e)return t;const r=t.indexOf(":"),i=t.indexOf("?"),l=t.indexOf("#"),o=t.indexOf("/");return r<0||o>-1&&r>o||i>-1&&r>i||l>-1&&r>l||e.test(t.slice(0,r))?t:""}function El(n){const e=[];let t=-1,r=0,i=0;for(;++t<n.length;){const l=n.charCodeAt(t);let o="";if(l===37&&In(n.charCodeAt(t+1))&&In(n.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const u=n.charCodeAt(t+1);l<56320&&u>56319&&u<57344?(o=String.fromCharCode(l,u),i=1):o="\uFFFD"}else o=String.fromCharCode(l);o&&(e.push(n.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return e.join("")+n.slice(r)}function Un(n,e){const t=[];let r=-1;for(e&&t.push(kn("text",`
|
|
68
68
|
`));++r<n.length;)r&&t.push(kn("text",`
|
|
69
69
|
`)),t.push(n[r]);return e&&n.length>0&&t.push(kn("text",`
|
|
70
|
-
`)),t}function Al(n){let e=-1;const t=[];for(;++e<n.footnoteOrder.length;){const r=n.footnoteById[n.footnoteOrder[e].toUpperCase()];if(!r)continue;const i=An(n,r),l=String(r.identifier),o=_t(l.toLowerCase());let u=0;const a=[];for(;++u<=n.footnoteCounts[l];){const g={type:"element",tagName:"a",properties:{href:"#"+n.clobberPrefix+"fnref-"+o+(u>1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:n.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};u>1&&g.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(g)}const f=i[i.length-1];if(f&&f.type==="element"&&f.tagName==="p"){const g=f.children[f.children.length-1];g&&g.type==="text"?g.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...a)}else i.push(...a);const p={type:"element",tagName:"li",properties:{id:n.clobberPrefix+"fn-"+o},children:Un(i,!0)};r.position&&(p.position=r.position),t.push(p)}return t.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:n.footnoteLabelTagName,properties:JSON.parse(JSON.stringify(n.footnoteLabelProperties)),children:[kn("text",n.footnoteLabel)]},{type:"text",value:`
|
|
70
|
+
`)),t}function Al(n){let e=-1;const t=[];for(;++e<n.footnoteOrder.length;){const r=n.footnoteById[n.footnoteOrder[e].toUpperCase()];if(!r)continue;const i=An(n,r),l=String(r.identifier),o=_t(l.toLowerCase());let u=0;const a=[];for(;++u<=n.footnoteCounts[l];){const g={type:"element",tagName:"a",properties:{href:"#"+n.clobberPrefix+"fnref-"+o+(u>1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:n.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};u>1&&g.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(g)}const f=i[i.length-1];if(f&&f.type==="element"&&f.tagName==="p"){const g=f.children[f.children.length-1];g&&g.type==="text"?g.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...a)}else i.push(...a);const p={type:"element",tagName:"li",properties:{id:n.clobberPrefix+"fn-"+o},children:Un(i,!0)};r.position&&(p.position=r.position),t.push(p)}return t.length===0?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:n.footnoteLabelTagName,properties:Te(Kn({},JSON.parse(JSON.stringify(n.footnoteLabelProperties))),{id:"footnote-label"}),children:[kn("text",n.footnoteLabel)]},{type:"text",value:`
|
|
71
71
|
`},{type:"element",tagName:"ol",properties:{},children:Un(t,!0)},{type:"text",value:`
|
|
72
72
|
`}]}}function vl(n,e){return n(e,"blockquote",Un(An(n,e),!0))}function Pl(n,e){return[n(e,"br"),kn("text",`
|
|
73
73
|
`)]}function Fl(n,e){const t=e.value?e.value+`
|
|
74
74
|
`:"",r=e.lang&&e.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);const l=n(e,"code",i,[kn("text",t)]);return e.meta&&(l.data={meta:e.meta}),n(e.position,"pre",[l])}function Il(n,e){return n(e,"del",An(n,e))}function Ol(n,e){return n(e,"em",An(n,e))}function Tt(n,e){const t=String(e.identifier),r=_t(t.toLowerCase()),i=n.footnoteOrder.indexOf(t);let l;i===-1?(n.footnoteOrder.push(t),n.footnoteCounts[t]=1,l=n.footnoteOrder.length):(n.footnoteCounts[t]++,l=i+1);const o=n.footnoteCounts[t];return n(e,"sup",[n(e.position,"a",{href:"#"+n.clobberPrefix+"fn-"+r,id:n.clobberPrefix+"fnref-"+r+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[kn("text",String(l))])])}function _l(n,e){const t=n.footnoteById;let r=1;for(;r in t;)r++;const i=String(r);return t[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:e.children}],position:e.position},Tt(n,{type:"footnoteReference",identifier:i,position:e.position})}function Tl(n,e){return n(e,"h"+e.depth,An(n,e))}function Dl(n,e){return n.dangerous?n.augment(e,kn("raw",e.value)):null}var Fe=w(62628);function Dt(n,e){const t=e.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return kn("text","!["+e.alt+r);const i=An(n,e),l=i[0];l&&l.type==="text"?l.value="["+l.value:i.unshift(kn("text","["));const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push(kn("text",r)),i}function Ll(n,e){const t=n.definition(e.identifier);if(!t)return Dt(n,e);const r={src:Fe(t.url||""),alt:e.alt};return t.title!==null&&t.title!==void 0&&(r.title=t.title),n(e,"img",r)}function zl(n,e){const t={src:Fe(e.url),alt:e.alt};return e.title!==null&&e.title!==void 0&&(t.title=e.title),n(e,"img",t)}function Rl(n,e){return n(e,"code",[kn("text",e.value.replace(/\r?\n|\r/g," "))])}function Ml(n,e){const t=n.definition(e.identifier);if(!t)return Dt(n,e);const r={href:Fe(t.url||"")};return t.title!==null&&t.title!==void 0&&(r.title=t.title),n(e,"a",r,An(n,e))}function Bl(n,e){const t={href:Fe(e.url)};return e.title!==null&&e.title!==void 0&&(t.title=e.title),n(e,"a",t,An(n,e))}function Nl(n,e,t){const r=An(n,e),i=t?Ul(t):Lt(e),l={},o=[];if(typeof e.checked=="boolean"){let f;r[0]&&r[0].type==="element"&&r[0].tagName==="p"?f=r[0]:(f=n(null,"p",[]),r.unshift(f)),f.children.length>0&&f.children.unshift(kn("text"," ")),f.children.unshift(n(null,"input",{type:"checkbox",checked:e.checked,disabled:!0})),l.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const f=r[u];(i||u!==0||f.type!=="element"||f.tagName!=="p")&&o.push(kn("text",`
|
|
75
75
|
`)),f.type==="element"&&f.tagName==="p"&&!i?o.push(...f.children):o.push(f)}const a=r[r.length-1];return a&&(i||!("tagName"in a)||a.tagName!=="p")&&o.push(kn("text",`
|
|
76
|
-
`)),n(e,"li",l,o)}function Ul(n){let e=n.spread;const t=n.children;let r=-1;for(;!e&&++r<t.length;)e=Lt(t[r]);return Boolean(e)}function Lt(n){const e=n.spread;return e==null?n.children.length>1:e}function jl(n,e){const t={},r=e.ordered?"ol":"ul",i=An(n,e);let l=-1;for(typeof e.start=="number"&&e.start!==1&&(t.start=e.start);++l<i.length;){const o=i[l];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}return n(e,r,t,Un(i,!0))}function Hl(n,e){return n(e,"p",An(n,e))}function Vl(n,e){return n.augment(e,kn("root",Un(An(n,e))))}function Wl(n,e){return n(e,"strong",An(n,e))}function $l(n,e){const t=e.children;let r=-1;const i=e.align||[],l=[];for(;++r<t.length;){const o=t[r].children,u=r===0?"th":"td",a=[];let f=-1;const p=e.align?i.length:o.length;for(;++f<p;){const g=o[f];a.push(n(g,u,{align:i[f]},g?An(n,g):[]))}l[r]=n(t[r],"tr",Un(a,!0))}return n(e,"table",Un([n(l[0].position,"thead",Un([l[0]],!0))].concat(l[1]?n({start
|
|
77
|
-
`),i),Array.isArray(r)?{type:"root",children:r}:r}var Gl=function(n,e){return n&&"run"in n?Jl(n,e):no(n||e)};function Jl(n,e){return(t,r,i)=>{n.run(Bt(t,e),r,l=>{i(l)})}}function no(n){return e=>Bt(e,n)}var B=w(15854);class ge{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}ge.prototype.property={},ge.prototype.normal={},ge.prototype.space=null;function Nt(n,e){const t={},r={};let i=-1;for(;++i<n.length;)Object.assign(t,n[i].property),Object.assign(r,n[i].normal);return new ge(t,r,e)}function Ke(n){return n.toLowerCase()}class Dn{constructor(e,t){this.property=e,this.attribute=t}}Dn.prototype.space=null,Dn.prototype.boolean=!1,Dn.prototype.booleanish=!1,Dn.prototype.overloadedBoolean=!1,Dn.prototype.number=!1,Dn.prototype.commaSeparated=!1,Dn.prototype.spaceSeparated=!1,Dn.prototype.commaOrSpaceSeparated=!1,Dn.prototype.mustUseProperty=!1,Dn.prototype.defined=!1;let eo=0;const V=Yn(),gn=Yn(),Ut=Yn(),b=Yn(),cn=Yn(),ue=Yn(),On=Yn();function Yn(){return or(2,++eo)}const Xe=Object.keys(_);class Ze extends Dn{constructor(e,t,r,i){let l=-1;if(super(e,t),jt(this,"space",i),typeof r=="number")for(;++l<Xe.length;){const o=Xe[l];jt(this,Xe[l],(r&_[o])===_[o])}}}Ze.prototype.defined=!0;function jt(n,e,t){t&&(n[e]=t)}const to={}.hasOwnProperty;function ae(n){const e={},t={};let r;for(r in n.properties)if(to.call(n.properties,r)){const i=n.properties[r],l=new Ze(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),e[r]=l,t[Ke(r)]=r,t[Ke(l.attribute)]=r}return new ge(e,t,n.space)}const Ht=ae({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Vt=ae({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Wt(n,e){return e in n?n[e]:e}function $t(n,e){return Wt(n,e.toLowerCase())}const qt=ae({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:$t,properties:{xmlns:null,xmlnsXLink:null}}),Kt=ae({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:gn,ariaAutoComplete:null,ariaBusy:gn,ariaChecked:gn,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:cn,ariaCurrent:null,ariaDescribedBy:cn,ariaDetails:null,ariaDisabled:gn,ariaDropEffect:cn,ariaErrorMessage:null,ariaExpanded:gn,ariaFlowTo:cn,ariaGrabbed:gn,ariaHasPopup:null,ariaHidden:gn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:cn,ariaLevel:b,ariaLive:null,ariaModal:gn,ariaMultiLine:gn,ariaMultiSelectable:gn,ariaOrientation:null,ariaOwns:cn,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:gn,ariaReadOnly:gn,ariaRelevant:null,ariaRequired:gn,ariaRoleDescription:cn,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:gn,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null}}),ro=ae({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:$t,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ue,acceptCharset:cn,accessKey:cn,action:null,allow:null,allowFullScreen:V,allowPaymentRequest:V,allowUserMedia:V,alt:null,as:null,async:V,autoCapitalize:null,autoComplete:cn,autoFocus:V,autoPlay:V,capture:V,charSet:null,checked:V,cite:null,className:cn,cols:b,colSpan:null,content:null,contentEditable:gn,controls:V,controlsList:cn,coords:b|ue,crossOrigin:null,data:null,dateTime:null,decoding:null,default:V,defer:V,dir:null,dirName:null,disabled:V,download:Ut,draggable:gn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:V,formTarget:null,headers:cn,height:b,hidden:V,high:b,href:null,hrefLang:null,htmlFor:cn,httpEquiv:cn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:V,itemId:null,itemProp:cn,itemRef:cn,itemScope:V,itemType:cn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:V,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:V,muted:V,name:null,nonce:null,noModule:V,noValidate:V,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:V,optimum:b,pattern:null,ping:cn,placeholder:null,playsInline:V,poster:null,preload:null,readOnly:V,referrerPolicy:null,rel:cn,required:V,reversed:V,rows:b,rowSpan:b,sandbox:cn,scope:null,scoped:V,seamless:V,selected:V,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:gn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:V,useMap:null,value:gn,width:b,wrap:null,align:null,aLink:null,archive:cn,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:V,declare:V,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:V,noHref:V,noShade:V,noWrap:V,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:gn,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:V,disableRemotePlayback:V,prefix:null,property:null,results:b,security:null,unselectable:null}}),io=ae({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Wt,properties:{about:On,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:cn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:V,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ue,g2:ue,glyphName:ue,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:On,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:b,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:cn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:On,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:On,rev:On,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:On,requiredFeatures:On,requiredFonts:On,requiredFormats:On,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:On,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:On,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:On,to:null,transform:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),lo=Nt([Vt,Ht,qt,Kt,ro],"html"),oo=Nt([Vt,Ht,qt,Kt,io],"svg");function uo(n){if(n.allowedElements&&n.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(n.allowedElements||n.disallowedElements||n.allowElement)return e=>{We(e,"element",(t,r,i)=>{const l=i;let o;if(n.allowedElements?o=!n.allowedElements.includes(t.tagName):n.disallowedElements&&(o=n.disallowedElements.includes(t.tagName)),!o&&n.allowElement&&typeof r=="number"&&(o=!n.allowElement(t,r,l)),o&&typeof r=="number")return n.unwrapDisallowed&&t.children?l.children.splice(r,1,...t.children):l.children.splice(r,1),r})}}const Xt=["http","https","mailto","tel"];function ao(n){const e=(n||"").trim(),t=e.charAt(0);if(t==="#"||t==="/")return e;const r=e.indexOf(":");if(r===-1)return e;let i=-1;for(;++i<Xt.length;){const l=Xt[i];if(r===l.length&&e.slice(0,l.length).toLowerCase()===l)return e}return i=e.indexOf("?"),i!==-1&&r>i||(i=e.indexOf("#"),i!==-1&&r>i)?e:"javascript:void(0)"}var so=w(87522);function co(n){var e=n&&typeof n=="object"&&n.type==="text"?n.value||"":n;return typeof e=="string"&&e.replace(/[ \t\n\f\r]/g,"")===""}const fo=/^data[-\w.:]+$/i,Zt=/-[a-z]/g,po=/[A-Z]/g;function ho(n,e){const t=Ke(e);let r=e,i=Dn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&fo.test(e)){if(e.charAt(4)==="-"){const l=e.slice(5).replace(Zt,go);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=e.slice(4);if(!Zt.test(l)){let o=l.replace(po,mo);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=Ze}return new i(r,e)}function mo(n){return"-"+n.toLowerCase()}function go(n){return n.charAt(1).toUpperCase()}const Qt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Ko(n){const e=String(n||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function yo(n){return n.join(" ").trim()}function Xo(n){for(var e=[],t=String(n||""),r=t.indexOf(","),i=0,l,o;!l;)r===-1&&(r=t.length,l=!0),o=t.slice(i,r).trim(),(o||!l)&&e.push(o),i=r+1,r=t.indexOf(",",i);return e}function xo(n,e){var t=e||{};return n[n.length-1]===""&&(n=n.concat("")),n.join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var ko=w(34848);const Qe={}.hasOwnProperty,bo=new Set(["table","thead","tbody","tfoot","tr"]);function Yt(n,e){const t=[];let r=-1,i;for(;++r<e.children.length;)i=e.children[r],i.type==="element"?t.push(wo(n,i,r,e)):i.type==="text"?(e.type!=="element"||!bo.has(e.tagName)||!co(i))&&t.push(i.value):i.type==="raw"&&!n.options.skipHtml&&t.push(i.value);return t}function wo(n,e,t,r){const i=n.options,l=n.schema,o=e.tagName,u={};let a=l,f;if(l.space==="html"&&o==="svg"&&(a=oo,n.schema=a),e.properties)for(f in e.properties)Qe.call(e.properties,f)&&So(u,f,e.properties[f],n);(o==="ol"||o==="ul")&&n.listDepth++;const p=Yt(n,e);(o==="ol"||o==="ul")&&n.listDepth--,n.schema=l;const g=e.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=i.components&&Qe.call(i.components,o)?i.components[o]:o,m=typeof h=="string"||h===T.Fragment;if(!so.isValidElementType(h))throw new TypeError(`Component for name \`${o}\` not defined or is not renderable`);if(u.key=[o,g.start.line,g.start.column,t].join("-"),o==="a"&&i.linkTarget&&(u.target=typeof i.linkTarget=="function"?i.linkTarget(String(u.href||""),e.children,typeof u.title=="string"?u.title:null):i.linkTarget),o==="a"&&i.transformLinkUri&&(u.href=i.transformLinkUri(String(u.href||""),e.children,typeof u.title=="string"?u.title:null)),!m&&o==="code"&&r.type==="element"&&r.tagName!=="pre"&&(u.inline=!0),!m&&(o==="h1"||o==="h2"||o==="h3"||o==="h4"||o==="h5"||o==="h6")&&(u.level=Number.parseInt(o.charAt(1),10)),o==="img"&&i.transformImageUri&&(u.src=i.transformImageUri(String(u.src||""),String(u.alt||""),typeof u.title=="string"?u.title:null)),!m&&o==="li"&&r.type==="element"){const k=Co(e);u.checked=k&&k.properties?Boolean(k.properties.checked):null,u.index=Ye(r,e),u.ordered=r.tagName==="ol"}return!m&&(o==="ol"||o==="ul")&&(u.ordered=o==="ol",u.depth=n.listDepth),(o==="td"||o==="th")&&(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),m||(u.isHeader=o==="th")),!m&&o==="tr"&&r.type==="element"&&(u.isHeader=Boolean(r.tagName==="thead")),i.sourcePos&&(u["data-sourcepos"]=vo(g)),!m&&i.rawSourcePos&&(u.sourcePosition=e.position),!m&&i.includeElementIndex&&(u.index=Ye(r,e),u.siblingCount=Ye(r)),m||(u.node=e),p.length>0?T.createElement(h,u,p):T.createElement(h,u)}function Co(n){let e=-1;for(;++e<n.children.length;){const t=n.children[e];if(t.type==="element"&&t.tagName==="input")return t}return null}function Ye(n,e){let t=-1,r=0;for(;++t<n.children.length&&n.children[t]!==e;)n.children[t].type==="element"&&r++;return r}function So(n,e,t,r){const i=ho(r.schema,e);let l=t;l==null||l!==l||(Array.isArray(l)&&(l=i.commaSeparated?xo(l):yo(l)),i.property==="style"&&typeof l=="string"&&(l=Eo(l)),i.space&&i.property?n[Qe.call(Qt,i.property)?Qt[i.property]:i.property]=l:i.attribute&&(n[i.attribute]=l))}function Eo(n){const e={};try{ko(n,t)}catch(r){}return e;function t(r,i){const l=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;e[l.replace(/-([a-z])/g,Ao)]=i}}function Ao(n,e){return e.toUpperCase()}function vo(n){return[n.start.line,":",n.start.column,"-",n.end.line,":",n.end.column].map(e=>String(e)).join("")}const Gt={}.hasOwnProperty,Po="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Oe={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Ge(n){for(const l in Oe)if(Gt.call(Oe,l)&&Gt.call(n,l)){const o=Oe[l];console.warn(`[react-markdown] Warning: please ${o.to?`use \`${o.to}\` instead of`:"remove"} \`${l}\` (see <${Po}#${o.id}> for more info)`),delete Oe[l]}const e=te().use(sl).use(n.remarkPlugins||[]).use(Gl,nt(Jn({},n.remarkRehypeOptions),{allowDangerousHtml:!0})).use(n.rehypePlugins||[]).use(uo,n),t=new Zn;typeof n.children=="string"?t.value=n.children:n.children!==void 0&&n.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${n.children}\`)`);const r=e.runSync(e.parse(t),t);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=T.createElement(T.Fragment,{},Yt({options:n,schema:lo,listDepth:0},r));return n.className&&(i=T.createElement("div",{className:n.className},i)),i}Ge.defaultProps={transformLinkUri:ao},Ge.propTypes={children:B.string,className:B.string,allowElement:B.func,allowedElements:B.arrayOf(B.string),disallowedElements:B.arrayOf(B.string),unwrapDisallowed:B.bool,remarkPlugins:B.arrayOf(B.oneOfType([B.object,B.func,B.arrayOf(B.oneOfType([B.bool,B.string,B.object,B.func,B.arrayOf(B.any)]))])),rehypePlugins:B.arrayOf(B.oneOfType([B.object,B.func,B.arrayOf(B.oneOfType([B.bool,B.string,B.object,B.func,B.arrayOf(B.any)]))])),sourcePos:B.bool,rawSourcePos:B.bool,skipHtml:B.bool,includeElementIndex:B.bool,transformLinkUri:B.oneOfType([B.func,B.bool]),linkTarget:B.oneOfType([B.func,B.string]),transformImageUri:B.func,components:B.object}}}]);
|
|
76
|
+
`)),n(e,"li",l,o)}function Ul(n){let e=n.spread;const t=n.children;let r=-1;for(;!e&&++r<t.length;)e=Lt(t[r]);return Boolean(e)}function Lt(n){const e=n.spread;return e==null?n.children.length>1:e}function jl(n,e){const t={},r=e.ordered?"ol":"ul",i=An(n,e);let l=-1;for(typeof e.start=="number"&&e.start!==1&&(t.start=e.start);++l<i.length;){const o=i[l];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}return n(e,r,t,Un(i,!0))}function Hl(n,e){return n(e,"p",An(n,e))}function Vl(n,e){return n.augment(e,kn("root",Un(An(n,e))))}function Wl(n,e){return n(e,"strong",An(n,e))}function $l(n,e){const t=e.children;let r=-1;const i=e.align||[],l=[];for(;++r<t.length;){const o=t[r].children,u=r===0?"th":"td",a=[];let f=-1;const p=e.align?i.length:o.length;for(;++f<p;){const g=o[f];a.push(n(g,u,{align:i[f]},g?An(n,g):[]))}l[r]=n(t[r],"tr",Un(a,!0))}return n(e,"table",Un([n(l[0].position,"thead",Un([l[0]],!0))].concat(l[1]?n({start:qe(l[1]),end:Ke(l[l.length-1])},"tbody",Un(l.slice(1),!0)):[]),!0))}const zt=9,Rt=32;function ql(n){const e=String(n),t=/\r?\n|\r/g;let r=t.exec(e),i=0;const l=[];for(;r;)l.push(Mt(e.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=t.exec(e);return l.push(Mt(e.slice(i),i>0,!1)),l.join("")}function Mt(n,e,t){let r=0,i=n.length;if(e){let l=n.codePointAt(r);for(;l===zt||l===Rt;)r++,l=n.codePointAt(r)}if(t){let l=n.codePointAt(i-1);for(;l===zt||l===Rt;)i--,l=n.codePointAt(i-1)}return i>r?n.slice(r,i):""}function Kl(n,e){return n.augment(e,kn("text",ql(String(e.value))))}function Xl(n,e){return n(e,"hr")}const Zl={blockquote:vl,break:Pl,code:Fl,delete:Il,emphasis:Ol,footnoteReference:Tt,footnote:_l,heading:Tl,html:Dl,imageReference:Ll,image:zl,inlineCode:Rl,linkReference:Ml,link:Bl,listItem:Nl,list:jl,paragraph:Hl,root:Vl,strong:Wl,table:$l,text:Kl,thematicBreak:Xl,toml:Ie,yaml:Ie,definition:Ie,footnoteDefinition:Ie};function Ie(){return null}const Ql={}.hasOwnProperty;function Yl(n,e){const t=e||{},r=t.allowDangerousHtml||!1,i={};return o.dangerous=r,o.clobberPrefix=t.clobberPrefix===void 0||t.clobberPrefix===null?"user-content-":t.clobberPrefix,o.footnoteLabel=t.footnoteLabel||"Footnotes",o.footnoteLabelTagName=t.footnoteLabelTagName||"h2",o.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},o.footnoteBackLabel=t.footnoteBackLabel||"Back to content",o.definition=kl(n),o.footnoteById=i,o.footnoteOrder=[],o.footnoteCounts={},o.augment=l,o.handlers=Kn(Kn({},Zl),t.handlers),o.unknownHandler=t.unknownHandler,o.passThrough=t.passThrough,$e(n,"footnoteDefinition",u=>{const a=String(u.identifier).toUpperCase();Ql.call(i,a)||(i[a]=u)}),o;function l(u,a){if(u&&"data"in u&&u.data){const f=u.data;f.hName&&(a.type!=="element"&&(a={type:"element",tagName:"",properties:{},children:[]}),a.tagName=f.hName),a.type==="element"&&f.hProperties&&(a.properties=Kn(Kn({},a.properties),f.hProperties)),"children"in a&&a.children&&f.hChildren&&(a.children=f.hChildren)}if(u){const f="type"in u?u:{position:u};xl(f)||(a.position={start:qe(f),end:Ke(f)})}return a}function o(u,a,f,p){return Array.isArray(f)&&(p=f,f={}),l(u,{type:"element",tagName:a,properties:f||{},children:p||[]})}}function Bt(n,e){const t=Yl(n,e),r=Ot(t,n,null),i=Al(t);return i&&r.children.push(kn("text",`
|
|
77
|
+
`),i),Array.isArray(r)?{type:"root",children:r}:r}var Gl=function(n,e){return n&&"run"in n?Jl(n,e):no(n||e)};function Jl(n,e){return(t,r,i)=>{n.run(Bt(t,e),r,l=>{i(l)})}}function no(n){return e=>Bt(e,n)}var B=w(15854);class ge{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}ge.prototype.property={},ge.prototype.normal={},ge.prototype.space=null;function Nt(n,e){const t={},r={};let i=-1;for(;++i<n.length;)Object.assign(t,n[i].property),Object.assign(r,n[i].normal);return new ge(t,r,e)}function Xe(n){return n.toLowerCase()}class Dn{constructor(e,t){this.property=e,this.attribute=t}}Dn.prototype.space=null,Dn.prototype.boolean=!1,Dn.prototype.booleanish=!1,Dn.prototype.overloadedBoolean=!1,Dn.prototype.number=!1,Dn.prototype.commaSeparated=!1,Dn.prototype.spaceSeparated=!1,Dn.prototype.commaOrSpaceSeparated=!1,Dn.prototype.mustUseProperty=!1,Dn.prototype.defined=!1;let eo=0;const V=Gn(),gn=Gn(),Ut=Gn(),b=Gn(),cn=Gn(),ue=Gn(),On=Gn();function Gn(){return or(2,++eo)}const Ze=Object.keys(_);class Qe extends Dn{constructor(e,t,r,i){let l=-1;if(super(e,t),jt(this,"space",i),typeof r=="number")for(;++l<Ze.length;){const o=Ze[l];jt(this,Ze[l],(r&_[o])===_[o])}}}Qe.prototype.defined=!0;function jt(n,e,t){t&&(n[e]=t)}const to={}.hasOwnProperty;function ae(n){const e={},t={};let r;for(r in n.properties)if(to.call(n.properties,r)){const i=n.properties[r],l=new Qe(r,n.transform(n.attributes||{},r),i,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),e[r]=l,t[Xe(r)]=r,t[Xe(l.attribute)]=r}return new ge(e,t,n.space)}const Ht=ae({space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Vt=ae({space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Wt(n,e){return e in n?n[e]:e}function $t(n,e){return Wt(n,e.toLowerCase())}const qt=ae({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:$t,properties:{xmlns:null,xmlnsXLink:null}}),Kt=ae({transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:gn,ariaAutoComplete:null,ariaBusy:gn,ariaChecked:gn,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:cn,ariaCurrent:null,ariaDescribedBy:cn,ariaDetails:null,ariaDisabled:gn,ariaDropEffect:cn,ariaErrorMessage:null,ariaExpanded:gn,ariaFlowTo:cn,ariaGrabbed:gn,ariaHasPopup:null,ariaHidden:gn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:cn,ariaLevel:b,ariaLive:null,ariaModal:gn,ariaMultiLine:gn,ariaMultiSelectable:gn,ariaOrientation:null,ariaOwns:cn,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:gn,ariaReadOnly:gn,ariaRelevant:null,ariaRequired:gn,ariaRoleDescription:cn,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:gn,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null}}),ro=ae({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:$t,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ue,acceptCharset:cn,accessKey:cn,action:null,allow:null,allowFullScreen:V,allowPaymentRequest:V,allowUserMedia:V,alt:null,as:null,async:V,autoCapitalize:null,autoComplete:cn,autoFocus:V,autoPlay:V,capture:V,charSet:null,checked:V,cite:null,className:cn,cols:b,colSpan:null,content:null,contentEditable:gn,controls:V,controlsList:cn,coords:b|ue,crossOrigin:null,data:null,dateTime:null,decoding:null,default:V,defer:V,dir:null,dirName:null,disabled:V,download:Ut,draggable:gn,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:V,formTarget:null,headers:cn,height:b,hidden:V,high:b,href:null,hrefLang:null,htmlFor:cn,httpEquiv:cn,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:V,itemId:null,itemProp:cn,itemRef:cn,itemScope:V,itemType:cn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:V,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:V,muted:V,name:null,nonce:null,noModule:V,noValidate:V,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:V,optimum:b,pattern:null,ping:cn,placeholder:null,playsInline:V,poster:null,preload:null,readOnly:V,referrerPolicy:null,rel:cn,required:V,reversed:V,rows:b,rowSpan:b,sandbox:cn,scope:null,scoped:V,seamless:V,selected:V,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:gn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:V,useMap:null,value:gn,width:b,wrap:null,align:null,aLink:null,archive:cn,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:V,declare:V,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:V,noHref:V,noShade:V,noWrap:V,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:gn,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:V,disableRemotePlayback:V,prefix:null,property:null,results:b,security:null,unselectable:null}}),io=ae({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Wt,properties:{about:On,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:cn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:V,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ue,g2:ue,glyphName:ue,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:On,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:b,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:cn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:On,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:On,rev:On,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:On,requiredFeatures:On,requiredFonts:On,requiredFormats:On,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:On,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:On,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:On,to:null,transform:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),lo=Nt([Vt,Ht,qt,Kt,ro],"html"),oo=Nt([Vt,Ht,qt,Kt,io],"svg");function uo(n){if(n.allowedElements&&n.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(n.allowedElements||n.disallowedElements||n.allowElement)return e=>{$e(e,"element",(t,r,i)=>{const l=i;let o;if(n.allowedElements?o=!n.allowedElements.includes(t.tagName):n.disallowedElements&&(o=n.disallowedElements.includes(t.tagName)),!o&&n.allowElement&&typeof r=="number"&&(o=!n.allowElement(t,r,l)),o&&typeof r=="number")return n.unwrapDisallowed&&t.children?l.children.splice(r,1,...t.children):l.children.splice(r,1),r})}}const Xt=["http","https","mailto","tel"];function ao(n){const e=(n||"").trim(),t=e.charAt(0);if(t==="#"||t==="/")return e;const r=e.indexOf(":");if(r===-1)return e;let i=-1;for(;++i<Xt.length;){const l=Xt[i];if(r===l.length&&e.slice(0,l.length).toLowerCase()===l)return e}return i=e.indexOf("?"),i!==-1&&r>i||(i=e.indexOf("#"),i!==-1&&r>i)?e:"javascript:void(0)"}var so=w(87522);function co(n){var e=n&&typeof n=="object"&&n.type==="text"?n.value||"":n;return typeof e=="string"&&e.replace(/[ \t\n\f\r]/g,"")===""}const fo=/^data[-\w.:]+$/i,Zt=/-[a-z]/g,po=/[A-Z]/g;function ho(n,e){const t=Xe(e);let r=e,i=Dn;if(t in n.normal)return n.property[n.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&fo.test(e)){if(e.charAt(4)==="-"){const l=e.slice(5).replace(Zt,go);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=e.slice(4);if(!Zt.test(l)){let o=l.replace(po,mo);o.charAt(0)!=="-"&&(o="-"+o),e="data"+o}}i=Qe}return new i(r,e)}function mo(n){return"-"+n.toLowerCase()}function go(n){return n.charAt(1).toUpperCase()}const Qt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Ko(n){const e=String(n||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function yo(n){return n.join(" ").trim()}function Xo(n){for(var e=[],t=String(n||""),r=t.indexOf(","),i=0,l,o;!l;)r===-1&&(r=t.length,l=!0),o=t.slice(i,r).trim(),(o||!l)&&e.push(o),i=r+1,r=t.indexOf(",",i);return e}function xo(n,e){var t=e||{};return n[n.length-1]===""&&(n=n.concat("")),n.join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var ko=w(34848);const Ye={}.hasOwnProperty,bo=new Set(["table","thead","tbody","tfoot","tr"]);function Yt(n,e){const t=[];let r=-1,i;for(;++r<e.children.length;)i=e.children[r],i.type==="element"?t.push(wo(n,i,r,e)):i.type==="text"?(e.type!=="element"||!bo.has(e.tagName)||!co(i))&&t.push(i.value):i.type==="raw"&&!n.options.skipHtml&&t.push(i.value);return t}function wo(n,e,t,r){const i=n.options,l=n.schema,o=e.tagName,u={};let a=l,f;if(l.space==="html"&&o==="svg"&&(a=oo,n.schema=a),e.properties)for(f in e.properties)Ye.call(e.properties,f)&&So(u,f,e.properties[f],n);(o==="ol"||o==="ul")&&n.listDepth++;const p=Yt(n,e);(o==="ol"||o==="ul")&&n.listDepth--,n.schema=l;const g=e.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=i.components&&Ye.call(i.components,o)?i.components[o]:o,m=typeof h=="string"||h===T.Fragment;if(!so.isValidElementType(h))throw new TypeError(`Component for name \`${o}\` not defined or is not renderable`);if(u.key=[o,g.start.line,g.start.column,t].join("-"),o==="a"&&i.linkTarget&&(u.target=typeof i.linkTarget=="function"?i.linkTarget(String(u.href||""),e.children,typeof u.title=="string"?u.title:null):i.linkTarget),o==="a"&&i.transformLinkUri&&(u.href=i.transformLinkUri(String(u.href||""),e.children,typeof u.title=="string"?u.title:null)),!m&&o==="code"&&r.type==="element"&&r.tagName!=="pre"&&(u.inline=!0),!m&&(o==="h1"||o==="h2"||o==="h3"||o==="h4"||o==="h5"||o==="h6")&&(u.level=Number.parseInt(o.charAt(1),10)),o==="img"&&i.transformImageUri&&(u.src=i.transformImageUri(String(u.src||""),String(u.alt||""),typeof u.title=="string"?u.title:null)),!m&&o==="li"&&r.type==="element"){const k=Co(e);u.checked=k&&k.properties?Boolean(k.properties.checked):null,u.index=Ge(r,e),u.ordered=r.tagName==="ol"}return!m&&(o==="ol"||o==="ul")&&(u.ordered=o==="ol",u.depth=n.listDepth),(o==="td"||o==="th")&&(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),m||(u.isHeader=o==="th")),!m&&o==="tr"&&r.type==="element"&&(u.isHeader=Boolean(r.tagName==="thead")),i.sourcePos&&(u["data-sourcepos"]=vo(g)),!m&&i.rawSourcePos&&(u.sourcePosition=e.position),!m&&i.includeElementIndex&&(u.index=Ge(r,e),u.siblingCount=Ge(r)),m||(u.node=e),p.length>0?T.createElement(h,u,p):T.createElement(h,u)}function Co(n){let e=-1;for(;++e<n.children.length;){const t=n.children[e];if(t.type==="element"&&t.tagName==="input")return t}return null}function Ge(n,e){let t=-1,r=0;for(;++t<n.children.length&&n.children[t]!==e;)n.children[t].type==="element"&&r++;return r}function So(n,e,t,r){const i=ho(r.schema,e);let l=t;l==null||l!==l||(Array.isArray(l)&&(l=i.commaSeparated?xo(l):yo(l)),i.property==="style"&&typeof l=="string"&&(l=Eo(l)),i.space&&i.property?n[Ye.call(Qt,i.property)?Qt[i.property]:i.property]=l:i.attribute&&(n[i.attribute]=l))}function Eo(n){const e={};try{ko(n,t)}catch(r){}return e;function t(r,i){const l=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;e[l.replace(/-([a-z])/g,Ao)]=i}}function Ao(n,e){return e.toUpperCase()}function vo(n){return[n.start.line,":",n.start.column,"-",n.end.line,":",n.end.column].map(e=>String(e)).join("")}const Gt={}.hasOwnProperty,Po="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Oe={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Je(n){for(const l in Oe)if(Gt.call(Oe,l)&&Gt.call(n,l)){const o=Oe[l];console.warn(`[react-markdown] Warning: please ${o.to?`use \`${o.to}\` instead of`:"remove"} \`${l}\` (see <${Po}#${o.id}> for more info)`),delete Oe[l]}const e=te().use(sl).use(n.remarkPlugins||[]).use(Gl,Te(Kn({},n.remarkRehypeOptions),{allowDangerousHtml:!0})).use(n.rehypePlugins||[]).use(uo,n),t=new Qn;typeof n.children=="string"?t.value=n.children:n.children!==void 0&&n.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${n.children}\`)`);const r=e.runSync(e.parse(t),t);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=T.createElement(T.Fragment,{},Yt({options:n,schema:lo,listDepth:0},r));return n.className&&(i=T.createElement("div",{className:n.className},i)),i}Je.defaultProps={transformLinkUri:ao},Je.propTypes={children:B.string,className:B.string,allowElement:B.func,allowedElements:B.arrayOf(B.string),disallowedElements:B.arrayOf(B.string),unwrapDisallowed:B.bool,remarkPlugins:B.arrayOf(B.oneOfType([B.object,B.func,B.arrayOf(B.oneOfType([B.bool,B.string,B.object,B.func,B.arrayOf(B.any)]))])),rehypePlugins:B.arrayOf(B.oneOfType([B.object,B.func,B.arrayOf(B.oneOfType([B.bool,B.string,B.object,B.func,B.arrayOf(B.any)]))])),sourcePos:B.bool,rawSourcePos:B.bool,skipHtml:B.bool,includeElementIndex:B.bool,transformLinkUri:B.oneOfType([B.func,B.bool]),linkTarget:B.oneOfType([B.func,B.string]),transformImageUri:B.func,components:B.object}}}]);
|
|
78
78
|
|
|
79
|
-
//# sourceMappingURL=7858.
|
|
79
|
+
//# sourceMappingURL=7858.b16a767f.chunk.js.map
|