vendor: 4,910 bytes, lines 1-2
1/* ANPG DEVTEAM - 23/09/2026, 12:53:51 */ 2import{j as C}from"./data-vendor-BRYI0K8G.js";import{c as Je,g as Ht,u as Or,r as ce}from"./react-vendor-Bj9LQV-u.js";import{X as Qn,b as qe,l as _e}from"./index-cwV7SCbt.js";import{u as Dr}from"./i18n-vendor-BSIZ7LIS.js";import{A as on,m as an}from"./motion-vendor-DMc3mo8t.js";import{M as _r}from"./message-circle-gmfHcZDA.js";import{B as $e}from"./bot-Dh7mXPIY.js";import{R as Rr}from"./rotate-ccw-D79jImnC.js";import{U as Fr}from"./user-GGMDWiDQ.js";import{T as jr,a as Mr}from"./thumbs-up-qD3AGpzI.js";import{S as Br}from"./send-Do57BhJt.js";import"./charts-vendor-Cs07Jtv5.js";function Hr(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}const Ur=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Vr=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qr={};function Jn(e,n){return(qr.jsx?Vr:Ur).test(e)}const $r=/[ \t\n\f\r]/g;function Wr(e){return typeof e=="object"?e.type==="text"?Kn(e.value):!1:Kn(e)}function Kn(e){return e.replace($r,"")===""}class Ue{constructor(n,t,r){this.normal=t,this.property=n,r&&(this.space=r)}}Ue.prototype.normal={};Ue.prototype.property={};Ue.prototype.space=void 0;function Ut(e,n){const t={},r={};for(const i of e)Object.assign(t,i.property),Object.assign(r,i.normal);return new Ue(t,r,n)}function kn(e){return e.toLowerCase()}class le{constructor(n,t){this.attribute=t,this.property=n}}le.prototype.attribute="";le.prototype.booleanish=!1;le.prototype.boolean=!1;le.prototype.commaOrSpaceSeparated=!1;le.prototype.commaSeparated=!1;le.prototype.defined=!1;le.prototype.mustUseProperty=!1;le.prototype.number=!1;le.prototype.overloadedBoolean=!1;le.prototype.property="";le.prototype.spaceSeparated=!1;le.prototype.space=void 0;let Xr=0;const L=Ae(),K=Ae(),bn=Ae(),b=Ae(),q=Ae(),Ne=Ae(),se=Ae();function Ae(){return 2**++Xr}const wn=Object.freeze(Object.defineProperty({__proto__:null,boolean:L,booleanish:K,commaOrSpaceSeparated:se,commaSeparated:Ne,number:b,overloadedBoolean:bn,spaceSeparated:q},Symbol.toStringTag,{value:"Module"})),un=Object.keys(wn);class vn extends le{constructor(n,t,r,i){let l=-1;if(super(n,t),Zn(this,"space",i),typeof r=="number")for(;++l<un.length;){const o=un[l];Zn(this,un[l],(r&wn[o])===wn[o])}}}vn.prototype.defined=!0;function Zn(e,n,t){t&&(e[n]=t)}function ze(e){const n={},t={};for(const[r,i]of Object.entries(e.properties)){const l=new vn(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),n[r]=l,t[kn(r)]=r,t[kn(l.attribute)]=r}return new Ue(n,t,e.space)}const Vt=ze({properties:{ariaActiveDescendant:null,ariaAtomic:K,ariaAutoComplete:null,ariaBusy:K,ariaChecked:K,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:q,ariaCurrent:null,ariaDescribedBy:q,ariaDetails:null,ariaDisabled:K,ariaDropEffect:q,ariaErrorMessage:null,ariaExpanded:K,ariaFlowTo:q,ariaGrabbed:K,ariaHasPopup:null,ariaHidden:K,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:q,ariaLevel:b,ariaLive:null,ariaModal:K,ariaMultiLine:K,ariaMultiSelectable:K,ariaOrientation:null,ariaOwns:q,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:K,ariaReadOnly:K,ariaRelevant:null,ariaRequired:K,ariaRoleDescription:q,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:K,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function qt(e,n){return n in e?e[n]:n}function $t(e,n){return qt(e,n.toLowerCase())}const Yr=ze({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ne,acceptCharset:q,accessKey:q,action:null,allow:null,allowFullScreen:L,allowPaymentRequest:L,allowUserMedia:L,alt:null,as:null,async:L,autoCapitalize:null,autoComplete:q,autoFocus:L,autoPlay:L,blocking:q,capture:null,charSet:null,checked:L,cite:null,className:q,cols:b,colSpan:null,content:null,contentEditable:K,controls:L,controlsList:q,coords:b|Ne,crossOrigin:null,data:null,dateTime:null,decoding:null,default:L,defer:L,dir:null,dirName:null,disabled:L,download:bn,draggable:K,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:L,formTarget:null,headers:q,height:b,hidden:bn,high:b,href:null,hrefLang:null,htmlFor:q,httpEquiv:q,id:null,imageSizes:null,imageSrcSet:null,inert:L,inputMode:null,integrity:null,is:null,isMap:L,itemId:null,itemProp:q,itemRef:q,itemScope:L,itemType:q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:L,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:L,muted:L,name:null,nonce:null,noModule:L,noValidate:L,onAbort:null,onAfterPrint:null,onAuxCl
2ick: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:L,optimum:b,pattern:null,ping:q,placeholder:null,playsInline:L,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:L,referrerPolicy:null,rel:q,required:L,reversed:L,rows:b,rowSpan:b,sandbox:q,scope:null,scoped:L,seamless:L,selected:L,shadowRootClonable:L,shadowRootDelegatesFocus:L,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:K,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:L,useMap:null,value:K,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:q,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:L,declare:L,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:L,noHref:L,noShade:L,noWrap:L,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:K,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:L,disableRemotePlayback:L,prefix:null,property:null,results:b,security:null,unselectable:null},space:"html",transform:$t}),Gr=ze({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
2-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:se,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:q,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:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:L,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,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:Ne,g2:Ne,glyphName:Ne,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:se,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,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:b,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 4,565 bytes, lines 2-3
2Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:se,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:se,rev:se,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:se,requiredFeatures:se,requiredFonts:se,requiredFormats:se,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:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:se,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:se,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:se,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:qt}),Wt=ze({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Xt=ze({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$t}),Yt=ze({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Qr={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"},Jr=/[A-Z]/g,et=/-[a-z]/g,Kr=/^data[-\w.:]+$/i;function Zr(e,n){const t=kn(n);let r=n,i=le;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&Kr.test(n)){if(n.charAt(4)==="-"){const l=n.slice(5).replace(et,ni);r="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=n.slice(4);if(!et.test(l)){let o=l.replace(Jr,ei);o.charAt(0)!=="-"&&(o="-"+o),n="data"+o}}i=vn}return new i(r,n)}function ei(e){return"-"+e.toLowerCase()}function ni(e){return e.charAt(1).toUpperCase()}const ti=Ut([Vt,Yr,Wt,Xt,Yt],"html"),zn=Ut([Vt,Gr,Wt,Xt,Yt],"svg");function ri(e){return e.join(" ").trim()}var Ln={},nt=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ii=/\n/g,li=/^\s*/,oi=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ai=/^:\s*/,ui=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,si=/^[;\s]*/,ci=/^\s+|\s+$/g,pi=` 3`,tt="/",rt="*",Ie="",fi="comment",hi="declaration";function di(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,r=1;function i(x){var k=x.match(ii);k&&(t+=k.length);var T=x.lastIndexOf(pi);r=~T?x.length-T:r+x.length}function l(){var x={line:t,column:r};return function(k){return k.position=new o(x),c(),k}}function o(x){this.start=x,this.end={line:t,column:r},this.source=n.source}o.prototype.content=e;function a(x){var k=new Error(n.source+":"+t+":"+r+": "+x);if(k.reason=x,k.filename=n.source,k.line=t,k.column=r,k.source=e,!n.silent)throw k}function u(x){var k=x.exec(e);if(k){var T=k[0];return i(T),e=e.slice(T.length),k}}function c(){u(li)}function s(x){var k;for(x=x||[];
3k=f();)k!==!1&&x.push(k);return x}function f(){var x=l();if(!(tt!=e.charAt(0)||rt!=e.charAt(1))){for(var k=2;Ie!=e.charAt(k)&&(rt!=e.charAt(k)||tt!=e.charAt(k+1));)++k;if(k+=2,Ie===e.charAt(k-1))return a("End of comment missing");var T=e.slice(2,k-2);return r+=2,i(T),e=e.slice(k),r+=2,x({type:fi,comment:T})}}function m(){var x=l(),k=u(oi);if(k){if(f(),!u(ai))return a("property missing ':'");var T=u(ui),w=x({type:hi,property:it(k[0].replace(nt,Ie)),value:T?it(T[0].replace(nt,Ie)):Ie});return u(si),w}}function p(){var x=[];s(x);for(var k;k=m();)k!==!1&&(x.push(k),s(x));return x}return c(),p()}function it(e){return e?e.replace(ci,Ie):Ie}var mi=di,gi=Je&&Je.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ln,"__esModule",{value:!0});Ln.default=xi;const yi=gi(mi);function xi(e,n){let t=null;if(!e||typeof e!="string")return t;const r=(0,yi.default)(e),i=typeof n=="function";return r.forEach(l=>{if(l.type!=="declaration")return;const{property:o,value:a}=l;i?n(o,a,l):a&&(t=t||{},t[o]=a)}),t}var en={};Object.defineProperty(en,"__esModule",{value:!0});
vendor: 12,461 bytes, line 3
3en.camelCase=void 0;var ki=/^--[a-zA-Z0-9_-]+$/,bi=/-([a-z])/g,wi=/^[^-]+$/,Si=/^-(webkit|moz|ms|o|khtml)-/,Ci=/^-(ms)-/,Ei=function(e){return!e||wi.test(e)||ki.test(e)},Ii=function(e,n){return n.toUpperCase()},lt=function(e,n){return"".concat(n,"-")},Ai=function(e,n){return n===void 0&&(n={}),Ei(e)?e:(e=e.toLowerCase(),n.reactCompat?e=e.replace(Ci,lt):e=e.replace(Si,lt),e.replace(bi,Ii))};en.camelCase=Ai;var Ti=Je&&Je.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Pi=Ti(Ln),Ni=en;function Sn(e,n){var t={};return!e||typeof e!="string"||(0,Pi.default)(e,function(r,i){r&&i&&(t[(0,Ni.camelCase)(r,n)]=i)}),t}Sn.default=Sn;var vi=Sn;const zi=Ht(vi),Gt=Qt("end"),On=Qt("start");function Qt(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Li(e){const n=On(e),t=Gt(e);if(n&&t)return{start:n,end:t}}function je(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ot(e.position):"start"in e||"end"in e?ot(e):"line"in e||"column"in e?Cn(e):""}function Cn(e){return at(e&&e.line)+":"+at(e&&e.column)}function ot(e){return Cn(e&&e.start)+"-"+Cn(e&&e.end)}function at(e){return e&&typeof e=="number"?e:1}class ee extends Error{constructor(n,t,r){super(),typeof t=="string"&&(r=t,t=void 0);let i="",l={},o=!1;if(t&&("line"in t&&"column"in t?l={place:t}:"start"in t&&"end"in t?l={place:t}:"type"in t?l={ancestors:[t],place:t.position}:l={...t}),typeof n=="string"?i=n:!l.cause&&n&&(o=!0,i=n.message,l.cause=n),!l.ruleId&&!l.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?l.ruleId=r:(l.source=r.slice(0,u),l.ruleId=r.slice(u+1))}if(!l.place&&l.ancestors&&l.ancestors){const u=l.ancestors[l.ancestors.length-1];u&&(l.place=u.position)}const a=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=a?a.line:void 0,this.name=je(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ee.prototype.file="";ee.prototype.name="";ee.prototype.reason="";ee.prototype.message="";ee.prototype.stack="";ee.prototype.column=void 0;ee.prototype.line=void 0;ee.prototype.ancestors=void 0;ee.prototype.cause=void 0;ee.prototype.fatal=void 0;ee.prototype.place=void 0;ee.prototype.ruleId=void 0;ee.prototype.source=void 0;const Dn={}.hasOwnProperty,Oi=new Map,Di=/[A-Z]/g,_i=new Set(["table","tbody","thead","tfoot","tr"]),Ri=new Set(["td","th"]),Jt="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Fi(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const t=n.filePath||void 0;let r;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=$i(t,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=qi(t,n.jsx,n.jsxs)}const i={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:r,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:t,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?zn:ti,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},l=Kt(i,e,void 0);return l&&typeof l!="string"?l:i.create(e,i.Fragment,{children:l||void 0},void 0)}function Kt(e,n,t){if(n.type==="element")return ji(e,n,t);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return Mi(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return Hi(e,n,t);if(n.type==="mdxjsEsm")return Bi(e,n);if(n.type==="root")return Ui(e,n,t);if(n.type==="text")return Vi(e,n)}function ji(e,n,t){const r=e.schema;let i=r;n.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=zn,e.schema=i),e.ancestors.push(n);const l=er(e,n.tagName,!1),o=Wi(e,n);let a=Rn(e,n);return _i.has(n.tagName)&&(a=a.filter(function(u){return typeof u=="string"?!Wr(u):!0})),Zt(e,o,l,n),_n(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function Mi(e,n){if(n.data&&n.data.estree&&e.evaluater){const r=n.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}He(e,n.position)}function Bi(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);He(e,n.position)}function Hi(e,n,t){const r=e.schema;let i=r;n.name==="svg"&&r.space==="html"&&(i=zn,e.schema=i),e.ancestors.push(n);const l=n.name===null?e.Fragment:er(e,n.name,!0),o=Xi(e,n),a=Rn(e,n);return Zt(e,o,l,n),_n(o,a),e.ancestors.pop(),e.schema=r,e.create(n,l,o,t)}function Ui(e,n,t){const r={};return _n(r,Rn(e,n)),e.create(n,e.Fragment,r,t)}function Vi(e,n){return n.value}function Zt(e,n,t,r){typeof t!="string"&&t!==e.Fragment&&e.passNode&&(n.node=r)}function _n(e,n){if(n.length>0){const t=n.length>1?n:n[0];t&&(e.children=t)}}function qi(e,n,t){return r;function r(i,l,o,a){const c=Array.isArray(o.children)?t:n;return a?c(l,o,a):c(l,o)}}function $i(e,n){return t;function t(r,i,l,o){const a=Array.isArray(l.children),u=On(r);return n(i,l,o,a,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function Wi(e,n){const t={};let r,i;for(i in n.properties)if(i!=="children"&&Dn.call(n.properties,i)){const l=Yi(e,i,n.properties[i]);if(l){const[o,a]=l;e.tableCellAlignToStyle&&o==="align"&&typeof a=="string"&&Ri.has(n.tagName)?r=a:t[o]=a}}if(r){const l=t.style||(t.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return t}function Xi(e,n){const t={};for(const r of n.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const l=r.data.estree.body[0];l.type;const o=l.expression;o.type;const a=o.properties[0];a.type,Object.assign(t,e.evaluater.evaluateExpression(a.argument))}else He(e,n.position);else{const i=r.name;let l;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,l=e.evaluater.evaluateExpression(a.expression)}else He(e,n.position);else l=r.value===null?!0:r.value;t[i]=l}return t}function Rn(e,n){const t=[];let r=-1;const i=e.passKeys?new Map:Oi;for(;++r<n.children.length;){const l=n.children[r];let o;if(e.passKeys){const u=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(u){const c=i.get(u)||0;o=u+"-"+c,i.set(u,c+1)}}const a=Kt(e,l,o);a!==void 0&&t.push(a)}return t}function Yi(e,n,t){const r=Zr(e.schema,n);if(!(t==null||typeof t=="number"&&Number.isNaN(t))){if(Array.isArray(t)&&(t=r.commaSeparated?Hr(t):ri(t)),r.property==="style"){let i=typeof t=="object"?t:Gi(e,String(t));return e.stylePropertyNameCase==="css"&&(i=Qi(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Qr[r.property]||r.property:r.attribute,t]}}function Gi(e,n){try{return zi(n,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const r=t,i=new ee("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Jt+"#cannot-parse-style-attribute",i}}function er(e,n,t){let r;if(!t)r={type:"Literal",value:n};else if(n.includes(".")){const i=n.split(".");let l=-1,o;for(;++l<i.length;){const a=Jn(i[l])?{type:"Identifier",name:i[l]}:{type:"Literal",value:i[l]};o=o?{type:"MemberExpression",object:o,property:a,computed:!!(l&&a.type==="Literal"),optional:!1}:a}r=o}else r=Jn(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(r.type==="Literal"){const i=r.value;return Dn.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);He(e)}function He(e,n){const t=new ee("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=Jt+"#cannot-handle-mdx-estrees-without-createevaluater",t}function Qi(e){const n={};let t;for(t in e)Dn.call(e,t)&&(n[Ji(t)]=e[t]);return n}function Ji(e){let n=e.replace(Di,Ki);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function Ki(e){return"-"+e.toLowerCase()}const sn={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"]},Zi={};function el(e,n){const t=Zi,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,i=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return nr(e,r,i)}function nr(e,n,t){if(nl(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ut(e.children,n,t)}return Array.isArray(e)?ut(e,n,t):""}function ut(e,n,t){const r=[];let i=-1;for(;++i<e.length;)r[i]=nr(e[i],n,t);return r.join("")}function nl(e){return!!(e&&typeof e=="object")}const st=document.createElement("i");function Fn(e){const n="&"+e+";";st.innerHTML=n;const t=st.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}function xe(e,n,t,r){const i=e.length;let l=0,o;if(n<0?n=-n>i?0:i+n:n=n>i?i:n,t=t>0?t:0,r.length<1e4)o=Array.from(r),o.unshift(n,t),e.splice(...o);else for(t&&e.splice(n,t);l<r.length;)o=r.slice(l,l+1e4),o.unshift(n,0),e.splice(...o),l+=1e4,n+=1e4}function he(e,n){return e.length>0?(xe(e,e.length,0,n),e):n}const ct={}.hasOwnProperty;function tl(e){const n={};let t=-1;for(;++t<e.length;)rl(n,e[t]);return n}function rl(e,n){let t;for(t in n){const i=(ct.call(e,t)?e[t]:void 0)||(e[t]={}),l=n[t];let o;if(l)for(o in l){ct.call(i,o)||(i[o]=[]);const a=l[o];il(i[o],Array.isArray(a)?a:a?[a]:[])}}}function il(e,n){let t=-1;const r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);xe(e,0,0,r)}function tr(e,n){const t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCodePoint(t)}function ve(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ye=Se(/[A-Za-z]/),pe=Se(/[\dA-Za-z]/),ll=Se(/[#-'*+\--9=?A-Z^-~]/);function En(e){return e!==null&&(e<32||e===127)}const In=Se(/\d/),ol=Se(/[\dA-Fa-f]/),al=Se(/[!-/:-@[-`{-~]/);function N(e){return e!==null&&e<-2}function ie(e){return e!==null&&(e<0||e===32)}function j(e){return e===-2||e===-1||e===32}const ul=Se(new RegExp("\\p{P}|\\p{S}","u")),sl=Se(/\s/);function Se(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function Le(e){const n=[];let t=-1,r=0,i=0;for(;++t<e.length;){const l=e.charCodeAt(t);let o="";if(l===37&&pe(e.charCodeAt(t+1))&&pe(e.charCodeAt(t+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const a=e.charCodeAt(t+1);l<56320&&a>56319&&a<57344?(o=String.fromCharCode(l,a),i=1):o="�"}else o=String.fromCharCode(l);o&&(n.push(e.slice(r,t),encodeURIComponent(o)),r=t+i+1,o=""),i&&(t+=i,i=0)}return n.join("")+e.slice(r)}function $(e,n,t,r){const i=r?r-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(u){return j(u)?(e.enter(t),a(u)):n(u)}function a(u){return j(u)&&l++<i?(e.consume(u),a):(e.exit(t),n(u))}}const cl={tokenize:pl};function pl(e){const n=e.attempt(this.parser.constructs.contentInitial,r,i);let t;return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),$(e,n,"linePrefix")}function i(a){return e.enter("paragraph"),l(a)}function l(a){const u=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=u),t=u,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return N(a)?(e.consume(a),e.exit("chunkText"),l):(e.consume(a),o)}}const fl={tokenize:hl},pt={tokenize:dl};function hl(e){const n=this,t=[];let r=0,i,l,o;return a;function a(E){if(r<t.length){const B=t[r];
vendor: 9,065 bytes, line 3
3return n.containerState=B[1],e.attempt(B[0].continuation,u,c)(E)}return c(E)}function u(E){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,i&&O();const B=n.events.length;let P=B,y;for(;P--;)if(n.events[P][0]==="exit"&&n.events[P][1].type==="chunkFlow"){y=n.events[P][1].end;break}w(r);let _=B;for(;_<n.events.length;)n.events[_][1].end={...y},_++;return xe(n.events,P+1,0,n.events.slice(B)),n.events.length=_,c(E)}return a(E)}function c(E){if(r===t.length){if(!i)return m(E);if(i.currentConstruct&&i.currentConstruct.concrete)return x(E);n.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(pt,s,f)(E)}function s(E){return i&&O(),w(r),m(E)}function f(E){return n.parser.lazy[n.now().line]=r!==t.length,o=n.now().offset,x(E)}function m(E){return n.containerState={},e.attempt(pt,p,x)(E)}function p(E){return r++,t.push([n.currentConstruct,n.containerState]),m(E)}function x(E){if(E===null){i&&O(),w(0),e.consume(E);return}return i=i||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:l}),k(E)}function k(E){if(E===null){T(e.exit("chunkFlow"),!0),w(0),e.consume(E);return}return N(E)?(e.consume(E),T(e.exit("chunkFlow")),r=0,n.interrupt=void 0,a):(e.consume(E),k)}function T(E,B){const P=n.sliceStream(E);if(B&&P.push(null),E.previous=l,l&&(l.next=E),l=E,i.defineSkip(E.start),i.write(P),n.parser.lazy[E.start.line]){let y=i.events.length;for(;y--;)if(i.events[y][1].start.offset<o&&(!i.events[y][1].end||i.events[y][1].end.offset>o))return;const _=n.events.length;let V=_,D,F;for(;V--;)if(n.events[V][0]==="exit"&&n.events[V][1].type==="chunkFlow"){if(D){F=n.events[V][1].end;break}D=!0}for(w(r),y=_;y<n.events.length;)n.events[y][1].end={...F},y++;xe(n.events,V+1,0,n.events.slice(_)),n.events.length=y}}function w(E){let B=t.length;for(;B-- >E;){const P=t[B];n.containerState=P[1],P[0].exit.call(n,e)}t.length=E}function O(){i.write([null]),l=void 0,i=void 0,n.containerState._closeFlow=void 0}}function dl(e,n,t){return $(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ft(e){if(e===null||ie(e)||sl(e))return 1;if(ul(e))return 2}function jn(e,n,t){const r=[];let i=-1;for(;++i<e.length;){const l=e[i].resolveAll;l&&!r.includes(l)&&(n=l(n,t),r.push(l))}return n}const An={name:"attention",resolveAll:ml,tokenize:gl};function ml(e,n){let t=-1,r,i,l,o,a,u,c,s;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;u=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const f={...e[r][1].end},m={...e[t][1].start};ht(f,-u),ht(m,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[t][1].start},end:m},l={type:u>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[t][1].start}},i={type:u>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[r][1].end={...o.start},e[t][1].start={...a.end},c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=he(c,[["enter",e[r][1],n],["exit",e[r][1],n]])),c=he(c,[["enter",i,n],["enter",o,n],["exit",o,n],["enter",l,n]]),c=he(c,jn(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),c=he(c,[["exit",l,n],["enter",a,n],["exit",a,n],["exit",i,n]]),e[t][1].end.offset-e[t][1].start.offset?(s=2,c=he(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,xe(e,r-1,t-r+3,c),t=r+c.length-s-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function gl(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ft(r);let l;return o;function o(u){return l=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===l)return e.consume(u),a;const c=e.exit("attentionSequence"),s=ft(u),f=!s||s===2&&i||t.includes(u),m=!i||i===2&&s||t.includes(r);return c._open=!!(l===42?f:f&&(i||!m)),c._close=!!(l===42?m:m&&(s||!f)),n(u)}}function ht(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const yl={name:"autolink",tokenize:xl};function xl(e,n,t){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(p){return ye(p)?(e.consume(p),o):p===64?t(p):c(p)}function o(p){return p===43||p===45||p===46||pe(p)?(r=1,a(p)):c(p)}function a(p){return p===58?(e.consume(p),r=0,u):(p===43||p===45||p===46||pe(p))&&r++<32?(e.consume(p),a):(r=0,c(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):p===null||p===32||p===60||En(p)?t(p):(e.consume(p),u)}function c(p){return p===64?(e.consume(p),s):ll(p)?(e.consume(p),c):t(p)}function s(p){return pe(p)?f(p):t(p)}function f(p){return p===46?(e.consume(p),r=0,s):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):m(p)}function m(p){if((p===45||pe(p))&&r++<63){const x=p===45?m:f;return e.consume(p),x}return t(p)}}const nn={partial:!0,tokenize:kl};function kl(e,n,t){return r;function r(l){return j(l)?$(e,i,"linePrefix")(l):i(l)}function i(l){return l===null||N(l)?n(l):t(l)}}const rr={continuation:{tokenize:wl},exit:Sl,name:"blockQuote",tokenize:bl};function bl(e,n,t){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),l}return t(o)}function l(o){return j(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(o))}}function wl(e,n,t){const r=this;return i;function i(o){return j(o)?$(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(rr,n,t)(o)}}function Sl(e){e.exit("blockQuote")}const ir={name:"characterEscape",tokenize:Cl};function Cl(e,n,t){return r;function r(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),i}function i(l){return al(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(l)}}const lr={name:"characterReference",tokenize:El};function El(e,n,t){const r=this;let i=0,l,o;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),l=31,o=pe,s(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=ol,s):(e.enter("characterReferenceValue"),l=7,o=In,s(f))}function s(f){if(f===59&&i){const m=e.exit("characterReferenceValue");return o===pe&&!Fn(r.sliceSerialize(m))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return o(f)&&i++<l?(e.consume(f),s):t(f)}}const dt={partial:!0,tokenize:Al},mt={concrete:!0,name:"codeFenced",tokenize:Il};function Il(e,n,t){const r=this,i={partial:!0,tokenize:P};let l=0,o=0,a;return u;function u(y){return c(y)}function c(y){const _=r.events[r.events.length-1];return l=_&&_[1].type==="linePrefix"?_[2].sliceSerialize(_[1],!0).length:0,a=y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(y)}function s(y){return y===a?(o++,e.consume(y),s):o<3?t(y):(e.exit("codeFencedFenceSequence"),j(y)?$(e,f,"whitespace")(y):f(y))}function f(y){return y===null||N(y)?(e.exit("codeFencedFence"),r.interrupt?n(y):e.check(dt,k,B)(y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||N(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(y)):j(y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$(e,p,"whitespace")(y)):y===96&&y===a?t(y):(e.consume(y),m)}function p(y){return y===null||N(y)?f(y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),x(y))}function x(y){return y===null||N(y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(y)):y===96&&y===a?t(y):(e.consume(y),x)}function k(y){return e.attempt(i,B,T)(y)}function T(y){return e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),w}function w(y){return l>0&&j(y)?$(e,O,"linePrefix",l+1)(y):O(y)}function O(y){return y===null||N(y)?e.check(dt,k,B)(y):(e.enter("co
3deFlowValue"),E(y))}function E(y){return y===null||N(y)?(e.exit("codeFlowValue"),O(y)):(e.consume(y),E)}function B(y){return e.exit("codeFenced"),n(y)}function P(y,_,V){let D=0;return F;function F(z){return y.enter("lineEnding"),y.consume(z),y.exit("lineEnding"),I}function I(z){return y.enter("codeFencedFence"),j(z)?$(y,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):A(z)}function A(z){return z===a?(y.enter("codeFencedFenceSequence"),H(z)):V(z)}function H(z){return z===a?(D++,y.consume(z),H):D>=o?(y.exit("codeFencedFenceSequence"),j(z)?$(y,X,"whitespace")(z):X(z)):V(z)}function X(z){return z===null||N(z)?(y.exit("codeFencedFence"),_(z)):V(z)}}}function Al(e,n,t){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}const cn={name:"codeIndented",tokenize:Pl},Tl={partial:!0,tokenize:Nl};function Pl(e,n,t){const r=this;return i;function i(c){return e.enter("codeIndented"),$(e,l,"linePrefix",5)(c)}function l(c){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?o(c):t(c)}function o(c){return c===null?u(c):N(c)?e.attempt(Tl,o,u)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||N(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),a)}function u(c){return e.exit("codeIndented"),n(c)}}function Nl(e,n,t){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?t(o):N(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):$(e,l,"linePrefix",5)(o)}function l(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):N(o)?i(o):t(o)}}const vl={name:"codeText",previous:Ll,resolve:zl,tokenize:Ol};function zl(e){let n=e.length-4,t=3,r,i;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)i===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(i=r):(r===n||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),n-=r-i-2,r=i+2),i=void 0);return e}function Ll(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ol(e,n,t){let r=0,i,l;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?t(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(l=e.enter("codeTextSequence"),i=0,s(f)):N(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||N(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),c)}function s(f){return f===96?(e.consume(f),i++,s):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(f)):(l.type="codeTextData",c(f))}}class Dl{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,t){const r=t??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(n,r):n>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(n,t,r){const i=t||0;this.setCursor(Math.trunc(n));const l=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Re(this.left,r),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),Re(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),Re(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const t=this.left.splice(n,Number.POSITIVE_INFINITY);Re(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);Re(this.left,t.reverse())}}}function Re(e,n){let t=0;if(n.length<1e4)e.push(...n);else for(;t<n.length;)e.push(...n.slice(t,t+1e4)),t+=1e4}function or(e){const n={};let t=-1,r,i,l,o,a,u,c;const s=new Dl(e);for(;++t<s.length;){for(;t in n;)t=n[t];if(r=s.get(t),t&&r[1].type==="chunkFlow"&&s.get(t-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,l=0,l<u.length&&u[l][1].type==="lineEndingBlank"&&(l+=2),l<u.length&&u[l][1].type==="content"))for(;++l<u.length&&u[l][1].type!=="content";)u[l][1].type==="chunkText"&&(u[l][1]._isInFirstContentOfListItem=!0,l++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,_l(s,t)),t=n[t],c=!0);else if(r[1]._container){for(l=t,i=void 0;l--;)if(o=s.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(i&&(s.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=l);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;i&&(r[1].end={...s.get(i)[1].start},a=s.slice(i,t),a.unshift(r),s.splice(i,t-i+1,a))}}return xe(e,0,Number.POSITIVE_INFINITY,s.slice(0)),!c}function _l(e,n){const t=e.get(n)[1],r=e.get(n)[2];let i=n-1;const l=[];let o=t._tokenizer;o||(o=r.parser[t.contentType](t.start),t._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const a=o.events,u=[],c={};let s,f,m=-1,p=t,x=0,k=0;const T=[k];for(;p;){for(;e.get(++i)[1]!==p;);l.push(i),p._tokenizer||(s=r.sliceStream(p),p.next||s.push(null),f&&o.defineSki
vendor: 22,721 bytes, line 3
3p(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(s),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=t;++m<a.length;)a[m][0]==="exit"&&a[m-1][0]==="enter"&&a[m][1].type===a[m-1][1].type&&a[m][1].start.line!==a[m][1].end.line&&(k=m+1,T.push(k),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):T.pop(),m=T.length;m--;){const w=a.slice(T[m],T[m+1]),O=l.pop();u.push([O,O+w.length-1]),e.splice(O,2,w)}for(u.reverse(),m=-1;++m<u.length;)c[x+u[m][0]]=x+u[m][1],x+=u[m][1]-u[m][0]-1;return c}const Rl={resolve:jl,tokenize:Ml},Fl={partial:!0,tokenize:Bl};function jl(e){return or(e),e}function Ml(e,n){let t;return r;function r(a){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?l(a):N(a)?e.check(Fl,o,l)(a):(e.consume(a),i)}function l(a){return e.exit("chunkContent"),e.exit("content"),n(a)}function o(a){return e.consume(a),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,i}}function Bl(e,n,t){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),$(e,l,"linePrefix")}function l(o){if(o===null||N(o))return t(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}}function ar(e,n,t,r,i,l,o,a,u){const c=u||Number.POSITIVE_INFINITY;let s=0;return f;function f(w){return w===60?(e.enter(r),e.enter(i),e.enter(l),e.consume(w),e.exit(l),m):w===null||w===32||w===41||En(w)?t(w):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),k(w))}function m(w){return w===62?(e.enter(l),e.consume(w),e.exit(l),e.exit(i),e.exit(r),n):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(e.exit("chunkString"),e.exit(a),m(w)):w===null||w===60||N(w)?t(w):(e.consume(w),w===92?x:p)}function x(w){return w===60||w===62||w===92?(e.consume(w),p):p(w)}function k(w){return!s&&(w===null||w===41||ie(w))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),n(w)):s<c&&w===40?(e.consume(w),s++,k):w===41?(e.consume(w),s--,k):w===null||w===32||w===40||En(w)?t(w):(e.consume(w),w===92?T:k)}function T(w){return w===40||w===41||w===92?(e.consume(w),k):k(w)}}function ur(e,n,t,r,i,l){const o=this;let a=0,u;return c;function c(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(l),s}function s(p){return a>999||p===null||p===91||p===93&&!u||p===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?t(p):p===93?(e.exit(l),e.enter(i),e.consume(p),e.exit(i),e.exit(r),n):N(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||N(p)||a++>999?(e.exit("chunkString"),s(p)):(e.consume(p),u||(u=!j(p)),p===92?m:f)}function m(p){return p===91||p===92||p===93?(e.consume(p),a++,f):f(p)}}function sr(e,n,t,r,i,l){let o;return a;function a(m){return m===34||m===39||m===40?(e.enter(r),e.enter(i),e.consume(m),e.exit(i),o=m===40?41:m,u):t(m)}function u(m){return m===o?(e.enter(i),e.consume(m),e.exit(i),e.exit(r),n):(e.enter(l),c(m))}function c(m){return m===o?(e.exit(l),u(o)):m===null?t(m):N(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),$(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(m))}function s(m){return m===o||m===null||N(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?f:s)}function f(m){return m===o||m===92?(e.consume(m),s):s(m)}}function Me(e,n){let t;return r;function r(i){return N(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):j(i)?$(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}const Hl={name:"definition",tokenize:Vl},Ul={partial:!0,tokenize:ql};function Vl(e,n,t){const r=this;let i;return l;function l(p){return e.enter("definition"),o(p)}function o(p){return ur.call(r,e,a,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=ve(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):t(p)}function u(p){return ie(p)?Me(e,c)(p):c(p)}function c(p){return ar(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function s(p){return e.attempt(Ul,f,f)(p)}function f(p){return j(p)?$(e,m,"whitespace")(p):m(p)}function m(p){return p===null||N(p)?(e.exit("definition"),r.parser.defined.push(i),n(p)):t(p)}}function ql(e,n,t){return r;function r(a){return ie(a)?Me(e,i)(a):t(a)}function i(a){return sr(e,l,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function l(a){return j(a)?$(e,o,"whitespace")(a):o(a)}function o(a){return a===null||N(a)?n(a):t(a)}}const $l={name:"hardBreakEscape",tokenize:Wl};function Wl(e,n,t){return r;function r(l){return e.enter("hardBreakEscape"),e.consume(l),i}function i(l){return N(l)?(e.exit("hardBreakEscape"),n(l)):t(l)}}const Xl={name:"headingAtx",resolve:Yl,tokenize:Gl};function Yl(e,n){let t=e.length-2,r=3,i,l;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},l={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},xe(e,r,t-r+1,[["enter",i,n],["enter",l,n],["exit",l,n],["exit",i,n]])),e}function Gl(e,n,t){let r=0;return i;function i(s){return e.enter("atxHeading"),l(s)}function l(s){return e.enter("atxHeadingSequence"),o(s)}function o(s){return s===35&&r++<6?(e.consume(s),o):s===null||ie(s)?(e.exit("atxHeadingSequence"),a(s)):t(s)}function a(s){return s===35?(e.enter("atxHeadingSequence"),u(s)):s===null||N(s)?(e.exit("atxHeading"),n(s)):j(s)?$(e,a,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function u(s){return s===35?(e.consume(s),u):(e.exit("atxHeadingSequence"),a(s))}function c(s){return s===null||s===35||ie(s)?(e.exit("atxHeadingText"),a(s)):(e.consume(s),c)}}const Ql=["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"],gt=["pre","script","style","textarea"],Jl={concrete:!0,name:"htmlFlow",resolveTo:eo,tokenize:no},Kl={partial:!0,tokenize:ro},Zl={partial:!0,tokenize:to};function eo(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function no(e,n,t){const r=this;let i,l,o,a,u;return c;function c(h){return s(h)}function s(h){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(h),f}function f(h){return h===33?(e.consume(h),m):h===47?(e.consume(h),l=!0,k):h===63?(e.consume(h),i=3,r.interrupt?n:d):ye(h)?(e.consume(h),o=String.fromCharCode(h),T):t(h)}function m(h){return h===45?(e.consume(h),i=2,p):h===91?(e.consume(h),i=5,a=0,x):ye(h)?(e.consume(h),i=4,r.interrupt?n:d):t(h)}function p(h){return h===45?(e.consume(h),r.interrupt?n:d):t(h)}function x(h){const G="CDATA[";return h===G.charCodeAt(a++)?(e.consume(h),a===G.length?r.interrupt?n:A:x):t(h)}function k(h){return ye(h)?(e.consume(h),o=String.fromCharCode(h),T):t(h)}function T(h){if(h===null||h===47||h===62||ie(h)){const G=h===47,ae=o.toLowerCase();return!G&&!l&>.includes(ae)?(i=1,r.interrupt?n(h):A(h)):Ql.includes(o.toLowerCase())?(i=6,G?(e.consume(h),w):r.interrupt?n(h):A(h)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(h):l?O(h):E(h))}return h===45||pe(h)?(e.consume(h),o+=String.fromCharCode(h),T):t(h)}function w(h){return h===62?(e.consume(h),r.interrupt?n:A):t(h)}function O(h){return j(h)?(e.consume(h),O):F(h)}function E(h){return h===47?(e.consume(h),F):h===58||h===95||ye(h)?(e.consume(h),B):j(h)?(e.consume(h),E):F(h)}function B(h){return h===45||h===46||h===58||h===95||pe(h)?(e.consume(h),B):P(h)}function P(h){return h===61?(e.consume(h),y):j(h)?(e.consume(h),P):E(h)}function y(h){return h===null||h===60||h===61||h===62||h===96?t(h):h===34||h===39?(e.consume(h),u=h,_):j(h)?(e.consume(h),y):V(h)}function _(h){return h===u?(e.consume(h),u=null,D):h===null||N(h)?t(h):(e.consume(h),_)}function V(h){return h===null||h===34||h===39||h===47||h===60||h===61||h===62||h===96||ie(h)?P(h):(e.consume(h),V)}function D(h){return h===47||h===62||j(h)?E(h):t(h)}function F(h){return h===62?(e.consume(h),I):t(h)}function I(h){return h===null||N(h)?A(h):j(h)?(e.consume(h),I):t(h)}function A(h){return h===45&&i===2?(e.consume(h),Y):h===60&&i===1?(e.consume(h),J):h===62&&i===4?(e.consume(h),M):h===63&&i===3?(e.consume(h),d):h===93&&i===5?(e.consume(h),Z):N(h)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Kl,Q,H)(h)):h===null||N(h)?(e.exit("htmlFlowData"),H(h)):(e.consume(h),A)}function H(h){return e.check(Zl,X,Q)(h)}function X(h){return e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),z}function z(h){return h===null||N(h)?H(h):(e.enter("htmlFlowData"),A(h))}function Y(h){return h===45?(e.consume(h),d):A(h)}function J(h){return h===47?(e.consume(h),o="",oe):A(h)}function oe(h){if(h===62){const G=o.toLowerCase();return gt.includes(G)?(e.consume(h),M):A(h)}return ye(h)&&o.length<8?(e.consume(h),o+=String.fromCharCode(h),oe):A(h)}function Z(h){return h===93?(e.consume(h),d):A(h)}function d(h){return h===62?(e.consume(h),M):h===45&&i===2?(e.consume(h),d):A(h)}function M(h){return h===null||N(h)?(e.exit("htmlFlowData"),Q(h)):(e.consume(h),M)}function Q(h){return e.exit("htmlFlow"),n(h)}}function to(e,n,t){const r=this;return i;function i(o){return N(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):t(o)}function l(o){return r.parser.lazy[r.now().line]?t(o):n(o)}}function ro(e,n,t){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(nn,n,t)}}const io={name:"htmlText",tokenize:lo};function lo(e,n,t){const r=this;let i,l,o;return a;function a(d){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(d),u}function u(d){return d===33?(e.consume(d),c):d===47?(e.consume(d),P):d===63?(e.consume(d),E):ye(d)?(e.consume(d),V):t(d)}function c(d){return d===45?(e.consume(d),s):d===91?(e.consume(d),l=0,x):ye(d)?(e.consume(d),O):t(d)}function s(d){return d===45?(e.consume(d),p):t(d)}function f(d){return d===null?t(d):d===45?(e.consume(d),m):N(d)?(o=f,J(d)):(e.consume(d),f)}function m(d){return d===45?(e.consume(d),p):f(d)}function p(d){return d===62?Y(d):d===45?m(d):f(d)}function x(d){const M="CDATA[";return d===M.charCodeAt(l++)?(e.consume(d),l===M.length?k:x):t(d)}function k(d){return d===null?t(d):d===93?(e.consume(d),T):N(d)?(o=k,J(d)):(e.consume(d),k)}function T(d){return d===93?(e.consume(d),w):k(d)}function w(d){return d===62?Y(d):d===93?(e.consume(d),w):k(d)}function O(d){return d===null||d===62?Y(d):N(d)?(o=O,J(d)):(e.consume(d),O)}function E(d){return d===null?t(d):d===63?(e.consume(d),B):N(d)?(o=E,J(d)):(e.consume(d),E)}function B(d){return d===62?Y(d):E(d)}function P(d){return ye(d)?(e.consume(d),y):t(d)}function y(d){return d===45||pe(d)?(e.consume(d),y):_(d)}function _(d){return N(d)?(o=_,J(d)):j(d)?(e.consume(d),_):Y(d)}function V(d){return d===45||pe(d)?(e.consume(d),V):d===47||d===62||ie(d)?D(d):t(d)}function D(d){return d===47?(e.consume(d),Y):d===58||d===95||ye(d)?(e.consume(d),F):N(d)?(o=D,J(d)):j(d)?(e.consume(d),D):Y(d)}function F(d){return d===45||d===46||d===58||d===95||pe(d)?(e.consume(d),F):I(d)}function I(d){return d===61?(e.consume(d),A):N(d)?(o=I,J(d)):j(d)?(e.consume(d),I):D(d)}function A(d){return d===null||d===60||d===61||d===62||d===96?t(d):d===34||d===39?(e.consume(d),i=d,H):N(d)?(o=A,J(d)):j(d)?(e.consume(d),A):(e.consume(d),X)}function H(d){return d===i?(e.consume(d),i=void 0,z):d===null?t(d):N(d)?(o=H,J(d)):(e.consume(d),H)}function X(d){return d===null||d===34||d===39||d===60||d===61||d===96?t(d):d===47||d===62||ie(d)?D(d):(e.consume(d),X)}function z(d){return d===47||d===62||ie(d)?D(d):t(d)}function Y(d){return d===62?(e.consume(d),e.exit("htmlTextData"),e.exit("htmlText"),n):t(d)}function J(d){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),oe}function oe(d){return j(d)?$(e,Z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d):Z(d)}function Z(d){return e.enter("htmlTextData"),o(d)}}const Mn={name:"labelEnd",resolveAll:so,resolveTo:co,tokenize:po},oo={tokenize:fo},ao={tokenize:ho},uo={tokenize:mo};function so(e){let n=-1;const t=[];for(;++n<e.length;){const r=e[n][1];if(t.push(e[n]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",n+=i}}return e.length!==t.length&&xe(e,0,e.length,t),e}function co(e,n){let t=e.length,r=0,i,l,o,a;for(;t--;)if(i=e[t][1],l){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[t][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[t][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(l=t,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=t);const u={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},s={type:"labelText",start:{...e[l+r+2][1].end},end:{...e[o-2][1].start}};return a=[["enter",u,n],["enter",c,n]],a=he(a,e.slice(l+1,l+r+3)),a=he(a,[["enter",s,n]]),a=he(a,jn(n.parser.constructs.insideSpan.null,e.slice(l+r+4,o-3),n)),a=he(a,[["exit",s,n],e[o-2],e[o-1],["exit",c,n]]),a=he(a,e.slice(o+1)),a=he(a,[["exit",u,n]]),xe(e,l,e.length,a),e}function po(e,n,t){const r=this;let i=r.events.length,l,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){l=r.events[i][1];break}return a;function a(m){return l?l._inactive?f(m):(o=r.parser.defined.includes(ve(r.sliceSerialize({start:l.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):t(m)}function u(m){return m===40?e.attempt(oo,s,o?s:f)(m):m===91?e.attempt(ao,s,o?c:f)(m):o?s(m):f(m)}function c(m){return e.attempt(uo,s,f)(m)}function s(m){return n(m)}function f(m){return l._balanced=!0,t(m)}}function fo(e,n,t){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return ie(f)?Me(e,l)(f):l(f)}function l(f){return f===41?s(f):ar(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return ie(f)?Me(e,u)(f):s(f)}function a(f){return t(f)}function u(f){return f===34||f===39||f===40?sr(e,c,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):s(f)}function c(f){return ie(f)?Me(e,s)(f):s(f)}function s(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),n):t(f)}}function ho(e,n,t){const r=this;return i;function i(a){return ur.call(r,e,l,o,"reference","referenceMarker","referenceString")(a)}function l(a){return r.parser.defined.includes(ve(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(a):t(a)}function o(a){return t(a)}}function mo(e,n,t){return r;function r(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),i}function i(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),n):t(l)}}const go={name:"labelStartImage",resolveAll:Mn.resolveAll,tokenize:yo};function yo(e,n,t){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),l}function l(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):t(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(a):n(a)}}const xo={name:"labelStartLink",resolveAll:Mn.resolveAll,tokenize:ko};function ko(e,n,t){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):n(o)}}const pn={name:"lineEnding",tokenize:bo};function bo(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),$(e,n,"linePrefix")}}const Ge={name:"thematicBreak",tokenize:wo};function wo(e,n,t){let r=0,i;return l;function l(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||N(c))?(e.exit("thematicBreak"),n(c)):t(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),j(c)?$(e,a,"whitespace")(c):a(c))}}const re={continuation:{tokenize:Io},exit:To,name:"list",tokenize:Eo},So={partial:!0,tokenize:Po},Co={partial:!0,tokenize:Ao};function Eo(e,n,t){const r=this,i=r.events[r.events.length-1];let l=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(p){const x=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(x==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:In(p)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Ge,t,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return t(p)}function u(p){return In(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"),c(p)):t(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(nn,r.interrupt?t:s,e.attempt(So,m,f))}function s(p){return r.containerState.initialBlankLine=!0,l++,m(p)}function f(p){return j(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):t(p)}function m(p){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(p)}}function Io(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(nn,i,l);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$(e,n,"listItemIndent",r.containerState.size+1)(a)}function l(a){return r.containerState.furtherBlankLines||!j(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Co,n,o)(a))}function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,$(e,e.attempt(re,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function Ao(e,n,t){const r=this;return $(e,i,"listItemIndent",r.containerState.size+1);function i(l){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?n(l):t(l)}}function To(e){e.exit(this.containerState.type)}function Po(e,n,t){const r=this;return $(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(l){const o=r.events[r.events.length-1];return!j(l)&&o&&o[1].type==="listItemPrefixWhitespace"?n(l):t(l)}}const yt={name:"setextUnderline",resolveTo:No,tokenize:vo};function No(e,n){let t=e.length,r,i,l;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(i=t)}else e[t][1].type==="content"&&e.splice(t,1),!l&&e[t][1].type==="definition"&&(l=t);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",l?(e.splice(i,0,["enter",o,n]),e.splice(l+1,0,["exit",e[r][1],n]),e[r][1].end={...e[l][1].end}):e[r][1]=o,e.push(["exit",o,n]),e}function vo(e,n,t){const r=this;let i;return l;function l(c){let s=r.events.length,f;for(;s--;)if(r.events[s][1].type!=="lineEnding"&&r.events[s][1].type!=="linePrefix"&&r.events[s][1].type!=="content"){f=r.events[s][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):t(c)}function o(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),j(c)?$(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||N(c)?(e.exit("setextHeadingLine"),n(c)):t(c)}}const zo={tokenize:Lo};function Lo(e){const n=this,t=e.attempt(nn,r,e.attempt(this.parser.constructs.flowInitial,i,$(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Rl,i)),"linePrefix")));return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function i(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const Oo={resolveAll:pr()},Do=cr("string"),_o=cr("text");function cr(e){return{resolveAll:pr(e==="text"?Ro:void 0),tokenize:n};function n(t){const r=this,i=this.parser.constructs[e],l=t.attempt(i,o,a);return o;function o(s){return c(s)?l(s):a(s)}function a(s){if(s===null){t.consume(s);return}return t.enter("data"),t.consume(s),u}function u(s){return c(s)?(t.exit("data"),l(s)):(t.consume(s),u)}function c(s){if(s===null)return!0;const f=i[s];let m=-1;if(f)for(;++m<f.length;){const p=f[m];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function pr(e){return n;function n(t,r){let i=-1,l;for(;++i<=t.length;)l===void 0?t[i]&&t[i][1].type==="data"&&(l=i,i++):(!t[i]||t[i][1].type!=="data")&&(i!==l+2&&(t[l][1].end=t[i-1][1].end,t.splice(l+2,i-l-2),i=l+2),l=void 0);return e?e(t,r):t}}function Ro(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const r=e[t-1][1],i=n.sliceStream(r);let l=i.length,o=-1,a=0,u;for(;l--;){const c=i[l];if(typeof c=="string"){for(o=c.length;
vendor: 3,102 bytes, line 3
3c.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(c===-2)u=!0,a++;else if(c!==-1){l++;break}}if(n._contentTypeTextTrailing&&t===e.length&&(a=0),a){const c={type:t===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:r.start._bufferIndex+o,_index:r.start._index+l,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...c.start},r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(t,0,["enter",c,n],["exit",c,n]),t+=2)}t++}return e}const Fo={42:re,43:re,45:re,48:re,49:re,50:re,51:re,52:re,53:re,54:re,55:re,56:re,57:re,62:rr},jo={91:Hl},Mo={[-2]:cn,[-1]:cn,32:cn},Bo={35:Xl,42:Ge,45:[yt,Ge],60:Jl,61:yt,95:Ge,96:mt,126:mt},Ho={38:lr,92:ir},Uo={[-5]:pn,[-4]:pn,[-3]:pn,33:go,38:lr,42:An,60:[yl,io],91:xo,92:[$l,ir],93:Mn,95:An,96:vl},Vo={null:[An,Oo]},qo={null:[42,95]},$o={null:[]},Wo=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:qo,contentInitial:jo,disable:$o,document:Fo,flow:Bo,flowInitial:Mo,insideSpan:Vo,string:Ho,text:Uo},Symbol.toStringTag,{value:"Module"}));function Xo(e,n,t){let r={_bufferIndex:-1,_index:0,line:t&&t.line||1,column:t&&t.column||1,offset:t&&t.offset||0};const i={},l=[];let o=[],a=[];const u={attempt:_(P),check:_(y),consume:O,enter:E,exit:B,interrupt:_(y,{interrupt:!0})},c={code:null,containerState:{},defineSkip:k,events:[],now:x,parser:e,previous:null,sliceSerialize:m,sliceStream:p,write:f};let s=n.tokenize.call(c,u);return n.resolveAll&&l.push(n),c;function f(I){return o=he(o,I),T(),o[o.length-1]!==null?[]:(V(n,0),c.events=jn(l,c.events,c),c.events)}function m(I,A){return Go(p(I),A)}function p(I){return Yo(o,I)}function x(){const{_bufferIndex:I,_index:A,line:H,column:X,offset:z}=r;return{_bufferIndex:I,_index:A,line:H,column:X,offset:z}}function k(I){i[I.line]=I.column,F()}function T(){let I;for(;r._index<o.length;){const A=o[r._index];if(typeof A=="string")for(I=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===I&&r._bufferIndex<A.length;)w(A.charCodeAt(r._bufferIndex));else w(A)}}function w(I){s=s(I)}function O(I){N(I)?(r.line++,r.column=1,r.offset+=I===-3?2:1,F()):I!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=I}function E(I,A){const H=A||{};return H.type=I,H.start=x(),c.events.push(["enter",H,c]),a.push(H),H}function B(I){const A=a.pop();return A.end=x(),c.events.push(["exit",A,c]),A}function P(I,A){V(I,A.from)}function y(I,A){A.restore()}function _(I,A){return H;function H(X,z,Y){let J,oe,Z,d;return Array.isArray(X)?Q(X):"tokenize"in X?Q([X]):M(X);function M(W){return fe;function fe(ne){const te=ne!==null&&W[ne],me=ne!==null&&W.null,Ce=[...Array.isArray(te)?te:te?[te]:[],...Array.isArray(me)?me:me?[me]:[]];return Q(Ce)(ne)}}function Q(W){return J=W,oe=0,W.length===0?Y:h(W[oe])}function h(W){return fe;function fe(ne){return d=D(),Z=W,W.partial||(c.currentConstruct=W),W.name&&c.parser.constructs.disable.null.includes(W.name)?ae():W.tokenize.call(A?Object.assign(Object.create(c),A):c,u,G,ae)(ne)}}function G(W){return I(Z,d),z}
vendor: 12,518 bytes, lines 3-5
3function ae(W){return d.restore(),++oe<J.length?h(J[oe]):Y}}}function V(I,A){I.resolveAll&&!l.includes(I)&&l.push(I),I.resolve&&xe(c.events,A,c.events.length-A,I.resolve(c.events.slice(A),c)),I.resolveTo&&(c.events=I.resolveTo(c.events,c))}function D(){const I=x(),A=c.previous,H=c.currentConstruct,X=c.events.length,z=Array.from(a);return{from:X,restore:Y};function Y(){r=I,c.previous=A,c.currentConstruct=H,c.events.length=X,a=z,F()}}function F(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Yo(e,n){const t=n.start._index,r=n.start._bufferIndex,i=n.end._index,l=n.end._bufferIndex;let o;if(t===i)o=[e[t].slice(r,l)];else{if(o=e.slice(t,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}l>0&&o.push(e[i].slice(0,l))}return o}function Go(e,n){let t=-1;const r=[];let i;for(;++t<e.length;){const l=e[t];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=` 4`;break}case-3:{o=`\r 5`;break}case-2:{o=n?" ":" ";break}case-1:{if(!n&&i)continue;o=" ";break}default:o=String.fromCharCode(l)}i=l===-2,r.push(o)}return r.join("")}function Qo(e){const r={constructs:tl([Wo,...(e||{}).extensions||[]]),content:i(cl),defined:[],document:i(fl),flow:i(zo),lazy:{},string:i(Do),text:i(_o)};return r;function i(l){return o;function o(a){return Xo(r,l,a)}}}function Jo(e){for(;!or(e););return e}const xt=/[\0\t\n\r]/g;function Ko(){let e=1,n="",t=!0,r;return i;function i(l,o,a){const u=[];let c,s,f,m,p;for(l=n+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),f=0,n="",t&&(l.charCodeAt(0)===65279&&f++,t=void 0);f<l.length;){if(xt.lastIndex=f,c=xt.exec(l),m=c&&c.index!==void 0?c.index:l.length,p=l.charCodeAt(m),!c){n=l.slice(f);break}if(p===10&&f===m&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<m&&(u.push(l.slice(f,m)),e+=m-f),p){case 0:{u.push(65533),e++;break}case 9:{for(s=Math.ceil(e/4)*4,u.push(-2);e++<s;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}f=m+1}return a&&(r&&u.push(-5),n&&u.push(n),u.push(null)),u}}const Zo=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function ea(e){return e.replace(Zo,na)}function na(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const i=t.charCodeAt(1),l=i===120||i===88;return tr(t.slice(l?2:1),l?16:10)}return Fn(t)||e}const fr={}.hasOwnProperty;function ta(e,n,t){return typeof n!="string"&&(t=n,n=void 0),ra(t)(Jo(Qo(t).document().write(Ko()(e,n,!0))))}function ra(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Yn),autolinkProtocol:D,autolinkEmail:D,atxHeading:l($n),blockQuote:l(me),characterEscape:D,characterReference:D,codeFenced:l(Ce),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(Ce,o),codeText:l(ln,o),codeTextData:D,data:D,codeFlowValue:D,definition:l(Ir),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(Ar),hardBreakEscape:l(Wn),hardBreakTrailing:l(Wn),htmlFlow:l(Xn,o),htmlFlowData:D,htmlText:l(Xn,o),htmlTextData:D,image:l(Tr),label:o,link:l(Yn),listItem:l(Pr),listItemValue:m,listOrdered:l(Gn,f),listUnordered:l(Gn),paragraph:l(Nr),reference:h,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l($n),strong:l(vr),thematicBreak:l(Lr)},exit:{atxHeading:u(),atxHeadingSequence:P,autolink:u(),autolinkEmail:te,autolinkProtocol:ne,blockQuote:u(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:ae,characterReferenceMarkerNumeric:ae,characterReferenceValue:W,characterReference:fe,codeFenced:u(T),codeFencedFence:k,codeFencedFenceInfo:p,codeFencedFenceMeta:x,codeFlowValue:F,codeIndented:u(w),codeText:u(z),codeTextData:F,data:F,definition:u(),definitionDestinationString:B,definitionLabelString:O,definitionTitleString:E,emphasis:u(),hardBreakEscape:u(A),hardBreakTrailing:u(A),htmlFlow:u(H),htmlFlowData:F,htmlText:u(X),htmlTextData:F,image:u(J),label:Z,labelText:oe,lineEnding:I,link:u(Y),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:G,resourceDestinationString:d,resourceTitleString:M,resource:Q,setextHeading:u(V),setextHeadingLineSequence:_,setextHeadingText:y,strong:u(),thematicBreak:u()}};hr(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(g){let S={type:"root",children:[]};const v={stack:[S],tokenStack:[],config:n,enter:a,exit:c,buffer:o,resume:s,data:t},R=[];let U=-1;for(;++U<g.length;)if(g[U][1].type==="listOrdered"||g[U][1].type==="listUnordered")if(g[U][0]==="enter")R.push(U);else{const de=R.pop();U=i(g,de,U)}for(U=-1;++U<g.length;){const de=n[g[U][0]];fr.call(de,g[U][1].type)&&de[g[U][1].type].call(Object.assign({sliceSerialize:g[U][2].sliceSerialize},v),g[U][1])}if(v.tokenStack.length>0){const de=v.tokenStack[v.tokenStack.length-1];(de[1]||kt).call(v,void 0,de[0])}for(S.position={start:we(g.length>0?g[0][1].start:{line:1,column:1,offset:0}),end:we(g.length>0?g[g.length-2][1].end:{line:1,column:1,offset:0})},U=-1;++U<n.transforms.length;)S=n.transforms[U](S)||S;return S}function i(g,S,v){let R=S-1,U=-1,de=!1,Ee,ke,Oe,De;for(;++R<=v;){const ue=g[R];switch(ue[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ue[0]==="enter"?U++:U--,De=void 0;break}case"lineEndingBlank":{ue[0]==="enter"&&(Ee&&!De&&!U&&!Oe&&(Oe=R),De=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:De=void 0}if(!U&&ue[0]==="enter"&&ue[1].type==="listItemPrefix"||U===-1&&ue[0]==="exit"&&(ue[1].type==="listUnordered"||ue[1].type==="listOrdered")){if(Ee){let Te=R;for(ke=void 0;Te--;){const be=g[Te];if(be[1].type==="lineEnding"||be[1].type==="lineEndingBlank"){if(be[0]==="exit")continue;ke&&(g[ke][1].type="lineEndingBlank",de=!0),be[1].type="lineEnding",ke=Te}else if(!(be[1].type==="linePrefix"||be[1].type==="blockQuotePrefix"||be[1].type==="blockQuotePrefixWhitespace"||be[1].type==="blockQuoteMarker"||be[1].type==="listItemIndent"))break}Oe&&(!ke||Oe<ke)&&(Ee._spread=!0),Ee.end=Object.assign({},ke?g[ke][1].start:ue[1].end),g.splice(ke||R,0,["exit",Ee,ue[2]]),R++,v++}if(ue[1].type==="listItemPrefix"){const Te={type:"listItem",_spread:!1,start:Object.assign({},ue[1].start),end:void 0};Ee=Te,g.splice(R,0,["enter",Te,ue[2]]),R++,v++,Oe=void 0,De=!0}}}return g[S][1]._spread=de,v}function l(g,S){return v;function v(R){a.call(this,g(R),R),S&&S.call(this,R)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(g,S,v){this.stack[this.stack.length-1].children.push(g),this.stack.push(g),this.tokenStack.push([S,v||void 0]),g.position={start:we(S.start),end:void 0}}function u(g){return S;function S(v){g&&g.call(this,v),c.call(this,v)}}function c(g,S){const v=this.stack.pop(),R=this.tokenStack.pop();if(R)R[0].type!==g.type&&(S?S.call(this,g,R[0]):(R[1]||kt).call(this,g,R[0]));else throw new Error("Cannot close `"+g.type+"` ("+je({start:g.start,end:g.end})+"): itâs not open");v.position.end=we(g.end)}function s(){return el(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(g){if(this.data.expectingFirstListItemValue){const S=this.stack[this.stack.length-2];S.start=Number.parseInt(this.sliceSerialize(g),10),this.data.expectingFirstListItemValue=void 0}}function p(){const g=this.resume(),S=this.stack[this.stack.length-1];S.lang=g}function x(){const g=this.resume(),S=this.stack[this.stack.length-1];S.meta=g}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g.replace(/(\r?\n|\r)$/g,"")}function O(g){const S=this.resume(),v=this.stack[this.stack.length-1];v.label=S,v.identifier=ve(this.sliceSerialize(g)).toLowerCase()}function E(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function B(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function P(g){const S=this.stack[this.stack.length-1];if(!S.depth){const v=this.sliceSerialize(g).length;S.depth=v}}function y(){this.data.setextHeadingSlurpLineEnding=!0}function _(g){const S=this.stack[this.stack.length-1];S.depth=this.sliceSerialize(g).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function D(g){const v=this.stack[this.stack.length-1].children;let R=v[v.length-1];(!R||R.type!=="text")&&(R=zr(),R.position={start:we(g.start),end:void 0},v.push(R)),this.stack.push(R)}function F(g){const S=this.stack.pop();S.value+=this.sliceSerialize(g),S.position.end=we(g.end)}function I(g){const S=this.stack[this.stack.length-1];if(this.data.atHardBreak){const v=S.children[S.children.length-1];v.position.end=we(g.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(S.type)&&(D.call(this,g),F.call(this,g))}function A(){this.data.atHardBreak=!0}function H(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function X(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function z(){const g=this.resume(),S=this.stack[this.stack.length-1];S.value=g}function Y(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function J(){const g=this.stack[this.stack.length-1];if(this.data.inReference){const S=this.data.referenceType||"shortcut";g.type+="Reference",g.referenceType=S,delete g.url,delete g.title}else delete g.identifier,delete g.label;this.data.referenceType=void 0}function oe(g){const S=this.sliceSerialize(g),v=this.stack[this.stack.length-2];v.label=ea(S),v.identifier=ve(S).toLowerCase()}function Z(){const g=this.stack[this.stack.length-1],S=this.resume(),v=this.stack[this.stack.length-1];if(this.data.inReference=!0,v.type==="link"){const R=g.children;v.children=R}else v.alt=S}function d(){const g=this.resume(),S=this.stack[this.stack.length-1];S.url=g}function M(){const g=this.resume(),S=this.stack[this.stack.length-1];S.title=g}function Q(){this.data.inReference=void 0}function h(){this.data.referenceType="collapsed"}function G(g){const S=this.resume(),v=this.stack[this.stack.length-1];v.label=S,v.identifier=ve(this.sliceSerialize(g)).toLowerCase(),this.data.referenceType="full"}function ae(g){this.data.characterReferenceType=g.type}function W(g){const S=this.sliceSerialize(g),v=this.data.characterReferenceType;let R;v?(R=tr(S,v==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):R=Fn(S);const U=this.stack[this.stack.length-1];U.value+=R}function fe(g){const S=this.stack.pop();S.position.end=we(g.end)}function ne(g){F.call(this,g);const S=this.stack[this.stack.length-1];S.url=this.sliceSerialize(g)}function te(g){F.call(this,g);const S=this.stack[this.stack.length-1];S.url="mailto:"+this.sliceSerialize(g)}function me(){return{type:"blockquote",children:[]}}function Ce(){return{type:"code",lang:null,meta:null,value:""}}function ln(){return{type:"inlineCode",value:""}}function Ir(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ar(){return{type:"emphasis",children:[]}}function $n(){return{type:"heading",depth:0,children:[]}}function Wn(){return{type:"break"}}function Xn(){return{type:"html",value:""}}function Tr(){return{type:"image",title:null,url:"",alt:null}}function Yn(){return{type:"link",title:null,url:"",children:[]}}function Gn(g){return{type:"list",ordered:g.type==="listOrdered",start:null,spread:g._spread,children:[]}}function Pr(g){return{type:"listItem",spread:g._spread,checked:null,children:[]}}function Nr(){return{type:"paragraph",children:[]}}function vr(){return{type:"strong",children:[]}}function zr(){return{type:"text",value:""}}function Lr(){return{type:"thematicBreak"}}}function we(e){return{line:e.line,column:e.column,offset:e.offset}}function hr(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?hr(e,r):ia(e,r)}}function ia(e,n){let t;for(t in n)if(fr.call(n,t))switch(t){case"canContainEols":{const r=n[t];r&&e[t].push(...r);break}case"transforms":{const r=n[t];r&&e[t].push(...r);break}case"enter":case"exit":{const r=n[t];r&&Object.assign(e[t],r);break}}}function kt(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+je({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+je({start:n.start,end:n.end}
vendor: 2,489 bytes, lines 5-7
5)+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+je({start:n.start,end:n.end})+") is still open")}function la(e){const n=this;n.parser=t;function t(r){return ta(r,{...n.data("settings"),...e,extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]})}}function oa(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function aa(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` 6`}]}function ua(e,n){const t=n.value?n.value+` 7`:"",r={},i=n.lang?n.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:t}]};return n.meta&&(l.data={meta:n.meta}),e.patch(n,l),l=e.applyData(n,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(n,l),l}function sa(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function ca(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function pa(e,n){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(n.identifier).toUpperCase(),i=Le(r.toLowerCase()),l=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=l+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+t+"fn-"+i,id:t+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(n,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,c),e.applyData(n,c)}function fa(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function ha(e,n){if(e.options.allowDangerousHtml){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}}function dr(e,n){const t=n.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+r}];const i=e.all(n),l=i[0];l&&l.type==="text"?l.value="["+l.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}
vendor: 4,802 bytes, lines 7-9
7function da(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return dr(e,n);const i={src:Le(r.url||""),alt:n.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(n,l),e.applyData(n,l)}function ma(e,n){const t={src:Le(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)}function ga(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)}function ya(e,n){const t=String(n.identifier).toUpperCase(),r=e.definitionById.get(t);if(!r)return dr(e,n);const i={href:Le(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const l={type:"element",tagName:"a",properties:i,children:e.all(n)};return e.patch(n,l),e.applyData(n,l)}function xa(e,n){const t={href:Le(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function ka(e,n,t){const r=e.all(n),i=t?ba(t):mr(n),l={},o=[];if(typeof n.checked=="boolean"){const s=r[0];let f;s&&s.type==="element"&&s.tagName==="p"?f=s:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const s=r[a];(i||a!==0||s.type!=="element"||s.tagName!=="p")&&o.push({type:"text",value:` 8`}),s.type==="element"&&s.tagName==="p"&&!i?o.push(...s.children):o.push(s)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:` 9`});const c={type:"element",tagName:"li",properties:l,children:o};return e.patch(n,c),e.applyData(n,c)}function ba(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const t=e.children;let r=-1;for(;!n&&++r<t.length;)n=mr(t[r])}return n}function mr(e){const n=e.spread;return n??e.children.length>1}function wa(e,n){const t={},r=e.all(n);let i=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++i<r.length;){const o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const l={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(r,!0)};return e.patch(n,l),e.applyData(n,l)}function Sa(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ca(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)}function Ea(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ia(e,n){const t=e.all(n),r=t.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(n.children[0],o),i.push(o)}if(t.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},a=On(n.children[1]),u=Gt(n.children[n.children.length-1]);a&&u&&(o.position={start:a,end:u}),i.push(o)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(n,l),e.applyData(n,l)}function Aa(e,n,t){const r=t?t.children:void 0,l=(r?r.indexOf(n):1)===0?"th":"td",o=t&&t.type==="table"?t.align:void 0,a=o?o.length:n.children.length;let u=-1;const c=[];for(;++u<a;){const f=n.children[u],m={},p=o?o[u]:void 0;p&&(m.align=p);let x={type:"element",tagName:l,properties:m,children:[]};f&&(x.children=e.all(f),e.patch(f,x),x=e.applyData(f,x)),c.push(x)}const s={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(n,s),e.applyData(n,s)}function Ta(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}const bt=9,wt=32;function Pa(e){const n=String(e),t=/\r?\n|\r/g;let r=t.exec(n),i=0;const l=[];for(;r;)l.push(St(n.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=t.exec(n);return l.push(St(n.slice(i),i>0,!1)),l.join("")}function St(e,n,t){let r=0,i=e.length;if(n){let l=e.codePointAt(r);for(;l===bt||l===wt;)r++,l=e.codePointAt(r)}if(t){let l=e.codePointAt(i-1);for(;l===bt||l===wt;)i--,l=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Na(e,n){const t={type:"text",value:Pa(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function va(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}
vendor: 4,554 bytes, line 9
9const za={blockquote:oa,break:aa,code:ua,delete:sa,emphasis:ca,footnoteReference:pa,heading:fa,html:ha,imageReference:da,image:ma,inlineCode:ga,linkReference:ya,link:xa,listItem:ka,list:wa,paragraph:Sa,root:Ca,strong:Ea,table:Ia,tableCell:Ta,tableRow:Aa,text:Na,thematicBreak:va,toml:We,yaml:We,definition:We,footnoteDefinition:We};function We(){}const gr=-1,tn=0,Be=1,Ke=2,Bn=3,Hn=4,Un=5,Vn=6,yr=7,xr=8,Ct=typeof self=="object"?self:globalThis,La=(e,n)=>{const t=(i,l)=>(e.set(l,i),i),r=i=>{if(e.has(i))return e.get(i);const[l,o]=n[i];switch(l){case tn:case gr:return t(o,i);case Be:{const a=t([],i);for(const u of o)a.push(r(u));return a}case Ke:{const a=t({},i);for(const[u,c]of o)a[r(u)]=r(c);return a}case Bn:return t(new Date(o),i);case Hn:{const{source:a,flags:u}=o;return t(new RegExp(a,u),i)}case Un:{const a=t(new Map,i);for(const[u,c]of o)a.set(r(u),r(c));return a}case Vn:{const a=t(new Set,i);for(const u of o)a.add(r(u));return a}case yr:{const{name:a,message:u}=o;return t(new Ct[a](u),i)}case xr:return t(BigInt(o),i);case"BigInt":return t(Object(BigInt(o)),i);case"ArrayBuffer":return t(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:a}=new Uint8Array(o);return t(new DataView(a),o)}}return t(new Ct[l](o),i)};return r},Et=e=>La(new Map,e)(0),Pe="",{toString:Oa}={},{keys:Da}=Object,Fe=e=>{const n=typeof e;if(n!=="object"||!e)return[tn,n];const t=Oa.call(e).slice(8,-1);switch(t){case"Array":return[Be,Pe];case"Object":return[Ke,Pe];case"Date":return[Bn,Pe];case"RegExp":return[Hn,Pe];case"Map":return[Un,Pe];case"Set":return[Vn,Pe];case"DataView":return[Be,t]}return t.includes("Array")?[Be,t]:t.includes("Error")?[yr,t]:[Ke,t]},Xe=([e,n])=>e===tn&&(n==="function"||n==="symbol"),_a=(e,n,t,r)=>{const i=(o,a)=>{const u=r.push(o)-1;return t.set(a,u),u},l=o=>{if(t.has(o))return t.get(o);let[a,u]=Fe(o);switch(a){case tn:{let s=o;switch(u){case"bigint":a=xr,s=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);s=null;break;case"undefined":return i([gr],o)}return i([a,s],o)}case Be:{if(u){let m=o;return u==="DataView"?m=new Uint8Array(o.buffer):u==="ArrayBuffer"&&(m=new Uint8Array(o)),i([u,[...m]],o)}const s=[],f=i([a,s],o);for(const m of o)s.push(l(m));return f}case Ke:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(n&&"toJSON"in o)return l(o.toJSON());const s=[],f=i([a,s],o);for(const m of Da(o))(e||!Xe(Fe(o[m])))&&s.push([l(m),l(o[m])]);return f}case Bn:return i([a,o.toISOString()],o);case Hn:{const{source:s,flags:f}=o;return i([a,{source:s,flags:f}],o)}case Un:{const s=[],f=i([a,s],o);for(const[m,p]of o)(e||!(Xe(Fe(m))||Xe(Fe(p))))&&s.push([l(m),l(p)]);return f}case Vn:{const s=[],f=i([a,s],o);for(const m of o)(e||!Xe(Fe(m)))&&s.push(l(m));return f}}const{message:c}=o;return i([a,{name:u,message:c}],o)};return l},It=(e,{json:n,lossy:t}={})=>{const r=[];return _a(!(n||t),!!n,new Map,r)(e),r},Ze=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?Et(It(e,n)):structuredClone(e):(e,n)=>Et(It(e,n));function Ra(e,n){const t=[{type:"text",value:"â©"}];return n>1&&t.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),t}function Fa(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function ja(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",t=e.options.footnoteBackContent||Ra,r=e.options.footnoteBackLabel||Fa,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;const s=e.all(c),f=String(c.identifier).toUpperCase(),m=Le(f.toLowerCase());let p=0;const x=[],k=e.footnoteCounts.get(f);for(;k!==void 0&&++p<=k;){x.length>0&&x.push({type:"text",value:" "});let O=typeof t=="string"?t:t(u,p);typeof O=="string"&&(O={type:"text",value:O}),x.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+m+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,p),className:["data-footnote-backref"]},children:Array.isArray(O)?O:[O]})}const T=s[s.length-1];if(T&&T.type==="element"&&T.tagName==="p"){const O=T.children[T.children.length-1];O&&O.type==="text"?O.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...x)}else s.push(...x);const w={type:"element",tagName:"li",properties:{id:n+"fn-"+m},children:e.wrap(s,!0)};e.patch(c,w),a.push(w)}
vendor: 19,342 bytes, lines 9-15
9if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Ze(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 10`},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:` 11`}]}}const kr=function(e){if(e==null)return Ua;if(typeof e=="function")return rn(e);if(typeof e=="object")return Array.isArray(e)?Ma(e):Ba(e);if(typeof e=="string")return Ha(e);throw new Error("Expected function, string, or object as test")};function Ma(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=kr(e[t]);return rn(r);function r(...i){let l=-1;for(;++l<n.length;)if(n[l].apply(this,i))return!0;return!1}}function Ba(e){const n=e;return rn(t);function t(r){const i=r;let l;for(l in e)if(i[l]!==n[l])return!1;return!0}}function Ha(e){return rn(n);function n(t){return t&&t.type===e}}function rn(e){return n;function n(t,r,i){return!!(Va(t)&&e.call(this,t,typeof r=="number"?r:void 0,i||void 0))}}function Ua(){return!0}function Va(e){return e!==null&&typeof e=="object"&&"type"in e}const br=[],qa=!0,At=!1,$a="skip";function Wa(e,n,t,r){let i;typeof n=="function"&&typeof t!="function"?(r=t,t=n):i=n;const l=kr(i),o=r?-1:1;a(e,void 0,[])();function a(u,c,s){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(u.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=br,x,k,T;if((!n||l(u,c,s[s.length-1]||void 0))&&(p=Xa(t(u,s)),p[0]===At))return p;if("children"in u&&u.children){const w=u;if(w.children&&p[0]!==$a)for(k=(r?w.children.length:-1)+o,T=s.concat(w);k>-1&&k<w.children.length;){const O=w.children[k];if(x=a(O,k,T)(),x[0]===At)return x;k=typeof x[1]=="number"?x[1]:k+o}}return p}}}function Xa(e){return Array.isArray(e)?e:typeof e=="number"?[qa,e]:e==null?br:[e]}function wr(e,n,t,r){let i,l,o;typeof n=="function"&&typeof t!="function"?(l=void 0,o=n,i=t):(l=n,o=t,i=r),Wa(e,l,a,i);function a(u,c){const s=c[c.length-1],f=s?s.children.indexOf(u):void 0;return o(u,f,s)}}const Tn={}.hasOwnProperty,Ya={};function Ga(e,n){const t=n||Ya,r=new Map,i=new Map,l=new Map,o={...za,...t.handlers},a={all:c,applyData:Ja,definitionById:r,footnoteById:i,footnoteCounts:l,footnoteOrder:[],handlers:o,one:u,options:t,patch:Qa,wrap:Za};return wr(e,function(s){if(s.type==="definition"||s.type==="footnoteDefinition"){const f=s.type==="definition"?r:i,m=String(s.identifier).toUpperCase();f.has(m)||f.set(m,s)}}),a;function u(s,f){const m=s.type,p=a.handlers[m];if(Tn.call(a.handlers,m)&&p)return p(a,s,f);if(a.options.passThrough&&a.options.passThrough.includes(m)){if("children"in s){const{children:k,...T}=s,w=Ze(T);return w.children=a.all(s),w}return Ze(s)}return(a.options.unknownHandler||Ka)(a,s,f)}function c(s){const f=[];if("children"in s){const m=s.children;let p=-1;for(;++p<m.length;){const x=a.one(m[p],s);if(x){if(p&&m[p-1].type==="break"&&(!Array.isArray(x)&&x.type==="text"&&(x.value=Tt(x.value)),!Array.isArray(x)&&x.type==="element")){const k=x.children[0];k&&k.type==="text"&&(k.value=Tt(k.value))}Array.isArray(x)?f.push(...x):f.push(x)}}}return f}}function Qa(e,n){e.position&&(n.position=Li(e))}function Ja(e,n){let t=n;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,l=e.data.hProperties;if(typeof r=="string")if(t.type==="element")t.tagName=r;else{const o="children"in t?t.children:[t];t={type:"element",tagName:r,properties:{},children:o}}t.type==="element"&&l&&Object.assign(t.properties,Ze(l)),"children"in t&&t.children&&i!==null&&i!==void 0&&(t.children=i)}return t}function Ka(e,n){const t=n.data||{},r="value"in n&&!(Tn.call(t,"hProperties")||Tn.call(t,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function Za(e,n){const t=[];let r=-1;for(n&&t.push({type:"text",value:` 12`});++r<e.length;)r&&t.push({type:"text",value:` 13`}),t.push(e[r]);return n&&e.length>0&&t.push({type:"text",value:` 14`}),t}function Tt(e){let n=0,t=e.charCodeAt(n);for(;t===9||t===32;)n++,t=e.charCodeAt(n);return e.slice(n)}function Pt(e,n){const t=Ga(e,n),r=t.one(e,void 0),i=ja(t),l=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&l.children.push({type:"text",value:` 15`},i),l}function eu(e,n){return e&&"run"in e?async function(t,r){const i=Pt(t,{file:r,...n});await e.run(i,r)}:function(t,r){return Pt(t,{file:r,...e||n})}}function Nt(e){if(e)throw e}var Qe=Object.prototype.hasOwnProperty,Sr=Object.prototype.toString,vt=Object.defineProperty,zt=Object.getOwnPropertyDescriptor,Lt=function(n){return typeof Array.isArray=="function"?Array.isArray(n):Sr.call(n)==="[object Array]"},Ot=function(n){if(!n||Sr.call(n)!=="[object Object]")return!1;var t=Qe.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&Qe.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var i;for(i in n);return typeof i>"u"||Qe.call(n,i)},Dt=function(n,t){vt&&t.name==="__proto__"?vt(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},_t=function(n,t){if(t==="__proto__")if(Qe.call(n,t)){if(zt)return zt(n,t).value}else return;return n[t]},nu=function e(){var n,t,r,i,l,o,a=arguments[0],u=1,c=arguments.length,s=!1;for(typeof a=="boolean"&&(s=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<c;++u)if(n=arguments[u],n!=null)for(t in n)r=_t(a,t),i=_t(n,t),a!==i&&(s&&i&&(Ot(i)||(l=Lt(i)))?(l?(l=!1,o=r&&Lt(r)?r:[]):o=r&&Ot(r)?r:{},Dt(a,{name:t,newValue:e(s,o,i)})):typeof i<"u"&&Dt(a,{name:t,newValue:i}));return a};const fn=Ht(nu);function Pn(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function tu(){const e=[],n={run:t,use:r};return n;function t(...i){let l=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(u,...c){const s=e[++l];let f=-1;if(u){o(u);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,s?ru(s,a)(...c):o(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),n}}function ru(e,n){let t;return r;function r(...o){const a=e.length>o.length;let u;a&&o.push(i);try{u=e.apply(this,o)}catch(c){const s=c;if(a&&t)throw s;return i(s)}a||(u&&u.then&&typeof u.then=="function"?u.then(l,i):u instanceof Error?i(u):l(u))}function i(o,...a){t||(t=!0,n(o,...a))}function l(o){i(null,o)}}const ge={basename:iu,dirname:lu,extname:ou,join:au,sep:"/"};function iu(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ve(e);let t=0,r=-1,i=e.length,l;if(n===void 0||n.length===0||n.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else r<0&&(l=!0,r=i+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let o=-1,a=n.length-1;for(;i--;)if(e.codePointAt(i)===47){if(l){t=i+1;break}}else o<0&&(l=!0,o=i+1),a>-1&&(e.codePointAt(i)===n.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return t===r?r=o:r<0&&(r=e.length),e.slice(t,r)}function lu(e){if(Ve(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.codePointAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function ou(e){Ve(e);let n=e.length,t=-1,r=0,i=-1,l=0,o;for(;n--;){const a=e.codePointAt(n);if(a===47){if(o){r=n+1;break}continue}t<0&&(o=!0,t=n+1),a===46?i<0?i=n:l!==1&&(l=1):i>-1&&(l=-1)}return i<0||t<0||l===0||l===1&&i===t-1&&i===r+1?"":e.slice(i,t)}function au(...e){let n=-1,t;for(;++n<e.length;)Ve(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":uu(t)}function uu(e){Ve(e);const n=e.codePointAt(0)===47;let t=su(e,!n);return t.length===0&&!n&&(t="."),t.length>0&&e.codePointAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function su(e,n){let t="",r=0,i=-1,l=0,o=-1,a,u;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||l===1))if(i!==o-1&&l===2){if(t.length<2||r!==2||t.codePointAt(t.length-1)!==46||t.codePointAt(t.length-2)!==46){if(t.length>2){if(u=t.lastIndexOf("/"),u!==t.length-1){u<0?(t="",r=0):(t=t.slice(0,u),r=t.length-1-t.lastIndexOf("/")),i=o,l=0;continue}}else if(t.length>0){t="",r=0,i=o,l=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(i+1,o):t=e.slice(i+1,o),r=o-i-1;i=o,l=0}else a===46&&l>-1?l++:l=-1}return t}function Ve(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const cu={cwd:pu};function pu(){return"/"}function Nn(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function fu(e){if(typeof e=="string")e=new URL(e);else if(!Nn(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return hu(e)}function hu(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t<n.length;)if(n.codePointAt(t)===37&&n.codePointAt(t+1)===50){const r=n.codePointAt(t+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(n)}const hn=["history","path","basename","stem","extname","dirname"];class Cr{constructor(n){let t;n?Nn(n)?t={path:n}:typeof n=="string"||du(n)?t={value:n}:t=n:t={},this.cwd="cwd"in t?"":cu.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<hn.length;){const l=hn[r];l in t&&t[l]!==void 0&&t[l]!==null&&(this[l]=l==="history"?[...t[l]]:t[l])}let i;for(i in t)hn.includes(i)||(this[i]=t[i])}get basename(){return typeof this.path=="string"?ge.basename(this.path):void 0}set basename(n){mn(n,"basename"),dn(n,"basename"),this.path=ge.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?ge.dirname(this.path):void 0}set dirname(n){Rt(this.basename,"dirname"),this.path=ge.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?ge.extname(this.path):void 0}set extname(n){if(dn(n,"extname"),Rt(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ge.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){Nn(n)&&(n=fu(n)),mn(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?ge.basename(this.path,this.extname):void 0}set stem(n){mn(n,"stem"),dn(n,"stem"),this.path=ge.join(this.dirname||"",n+(this.extname||""))}fail(n,t,r){const i=this.message(n,t,r);throw i.fatal=!0,i}info(n,t,r){const i=this.message(n,t,r);return i.fatal=void 0,i}message(n,t,r){const i=new ee(n,t,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}}function dn(e,n){if(e&&e.includes(ge.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+ge.sep+"`")}function mn(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function Rt(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function du(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const mu=function(e){const r=this.constructor.prototype,i=r[e],l=function(){return i.apply(l,arguments)};return Object.setPrototypeOf(l,r),l},gu={}.hasOwnProperty;class qn extends mu{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=tu()}copy(){const n=new qn;let t=-1;for(;++t<this.attachers.length;){const r=this.attachers[t];n.use(...r)}return n.data(fn(!0,{},this.namespace)),n}data(n,t){return typeof n=="string"?arguments.length===2?(xn("data",this.frozen),this.namespace[n]=t,this):gu.call(this.namespace,n)&&this.namespace[n]||void 0:n?(xn("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=t.call(n,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const t=Ye(n),r=this.parser||this.Parser;return gn("parse",r),r(String(t),t)}process(n,t){const r=this;return this.freeze(),gn("process",this.parser||this.Parser),yn("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(l,o){const a=Ye(n),u=r.parse(a);r.run(u,a,function(s,f,m){if(s||!f||!m)return c(s);const p=f,x=r.stringify(p,m);ku(x)?m.value=x:m.result=x,c(s,m)});function c(s,f){s||!f?o(s):l?l(f):t(void 0,f)}}}processSync(n){let t=!1,r;return this.freeze(),gn("processSync",this.parser||this.Parser),yn("processSync",this.compiler||this.Compiler),this.process(n,i),jt("processSync","process",t),r;function i(l,o){t=!0,Nt(l),r=o}}run(n,t,r){Ft(n),this.freeze();const i=this.transformers;return!r&&typeof t=="function"&&(r=t,t=void 0),r?l(void 0,r):new Promise(l);function l(o,a){const u=Ye(t);i.run(n,u,c);function c(s,f,m){const p=f||n;s?a(s):o?o(p):r(void 0,p,m)}}}runSync(n,t){let r=!1,i;return this.run(n,t,l),jt("runSync","run",r),i;function l(o,a){Nt(o),i=a,r=!0}}stringify(n,t){this.freeze();const r=Ye(t),i=this.compiler||this.Compiler;return yn("stringify",i),Ft(n),i(n,r)}use(n,...t){const r=this.attachers,i=this.namespace;if(xn("use",this.frozen),n!=null)if(typeof n=="function")u(n,t);else if(typeof n=="object")Array.isArray(n)?a(n):o(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function l(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[s,...f]=c;u(s,f)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=fn(!0,i.settings,c.settings))}function a(c){let s=-1;if(c!=null)if(Array.isArray(c))for(;++s<c.length;){const f=c[s];l(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,s){let f=-1,m=-1;for(;++f<r.length;)if(r[f][0]===c){m=f;break}if(m===-1)r.push([c,...s]);else if(s.length>0){let[p,...x]=s;const k=r[m][1];Pn(k)&&Pn(p)&&(p=fn(!0,k,p)),r[m]=[c,p,...x]}}}}const yu=new qn().freeze();function gn(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function yn(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function xn(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ft(e){if(!Pn(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function jt(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function Ye(e){return xu(e)?e:new Cr(e)}function xu(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function ku(e){return typeof e=="string"||bu(e)}function bu(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const wu="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Mt=[],Bt={allowDangerousHtml:!0},Su=/^(https?|ircs?|mailto|xmpp)$/i,Cu=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Eu(e){const n=Iu(e),t=Au(e);return Tu(n.runSync(n.parse(t),t),e)}function Iu(e){const n=e.rehypePlugins||Mt,t=e.remarkPlugins||Mt,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Bt}:Bt;return yu().use(la).use(t).use(eu,r).use(n)}function Au(e){const n=e.children||"",t=new Cr;return typeof n=="string"&&(t.value=n),t}function Tu(e,n){const t=n.allowedElements,r=n.allowElement,i=n.components,l=n.disallowedElements,o=n.skipHtml,a=n.unwrapDisallowed,u=n.urlTransform||Pu;for(const s of Cu)Object.hasOwn(n,s.from)&&(""+s.from+(s.to?"use `"+s.to+"` instead":"remove it")+wu+s.id,void 0);return wr(e,c),Fi(e,{Fragment:C.Fragment,components:i,ignoreInvalidStyle:!0,jsx:C.jsx,jsxs:C.jsxs,passKeys:!0,passNode:!0});function c(s,f,m){if(s.type==="raw"&&m&&typeof f=="number")return o?m.children.splice(f,1):m.children[f]={type:"text",value:s.value},f;if(s.type==="element"){let p;for(p in sn)if(Object.hasOwn(sn,p)&&Object.hasOwn(s.properties,p)){const x=s.properties[p],k=sn[p];(k===null||k.includes(s.tagName))&&(s.properties[p]=u(String(x||""),p,s))}}if(s.type==="element"){let p=t?!t.includes(s.tagName):l?l.includes(s.tagName):!1;if(!p&&r&&typeof f=="number"&&(p=!r(s,f,m)),p&&m&&typeof f=="number")return a&&s.children?m.children.splice(f,1,...s.children):m.children.splice(f,1),f}}}function Pu(e){const n=e.indexOf(":"),t=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return n===-1||i!==-1&&n>i||t!==-1&&n>t||r!==-1&&n>r||Su.test(e.slice(0,n))?e:""}function Nu({lang:e}){const n=e==="en"?["Thinkingâ¦","Looking it upâ¦","Writing the answerâ¦"]:["A pensarâ¦","A consultar dadosâ¦","A escrever a respostaâ¦"],[t,r]=ce.useState(0);return ce.useEffect(()=>{const i=setInterval(()=>r(l=>(l+1)%n.length),1800);return()=>clearInterval(i)},[n.length]),C.jsxs("div",{className:"flex items-center gap-2","aria-live":"polite",children:[C.jsxs("div",{className:"flex gap-1",children:[C.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-muted-foreground
15/60 animate-bounce [animation-delay:-0.3s]"}),C.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-muted-foreground/60 animate-bounce [animation-delay:-0.15s]"}),C.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-muted-foreground/60 animate-bounce"})]}),C.jsx("span",{className:"text-xs text-muted-foreground italic",children:n[t]})]})}const Er="/api",vu=`${Er}/chat/soba`;function Vu(){var B;const{t:e,i18n:n}=Dr(),t=Or(),[r,i]=ce.useState(!1),[l,o]=ce.useState(!1),[a,u]=ce.useState([]),[c,s]=ce.useState(""),[f,m]=ce.useState(!1),p=ce.useRef(crypto.randomUUID()),x=ce.useRef(null),k=ce.useRef(null);ce.useEffect(()=>{x.current&&(x.current.scrollTop=x.current.scrollHeight)},[a]),ce.useEffect(()=>{r&&k.current&&k.current.focus()},[r]);const T=ce.useCallback(async()=>{var D,F,I,A,H,X;const P=c.trim();if(!P||f)return;const y={role:"user",content:P};s(""),u(z=>[...z,y]),m(!0);let _="";const V=[...a,y];try{const z=async()=>{const M=await fetch(vu,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:V.map(Q=>({role:Q.role,content:Q.content})),language:n.language,context_path:t.pathname,conversation_id:p.current})});if(!M.ok||!M.body){const Q=await M.json().catch(()=>({})),h=new Error(Q.error||"Failed to start stream");throw h.serverMessage=Q.error,h}return M};let Y;try{Y=await z()}
15catch(M){if(M.serverMessage)throw M;await new Promise(Q=>setTimeout(Q,1200)),Y=await z()}const J=Y.body.getReader(),oe=new TextDecoder;let Z="",d=!1;for(;!d;){const{done:M,value:Q}=await J.read();if(M)break;Z+=oe.decode(Q,{stream:!0});let h;for(;(h=Z.indexOf(` 16`))!==-1;){let G=Z.slice(0,h);if(Z=Z.slice(h+1),G.endsWith("\r")&&(G=G.slice(0,-1)),G.startsWith(":")||G.trim()===""||!G.startsWith("data: "))continue;const ae=G.slice(6).trim();if(ae==="[DONE]"){d=!0;break}try{const fe=(I=(F=(D=JSON.parse(ae).choices)==null?void 0:D[0])==null?void 0:F.delta)==null?void 0:I.content;if(fe){_+=fe;const ne=_;u(te=>{const me=te[te.length-1];return(me==null?void 0:me.role)==="assistant"?te.map((Ce,ln)=>ln===te.length-1?{...Ce,content:ne}:Ce):[...te,{role:"assistant",content:ne}]})}}catch{Z=G+` 17`+Z;break}}}if(Z.trim())for(let M of Z.split(` 18`)){if(!M||(M.endsWith("\r")&&(M=M.slice(0,-1)),M.startsWith(":")||M.trim()==="")||!M.startsWith("data: "))continue;const Q=M.slice(6).trim();if(Q!=="[DONE]")try{const G=(X=(H=(A=JSON.parse(Q).choices)==null?void 0:A[0])==null?void 0:H.delta)==null?void 0:X.content;if(G){_+=G;const ae=_;u(W=>{const fe=W[W.length-1];return(fe==null?void 0:fe.role)==="assistant"?W.map((ne,te)=>te===W.length-1?{...ne,content:ae}:ne):[...W,{role:"assistant",content:ae}]})}}catch{}}}catch(z){console.error("SOBA chat error:",z);const Y=z.serverMessage;u(J=>[...J,{role:"assistant",content:Y||(n.language==="en"?"Sorry, I'm having trouble connecting. Please try again shortly.":"Desculpe, estou com dificuldades de ligação. Por favor tente novamente em breve.")}])}finally{m(!1)}},[c,f,a,n.language]),w=()=>{u([]),s(""),p.current=crypto.randomUUID()},O=async(P,y)=>{const _=a[P],V=a.slice(0,P).reverse().find(D=>D.role==="user");u(D=>D.map((F,I)=>I===P?{...F,feedback:y}:F));try{await fetch(`${Er}/chat/feedback`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({conversation_id:p.current,rating:y,context_path:t.pathname,user_message:(V==null?void 0:V.content)||"",assistant_message:_.content})})}catch(D){console.error("SOBA feedback error:",D)}},E=n.language==="en"?"Hello! I'm SOBA, ANPG's virtual assistant. How can I help you today?":"Olá! Sou o SOBA, o assistente virtual da ANPG. Como posso ajudá-lo hoje?";return t.pathname.startsWith("/admin")?null:C.jsxs(C.Fragment,{children:[C.jsx(on,{children:!r&&C.jsxs(an.div,{initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},exit:{scale:0,opacity:0},className:"fixed bottom-6 right-6 z-50 flex items-end gap-3",children:[C.jsx(on,{children:!l&&C.jsxs(an.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:20,transition:{duration:.2}},transition:{delay:1,duration:.4},className:"relative bg-card border border-border rounded-2xl rounded-br-sm px-4 py-3 shadow-lg max-w-[220px] cursor-pointer hover:shadow-xl transition-shadow",onClick:()=>i(!0),children:[C.jsx("button",{onClick:P=>{P.stopPropagation(),o(!0)},className:"absolute -top-2 -left-2 w-5 h-5 rounded-full bg-muted border border-border flex items-center justify-center text-muted-foreground hover:text-foreground hover:bg-muted/80 transition-colors","aria-label":"Dismiss",children:C.jsx(Qn,{className:"h-3 w-3"})}),C.jsx("p",{className:"text-sm font-medium text-foreground leading-snug",children:n.language==="en"?"ð Hi! I'm SOBA, how can I help?":"ð Olá! Sou o SOBA, como posso ajudar?"}),C.jsx("p",{className:"text-[10px] text-muted-foreground mt-1",children:n.language==="en"?"ANPG Virtual Assistant":"Assistente Virtual da ANPG"})]})}),C.jsx(qe,{onClick:()=>i(!0),size:"xl",variant:"hero",className:"rounded-full w-16 h-16 p-0 shadow-[0_8px_30px_-4px_hsl(var(--primary)/0.5)] flex-shrink-0","aria-label":"Open SOBA chat",children:C.jsx(_r,{className:"h-7 w-7"})})]})}),C.jsx(on,{children:r&&C.jsxs(an.div,{initial:{opacity:0,y:40,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:40,scale:.95},transition:{type:"spring",damping:25,stiffness:300},className:"fixed bottom-6 right-6 z-50 w-[380px] max-w-[calc(100vw-2rem)] h-[560px] max-h-[calc(100vh-4rem)] flex flex-col rounded-2xl border border-border bg-card shadow-2xl overflow-hidden",children:[C.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 bg-primary text-primary-foreground",children:[C.jsx("div",{className:"flex items-center justify-center w-9 h-9 rounded-full bg-primary-foreground
18/20",children:C.jsx($e,{className:"h-5 w-5"})}),C.jsxs("div",{className:"flex-1 min-w-0",children:[C.jsx("h3",{className:"font-semibold text-sm leading-tight text-white",children:"SOBA"}),C.jsx("p",{className:"text-xs text-white/90 truncate",children:n.language==="en"?"ANPG Virtual Assistant":"Assistente Virtual da ANPG"})]}),C.jsx(qe,{variant:"ghost",size:"icon",onClick:w,className:"text-primary-foreground hover:bg-primary-foreground/20 h-8 w-8",title:n.language==="en"?"New conversation":"Nova conversa",children:C.jsx(Rr,{className:"h-4 w-4"})}),C.jsx(qe,{variant:"ghost",size:"icon",onClick:()=>i(!1),className:"text-primary-foreground hover:bg-primary-foreground/20 h-8 w-8",children:C.jsx(Qn,{className:"h-4 w-4"})})]}),C.jsxs("div",{ref:x,className:"flex-1 overflow-y-auto p-4 space-y-3",children:[C.jsxs("div",{className:"flex gap-2",children:[C.jsx("div",{className:"flex-shrink-0 w-7 h-7 rounded-full bg-primary/10 flex items-center justify-center",children:C.jsx($e,{className:"h-4 w-4 text-primary"})}),C.jsx("div",{className:"bg-secondary rounded-2xl rounded-tl-sm px-3 py-2 text-sm max-w-[85%]",children:E})]}),a.map((P,y)=>C.jsxs("div",{className:_e("flex gap-2",P.role==="user"&&"flex-row-reverse"),children:[C.jsx("div",{className:_e("flex-shrink-0 w-7 h-7 rounded-full flex items-center justify-center",P.role==="user"?"bg-primary text-primary-foreground":"bg-primary/10"),children:P.role==="user"?C.jsx(Fr,{className:"h-4 w-4"}):C.jsx($e,{className:"h-4 w-4 text-primary"})}),C.jsx("div",{className:_e("rounded-2xl px-3 py-2 text-sm max-w-[85%]",P.role==="user"?"bg-primary text-primary-foreground rounded-tr-sm":"bg-secondary rounded-tl-sm"),children:P.role==="assistant"?C.jsx("div",{className:"prose prose-sm max-w-none dark:prose-invert [&>p]:m-0 [&>p+p]:mt-2 [&>ul]:my-1 [&>ol]:my-1",children:C.jsx(Eu,{children:P.content})}):P.content}),P.role==="assistant"&&P.content&&!f&&C.jsxs("div",{className:"flex items-center gap-1 self-end -mb-0.5",children:[C.jsx("button",{type:"button",onClick:()=>O(y,"up"),className:_e("p-1 rounded hover:bg-secondary text-muted-foreground",P.feedback==="up"&&"text-primary"),"aria-label":n.language==="en"?"Helpful answer":"Resposta útil",title:n.language==="en"?"Helpful":"Ãtil",children:C.jsx(jr,{className:"h-3.5 w-3.5"})}),C.jsx("button",{type:"button",onClick:()=>O(y,"down"),className:_e("p-1 rounded hover:bg-secondary text-muted-foreground",P.feedback==="down"&&"text-destructive"),"aria-label":n.language==="en"?"Unhelpful answer":"Resposta não útil",title:n.language==="en"?"Not helpful":"Não útil",children:C.jsx(Mr,{className:"h-3.5 w-3.5"})})]})]},y)),f&&((B=a[a.length-1])==null?void 0:B.role)!=="assistant"&&C.jsxs("div",{className:"flex gap-2",children:[C.jsx("div",{className:"flex-shrink-0 w-7 h-7 rounded-full bg-primary/10 flex items-center justify-center",children:C.jsx($e,{className:"h-4 w-4 text-primary"})}),C.jsx("div",{className:"bg-secondary rounded-2xl rounded-tl-sm px-3 py-2",children:C.jsx(Nu,{lang:n.language})})]})]}),C.jsxs("div",{className:"p-3 border-t border-border bg-card",children:[C.jsxs("form",{onSubmit:P=>{P.preventDefault(),T()},className:"flex gap-2",children:[C.jsx("input",{ref:k,value:c,onChange:P=>s(P.target.value),placeholder:n.language==="en"?"Type your question...":"Escreva a sua pergunta...",className:"flex-1 rounded-full border border-input bg-background px-4 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary/30 placeholder:text-muted-foreground",disabled:f}),C.jsx(qe,{type:"submit",size:"icon",disabled:!c.trim()||f,className:"rounded-full h-9 w-9 flex-shrink-0",children:C.jsx(Br,{className:"h-4 w-4"})})]}),C.jsxs("p",{className:"text-[10px] text-muted-foreground text-center mt-1.5",children:["SOBA · ",n.language==="en"?"Powered by ANPG":"Assistente ANPG"]})]})]})})]})}export{Vu as SobaWidget};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.