@object-ui/plugin-chatbot 3.0.3 → 3.1.0
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/.turbo/turbo-build.log +4 -4
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/package.json +8 -8
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @object-ui/plugin-chatbot@3.0
|
|
2
|
+
> @object-ui/plugin-chatbot@3.1.0 build /home/runner/work/objectui/objectui/packages/plugin-chatbot
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v7.3.1 [32mbuilding client environment for production...[36m[39m
|
|
@@ -9,8 +9,8 @@ rendering chunks...
|
|
|
9
9
|
[32m
|
|
10
10
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
11
11
|
computing gzip size...
|
|
12
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
12
|
+
[32m[36m[vite:dts][32m Declaration files built in 17943ms.
|
|
13
13
|
[39m
|
|
14
|
-
[2mdist/[22m[36mindex.js [39m[1m[33m1,168.07 kB[39m[22m[2m │ gzip: 343.
|
|
14
|
+
[2mdist/[22m[36mindex.js [39m[1m[33m1,168.07 kB[39m[22m[2m │ gzip: 343.83 kB[22m
|
|
15
15
|
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m812.64 kB[39m[22m[2m │ gzip: 277.88 kB[22m
|
|
16
|
-
[32m✓ built in
|
|
16
|
+
[32m✓ built in 30.53s[39m
|
package/dist/index.js
CHANGED
|
@@ -4301,7 +4301,7 @@ function Bg(e, t, n) {
|
|
|
4301
4301
|
}
|
|
4302
4302
|
const qu = {}.hasOwnProperty;
|
|
4303
4303
|
function Pg(e, t, n) {
|
|
4304
|
-
return typeof t
|
|
4304
|
+
return t && typeof t == "object" && (n = t, t = void 0), $g(n)(Dg(Lg(n).document().write(Mg()(e, t, !0))));
|
|
4305
4305
|
}
|
|
4306
4306
|
function $g(e) {
|
|
4307
4307
|
const t = {
|
package/dist/index.umd.cjs
CHANGED
|
@@ -6,7 +6,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
6
6
|
<%s key={someKey} {...props} />`,Z,Q,oe,Q),b[Q+Z]=!0)}if(Q=null,h!==void 0&&(n(h),Q=""+h),o($)&&(n($.key),Q=""+$.key),"key"in $){h={};for(var we in $)we!=="key"&&(h[we]=$[we])}else h=$;return Q&&s(h,typeof _=="function"?_.displayName||_.name||"Unknown":_),l(_,Q,h,a(),me,ae)}function d(_){g(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===P&&(_._payload.status==="fulfilled"?g(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function g(_){return typeof _=="object"&&_!==null&&_.$$typeof===m}var p=ue,m=Symbol.for("react.transitional.element"),S=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),T=Symbol.for("react.consumer"),R=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),O=Symbol.for("react.client.reference"),L=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=Object.prototype.hasOwnProperty,N=Array.isArray,x=console.createTask?console.createTask:function(){return null};p={react_stack_bottom_frame:function(_){return _()}};var j,G={},ne=p.react_stack_bottom_frame.bind(p,i)(),re=x(r(i)),b={};ot.Fragment=y,ot.jsx=function(_,$,h){var Z=1e4>L.recentlyCreatedOwnerStacks++;return c(_,$,h,!1,Z?Error("react-stack-top-frame"):ne,Z?x(r(_)):re)},ot.jsxs=function(_,$,h){var Z=1e4>L.recentlyCreatedOwnerStacks++;return c(_,$,h,!0,Z?Error("react-stack-top-frame"):ne,Z?x(r(_)):re)}})()),ot}var ll;function Fc(){return ll||(ll=1,process.env.NODE_ENV==="production"?Ct.exports=Dc():Ct.exports=Mc()),Ct.exports}var D=Fc();function iE(){}function oE(){}function ul(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 Uc(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Bc=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Pc=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$c={};function cl(e,t){return($c.jsx?Pc:Bc).test(e)}const zc=/[ \t\n\f\r]/g;function Gc(e){return typeof e=="object"?e.type==="text"?dl(e.value):!1:dl(e)}function dl(e){return e.replace(zc,"")===""}class st{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}st.prototype.normal={},st.prototype.property={},st.prototype.space=void 0;function pl(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new st(n,r,t)}function lt(e){return e.toLowerCase()}class be{constructor(t,n){this.attribute=n,this.property=t}}be.prototype.attribute="",be.prototype.booleanish=!1,be.prototype.boolean=!1,be.prototype.commaOrSpaceSeparated=!1,be.prototype.commaSeparated=!1,be.prototype.defined=!1,be.prototype.mustUseProperty=!1,be.prototype.number=!1,be.prototype.overloadedBoolean=!1,be.prototype.property="",be.prototype.spaceSeparated=!1,be.prototype.space=void 0;let jc=0;const V=Ue(),ie=Ue(),sn=Ue(),C=Ue(),te=Ue(),je=Ue(),ye=Ue();function Ue(){return 2**++jc}const ln=Object.freeze(Object.defineProperty({__proto__:null,boolean:V,booleanish:ie,commaOrSpaceSeparated:ye,commaSeparated:je,number:C,overloadedBoolean:sn,spaceSeparated:te},Symbol.toStringTag,{value:"Module"})),un=Object.keys(ln);class cn extends be{constructor(t,n,r,a){let i=-1;if(super(t,n),gl(this,"space",a),typeof r=="number")for(;++i<un.length;){const o=un[i];gl(this,un[i],(r&ln[o])===ln[o])}}}cn.prototype.defined=!0;function gl(e,t,n){n&&(e[t]=n)}function He(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new cn(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[lt(r)]=r,n[lt(i.attribute)]=r}return new st(t,n,e.space)}const fl=He({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:C,ariaColIndex:C,ariaColSpan:C,ariaControls:te,ariaCurrent:null,ariaDescribedBy:te,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:te,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:te,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:te,ariaLevel:C,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:te,ariaPlaceholder:null,ariaPosInSet:C,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:te,ariaRowCount:C,ariaRowIndex:C,ariaRowSpan:C,ariaSelected:ie,ariaSetSize:C,ariaSort:null,ariaValueMax:C,ariaValueMin:C,ariaValueNow:C,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ml(e,t){return t in e?e[t]:t}function bl(e,t){return ml(e,t.toLowerCase())}const Hc=He({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:je,acceptCharset:te,accessKey:te,action:null,allow:null,allowFullScreen:V,allowPaymentRequest:V,allowUserMedia:V,alt:null,as:null,async:V,autoCapitalize:null,autoComplete:te,autoFocus:V,autoPlay:V,blocking:te,capture:null,charSet:null,checked:V,cite:null,className:te,cols:C,colSpan:null,content:null,contentEditable:ie,controls:V,controlsList:te,coords:C|je,crossOrigin:null,data:null,dateTime:null,decoding:null,default:V,defer:V,dir:null,dirName:null,disabled:V,download:sn,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:V,formTarget:null,headers:te,height:C,hidden:sn,high:C,href:null,hrefLang:null,htmlFor:te,httpEquiv:te,id:null,imageSizes:null,imageSrcSet:null,inert:V,inputMode:null,integrity:null,is:null,isMap:V,itemId:null,itemProp:te,itemRef:te,itemScope:V,itemType:te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:V,low:C,manifest:null,max:null,maxLength:C,media:null,method:null,min:null,minLength:C,multiple:V,muted:V,name:null,nonce:null,noModule:V,noValidate:V,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:V,optimum:C,pattern:null,ping:te,placeholder:null,playsInline:V,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:V,referrerPolicy:null,rel:te,required:V,reversed:V,rows:C,rowSpan:C,sandbox:te,scope:null,scoped:V,seamless:V,selected:V,shadowRootClonable:V,shadowRootDelegatesFocus:V,shadowRootMode:null,shape:null,size:C,sizes:null,slot:null,span:C,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:C,step:null,style:null,tabIndex:C,target:null,title:null,translate:null,type:null,typeMustMatch:V,useMap:null,value:ie,width:C,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:te,axis:null,background:null,bgColor:null,border:C,borderColor:null,bottomMargin:C,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:V,declare:V,event:null,face:null,frame:null,frameBorder:null,hSpace:C,leftMargin:C,link:null,longDesc:null,lowSrc:null,marginHeight:C,marginWidth:C,noResize:V,noHref:V,noShade:V,noWrap:V,object:null,profile:null,prompt:null,rev:null,rightMargin:C,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:C,valueType:null,version:null,vAlign:null,vLink:null,vSpace:C,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:V,disableRemotePlayback:V,prefix:null,property:null,results:C,security:null,unselectable:null},space:"html",transform:bl}),Vc=He({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:ye,accentHeight:C,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:C,amplitude:C,arabicForm:null,ascent:C,attributeName:null,attributeType:null,azimuth:C,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:C,by:null,calcMode:null,capHeight:C,className:te,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:C,diffuseConstant:C,direction:null,display:null,dur:null,divisor:C,dominantBaseline:null,download:V,dx:null,dy:null,edgeMode:null,editable:null,elevation:C,enableBackground:null,end:null,event:null,exponent:C,externalResourcesRequired:null,fill:null,fillOpacity:C,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:je,g2:je,glyphName:je,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:C,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:C,horizOriginX:C,horizOriginY:C,id:null,ideographic:C,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:C,k:C,k1:C,k2:C,k3:C,k4:C,kernelMatrix:ye,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:C,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:C,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:C,overlineThickness:C,paintOrder:null,panose1:null,path:null,pathLength:C,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:C,pointsAtY:C,pointsAtZ:C,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ye,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ye,rev:ye,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ye,requiredFeatures:ye,requiredFonts:ye,requiredFormats:ye,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:C,specularExponent:C,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:C,strikethroughThickness:C,string:null,stroke:null,strokeDashArray:ye,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:C,strokeOpacity:C,strokeWidth:null,style:null,surfaceScale:C,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ye,tabIndex:C,tableValues:null,target:null,targetX:C,targetY:C,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ye,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:C,underlineThickness:C,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:C,values:null,vAlphabetic:C,vMathematical:C,vectorEffect:null,vHanging:C,vIdeographic:C,version:null,vertAdvY:C,vertOriginX:C,vertOriginY:C,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:C,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ml}),hl=He({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),El=He({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:bl}),yl=He({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),qc={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"},Wc=/[A-Z]/g,Sl=/-[a-z]/g,Yc=/^data[-\w.:]+$/i;function kl(e,t){const n=lt(t);let r=t,a=be;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Yc.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Sl,Zc);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Sl.test(i)){let o=i.replace(Wc,Kc);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=cn}return new a(r,t)}function Kc(e){return"-"+e.toLowerCase()}function Zc(e){return e.charAt(1).toUpperCase()}const Tl=pl([fl,Hc,hl,El,yl],"html"),Ot=pl([fl,Vc,hl,El,yl],"svg");function wl(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Xc(e){return e.join(" ").trim()}var Ve={},dn,Al;function Qc(){if(Al)return dn;Al=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=`
|
|
7
7
|
`,l="/",c="*",d="",g="comment",p="declaration";function m(y,E){if(typeof y!="string")throw new TypeError("First argument must be a string");if(!y)return[];E=E||{};var A=1,T=1;function R(N){var x=N.match(t);x&&(A+=x.length);var j=N.lastIndexOf(u);T=~j?N.length-j:T+N.length}function v(){var N={line:A,column:T};return function(x){return x.position=new w(N),P(),x}}function w(N){this.start=N,this.end={line:A,column:T},this.source=E.source}w.prototype.content=y;function M(N){var x=new Error(E.source+":"+A+":"+T+": "+N);if(x.reason=N,x.filename=E.source,x.line=A,x.column=T,x.source=y,!E.silent)throw x}function B(N){var x=N.exec(y);if(x){var j=x[0];return R(j),y=y.slice(j.length),x}}function P(){B(n)}function k(N){var x;for(N=N||[];x=O();)x!==!1&&N.push(x);return N}function O(){var N=v();if(!(l!=y.charAt(0)||c!=y.charAt(1))){for(var x=2;d!=y.charAt(x)&&(c!=y.charAt(x)||l!=y.charAt(x+1));)++x;if(x+=2,d===y.charAt(x-1))return M("End of comment missing");var j=y.slice(2,x-2);return T+=2,R(j),y=y.slice(x),T+=2,N({type:g,comment:j})}}function L(){var N=v(),x=B(r);if(x){if(O(),!B(a))return M("property missing ':'");var j=B(i),G=N({type:p,property:S(x[0].replace(e,d)),value:j?S(j[0].replace(e,d)):d});return B(o),G}}function U(){var N=[];k(N);for(var x;x=L();)x!==!1&&(N.push(x),k(N));return N}return P(),U()}function S(y){return y?y.replace(s,d):d}return dn=m,dn}var _l;function Jc(){if(_l)return Ve;_l=1;var e=Ve&&Ve.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ve,"__esModule",{value:!0}),Ve.default=n;const t=e(Qc());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 Ve}var ut={},Il;function ed(){if(Il)return ut;Il=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.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 ut.camelCase=u,ut}var ct,Rl;function td(){if(Rl)return ct;Rl=1;var e=ct&&ct.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(Jc()),n=ed();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,ct=r,ct}var nd=td();const rd=il(nd),Nl=vl("end"),pn=vl("start");function vl(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 ad(e){const t=pn(e),n=Nl(e);if(t&&n)return{start:t,end:n}}function dt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?xl(e.position):"start"in e||"end"in e?xl(e):"line"in e||"column"in e?gn(e):""}function gn(e){return Cl(e&&e.line)+":"+Cl(e&&e.column)}function xl(e){return gn(e&&e.start)+"-"+gn(e&&e.end)}function Cl(e){return e&&typeof e=="number"?e:1}class ce 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=dt(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}}ce.prototype.file="",ce.prototype.name="",ce.prototype.reason="",ce.prototype.message="",ce.prototype.stack="",ce.prototype.column=void 0,ce.prototype.line=void 0,ce.prototype.ancestors=void 0,ce.prototype.cause=void 0,ce.prototype.fatal=void 0,ce.prototype.place=void 0,ce.prototype.ruleId=void 0,ce.prototype.source=void 0;const fn={}.hasOwnProperty,id=new Map,od=/[A-Z]/g,sd=new Set(["table","tbody","thead","tfoot","tr"]),ld=new Set(["td","th"]),Ol="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ud(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=hd(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=bd(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"?Ot:Tl,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Ll(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Ll(e,t,n){if(t.type==="element")return cd(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return dd(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return gd(e,t,n);if(t.type==="mdxjsEsm")return pd(e,t);if(t.type==="root")return fd(e,t,n);if(t.type==="text")return md(e,t)}function cd(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=Ot,e.schema=a),e.ancestors.push(t);const i=Ml(e,t.tagName,!1),o=Ed(e,t);let s=bn(e,t);return sd.has(t.tagName)&&(s=s.filter(function(u){return typeof u=="string"?!Gc(u):!0})),Dl(e,o,i,t),mn(o,s),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function dd(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)}pt(e,t.position)}function pd(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);pt(e,t.position)}function gd(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=Ot,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:Ml(e,t.name,!0),o=yd(e,t),s=bn(e,t);return Dl(e,o,i,t),mn(o,s),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function fd(e,t,n){const r={};return mn(r,bn(e,t)),e.create(t,e.Fragment,r,n)}function md(e,t){return t.value}function Dl(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function mn(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function bd(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 hd(e,t){return n;function n(r,a,i,o){const s=Array.isArray(i.children),u=pn(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 Ed(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&fn.call(t.properties,a)){const i=Sd(e,a,t.properties[a]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&o==="align"&&typeof s=="string"&&ld.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 yd(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 pt(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 pt(e,t.position);else i=r.value===null?!0:r.value;n[a]=i}return n}function bn(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:id;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=Ll(e,i,o);s!==void 0&&n.push(s)}return n}function Sd(e,t,n){const r=kl(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Uc(n):Xc(n)),r.property==="style"){let a=typeof n=="object"?n:kd(e,String(n));return e.stylePropertyNameCase==="css"&&(a=Td(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?qc[r.property]||r.property:r.attribute,n]}}function kd(e,t){try{return rd(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new ce("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=Ol+"#cannot-parse-style-attribute",a}}function Ml(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=cl(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=cl(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return fn.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);pt(e)}function pt(e,t){const n=new ce("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=Ol+"#cannot-handle-mdx-estrees-without-createevaluater",n}function Td(e){const t={};let n;for(n in e)fn.call(e,n)&&(t[wd(n)]=e[n]);return t}function wd(e){let t=e.replace(od,Ad);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Ad(e){return"-"+e.toLowerCase()}const hn={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"]},_d={};function En(e,t){const n=_d,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Fl(e,r,a)}function Fl(e,t,n){if(Id(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 Ul(e.children,t,n)}return Array.isArray(e)?Ul(e,t,n):""}function Ul(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=Fl(e[a],t,n);return r.join("")}function Id(e){return!!(e&&typeof e=="object")}const Bl=document.createElement("i");function gt(e){const t="&"+e+";";Bl.innerHTML=t;const n=Bl.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Se(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 Te(e,t){return e.length>0?(Se(e,e.length,0,t),e):t}const Pl={}.hasOwnProperty;function $l(e){const t={};let n=-1;for(;++n<e.length;)Rd(t,e[n]);return t}function Rd(e,t){let n;for(n in t){const a=(Pl.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Pl.call(a,o)||(a[o]=[]);const s=i[o];Nd(a[o],Array.isArray(s)?s:s?[s]:[])}}}function Nd(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Se(e,0,0,r)}function zl(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 _e(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const fe=De(/[A-Za-z]/),de=De(/[\dA-Za-z]/),vd=De(/[#-'*+\--9=?A-Z^-~]/);function Lt(e){return e!==null&&(e<32||e===127)}const yn=De(/\d/),xd=De(/[\dA-Fa-f]/),Cd=De(/[!-/:-@[-`{-~]/);function z(e){return e!==null&&e<-2}function J(e){return e!==null&&(e<0||e===32)}function q(e){return e===-2||e===-1||e===32}const Dt=De(new RegExp("\\p{P}|\\p{S}","u")),Be=De(/\s/);function De(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function qe(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&de(e.charCodeAt(n+1))&&de(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 q(u)?(e.enter(n),s(u)):t(u)}function s(u){return q(u)&&i++<a?(e.consume(u),s):(e.exit(n),t(u))}}const Od={tokenize:Ld};function Ld(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 z(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),o)}}const Dd={tokenize:Md},Gl={tokenize:Fd};function Md(e){const t=this,n=[];let r=0,a,i,o;return s;function s(T){if(r<n.length){const R=n[r];return t.containerState=R[1],e.attempt(R[0].continuation,u,l)(T)}return l(T)}function u(T){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&A();const R=t.events.length;let v=R,w;for(;v--;)if(t.events[v][0]==="exit"&&t.events[v][1].type==="chunkFlow"){w=t.events[v][1].end;break}E(r);let M=R;for(;M<t.events.length;)t.events[M][1].end={...w},M++;return Se(t.events,v+1,0,t.events.slice(R)),t.events.length=M,l(T)}return s(T)}function l(T){if(r===n.length){if(!a)return g(T);if(a.currentConstruct&&a.currentConstruct.concrete)return m(T);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Gl,c,d)(T)}function c(T){return a&&A(),E(r),g(T)}function d(T){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(T)}function g(T){return t.containerState={},e.attempt(Gl,p,m)(T)}function p(T){return r++,n.push([t.currentConstruct,t.containerState]),g(T)}function m(T){if(T===null){a&&A(),E(0),e.consume(T);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),S(T)}function S(T){if(T===null){y(e.exit("chunkFlow"),!0),E(0),e.consume(T);return}return z(T)?(e.consume(T),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(T),S)}function y(T,R){const v=t.sliceStream(T);if(R&&v.push(null),T.previous=i,i&&(i.next=T),i=T,a.defineSkip(T.start),a.write(v),t.parser.lazy[T.start.line]){let w=a.events.length;for(;w--;)if(a.events[w][1].start.offset<o&&(!a.events[w][1].end||a.events[w][1].end.offset>o))return;const M=t.events.length;let B=M,P,k;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){if(P){k=t.events[B][1].end;break}P=!0}for(E(r),w=M;w<t.events.length;)t.events[w][1].end={...k},w++;Se(t.events,B+1,0,t.events.slice(M)),t.events.length=w}}function E(T){let R=n.length;for(;R-- >T;){const v=n[R];t.containerState=v[1],v[0].exit.call(t,e)}n.length=T}function A(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function Fd(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 We(e){if(e===null||J(e)||Be(e))return 1;if(Dt(e))return 2}function Mt(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:Ud,tokenize:Bd};function Ud(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},g={...e[n][1].start};jl(d,-u),jl(g,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:g},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=Te(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=Te(l,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=Te(l,Mt(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=Te(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=Te(l,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Se(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 Bd(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=We(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=We(u),d=!c||c===2&&a||n.includes(u),g=!a||a===2&&c||n.includes(r);return l._open=!!(i===42?d:d&&(a||!g)),l._close=!!(i===42?g:g&&(c||!d)),t(u)}}function jl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Pd={name:"autolink",tokenize:$d};function $d(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 fe(p)?(e.consume(p),o):p===64?n(p):l(p)}function o(p){return p===43||p===45||p===46||de(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||de(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||Lt(p)?n(p):(e.consume(p),u)}function l(p){return p===64?(e.consume(p),c):vd(p)?(e.consume(p),l):n(p)}function c(p){return de(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):g(p)}function g(p){if((p===45||de(p))&&r++<63){const m=p===45?g:d;return e.consume(p),m}return n(p)}}const ft={partial:!0,tokenize:zd};function zd(e,t,n){return r;function r(i){return q(i)?K(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||z(i)?t(i):n(i)}}const Hl={continuation:{tokenize:jd},exit:Hd,name:"blockQuote",tokenize:Gd};function Gd(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 q(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function jd(e,t,n){const r=this;return a;function a(o){return q(o)?K(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(Hl,t,n)(o)}}function Hd(e){e.exit("blockQuote")}const Vl={name:"characterEscape",tokenize:Vd};function Vd(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 Cd(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const ql={name:"characterReference",tokenize:qd};function qd(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=de,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=xd,c):(e.enter("characterReferenceValue"),i=7,o=yn,c(d))}function c(d){if(d===59&&a){const g=e.exit("characterReferenceValue");return o===de&&!gt(r.sliceSerialize(g))?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 Wl={partial:!0,tokenize:Yd},Yl={concrete:!0,name:"codeFenced",tokenize:Wd};function Wd(e,t,n){const r=this,a={partial:!0,tokenize:v};let i=0,o=0,s;return u;function u(w){return l(w)}function l(w){const M=r.events[r.events.length-1];return i=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,s=w,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(w)}function c(w){return w===s?(o++,e.consume(w),c):o<3?n(w):(e.exit("codeFencedFenceSequence"),q(w)?K(e,d,"whitespace")(w):d(w))}function d(w){return w===null||z(w)?(e.exit("codeFencedFence"),r.interrupt?t(w):e.check(Wl,S,R)(w)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(w))}function g(w){return w===null||z(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(w)):q(w)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),K(e,p,"whitespace")(w)):w===96&&w===s?n(w):(e.consume(w),g)}function p(w){return w===null||z(w)?d(w):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(w))}function m(w){return w===null||z(w)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(w)):w===96&&w===s?n(w):(e.consume(w),m)}function S(w){return e.attempt(a,R,y)(w)}function y(w){return e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),E}function E(w){return i>0&&q(w)?K(e,A,"linePrefix",i+1)(w):A(w)}function A(w){return w===null||z(w)?e.check(Wl,S,R)(w):(e.enter("codeFlowValue"),T(w))}function T(w){return w===null||z(w)?(e.exit("codeFlowValue"),A(w)):(e.consume(w),T)}function R(w){return e.exit("codeFenced"),t(w)}function v(w,M,B){let P=0;return k;function k(x){return w.enter("lineEnding"),w.consume(x),w.exit("lineEnding"),O}function O(x){return w.enter("codeFencedFence"),q(x)?K(w,L,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):L(x)}function L(x){return x===s?(w.enter("codeFencedFenceSequence"),U(x)):B(x)}function U(x){return x===s?(P++,w.consume(x),U):P>=o?(w.exit("codeFencedFenceSequence"),q(x)?K(w,N,"whitespace")(x):N(x)):B(x)}function N(x){return x===null||z(x)?(w.exit("codeFencedFence"),M(x)):B(x)}}}function Yd(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 kn={name:"codeIndented",tokenize:Zd},Kd={partial:!0,tokenize:Xd};function Zd(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):z(l)?e.attempt(Kd,o,u)(l):(e.enter("codeFlowValue"),s(l))}function s(l){return l===null||z(l)?(e.exit("codeFlowValue"),o(l)):(e.consume(l),s)}function u(l){return e.exit("codeIndented"),t(l)}}function Xd(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):z(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):z(o)?a(o):n(o)}}const Qd={name:"codeText",previous:ep,resolve:Jd,tokenize:tp};function Jd(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 ep(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function tp(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)):z(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||z(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 np{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&&mt(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),mt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),mt(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);mt(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);mt(this.left,n.reverse())}}}function mt(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 Kl(e){const t={};let n=-1,r,a,i,o,s,u,l;const c=new np(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,rp(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 Se(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function rp(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,g=-1,p=n,m=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;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(S=g+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(),g=y.length;g--;){const E=s.slice(y[g],y[g+1]),A=i.pop();u.push([A,A+E.length-1]),e.splice(A,2,E)}for(u.reverse(),g=-1;++g<u.length;)l[m+u[g][0]]=m+u[g][1],m+=u[g][1]-u[g][0]-1;return l}const ap={resolve:op,tokenize:sp},ip={partial:!0,tokenize:lp};function op(e){return Kl(e),e}function sp(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):z(s)?e.check(ip,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 lp(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||z(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 Zl(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),g):E===null||E===32||E===41||Lt(E)?n(E):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),S(E))}function g(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),g(E)):E===null||E===60||z(E)?n(E):(e.consume(E),E===92?m:p)}function m(E){return E===60||E===62||E===92?(e.consume(E),p):p(E)}function S(E){return!c&&(E===null||E===41||J(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||Lt(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 Xl(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):z(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||z(p)||s++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!q(p)),p===92?g:d)}function g(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function Ql(e,t,n,r,a,i){let o;return s;function s(g){return g===34||g===39||g===40?(e.enter(r),e.enter(a),e.consume(g),e.exit(a),o=g===40?41:g,u):n(g)}function u(g){return g===o?(e.enter(a),e.consume(g),e.exit(a),e.exit(r),t):(e.enter(i),l(g))}function l(g){return g===o?(e.exit(i),u(o)):g===null?n(g):z(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),K(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(g))}function c(g){return g===o||g===null||z(g)?(e.exit("chunkString"),l(g)):(e.consume(g),g===92?d:c)}function d(g){return g===o||g===92?(e.consume(g),c):c(g)}}function bt(e,t){let n;return r;function r(a){return z(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):q(a)?K(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const up={name:"definition",tokenize:dp},cp={partial:!0,tokenize:pp};function dp(e,t,n){const r=this;let a;return i;function i(p){return e.enter("definition"),o(p)}function o(p){return Xl.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return a=_e(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 J(p)?bt(e,l)(p):l(p)}function l(p){return Zl(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(cp,d,d)(p)}function d(p){return q(p)?K(e,g,"whitespace")(p):g(p)}function g(p){return p===null||z(p)?(e.exit("definition"),r.parser.defined.push(a),t(p)):n(p)}}function pp(e,t,n){return r;function r(s){return J(s)?bt(e,a)(s):n(s)}function a(s){return Ql(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return q(s)?K(e,o,"whitespace")(s):o(s)}function o(s){return s===null||z(s)?t(s):n(s)}}const gp={name:"hardBreakEscape",tokenize:fp};function fp(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return z(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const mp={name:"headingAtx",resolve:bp,tokenize:hp};function bp(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"},Se(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function hp(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||J(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||z(c)?(e.exit("atxHeading"),t(c)):q(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||J(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),l)}}const Ep=["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"],Jl=["pre","script","style","textarea"],yp={concrete:!0,name:"htmlFlow",resolveTo:Tp,tokenize:wp},Sp={partial:!0,tokenize:_p},kp={partial:!0,tokenize:Ap};function Tp(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 wp(e,t,n){const r=this;let a,i,o,s,u;return l;function l(h){return c(h)}function c(h){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(h),d}function d(h){return h===33?(e.consume(h),g):h===47?(e.consume(h),i=!0,S):h===63?(e.consume(h),a=3,r.interrupt?t:b):fe(h)?(e.consume(h),o=String.fromCharCode(h),y):n(h)}function g(h){return h===45?(e.consume(h),a=2,p):h===91?(e.consume(h),a=5,s=0,m):fe(h)?(e.consume(h),a=4,r.interrupt?t:b):n(h)}function p(h){return h===45?(e.consume(h),r.interrupt?t:b):n(h)}function m(h){const Z="CDATA[";return h===Z.charCodeAt(s++)?(e.consume(h),s===Z.length?r.interrupt?t:L:m):n(h)}function S(h){return fe(h)?(e.consume(h),o=String.fromCharCode(h),y):n(h)}function y(h){if(h===null||h===47||h===62||J(h)){const Z=h===47,me=o.toLowerCase();return!Z&&!i&&Jl.includes(me)?(a=1,r.interrupt?t(h):L(h)):Ep.includes(o.toLowerCase())?(a=6,Z?(e.consume(h),E):r.interrupt?t(h):L(h)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(h):i?A(h):T(h))}return h===45||de(h)?(e.consume(h),o+=String.fromCharCode(h),y):n(h)}function E(h){return h===62?(e.consume(h),r.interrupt?t:L):n(h)}function A(h){return q(h)?(e.consume(h),A):k(h)}function T(h){return h===47?(e.consume(h),k):h===58||h===95||fe(h)?(e.consume(h),R):q(h)?(e.consume(h),T):k(h)}function R(h){return h===45||h===46||h===58||h===95||de(h)?(e.consume(h),R):v(h)}function v(h){return h===61?(e.consume(h),w):q(h)?(e.consume(h),v):T(h)}function w(h){return h===null||h===60||h===61||h===62||h===96?n(h):h===34||h===39?(e.consume(h),u=h,M):q(h)?(e.consume(h),w):B(h)}function M(h){return h===u?(e.consume(h),u=null,P):h===null||z(h)?n(h):(e.consume(h),M)}function B(h){return h===null||h===34||h===39||h===47||h===60||h===61||h===62||h===96||J(h)?v(h):(e.consume(h),B)}function P(h){return h===47||h===62||q(h)?T(h):n(h)}function k(h){return h===62?(e.consume(h),O):n(h)}function O(h){return h===null||z(h)?L(h):q(h)?(e.consume(h),O):n(h)}function L(h){return h===45&&a===2?(e.consume(h),j):h===60&&a===1?(e.consume(h),G):h===62&&a===4?(e.consume(h),_):h===63&&a===3?(e.consume(h),b):h===93&&a===5?(e.consume(h),re):z(h)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Sp,$,U)(h)):h===null||z(h)?(e.exit("htmlFlowData"),U(h)):(e.consume(h),L)}function U(h){return e.check(kp,N,$)(h)}function N(h){return e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),x}function x(h){return h===null||z(h)?U(h):(e.enter("htmlFlowData"),L(h))}function j(h){return h===45?(e.consume(h),b):L(h)}function G(h){return h===47?(e.consume(h),o="",ne):L(h)}function ne(h){if(h===62){const Z=o.toLowerCase();return Jl.includes(Z)?(e.consume(h),_):L(h)}return fe(h)&&o.length<8?(e.consume(h),o+=String.fromCharCode(h),ne):L(h)}function re(h){return h===93?(e.consume(h),b):L(h)}function b(h){return h===62?(e.consume(h),_):h===45&&a===2?(e.consume(h),b):L(h)}function _(h){return h===null||z(h)?(e.exit("htmlFlowData"),$(h)):(e.consume(h),_)}function $(h){return e.exit("htmlFlow"),t(h)}}function Ap(e,t,n){const r=this;return a;function a(o){return z(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 _p(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(ft,t,n)}}const Ip={name:"htmlText",tokenize:Rp};function Rp(e,t,n){const r=this;let a,i,o;return s;function s(b){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(b),u}function u(b){return b===33?(e.consume(b),l):b===47?(e.consume(b),v):b===63?(e.consume(b),T):fe(b)?(e.consume(b),B):n(b)}function l(b){return b===45?(e.consume(b),c):b===91?(e.consume(b),i=0,m):fe(b)?(e.consume(b),A):n(b)}function c(b){return b===45?(e.consume(b),p):n(b)}function d(b){return b===null?n(b):b===45?(e.consume(b),g):z(b)?(o=d,G(b)):(e.consume(b),d)}function g(b){return b===45?(e.consume(b),p):d(b)}function p(b){return b===62?j(b):b===45?g(b):d(b)}function m(b){const _="CDATA[";return b===_.charCodeAt(i++)?(e.consume(b),i===_.length?S:m):n(b)}function S(b){return b===null?n(b):b===93?(e.consume(b),y):z(b)?(o=S,G(b)):(e.consume(b),S)}function y(b){return b===93?(e.consume(b),E):S(b)}function E(b){return b===62?j(b):b===93?(e.consume(b),E):S(b)}function A(b){return b===null||b===62?j(b):z(b)?(o=A,G(b)):(e.consume(b),A)}function T(b){return b===null?n(b):b===63?(e.consume(b),R):z(b)?(o=T,G(b)):(e.consume(b),T)}function R(b){return b===62?j(b):T(b)}function v(b){return fe(b)?(e.consume(b),w):n(b)}function w(b){return b===45||de(b)?(e.consume(b),w):M(b)}function M(b){return z(b)?(o=M,G(b)):q(b)?(e.consume(b),M):j(b)}function B(b){return b===45||de(b)?(e.consume(b),B):b===47||b===62||J(b)?P(b):n(b)}function P(b){return b===47?(e.consume(b),j):b===58||b===95||fe(b)?(e.consume(b),k):z(b)?(o=P,G(b)):q(b)?(e.consume(b),P):j(b)}function k(b){return b===45||b===46||b===58||b===95||de(b)?(e.consume(b),k):O(b)}function O(b){return b===61?(e.consume(b),L):z(b)?(o=O,G(b)):q(b)?(e.consume(b),O):P(b)}function L(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),a=b,U):z(b)?(o=L,G(b)):q(b)?(e.consume(b),L):(e.consume(b),N)}function U(b){return b===a?(e.consume(b),a=void 0,x):b===null?n(b):z(b)?(o=U,G(b)):(e.consume(b),U)}function N(b){return b===null||b===34||b===39||b===60||b===61||b===96?n(b):b===47||b===62||J(b)?P(b):(e.consume(b),N)}function x(b){return b===47||b===62||J(b)?P(b):n(b)}function j(b){return b===62?(e.consume(b),e.exit("htmlTextData"),e.exit("htmlText"),t):n(b)}function G(b){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ne}function ne(b){return q(b)?K(e,re,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b):re(b)}function re(b){return e.enter("htmlTextData"),o(b)}}const Tn={name:"labelEnd",resolveAll:Cp,resolveTo:Op,tokenize:Lp},Np={tokenize:Dp},vp={tokenize:Mp},xp={tokenize:Fp};function Cp(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&&Se(e,0,e.length,n),e}function Op(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=Te(s,e.slice(i+1,i+r+3)),s=Te(s,[["enter",c,t]]),s=Te(s,Mt(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),s=Te(s,[["exit",c,t],e[o-2],e[o-1],["exit",l,t]]),s=Te(s,e.slice(o+1)),s=Te(s,[["exit",u,t]]),Se(e,i,e.length,s),e}function Lp(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(g){return i?i._inactive?d(g):(o=r.parser.defined.includes(_e(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),u):n(g)}function u(g){return g===40?e.attempt(Np,c,o?c:d)(g):g===91?e.attempt(vp,c,o?l:d)(g):o?c(g):d(g)}function l(g){return e.attempt(xp,c,d)(g)}function c(g){return t(g)}function d(g){return i._balanced=!0,n(g)}}function Dp(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 J(d)?bt(e,i)(d):i(d)}function i(d){return d===41?c(d):Zl(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function o(d){return J(d)?bt(e,u)(d):c(d)}function s(d){return n(d)}function u(d){return d===34||d===39||d===40?Ql(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function l(d){return J(d)?bt(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 Mp(e,t,n){const r=this;return a;function a(s){return Xl.call(r,e,i,o,"reference","referenceMarker","referenceString")(s)}function i(s){return r.parser.defined.includes(_e(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function o(s){return n(s)}}function Fp(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 Up={name:"labelStartImage",resolveAll:Tn.resolveAll,tokenize:Bp};function Bp(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 Pp={name:"labelStartLink",resolveAll:Tn.resolveAll,tokenize:$p};function $p(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 wn={name:"lineEnding",tokenize:zp};function zp(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),K(e,t,"linePrefix")}}const Ft={name:"thematicBreak",tokenize:Gp};function Gp(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||z(l))?(e.exit("thematicBreak"),t(l)):n(l)}function u(l){return l===a?(e.consume(l),r++,u):(e.exit("thematicBreakSequence"),q(l)?K(e,s,"whitespace")(l):s(l))}}const he={continuation:{tokenize:qp},exit:Yp,name:"list",tokenize:Vp},jp={partial:!0,tokenize:Kp},Hp={partial:!0,tokenize:Wp};function Vp(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 m=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:yn(p)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Ft,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 yn(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(ft,r.interrupt?n:c,e.attempt(jp,g,d))}function c(p){return r.containerState.initialBlankLine=!0,i++,g(p)}function d(p){return q(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),g):n(p)}function g(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function qp(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ft,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||!q(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(Hp,t,o)(s))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,K(e,e.attempt(he,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Wp(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 Yp(e){e.exit(this.containerState.type)}function Kp(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!q(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const eu={name:"setextUnderline",resolveTo:Zp,tokenize:Xp};function Zp(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 Xp(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"),q(l)?K(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||z(l)?(e.exit("setextHeadingLine"),t(l)):n(l)}}const Qp={tokenize:Jp};function Jp(e){const t=this,n=e.attempt(ft,r,e.attempt(this.parser.constructs.flowInitial,a,K(e,e.attempt(this.parser.constructs.flow,a,e.attempt(ap,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 eg={resolveAll:nu()},tg=tu("string"),ng=tu("text");function tu(e){return{resolveAll:nu(e==="text"?rg: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 g=-1;if(d)for(;++g<d.length;){const p=d[g];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function nu(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 rg(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 ag=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:up},disable:{null:[]},document:{42:he,43:he,45:he,48:he,49:he,50:he,51:he,52:he,53:he,54:he,55:he,56:he,57:he,62:Hl},flow:{35:mp,42:Ft,45:[eu,Ft],60:yp,61:eu,95:Ft,96:Yl,126:Yl},flowInitial:{[-2]:kn,[-1]:kn,32:kn},insideSpan:{null:[Sn,eg]},string:{38:ql,92:Vl},text:{[-5]:wn,[-4]:wn,[-3]:wn,33:Up,38:ql,42:Sn,60:[Pd,Ip],91:Pp,92:[gp,Vl],93:Tn,95:Sn,96:Qd}},Symbol.toStringTag,{value:"Module"}));function ig(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:M(v),check:M(w),consume:A,enter:T,exit:R,interrupt:M(w,{interrupt:!0})},l={code:null,containerState:{},defineSkip:S,events:[],now:m,parser:e,previous:null,sliceSerialize:g,sliceStream:p,write:d};let c=t.tokenize.call(l,u);return t.resolveAll&&i.push(t),l;function d(O){return o=Te(o,O),y(),o[o.length-1]!==null?[]:(B(t,0),l.events=Mt(i,l.events,l),l.events)}function g(O,L){return sg(p(O),L)}function p(O){return og(o,O)}function m(){const{_bufferIndex:O,_index:L,line:U,column:N,offset:x}=r;return{_bufferIndex:O,_index:L,line:U,column:N,offset:x}}function S(O){a[O.line]=O.column,k()}function y(){let O;for(;r._index<o.length;){const L=o[r._index];if(typeof L=="string")for(O=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===O&&r._bufferIndex<L.length;)E(L.charCodeAt(r._bufferIndex));else E(L)}}function E(O){c=c(O)}function A(O){z(O)?(r.line++,r.column=1,r.offset+=O===-3?2:1,k()):O!==-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=O}function T(O,L){const U=L||{};return U.type=O,U.start=m(),l.events.push(["enter",U,l]),s.push(U),U}function R(O){const L=s.pop();return L.end=m(),l.events.push(["exit",L,l]),L}function v(O,L){B(O,L.from)}function w(O,L){L.restore()}function M(O,L){return U;function U(N,x,j){let G,ne,re,b;return Array.isArray(N)?$(N):"tokenize"in N?$([N]):_(N);function _(ae){return Q;function Q(oe){const we=oe!==null&&ae[oe],xe=oe!==null&&ae.null,rt=[...Array.isArray(we)?we:we?[we]:[],...Array.isArray(xe)?xe:xe?[xe]:[]];return $(rt)(oe)}}function $(ae){return G=ae,ne=0,ae.length===0?j:h(ae[ne])}function h(ae){return Q;function Q(oe){return b=P(),re=ae,ae.partial||(l.currentConstruct=ae),ae.name&&l.parser.constructs.disable.null.includes(ae.name)?me():ae.tokenize.call(L?Object.assign(Object.create(l),L):l,u,Z,me)(oe)}}function Z(ae){return O(re,b),x}function me(ae){return b.restore(),++ne<G.length?h(G[ne]):j}}}function B(O,L){O.resolveAll&&!i.includes(O)&&i.push(O),O.resolve&&Se(l.events,L,l.events.length-L,O.resolve(l.events.slice(L),l)),O.resolveTo&&(l.events=O.resolveTo(l.events,l))}function P(){const O=m(),L=l.previous,U=l.currentConstruct,N=l.events.length,x=Array.from(s);return{from:N,restore:j};function j(){r=O,l.previous=L,l.currentConstruct=U,l.events.length=N,s=x,k()}}function k(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function og(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 sg(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=`
|
|
8
8
|
`;break}case-3:{o=`\r
|
|
9
|
-
`;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 lg(e){const r={constructs:$l([ag,...(e||{}).extensions||[]]),content:a(Od),defined:[],document:a(Dd),flow:a(Qp),lazy:{},string:a(tg),text:a(ng)};return r;function a(i){return o;function o(s){return ig(r,i,s)}}}function ug(e){for(;!Kl(e););return e}const ru=/[\0\t\n\r]/g;function cg(){let e=1,t="",n=!0,r;return a;function a(i,o,s){const u=[];let l,c,d,g,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(ru.lastIndex=d,l=ru.exec(i),g=l&&l.index!==void 0?l.index:i.length,p=i.charCodeAt(g),!l){t=i.slice(d);break}if(p===10&&d===g&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),d<g&&(u.push(i.slice(d,g)),e+=g-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=g+1}return s&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const dg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function pg(e){return e.replace(dg,gg)}function gg(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return zl(n.slice(i?2:1),i?16:10)}return gt(n)||e}const au={}.hasOwnProperty;function fg(e,t,n){return typeof t!="string"&&(n=t,t=void 0),mg(n)(ug(lg(n).document().write(cg()(e,t,!0))))}function mg(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Cc),autolinkProtocol:P,autolinkEmail:P,atxHeading:i(Nc),blockQuote:i(xe),characterEscape:P,characterReference:P,codeFenced:i(rt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(rt,o),codeText:i(Zh,o),codeTextData:P,data:P,codeFlowValue:P,definition:i(Xh),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(Qh),hardBreakEscape:i(vc),hardBreakTrailing:i(vc),htmlFlow:i(xc,o),htmlFlowData:P,htmlText:i(xc,o),htmlTextData:P,image:i(Jh),label:o,link:i(Cc),listItem:i(eE),listItemValue:g,listOrdered:i(Oc,d),listUnordered:i(Oc),paragraph:i(tE),reference:h,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(Nc),strong:i(nE),thematicBreak:i(aE)},exit:{atxHeading:u(),atxHeadingSequence:v,autolink:u(),autolinkEmail:we,autolinkProtocol:oe,blockQuote:u(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:ae,characterReference:Q,codeFenced:u(y),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:k,codeIndented:u(E),codeText:u(x),codeTextData:k,data:k,definition:u(),definitionDestinationString:R,definitionLabelString:A,definitionTitleString:T,emphasis:u(),hardBreakEscape:u(L),hardBreakTrailing:u(L),htmlFlow:u(U),htmlFlowData:k,htmlText:u(N),htmlTextData:k,image:u(G),label:re,labelText:ne,lineEnding:O,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Z,resourceDestinationString:b,resourceTitleString:_,resource:$,setextHeading:u(B),setextHeadingLineSequence:M,setextHeadingText:w,strong:u(),thematicBreak:u()}};iu(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(I){let F={type:"root",children:[]};const H={stack:[F],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:c,data:n},Y=[];let ee=-1;for(;++ee<I.length;)if(I[ee][1].type==="listOrdered"||I[ee][1].type==="listUnordered")if(I[ee][0]==="enter")Y.push(ee);else{const Ie=Y.pop();ee=a(I,Ie,ee)}for(ee=-1;++ee<I.length;){const Ie=t[I[ee][0]];au.call(Ie,I[ee][1].type)&&Ie[I[ee][1].type].call(Object.assign({sliceSerialize:I[ee][2].sliceSerialize},H),I[ee][1])}if(H.tokenStack.length>0){const Ie=H.tokenStack[H.tokenStack.length-1];(Ie[1]||ou).call(H,void 0,Ie[0])}for(F.position={start:Me(I.length>0?I[0][1].start:{line:1,column:1,offset:0}),end:Me(I.length>0?I[I.length-2][1].end:{line:1,column:1,offset:0})},ee=-1;++ee<t.transforms.length;)F=t.transforms[ee](F)||F;return F}function a(I,F,H){let Y=F-1,ee=-1,Ie=!1,ze,Oe,vt,xt;for(;++Y<=H;){const ke=I[Y];switch(ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ke[0]==="enter"?ee++:ee--,xt=void 0;break}case"lineEndingBlank":{ke[0]==="enter"&&(ze&&!xt&&!ee&&!vt&&(vt=Y),xt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:xt=void 0}if(!ee&&ke[0]==="enter"&&ke[1].type==="listItemPrefix"||ee===-1&&ke[0]==="exit"&&(ke[1].type==="listUnordered"||ke[1].type==="listOrdered")){if(ze){let at=Y;for(Oe=void 0;at--;){const Le=I[at];if(Le[1].type==="lineEnding"||Le[1].type==="lineEndingBlank"){if(Le[0]==="exit")continue;Oe&&(I[Oe][1].type="lineEndingBlank",Ie=!0),Le[1].type="lineEnding",Oe=at}else if(!(Le[1].type==="linePrefix"||Le[1].type==="blockQuotePrefix"||Le[1].type==="blockQuotePrefixWhitespace"||Le[1].type==="blockQuoteMarker"||Le[1].type==="listItemIndent"))break}vt&&(!Oe||vt<Oe)&&(ze._spread=!0),ze.end=Object.assign({},Oe?I[Oe][1].start:ke[1].end),I.splice(Oe||Y,0,["exit",ze,ke[2]]),Y++,H++}if(ke[1].type==="listItemPrefix"){const at={type:"listItem",_spread:!1,start:Object.assign({},ke[1].start),end:void 0};ze=at,I.splice(Y,0,["enter",at,ke[2]]),Y++,H++,vt=void 0,xt=!0}}}return I[F][1]._spread=Ie,H}function i(I,F){return H;function H(Y){s.call(this,I(Y),Y),F&&F.call(this,Y)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(I,F,H){this.stack[this.stack.length-1].children.push(I),this.stack.push(I),this.tokenStack.push([F,H||void 0]),I.position={start:Me(F.start),end:void 0}}function u(I){return F;function F(H){I&&I.call(this,H),l.call(this,H)}}function l(I,F){const H=this.stack.pop(),Y=this.tokenStack.pop();if(Y)Y[0].type!==I.type&&(F?F.call(this,I,Y[0]):(Y[1]||ou).call(this,I,Y[0]));else throw new Error("Cannot close `"+I.type+"` ("+dt({start:I.start,end:I.end})+"): it’s not open");H.position.end=Me(I.end)}function c(){return En(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function g(I){if(this.data.expectingFirstListItemValue){const F=this.stack[this.stack.length-2];F.start=Number.parseInt(this.sliceSerialize(I),10),this.data.expectingFirstListItemValue=void 0}}function p(){const I=this.resume(),F=this.stack[this.stack.length-1];F.lang=I}function m(){const I=this.resume(),F=this.stack[this.stack.length-1];F.meta=I}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I.replace(/(\r?\n|\r)$/g,"")}function A(I){const F=this.resume(),H=this.stack[this.stack.length-1];H.label=F,H.identifier=_e(this.sliceSerialize(I)).toLowerCase()}function T(){const I=this.resume(),F=this.stack[this.stack.length-1];F.title=I}function R(){const I=this.resume(),F=this.stack[this.stack.length-1];F.url=I}function v(I){const F=this.stack[this.stack.length-1];if(!F.depth){const H=this.sliceSerialize(I).length;F.depth=H}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function M(I){const F=this.stack[this.stack.length-1];F.depth=this.sliceSerialize(I).codePointAt(0)===61?1:2}function B(){this.data.setextHeadingSlurpLineEnding=void 0}function P(I){const H=this.stack[this.stack.length-1].children;let Y=H[H.length-1];(!Y||Y.type!=="text")&&(Y=rE(),Y.position={start:Me(I.start),end:void 0},H.push(Y)),this.stack.push(Y)}function k(I){const F=this.stack.pop();F.value+=this.sliceSerialize(I),F.position.end=Me(I.end)}function O(I){const F=this.stack[this.stack.length-1];if(this.data.atHardBreak){const H=F.children[F.children.length-1];H.position.end=Me(I.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(F.type)&&(P.call(this,I),k.call(this,I))}function L(){this.data.atHardBreak=!0}function U(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I}function N(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I}function x(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I}function j(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=F,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function G(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=F,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function ne(I){const F=this.sliceSerialize(I),H=this.stack[this.stack.length-2];H.label=pg(F),H.identifier=_e(F).toLowerCase()}function re(){const I=this.stack[this.stack.length-1],F=this.resume(),H=this.stack[this.stack.length-1];if(this.data.inReference=!0,H.type==="link"){const Y=I.children;H.children=Y}else H.alt=F}function b(){const I=this.resume(),F=this.stack[this.stack.length-1];F.url=I}function _(){const I=this.resume(),F=this.stack[this.stack.length-1];F.title=I}function $(){this.data.inReference=void 0}function h(){this.data.referenceType="collapsed"}function Z(I){const F=this.resume(),H=this.stack[this.stack.length-1];H.label=F,H.identifier=_e(this.sliceSerialize(I)).toLowerCase(),this.data.referenceType="full"}function me(I){this.data.characterReferenceType=I.type}function ae(I){const F=this.sliceSerialize(I),H=this.data.characterReferenceType;let Y;H?(Y=zl(F,H==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Y=gt(F);const ee=this.stack[this.stack.length-1];ee.value+=Y}function Q(I){const F=this.stack.pop();F.position.end=Me(I.end)}function oe(I){k.call(this,I);const F=this.stack[this.stack.length-1];F.url=this.sliceSerialize(I)}function we(I){k.call(this,I);const F=this.stack[this.stack.length-1];F.url="mailto:"+this.sliceSerialize(I)}function xe(){return{type:"blockquote",children:[]}}function rt(){return{type:"code",lang:null,meta:null,value:""}}function Zh(){return{type:"inlineCode",value:""}}function Xh(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Qh(){return{type:"emphasis",children:[]}}function Nc(){return{type:"heading",depth:0,children:[]}}function vc(){return{type:"break"}}function xc(){return{type:"html",value:""}}function Jh(){return{type:"image",title:null,url:"",alt:null}}function Cc(){return{type:"link",title:null,url:"",children:[]}}function Oc(I){return{type:"list",ordered:I.type==="listOrdered",start:null,spread:I._spread,children:[]}}function eE(I){return{type:"listItem",spread:I._spread,checked:null,children:[]}}function tE(){return{type:"paragraph",children:[]}}function nE(){return{type:"strong",children:[]}}function rE(){return{type:"text",value:""}}function aE(){return{type:"thematicBreak"}}}function Me(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):bg(e,r)}}function bg(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 ou(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+dt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+dt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+dt({start:t.start,end:t.end})+") is still open")}function hg(e){const t=this;t.parser=n;function n(r){return fg(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Eg(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 yg(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
9
|
+
`;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 lg(e){const r={constructs:$l([ag,...(e||{}).extensions||[]]),content:a(Od),defined:[],document:a(Dd),flow:a(Qp),lazy:{},string:a(tg),text:a(ng)};return r;function a(i){return o;function o(s){return ig(r,i,s)}}}function ug(e){for(;!Kl(e););return e}const ru=/[\0\t\n\r]/g;function cg(){let e=1,t="",n=!0,r;return a;function a(i,o,s){const u=[];let l,c,d,g,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(ru.lastIndex=d,l=ru.exec(i),g=l&&l.index!==void 0?l.index:i.length,p=i.charCodeAt(g),!l){t=i.slice(d);break}if(p===10&&d===g&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),d<g&&(u.push(i.slice(d,g)),e+=g-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=g+1}return s&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}const dg=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function pg(e){return e.replace(dg,gg)}function gg(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return zl(n.slice(i?2:1),i?16:10)}return gt(n)||e}const au={}.hasOwnProperty;function fg(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),mg(n)(ug(lg(n).document().write(cg()(e,t,!0))))}function mg(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Cc),autolinkProtocol:P,autolinkEmail:P,atxHeading:i(Nc),blockQuote:i(xe),characterEscape:P,characterReference:P,codeFenced:i(rt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(rt,o),codeText:i(Zh,o),codeTextData:P,data:P,codeFlowValue:P,definition:i(Xh),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(Qh),hardBreakEscape:i(vc),hardBreakTrailing:i(vc),htmlFlow:i(xc,o),htmlFlowData:P,htmlText:i(xc,o),htmlTextData:P,image:i(Jh),label:o,link:i(Cc),listItem:i(eE),listItemValue:g,listOrdered:i(Oc,d),listUnordered:i(Oc),paragraph:i(tE),reference:h,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(Nc),strong:i(nE),thematicBreak:i(aE)},exit:{atxHeading:u(),atxHeadingSequence:v,autolink:u(),autolinkEmail:we,autolinkProtocol:oe,blockQuote:u(),characterEscapeValue:k,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:ae,characterReference:Q,codeFenced:u(y),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:k,codeIndented:u(E),codeText:u(x),codeTextData:k,data:k,definition:u(),definitionDestinationString:R,definitionLabelString:A,definitionTitleString:T,emphasis:u(),hardBreakEscape:u(L),hardBreakTrailing:u(L),htmlFlow:u(U),htmlFlowData:k,htmlText:u(N),htmlTextData:k,image:u(G),label:re,labelText:ne,lineEnding:O,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Z,resourceDestinationString:b,resourceTitleString:_,resource:$,setextHeading:u(B),setextHeadingLineSequence:M,setextHeadingText:w,strong:u(),thematicBreak:u()}};iu(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(I){let F={type:"root",children:[]};const H={stack:[F],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:c,data:n},Y=[];let ee=-1;for(;++ee<I.length;)if(I[ee][1].type==="listOrdered"||I[ee][1].type==="listUnordered")if(I[ee][0]==="enter")Y.push(ee);else{const Ie=Y.pop();ee=a(I,Ie,ee)}for(ee=-1;++ee<I.length;){const Ie=t[I[ee][0]];au.call(Ie,I[ee][1].type)&&Ie[I[ee][1].type].call(Object.assign({sliceSerialize:I[ee][2].sliceSerialize},H),I[ee][1])}if(H.tokenStack.length>0){const Ie=H.tokenStack[H.tokenStack.length-1];(Ie[1]||ou).call(H,void 0,Ie[0])}for(F.position={start:Me(I.length>0?I[0][1].start:{line:1,column:1,offset:0}),end:Me(I.length>0?I[I.length-2][1].end:{line:1,column:1,offset:0})},ee=-1;++ee<t.transforms.length;)F=t.transforms[ee](F)||F;return F}function a(I,F,H){let Y=F-1,ee=-1,Ie=!1,ze,Oe,vt,xt;for(;++Y<=H;){const ke=I[Y];switch(ke[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ke[0]==="enter"?ee++:ee--,xt=void 0;break}case"lineEndingBlank":{ke[0]==="enter"&&(ze&&!xt&&!ee&&!vt&&(vt=Y),xt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:xt=void 0}if(!ee&&ke[0]==="enter"&&ke[1].type==="listItemPrefix"||ee===-1&&ke[0]==="exit"&&(ke[1].type==="listUnordered"||ke[1].type==="listOrdered")){if(ze){let at=Y;for(Oe=void 0;at--;){const Le=I[at];if(Le[1].type==="lineEnding"||Le[1].type==="lineEndingBlank"){if(Le[0]==="exit")continue;Oe&&(I[Oe][1].type="lineEndingBlank",Ie=!0),Le[1].type="lineEnding",Oe=at}else if(!(Le[1].type==="linePrefix"||Le[1].type==="blockQuotePrefix"||Le[1].type==="blockQuotePrefixWhitespace"||Le[1].type==="blockQuoteMarker"||Le[1].type==="listItemIndent"))break}vt&&(!Oe||vt<Oe)&&(ze._spread=!0),ze.end=Object.assign({},Oe?I[Oe][1].start:ke[1].end),I.splice(Oe||Y,0,["exit",ze,ke[2]]),Y++,H++}if(ke[1].type==="listItemPrefix"){const at={type:"listItem",_spread:!1,start:Object.assign({},ke[1].start),end:void 0};ze=at,I.splice(Y,0,["enter",at,ke[2]]),Y++,H++,vt=void 0,xt=!0}}}return I[F][1]._spread=Ie,H}function i(I,F){return H;function H(Y){s.call(this,I(Y),Y),F&&F.call(this,Y)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(I,F,H){this.stack[this.stack.length-1].children.push(I),this.stack.push(I),this.tokenStack.push([F,H||void 0]),I.position={start:Me(F.start),end:void 0}}function u(I){return F;function F(H){I&&I.call(this,H),l.call(this,H)}}function l(I,F){const H=this.stack.pop(),Y=this.tokenStack.pop();if(Y)Y[0].type!==I.type&&(F?F.call(this,I,Y[0]):(Y[1]||ou).call(this,I,Y[0]));else throw new Error("Cannot close `"+I.type+"` ("+dt({start:I.start,end:I.end})+"): it’s not open");H.position.end=Me(I.end)}function c(){return En(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function g(I){if(this.data.expectingFirstListItemValue){const F=this.stack[this.stack.length-2];F.start=Number.parseInt(this.sliceSerialize(I),10),this.data.expectingFirstListItemValue=void 0}}function p(){const I=this.resume(),F=this.stack[this.stack.length-1];F.lang=I}function m(){const I=this.resume(),F=this.stack[this.stack.length-1];F.meta=I}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function E(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I.replace(/(\r?\n|\r)$/g,"")}function A(I){const F=this.resume(),H=this.stack[this.stack.length-1];H.label=F,H.identifier=_e(this.sliceSerialize(I)).toLowerCase()}function T(){const I=this.resume(),F=this.stack[this.stack.length-1];F.title=I}function R(){const I=this.resume(),F=this.stack[this.stack.length-1];F.url=I}function v(I){const F=this.stack[this.stack.length-1];if(!F.depth){const H=this.sliceSerialize(I).length;F.depth=H}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function M(I){const F=this.stack[this.stack.length-1];F.depth=this.sliceSerialize(I).codePointAt(0)===61?1:2}function B(){this.data.setextHeadingSlurpLineEnding=void 0}function P(I){const H=this.stack[this.stack.length-1].children;let Y=H[H.length-1];(!Y||Y.type!=="text")&&(Y=rE(),Y.position={start:Me(I.start),end:void 0},H.push(Y)),this.stack.push(Y)}function k(I){const F=this.stack.pop();F.value+=this.sliceSerialize(I),F.position.end=Me(I.end)}function O(I){const F=this.stack[this.stack.length-1];if(this.data.atHardBreak){const H=F.children[F.children.length-1];H.position.end=Me(I.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(F.type)&&(P.call(this,I),k.call(this,I))}function L(){this.data.atHardBreak=!0}function U(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I}function N(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I}function x(){const I=this.resume(),F=this.stack[this.stack.length-1];F.value=I}function j(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=F,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function G(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const F=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=F,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function ne(I){const F=this.sliceSerialize(I),H=this.stack[this.stack.length-2];H.label=pg(F),H.identifier=_e(F).toLowerCase()}function re(){const I=this.stack[this.stack.length-1],F=this.resume(),H=this.stack[this.stack.length-1];if(this.data.inReference=!0,H.type==="link"){const Y=I.children;H.children=Y}else H.alt=F}function b(){const I=this.resume(),F=this.stack[this.stack.length-1];F.url=I}function _(){const I=this.resume(),F=this.stack[this.stack.length-1];F.title=I}function $(){this.data.inReference=void 0}function h(){this.data.referenceType="collapsed"}function Z(I){const F=this.resume(),H=this.stack[this.stack.length-1];H.label=F,H.identifier=_e(this.sliceSerialize(I)).toLowerCase(),this.data.referenceType="full"}function me(I){this.data.characterReferenceType=I.type}function ae(I){const F=this.sliceSerialize(I),H=this.data.characterReferenceType;let Y;H?(Y=zl(F,H==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Y=gt(F);const ee=this.stack[this.stack.length-1];ee.value+=Y}function Q(I){const F=this.stack.pop();F.position.end=Me(I.end)}function oe(I){k.call(this,I);const F=this.stack[this.stack.length-1];F.url=this.sliceSerialize(I)}function we(I){k.call(this,I);const F=this.stack[this.stack.length-1];F.url="mailto:"+this.sliceSerialize(I)}function xe(){return{type:"blockquote",children:[]}}function rt(){return{type:"code",lang:null,meta:null,value:""}}function Zh(){return{type:"inlineCode",value:""}}function Xh(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Qh(){return{type:"emphasis",children:[]}}function Nc(){return{type:"heading",depth:0,children:[]}}function vc(){return{type:"break"}}function xc(){return{type:"html",value:""}}function Jh(){return{type:"image",title:null,url:"",alt:null}}function Cc(){return{type:"link",title:null,url:"",children:[]}}function Oc(I){return{type:"list",ordered:I.type==="listOrdered",start:null,spread:I._spread,children:[]}}function eE(I){return{type:"listItem",spread:I._spread,checked:null,children:[]}}function tE(){return{type:"paragraph",children:[]}}function nE(){return{type:"strong",children:[]}}function rE(){return{type:"text",value:""}}function aE(){return{type:"thematicBreak"}}}function Me(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):bg(e,r)}}function bg(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 ou(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+dt({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+dt({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+dt({start:t.start,end:t.end})+") is still open")}function hg(e){const t=this;t.parser=n;function n(r){return fg(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Eg(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 yg(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
10
10
|
`}]}function Sg(e,t){const n=t.value?t.value+`
|
|
11
11
|
`:"",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 kg(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Tg(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wg(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=qe(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 Ag(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 _g(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function su(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 Ig(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return su(e,t);const a={src:qe(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 Rg(e,t){const n={src:qe(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 Ng(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 vg(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return su(e,t);const a={href:qe(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 xg(e,t){const n={href:qe(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 Cg(e,t,n){const r=e.all(t),a=n?Og(n):lu(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:`
|
|
12
12
|
`}),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:`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@object-ui/plugin-chatbot",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Chatbot interface plugin for Object UI",
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"lucide-react": "^0.
|
|
27
|
+
"lucide-react": "^0.576.0",
|
|
28
28
|
"react-markdown": "^10.1.0",
|
|
29
|
-
"react-syntax-highlighter": "^16.1.
|
|
29
|
+
"react-syntax-highlighter": "^16.1.1",
|
|
30
30
|
"remark-gfm": "^4.0.1",
|
|
31
|
-
"@object-ui/components": "3.0
|
|
32
|
-
"@object-ui/core": "3.0
|
|
33
|
-
"@object-ui/react": "3.0
|
|
34
|
-
"@object-ui/types": "3.0
|
|
31
|
+
"@object-ui/components": "3.1.0",
|
|
32
|
+
"@object-ui/core": "3.1.0",
|
|
33
|
+
"@object-ui/react": "3.1.0",
|
|
34
|
+
"@object-ui/types": "3.1.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": "^18.0.0 || ^19.0.0",
|
|
38
38
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/react": "19.2.
|
|
41
|
+
"@types/react": "19.2.14",
|
|
42
42
|
"@types/react-dom": "19.2.3",
|
|
43
43
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
44
44
|
"@vitejs/plugin-react": "^5.1.4",
|