@storybook/addon-docs 8.5.3 → 8.5.5

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.
@@ -9,7 +9,7 @@ Defaulting to 2020, but this will stop working in the future.`)),options.ecmaVer
9
9
  `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString2(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),inTemplate){var codePos=this.pos-1;this.invalidStringToken(codePos,"Invalid escape sequence in template string")}default:if(ch>=48&&ch<=55){var octalStr=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],octal=parseInt(octalStr,8);return octal>255&&(octalStr=octalStr.slice(0,-1),octal=parseInt(octalStr,8)),this.pos+=octalStr.length-1,ch=this.input.charCodeAt(this.pos),(octalStr!=="0"||ch===56||ch===57)&&(this.strict||inTemplate)&&this.invalidStringToken(this.pos-1-octalStr.length,inTemplate?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(octal)}return isNewLine2(ch)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(ch)}},pp2.readHexChar=function(len){var codePos=this.pos,n=this.readInt(16,len);return n===null&&this.invalidStringToken(codePos,"Bad character escape sequence"),n},pp2.readWord1=function(){this.containsEsc=!1;for(var word="",first=!0,chunkStart=this.pos,astral=this.options.ecmaVersion>=6;this.pos<this.input.length;){var ch=this.fullCharCodeAtPos();if(isIdentifierChar2(ch,astral))this.pos+=ch<=65535?1:2;else if(ch===92){this.containsEsc=!0,word+=this.input.slice(chunkStart,this.pos);var escStart=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var esc=this.readCodePoint();(first?isIdentifierStart2:isIdentifierChar2)(esc,astral)||this.invalidStringToken(escStart,"Invalid Unicode escape"),word+=codePointToString2(esc),chunkStart=this.pos}else break;first=!1}return word+this.input.slice(chunkStart,this.pos)},pp2.readWord=function(){var word=this.readWord1(),type=types$12.name;return this.keywords.test(word)&&(type=keywords2[word]),this.finishToken(type,word)};var version2="8.12.1";Parser3.acorn={Parser:Parser3,version:version2,defaultOptions:defaultOptions2,Position:Position3,SourceLocation:SourceLocation3,getLineInfo:getLineInfo2,Node:Node3,TokenType:TokenType3,tokTypes:types$12,keywordTypes:keywords2,TokContext:TokContext3,tokContexts:types2,isIdentifierChar:isIdentifierChar2,isIdentifierStart:isIdentifierStart2,Token:Token3,isNewLine:isNewLine2,lineBreak:lineBreak2,lineBreakG:lineBreakG2,nonASCIIwhitespace:nonASCIIwhitespace2};function parse4(input,options){return Parser3.parse(input,options)}function parseExpressionAt2(input,pos,options){return Parser3.parseExpressionAt(input,pos,options)}function tokenizer2(input,options){return Parser3.tokenizer(input,options)}exports3.Node=Node3,exports3.Parser=Parser3,exports3.Position=Position3,exports3.SourceLocation=SourceLocation3,exports3.TokContext=TokContext3,exports3.Token=Token3,exports3.TokenType=TokenType3,exports3.defaultOptions=defaultOptions2,exports3.getLineInfo=getLineInfo2,exports3.isIdentifierChar=isIdentifierChar2,exports3.isIdentifierStart=isIdentifierStart2,exports3.isNewLine=isNewLine2,exports3.keywordTypes=keywords2,exports3.lineBreak=lineBreak2,exports3.lineBreakG=lineBreakG2,exports3.nonASCIIwhitespace=nonASCIIwhitespace2,exports3.parse=parse4,exports3.parseExpressionAt=parseExpressionAt2,exports3.tokContexts=types2,exports3.tokTypes=types$12,exports3.tokenizer=tokenizer2,exports3.version=version2})}});var require_acorn_jsx=__commonJS({"../../node_modules/micromark-extension-mdxjs/node_modules/acorn-jsx/index.js"(exports2,module2){"use strict";var XHTMLEntities=require_xhtml(),hexNumber=/^[\da-fA-F]+$/,decimalNumber=/^\d+$/,acornJsxMap=new WeakMap;function getJsxTokens(acorn){acorn=acorn.Parser.acorn||acorn;let acornJsx2=acornJsxMap.get(acorn);if(!acornJsx2){let tt=acorn.tokTypes,TokContext3=acorn.TokContext,TokenType3=acorn.TokenType,tc_oTag=new TokContext3("<tag",!1),tc_cTag=new TokContext3("</tag",!1),tc_expr=new TokContext3("<tag>...</tag>",!0,!0),tokContexts={tc_oTag,tc_cTag,tc_expr},tokTypes={jsxName:new TokenType3("jsxName"),jsxText:new TokenType3("jsxText",{beforeExpr:!0}),jsxTagStart:new TokenType3("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new TokenType3("jsxTagEnd")};tokTypes.jsxTagStart.updateContext=function(){this.context.push(tc_expr),this.context.push(tc_oTag),this.exprAllowed=!1},tokTypes.jsxTagEnd.updateContext=function(prevType){let out=this.context.pop();out===tc_oTag&&prevType===tt.slash||out===tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===tc_expr):this.exprAllowed=!0},acornJsx2={tokContexts,tokTypes},acornJsxMap.set(acorn,acornJsx2)}return acornJsx2}function getQualifiedJSXName(object){if(!object)return object;if(object.type==="JSXIdentifier")return object.name;if(object.type==="JSXNamespacedName")return object.namespace.name+":"+object.name.name;if(object.type==="JSXMemberExpression")return getQualifiedJSXName(object.object)+"."+getQualifiedJSXName(object.property)}module2.exports=function(options){return options=options||{},function(Parser3){return plugin({allowNamespaces:options.allowNamespaces!==!1,allowNamespacedObjects:!!options.allowNamespacedObjects},Parser3)}};Object.defineProperty(module2.exports,"tokTypes",{get:function(){return getJsxTokens(require_acorn()).tokTypes},configurable:!0,enumerable:!0});function plugin(options,Parser3){let acorn=Parser3.acorn||require_acorn(),acornJsx2=getJsxTokens(acorn),tt=acorn.tokTypes,tok=acornJsx2.tokTypes,tokContexts=acorn.tokContexts,tc_oTag=acornJsx2.tokContexts.tc_oTag,tc_cTag=acornJsx2.tokContexts.tc_cTag,tc_expr=acornJsx2.tokContexts.tc_expr,isNewLine2=acorn.isNewLine,isIdentifierStart2=acorn.isIdentifierStart,isIdentifierChar2=acorn.isIdentifierChar;return class extends Parser3{static get acornJsx(){return acornJsx2}jsx_readToken(){let out="",chunkStart=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let ch=this.input.charCodeAt(this.pos);switch(ch){case 60:case 123:return this.pos===this.start?ch===60&&this.exprAllowed?(++this.pos,this.finishToken(tok.jsxTagStart)):this.getTokenFromCode(ch):(out+=this.input.slice(chunkStart,this.pos),this.finishToken(tok.jsxText,out));case 38:out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(ch===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:isNewLine2(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!0),chunkStart=this.pos):++this.pos}}}jsx_readNewLine(normalizeCRLF){let ch=this.input.charCodeAt(this.pos),out;return++this.pos,ch===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,out=normalizeCRLF?`
10
10
  `:`\r
11
11
  `):out=String.fromCharCode(ch),this.options.locations&&(++this.curLine,this.lineStart=this.pos),out}jsx_readString(quote){let out="",chunkStart=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let ch=this.input.charCodeAt(this.pos);if(ch===quote)break;ch===38?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readEntity(),chunkStart=this.pos):isNewLine2(ch)?(out+=this.input.slice(chunkStart,this.pos),out+=this.jsx_readNewLine(!1),chunkStart=this.pos):++this.pos}return out+=this.input.slice(chunkStart,this.pos++),this.finishToken(tt.string,out)}jsx_readEntity(){let str="",count=0,entity,ch=this.input[this.pos];ch!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let startPos=++this.pos;for(;this.pos<this.input.length&&count++<10;){if(ch=this.input[this.pos++],ch===";"){str[0]==="#"?str[1]==="x"?(str=str.substr(2),hexNumber.test(str)&&(entity=String.fromCharCode(parseInt(str,16)))):(str=str.substr(1),decimalNumber.test(str)&&(entity=String.fromCharCode(parseInt(str,10)))):entity=XHTMLEntities[str];break}str+=ch}return entity||(this.pos=startPos,"&")}jsx_readWord(){let ch,start2=this.pos;do ch=this.input.charCodeAt(++this.pos);while(isIdentifierChar2(ch)||ch===45);return this.finishToken(tok.jsxName,this.input.slice(start2,this.pos))}jsx_parseIdentifier(){let node2=this.startNode();return this.type===tok.jsxName?node2.name=this.value:this.type.keyword?node2.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(node2,"JSXIdentifier")}jsx_parseNamespacedName(){let startPos=this.start,startLoc=this.startLoc,name2=this.jsx_parseIdentifier();if(!options.allowNamespaces||!this.eat(tt.colon))return name2;var node2=this.startNodeAt(startPos,startLoc);return node2.namespace=name2,node2.name=this.jsx_parseIdentifier(),this.finishNode(node2,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===tok.jsxTagEnd)return"";let startPos=this.start,startLoc=this.startLoc,node2=this.jsx_parseNamespacedName();for(this.type===tt.dot&&node2.type==="JSXNamespacedName"&&!options.allowNamespacedObjects&&this.unexpected();this.eat(tt.dot);){let newNode=this.startNodeAt(startPos,startLoc);newNode.object=node2,newNode.property=this.jsx_parseIdentifier(),node2=this.finishNode(newNode,"JSXMemberExpression")}return node2}jsx_parseAttributeValue(){switch(this.type){case tt.braceL:let node2=this.jsx_parseExpressionContainer();return node2.expression.type==="JSXEmptyExpression"&&this.raise(node2.start,"JSX attributes must only be assigned a non-empty expression"),node2;case tok.jsxTagStart:case tt.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let node2=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(node2,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let node2=this.startNode();return this.next(),node2.expression=this.type===tt.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(tt.braceR),this.finishNode(node2,"JSXExpressionContainer")}jsx_parseAttribute(){let node2=this.startNode();return this.eat(tt.braceL)?(this.expect(tt.ellipsis),node2.argument=this.parseMaybeAssign(),this.expect(tt.braceR),this.finishNode(node2,"JSXSpreadAttribute")):(node2.name=this.jsx_parseNamespacedName(),node2.value=this.eat(tt.eq)?this.jsx_parseAttributeValue():null,this.finishNode(node2,"JSXAttribute"))}jsx_parseOpeningElementAt(startPos,startLoc){let node2=this.startNodeAt(startPos,startLoc);node2.attributes=[];let nodeName=this.jsx_parseElementName();for(nodeName&&(node2.name=nodeName);this.type!==tt.slash&&this.type!==tok.jsxTagEnd;)node2.attributes.push(this.jsx_parseAttribute());return node2.selfClosing=this.eat(tt.slash),this.expect(tok.jsxTagEnd),this.finishNode(node2,nodeName?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(startPos,startLoc){let node2=this.startNodeAt(startPos,startLoc),nodeName=this.jsx_parseElementName();return nodeName&&(node2.name=nodeName),this.expect(tok.jsxTagEnd),this.finishNode(node2,nodeName?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(startPos,startLoc){let node2=this.startNodeAt(startPos,startLoc),children=[],openingElement=this.jsx_parseOpeningElementAt(startPos,startLoc),closingElement=null;if(!openingElement.selfClosing){contents:for(;;)switch(this.type){case tok.jsxTagStart:if(startPos=this.start,startLoc=this.startLoc,this.next(),this.eat(tt.slash)){closingElement=this.jsx_parseClosingElementAt(startPos,startLoc);break contents}children.push(this.jsx_parseElementAt(startPos,startLoc));break;case tok.jsxText:children.push(this.parseExprAtom());break;case tt.braceL:children.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}getQualifiedJSXName(closingElement.name)!==getQualifiedJSXName(openingElement.name)&&this.raise(closingElement.start,"Expected corresponding JSX closing tag for <"+getQualifiedJSXName(openingElement.name)+">")}let fragmentOrElement=openingElement.name?"Element":"Fragment";return node2["opening"+fragmentOrElement]=openingElement,node2["closing"+fragmentOrElement]=closingElement,node2.children=children,this.type===tt.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(node2,"JSX"+fragmentOrElement)}jsx_parseText(){let node2=this.parseLiteral(this.value);return node2.type="JSXText",node2}jsx_parseElement(){let startPos=this.start,startLoc=this.startLoc;return this.next(),this.jsx_parseElementAt(startPos,startLoc)}parseExprAtom(refShortHandDefaultPos){return this.type===tok.jsxText?this.jsx_parseText():this.type===tok.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(refShortHandDefaultPos)}readToken(code2){let context=this.curContext();if(context===tc_expr)return this.jsx_readToken();if(context===tc_oTag||context===tc_cTag){if(isIdentifierStart2(code2))return this.jsx_readWord();if(code2==62)return++this.pos,this.finishToken(tok.jsxTagEnd);if((code2===34||code2===39)&&context==tc_oTag)return this.jsx_readString(code2)}return code2===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(tok.jsxTagStart)):super.readToken(code2)}updateContext(prevType){if(this.type==tt.braceL){var curContext=this.curContext();curContext==tc_oTag?this.context.push(tokContexts.b_expr):curContext==tc_expr?this.context.push(tokContexts.b_tmpl):super.updateContext(prevType),this.exprAllowed=!0}else if(this.type===tt.slash&&prevType===tok.jsxTagStart)this.context.length-=2,this.context.push(tc_cTag),this.exprAllowed=!1;else return super.updateContext(prevType)}}}}});var require_extend=__commonJS({"../../node_modules/extend/index.js"(exports2,module2){"use strict";var hasOwn2=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,defineProperty=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor,isArray2=function(arr){return typeof Array.isArray=="function"?Array.isArray(arr):toStr.call(arr)==="[object Array]"},isPlainObject2=function(obj){if(!obj||toStr.call(obj)!=="[object Object]")return!1;var hasOwnConstructor=hasOwn2.call(obj,"constructor"),hasIsPrototypeOf=obj.constructor&&obj.constructor.prototype&&hasOwn2.call(obj.constructor.prototype,"isPrototypeOf");if(obj.constructor&&!hasOwnConstructor&&!hasIsPrototypeOf)return!1;var key;for(key in obj);return typeof key>"u"||hasOwn2.call(obj,key)},setProperty=function(target,options){defineProperty&&options.name==="__proto__"?defineProperty(target,options.name,{enumerable:!0,configurable:!0,value:options.newValue,writable:!0}):target[options.name]=options.newValue},getProperty=function(obj,name2){if(name2==="__proto__")if(hasOwn2.call(obj,name2)){if(gOPD)return gOPD(obj,name2).value}else return;return obj[name2]};module2.exports=function extend3(){var options,name2,src,copy,copyIsArray,clone,target=arguments[0],i=1,length=arguments.length,deep=!1;for(typeof target=="boolean"&&(deep=target,target=arguments[1]||{},i=2),(target==null||typeof target!="object"&&typeof target!="function")&&(target={});i<length;++i)if(options=arguments[i],options!=null)for(name2 in options)src=getProperty(target,name2),copy=getProperty(options,name2),target!==copy&&(deep&&copy&&(isPlainObject2(copy)||(copyIsArray=isArray2(copy)))?(copyIsArray?(copyIsArray=!1,clone=src&&isArray2(src)?src:[]):clone=src&&isPlainObject2(src)?src:{},setProperty(target,{name:name2,newValue:extend3(deep,clone,copy)})):typeof copy<"u"&&setProperty(target,{name:name2,newValue:copy}));return target}}});var require_inline_style_parser=__commonJS({"../../node_modules/inline-style-parser/index.js"(exports2,module2){"use strict";var COMMENT_REGEX=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,NEWLINE_REGEX=/\n/g,WHITESPACE_REGEX=/^\s*/,PROPERTY_REGEX=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,COLON_REGEX=/^:\s*/,VALUE_REGEX=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,SEMICOLON_REGEX=/^[;\s]*/,TRIM_REGEX=/^\s+|\s+$/g,NEWLINE=`
12
- `,FORWARD_SLASH="/",ASTERISK="*",EMPTY_STRING="",TYPE_COMMENT="comment",TYPE_DECLARATION="declaration";module2.exports=function(style,options){if(typeof style!="string")throw new TypeError("First argument must be a string");if(!style)return[];options=options||{};var lineno=1,column=1;function updatePosition(str){var lines=str.match(NEWLINE_REGEX);lines&&(lineno+=lines.length);var i=str.lastIndexOf(NEWLINE);column=~i?str.length-i:column+str.length}function position4(){var start2={line:lineno,column};return function(node2){return node2.position=new Position3(start2),whitespace2(),node2}}function Position3(start2){this.start=start2,this.end={line:lineno,column},this.source=options.source}Position3.prototype.content=style;var errorsList=[];function error(msg){var err=new Error(options.source+":"+lineno+":"+column+": "+msg);if(err.reason=msg,err.filename=options.source,err.line=lineno,err.column=column,err.source=style,options.silent)errorsList.push(err);else throw err}function match(re2){var m=re2.exec(style);if(m){var str=m[0];return updatePosition(str),style=style.slice(str.length),m}}function whitespace2(){match(WHITESPACE_REGEX)}function comments(rules){var c;for(rules=rules||[];c=comment2();)c!==!1&&rules.push(c);return rules}function comment2(){var pos=position4();if(!(FORWARD_SLASH!=style.charAt(0)||ASTERISK!=style.charAt(1))){for(var i=2;EMPTY_STRING!=style.charAt(i)&&(ASTERISK!=style.charAt(i)||FORWARD_SLASH!=style.charAt(i+1));)++i;if(i+=2,EMPTY_STRING===style.charAt(i-1))return error("End of comment missing");var str=style.slice(2,i-2);return column+=2,updatePosition(str),style=style.slice(i),column+=2,pos({type:TYPE_COMMENT,comment:str})}}function declaration(){var pos=position4(),prop=match(PROPERTY_REGEX);if(prop){if(comment2(),!match(COLON_REGEX))return error("property missing ':'");var val=match(VALUE_REGEX),ret=pos({type:TYPE_DECLARATION,property:trim(prop[0].replace(COMMENT_REGEX,EMPTY_STRING)),value:val?trim(val[0].replace(COMMENT_REGEX,EMPTY_STRING)):EMPTY_STRING});return match(SEMICOLON_REGEX),ret}}function declarations(){var decls=[];comments(decls);for(var decl;decl=declaration();)decl!==!1&&(decls.push(decl),comments(decls));return decls}return whitespace2(),declarations()};function trim(str){return str?str.replace(TRIM_REGEX,EMPTY_STRING):EMPTY_STRING}}});var require_style_to_object=__commonJS({"../../node_modules/style-to-object/index.js"(exports2,module2){"use strict";var parse4=require_inline_style_parser();function StyleToObject2(style,iterator){var output=null;if(!style||typeof style!="string")return output;for(var declaration,declarations=parse4(style),hasIterator=typeof iterator=="function",property,value,i=0,len=declarations.length;i<len;i++)declaration=declarations[i],property=declaration.property,value=declaration.value,hasIterator?iterator(property,value,declaration):value&&(output||(output={}),output[property]=value);return output}module2.exports=StyleToObject2;module2.exports.default=StyleToObject2}});var mdx_loader_exports={};__export(mdx_loader_exports,{default:()=>mdx_loader_default});module.exports=__toCommonJS(mdx_loader_exports);function stringifyPosition(value){return!value||typeof value!="object"?"":"position"in value||"type"in value?position(value.position):"start"in value||"end"in value?position(value):"line"in value||"column"in value?point(value):""}function point(point5){return index(point5&&point5.line)+":"+index(point5&&point5.column)}function position(pos){return point(pos&&pos.start)+"-"+point(pos&&pos.end)}function index(value){return value&&typeof value=="number"?value:1}var VFileMessage=class extends Error{constructor(causeOrReason,optionsOrParentOrPlace,origin){super(),typeof optionsOrParentOrPlace=="string"&&(origin=optionsOrParentOrPlace,optionsOrParentOrPlace=void 0);let reason="",options={},legacyCause=!1;if(optionsOrParentOrPlace&&("line"in optionsOrParentOrPlace&&"column"in optionsOrParentOrPlace?options={place:optionsOrParentOrPlace}:"start"in optionsOrParentOrPlace&&"end"in optionsOrParentOrPlace?options={place:optionsOrParentOrPlace}:"type"in optionsOrParentOrPlace?options={ancestors:[optionsOrParentOrPlace],place:optionsOrParentOrPlace.position}:options={...optionsOrParentOrPlace}),typeof causeOrReason=="string"?reason=causeOrReason:!options.cause&&causeOrReason&&(legacyCause=!0,reason=causeOrReason.message,options.cause=causeOrReason),!options.ruleId&&!options.source&&typeof origin=="string"){let index2=origin.indexOf(":");index2===-1?options.ruleId=origin:(options.source=origin.slice(0,index2),options.ruleId=origin.slice(index2+1))}if(!options.place&&options.ancestors&&options.ancestors){let parent=options.ancestors[options.ancestors.length-1];parent&&(options.place=parent.position)}let start2=options.place&&"start"in options.place?options.place.start:options.place;this.ancestors=options.ancestors||void 0,this.cause=options.cause||void 0,this.column=start2?start2.column:void 0,this.fatal=void 0,this.file,this.message=reason,this.line=start2?start2.line:void 0,this.name=stringifyPosition(options.place)||"1:1",this.place=options.place||void 0,this.reason=this.message,this.ruleId=options.ruleId||void 0,this.source=options.source||void 0,this.stack=legacyCause&&options.cause&&typeof options.cause.stack=="string"?options.cause.stack:"",this.actual,this.expected,this.note,this.url}};VFileMessage.prototype.file="";VFileMessage.prototype.name="";VFileMessage.prototype.reason="";VFileMessage.prototype.message="";VFileMessage.prototype.stack="";VFileMessage.prototype.column=void 0;VFileMessage.prototype.line=void 0;VFileMessage.prototype.ancestors=void 0;VFileMessage.prototype.cause=void 0;VFileMessage.prototype.fatal=void 0;VFileMessage.prototype.place=void 0;VFileMessage.prototype.ruleId=void 0;VFileMessage.prototype.source=void 0;var import_node_path=__toESM(require("path"),1);var import_node_process=__toESM(require("process"),1);var import_node_url=require("url");function isUrl(fileUrlOrPath){return!!(fileUrlOrPath!==null&&typeof fileUrlOrPath=="object"&&"href"in fileUrlOrPath&&fileUrlOrPath.href&&"protocol"in fileUrlOrPath&&fileUrlOrPath.protocol&&fileUrlOrPath.auth===void 0)}var order=["history","path","basename","stem","extname","dirname"],VFile=class{constructor(value){let options;value?isUrl(value)?options={path:value}:typeof value=="string"||isUint8Array(value)?options={value}:options=value:options={},this.cwd=import_node_process.default.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let index2=-1;for(;++index2<order.length;){let prop2=order[index2];prop2 in options&&options[prop2]!==void 0&&options[prop2]!==null&&(this[prop2]=prop2==="history"?[...options[prop2]]:options[prop2])}let prop;for(prop in options)order.includes(prop)||(this[prop]=options[prop])}get basename(){return typeof this.path=="string"?import_node_path.default.basename(this.path):void 0}set basename(basename){assertNonEmpty(basename,"basename"),assertPart(basename,"basename"),this.path=import_node_path.default.join(this.dirname||"",basename)}get dirname(){return typeof this.path=="string"?import_node_path.default.dirname(this.path):void 0}set dirname(dirname){assertPath(this.basename,"dirname"),this.path=import_node_path.default.join(dirname||"",this.basename)}get extname(){return typeof this.path=="string"?import_node_path.default.extname(this.path):void 0}set extname(extname){if(assertPart(extname,"extname"),assertPath(this.dirname,"extname"),extname){if(extname.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(extname.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=import_node_path.default.join(this.dirname,this.stem+(extname||""))}get path(){return this.history[this.history.length-1]}set path(path){isUrl(path)&&(path=(0,import_node_url.fileURLToPath)(path)),assertNonEmpty(path,"path"),this.path!==path&&this.history.push(path)}get stem(){return typeof this.path=="string"?import_node_path.default.basename(this.path,this.extname):void 0}set stem(stem){assertNonEmpty(stem,"stem"),assertPart(stem,"stem"),this.path=import_node_path.default.join(this.dirname||"",stem+(this.extname||""))}fail(causeOrReason,optionsOrParentOrPlace,origin){let message=this.message(causeOrReason,optionsOrParentOrPlace,origin);throw message.fatal=!0,message}info(causeOrReason,optionsOrParentOrPlace,origin){let message=this.message(causeOrReason,optionsOrParentOrPlace,origin);return message.fatal=void 0,message}message(causeOrReason,optionsOrParentOrPlace,origin){let message=new VFileMessage(causeOrReason,optionsOrParentOrPlace,origin);return this.path&&(message.name=this.path+":"+message.name,message.file=this.path),message.fatal=!1,this.messages.push(message),message}toString(encoding){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(encoding||void 0).decode(this.value)}};function assertPart(part,name2){if(part&&part.includes(import_node_path.default.sep))throw new Error("`"+name2+"` cannot be a path: did not expect `"+import_node_path.default.sep+"`")}function assertNonEmpty(part,name2){if(!part)throw new Error("`"+name2+"` cannot be empty")}function assertPath(path,name2){if(!path)throw new Error("Setting `"+name2+"` requires `path` to be set too")}function isUint8Array(value){return!!(value&&typeof value=="object"&&"byteLength"in value&&"byteOffset"in value)}var markdownExtension=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"],markdown_extensions_default=markdownExtension;var md=markdown_extensions_default.map(function(d){return"."+d});function resolveFileAndOptions(vfileCompatible,options){let file=looksLikeAVFile(vfileCompatible)?vfileCompatible:new VFile(vfileCompatible),{format,...rest}=options||{};return{file,options:{format:format==="md"||format==="mdx"?format:file.extname&&(rest.mdExtensions||md).includes(file.extname)?"md":"mdx",...rest}}}function looksLikeAVFile(value){return!!(value&&typeof value=="object"&&"message"in value&&"messages"in value)}function mdxExpressionFromMarkdown(){return{enter:{mdxFlowExpression:enterMdxFlowExpression,mdxTextExpression:enterMdxTextExpression},exit:{mdxFlowExpression:exitMdxExpression,mdxFlowExpressionChunk:exitMdxExpressionData,mdxTextExpression:exitMdxExpression,mdxTextExpressionChunk:exitMdxExpressionData}}}function mdxExpressionToMarkdown(){return{handlers:{mdxFlowExpression:handleMdxExpression,mdxTextExpression:handleMdxExpression},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function enterMdxFlowExpression(token){this.enter({type:"mdxFlowExpression",value:""},token),this.buffer()}function enterMdxTextExpression(token){this.enter({type:"mdxTextExpression",value:""},token),this.buffer()}function exitMdxExpression(token){let value=this.resume(),estree=token.estree,node2=this.stack[this.stack.length-1];node2.type==="mdxFlowExpression"||node2.type,this.exit(token),node2.value=value,estree&&(node2.data={estree})}function exitMdxExpressionData(token){this.config.enter.data.call(this,token),this.config.exit.data.call(this,token)}function handleMdxExpression(node2){return"{"+(node2.value||"")+"}"}function ccount(value,character){let source=String(value);if(typeof character!="string")throw new TypeError("Expected character");let count=0,index2=source.indexOf(character);for(;index2!==-1;)count++,index2=source.indexOf(character,index2+character.length);return count}var characterEntitiesLegacy=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];var characterReferenceInvalid={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};function isDecimal(character){let code2=typeof character=="string"?character.charCodeAt(0):character;return code2>=48&&code2<=57}function isHexadecimal(character){let code2=typeof character=="string"?character.charCodeAt(0):character;return code2>=97&&code2<=102||code2>=65&&code2<=70||code2>=48&&code2<=57}function isAlphabetical(character){let code2=typeof character=="string"?character.charCodeAt(0):character;return code2>=97&&code2<=122||code2>=65&&code2<=90}function isAlphanumerical(character){return isAlphabetical(character)||isDecimal(character)}var characterEntities={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
12
+ `,FORWARD_SLASH="/",ASTERISK="*",EMPTY_STRING="",TYPE_COMMENT="comment",TYPE_DECLARATION="declaration";module2.exports=function(style,options){if(typeof style!="string")throw new TypeError("First argument must be a string");if(!style)return[];options=options||{};var lineno=1,column=1;function updatePosition(str){var lines=str.match(NEWLINE_REGEX);lines&&(lineno+=lines.length);var i=str.lastIndexOf(NEWLINE);column=~i?str.length-i:column+str.length}function position4(){var start2={line:lineno,column};return function(node2){return node2.position=new Position3(start2),whitespace2(),node2}}function Position3(start2){this.start=start2,this.end={line:lineno,column},this.source=options.source}Position3.prototype.content=style;var errorsList=[];function error(msg){var err=new Error(options.source+":"+lineno+":"+column+": "+msg);if(err.reason=msg,err.filename=options.source,err.line=lineno,err.column=column,err.source=style,options.silent)errorsList.push(err);else throw err}function match(re2){var m=re2.exec(style);if(m){var str=m[0];return updatePosition(str),style=style.slice(str.length),m}}function whitespace2(){match(WHITESPACE_REGEX)}function comments(rules){var c;for(rules=rules||[];c=comment2();)c!==!1&&rules.push(c);return rules}function comment2(){var pos=position4();if(!(FORWARD_SLASH!=style.charAt(0)||ASTERISK!=style.charAt(1))){for(var i=2;EMPTY_STRING!=style.charAt(i)&&(ASTERISK!=style.charAt(i)||FORWARD_SLASH!=style.charAt(i+1));)++i;if(i+=2,EMPTY_STRING===style.charAt(i-1))return error("End of comment missing");var str=style.slice(2,i-2);return column+=2,updatePosition(str),style=style.slice(i),column+=2,pos({type:TYPE_COMMENT,comment:str})}}function declaration(){var pos=position4(),prop=match(PROPERTY_REGEX);if(prop){if(comment2(),!match(COLON_REGEX))return error("property missing ':'");var val=match(VALUE_REGEX),ret=pos({type:TYPE_DECLARATION,property:trim(prop[0].replace(COMMENT_REGEX,EMPTY_STRING)),value:val?trim(val[0].replace(COMMENT_REGEX,EMPTY_STRING)):EMPTY_STRING});return match(SEMICOLON_REGEX),ret}}function declarations(){var decls=[];comments(decls);for(var decl;decl=declaration();)decl!==!1&&(decls.push(decl),comments(decls));return decls}return whitespace2(),declarations()};function trim(str){return str?str.replace(TRIM_REGEX,EMPTY_STRING):EMPTY_STRING}}});var require_style_to_object=__commonJS({"../../node_modules/style-to-object/index.js"(exports2,module2){"use strict";var parse4=require_inline_style_parser();function StyleToObject2(style,iterator){var output=null;if(!style||typeof style!="string")return output;for(var declaration,declarations=parse4(style),hasIterator=typeof iterator=="function",property,value,i=0,len=declarations.length;i<len;i++)declaration=declarations[i],property=declaration.property,value=declaration.value,hasIterator?iterator(property,value,declaration):value&&(output||(output={}),output[property]=value);return output}module2.exports=StyleToObject2;module2.exports.default=StyleToObject2}});var mdx_loader_exports={};__export(mdx_loader_exports,{default:()=>mdx_loader_default});module.exports=__toCommonJS(mdx_loader_exports);function stringifyPosition(value){return!value||typeof value!="object"?"":"position"in value||"type"in value?position(value.position):"start"in value||"end"in value?position(value):"line"in value||"column"in value?point(value):""}function point(point5){return index(point5&&point5.line)+":"+index(point5&&point5.column)}function position(pos){return point(pos&&pos.start)+"-"+point(pos&&pos.end)}function index(value){return value&&typeof value=="number"?value:1}var VFileMessage=class extends Error{constructor(causeOrReason,optionsOrParentOrPlace,origin){super(),typeof optionsOrParentOrPlace=="string"&&(origin=optionsOrParentOrPlace,optionsOrParentOrPlace=void 0);let reason="",options={},legacyCause=!1;if(optionsOrParentOrPlace&&("line"in optionsOrParentOrPlace&&"column"in optionsOrParentOrPlace?options={place:optionsOrParentOrPlace}:"start"in optionsOrParentOrPlace&&"end"in optionsOrParentOrPlace?options={place:optionsOrParentOrPlace}:"type"in optionsOrParentOrPlace?options={ancestors:[optionsOrParentOrPlace],place:optionsOrParentOrPlace.position}:options={...optionsOrParentOrPlace}),typeof causeOrReason=="string"?reason=causeOrReason:!options.cause&&causeOrReason&&(legacyCause=!0,reason=causeOrReason.message,options.cause=causeOrReason),!options.ruleId&&!options.source&&typeof origin=="string"){let index2=origin.indexOf(":");index2===-1?options.ruleId=origin:(options.source=origin.slice(0,index2),options.ruleId=origin.slice(index2+1))}if(!options.place&&options.ancestors&&options.ancestors){let parent=options.ancestors[options.ancestors.length-1];parent&&(options.place=parent.position)}let start2=options.place&&"start"in options.place?options.place.start:options.place;this.ancestors=options.ancestors||void 0,this.cause=options.cause||void 0,this.column=start2?start2.column:void 0,this.fatal=void 0,this.file,this.message=reason,this.line=start2?start2.line:void 0,this.name=stringifyPosition(options.place)||"1:1",this.place=options.place||void 0,this.reason=this.message,this.ruleId=options.ruleId||void 0,this.source=options.source||void 0,this.stack=legacyCause&&options.cause&&typeof options.cause.stack=="string"?options.cause.stack:"",this.actual,this.expected,this.note,this.url}};VFileMessage.prototype.file="";VFileMessage.prototype.name="";VFileMessage.prototype.reason="";VFileMessage.prototype.message="";VFileMessage.prototype.stack="";VFileMessage.prototype.column=void 0;VFileMessage.prototype.line=void 0;VFileMessage.prototype.ancestors=void 0;VFileMessage.prototype.cause=void 0;VFileMessage.prototype.fatal=void 0;VFileMessage.prototype.place=void 0;VFileMessage.prototype.ruleId=void 0;VFileMessage.prototype.source=void 0;var import_node_path=__toESM(require("path"),1);var import_node_process=__toESM(require("process"),1);var import_node_url=require("url");function isUrl(fileUrlOrPath){return!!(fileUrlOrPath!==null&&typeof fileUrlOrPath=="object"&&"href"in fileUrlOrPath&&fileUrlOrPath.href&&"protocol"in fileUrlOrPath&&fileUrlOrPath.protocol&&fileUrlOrPath.auth===void 0)}var order=["history","path","basename","stem","extname","dirname"],VFile=class{constructor(value){let options;value?isUrl(value)?options={path:value}:typeof value=="string"||isUint8Array(value)?options={value}:options=value:options={},this.cwd="cwd"in options?"":import_node_process.default.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let index2=-1;for(;++index2<order.length;){let field2=order[index2];field2 in options&&options[field2]!==void 0&&options[field2]!==null&&(this[field2]=field2==="history"?[...options[field2]]:options[field2])}let field;for(field in options)order.includes(field)||(this[field]=options[field])}get basename(){return typeof this.path=="string"?import_node_path.default.basename(this.path):void 0}set basename(basename){assertNonEmpty(basename,"basename"),assertPart(basename,"basename"),this.path=import_node_path.default.join(this.dirname||"",basename)}get dirname(){return typeof this.path=="string"?import_node_path.default.dirname(this.path):void 0}set dirname(dirname){assertPath(this.basename,"dirname"),this.path=import_node_path.default.join(dirname||"",this.basename)}get extname(){return typeof this.path=="string"?import_node_path.default.extname(this.path):void 0}set extname(extname){if(assertPart(extname,"extname"),assertPath(this.dirname,"extname"),extname){if(extname.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(extname.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=import_node_path.default.join(this.dirname,this.stem+(extname||""))}get path(){return this.history[this.history.length-1]}set path(path){isUrl(path)&&(path=(0,import_node_url.fileURLToPath)(path)),assertNonEmpty(path,"path"),this.path!==path&&this.history.push(path)}get stem(){return typeof this.path=="string"?import_node_path.default.basename(this.path,this.extname):void 0}set stem(stem){assertNonEmpty(stem,"stem"),assertPart(stem,"stem"),this.path=import_node_path.default.join(this.dirname||"",stem+(this.extname||""))}fail(causeOrReason,optionsOrParentOrPlace,origin){let message=this.message(causeOrReason,optionsOrParentOrPlace,origin);throw message.fatal=!0,message}info(causeOrReason,optionsOrParentOrPlace,origin){let message=this.message(causeOrReason,optionsOrParentOrPlace,origin);return message.fatal=void 0,message}message(causeOrReason,optionsOrParentOrPlace,origin){let message=new VFileMessage(causeOrReason,optionsOrParentOrPlace,origin);return this.path&&(message.name=this.path+":"+message.name,message.file=this.path),message.fatal=!1,this.messages.push(message),message}toString(encoding){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(encoding||void 0).decode(this.value)}};function assertPart(part,name2){if(part&&part.includes(import_node_path.default.sep))throw new Error("`"+name2+"` cannot be a path: did not expect `"+import_node_path.default.sep+"`")}function assertNonEmpty(part,name2){if(!part)throw new Error("`"+name2+"` cannot be empty")}function assertPath(path,name2){if(!path)throw new Error("Setting `"+name2+"` requires `path` to be set too")}function isUint8Array(value){return!!(value&&typeof value=="object"&&"byteLength"in value&&"byteOffset"in value)}var markdownExtension=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"],markdown_extensions_default=markdownExtension;var md=markdown_extensions_default.map(function(d){return"."+d});function resolveFileAndOptions(vfileCompatible,options){let file=looksLikeAVFile(vfileCompatible)?vfileCompatible:new VFile(vfileCompatible),{format,...rest}=options||{};return{file,options:{format:format==="md"||format==="mdx"?format:file.extname&&(rest.mdExtensions||md).includes(file.extname)?"md":"mdx",...rest}}}function looksLikeAVFile(value){return!!(value&&typeof value=="object"&&"message"in value&&"messages"in value)}function mdxExpressionFromMarkdown(){return{enter:{mdxFlowExpression:enterMdxFlowExpression,mdxTextExpression:enterMdxTextExpression},exit:{mdxFlowExpression:exitMdxExpression,mdxFlowExpressionChunk:exitMdxExpressionData,mdxTextExpression:exitMdxExpression,mdxTextExpressionChunk:exitMdxExpressionData}}}function mdxExpressionToMarkdown(){return{handlers:{mdxFlowExpression:handleMdxExpression,mdxTextExpression:handleMdxExpression},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function enterMdxFlowExpression(token){this.enter({type:"mdxFlowExpression",value:""},token),this.buffer()}function enterMdxTextExpression(token){this.enter({type:"mdxTextExpression",value:""},token),this.buffer()}function exitMdxExpression(token){let value=this.resume(),estree=token.estree,node2=this.stack[this.stack.length-1];node2.type==="mdxFlowExpression"||node2.type,this.exit(token),node2.value=value,estree&&(node2.data={estree})}function exitMdxExpressionData(token){this.config.enter.data.call(this,token),this.config.exit.data.call(this,token)}function handleMdxExpression(node2){return"{"+(node2.value||"")+"}"}function ccount(value,character){let source=String(value);if(typeof character!="string")throw new TypeError("Expected character");let count=0,index2=source.indexOf(character);for(;index2!==-1;)count++,index2=source.indexOf(character,index2+character.length);return count}var characterEntitiesLegacy=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];var characterReferenceInvalid={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};function isDecimal(character){let code2=typeof character=="string"?character.charCodeAt(0):character;return code2>=48&&code2<=57}function isHexadecimal(character){let code2=typeof character=="string"?character.charCodeAt(0):character;return code2>=97&&code2<=102||code2>=65&&code2<=70||code2>=48&&code2<=57}function isAlphabetical(character){let code2=typeof character=="string"?character.charCodeAt(0):character;return code2>=97&&code2<=122||code2>=65&&code2<=90}function isAlphanumerical(character){return isAlphabetical(character)||isDecimal(character)}var characterEntities={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
13
13
  `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var own={}.hasOwnProperty;function decodeNamedCharacterReference(value){return own.call(characterEntities,value)?characterEntities[value]:!1}var fromCharCode=String.fromCharCode,messages=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function parseEntities(value,options={}){let additional=typeof options.additional=="string"?options.additional.charCodeAt(0):options.additional,result=[],index2=0,lines=-1,queue="",point5,indent2;options.position&&("start"in options.position||"indent"in options.position?(indent2=options.position.indent,point5=options.position.start):point5=options.position);let line=(point5?point5.line:0)||1,column=(point5?point5.column:0)||1,previous2=now(),character;for(index2--;++index2<=value.length;)if(character===10&&(column=(indent2?indent2[lines]:0)||1),character=value.charCodeAt(index2),character===38){let following=value.charCodeAt(index2+1);if(following===9||following===10||following===12||following===32||following===38||following===60||Number.isNaN(following)||additional&&following===additional){queue+=fromCharCode(character),column++;continue}let start2=index2+1,begin=start2,end=start2,type;if(following===35){end=++begin;let following2=value.charCodeAt(end);following2===88||following2===120?(type="hexadecimal",end=++begin):type="decimal"}else type="named";let characterReferenceCharacters="",characterReference2="",characters="",test=type==="named"?isAlphanumerical:type==="decimal"?isDecimal:isHexadecimal;for(end--;++end<=value.length;){let following2=value.charCodeAt(end);if(!test(following2))break;characters+=fromCharCode(following2),type==="named"&&characterEntitiesLegacy.includes(characters)&&(characterReferenceCharacters=characters,characterReference2=decodeNamedCharacterReference(characters))}let terminated=value.charCodeAt(end)===59;if(terminated){end++;let namedReference=type==="named"?decodeNamedCharacterReference(characters):!1;namedReference&&(characterReferenceCharacters=characters,characterReference2=namedReference)}let diff=1+end-start2,reference="";if(!(!terminated&&options.nonTerminated===!1))if(!characters)type!=="named"&&warning(4,diff);else if(type==="named"){if(terminated&&!characterReference2)warning(5,1);else if(characterReferenceCharacters!==characters&&(end=begin+characterReferenceCharacters.length,diff=1+end-begin,terminated=!1),!terminated){let reason=characterReferenceCharacters?1:3;if(options.attribute){let following2=value.charCodeAt(end);following2===61?(warning(reason,diff),characterReference2=""):isAlphanumerical(following2)?characterReference2="":warning(reason,diff)}else warning(reason,diff)}reference=characterReference2}else{terminated||warning(2,diff);let referenceCode=Number.parseInt(characters,type==="hexadecimal"?16:10);if(prohibited(referenceCode))warning(7,diff),reference=fromCharCode(65533);else if(referenceCode in characterReferenceInvalid)warning(6,diff),reference=characterReferenceInvalid[referenceCode];else{let output="";disallowed(referenceCode)&&warning(6,diff),referenceCode>65535&&(referenceCode-=65536,output+=fromCharCode(referenceCode>>>10|55296),referenceCode=56320|referenceCode&1023),reference=output+fromCharCode(referenceCode)}}if(reference){flush(),previous2=now(),index2=end-1,column+=end-start2+1,result.push(reference);let next=now();next.offset++,options.reference&&options.reference.call(options.referenceContext,reference,{start:previous2,end:next},value.slice(start2-1,end)),previous2=next}else characters=value.slice(start2-1,end),queue+=characters,column+=characters.length,index2=end-1}else character===10&&(line++,lines++,column=0),Number.isNaN(character)?flush():(queue+=fromCharCode(character),column++);return result.join("");function now(){return{line,column,offset:index2+((point5?point5.offset:0)||0)}}function warning(code2,offset2){let position4;options.warning&&(position4=now(),position4.column+=offset2,position4.offset+=offset2,options.warning.call(options.warningContext,messages[code2],position4,code2))}function flush(){queue&&(result.push(queue),options.text&&options.text.call(options.textContext,queue,{start:previous2,end:now()}),queue="")}}function prohibited(code2){return code2>=55296&&code2<=57343||code2>1114111}function disallowed(code2){return code2>=1&&code2<=8||code2===11||code2>=13&&code2<=31||code2>=127&&code2<=159||code2>=64976&&code2<=65007||(code2&65535)===65535||(code2&65535)===65534}function core(value,options){if(value=value.replace(options.subset?charactersToExpression(options.subset):/["&'<>`]/g,basic),options.subset||options.escapeOnly)return value;return value.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,surrogate).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,basic);function surrogate(pair,index2,all3){return options.format((pair.charCodeAt(0)-55296)*1024+pair.charCodeAt(1)-56320+65536,all3.charCodeAt(index2+2),options)}function basic(character,index2,all3){return options.format(character.charCodeAt(0),all3.charCodeAt(index2+1),options)}}function charactersToExpression(subset){let groups=[],index2=-1;for(;++index2<subset.length;)groups.push(subset[index2].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+groups.join("|")+")","g")}function formatBasic(code2){return"&#x"+code2.toString(16).toUpperCase()+";"}function stringifyEntitiesLight(value,options){return core(value,Object.assign({format:formatBasic},options))}var indent=" ";function mdxJsxFromMarkdown(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:enterMdxJsxTag,mdxJsxFlowTagClosingMarker:enterMdxJsxTagClosingMarker,mdxJsxFlowTagAttribute:enterMdxJsxTagAttribute,mdxJsxFlowTagExpressionAttribute:enterMdxJsxTagExpressionAttribute,mdxJsxFlowTagAttributeValueLiteral:buffer,mdxJsxFlowTagAttributeValueExpression:buffer,mdxJsxFlowTagSelfClosingMarker:enterMdxJsxTagSelfClosingMarker,mdxJsxTextTag:enterMdxJsxTag,mdxJsxTextTagClosingMarker:enterMdxJsxTagClosingMarker,mdxJsxTextTagAttribute:enterMdxJsxTagAttribute,mdxJsxTextTagExpressionAttribute:enterMdxJsxTagExpressionAttribute,mdxJsxTextTagAttributeValueLiteral:buffer,mdxJsxTextTagAttributeValueExpression:buffer,mdxJsxTextTagSelfClosingMarker:enterMdxJsxTagSelfClosingMarker},exit:{mdxJsxFlowTagClosingMarker:exitMdxJsxTagClosingMarker,mdxJsxFlowTagNamePrimary:exitMdxJsxTagNamePrimary,mdxJsxFlowTagNameMember:exitMdxJsxTagNameMember,mdxJsxFlowTagNameLocal:exitMdxJsxTagNameLocal,mdxJsxFlowTagExpressionAttribute:exitMdxJsxTagExpressionAttribute,mdxJsxFlowTagExpressionAttributeValue:data2,mdxJsxFlowTagAttributeNamePrimary:exitMdxJsxTagAttributeNamePrimary,mdxJsxFlowTagAttributeNameLocal:exitMdxJsxTagAttributeNameLocal,mdxJsxFlowTagAttributeValueLiteral:exitMdxJsxTagAttributeValueLiteral,mdxJsxFlowTagAttributeValueLiteralValue:data2,mdxJsxFlowTagAttributeValueExpression:exitMdxJsxTagAttributeValueExpression,mdxJsxFlowTagAttributeValueExpressionValue:data2,mdxJsxFlowTagSelfClosingMarker:exitMdxJsxTagSelfClosingMarker,mdxJsxFlowTag:exitMdxJsxTag,mdxJsxTextTagClosingMarker:exitMdxJsxTagClosingMarker,mdxJsxTextTagNamePrimary:exitMdxJsxTagNamePrimary,mdxJsxTextTagNameMember:exitMdxJsxTagNameMember,mdxJsxTextTagNameLocal:exitMdxJsxTagNameLocal,mdxJsxTextTagExpressionAttribute:exitMdxJsxTagExpressionAttribute,mdxJsxTextTagExpressionAttributeValue:data2,mdxJsxTextTagAttributeNamePrimary:exitMdxJsxTagAttributeNamePrimary,mdxJsxTextTagAttributeNameLocal:exitMdxJsxTagAttributeNameLocal,mdxJsxTextTagAttributeValueLiteral:exitMdxJsxTagAttributeValueLiteral,mdxJsxTextTagAttributeValueLiteralValue:data2,mdxJsxTextTagAttributeValueExpression:exitMdxJsxTagAttributeValueExpression,mdxJsxTextTagAttributeValueExpressionValue:data2,mdxJsxTextTagSelfClosingMarker:exitMdxJsxTagSelfClosingMarker,mdxJsxTextTag:exitMdxJsxTag}};function buffer(){this.buffer()}function data2(token){this.config.enter.data.call(this,token),this.config.exit.data.call(this,token)}function enterMdxJsxTag(token){let tag={name:void 0,attributes:[],close:!1,selfClosing:!1,start:token.start,end:token.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=tag,this.buffer()}function enterMdxJsxTagClosingMarker(token){let stack=this.data.mdxJsxTagStack;if(stack.length===0)throw new VFileMessage("Unexpected closing slash `/` in tag, expected an open tag first",{start:token.start,end:token.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function enterMdxJsxTagAnyAttribute(token){let tag=this.data.mdxJsxTag;if(tag.close)throw new VFileMessage("Unexpected attribute in closing tag, expected the end of the tag",{start:token.start,end:token.end},"mdast-util-mdx-jsx:unexpected-attribute")}function enterMdxJsxTagSelfClosingMarker(token){let tag=this.data.mdxJsxTag;if(tag.close)throw new VFileMessage("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:token.start,end:token.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function exitMdxJsxTagClosingMarker(){let tag=this.data.mdxJsxTag;tag.close=!0}function exitMdxJsxTagNamePrimary(token){let tag=this.data.mdxJsxTag;tag.name=this.sliceSerialize(token)}function exitMdxJsxTagNameMember(token){let tag=this.data.mdxJsxTag;tag.name+="."+this.sliceSerialize(token)}function exitMdxJsxTagNameLocal(token){let tag=this.data.mdxJsxTag;tag.name+=":"+this.sliceSerialize(token)}function enterMdxJsxTagAttribute(token){let tag=this.data.mdxJsxTag;enterMdxJsxTagAnyAttribute.call(this,token),tag.attributes.push({type:"mdxJsxAttribute",name:"",value:null})}function enterMdxJsxTagExpressionAttribute(token){let tag=this.data.mdxJsxTag;enterMdxJsxTagAnyAttribute.call(this,token),tag.attributes.push({type:"mdxJsxExpressionAttribute",value:""}),this.buffer()}function exitMdxJsxTagExpressionAttribute(token){let tag=this.data.mdxJsxTag;let tail=tag.attributes[tag.attributes.length-1];tail.type;let estree=token.estree;tail.value=this.resume(),estree&&(tail.data={estree})}function exitMdxJsxTagAttributeNamePrimary(token){let tag=this.data.mdxJsxTag;let node2=tag.attributes[tag.attributes.length-1];node2.type,node2.name=this.sliceSerialize(token)}function exitMdxJsxTagAttributeNameLocal(token){let tag=this.data.mdxJsxTag;let node2=tag.attributes[tag.attributes.length-1];node2.type,node2.name+=":"+this.sliceSerialize(token)}function exitMdxJsxTagAttributeValueLiteral(){let tag=this.data.mdxJsxTag;tag.attributes[tag.attributes.length-1].value=parseEntities(this.resume(),{nonTerminated:!1})}function exitMdxJsxTagAttributeValueExpression(token){let tag=this.data.mdxJsxTag;let tail=tag.attributes[tag.attributes.length-1];tail.type;let node2={type:"mdxJsxAttributeValueExpression",value:this.resume()},estree=token.estree;estree&&(node2.data={estree}),tail.value=node2}function exitMdxJsxTagSelfClosingMarker(){let tag=this.data.mdxJsxTag;tag.selfClosing=!0}function exitMdxJsxTag(token){let tag=this.data.mdxJsxTag;let stack=this.data.mdxJsxTagStack;let tail=stack[stack.length-1];if(tag.close&&tail.name!==tag.name)throw new VFileMessage("Unexpected closing tag `"+serializeAbbreviatedTag(tag)+"`, expected corresponding closing tag for `"+serializeAbbreviatedTag(tail)+"` ("+stringifyPosition(tail)+")",{start:token.start,end:token.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),tag.close?stack.pop():this.enter({type:token.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:tag.name||null,attributes:tag.attributes,children:[]},token,onErrorRightIsTag),tag.selfClosing||tag.close?this.exit(token,onErrorLeftIsTag):stack.push(tag)}function onErrorRightIsTag(closing,open){let tag=this.data.mdxJsxTag;let place=closing?" before the end of `"+closing.type+"`":"",position4=closing?{start:closing.start,end:closing.end}:void 0;throw new VFileMessage("Expected a closing tag for `"+serializeAbbreviatedTag(tag)+"` ("+stringifyPosition({start:open.start,end:open.end})+")"+place,position4,"mdast-util-mdx-jsx:end-tag-mismatch")}function onErrorLeftIsTag(a,b){let tag=this.data.mdxJsxTag;throw new VFileMessage("Expected the closing tag `"+serializeAbbreviatedTag(tag)+"` either after the end of `"+b.type+"` ("+stringifyPosition(b.end)+") or another opening tag after the start of `"+b.type+"` ("+stringifyPosition(b.start)+")",{start:a.start,end:a.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function serializeAbbreviatedTag(tag){return"<"+(tag.close?"/":"")+(tag.name||"")+">"}}function mdxJsxToMarkdown(options){let options_=options||{},quote=options_.quote||'"',quoteSmart=options_.quoteSmart||!1,tightSelfClosing=options_.tightSelfClosing||!1,printWidth=options_.printWidth||Number.POSITIVE_INFINITY,alternative=quote==='"'?"'":'"';if(quote!=='"'&&quote!=="'")throw new Error("Cannot serialize attribute values with `"+quote+"` for `options.quote`, expected `\"`, or `'`");return mdxElement.peek=peekElement,{handlers:{mdxJsxFlowElement:mdxElement,mdxJsxTextElement:mdxElement},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function mdxElement(node2,_,state,info){let flow3=node2.type==="mdxJsxFlowElement",selfClosing=node2.name?!node2.children||node2.children.length===0:!1,depth=inferDepth(state),currentIndent=createIndent(depth),trackerOneLine=state.createTracker(info),trackerMultiLine=state.createTracker(info),serializedAttributes=[],prefix=(flow3?currentIndent:"")+"<"+(node2.name||""),exit2=state.enter(node2.type);if(trackerOneLine.move(prefix),trackerMultiLine.move(prefix),node2.attributes&&node2.attributes.length>0){if(!node2.name)throw new Error("Cannot serialize fragment w/ attributes");let index2=-1;for(;++index2<node2.attributes.length;){let attribute=node2.attributes[index2],result;if(attribute.type==="mdxJsxExpressionAttribute")result="{"+(attribute.value||"")+"}";else{if(!attribute.name)throw new Error("Cannot serialize attribute w/o name");let value2=attribute.value,left=attribute.name,right="";if(value2!=null)if(typeof value2=="object")right="{"+(value2.value||"")+"}";else{let appliedQuote=quoteSmart&&ccount(value2,quote)>ccount(value2,alternative)?alternative:quote;right=appliedQuote+stringifyEntitiesLight(value2,{subset:[appliedQuote]})+appliedQuote}result=left+(right?"=":"")+right}serializedAttributes.push(result)}}let attributesOnTheirOwnLine=!1,attributesOnOneLine=serializedAttributes.join(" ");flow3&&(/\r?\n|\r/.test(attributesOnOneLine)||trackerOneLine.current().now.column+attributesOnOneLine.length+(selfClosing?tightSelfClosing?2:3:1)>printWidth)&&(attributesOnTheirOwnLine=!0);let tracker=trackerOneLine,value=prefix;if(attributesOnTheirOwnLine){tracker=trackerMultiLine;let index2=-1;for(;++index2<serializedAttributes.length;)serializedAttributes[index2]=currentIndent+indent+serializedAttributes[index2];value+=tracker.move(`
14
14
  `+serializedAttributes.join(`
15
15
  `)+`
@@ -42,7 +42,7 @@ Defaulting to 2020, but this will stop working in the future.`)),options.ecmaVer
42
42
  `});++index2<nodes.length;)index2&&result.push({type:"text",value:`
43
43
  `}),result.push(nodes[index2]);return loose&&nodes.length>0&&result.push({type:"text",value:`
44
44
  `}),result}function trimMarkdownSpaceStart(value){let index2=0,code2=value.charCodeAt(index2);for(;code2===9||code2===32;)index2++,code2=value.charCodeAt(index2);return value.slice(index2)}function toHast(tree,options){let state=createState(tree,options),node2=state.one(tree,void 0),foot=footer(state),result=Array.isArray(node2)?{type:"root",children:node2}:node2||{type:"root",children:[]};return foot&&("children"in result,result.children.push({type:"text",value:`
45
- `},foot)),result}function remarkRehype(destination,options){return destination&&"run"in destination?async function(tree,file){let hastTree=toHast(tree,options);await destination.run(hastTree,file)}:function(tree){return toHast(tree,options||destination)}}function bail(error){if(error)throw error}var import_extend=__toESM(require_extend(),1);function isPlainObject(value){if(typeof value!="object"||value===null)return!1;let prototype=Object.getPrototypeOf(value);return(prototype===null||prototype===Object.prototype||Object.getPrototypeOf(prototype)===null)&&!(Symbol.toStringTag in value)&&!(Symbol.iterator in value)}function trough(){let fns=[],pipeline={run,use};return pipeline;function run(...values){let middlewareIndex=-1,callback=values.pop();if(typeof callback!="function")throw new TypeError("Expected function as last argument, not "+callback);next(null,...values);function next(error,...output){let fn=fns[++middlewareIndex],index2=-1;if(error){callback(error);return}for(;++index2<values.length;)(output[index2]===null||output[index2]===void 0)&&(output[index2]=values[index2]);values=output,fn?wrap2(fn,next)(...output):callback(null,...output)}}function use(middelware){if(typeof middelware!="function")throw new TypeError("Expected `middelware` to be a function, not "+middelware);return fns.push(middelware),pipeline}}function wrap2(middleware,callback){let called;return wrapped;function wrapped(...parameters){let fnExpectsCallback=middleware.length>parameters.length,result;fnExpectsCallback&&parameters.push(done);try{result=middleware.apply(this,parameters)}catch(error){let exception=error;if(fnExpectsCallback&&called)throw exception;return done(exception)}fnExpectsCallback||(result instanceof Promise?result.then(then,done):result instanceof Error?done(result):then(result))}function done(error,...output){called||(called=!0,callback(error,...output))}function then(value){done(null,value)}}var CallableInstance=function(property){let proto=this.constructor.prototype,func=proto[property],apply=function(){return func.apply(apply,arguments)};Object.setPrototypeOf(apply,proto);let names=Object.getOwnPropertyNames(func);for(let p of names){let descriptor=Object.getOwnPropertyDescriptor(func,p);descriptor&&Object.defineProperty(apply,p,descriptor)}return apply};var own5={}.hasOwnProperty,Processor=class _Processor extends CallableInstance{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=trough()}copy(){let destination=new _Processor,index2=-1;for(;++index2<this.attachers.length;){let attacher=this.attachers[index2];destination.use(...attacher)}return destination.data((0,import_extend.default)(!0,{},this.namespace)),destination}data(key,value){return typeof key=="string"?arguments.length===2?(assertUnfrozen("data",this.frozen),this.namespace[key]=value,this):own5.call(this.namespace,key)&&this.namespace[key]||void 0:key?(assertUnfrozen("data",this.frozen),this.namespace=key,this):this.namespace}freeze(){if(this.frozen)return this;let self2=this;for(;++this.freezeIndex<this.attachers.length;){let[attacher,...options]=this.attachers[this.freezeIndex];if(options[0]===!1)continue;options[0]===!0&&(options[0]=void 0);let transformer=attacher.call(self2,...options);typeof transformer=="function"&&this.transformers.use(transformer)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(file){this.freeze();let realFile=vfile(file),parser=this.parser||this.Parser;return assertParser("parse",parser),parser(String(realFile),realFile)}process(file,done){let self2=this;return this.freeze(),assertParser("process",this.parser||this.Parser),assertCompiler("process",this.compiler||this.Compiler),done?executor(void 0,done):new Promise(executor);function executor(resolve,reject){let realFile=vfile(file),parseTree=self2.parse(realFile);self2.run(parseTree,realFile,function(error,tree,file2){if(error||!tree||!file2)return realDone(error);let compileTree=tree,compileResult=self2.stringify(compileTree,file2);looksLikeAValue(compileResult)?file2.value=compileResult:file2.result=compileResult,realDone(error,file2)});function realDone(error,file2){error||!file2?reject(error):resolve?resolve(file2):done(void 0,file2)}}}processSync(file){let complete=!1,result;return this.freeze(),assertParser("processSync",this.parser||this.Parser),assertCompiler("processSync",this.compiler||this.Compiler),this.process(file,realDone),assertDone("processSync","process",complete),result;function realDone(error,file2){complete=!0,bail(error),result=file2}}run(tree,file,done){assertNode(tree),this.freeze();let transformers=this.transformers;return!done&&typeof file=="function"&&(done=file,file=void 0),done?executor(void 0,done):new Promise(executor);function executor(resolve,reject){let realFile=vfile(file);transformers.run(tree,realFile,realDone);function realDone(error,outputTree,file2){let resultingTree=outputTree||tree;error?reject(error):resolve?resolve(resultingTree):done(void 0,resultingTree,file2)}}}runSync(tree,file){let complete=!1,result;return this.run(tree,file,realDone),assertDone("runSync","run",complete),result;function realDone(error,tree2){bail(error),result=tree2,complete=!0}}stringify(tree,file){this.freeze();let realFile=vfile(file),compiler2=this.compiler||this.Compiler;return assertCompiler("stringify",compiler2),assertNode(tree),compiler2(tree,realFile)}use(value,...parameters){let attachers=this.attachers,namespace=this.namespace;if(assertUnfrozen("use",this.frozen),value!=null)if(typeof value=="function")addPlugin(value,parameters);else if(typeof value=="object")Array.isArray(value)?addList(value):addPreset(value);else throw new TypeError("Expected usable value, not `"+value+"`");return this;function add(value2){if(typeof value2=="function")addPlugin(value2,[]);else if(typeof value2=="object")if(Array.isArray(value2)){let[plugin,...parameters2]=value2;addPlugin(plugin,parameters2)}else addPreset(value2);else throw new TypeError("Expected usable value, not `"+value2+"`")}function addPreset(result){if(!("plugins"in result)&&!("settings"in result))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");addList(result.plugins),result.settings&&(namespace.settings=(0,import_extend.default)(!0,namespace.settings,result.settings))}function addList(plugins){let index2=-1;if(plugins!=null)if(Array.isArray(plugins))for(;++index2<plugins.length;){let thing=plugins[index2];add(thing)}else throw new TypeError("Expected a list of plugins, not `"+plugins+"`")}function addPlugin(plugin,parameters2){let index2=-1,entryIndex=-1;for(;++index2<attachers.length;)if(attachers[index2][0]===plugin){entryIndex=index2;break}if(entryIndex===-1)attachers.push([plugin,...parameters2]);else if(parameters2.length>0){let[primary,...rest]=parameters2,currentPrimary=attachers[entryIndex][1];isPlainObject(currentPrimary)&&isPlainObject(primary)&&(primary=(0,import_extend.default)(!0,currentPrimary,primary)),attachers[entryIndex]=[plugin,primary,...rest]}}}},unified=new Processor().freeze();function assertParser(name2,value){if(typeof value!="function")throw new TypeError("Cannot `"+name2+"` without `parser`")}function assertCompiler(name2,value){if(typeof value!="function")throw new TypeError("Cannot `"+name2+"` without `compiler`")}function assertUnfrozen(name2,frozen){if(frozen)throw new Error("Cannot call `"+name2+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function assertNode(node2){if(!isPlainObject(node2)||typeof node2.type!="string")throw new TypeError("Expected node, got `"+node2+"`")}function assertDone(name2,asyncName,complete){if(!complete)throw new Error("`"+name2+"` finished async. Use `"+asyncName+"` instead")}function vfile(value){return looksLikeAVFile2(value)?value:new VFile(value)}function looksLikeAVFile2(value){return!!(value&&typeof value=="object"&&"message"in value&&"messages"in value)}function looksLikeAValue(value){return typeof value=="string"||isUint8Array2(value)}function isUint8Array2(value){return!!(value&&typeof value=="object"&&"byteLength"in value&&"byteOffset"in value)}var WalkerBase=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2}}replace(parent,prop,index2,node2){parent&&prop&&(index2!=null?parent[prop][index2]=node2:parent[prop]=node2)}remove(parent,prop,index2){parent&&prop&&(index2!=null?parent[prop].splice(index2,1):delete parent[prop])}};var SyncWalker=class extends WalkerBase{constructor(enter,leave){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2},this.enter=enter,this.leave=leave}visit(node2,parent,prop,index2){if(node2){if(this.enter){let _should_skip=this.should_skip,_should_remove=this.should_remove,_replacement=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let skipped=this.should_skip,removed=this.should_remove;if(this.should_skip=_should_skip,this.should_remove=_should_remove,this.replacement=_replacement,skipped)return node2;if(removed)return null}let key;for(key in node2){let value=node2[key];if(value&&typeof value=="object")if(Array.isArray(value)){let nodes=value;for(let i=0;i<nodes.length;i+=1){let item=nodes[i];isNode(item)&&(this.visit(item,node2,key,i)||i--)}}else isNode(value)&&this.visit(value,node2,key,null)}if(this.leave){let _replacement=this.replacement,_should_remove=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let removed=this.should_remove;if(this.replacement=_replacement,this.should_remove=_should_remove,removed)return null}}return node2}};function isNode(value){return value!==null&&typeof value=="object"&&"type"in value&&typeof value.type=="string"}function walk(ast,{enter,leave}){return new SyncWalker(enter,leave).visit(ast,null)}var WalkerBase2=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2}}replace(parent,prop,index2,node2){parent&&prop&&(index2!=null?parent[prop][index2]=node2:parent[prop]=node2)}remove(parent,prop,index2){parent&&prop&&(index2!=null?parent[prop].splice(index2,1):delete parent[prop])}};var SyncWalker2=class extends WalkerBase2{constructor(enter,leave){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2},this.enter=enter,this.leave=leave}visit(node2,parent,prop,index2){if(node2){if(this.enter){let _should_skip=this.should_skip,_should_remove=this.should_remove,_replacement=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let skipped=this.should_skip,removed=this.should_remove;if(this.should_skip=_should_skip,this.should_remove=_should_remove,this.replacement=_replacement,skipped)return node2;if(removed)return null}let key;for(key in node2){let value=node2[key];if(value&&typeof value=="object")if(Array.isArray(value)){let nodes=value;for(let i=0;i<nodes.length;i+=1){let item=nodes[i];isNode2(item)&&(this.visit(item,node2,key,i)||i--)}}else isNode2(value)&&this.visit(value,node2,key,null)}if(this.leave){let _replacement=this.replacement,_should_remove=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let removed=this.should_remove;if(this.replacement=_replacement,this.should_remove=_should_remove,removed)return null}}return node2}};function isNode2(value){return value!==null&&typeof value=="object"&&"type"in value&&typeof value.type=="string"}function walk2(ast,{enter,leave}){return new SyncWalker2(enter,leave).visit(ast,null)}function is_reference(node2,parent){if(node2.type==="MemberExpression")return!node2.computed&&is_reference(node2.object,node2);if(node2.type==="Identifier"){if(!parent)return!0;switch(parent.type){case"MemberExpression":return parent.computed||node2===parent.object;case"MethodDefinition":return parent.computed;case"PropertyDefinition":return parent.computed||node2===parent.value;case"Property":return parent.computed||node2===parent.value;case"ExportSpecifier":case"ImportSpecifier":return node2===parent.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function analyze(expression){let map=new WeakMap,globals=new Map,scope=new Scope3(null,!1),references=[],current_scope=scope;walk2(expression,{enter(node2,parent){switch(node2.type){case"Identifier":parent&&is_reference(node2,parent)&&references.push([current_scope,node2]);break;case"ImportDeclaration":node2.specifiers.forEach(specifier=>{current_scope.declarations.set(specifier.local.name,specifier)});break;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":node2.type==="FunctionDeclaration"?(node2.id&&current_scope.declarations.set(node2.id.name,node2),map.set(node2,current_scope=new Scope3(current_scope,!1))):(map.set(node2,current_scope=new Scope3(current_scope,!1)),node2.type==="FunctionExpression"&&node2.id&&current_scope.declarations.set(node2.id.name,node2)),node2.params.forEach(param=>{extract_names(param).forEach(name2=>{current_scope.declarations.set(name2,node2)})});break;case"ForStatement":case"ForInStatement":case"ForOfStatement":map.set(node2,current_scope=new Scope3(current_scope,!0));break;case"BlockStatement":map.set(node2,current_scope=new Scope3(current_scope,!0));break;case"ClassDeclaration":case"VariableDeclaration":current_scope.add_declaration(node2);break;case"CatchClause":map.set(node2,current_scope=new Scope3(current_scope,!0)),node2.param&&extract_names(node2.param).forEach(name2=>{node2.param&&current_scope.declarations.set(name2,node2.param)});break}},leave(node2){map.has(node2)&&current_scope!==null&&current_scope.parent&&(current_scope=current_scope.parent)}});for(let i=references.length-1;i>=0;--i){let[scope2,reference]=references[i];scope2.references.has(reference.name)||add_reference(scope2,reference.name),scope2.find_owner(reference.name)||globals.set(reference.name,reference)}return{map,scope,globals}}function add_reference(scope,name2){scope.references.add(name2),scope.parent&&add_reference(scope.parent,name2)}var Scope3=class{constructor(parent,block){this.parent=parent,this.block=block,this.declarations=new Map,this.initialised_declarations=new Set,this.references=new Set}add_declaration(node2){if(node2.type==="VariableDeclaration")if(node2.kind==="var"&&this.block&&this.parent)this.parent.add_declaration(node2);else{let handle_declarator=declarator=>{extract_names(declarator.id).forEach(name2=>{this.declarations.set(name2,node2),declarator.init&&this.initialised_declarations.add(name2)})};node2.declarations.forEach(handle_declarator)}else node2.id&&this.declarations.set(node2.id.name,node2)}find_owner(name2){return this.declarations.has(name2)?this:this.parent&&this.parent.find_owner(name2)}has(name2){return this.declarations.has(name2)||!!this.parent&&this.parent.has(name2)}};function extract_names(param){return extract_identifiers(param).map(node2=>node2.name)}function extract_identifiers(param,nodes=[]){switch(param.type){case"Identifier":nodes.push(param);break;case"MemberExpression":let object=param;for(;object.type==="MemberExpression";)object=object.object;nodes.push(object);break;case"ObjectPattern":let handle_prop=prop=>{prop.type==="RestElement"?extract_identifiers(prop.argument,nodes):extract_identifiers(prop.value,nodes)};param.properties.forEach(handle_prop);break;case"ArrayPattern":let handle_element=element2=>{element2&&extract_identifiers(element2,nodes)};param.elements.forEach(element2=>{element2&&handle_element(element2)});break;case"RestElement":extract_identifiers(param.argument,nodes);break;case"AssignmentPattern":extract_identifiers(param.left,nodes);break}return nodes}function create(from,to){let fields=["start","end","loc","range","comments"],index2=-1;for(;++index2<fields.length;){let field=fields[index2];field in from&&(to[field]=from[field])}}function declarationToExpression(declaration){return declaration.type==="FunctionDeclaration"?{...declaration,type:"FunctionExpression"}:(declaration.type,{...declaration,type:"ClassExpression"})}function isDeclaration(node2){return node2.type==="FunctionDeclaration"||node2.type==="ClassDeclaration"||node2.type==="VariableDeclaration"}function specifiersToDeclarations(specifiers,init){let index2=-1,declarations=[],otherSpecifiers=[],importNamespaceSpecifier;for(;++index2<specifiers.length;){let specifier=specifiers[index2];specifier.type==="ImportNamespaceSpecifier"?importNamespaceSpecifier=specifier:otherSpecifiers.push(specifier)}if(importNamespaceSpecifier){let declarator={type:"VariableDeclarator",id:importNamespaceSpecifier.local,init};create(importNamespaceSpecifier,declarator),declarations.push(declarator)}return declarations.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:otherSpecifiers.map(function(specifier){let key=specifier.type==="ImportSpecifier"?specifier.imported:specifier.type==="ExportSpecifier"?specifier.exported:{type:"Identifier",name:"default"},value=specifier.local;specifier.type==="ExportSpecifier"&&(value=key,key=specifier.local);let property={type:"Property",kind:"init",shorthand:key.name===value.name,method:!1,computed:!1,key,value};return create(specifier,property),property})},init:importNamespaceSpecifier?{type:"Identifier",name:importNamespaceSpecifier.local.name}:init}),declarations}function toIdOrMemberExpression(ids){let index2=-1,object;for(;++index2<ids.length;){let name2=ids[index2],id=typeof name2=="string"&&name(name2)?{type:"Identifier",name:name2}:{type:"Literal",value:name2};object=object?{type:"MemberExpression",object,property:id,computed:id.type==="Literal",optional:!1}:id}return object.type,object}function toJsxIdOrMemberExpression(ids){let index2=-1,object;for(;++index2<ids.length;){let name2=ids[index2];typeof name2=="string"&&name(name2,{jsx:!0}),""+name2;let id={type:"JSXIdentifier",name:name2};object=object?{type:"JSXMemberExpression",object,property:id}:id}return object}function recmaDocument(options){let baseUrl=options.baseUrl||void 0,baseHref=typeof baseUrl=="object"?baseUrl.href:baseUrl,outputFormat=options.outputFormat||"program",pragma=options.pragma===void 0?"React.createElement":options.pragma,pragmaFrag=options.pragmaFrag===void 0?"React.Fragment":options.pragmaFrag,pragmaImportSource=options.pragmaImportSource||"react",jsxImportSource=options.jsxImportSource||"react",jsxRuntime=options.jsxRuntime||"automatic";return function(tree,file){let exportedIdentifiers=[],replacement=[],pragmas=[],exportAllCount=0,layout,content3,child;if(jsxRuntime&&pragmas.push("@jsxRuntime "+jsxRuntime),jsxRuntime==="automatic"&&jsxImportSource&&pragmas.push("@jsxImportSource "+jsxImportSource),jsxRuntime==="classic"&&pragma&&pragmas.push("@jsx "+pragma),jsxRuntime==="classic"&&pragmaFrag&&pragmas.push("@jsxFrag "+pragmaFrag),tree.comments||(tree.comments=[]),pragmas.length>0&&tree.comments.unshift({type:"Block",value:pragmas.join(" "),data:{_mdxIsPragmaComment:!0}}),jsxRuntime==="classic"&&pragmaImportSource){if(!pragma)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");handleEsm({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:pragma.split(".")[0]}}],source:{type:"Literal",value:pragmaImportSource}})}for(child of tree.body)if(child.type==="ExportDefaultDeclaration")layout&&file.fail("Unexpected duplicate layout, expected a single layout (previous: "+stringifyPosition(positionFromEstree(layout))+")",{ancestors:[tree,child],place:positionFromEstree(child),ruleId:"duplicate-layout",source:"recma-document"}),layout=child,replacement.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:isDeclaration(child.declaration)?declarationToExpression(child.declaration):child.declaration}]});else if(child.type==="ExportNamedDeclaration"&&child.source){let source=child.source;child.specifiers=child.specifiers.filter(function(specifier){if(specifier.exported.name==="default"){layout&&file.fail("Unexpected duplicate layout, expected a single layout (previous: "+stringifyPosition(positionFromEstree(layout))+")",{ancestors:[tree,child,specifier],place:positionFromEstree(child),ruleId:"duplicate-layout",source:"recma-document"}),layout=specifier;let specifiers=[];if(specifier.local.name==="default")specifiers.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{let importSpecifier={type:"ImportSpecifier",imported:specifier.local,local:{type:"Identifier",name:"MDXLayout"}};create(specifier.local,importSpecifier),specifiers.push(importSpecifier)}let from={type:"Literal",value:source.value};create(source,from);let declaration={type:"ImportDeclaration",specifiers,source:from};return create(specifier,declaration),handleEsm(declaration),!1}return!0}),child.specifiers.length>0&&handleExport(child)}else child.type==="ExportNamedDeclaration"||child.type==="ExportAllDeclaration"?handleExport(child):child.type==="ImportDeclaration"?handleEsm(child):child.type==="ExpressionStatement"&&(child.expression.type==="JSXElement"||child.expression.type==="JSXFragment")?(content3=!0,replacement.push(...createMdxContent(child.expression,outputFormat,!!layout))):replacement.push(child);content3||replacement.push(...createMdxContent(void 0,outputFormat,!!layout)),exportedIdentifiers.push(["MDXContent","default"]),outputFormat==="function-body"&&replacement.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:exportAllCount}).map(function(_,index2){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(index2+1)}}}),...exportedIdentifiers.map(function(d){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:typeof d=="string",key:{type:"Identifier",name:typeof d=="string"?d:d[1]},value:{type:"Identifier",name:typeof d=="string"?d:d[0]}}})]}}),tree.body=replacement;let usesImportMetaUrlVariable=!1,usesResolveDynamicHelper=!1;(baseHref||outputFormat==="function-body")&&walk(tree,{enter(node2){if((node2.type==="ExportAllDeclaration"||node2.type==="ExportNamedDeclaration"||node2.type==="ImportDeclaration")&&node2.source){let value=node2.source.value;try{new URL(value)}catch{(value.startsWith("/")||value.startsWith("./")||value.startsWith("../"))&&(value=new URL(value,baseHref).href)}let replacement2={type:"Literal",value};create(node2.source,replacement2),node2.source=replacement2;return}if(node2.type==="ImportExpression"){usesResolveDynamicHelper=!0;let replacement2={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[node2.source],optional:!1};node2.source=replacement2;return}if(node2.type==="MemberExpression"&&"object"in node2&&node2.object.type==="MetaProperty"&&node2.property.type==="Identifier"&&node2.object.meta.name==="import"&&node2.object.property.name==="meta"&&node2.property.name==="url"){usesImportMetaUrlVariable=!0;let replacement2={type:"Identifier",name:"_importMetaUrl"};create(node2,replacement2),this.replace(replacement2)}}}),usesResolveDynamicHelper&&(baseHref||(usesImportMetaUrlVariable=!0),tree.body.push(resolveDynamicMdxSpecifier(baseHref?{type:"Literal",value:baseHref}:{type:"Identifier",name:"_importMetaUrl"}))),usesImportMetaUrlVariable&&tree.body.unshift(...createImportMetaUrlVariable());function handleExport(node2){if(node2.type==="ExportNamedDeclaration"){node2.declaration&&exportedIdentifiers.push(...analyze(node2.declaration).scope.declarations.keys());for(child of node2.specifiers)exportedIdentifiers.push(child.exported.name)}handleEsm(node2)}function handleEsm(node2){let replace,init;if(outputFormat==="function-body")if(node2.type==="ImportDeclaration"||node2.type==="ExportAllDeclaration"||node2.type==="ExportNamedDeclaration"&&node2.source){node2.source;let argument={type:"ImportExpression",source:node2.source};create(node2,argument),init={type:"AwaitExpression",argument},(node2.type==="ImportDeclaration"||node2.type==="ExportNamedDeclaration")&&node2.specifiers.length===0?replace={type:"ExpressionStatement",expression:init}:replace={type:"VariableDeclaration",kind:"const",declarations:node2.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++exportAllCount},init}]:specifiersToDeclarations(node2.specifiers,init)}}else if(node2.declaration)replace=node2.declaration;else{let declarators=node2.specifiers.filter(function(specifier){return specifier.local.name!==specifier.exported.name}).map(function(specifier){return{type:"VariableDeclarator",id:specifier.exported,init:specifier.local}});declarators.length>0&&(replace={type:"VariableDeclaration",kind:"const",declarations:declarators})}else replace=node2;replace&&replacement.push(replace)}};function createMdxContent(content3,outputFormat2,hasInternalLayout){let result={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};hasInternalLayout||(result={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:result,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let argument=content3||{type:"Identifier",name:"undefined"};argument.type==="JSXFragment"&&argument.children.length===1&&argument.children[0].type==="JSXElement"&&(argument=argument.children[0]);let awaitExpression=!1;walk(argument,{enter(node2){if(node2.type==="ArrowFunctionExpression"||node2.type==="FunctionDeclaration"||node2.type==="FunctionExpression")return this.skip();(node2.type==="AwaitExpression"||node2.type==="ForOfStatement"&&node2.await)&&(awaitExpression=!0)}});let declaration={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:result}]}};return[{type:"FunctionDeclaration",async:awaitExpression,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument}]}},outputFormat2==="program"?{type:"ExportDefaultDeclaration",declaration}:declaration]}}function resolveDynamicMdxSpecifier(importMetaUrl){return{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:toIdOrMemberExpression(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:toIdOrMemberExpression(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:toIdOrMemberExpression(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},importMetaUrl]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}}function createImportMetaUrlVariable(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:toIdOrMemberExpression(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export \u2026 from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null}]}var WalkerBase3=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2}}replace(parent,prop,index2,node2){parent&&prop&&(index2!=null?parent[prop][index2]=node2:parent[prop]=node2)}remove(parent,prop,index2){parent&&prop&&(index2!=null?parent[prop].splice(index2,1):delete parent[prop])}};var SyncWalker3=class extends WalkerBase3{constructor(enter,leave){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2},this.enter=enter,this.leave=leave}visit(node2,parent,prop,index2){if(node2){if(this.enter){let _should_skip=this.should_skip,_should_remove=this.should_remove,_replacement=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let skipped=this.should_skip,removed=this.should_remove;if(this.should_skip=_should_skip,this.should_remove=_should_remove,this.replacement=_replacement,skipped)return node2;if(removed)return null}let key;for(key in node2){let value=node2[key];if(value&&typeof value=="object")if(Array.isArray(value)){let nodes=value;for(let i=0;i<nodes.length;i+=1){let item=nodes[i];isNode3(item)&&(this.visit(item,node2,key,i)||i--)}}else isNode3(value)&&this.visit(value,node2,key,null)}if(this.leave){let _replacement=this.replacement,_should_remove=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let removed=this.should_remove;if(this.replacement=_replacement,this.should_remove=_should_remove,removed)return null}}return node2}};function isNode3(value){return value!==null&&typeof value=="object"&&"type"in value&&typeof value.type=="string"}function walk3(ast,{enter,leave}){return new SyncWalker3(enter,leave).visit(ast,null)}var regex=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function buildJsx(tree,options){let config=options||{},automatic=config.runtime==="automatic",annotations={},imports={};walk3(tree,{enter(node2){if(node2.type==="Program"){let comments=node2.comments||[],index2=-1;for(;++index2<comments.length;){regex.lastIndex=0;let match=regex.exec(comments[index2].value);for(;match;)annotations[match[1]]=match[2],match=regex.exec(comments[index2].value)}if(annotations.jsxRuntime)if(annotations.jsxRuntime==="automatic"){if(automatic=!0,annotations.jsx)throw new Error("Unexpected `@jsx` pragma w/ automatic runtime");if(annotations.jsxFrag)throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if(annotations.jsxRuntime==="classic"){if(automatic=!1,annotations.jsxImportSource)throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw new Error("Unexpected `jsxRuntime` `"+annotations.jsxRuntime+"`, expected `automatic` or `classic`")}},leave(node2){if(node2.type==="Program"){let specifiers=[];if(imports.fragment&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),imports.jsx&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),imports.jsxs&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),imports.jsxDEV&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),specifiers.length>0){let injectIndex=0;for(;injectIndex<node2.body.length;){let child=node2.body[injectIndex];if("directive"in child&&child.directive)injectIndex++;else break}node2.body.splice(injectIndex,0,{type:"ImportDeclaration",specifiers,source:{type:"Literal",value:(annotations.jsxImportSource||config.importSource||"react")+(config.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if(node2.type!=="JSXElement"&&node2.type!=="JSXFragment")return;let children=[],index2=-1;for(;++index2<node2.children.length;){let child=node2.children[index2];if(child.type==="JSXExpressionContainer")child.expression.type!=="JSXEmptyExpression"&&children.push(child.expression);else if(child.type==="JSXText"){let value=child.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,`
45
+ `},foot)),result}function remarkRehype(destination,options){return destination&&"run"in destination?async function(tree,file){let hastTree=toHast(tree,options);await destination.run(hastTree,file)}:function(tree){return toHast(tree,options||destination)}}function bail(error){if(error)throw error}var import_extend=__toESM(require_extend(),1);function isPlainObject(value){if(typeof value!="object"||value===null)return!1;let prototype=Object.getPrototypeOf(value);return(prototype===null||prototype===Object.prototype||Object.getPrototypeOf(prototype)===null)&&!(Symbol.toStringTag in value)&&!(Symbol.iterator in value)}function trough(){let fns=[],pipeline={run,use};return pipeline;function run(...values){let middlewareIndex=-1,callback=values.pop();if(typeof callback!="function")throw new TypeError("Expected function as last argument, not "+callback);next(null,...values);function next(error,...output){let fn=fns[++middlewareIndex],index2=-1;if(error){callback(error);return}for(;++index2<values.length;)(output[index2]===null||output[index2]===void 0)&&(output[index2]=values[index2]);values=output,fn?wrap2(fn,next)(...output):callback(null,...output)}}function use(middelware){if(typeof middelware!="function")throw new TypeError("Expected `middelware` to be a function, not "+middelware);return fns.push(middelware),pipeline}}function wrap2(middleware,callback){let called;return wrapped;function wrapped(...parameters){let fnExpectsCallback=middleware.length>parameters.length,result;fnExpectsCallback&&parameters.push(done);try{result=middleware.apply(this,parameters)}catch(error){let exception=error;if(fnExpectsCallback&&called)throw exception;return done(exception)}fnExpectsCallback||(result instanceof Promise?result.then(then,done):result instanceof Error?done(result):then(result))}function done(error,...output){called||(called=!0,callback(error,...output))}function then(value){done(null,value)}}var CallableInstance=function(property){let proto=this.constructor.prototype,func=proto[property],apply=function(){return func.apply(apply,arguments)};Object.setPrototypeOf(apply,proto);let names=Object.getOwnPropertyNames(func);for(let p of names){let descriptor=Object.getOwnPropertyDescriptor(func,p);descriptor&&Object.defineProperty(apply,p,descriptor)}return apply};var own5={}.hasOwnProperty,Processor=class _Processor extends CallableInstance{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=trough()}copy(){let destination=new _Processor,index2=-1;for(;++index2<this.attachers.length;){let attacher=this.attachers[index2];destination.use(...attacher)}return destination.data((0,import_extend.default)(!0,{},this.namespace)),destination}data(key,value){return typeof key=="string"?arguments.length===2?(assertUnfrozen("data",this.frozen),this.namespace[key]=value,this):own5.call(this.namespace,key)&&this.namespace[key]||void 0:key?(assertUnfrozen("data",this.frozen),this.namespace=key,this):this.namespace}freeze(){if(this.frozen)return this;let self2=this;for(;++this.freezeIndex<this.attachers.length;){let[attacher,...options]=this.attachers[this.freezeIndex];if(options[0]===!1)continue;options[0]===!0&&(options[0]=void 0);let transformer=attacher.call(self2,...options);typeof transformer=="function"&&this.transformers.use(transformer)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(file){this.freeze();let realFile=vfile(file),parser=this.parser||this.Parser;return assertParser("parse",parser),parser(String(realFile),realFile)}process(file,done){let self2=this;return this.freeze(),assertParser("process",this.parser||this.Parser),assertCompiler("process",this.compiler||this.Compiler),done?executor(void 0,done):new Promise(executor);function executor(resolve,reject){let realFile=vfile(file),parseTree=self2.parse(realFile);self2.run(parseTree,realFile,function(error,tree,file2){if(error||!tree||!file2)return realDone(error);let compileTree=tree,compileResult=self2.stringify(compileTree,file2);looksLikeAValue(compileResult)?file2.value=compileResult:file2.result=compileResult,realDone(error,file2)});function realDone(error,file2){error||!file2?reject(error):resolve?resolve(file2):done(void 0,file2)}}}processSync(file){let complete=!1,result;return this.freeze(),assertParser("processSync",this.parser||this.Parser),assertCompiler("processSync",this.compiler||this.Compiler),this.process(file,realDone),assertDone("processSync","process",complete),result;function realDone(error,file2){complete=!0,bail(error),result=file2}}run(tree,file,done){assertNode(tree),this.freeze();let transformers=this.transformers;return!done&&typeof file=="function"&&(done=file,file=void 0),done?executor(void 0,done):new Promise(executor);function executor(resolve,reject){let realFile=vfile(file);transformers.run(tree,realFile,realDone);function realDone(error,outputTree,file2){let resultingTree=outputTree||tree;error?reject(error):resolve?resolve(resultingTree):done(void 0,resultingTree,file2)}}}runSync(tree,file){let complete=!1,result;return this.run(tree,file,realDone),assertDone("runSync","run",complete),result;function realDone(error,tree2){bail(error),result=tree2,complete=!0}}stringify(tree,file){this.freeze();let realFile=vfile(file),compiler2=this.compiler||this.Compiler;return assertCompiler("stringify",compiler2),assertNode(tree),compiler2(tree,realFile)}use(value,...parameters){let attachers=this.attachers,namespace=this.namespace;if(assertUnfrozen("use",this.frozen),value!=null)if(typeof value=="function")addPlugin(value,parameters);else if(typeof value=="object")Array.isArray(value)?addList(value):addPreset(value);else throw new TypeError("Expected usable value, not `"+value+"`");return this;function add(value2){if(typeof value2=="function")addPlugin(value2,[]);else if(typeof value2=="object")if(Array.isArray(value2)){let[plugin,...parameters2]=value2;addPlugin(plugin,parameters2)}else addPreset(value2);else throw new TypeError("Expected usable value, not `"+value2+"`")}function addPreset(result){if(!("plugins"in result)&&!("settings"in result))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");addList(result.plugins),result.settings&&(namespace.settings=(0,import_extend.default)(!0,namespace.settings,result.settings))}function addList(plugins){let index2=-1;if(plugins!=null)if(Array.isArray(plugins))for(;++index2<plugins.length;){let thing=plugins[index2];add(thing)}else throw new TypeError("Expected a list of plugins, not `"+plugins+"`")}function addPlugin(plugin,parameters2){let index2=-1,entryIndex=-1;for(;++index2<attachers.length;)if(attachers[index2][0]===plugin){entryIndex=index2;break}if(entryIndex===-1)attachers.push([plugin,...parameters2]);else if(parameters2.length>0){let[primary,...rest]=parameters2,currentPrimary=attachers[entryIndex][1];isPlainObject(currentPrimary)&&isPlainObject(primary)&&(primary=(0,import_extend.default)(!0,currentPrimary,primary)),attachers[entryIndex]=[plugin,primary,...rest]}}}},unified=new Processor().freeze();function assertParser(name2,value){if(typeof value!="function")throw new TypeError("Cannot `"+name2+"` without `parser`")}function assertCompiler(name2,value){if(typeof value!="function")throw new TypeError("Cannot `"+name2+"` without `compiler`")}function assertUnfrozen(name2,frozen){if(frozen)throw new Error("Cannot call `"+name2+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function assertNode(node2){if(!isPlainObject(node2)||typeof node2.type!="string")throw new TypeError("Expected node, got `"+node2+"`")}function assertDone(name2,asyncName,complete){if(!complete)throw new Error("`"+name2+"` finished async. Use `"+asyncName+"` instead")}function vfile(value){return looksLikeAVFile2(value)?value:new VFile(value)}function looksLikeAVFile2(value){return!!(value&&typeof value=="object"&&"message"in value&&"messages"in value)}function looksLikeAValue(value){return typeof value=="string"||isUint8Array2(value)}function isUint8Array2(value){return!!(value&&typeof value=="object"&&"byteLength"in value&&"byteOffset"in value)}var WalkerBase=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2}}replace(parent,prop,index2,node2){parent&&prop&&(index2!=null?parent[prop][index2]=node2:parent[prop]=node2)}remove(parent,prop,index2){parent&&prop&&(index2!=null?parent[prop].splice(index2,1):delete parent[prop])}};var SyncWalker=class extends WalkerBase{constructor(enter,leave){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2},this.enter=enter,this.leave=leave}visit(node2,parent,prop,index2){if(node2){if(this.enter){let _should_skip=this.should_skip,_should_remove=this.should_remove,_replacement=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let skipped=this.should_skip,removed=this.should_remove;if(this.should_skip=_should_skip,this.should_remove=_should_remove,this.replacement=_replacement,skipped)return node2;if(removed)return null}let key;for(key in node2){let value=node2[key];if(value&&typeof value=="object")if(Array.isArray(value)){let nodes=value;for(let i=0;i<nodes.length;i+=1){let item=nodes[i];isNode(item)&&(this.visit(item,node2,key,i)||i--)}}else isNode(value)&&this.visit(value,node2,key,null)}if(this.leave){let _replacement=this.replacement,_should_remove=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let removed=this.should_remove;if(this.replacement=_replacement,this.should_remove=_should_remove,removed)return null}}return node2}};function isNode(value){return value!==null&&typeof value=="object"&&"type"in value&&typeof value.type=="string"}function walk(ast,{enter,leave}){return new SyncWalker(enter,leave).visit(ast,null)}var WalkerBase2=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2}}replace(parent,prop,index2,node2){parent&&prop&&(index2!=null?parent[prop][index2]=node2:parent[prop]=node2)}remove(parent,prop,index2){parent&&prop&&(index2!=null?parent[prop].splice(index2,1):delete parent[prop])}};var SyncWalker2=class extends WalkerBase2{constructor(enter,leave){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2},this.enter=enter,this.leave=leave}visit(node2,parent,prop,index2){if(node2){if(this.enter){let _should_skip=this.should_skip,_should_remove=this.should_remove,_replacement=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let skipped=this.should_skip,removed=this.should_remove;if(this.should_skip=_should_skip,this.should_remove=_should_remove,this.replacement=_replacement,skipped)return node2;if(removed)return null}let key;for(key in node2){let value=node2[key];if(value&&typeof value=="object")if(Array.isArray(value)){let nodes=value;for(let i=0;i<nodes.length;i+=1){let item=nodes[i];isNode2(item)&&(this.visit(item,node2,key,i)||i--)}}else isNode2(value)&&this.visit(value,node2,key,null)}if(this.leave){let _replacement=this.replacement,_should_remove=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let removed=this.should_remove;if(this.replacement=_replacement,this.should_remove=_should_remove,removed)return null}}return node2}};function isNode2(value){return value!==null&&typeof value=="object"&&"type"in value&&typeof value.type=="string"}function walk2(ast,{enter,leave}){return new SyncWalker2(enter,leave).visit(ast,null)}function is_reference(node2,parent){if(node2.type==="MemberExpression")return!node2.computed&&is_reference(node2.object,node2);if(node2.type!=="Identifier")return!1;switch(parent?.type){case"MemberExpression":return parent.computed||node2===parent.object;case"MethodDefinition":return parent.computed;case"MetaProperty":return parent.meta===node2;case"PropertyDefinition":return parent.computed||node2===parent.value;case"Property":return parent.computed||node2===parent.value;case"ExportSpecifier":case"ImportSpecifier":return node2===parent.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}function analyze(expression){let map=new WeakMap,globals=new Map,scope=new Scope3(null,!1),references=[],current_scope=scope;walk2(expression,{enter(node2,parent){switch(node2.type){case"Identifier":parent&&is_reference(node2,parent)&&references.push([current_scope,node2]);break;case"ImportDeclaration":node2.specifiers.forEach(specifier=>{current_scope.declarations.set(specifier.local.name,specifier)});break;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":node2.type==="FunctionDeclaration"?(node2.id&&current_scope.declarations.set(node2.id.name,node2),map.set(node2,current_scope=new Scope3(current_scope,!1))):(map.set(node2,current_scope=new Scope3(current_scope,!1)),node2.type==="FunctionExpression"&&node2.id&&current_scope.declarations.set(node2.id.name,node2)),node2.params.forEach(param=>{extract_names(param).forEach(name2=>{current_scope.declarations.set(name2,node2)})});break;case"ForStatement":case"ForInStatement":case"ForOfStatement":map.set(node2,current_scope=new Scope3(current_scope,!0));break;case"BlockStatement":map.set(node2,current_scope=new Scope3(current_scope,!0));break;case"ClassDeclaration":case"VariableDeclaration":current_scope.add_declaration(node2);break;case"CatchClause":map.set(node2,current_scope=new Scope3(current_scope,!0)),node2.param&&extract_names(node2.param).forEach(name2=>{node2.param&&current_scope.declarations.set(name2,node2.param)});break}},leave(node2){map.has(node2)&&current_scope!==null&&current_scope.parent&&(current_scope=current_scope.parent)}});for(let i=references.length-1;i>=0;--i){let[scope2,reference]=references[i];scope2.references.has(reference.name)||add_reference(scope2,reference.name),scope2.find_owner(reference.name)||globals.set(reference.name,reference)}return{map,scope,globals}}function add_reference(scope,name2){scope.references.add(name2),scope.parent&&add_reference(scope.parent,name2)}var Scope3=class{constructor(parent,block){this.parent=parent,this.block=block,this.declarations=new Map,this.initialised_declarations=new Set,this.references=new Set}add_declaration(node2){if(node2.type==="VariableDeclaration")if(node2.kind==="var"&&this.block&&this.parent)this.parent.add_declaration(node2);else{let handle_declarator=declarator=>{extract_names(declarator.id).forEach(name2=>{this.declarations.set(name2,node2),declarator.init&&this.initialised_declarations.add(name2)})};node2.declarations.forEach(handle_declarator)}else node2.id&&this.declarations.set(node2.id.name,node2)}find_owner(name2){return this.declarations.has(name2)?this:this.parent&&this.parent.find_owner(name2)}has(name2){return this.declarations.has(name2)||!!this.parent&&this.parent.has(name2)}};function extract_names(param){return extract_identifiers(param).map(node2=>node2.name)}function extract_identifiers(param,nodes=[]){switch(param.type){case"Identifier":nodes.push(param);break;case"MemberExpression":let object=param;for(;object.type==="MemberExpression";)object=object.object;nodes.push(object);break;case"ObjectPattern":let handle_prop=prop=>{prop.type==="RestElement"?extract_identifiers(prop.argument,nodes):extract_identifiers(prop.value,nodes)};param.properties.forEach(handle_prop);break;case"ArrayPattern":let handle_element=element2=>{element2&&extract_identifiers(element2,nodes)};param.elements.forEach(element2=>{element2&&handle_element(element2)});break;case"RestElement":extract_identifiers(param.argument,nodes);break;case"AssignmentPattern":extract_identifiers(param.left,nodes);break}return nodes}function create(from,to){let fields=["start","end","loc","range","comments"],index2=-1;for(;++index2<fields.length;){let field=fields[index2];field in from&&(to[field]=from[field])}}function declarationToExpression(declaration){return declaration.type==="FunctionDeclaration"?{...declaration,type:"FunctionExpression"}:(declaration.type,{...declaration,type:"ClassExpression"})}function isDeclaration(node2){return node2.type==="FunctionDeclaration"||node2.type==="ClassDeclaration"||node2.type==="VariableDeclaration"}function specifiersToDeclarations(specifiers,init){let index2=-1,declarations=[],otherSpecifiers=[],importNamespaceSpecifier;for(;++index2<specifiers.length;){let specifier=specifiers[index2];specifier.type==="ImportNamespaceSpecifier"?importNamespaceSpecifier=specifier:otherSpecifiers.push(specifier)}if(importNamespaceSpecifier){let declarator={type:"VariableDeclarator",id:importNamespaceSpecifier.local,init};create(importNamespaceSpecifier,declarator),declarations.push(declarator)}return declarations.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:otherSpecifiers.map(function(specifier){let key=specifier.type==="ImportSpecifier"?specifier.imported:specifier.type==="ExportSpecifier"?specifier.exported:{type:"Identifier",name:"default"},value=specifier.local;specifier.type==="ExportSpecifier"&&(value=key,key=specifier.local);let property={type:"Property",kind:"init",shorthand:key.name===value.name,method:!1,computed:!1,key,value};return create(specifier,property),property})},init:importNamespaceSpecifier?{type:"Identifier",name:importNamespaceSpecifier.local.name}:init}),declarations}function toIdOrMemberExpression(ids){let index2=-1,object;for(;++index2<ids.length;){let name2=ids[index2],id=typeof name2=="string"&&name(name2)?{type:"Identifier",name:name2}:{type:"Literal",value:name2};object=object?{type:"MemberExpression",object,property:id,computed:id.type==="Literal",optional:!1}:id}return object.type,object}function toJsxIdOrMemberExpression(ids){let index2=-1,object;for(;++index2<ids.length;){let name2=ids[index2];typeof name2=="string"&&name(name2,{jsx:!0}),""+name2;let id={type:"JSXIdentifier",name:name2};object=object?{type:"JSXMemberExpression",object,property:id}:id}return object}function recmaDocument(options){let baseUrl=options.baseUrl||void 0,baseHref=typeof baseUrl=="object"?baseUrl.href:baseUrl,outputFormat=options.outputFormat||"program",pragma=options.pragma===void 0?"React.createElement":options.pragma,pragmaFrag=options.pragmaFrag===void 0?"React.Fragment":options.pragmaFrag,pragmaImportSource=options.pragmaImportSource||"react",jsxImportSource=options.jsxImportSource||"react",jsxRuntime=options.jsxRuntime||"automatic";return function(tree,file){let exportedIdentifiers=[],replacement=[],pragmas=[],exportAllCount=0,layout,content3,child;if(jsxRuntime&&pragmas.push("@jsxRuntime "+jsxRuntime),jsxRuntime==="automatic"&&jsxImportSource&&pragmas.push("@jsxImportSource "+jsxImportSource),jsxRuntime==="classic"&&pragma&&pragmas.push("@jsx "+pragma),jsxRuntime==="classic"&&pragmaFrag&&pragmas.push("@jsxFrag "+pragmaFrag),tree.comments||(tree.comments=[]),pragmas.length>0&&tree.comments.unshift({type:"Block",value:pragmas.join(" "),data:{_mdxIsPragmaComment:!0}}),jsxRuntime==="classic"&&pragmaImportSource){if(!pragma)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");handleEsm({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:pragma.split(".")[0]}}],source:{type:"Literal",value:pragmaImportSource}})}for(child of tree.body)if(child.type==="ExportDefaultDeclaration")layout&&file.fail("Unexpected duplicate layout, expected a single layout (previous: "+stringifyPosition(positionFromEstree(layout))+")",{ancestors:[tree,child],place:positionFromEstree(child),ruleId:"duplicate-layout",source:"recma-document"}),layout=child,replacement.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:isDeclaration(child.declaration)?declarationToExpression(child.declaration):child.declaration}]});else if(child.type==="ExportNamedDeclaration"&&child.source){let source=child.source;child.specifiers=child.specifiers.filter(function(specifier){if(specifier.exported.name==="default"){layout&&file.fail("Unexpected duplicate layout, expected a single layout (previous: "+stringifyPosition(positionFromEstree(layout))+")",{ancestors:[tree,child,specifier],place:positionFromEstree(child),ruleId:"duplicate-layout",source:"recma-document"}),layout=specifier;let specifiers=[];if(specifier.local.name==="default")specifiers.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{let importSpecifier={type:"ImportSpecifier",imported:specifier.local,local:{type:"Identifier",name:"MDXLayout"}};create(specifier.local,importSpecifier),specifiers.push(importSpecifier)}let from={type:"Literal",value:source.value};create(source,from);let declaration={type:"ImportDeclaration",specifiers,source:from};return create(specifier,declaration),handleEsm(declaration),!1}return!0}),child.specifiers.length>0&&handleExport(child)}else child.type==="ExportNamedDeclaration"||child.type==="ExportAllDeclaration"?handleExport(child):child.type==="ImportDeclaration"?handleEsm(child):child.type==="ExpressionStatement"&&(child.expression.type==="JSXElement"||child.expression.type==="JSXFragment")?(content3=!0,replacement.push(...createMdxContent(child.expression,outputFormat,!!layout))):replacement.push(child);content3||replacement.push(...createMdxContent(void 0,outputFormat,!!layout)),exportedIdentifiers.push(["MDXContent","default"]),outputFormat==="function-body"&&replacement.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:exportAllCount}).map(function(_,index2){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(index2+1)}}}),...exportedIdentifiers.map(function(d){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:typeof d=="string",key:{type:"Identifier",name:typeof d=="string"?d:d[1]},value:{type:"Identifier",name:typeof d=="string"?d:d[0]}}})]}}),tree.body=replacement;let usesImportMetaUrlVariable=!1,usesResolveDynamicHelper=!1;(baseHref||outputFormat==="function-body")&&walk(tree,{enter(node2){if((node2.type==="ExportAllDeclaration"||node2.type==="ExportNamedDeclaration"||node2.type==="ImportDeclaration")&&node2.source){let value=node2.source.value;try{new URL(value)}catch{(value.startsWith("/")||value.startsWith("./")||value.startsWith("../"))&&(value=new URL(value,baseHref).href)}let replacement2={type:"Literal",value};create(node2.source,replacement2),node2.source=replacement2;return}if(node2.type==="ImportExpression"){usesResolveDynamicHelper=!0;let replacement2={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[node2.source],optional:!1};node2.source=replacement2;return}if(node2.type==="MemberExpression"&&"object"in node2&&node2.object.type==="MetaProperty"&&node2.property.type==="Identifier"&&node2.object.meta.name==="import"&&node2.object.property.name==="meta"&&node2.property.name==="url"){usesImportMetaUrlVariable=!0;let replacement2={type:"Identifier",name:"_importMetaUrl"};create(node2,replacement2),this.replace(replacement2)}}}),usesResolveDynamicHelper&&(baseHref||(usesImportMetaUrlVariable=!0),tree.body.push(resolveDynamicMdxSpecifier(baseHref?{type:"Literal",value:baseHref}:{type:"Identifier",name:"_importMetaUrl"}))),usesImportMetaUrlVariable&&tree.body.unshift(...createImportMetaUrlVariable());function handleExport(node2){if(node2.type==="ExportNamedDeclaration"){node2.declaration&&exportedIdentifiers.push(...analyze(node2.declaration).scope.declarations.keys());for(child of node2.specifiers)exportedIdentifiers.push(child.exported.name)}handleEsm(node2)}function handleEsm(node2){let replace,init;if(outputFormat==="function-body")if(node2.type==="ImportDeclaration"||node2.type==="ExportAllDeclaration"||node2.type==="ExportNamedDeclaration"&&node2.source){node2.source;let argument={type:"ImportExpression",source:node2.source};create(node2,argument),init={type:"AwaitExpression",argument},(node2.type==="ImportDeclaration"||node2.type==="ExportNamedDeclaration")&&node2.specifiers.length===0?replace={type:"ExpressionStatement",expression:init}:replace={type:"VariableDeclaration",kind:"const",declarations:node2.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++exportAllCount},init}]:specifiersToDeclarations(node2.specifiers,init)}}else if(node2.declaration)replace=node2.declaration;else{let declarators=node2.specifiers.filter(function(specifier){return specifier.local.name!==specifier.exported.name}).map(function(specifier){return{type:"VariableDeclarator",id:specifier.exported,init:specifier.local}});declarators.length>0&&(replace={type:"VariableDeclaration",kind:"const",declarations:declarators})}else replace=node2;replace&&replacement.push(replace)}};function createMdxContent(content3,outputFormat2,hasInternalLayout){let result={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};hasInternalLayout||(result={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:result,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let argument=content3||{type:"Identifier",name:"undefined"};argument.type==="JSXFragment"&&argument.children.length===1&&argument.children[0].type==="JSXElement"&&(argument=argument.children[0]);let awaitExpression=!1;walk(argument,{enter(node2){if(node2.type==="ArrowFunctionExpression"||node2.type==="FunctionDeclaration"||node2.type==="FunctionExpression")return this.skip();(node2.type==="AwaitExpression"||node2.type==="ForOfStatement"&&node2.await)&&(awaitExpression=!0)}});let declaration={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:result}]}};return[{type:"FunctionDeclaration",async:awaitExpression,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument}]}},outputFormat2==="program"?{type:"ExportDefaultDeclaration",declaration}:declaration]}}function resolveDynamicMdxSpecifier(importMetaUrl){return{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:toIdOrMemberExpression(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:toIdOrMemberExpression(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:toIdOrMemberExpression(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},importMetaUrl]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}}function createImportMetaUrlVariable(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:toIdOrMemberExpression(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export \u2026 from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null}]}var WalkerBase3=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2}}replace(parent,prop,index2,node2){parent&&prop&&(index2!=null?parent[prop][index2]=node2:parent[prop]=node2)}remove(parent,prop,index2){parent&&prop&&(index2!=null?parent[prop].splice(index2,1):delete parent[prop])}};var SyncWalker3=class extends WalkerBase3{constructor(enter,leave){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:node2=>this.replacement=node2},this.enter=enter,this.leave=leave}visit(node2,parent,prop,index2){if(node2){if(this.enter){let _should_skip=this.should_skip,_should_remove=this.should_remove,_replacement=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let skipped=this.should_skip,removed=this.should_remove;if(this.should_skip=_should_skip,this.should_remove=_should_remove,this.replacement=_replacement,skipped)return node2;if(removed)return null}let key;for(key in node2){let value=node2[key];if(value&&typeof value=="object")if(Array.isArray(value)){let nodes=value;for(let i=0;i<nodes.length;i+=1){let item=nodes[i];isNode3(item)&&(this.visit(item,node2,key,i)||i--)}}else isNode3(value)&&this.visit(value,node2,key,null)}if(this.leave){let _replacement=this.replacement,_should_remove=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,node2,parent,prop,index2),this.replacement&&(node2=this.replacement,this.replace(parent,prop,index2,node2)),this.should_remove&&this.remove(parent,prop,index2);let removed=this.should_remove;if(this.replacement=_replacement,this.should_remove=_should_remove,removed)return null}}return node2}};function isNode3(value){return value!==null&&typeof value=="object"&&"type"in value&&typeof value.type=="string"}function walk3(ast,{enter,leave}){return new SyncWalker3(enter,leave).visit(ast,null)}var regex=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function buildJsx(tree,options){let config=options||{},automatic=config.runtime==="automatic",annotations={},imports={};walk3(tree,{enter(node2){if(node2.type==="Program"){let comments=node2.comments||[],index2=-1;for(;++index2<comments.length;){regex.lastIndex=0;let match=regex.exec(comments[index2].value);for(;match;)annotations[match[1]]=match[2],match=regex.exec(comments[index2].value)}if(annotations.jsxRuntime)if(annotations.jsxRuntime==="automatic"){if(automatic=!0,annotations.jsx)throw new Error("Unexpected `@jsx` pragma w/ automatic runtime");if(annotations.jsxFrag)throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if(annotations.jsxRuntime==="classic"){if(automatic=!1,annotations.jsxImportSource)throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw new Error("Unexpected `jsxRuntime` `"+annotations.jsxRuntime+"`, expected `automatic` or `classic`")}},leave(node2){if(node2.type==="Program"){let specifiers=[];if(imports.fragment&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),imports.jsx&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),imports.jsxs&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),imports.jsxDEV&&specifiers.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),specifiers.length>0){let injectIndex=0;for(;injectIndex<node2.body.length;){let child=node2.body[injectIndex];if("directive"in child&&child.directive)injectIndex++;else break}node2.body.splice(injectIndex,0,{type:"ImportDeclaration",specifiers,source:{type:"Literal",value:(annotations.jsxImportSource||config.importSource||"react")+(config.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if(node2.type!=="JSXElement"&&node2.type!=="JSXFragment")return;let children=[],index2=-1;for(;++index2<node2.children.length;){let child=node2.children[index2];if(child.type==="JSXExpressionContainer")child.expression.type!=="JSXEmptyExpression"&&children.push(child.expression);else if(child.type==="JSXText"){let value=child.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,`
46
46
  `).replace(/\n+/g,`
47
47
  `).replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");if(value){let text5={type:"Literal",value};create2(child,text5),children.push(text5)}}else child.type!=="JSXElement"&&child.type!=="JSXFragment"&&child.type,children.push(child)}let name2,fields=[],parameters=[],key;if(node2.type==="JSXElement"){if(name2=toIdentifier(node2.openingElement.name),name2.type==="Identifier"&&/^[a-z]/.test(name2.name)){let next={type:"Literal",value:name2.name};create2(name2,next),name2=next}let spread,attributes=node2.openingElement.attributes,index3=-1;for(;++index3<attributes.length;){let attribute=attributes[index3];if(attribute.type==="JSXSpreadAttribute")attribute.argument.type==="ObjectExpression"?fields.push(...attribute.argument.properties):fields.push({type:"SpreadElement",argument:attribute.argument}),spread=!0;else{let prop=toProperty(attribute);if(automatic&&prop.key.type==="Identifier"&&prop.key.name==="key"){if(spread)throw new Error("Expected `key` to come before any spread expressions");let value=prop.value;value.type!=="AssignmentPattern"&&value.type!=="ArrayPattern"&&value.type!=="ObjectPattern"&&value.type,key=value}else fields.push(prop)}}}else automatic?(imports.fragment=!0,name2={type:"Identifier",name:"_Fragment"}):name2=toMemberExpression(annotations.jsxFrag||config.pragmaFrag||"React.Fragment");automatic?children.length>0&&fields.push({type:"Property",key:{type:"Identifier",name:"children"},value:children.length>1?{type:"ArrayExpression",elements:children}:children[0],kind:"init",method:!1,shorthand:!1,computed:!1}):parameters=children;let callee;if(automatic){parameters.push({type:"ObjectExpression",properties:fields}),key?parameters.push(key):config.development&&parameters.push({type:"Identifier",name:"undefined"});let isStaticChildren=children.length>1;if(config.development){imports.jsxDEV=!0,callee={type:"Identifier",name:"_jsxDEV"},parameters.push({type:"Literal",value:isStaticChildren});let source={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:config.filePath||"<source.js>"}}]};node2.loc&&source.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:node2.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:node2.loc.start.column+1}}),parameters.push(source,{type:"ThisExpression"})}else isStaticChildren?(imports.jsxs=!0,callee={type:"Identifier",name:"_jsxs"}):(imports.jsx=!0,callee={type:"Identifier",name:"_jsx"})}else fields.length>0?parameters.unshift({type:"ObjectExpression",properties:fields}):parameters.length>0&&parameters.unshift({type:"Literal",value:null}),callee=toMemberExpression(annotations.jsx||config.pragma||"React.createElement");parameters.unshift(name2);let call={type:"CallExpression",callee,arguments:parameters,optional:!1};create2(node2,call),this.replace(call)}})}function toProperty(node2){let value;if(node2.value)if(node2.value.type==="JSXExpressionContainer"){let valueExpression=node2.value.expression;valueExpression.type,value=valueExpression}else{let nodeValue=node2.value;nodeValue.type!=="JSXElement"&&nodeValue.type,value=nodeValue,delete value.raw}else value={type:"Literal",value:!0};let replacement={type:"Property",key:toIdentifier(node2.name),value,kind:"init",method:!1,shorthand:!1,computed:!1};return create2(node2,replacement),replacement}function toIdentifier(node2){let replace;if(node2.type==="JSXMemberExpression"){let id=toIdentifier(node2.property);replace={type:"MemberExpression",object:toIdentifier(node2.object),property:id,computed:id.type==="Literal",optional:!1}}else node2.type==="JSXNamespacedName"?replace={type:"Literal",value:node2.namespace.name+":"+node2.name.name}:replace=name(node2.name)?{type:"Identifier",name:node2.name}:{type:"Literal",value:node2.name};return create2(node2,replace),replace}function toMemberExpression(id){let identifiers=id.split("."),index2=-1,result;for(;++index2<identifiers.length;){let prop=name(identifiers[index2])?{type:"Identifier",name:identifiers[index2]}:{type:"Literal",value:identifiers[index2]};result=result?{type:"MemberExpression",object:result,property:prop,computed:!!(index2&&prop.type==="Literal"),optional:!1}:prop}return result}function create2(from,to){let fields=["start","end","loc","range","comments"],index2=-1;for(;++index2<fields.length;){let field=fields[index2];field in from&&(to[field]=from[field])}}function recmaJsxBuild(options){let{development,outputFormat}=options||{};return function(tree,file){if(buildJsx(tree,{development,filePath:file.history[0]}),tree.comments&&tree.comments[0].type==="Block"&&tree.comments[0].data&&tree.comments[0].data._mdxIsPragmaComment&&tree.comments.shift(),outputFormat==="function-body"){let index2=0;for(;index2<tree.body.length;){let child=tree.body[index2];if("directive"in child&&child.directive)index2++;else break}let declaration=tree.body[index2];declaration&&declaration.type==="ImportDeclaration"&&typeof declaration.source.value=="string"&&/\/jsx-(dev-)?runtime$/.test(declaration.source.value)&&(tree.body[index2]={type:"VariableDeclaration",kind:"const",declarations:specifiersToDeclarations(declaration.specifiers,toIdOrMemberExpression(["arguments",0]))})}}}function toBinaryAddition(expressions){let index2=-1,left;for(;++index2<expressions.length;){let right=expressions[index2];left=left?{type:"BinaryExpression",left,operator:"+",right}:right}return left}function recmaJsxRewrite(options){let{development,outputFormat,providerImportSource}=options;return function(tree,file){let scopeInfo=analyze(tree),fnStack=[],importProvider=!1,createErrorHelper=!1,currentScope;if(walk(tree,{enter(node2){let newScope=scopeInfo.map.get(node2);(node2.type==="FunctionDeclaration"||node2.type==="FunctionExpression"||node2.type==="ArrowFunctionExpression")&&(fnStack.push({components:[],idToInvalidComponentName:new Map,node:node2,objects:[],references:{},tags:[]}),isNamedFunction(node2,"MDXContent")&&newScope&&!inScope(newScope,"MDXLayout")&&fnStack[0].components.push("MDXLayout"));let fnScope=fnStack[0];if(!(!fnScope||!isNamedFunction(fnScope.node,"_createMdxContent")&&!providerImportSource)&&(newScope&&(newScope.node=node2,currentScope=newScope),currentScope&&node2.type==="JSXElement")){let name2=node2.openingElement.name;if(name2.type==="JSXMemberExpression"){let ids=[];for(;name2.type==="JSXMemberExpression";)ids.unshift(name2.property.name),name2=name2.object;ids.unshift(name2.name);let fullId=ids.join("."),id=name2.name,isInScope=inScope(currentScope,id);if(!Object.hasOwn(fnScope.references,fullId)){let parentScope=currentScope.parent;(!isInScope||parentScope&&parentScope.node.type==="FunctionDeclaration"&&isNamedFunction(parentScope.node,"_createMdxContent"))&&(fnScope.references[fullId]={component:!0,node:node2})}!fnScope.objects.includes(id)&&!isInScope&&fnScope.objects.push(id)}else if(name2.type!=="JSXNamespacedName"){if(name(name2.name)&&!/^[a-z]/.test(name2.name)){let id=name2.name;inScope(currentScope,id)||(id!=="MDXLayout"&&!Object.hasOwn(fnScope.references,id)&&(fnScope.references[id]={component:!0,node:node2}),fnScope.components.includes(id)||fnScope.components.push(id))}else if(!(node2.data&&node2.data._mdxExplicitJsx)){let id=name2.name;fnScope.tags.includes(id)||fnScope.tags.push(id);let jsxIdExpression=["_components",id];if(name(id)===!1){let invalidComponentName=fnScope.idToInvalidComponentName.get(id);invalidComponentName===void 0&&(invalidComponentName=`_component${fnScope.idToInvalidComponentName.size}`,fnScope.idToInvalidComponentName.set(id,invalidComponentName)),jsxIdExpression=[invalidComponentName]}node2.openingElement.name=toJsxIdOrMemberExpression(jsxIdExpression),node2.closingElement&&(node2.closingElement.name=toJsxIdOrMemberExpression(jsxIdExpression))}}}},leave(node2){let defaults=[],actual=[],parameters=[],declarations=[];if(currentScope&&currentScope.node===node2&&(currentScope=currentScope.parent),node2.type==="FunctionDeclaration"||node2.type==="FunctionExpression"||node2.type==="ArrowFunctionExpression"){let fn=node2,scope=fnStack[fnStack.length-1],name2;for(name2 of scope.tags.sort())defaults.push({type:"Property",kind:"init",key:name(name2)?{type:"Identifier",name:name2}:{type:"Literal",value:name2},value:{type:"Literal",value:name2},method:!1,shorthand:!1,computed:!1});actual.push(...scope.components);for(name2 of scope.objects)actual.includes(name2)||actual.push(name2);actual.sort();let statements=[];if(defaults.length>0||actual.length>0||scope.idToInvalidComponentName.size>0){if(providerImportSource&&(importProvider=!0,parameters.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(isNamedFunction(scope.node,"MDXContent")||isNamedFunction(scope.node,"_createMdxContent"))&&parameters.push(toIdOrMemberExpression(["props","components"])),defaults.length>0||parameters.length>1)for(let parameter of parameters)defaults.push({type:"SpreadElement",argument:parameter});let componentsInit=defaults.length>0?{type:"ObjectExpression",properties:defaults}:{type:"LogicalExpression",operator:"||",left:parameters[0],right:{type:"ObjectExpression",properties:[]}},componentsPattern;if(actual.length>0&&(componentsPattern={type:"ObjectPattern",properties:actual.map(function(name3){return{type:"Property",kind:"init",key:{type:"Identifier",name:name3==="MDXLayout"?"wrapper":name3},value:{type:"Identifier",name:name3},method:!1,shorthand:name3!=="MDXLayout",computed:!1}})}),scope.tags.length>0&&(declarations.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:componentsInit}),componentsInit={type:"Identifier",name:"_components"}),isNamedFunction(scope.node,"_createMdxContent"))for(let[id,componentName]of[...scope.idToInvalidComponentName].sort(function([a],[b]){return a.localeCompare(b)}))declarations.push({type:"VariableDeclarator",id:{type:"Identifier",name:componentName},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:id},computed:!0,optional:!1}});componentsPattern&&declarations.push({type:"VariableDeclarator",id:componentsPattern,init:componentsInit}),declarations.length>0&&statements.push({type:"VariableDeclaration",kind:"const",declarations})}let key;for(key in scope.references)if(Object.hasOwn(scope.references,key)){let parts=key.split("."),index3=0;for(;++index3<parts.length;){let partial=parts.slice(0,index3).join(".");Object.hasOwn(scope.references,partial)||(scope.references[partial]={component:!1,node:scope.references[key].node})}}let references=Object.keys(scope.references).sort(),index2=-1;for(;++index2<references.length;){let id=references[index2],info=scope.references[id],place=stringifyPosition(positionFromEstree(info.node)),parameters2=[{type:"Literal",value:id},{type:"Literal",value:info.component}];createErrorHelper=!0,development&&place&&parameters2.push({type:"Literal",value:place}),statements.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:toIdOrMemberExpression(id.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:parameters2,optional:!1}},alternate:void 0})}statements.length>0&&(fn.body.type!=="BlockStatement"&&(fn.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:fn.body}]}),fn.body.body.unshift(...statements)),fnStack.pop()}}}),importProvider&&providerImportSource&&tree.body.unshift(createImportProvider(providerImportSource,outputFormat)),createErrorHelper){let message=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],parameters=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];development&&(message.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:toBinaryAddition([{type:"Literal",value:"\nIt\u2019s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(file.path?"` in `"+file.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),parameters.push({type:"Identifier",name:"place"})),tree.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:parameters,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[toBinaryAddition(message)]}}]}})}outputFormat==="function-body"&&tree.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function createImportProvider(providerImportSource,outputFormat){let specifiers=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return outputFormat==="function-body"?{type:"VariableDeclaration",kind:"const",declarations:specifiersToDeclarations(specifiers,toIdOrMemberExpression(["arguments",0]))}:{type:"ImportDeclaration",specifiers,source:{type:"Literal",value:providerImportSource}}}function isNamedFunction(node2,name2){return!!(node2&&"id"in node2&&node2.id&&node2.id.name===name2)}function inScope(scope,id){let currentScope=scope;for(;currentScope;){if(currentScope.declarations.has(id))return!0;currentScope=currentScope.parent||void 0}return!1}var{stringify}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");var OPERATOR_PRECEDENCE={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},NEEDS_PARENTHESES=17,EXPRESSIONS_PRECEDENCE={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:NEEDS_PARENTHESES,ClassExpression:NEEDS_PARENTHESES,FunctionExpression:NEEDS_PARENTHESES,ObjectExpression:NEEDS_PARENTHESES,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function formatSequence(state,nodes){let{generator}=state;if(state.write("("),nodes!=null&&nodes.length>0){generator[nodes[0].type](nodes[0],state);let{length}=nodes;for(let i=1;i<length;i++){let param=nodes[i];state.write(", "),generator[param.type](param,state)}}state.write(")")}function expressionNeedsParenthesis(state,node2,parentNode,isRightHand){let nodePrecedence=state.expressionsPrecedence[node2.type];if(nodePrecedence===NEEDS_PARENTHESES)return!0;let parentNodePrecedence=state.expressionsPrecedence[parentNode.type];return nodePrecedence!==parentNodePrecedence?!isRightHand&&nodePrecedence===15&&parentNodePrecedence===14&&parentNode.operator==="**"||nodePrecedence<parentNodePrecedence:nodePrecedence!==13&&nodePrecedence!==14?!1:node2.operator==="**"&&parentNode.operator==="**"?!isRightHand:nodePrecedence===13&&parentNodePrecedence===13&&(node2.operator==="??"||parentNode.operator==="??")?!0:isRightHand?OPERATOR_PRECEDENCE[node2.operator]<=OPERATOR_PRECEDENCE[parentNode.operator]:OPERATOR_PRECEDENCE[node2.operator]<OPERATOR_PRECEDENCE[parentNode.operator]}function formatExpression(state,node2,parentNode,isRightHand){let{generator}=state;expressionNeedsParenthesis(state,node2,parentNode,isRightHand)?(state.write("("),generator[node2.type](node2,state),state.write(")")):generator[node2.type](node2,state)}function reindent(state,text5,indent2,lineEnd){let lines=text5.split(`
48
48
  `),end=lines.length-1;if(state.write(lines[0].trim()),end>0){state.write(lineEnd);for(let i=1;i<end;i++)state.write(indent2+lines[i].trim()+lineEnd);state.write(indent2+lines[end].trim())}}function formatComments(state,comments,indent2,lineEnd){let{length}=comments;for(let i=0;i<length;i++){let comment2=comments[i];state.write(indent2),comment2.type[0]==="L"?state.write("// "+comment2.value.trim()+`