1import{n as $n,r as st,t as Xe}from"./rolldown-runtime.C1f3BsDW.js";import"./inertia.BE4YqsTM.js";import"./http.DWpeO7Ui.js";import{Ar as fi,D as pi,Gr as un,I as mi,K as di,Kn as gi,Ln as xi,Mr as qe,Nn as yi,O as ki,P as er,Pt as bi,Qn as wi,Qr as vi,_r as pt,en as Si,fn as Ci,jr as Ei,lr as cn,m as Ii,nt as Ai,p as Ti,tr as Pi,xr as mt}from"./icons.ChOq_Y4q.js";import{t as Li}from"./react-core.CAMe6Z4j.js";import"./utils.CgzVjNgC.js";import"./state.L8kQliOB.js";import{Tt as Ie,i as zi,jt as hn,k as Ae,tt as $e}from"./entry-client.DX3aUoe5.js";import"./dist.CoNAZqlp.js";import"./dist.DxccqHSW.js";import"./dist.D4237Rk6.js";import"./dist.BhzTvz6X.js";import"./es2015.Cr2X04_P.js";import"./dist.C1cc-Zbw.js";import"./badge.CK53iWwP.js";import"./dropdown-menu.D1MnQ7U0.js";import{t as fn}from"./SEO.gPDL2mFy.js";import"./useRoute.D5WEuP_a.js";import"./logo.7ZVhR9ER.js";import{t as pn}from"./Header.C54sFzrK.js";import{t as dt}from"./Card.CbhBZ5MF.js";function Di(e,n){const t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var Fi=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ni=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_i={};function mn(e,n){return((n||_i).jsx?Ni:Fi).test(e)}var ji=/[ \t\n\f\r]/g;function Ri(e){return typeof e=="object"?e.type==="text"?dn(e.value):!1:dn(e)}function dn(e){return e.replace(ji,"")===""}var Ke=class{constructor(e,n,t){this.normal=n,this.property=e,t&&(this.space=t)}};Ke.prototype.normal={};Ke.prototype.property={};Ke.prototype.space=void 0;function tr(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new Ke(t,r,n)}function Dt(e){return e.toLowerCase()}var le=class{constructor(e,n){this.attribute=n,this.property=e}};le.prototype.attribute="";le.prototype.booleanish=!1;le.prototype.boolean=!1;le.prototype.commaOrSpaceSeparated=!1;le.prototype.commaSeparated=!1;le.prototype.defined=!1;le.prototype.mustUseProperty=!1;le.prototype.number=!1;le.prototype.overloadedBoolean=!1;le.prototype.property="";le.prototype.spaceSeparated=!1;le.prototype.space=void 0;var Ft=$n({boolean:()=>O,booleanish:()=>Z,commaOrSpaceSeparated:()=>ae,commaSeparated:()=>_e,number:()=>C,overloadedBoolean:()=>Nt,spaceSeparated:()=>X}),Oi=0;const O=Le(),Z=Le(),Nt=Le(),C=Le(),X=Le(),_e=Le(),ae=Le();function Le(){return 2**++Oi}var gt=Object.keys(Ft),Vt=class extends le{constructor(e,n,t,r){let i=-1;if(super(e,n),gn(this,"space",r),typeof t=="number")for(;++i<gt.length;){const l=gt[i];gn(this,gt[i],(t&Ft[l])===Ft[l])}}};Vt.prototype.defined=!0;function gn(e,n,t){t&&(e[n]=t)}function Re(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const l=new Vt(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),n[r]=l,t[Dt(r)]=r,t[Dt(l.attribute)]=r}return new Ke(n,t,e.space)}const nr=Re({properties:{ariaActiveDescendant:null,ariaAtomic:Z,ariaAutoComplete:null,ariaBusy:Z,ariaChecked:Z,ariaColCount:C,ariaColIndex:C,ariaColSpan:C,ariaControls:X,ariaCurrent:null,ariaDescribedBy:X,ariaDetails:null,ariaDisabled:Z,ariaDropEffect:X,ariaErrorMessage:null,ariaExpanded:Z,ariaFlowTo:X,ariaGrabbed:Z,ariaHasPopup:null,ariaHidden:Z,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:X,ariaLevel:C,ariaLive:null,ariaModal:Z,ariaMultiLine:Z,ariaMultiSelectable:Z,ariaOrientation:null,ariaOwns:X,ariaPlaceholder:null,ariaPosInSet:C,ariaPressed:Z,ariaReadOnly:Z,ariaRelevant:null,ariaRequired:Z,ariaRoleDescription:X,ariaRowCount:C,ariaRowIndex:C,ariaRowSpan:C,ariaSelected:Z,ariaSetSize:C,ariaSort:null,ariaValueMax:C,ariaValueMin:C,ariaValueNow:C,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function rr(e,n){return n in e?e[n]:n}function ir(e,n){return rr(e,n.toLowerCase())}const Mi=Re({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:_e,acceptCharset:X,accessKey:X,action:null,allow:null,allowFullScreen:O,allowPaymentRequest:O,allowUserMedia:O,alt:null,as:null,async:O,autoCapitalize:null,autoComplete:X,autoFocus:O,autoPlay:O,blocking:X,capture:null,charSet:null,checked:O,cite:null,className:X,cols:C,colSpan:null,content:null,contentEditable:Z,controls:O,controlsList:X,coords:C|_e,crossOrigin:null,data:null,dateTime:null,decoding:null,default:O,defer:O,dir:null,dirName:null,disabled:O,download:Nt,draggable:Z,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:O,formTarget:null,headers:X,height:C,hidden:Nt,high:C,href:null,hrefLang:null,htmlFor:X,httpEquiv:X,id:null,imageSizes:null,imageSrcSet:null,inert:O,inputMode:null,integrity:null,is:null,isMap:O,itemId:null,itemProp:X,itemRef:X,itemScope:O,itemType:X,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:O,low:C,manifest:null,max:null,maxLength:C,media:null,method:null,min:null,minLength:C,multiple:O,muted:O,name:null,nonce:null,noModule:O,noValidate:O,onAbort:null,onAfterPrint:null,onAuxCl
1ick: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:O,optimum:C,pattern:null,ping:X,placeholder:null,playsInline:O,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:O,referrerPolicy:null,rel:X,required:O,reversed:O,rows:C,rowSpan:C,sandbox:X,scope:null,scoped:O,seamless:O,selected:O,shadowRootClonable:O,shadowRootDelegatesFocus:O,shadowRootMode:null,shape:null,size:C,sizes:null,slot:null,span:C,spellCheck:Z,src:null,srcDoc:null,srcLang:null,srcSet:null,start:C,step:null,style:null,tabIndex:C,target:null,title:null,translate:null,type:null,typeMustMatch:O,useMap:null,value:Z,width:C,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:X,axis:null,background:null,bgColor:null,border:C,borderColor:null,bottomMargin:C,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:O,declare:O,event:null,face:null,frame:null,frameBorder:null,hSpace:C,leftMargin:C,link:null,longDesc:null,lowSrc:null,marginHeight:C,marginWidth:C,noResize:O,noHref:O,noShade:O,noWrap:O,object:null,profile:null,prompt:null,rev:null,rightMargin:C,rules:null,scheme:null,scrolling:Z,standby:null,summary:null,text:null,topMargin:C,valueType:null,version:null,vAlign:null,vLink:null,vSpace:C,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:O,disableRemotePlayback:O,prefix:null,property:null,results:C,security:null,unselectable:null},space:"html",transform:ir}),Bi=Re({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav
1-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:ae,accentHeight:C,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:C,amplitude:C,arabicForm:null,ascent:C,attributeName:null,attributeType:null,azimuth:C,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:C,by:null,calcMode:null,capHeight:C,className:X,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:C,diffuseConstant:C,direction:null,display:null,dur:null,divisor:C,dominantBaseline:null,download:O,dx:null,dy:null,edgeMode:null,editable:null,elevation:C,enableBackground:null,end:null,event:null,exponent:C,externalResourcesRequired:null,fill:null,fillOpacity:C,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:_e,g2:_e,glyphName:_e,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:C,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:C,horizOriginX:C,horizOriginY:C,id:null,ideographic:C,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:C,k:C,k1:C,k2:C,k3:C,k4:C,kernelMatrix:ae,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:C,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:C,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,on
vendor: 3,624 bytes, line 1
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:C,overlineThickness:C,paintOrder:null,panose1:null,path:null,pathLength:C,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:X,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:C,pointsAtY:C,pointsAtZ:C,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ae,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ae,rev:ae,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ae,requiredFeatures:ae,requiredFonts:ae,requiredFormats:ae,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:C,specularExponent:C,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:C,strikethroughThickness:C,string:null,stroke:null,strokeDashArray:ae,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:C,strokeOpacity:C,strokeWidth:null,style:null,surfaceScale:C,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ae,tabIndex:C,tableValues:null,target:null,targetX:C,targetY:C,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ae,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:C,underlineThickness:C,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:C,values:null,vAlphabetic:C,vMathematical:C,vectorEffect:null,vHanging:C,vIdeographic:C,version:null,vertAdvY:C,vertOriginX:C,vertOriginY:C,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:C,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:rr}),lr=Re({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),or=Re({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ir}),ar=Re({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Hi={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Ui=/[A-Z]/g,xn=/-[a-z]/g,Vi=/^data[-\w.:]+$/i;function qi(e,n){const t=Dt(n);let r=n,i=le;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Vi.test(n)){if(n.charAt(4)==="-"){const l=n.slice(5).replace(xn,Gi);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=n.slice(4);if(!xn.test(l)){let o=l.replace(Ui,Wi);o.charAt(0)!=="-"&&(o="-"+o),n="data"+o}}i=Vt}return new i(r,n)}function Wi(e){return"-"+e.toLowerCase()}function Gi(e){return e.charAt(1).toUpperCase()}const Yi=tr([nr,Mi,lr,or,ar],"html"),qt=tr([nr,Bi,lr,or,ar],"svg");function Qi(e){return e.join(" ").trim()}var Xi=Xe({
vendor: 1,633 bytes, lines 1-2
1"node_modules/inline-style-parser/cjs/index.js":((e,n)=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,i=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,h=` 2`,u="/",p="*",f="",g="comment",v="declaration";function I(S,E){if(typeof S!="string")throw new TypeError("First argument must be a string");if(!S)return[];E=E||{};var F=1,_=1;function w(j){var D=j.match(r);D&&(F+=D.length);var Q=j.lastIndexOf(h);_=~Q?j.length-Q:_+j.length}function M(){var j={line:F,column:_};return function(D){return D.position=new T(j),L(),D}}function T(j){this.start=j,this.end={line:F,column:_},this.source=E.source}T.prototype.content=S;function U(j){var D=new Error(E.source+":"+F+":"+_+": "+j);if(D.reason=j,D.filename=E.source,D.line=F,D.column=_,D.source=S,!E.silent)throw D}function y(j){var D=j.exec(S);if(D){var Q=D[0];return w(Q),S=S.slice(Q.length),D}}function L(){y(i)}function z(j){var D;for(j=j||[];D=q();)D!==!1&&j.push(D);return j}function q(){var j=M();if(!(u!=S.charAt(0)||p!=S.charAt(1))){for(var D=2;f!=S.charAt(D)&&(p!=S.charAt(D)||u!=S.charAt(D+1));)++D;if(D+=2,f===S.charAt(D-1))return U("End of comment missing");var Q=S.slice(2,D-2);return _+=2,w(Q),S=S.slice(D),_+=2,j({type:g,comment:Q})}}function G(){var j=M(),D=y(l);if(D){if(q(),!y(o))return U("property missing ':'");var Q=y(a),re=j({type:v,property:x(D[0].replace(t,f)),value:Q?x(Q[0].replace(t,f)):f});return y(s),re}}function B(){var j=[];z(j);for(var D;D=G();)D!==!1&&(j.push(D),z(j));return j}return L(),B()}function x(S){return S?S.replace(c,f):f}n.exports=I})}),Ki=Xe({
vendor: 441 bytes, line 2
2"node_modules/style-to-object/cjs/index.js":(e=>{var n=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;var t=n(Xi());function r(i,l){let o=null;if(!i||typeof i!="string")return o;const a=(0,t.default)(i),s=typeof l=="function";return a.forEach(c=>{if(c.type!=="declaration")return;const{property:h,value:u}=c;s?l(h,u,c):u&&(o=o||{},o[h]=u)}),o}})}),Ji=Xe({
vendor: 497 bytes, line 2
2"node_modules/style-to-js/cjs/utilities.js":(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,o=function(h){return!h||r.test(h)||n.test(h)},a=function(h,u){return u.toUpperCase()},s=function(h,u){return"".concat(u,"-")},c=function(h,u){return u===void 0&&(u={}),o(h)?h:(h=h.toLowerCase(),u.reactCompat?h=h.replace(l,s):h=h.replace(i,s),h.replace(t,a))};e.camelCase=c})}),Zi=Xe({
vendor: 81,774 bytes, lines 2-14
2"node_modules/style-to-js/cjs/index.js":((e,n)=>{var t=(e&&e.__importDefault||function(l){return l&&l.__esModule?l:{default:l}})(Ki()),r=Ji();function i(l,o){var a={};return!l||typeof l!="string"||(0,t.default)(l,function(s,c){s&&c&&(a[(0,r.camelCase)(s,o)]=c)}),a}i.default=i,n.exports=i})});const sr=ur("end"),Wt=ur("start");function ur(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function $i(e){const n=Wt(e),t=sr(e);if(n&&t)return{start:n,end:t}}function We(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?yn(e.position):"start"in e||"end"in e?yn(e):"line"in e||"column"in e?_t(e):""}function _t(e){return kn(e&&e.line)+":"+kn(e&&e.column)}function yn(e){return _t(e&&e.start)+"-"+_t(e&&e.end)}function kn(e){return e&&typeof e=="number"?e:1}var te=class extends Error{constructor(e,n,t){super(),typeof n=="string"&&(t=n,n=void 0);let r="",i={},l=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof e=="string"?r=e:!i.cause&&e&&(l=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof t=="string"){const a=t.indexOf(":");a===-1?i.ruleId=t:(i.source=t.slice(0,a),i.ruleId=t.slice(a+1))}if(!i.place&&i.ancestors&&i.ancestors){const a=i.ancestors[i.ancestors.length-1];a&&(i.place=a.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=o?o.line:void 0,this.name=We(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=l&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}};te.prototype.file="";te.prototype.name="";te.prototype.reason="";te.prototype.message="";te.prototype.stack="";te.prototype.column=void 0;te.prototype.line=void 0;te.prototype.ancestors=void 0;te.prototype.cause=void 0;te.prototype.fatal=void 0;te.prototype.place=void 0;te.prototype.ruleId=void 0;te.prototype.source=void 0;var el=st(Zi(),1),Gt={}.hasOwnProperty,tl=new Map,nl=/[A-Z]/g,rl=new Set(["table","tbody","thead","tfoot","tr"]),il=new Set(["td","th"]),cr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ll(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=pl(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=fl(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?qt:Yi,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},l=hr(i,e,void 0);return l&&typeof l!="string"?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}function hr(e,n,t){if(n.type==="element")return ol(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return al(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return ul(e,n,t);if(n.type==="mdxjsEsm")return sl(e,n);if(n.type==="root")return cl(e,n,t);if(n.type==="text")return hl(e,n)}function ol(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=qt,e.schema=i),e.ancestors.push(n);const l=pr(e,n.tagName,!1),o=ml(e,n);let a=Qt(e,n);return rl.has(n.tagName)&&(a=a.filter(function(s){return typeof s=="string"?!Ri(s):!0})),fr(e,o,l,n),Yt(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function al(e,n){if(n.data&&n.data.estree&&e.evaluater){const t=n.data.estree.body[0];return t.type,e.evaluater.evaluateExpression(t.expression)}Ye(e,n.position)}function sl(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);Ye(e,n.position)}function ul(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=qt,e.schema=i),e.ancestors.push(n);const l=n.name===null?e.Fragment:pr(e,n.name,!0),o=dl(e,n),a=Qt(e,n);return fr(e,o,l,n),Yt(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function cl(e,n,t){const r={};return Yt(r,Qt(e,n)),e.create(n,e.Fragment,r,t)}function hl(e,n){return n.value}function fr(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function Yt(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function fl(e,n,t){return r;function r(i,l,o,a){const s=Array.isArray(o.children)?t:n;return a?s(l,o,a):s(l,o)}}function pl(e,n){return t;function t(r,i,l,o){const a=Array.isArray(l.children),s=Wt(r);return n(i,l,o,a,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.line:void 0},void 0)}}function ml(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&Gt.call(n.properties,i)){const l=gl(e,i,n.properties[i]);if(l){const[o,a]=l;e.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&il.has(n.tagName)?r=a:t[o]=a}}if(r){const l=t.style||(t.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function dl(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const l=i.expression;l.type;const o=l.properties[0];o.type,Object.assign(t,e.evaluater.evaluateExpression(o.argument))}else Ye(e,n.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,l=e.evaluater.evaluateExpression(o.expression)}else Ye(e,n.position);else l=r.value===null?!0:r.value;t[i]=l}return t}function Qt(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:tl;for(;++r<n.children.length;){const l=n.children[r];let o;if(e.passKeys){const s=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(s){const c=i.get(s)||0;o=s+"-"+c,i.set(s,c+1)}}const a=hr(e,l,o);a!==void 0&&t.push(a)}return t}function gl(e,n,t){const r=qi(e.schema,n);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?Di(t):Qi(t)),r.property==="style"){let i=typeof t=="object"?t:xl(e,String(t));return e.stylePropertyNameCase==="css"&&(i=yl(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Hi[r.property]||r.property:r.attribute,t]}}function xl(e,n){try{return(0,el.default)(n,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const r=t,i=new te("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=cr+"#cannot-parse-style-attribute",i}}function pr(e,n,t){let r;if(!t)r={type:"Literal",value:n};else if(n.includes(".")){const i=n.split(".");let l=-1,o;for(;++l<i.length;){const a=mn(i[l])?{type:"Identifier",name:i[l]}:{type:"Literal",value:i[l]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(l&&a.type==="Literal"),optional:!1}:a}r=o}else r=mn(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(r.type==="Literal"){const i=r.value;return Gt.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Ye(e)}function Ye(e,n){const t=new te("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=cr+"#cannot-handle-mdx-estrees-without-createevaluater",t}function yl(e){const n={};let t;for(t in e)Gt.call(e,t)&&(n[kl(t)]=e[t]);return n}function kl(e){let n=e.replace(nl,bl);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function bl(e){return"-"+e.toLowerCase()}const xt={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var wl={};function Xt(e,n){const t=n||wl;return mr(e,typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,typeof t.includeHtml=="boolean"?t.includeHtml:!0)}function mr(e,n,t){if(vl(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return bn(e.children,n,t)}return Array.isArray(e)?bn(e,n,t):""}function bn(e,n,t){const r=[];let i=-1;for(;++i<e.length;)r[i]=mr(e[i],n,t);return r.join("")}function vl(e){return!!(e&&typeof e=="object")}var wn=document.createElement("i");function Kt(e){const n="&"+e+";";wn.innerHTML=n;const t=wn.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}function se(e,n,t,r){const i=e.length;let l=0,o;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(n,t),e.splice(...o);else for(t&&e.splice(n,t);l<r.length;)o=r.slice(l,l+1e4),o.unshift(n,0),e.splice(...o),l+=1e4,n+=1e4}function he(e,n){return e.length>0?(se(e,e.length,0,n),e):n}var vn={}.hasOwnProperty;function dr(e){const n={};let t=-1;for(;++t<e.length;)Sl(n,e[t]);return n}function Sl(e,n){let t;for(t in n){const r=(vn.call(e,t)?e[t]:void 0)||(e[t]={}),i=n[t];let l;if(i)for(l in i){vn.call(r,l)||(r[l]=[]);const o=i[l];Cl(r[l],Array.isArray(o)?o:o?[o]:[])}}}function Cl(e,n){let t=-1;const r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);se(e,0,0,r)}function gr(e,n){const t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function fe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ne=Ee(/[A-Za-z]/),ee=Ee(/[\dA-Za-z]/),El=Ee(/[#-'*+\--9=?A-Z^-~]/);function lt(e){return e!==null&&(e<32||e===127)}const jt=Ee(/\d/),Il=Ee(/[\dA-Fa-f]/),Al=Ee(/[!-/:-@[-`{-~]/);function N(e){return e!==null&&e<-2}function Y(e){return e!==null&&(e<0||e===32)}function H(e){return e===-2||e===-1||e===32}const ut=Ee(new RegExp("\\p{P}|\\p{S}","u")),Pe=Ee(/\s/);function Ee(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Oe(e){const n=[];let t=-1,r=0,i=0;for(;++t<e.length;){const l=e.charCodeAt(t);let o="";if(l===37&&ee(e.charCodeAt(t+1))&&ee(e.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const a=e.charCodeAt(t+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="�"}else o=String.fromCharCode(l);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function V(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(s){return H(s)?(e.enter(t),a(s)):n(s)}function a(s){return H(s)&&l++<i?(e.consume(s),a):(e.exit(t),n(s))}}const Tl={tokenize:Pl};function Pl(e){const n=e.attempt(this.parser.constructs.contentInitial,r,i);let t;return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),V(e,n,"linePrefix")}function i(a){return e.enter("paragraph"),l(a)}function l(a){const s=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=s),t=s,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return N(a)?(e.consume(a),e.exit("chunkText"),l):(e.consume(a),o)}}const Ll={tokenize:zl};var Sn={tokenize:Dl};function zl(e){const n=this,t=[];let r=0,i,l,o;return a;function a(E){if(r<t.length){const F=t[r];return n.containerState=F[1],e.attempt(F[0].continuation,s,c)(E)}return c(E)}function s(E){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,i&&S();const F=n.events.length;let _=F,w;for(;_--;)if(n.events[_][0]==="exit"&&n.events[_][1].type==="chunkFlow"){w=n.events[_][1].end;break}x(r);let M=F;for(;M<n.events.length;)n.events[M][1].end={...w},M++;return se(n.events,_+1,0,n.events.slice(F)),n.events.length=M,c(E)}return a(E)}function c(E){if(r===t.length){if(!i)return p(E);if(i.currentConstruct&&i.currentConstruct.concrete)return g(E);n.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(Sn,h,u)(E)}function h(E){return i&&S(),x(r),p(E)}function u(E){return n.parser.lazy[n.now().line]=r!==t.length,o=n.now().offset,g(E)}function p(E){return n.containerState={},e.attempt(Sn,f,g)(E)}function f(E){return r++,t.push([n.currentConstruct,n.containerState]),p(E)}function g(E){if(E===null){i&&S(),x(0),e.consume(E);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:l}),v(E)}function v(E){if(E===null){I(e.exit("chunkFlow"),!0),x(0),e.consume(E);return}return N(E)?(e.consume(E),I(e.exit("chunkFlow")),r=0,n.interrupt=void 0,a):(e.consume(E),v)}function I(E,F){const _=n.sliceStream(E);if(F&&_.push(null),E.previous=l,l&&(l.next=E),l=E,i.defineSkip(E.start),i.write(_),n.parser.lazy[E.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<o&&(!i.events[w][1].end||i.events[w][1].end.offset>o))return;const M=n.events.length;let T=M,U,y;for(;T--;)if(n.events[T][0]==="exit"&&n.events[T][1].type==="chunkFlow"){if(U){y=n.events[T][1].end;break}U=!0}for(x(r),w=M;w<n.events.length;)n.events[w][1].end={...y},w++;se(n.events,T+1,0,n.events.slice(M)),n.events.length=w}}function x(E){let F=t.length;for(;F-- >E;){const _=t[F];n.containerState=_[1],_[0].exit.call(n,e)}t.length=E}function S(){i.write([null]),l=void 0,i=void 0,n.containerState._closeFlow=void 0}}function Dl(e,n,t){return V(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function je(e){if(e===null||Y(e)||Pe(e))return 1;if(ut(e))return 2}function ct(e,n,t){const r=[];let i=-1;for(;++i<e.length;){const l=e[i].resolveAll;l&&!r.includes(l)&&(n=l(n,t),r.push(l))}return n}const Rt={name:"attention",resolveAll:Fl,tokenize:Nl};function Fl(e,n){let t=-1,r,i,l,o,a,s,c,h;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const u={...e[r][1].end},p={...e[t][1].start};Cn(u,-s),Cn(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:u,end:{...e[r][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:p},l={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[t][1].start}},i={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[t][1].start={...a.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=he(c,[["enter",e[r][1],n],["exit",e[r][1],n]])),c=he(c,[["enter",i,n],["enter",o,n],["exit",o,n],["enter",l,n]]),c=he(c,ct(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),c=he(c,[["exit",l,n],["enter",a,n],["exit",a,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(h=2,c=he(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):h=0,se(e,r-1,t-r+3,c),t=r+c.length-h-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function Nl(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=je(r);let l;return o;function o(s){return l=s,e.enter("attentionSequence"),a(s)}function a(s){if(s===l)return e.consume(s),a;const c=e.exit("attentionSequence"),h=je(s),u=!h||h===2&&i||t.includes(s),p=!i||i===2&&h||t.includes(r);return c._open=!!(l===42?u:u&&(i||!p)),c._close=!!(l===42?p:p&&(h||!u)),n(s)}}function Cn(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const _l={name:"autolink",tokenize:jl};function jl(e,n,t){let r=0;return i;function i(f){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(f){return ne(f)?(e.consume(f),o):f===64?t(f):c(f)}function o(f){return f===43||f===45||f===46||ee(f)?(r=1,a(f)):c(f)}function a(f){return f===58?(e.consume(f),r=0,s):(f===43||f===45||f===46||ee(f))&&r++<32?(e.consume(f),a):(r=0,c(f))}function s(f){return f===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),n):f===null||f===32||f===60||lt(f)?t(f):(e.consume(f),s)}function c(f){return f===64?(e.consume(f),h):El(f)?(e.consume(f),c):t(f)}function h(f){return ee(f)?u(f):t(f)}function u(f){return f===46?(e.consume(f),r=0,h):f===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(f),e.exit("autolinkMarker"),e.exit("autolink"),n):p(f)}function p(f){if((f===45||ee(f))&&r++<63){const g=f===45?p:u;return e.consume(f),g}return t(f)}}const Je={partial:!0,tokenize:Rl};function Rl(e,n,t){return r;function r(l){return H(l)?V(e,i,"linePrefix")(l):i(l)}function i(l){return l===null||N(l)?n(l):t(l)}}const xr={continuation:{tokenize:Ml},exit:Bl,name:"blockQuote",tokenize:Ol};function Ol(e,n,t){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),l}return t(o)}function l(o){return H(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(o))}}function Ml(e,n,t){const r=this;return i;function i(o){return H(o)?V(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(xr,n,t)(o)}}function Bl(e){e.exit("blockQuote")}const yr={name:"characterEscape",tokenize:Hl};function Hl(e,n,t){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),i}function i(l){return Al(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(l)}}const kr={name:"characterReference",tokenize:Ul};function Ul(e,n,t){const r=this;let i=0,l,o;return a;function a(u){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),s}function s(u){return u===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(u),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),l=31,o=ee,h(u))}function c(u){return u===88||u===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(u),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=Il,h):(e.enter("characterReferenceValue"),l=7,o=jt,h(u))}function h(u){if(u===59&&i){const p=e.exit("characterReferenceValue");return o===ee&&!Kt(r.sliceSerialize(p))?t(u):(e.enter("characterReferenceMarker"),e.consume(u),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return o(u)&&i++<l?(e.consume(u),h):t(u)}}var En={partial:!0,tokenize:ql};const In={concrete:!0,name:"codeFenced",tokenize:Vl};function Vl(e,n,t){const r=this,i={partial:!0,tokenize:_};let l=0,o=0,a;return s;function s(w){return c(w)}function c(w){const M=r.events[r.events.length-1];return l=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,a=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(w)}function h(w){return w===a?(o++,e.consume(w),h):o<3?t(w):(e.exit("codeFencedFenceSequence"),H(w)?V(e,u,"whitespace")(w):u(w))}function u(w){return w===null||N(w)?(e.exit("codeFencedFence"),r.interrupt?n(w):e.check(En,v,F)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===null||N(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(w)):H(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),V(e,f,"whitespace")(w)):w===96&&w===a?t(w):(e.consume(w),p)}function f(w){return w===null||N(w)?u(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===null||N(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(w)):w===96&&w===a?t(w):(e.consume(w),g)}function v(w){return e.attempt(i,F,I)(w)}function I(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),x}function x(w){return l>0&&H(w)?V(e,S,"linePrefix",l+1)(w):S(w)}function S(w){return w===null||N(w)?e.check(En,v,F)(w):(e.enter("codeFlowValue"),E(w))}function E(w){return w===null||N(w)?(e.exit("codeFlowValue"),S(w)):(e.consume(w),E)}function F(w){return e.exit("codeFenced"),n(w)}function _(w,M,T){let U=0;return y;function y(B){return w.enter("lineEnding"),w.consume(B),w.exit("lineEnding"),L}function L(B){return w.enter("codeFencedFence"),H(B)?V(w,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):z(B)}function z(B){return B===a?(w.enter("codeFencedFenceSequence"),q(B)):T(B)}function q(B){return B===a?(U++,w.consume(B),q):U>=o?(w.exit("codeFencedFenceSequence"),H(B)?V(w,G,"whitespace")(B):G(B)):T(B)}function G(B){return B===null||N(B)?(w.exit("codeFencedFence"),M(B)):T(B)}}}function ql(e,n,t){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}const yt={name:"codeIndented",tokenize:Gl};var Wl={partial:!0,tokenize:Yl};function Gl(e,n,t){const r=this;return i;function i(c){return e.enter("codeIndented"),V(e,l,"linePrefix",5)(c)}function l(c){const h=r.events[r.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?o(c):t(c)}function o(c){return c===null?s(c):N(c)?e.attempt(Wl,o,s)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||N(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),a)}function s(c){return e.exit("codeIndented"),n(c)}}function Yl(e,n,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):N(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):V(e,l,"linePrefix",5)(o)}function l(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):N(o)?i(o):t(o)}}const Ql={name:"codeText",previous:Kl,resolve:Xl,tokenize:Jl};function Xl(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),n-=r-i-2,r=i+2),i=void 0);return e}function Kl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Jl(e,n,t){let r=0,i,l;return o;function o(u){return e.enter("codeText"),e.enter("codeTextSequence"),a(u)}function a(u){return u===96?(e.consume(u),r++,a):(e.exit("codeTextSequence"),s(u))}function s(u){return u===null?t(u):u===32?(e.enter("space"),e.consume(u),e.exit("space"),s):u===96?(l=e.enter("codeTextSequence"),i=0,h(u)):N(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):(e.enter("codeTextData"),c(u))}function c(u){return u===null||u===32||u===96||N(u)?(e.exit("codeTextData"),s(u)):(e.consume(u),c)}function h(u){return u===96?(e.consume(u),i++,h):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(u)):(l.type="codeTextData",c(u))}}var Zl=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,n){const t=n??Number.POSITIVE_INFINITY;return t<this.left.length?this.left.slice(e,t):e>this.left.length?this.right.slice(this.right.length-t+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-t+this.left.length).reverse())}splice(e,n,t){const r=n||0;this.setCursor(Math.trunc(e));const i=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return t&&He(this.left,t),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),He(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),He(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const n=this.left.splice(e,Number.POSITIVE_INFINITY);He(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);He(this.left,n.reverse())}}};function He(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}function br(e){const n={};let t=-1,r,i,l,o,a,s,c;const h=new Zl(e);for(;++t<h.length;){for(;t in n;)t=n[t];if(r=h.get(t),t&&r[1].type==="chunkFlow"&&h.get(t-1)[1].type==="listItemPrefix"&&(s=r[1]._tokenizer.events,l=0,l<s.length&&s[l][1].type==="lineEndingBlank"&&(l+=2),l<s.length&&s[l][1].type==="content"))for(;++l<s.length&&s[l][1].type!=="content";)s[l][1].type==="chunkText"&&(s[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,$l(h,t)),t=n[t],c=!0);else if(r[1]._container){for(l=t,i=void 0;l--;)if(o=h.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...h.get(i)[1].start},a=h.slice(i,t),a.unshift(r),h.splice(i,t-i+1,a))}}return se(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!c}function $l(e,n){const t=e.get(n)[1],r=e.get(n)[2];let i=n-1;const l=[];let o=t._tokenizer;o||(o=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,s=[],c={};let h,u,p=-1,f=t,g=0,v=0;const I=[v];for(;f;){for(;e.get(++i)[1]!==f;);l.push(i),f._tokenizer||(h=r.sliceStream(f),f.next||h.push(null),u&&o.defineSkip(f.start),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(h),f._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),u=f,f=f.next}for(f=t;++p<a.length;)a[p][0]==="exit"&&a[p-1][0]==="enter"&&a[p][1].type===a[p-1][1].type&&a[p][1].start.line!==a[p][1].end.line&&(v=p+1,I.push(v),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(o.events=[],f?(f._tokenizer=void 0,f.previous=void 0):I.pop(),p=I.length;p--;){const x=a.slice(I[p],I[p+1]),S=l.pop();s.push([S,S+x.length-1]),e.splice(S,2,x)}for(s.reverse(),p=-1;++p<s.length;)c[g+s[p][0]]=g+s[p][1],g+=s[p][1]-s[p][0]-1;return c}const eo={resolve:no,tokenize:ro};var to={partial:!0,tokenize:io};function no(e){return br(e),e}function ro(e,n){let t;return r;function r(a){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?l(a):N(a)?e.check(to,o,l)(a):(e.consume(a),i)}function l(a){return e.exit("chunkContent"),e.exit("content"),n(a)}function o(a){return e.consume(a),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function io(e,n,t){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),V(e,l,"linePrefix")}function l(o){if(o===null||N(o))return t(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}}function wr(e,n,t,r,i,l,o,a,s){const c=s||Number.POSITIVE_INFINITY;let h=0;return u;function u(x){return x===60?(e.enter(r),e.enter(i),e.enter(l),e.consume(x),e.exit(l),p):x===null||x===32||x===41||lt(x)?t(x):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),v(x))}function p(x){return x===62?(e.enter(l),e.consume(x),e.exit(l),e.exit(i),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(x))}function f(x){return x===62?(e.exit("chunkString"),e.exit(a),p(x)):x===null||x===60||N(x)?t(x):(e.consume(x),x===92?g:f)}function g(x){return x===60||x===62||x===92?(e.consume(x),f):f(x)}function v(x){return!h&&(x===null||x===41||Y(x))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),n(x)):h<c&&x===40?(e.consume(x),h++,v):x===41?(e.consume(x),h--,v):x===null||x===32||x===40||lt(x)?t(x):(e.consume(x),x===92?I:v)}function I(x){return x===40||x===41||x===92?(e.consume(x),v):v(x)}}function vr(e,n,t,r,i,l){const o=this;let a=0,s;return c;function c(f){return e.enter(r),e.enter(i),e.consume(f),e.exit(i),e.enter(l),h}function h(f){return a>999||f===null||f===91||f===93&&!s||f===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(f):f===93?(e.exit(l),e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):N(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),u(f))}function u(f){return f===null||f===91||f===93||N(f)||a++>999?(e.exit("chunkString"),h(f)):(e.consume(f),s||(s=!H(f)),f===92?p:u)}function p(f){return f===91||f===92||f===93?(e.consume(f),a++,u):u(f)}}function Sr(e,n,t,r,i,l){let o;return a;function a(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),o=p===40?41:p,s):t(p)}function s(p){return p===o?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):(e.enter(l),c(p))}function c(p){return p===o?(e.exit(l),s(o)):p===null?t(p):N(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),V(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===o||p===null||N(p)?(e.exit("chunkString"),c(p)):(e.consume(p),p===92?u:h)}function u(p){return p===o||p===92?(e.consume(p),h):h(p)}}function Ge(e,n){let t;return r;function r(i){return N(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):H(i)?V(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const lo={name:"definition",tokenize:ao};var oo={partial:!0,tokenize:so};function ao(e,n,t){const r=this;let i;return l;function l(f){return e.enter("definition"),o(f)}function o(f){return vr.call(r,e,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function a(f){return i=fe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),f===58?(e.enter("definitionMarker"),e.consume(f),e.exit("definitionMarker"),s):t(f)}function s(f){return Y(f)?Ge(e,c)(f):c(f)}function c(f){return wr(e,h,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function h(f){return e.attempt(oo,u,u)(f)}function u(f){return H(f)?V(e,p,"whitespace")(f):p(f)}function p(f){return f===null||N(f)?(e.exit("definition"),r.parser.defined.push(i),n(f)):t(f)}}function so(e,n,t){return r;function r(a){return Y(a)?Ge(e,i)(a):t(a)}function i(a){return Sr(e,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return H(a)?V(e,o,"whitespace")(a):o(a)}function o(a){return a===null||N(a)?n(a):t(a)}}const uo={name:"hardBreakEscape",tokenize:co};function co(e,n,t){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),i}function i(l){return N(l)?(e.exit("hardBreakEscape"),n(l)):t(l)}}const ho={name:"headingAtx",resolve:fo,tokenize:po};function fo(e,n){let t=e.length-2,r=3,i,l;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},l={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},se(e,r,t-r+1,[["enter",i,n],["enter",l,n],["exit",l,n],["exit",i,n]])),e}function po(e,n,t){let r=0;return i;function i(h){return e.enter("atxHeading"),l(h)}function l(h){return e.enter("atxHeadingSequence"),o(h)}function o(h){return h===35&&r++<6?(e.consume(h),o):h===null||Y(h)?(e.exit("atxHeadingSequence"),a(h)):t(h)}function a(h){return h===35?(e.enter("atxHeadingSequence"),s(h)):h===null||N(h)?(e.exit("atxHeading"),n(h)):H(h)?V(e,a,"whitespace")(h):(e.enter("atxHeadingText"),c(h))}function s(h){return h===35?(e.consume(h),s):(e.exit("atxHeadingSequence"),a(h))}function c(h){return h===null||h===35||Y(h)?(e.exit("atxHeadingText"),a(h)):(e.consume(h),c)}}const mo=["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"],An=["pre","script","style","textarea"],go={concrete:!0,name:"htmlFlow",resolveTo:ko,tokenize:bo};var xo={partial:!0,tokenize:vo},yo={partial:!0,tokenize:wo};function ko(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function bo(e,n,t){const r=this;let i,l,o,a,s;return c;function c(d){return h(d)}function h(d){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(d),u}function u(d){return d===33?(e.consume(d),p):d===47?(e.consume(d),l=!0,v):d===63?(e.consume(d),i=3,r.interrupt?n:m):ne(d)?(e.consume(d),o=String.fromCharCode(d),I):t(d)}function p(d){return d===45?(e.consume(d),i=2,f):d===91?(e.consume(d),i=5,a=0,g):ne(d)?(e.consume(d),i=4,r.interrupt?n:m):t(d)}function f(d){return d===45?(e.consume(d),r.interrupt?n:m):t(d)}function g(d){return d==="CDATA[".charCodeAt(a++)?(e.consume(d),a===6?r.interrupt?n:z:g):t(d)}function v(d){return ne(d)?(e.consume(d),o=String.fromCharCode(d),I):t(d)}function I(d){if(d===null||d===47||d===62||Y(d)){const me=d===47,ye=o.toLowerCase();return!me&&!l&&An.includes(ye)?(i=1,r.interrupt?n(d):z(d)):mo.includes(o.toLowerCase())?(i=6,me?(e.consume(d),x):r.interrupt?n(d):z(d)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(d):l?S(d):E(d))}return d===45||ee(d)?(e.consume(d),o+=String.fromCharCode(d),I):t(d)}function x(d){return d===62?(e.consume(d),r.interrupt?n:z):t(d)}function S(d){return H(d)?(e.consume(d),S):y(d)}function E(d){return d===47?(e.consume(d),y):d===58||d===95||ne(d)?(e.consume(d),F):H(d)?(e.consume(d),E):y(d)}function F(d){return d===45||d===46||d===58||d===95||ee(d)?(e.consume(d),F):_(d)}function _(d){return d===61?(e.consume(d),w):H(d)?(e.consume(d),_):E(d)}function w(d){return d===null||d===60||d===61||d===62||d===96?t(d):d===34||d===39?(e.consume(d),s=d,M):H(d)?(e.consume(d),w):T(d)}function M(d){return d===s?(e.consume(d),s=null,U):d===null||N(d)?t(d):(e.consume(d),M)}function T(d){return d===null||d===34||d===39||d===47||d===60||d===61||d===62||d===96||Y(d)?_(d):(e.consume(d),T)}function U(d){return d===47||d===62||H(d)?E(d):t(d)}function y(d){return d===62?(e.consume(d),L):t(d)}function L(d){return d===null||N(d)?z(d):H(d)?(e.consume(d),L):t(d)}function z(d){return d===45&&i===2?(e.consume(d),j):d===60&&i===1?(e.consume(d),D):d===62&&i===4?(e.consume(d),pe):d===63&&i===3?(e.consume(d),m):d===93&&i===5?(e.consume(d),re):N(d)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(xo,ue,q)(d)):d===null||N(d)?(e.exit("htmlFlowData"),q(d)):(e.consume(d),z)}function q(d){return e.check(yo,G,ue)(d)}function G(d){return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),B}function B(d){return d===null||N(d)?q(d):(e.enter("htmlFlowData"),z(d))}function j(d){return d===45?(e.consume(d),m):z(d)}function D(d){return d===47?(e.consume(d),o="",Q):z(d)}function Q(d){if(d===62){const me=o.toLowerCase();return An.includes(me)?(e.consume(d),pe):z(d)}return ne(d)&&o.length<8?(e.consume(d),o+=String.fromCharCode(d),Q):z(d)}function re(d){return d===93?(e.consume(d),m):z(d)}function m(d){return d===62?(e.consume(d),pe):d===45&&i===2?(e.consume(d),m):z(d)}function pe(d){return d===null||N(d)?(e.exit("htmlFlowData"),ue(d)):(e.consume(d),pe)}function ue(d){return e.exit("htmlFlow"),n(d)}}function wo(e,n,t){const r=this;return i;function i(o){return N(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}function vo(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Je,n,t)}}const So={name:"htmlText",tokenize:Co};function Co(e,n,t){const r=this;let i,l,o;return a;function a(m){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(m),s}function s(m){return m===33?(e.consume(m),c):m===47?(e.consume(m),_):m===63?(e.consume(m),E):ne(m)?(e.consume(m),T):t(m)}function c(m){return m===45?(e.consume(m),h):m===91?(e.consume(m),l=0,g):ne(m)?(e.consume(m),S):t(m)}function h(m){return m===45?(e.consume(m),f):t(m)}function u(m){return m===null?t(m):m===45?(e.consume(m),p):N(m)?(o=u,D(m)):(e.consume(m),u)}function p(m){return m===45?(e.consume(m),f):u(m)}function f(m){return m===62?j(m):m===45?p(m):u(m)}function g(m){return m==="CDATA[".charCodeAt(l++)?(e.consume(m),l===6?v:g):t(m)}function v(m){return m===null?t(m):m===93?(e.consume(m),I):N(m)?(o=v,D(m)):(e.consume(m),v)}function I(m){return m===93?(e.consume(m),x):v(m)}function x(m){return m===62?j(m):m===93?(e.consume(m),x):v(m)}function S(m){return m===null||m===62?j(m):N(m)?(o=S,D(m)):(e.consume(m),S)}function E(m){return m===null?t(m):m===63?(e.consume(m),F):N(m)?(o=E,D(m)):(e.consume(m),E)}function F(m){return m===62?j(m):E(m)}function _(m){return ne(m)?(e.consume(m),w):t(m)}function w(m){return m===45||ee(m)?(e.consume(m),w):M(m)}function M(m){return N(m)?(o=M,D(m)):H(m)?(e.consume(m),M):j(m)}function T(m){return m===45||ee(m)?(e.consume(m),T):m===47||m===62||Y(m)?U(m):t(m)}function U(m){return m===47?(e.consume(m),j):m===58||m===95||ne(m)?(e.consume(m),y):N(m)?(o=U,D(m)):H(m)?(e.consume(m),U):j(m)}function y(m){return m===45||m===46||m===58||m===95||ee(m)?(e.consume(m),y):L(m)}function L(m){return m===61?(e.consume(m),z):N(m)?(o=L,D(m)):H(m)?(e.consume(m),L):U(m)}function z(m){return m===null||m===60||m===61||m===62||m===96?t(m):m===34||m===39?(e.consume(m),i=m,q):N(m)?(o=z,D(m)):H(m)?(e.consume(m),z):(e.consume(m),G)}function q(m){return m===i?(e.consume(m),i=void 0,B):m===null?t(m):N(m)?(o=q,D(m)):(e.consume(m),q)}function G(m){return m===null||m===34||m===39||m===60||m===61||m===96?t(m):m===47||m===62||Y(m)?U(m):(e.consume(m),G)}function B(m){return m===47||m===62||Y(m)?U(m):t(m)}function j(m){return m===62?(e.consume(m),e.exit("htmlTextData"),e.exit("htmlText"),n):t(m)}function D(m){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Q}function Q(m){return H(m)?V(e,re,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m):re(m)}function re(m){return e.enter("htmlTextData"),o(m)}}const Jt={name:"labelEnd",resolveAll:To,resolveTo:Po,tokenize:Lo};var Eo={tokenize:zo},Io={tokenize:Do},Ao={tokenize:Fo};function To(e){let n=-1;const t=[];for(;++n<e.length;){const r=e[n][1];if(t.push(e[n]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",n+=i}}return e.length!==t.length&&se(e,0,e.length,t),e}function Po(e,n){let t=e.length,r=0,i,l,o,a;for(;t--;)if(i=e[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const s={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},h={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",s,n],["enter",c,n]],a=he(a,e.slice(l+1,l+r+3)),a=he(a,[["enter",h,n]]),a=he(a,ct(n.parser.constructs.insideSpan.null,e.slice(l+r+4,o-3),n)),a=he(a,[["exit",h,n],e[o-2],e[o-1],["exit",c,n]]),a=he(a,e.slice(o+1)),a=he(a,[["exit",s,n]]),se(e,l,e.length,a),e}function Lo(e,n,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return a;function a(p){return l?l._inactive?u(p):(o=r.parser.defined.includes(fe(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),s):t(p)}function s(p){return p===40?e.attempt(Eo,h,o?h:u)(p):p===91?e.attempt(Io,h,o?c:u)(p):o?h(p):u(p)}function c(p){return e.attempt(Ao,h,u)(p)}function h(p){return n(p)}function u(p){return l._balanced=!0,t(p)}}function zo(e,n,t){return r;function r(u){return e.enter("resource"),e.enter("resourceMarker"),e.consume(u),e.exit("resourceMarker"),i}function i(u){return Y(u)?Ge(e,l)(u):l(u)}function l(u){return u===41?h(u):wr(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(u)}function o(u){return Y(u)?Ge(e,s)(u):h(u)}function a(u){return t(u)}function s(u){return u===34||u===39||u===40?Sr(e,c,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(u):h(u)}function c(u){return Y(u)?Ge(e,h)(u):h(u)}function h(u){return u===41?(e.enter("resourceMarker"),e.consume(u),e.exit("resourceMarker"),e.exit("resource"),n):t(u)}}function Do(e,n,t){const r=this;return i;function i(a){return vr.call(r,e,l,o,"reference","referenceMarker","referenceString")(a)}function l(a){return r.parser.defined.includes(fe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(a):t(a)}function o(a){return t(a)}}function Fo(e,n,t){return r;function r(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),i}function i(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),n):t(l)}}const No={name:"labelStartImage",resolveAll:Jt.resolveAll,tokenize:_o};function _o(e,n,t){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),l}function l(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):t(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):n(a)}}const jo={name:"labelStartLink",resolveAll:Jt.resolveAll,tokenize:Ro};function Ro(e,n,t){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):n(o)}}const kt={name:"lineEnding",tokenize:Oo};function Oo(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),V(e,n,"linePrefix")}}const it={name:"thematicBreak",tokenize:Mo};function Mo(e,n,t){let r=0,i;return l;function l(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),s(c)):r>=3&&(c===null||N(c))?(e.exit("thematicBreak"),n(c)):t(c)}function s(c){return c===i?(e.consume(c),r++,s):(e.exit("thematicBreakSequence"),H(c)?V(e,a,"whitespace")(c):a(c))}}const ie={continuation:{tokenize:Vo},exit:Wo,name:"list",tokenize:Uo};var Bo={partial:!0,tokenize:Go},Ho={partial:!0,tokenize:qo};function Uo(e,n,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(f){const g=r.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||f===r.containerState.marker:jt(f)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),f===42||f===45?e.check(it,t,c)(f):c(f);if(!r.interrupt||f===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(f)}return t(f)}function s(f){return jt(f)&&++o<10?(e.consume(f),s):(!r.interrupt||o<2)&&(r.containerState.marker?f===r.containerState.marker:f===41||f===46)?(e.exit("listItemValue"),c(f)):t(f)}function c(f){return e.enter("listItemMarker"),e.consume(f),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||f,e.check(Je,r.interrupt?t:h,e.attempt(Bo,p,u))}function h(f){return r.containerState.initialBlankLine=!0,l++,p(f)}function u(f){return H(f)?(e.enter("listItemPrefixWhitespace"),e.consume(f),e.exit("listItemPrefixWhitespace"),p):t(f)}function p(f){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(f)}}function Vo(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Je,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,V(e,n,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!H(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Ho,n,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,V(e,e.attempt(ie,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function qo(e,n,t){const r=this;return V(e,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(l):t(l)}}function Wo(e){e.exit(this.containerState.type)}function Go(e,n,t){const r=this;return V(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!H(l)&&o&&o[1].type==="listItemPrefixWhitespace"?n(l):t(l)}}const Tn={name:"setextUnderline",resolveTo:Yo,tokenize:Qo};function Yo(e,n){let t=e.length,r,i,l;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!l&&e[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",l?(e.splice(i,0,["enter",o,n]),e.splice(l+1,0,["exit",e[r][1],n]),e[r][1].end={...e[l][1].end}):e[r][1]=o,e.push(["exit",o,n]),e}function Qo(e,n,t){const r=this;let i;return l;function l(c){let h=r.events.length,u;for(;h--;)if(r.events[h][1].type!=="lineEnding"&&r.events[h][1].type!=="linePrefix"&&r.events[h][1].type!=="content"){u=r.events[h][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||u)?(e.enter("setextHeadingLine"),i=c,o(c)):t(c)}function o(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),H(c)?V(e,s,"lineSuffix")(c):s(c))}function s(c){return c===null||N(c)?(e.exit("setextHeadingLine"),n(c)):t(c)}}const Xo={tokenize:Ko};function Ko(e){const n=this,t=e.attempt(Je,r,e.attempt(this.parser.constructs.flowInitial,i,V(e,e.attempt(this.parser.constructs.flow,i,e.attempt(eo,i)),"linePrefix")));return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const Jo={resolveAll:Er()},Zo=Cr("string"),$o=Cr("text");function Cr(e){return{resolveAll:Er(e==="text"?ea:void 0),tokenize:n};function n(t){const r=this,i=this.parser.constructs[e],l=t.attempt(i,o,a);return o;function o(h){return c(h)?l(h):a(h)}function a(h){if(h===null){t.consume(h);return}return t.enter("data"),t.consume(h),s}function s(h){return c(h)?(t.exit("data"),l(h)):(t.consume(h),s)}function c(h){if(h===null)return!0;const u=i[h];let p=-1;if(u)for(;++p<u.length;){const f=u[p];if(!f.previous||f.previous.call(r,r.previous))return!0}return!1}}}function Er(e){return n;function n(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return e?e(t,r):t}}function ea(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const r=e[t-1][1],i=n.sliceStream(r);let l=i.length,o=-1,a=0,s;for(;l--;){const c=i[l];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(c===-2)s=!0,a++;else if(c!==-1){l++;break}}if(n._contentTypeTextTrailing&&t===e.length&&(a=0),a){const c={type:t===e.length||s||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:r.start._bufferIndex+o,_index:r.start._index+l,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(t,0,["enter",c,n],["exit",c,n]),t+=2)}t++}return e}var ta=$n({attentionMarkers:()=>ua,contentInitial:()=>ra,disable:()=>ca,document:()=>na,flow:()=>la,flowInitial:()=>ia,insideSpan:()=>sa,string:()=>oa,text:()=>aa});const na={42:ie,43:ie,45:ie,48:ie,49:ie,50:ie,51:ie,52:ie,53:ie,54:ie,55:ie,56:ie,57:ie,62:xr},ra={91:lo},ia={[-2]:yt,[-1]:yt,32:yt},la={35:ho,42:it,45:[Tn,it],60:go,61:Tn,95:it,96:In,126:In},oa={38:kr,92:yr},aa={[-5]:kt,[-4]:kt,[-3]:kt,33:No,38:kr,42:Rt,60:[_l,So],91:jo,92:[uo,yr],93:Jt,95:Rt,96:Ql},sa={null:[Rt,Jo]},ua={null:[42,95]},ca={null:[]};function ha(e,n,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},l=[];let o=[],a=[];const s={attempt:M(_),check:M(w),consume:S,enter:E,exit:F,interrupt:M(w,{interrupt:!0})},c={code:null,containerState:{},defineSkip:v,events:[],now:g,parser:e,previous:null,sliceSerialize:p,sliceStream:f,write:u};let h=n.tokenize.call(c,s);return n.resolveAll&&l.push(n),c;function u(L){return o=he(o,L),I(),o[o.length-1]!==null?[]:(T(n,0),c.events=ct(l,c.events,c),c.events)}function p(L,z){return pa(f(L),z)}function f(L){return fa(o,L)}function g(){const{_bufferIndex:L,_index:z,line:q,column:G,offset:B}=r;return{_bufferIndex:L,_index:z,line:q,column:G,offset:B}}function v(L){i[L.line]=L.column,y()}function I(){let L;for(;r._index<o.length;){const z=o[r._index];if(typeof z=="string")for(L=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===L&&r._bufferIndex<z.length;)x(z.charCodeAt(r._bufferIndex));else x(z)}}function x(L){h=h(L)}function S(L){N(L)?(r.line++,r.column=1,r.offset+=L===-3?2:1,y()):L!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=L}function E(L,z){const q=z||{};return q.type=L,q.start=g(),c.events.push(["enter",q,c]),a.push(q),q}function F(L){const z=a.pop();return z.end=g(),c.events.push(["exit",z,c]),z}function _(L,z){T(L,z.from)}function w(L,z){z.restore()}function M(L,z){return q;function q(G,B,j){let D,Q,re,m;return Array.isArray(G)?ue(G):"tokenize"in G?ue([G]):pe(G);function pe($){return P;function P(W){const ce=W!==null&&$[W],de=W!==null&&$.null;return ue([...Array.isArray(ce)?ce:ce?[ce]:[],...Array.isArray(de)?de:de?[de]:[]])(W)}}function ue($){return D=$,Q=0,$.length===0?j:d($[Q])}function d($){return P;function P(W){return m=U(),re=$,$.partial||(c.currentConstruct=$),$.name&&c.parser.constructs.disable.null.includes($.name)?ye(W):$.tokenize.call(z?Object.assign(Object.create(c),z):c,s,me,ye)(W)}}function me($){return L(re,m),B}function ye($){return m.restore(),++Q<D.length?d(D[Q]):j}}}function T(L,z){L.resolveAll&&!l.includes(L)&&l.push(L),L.resolve&&se(c.events,z,c.events.length-z,L.resolve(c.events.slice(z),c)),L.resolveTo&&(c.events=L.resolveTo(c.events,c))}function U(){const L=g(),z=c.previous,q=c.currentConstruct,G=c.events.length,B=Array.from(a);return{from:G,restore:j};function j(){r=L,c.previous=z,c.currentConstruct=q,c.events.length=G,a=B,y()}}function y(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function fa(e,n){const t=n.start._index,r=n.start._bufferIndex,i=n.end._index,l=n.end._bufferIndex;let o;if(t===i)o=[e[t].slice(r,l)];else{if(o=e.slice(t,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}l>0&&o.push(e[i].slice(0,l))}return o}function pa(e,n){let t=-1;const r=[];let i;for(;++t<e.length;){const l=e[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:o="\r";break;case-4:o=` 3`;break;case-3:o=`\r 4`;break;case-2:o=n?" ":" ";break;case-1:if(!n&&i)continue;o=" ";break;default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}function ma(e){const n={constructs:dr([ta,...(e||{}).extensions||[]]),content:t(Tl),defined:[],document:t(Ll),flow:t(Xo),lazy:{},string:t(Zo),text:t($o)};return n;function t(r){return i;function i(l){return ha(n,r,l)}}}function da(e){for(;!br(e););return e}var Pn=/[\0\t\n\r]/g;function ga(){let e=1,n="",t=!0,r;return i;function i(l,o,a){const s=[];let c,h,u,p,f;for(l=n+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),u=0,n="",t&&(l.charCodeAt(0)===65279&&u++,t=void 0);u<l.length;){if(Pn.lastIndex=u,c=Pn.exec(l),p=c&&c.index!==void 0?c.index:l.length,f=l.charCodeAt(p),!c){n=l.slice(u);break}if(f===10&&u===p&&r)s.push(-3),r=void 0;else switch(r&&(s.push(-5),r=void 0),u<p&&(s.push(l.slice(u,p)),e+=p-u),f){case 0:s.push(65533),e++;break;case 9:for(h=Math.ceil(e/4)*4,s.push(-2);e++<h;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=p+1}return a&&(r&&s.push(-5),n&&s.push(n),s.push(null)),s}}var xa=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ya(e){return e.replace(xa,ka)}function ka(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const r=t.charCodeAt(1),i=r===120||r===88;return gr(t.slice(i?2:1),i?16:10)}return Kt(t)||e}var Ir={}.hasOwnProperty;function ba(e,n,t){return typeof n!="string"&&(t=n,n=void 0),wa(t)(da(ma(t).document().write(ga()(e,n,!0))))}function wa(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(an),autolinkProtocol:U,autolinkEmail:U,atxHeading:l(rn),blockQuote:l(de),characterEscape:U,characterReference:U,codeFenced:l(nn),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(nn,o),codeText:l(ri,o),codeTextData:U,data:U,codeFlowValue:U,definition:l(ii),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(li),hardBreakEscape:l(ln),hardBreakTrailing:l(ln),htmlFlow:l(on,o),htmlFlowData:U,htmlText:l(on,o),htmlTextData:U,image:l(oi),label:o,link:l(an),listItem:l(ai),listItemValue:p,listOrdered:l(sn,u),listUnordered:l(sn),paragraph:l(si),reference:d,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(rn),strong:l(ui),thematicBreak:l(hi)},exit:{atxHeading:s(),atxHeadingSequence:_,autolink:s(),autolinkEmail:ce,autolinkProtocol:W,blockQuote:s(),characterEscapeValue:y,characterReferenceMarkerHexadecimal:ye,characterReferenceMarkerNumeric:ye,characterReferenceValue:$,characterReference:P,codeFenced:s(I),codeFencedFence:v,codeFencedFenceInfo:f,codeFencedFenceMeta:g,codeFlowValue:y,codeIndented:s(x),codeText:s(B),codeTextData:y,data:y,definition:s(),definitionDestinationString:F,definitionLabelString:S,definitionTitleString:E,emphasis:s(),hardBreakEscape:s(z),hardBreakTrailing:s(z),htmlFlow:s(q),htmlFlowData:y,htmlText:s(G),htmlTextData:y,image:s(D),label:re,labelText:Q,lineEnding:L,link:s(j),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:me,resourceDestinationString:m,resourceTitleString:pe,resource:ue,setextHeading:s(T),setextHeadingLineSequence:M,setextHeadingText:w,strong:s(),thematicBreak:s()}};Ar(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(k){let A={type:"root",children:[]};const R={stack:[A],tokenStack:[],config:n,enter:a,exit:c,buffer:o,resume:h,data:t},K=[];let J=-1;for(;++J<k.length;)(k[J][1].type==="listOrdered"||k[J][1].type==="listUnordered")&&(k[J][0]==="enter"?K.push(J):J=i(k,K.pop(),J));for(J=-1;++J<k.length;){const ve=n[k[J][0]];Ir.call(ve,k[J][1].type)&&ve[k[J][1].type].call(Object.assign({sliceSerialize:k[J][2].sliceSerialize},R),k[J][1])}if(R.tokenStack.length>0){const ve=R.tokenStack[R.tokenStack.length-1];(ve[1]||Ln).call(R,void 0,ve[0])}for(A.position={start:Se(k.length>0?k[0][1].start:{line:1,column:1,offset:0}),end:Se(k.length>0?k[k.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<n.transforms.length;)A=n.transforms[J](A)||A;return A}function i(k,A,R){let K=A-1,J=-1,ve=!1,ze,ke,Me,Be;for(;++K<=R;){const oe=k[K];switch(oe[1].type){case"listUnordered":case"listOrdered":case"blockQuote":oe[0]==="enter"?J++:J--,Be=void 0;break;case"lineEndingBlank":oe[0]==="enter"&&(ze&&!Be&&!J&&!Me&&(Me=K),Be=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Be=void 0}if(!J&&oe[0]==="enter"&&oe[1].type==="listItemPrefix"||J===-1&&oe[0]==="exit"&&(oe[1].type==="listUnordered"||oe[1].type==="listOrdered")){if(ze){let De=K;for(ke=void 0;De--;){const be=k[De];if(be[1].type==="lineEnding"||be[1].type==="lineEndingBlank"){if(be[0]==="exit")continue;ke&&(k[ke][1].type="lineEndingBlank",ve=!0),be[1].type="lineEnding",ke=De}else if(!(be[1].type==="linePrefix"||be[1].type==="blockQuotePrefix"||be[1].type==="blockQuotePrefixWhitespace"||be[1].type==="blockQuoteMarker"||be[1].type==="listItemIndent"))break}Me&&(!ke||Me<ke)&&(ze._spread=!0),ze.end=Object.assign({},ke?k[ke][1].start:oe[1].end),k.splice(ke||K,0,["exit",ze,oe[2]]),K++,R++}if(oe[1].type==="listItemPrefix"){const De={type:"listItem",_spread:!1,start:Object.assign({},oe[1].start),end:void 0};ze=De,k.splice(K,0,["enter",De,oe[2]]),K++,R++,Me=void 0,Be=!0}}}return k[A][1]._spread=ve,R}function l(k,A){return R;function R(K){a.call(this,k(K),K),A&&A.call(this,K)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(k,A,R){this.stack[this.stack.length-1].children.push(k),this.stack.push(k),this.tokenStack.push([A,R||void 0]),k.position={start:Se(A.start),end:void 0}}function s(k){return A;function A(R){k&&k.call(this,R),c.call(this,R)}}function c(k,A){const R=this.stack.pop(),K=this.tokenStack.pop();if(K)K[0].type!==k.type&&(A?A.call(this,k,K[0]):(K[1]||Ln).call(this,k,K[0]));else throw new Error("Cannot close `"+k.type+"` ("+We({start:k.start,end:k.end})+"): itâs not open");R.position.end=Se(k.end)}function h(){return Xt(this.stack.pop())}function u(){this.data.expectingFirstListItemValue=!0}function p(k){if(this.data.expectingFirstListItemValue){const A=this.stack[this.stack.length-2];A.start=Number.parseInt(this.sliceSerialize(k),10),this.data.expectingFirstListItemValue=void 0}}function f(){const k=this.resume(),A=this.stack[this.stack.length-1];A.lang=k}function g(){const k=this.resume(),A=this.stack[this.stack.length-1];A.meta=k}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const k=this.resume(),A=this.stack[this.stack.length-1];A.value=k.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function x(){const k=this.resume(),A=this.stack[this.stack.length-1];A.value=k.replace(/(\r?\n|\r)$/g,"")}function S(k){const A=this.resume(),R=this.stack[this.stack.length-1];R.label=A,R.identifier=fe(this.sliceSerialize(k)).toLowerCase()}function E(){const k=this.resume(),A=this.stack[this.stack.length-1];A.title=k}function F(){const k=this.resume(),A=this.stack[this.stack.length-1];A.url=k}function _(k){const A=this.stack[this.stack.length-1];A.depth||(A.depth=this.sliceSerialize(k).length)}function w(){this.data.setextHeadingSlurpLineEnding=!0}function M(k){const A=this.stack[this.stack.length-1];A.depth=this.sliceSerialize(k).codePointAt(0)===61?1:2}function T(){this.data.setextHeadingSlurpLineEnding=void 0}function U(k){const A=this.stack[this.stack.length-1].children;let R=A[A.length-1];(!R||R.type!=="text")&&(R=ci(),R.position={start:Se(k.start),end:void 0},A.push(R)),this.stack.push(R)}function y(k){const A=this.stack.pop();A.value+=this.sliceSerialize(k),A.position.end=Se(k.end)}function L(k){const A=this.stack[this.stack.length-1];if(this.data.atHardBreak){const R=A.children[A.children.length-1];R.position.end=Se(k.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(A.type)&&(U.call(this,k),y.call(this,k))}function z(){this.data.atHardBreak=!0}function q(){const k=this.resume(),A=this.stack[this.stack.length-1];A.value=k}function G(){const k=this.resume(),A=this.stack[this.stack.length-1];A.value=k}function B(){const k=this.resume(),A=this.stack[this.stack.length-1];A.value=k}function j(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=A,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function D(){const k=this.stack[this.stack.length-1];if(this.data.inReference){const A=this.data.referenceType||"shortcut";k.type+="Reference",k.referenceType=A,delete k.url,delete k.title}else delete k.identifier,delete k.label;this.data.referenceType=void 0}function Q(k){const A=this.sliceSerialize(k),R=this.stack[this.stack.length-2];R.label=ya(A),R.identifier=fe(A).toLowerCase()}function re(){const k=this.stack[this.stack.length-1],A=this.resume(),R=this.stack[this.stack.length-1];this.data.inReference=!0,R.type==="link"?R.children=k.children:R.alt=A}function m(){const k=this.resume(),A=this.stack[this.stack.length-1];A.url=k}function pe(){const k=this.resume(),A=this.stack[this.stack.length-1];A.title=k}function ue(){this.data.inReference=void 0}function d(){this.data.referenceType="collapsed"}function me(k){const A=this.resume(),R=this.stack[this.stack.length-1];R.label=A,R.identifier=fe(this.sliceSerialize(k)).toLowerCase(),this.data.referenceType="full"}function ye(k){this.data.characterReferenceType=k.type}function $(k){const A=this.sliceSerialize(k),R=this.data.characterReferenceType;let K;R?(K=gr(A,R==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):K=Kt(A);const J=this.stack[this.stack.length-1];J.value+=K}function P(k){const A=this.stack.pop();A.position.end=Se(k.end)}function W(k){y.call(this,k);const A=this.stack[this.stack.length-1];A.url=this.sliceSerialize(k)}function ce(k){y.call(this,k);const A=this.stack[this.stack.length-1];A.url="mailto:"+this.sliceSerialize(k)}function de(){return{type:"blockquote",children:[]}}function nn(){return{type:"code",lang:null,meta:null,value:""}}function ri(){return{type:"inlineCode",value:""}}function ii(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function li(){return{type:"emphasis",children:[]}}function rn(){return{type:"heading",depth:0,children:[]}}function ln(){return{type:"break"}}function on(){return{type:"html",value:""}}function oi(){return{type:"image",title:null,url:"",alt:null}}function an(){return{type:"link",title:null,url:"",children:[]}}function sn(k){return{type:"list",ordered:k.type==="listOrdered",start:null,spread:k._spread,children:[]}}function ai(k){return{type:"listItem",spread:k._spread,checked:null,children:[]}}function si(){return{type:"paragraph",children:[]}}function ui(){return{type:"strong",children:[]}}function ci(){return{type:"text",value:""}}function hi(){return{type:"thematicBreak"}}}function Se(e){return{line:e.line,column:e.column,offset:e.offset}}function Ar(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?Ar(e,r):va(e,r)}}function va(e,n){let t;for(t in n)if(Ir.call(n,t))switch(t){case"canContainEols":{const r=n[t];r&&e[t].push(...r);break}case"transforms":{const r=n[t];r&&e[t].push(...r);break}case"enter":case"exit":{const r=n[t];r&&Object.assign(e[t],r);break}}}function Ln(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+We({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+We({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+We({start:n.start,end:n.end})+") is still open")}function Sa(e){const n=this;n.parser=t;function t(r){return ba(r,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function Ca(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function Ea(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` 5`}]}function Ia(e,n){const t=n.value?n.value+` 6`:"",r={},i=n.lang?n.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:t}]};return n.meta&&(l.data={meta:n.meta}),e.patch(n,l),l=e.applyData(n,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(n,l),l}function Aa(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ta(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Pa(e,n){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(n.identifier).toUpperCase(),i=Oe(r.toLowerCase()),l=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=l+1,a+=1,e.footnoteCounts.set(r,a);const s={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+i,id:t+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(n,s);const c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(n,c),e.applyData(n,c)}function La(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function za(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}}function Tr(e,n){const t=n.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+r}];const i=e.all(n),l=i[0];l&&l.type==="text"?l.value="["+l.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}function Da(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return Tr(e,n);const i={src:Oe(r.url||""),alt:n.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(n,l),e.applyData(n,l)}function Fa(e,n){const t={src:Oe(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)}function Na(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)}function _a(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return Tr(e,n);const i={href:Oe(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"a",properties:i,children:e.all(n)};return e.patch(n,l),e.applyData(n,l)}function ja(e,n){const t={href:Oe(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function Ra(e,n,t){const r=e.all(n),i=t?Oa(t):Pr(n),l={},o=[];if(typeof n.checked=="boolean"){const h=r[0];let u;h&&h.type==="element"&&h.tagName==="p"?u=h:(u={type:"element",tagName:"p",properties:{},children:[]},r.unshift(u)),u.children.length>0&&u.children.unshift({type:"text",value:" "}),u.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const h=r[a];(i||a!==0||h.type!=="element"||h.tagName!=="p")&&o.push({type:"text",value:` 7`}),h.type==="element"&&h.tagName==="p"&&!i?o.push(...h.children):o.push(h)}const s=r[r.length-1];s&&(i||s.type!=="element"||s.tagName!=="p")&&o.push({type:"text",value:` 8`});const c={type:"element",tagName:"li",properties:l,children:o};return e.patch(n,c),e.applyData(n,c)}function Oa(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const t=e.children;let r=-1;for(;!n&&++r<t.length;)n=Pr(t[r])}return n}function Pr(e){const n=e.spread;return n??e.children.length>1}function Ma(e,n){const t={},r=e.all(n);let i=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const l={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(r,!0)};return e.patch(n,l),e.applyData(n,l)}function Ba(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ha(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)}function Ua(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Va(e,n){const t=e.all(n),r=t.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(n.children[0],o),i.push(o)}if(t.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},a=Wt(n.children[1]),s=sr(n.children[n.children.length-1]);a&&s&&(o.position={start:a,end:s}),i.push(o)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(n,l),e.applyData(n,l)}function qa(e,n,t){const r=t?t.children:void 0,i=(r?r.indexOf(n):1)===0?"th":"td",l=t&&t.type==="table"?t.align:void 0,o=l?l.length:n.children.length;let a=-1;const s=[];for(;++a<o;){const h=n.children[a],u={},p=l?l[a]:void 0;p&&(u.align=p);let f={type:"element",tagName:i,properties:u,children:[]};h&&(f.children=e.all(h),e.patch(h,f),f=e.applyData(h,f)),s.push(f)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(n,c),e.applyData(n,c)}function Wa(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}var zn=9,Dn=32;function Ga(e){const n=String(e),t=/\r?\n|\r/g;let r=t.exec(n),i=0;const l=[];for(;r;)l.push(Fn(n.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=t.exec(n);return l.push(Fn(n.slice(i),i>0,!1)),l.join("")}function Fn(e,n,t){let r=0,i=e.length;if(n){let l=e.codePointAt(r);for(;l===zn||l===Dn;)r++,l=e.codePointAt(r)}if(t){let l=e.codePointAt(i-1);for(;l===zn||l===Dn;)i--,l=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Ya(e,n){const t={type:"text",value:Ga(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function Qa(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}const Xa={blockquote:Ca,break:Ea,code:Ia,delete:Aa,emphasis:Ta,footnoteReference:Pa,heading:La,html:za,imageReference:Da,image:Fa,inlineCode:Na,linkReference:_a,link:ja,listItem:Ra,list:Ma,paragraph:Ba,root:Ha,strong:Ua,table:Va,tableCell:Wa,tableRow:qa,text:Ya,thematicBreak:Qa,toml:et,yaml:et,definition:et,footnoteDefinition:et};function et(){}var Nn=typeof self=="object"?self:globalThis,Ka=(e,n)=>{const t=(i,l)=>(e.set(l,i),i),r=i=>{if(e.has(i))return e.get(i);const[l,o]=n[i];switch(l){case 0:case-1:return t(o,i);case 1:{const a=t([],i);for(const s of o)a.push(r(s));return a}case 2:{const a=t({},i);for(const[s,c]of o)a[r(s)]=r(c);return a}case 3:return t(new Date(o),i);case 4:{const{source:a,flags:s}=o;return t(new RegExp(a,s),i)}case 5:{const a=t(new Map,i);for(const[s,c]of o)a.set(r(s),r(c));return a}case 6:{const a=t(new Set,i);for(const s of o)a.add(r(s));return a}case 7:{const{name:a,message:s}=o;return t(new Nn[a](s),i)}case 8:return t(BigInt(o),i);case"BigInt":return t(Object(BigInt(o)),i);case"ArrayBuffer":return t(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:a}=new Uint8Array(o);return t(new DataView(a),o)}}return t(new Nn[l](o),i)};return r};const _n=e=>Ka(new Map,e)(0);var Fe="",{toString:Ja}={},{keys:Za}=Object,Ue=e=>{const n=typeof e;if(n!=="object"||!e)return[0,n];const t=Ja.call(e).slice(8,-1);switch(t){case"Array":return[1,Fe];case"Object":return[2,Fe];case"Date":return[3,Fe];case"RegExp":return[4,Fe];case"Map":return[5,Fe];case"Set":return[6,Fe];case"DataView":return[1,t]}return t.includes("Array")?[1,t]:t.includes("Error")?[7,t]:[2,t]},tt=([e,n])=>e===0&&(n==="function"||n==="symbol"),$a=(e,n,t,r)=>{const i=(o,a)=>{const s=r.push(o)-1;return t.set(a,s),s},l=o=>{if(t.has(o))return t.get(o);let[a,s]=Ue(o);switch(a){case 0:{let h=o;switch(s){case"bigint":a=8,h=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);h=null;break;case"undefined":return i([-1],o)}return i([a,h],o)}case 1:{if(s){let p=o;return s==="DataView"?p=new Uint8Array(o.buffer):s==="ArrayBuffer"&&(p=new Uint8Array(o)),i([s,[...p]],o)}const h=[],u=i([a,h],o);for(const p of o)h.push(l(p));return u}case 2:{if(s)switch(s){case"BigInt":return i([s,o.toString()],o);case"Boolean":case"Number":case"String":return i([s,o.valueOf()],o)}if(n&&"toJSON"in o)return l(o.toJSON());const h=[],u=i([a,h],o);for(const p of Za(o))(e||!tt(Ue(o[p])))&&h.push([l(p),l(o[p])]);return u}case 3:return i([a,o.toISOString()],o);case 4:{const{source:h,flags:u}=o;return i([a,{source:h,flags:u}],o)}case 5:{const h=[],u=i([a,h],o);for(const[p,f]of o)(e||!(tt(Ue(p))||tt(Ue(f))))&&h.push([l(p),l(f)]);return u}case 6:{const h=[],u=i([a,h],o);for(const p of o)(e||!tt(Ue(p)))&&h.push(l(p));return u}}const{message:c}=o;return i([a,{name:s,message:c}],o)};return l};const jn=(e,{json:n,lossy:t}={})=>{const r=[];return $a(!(n||t),!!n,new Map,r)(e),r};var ot=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?_n(jn(e,n)):structuredClone(e):(e,n)=>_n(jn(e,n));function es(e,n){const t=[{type:"text",value:"â©"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function ts(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function ns(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||es,r=e.options.footnoteBackLabel||ts,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let s=-1;for(;++s<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[s]);if(!c)continue;const h=e.all(c),u=String(c.identifier).toUpperCase(),p=Oe(u.toLowerCase());let f=0;const g=[],v=e.footnoteCounts.get(u);for(;v!==void 0&&++f<=v;){g.length>0&&g.push({type:"text",value:" "});let S=typeof t=="string"?t:t(s,f);typeof S=="string"&&(S={type:"text",value:S}),g.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+p+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(s,f),className:["data-footnote-backref"]},children:Array.isArray(S)?S:[S]})}const I=h[h.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const S=I.children[I.children.length-1];S&&S.type==="text"?S.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...g)}else h.push(...g);const x={type:"element",tagName:"li",properties:{id:n+"fn-"+p},children:e.wrap(h,!0)};e.patch(c,x),a.push(x)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...ot(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 9`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:` 10`}]}}const ht=(function(e){if(e==null)return os;if(typeof e=="function")return ft(e);if(typeof e=="object")return Array.isArray(e)?rs(e):is(e);if(typeof e=="string")return ls(e);throw new Error("Expected function, string, or object as test")});function rs(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=ht(e[t]);return ft(r);function r(...i){let l=-1;for(;++l<n.length;)if(n[l].apply(this,i))return!0;return!1}}function is(e){const n=e;return ft(t);function t(r){const i=r;let l;for(l in e)if(i[l]!==n[l])return!1;return!0}}function ls(e){return ft(n);function n(t){return t&&t.type===e}}function ft(e){return n;function n(t,r,i){return!!(as(t)&&e.call(this,t,typeof r=="number"?r:void 0,i||void 0))}}function os(){return!0}function as(e){return e!==null&&typeof e=="object"&&"type"in e}var Lr=[];function zr(e,n,t,r){let i;typeof n=="function"&&typeof t!="function"?(r=t,t=n):i=n;const l=ht(i),o=r?-1:1;a(e,void 0,[])();function a(s,c,h){const u=s&&typeof s=="object"?s:{};if(typeof u.type=="string"){const f=typeof u.tagName=="string"?u.tagName:typeof u.name=="string"?u.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return p;function p(){let f=Lr,g,v,I;if((!n||l(s,c,h[h.length-1]||void 0))&&(f=ss(t(s,h)),f[0]===!1))return f;if("children"in s&&s.children){const x=s;if(x.children&&f[0]!=="skip")for(v=(r?x.children.length:-1)+o,I=h.concat(x);v>-1&&v<x.children.length;){const S=x.children[v];if(g=a(S,v,I)(),g[0]===!1)return g;v=typeof g[1]=="number"?g[1]:v+o}}return f}}}function ss(e){return Array.isArray(e)?e:typeof e=="number"?[!0,e]:e==null?Lr:[e]}function Zt(e,n,t,r){let i,l,o;typeof n=="function"&&typeof t!="function"?(l=void 0,o=n,i=t):(l=n,o=t,i=r),zr(e,l,a,i);function a(s,c){const h=c[c.length-1],u=h?h.children.indexOf(s):void 0;return o(s,u,h)}}var Ot={}.hasOwnProperty,us={};function cs(e,n){const t=n||us,r=new Map,i=new Map,l={all:a,applyData:fs,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...Xa,...t.handlers},one:o,options:t,patch:hs,wrap:ms};return Zt(e,function(s){if(s.type==="definition"||s.type==="footnoteDefinition"){const c=s.type==="definition"?r:i,h=String(s.identifier).toUpperCase();c.has(h)||c.set(h,s)}}),l;function o(s,c){const h=s.type,u=l.handlers[h];if(Ot.call(l.handlers,h)&&u)return u(l,s,c);if(l.options.passThrough&&l.options.passThrough.includes(h)){if("children"in s){const{children:p,...f}=s,g=ot(f);return g.children=l.all(s),g}return ot(s)}return(l.options.unknownHandler||ps)(l,s,c)}function a(s){const c=[];if("children"in s){const h=s.children;let u=-1;for(;++u<h.length;){const p=l.one(h[u],s);if(p){if(u&&h[u-1].type==="break"&&(!Array.isArray(p)&&p.type==="text"&&(p.value=Rn(p.value)),!Array.isArray(p)&&p.type==="element")){const f=p.children[0];f&&f.type==="text"&&(f.value=Rn(f.value))}Array.isArray(p)?c.push(...p):c.push(p)}}}return c}}function hs(e,n){e.position&&(n.position=$i(e))}function fs(e,n){let t=n;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,l=e.data.hProperties;typeof r=="string"&&(t.type==="element"?t.tagName=r:t={type:"element",tagName:r,properties:{},children:"children"in t?t.children:[t]}),t.type==="element"&&l&&Object.assign(t.properties,ot(l)),"children"in t&&t.children&&i!==null&&i!==void 0&&(t.children=i)}return t}function ps(e,n){const t=n.data||{},r="value"in n&&!(Ot.call(t,"hProperties")||Ot.call(t,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function ms(e,n){const t=[];let r=-1;for(n&&t.push({type:"text",value:` 11`});++r<e.length;)r&&t.push({type:"text",value:` 12`}),t.push(e[r]);return n&&e.length>0&&t.push({type:"text",value:` 13`}),t}function Rn(e){let n=0,t=e.charCodeAt(n);for(;t===9||t===32;)n++,t=e.charCodeAt(n);return e.slice(n)}function On(e,n){const t=cs(e,n),r=t.one(e,void 0),i=ns(t),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&("children"in l,l.children.push({type:"text",value:` 14`},i)),l}function ds(e,n){return e&&"run"in e?async function(t,r){const i=On(t,{file:r,...n});await e.run(i,r)}:function(t,r){return On(t,{file:r,...e||n})}}function Mn(e){if(e)throw e}var gs=Xe({
vendor: 1,181 bytes, line 14
14"node_modules/extend/index.js":((e,n)=>{var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=function(u){return typeof Array.isArray=="function"?Array.isArray(u):r.call(u)==="[object Array]"},a=function(u){if(!u||r.call(u)!=="[object Object]")return!1;var p=t.call(u,"constructor"),f=u.constructor&&u.constructor.prototype&&t.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!p&&!f)return!1;var g;for(g in u);return typeof g>"u"||t.call(u,g)},s=function(u,p){i&&p.name==="__proto__"?i(u,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):u[p.name]=p.newValue},c=function(u,p){if(p==="__proto__")if(t.call(u,p)){if(l)return l(u,p).value}else return;return u[p]};n.exports=function h(){var u,p,f,g,v,I,x=arguments[0],S=1,E=arguments.length,F=!1;for(typeof x=="boolean"&&(F=x,x=arguments[1]||{},S=2),(x==null||typeof x!="object"&&typeof x!="function")&&(x={});S<E;++S)if(u=arguments[S],u!=null)for(p in u)f=c(x,p),g=c(u,p),x!==g&&(F&&g&&(a(g)||(v=o(g)))?(v?(v=!1,I=f&&o(f)?f:[]):I=f&&a(f)?f:{},s(x,{name:p,newValue:h(F,I,g)})):typeof g<"u"&&s(x,{name:p,newValue:g}));return x}})
vendor: 3,765 bytes, line 14
14});function Mt(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function xs(){const e=[],n={run:t,use:r};return n;function t(...i){let l=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(s,...c){const h=e[++l];let u=-1;if(s){o(s);return}for(;++u<i.length;)(c[u]===null||c[u]===void 0)&&(c[u]=i[u]);i=c,h?ys(h,a)(...c):o(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),n}}function ys(e,n){let t;return r;function r(...o){const a=e.length>o.length;let s;a&&o.push(i);try{s=e.apply(this,o)}catch(c){const h=c;if(a&&t)throw h;return i(h)}a||(s&&s.then&&typeof s.then=="function"?s.then(l,i):s instanceof Error?i(s):l(s))}function i(o,...a){t||(t=!0,n(o,...a))}function l(o){i(null,o)}}const ge={basename:ks,dirname:bs,extname:ws,join:vs,sep:"/"};function ks(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ze(e);let t=0,r=-1,i=e.length,l;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let o=-1,a=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),a>-1&&(e.codePointAt(i)===n.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return t===r?r=o:r<0&&(r=e.length),e.slice(t,r)}function bs(e){if(Ze(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function ws(e){Ze(e);let n=e.length,t=-1,r=0,i=-1,l=0,o;for(;n--;){const a=e.codePointAt(n);if(a===47){if(o){r=n+1;break}continue}t<0&&(o=!0,t=n+1),a===46?i<0?i=n:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function vs(...e){let n=-1,t;for(;++n<e.length;)Ze(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":Ss(t)}function Ss(e){Ze(e);const n=e.codePointAt(0)===47;let t=Cs(e,!n);return t.length===0&&!n&&(t="."),t.length>0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function Cs(e,n){let t="",r=0,i=-1,l=0,o=-1,a,s;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||l===1))if(i!==o-1&&l===2){if(t.length<2||r!==2||t.codePointAt(t.length-1)!==46||t.codePointAt(t.length-2)!==46){if(t.length>2){if(s=t.lastIndexOf("/"),s!==t.length-1){s<0?(t="",r=0):(t=t.slice(0,s),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,o):t=e.slice(i+1,o),r=o-i-1;i=o,l=0}else a===46&&l>-1?l++:l=-1}return t}function Ze(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Es={cwd:Is};function Is(){return"/"}function Bt(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function As(e){if(typeof e=="string")e=new URL(e);else if(!Bt(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return Ts(e)}function Ts(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t<n.length;
vendor: 5,734 bytes, line 14
14)if(n.codePointAt(t)===37&&n.codePointAt(t+1)===50){const r=n.codePointAt(t+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(n)}var bt=["history","path","basename","stem","extname","dirname"],Dr=class{constructor(e){let n;e?Bt(e)?n={path:e}:typeof e=="string"||Ps(e)?n={value:e}:n=e:n={},this.cwd="cwd"in n?"":Es.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let t=-1;for(;++t<bt.length;){const i=bt[t];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let r;for(r in n)bt.includes(r)||(this[r]=n[r])}get basename(){return typeof this.path=="string"?ge.basename(this.path):void 0}set basename(e){vt(e,"basename"),wt(e,"basename"),this.path=ge.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?ge.dirname(this.path):void 0}set dirname(e){Bn(this.basename,"dirname"),this.path=ge.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?ge.extname(this.path):void 0}set extname(e){if(wt(e,"extname"),Bn(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ge.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){Bt(e)&&(e=As(e)),vt(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?ge.basename(this.path,this.extname):void 0}set stem(e){vt(e,"stem"),wt(e,"stem"),this.path=ge.join(this.dirname||"",e+(this.extname||""))}fail(e,n,t){const r=this.message(e,n,t);throw r.fatal=!0,r}info(e,n,t){const r=this.message(e,n,t);return r.fatal=void 0,r}message(e,n,t){const r=new te(e,n,t);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}};function wt(e,n){if(e&&e.includes(ge.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+ge.sep+"`")}function vt(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function Bn(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function Ps(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Ls=(function(e){const n=this.constructor.prototype,t=n[e],r=function(){return t.apply(r,arguments)};return Object.setPrototypeOf(r,n),r});var St=st(gs(),1),zs={}.hasOwnProperty,Ds=class Fr extends Ls{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=xs()}copy(){const n=new Fr;let t=-1;for(;++t<this.attachers.length;){const r=this.attachers[t];n.use(...r)}return n.data((0,St.default)(!0,{},this.namespace)),n}data(n,t){return typeof n=="string"?arguments.length===2?(It("data",this.frozen),this.namespace[n]=t,this):zs.call(this.namespace,n)&&this.namespace[n]||void 0:n?(It("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=t.call(n,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const t=nt(n),r=this.parser||this.Parser;return Ct("parse",r),r(String(t),t)}process(n,t){const r=this;return this.freeze(),Ct("process",this.parser||this.Parser),Et("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(l,o){const a=nt(n),s=r.parse(a);r.run(s,a,function(h,u,p){if(h||!u||!p)return c(h);const f=u,g=r.stringify(f,p);_s(g)?p.value=g:p.result=g,c(h,p)});function c(h,u){h||!u?o(h):l?l(u):t(void 0,u)}}}processSync(n){let t=!1,r;return this.freeze(),Ct("processSync",this.parser||this.Parser),Et("processSync",this.compiler||this.Compiler),this.process(n,i),Un("processSync","process",t),r;function i(l,o){t=!0,Mn(l),r=o}}run(n,t,r){Hn(n),this.freeze();const i=this.transformers;return!r&&typeof t=="function"&&(r=t,t=void 0),r?l(void 0,r):new Promise(l);function l(o,a){const s=nt(t);i.run(n,s,c);function c(h,u,p){const f=u||n;h?a(h):o?o(f):r(void 0,f,p)}}}runSync(n,t){let r=!1,i;return this.run(n,t,l),Un("runSync","run",r),i;function l(o,a){Mn(o),i=a,r=!0}}stringify(n,t){this.freeze();const r=nt(t),i=this.compiler||this.Compiler;return Et("stringify",i),Hn(n),i(n,r)}use(n,...t){const r=this.attachers,i=this.namespace;if(It("use",this.frozen),n!=null)if(typeof n=="function")s(n,t);else if(typeof n=="object")Array.isArray(n)?a(n):o(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function l(c){if(typeof c=="function")s(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[h,...u]=c;s(h,u)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=(0,St.default)(!0,i.settings,c.settings))}function a(c){let h=-1;if(c!=null)if(Array.isArray(c))for(;++h<c.length;){const u=c[h];l(u)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function s(c,h){let u=-1,p=-1;for(;++u<r.length;)if(r[u][0]===c){p=u;break}if(p===-1)r.push([c,...h]);else if(h.length>0){let[f,...g]=h;
14const v=r[p][1];Mt(v)&&Mt(f)&&(f=(0,St.default)(!0,v,f)),r[p]=[c,f,...g]}}}};const Fs=new Ds().freeze();function Ct(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Et(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function It(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Hn(e){if(!Mt(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Un(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function nt(e){return Ns(e)?e:new Dr(e)}function Ns(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function _s(e){return typeof e=="string"||js(e)}function js(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var b=st(Li(),1),Ce=st(vi(),1),Vn=[],qn={allowDangerousHtml:!0},Rs=/^(https?|ircs?|mailto|xmpp)$/i,Os=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Ms(e){const n=Bs(e),t=Hs(e);return Us(n.runSync(n.parse(t),t),e)}function Bs(e){const n=e.rehypePlugins||Vn,t=e.remarkPlugins||Vn,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...qn}:qn;return Fs().use(Sa).use(t).use(ds,r).use(n)}function Hs(e){const n=e.children||"",t=new Dr;return typeof n=="string"?t.value=n:""+n,t}function Us(e,n){const t=n.allowedElements,r=n.allowElement,i=n.components,l=n.disallowedElements,o=n.skipHtml,a=n.unwrapDisallowed,s=n.urlTransform||Vs;for(const h of Os)Object.hasOwn(n,h.from)&&""+h.from+(h.to?"use `"+h.to+"` instead":"remove it")+h.id;return Zt(e,c),ll(e,{Fragment:b.Fragment,components:i,ignoreInvalidStyle:!0,jsx:b.jsx,jsxs:b.jsxs,passKeys:!0,passNode:!0});function c(h,u,p){if(h.type==="raw"&&p&&typeof u=="number")return o?p.children.splice(u,1):p.children[u]={type:"text",value:h.value},u;if(h.type==="element"){let f;for(f in xt)if(Object.hasOwn(xt,f)&&Object.hasOwn(h.properties,f)){const g=h.properties[f],v=xt[f];(v===null||v.includes(h.tagName))&&(h.properties[f]=s(String(g||""),f,h))}}if(h.type==="element"){let f=t?!t.includes(h.tagName):l?l.includes(h.tagName):!1;if(!f&&r&&typeof u=="number"&&(f=!r(h,u,p)),f&&p&&typeof u=="number")return a&&h.children?p.children.splice(u,1,...h.children):p.children.splice(u,1),u}}}function Vs(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n===-1||i!==-1&&n>i||t!==-1&&n>t||r!==-1&&n>r||Rs.test(e.slice(0,n))?e:""}function Wn(e,n){const t=String(e);if(typeof n!="string")throw new TypeError("Expected character");let r=0,i=t.indexOf(n);for(;i!==-1;)r++,i=t.indexOf(n,i+n.length);return r}function qs(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Ws(e,n,t){const r=ht((t||{}).ignore||[]),i=Gs(n);let l=-1;for(;++l<i.length;)zr(e,"text",o);function o(s,c){let h=-1,u;for(;++h<c.length;){const p=c[h],f=u?u.children:void 0;if(r(p,f?f.indexOf(p):void 0,u))return;u=p}if(u)return a(s,c)}function a(s,c){const h=c[c.length-1],u=i[l][0],p=i[l][1];let f=0;const g=h.children.indexOf(s);let v=!1,I=[];u.lastIndex=0;let x=u.exec(s.value);for(;x;){const S=x.index,E={index:x.index,input:x.input,stack:[...c,s]};let F=p(...x,E);if(typeof F=="string"&&(F=F.length>0?{type:"text",value:F}:void 0),F===!1?u.lastIndex=S+1:(f!==S&&I.push({type:"text",value:s.value.slice(f,S)}),Array.isArray(F)?I.push(...F):F&&I.push(F),f=S+x[0].length,v=!0),!u.global)break;x=u.exec(s.value)}return v?(f<s.value.length&&I.push({type:"text",value:s.value.slice(f)}),h.children.splice(g,1,...I)):I=[s],g+I.length}}function Gs(e){const n=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const t=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<t.length;){const i=t[r];n.push([Ys(i[0]),Qs(i[1])])}return n}function Ys(e){return typeof e=="string"?new RegExp(qs(e),"g"):e}function Qs(e){return typeof e=="function"?e:function(){return e}}var At="phrasing",Tt=["autolink","link","image","label"];
vendor: 4,711 bytes, lines 14-15
14function Xs(){return{transforms:[nu],enter:{literalAutolink:Js,literalAutolinkEmail:Pt,literalAutolinkHttp:Pt,literalAutolinkWww:Pt},exit:{literalAutolink:tu,literalAutolinkEmail:eu,literalAutolinkHttp:Zs,literalAutolinkWww:$s}}}function Ks(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:At,notInConstruct:Tt},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:At,notInConstruct:Tt},{character:":",before:"[ps]",after:"\\/",inConstruct:At,notInConstruct:Tt}]}}function Js(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Pt(e){this.config.enter.autolinkProtocol.call(this,e)}function Zs(e){this.config.exit.autolinkProtocol.call(this,e)}function $s(e){this.config.exit.data.call(this,e);const n=this.stack[this.stack.length-1];n.type,n.url="http://"+this.sliceSerialize(e)}function eu(e){this.config.exit.autolinkEmail.call(this,e)}function tu(e){this.exit(e)}function nu(e){Ws(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ru],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),iu]],{ignore:["link","linkReference"]})}function ru(e,n,t,r,i){let l="";if(!Nr(i)||(/^w/i.test(n)&&(t=n+t,n="",l="http://"),!lu(t)))return!1;const o=ou(t+r);if(!o[0])return!1;const a={type:"link",title:null,url:l+n+o[0],children:[{type:"text",value:n+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function iu(e,n,t,r){return!Nr(r,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function lu(e){const n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function ou(e){const n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let t=n[0],r=t.indexOf(")");const i=Wn(e,"(");let l=Wn(e,")");for(;r!==-1&&i>l;)e+=t.slice(0,r+1),t=t.slice(r+1),r=t.indexOf(")"),l++;return[e,t]}function Nr(e,n){const t=e.input.charCodeAt(e.index-1);return(e.index===0||Pe(t)||ut(t))&&(!n||t!==47)}_r.peek=du;function au(){this.buffer()}function su(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function uu(){this.buffer()}function cu(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function hu(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.type,t.identifier=fe(this.sliceSerialize(e)).toLowerCase(),t.label=n}function fu(e){this.exit(e)}function pu(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.type,t.identifier=fe(this.sliceSerialize(e)).toLowerCase(),t.label=n}function mu(e){this.exit(e)}function du(){return"["}function _r(e,n,t,r){const i=t.createTracker(r);let l=i.move("[^");const o=t.enter("footnoteReference"),a=t.enter("reference");return l+=i.move(t.safe(t.associationId(e),{after:"]",before:l})),a(),o(),l+=i.move("]"),l}function gu(){return{enter:{gfmFootnoteCallString:au,gfmFootnoteCall:su,gfmFootnoteDefinitionLabelString:uu,gfmFootnoteDefinition:cu},exit:{gfmFootnoteCallString:hu,gfmFootnoteCall:fu,gfmFootnoteDefinitionLabelString:pu,gfmFootnoteDefinition:mu}}}function xu(e){let n=!1;return e&&e.firstLineBlank&&(n=!0),{handlers:{footnoteDefinition:t,footnoteReference:_r},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function t(r,i,l,o){const a=l.createTracker(o);let s=a.move("[^");const c=l.enter("footnoteDefinition"),h=l.enter("label");return s+=a.move(l.safe(l.associationId(r),{before:s,after:"]"})),h(),s+=a.move("]:"),r.children&&r.children.length>0&&(a.shift(4),s+=a.move((n?` 15`:" ")+l.indentLines(l.containerFlow(r,a.current()),n?jr:yu))),c(),s}}function yu(e,n,t){return n===0?e:jr(e,n,t)}function jr(e,n,t){return(t?"":" ")+e}var ku=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Rr.peek=Cu;function bu(){return{canContainEols:["delete"],enter:{strikethrough:vu},exit:{strikethrough:Su}}}function wu(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ku}],handlers:{delete:Rr}}}function vu(e){this.enter({type:"delete",children:[]},e)}function Su(e){this.exit(e)}function Rr(e,n,t,r){const i=t.createTracker(r),l=t.enter("strikethrough");let o=i.move("~~");return o+=t.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),l(),o}function Cu(){return"~"}function Eu(e){return e.length}function Iu(e,n){const t=n||{},r=(t.align||[]).concat(),i=t.stringLength||Eu,l=[],o=[],a=[],s=[];let c=0,h=-1;for(;++h<e.length;){const v=[],I=[];let x=-1;for(e[h].length>c&&(c=e[h].length);++x<e[h].length;){const S=Au(e[h][x]);if(t.alignDelimiters!==!1){const E=i(S);I[x]=E,(s[x]===void 0||E>s[x])&&(s[x]=E)}
vendor: 16,376 bytes, lines 15-29
15v.push(S)}o[h]=v,a[h]=I}let u=-1;if(typeof r=="object"&&"length"in r)for(;++u<c;)l[u]=Gn(r[u]);else{const v=Gn(r);for(;++u<c;)l[u]=v}u=-1;const p=[],f=[];for(;++u<c;){const v=l[u];let I="",x="";v===99?(I=":",x=":"):v===108?I=":":v===114&&(x=":");let S=t.alignDelimiters===!1?1:Math.max(1,s[u]-I.length-x.length);const E=I+"-".repeat(S)+x;t.alignDelimiters!==!1&&(S=I.length+S+x.length,S>s[u]&&(s[u]=S),f[u]=S),p[u]=E}o.splice(1,0,p),a.splice(1,0,f),h=-1;const g=[];for(;++h<o.length;){const v=o[h],I=a[h];u=-1;const x=[];for(;++u<c;){const S=v[u]||"";let E="",F="";if(t.alignDelimiters!==!1){const _=s[u]-(I[u]||0),w=l[u];w===114?E=" ".repeat(_):w===99?_%2?(E=" ".repeat(_/2+.5),F=" ".repeat(_/2-.5)):(E=" ".repeat(_/2),F=E):F=" ".repeat(_)}t.delimiterStart!==!1&&!u&&x.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&S==="")&&(t.delimiterStart!==!1||u)&&x.push(" "),t.alignDelimiters!==!1&&x.push(E),x.push(S),t.alignDelimiters!==!1&&x.push(F),t.padding!==!1&&x.push(" "),(t.delimiterEnd!==!1||u!==c-1)&&x.push("|")}g.push(t.delimiterEnd===!1?x.join("").replace(/ +$/,""):x.join(""))}return g.join(` 16`)}function Au(e){return e==null?"":String(e)}function Gn(e){const n=typeof e=="string"?e.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}function Tu(e,n,t,r){const i=t.enter("blockquote"),l=t.createTracker(r);l.move("> "),l.shift(2);const o=t.indentLines(t.containerFlow(e,l.current()),Pu);return i(),o}function Pu(e,n,t){return">"+(t?"":" ")+e}function Lu(e,n){return Yn(e,n.inConstruct,!0)&&!Yn(e,n.notInConstruct,!1)}function Yn(e,n,t){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return t;let r=-1;for(;++r<n.length;)if(e.includes(n[r]))return!0;return!1}function Qn(e,n,t,r){let i=-1;for(;++i<t.unsafe.length;)if(t.unsafe[i].character===` 17`&&Lu(t.stack,t.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\ 18`}function zu(e,n){const t=String(e);let r=t.indexOf(n),i=r,l=0,o=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++l>o&&(o=l):l=1,i=r+n.length,r=t.indexOf(n,i);return o}function Du(e,n){return!!(n.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Fu(e){const n=e.options.fence||"`";if(n!=="`"&&n!=="~")throw new Error("Cannot serialize code with `"+n+"` for `options.fence`, expected `` ` `` or `~`");return n}function Nu(e,n,t,r){const i=Fu(t),l=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(Du(e,t)){const u=t.enter("codeIndented"),p=t.indentLines(l,_u);return u(),p}const a=t.createTracker(r),s=i.repeat(Math.max(zu(l,i)+1,3)),c=t.enter("codeFenced");let h=a.move(s);if(e.lang){const u=t.enter(`codeFencedLang${o}`);h+=a.move(t.safe(e.lang,{before:h,after:" ",encode:["`"],...a.current()})),u()}if(e.lang&&e.meta){const u=t.enter(`codeFencedMeta${o}`);h+=a.move(" "),h+=a.move(t.safe(e.meta,{before:h,after:` 19`,encode:["`"],...a.current()})),u()}return h+=a.move(` 20`),l&&(h+=a.move(l+` 21`)),h+=a.move(s),c(),h}function _u(e,n,t){return(t?"":" ")+e}function $t(e){const n=e.options.quote||'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize title with `"+n+"` for `options.quote`, expected `\"`, or `'`");return n}function ju(e,n,t,r){const i=$t(t),l=i==='"'?"Quote":"Apostrophe",o=t.enter("definition");let a=t.enter("label");const s=t.createTracker(r);let c=s.move("[");return c+=s.move(t.safe(t.associationId(e),{before:c,after:"]",...s.current()})),c+=s.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=t.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(t.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(a=t.enter("destinationRaw"),c+=s.move(t.safe(e.url,{before:c,after:e.title?" ":` 22`,...s.current()}))),a(),e.title&&(a=t.enter(`title${l}`),c+=s.move(" "+i),c+=s.move(t.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),a()),o(),c}function Ru(e){const n=e.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}function Qe(e){return"&#x"+e.toString(16).toUpperCase()+";"}function at(e,n,t){const r=je(e),i=je(n);return r===void 0?i===void 0?t==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Or.peek=Ou;function Or(e,n,t,r){const i=Ru(t),l=t.enter("emphasis"),o=t.createTracker(r),a=o.move(i);let s=o.move(t.containerPhrasing(e,{after:i,before:a,...o.current()}));const c=s.charCodeAt(0),h=at(r.before.charCodeAt(r.before.length-1),c,i);h.inside&&(s=Qe(c)+s.slice(1));const u=s.charCodeAt(s.length-1),p=at(r.after.charCodeAt(0),u,i);p.inside&&(s=s.slice(0,-1)+Qe(u));const f=o.move(i);return l(),t.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},a+s+f}function Ou(e,n,t){return t.options.emphasis||"*"}function Mu(e,n){let t=!1;return Zt(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return t=!0,!1}),!!((!e.depth||e.depth<3)&&Xt(e)&&(n.options.setext||t))}function Bu(e,n,t,r){const i=Math.max(Math.min(6,e.depth||1),1),l=t.createTracker(r);if(Mu(e,t)){const h=t.enter("headingSetext"),u=t.enter("phrasing"),p=t.containerPhrasing(e,{...l.current(),before:` 23`,after:` 24`});return u(),h(),p+` 25`+(i===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(` 26`))+1))}const o="#".repeat(i),a=t.enter("headingAtx"),s=t.enter("phrasing");l.move(o+" ");let c=t.containerPhrasing(e,{before:"# ",after:` 27`,...l.current()});return/^[\t ]/.test(c)&&(c=Qe(c.charCodeAt(0))+c.slice(1)),c=c?o+" "+c:o,t.options.closeAtx&&(c+=" "+o),s(),a(),c}Mr.peek=Hu;function Mr(e){return e.value||""}function Hu(){return"<"}Br.peek=Uu;function Br(e,n,t,r){const i=$t(t),l=i==='"'?"Quote":"Apostrophe",o=t.enter("image");let a=t.enter("label");const s=t.createTracker(r);let c=s.move("![");return c+=s.move(t.safe(e.alt,{before:c,after:"]",...s.current()})),c+=s.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=t.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(t.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(a=t.enter("destinationRaw"),c+=s.move(t.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),a(),e.title&&(a=t.enter(`title${l}`),c+=s.move(" "+i),c+=s.move(t.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),a()),c+=s.move(")"),o(),c}function Uu(){return"!"}Hr.peek=Vu;function Hr(e,n,t,r){const i=e.referenceType,l=t.enter("imageReference");let o=t.enter("label");const a=t.createTracker(r);let s=a.move("![");const c=t.safe(e.alt,{before:s,after:"]",...a.current()});s+=a.move(c+"]["),o();const h=t.stack;t.stack=[],o=t.enter("reference");const u=t.safe(t.associationId(e),{before:s,after:"]",...a.current()});return o(),t.stack=h,l(),i==="full"||!c||c!==u?s+=a.move(u+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function Vu(){return"!"}Ur.peek=qu;function Ur(e,n,t){let r=e.value||"",i="`",l=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++l<t.unsafe.length;){const o=t.unsafe[l],a=t.compilePattern(o);let s;if(o.atBreak)for(;s=a.exec(r);){let c=s.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(s.index+1)}}return i+r+i}function qu(){return"`"}function Vr(e,n){const t=Xt(e);return!!(!n.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(t===e.url||"mailto:"+t===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}qr.peek=Wu;function qr(e,n,t,r){const i=$t(t),l=i==='"'?"Quote":"Apostrophe",o=t.createTracker(r);let a,s;if(Vr(e,t)){const h=t.stack;t.stack=[],a=t.enter("autolink");let u=o.move("<");return u+=o.move(t.containerPhrasing(e,{before:u,after:">",...o.current()})),u+=o.move(">"),a(),t.stack=h,u}a=t.enter("link"),s=t.enter("label");let c=o.move("[");return c+=o.move(t.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=t.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(t.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(s=t.enter("destinationRaw"),c+=o.move(t.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),s(),e.title&&(s=t.enter(`title${l}`),c+=o.move(" "+i),c+=o.move(t.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),s()),c+=o.move(")"),a(),c}function Wu(e,n,t){return Vr(e,t)?"<":"["}Wr.peek=Gu;function Wr(e,n,t,r){const i=e.referenceType,l=t.enter("linkReference");let o=t.enter("label");const a=t.createTracker(r);let s=a.move("[");const c=t.containerPhrasing(e,{before:s,after:"]",...a.current()});s+=a.move(c+"]["),o();const h=t.stack;t.stack=[],o=t.enter("reference");const u=t.safe(t.associationId(e),{before:s,after:"]",...a.current()});return o(),t.stack=h,l(),i==="full"||!c||c!==u?s+=a.move(u+"]"):i==="shortcut"?s=s.slice(0,-1):s+=a.move("]"),s}function Gu(){return"["}function en(e){const n=e.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function Yu(e){const n=en(e),t=e.options.bulletOther;if(!t)return n==="*"?"-":"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(t===n)throw new Error("Expected `bullet` (`"+n+"`) and `bulletOther` (`"+t+"`) to be different");return t}function Qu(e){const n=e.options.bulletOrdered||".";if(n!=="."&&n!==")")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOrdered`, expected `.` or `)`");return n}function Gr(e){const n=e.options.rule||"*";if(n!=="*"&&n!=="-"&&n!=="_")throw new Error("Cannot serialize rules with `"+n+"` for `options.rule`, expected `*`, `-`, or `_`");return n}function Xu(e,n,t,r){const i=t.enter("list"),l=t.bulletCurrent;let o=e.ordered?Qu(t):en(t);const a=e.ordered?o==="."?")":".":Yu(t);let s=n&&t.bulletLastUsed?o===t.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&h&&(!h.children||!h.children[0])&&t.stack[t.stack.length-1]==="list"&&t.stack[t.stack.length-2]==="listItem"&&t.stack[t.stack.length-3]==="list"&&t.stack[t.stack.length-4]==="listItem"&&t.indexStack[t.indexStack.length-1]===0&&t.indexStack[t.indexStack.length-2]===0&&t.indexStack[t.indexStack.length-3]===0&&(s=!0),Gr(t)===o&&h){let u=-1;for(;++u<e.children.length;){const p=e.children[u];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(o=a),t.bulletCurrent=o;const c=t.containerFlow(e,r);return t.bulletLastUsed=o,t.bulletCurrent=l,i(),c}function Ku(e){const n=e.options.listItemIndent||"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function Ju(e,n,t,r){const i=Ku(t);let l=t.bulletCurrent||en(t);n&&n.type==="list"&&n.ordered&&(l=(typeof n.start=="number"&&n.start>-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+l);let o=l.length+1;(i==="tab"||i==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(o=Math.ceil(o/4)*4);const a=t.createTracker(r);a.move(l+" ".repeat(o-l.length)),a.shift(o);const s=t.enter("listItem"),c=t.indentLines(t.containerFlow(e,a.current()),h);return s(),c;function h(u,p,f){return p?(f?"":" ".repeat(o))+u:(f?l:l+" ".repeat(o-l.length))+u}}function Zu(e,n,t,r){const i=t.enter("paragraph"),l=t.enter("phrasing"),o=t.containerPhrasing(e,r);return l(),i(),o}const $u=ht(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ec(e,n,t,r){return(e.children.some(function(i){return $u(i)})?t.containerPhrasing:t.containerFlow).call(t,e,r)}function tc(e){const n=e.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}Yr.peek=nc;function Yr(e,n,t,r){const i=tc(t),l=t.enter("strong"),o=t.createTracker(r),a=o.move(i+i);let s=o.move(t.containerPhrasing(e,{after:i,before:a,...o.current()}));const c=s.charCodeAt(0),h=at(r.before.charCodeAt(r.before.length-1),c,i);h.inside&&(s=Qe(c)+s.slice(1));const u=s.charCodeAt(s.length-1),p=at(r.after.charCodeAt(0),u,i);p.inside&&(s=s.slice(0,-1)+Qe(u));const f=o.move(i+i);return l(),t.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},a+s+f}function nc(e,n,t){return t.options.strong||"*"}function rc(e,n,t,r){return t.safe(e.value,r)}function ic(e){const n=e.options.ruleRepetition||3;if(n<3)throw new Error("Cannot serialize rules with repetition `"+n+"` for `options.ruleRepetition`, expected `3` or more");return n}function lc(e,n,t){const r=(Gr(t)+(t.options.ruleSpaces?" ":"")).repeat(ic(t));return t.options.ruleSpaces?r.slice(0,-1):r}const Qr={blockquote:Tu,break:Qn,code:Nu,definition:ju,emphasis:Or,hardBreak:Qn,heading:Bu,html:Mr,image:Br,imageReference:Hr,inlineCode:Ur,link:qr,linkReference:Wr,list:Xu,listItem:Ju,paragraph:Zu,root:ec,strong:Yr,text:rc,thematicBreak:lc};function oc(){return{enter:{table:ac,tableData:Xn,tableHeader:Xn,tableRow:uc},exit:{codeText:cc,table:sc,tableData:Lt,tableHeader:Lt,tableRow:Lt}}}function ac(e){const n=e._align;this.enter({type:"table",align:n.map(function(t){return t==="none"?null:t}),children:[]},e),this.data.inTable=!0}function sc(e){this.exit(e),this.data.inTable=void 0}function uc(e){this.enter({type:"tableRow",children:[]},e)}function Lt(e){this.exit(e)}function Xn(e){this.enter({type:"tableCell",children:[]},e)}function cc(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,hc));const t=this.stack[this.stack.length-1];t.type,t.value=n,this.exit(e)}function hc(e,n){return n==="|"?n:e}function fc(e){const n=e||{},t=n.tableCellPadding,r=n.tablePipeAlign,i=n.stringLength,l=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` 28`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:o,tableCell:s,tableRow:a}};function o(f,g,v,I){return c(h(f,v,I),f.align)}function a(f,g,v,I){const x=c([u(f,v,I)]);return x.slice(0,x.indexOf(` 29`))}function s(f,g,v,I){const x=v.enter("tableCell"),S=v.enter("phrasing"),E=v.containerPhrasing(f,{...I,before:l,after:l});return S(),x(),E}function c(f,g){return Iu(f,{align:g,alignDelimiters:r,padding:t,stringLength:i})}function h(f,g,v){const I=f.children;let x=-1;const S=[],E=g.enter("table");for(;++x<I.length;)S[x]=u(I[x],g,v);return E(),S}function u(f,g,v){const I=f.children;let x=-1;const S=[],E=g.enter("tableRow");for(;++x<I.length;)S[x]=s(I[x],f,g,v);return E(),S}function p(f,g,v){let I=Qr.inlineCode(f,g,v);return v.stack.includes("tableCell")&&(I=I.replace(/\|/g,"\\$&")),I}}function pc(){return{exit:{taskListCheckValueChecked:Kn,taskListCheckValueUnchecked:Kn,paragraph:dc}}}function mc(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:gc}}}function Kn(e){const n=this.stack[this.stack.length-2];n.type,n.checked=e.type==="taskListCheckValueChecked"}function dc(e){const n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const r=t.children[0];if(r&&r.type==="text"){const i=n.children;let l=-1,o;for(;++l<i.length;){const a=i[l];if(a.type==="paragraph"){o=a;break}}o===t&&(r.value=r.value.slice(1),r.value.length===0?t.children.shift():t.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,t.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function gc(e,n,t,r){const i=e.children[0],l=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",a=t.createTracker(r);l&&a.move(o);let s=Qr.listItem(e,n,t,{...r,...a.current()});return l&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),s;function c(h){return h+o}}
vendor: 6,077 bytes, line 29
29function xc(){return[Xs(),gu(),bu(),oc(),pc()]}function yc(e){return{extensions:[Ks(),xu(e),wu(),fc(e),mc()]}}var kc={tokenize:Ec,partial:!0},Xr={tokenize:Ic,partial:!0},Kr={tokenize:Ac,partial:!0},Jr={tokenize:Tc,partial:!0},bc={tokenize:Pc,partial:!0},Zr={name:"wwwAutolink",tokenize:Sc,previous:ei},$r={name:"protocolAutolink",tokenize:Cc,previous:ti},we={name:"emailAutolink",tokenize:vc,previous:ni},xe={};function wc(){return{text:xe}}var Te=48;for(;Te<123;)xe[Te]=we,Te++,Te===58?Te=65:Te===91&&(Te=97);xe[43]=we;xe[45]=we;xe[46]=we;xe[95]=we;xe[72]=[we,$r];xe[104]=[we,$r];xe[87]=[we,Zr];xe[119]=[we,Zr];function vc(e,n,t){const r=this;let i,l;return o;function o(u){return!Ht(u)||!ni.call(r,r.previous)||tn(r.events)?t(u):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(u))}function a(u){return Ht(u)?(e.consume(u),a):u===64?(e.consume(u),s):t(u)}function s(u){return u===46?e.check(bc,h,c)(u):u===45||u===95||ee(u)?(l=!0,e.consume(u),s):h(u)}function c(u){return e.consume(u),i=!0,s}function h(u){return l&&i&&ne(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(u)):t(u)}}function Sc(e,n,t){const r=this;return i;function i(o){return o!==87&&o!==119||!ei.call(r,r.previous)||tn(r.events)?t(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(kc,e.attempt(Xr,e.attempt(Kr,l),t),t)(o))}function l(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(o)}}function Cc(e,n,t){const r=this;let i="",l=!1;return o;function o(u){return(u===72||u===104)&&ti.call(r,r.previous)&&!tn(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(u),e.consume(u),a):t(u)}function a(u){if(ne(u)&&i.length<5)return i+=String.fromCodePoint(u),e.consume(u),a;if(u===58){const p=i.toLowerCase();if(p==="http"||p==="https")return e.consume(u),s}return t(u)}function s(u){return u===47?(e.consume(u),l?c:(l=!0,s)):t(u)}function c(u){return u===null||lt(u)||Y(u)||Pe(u)||ut(u)?t(u):e.attempt(Xr,e.attempt(Kr,h),t)(u)}function h(u){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(u)}}function Ec(e,n,t){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),l):t(o)}function l(o){return o===null?t(o):n(o)}}function Ic(e,n,t){let r,i,l;return o;function o(c){return c===46||c===95?e.check(Jr,s,a)(c):c===null||Y(c)||Pe(c)||c!==45&&ut(c)?s(c):(l=!0,e.consume(c),o)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function s(c){return i||r||!l?t(c):n(c)}}function Ac(e,n){let t=0,r=0;return i;function i(o){return o===40?(t++,e.consume(o),i):o===41&&r<t?l(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(Jr,n,l)(o):o===null||Y(o)||Pe(o)?n(o):(e.consume(o),i)}function l(o){return o===41&&r++,e.consume(o),i}}function Tc(e,n,t){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),l):a===93?(e.consume(a),i):a===60||a===null||Y(a)||Pe(a)?n(a):t(a)}function i(a){return a===null||a===40||a===91||Y(a)||Pe(a)?n(a):r(a)}function l(a){return ne(a)?o(a):t(a)}function o(a){return a===59?(e.consume(a),r):ne(a)?(e.consume(a),o):t(a)}}function Pc(e,n,t){return r;function r(l){return e.consume(l),i}function i(l){return ee(l)?t(l):n(l)}}function ei(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Y(e)}function ti(e){return!ne(e)}function ni(e){return!(e===47||Ht(e))}function Ht(e){return e===43||e===45||e===46||e===95||ee(e)}function tn(e){let n=e.length,t=!1;for(;n--;){const r=e[n][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){t=!0;break}if(r._gfmAutolinkLiteralWalkedInto){t=!1;break}}return e.length>0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var Lc={tokenize:Oc,partial:!0};function zc(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:_c,continuation:{tokenize:jc},exit:Rc}},text:{91:{name:"gfmFootnoteCall",tokenize:Nc},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Dc,resolveTo:Fc}}}}function Dc(e,n,t){const r=this;let i=r.events.length;const l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const s=r.events[i][1];if(s.type==="labelImage"){o=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return a;function a(s){if(!o||!o._balanced)return t(s);const c=fe(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!l.includes(c.slice(1))?t(s):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),n(s))}}function Fc(e,n){let t=e.length;for(;t--;)if(e[t][1].type==="labelImage"&&e[t][0]==="enter"){e[t][1];break}e[t+1][1].type="data",e[t+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[t+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[t+3][1].end),end:Object.assign({},e[t+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},a=[e[t+1],e[t+2],["enter",r,n],e[t+3],e[t+4],["enter",i,n],["exit",i,n],["enter",l,n],["enter",o,n],["exit",o,n],["exit",l,n],e[e.length-2],e[e.length-1],["exit",r,n]];return e.splice(t,e.length-t+1,...a),e}function Nc(e,n,t){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l=0,o;return a;function a(u){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),s}function s(u){return u!==94?t(u):(e.enter("gfmFootnoteCallMarker"),e.consume(u),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(u){if(l>999||u===93&&!o||u===null||u===91||Y(u))return t(u);
vendor: 4,176 bytes, line 29
29if(u===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return i.includes(fe(r.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):t(u)}return Y(u)||(o=!0),l++,e.consume(u),u===92?h:c}function h(u){return u===91||u===92||u===93?(e.consume(u),l++,c):c(u)}}function _c(e,n,t){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l,o=0,a;return s;function s(g){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(g){return g===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):t(g)}function h(g){if(o>999||g===93&&!a||g===null||g===91||Y(g))return t(g);if(g===93){e.exit("chunkString");const v=e.exit("gfmFootnoteDefinitionLabelString");return l=fe(r.sliceSerialize(v)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(g),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Y(g)||(a=!0),o++,e.consume(g),g===92?u:h}function u(g){return g===91||g===92||g===93?(e.consume(g),o++,h):h(g)}function p(g){return g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),i.includes(l)||i.push(l),V(e,f,"gfmFootnoteDefinitionWhitespace")):t(g)}function f(g){return n(g)}}function jc(e,n,t){return e.check(Je,n,e.attempt(Lc,n,t))}function Rc(e){e.exit("gfmFootnoteDefinition")}function Oc(e,n,t){const r=this;return V(e,i,"gfmFootnoteDefinitionIndent",5);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?n(l):t(l)}}function Mc(e){let n=(e||{}).singleTilde;const t={name:"strikethrough",tokenize:i,resolveAll:r};return n==null&&(n=!0),{text:{126:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}};function r(l,o){let a=-1;for(;++a<l.length;)if(l[a][0]==="enter"&&l[a][1].type==="strikethroughSequenceTemporary"&&l[a][1]._close){let s=a;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._open&&l[a][1].end.offset-l[a][1].start.offset===l[s][1].end.offset-l[s][1].start.offset){l[a][1].type="strikethroughSequence",l[s][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},l[s][1].start),end:Object.assign({},l[a][1].end)},h={type:"strikethroughText",start:Object.assign({},l[s][1].end),end:Object.assign({},l[a][1].start)},u=[["enter",c,o],["enter",l[s][1],o],["exit",l[s][1],o],["enter",h,o]],p=o.parser.constructs.insideSpan.null;p&&se(u,u.length,0,ct(p,l.slice(s+1,a),o)),se(u,u.length,0,[["exit",h,o],["enter",l[a][1],o],["exit",l[a][1],o],["exit",c,o]]),se(l,s-1,a-s+3,u),a=s+u.length-2;break}}for(a=-1;++a<l.length;)l[a][1].type==="strikethroughSequenceTemporary"&&(l[a][1].type="data");return l}function i(l,o,a){const s=this.previous,c=this.events;let h=0;return u;function u(f){return s===126&&c[c.length-1][1].type!=="characterEscape"?a(f):(l.enter("strikethroughSequenceTemporary"),p(f))}function p(f){const g=je(s);if(f===126)return h>1?a(f):(l.consume(f),h++,p);if(h<2&&!n)return a(f);const v=l.exit("strikethroughSequenceTemporary"),I=je(f);return v._open=!I||I===2&&!!g,v._close=!g||g===2&&!!I,o(f)}}}var Bc=class{constructor(){this.map=[]}add(e,n,t){Hc(this,e,n,t)}consume(e){if(this.map.sort(function(i,l){return i[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const t=[];for(;n>0;)n-=1,t.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];t.push(e.slice()),e.length=0;let r=t.pop();for(;r;){for(const i of r)e.push(i);r=t.pop()}this.map.length=0}};function Hc(e,n,t,r){let i=0;if(!(t===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===n){e.map[i][1]+=t,e.map[i][2].push(...r);return}i+=1}e.map.push([n,t,r])}}function Uc(e,n){let t=!1;const r=[];for(;n<e.length;){const i=e[n];if(t){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[n+1][1].type==="tableDelimiterMarker"?"left"
vendor: 4,738 bytes, line 29
29:"none");else if(i[1].type==="tableContent"){if(e[n-1][1].type==="tableDelimiterMarker"){const l=r.length-1;r[l]=r[l]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(t=!0);n+=1}return r}function Vc(){return{flow:{null:{name:"table",tokenize:qc,resolveAll:Wc}}}}function qc(e,n,t){const r=this;let i=0,l=0,o;return a;function a(y){let L=r.events.length-1;for(;L>-1;){const G=r.events[L][1].type;if(G==="lineEnding"||G==="linePrefix")L--;else break}const z=L>-1?r.events[L][1].type:null,q=z==="tableHead"||z==="tableRow"?w:s;return q===w&&r.parser.lazy[r.now().line]?t(y):q(y)}function s(y){return e.enter("tableHead"),e.enter("tableRow"),c(y)}function c(y){return y===124||(o=!0,l+=1),h(y)}function h(y){return y===null?t(y):N(y)?l>1?(l=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),f):t(y):H(y)?V(e,h,"whitespace")(y):(l+=1,o&&(o=!1,i+=1),y===124?(e.enter("tableCellDivider"),e.consume(y),e.exit("tableCellDivider"),o=!0,h):(e.enter("data"),u(y)))}function u(y){return y===null||y===124||Y(y)?(e.exit("data"),h(y)):(e.consume(y),y===92?p:u)}function p(y){return y===92||y===124?(e.consume(y),u):u(y)}function f(y){return r.interrupt=!1,r.parser.lazy[r.now().line]?t(y):(e.enter("tableDelimiterRow"),o=!1,H(y)?V(e,g,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(y):g(y))}function g(y){return y===45||y===58?I(y):y===124?(o=!0,e.enter("tableCellDivider"),e.consume(y),e.exit("tableCellDivider"),v):_(y)}function v(y){return H(y)?V(e,I,"whitespace")(y):I(y)}function I(y){return y===58?(l+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(y),e.exit("tableDelimiterMarker"),x):y===45?(l+=1,x(y)):y===null||N(y)?F(y):_(y)}function x(y){return y===45?(e.enter("tableDelimiterFiller"),S(y)):_(y)}function S(y){return y===45?(e.consume(y),S):y===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(y),e.exit("tableDelimiterMarker"),E):(e.exit("tableDelimiterFiller"),E(y))}function E(y){return H(y)?V(e,F,"whitespace")(y):F(y)}function F(y){return y===124?g(y):y===null||N(y)?!o||i!==l?_(y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(y)):_(y)}function _(y){return t(y)}function w(y){return e.enter("tableRow"),M(y)}function M(y){return y===124?(e.enter("tableCellDivider"),e.consume(y),e.exit("tableCellDivider"),M):y===null||N(y)?(e.exit("tableRow"),n(y)):H(y)?V(e,M,"whitespace")(y):(e.enter("data"),T(y))}function T(y){return y===null||y===124||Y(y)?(e.exit("data"),M(y)):(e.consume(y),y===92?U:T)}function U(y){return y===92||y===124?(e.consume(y),T):T(y)}}function Wc(e,n){let t=-1,r=!0,i=0,l=[0,0,0,0],o=[0,0,0,0],a=!1,s=0,c,h,u;const p=new Bc;for(;++t<e.length;){const f=e[t],g=f[1];f[0]==="enter"?g.type==="tableHead"?(a=!1,s!==0&&(Jn(p,n,s,c,h),h=void 0,s=0),c={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(t,0,[["enter",c,n]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(r=!0,u=void 0,l=[0,0,0,0],o=[0,t+1,0,0],a&&(a=!1,h={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},p.add(t,0,[["enter",h,n]])),i=g.type==="tableDelimiterRow"?2:h?3:1):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(l[1]!==0&&(o[0]=o[1],u=rt(p,n,l,i,void 0,u),l=[0,0,0,0]),o[2]=t)):g.type==="tableCellDivider"&&(r?r=!1:(l[1]!==0&&(o[0]=o[1],u=rt(p,n,l,i,void 0,u)),l=o,o=[l[1],t,0,0])):g.type==="tableHead"?(a=!0,s=t):g.type==="tableRow"||g.type==="tableDelimiterRow"?(s=t,l[1]!==0?(o[0]=o[1],u=rt(p,n,l,i,t,u)):o[1]!==0&&(u=rt(p,n,o,i,t,u)),i=0):i&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(o[3]=t)}for(s!==0&&Jn(p,n,s,c,h),p.consume(n.events),t=-1;++t<n.events.length;){const f=n.events[t];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=Uc(n.events,t))}return e}function rt(e,n,t,r,i,l){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";t[0]!==0&&(l.end=Object.assign({},Ne(n.events,t[0])),e.add(t[0],0,[["exit",l,n]]));const s=Ne(n.events,t[1]);if(l={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(t[1],0,[["enter",l,n]]),t[2]!==0){const c=Ne(n.events,t[2]),h=Ne(n.events,t[3]),u={type:a,start:Object.assign({},c),end:Object.assign({},h)};if(e.add(t[2],0,[["enter",u,n]]),r!==2){const p=n.events[t[2]],f=n.events[t[3]];if(p[1].end=Object.assign({},f[1].end),p[1].type="chunkText",p[1].contentType="text",t[3]>t[2]+1){const g=t[2]+1,v=t[3]-t[2]-1;e.add(g,v,[])}}e.add(t[3]+1,0,[["exit",u,n]])}return i!==void 0&&(l.end=Object.assign({},Ne(n.events,i)),e.add(i,0,[["exit",l,n]]),l=void 0),l}function Jn(e,n,t,r,i){const l=[],o=Ne(n.events,t);
29i&&(i.end=Object.assign({},o),l.push(["exit",i,n])),r.end=Object.assign({},o),l.push(["exit",r,n]),e.add(t+1,0,l)}function Ne(e,n){const t=e[n],r=t[0]==="enter"?"start":"end";return t[1][r]}var Gc={name:"tasklistCheck",tokenize:Qc};function Yc(){return{text:{91:Gc}}}function Qc(e,n,t){const r=this;return i;function i(s){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?t(s):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),l)}function l(s){return Y(s)?(e.enter("taskListCheckValueUnchecked"),e.consume(s),e.exit("taskListCheckValueUnchecked"),o):s===88||s===120?(e.enter("taskListCheckValueChecked"),e.consume(s),e.exit("taskListCheckValueChecked"),o):t(s)}function o(s){return s===93?(e.enter("taskListCheckMarker"),e.consume(s),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):t(s)}function a(s){return N(s)?n(s):H(s)?e.check({tokenize:Xc},n,t)(s):t(s)}}function Xc(e,n,t){return V(e,r,"whitespace");function r(i){return i===null?t(i):n(i)}}function Kc(e){return dr([wc(),zc(),Mc(e),Vc(),Yc()])}var Jc={};function Zc(e){const n=this,t=e||Jc,r=n.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),l=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Kc(t)),l.push(xc()),o.push(yc(t))}var $c=({remarkPlugins:e,gfm:n=!0,...t})=>(0,b.jsx)(Ms,{remarkPlugins:e??(n?[Zc]:void 0),...t}),eh=$c;function th(e){return(0,b.jsx)(eh,{...e})}var Ut=typeof window<"u",Ve=({to:e,children:n,className:t})=>(0,b.jsx)("a",{href:e,className:t,children:n}),nh=()=>e=>{Ut&&(window.location.href=e)},Zn={Rocket:Ai,FolderOpen:yi,Image:Ci,Video:Ti,Mic:bi,Film:xi,Download:wi,CreditCard:Pi,Users:Ii,Lightbulb:Si,Sparkles:mi,BookOpen:qe,Star:er},zt={blue:"bg-info/10 text-info border-info/20",purple:"bg-primary/10 text-primary border-primary/20",green:"bg-success/10 text-success border-success/20",red:"bg-destructive/10 text-destructive border-destructive/20",orange:"bg-warning/10 text-warning border-warning/20",pink:"bg-primary/10 text-primary border-primary/20",cyan:"bg-info/10 text-info border-info/20",yellow:"bg-accent/10 text-accent border-accent/20",indigo:"bg-primary/10 text-primary border-primary/20",amber:"bg-accent/10 text-accent border-accent/20",gray:"bg-muted text-muted-foreground border-border"},rh={beginner:"bg-success/10 text-success border-success/20",intermediate:"bg-warning/10 text-warning border-warning/20",advanced:"bg-destructive/10 text-destructive border-destructive/20"};const ih=({slug:e,guide:n,relatedGuides:t,categoryMeta:r})=>{const i=e||(Ut?window.location.pathname.split("/")[2]:void 0),l=nh(),{user:o,isAuthenticated:a}=zi(),s=o?.is_impersonating,c=!!(n&&n.slug===i),[h,u]=(0,Ce.useState)(null),[p,f]=(0,Ce.useState)([]),[g,v]=(0,Ce.useState)(null),[I,x]=(0,Ce.useState)(!c&&!!i),[S,E]=(0,Ce.useState)(null),[F,_]=(0,Ce.useState)({}),[w,M]=(0,Ce.useState)({}),T=c?n??null:h,U=c?Array.isArray(t)?t:[]:p,y=c?r??null:g,L=!c&&I,z=T?F[T.slug]??!!T.is_bookmarked:!1,q=T?w[T.slug]??!!T.is_completed:!1,G=T?.title||"Learn",B=T?.description||"Explore M Studio guides, tutorials, and best practices.",j=T?.thumbnail_url,D=T?"article":"website",Q=T?.created_at,re=T?.updated_at||T?.created_at,m=T?{"@context":"https://schema.org","@type":"Article",headline:T.title,description:T.description,image:T.thumbnail_url||void 0,author:{"@type":"Person",name:"M Studio Editorial",jobTitle:"Content Team",worksFor:{"@type":"Organization",name:"M Studio",url:"https://mstudio.ai"}},publisher:{"@type":"Organization",name:"M Studio",url:"https://mstudio.ai",logo:{"@type":"ImageObject",url:"https://mstudio.ai/images/og-image.png"}},...Q?{datePublished:Q}:{},...re?{dateModified:re}:{}}:void 0;(0,Ce.useEffect)(()=>{if(i&&!c){if(h?.slug===i)return;pe(i)}},[i,c,h]);const pe=async P=>{x(!0);try{const W=await $e.get(P),ce=W.data.data;u(ce),f(W.data.related||[]),v(W.data.category_meta),ce.is_bookmarked!==void 0&&_(de=>({...de,[P]:!!ce.is_bookmarked})),ce.is_completed!==void 0&&M(de=>({...de,[P]:!!ce.is_completed}))}catch(W){console.error("Failed to fetch guide:",W),Ie.error("Could not find this guide."),l("/learn")}finally{x(!1)}},ue=async P=>{if(T)try{await $e.feedback(T.slug,P),E(P?"helpful":"not_helpful"),Ie.success("Thanks for your feedback.")}catch(W){console.error("Feedback failed:",W)}},d=async()=>
29{if(!T||!a){Ie.error("Log in to bookmark guides.");return}try{const P=await $e.bookmark(T.slug);_(W=>({...W,[T.slug]:P.data.is_bookmarked})),Ie.success(P.data.message)}catch(P){console.error("Bookmark failed:",P)}},me=async()=>{if(!T||!a){Ie.error("Log in to track your progress.");return}try{await $e.complete(T.slug),M(P=>({...P,[T.slug]:!0})),Ie.success("Guide marked as complete.")}catch(P){console.error("Complete failed:",P)}},ye=async()=>{if(!Ut)return;const P=window.location.href;if(navigator.share)try{await navigator.share({title:T?.title,text:T?.description,url:P})}catch{}else await navigator.clipboard.writeText(P),Ie.success("Link copied.")};if(L)return(0,b.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,b.jsx)(fn,{title:G,description:B,ogImage:j,ogType:D,structuredData:m}),(0,b.jsx)(pn,{}),(0,b.jsx)("main",{id:"main-content",className:hn("pb-16 px-4 sm:px-6 lg:px-8",s?"pt-[9.5rem]":"pt-28"),children:(0,b.jsx)("div",{className:"mx-auto max-w-4xl",children:(0,b.jsxs)("div",{className:"animate-pulse space-y-4",children:[(0,b.jsx)("div",{className:"h-8 w-48 bg-secondary rounded"}),(0,b.jsx)("div",{className:"h-12 w-3/4 bg-secondary rounded"}),(0,b.jsx)("div",{className:"h-4 w-full bg-secondary rounded"}),(0,b.jsx)("div",{className:"h-64 bg-secondary rounded-xl"})]})})})]});if(!T)return null;const $=y?Zn[y.icon]||qe:qe;return(0,b.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,b.jsx)(fn,{title:G,description:B,ogImage:j,ogType:D,structuredData:m}),(0,b.jsx)(pn,{}),(0,b.jsx)("main",{id:"main-content",className:hn("pb-16 px-4 sm:px-6 lg:px-8",s?"pt-[9.5rem]":"pt-28"),children:(0,b.jsxs)("div",{className:"mx-auto max-w-4xl",children:[(0,b.jsxs)("nav",{className:"flex items-center gap-2 text-sm text-muted-foreground mb-8",children:[(0,b.jsxs)(Ve,{to:"/learn",className:"hover:text-foreground flex items-center gap-1",children:[(0,b.jsx)(un,{className:"h-4 w-4","aria-hidden":"true"}),"Learn"]}),(0,b.jsx)(mt,{className:"h-4 w-4","aria-hidden":"true"}),y&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Ve,{to:`/learn?category=${T.category}`,className:"hover:text-foreground",children:y.label}),(0,b.jsx)(mt,{className:"h-4 w-4","aria-hidden":"true"})]}),(0,b.jsx)("span",{className:"text-foreground truncate",children:T.title})]}),(0,b.jsxs)("header",{className:"mb-8",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[y&&(0,b.jsx)("div",{className:`p-2 rounded-lg ${zt[y.color]||zt.gray}`,children:(0,b.jsx)($,{className:"h-5 w-5","aria-hidden":"true"})}),(0,b.jsx)("span",{className:`text-sm font-medium px-3 py-1 rounded-full border ${rh[T.difficulty]}`,children:T.difficulty}),T.is_featured&&(0,b.jsxs)("span",{className:"flex items-center gap-1 text-sm text-accent bg-accent/10 px-3 py-1 rounded-full",children:[(0,b.jsx)(er,{className:"h-3.5 w-3.5 fill-current","aria-hidden":"true"}),"Featured"]})]}),(0,b.jsx)("h1",{className:"text-4xl font-bold mb-3",children:T.title}),T.subtitle&&(0,b.jsx)("p",{className:"text-xl text-primary/80 mb-4",children:T.subtitle}),(0,b.jsx)("p",{className:"text-lg text-muted-foreground mb-6",children:T.description}),(0,b.jsxs)("div",{className:"flex flex-wrap items-center gap-4 text-sm text-muted-foreground",children:[(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(cn,{className:"h-4 w-4","aria-hidden":"true"}),T.read_time_minutes," min read"]}),T.view_count&&T.view_count>10&&(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(qe,{className:"h-4 w-4","aria-hidden":"true"}),T.view_count.toLocaleString()," views"]}),T.tags&&T.tags.length>0&&(0,b.jsx)("div",{className:"flex items-center gap-2",children:T.tags.map(P=>(0,b.jsx)("span",{className:"px-2 py-0.5 bg-secondary rounded text-xs",children:P},P))})]}),(0,b.jsxs)("div",{className:"flex items-center gap-3 mt-6 pt-6 border-t border-border",children:[(0,b.jsx)(Ae,{variant:"outline",size:"sm",onClick:d,children:z?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Ei,{className:"h-4 w-4 text-primary","aria-hidden":"true"})," ","Bookmarked"]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(fi,{className:"h-4 w-4","aria-hidden":"true"})," Bookmark"]})}),(0,b.jsxs)(Ae,{variant:"outline",size:"sm",onClick:ye,children:[(0,b.jsx)(di,{className:"h-4 w-4","aria-hidden":"true"}),"Share"]}),!q&&(0,b.jsxs)(Ae,{variant:"outline",size:"sm",onClick:me,children:[(0,b.jsx)(pt,{className:"h-4 w-4","aria-hidden":"true"}),"Mark complete"]}),q&&(0,b.jsxs)("span",{className:"text-sm text-success flex items-center gap-1",children:[(0,b.jsx)(pt,{className:"h-4 w-4","aria-hidden":"true"}),"Completed"]})]})]}),T.video_url&&(0,b.jsx)(dt,{className:"mb-8 overflow-hidden",children:(0,b.jsx)("div",{className:"aspect-video bg-black",children:(0,b.jsx)("iframe",{src:T.video_url,className:"w-full h-full",allowFullScreen:!0})})}),(0,b.jsx)("article",{className:"prose prose-invert prose-lg max-w-none mb-12",children:(0,b.jsx)(th,{components:{h2:({children:P})=>(0,b.jsx)("h2",{className:"text-2xl font-bold mt-10 mb-4 text-foreground border-b border-border pb-2",children:P}),h3:({children:P})=>(0,b.jsx)("h3",{className:"text-xl font-semibold mt-8 mb-3 text-foreground",children:P}),p:({children:P})=>(0,b.jsx)("p",{className:"text-muted-foreground leading-relaxed mb-4",children:P}),ul:({children:P})=>(0,b.jsx)("ul",{className:"list-disc list-inside space-y-2 text-muted-foreground mb-4",children:P}),ol:({children:P})=>(0,b.jsx)("ol",{className:"list-decimal list-inside space-y-2 text-muted-foreground mb-4",children:P}),li:({children:P})=>(0,b.jsx)("li",{className:"text-muted-foreground",children:P}),strong:({children:P})=>(0,b.jsx)("strong",{className:"text-foreground font-semibold",children:P}),code:({children:P,className:W})=>W?.includes("language-")?(0,b.jsx)("code",{className:"block bg-secondary/50 rounded-lg p-4 text-sm overflow-x-auto",children:P}):(0,b.jsx)("code",{className:"bg-secondary/50 px-1.5 py-0.5 rounded text-sm text-primary",children:P}),pre:({children:P})=>(0,b.jsx)("pre",{className:"bg-secondary/30 rounded-lg p-4 overflow-x-auto mb-4",children:P}),blockquote:({children:P})=>(0,b.jsx)("blockquote",{className:"border-l-4 border-primary/50 pl-4 italic text-muted-foreground my-4",children:P}),table:({children:P})=>(0,b.jsx)("div",{className:"overflow-x-auto mb-4",children:(0,b.jsx)("table",{className:"w-full border-collapse border border-border rounded-lg tabular-nums",children:P})}),th:({children:P})=>(0,b.jsx)("th",{className:"border border-border bg-secondary/50 px-4 py-2 text-left font-semibold text-foreground",children:P}),td:({children:P})=>(0,b.jsx)("td",{className:"border border-border px-4 py-2 text-muted-foreground",children:P}),a:({children:P,href:W})=>(0,b.jsxs)("a",{href:W,className:"text-primary hover:underline inline-flex items-center gap-1",target:W?.startsWith("http")?"_blank":void 0,rel:W?.startsWith("http")?"noopener noreferrer":void 0,children:[P,W?.startsWith("http")&&(0,b.jsx)(gi,{className:"h-3 w-3","aria-hidden":"true"})]})},children:T.content})}),(0,b.jsx)(dt,{className:"p-6 mb-12",children:(0,b.jsxs)("div",{className:"text-center",children:[(0,b.jsx)("h3",{className:"font-semibold mb-2",children:"Was this guide helpful?"}),(0,b.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:"Your feedback helps us improve our guides"}),S?(0,b.jsxs)("p",{className:"text-success flex items-center justify-center gap-2",children:[(0,b.jsx)(pt,{className:"h-5 w-5","aria-hidden":"true"}),"Thanks for your feedback!"]}):(0,b.jsxs)("div",{className:"flex justify-center gap-4",children:[(0,b.jsxs)(Ae,{variant:"outline",onClick:()=>ue(!0),children:[(0,b.jsx)(pi,{className:"h-4 w-4","aria-hidden":"true"}),"Yes, helpful"]}),(0,b.jsxs)(Ae,{variant:"outline",onClick:()=>ue(!1),children:[(0,b.jsx)(ki,{className:"h-4 w-4","aria-hidden":"true"}),"Could be better"]})]})]})}),U.length>0&&(0,b.jsxs)("section",{children:[(0,b.jsx)("h2",{className:"text-xl font-bold mb-6",children:"Related Guides"}),(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:U.map(P=>{const W=Zn[P.icon||"BookOpen"]||qe;return(0,b.jsx)(Ve,{to:`/learn/${P.slug}`,className:"group",children:(0,b.jsxs)(dt,{className:"p-4 h-full hover:border-primary/50 transition-colors",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,b.jsx)("div",{className:`p-2 rounded-lg ${zt[P.color||"gray"]}`,children:(0,b.jsx)(W,{className:"h-4 w-4","aria-hidden":"true"})}),(0,b.jsxs)("span",{className:"text-xs text-muted-foreground flex items-center gap-1",children:[(0,b.jsx)(cn,{className:"h-3 w-3","aria-hidden":"true"}),P.read_time_minutes," min"]})]}),(0,b.jsx)("h3",{className:"font-medium group-hover:text-primary transition-colors line-clamp-2",children:P.title})]})},P.id)})})]}),(0,b.jsxs)("div",{className:"mt-12 pt-8 border-t border-border flex justify-between",children:[(0,b.jsx)(Ve,{to:"/learn",children:(0,b.jsxs)(Ae,{variant:"outline",children:[(0,b.jsx)(un,{className:"h-4 w-4","aria-hidden":"true"}),"Back to Learn"]})}),(0,b.jsx)(Ve,{to:"/dashboard",children:(0,b.jsxs)(Ae,{children:["Go to Dashboard",(0,b.jsx)(mt,{className:"h-4 w-4","aria-hidden":"true"})]})})]})]})})]})};var Ih=ih;export{ih as GuidePage,Ih as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.