UNPKG

115 kBJavaScriptView Raw
1(function (g, f) {typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = f() : typeof define === 'function' && define.amd ? define([], f) : (g = typeof globalThis !== 'undefined' ? globalThis : g || self, g.ReactMarkdown = f()); }(this, (function () { 'use strict';
2var ReactMarkdown=(()=>{var yl=Object.create;var en=Object.defineProperty,xl=Object.defineProperties,kl=Object.getOwnPropertyDescriptor,bl=Object.getOwnPropertyDescriptors,wl=Object.getOwnPropertyNames,hr=Object.getOwnPropertySymbols,Sl=Object.getPrototypeOf,dr=Object.prototype.hasOwnProperty,El=Object.prototype.propertyIsEnumerable,gr=Math.pow,yr=(e,n,t)=>n in e?en(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ze=(e,n)=>{for(var t in n||(n={}))dr.call(n,t)&&yr(e,t,n[t]);if(hr)for(var t of hr(n))El.call(n,t)&&yr(e,t,n[t]);return e},xr=(e,n)=>xl(e,bl(n)),kr=e=>en(e,"__esModule",{value:!0});var me=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),pt=(e,n)=>{kr(e);for(var t in n)en(e,t,{get:n[t],enumerable:!0})},vl=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of wl(n))!dr.call(e,r)&&r!=="default"&&en(e,r,{get:()=>n[r],enumerable:!(t=kl(n,r))||t.enumerable});return e},ge=e=>vl(kr(en(e!=null?yl(Sl(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Sr=me((xs,wr)=>{"use strict";var br=Object.getOwnPropertySymbols,Cl=Object.prototype.hasOwnProperty,Al=Object.prototype.propertyIsEnumerable;function Ol(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Pl(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;var r=Object.getOwnPropertyNames(n).map(function(o){return n[o]});if(r.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch(o){return!1}}wr.exports=Pl()?Object.assign:function(e,n){for(var t,r=Ol(e),i,o=1;o<arguments.length;o++){t=Object(arguments[o]);for(var l in t)Cl.call(t,l)&&(r[l]=t[l]);if(br){i=br(t);for(var a=0;a<i.length;a++)Al.call(t,i[a])&&(r[i[a]]=t[i[a]])}}return r}});var _r=me(D=>{"use strict";var ft=Sr(),qe=60103,Er=60106;D.Fragment=60107;D.StrictMode=60108;D.Profiler=60114;var vr=60109,Cr=60110,Ar=60112;D.Suspense=60113;var Or=60115,Pr=60116;typeof Symbol=="function"&&Symbol.for&&(ye=Symbol.for,qe=ye("react.element"),Er=ye("react.portal"),D.Fragment=ye("react.fragment"),D.StrictMode=ye("react.strict_mode"),D.Profiler=ye("react.profiler"),vr=ye("react.provider"),Cr=ye("react.context"),Ar=ye("react.forward_ref"),D.Suspense=ye("react.suspense"),Or=ye("react.memo"),Pr=ye("react.lazy"));var ye,Fr=typeof Symbol=="function"&&Symbol.iterator;function Fl(e){return e===null||typeof e!="object"?null:(e=Fr&&e[Fr]||e["@@iterator"],typeof e=="function"?e:null)}function nn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var jr={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ir={};function Ve(e,n,t){this.props=e,this.context=n,this.refs=Ir,this.updater=t||jr}Ve.prototype.isReactComponent={};Ve.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(nn(85));this.updater.enqueueSetState(this,e,n,"setState")};Ve.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Tr(){}Tr.prototype=Ve.prototype;function mt(e,n,t){this.props=e,this.context=n,this.refs=Ir,this.updater=t||jr}var ht=mt.prototype=new Tr;ht.constructor=mt;ft(ht,Ve.prototype);ht.isPureReactComponent=!0;var dt={current:null},zr=Object.prototype.hasOwnProperty,Lr={key:!0,ref:!0,__self:!0,__source:!0};function Dr(e,n,t){var r,i={},o=null,l=null;if(n!=null)for(r in n.ref!==void 0&&(l=n.ref),n.key!==void 0&&(o=""+n.key),n)zr.call(n,r)&&!Lr.hasOwnProperty(r)&&(i[r]=n[r]);var a=arguments.length-2;if(a===1)i.children=t;else if(1<a){for(var u=Array(a),s=0;s<a;s++)u[s]=arguments[s+2];i.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:qe,type:e,key:o,ref:l,props:i,_owner:dt.current}}function jl(e,n){return{$$typeof:qe,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function gt(e){return typeof e=="object"&&e!==null&&e.$$typeof===qe}function Il(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var Rr=/\/+/g;function yt(e,n){return typeof e=="object"&&e!==null&&e.key!=null?Il(""+e.key):n.toString(36)}function An(e,n,t,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case qe:case Er:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+yt(l,0):r,Array.isArray(i)?(t="",e!=null&&(t=e.replace(Rr,"$&/")+"/"),An(i,n,t,"",function(s){return s})):i!=null&&(gt(i)&&(i=jl(i,t+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(Rr,"$&/")+"/")+e)),n.push(i)),1;if(l=0,r=r===""?".":r+":",Array.isArray(e))for(var a=0;a<e.length;a++){o=e[a];var u=r+yt(o,a);l+=An(o,n,t,u,i)}else if(u=Fl(e),typeof u=="function")for(e=u.call(e),a=0;!(o=e.next()).done;)o=o.value,u=r+yt(o,a++),l+=An(o,n,t,u,i);else if(o==="object")throw n=""+e,Error(nn(31,n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n));return l}function On(e,n,t){if(e==null)return e;var r=[],i=0;return An(e,r,"","",function(o){return n.call(t,o,i++)}),r}function Tl(e){if(e._status===-1){var n=e._result;n=n(),e._status=0,e._result=n,n.then(function(t){e._status===0&&(t=t.default,e._status=1,e._result=t)},function(t){e._status===0&&(e._status=2,e._result=t)})}if(e._status===1)return e._result;throw e._result}var Br={current:null};function Oe(){var e=Br.current;if(e===null)throw Error(nn(321));return e}var zl={ReactCurrentDispatcher:Br,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:dt,IsSomeRendererActing:{current:!1},assign:ft};D.Children={map:On,forEach:function(e,n,t){On(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return On(e,function(){n++}),n},toArray:function(e){return On(e,function(n){return n})||[]},only:function(e){if(!gt(e))throw Error(nn(143));return e}};D.Component=Ve;D.PureComponent=mt;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=zl;D.cloneElement=function(e,n,t){if(e==null)throw Error(nn(267,e));var r=ft({},e.props),i=e.key,o=e.ref,l=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,l=dt.current),n.key!==void 0&&(i=""+n.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in n)zr.call(n,u)&&!Lr.hasOwnProperty(u)&&(r[u]=n[u]===void 0&&a!==void 0?a[u]:n[u])}var u=arguments.length-2;if(u===1)r.children=t;else if(1<u){a=Array(u);for(var s=0;s<u;s++)a[s]=arguments[s+2];r.children=a}return{$$typeof:qe,type:e.type,key:i,ref:o,props:r,_owner:l}};D.createContext=function(e,n){return n===void 0&&(n=null),e={$$typeof:Cr,_calculateChangedBits:n,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:vr,_context:e},e.Consumer=e};D.createElement=Dr;D.createFactory=function(e){var n=Dr.bind(null,e);return n.type=e,n};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:Ar,render:e}};D.isValidElement=gt;D.lazy=function(e){return{$$typeof:Pr,_payload:{_status:-1,_result:e},_init:Tl}};D.memo=function(e,n){return{$$typeof:Or,type:e,compare:n===void 0?null:n}};D.useCallback=function(e,n){return Oe().useCallback(e,n)};D.useContext=function(e,n){return Oe().useContext(e,n)};D.useDebugValue=function(){};D.useEffect=function(e,n){return Oe().useEffect(e,n)};D.useImperativeHandle=function(e,n,t){return Oe().useImperativeHandle(e,n,t)};D.useLayoutEffect=function(e,n){return Oe().useLayoutEffect(e,n)};D.useMemo=function(e,n){return Oe().useMemo(e,n)};D.useReducer=function(e,n,t){return Oe().useReducer(e,n,t)};D.useRef=function(e){return Oe().useRef(e)};D.useState=function(e){return Oe().useState(e)};D.version="17.0.2"});var xt=me((bs,Mr)=>{"use strict";Mr.exports=_r()});var kt=me((ws,Nr)=>{Nr.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var ei=me((Ls,Jr)=>{"use strict";var Pn=Object.prototype.hasOwnProperty,Wr=Object.prototype.toString,Qr=Object.defineProperty,Xr=Object.getOwnPropertyDescriptor,Kr=function(n){return typeof Array.isArray=="function"?Array.isArray(n):Wr.call(n)==="[object Array]"},Yr=function(n){if(!n||Wr.call(n)!=="[object Object]")return!1;var t=Pn.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&Pn.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i=="undefined"||Pn.call(n,i)},Gr=function(n,t){Qr&&t.name==="__proto__"?Qr(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},Zr=function(n,t){if(t==="__proto__")if(Pn.call(n,t)){if(Xr)return Xr(n,t).value}else return;return n[t]};Jr.exports=function e(){var n,t,r,i,o,l,a=arguments[0],u=1,s=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<s;++u)if(n=arguments[u],n!=null)for(t in n)r=Zr(a,t),i=Zr(n,t),a!==i&&(c&&i&&(Yr(i)||(o=Kr(i)))?(o?(o=!1,l=r&&Kr(r)?r:[]):l=r&&Yr(r)?r:{},Gr(a,{name:t,newValue:e(c,l,i)})):typeof i!="undefined"&&Gr(a,{name:t,newValue:i}));return a}});var fn=me((qm,no)=>{"use strict";var eo={};function xu(e){var n,t,r=eo[e];if(r)return r;for(r=eo[e]=[],n=0;n<128;n++)t=String.fromCharCode(n),/^[0-9a-z]$/i.test(t)?r.push(t):r.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)r[e.charCodeAt(n)]=e[n];return r}function Kn(e,n,t){var r,i,o,l,a,u="";for(typeof n!="string"&&(t=n,n=Kn.defaultChars),typeof t=="undefined"&&(t=!0),a=xu(n),r=0,i=e.length;r<i;r++){if(o=e.charCodeAt(r),t&&o===37&&r+2<i&&/^[0-9a-f]{2}$/i.test(e.slice(r+1,r+3))){u+=e.slice(r,r+3),r+=2;continue}if(o<128){u+=a[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&r+1<i&&(l=e.charCodeAt(r+1),l>=56320&&l<=57343)){u+=encodeURIComponent(e[r]+e[r+1]),r++;continue}u+="%EF%BF%BD";continue}u+=encodeURIComponent(e[r])}return u}Kn.defaultChars=";/?:@&=+$,-_.!~*'()#";Kn.componentChars="-_.!~*'()";no.exports=Kn});var So=me((td,wo)=>{"use strict";var Cu="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";wo.exports=Cu});var Ao=me((rd,Co)=>{"use strict";var Au=So();function Eo(){}function vo(){}vo.resetWarningCache=Eo;Co.exports=function(){function e(r,i,o,l,a,u){if(u!==Au){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function n(){return e}var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:vo,resetWarningCache:Eo};return t.PropTypes=t,t}});var Po=me((ld,Oo)=>{Oo.exports=Ao()();var id,od});var Wo=me($=>{"use strict";var it=60103,ot=60106,dn=60107,gn=60108,yn=60114,xn=60109,kn=60110,bn=60112,wn=60113,or=60120,Sn=60115,En=60116,Ho=60121,Uo=60122,qo=60117,Vo=60129,$o=60131;typeof Symbol=="function"&&Symbol.for&&(ne=Symbol.for,it=ne("react.element"),ot=ne("react.portal"),dn=ne("react.fragment"),gn=ne("react.strict_mode"),yn=ne("react.profiler"),xn=ne("react.provider"),kn=ne("react.context"),bn=ne("react.forward_ref"),wn=ne("react.suspense"),or=ne("react.suspense_list"),Sn=ne("react.memo"),En=ne("react.lazy"),Ho=ne("react.block"),Uo=ne("react.server.block"),qo=ne("react.fundamental"),Vo=ne("react.debug_trace_mode"),$o=ne("react.legacy_hidden"));var ne;function Se(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case it:switch(e=e.type,e){case dn:case yn:case gn:case wn:case or:return e;default:switch(e=e&&e.$$typeof,e){case kn:case bn:case En:case Sn:case xn:return e;default:return n}}case ot:return n}}}var Mu=xn,Nu=it,Hu=bn,Uu=dn,qu=En,Vu=Sn,$u=ot,Wu=yn,Qu=gn,Xu=wn;$.ContextConsumer=kn;$.ContextProvider=Mu;$.Element=Nu;$.ForwardRef=Hu;$.Fragment=Uu;$.Lazy=qu;$.Memo=Vu;$.Portal=$u;$.Profiler=Wu;$.StrictMode=Qu;$.Suspense=Xu;$.isAsyncMode=function(){return!1};$.isConcurrentMode=function(){return!1};$.isContextConsumer=function(e){return Se(e)===kn};$.isContextProvider=function(e){return Se(e)===xn};$.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===it};$.isForwardRef=function(e){return Se(e)===bn};$.isFragment=function(e){return Se(e)===dn};$.isLazy=function(e){return Se(e)===En};$.isMemo=function(e){return Se(e)===Sn};$.isPortal=function(e){return Se(e)===ot};$.isProfiler=function(e){return Se(e)===yn};$.isStrictMode=function(e){return Se(e)===gn};$.isSuspense=function(e){return Se(e)===wn};$.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===dn||e===yn||e===Vo||e===gn||e===wn||e===or||e===$o||typeof e=="object"&&e!==null&&(e.$$typeof===En||e.$$typeof===Sn||e.$$typeof===xn||e.$$typeof===kn||e.$$typeof===bn||e.$$typeof===qo||e.$$typeof===Ho||e[0]===Uo)};$.typeOf=Se});var Xo=me((cg,Qo)=>{"use strict";Qo.exports=Wo()});var tl=me((mg,nl)=>{var Go=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ku=/\n/g,Yu=/^\s*/,Gu=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Zu=/^:\s*/,Ju=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,es=/^[;\s]*/,ns=/^\s+|\s+$/g,ts=`
3`,Zo="/",Jo="*",Me="",rs="comment",is="declaration";nl.exports=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,r=1;function i(k){var w=k.match(Ku);w&&(t+=w.length);var g=k.lastIndexOf(ts);r=~g?k.length-g:r+k.length}function o(){var k={line:t,column:r};return function(w){return w.position=new l(k),c(),w}}function l(k){this.start=k,this.end={line:t,column:r},this.source=n.source}l.prototype.content=e;var a=[];function u(k){var w=new Error(n.source+":"+t+":"+r+": "+k);if(w.reason=k,w.filename=n.source,w.line=t,w.column=r,w.source=e,n.silent)a.push(w);else throw w}function s(k){var w=k.exec(e);if(!!w){var g=w[0];return i(g),e=e.slice(g.length),w}}function c(){s(Yu)}function y(k){var w;for(k=k||[];w=m();)w!==!1&&k.push(w);return k}function m(){var k=o();if(!(Zo!=e.charAt(0)||Jo!=e.charAt(1))){for(var w=2;Me!=e.charAt(w)&&(Jo!=e.charAt(w)||Zo!=e.charAt(w+1));)++w;if(w+=2,Me===e.charAt(w-1))return u("End of comment missing");var g=e.slice(2,w-2);return r+=2,i(g),e=e.slice(w),r+=2,k({type:rs,comment:g})}}function h(){var k=o(),w=s(Gu);if(!!w){if(m(),!s(Zu))return u("property missing ':'");var g=s(Ju),F=k({type:is,property:el(w[0].replace(Go,Me)),value:g?el(g[0].replace(Go,Me)):Me});return s(es),F}}function b(){var k=[];y(k);for(var w;w=h();)w!==!1&&(k.push(w),y(k));return k}return c(),b()};function el(e){return e?e.replace(ns,Me):Me}});var il=me((hg,rl)=>{var os=tl();function ls(e,n){var t=null;if(!e||typeof e!="string")return t;for(var r,i=os(e),o=typeof n=="function",l,a,u=0,s=i.length;u<s;u++)r=i[u],l=r.property,a=r.value,o?n(l,a,r):a&&(t||(t={}),t[l]=a);return t}rl.exports=ls});var gs={};pt(gs,{default:()=>ds,uriTransformer:()=>rt});var at=ge(xt());var Vr=ge(kt());var we={basename:Ll,dirname:Dl,extname:Rl,join:Bl,sep:"/"};function Ll(e,n){var t=0,r=-1,i,o,l,a;if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');if(tn(e),i=e.length,n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";for(o=-1,a=n.length-1;i--;)if(e.charCodeAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),a>-1&&(e.charCodeAt(i)===n.charCodeAt(a--)?a<0&&(r=i):(a=-1,r=o));return t===r?r=o:r<0&&(r=e.length),e.slice(t,r)}function Dl(e){var n,t,r;if(tn(e),e.length===0)return".";for(n=-1,r=e.length;--r;)if(e.charCodeAt(r)===47){if(t){n=r;break}}else t||(t=!0);return n<0?e.charCodeAt(0)===47?"/":".":n===1&&e.charCodeAt(0)===47?"//":e.slice(0,n)}function Rl(e){var n=-1,t=0,r=-1,i=0,o,l,a;for(tn(e),a=e.length;a--;){if(l=e.charCodeAt(a),l===47){if(o){t=a+1;break}continue}r<0&&(o=!0,r=a+1),l===46?n<0?n=a:i!==1&&(i=1):n>-1&&(i=-1)}return n<0||r<0||i===0||i===1&&n===r-1&&n===t+1?"":e.slice(n,r)}function Bl(...e){for(var n=-1,t;++n<e.length;)tn(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":_l(t)}function _l(e){var n,t;return tn(e),n=e.charCodeAt(0)===47,t=Ml(e,!n),t.length===0&&!n&&(t="."),t.length>0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function Ml(e,n){for(var t="",r=0,i=-1,o=0,l=-1,a,u;++l<=e.length;){if(l<e.length)a=e.charCodeAt(l);else{if(a===47)break;a=47}if(a===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(t.length<2||r!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){if(u=t.lastIndexOf("/"),u!==t.length-1){u<0?(t="",r=0):(t=t.slice(0,u),r=t.length-1-t.lastIndexOf("/")),i=l,o=0;continue}}else if(t.length>0){t="",r=0,i=l,o=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,l):t=e.slice(i+1,l),r=l-i-1;i=l,o=0}else a===46&&o>-1?o++:o=-1}return t}function tn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var Hr={cwd:Nl};function Nl(){return"/"}var $e={}.hasOwnProperty;function Le(e){return!e||typeof e!="object"?"":$e.call(e,"position")||$e.call(e,"type")?Ur(e.position):$e.call(e,"start")||$e.call(e,"end")?Ur(e):$e.call(e,"line")||$e.call(e,"column")?bt(e):""}function bt(e){return qr(e&&e.line)+":"+qr(e&&e.column)}function Ur(e){return bt(e&&e.start)+"-"+bt(e&&e.end)}function qr(e){return e&&typeof e=="number"?e:1}var pe=class extends Error{constructor(n,t,r){var i=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}},l;super();typeof t=="string"&&(r=t,t=null),typeof r=="string"&&(l=r.indexOf(":"),l===-1?i[1]=r:(i[0]=r.slice(0,l),i[1]=r.slice(l+1))),t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=Le(t)||"1:1",this.message=typeof n=="object"?n.message:n,this.stack=typeof n=="object"?n.stack:"",this.reason=this.message,this.line=o.start.line,this.column=o.start.column,this.source=i[0],this.ruleId=i[1],this.position=o,this.file,this.fatal,this.url,this.note}};pe.prototype.file="";pe.prototype.name="";pe.prototype.reason="";pe.prototype.message="";pe.prototype.stack="";pe.prototype.fatal=null;pe.prototype.column=null;pe.prototype.line=null;pe.prototype.source=null;pe.prototype.ruleId=null;pe.prototype.position=null;var wt=["history","path","basename","stem","extname","dirname"],We=class{constructor(n){var t=-1,r,i;for(n?typeof n=="string"||(0,Vr.default)(n)?r={value:n}:r=n:r={},this.data={},this.messages=[],this.history=[],this.cwd=Hr.cwd(),this.value,this.stored,this.result;++t<wt.length;)i=wt[t],i in r&&r[i]!==void 0&&(this[i]=i==="history"?r[i].concat():r[i]);for(i in r)wt.includes(i)||(this[i]=r[i])}get path(){return this.history[this.history.length-1]}set path(n){Et(n,"path"),this.path!==n&&this.history.push(n)}get dirname(){return typeof this.path=="string"?we.dirname(this.path):void 0}set dirname(n){$r(this.path,"dirname"),this.path=we.join(n||"",this.basename)}get basename(){return typeof this.path=="string"?we.basename(this.path):void 0}set basename(n){Et(n,"basename"),St(n,"basename"),this.path=we.join(this.dirname||"",n)}get extname(){return typeof this.path=="string"?we.extname(this.path):void 0}set extname(n){if(St(n,"extname"),$r(this.path,"extname"),n){if(n.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=we.join(this.dirname,this.stem+(n||""))}get stem(){return typeof this.path=="string"?we.basename(this.path,this.extname):void 0}set stem(n){Et(n,"stem"),St(n,"stem"),this.path=we.join(this.dirname||"",n+(this.extname||""))}toString(n){return(this.value||"").toString(n)}message(n,t,r){var i=new pe(n,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(n,t,r){var i=this.message(n,t,r);return i.fatal=null,i}fail(n,t,r){var i=this.message(n,t,r);throw i.fatal=!0,i}};function St(e,n){if(e&&e.includes(we.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+we.sep+"`")}function Et(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function $r(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function vt(e){if(e)throw e}var ti=ge(kt()),Ct=ge(ei());function rn(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let n=Object.getPrototypeOf(e);return n===null||n===Object.prototype}function ni(){let e=[],n={run:t,use:r};return n;function t(...i){let o=-1,l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...i);function a(u,...s){let c=e[++o],y=-1;if(u){l(u);return}for(;++y<i.length;)(s[y]===null||s[y]===void 0)&&(s[y]=i[y]);i=s,c?Hl(c,a)(...s):l(null,...s)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),n}}function Hl(e,n){let t;return r;function r(...l){let a=e.length>l.length,u;a&&l.push(i);try{u=e(...l)}catch(s){let c=s;if(a&&t)throw c;return i(c)}a||(u instanceof Promise?u.then(o,i):u instanceof Error?i(u):o(u))}function i(l,...a){t||(t=!0,n(l,...a))}function o(l){i(null,l)}}var At=ii().freeze(),ri={}.hasOwnProperty;function ii(){let e=ni(),n=[],t={},r,i=-1;return o.data=l,o.Parser=void 0,o.Compiler=void 0,o.freeze=a,o.attachers=n,o.use=u,o.parse=s,o.stringify=c,o.run=y,o.runSync=m,o.process=h,o.processSync=b,o;function o(){let k=ii(),w=-1;for(;++w<n.length;)k.use(...n[w]);return k.data((0,Ct.default)(!0,{},t)),k}function l(k,w){return typeof k=="string"?arguments.length===2?(Ft("data",r),t[k]=w,o):ri.call(t,k)&&t[k]||null:k?(Ft("data",r),t=k,o):t}function a(){if(r)return o;for(;++i<n.length;){let[k,...w]=n[i];if(w[0]===!1)continue;w[0]===!0&&(w[1]=void 0);let g=k.call(o,...w);typeof g=="function"&&e.use(g)}return r=!0,i=Number.POSITIVE_INFINITY,o}function u(k,...w){let g;if(Ft("use",r),k!=null)if(typeof k=="function")B(k,...w);else if(typeof k=="object")Array.isArray(k)?R(k):C(k);else throw new TypeError("Expected usable value, not `"+k+"`");return g&&(t.settings=Object.assign(t.settings||{},g)),o;function F(x){if(typeof x=="function")B(x);else if(typeof x=="object")if(Array.isArray(x)){let[j,...T]=x;B(j,...T)}else C(x);else throw new TypeError("Expected usable value, not `"+x+"`")}function C(x){R(x.plugins),x.settings&&(g=Object.assign(g||{},x.settings))}function R(x){let j=-1;if(x!=null)if(Array.isArray(x))for(;++j<x.length;){let T=x[j];F(T)}else throw new TypeError("Expected a list of plugins, not `"+x+"`")}function B(x,j){let T=-1,z;for(;++T<n.length;)if(n[T][0]===x){z=n[T];break}z?(rn(z[1])&&rn(j)&&(j=(0,Ct.default)(!0,z[1],j)),z[1]=j):n.push([...arguments])}}function s(k){o.freeze();let w=on(k),g=o.Parser;return Ot("parse",g),oi(g,"parse")?new g(String(w),w).parse():g(String(w),w)}function c(k,w){o.freeze();let g=on(w),F=o.Compiler;return Pt("stringify",F),li(k),oi(F,"compile")?new F(k,g).compile():F(k,g)}function y(k,w,g){if(li(k),o.freeze(),!g&&typeof w=="function"&&(g=w,w=void 0),!g)return new Promise(F);F(null,g);function F(C,R){e.run(k,on(w),B);function B(x,j,T){j=j||k,x?R(x):C?C(j):g(null,j,T)}}}function m(k,w){let g,F;return o.run(k,w,C),ai("runSync","run",F),g;function C(R,B){vt(R),g=B,F=!0}}function h(k,w){if(o.freeze(),Ot("process",o.Parser),Pt("process",o.Compiler),!w)return new Promise(g);g(null,w);function g(F,C){let R=on(k);o.run(o.parse(R),R,(x,j,T)=>{if(x||!j||!T)B(x);else{let z=o.stringify(j,T);z==null||(Vl(z)?T.value=z:T.result=z),B(x,T)}});function B(x,j){x||!j?C(x):F?F(j):w(null,j)}}}function b(k){let w;o.freeze(),Ot("processSync",o.Parser),Pt("processSync",o.Compiler);let g=on(k);return o.process(g,F),ai("processSync","process",w),g;function F(C){w=!0,vt(C)}}}function oi(e,n){return typeof e=="function"&&e.prototype&&(Ul(e.prototype)||n in e.prototype)}function Ul(e){let n;for(n in e)if(ri.call(e,n))return!0;return!1}function Ot(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Pt(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Ft(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function li(e){if(!rn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function ai(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function on(e){return ql(e)?e:new We(e)}function ql(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Vl(e){return typeof e=="string"||(0,ti.default)(e)}function ui(e,n){var{includeImageAlt:t=!0}=n||{};return si(e,t)}function si(e,n){return e&&typeof e=="object"&&(e.value||(n?e.alt:"")||"children"in e&&ci(e.children,n)||Array.isArray(e)&&ci(e,n))||""}function ci(e,n){for(var t=[],r=-1;++r<e.length;)t[r]=si(e[r],n);return t.join("")}function ie(e,n,t,r){let i=e.length,o=0,l;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)l=Array.from(r),l.unshift(n,t),[].splice.apply(e,l);else for(t&&[].splice.apply(e,[n,t]);o<r.length;)l=r.slice(o,o+1e4),l.unshift(n,0),[].splice.apply(e,l),o+=1e4,n+=1e4}function le(e,n){return e.length>0?(ie(e,e.length,0,n),e):n}var pi={}.hasOwnProperty;function fi(e){let n={},t=-1;for(;++t<e.length;)$l(n,e[t]);return n}function $l(e,n){let t;for(t in n){let i=(pi.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t],l;for(l in o){pi.call(i,l)||(i[l]=[]);let a=o[l];Wl(i[l],Array.isArray(a)?a:a?[a]:[])}}}function Wl(e,n){let t=-1,r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);ie(e,0,0,r)}var mi=/[!-/:-@[-`{-~\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]/;var he=Fe(/[A-Za-z]/),ln=Fe(/\d/),hi=Fe(/[\dA-Fa-f]/),ae=Fe(/[\dA-Za-z]/),di=Fe(/[!-/:-@[-`{-~]/),jt=Fe(/[#-'*+\--9=?A-Z^-~]/);function an(e){return e!==null&&(e<32||e===127)}function G(e){return e!==null&&(e<0||e===32)}function v(e){return e!==null&&e<-2}function N(e){return e===-2||e===-1||e===32}var gi=Fe(/\s/),yi=Fe(mi);function Fe(e){return n;function n(t){return t!==null&&e.test(String.fromCharCode(t))}}function A(e,n,t,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return l;function l(u){return N(u)?(e.enter(t),a(u)):n(u)}function a(u){return N(u)&&o++<i?(e.consume(u),a):(e.exit(t),n(u))}}var xi={tokenize:Ql};function Ql(e){let n=e.attempt(this.parser.constructs.contentInitial,r,i),t;return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),A(e,n,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){let u=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=u),t=u,l(a)}function l(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return v(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}var ki={tokenize:Xl},bi={tokenize:Kl};function Xl(e){let n=this,t=[],r=0,i,o,l;return a;function a(C){if(r<t.length){let R=t[r];return n.containerState=R[1],e.attempt(R[0].continuation,u,s)(C)}return s(C)}function u(C){return n.containerState._closeFlow&&F(),r++,a(C)}function s(C){if(r===t.length){if(!i)return m(C);if(i.currentConstruct&&i.currentConstruct.concrete)return b(C);n.interrupt=Boolean(i.currentConstruct)}return n.containerState={},e.check(bi,c,y)(C)}function c(C){return i&&F(),g(r),m(C)}function y(C){return n.parser.lazy[n.now().line]=r!==t.length,l=n.now().offset,b(C)}function m(C){return n.containerState={},e.attempt(bi,h,b)(C)}function h(C){return r++,t.push([n.currentConstruct,n.containerState]),m(C)}function b(C){if(C===null){i&&F(),g(0),e.consume(C);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:i}),k(C)}function k(C){if(C===null){w(e.exit("chunkFlow"),!0),g(0),e.consume(C);return}return v(C)?(e.consume(C),w(e.exit("chunkFlow")),r=0,n.interrupt=void 0,a):(e.consume(C),k)}function w(C,R){let B=n.sliceStream(C);if(R&&B.push(null),C.previous=o,o&&(o.next=C),o=C,i.defineSkip(C.start),i.write(B),n.parser.lazy[C.start.line]){let x=i.events.length;for(;x--;)if(i.events[x][1].start.offset<l&&(!i.events[x][1].end||i.events[x][1].end.offset>l))return;let j=n.events.length,T=j,z,te;for(;T--;)if(n.events[T][0]==="exit"&&n.events[T][1].type==="chunkFlow"){if(z){te=n.events[T][1].end;break}z=!0}for(g(r),x=j;x<n.events.length;)n.events[x][1].end=Object.assign({},te),x++;ie(n.events,T+1,0,n.events.slice(j)),n.events.length=x}}function g(C){let R=t.length;for(;R-- >C;){let B=t[R];n.containerState=B[1],B[0].exit.call(n,e)}t.length=C}function F(){i.write([null]),o=void 0,i=void 0,n.containerState._closeFlow=void 0}}function Kl(e,n,t){return A(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function It(e){if(e===null||G(e)||gi(e))return 1;if(yi(e))return 2}function Qe(e,n,t){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(n=o(n,t),r.push(o))}return n}var un={name:"attention",tokenize:Gl,resolveAll:Yl};function Yl(e,n){let t=-1,r,i,o,l,a,u,s,c;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;let y=Object.assign({},e[r][1].end),m=Object.assign({},e[t][1].start);wi(y,-u),wi(m,u),l={type:u>1?"strongSequence":"emphasisSequence",start:y,end:Object.assign({},e[r][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:m},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[t][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},l.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},l.start),e[t][1].start=Object.assign({},a.end),s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=le(s,[["enter",e[r][1],n],["exit",e[r][1],n]])),s=le(s,[["enter",i,n],["enter",l,n],["exit",l,n],["enter",o,n]]),s=le(s,Qe(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),s=le(s,[["exit",o,n],["enter",a,n],["exit",a,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(c=2,s=le(s,[["enter",e[t][1],n],["exit",e[t][1],n]])):c=0,ie(e,r-1,t-r+3,s),t=r+s.length-c-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function Gl(e,n){let t=It(this.previous),r;return i;function i(l){return e.enter("attentionSequence"),r=l,o(l)}function o(l){if(l===r)return e.consume(l),o;let a=e.exit("attentionSequence"),u=It(l),s=!u||u===2&&t,c=!t||t===2&&u;return a._open=Boolean(r===42?s:s&&(t||!c)),a._close=Boolean(r===42?c:c&&(u||!s)),n(l)}}function wi(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}var Tt={name:"autolink",tokenize:Zl};function Zl(e,n,t){let r=1;return i;function i(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(b){return he(b)?(e.consume(b),l):jt(b)?s(b):t(b)}function l(b){return b===43||b===45||b===46||ae(b)?a(b):s(b)}function a(b){return b===58?(e.consume(b),u):(b===43||b===45||b===46||ae(b))&&r++<32?(e.consume(b),a):s(b)}function u(b){return b===62?(e.exit("autolinkProtocol"),h(b)):b===null||b===32||b===60||an(b)?t(b):(e.consume(b),u)}function s(b){return b===64?(e.consume(b),r=0,c):jt(b)?(e.consume(b),s):t(b)}function c(b){return ae(b)?y(b):t(b)}function y(b){return b===46?(e.consume(b),r=0,c):b===62?(e.exit("autolinkProtocol").type="autolinkEmail",h(b)):m(b)}function m(b){return(b===45||ae(b))&&r++<63?(e.consume(b),b===45?m:y):t(b)}function h(b){return e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),n}}var je={tokenize:Jl,partial:!0};function Jl(e,n,t){return A(e,r,"linePrefix");function r(i){return i===null||v(i)?n(i):t(i)}}var Fn={name:"blockQuote",tokenize:ea,continuation:{tokenize:na},exit:ta};function ea(e,n,t){let r=this;return i;function i(l){if(l===62){let a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return t(l)}function o(l){return N(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(l))}}function na(e,n,t){return A(e,e.attempt(Fn,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ta(e){e.exit("blockQuote")}var jn={name:"characterEscape",tokenize:ra};function ra(e,n,t){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return di(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(o)}}var ia=59,In;function Tn(e){var n="&"+e+";",t;return In=In||document.createElement("i"),In.innerHTML=n,t=In.textContent,t.charCodeAt(t.length-1)===ia&&e!=="semi"||t===n?!1:t}var zn={name:"characterReference",tokenize:oa};function oa(e,n,t){let r=this,i=0,o,l;return a;function a(y){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),u}function u(y){return y===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(y),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=ae,c(y))}function s(y){return y===88||y===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(y),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=hi,c):(e.enter("characterReferenceValue"),o=7,l=ln,c(y))}function c(y){let m;return y===59&&i?(m=e.exit("characterReferenceValue"),l===ae&&!Tn(r.sliceSerialize(m))?t(y):(e.enter("characterReferenceMarker"),e.consume(y),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)):l(y)&&i++<o?(e.consume(y),c):t(y)}}var Ln={name:"codeFenced",tokenize:la,concrete:!0};function la(e,n,t){let r=this,i={tokenize:B,partial:!0},o={tokenize:R,partial:!0},l=this.events[this.events.length-1],a=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,u=0,s;return c;function c(x){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s=x,y(x)}function y(x){return x===s?(e.consume(x),u++,y):(e.exit("codeFencedFenceSequence"),u<3?t(x):A(e,m,"whitespace")(x))}function m(x){return x===null||v(x)?w(x):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(x))}function h(x){return x===null||G(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),A(e,b,"whitespace")(x)):x===96&&x===s?t(x):(e.consume(x),h)}function b(x){return x===null||v(x)?w(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),k(x))}function k(x){return x===null||v(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),w(x)):x===96&&x===s?t(x):(e.consume(x),k)}function w(x){return e.exit("codeFencedFence"),r.interrupt?n(x):g(x)}function g(x){return x===null?C(x):v(x)?e.attempt(o,e.attempt(i,C,a?A(e,g,"linePrefix",a+1):g),C)(x):(e.enter("codeFlowValue"),F(x))}function F(x){return x===null||v(x)?(e.exit("codeFlowValue"),g(x)):(e.consume(x),F)}function C(x){return e.exit("codeFenced"),n(x)}function R(x,j,T){let z=this;return te;function te(V){return x.enter("lineEnding"),x.consume(V),x.exit("lineEnding"),H}function H(V){return z.parser.lazy[z.now().line]?T(V):j(V)}}function B(x,j,T){let z=0;return A(x,te,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function te(E){return x.enter("codeFencedFence"),x.enter("codeFencedFenceSequence"),H(E)}function H(E){return E===s?(x.consume(E),z++,H):z<u?T(E):(x.exit("codeFencedFenceSequence"),A(x,V,"whitespace")(E))}function V(E){return E===null||v(E)?(x.exit("codeFencedFence"),j(E)):T(E)}}}var sn={name:"codeIndented",tokenize:ua},aa={tokenize:sa,partial:!0};function ua(e,n,t){let r=this;return i;function i(s){return e.enter("codeIndented"),A(e,o,"linePrefix",4+1)(s)}function o(s){let c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?l(s):t(s)}function l(s){return s===null?u(s):v(s)?e.attempt(aa,l,u)(s):(e.enter("codeFlowValue"),a(s))}function a(s){return s===null||v(s)?(e.exit("codeFlowValue"),l(s)):(e.consume(s),a)}function u(s){return e.exit("codeIndented"),n(s)}}function sa(e,n,t){let r=this;return i;function i(l){return r.parser.lazy[r.now().line]?t(l):v(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):A(e,o,"linePrefix",4+1)(l)}function o(l){let a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(l):v(l)?i(l):t(l)}}var zt={name:"codeText",tokenize:fa,resolve:ca,previous:pa};function ca(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),n-=r-i-2,r=i+2),i=void 0);return e}function pa(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function fa(e,n,t){let r=this,i=0,o,l;return a;function a(m){return e.enter("codeText"),e.enter("codeTextSequence"),u(m)}function u(m){return m===96?(e.consume(m),i++,u):(e.exit("codeTextSequence"),s(m))}function s(m){return m===null?t(m):m===96?(l=e.enter("codeTextSequence"),o=0,y(m)):m===32?(e.enter("space"),e.consume(m),e.exit("space"),s):v(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(m))}function c(m){return m===null||m===32||m===96||v(m)?(e.exit("codeTextData"),s(m)):(e.consume(m),c)}function y(m){return m===96?(e.consume(m),o++,y):o===i?(e.exit("codeTextSequence"),e.exit("codeText"),n(m)):(l.type="codeTextData",c(m))}}function Dn(e){let n={},t=-1,r,i,o,l,a,u,s;for(;++t<e.length;){for(;t in n;)t=n[t];if(r=e[t],t&&r[1].type==="chunkFlow"&&e[t-1][1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,o=0,o<u.length&&u[o][1].type==="lineEndingBlank"&&(o+=2),o<u.length&&u[o][1].type==="content"))for(;++o<u.length&&u[o][1].type!=="content";)u[o][1].type==="chunkText"&&(u[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,ma(e,t)),t=n[t],s=!0);else if(r[1]._container){for(o=t,i=void 0;o--&&(l=e[o],l[1].type==="lineEnding"||l[1].type==="lineEndingBlank");)l[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);i&&(r[1].end=Object.assign({},e[i][1].start),a=e.slice(i,t),a.unshift(r),ie(e,i,t-i+1,a))}}return!s}function ma(e,n){let t=e[n][1],r=e[n][2],i=n-1,o=[],l=t._tokenizer||r.parser[t.contentType](t.start),a=l.events,u=[],s={},c,y,m=-1,h=t,b=0,k=0,w=[k];for(;h;){for(;e[++i][1]!==h;);o.push(i),h._tokenizer||(c=r.sliceStream(h),h.next||c.push(null),y&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),y=h,h=h.next}for(h=t;++m<a.length;)a[m][0]==="exit"&&a[m-1][0]==="enter"&&a[m][1].type===a[m-1][1].type&&a[m][1].start.line!==a[m][1].end.line&&(k=m+1,w.push(k),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):w.pop(),m=w.length;m--;){let g=a.slice(w[m],w[m+1]),F=o.pop();u.unshift([F,F+g.length-1]),ie(e,F,2,g)}for(m=-1;++m<u.length;)s[b+u[m][0]]=b+u[m][1],b+=u[m][1]-u[m][0]-1;return s}var Lt={tokenize:ga,resolve:da},ha={tokenize:ya,partial:!0};function da(e){return Dn(e),e}function ga(e,n){let t;return r;function r(a){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):v(a)?e.check(ha,l,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),n(a)}function l(a){return e.consume(a),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function ya(e,n,t){let r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),A(e,o,"linePrefix")}function o(l){if(l===null||v(l))return t(l);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(l):e.interrupt(r.parser.constructs.flow,t,n)(l)}}function Rn(e,n,t,r,i,o,l,a,u){let s=u||Number.POSITIVE_INFINITY,c=0;return y;function y(g){return g===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(g),e.exit(o),m):g===null||g===41||an(g)?t(g):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),k(g))}function m(g){return g===62?(e.enter(o),e.consume(g),e.exit(o),e.exit(i),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),h(g))}function h(g){return g===62?(e.exit("chunkString"),e.exit(a),m(g)):g===null||g===60||v(g)?t(g):(e.consume(g),g===92?b:h)}function b(g){return g===60||g===62||g===92?(e.consume(g),h):h(g)}function k(g){return g===40?++c>s?t(g):(e.consume(g),k):g===41?c--?(e.consume(g),k):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),n(g)):g===null||G(g)?c?t(g):(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),n(g)):an(g)?t(g):(e.consume(g),g===92?w:k)}function w(g){return g===40||g===41||g===92?(e.consume(g),k):k(g)}}function Bn(e,n,t,r,i,o){let l=this,a=0,u;return s;function s(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(o),c}function c(h){return h===null||h===91||h===93&&!u||h===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(h):h===93?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),n):v(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),y(h))}function y(h){return h===null||h===91||h===93||v(h)||a++>999?(e.exit("chunkString"),c(h)):(e.consume(h),u=u||!N(h),h===92?m:y)}function m(h){return h===91||h===92||h===93?(e.consume(h),a++,y):y(h)}}function _n(e,n,t,r,i,o){let l;return a;function a(m){return e.enter(r),e.enter(i),e.consume(m),e.exit(i),l=m===40?41:m,u}function u(m){return m===l?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),n):(e.enter(o),s(m))}function s(m){return m===l?(e.exit(o),u(l)):m===null?t(m):v(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),A(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===l||m===null||v(m)?(e.exit("chunkString"),s(m)):(e.consume(m),m===92?y:c)}function y(m){return m===l||m===92?(e.consume(m),c):c(m)}}function De(e,n){let t;return r;function r(i){return v(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):N(i)?A(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var Dt={name:"definition",tokenize:ka},xa={tokenize:ba,partial:!0};function ka(e,n,t){let r=this,i;return o;function o(u){return e.enter("definition"),Bn.call(r,e,l,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(u)}function l(u){return i=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),u===58?(e.enter("definitionMarker"),e.consume(u),e.exit("definitionMarker"),De(e,Rn(e,e.attempt(xa,A(e,a,"whitespace"),A(e,a,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(u)}function a(u){return u===null||v(u)?(e.exit("definition"),r.parser.defined.includes(i)||r.parser.defined.push(i),n(u)):t(u)}}function ba(e,n,t){return r;function r(l){return G(l)?De(e,i)(l):t(l)}function i(l){return l===34||l===39||l===40?_n(e,A(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(l):t(l)}function o(l){return l===null||v(l)?n(l):t(l)}}var Rt={name:"hardBreakEscape",tokenize:wa};function wa(e,n,t){return r;function r(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),i}function i(o){return v(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(o)):t(o)}}var Bt={name:"headingAtx",tokenize:Ea,resolve:Sa};function Sa(e,n){let t=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},o={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},ie(e,r,t-r+1,[["enter",i,n],["enter",o,n],["exit",o,n],["exit",i,n]])),e}function Ea(e,n,t){let r=this,i=0;return o;function o(c){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&i++<6?(e.consume(c),l):c===null||G(c)?(e.exit("atxHeadingSequence"),r.interrupt?n(c):a(c)):t(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||v(c)?(e.exit("atxHeading"),n(c)):N(c)?A(e,a,"whitespace")(c):(e.enter("atxHeadingText"),s(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),a(c))}function s(c){return c===null||c===35||G(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),s)}}var 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","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],_t=["pre","script","style","textarea"];var Mt={name:"htmlFlow",tokenize:Aa,resolveTo:Ca,concrete:!0},va={tokenize:Oa,partial:!0};function Ca(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function Aa(e,n,t){let r=this,i,o,l,a,u;return s;function s(f){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(f),c}function c(f){return f===33?(e.consume(f),y):f===47?(e.consume(f),b):f===63?(e.consume(f),i=3,r.interrupt?n:se):he(f)?(e.consume(f),l=String.fromCharCode(f),o=!0,k):t(f)}function y(f){return f===45?(e.consume(f),i=2,m):f===91?(e.consume(f),i=5,l="CDATA[",a=0,h):he(f)?(e.consume(f),i=4,r.interrupt?n:se):t(f)}function m(f){return f===45?(e.consume(f),r.interrupt?n:se):t(f)}function h(f){return f===l.charCodeAt(a++)?(e.consume(f),a===l.length?r.interrupt?n:H:h):t(f)}function b(f){return he(f)?(e.consume(f),l=String.fromCharCode(f),k):t(f)}function k(f){return f===null||f===47||f===62||G(f)?f!==47&&o&&_t.includes(l.toLowerCase())?(i=1,r.interrupt?n(f):H(f)):Si.includes(l.toLowerCase())?(i=6,f===47?(e.consume(f),w):r.interrupt?n(f):H(f)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(f):o?F(f):g(f)):f===45||ae(f)?(e.consume(f),l+=String.fromCharCode(f),k):t(f)}function w(f){return f===62?(e.consume(f),r.interrupt?n:H):t(f)}function g(f){return N(f)?(e.consume(f),g):z(f)}function F(f){return f===47?(e.consume(f),z):f===58||f===95||he(f)?(e.consume(f),C):N(f)?(e.consume(f),F):z(f)}function C(f){return f===45||f===46||f===58||f===95||ae(f)?(e.consume(f),C):R(f)}function R(f){return f===61?(e.consume(f),B):N(f)?(e.consume(f),R):F(f)}function B(f){return f===null||f===60||f===61||f===62||f===96?t(f):f===34||f===39?(e.consume(f),u=f,x):N(f)?(e.consume(f),B):(u=null,j(f))}function x(f){return f===null||v(f)?t(f):f===u?(e.consume(f),T):(e.consume(f),x)}function j(f){return f===null||f===34||f===39||f===60||f===61||f===62||f===96||G(f)?R(f):(e.consume(f),j)}function T(f){return f===47||f===62||N(f)?F(f):t(f)}function z(f){return f===62?(e.consume(f),te):t(f)}function te(f){return N(f)?(e.consume(f),te):f===null||v(f)?H(f):t(f)}function H(f){return f===45&&i===2?(e.consume(f),Z):f===60&&i===1?(e.consume(f),ue):f===62&&i===4?(e.consume(f),Y):f===63&&i===3?(e.consume(f),se):f===93&&i===5?(e.consume(f),J):v(f)&&(i===6||i===7)?e.check(va,Y,V)(f):f===null||v(f)?V(f):(e.consume(f),H)}function V(f){return e.exit("htmlFlowData"),E(f)}function E(f){return f===null?p(f):v(f)?e.attempt({tokenize:L,partial:!0},E,p)(f):(e.enter("htmlFlowData"),H(f))}function L(f,Ke,Te){return Ne;function Ne(ve){return f.enter("lineEnding"),f.consume(ve),f.exit("lineEnding"),Ye}function Ye(ve){return r.parser.lazy[r.now().line]?Te(ve):Ke(ve)}}function Z(f){return f===45?(e.consume(f),se):H(f)}function ue(f){return f===47?(e.consume(f),l="",ke):H(f)}function ke(f){return f===62&&_t.includes(l.toLowerCase())?(e.consume(f),Y):he(f)&&l.length<8?(e.consume(f),l+=String.fromCharCode(f),ke):H(f)}function J(f){return f===93?(e.consume(f),se):H(f)}function se(f){return f===62?(e.consume(f),Y):H(f)}function Y(f){return f===null||v(f)?(e.exit("htmlFlowData"),p(f)):(e.consume(f),Y)}function p(f){return e.exit("htmlFlow"),n(f)}}function Oa(e,n,t){return r;function r(i){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(je,n,t)}}var Nt={name:"htmlText",tokenize:Pa};function Pa(e,n,t){let r=this,i,o,l,a;return u;function u(p){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(p),s}function s(p){return p===33?(e.consume(p),c):p===47?(e.consume(p),j):p===63?(e.consume(p),B):he(p)?(e.consume(p),te):t(p)}function c(p){return p===45?(e.consume(p),y):p===91?(e.consume(p),o="CDATA[",l=0,w):he(p)?(e.consume(p),R):t(p)}function y(p){return p===45?(e.consume(p),m):t(p)}function m(p){return p===null||p===62?t(p):p===45?(e.consume(p),h):b(p)}function h(p){return p===null||p===62?t(p):b(p)}function b(p){return p===null?t(p):p===45?(e.consume(p),k):v(p)?(a=b,J(p)):(e.consume(p),b)}function k(p){return p===45?(e.consume(p),Y):b(p)}function w(p){return p===o.charCodeAt(l++)?(e.consume(p),l===o.length?g:w):t(p)}function g(p){return p===null?t(p):p===93?(e.consume(p),F):v(p)?(a=g,J(p)):(e.consume(p),g)}function F(p){return p===93?(e.consume(p),C):g(p)}function C(p){return p===62?Y(p):p===93?(e.consume(p),C):g(p)}function R(p){return p===null||p===62?Y(p):v(p)?(a=R,J(p)):(e.consume(p),R)}function B(p){return p===null?t(p):p===63?(e.consume(p),x):v(p)?(a=B,J(p)):(e.consume(p),B)}function x(p){return p===62?Y(p):B(p)}function j(p){return he(p)?(e.consume(p),T):t(p)}function T(p){return p===45||ae(p)?(e.consume(p),T):z(p)}function z(p){return v(p)?(a=z,J(p)):N(p)?(e.consume(p),z):Y(p)}function te(p){return p===45||ae(p)?(e.consume(p),te):p===47||p===62||G(p)?H(p):t(p)}function H(p){return p===47?(e.consume(p),Y):p===58||p===95||he(p)?(e.consume(p),V):v(p)?(a=H,J(p)):N(p)?(e.consume(p),H):Y(p)}function V(p){return p===45||p===46||p===58||p===95||ae(p)?(e.consume(p),V):E(p)}function E(p){return p===61?(e.consume(p),L):v(p)?(a=E,J(p)):N(p)?(e.consume(p),E):H(p)}function L(p){return p===null||p===60||p===61||p===62||p===96?t(p):p===34||p===39?(e.consume(p),i=p,Z):v(p)?(a=L,J(p)):N(p)?(e.consume(p),L):(e.consume(p),i=void 0,ke)}function Z(p){return p===i?(e.consume(p),ue):p===null?t(p):v(p)?(a=Z,J(p)):(e.consume(p),Z)}function ue(p){return p===62||p===47||G(p)?H(p):t(p)}function ke(p){return p===null||p===34||p===39||p===60||p===61||p===96?t(p):p===62||G(p)?H(p):(e.consume(p),ke)}function J(p){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),A(e,se,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function se(p){return e.enter("htmlTextData"),a(p)}function Y(p){return p===62?(e.consume(p),e.exit("htmlTextData"),e.exit("htmlText"),n):t(p)}}var Re={name:"labelEnd",tokenize:La,resolveTo:za,resolveAll:Ta},Fa={tokenize:Da},ja={tokenize:Ra},Ia={tokenize:Ba};function Ta(e){let n=-1,t;for(;++n<e.length;)t=e[n][1],(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(e.splice(n+1,t.type==="labelImage"?4:2),t.type="data",n++);return e}function za(e,n){let t=e.length,r=0,i,o,l,a;for(;t--;)if(i=e[t][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=t);let u={type:e[o][1].type==="labelLink"?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[l][1].end)},c={type:"labelText",start:Object.assign({},e[o+r+2][1].end),end:Object.assign({},e[l-2][1].start)};return a=[["enter",u,n],["enter",s,n]],a=le(a,e.slice(o+1,o+r+3)),a=le(a,[["enter",c,n]]),a=le(a,Qe(n.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),n)),a=le(a,[["exit",c,n],e[l-2],e[l-1],["exit",s,n]]),a=le(a,e.slice(l+1)),a=le(a,[["exit",u,n]]),ie(e,o,e.length,a),e}function La(e,n,t){let r=this,i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return a;function a(c){return o?o._inactive?s(c):(l=r.parser.defined.includes(Pe(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelEnd"),u):t(c)}function u(c){return c===40?e.attempt(Fa,n,l?n:s)(c):c===91?e.attempt(ja,n,l?e.attempt(Ia,n,s):s)(c):l?n(c):s(c)}function s(c){return o._balanced=!0,t(c)}}function Da(e,n,t){return r;function r(u){return e.enter("resource"),e.enter("resourceMarker"),e.consume(u),e.exit("resourceMarker"),De(e,i)}function i(u){return u===41?a(u):Rn(e,o,t,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",3)(u)}function o(u){return G(u)?De(e,l)(u):a(u)}function l(u){return u===34||u===39||u===40?_n(e,De(e,a),t,"resourceTitle","resourceTitleMarker","resourceTitleString")(u):a(u)}function a(u){return u===41?(e.enter("resourceMarker"),e.consume(u),e.exit("resourceMarker"),e.exit("resource"),n):t(u)}}function Ra(e,n,t){let r=this;return i;function i(l){return Bn.call(r,e,o,t,"reference","referenceMarker","referenceString")(l)}function o(l){return r.parser.defined.includes(Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(l):t(l)}}function Ba(e,n,t){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),n):t(o)}}var Ht={name:"labelStartImage",tokenize:_a,resolveAll:Re.resolveAll};function _a(e,n,t){let r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),l):t(a)}function l(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):n(a)}}var Ut={name:"labelStartLink",tokenize:Ma,resolveAll:Re.resolveAll};function Ma(e,n,t){let r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(l):n(l)}}var cn={name:"lineEnding",tokenize:Na};function Na(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),A(e,n,"linePrefix")}}var Be={name:"thematicBreak",tokenize:Ha};function Ha(e,n,t){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),i=u,l(u)}function l(u){return u===i?(e.enter("thematicBreakSequence"),a(u)):N(u)?A(e,l,"whitespace")(u):r<3||u!==null&&!v(u)?t(u):(e.exit("thematicBreak"),n(u))}function a(u){return u===i?(e.consume(u),r++,a):(e.exit("thematicBreakSequence"),l(u))}}var oe={name:"list",tokenize:Va,continuation:{tokenize:$a},exit:Qa},Ua={tokenize:Xa,partial:!0},qa={tokenize:Wa,partial:!0};function Va(e,n,t){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(h){let b=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:ln(h)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(Be,t,s)(h):s(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(h)}return t(h)}function u(h){return ln(h)&&++l<10?(e.consume(h),u):(!r.interrupt||l<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),s(h)):t(h)}function s(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(je,r.interrupt?t:c,e.attempt(Ua,m,y))}function c(h){return r.containerState.initialBlankLine=!0,o++,m(h)}function y(h){return N(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),m):t(h)}function m(h){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(h)}}function $a(e,n,t){let r=this;return r.containerState._closeFlow=void 0,e.check(je,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,A(e,n,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!N(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(qa,n,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,A(e,e.attempt(oe,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Wa(e,n,t){let r=this;return A(e,i,"listItemIndent",r.containerState.size+1);function i(o){let l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?n(o):t(o)}}function Qa(e){e.exit(this.containerState.type)}function Xa(e,n,t){let r=this;return A(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(o){let l=r.events[r.events.length-1];return!N(o)&&l&&l[1].type==="listItemPrefixWhitespace"?n(o):t(o)}}var Mn={name:"setextUnderline",tokenize:Ya,resolveTo:Ka};function Ka(e,n){let t=e.length,r,i,o;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!o&&e[t][1].type==="definition"&&(o=t);let l={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,n]),e.splice(o+1,0,["exit",e[r][1],n]),e[r][1].end=Object.assign({},e[o][1].end)):e[r][1]=l,e.push(["exit",l,n]),e}function Ya(e,n,t){let r=this,i=r.events.length,o,l;for(;i--;)if(r.events[i][1].type!=="lineEnding"&&r.events[i][1].type!=="linePrefix"&&r.events[i][1].type!=="content"){l=r.events[i][1].type==="paragraph";break}return a;function a(c){return!r.parser.lazy[r.now().line]&&(r.interrupt||l)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=c,u(c)):t(c)}function u(c){return c===o?(e.consume(c),u):(e.exit("setextHeadingLineSequence"),A(e,s,"lineSuffix")(c))}function s(c){return c===null||v(c)?(e.exit("setextHeadingLine"),n(c)):t(c)}}var Ei={tokenize:Ga};function Ga(e){let n=this,t=e.attempt(je,r,e.attempt(this.parser.constructs.flowInitial,i,A(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Lt,i)),"linePrefix")));return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n.currentConstruct=void 0,t}}var vi={resolveAll:Pi()},Ci=Oi("string"),Ai=Oi("text");function Oi(e){return{tokenize:n,resolveAll:Pi(e==="text"?Za:void 0)};function n(t){let r=this,i=this.parser.constructs[e],o=t.attempt(i,l,a);return l;function l(c){return s(c)?o(c):a(c)}function a(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),u}function u(c){return s(c)?(t.exit("data"),o(c)):(t.consume(c),u)}function s(c){if(c===null)return!0;let y=i[c],m=-1;if(y)for(;++m<y.length;){let h=y[m];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function Pi(e){return n;function n(t,r){let i=-1,o;for(;++i<=t.length;)o===void 0?t[i]&&t[i][1].type==="data"&&(o=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==o+2&&(t[o][1].end=t[i-1][1].end,t.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(t,r):t}}function Za(e,n){let t=-1;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){let r=e[t-1][1],i=n.sliceStream(r),o=i.length,l=-1,a=0,u;for(;o--;){let s=i[o];if(typeof s=="string"){for(l=s.length;s.charCodeAt(l-1)===32;)a++,l--;if(l)break;l=-1}else if(s===-2)u=!0,a++;else if(s!==-1){o++;break}}if(a){let s={type:t===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+o,_bufferIndex:o?l:r.start._bufferIndex+l},end:Object.assign({},r.end)};r.end=Object.assign({},s.start),r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(t,0,["enter",s,n],["exit",s,n]),t+=2)}t++}return e}function Fi(e,n,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},o=[],l=[],a=[],u=!0,s={consume:R,enter:B,exit:x,attempt:z(j),check:z(T),interrupt:z(T,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:k,sliceSerialize:b,now:w,defineSkip:g,write:h},y=n.tokenize.call(c,s),m;return n.resolveAll&&o.push(n),c;function h(E){return l=le(l,E),F(),l[l.length-1]!==null?[]:(te(n,0),c.events=Qe(o,c.events,c),c.events)}function b(E,L){return eu(k(E),L)}function k(E){return Ja(l,E)}function w(){return Object.assign({},r)}function g(E){i[E.line]=E.column,V()}function F(){let E;for(;r._index<l.length;){let L=l[r._index];if(typeof L=="string")for(E=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===E&&r._bufferIndex<L.length;)C(L.charCodeAt(r._bufferIndex));else C(L)}}function C(E){u=void 0,m=E,y=y(E)}function R(E){v(E)?(r.line++,r.column=1,r.offset+=E===-3?2:1,V()):E!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=E,u=!0}function B(E,L){let Z=L||{};return Z.type=E,Z.start=w(),c.events.push(["enter",Z,c]),a.push(Z),Z}function x(E){let L=a.pop();return L.end=w(),c.events.push(["exit",L,c]),L}function j(E,L){te(E,L.from)}function T(E,L){L.restore()}function z(E,L){return Z;function Z(ue,ke,J){let se,Y,p,f;return Array.isArray(ue)?Te(ue):"tokenize"in ue?Te([ue]):Ke(ue);function Ke(ee){return Ge;function Ge(Ce){let He=Ce!==null&&ee[Ce],Ue=Ce!==null&&ee.null,vn=[...Array.isArray(He)?He:He?[He]:[],...Array.isArray(Ue)?Ue:Ue?[Ue]:[]];return Te(vn)(Ce)}}function Te(ee){return se=ee,Y=0,ee.length===0?J:Ne(ee[Y])}function Ne(ee){return Ge;function Ge(Ce){return f=H(),p=ee,ee.partial||(c.currentConstruct=ee),ee.name&&c.parser.constructs.disable.null.includes(ee.name)?ve(Ce):ee.tokenize.call(L?Object.assign(Object.create(c),L):c,s,Ye,ve)(Ce)}}function Ye(ee){return u=!0,E(p,f),ke}function ve(ee){return u=!0,f.restore(),++Y<se.length?Ne(se[Y]):J}}}function te(E,L){E.resolveAll&&!o.includes(E)&&o.push(E),E.resolve&&ie(c.events,L,c.events.length-L,E.resolve(c.events.slice(L),c)),E.resolveTo&&(c.events=E.resolveTo(c.events,c))}function H(){let E=w(),L=c.previous,Z=c.currentConstruct,ue=c.events.length,ke=Array.from(a);return{restore:J,from:ue};function J(){r=E,c.previous=L,c.currentConstruct=Z,c.events.length=ue,a=ke,V()}}function V(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Ja(e,n){let t=n.start._index,r=n.start._bufferIndex,i=n.end._index,o=n.end._bufferIndex,l;return t===i?l=[e[t].slice(r,o)]:(l=e.slice(t,i),r>-1&&(l[0]=l[0].slice(r)),o>0&&l.push(e[i].slice(0,o))),l}function eu(e,n){let t=-1,r=[],i;for(;++t<e.length;){let o=e[t],l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
4`;break}case-3:{l=`\r
5`;break}case-2:{l=n?" ":" ";break}case-1:{if(!n&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}var qt={};pt(qt,{contentInitial:()=>tu,disable:()=>uu,document:()=>nu,flow:()=>iu,flowInitial:()=>ru,insideSpan:()=>au,string:()=>ou,text:()=>lu});var nu={[42]:oe,[43]:oe,[45]:oe,[48]:oe,[49]:oe,[50]:oe,[51]:oe,[52]:oe,[53]:oe,[54]:oe,[55]:oe,[56]:oe,[57]:oe,[62]:Fn},tu={[91]:Dt},ru={[-2]:sn,[-1]:sn,[32]:sn},iu={[35]:Bt,[42]:Be,[45]:[Mn,Be],[60]:Mt,[61]:Mn,[95]:Be,[96]:Ln,[126]:Ln},ou={[38]:zn,[92]:jn},lu={[-5]:cn,[-4]:cn,[-3]:cn,[33]:Ht,[38]:zn,[42]:un,[60]:[Tt,Nt],[91]:Ut,[92]:[Rt,jn],[93]:Re,[95]:un,[96]:zt},au={null:[un,vi]},uu={null:[]};function ji(e={}){let n=fi([qt].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:r(xi),document:r(ki),flow:r(Ei),string:r(Ci),text:r(Ai)};return t;function r(i){return o;function o(l){return Fi(t,i,l)}}}var Ii=/[\0\t\n\r]/g;function Ti(){let e=1,n="",t=!0,r;return i;function i(o,l,a){let u=[],s,c,y,m,h;for(o=n+o.toString(l),y=0,n="",t&&(o.charCodeAt(0)===65279&&y++,t=void 0);y<o.length;){if(Ii.lastIndex=y,s=Ii.exec(o),m=s&&s.index!==void 0?s.index:o.length,h=o.charCodeAt(m),!s){n=o.slice(y);break}if(h===10&&y===m&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),y<m&&(u.push(o.slice(y,m)),e+=m-y),h){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}y=m+1}return a&&(r&&u.push(-5),n&&u.push(n),u.push(null)),u}}function zi(e){for(;!Dn(e););return e}function Li(e,n){let t=Number.parseInt(e,n);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)}var Vt={}.hasOwnProperty,$t=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),su(t)(zi(ji(t).document().write(Ti()(e,n,!0))))};function su(e={}){let n=Di({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(fr),autolinkProtocol:V,autolinkEmail:V,atxHeading:u(sr),blockQuote:u(Ue),characterEscape:V,characterReference:V,codeFenced:u(vn),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:u(vn,s),codeText:u(ul,s),codeTextData:V,data:V,codeFlowValue:V,definition:u(sl),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:u(cl),hardBreakEscape:u(cr),hardBreakTrailing:u(cr),htmlFlow:u(pr,s),htmlFlowData:V,htmlText:u(pr,s),htmlTextData:V,image:u(pl),label:s,link:u(fr),listItem:u(fl),listItemValue:k,listOrdered:u(mr,b),listUnordered:u(mr),paragraph:u(ml),reference:Ye,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:u(sr),strong:u(hl),thematicBreak:u(gl)},exit:{atxHeading:y(),atxHeadingSequence:T,autolink:y(),autolinkEmail:He,autolinkProtocol:Ce,blockQuote:y(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:ee,characterReferenceMarkerNumeric:ee,characterReferenceValue:Ge,codeFenced:y(C),codeFencedFence:F,codeFencedFenceInfo:w,codeFencedFenceMeta:g,codeFlowValue:E,codeIndented:y(R),codeText:y(J),codeTextData:E,data:E,definition:y(),definitionDestinationString:j,definitionLabelString:B,definitionTitleString:x,emphasis:y(),hardBreakEscape:y(Z),hardBreakTrailing:y(Z),htmlFlow:y(ue),htmlFlowData:E,htmlText:y(ke),htmlTextData:E,image:y(Y),label:f,labelText:p,lineEnding:L,link:y(se),listItem:y(),listOrdered:y(),listUnordered:y(),paragraph:y(),referenceString:ve,resourceDestinationString:Ke,resourceTitleString:Te,resource:Ne,setextHeading:y(H),setextHeadingLineSequence:te,setextHeadingText:z,strong:y(),thematicBreak:y()}},e.mdastExtensions||[]),t={};return r;function r(d){let O={type:"root",children:[]},_=[O],W=[],be=[],Cn={stack:_,tokenStack:W,config:n,enter:c,exit:m,buffer:s,resume:h,setData:o,getData:l},Q=-1;for(;++Q<d.length;)if(d[Q][1].type==="listOrdered"||d[Q][1].type==="listUnordered")if(d[Q][0]==="enter")be.push(Q);else{let ce=be.pop();Q=i(d,ce,Q)}for(Q=-1;++Q<d.length;){let ce=n[d[Q][0]];Vt.call(ce,d[Q][1].type)&&ce[d[Q][1].type].call(Object.assign({sliceSerialize:d[Q][2].sliceSerialize},Cn),d[Q][1])}if(W.length>0)throw new Error("Cannot close document, a token (`"+W[W.length-1].type+"`, "+Le({start:W[W.length-1].start,end:W[W.length-1].end})+") is still open");for(O.position={start:a(d.length>0?d[0][1].start:{line:1,column:1,offset:0}),end:a(d.length>0?d[d.length-2][1].end:{line:1,column:1,offset:0})},Q=-1;++Q<n.transforms.length;)O=n.transforms[Q](O)||O;return O}function i(d,O,_){let W=O-1,be=-1,Cn=!1,Q,ce,Ze,Je;for(;++W<=_;){let K=d[W];if(K[1].type==="listUnordered"||K[1].type==="listOrdered"||K[1].type==="blockQuote"?(K[0]==="enter"?be++:be--,Je=void 0):K[1].type==="lineEndingBlank"?K[0]==="enter"&&(Q&&!Je&&!be&&!Ze&&(Ze=W),Je=void 0):K[1].type==="linePrefix"||K[1].type==="listItemValue"||K[1].type==="listItemMarker"||K[1].type==="listItemPrefix"||K[1].type==="listItemPrefixWhitespace"||(Je=void 0),!be&&K[0]==="enter"&&K[1].type==="listItemPrefix"||be===-1&&K[0]==="exit"&&(K[1].type==="listUnordered"||K[1].type==="listOrdered")){if(Q){let ct=W;for(ce=void 0;ct--;){let Ae=d[ct];if(Ae[1].type==="lineEnding"||Ae[1].type==="lineEndingBlank"){if(Ae[0]==="exit")continue;ce&&(d[ce][1].type="lineEndingBlank",Cn=!0),Ae[1].type="lineEnding",ce=ct}else if(!(Ae[1].type==="linePrefix"||Ae[1].type==="blockQuotePrefix"||Ae[1].type==="blockQuotePrefixWhitespace"||Ae[1].type==="blockQuoteMarker"||Ae[1].type==="listItemIndent"))break}Ze&&(!ce||Ze<ce)&&(Q._spread=!0),Q.end=Object.assign({},ce?d[ce][1].start:K[1].end),d.splice(ce||W,0,["exit",Q,K[2]]),W++,_++}K[1].type==="listItemPrefix"&&(Q={type:"listItem",_spread:!1,start:Object.assign({},K[1].start)},d.splice(W,0,["enter",Q,K[2]]),W++,_++,Ze=void 0,Je=!0)}}return d[O][1]._spread=Cn,_}function o(d,O){t[d]=O}function l(d){return t[d]}function a(d){return{line:d.line,column:d.column,offset:d.offset}}function u(d,O){return _;function _(W){c.call(this,d(W),W),O&&O.call(this,W)}}function s(){this.stack.push({type:"fragment",children:[]})}function c(d,O){return this.stack[this.stack.length-1].children.push(d),this.stack.push(d),this.tokenStack.push(O),d.position={start:a(O.start)},d}function y(d){return O;function O(_){d&&d.call(this,_),m.call(this,_)}}function m(d){let O=this.stack.pop(),_=this.tokenStack.pop();if(_){if(_.type!==d.type)throw new Error("Cannot close `"+d.type+"` ("+Le({start:d.start,end:d.end})+"): a different token (`"+_.type+"`, "+Le({start:_.start,end:_.end})+") is open")}else throw new Error("Cannot close `"+d.type+"` ("+Le({start:d.start,end:d.end})+"): it\u2019s not open");return O.position.end=a(d.end),O}function h(){return ui(this.stack.pop())}function b(){o("expectingFirstListItemValue",!0)}function k(d){l("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(d),10),o("expectingFirstListItemValue"))}function w(){let d=this.resume();this.stack[this.stack.length-1].lang=d}function g(){let d=this.resume();this.stack[this.stack.length-1].meta=d}function F(){l("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function C(){let d=this.resume();this.stack[this.stack.length-1].value=d.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function R(){let d=this.resume();this.stack[this.stack.length-1].value=d.replace(/(\r?\n|\r)$/g,"")}function B(d){let O=this.resume();this.stack[this.stack.length-1].label=O,this.stack[this.stack.length-1].identifier=Pe(this.sliceSerialize(d)).toLowerCase()}function x(){let d=this.resume();this.stack[this.stack.length-1].title=d}function j(){let d=this.resume();this.stack[this.stack.length-1].url=d}function T(d){this.stack[this.stack.length-1].depth||(this.stack[this.stack.length-1].depth=this.sliceSerialize(d).length)}function z(){o("setextHeadingSlurpLineEnding",!0)}function te(d){this.stack[this.stack.length-1].depth=this.sliceSerialize(d).charCodeAt(0)===61?1:2}function H(){o("setextHeadingSlurpLineEnding")}function V(d){let O=this.stack[this.stack.length-1],_=O.children[O.children.length-1];(!_||_.type!=="text")&&(_=dl(),_.position={start:a(d.start)},O.children.push(_)),this.stack.push(_)}function E(d){let O=this.stack.pop();O.value+=this.sliceSerialize(d),O.position.end=a(d.end)}function L(d){let O=this.stack[this.stack.length-1];if(l("atHardBreak")){let _=O.children[O.children.length-1];_.position.end=a(d.end),o("atHardBreak");return}!l("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(O.type)&&(V.call(this,d),E.call(this,d))}function Z(){o("atHardBreak",!0)}function ue(){let d=this.resume();this.stack[this.stack.length-1].value=d}function ke(){let d=this.resume();this.stack[this.stack.length-1].value=d}function J(){let d=this.resume();this.stack[this.stack.length-1].value=d}function se(){let d=this.stack[this.stack.length-1];l("inReference")?(d.type+="Reference",d.referenceType=l("referenceType")||"shortcut",delete d.url,delete d.title):(delete d.identifier,delete d.label,delete d.referenceType),o("referenceType")}function Y(){let d=this.stack[this.stack.length-1];l("inReference")?(d.type+="Reference",d.referenceType=l("referenceType")||"shortcut",delete d.url,delete d.title):(delete d.identifier,delete d.label,delete d.referenceType),o("referenceType")}function p(d){this.stack[this.stack.length-2].identifier=Pe(this.sliceSerialize(d)).toLowerCase()}function f(){let d=this.stack[this.stack.length-1],O=this.resume();this.stack[this.stack.length-1].label=O,o("inReference",!0),this.stack[this.stack.length-1].type==="link"?this.stack[this.stack.length-1].children=d.children:this.stack[this.stack.length-1].alt=O}function Ke(){let d=this.resume();this.stack[this.stack.length-1].url=d}function Te(){let d=this.resume();this.stack[this.stack.length-1].title=d}function Ne(){o("inReference")}function Ye(){o("referenceType","collapsed")}function ve(d){let O=this.resume();this.stack[this.stack.length-1].label=O,this.stack[this.stack.length-1].identifier=Pe(this.sliceSerialize(d)).toLowerCase(),o("referenceType","full")}function ee(d){o("characterReferenceType",d.type)}function Ge(d){let O=this.sliceSerialize(d),_=l("characterReferenceType"),W;_?(W=Li(O,_==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):W=Tn(O);let be=this.stack.pop();be.value+=W,be.position.end=a(d.end)}function Ce(d){E.call(this,d),this.stack[this.stack.length-1].url=this.sliceSerialize(d)}function He(d){E.call(this,d),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(d)}function Ue(){return{type:"blockquote",children:[]}}function vn(){return{type:"code",lang:null,meta:null,value:""}}function ul(){return{type:"inlineCode",value:""}}function sl(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function cl(){return{type:"emphasis",children:[]}}function sr(){return{type:"heading",depth:void 0,children:[]}}function cr(){return{type:"break"}}function pr(){return{type:"html",value:""}}function pl(){return{type:"image",title:null,url:"",alt:null}}function fr(){return{type:"link",title:null,url:"",children:[]}}function mr(d){return{type:"list",ordered:d.type==="listOrdered",start:null,spread:d._spread,children:[]}}function fl(d){return{type:"listItem",spread:d._spread,checked:null,children:[]}}function ml(){return{type:"paragraph",children:[]}}function hl(){return{type:"strong",children:[]}}function dl(){return{type:"text",value:""}}function gl(){return{type:"thematicBreak"}}}function Di(e,n){let t=-1;for(;++t<n.length;){let r=n[t];Array.isArray(r)?Di(e,r):cu(e,r)}return e}function cu(e,n){let t;for(t in n)if(Vt.call(n,t)){let r=t==="canContainEols"||t==="transforms",o=(Vt.call(e,t)?e[t]:void 0)||(e[t]=r?[]:{}),l=n[t];l&&(r?e[t]=[...o,...l]:Object.assign(o,l))}}function Wt(e){Object.assign(this,{Parser:t=>{let r=this.data("settings");return $t(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}var Ri=Wt;var M=function(e,n,t){var r={type:String(e)};return t==null&&(typeof n=="string"||Array.isArray(n))?t=n:Object.assign(r,n),Array.isArray(t)?r.children=t:t!=null&&(r.value=String(t)),r};var Nn={}.hasOwnProperty;function pu(e,n){let t=n.data||{};return"value"in n&&!(Nn.call(t,"hName")||Nn.call(t,"hProperties")||Nn.call(t,"hChildren"))?e.augment(n,M("text",n.value)):e(n,"div",U(e,n))}function Qt(e,n,t){let r=n&&n.type,i;if(!r)throw new Error("Expected node, got `"+n+"`");return Nn.call(e.handlers,r)?i=e.handlers[r]:e.passThrough&&e.passThrough.includes(r)?i=fu:i=e.unknownHandler,(typeof i=="function"?i:pu)(e,n,t)}function fu(e,n){return"children"in n?xr(ze({},n),{children:U(e,n)}):n}function U(e,n){let t=[];if("children"in n){let r=n.children,i=-1;for(;++i<r.length;){let o=Qt(e,r[i],n);if(o){if(i&&r[i-1].type==="break"&&(!Array.isArray(o)&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&o.type==="element")){let l=o.children[0];l&&l.type==="text"&&(l.value=l.value.replace(/^\s+/,""))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t}var pn=function(e){if(e==null)return gu;if(typeof e=="string")return du(e);if(typeof e=="object")return Array.isArray(e)?mu(e):hu(e);if(typeof e=="function")return Hn(e);throw new Error("Expected function, string, or object as test")};function mu(e){let n=[],t=-1;for(;++t<e.length;)n[t]=pn(e[t]);return Hn(r);function r(...i){let o=-1;for(;++o<n.length;)if(n[o].call(this,...i))return!0;return!1}}function hu(e){return Hn(n);function n(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}function du(e){return Hn(n);function n(t){return t&&t.type===e}}function Hn(e){return n;function n(...t){return Boolean(e.call(this,...t))}}function gu(){return!0}function Bi(e){return e}var Xt=!0,Kt="skip",Un=!1,qn=function(e,n,t,r){typeof n=="function"&&typeof t!="function"&&(r=t,t=n,n=null);var i=pn(n),o=r?-1:1;l(e,null,[])();function l(a,u,s){var c=typeof a=="object"&&a!==null?a:{},y;return typeof c.type=="string"&&(y=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0,Object.defineProperty(m,"name",{value:"node ("+Bi(c.type+(y?"<"+y+">":""))+")"})),m;function m(){var h=[],b,k,w;if((!n||i(a,u,s[s.length-1]||null))&&(h=yu(t(a,s)),h[0]===Un))return h;if(a.children&&h[0]!==Kt)for(k=(r?a.children.length:-1)+o,w=s.concat(a);k>-1&&k<a.children.length;){if(b=l(a.children[k],k,w)(),b[0]===Un)return b;k=typeof b[1]=="number"?b[1]:k+o}return h}}};function yu(e){return Array.isArray(e)?e:typeof e=="number"?[Xt,e]:[e]}var _i=function(e,n,t,r){typeof n=="function"&&typeof t!="function"&&(r=t,t=n,n=null),qn(e,n,i,r);function i(o,l){var a=l[l.length-1];return t(o,a?a.children.indexOf(o):null,a)}};var Vn=Mi("start"),$n=Mi("end");function Mi(e){return n;function n(t){var r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function Ni(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}var Hi=function(e,n,t,r){typeof n=="function"&&typeof t!="function"&&(r=t,t=n,n=null),qn(e,n,i,r);function i(o,l){var a=l[l.length-1];return t(o,a?a.children.indexOf(o):null,a)}};var Ui={}.hasOwnProperty;function qi(e){let n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Hi(e,"definition",t),r;function t(i){let o=Vi(i.identifier);o&&!Ui.call(n,o)&&(n[o]=i)}function r(i){let o=Vi(i);return o&&Ui.call(n,o)?n[o]:null}}function Vi(e){return String(e||"").toUpperCase()}function Wn(e,n){return e(n,"hr")}function de(e,n){let t=[],r=-1;for(n&&t.push(M("text",`
6`));++r<e.length;)r&&t.push(M("text",`
7`)),t.push(e[r]);return n&&e.length>0&&t.push(M("text",`
8`)),t}function Qn(e,n){let t={},r=n.ordered?"ol":"ul",i=U(e,n),o=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++o<i.length;){let l=i[o];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}return e(n,r,t,de(i,!0))}function $i(e){let n=e.footnoteById,t=e.footnoteOrder,r=-1,i=[];for(;++r<t.length;){let o=n[t[r].toUpperCase()];if(!o)continue;let l=String(r+1),a=[...o.children],u={type:"link",url:"#fnref"+l,data:{hProperties:{className:["footnote-back"],role:"doc-backlink"}},children:[{type:"text",value:"\u21A9"}]},s=a[a.length-1];s&&s.type==="paragraph"?s.children.push(u):a.push(u),i.push({type:"listItem",data:{hProperties:{id:"fn"+l,role:"doc-endnote"}},children:a,position:o.position})}return i.length===0?null:e(null,"section",{className:["footnotes"],role:"doc-endnotes"},de([Wn(e),Qn(e,{type:"list",ordered:!0,children:i})],!0))}function Wi(e,n){return e(n,"blockquote",de(U(e,n),!0))}function Qi(e,n){return[e(n,"br"),M("text",`
9`)]}function Xi(e,n){let t=n.value?n.value+`
10`:"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),i={};r&&(i.className=["language-"+r]);let o=e(n,"code",i,[M("text",t)]);return n.meta&&(o.data={meta:n.meta}),e(n.position,"pre",[o])}function Ki(e,n){return e(n,"del",U(e,n))}function Yi(e,n){return e(n,"em",U(e,n))}function Xn(e,n){let t=e.footnoteOrder,r=String(n.identifier),i=t.indexOf(r),o=String(i===-1?t.push(r):i+1);return e(n,"a",{href:"#fn"+o,className:["footnote-ref"],id:"fnref"+o,role:"doc-noteref"},[e(n.position,"sup",[M("text",o)])])}function Gi(e,n){let t=e.footnoteById,r=e.footnoteOrder,i=1;for(;i in t;)i++;let o=String(i);return r.push(o),t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},Xn(e,{type:"footnoteReference",identifier:o,position:n.position})}function Zi(e,n){return e(n,"h"+n.depth,U(e,n))}function Ji(e,n){return e.dangerous?e.augment(n,M("raw",n.value)):null}var to=ge(fn());function Yn(e,n){let t=n.referenceType,r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return M("text","!["+n.alt+r);let i=U(e,n),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift(M("text","["));let l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push(M("text",r)),i}function ro(e,n){let t=e.definition(n.identifier);if(!t)return Yn(e,n);let r={src:(0,to.default)(t.url||""),alt:n.alt};return t.title!==null&&t.title!==void 0&&(r.title=t.title),e(n,"img",r)}var io=ge(fn());function oo(e,n){let t={src:(0,io.default)(n.url),alt:n.alt};return n.title!==null&&n.title!==void 0&&(t.title=n.title),e(n,"img",t)}function lo(e,n){return e(n,"code",[M("text",n.value.replace(/\r?\n|\r/g," "))])}var ao=ge(fn());function uo(e,n){let t=e.definition(n.identifier);if(!t)return Yn(e,n);let r={href:(0,ao.default)(t.url||"")};return t.title!==null&&t.title!==void 0&&(r.title=t.title),e(n,"a",r,U(e,n))}var so=ge(fn());function co(e,n){let t={href:(0,so.default)(n.url)};return n.title!==null&&n.title!==void 0&&(t.title=n.title),e(n,"a",t,U(e,n))}function po(e,n,t){let r=U(e,n),i=t?ku(t):fo(n),o={},l=[];if(typeof n.checked=="boolean"){let s;r[0]&&r[0].type==="element"&&r[0].tagName==="p"?s=r[0]:(s=e(null,"p",[]),r.unshift(s)),s.children.length>0&&s.children.unshift(M("text"," ")),s.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let s=r[a];(i||a!==0||s.type!=="element"||s.tagName!=="p")&&l.push(M("text",`
11`)),s.type==="element"&&s.tagName==="p"&&!i?l.push(...s.children):l.push(s)}let u=r[r.length-1];return u&&(i||!("tagName"in u)||u.tagName!=="p")&&l.push(M("text",`
12`)),e(n,"li",o,l)}function ku(e){let n=e.spread,t=e.children,r=-1;for(;!n&&++r<t.length;)n=fo(t[r]);return Boolean(n)}function fo(e){let n=e.spread;return n==null?e.children.length>1:n}function mo(e,n){return e(n,"p",U(e,n))}function ho(e,n){return e.augment(n,M("root",de(U(e,n))))}function go(e,n){return e(n,"strong",U(e,n))}function yo(e,n){let t=n.children,r=t.length,i=n.align||[],o=[];for(;r--;){let l=t[r].children,a=r===0?"th":"td",u=n.align?i.length:l.length,s=[];for(;u--;){let c=l[u];s[u]=e(c,a,{align:i[u]},c?U(e,c):[])}o[r]=e(t[r],"tr",de(s,!0))}return e(n,"table",de([e(o[0].position,"thead",de([o[0]],!0))].concat(o[1]?e({start:Vn(o[1]),end:$n(o[o.length-1])},"tbody",de(o.slice(1),!0)):[]),!0))}function xo(e,n){return e.augment(n,M("text",String(n.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))}var ko={blockquote:Wi,break:Qi,code:Xi,delete:Ki,emphasis:Yi,footnoteReference:Xn,footnote:Gi,heading:Zi,html:Ji,imageReference:ro,image:oo,inlineCode:lo,linkReference:uo,link:co,listItem:po,list:Qn,paragraph:mo,root:ho,strong:go,table:yo,text:xo,thematicBreak:Wn,toml:Gn,yaml:Gn,definition:Gn,footnoteDefinition:Gn};function Gn(){return null}var bu={}.hasOwnProperty;function wu(e,n){let t=n||{},r=t.allowDangerousHtml||!1,i={};return l.dangerous=r,l.definition=qi(e),l.footnoteById=i,l.footnoteOrder=[],l.augment=o,l.handlers=ze(ze({},ko),t.handlers),l.unknownHandler=t.unknownHandler,l.passThrough=t.passThrough,_i(e,"footnoteDefinition",a),l;function o(u,s){if(u&&"data"in u&&u.data){let c=u.data;c.hName&&(s.type!=="element"&&(s={type:"element",tagName:"",properties:{},children:[]}),s.tagName=c.hName),s.type==="element"&&c.hProperties&&(s.properties=ze(ze({},s.properties),c.hProperties)),"children"in s&&s.children&&c.hChildren&&(s.children=c.hChildren)}if(u){let c="type"in u?u:{position:u};Ni(c)||(s.position={start:Vn(c),end:$n(c)})}return s}function l(u,s,c,y){return Array.isArray(c)&&(y=c,c={}),o(u,{type:"element",tagName:s,properties:c||{},children:y||[]})}function a(u){let s=String(u.identifier).toUpperCase();bu.call(i,s)||(i[s]=u)}}function Zn(e,n){let t=wu(e,n),r=Qt(t,e,null),i=$i(t);return i&&r.children.push(M("text",`
13`),i),Array.isArray(r)?{type:"root",children:r}:r}var Su=function(e,n){return e&&"run"in e?Eu(e,n):vu(e)},bo=Su;function Eu(e,n){return(t,r,i)=>{e.run(Zn(t,n),r,o=>{i(o)})}}function vu(e){return n=>Zn(n,e)}var I=ge(Po());var Ie=class{constructor(n,t,r){this.property=n,this.normal=t,r&&(this.space=r)}};Ie.prototype.property={};Ie.prototype.normal={};Ie.prototype.space=null;function Yt(e,n){for(var t={},r={},i=-1;++i<e.length;)Object.assign(t,e[i].property),Object.assign(r,e[i].normal);return new Ie(t,r,n)}function mn(e){return e.toLowerCase()}var re=class{constructor(n,t){this.property=n,this.attribute=t}};re.prototype.space=null;re.prototype.attribute=null;re.prototype.property=null;re.prototype.boolean=!1;re.prototype.booleanish=!1;re.prototype.overloadedBoolean=!1;re.prototype.number=!1;re.prototype.commaSeparated=!1;re.prototype.spaceSeparated=!1;re.prototype.commaOrSpaceSeparated=!1;re.prototype.mustUseProperty=!1;re.prototype.defined=!1;var hn={};pt(hn,{boolean:()=>P,booleanish:()=>X,commaOrSpaceSeparated:()=>fe,commaSeparated:()=>Ee,number:()=>S,overloadedBoolean:()=>Gt,spaceSeparated:()=>q});var Ou=0,P=_e(),X=_e(),Gt=_e(),S=_e(),q=_e(),Ee=_e(),fe=_e();function _e(){return gr(2,++Ou)}var Jn=Object.keys(hn),Xe=class extends re{constructor(n,t,r,i){var o=-1;super(n,t);for(Fo(this,"space",i);++o<Jn.length;)Fo(this,Jn[o],(r&hn[Jn[o]])===hn[Jn[o]])}};Xe.prototype.defined=!0;function Fo(e,n,t){t&&(e[n]=t)}var Pu={}.hasOwnProperty;function xe(e){var n={},t={},r,i;for(r in e.properties)Pu.call(e.properties,r)&&(i=new Xe(r,e.transform(e.attributes,r),e.properties[r],e.space),e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),n[r]=i,t[mn(r)]=r,t[mn(i.attribute)]=r);return new Ie(n,t,e.space)}var Zt=xe({space:"xlink",transform:Fu,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function Fu(e,n){return"xlink:"+n.slice(5).toLowerCase()}var Jt=xe({space:"xml",transform:ju,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function ju(e,n){return"xml:"+n.slice(3).toLowerCase()}function et(e,n){return n in e?e[n]:n}function nt(e,n){return et(e,n.toLowerCase())}var er=xe({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:nt,properties:{xmlns:null,xmlnsXLink:null}});var nr=xe({transform:Iu,properties:{ariaActiveDescendant:null,ariaAtomic:X,ariaAutoComplete:null,ariaBusy:X,ariaChecked:X,ariaColCount:S,ariaColIndex:S,ariaColSpan:S,ariaControls:q,ariaCurrent:null,ariaDescribedBy:q,ariaDetails:null,ariaDisabled:X,ariaDropEffect:q,ariaErrorMessage:null,ariaExpanded:X,ariaFlowTo:q,ariaGrabbed:X,ariaHasPopup:null,ariaHidden:X,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:q,ariaLevel:S,ariaLive:null,ariaModal:X,ariaMultiLine:X,ariaMultiSelectable:X,ariaOrientation:null,ariaOwns:q,ariaPlaceholder:null,ariaPosInSet:S,ariaPressed:X,ariaReadOnly:X,ariaRelevant:null,ariaRequired:X,ariaRoleDescription:q,ariaRowCount:S,ariaRowIndex:S,ariaRowSpan:S,ariaSelected:X,ariaSetSize:S,ariaSort:null,ariaValueMax:S,ariaValueMin:S,ariaValueNow:S,ariaValueText:null,role:null}});function Iu(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}var jo=xe({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:nt,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ee,acceptCharset:q,accessKey:q,action:null,allow:null,allowFullScreen:P,allowPaymentRequest:P,allowUserMedia:P,alt:null,as:null,async:P,autoCapitalize:null,autoComplete:q,autoFocus:P,autoPlay:P,capture:P,charSet:null,checked:P,cite:null,className:q,cols:S,colSpan:null,content:null,contentEditable:X,controls:P,controlsList:q,coords:S|Ee,crossOrigin:null,data:null,dateTime:null,decoding:null,default:P,defer:P,dir:null,dirName:null,disabled:P,download:Gt,draggable:X,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:P,formTarget:null,headers:q,height:S,hidden:P,high:S,href:null,hrefLang:null,htmlFor:q,httpEquiv:q,id:null,imageSizes:null,imageSrcSet:Ee,inputMode:null,integrity:null,is:null,isMap:P,itemId:null,itemProp:q,itemRef:q,itemScope:P,itemType:q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:P,low:S,manifest:null,max:null,maxLength:S,media:null,method:null,min:null,minLength:S,multiple:P,muted:P,name:null,nonce:null,noModule:P,noValidate:P,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu: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:P,optimum:S,pattern:null,ping:q,placeholder:null,playsInline:P,poster:null,preload:null,readOnly:P,referrerPolicy:null,rel:q,required:P,reversed:P,rows:S,rowSpan:S,sandbox:q,scope:null,scoped:P,seamless:P,selected:P,shape:null,size:S,sizes:null,slot:null,span:S,spellCheck:X,src:null,srcDoc:null,srcLang:null,srcSet:Ee,start:S,step:null,style:null,tabIndex:S,target:null,title:null,translate:null,type:null,typeMustMatch:P,useMap:null,value:X,width:S,wrap:null,align:null,aLink:null,archive:q,axis:null,background:null,bgColor:null,border:S,borderColor:null,bottomMargin:S,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:P,declare:P,event:null,face:null,frame:null,frameBorder:null,hSpace:S,leftMargin:S,link:null,longDesc:null,lowSrc:null,marginHeight:S,marginWidth:S,noResize:P,noHref:P,noShade:P,noWrap:P,object:null,profile:null,prompt:null,rev:null,rightMargin:S,rules:null,scheme:null,scrolling:X,standby:null,summary:null,text:null,topMargin:S,valueType:null,version:null,vAlign:null,vLink:null,vSpace:S,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:P,disableRemotePlayback:P,prefix:null,property:null,results:S,security:null,unselectable:null}});var Io=xe({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:et,properties:{about:fe,accentHeight:S,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:S,amplitude:S,arabicForm:null,ascent:S,attributeName:null,attributeType:null,azimuth:S,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:S,by:null,calcMode:null,capHeight:S,className:q,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:S,diffuseConstant:S,direction:null,display:null,dur:null,divisor:S,dominantBaseline:null,download:P,dx:null,dy:null,edgeMode:null,editable:null,elevation:S,enableBackground:null,end:null,event:null,exponent:S,externalResourcesRequired:null,fill:null,fillOpacity:S,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:Ee,g2:Ee,glyphName:Ee,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:S,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:S,horizOriginX:S,horizOriginY:S,id:null,ideographic:S,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:S,k:S,k1:S,k2:S,k3:S,k4:S,kernelMatrix:fe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:S,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:S,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:S,overlineThickness:S,paintOrder:null,panose1:null,path:null,pathLength:S,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:S,pointsAtY:S,pointsAtZ:S,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:fe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:fe,rev:fe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:fe,requiredFeatures:fe,requiredFonts:fe,requiredFormats:fe,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:S,specularExponent:S,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:S,strikethroughThickness:S,string:null,stroke:null,strokeDashArray:fe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:S,strokeOpacity:S,strokeWidth:null,style:null,surfaceScale:S,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:fe,tabIndex:S,tableValues:null,target:null,targetX:S,targetY:S,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:fe,to:null,transform:null,u1:null,u2:null,underlinePosition:S,underlineThickness:S,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:S,values:null,vAlphabetic:S,vMathematical:S,vectorEffect:null,vHanging:S,vIdeographic:S,version:null,vertAdvY:S,vertOriginX:S,vertOriginY:S,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:S,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var Tu=/^data[-\w.:]+$/i,To=/-[a-z]/g,zu=/[A-Z]/g;function tr(e,n){var t=mn(n),r=n,i=re;return t in e.normal?e.property[e.normal[t]]:(t.length>4&&t.slice(0,4)==="data"&&Tu.test(n)&&(n.charAt(4)==="-"?r=Lu(n):n=Du(n),i=Xe),new i(r,n))}function Lu(e){var n=e.slice(5).replace(To,Bu);return"data"+n.charAt(0).toUpperCase()+n.slice(1)}function Du(e){var n=e.slice(4);return To.test(n)?e:(n=n.replace(zu,Ru),n.charAt(0)!=="-"&&(n="-"+n),"data"+n)}function Ru(e){return"-"+e.toLowerCase()}function Bu(e){return e.charAt(1).toUpperCase()}var tt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var zo=Yt([Jt,Zt,er,nr,jo],"html"),Lo=Yt([Jt,Zt,er,nr,Io],"svg");function Do(e){return e}var Ro=!0,Bo="skip",rr=!1,_o=function(e,n,t,r){typeof n=="function"&&typeof t!="function"&&(r=t,t=n,n=null);let i=pn(n),o=r?-1:1;l(e,null,[])();function l(a,u,s){let c=typeof a=="object"&&a!==null?a:{},y;return typeof c.type=="string"&&(y=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0,Object.defineProperty(m,"name",{value:"node ("+Do(c.type+(y?"<"+y+">":""))+")"})),m;function m(){let h=[],b,k,w;if((!n||i(a,u,s[s.length-1]||null))&&(h=_u(t(a,s)),h[0]===rr))return h;if(a.children&&h[0]!==Bo)for(k=(r?a.children.length:-1)+o,w=s.concat(a);k>-1&&k<a.children.length;){if(b=l(a.children[k],k,w)(),b[0]===rr)return b;k=typeof b[1]=="number"?b[1]:k+o}return h}}};function _u(e){return Array.isArray(e)?e:typeof e=="number"?[Ro,e]:[e]}var Mo=function(e,n,t,r){typeof n=="function"&&typeof t!="function"&&(r=t,t=n,n=null),_o(e,n,i,r);function i(o,l){let a=l[l.length-1];return t(o,a?a.children.indexOf(o):null,a)}};function ir(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{Mo(n,"element",(t,r,i)=>{let o=i,l;if(e.allowedElements?l=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(l=e.disallowedElements.includes(t.tagName)),!l&&e.allowElement&&typeof r=="number"&&(l=!e.allowElement(t,r,o)),l&&typeof r=="number")return e.unwrapDisallowed&&t.children?o.children.splice(r,1,...t.children):o.children.splice(r,1),r})}}var No=["http","https","mailto","tel"];function rt(e){let n=(e||"").trim(),t=n.charAt(0);if(t==="#"||t==="/")return n;let r=n.indexOf(":");if(r===-1)return n;let i=-1;for(;++i<No.length;){let o=No[i];if(r===o.length&&n.slice(0,o.length).toLowerCase()===o)return n}return i=n.indexOf("?"),i!==-1&&r>i||(i=n.indexOf("#"),i!==-1&&r>i)?n:"javascript:void(0)"}var lt=ge(xt()),ol=ge(Xo());function Ko(e){return e.join(" ").trim()}function Yo(e,n){var t=n||{};return e[e.length-1]===""&&(e=e.concat("")),e.join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var ll=ge(il()),lr={}.hasOwnProperty,as=new Set(["table","thead","tbody","tfoot","tr"]);function ar(e,n){let t=[],r=-1,i;for(;++r<n.children.length;)i=n.children[r],i.type==="element"?t.push(us(e,i,r,n)):i.type==="text"?(n.type!=="element"||!as.has(n.tagName)||i.value!==`
14`)&&t.push(i.value):i.type==="raw"&&!e.options.skipHtml&&t.push(i.value);return t}function us(e,n,t,r){let i=e.options,o=e.schema,l=n.tagName,a={},u=o,s;if(o.space==="html"&&l==="svg"&&(u=Lo,e.schema=u),n.properties)for(s in n.properties)lr.call(n.properties,s)&&cs(a,s,n.properties[s],e);(l==="ol"||l==="ul")&&e.listDepth++;let c=ar(e,n);(l==="ol"||l==="ul")&&e.listDepth--,e.schema=o;let y=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=i.components&&lr.call(i.components,l)?i.components[l]:l,h=typeof m=="string"||m===lt.default.Fragment;if(!ol.default.isValidElementType(m))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(a.key=[l,y.start.line,y.start.column,t].join("-"),l==="a"&&i.linkTarget&&(a.target=typeof i.linkTarget=="function"?i.linkTarget(String(a.href||""),n.children,typeof a.title=="string"?a.title:null):i.linkTarget),l==="a"&&i.transformLinkUri&&(a.href=i.transformLinkUri(String(a.href||""),n.children,typeof a.title=="string"?a.title:null)),!h&&l==="code"&&r.type==="element"&&r.tagName!=="pre"&&(a.inline=!0),!h&&(l==="h1"||l==="h2"||l==="h3"||l==="h4"||l==="h5"||l==="h6")&&(a.level=Number.parseInt(l.charAt(1),10)),l==="img"&&i.transformImageUri&&(a.src=i.transformImageUri(String(a.src||""),String(a.alt||""),typeof a.title=="string"?a.title:null)),!h&&l==="li"&&r.type==="element"){let b=ss(n);a.checked=b&&b.properties?Boolean(b.properties.checked):null,a.index=ur(r,n),a.ordered=r.tagName==="ol"}return!h&&(l==="ol"||l==="ul")&&(a.ordered=l==="ol",a.depth=e.listDepth),(l==="td"||l==="th")&&(a.align&&(a.style||(a.style={}),a.style.textAlign=a.align,delete a.align),h||(a.isHeader=l==="th")),!h&&l==="tr"&&r.type==="element"&&(a.isHeader=Boolean(r.tagName==="thead")),i.sourcePos&&(a["data-sourcepos"]=ms(y)),!h&&i.rawSourcePos&&(a.sourcePosition=n.position),!h&&i.includeElementIndex&&(a.index=ur(r,n),a.siblingCount=ur(r)),h||(a.node=n),c.length>0?lt.default.createElement(m,a,c):lt.default.createElement(m,a)}function ss(e){let n=-1;for(;++n<e.children.length;){let t=e.children[n];if(t.type==="element"&&t.tagName==="input")return t}return null}function ur(e,n){let t=-1,r=0;for(;++t<e.children.length&&e.children[t]!==n;)e.children[t].type==="element"&&r++;return r}function cs(e,n,t,r){let i=tr(r.schema,n),o=t;o==null||o!==o||(Array.isArray(o)&&(o=i.commaSeparated?Yo(o):Ko(o)),i.property==="style"&&typeof o=="string"&&(o=ps(o)),i.space&&i.property?e[lr.call(tt,i.property)?tt[i.property]:i.property]=o:i.attribute&&(e[i.attribute]=o))}function ps(e){let n={};try{(0,ll.default)(e,t)}catch(r){}return n;function t(r,i){let o=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;n[o.replace(/-([a-z])/g,fs)]=i}}function fs(e,n){return n.toUpperCase()}function ms(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(n=>String(n)).join("")}var al={}.hasOwnProperty,hs="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ut={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 st(e){for(let o in ut)if(al.call(ut,o)&&al.call(e,o)){let l=ut[o];console.warn(`[react-markdown] Warning: please ${l.to?`use \`${l.to}\` instead of`:"remove"} \`${o}\` (see <${hs}#${l.id}> for more info)`),delete ut[o]}let n=At().use(Ri).use(e.remarkPlugins||e.plugins||[]).use(bo,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(ir,e),t=new We;typeof e.children=="string"?t.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=n.runSync(n.parse(t),t);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=at.default.createElement(at.default.Fragment,{},ar({options:e,schema:zo,listDepth:0},r));return e.className&&(i=at.default.createElement("div",{className:e.className},i)),i}st.defaultProps={transformLinkUri:rt};st.propTypes={children:I.default.string,className:I.default.string,allowElement:I.default.func,allowedElements:I.default.arrayOf(I.default.string),disallowedElements:I.default.arrayOf(I.default.string),unwrapDisallowed:I.default.bool,remarkPlugins:I.default.arrayOf(I.default.oneOfType([I.default.object,I.default.func,I.default.arrayOf(I.default.oneOfType([I.default.object,I.default.func]))])),rehypePlugins:I.default.arrayOf(I.default.oneOfType([I.default.object,I.default.func,I.default.arrayOf(I.default.oneOfType([I.default.object,I.default.func]))])),sourcePos:I.default.bool,rawSourcePos:I.default.bool,skipHtml:I.default.bool,includeElementIndex:I.default.bool,transformLinkUri:I.default.oneOfType([I.default.func,I.default.bool]),linkTarget:I.default.oneOfType([I.default.func,I.default.string]),transformImageUri:I.default.func,components:I.default.object};var ds=st;return gs;})();
15/*
16object-assign
17(c) Sindre Sorhus
18@license MIT
19*/
20/*!
21 * Determine if an object is a Buffer
22 *
23 * @author Feross Aboukhadijeh <https://feross.org>
24 * @license MIT
25 */
26/** @license React v17.0.2
27 * react-is.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */
34/** @license React v17.0.2
35 * react.production.min.js
36 *
37 * Copyright (c) Facebook, Inc. and its affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */
42return ReactMarkdown;})));