libre-webui 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/dist/index.d.ts.map +1 -1
- package/backend/dist/index.js +15 -0
- package/backend/dist/index.js.map +1 -1
- package/frontend/dist/assets/{index-CT6_wIIb.js → index-DW8C1vVk.js} +29 -29
- package/frontend/dist/css/index-WfujIMhR.css +1 -0
- package/frontend/dist/index.html +6 -6
- package/frontend/dist/js/{ArtifactContainer-BLwdP4Y4.js → ArtifactContainer-Bm-Y-U-r.js} +1 -1
- package/frontend/dist/js/{ArtifactDemoPage-CYKT3Mxr.js → ArtifactDemoPage-C8k9scC2.js} +1 -1
- package/frontend/dist/js/ChatPage-Ct1Kuyoh.js +281 -0
- package/frontend/dist/js/{GalleryPage-CeV6Xikm.js → GalleryPage-Ci46MnQP.js} +1 -1
- package/frontend/dist/js/{ModelsPage-BEHsiMmV.js → ModelsPage-Bmk7Bjt4.js} +1 -1
- package/frontend/dist/js/{PersonasPage-D92Q-9GN.js → PersonasPage-B4ZtuJcO.js} +1 -1
- package/frontend/dist/js/{UserManagementPage-ir6FoUIm.js → UserManagementPage-B5I2sjsB.js} +1 -1
- package/frontend/dist/js/{markdown-vendor-QwEm2Xso.js → markdown-vendor-B0lXrrRZ.js} +2 -2
- package/frontend/dist/js/router-vendor-DdQhGl5t.js +10 -0
- package/frontend/dist/js/{ui-vendor-DsBonqC3.js → ui-vendor-C4ZcWovR.js} +2 -2
- package/frontend/dist/js/utils-vendor-BFlGJDIj.js +6 -0
- package/package.json +5 -3
- package/frontend/dist/css/index-eoCzaqbg.css +0 -1
- package/frontend/dist/js/ChatPage-5pmqke2e.js +0 -281
- package/frontend/dist/js/router-vendor-CmbUVdlE.js +0 -10
- package/frontend/dist/js/utils-vendor-3oAsqusP.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{a as Mu,g as Ol,R as Re}from"./router-vendor-CmbUVdlE.js";var Pt={exports:{}},Ze={};var Ds;function Fu(){if(Ds)return Ze;Ds=1;var e=Mu(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(s,u,l){var c,d={},m=null,p=null;l!==void 0&&(m=""+l),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(p=u.ref);for(c in u)r.call(u,c)&&!i.hasOwnProperty(c)&&(d[c]=u[c]);if(s&&s.defaultProps)for(c in u=s.defaultProps,u)d[c]===void 0&&(d[c]=u[c]);return{$$typeof:t,type:s,key:m,ref:p,props:d,_owner:a.current}}return Ze.Fragment=n,Ze.jsx=o,Ze.jsxs=o,Ze}var Ms;function Uu(){return Ms||(Ms=1,Pt.exports=Fu()),Pt.exports}var $t=Uu();const Bu="modulepreload",Pu=function(e){return"/"+e},Fs={},tf=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let u=function(l){return Promise.all(l.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");a=u(n.map(l=>{if(l=Pu(l),l in Fs)return;Fs[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":Bu,c||(m.as="script"),m.crossOrigin="",m.href=l,s&&m.setAttribute("nonce",s),document.head.appendChild(m),c)return new Promise((p,h)=>{m.addEventListener("load",p),m.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})};function nf(){}function Us(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function $u(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Gu=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zu=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Hu={};function Bs(e,t){return(Hu.jsx?zu:Gu).test(e)}const ju=/[ \t\n\f\r]/g;function Vu(e){return typeof e=="object"?e.type==="text"?Ps(e.value):!1:Ps(e)}function Ps(e){return e.replace(ju,"")===""}class ut{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ut.prototype.normal={};ut.prototype.property={};ut.prototype.space=void 0;function xl(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new ut(n,r,t)}function it(e){return e.toLowerCase()}class le{constructor(t,n){this.attribute=n,this.property=t}}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;let qu=0;const $=Oe(),ee=Oe(),tn=Oe(),I=Oe(),Y=Oe(),Be=Oe(),de=Oe();function Oe(){return 2**++qu}const nn=Object.freeze(Object.defineProperty({__proto__:null,boolean:$,booleanish:ee,commaOrSpaceSeparated:de,commaSeparated:Be,number:I,overloadedBoolean:tn,spaceSeparated:Y},Symbol.toStringTag,{value:"Module"})),Gt=Object.keys(nn);class bn extends le{constructor(t,n,r,a){let i=-1;if(super(t,n),$s(this,"space",a),typeof r=="number")for(;++i<Gt.length;){const o=Gt[i];$s(this,Gt[i],(r&nn[o])===nn[o])}}}bn.prototype.defined=!0;function $s(e,t,n){n&&(e[t]=n)}function $e(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new bn(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[it(r)]=r,n[it(i.attribute)]=r}return new ut(t,n,e.space)}const Ll=$e({properties:{ariaActiveDescendant:null,ariaAtomic:ee,ariaAutoComplete:null,ariaBusy:ee,ariaChecked:ee,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:Y,ariaCurrent:null,ariaDescribedBy:Y,ariaDetails:null,ariaDisabled:ee,ariaDropEffect:Y,ariaErrorMessage:null,ariaExpanded:ee,ariaFlowTo:Y,ariaGrabbed:ee,ariaHasPopup:null,ariaHidden:ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Y,ariaLevel:I,ariaLive:null,ariaModal:ee,ariaMultiLine:ee,ariaMultiSelectable:ee,ariaOrientation:null,ariaOwns:Y,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:ee,ariaReadOnly:ee,ariaRelevant:null,ariaRequired:ee,ariaRoleDescription:Y,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:ee,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Dl(e,t){return t in e?e[t]:t}function Ml(e,t){return Dl(e,t.toLowerCase())}const Wu=$e({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Be,acceptCharset:Y,accessKey:Y,action:null,allow:null,allowFullScreen:$,allowPaymentRequest:$,allowUserMedia:$,alt:null,as:null,async:$,autoCapitalize:null,autoComplete:Y,autoFocus:$,autoPlay:$,blocking:Y,capture:null,charSet:null,checked:$,cite:null,className:Y,cols:I,colSpan:null,content:null,contentEditable:ee,controls:$,controlsList:Y,coords:I|Be,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$,defer:$,dir:null,dirName:null,disabled:$,download:tn,draggable:ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$,formTarget:null,headers:Y,height:I,hidden:tn,high:I,href:null,hrefLang:null,htmlFor:Y,httpEquiv:Y,id:null,imageSizes:null,imageSrcSet:null,inert:$,inputMode:null,integrity:null,is:null,isMap:$,itemId:null,itemProp:Y,itemRef:Y,itemScope:$,itemType:Y,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:$,muted:$,name:null,nonce:null,noModule:$,noValidate:$,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:$,optimum:I,pattern:null,ping:Y,placeholder:null,playsInline:$,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$,referrerPolicy:null,rel:Y,required:$,reversed:$,rows:I,rowSpan:I,sandbox:Y,scope:null,scoped:$,seamless:$,selected:$,shadowRootClonable:$,shadowRootDelegatesFocus:$,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:ee,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:$,useMap:null,value:ee,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Y,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$,declare:$,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:$,noHref:$,noShade:$,noWrap:$,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:ee,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$,disableRemotePlayback:$,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:Ml}),Yu=$e({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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:de,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:Y,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:$,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:Be,g2:Be,glyphName:Be,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:de,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Y,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:de,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:de,rev:de,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:de,requiredFeatures:de,requiredFonts:de,requiredFormats:de,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:de,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:de,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:de,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Dl}),Fl=$e({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Ul=$e({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ml}),Bl=$e({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Ku={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"},Zu=/[A-Z]/g,Gs=/-[a-z]/g,Xu=/^data[-\w.:]+$/i;function Pl(e,t){const n=it(t);let r=t,a=le;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Xu.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Gs,Ju);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Gs.test(i)){let o=i.replace(Zu,Qu);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=bn}return new a(r,t)}function Qu(e){return"-"+e.toLowerCase()}function Ju(e){return e.charAt(1).toUpperCase()}const $l=xl([Ll,Wu,Fl,Ul,Bl],"html"),kt=xl([Ll,Yu,Fl,Ul,Bl],"svg");function zs(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function ec(e){return e.join(" ").trim()}var Me={},zt,Hs;function tc(){if(Hs)return zt;Hs=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,s=/^\s+|\s+$/g,u=`
|
|
1
|
+
import{a as Mu,g as Ol,R as Re}from"./router-vendor-DdQhGl5t.js";var Pt={exports:{}},Ze={};var Ds;function Fu(){if(Ds)return Ze;Ds=1;var e=Mu(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(s,u,l){var c,d={},m=null,p=null;l!==void 0&&(m=""+l),u.key!==void 0&&(m=""+u.key),u.ref!==void 0&&(p=u.ref);for(c in u)r.call(u,c)&&!i.hasOwnProperty(c)&&(d[c]=u[c]);if(s&&s.defaultProps)for(c in u=s.defaultProps,u)d[c]===void 0&&(d[c]=u[c]);return{$$typeof:t,type:s,key:m,ref:p,props:d,_owner:a.current}}return Ze.Fragment=n,Ze.jsx=o,Ze.jsxs=o,Ze}var Ms;function Uu(){return Ms||(Ms=1,Pt.exports=Fu()),Pt.exports}var $t=Uu();const Bu="modulepreload",Pu=function(e){return"/"+e},Fs={},tf=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let u=function(l){return Promise.all(l.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");a=u(n.map(l=>{if(l=Pu(l),l in Fs)return;Fs[l]=!0;const c=l.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":Bu,c||(m.as="script"),m.crossOrigin="",m.href=l,s&&m.setAttribute("nonce",s),document.head.appendChild(m),c)return new Promise((p,h)=>{m.addEventListener("load",p),m.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})};function nf(){}function Us(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function $u(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Gu=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,zu=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Hu={};function Bs(e,t){return(Hu.jsx?zu:Gu).test(e)}const ju=/[ \t\n\f\r]/g;function Vu(e){return typeof e=="object"?e.type==="text"?Ps(e.value):!1:Ps(e)}function Ps(e){return e.replace(ju,"")===""}class ut{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}ut.prototype.normal={};ut.prototype.property={};ut.prototype.space=void 0;function xl(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new ut(n,r,t)}function it(e){return e.toLowerCase()}class le{constructor(t,n){this.attribute=n,this.property=t}}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;let qu=0;const $=Oe(),ee=Oe(),tn=Oe(),I=Oe(),Y=Oe(),Be=Oe(),de=Oe();function Oe(){return 2**++qu}const nn=Object.freeze(Object.defineProperty({__proto__:null,boolean:$,booleanish:ee,commaOrSpaceSeparated:de,commaSeparated:Be,number:I,overloadedBoolean:tn,spaceSeparated:Y},Symbol.toStringTag,{value:"Module"})),Gt=Object.keys(nn);class bn extends le{constructor(t,n,r,a){let i=-1;if(super(t,n),$s(this,"space",a),typeof r=="number")for(;++i<Gt.length;){const o=Gt[i];$s(this,Gt[i],(r&nn[o])===nn[o])}}}bn.prototype.defined=!0;function $s(e,t,n){n&&(e[t]=n)}function $e(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new bn(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[it(r)]=r,n[it(i.attribute)]=r}return new ut(t,n,e.space)}const Ll=$e({properties:{ariaActiveDescendant:null,ariaAtomic:ee,ariaAutoComplete:null,ariaBusy:ee,ariaChecked:ee,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:Y,ariaCurrent:null,ariaDescribedBy:Y,ariaDetails:null,ariaDisabled:ee,ariaDropEffect:Y,ariaErrorMessage:null,ariaExpanded:ee,ariaFlowTo:Y,ariaGrabbed:ee,ariaHasPopup:null,ariaHidden:ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Y,ariaLevel:I,ariaLive:null,ariaModal:ee,ariaMultiLine:ee,ariaMultiSelectable:ee,ariaOrientation:null,ariaOwns:Y,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:ee,ariaReadOnly:ee,ariaRelevant:null,ariaRequired:ee,ariaRoleDescription:Y,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:ee,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Dl(e,t){return t in e?e[t]:t}function Ml(e,t){return Dl(e,t.toLowerCase())}const Wu=$e({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Be,acceptCharset:Y,accessKey:Y,action:null,allow:null,allowFullScreen:$,allowPaymentRequest:$,allowUserMedia:$,alt:null,as:null,async:$,autoCapitalize:null,autoComplete:Y,autoFocus:$,autoPlay:$,blocking:Y,capture:null,charSet:null,checked:$,cite:null,className:Y,cols:I,colSpan:null,content:null,contentEditable:ee,controls:$,controlsList:Y,coords:I|Be,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$,defer:$,dir:null,dirName:null,disabled:$,download:tn,draggable:ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$,formTarget:null,headers:Y,height:I,hidden:tn,high:I,href:null,hrefLang:null,htmlFor:Y,httpEquiv:Y,id:null,imageSizes:null,imageSrcSet:null,inert:$,inputMode:null,integrity:null,is:null,isMap:$,itemId:null,itemProp:Y,itemRef:Y,itemScope:$,itemType:Y,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:$,muted:$,name:null,nonce:null,noModule:$,noValidate:$,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:$,optimum:I,pattern:null,ping:Y,placeholder:null,playsInline:$,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$,referrerPolicy:null,rel:Y,required:$,reversed:$,rows:I,rowSpan:I,sandbox:Y,scope:null,scoped:$,seamless:$,selected:$,shadowRootClonable:$,shadowRootDelegatesFocus:$,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:ee,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:$,useMap:null,value:ee,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Y,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$,declare:$,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:$,noHref:$,noShade:$,noWrap:$,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:ee,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$,disableRemotePlayback:$,prefix:null,property:null,results:I,security:null,unselectable:null},space:"html",transform:Ml}),Yu=$e({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",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:de,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:Y,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:$,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:Be,g2:Be,glyphName:Be,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:de,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Y,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:de,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:de,rev:de,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:de,requiredFeatures:de,requiredFonts:de,requiredFormats:de,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:de,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:de,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:de,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Dl}),Fl=$e({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Ul=$e({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ml}),Bl=$e({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Ku={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"},Zu=/[A-Z]/g,Gs=/-[a-z]/g,Xu=/^data[-\w.:]+$/i;function Pl(e,t){const n=it(t);let r=t,a=le;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Xu.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Gs,Ju);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Gs.test(i)){let o=i.replace(Zu,Qu);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=bn}return new a(r,t)}function Qu(e){return"-"+e.toLowerCase()}function Ju(e){return e.charAt(1).toUpperCase()}const $l=xl([Ll,Wu,Fl,Ul,Bl],"html"),kt=xl([Ll,Yu,Fl,Ul,Bl],"svg");function zs(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function ec(e){return e.join(" ").trim()}var Me={},zt,Hs;function tc(){if(Hs)return zt;Hs=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,s=/^\s+|\s+$/g,u=`
|
|
2
2
|
`,l="/",c="*",d="",m="comment",p="declaration";function h(y,E){if(typeof y!="string")throw new TypeError("First argument must be a string");if(!y)return[];E=E||{};var _=1,A=1;function k(L){var R=L.match(t);R&&(_+=R.length);var G=L.lastIndexOf(u);A=~G?L.length-G:A+L.length}function O(){var L={line:_,column:A};return function(R){return R.position=new T(L),U(),R}}function T(L){this.start=L,this.end={line:_,column:A},this.source=E.source}T.prototype.content=y;function D(L){var R=new Error(E.source+":"+_+":"+A+": "+L);if(R.reason=L,R.filename=E.source,R.line=_,R.column=A,R.source=y,!E.silent)throw R}function M(L){var R=L.exec(y);if(R){var G=R[0];return k(G),y=y.slice(G.length),R}}function U(){M(n)}function F(L){var R;for(L=L||[];R=N();)R!==!1&&L.push(R);return L}function N(){var L=O();if(!(l!=y.charAt(0)||c!=y.charAt(1))){for(var R=2;d!=y.charAt(R)&&(c!=y.charAt(R)||l!=y.charAt(R+1));)++R;if(R+=2,d===y.charAt(R-1))return D("End of comment missing");var G=y.slice(2,R-2);return A+=2,k(G),y=y.slice(R),A+=2,L({type:m,comment:G})}}function v(){var L=O(),R=M(r);if(R){if(N(),!M(a))return D("property missing ':'");var G=M(i),z=L({type:p,property:S(R[0].replace(e,d)),value:G?S(G[0].replace(e,d)):d});return M(o),z}}function x(){var L=[];F(L);for(var R;R=v();)R!==!1&&(L.push(R),F(L));return L}return U(),x()}function S(y){return y?y.replace(s,d):d}return zt=h,zt}var js;function nc(){if(js)return Me;js=1;var e=Me&&Me.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Me,"__esModule",{value:!0}),Me.default=n;const t=e(tc());function n(r,a){let i=null;if(!r||typeof r!="string")return i;const o=(0,t.default)(r),s=typeof a=="function";return o.forEach(u=>{if(u.type!=="declaration")return;const{property:l,value:c}=u;s?a(l,c,u):c&&(i=i||{},i[l]=c)}),i}return Me}var Xe={},Vs;function rc(){if(Vs)return Xe;Vs=1,Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,i=function(l){return!l||n.test(l)||e.test(l)},o=function(l,c){return c.toUpperCase()},s=function(l,c){return"".concat(c,"-")},u=function(l,c){return c===void 0&&(c={}),i(l)?l:(l=l.toLowerCase(),c.reactCompat?l=l.replace(a,s):l=l.replace(r,s),l.replace(t,o))};return Xe.camelCase=u,Xe}var Qe,qs;function ac(){if(qs)return Qe;qs=1;var e=Qe&&Qe.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(nc()),n=rc();function r(a,i){var o={};return!a||typeof a!="string"||(0,t.default)(a,function(s,u){s&&u&&(o[(0,n.camelCase)(s,i)]=u)}),o}return r.default=r,Qe=r,Qe}var ic=ac();const oc=Ol(ic),Gl=zl("end"),hn=zl("start");function zl(e){return t;function t(n){const r=n&&n.position&&n.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 sc(e){const t=hn(e),n=Gl(e);if(t&&n)return{start:t,end:n}}function tt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ws(e.position):"start"in e||"end"in e?Ws(e):"line"in e||"column"in e?rn(e):""}function rn(e){return Ys(e&&e.line)+":"+Ys(e&&e.column)}function Ws(e){return rn(e&&e.start)+"-"+rn(e&&e.end)}function Ys(e){return e&&typeof e=="number"?e:1}class re extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",i={},o=!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 t=="string"?a=t:!i.cause&&t&&(o=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?i.ruleId=r:(i.source=r.slice(0,u),i.ruleId=r.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const s=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=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=s?s.line:void 0,this.name=tt(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=o&&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}}re.prototype.file="";re.prototype.name="";re.prototype.reason="";re.prototype.message="";re.prototype.stack="";re.prototype.column=void 0;re.prototype.line=void 0;re.prototype.ancestors=void 0;re.prototype.cause=void 0;re.prototype.fatal=void 0;re.prototype.place=void 0;re.prototype.ruleId=void 0;re.prototype.source=void 0;const En={}.hasOwnProperty,lc=new Map,uc=/[A-Z]/g,cc=new Set(["table","tbody","thead","tfoot","tr"]),dc=new Set(["td","th"]),Hl="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function pc(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Sc(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=yc(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?kt:$l,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=jl(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function jl(e,t,n){if(t.type==="element")return gc(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return mc(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return bc(e,t,n);if(t.type==="mdxjsEsm")return fc(e,t);if(t.type==="root")return hc(e,t,n);if(t.type==="text")return Ec(e,t)}function gc(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=kt,e.schema=a),e.ancestors.push(t);const i=ql(e,t.tagName,!1),o=Tc(e,t);let s=Sn(e,t);return cc.has(t.tagName)&&(s=s.filter(function(u){return typeof u=="string"?!Vu(u):!0})),Vl(e,o,i,t),yn(o,s),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function mc(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}ot(e,t.position)}function fc(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ot(e,t.position)}function bc(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=kt,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:ql(e,t.name,!0),o=Ac(e,t),s=Sn(e,t);return Vl(e,o,i,t),yn(o,s),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function hc(e,t,n){const r={};return yn(r,Sn(e,t)),e.create(t,e.Fragment,r,n)}function Ec(e,t){return t.value}function Vl(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function yn(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function yc(e,t,n){return r;function r(a,i,o,s){const l=Array.isArray(o.children)?n:t;return s?l(i,o,s):l(i,o)}}function Sc(e,t){return n;function n(r,a,i,o){const s=Array.isArray(i.children),u=hn(r);return t(a,i,o,s,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Tc(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&En.call(t.properties,a)){const i=wc(e,a,t.properties[a]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&dc.has(t.tagName)?r=s:n[o]=s}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function Ac(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const o=i.expression;o.type;const s=o.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else ot(e,t.position);else{const a=r.name;let i;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,i=e.evaluater.evaluateExpression(s.expression)}else ot(e,t.position);else i=r.value===null?!0:r.value;n[a]=i}return n}function Sn(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:lc;for(;++r<t.children.length;){const i=t.children[r];let o;if(e.passKeys){const u=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(u){const l=a.get(u)||0;o=u+"-"+l,a.set(u,l+1)}}const s=jl(e,i,o);s!==void 0&&n.push(s)}return n}function wc(e,t,n){const r=Pl(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?$u(n):ec(n)),r.property==="style"){let a=typeof n=="object"?n:_c(e,String(n));return e.stylePropertyNameCase==="css"&&(a=Ic(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?Ku[r.property]||r.property:r.attribute,n]}}function _c(e,t){try{return oc(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new re("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Hl+"#cannot-parse-style-attribute",a}}function ql(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,o;for(;++i<a.length;){const s=Bs(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};o=o?{type:"MemberExpression",object:o,property:s,computed:!!(i&&s.type==="Literal"),optional:!1}:s}r=o}else r=Bs(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return En.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);ot(e)}function ot(e,t){const n=new re("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Hl+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Ic(e){const t={};let n;for(n in e)En.call(e,n)&&(t[kc(n)]=e[n]);return t}function kc(e){let t=e.replace(uc,Rc);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Rc(e){return"-"+e.toLowerCase()}const Ht={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"]},Nc={};function vc(e,t){const n=Nc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Wl(e,r,a)}function Wl(e,t,n){if(Cc(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ks(e.children,t,n)}return Array.isArray(e)?Ks(e,t,n):""}function Ks(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=Wl(e[a],t,n);return r.join("")}function Cc(e){return!!(e&&typeof e=="object")}const Zs=document.createElement("i");function st(e){const t="&"+e+";";Zs.innerHTML=t;const n=Zs.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function ye(e,t,n,r){const a=e.length;let i=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function me(e,t){return e.length>0?(ye(e,e.length,0,t),e):t}const Xs={}.hasOwnProperty;function Oc(e){const t={};let n=-1;for(;++n<e.length;)xc(t,e[n]);return t}function xc(e,t){let n;for(n in t){const a=(Xs.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Xs.call(a,o)||(a[o]=[]);const s=i[o];Lc(a[o],Array.isArray(s)?s:s?[s]:[])}}}function Lc(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);ye(e,0,0,r)}function Yl(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Pe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ee=ve(/[A-Za-z]/),pe=ve(/[\dA-Za-z]/),Dc=ve(/[#-'*+\--9=?A-Z^-~]/);function an(e){return e!==null&&(e<32||e===127)}const on=ve(/\d/),Mc=ve(/[\dA-Fa-f]/),Fc=ve(/[!-/:-@[-`{-~]/);function B(e){return e!==null&&e<-2}function se(e){return e!==null&&(e<0||e===32)}function V(e){return e===-2||e===-1||e===32}const Uc=ve(/\p{P}|\p{S}/u),Bc=ve(/\s/);function ve(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ge(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&pe(e.charCodeAt(n+1))&&pe(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(o=String.fromCharCode(i,s),a=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function K(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(u){return V(u)?(e.enter(n),s(u)):t(u)}function s(u){return V(u)&&i++<a?(e.consume(u),s):(e.exit(n),t(u))}}const Pc={tokenize:$c};function $c(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),K(e,t,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(s)}function o(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return B(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}const Gc={tokenize:zc},Qs={tokenize:Hc};function zc(e){const t=this,n=[];let r=0,a,i,o;return s;function s(A){if(r<n.length){const k=n[r];return t.containerState=k[1],e.attempt(k[0].continuation,u,l)(A)}return l(A)}function u(A){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&_();const k=t.events.length;let O=k,T;for(;O--;)if(t.events[O][0]==="exit"&&t.events[O][1].type==="chunkFlow"){T=t.events[O][1].end;break}E(r);let D=k;for(;D<t.events.length;)t.events[D][1].end={...T},D++;return ye(t.events,O+1,0,t.events.slice(k)),t.events.length=D,l(A)}return s(A)}function l(A){if(r===n.length){if(!a)return m(A);if(a.currentConstruct&&a.currentConstruct.concrete)return h(A);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Qs,c,d)(A)}function c(A){return a&&_(),E(r),m(A)}function d(A){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,h(A)}function m(A){return t.containerState={},e.attempt(Qs,p,h)(A)}function p(A){return r++,n.push([t.currentConstruct,t.containerState]),m(A)}function h(A){if(A===null){a&&_(),E(0),e.consume(A);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),S(A)}function S(A){if(A===null){y(e.exit("chunkFlow"),!0),E(0),e.consume(A);return}return B(A)?(e.consume(A),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(A),S)}function y(A,k){const O=t.sliceStream(A);if(k&&O.push(null),A.previous=i,i&&(i.next=A),i=A,a.defineSkip(A.start),a.write(O),t.parser.lazy[A.start.line]){let T=a.events.length;for(;T--;)if(a.events[T][1].start.offset<o&&(!a.events[T][1].end||a.events[T][1].end.offset>o))return;const D=t.events.length;let M=D,U,F;for(;M--;)if(t.events[M][0]==="exit"&&t.events[M][1].type==="chunkFlow"){if(U){F=t.events[M][1].end;break}U=!0}for(E(r),T=D;T<t.events.length;)t.events[T][1].end={...F},T++;ye(t.events,M+1,0,t.events.slice(D)),t.events.length=T}}function E(A){let k=n.length;for(;k-- >A;){const O=n[k];t.containerState=O[1],O[0].exit.call(t,e)}n.length=A}function _(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function Hc(e,t,n){return K(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Js(e){if(e===null||se(e)||Bc(e))return 1;if(Uc(e))return 2}function Tn(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const sn={name:"attention",resolveAll:jc,tokenize:Vc};function jc(e,t){let n=-1,r,a,i,o,s,u,l,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},m={...e[n][1].start};el(d,-u),el(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},s={type:u>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:m},i={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:u>1?"strong":"emphasis",start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=me(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=me(l,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=me(l,Tn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=me(l,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,l=me(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,ye(e,r-1,n-r+3,l),n=r+l.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Vc(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=Js(r);let i;return o;function o(u){return i=u,e.enter("attentionSequence"),s(u)}function s(u){if(u===i)return e.consume(u),s;const l=e.exit("attentionSequence"),c=Js(u),d=!c||c===2&&a||n.includes(u),m=!a||a===2&&c||n.includes(r);return l._open=!!(i===42?d:d&&(a||!m)),l._close=!!(i===42?m:m&&(c||!d)),t(u)}}function el(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const qc={name:"autolink",tokenize:Wc};function Wc(e,t,n){let r=0;return a;function a(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return Ee(p)?(e.consume(p),o):p===64?n(p):l(p)}function o(p){return p===43||p===45||p===46||pe(p)?(r=1,s(p)):l(p)}function s(p){return p===58?(e.consume(p),r=0,u):(p===43||p===45||p===46||pe(p))&&r++<32?(e.consume(p),s):(r=0,l(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||an(p)?n(p):(e.consume(p),u)}function l(p){return p===64?(e.consume(p),c):Dc(p)?(e.consume(p),l):n(p)}function c(p){return pe(p)?d(p):n(p)}function d(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):m(p)}function m(p){if((p===45||pe(p))&&r++<63){const h=p===45?m:d;return e.consume(p),h}return n(p)}}const Rt={partial:!0,tokenize:Yc};function Yc(e,t,n){return r;function r(i){return V(i)?K(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||B(i)?t(i):n(i)}}const Kl={continuation:{tokenize:Zc},exit:Xc,name:"blockQuote",tokenize:Kc};function Kc(e,t,n){const r=this;return a;function a(o){if(o===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),i}return n(o)}function i(o){return V(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function Zc(e,t,n){const r=this;return a;function a(o){return V(o)?K(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(Kl,t,n)(o)}}function Xc(e){e.exit("blockQuote")}const Zl={name:"characterEscape",tokenize:Qc};function Qc(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return Fc(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const Xl={name:"characterReference",tokenize:Jc};function Jc(e,t,n){const r=this;let a=0,i,o;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),u}function u(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,o=pe,c(d))}function l(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=Mc,c):(e.enter("characterReferenceValue"),i=7,o=on,c(d))}function c(d){if(d===59&&a){const m=e.exit("characterReferenceValue");return o===pe&&!st(r.sliceSerialize(m))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(d)&&a++<i?(e.consume(d),c):n(d)}}const tl={partial:!0,tokenize:td},nl={concrete:!0,name:"codeFenced",tokenize:ed};function ed(e,t,n){const r=this,a={partial:!0,tokenize:O};let i=0,o=0,s;return u;function u(T){return l(T)}function l(T){const D=r.events[r.events.length-1];return i=D&&D[1].type==="linePrefix"?D[2].sliceSerialize(D[1],!0).length:0,s=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(T)}function c(T){return T===s?(o++,e.consume(T),c):o<3?n(T):(e.exit("codeFencedFenceSequence"),V(T)?K(e,d,"whitespace")(T):d(T))}function d(T){return T===null||B(T)?(e.exit("codeFencedFence"),r.interrupt?t(T):e.check(tl,S,k)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===null||B(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(T)):V(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),K(e,p,"whitespace")(T)):T===96&&T===s?n(T):(e.consume(T),m)}function p(T){return T===null||B(T)?d(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===null||B(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(T)):T===96&&T===s?n(T):(e.consume(T),h)}function S(T){return e.attempt(a,k,y)(T)}function y(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),E}function E(T){return i>0&&V(T)?K(e,_,"linePrefix",i+1)(T):_(T)}function _(T){return T===null||B(T)?e.check(tl,S,k)(T):(e.enter("codeFlowValue"),A(T))}function A(T){return T===null||B(T)?(e.exit("codeFlowValue"),_(T)):(e.consume(T),A)}function k(T){return e.exit("codeFenced"),t(T)}function O(T,D,M){let U=0;return F;function F(R){return T.enter("lineEnding"),T.consume(R),T.exit("lineEnding"),N}function N(R){return T.enter("codeFencedFence"),V(R)?K(T,v,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):v(R)}function v(R){return R===s?(T.enter("codeFencedFenceSequence"),x(R)):M(R)}function x(R){return R===s?(U++,T.consume(R),x):U>=o?(T.exit("codeFencedFenceSequence"),V(R)?K(T,L,"whitespace")(R):L(R)):M(R)}function L(R){return R===null||B(R)?(T.exit("codeFencedFence"),D(R)):M(R)}}}function td(e,t,n){const r=this;return a;function a(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const jt={name:"codeIndented",tokenize:rd},nd={partial:!0,tokenize:ad};function rd(e,t,n){const r=this;return a;function a(l){return e.enter("codeIndented"),K(e,i,"linePrefix",5)(l)}function i(l){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?o(l):n(l)}function o(l){return l===null?u(l):B(l)?e.attempt(nd,o,u)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||B(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),s)}function u(l){return e.exit("codeIndented"),t(l)}}function ad(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):K(e,i,"linePrefix",5)(o)}function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):B(o)?a(o):n(o)}}const id={name:"codeText",previous:sd,resolve:od,tokenize:ld};function od(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function sd(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ld(e,t,n){let r=0,a,i;return o;function o(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),r++,s):(e.exit("codeTextSequence"),u(d))}function u(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),u):d===96?(i=e.enter("codeTextSequence"),a=0,c(d)):B(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("codeTextData"),l(d))}function l(d){return d===null||d===32||d===96||B(d)?(e.exit("codeTextData"),u(d)):(e.consume(d),l)}function c(d){return d===96?(e.consume(d),a++,c):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",l(d))}}class ud{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&Je(this.left,r),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Je(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Je(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Je(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Je(this.left,n.reverse())}}}function Je(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function Ql(e){const t={};let n=-1,r,a,i,o,s,u,l;const c=new ud(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,i=0,i<u.length&&u[i][1].type==="lineEndingBlank"&&(i+=2),i<u.length&&u[i][1].type==="content"))for(;++i<u.length&&u[i][1].type!=="content";)u[i][1].type==="chunkText"&&(u[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,cd(c,n)),n=t[n],l=!0);else if(r[1]._container){for(i=n,a=void 0;i--;)if(o=c.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(a&&(c.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=i);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;a&&(r[1].end={...c.get(a)[1].start},s=c.slice(a,n),s.unshift(r),c.splice(a,n-a+1,s))}}return ye(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function cd(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const i=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const s=o.events,u=[],l={};let c,d,m=-1,p=n,h=0,S=0;const y=[S];for(;p;){for(;e.get(++a)[1]!==p;);i.push(a),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(c),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++m<s.length;)s[m][0]==="exit"&&s[m-1][0]==="enter"&&s[m][1].type===s[m-1][1].type&&s[m][1].start.line!==s[m][1].end.line&&(S=m+1,y.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):y.pop(),m=y.length;m--;){const E=s.slice(y[m],y[m+1]),_=i.pop();u.push([_,_+E.length-1]),e.splice(_,2,E)}for(u.reverse(),m=-1;++m<u.length;)l[h+u[m][0]]=h+u[m][1],h+=u[m][1]-u[m][0]-1;return l}const dd={resolve:gd,tokenize:md},pd={partial:!0,tokenize:fd};function gd(e){return Ql(e),e}function md(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(s)}function a(s){return s===null?i(s):B(s)?e.check(pd,o,i)(s):(e.consume(s),a)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function o(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function fd(e,t,n){const r=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),K(e,i,"linePrefix")}function i(o){if(o===null||B(o))return n(o);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function Jl(e,t,n,r,a,i,o,s,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return d;function d(E){return E===60?(e.enter(r),e.enter(a),e.enter(i),e.consume(E),e.exit(i),m):E===null||E===32||E===41||an(E)?n(E):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),S(E))}function m(E){return E===62?(e.enter(i),e.consume(E),e.exit(i),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(E))}function p(E){return E===62?(e.exit("chunkString"),e.exit(s),m(E)):E===null||E===60||B(E)?n(E):(e.consume(E),E===92?h:p)}function h(E){return E===60||E===62||E===92?(e.consume(E),p):p(E)}function S(E){return!c&&(E===null||E===41||se(E))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(E)):c<l&&E===40?(e.consume(E),c++,S):E===41?(e.consume(E),c--,S):E===null||E===32||E===40||an(E)?n(E):(e.consume(E),E===92?y:S)}function y(E){return E===40||E===41||E===92?(e.consume(E),S):S(E)}}function eu(e,t,n,r,a,i){const o=this;let s=0,u;return l;function l(p){return e.enter(r),e.enter(a),e.consume(p),e.exit(a),e.enter(i),c}function c(p){return s>999||p===null||p===91||p===93&&!u||p===94&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):p===93?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):B(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||B(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!V(p)),p===92?m:d)}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function tu(e,t,n,r,a,i){let o;return s;function s(m){return m===34||m===39||m===40?(e.enter(r),e.enter(a),e.consume(m),e.exit(a),o=m===40?41:m,u):n(m)}function u(m){return m===o?(e.enter(a),e.consume(m),e.exit(a),e.exit(r),t):(e.enter(i),l(m))}function l(m){return m===o?(e.exit(i),u(o)):m===null?n(m):B(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),K(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===o||m===null||B(m)?(e.exit("chunkString"),l(m)):(e.consume(m),m===92?d:c)}function d(m){return m===o||m===92?(e.consume(m),c):c(m)}}function nt(e,t){let n;return r;function r(a){return B(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):V(a)?K(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const bd={name:"definition",tokenize:Ed},hd={partial:!0,tokenize:yd};function Ed(e,t,n){const r=this;let a;return i;function i(p){return e.enter("definition"),o(p)}function o(p){return eu.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return a=Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):n(p)}function u(p){return se(p)?nt(e,l)(p):l(p)}function l(p){return Jl(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(hd,d,d)(p)}function d(p){return V(p)?K(e,m,"whitespace")(p):m(p)}function m(p){return p===null||B(p)?(e.exit("definition"),r.parser.defined.push(a),t(p)):n(p)}}function yd(e,t,n){return r;function r(s){return se(s)?nt(e,a)(s):n(s)}function a(s){return tu(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return V(s)?K(e,o,"whitespace")(s):o(s)}function o(s){return s===null||B(s)?t(s):n(s)}}const Sd={name:"hardBreakEscape",tokenize:Td};function Td(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return B(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const Ad={name:"headingAtx",resolve:wd,tokenize:_d};function wd(e,t){let n=e.length-2,r=3,a,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},ye(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function _d(e,t,n){let r=0;return a;function a(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),o(c)}function o(c){return c===35&&r++<6?(e.consume(c),o):c===null||se(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||B(c)?(e.exit("atxHeading"),t(c)):V(c)?K(e,s,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),s(c))}function l(c){return c===null||c===35||se(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),l)}}const Id=["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"],rl=["pre","script","style","textarea"],kd={concrete:!0,name:"htmlFlow",resolveTo:vd,tokenize:Cd},Rd={partial:!0,tokenize:xd},Nd={partial:!0,tokenize:Od};function vd(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Cd(e,t,n){const r=this;let a,i,o,s,u;return l;function l(b){return c(b)}function c(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),d}function d(b){return b===33?(e.consume(b),m):b===47?(e.consume(b),i=!0,S):b===63?(e.consume(b),a=3,r.interrupt?t:f):Ee(b)?(e.consume(b),o=String.fromCharCode(b),y):n(b)}function m(b){return b===45?(e.consume(b),a=2,p):b===91?(e.consume(b),a=5,s=0,h):Ee(b)?(e.consume(b),a=4,r.interrupt?t:f):n(b)}function p(b){return b===45?(e.consume(b),r.interrupt?t:f):n(b)}function h(b){const ue="CDATA[";return b===ue.charCodeAt(s++)?(e.consume(b),s===ue.length?r.interrupt?t:v:h):n(b)}function S(b){return Ee(b)?(e.consume(b),o=String.fromCharCode(b),y):n(b)}function y(b){if(b===null||b===47||b===62||se(b)){const ue=b===47,be=o.toLowerCase();return!ue&&!i&&rl.includes(be)?(a=1,r.interrupt?t(b):v(b)):Id.includes(o.toLowerCase())?(a=6,ue?(e.consume(b),E):r.interrupt?t(b):v(b)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):i?_(b):A(b))}return b===45||pe(b)?(e.consume(b),o+=String.fromCharCode(b),y):n(b)}function E(b){return b===62?(e.consume(b),r.interrupt?t:v):n(b)}function _(b){return V(b)?(e.consume(b),_):F(b)}function A(b){return b===47?(e.consume(b),F):b===58||b===95||Ee(b)?(e.consume(b),k):V(b)?(e.consume(b),A):F(b)}function k(b){return b===45||b===46||b===58||b===95||pe(b)?(e.consume(b),k):O(b)}function O(b){return b===61?(e.consume(b),T):V(b)?(e.consume(b),O):A(b)}function T(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),u=b,D):V(b)?(e.consume(b),T):M(b)}function D(b){return b===u?(e.consume(b),u=null,U):b===null||B(b)?n(b):(e.consume(b),D)}function M(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||se(b)?O(b):(e.consume(b),M)}function U(b){return b===47||b===62||V(b)?A(b):n(b)}function F(b){return b===62?(e.consume(b),N):n(b)}function N(b){return b===null||B(b)?v(b):V(b)?(e.consume(b),N):n(b)}function v(b){return b===45&&a===2?(e.consume(b),G):b===60&&a===1?(e.consume(b),z):b===62&&a===4?(e.consume(b),q):b===63&&a===3?(e.consume(b),f):b===93&&a===5?(e.consume(b),X):B(b)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Rd,Q,x)(b)):b===null||B(b)?(e.exit("htmlFlowData"),x(b)):(e.consume(b),v)}function x(b){return e.check(Nd,L,Q)(b)}function L(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),R}function R(b){return b===null||B(b)?x(b):(e.enter("htmlFlowData"),v(b))}function G(b){return b===45?(e.consume(b),f):v(b)}function z(b){return b===47?(e.consume(b),o="",Z):v(b)}function Z(b){if(b===62){const ue=o.toLowerCase();return rl.includes(ue)?(e.consume(b),q):v(b)}return Ee(b)&&o.length<8?(e.consume(b),o+=String.fromCharCode(b),Z):v(b)}function X(b){return b===93?(e.consume(b),f):v(b)}function f(b){return b===62?(e.consume(b),q):b===45&&a===2?(e.consume(b),f):v(b)}function q(b){return b===null||B(b)?(e.exit("htmlFlowData"),Q(b)):(e.consume(b),q)}function Q(b){return e.exit("htmlFlow"),t(b)}}function Od(e,t,n){const r=this;return a;function a(o){return B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):n(o)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function xd(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(Rt,t,n)}}const Ld={name:"htmlText",tokenize:Dd};function Dd(e,t,n){const r=this;let a,i,o;return s;function s(f){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(f),u}function u(f){return f===33?(e.consume(f),l):f===47?(e.consume(f),O):f===63?(e.consume(f),A):Ee(f)?(e.consume(f),M):n(f)}function l(f){return f===45?(e.consume(f),c):f===91?(e.consume(f),i=0,h):Ee(f)?(e.consume(f),_):n(f)}function c(f){return f===45?(e.consume(f),p):n(f)}function d(f){return f===null?n(f):f===45?(e.consume(f),m):B(f)?(o=d,z(f)):(e.consume(f),d)}function m(f){return f===45?(e.consume(f),p):d(f)}function p(f){return f===62?G(f):f===45?m(f):d(f)}function h(f){const q="CDATA[";return f===q.charCodeAt(i++)?(e.consume(f),i===q.length?S:h):n(f)}function S(f){return f===null?n(f):f===93?(e.consume(f),y):B(f)?(o=S,z(f)):(e.consume(f),S)}function y(f){return f===93?(e.consume(f),E):S(f)}function E(f){return f===62?G(f):f===93?(e.consume(f),E):S(f)}function _(f){return f===null||f===62?G(f):B(f)?(o=_,z(f)):(e.consume(f),_)}function A(f){return f===null?n(f):f===63?(e.consume(f),k):B(f)?(o=A,z(f)):(e.consume(f),A)}function k(f){return f===62?G(f):A(f)}function O(f){return Ee(f)?(e.consume(f),T):n(f)}function T(f){return f===45||pe(f)?(e.consume(f),T):D(f)}function D(f){return B(f)?(o=D,z(f)):V(f)?(e.consume(f),D):G(f)}function M(f){return f===45||pe(f)?(e.consume(f),M):f===47||f===62||se(f)?U(f):n(f)}function U(f){return f===47?(e.consume(f),G):f===58||f===95||Ee(f)?(e.consume(f),F):B(f)?(o=U,z(f)):V(f)?(e.consume(f),U):G(f)}function F(f){return f===45||f===46||f===58||f===95||pe(f)?(e.consume(f),F):N(f)}function N(f){return f===61?(e.consume(f),v):B(f)?(o=N,z(f)):V(f)?(e.consume(f),N):U(f)}function v(f){return f===null||f===60||f===61||f===62||f===96?n(f):f===34||f===39?(e.consume(f),a=f,x):B(f)?(o=v,z(f)):V(f)?(e.consume(f),v):(e.consume(f),L)}function x(f){return f===a?(e.consume(f),a=void 0,R):f===null?n(f):B(f)?(o=x,z(f)):(e.consume(f),x)}function L(f){return f===null||f===34||f===39||f===60||f===61||f===96?n(f):f===47||f===62||se(f)?U(f):(e.consume(f),L)}function R(f){return f===47||f===62||se(f)?U(f):n(f)}function G(f){return f===62?(e.consume(f),e.exit("htmlTextData"),e.exit("htmlText"),t):n(f)}function z(f){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),Z}function Z(f){return V(f)?K(e,X,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f):X(f)}function X(f){return e.enter("htmlTextData"),o(f)}}const An={name:"labelEnd",resolveAll:Bd,resolveTo:Pd,tokenize:$d},Md={tokenize:Gd},Fd={tokenize:zd},Ud={tokenize:Hd};function Bd(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&ye(e,0,e.length,n),e}function Pd(e,t){let n=e.length,r=0,a,i,o,s;for(;n--;)if(a=e[n][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(o=n);const u={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},c={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[o-2][1].start}};return s=[["enter",u,t],["enter",l,t]],s=me(s,e.slice(i+1,i+r+3)),s=me(s,[["enter",c,t]]),s=me(s,Tn(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),s=me(s,[["exit",c,t],e[o-2],e[o-1],["exit",l,t]]),s=me(s,e.slice(o+1)),s=me(s,[["exit",u,t]]),ye(e,i,e.length,s),e}function $d(e,t,n){const r=this;let a=r.events.length,i,o;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){i=r.events[a][1];break}return s;function s(m){return i?i._inactive?d(m):(o=r.parser.defined.includes(Pe(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):n(m)}function u(m){return m===40?e.attempt(Md,c,o?c:d)(m):m===91?e.attempt(Fd,c,o?l:d)(m):o?c(m):d(m)}function l(m){return e.attempt(Ud,c,d)(m)}function c(m){return t(m)}function d(m){return i._balanced=!0,n(m)}}function Gd(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),a}function a(d){return se(d)?nt(e,i)(d):i(d)}function i(d){return d===41?c(d):Jl(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function o(d){return se(d)?nt(e,u)(d):c(d)}function s(d){return n(d)}function u(d){return d===34||d===39||d===40?tu(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function l(d){return se(d)?nt(e,c)(d):c(d)}function c(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function zd(e,t,n){const r=this;return a;function a(s){return eu.call(r,e,i,o,"reference","referenceMarker","referenceString")(s)}function i(s){return r.parser.defined.includes(Pe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function Hd(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const jd={name:"labelStartImage",resolveAll:An.resolveAll,tokenize:Vd};function Vd(e,t,n){const r=this;return a;function a(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),o):n(s)}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const qd={name:"labelStartLink",resolveAll:An.resolveAll,tokenize:Wd};function Wd(e,t,n){const r=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const Vt={name:"lineEnding",tokenize:Yd};function Yd(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),K(e,t,"linePrefix")}}const Tt={name:"thematicBreak",tokenize:Kd};function Kd(e,t,n){let r=0,a;return i;function i(l){return e.enter("thematicBreak"),o(l)}function o(l){return a=l,s(l)}function s(l){return l===a?(e.enter("thematicBreakSequence"),u(l)):r>=3&&(l===null||B(l))?(e.exit("thematicBreak"),t(l)):n(l)}function u(l){return l===a?(e.consume(l),r++,u):(e.exit("thematicBreakSequence"),V(l)?K(e,s,"whitespace")(l):s(l))}}const oe={continuation:{tokenize:Jd},exit:tp,name:"list",tokenize:Qd},Zd={partial:!0,tokenize:np},Xd={partial:!0,tokenize:ep};function Qd(e,t,n){const r=this,a=r.events[r.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return s;function s(p){const h=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(h==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:on(p)){if(r.containerState.type||(r.containerState.type=h,e.enter(h,{_container:!0})),h==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Tt,n,l)(p):l(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return n(p)}function u(p){return on(p)&&++o<10?(e.consume(p),u):(!r.interrupt||o<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),l(p)):n(p)}function l(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Rt,r.interrupt?n:c,e.attempt(Zd,m,d))}function c(p){return r.containerState.initialBlankLine=!0,i++,m(p)}function d(p){return V(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):n(p)}function m(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Jd(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Rt,a,i);function a(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,K(e,t,"listItemIndent",r.containerState.size+1)(s)}function i(s){return r.containerState.furtherBlankLines||!V(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Xd,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,K(e,e.attempt(oe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function ep(e,t,n){const r=this;return K(e,a,"listItemIndent",r.containerState.size+1);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(i):n(i)}}function tp(e){e.exit(this.containerState.type)}function np(e,t,n){const r=this;return K(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const o=r.events[r.events.length-1];return!V(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const al={name:"setextUnderline",resolveTo:rp,tokenize:ap};function rp(e,t){let n=e.length,r,a,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function ap(e,t,n){const r=this;let a;return i;function i(l){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),a=l,o(l)):n(l)}function o(l){return e.enter("setextHeadingLineSequence"),s(l)}function s(l){return l===a?(e.consume(l),s):(e.exit("setextHeadingLineSequence"),V(l)?K(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||B(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const ip={tokenize:op};function op(e){const t=this,n=e.attempt(Rt,r,e.attempt(this.parser.constructs.flowInitial,a,K(e,e.attempt(this.parser.constructs.flow,a,e.attempt(dd,a)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const sp={resolveAll:ru()},lp=nu("string"),up=nu("text");function nu(e){return{resolveAll:ru(e==="text"?cp:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],i=n.attempt(a,o,s);return o;function o(c){return l(c)?i(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),u}function u(c){return l(c)?(n.exit("data"),i(c)):(n.consume(c),u)}function l(c){if(c===null)return!0;const d=a[c];let m=-1;if(d)for(;++m<d.length;){const p=d[m];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function ru(e){return t;function t(n,r){let a=-1,i;for(;++a<=n.length;)i===void 0?n[a]&&n[a][1].type==="data"&&(i=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==i+2&&(n[i][1].end=n[a-1][1].end,n.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(n,r):n}}function cp(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],a=t.sliceStream(r);let i=a.length,o=-1,s=0,u;for(;i--;){const l=a[i];if(typeof l=="string"){for(o=l.length;l.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(l===-2)u=!0,s++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const l={type:n===e.length||u||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?o:r.start._bufferIndex+o,_index:r.start._index+i,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...l.start},r.start.offset===r.end.offset?Object.assign(r,l):(e.splice(n,0,["enter",l,t],["exit",l,t]),n+=2)}n++}return e}const dp={42:oe,43:oe,45:oe,48:oe,49:oe,50:oe,51:oe,52:oe,53:oe,54:oe,55:oe,56:oe,57:oe,62:Kl},pp={91:bd},gp={[-2]:jt,[-1]:jt,32:jt},mp={35:Ad,42:Tt,45:[al,Tt],60:kd,61:al,95:Tt,96:nl,126:nl},fp={38:Xl,92:Zl},bp={[-5]:Vt,[-4]:Vt,[-3]:Vt,33:jd,38:Xl,42:sn,60:[qc,Ld],91:qd,92:[Sd,Zl],93:An,95:sn,96:id},hp={null:[sn,sp]},Ep={null:[42,95]},yp={null:[]},Sp=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Ep,contentInitial:pp,disable:yp,document:dp,flow:mp,flowInitial:gp,insideSpan:hp,string:fp,text:bp},Symbol.toStringTag,{value:"Module"}));function Tp(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},i=[];let o=[],s=[];const u={attempt:D(O),check:D(T),consume:_,enter:A,exit:k,interrupt:D(T,{interrupt:!0})},l={code:null,containerState:{},defineSkip:S,events:[],now:h,parser:e,previous:null,sliceSerialize:m,sliceStream:p,write:d};let c=t.tokenize.call(l,u);return t.resolveAll&&i.push(t),l;function d(N){return o=me(o,N),y(),o[o.length-1]!==null?[]:(M(t,0),l.events=Tn(i,l.events,l),l.events)}function m(N,v){return wp(p(N),v)}function p(N){return Ap(o,N)}function h(){const{_bufferIndex:N,_index:v,line:x,column:L,offset:R}=r;return{_bufferIndex:N,_index:v,line:x,column:L,offset:R}}function S(N){a[N.line]=N.column,F()}function y(){let N;for(;r._index<o.length;){const v=o[r._index];if(typeof v=="string")for(N=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===N&&r._bufferIndex<v.length;)E(v.charCodeAt(r._bufferIndex));else E(v)}}function E(N){c=c(N)}function _(N){B(N)?(r.line++,r.column=1,r.offset+=N===-3?2:1,F()):N!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=N}function A(N,v){const x=v||{};return x.type=N,x.start=h(),l.events.push(["enter",x,l]),s.push(x),x}function k(N){const v=s.pop();return v.end=h(),l.events.push(["exit",v,l]),v}function O(N,v){M(N,v.from)}function T(N,v){v.restore()}function D(N,v){return x;function x(L,R,G){let z,Z,X,f;return Array.isArray(L)?Q(L):"tokenize"in L?Q([L]):q(L);function q(J){return we;function we(ge){const _e=ge!==null&&J[ge],Ie=ge!==null&&J.null,Le=[...Array.isArray(_e)?_e:_e?[_e]:[],...Array.isArray(Ie)?Ie:Ie?[Ie]:[]];return Q(Le)(ge)}}function Q(J){return z=J,Z=0,J.length===0?G:b(J[Z])}function b(J){return we;function we(ge){return f=U(),X=J,J.partial||(l.currentConstruct=J),J.name&&l.parser.constructs.disable.null.includes(J.name)?be():J.tokenize.call(v?Object.assign(Object.create(l),v):l,u,ue,be)(ge)}}function ue(J){return N(X,f),R}function be(J){return f.restore(),++Z<z.length?b(z[Z]):G}}}function M(N,v){N.resolveAll&&!i.includes(N)&&i.push(N),N.resolve&&ye(l.events,v,l.events.length-v,N.resolve(l.events.slice(v),l)),N.resolveTo&&(l.events=N.resolveTo(l.events,l))}function U(){const N=h(),v=l.previous,x=l.currentConstruct,L=l.events.length,R=Array.from(s);return{from:L,restore:G};function G(){r=N,l.previous=v,l.currentConstruct=x,l.events.length=L,s=R,F()}}function F(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function Ap(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;if(n===a)o=[e[n].slice(r,i)];else{if(o=e.slice(n,a),r>-1){const s=o[0];typeof s=="string"?o[0]=s.slice(r):o.shift()}i>0&&o.push(e[a].slice(0,i))}return o}function wp(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const i=e[n];let o;if(typeof i=="string")o=i;else switch(i){case-5:{o="\r";break}case-4:{o=`
|
|
3
3
|
`;break}case-3:{o=`\r
|
|
4
|
-
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(i)}a=i===-2,r.push(o)}return r.join("")}function _p(e){const r={constructs:Oc([Sp,...(e||{}).extensions||[]]),content:a(Pc),defined:[],document:a(Gc),flow:a(ip),lazy:{},string:a(lp),text:a(up)};return r;function a(i){return o;function o(s){return Tp(r,i,s)}}}function Ip(e){for(;!Ql(e););return e}const il=/[\0\t\n\r]/g;function kp(){let e=1,t="",n=!0,r;return a;function a(i,o,s){const u=[];let l,c,d,m,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(il.lastIndex=d,l=il.exec(i),m=l&&l.index!==void 0?l.index:i.length,p=i.charCodeAt(m),!l){t=i.slice(d);break}if(p===10&&d===m&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),d<m&&(u.push(i.slice(d,m)),e+=m-d),p){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}d=m+1}return s&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Rp=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Np(e){return e.replace(Rp,vp)}function vp(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return Yl(n.slice(i?2:1),i?16:10)}return st(n)||e}const au={}.hasOwnProperty;function Cp(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Op(n)(Ip(_p(n).document().write(kp()(e,t,!0))))}function Op(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(xs),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(vs),blockQuote:i(Ie),characterEscape:U,characterReference:U,codeFenced:i(Le),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(Le,o),codeText:i(ku,o),codeTextData:U,data:U,codeFlowValue:U,definition:i(Ru),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(Nu),hardBreakEscape:i(Cs),hardBreakTrailing:i(Cs),htmlFlow:i(Os,o),htmlFlowData:U,htmlText:i(Os,o),htmlTextData:U,image:i(vu),label:o,link:i(xs),listItem:i(Cu),listItemValue:m,listOrdered:i(Ls,d),listUnordered:i(Ls),paragraph:i(Ou),reference:b,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(vs),strong:i(xu),thematicBreak:i(Du)},exit:{atxHeading:u(),atxHeadingSequence:O,autolink:u(),autolinkEmail:_e,autolinkProtocol:ge,blockQuote:u(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:be,characterReferenceMarkerNumeric:be,characterReferenceValue:J,characterReference:we,codeFenced:u(y),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:F,codeIndented:u(E),codeText:u(R),codeTextData:F,data:F,definition:u(),definitionDestinationString:k,definitionLabelString:_,definitionTitleString:A,emphasis:u(),hardBreakEscape:u(v),hardBreakTrailing:u(v),htmlFlow:u(x),htmlFlowData:F,htmlText:u(L),htmlTextData:F,image:u(z),label:X,labelText:Z,lineEnding:N,link:u(G),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ue,resourceDestinationString:f,resourceTitleString:q,resource:Q,setextHeading:u(M),setextHeadingLineSequence:D,setextHeadingText:T,strong:u(),thematicBreak:u()}};iu(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(w){let C={type:"root",children:[]};const P={stack:[C],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:c,data:n},j=[];let W=-1;for(;++W<w.length;)if(w[W][1].type==="listOrdered"||w[W][1].type==="listUnordered")if(w[W][0]==="enter")j.push(W);else{const fe=j.pop();W=a(w,fe,W)}for(W=-1;++W<w.length;){const fe=t[w[W][0]];au.call(fe,w[W][1].type)&&fe[w[W][1].type].call(Object.assign({sliceSerialize:w[W][2].sliceSerialize},P),w[W][1])}if(P.tokenStack.length>0){const fe=P.tokenStack[P.tokenStack.length-1];(fe[1]||ol).call(P,void 0,fe[0])}for(C.position={start:ke(w.length>0?w[0][1].start:{line:1,column:1,offset:0}),end:ke(w.length>0?w[w.length-2][1].end:{line:1,column:1,offset:0})},W=-1;++W<t.transforms.length;)C=t.transforms[W](C)||C;return C}function a(w,C,P){let j=C-1,W=-1,fe=!1,Ce,Te,Ye,Ke;for(;++j<=P;){const ce=w[j];switch(ce[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ce[0]==="enter"?W++:W--,Ke=void 0;break}case"lineEndingBlank":{ce[0]==="enter"&&(Ce&&!Ke&&!W&&!Ye&&(Ye=j),Ke=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ke=void 0}if(!W&&ce[0]==="enter"&&ce[1].type==="listItemPrefix"||W===-1&&ce[0]==="exit"&&(ce[1].type==="listUnordered"||ce[1].type==="listOrdered")){if(Ce){let De=j;for(Te=void 0;De--;){const Ae=w[De];if(Ae[1].type==="lineEnding"||Ae[1].type==="lineEndingBlank"){if(Ae[0]==="exit")continue;Te&&(w[Te][1].type="lineEndingBlank",fe=!0),Ae[1].type="lineEnding",Te=De}else if(!(Ae[1].type==="linePrefix"||Ae[1].type==="blockQuotePrefix"||Ae[1].type==="blockQuotePrefixWhitespace"||Ae[1].type==="blockQuoteMarker"||Ae[1].type==="listItemIndent"))break}Ye&&(!Te||Ye<Te)&&(Ce._spread=!0),Ce.end=Object.assign({},Te?w[Te][1].start:ce[1].end),w.splice(Te||j,0,["exit",Ce,ce[2]]),j++,P++}if(ce[1].type==="listItemPrefix"){const De={type:"listItem",_spread:!1,start:Object.assign({},ce[1].start),end:void 0};Ce=De,w.splice(j,0,["enter",De,ce[2]]),j++,P++,Ye=void 0,Ke=!0}}}return w[C][1]._spread=fe,P}function i(w,C){return P;function P(j){s.call(this,w(j),j),C&&C.call(this,j)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(w,C,P){this.stack[this.stack.length-1].children.push(w),this.stack.push(w),this.tokenStack.push([C,P||void 0]),w.position={start:ke(C.start),end:void 0}}function u(w){return C;function C(P){w&&w.call(this,P),l.call(this,P)}}function l(w,C){const P=this.stack.pop(),j=this.tokenStack.pop();if(j)j[0].type!==w.type&&(C?C.call(this,w,j[0]):(j[1]||ol).call(this,w,j[0]));else throw new Error("Cannot close `"+w.type+"` ("+tt({start:w.start,end:w.end})+"): it’s not open");P.position.end=ke(w.end)}function c(){return vc(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function m(w){if(this.data.expectingFirstListItemValue){const C=this.stack[this.stack.length-2];C.start=Number.parseInt(this.sliceSerialize(w),10),this.data.expectingFirstListItemValue=void 0}}function p(){const w=this.resume(),C=this.stack[this.stack.length-1];C.lang=w}function h(){const w=this.resume(),C=this.stack[this.stack.length-1];C.meta=w}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w.replace(/(\r?\n|\r)$/g,"")}function _(w){const C=this.resume(),P=this.stack[this.stack.length-1];P.label=C,P.identifier=Pe(this.sliceSerialize(w)).toLowerCase()}function A(){const w=this.resume(),C=this.stack[this.stack.length-1];C.title=w}function k(){const w=this.resume(),C=this.stack[this.stack.length-1];C.url=w}function O(w){const C=this.stack[this.stack.length-1];if(!C.depth){const P=this.sliceSerialize(w).length;C.depth=P}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function D(w){const C=this.stack[this.stack.length-1];C.depth=this.sliceSerialize(w).codePointAt(0)===61?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function U(w){const P=this.stack[this.stack.length-1].children;let j=P[P.length-1];(!j||j.type!=="text")&&(j=Lu(),j.position={start:ke(w.start),end:void 0},P.push(j)),this.stack.push(j)}function F(w){const C=this.stack.pop();C.value+=this.sliceSerialize(w),C.position.end=ke(w.end)}function N(w){const C=this.stack[this.stack.length-1];if(this.data.atHardBreak){const P=C.children[C.children.length-1];P.position.end=ke(w.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(C.type)&&(U.call(this,w),F.call(this,w))}function v(){this.data.atHardBreak=!0}function x(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w}function L(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w}function R(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w}function G(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const C=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=C,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function z(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const C=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=C,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function Z(w){const C=this.sliceSerialize(w),P=this.stack[this.stack.length-2];P.label=Np(C),P.identifier=Pe(C).toLowerCase()}function X(){const w=this.stack[this.stack.length-1],C=this.resume(),P=this.stack[this.stack.length-1];if(this.data.inReference=!0,P.type==="link"){const j=w.children;P.children=j}else P.alt=C}function f(){const w=this.resume(),C=this.stack[this.stack.length-1];C.url=w}function q(){const w=this.resume(),C=this.stack[this.stack.length-1];C.title=w}function Q(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function ue(w){const C=this.resume(),P=this.stack[this.stack.length-1];P.label=C,P.identifier=Pe(this.sliceSerialize(w)).toLowerCase(),this.data.referenceType="full"}function be(w){this.data.characterReferenceType=w.type}function J(w){const C=this.sliceSerialize(w),P=this.data.characterReferenceType;let j;P?(j=Yl(C,P==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):j=st(C);const W=this.stack[this.stack.length-1];W.value+=j}function we(w){const C=this.stack.pop();C.position.end=ke(w.end)}function ge(w){F.call(this,w);const C=this.stack[this.stack.length-1];C.url=this.sliceSerialize(w)}function _e(w){F.call(this,w);const C=this.stack[this.stack.length-1];C.url="mailto:"+this.sliceSerialize(w)}function Ie(){return{type:"blockquote",children:[]}}function Le(){return{type:"code",lang:null,meta:null,value:""}}function ku(){return{type:"inlineCode",value:""}}function Ru(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Nu(){return{type:"emphasis",children:[]}}function vs(){return{type:"heading",depth:0,children:[]}}function Cs(){return{type:"break"}}function Os(){return{type:"html",value:""}}function vu(){return{type:"image",title:null,url:"",alt:null}}function xs(){return{type:"link",title:null,url:"",children:[]}}function Ls(w){return{type:"list",ordered:w.type==="listOrdered",start:null,spread:w._spread,children:[]}}function Cu(w){return{type:"listItem",spread:w._spread,checked:null,children:[]}}function Ou(){return{type:"paragraph",children:[]}}function xu(){return{type:"strong",children:[]}}function Lu(){return{type:"text",value:""}}function Du(){return{type:"thematicBreak"}}}function ke(e){return{line:e.line,column:e.column,offset:e.offset}}function iu(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?iu(e,r):xp(e,r)}}function xp(e,t){let n;for(n in t)if(au.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function ol(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+tt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+tt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+tt({start:t.start,end:t.end})+") is still open")}function Lp(e){const t=this;t.parser=n;function n(r){return Cp(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Dp(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Mp(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
4
|
+
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(i)}a=i===-2,r.push(o)}return r.join("")}function _p(e){const r={constructs:Oc([Sp,...(e||{}).extensions||[]]),content:a(Pc),defined:[],document:a(Gc),flow:a(ip),lazy:{},string:a(lp),text:a(up)};return r;function a(i){return o;function o(s){return Tp(r,i,s)}}}function Ip(e){for(;!Ql(e););return e}const il=/[\0\t\n\r]/g;function kp(){let e=1,t="",n=!0,r;return a;function a(i,o,s){const u=[];let l,c,d,m,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(il.lastIndex=d,l=il.exec(i),m=l&&l.index!==void 0?l.index:i.length,p=i.charCodeAt(m),!l){t=i.slice(d);break}if(p===10&&d===m&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),d<m&&(u.push(i.slice(d,m)),e+=m-d),p){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}d=m+1}return s&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const Rp=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Np(e){return e.replace(Rp,vp)}function vp(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return Yl(n.slice(i?2:1),i?16:10)}return st(n)||e}const au={}.hasOwnProperty;function Cp(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),Op(n)(Ip(_p(n).document().write(kp()(e,t,!0))))}function Op(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(xs),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(vs),blockQuote:i(Ie),characterEscape:U,characterReference:U,codeFenced:i(Le),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(Le,o),codeText:i(ku,o),codeTextData:U,data:U,codeFlowValue:U,definition:i(Ru),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(Nu),hardBreakEscape:i(Cs),hardBreakTrailing:i(Cs),htmlFlow:i(Os,o),htmlFlowData:U,htmlText:i(Os,o),htmlTextData:U,image:i(vu),label:o,link:i(xs),listItem:i(Cu),listItemValue:m,listOrdered:i(Ls,d),listUnordered:i(Ls),paragraph:i(Ou),reference:b,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(vs),strong:i(xu),thematicBreak:i(Du)},exit:{atxHeading:u(),atxHeadingSequence:O,autolink:u(),autolinkEmail:_e,autolinkProtocol:ge,blockQuote:u(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:be,characterReferenceMarkerNumeric:be,characterReferenceValue:J,characterReference:we,codeFenced:u(y),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:F,codeIndented:u(E),codeText:u(R),codeTextData:F,data:F,definition:u(),definitionDestinationString:k,definitionLabelString:_,definitionTitleString:A,emphasis:u(),hardBreakEscape:u(v),hardBreakTrailing:u(v),htmlFlow:u(x),htmlFlowData:F,htmlText:u(L),htmlTextData:F,image:u(z),label:X,labelText:Z,lineEnding:N,link:u(G),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:ue,resourceDestinationString:f,resourceTitleString:q,resource:Q,setextHeading:u(M),setextHeadingLineSequence:D,setextHeadingText:T,strong:u(),thematicBreak:u()}};iu(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(w){let C={type:"root",children:[]};const P={stack:[C],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:c,data:n},j=[];let W=-1;for(;++W<w.length;)if(w[W][1].type==="listOrdered"||w[W][1].type==="listUnordered")if(w[W][0]==="enter")j.push(W);else{const fe=j.pop();W=a(w,fe,W)}for(W=-1;++W<w.length;){const fe=t[w[W][0]];au.call(fe,w[W][1].type)&&fe[w[W][1].type].call(Object.assign({sliceSerialize:w[W][2].sliceSerialize},P),w[W][1])}if(P.tokenStack.length>0){const fe=P.tokenStack[P.tokenStack.length-1];(fe[1]||ol).call(P,void 0,fe[0])}for(C.position={start:ke(w.length>0?w[0][1].start:{line:1,column:1,offset:0}),end:ke(w.length>0?w[w.length-2][1].end:{line:1,column:1,offset:0})},W=-1;++W<t.transforms.length;)C=t.transforms[W](C)||C;return C}function a(w,C,P){let j=C-1,W=-1,fe=!1,Ce,Te,Ye,Ke;for(;++j<=P;){const ce=w[j];switch(ce[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ce[0]==="enter"?W++:W--,Ke=void 0;break}case"lineEndingBlank":{ce[0]==="enter"&&(Ce&&!Ke&&!W&&!Ye&&(Ye=j),Ke=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ke=void 0}if(!W&&ce[0]==="enter"&&ce[1].type==="listItemPrefix"||W===-1&&ce[0]==="exit"&&(ce[1].type==="listUnordered"||ce[1].type==="listOrdered")){if(Ce){let De=j;for(Te=void 0;De--;){const Ae=w[De];if(Ae[1].type==="lineEnding"||Ae[1].type==="lineEndingBlank"){if(Ae[0]==="exit")continue;Te&&(w[Te][1].type="lineEndingBlank",fe=!0),Ae[1].type="lineEnding",Te=De}else if(!(Ae[1].type==="linePrefix"||Ae[1].type==="blockQuotePrefix"||Ae[1].type==="blockQuotePrefixWhitespace"||Ae[1].type==="blockQuoteMarker"||Ae[1].type==="listItemIndent"))break}Ye&&(!Te||Ye<Te)&&(Ce._spread=!0),Ce.end=Object.assign({},Te?w[Te][1].start:ce[1].end),w.splice(Te||j,0,["exit",Ce,ce[2]]),j++,P++}if(ce[1].type==="listItemPrefix"){const De={type:"listItem",_spread:!1,start:Object.assign({},ce[1].start),end:void 0};Ce=De,w.splice(j,0,["enter",De,ce[2]]),j++,P++,Ye=void 0,Ke=!0}}}return w[C][1]._spread=fe,P}function i(w,C){return P;function P(j){s.call(this,w(j),j),C&&C.call(this,j)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(w,C,P){this.stack[this.stack.length-1].children.push(w),this.stack.push(w),this.tokenStack.push([C,P||void 0]),w.position={start:ke(C.start),end:void 0}}function u(w){return C;function C(P){w&&w.call(this,P),l.call(this,P)}}function l(w,C){const P=this.stack.pop(),j=this.tokenStack.pop();if(j)j[0].type!==w.type&&(C?C.call(this,w,j[0]):(j[1]||ol).call(this,w,j[0]));else throw new Error("Cannot close `"+w.type+"` ("+tt({start:w.start,end:w.end})+"): it’s not open");P.position.end=ke(w.end)}function c(){return vc(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function m(w){if(this.data.expectingFirstListItemValue){const C=this.stack[this.stack.length-2];C.start=Number.parseInt(this.sliceSerialize(w),10),this.data.expectingFirstListItemValue=void 0}}function p(){const w=this.resume(),C=this.stack[this.stack.length-1];C.lang=w}function h(){const w=this.resume(),C=this.stack[this.stack.length-1];C.meta=w}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w.replace(/(\r?\n|\r)$/g,"")}function _(w){const C=this.resume(),P=this.stack[this.stack.length-1];P.label=C,P.identifier=Pe(this.sliceSerialize(w)).toLowerCase()}function A(){const w=this.resume(),C=this.stack[this.stack.length-1];C.title=w}function k(){const w=this.resume(),C=this.stack[this.stack.length-1];C.url=w}function O(w){const C=this.stack[this.stack.length-1];if(!C.depth){const P=this.sliceSerialize(w).length;C.depth=P}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function D(w){const C=this.stack[this.stack.length-1];C.depth=this.sliceSerialize(w).codePointAt(0)===61?1:2}function M(){this.data.setextHeadingSlurpLineEnding=void 0}function U(w){const P=this.stack[this.stack.length-1].children;let j=P[P.length-1];(!j||j.type!=="text")&&(j=Lu(),j.position={start:ke(w.start),end:void 0},P.push(j)),this.stack.push(j)}function F(w){const C=this.stack.pop();C.value+=this.sliceSerialize(w),C.position.end=ke(w.end)}function N(w){const C=this.stack[this.stack.length-1];if(this.data.atHardBreak){const P=C.children[C.children.length-1];P.position.end=ke(w.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(C.type)&&(U.call(this,w),F.call(this,w))}function v(){this.data.atHardBreak=!0}function x(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w}function L(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w}function R(){const w=this.resume(),C=this.stack[this.stack.length-1];C.value=w}function G(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const C=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=C,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function z(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const C=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=C,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function Z(w){const C=this.sliceSerialize(w),P=this.stack[this.stack.length-2];P.label=Np(C),P.identifier=Pe(C).toLowerCase()}function X(){const w=this.stack[this.stack.length-1],C=this.resume(),P=this.stack[this.stack.length-1];if(this.data.inReference=!0,P.type==="link"){const j=w.children;P.children=j}else P.alt=C}function f(){const w=this.resume(),C=this.stack[this.stack.length-1];C.url=w}function q(){const w=this.resume(),C=this.stack[this.stack.length-1];C.title=w}function Q(){this.data.inReference=void 0}function b(){this.data.referenceType="collapsed"}function ue(w){const C=this.resume(),P=this.stack[this.stack.length-1];P.label=C,P.identifier=Pe(this.sliceSerialize(w)).toLowerCase(),this.data.referenceType="full"}function be(w){this.data.characterReferenceType=w.type}function J(w){const C=this.sliceSerialize(w),P=this.data.characterReferenceType;let j;P?(j=Yl(C,P==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):j=st(C);const W=this.stack[this.stack.length-1];W.value+=j}function we(w){const C=this.stack.pop();C.position.end=ke(w.end)}function ge(w){F.call(this,w);const C=this.stack[this.stack.length-1];C.url=this.sliceSerialize(w)}function _e(w){F.call(this,w);const C=this.stack[this.stack.length-1];C.url="mailto:"+this.sliceSerialize(w)}function Ie(){return{type:"blockquote",children:[]}}function Le(){return{type:"code",lang:null,meta:null,value:""}}function ku(){return{type:"inlineCode",value:""}}function Ru(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Nu(){return{type:"emphasis",children:[]}}function vs(){return{type:"heading",depth:0,children:[]}}function Cs(){return{type:"break"}}function Os(){return{type:"html",value:""}}function vu(){return{type:"image",title:null,url:"",alt:null}}function xs(){return{type:"link",title:null,url:"",children:[]}}function Ls(w){return{type:"list",ordered:w.type==="listOrdered",start:null,spread:w._spread,children:[]}}function Cu(w){return{type:"listItem",spread:w._spread,checked:null,children:[]}}function Ou(){return{type:"paragraph",children:[]}}function xu(){return{type:"strong",children:[]}}function Lu(){return{type:"text",value:""}}function Du(){return{type:"thematicBreak"}}}function ke(e){return{line:e.line,column:e.column,offset:e.offset}}function iu(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?iu(e,r):xp(e,r)}}function xp(e,t){let n;for(n in t)if(au.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function ol(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+tt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+tt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+tt({start:t.start,end:t.end})+") is still open")}function Lp(e){const t=this;t.parser=n;function n(r){return Cp(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Dp(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Mp(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
5
5
|
`}]}function Fp(e,t){const n=t.value?t.value+`
|
|
6
6
|
`:"",r={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(r.className=["language-"+a[0]]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Up(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Bp(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Pp(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=Ge(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,s+=1,e.footnoteCounts.set(r,s);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function $p(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gp(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function ou(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const o=a[a.length-1];return o&&o.type==="text"?o.value+=r:a.push({type:"text",value:r}),a}function zp(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ou(e,t);const a={src:Ge(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function Hp(e,t){const n={src:Ge(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function jp(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Vp(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return ou(e,t);const a={href:Ge(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function qp(e,t){const n={href:Ge(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Wp(e,t,n){const r=e.all(t),a=n?Yp(n):su(t),i={},o=[];if(typeof t.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const c=r[s];(a||s!==0||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
|
|
7
7
|
`}),c.type==="element"&&c.tagName==="p"&&!a?o.push(...c.children):o.push(c)}const u=r[r.length-1];u&&(a||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
|