orbitchat 3.10.9 → 3.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/bin/orbitchat.js +4 -0
  2. package/dist/assets/ChartRenderer-OBjJRngd.js +97 -0
  3. package/dist/assets/{MermaidRenderer-yw6DgH3b.js → MermaidRenderer-CPPq3mmd.js} +47 -47
  4. package/dist/assets/MusicRenderer-ZqWcBGEP.js +18 -0
  5. package/dist/assets/SVGRenderer-C23bZ16J.js +6 -0
  6. package/dist/assets/architectureDiagram-3BPJPVTR-1DcnIrTf.js +36 -0
  7. package/dist/assets/{blockDiagram-GPEHLZMM-SCn-DUpY.js → blockDiagram-GPEHLZMM-C3O1Y3wQ.js} +2 -2
  8. package/dist/assets/{c4Diagram-AAUBKEIU-CD0XXb4K.js → c4Diagram-AAUBKEIU-7ulfaeio.js} +4 -4
  9. package/dist/assets/channel-DIz7au4Z.js +1 -0
  10. package/dist/assets/{chunk-2J33WTMH-D1ecF70l.js → chunk-2J33WTMH-CtTVan3g.js} +1 -1
  11. package/dist/assets/{chunk-4BX2VUAB-BdC2_BbM.js → chunk-4BX2VUAB-D9LhpL0M.js} +1 -1
  12. package/dist/assets/{chunk-55IACEB6-EK7W6T2M.js → chunk-55IACEB6-o4c6_uWz.js} +1 -1
  13. package/dist/assets/{chunk-727SXJPM-CcXyDAeg.js → chunk-727SXJPM-qMeBxfHH.js} +1 -1
  14. package/dist/assets/{chunk-AQP2D5EJ-DW6XiznW.js → chunk-AQP2D5EJ-Bwo9IL4J.js} +1 -1
  15. package/dist/assets/{chunk-FMBD7UC4-CPehXR20.js → chunk-FMBD7UC4-BhdowZ3g.js} +1 -1
  16. package/dist/assets/{chunk-ND2GUHAM-CSSdlZau.js → chunk-ND2GUHAM-DHj38vtV.js} +1 -1
  17. package/dist/assets/{chunk-QZHKN3VN-DqF1rB9S.js → chunk-QZHKN3VN-BQlh1k-T.js} +1 -1
  18. package/dist/assets/classDiagram-4FO5ZUOK-B_41sQFe.js +1 -0
  19. package/dist/assets/classDiagram-v2-Q7XG4LA2-B_41sQFe.js +1 -0
  20. package/dist/assets/cose-bilkent-S5V4N54A-DIlweU0c.js +1 -0
  21. package/dist/assets/{cynefin-VYW2F7L2-CPNTSJVR.js → cynefin-VYW2F7L2-COfqkbsu.js} +1 -1
  22. package/dist/assets/dagre-BM42HDAG-Dg1vRQoJ.js +4 -0
  23. package/dist/assets/diagram-2AECGRRQ-5qMJzPlj.js +43 -0
  24. package/dist/assets/diagram-5GNKFQAL-BtLOXreJ.js +10 -0
  25. package/dist/assets/{diagram-KO2AKTUF-PtoEeRz1.js → diagram-KO2AKTUF-CItPbbPJ.js} +2 -2
  26. package/dist/assets/diagram-LMA3HP47-C-rMj79O.js +24 -0
  27. package/dist/assets/diagram-OG6HWLK6-CsH38nnV.js +24 -0
  28. package/dist/assets/{docx-preview-CMb3nQfR.js → docx-preview-DehBmhog.js} +1 -1
  29. package/dist/assets/{erDiagram-TEJ5UH35-BsN2y1Xk.js → erDiagram-TEJ5UH35-D4EO2CJ1.js} +13 -13
  30. package/dist/assets/{flowDiagram-I6XJVG4X-Cq2OCvg1.js → flowDiagram-I6XJVG4X-DgOIMYGk.js} +2 -2
  31. package/dist/assets/{ganttDiagram-6RSMTGT7-jqEV7dNL.js → ganttDiagram-6RSMTGT7-B1I1ERYN.js} +2 -2
  32. package/dist/assets/gitGraphDiagram-PVQCEYII-BbxU9vdc.js +106 -0
  33. package/dist/assets/index-BNiRF5ts.js +355 -0
  34. package/dist/assets/{index-C0slAIYD.js → index-Bm2RXT20.js} +1 -1
  35. package/dist/assets/index-Dn6drGB8.css +1 -0
  36. package/dist/assets/infoDiagram-5YYISTIA-BSCHNtfq.js +2 -0
  37. package/dist/assets/{ishikawaDiagram-YF4QCWOH-D9KfSIa7.js → ishikawaDiagram-YF4QCWOH-D3EauiiJ.js} +2 -2
  38. package/dist/assets/{journeyDiagram-JHISSGLW-tDXNol4d.js → journeyDiagram-JHISSGLW-BS1VWAga.js} +4 -4
  39. package/dist/assets/{kanban-definition-UN3LZRKU-DBwlSBF_.js → kanban-definition-UN3LZRKU-ClAYLC3L.js} +9 -9
  40. package/dist/assets/locales-4Dy5QB82.js +1 -0
  41. package/dist/assets/{mindmap-definition-RKZ34NQL-DnqCIXkX.js → mindmap-definition-RKZ34NQL-BkDMrGTA.js} +2 -2
  42. package/dist/assets/{papaparse.min-BWA-Odol.js → papaparse.min-D13ujVVP.js} +1 -1
  43. package/dist/assets/pieDiagram-4H26LBE5-BOj8AQSK.js +30 -0
  44. package/dist/assets/{quadrantDiagram-W4KKPZXB-CAZOzJOz.js → quadrantDiagram-W4KKPZXB-BM7sUdWh.js} +2 -2
  45. package/dist/assets/{requirementDiagram-4Y6WPE33-Ji0UfPIj.js → requirementDiagram-4Y6WPE33-D2pnnYZP.js} +2 -2
  46. package/dist/assets/{sankeyDiagram-5OEKKPKP-Bw7GXHmh.js → sankeyDiagram-5OEKKPKP-D3Z4Gd94.js} +2 -2
  47. package/dist/assets/{sequenceDiagram-3UESZ5HK-m5wt325o.js → sequenceDiagram-3UESZ5HK-DE73ZFHe.js} +14 -14
  48. package/dist/assets/stateDiagram-AJRCARHV-C7CGkF3t.js +1 -0
  49. package/dist/assets/stateDiagram-v2-BHNVJYJU-DHQUbGB3.js +1 -0
  50. package/dist/assets/{timeline-definition-PNZ67QCA-f8uHcy4Y.js → timeline-definition-PNZ67QCA-xIsXJSbZ.js} +2 -2
  51. package/dist/assets/{vendor-auth-CF3lY_Q5.js → vendor-auth-aD_bwYde.js} +2 -2
  52. package/dist/assets/vendor-markdown-Cy_-N5ZX.js +291 -0
  53. package/dist/assets/vendor-markdown-dRWncRqa.css +1 -0
  54. package/dist/assets/vendor-react-BbEy7z12.js +49 -0
  55. package/dist/assets/{vendor-syntax-DG6Vo7Ci.js → vendor-syntax-INF7-xC_.js} +9 -9
  56. package/dist/assets/{vennDiagram-CIIHVFJN-CuKQ09R1.js → vennDiagram-CIIHVFJN-a62PVgzJ.js} +2 -2
  57. package/dist/assets/{wardleyDiagram-YWT4CUSO-iQQlbl48.js → wardleyDiagram-YWT4CUSO-DDy1YaOr.js} +2 -2
  58. package/dist/assets/{xychartDiagram-2RQKCTM6-B4vp4-Xh.js → xychartDiagram-2RQKCTM6-6XfTk_6y.js} +2 -2
  59. package/dist/index.html +8 -6
  60. package/package.json +5 -3
  61. package/dist/assets/ChartRenderer-Cbyse7LH.js +0 -105
  62. package/dist/assets/MusicRenderer-BSZsjBll.js +0 -18
  63. package/dist/assets/SVGRenderer-DfMpobkd.js +0 -6
  64. package/dist/assets/architectureDiagram-3BPJPVTR-e2_vf6sQ.js +0 -36
  65. package/dist/assets/channel-zV0lWbMa.js +0 -1
  66. package/dist/assets/classDiagram-4FO5ZUOK-CcqSZVcR.js +0 -1
  67. package/dist/assets/classDiagram-v2-Q7XG4LA2-CcqSZVcR.js +0 -1
  68. package/dist/assets/cose-bilkent-S5V4N54A-eZksLHnB.js +0 -1
  69. package/dist/assets/dagre-BM42HDAG-28cMnF2H.js +0 -4
  70. package/dist/assets/diagram-2AECGRRQ-BO7iijXf.js +0 -43
  71. package/dist/assets/diagram-5GNKFQAL-DomATWxv.js +0 -10
  72. package/dist/assets/diagram-LMA3HP47-CASxB1FB.js +0 -24
  73. package/dist/assets/diagram-OG6HWLK6-CyXBWSCx.js +0 -24
  74. package/dist/assets/gitGraphDiagram-PVQCEYII-CZV87DUI.js +0 -106
  75. package/dist/assets/index-ADlI5-NQ.css +0 -1
  76. package/dist/assets/index-DJM2KXCF.js +0 -366
  77. package/dist/assets/infoDiagram-5YYISTIA-BTT1LXE4.js +0 -2
  78. package/dist/assets/pieDiagram-4H26LBE5-C4OTftBM.js +0 -30
  79. package/dist/assets/stateDiagram-AJRCARHV-BkfQ-aKY.js +0 -1
  80. package/dist/assets/stateDiagram-v2-BHNVJYJU-CrYKygqF.js +0 -1
  81. package/dist/assets/vendor-markdown-BRX1CUPf.js +0 -307
  82. package/dist/assets/vendor-react-BAJBiXxk.js +0 -9
@@ -0,0 +1,291 @@
1
+ import{g as ml,j as On}from"./vendor-react-BbEy7z12.js";function Mi(t){const e=[],r=String(t||"");let n=r.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=r.length,a=!0);const l=r.slice(i,n).trim();(l||!a)&&e.push(l),i=n+1,n=r.indexOf(",",i)}return e}function Ds(t,e){const r={};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const Is=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Bs={};function Ei(t,e){return(Bs.jsx?_s:Is).test(t)}const Fs=/[ \t\n\f\r]/g;function qs(t){return typeof t=="object"?t.type==="text"?Di(t.value):!1:Di(t)}function Di(t){return t.replace(Fs,"")===""}class Dr{constructor(e,r,n){this.normal=r,this.property=e,n&&(this.space=n)}}Dr.prototype.normal={};Dr.prototype.property={};Dr.prototype.space=void 0;function pl(t,e){const r={},n={};for(const i of t)Object.assign(r,i.property),Object.assign(n,i.normal);return new Dr(r,n,e)}function Tr(t){return t.toLowerCase()}class je{constructor(e,r){this.attribute=r,this.property=e}}je.prototype.attribute="";je.prototype.booleanish=!1;je.prototype.boolean=!1;je.prototype.commaOrSpaceSeparated=!1;je.prototype.commaSeparated=!1;je.prototype.defined=!1;je.prototype.mustUseProperty=!1;je.prototype.number=!1;je.prototype.overloadedBoolean=!1;je.prototype.property="";je.prototype.spaceSeparated=!1;je.prototype.space=void 0;let Os=0;const te=Gt(),Se=Gt(),v0=Gt(),L=Gt(),pe=Gt(),jt=Gt(),We=Gt();function Gt(){return 2**++Os}const y0=Object.freeze(Object.defineProperty({__proto__:null,boolean:te,booleanish:Se,commaOrSpaceSeparated:We,commaSeparated:jt,number:L,overloadedBoolean:v0,spaceSeparated:pe},Symbol.toStringTag,{value:"Module"})),Ln=Object.keys(y0);class W0 extends je{constructor(e,r,n,i){let a=-1;if(super(e,r),Ii(this,"space",i),typeof n=="number")for(;++a<Ln.length;){const l=Ln[a];Ii(this,Ln[a],(n&y0[l])===y0[l])}}}W0.prototype.defined=!0;function Ii(t,e,r){r&&(t[e]=r)}function lr(t){const e={},r={};for(const[n,i]of Object.entries(t.properties)){const a=new W0(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),e[n]=a,r[Tr(n)]=n,r[Tr(a.attribute)]=n}return new Dr(e,r,t.space)}const fl=lr({properties:{ariaActiveDescendant:null,ariaAtomic:Se,ariaAutoComplete:null,ariaBusy:Se,ariaChecked:Se,ariaColCount:L,ariaColIndex:L,ariaColSpan:L,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:Se,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:Se,ariaFlowTo:pe,ariaGrabbed:Se,ariaHasPopup:null,ariaHidden:Se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:L,ariaLive:null,ariaModal:Se,ariaMultiLine:Se,ariaMultiSelectable:Se,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:L,ariaPressed:Se,ariaReadOnly:Se,ariaRelevant:null,ariaRequired:Se,ariaRoleDescription:pe,ariaRowCount:L,ariaRowIndex:L,ariaRowSpan:L,ariaSelected:Se,ariaSetSize:L,ariaSort:null,ariaValueMax:L,ariaValueMin:L,ariaValueNow:L,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function dl(t,e){return e in t?t[e]:e}function gl(t,e){return dl(t,e.toLowerCase())}const Ls=lr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:jt,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alpha:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:pe,autoFocus:te,autoPlay:te,blocking:pe,capture:null,charSet:null,checked:te,cite:null,className:pe,closedBy:null,colorSpace:null,cols:L,colSpan:L,command:null,commandFor:null,content:null,contentEditable:Se,controls:te,controlsList:pe,coords:L|jt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:v0,draggable:Se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:pe,height:L,hidden:v0,high:L,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:pe,itemRef:pe,itemScope:te,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:L,manifest:null,max:null,maxLength:L,media:null,method:null,min:null,minLength:L,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:te,optimum:L,pattern:null,ping:pe,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:pe,required:te,reversed:te,rows:L,rowSpan:L,sandbox:pe,scope:null,scoped:te,seamless:te,selected:te,shadowRootClonable:te,shadowRootCustomElementRegistry:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shadowRootSerializable:te,shape:null,size:L,sizes:null,slot:null,span:L,spellCheck:Se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:L,step:null,style:null,tabIndex:L,target:null,title:null,translate:null,type:null,typeMustMatch:te,useMap:null,value:Se,width:L,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:L,borderColor:null,bottomMargin:L,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:L,leftMargin:L,link:null,longDesc:null,lowSrc:null,marginHeight:L,marginWidth:L,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:L,rules:null,scheme:null,scrolling:Se,standby:null,summary:null,text:null,topMargin:L,valueType:null,version:null,vAlign:null,vLink:null,vSpace:L,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:te,disablePictureInPicture:te,disableRemotePlayback:te,exportParts:jt,part:pe,prefix:null,property:null,results:L,security:null,unselectable:null},space:"html",transform:gl}),Rs=lr({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",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:We,accentHeight:L,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:L,amplitude:L,arabicForm:null,ascent:L,attributeName:null,attributeType:null,azimuth:L,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:L,by:null,calcMode:null,capHeight:L,className:pe,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:L,diffuseConstant:L,direction:null,display:null,dur:null,divisor:L,dominantBaseline:null,download:te,dx:null,dy:null,edgeMode:null,editable:null,elevation:L,enableBackground:null,end:null,event:null,exponent:L,externalResourcesRequired:null,fill:null,fillOpacity:L,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:jt,g2:jt,glyphName:jt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:L,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:L,horizOriginX:L,horizOriginY:L,id:null,ideographic:L,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:L,k:L,k1:L,k2:L,k3:L,k4:L,kernelMatrix:We,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:L,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:L,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:L,overlineThickness:L,paintOrder:null,panose1:null,path:null,pathLength:L,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:L,pointsAtY:L,pointsAtZ:L,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:We,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:We,rev:We,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:We,requiredFeatures:We,requiredFonts:We,requiredFormats:We,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:L,specularExponent:L,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:L,strikethroughThickness:L,string:null,stroke:null,strokeDashArray:We,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:L,strokeOpacity:L,strokeWidth:null,style:null,surfaceScale:L,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:We,tabIndex:L,tableValues:null,target:null,targetX:L,targetY:L,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:We,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:L,underlineThickness:L,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:L,values:null,vAlphabetic:L,vMathematical:L,vectorEffect:null,vHanging:L,vIdeographic:L,version:null,vertAdvY:L,vertOriginX:L,vertOriginY:L,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:L,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:dl}),vl=lr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),yl=lr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:gl}),xl=lr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),Ps={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"},Ns=/[A-Z]/g,_i=/-[a-z]/g,$s=/^data[-\w.:]+$/i;function bl(t,e){const r=Tr(e);let n=e,i=je;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&$s.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(_i,js);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!_i.test(a)){let l=a.replace(Ns,Hs);l.charAt(0)!=="-"&&(l="-"+l),e="data"+l}}i=W0}return new i(n,e)}function Hs(t){return"-"+t.toLowerCase()}function js(t){return t.charAt(1).toUpperCase()}const wl=pl([fl,Ls,vl,yl,xl],"html"),dn=pl([fl,Rs,vl,yl,xl],"svg");function Bi(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function Us(t){return t.join(" ").trim()}var Kt={},Rn,Fi;function Gs(){if(Fi)return Rn;Fi=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,o=/^\s+|\s+$/g,s=`
2
+ `,u="/",h="*",m="",d="comment",f="declaration";function y(C,k){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];k=k||{};var z=1,D=1;function q(Z){var $=Z.match(e);$&&(z+=$.length);var le=Z.lastIndexOf(s);D=~le?Z.length-le:D+Z.length}function P(){var Z={line:z,column:D};return function($){return $.position=new M(Z),U(),$}}function M(Z){this.start=Z,this.end={line:z,column:D},this.source=k.source}M.prototype.content=C;function G(Z){var $=new Error(k.source+":"+z+":"+D+": "+Z);if($.reason=Z,$.filename=k.source,$.line=z,$.column=D,$.source=C,!k.silent)throw $}function Y(Z){var $=Z.exec(C);if($){var le=$[0];return q(le),C=C.slice(le.length),$}}function U(){Y(r)}function E(Z){var $;for(Z=Z||[];$=W();)$!==!1&&Z.push($);return Z}function W(){var Z=P();if(!(u!=C.charAt(0)||h!=C.charAt(1))){for(var $=2;m!=C.charAt($)&&(h!=C.charAt($)||u!=C.charAt($+1));)++$;if($+=2,m===C.charAt($-1))return G("End of comment missing");var le=C.slice(2,$-2);return D+=2,q(le),C=C.slice($),D+=2,Z({type:d,comment:le})}}function j(){var Z=P(),$=Y(n);if($){if(W(),!Y(i))return G("property missing ':'");var le=Y(a),ge=Z({type:f,property:w($[0].replace(t,m)),value:le?w(le[0].replace(t,m)):m});return Y(l),ge}}function se(){var Z=[];E(Z);for(var $;$=j();)$!==!1&&(Z.push($),E(Z));return Z}return U(),se()}function w(C){return C?C.replace(o,m):m}return Rn=y,Rn}var qi;function Vs(){if(qi)return Kt;qi=1;var t=Kt&&Kt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.default=r;const e=t(Gs());function r(n,i){let a=null;if(!n||typeof n!="string")return a;const l=(0,e.default)(n),o=typeof i=="function";return l.forEach(s=>{if(s.type!=="declaration")return;const{property:u,value:h}=s;o?i(u,h,s):h&&(a=a||{},a[u]=h)}),a}return Kt}var gr={},Oi;function Ws(){if(Oi)return gr;Oi=1,Object.defineProperty(gr,"__esModule",{value:!0}),gr.camelCase=void 0;var t=/^--[a-zA-Z0-9_-]+$/,e=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(u){return!u||r.test(u)||t.test(u)},l=function(u,h){return h.toUpperCase()},o=function(u,h){return"".concat(h,"-")},s=function(u,h){return h===void 0&&(h={}),a(u)?u:(u=u.toLowerCase(),h.reactCompat?u=u.replace(i,o):u=u.replace(n,o),u.replace(e,l))};return gr.camelCase=s,gr}var vr,Li;function Xs(){if(Li)return vr;Li=1;var t=vr&&vr.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},e=t(Vs()),r=Ws();function n(i,a){var l={};return!i||typeof i!="string"||(0,e.default)(i,function(o,s){o&&s&&(l[(0,r.camelCase)(o,a)]=s)}),l}return n.default=n,vr=n,vr}var Ys=Xs();const Zs=ml(Ys),kl=Sl("end"),X0=Sl("start");function Sl(t){return e;function e(r){const n=r&&r.position&&r.position[t]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Ks(t){const e=X0(t),r=kl(t);if(e&&r)return{start:e,end:r}}function wr(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?Ri(t.position):"start"in t||"end"in t?Ri(t):"line"in t||"column"in t?x0(t):""}function x0(t){return Pi(t&&t.line)+":"+Pi(t&&t.column)}function Ri(t){return x0(t&&t.start)+"-"+x0(t&&t.end)}function Pi(t){return t&&typeof t=="number"?t:1}class Fe extends Error{constructor(e,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},l=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof e=="string"?i=e:!a.cause&&e&&(l=!0,i=e.message,a.cause=e),!a.ruleId&&!a.source&&typeof n=="string"){const s=n.indexOf(":");s===-1?a.ruleId=n:(a.source=n.slice(0,s),a.ruleId=n.slice(s+1))}if(!a.place&&a.ancestors&&a.ancestors){const s=a.ancestors[a.ancestors.length-1];s&&(a.place=s.position)}const o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=wr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=l&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Fe.prototype.file="";Fe.prototype.name="";Fe.prototype.reason="";Fe.prototype.message="";Fe.prototype.stack="";Fe.prototype.column=void 0;Fe.prototype.line=void 0;Fe.prototype.ancestors=void 0;Fe.prototype.cause=void 0;Fe.prototype.fatal=void 0;Fe.prototype.place=void 0;Fe.prototype.ruleId=void 0;Fe.prototype.source=void 0;const Y0={}.hasOwnProperty,Qs=new Map,Js=/[A-Z]/g,eu=new Set(["table","tbody","thead","tfoot","tr"]),tu=new Set(["td","th"]),Al="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ru(t,e){if(!e||e.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=e.filePath||void 0;let n;if(e.development){if(typeof e.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=cu(r,e.jsxDEV)}else{if(typeof e.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof e.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=uu(r,e.jsx,e.jsxs)}const i={Fragment:e.Fragment,ancestors:[],components:e.components||{},create:n,elementAttributeNameCase:e.elementAttributeNameCase||"react",evaluater:e.createEvaluater?e.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:e.ignoreInvalidStyle||!1,passKeys:e.passKeys!==!1,passNode:e.passNode||!1,schema:e.space==="svg"?dn:wl,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1},a=Tl(i,t,void 0);return a&&typeof a!="string"?a:i.create(t,i.Fragment,{children:a||void 0},void 0)}function Tl(t,e,r){if(e.type==="element")return nu(t,e,r);if(e.type==="mdxFlowExpression"||e.type==="mdxTextExpression")return iu(t,e);if(e.type==="mdxJsxFlowElement"||e.type==="mdxJsxTextElement")return lu(t,e,r);if(e.type==="mdxjsEsm")return au(t,e);if(e.type==="root")return ou(t,e,r);if(e.type==="text")return su(t,e)}function nu(t,e,r){const n=t.schema;let i=n;e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(i=dn,t.schema=i),t.ancestors.push(e);const a=Cl(t,e.tagName,!1),l=hu(t,e);let o=K0(t,e);return eu.has(e.tagName)&&(o=o.filter(function(s){return typeof s=="string"?!qs(s):!0})),zl(t,l,a,e),Z0(l,o),t.ancestors.pop(),t.schema=n,t.create(e,a,l,r)}function iu(t,e){if(e.data&&e.data.estree&&t.evaluater){const n=e.data.estree.body[0];return n.type,t.evaluater.evaluateExpression(n.expression)}zr(t,e.position)}function au(t,e){if(e.data&&e.data.estree&&t.evaluater)return t.evaluater.evaluateProgram(e.data.estree);zr(t,e.position)}function lu(t,e,r){const n=t.schema;let i=n;e.name==="svg"&&n.space==="html"&&(i=dn,t.schema=i),t.ancestors.push(e);const a=e.name===null?t.Fragment:Cl(t,e.name,!0),l=mu(t,e),o=K0(t,e);return zl(t,l,a,e),Z0(l,o),t.ancestors.pop(),t.schema=n,t.create(e,a,l,r)}function ou(t,e,r){const n={};return Z0(n,K0(t,e)),t.create(e,t.Fragment,n,r)}function su(t,e){return e.value}function zl(t,e,r,n){typeof r!="string"&&r!==t.Fragment&&t.passNode&&(e.node=n)}function Z0(t,e){if(e.length>0){const r=e.length>1?e:e[0];r&&(t.children=r)}}function uu(t,e,r){return n;function n(i,a,l,o){const u=Array.isArray(l.children)?r:e;return o?u(a,l,o):u(a,l)}}function cu(t,e){return r;function r(n,i,a,l){const o=Array.isArray(a.children),s=X0(n);return e(i,a,l,o,{columnNumber:s?s.column-1:void 0,fileName:t,lineNumber:s?s.line:void 0},void 0)}}function hu(t,e){const r={};let n,i;for(i in e.properties)if(i!=="children"&&Y0.call(e.properties,i)){const a=pu(t,i,e.properties[i]);if(a){const[l,o]=a;t.tableCellAlignToStyle&&l==="align"&&typeof o=="string"&&tu.has(e.tagName)?n=o:r[l]=o}}if(n){const a=r.style||(r.style={});a[t.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function mu(t,e){const r={};for(const n of e.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&t.evaluater){const a=n.data.estree.body[0];a.type;const l=a.expression;l.type;const o=l.properties[0];o.type,Object.assign(r,t.evaluater.evaluateExpression(o.argument))}else zr(t,e.position);else{const i=n.name;let a;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&t.evaluater){const o=n.value.data.estree.body[0];o.type,a=t.evaluater.evaluateExpression(o.expression)}else zr(t,e.position);else a=n.value===null?!0:n.value;r[i]=a}return r}function K0(t,e){const r=[];let n=-1;const i=t.passKeys?new Map:Qs;for(;++n<e.children.length;){const a=e.children[n];let l;if(t.passKeys){const s=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(s){const u=i.get(s)||0;l=s+"-"+u,i.set(s,u+1)}}const o=Tl(t,a,l);o!==void 0&&r.push(o)}return r}function pu(t,e,r){const n=bl(t.schema,e);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Ds(r):Us(r)),n.property==="style"){let i=typeof r=="object"?r:fu(t,String(r));return t.stylePropertyNameCase==="css"&&(i=du(i)),["style",i]}return[t.elementAttributeNameCase==="react"&&n.space?Ps[n.property]||n.property:n.attribute,r]}}function fu(t,e){try{return Zs(e,{reactCompat:!0})}catch(r){if(t.ignoreInvalidStyle)return{};const n=r,i=new Fe("Cannot parse `style` attribute",{ancestors:t.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=t.filePath||void 0,i.url=Al+"#cannot-parse-style-attribute",i}}function Cl(t,e,r){let n;if(!r)n={type:"Literal",value:e};else if(e.includes(".")){const i=e.split(".");let a=-1,l;for(;++a<i.length;){const o=Ei(i[a])?{type:"Identifier",name:i[a]}:{type:"Literal",value:i[a]};l=l?{type:"MemberExpression",object:l,property:o,computed:!!(a&&o.type==="Literal"),optional:!1}:o}n=l}else n=Ei(e)&&!/^[a-z]/.test(e)?{type:"Identifier",name:e}:{type:"Literal",value:e};if(n.type==="Literal"){const i=n.value;return Y0.call(t.components,i)?t.components[i]:i}if(t.evaluater)return t.evaluater.evaluateExpression(n);zr(t)}function zr(t,e){const r=new Fe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:t.ancestors,place:e,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=t.filePath||void 0,r.url=Al+"#cannot-handle-mdx-estrees-without-createevaluater",r}function du(t){const e={};let r;for(r in t)Y0.call(t,r)&&(e[gu(r)]=t[r]);return e}function gu(t){let e=t.replace(Js,vu);return e.slice(0,3)==="ms-"&&(e="-"+e),e}function vu(t){return"-"+t.toLowerCase()}const Pn={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"]},yu={};function Q0(t,e){const r=yu,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Ml(t,n,i)}function Ml(t,e,r){if(xu(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Ni(t.children,e,r)}return Array.isArray(t)?Ni(t,e,r):""}function Ni(t,e,r){const n=[];let i=-1;for(;++i<t.length;)n[i]=Ml(t[i],e,r);return n.join("")}function xu(t){return!!(t&&typeof t=="object")}const $i=document.createElement("i");function J0(t){const e="&"+t+";";$i.innerHTML=e;const r=$i.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===e?!1:r}function Xe(t,e,r,n){const i=t.length;let a=0,l;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,r=r>0?r:0,n.length<1e4)l=Array.from(n),l.unshift(e,r),t.splice(...l);else for(r&&t.splice(e,r);a<n.length;)l=n.slice(a,a+1e4),l.unshift(e,0),t.splice(...l),a+=1e4,e+=1e4}function et(t,e){return t.length>0?(Xe(t,t.length,0,e),t):e}const Hi={}.hasOwnProperty;function El(t){const e={};let r=-1;for(;++r<t.length;)bu(e,t[r]);return e}function bu(t,e){let r;for(r in e){const i=(Hi.call(t,r)?t[r]:void 0)||(t[r]={}),a=e[r];let l;if(a)for(l in a){Hi.call(i,l)||(i[l]=[]);const o=a[l];wu(i[l],Array.isArray(o)?o:o?[o]:[])}}}function wu(t,e){let r=-1;const n=[];for(;++r<e.length;)(e[r].add==="after"?t:n).push(e[r]);Xe(t,0,0,n)}function Dl(t,e){const r=Number.parseInt(t,e);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function at(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Re=Bt(/[A-Za-z]/),_e=Bt(/[\dA-Za-z]/),ku=Bt(/[#-'*+\--9=?A-Z^-~]/);function an(t){return t!==null&&(t<32||t===127)}const b0=Bt(/\d/),Su=Bt(/[\dA-Fa-f]/),Au=Bt(/[!-/:-@[-`{-~]/);function K(t){return t!==null&&t<-2}function fe(t){return t!==null&&(t<0||t===32)}function oe(t){return t===-2||t===-1||t===32}const gn=Bt(new RegExp("\\p{P}|\\p{S}","u")),Ut=Bt(/\s/);function Bt(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function or(t){const e=[];let r=-1,n=0,i=0;for(;++r<t.length;){const a=t.charCodeAt(r);let l="";if(a===37&&_e(t.charCodeAt(r+1))&&_e(t.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(l=String.fromCharCode(a));else if(a>55295&&a<57344){const o=t.charCodeAt(r+1);a<56320&&o>56319&&o<57344?(l=String.fromCharCode(a,o),i=1):l="�"}else l=String.fromCharCode(a);l&&(e.push(t.slice(n,r),encodeURIComponent(l)),n=r+i+1,l=""),i&&(r+=i,i=0)}return e.join("")+t.slice(n)}function ae(t,e,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return l;function l(s){return oe(s)?(t.enter(r),o(s)):e(s)}function o(s){return oe(s)&&a++<i?(t.consume(s),o):(t.exit(r),e(s))}}const Tu={tokenize:zu};function zu(t){const e=t.attempt(this.parser.constructs.contentInitial,n,i);let r;return e;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),ae(t,e,"linePrefix")}function i(o){return t.enter("paragraph"),a(o)}function a(o){const s=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=s),r=s,l(o)}function l(o){if(o===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(o);return}return K(o)?(t.consume(o),t.exit("chunkText"),a):(t.consume(o),l)}}const Cu={tokenize:Mu},ji={tokenize:Eu};function Mu(t){const e=this,r=[];let n=0,i,a,l;return o;function o(D){if(n<r.length){const q=r[n];return e.containerState=q[1],t.attempt(q[0].continuation,s,u)(D)}return u(D)}function s(D){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&z();const q=e.events.length;let P=q,M;for(;P--;)if(e.events[P][0]==="exit"&&e.events[P][1].type==="chunkFlow"){M=e.events[P][1].end;break}k(n);let G=q;for(;G<e.events.length;)e.events[G][1].end={...M},G++;return Xe(e.events,P+1,0,e.events.slice(q)),e.events.length=G,u(D)}return o(D)}function u(D){if(n===r.length){if(!i)return d(D);if(i.currentConstruct&&i.currentConstruct.concrete)return y(D);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(ji,h,m)(D)}function h(D){return i&&z(),k(n),d(D)}function m(D){return e.parser.lazy[e.now().line]=n!==r.length,l=e.now().offset,y(D)}function d(D){return e.containerState={},t.attempt(ji,f,y)(D)}function f(D){return n++,r.push([e.currentConstruct,e.containerState]),d(D)}function y(D){if(D===null){i&&z(),k(0),t.consume(D);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),w(D)}function w(D){if(D===null){C(t.exit("chunkFlow"),!0),k(0),t.consume(D);return}return K(D)?(t.consume(D),C(t.exit("chunkFlow")),n=0,e.interrupt=void 0,o):(t.consume(D),w)}function C(D,q){const P=e.sliceStream(D);if(q&&P.push(null),D.previous=a,a&&(a.next=D),a=D,i.defineSkip(D.start),i.write(P),e.parser.lazy[D.start.line]){let M=i.events.length;for(;M--;)if(i.events[M][1].start.offset<l&&(!i.events[M][1].end||i.events[M][1].end.offset>l))return;const G=e.events.length;let Y=G,U,E;for(;Y--;)if(e.events[Y][0]==="exit"&&e.events[Y][1].type==="chunkFlow"){if(U){E=e.events[Y][1].end;break}U=!0}for(k(n),M=G;M<e.events.length;)e.events[M][1].end={...E},M++;Xe(e.events,Y+1,0,e.events.slice(G)),e.events.length=M}}function k(D){let q=r.length;for(;q-- >D;){const P=r[q];e.containerState=P[1],P[0].exit.call(e,t)}r.length=D}function z(){i.write([null]),a=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Eu(t,e,r){return ae(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function tr(t){if(t===null||fe(t)||Ut(t))return 1;if(gn(t))return 2}function vn(t,e,r){const n=[];let i=-1;for(;++i<t.length;){const a=t[i].resolveAll;a&&!n.includes(a)&&(e=a(e,r),n.push(a))}return e}const w0={name:"attention",resolveAll:Du,tokenize:Iu};function Du(t,e){let r=-1,n,i,a,l,o,s,u,h;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(n=r;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[n][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;s=t[n][1].end.offset-t[n][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;const m={...t[n][1].end},d={...t[r][1].start};Ui(m,-s),Ui(d,s),l={type:s>1?"strongSequence":"emphasisSequence",start:m,end:{...t[n][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...t[r][1].start},end:d},a={type:s>1?"strongText":"emphasisText",start:{...t[n][1].end},end:{...t[r][1].start}},i={type:s>1?"strong":"emphasis",start:{...l.start},end:{...o.end}},t[n][1].end={...l.start},t[r][1].start={...o.end},u=[],t[n][1].end.offset-t[n][1].start.offset&&(u=et(u,[["enter",t[n][1],e],["exit",t[n][1],e]])),u=et(u,[["enter",i,e],["enter",l,e],["exit",l,e],["enter",a,e]]),u=et(u,vn(e.parser.constructs.insideSpan.null,t.slice(n+1,r),e)),u=et(u,[["exit",a,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[r][1].end.offset-t[r][1].start.offset?(h=2,u=et(u,[["enter",t[r][1],e],["exit",t[r][1],e]])):h=0,Xe(t,n-1,r-n+3,u),r=n+u.length-h-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function Iu(t,e){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=tr(n);let a;return l;function l(s){return a=s,t.enter("attentionSequence"),o(s)}function o(s){if(s===a)return t.consume(s),o;const u=t.exit("attentionSequence"),h=tr(s),m=!h||h===2&&i||r.includes(s),d=!i||i===2&&h||r.includes(n);return u._open=!!(a===42?m:m&&(i||!d)),u._close=!!(a===42?d:d&&(h||!m)),e(s)}}function Ui(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const _u={name:"autolink",tokenize:Bu};function Bu(t,e,r){let n=0;return i;function i(f){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(f),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(f){return Re(f)?(t.consume(f),l):f===64?r(f):u(f)}function l(f){return f===43||f===45||f===46||_e(f)?(n=1,o(f)):u(f)}function o(f){return f===58?(t.consume(f),n=0,s):(f===43||f===45||f===46||_e(f))&&n++<32?(t.consume(f),o):(n=0,u(f))}function s(f){return f===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(f),t.exit("autolinkMarker"),t.exit("autolink"),e):f===null||f===32||f===60||an(f)?r(f):(t.consume(f),s)}function u(f){return f===64?(t.consume(f),h):ku(f)?(t.consume(f),u):r(f)}function h(f){return _e(f)?m(f):r(f)}function m(f){return f===46?(t.consume(f),n=0,h):f===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(f),t.exit("autolinkMarker"),t.exit("autolink"),e):d(f)}function d(f){if((f===45||_e(f))&&n++<63){const y=f===45?d:m;return t.consume(f),y}return r(f)}}const Ir={partial:!0,tokenize:Fu};function Fu(t,e,r){return n;function n(a){return oe(a)?ae(t,i,"linePrefix")(a):i(a)}function i(a){return a===null||K(a)?e(a):r(a)}}const Il={continuation:{tokenize:Ou},exit:Lu,name:"blockQuote",tokenize:qu};function qu(t,e,r){const n=this;return i;function i(l){if(l===62){const o=n.containerState;return o.open||(t.enter("blockQuote",{_container:!0}),o.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(l),t.exit("blockQuoteMarker"),a}return r(l)}function a(l){return oe(l)?(t.enter("blockQuotePrefixWhitespace"),t.consume(l),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(l))}}function Ou(t,e,r){const n=this;return i;function i(l){return oe(l)?ae(t,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):a(l)}function a(l){return t.attempt(Il,e,r)(l)}}function Lu(t){t.exit("blockQuote")}const _l={name:"characterEscape",tokenize:Ru};function Ru(t,e,r){return n;function n(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),i}function i(a){return Au(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(a)}}const Bl={name:"characterReference",tokenize:Pu};function Pu(t,e,r){const n=this;let i=0,a,l;return o;function o(m){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(m),t.exit("characterReferenceMarker"),s}function s(m){return m===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(m),t.exit("characterReferenceMarkerNumeric"),u):(t.enter("characterReferenceValue"),a=31,l=_e,h(m))}function u(m){return m===88||m===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(m),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,l=Su,h):(t.enter("characterReferenceValue"),a=7,l=b0,h(m))}function h(m){if(m===59&&i){const d=t.exit("characterReferenceValue");return l===_e&&!J0(n.sliceSerialize(d))?r(m):(t.enter("characterReferenceMarker"),t.consume(m),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return l(m)&&i++<a?(t.consume(m),h):r(m)}}const Gi={partial:!0,tokenize:$u},Vi={concrete:!0,name:"codeFenced",tokenize:Nu};function Nu(t,e,r){const n=this,i={partial:!0,tokenize:P};let a=0,l=0,o;return s;function s(M){return u(M)}function u(M){const G=n.events[n.events.length-1];return a=G&&G[1].type==="linePrefix"?G[2].sliceSerialize(G[1],!0).length:0,o=M,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),h(M)}function h(M){return M===o?(l++,t.consume(M),h):l<3?r(M):(t.exit("codeFencedFenceSequence"),oe(M)?ae(t,m,"whitespace")(M):m(M))}function m(M){return M===null||K(M)?(t.exit("codeFencedFence"),n.interrupt?e(M):t.check(Gi,w,q)(M)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),d(M))}function d(M){return M===null||K(M)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),m(M)):oe(M)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),ae(t,f,"whitespace")(M)):M===96&&M===o?r(M):(t.consume(M),d)}function f(M){return M===null||K(M)?m(M):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),y(M))}function y(M){return M===null||K(M)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),m(M)):M===96&&M===o?r(M):(t.consume(M),y)}function w(M){return t.attempt(i,q,C)(M)}function C(M){return t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),k}function k(M){return a>0&&oe(M)?ae(t,z,"linePrefix",a+1)(M):z(M)}function z(M){return M===null||K(M)?t.check(Gi,w,q)(M):(t.enter("codeFlowValue"),D(M))}function D(M){return M===null||K(M)?(t.exit("codeFlowValue"),z(M)):(t.consume(M),D)}function q(M){return t.exit("codeFenced"),e(M)}function P(M,G,Y){let U=0;return E;function E($){return M.enter("lineEnding"),M.consume($),M.exit("lineEnding"),W}function W($){return M.enter("codeFencedFence"),oe($)?ae(M,j,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):j($)}function j($){return $===o?(M.enter("codeFencedFenceSequence"),se($)):Y($)}function se($){return $===o?(U++,M.consume($),se):U>=l?(M.exit("codeFencedFenceSequence"),oe($)?ae(M,Z,"whitespace")($):Z($)):Y($)}function Z($){return $===null||K($)?(M.exit("codeFencedFence"),G($)):Y($)}}}function $u(t,e,r){const n=this;return i;function i(l){return l===null?r(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),a)}function a(l){return n.parser.lazy[n.now().line]?r(l):e(l)}}const Nn={name:"codeIndented",tokenize:ju},Hu={partial:!0,tokenize:Uu};function ju(t,e,r){const n=this;return i;function i(u){return t.enter("codeIndented"),ae(t,a,"linePrefix",5)(u)}function a(u){const h=n.events[n.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?l(u):r(u)}function l(u){return u===null?s(u):K(u)?t.attempt(Hu,l,s)(u):(t.enter("codeFlowValue"),o(u))}function o(u){return u===null||K(u)?(t.exit("codeFlowValue"),l(u)):(t.consume(u),o)}function s(u){return t.exit("codeIndented"),e(u)}}function Uu(t,e,r){const n=this;return i;function i(l){return n.parser.lazy[n.now().line]?r(l):K(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),i):ae(t,a,"linePrefix",5)(l)}function a(l){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(l):K(l)?i(l):r(l)}}const Gu={name:"codeText",previous:Wu,resolve:Vu,tokenize:Xu};function Vu(t){let e=t.length-4,r=3,n,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)i===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(i=n):(n===e||t[n][1].type==="lineEnding")&&(t[i][1].type="codeTextData",n!==i+2&&(t[i][1].end=t[n-1][1].end,t.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return t}function Wu(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Xu(t,e,r){let n=0,i,a;return l;function l(m){return t.enter("codeText"),t.enter("codeTextSequence"),o(m)}function o(m){return m===96?(t.consume(m),n++,o):(t.exit("codeTextSequence"),s(m))}function s(m){return m===null?r(m):m===32?(t.enter("space"),t.consume(m),t.exit("space"),s):m===96?(a=t.enter("codeTextSequence"),i=0,h(m)):K(m)?(t.enter("lineEnding"),t.consume(m),t.exit("lineEnding"),s):(t.enter("codeTextData"),u(m))}function u(m){return m===null||m===32||m===96||K(m)?(t.exit("codeTextData"),s(m)):(t.consume(m),u)}function h(m){return m===96?(t.consume(m),i++,h):i===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(m)):(a.type="codeTextData",u(m))}}class Yu{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,r,n){const i=r||0;this.setCursor(Math.trunc(e));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&yr(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),yr(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),yr(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){const r=this.left.splice(e,Number.POSITIVE_INFINITY);yr(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);yr(this.left,r.reverse())}}}function yr(t,e){let r=0;if(e.length<1e4)t.push(...e);else for(;r<e.length;)t.push(...e.slice(r,r+1e4)),r+=1e4}function Fl(t){const e={};let r=-1,n,i,a,l,o,s,u;const h=new Yu(t);for(;++r<h.length;){for(;r in e;)r=e[r];if(n=h.get(r),r&&n[1].type==="chunkFlow"&&h.get(r-1)[1].type==="listItemPrefix"&&(s=n[1]._tokenizer.events,a=0,a<s.length&&s[a][1].type==="lineEndingBlank"&&(a+=2),a<s.length&&s[a][1].type==="content"))for(;++a<s.length&&s[a][1].type!=="content";)s[a][1].type==="chunkText"&&(s[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,Zu(h,r)),r=e[r],u=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(l=h.get(a),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(h.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=a);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(n[1].end={...h.get(i)[1].start},o=h.slice(i,r),o.unshift(n),h.splice(i,r-i+1,o))}}return Xe(t,0,Number.POSITIVE_INFINITY,h.slice(0)),!u}function Zu(t,e){const r=t.get(e)[1],n=t.get(e)[2];let i=e-1;const a=[];let l=r._tokenizer;l||(l=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const o=l.events,s=[],u={};let h,m,d=-1,f=r,y=0,w=0;const C=[w];for(;f;){for(;t.get(++i)[1]!==f;);a.push(i),f._tokenizer||(h=n.sliceStream(f),f.next||h.push(null),m&&l.defineSkip(f.start),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(h),f._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),m=f,f=f.next}for(f=r;++d<o.length;)o[d][0]==="exit"&&o[d-1][0]==="enter"&&o[d][1].type===o[d-1][1].type&&o[d][1].start.line!==o[d][1].end.line&&(w=d+1,C.push(w),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(l.events=[],f?(f._tokenizer=void 0,f.previous=void 0):C.pop(),d=C.length;d--;){const k=o.slice(C[d],C[d+1]),z=a.pop();s.push([z,z+k.length-1]),t.splice(z,2,k)}for(s.reverse(),d=-1;++d<s.length;)u[y+s[d][0]]=y+s[d][1],y+=s[d][1]-s[d][0]-1;return u}const Ku={resolve:Ju,tokenize:e1},Qu={partial:!0,tokenize:t1};function Ju(t){return Fl(t),t}function e1(t,e){let r;return n;function n(o){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):K(o)?t.check(Qu,l,a)(o):(t.consume(o),i)}function a(o){return t.exit("chunkContent"),t.exit("content"),e(o)}function l(o){return t.consume(o),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function t1(t,e,r){const n=this;return i;function i(l){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),ae(t,a,"linePrefix")}function a(l){if(l===null||K(l))return r(l);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(l):t.interrupt(n.parser.constructs.flow,r,e)(l)}}function ql(t,e,r,n,i,a,l,o,s){const u=s||Number.POSITIVE_INFINITY;let h=0;return m;function m(k){return k===60?(t.enter(n),t.enter(i),t.enter(a),t.consume(k),t.exit(a),d):k===null||k===32||k===41||an(k)?r(k):(t.enter(n),t.enter(l),t.enter(o),t.enter("chunkString",{contentType:"string"}),w(k))}function d(k){return k===62?(t.enter(a),t.consume(k),t.exit(a),t.exit(i),t.exit(n),e):(t.enter(o),t.enter("chunkString",{contentType:"string"}),f(k))}function f(k){return k===62?(t.exit("chunkString"),t.exit(o),d(k)):k===null||k===60||K(k)?r(k):(t.consume(k),k===92?y:f)}function y(k){return k===60||k===62||k===92?(t.consume(k),f):f(k)}function w(k){return!h&&(k===null||k===41||fe(k))?(t.exit("chunkString"),t.exit(o),t.exit(l),t.exit(n),e(k)):h<u&&k===40?(t.consume(k),h++,w):k===41?(t.consume(k),h--,w):k===null||k===32||k===40||an(k)?r(k):(t.consume(k),k===92?C:w)}function C(k){return k===40||k===41||k===92?(t.consume(k),w):w(k)}}function Ol(t,e,r,n,i,a){const l=this;let o=0,s;return u;function u(f){return t.enter(n),t.enter(i),t.consume(f),t.exit(i),t.enter(a),h}function h(f){return o>999||f===null||f===91||f===93&&!s||f===94&&!o&&"_hiddenFootnoteSupport"in l.parser.constructs?r(f):f===93?(t.exit(a),t.enter(i),t.consume(f),t.exit(i),t.exit(n),e):K(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),h):(t.enter("chunkString",{contentType:"string"}),m(f))}function m(f){return f===null||f===91||f===93||K(f)||o++>999?(t.exit("chunkString"),h(f)):(t.consume(f),s||(s=!oe(f)),f===92?d:m)}function d(f){return f===91||f===92||f===93?(t.consume(f),o++,m):m(f)}}function Ll(t,e,r,n,i,a){let l;return o;function o(d){return d===34||d===39||d===40?(t.enter(n),t.enter(i),t.consume(d),t.exit(i),l=d===40?41:d,s):r(d)}function s(d){return d===l?(t.enter(i),t.consume(d),t.exit(i),t.exit(n),e):(t.enter(a),u(d))}function u(d){return d===l?(t.exit(a),s(l)):d===null?r(d):K(d)?(t.enter("lineEnding"),t.consume(d),t.exit("lineEnding"),ae(t,u,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),h(d))}function h(d){return d===l||d===null||K(d)?(t.exit("chunkString"),u(d)):(t.consume(d),d===92?m:h)}function m(d){return d===l||d===92?(t.consume(d),h):h(d)}}function kr(t,e){let r;return n;function n(i){return K(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),r=!0,n):oe(i)?ae(t,n,r?"linePrefix":"lineSuffix")(i):e(i)}}const r1={name:"definition",tokenize:i1},n1={partial:!0,tokenize:a1};function i1(t,e,r){const n=this;let i;return a;function a(f){return t.enter("definition"),l(f)}function l(f){return Ol.call(n,t,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(f)}function o(f){return i=at(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),f===58?(t.enter("definitionMarker"),t.consume(f),t.exit("definitionMarker"),s):r(f)}function s(f){return fe(f)?kr(t,u)(f):u(f)}function u(f){return ql(t,h,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(f)}function h(f){return t.attempt(n1,m,m)(f)}function m(f){return oe(f)?ae(t,d,"whitespace")(f):d(f)}function d(f){return f===null||K(f)?(t.exit("definition"),n.parser.defined.push(i),e(f)):r(f)}}function a1(t,e,r){return n;function n(o){return fe(o)?kr(t,i)(o):r(o)}function i(o){return Ll(t,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return oe(o)?ae(t,l,"whitespace")(o):l(o)}function l(o){return o===null||K(o)?e(o):r(o)}}const l1={name:"hardBreakEscape",tokenize:o1};function o1(t,e,r){return n;function n(a){return t.enter("hardBreakEscape"),t.consume(a),i}function i(a){return K(a)?(t.exit("hardBreakEscape"),e(a)):r(a)}}const s1={name:"headingAtx",resolve:u1,tokenize:c1};function u1(t,e){let r=t.length-2,n=3,i,a;return t[n][1].type==="whitespace"&&(n+=2),r-2>n&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&t[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:t[n][1].start,end:t[r][1].end},a={type:"chunkText",start:t[n][1].start,end:t[r][1].end,contentType:"text"},Xe(t,n,r-n+1,[["enter",i,e],["enter",a,e],["exit",a,e],["exit",i,e]])),t}function c1(t,e,r){let n=0;return i;function i(h){return t.enter("atxHeading"),a(h)}function a(h){return t.enter("atxHeadingSequence"),l(h)}function l(h){return h===35&&n++<6?(t.consume(h),l):h===null||fe(h)?(t.exit("atxHeadingSequence"),o(h)):r(h)}function o(h){return h===35?(t.enter("atxHeadingSequence"),s(h)):h===null||K(h)?(t.exit("atxHeading"),e(h)):oe(h)?ae(t,o,"whitespace")(h):(t.enter("atxHeadingText"),u(h))}function s(h){return h===35?(t.consume(h),s):(t.exit("atxHeadingSequence"),o(h))}function u(h){return h===null||h===35||fe(h)?(t.exit("atxHeadingText"),o(h)):(t.consume(h),u)}}const h1=["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"],Wi=["pre","script","style","textarea"],m1={concrete:!0,name:"htmlFlow",resolveTo:d1,tokenize:g1},p1={partial:!0,tokenize:y1},f1={partial:!0,tokenize:v1};function d1(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function g1(t,e,r){const n=this;let i,a,l,o,s;return u;function u(A){return h(A)}function h(A){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(A),m}function m(A){return A===33?(t.consume(A),d):A===47?(t.consume(A),a=!0,w):A===63?(t.consume(A),i=3,n.interrupt?e:S):Re(A)?(t.consume(A),l=String.fromCharCode(A),C):r(A)}function d(A){return A===45?(t.consume(A),i=2,f):A===91?(t.consume(A),i=5,o=0,y):Re(A)?(t.consume(A),i=4,n.interrupt?e:S):r(A)}function f(A){return A===45?(t.consume(A),n.interrupt?e:S):r(A)}function y(A){const Ie="CDATA[";return A===Ie.charCodeAt(o++)?(t.consume(A),o===Ie.length?n.interrupt?e:j:y):r(A)}function w(A){return Re(A)?(t.consume(A),l=String.fromCharCode(A),C):r(A)}function C(A){if(A===null||A===47||A===62||fe(A)){const Ie=A===47,lt=l.toLowerCase();return!Ie&&!a&&Wi.includes(lt)?(i=1,n.interrupt?e(A):j(A)):h1.includes(l.toLowerCase())?(i=6,Ie?(t.consume(A),k):n.interrupt?e(A):j(A)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(A):a?z(A):D(A))}return A===45||_e(A)?(t.consume(A),l+=String.fromCharCode(A),C):r(A)}function k(A){return A===62?(t.consume(A),n.interrupt?e:j):r(A)}function z(A){return oe(A)?(t.consume(A),z):E(A)}function D(A){return A===47?(t.consume(A),E):A===58||A===95||Re(A)?(t.consume(A),q):oe(A)?(t.consume(A),D):E(A)}function q(A){return A===45||A===46||A===58||A===95||_e(A)?(t.consume(A),q):P(A)}function P(A){return A===61?(t.consume(A),M):oe(A)?(t.consume(A),P):D(A)}function M(A){return A===null||A===60||A===61||A===62||A===96?r(A):A===34||A===39?(t.consume(A),s=A,G):oe(A)?(t.consume(A),M):Y(A)}function G(A){return A===s?(t.consume(A),s=null,U):A===null||K(A)?r(A):(t.consume(A),G)}function Y(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||fe(A)?P(A):(t.consume(A),Y)}function U(A){return A===47||A===62||oe(A)?D(A):r(A)}function E(A){return A===62?(t.consume(A),W):r(A)}function W(A){return A===null||K(A)?j(A):oe(A)?(t.consume(A),W):r(A)}function j(A){return A===45&&i===2?(t.consume(A),le):A===60&&i===1?(t.consume(A),ge):A===62&&i===4?(t.consume(A),ke):A===63&&i===3?(t.consume(A),S):A===93&&i===5?(t.consume(A),Ue):K(A)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(p1,qe,se)(A)):A===null||K(A)?(t.exit("htmlFlowData"),se(A)):(t.consume(A),j)}function se(A){return t.check(f1,Z,qe)(A)}function Z(A){return t.enter("lineEnding"),t.consume(A),t.exit("lineEnding"),$}function $(A){return A===null||K(A)?se(A):(t.enter("htmlFlowData"),j(A))}function le(A){return A===45?(t.consume(A),S):j(A)}function ge(A){return A===47?(t.consume(A),l="",De):j(A)}function De(A){if(A===62){const Ie=l.toLowerCase();return Wi.includes(Ie)?(t.consume(A),ke):j(A)}return Re(A)&&l.length<8?(t.consume(A),l+=String.fromCharCode(A),De):j(A)}function Ue(A){return A===93?(t.consume(A),S):j(A)}function S(A){return A===62?(t.consume(A),ke):A===45&&i===2?(t.consume(A),S):j(A)}function ke(A){return A===null||K(A)?(t.exit("htmlFlowData"),qe(A)):(t.consume(A),ke)}function qe(A){return t.exit("htmlFlow"),e(A)}}function v1(t,e,r){const n=this;return i;function i(l){return K(l)?(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),a):r(l)}function a(l){return n.parser.lazy[n.now().line]?r(l):e(l)}}function y1(t,e,r){return n;function n(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(Ir,e,r)}}const x1={name:"htmlText",tokenize:b1};function b1(t,e,r){const n=this;let i,a,l;return o;function o(S){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(S),s}function s(S){return S===33?(t.consume(S),u):S===47?(t.consume(S),P):S===63?(t.consume(S),D):Re(S)?(t.consume(S),Y):r(S)}function u(S){return S===45?(t.consume(S),h):S===91?(t.consume(S),a=0,y):Re(S)?(t.consume(S),z):r(S)}function h(S){return S===45?(t.consume(S),f):r(S)}function m(S){return S===null?r(S):S===45?(t.consume(S),d):K(S)?(l=m,ge(S)):(t.consume(S),m)}function d(S){return S===45?(t.consume(S),f):m(S)}function f(S){return S===62?le(S):S===45?d(S):m(S)}function y(S){const ke="CDATA[";return S===ke.charCodeAt(a++)?(t.consume(S),a===ke.length?w:y):r(S)}function w(S){return S===null?r(S):S===93?(t.consume(S),C):K(S)?(l=w,ge(S)):(t.consume(S),w)}function C(S){return S===93?(t.consume(S),k):w(S)}function k(S){return S===62?le(S):S===93?(t.consume(S),k):w(S)}function z(S){return S===null||S===62?le(S):K(S)?(l=z,ge(S)):(t.consume(S),z)}function D(S){return S===null?r(S):S===63?(t.consume(S),q):K(S)?(l=D,ge(S)):(t.consume(S),D)}function q(S){return S===62?le(S):D(S)}function P(S){return Re(S)?(t.consume(S),M):r(S)}function M(S){return S===45||_e(S)?(t.consume(S),M):G(S)}function G(S){return K(S)?(l=G,ge(S)):oe(S)?(t.consume(S),G):le(S)}function Y(S){return S===45||_e(S)?(t.consume(S),Y):S===47||S===62||fe(S)?U(S):r(S)}function U(S){return S===47?(t.consume(S),le):S===58||S===95||Re(S)?(t.consume(S),E):K(S)?(l=U,ge(S)):oe(S)?(t.consume(S),U):le(S)}function E(S){return S===45||S===46||S===58||S===95||_e(S)?(t.consume(S),E):W(S)}function W(S){return S===61?(t.consume(S),j):K(S)?(l=W,ge(S)):oe(S)?(t.consume(S),W):U(S)}function j(S){return S===null||S===60||S===61||S===62||S===96?r(S):S===34||S===39?(t.consume(S),i=S,se):K(S)?(l=j,ge(S)):oe(S)?(t.consume(S),j):(t.consume(S),Z)}function se(S){return S===i?(t.consume(S),i=void 0,$):S===null?r(S):K(S)?(l=se,ge(S)):(t.consume(S),se)}function Z(S){return S===null||S===34||S===39||S===60||S===61||S===96?r(S):S===47||S===62||fe(S)?U(S):(t.consume(S),Z)}function $(S){return S===47||S===62||fe(S)?U(S):r(S)}function le(S){return S===62?(t.consume(S),t.exit("htmlTextData"),t.exit("htmlText"),e):r(S)}function ge(S){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),De}function De(S){return oe(S)?ae(t,Ue,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):Ue(S)}function Ue(S){return t.enter("htmlTextData"),l(S)}}const ei={name:"labelEnd",resolveAll:A1,resolveTo:T1,tokenize:z1},w1={tokenize:C1},k1={tokenize:M1},S1={tokenize:E1};function A1(t){let e=-1;const r=[];for(;++e<t.length;){const n=t[e][1];if(r.push(t[e]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",e+=i}}return t.length!==r.length&&Xe(t,0,t.length,r),t}function T1(t,e){let r=t.length,n=0,i,a,l,o;for(;r--;)if(i=t[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(t[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(l=r);const s={type:t[a][1].type==="labelLink"?"link":"image",start:{...t[a][1].start},end:{...t[t.length-1][1].end}},u={type:"label",start:{...t[a][1].start},end:{...t[l][1].end}},h={type:"labelText",start:{...t[a+n+2][1].end},end:{...t[l-2][1].start}};return o=[["enter",s,e],["enter",u,e]],o=et(o,t.slice(a+1,a+n+3)),o=et(o,[["enter",h,e]]),o=et(o,vn(e.parser.constructs.insideSpan.null,t.slice(a+n+4,l-3),e)),o=et(o,[["exit",h,e],t[l-2],t[l-1],["exit",u,e]]),o=et(o,t.slice(l+1)),o=et(o,[["exit",s,e]]),Xe(t,a,t.length,o),t}function z1(t,e,r){const n=this;let i=n.events.length,a,l;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(d){return a?a._inactive?m(d):(l=n.parser.defined.includes(at(n.sliceSerialize({start:a.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(d),t.exit("labelMarker"),t.exit("labelEnd"),s):r(d)}function s(d){return d===40?t.attempt(w1,h,l?h:m)(d):d===91?t.attempt(k1,h,l?u:m)(d):l?h(d):m(d)}function u(d){return t.attempt(S1,h,m)(d)}function h(d){return e(d)}function m(d){return a._balanced=!0,r(d)}}function C1(t,e,r){return n;function n(m){return t.enter("resource"),t.enter("resourceMarker"),t.consume(m),t.exit("resourceMarker"),i}function i(m){return fe(m)?kr(t,a)(m):a(m)}function a(m){return m===41?h(m):ql(t,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function l(m){return fe(m)?kr(t,s)(m):h(m)}function o(m){return r(m)}function s(m){return m===34||m===39||m===40?Ll(t,u,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):h(m)}function u(m){return fe(m)?kr(t,h)(m):h(m)}function h(m){return m===41?(t.enter("resourceMarker"),t.consume(m),t.exit("resourceMarker"),t.exit("resource"),e):r(m)}}function M1(t,e,r){const n=this;return i;function i(o){return Ol.call(n,t,a,l,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(at(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(o):r(o)}function l(o){return r(o)}}function E1(t,e,r){return n;function n(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),i}function i(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),e):r(a)}}const D1={name:"labelStartImage",resolveAll:ei.resolveAll,tokenize:I1};function I1(t,e,r){const n=this;return i;function i(o){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(o),t.exit("labelImageMarker"),a}function a(o){return o===91?(t.enter("labelMarker"),t.consume(o),t.exit("labelMarker"),t.exit("labelImage"),l):r(o)}function l(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):e(o)}}const _1={name:"labelStartLink",resolveAll:ei.resolveAll,tokenize:B1};function B1(t,e,r){const n=this;return i;function i(l){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelLink"),a}function a(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):e(l)}}const $n={name:"lineEnding",tokenize:F1};function F1(t,e){return r;function r(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),ae(t,e,"linePrefix")}}const tn={name:"thematicBreak",tokenize:q1};function q1(t,e,r){let n=0,i;return a;function a(u){return t.enter("thematicBreak"),l(u)}function l(u){return i=u,o(u)}function o(u){return u===i?(t.enter("thematicBreakSequence"),s(u)):n>=3&&(u===null||K(u))?(t.exit("thematicBreak"),e(u)):r(u)}function s(u){return u===i?(t.consume(u),n++,s):(t.exit("thematicBreakSequence"),oe(u)?ae(t,o,"whitespace")(u):o(u))}}const $e={continuation:{tokenize:P1},exit:$1,name:"list",tokenize:R1},O1={partial:!0,tokenize:H1},L1={partial:!0,tokenize:N1};function R1(t,e,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return o;function o(f){const y=n.containerState.type||(f===42||f===43||f===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!n.containerState.marker||f===n.containerState.marker:b0(f)){if(n.containerState.type||(n.containerState.type=y,t.enter(y,{_container:!0})),y==="listUnordered")return t.enter("listItemPrefix"),f===42||f===45?t.check(tn,r,u)(f):u(f);if(!n.interrupt||f===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),s(f)}return r(f)}function s(f){return b0(f)&&++l<10?(t.consume(f),s):(!n.interrupt||l<2)&&(n.containerState.marker?f===n.containerState.marker:f===41||f===46)?(t.exit("listItemValue"),u(f)):r(f)}function u(f){return t.enter("listItemMarker"),t.consume(f),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||f,t.check(Ir,n.interrupt?r:h,t.attempt(O1,d,m))}function h(f){return n.containerState.initialBlankLine=!0,a++,d(f)}function m(f){return oe(f)?(t.enter("listItemPrefixWhitespace"),t.consume(f),t.exit("listItemPrefixWhitespace"),d):r(f)}function d(f){return n.containerState.size=a+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(f)}}function P1(t,e,r){const n=this;return n.containerState._closeFlow=void 0,t.check(Ir,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ae(t,e,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!oe(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,l(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(L1,e,l)(o))}function l(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,ae(t,t.attempt($e,e,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function N1(t,e,r){const n=this;return ae(t,i,"listItemIndent",n.containerState.size+1);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===n.containerState.size?e(a):r(a)}}function $1(t){t.exit(this.containerState.type)}function H1(t,e,r){const n=this;return ae(t,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const l=n.events[n.events.length-1];return!oe(a)&&l&&l[1].type==="listItemPrefixWhitespace"?e(a):r(a)}}const Xi={name:"setextUnderline",resolveTo:j1,tokenize:U1};function j1(t,e){let r=t.length,n,i,a;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){n=r;break}t[r][1].type==="paragraph"&&(i=r)}else t[r][1].type==="content"&&t.splice(r,1),!a&&t[r][1].type==="definition"&&(a=r);const l={type:"setextHeading",start:{...t[n][1].start},end:{...t[t.length-1][1].end}};return t[i][1].type="setextHeadingText",a?(t.splice(i,0,["enter",l,e]),t.splice(a+1,0,["exit",t[n][1],e]),t[n][1].end={...t[a][1].end}):t[n][1]=l,t.push(["exit",l,e]),t}function U1(t,e,r){const n=this;let i;return a;function a(u){let h=n.events.length,m;for(;h--;)if(n.events[h][1].type!=="lineEnding"&&n.events[h][1].type!=="linePrefix"&&n.events[h][1].type!=="content"){m=n.events[h][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||m)?(t.enter("setextHeadingLine"),i=u,l(u)):r(u)}function l(u){return t.enter("setextHeadingLineSequence"),o(u)}function o(u){return u===i?(t.consume(u),o):(t.exit("setextHeadingLineSequence"),oe(u)?ae(t,s,"lineSuffix")(u):s(u))}function s(u){return u===null||K(u)?(t.exit("setextHeadingLine"),e(u)):r(u)}}const G1={tokenize:V1};function V1(t){const e=this,r=t.attempt(Ir,n,t.attempt(this.parser.constructs.flowInitial,i,ae(t,t.attempt(this.parser.constructs.flow,i,t.attempt(Ku,i)),"linePrefix")));return r;function n(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function i(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),e.currentConstruct=void 0,r}}const W1={resolveAll:Pl()},X1=Rl("string"),Y1=Rl("text");function Rl(t){return{resolveAll:Pl(t==="text"?Z1:void 0),tokenize:e};function e(r){const n=this,i=this.parser.constructs[t],a=r.attempt(i,l,o);return l;function l(h){return u(h)?a(h):o(h)}function o(h){if(h===null){r.consume(h);return}return r.enter("data"),r.consume(h),s}function s(h){return u(h)?(r.exit("data"),a(h)):(r.consume(h),s)}function u(h){if(h===null)return!0;const m=i[h];let d=-1;if(m)for(;++d<m.length;){const f=m[d];if(!f.previous||f.previous.call(n,n.previous))return!0}return!1}}}function Pl(t){return e;function e(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return t?t(r,n):r}}function Z1(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){const n=t[r-1][1],i=e.sliceStream(n);let a=i.length,l=-1,o=0,s;for(;a--;){const u=i[a];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)o++,l--;if(l)break;l=-1}else if(u===-2)s=!0,o++;else if(u!==-1){a++;break}}if(e._contentTypeTextTrailing&&r===t.length&&(o=0),o){const u={type:r===t.length||s||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?l:n.start._bufferIndex+l,_index:n.start._index+a,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...u.start},n.start.offset===n.end.offset?Object.assign(n,u):(t.splice(r,0,["enter",u,e],["exit",u,e]),r+=2)}r++}return t}const K1={42:$e,43:$e,45:$e,48:$e,49:$e,50:$e,51:$e,52:$e,53:$e,54:$e,55:$e,56:$e,57:$e,62:Il},Q1={91:r1},J1={[-2]:Nn,[-1]:Nn,32:Nn},ec={35:s1,42:tn,45:[Xi,tn],60:m1,61:Xi,95:tn,96:Vi,126:Vi},tc={38:Bl,92:_l},rc={[-5]:$n,[-4]:$n,[-3]:$n,33:D1,38:Bl,42:w0,60:[_u,x1],91:_1,92:[l1,_l],93:ei,95:w0,96:Gu},nc={null:[w0,W1]},ic={null:[42,95]},ac={null:[]},lc=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:ic,contentInitial:Q1,disable:ac,document:K1,flow:ec,flowInitial:J1,insideSpan:nc,string:tc,text:rc},Symbol.toStringTag,{value:"Module"}));function oc(t,e,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const i={},a=[];let l=[],o=[];const s={attempt:G(P),check:G(M),consume:z,enter:D,exit:q,interrupt:G(M,{interrupt:!0})},u={code:null,containerState:{},defineSkip:w,events:[],now:y,parser:t,previous:null,sliceSerialize:d,sliceStream:f,write:m};let h=e.tokenize.call(u,s);return e.resolveAll&&a.push(e),u;function m(W){return l=et(l,W),C(),l[l.length-1]!==null?[]:(Y(e,0),u.events=vn(a,u.events,u),u.events)}function d(W,j){return uc(f(W),j)}function f(W){return sc(l,W)}function y(){const{_bufferIndex:W,_index:j,line:se,column:Z,offset:$}=n;return{_bufferIndex:W,_index:j,line:se,column:Z,offset:$}}function w(W){i[W.line]=W.column,E()}function C(){let W;for(;n._index<l.length;){const j=l[n._index];if(typeof j=="string")for(W=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===W&&n._bufferIndex<j.length;)k(j.charCodeAt(n._bufferIndex));else k(j)}}function k(W){h=h(W)}function z(W){K(W)?(n.line++,n.column=1,n.offset+=W===-3?2:1,E()):W!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===l[n._index].length&&(n._bufferIndex=-1,n._index++)),u.previous=W}function D(W,j){const se=j||{};return se.type=W,se.start=y(),u.events.push(["enter",se,u]),o.push(se),se}function q(W){const j=o.pop();return j.end=y(),u.events.push(["exit",j,u]),j}function P(W,j){Y(W,j.from)}function M(W,j){j.restore()}function G(W,j){return se;function se(Z,$,le){let ge,De,Ue,S;return Array.isArray(Z)?qe(Z):"tokenize"in Z?qe([Z]):ke(Z);function ke(Ce){return Je;function Je(nt){const Ge=nt!==null&&Ce[nt],ft=nt!==null&&Ce.null,qt=[...Array.isArray(Ge)?Ge:Ge?[Ge]:[],...Array.isArray(ft)?ft:ft?[ft]:[]];return qe(qt)(nt)}}function qe(Ce){return ge=Ce,De=0,Ce.length===0?le:A(Ce[De])}function A(Ce){return Je;function Je(nt){return S=U(),Ue=Ce,Ce.partial||(u.currentConstruct=Ce),Ce.name&&u.parser.constructs.disable.null.includes(Ce.name)?lt():Ce.tokenize.call(j?Object.assign(Object.create(u),j):u,s,Ie,lt)(nt)}}function Ie(Ce){return W(Ue,S),$}function lt(Ce){return S.restore(),++De<ge.length?A(ge[De]):le}}}function Y(W,j){W.resolveAll&&!a.includes(W)&&a.push(W),W.resolve&&Xe(u.events,j,u.events.length-j,W.resolve(u.events.slice(j),u)),W.resolveTo&&(u.events=W.resolveTo(u.events,u))}function U(){const W=y(),j=u.previous,se=u.currentConstruct,Z=u.events.length,$=Array.from(o);return{from:Z,restore:le};function le(){n=W,u.previous=j,u.currentConstruct=se,u.events.length=Z,o=$,E()}}function E(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function sc(t,e){const r=e.start._index,n=e.start._bufferIndex,i=e.end._index,a=e.end._bufferIndex;let l;if(r===i)l=[t[r].slice(n,a)];else{if(l=t.slice(r,i),n>-1){const o=l[0];typeof o=="string"?l[0]=o.slice(n):l.shift()}a>0&&l.push(t[i].slice(0,a))}return l}function uc(t,e){let r=-1;const n=[];let i;for(;++r<t.length;){const a=t[r];let l;if(typeof a=="string")l=a;else switch(a){case-5:{l="\r";break}case-4:{l=`
3
+ `;break}case-3:{l=`\r
4
+ `;break}case-2:{l=e?" ":" ";break}case-1:{if(!e&&i)continue;l=" ";break}default:l=String.fromCharCode(a)}i=a===-2,n.push(l)}return n.join("")}function cc(t){const n={constructs:El([lc,...(t||{}).extensions||[]]),content:i(Tu),defined:[],document:i(Cu),flow:i(G1),lazy:{},string:i(X1),text:i(Y1)};return n;function i(a){return l;function l(o){return oc(n,a,o)}}}function hc(t){for(;!Fl(t););return t}const Yi=/[\0\t\n\r]/g;function mc(){let t=1,e="",r=!0,n;return i;function i(a,l,o){const s=[];let u,h,m,d,f;for(a=e+(typeof a=="string"?a.toString():new TextDecoder(l||void 0).decode(a)),m=0,e="",r&&(a.charCodeAt(0)===65279&&m++,r=void 0);m<a.length;){if(Yi.lastIndex=m,u=Yi.exec(a),d=u&&u.index!==void 0?u.index:a.length,f=a.charCodeAt(d),!u){e=a.slice(m);break}if(f===10&&m===d&&n)s.push(-3),n=void 0;else switch(n&&(s.push(-5),n=void 0),m<d&&(s.push(a.slice(m,d)),t+=d-m),f){case 0:{s.push(65533),t++;break}case 9:{for(h=Math.ceil(t/4)*4,s.push(-2);t++<h;)s.push(-1);break}case 10:{s.push(-4),t=1;break}default:n=!0,t=1}m=d+1}return o&&(n&&s.push(-5),e&&s.push(e),s.push(null)),s}}const pc=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function fc(t){return t.replace(pc,dc)}function dc(t,e,r){if(e)return e;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return Dl(r.slice(a?2:1),a?16:10)}return J0(r)||t}const Nl={}.hasOwnProperty;function gc(t,e,r){return e&&typeof e=="object"&&(r=e,e=void 0),vc(r)(hc(cc(r).document().write(mc()(t,e,!0))))}function vc(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(mr),autolinkProtocol:U,autolinkEmail:U,atxHeading:a(Lr),blockQuote:a(ft),characterEscape:U,characterReference:U,codeFenced:a(qt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:a(qt,l),codeText:a(Or,l),codeTextData:U,data:U,codeFlowValue:U,definition:a(Xt),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:a(Yt),hardBreakEscape:a(Rr),hardBreakTrailing:a(Rr),htmlFlow:a(Pr,l),htmlFlowData:U,htmlText:a(Pr,l),htmlTextData:U,image:a(Nr),label:l,link:a(mr),listItem:a(Fn),listItemValue:d,listOrdered:a(Ot,m),listUnordered:a(Ot),paragraph:a(qn),reference:A,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:a(Lr),strong:a(pr),thematicBreak:a(Hr)},exit:{atxHeading:s(),atxHeadingSequence:P,autolink:s(),autolinkEmail:Ge,autolinkProtocol:nt,blockQuote:s(),characterEscapeValue:E,characterReferenceMarkerHexadecimal:lt,characterReferenceMarkerNumeric:lt,characterReferenceValue:Ce,characterReference:Je,codeFenced:s(C),codeFencedFence:w,codeFencedFenceInfo:f,codeFencedFenceMeta:y,codeFlowValue:E,codeIndented:s(k),codeText:s($),codeTextData:E,data:E,definition:s(),definitionDestinationString:q,definitionLabelString:z,definitionTitleString:D,emphasis:s(),hardBreakEscape:s(j),hardBreakTrailing:s(j),htmlFlow:s(se),htmlFlowData:E,htmlText:s(Z),htmlTextData:E,image:s(ge),label:Ue,labelText:De,lineEnding:W,link:s(le),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:Ie,resourceDestinationString:S,resourceTitleString:ke,resource:qe,setextHeading:s(Y),setextHeadingLineSequence:G,setextHeadingText:M,strong:s(),thematicBreak:s()}};$l(e,(t||{}).mdastExtensions||[]);const r={};return n;function n(I){let H={type:"root",children:[]};const J={stack:[H],tokenStack:[],config:e,enter:o,exit:u,buffer:l,resume:h,data:r},ie=[];let he=-1;for(;++he<I.length;)if(I[he][1].type==="listOrdered"||I[he][1].type==="listUnordered")if(I[he][0]==="enter")ie.push(he);else{const it=ie.pop();he=i(I,it,he)}for(he=-1;++he<I.length;){const it=e[I[he][0]];Nl.call(it,I[he][1].type)&&it[I[he][1].type].call(Object.assign({sliceSerialize:I[he][2].sliceSerialize},J),I[he][1])}if(J.tokenStack.length>0){const it=J.tokenStack[J.tokenStack.length-1];(it[1]||Zi).call(J,void 0,it[0])}for(H.position={start:Tt(I.length>0?I[0][1].start:{line:1,column:1,offset:0}),end:Tt(I.length>0?I[I.length-2][1].end:{line:1,column:1,offset:0})},he=-1;++he<e.transforms.length;)H=e.transforms[he](H)||H;return H}function i(I,H,J){let ie=H-1,he=-1,it=!1,Lt,dt,fr,dr;for(;++ie<=J;){const Ve=I[ie];switch(Ve[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ve[0]==="enter"?he++:he--,dr=void 0;break}case"lineEndingBlank":{Ve[0]==="enter"&&(Lt&&!dr&&!he&&!fr&&(fr=ie),dr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:dr=void 0}if(!he&&Ve[0]==="enter"&&Ve[1].type==="listItemPrefix"||he===-1&&Ve[0]==="exit"&&(Ve[1].type==="listUnordered"||Ve[1].type==="listOrdered")){if(Lt){let Zt=ie;for(dt=void 0;Zt--;){const gt=I[Zt];if(gt[1].type==="lineEnding"||gt[1].type==="lineEndingBlank"){if(gt[0]==="exit")continue;dt&&(I[dt][1].type="lineEndingBlank",it=!0),gt[1].type="lineEnding",dt=Zt}else if(!(gt[1].type==="linePrefix"||gt[1].type==="blockQuotePrefix"||gt[1].type==="blockQuotePrefixWhitespace"||gt[1].type==="blockQuoteMarker"||gt[1].type==="listItemIndent"))break}fr&&(!dt||fr<dt)&&(Lt._spread=!0),Lt.end=Object.assign({},dt?I[dt][1].start:Ve[1].end),I.splice(dt||ie,0,["exit",Lt,Ve[2]]),ie++,J++}if(Ve[1].type==="listItemPrefix"){const Zt={type:"listItem",_spread:!1,start:Object.assign({},Ve[1].start),end:void 0};Lt=Zt,I.splice(ie,0,["enter",Zt,Ve[2]]),ie++,J++,fr=void 0,dr=!0}}}return I[H][1]._spread=it,J}function a(I,H){return J;function J(ie){o.call(this,I(ie),ie),H&&H.call(this,ie)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(I,H,J){this.stack[this.stack.length-1].children.push(I),this.stack.push(I),this.tokenStack.push([H,J||void 0]),I.position={start:Tt(H.start),end:void 0}}function s(I){return H;function H(J){I&&I.call(this,J),u.call(this,J)}}function u(I,H){const J=this.stack.pop(),ie=this.tokenStack.pop();if(ie)ie[0].type!==I.type&&(H?H.call(this,I,ie[0]):(ie[1]||Zi).call(this,I,ie[0]));else throw new Error("Cannot close `"+I.type+"` ("+wr({start:I.start,end:I.end})+"): it’s not open");J.position.end=Tt(I.end)}function h(){return Q0(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function d(I){if(this.data.expectingFirstListItemValue){const H=this.stack[this.stack.length-2];H.start=Number.parseInt(this.sliceSerialize(I),10),this.data.expectingFirstListItemValue=void 0}}function f(){const I=this.resume(),H=this.stack[this.stack.length-1];H.lang=I}function y(){const I=this.resume(),H=this.stack[this.stack.length-1];H.meta=I}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const I=this.resume(),H=this.stack[this.stack.length-1];H.value=I.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const I=this.resume(),H=this.stack[this.stack.length-1];H.value=I.replace(/(\r?\n|\r)$/g,"")}function z(I){const H=this.resume(),J=this.stack[this.stack.length-1];J.label=H,J.identifier=at(this.sliceSerialize(I)).toLowerCase()}function D(){const I=this.resume(),H=this.stack[this.stack.length-1];H.title=I}function q(){const I=this.resume(),H=this.stack[this.stack.length-1];H.url=I}function P(I){const H=this.stack[this.stack.length-1];if(!H.depth){const J=this.sliceSerialize(I).length;H.depth=J}}function M(){this.data.setextHeadingSlurpLineEnding=!0}function G(I){const H=this.stack[this.stack.length-1];H.depth=this.sliceSerialize(I).codePointAt(0)===61?1:2}function Y(){this.data.setextHeadingSlurpLineEnding=void 0}function U(I){const J=this.stack[this.stack.length-1].children;let ie=J[J.length-1];(!ie||ie.type!=="text")&&(ie=$r(),ie.position={start:Tt(I.start),end:void 0},J.push(ie)),this.stack.push(ie)}function E(I){const H=this.stack.pop();H.value+=this.sliceSerialize(I),H.position.end=Tt(I.end)}function W(I){const H=this.stack[this.stack.length-1];if(this.data.atHardBreak){const J=H.children[H.children.length-1];J.position.end=Tt(I.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(H.type)&&(U.call(this,I),E.call(this,I))}function j(){this.data.atHardBreak=!0}function se(){const I=this.resume(),H=this.stack[this.stack.length-1];H.value=I}function Z(){const I=this.resume(),H=this.stack[this.stack.length-1];H.value=I}function $(){const I=this.resume(),H=this.stack[this.stack.length-1];H.value=I}function le(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=H,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function ge(){const I=this.stack[this.stack.length-1];if(this.data.inReference){const H=this.data.referenceType||"shortcut";I.type+="Reference",I.referenceType=H,delete I.url,delete I.title}else delete I.identifier,delete I.label;this.data.referenceType=void 0}function De(I){const H=this.sliceSerialize(I),J=this.stack[this.stack.length-2];J.label=fc(H),J.identifier=at(H).toLowerCase()}function Ue(){const I=this.stack[this.stack.length-1],H=this.resume(),J=this.stack[this.stack.length-1];if(this.data.inReference=!0,J.type==="link"){const ie=I.children;J.children=ie}else J.alt=H}function S(){const I=this.resume(),H=this.stack[this.stack.length-1];H.url=I}function ke(){const I=this.resume(),H=this.stack[this.stack.length-1];H.title=I}function qe(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function Ie(I){const H=this.resume(),J=this.stack[this.stack.length-1];J.label=H,J.identifier=at(this.sliceSerialize(I)).toLowerCase(),this.data.referenceType="full"}function lt(I){this.data.characterReferenceType=I.type}function Ce(I){const H=this.sliceSerialize(I),J=this.data.characterReferenceType;let ie;J?(ie=Dl(H,J==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ie=J0(H);const he=this.stack[this.stack.length-1];he.value+=ie}function Je(I){const H=this.stack.pop();H.position.end=Tt(I.end)}function nt(I){E.call(this,I);const H=this.stack[this.stack.length-1];H.url=this.sliceSerialize(I)}function Ge(I){E.call(this,I);const H=this.stack[this.stack.length-1];H.url="mailto:"+this.sliceSerialize(I)}function ft(){return{type:"blockquote",children:[]}}function qt(){return{type:"code",lang:null,meta:null,value:""}}function Or(){return{type:"inlineCode",value:""}}function Xt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yt(){return{type:"emphasis",children:[]}}function Lr(){return{type:"heading",depth:0,children:[]}}function Rr(){return{type:"break"}}function Pr(){return{type:"html",value:""}}function Nr(){return{type:"image",title:null,url:"",alt:null}}function mr(){return{type:"link",title:null,url:"",children:[]}}function Ot(I){return{type:"list",ordered:I.type==="listOrdered",start:null,spread:I._spread,children:[]}}function Fn(I){return{type:"listItem",spread:I._spread,checked:null,children:[]}}function qn(){return{type:"paragraph",children:[]}}function pr(){return{type:"strong",children:[]}}function $r(){return{type:"text",value:""}}function Hr(){return{type:"thematicBreak"}}}function Tt(t){return{line:t.line,column:t.column,offset:t.offset}}function $l(t,e){let r=-1;for(;++r<e.length;){const n=e[r];Array.isArray(n)?$l(t,n):yc(t,n)}}function yc(t,e){let r;for(r in e)if(Nl.call(e,r))switch(r){case"canContainEols":{const n=e[r];n&&t[r].push(...n);break}case"transforms":{const n=e[r];n&&t[r].push(...n);break}case"enter":case"exit":{const n=e[r];n&&Object.assign(t[r],n);break}}}function Zi(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+wr({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+wr({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+wr({start:e.start,end:e.end})+") is still open")}function xc(t){const e=this;e.parser=r;function r(n){return gc(n,{...e.data("settings"),...t,extensions:e.data("micromarkExtensions")||[],mdastExtensions:e.data("fromMarkdownExtensions")||[]})}}function bc(t,e){const r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,r),t.applyData(e,r)}function wc(t,e){const r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,r),[t.applyData(e,r),{type:"text",value:`
5
+ `}]}function kc(t,e){const r=e.value?e.value+`
6
+ `:"",n={},i=e.lang?e.lang.split(/\s+/):[];i.length>0&&(n.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return e.meta&&(a.data={meta:e.meta}),t.patch(e,a),a=t.applyData(e,a),a={type:"element",tagName:"pre",properties:{},children:[a]},t.patch(e,a),a}function Sc(t,e){const r={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Ac(t,e){const r={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Tc(t,e){const r=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",n=String(e.identifier).toUpperCase(),i=or(n.toLowerCase()),a=t.footnoteOrder.indexOf(n);let l,o=t.footnoteCounts.get(n);o===void 0?(o=0,t.footnoteOrder.push(n),l=t.footnoteOrder.length):l=a+1,o+=1,t.footnoteCounts.set(n,o);const s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};t.patch(e,s);const u={type:"element",tagName:"sup",properties:{},children:[s]};return t.patch(e,u),t.applyData(e,u)}function zc(t,e){const r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Cc(t,e){if(t.options.allowDangerousHtml){const r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}}function Hl(t,e){const r=e.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return[{type:"text",value:"!["+e.alt+n}];const i=t.all(e),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=n:i.push({type:"text",value:n}),i}function Mc(t,e){const r=String(e.identifier).toUpperCase(),n=t.definitionById.get(r);if(!n)return Hl(t,e);const i={src:or(n.url||""),alt:e.alt};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"img",properties:i,children:[]};return t.patch(e,a),t.applyData(e,a)}function Ec(t,e){const r={src:or(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);const n={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,n),t.applyData(e,n)}function Dc(t,e){const r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,n),t.applyData(e,n)}function Ic(t,e){const r=String(e.identifier).toUpperCase(),n=t.definitionById.get(r);if(!n)return Hl(t,e);const i={href:or(n.url||"")};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"a",properties:i,children:t.all(e)};return t.patch(e,a),t.applyData(e,a)}function _c(t,e){const r={href:or(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);const n={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function Bc(t,e,r){const n=t.all(e),i=r?Fc(r):jl(e),a={},l=[];if(typeof e.checked=="boolean"){const h=n[0];let m;h&&h.type==="element"&&h.tagName==="p"?m=h:(m={type:"element",tagName:"p",properties:{},children:[]},n.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const h=n[o];(i||o!==0||h.type!=="element"||h.tagName!=="p")&&l.push({type:"text",value:`
7
+ `}),h.type==="element"&&h.tagName==="p"&&!i?l.push(...h.children):l.push(h)}const s=n[n.length-1];s&&(i||s.type!=="element"||s.tagName!=="p")&&l.push({type:"text",value:`
8
+ `});const u={type:"element",tagName:"li",properties:a,children:l};return t.patch(e,u),t.applyData(e,u)}function Fc(t){let e=!1;if(t.type==="list"){e=t.spread||!1;const r=t.children;let n=-1;for(;!e&&++n<r.length;)e=jl(r[n])}return e}function jl(t){const e=t.spread;return e??t.children.length>1}function qc(t,e){const r={},n=t.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++i<n.length;){const l=n[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const a={type:"element",tagName:e.ordered?"ol":"ul",properties:r,children:t.wrap(n,!0)};return t.patch(e,a),t.applyData(e,a)}function Oc(t,e){const r={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Lc(t,e){const r={type:"root",children:t.wrap(t.all(e))};return t.patch(e,r),t.applyData(e,r)}function Rc(t,e){const r={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Pc(t,e){const r=t.all(e),n=r.shift(),i=[];if(n){const l={type:"element",tagName:"thead",properties:{},children:t.wrap([n],!0)};t.patch(e.children[0],l),i.push(l)}if(r.length>0){const l={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},o=X0(e.children[1]),s=kl(e.children[e.children.length-1]);o&&s&&(l.position={start:o,end:s}),i.push(l)}const a={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,a),t.applyData(e,a)}function Nc(t,e,r){const n=r?r.children:void 0,a=(n?n.indexOf(e):1)===0?"th":"td",l=r&&r.type==="table"?r.align:void 0,o=l?l.length:e.children.length;let s=-1;const u=[];for(;++s<o;){const m=e.children[s],d={},f=l?l[s]:void 0;f&&(d.align=f);let y={type:"element",tagName:a,properties:d,children:[]};m&&(y.children=t.all(m),t.patch(m,y),y=t.applyData(m,y)),u.push(y)}const h={type:"element",tagName:"tr",properties:{},children:t.wrap(u,!0)};return t.patch(e,h),t.applyData(e,h)}function $c(t,e){const r={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}const Ki=9,Qi=32;function Hc(t){const e=String(t),r=/\r?\n|\r/g;let n=r.exec(e),i=0;const a=[];for(;n;)a.push(Ji(e.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(e);return a.push(Ji(e.slice(i),i>0,!1)),a.join("")}function Ji(t,e,r){let n=0,i=t.length;if(e){let a=t.codePointAt(n);for(;a===Ki||a===Qi;)n++,a=t.codePointAt(n)}if(r){let a=t.codePointAt(i-1);for(;a===Ki||a===Qi;)i--,a=t.codePointAt(i-1)}return i>n?t.slice(n,i):""}function jc(t,e){const r={type:"text",value:Hc(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function Uc(t,e){const r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}const Gc={blockquote:bc,break:wc,code:kc,delete:Sc,emphasis:Ac,footnoteReference:Tc,heading:zc,html:Cc,imageReference:Mc,image:Ec,inlineCode:Dc,linkReference:Ic,link:_c,listItem:Bc,list:qc,paragraph:Oc,root:Lc,strong:Rc,table:Pc,tableCell:$c,tableRow:Nc,text:jc,thematicBreak:Uc,toml:jr,yaml:jr,definition:jr,footnoteDefinition:jr};function jr(){}const Ul=-1,yn=0,Sr=1,ln=2,ti=3,ri=4,ni=5,ii=6,Gl=7,Vl=8,Vc=typeof self=="object"?self:globalThis,ea=(t,e)=>{switch(t){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+t)}return new Vc[t](e)},Wc=(t,e)=>{const r=(i,a)=>(t.set(a,i),i),n=i=>{if(t.has(i))return t.get(i);const[a,l]=e[i];switch(a){case yn:case Ul:return r(l,i);case Sr:{const o=r([],i);for(const s of l)o.push(n(s));return o}case ln:{const o=r({},i);for(const[s,u]of l)o[n(s)]=n(u);return o}case ti:return r(new Date(l),i);case ri:{const{source:o,flags:s}=l;return r(new RegExp(o,s),i)}case ni:{const o=r(new Map,i);for(const[s,u]of l)o.set(n(s),n(u));return o}case ii:{const o=r(new Set,i);for(const s of l)o.add(n(s));return o}case Gl:{const{name:o,message:s}=l;return r(ea(o,s),i)}case Vl:return r(BigInt(l),i);case"BigInt":return r(Object(BigInt(l)),i);case"ArrayBuffer":return r(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:o}=new Uint8Array(l);return r(new DataView(o),l)}}return r(ea(a,l),i)};return n},ta=t=>Wc(new Map,t)(0),$t="",{toString:Xc}={},{keys:Yc}=Object,xr=t=>{const e=typeof t;if(e!=="object"||!t)return[yn,e];const r=Xc.call(t).slice(8,-1);switch(r){case"Array":return[Sr,$t];case"Object":return[ln,$t];case"Date":return[ti,$t];case"RegExp":return[ri,$t];case"Map":return[ni,$t];case"Set":return[ii,$t];case"DataView":return[Sr,r]}return r.includes("Array")?[Sr,r]:r.includes("Error")?[Gl,r]:[ln,r]},Ur=([t,e])=>t===yn&&(e==="function"||e==="symbol"),Zc=(t,e,r,n)=>{const i=(l,o)=>{const s=n.push(l)-1;return r.set(o,s),s},a=l=>{if(r.has(l))return r.get(l);let[o,s]=xr(l);switch(o){case yn:{let h=l;switch(s){case"bigint":o=Vl,h=l.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+s);h=null;break;case"undefined":return i([Ul],l)}return i([o,h],l)}case Sr:{if(s){let d=l;return s==="DataView"?d=new Uint8Array(l.buffer):s==="ArrayBuffer"&&(d=new Uint8Array(l)),i([s,[...d]],l)}const h=[],m=i([o,h],l);for(const d of l)h.push(a(d));return m}case ln:{if(s)switch(s){case"BigInt":return i([s,l.toString()],l);case"Boolean":case"Number":case"String":return i([s,l.valueOf()],l)}if(e&&"toJSON"in l)return a(l.toJSON());const h=[],m=i([o,h],l);for(const d of Yc(l))(t||!Ur(xr(l[d])))&&h.push([a(d),a(l[d])]);return m}case ti:return i([o,isNaN(l.getTime())?$t:l.toISOString()],l);case ri:{const{source:h,flags:m}=l;return i([o,{source:h,flags:m}],l)}case ni:{const h=[],m=i([o,h],l);for(const[d,f]of l)(t||!(Ur(xr(d))||Ur(xr(f))))&&h.push([a(d),a(f)]);return m}case ii:{const h=[],m=i([o,h],l);for(const d of l)(t||!Ur(xr(d)))&&h.push(a(d));return m}}const{message:u}=l;return i([o,{name:s,message:u}],l)};return a},ra=(t,{json:e,lossy:r}={})=>{const n=[];return Zc(!(e||r),!!e,new Map,n)(t),n},on=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?ta(ra(t,e)):structuredClone(t):(t,e)=>ta(ra(t,e));function Kc(t,e){const r=[{type:"text",value:"↩"}];return e>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(e)}]}),r}function Qc(t,e){return"Back to reference "+(t+1)+(e>1?"-"+e:"")}function Jc(t){const e=typeof t.options.clobberPrefix=="string"?t.options.clobberPrefix:"user-content-",r=t.options.footnoteBackContent||Kc,n=t.options.footnoteBackLabel||Qc,i=t.options.footnoteLabel||"Footnotes",a=t.options.footnoteLabelTagName||"h2",l=t.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let s=-1;for(;++s<t.footnoteOrder.length;){const u=t.footnoteById.get(t.footnoteOrder[s]);if(!u)continue;const h=t.all(u),m=String(u.identifier).toUpperCase(),d=or(m.toLowerCase());let f=0;const y=[],w=t.footnoteCounts.get(m);for(;w!==void 0&&++f<=w;){y.length>0&&y.push({type:"text",value:" "});let z=typeof r=="string"?r:r(s,f);typeof z=="string"&&(z={type:"text",value:z}),y.push({type:"element",tagName:"a",properties:{href:"#"+e+"fnref-"+d+(f>1?"-"+f:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(s,f),className:["data-footnote-backref"]},children:Array.isArray(z)?z:[z]})}const C=h[h.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const z=C.children[C.children.length-1];z&&z.type==="text"?z.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...y)}else h.push(...y);const k={type:"element",tagName:"li",properties:{id:e+"fn-"+d},children:t.wrap(h,!0)};t.patch(u,k),o.push(k)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...on(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
9
+ `},{type:"element",tagName:"ol",properties:{},children:t.wrap(o,!0)},{type:"text",value:`
10
+ `}]}}const _r=(function(t){if(t==null)return nh;if(typeof t=="function")return xn(t);if(typeof t=="object")return Array.isArray(t)?eh(t):th(t);if(typeof t=="string")return rh(t);throw new Error("Expected function, string, or object as test")});function eh(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=_r(t[r]);return xn(n);function n(...i){let a=-1;for(;++a<e.length;)if(e[a].apply(this,i))return!0;return!1}}function th(t){const e=t;return xn(r);function r(n){const i=n;let a;for(a in t)if(i[a]!==e[a])return!1;return!0}}function rh(t){return xn(e);function e(r){return r&&r.type===t}}function xn(t){return e;function e(r,n,i){return!!(ih(r)&&t.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function nh(){return!0}function ih(t){return t!==null&&typeof t=="object"&&"type"in t}const Wl=[],ah=!0,k0=!1,Xl="skip";function ai(t,e,r,n){let i;typeof e=="function"&&typeof r!="function"?(n=r,r=e):i=e;const a=_r(i),l=n?-1:1;o(t,void 0,[])();function o(s,u,h){const m=s&&typeof s=="object"?s:{};if(typeof m.type=="string"){const f=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(s.type+(f?"<"+f+">":""))+")"})}return d;function d(){let f=Wl,y,w,C;if((!e||a(s,u,h[h.length-1]||void 0))&&(f=lh(r(s,h)),f[0]===k0))return f;if("children"in s&&s.children){const k=s;if(k.children&&f[0]!==Xl)for(w=(n?k.children.length:-1)+l,C=h.concat(k);w>-1&&w<k.children.length;){const z=k.children[w];if(y=o(z,w,C)(),y[0]===k0)return y;w=typeof y[1]=="number"?y[1]:w+l}}return f}}}function lh(t){return Array.isArray(t)?t:typeof t=="number"?[ah,t]:t==null?Wl:[t]}function li(t,e,r,n){let i,a,l;typeof e=="function"&&typeof r!="function"?(a=void 0,l=e,i=r):(a=e,l=r,i=n),ai(t,a,o,i);function o(s,u){const h=u[u.length-1],m=h?h.children.indexOf(s):void 0;return l(s,m,h)}}const S0={}.hasOwnProperty,oh={};function sh(t,e){const r=e||oh,n=new Map,i=new Map,a=new Map,l={...Gc,...r.handlers},o={all:u,applyData:ch,definitionById:n,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:l,one:s,options:r,patch:uh,wrap:mh};return li(t,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const m=h.type==="definition"?n:i,d=String(h.identifier).toUpperCase();m.has(d)||m.set(d,h)}}),o;function s(h,m){const d=h.type,f=o.handlers[d];if(S0.call(o.handlers,d)&&f)return f(o,h,m);if(o.options.passThrough&&o.options.passThrough.includes(d)){if("children"in h){const{children:w,...C}=h,k=on(C);return k.children=o.all(h),k}return on(h)}return(o.options.unknownHandler||hh)(o,h,m)}function u(h){const m=[];if("children"in h){const d=h.children;let f=-1;for(;++f<d.length;){const y=o.one(d[f],h);if(y){if(f&&d[f-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=na(y.value)),!Array.isArray(y)&&y.type==="element")){const w=y.children[0];w&&w.type==="text"&&(w.value=na(w.value))}Array.isArray(y)?m.push(...y):m.push(y)}}}return m}}function uh(t,e){t.position&&(e.position=Ks(t))}function ch(t,e){let r=e;if(t&&t.data){const n=t.data.hName,i=t.data.hChildren,a=t.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const l="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:l}}r.type==="element"&&a&&Object.assign(r.properties,on(a)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function hh(t,e){const r=e.data||{},n="value"in e&&!(S0.call(r,"hProperties")||S0.call(r,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function mh(t,e){const r=[];let n=-1;for(e&&r.push({type:"text",value:`
11
+ `});++n<t.length;)n&&r.push({type:"text",value:`
12
+ `}),r.push(t[n]);return e&&t.length>0&&r.push({type:"text",value:`
13
+ `}),r}function na(t){let e=0,r=t.charCodeAt(e);for(;r===9||r===32;)e++,r=t.charCodeAt(e);return t.slice(e)}function ia(t,e){const r=sh(t,e),n=r.one(t,void 0),i=Jc(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
14
+ `},i),a}function ph(t,e){return t&&"run"in t?async function(r,n){const i=ia(r,{file:n,...e});await t.run(i,n)}:function(r,n){return ia(r,{file:n,...t||e})}}function aa(t){if(t)throw t}var Hn,la;function fh(){if(la)return Hn;la=1;var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=function(u){return typeof Array.isArray=="function"?Array.isArray(u):e.call(u)==="[object Array]"},a=function(u){if(!u||e.call(u)!=="[object Object]")return!1;var h=t.call(u,"constructor"),m=u.constructor&&u.constructor.prototype&&t.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!h&&!m)return!1;var d;for(d in u);return typeof d>"u"||t.call(u,d)},l=function(u,h){r&&h.name==="__proto__"?r(u,h.name,{enumerable:!0,configurable:!0,value:h.newValue,writable:!0}):u[h.name]=h.newValue},o=function(u,h){if(h==="__proto__")if(t.call(u,h)){if(n)return n(u,h).value}else return;return u[h]};return Hn=function s(){var u,h,m,d,f,y,w=arguments[0],C=1,k=arguments.length,z=!1;for(typeof w=="boolean"&&(z=w,w=arguments[1]||{},C=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});C<k;++C)if(u=arguments[C],u!=null)for(h in u)m=o(w,h),d=o(u,h),w!==d&&(z&&d&&(a(d)||(f=i(d)))?(f?(f=!1,y=m&&i(m)?m:[]):y=m&&a(m)?m:{},l(w,{name:h,newValue:s(z,y,d)})):typeof d<"u"&&l(w,{name:h,newValue:d}));return w},Hn}var dh=fh();const jn=ml(dh);function A0(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function gh(){const t=[],e={run:r,use:n};return e;function r(...i){let a=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);o(null,...i);function o(s,...u){const h=t[++a];let m=-1;if(s){l(s);return}for(;++m<i.length;)(u[m]===null||u[m]===void 0)&&(u[m]=i[m]);i=u,h?vh(h,o)(...u):l(null,...u)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function vh(t,e){let r;return n;function n(...l){const o=t.length>l.length;let s;o&&l.push(i);try{s=t.apply(this,l)}catch(u){const h=u;if(o&&r)throw h;return i(h)}o||(s&&s.then&&typeof s.then=="function"?s.then(a,i):s instanceof Error?i(s):a(s))}function i(l,...o){r||(r=!0,e(l,...o))}function a(l){i(null,l)}}const ot={basename:yh,dirname:xh,extname:bh,join:wh,sep:"/"};function yh(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Br(t);let r=0,n=-1,i=t.length,a;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":t.slice(r,n)}if(e===t)return"";let l=-1,o=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(a){r=i+1;break}}else l<0&&(a=!0,l=i+1),o>-1&&(t.codePointAt(i)===e.codePointAt(o--)?o<0&&(n=i):(o=-1,n=l));return r===n?n=l:n<0&&(n=t.length),t.slice(r,n)}function xh(t){if(Br(t),t.length===0)return".";let e=-1,r=t.length,n;for(;--r;)if(t.codePointAt(r)===47){if(n){e=r;break}}else n||(n=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function bh(t){Br(t);let e=t.length,r=-1,n=0,i=-1,a=0,l;for(;e--;){const o=t.codePointAt(e);if(o===47){if(l){n=e+1;break}continue}r<0&&(l=!0,r=e+1),o===46?i<0?i=e:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":t.slice(i,r)}function wh(...t){let e=-1,r;for(;++e<t.length;)Br(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":kh(r)}function kh(t){Br(t);const e=t.codePointAt(0)===47;let r=Sh(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.codePointAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function Sh(t,e){let r="",n=0,i=-1,a=0,l=-1,o,s;for(;++l<=t.length;){if(l<t.length)o=t.codePointAt(l);else{if(o===47)break;o=47}if(o===47){if(!(i===l-1||a===1))if(i!==l-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(s=r.lastIndexOf("/"),s!==r.length-1){s<0?(r="",n=0):(r=r.slice(0,s),n=r.length-1-r.lastIndexOf("/")),i=l,a=0;continue}}else if(r.length>0){r="",n=0,i=l,a=0;continue}}e&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+t.slice(i+1,l):r=t.slice(i+1,l),n=l-i-1;i=l,a=0}else o===46&&a>-1?a++:a=-1}return r}function Br(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const Ah={cwd:Th};function Th(){return"/"}function T0(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function zh(t){if(typeof t=="string")t=new URL(t);else if(!T0(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Ch(t)}function Ch(t){if(t.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const e=t.pathname;let r=-1;for(;++r<e.length;)if(e.codePointAt(r)===37&&e.codePointAt(r+1)===50){const n=e.codePointAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const Un=["history","path","basename","stem","extname","dirname"];class Yl{constructor(e){let r;e?T0(e)?r={path:e}:typeof e=="string"||Mh(e)?r={value:e}:r=e:r={},this.cwd="cwd"in r?"":Ah.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Un.length;){const a=Un[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Un.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?ot.basename(this.path):void 0}set basename(e){Vn(e,"basename"),Gn(e,"basename"),this.path=ot.join(this.dirname||"",e)}get dirname(){return typeof this.path=="string"?ot.dirname(this.path):void 0}set dirname(e){oa(this.basename,"dirname"),this.path=ot.join(e||"",this.basename)}get extname(){return typeof this.path=="string"?ot.extname(this.path):void 0}set extname(e){if(Gn(e,"extname"),oa(this.dirname,"extname"),e){if(e.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=ot.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){T0(e)&&(e=zh(e)),Vn(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path=="string"?ot.basename(this.path,this.extname):void 0}set stem(e){Vn(e,"stem"),Gn(e,"stem"),this.path=ot.join(this.dirname||"",e+(this.extname||""))}fail(e,r,n){const i=this.message(e,r,n);throw i.fatal=!0,i}info(e,r,n){const i=this.message(e,r,n);return i.fatal=void 0,i}message(e,r,n){const i=new Fe(e,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(e||void 0).decode(this.value)}}function Gn(t,e){if(t&&t.includes(ot.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+ot.sep+"`")}function Vn(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function oa(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function Mh(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const Eh=(function(t){const n=this.constructor.prototype,i=n[t],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a}),Dh={}.hasOwnProperty;class oi extends Eh{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=gh()}copy(){const e=new oi;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];e.use(...n)}return e.data(jn(!0,{},this.namespace)),e}data(e,r){return typeof e=="string"?arguments.length===2?(Yn("data",this.frozen),this.namespace[e]=r,this):Dh.call(this.namespace,e)&&this.namespace[e]||void 0:e?(Yn("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const i=r.call(e,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const r=Gr(e),n=this.parser||this.Parser;return Wn("parse",n),n(String(r),r)}process(e,r){const n=this;return this.freeze(),Wn("process",this.parser||this.Parser),Xn("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,l){const o=Gr(e),s=n.parse(o);n.run(s,o,function(h,m,d){if(h||!m||!d)return u(h);const f=m,y=n.stringify(f,d);Bh(y)?d.value=y:d.result=y,u(h,d)});function u(h,m){h||!m?l(h):a?a(m):r(void 0,m)}}}processSync(e){let r=!1,n;return this.freeze(),Wn("processSync",this.parser||this.Parser),Xn("processSync",this.compiler||this.Compiler),this.process(e,i),ua("processSync","process",r),n;function i(a,l){r=!0,aa(a),n=l}}run(e,r,n){sa(e),this.freeze();const i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(l,o){const s=Gr(r);i.run(e,s,u);function u(h,m,d){const f=m||e;h?o(h):l?l(f):n(void 0,f,d)}}}runSync(e,r){let n=!1,i;return this.run(e,r,a),ua("runSync","run",n),i;function a(l,o){aa(l),i=o,n=!0}}stringify(e,r){this.freeze();const n=Gr(r),i=this.compiler||this.Compiler;return Xn("stringify",i),sa(e),i(e,n)}use(e,...r){const n=this.attachers,i=this.namespace;if(Yn("use",this.frozen),e!=null)if(typeof e=="function")s(e,r);else if(typeof e=="object")Array.isArray(e)?o(e):l(e);else throw new TypeError("Expected usable value, not `"+e+"`");return this;function a(u){if(typeof u=="function")s(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[h,...m]=u;s(h,m)}else l(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function l(u){if(!("plugins"in u)&&!("settings"in u))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");o(u.plugins),u.settings&&(i.settings=jn(!0,i.settings,u.settings))}function o(u){let h=-1;if(u!=null)if(Array.isArray(u))for(;++h<u.length;){const m=u[h];a(m)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function s(u,h){let m=-1,d=-1;for(;++m<n.length;)if(n[m][0]===u){d=m;break}if(d===-1)n.push([u,...h]);else if(h.length>0){let[f,...y]=h;const w=n[d][1];A0(w)&&A0(f)&&(f=jn(!0,w,f)),n[d]=[u,f,...y]}}}}const Ih=new oi().freeze();function Wn(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function Xn(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function Yn(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function sa(t){if(!A0(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function ua(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function Gr(t){return _h(t)?t:new Yl(t)}function _h(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Bh(t){return typeof t=="string"||Fh(t)}function Fh(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}const qh="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ca=[],ha={allowDangerousHtml:!0},Oh=/^(https?|ircs?|mailto|xmpp)$/i,Lh=[{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 E2(t){const e=Rh(t),r=Ph(t);return Nh(e.runSync(e.parse(r),r),t)}function Rh(t){const e=t.rehypePlugins||ca,r=t.remarkPlugins||ca,n=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...ha}:ha;return Ih().use(xc).use(r).use(ph,n).use(e)}function Ph(t){const e=t.children||"",r=new Yl;return typeof e=="string"&&(r.value=e),r}function Nh(t,e){const r=e.allowedElements,n=e.allowElement,i=e.components,a=e.disallowedElements,l=e.skipHtml,o=e.unwrapDisallowed,s=e.urlTransform||$h;for(const h of Lh)Object.hasOwn(e,h.from)&&(""+h.from+(h.to?"use `"+h.to+"` instead":"remove it")+qh+h.id,void 0);return li(t,u),ru(t,{Fragment:On.Fragment,components:i,ignoreInvalidStyle:!0,jsx:On.jsx,jsxs:On.jsxs,passKeys:!0,passNode:!0});function u(h,m,d){if(h.type==="raw"&&d&&typeof m=="number")return l?d.children.splice(m,1):d.children[m]={type:"text",value:h.value},m;if(h.type==="element"){let f;for(f in Pn)if(Object.hasOwn(Pn,f)&&Object.hasOwn(h.properties,f)){const y=h.properties[f],w=Pn[f];(w===null||w.includes(h.tagName))&&(h.properties[f]=s(String(y||""),f,h))}}if(h.type==="element"){let f=r?!r.includes(h.tagName):a?a.includes(h.tagName):!1;if(!f&&n&&typeof m=="number"&&(f=!n(h,m,d)),f&&d&&typeof m=="number")return o&&h.children?d.children.splice(m,1,...h.children):d.children.splice(m,1),m}}}function $h(t){const e=t.indexOf(":"),r=t.indexOf("?"),n=t.indexOf("#"),i=t.indexOf("/");return e===-1||i!==-1&&e>i||r!==-1&&e>r||n!==-1&&e>n||Oh.test(t.slice(0,e))?t:""}function Zl(t,e){const r=String(t);let n=r.indexOf(e),i=n,a=0,l=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===i?++a>l&&(l=a):a=1,i=n+e.length,n=r.indexOf(e,i);return l}function Hh(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:l,mathTextData:o}};function t(s){const u={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[u]}},s)}function e(){this.buffer()}function r(){const s=this.resume(),u=this.stack[this.stack.length-1];u.type,u.meta=s}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(s){const u=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h=this.stack[this.stack.length-1];h.type,this.exit(s),h.value=u;const m=h.data.hChildren[0];m.type,m.tagName,m.children.push({type:"text",value:u}),this.data.mathFlowInside=void 0}function a(s){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},s),this.buffer()}function l(s){const u=this.resume(),h=this.stack[this.stack.length-1];h.type,this.exit(s),h.value=u,h.data.hChildren.push({type:"text",value:u})}function o(s){this.config.enter.data.call(this,s),this.config.exit.data.call(this,s)}}function jh(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
15
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(a,l,o,s){const u=a.value||"",h=o.createTracker(s),m="$".repeat(Math.max(Zl(u,"$")+1,2)),d=o.enter("mathFlow");let f=h.move(m);if(a.meta){const y=o.enter("mathFlowMeta");f+=h.move(o.safe(a.meta,{after:`
16
+ `,before:f,encode:["$"],...h.current()})),y()}return f+=h.move(`
17
+ `),u&&(f+=h.move(u+`
18
+ `)),f+=h.move(m),d(),f}function n(a,l,o){let s=a.value||"",u=1;for(e||u++;new RegExp("(^|[^$])"+"\\$".repeat(u)+"([^$]|$)").test(s);)u++;const h="$".repeat(u);/[^ \r\n]/.test(s)&&(/^[ \r\n]/.test(s)&&/[ \r\n]$/.test(s)||/^\$|\$$/.test(s))&&(s=" "+s+" ");let m=-1;for(;++m<o.unsafe.length;){const d=o.unsafe[m];if(!d.atBreak)continue;const f=o.compilePattern(d);let y;for(;y=f.exec(s);){let w=y.index;s.codePointAt(w)===10&&s.codePointAt(w-1)===13&&w--,s=s.slice(0,w)+" "+s.slice(y.index+1)}}return h+s+h}function i(){return"$"}}const Uh={tokenize:Gh,concrete:!0,name:"mathFlow"},ma={tokenize:Vh,partial:!0};function Gh(t,e,r){const n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let l=0;return o;function o(z){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),s(z)}function s(z){return z===36?(t.consume(z),l++,s):l<2?r(z):(t.exit("mathFlowFenceSequence"),ae(t,u,"whitespace")(z))}function u(z){return z===null||K(z)?m(z):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),h(z))}function h(z){return z===null||K(z)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),m(z)):z===36?r(z):(t.consume(z),h)}function m(z){return t.exit("mathFlowFence"),n.interrupt?e(z):t.attempt(ma,d,C)(z)}function d(z){return t.attempt({tokenize:k,partial:!0},C,f)(z)}function f(z){return(a?ae(t,y,"linePrefix",a+1):y)(z)}function y(z){return z===null?C(z):K(z)?t.attempt(ma,d,C)(z):(t.enter("mathFlowValue"),w(z))}function w(z){return z===null||K(z)?(t.exit("mathFlowValue"),y(z)):(t.consume(z),w)}function C(z){return t.exit("mathFlow"),e(z)}function k(z,D,q){let P=0;return ae(z,M,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function M(U){return z.enter("mathFlowFence"),z.enter("mathFlowFenceSequence"),G(U)}function G(U){return U===36?(P++,z.consume(U),G):P<l?q(U):(z.exit("mathFlowFenceSequence"),ae(z,Y,"whitespace")(U))}function Y(U){return U===null||K(U)?(z.exit("mathFlowFence"),D(U)):q(U)}}}function Vh(t,e,r){const n=this;return i;function i(l){return l===null?e(l):(t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),a)}function a(l){return n.parser.lazy[n.now().line]?r(l):e(l)}}function Wh(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Xh,previous:Yh,name:"mathText"};function n(i,a,l){let o=0,s,u;return h;function h(w){return i.enter("mathText"),i.enter("mathTextSequence"),m(w)}function m(w){return w===36?(i.consume(w),o++,m):o<2&&!r?l(w):(i.exit("mathTextSequence"),d(w))}function d(w){return w===null?l(w):w===36?(u=i.enter("mathTextSequence"),s=0,y(w)):w===32?(i.enter("space"),i.consume(w),i.exit("space"),d):K(w)?(i.enter("lineEnding"),i.consume(w),i.exit("lineEnding"),d):(i.enter("mathTextData"),f(w))}function f(w){return w===null||w===32||w===36||K(w)?(i.exit("mathTextData"),d(w)):(i.consume(w),f)}function y(w){return w===36?(i.consume(w),s++,y):s===o?(i.exit("mathTextSequence"),i.exit("mathText"),a(w)):(u.type="mathTextData",f(w))}}}function Xh(t){let e=t.length-4,r=3,n,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[r][1].type="mathTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)i===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(i=n):(n===e||t[n][1].type==="lineEnding")&&(t[i][1].type="mathTextData",n!==i+2&&(t[i][1].end=t[n-1][1].end,t.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return t}function Yh(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Zh(t){return{flow:{36:Uh},text:{36:Wh(t)}}}class O extends Error{constructor(e,r){var n="KaTeX parse error: "+e,i,a,l=r&&r.loc;if(l&&l.start<=l.end){var o=l.lexer.input;i=l.start,a=l.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var s=o.slice(i,a).replace(/[^]/g,"$&̲"),u;i>15?u="…"+o.slice(i-15,i):u=o.slice(0,i);var h;a+15<o.length?h=o.slice(a,a+15)+"…":h=o.slice(a),n+=u+s+h}super(n),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,O.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=e}}var Kh=/([A-Z])/g,Qh=t=>t.replace(Kh,"-$1").toLowerCase(),Jh={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},e4=/[&><"']/g,Be=t=>String(t).replace(e4,e=>Jh[e]),rn=t=>t.type==="ordgroup"||t.type==="color"?t.body.length===1?rn(t.body[0]):t:t.type==="font"?rn(t.body):t,t4=new Set(["mathord","textord","atom"]),wt=t=>t4.has(rn(t).type),r4=t=>{var e=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},sn={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function n4(t){if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function i4(t){if(t.default!==void 0)return t.default;var e=Array.isArray(t.type)?t.type[0]:t.type;return n4(e)}function a4(t,e,r,n){var i=r[e];t[e]=i!==void 0?n.processor?n.processor(i):i:i4(n)}class si{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r of Object.keys(sn)){var n=sn[r];n&&a4(this,r,e,n)}}reportNonstrict(e,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new O("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var i=this.strict;if(typeof i=="function")try{i=i(e,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var r=r4(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class zt{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return st[l4[this.id]]}sub(){return st[o4[this.id]]}fracNum(){return st[s4[this.id]]}fracDen(){return st[u4[this.id]]}cramp(){return st[c4[this.id]]}text(){return st[h4[this.id]]}isTight(){return this.size>=2}}var ui=0,un=1,er=2,xt=3,Cr=4,tt=5,rr=6,Pe=7,st=[new zt(ui,0,!1),new zt(un,0,!0),new zt(er,1,!1),new zt(xt,1,!0),new zt(Cr,2,!1),new zt(tt,2,!0),new zt(rr,3,!1),new zt(Pe,3,!0)],l4=[Cr,tt,Cr,tt,rr,Pe,rr,Pe],o4=[tt,tt,tt,tt,Pe,Pe,Pe,Pe],s4=[er,xt,Cr,tt,rr,Pe,rr,Pe],u4=[xt,xt,tt,tt,Pe,Pe,Pe,Pe],c4=[un,un,xt,xt,tt,tt,Pe,Pe],h4=[ui,un,er,xt,er,xt,er,xt],re={DISPLAY:st[ui],TEXT:st[er],SCRIPT:st[Cr],SCRIPTSCRIPT:st[rr]},z0=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function m4(t){for(var e=0;e<z0.length;e++)for(var r=z0[e],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(t>=i[0]&&t<=i[1])return r.name}return null}var nn=[];z0.forEach(t=>t.blocks.forEach(e=>nn.push(...e)));function Kl(t){for(var e=0;e<nn.length;e+=2)if(t>=nn[e]&&t<=nn[e+1])return!0;return!1}var Me=t=>t+" "+t,Qt=80,p4=function(e,r){return"M95,"+(622+e+r)+`
19
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
20
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
21
+ c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
22
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
23
+ c69,-144,104.5,-217.7,106.5,-221
24
+ l`+e/2.075+" -"+e+`
25
+ c5.3,-9.3,12,-14,20,-14
26
+ H400000v`+(40+e)+`H845.2724
27
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
28
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
29
+ M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},f4=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119
30
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
31
+ c340,-704.7,510.7,-1060.3,512,-1067
32
+ l`+e/2.084+" -"+e+`
33
+ c4.7,-7.3,11,-11,19,-11
34
+ H40000v`+(40+e)+`H1012.3
35
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
36
+ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
37
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
38
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
39
+ M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},d4=function(e,r){return"M983 "+(10+e+r)+`
40
+ l`+e/3.13+" -"+e+`
41
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
42
+ H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
43
+ s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
44
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
45
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
46
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
47
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
48
+ M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},g4=function(e,r){return"M424,"+(2398+e+r)+`
49
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
50
+ c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
51
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
52
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
53
+ l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
54
+ v`+(40+e)+`H1014.6
55
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
56
+ c-2,6,-10,9,-24,9
57
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+`
58
+ h400000v`+(40+e)+"h-400000z"},v4=function(e,r){return"M473,"+(2713+e+r)+`
59
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
60
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
61
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
62
+ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
63
+ c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
64
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
65
+ 606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},y4=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},x4=function(e,r,n){var i=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+`
66
+ H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
67
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
68
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
69
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},b4=function(e,r,n){r=1e3*r;var i="";switch(e){case"sqrtMain":i=p4(r,Qt);break;case"sqrtSize1":i=f4(r,Qt);break;case"sqrtSize2":i=d4(r,Qt);break;case"sqrtSize3":i=g4(r,Qt);break;case"sqrtSize4":i=v4(r,Qt);break;case"sqrtTall":i=x4(r,Qt,n)}return i},w4=function(e,r){switch(e){case"⎜":return Me("M291 0 H417 V"+r+" H291z");case"∣":return Me("M145 0 H188 V"+r+" H145z");case"∥":return Me("M145 0 H188 V"+r+" H145z")+Me("M367 0 H410 V"+r+" H367z");case"⎟":return Me("M457 0 H583 V"+r+" H457z");case"⎢":return Me("M319 0 H403 V"+r+" H319z");case"⎥":return Me("M263 0 H347 V"+r+" H263z");case"⎪":return Me("M384 0 H504 V"+r+" H384z");case"⏐":return Me("M312 0 H355 V"+r+" H312z");case"‖":return Me("M257 0 H300 V"+r+" H257z")+Me("M478 0 H521 V"+r+" H478z");default:return""}},pa={doubleleftarrow:`M262 157
70
+ l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
71
+ 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
72
+ 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
73
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
74
+ 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
75
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
76
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
77
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
78
+ -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
79
+ 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
80
+ -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
81
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
82
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
83
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
84
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
85
+ 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
86
+ -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
87
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
88
+ 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
89
+ 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
90
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
91
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
92
+ 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
93
+ 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
94
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
95
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
96
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
97
+ 435 0h399565z`,leftgroupunder:`M400000 262
98
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
99
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
100
+ -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
101
+ -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
102
+ -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
103
+ 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
104
+ -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
105
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
106
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
107
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
108
+ 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
109
+ -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
110
+ 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
111
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
112
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
113
+ -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
114
+ -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
115
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:Me("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:Me("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:Me("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:Me("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
116
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
117
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
118
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Me("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
119
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
120
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
121
+ 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
122
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
123
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
124
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
125
+ 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
126
+ -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
127
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
128
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
129
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
130
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
131
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
132
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
133
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
134
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
135
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
136
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
137
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
138
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
139
+ -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
140
+ 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
141
+ 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
142
+ -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
143
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
144
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
145
+ -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
146
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
147
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
148
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
149
+ -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
150
+ 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
151
+ 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
152
+ -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
153
+ -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
154
+ 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
155
+ -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
156
+ 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
157
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
158
+ 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
159
+ -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
160
+ -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
161
+ 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
162
+ 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
163
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
164
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
165
+ 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
166
+ -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
167
+ 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:Me("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:Me("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:Me("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
168
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
169
+ -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
170
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
171
+ 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
172
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
173
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
174
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
175
+ 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
176
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
177
+ 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
178
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
179
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
180
+ 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
181
+ -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
182
+ 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
183
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
184
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
185
+ -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
186
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
187
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
188
+ 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
189
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
190
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
191
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
192
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
193
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
194
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
195
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
196
+ -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
197
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
198
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
199
+ -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
200
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
201
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
202
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
203
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
204
+ -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
205
+ -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
206
+ -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
207
+ -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
208
+ -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
209
+ -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
210
+ -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
211
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
212
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
213
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
214
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
215
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
216
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
217
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
218
+ -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
219
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
220
+ -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
221
+ -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
222
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
223
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
224
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
225
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
226
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
227
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
228
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
229
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
230
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
231
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
232
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
233
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
234
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
235
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
236
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
237
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
238
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
239
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
240
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},k4=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 v84 h347 v-84
241
+ H403z M403 1759 V0 H319 V1759 v`+r+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
242
+ M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
243
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
244
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
245
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
246
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
247
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
248
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
249
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
250
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
251
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
252
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
253
+ M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
254
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
255
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
256
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
257
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
258
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
259
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
260
+ -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
261
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
262
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
263
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
264
+ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
265
+ c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
266
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
267
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
268
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};function S4(t){return"toText"in t}class sr{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){for(var e="",r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){return this.children.map(e=>{if(S4(e))return e.toText();throw new Error("Expected MathDomNode with toText, got "+e.constructor.name)}).join("")}}var C0={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},A4={ex:!0,em:!0,mu:!0},Ql=function(e){return typeof e!="string"&&(e=e.unit),e in C0||e in A4||e==="ex"},be=function(e,r){var n;if(e.unit in C0)n=C0[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,e.unit==="ex")n=i.fontMetrics().xHeight;else if(e.unit==="em")n=i.fontMetrics().quad;else throw new O("Invalid unit: '"+e.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},N=function(e){return+e.toFixed(4)+"em"},Et=function(e){return e.filter(r=>r).join(" ")},ci=function(e){var r="";for(var n of Object.keys(e)){var i=e[n];i!==void 0&&(r+=Qh(n)+":"+i+";")}return r},Jl=function(e,r,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},eo=function(e){var r=document.createElement(e);r.className=Et(this.classes),Object.assign(r.style,this.style);for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},T4=/[\s"'>/=\x00-\x1f]/,to=function(e){var r="<"+e;this.classes.length&&(r+=' class="'+Be(Et(this.classes))+'"');var n=ci(this.style);n&&(r+=' style="'+Be(n)+'"');for(var i of Object.keys(this.attributes)){if(T4.test(i))throw new O("Invalid attribute name '"+i+"'");r+=" "+i+'="'+Be(this.attributes[i])+'"'}r+=">";for(var a=0;a<this.children.length;a++)r+=this.children[a].toMarkup();return r+="</"+e+">",r};class ur{constructor(e,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,Jl.call(this,e,n,i),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return this.classes.includes(e)}toNode(){return eo.call(this,"span")}toMarkup(){return to.call(this,"span")}}class bn{constructor(e,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Jl.call(this,r,i),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return this.classes.includes(e)}toNode(){return eo.call(this,"a")}toMarkup(){return to.call(this,"a")}}class z4{constructor(e,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");return e.src=this.src,e.alt=this.alt,e.className="mord",Object.assign(e.style,this.style),e}toMarkup(){var e='<img src="'+Be(this.src)+'"'+(' alt="'+Be(this.alt)+'"'),r=ci(this.style);return r&&(e+=' style="'+Be(r)+'"'),e+="'/>",e}}var C4={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Ze{constructor(e,r,n,i,a,l,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=l||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var u=m4(this.text.charCodeAt(0));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=C4[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),r=null;return this.italic>0&&(r=document.createElement("span"),r.style.marginRight=N(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Et(this.classes)),Object.keys(this.style).length>0&&(r=r||document.createElement("span"),Object.assign(r.style,this.style)),r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=Be(Et(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+N(this.italic)+";"),n+=ci(this.style),n&&(e=!0,r+=' style="'+Be(n)+'"');var i=Be(this.text);return e?(r+=">",r+=i,r+="</span>",r):i}}class bt{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))e+=" "+r+'="'+Be(this.attributes[r])+'"';e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>",e}}class Dt{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",pa[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Be(this.alternate)+'"/>':'<path d="'+Be(pa[this.pathName])+'"/>'}}class M0{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e="<line";for(var r of Object.keys(this.attributes))e+=" "+r+'="'+Be(this.attributes[r])+'"';return e+="/>",e}}function M4(t){if(t instanceof Ze)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function E4(t){if(t instanceof ur)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var D4=t=>t instanceof ur||t instanceof bn||t instanceof sr,ut={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Vr={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},fa={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function ro(t,e){ut[t]=e}function hi(t,e,r){if(!ut[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),i=ut[e][n];if(!i&&t[0]in fa&&(n=fa[t[0]].charCodeAt(0),i=ut[e][n]),!i&&r==="text"&&Kl(n)&&(i=ut[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Zn={};function I4(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Zn[e]){var r=Zn[e]={cssEmPerMu:Vr.quad[e]/18};for(var n in Vr)Vr.hasOwnProperty(n)&&(r[n]=Vr[n][e])}return Zn[e]}var ve={math:{},text:{}};function c(t,e,r,n,i,a){ve[t][i]={font:e,group:r,replace:n},a&&n&&(ve[t][n]=ve[t][i])}var p="math",B="text",g="main",x="ams",ye="accent-token",X="bin",Ne="close",cr="inner",Q="mathord",ze="op-token",Ke="open",Fr="punct",b="rel",kt="spacing",T="textord";c(p,g,b,"≡","\\equiv",!0);c(p,g,b,"≺","\\prec",!0);c(p,g,b,"≻","\\succ",!0);c(p,g,b,"∼","\\sim",!0);c(p,g,b,"⊥","\\perp");c(p,g,b,"⪯","\\preceq",!0);c(p,g,b,"⪰","\\succeq",!0);c(p,g,b,"≃","\\simeq",!0);c(p,g,b,"∣","\\mid",!0);c(p,g,b,"≪","\\ll",!0);c(p,g,b,"≫","\\gg",!0);c(p,g,b,"≍","\\asymp",!0);c(p,g,b,"∥","\\parallel");c(p,g,b,"⋈","\\bowtie",!0);c(p,g,b,"⌣","\\smile",!0);c(p,g,b,"⊑","\\sqsubseteq",!0);c(p,g,b,"⊒","\\sqsupseteq",!0);c(p,g,b,"≐","\\doteq",!0);c(p,g,b,"⌢","\\frown",!0);c(p,g,b,"∋","\\ni",!0);c(p,g,b,"∝","\\propto",!0);c(p,g,b,"⊢","\\vdash",!0);c(p,g,b,"⊣","\\dashv",!0);c(p,g,b,"∋","\\owns");c(p,g,Fr,".","\\ldotp");c(p,g,Fr,"⋅","\\cdotp");c(p,g,Fr,"⋅","·");c(B,g,T,"⋅","·");c(p,g,T,"#","\\#");c(B,g,T,"#","\\#");c(p,g,T,"&","\\&");c(B,g,T,"&","\\&");c(p,g,T,"ℵ","\\aleph",!0);c(p,g,T,"∀","\\forall",!0);c(p,g,T,"ℏ","\\hbar",!0);c(p,g,T,"∃","\\exists",!0);c(p,g,T,"∇","\\nabla",!0);c(p,g,T,"♭","\\flat",!0);c(p,g,T,"ℓ","\\ell",!0);c(p,g,T,"♮","\\natural",!0);c(p,g,T,"♣","\\clubsuit",!0);c(p,g,T,"℘","\\wp",!0);c(p,g,T,"♯","\\sharp",!0);c(p,g,T,"♢","\\diamondsuit",!0);c(p,g,T,"ℜ","\\Re",!0);c(p,g,T,"♡","\\heartsuit",!0);c(p,g,T,"ℑ","\\Im",!0);c(p,g,T,"♠","\\spadesuit",!0);c(p,g,T,"§","\\S",!0);c(B,g,T,"§","\\S");c(p,g,T,"¶","\\P",!0);c(B,g,T,"¶","\\P");c(p,g,T,"†","\\dag");c(B,g,T,"†","\\dag");c(B,g,T,"†","\\textdagger");c(p,g,T,"‡","\\ddag");c(B,g,T,"‡","\\ddag");c(B,g,T,"‡","\\textdaggerdbl");c(p,g,Ne,"⎱","\\rmoustache",!0);c(p,g,Ke,"⎰","\\lmoustache",!0);c(p,g,Ne,"⟯","\\rgroup",!0);c(p,g,Ke,"⟮","\\lgroup",!0);c(p,g,X,"∓","\\mp",!0);c(p,g,X,"⊖","\\ominus",!0);c(p,g,X,"⊎","\\uplus",!0);c(p,g,X,"⊓","\\sqcap",!0);c(p,g,X,"∗","\\ast");c(p,g,X,"⊔","\\sqcup",!0);c(p,g,X,"◯","\\bigcirc",!0);c(p,g,X,"∙","\\bullet",!0);c(p,g,X,"‡","\\ddagger");c(p,g,X,"≀","\\wr",!0);c(p,g,X,"⨿","\\amalg");c(p,g,X,"&","\\And");c(p,g,b,"⟵","\\longleftarrow",!0);c(p,g,b,"⇐","\\Leftarrow",!0);c(p,g,b,"⟸","\\Longleftarrow",!0);c(p,g,b,"⟶","\\longrightarrow",!0);c(p,g,b,"⇒","\\Rightarrow",!0);c(p,g,b,"⟹","\\Longrightarrow",!0);c(p,g,b,"↔","\\leftrightarrow",!0);c(p,g,b,"⟷","\\longleftrightarrow",!0);c(p,g,b,"⇔","\\Leftrightarrow",!0);c(p,g,b,"⟺","\\Longleftrightarrow",!0);c(p,g,b,"↦","\\mapsto",!0);c(p,g,b,"⟼","\\longmapsto",!0);c(p,g,b,"↗","\\nearrow",!0);c(p,g,b,"↩","\\hookleftarrow",!0);c(p,g,b,"↪","\\hookrightarrow",!0);c(p,g,b,"↘","\\searrow",!0);c(p,g,b,"↼","\\leftharpoonup",!0);c(p,g,b,"⇀","\\rightharpoonup",!0);c(p,g,b,"↙","\\swarrow",!0);c(p,g,b,"↽","\\leftharpoondown",!0);c(p,g,b,"⇁","\\rightharpoondown",!0);c(p,g,b,"↖","\\nwarrow",!0);c(p,g,b,"⇌","\\rightleftharpoons",!0);c(p,x,b,"≮","\\nless",!0);c(p,x,b,"","\\@nleqslant");c(p,x,b,"","\\@nleqq");c(p,x,b,"⪇","\\lneq",!0);c(p,x,b,"≨","\\lneqq",!0);c(p,x,b,"","\\@lvertneqq");c(p,x,b,"⋦","\\lnsim",!0);c(p,x,b,"⪉","\\lnapprox",!0);c(p,x,b,"⊀","\\nprec",!0);c(p,x,b,"⋠","\\npreceq",!0);c(p,x,b,"⋨","\\precnsim",!0);c(p,x,b,"⪹","\\precnapprox",!0);c(p,x,b,"≁","\\nsim",!0);c(p,x,b,"","\\@nshortmid");c(p,x,b,"∤","\\nmid",!0);c(p,x,b,"⊬","\\nvdash",!0);c(p,x,b,"⊭","\\nvDash",!0);c(p,x,b,"⋪","\\ntriangleleft");c(p,x,b,"⋬","\\ntrianglelefteq",!0);c(p,x,b,"⊊","\\subsetneq",!0);c(p,x,b,"","\\@varsubsetneq");c(p,x,b,"⫋","\\subsetneqq",!0);c(p,x,b,"","\\@varsubsetneqq");c(p,x,b,"≯","\\ngtr",!0);c(p,x,b,"","\\@ngeqslant");c(p,x,b,"","\\@ngeqq");c(p,x,b,"⪈","\\gneq",!0);c(p,x,b,"≩","\\gneqq",!0);c(p,x,b,"","\\@gvertneqq");c(p,x,b,"⋧","\\gnsim",!0);c(p,x,b,"⪊","\\gnapprox",!0);c(p,x,b,"⊁","\\nsucc",!0);c(p,x,b,"⋡","\\nsucceq",!0);c(p,x,b,"⋩","\\succnsim",!0);c(p,x,b,"⪺","\\succnapprox",!0);c(p,x,b,"≆","\\ncong",!0);c(p,x,b,"","\\@nshortparallel");c(p,x,b,"∦","\\nparallel",!0);c(p,x,b,"⊯","\\nVDash",!0);c(p,x,b,"⋫","\\ntriangleright");c(p,x,b,"⋭","\\ntrianglerighteq",!0);c(p,x,b,"","\\@nsupseteqq");c(p,x,b,"⊋","\\supsetneq",!0);c(p,x,b,"","\\@varsupsetneq");c(p,x,b,"⫌","\\supsetneqq",!0);c(p,x,b,"","\\@varsupsetneqq");c(p,x,b,"⊮","\\nVdash",!0);c(p,x,b,"⪵","\\precneqq",!0);c(p,x,b,"⪶","\\succneqq",!0);c(p,x,b,"","\\@nsubseteqq");c(p,x,X,"⊴","\\unlhd");c(p,x,X,"⊵","\\unrhd");c(p,x,b,"↚","\\nleftarrow",!0);c(p,x,b,"↛","\\nrightarrow",!0);c(p,x,b,"⇍","\\nLeftarrow",!0);c(p,x,b,"⇏","\\nRightarrow",!0);c(p,x,b,"↮","\\nleftrightarrow",!0);c(p,x,b,"⇎","\\nLeftrightarrow",!0);c(p,x,b,"△","\\vartriangle");c(p,x,T,"ℏ","\\hslash");c(p,x,T,"▽","\\triangledown");c(p,x,T,"◊","\\lozenge");c(p,x,T,"Ⓢ","\\circledS");c(p,x,T,"®","\\circledR");c(B,x,T,"®","\\circledR");c(p,x,T,"∡","\\measuredangle",!0);c(p,x,T,"∄","\\nexists");c(p,x,T,"℧","\\mho");c(p,x,T,"Ⅎ","\\Finv",!0);c(p,x,T,"⅁","\\Game",!0);c(p,x,T,"‵","\\backprime");c(p,x,T,"▲","\\blacktriangle");c(p,x,T,"▼","\\blacktriangledown");c(p,x,T,"■","\\blacksquare");c(p,x,T,"⧫","\\blacklozenge");c(p,x,T,"★","\\bigstar");c(p,x,T,"∢","\\sphericalangle",!0);c(p,x,T,"∁","\\complement",!0);c(p,x,T,"ð","\\eth",!0);c(B,g,T,"ð","ð");c(p,x,T,"╱","\\diagup");c(p,x,T,"╲","\\diagdown");c(p,x,T,"□","\\square");c(p,x,T,"□","\\Box");c(p,x,T,"◊","\\Diamond");c(p,x,T,"¥","\\yen",!0);c(B,x,T,"¥","\\yen",!0);c(p,x,T,"✓","\\checkmark",!0);c(B,x,T,"✓","\\checkmark");c(p,x,T,"ℶ","\\beth",!0);c(p,x,T,"ℸ","\\daleth",!0);c(p,x,T,"ℷ","\\gimel",!0);c(p,x,T,"ϝ","\\digamma",!0);c(p,x,T,"ϰ","\\varkappa");c(p,x,Ke,"┌","\\@ulcorner",!0);c(p,x,Ne,"┐","\\@urcorner",!0);c(p,x,Ke,"└","\\@llcorner",!0);c(p,x,Ne,"┘","\\@lrcorner",!0);c(p,x,b,"≦","\\leqq",!0);c(p,x,b,"⩽","\\leqslant",!0);c(p,x,b,"⪕","\\eqslantless",!0);c(p,x,b,"≲","\\lesssim",!0);c(p,x,b,"⪅","\\lessapprox",!0);c(p,x,b,"≊","\\approxeq",!0);c(p,x,X,"⋖","\\lessdot");c(p,x,b,"⋘","\\lll",!0);c(p,x,b,"≶","\\lessgtr",!0);c(p,x,b,"⋚","\\lesseqgtr",!0);c(p,x,b,"⪋","\\lesseqqgtr",!0);c(p,x,b,"≑","\\doteqdot");c(p,x,b,"≓","\\risingdotseq",!0);c(p,x,b,"≒","\\fallingdotseq",!0);c(p,x,b,"∽","\\backsim",!0);c(p,x,b,"⋍","\\backsimeq",!0);c(p,x,b,"⫅","\\subseteqq",!0);c(p,x,b,"⋐","\\Subset",!0);c(p,x,b,"⊏","\\sqsubset",!0);c(p,x,b,"≼","\\preccurlyeq",!0);c(p,x,b,"⋞","\\curlyeqprec",!0);c(p,x,b,"≾","\\precsim",!0);c(p,x,b,"⪷","\\precapprox",!0);c(p,x,b,"⊲","\\vartriangleleft");c(p,x,b,"⊴","\\trianglelefteq");c(p,x,b,"⊨","\\vDash",!0);c(p,x,b,"⊪","\\Vvdash",!0);c(p,x,b,"⌣","\\smallsmile");c(p,x,b,"⌢","\\smallfrown");c(p,x,b,"≏","\\bumpeq",!0);c(p,x,b,"≎","\\Bumpeq",!0);c(p,x,b,"≧","\\geqq",!0);c(p,x,b,"⩾","\\geqslant",!0);c(p,x,b,"⪖","\\eqslantgtr",!0);c(p,x,b,"≳","\\gtrsim",!0);c(p,x,b,"⪆","\\gtrapprox",!0);c(p,x,X,"⋗","\\gtrdot");c(p,x,b,"⋙","\\ggg",!0);c(p,x,b,"≷","\\gtrless",!0);c(p,x,b,"⋛","\\gtreqless",!0);c(p,x,b,"⪌","\\gtreqqless",!0);c(p,x,b,"≖","\\eqcirc",!0);c(p,x,b,"≗","\\circeq",!0);c(p,x,b,"≜","\\triangleq",!0);c(p,x,b,"∼","\\thicksim");c(p,x,b,"≈","\\thickapprox");c(p,x,b,"⫆","\\supseteqq",!0);c(p,x,b,"⋑","\\Supset",!0);c(p,x,b,"⊐","\\sqsupset",!0);c(p,x,b,"≽","\\succcurlyeq",!0);c(p,x,b,"⋟","\\curlyeqsucc",!0);c(p,x,b,"≿","\\succsim",!0);c(p,x,b,"⪸","\\succapprox",!0);c(p,x,b,"⊳","\\vartriangleright");c(p,x,b,"⊵","\\trianglerighteq");c(p,x,b,"⊩","\\Vdash",!0);c(p,x,b,"∣","\\shortmid");c(p,x,b,"∥","\\shortparallel");c(p,x,b,"≬","\\between",!0);c(p,x,b,"⋔","\\pitchfork",!0);c(p,x,b,"∝","\\varpropto");c(p,x,b,"◀","\\blacktriangleleft");c(p,x,b,"∴","\\therefore",!0);c(p,x,b,"∍","\\backepsilon");c(p,x,b,"▶","\\blacktriangleright");c(p,x,b,"∵","\\because",!0);c(p,x,b,"⋘","\\llless");c(p,x,b,"⋙","\\gggtr");c(p,x,X,"⊲","\\lhd");c(p,x,X,"⊳","\\rhd");c(p,x,b,"≂","\\eqsim",!0);c(p,g,b,"⋈","\\Join");c(p,x,b,"≑","\\Doteq",!0);c(p,x,X,"∔","\\dotplus",!0);c(p,x,X,"∖","\\smallsetminus");c(p,x,X,"⋒","\\Cap",!0);c(p,x,X,"⋓","\\Cup",!0);c(p,x,X,"⩞","\\doublebarwedge",!0);c(p,x,X,"⊟","\\boxminus",!0);c(p,x,X,"⊞","\\boxplus",!0);c(p,x,X,"⋇","\\divideontimes",!0);c(p,x,X,"⋉","\\ltimes",!0);c(p,x,X,"⋊","\\rtimes",!0);c(p,x,X,"⋋","\\leftthreetimes",!0);c(p,x,X,"⋌","\\rightthreetimes",!0);c(p,x,X,"⋏","\\curlywedge",!0);c(p,x,X,"⋎","\\curlyvee",!0);c(p,x,X,"⊝","\\circleddash",!0);c(p,x,X,"⊛","\\circledast",!0);c(p,x,X,"⋅","\\centerdot");c(p,x,X,"⊺","\\intercal",!0);c(p,x,X,"⋒","\\doublecap");c(p,x,X,"⋓","\\doublecup");c(p,x,X,"⊠","\\boxtimes",!0);c(p,x,b,"⇢","\\dashrightarrow",!0);c(p,x,b,"⇠","\\dashleftarrow",!0);c(p,x,b,"⇇","\\leftleftarrows",!0);c(p,x,b,"⇆","\\leftrightarrows",!0);c(p,x,b,"⇚","\\Lleftarrow",!0);c(p,x,b,"↞","\\twoheadleftarrow",!0);c(p,x,b,"↢","\\leftarrowtail",!0);c(p,x,b,"↫","\\looparrowleft",!0);c(p,x,b,"⇋","\\leftrightharpoons",!0);c(p,x,b,"↶","\\curvearrowleft",!0);c(p,x,b,"↺","\\circlearrowleft",!0);c(p,x,b,"↰","\\Lsh",!0);c(p,x,b,"⇈","\\upuparrows",!0);c(p,x,b,"↿","\\upharpoonleft",!0);c(p,x,b,"⇃","\\downharpoonleft",!0);c(p,g,b,"⊶","\\origof",!0);c(p,g,b,"⊷","\\imageof",!0);c(p,x,b,"⊸","\\multimap",!0);c(p,x,b,"↭","\\leftrightsquigarrow",!0);c(p,x,b,"⇉","\\rightrightarrows",!0);c(p,x,b,"⇄","\\rightleftarrows",!0);c(p,x,b,"↠","\\twoheadrightarrow",!0);c(p,x,b,"↣","\\rightarrowtail",!0);c(p,x,b,"↬","\\looparrowright",!0);c(p,x,b,"↷","\\curvearrowright",!0);c(p,x,b,"↻","\\circlearrowright",!0);c(p,x,b,"↱","\\Rsh",!0);c(p,x,b,"⇊","\\downdownarrows",!0);c(p,x,b,"↾","\\upharpoonright",!0);c(p,x,b,"⇂","\\downharpoonright",!0);c(p,x,b,"⇝","\\rightsquigarrow",!0);c(p,x,b,"⇝","\\leadsto");c(p,x,b,"⇛","\\Rrightarrow",!0);c(p,x,b,"↾","\\restriction");c(p,g,T,"‘","`");c(p,g,T,"$","\\$");c(B,g,T,"$","\\$");c(B,g,T,"$","\\textdollar");c(p,g,T,"%","\\%");c(B,g,T,"%","\\%");c(p,g,T,"_","\\_");c(B,g,T,"_","\\_");c(B,g,T,"_","\\textunderscore");c(p,g,T,"∠","\\angle",!0);c(p,g,T,"∞","\\infty",!0);c(p,g,T,"′","\\prime");c(p,g,T,"△","\\triangle");c(p,g,T,"Γ","\\Gamma",!0);c(p,g,T,"Δ","\\Delta",!0);c(p,g,T,"Θ","\\Theta",!0);c(p,g,T,"Λ","\\Lambda",!0);c(p,g,T,"Ξ","\\Xi",!0);c(p,g,T,"Π","\\Pi",!0);c(p,g,T,"Σ","\\Sigma",!0);c(p,g,T,"Υ","\\Upsilon",!0);c(p,g,T,"Φ","\\Phi",!0);c(p,g,T,"Ψ","\\Psi",!0);c(p,g,T,"Ω","\\Omega",!0);c(p,g,T,"A","Α");c(p,g,T,"B","Β");c(p,g,T,"E","Ε");c(p,g,T,"Z","Ζ");c(p,g,T,"H","Η");c(p,g,T,"I","Ι");c(p,g,T,"K","Κ");c(p,g,T,"M","Μ");c(p,g,T,"N","Ν");c(p,g,T,"O","Ο");c(p,g,T,"P","Ρ");c(p,g,T,"T","Τ");c(p,g,T,"X","Χ");c(p,g,T,"¬","\\neg",!0);c(p,g,T,"¬","\\lnot");c(p,g,T,"⊤","\\top");c(p,g,T,"⊥","\\bot");c(p,g,T,"∅","\\emptyset");c(p,x,T,"∅","\\varnothing");c(p,g,Q,"α","\\alpha",!0);c(p,g,Q,"β","\\beta",!0);c(p,g,Q,"γ","\\gamma",!0);c(p,g,Q,"δ","\\delta",!0);c(p,g,Q,"ϵ","\\epsilon",!0);c(p,g,Q,"ζ","\\zeta",!0);c(p,g,Q,"η","\\eta",!0);c(p,g,Q,"θ","\\theta",!0);c(p,g,Q,"ι","\\iota",!0);c(p,g,Q,"κ","\\kappa",!0);c(p,g,Q,"λ","\\lambda",!0);c(p,g,Q,"μ","\\mu",!0);c(p,g,Q,"ν","\\nu",!0);c(p,g,Q,"ξ","\\xi",!0);c(p,g,Q,"ο","\\omicron",!0);c(p,g,Q,"π","\\pi",!0);c(p,g,Q,"ρ","\\rho",!0);c(p,g,Q,"σ","\\sigma",!0);c(p,g,Q,"τ","\\tau",!0);c(p,g,Q,"υ","\\upsilon",!0);c(p,g,Q,"ϕ","\\phi",!0);c(p,g,Q,"χ","\\chi",!0);c(p,g,Q,"ψ","\\psi",!0);c(p,g,Q,"ω","\\omega",!0);c(p,g,Q,"ε","\\varepsilon",!0);c(p,g,Q,"ϑ","\\vartheta",!0);c(p,g,Q,"ϖ","\\varpi",!0);c(p,g,Q,"ϱ","\\varrho",!0);c(p,g,Q,"ς","\\varsigma",!0);c(p,g,Q,"φ","\\varphi",!0);c(p,g,X,"∗","*",!0);c(p,g,X,"+","+");c(p,g,X,"−","-",!0);c(p,g,X,"⋅","\\cdot",!0);c(p,g,X,"∘","\\circ",!0);c(p,g,X,"÷","\\div",!0);c(p,g,X,"±","\\pm",!0);c(p,g,X,"×","\\times",!0);c(p,g,X,"∩","\\cap",!0);c(p,g,X,"∪","\\cup",!0);c(p,g,X,"∖","\\setminus",!0);c(p,g,X,"∧","\\land");c(p,g,X,"∨","\\lor");c(p,g,X,"∧","\\wedge",!0);c(p,g,X,"∨","\\vee",!0);c(p,g,T,"√","\\surd");c(p,g,Ke,"⟨","\\langle",!0);c(p,g,Ke,"∣","\\lvert");c(p,g,Ke,"∥","\\lVert");c(p,g,Ne,"?","?");c(p,g,Ne,"!","!");c(p,g,Ne,"⟩","\\rangle",!0);c(p,g,Ne,"∣","\\rvert");c(p,g,Ne,"∥","\\rVert");c(p,g,b,"=","=");c(p,g,b,":",":");c(p,g,b,"≈","\\approx",!0);c(p,g,b,"≅","\\cong",!0);c(p,g,b,"≥","\\ge");c(p,g,b,"≥","\\geq",!0);c(p,g,b,"←","\\gets");c(p,g,b,">","\\gt",!0);c(p,g,b,"∈","\\in",!0);c(p,g,b,"","\\@not");c(p,g,b,"⊂","\\subset",!0);c(p,g,b,"⊃","\\supset",!0);c(p,g,b,"⊆","\\subseteq",!0);c(p,g,b,"⊇","\\supseteq",!0);c(p,x,b,"⊈","\\nsubseteq",!0);c(p,x,b,"⊉","\\nsupseteq",!0);c(p,g,b,"⊨","\\models");c(p,g,b,"←","\\leftarrow",!0);c(p,g,b,"≤","\\le");c(p,g,b,"≤","\\leq",!0);c(p,g,b,"<","\\lt",!0);c(p,g,b,"→","\\rightarrow",!0);c(p,g,b,"→","\\to");c(p,x,b,"≱","\\ngeq",!0);c(p,x,b,"≰","\\nleq",!0);c(p,g,kt," ","\\ ");c(p,g,kt," ","\\space");c(p,g,kt," ","\\nobreakspace");c(B,g,kt," ","\\ ");c(B,g,kt," "," ");c(B,g,kt," ","\\space");c(B,g,kt," ","\\nobreakspace");c(p,g,kt,"","\\nobreak");c(p,g,kt,"","\\allowbreak");c(p,g,Fr,",",",");c(p,g,Fr,";",";");c(p,x,X,"⊼","\\barwedge",!0);c(p,x,X,"⊻","\\veebar",!0);c(p,g,X,"⊙","\\odot",!0);c(p,g,X,"⊕","\\oplus",!0);c(p,g,X,"⊗","\\otimes",!0);c(p,g,T,"∂","\\partial",!0);c(p,g,X,"⊘","\\oslash",!0);c(p,x,X,"⊚","\\circledcirc",!0);c(p,x,X,"⊡","\\boxdot",!0);c(p,g,X,"△","\\bigtriangleup");c(p,g,X,"▽","\\bigtriangledown");c(p,g,X,"†","\\dagger");c(p,g,X,"⋄","\\diamond");c(p,g,X,"⋆","\\star");c(p,g,X,"◃","\\triangleleft");c(p,g,X,"▹","\\triangleright");c(p,g,Ke,"{","\\{");c(B,g,T,"{","\\{");c(B,g,T,"{","\\textbraceleft");c(p,g,Ne,"}","\\}");c(B,g,T,"}","\\}");c(B,g,T,"}","\\textbraceright");c(p,g,Ke,"{","\\lbrace");c(p,g,Ne,"}","\\rbrace");c(p,g,Ke,"[","\\lbrack",!0);c(B,g,T,"[","\\lbrack",!0);c(p,g,Ne,"]","\\rbrack",!0);c(B,g,T,"]","\\rbrack",!0);c(p,g,Ke,"(","\\lparen",!0);c(p,g,Ne,")","\\rparen",!0);c(B,g,T,"<","\\textless",!0);c(B,g,T,">","\\textgreater",!0);c(p,g,Ke,"⌊","\\lfloor",!0);c(p,g,Ne,"⌋","\\rfloor",!0);c(p,g,Ke,"⌈","\\lceil",!0);c(p,g,Ne,"⌉","\\rceil",!0);c(p,g,T,"\\","\\backslash");c(p,g,T,"∣","|");c(p,g,T,"∣","\\vert");c(B,g,T,"|","\\textbar",!0);c(p,g,T,"∥","\\|");c(p,g,T,"∥","\\Vert");c(B,g,T,"∥","\\textbardbl");c(B,g,T,"~","\\textasciitilde");c(B,g,T,"\\","\\textbackslash");c(B,g,T,"^","\\textasciicircum");c(p,g,b,"↑","\\uparrow",!0);c(p,g,b,"⇑","\\Uparrow",!0);c(p,g,b,"↓","\\downarrow",!0);c(p,g,b,"⇓","\\Downarrow",!0);c(p,g,b,"↕","\\updownarrow",!0);c(p,g,b,"⇕","\\Updownarrow",!0);c(p,g,ze,"∐","\\coprod");c(p,g,ze,"⋁","\\bigvee");c(p,g,ze,"⋀","\\bigwedge");c(p,g,ze,"⨄","\\biguplus");c(p,g,ze,"⋂","\\bigcap");c(p,g,ze,"⋃","\\bigcup");c(p,g,ze,"∫","\\int");c(p,g,ze,"∫","\\intop");c(p,g,ze,"∬","\\iint");c(p,g,ze,"∭","\\iiint");c(p,g,ze,"∏","\\prod");c(p,g,ze,"∑","\\sum");c(p,g,ze,"⨂","\\bigotimes");c(p,g,ze,"⨁","\\bigoplus");c(p,g,ze,"⨀","\\bigodot");c(p,g,ze,"∮","\\oint");c(p,g,ze,"∯","\\oiint");c(p,g,ze,"∰","\\oiiint");c(p,g,ze,"⨆","\\bigsqcup");c(p,g,ze,"∫","\\smallint");c(B,g,cr,"…","\\textellipsis");c(p,g,cr,"…","\\mathellipsis");c(B,g,cr,"…","\\ldots",!0);c(p,g,cr,"…","\\ldots",!0);c(p,g,cr,"⋯","\\@cdots",!0);c(p,g,cr,"⋱","\\ddots",!0);c(p,g,T,"⋮","\\varvdots");c(B,g,T,"⋮","\\varvdots");c(p,g,ye,"ˊ","\\acute");c(p,g,ye,"ˋ","\\grave");c(p,g,ye,"¨","\\ddot");c(p,g,ye,"~","\\tilde");c(p,g,ye,"ˉ","\\bar");c(p,g,ye,"˘","\\breve");c(p,g,ye,"ˇ","\\check");c(p,g,ye,"^","\\hat");c(p,g,ye,"⃗","\\vec");c(p,g,ye,"˙","\\dot");c(p,g,ye,"˚","\\mathring");c(p,g,Q,"","\\@imath");c(p,g,Q,"","\\@jmath");c(p,g,T,"ı","ı");c(p,g,T,"ȷ","ȷ");c(B,g,T,"ı","\\i",!0);c(B,g,T,"ȷ","\\j",!0);c(B,g,T,"ß","\\ss",!0);c(B,g,T,"æ","\\ae",!0);c(B,g,T,"œ","\\oe",!0);c(B,g,T,"ø","\\o",!0);c(B,g,T,"Æ","\\AE",!0);c(B,g,T,"Œ","\\OE",!0);c(B,g,T,"Ø","\\O",!0);c(B,g,ye,"ˊ","\\'");c(B,g,ye,"ˋ","\\`");c(B,g,ye,"ˆ","\\^");c(B,g,ye,"˜","\\~");c(B,g,ye,"ˉ","\\=");c(B,g,ye,"˘","\\u");c(B,g,ye,"˙","\\.");c(B,g,ye,"¸","\\c");c(B,g,ye,"˚","\\r");c(B,g,ye,"ˇ","\\v");c(B,g,ye,"¨",'\\"');c(B,g,ye,"˝","\\H");c(B,g,ye,"◯","\\textcircled");var no={"--":!0,"---":!0,"``":!0,"''":!0};c(B,g,T,"–","--",!0);c(B,g,T,"–","\\textendash");c(B,g,T,"—","---",!0);c(B,g,T,"—","\\textemdash");c(B,g,T,"‘","`",!0);c(B,g,T,"‘","\\textquoteleft");c(B,g,T,"’","'",!0);c(B,g,T,"’","\\textquoteright");c(B,g,T,"“","``",!0);c(B,g,T,"“","\\textquotedblleft");c(B,g,T,"”","''",!0);c(B,g,T,"”","\\textquotedblright");c(p,g,T,"°","\\degree",!0);c(B,g,T,"°","\\degree");c(B,g,T,"°","\\textdegree",!0);c(p,g,T,"£","\\pounds");c(p,g,T,"£","\\mathsterling",!0);c(B,g,T,"£","\\pounds");c(B,g,T,"£","\\textsterling",!0);c(p,x,T,"✠","\\maltese");c(B,x,T,"✠","\\maltese");var da='0123456789/@."';for(var Kn=0;Kn<da.length;Kn++){var ga=da.charAt(Kn);c(p,g,T,ga,ga)}var va='0123456789!@*()-=+";:?/.,';for(var Qn=0;Qn<va.length;Qn++){var ya=va.charAt(Qn);c(B,g,T,ya,ya)}var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Jn=0;Jn<cn.length;Jn++){var Wr=cn.charAt(Jn);c(p,g,Q,Wr,Wr),c(B,g,T,Wr,Wr)}c(p,x,T,"C","ℂ");c(B,x,T,"C","ℂ");c(p,x,T,"H","ℍ");c(B,x,T,"H","ℍ");c(p,x,T,"N","ℕ");c(B,x,T,"N","ℕ");c(p,x,T,"P","ℙ");c(B,x,T,"P","ℙ");c(p,x,T,"Q","ℚ");c(B,x,T,"Q","ℚ");c(p,x,T,"R","ℝ");c(B,x,T,"R","ℝ");c(p,x,T,"Z","ℤ");c(B,x,T,"Z","ℤ");c(p,g,Q,"h","ℎ");c(B,g,Q,"h","ℎ");var ee;for(var Oe=0;Oe<cn.length;Oe++){var we=cn.charAt(Oe);ee=String.fromCharCode(55349,56320+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56372+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56424+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56580+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56684+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56736+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56788+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56840+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56944+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),Oe<26&&(ee=String.fromCharCode(55349,56632+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee),ee=String.fromCharCode(55349,56476+Oe),c(p,g,Q,we,ee),c(B,g,T,we,ee))}ee="𝕜";c(p,g,Q,"k",ee);c(B,g,T,"k",ee);for(var Rt=0;Rt<10;Rt++){var Ct=Rt.toString();ee=String.fromCharCode(55349,57294+Rt),c(p,g,Q,Ct,ee),c(B,g,T,Ct,ee),ee=String.fromCharCode(55349,57314+Rt),c(p,g,Q,Ct,ee),c(B,g,T,Ct,ee),ee=String.fromCharCode(55349,57324+Rt),c(p,g,Q,Ct,ee),c(B,g,T,Ct,ee),ee=String.fromCharCode(55349,57334+Rt),c(p,g,Q,Ct,ee),c(B,g,T,Ct,ee)}var E0="ÐÞþ";for(var e0=0;e0<E0.length;e0++){var Xr=E0.charAt(e0);c(p,g,Q,Xr,Xr),c(B,g,T,Xr,Xr)}var D0={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},xa={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},ba={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},_4={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},Ht={mathClass:"",textClass:"",font:""},wa={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},ka={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},Sa={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},I0={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},_0={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},Aa={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},B0={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},Ta=[D0,D0,xa,xa,ba,ba,_4,Ht,Ht,Ht,wa,wa,ka,ka,Sa,Sa,I0,I0,_0,_0,Aa,Aa,Ht,Ht,B0,B0],B4=[D0,Ht,I0,_0,B0],F4=t=>{var e=t.charCodeAt(0),r=t.charCodeAt(1),n=(e-55296)*1024+(r-56320)+65536;if(119808<=n&&n<120484){var i=Math.floor((n-119808)/26);return Ta[i]}else if(120782<=n&&n<=120831){var a=Math.floor((n-120782)/10);return B4[a]}else{if(n===120485||n===120486)return Ta[0];if(120486<n&&n<120782)return Ht;throw new O("Unsupported character: "+t)}},wn=function(e,r,n){if(ve[n][e]){var i=ve[n][e].replace;i&&(e=i)}return{value:e,metrics:hi(e,r,n)}},Le=function(e,r,n,i,a){var l=wn(e,r,n),o=l.metrics;e=l.value;var s;if(o){var u=o.italic;(n==="text"||i&&i.font==="mathit")&&(u=0),s=new Ze(e,o.height,o.depth,u,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+r+"' and mode '"+n+"'")),s=new Ze(e,0,0,0,0,0,a);if(i){s.maxFontSize=i.sizeMultiplier,i.style.isTight()&&s.classes.push("mtight");var h=i.getColor();h&&(s.style.color=h)}return s},mi=function(e,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&wn(e,"Main-Bold",r).metrics?Le(e,"Main-Bold",r,n,i.concat(["mathbf"])):e==="\\"||ve[r][e].font==="main"?Le(e,"Main-Regular",r,n,i):Le(e,"AMS-Regular",r,n,i.concat(["amsrm"]))},q4=function(e,r,n){return n!=="textord"&&wn(e,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},kn=function(e,r,n){var i=e.mode,a=e.text,l=["mord"],{font:o,fontFamily:s,fontWeight:u,fontShape:h}=r,m=i==="math"||i==="text"&&!!o,d=m?o:s,f="",y="";if(a.charCodeAt(0)===55349){var w=F4(a);f=w.font,y=w[i+"Class"]}if(f)return Le(a,f,i,r,l.concat(y));if(d){var C,k;if(d==="boldsymbol"){var z=q4(a,i,n);C=z.fontName,k=[z.fontClass]}else m?(C=F0[o].fontName,k=[o]):(C=Yr(s,u,h),k=[s,u,h]);if(wn(a,C,i).metrics)return Le(a,C,i,r,l.concat(k));if(no.hasOwnProperty(a)&&C.slice(0,10)==="Typewriter"){for(var D=[],q=0;q<a.length;q++)D.push(Le(a[q],C,i,r,l.concat(k)));return St(D)}}if(n==="mathord")return Le(a,"Math-Italic",i,r,l.concat(["mathnormal"]));if(n==="textord"){var P=ve[i][a]&&ve[i][a].font;if(P==="ams"){var M=Yr("amsrm",u,h);return Le(a,M,i,r,l.concat("amsrm",u,h))}else if(P==="main"||!P){var G=Yr("textrm",u,h);return Le(a,G,i,r,l.concat(u,h))}else{var Y=Yr(P,u,h);return Le(a,Y,i,r,l.concat(Y,u,h))}}else throw new Error("unexpected type: "+n+" in makeOrd")},O4=(t,e)=>{if(Et(t.classes)!==Et(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize||t.italic!==0&&t.hasClass("mathnormal"))return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n of Object.keys(t.style))if(t.style[n]!==e.style[n])return!1;for(var i of Object.keys(e.style))if(t.style[i]!==e.style[i])return!1;return!0},io=t=>{for(var e=0;e<t.length-1;e++){var r=t[e],n=t[e+1];r instanceof Ze&&n instanceof Ze&&O4(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,t.splice(e+1,1),e--)}return t},pi=function(e){for(var r=0,n=0,i=0,a=0;a<e.children.length;a++){var l=e.children[a];l.height>r&&(r=l.height),l.depth>n&&(n=l.depth),l.maxFontSize>i&&(i=l.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=i},F=function(e,r,n,i){var a=new ur(e,r,n,i);return pi(a),a},It=(t,e,r,n)=>new ur(t,e,r,n),nr=function(e,r,n){var i=F([e],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=N(i.height),i.maxFontSize=1,i},L4=function(e,r,n,i){var a=new bn(e,r,n,i);return pi(a),a},St=function(e){var r=new sr(e);return pi(r),r},ir=function(e,r){return e instanceof sr?F([],[e],r):e},R4=function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,l=1;l<r.length;l++){var o=-r[l].shift-a-r[l].elem.depth,s=o-(r[l-1].elem.height+r[l-1].elem.depth);a=a+o,n.push({type:"kern",size:s}),n.push(r[l])}return{children:n,depth:i}}var u;if(e.positionType==="top"){for(var h=e.positionData,m=0;m<e.children.length;m++){var d=e.children[m];h-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}u=h}else if(e.positionType==="bottom")u=-e.positionData;else{var f=e.children[0];if(f.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")u=-f.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")u=-f.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:u}},ue=function(e,r){for(var{children:n,depth:i}=R4(e),a=0,l=0;l<n.length;l++){var o=n[l];if(o.type==="elem"){var s=o.elem;a=Math.max(a,s.maxFontSize,s.height)}}a+=2;var u=F(["pstrut"],[]);u.style.height=N(a);for(var h=[],m=i,d=i,f=i,y=0;y<n.length;y++){var w=n[y];if(w.type==="kern")f+=w.size;else{var C=w.elem,k=w.wrapperClasses||[],z=w.wrapperStyle||{},D=F(k,[u,C],void 0,z);D.style.top=N(-a-f-C.depth),w.marginLeft&&(D.style.marginLeft=w.marginLeft),w.marginRight&&(D.style.marginRight=w.marginRight),h.push(D),f+=C.height+C.depth}m=Math.min(m,f),d=Math.max(d,f)}var q=F(["vlist"],h);q.style.height=N(d);var P;if(m<0){var M=F([],[]),G=F(["vlist"],[M]);G.style.height=N(-m);var Y=F(["vlist-s"],[new Ze("​")]);P=[F(["vlist-r"],[q,Y]),F(["vlist-r"],[G])]}else P=[F(["vlist-r"],[q])];var U=F(["vlist-t"],P);return P.length===2&&U.classes.push("vlist-t2"),U.height=d,U.depth=-m,U},ao=(t,e)=>{var r=F(["mspace"],[],e),n=be(t,e);return r.style.marginRight=N(n),r},Yr=(t,e,r)=>{var n,i;switch(t){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=t}return e==="textbf"&&r==="textit"?i="BoldItalic":e==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",n+"-"+i},F0={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},lo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},oo=function(e,r){var[n,i,a]=lo[e],l=new Dt(n),o=new bt([l],{width:N(i),height:N(a),style:"width:"+N(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),s=It(["overlay"],[o],r);return s.height=a,s.style.height=N(a),s.style.width=N(i),s},xe={number:3,unit:"mu"},Pt={number:4,unit:"mu"},vt={number:5,unit:"mu"},P4={mord:{mop:xe,mbin:Pt,mrel:vt,minner:xe},mop:{mord:xe,mop:xe,mrel:vt,minner:xe},mbin:{mord:Pt,mop:Pt,mopen:Pt,minner:Pt},mrel:{mord:vt,mop:vt,mopen:vt,minner:vt},mopen:{},mclose:{mop:xe,mbin:Pt,mrel:vt,minner:xe},mpunct:{mord:xe,mop:xe,mrel:vt,mopen:xe,mclose:xe,mpunct:xe,minner:xe},minner:{mord:xe,mop:xe,mbin:Pt,mrel:vt,mopen:xe,mpunct:xe,minner:xe}},N4={mord:{mop:xe},mop:{mord:xe,mop:xe},mbin:{},mrel:{},mopen:{},mclose:{mop:xe},mpunct:{},minner:{mop:xe}},so={},hn={},mn={};function V(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:l}=t,o={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},s=0;s<r.length;++s)so[r[s]]=o;e&&(a&&(hn[e]=a),l&&(mn[e]=l))}function Vt(t){var{type:e,htmlBuilder:r,mathmlBuilder:n}=t;V({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var pn=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},Ae=function(e){return e.type==="ordgroup"?e.body:[e]},$4=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),H4=new Set(["rightmost","mrel","mclose","mpunct"]),j4={display:re.DISPLAY,text:re.TEXT,script:re.SCRIPT,scriptscript:re.SCRIPTSCRIPT},U4={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ee=function(e,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],l=0;l<e.length;l++){var o=ce(e[l],r);if(o instanceof sr){var s=o.children;a.push(...s)}else a.push(o)}if(io(a),!n)return a;var u=r;if(e.length===1){var h=e[0];h.type==="sizing"?u=r.havingSize(h.size):h.type==="styling"&&(u=r.havingStyle(j4[h.style]))}var m=F([i[0]||"leftmost"],[],r),d=F([i[1]||"rightmost"],[],r),f=n==="root";return q0(a,(y,w)=>{var C=w.classes[0],k=y.classes[0];C==="mbin"&&H4.has(k)?w.classes[0]="mord":k==="mbin"&&$4.has(C)&&(y.classes[0]="mord")},{node:m},d,f),q0(a,(y,w)=>{var C,k,z=L0(w),D=L0(y),q=z&&D?y.hasClass("mtight")?(C=N4[z])==null?void 0:C[D]:(k=P4[z])==null?void 0:k[D]:null;if(q)return ao(q,u)},{node:m},d,f),a},q0=function(e,r,n,i,a){i&&e.push(i);for(var l=0;l<e.length;l++){var o=e[l],s=uo(o);if(s){q0(s.children,r,n,null,a);continue}var u=!o.hasClass("mspace");if(u){var h=r(o,n.node);h&&(n.insertAfter?n.insertAfter(h):(e.unshift(h),l++))}u?n.node=o:a&&o.hasClass("newline")&&(n.node=F(["leftmost"])),n.insertAfter=(m=>d=>{e.splice(m+1,0,d),l++})(l)}i&&e.pop()},uo=function(e){return e instanceof sr||e instanceof bn||e instanceof ur&&e.hasClass("enclosing")?e:null},O0=function(e,r){var n=uo(e);if(n){var i=n.children;if(i.length){if(r==="right")return O0(i[i.length-1],"right");if(r==="left")return O0(i[0],"left")}}return e},L0=function(e,r){if(!e)return null;r&&(e=O0(e,r));var n=e.classes[0];return U4[n]||null},Mr=function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return F(r.concat(n))},ce=function(e,r,n){if(!e)return F();if(hn[e.type]){var i=hn[e.type](e,r);if(n&&r.size!==n.size){i=F(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new O("Got group of unknown type: '"+e.type+"'")};function Zr(t,e){var r=F(["base"],t,e),n=F(["strut"]);return n.style.height=N(r.height+r.depth),r.depth&&(n.style.verticalAlign=N(-r.depth)),r.children.unshift(n),r}function R0(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var n=Ee(t,e,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],l=[],o=0;o<n.length;o++)if(l.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var s=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,l.push(n[o]),n[o].hasClass("nobreak")&&(s=!0);s||(a.push(Zr(l,e)),l=[])}else n[o].hasClass("newline")&&(l.pop(),l.length>0&&(a.push(Zr(l,e)),l=[]),a.push(n[o]));l.length>0&&a.push(Zr(l,e));var u;r?(u=Zr(Ee(r,e,!0),e),u.classes=["tag"],a.push(u)):i&&a.push(i);var h=F(["katex-html"],a);if(h.setAttribute("aria-hidden","true"),u){var m=u.children[0];m.style.height=N(h.height+h.depth),h.depth&&(m.style.verticalAlign=N(-h.depth))}return h}function co(t){return new sr(t)}class R{constructor(e,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Et(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Te&&this.children[n+1]instanceof Te){for(var i=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Te;)i+=this.children[++n].toText();e.appendChild(new Te(i).toNode())}else e.appendChild(this.children[n].toNode());return e}toMarkup(){var e="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=Be(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+Be(Et(this.classes))+'"'),e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Te{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Be(this.toText())}toText(){return this.text}}class ho{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",N(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+N(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var G4=new Set(["\\imath","\\jmath"]),V4=new Set(["mrow","mtable"]),rt=function(e,r,n){return ve[r][e]&&ve[r][e].replace&&e.charCodeAt(0)!==55349&&!(no.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=ve[r][e].replace),new Te(e)},fi=function(e){return e.length===1?e[0]:new R("mrow",e)},W4={mathit:"italic",boldsymbol:t=>t.type==="textord"?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},di=(t,e)=>{if(t.mode==="text"){if(e.fontFamily==="texttt")return"monospace";if(e.fontFamily==="textsf")return e.fontShape==="textit"&&e.fontWeight==="textbf"?"sans-serif-bold-italic":e.fontShape==="textit"?"sans-serif-italic":e.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(e.fontShape==="textit"&&e.fontWeight==="textbf")return"bold-italic";if(e.fontShape==="textit")return"italic";if(e.fontWeight==="textbf")return"bold"}var r=e.font;if(!r||r==="mathnormal")return null;var n=t.mode,i=W4[r];if(i)return typeof i=="function"?i(t):i;var a=t.text;if(G4.has(a))return null;if(ve[n][a]){var l=ve[n][a].replace;l&&(a=l)}var o=F0[r].fontName;return hi(a,o,n)?F0[r].variant:null};function t0(t){if(!t)return!1;if(t.type==="mi"&&t.children.length===1){var e=t.children[0];return e instanceof Te&&e.text==="."}else if(t.type==="mo"&&t.children.length===1&&t.getAttribute("separator")==="true"&&t.getAttribute("lspace")==="0em"&&t.getAttribute("rspace")==="0em"){var r=t.children[0];return r instanceof Te&&r.text===","}else return!1}var Qe=function(e,r,n){if(e.length===1){var i=de(e[0],r);return n&&i instanceof R&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],l,o=0;o<e.length;o++){var s=de(e[o],r);if(s instanceof R&&l instanceof R){if(s.type==="mtext"&&l.type==="mtext"&&s.getAttribute("mathvariant")===l.getAttribute("mathvariant")){l.children.push(...s.children);continue}else if(s.type==="mn"&&l.type==="mn"){l.children.push(...s.children);continue}else if(t0(s)&&l.type==="mn"){l.children.push(...s.children);continue}else if(s.type==="mn"&&t0(l))s.children=[...l.children,...s.children],a.pop();else if((s.type==="msup"||s.type==="msub")&&s.children.length>=1&&(l.type==="mn"||t0(l))){var u=s.children[0];u instanceof R&&u.type==="mn"&&(u.children=[...l.children,...u.children],a.pop())}else if(l.type==="mi"&&l.children.length===1){var h=l.children[0];if(h instanceof Te&&h.text==="̸"&&(s.type==="mo"||s.type==="mi"||s.type==="mn")){var m=s.children[0];m instanceof Te&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),a.pop())}}}a.push(s),l=s}return a},_t=function(e,r,n){return fi(Qe(e,r,n))},de=function(e,r){if(!e)return new R("mrow");if(mn[e.type])return mn[e.type](e,r);throw new O("Got group of unknown type: '"+e.type+"'")};function za(t,e,r,n,i){var a=Qe(t,r),l;a.length===1&&a[0]instanceof R&&V4.has(a[0].type)?l=a[0]:l=new R("mrow",a);var o=new R("annotation",[new Te(e)]);o.setAttribute("encoding","application/x-tex");var s=new R("semantics",[l,o]),u=new R("math",[s]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var h=i?"katex":"katex-mathml";return F([h],[u])}var X4=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Ca=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ma=function(e,r){return r.size<2?e:X4[e-1][r.size-1]};class yt{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||yt.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=Ca[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(r,e),new yt(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Ma(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:Ca[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=Ma(yt.BASESIZE,e);return this.size===r&&this.textSize===yt.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==yt.BASESIZE?["sizing","reset-size"+this.size,"size"+yt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=I4(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}yt.BASESIZE=6;var mo=function(e){return new yt({style:e.displayMode?re.DISPLAY:re.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},po=function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=F(n,[e])}return e},Y4=function(e,r,n){var i=mo(n),a;if(n.output==="mathml")return za(e,r,i,n.displayMode,!0);if(n.output==="html"){var l=R0(e,i);a=F(["katex"],[l])}else{var o=za(e,r,i,n.displayMode,!1),s=R0(e,i);a=F(["katex"],[o,s])}return po(a,n)},Z4=function(e,r,n){var i=mo(n),a=R0(e,i),l=F(["katex"],[a]);return po(l,n)},K4={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Sn=function(e){var r=new R("mo",[new Te(K4[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Q4={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},J4=new Set(["widehat","widecheck","widetilde","utilde"]),An=function(e,r){function n(){var o=4e5,s=e.label.slice(1);if(J4.has(s)&&"base"in e){var u=e.base.type==="ordgroup"?e.base.body.length:1,h,m,d;if(u>5)s==="widehat"||s==="widecheck"?(h=420,o=2364,d=.42,m=s+"4"):(h=312,o=2340,d=.34,m="tilde4");else{var f=[1,1,2,2,3,3][u];s==="widehat"||s==="widecheck"?(o=[0,1062,2364,2364,2364][f],h=[0,239,300,360,420][f],d=[0,.24,.3,.3,.36,.42][f],m=s+f):(o=[0,600,1033,2339,2340][f],h=[0,260,286,306,312][f],d=[0,.26,.286,.3,.306,.34][f],m="tilde"+f)}var y=new Dt(m),w=new bt([y],{width:"100%",height:N(d),viewBox:"0 0 "+o+" "+h,preserveAspectRatio:"none"});return{span:It([],[w],r),minWidth:0,height:d}}else{var C=[],k=Q4[s];if(!k)throw new Error('No SVG data for "'+s+'".');var[z,D,q]=k,P=q/1e3,M=z.length,G,Y;if(M===1){if(k.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+s+'".');G=["hide-tail"],Y=[k[3]]}else if(M===2)G=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(M===3)G=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
269
+ `+M+" children.");for(var U=0;U<M;U++){var E=new Dt(z[U]),W=new bt([E],{width:"400em",height:N(P),viewBox:"0 0 "+o+" "+q,preserveAspectRatio:Y[U]+" slice"}),j=It([G[U]],[W],r);if(M===1)return{span:j,minWidth:D,height:P};j.style.height=N(P),C.push(j)}return{span:F(["stretchy"],C,r),minWidth:D,height:P}}}var{span:i,minWidth:a,height:l}=n();return i.height=l,i.style.height=N(l),a>0&&(i.style.minWidth=N(a)),i},em=function(e,r,n,i,a){var l,o=e.height+e.depth+n+i;if(/fbox|color|angl/.test(r)){if(l=F(["stretchy",r],[],a),r==="fbox"){var s=a.color&&a.getColor();s&&(l.style.borderColor=s)}}else{var u=[];/^[bx]cancel$/.test(r)&&u.push(new M0({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&u.push(new M0({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new bt(u,{width:"100%",height:N(o)});l=It([],[h],a)}return l.height=o,l.style.height=N(o),l},tm={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rm={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function nm(t){return t in tm}function ne(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function Tn(t){var e=zn(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function zn(t){return t&&(t.type==="atom"||rm.hasOwnProperty(t.type))?t:null}var fo=t=>{if(t instanceof Ze)return t;if(D4(t)&&t.children.length===1)return fo(t.children[0])},gi=(t,e)=>{var r,n,i;t&&t.type==="supsub"?(n=ne(t.base,"accent"),r=n.base,t.base=r,i=E4(ce(t,e)),t.base=n):(n=ne(t,"accent"),r=n.base);var a=ce(r,e.havingCrampedStyle()),l=n.isShifty&&wt(r),o=0;if(l){var s,u;o=(s=(u=fo(a))==null?void 0:u.skew)!=null?s:0}var h=n.label==="\\c",m=h?a.height+a.depth:Math.min(a.height,e.fontMetrics().xHeight),d;if(n.isStretchy)d=An(n,e),d=ue({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+N(2*o)+")",marginLeft:N(2*o)}:void 0}]});else{var f,y;n.label==="\\vec"?(f=oo("vec",e),y=lo.vec[1]):(f=kn({mode:n.mode,text:n.label},e,"textord"),f=M4(f),f.italic=0,y=f.width,h&&(m+=f.depth)),d=F(["accent-body"],[f]);var w=n.label==="\\textcircled";w&&(d.classes.push("accent-full"),m=a.height);var C=o;w||(C-=y/2),d.style.left=N(C),n.label==="\\textcircled"&&(d.style.top=".2em"),d=ue({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-m},{type:"elem",elem:d}]})}var k=F(["mord","accent"],[d],e);return i?(i.children[0]=k,i.height=Math.max(k.height,i.height),i.classes[0]="mord",i):k},go=(t,e)=>{var r=t.isStretchy?Sn(t.label):new R("mo",[rt(t.label,t.mode)]),n=new R("mover",[de(t.base,e),r]);return n.setAttribute("accent","true"),n},im=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));V({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,e)=>{var r=pn(e[0]),n=!im.test(t.funcName),i=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:gi,mathmlBuilder:go});V({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:gi,mathmlBuilder:go});V({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(t,e)=>{var r=ce(t.base,e),n=An(t,e),i=t.label==="\\utilde"?.12:0,a=ue({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]});return F(["mord","accentunder"],[a],e)},mathmlBuilder:(t,e)=>{var r=Sn(t.label),n=new R("munder",[de(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});var Kr=t=>{var e=new R("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};V({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n,funcName:i}=t;return{type:"xArrow",mode:n.mode,label:i,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),i=ir(ce(t.body,n,e),e),a=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var l;t.below&&(n=e.havingStyle(r.sub()),l=ir(ce(t.below,n,e),e),l.classes.push(a+"-arrow-pad"));var o=An(t,e),s=-e.fontMetrics().axisHeight+.5*o.height,u=-e.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(u-=i.depth);var h;if(l){var m=-e.fontMetrics().axisHeight+l.height+.5*o.height+.111;h=ue({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:s,wrapperClasses:["svg-align"]},{type:"elem",elem:l,shift:m}]})}else h=ue({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:s,wrapperClasses:["svg-align"]}]});return F(["mrel","x-arrow"],[h],e)},mathmlBuilder(t,e){var r=Sn(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var i=Kr(de(t.body,e));if(t.below){var a=Kr(de(t.below,e));n=new R("munderover",[r,a,i])}else n=new R("mover",[r,i])}else if(t.below){var l=Kr(de(t.below,e));n=new R("munder",[r,l])}else n=Kr(),n=new R("mover",[r,n]);return n}});function vo(t,e){var r=Ee(t.body,e,!0);return F([t.mclass],r,e)}function yo(t,e){var r,n=Qe(t.body,e);return t.mclass==="minner"?r=new R("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new R("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new R("mo",n),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}V({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ae(i),isCharacterBox:wt(i)}},htmlBuilder:vo,mathmlBuilder:yo});var Cn=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};V({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:Cn(e[0]),body:Ae(e[1]),isCharacterBox:wt(e[1])}}});V({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:n}=t,i=e[1],a=e[0],l;n!=="\\stackrel"?l=Cn(i):l="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ae(i)},s={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:l,body:[s],isCharacterBox:wt(s)}},htmlBuilder:vo,mathmlBuilder:yo});V({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:Cn(e[0]),body:Ae(e[0])}},htmlBuilder(t,e){var r=Ee(t.body,e,!0),n=F([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=Qe(t.body,e),n=new R("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var am={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ea=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),Da=t=>t.type==="textord"&&t.text==="@",lm=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function om(t,e,r){var n=am[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[e[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},l=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[e[1]],[]),s={type:"ordgroup",mode:"math",body:[i,l,o]};return r.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function sm(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new O("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],i=[n],a=0;a<e.length;a++){for(var l=e[a],o=Ea(),s=0;s<l.length;s++)if(!Da(l[s]))o.body.push(l[s]);else{n.push(o),s+=1;var u=Tn(l[s]).text,h=new Array(2);if(h[0]={type:"ordgroup",mode:"math",body:[]},h[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(u))if("<>AV".includes(u))for(var m=0;m<2;m++){for(var d=!0,f=s+1;f<l.length;f++){if(lm(l[f],u)){d=!1,s=f;break}if(Da(l[f]))throw new O("Missing a "+u+" character to complete a CD arrow.",l[f]);h[m].body.push(l[f])}if(d)throw new O("Missing a "+u+" character to complete a CD arrow.",l[s])}else throw new O('Expected one of "<>AV=|." after @',l[s]);var y=om(u,h,t),w={type:"styling",body:[y],mode:"math",style:"display",resetFont:!0};n.push(w),o=Ea()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var C=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:C,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}V({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),n=ir(ce(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=N(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new R("mrow",[de(t.label,e)]);return r=new R("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new R("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});V({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=ir(ce(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new R("mrow",[de(t.fragment,e)])}});V({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,n=ne(e[0],"ordgroup"),i=n.body,a="",l=0;l<i.length;l++){var o=ne(i[l],"textord");a+=o.text}var s=parseInt(a),u;if(isNaN(s))throw new O("\\@char has non-numeric argument "+a);if(s<0||s>=1114111)throw new O("\\@char with invalid code point "+a);return s<=65535?u=String.fromCharCode(s):(s-=65536,u=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:"textord",mode:r.mode,text:u}}});var xo=(t,e)=>{var r=Ee(t.body,e.withColor(t.color),!1);return St(r)},bo=(t,e)=>{var r=Qe(t.body,e.withColor(t.color)),n=new R("mstyle",r);return n.setAttribute("mathcolor",t.color),n};V({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,n=ne(e[0],"color-token").color,i=e[1];return{type:"color",mode:r.mode,color:n,body:Ae(i)}},htmlBuilder:xo,mathmlBuilder:bo});V({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:n}=t,i=ne(e[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:xo,mathmlBuilder:bo});V({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:n}=t,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&ne(i,"size").value}},htmlBuilder(t,e){var r=F(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=N(be(t.size,e)))),r},mathmlBuilder(t,e){var r=new R("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",N(be(t.size,e)))),r}});var P0={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},wo=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new O("Expected a control sequence",t);return e},um=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},ko=(t,e,r,n)=>{var i=t.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,i,n)};V({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(P0[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=P0[n.text]),ne(e.parseFunction(),"internal");throw new O("Invalid token after macro prefix",n)}});V({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new O("Expected a control sequence",n);for(var a=0,l,o=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){l=e.gullet.future(),o[a].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new O('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new O('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new O("Expected a macro definition");o[a].push(n.text)}var{tokens:s}=e.gullet.consumeArg();return l&&s.unshift(l),(r==="\\edef"||r==="\\xdef")&&(s=e.gullet.expandTokens(s),s.reverse()),e.gullet.macros.set(i,{tokens:s,numArgs:a,delimiters:o},r===P0[r]),{type:"internal",mode:e.mode}}});V({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=wo(e.gullet.popToken());e.gullet.consumeSpaces();var i=um(e);return ko(e,n,i,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});V({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=wo(e.gullet.popToken()),i=e.gullet.popToken(),a=e.gullet.popToken();return ko(e,n,a,r==="\\\\globalfuture"),e.gullet.pushToken(a),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});var br=function(e,r,n){var i=ve.math[e]&&ve.math[e].replace,a=hi(i||e,r,n);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return a},vi=function(e,r,n,i){var a=n.havingBaseStyle(r),l=F(i.concat(a.sizingClasses(n)),[e],n),o=a.sizeMultiplier/n.sizeMultiplier;return l.height*=o,l.depth*=o,l.maxFontSize=a.sizeMultiplier,l},So=function(e,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=N(a),e.height-=a,e.depth+=a},cm=function(e,r,n,i,a,l){var o=Le(e,"Main-Regular",a,i),s=vi(o,r,i,l);return So(s,i,r),s},hm=function(e,r,n,i){return Le(e,"Size"+r+"-Regular",n,i)},Ao=function(e,r,n,i,a,l){var o=hm(e,r,a,i),s=vi(F(["delimsizing","size"+r],[o],i),re.TEXT,i,l);return n&&So(s,i,re.TEXT),s},r0=function(e,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=F(["delimsizinginner",i],[F([],[Le(e,r,n)])]);return{type:"elem",elem:a}},n0=function(e,r,n){var i=ut["Size4-Regular"][e.charCodeAt(0)]?ut["Size4-Regular"][e.charCodeAt(0)][4]:ut["Size1-Regular"][e.charCodeAt(0)][4],a=new Dt("inner",w4(e,Math.round(1e3*r))),l=new bt([a],{width:N(i),height:N(r),style:"width:"+N(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=It([],[l],n);return o.height=r,o.style.height=N(r),o.style.width=N(i),{type:"elem",elem:o}},N0=.008,Qr={type:"kern",size:-1*N0},mm=new Set(["|","\\lvert","\\rvert","\\vert"]),pm=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),To=function(e,r,n,i,a,l){var o,s,u,h,m="",d=0;o=u=h=e,s=null;var f="Size1-Regular";e==="\\uparrow"?u=h="⏐":e==="\\Uparrow"?u=h="‖":e==="\\downarrow"?o=u="⏐":e==="\\Downarrow"?o=u="‖":e==="\\updownarrow"?(o="\\uparrow",u="⏐",h="\\downarrow"):e==="\\Updownarrow"?(o="\\Uparrow",u="‖",h="\\Downarrow"):mm.has(e)?(u="∣",m="vert",d=333):pm.has(e)?(u="∥",m="doublevert",d=556):e==="["||e==="\\lbrack"?(o="⎡",u="⎢",h="⎣",f="Size4-Regular",m="lbrack",d=667):e==="]"||e==="\\rbrack"?(o="⎤",u="⎥",h="⎦",f="Size4-Regular",m="rbrack",d=667):e==="\\lfloor"||e==="⌊"?(u=o="⎢",h="⎣",f="Size4-Regular",m="lfloor",d=667):e==="\\lceil"||e==="⌈"?(o="⎡",u=h="⎢",f="Size4-Regular",m="lceil",d=667):e==="\\rfloor"||e==="⌋"?(u=o="⎥",h="⎦",f="Size4-Regular",m="rfloor",d=667):e==="\\rceil"||e==="⌉"?(o="⎤",u=h="⎥",f="Size4-Regular",m="rceil",d=667):e==="("||e==="\\lparen"?(o="⎛",u="⎜",h="⎝",f="Size4-Regular",m="lparen",d=875):e===")"||e==="\\rparen"?(o="⎞",u="⎟",h="⎠",f="Size4-Regular",m="rparen",d=875):e==="\\{"||e==="\\lbrace"?(o="⎧",s="⎨",h="⎩",u="⎪",f="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(o="⎫",s="⎬",h="⎭",u="⎪",f="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(o="⎧",h="⎩",u="⎪",f="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(o="⎫",h="⎭",u="⎪",f="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(o="⎧",h="⎭",u="⎪",f="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(o="⎫",h="⎩",u="⎪",f="Size4-Regular");var y=br(o,f,a),w=y.height+y.depth,C=br(u,f,a),k=C.height+C.depth,z=br(h,f,a),D=z.height+z.depth,q=0,P=1;if(s!==null){var M=br(s,f,a);q=M.height+M.depth,P=2}var G=w+D+q,Y=Math.max(0,Math.ceil((r-G)/(P*k))),U=G+Y*P*k,E=i.fontMetrics().axisHeight;n&&(E*=i.sizeMultiplier);var W=U/2-E,j=[];if(m.length>0){var se=U-w-D,Z=Math.round(U*1e3),$=k4(m,Math.round(se*1e3)),le=new Dt(m,$),ge=N(d/1e3),De=N(Z/1e3),Ue=new bt([le],{width:ge,height:De,viewBox:"0 0 "+d+" "+Z}),S=It([],[Ue],i);S.height=Z/1e3,S.style.width=ge,S.style.height=De,j.push({type:"elem",elem:S})}else{if(j.push(r0(h,f,a)),j.push(Qr),s===null){var ke=U-w-D+2*N0;j.push(n0(u,ke,i))}else{var qe=(U-w-D-q)/2+2*N0;j.push(n0(u,qe,i)),j.push(Qr),j.push(r0(s,f,a)),j.push(Qr),j.push(n0(u,qe,i))}j.push(Qr),j.push(r0(o,f,a))}var A=i.havingBaseStyle(re.TEXT),Ie=ue({positionType:"bottom",positionData:W,children:j});return vi(F(["delimsizing","mult"],[Ie],A),re.TEXT,i,l)},i0=80,a0=.08,l0=function(e,r,n,i,a){var l=b4(e,i,n),o=new Dt(e,l),s=new bt([o],{width:"400em",height:N(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return It(["hide-tail"],[s],a)},fm=function(e,r){var n=r.havingBaseSizing(),i=Do("\\surd",e*n.sizeMultiplier,Eo,n),a=n.sizeMultiplier,l=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,s,u,h,m;return i.type==="small"?(h=1e3+1e3*l+i0,e<1?a=1:e<1.4&&(a=.7),s=(1+l+a0)/a,u=(1+l)/a,o=l0("sqrtMain",s,h,l,r),o.style.minWidth="0.853em",m=.833/a):i.type==="large"?(h=(1e3+i0)*Ar[i.size],u=(Ar[i.size]+l)/a,s=(Ar[i.size]+l+a0)/a,o=l0("sqrtSize"+i.size,s,h,l,r),o.style.minWidth="1.02em",m=1/a):(s=e+l+a0,u=e+l,h=Math.floor(1e3*e+l)+i0,o=l0("sqrtTall",s,h,l,r),o.style.minWidth="0.742em",m=1.056),o.height=u,o.style.height=N(s),{span:o,advanceWidth:m,ruleWidth:(r.fontMetrics().sqrtRuleThickness+l)*a}},zo=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),dm=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Co=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Ar=[0,1.2,1.8,2.4,3],Mo=function(e,r,n,i,a){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),zo.has(e)||Co.has(e))return Ao(e,r,!1,n,i,a);if(dm.has(e))return To(e,Ar[r],!1,n,i,a);throw new O("Illegal delimiter: '"+e+"'")},gm=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],vm=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"stack"}],Eo=[{type:"small",style:re.SCRIPTSCRIPT},{type:"small",style:re.SCRIPT},{type:"small",style:re.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ym=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";var r=e.type;throw new Error("Add support for delim type '"+r+"' here.")},Do=function(e,r,n,i){for(var a=Math.min(2,3-i.style.size),l=a;l<n.length;l++){var o=n[l];if(o.type==="stack")break;var s=br(e,ym(o),"math"),u=s.height+s.depth;if(o.type==="small"){var h=i.havingBaseStyle(o.style);u*=h.sizeMultiplier}if(u>r)return o}return n[n.length-1]},$0=function(e,r,n,i,a,l){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var o;Co.has(e)?o=gm:zo.has(e)?o=Eo:o=vm;var s=Do(e,r,o,i);return s.type==="small"?cm(e,s.style,n,i,a,l):s.type==="large"?Ao(e,s.size,n,i,a,l):To(e,r,n,i,a,l)},o0=function(e,r,n,i,a,l){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,s=901,u=5/i.fontMetrics().ptPerEm,h=Math.max(r-o,n+o),m=Math.max(h/500*s,2*h-u);return $0(e,m,!0,i,a,l)},Ia={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},xm=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function _a(t){return"isMiddle"in t}function Mn(t,e){var r=zn(t);if(r&&xm.has(r.text))return r;throw r?new O("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new O("Invalid delimiter type '"+t.type+"'",t)}V({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,e)=>{var r=Mn(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Ia[t.funcName].size,mclass:Ia[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?F([t.mclass]):Mo(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(rt(t.delim,t.mode));var r=new R("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=N(Ar[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Ba(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}V({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new O("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Mn(e[0],t).text,color:r}}});V({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Mn(e[0],t),n=t.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=ne(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(t,e)=>{Ba(t);for(var r=Ee(t.body,e,!0,["mopen","mclose"]),n=0,i=0,a=!1,l=0;l<r.length;l++){var o=r[l];_a(o)?a=!0:(n=Math.max(r[l].height,n),i=Math.max(r[l].depth,i))}n*=e.sizeMultiplier,i*=e.sizeMultiplier;var s;if(t.left==="."?s=Mr(e,["mopen"]):s=o0(t.left,n,i,e,t.mode,["mopen"]),r.unshift(s),a)for(var u=1;u<r.length;u++){var h=r[u];if(_a(h)){var m=h.isMiddle;r[u]=o0(m.delim,n,i,m.options,t.mode,[])}}var d;if(t.right===".")d=Mr(e,["mclose"]);else{var f=t.rightColor?e.withColor(t.rightColor):e;d=o0(t.right,n,i,f,t.mode,["mclose"])}return r.push(d),F(["minner"],r,e)},mathmlBuilder:(t,e)=>{Ba(t);var r=Qe(t.body,e);if(t.left!=="."){var n=new R("mo",[rt(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var i=new R("mo",[rt(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),r.push(i)}return fi(r)}});V({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Mn(e[0],t);if(!t.parser.leftrightDepth)throw new O("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;return t.delim==="."?r=Mr(e,[]):(r=Mo(t.delim,1,e,t.mode,[]),r.isMiddle={delim:t.delim,options:e}),r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?rt("|","text"):rt(t.delim,t.mode),n=new R("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var En=(t,e)=>{var r=ir(ce(t.body,e),e),n=t.label.slice(1),i=e.sizeMultiplier,a,l,o=wt(t.body);if(n==="sout")a=F(["stretchy","sout"]),a.height=e.fontMetrics().defaultRuleThickness/i,l=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var s=be({number:.6,unit:"pt"},e),u=be({number:.35,unit:"ex"},e),h=e.havingBaseSizing();i=i/h.sizeMultiplier;var m=r.height+r.depth+s+u;r.style.paddingLeft=N(m/2+s);var d=Math.floor(1e3*m*i),f=y4(d),y=new bt([new Dt("phase",f)],{width:"400em",height:N(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});a=It(["hide-tail"],[y],e),a.style.height=N(m),l=r.depth+s+u}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var w,C,k=0;/box/.test(n)?(k=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),w=e.fontMetrics().fboxsep+(n==="colorbox"?0:k),C=w):n==="angl"?(k=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),w=4*k,C=Math.max(0,.25-r.depth)):(w=o?.2:0,C=w),a=em(r,n,w,C,e),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=N(k)):n==="angl"&&k!==.049&&(a.style.borderTopWidth=N(k),a.style.borderRightWidth=N(k)),l=r.depth+C,t.backgroundColor&&(a.style.backgroundColor=t.backgroundColor,t.borderColor&&(a.style.borderColor=t.borderColor))}var z;if(t.backgroundColor)z=ue({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:r,shift:0}]});else{var D=/cancel|phase/.test(n)?["svg-align"]:[];z=ue({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:l,wrapperClasses:D}]})}return/cancel/.test(n)&&(z.height=r.height,z.depth=r.depth),/cancel/.test(n)&&!o?F(["mord","cancel-lap"],[z],e):F(["mord"],[z],e)},Dn=(t,e)=>{var r,n=new R(t.label.includes("colorbox")?"mpadded":"menclose",[de(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+N(i)+" solid "+t.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};V({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=ne(e[0],"color-token").color,l=e[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:l}},htmlBuilder:En,mathmlBuilder:Dn});V({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=ne(e[0],"color-token").color,l=ne(e[1],"color-token").color,o=e[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:l,borderColor:a,body:o}},htmlBuilder:En,mathmlBuilder:Dn});V({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});V({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:En,mathmlBuilder:Dn});V({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t;r.mode==="math"&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var i=e[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:En,mathmlBuilder:Dn});V({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var Io={};function ct(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:l}=t,o={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},s=0;s<r.length;++s)Io[r[s]]=o;a&&(hn[e]=a),l&&(mn[e]=l)}var _o={};function v(t,e){_o[t]=e}class He{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new He(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class Ye{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new Ye(r,He.range(this,e))}}function Fa(t){var e=[];t.consumeSpaces();var r=t.fetch().text;for(r==="\\relax"&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);r==="\\hline"||r==="\\hdashline";)t.consume(),e.push(r==="\\hdashline"),t.consumeSpaces(),r=t.fetch().text;return e}var In=t=>{var e=t.parser.settings;if(!e.displayMode)throw new O("{"+t.envName+"} can be used only in display mode.")},bm=new Set(["gather","gather*"]);function yi(t){if(!t.includes("ed"))return!t.includes("*")}function Ft(t,e,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:l,colSeparationType:o,autoTag:s,singleRow:u,emptySingleRow:h,maxNumCols:m,leqno:d}=e;if(t.gullet.beginGroup(),u||t.gullet.macros.set("\\cr","\\\\\\relax"),!l){var f=t.gullet.expandMacroAsText("\\arraystretch");if(f==null)l=1;else if(l=parseFloat(f),!l||l<0)throw new O("Invalid \\arraystretch: "+f)}t.gullet.beginGroup();var y=[],w=[y],C=[],k=[],z=s!=null?[]:void 0;function D(){s&&t.gullet.macros.set("\\@eqnsw","1",!0)}function q(){z&&(t.gullet.macros.get("\\df@tag")?(z.push(t.subparse([new Ye("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):z.push(!!s&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(D(),k.push(Fa(t));;){var P=t.parseExpression(!1,u?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup();var M={type:"ordgroup",mode:t.mode,body:P};r&&(M={type:"styling",mode:t.mode,style:r,resetFont:!0,body:[M]}),y.push(M);var G=t.fetch().text;if(G==="&"){if(m&&y.length===m){if(u||o)throw new O("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(G==="\\end"){q(),y.length===1&&M.type==="styling"&&M.body.length===1&&M.body[0].type==="ordgroup"&&M.body[0].body.length===0&&(w.length>1||!h)&&w.pop(),k.length<w.length+1&&k.push([]);break}else if(G==="\\\\"){t.consume();var Y=void 0;t.gullet.future().text!==" "&&(Y=t.parseSizeGroup(!0)),C.push(Y?Y.value:null),q(),k.push(Fa(t)),y=[],w.push(y),D()}else throw new O("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:l,body:w,cols:a,rowGaps:C,hskipBeforeAndAfter:n,hLinesBeforeRow:k,colSeparationType:o,tags:z,leqno:d}}function xi(t){return t.slice(0,1)==="d"?"display":"text"}var ht=function(e,r){var n,i,a=e.body.length,l=e.hLinesBeforeRow,o=0,s=new Array(a),u=[],h=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),m=1/r.fontMetrics().ptPerEm,d=5*m;if(e.colSeparationType&&e.colSeparationType==="small"){var f=r.havingStyle(re.SCRIPT).sizeMultiplier;d=.2778*(f/r.sizeMultiplier)}var y=e.colSeparationType==="CD"?be({number:3,unit:"ex"},r):12*m,w=3*m,C=e.arraystretch*y,k=.7*C,z=.3*C,D=0;function q(J){for(var ie=0;ie<J.length;++ie)ie>0&&(D+=.25),u.push({pos:D,isDashed:J[ie]})}for(q(l[0]),n=0;n<e.body.length;++n){var P=e.body[n],M=k,G=z;o<P.length&&(o=P.length);var Y={cells:new Array(P.length),height:0,depth:0,pos:0};for(i=0;i<P.length;++i){var U=ce(P[i],r);G<U.depth&&(G=U.depth),M<U.height&&(M=U.height),Y.cells[i]=U}var E=e.rowGaps[n],W=0;E&&(W=be(E,r),W>0&&(W+=z,G<W&&(G=W),W=0)),e.addJot&&n<e.body.length-1&&(G+=w),Y.height=M,Y.depth=G,D+=M,Y.pos=D,D+=G+W,s[n]=Y,q(l[n+1])}var j=D/2+r.fontMetrics().axisHeight,se=e.cols||[],Z=[],$,le,ge=[];if(e.tags&&e.tags.some(J=>J))for(n=0;n<a;++n){var De=s[n],Ue=De.pos-j,S=e.tags[n],ke=void 0;S===!0?ke=F(["eqn-num"],[],r):S===!1?ke=F([],[],r):ke=F([],Ee(S,r,!0),r),ke.depth=De.depth,ke.height=De.height,ge.push({type:"elem",elem:ke,shift:Ue})}for(i=0,le=0;i<o||le<se.length;++i,++le){for(var qe,A=se[le],Ie=!0;((lt=A)==null?void 0:lt.type)==="separator";){var lt;if(Ie||($=F(["arraycolsep"],[]),$.style.width=N(r.fontMetrics().doubleRuleSep),Z.push($)),A.separator==="|"||A.separator===":"){var Ce=A.separator==="|"?"solid":"dashed",Je=F(["vertical-separator"],[],r);Je.style.height=N(D),Je.style.borderRightWidth=N(h),Je.style.borderRightStyle=Ce,Je.style.margin="0 "+N(-h/2);var nt=D-j;nt&&(Je.style.verticalAlign=N(-nt)),Z.push(Je)}else throw new O("Invalid separator type: "+A.separator);le++,A=se[le],Ie=!1}if(!(i>=o)){var Ge=void 0;if(i>0||e.hskipBeforeAndAfter){var ft,qt;Ge=(ft=(qt=A)==null?void 0:qt.pregap)!=null?ft:d,Ge!==0&&($=F(["arraycolsep"],[]),$.style.width=N(Ge),Z.push($))}var Or=[];for(n=0;n<a;++n){var Xt=s[n],Yt=Xt.cells[i];if(Yt){var Lr=Xt.pos-j;Yt.depth=Xt.depth,Yt.height=Xt.height,Or.push({type:"elem",elem:Yt,shift:Lr})}}var Rr=ue({positionType:"individualShift",children:Or}),Pr=F(["col-align-"+(((qe=A)==null?void 0:qe.align)||"c")],[Rr]);if(Z.push(Pr),i<o-1||e.hskipBeforeAndAfter){var Nr,mr;Ge=(Nr=(mr=A)==null?void 0:mr.postgap)!=null?Nr:d,Ge!==0&&($=F(["arraycolsep"],[]),$.style.width=N(Ge),Z.push($))}}}var Ot=F(["mtable"],Z);if(u.length>0){for(var Fn=nr("hline",r,h),qn=nr("hdashline",r,h),pr=[{type:"elem",elem:Ot,shift:0}];u.length>0;){var $r=u.pop(),Hr=$r.pos-j;$r.isDashed?pr.push({type:"elem",elem:qn,shift:Hr}):pr.push({type:"elem",elem:Fn,shift:Hr})}Ot=ue({positionType:"individualShift",children:pr})}if(ge.length===0)return F(["mord"],[Ot],r);var I=ue({positionType:"individualShift",children:ge}),H=F(["tag"],[I],r);return St([Ot,H])},wm={c:"center ",l:"left ",r:"right "},mt=function(e,r){for(var n=[],i=new R("mtd",[],["mtr-glue"]),a=new R("mtd",[],["mml-eqn-num"]),l=0;l<e.body.length;l++){for(var o=e.body[l],s=[],u=0;u<o.length;u++)s.push(new R("mtd",[de(o[u],r)]));e.tags&&e.tags[l]&&(s.unshift(i),s.push(i),e.leqno?s.unshift(a):s.push(a)),n.push(new R("mtr",s))}var h=new R("mtable",n),m=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);h.setAttribute("rowspacing",N(m));var d="",f="";if(e.cols&&e.cols.length>0){var y=e.cols,w="",C=!1,k=0,z=y.length;y[0].type==="separator"&&(d+="top ",k=1),y[y.length-1].type==="separator"&&(d+="bottom ",z-=1);for(var D=k;D<z;D++){var q=y[D];q.type==="align"?(f+=wm[q.align],C&&(w+="none "),C=!0):q.type==="separator"&&C&&(w+=q.separator==="|"?"solid ":"dashed ",C=!1)}h.setAttribute("columnalign",f.trim()),/[sd]/.test(w)&&h.setAttribute("columnlines",w.trim())}if(e.colSeparationType==="align"){for(var P=e.cols||[],M="",G=1;G<P.length;G++)M+=G%2?"0em ":"1em ";h.setAttribute("columnspacing",M.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?h.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");var Y="",U=e.hLinesBeforeRow;d+=U[0].length>0?"left ":"",d+=U[U.length-1].length>0?"right ":"";for(var E=1;E<U.length-1;E++)Y+=U[E].length===0?"none ":U[E][0]?"dashed ":"solid ";return/[sd]/.test(Y)&&h.setAttribute("rowlines",Y.trim()),d!==""&&(h=new R("menclose",[h]),h.setAttribute("notation",d.trim())),e.arraystretch&&e.arraystretch<1&&(h=new R("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},Bo=function(e,r){e.envName.includes("ed")||In(e);var n=[],i=e.envName.includes("at")?"alignat":"align",a=e.envName==="split",l=Ft(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:yi(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,s=0,u={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var h="",m=0;m<r[0].body.length;m++){var d=ne(r[0].body[m],"textord");h+=d.text}o=Number(h),s=o*2}var f=!s;l.body.forEach(function(k){for(var z=1;z<k.length;z+=2){var D=ne(k[z],"styling"),q=ne(D.body[0],"ordgroup");q.body.unshift(u)}if(f)s<k.length&&(s=k.length);else{var P=k.length/2;if(o<P)throw new O("Too many math in a row: "+("expected "+o+", but got "+P),k[0])}});for(var y=0;y<s;++y){var w="r",C=0;y%2===1?w="l":y>0&&f&&(C=1),n[y]={type:"align",align:w,pregap:C,postgap:0}}return l.colSeparationType=f?"align":"alignat",l};ct({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=zn(e[0]),n=r?[e[0]]:ne(e[0],"ordgroup").body,i=n.map(function(l){var o=Tn(l),s=o.text;if("lcr".includes(s))return{type:"align",align:s};if(s==="|")return{type:"separator",separator:"|"};if(s===":")return{type:"separator",separator:":"};throw new O("Unknown column alignment: "+s,l)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return Ft(t.parser,a,xi(t.envName))},htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,!"lcr".includes(r))throw new O("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=Ft(t.parser,n,xi(t.envName)),l=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(l).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[a],left:e[0],right:e[1],rightColor:void 0}:a},htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=Ft(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=zn(e[0]),n=r?[e[0]]:ne(e[0],"ordgroup").body,i=n.map(function(o){var s=Tn(o),u=s.text;if("lc".includes(u))return{type:"align",align:u};throw new O("Unknown column alignment: "+u,o)});if(i.length>1)throw new O("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5},l=Ft(t.parser,a,"script");if(l.body.length>0&&l.body[0].length>1)throw new O("{subarray} can contain only one column");return l},htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Ft(t.parser,e,xi(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.includes("r")?".":"\\{",right:t.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Bo,htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){bm.has(t.envName)&&In(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yi(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Ft(t.parser,e,"display")},htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Bo,htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){In(t);var e={autoTag:yi(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Ft(t.parser,e,"display")},htmlBuilder:ht,mathmlBuilder:mt});ct({type:"array",names:["CD"],props:{numArgs:0},handler(t){return In(t),sm(t.parser)},htmlBuilder:ht,mathmlBuilder:mt});v("\\nonumber","\\gdef\\@eqnsw{0}");v("\\notag","\\nonumber");V({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new O(t.funcName+" valid only within array environment")}});var qa=Io;V({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];if(i.type!=="ordgroup")throw new O("Invalid environment name",i);for(var a="",l=0;l<i.body.length;++l)a+=ne(i.body[l],"textord").text;if(n==="\\begin"){if(!qa.hasOwnProperty(a))throw new O("No such environment: "+a,i);var o=qa[a],{args:s,optArgs:u}=r.parseArguments("\\begin{"+a+"}",o),h={mode:r.mode,envName:a,parser:r},m=o.handler(h,s,u);r.expect("\\end",!1);var d=r.nextToken,f=ne(r.parseFunction(),"environment");if(f.name!==a)throw new O("Mismatch: \\begin{"+a+"} matched by \\end{"+f.name+"}",d);return m}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var Fo=(t,e)=>{var r=t.font,n=e.withFont(r);return ce(t.body,n)},qo=(t,e)=>{var r=t.font,n=e.withFont(r);return de(t.body,n)},Oa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};V({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=pn(e[0]),a=n;return a in Oa&&(a=Oa[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:Fo,mathmlBuilder:qo});V({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:Cn(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:wt(n)}}});V({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,breakOnTokenText:i}=t,{mode:a}=r,l=r.parseExpression(!0,i);return{type:"font",mode:a,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:l}}},htmlBuilder:Fo,mathmlBuilder:qo});var km=(t,e)=>{var r=e.style,n=r.fracNum(),i=r.fracDen(),a;a=e.havingStyle(n);var l=ce(t.numer,a,e);if(t.continued){var o=8.5/e.fontMetrics().ptPerEm,s=3.5/e.fontMetrics().ptPerEm;l.height=l.height<o?o:l.height,l.depth=l.depth<s?s:l.depth}a=e.havingStyle(i);var u=ce(t.denom,a,e),h,m,d;t.hasBarLine?(t.barSize?(m=be(t.barSize,e),h=nr("frac-line",e,m)):h=nr("frac-line",e),m=h.height,d=h.height):(h=null,m=0,d=e.fontMetrics().defaultRuleThickness);var f,y,w;r.size===re.DISPLAY.size?(f=e.fontMetrics().num1,m>0?y=3*d:y=7*d,w=e.fontMetrics().denom1):(m>0?(f=e.fontMetrics().num2,y=d):(f=e.fontMetrics().num3,y=3*d),w=e.fontMetrics().denom2);var C;if(h){var z=e.fontMetrics().axisHeight;f-l.depth-(z+.5*m)<y&&(f+=y-(f-l.depth-(z+.5*m))),z-.5*m-(u.height-w)<y&&(w+=y-(z-.5*m-(u.height-w)));var D=-(z-.5*m);C=ue({positionType:"individualShift",children:[{type:"elem",elem:u,shift:w},{type:"elem",elem:h,shift:D},{type:"elem",elem:l,shift:-f}]})}else{var k=f-l.depth-(u.height-w);k<y&&(f+=.5*(y-k),w+=.5*(y-k)),C=ue({positionType:"individualShift",children:[{type:"elem",elem:u,shift:w},{type:"elem",elem:l,shift:-f}]})}a=e.havingStyle(r),C.height*=a.sizeMultiplier/e.sizeMultiplier,C.depth*=a.sizeMultiplier/e.sizeMultiplier;var q;r.size===re.DISPLAY.size?q=e.fontMetrics().delim1:r.size===re.SCRIPTSCRIPT.size?q=e.havingStyle(re.SCRIPT).fontMetrics().delim2:q=e.fontMetrics().delim2;var P,M;return t.leftDelim==null?P=Mr(e,["mopen"]):P=$0(t.leftDelim,q,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?M=F([]):t.rightDelim==null?M=Mr(e,["mclose"]):M=$0(t.rightDelim,q,!0,e.havingStyle(r),t.mode,["mclose"]),F(["mord"].concat(a.sizingClasses(e)),[P,F(["mfrac"],[C]),M],e)},Sm=(t,e)=>{var r=new R("mfrac",[de(t.numer,e),de(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=be(t.barSize,e);r.setAttribute("linethickness",N(n))}if(t.leftDelim!=null||t.rightDelim!=null){var i=[];if(t.leftDelim!=null){var a=new R("mo",[new Te(t.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),i.push(a)}if(i.push(r),t.rightDelim!=null){var l=new R("mo",[new Te(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return fi(i)}return r},Oo=(t,e)=>{if(!e)return t;var r={type:"styling",mode:t.mode,style:e,body:[t]};return r};V({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=e[1],l,o=null,s=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":l=!0;break;case"\\\\atopfrac":l=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":l=!1,o="(",s=")";break;case"\\\\bracefrac":l=!1,o="\\{",s="\\}";break;case"\\\\brackfrac":l=!1,o="[",s="]";break;default:throw new Error("Unrecognized genfrac command")}var u=n==="\\cfrac",h=null;return u||n.startsWith("\\d")?h="display":n.startsWith("\\t")&&(h="text"),Oo({type:"genfrac",mode:r.mode,numer:i,denom:a,continued:u,hasBarLine:l,leftDelim:o,rightDelim:s,barSize:null},h)},htmlBuilder:km,mathmlBuilder:Sm});V({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:n}=t,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:n}}});var La=["display","text","script","scriptscript"],Ra=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};V({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,n=e[4],i=e[5],a=pn(e[0]),l=a.type==="atom"&&a.family==="open"?Ra(a.text):null,o=pn(e[1]),s=o.type==="atom"&&o.family==="close"?Ra(o.text):null,u=ne(e[2],"size"),h,m=null;u.isBlank?h=!0:(m=u.value,h=m.number>0);var d=null,f=e[3];if(f.type==="ordgroup"){if(f.body.length>0){var y=ne(f.body[0],"textord");d=La[Number(y.text)]}}else f=ne(f,"textord"),d=La[Number(f.text)];return Oo({type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:h,barSize:m,leftDelim:l,rightDelim:s},d)}});V({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:n,token:i}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ne(e[0],"size").value,token:i}}});V({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=ne(e[1],"infix").size;if(!a)throw new Error("\\\\abovefrac expected size, but got "+String(a));var l=e[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:l,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null}}});var Lo=(t,e)=>{var r=e.style,n,i;t.type==="supsub"?(n=t.sup?ce(t.sup,e.havingStyle(r.sup()),e):ce(t.sub,e.havingStyle(r.sub()),e),i=ne(t.base,"horizBrace")):i=ne(t,"horizBrace");var a=ce(i.base,e.havingBaseStyle(re.DISPLAY)),l=An(i,e),o;if(i.isOver?o=ue({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:l,wrapperClasses:["svg-align"]}]}):o=ue({positionType:"bottom",positionData:a.depth+.1+l.height,children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:a}]}),n){var s=F(["minner",i.isOver?"mover":"munder"],[o],e);i.isOver?o=ue({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:n}]}):o=ue({positionType:"bottom",positionData:s.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:s}]})}return F(["minner",i.isOver?"mover":"munder"],[o],e)},Am=(t,e)=>{var r=Sn(t.label);return new R(t.isOver?"mover":"munder",[de(t.base,e),r])};V({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:e[0]}},htmlBuilder:Lo,mathmlBuilder:Am});V({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[1],i=ne(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Ae(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=Ee(t.body,e,!1);return L4(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=_t(t.body,e);return r instanceof R||(r=new R("mrow",[r])),r.setAttribute("href",t.href),r}});V({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=ne(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var l=n[a];l==="~"&&(l="\\textasciitilde"),i.push({type:"textord",mode:"text",text:l})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Ae(o)}}});V({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:r}=t;return{type:"hbox",mode:r.mode,body:Ae(e[0])}},htmlBuilder(t,e){var r=Ee(t.body,e.withFont(""),!1);return St(r)},mathmlBuilder(t,e){return new R("mrow",Qe(t.body,e.withFont("")))}});V({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,token:i}=t,a=ne(e[0],"raw").string,l=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,s={};switch(n){case"\\htmlClass":s.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":s.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":s.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var u=a.split(","),h=0;h<u.length;h++){var m=u[h],d=m.indexOf("=");if(d<0)throw new O("\\htmlData key/value '"+m+"' missing equals sign");var f=m.slice(0,d),y=m.slice(d+1);s["data-"+f.trim()]=y}o={command:"\\htmlData",attributes:s};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:s,body:Ae(l)}:r.formatUnsupportedCmd(n)},htmlBuilder:(t,e)=>{var r=Ee(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var i=F(n,r,e);for(var a in t.attributes)a!=="class"&&t.attributes.hasOwnProperty(a)&&i.setAttribute(a,t.attributes[a]);return i},mathmlBuilder:(t,e)=>_t(t.body,e)});V({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Ae(e[0]),mathml:Ae(e[1])}},htmlBuilder:(t,e)=>{var r=Ee(t.html,e,!1);return St(r)},mathmlBuilder:(t,e)=>_t(t.mathml,e)});var s0=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new O("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Ql(n))throw new O("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};V({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:n}=t,i={number:0,unit:"em"},a={number:.9,unit:"em"},l={number:0,unit:"em"},o="";if(r[0])for(var s=ne(r[0],"raw").string,u=s.split(","),h=0;h<u.length;h++){var m=u[h].split("=");if(m.length===2){var d=m[1].trim();switch(m[0].trim()){case"alt":o=d;break;case"width":i=s0(d);break;case"height":a=s0(d);break;case"totalheight":l=s0(d);break;default:throw new O("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}var f=ne(e[0],"url").url;return o===""&&(o=f,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:f})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:l,src:f}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var r=be(t.height,e),n=0;t.totalheight.number>0&&(n=be(t.totalheight,e)-r);var i=0;t.width.number>0&&(i=be(t.width,e));var a={height:N(r+n)};i>0&&(a.width=N(i)),n>0&&(a.verticalAlign=N(-n));var l=new z4(t.src,t.alt,a);return l.height=r,l.depth=n,l},mathmlBuilder:(t,e)=>{var r=new R("mglyph",[]);r.setAttribute("alt",t.alt);var n=be(t.height,e),i=0;if(t.totalheight.number>0&&(i=be(t.totalheight,e)-n,r.setAttribute("valign",N(-i))),r.setAttribute("height",N(n+i)),t.width.number>0){var a=be(t.width,e);r.setAttribute("width",N(a))}return r.setAttribute("src",t.src),r}});V({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=ne(e[0],"size");if(r.settings.strict){var a=n[1]==="m",l=i.value.unit==="mu";a?(l||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):l&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(t,e){return ao(t.dimension,e)},mathmlBuilder(t,e){var r=be(t.dimension,e);return new ho(r)}});V({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=F([],[ce(t.body,e)]),r=F(["inner"],[r],e)):r=F(["inner"],[ce(t.body,e)]);var n=F(["fix"],[]),i=F([t.alignment],[r,n],e),a=F(["strut"]);return a.style.height=N(i.height+i.depth),i.depth&&(a.style.verticalAlign=N(-i.depth)),i.children.unshift(a),i=F(["thinbox"],[i],e),F(["mord","vbox"],[i],e)},mathmlBuilder:(t,e)=>{var r=new R("mpadded",[de(t.body,e)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});V({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:n}=t,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",l=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",resetFont:!0,body:l}}});V({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new O("Mismatched "+t.funcName)}});var Pa=(t,e)=>{switch(e.style.size){case re.DISPLAY.size:return t.display;case re.TEXT.size:return t.text;case re.SCRIPT.size:return t.script;case re.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};V({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Ae(e[0]),text:Ae(e[1]),script:Ae(e[2]),scriptscript:Ae(e[3])}},htmlBuilder:(t,e)=>{var r=Pa(t,e),n=Ee(r,e,!1);return St(n)},mathmlBuilder:(t,e)=>{var r=Pa(t,e);return _t(r,e)}});var Ro=(t,e,r,n,i,a,l)=>{t=F([],[t]);var o=r&&wt(r),s,u;if(e){var h=ce(e,n.havingStyle(i.sup()),n);u={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var m=ce(r,n.havingStyle(i.sub()),n);s={elem:m,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-m.height)}}var d;if(u&&s){var f=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+t.depth+l;d=ue({positionType:"bottom",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:N(-a)},{type:"kern",size:s.kern},{type:"elem",elem:t},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:N(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(s){var y=t.height-l;d=ue({positionType:"top",positionData:y,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:N(-a)},{type:"kern",size:s.kern},{type:"elem",elem:t}]})}else if(u){var w=t.depth+l;d=ue({positionType:"bottom",positionData:w,children:[{type:"elem",elem:t},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:N(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return t;var C=[d];if(s&&a!==0&&!o){var k=F(["mspace"],[],n);k.style.marginRight=N(a),C.unshift(k)}return F(["mop","op-limits"],C,n)},Po=new Set(["\\smallint"]),hr=(t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=ne(t.base,"op"),i=!0):a=ne(t,"op");var l=e.style,o=!1;l.size===re.DISPLAY.size&&a.symbol&&!Po.has(a.name)&&(o=!0);var s,u;if(a.symbol){var h=o?"Size2-Regular":"Size1-Regular",m="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(m=a.name.slice(1),a.name=m==="oiint"?"\\iint":"\\iiint"),s=Le(a.name,h,"math",e,["mop","op-symbol",o?"large-op":"small-op"]),u=s.italic,m.length>0){var d=oo(m+"Size"+(o?"2":"1"),e);s=ue({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:d,shift:o?.08:0}]}),a.name="\\"+m,s.classes.unshift("mop"),s.italic=u}}else if(a.body){var f=Ee(a.body,e,!0);f.length===1&&f[0]instanceof Ze?(s=f[0],s.classes[0]="mop"):s=F(["mop"],f,e)}else{for(var y=[],w=1;w<a.name.length;w++)y.push(mi(a.name[w],a.mode,e));s=F(["mop"],y,e)}var C=0,k=0;if((s instanceof Ze||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift){var z;C=(s.height-s.depth)/2-e.fontMetrics().axisHeight,k=(z=s.italic)!=null?z:0}return i?Ro(s,r,n,e,l,k,C):(C&&(s.style.position="relative",s.style.top=N(C)),s)},qr=(t,e)=>{var r;if(t.symbol)r=new R("mo",[rt(t.name,t.mode)]),Po.has(t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new R("mo",Qe(t.body,e));else{r=new R("mi",[new Te(t.name.slice(1))]);var n=new R("mo",[rt("⁡","text")]);t.parentIsSupSub?r=new R("mrow",[r,n]):r=co([r,n])}return r},Tm={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};V({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=n;return i.length===1&&(i=Tm[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:hr,mathmlBuilder:qr});V({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ae(n)}},htmlBuilder:hr,mathmlBuilder:qr});var zm={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};V({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:hr,mathmlBuilder:qr});V({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:hr,mathmlBuilder:qr});V({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=zm[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:hr,mathmlBuilder:qr});var No=(t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=ne(t.base,"operatorname"),i=!0):a=ne(t,"operatorname");var l;if(a.body.length>0){for(var o=a.body.map(m=>{var d="text"in m?m.text:void 0;return typeof d=="string"?{type:"textord",mode:m.mode,text:d}:m}),s=Ee(o,e.withFont("mathrm"),!0),u=0;u<s.length;u++){var h=s[u];h instanceof Ze&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}l=F(["mop"],s,e)}else l=F(["mop"],[],e);return i?Ro(l,r,n,e,e.style,0,0):l},Cm=(t,e)=>{for(var r=Qe(t.body,e.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof ho))if(a instanceof R)switch(a.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var l=a.children[0];a.children.length===1&&l instanceof Te?l.text=l.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(h=>h.toText()).join("");r=[new Te(o)]}var s=new R("mi",r);s.setAttribute("mathvariant","normal");var u=new R("mo",[rt("⁡","text")]);return t.parentIsSupSub?new R("mrow",[s,u]):co([s,u])};V({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"operatorname",mode:r.mode,body:Ae(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:No,mathmlBuilder:Cm});v("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Vt({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?St(Ee(t.body,e,!1)):F(["mord"],Ee(t.body,e,!0),e)},mathmlBuilder(t,e){return _t(t.body,e,!0)}});V({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){var r=ce(t.body,e.havingCrampedStyle()),n=nr("overline-line",e),i=e.fontMetrics().defaultRuleThickness,a=ue({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]});return F(["mord","overline"],[a],e)},mathmlBuilder(t,e){var r=new R("mo",[new Te("‾")]);r.setAttribute("stretchy","true");var n=new R("mover",[de(t.body,e),r]);return n.setAttribute("accent","true"),n}});V({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:Ae(n)}},htmlBuilder:(t,e)=>{var r=Ee(t.body,e.withPhantom(),!1);return St(r)},mathmlBuilder:(t,e)=>{var r=Qe(t.body,e);return new R("mphantom",r)}});v("\\hphantom","\\smash{\\phantom{#1}}");V({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=F(["inner"],[ce(t.body,e.withPhantom())]),n=F(["fix"],[]);return F(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{var r=Qe(Ae(t.body),e),n=new R("mphantom",r),i=new R("mpadded",[n]);return i.setAttribute("width","0px"),i}});V({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,n=ne(e[0],"size").value,i=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(t,e){var r=ce(t.body,e),n=be(t.dy,e);return ue({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(t,e){var r=new R("mpadded",[de(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}});V({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});V({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(t,e,r){var{parser:n}=t,i=r[0],a=ne(e[0],"size"),l=ne(e[1],"size");return{type:"rule",mode:n.mode,shift:i&&ne(i,"size").value,width:a.value,height:l.value}},htmlBuilder(t,e){var r=F(["mord","rule"],[],e),n=be(t.width,e),i=be(t.height,e),a=t.shift?be(t.shift,e):0;return r.style.borderRightWidth=N(n),r.style.borderTopWidth=N(i),r.style.bottom=N(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=be(t.width,e),n=be(t.height,e),i=t.shift?be(t.shift,e):0,a=e.color&&e.getColor()||"black",l=new R("mspace");l.setAttribute("mathbackground",a),l.setAttribute("width",N(r)),l.setAttribute("height",N(n));var o=new R("mpadded",[l]);return i>=0?o.setAttribute("height",N(i)):(o.setAttribute("height",N(i)),o.setAttribute("depth",N(-i))),o.setAttribute("voffset",N(i)),o}});function $o(t,e,r){for(var n=Ee(t,e,!1),i=e.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var l=n[a].classes.indexOf("sizing");l<0?Array.prototype.push.apply(n[a].classes,e.sizingClasses(r)):n[a].classes[l+1]==="reset-size"+e.size&&(n[a].classes[l+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return St(n)}var Na=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Mm=(t,e)=>{var r=e.havingSize(t.size);return $o(t.body,r,e)};V({type:"sizing",names:Na,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:Na.indexOf(n)+1,body:a}},htmlBuilder:Mm,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),n=Qe(t.body,r),i=new R("mstyle",n);return i.setAttribute("mathsize",N(r.sizeMultiplier)),i}});V({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:n}=t,i=!1,a=!1,l=r[0]&&ne(r[0],"ordgroup");if(l)for(var o,s=0;s<l.body.length;++s){var u=l.body[s];if(o=Tn(u).text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var h=e[0];return{type:"smash",mode:n.mode,body:h,smashHeight:i,smashDepth:a}},htmlBuilder:(t,e)=>{var r=F([],[ce(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0),t.smashDepth&&(r.depth=0),t.smashHeight&&t.smashDepth)return F(["mord","smash"],[r],e);if(r.children)for(var n=0;n<r.children.length;n++)t.smashHeight&&(r.children[n].height=0),t.smashDepth&&(r.children[n].depth=0);var i=ue({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return F(["mord"],[i],e)},mathmlBuilder:(t,e)=>{var r=new R("mpadded",[de(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});V({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n}=t,i=r[0],a=e[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(t,e){var r=ce(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=ir(r,e);var n=e.fontMetrics(),i=n.defaultRuleThickness,a=i;e.style.id<re.TEXT.id&&(a=e.fontMetrics().xHeight);var l=i+a/4,o=r.height+r.depth+l+i,{span:s,ruleWidth:u,advanceWidth:h}=fm(o,e),m=s.height-u;m>r.height+r.depth+l&&(l=(l+m-r.height-r.depth)/2);var d=s.height-r.height-l-u;r.style.paddingLeft=N(h);var f=ue({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:u}]});if(t.index){var y=e.havingStyle(re.SCRIPTSCRIPT),w=ce(t.index,y,e),C=.6*(f.height-f.depth),k=ue({positionType:"shift",positionData:-C,children:[{type:"elem",elem:w}]}),z=F(["root"],[k]);return F(["mord","sqrt"],[z,f],e)}else return F(["mord","sqrt"],[f],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new R("mroot",[de(r,e),de(n,e)]):new R("msqrt",[de(r,e)])}});var H0={display:re.DISPLAY,text:re.TEXT,script:re.SCRIPT,scriptscript:re.SCRIPTSCRIPT};function Em(t){return t in H0}V({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!0,r),l=n.slice(1,n.length-5);if(!Em(l))throw new Error("Unknown style: "+l);return{type:"styling",mode:i.mode,style:l,body:a}},htmlBuilder(t,e){var r=H0[t.style],n=e.havingStyle(r);return t.resetFont&&(n=n.withFont("")),$o(t.body,n,e)},mathmlBuilder(t,e){var r=H0[t.style],n=e.havingStyle(r);t.resetFont&&(n=n.withFont(""));var i=Qe(t.body,n),a=new R("mstyle",i),l={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=l[t.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Dm=function(e,r){var n=e.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===re.DISPLAY.size||n.alwaysHandleSupSub);return i?hr:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===re.DISPLAY.size||n.limits);return a?No:null}else{if(n.type==="accent")return wt(n.base)?gi:null;if(n.type==="horizBrace"){var l=!e.sub;return l===n.isOver?Lo:null}else return null}else return null};Vt({type:"supsub",htmlBuilder(t,e){var r=Dm(t,e);if(r)return r(t,e);var{base:n,sup:i,sub:a}=t,l=ce(n,e),o,s,u=e.fontMetrics(),h=0,m=0,d=n&&wt(n);if(i){var f=e.havingStyle(e.style.sup());o=ce(i,f,e),d||(h=l.height-f.fontMetrics().supDrop*f.sizeMultiplier/e.sizeMultiplier)}if(a){var y=e.havingStyle(e.style.sub());s=ce(a,y,e),d||(m=l.depth+y.fontMetrics().subDrop*y.sizeMultiplier/e.sizeMultiplier)}var w;e.style===re.DISPLAY?w=u.sup1:e.style.cramped?w=u.sup3:w=u.sup2;var C=e.sizeMultiplier,k=N(.5/u.ptPerEm/C),z=null;if(s){var D=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");if(l instanceof Ze||D){var q;z=N(-((q=l.italic)!=null?q:0))}}var P;if(o&&s){h=Math.max(h,w,o.depth+.25*u.xHeight),m=Math.max(m,u.sub2);var M=u.defaultRuleThickness,G=4*M;if(h-o.depth-(s.height-m)<G){m=G-(h-o.depth)+s.height;var Y=.8*u.xHeight-(h-o.depth);Y>0&&(h+=Y,m-=Y)}var U=[{type:"elem",elem:s,shift:m,marginRight:k,marginLeft:z},{type:"elem",elem:o,shift:-h,marginRight:k}];P=ue({positionType:"individualShift",children:U})}else if(s){m=Math.max(m,u.sub1,s.height-.8*u.xHeight);var E=[{type:"elem",elem:s,marginLeft:z,marginRight:k}];P=ue({positionType:"shift",positionData:m,children:E})}else if(o)h=Math.max(h,w,o.depth+.25*u.xHeight),P=ue({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:k}]});else throw new Error("supsub must have either sup or sub.");var W=L0(l,"right")||"mord";return F([W],[l,F(["msupsub"],[P])],e)},mathmlBuilder(t,e){var r=!1,n,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var a=[de(t.base,e)];t.sub&&a.push(de(t.sub,e)),t.sup&&a.push(de(t.sup,e));var l;if(r)l=n?"mover":"munder";else if(t.sub)if(t.sup){var u=t.base;u&&u.type==="op"&&u.limits&&e.style===re.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(e.style===re.DISPLAY||u.limits)?l="munderover":l="msubsup"}else{var s=t.base;s&&s.type==="op"&&s.limits&&(e.style===re.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||e.style===re.DISPLAY)?l="munder":l="msub"}else{var o=t.base;o&&o.type==="op"&&o.limits&&(e.style===re.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||e.style===re.DISPLAY)?l="mover":l="msup"}return new R(l,a)}});Vt({type:"atom",htmlBuilder(t,e){return mi(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new R("mo",[rt(t.text,t.mode)]);if(t.family==="bin"){var n=di(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var Ho={mi:"italic",mn:"normal",mtext:"normal"};Vt({type:"mathord",htmlBuilder(t,e){return kn(t,e,"mathord")},mathmlBuilder(t,e){var r=new R("mi",[rt(t.text,t.mode,e)]),n=di(t,e)||"italic";return n!==Ho[r.type]&&r.setAttribute("mathvariant",n),r}});Vt({type:"textord",htmlBuilder(t,e){return kn(t,e,"textord")},mathmlBuilder(t,e){var r=rt(t.text,t.mode,e),n=di(t,e)||"normal",i;return t.mode==="text"?i=new R("mtext",[r]):/[0-9]/.test(t.text)?i=new R("mn",[r]):t.text==="\\prime"?i=new R("mo",[r]):i=new R("mi",[r]),n!==Ho[i.type]&&i.setAttribute("mathvariant",n),i}});var u0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},c0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Vt({type:"spacing",htmlBuilder(t,e){if(c0.hasOwnProperty(t.text)){var r=c0[t.text].className||"";if(t.mode==="text"){var n=kn(t,e,"textord");return n.classes.push(r),n}else return F(["mspace",r],[mi(t.text,t.mode,e)],e)}else{if(u0.hasOwnProperty(t.text))return F(["mspace",u0[t.text]],[],e);throw new O('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(c0.hasOwnProperty(t.text))r=new R("mtext",[new Te(" ")]);else{if(u0.hasOwnProperty(t.text))return new R("mspace");throw new O('Unknown type of space "'+t.text+'"')}return r}});var $a=()=>{var t=new R("mtd",[]);return t.setAttribute("width","50%"),t};Vt({type:"tag",mathmlBuilder(t,e){var r=new R("mtable",[new R("mtr",[$a(),new R("mtd",[_t(t.body,e)]),$a(),new R("mtd",[_t(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var Ha={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ja={"\\textbf":"textbf","\\textmd":"textmd"},Im={"\\textit":"textit","\\textup":"textup"},Ua=(t,e)=>{var r=t.font;if(r){if(Ha[r])return e.withTextFontFamily(Ha[r]);if(ja[r])return e.withTextFontWeight(ja[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(Im[r])};V({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"text",mode:r.mode,body:Ae(i),font:n}},htmlBuilder(t,e){var r=Ua(t,e),n=Ee(t.body,r,!0);return F(["mord","text"],n,r)},mathmlBuilder(t,e){var r=Ua(t,e);return _t(t.body,r)}});V({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ce(t.body,e),n=nr("underline-line",e),i=e.fontMetrics().defaultRuleThickness,a=ue({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]});return F(["mord","underline"],[a],e)},mathmlBuilder(t,e){var r=new R("mo",[new Te("‾")]);r.setAttribute("stretchy","true");var n=new R("munder",[de(t.body,e),r]);return n.setAttribute("accentunder","true"),n}});V({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ce(t.body,e),n=e.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return ue({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]})},mathmlBuilder(t,e){var r=new R("mpadded",[de(t.body,e)],["vcenter"]);return new R("mrow",[r])}});V({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new O("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=Ga(t),n=[],i=e.havingStyle(e.style.text()),a=0;a<r.length;a++){var l=r[a];l==="~"&&(l="\\textasciitilde"),n.push(Le(l,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return F(["mord","text"].concat(i.sizingClasses(e)),io(n),i)},mathmlBuilder(t,e){var r=new Te(Ga(t)),n=new R("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Ga=t=>t.body.replace(/ /g,t.star?"␣":" "),Mt=so,jo=`[ \r
270
+ ]`,_m="\\\\[a-zA-Z@]+",Bm="\\\\[^\uD800-\uDFFF]",Fm="("+_m+")"+jo+"*",qm=`\\\\(
271
+ |[ \r ]+
272
+ ?)[ \r ]*`,j0="[̀-ͯ]",Om=new RegExp(j0+"+$"),Lm="("+jo+"+)|"+(qm+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(j0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(j0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Fm)+("|"+Bm+")");class Va{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(Lm,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new Ye("EOF",new He(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new O("Unexpected character: '"+e[r]+"'",new Ye(e[r],new He(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=e.indexOf(`
273
+ `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Ye(i,new He(this,r,this.tokenRegex.lastIndex))}}class Rm{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new O("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var Pm=_o;v("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});v("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});v("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});v("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});v("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});v("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");v("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var Wa={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};v("\\char",function(t){var e=t.popToken(),r,n=0;if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new O("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=Wa[e.text],n==null||n>=r)throw new O("Invalid base-"+r+" digit "+e.text);for(var i;(i=Wa[t.future().text])!=null&&i<r;)n*=r,n+=i,t.popToken()}return"\\@char{"+n+"}"});var bi=(t,e,r,n)=>{var i=t.consumeArg().tokens;if(i.length!==1)throw new O("\\newcommand's first argument must be a macro name");var a=i[0].text,l=t.isDefined(a);if(l&&!e)throw new O("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!l&&!r)throw new O("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var o=0;if(i=t.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var s="",u=t.expandNextToken();u.text!=="]"&&u.text!=="EOF";)s+=u.text,u=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new O("Invalid number of arguments: "+s);o=parseInt(s),i=t.consumeArg().tokens}return l&&n||t.macros.set(a,{tokens:i,numArgs:o}),""};v("\\newcommand",t=>bi(t,!1,!0,!1));v("\\renewcommand",t=>bi(t,!0,!1,!1));v("\\providecommand",t=>bi(t,!0,!0,!0));v("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});v("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});v("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Mt[r],ve.math[r],ve.text[r]),""});v("\\bgroup","{");v("\\egroup","}");v("~","\\nobreakspace");v("\\lq","`");v("\\rq","'");v("\\aa","\\r a");v("\\AA","\\r A");v("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");v("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");v("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");v("ℬ","\\mathscr{B}");v("ℰ","\\mathscr{E}");v("ℱ","\\mathscr{F}");v("ℋ","\\mathscr{H}");v("ℐ","\\mathscr{I}");v("ℒ","\\mathscr{L}");v("ℳ","\\mathscr{M}");v("ℛ","\\mathscr{R}");v("ℭ","\\mathfrak{C}");v("ℌ","\\mathfrak{H}");v("ℨ","\\mathfrak{Z}");v("\\Bbbk","\\Bbb{k}");v("\\llap","\\mathllap{\\textrm{#1}}");v("\\rlap","\\mathrlap{\\textrm{#1}}");v("\\clap","\\mathclap{\\textrm{#1}}");v("\\mathstrut","\\vphantom{(}");v("\\underbar","\\underline{\\text{#1}}");v("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');v("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");v("\\ne","\\neq");v("≠","\\neq");v("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");v("∉","\\notin");v("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");v("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");v("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");v("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");v("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");v("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");v("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");v("⟂","\\perp");v("‼","\\mathclose{!\\mkern-0.8mu!}");v("∌","\\notni");v("⌜","\\ulcorner");v("⌝","\\urcorner");v("⌞","\\llcorner");v("⌟","\\lrcorner");v("©","\\copyright");v("®","\\textregistered");v("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');v("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');v("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');v("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');v("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");v("⋮","\\vdots");v("\\varGamma","\\mathit{\\Gamma}");v("\\varDelta","\\mathit{\\Delta}");v("\\varTheta","\\mathit{\\Theta}");v("\\varLambda","\\mathit{\\Lambda}");v("\\varXi","\\mathit{\\Xi}");v("\\varPi","\\mathit{\\Pi}");v("\\varSigma","\\mathit{\\Sigma}");v("\\varUpsilon","\\mathit{\\Upsilon}");v("\\varPhi","\\mathit{\\Phi}");v("\\varPsi","\\mathit{\\Psi}");v("\\varOmega","\\mathit{\\Omega}");v("\\substack","\\begin{subarray}{c}#1\\end{subarray}");v("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");v("\\boxed","\\fbox{$\\displaystyle{#1}$}");v("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");v("\\implies","\\DOTSB\\;\\Longrightarrow\\;");v("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");v("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");v("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Xa={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},Nm=new Set(["bin","rel"]);v("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in Xa?e=Xa[r]:(r.slice(0,4)==="\\not"||r in ve.math&&Nm.has(ve.math[r].group))&&(e="\\dotsb"),e});var wi={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};v("\\dotso",function(t){var e=t.future().text;return e in wi?"\\ldots\\,":"\\ldots"});v("\\dotsc",function(t){var e=t.future().text;return e in wi&&e!==","?"\\ldots\\,":"\\ldots"});v("\\cdots",function(t){var e=t.future().text;return e in wi?"\\@cdots\\,":"\\@cdots"});v("\\dotsb","\\cdots");v("\\dotsm","\\cdots");v("\\dotsi","\\!\\cdots");v("\\dotsx","\\ldots\\,");v("\\DOTSI","\\relax");v("\\DOTSB","\\relax");v("\\DOTSX","\\relax");v("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");v("\\,","\\tmspace+{3mu}{.1667em}");v("\\thinspace","\\,");v("\\>","\\mskip{4mu}");v("\\:","\\tmspace+{4mu}{.2222em}");v("\\medspace","\\:");v("\\;","\\tmspace+{5mu}{.2777em}");v("\\thickspace","\\;");v("\\!","\\tmspace-{3mu}{.1667em}");v("\\negthinspace","\\!");v("\\negmedspace","\\tmspace-{4mu}{.2222em}");v("\\negthickspace","\\tmspace-{5mu}{.277em}");v("\\enspace","\\kern.5em ");v("\\enskip","\\hskip.5em\\relax");v("\\quad","\\hskip1em\\relax");v("\\qquad","\\hskip2em\\relax");v("\\tag","\\@ifstar\\tag@literal\\tag@paren");v("\\tag@paren","\\tag@literal{({#1})}");v("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new O("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});v("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");v("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");v("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");v("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");v("\\newline","\\\\\\relax");v("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Uo=N(ut["Main-Regular"][84][1]-.7*ut["Main-Regular"][65][1]);v("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Uo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");v("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Uo+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");v("\\hspace","\\@ifstar\\@hspacer\\@hspace");v("\\@hspace","\\hskip #1\\relax");v("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");v("\\ordinarycolon",":");v("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");v("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');v("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');v("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');v("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');v("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');v("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');v("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');v("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');v("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');v("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');v("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');v("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');v("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');v("∷","\\dblcolon");v("∹","\\eqcolon");v("≔","\\coloneqq");v("≕","\\eqqcolon");v("⩴","\\Coloneqq");v("\\ratio","\\vcentcolon");v("\\coloncolon","\\dblcolon");v("\\colonequals","\\coloneqq");v("\\coloncolonequals","\\Coloneqq");v("\\equalscolon","\\eqqcolon");v("\\equalscoloncolon","\\Eqqcolon");v("\\colonminus","\\coloneq");v("\\coloncolonminus","\\Coloneq");v("\\minuscolon","\\eqcolon");v("\\minuscoloncolon","\\Eqcolon");v("\\coloncolonapprox","\\Colonapprox");v("\\coloncolonsim","\\Colonsim");v("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");v("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");v("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");v("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");v("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");v("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");v("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");v("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");v("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");v("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");v("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");v("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");v("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");v("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");v("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");v("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");v("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");v("\\nleqq","\\html@mathml{\\@nleqq}{≰}");v("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");v("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");v("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");v("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");v("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");v("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");v("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");v("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");v("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");v("\\imath","\\html@mathml{\\@imath}{ı}");v("\\jmath","\\html@mathml{\\@jmath}{ȷ}");v("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");v("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");v("⟦","\\llbracket");v("⟧","\\rrbracket");v("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");v("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");v("⦃","\\lBrace");v("⦄","\\rBrace");v("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");v("⦵","\\minuso");v("\\darr","\\downarrow");v("\\dArr","\\Downarrow");v("\\Darr","\\Downarrow");v("\\lang","\\langle");v("\\rang","\\rangle");v("\\uarr","\\uparrow");v("\\uArr","\\Uparrow");v("\\Uarr","\\Uparrow");v("\\N","\\mathbb{N}");v("\\R","\\mathbb{R}");v("\\Z","\\mathbb{Z}");v("\\alef","\\aleph");v("\\alefsym","\\aleph");v("\\Alpha","\\mathrm{A}");v("\\Beta","\\mathrm{B}");v("\\bull","\\bullet");v("\\Chi","\\mathrm{X}");v("\\clubs","\\clubsuit");v("\\cnums","\\mathbb{C}");v("\\Complex","\\mathbb{C}");v("\\Dagger","\\ddagger");v("\\diamonds","\\diamondsuit");v("\\empty","\\emptyset");v("\\Epsilon","\\mathrm{E}");v("\\Eta","\\mathrm{H}");v("\\exist","\\exists");v("\\harr","\\leftrightarrow");v("\\hArr","\\Leftrightarrow");v("\\Harr","\\Leftrightarrow");v("\\hearts","\\heartsuit");v("\\image","\\Im");v("\\infin","\\infty");v("\\Iota","\\mathrm{I}");v("\\isin","\\in");v("\\Kappa","\\mathrm{K}");v("\\larr","\\leftarrow");v("\\lArr","\\Leftarrow");v("\\Larr","\\Leftarrow");v("\\lrarr","\\leftrightarrow");v("\\lrArr","\\Leftrightarrow");v("\\Lrarr","\\Leftrightarrow");v("\\Mu","\\mathrm{M}");v("\\natnums","\\mathbb{N}");v("\\Nu","\\mathrm{N}");v("\\Omicron","\\mathrm{O}");v("\\plusmn","\\pm");v("\\rarr","\\rightarrow");v("\\rArr","\\Rightarrow");v("\\Rarr","\\Rightarrow");v("\\real","\\Re");v("\\reals","\\mathbb{R}");v("\\Reals","\\mathbb{R}");v("\\Rho","\\mathrm{P}");v("\\sdot","\\cdot");v("\\sect","\\S");v("\\spades","\\spadesuit");v("\\sub","\\subset");v("\\sube","\\subseteq");v("\\supe","\\supseteq");v("\\Tau","\\mathrm{T}");v("\\thetasym","\\vartheta");v("\\weierp","\\wp");v("\\Zeta","\\mathrm{Z}");v("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");v("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");v("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");v("\\bra","\\mathinner{\\langle{#1}|}");v("\\ket","\\mathinner{|{#1}\\rangle}");v("\\braket","\\mathinner{\\langle{#1}\\rangle}");v("\\Bra","\\left\\langle#1\\right|");v("\\Ket","\\left|#1\\right\\rangle");var Go=t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,a=e.consumeArg().tokens,l=e.macros.get("|"),o=e.macros.get("\\|");e.macros.beginGroup();var s=m=>d=>{t&&(d.macros.set("|",l),i.length&&d.macros.set("\\|",o));var f=m;if(!m&&i.length){var y=d.future();y.text==="|"&&(d.popToken(),f=!0)}return{tokens:f?i:n,numArgs:0}};e.macros.set("|",s(!1)),i.length&&e.macros.set("\\|",s(!0));var u=e.consumeArg().tokens,h=e.expandTokens([...a,...u,...r]);return e.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};v("\\bra@ket",Go(!1));v("\\bra@set",Go(!0));v("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");v("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");v("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");v("\\angln","{\\angl n}");v("\\blue","\\textcolor{##6495ed}{#1}");v("\\orange","\\textcolor{##ffa500}{#1}");v("\\pink","\\textcolor{##ff00af}{#1}");v("\\red","\\textcolor{##df0030}{#1}");v("\\green","\\textcolor{##28ae7b}{#1}");v("\\gray","\\textcolor{gray}{#1}");v("\\purple","\\textcolor{##9d38bd}{#1}");v("\\blueA","\\textcolor{##ccfaff}{#1}");v("\\blueB","\\textcolor{##80f6ff}{#1}");v("\\blueC","\\textcolor{##63d9ea}{#1}");v("\\blueD","\\textcolor{##11accd}{#1}");v("\\blueE","\\textcolor{##0c7f99}{#1}");v("\\tealA","\\textcolor{##94fff5}{#1}");v("\\tealB","\\textcolor{##26edd5}{#1}");v("\\tealC","\\textcolor{##01d1c1}{#1}");v("\\tealD","\\textcolor{##01a995}{#1}");v("\\tealE","\\textcolor{##208170}{#1}");v("\\greenA","\\textcolor{##b6ffb0}{#1}");v("\\greenB","\\textcolor{##8af281}{#1}");v("\\greenC","\\textcolor{##74cf70}{#1}");v("\\greenD","\\textcolor{##1fab54}{#1}");v("\\greenE","\\textcolor{##0d923f}{#1}");v("\\goldA","\\textcolor{##ffd0a9}{#1}");v("\\goldB","\\textcolor{##ffbb71}{#1}");v("\\goldC","\\textcolor{##ff9c39}{#1}");v("\\goldD","\\textcolor{##e07d10}{#1}");v("\\goldE","\\textcolor{##a75a05}{#1}");v("\\redA","\\textcolor{##fca9a9}{#1}");v("\\redB","\\textcolor{##ff8482}{#1}");v("\\redC","\\textcolor{##f9685d}{#1}");v("\\redD","\\textcolor{##e84d39}{#1}");v("\\redE","\\textcolor{##bc2612}{#1}");v("\\maroonA","\\textcolor{##ffbde0}{#1}");v("\\maroonB","\\textcolor{##ff92c6}{#1}");v("\\maroonC","\\textcolor{##ed5fa6}{#1}");v("\\maroonD","\\textcolor{##ca337c}{#1}");v("\\maroonE","\\textcolor{##9e034e}{#1}");v("\\purpleA","\\textcolor{##ddd7ff}{#1}");v("\\purpleB","\\textcolor{##c6b9fc}{#1}");v("\\purpleC","\\textcolor{##aa87ff}{#1}");v("\\purpleD","\\textcolor{##7854ab}{#1}");v("\\purpleE","\\textcolor{##543b78}{#1}");v("\\mintA","\\textcolor{##f5f9e8}{#1}");v("\\mintB","\\textcolor{##edf2df}{#1}");v("\\mintC","\\textcolor{##e0e5cc}{#1}");v("\\grayA","\\textcolor{##f6f7f7}{#1}");v("\\grayB","\\textcolor{##f0f1f2}{#1}");v("\\grayC","\\textcolor{##e3e5e6}{#1}");v("\\grayD","\\textcolor{##d6d8da}{#1}");v("\\grayE","\\textcolor{##babec2}{#1}");v("\\grayF","\\textcolor{##888d93}{#1}");v("\\grayG","\\textcolor{##626569}{#1}");v("\\grayH","\\textcolor{##3b3e40}{#1}");v("\\grayI","\\textcolor{##21242c}{#1}");v("\\kaBlue","\\textcolor{##314453}{#1}");v("\\kaGreen","\\textcolor{##71B307}{#1}");var Vo={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class $m{constructor(e,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new Rm(Pm,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Va(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,n,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new Ye("EOF",n.loc)),this.pushTokens(i),new Ye("",He.range(r,n))}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var i=this.future(),a,l=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++l;else if(a.text==="}"){if(--l,l===-1)throw new O("Extra }",a)}else if(a.text==="EOF")throw new O("Unexpected end of input in a macro argument, expected '"+(e&&n?e[o]:"}")+"'",a);if(e&&n)if((l===0||l===1&&e[o]==="{")&&a.text===e[o]){if(++o,o===e.length){r.splice(-o,o);break}}else o=0}while(l!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new O("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new O("Use of the macro doesn't match its definition",a)}}for(var l=[],o=0;o<e;o++)l.push(this.consumeArg(r&&r[o+1]).tokens);return l}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new O("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||e&&i.unexpandable){if(e&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new O("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,l=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var s=a[o];if(s.text==="#"){if(o===0)throw new O("Incomplete placeholder at end of macro body",s);if(s=a[--o],s.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(s.text))a.splice(o,2,...l[+s.text-1]);else throw new O("Not a valid argument number",s)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Ye(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.includes("#"))for(var l=i.replace(/##/g,"");l.includes("#"+(a+1));)++a;for(var o=new Va(i,this.settings),s=[],u=o.lex();u.text!=="EOF";)s.push(u),u=o.lex();s.reverse();var h={tokens:s,numArgs:a};return h}return i}isDefined(e){return this.macros.has(e)||Mt.hasOwnProperty(e)||ve.math.hasOwnProperty(e)||ve.text.hasOwnProperty(e)||Vo.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Mt.hasOwnProperty(e)&&!Mt[e].primitive}}var Ya=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Jr=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),h0={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Za={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class _n{constructor(e,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new $m(e,r,this.mode),this.settings=r,this.leftrightDepth=0,this.nextToken=null}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new O("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Ye("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(_n.endOfExpression.has(i.text)||r&&i.text===r||e&&Mt[i.text]&&Mt[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,i=0;i<e.length;i++){var a=e[i];if(a.type==="infix"){if(r!==-1)throw new O("only one infix operator per group",a.token);r=i,n=a.replaceWith}}if(r!==-1&&n){var l,o,s=e.slice(0,r),u=e.slice(r+1);s.length===1&&s[0].type==="ordgroup"?l=s[0]:l={type:"ordgroup",mode:this.mode,body:s},u.length===1&&u[0].type==="ordgroup"?o=u[0]:o={type:"ordgroup",mode:this.mode,body:u};var h;return n==="\\\\abovefrac"?h=this.callFunction(n,[l,e[r],o],[]):h=this.callFunction(n,[l,o],[]),[h]}else return e}handleSupSubscript(e){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i;do{var a;i=this.parseGroup(e)}while(((a=i)==null?void 0:a.type)==="internal");if(!i)throw new O("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(e){for(var r=[],n=0;n<e.length;n++)r.push({type:"textord",mode:"text",text:e[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(e){var r=this.parseGroup("atom",e);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var l=a.text==="\\limits";r.limits=l,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new O("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new O("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new O("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new O("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},s=[o];for(this.consume();this.fetch().text==="'";)s.push(o),this.consume();this.fetch().text==="^"&&s.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:s}}else if(Jr[a.text]){var u=Ya.test(a.text),h=[];for(h.push(new Ye(Jr[a.text])),this.consume();;){var m=this.fetch().text;if(!Jr[m]||Ya.test(m)!==u)break;h.unshift(new Ye(Jr[m])),this.consume()}var d=this.subparse(h);u?i={type:"ordgroup",mode:"math",body:d}:n={type:"ordgroup",mode:"math",body:d}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(e,r){var n=this.fetch(),i=n.text,a=Mt[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new O("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new O("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new O("Can't use function '"+i+"' in math mode",n);var{args:l,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,l,o,n,e)}callFunction(e,r,n,i,a){var l={funcName:e,parser:this,token:i,breakOnTokenText:a},o=Mt[e];if(o&&o.handler)return o.handler(l,r,n);throw new O("No function handler for "+e)}parseArguments(e,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],l=0;l<n;l++){var o=r.argTypes&&r.argTypes[l],s=l<r.numOptionalArgs;("primitive"in r&&r.primitive&&o==null||r.type==="sqrt"&&l===1&&a[0]==null)&&(o="primitive");var u=this.parseGroupOfType("argument to '"+e+"'",o,s);if(s)a.push(u);else if(u!=null)i.push(u);else throw new O("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(e,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text",resetFont:!0}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new O("A primitive argument cannot be optional");var l=this.parseGroup(e);if(l==null)throw new O("Expected group as "+e,this.fetch());return l}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new O("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,r){for(var n=this.fetch(),i=n,a="",l;(l=this.fetch()).text!=="EOF"&&e.test(a+l.text);)i=l,a+=i.text,this.consume();if(a==="")throw new O("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new O("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){var r,n=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new O("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!Ql(a))throw new O("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,r){var n=this.gullet.scanArgument(e);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var l={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),l}parseGroup(e,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var l=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,l),s=this.fetch();this.expect(l),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:He.range(n,s),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,e)||this.parseSymbol(),a==null&&i[0]==="\\"&&!Vo.hasOwnProperty(i)){if(this.settings.throwOnError)throw new O("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(e){for(var r=e.length-1,n=0;n<r;++n){var i=e[n];if(i.type==="textord"){var a=i.text,l=e[n+1];if(!(!l||l.type!=="textord")){if(a==="-"&&l.text==="-"){var o=e[n+2];n+1<r&&o&&o.type==="textord"&&o.text==="-"?(e.splice(n,3,{type:"textord",mode:"text",loc:He.range(i,o),text:"---"}),r-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:He.range(i,l),text:"--"}),r-=1)}(a==="'"||a==="`")&&l.text===a&&(e.splice(n,2,{type:"textord",mode:"text",loc:He.range(i,l),text:a+a}),r-=1)}}}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new O(`\\verb assertion failed --
274
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Za.hasOwnProperty(r[0])&&!ve[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=Za[r[0]]+r.slice(1));var a=Om.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var l;if(ve[this.mode][r]){this.settings.strict&&this.mode==="math"&&E0.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var o=ve[this.mode][r].group,s=He.range(e),u;nm(o)?u={type:"atom",mode:this.mode,family:o,loc:s,text:r}:u={type:o,mode:this.mode,loc:s,text:r},l=u}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Kl(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),l={type:"textord",mode:"text",loc:He.range(e),text:r};else return null;if(this.consume(),a)for(var h=0;h<a[0].length;h++){var m=a[0][h];if(!h0[m])throw new O("Unknown accent ' "+m+"'",e);var d=h0[m][this.mode]||h0[m].text;if(!d)throw new O("Accent "+m+" unsupported in "+this.mode+" mode",e);l={type:"accent",mode:this.mode,loc:He.range(e),label:d,isStretchy:!1,isShifty:!0,base:l}}return l}}_n.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var ki=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new _n(e,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new O("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new Ye("\\df@tag")])}]}return i},Si=function(e,r,n){r.textContent="";var i=Bn(e,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Si=function(){throw new O("KaTeX doesn't work in quirks mode.")});var Wo=function(e,r){var n=Bn(e,r).toMarkup();return n},Xo=function(e,r){var n=new si(r);return ki(e,n)},Yo=function(e,r,n){if(n.throwOnError||!(e instanceof O))throw e;var i=F(["katex-error"],[new Ze(r)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},Bn=function(e,r){var n=new si(r);try{var i=ki(e,n);return Y4(i,e,n)}catch(a){return Yo(a,e,n)}},Zo=function(e,r){var n=new si(r);try{var i=ki(e,n);return Z4(i,e,n)}catch(a){return Yo(a,e,n)}},Ko="0.16.47",Qo={Span:ur,Anchor:bn,SymbolNode:Ze,SvgNode:bt,PathNode:Dt,LineNode:M0},ar={version:Ko,render:Si,renderToString:Wo,ParseError:O,SETTINGS_SCHEMA:sn,__parse:Xo,__renderToDomTree:Bn,__renderToHTMLTree:Zo,__setFontMetrics:ro,__defineSymbol:c,__defineFunction:V,__defineMacro:v,__domTree:Qo};const D2=Object.freeze(Object.defineProperty({__proto__:null,ParseError:O,SETTINGS_SCHEMA:sn,__defineFunction:V,__defineMacro:v,__defineSymbol:c,__domTree:Qo,__parse:Xo,__renderToDomTree:Bn,__renderToHTMLTree:Zo,__setFontMetrics:ro,default:ar,get render(){return Si},renderToString:Wo,version:Ko},Symbol.toStringTag,{value:"Module"})),Hm={};function I2(t){const e=this,r=t||Hm,n=e.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),l=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Zh(r)),a.push(Hh()),l.push(jh(r))}const Ka=/[#.]/g;function jm(t,e){const r=t||"",n={};let i=0,a,l;for(;i<r.length;){Ka.lastIndex=i;const o=Ka.exec(r),s=r.slice(i,o?o.index:r.length);s&&(a?a==="#"?n.id=s:Array.isArray(n.className)?n.className.push(s):n.className=[s]:l=s,i+=s.length),o&&(a=o[0],i++)}return{type:"element",tagName:l||e||"div",properties:n,children:[]}}function Jo(t,e,r){const n=r?Wm(r):void 0;function i(a,l,...o){let s;if(a==null){s={type:"root",children:[]};const u=l;o.unshift(u)}else{s=jm(a,e);const u=s.tagName.toLowerCase(),h=n?n.get(u):void 0;if(s.tagName=h||u,Um(l))o.unshift(l);else for(const[m,d]of Object.entries(l))Gm(t,s.properties,m,d)}for(const u of o)U0(s.children,u);return s.type==="element"&&s.tagName==="template"&&(s.content={type:"root",children:s.children},s.children=[]),s}return i}function Um(t){if(t===null||typeof t!="object"||Array.isArray(t))return!0;if(typeof t.type!="string")return!1;const e=t,r=Object.keys(t);for(const n of r){const i=e[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const l of a)if(typeof l!="number"&&typeof l!="string")return!0}}return!!("children"in t&&Array.isArray(t.children))}function Gm(t,e,r,n){const i=bl(t,r);let a;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;a=n}else typeof n=="boolean"?a=n:typeof n=="string"?i.spaceSeparated?a=Bi(n):i.commaSeparated?a=Mi(n):i.commaOrSpaceSeparated?a=Bi(Mi(n).join(" ")):a=Qa(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?Vm(n):String(n);if(Array.isArray(a)){const l=[];for(const o of a)l.push(Qa(i,i.property,o));a=l}i.property==="className"&&Array.isArray(e.className)&&(a=e.className.concat(a)),e[i.property]=a}}function U0(t,e){if(e!=null)if(typeof e=="number"||typeof e=="string")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const r of e)U0(t,r);else if(typeof e=="object"&&"type"in e)e.type==="root"?U0(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function Qa(t,e,r){if(typeof r=="string"){if(t.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((t.boolean||t.overloadedBoolean)&&(r===""||Tr(r)===Tr(e)))return!0}return r}function Vm(t){const e=[];for(const[r,n]of Object.entries(t))e.push([r,n].join(": "));return e.join("; ")}function Wm(t){const e=new Map;for(const r of t)e.set(r.toLowerCase(),r);return e}const Xm=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Ym=Jo(wl,"div"),Zm=Jo(dn,"g",Xm),m0={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function Km(t,e){return es(t,{})||{type:"root",children:[]}}function es(t,e){const r=Qm(t,e);return r&&e.afterTransform&&e.afterTransform(t,r),r}function Qm(t,e){switch(t.nodeType){case 1:return rp(t,e);case 3:return ep(t);case 8:return tp(t);case 9:return Ja(t,e);case 10:return Jm();case 11:return Ja(t,e);default:return}}function Ja(t,e){return{type:"root",children:ts(t,e)}}function Jm(){return{type:"doctype"}}function ep(t){return{type:"text",value:t.nodeValue||""}}function tp(t){return{type:"comment",value:t.nodeValue||""}}function rp(t,e){const r=t.namespaceURI,n=r===m0.svg?Zm:Ym,i=r===m0.html?t.tagName.toLowerCase():t.tagName,a=r===m0.html&&i==="template"?t.content:t,l=t.getAttributeNames(),o={};let s=-1;for(;++s<l.length;)o[l[s]]=t.getAttribute(l[s])||"";return n(i,o,ts(a,e))}function ts(t,e){const r=t.childNodes,n=[];let i=-1;for(;++i<r.length;){const a=es(r[i],e);a!==void 0&&n.push(a)}return n}new DOMParser;function np(t,e){const r=ip(t);return Km(r)}function ip(t){const e=document.createElement("template");return e.innerHTML=t,e.content}const el=(function(t,e,r){const n=_r(r);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(n(t.children[e],e,t))return t.children[e]}),Wt=(function(t){if(t==null)return op;if(typeof t=="string")return lp(t);if(typeof t=="object")return ap(t);if(typeof t=="function")return Ai(t);throw new Error("Expected function, string, or array as `test`")});function ap(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=Wt(t[r]);return Ai(n);function n(...i){let a=-1;for(;++a<e.length;)if(e[a].apply(this,i))return!0;return!1}}function lp(t){return Ai(e);function e(r){return r.tagName===t}}function Ai(t){return e;function e(r,n,i){return!!(sp(r)&&t.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function op(t){return!!(t&&typeof t=="object"&&"type"in t&&t.type==="element"&&"tagName"in t&&typeof t.tagName=="string")}function sp(t){return t!==null&&typeof t=="object"&&"type"in t&&"tagName"in t}const tl=/\n/g,rl=/[\t ]+/g,G0=Wt("br"),nl=Wt(gp),up=Wt("p"),il=Wt("tr"),cp=Wt(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",dp,vp]),rs=Wt(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function hp(t,e){const r=e||{},n="children"in t?t.children:[],i=rs(t),a=as(t,{whitespace:r.whitespace||"normal"}),l=[];(t.type==="text"||t.type==="comment")&&l.push(...is(t,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)l.push(...ns(n[o],t,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<n.length-1?G0(n[o+1]):i}));const s=[];let u;for(o=-1;++o<l.length;){const h=l[o];typeof h=="number"?u!==void 0&&h>u&&(u=h):h&&(u!==void 0&&u>-1&&s.push(`
275
+ `.repeat(u)||" "),u=-1,s.push(h))}return s.join("")}function ns(t,e,r){return t.type==="element"?mp(t,e,r):t.type==="text"?r.whitespace==="normal"?is(t,r):pp(t):[]}function mp(t,e,r){const n=as(t,r),i=t.children||[];let a=-1,l=[];if(cp(t))return l;let o,s;for(G0(t)||il(t)&&el(e,t,il)?s=`
276
+ `:up(t)?(o=2,s=2):rs(t)&&(o=1,s=1);++a<i.length;)l=l.concat(ns(i[a],t,{whitespace:n,breakBefore:a?void 0:o,breakAfter:a<i.length-1?G0(i[a+1]):s}));return nl(t)&&el(e,t,nl)&&l.push(" "),o&&l.unshift(o),s&&l.push(s),l}function is(t,e){const r=String(t.value),n=[],i=[];let a=0;for(;a<=r.length;){tl.lastIndex=a;const s=tl.exec(r),u=s&&"index"in s?s.index:r.length;n.push(fp(r.slice(a,u).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?e.breakBefore:!0,u===r.length?e.breakAfter:!0)),a=u+1}let l=-1,o;for(;++l<n.length;)n[l].charCodeAt(n[l].length-1)===8203||l<n.length-1&&n[l+1].charCodeAt(0)===8203?(i.push(n[l]),o=void 0):n[l]?(typeof o=="number"&&i.push(o),i.push(n[l]),o=0):(l===0||l===n.length-1)&&i.push(0);return i}function pp(t){return[String(t.value)]}function fp(t,e,r){const n=[];let i=0,a;for(;i<t.length;){rl.lastIndex=i;const l=rl.exec(t);a=l?l.index:t.length,!i&&!a&&l&&!e&&n.push(""),i!==a&&n.push(t.slice(i,a)),i=l?a+l[0].length:a}return i!==a&&!r&&n.push(""),n.join(" ")}function as(t,e){if(t.type==="element"){const r=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function dp(t){return!!(t.properties||{}).hidden}function gp(t){return t.tagName==="td"||t.tagName==="th"}function vp(t){return t.tagName==="dialog"&&!(t.properties||{}).open}const yp={},xp=[];function _2(t){const e=t||yp;return function(r,n){ai(r,"element",function(i,a){const l=Array.isArray(i.properties.className)?i.properties.className:xp,o=l.includes("language-math"),s=l.includes("math-display"),u=l.includes("math-inline");let h=s;if(!o&&!s&&!u)return;let m=a[a.length-1],d=i;if(i.tagName==="code"&&o&&m&&m.type==="element"&&m.tagName==="pre"&&(d=m,m=a[a.length-2],h=!0),!m)return;const f=hp(d,{whitespace:"pre"});let y;try{y=ar.renderToString(f,{...e,displayMode:h,throwOnError:!0})}catch(C){const k=C,z=k.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:k,place:i.position,ruleId:z,source:"rehype-katex"});try{y=ar.renderToString(f,{...e,displayMode:h,strict:"ignore",throwOnError:!1})}catch{y=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(C)},children:[{type:"text",value:f}]}]}}typeof y=="string"&&(y=np(y).children);const w=m.children.indexOf(d);return m.children.splice(w,1,...y),Xl})}}function al(t,e){const r=String(t);if(typeof e!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(e);for(;i!==-1;)n++,i=r.indexOf(e,i+e.length);return n}function bp(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function wp(t,e,r){const i=_r((r||{}).ignore||[]),a=kp(e);let l=-1;for(;++l<a.length;)ai(t,"text",o);function o(u,h){let m=-1,d;for(;++m<h.length;){const f=h[m],y=d?d.children:void 0;if(i(f,y?y.indexOf(f):void 0,d))return;d=f}if(d)return s(u,h)}function s(u,h){const m=h[h.length-1],d=a[l][0],f=a[l][1];let y=0;const C=m.children.indexOf(u);let k=!1,z=[];d.lastIndex=0;let D=d.exec(u.value);for(;D;){const q=D.index,P={index:D.index,input:D.input,stack:[...h,u]};let M=f(...D,P);if(typeof M=="string"&&(M=M.length>0?{type:"text",value:M}:void 0),M===!1?d.lastIndex=q+1:(y!==q&&z.push({type:"text",value:u.value.slice(y,q)}),Array.isArray(M)?z.push(...M):M&&z.push(M),y=q+D[0].length,k=!0),!d.global)break;D=d.exec(u.value)}return k?(y<u.value.length&&z.push({type:"text",value:u.value.slice(y)}),m.children.splice(C,1,...z)):z=[u],C+z.length}}function kp(t){const e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!t[0]||Array.isArray(t[0])?t:[t];let n=-1;for(;++n<r.length;){const i=r[n];e.push([Sp(i[0]),Ap(i[1])])}return e}function Sp(t){return typeof t=="string"?new RegExp(bp(t),"g"):t}function Ap(t){return typeof t=="function"?t:function(){return t}}const p0="phrasing",f0=["autolink","link","image","label"];function Tp(){return{transforms:[_p],enter:{literalAutolink:Cp,literalAutolinkEmail:d0,literalAutolinkHttp:d0,literalAutolinkWww:d0},exit:{literalAutolink:Ip,literalAutolinkEmail:Dp,literalAutolinkHttp:Mp,literalAutolinkWww:Ep}}}function zp(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:p0,notInConstruct:f0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:p0,notInConstruct:f0},{character:":",before:"[ps]",after:"\\/",inConstruct:p0,notInConstruct:f0}]}}function Cp(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function d0(t){this.config.enter.autolinkProtocol.call(this,t)}function Mp(t){this.config.exit.autolinkProtocol.call(this,t)}function Ep(t){this.config.exit.data.call(this,t);const e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function Dp(t){this.config.exit.autolinkEmail.call(this,t)}function Ip(t){this.exit(t)}function _p(t){wp(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Bp],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Fp]],{ignore:["link","linkReference"]})}function Bp(t,e,r,n,i){let a="";if(!ls(i)||(/^w/i.test(e)&&(r=e+r,e="",a="http://"),!qp(r)))return!1;const l=Op(r+n);if(!l[0])return!1;const o={type:"link",title:null,url:a+e+l[0],children:[{type:"text",value:e+l[0]}]};return l[1]?[o,{type:"text",value:l[1]}]:o}function Fp(t,e,r,n){return!ls(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+r,children:[{type:"text",value:e+"@"+r}]}}function qp(t){const e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function Op(t){const e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let r=e[0],n=r.indexOf(")");const i=al(t,"(");let a=al(t,")");for(;n!==-1&&i>a;)t+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[t,r]}function ls(t,e){const r=t.input.charCodeAt(t.index-1);return(t.index===0||Ut(r)||gn(r))&&(!e||r!==47)}os.peek=Gp;function Lp(){this.buffer()}function Rp(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function Pp(){this.buffer()}function Np(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function $p(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=at(this.sliceSerialize(t)).toLowerCase(),r.label=e}function Hp(t){this.exit(t)}function jp(t){const e=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=at(this.sliceSerialize(t)).toLowerCase(),r.label=e}function Up(t){this.exit(t)}function Gp(){return"["}function os(t,e,r,n){const i=r.createTracker(n);let a=i.move("[^");const l=r.enter("footnoteReference"),o=r.enter("reference");return a+=i.move(r.safe(r.associationId(t),{after:"]",before:a})),o(),l(),a+=i.move("]"),a}function Vp(){return{enter:{gfmFootnoteCallString:Lp,gfmFootnoteCall:Rp,gfmFootnoteDefinitionLabelString:Pp,gfmFootnoteDefinition:Np},exit:{gfmFootnoteCallString:$p,gfmFootnoteCall:Hp,gfmFootnoteDefinitionLabelString:jp,gfmFootnoteDefinition:Up}}}function Wp(t){let e=!1;return t&&t.firstLineBlank&&(e=!0),{handlers:{footnoteDefinition:r,footnoteReference:os},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,l){const o=a.createTracker(l);let s=o.move("[^");const u=a.enter("footnoteDefinition"),h=a.enter("label");return s+=o.move(a.safe(a.associationId(n),{before:s,after:"]"})),h(),s+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),s+=o.move((e?`
277
+ `:" ")+a.indentLines(a.containerFlow(n,o.current()),e?ss:Xp))),u(),s}}function Xp(t,e,r){return e===0?t:ss(t,e,r)}function ss(t,e,r){return(r?"":" ")+t}const Yp=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];us.peek=ef;function Zp(){return{canContainEols:["delete"],enter:{strikethrough:Qp},exit:{strikethrough:Jp}}}function Kp(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Yp}],handlers:{delete:us}}}function Qp(t){this.enter({type:"delete",children:[]},t)}function Jp(t){this.exit(t)}function us(t,e,r,n){const i=r.createTracker(n),a=r.enter("strikethrough");let l=i.move("~~");return l+=r.containerPhrasing(t,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),a(),l}function ef(){return"~"}function tf(t){return t.length}function rf(t,e){const r=e||{},n=(r.align||[]).concat(),i=r.stringLength||tf,a=[],l=[],o=[],s=[];let u=0,h=-1;for(;++h<t.length;){const w=[],C=[];let k=-1;for(t[h].length>u&&(u=t[h].length);++k<t[h].length;){const z=nf(t[h][k]);if(r.alignDelimiters!==!1){const D=i(z);C[k]=D,(s[k]===void 0||D>s[k])&&(s[k]=D)}w.push(z)}l[h]=w,o[h]=C}let m=-1;if(typeof n=="object"&&"length"in n)for(;++m<u;)a[m]=ll(n[m]);else{const w=ll(n);for(;++m<u;)a[m]=w}m=-1;const d=[],f=[];for(;++m<u;){const w=a[m];let C="",k="";w===99?(C=":",k=":"):w===108?C=":":w===114&&(k=":");let z=r.alignDelimiters===!1?1:Math.max(1,s[m]-C.length-k.length);const D=C+"-".repeat(z)+k;r.alignDelimiters!==!1&&(z=C.length+z+k.length,z>s[m]&&(s[m]=z),f[m]=z),d[m]=D}l.splice(1,0,d),o.splice(1,0,f),h=-1;const y=[];for(;++h<l.length;){const w=l[h],C=o[h];m=-1;const k=[];for(;++m<u;){const z=w[m]||"";let D="",q="";if(r.alignDelimiters!==!1){const P=s[m]-(C[m]||0),M=a[m];M===114?D=" ".repeat(P):M===99?P%2?(D=" ".repeat(P/2+.5),q=" ".repeat(P/2-.5)):(D=" ".repeat(P/2),q=D):q=" ".repeat(P)}r.delimiterStart!==!1&&!m&&k.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&z==="")&&(r.delimiterStart!==!1||m)&&k.push(" "),r.alignDelimiters!==!1&&k.push(D),k.push(z),r.alignDelimiters!==!1&&k.push(q),r.padding!==!1&&k.push(" "),(r.delimiterEnd!==!1||m!==u-1)&&k.push("|")}y.push(r.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return y.join(`
278
+ `)}function nf(t){return t==null?"":String(t)}function ll(t){const e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function af(t,e,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const l=r.indentLines(r.containerFlow(t,a.current()),lf);return i(),l}function lf(t,e,r){return">"+(r?"":" ")+t}function of(t,e){return ol(t,e.inConstruct,!0)&&!ol(t,e.notInConstruct,!1)}function ol(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let n=-1;for(;++n<e.length;)if(t.includes(e[n]))return!0;return!1}function sl(t,e,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
279
+ `&&of(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
280
+ `}function sf(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function uf(t){const e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function cf(t,e,r,n){const i=uf(r),a=t.value||"",l=i==="`"?"GraveAccent":"Tilde";if(sf(t,r)){const m=r.enter("codeIndented"),d=r.indentLines(a,hf);return m(),d}const o=r.createTracker(n),s=i.repeat(Math.max(Zl(a,i)+1,3)),u=r.enter("codeFenced");let h=o.move(s);if(t.lang){const m=r.enter(`codeFencedLang${l}`);h+=o.move(r.safe(t.lang,{before:h,after:" ",encode:["`"],...o.current()})),m()}if(t.lang&&t.meta){const m=r.enter(`codeFencedMeta${l}`);h+=o.move(" "),h+=o.move(r.safe(t.meta,{before:h,after:`
281
+ `,encode:["`"],...o.current()})),m()}return h+=o.move(`
282
+ `),a&&(h+=o.move(a+`
283
+ `)),h+=o.move(s),u(),h}function hf(t,e,r){return(r?"":" ")+t}function Ti(t){const e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function mf(t,e,r,n){const i=Ti(r),a=i==='"'?"Quote":"Apostrophe",l=r.enter("definition");let o=r.enter("label");const s=r.createTracker(n);let u=s.move("[");return u+=s.move(r.safe(r.associationId(t),{before:u,after:"]",...s.current()})),u+=s.move("]: "),o(),!t.url||/[\0- \u007F]/.test(t.url)?(o=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(t.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(o=r.enter("destinationRaw"),u+=s.move(r.safe(t.url,{before:u,after:t.title?" ":`
284
+ `,...s.current()}))),o(),t.title&&(o=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(t.title,{before:u,after:i,...s.current()})),u+=s.move(i),o()),l(),u}function pf(t){const e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}function Er(t){return"&#x"+t.toString(16).toUpperCase()+";"}function fn(t,e,r){const n=tr(t),i=tr(e);return n===void 0?i===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}cs.peek=ff;function cs(t,e,r,n){const i=pf(r),a=r.enter("emphasis"),l=r.createTracker(n),o=l.move(i);let s=l.move(r.containerPhrasing(t,{after:i,before:o,...l.current()}));const u=s.charCodeAt(0),h=fn(n.before.charCodeAt(n.before.length-1),u,i);h.inside&&(s=Er(u)+s.slice(1));const m=s.charCodeAt(s.length-1),d=fn(n.after.charCodeAt(0),m,i);d.inside&&(s=s.slice(0,-1)+Er(m));const f=l.move(i);return a(),r.attentionEncodeSurroundingInfo={after:d.outside,before:h.outside},o+s+f}function ff(t,e,r){return r.options.emphasis||"*"}function df(t,e){let r=!1;return li(t,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,k0}),!!((!t.depth||t.depth<3)&&Q0(t)&&(e.options.setext||r))}function gf(t,e,r,n){const i=Math.max(Math.min(6,t.depth||1),1),a=r.createTracker(n);if(df(t,r)){const h=r.enter("headingSetext"),m=r.enter("phrasing"),d=r.containerPhrasing(t,{...a.current(),before:`
285
+ `,after:`
286
+ `});return m(),h(),d+`
287
+ `+(i===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
288
+ `))+1))}const l="#".repeat(i),o=r.enter("headingAtx"),s=r.enter("phrasing");a.move(l+" ");let u=r.containerPhrasing(t,{before:"# ",after:`
289
+ `,...a.current()});return/^[\t ]/.test(u)&&(u=Er(u.charCodeAt(0))+u.slice(1)),u=u?l+" "+u:l,r.options.closeAtx&&(u+=" "+l),s(),o(),u}hs.peek=vf;function hs(t){return t.value||""}function vf(){return"<"}ms.peek=yf;function ms(t,e,r,n){const i=Ti(r),a=i==='"'?"Quote":"Apostrophe",l=r.enter("image");let o=r.enter("label");const s=r.createTracker(n);let u=s.move("![");return u+=s.move(r.safe(t.alt,{before:u,after:"]",...s.current()})),u+=s.move("]("),o(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(o=r.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(r.safe(t.url,{before:u,after:">",...s.current()})),u+=s.move(">")):(o=r.enter("destinationRaw"),u+=s.move(r.safe(t.url,{before:u,after:t.title?" ":")",...s.current()}))),o(),t.title&&(o=r.enter(`title${a}`),u+=s.move(" "+i),u+=s.move(r.safe(t.title,{before:u,after:i,...s.current()})),u+=s.move(i),o()),u+=s.move(")"),l(),u}function yf(){return"!"}ps.peek=xf;function ps(t,e,r,n){const i=t.referenceType,a=r.enter("imageReference");let l=r.enter("label");const o=r.createTracker(n);let s=o.move("![");const u=r.safe(t.alt,{before:s,after:"]",...o.current()});s+=o.move(u+"]["),l();const h=r.stack;r.stack=[],l=r.enter("reference");const m=r.safe(r.associationId(t),{before:s,after:"]",...o.current()});return l(),r.stack=h,a(),i==="full"||!u||u!==m?s+=o.move(m+"]"):i==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}function xf(){return"!"}fs.peek=bf;function fs(t,e,r){let n=t.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){const l=r.unsafe[a],o=r.compilePattern(l);let s;if(l.atBreak)for(;s=o.exec(n);){let u=s.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(s.index+1)}}return i+n+i}function bf(){return"`"}function ds(t,e){const r=Q0(t);return!!(!e.options.resourceLink&&t.url&&!t.title&&t.children&&t.children.length===1&&t.children[0].type==="text"&&(r===t.url||"mailto:"+r===t.url)&&/^[a-z][a-z+.-]+:/i.test(t.url)&&!/[\0- <>\u007F]/.test(t.url))}gs.peek=wf;function gs(t,e,r,n){const i=Ti(r),a=i==='"'?"Quote":"Apostrophe",l=r.createTracker(n);let o,s;if(ds(t,r)){const h=r.stack;r.stack=[],o=r.enter("autolink");let m=l.move("<");return m+=l.move(r.containerPhrasing(t,{before:m,after:">",...l.current()})),m+=l.move(">"),o(),r.stack=h,m}o=r.enter("link"),s=r.enter("label");let u=l.move("[");return u+=l.move(r.containerPhrasing(t,{before:u,after:"](",...l.current()})),u+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=r.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(r.safe(t.url,{before:u,after:">",...l.current()})),u+=l.move(">")):(s=r.enter("destinationRaw"),u+=l.move(r.safe(t.url,{before:u,after:t.title?" ":")",...l.current()}))),s(),t.title&&(s=r.enter(`title${a}`),u+=l.move(" "+i),u+=l.move(r.safe(t.title,{before:u,after:i,...l.current()})),u+=l.move(i),s()),u+=l.move(")"),o(),u}function wf(t,e,r){return ds(t,r)?"<":"["}vs.peek=kf;function vs(t,e,r,n){const i=t.referenceType,a=r.enter("linkReference");let l=r.enter("label");const o=r.createTracker(n);let s=o.move("[");const u=r.containerPhrasing(t,{before:s,after:"]",...o.current()});s+=o.move(u+"]["),l();const h=r.stack;r.stack=[],l=r.enter("reference");const m=r.safe(r.associationId(t),{before:s,after:"]",...o.current()});return l(),r.stack=h,a(),i==="full"||!u||u!==m?s+=o.move(m+"]"):i==="shortcut"?s=s.slice(0,-1):s+=o.move("]"),s}function kf(){return"["}function zi(t){const e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function Sf(t){const e=zi(t),r=t.options.bulletOther;if(!r)return e==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+r+"`) to be different");return r}function Af(t){const e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function ys(t){const e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function Tf(t,e,r,n){const i=r.enter("list"),a=r.bulletCurrent;let l=t.ordered?Af(r):zi(r);const o=t.ordered?l==="."?")":".":Sf(r);let s=e&&r.bulletLastUsed?l===r.bulletLastUsed:!1;if(!t.ordered){const h=t.children?t.children[0]:void 0;if((l==="*"||l==="-")&&h&&(!h.children||!h.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(s=!0),ys(r)===l&&h){let m=-1;for(;++m<t.children.length;){const d=t.children[m];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){s=!0;break}}}}s&&(l=o),r.bulletCurrent=l;const u=r.containerFlow(t,n);return r.bulletLastUsed=l,r.bulletCurrent=a,i(),u}function zf(t){const e=t.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function Cf(t,e,r,n){const i=zf(r);let a=r.bulletCurrent||zi(r);e&&e.type==="list"&&e.ordered&&(a=(typeof e.start=="number"&&e.start>-1?e.start:1)+(r.options.incrementListMarker===!1?0:e.children.indexOf(t))+a);let l=a.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(l=Math.ceil(l/4)*4);const o=r.createTracker(n);o.move(a+" ".repeat(l-a.length)),o.shift(l);const s=r.enter("listItem"),u=r.indentLines(r.containerFlow(t,o.current()),h);return s(),u;function h(m,d,f){return d?(f?"":" ".repeat(l))+m:(f?a:a+" ".repeat(l-a.length))+m}}function Mf(t,e,r,n){const i=r.enter("paragraph"),a=r.enter("phrasing"),l=r.containerPhrasing(t,n);return a(),i(),l}const Ef=_r(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Df(t,e,r,n){return(t.children.some(function(l){return Ef(l)})?r.containerPhrasing:r.containerFlow).call(r,t,n)}function If(t){const e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}xs.peek=_f;function xs(t,e,r,n){const i=If(r),a=r.enter("strong"),l=r.createTracker(n),o=l.move(i+i);let s=l.move(r.containerPhrasing(t,{after:i,before:o,...l.current()}));const u=s.charCodeAt(0),h=fn(n.before.charCodeAt(n.before.length-1),u,i);h.inside&&(s=Er(u)+s.slice(1));const m=s.charCodeAt(s.length-1),d=fn(n.after.charCodeAt(0),m,i);d.inside&&(s=s.slice(0,-1)+Er(m));const f=l.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:d.outside,before:h.outside},o+s+f}function _f(t,e,r){return r.options.strong||"*"}function Bf(t,e,r,n){return r.safe(t.value,n)}function Ff(t){const e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function qf(t,e,r){const n=(ys(r)+(r.options.ruleSpaces?" ":"")).repeat(Ff(r));return r.options.ruleSpaces?n.slice(0,-1):n}const bs={blockquote:af,break:sl,code:cf,definition:mf,emphasis:cs,hardBreak:sl,heading:gf,html:hs,image:ms,imageReference:ps,inlineCode:fs,link:gs,linkReference:vs,list:Tf,listItem:Cf,paragraph:Mf,root:Df,strong:xs,text:Bf,thematicBreak:qf};function Of(){return{enter:{table:Lf,tableData:ul,tableHeader:ul,tableRow:Pf},exit:{codeText:Nf,table:Rf,tableData:g0,tableHeader:g0,tableRow:g0}}}function Lf(t){const e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function Rf(t){this.exit(t),this.data.inTable=void 0}function Pf(t){this.enter({type:"tableRow",children:[]},t)}function g0(t){this.exit(t)}function ul(t){this.enter({type:"tableCell",children:[]},t)}function Nf(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,$f));const r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function $f(t,e){return e==="|"?e:t}function Hf(t){const e=t||{},r=e.tableCellPadding,n=e.tablePipeAlign,i=e.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
290
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:l,tableCell:s,tableRow:o}};function l(f,y,w,C){return u(h(f,w,C),f.align)}function o(f,y,w,C){const k=m(f,w,C),z=u([k]);return z.slice(0,z.indexOf(`
291
+ `))}function s(f,y,w,C){const k=w.enter("tableCell"),z=w.enter("phrasing"),D=w.containerPhrasing(f,{...C,before:a,after:a});return z(),k(),D}function u(f,y){return rf(f,{align:y,alignDelimiters:n,padding:r,stringLength:i})}function h(f,y,w){const C=f.children;let k=-1;const z=[],D=y.enter("table");for(;++k<C.length;)z[k]=m(C[k],y,w);return D(),z}function m(f,y,w){const C=f.children;let k=-1;const z=[],D=y.enter("tableRow");for(;++k<C.length;)z[k]=s(C[k],f,y,w);return D(),z}function d(f,y,w){let C=bs.inlineCode(f,y,w);return w.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function jf(){return{exit:{taskListCheckValueChecked:cl,taskListCheckValueUnchecked:cl,paragraph:Gf}}}function Uf(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Vf}}}function cl(t){const e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function Gf(t){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const i=e.children;let a=-1,l;for(;++a<i.length;){const o=i[a];if(o.type==="paragraph"){l=o;break}}l===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(t)}function Vf(t,e,r,n){const i=t.children[0],a=typeof t.checked=="boolean"&&i&&i.type==="paragraph",l="["+(t.checked?"x":" ")+"] ",o=r.createTracker(n);a&&o.move(l);let s=bs.listItem(t,e,r,{...n,...o.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),s;function u(h){return h+l}}function Wf(){return[Tp(),Vp(),Zp(),Of(),jf()]}function Xf(t){return{extensions:[zp(),Wp(t),Kp(),Hf(t),Uf()]}}const Yf={tokenize:t2,partial:!0},ws={tokenize:r2,partial:!0},ks={tokenize:n2,partial:!0},Ss={tokenize:i2,partial:!0},Zf={tokenize:a2,partial:!0},As={name:"wwwAutolink",tokenize:Jf,previous:zs},Ts={name:"protocolAutolink",tokenize:e2,previous:Cs},At={name:"emailAutolink",tokenize:Qf,previous:Ms},pt={};function Kf(){return{text:pt}}let Nt=48;for(;Nt<123;)pt[Nt]=At,Nt++,Nt===58?Nt=65:Nt===91&&(Nt=97);pt[43]=At;pt[45]=At;pt[46]=At;pt[95]=At;pt[72]=[At,Ts];pt[104]=[At,Ts];pt[87]=[At,As];pt[119]=[At,As];function Qf(t,e,r){const n=this;let i,a;return l;function l(m){return!V0(m)||!Ms.call(n,n.previous)||Ci(n.events)?r(m):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),o(m))}function o(m){return V0(m)?(t.consume(m),o):m===64?(t.consume(m),s):r(m)}function s(m){return m===46?t.check(Zf,h,u)(m):m===45||m===95||_e(m)?(a=!0,t.consume(m),s):h(m)}function u(m){return t.consume(m),i=!0,s}function h(m){return a&&i&&Re(n.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(m)):r(m)}}function Jf(t,e,r){const n=this;return i;function i(l){return l!==87&&l!==119||!zs.call(n,n.previous)||Ci(n.events)?r(l):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(Yf,t.attempt(ws,t.attempt(ks,a),r),r)(l))}function a(l){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(l)}}function e2(t,e,r){const n=this;let i="",a=!1;return l;function l(m){return(m===72||m===104)&&Cs.call(n,n.previous)&&!Ci(n.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(m),t.consume(m),o):r(m)}function o(m){if(Re(m)&&i.length<5)return i+=String.fromCodePoint(m),t.consume(m),o;if(m===58){const d=i.toLowerCase();if(d==="http"||d==="https")return t.consume(m),s}return r(m)}function s(m){return m===47?(t.consume(m),a?u:(a=!0,s)):r(m)}function u(m){return m===null||an(m)||fe(m)||Ut(m)||gn(m)?r(m):t.attempt(ws,t.attempt(ks,h),r)(m)}function h(m){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(m)}}function t2(t,e,r){let n=0;return i;function i(l){return(l===87||l===119)&&n<3?(n++,t.consume(l),i):l===46&&n===3?(t.consume(l),a):r(l)}function a(l){return l===null?r(l):e(l)}}function r2(t,e,r){let n,i,a;return l;function l(u){return u===46||u===95?t.check(Ss,s,o)(u):u===null||fe(u)||Ut(u)||u!==45&&gn(u)?s(u):(a=!0,t.consume(u),l)}function o(u){return u===95?n=!0:(i=n,n=void 0),t.consume(u),l}function s(u){return i||n||!a?r(u):e(u)}}function n2(t,e){let r=0,n=0;return i;function i(l){return l===40?(r++,t.consume(l),i):l===41&&n<r?a(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?t.check(Ss,e,a)(l):l===null||fe(l)||Ut(l)?e(l):(t.consume(l),i)}function a(l){return l===41&&n++,t.consume(l),i}}function i2(t,e,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(t.consume(o),n):o===38?(t.consume(o),a):o===93?(t.consume(o),i):o===60||o===null||fe(o)||Ut(o)?e(o):r(o)}function i(o){return o===null||o===40||o===91||fe(o)||Ut(o)?e(o):n(o)}function a(o){return Re(o)?l(o):r(o)}function l(o){return o===59?(t.consume(o),n):Re(o)?(t.consume(o),l):r(o)}}function a2(t,e,r){return n;function n(a){return t.consume(a),i}function i(a){return _e(a)?r(a):e(a)}}function zs(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||fe(t)}function Cs(t){return!Re(t)}function Ms(t){return!(t===47||V0(t))}function V0(t){return t===43||t===45||t===46||t===95||_e(t)}function Ci(t){let e=t.length,r=!1;for(;e--;){const n=t[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return t.length>0&&!r&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const l2={tokenize:f2,partial:!0};function o2(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:h2,continuation:{tokenize:m2},exit:p2}},text:{91:{name:"gfmFootnoteCall",tokenize:c2},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:s2,resolveTo:u2}}}}function s2(t,e,r){const n=this;let i=n.events.length;const a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l;for(;i--;){const s=n.events[i][1];if(s.type==="labelImage"){l=s;break}if(s.type==="gfmFootnoteCall"||s.type==="labelLink"||s.type==="label"||s.type==="image"||s.type==="link")break}return o;function o(s){if(!l||!l._balanced)return r(s);const u=at(n.sliceSerialize({start:l.end,end:n.now()}));return u.codePointAt(0)!==94||!a.includes(u.slice(1))?r(s):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(s),t.exit("gfmFootnoteCallLabelMarker"),e(s))}}function u2(t,e){let r=t.length;for(;r--;)if(t[r][1].type==="labelImage"&&t[r][0]==="enter"){t[r][1];break}t[r+1][1].type="data",t[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},t[r+3][1].start),end:Object.assign({},t[t.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},t[r+3][1].end),end:Object.assign({},t[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},t[t.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[t[r+1],t[r+2],["enter",n,e],t[r+3],t[r+4],["enter",i,e],["exit",i,e],["enter",a,e],["enter",l,e],["exit",l,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",n,e]];return t.splice(r,t.length-r+1,...o),t}function c2(t,e,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a=0,l;return o;function o(m){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(m),t.exit("gfmFootnoteCallLabelMarker"),s}function s(m){return m!==94?r(m):(t.enter("gfmFootnoteCallMarker"),t.consume(m),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",u)}function u(m){if(a>999||m===93&&!l||m===null||m===91||fe(m))return r(m);if(m===93){t.exit("chunkString");const d=t.exit("gfmFootnoteCallString");return i.includes(at(n.sliceSerialize(d)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(m),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):r(m)}return fe(m)||(l=!0),a++,t.consume(m),m===92?h:u}function h(m){return m===91||m===92||m===93?(t.consume(m),a++,u):u(m)}}function h2(t,e,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,l=0,o;return s;function s(y){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(y),t.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(y){return y===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(y),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",h):r(y)}function h(y){if(l>999||y===93&&!o||y===null||y===91||fe(y))return r(y);if(y===93){t.exit("chunkString");const w=t.exit("gfmFootnoteDefinitionLabelString");return a=at(n.sliceSerialize(w)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(y),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),d}return fe(y)||(o=!0),l++,t.consume(y),y===92?m:h}function m(y){return y===91||y===92||y===93?(t.consume(y),l++,h):h(y)}function d(y){return y===58?(t.enter("definitionMarker"),t.consume(y),t.exit("definitionMarker"),i.includes(a)||i.push(a),ae(t,f,"gfmFootnoteDefinitionWhitespace")):r(y)}function f(y){return e(y)}}function m2(t,e,r){return t.check(Ir,e,t.attempt(l2,e,r))}function p2(t){t.exit("gfmFootnoteDefinition")}function f2(t,e,r){const n=this;return ae(t,i,"gfmFootnoteDefinitionIndent",5);function i(a){const l=n.events[n.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?e(a):r(a)}}function d2(t){let r=(t||{}).singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(l,o){let s=-1;for(;++s<l.length;)if(l[s][0]==="enter"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._close){let u=s;for(;u--;)if(l[u][0]==="exit"&&l[u][1].type==="strikethroughSequenceTemporary"&&l[u][1]._open&&l[s][1].end.offset-l[s][1].start.offset===l[u][1].end.offset-l[u][1].start.offset){l[s][1].type="strikethroughSequence",l[u][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},l[u][1].start),end:Object.assign({},l[s][1].end)},m={type:"strikethroughText",start:Object.assign({},l[u][1].end),end:Object.assign({},l[s][1].start)},d=[["enter",h,o],["enter",l[u][1],o],["exit",l[u][1],o],["enter",m,o]],f=o.parser.constructs.insideSpan.null;f&&Xe(d,d.length,0,vn(f,l.slice(u+1,s),o)),Xe(d,d.length,0,[["exit",m,o],["enter",l[s][1],o],["exit",l[s][1],o],["exit",h,o]]),Xe(l,u-1,s-u+3,d),s=u+d.length-2;break}}for(s=-1;++s<l.length;)l[s][1].type==="strikethroughSequenceTemporary"&&(l[s][1].type="data");return l}function a(l,o,s){const u=this.previous,h=this.events;let m=0;return d;function d(y){return u===126&&h[h.length-1][1].type!=="characterEscape"?s(y):(l.enter("strikethroughSequenceTemporary"),f(y))}function f(y){const w=tr(u);if(y===126)return m>1?s(y):(l.consume(y),m++,f);if(m<2&&!r)return s(y);const C=l.exit("strikethroughSequenceTemporary"),k=tr(y);return C._open=!k||k===2&&!!w,C._close=!w||w===2&&!!k,o(y)}}}class g2{constructor(){this.map=[]}add(e,r,n){v2(this,e,r,n)}consume(e){if(this.map.sort(function(a,l){return a[0]-l[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];n.push(e.slice()),e.length=0;let i=n.pop();for(;i;){for(const a of i)e.push(a);i=n.pop()}this.map.length=0}}function v2(t,e,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=r,t.map[i][2].push(...n);return}i+=1}t.map.push([e,r,n])}}function y2(t,e){let r=!1;const n=[];for(;e<t.length;){const i=t[e];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);e+=1}return n}function x2(){return{flow:{null:{name:"table",tokenize:b2,resolveAll:w2}}}}function b2(t,e,r){const n=this;let i=0,a=0,l;return o;function o(E){let W=n.events.length-1;for(;W>-1;){const Z=n.events[W][1].type;if(Z==="lineEnding"||Z==="linePrefix")W--;else break}const j=W>-1?n.events[W][1].type:null,se=j==="tableHead"||j==="tableRow"?M:s;return se===M&&n.parser.lazy[n.now().line]?r(E):se(E)}function s(E){return t.enter("tableHead"),t.enter("tableRow"),u(E)}function u(E){return E===124||(l=!0,a+=1),h(E)}function h(E){return E===null?r(E):K(E)?a>1?(a=0,n.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(E),t.exit("lineEnding"),f):r(E):oe(E)?ae(t,h,"whitespace")(E):(a+=1,l&&(l=!1,i+=1),E===124?(t.enter("tableCellDivider"),t.consume(E),t.exit("tableCellDivider"),l=!0,h):(t.enter("data"),m(E)))}function m(E){return E===null||E===124||fe(E)?(t.exit("data"),h(E)):(t.consume(E),E===92?d:m)}function d(E){return E===92||E===124?(t.consume(E),m):m(E)}function f(E){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(E):(t.enter("tableDelimiterRow"),l=!1,oe(E)?ae(t,y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):y(E))}function y(E){return E===45||E===58?C(E):E===124?(l=!0,t.enter("tableCellDivider"),t.consume(E),t.exit("tableCellDivider"),w):P(E)}function w(E){return oe(E)?ae(t,C,"whitespace")(E):C(E)}function C(E){return E===58?(a+=1,l=!0,t.enter("tableDelimiterMarker"),t.consume(E),t.exit("tableDelimiterMarker"),k):E===45?(a+=1,k(E)):E===null||K(E)?q(E):P(E)}function k(E){return E===45?(t.enter("tableDelimiterFiller"),z(E)):P(E)}function z(E){return E===45?(t.consume(E),z):E===58?(l=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(E),t.exit("tableDelimiterMarker"),D):(t.exit("tableDelimiterFiller"),D(E))}function D(E){return oe(E)?ae(t,q,"whitespace")(E):q(E)}function q(E){return E===124?y(E):E===null||K(E)?!l||i!==a?P(E):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(E)):P(E)}function P(E){return r(E)}function M(E){return t.enter("tableRow"),G(E)}function G(E){return E===124?(t.enter("tableCellDivider"),t.consume(E),t.exit("tableCellDivider"),G):E===null||K(E)?(t.exit("tableRow"),e(E)):oe(E)?ae(t,G,"whitespace")(E):(t.enter("data"),Y(E))}function Y(E){return E===null||E===124||fe(E)?(t.exit("data"),G(E)):(t.consume(E),E===92?U:Y)}function U(E){return E===92||E===124?(t.consume(E),Y):Y(E)}}function w2(t,e){let r=-1,n=!0,i=0,a=[0,0,0,0],l=[0,0,0,0],o=!1,s=0,u,h,m;const d=new g2;for(;++r<t.length;){const f=t[r],y=f[1];f[0]==="enter"?y.type==="tableHead"?(o=!1,s!==0&&(hl(d,e,s,u,h),h=void 0,s=0),u={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},d.add(r,0,[["enter",u,e]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(n=!0,m=void 0,a=[0,0,0,0],l=[0,r+1,0,0],o&&(o=!1,h={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},d.add(r,0,[["enter",h,e]])),i=y.type==="tableDelimiterRow"?2:h?3:1):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(n=!1,l[2]===0&&(a[1]!==0&&(l[0]=l[1],m=en(d,e,a,i,void 0,m),a=[0,0,0,0]),l[2]=r)):y.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(l[0]=l[1],m=en(d,e,a,i,void 0,m)),a=l,l=[a[1],r,0,0])):y.type==="tableHead"?(o=!0,s=r):y.type==="tableRow"||y.type==="tableDelimiterRow"?(s=r,a[1]!==0?(l[0]=l[1],m=en(d,e,a,i,r,m)):l[1]!==0&&(m=en(d,e,l,i,r,m)),i=0):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(l[3]=r)}for(s!==0&&hl(d,e,s,u,h),d.consume(e.events),r=-1;++r<e.events.length;){const f=e.events[r];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=y2(e.events,r))}return t}function en(t,e,r,n,i,a){const l=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},Jt(e.events,r[0])),t.add(r[0],0,[["exit",a,e]]));const s=Jt(e.events,r[1]);if(a={type:l,start:Object.assign({},s),end:Object.assign({},s)},t.add(r[1],0,[["enter",a,e]]),r[2]!==0){const u=Jt(e.events,r[2]),h=Jt(e.events,r[3]),m={type:o,start:Object.assign({},u),end:Object.assign({},h)};if(t.add(r[2],0,[["enter",m,e]]),n!==2){const d=e.events[r[2]],f=e.events[r[3]];if(d[1].end=Object.assign({},f[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){const y=r[2]+1,w=r[3]-r[2]-1;t.add(y,w,[])}}t.add(r[3]+1,0,[["exit",m,e]])}return i!==void 0&&(a.end=Object.assign({},Jt(e.events,i)),t.add(i,0,[["exit",a,e]]),a=void 0),a}function hl(t,e,r,n,i){const a=[],l=Jt(e.events,r);i&&(i.end=Object.assign({},l),a.push(["exit",i,e])),n.end=Object.assign({},l),a.push(["exit",n,e]),t.add(r+1,0,a)}function Jt(t,e){const r=t[e],n=r[0]==="enter"?"start":"end";return r[1][n]}const k2={name:"tasklistCheck",tokenize:A2};function S2(){return{text:{91:k2}}}function A2(t,e,r){const n=this;return i;function i(s){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(s):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(s),t.exit("taskListCheckMarker"),a)}function a(s){return fe(s)?(t.enter("taskListCheckValueUnchecked"),t.consume(s),t.exit("taskListCheckValueUnchecked"),l):s===88||s===120?(t.enter("taskListCheckValueChecked"),t.consume(s),t.exit("taskListCheckValueChecked"),l):r(s)}function l(s){return s===93?(t.enter("taskListCheckMarker"),t.consume(s),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),o):r(s)}function o(s){return K(s)?e(s):oe(s)?t.check({tokenize:T2},e,r)(s):r(s)}}function T2(t,e,r){return ae(t,n,"whitespace");function n(i){return i===null?r(i):e(i)}}function z2(t){return El([Kf(),o2(),d2(t),x2(),S2()])}const C2={};function B2(t){const e=this,r=t||C2,n=e.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),l=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(z2(r)),a.push(Wf()),l.push(Xf(r))}ar.__defineMacro("\\ce",function(t){return Es(t.consumeArgs(1)[0],"ce")});ar.__defineMacro("\\pu",function(t){return Es(t.consumeArgs(1)[0],"pu")});ar.__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var Es=function(e,r){for(var n="",i=e.length&&e[e.length-1].loc.start,a=e.length-1;a>=0;a--)e[a].loc.start>i&&(n+=" ",i=e[a].loc.start),n+=e[a].text,i+=e[a].text.length;var l=me.go(_.go(n,r));return l},_={go:function(e,r){if(!e)return[];r===void 0&&(r="ce");var n="0",i={};i.parenthesisLevel=0,e=e.replace(/\n/g," "),e=e.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),e=e.replace(/[\u2026]/g,"...");for(var a,l=10,o=[];;){a!==e?(l=10,a=e):l--;var s=_.stateMachines[r],u=s.transitions[n]||s.transitions["*"];e:for(var h=0;h<u.length;h++){var m=_.patterns.match_(u[h].pattern,e);if(m){for(var d=u[h].task,f=0;f<d.action_.length;f++){var y;if(s.actions[d.action_[f].type_])y=s.actions[d.action_[f].type_](i,m.match_,d.action_[f].option);else if(_.actions[d.action_[f].type_])y=_.actions[d.action_[f].type_](i,m.match_,d.action_[f].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+d.action_[f].type_+")"];_.concatArray(o,y)}if(n=d.nextState||n,e.length>0){if(d.revisit||(e=m.remainder),!d.toContinue)break e}else return o}}if(l<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(e,r){if(r)if(Array.isArray(r))for(var n=0;n<r.length;n++)e.push(r[n]);else e.push(r)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(e){var r=e.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return r&&r[0]?{match_:r.splice(1),remainder:e.substr(r[0].length)}:null},"(-)(9)^(-9)":function(e){var r=e.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return r&&r[0]?{match_:r.splice(1),remainder:e.substr(r[0].length)}:null},"state of aggregation $":function(e){var r=_.patterns.findObserveGroups(e,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(r&&r.remainder.match(/^($|[\s,;\)\]\}])/))return r;var n=e.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return n?{match_:n[0],remainder:e.substr(n[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(e){return _.patterns.findObserveGroups(e,"^{","","","}")},"^($...$)":function(e){return _.patterns.findObserveGroups(e,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(e){return _.patterns.findObserveGroups(e,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(e){return _.patterns.findObserveGroups(e,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(e){return _.patterns.findObserveGroups(e,"_{","","","}")},"_($...$)":function(e){return _.patterns.findObserveGroups(e,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(e){return _.patterns.findObserveGroups(e,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(e){return _.patterns.findObserveGroups(e,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(e){return _.patterns.findObserveGroups(e,"","{","}","")},"{(...)}":function(e){return _.patterns.findObserveGroups(e,"{","","","}")},"$...$":function(e){return _.patterns.findObserveGroups(e,"","$","$","")},"${(...)}$":function(e){return _.patterns.findObserveGroups(e,"${","","","}$")},"$(...)$":function(e){return _.patterns.findObserveGroups(e,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(e){return _.patterns.findObserveGroups(e,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(e){return _.patterns.findObserveGroups(e,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(e){return _.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(e){return _.patterns.findObserveGroups(e,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(e){return _.patterns.findObserveGroups(e,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(e){return _.patterns.findObserveGroups(e,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(e){return _.patterns.findObserveGroups(e,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(e){return _.patterns.findObserveGroups(e,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(e){return _.patterns.findObserveGroups(e,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(e){return _.patterns.findObserveGroups(e,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(e){return _.patterns.findObserveGroups(e,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(e){return _.patterns.findObserveGroups(e,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(e){var r;if(r=e.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),r)return{match_:r[0],remainder:e.substr(r[0].length)};var n=_.patterns.findObserveGroups(e,"","$","$","");return n&&(r=n.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),r)?{match_:r[0],remainder:e.substr(r[0].length)}:null},amount2:function(e){return this.amount(e)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(e){if(e.match(/^\([a-z]+\)$/))return null;var r=e.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return r?{match_:r[0],remainder:e.substr(r[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(e,r,n,i,a,l,o,s,u,h){var m=function(D,q){if(typeof q=="string")return D.indexOf(q)!==0?null:q;var P=D.match(q);return P?P[0]:null},d=function(D,q,P){for(var M=0;q<D.length;){var G=D.charAt(q),Y=m(D.substr(q),P);if(Y!==null&&M===0)return{endMatchBegin:q,endMatchEnd:q+Y.length};if(G==="{")M++;else if(G==="}"){if(M===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];M--}q++}return M>0,null},f=m(e,r);if(f===null||(e=e.substr(f.length),f=m(e,n),f===null))return null;var y=d(e,f.length,i||a);if(y===null)return null;var w=e.substring(0,i?y.endMatchEnd:y.endMatchBegin);if(l||o){var C=this.findObserveGroups(e.substr(y.endMatchEnd),l,o,s,u);if(C===null)return null;var k=[w,C.match_];return{match_:h?k.join(""):k,remainder:C.remainder}}else return{match_:w,remainder:e.substr(y.endMatchEnd)}},match_:function(e,r){var n=_.patterns.patterns[e];if(n===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+e+")"];if(typeof n=="function")return _.patterns.patterns[e](r);var i=r.match(n);if(i){var a;return i[2]?a=[i[1],i[2]]:i[1]?a=i[1]:a=i[0],{match_:a,remainder:r.substr(i[0].length)}}return null}},actions:{"a=":function(e,r){e.a=(e.a||"")+r},"b=":function(e,r){e.b=(e.b||"")+r},"p=":function(e,r){e.p=(e.p||"")+r},"o=":function(e,r){e.o=(e.o||"")+r},"q=":function(e,r){e.q=(e.q||"")+r},"d=":function(e,r){e.d=(e.d||"")+r},"rm=":function(e,r){e.rm=(e.rm||"")+r},"text=":function(e,r){e.text_=(e.text_||"")+r},insert:function(e,r,n){return{type_:n}},"insert+p1":function(e,r,n){return{type_:n,p1:r}},"insert+p1+p2":function(e,r,n){return{type_:n,p1:r[0],p2:r[1]}},copy:function(e,r){return r},rm:function(e,r){return{type_:"rm",p1:r||""}},text:function(e,r){return _.go(r,"text")},"{text}":function(e,r){var n=["{"];return _.concatArray(n,_.go(r,"text")),n.push("}"),n},"tex-math":function(e,r){return _.go(r,"tex-math")},"tex-math tight":function(e,r){return _.go(r,"tex-math tight")},bond:function(e,r,n){return{type_:"bond",kind_:n||r}},"color0-output":function(e,r){return{type_:"color0",color:r[0]}},ce:function(e,r){return _.go(r)},"1/2":function(e,r){var n=[];r.match(/^[+\-]/)&&(n.push(r.substr(0,1)),r=r.substr(1));var i=r.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return i[1]=i[1].replace(/\$/g,""),n.push({type_:"frac",p1:i[1],p2:i[2]}),i[3]&&(i[3]=i[3].replace(/\$/g,""),n.push({type_:"tex-math",p1:i[3]})),n},"9,9":function(e,r){return _.go(r,"9,9")}},createTransitions:function(e){var r,n,i,a,l={};for(r in e)for(n in e[r])for(i=n.split("|"),e[r][n].stateArray=i,a=0;a<i.length;a++)l[i[a]]=[];for(r in e)for(n in e[r])for(i=e[r][n].stateArray||[],a=0;a<i.length;a++){var o=e[r][n];if(o.action_){o.action_=[].concat(o.action_);for(var s=0;s<o.action_.length;s++)typeof o.action_[s]=="string"&&(o.action_[s]={type_:o.action_[s]})}else o.action_=[];for(var u=r.split("|"),h=0;h<u.length;h++)if(i[a]==="*")for(var m in l)l[m].push({pattern:u[h],task:o});else l[i[a]].push({pattern:u[h],task:o})}return l},stateMachines:{}};_.stateMachines={ce:{transitions:_.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(e,r){var n;if((e.d||"").match(/^[0-9]+$/)){var i=e.d;e.d=void 0,n=this.output(e),e.b=i}else n=this.output(e);return _.actions["o="](e,r),n},"d= kv":function(e,r){e.d=r,e.dType="kv"},"charge or bond":function(e,r){if(e.beginsWithBond){var n=[];return _.concatArray(n,this.output(e)),_.concatArray(n,_.actions.bond(e,r,"-")),n}else e.d=r},"- after o/d":function(e,r,n){var i=_.patterns.match_("orbital",e.o||""),a=_.patterns.match_("one lowercase greek letter $",e.o||""),l=_.patterns.match_("one lowercase latin letter $",e.o||""),o=_.patterns.match_("$one lowercase latin letter$ $",e.o||""),s=r==="-"&&(i&&i.remainder===""||a||l||o);s&&!e.a&&!e.b&&!e.p&&!e.d&&!e.q&&!i&&l&&(e.o="$"+e.o+"$");var u=[];return s?(_.concatArray(u,this.output(e)),u.push({type_:"hyphen"})):(i=_.patterns.match_("digits",e.d||""),n&&i&&i.remainder===""?(_.concatArray(u,_.actions["d="](e,r)),_.concatArray(u,this.output(e))):(_.concatArray(u,this.output(e)),_.concatArray(u,_.actions.bond(e,r,"-")))),u},"a to o":function(e){e.o=e.a,e.a=void 0},"sb=true":function(e){e.sb=!0},"sb=false":function(e){e.sb=!1},"beginsWithBond=true":function(e){e.beginsWithBond=!0},"beginsWithBond=false":function(e){e.beginsWithBond=!1},"parenthesisLevel++":function(e){e.parenthesisLevel++},"parenthesisLevel--":function(e){e.parenthesisLevel--},"state of aggregation":function(e,r){return{type_:"state of aggregation",p1:_.go(r,"o")}},comma:function(e,r){var n=r.replace(/\s*$/,""),i=n!==r;return i&&e.parenthesisLevel===0?{type_:"comma enumeration L",p1:n}:{type_:"comma enumeration M",p1:n}},output:function(e,r,n){var i;if(!e.r)i=[],!e.a&&!e.b&&!e.p&&!e.o&&!e.q&&!e.d&&!n||(e.sb&&i.push({type_:"entitySkip"}),!e.o&&!e.q&&!e.d&&!e.b&&!e.p&&n!==2?(e.o=e.a,e.a=void 0):!e.o&&!e.q&&!e.d&&(e.b||e.p)?(e.o=e.a,e.d=e.b,e.q=e.p,e.a=e.b=e.p=void 0):e.o&&e.dType==="kv"&&_.patterns.match_("d-oxidation$",e.d||"")?e.dType="oxidation":e.o&&e.dType==="kv"&&!e.q&&(e.dType=void 0),i.push({type_:"chemfive",a:_.go(e.a,"a"),b:_.go(e.b,"bd"),p:_.go(e.p,"pq"),o:_.go(e.o,"o"),q:_.go(e.q,"pq"),d:_.go(e.d,e.dType==="oxidation"?"oxidation":"bd"),dType:e.dType}));else{var a;e.rdt==="M"?a=_.go(e.rd,"tex-math"):e.rdt==="T"?a=[{type_:"text",p1:e.rd||""}]:a=_.go(e.rd);var l;e.rqt==="M"?l=_.go(e.rq,"tex-math"):e.rqt==="T"?l=[{type_:"text",p1:e.rq||""}]:l=_.go(e.rq),i={type_:"arrow",r:e.r,rd:a,rq:l}}for(var o in e)o!=="parenthesisLevel"&&o!=="beginsWithBond"&&delete e[o];return i},"oxidation-output":function(e,r){var n=["{"];return _.concatArray(n,_.go(r,"oxidation")),n.push("}"),n},"frac-output":function(e,r){return{type_:"frac-ce",p1:_.go(r[0]),p2:_.go(r[1])}},"overset-output":function(e,r){return{type_:"overset",p1:_.go(r[0]),p2:_.go(r[1])}},"underset-output":function(e,r){return{type_:"underset",p1:_.go(r[0]),p2:_.go(r[1])}},"underbrace-output":function(e,r){return{type_:"underbrace",p1:_.go(r[0]),p2:_.go(r[1])}},"color-output":function(e,r){return{type_:"color",color1:r[0],color2:_.go(r[1])}},"r=":function(e,r){e.r=r},"rdt=":function(e,r){e.rdt=r},"rd=":function(e,r){e.rd=r},"rqt=":function(e,r){e.rqt=r},"rq=":function(e,r){e.rq=r},operator:function(e,r,n){return{type_:"operator",kind_:n||r}}}},a:{transitions:_.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:_.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:_.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(e){if(e.text_){var r={type_:"text",p1:e.text_};for(var n in e)delete e[n];return r}}}},pq:{transitions:_.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(e,r){return{type_:"state of aggregation subscript",p1:_.go(r,"o")}},"color-output":function(e,r){return{type_:"color",color1:r[0],color2:_.go(r[1],"pq")}}}},bd:{transitions:_.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(e,r){return{type_:"color",color1:r[0],color2:_.go(r[1],"bd")}}}},oxidation:{transitions:_.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(e,r){return{type_:"roman numeral",p1:r||""}}}},"tex-math":{transitions:_.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(e){if(e.o){var r={type_:"tex-math",p1:e.o};for(var n in e)delete e[n];return r}}}},"tex-math tight":{transitions:_.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(e,r){e.o=(e.o||"")+"{"+r+"}"},output:function(e){if(e.o){var r={type_:"tex-math",p1:e.o};for(var n in e)delete e[n];return r}}}},"9,9":{transitions:_.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:_.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(e,r){var n=[];return r[0]==="+-"||r[0]==="+/-"?n.push("\\pm "):r[0]&&n.push(r[0]),r[1]&&(_.concatArray(n,_.go(r[1],"pu-9,9")),r[2]&&(r[2].match(/[,.]/)?_.concatArray(n,_.go(r[2],"pu-9,9")):n.push(r[2])),r[3]=r[4]||r[3],r[3]&&(r[3]=r[3].trim(),r[3]==="e"||r[3].substr(0,1)==="*"?n.push({type_:"cdot"}):n.push({type_:"times"}))),r[3]&&n.push("10^{"+r[5]+"}"),n},"number^":function(e,r){var n=[];return r[0]==="+-"||r[0]==="+/-"?n.push("\\pm "):r[0]&&n.push(r[0]),_.concatArray(n,_.go(r[1],"pu-9,9")),n.push("^{"+r[2]+"}"),n},operator:function(e,r,n){return{type_:"operator",kind_:n||r}},space:function(){return{type_:"pu-space-1"}},output:function(e){var r,n=_.patterns.match_("{(...)}",e.d||"");n&&n.remainder===""&&(e.d=n.match_);var i=_.patterns.match_("{(...)}",e.q||"");if(i&&i.remainder===""&&(e.q=i.match_),e.d&&(e.d=e.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.d=e.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),e.q){e.q=e.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),e.q=e.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var a={d:_.go(e.d,"pu"),q:_.go(e.q,"pu")};e.o==="//"?r={type_:"pu-frac",p1:a.d,p2:a.q}:(r=a.d,a.d.length>1||a.q.length>1?r.push({type_:" / "}):r.push({type_:"/"}),_.concatArray(r,a.q))}else r=_.go(e.d,"pu-2");for(var l in e)delete e[l];return r}}},"pu-2":{transitions:_.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(e,r){e.rm+="^{"+r+"}"},space:function(){return{type_:"pu-space-2"}},output:function(e){var r=[];if(e.rm){var n=_.patterns.match_("{(...)}",e.rm||"");n&&n.remainder===""?r=_.go(n.match_,"pu"):r={type_:"rm",p1:e.rm}}for(var i in e)delete e[i];return r}}},"pu-9,9":{transitions:_.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(e){var r=[];if(e.text_=e.text_||"",e.text_.length>4){var n=e.text_.length%3;n===0&&(n=3);for(var i=e.text_.length-3;i>0;i-=3)r.push(e.text_.substr(i,3)),r.push({type_:"1000 separator"});r.push(e.text_.substr(0,n)),r.reverse()}else r.push(e.text_);for(var a in e)delete e[a];return r},"output-o":function(e){var r=[];if(e.text_=e.text_||"",e.text_.length>4){for(var n=e.text_.length-3,i=0;i<n;i+=3)r.push(e.text_.substr(i,3)),r.push({type_:"1000 separator"});r.push(e.text_.substr(i))}else r.push(e.text_);for(var a in e)delete e[a];return r}}}};var me={go:function(e,r){if(!e)return"";for(var n="",i=!1,a=0;a<e.length;a++){var l=e[a];typeof l=="string"?n+=l:(n+=me._go2(l),l.type_==="1st-level escape"&&(i=!0))}return!r&&!i&&n&&(n="{"+n+"}"),n},_goInner:function(e){return e&&me.go(e,!0)},_go2:function(e){var r;switch(e.type_){case"chemfive":r="";var n={a:me._goInner(e.a),b:me._goInner(e.b),p:me._goInner(e.p),o:me._goInner(e.o),q:me._goInner(e.q),d:me._goInner(e.d)};n.a&&(n.a.match(/^[+\-]/)&&(n.a="{"+n.a+"}"),r+=n.a+"\\,"),(n.b||n.p)&&(r+="{\\vphantom{X}}",r+="^{\\hphantom{"+(n.b||"")+"}}_{\\hphantom{"+(n.p||"")+"}}",r+="{\\vphantom{X}}",r+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(n.b||"")+"}}",r+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(n.p||"")+"}}}"),n.o&&(n.o.match(/^[+\-]/)&&(n.o="{"+n.o+"}"),r+=n.o),e.dType==="kv"?((n.d||n.q)&&(r+="{\\vphantom{X}}"),n.d&&(r+="^{"+n.d+"}"),n.q&&(r+="_{\\smash[t]{"+n.q+"}}")):e.dType==="oxidation"?(n.d&&(r+="{\\vphantom{X}}",r+="^{"+n.d+"}"),n.q&&(r+="{\\vphantom{X}}",r+="_{\\smash[t]{"+n.q+"}}")):(n.q&&(r+="{\\vphantom{X}}",r+="_{\\smash[t]{"+n.q+"}}"),n.d&&(r+="{\\vphantom{X}}",r+="^{"+n.d+"}"));break;case"rm":r="\\mathrm{"+e.p1+"}";break;case"text":e.p1.match(/[\^_]/)?(e.p1=e.p1.replace(" ","~").replace("-","\\text{-}"),r="\\mathrm{"+e.p1+"}"):r="\\text{"+e.p1+"}";break;case"roman numeral":r="\\mathrm{"+e.p1+"}";break;case"state of aggregation":r="\\mskip2mu "+me._goInner(e.p1);break;case"state of aggregation subscript":r="\\mskip1mu "+me._goInner(e.p1);break;case"bond":if(r=me._getBond(e.kind_),!r)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+e.kind_+")"];break;case"frac":var i="\\frac{"+e.p1+"}{"+e.p2+"}";r="\\mathchoice{\\textstyle"+i+"}{"+i+"}{"+i+"}{"+i+"}";break;case"pu-frac":var a="\\frac{"+me._goInner(e.p1)+"}{"+me._goInner(e.p2)+"}";r="\\mathchoice{\\textstyle"+a+"}{"+a+"}{"+a+"}{"+a+"}";break;case"tex-math":r=e.p1+" ";break;case"frac-ce":r="\\frac{"+me._goInner(e.p1)+"}{"+me._goInner(e.p2)+"}";break;case"overset":r="\\overset{"+me._goInner(e.p1)+"}{"+me._goInner(e.p2)+"}";break;case"underset":r="\\underset{"+me._goInner(e.p1)+"}{"+me._goInner(e.p2)+"}";break;case"underbrace":r="\\underbrace{"+me._goInner(e.p1)+"}_{"+me._goInner(e.p2)+"}";break;case"color":r="{\\color{"+e.color1+"}{"+me._goInner(e.color2)+"}}";break;case"color0":r="\\color{"+e.color+"}";break;case"arrow":var l={rd:me._goInner(e.rd),rq:me._goInner(e.rq)},o="\\x"+me._getArrow(e.r);l.rq&&(o+="[{"+l.rq+"}]"),l.rd?o+="{"+l.rd+"}":o+="{}",r=o;break;case"operator":r=me._getOperator(e.kind_);break;case"1st-level escape":r=e.p1+" ";break;case"space":r=" ";break;case"entitySkip":r="~";break;case"pu-space-1":r="~";break;case"pu-space-2":r="\\mkern3mu ";break;case"1000 separator":r="\\mkern2mu ";break;case"commaDecimal":r="{,}";break;case"comma enumeration L":r="{"+e.p1+"}\\mkern6mu ";break;case"comma enumeration M":r="{"+e.p1+"}\\mkern3mu ";break;case"comma enumeration S":r="{"+e.p1+"}\\mkern1mu ";break;case"hyphen":r="\\text{-}";break;case"addition compound":r="\\,{\\cdot}\\,";break;case"electron dot":r="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":r="{\\times}";break;case"prime":r="\\prime ";break;case"cdot":r="\\cdot ";break;case"tight cdot":r="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":r="\\times ";break;case"circa":r="{\\sim}";break;case"^":r="uparrow";break;case"v":r="downarrow";break;case"ellipsis":r="\\ldots ";break;case"/":r="/";break;case" / ":r="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return r},_getArrow:function(e){switch(e){case"->":return"rightarrow";case"→":return"rightarrow";case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"rightleftarrows";case"<=>":return"rightleftharpoons";case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(e){switch(e){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(e){switch(e){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};export{E2 as M,I2 as a,_2 as b,D2 as k,B2 as r};