%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home2/rezakur1/ai.rezakurnia.com/assets/
Upload File :
Create Path :
Current File : //home2/rezakur1/ai.rezakurnia.com/assets/MarkdownInner-DR_Siz_2.js

import{g as Fi,j as U}from"./index-DUZ8nGC1.js";function Mi(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const Ri=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_i=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Oi={};function At(e,n){return(Oi.jsx?_i:Ri).test(e)}const Ni=/[ \t\n\f\r]/g;function Bi(e){return typeof e=="object"?e.type==="text"?It(e.value):!1:It(e)}function It(e){return e.replace(Ni,"")===""}class Qe{constructor(n,t,r){this.normal=t,this.property=n,r&&(this.space=r)}}Qe.prototype.normal={};Qe.prototype.property={};Qe.prototype.space=void 0;function dr(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new Qe(t,r,n)}function _n(e){return e.toLowerCase()}class te{constructor(n,t){this.attribute=t,this.property=n}}te.prototype.attribute="";te.prototype.booleanish=!1;te.prototype.boolean=!1;te.prototype.commaOrSpaceSeparated=!1;te.prototype.commaSeparated=!1;te.prototype.defined=!1;te.prototype.mustUseProperty=!1;te.prototype.number=!1;te.prototype.overloadedBoolean=!1;te.prototype.property="";te.prototype.spaceSeparated=!1;te.prototype.space=void 0;let ji=0;const D=Ie(),Q=Ie(),On=Ie(),E=Ie(),q=Ie(),Ee=Ie(),ie=Ie();function Ie(){return 2**++ji}const Nn=Object.freeze(Object.defineProperty({__proto__:null,boolean:D,booleanish:Q,commaOrSpaceSeparated:ie,commaSeparated:Ee,number:E,overloadedBoolean:On,spaceSeparated:q},Symbol.toStringTag,{value:"Module"})),bn=Object.keys(Nn);class Jn extends te{constructor(n,t,r,i){let o=-1;if(super(n,t),Tt(this,"space",i),typeof r=="number")for(;++o<bn.length;){const l=bn[o];Tt(this,bn[o],(r&Nn[l])===Nn[l])}}}Jn.prototype.defined=!0;function Tt(e,n,t){t&&(e[n]=t)}function Fe(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const o=new Jn(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),n[r]=o,t[_n(r)]=r,t[_n(o.attribute)]=r}return new Qe(n,t,e.space)}const gr=Fe({properties:{ariaActiveDescendant:null,ariaAtomic:Q,ariaAutoComplete:null,ariaBusy:Q,ariaChecked:Q,ariaColCount:E,ariaColIndex:E,ariaColSpan:E,ariaControls:q,ariaCurrent:null,ariaDescribedBy:q,ariaDetails:null,ariaDisabled:Q,ariaDropEffect:q,ariaErrorMessage:null,ariaExpanded:Q,ariaFlowTo:q,ariaGrabbed:Q,ariaHasPopup:null,ariaHidden:Q,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:q,ariaLevel:E,ariaLive:null,ariaModal:Q,ariaMultiLine:Q,ariaMultiSelectable:Q,ariaOrientation:null,ariaOwns:q,ariaPlaceholder:null,ariaPosInSet:E,ariaPressed:Q,ariaReadOnly:Q,ariaRelevant:null,ariaRequired:Q,ariaRoleDescription:q,ariaRowCount:E,ariaRowIndex:E,ariaRowSpan:E,ariaSelected:Q,ariaSetSize:E,ariaSort:null,ariaValueMax:E,ariaValueMin:E,ariaValueNow:E,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function xr(e,n){return n in e?e[n]:n}function yr(e,n){return xr(e,n.toLowerCase())}const qi=Fe({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ee,acceptCharset:q,accessKey:q,action:null,allow:null,allowFullScreen:D,allowPaymentRequest:D,allowUserMedia:D,alpha:D,alt:null,as:null,async:D,autoCapitalize:null,autoComplete:q,autoFocus:D,autoPlay:D,blocking:q,capture:null,charSet:null,checked:D,cite:null,className:q,closedBy:null,colorSpace:null,cols:E,colSpan:E,command:null,commandFor:null,content:null,contentEditable:Q,controls:D,controlsList:q,coords:E|Ee,crossOrigin:null,data:null,dateTime:null,decoding:null,default:D,defer:D,dir:null,dirName:null,disabled:D,download:On,draggable:Q,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:D,formTarget:null,headers:q,height:E,hidden:On,high:E,href:null,hrefLang:null,htmlFor:q,httpEquiv:q,id:null,imageSizes:null,imageSrcSet:null,inert:D,inputMode:null,integrity:null,is:null,isMap:D,itemId:null,itemProp:q,itemRef:q,itemScope:D,itemType:q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:D,low:E,manifest:null,max:null,maxLength:E,media:null,method:null,min:null,minLength:E,multiple:D,muted:D,name:null,nonce:null,noModule:D,noValidate:D,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:D,optimum:E,pattern:null,ping:q,placeholder:null,playsInline:D,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:D,referrerPolicy:null,rel:q,required:D,reversed:D,rows:E,rowSpan:E,sandbox:q,scope:null,scoped:D,seamless:D,selected:D,shadowRootClonable:D,shadowRootCustomElementRegistry:D,shadowRootDelegatesFocus:D,shadowRootMode:null,shadowRootSerializable:D,shape:null,size:E,sizes:null,slot:null,span:E,spellCheck:Q,src:null,srcDoc:null,srcLang:null,srcSet:null,start:E,step:null,style:null,tabIndex:E,target:null,title:null,translate:null,type:null,typeMustMatch:D,useMap:null,value:Q,width:E,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:q,axis:null,background:null,bgColor:null,border:E,borderColor:null,bottomMargin:E,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:D,declare:D,event:null,face:null,frame:null,frameBorder:null,hSpace:E,leftMargin:E,link:null,longDesc:null,lowSrc:null,marginHeight:E,marginWidth:E,noResize:D,noHref:D,noShade:D,noWrap:D,object:null,profile:null,prompt:null,rev:null,rightMargin:E,rules:null,scheme:null,scrolling:Q,standby:null,summary:null,text:null,topMargin:E,valueType:null,version:null,vAlign:null,vLink:null,vSpace:E,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:D,disablePictureInPicture:D,disableRemotePlayback:D,exportParts:Ee,part:q,prefix:null,property:null,results:E,security:null,unselectable:null},space:"html",transform:yr}),Hi=Fe({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",maskType:"mask-type",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",transformOrigin:"transform-origin",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"},properties:{about:ie,accentHeight:E,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:E,amplitude:E,arabicForm:null,ascent:E,attributeName:null,attributeType:null,azimuth:E,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:E,by:null,calcMode:null,capHeight:E,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:E,diffuseConstant:E,direction:null,display:null,dur:null,divisor:E,dominantBaseline:null,download:D,dx:null,dy:null,edgeMode:null,editable:null,elevation:E,enableBackground:null,end:null,event:null,exponent:E,externalResourcesRequired:null,fill:null,fillOpacity:E,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:E,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:E,horizOriginX:E,horizOriginY:E,id:null,ideographic:E,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:E,k:E,k1:E,k2:E,k3:E,k4:E,kernelMatrix:ie,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:E,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:E,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:E,overlineThickness:E,paintOrder:null,panose1:null,path:null,pathLength:E,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:E,pointsAtY:E,pointsAtZ:E,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ie,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ie,rev:ie,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ie,requiredFeatures:ie,requiredFonts:ie,requiredFormats:ie,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:E,specularExponent:E,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:E,strikethroughThickness:E,string:null,stroke:null,strokeDashArray:ie,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:E,strokeOpacity:E,strokeWidth:null,style:null,surfaceScale:E,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ie,tabIndex:E,tableValues:null,target:null,targetX:E,targetY:E,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ie,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:E,underlineThickness:E,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:E,values:null,vAlphabetic:E,vMathematical:E,vectorEffect:null,vHanging:E,vIdeographic:E,version:null,vertAdvY:E,vertOriginX:E,vertOriginY:E,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:E,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:xr}),kr=Fe({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),br=Fe({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:yr}),wr=Fe({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Ui={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"},$i=/[A-Z]/g,vt=/-[a-z]/g,Vi=/^data[-\w.:]+$/i;function Wi(e,n){const t=_n(n);let r=n,i=te;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Vi.test(n)){if(n.charAt(4)==="-"){const o=n.slice(5).replace(vt,Yi);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=n.slice(4);if(!vt.test(o)){let l=o.replace($i,Qi);l.charAt(0)!=="-"&&(l="-"+l),n="data"+l}}i=Jn}return new i(r,n)}function Qi(e){return"-"+e.toLowerCase()}function Yi(e){return e.charAt(1).toUpperCase()}const Xi=dr([gr,qi,kr,br,wr],"html"),Zn=dr([gr,Hi,kr,br,wr],"svg");function Ki(e){return e.join(" ").trim()}var zt=/\/\*(?:[^*]|\*(?!\/))*\*\//g,Gi=/\n/g,Ji=/^\s*/,Zi=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,el=/^:\s*/,nl=/^((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|url\((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|[^)]*)\)|[^};])+)/,tl=/^[;\s]*/,rl=`
`,Pt="/",Lt="*",Be="",il="comment",ll="declaration";function ol(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(m){var x=m.match(Gi);x&&(t+=x.length);var C=m.lastIndexOf(rl);r=~C?m.length-C:r+m.length}function o(){var m={line:t,column:r};return function(x){return x.position=new l(m),s(),x}}function l(m){this.start=m,this.end={line:t,column:r},this.source=n.source}l.prototype.content=e;function a(m){var x=new Error(n.source+":"+t+":"+r+": "+m);if(x.reason=m,x.filename=n.source,x.line=t,x.column=r,x.source=e,!n.silent)throw x}function u(m){var x=m.exec(e);if(x){var C=x[0];return i(C),e=e.slice(C.length),x}}function s(){u(Ji)}function c(m){for(var x;x=f();)m.push(x);return m}function f(){var m=o();if(!(Pt!=e.charAt(0)||Lt!=e.charAt(1))){for(var x=2;Be!=e.charAt(x)&&(Lt!=e.charAt(x)||Pt!=e.charAt(x+1));)++x;if(x+=2,Be===e.charAt(x-1))return a("End of comment missing");var C=e.slice(2,x-2);return r+=2,i(C),e=e.slice(x),r+=2,m({type:il,comment:C})}}function p(){var m=o(),x=u(Zi);if(x){if(f(),!u(el))return a("property missing ':'");var C=u(nl),y=m({type:ll,property:x[0].replace(zt,Be).trim(),value:C?C[0].replace(zt,Be).trim():Be});return u(tl),y}}function h(){var m=[];c(m);for(var x;x=p();)m.push(x),c(m);return m}return s(),h()}function al(e,n){let t=null;if(!e||typeof e!="string")return t;const r=ol(e),i=typeof n=="function";return r.forEach(o=>{if(o.type!=="declaration")return;const{property:l,value:a}=o;i?n(l,a,o):a&&(t=t??{},t[l]=a)}),t}const Sr=Cr("end"),et=Cr("start");function Cr(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function ul(e){const n=et(e),t=Sr(e);if(n&&t)return{start:n,end:t}}function He(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Dt(e.position):"start"in e||"end"in e?Dt(e):"line"in e||"column"in e?Bn(e):""}function Bn(e){return Ft(e&&e.line)+":"+Ft(e&&e.column)}function Dt(e){return Bn(e&&e.start)+"-"+Bn(e&&e.end)}function Ft(e){return e&&typeof e=="number"?e:1}class sn extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",o={},l=!1;if(t&&("line"in t&&"column"in t?o={place:t}:"start"in t&&"end"in t?o={place:t}:"type"in t?o={ancestors:[t],place:t.position}:o={...t}),typeof n=="string"?i=n:!o.cause&&n&&(l=!0,i=n.message,o.cause=n),!o.ruleId&&!o.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?o.ruleId=r:(o.source=r.slice(0,u),o.ruleId=r.slice(u+1))}if(!o.place&&o.ancestors){const u=o.ancestors[o.ancestors.length-1];u&&(o.place=u.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=He(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Object.defineProperties(sn.prototype,{file:{configurable:!0,enumerable:!0,value:"",writable:!0},name:{configurable:!0,enumerable:!0,value:"",writable:!0},reason:{configurable:!0,enumerable:!0,value:"",writable:!0},message:{configurable:!0,enumerable:!0,value:"",writable:!0},stack:{configurable:!0,enumerable:!0,value:"",writable:!0},column:{configurable:!0,enumerable:!0,writable:!0},line:{configurable:!0,enumerable:!0,writable:!0},ancestors:{configurable:!0,enumerable:!0,writable:!0},cause:{configurable:!0,enumerable:!0,writable:!0},fatal:{configurable:!0,enumerable:!0,writable:!0},place:{configurable:!0,enumerable:!0,writable:!0},ruleId:{configurable:!0,enumerable:!0,writable:!0},source:{configurable:!0,enumerable:!0,writable:!0}});const nt={}.hasOwnProperty,sl=new Map,cl=/[A-Z]/g,fl=/-([a-z])/g,hl=new Set(["table","tbody","thead","tfoot","tr"]),pl=new Set(["td","th"]),Er="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ml(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Sl(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=wl(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?Zn:Xi,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},o=Ar(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function Ar(e,n,t){if(n.type==="element")return dl(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return gl(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return yl(e,n,t);if(n.type==="mdxjsEsm")return xl(e,n);if(n.type==="root")return kl(e,n,t);if(n.type==="text")return bl(e,n)}function dl(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Zn,e.schema=i),e.ancestors.push(n);const o=Tr(e,n.tagName,!1),l=Cl(e,n);let a=rt(e,n);return hl.has(n.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!Bi(u):!0})),Ir(e,l,o,n),tt(l,a),e.ancestors.pop(),e.schema=r,e.create(n,o,l,t)}function gl(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}We(e,n.position)}function xl(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);We(e,n.position)}function yl(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=Zn,e.schema=i),e.ancestors.push(n);const o=n.name===null?e.Fragment:Tr(e,n.name,!0),l=El(e,n),a=rt(e,n);return Ir(e,l,o,n),tt(l,a),e.ancestors.pop(),e.schema=r,e.create(n,o,l,t)}function kl(e,n,t){const r={};return tt(r,rt(e,n)),e.create(n,e.Fragment,r,t)}function bl(e,n){return n.value}function Ir(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function tt(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function wl(e,n,t){return r;function r(i,o,l,a){const s=Array.isArray(l.children)?t:n;return a?s(o,l,a):s(o,l)}}function Sl(e,n){return t;function t(r,i,o,l){const a=Array.isArray(o.children),u=et(r);return n(i,o,l,a,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Cl(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&nt.call(n.properties,i)){const o=Al(e,i,n.properties[i]);if(o){const[l,a]=o;e.tableCellAlignToStyle&&l==="align"&&typeof a=="string"&&pl.has(n.tagName)?r=a:t[l]=a}}if(r){const o=t.style||(t.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function El(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const a=l.properties[0];a.type,Object.assign(t,e.evaluater.evaluateExpression(a.argument))}else We(e,n.position);else{const{name:i}=r;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else We(e,n.position);else o=r.value===null?!0:r.value;t[i]=o}return t}function rt(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:sl;for(;++r<n.children.length;){const o=n.children[r];let l;if(e.passKeys){const u=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(u){const s=i.get(u)||0;l=u+"-"+s,i.set(u,s+1)}}const a=Ar(e,o,l);a!==void 0&&t.push(a)}return t}function Al(e,n,t){if(t==null||typeof t=="number"&&Number.isNaN(t))return;const r=Wi(e.schema,n);return Array.isArray(t)&&(t=r.commaSeparated?Mi(t):Ki(t)),r.property==="style"?["style",typeof t=="object"?e.stylePropertyNameCase==="dom"?t:Tl(t):Il(e,String(t))]:[e.elementAttributeNameCase==="react"&&r.space?Ui[r.property]||r.property:r.attribute,t]}function Il(e,n){const t={};try{al(n,function(r,i){if(r&&i){let o=r;o.slice(0,2)!=="--"&&(o=o.toLowerCase(),e.stylePropertyNameCase==="dom"&&(o.slice(0,4)==="-ms-"&&(o=o.slice(1)),o=o.replace(fl,Pl))),t[o]=i}})}catch(r){if(e.ignoreInvalidStyle)return{};const i=r,o=new sn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=Er+"#cannot-parse-style-attribute",o}return t}function Tr(e,n,t){let r;if(!t)r={type:"Literal",value:n};else if(n.includes(".")){const i=n.split(".");let o=-1,l;for(;++o<i.length;){const a=At(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}r=l}else r=At(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(r.type==="Literal"){const i=r.value;return nt.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);We(e)}function We(e,n){const t=new sn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=Er+"#cannot-handle-mdx-estrees-without-createevaluater",t}function Tl(e){const n={};let t;for(t in e)nt.call(e,t)&&(n[vl(t)]=e[t]);return n}function vl(e){if(e.slice(0,2)==="--")return e;let n=e.replace(cl,zl);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function zl(e){return"-"+e.toLowerCase()}function Pl(e,n){return n.toUpperCase()}const wn={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Ll={};function cn(e,n){const t=Ll,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return vr(e,r,i)}function vr(e,n,t){if(Dl(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Mt(e.children,n,t)}return Array.isArray(e)?Mt(e,n,t):""}function Mt(e,n,t){const r=[];let i=-1;for(;++i<e.length;)r[i]=vr(e[i],n,t);return r.join("")}function Dl(e){return!!(e&&typeof e=="object")}const Rt=document.createElement("i");function it(e){const n="&"+e+";";Rt.innerHTML=n;const t=Rt.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}function se(e,n,t,r){const i=e.length;let 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),e.splice(...l);else for(t&&e.splice(n,t);o<r.length;)l=r.slice(o,o+1e4),l.unshift(n,0),e.splice(...l),o+=1e4,n+=1e4}function le(e,n){return e.length>0?(se(e,e.length,0,n),e):n}const _t={}.hasOwnProperty;function zr(e){const n={};let t=-1;for(;++t<e.length;)Fl(n,e[t]);return n}function Fl(e,n){let t;for(t in n){const i=(_t.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let l;if(o)for(l in o){_t.call(i,l)||(i[l]=[]);const a=o[l];Ml(i[l],Array.isArray(a)?a:a?[a]:[])}}}function Ml(e,n){let t=-1;const r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);se(e,0,0,r)}function Pr(e,n){const 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?"�":String.fromCodePoint(t)}function ce(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const K=we(/[A-Za-z]/),G=we(/[\dA-Za-z]/),Rl=we(/[#-'*+\--9=?A-Z^-~]/);function rn(e){return e!==null&&(e<32||e===127)}const jn=we(/\d/),_l=we(/[\dA-Fa-f]/),Lr=we(/[!-/:-@[-`{-~]/);function z(e){return e!==null&&e<-2}function H(e){return e!==null&&(e<0||e===32)}function _(e){return e===-2||e===-1||e===32}const Ye=we(new RegExp("\\p{P}|\\p{S}","u")),Ae=we(/\s/);function we(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Me(e){const n=[];let t=-1,r=0,i=0;for(;++t<e.length;){const o=e.charCodeAt(t);let l="";if(o===37&&G(e.charCodeAt(t+1))&&G(e.charCodeAt(t+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(t+1);o<56320&&a>56319&&a<57344?(l=String.fromCharCode(o,a),i=1):l="�"}else l=String.fromCharCode(o);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+i+1,l=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function B(e,n,t,r){const i=r?r-1:1/0;let o=0;return l;function l(u){return _(u)?(e.enter(t),a(u)):n(u)}function a(u){return _(u)&&o++<i?(e.consume(u),a):(e.exit(t),n(u))}}function Dr(e,n,t,r,i,o){let l=0;return a;function a(c){return _(c)?(e.enter(r),u(c)):s(c)}function u(c){return _(c)&&l<o?(e.consume(c),l++,u):(e.exit(r),s(c))}function s(c){return l>=i?n(c):t(c)}}const Ol={tokenize:Nl};function Nl(e){const n=e.attempt(this.parser.constructs.contentInitial,r,i);let t;return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),B(e,n,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){const 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 z(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),l)}}let ln=class{constructor(){this.index=new Map,this.map=[]}add(n,t,r){Ot(this,n,t,r,!1)}addBefore(n,t,r){Ot(this,n,t,r,!0)}consume(n){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let t=this.map.length;const r=[];for(;t>0;)t-=1,r.push(n.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),n.length=this.map[t][0];r.push(n.slice()),n.length=0;let i=r.pop();for(;i;){for(const o of i)n.push(o);i=r.pop()}this.map.length=0,this.index.clear()}};function Ot(e,n,t,r,i){if(t===0&&r.length===0)return;const o=e.index.get(n);if(o){o[1]+=t,i?(r.push(...o[2]),o[2]=r):o[2].push(...r);return}const l=[n,t,r];e.map.push(l),e.index.set(n,l)}const Bl={tokenize:jl},Nt={tokenize:ql};function jl(e){const n=this,t=[];let r=0,i,o,l;return a;function a(w){if(r<t.length){const v=t[r];return n.containerState=v[1],e.attempt(v[0].continuation,u,s)(w)}return s(w)}function u(w){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,i&&A();const v=n.events.length;let M=v,S;for(;M--;)if(n.events[M][0]==="exit"&&n.events[M][1].type==="chunkFlow"){S=n.events[M][1].end;break}y(r);let L=v;for(;L<n.events.length;)n.events[L][1].end={...S},L++;const O=new ln;return O.add(M+1,0,n.events.slice(v)),O.add(v,L-v,[]),O.consume(n.events),s(w)}return a(w)}function s(w){if(r===t.length){if(!i)return p(w);if(i.currentConstruct&&i.currentConstruct.concrete)return m(w);n.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(Nt,c,f)(w)}function c(w){return i&&A(),y(r),p(w)}function f(w){return n.parser.lazy[n.now().line]=r!==t.length,l=n.now().offset,m(w)}function p(w){return n.containerState={},e.attempt(Nt,h,m)(w)}function h(w){return r++,t.push([n.currentConstruct,n.containerState]),p(w)}function m(w){if(w===null){i&&A(),y(0),e.consume(w);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),x(w)}function x(w){if(w===null){C(e.exit("chunkFlow"),!0),y(0),e.consume(w);return}return z(w)?(e.consume(w),C(e.exit("chunkFlow")),r=0,n.interrupt=void 0,a):(e.consume(w),x)}function C(w,v){const M=n.sliceStream(w);if(v&&M.push(null),w.previous=o,o&&(o.next=w),o=w,i.defineSkip(w.start),i.write(M),n.parser.lazy[w.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<l&&(!i.events[S][1].end||i.events[S][1].end.offset>l))return;const L=n.events.length;let O=L,W,k;for(;O--;)if(n.events[O][0]==="exit"&&n.events[O][1].type==="chunkFlow"){if(W){k=n.events[O][1].end;break}W=!0}for(y(r),S=L;S<n.events.length;)n.events[S][1].end={...k},S++;const T=new ln;T.add(O+1,0,n.events.slice(L)),T.add(L,S-L,[]),T.consume(n.events)}}function y(w){let v=t.length;for(;v-- >w;){const M=t[v];n.containerState=M[1],M[0].exit.call(n,e)}t.length=w}function A(){i.write([null]),o=void 0,i=void 0,n.containerState._closeFlow=void 0}}function ql(e,n,t){return B(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function be(e){if(e===null||H(e)||Ae(e))return 1;if(Ye(e))return 2}function fn(e,n,t){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(n=o(n,t),r.push(o))}return n}const qn={name:"attention",resolveAll:Hl,tokenize:Ul};function Hl(e,n){let t=-1,r;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){let i=t;for(;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&n.sliceSerialize(e[i][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[i][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;const o=e[i][1].end.offset-e[i][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1,l={...e[i][1].end},a={...e[t][1].start};Bt(l,-o),Bt(a,o);const u={type:o>1?"strongSequence":"emphasisSequence",start:l,end:{...e[i][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:a},c={type:o>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[t][1].start}},f={type:o>1?"strong":"emphasis",start:{...u.start},end:{...s.end}};e[i][1].end={...u.start},e[t][1].start={...s.end},r=[],e[i][1].end.offset-e[i][1].start.offset&&(r=le(r,[["enter",e[i][1],n],["exit",e[i][1],n]])),r=le(r,[["enter",f,n],["enter",u,n],["exit",u,n],["enter",c,n]]),r=le(r,fn(n.parser.constructs.insideSpan.null,e.slice(i+1,t),n)),r=le(r,[["exit",c,n],["enter",s,n],["exit",s,n],["exit",f,n]]);let p=0;e[t][1].end.offset-e[t][1].start.offset&&(p=2,r=le(r,[["enter",e[t][1],n],["exit",e[t][1],n]])),se(e,i-1,t-i+3,r),t=i+r.length-p-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function Ul(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=be(r);let o;return l;function l(u){return o=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===o)return e.consume(u),a;const s=e.exit("attentionSequence"),c=be(u),f=!c||c===2&&i||t.includes(u)&&u!==42&&u!==95,p=!i||i===2&&c||t.includes(r)&&r!==42&&r!==95;return s._open=!!(o===42?f:f&&(i||!p)),s._close=!!(o===42?p:p&&(c||!f)),n(u)}}function Bt(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const $l={name:"autolink",tokenize:Vl};function Vl(e,n,t){let r=0;return i;function i(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(h){return K(h)?(e.consume(h),l):h===64?t(h):s(h)}function l(h){return h===43||h===45||h===46||G(h)?(r=1,a(h)):s(h)}function a(h){return h===58?(e.consume(h),r=0,u):(h===43||h===45||h===46||G(h))&&r++<32?(e.consume(h),a):(r=0,s(h))}function u(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),n):h===null||h===32||h===60||rn(h)?t(h):(e.consume(h),u)}function s(h){return h===64?(e.consume(h),c):Rl(h)?(e.consume(h),s):t(h)}function c(h){return G(h)?f(h):t(h)}function f(h){return h===46?(e.consume(h),r=0,c):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),n):p(h)}function p(h){if((h===45||G(h))&&r++<63){const m=h===45?p:f;return e.consume(h),m}return t(h)}}const Xe={partial:!0,tokenize:Wl};function Wl(e,n,t){return r;function r(o){return _(o)?B(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||z(o)?n(o):t(o)}}const Fr={continuation:{tokenize:Yl},exit:Xl,name:"blockQuote",tokenize:Ql};function Ql(e,n,t){const r=this;return i;function i(l){if(l===62){const 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 _(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(l))}}function Yl(e,n,t){const r=this;return i;function i(l){return _(l)?B(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(Fr,n,t)(l)}}function Xl(e){e.exit("blockQuote")}const Mr={name:"characterEscape",tokenize:Kl};function Kl(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 Lr(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(o)}}const Rr={name:"characterReference",tokenize:Gl};function Gl(e,n,t){const r=this;let i=0,o,l;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=G,c(f))}function s(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=_l,c):(e.enter("characterReferenceValue"),o=7,l=jn,c(f))}function c(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return l===G&&!it(r.sliceSerialize(p))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return l(f)&&i++<o?(e.consume(f),c):t(f)}}const Hn={partial:!0,tokenize:Jl};function Jl(e,n,t){const r=this;return i;function i(l){return l===null?t(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?t(l):n(l)}}const jt={concrete:!0,name:"codeFenced",tokenize:Zl};function Zl(e,n,t){const r=this,i={partial:!0,tokenize:M};let o=0,l=0,a;return u;function u(S){return s(S)}function s(S){const L=r.events[r.events.length-1];return o=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,a=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(S)}function c(S){return S===a?(l++,e.consume(S),c):l<3?t(S):(e.exit("codeFencedFenceSequence"),_(S)?B(e,f,"whitespace")(S):f(S))}function f(S){return S===null||z(S)?(e.exit("codeFencedFence"),r.interrupt?n(S):e.check(Hn,x,v)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(S))}function p(S){return S===null||z(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):_(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),B(e,h,"whitespace")(S)):S===96&&S===a?t(S):(e.consume(S),p)}function h(S){return S===null||z(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(S))}function m(S){return S===null||z(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===a?t(S):(e.consume(S),m)}function x(S){return e.attempt(i,v,C)(S)}function C(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),y}function y(S){return o>0&&_(S)?B(e,A,"linePrefix",o+1)(S):A(S)}function A(S){return S===null||z(S)?e.check(Hn,x,v)(S):(e.enter("codeFlowValue"),w(S))}function w(S){return S===null||z(S)?(e.exit("codeFlowValue"),A(S)):(e.consume(S),w)}function v(S){return e.exit("codeFenced"),n(S)}function M(S,L,O){let W=0;return k;function k(N){return S.enter("lineEnding"),S.consume(N),S.exit("lineEnding"),T}function T(N){return S.enter("codeFencedFence"),_(N)?B(S,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):P(N)}function P(N){return N===a?(S.enter("codeFencedFenceSequence"),j(N)):O(N)}function j(N){return N===a?(W++,S.consume(N),j):W>=l?(S.exit("codeFencedFenceSequence"),_(N)?B(S,V,"whitespace")(N):V(N)):O(N)}function V(N){return N===null||z(N)?(S.exit("codeFencedFence"),L(N)):O(N)}}}const Sn={name:"codeIndented",tokenize:no},eo={partial:!0,tokenize:to};function no(e,n,t){return r;function r(a){return e.enter("codeIndented"),Dr(e,i,t,"linePrefix",4,4)(a)}function i(a){return a===null?l(a):z(a)?e.attempt(eo,i,l)(a):(e.enter("codeFlowValue"),o(a))}function o(a){return a===null||z(a)?(e.exit("codeFlowValue"),i(a)):(e.consume(a),o)}function l(a){return e.exit("codeIndented"),n(a)}}function to(e,n,t){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?t(l):z(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):Dr(e,n,o,"linePrefix",4,4)(l)}function o(l){return z(l)?i(l):t(l)}}const ro={name:"codeText",previous:lo,resolve:io,tokenize:oo};function io(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 lo(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function oo(e,n,t){let r=0,i,o;return l;function l(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?t(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(o=e.enter("codeTextSequence"),i=0,c(f)):z(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),s(f))}function s(f){return f===null||f===32||f===96||z(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),s)}function c(f){return f===96?(e.consume(f),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(f)):(o.type="codeTextData",s(f))}}class ao{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,t){const r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(n,r):n>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(n,t,r){const i=t||0;this.setCursor(Math.trunc(n));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&je(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),je(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),je(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const t=this.left.splice(n,Number.POSITIVE_INFINITY);je(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);je(this.left,t.reverse())}}}function je(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}function _r(e){const n={};let t=-1,r,i,o,l,a,u,s;const c=new ao(e);for(;++t<c.length;){for(;t in n;)t=n[t];if(r=c.get(t),t&&r[1].type==="chunkFlow"&&c.get(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,uo(c,t)),t=n[t],s=!0);else if(r[1]._container){for(o=t,i=void 0;o--;)if(l=c.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...c.get(i)[1].start},a=c.slice(i,t),a.unshift(r),c.splice(i,t-i+1,a))}}return se(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!s}function uo(e,n){const t=e.get(n)[1],r=e.get(n)[2];let i=n-1;const o=[];let l=t._tokenizer;l||(l=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const a=l.events,u=[],s={};let c,f,p=-1,h=t,m=0,x=0;const C=[x];for(;h;){for(;e.get(++i)[1]!==h;);o.push(i),h._tokenizer||(c=r.sliceStream(h),h.next||c.push(null),f&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=t;++p<a.length;)a[p][0]==="exit"&&a[p-1][0]==="enter"&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(x=p+1,C.push(x),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):C.pop(),p=C.length;p--;){const y=a.slice(C[p],C[p+1]),A=o.pop();u.push([A,A+y.length-1]),e.splice(A,2,y)}for(u.reverse(),p=-1;++p<u.length;)s[m+u[p][0]]=m+u[p][1],m+=u[p][1]-u[p][0]-1;return s}const so={resolve:fo,tokenize:ho},co={partial:!0,tokenize:po};function fo(e){return _r(e),e}function ho(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):z(a)?e.check(co,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 po(e,n,t){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),B(e,o,"linePrefix")}function o(l){if(l===null||z(l))return t(l);const 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 Or(e,n,t,r,i,o,l,a,u){const s=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(y){return y===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(y),e.exit(o),p):y===null||y===32||y===41||rn(y)?t(y):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),x(y))}function p(y){return y===62?(e.enter(o),e.consume(y),e.exit(o),e.exit(i),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),h(y))}function h(y){return y===62?(e.exit("chunkString"),e.exit(a),p(y)):y===null||y===60||z(y)?t(y):(e.consume(y),y===92?m:h)}function m(y){return y===60||y===62||y===92?(e.consume(y),h):h(y)}function x(y){return!c&&(y===null||y===41||H(y))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),n(y)):c<s&&y===40?(e.consume(y),c++,x):y===41?(e.consume(y),c--,x):y===null||y===32||y===40||rn(y)?t(y):(e.consume(y),y===92?C:x)}function C(y){return y===40||y===41||y===92?(e.consume(y),x):x(y)}}function Nr(e,n,t,r,i,o){const l=this;let 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 a>999||h===null||h===91||h===93&&!u||h===94&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?t(h):h===93?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),n):z(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||z(h)||a++>999?(e.exit("chunkString"),c(h)):(e.consume(h),u||(u=!_(h)),h===92?p:f)}function p(h){return h===91||h===92||h===93?(e.consume(h),a++,f):f(h)}}function Br(e,n,t,r,i,o){let l;return a;function a(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),l=p===40?41:p,u):t(p)}function u(p){return p===l?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):(e.enter(o),s(p))}function s(p){return p===l?(e.exit(o),u(l)):p===null?t(p):z(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),B(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===l||p===null||z(p)?(e.exit("chunkString"),s(p)):(e.consume(p),p===92?f:c)}function f(p){return p===l||p===92?(e.consume(p),c):c(p)}}function Ue(e,n){let t;return r;function r(i){return z(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):_(i)?B(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const mo={name:"definition",tokenize:xo},go={partial:!0,tokenize:yo};function xo(e,n,t){const r=this;let i;return o;function o(h){return e.enter("definition"),l(h)}function l(h){return Nr.call(r,e,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function a(h){return i=ce(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),u):t(h)}function u(h){return H(h)?Ue(e,s)(h):s(h)}function s(h){return Or(e,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return e.attempt(go,f,f)(h)}function f(h){return _(h)?B(e,p,"whitespace")(h):p(h)}function p(h){return h===null||z(h)?(e.exit("definition"),r.parser.defined.push(i),n(h)):t(h)}}function yo(e,n,t){return r;function r(a){return H(a)?Ue(e,i)(a):t(a)}function i(a){return Br(e,o,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return _(a)?B(e,l,"whitespace")(a):l(a)}function l(a){return a===null||z(a)?n(a):t(a)}}const ko={name:"hardBreakEscape",tokenize:bo};function bo(e,n,t){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return z(o)?(e.exit("hardBreakEscape"),n(o)):t(o)}}const wo={name:"headingAtx",resolve:So,tokenize:Co};function So(e,n){let t=e.length-2,r=3;if(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){const 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"};se(e,r,t-r+1,[["enter",i,n],["enter",o,n],["exit",o,n],["exit",i,n]])}return e}function Co(e,n,t){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&r++<6?(e.consume(c),l):c===null||H(c)?(e.exit("atxHeadingSequence"),a(c)):t(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||z(c)?(e.exit("atxHeading"),n(c)):_(c)?B(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||H(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),s)}}const jr=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Un=["pre","script","style","textarea"],Eo={concrete:!0,name:"htmlFlow",resolveTo:Io,tokenize:To},Ao={partial:!0,tokenize:vo};function Io(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 To(e,n,t){const r=this;let i,o,l,a,u;return s;function s(g){return c(g)}function c(g){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(g),f}function f(g){return g===33?(e.consume(g),p):g===47?(e.consume(g),o=!0,x):g===63?(e.consume(g),i=3,r.interrupt?n:d):K(g)?(e.consume(g),l=String.fromCharCode(g),C):t(g)}function p(g){return g===45?(e.consume(g),i=2,h):g===91?(e.consume(g),i=5,a=0,m):K(g)?(e.consume(g),i=4,r.interrupt?n:d):t(g)}function h(g){return g===45?(e.consume(g),r.interrupt?n:d):t(g)}function m(g){const ue="CDATA[";return g===ue.charCodeAt(a++)?(e.consume(g),a===ue.length?r.interrupt?n:P:m):t(g)}function x(g){return K(g)?(e.consume(g),l=String.fromCharCode(g),C):t(g)}function C(g){if(g===null||g===47||g===62||H(g)){const ue=g===47,Te=l.toLowerCase();return!ue&&!o&&Un.includes(Te)?(i=1,r.interrupt?n(g):P(g)):jr.includes(l.toLowerCase())?(i=6,ue?(e.consume(g),y):r.interrupt?n(g):P(g)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(g):o?A(g):w(g))}return g===45||G(g)?(e.consume(g),l+=String.fromCharCode(g),C):t(g)}function y(g){return g===62?(e.consume(g),r.interrupt?n:P):t(g)}function A(g){return _(g)?(e.consume(g),A):k(g)}function w(g){return g===47?(e.consume(g),k):g===58||g===95||K(g)?(e.consume(g),v):_(g)?(e.consume(g),w):k(g)}function v(g){return g===45||g===46||g===58||g===95||G(g)?(e.consume(g),v):M(g)}function M(g){return g===61?(e.consume(g),S):_(g)?(e.consume(g),M):w(g)}function S(g){return g===null||g===60||g===61||g===62||g===96?t(g):g===34||g===39?(e.consume(g),u=g,L):_(g)?(e.consume(g),S):O(g)}function L(g){return g===u?(e.consume(g),u=null,W):g===null||z(g)?t(g):(e.consume(g),L)}function O(g){return g===null||g===34||g===39||g===47||g===60||g===61||g===62||g===96||H(g)?M(g):(e.consume(g),O)}function W(g){return g===47||g===62||_(g)?w(g):t(g)}function k(g){return g===62?(e.consume(g),T):t(g)}function T(g){return g===null||z(g)?P(g):_(g)?(e.consume(g),T):t(g)}function P(g){return g===45&&i===2?(e.consume(g),J):g===60&&i===1?(e.consume(g),X):g===62&&i===4?(e.consume(g),ae):g===63&&i===3?(e.consume(g),d):g===93&&i===5?(e.consume(g),me):z(g)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Ao,de,j)(g)):g===null||z(g)?(e.exit("htmlFlowData"),j(g)):(e.consume(g),P)}function j(g){return e.check(Hn,V,de)(g)}function V(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),N}function N(g){return g===null||z(g)?j(g):(e.enter("htmlFlowData"),P(g))}function J(g){return g===45?(e.consume(g),d):P(g)}function X(g){return g===47?(e.consume(g),l="",oe):P(g)}function oe(g){if(g===62){const ue=l.toLowerCase();return Un.includes(ue)?(e.consume(g),ae):P(g)}return K(g)&&l.length<8?(e.consume(g),l+=String.fromCharCode(g),oe):P(g)}function me(g){return g===93?(e.consume(g),d):P(g)}function d(g){return g===62?(e.consume(g),ae):g===45&&i===2?(e.consume(g),d):P(g)}function ae(g){return g===null||z(g)?(e.exit("htmlFlowData"),de(g)):(e.consume(g),ae)}function de(g){return e.exit("htmlFlow"),n(g)}}function vo(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Xe,n,t)}}const zo={name:"htmlText",tokenize:Po};function Po(e,n,t){const r=this;let i,o,l;return a;function a(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),u}function u(d){return d===33?(e.consume(d),s):d===47?(e.consume(d),M):d===63?(e.consume(d),w):K(d)?(e.consume(d),O):t(d)}function s(d){return d===45?(e.consume(d),c):d===91?(e.consume(d),o=0,m):K(d)?(e.consume(d),A):t(d)}function c(d){return d===45?(e.consume(d),h):t(d)}function f(d){return d===null?t(d):d===45?(e.consume(d),p):z(d)?(l=f,X(d)):(e.consume(d),f)}function p(d){return d===45?(e.consume(d),h):f(d)}function h(d){return d===62?J(d):d===45?p(d):f(d)}function m(d){const ae="CDATA[";return d===ae.charCodeAt(o++)?(e.consume(d),o===ae.length?x:m):t(d)}function x(d){return d===null?t(d):d===93?(e.consume(d),C):z(d)?(l=x,X(d)):(e.consume(d),x)}function C(d){return d===93?(e.consume(d),y):x(d)}function y(d){return d===62?J(d):d===93?(e.consume(d),y):x(d)}function A(d){return d===null||d===62?J(d):z(d)?(l=A,X(d)):(e.consume(d),A)}function w(d){return d===null?t(d):d===63?(e.consume(d),v):z(d)?(l=w,X(d)):(e.consume(d),w)}function v(d){return d===62?J(d):w(d)}function M(d){return K(d)?(e.consume(d),S):t(d)}function S(d){return d===45||G(d)?(e.consume(d),S):L(d)}function L(d){return z(d)?(l=L,X(d)):_(d)?(e.consume(d),L):J(d)}function O(d){return d===45||G(d)?(e.consume(d),O):d===47||d===62||H(d)?W(d):t(d)}function W(d){return d===47?(e.consume(d),J):d===58||d===95||K(d)?(e.consume(d),k):z(d)?(l=W,X(d)):_(d)?(e.consume(d),W):J(d)}function k(d){return d===45||d===46||d===58||d===95||G(d)?(e.consume(d),k):T(d)}function T(d){return d===61?(e.consume(d),P):z(d)?(l=T,X(d)):_(d)?(e.consume(d),T):W(d)}function P(d){return d===null||d===60||d===61||d===62||d===96?t(d):d===34||d===39?(e.consume(d),i=d,j):z(d)?(l=P,X(d)):_(d)?(e.consume(d),P):(e.consume(d),V)}function j(d){return d===i?(e.consume(d),i=void 0,N):d===null?t(d):z(d)?(l=j,X(d)):(e.consume(d),j)}function V(d){return d===null||d===34||d===39||d===60||d===61||d===96?t(d):d===47||d===62||H(d)?W(d):(e.consume(d),V)}function N(d){return d===47||d===62||H(d)?W(d):t(d)}function J(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),n):t(d)}function X(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),oe}function oe(d){return _(d)?B(e,me,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):me(d)}function me(d){return e.enter("htmlTextData"),l(d)}}const lt={name:"labelEnd",resolveAll:Mo,resolveTo:Ro,tokenize:_o},Lo={tokenize:Oo},Do={tokenize:No},Fo={tokenize:Bo};function Mo(e){let n=-1;const t=[];for(;++n<e.length;){const r=e[n][1];if(t.push(e[n]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",n+=i}}return e.length!==t.length&&se(e,0,e.length,t),e}function Ro(e,n){let t=e.length,r=0,i,o,l;for(;t--;){const c=e[t][1];if(i){if(c.type==="link"||c.type==="labelLink"&&c._inactive)break;e[t][0]==="enter"&&c.type==="labelLink"&&(c._inactive=!0)}else if(o){if(e[t][0]==="enter"&&(c.type==="labelImage"||c.type==="labelLink")&&!c._balanced&&(i=t,c.type!=="labelLink")){r=2;break}}else c.type==="labelEnd"&&(o=t)}const a={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},s={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[o-2][1].start}};return l=[["enter",a,n],["enter",u,n]],l=le(l,e.slice(i+1,i+r+3)),l=le(l,[["enter",s,n]]),l=le(l,fn(n.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),n)),l=le(l,[["exit",s,n],e[o-2],e[o-1],["exit",u,n]]),l=le(l,e.slice(o+1)),l=le(l,[["exit",a,n]]),se(e,i,e.length,l),e}function _o(e,n,t){const r=this,i=r._labelStarts;let o,l;if(i){for(;i.length>0&&i[i.length-1]._balanced;)i.pop();o=i[i.length-1]}return a;function a(p){return o?o._inactive?f(p):(l=r.parser.defined.includes(ce(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):t(p)}function u(p){return p===40?e.attempt(Lo,c,l?c:f)(p):p===91?e.attempt(Do,c,l?s:f)(p):l?c(p):f(p)}function s(p){return e.attempt(Fo,c,f)(p)}function c(p){return i.pop(),n(p)}function f(p){return o._balanced=!0,t(p)}}function Oo(e,n,t){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return H(f)?Ue(e,o)(f):o(f)}function o(f){return f===41?c(f):Or(e,l,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function l(f){return H(f)?Ue(e,u)(f):c(f)}function a(f){return t(f)}function u(f){return f===34||f===39||f===40?Br(e,s,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function s(f){return H(f)?Ue(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),n):t(f)}}function No(e,n,t){const r=this;return i;function i(a){return Nr.call(r,e,o,l,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(ce(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(a):t(a)}function l(a){return t(a)}}function Bo(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)}}const jo={name:"labelStartImage",resolveAll:lt.resolveAll,tokenize:qo};function qo(e,n,t){const r=this;let i;return o;function o(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),l}function l(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),i=e.exit("labelImage"),a):t(u)}function a(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(u):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),n(u))}}const Ho={name:"labelStartLink",resolveAll:lt.resolveAll,tokenize:Uo};function Uo(e,n,t){const r=this;let i;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),i=e.exit("labelLink"),l}function l(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):(r._labelStarts=r._labelStarts||[],r._labelStarts.push(i),n(a))}}const Cn={name:"lineEnding",tokenize:$o};function $o(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),B(e,n,"linePrefix")}}const tn={name:"thematicBreak",tokenize:Vo};function Vo(e,n,t){let r=0,i;return o;function o(s){return e.enter("thematicBreak"),l(s)}function l(s){return i=s,a(s)}function a(s){return s===i?(e.enter("thematicBreakSequence"),u(s)):r>=3&&(s===null||z(s))?(e.exit("thematicBreak"),n(s)):t(s)}function u(s){return s===i?(e.consume(s),r++,u):(e.exit("thematicBreakSequence"),_(s)?B(e,a,"whitespace")(s):a(s))}}const ne={continuation:{tokenize:Xo},exit:Go,name:"list",tokenize:Yo},Wo={partial:!0,tokenize:Jo},Qo={partial:!0,tokenize:Ko};function Yo(e,n,t){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return a;function a(h){const m=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:jn(h)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(tn,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 jn(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(Xe,r.interrupt?t:c,e.attempt(Wo,p,f))}function c(h){return r.containerState.initialBlankLine=!0,o++,p(h)}function f(h){return _(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):t(h)}function p(h){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(h)}}function Xo(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Xe,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,B(e,n,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!_(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(Qo,n,l)(a))}function l(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,B(e,e.attempt(ne,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Ko(e,n,t){const r=this;return B(e,i,"listItemIndent",r.containerState.size+1);function i(o){const 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 Go(e){e.exit(this.containerState.type)}function Jo(e,n,t){const r=this;return B(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!_(o)&&l&&l[1].type==="listItemPrefixWhitespace"?n(o):t(o)}}const qt={name:"setextUnderline",resolveTo:Zo,tokenize:ea};function Zo(e,n){const t=new ln;let r=e.length,i,o,l;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){i=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&t.add(r,1,[]),!l&&e[r][1].type==="definition"&&(l=r);const a={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[o][1].type="setextHeadingText",l?(t.add(o,0,[["enter",a,n]]),t.add(l+1,0,[["exit",e[i][1],n]]),e[i][1].end={...e[l][1].end}):e[i][1]=a,t.add(e.length,0,[["exit",a,n]]),t.consume(e),e}function ea(e,n,t){const r=this;let i;return o;function o(s){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=s,l(s)):t(s)}function l(s){return e.enter("setextHeadingLineSequence"),a(s)}function a(s){return s===i?(e.consume(s),a):(e.exit("setextHeadingLineSequence"),_(s)?B(e,u,"lineSuffix")(s):u(s))}function u(s){return s===null||z(s)?(e.exit("setextHeadingLine"),n(s)):t(s)}}const na={tokenize:ta};function ta(e){const n=this,t=e.attempt(Xe,r,e.attempt(this.parser.constructs.flowInitial,i,B(e,e.attempt(this.parser.constructs.flow,i,e.attempt(so,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}}const ra={resolveAll:Hr()},ia=qr("string"),la=qr("text");function qr(e){return{resolveAll:Hr(e==="text"?oa:void 0),tokenize:n};function n(t){const 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;const f=i[c];let p=-1;if(f)for(;++p<f.length;){const h=f[p];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function Hr(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 oa(e,n){const t=new ln;let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const i=e[r-1][1],o=n.sliceStream(i);let l=o.length,a=-1,u=0,s;for(;l--;){const c=o[l];if(typeof c=="string"){for(a=c.length;c.charCodeAt(a-1)===32;)u++,a--;if(a)break;a=-1}else if(c===-2)s=!0,u++;else if(c!==-1){l++;break}}if(n._contentTypeTextTrailing&&r===e.length&&(u=0),u){const c={type:r===e.length||s||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:i.start._bufferIndex+a,_index:i.start._index+l,line:i.end.line,column:i.end.column-u,offset:i.end.offset-u},end:{...i.end}};i.end={...c.start},i.start.offset===i.end.offset?Object.assign(i,c):t.add(r,0,[["enter",c,n],["exit",c,n]])}r++}return t.consume(e),e}const aa={42:ne,43:ne,45:ne,48:ne,49:ne,50:ne,51:ne,52:ne,53:ne,54:ne,55:ne,56:ne,57:ne,62:Fr},ua={91:mo},sa={[-2]:Sn,[-1]:Sn,32:Sn},ca={35:wo,42:tn,45:[qt,tn],60:Eo,61:qt,95:tn,96:jt,126:jt},fa={38:Rr,92:Mr},ha={[-5]:Cn,[-4]:Cn,[-3]:Cn,33:jo,38:Rr,42:qn,60:[$l,zo],91:Ho,92:[ko,Mr],93:lt,95:qn,96:ro},pa={null:[qn,ra]},ma={null:[42,95]},da={null:[]},ga=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:ma,contentInitial:ua,disable:da,document:aa,flow:ca,flowInitial:sa,insideSpan:pa,string:fa,text:ha},Symbol.toStringTag,{value:"Module"}));function xa(e,n,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},o=[];let l=[],a=[];const u={attempt:L(M),check:L(S),consume:A,enter:w,exit:v,interrupt:L(S,{interrupt:!0})},s={code:null,containerState:{},defineSkip:x,events:[],now:m,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:f};let c=n.tokenize.call(s,u);return n.resolveAll&&o.push(n),s;function f(T){return l=le(l,T),C(),l[l.length-1]!==null?[]:(O(n,0),s.events=fn(o,s.events,s),s.events)}function p(T,P){return ka(h(T),P)}function h(T){return ya(l,T)}function m(){const{_bufferIndex:T,_index:P,line:j,column:V,offset:N}=r;return{_bufferIndex:T,_index:P,line:j,column:V,offset:N}}function x(T){i[T.line]=T.column,k()}function C(){for(;r._index<l.length;){const T=l[r._index];if(typeof T=="string"){const P=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===P&&r._bufferIndex<T.length;)y(T.charCodeAt(r._bufferIndex))}else y(T)}}function y(T){c=c(T)}function A(T){z(T)?(r.line++,r.column=1,r.offset+=T===-3?2:1,k()):T!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=T}function w(T,P){const j=P||{};return j.type=T,j.start=m(),s.events.push(["enter",j,s]),a.push(j),j}function v(T){const P=a.pop();return P.end=m(),s.events.push(["exit",P,s]),P}function M(T,P){O(T,P.from)}function S(T,P){P.restore()}function L(T,P){return j;function j(V,N,J){let X,oe,me,d;return Array.isArray(V)?de(V):"tokenize"in V?de([V]):ae(V);function ae(Y){return Re;function Re(ye){const ve=ye!==null&&Y[ye],ze=ye!==null&&Y.null,yn=[...Array.isArray(ve)?ve:ve?[ve]:[],...Array.isArray(ze)?ze:ze?[ze]:[]];return de(yn)(ye)}}function de(Y){return X=Y,oe=0,Y.length===0?J:g(Y[oe])}function g(Y){return Re;function Re(ye){return d=W(),me=Y,Y.partial||(s.currentConstruct=Y),Y.name&&s.parser.constructs.disable.null.includes(Y.name)?Te():Y.tokenize.call(P?Object.assign(Object.create(s),P):s,u,ue,Te)(ye)}}function ue(Y){return T(me,d),N}function Te(Y){return d.restore(),++oe<X.length?g(X[oe]):J}}}function O(T,P){T.resolveAll&&!o.includes(T)&&o.push(T),T.resolve&&se(s.events,P,s.events.length-P,T.resolve(s.events.slice(P),s)),T.resolveTo&&(s.events=T.resolveTo(s.events,s))}function W(){const T=m(),P=s.previous,j=s.currentConstruct,V=s.events.length,N=Array.from(a);return{from:V,restore:J};function J(){r=T,s.previous=P,s.currentConstruct=j,s.events.length=V,a=N,k()}}function k(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function ya(e,n){const t=n.start._index,r=n.start._bufferIndex,i=n.end._index,o=n.end._bufferIndex;let l;if(t===i)l=[e[t].slice(r,o)];else{if(l=e.slice(t,i),r>-1){const a=l[0];typeof a=="string"?l[0]=a.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function ka(e,n){let t=-1;const r=[];let i;for(;++t<e.length;){const o=e[t];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
`;break}case-3:{l=`\r
`;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("")}function ba(e){const r={constructs:zr([ga,...(e||{}).extensions||[]]),content:i(Ol),defined:[],document:i(Bl),flow:i(na),lazy:{},string:i(ia),text:i(la)};return r;function i(o){return l;function l(a){return xa(r,o,a)}}}function wa(e){for(;!_r(e););return e}const Ht=/[\0\t\n\r]/g;function Sa(){let e=1,n="",t=!0,r;return i;function i(o,l,a){o=n+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o));const u=[];let s=0;for(n="",t&&(o.charCodeAt(0)===65279&&s++,t=void 0);s<o.length;){Ht.lastIndex=s;const c=Ht.exec(o),f=c&&c.index!==void 0?c.index:o.length,p=o.charCodeAt(f);if(!c){n=o.slice(s);break}if(p===10&&s===f&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),s<f&&(u.push(o.slice(s,f)),e+=f-s),p){case 0:{u.push(65533),e++;break}case 9:{const h=Math.ceil(e/4)*4;for(u.push(-2);e++<h;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}s=f+1}return a&&(r&&u.push(-5),n&&u.push(n),u.push(null)),u}}const Ca=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ea(e){return e.replace(Ca,Aa)}function Aa(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),o=i===120||i===88;return Pr(t.slice(o?2:1),o?16:10)}return it(t)||e}const Ur={}.hasOwnProperty;function Ia(e,n,t){return n&&typeof n=="object"&&(t=n,n=void 0),Ta(t)(wa(ba(t).document().write(Sa()(e,n,!0))))}function Ta(e){const n={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(St),autolinkProtocol:k,autolinkEmail:k,atxHeading:l(kt),blockQuote:l(yn),characterEscape:k,characterReference:k,codeFenced:l(yt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:l(yt,a),codeText:l(Ei,a),codeTextData:k,data:k,codeFlowValue:k,definition:l(Ai),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:l(Ii),hardBreakEscape:l(bt),hardBreakTrailing:l(bt),htmlFlow:l(wt,a),htmlFlowData:k,htmlText:l(wt,a),htmlTextData:k,image:l(Ti),label:a,link:l(St),listItem:l(vi),listItemValue:h,listOrdered:l(Ct,p),listUnordered:l(Ct),paragraph:l(zi),reference:ue,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:l(kt),strong:l(Pi),thematicBreak:l(Di)},exit:{atxHeading:s(),atxHeadingSequence:S,autolink:s(),autolinkEmail:ze,autolinkProtocol:ve,blockQuote:s(),characterEscapeValue:T,characterReferenceMarkerHexadecimal:Y,characterReferenceMarkerNumeric:Y,characterReferenceValue:Re,characterReference:ye,codeFenced:s(y),codeFencedFence:C,codeFencedFenceInfo:m,codeFencedFenceMeta:x,codeFlowValue:T,codeIndented:s(A),codeText:s(J),codeTextData:T,data:T,definition:s(),definitionDestinationString:M,definitionLabelString:w,definitionTitleString:v,emphasis:s(),hardBreakEscape:s(j),hardBreakTrailing:s(j),htmlFlow:s(V),htmlFlowData:T,htmlText:s(N),htmlTextData:T,image:s(oe),label:d,labelText:me,lineEnding:P,link:s(X),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:Te,resourceDestinationString:ae,resourceTitleString:de,resource:g,setextHeading:s(W),setextHeadingLineSequence:O,setextHeadingText:L,strong:s(),thematicBreak:s()}};$r(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(b){let I={type:"root",children:[],position:void 0};const F={stack:[I],tokenStack:[],config:n,enter:u,exit:c,buffer:a,resume:f,data:t},R=[],Z=[];let $=-1;for(;++$<b.length;)if(Z.push(b[$]),b[$][1].type==="listOrdered"||b[$][1].type==="listUnordered")if(b[$][0]==="enter")R.push(Z.length-1);else{const ee=R.pop();o(Z,ee)}for(b=Z,$=-1;++$<b.length;){const ee=n[b[$][0]];b[$][0]==="enter"&&n.beforeEnter.length>0&&i(n.beforeEnter,{...F,sliceSerialize:b[$][2].sliceSerialize},b[$][1]),Ur.call(ee,b[$][1].type)&&ee[b[$][1].type].call({...F,sliceSerialize:b[$][2].sliceSerialize},b[$][1]),b[$][0]==="exit"&&n.afterExit.length>0&&i(n.afterExit,{...F,sliceSerialize:b[$][2].sliceSerialize},b[$][1])}if(F.tokenStack.length>0){const ee=F.tokenStack[F.tokenStack.length-1];(ee[1]||Ut).call(F,void 0,ee[0])}for(I.position={start:ke(b.length>0?b[0][1].start:{line:1,column:1,offset:0}),end:ke(b.length>0?b[b.length-2][1].end:{line:1,column:1,offset:0})},$=-1;++$<n.transforms.length;)I=n.transforms[$](I)||I;return I}function i(b,I,F){let R=-1;for(;++R<b.length;)b[R].call(I,F)}function o(b,I){const F=b.length-1;let R=I-1,Z=-1,$=!1,ee,fe,_e,Oe;const Ne=[];for(;++R<=F;){const re=b[R];switch(re[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{re[0]==="enter"?Z++:Z--,Oe=void 0;break}case"lineEndingBlank":{re[0]==="enter"&&(ee&&!Oe&&!Z&&!_e&&(_e=R),Oe=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Oe=void 0}if(!Z&&re[0]==="enter"&&re[1].type==="listItemPrefix"||Z===-1&&re[0]==="exit"&&(re[1].type==="listUnordered"||re[1].type==="listOrdered")){if(ee){let Pe=R;for(fe=void 0;Pe--;){const ge=b[Pe];if(ge[1].type==="lineEnding"||ge[1].type==="lineEndingBlank"){if(ge[0]==="exit")continue;fe&&(b[fe][1].type="lineEndingBlank",$=!0),ge[1].type="lineEnding",fe=Pe}else if(!(ge[1].type==="linePrefix"||ge[1].type==="blockQuotePrefix"||ge[1].type==="blockQuotePrefixWhitespace"||ge[1].type==="blockQuoteMarker"||ge[1].type==="listItemIndent"))break}_e&&(!fe||_e<fe)&&(ee._spread=!0),ee.end=Object.assign({},fe?b[fe][1].start:re[1].end),Ne.push({at:fe||R,event:["exit",ee,re[2]]})}if(re[1].type==="listItemPrefix"){const Pe={type:"listItem",_spread:!1,start:Object.assign({},re[1].start),end:void 0};ee=Pe,Ne.push({at:R,event:["enter",Pe,re[2]]}),_e=void 0,Oe=!0}}}const Et=b.splice(I);let kn=0;for(R=-1;++R<Et.length;){for(;kn<Ne.length&&Ne[kn].at===I+R;)b.push(Ne[kn++].event);b.push(Et[R])}b[I][1]._spread=$}function l(b,I){return F;function F(R){u.call(this,b(R),R),I&&I.call(this,R)}}function a(){this.stack.push({type:"fragment",children:[]})}function u(b,I,F){this.stack[this.stack.length-1].children.push(b),this.stack.push(b),this.tokenStack.push([I,F||void 0]),b.position={start:ke(I.start),end:void 0}}function s(b){return I;function I(F){b&&b.call(this,F),c.call(this,F)}}function c(b,I){const F=this.stack.pop(),R=this.tokenStack.pop();if(!R)throw new Error("Cannot close `"+b.type+"` ("+He({start:b.start,end:b.end})+"): it’s not open");R[0].type!==b.type&&(I?I.call(this,b,R[0]):(R[1]||Ut).call(this,b,R[0])),F.position.end=ke(b.end)}function f(){return cn(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function h(b){if(this.data.expectingFirstListItemValue){const I=this.stack[this.stack.length-2];I.start=Number.parseInt(this.sliceSerialize(b),10),this.data.expectingFirstListItemValue=void 0}}function m(){const b=this.resume(),I=this.stack[this.stack.length-1];I.lang=b}function x(){const b=this.resume(),I=this.stack[this.stack.length-1];I.meta=b}function C(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const b=this.resume(),I=this.stack[this.stack.length-1];I.value=b.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const b=this.resume(),I=this.stack[this.stack.length-1];I.value=b.replace(/(\r?\n|\r)$/g,"")}function w(b){const I=this.resume(),F=this.stack[this.stack.length-1];F.label=I,F.identifier=ce(this.sliceSerialize(b)).toLowerCase()}function v(){const b=this.resume(),I=this.stack[this.stack.length-1];I.title=b}function M(){const b=this.resume(),I=this.stack[this.stack.length-1];I.url=b}function S(b){const I=this.stack[this.stack.length-1];if(!I.depth){const F=this.sliceSerialize(b).length;I.depth=F}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function O(b){const I=this.stack[this.stack.length-1];I.depth=this.sliceSerialize(b).codePointAt(0)===61?1:2}function W(){this.data.setextHeadingSlurpLineEnding=void 0}function k(b){const F=this.stack[this.stack.length-1].children;let R=F[F.length-1];(!R||R.type!=="text")&&(R=Li(),R.position={start:ke(b.start),end:void 0},F.push(R)),this.stack.push(R)}function T(b){const I=this.stack.pop();I.value+=this.sliceSerialize(b),I.position.end=ke(b.end)}function P(b){const I=this.stack[this.stack.length-1];if(this.data.atHardBreak){const F=I.children[I.children.length-1];F.position.end=ke(b.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(I.type)&&(k.call(this,b),T.call(this,b))}function j(){this.data.atHardBreak=!0}function V(){const b=this.resume(),I=this.stack[this.stack.length-1];I.value=b}function N(){const b=this.resume(),I=this.stack[this.stack.length-1];I.value=b}function J(){const b=this.resume(),I=this.stack[this.stack.length-1];I.value=b}function X(){const b=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";b.type+="Reference",b.referenceType=I,delete b.url,delete b.title}else delete b.identifier,delete b.label;this.data.referenceType=void 0}function oe(){const b=this.stack[this.stack.length-1];if(this.data.inReference){const I=this.data.referenceType||"shortcut";b.type+="Reference",b.referenceType=I,delete b.url,delete b.title}else delete b.identifier,delete b.label;this.data.referenceType=void 0}function me(b){const I=this.sliceSerialize(b),F=this.stack[this.stack.length-2];F.label=Ea(I),F.identifier=ce(I).toLowerCase()}function d(){const b=this.stack[this.stack.length-1],I=this.resume(),F=this.stack[this.stack.length-1];if(this.data.inReference=!0,F.type==="link"){const R=b.children;F.children=R}else F.alt=I}function ae(){const b=this.resume(),I=this.stack[this.stack.length-1];I.url=b}function de(){const b=this.resume(),I=this.stack[this.stack.length-1];I.title=b}function g(){this.data.inReference=void 0}function ue(){this.data.referenceType="collapsed"}function Te(b){const I=this.resume(),F=this.stack[this.stack.length-1];F.label=I,F.identifier=ce(this.sliceSerialize(b)).toLowerCase(),this.data.referenceType="full"}function Y(b){this.data.characterReferenceType=b.type}function Re(b){const I=this.sliceSerialize(b),F=this.data.characterReferenceType;let R;F?(R=Pr(I,F==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):R=it(I);const Z=this.stack[this.stack.length-1];Z.value+=R}function ye(b){const I=this.stack.pop();I.position.end=ke(b.end)}function ve(b){T.call(this,b);const I=this.stack[this.stack.length-1];I.url=this.sliceSerialize(b)}function ze(b){T.call(this,b);const I=this.stack[this.stack.length-1];I.url="mailto:"+this.sliceSerialize(b)}function yn(){return{type:"blockquote",children:[],position:void 0}}function yt(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function Ei(){return{type:"inlineCode",value:"",position:void 0}}function Ai(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}function Ii(){return{type:"emphasis",children:[],position:void 0}}function kt(){return{type:"heading",depth:0,children:[],position:void 0}}function bt(){return{type:"break",position:void 0}}function wt(){return{type:"html",value:"",position:void 0}}function Ti(){return{type:"image",title:null,url:"",alt:null,position:void 0}}function St(){return{type:"link",title:null,url:"",children:[],position:void 0}}function Ct(b){return{type:"list",ordered:b.type==="listOrdered",start:null,spread:b._spread,children:[],position:void 0}}function vi(b){return{type:"listItem",spread:b._spread,checked:null,children:[],position:void 0}}function zi(){return{type:"paragraph",children:[],position:void 0}}function Pi(){return{type:"strong",children:[],position:void 0}}function Li(){return{type:"text",value:"",position:void 0}}function Di(){return{type:"thematicBreak",position:void 0}}}function ke(e){return{line:e.line,column:e.column,offset:e.offset}}function $r(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?$r(e,r):va(e,r)}}function va(e,n){let t;for(t in n)if(Ur.call(n,t))switch(t){case"canContainEols":{const r=n[t];r&&e[t].push(...r);break}case"transforms":{const r=n[t];r&&e[t].push(...r);break}case"afterExit":case"beforeEnter":{const r=n[t];r&&e[t].push(r);break}case"enter":case"exit":{const r=n[t];r&&Object.assign(e[t],r);break}}}function Ut(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+He({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+He({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+He({start:n.start,end:n.end})+") is still open")}function za(e){const n=this;n.parser=t;function t(r){return Ia(r,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function Pa(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function La(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:`
`}]}function Da(e,n){const t=n.value?n.value+`
`:"",r={},i=n.lang?n.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:t}]};return n.meta&&(o.data={meta:n.meta}),e.patch(n,o),o=e.applyData(n,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(n,o),o}function Fa(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ma(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ra(e,n){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(n.identifier).toUpperCase(),i=Me(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let l,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+i,id:t+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(n,u);const s={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,s),e.applyData(n,s)}function _a(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Oa(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}}function Vr(e,n){const t=n.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+r}];const i=e.all(n),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function Na(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return Vr(e,n);const i={src:Me(r.url||"")};n.alt!==null&&n.alt!==void 0&&(i.alt=n.alt),r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(n,o),e.applyData(n,o)}function Ba(e,n){const t={src:Me(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)}function ja(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)}function qa(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return Vr(e,n);const i={href:Me(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(n)};return e.patch(n,o),e.applyData(n,o)}function Ha(e,n){const t={href:Me(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function Ua(e,n,t){const r=e.all(n),i=t?$a(t):Wr(n),o={},l=[];if(typeof n.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const c=r[a];(i||a!==0||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:`
`}),c.type==="element"&&c.tagName==="p"&&!i?l.push(...c.children):l.push(c)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&l.push({type:"text",value:`
`});const s={type:"element",tagName:"li",properties:o,children:l};return e.patch(n,s),e.applyData(n,s)}function $a(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const{children:t}=e;let r=-1;for(;!n&&++r<t.length;)n=Wr(t[r])}return n}function Wr(e){const{spread:n}=e;return n??e.children.length>1}function Va(e,n){const t={},r=e.all(n);let i=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++i<r.length;){const l=r[i];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}}const o={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(r,!0)};return e.patch(n,o),e.applyData(n,o)}function Wa(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Qa(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)}function Ya(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Xa(e,n){const t=e.all(n),r=t.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(n.children[0],l),i.push(l)}if(t.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},a=et(n.children[1]),u=Sr(n.children[n.children.length-1]);a&&u&&(l.position={start:a,end:u}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(n,o),e.applyData(n,o)}function Ka(e,n,t){const r=t?t.children:void 0,o=(r?r.indexOf(n):1)===0?"th":"td",l=t&&t.type==="table"?t.align:void 0,a=l?l.length:n.children.length;let u=-1;const s=[];for(;++u<a;){const f=n.children[u],p={},h=l?l[u]:void 0;h&&(p.align=h);let m={type:"element",tagName:o,properties:p,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),s.push(m)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(n,c),e.applyData(n,c)}function Ga(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}const $t=9,Vt=32;function Ja(e){const n=String(e),t=/\r?\n|\r/g;let r=t.exec(n),i=0;const o=[];for(;r;)o.push(Wt(n.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=t.exec(n);return o.push(Wt(n.slice(i),i>0,!1)),o.join("")}function Wt(e,n,t){let r=0,i=e.length;if(n){let o=e.codePointAt(r);for(;o===$t||o===Vt;)r++,o=e.codePointAt(r)}if(t){let o=e.codePointAt(i-1);for(;o===$t||o===Vt;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Za(e,n){const t={type:"text",value:Ja(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function eu(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}const nu={blockquote:Pa,break:La,code:Da,delete:Fa,emphasis:Ma,footnoteReference:Ra,heading:_a,html:Oa,imageReference:Na,image:Ba,inlineCode:ja,linkReference:qa,link:Ha,listItem:Ua,list:Va,paragraph:Wa,root:Qa,strong:Ya,table:Xa,tableCell:Ga,tableRow:Ka,text:Za,thematicBreak:eu,toml:Ge,yaml:Ge,definition:Ge,footnoteDefinition:Ge};function Ge(){}const Qr=-1,hn=0,$e=1,on=2,ot=3,at=4,ut=5,st=6,Yr=7,Xr=8,{defineProperty:tu}=Object,Kr=typeof self=="object"?self:globalThis,Qt=(e,n)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Kr[e](n)},ru=(e,n)=>{const t=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,l]=n[i];switch(o){case hn:case Qr:return t(l,i);case $e:{const a=t([],i);for(const u of l)a.push(r(u));return a}case on:{const a=t({},i);for(const[u,s]of l){const c=r(u),f=r(s);c==="__proto__"?tu(a,c,{value:f,configurable:!0,enumerable:!0,writable:!0}):a[c]=f}return a}case ot:return t(new Date(l),i);case at:{const{source:a,flags:u}=l;return t(new RegExp(a,u),i)}case ut:{const a=t(new Map,i);for(const[u,s]of l)a.set(r(u),r(s));return a}case st:{const a=t(new Set,i);for(const u of l)a.add(r(u));return a}case Yr:{const{name:a,message:u}=l;return t(typeof Kr[a]=="function"?Qt(a,u):new Error(u),i)}case Xr:return t(BigInt(l),i);case"BigInt":return t(Object(BigInt(l)),i);case"ArrayBuffer":return t(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:a}=new Uint8Array(l);return t(new DataView(a),l)}case"-0":return-0}return t(Qt(o,l),i)};return r},Yt=e=>ru(new Map,e)(0),Ce="",{toString:iu}={},{keys:lu,is:ou}=Object,qe=e=>{const n=typeof e;if(n!=="object"||!e)return[hn,n];const t=iu.call(e).slice(8,-1);switch(t){case"Array":return[$e,Ce];case"Object":return[on,Ce];case"Date":return[ot,Ce];case"RegExp":return[at,Ce];case"Map":return[ut,Ce];case"Set":return[st,Ce];case"DataView":return[$e,t]}return t.includes("Array")?[$e,t]:e instanceof Error?[Yr,e.name||"Error"]:[on,t]},Je=([e,n])=>e===hn&&(n==="function"||n==="symbol"),au=(e,n,t,r)=>{const i=(l,a)=>{const u=r.push(l)-1;return t.set(a,u),u},o=l=>{if(t.has(l))return t.get(l);let[a,u]=qe(l);switch(a){case hn:{let c=l;switch(u){case"bigint":a=Xr,c=l.toString();break;case"number":if(!l&&ou(l,-0))return r.push(["-0"])-1;break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return i([Qr],l)}return i([a,c],l)}case $e:{if(u){let p=l;return u==="DataView"?p=new Uint8Array(l.buffer):u==="ArrayBuffer"&&(p=new Uint8Array(l)),i([u,[...p]],l)}const c=[],f=i([a,c],l);for(const p of l)c.push(o(p));return f}case on:{if(u)switch(u){case"BigInt":return i([u,l.toString()],l);case"Boolean":case"Number":case"String":return i([u,l.valueOf()],l)}if(n&&"toJSON"in l)return o(l.toJSON());const c=[],f=i([a,c],l);for(const p of lu(l))(e||!Je(qe(l[p])))&&c.push([o(p),o(l[p])]);return f}case ot:return i([a,isNaN(l.getTime())?Ce:l.toISOString()],l);case at:{const{source:c,flags:f}=l;return i([a,{source:c,flags:f}],l)}case ut:{const c=[],f=i([a,c],l);for(const[p,h]of l)(e||!(Je(qe(p))||Je(qe(h))))&&c.push([o(p),o(h)]);return f}case st:{const c=[],f=i([a,c],l);for(const p of l)(e||!Je(qe(p)))&&c.push(o(p));return f}}const{message:s}=l;return i([a,{name:u,message:s}],l)};return o},Xt=(e,{json:n,lossy:t}={})=>{const r=[];return au(!(n||t),!!n,new Map,r)(e),r},an=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?Yt(Xt(e,n)):structuredClone(e):(e,n)=>Yt(Xt(e,n));function uu(e,n){const t=[{type:"text",value:"↩"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function su(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function cu(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||uu,r=e.options.footnoteBackLabel||su,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],u=[];let s=-1;for(;++s<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[s]);c&&(a[s]=e.all(c))}for(s=-1;++s<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[s]);if(!c)continue;const f=a[s],p=String(c.identifier).toUpperCase(),h=Me(p.toLowerCase());let m=0;const x=[],C=e.footnoteCounts.get(p);for(;C!==void 0&&++m<=C;){x.length>0&&x.push({type:"text",value:" "});let w=typeof t=="string"?t:t(s,m);typeof w=="string"&&(w={type:"text",value:w}),x.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+h+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,m),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const y=f[f.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const w=y.children[y.children.length-1];w&&w.type==="text"?w.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...x)}else f.push(...x);const A={type:"element",tagName:"li",properties:{id:n+"fn-"+h},children:e.wrap(f,!0)};e.patch(c,A),u.push(A)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...an(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
`}]}}const pn=(function(e){if(e==null)return mu;if(typeof e=="function")return mn(e);if(typeof e=="object")return Array.isArray(e)?fu(e):hu(e);if(typeof e=="string")return pu(e);throw new Error("Expected function, string, or object as test")});function fu(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=pn(e[t]);return mn(r);function r(...i){let o=-1;for(;++o<n.length;)if(n[o].apply(this,i))return!0;return!1}}function hu(e){const n=e;return mn(t);function t(r){const i=r;let o;for(o in e)if(i[o]!==n[o])return!1;return!0}}function pu(e){return mn(n);function n(t){return t&&t.type===e}}function mn(e){return n;function n(t,r,i){return!!(du(t)&&e.call(this,t,typeof r=="number"?r:void 0,i||void 0))}}function mu(){return!0}function du(e){return e!==null&&typeof e=="object"&&"type"in e}const Gr=[],gu=!0,Ve=!1,$n="skip";function Vn(e,n,t,r){if(!e||typeof e!="object")throw new Error("Unexpected value `"+e+"` for `tree`, expected node");let i=!0,o,l,a,u;if(typeof t=="function"||t&&typeof t=="object"?(o=n,l=t,r&&(i=!1)):(l=n,t&&(i=!1)),typeof l=="function")a=l;else if(l&&typeof l=="object"){if(!(l.enter===null||l.enter===void 0))if(typeof l.enter=="function")a=l.enter;else throw new Error("Unexpected value `"+l.enter+"` for `visitors.enter`, expected optional visitor");if(typeof l.exit=="function")u=l.exit;else throw new Error("Unexpected value `"+l.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)")}else throw new Error("Unexpected value `"+l+"` for `enter` or `visitors`, expected visitor or object with visitors");const s=pn(o),c=i?1:-1;f(e,void 0,[])();function f(p,h,m){const x=p&&typeof p=="object"?p:{};if(typeof x.type=="string"){const y=typeof x.tagName=="string"?x.tagName:typeof x.name=="string"?x.name:void 0;Object.defineProperty(C,"name",{value:"node ("+(p.type+(y?"<"+y+">":""))+")"})}return C;function C(){const y=!o||s(p,h,m[m.length-1]||void 0);let A=Gr;if(a&&y&&(A=Kt(a(p,m,h)),A[0]===Ve))return A;if("children"in p&&p.children){const w=p;if(w.children&&A[0]!==$n){let v=(i?-1:w.children.length)+c;const M=[...m,w];for(;v>-1&&v<w.children.length;){const S=w.children[v],L=f(S,v,M)();if(L[0]===Ve)return L;v=typeof L[1]=="number"?L[1]:v+c}}}if(u&&y){const w=Kt(u(p,m,h));if(w[0]===$n)throw new Error("Unexpected value `"+w[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if(w[0]===Ve||typeof w[1]=="number")return w}return A}}}function Kt(e){return Array.isArray(e)?e:typeof e=="number"?[gu,e]:e==null?Gr:[e]}function dn(e,n,t,r){let i,o,l;o=n,l=t,typeof o=="function"?Vn(e,i,Wn(o),l):Vn(e,i,xu(o),l)}function xu(e){return!e||typeof e!="object"?e:{enter:typeof e.enter=="function"?Wn(e.enter):e.enter,exit:typeof e.exit=="function"?Wn(e.exit):e.exit}}function Wn(e){return n;function n(t,r,i){return e(t,i,r[r.length-1])}}const Qn={}.hasOwnProperty,yu={};function ku(e,n){const t=n||yu,r=new Map,i=new Map,o=new Map,l={...nu,...t.handlers},a={all:s,applyData:wu,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:u,options:t,patch:bu,wrap:Cu};return dn(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=String(c.identifier).toUpperCase();c.type==="definition"?r.has(f)||r.set(f,c):i.has(f)||i.set(f,c)}}),a;function u(c,f){const{type:p}=c,h=a.handlers[p];if(Qn.call(a.handlers,p)&&h)return h(a,c,f);if(a.options.passThrough&&a.options.passThrough.includes(p)){if("children"in c){const{children:x,...C}=c;return{...an(C),children:a.all(c)}}return an(c)}return(a.options.unknownHandler||Su)(a,c,f)}function s(c){const f=[];if("children"in c){const p=c.children;let h=-1;for(;++h<p.length;){const m=a.one(p[h],c);if(m){if(h&&p[h-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=Gt(m.value)),!Array.isArray(m)&&m.type==="element")){const x=m.children[0];x&&x.type==="text"&&(x.value=Gt(x.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}}function bu(e,n){e.position&&(n.position=ul(e))}function wu(e,n){let t=n;if(e&&e.data){const{hChildren:r,hName:i,hProperties:o}=e.data;if(typeof i=="string")if(t.type==="element")t.tagName=i;else{const l="children"in t?t.children:[t];t={type:"element",tagName:i,properties:{},children:l}}t.type==="element"&&o&&Object.assign(t.properties,an(o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function Su(e,n){const t=n.data||{},r="value"in n&&!(Qn.call(t,"hProperties")||Qn.call(t,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function Cu(e,n){const t=[];let r=-1;for(n&&t.push({type:"text",value:`
`});++r<e.length;)r&&t.push({type:"text",value:`
`}),t.push(e[r]);return n&&e.length>0&&t.push({type:"text",value:`
`}),t}function Gt(e){let n=0,t=e.charCodeAt(n);for(;t===9||t===32;)n++,t=e.charCodeAt(n);return e.slice(n)}function Jt(e,n){const t=ku(e,n),r=t.one(e,void 0),i=cu(t),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
`},i),o}function Eu(e,n){return e&&"run"in e?async function(t,r){const i=Jt(t,{file:r,...n});await e.run(i,r)}:function(t,r){return Jt(t,{file:r,...e||n})}}function Zt(e){if(e)throw e}var En,er;function Au(){if(er)return En;er=1;var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(s){return typeof Array.isArray=="function"?Array.isArray(s):n.call(s)==="[object Array]"},o=function(s){if(!s||n.call(s)!=="[object Object]")return!1;var c=e.call(s,"constructor"),f=s.constructor&&s.constructor.prototype&&e.call(s.constructor.prototype,"isPrototypeOf");if(s.constructor&&!c&&!f)return!1;var p;for(p in s);return typeof p>"u"||e.call(s,p)},l=function(s,c){t&&c.name==="__proto__"?t(s,c.name,{enumerable:!0,configurable:!0,value:c.newValue,writable:!0}):s[c.name]=c.newValue},a=function(s,c){if(c==="__proto__")if(e.call(s,c)){if(r)return r(s,c).value}else return;return s[c]};return En=function u(){var s,c,f,p,h,m,x=arguments[0],C=1,y=arguments.length,A=!1;for(typeof x=="boolean"&&(A=x,x=arguments[1]||{},C=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});C<y;++C)if(s=arguments[C],s!=null)for(c in s)f=a(x,c),p=a(s,c),x!==p&&(A&&p&&(o(p)||(h=i(p)))?(h?(h=!1,m=f&&i(f)?f:[]):m=f&&o(f)?f:{},l(x,{name:c,newValue:u(A,m,p)})):typeof p<"u"&&l(x,{name:c,newValue:p}));return x},En}var Iu=Au();const An=Fi(Iu);function Yn(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Tu(){const e=[],n={run:t,use:r};return n;function t(...i){let o=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);a(null,...i);function a(u,...s){const c=e[++o];let f=-1;if(u){l(u);return}for(;++f<i.length;)(s[f]===null||s[f]===void 0)&&(s[f]=i[f]);i=s,c?vu(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 vu(e,n){let t;return r;function r(...l){const a=e.length>l.length;let u;a&&l.push(i);try{u=e.apply(this,l)}catch(s){const c=s;if(a&&t)throw c;return i(c)}a||(u&&u.then&&typeof u.then=="function"?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)}}const he={basename:zu,dirname:Pu,extname:Lu,join:Du,sep:"/"};function zu(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ke(e);let t=0,r=-1,i=e.length,o;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){t=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let l=-1,a=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){t=i+1;break}}else l<0&&(o=!0,l=i+1),a>-1&&(e.codePointAt(i)===n.codePointAt(a--)?a<0&&(r=i):(a=-1,r=l));return t===r?r=l:r<0&&(r=e.length),e.slice(t,r)}function Pu(e){if(Ke(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function Lu(e){Ke(e);let n=e.length,t=-1,r=0,i=-1,o=0,l;for(;n--;){const a=e.codePointAt(n);if(a===47){if(l){r=n+1;break}continue}t<0&&(l=!0,t=n+1),a===46?i<0?i=n:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||t<0||o===0||o===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function Du(...e){let n=-1,t;for(;++n<e.length;)Ke(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":Fu(t)}function Fu(e){Ke(e);const n=e.codePointAt(0)===47;let t=Mu(e,!n);return t.length===0&&!n&&(t="."),t.length>0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function Mu(e,n){let t="",r=0,i=-1,o=0,l=-1,a,u;for(;++l<=e.length;){if(l<e.length)a=e.codePointAt(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.codePointAt(t.length-1)!==46||t.codePointAt(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 Ke(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Ru={cwd:_u};function _u(){return"/"}function Xn(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Ou(e){if(typeof e=="string")e=new URL(e);else if(!Xn(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return Nu(e)}function Nu(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t<n.length;)if(n.codePointAt(t)===37&&n.codePointAt(t+1)===50){const r=n.codePointAt(t+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(n)}const In=["history","path","basename","stem","extname","dirname"];class Jr{constructor(n){let t;n?Xn(n)?t={path:n}:typeof n=="string"||Bu(n)?t={value:n}:t=n:t={},this.cwd="cwd"in t?"":Ru.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<In.length;){const o=In[r];o in t&&t[o]!==void 0&&t[o]!==null&&(this[o]=o==="history"?[...t[o]]:t[o])}let i;for(i in t)In.includes(i)||(this[i]=t[i])}get basename(){return typeof this.path=="string"?he.basename(this.path):void 0}set basename(n){vn(n,"basename"),Tn(n,"basename"),this.path=he.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?he.dirname(this.path):void 0}set dirname(n){nr(this.basename,"dirname"),this.path=he.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?he.extname(this.path):void 0}set extname(n){if(Tn(n,"extname"),nr(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=he.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){Xn(n)&&(n=Ou(n)),vn(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?he.basename(this.path,this.extname):void 0}set stem(n){vn(n,"stem"),Tn(n,"stem"),this.path=he.join(this.dirname||"",n+(this.extname||""))}fail(n,t,r){const i=this.message(n,t,r);throw i.fatal=!0,i}info(n,t,r){const i=this.message(n,t,r);return i.fatal=void 0,i}message(n,t,r){const i=new sn(n,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}}function Tn(e,n){if(e&&e.includes(he.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+he.sep+"`")}function vn(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function nr(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function Bu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const ju=(function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o}),qu={}.hasOwnProperty;class ct extends ju{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Tu()}copy(){const n=new ct;let t=-1;for(;++t<this.attachers.length;){const r=this.attachers[t];n.use(...r)}return n.data(An(!0,{},this.namespace)),n}data(n,t){return typeof n=="string"?arguments.length===2?(Ln("data",this.frozen),this.namespace[n]=t,this):qu.call(this.namespace,n)&&this.namespace[n]||void 0:n?(Ln("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=t.call(n,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const t=Ze(n),r=this.parser||this.Parser;return zn("parse",r),r(String(t),t)}process(n,t){const r=this;return this.freeze(),zn("process",this.parser||this.Parser),Pn("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(o,l){const a=Ze(n),u=r.parse(a);r.run(u,a,function(c,f,p){if(c||!f||!p)return s(c);const h=f,m=r.stringify(h,p);$u(m)?p.value=m:p.result=m,s(c,p)});function s(c,f){c||!f?l(c):o?o(f):t(void 0,f)}}}processSync(n){let t=!1,r;return this.freeze(),zn("processSync",this.parser||this.Parser),Pn("processSync",this.compiler||this.Compiler),this.process(n,i),rr("processSync","process",t),r;function i(o,l){t=!0,Zt(o),r=l}}run(n,t,r){tr(n),this.freeze();const i=this.transformers;return!r&&typeof t=="function"&&(r=t,t=void 0),r?o(void 0,r):new Promise(o);function o(l,a){const u=Ze(t);i.run(n,u,s);function s(c,f,p){const h=f||n;c?a(c):l?l(h):r(void 0,h,p)}}}runSync(n,t){let r=!1,i;return this.run(n,t,o),rr("runSync","run",r),i;function o(l,a){Zt(l),i=a,r=!0}}stringify(n,t){this.freeze();const r=Ze(t),i=this.compiler||this.Compiler;return Pn("stringify",i),tr(n),i(n,r)}use(n,...t){const r=this.attachers,i=this.namespace;if(Ln("use",this.frozen),n!=null)if(typeof n=="function")u(n,t);else if(typeof n=="object")Array.isArray(n)?a(n):l(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function o(s){if(typeof s=="function")u(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[c,...f]=s;u(c,f)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(s.plugins),s.settings&&(i.settings=An(!0,i.settings,s.settings))}function a(s){let c=-1;if(s!=null)if(Array.isArray(s))for(;++c<s.length;){const f=s[c];o(f)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function u(s,c){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===s){p=f;break}if(p===-1)r.push([s,...c]);else if(c.length>0){let[h,...m]=c;const x=r[p][1];Yn(x)&&Yn(h)&&(h=An(!0,x,h)),r[p]=[s,h,...m]}}}}const Hu=new ct().freeze();function zn(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Pn(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ln(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 tr(e){if(!Yn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function rr(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function Ze(e){return Uu(e)?e:new Jr(e)}function Uu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function $u(e){return typeof e=="string"||Vu(e)}function Vu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Wu="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ir=[],lr={allowDangerousHtml:!0},Qu=/^(https?|ircs?|mailto|xmpp)$/i,Yu=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Xu(e){const n=Ku(e),t=Gu(e);return Ju(n.runSync(n.parse(t),t),e)}function Ku(e){const n=e.rehypePlugins||ir,t=e.remarkPlugins||ir,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...lr}:lr;return Hu().use(za).use(t).use(Eu,r).use(n)}function Gu(e){const n=e.children||"",t=new Jr;return typeof n=="string"&&(t.value=n),t}function Ju(e,n){const t=n.allowedElements,r=n.allowElement,i=n.components,o=n.disallowedElements,l=n.skipHtml,a=n.unwrapDisallowed,u=n.urlTransform||Zu;for(const c of Yu)Object.hasOwn(n,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+Wu+c.id,void 0);return dn(e,s),ml(e,{Fragment:U.Fragment,components:i,ignoreInvalidStyle:!0,jsx:U.jsx,jsxs:U.jsxs,passKeys:!0,passNode:!0});function s(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return l?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let h;for(h in wn)if(Object.hasOwn(wn,h)&&Object.hasOwn(c.properties,h)){const m=c.properties[h],x=wn[h];(x===null||x.includes(c.tagName))&&(c.properties[h]=u(String(m||""),h,c))}}if(c.type==="element"){let h=t?!t.includes(c.tagName):o?o.includes(c.tagName):!1;if(!h&&r&&typeof f=="number"&&(h=!r(c,f,p)),h&&p&&typeof f=="number")return a&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function Zu(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n===-1||i!==-1&&n>i||t!==-1&&n>t||r!==-1&&n>r||Qu.test(e.slice(0,n))?e:""}function or(e,n){const t=String(e);if(typeof n!="string")throw new TypeError("Expected character");let r=0,i=t.indexOf(n);for(;i!==-1;)r++,i=t.indexOf(n,i+n.length);return r}function es(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function ns(e,n,t){const i=pn((t||{}).ignore||[]),o=ts(n);let l=-1;for(;++l<o.length;)Vn(e,a);function a(s,c,f){if(s.type==="text"&&typeof f=="number")return u(s,c,f);if(i(s,f,c[c.length-1]))return $n}function u(s,c,f){const p=c[c.length-1],h=o[l][0],m=o[l][1];let x=0,C=!1,y=[];h.lastIndex=0;let A=h.exec(s.value);for(;A;){const v=A.index,M={index:A.index,input:A.input,stack:[...c,s]};let S=m(...A,M);if(typeof S=="string"&&(S=S.length>0?{type:"text",value:S}:void 0),S===!1)h.lastIndex=v+1;else{if(x!==v&&w({type:"text",value:s.value.slice(x,v)}),Array.isArray(S))for(const L of S)w(L);else S&&w(S);x=v+A[0].length,C=!0}if(!h.global)break;A=h.exec(s.value)}return C?(x<s.value.length&&w({type:"text",value:s.value.slice(x)}),p.children.splice(f,1,...y)):y=[s],f+y.length;function w(v){const M=y[y.length-1];M&&M.type==="text"&&v.type==="text"?M.value+=v.value:y.push(v)}}}function ts(e){if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=[],t=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<t.length;){const i=t[r];n.push([rs(i[0]),is(i[1])])}return n}function rs(e){return typeof e=="string"?new RegExp(es(e),"g"):e}function is(e){return typeof e=="function"?e:function(){return e}}const Dn="phrasing",Fn=["autolink","link","image","label"];function ls(){return{transforms:[hs],enter:{literalAutolink:as,literalAutolinkEmail:Mn,literalAutolinkHttp:Mn,literalAutolinkWww:Mn},exit:{literalAutolink:fs,literalAutolinkEmail:cs,literalAutolinkHttp:us,literalAutolinkWww:ss}}}function os(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Dn,notInConstruct:Fn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Dn,notInConstruct:Fn},{character:":",before:"[ps]",after:"\\/",inConstruct:Dn,notInConstruct:Fn}]}}function as(e){this.enter({type:"link",title:null,url:"",children:[],position:void 0},e)}function Mn(e){this.config.enter.autolinkProtocol.call(this,e)}function us(e){this.config.exit.autolinkProtocol.call(this,e)}function ss(e){this.config.exit.data.call(this,e);const n=this.stack[this.stack.length-1];n.type,n.url="http://"+this.sliceSerialize(e)}function cs(e){this.config.exit.autolinkEmail.call(this,e)}function fs(e){this.exit(e)}function hs(e){ns(e,[[new RegExp("(?<![\\da-z])(https?:\\/\\/|www(?=\\.))([\\w-]*\\.[\\w\\-.]*)([^\\t\\n\\r ]*)","gi"),ps],[new RegExp("(?<![\\w+\\-.@])xmpp:([\\w+\\-.]+)@([\\w-]+(?:\\.[\\w-]+)+)(\\/(?:[\\w\\-/]|\\.(?=[\\dA-Za-z]))*)?","g"),gs],[new RegExp("(?<![\\w+\\-.@])mailto:([\\w+\\-.]+)@([\\w-]+(?:\\.[\\w-]+)+)","g"),ds],[new RegExp("(?<![\\w+\\-.]|(?:^|[^\\d@A-Za-z])(?:mailto|xmpp):)([\\w+\\-.]+)@([\\w-]+(?:\\.[\\w-]+)+)","g"),ms]],{ignore:["link","linkReference"]})}function ps(e,n,t,r,i){if(!ks(i))return!1;let o="";if(/^w/i.test(n)&&(t=n+t,n="",o="http://"),Ye(t.charCodeAt(0))||!xs(t))return!1;const l=ys(t+r),a={type:"link",title:null,url:o+n+l[0],children:[{type:"text",value:n+l[0],position:void 0}],position:void 0};return l[1]?[a,{type:"text",value:l[1],position:void 0}]:a}function ms(e,n,t){return/[\d\-_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t,position:void 0}],position:void 0}}function ds(e,n,t){if(/[\d\-_]$/.test(t))return!1;const r="mailto:"+n+"@"+t;return{type:"link",title:null,url:r,children:[{type:"text",value:r,position:void 0}],position:void 0}}function gs(e,n,t,r,i){if(/[\d\-_]$/.test(t)||r&&(!/[A-Za-z]$/.test(r)||i.input.charAt(i.index+e.length)==="@"))return!1;const o="xmpp:"+n+"@"+t+(r||"");return{type:"link",title:null,url:o,children:[{type:"text",value:o,position:void 0}],position:void 0}}function xs(e){const n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[\dA-Za-z]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[\dA-Za-z]/.test(n[n.length-2])))}function ys(e){let n=e.length;for(;n>0;){const l=e.charCodeAt(n-1);if(l===33||l===34||l===38||l===39||l===41||l===44||l===46||l===58||l===59||l===60||l===62||l===63||l===93||l===125)n--;else break}if(n===e.length)return[e,void 0];let t=e.slice(n);e=e.slice(0,n);let r=t.indexOf(")");const i=or(e,"(");let o=or(e,")");for(;r!==-1&&i>o;)e+=t.slice(0,r+1),t=t.slice(r+1),r=t.indexOf(")"),o++;return[e,t]}function ks(e){const n=e.input.charCodeAt(e.index-1);return e.index===0||Ae(n)||Ye(n)}Zr.peek=vs;function bs(){this.buffer()}function ws(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ss(){this.buffer()}function Cs(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Es(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.type,t.identifier=ce(this.sliceSerialize(e)).toLowerCase(),t.label=n}function As(e){this.exit(e)}function Is(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.type,t.identifier=ce(this.sliceSerialize(e)).toLowerCase(),t.label=n}function Ts(e){this.exit(e)}function vs(){return"["}function Zr(e,n,t,r){const i=t.createTracker(r);let o=i.move("[^");const l=t.enter("footnoteReference"),a=t.enter("reference");return o+=i.move(t.safe(t.associationId(e),{after:"]",before:o})),a(),l(),o+=i.move("]"),o}function zs(){return{enter:{gfmFootnoteCallString:bs,gfmFootnoteCall:ws,gfmFootnoteDefinitionLabelString:Ss,gfmFootnoteDefinition:Cs},exit:{gfmFootnoteCallString:Es,gfmFootnoteCall:As,gfmFootnoteDefinitionLabelString:Is,gfmFootnoteDefinition:Ts}}}function Ps(e){let n=!1;return e&&e.firstLineBlank&&(n=!0),{handlers:{footnoteDefinition:t,footnoteReference:Zr},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function t(r,i,o,l){const a=o.createTracker(l);let u=a.move("[^");const s=o.enter("footnoteDefinition"),c=o.enter("label");return u+=a.move(o.safe(o.associationId(r),{before:u,after:"]"})),c(),u+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),u+=a.move((n?`
`:" ")+o.indentLines(o.containerFlow(r,a.current()),n?ei:Ls))),s(),u}}function Ls(e,n,t){return n===0?e:ei(e,n,t)}function ei(e,n,t){return(t?"":"    ")+e}const Ds=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];ft.attention=Os;ft.peek=Ns;function Fs(){return{canContainEols:["delete"],enter:{strikethrough:Rs},exit:{strikethrough:_s}}}function Ms(){return{handlers:{delete:ft},unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ds}]}}function Rs(e){this.enter({type:"delete",children:[],position:void 0},e)}function _s(e){this.exit(e)}function ft(e,n,t,r){const i=t.createTracker(r),o=t.stack.includes("strikethrough")?"~":"~~",l=t.enter("strikethrough");let a=i.move(o);return a+=t.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move(o),l(),a}function Os(){return{construct:"strikethrough",markers:["~"],sizes:[2,1]}}function Ns(){return"~"}function Bs(e){return e.length}function js(e,n){const t=n||{},r=(t.align||[]).concat(),i=t.stringLength||Bs,o=[],l=[],a=[],u=[];let s=0,c=-1;for(;++c<e.length;){const x=[],C=[];let y=-1;for(e[c].length>s&&(s=e[c].length);++y<e[c].length;){const A=qs(e[c][y]);if(t.alignDelimiters!==!1){const w=i(A);C[y]=w,(u[y]===void 0||w>u[y])&&(u[y]=w)}x.push(A)}l[c]=x,a[c]=C}let f=-1;if(typeof r=="object"&&"length"in r)for(;++f<s;)o[f]=ar(r[f]);else{const x=ar(r);for(;++f<s;)o[f]=x}f=-1;const p=[],h=[];for(;++f<s;){const x=o[f];let C="",y="";x===99?(C=":",y=":"):x===108?C=":":x===114&&(y=":");let A=t.alignDelimiters===!1?1:Math.max(1,u[f]-C.length-y.length);const w=C+"-".repeat(A)+y;t.alignDelimiters!==!1&&(A=C.length+A+y.length,A>u[f]&&(u[f]=A),h[f]=A),p[f]=w}l.splice(1,0,p),a.splice(1,0,h),c=-1;const m=[];for(;++c<l.length;){const x=l[c],C=a[c],y=t.fillRows===!1?Math.max(1,l[c===1?0:c].length):s;f=-1;const A=[];for(;++f<y;){const w=x[f]||"";let v="",M="";if(t.alignDelimiters!==!1){const S=u[f]-(C[f]||0),L=o[f];if(L===114)v=" ".repeat(S);else if(L===99){const O=S/2;S%2?(v=" ".repeat(O+.5),M=" ".repeat(O-.5)):(v=" ".repeat(O),M=v)}else M=" ".repeat(S)}t.delimiterStart!==!1&&!f&&A.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&w==="")&&(t.delimiterStart!==!1||f)&&A.push(" "),t.alignDelimiters!==!1&&A.push(v),A.push(w),t.alignDelimiters!==!1&&A.push(M),t.padding!==!1&&A.push(" "),(t.delimiterEnd!==!1||f!==y-1)&&A.push("|")}m.push(t.delimiterEnd===!1?A.join("").replace(/ +$/,""):A.join(""))}return m.join(`
`)}function qs(e){return e==null?"":String(e)}function ar(e){const n=typeof e=="string"?e.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}const Hs=pn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Us(e,n,t,r){const i=t.enter("blockquote"),o=t.createTracker(r);o.move("> "),o.shift(2);const l=t.indentLines(t.containerFlow(e,o.current()),$s);return i(),l}function $s(e,n,t){return">"+(t?"":" ")+e}function Vs(e,n){return ur(e,n.inConstruct,!0)&&!ur(e,n.notInConstruct,!1)}function ur(e,n,t){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return t;let r=-1;for(;++r<n.length;)if(e.includes(n[r]))return!0;return!1}function sr(e,n,t,r){let i=-1;for(;++i<t.unsafe.length;){const o=t.unsafe[i];if(o.character===`
`&&!o.before&&!o.after&&Vs(t.stack,o))return/[\t ]/.test(r.before)?"":" "}return`\\
`}function Ws(e,n){const t=String(e);let r=t.indexOf(n),i=r,o=0,l=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>l&&(l=o):o=1,i=r+n.length,r=t.indexOf(n,i);return l}function Qs(e,n){return!!(n.options.fences===!1&&e.value&&!e.lang&&/[^\n\r ]/.test(e.value)&&!/^[\t ]*(?:[\n\r]|$)|(?:^|[\n\r])[\t ]*$/.test(e.value))}function Ys(e){const n=e.options.fence||"`";if(n!=="`"&&n!=="~")throw new Error("Cannot serialize code with `"+n+"` for `options.fence`, expected `` ` `` or `~`");return n}function Xs(e,n,t,r){const i=Ys(t),o=e.value||"";if(Qs(e,t)){const f=t.enter("codeIndented"),p=t.indentLines(o,Ks);return f(),p}const l=t.createTracker(r),a=i.repeat(Math.max(Ws(o,i)+1,3)),u=t.enter("codeFenced"),s=i==="`"?"GraveAccent":"Tilde";let c=l.move(a);if(e.lang){const f=t.enter(`codeFencedLang${s}`);c+=l.move(t.safe(e.lang,{before:c,after:" ",encode:["`"],...l.current()})),f()}if(e.lang&&e.meta){const f=t.enter(`codeFencedMeta${s}`);c+=l.move(" "),c+=l.move(t.safe(e.meta,{before:c,after:`
`,encode:["`"],...l.current()})),f()}return c+=l.move(`
`),o&&(c+=l.move(o+`
`)),c+=l.move(a),u(),c}function Ks(e,n,t){return(t?"":"    ")+e}function ht(e){const n=e.options.quote||'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize title with `"+n+"` for `options.quote`, expected `\"`, or `'`");return n}function Gs(e,n,t,r){const i=ht(t),o=i==='"'?"Quote":"Apostrophe",l=t.enter("definition");let a=t.enter("label");const u=t.createTracker(r);let s=u.move("[");return s+=u.move(t.safe(t.associationId(e),{before:s,after:"]",...u.current()})),s+=u.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=t.enter("destinationLiteral"),s+=u.move("<"),s+=u.move(t.safe(e.url,{before:s,after:">",...u.current()})),s+=u.move(">")):(a=t.enter("destinationRaw"),s+=u.move(t.safe(e.url,{before:s,after:e.title?" ":`
`,...u.current()}))),a(),e.title&&(a=t.enter(`title${o}`),s+=u.move(" "+i),s+=u.move(t.safe(e.title,{before:s,after:i,...u.current()})),s+=u.move(i),a()),l(),s}function Js(e){const n=e.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}function un(e){const n=e.codePointAt(0);return n===void 0?"":String.fromCodePoint(n)}function De(e){const n=e.codePointAt(e.length-2);return n!==void 0&&n>65535?e.slice(-2):e.slice(-1)}function ni(e){return"&#x"+e.toString(16).toUpperCase()+";"}function cr(e,n,t){const r=be(e),i=be(n);return r===void 0?i===void 0?t==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function Zs(e){if(e.charCodeAt(0)!==60)return;const n=e.charCodeAt(1);if(n===33){const a=e.charCodeAt(2);return a===45?2:a===91?5:K(a)?4:void 0}if(n===63)return 3;const t=n===47,r=t?2:1;let i=r,o=e.charCodeAt(i);if(!K(o))return;for(;o===45||G(o);)o=e.charCodeAt(++i);const l=e.slice(r,i).toLowerCase();return!t&&o!==47&&Un.includes(l)?1:jr.includes(l)?6:7}const ti=new Map([["*",!1],["_",!0]]);function ec(e,n,t){const r=new Set;for(const o of e){const l=t.get(o);if(l&&o.attention&&n.some(a=>a.attention===o.attention))for(const a of l.tokens)r.add(a.attention)}const i=[];for(const o of e)o.attention&&r.delete(o.attention)&&i.push(o.attention);return i.reverse(),i}function ri(e,n,t){const r=[],i=new Map,o=new Map;let l=0;for(;l<e.length;){if(!e[l].attention){l++;continue}const a=e[l].value.charAt(0),u=ti.get(a);let s=l+1;for(;s<e.length&&e[s].attention&&e[s].value.charAt(0)===a;)s++;const c=l?e[l-1].value:n,f=be(c.charCodeAt(c.length-1)),p=be((s<e.length?e[s].value:t).charCodeAt(0)),h=!p||p===2&&!!f,m=!f||f===2&&!!p,x={tokens:e.slice(l,s),markers:[],start:0,end:0,open:u?h&&(!!f||!m):h,close:u?m&&(!!p||!h):m,split:u!==void 0};for(const C of x.tokens){i.set(C,[...x.tokens]),o.set(C,x);let y=C.value.length;for(;y--;)x.markers.push(C)}x.end=x.markers.length,r.push(x),l=s}for(tc(r,i),l=-1;++l<e.length;){const a=i.get(e[l]);if(a)return{attention:ec(e,a,o),index:l}}}function en(e,n){const t=e[n?0:e.length-1];if(!t||t.attention)return;const r=n?un(t.value):De(t.value),i=ni(r.codePointAt(0));if(n)t.value=i+t.value.slice(r.length);else{let o=t.value.slice(0,t.value.length-r.length),l=0;for(;o.charCodeAt(o.length-1-l)===92;)l++;l%2&&(o+="\\"),t.value=o+i}}function nc(e,n,t,r,i){for(const o of t.attention){const l=n.get(o)||o.sequences[0];for(const a of o.sequences){if(a===l)continue;const u=new Map(n);u.set(o,a);const s=gn(e,u,r,i),c=ri(s,r,i);if(!c||c.index>t.index)return{chosen:u,mistake:c,tokens:s}}}}function tc(e,n){const t=new Map;for(const r of e){const i=r.tokens[0].value.charAt(0);let o=t.get(i);o||(o=[],t.set(i,o));let l=r.close?o.length:0;for(;l--&&r.start<r.end;){const a=o[l],u=a.end-a.start,s=r.end-r.start;if(r.split?(a.close||r.open)&&s%3&&!((u+s)%3):u!==a.markers.length||u!==s)continue;const c=r.split?u>1&&s>1?2:1:s,f=a.markers.slice(a.end-c,a.end),p=r.markers.slice(r.start,r.start+c),h=f[0],m=p[0];if(h===f[c-1]&&h.value.length===c&&m===p[c-1]&&m.value.length===c&&h.attention===m.attention)n.delete(h),n.delete(m);else{const x=[...new Set([...f,...p])];for(const C of x){const y=n.get(C);y&&y.push(...x)}}a.end-=c,r.start+=c,a.start===a.end&&o.splice(l,1),l=o.length}r.open&&r.start<r.end&&o.push(r)}}function rc(e,n,t){if(n.length===0)throw new Error("Cannot serialize `"+e+"` as attention without markers, expected one or more markers");if(t.length===0)throw new Error("Cannot serialize `"+e+"` as attention without sizes, expected one or more sizes");for(const i of t)if(!Number.isSafeInteger(i)||i<1)throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as size, expected positive integer");const r=[];for(const i of n){if(i.length!==1)throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected a single ascii character");if(!Lr(i.charCodeAt(0)))throw new Error("Cannot serialize `"+e+"` as attention with `"+i+"` as marker, expected ascii punctuation");for(const o of t)r.push(i.repeat(o))}return r}function ic(e,n,t){const r=n.indexStack,i=e.children||[],o=[];let l=-1,a=t.before;r.push(-1);let u=n.createTracker(t);for(;++l<i.length;){const s=i[l];let c;if(r[r.length-1]=l,l+1<i.length){let h=n.handle.handlers[i[l+1].type];h&&h.peek&&(h=h.peek),c=h?un(h(i[l+1],e,n,{before:"",after:"",...u.current()})):""}else c=t.after;const f=o[o.length-1];typeof f=="string"&&(a==="\r"||a===`
`)&&s.type==="html"&&Zs(s.value)!==7&&(o[o.length-1]=f.replace(/(\r?\n|\r)$/," "),a=" ",u=n.createTracker(t),u.move(xn(o,t.before,t.after)));const p=n.handle.handlers[s.type];if(p&&p.attention){const h=pt(s,p.attention,n,u);if(!h)continue;o.push(h),a=De(h.sequences[0])}else{const h=n.handle(s,e,n,{...u.current(),after:c,before:a});if(!h)continue;u.move(h),o.push(h),a=De(h)}}return r.pop(),o}function pt(e,n,t,r){const{construct:i,markers:o,sizes:l}=n(e,t),a=rc(e.type,o,l),u=a[0],s=t.enter(i),c=t.createTracker(r.current());c.move(u);const f=ic(e,t,{...c.current(),before:u,after:u});if(s(),f.length!==0)return r.move(u),r.move(xn(f,u,u)),r.move(u),{children:f,sequences:a}}function fr(e,n,t,r){let i=gn(e,n,t,r),o=ri(i,t,r);for(;o;){const l=nc(e,n,o,t,r);if(!l)return;n=l.chosen,i=l.tokens,o=l.mistake}return i}function ii(e,n,t,r){let i=t,o=-1;for(;++o<e.length;){const l=e[o];if(typeof l=="string"){i="";continue}const a=o===e.length-1?r:"",u=l.sequences.find(function(s){const c=s.charAt(0);return c!==i.charAt(0)&&c!==a.charAt(0)||e.length===1&&ti.has(c)&&s.length>t.length})||l.sequences[0];u!==l.sequences[0]&&n.set(l,u),ii(l.children,n,u,u),i=u}}function gn(e,n,t,r){const i=[];let o,l=De(t),a=-1;for(;++a<e.length;){const u=e[a];if(typeof u=="string"){const w={value:u,attention:void 0};o&&o===un(u)&&en([w],!0),o=void 0,i.push(w),w.value&&(l=De(w.value));continue}const s=n.get(u)||u.sequences[0],c=s.charAt(0),f=e[a+1],p=l,h=un(f===void 0?r:typeof f=="string"?f:n.get(f)||f.sequences[0]),m=gn(u.children,n,s,s),x=m[0].value,C=cr(p.charCodeAt(p.length-1),x.charCodeAt(0),c);C.inside&&en(m,!0);const y=De(m[m.length-1].value),A=cr(h.charCodeAt(0),y.charCodeAt(y.length-1),c);A.inside&&en(m,!1),C.outside&&p!==`
`&&p!=="\r"&&en(i,!1),A.outside&&(o=h),i.push({value:s,attention:u},...m,{value:s,attention:u}),l=s.charAt(s.length-1)}return i}function xn(e,n,t){const r=new Map;ii(e,r,n,t);const i=(r.size>0?fr(e,r,n,t):void 0)||fr(e,new Map,n,t)||gn(e,new Map,n,t);let o="";for(const l of i)o+=l.value;return o}mt.attention=li;mt.peek=lc;function mt(e,n,t,r){const i=t.enter("phrasing"),o=pt(e,li,t,t.createTracker(r)),l=o?xn([o],r.before,r.after):"";return i(),l}function li(e,n){return{construct:"emphasis",markers:Js(n)==="*"?["*","_"]:["_","*"],sizes:[1]}}function lc(e,n,t){return t.options.emphasis||"*"}function oc(e,n){let t=!1;return dn(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return t=!0,Ve}),!!((!e.depth||e.depth<3)&&cn(e)&&(n.options.setext||t))}function ac(e,n,t,r){const i=Math.max(Math.min(6,e.depth||1),1),o=t.createTracker(r);if(oc(e,t)){const f=t.enter("headingSetext"),p=t.enter("phrasing"),h=t.containerPhrasing(e,{...o.current(),before:`
`,after:`
`});return p(),f(),h+`
`+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
`))+1))}const l="#".repeat(i),a=t.enter("headingAtx"),u=t.enter("phrasing");o.move(l+" ");let s=t.containerPhrasing(e,{before:"# ",after:`
`,...o.current()});const c=s.charCodeAt(0);return(c===9||c===32)&&(s=ni(c)+s.slice(1)),s=s?l+" "+s:l,t.options.closeAtx&&(s+=" "+l),u(),a(),s}oi.peek=uc;function oi(e){return e.value||""}function uc(){return"<"}ai.peek=sc;function ai(e,n,t,r){const i=ht(t),o=i==='"'?"Quote":"Apostrophe",l=t.enter("image");let a=t.enter("label");const u=t.createTracker(r);let s=u.move("![");return s+=u.move(t.safe(e.alt,{before:s,after:"]",...u.current()})),s+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=t.enter("destinationLiteral"),s+=u.move("<"),s+=u.move(t.safe(e.url,{before:s,after:">",...u.current()})),s+=u.move(">")):(a=t.enter("destinationRaw"),s+=u.move(t.safe(e.url,{before:s,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=t.enter(`title${o}`),s+=u.move(" "+i),s+=u.move(t.safe(e.title,{before:s,after:i,...u.current()})),s+=u.move(i),a()),s+=u.move(")"),l(),s}function sc(){return"!"}ui.peek=cc;function ui(e,n,t,r){const i=e.referenceType,o=t.enter("imageReference");let l=t.enter("label");const a=t.createTracker(r);let u=a.move("![");const s=t.safe(e.alt,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),l();const c=t.stack;t.stack=c.filter(function(p){return p!=="phrasing"}),l=t.enter("reference");const f=t.safe(t.associationId(e),{before:u,after:"]",...a.current()});return l(),t.stack=c,o(),i==="full"||!s||s!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}function cc(){return"!"}si.peek=fc;function si(e,n,t){let r=e.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^\n\r ]/.test(r)&&(/^[\n\r ]/.test(r)&&/[\n\r ]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<t.unsafe.length;){const l=t.unsafe[o],a=t.compilePattern(l);if(!l.atBreak)continue;let u;for(;u=a.exec(r);){let s=u.index;r.charCodeAt(s)===10&&r.charCodeAt(s-1)===13&&s--,r=r.slice(0,s)+" "+r.slice(u.index+1)}}return i+r+i}function fc(){return"`"}function ci(e,n){const t=cn(e);return!!(!n.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(t===e.url||"mailto:"+t===e.url)&&/^[a-z][+\-.a-z]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}fi.peek=hc;function fi(e,n,t,r){const i=ht(t),o=i==='"'?"Quote":"Apostrophe",l=t.createTracker(r);if(ci(e,t)){const m=t.stack;t.stack=m.filter(function(y){return y!=="phrasing"});const x=t.enter("autolink");let C=l.move("<");return C+=l.move(t.containerPhrasing(e,{before:C,after:">",...l.current()})),C+=l.move(">"),x(),t.stack=m,C}const a=t.enter("link");let u=t.enter("label"),s=l.move("[");const c=t.containerPhrasing(e,{before:s,after:"](",...l.current()});s+=l.move(c),u(),s+=l.move("](");const f=/[\0- \u007F]/.test(e.url),p=r.before.charAt(r.before.length-1);let h=e.title||void 0;if(!h&&!f&&(p===`
`||p==="\r")){let m=0;for(;m<c.length&&c.charCodeAt(m)!==93;)m+=c.charCodeAt(m)===92?2:1;c.charCodeAt(m+1)===58&&(h="")}return!e.url&&typeof h=="string"||f?(u=t.enter("destinationLiteral"),s+=l.move("<"),s+=l.move(t.safe(e.url,{before:s,after:">",...l.current()})),s+=l.move(">")):(u=t.enter("destinationRaw"),s+=l.move(t.safe(e.url,{before:s,after:typeof h=="string"?" ":")",...l.current()}))),u(),typeof h=="string"&&(u=t.enter(`title${o}`),s+=l.move(" "+i),s+=l.move(t.safe(h,{before:s,after:i,...l.current()})),s+=l.move(i),u()),s+=l.move(")"),a(),s}function hc(e,n,t){return ci(e,t)?"<":"["}hi.peek=pc;function hi(e,n,t,r){const i=e.referenceType,o=t.enter("linkReference");let l=t.enter("label");const a=t.createTracker(r);let u=a.move("[");const s=t.containerPhrasing(e,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),l();const c=t.stack;t.stack=c.filter(function(p){return p!=="phrasing"}),l=t.enter("reference");const f=t.safe(t.associationId(e),{before:u,after:"]",...a.current()});return l(),t.stack=c,o(),i==="full"||!s||s!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}function pc(){return"["}function dt(e){const n=e.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function mc(e){const n=dt(e),t=e.options.bulletOther;if(!t)return n==="*"?"-":"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(t===n)throw new Error("Expected `bullet` (`"+n+"`) and `bulletOther` (`"+t+"`) to be different");return t}function dc(e){const n=e.options.bulletOrdered||".";if(n!=="."&&n!==")")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOrdered`, expected `.` or `)`");return n}function pi(e){const n=e.options.rule||"*";if(n!=="*"&&n!=="-"&&n!=="_")throw new Error("Cannot serialize rules with `"+n+"` for `options.rule`, expected `*`, `-`, or `_`");return n}function gc(e,n,t,r){const i=t.enter("list"),o=t.bulletCurrent;let l=e.ordered?dc(t):dt(t);const a=e.ordered?l==="."?")":".":mc(t);let u=n&&t.bulletLastUsed?l===t.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&c&&(!c.children||!c.children[0])&&t.stack[t.stack.length-1]==="list"&&t.stack[t.stack.length-2]==="listItem"&&t.stack[t.stack.length-3]==="list"&&t.stack[t.stack.length-4]==="listItem"&&t.indexStack[t.indexStack.length-1]===0&&t.indexStack[t.indexStack.length-2]===0&&t.indexStack[t.indexStack.length-3]===0&&(u=!0),pi(t)===l&&c){let f=-1;for(;++f<e.children.length;){const p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(l=a),t.bulletCurrent=l;const s=t.containerFlow(e,r);return t.bulletLastUsed=l,t.bulletCurrent=o,i(),s}function xc(e){const n=e.options.listItemIndent||"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function yc(e,n,t,r){const i=xc(t);let o=t.bulletCurrent||dt(t);n&&n.type==="list"&&n.ordered&&(o=(typeof n.start=="number"&&n.start>-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(l=Math.ceil(l/4)*4);const a=t.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);const u=t.enter("listItem"),s=t.indentLines(t.containerFlow(e,a.current()),c);return u(),s;function c(f,p,h){return p?(h?"":" ".repeat(l))+f:(h?o:o+" ".repeat(l-o.length))+f}}function kc(e,n,t,r){const i=t.enter("paragraph"),o=t.enter("phrasing"),l=t.containerPhrasing(e,r);return o(),i(),l}function bc(e,n,t,r){if(!e.children.some(function(a){return Hs(a)}))return t.containerFlow(e,r);const o=t.enter("phrasing"),l=t.containerPhrasing(e,r);return o(),l}function wc(e){const n=e.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}gt.attention=mi;gt.peek=Sc;function gt(e,n,t,r){const i=t.enter("phrasing"),o=pt(e,mi,t,t.createTracker(r)),l=o?xn([o],r.before,r.after):"";return i(),l}function mi(e,n){return{construct:"strong",markers:wc(n)==="*"?["*","_"]:["_","*"],sizes:[2]}}function Sc(e,n,t){return t.options.strong||"*"}function Cc(e,n,t,r){const i=n?n.children:[],o=t.indexStack[t.indexStack.length-1];return t.safe(e.value,{...r,afterNode:i[o+1],beforeNode:i[o-1]})}function Ec(e){const n=e.options.ruleRepetition||3;if(n<3)throw new Error("Cannot serialize rules with repetition `"+n+"` for `options.ruleRepetition`, expected `3` or more");return n}function Ac(e,n,t){const r=(pi(t)+(t.options.ruleSpaces?" ":"")).repeat(Ec(t));return t.options.ruleSpaces?r.slice(0,-1):r}const Kn={blockquote:Us,break:sr,code:Xs,definition:Gs,emphasis:mt,hardBreak:sr,heading:ac,html:oi,image:ai,imageReference:ui,inlineCode:si,link:fi,linkReference:hi,list:gc,listItem:yc,paragraph:kc,root:bc,strong:gt,text:Cc,thematicBreak:Ac};function Ic(){return{enter:{table:Tc,tableData:hr,tableHeader:hr,tableRow:zc},exit:{codeText:Pc,table:vc,tableData:Rn,tableHeader:Rn,tableRow:Rn}}}function Tc(e){const n=e._align;this.enter({type:"table",align:n.map(function(t){return t==="none"?null:t}),children:[],position:void 0},e),this.data.inTable=!0}function vc(e){this.exit(e),this.data.inTable=void 0}function zc(e){this.enter({type:"tableRow",children:[],position:void 0},e)}function Rn(e){this.exit(e)}function hr(e){this.enter({type:"tableCell",children:[],position:void 0},e)}function Pc(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,Lc));const t=this.stack[this.stack.length-1];t.type,t.value=n,this.exit(e)}function Lc(e,n){return n==="|"?n:e}function Dc(e){const n=e||{},{tableCellPadding:t,tablePipeAlign:r,stringLength:i}=n,o=t?" ":"|";return{handlers:{inlineCode:p,table:l,tableCell:u,tableRow:a},join:[Fc],unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}]};function l(h,m,x,C){const y=c(h,x,C),A=y[0];if(A){let w=h.align?h.align.length:0,v=-1;if(!w)for(;++v<y.length;)y[v].length>w&&(w=y[v].length);for(;A.length<w;)A.push("")}return s(y,h.align)}function a(h,m,x,C){const y=f(h,x,C),A=s([y]);return A.slice(0,A.indexOf(`
`))}function u(h,m,x,C){const y=x.enter("tableCell"),A=x.enter("phrasing"),w=x.containerPhrasing(h,{...C,before:o,after:o});return A(),y(),w}function s(h,m){return js(h,{align:m,alignDelimiters:r,fillRows:!1,padding:t,stringLength:i})}function c(h,m,x){const{children:C}=h;let y=-1;const A=[],w=m.enter("table");for(;++y<C.length;)A[y]=f(C[y],m,x);return w(),A}function f(h,m,x){const{children:C}=h;let y=-1;const A=[],w=m.enter("tableRow");for(;++y<C.length;)A[y]=u(C[y],h,m,x);return w(),A}function p(h,m,x){const C=Kn.inlineCode(h,m,x);if(!x.stack.includes("tableCell"))return C;const y=[];let A=0,w=C.indexOf("|");for(;w!==-1;){let v=w;for(;v>A&&C.charCodeAt(v-1)===92;)v--;y.push(C.slice(A,w)),(w-v)%2===0&&y.push("\\"),A=w,w=C.indexOf("|",w+1)}return y.push(C.slice(A)),y.join("")}}function Fc(e,n,t,r){if(e.type==="table"&&t.type==="listItem"&&t.spread===!1&&(n.type==="definition"||n.type==="heading"&&Mc(n,r)||n.type==="paragraph"||n.type==="table"))return 1}function Mc(e,n){let t=!1;return dn(e,function(r){if(r.type==="break"||"value"in r&&/\r?\n|\r/.test(r.value))return t=!0,Ve}),!!((!e.depth||e.depth<3)&&cn(e)&&(n.options.setext||t))}function Rc(){return{exit:{taskListCheckValueChecked:pr,taskListCheckValueUnchecked:pr,paragraph:Oc}}}function _c(){return{handlers:{paragraph:Nc},join:[Bc]}}function pr(e){const n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}function Oc(e){const n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const r=t.children[0];if(r&&r.type==="text"){const i=n.children;let o=-1,l;for(;++o<i.length;){const a=i[o];if(a.type==="paragraph"){l=a;break}}l===t&&(r.value=r.value.slice(1),r.value.length===0?t.children.shift():t.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,t.position.start={...r.position.start}))}}this.exit(e)}function Nc(e,n,t,r){if(!n||n.type!=="listItem"||di(n)!==e)return Kn.paragraph(e,n,t,r);const i="["+(n.checked?"x":" ")+"] ",o=t.createTracker(r);o.move(i);const l=Kn.paragraph(e.children.length>0?e:{type:"paragraph",children:[{type:"text",value:" "}]},n,t,{...r,...o.current()});return i+l}function Bc(e,n,t){if(!(e.type==="definition"&&t.type==="listItem"))return;const r=di(t);if(r&&t.children.indexOf(e)<t.children.indexOf(r))return 0}function di(e){if(typeof e.checked=="boolean")for(const n of e.children){if(n.type==="paragraph")return n;if(n.type!=="definition")return}}function jc(){return[ls(),zs(),Fs(),Ic(),Rc()]}function qc(e){return{extensions:[os(),Ps(e),Ms(),Dc(e),_c()]}}const Hc={tokenize:Yc,partial:!0},gi={tokenize:Xc,partial:!0},xi={tokenize:Kc,partial:!0},yi={tokenize:Gc,partial:!0},Uc={tokenize:Jc,partial:!0},ki={name:"wwwAutolink",tokenize:Wc,previous:wi},bi={name:"protocolAutolink",tokenize:Qc,previous:Si},xe={name:"emailAutolink",tokenize:Vc,previous:Ci},pe={};function $c(){return{text:pe}}let Se=48;for(;Se<123;)pe[Se]=xe,Se++,Se===58?Se=65:Se===91&&(Se=97);pe[43]=xe;pe[45]=xe;pe[46]=xe;pe[95]=xe;pe[72]=[xe,bi];pe[104]=[xe,bi];pe[87]=[xe,ki];pe[119]=[xe,ki];function Vc(e,n,t){const r=this;let i,o;return l;function l(f){return!Gn(f)||!Ci.call(r,r.previous)||xt(r.events)?t(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return Gn(f)?(e.consume(f),a):f===64?(e.consume(f),u):t(f)}function u(f){return f===46?e.check(Uc,c,s)(f):f===45||f===95||G(f)?(o=!0,e.consume(f),u):c(f)}function s(f){return e.consume(f),i=!0,u}function c(f){return o&&i&&K(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(f)):t(f)}}function Wc(e,n,t){const r=this;return i;function i(l){return l!==87&&l!==119||!wi.call(r,r.previous)||xt(r.events)?t(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Hc,e.attempt(gi,e.attempt(xi,o),t),t)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(l)}}function Qc(e,n,t){const r=this;let i="",o=!1;return l;function l(f){return(f===72||f===104)&&Si.call(r,r.previous)&&!xt(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):t(f)}function a(f){if(K(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(f),u}return t(f)}function u(f){return f===47?(e.consume(f),o?s:(o=!0,u)):t(f)}function s(f){return f===null||rn(f)||H(f)||Ae(f)||Ye(f)?t(f):e.attempt(gi,e.attempt(xi,c),t)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(f)}}function Yc(e,n,t){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):t(l)}function o(l){return l===null?t(l):n(l)}}function Xc(e,n,t){let r,i,o;return l;function l(s){return s===46||s===95?e.check(yi,u,a)(s):s===null||H(s)||Ae(s)||s!==45&&Ye(s)?u(s):(o=!0,e.consume(s),l)}function a(s){return s===95?r=!0:(i=r,r=void 0),e.consume(s),l}function u(s){return i||r||!o?t(s):n(s)}}function Kc(e,n){let t=0,r=0;return i;function i(l){return l===40?(t++,e.consume(l),i):l===41&&r<t?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(yi,n,o)(l):l===null||H(l)||Ae(l)?n(l):(e.consume(l),i)}function o(l){return l===41&&r++,e.consume(l),i}}function Gc(e,n,t){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),o):a===93?(e.consume(a),i):a===60||a===null||H(a)||Ae(a)?n(a):t(a)}function i(a){return a===null||a===40||a===91||H(a)||Ae(a)?n(a):r(a)}function o(a){return K(a)?l(a):t(a)}function l(a){return a===59?(e.consume(a),r):K(a)?(e.consume(a),l):t(a)}}function Jc(e,n,t){return r;function r(o){return e.consume(o),i}function i(o){return G(o)?t(o):n(o)}}function wi(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||H(e)}function Si(e){return!K(e)}function Ci(e){return!(e===47||Gn(e))}function Gn(e){return e===43||e===45||e===46||e===95||G(e)}function xt(e){let n=e.length,t=!1;for(;n--;){const r=e[n][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){t=!0;break}if(r._gfmAutolinkLiteralWalkedInto){t=!1;break}}return e.length>0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}const Zc={tokenize:uf,partial:!0};function ef(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:lf,continuation:{tokenize:of},exit:af}},text:{91:{name:"gfmFootnoteCall",tokenize:rf},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:nf,resolveTo:tf}}}}function nf(e,n,t){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){l=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return a;function a(u){if(!l||!l._balanced)return t(u);const s=ce(r.sliceSerialize({start:l.end,end:r.now()}));return s.codePointAt(0)!==94||!o.includes(s.slice(1))?t(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),n(u))}}function tf(e,n){let t=e.length;for(;t--;)if(e[t][1].type==="labelImage"&&e[t][0]==="enter"){e[t][1];break}e[t+1][1].type="data",e[t+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[t+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[t+3][1].end),end:Object.assign({},e[t+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[t+1],e[t+2],["enter",r,n],e[t+3],e[t+4],["enter",i,n],["exit",i,n],["enter",o,n],["enter",l,n],["exit",l,n],["exit",o,n],e[e.length-2],e[e.length-1],["exit",r,n]];return e.splice(t,e.length-t+1,...a),e}function rf(e,n,t){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,l;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?t(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(f){if(o>999||f===93&&!l||f===null||f===91||H(f))return t(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(ce(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):t(f)}return H(f)||(l=!0),o++,e.consume(f),f===92?c:s}function c(f){return f===91||f===92||f===93?(e.consume(f),o++,s):s(f)}}function lf(e,n,t){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,a;return u;function u(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):t(m)}function c(m){if(l>999||m===93&&!a||m===null||m===91||H(m))return t(m);if(m===93){e.exit("chunkString");const x=e.exit("gfmFootnoteDefinitionLabelString");return o=ce(r.sliceSerialize(x)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return H(m)||(a=!0),l++,e.consume(m),m===92?f:c}function f(m){return m===91||m===92||m===93?(e.consume(m),l++,c):c(m)}function p(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(o)||i.push(o),B(e,h,"gfmFootnoteDefinitionWhitespace")):t(m)}function h(m){return n(m)}}function of(e,n,t){return e.check(Xe,n,e.attempt(Zc,n,t))}function af(e){e.exit("gfmFootnoteDefinition")}function uf(e,n,t){const r=this;return B(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?n(o):t(o)}}function sf(e){let t=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return t==null&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,a){let u=-1;for(;++u<l.length;)if(l[u][0]==="enter"&&l[u][1].type==="strikethroughSequenceTemporary"&&l[u][1]._close){let s=u;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._open&&l[u][1].end.offset-l[u][1].start.offset===l[s][1].end.offset-l[s][1].start.offset){l[u][1].type="strikethroughSequence",l[s][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},l[s][1].start),end:Object.assign({},l[u][1].end)},f={type:"strikethroughText",start:Object.assign({},l[s][1].end),end:Object.assign({},l[u][1].start)},p=[["enter",c,a],["enter",l[s][1],a],["exit",l[s][1],a],["enter",f,a]],h=a.parser.constructs.insideSpan.null;h&&se(p,p.length,0,fn(h,l.slice(s+1,u),a)),se(p,p.length,0,[["exit",f,a],["enter",l[u][1],a],["exit",l[u][1],a],["exit",c,a]]),se(l,s-1,u-s+3,p),u=s+p.length-2;break}}for(u=-1;++u<l.length;)l[u][1].type==="strikethroughSequenceTemporary"&&(l[u][1].type="data");return l}function o(l,a,u){const s=this.previous,c=this.events;let f=0;return p;function p(m){return s===126&&c[c.length-1][1].type!=="characterEscape"?u(m):(l.enter("strikethroughSequenceTemporary"),h(m))}function h(m){const x=be(s);if(m===126)return f>1?u(m):(l.consume(m),f++,h);if(f<2&&!t)return u(m);const C=l.exit("strikethroughSequenceTemporary"),y=be(m);return C._open=!y||y===2&&!!x,C._close=!x||x===2&&!!y,a(m)}}}class cf{constructor(){this.map=[],this.index=new Map}add(n,t,r){ff(this,n,t,r)}consume(n){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let t=this.map.length;const r=[];for(;t>0;)t-=1,r.push(n.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),n.length=this.map[t][0];r.push(n.slice()),n.length=0;let i=r.pop();for(;i;){for(const o of i)n.push(o);i=r.pop()}this.map.length=0,this.index.clear()}}function ff(e,n,t,r){if(t===0&&r.length===0)return;const i=e.index.get(n);if(i){i[1]+=t,i[2].push(...r);return}const o=[n,t,r];e.map.push(o),e.index.set(n,o)}function hf(e,n){let t=!1;const r=[];for(;n<e.length;){const i=e[n];if(t){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[n+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[n-1][1].type==="tableDelimiterMarker"){const o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(t=!0);n+=1}return r}function pf(){return{flow:{null:{name:"table",tokenize:mf,resolveAll:df}}}}function mf(e,n,t){const r=this;let i=0,o=0,l;return a;function a(k){let T=r.events.length-1;for(;T>-1;){const{type:V}=r.events[T][1];if(V==="lineEnding"||V==="linePrefix")T--;else break}const P=T>-1?r.events[T][1].type:null,j=P==="tableHead"||P==="tableRow"?S:u;return j===S&&r.parser.lazy[r.now().line]?t(k):j(k)}function u(k){return e.enter("tableHead"),e.enter("tableRow"),s(k)}function s(k){return k===124||(l=!0,o+=1),c(k)}function c(k){return k===null?t(k):z(k)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),h):t(k):_(k)?B(e,c,"whitespace")(k):(o+=1,l&&(l=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),l=!0,c):(e.enter("data"),f(k)))}function f(k){return k===null||k===124||H(k)?(e.exit("data"),c(k)):(e.consume(k),k===92?p:f)}function p(k){return k===92||k===124?(e.consume(k),f):f(k)}function h(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?t(k):(e.enter("tableDelimiterRow"),l=!1,_(k)?B(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):m(k))}function m(k){return k===45||k===58?C(k):k===124?(l=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),x):M(k)}function x(k){return _(k)?B(e,C,"whitespace")(k):C(k)}function C(k){return k===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(o+=1,y(k)):k===null||z(k)?v(k):M(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),A(k)):M(k)}function A(k){return k===45?(e.consume(k),A):k===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(k))}function w(k){return _(k)?B(e,v,"whitespace")(k):v(k)}function v(k){return k===124?m(k):k===null||z(k)?!l||i!==o?M(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(k)):M(k)}function M(k){return t(k)}function S(k){return e.enter("tableRow"),L(k)}function L(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),L):k===null||z(k)?(e.exit("tableRow"),n(k)):_(k)?B(e,L,"whitespace")(k):(e.enter("data"),O(k))}function O(k){return k===null||k===124||H(k)?(e.exit("data"),L(k)):(e.consume(k),k===92?W:O)}function W(k){return k===92||k===124?(e.consume(k),O):O(k)}}function df(e,n){let t=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],a=!1,u=0,s,c,f;const p=new cf;for(;++t<e.length;){const h=e[t],m=h[1];h[0]==="enter"?m.type==="tableHead"?(a=!1,u!==0&&(mr(p,n,u,s,c),c=void 0,u=0),s={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(t,0,[["enter",s,n]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,f=void 0,o=[0,0,0,0],l=[0,t+1,0,0],a&&(a=!1,c={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(t,0,[["enter",c,n]])),i=m.type==="tableDelimiterRow"?2:c?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],f=nn(p,n,o,i,void 0,f),o=[0,0,0,0]),l[2]=t)):m.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(l[0]=l[1],f=nn(p,n,o,i,void 0,f)),o=l,l=[o[1],t,0,0])):m.type==="tableHead"?(a=!0,u=t):m.type==="tableRow"||m.type==="tableDelimiterRow"?(u=t,o[1]!==0?(l[0]=l[1],f=nn(p,n,o,i,t,f)):l[1]!==0&&(f=nn(p,n,l,i,t,f)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(l[3]=t)}for(u!==0&&mr(p,n,u,s,c),p.consume(n.events),t=-1;++t<n.events.length;){const h=n.events[t];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=hf(n.events,t))}return e}function nn(e,n,t,r,i,o){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";t[0]!==0&&(o.end=Object.assign({},Le(n.events,t[0])),e.add(t[0],0,[["exit",o,n]]));const u=Le(n.events,t[1]);if(o={type:l,start:Object.assign({},u),end:Object.assign({},u)},e.add(t[1],0,[["enter",o,n]]),t[2]!==0){const s=Le(n.events,t[2]),c=Le(n.events,t[3]),f={type:a,start:Object.assign({},s),end:Object.assign({},c)};if(e.add(t[2],0,[["enter",f,n]]),r!==2){const p=n.events[t[2]],h=n.events[t[3]];if(p[1].end=Object.assign({},h[1].end),p[1].type="chunkText",p[1].contentType="text",t[3]>t[2]+1){const m=t[2]+1,x=t[3]-t[2]-1;e.add(m,x,[])}}e.add(t[3]+1,0,[["exit",f,n]])}return i!==void 0&&(o.end=Object.assign({},Le(n.events,i)),e.add(i,0,[["exit",o,n]]),o=void 0),o}function mr(e,n,t,r,i){const o=[],l=Le(n.events,t);i&&(i.end=Object.assign({},l),o.push(["exit",i,n])),r.end=Object.assign({},l),o.push(["exit",r,n]),e.add(t+1,0,o)}function Le(e,n){const t=e[n],r=t[0]==="enter"?"start":"end";return t[1][r]}const gf={name:"tasklistCheck",tokenize:yf};function xf(){return{text:{91:gf}}}function yf(e,n,t){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?t(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),o)}function o(u){return H(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),l):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),l):t(u)}function l(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):t(u)}function a(u){return z(u)?n(u):_(u)?e.check({tokenize:kf},n,t)(u):t(u)}}function kf(e,n,t){return B(e,r,"whitespace");function r(i){return i===null?t(i):n(i)}}function bf(e){return zr([$c(),ef(),sf(e),pf(),xf()])}const wf={};function Sf(e){const n=this,t=e||wf,r=n.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(bf(t)),o.push(jc()),l.push(qc(t))}const Cf={p:({children:e})=>U.jsx("p",{className:"mb-3 text-sm leading-relaxed text-slate-100 last:mb-0",children:e}),strong:({children:e})=>U.jsx("strong",{className:"font-semibold text-white",children:e}),em:({children:e})=>U.jsx("em",{className:"text-slate-200",children:e}),code:e=>e.inline?U.jsx("code",{className:"rounded-md border border-white/[0.08] bg-white/[0.06] px-1.5 py-0.5 font-mono text-[12px] text-blue-200",children:e.children}):U.jsx("code",{className:"block overflow-x-auto rounded-xl border border-white/[0.06] bg-ink-900 px-4 py-3 font-mono text-[12.5px] leading-relaxed text-slate-200",children:e.children}),pre:({children:e})=>U.jsx("div",{className:"my-3 overflow-hidden rounded-xl border border-white/[0.06] bg-ink-900",children:e}),h1:({children:e})=>U.jsx("h1",{className:"mb-2 text-lg font-bold text-white",children:e}),h2:({children:e})=>U.jsx("h2",{className:"mb-2 text-base font-bold text-white",children:e}),h3:({children:e})=>U.jsx("h3",{className:"mb-1.5 text-sm font-semibold text-white",children:e}),h4:({children:e})=>U.jsx("h4",{className:"mb-1.5 text-sm font-semibold text-white",children:e}),ul:({children:e})=>U.jsx("ul",{className:"mb-3 list-disc space-y-1 pl-5 marker:text-blue-400 last:mb-0",children:e}),ol:({children:e})=>U.jsx("ol",{className:"mb-3 list-decimal space-y-1 pl-5 marker:text-blue-400 last:mb-0",children:e}),li:({children:e})=>U.jsx("li",{className:"text-sm leading-relaxed text-slate-100",children:e}),blockquote:({children:e})=>U.jsx("blockquote",{className:"my-3 border-l-2 border-blue-400/60 bg-white/[0.02] py-2 pl-4 pr-3 text-sm text-slate-300",children:e}),a:({href:e,children:n})=>U.jsx("a",{href:e,target:"_blank",rel:"noreferrer noopener",className:"font-medium text-blue-300 underline decoration-blue-400/40 underline-offset-2 hover:text-blue-200",children:n}),hr:()=>U.jsx("hr",{className:"my-4 border-t border-white/[0.08]"}),table:({children:e})=>U.jsx("div",{className:"my-3 overflow-x-auto rounded-xl border border-white/[0.06]",children:U.jsx("table",{className:"w-full text-left text-xs",children:e})}),thead:({children:e})=>U.jsx("thead",{className:"border-b border-white/[0.08] bg-white/[0.03]",children:e}),th:({children:e})=>U.jsx("th",{className:"px-3.5 py-2.5 font-semibold text-slate-200",children:e}),td:({children:e})=>U.jsx("td",{className:"border-t border-white/[0.05] px-3.5 py-2.5 text-slate-300",children:e})};function If({content:e}){return U.jsx("div",{className:"text-sm",children:U.jsx(Xu,{remarkPlugins:[Sf],components:Cf,children:e})})}export{If as default};

Zerion Mini Shell 1.0