UNPKG

trieve-search-component

Version:

The easiest way to get up and running in your app using trieve search.

2 lines 2.05 MB
var M2=Object.create;var Uc=Object.defineProperty;var K2=Object.getOwnPropertyDescriptor;var L2=Object.getOwnPropertyNames;var U2=Object.getPrototypeOf,Y2=Object.prototype.hasOwnProperty;var AG=I=>{throw TypeError(I)};var J2=(I,A,g)=>A in I?Uc(I,A,{enumerable:!0,configurable:!0,writable:!0,value:g}):I[A]=g;var RQ=(I=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(I,{get:(A,g)=>(typeof require<"u"?require:A)[g]}):I)(function(I){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+I+'" is not supported')});var V=(I,A)=>()=>(I&&(A=I(I=0)),A);var jC=(I,A)=>()=>(A||I((A={exports:{}}).exports,A),A.exports),Nw=(I,A)=>{for(var g in A)Uc(I,g,{get:A[g],enumerable:!0})},H2=(I,A,g,C)=>{if(A&&typeof A=="object"||typeof A=="function")for(let B of L2(A))!Y2.call(I,B)&&B!==g&&Uc(I,B,{get:()=>A[B],enumerable:!(C=K2(A,B))||C.enumerable});return I};var Gw=(I,A,g)=>(g=I!=null?M2(U2(I)):{},H2(A||!I||!I.__esModule?Uc(g,"default",{value:I,enumerable:!0}):g,I));var wA=(I,A,g)=>J2(I,typeof A!="symbol"?A+"":A,g),Rw=(I,A,g)=>A.has(I)||AG("Cannot "+g);var s=(I,A,g)=>(Rw(I,A,"read from private field"),g?g.call(I):A.get(I)),F=(I,A,g)=>A.has(I)?AG("Cannot add the same private member more than once"):A instanceof WeakSet?A.add(I):A.set(I,g),p=(I,A,g,C)=>(Rw(I,A,"write to private field"),C?C.call(I,g):A.set(I,g),g),S=(I,A,g)=>(Rw(I,A,"access private method"),g);var _I=(I,A,g,C)=>({set _(B){p(I,A,B,g)},get _(){return s(I,A,C)}});function cK(I,A){let g=A||{};return(I[I.length-1]===""?[...I,""]:I).join((g.padRight?" ":"")+","+(g.padLeft===!1?"":" ")).trim()}var hK=V(()=>{});function hd(I,A){return((A||_3).jsx?X3:Z3).test(I)}var Z3,X3,_3,lK=V(()=>{Z3=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,X3=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_3={}});var DK=V(()=>{lK()});function Lf(I){return typeof I=="object"?I.type==="text"?dK(I.value):!1:dK(I)}function dK(I){return I.replace(j3,"")===""}var j3,wK=V(()=>{j3=/[ \t\n\f\r]/g});var uK=V(()=>{wK()});var dQ,Uf=V(()=>{dQ=class{constructor(A,g,C){this.normal=g,this.property=A,C&&(this.space=C)}};dQ.prototype.normal={};dQ.prototype.property={};dQ.prototype.space=void 0});function Yf(I,A){let g={},C={};for(let B of I)Object.assign(g,B.property),Object.assign(C,B.normal);return new dQ(g,C,A)}var yK=V(()=>{Uf()});function $a(I){return I.toLowerCase()}var Jf=V(()=>{});var uI,Hf=V(()=>{uI=class{constructor(A,g){this.attribute=g,this.property=A}};uI.prototype.attribute="";uI.prototype.booleanish=!1;uI.prototype.boolean=!1;uI.prototype.commaOrSpaceSeparated=!1;uI.prototype.commaSeparated=!1;uI.prototype.defined=!1;uI.prototype.mustUseProperty=!1;uI.prototype.number=!1;uI.prototype.overloadedBoolean=!1;uI.prototype.property="";uI.prototype.spaceSeparated=!1;uI.prototype.space=void 0});var Ac={};Nw(Ac,{boolean:()=>qA,booleanish:()=>Wg,commaOrSpaceSeparated:()=>fC,commaSeparated:()=>Se,number:()=>IA,overloadedBoolean:()=>bf,spaceSeparated:()=>cg});function uE(){return 2**++z3}var z3,qA,Wg,bf,IA,cg,Se,fC,gc=V(()=>{z3=0,qA=uE(),Wg=uE(),bf=uE(),IA=uE(),cg=uE(),Se=uE(),fC=uE()});function fK(I,A,g){g&&(I[A]=g)}var xf,yE,qf=V(()=>{Hf();gc();xf=Object.keys(Ac),yE=class extends uI{constructor(A,g,C,B){let t=-1;if(super(A,g),fK(this,"space",B),typeof C=="number")for(;++t<xf.length;){let Q=xf[t];fK(this,xf[t],(C&Ac[Q])===Ac[Q])}}};yE.prototype.defined=!0});function nB(I){let A={},g={};for(let[C,B]of Object.entries(I.properties)){let t=new yE(C,I.transform(I.attributes||{},C),B,I.space);I.mustUseProperty&&I.mustUseProperty.includes(C)&&(t.mustUseProperty=!0),A[C]=t,g[$a(C)]=C,g[$a(t.attribute)]=C}return new dQ(A,g,I.space)}var fE=V(()=>{Jf();qf();Uf()});var vf,pK=V(()=>{fE();gc();vf=nB({properties:{ariaActiveDescendant:null,ariaAtomic:Wg,ariaAutoComplete:null,ariaBusy:Wg,ariaChecked:Wg,ariaColCount:IA,ariaColIndex:IA,ariaColSpan:IA,ariaControls:cg,ariaCurrent:null,ariaDescribedBy:cg,ariaDetails:null,ariaDisabled:Wg,ariaDropEffect:cg,ariaErrorMessage:null,ariaExpanded:Wg,ariaFlowTo:cg,ariaGrabbed:Wg,ariaHasPopup:null,ariaHidden:Wg,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:cg,ariaLevel:IA,ariaLive:null,ariaModal:Wg,ariaMultiLine:Wg,ariaMultiSelectable:Wg,ariaOrientation:null,ariaOwns:cg,ariaPlaceholder:null,ariaPosInSet:IA,ariaPressed:Wg,ariaReadOnly:Wg,ariaRelevant:null,ariaRequired:Wg,ariaRoleDescription:cg,ariaRowCount:IA,ariaRowIndex:IA,ariaRowSpan:IA,ariaSelected:Wg,ariaSetSize:IA,ariaSort:null,ariaValueMax:IA,ariaValueMin:IA,ariaValueNow:IA,ariaValueText:null,role:null},transform(I,A){return A==="role"?A:"aria-"+A.slice(4).toLowerCase()}})});function ld(I,A){return A in I?I[A]:A}var Tf=V(()=>{});function Dd(I,A){return ld(I,A.toLowerCase())}var Wf=V(()=>{Tf()});var NK,GK=V(()=>{Wf();fE();gc();NK=nB({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Se,acceptCharset:cg,accessKey:cg,action:null,allow:null,allowFullScreen:qA,allowPaymentRequest:qA,allowUserMedia:qA,alt:null,as:null,async:qA,autoCapitalize:null,autoComplete:cg,autoFocus:qA,autoPlay:qA,blocking:cg,capture:null,charSet:null,checked:qA,cite:null,className:cg,cols:IA,colSpan:null,content:null,contentEditable:Wg,controls:qA,controlsList:cg,coords:IA|Se,crossOrigin:null,data:null,dateTime:null,decoding:null,default:qA,defer:qA,dir:null,dirName:null,disabled:qA,download:bf,draggable:Wg,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:qA,formTarget:null,headers:cg,height:IA,hidden:qA,high:IA,href:null,hrefLang:null,htmlFor:cg,httpEquiv:cg,id:null,imageSizes:null,imageSrcSet:null,inert:qA,inputMode:null,integrity:null,is:null,isMap:qA,itemId:null,itemProp:cg,itemRef:cg,itemScope:qA,itemType:cg,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:qA,low:IA,manifest:null,max:null,maxLength:IA,media:null,method:null,min:null,minLength:IA,multiple:qA,muted:qA,name:null,nonce:null,noModule:qA,noValidate:qA,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:qA,optimum:IA,pattern:null,ping:cg,placeholder:null,playsInline:qA,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:qA,referrerPolicy:null,rel:cg,required:qA,reversed:qA,rows:IA,rowSpan:IA,sandbox:cg,scope:null,scoped:qA,seamless:qA,selected:qA,shadowRootClonable:qA,shadowRootDelegatesFocus:qA,shadowRootMode:null,shape:null,size:IA,sizes:null,slot:null,span:IA,spellCheck:Wg,src:null,srcDoc:null,srcLang:null,srcSet:null,start:IA,step:null,style:null,tabIndex:IA,target:null,title:null,translate:null,type:null,typeMustMatch:qA,useMap:null,value:Wg,width:IA,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:cg,axis:null,background:null,bgColor:null,border:IA,borderColor:null,bottomMargin:IA,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:qA,declare:qA,event:null,face:null,frame:null,frameBorder:null,hSpace:IA,leftMargin:IA,link:null,longDesc:null,lowSrc:null,marginHeight:IA,marginWidth:IA,noResize:qA,noHref:qA,noShade:qA,noWrap:qA,object:null,profile:null,prompt:null,rev:null,rightMargin:IA,rules:null,scheme:null,scrolling:Wg,standby:null,summary:null,text:null,topMargin:IA,valueType:null,version:null,vAlign:null,vLink:null,vSpace:IA,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:qA,disableRemotePlayback:qA,prefix:null,property:null,results:IA,security:null,unselectable:null},space:"html",transform:Dd})});var RK,FK=V(()=>{Tf();fE();gc();RK=nB({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:fC,accentHeight:IA,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:IA,amplitude:IA,arabicForm:null,ascent:IA,attributeName:null,attributeType:null,azimuth:IA,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:IA,by:null,calcMode:null,capHeight:IA,className:cg,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:IA,diffuseConstant:IA,direction:null,display:null,dur:null,divisor:IA,dominantBaseline:null,download:qA,dx:null,dy:null,edgeMode:null,editable:null,elevation:IA,enableBackground:null,end:null,event:null,exponent:IA,externalResourcesRequired:null,fill:null,fillOpacity:IA,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:Se,g2:Se,glyphName:Se,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:IA,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:IA,horizOriginX:IA,horizOriginY:IA,id:null,ideographic:IA,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:IA,k:IA,k1:IA,k2:IA,k3:IA,k4:IA,kernelMatrix:fC,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:IA,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:IA,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:IA,overlineThickness:IA,paintOrder:null,panose1:null,path:null,pathLength:IA,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:cg,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:IA,pointsAtY:IA,pointsAtZ:IA,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:fC,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:fC,rev:fC,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:fC,requiredFeatures:fC,requiredFonts:fC,requiredFormats:fC,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:IA,specularExponent:IA,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:IA,strikethroughThickness:IA,string:null,stroke:null,strokeDashArray:fC,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:IA,strokeOpacity:IA,strokeWidth:null,style:null,surfaceScale:IA,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:fC,tabIndex:IA,tableValues:null,target:null,targetX:IA,targetY:IA,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:fC,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:IA,underlineThickness:IA,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:IA,values:null,vAlphabetic:IA,vMathematical:IA,vectorEffect:null,vHanging:IA,vIdeographic:IA,version:null,vertAdvY:IA,vertOriginX:IA,vertOriginY:IA,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:IA,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ld})});var Of,SK=V(()=>{fE();Of=nB({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(I,A){return"xlink:"+A.slice(5).toLowerCase()}})});var Vf,kK=V(()=>{fE();Wf();Vf=nB({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Dd})});var Pf,mK=V(()=>{fE();Pf=nB({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(I,A){return"xml:"+A.slice(3).toLowerCase()}})});var Zf,MK=V(()=>{Zf={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"}});function Xf(I,A){let g=$a(A),C=A,B=uI;if(g in I.normal)return I.property[I.normal[g]];if(g.length>4&&g.slice(0,4)==="data"&&A8.test(A)){if(A.charAt(4)==="-"){let t=A.slice(5).replace(KK,I8);C="data"+t.charAt(0).toUpperCase()+t.slice(1)}else{let t=A.slice(4);if(!KK.test(t)){let Q=t.replace($3,g8);Q.charAt(0)!=="-"&&(Q="-"+Q),A="data"+Q}}B=yE}return new B(C,A)}function g8(I){return"-"+I.toLowerCase()}function I8(I){return I.charAt(1).toUpperCase()}var $3,KK,A8,LK=V(()=>{qf();Hf();Jf();$3=/[A-Z]/g,KK=/-[a-z]/g,A8=/^data[-\w.:]+$/i});var UK,dd,YK=V(()=>{yK();pK();GK();FK();SK();kK();mK();MK();LK();UK=Yf([vf,NK,Of,Vf,Pf],"html"),dd=Yf([vf,RK,Of,Vf,Pf],"svg")});function JK(I){return I.join(" ").trim()}var HK=V(()=>{});var WK=jC((shA,TK)=>{var bK=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,C8=/\n/g,B8=/^\s*/,t8=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Q8=/^:\s*/,e8=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i8=/^[;\s]*/,E8=/^\s+|\s+$/g,o8=` `,xK="/",qK="*",pE="",s8="comment",r8="declaration";TK.exports=function(I,A){if(typeof I!="string")throw new TypeError("First argument must be a string");if(!I)return[];A=A||{};var g=1,C=1;function B(w){var u=w.match(C8);u&&(g+=u.length);var f=w.lastIndexOf(o8);C=~f?w.length-f:C+w.length}function t(){var w={line:g,column:C};return function(u){return u.position=new Q(w),o(),u}}function Q(w){this.start=w,this.end={line:g,column:C},this.source=A.source}Q.prototype.content=I;var e=[];function i(w){var u=new Error(A.source+":"+g+":"+C+": "+w);if(u.reason=w,u.filename=A.source,u.line=g,u.column=C,u.source=I,A.silent)e.push(u);else throw u}function E(w){var u=w.exec(I);if(u){var f=u[0];return B(f),I=I.slice(f.length),u}}function o(){E(B8)}function r(w){var u;for(w=w||[];u=a();)u!==!1&&w.push(u);return w}function a(){var w=t();if(!(xK!=I.charAt(0)||qK!=I.charAt(1))){for(var u=2;pE!=I.charAt(u)&&(qK!=I.charAt(u)||xK!=I.charAt(u+1));)++u;if(u+=2,pE===I.charAt(u-1))return i("End of comment missing");var f=I.slice(2,u-2);return C+=2,B(f),I=I.slice(u),C+=2,w({type:s8,comment:f})}}function c(){var w=t(),u=E(t8);if(u){if(a(),!E(Q8))return i("property missing ':'");var f=E(e8),m=w({type:r8,property:vK(u[0].replace(bK,pE)),value:f?vK(f[0].replace(bK,pE)):pE});return E(i8),m}}function l(){var w=[];r(w);for(var u;u=c();)u!==!1&&(w.push(u),r(w));return w}return o(),l()};function vK(I){return I?I.replace(E8,pE):pE}});var OK=jC(Ic=>{"use strict";var n8=Ic&&Ic.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(Ic,"__esModule",{value:!0});Ic.default=c8;var a8=n8(WK());function c8(I,A){var g=null;if(!I||typeof I!="string")return g;var C=(0,a8.default)(I),B=typeof A=="function";return C.forEach(function(t){if(t.type==="declaration"){var Q=t.property,e=t.value;B?A(Q,e,t):e&&(g=g||{},g[Q]=e)}}),g}});var PK=jC(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.camelCase=void 0;var h8=/^--[a-zA-Z0-9_-]+$/,l8=/-([a-z])/g,D8=/^[^-]+$/,d8=/^-(webkit|moz|ms|o|khtml)-/,w8=/^-(ms)-/,u8=function(I){return!I||D8.test(I)||h8.test(I)},y8=function(I,A){return A.toUpperCase()},VK=function(I,A){return"".concat(A,"-")},f8=function(I,A){return A===void 0&&(A={}),u8(I)?I:(I=I.toLowerCase(),A.reactCompat?I=I.replace(w8,VK):I=I.replace(d8,VK),I.replace(l8,y8))};wd.camelCase=f8});var XK=jC((jf,ZK)=>{"use strict";var p8=jf&&jf.__importDefault||function(I){return I&&I.__esModule?I:{default:I}},N8=p8(OK()),G8=PK();function _f(I,A){var g={};return!I||typeof I!="string"||(0,N8.default)(I,function(C,B){C&&B&&(g[(0,G8.camelCase)(C,A)]=B)}),g}_f.default=_f;ZK.exports=_f});function _K(I){return A;function A(g){let C=g&&g.position&&g.position[I]||{};if(typeof C.line=="number"&&C.line>0&&typeof C.column=="number"&&C.column>0)return{line:C.line,column:C.column,offset:typeof C.offset=="number"&&C.offset>-1?C.offset:void 0}}}function zf(I){let A=Zs(I),g=ud(I);if(A&&g)return{start:A,end:g}}var ud,Zs,jK=V(()=>{ud=_K("end"),Zs=_K("start")});var yd=V(()=>{jK()});function Ap(I){return!I||typeof I!="object"?"":"position"in I||"type"in I?zK(I.position):"start"in I||"end"in I?zK(I):"line"in I||"column"in I?$f(I):""}function $f(I){return $K(I&&I.line)+":"+$K(I&&I.column)}function zK(I){return $f(I&&I.start)+"-"+$f(I&&I.end)}function $K(I){return I&&typeof I=="number"?I:1}var AL=V(()=>{});var gL=V(()=>{AL()});var zg,IL=V(()=>{gL();zg=class extends Error{constructor(A,g,C){super(),typeof g=="string"&&(C=g,g=void 0);let B="",t={},Q=!1;if(g&&("line"in g&&"column"in g?t={place:g}:"start"in g&&"end"in g?t={place:g}:"type"in g?t={ancestors:[g],place:g.position}:t={...g}),typeof A=="string"?B=A:!t.cause&&A&&(Q=!0,B=A.message,t.cause=A),!t.ruleId&&!t.source&&typeof C=="string"){let i=C.indexOf(":");i===-1?t.ruleId=C:(t.source=C.slice(0,i),t.ruleId=C.slice(i+1))}if(!t.place&&t.ancestors&&t.ancestors){let i=t.ancestors[t.ancestors.length-1];i&&(t.place=i.position)}let e=t.place&&"start"in t.place?t.place.start:t.place;this.ancestors=t.ancestors||void 0,this.cause=t.cause||void 0,this.column=e?e.column:void 0,this.fatal=void 0,this.file,this.message=B,this.line=e?e.line:void 0,this.name=Ap(t.place)||"1:1",this.place=t.place||void 0,this.reason=this.message,this.ruleId=t.ruleId||void 0,this.source=t.source||void 0,this.stack=Q&&t.cause&&typeof t.cause.stack=="string"?t.cause.stack:"",this.actual,this.expected,this.note,this.url}};zg.prototype.file="";zg.prototype.name="";zg.prototype.reason="";zg.prototype.message="";zg.prototype.stack="";zg.prototype.column=void 0;zg.prototype.line=void 0;zg.prototype.ancestors=void 0;zg.prototype.cause=void 0;zg.prototype.fatal=void 0;zg.prototype.place=void 0;zg.prototype.ruleId=void 0;zg.prototype.source=void 0});var gp=V(()=>{IL()});function Cp(I,A){if(!A||A.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");let g=A.filePath||void 0,C;if(A.development){if(typeof A.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");C=H8(g,A.jsxDEV)}else{if(typeof A.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof A.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");C=J8(g,A.jsx,A.jsxs)}let B={Fragment:A.Fragment,ancestors:[],components:A.components||{},create:C,elementAttributeNameCase:A.elementAttributeNameCase||"react",evaluater:A.createEvaluater?A.createEvaluater():void 0,filePath:g,ignoreInvalidStyle:A.ignoreInvalidStyle||!1,passKeys:A.passKeys!==!1,passNode:A.passNode||!1,schema:A.space==="svg"?dd:UK,stylePropertyNameCase:A.stylePropertyNameCase||"dom",tableCellAlignToStyle:A.tableCellAlignToStyle!==!1},t=tL(B,I,void 0);return t&&typeof t!="string"?t:B.create(I,B.Fragment,{children:t||void 0},void 0)}function tL(I,A,g){if(A.type==="element")return m8(I,A,g);if(A.type==="mdxFlowExpression"||A.type==="mdxTextExpression")return M8(I,A);if(A.type==="mdxJsxFlowElement"||A.type==="mdxJsxTextElement")return L8(I,A,g);if(A.type==="mdxjsEsm")return K8(I,A);if(A.type==="root")return U8(I,A,g);if(A.type==="text")return Y8(I,A)}function m8(I,A,g){let C=I.schema,B=C;A.tagName.toLowerCase()==="svg"&&C.space==="html"&&(B=dd,I.schema=B),I.ancestors.push(A);let t=eL(I,A.tagName,!1),Q=b8(I,A),e=tp(I,A);return S8.has(A.tagName)&&(e=e.filter(function(i){return typeof i=="string"?!Lf(i):!0})),QL(I,Q,t,A),Bp(Q,e),I.ancestors.pop(),I.schema=C,I.create(A,t,Q,g)}function M8(I,A){if(A.data&&A.data.estree&&I.evaluater){let C=A.data.estree.body[0];return C.type,I.evaluater.evaluateExpression(C.expression)}Cc(I,A.position)}function K8(I,A){if(A.data&&A.data.estree&&I.evaluater)return I.evaluater.evaluateProgram(A.data.estree);Cc(I,A.position)}function L8(I,A,g){let C=I.schema,B=C;A.name==="svg"&&C.space==="html"&&(B=dd,I.schema=B),I.ancestors.push(A);let t=A.name===null?I.Fragment:eL(I,A.name,!0),Q=x8(I,A),e=tp(I,A);return QL(I,Q,t,A),Bp(Q,e),I.ancestors.pop(),I.schema=C,I.create(A,t,Q,g)}function U8(I,A,g){let C={};return Bp(C,tp(I,A)),I.create(A,I.Fragment,C,g)}function Y8(I,A){return A.value}function QL(I,A,g,C){typeof g!="string"&&g!==I.Fragment&&I.passNode&&(A.node=C)}function Bp(I,A){if(A.length>0){let g=A.length>1?A:A[0];g&&(I.children=g)}}function J8(I,A,g){return C;function C(B,t,Q,e){let E=Array.isArray(Q.children)?g:A;return e?E(t,Q,e):E(t,Q)}}function H8(I,A){return g;function g(C,B,t,Q){let e=Array.isArray(t.children),i=Zs(C);return A(B,t,Q,e,{columnNumber:i?i.column-1:void 0,fileName:I,lineNumber:i?i.line:void 0},void 0)}}function b8(I,A){let g={},C,B;for(B in A.properties)if(B!=="children"&&Ip.call(A.properties,B)){let t=q8(I,B,A.properties[B]);if(t){let[Q,e]=t;I.tableCellAlignToStyle&&Q==="align"&&typeof e=="string"&&k8.has(A.tagName)?C=e:g[Q]=e}}if(C){let t=g.style||(g.style={});t[I.stylePropertyNameCase==="css"?"text-align":"textAlign"]=C}return g}function x8(I,A){let g={};for(let C of A.attributes)if(C.type==="mdxJsxExpressionAttribute")if(C.data&&C.data.estree&&I.evaluater){let t=C.data.estree.body[0];t.type;let Q=t.expression;Q.type;let e=Q.properties[0];e.type,Object.assign(g,I.evaluater.evaluateExpression(e.argument))}else Cc(I,A.position);else{let B=C.name,t;if(C.value&&typeof C.value=="object")if(C.value.data&&C.value.data.estree&&I.evaluater){let e=C.value.data.estree.body[0];e.type,t=I.evaluater.evaluateExpression(e.expression)}else Cc(I,A.position);else t=C.value===null?!0:C.value;g[B]=t}return g}function tp(I,A){let g=[],C=-1,B=I.passKeys?new Map:R8;for(;++C<A.children.length;){let t=A.children[C],Q;if(I.passKeys){let i=t.type==="element"?t.tagName:t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement"?t.name:void 0;if(i){let E=B.get(i)||0;Q=i+"-"+E,B.set(i,E+1)}}let e=tL(I,t,Q);e!==void 0&&g.push(e)}return g}function q8(I,A,g){let C=Xf(I.schema,A);if(!(g==null||typeof g=="number"&&Number.isNaN(g))){if(Array.isArray(g)&&(g=C.commaSeparated?cK(g):JK(g)),C.property==="style"){let B=typeof g=="object"?g:v8(I,String(g));return I.stylePropertyNameCase==="css"&&(B=T8(B)),["style",B]}return[I.elementAttributeNameCase==="react"&&C.space?Zf[C.property]||C.property:C.attribute,g]}}function v8(I,A){try{return(0,CL.default)(A,{reactCompat:!0})}catch(g){if(I.ignoreInvalidStyle)return{};let C=g,B=new zg("Cannot parse `style` attribute",{ancestors:I.ancestors,cause:C,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw B.file=I.filePath||void 0,B.url=BL+"#cannot-parse-style-attribute",B}}function eL(I,A,g){let C;if(!g)C={type:"Literal",value:A};else if(A.includes(".")){let B=A.split("."),t=-1,Q;for(;++t<B.length;){let e=hd(B[t])?{type:"Identifier",name:B[t]}:{type:"Literal",value:B[t]};Q=Q?{type:"MemberExpression",object:Q,property:e,computed:!!(t&&e.type==="Literal"),optional:!1}:e}C=Q}else C=hd(A)&&!/^[a-z]/.test(A)?{type:"Identifier",name:A}:{type:"Literal",value:A};if(C.type==="Literal"){let B=C.value;return Ip.call(I.components,B)?I.components[B]:B}if(I.evaluater)return I.evaluater.evaluateExpression(C);Cc(I)}function Cc(I,A){let g=new zg("Cannot handle MDX estrees without `createEvaluater`",{ancestors:I.ancestors,place:A,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw g.file=I.filePath||void 0,g.url=BL+"#cannot-handle-mdx-estrees-without-createevaluater",g}function T8(I){let A={},g;for(g in I)Ip.call(I,g)&&(A[W8(g)]=I[g]);return A}function W8(I){let A=I.replace(F8,O8);return A.slice(0,3)==="ms-"&&(A="-"+A),A}function O8(I){return"-"+I.toLowerCase()}var CL,Ip,R8,F8,S8,k8,BL,iL=V(()=>{hK();DK();uK();YK();HK();CL=Gw(XK(),1);yd();gp();Ip={}.hasOwnProperty,R8=new Map,F8=/[A-Z]/g,S8=new Set(["table","tbody","thead","tfoot","tr"]),k8=new Set(["td","th"]),BL="https://github.com/syntax-tree/hast-util-to-jsx-runtime"});var EL=V(()=>{iL()});var Bc,oL=V(()=>{Bc={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]}});var sL=V(()=>{oL()});function Qp(I,A){let g=A||V8,C=typeof g.includeImageAlt=="boolean"?g.includeImageAlt:!0,B=typeof g.includeHtml=="boolean"?g.includeHtml:!0;return nL(I,C,B)}function nL(I,A,g){if(P8(I)){if("value"in I)return I.type==="html"&&!g?"":I.value;if(A&&"alt"in I&&I.alt)return I.alt;if("children"in I)return rL(I.children,A,g)}return Array.isArray(I)?rL(I,A,g):""}function rL(I,A,g){let C=[],B=-1;for(;++B<I.length;)C[B]=nL(I[B],A,g);return C.join("")}function P8(I){return!!(I&&typeof I=="object")}var V8,aL=V(()=>{V8={}});var cL=V(()=>{aL()});function Xs(I){let A="&"+I+";";hL.innerHTML=A;let g=hL.textContent;return g.charCodeAt(g.length-1)===59&&I!=="semi"||g===A?!1:g}var hL,fd=V(()=>{hL=document.createElement("i")});function KI(I,A,g,C){let B=I.length,t=0,Q;if(A<0?A=-A>B?0:B+A:A=A>B?B:A,g=g>0?g:0,C.length<1e4)Q=Array.from(C),Q.unshift(A,g),I.splice(...Q);else for(g&&I.splice(A,g);t<C.length;)Q=C.slice(t,t+1e4),Q.unshift(A,0),I.splice(...Q),t+=1e4,A+=1e4}function iC(I,A){return I.length>0?(KI(I,I.length,0,A),I):A}var ke=V(()=>{});function DL(I){let A={},g=-1;for(;++g<I.length;)Z8(A,I[g]);return A}function Z8(I,A){let g;for(g in A){let B=(lL.call(I,g)?I[g]:void 0)||(I[g]={}),t=A[g],Q;if(t)for(Q in t){lL.call(B,Q)||(B[Q]=[]);let e=t[Q];X8(B[Q],Array.isArray(e)?e:e?[e]:[])}}}function X8(I,A){let g=-1,C=[];for(;++g<A.length;)(A[g].add==="after"?I:C).push(A[g]);KI(I,0,0,C)}var lL,dL=V(()=>{ke();lL={}.hasOwnProperty});function tc(I){return I.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var ep=V(()=>{});function Qc(I){return I!==null&&(I<32||I===127)}function sA(I){return I!==null&&I<-2}function $g(I){return I!==null&&(I<0||I===32)}function vA(I){return I===-2||I===-1||I===32}function me(I){return A;function A(g){return g!==null&&g>-1&&I.test(String.fromCharCode(g))}}var _C,EC,wL,ec,uL,yL,fL,pL,dg=V(()=>{_C=me(/[A-Za-z]/),EC=me(/[\dA-Za-z]/),wL=me(/[#-'*+\--9=?A-Z^-~]/);ec=me(/\d/),uL=me(/[\dA-Fa-f]/),yL=me(/[!-/:-@[-`{-~]/);fL=me(/\p{P}|\p{S}/u),pL=me(/\s/)});function TA(I,A,g,C){let B=C?C-1:Number.POSITIVE_INFINITY,t=0;return Q;function Q(i){return vA(i)?(I.enter(g),e(i)):A(i)}function e(i){return vA(i)&&t++<B?(I.consume(i),e):(I.exit(g),A(i))}}var yI=V(()=>{dg()});function _8(I){let A=I.attempt(this.parser.constructs.contentInitial,C,B),g;return A;function C(e){if(e===null){I.consume(e);return}return I.enter("lineEnding"),I.consume(e),I.exit("lineEnding"),TA(I,A,"linePrefix")}function B(e){return I.enter("paragraph"),t(e)}function t(e){let i=I.enter("chunkText",{contentType:"text",previous:g});return g&&(g.next=i),g=i,Q(e)}function Q(e){if(e===null){I.exit("chunkText"),I.exit("paragraph"),I.consume(e);return}return sA(e)?(I.consume(e),I.exit("chunkText"),t):(I.consume(e),Q)}}var NL,GL=V(()=>{yI();dg();NL={tokenize:_8}});function j8(I){let A=this,g=[],C=0,B,t,Q;return e;function e(M){if(C<g.length){let Y=g[C];return A.containerState=Y[1],I.attempt(Y[0].continuation,i,E)(M)}return E(M)}function i(M){if(C++,A.containerState._closeFlow){A.containerState._closeFlow=void 0,B&&m();let Y=A.events.length,k=Y,G;for(;k--;)if(A.events[k][0]==="exit"&&A.events[k][1].type==="chunkFlow"){G=A.events[k][1].end;break}f(C);let U=Y;for(;U<A.events.length;)A.events[U][1].end={...G},U++;return KI(A.events,k+1,0,A.events.slice(Y)),A.events.length=U,E(M)}return e(M)}function E(M){if(C===g.length){if(!B)return a(M);if(B.currentConstruct&&B.currentConstruct.concrete)return l(M);A.interrupt=!!(B.currentConstruct&&!B._gfmTableDynamicInterruptHack)}return A.containerState={},I.check(RL,o,r)(M)}function o(M){return B&&m(),f(C),a(M)}function r(M){return A.parser.lazy[A.now().line]=C!==g.length,Q=A.now().offset,l(M)}function a(M){return A.containerState={},I.attempt(RL,c,l)(M)}function c(M){return C++,g.push([A.currentConstruct,A.containerState]),a(M)}function l(M){if(M===null){B&&m(),f(0),I.consume(M);return}return B=B||A.parser.flow(A.now()),I.enter("chunkFlow",{_tokenizer:B,contentType:"flow",previous:t}),w(M)}function w(M){if(M===null){u(I.exit("chunkFlow"),!0),f(0),I.consume(M);return}return sA(M)?(I.consume(M),u(I.exit("chunkFlow")),C=0,A.interrupt=void 0,e):(I.consume(M),w)}function u(M,Y){let k=A.sliceStream(M);if(Y&&k.push(null),M.previous=t,t&&(t.next=M),t=M,B.defineSkip(M.start),B.write(k),A.parser.lazy[M.start.line]){let G=B.events.length;for(;G--;)if(B.events[G][1].start.offset<Q&&(!B.events[G][1].end||B.events[G][1].end.offset>Q))return;let U=A.events.length,J=U,T,q;for(;J--;)if(A.events[J][0]==="exit"&&A.events[J][1].type==="chunkFlow"){if(T){q=A.events[J][1].end;break}T=!0}for(f(C),G=U;G<A.events.length;)A.events[G][1].end={...q},G++;KI(A.events,J+1,0,A.events.slice(U)),A.events.length=G}}function f(M){let Y=g.length;for(;Y-- >M;){let k=g[Y];A.containerState=k[1],k[0].exit.call(A,I)}g.length=M}function m(){B.write([null]),t=void 0,B=void 0,A.containerState._closeFlow=void 0}}function z8(I,A,g){return TA(I,I.attempt(this.parser.constructs.document,A,g),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var FL,RL,SL=V(()=>{yI();dg();ke();FL={tokenize:j8},RL={tokenize:z8}});function ip(I){if(I===null||$g(I)||pL(I))return 1;if(fL(I))return 2}var kL=V(()=>{dg()});function _s(I,A,g){let C=[],B=-1;for(;++B<I.length;){let t=I[B].resolveAll;t&&!C.includes(t)&&(A=t(A,g),C.push(t))}return A}var pd=V(()=>{});function $8(I,A){let g=-1,C,B,t,Q,e,i,E,o;for(;++g<I.length;)if(I[g][0]==="enter"&&I[g][1].type==="attentionSequence"&&I[g][1]._close){for(C=g;C--;)if(I[C][0]==="exit"&&I[C][1].type==="attentionSequence"&&I[C][1]._open&&A.sliceSerialize(I[C][1]).charCodeAt(0)===A.sliceSerialize(I[g][1]).charCodeAt(0)){if((I[C][1]._close||I[g][1]._open)&&(I[g][1].end.offset-I[g][1].start.offset)%3&&!((I[C][1].end.offset-I[C][1].start.offset+I[g][1].end.offset-I[g][1].start.offset)%3))continue;i=I[C][1].end.offset-I[C][1].start.offset>1&&I[g][1].end.offset-I[g][1].start.offset>1?2:1;let r={...I[C][1].end},a={...I[g][1].start};mL(r,-i),mL(a,i),Q={type:i>1?"strongSequence":"emphasisSequence",start:r,end:{...I[C][1].end}},e={type:i>1?"strongSequence":"emphasisSequence",start:{...I[g][1].start},end:a},t={type:i>1?"strongText":"emphasisText",start:{...I[C][1].end},end:{...I[g][1].start}},B={type:i>1?"strong":"emphasis",start:{...Q.start},end:{...e.end}},I[C][1].end={...Q.start},I[g][1].start={...e.end},E=[],I[C][1].end.offset-I[C][1].start.offset&&(E=iC(E,[["enter",I[C][1],A],["exit",I[C][1],A]])),E=iC(E,[["enter",B,A],["enter",Q,A],["exit",Q,A],["enter",t,A]]),E=iC(E,_s(A.parser.constructs.insideSpan.null,I.slice(C+1,g),A)),E=iC(E,[["exit",t,A],["enter",e,A],["exit",e,A],["exit",B,A]]),I[g][1].end.offset-I[g][1].start.offset?(o=2,E=iC(E,[["enter",I[g][1],A],["exit",I[g][1],A]])):o=0,KI(I,C-1,g-C+3,E),g=C+E.length-o-2;break}}for(g=-1;++g<I.length;)I[g][1].type==="attentionSequence"&&(I[g][1].type="data");return I}function AV(I,A){let g=this.parser.constructs.attentionMarkers.null,C=this.previous,B=ip(C),t;return Q;function Q(i){return t=i,I.enter("attentionSequence"),e(i)}function e(i){if(i===t)return I.consume(i),e;let E=I.exit("attentionSequence"),o=ip(i),r=!o||o===2&&B||g.includes(i),a=!B||B===2&&o||g.includes(C);return E._open=!!(t===42?r:r&&(B||!a)),E._close=!!(t===42?a:a&&(o||!r)),A(i)}}function mL(I,A){I.column+=A,I.offset+=A,I._bufferIndex+=A}var ic,ML=V(()=>{ke();kL();pd();ic={name:"attention",resolveAll:$8,tokenize:AV}});function gV(I,A,g){let C=0;return B;function B(c){return I.enter("autolink"),I.enter("autolinkMarker"),I.consume(c),I.exit("autolinkMarker"),I.enter("autolinkProtocol"),t}function t(c){return _C(c)?(I.consume(c),Q):c===64?g(c):E(c)}function Q(c){return c===43||c===45||c===46||EC(c)?(C=1,e(c)):E(c)}function e(c){return c===58?(I.consume(c),C=0,i):(c===43||c===45||c===46||EC(c))&&C++<32?(I.consume(c),e):(C=0,E(c))}function i(c){return c===62?(I.exit("autolinkProtocol"),I.enter("autolinkMarker"),I.consume(c),I.exit("autolinkMarker"),I.exit("autolink"),A):c===null||c===32||c===60||Qc(c)?g(c):(I.consume(c),i)}function E(c){return c===64?(I.consume(c),o):wL(c)?(I.consume(c),E):g(c)}function o(c){return EC(c)?r(c):g(c)}function r(c){return c===46?(I.consume(c),C=0,o):c===62?(I.exit("autolinkProtocol").type="autolinkEmail",I.enter("autolinkMarker"),I.consume(c),I.exit("autolinkMarker"),I.exit("autolink"),A):a(c)}function a(c){if((c===45||EC(c))&&C++<63){let l=c===45?a:r;return I.consume(c),l}return g(c)}}var Ep,KL=V(()=>{dg();Ep={name:"autolink",tokenize:gV}});function IV(I,A,g){return C;function C(t){return vA(t)?TA(I,B,"linePrefix")(t):B(t)}function B(t){return t===null||sA(t)?A(t):g(t)}}var Me,Nd=V(()=>{yI();dg();Me={partial:!0,tokenize:IV}});function CV(I,A,g){let C=this;return B;function B(Q){if(Q===62){let e=C.containerState;return e.open||(I.enter("blockQuote",{_container:!0}),e.open=!0),I.enter("blockQuotePrefix"),I.enter("blockQuoteMarker"),I.consume(Q),I.exit("blockQuoteMarker"),t}return g(Q)}function t(Q){return vA(Q)?(I.enter("blockQuotePrefixWhitespace"),I.consume(Q),I.exit("blockQuotePrefixWhitespace"),I.exit("blockQuotePrefix"),A):(I.exit("blockQuotePrefix"),A(Q))}}function BV(I,A,g){let C=this;return B;function B(Q){return vA(Q)?TA(I,t,"linePrefix",C.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):t(Q)}function t(Q){return I.attempt(Gd,A,g)(Q)}}function tV(I){I.exit("blockQuote")}var Gd,LL=V(()=>{yI();dg();Gd={continuation:{tokenize:BV},exit:tV,name:"blockQuote",tokenize:CV}});function QV(I,A,g){return C;function C(t){return I.enter("characterEscape"),I.enter("escapeMarker"),I.consume(t),I.exit("escapeMarker"),B}function B(t){return yL(t)?(I.enter("characterEscapeValue"),I.consume(t),I.exit("characterEscapeValue"),I.exit("characterEscape"),A):g(t)}}var Rd,UL=V(()=>{dg();Rd={name:"characterEscape",tokenize:QV}});function eV(I,A,g){let C=this,B=0,t,Q;return e;function e(r){return I.enter("characterReference"),I.enter("characterReferenceMarker"),I.consume(r),I.exit("characterReferenceMarker"),i}function i(r){return r===35?(I.enter("characterReferenceMarkerNumeric"),I.consume(r),I.exit("characterReferenceMarkerNumeric"),E):(I.enter("characterReferenceValue"),t=31,Q=EC,o(r))}function E(r){return r===88||r===120?(I.enter("characterReferenceMarkerHexadecimal"),I.consume(r),I.exit("characterReferenceMarkerHexadecimal"),I.enter("characterReferenceValue"),t=6,Q=uL,o):(I.enter("characterReferenceValue"),t=7,Q=ec,o(r))}function o(r){if(r===59&&B){let a=I.exit("characterReferenceValue");return Q===EC&&!Xs(C.sliceSerialize(a))?g(r):(I.enter("characterReferenceMarker"),I.consume(r),I.exit("characterReferenceMarker"),I.exit("characterReference"),A)}return Q(r)&&B++<t?(I.consume(r),o):g(r)}}var Fd,YL=V(()=>{fd();dg();Fd={name:"characterReference",tokenize:eV}});function iV(I,A,g){let C=this,B={partial:!0,tokenize:k},t=0,Q=0,e;return i;function i(G){return E(G)}function E(G){let U=C.events[C.events.length-1];return t=U&&U[1].type==="linePrefix"?U[2].sliceSerialize(U[1],!0).length:0,e=G,I.enter("codeFenced"),I.enter("codeFencedFence"),I.enter("codeFencedFenceSequence"),o(G)}function o(G){return G===e?(Q++,I.consume(G),o):Q<3?g(G):(I.exit("codeFencedFenceSequence"),vA(G)?TA(I,r,"whitespace")(G):r(G))}function r(G){return G===null||sA(G)?(I.exit("codeFencedFence"),C.interrupt?A(G):I.check(JL,w,Y)(G)):(I.enter("codeFencedFenceInfo"),I.enter("chunkString",{contentType:"string"}),a(G))}function a(G){return G===null||sA(G)?(I.exit("chunkString"),I.exit("codeFencedFenceInfo"),r(G)):vA(G)?(I.exit("chunkString"),I.exit("codeFencedFenceInfo"),TA(I,c,"whitespace")(G)):G===96&&G===e?g(G):(I.consume(G),a)}function c(G){return G===null||sA(G)?r(G):(I.enter("codeFencedFenceMeta"),I.enter("chunkString",{contentType:"string"}),l(G))}function l(G){return G===null||sA(G)?(I.exit("chunkString"),I.exit("codeFencedFenceMeta"),r(G)):G===96&&G===e?g(G):(I.consume(G),l)}function w(G){return I.attempt(B,Y,u)(G)}function u(G){return I.enter("lineEnding"),I.consume(G),I.exit("lineEnding"),f}function f(G){return t>0&&vA(G)?TA(I,m,"linePrefix",t+1)(G):m(G)}function m(G){return G===null||sA(G)?I.check(JL,w,Y)(G):(I.enter("codeFlowValue"),M(G))}function M(G){return G===null||sA(G)?(I.exit("codeFlowValue"),m(G)):(I.consume(G),M)}function Y(G){return I.exit("codeFenced"),A(G)}function k(G,U,J){let T=0;return q;function q(AA){return G.enter("lineEnding"),G.consume(AA),G.exit("lineEnding"),d}function d(AA){return G.enter("codeFencedFence"),vA(AA)?TA(G,W,"linePrefix",C.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(AA):W(AA)}function W(AA){return AA===e?(G.enter("codeFencedFenceSequence"),P(AA)):J(AA)}function P(AA){return AA===e?(T++,G.consume(AA),P):T>=Q?(G.exit("codeFencedFenceSequence"),vA(AA)?TA(G,_,"whitespace")(AA):_(AA)):J(AA)}function _(AA){return AA===null||sA(AA)?(G.exit("codeFencedFence"),U(AA)):J(AA)}}}function EV(I,A,g){let C=this;return B;function B(Q){return Q===null?g(Q):(I.enter("lineEnding"),I.consume(Q),I.exit("lineEnding"),t)}function t(Q){return C.parser.lazy[C.now().line]?g(Q):A(Q)}}var JL,Sd,HL=V(()=>{yI();dg();JL={partial:!0,tokenize:EV},Sd={concrete:!0,name:"codeFenced",tokenize:iV}});function sV(I,A,g){let C=this;return B;function B(E){return I.enter("codeIndented"),TA(I,t,"linePrefix",5)(E)}function t(E){let o=C.events[C.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?Q(E):g(E)}function Q(E){return E===null?i(E):sA(E)?I.attempt(oV,Q,i)(E):(I.enter("codeFlowValue"),e(E))}function e(E){return E===null||sA(E)?(I.exit("codeFlowValue"),Q(E)):(I.consume(E),e)}function i(E){return I.exit("codeIndented"),A(E)}}function rV(I,A,g){let C=this;return B;function B(Q){return C.parser.lazy[C.now().line]?g(Q):sA(Q)?(I.enter("lineEnding"),I.consume(Q),I.exit("lineEnding"),B):TA(I,t,"linePrefix",5)(Q)}function t(Q){let e=C.events[C.events.length-1];return e&&e[1].type==="linePrefix"&&e[2].sliceSerialize(e[1],!0).length>=4?A(Q):sA(Q)?B(Q):g(Q)}}var Ec,oV,bL=V(()=>{yI();dg();Ec={name:"codeIndented",tokenize:sV},oV={partial:!0,tokenize:rV}});function nV(I){let A=I.length-4,g=3,C,B;if((I[g][1].type==="lineEnding"||I[g][1].type==="space")&&(I[A][1].type==="lineEnding"||I[A][1].type==="space")){for(C=g;++C<A;)if(I[C][1].type==="codeTextData"){I[g][1].type="codeTextPadding",I[A][1].type="codeTextPadding",g+=2,A-=2;break}}for(C=g-1,A++;++C<=A;)B===void 0?C!==A&&I[C][1].type!=="lineEnding"&&(B=C):(C===A||I[C][1].type==="lineEnding")&&(I[B][1].type="codeTextData",C!==B+2&&(I[B][1].end=I[C-1][1].end,I.splice(B+2,C-B-2),A-=C-B-2,C=B+2),B=void 0);return I}function aV(I){return I!==96||this.events[this.events.length-1][1].type==="characterEscape"}function cV(I,A,g){let C=this,B=0,t,Q;return e;function e(a){return I.enter("codeText"),I.enter("codeTextSequence"),i(a)}function i(a){return a===96?(I.consume(a),B++,i):(I.exit("codeTextSequence"),E(a))}function E(a){return a===null?g(a):a===32?(I.enter("space"),I.consume(a),I.exit("space"),E):a===96?(Q=I.enter("codeTextSequence"),t=0,r(a)):sA(a)?(I.enter("lineEnding"),I.consume(a),I.exit("lineEnding"),E):(I.enter("codeTextData"),o(a))}function o(a){return a===null||a===32||a===96||sA(a)?(I.exit("codeTextData"),E(a)):(I.consume(a),o)}function r(a){return a===96?(I.consume(a),t++,r):t===B?(I.exit("codeTextSequence"),I.exit("codeText"),A(a)):(Q.type="codeTextData",o(a))}}var op,xL=V(()=>{dg();op={name:"codeText",previous:aV,resolve:nV,tokenize:cV}});function oc(I,A){let g=0;if(A.length<1e4)I.push(...A);else for(;g<A.length;)I.push(...A.slice(g,g+1e4)),g+=1e4}var kd,qL=V(()=>{kd=class{constructor(A){this.left=A?[...A]:[],this.right=[]}get(A){if(A<0||A>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+A+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return A<this.left.length?this.left[A]:this.right[this.right.length-A+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(A,g){let C=g??Number.POSITIVE_INFINITY;return C<this.left.length?this.left.slice(A,C):A>this.left.length?this.right.slice(this.right.length-C+this.left.length,this.right.length-A+this.left.length).reverse():this.left.slice(A).concat(this.right.slice(this.right.length-C+this.left.length).reverse())}splice(A,g,C){let B=g||0;this.setCursor(Math.trunc(A));let t=this.right.splice(this.right.length-B,Number.POSITIVE_INFINITY);return C&&oc(this.left,C),t.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(A){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(A)}pushMany(A){this.setCursor(Number.POSITIVE_INFINITY),oc(this.left,A)}unshift(A){this.setCursor(0),this.right.push(A)}unshiftMany(A){this.setCursor(0),oc(this.right,A.reverse())}setCursor(A){if(!(A===this.left.length||A>this.left.length&&this.right.length===0||A<0&&this.left.length===0))if(A<this.left.length){let g=this.left.splice(A,Number.POSITIVE_INFINITY);oc(this.right,g.reverse())}else{let g=this.right.splice(this.left.length+this.right.length-A,Number.POSITIVE_INFINITY);oc(this.left,g.reverse())}}}});function md(I){let A={},g=-1,C,B,t,Q,e,i,E,o=new kd(I);for(;++g<o.length;){for(;g in A;)g=A[g];if(C=o.get(g),g&&C[1].type==="chunkFlow"&&o.get(g-1)[1].type==="listItemPrefix"&&(i=C[1]._tokenizer.events,t=0,t<i.length&&i[t][1].type==="lineEndingBlank"&&(t+=2),t<i.length&&i[t][1].type==="content"))for(;++t<i.length&&i[t][1].type!=="content";)i[t][1].type==="chunkText"&&(i[t][1]._isInFirstContentOfListItem=!0,t++);if(C[0]==="enter")C[1].contentType&&(Object.assign(A,hV(o,g)),g=A[g],E=!0);else if(C[1]._container){for(t=g,B=void 0;t--;)if(Q=o.get(t),Q[1].type==="lineEnding"||Q[1].type==="lineEndingBlank")Q[0]==="enter"&&(B&&(o.get(B)[1].type="lineEndingBlank"),Q[1].type="lineEnding",B=t);else if(!(Q[1].type==="linePrefix"||Q[1].type==="listItemIndent"))break;B&&(C[1].end={...o.get(B)[1].start},e=o.slice(B,g),e.unshift(C),o.splice(B,g-B+1,e))}}return KI(I,0,