@av-pi-studio/web-client 0.0.93 → 0.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/assets/{BinaryFallbackViewer-BSJE1g_R.js → BinaryFallbackViewer-Cl9JXb5q.js} +1 -1
- package/dist/web/assets/ChatPanel-Bef2kpgd.js +8 -0
- package/dist/web/assets/ChatPanel-Dwbu-dGA.css +1 -0
- package/dist/web/assets/{CodeView-Dssgtzmw.js → CodeView-Dw7L2TVS.js} +1 -1
- package/dist/web/assets/{DiffView-DMWaKpLT.js → DiffView-DYwtgWeX.js} +1 -1
- package/dist/web/assets/{FilePanel-DCcMysVK.js → FilePanel-CTwbQ_aO.js} +1 -1
- package/dist/web/assets/{HtmlViewer-VHT3Wggh.js → HtmlViewer-Bxh2l5Lv.js} +1 -1
- package/dist/web/assets/{ImageViewer-BmhuSGT0.js → ImageViewer-sPGjP66G.js} +1 -1
- package/dist/web/assets/{MarkdownFileViewer-BbFFx6T9.js → MarkdownFileViewer-Bo4C4k_g.js} +1 -1
- package/dist/web/assets/ModelProvidersPanel-D3bDWSdy.js +1 -0
- package/dist/web/assets/{MoleculeViewerPanel-CcFuwlZ4.js → MoleculeViewerPanel-CAd3aCBh.js} +1 -1
- package/dist/web/assets/{SettingsDialog-EchhRvMJ.js → SettingsDialog-nfzDXsFW.js} +7 -7
- package/dist/web/assets/{TerminalPanel-BEF6crIl.js → TerminalPanel-DeqOCMpZ.js} +1 -1
- package/dist/web/assets/{TextViewer-BalCoanq.js → TextViewer-CW33h6Cq.js} +1 -1
- package/dist/web/assets/{VideoViewer-BYfwl923.js → VideoViewer-BS12rdIx.js} +1 -1
- package/dist/web/assets/{abnfDiagram-N423BO3Z-DxO06Bt4.js → abnfDiagram-N423BO3Z-Bvr9ge1e.js} +1 -1
- package/dist/web/assets/{arc-B8lsWks2.js → arc-d__toDKt.js} +1 -1
- package/dist/web/assets/{architectureDiagram-T3A2C74G-CwXR4Oxt.js → architectureDiagram-T3A2C74G-BRj9I8dm.js} +1 -1
- package/dist/web/assets/{blockDiagram-VBNYF7ZC-CcM3hPQ5.js → blockDiagram-VBNYF7ZC-s4NHmWWq.js} +1 -1
- package/dist/web/assets/{c4Diagram-5PPSVZJV-BtpAVVVZ.js → c4Diagram-5PPSVZJV-BjAxWWlT.js} +1 -1
- package/dist/web/assets/channel-TP1CjayO.js +1 -0
- package/dist/web/assets/{chunk-2GRJ4B5K-C75BUfq6.js → chunk-2GRJ4B5K-DpKGvqbO.js} +1 -1
- package/dist/web/assets/{chunk-2Q5K7J3B-B_EgEcPH.js → chunk-2Q5K7J3B-CVcb4YDt.js} +1 -1
- package/dist/web/assets/{chunk-5RXB4S5H-roWcQa32.js → chunk-5RXB4S5H-DMuE2Nph.js} +1 -1
- package/dist/web/assets/{chunk-5VM5RSS4-D7z9aJee.js → chunk-5VM5RSS4-DjXZ9WJk.js} +1 -1
- package/dist/web/assets/{chunk-6Q2QTUOP-CVkipQR4.js → chunk-6Q2QTUOP-C-RFAEES.js} +1 -1
- package/dist/web/assets/{chunk-GF5L2VYU-Cb8nMxaI.js → chunk-GF5L2VYU-BWjcXlRa.js} +1 -1
- package/dist/web/assets/{chunk-JWPE2WC7-D9yLem8V.js → chunk-JWPE2WC7-VwCOzl3l.js} +1 -1
- package/dist/web/assets/{chunk-KBJHAD2P-BGi6ha9v.js → chunk-KBJHAD2P-B0ZmsnjH.js} +1 -1
- package/dist/web/assets/{chunk-RYQCIY6F-BrNdJMYr.js → chunk-RYQCIY6F-BAn0zWAL.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-pUKSGKvN.js → chunk-XXDRQBXY-Dk0-bubQ.js} +1 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-DUlJn9QA.js +1 -0
- package/dist/web/assets/classDiagram-v2-OCEON4UE-DUlJn9QA.js +1 -0
- package/dist/web/assets/{cose-bilkent-JH36ORCC-SfHJUgmE.js → cose-bilkent-JH36ORCC-CFJbYI_D.js} +1 -1
- package/dist/web/assets/{cynefin-VYW2F7L2-DGTqBSQV.js → cynefin-VYW2F7L2-jg2QjyfV.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-MW4NZA55-RIHpcRGC.js → cynefinDiagram-MW4NZA55-B6SjOckv.js} +1 -1
- package/dist/web/assets/{dagre-VZM6K2ZE-CDu4oNn2.js → dagre-VZM6K2ZE-BpP0iZwB.js} +1 -1
- package/dist/web/assets/{diagram-7IWD3JNH-BUprchyM.js → diagram-7IWD3JNH-CLM8RWlI.js} +1 -1
- package/dist/web/assets/{diagram-B4RE2ZJO-BanVZxZj.js → diagram-B4RE2ZJO-Y7XG0w2C.js} +1 -1
- package/dist/web/assets/{diagram-LBJQPF4R-Ct4XqrZ0.js → diagram-LBJQPF4R-BaGEZi0Q.js} +1 -1
- package/dist/web/assets/{diagram-Q27KOJAE-36_1SZ0x.js → diagram-Q27KOJAE-Mt1alABP.js} +1 -1
- package/dist/web/assets/{diagram-UB23O5K3-Dd3GA0Nx.js → diagram-UB23O5K3-BFpFPOca.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-BXEA7PRR-BhCqLNe6.js → ebnfDiagram-BXEA7PRR-BElD2xRu.js} +1 -1
- package/dist/web/assets/{erDiagram-JOGREHBK-D_kIhAsR.js → erDiagram-JOGREHBK-BGEbQy3Z.js} +1 -1
- package/dist/web/assets/{flowDiagram-UKHOOZJN-BG0hFgfp.js → flowDiagram-UKHOOZJN-DtZwckoE.js} +1 -1
- package/dist/web/assets/{ganttDiagram-PKOTCBZU-bmle167J.js → ganttDiagram-PKOTCBZU-DnaxvgJa.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-DS77QQ5N-nylWitCY.js → gitGraphDiagram-DS77QQ5N-GcbbhmIL.js} +1 -1
- package/dist/web/assets/{graph-TZxHq4iA.js → graph-B_doEPGA.js} +1 -1
- package/dist/web/assets/{href-resolution-CZmK557H.js → href-resolution-62Ae2qpT.js} +1 -1
- package/dist/web/assets/index-BHHAK0f5.js +19 -0
- package/dist/web/assets/index-BfVJBlu4.css +1 -0
- package/dist/web/assets/{infoDiagram-6WML65LV-BtE3Ne1J.js → infoDiagram-6WML65LV-RWPBVDQB.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-WSZJBQD7-Dh4f7U1S.js → ishikawaDiagram-WSZJBQD7-B5zgV1xd.js} +1 -1
- package/dist/web/assets/{journeyDiagram-NVQOT4AX-Cr2SN64n.js → journeyDiagram-NVQOT4AX-BgqRzqKE.js} +1 -1
- package/dist/web/assets/{kanban-definition-27J2QSJJ-CTyBFFdg.js → kanban-definition-27J2QSJJ-BTrBJbLq.js} +1 -1
- package/dist/web/assets/{layout-Cy21MT7A.js → layout-Cncz9We1.js} +1 -1
- package/dist/web/assets/{linear-Csqj3qWq.js → linear-BsCoEsJF.js} +1 -1
- package/dist/web/assets/{markdown-TV2l2DFM.js → markdown-DEjnznX7.js} +3 -3
- package/dist/web/assets/{mermaid.core-Ef9xxvhx.js → mermaid.core-BoLmyLCE.js} +4 -4
- package/dist/web/assets/{mindmap-definition-FAOFIHXS-C0gNkg3u.js → mindmap-definition-FAOFIHXS-BIyulKFK.js} +1 -1
- package/dist/web/assets/{ordinal-DeJMIlb3.js → ordinal-vhGZPUYw.js} +1 -1
- package/dist/web/assets/{pegDiagram-VL7TDLO6-BV6WCpiw.js → pegDiagram-VL7TDLO6-BL7iG7Fo.js} +1 -1
- package/dist/web/assets/{pieDiagram-7S7Q4E2Y-D3-mJGvG.js → pieDiagram-7S7Q4E2Y-CsjcphEi.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-CIZ2JOQS-DYVvAYfX.js → quadrantDiagram-CIZ2JOQS-CtINV8aH.js} +1 -1
- package/dist/web/assets/{railroadDiagram-AXF67PYL-Cud4BJPm.js → railroadDiagram-AXF67PYL-CdnO8jW4.js} +1 -1
- package/dist/web/assets/{requirementDiagram-LRYGKXZP-DNSp42Em.js → requirementDiagram-LRYGKXZP-C2aPd0Km.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-W5VNT64P-BfTOCAaX.js → sankeyDiagram-W5VNT64P-BKHh8RAs.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-SI44F4Z6-dnBtqYMf.js → sequenceDiagram-SI44F4Z6-D8xy_O5P.js} +1 -1
- package/dist/web/assets/{sizeCapture-X5ZJPWSS-CoFL4TAh.js → sizeCapture-X5ZJPWSS-CCdZcs10.js} +1 -1
- package/dist/web/assets/{stateDiagram-OKZ733FA-BD_aH6K_.js → stateDiagram-OKZ733FA-RZAf1ESI.js} +1 -1
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-BI4CmRHj.js +1 -0
- package/dist/web/assets/{swimlanes-SLNWSIFB-C-ajE5B2.js → swimlanes-SLNWSIFB-C-TrA4uF.js} +2 -2
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-BoNmzrFF.js +8 -0
- package/dist/web/assets/{timeline-definition-Z64GVDOM-Cf7hkF8i.js → timeline-definition-Z64GVDOM-DU6_FSr1.js} +1 -1
- package/dist/web/assets/{use-file-download-M0QoFeFV.js → use-file-download-B0TFCtaB.js} +1 -1
- package/dist/web/assets/{use-file-watch-TIQtkV8f.js → use-file-watch-CweRDD7C.js} +1 -1
- package/dist/web/assets/use-provider-auth-list-D31i1xT-.js +1 -0
- package/dist/web/assets/{vendor-D8P8plmv.js → vendor-CIkm_8TG.js} +24 -24
- package/dist/web/assets/{vendor-highlight-BKvLIpKt.js → vendor-highlight-A9hNQ6ne.js} +1 -1
- package/dist/web/assets/{vendor-icons-Bd4GbDkJ.js → vendor-icons-oIrAStms.js} +59 -54
- package/dist/web/assets/{vendor-markdown-DeBZUxEK.js → vendor-markdown-Bu3Y4y-M.js} +1 -1
- package/dist/web/assets/{vendor-overlays-B-PXEqhH.js → vendor-overlays-DAY3g68r.js} +1 -1
- package/dist/web/assets/{vennDiagram-T6HMQDX7-Cyzdyvbo.js → vennDiagram-T6HMQDX7-V_h-YRPm.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-T6FBY63Y-Bfrbr-vy.js → wardleyDiagram-T6FBY63Y-BAuBlzU-.js} +1 -1
- package/dist/web/assets/{xychartDiagram-ELKLHX3M-z-IdlcTk.js → xychartDiagram-ELKLHX3M-BCOvG8DP.js} +1 -1
- package/dist/web/index.html +5 -5
- package/package.json +3 -3
- package/dist/web/assets/ChatPanel-CM1-XG5f.css +0 -1
- package/dist/web/assets/ChatPanel-DInywt0h.js +0 -4
- package/dist/web/assets/ModelProvidersPanel-BzC7__W5.js +0 -1
- package/dist/web/assets/channel-7PRz8md2.js +0 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-bPNYzhH6.js +0 -1
- package/dist/web/assets/classDiagram-v2-OCEON4UE-bPNYzhH6.js +0 -1
- package/dist/web/assets/index-B3iWaw7F.css +0 -1
- package/dist/web/assets/index-kpsEjiod.js +0 -19
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DCeBzHT2.js +0 -1
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-C2djomhf.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{o as Ie,n as bi,s as Wa,a as _a,b as no,d as q0,t as io,c as Jr,e as ao,f as Mn,g as xi,i as o0,u as lo,j as En,p as wi,k as ki,w as Dn,l as so,m as en,q as Ya,r as oo,v as Qt,z as uo,x as co}from"./vendor-D8P8plmv.js";import{j as In}from"./vendor-react-DQUAl2K8.js";const ho=/[ \t\n\f\r]/g;function un(e){return typeof e=="object"?e.type==="text"?Si(e.value):!1:Si(e)}function Si(e){return e.replace(ho,"")===""}class Cr{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}Cr.prototype.normal={};Cr.prototype.property={};Cr.prototype.space=void 0;function Xa(e,t){const r={},n={};for(const i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Cr(r,n,t)}function xr(e){return e.toLowerCase()}class Ue{constructor(t,r){this.attribute=r,this.property=t}}Ue.prototype.attribute="";Ue.prototype.booleanish=!1;Ue.prototype.boolean=!1;Ue.prototype.commaOrSpaceSeparated=!1;Ue.prototype.commaSeparated=!1;Ue.prototype.defined=!1;Ue.prototype.mustUseProperty=!1;Ue.prototype.number=!1;Ue.prototype.overloadedBoolean=!1;Ue.prototype.property="";Ue.prototype.spaceSeparated=!1;Ue.prototype.space=void 0;let mo=0;const J=Vt(),we=Vt(),u0=Vt(),F=Vt(),ce=Vt(),$t=Vt(),_e=Vt();function Vt(){return 2**++mo}const c0=Object.freeze(Object.defineProperty({__proto__:null,boolean:J,booleanish:we,commaOrSpaceSeparated:_e,commaSeparated:$t,number:F,overloadedBoolean:u0,spaceSeparated:ce},Symbol.toStringTag,{value:"Module"})),Bn=Object.keys(c0);class H0 extends Ue{constructor(t,r,n,i){let a=-1;if(super(t,r),Ai(this,"space",i),typeof n=="number")for(;++a<Bn.length;){const l=Bn[a];Ai(this,Bn[a],(n&c0[l])===c0[l])}}}H0.prototype.defined=!0;function Ai(e,t,r){r&&(e[t]=r)}function ir(e){const t={},r={};for(const[n,i]of Object.entries(e.properties)){const a=new H0(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[xr(n)]=n,r[xr(a.attribute)]=n}return new Cr(t,r,e.space)}const Ka=ir({properties:{ariaActiveDescendant:null,ariaAtomic:we,ariaAutoComplete:null,ariaBusy:we,ariaChecked:we,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:ce,ariaCurrent:null,ariaDescribedBy:ce,ariaDetails:null,ariaDisabled:we,ariaDropEffect:ce,ariaErrorMessage:null,ariaExpanded:we,ariaFlowTo:ce,ariaGrabbed:we,ariaHasPopup:null,ariaHidden:we,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ce,ariaLevel:F,ariaLive:null,ariaModal:we,ariaMultiLine:we,ariaMultiSelectable:we,ariaOrientation:null,ariaOwns:ce,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:we,ariaReadOnly:we,ariaRelevant:null,ariaRequired:we,ariaRoleDescription:ce,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:we,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Za(e,t){return t in e?e[t]:t}function Qa(e,t){return Za(e,t.toLowerCase())}const fo=ir({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:$t,acceptCharset:ce,accessKey:ce,action:null,allow:null,allowFullScreen:J,allowPaymentRequest:J,allowUserMedia:J,alpha:J,alt:null,as:null,async:J,autoCapitalize:null,autoComplete:ce,autoFocus:J,autoPlay:J,blocking:ce,capture:null,charSet:null,checked:J,cite:null,className:ce,closedBy:null,colorSpace:null,cols:F,colSpan:F,command:null,commandFor:null,content:null,contentEditable:we,controls:J,controlsList:ce,coords:F|$t,crossOrigin:null,data:null,dateTime:null,decoding:null,default:J,defer:J,dir:null,dirName:null,disabled:J,download:u0,draggable:we,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:J,formTarget:null,headers:ce,height:F,hidden:u0,high:F,href:null,hrefLang:null,htmlFor:ce,httpEquiv:ce,id:null,imageSizes:null,imageSrcSet:null,inert:J,inputMode:null,integrity:null,is:null,isMap:J,itemId:null,itemProp:ce,itemRef:ce,itemScope:J,itemType:ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:J,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:J,muted:J,name:null,nonce:null,noModule:J,noValidate:J,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:J,optimum:F,pattern:null,ping:ce,placeholder:null,playsInline:J,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:J,referrerPolicy:null,rel:ce,required:J,reversed:J,rows:F,rowSpan:F,sandbox:ce,scope:null,scoped:J,seamless:J,selected:J,shadowRootClonable:J,shadowRootCustomElementRegistry:J,shadowRootDelegatesFocus:J,shadowRootMode:null,shadowRootSerializable:J,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:we,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:J,useMap:null,value:we,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ce,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:J,declare:J,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:J,noHref:J,noShade:J,noWrap:J,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:we,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:J,disablePictureInPicture:J,disableRemotePlayback:J,exportParts:$t,part:ce,prefix:null,property:null,results:F,security:null,unselectable:null},space:"html",transform:Qa}),po=ir({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:_e,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:ce,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:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:J,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,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:$t,g2:$t,glyphName:$t,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:_e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,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:F,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:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:_e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:_e,rev:_e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:_e,requiredFeatures:_e,requiredFonts:_e,requiredFormats:_e,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:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:_e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:_e,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:_e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Za}),Ja=ir({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),el=ir({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Qa}),tl=ir({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),go={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"},vo=/[A-Z]/g,Ci=/-[a-z]/g,yo=/^data[-\w.:]+$/i;function j0(e,t){const r=xr(t);let n=t,i=Ue;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&yo.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ci,xo);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ci.test(a)){let l=a.replace(vo,bo);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=H0}return new i(n,t)}function bo(e){return"-"+e.toLowerCase()}function xo(e){return e.charAt(1).toUpperCase()}const $0=Xa([Ka,fo,Ja,el,tl],"html"),ar=Xa([Ka,po,Ja,el,tl],"svg"),rl=nl("end"),U0=nl("start");function nl(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function wo(e){const t=U0(e),r=rl(e);if(t&&r)return{start:t,end:r}}function vr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ti(e.position):"start"in e||"end"in e?Ti(e):"line"in e||"column"in e?h0(e):""}function h0(e){return zi(e&&e.line)+":"+zi(e&&e.column)}function Ti(e){return h0(e&&e.start)+"-"+h0(e&&e.end)}function zi(e){return e&&typeof e=="number"?e:1}class Fe extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},l=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(l=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){const o=n.indexOf(":");o===-1?a.ruleId=n:(a.source=n.slice(0,o),a.ruleId=n.slice(o+1))}if(!a.place&&a.ancestors&&a.ancestors){const o=a.ancestors[a.ancestors.length-1];o&&(a.place=o.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=vr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Fe.prototype.file="";Fe.prototype.name="";Fe.prototype.reason="";Fe.prototype.message="";Fe.prototype.stack="";Fe.prototype.column=void 0;Fe.prototype.line=void 0;Fe.prototype.ancestors=void 0;Fe.prototype.cause=void 0;Fe.prototype.fatal=void 0;Fe.prototype.place=void 0;Fe.prototype.ruleId=void 0;Fe.prototype.source=void 0;const V0={}.hasOwnProperty,ko=new Map,So=/[A-Z]/g,Ao=new Set(["table","tbody","thead","tfoot","tr"]),Co=new Set(["td","th"]),il="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function To(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=Fo(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=No(r,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ar:$0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=al(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function al(e,t,r){if(t.type==="element")return zo(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Mo(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Do(e,t,r);if(t.type==="mdxjsEsm")return Eo(e,t);if(t.type==="root")return Io(e,t,r);if(t.type==="text")return Bo(e,t)}function zo(e,t,r){const n=e.schema;let i=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=ar,e.schema=i),e.ancestors.push(t);const a=sl(e,t.tagName,!1),l=Lo(e,t);let s=W0(e,t);return Ao.has(t.tagName)&&(s=s.filter(function(o){return typeof o=="string"?!un(o):!0})),ll(e,l,a,t),G0(l,s),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function Mo(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return Ie(n.type==="ExpressionStatement"),e.evaluater.evaluateExpression(n.expression)}wr(e,t.position)}function Eo(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);wr(e,t.position)}function Do(e,t,r){const n=e.schema;let i=n;t.name==="svg"&&n.space==="html"&&(i=ar,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:sl(e,t.name,!0),l=Ro(e,t),s=W0(e,t);return ll(e,l,a,t),G0(l,s),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function Io(e,t,r){const n={};return G0(n,W0(e,t)),e.create(t,e.Fragment,n,r)}function Bo(e,t){return t.value}function ll(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function G0(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function No(e,t,r){return n;function n(i,a,l,s){const u=Array.isArray(l.children)?r:t;return s?u(a,l,s):u(a,l)}}function Fo(e,t){return r;function r(n,i,a,l){const s=Array.isArray(a.children),o=U0(n);return t(i,a,l,s,{columnNumber:o?o.column-1:void 0,fileName:e,lineNumber:o?o.line:void 0},void 0)}}function Lo(e,t){const r={};let n,i;for(i in t.properties)if(i!=="children"&&V0.call(t.properties,i)){const a=Po(e,i,t.properties[i]);if(a){const[l,s]=a;e.tableCellAlignToStyle&&l==="align"&&typeof s=="string"&&Co.has(t.tagName)?n=s:r[l]=s}}if(n){const a=r.style||(r.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function Ro(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const a=n.data.estree.body[0];Ie(a.type==="ExpressionStatement");const l=a.expression;Ie(l.type==="ObjectExpression");const s=l.properties[0];Ie(s.type==="SpreadElement"),Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else wr(e,t.position);else{const i=n.name;let a;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const s=n.value.data.estree.body[0];Ie(s.type==="ExpressionStatement"),a=e.evaluater.evaluateExpression(s.expression)}else wr(e,t.position);else a=n.value===null?!0:n.value;r[i]=a}return r}function W0(e,t){const r=[];let n=-1;const i=e.passKeys?new Map:ko;for(;++n<t.children.length;){const a=t.children[n];let l;if(e.passKeys){const o=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(o){const u=i.get(o)||0;l=o+"-"+u,i.set(o,u+1)}}const s=al(e,a,l);s!==void 0&&r.push(s)}return r}function Po(e,t,r){const n=j0(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Wa(r):_a(r)),n.property==="style"){let i=typeof r=="object"?r:Oo(e,String(r));return e.stylePropertyNameCase==="css"&&(i=qo(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&n.space?go[n.property]||n.property:n.attribute,r]}}function Oo(e,t){try{return no(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,i=new Fe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=il+"#cannot-parse-style-attribute",i}}function sl(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,l;for(;++a<i.length;){const s=bi(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}n=l}else n=bi(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const i=n.value;return V0.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(n);wr(e)}function wr(e,t){const r=new Fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=il+"#cannot-handle-mdx-estrees-without-createevaluater",r}function qo(e){const t={};let r;for(r in e)V0.call(e,r)&&(t[Ho(r)]=e[r]);return t}function Ho(e){let t=e.replace(So,jo);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function jo(e){return"-"+e.toLowerCase()}const $o={};function _0(e,t){const r=$o,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return ol(e,n,i)}function ol(e,t,r){if(Uo(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Mi(e.children,t,r)}return Array.isArray(e)?Mi(e,t,r):""}function Mi(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=ol(e[i],t,r);return n.join("")}function Uo(e){return!!(e&&typeof e=="object")}function Ye(e,t,r,n){const i=e.length;let a=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)l=Array.from(n),l.unshift(t,r),e.splice(...l);else for(r&&e.splice(t,r);a<n.length;)l=n.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function et(e,t){return e.length>0?(Ye(e,e.length,0,t),e):t}const Ei={}.hasOwnProperty;function ul(e){const t={};let r=-1;for(;++r<e.length;)Vo(t,e[r]);return t}function Vo(e,t){let r;for(r in t){const i=(Ei.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let l;if(a)for(l in a){Ei.call(i,l)||(i[l]=[]);const s=a[l];Go(i[l],Array.isArray(s)?s:s?[s]:[])}}}function Go(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Ye(e,0,0,n)}function cl(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function at(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Oe=Nt(/[A-Za-z]/),Be=Nt(/[\dA-Za-z]/),Wo=Nt(/[#-'*+\--9=?A-Z^-~]/);function tn(e){return e!==null&&(e<32||e===127)}const m0=Nt(/\d/),_o=Nt(/[\dA-Fa-f]/),Yo=Nt(/[!-/:-@[-`{-~]/);function _(e){return e!==null&&e<-2}function he(e){return e!==null&&(e<0||e===32)}function ie(e){return e===-2||e===-1||e===32}const cn=Nt(new RegExp("\\p{P}|\\p{S}","u")),Ut=Nt(/\s/);function Nt(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function lr(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const a=e.charCodeAt(r);let l="";if(a===37&&Be(e.charCodeAt(r+1))&&Be(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(r+1);a<56320&&s>56319&&s<57344?(l=String.fromCharCode(a,s),i=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(n,r),encodeURIComponent(l)),n=r+i+1,l=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function ne(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(o){return ie(o)?(e.enter(r),s(o)):t(o)}function s(o){return ie(o)&&a++<i?(e.consume(o),s):(e.exit(r),t(o))}}const Xo={tokenize:Ko};function Ko(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ne(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const o=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=o),r=o,l(s)}function l(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return _(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),l)}}const Zo={tokenize:Qo},Di={tokenize:Jo};function Qo(e){const t=this,r=[];let n=0,i,a,l;return s;function s(I){if(n<r.length){const q=r[n];return t.containerState=q[1],e.attempt(q[0].continuation,o,u)(I)}return u(I)}function o(I){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&T();const q=t.events.length;let j=q,z;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){z=t.events[j][1].end;break}C(n);let W=q;for(;W<t.events.length;)t.events[W][1].end={...z},W++;return Ye(t.events,j+1,0,t.events.slice(q)),t.events.length=W,u(I)}return s(I)}function u(I){if(n===r.length){if(!i)return g(I);if(i.currentConstruct&&i.currentConstruct.concrete)return y(I);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Di,m,f)(I)}function m(I){return i&&T(),C(n),g(I)}function f(I){return t.parser.lazy[t.now().line]=n!==r.length,l=t.now().offset,y(I)}function g(I){return t.containerState={},e.attempt(Di,p,y)(I)}function p(I){return n++,r.push([t.currentConstruct,t.containerState]),g(I)}function y(I){if(I===null){i&&T(),C(0),e.consume(I);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),A(I)}function A(I){if(I===null){E(e.exit("chunkFlow"),!0),C(0),e.consume(I);return}return _(I)?(e.consume(I),E(e.exit("chunkFlow")),n=0,t.interrupt=void 0,s):(e.consume(I),A)}function E(I,q){const j=t.sliceStream(I);if(q&&j.push(null),I.previous=a,a&&(a.next=I),a=I,i.defineSkip(I.start),i.write(j),t.parser.lazy[I.start.line]){let z=i.events.length;for(;z--;)if(i.events[z][1].start.offset<l&&(!i.events[z][1].end||i.events[z][1].end.offset>l))return;const W=t.events.length;let Y=W,$,M;for(;Y--;)if(t.events[Y][0]==="exit"&&t.events[Y][1].type==="chunkFlow"){if($){M=t.events[Y][1].end;break}$=!0}for(C(n),z=W;z<t.events.length;)t.events[z][1].end={...M},z++;Ye(t.events,Y+1,0,t.events.slice(W)),t.events.length=z}}function C(I){let q=r.length;for(;q-- >I;){const j=r[q];t.containerState=j[1],j[0].exit.call(t,e)}r.length=I}function T(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Jo(e,t,r){return ne(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function er(e){if(e===null||he(e)||Ut(e))return 1;if(cn(e))return 2}function hn(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const f0={name:"attention",resolveAll:eu,tokenize:tu};function eu(e,t){let r=-1,n,i,a,l,s,o,u,m;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const f={...e[n][1].end},g={...e[r][1].start};Ii(f,-o),Ii(g,o),l={type:o>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:g},a={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:o>1?"strong":"emphasis",start:{...l.start},end:{...s.end}},e[n][1].end={...l.start},e[r][1].start={...s.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=et(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=et(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",a,t]]),u=et(u,hn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=et(u,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(m=2,u=et(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):m=0,Ye(e,n-1,r-n+3,u),r=n+u.length-m-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function tu(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=er(n);let a;return l;function l(o){return a=o,e.enter("attentionSequence"),s(o)}function s(o){if(o===a)return e.consume(o),s;const u=e.exit("attentionSequence"),m=er(o),f=!m||m===2&&i||r.includes(o),g=!i||i===2&&m||r.includes(n);return u._open=!!(a===42?f:f&&(i||!g)),u._close=!!(a===42?g:g&&(m||!f)),t(o)}}function Ii(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ru={name:"autolink",tokenize:nu};function nu(e,t,r){let n=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return Oe(p)?(e.consume(p),l):p===64?r(p):u(p)}function l(p){return p===43||p===45||p===46||Be(p)?(n=1,s(p)):u(p)}function s(p){return p===58?(e.consume(p),n=0,o):(p===43||p===45||p===46||Be(p))&&n++<32?(e.consume(p),s):(n=0,u(p))}function o(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||tn(p)?r(p):(e.consume(p),o)}function u(p){return p===64?(e.consume(p),m):Wo(p)?(e.consume(p),u):r(p)}function m(p){return Be(p)?f(p):r(p)}function f(p){return p===46?(e.consume(p),n=0,m):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):g(p)}function g(p){if((p===45||Be(p))&&n++<63){const y=p===45?g:f;return e.consume(p),y}return r(p)}}const Tr={partial:!0,tokenize:iu};function iu(e,t,r){return n;function n(a){return ie(a)?ne(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||_(a)?t(a):r(a)}}const hl={continuation:{tokenize:lu},exit:su,name:"blockQuote",tokenize:au};function au(e,t,r){const n=this;return i;function i(l){if(l===62){const s=n.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return r(l)}function a(l){return ie(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function lu(e,t,r){const n=this;return i;function i(l){return ie(l)?ne(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(hl,t,r)(l)}}function su(e){e.exit("blockQuote")}const ml={name:"characterEscape",tokenize:ou};function ou(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return Yo(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const fl={name:"characterReference",tokenize:uu};function uu(e,t,r){const n=this;let i=0,a,l;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),o}function o(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,l=Be,m(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=_o,m):(e.enter("characterReferenceValue"),a=7,l=m0,m(f))}function m(f){if(f===59&&i){const g=e.exit("characterReferenceValue");return l===Be&&!q0(n.sliceSerialize(g))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(f)&&i++<a?(e.consume(f),m):r(f)}}const Bi={partial:!0,tokenize:hu},Ni={concrete:!0,name:"codeFenced",tokenize:cu};function cu(e,t,r){const n=this,i={partial:!0,tokenize:j};let a=0,l=0,s;return o;function o(z){return u(z)}function u(z){const W=n.events[n.events.length-1];return a=W&&W[1].type==="linePrefix"?W[2].sliceSerialize(W[1],!0).length:0,s=z,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(z)}function m(z){return z===s?(l++,e.consume(z),m):l<3?r(z):(e.exit("codeFencedFenceSequence"),ie(z)?ne(e,f,"whitespace")(z):f(z))}function f(z){return z===null||_(z)?(e.exit("codeFencedFence"),n.interrupt?t(z):e.check(Bi,A,q)(z)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(z))}function g(z){return z===null||_(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(z)):ie(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ne(e,p,"whitespace")(z)):z===96&&z===s?r(z):(e.consume(z),g)}function p(z){return z===null||_(z)?f(z):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(z))}function y(z){return z===null||_(z)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(z)):z===96&&z===s?r(z):(e.consume(z),y)}function A(z){return e.attempt(i,q,E)(z)}function E(z){return e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),C}function C(z){return a>0&&ie(z)?ne(e,T,"linePrefix",a+1)(z):T(z)}function T(z){return z===null||_(z)?e.check(Bi,A,q)(z):(e.enter("codeFlowValue"),I(z))}function I(z){return z===null||_(z)?(e.exit("codeFlowValue"),T(z)):(e.consume(z),I)}function q(z){return e.exit("codeFenced"),t(z)}function j(z,W,Y){let $=0;return M;function M(Q){return z.enter("lineEnding"),z.consume(Q),z.exit("lineEnding"),V}function V(Q){return z.enter("codeFencedFence"),ie(Q)?ne(z,H,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):H(Q)}function H(Q){return Q===s?(z.enter("codeFencedFenceSequence"),le(Q)):Y(Q)}function le(Q){return Q===s?($++,z.consume(Q),le):$>=l?(z.exit("codeFencedFenceSequence"),ie(Q)?ne(z,ae,"whitespace")(Q):ae(Q)):Y(Q)}function ae(Q){return Q===null||_(Q)?(z.exit("codeFencedFence"),W(Q)):Y(Q)}}}function hu(e,t,r){const n=this;return i;function i(l){return l===null?r(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}const Nn={name:"codeIndented",tokenize:fu},mu={partial:!0,tokenize:pu};function fu(e,t,r){const n=this;return i;function i(u){return e.enter("codeIndented"),ne(e,a,"linePrefix",5)(u)}function a(u){const m=n.events[n.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?l(u):r(u)}function l(u){return u===null?o(u):_(u)?e.attempt(mu,l,o)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||_(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),s)}function o(u){return e.exit("codeIndented"),t(u)}}function pu(e,t,r){const n=this;return i;function i(l){return n.parser.lazy[n.now().line]?r(l):_(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):ne(e,a,"linePrefix",5)(l)}function a(l){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):_(l)?i(l):r(l)}}const du={name:"codeText",previous:vu,resolve:gu,tokenize:yu};function gu(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function vu(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function yu(e,t,r){let n=0,i,a;return l;function l(f){return e.enter("codeText"),e.enter("codeTextSequence"),s(f)}function s(f){return f===96?(e.consume(f),n++,s):(e.exit("codeTextSequence"),o(f))}function o(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),o):f===96?(a=e.enter("codeTextSequence"),i=0,m(f)):_(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),o):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||_(f)?(e.exit("codeTextData"),o(f)):(e.consume(f),u)}function m(f){return f===96?(e.consume(f),i++,m):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",u(f))}}class bu{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const i=r||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&dr(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),dr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),dr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);dr(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);dr(this.left,r.reverse())}}}function dr(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function pl(e){const t={};let r=-1,n,i,a,l,s,o,u;const m=new bu(e);for(;++r<m.length;){for(;r in t;)r=t[r];if(n=m.get(r),r&&n[1].type==="chunkFlow"&&m.get(r-1)[1].type==="listItemPrefix"&&(o=n[1]._tokenizer.events,a=0,a<o.length&&o[a][1].type==="lineEndingBlank"&&(a+=2),a<o.length&&o[a][1].type==="content"))for(;++a<o.length&&o[a][1].type!=="content";)o[a][1].type==="chunkText"&&(o[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,xu(m,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(l=m.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(m.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(n[1].end={...m.get(i)[1].start},s=m.slice(i,r),s.unshift(n),m.splice(i,r-i+1,s))}}return Ye(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!u}function xu(e,t){const r=e.get(t)[1],n=e.get(t)[2];let i=t-1;const a=[];let l=r._tokenizer;l||(l=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const s=l.events,o=[],u={};let m,f,g=-1,p=r,y=0,A=0;const E=[A];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(m=n.sliceStream(p),p.next||m.push(null),f&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(m),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=r;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(A=g+1,E.push(A),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):E.pop(),g=E.length;g--;){const C=s.slice(E[g],E[g+1]),T=a.pop();o.push([T,T+C.length-1]),e.splice(T,2,C)}for(o.reverse(),g=-1;++g<o.length;)u[y+o[g][0]]=y+o[g][1],y+=o[g][1]-o[g][0]-1;return u}const wu={resolve:Su,tokenize:Au},ku={partial:!0,tokenize:Cu};function Su(e){return pl(e),e}function Au(e,t){let r;return n;function n(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):_(s)?e.check(ku,l,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function l(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function Cu(e,t,r){const n=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ne(e,a,"linePrefix")}function a(l){if(l===null||_(l))return r(l);const s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):e.interrupt(n.parser.constructs.flow,r,t)(l)}}function dl(e,t,r,n,i,a,l,s,o){const u=o||Number.POSITIVE_INFINITY;let m=0;return f;function f(C){return C===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(C),e.exit(a),g):C===null||C===32||C===41||tn(C)?r(C):(e.enter(n),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),A(C))}function g(C){return C===62?(e.enter(a),e.consume(C),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===62?(e.exit("chunkString"),e.exit(s),g(C)):C===null||C===60||_(C)?r(C):(e.consume(C),C===92?y:p)}function y(C){return C===60||C===62||C===92?(e.consume(C),p):p(C)}function A(C){return!m&&(C===null||C===41||he(C))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(n),t(C)):m<u&&C===40?(e.consume(C),m++,A):C===41?(e.consume(C),m--,A):C===null||C===32||C===40||tn(C)?r(C):(e.consume(C),C===92?E:A)}function E(C){return C===40||C===41||C===92?(e.consume(C),A):A(C)}}function gl(e,t,r,n,i,a){const l=this;let s=0,o;return u;function u(p){return e.enter(n),e.enter(i),e.consume(p),e.exit(i),e.enter(a),m}function m(p){return s>999||p===null||p===91||p===93&&!o||p===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?r(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(n),t):_(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||_(p)||s++>999?(e.exit("chunkString"),m(p)):(e.consume(p),o||(o=!ie(p)),p===92?g:f)}function g(p){return p===91||p===92||p===93?(e.consume(p),s++,f):f(p)}}function vl(e,t,r,n,i,a){let l;return s;function s(g){return g===34||g===39||g===40?(e.enter(n),e.enter(i),e.consume(g),e.exit(i),l=g===40?41:g,o):r(g)}function o(g){return g===l?(e.enter(i),e.consume(g),e.exit(i),e.exit(n),t):(e.enter(a),u(g))}function u(g){return g===l?(e.exit(a),o(l)):g===null?r(g):_(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ne(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(g))}function m(g){return g===l||g===null||_(g)?(e.exit("chunkString"),u(g)):(e.consume(g),g===92?f:m)}function f(g){return g===l||g===92?(e.consume(g),m):m(g)}}function yr(e,t){let r;return n;function n(i){return _(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):ie(i)?ne(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const Tu={name:"definition",tokenize:Mu},zu={partial:!0,tokenize:Eu};function Mu(e,t,r){const n=this;let i;return a;function a(p){return e.enter("definition"),l(p)}function l(p){return gl.call(n,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=at(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),o):r(p)}function o(p){return he(p)?yr(e,u)(p):u(p)}function u(p){return dl(e,m,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function m(p){return e.attempt(zu,f,f)(p)}function f(p){return ie(p)?ne(e,g,"whitespace")(p):g(p)}function g(p){return p===null||_(p)?(e.exit("definition"),n.parser.defined.push(i),t(p)):r(p)}}function Eu(e,t,r){return n;function n(s){return he(s)?yr(e,i)(s):r(s)}function i(s){return vl(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return ie(s)?ne(e,l,"whitespace")(s):l(s)}function l(s){return s===null||_(s)?t(s):r(s)}}const Du={name:"hardBreakEscape",tokenize:Iu};function Iu(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return _(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const Bu={name:"headingAtx",resolve:Nu,tokenize:Fu};function Nu(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Ye(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Fu(e,t,r){let n=0;return i;function i(m){return e.enter("atxHeading"),a(m)}function a(m){return e.enter("atxHeadingSequence"),l(m)}function l(m){return m===35&&n++<6?(e.consume(m),l):m===null||he(m)?(e.exit("atxHeadingSequence"),s(m)):r(m)}function s(m){return m===35?(e.enter("atxHeadingSequence"),o(m)):m===null||_(m)?(e.exit("atxHeading"),t(m)):ie(m)?ne(e,s,"whitespace")(m):(e.enter("atxHeadingText"),u(m))}function o(m){return m===35?(e.consume(m),o):(e.exit("atxHeadingSequence"),s(m))}function u(m){return m===null||m===35||he(m)?(e.exit("atxHeadingText"),s(m)):(e.consume(m),u)}}const Lu=["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"],Fi=["pre","script","style","textarea"],Ru={concrete:!0,name:"htmlFlow",resolveTo:qu,tokenize:Hu},Pu={partial:!0,tokenize:$u},Ou={partial:!0,tokenize:ju};function qu(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Hu(e,t,r){const n=this;let i,a,l,s,o;return u;function u(k){return m(k)}function m(k){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(k),f}function f(k){return k===33?(e.consume(k),g):k===47?(e.consume(k),a=!0,A):k===63?(e.consume(k),i=3,n.interrupt?t:w):Oe(k)?(e.consume(k),l=String.fromCharCode(k),E):r(k)}function g(k){return k===45?(e.consume(k),i=2,p):k===91?(e.consume(k),i=5,s=0,y):Oe(k)?(e.consume(k),i=4,n.interrupt?t:w):r(k)}function p(k){return k===45?(e.consume(k),n.interrupt?t:w):r(k)}function y(k){const De="CDATA[";return k===De.charCodeAt(s++)?(e.consume(k),s===De.length?n.interrupt?t:H:y):r(k)}function A(k){return Oe(k)?(e.consume(k),l=String.fromCharCode(k),E):r(k)}function E(k){if(k===null||k===47||k===62||he(k)){const De=k===47,lt=l.toLowerCase();return!De&&!a&&Fi.includes(lt)?(i=1,n.interrupt?t(k):H(k)):Lu.includes(l.toLowerCase())?(i=6,De?(e.consume(k),C):n.interrupt?t(k):H(k)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(k):a?T(k):I(k))}return k===45||Be(k)?(e.consume(k),l+=String.fromCharCode(k),E):r(k)}function C(k){return k===62?(e.consume(k),n.interrupt?t:H):r(k)}function T(k){return ie(k)?(e.consume(k),T):M(k)}function I(k){return k===47?(e.consume(k),M):k===58||k===95||Oe(k)?(e.consume(k),q):ie(k)?(e.consume(k),I):M(k)}function q(k){return k===45||k===46||k===58||k===95||Be(k)?(e.consume(k),q):j(k)}function j(k){return k===61?(e.consume(k),z):ie(k)?(e.consume(k),j):I(k)}function z(k){return k===null||k===60||k===61||k===62||k===96?r(k):k===34||k===39?(e.consume(k),o=k,W):ie(k)?(e.consume(k),z):Y(k)}function W(k){return k===o?(e.consume(k),o=null,$):k===null||_(k)?r(k):(e.consume(k),W)}function Y(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||he(k)?j(k):(e.consume(k),Y)}function $(k){return k===47||k===62||ie(k)?I(k):r(k)}function M(k){return k===62?(e.consume(k),V):r(k)}function V(k){return k===null||_(k)?H(k):ie(k)?(e.consume(k),V):r(k)}function H(k){return k===45&&i===2?(e.consume(k),fe):k===60&&i===1?(e.consume(k),pe):k===62&&i===4?(e.consume(k),xe):k===63&&i===3?(e.consume(k),w):k===93&&i===5?(e.consume(k),Ve):_(k)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Pu,Le,le)(k)):k===null||_(k)?(e.exit("htmlFlowData"),le(k)):(e.consume(k),H)}function le(k){return e.check(Ou,ae,Le)(k)}function ae(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),Q}function Q(k){return k===null||_(k)?le(k):(e.enter("htmlFlowData"),H(k))}function fe(k){return k===45?(e.consume(k),w):H(k)}function pe(k){return k===47?(e.consume(k),l="",Ee):H(k)}function Ee(k){if(k===62){const De=l.toLowerCase();return Fi.includes(De)?(e.consume(k),xe):H(k)}return Oe(k)&&l.length<8?(e.consume(k),l+=String.fromCharCode(k),Ee):H(k)}function Ve(k){return k===93?(e.consume(k),w):H(k)}function w(k){return k===62?(e.consume(k),xe):k===45&&i===2?(e.consume(k),w):H(k)}function xe(k){return k===null||_(k)?(e.exit("htmlFlowData"),Le(k)):(e.consume(k),xe)}function Le(k){return e.exit("htmlFlow"),t(k)}}function ju(e,t,r){const n=this;return i;function i(l){return _(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):r(l)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}function $u(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Tr,t,r)}}const Uu={name:"htmlText",tokenize:Vu};function Vu(e,t,r){const n=this;let i,a,l;return s;function s(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),o}function o(w){return w===33?(e.consume(w),u):w===47?(e.consume(w),j):w===63?(e.consume(w),I):Oe(w)?(e.consume(w),Y):r(w)}function u(w){return w===45?(e.consume(w),m):w===91?(e.consume(w),a=0,y):Oe(w)?(e.consume(w),T):r(w)}function m(w){return w===45?(e.consume(w),p):r(w)}function f(w){return w===null?r(w):w===45?(e.consume(w),g):_(w)?(l=f,pe(w)):(e.consume(w),f)}function g(w){return w===45?(e.consume(w),p):f(w)}function p(w){return w===62?fe(w):w===45?g(w):f(w)}function y(w){const xe="CDATA[";return w===xe.charCodeAt(a++)?(e.consume(w),a===xe.length?A:y):r(w)}function A(w){return w===null?r(w):w===93?(e.consume(w),E):_(w)?(l=A,pe(w)):(e.consume(w),A)}function E(w){return w===93?(e.consume(w),C):A(w)}function C(w){return w===62?fe(w):w===93?(e.consume(w),C):A(w)}function T(w){return w===null||w===62?fe(w):_(w)?(l=T,pe(w)):(e.consume(w),T)}function I(w){return w===null?r(w):w===63?(e.consume(w),q):_(w)?(l=I,pe(w)):(e.consume(w),I)}function q(w){return w===62?fe(w):I(w)}function j(w){return Oe(w)?(e.consume(w),z):r(w)}function z(w){return w===45||Be(w)?(e.consume(w),z):W(w)}function W(w){return _(w)?(l=W,pe(w)):ie(w)?(e.consume(w),W):fe(w)}function Y(w){return w===45||Be(w)?(e.consume(w),Y):w===47||w===62||he(w)?$(w):r(w)}function $(w){return w===47?(e.consume(w),fe):w===58||w===95||Oe(w)?(e.consume(w),M):_(w)?(l=$,pe(w)):ie(w)?(e.consume(w),$):fe(w)}function M(w){return w===45||w===46||w===58||w===95||Be(w)?(e.consume(w),M):V(w)}function V(w){return w===61?(e.consume(w),H):_(w)?(l=V,pe(w)):ie(w)?(e.consume(w),V):$(w)}function H(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(e.consume(w),i=w,le):_(w)?(l=H,pe(w)):ie(w)?(e.consume(w),H):(e.consume(w),ae)}function le(w){return w===i?(e.consume(w),i=void 0,Q):w===null?r(w):_(w)?(l=le,pe(w)):(e.consume(w),le)}function ae(w){return w===null||w===34||w===39||w===60||w===61||w===96?r(w):w===47||w===62||he(w)?$(w):(e.consume(w),ae)}function Q(w){return w===47||w===62||he(w)?$(w):r(w)}function fe(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):r(w)}function pe(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),Ee}function Ee(w){return ie(w)?ne(e,Ve,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):Ve(w)}function Ve(w){return e.enter("htmlTextData"),l(w)}}const Y0={name:"labelEnd",resolveAll:Yu,resolveTo:Xu,tokenize:Ku},Gu={tokenize:Zu},Wu={tokenize:Qu},_u={tokenize:Ju};function Yu(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&Ye(e,0,e.length,r),e}function Xu(e,t){let r=e.length,n=0,i,a,l,s;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(l=r);const o={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},m={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[l-2][1].start}};return s=[["enter",o,t],["enter",u,t]],s=et(s,e.slice(a+1,a+n+3)),s=et(s,[["enter",m,t]]),s=et(s,hn(t.parser.constructs.insideSpan.null,e.slice(a+n+4,l-3),t)),s=et(s,[["exit",m,t],e[l-2],e[l-1],["exit",u,t]]),s=et(s,e.slice(l+1)),s=et(s,[["exit",o,t]]),Ye(e,a,e.length,s),e}function Ku(e,t,r){const n=this;let i=n.events.length,a,l;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return s;function s(g){return a?a._inactive?f(g):(l=n.parser.defined.includes(at(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),o):r(g)}function o(g){return g===40?e.attempt(Gu,m,l?m:f)(g):g===91?e.attempt(Wu,m,l?u:f)(g):l?m(g):f(g)}function u(g){return e.attempt(_u,m,f)(g)}function m(g){return t(g)}function f(g){return a._balanced=!0,r(g)}}function Zu(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return he(f)?yr(e,a)(f):a(f)}function a(f){return f===41?m(f):dl(e,l,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function l(f){return he(f)?yr(e,o)(f):m(f)}function s(f){return r(f)}function o(f){return f===34||f===39||f===40?vl(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):m(f)}function u(f){return he(f)?yr(e,m)(f):m(f)}function m(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function Qu(e,t,r){const n=this;return i;function i(s){return gl.call(n,e,a,l,"reference","referenceMarker","referenceString")(s)}function a(s){return n.parser.defined.includes(at(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function l(s){return r(s)}}function Ju(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const e1={name:"labelStartImage",resolveAll:Y0.resolveAll,tokenize:t1};function t1(e,t,r){const n=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),l):r(s)}function l(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const r1={name:"labelStartLink",resolveAll:Y0.resolveAll,tokenize:n1};function n1(e,t,r){const n=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}const Fn={name:"lineEnding",tokenize:i1};function i1(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,t,"linePrefix")}}const Kr={name:"thematicBreak",tokenize:a1};function a1(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,s(u)}function s(u){return u===i?(e.enter("thematicBreakSequence"),o(u)):n>=3&&(u===null||_(u))?(e.exit("thematicBreak"),t(u)):r(u)}function o(u){return u===i?(e.consume(u),n++,o):(e.exit("thematicBreakSequence"),ie(u)?ne(e,s,"whitespace")(u):s(u))}}const je={continuation:{tokenize:u1},exit:h1,name:"list",tokenize:o1},l1={partial:!0,tokenize:m1},s1={partial:!0,tokenize:c1};function o1(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return s;function s(p){const y=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:m0(p)){if(n.containerState.type||(n.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Kr,r,u)(p):u(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(p)}return r(p)}function o(p){return m0(p)&&++l<10?(e.consume(p),o):(!n.interrupt||l<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):r(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(Tr,n.interrupt?r:m,e.attempt(l1,g,f))}function m(p){return n.containerState.initialBlankLine=!0,a++,g(p)}function f(p){return ie(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),g):r(p)}function g(p){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function u1(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Tr,i,a);function i(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ne(e,t,"listItemIndent",n.containerState.size+1)(s)}function a(s){return n.containerState.furtherBlankLines||!ie(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(s1,t,l)(s))}function l(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,ne(e,e.attempt(je,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function c1(e,t,r){const n=this;return ne(e,i,"listItemIndent",n.containerState.size+1);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?t(a):r(a)}}function h1(e){e.exit(this.containerState.type)}function m1(e,t,r){const n=this;return ne(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=n.events[n.events.length-1];return!ie(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const Li={name:"setextUnderline",resolveTo:f1,tokenize:p1};function f1(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=l,e.push(["exit",l,t]),e}function p1(e,t,r){const n=this;let i;return a;function a(u){let m=n.events.length,f;for(;m--;)if(n.events[m][1].type!=="lineEnding"&&n.events[m][1].type!=="linePrefix"&&n.events[m][1].type!=="content"){f=n.events[m][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),i=u,l(u)):r(u)}function l(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),ie(u)?ne(e,o,"lineSuffix")(u):o(u))}function o(u){return u===null||_(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}const d1={tokenize:g1};function g1(e){const t=this,r=e.attempt(Tr,n,e.attempt(this.parser.constructs.flowInitial,i,ne(e,e.attempt(this.parser.constructs.flow,i,e.attempt(wu,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const v1={resolveAll:bl()},y1=yl("string"),b1=yl("text");function yl(e){return{resolveAll:bl(e==="text"?x1:void 0),tokenize:t};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,l,s);return l;function l(m){return u(m)?a(m):s(m)}function s(m){if(m===null){r.consume(m);return}return r.enter("data"),r.consume(m),o}function o(m){return u(m)?(r.exit("data"),a(m)):(r.consume(m),o)}function u(m){if(m===null)return!0;const f=i[m];let g=-1;if(f)for(;++g<f.length;){const p=f[g];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function bl(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function x1(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,l=-1,s=0,o;for(;a--;){const u=i[a];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)s++,l--;if(l)break;l=-1}else if(u===-2)o=!0,s++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(s=0),s){const u={type:r===e.length||o||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:n.start._bufferIndex+l,_index:n.start._index+a,line:n.end.line,column:n.end.column-s,offset:n.end.offset-s},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}const w1={42:je,43:je,45:je,48:je,49:je,50:je,51:je,52:je,53:je,54:je,55:je,56:je,57:je,62:hl},k1={91:Tu},S1={[-2]:Nn,[-1]:Nn,32:Nn},A1={35:Bu,42:Kr,45:[Li,Kr],60:Ru,61:Li,95:Kr,96:Ni,126:Ni},C1={38:fl,92:ml},T1={[-5]:Fn,[-4]:Fn,[-3]:Fn,33:e1,38:fl,42:f0,60:[ru,Uu],91:r1,92:[Du,ml],93:Y0,95:f0,96:du},z1={null:[f0,v1]},M1={null:[42,95]},E1={null:[]},D1=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:M1,contentInitial:k1,disable:E1,document:w1,flow:A1,flowInitial:S1,insideSpan:z1,string:C1,text:T1},Symbol.toStringTag,{value:"Module"}));function I1(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const i={},a=[];let l=[],s=[];const o={attempt:W(j),check:W(z),consume:T,enter:I,exit:q,interrupt:W(z,{interrupt:!0})},u={code:null,containerState:{},defineSkip:A,events:[],now:y,parser:e,previous:null,sliceSerialize:g,sliceStream:p,write:f};let m=t.tokenize.call(u,o);return t.resolveAll&&a.push(t),u;function f(V){return l=et(l,V),E(),l[l.length-1]!==null?[]:(Y(t,0),u.events=hn(a,u.events,u),u.events)}function g(V,H){return N1(p(V),H)}function p(V){return B1(l,V)}function y(){const{_bufferIndex:V,_index:H,line:le,column:ae,offset:Q}=n;return{_bufferIndex:V,_index:H,line:le,column:ae,offset:Q}}function A(V){i[V.line]=V.column,M()}function E(){let V;for(;n._index<l.length;){const H=l[n._index];if(typeof H=="string")for(V=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===V&&n._bufferIndex<H.length;)C(H.charCodeAt(n._bufferIndex));else C(H)}}function C(V){m=m(V)}function T(V){_(V)?(n.line++,n.column=1,n.offset+=V===-3?2:1,M()):V!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=V}function I(V,H){const le=H||{};return le.type=V,le.start=y(),u.events.push(["enter",le,u]),s.push(le),le}function q(V){const H=s.pop();return H.end=y(),u.events.push(["exit",H,u]),H}function j(V,H){Y(V,H.from)}function z(V,H){H.restore()}function W(V,H){return le;function le(ae,Q,fe){let pe,Ee,Ve,w;return Array.isArray(ae)?Le(ae):"tokenize"in ae?Le([ae]):xe(ae);function xe(Ce){return Je;function Je(nt){const Ge=nt!==null&&Ce[nt],pt=nt!==null&&Ce.null,Lt=[...Array.isArray(Ge)?Ge:Ge?[Ge]:[],...Array.isArray(pt)?pt:pt?[pt]:[]];return Le(Lt)(nt)}}function Le(Ce){return pe=Ce,Ee=0,Ce.length===0?fe:k(Ce[Ee])}function k(Ce){return Je;function Je(nt){return w=$(),Ve=Ce,Ce.partial||(u.currentConstruct=Ce),Ce.name&&u.parser.constructs.disable.null.includes(Ce.name)?lt():Ce.tokenize.call(H?Object.assign(Object.create(u),H):u,o,De,lt)(nt)}}function De(Ce){return V(Ve,w),Q}function lt(Ce){return w.restore(),++Ee<pe.length?k(pe[Ee]):fe}}}function Y(V,H){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&Ye(u.events,H,u.events.length-H,V.resolve(u.events.slice(H),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function $(){const V=y(),H=u.previous,le=u.currentConstruct,ae=u.events.length,Q=Array.from(s);return{from:ae,restore:fe};function fe(){n=V,u.previous=H,u.currentConstruct=le,u.events.length=ae,s=Q,M()}}function M(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function B1(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let l;if(r===i)l=[e[r].slice(n,a)];else{if(l=e.slice(r,i),n>-1){const s=l[0];typeof s=="string"?l[0]=s.slice(n):l.shift()}a>0&&l.push(e[i].slice(0,a))}return l}function N1(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
|
|
1
|
+
import{o as Ie,n as bi,s as Wa,a as _a,b as no,d as q0,t as io,c as Jr,e as ao,f as Mn,g as xi,i as o0,u as lo,j as En,p as wi,k as ki,w as Dn,l as so,m as en,q as Ya,r as oo,v as Qt,z as uo,x as co}from"./vendor-CIkm_8TG.js";import{j as In}from"./vendor-react-DQUAl2K8.js";const ho=/[ \t\n\f\r]/g;function un(e){return typeof e=="object"?e.type==="text"?Si(e.value):!1:Si(e)}function Si(e){return e.replace(ho,"")===""}class Cr{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}Cr.prototype.normal={};Cr.prototype.property={};Cr.prototype.space=void 0;function Xa(e,t){const r={},n={};for(const i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Cr(r,n,t)}function xr(e){return e.toLowerCase()}class Ue{constructor(t,r){this.attribute=r,this.property=t}}Ue.prototype.attribute="";Ue.prototype.booleanish=!1;Ue.prototype.boolean=!1;Ue.prototype.commaOrSpaceSeparated=!1;Ue.prototype.commaSeparated=!1;Ue.prototype.defined=!1;Ue.prototype.mustUseProperty=!1;Ue.prototype.number=!1;Ue.prototype.overloadedBoolean=!1;Ue.prototype.property="";Ue.prototype.spaceSeparated=!1;Ue.prototype.space=void 0;let mo=0;const J=Vt(),we=Vt(),u0=Vt(),F=Vt(),ce=Vt(),$t=Vt(),_e=Vt();function Vt(){return 2**++mo}const c0=Object.freeze(Object.defineProperty({__proto__:null,boolean:J,booleanish:we,commaOrSpaceSeparated:_e,commaSeparated:$t,number:F,overloadedBoolean:u0,spaceSeparated:ce},Symbol.toStringTag,{value:"Module"})),Bn=Object.keys(c0);class H0 extends Ue{constructor(t,r,n,i){let a=-1;if(super(t,r),Ai(this,"space",i),typeof n=="number")for(;++a<Bn.length;){const l=Bn[a];Ai(this,Bn[a],(n&c0[l])===c0[l])}}}H0.prototype.defined=!0;function Ai(e,t,r){r&&(e[t]=r)}function ir(e){const t={},r={};for(const[n,i]of Object.entries(e.properties)){const a=new H0(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[xr(n)]=n,r[xr(a.attribute)]=n}return new Cr(t,r,e.space)}const Ka=ir({properties:{ariaActiveDescendant:null,ariaAtomic:we,ariaAutoComplete:null,ariaBusy:we,ariaChecked:we,ariaColCount:F,ariaColIndex:F,ariaColSpan:F,ariaControls:ce,ariaCurrent:null,ariaDescribedBy:ce,ariaDetails:null,ariaDisabled:we,ariaDropEffect:ce,ariaErrorMessage:null,ariaExpanded:we,ariaFlowTo:ce,ariaGrabbed:we,ariaHasPopup:null,ariaHidden:we,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ce,ariaLevel:F,ariaLive:null,ariaModal:we,ariaMultiLine:we,ariaMultiSelectable:we,ariaOrientation:null,ariaOwns:ce,ariaPlaceholder:null,ariaPosInSet:F,ariaPressed:we,ariaReadOnly:we,ariaRelevant:null,ariaRequired:we,ariaRoleDescription:ce,ariaRowCount:F,ariaRowIndex:F,ariaRowSpan:F,ariaSelected:we,ariaSetSize:F,ariaSort:null,ariaValueMax:F,ariaValueMin:F,ariaValueNow:F,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Za(e,t){return t in e?e[t]:t}function Qa(e,t){return Za(e,t.toLowerCase())}const fo=ir({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:$t,acceptCharset:ce,accessKey:ce,action:null,allow:null,allowFullScreen:J,allowPaymentRequest:J,allowUserMedia:J,alpha:J,alt:null,as:null,async:J,autoCapitalize:null,autoComplete:ce,autoFocus:J,autoPlay:J,blocking:ce,capture:null,charSet:null,checked:J,cite:null,className:ce,closedBy:null,colorSpace:null,cols:F,colSpan:F,command:null,commandFor:null,content:null,contentEditable:we,controls:J,controlsList:ce,coords:F|$t,crossOrigin:null,data:null,dateTime:null,decoding:null,default:J,defer:J,dir:null,dirName:null,disabled:J,download:u0,draggable:we,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:J,formTarget:null,headers:ce,height:F,hidden:u0,high:F,href:null,hrefLang:null,htmlFor:ce,httpEquiv:ce,id:null,imageSizes:null,imageSrcSet:null,inert:J,inputMode:null,integrity:null,is:null,isMap:J,itemId:null,itemProp:ce,itemRef:ce,itemScope:J,itemType:ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:J,low:F,manifest:null,max:null,maxLength:F,media:null,method:null,min:null,minLength:F,multiple:J,muted:J,name:null,nonce:null,noModule:J,noValidate:J,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:J,optimum:F,pattern:null,ping:ce,placeholder:null,playsInline:J,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:J,referrerPolicy:null,rel:ce,required:J,reversed:J,rows:F,rowSpan:F,sandbox:ce,scope:null,scoped:J,seamless:J,selected:J,shadowRootClonable:J,shadowRootCustomElementRegistry:J,shadowRootDelegatesFocus:J,shadowRootMode:null,shadowRootSerializable:J,shape:null,size:F,sizes:null,slot:null,span:F,spellCheck:we,src:null,srcDoc:null,srcLang:null,srcSet:null,start:F,step:null,style:null,tabIndex:F,target:null,title:null,translate:null,type:null,typeMustMatch:J,useMap:null,value:we,width:F,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ce,axis:null,background:null,bgColor:null,border:F,borderColor:null,bottomMargin:F,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:J,declare:J,event:null,face:null,frame:null,frameBorder:null,hSpace:F,leftMargin:F,link:null,longDesc:null,lowSrc:null,marginHeight:F,marginWidth:F,noResize:J,noHref:J,noShade:J,noWrap:J,object:null,profile:null,prompt:null,rev:null,rightMargin:F,rules:null,scheme:null,scrolling:we,standby:null,summary:null,text:null,topMargin:F,valueType:null,version:null,vAlign:null,vLink:null,vSpace:F,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:J,disablePictureInPicture:J,disableRemotePlayback:J,exportParts:$t,part:ce,prefix:null,property:null,results:F,security:null,unselectable:null},space:"html",transform:Qa}),po=ir({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:_e,accentHeight:F,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:F,amplitude:F,arabicForm:null,ascent:F,attributeName:null,attributeType:null,azimuth:F,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:F,by:null,calcMode:null,capHeight:F,className:ce,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:F,diffuseConstant:F,direction:null,display:null,dur:null,divisor:F,dominantBaseline:null,download:J,dx:null,dy:null,edgeMode:null,editable:null,elevation:F,enableBackground:null,end:null,event:null,exponent:F,externalResourcesRequired:null,fill:null,fillOpacity:F,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:$t,g2:$t,glyphName:$t,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:F,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:F,horizOriginX:F,horizOriginY:F,id:null,ideographic:F,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:F,k:F,k1:F,k2:F,k3:F,k4:F,kernelMatrix:_e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:F,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:F,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:F,overlineThickness:F,paintOrder:null,panose1:null,path:null,pathLength:F,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:F,pointsAtY:F,pointsAtZ:F,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:_e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:_e,rev:_e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:_e,requiredFeatures:_e,requiredFonts:_e,requiredFormats:_e,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:F,specularExponent:F,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:F,strikethroughThickness:F,string:null,stroke:null,strokeDashArray:_e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:F,strokeOpacity:F,strokeWidth:null,style:null,surfaceScale:F,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:_e,tabIndex:F,tableValues:null,target:null,targetX:F,targetY:F,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:_e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:F,underlineThickness:F,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:F,values:null,vAlphabetic:F,vMathematical:F,vectorEffect:null,vHanging:F,vIdeographic:F,version:null,vertAdvY:F,vertOriginX:F,vertOriginY:F,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:F,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Za}),Ja=ir({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),el=ir({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Qa}),tl=ir({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),go={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"},vo=/[A-Z]/g,Ci=/-[a-z]/g,yo=/^data[-\w.:]+$/i;function j0(e,t){const r=xr(t);let n=t,i=Ue;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&yo.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(Ci,xo);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!Ci.test(a)){let l=a.replace(vo,bo);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=H0}return new i(n,t)}function bo(e){return"-"+e.toLowerCase()}function xo(e){return e.charAt(1).toUpperCase()}const $0=Xa([Ka,fo,Ja,el,tl],"html"),ar=Xa([Ka,po,Ja,el,tl],"svg"),rl=nl("end"),U0=nl("start");function nl(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function wo(e){const t=U0(e),r=rl(e);if(t&&r)return{start:t,end:r}}function vr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ti(e.position):"start"in e||"end"in e?Ti(e):"line"in e||"column"in e?h0(e):""}function h0(e){return zi(e&&e.line)+":"+zi(e&&e.column)}function Ti(e){return h0(e&&e.start)+"-"+h0(e&&e.end)}function zi(e){return e&&typeof e=="number"?e:1}class Fe extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},l=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(l=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){const o=n.indexOf(":");o===-1?a.ruleId=n:(a.source=n.slice(0,o),a.ruleId=n.slice(o+1))}if(!a.place&&a.ancestors&&a.ancestors){const o=a.ancestors[a.ancestors.length-1];o&&(a.place=o.position)}const s=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=vr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Fe.prototype.file="";Fe.prototype.name="";Fe.prototype.reason="";Fe.prototype.message="";Fe.prototype.stack="";Fe.prototype.column=void 0;Fe.prototype.line=void 0;Fe.prototype.ancestors=void 0;Fe.prototype.cause=void 0;Fe.prototype.fatal=void 0;Fe.prototype.place=void 0;Fe.prototype.ruleId=void 0;Fe.prototype.source=void 0;const V0={}.hasOwnProperty,ko=new Map,So=/[A-Z]/g,Ao=new Set(["table","tbody","thead","tfoot","tr"]),Co=new Set(["td","th"]),il="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function To(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=Fo(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=No(r,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ar:$0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=al(i,e,void 0);return a&&typeof a!="string"?a:i.create(e,i.Fragment,{children:a||void 0},void 0)}function al(e,t,r){if(t.type==="element")return zo(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Mo(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Do(e,t,r);if(t.type==="mdxjsEsm")return Eo(e,t);if(t.type==="root")return Io(e,t,r);if(t.type==="text")return Bo(e,t)}function zo(e,t,r){const n=e.schema;let i=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=ar,e.schema=i),e.ancestors.push(t);const a=sl(e,t.tagName,!1),l=Lo(e,t);let s=W0(e,t);return Ao.has(t.tagName)&&(s=s.filter(function(o){return typeof o=="string"?!un(o):!0})),ll(e,l,a,t),G0(l,s),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function Mo(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return Ie(n.type==="ExpressionStatement"),e.evaluater.evaluateExpression(n.expression)}wr(e,t.position)}function Eo(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);wr(e,t.position)}function Do(e,t,r){const n=e.schema;let i=n;t.name==="svg"&&n.space==="html"&&(i=ar,e.schema=i),e.ancestors.push(t);const a=t.name===null?e.Fragment:sl(e,t.name,!0),l=Ro(e,t),s=W0(e,t);return ll(e,l,a,t),G0(l,s),e.ancestors.pop(),e.schema=n,e.create(t,a,l,r)}function Io(e,t,r){const n={};return G0(n,W0(e,t)),e.create(t,e.Fragment,n,r)}function Bo(e,t){return t.value}function ll(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function G0(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function No(e,t,r){return n;function n(i,a,l,s){const u=Array.isArray(l.children)?r:t;return s?u(a,l,s):u(a,l)}}function Fo(e,t){return r;function r(n,i,a,l){const s=Array.isArray(a.children),o=U0(n);return t(i,a,l,s,{columnNumber:o?o.column-1:void 0,fileName:e,lineNumber:o?o.line:void 0},void 0)}}function Lo(e,t){const r={};let n,i;for(i in t.properties)if(i!=="children"&&V0.call(t.properties,i)){const a=Po(e,i,t.properties[i]);if(a){const[l,s]=a;e.tableCellAlignToStyle&&l==="align"&&typeof s=="string"&&Co.has(t.tagName)?n=s:r[l]=s}}if(n){const a=r.style||(r.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function Ro(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const a=n.data.estree.body[0];Ie(a.type==="ExpressionStatement");const l=a.expression;Ie(l.type==="ObjectExpression");const s=l.properties[0];Ie(s.type==="SpreadElement"),Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else wr(e,t.position);else{const i=n.name;let a;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const s=n.value.data.estree.body[0];Ie(s.type==="ExpressionStatement"),a=e.evaluater.evaluateExpression(s.expression)}else wr(e,t.position);else a=n.value===null?!0:n.value;r[i]=a}return r}function W0(e,t){const r=[];let n=-1;const i=e.passKeys?new Map:ko;for(;++n<t.children.length;){const a=t.children[n];let l;if(e.passKeys){const o=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(o){const u=i.get(o)||0;l=o+"-"+u,i.set(o,u+1)}}const s=al(e,a,l);s!==void 0&&r.push(s)}return r}function Po(e,t,r){const n=j0(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Wa(r):_a(r)),n.property==="style"){let i=typeof r=="object"?r:Oo(e,String(r));return e.stylePropertyNameCase==="css"&&(i=qo(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&n.space?go[n.property]||n.property:n.attribute,r]}}function Oo(e,t){try{return no(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,i=new Fe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=il+"#cannot-parse-style-attribute",i}}function sl(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let a=-1,l;for(;++a<i.length;){const s=bi(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:s,computed:!!(a&&s.type==="Literal"),optional:!1}:s}n=l}else n=bi(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const i=n.value;return V0.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(n);wr(e)}function wr(e,t){const r=new Fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=il+"#cannot-handle-mdx-estrees-without-createevaluater",r}function qo(e){const t={};let r;for(r in e)V0.call(e,r)&&(t[Ho(r)]=e[r]);return t}function Ho(e){let t=e.replace(So,jo);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function jo(e){return"-"+e.toLowerCase()}const $o={};function _0(e,t){const r=$o,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return ol(e,n,i)}function ol(e,t,r){if(Uo(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Mi(e.children,t,r)}return Array.isArray(e)?Mi(e,t,r):""}function Mi(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=ol(e[i],t,r);return n.join("")}function Uo(e){return!!(e&&typeof e=="object")}function Ye(e,t,r,n){const i=e.length;let a=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)l=Array.from(n),l.unshift(t,r),e.splice(...l);else for(r&&e.splice(t,r);a<n.length;)l=n.slice(a,a+1e4),l.unshift(t,0),e.splice(...l),a+=1e4,t+=1e4}function et(e,t){return e.length>0?(Ye(e,e.length,0,t),e):t}const Ei={}.hasOwnProperty;function ul(e){const t={};let r=-1;for(;++r<e.length;)Vo(t,e[r]);return t}function Vo(e,t){let r;for(r in t){const i=(Ei.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let l;if(a)for(l in a){Ei.call(i,l)||(i[l]=[]);const s=a[l];Go(i[l],Array.isArray(s)?s:s?[s]:[])}}}function Go(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Ye(e,0,0,n)}function cl(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function at(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Oe=Nt(/[A-Za-z]/),Be=Nt(/[\dA-Za-z]/),Wo=Nt(/[#-'*+\--9=?A-Z^-~]/);function tn(e){return e!==null&&(e<32||e===127)}const m0=Nt(/\d/),_o=Nt(/[\dA-Fa-f]/),Yo=Nt(/[!-/:-@[-`{-~]/);function _(e){return e!==null&&e<-2}function he(e){return e!==null&&(e<0||e===32)}function ie(e){return e===-2||e===-1||e===32}const cn=Nt(new RegExp("\\p{P}|\\p{S}","u")),Ut=Nt(/\s/);function Nt(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function lr(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const a=e.charCodeAt(r);let l="";if(a===37&&Be(e.charCodeAt(r+1))&&Be(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const s=e.charCodeAt(r+1);a<56320&&s>56319&&s<57344?(l=String.fromCharCode(a,s),i=1):l="�"}else l=String.fromCharCode(a);l&&(t.push(e.slice(n,r),encodeURIComponent(l)),n=r+i+1,l=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function ne(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(o){return ie(o)?(e.enter(r),s(o)):t(o)}function s(o){return ie(o)&&a++<i?(e.consume(o),s):(e.exit(r),t(o))}}const Xo={tokenize:Ko};function Ko(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ne(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),a(s)}function a(s){const o=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=o),r=o,l(s)}function l(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return _(s)?(e.consume(s),e.exit("chunkText"),a):(e.consume(s),l)}}const Zo={tokenize:Qo},Di={tokenize:Jo};function Qo(e){const t=this,r=[];let n=0,i,a,l;return s;function s(I){if(n<r.length){const q=r[n];return t.containerState=q[1],e.attempt(q[0].continuation,o,u)(I)}return u(I)}function o(I){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&T();const q=t.events.length;let j=q,z;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){z=t.events[j][1].end;break}C(n);let W=q;for(;W<t.events.length;)t.events[W][1].end={...z},W++;return Ye(t.events,j+1,0,t.events.slice(q)),t.events.length=W,u(I)}return s(I)}function u(I){if(n===r.length){if(!i)return g(I);if(i.currentConstruct&&i.currentConstruct.concrete)return y(I);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Di,m,f)(I)}function m(I){return i&&T(),C(n),g(I)}function f(I){return t.parser.lazy[t.now().line]=n!==r.length,l=t.now().offset,y(I)}function g(I){return t.containerState={},e.attempt(Di,p,y)(I)}function p(I){return n++,r.push([t.currentConstruct,t.containerState]),g(I)}function y(I){if(I===null){i&&T(),C(0),e.consume(I);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),A(I)}function A(I){if(I===null){E(e.exit("chunkFlow"),!0),C(0),e.consume(I);return}return _(I)?(e.consume(I),E(e.exit("chunkFlow")),n=0,t.interrupt=void 0,s):(e.consume(I),A)}function E(I,q){const j=t.sliceStream(I);if(q&&j.push(null),I.previous=a,a&&(a.next=I),a=I,i.defineSkip(I.start),i.write(j),t.parser.lazy[I.start.line]){let z=i.events.length;for(;z--;)if(i.events[z][1].start.offset<l&&(!i.events[z][1].end||i.events[z][1].end.offset>l))return;const W=t.events.length;let Y=W,$,M;for(;Y--;)if(t.events[Y][0]==="exit"&&t.events[Y][1].type==="chunkFlow"){if($){M=t.events[Y][1].end;break}$=!0}for(C(n),z=W;z<t.events.length;)t.events[z][1].end={...M},z++;Ye(t.events,Y+1,0,t.events.slice(W)),t.events.length=z}}function C(I){let q=r.length;for(;q-- >I;){const j=r[q];t.containerState=j[1],j[0].exit.call(t,e)}r.length=I}function T(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Jo(e,t,r){return ne(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function er(e){if(e===null||he(e)||Ut(e))return 1;if(cn(e))return 2}function hn(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const f0={name:"attention",resolveAll:eu,tokenize:tu};function eu(e,t){let r=-1,n,i,a,l,s,o,u,m;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const f={...e[n][1].end},g={...e[r][1].start};Ii(f,-o),Ii(g,o),l={type:o>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},s={type:o>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:g},a={type:o>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:o>1?"strong":"emphasis",start:{...l.start},end:{...s.end}},e[n][1].end={...l.start},e[r][1].start={...s.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=et(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=et(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",a,t]]),u=et(u,hn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),u=et(u,[["exit",a,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(m=2,u=et(u,[["enter",e[r][1],t],["exit",e[r][1],t]])):m=0,Ye(e,n-1,r-n+3,u),r=n+u.length-m-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function tu(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=er(n);let a;return l;function l(o){return a=o,e.enter("attentionSequence"),s(o)}function s(o){if(o===a)return e.consume(o),s;const u=e.exit("attentionSequence"),m=er(o),f=!m||m===2&&i||r.includes(o),g=!i||i===2&&m||r.includes(n);return u._open=!!(a===42?f:f&&(i||!g)),u._close=!!(a===42?g:g&&(m||!f)),t(o)}}function Ii(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const ru={name:"autolink",tokenize:nu};function nu(e,t,r){let n=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return Oe(p)?(e.consume(p),l):p===64?r(p):u(p)}function l(p){return p===43||p===45||p===46||Be(p)?(n=1,s(p)):u(p)}function s(p){return p===58?(e.consume(p),n=0,o):(p===43||p===45||p===46||Be(p))&&n++<32?(e.consume(p),s):(n=0,u(p))}function o(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||tn(p)?r(p):(e.consume(p),o)}function u(p){return p===64?(e.consume(p),m):Wo(p)?(e.consume(p),u):r(p)}function m(p){return Be(p)?f(p):r(p)}function f(p){return p===46?(e.consume(p),n=0,m):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):g(p)}function g(p){if((p===45||Be(p))&&n++<63){const y=p===45?g:f;return e.consume(p),y}return r(p)}}const Tr={partial:!0,tokenize:iu};function iu(e,t,r){return n;function n(a){return ie(a)?ne(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||_(a)?t(a):r(a)}}const hl={continuation:{tokenize:lu},exit:su,name:"blockQuote",tokenize:au};function au(e,t,r){const n=this;return i;function i(l){if(l===62){const s=n.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),a}return r(l)}function a(l){return ie(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function lu(e,t,r){const n=this;return i;function i(l){return ie(l)?ne(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return e.attempt(hl,t,r)(l)}}function su(e){e.exit("blockQuote")}const ml={name:"characterEscape",tokenize:ou};function ou(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return Yo(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const fl={name:"characterReference",tokenize:uu};function uu(e,t,r){const n=this;let i=0,a,l;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),o}function o(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),a=31,l=Be,m(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,l=_o,m):(e.enter("characterReferenceValue"),a=7,l=m0,m(f))}function m(f){if(f===59&&i){const g=e.exit("characterReferenceValue");return l===Be&&!q0(n.sliceSerialize(g))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(f)&&i++<a?(e.consume(f),m):r(f)}}const Bi={partial:!0,tokenize:hu},Ni={concrete:!0,name:"codeFenced",tokenize:cu};function cu(e,t,r){const n=this,i={partial:!0,tokenize:j};let a=0,l=0,s;return o;function o(z){return u(z)}function u(z){const W=n.events[n.events.length-1];return a=W&&W[1].type==="linePrefix"?W[2].sliceSerialize(W[1],!0).length:0,s=z,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(z)}function m(z){return z===s?(l++,e.consume(z),m):l<3?r(z):(e.exit("codeFencedFenceSequence"),ie(z)?ne(e,f,"whitespace")(z):f(z))}function f(z){return z===null||_(z)?(e.exit("codeFencedFence"),n.interrupt?t(z):e.check(Bi,A,q)(z)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(z))}function g(z){return z===null||_(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(z)):ie(z)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ne(e,p,"whitespace")(z)):z===96&&z===s?r(z):(e.consume(z),g)}function p(z){return z===null||_(z)?f(z):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(z))}function y(z){return z===null||_(z)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(z)):z===96&&z===s?r(z):(e.consume(z),y)}function A(z){return e.attempt(i,q,E)(z)}function E(z){return e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),C}function C(z){return a>0&&ie(z)?ne(e,T,"linePrefix",a+1)(z):T(z)}function T(z){return z===null||_(z)?e.check(Bi,A,q)(z):(e.enter("codeFlowValue"),I(z))}function I(z){return z===null||_(z)?(e.exit("codeFlowValue"),T(z)):(e.consume(z),I)}function q(z){return e.exit("codeFenced"),t(z)}function j(z,W,Y){let $=0;return M;function M(Q){return z.enter("lineEnding"),z.consume(Q),z.exit("lineEnding"),V}function V(Q){return z.enter("codeFencedFence"),ie(Q)?ne(z,H,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):H(Q)}function H(Q){return Q===s?(z.enter("codeFencedFenceSequence"),le(Q)):Y(Q)}function le(Q){return Q===s?($++,z.consume(Q),le):$>=l?(z.exit("codeFencedFenceSequence"),ie(Q)?ne(z,ae,"whitespace")(Q):ae(Q)):Y(Q)}function ae(Q){return Q===null||_(Q)?(z.exit("codeFencedFence"),W(Q)):Y(Q)}}}function hu(e,t,r){const n=this;return i;function i(l){return l===null?r(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}const Nn={name:"codeIndented",tokenize:fu},mu={partial:!0,tokenize:pu};function fu(e,t,r){const n=this;return i;function i(u){return e.enter("codeIndented"),ne(e,a,"linePrefix",5)(u)}function a(u){const m=n.events[n.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?l(u):r(u)}function l(u){return u===null?o(u):_(u)?e.attempt(mu,l,o)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||_(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),s)}function o(u){return e.exit("codeIndented"),t(u)}}function pu(e,t,r){const n=this;return i;function i(l){return n.parser.lazy[n.now().line]?r(l):_(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):ne(e,a,"linePrefix",5)(l)}function a(l){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):_(l)?i(l):r(l)}}const du={name:"codeText",previous:vu,resolve:gu,tokenize:yu};function gu(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function vu(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function yu(e,t,r){let n=0,i,a;return l;function l(f){return e.enter("codeText"),e.enter("codeTextSequence"),s(f)}function s(f){return f===96?(e.consume(f),n++,s):(e.exit("codeTextSequence"),o(f))}function o(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),o):f===96?(a=e.enter("codeTextSequence"),i=0,m(f)):_(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),o):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||_(f)?(e.exit("codeTextData"),o(f)):(e.consume(f),u)}function m(f){return f===96?(e.consume(f),i++,m):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",u(f))}}class bu{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const i=r||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&dr(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),dr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),dr(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);dr(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);dr(this.left,r.reverse())}}}function dr(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function pl(e){const t={};let r=-1,n,i,a,l,s,o,u;const m=new bu(e);for(;++r<m.length;){for(;r in t;)r=t[r];if(n=m.get(r),r&&n[1].type==="chunkFlow"&&m.get(r-1)[1].type==="listItemPrefix"&&(o=n[1]._tokenizer.events,a=0,a<o.length&&o[a][1].type==="lineEndingBlank"&&(a+=2),a<o.length&&o[a][1].type==="content"))for(;++a<o.length&&o[a][1].type!=="content";)o[a][1].type==="chunkText"&&(o[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,xu(m,r)),r=t[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(l=m.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(m.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(n[1].end={...m.get(i)[1].start},s=m.slice(i,r),s.unshift(n),m.splice(i,r-i+1,s))}}return Ye(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!u}function xu(e,t){const r=e.get(t)[1],n=e.get(t)[2];let i=t-1;const a=[];let l=r._tokenizer;l||(l=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const s=l.events,o=[],u={};let m,f,g=-1,p=r,y=0,A=0;const E=[A];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(m=n.sliceStream(p),p.next||m.push(null),f&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(m),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=r;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(A=g+1,E.push(A),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):E.pop(),g=E.length;g--;){const C=s.slice(E[g],E[g+1]),T=a.pop();o.push([T,T+C.length-1]),e.splice(T,2,C)}for(o.reverse(),g=-1;++g<o.length;)u[y+o[g][0]]=y+o[g][1],y+=o[g][1]-o[g][0]-1;return u}const wu={resolve:Su,tokenize:Au},ku={partial:!0,tokenize:Cu};function Su(e){return pl(e),e}function Au(e,t){let r;return n;function n(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?a(s):_(s)?e.check(ku,l,a)(s):(e.consume(s),i)}function a(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function l(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function Cu(e,t,r){const n=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),ne(e,a,"linePrefix")}function a(l){if(l===null||_(l))return r(l);const s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):e.interrupt(n.parser.constructs.flow,r,t)(l)}}function dl(e,t,r,n,i,a,l,s,o){const u=o||Number.POSITIVE_INFINITY;let m=0;return f;function f(C){return C===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(C),e.exit(a),g):C===null||C===32||C===41||tn(C)?r(C):(e.enter(n),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),A(C))}function g(C){return C===62?(e.enter(a),e.consume(C),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(C))}function p(C){return C===62?(e.exit("chunkString"),e.exit(s),g(C)):C===null||C===60||_(C)?r(C):(e.consume(C),C===92?y:p)}function y(C){return C===60||C===62||C===92?(e.consume(C),p):p(C)}function A(C){return!m&&(C===null||C===41||he(C))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(n),t(C)):m<u&&C===40?(e.consume(C),m++,A):C===41?(e.consume(C),m--,A):C===null||C===32||C===40||tn(C)?r(C):(e.consume(C),C===92?E:A)}function E(C){return C===40||C===41||C===92?(e.consume(C),A):A(C)}}function gl(e,t,r,n,i,a){const l=this;let s=0,o;return u;function u(p){return e.enter(n),e.enter(i),e.consume(p),e.exit(i),e.enter(a),m}function m(p){return s>999||p===null||p===91||p===93&&!o||p===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?r(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(n),t):_(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||_(p)||s++>999?(e.exit("chunkString"),m(p)):(e.consume(p),o||(o=!ie(p)),p===92?g:f)}function g(p){return p===91||p===92||p===93?(e.consume(p),s++,f):f(p)}}function vl(e,t,r,n,i,a){let l;return s;function s(g){return g===34||g===39||g===40?(e.enter(n),e.enter(i),e.consume(g),e.exit(i),l=g===40?41:g,o):r(g)}function o(g){return g===l?(e.enter(i),e.consume(g),e.exit(i),e.exit(n),t):(e.enter(a),u(g))}function u(g){return g===l?(e.exit(a),o(l)):g===null?r(g):_(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ne(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(g))}function m(g){return g===l||g===null||_(g)?(e.exit("chunkString"),u(g)):(e.consume(g),g===92?f:m)}function f(g){return g===l||g===92?(e.consume(g),m):m(g)}}function yr(e,t){let r;return n;function n(i){return _(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):ie(i)?ne(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const Tu={name:"definition",tokenize:Mu},zu={partial:!0,tokenize:Eu};function Mu(e,t,r){const n=this;let i;return a;function a(p){return e.enter("definition"),l(p)}function l(p){return gl.call(n,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=at(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),o):r(p)}function o(p){return he(p)?yr(e,u)(p):u(p)}function u(p){return dl(e,m,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function m(p){return e.attempt(zu,f,f)(p)}function f(p){return ie(p)?ne(e,g,"whitespace")(p):g(p)}function g(p){return p===null||_(p)?(e.exit("definition"),n.parser.defined.push(i),t(p)):r(p)}}function Eu(e,t,r){return n;function n(s){return he(s)?yr(e,i)(s):r(s)}function i(s){return vl(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function a(s){return ie(s)?ne(e,l,"whitespace")(s):l(s)}function l(s){return s===null||_(s)?t(s):r(s)}}const Du={name:"hardBreakEscape",tokenize:Iu};function Iu(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return _(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const Bu={name:"headingAtx",resolve:Nu,tokenize:Fu};function Nu(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Ye(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Fu(e,t,r){let n=0;return i;function i(m){return e.enter("atxHeading"),a(m)}function a(m){return e.enter("atxHeadingSequence"),l(m)}function l(m){return m===35&&n++<6?(e.consume(m),l):m===null||he(m)?(e.exit("atxHeadingSequence"),s(m)):r(m)}function s(m){return m===35?(e.enter("atxHeadingSequence"),o(m)):m===null||_(m)?(e.exit("atxHeading"),t(m)):ie(m)?ne(e,s,"whitespace")(m):(e.enter("atxHeadingText"),u(m))}function o(m){return m===35?(e.consume(m),o):(e.exit("atxHeadingSequence"),s(m))}function u(m){return m===null||m===35||he(m)?(e.exit("atxHeadingText"),s(m)):(e.consume(m),u)}}const Lu=["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"],Fi=["pre","script","style","textarea"],Ru={concrete:!0,name:"htmlFlow",resolveTo:qu,tokenize:Hu},Pu={partial:!0,tokenize:$u},Ou={partial:!0,tokenize:ju};function qu(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Hu(e,t,r){const n=this;let i,a,l,s,o;return u;function u(k){return m(k)}function m(k){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(k),f}function f(k){return k===33?(e.consume(k),g):k===47?(e.consume(k),a=!0,A):k===63?(e.consume(k),i=3,n.interrupt?t:w):Oe(k)?(e.consume(k),l=String.fromCharCode(k),E):r(k)}function g(k){return k===45?(e.consume(k),i=2,p):k===91?(e.consume(k),i=5,s=0,y):Oe(k)?(e.consume(k),i=4,n.interrupt?t:w):r(k)}function p(k){return k===45?(e.consume(k),n.interrupt?t:w):r(k)}function y(k){const De="CDATA[";return k===De.charCodeAt(s++)?(e.consume(k),s===De.length?n.interrupt?t:H:y):r(k)}function A(k){return Oe(k)?(e.consume(k),l=String.fromCharCode(k),E):r(k)}function E(k){if(k===null||k===47||k===62||he(k)){const De=k===47,lt=l.toLowerCase();return!De&&!a&&Fi.includes(lt)?(i=1,n.interrupt?t(k):H(k)):Lu.includes(l.toLowerCase())?(i=6,De?(e.consume(k),C):n.interrupt?t(k):H(k)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(k):a?T(k):I(k))}return k===45||Be(k)?(e.consume(k),l+=String.fromCharCode(k),E):r(k)}function C(k){return k===62?(e.consume(k),n.interrupt?t:H):r(k)}function T(k){return ie(k)?(e.consume(k),T):M(k)}function I(k){return k===47?(e.consume(k),M):k===58||k===95||Oe(k)?(e.consume(k),q):ie(k)?(e.consume(k),I):M(k)}function q(k){return k===45||k===46||k===58||k===95||Be(k)?(e.consume(k),q):j(k)}function j(k){return k===61?(e.consume(k),z):ie(k)?(e.consume(k),j):I(k)}function z(k){return k===null||k===60||k===61||k===62||k===96?r(k):k===34||k===39?(e.consume(k),o=k,W):ie(k)?(e.consume(k),z):Y(k)}function W(k){return k===o?(e.consume(k),o=null,$):k===null||_(k)?r(k):(e.consume(k),W)}function Y(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||he(k)?j(k):(e.consume(k),Y)}function $(k){return k===47||k===62||ie(k)?I(k):r(k)}function M(k){return k===62?(e.consume(k),V):r(k)}function V(k){return k===null||_(k)?H(k):ie(k)?(e.consume(k),V):r(k)}function H(k){return k===45&&i===2?(e.consume(k),fe):k===60&&i===1?(e.consume(k),pe):k===62&&i===4?(e.consume(k),xe):k===63&&i===3?(e.consume(k),w):k===93&&i===5?(e.consume(k),Ve):_(k)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Pu,Le,le)(k)):k===null||_(k)?(e.exit("htmlFlowData"),le(k)):(e.consume(k),H)}function le(k){return e.check(Ou,ae,Le)(k)}function ae(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),Q}function Q(k){return k===null||_(k)?le(k):(e.enter("htmlFlowData"),H(k))}function fe(k){return k===45?(e.consume(k),w):H(k)}function pe(k){return k===47?(e.consume(k),l="",Ee):H(k)}function Ee(k){if(k===62){const De=l.toLowerCase();return Fi.includes(De)?(e.consume(k),xe):H(k)}return Oe(k)&&l.length<8?(e.consume(k),l+=String.fromCharCode(k),Ee):H(k)}function Ve(k){return k===93?(e.consume(k),w):H(k)}function w(k){return k===62?(e.consume(k),xe):k===45&&i===2?(e.consume(k),w):H(k)}function xe(k){return k===null||_(k)?(e.exit("htmlFlowData"),Le(k)):(e.consume(k),xe)}function Le(k){return e.exit("htmlFlow"),t(k)}}function ju(e,t,r){const n=this;return i;function i(l){return _(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):r(l)}function a(l){return n.parser.lazy[n.now().line]?r(l):t(l)}}function $u(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Tr,t,r)}}const Uu={name:"htmlText",tokenize:Vu};function Vu(e,t,r){const n=this;let i,a,l;return s;function s(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),o}function o(w){return w===33?(e.consume(w),u):w===47?(e.consume(w),j):w===63?(e.consume(w),I):Oe(w)?(e.consume(w),Y):r(w)}function u(w){return w===45?(e.consume(w),m):w===91?(e.consume(w),a=0,y):Oe(w)?(e.consume(w),T):r(w)}function m(w){return w===45?(e.consume(w),p):r(w)}function f(w){return w===null?r(w):w===45?(e.consume(w),g):_(w)?(l=f,pe(w)):(e.consume(w),f)}function g(w){return w===45?(e.consume(w),p):f(w)}function p(w){return w===62?fe(w):w===45?g(w):f(w)}function y(w){const xe="CDATA[";return w===xe.charCodeAt(a++)?(e.consume(w),a===xe.length?A:y):r(w)}function A(w){return w===null?r(w):w===93?(e.consume(w),E):_(w)?(l=A,pe(w)):(e.consume(w),A)}function E(w){return w===93?(e.consume(w),C):A(w)}function C(w){return w===62?fe(w):w===93?(e.consume(w),C):A(w)}function T(w){return w===null||w===62?fe(w):_(w)?(l=T,pe(w)):(e.consume(w),T)}function I(w){return w===null?r(w):w===63?(e.consume(w),q):_(w)?(l=I,pe(w)):(e.consume(w),I)}function q(w){return w===62?fe(w):I(w)}function j(w){return Oe(w)?(e.consume(w),z):r(w)}function z(w){return w===45||Be(w)?(e.consume(w),z):W(w)}function W(w){return _(w)?(l=W,pe(w)):ie(w)?(e.consume(w),W):fe(w)}function Y(w){return w===45||Be(w)?(e.consume(w),Y):w===47||w===62||he(w)?$(w):r(w)}function $(w){return w===47?(e.consume(w),fe):w===58||w===95||Oe(w)?(e.consume(w),M):_(w)?(l=$,pe(w)):ie(w)?(e.consume(w),$):fe(w)}function M(w){return w===45||w===46||w===58||w===95||Be(w)?(e.consume(w),M):V(w)}function V(w){return w===61?(e.consume(w),H):_(w)?(l=V,pe(w)):ie(w)?(e.consume(w),V):$(w)}function H(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(e.consume(w),i=w,le):_(w)?(l=H,pe(w)):ie(w)?(e.consume(w),H):(e.consume(w),ae)}function le(w){return w===i?(e.consume(w),i=void 0,Q):w===null?r(w):_(w)?(l=le,pe(w)):(e.consume(w),le)}function ae(w){return w===null||w===34||w===39||w===60||w===61||w===96?r(w):w===47||w===62||he(w)?$(w):(e.consume(w),ae)}function Q(w){return w===47||w===62||he(w)?$(w):r(w)}function fe(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):r(w)}function pe(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),Ee}function Ee(w){return ie(w)?ne(e,Ve,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):Ve(w)}function Ve(w){return e.enter("htmlTextData"),l(w)}}const Y0={name:"labelEnd",resolveAll:Yu,resolveTo:Xu,tokenize:Ku},Gu={tokenize:Zu},Wu={tokenize:Qu},_u={tokenize:Ju};function Yu(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&Ye(e,0,e.length,r),e}function Xu(e,t){let r=e.length,n=0,i,a,l,s;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(l=r);const o={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[a][1].start},end:{...e[l][1].end}},m={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[l-2][1].start}};return s=[["enter",o,t],["enter",u,t]],s=et(s,e.slice(a+1,a+n+3)),s=et(s,[["enter",m,t]]),s=et(s,hn(t.parser.constructs.insideSpan.null,e.slice(a+n+4,l-3),t)),s=et(s,[["exit",m,t],e[l-2],e[l-1],["exit",u,t]]),s=et(s,e.slice(l+1)),s=et(s,[["exit",o,t]]),Ye(e,a,e.length,s),e}function Ku(e,t,r){const n=this;let i=n.events.length,a,l;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return s;function s(g){return a?a._inactive?f(g):(l=n.parser.defined.includes(at(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),o):r(g)}function o(g){return g===40?e.attempt(Gu,m,l?m:f)(g):g===91?e.attempt(Wu,m,l?u:f)(g):l?m(g):f(g)}function u(g){return e.attempt(_u,m,f)(g)}function m(g){return t(g)}function f(g){return a._balanced=!0,r(g)}}function Zu(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return he(f)?yr(e,a)(f):a(f)}function a(f){return f===41?m(f):dl(e,l,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function l(f){return he(f)?yr(e,o)(f):m(f)}function s(f){return r(f)}function o(f){return f===34||f===39||f===40?vl(e,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):m(f)}function u(f){return he(f)?yr(e,m)(f):m(f)}function m(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function Qu(e,t,r){const n=this;return i;function i(s){return gl.call(n,e,a,l,"reference","referenceMarker","referenceString")(s)}function a(s){return n.parser.defined.includes(at(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function l(s){return r(s)}}function Ju(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const e1={name:"labelStartImage",resolveAll:Y0.resolveAll,tokenize:t1};function t1(e,t,r){const n=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),a}function a(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),l):r(s)}function l(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const r1={name:"labelStartLink",resolveAll:Y0.resolveAll,tokenize:n1};function n1(e,t,r){const n=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}const Fn={name:"lineEnding",tokenize:i1};function i1(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,t,"linePrefix")}}const Kr={name:"thematicBreak",tokenize:a1};function a1(e,t,r){let n=0,i;return a;function a(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,s(u)}function s(u){return u===i?(e.enter("thematicBreakSequence"),o(u)):n>=3&&(u===null||_(u))?(e.exit("thematicBreak"),t(u)):r(u)}function o(u){return u===i?(e.consume(u),n++,o):(e.exit("thematicBreakSequence"),ie(u)?ne(e,s,"whitespace")(u):s(u))}}const je={continuation:{tokenize:u1},exit:h1,name:"list",tokenize:o1},l1={partial:!0,tokenize:m1},s1={partial:!0,tokenize:c1};function o1(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return s;function s(p){const y=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:m0(p)){if(n.containerState.type||(n.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Kr,r,u)(p):u(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(p)}return r(p)}function o(p){return m0(p)&&++l<10?(e.consume(p),o):(!n.interrupt||l<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):r(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(Tr,n.interrupt?r:m,e.attempt(l1,g,f))}function m(p){return n.containerState.initialBlankLine=!0,a++,g(p)}function f(p){return ie(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),g):r(p)}function g(p){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function u1(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Tr,i,a);function i(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ne(e,t,"listItemIndent",n.containerState.size+1)(s)}function a(s){return n.containerState.furtherBlankLines||!ie(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(s1,t,l)(s))}function l(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,ne(e,e.attempt(je,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function c1(e,t,r){const n=this;return ne(e,i,"listItemIndent",n.containerState.size+1);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?t(a):r(a)}}function h1(e){e.exit(this.containerState.type)}function m1(e,t,r){const n=this;return ne(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=n.events[n.events.length-1];return!ie(a)&&l&&l[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const Li={name:"setextUnderline",resolveTo:f1,tokenize:p1};function f1(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",l,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=l,e.push(["exit",l,t]),e}function p1(e,t,r){const n=this;let i;return a;function a(u){let m=n.events.length,f;for(;m--;)if(n.events[m][1].type!=="lineEnding"&&n.events[m][1].type!=="linePrefix"&&n.events[m][1].type!=="content"){f=n.events[m][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),i=u,l(u)):r(u)}function l(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),ie(u)?ne(e,o,"lineSuffix")(u):o(u))}function o(u){return u===null||_(u)?(e.exit("setextHeadingLine"),t(u)):r(u)}}const d1={tokenize:g1};function g1(e){const t=this,r=e.attempt(Tr,n,e.attempt(this.parser.constructs.flowInitial,i,ne(e,e.attempt(this.parser.constructs.flow,i,e.attempt(wu,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const v1={resolveAll:bl()},y1=yl("string"),b1=yl("text");function yl(e){return{resolveAll:bl(e==="text"?x1:void 0),tokenize:t};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,l,s);return l;function l(m){return u(m)?a(m):s(m)}function s(m){if(m===null){r.consume(m);return}return r.enter("data"),r.consume(m),o}function o(m){return u(m)?(r.exit("data"),a(m)):(r.consume(m),o)}function u(m){if(m===null)return!0;const f=i[m];let g=-1;if(f)for(;++g<f.length;){const p=f[g];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function bl(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function x1(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,l=-1,s=0,o;for(;a--;){const u=i[a];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)s++,l--;if(l)break;l=-1}else if(u===-2)o=!0,s++;else if(u!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(s=0),s){const u={type:r===e.length||o||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:n.start._bufferIndex+l,_index:n.start._index+a,line:n.end.line,column:n.end.column-s,offset:n.end.offset-s},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(e.splice(r,0,["enter",u,t],["exit",u,t]),r+=2)}r++}return e}const w1={42:je,43:je,45:je,48:je,49:je,50:je,51:je,52:je,53:je,54:je,55:je,56:je,57:je,62:hl},k1={91:Tu},S1={[-2]:Nn,[-1]:Nn,32:Nn},A1={35:Bu,42:Kr,45:[Li,Kr],60:Ru,61:Li,95:Kr,96:Ni,126:Ni},C1={38:fl,92:ml},T1={[-5]:Fn,[-4]:Fn,[-3]:Fn,33:e1,38:fl,42:f0,60:[ru,Uu],91:r1,92:[Du,ml],93:Y0,95:f0,96:du},z1={null:[f0,v1]},M1={null:[42,95]},E1={null:[]},D1=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:M1,contentInitial:k1,disable:E1,document:w1,flow:A1,flowInitial:S1,insideSpan:z1,string:C1,text:T1},Symbol.toStringTag,{value:"Module"}));function I1(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const i={},a=[];let l=[],s=[];const o={attempt:W(j),check:W(z),consume:T,enter:I,exit:q,interrupt:W(z,{interrupt:!0})},u={code:null,containerState:{},defineSkip:A,events:[],now:y,parser:e,previous:null,sliceSerialize:g,sliceStream:p,write:f};let m=t.tokenize.call(u,o);return t.resolveAll&&a.push(t),u;function f(V){return l=et(l,V),E(),l[l.length-1]!==null?[]:(Y(t,0),u.events=hn(a,u.events,u),u.events)}function g(V,H){return N1(p(V),H)}function p(V){return B1(l,V)}function y(){const{_bufferIndex:V,_index:H,line:le,column:ae,offset:Q}=n;return{_bufferIndex:V,_index:H,line:le,column:ae,offset:Q}}function A(V){i[V.line]=V.column,M()}function E(){let V;for(;n._index<l.length;){const H=l[n._index];if(typeof H=="string")for(V=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===V&&n._bufferIndex<H.length;)C(H.charCodeAt(n._bufferIndex));else C(H)}}function C(V){m=m(V)}function T(V){_(V)?(n.line++,n.column=1,n.offset+=V===-3?2:1,M()):V!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=V}function I(V,H){const le=H||{};return le.type=V,le.start=y(),u.events.push(["enter",le,u]),s.push(le),le}function q(V){const H=s.pop();return H.end=y(),u.events.push(["exit",H,u]),H}function j(V,H){Y(V,H.from)}function z(V,H){H.restore()}function W(V,H){return le;function le(ae,Q,fe){let pe,Ee,Ve,w;return Array.isArray(ae)?Le(ae):"tokenize"in ae?Le([ae]):xe(ae);function xe(Ce){return Je;function Je(nt){const Ge=nt!==null&&Ce[nt],pt=nt!==null&&Ce.null,Lt=[...Array.isArray(Ge)?Ge:Ge?[Ge]:[],...Array.isArray(pt)?pt:pt?[pt]:[]];return Le(Lt)(nt)}}function Le(Ce){return pe=Ce,Ee=0,Ce.length===0?fe:k(Ce[Ee])}function k(Ce){return Je;function Je(nt){return w=$(),Ve=Ce,Ce.partial||(u.currentConstruct=Ce),Ce.name&&u.parser.constructs.disable.null.includes(Ce.name)?lt():Ce.tokenize.call(H?Object.assign(Object.create(u),H):u,o,De,lt)(nt)}}function De(Ce){return V(Ve,w),Q}function lt(Ce){return w.restore(),++Ee<pe.length?k(pe[Ee]):fe}}}function Y(V,H){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&Ye(u.events,H,u.events.length-H,V.resolve(u.events.slice(H),u)),V.resolveTo&&(u.events=V.resolveTo(u.events,u))}function $(){const V=y(),H=u.previous,le=u.currentConstruct,ae=u.events.length,Q=Array.from(s);return{from:ae,restore:fe};function fe(){n=V,u.previous=H,u.currentConstruct=le,u.events.length=ae,s=Q,M()}}function M(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function B1(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let l;if(r===i)l=[e[r].slice(n,a)];else{if(l=e.slice(r,i),n>-1){const s=l[0];typeof s=="string"?l[0]=s.slice(n):l.shift()}a>0&&l.push(e[i].slice(0,a))}return l}function N1(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
|
|
2
2
|
`;break}case-3:{l=`\r
|
|
3
3
|
`;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(a)}i=a===-2,n.push(l)}return n.join("")}function F1(e){const n={constructs:ul([D1,...(e||{}).extensions||[]]),content:i(Xo),defined:[],document:i(Zo),flow:i(d1),lazy:{},string:i(y1),text:i(b1)};return n;function i(a){return l;function l(s){return I1(n,a,s)}}}function L1(e){for(;!pl(e););return e}const Ri=/[\0\t\n\r]/g;function R1(){let e=1,t="",r=!0,n;return i;function i(a,l,s){const o=[];let u,m,f,g,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),f=0,t="",r&&(a.charCodeAt(0)===65279&&f++,r=void 0);f<a.length;){if(Ri.lastIndex=f,u=Ri.exec(a),g=u&&u.index!==void 0?u.index:a.length,p=a.charCodeAt(g),!u){t=a.slice(f);break}if(p===10&&f===g&&n)o.push(-3),n=void 0;else switch(n&&(o.push(-5),n=void 0),f<g&&(o.push(a.slice(f,g)),e+=g-f),p){case 0:{o.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,o.push(-2);e++<m;)o.push(-1);break}case 10:{o.push(-4),e=1;break}default:n=!0,e=1}f=g+1}return s&&(n&&o.push(-5),t&&o.push(t),o.push(null)),o}}const P1=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function O1(e){return e.replace(P1,q1)}function q1(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return cl(r.slice(a?2:1),a?16:10)}return q0(r)||e}const xl={}.hasOwnProperty;function H1(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),j1(r)(L1(F1(r).document().write(R1()(e,t,!0))))}function j1(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(hr),autolinkProtocol:$,autolinkEmail:$,atxHeading:a(Br),blockQuote:a(pt),characterEscape:$,characterReference:$,codeFenced:a(Lt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(Lt,l),codeText:a(Ir,l),codeTextData:$,data:$,codeFlowValue:$,definition:a(_t),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(Yt),hardBreakEscape:a(Nr),hardBreakTrailing:a(Nr),htmlFlow:a(Fr,l),htmlFlowData:$,htmlText:a(Fr,l),htmlTextData:$,image:a(Lr),label:l,link:a(hr),listItem:a(Tn),listItemValue:g,listOrdered:a(Rt,f),listUnordered:a(Rt),paragraph:a(zn),reference:k,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Br),strong:a(mr),thematicBreak:a(Pr)},exit:{atxHeading:o(),atxHeadingSequence:j,autolink:o(),autolinkEmail:Ge,autolinkProtocol:nt,blockQuote:o(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:lt,characterReferenceMarkerNumeric:lt,characterReferenceValue:Ce,characterReference:Je,codeFenced:o(E),codeFencedFence:A,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:M,codeIndented:o(C),codeText:o(Q),codeTextData:M,data:M,definition:o(),definitionDestinationString:q,definitionLabelString:T,definitionTitleString:I,emphasis:o(),hardBreakEscape:o(H),hardBreakTrailing:o(H),htmlFlow:o(le),htmlFlowData:M,htmlText:o(ae),htmlTextData:M,image:o(pe),label:Ve,labelText:Ee,lineEnding:V,link:o(fe),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:De,resourceDestinationString:w,resourceTitleString:xe,resource:Le,setextHeading:o(Y),setextHeadingLineSequence:W,setextHeadingText:z,strong:o(),thematicBreak:o()}};wl(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(D){let O={type:"root",children:[]};const K={stack:[O],tokenStack:[],config:t,enter:s,exit:u,buffer:l,resume:m,data:r},re=[];let ue=-1;for(;++ue<D.length;)if(D[ue][1].type==="listOrdered"||D[ue][1].type==="listUnordered")if(D[ue][0]==="enter")re.push(ue);else{const it=re.pop();ue=i(D,it,ue)}for(ue=-1;++ue<D.length;){const it=t[D[ue][0]];xl.call(it,D[ue][1].type)&&it[D[ue][1].type].call(Object.assign({sliceSerialize:D[ue][2].sliceSerialize},K),D[ue][1])}if(K.tokenStack.length>0){const it=K.tokenStack[K.tokenStack.length-1];(it[1]||Pi).call(K,void 0,it[0])}for(O.position={start:Ct(D.length>0?D[0][1].start:{line:1,column:1,offset:0}),end:Ct(D.length>0?D[D.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)O=t.transforms[ue](O)||O;return O}function i(D,O,K){let re=O-1,ue=-1,it=!1,Pt,dt,fr,pr;for(;++re<=K;){const We=D[re];switch(We[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{We[0]==="enter"?ue++:ue--,pr=void 0;break}case"lineEndingBlank":{We[0]==="enter"&&(Pt&&!pr&&!ue&&!fr&&(fr=re),pr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:pr=void 0}if(!ue&&We[0]==="enter"&&We[1].type==="listItemPrefix"||ue===-1&&We[0]==="exit"&&(We[1].type==="listUnordered"||We[1].type==="listOrdered")){if(Pt){let Xt=re;for(dt=void 0;Xt--;){const gt=D[Xt];if(gt[1].type==="lineEnding"||gt[1].type==="lineEndingBlank"){if(gt[0]==="exit")continue;dt&&(D[dt][1].type="lineEndingBlank",it=!0),gt[1].type="lineEnding",dt=Xt}else if(!(gt[1].type==="linePrefix"||gt[1].type==="blockQuotePrefix"||gt[1].type==="blockQuotePrefixWhitespace"||gt[1].type==="blockQuoteMarker"||gt[1].type==="listItemIndent"))break}fr&&(!dt||fr<dt)&&(Pt._spread=!0),Pt.end=Object.assign({},dt?D[dt][1].start:We[1].end),D.splice(dt||re,0,["exit",Pt,We[2]]),re++,K++}if(We[1].type==="listItemPrefix"){const Xt={type:"listItem",_spread:!1,start:Object.assign({},We[1].start),end:void 0};Pt=Xt,D.splice(re,0,["enter",Xt,We[2]]),re++,K++,fr=void 0,pr=!0}}}return D[O][1]._spread=it,K}function a(D,O){return K;function K(re){s.call(this,D(re),re),O&&O.call(this,re)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(D,O,K){this.stack[this.stack.length-1].children.push(D),this.stack.push(D),this.tokenStack.push([O,K||void 0]),D.position={start:Ct(O.start),end:void 0}}function o(D){return O;function O(K){D&&D.call(this,K),u.call(this,K)}}function u(D,O){const K=this.stack.pop(),re=this.tokenStack.pop();if(re)re[0].type!==D.type&&(O?O.call(this,D,re[0]):(re[1]||Pi).call(this,D,re[0]));else throw new Error("Cannot close `"+D.type+"` ("+vr({start:D.start,end:D.end})+"): it’s not open");K.position.end=Ct(D.end)}function m(){return _0(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function g(D){if(this.data.expectingFirstListItemValue){const O=this.stack[this.stack.length-2];O.start=Number.parseInt(this.sliceSerialize(D),10),this.data.expectingFirstListItemValue=void 0}}function p(){const D=this.resume(),O=this.stack[this.stack.length-1];O.lang=D}function y(){const D=this.resume(),O=this.stack[this.stack.length-1];O.meta=D}function A(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const D=this.resume(),O=this.stack[this.stack.length-1];O.value=D.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const D=this.resume(),O=this.stack[this.stack.length-1];O.value=D.replace(/(\r?\n|\r)$/g,"")}function T(D){const O=this.resume(),K=this.stack[this.stack.length-1];K.label=O,K.identifier=at(this.sliceSerialize(D)).toLowerCase()}function I(){const D=this.resume(),O=this.stack[this.stack.length-1];O.title=D}function q(){const D=this.resume(),O=this.stack[this.stack.length-1];O.url=D}function j(D){const O=this.stack[this.stack.length-1];if(!O.depth){const K=this.sliceSerialize(D).length;O.depth=K}}function z(){this.data.setextHeadingSlurpLineEnding=!0}function W(D){const O=this.stack[this.stack.length-1];O.depth=this.sliceSerialize(D).codePointAt(0)===61?1:2}function Y(){this.data.setextHeadingSlurpLineEnding=void 0}function $(D){const K=this.stack[this.stack.length-1].children;let re=K[K.length-1];(!re||re.type!=="text")&&(re=Rr(),re.position={start:Ct(D.start),end:void 0},K.push(re)),this.stack.push(re)}function M(D){const O=this.stack.pop();O.value+=this.sliceSerialize(D),O.position.end=Ct(D.end)}function V(D){const O=this.stack[this.stack.length-1];if(this.data.atHardBreak){const K=O.children[O.children.length-1];K.position.end=Ct(D.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(O.type)&&($.call(this,D),M.call(this,D))}function H(){this.data.atHardBreak=!0}function le(){const D=this.resume(),O=this.stack[this.stack.length-1];O.value=D}function ae(){const D=this.resume(),O=this.stack[this.stack.length-1];O.value=D}function Q(){const D=this.resume(),O=this.stack[this.stack.length-1];O.value=D}function fe(){const D=this.stack[this.stack.length-1];if(this.data.inReference){const O=this.data.referenceType||"shortcut";D.type+="Reference",D.referenceType=O,delete D.url,delete D.title}else delete D.identifier,delete D.label;this.data.referenceType=void 0}function pe(){const D=this.stack[this.stack.length-1];if(this.data.inReference){const O=this.data.referenceType||"shortcut";D.type+="Reference",D.referenceType=O,delete D.url,delete D.title}else delete D.identifier,delete D.label;this.data.referenceType=void 0}function Ee(D){const O=this.sliceSerialize(D),K=this.stack[this.stack.length-2];K.label=O1(O),K.identifier=at(O).toLowerCase()}function Ve(){const D=this.stack[this.stack.length-1],O=this.resume(),K=this.stack[this.stack.length-1];if(this.data.inReference=!0,K.type==="link"){const re=D.children;K.children=re}else K.alt=O}function w(){const D=this.resume(),O=this.stack[this.stack.length-1];O.url=D}function xe(){const D=this.resume(),O=this.stack[this.stack.length-1];O.title=D}function Le(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function De(D){const O=this.resume(),K=this.stack[this.stack.length-1];K.label=O,K.identifier=at(this.sliceSerialize(D)).toLowerCase(),this.data.referenceType="full"}function lt(D){this.data.characterReferenceType=D.type}function Ce(D){const O=this.sliceSerialize(D),K=this.data.characterReferenceType;let re;K?(re=cl(O,K==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):re=q0(O);const ue=this.stack[this.stack.length-1];ue.value+=re}function Je(D){const O=this.stack.pop();O.position.end=Ct(D.end)}function nt(D){M.call(this,D);const O=this.stack[this.stack.length-1];O.url=this.sliceSerialize(D)}function Ge(D){M.call(this,D);const O=this.stack[this.stack.length-1];O.url="mailto:"+this.sliceSerialize(D)}function pt(){return{type:"blockquote",children:[]}}function Lt(){return{type:"code",lang:null,meta:null,value:""}}function Ir(){return{type:"inlineCode",value:""}}function _t(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yt(){return{type:"emphasis",children:[]}}function Br(){return{type:"heading",depth:0,children:[]}}function Nr(){return{type:"break"}}function Fr(){return{type:"html",value:""}}function Lr(){return{type:"image",title:null,url:"",alt:null}}function hr(){return{type:"link",title:null,url:"",children:[]}}function Rt(D){return{type:"list",ordered:D.type==="listOrdered",start:null,spread:D._spread,children:[]}}function Tn(D){return{type:"listItem",spread:D._spread,checked:null,children:[]}}function zn(){return{type:"paragraph",children:[]}}function mr(){return{type:"strong",children:[]}}function Rr(){return{type:"text",value:""}}function Pr(){return{type:"thematicBreak"}}}function Ct(e){return{line:e.line,column:e.column,offset:e.offset}}function wl(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?wl(e,n):$1(e,n)}}function $1(e,t){let r;for(r in t)if(xl.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function Pi(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+vr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+vr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+vr({start:t.start,end:t.end})+") is still open")}function U1(e){const t=this;t.parser=r;function r(n){return H1(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function V1(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function G1(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
4
4
|
`}]}function W1(e,t){const r=t.value?t.value+`
|