!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bf5c0387-eeca-4d51-a06d-874b1df66517",e._sentryDebugIdIdentifier="sentry-dbid-bf5c0387-eeca-4d51-a06d-874b1df66517")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6941],{46008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,height:n=null,width:s=null,children:o,dataNtpc:l=""}=e;return(0,i.useEffect)(()=>{l&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(l)}})},[l]),(0,r.jsxs)(r.Fragment,{children:[o,t?(0,r.jsx)("div",{style:{height:null!=n?"".concat(n,"px"):"auto",width:null!=s?"".concat(s,"px"):"auto"},"data-ntpc":l,dangerouslySetInnerHTML:{__html:t}}):null]})};let r=n(64734),i=n(54982)},12075:(e,t,n)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=function(e){let{gaId:t,debugMode:n,dataLayerName:l="dataLayer",nonce:a}=e;return void 0===r&&(r=l),(0,s.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(l,"'] = window['").concat(l,"'] || [];\n function gtag(){window['").concat(l,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"' ").concat(n?",{ 'debug_mode': true }":"",");")},nonce:a}),(0,i.jsx)(o.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t),nonce:a})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=void 0,t.GoogleTagManager=function(e){let{gtmId:t,gtmScriptUrl:n="https://www.googletagmanager.com/gtm.js",dataLayerName:l="dataLayer",auth:a,preview:u,dataLayer:c,nonce:p}=e;o=l;let f="dataLayer"!==l?"&l=".concat(l):"";return(0,i.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(c?"w[l].push(".concat(JSON.stringify(c),")"):"","\n })(window,'").concat(l,"');")},nonce:p}),(0,r.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:"".concat(n,"?id=").concat(t).concat(f).concat(a?">m_auth=".concat(a):"").concat(u?">m_preview=".concat(u,">m_cookies_win=x"):"")})]})};let r=n(64734),i=n(54982),s=function(e){return e&&e.__esModule?e:{default:e}}(n(64629)),o="dataLayer";t.sendGTMEvent=(e,t)=>{let n=t||o;window[n]=window[n]||[],window[n].push(e)}},17706:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=n(1553);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return r(i).default}});var s=n(91686);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return r(s).default}});var o=n(67784);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return o.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return o.sendGTMEvent}});var l=n(12075);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return l.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return l.sendGAEvent}})},91686:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,scripts:n,stylesheets:r}=(0,o.YouTubeEmbed)(e);return(0,i.jsx)(l.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==n?void 0:n.map(e=>(0,i.jsx)(s.default,{src:e.url,strategy:a[e.strategy],stylesheets:r},e.url))})};let i=n(64734),s=r(n(64629)),o=n(29809),l=r(n(46008)),a={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},24530:(e,t,n)=>{"use strict";let r=n(47450),i=/^[\da-fA-F]+$/,s=/^\d+$/,o=new WeakMap;function l(e){e=e.Parser.acorn||e;let t=o.get(e);if(!t){let n=e.tokTypes,r=e.TokContext,i=e.TokenType,s=new r("...",!0,!0),u={jsxName:new i("jsxName"),jsxText:new i("jsxText",{beforeExpr:!0}),jsxTagStart:new i("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new i("jsxTagEnd")};u.jsxTagStart.updateContext=function(){this.context.push(a),this.context.push(s),this.exprAllowed=!1},u.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===s&&e===n.slash||t===l?(this.context.pop(),this.exprAllowed=this.curContext()===a):this.exprAllowed=!0},t={tokContexts:{tc_oTag:s,tc_cTag:l,tc_expr:a},tokTypes:u},o.set(e,t)}return t}function a(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?a(e.object)+"."+a(e.property):void 0:e}e.exports=function(e){return e=e||{},function(t){return function(e,t){let o=t.acorn||n(50340),u=l(o),c=o.tokTypes,p=u.tokTypes,f=o.tokContexts,h=u.tokContexts.tc_oTag,d=u.tokContexts.tc_cTag,m=u.tokContexts.tc_expr,g=o.isNewLine,y=o.isIdentifierStart,x=o.isIdentifierChar;return class extends t{static get acornJsx(){return u}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let n=this.input.charCodeAt(this.pos);switch(n){case 60:case 123:if(this.pos===this.start){if(60===n&&this.exprAllowed)return++this.pos,this.finishToken(p.jsxTagStart);return this.getTokenFromCode(n)}return e+=this.input.slice(t,this.pos),this.finishToken(p.jsxText,e);case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===n?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:g(n)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,n=this.input.charCodeAt(this.pos);return++this.pos,13===n&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(n),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",n=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let r=this.input.charCodeAt(this.pos);if(r===e)break;38===r?(t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos):g(r)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!1),n=this.pos):++this.pos}return t+=this.input.slice(n,this.pos++),this.finishToken(c.string,t)}jsx_readEntity(){let e="",t=0,n,o=this.input[this.pos];"&"!==o&&this.raise(this.pos,"Entity must start with an ampersand");let l=++this.pos;for(;this.pos")}let o=i.name?"Element":"Fragment";return n["opening"+o]=i,n["closing"+o]=s,n.children=r,this.type===c.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(n,"JSX"+o)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===p.jsxText?this.jsx_parseText():this.type===p.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===h||t===d){if(y(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(p.jsxTagEnd);if((34===e||39===e)&&t==h)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(p.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==c.braceL){var t=this.curContext();t==h?this.context.push(f.b_expr):t==m?this.context.push(f.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==c.slash||e!==p.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(d),this.exprAllowed=!1}}}}({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return l(n(50340)).tokTypes},configurable:!0,enumerable:!0})},47450:e=>{e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},41280:(e,t)=>{"use strict";t.byteLength=function(e){var t=a(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,s=a(e),o=s[0],l=s[1],u=new i((o+l)*3/4-l),c=0,p=l>0?o-4:o;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,s=[],o=0,l=r-i;o>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return s.join("")}(e,o,o+16383>l?l:o+16383));return 1===i?s.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&s.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),s.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=s.length;o0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},57300:(e,t,n)=>{"use strict";let r=n(41280),i=n(74497),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return a(e,t,n)}function a(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|d(e,t),r=o(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(F(e,Uint8Array)){let t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return p(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return f(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return l.from(r,t,n);let i=function(e){var t;if(l.isBuffer(e)){let t=0|h(e.length),n=o(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?o(0):p(e):"Buffer"===e.type&&Array.isArray(e.data)?p(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),o(e<0?0:0|h(e))}function p(e){let t=e.length<0?0:0|h(e.length),n=o(t);for(let r=0;r=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function d(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return P(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return M(e).length;default:if(i)return r?-1:P(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(s=n=+n)!=s&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:x(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):x(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function x(e,t,n,r,i){let s,o=1,l=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;o=2,l/=2,a/=2,n/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){let r=-1;for(s=n;sl&&(n=l-a),s=n;s>=0;s--){let n=!0;for(let r=0;r239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,l,a;switch(o){case 1:t<128&&(s=t);break;case 2:(192&(n=e[i+1]))==128&&(a=(31&t)<<6|63&n)>127&&(s=a);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(a=(15&t)<<12|(63&n)<<6|63&r)>2047&&(a<55296||a>57343)&&(s=a);break;case 4:n=e[i+1],r=e[i+2],l=e[i+3],(192&n)==128&&(192&r)==128&&(192&l)==128&&(a=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&l)>65535&&a<1114112&&(s=a)}}null===s?(s=65533,o=1):s>65535&&(s-=65536,r.push(s>>>10&1023|55296),s=56320|1023&s),r.push(s),i+=o}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rn)throw RangeError("Trying to access beyond buffer length")}function v(e,t,n,r,i,s){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw RangeError("Index out of range")}function k(e,t,n,r,i){N(t,r,i,e,n,7);let s=Number(t&BigInt(0xffffffff));e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s;let o=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function E(e,t,n,r,i){N(t,r,i,e,n,7);let s=Number(t&BigInt(0xffffffff));e[n+7]=s,s>>=8,e[n+6]=s,s>>=8,e[n+5]=s,s>>=8,e[n+4]=s;let o=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}function S(e,t,n,r,i,s){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function T(e,t,n,r,s){return t=+t,n>>>=0,s||S(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function I(e,t,n,r,s){return t=+t,n>>>=0,s||S(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.lW=l,t.h2=50,l.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return a(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return(u(e),e<=0)?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)},l.allocUnsafe=function(e){return c(e)},l.allocUnsafeSlow=function(e){return c(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(F(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,s=Math.min(n,r);ir.length?(l.isBuffer(t)||(t=l.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(l.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},l.byteLength=d,l.prototype._isBuffer=!0,l.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tn&&(e+=" ... "),""},s&&(l.prototype[s]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,i){if(F(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let s=i-r,o=n-t,a=Math.min(s,o),u=this.slice(r,i),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let f=this.length-t;if((void 0===n||n>f)&&(n=f),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let h=!1;for(;;)switch(r){case"hex":return function(e,t,n,r){let i;n=Number(n)||0;let s=e.length-n;r?(r=Number(r))>s&&(r=s):r=s;let o=t.length;for(r>o/2&&(r=o/2),i=0;i>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,p);default:if(h)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),h=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,s=0;for(;++s>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=R(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&L(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*n;return BigInt(r)+(BigInt(i)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&L(e,this.length-8);let r=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,s=0;for(;++s=(i*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=t,i=1,s=this[e+--r];for(;r>0&&(i*=256);)s+=this[e+--r]*i;return s>=(i*=128)&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=R(function(e){j(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&L(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&L(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;v(this,e,t,n,r,0)}let i=1,s=0;for(this[t]=255&e;++s>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;v(this,e,t,n,r,0)}let i=n-1,s=1;for(this[t+i]=255&e;--i>=0&&(s*=256);)this[t+i]=e/s&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigUInt64LE=R(function(e,t=0){return k(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=R(function(e,t=0){return E(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);v(this,e,t,n,r-1,-r)}let i=0,s=1,o=0;for(this[t]=255&e;++i>0)-o&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);v(this,e,t,n,r-1,-r)}let i=n-1,s=1,o=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===o&&0!==this[t+i+1]&&(o=1),this[t+i]=(e/s>>0)-o&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeBigInt64LE=R(function(e,t=0){return k(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=R(function(e,t=0){return E(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeFloatLE=function(e,t,n){return T(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return T(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return I(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return I(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function N(e,t,n,r,i,s){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(s+1)*8}${i}`:`>= -(2${i} ** ${(s+1)*8-1}${i}) and < 2 ** ${(s+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new A.ERR_OUT_OF_RANGE("value",r,e)}j(i,"offset"),(void 0===r[i]||void 0===r[i+s])&&L(i,r.length-(s+1))}function j(e,t){if("number"!=typeof e)throw new A.ERR_INVALID_ARG_TYPE(t,"number",e)}function L(e,t,n){if(Math.floor(e)!==e)throw j(e,n),new A.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new A.ERR_BUFFER_OUT_OF_BOUNDS;throw new A.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}O("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),O("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),O("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>0x100000000?i=C(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=C(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let _=/[^+/0-9A-Za-z-_]/g;function P(e,t){let n;t=t||1/0;let r=e.length,i=null,s=[];for(let o=0;o55295&&n<57344){if(!i){if(n>56319||o+1===r){(t-=3)>-1&&s.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&s.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;s.push(n)}else if(n<2048){if((t-=2)<0)break;s.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;s.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;s.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return s}function M(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function D(e,t,n,r){let i;for(i=0;i=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let B=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function R(e){return"undefined"==typeof BigInt?J:e}function J(){throw Error("BigInt not supported")}},96741:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),s=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!s)return!1;for(r in e);return void 0===r||t.call(e,r)},l=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},a=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,p=arguments[0],f=1,h=arguments.length,d=!1;for("boolean"==typeof p&&(d=p,p=arguments[1]||{},f=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});f{t.read=function(e,t,n,r,i){var s,o,l=8*i-r-1,a=(1<>1,c=-7,p=n?i-1:0,f=n?-1:1,h=e[t+p];for(p+=f,s=h&(1<<-c)-1,h>>=-c,c+=l;c>0;s=256*s+e[t+p],p+=f,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=r;c>0;o=256*o+e[t+p],p+=f,c-=8);if(0===s)s=1-u;else{if(s===a)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),s-=u}return(h?-1:1)*o*Math.pow(2,s-r)},t.write=function(e,t,n,r,i,s){var o,l,a,u=8*s-i-1,c=(1<>1,f=23===i?5960464477539062e-23:0,h=r?0:s-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(l=isNaN(t)?1:0,o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-o))<1&&(o--,a*=2),o+p>=1?t+=f/a:t+=f*Math.pow(2,1-p),t*a>=2&&(o++,a/=2),o+p>=c?(l=0,o=c):o+p>=1?(l=(t*a-1)*Math.pow(2,i),o+=p):(l=t*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;e[n+h]=255&l,h+=d,l/=256,i-=8);for(o=o<0;e[n+h]=255&o,h+=d,o/=256,u-=8);e[n+h-d]|=128*m}},91533:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,a=/^\s+|\s+$/g;function u(e){return e?e.replace(a,""):""}e.exports=function(e,a){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];a=a||{};var c=1,p=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");p=~r?e.length-r:p+e.length}function h(){var e={line:c,column:p};return function(t){return t.position=new d(e),y(r),t}}function d(e){this.start=e,this.end={line:c,column:p},this.source=a.source}d.prototype.content=e;var m=[];function g(t){var n=Error(a.source+":"+c+":"+p+": "+t);if(n.reason=t,n.filename=a.source,n.line=c,n.column=p,n.source=e,a.silent)m.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function x(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return p+=2,f(r),e=e.slice(n),p+=2,t({type:"comment",comment:r})}}return y(r),function(){var e,n=[];for(x(n);e=function(){var e=h(),n=y(i);if(n){if(b(),!y(s))return g("property missing ':'");var r=y(o),a=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return y(l),a}}();)!1!==e&&(n.push(e),x(n));return n}()}},14763:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},998:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(54982);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var e=arguments.length,t=Array(e),n=0;n!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:a,className:u="",children:c,iconNode:p,...f}=e;return(0,r.createElement)("svg",{ref:t,...o,width:i,height:i,stroke:n,strokeWidth:a?24*Number(l)/Number(i):l,className:s("lucide",u),...f},[...p.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),a=(e,t)=>{let n=(0,r.forwardRef)((n,o)=>{let{className:a,...u}=n;return(0,r.createElement)(l,{ref:o,iconNode:t,className:s("lucide-".concat(i(e)),a),...u})});return n.displayName="".concat(e),n}},68838:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});let r=(0,n(998).Z)("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},62194:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});let r=(0,n(998).Z)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},29470:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(43288),i=n.n(r)},53607:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(59261),i=n.n(r)},68233:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(64489),i=n.n(r)},94498:(e,t,n)=>{"use strict";var r=n(74623);n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},64629:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i.a});var r=n(81680),i=n.n(r),s={};for(let e in r)"default"!==e&&(s[e]=()=>r[e]);n.d(t,s)},43288:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(91180)._(n(75079));function i(e,t){var n;let i={};"function"==typeof e&&(i.loader=e);let s={...i,...t};return(0,r.default)({...s,modules:null==(n=s.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},59261:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return a},getImageProps:function(){return l}});let r=n(91180),i=n(68004),s=n(16789),o=r._(n(93567));function l(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let a=s.Image},85452:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let r=n(82291);function i(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new r.BailoutToCSRError(t);return n}},75079:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let r=n(64734),i=n(54982),s=n(85452),o=n(29534);function l(e){return{default:e&&"default"in e?e.default:e}}let a={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},u=function(e){let t={...a,...e},n=(0,i.lazy)(()=>t.loader().then(l)),u=t.loading;function c(e){let l=u?(0,r.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,c=a?i.Suspense:i.Fragment,p=t.ssr?(0,r.jsxs)(r.Fragment,{children:["undefined"==typeof window?(0,r.jsx)(o.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(c,{...a?{fallback:l}:{},children:p})}return c.displayName="LoadableComponent",c}},29534:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return l}});let r=n(64734),i=n(86835),s=n(84378),o=n(73718);function l(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=s.workAsyncStorage.getStore();if(void 0===n)return null;let l=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files;l.push(...t)}}return 0===l.length?null:(0,r.jsx)(r.Fragment,{children:l.map(e=>{let t=n.assetPrefix+"/_next/"+(0,o.encodeURIPath)(e);return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style"},e):((0,i.preload)(t,{as:"script",fetchPriority:"low"}),null)})})}},74541:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},21186:(e,t,n)=>{var r=n(91533);function i(e,t){var n,i,s,o=null;if(!e||"string"!=typeof e)return o;for(var l=r(e),a="function"==typeof t,u=0,c=l.length;u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var r=n(43668);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return r.GoogleAnalytics}});var i=n(26198);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var s=n(93184);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return s.YouTubeEmbed}})},43668:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let s=i(n(68812)),o=n(41017);t.GoogleAnalytics=e=>{var t=r(e,[]);return(0,o.formatData)(s.default,t)}},26198:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let s=i(n(6795)),o=n(41017);t.GoogleMapsEmbed=e=>{var t=r(e,[]);return(0,o.formatData)(s.default,t)}},93184:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let s=i(n(63667)),o=n(41017);t.YouTubeEmbed=e=>{var t=r(e,[]);return(0,o.formatData)(s.default,t)}},41017:(e,t)=>{"use strict";function n(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}):{}}function r(e,t,n,r){let i=r&&Object.keys(r).length>0?new URL(Object.values(r)[0],e):new URL(e);return t&&n&&t.forEach(e=>{n[e]&&i.searchParams.set(e,n[e])}),i.toString()}function i(e,t,n,i,s){var o;if(!t)return`<${e}>`;let l=(null===(o=t.src)||void 0===o?void 0:o.url)?Object.assign(Object.assign({},t),{src:r(t.src.url,t.src.params,i,s)}):t,a=Object.keys(Object.assign(Object.assign({},l),n)).reduce((e,t)=>{let r=null==n?void 0:n[t],i=l[t],s=null!=r?r:i,o=!0===s?t:`${t}="${s}"`;return s?e+` ${o}`:e},"");return`<${e}${a}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=r,t.createHtml=i,t.formatData=function(e,t){var s,o,l,a,u;let c=n(t,null===(s=e.scripts)||void 0===s?void 0:s.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),p=n(t,null===(l=null===(o=e.html)||void 0===o?void 0:o.attributes.src)||void 0===l?void 0:l.params),f=n(t,[null===(u=null===(a=e.html)||void 0===a?void 0:a.attributes.src)||void 0===u?void 0:u.slugParam]),h=n(t,[...Object.keys(c),...Object.keys(p),...Object.keys(f)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,h,p,f):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:r(e.url,e.params,c)})):null})}},82378:(e,t,n)=>{"use strict";let r;var i=n(28070),s=n(74541),o=n(14763),l=n(42755);let a=(e,t)=>n=>e(t(n));function u(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:a(a(e.white,e.bgRed),e.bold),gutter:e.gray,marker:a(e.red,e.bold),message:a(e.red,e.bold),reset:e.reset}}let c=u(s.createColors(!0)),p=u(s.createColors(!1)),f=new Set(["as","async","from","get","of","set"]),h=/\r\n|[\n\r\u2028\u2029]/,d=/^[()[\]{}]$/;{let e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if(l.isKeyword(t.value)||l.isStrictReservedWord(t.value,!0)||f.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"c[n](e)).join("\n"):t+=i;return t}(e):e).split(m,u).slice(a,u).map((e,t)=>{let r=a+1+t,i=` ${r}`.slice(-g),s=` ${i} |`,o=f[r],u=!f[r+1];if(!o)return` ${l.gutter(s)}${e.length>0?` ${e}`:""}`;{let t="";if(Array.isArray(o)){let r=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),i=o[1]||1;t=["\n ",l.gutter(s.replace(/\d/g," "))," ",r,l.marker("^").repeat(i)].join(""),u&&n.message&&(t+=" "+l.message(n.message))}return[l.marker(">"),l.gutter(s),e.length>0?` ${e}`:"",t].join("")}}).join("\n");return(n.message&&!d&&(y=`${" ".repeat(g+1)}${n.message} ${y}`),o)?l.reset(y):y}},48928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=c,t.isIdentifierName=function(e){let t=!0;for(let n=0;ne);r+=2)if((n+=t[r+1])>=e)return!0;return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):a(e,o)))}function c(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):a(e,o)||a(e,l))))}},42755:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var r=n(48928),i=n(93933)},93933:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return r.has(e)},t.isReservedWord=o,t.isStrictBindOnlyReservedWord=a,t.isStrictBindReservedWord=function(e,t){return l(e,t)||a(e)},t.isStrictReservedWord=l;let n={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},r=new Set(n.keyword),i=new Set(n.strict),s=new Set(n.strictBind);function o(e,t){return t&&"await"===e||"enum"===e}function l(e,t){return o(e,t)||i.has(e)}function a(e){return s.has(e)}},99851:(e,t,n)=>{"use strict";e.exports.jsxRuntime=n(64734)},8249:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(18752),i=n(38245),s=n(47761),o=n(11031),l=n(64734),a=(0,i.Gp)((e,t)=>{var n;let{as:i,className:a,children:u,...c}=e,p=(0,s.gy)(t),{slots:f,classNames:h}=(0,r.R)(),d=(0,o.W)(null==h?void 0:h.header,a);return(0,l.jsx)(i||"div",{ref:p,className:null==(n=f.header)?void 0:n.call(f,{class:d}),...c,children:u})});a.displayName="NextUI.CardHeader";var u=a},48753:(e,t,n)=>{"use strict";n.d(t,{i:()=>u});var r=n(18752),i=n(38245),s=n(47761),o=n(11031),l=n(64734),a=(0,i.Gp)((e,t)=>{var n;let{as:i,className:a,children:u,...c}=e,p=(0,s.gy)(t),{slots:f,classNames:h}=(0,r.R)(),d=(0,o.W)(null==h?void 0:h.footer,a);return(0,l.jsx)(i||"div",{ref:p,className:null==(n=f.footer)?void 0:n.call(f,{class:d}),...c,children:u})});a.displayName="NextUI.CardFooter";var u=a},88811:(e,t,n)=>{"use strict";n.d(t,{d:()=>f});var r=n(54982),i=n(87556),s=n(38245),o=(0,n(48354).tv)({slots:{wrapper:"relative shadow-black/5",zoomedWrapper:"relative overflow-hidden rounded-inherit",img:"relative z-10 opacity-0 shadow-black/5 data-[loaded=true]:opacity-100",blurredImg:["absolute","z-0","inset-0","w-full","h-full","object-cover","filter","blur-lg","scale-105","saturate-150","opacity-30","translate-y-1"]},variants:{radius:{none:{},sm:{},md:{},lg:{},full:{}},shadow:{none:{wrapper:"shadow-none",img:"shadow-none"},sm:{wrapper:"shadow-small",img:"shadow-small"},md:{wrapper:"shadow-medium",img:"shadow-medium"},lg:{wrapper:"shadow-large",img:"shadow-large"}},isZoomed:{true:{img:["object-cover","transform","hover:scale-125"]}},showSkeleton:{true:{wrapper:["group","relative","overflow-hidden","bg-content3 dark:bg-content2"],img:"opacity-0"}},disableAnimation:{true:{img:"transition-none"},false:{img:"transition-transform-opacity motion-reduce:transition-none !duration-300"}}},defaultVariants:{radius:"lg",shadow:"none",isZoomed:!1,isBlurred:!1,showSkeleton:!1},compoundVariants:[{showSkeleton:!0,disableAnimation:!1,class:{wrapper:["before:opacity-100","before:absolute","before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite]","before:border-t","before:border-content4/30","before:bg-gradient-to-r","before:from-transparent","before:via-content4","dark:before:via-default-700/10","before:to-transparent","after:opacity-100","after:absolute","after:inset-0","after:-z-10","after:bg-content3","dark:after:bg-content2"]}}],compoundSlots:[{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"none",class:"rounded-none"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"full",class:"rounded-full"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"sm",class:"rounded-small"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"md",class:"rounded-md"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"lg",class:"rounded-large"}]}),l=n(47761),a=n(35162),u=n(11031),c=n(83477),p=n(30264);function f(e){var t,n;let f=(0,i.w)(),[h,d]=(0,s.oe)(e,o.variantKeys),{ref:m,as:g,src:y,className:x,classNames:b,loading:w,isBlurred:v,fallbackSrc:k,isLoading:E,disableSkeleton:S=!!k,removeWrapper:T=!1,onError:I,onLoad:A,srcSet:O,sizes:C,crossOrigin:N,...j}=h,L=(0,p.d)({src:y,loading:w,onError:I,onLoad:A,ignoreFallback:!1,srcSet:O,sizes:C,crossOrigin:N}),_=null!=(n=null!=(t=e.disableAnimation)?t:null==f?void 0:f.disableAnimation)&&n,P="loaded"===L&&!E,M="loading"===L||E,D=e.isZoomed,F=(0,l.gy)(m),{w:B,h:R}=(0,r.useMemo)(()=>({w:h.width?"number"==typeof h.width?"".concat(h.width,"px"):h.width:"fit-content",h:h.height?"number"==typeof h.height?"".concat(h.height,"px"):h.height:"auto"}),[null==h?void 0:h.width,null==h?void 0:h.height]),J=(!y||!P)&&!!k,$=M&&!S,U=(0,r.useMemo)(()=>o({...d,disableAnimation:_,showSkeleton:$}),[(0,a.Xx)(d),_,$]),z=(0,u.W)(x,null==b?void 0:b.img),q=(0,r.useCallback)(()=>{let e=J?{backgroundImage:"url(".concat(k,")")}:{};return{className:U.wrapper({class:null==b?void 0:b.wrapper}),style:{...e,maxWidth:B}}},[U,J,k,null==b?void 0:b.wrapper]),V=(0,r.useCallback)(()=>({src:y,"aria-hidden":(0,c.PB)(!0),className:U.blurredImg({class:null==b?void 0:b.blurredImg})}),[U,y,null==b?void 0:b.blurredImg]);return{Component:g||"img",domRef:F,slots:U,classNames:b,isBlurred:v,disableSkeleton:S,fallbackSrc:k,removeWrapper:T,isZoomed:D,isLoading:M,getImgProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,u.W)(z,null==e?void 0:e.className);return{src:y,ref:F,"data-loaded":(0,c.PB)(P),className:U.img({class:t}),loading:w,srcSet:O,sizes:C,crossOrigin:N,...j,style:{...(null==j?void 0:j.height)&&{height:R},...e.style,...j.style}}},getWrapperProps:q,getBlurredImgProps:V}}},21473:(e,t,n)=>{"use strict";n.d(t,{J:()=>a});var r=n(88811),i=n(54982),s=n(38245),o=n(64734),l=(0,s.Gp)((e,t)=>{let{Component:n,domRef:s,slots:l,classNames:a,isBlurred:u,isZoomed:c,fallbackSrc:p,removeWrapper:f,disableSkeleton:h,getImgProps:d,getWrapperProps:m,getBlurredImgProps:g}=(0,r.d)({...e,ref:t}),y=(0,o.jsx)(n,{ref:s,...d()});if(f)return y;let x=(0,o.jsx)("div",{className:l.zoomedWrapper({class:null==a?void 0:a.zoomedWrapper}),children:y});return u?(0,o.jsxs)("div",{...m(),children:[c?x:y,(0,i.cloneElement)(y,g())]}):c||!h||p?(0,o.jsxs)("div",{...m(),children:[" ",c?x:y]}):y});l.displayName="NextUI.Image";var a=l},40094:(e,t,n)=>{"use strict";n.d(t,{a:()=>h});var r=n(54982),i=n(47651),s=n(48354),o=n(30074),l=(0,s.tv)({slots:{base:["inline-flex items-center justify-center gap-2 rounded-small outline-none",...o.Dh],wrapper:"inline-flex flex-col items-start",name:"text-small text-inherit",description:"text-tiny text-foreground-400"}}),a=n(11031),u=n(83477),c=n(25917),p=n(47761),f=n(48074);function h(e){let{as:t,ref:n,name:s,description:o,className:h,classNames:d,isFocusable:m=!1,avatarProps:g={},...y}=e,x={isFocusable:!1,...g},b=t||"div",w="string"==typeof b,v=(0,p.gy)(n),{isFocusVisible:k,isFocused:E,focusProps:S}=(0,i.F)({}),T=(0,r.useMemo)(()=>m||"button"===t,[m,t]),I=(0,r.useMemo)(()=>l(),[]),A=(0,a.W)(null==d?void 0:d.base,h),O=(0,r.useCallback)(()=>({ref:v,tabIndex:T?0:-1,"data-focus-visible":(0,u.PB)(k),"data-focus":(0,u.PB)(E),className:I.base({class:A}),...(0,f.d)((0,c.z)(y,{enabled:w}),T?S:{})}),[T,I,A,S,y]);return{Component:b,className:h,slots:I,name:s,description:o,classNames:d,baseStyles:A,avatarProps:x,getUserProps:O}}},42637:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(40094),i=n(38245),s=n(86175),o=n(64734),l=(0,i.Gp)((e,t)=>{let{Component:n,name:i,slots:l,classNames:a,description:u,avatarProps:c,getUserProps:p}=(0,r.a)({...e,ref:t});return(0,o.jsxs)(n,{...p(),children:[(0,o.jsx)(s.h,{...c}),(0,o.jsxs)("div",{className:l.wrapper({class:null==a?void 0:a.wrapper}),children:[(0,o.jsx)("span",{className:l.name({class:null==a?void 0:a.name}),children:i}),(0,o.jsx)("span",{className:l.description({class:null==a?void 0:a.description}),children:u})]})]})});l.displayName="NextUI.User";var a=l},83096:(e,t,n)=>{"use strict";let r,i,s,o,l,a,u;n.d(t,{v:()=>lL});var c={};n.r(c),n.d(c,{boolean:()=>ex,booleanish:()=>eb,commaOrSpaceSeparated:()=>eS,commaSeparated:()=>eE,number:()=>ev,overloadedBoolean:()=>ew,spaceSeparated:()=>ek});var p={};n.r(p),n.d(p,{attentionMarkers:()=>rg,contentInitial:()=>rc,disable:()=>ry,document:()=>ru,flow:()=>rf,flowInitial:()=>rp,insideSpan:()=>rm,string:()=>rh,text:()=>rd});var f={};n.r(f),n.d(f,{BOM:()=>o6,DOCUMENT:()=>o5,FLOW_END:()=>o8,SCALAR:()=>o9,createScalarToken:()=>oW,isCollection:()=>o7,isScalar:()=>le,prettyToken:()=>lt,resolveAsScalar:()=>oK,setScalarValue:()=>oH,stringify:()=>oQ,tokenType:()=>ln,visit:()=>o4});var h={};n.r(h),n.d(h,{Alias:()=>se,CST:()=>f,Composer:()=>oX,Document:()=>ov,Lexer:()=>lu,LineCounter:()=>lc,Pair:()=>sL,Parser:()=>ly,Scalar:()=>sn,Schema:()=>ow,YAMLError:()=>oE,YAMLMap:()=>sD,YAMLParseError:()=>oS,YAMLSeq:()=>sB,YAMLWarning:()=>oT,isAlias:()=>iD,isCollection:()=>iU,isDocument:()=>iF,isMap:()=>iB,isNode:()=>iz,isPair:()=>iR,isScalar:()=>iJ,isSeq:()=>i$,parse:()=>lv,parseAllDocuments:()=>lb,parseDocument:()=>lw,stringify:()=>lk,visit:()=>iW,visitAsync:()=>iG});var d=n(54982),m=n(99851);function g(e){return e&&"object"==typeof e?"position"in e||"type"in e?x(e.position):"start"in e||"end"in e?x(e):"line"in e||"column"in e?y(e):"":""}function y(e){return b(e&&e.line)+":"+b(e&&e.column)}function x(e){return y(e&&e.start)+"-"+y(e&&e.end)}function b(e){return e&&"number"==typeof e?e:1}class w extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},s=!1;if(t&&(i="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(s=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=g(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}w.prototype.file="",w.prototype.name="",w.prototype.reason="",w.prototype.message="",w.prototype.stack="",w.prototype.column=void 0,w.prototype.line=void 0,w.prototype.ancestors=void 0,w.prototype.cause=void 0,w.prototype.fatal=void 0,w.prototype.place=void 0,w.prototype.ruleId=void 0,w.prototype.source=void 0;let v={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');k(e);let r=0,i=-1,s=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;s--;)if(47===e.codePointAt(s)){if(n){r=s+1;break}}else i<0&&(n=!0,i=s+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,l=t.length-1;for(;s--;)if(47===e.codePointAt(s)){if(n){r=s+1;break}}else o<0&&(n=!0,o=s+1),l>-1&&(e.codePointAt(s)===t.codePointAt(l--)?l<0&&(i=s):(l=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(k(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;k(e);let n=e.length,r=-1,i=0,s=-1,o=0;for(;n--;){let l=e.codePointAt(n);if(47===l){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===l?s<0?s=n:1!==o&&(o=1):s>-1&&(o=-1)}return s<0||r<0||0===o||1===o&&s===r-1&&s===i+1?"":e.slice(s,r)},join:function(...e){let t,n=-1;for(;++n2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",s=0):s=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=a,l=0;continue}}else if(i.length>0){i="",s=0,o=a,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",s=2)}else i.length>0?i+="/"+e.slice(o+1,a):i=e.slice(o+1,a),s=a-o-1;o=a,l=0}else 46===n&&l>-1?l++:l=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function k(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let E={cwd:function(){return"/"}};function S(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let T=["history","path","basename","stem","extname","dirname"];class I{constructor(e){let t,n;t=e?S(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":E.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++rthis.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,n,r){e&&t&&(null!=n?e[t][n]=r:e[t]=r)}remove(e,t,n){e&&t&&(null!=n?e[t].splice(n,1):delete e[t])}}class $ extends J{constructor(e,t){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:e=>this.replacement=e},this.enter=e,this.leave=t}visit(e,t,n,r){if(e){let i;if(this.enter){let i=this.should_skip,s=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,n,r),this.replacement&&(e=this.replacement,this.replace(t,n,r,e)),this.should_remove&&this.remove(t,n,r);let l=this.should_skip,a=this.should_remove;if(this.should_skip=i,this.should_remove=s,this.replacement=o,l)return e;if(a)return null}for(i in e){let t=e[i];if(t&&"object"==typeof t){if(Array.isArray(t))for(let n=0;n0){let r=0;for(;r0&&c.push({type:"Property",key:{type:"Identifier",name:"children"},value:a.length>1?{type:"ArrayExpression",elements:a}:a[0],kind:"init",method:!1,shorthand:!1,computed:!1}):p=a,r){p.push({type:"ObjectExpression",properties:c}),o?p.push(o):n.development&&p.push({type:"Identifier",name:"undefined"});let t=a.length>1;if(n.development){s.jsxDEV=!0,l={type:"Identifier",name:"_jsxDEV"},p.push({type:"Literal",value:t});let r={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:n.filePath||""}}]};e.loc&&r.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:e.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:e.loc.start.column+1}}),p.push(r,{type:"ThisExpression"})}else t?(s.jsxs=!0,l={type:"Identifier",name:"_jsxs"}):(s.jsx=!0,l={type:"Identifier",name:"_jsx"})}else c.length>0?p.unshift({type:"ObjectExpression",properties:c}):p.length>0&&p.unshift({type:"Literal",value:null}),l=X(i.jsx||n.pragma||"React.createElement");p.unshift(t);let f={type:"CallExpression",callee:l,arguments:p,optional:!1};K(e,f),this.replace(f)}})}(t,{filePath:n.history[0],...e})}}var H=n(24530);let G={JSXAttribute:function(e,t){this[e.name.type](e.name,t),null!==e.value&&void 0!==e.value&&(t.write("="),"Literal"===e.value.type?t.write('"'+Y(String(e.value.value)).replace(/"/g,""")+'"',e):this[e.value.type](e.value,t))},JSXClosingElement:function(e,t){t.write("")},JSXClosingFragment:function(e,t){t.write("",e)},JSXElement:function(e,t){let n=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++n":">")},JSXOpeningFragment:function(e,t){t.write("<>",e)},JSXSpreadAttribute:function(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")},JSXText:function(e,t){t.write(Y(e.value).replace(/[<>{}]/g,Q),e)}};function Y(e){return e.replace(/&(?=[#a-z])/gi,"&")}function Q(e){return"<"===e?"<":">"===e?">":"{"===e?"{":"}"}function Z(){let e=this.data(),t=e.settings||(e.settings={}),n=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(H()),Object.assign(n,G)}let{stringify:ee}=JSON;if(!String.prototype.repeat)throw Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");let et={"||":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},en={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:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function er(e,t){let{generator:n}=e;if(e.write("("),null!=t&&t.length>0){n[t[0].type](t[0],e);let{length:r}=t;for(let i=1;i0){e.write(r);for(let t=1;t0){n.VariableDeclarator(r[0],e);for(let t=1;t0){t.write(r),i&&null!=e.comments&&eo(t,e.comments,s,r);let{length:l}=o;for(let e=0;e0){for(;s0&&t.write(", ");let e=n[s],r=e.type[6];if("D"===r)t.write(e.local.name,e),s++;else if("N"===r)t.write("* as "+e.local.name,e),s++;else break}if(s0){t.write(" with { ");for(let e=0;e0)for(let e=0;;){let i=n[e],{name:s}=i.local;if(t.write(s,i),s!==i.exported.name&&t.write(" as "+i.exported.name),++e0){t.write(" with { ");for(let n=0;n0){t.write(" with { ");for(let n=0;n "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:s=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:s,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),es(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:n,expressions:r}=e;t.write("`");let{length:i}=r;for(let e=0;e0){let{elements:n}=e,{length:r}=n;for(let e=0;;){let i=n[e];if(null!=i&&this[i.type](i,t),++e0){t.write(r),i&&null!=e.comments&&eo(t,e.comments,s,r);let o=","+r,{properties:l}=e,{length:a}=l;for(let e=0;;){let n=l[e];if(i&&null!=n.comments&&eo(t,n.comments,s,r),t.write(s),this[n.type](n,t),++e0){let{properties:n}=e,{length:r}=n;for(let e=0;;)if(this[n[e].type](n[e],t),++e1||"U"===i[0]&&("n"===i[1]||"p"===i[1])&&r.prefix&&r.operator[0]===n&&("+"===n||"-"===n))&&t.write(" "),s?(t.write(n.length>1?" (":"("),this[i](r,t),t.write(")")):this[i](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:o=function(e,t){let n="in"===e.operator;n&&t.write("("),es(t,e.left,e,!1),t.write(" "+e.operator+" "),es(t,e.right,e,!0),n&&t.write(")")},LogicalExpression:o,ConditionalExpression(e,t){let{test:n}=e,r=t.expressionsPrecedence[n.type];17===r||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[n.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let n=t.expressionsPrecedence[e.callee.type];17===n||n0&&(this.lineEndSize>0&&(1===r.length?e[n-1]===r:e.endsWith(r))?(this.line+=this.lineEndSize,this.column=0):this.column+=n)}toString(){return this.output}}let ep={};function ef(e){let t=this;this.compiler=function(n,r){let i={...t.data("settings"),...e},s=function(e,t){let{SourceMapGenerator:n,filePath:r,handlers:i}=t||ep,s=n?new n({file:r||".js"}):void 0;return{value:function(e,t){let n=new ec(t);return n.generator[e.type](e,n),n.output}(e,{comments:!0,generator:{...ea,...i},sourceMap:s||void 0}),map:s?s.toJSON():void 0}}(n,{SourceMapGenerator:i.SourceMapGenerator,filePath:r.path||"unknown.js",handlers:i.handlers});return r.map=s.map,s.value}}class eh{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function ed(e,t){let n={},r={},i=-1;for(;++i"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ej=eC({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function eL(e,t){return t in e?e[t]:t}function e_(e,t){return eL(e,t.toLowerCase())}let eP=eC({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:e_,properties:{xmlns:null,xmlnsXLink:null}}),eM=eC({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:eb,ariaAutoComplete:null,ariaBusy:eb,ariaChecked:eb,ariaColCount:ev,ariaColIndex:ev,ariaColSpan:ev,ariaControls:ek,ariaCurrent:null,ariaDescribedBy:ek,ariaDetails:null,ariaDisabled:eb,ariaDropEffect:ek,ariaErrorMessage:null,ariaExpanded:eb,ariaFlowTo:ek,ariaGrabbed:eb,ariaHasPopup:null,ariaHidden:eb,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ek,ariaLevel:ev,ariaLive:null,ariaModal:eb,ariaMultiLine:eb,ariaMultiSelectable:eb,ariaOrientation:null,ariaOwns:ek,ariaPlaceholder:null,ariaPosInSet:ev,ariaPressed:eb,ariaReadOnly:eb,ariaRelevant:null,ariaRequired:eb,ariaRoleDescription:ek,ariaRowCount:ev,ariaRowIndex:ev,ariaRowSpan:ev,ariaSelected:eb,ariaSetSize:ev,ariaSort:null,ariaValueMax:ev,ariaValueMin:ev,ariaValueNow:ev,ariaValueText:null,role:null}}),eD=eC({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:e_,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:eE,acceptCharset:ek,accessKey:ek,action:null,allow:null,allowFullScreen:ex,allowPaymentRequest:ex,allowUserMedia:ex,alt:null,as:null,async:ex,autoCapitalize:null,autoComplete:ek,autoFocus:ex,autoPlay:ex,blocking:ek,capture:null,charSet:null,checked:ex,cite:null,className:ek,cols:ev,colSpan:null,content:null,contentEditable:eb,controls:ex,controlsList:ek,coords:ev|eE,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ex,defer:ex,dir:null,dirName:null,disabled:ex,download:ew,draggable:eb,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ex,formTarget:null,headers:ek,height:ev,hidden:ex,high:ev,href:null,hrefLang:null,htmlFor:ek,httpEquiv:ek,id:null,imageSizes:null,imageSrcSet:null,inert:ex,inputMode:null,integrity:null,is:null,isMap:ex,itemId:null,itemProp:ek,itemRef:ek,itemScope:ex,itemType:ek,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ex,low:ev,manifest:null,max:null,maxLength:ev,media:null,method:null,min:null,minLength:ev,multiple:ex,muted:ex,name:null,nonce:null,noModule:ex,noValidate:ex,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ex,optimum:ev,pattern:null,ping:ek,placeholder:null,playsInline:ex,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ex,referrerPolicy:null,rel:ek,required:ex,reversed:ex,rows:ev,rowSpan:ev,sandbox:ek,scope:null,scoped:ex,seamless:ex,selected:ex,shadowRootClonable:ex,shadowRootDelegatesFocus:ex,shadowRootMode:null,shape:null,size:ev,sizes:null,slot:null,span:ev,spellCheck:eb,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ev,step:null,style:null,tabIndex:ev,target:null,title:null,translate:null,type:null,typeMustMatch:ex,useMap:null,value:eb,width:ev,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ek,axis:null,background:null,bgColor:null,border:ev,borderColor:null,bottomMargin:ev,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ex,declare:ex,event:null,face:null,frame:null,frameBorder:null,hSpace:ev,leftMargin:ev,link:null,longDesc:null,lowSrc:null,marginHeight:ev,marginWidth:ev,noResize:ex,noHref:ex,noShade:ex,noWrap:ex,object:null,profile:null,prompt:null,rev:null,rightMargin:ev,rules:null,scheme:null,scrolling:eb,standby:null,summary:null,text:null,topMargin:ev,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ev,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ex,disableRemotePlayback:ex,prefix:null,property:null,results:ev,security:null,unselectable:null}}),eF=eC({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:eL,properties:{about:eS,accentHeight:ev,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ev,amplitude:ev,arabicForm:null,ascent:ev,attributeName:null,attributeType:null,azimuth:ev,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ev,by:null,calcMode:null,capHeight:ev,className:ek,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ev,diffuseConstant:ev,direction:null,display:null,dur:null,divisor:ev,dominantBaseline:null,download:ex,dx:null,dy:null,edgeMode:null,editable:null,elevation:ev,enableBackground:null,end:null,event:null,exponent:ev,externalResourcesRequired:null,fill:null,fillOpacity:ev,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:eE,g2:eE,glyphName:eE,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ev,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ev,horizOriginX:ev,horizOriginY:ev,id:null,ideographic:ev,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ev,k:ev,k1:ev,k2:ev,k3:ev,k4:ev,kernelMatrix:eS,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ev,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ev,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ev,overlineThickness:ev,paintOrder:null,panose1:null,path:null,pathLength:ev,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ek,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ev,pointsAtY:ev,pointsAtZ:ev,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:eS,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:eS,rev:eS,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:eS,requiredFeatures:eS,requiredFonts:eS,requiredFormats:eS,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ev,specularExponent:ev,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ev,strikethroughThickness:ev,string:null,stroke:null,strokeDashArray:eS,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ev,strokeOpacity:ev,strokeWidth:null,style:null,surfaceScale:ev,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:eS,tabIndex:ev,tableValues:null,target:null,targetX:ev,targetY:ev,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:eS,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ev,underlineThickness:ev,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ev,values:null,vAlphabetic:ev,vMathematical:ev,vectorEffect:null,vHanging:ev,vIdeographic:ev,version:null,vertAdvY:ev,vertOriginX:ev,vertOriginY:ev,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ev,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),eB=ed([ej,eN,eP,eM,eD],"html"),eR=ed([ej,eN,eP,eM,eF],"svg"),eJ=eU("end"),e$=eU("start");function eU(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function ez(e){let t=e$(e),n=eJ(e);if(t&&n)return{start:t,end:n}}let eq={}.hasOwnProperty,eV=/^data[-\w.:]+$/i,eX=/-[a-z]/g,eK=/[A-Z]/g;function eW(e){return"-"+e.toLowerCase()}function eH(e){return e.charAt(1).toUpperCase()}let eG={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var eY=n(21186);let eQ={}.hasOwnProperty,eZ=/[A-Z]/g,e0=/-([a-z])/g,e1=new Set(["td","th"]);function e2(e){let t=e.replace(eZ,e4);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function e3(e,t){return t.toUpperCase()}function e4(e){return"-"+e.toLowerCase()}let e6={}.hasOwnProperty,e5=[];function e8(e,t){let n=t?[...t].sort(e7):e5;n.length>0&&function e(t,n){let r;if(n.index===n.comments.length)return;let i=[],s=[];for(r in t)if(e6.call(t,r)){let e=t[r];if(e&&"object"==typeof e&&"comments"!==r){if(Array.isArray(e)){let t=-1;for(;++t0})),s.length>0&&(t.comments=s)}(e,{comments:n,index:0})}function e9(e,t,n,r){let i=[];for(;e.comments[e.index]&&1>e7(e.comments[e.index],t,n);)i.push(Object.assign({},e.comments[e.index++],r));return i}function e7(e,t,n){let r=n?"end":"start";return e.range&&t.range?e.range[0]-t.range[n?1:0]:e.loc&&e.loc.start&&t.loc&&t.loc[r]?e.loc.start.line-t.loc[r].line||e.loc.start.column-t.loc[r].column:"start"in e&&r in t?e.start-t[r]:Number.NaN}function te(e,t){let n;let r=e.data&&e.data.estree,i=r&&r.comments||[];r&&(t.comments.push(...i),e8(r,r.comments),n=r.body[0]&&"ExpressionStatement"===r.body[0].type&&r.body[0].expression||void 0),n||(n={type:"JSXEmptyExpression"},t.patch(e,n));let s={type:"JSXExpressionContainer",expression:n};return t.inherit(e,s),s}function tt(e,t){let n=t.schema,r=n,i=e.attributes||[],s=-1;e.name&&"html"===n.space&&"svg"===e.name.toLowerCase()&&(r=eR,t.schema=r);let o=t.all(e),l=[];for(;++s0?{type:"JSXClosingElement",name:t.createJsxElementName(e.name)}:null,children:o}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:o};return t.inherit(e,a),a}let tn=/[ \t\n\f\r]/g;function tr(e){return""===e.replace(tn,"")}let ti={comment:function(e,t){let n={type:"Block",value:e.value};t.inherit(e,n),t.comments.push(n);let r={type:"JSXEmptyExpression",comments:[Object.assign({},n,{leading:!1,trailing:!0})]};t.patch(e,r);let i={type:"JSXExpressionContainer",expression:r};return t.patch(e,i),i},doctype:function(){},element:function(e,t){let n,r,i;let s=t.schema,o=s,l=e.properties||{};"html"===s.space&&"svg"===e.tagName.toLowerCase()&&(o=eR,t.schema=o);let a=t.all(e),u=[];for(n in l)if(eQ.call(l,n)){let s,a=l[n],c=function(e,t){let n=em(t),r=t,i=eg;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&eV.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(eX,eH);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!eX.test(e)){let n=e.replace(eK,eW);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=eA}return new i(r,t)}(o,n);if(null==a||!1===a||"number"==typeof a&&Number.isNaN(a)||!a&&c.boolean)continue;if(n="react"===t.elementAttributeNameCase&&c.space?eG[c.property]||c.property:c.attribute,Array.isArray(a)&&(a=c.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(a):a.join(" ").trim()),"style"===n){let n,r="object"==typeof a?a:function(e,t){let n={};try{eY(e,function(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(e0,e3)),n[r]=t})}catch(e){throw Error("Could not parse `style` attribute on `"+t+"`",{cause:e})}return n}(String(a),e.tagName);"css"===t.stylePropertyNameCase&&(r=function(e){let t;let n={};for(t in e)eQ.call(e,t)&&(n[e2(t)]=e[t]);return n}(r));let o=[];for(n in r)eQ.call(r,n)&&o.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:R(n)?{type:"Identifier",name:n}:{type:"Literal",value:n},value:{type:"Literal",value:String(r[n])},kind:"init"});i=o,s={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:o}}}else if(!0===a)s=null;else if(t.tableCellAlignToStyle&&e1.has(e.tagName)&&"align"===n){r=String(a);continue}else s={type:"Literal",value:String(a)};R(n,{jsx:!0})?u.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:n},value:s}):u.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(n)},value:s||{type:"Literal",value:!0},kind:"init"}]}})}if(void 0!==r){i||(i=[],u.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:"style"},value:{type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:i}}}));let e="css"===t.stylePropertyNameCase?e2("textAlign"):"textAlign";i.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:R(e)?{type:"Identifier",name:e}:{type:"Literal",value:e},value:{type:"Literal",value:r},kind:"init"})}t.schema=s;let c={type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:u,name:t.createJsxElementName(e.tagName),selfClosing:0===a.length},closingElement:a.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.tagName)}:null,children:a};return t.inherit(e,c),c},mdxFlowExpression:te,mdxJsxFlowElement:tt,mdxJsxTextElement:tt,mdxTextExpression:te,mdxjsEsm:function(e,t){let n=e.data&&e.data.estree,r=n&&n.comments||[];n&&(t.comments.push(...r),e8(n,r),t.esm.push(...n.body))},root:function(e,t){let n;let r=t.all(e),i=[],s=-1;for(;++s=48&&t<=57}function tT(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function tI(e){return function(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}(e)||tS(e)}let tA=document.createElement("i");function tO(e){let t="&"+e+";";tA.innerHTML=t;let n=tA.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tC=String.fromCharCode,tN=["","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"],tj=/["&'<>`]/g,tL=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,t_=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,tP=/[|\\{}()[\]^$+*?.]/g,tM=new WeakMap;function tD(e){return"&#x"+e.toString(16).toUpperCase()+";"}function tF(e){let t=0,n=e.stack.length;for(;--n>-1;){let r=e.stack[n];if("blockquote"===r||"listItem"===r)break;"mdxJsxFlowElement"===r&&t++}return t}function tB(e){return" ".repeat(e)}function tR(){return"<"}function tJ(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function t$(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,this.exit(e);let r=e.estree;n.value=t,r&&(n.data={estree:r})}function tU(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function tz(e){return e.value||""}var tq=n(72350);let tV=t3(/[A-Za-z]/),tX=t3(/[\dA-Za-z]/),tK=t3(/[#-'*+\--9=?A-Z^-~]/);function tW(e){return null!==e&&(e<32||127===e)}let tH=t3(/\d/),tG=t3(/[\dA-Fa-f]/),tY=t3(/[!-/:-@[-`{-~]/);function tQ(e){return null!==e&&e<-2}function tZ(e){return null!==e&&(e<0||32===e)}function t0(e){return -2===e||-1===e||32===e}let t1=t3(/\p{P}|\p{S}/u),t2=t3(/\s/);function t3(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function t4(e,t,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,s=0;return function(r){return t0(r)?(e.enter(n),function r(o){return t0(o)&&s++0)}function nt(e,t){let n,r;let i=t.prefix||"",s=t.suffix||"",o=Object.assign({},t.acornOptions),l=[],a=[],u=o.onComment,c=o.onToken,p=!1,f=Object.assign({},o,{onComment:l,preserveParens:!0});c&&(f.onToken=a);let h=function(e,t){let n={value:"",stops:[]},r=-1;for(;++r0&&-1===e[0];)e.shift();let t=function(e){let t,n=-1,r=[];for(;++n=i.length+d.length||"Unterminated comment"===t.message}if(n&&t.expression&&!g){if(nn(m.slice(n.end,m.length-s.length)))n={type:"Program",start:0,end:i.length+d.length,body:[{type:"ExpressionStatement",expression:n,start:0,end:i.length+d.length}],sourceType:"module",comments:[]};else{let e=v(n.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,n=void 0}}if(n){var y,x;let e,t;if(n.comments=l,y=n,"function"==typeof(x=function(e,t,n,r){let i=r[r.length-1],s=t;"ParenthesizedExpression"===e.type&&i&&s&&("number"==typeof n&&(i=i[s],s=n),i[s]=e.expression),b(e)})&&(e=x),(function n(r,i,s,o){return ne(r)&&(l.displayName="node ("+r.type+")"),l;function l(){let l=e?t7(e(r,i,s,o)):[];if(l[0]===t8)return l;if(l[0]!==t9){let e;for(e in r)if(t6.call(r,e)&&r[e]&&"object"==typeof r[e]&&"data"!==e&&"position"!==e){let t=o.concat(r),i=r[e];if(Array.isArray(i)){let r=0;for(;r>-1&&r=d.length||(b(e),Array.isArray(c)?c.push(e):c(e))}return{estree:n,error:r,swallow:p};function b(e){let t=v(e.start),n=v(e.end);e.start=t.offset,e.end=n.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:n.line,column:n.column-1,offset:n.offset}},e.range=[e.start,e.end]}function v(e){let n=e-i.length;n<0?n=0:n>d.length&&(n=d.length);let r=function(e,t){let n=0;for(;n-1?e:void 0}let no="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",nl="#unexpected-type-in-code-expected-an-object-spread-spread";function na(e,t,n,r,i,s,o,l,a,u,c){let p,f;let h=this,d=this.events.length+3,m=0;return function(t){return e.enter(n),e.enter(r),e.consume(t),e.exit(r),p=h.now(),g};function g(c){if(null===c){if(f)throw f;let e=new w("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:h.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=no+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if(tQ(c))return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),x;if(125===c&&0===m){let m=s?nu.call(h,s,o,i,d,p,u||!1,a||!1):{type:"ok",estree:void 0};if("ok"===m.type){e.enter(r),e.consume(c),e.exit(r);let i=e.exit(n);return l&&m.estree&&Object.assign(i,{estree:m.estree}),t}return f=m.message,e.enter(i),e.consume(c),y}return e.enter(i),y(c)}function y(t){return 125===t&&0===m||null===t||tQ(t)?(e.exit(i),g(t)):(123!==t||s?125===t&&(m-=1):m+=1,e.consume(t),y)}function x(t){let n=h.now();if(n.line!==p.line&&!c&&h.parser.lazy[n.line]){let e=new w("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:h.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=no+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return t0(t)?t4(e,g,"linePrefix",3)(t):g(t)}}function nu(e,t,n,r,i,s,o){let l=nt(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:s,prefix:o?"({":"",suffix:o?"})":""}),a=l.estree;if(o&&a){let e=a.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=nr(e),n=new w("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=no+nl,n}if(e.expression.properties[1]){let t=new w("Unexpected extra content in spread: only a single spread is supported",{place:nr(e.expression.properties[1]).start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw t.url=no+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",t}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=nr(e.expression.properties[0]),n=new w("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=no+nl,n}}if(l.error){let e=new w("Could not parse expression with acorn",{cause:l.error,place:{line:l.error.loc.line,column:l.error.loc.column+1,offset:l.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=no+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:a}}let nc="https://github.com/micromark/micromark-extension-mdx-jsx";function np(e,t,n,r,i,s,o,l,a,u,c,p,f,h,d,m,g,y,x,b,v,k,E,S,T,I,A,O,C,N,j,L){let _,P;let M=this;return function(t){return e.enter(l),e.enter(a),e.consume(t),e.exit(a),D};function D(e){return tZ(e)?n(e):(_=R,eo(e))}function R(t){return 47===t?(e.enter(u),e.consume(t),e.exit(u),_=J,eo):62===t?es(t):null!==t&&t>=0&&F(t)?(e.enter(p),e.enter(f),e.consume(t),$):void ea(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function J(t){return 62===t?es(t):null!==t&&t>=0&&F(t)?(e.enter(p),e.enter(f),e.consume(t),$):void ea(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function $(t){return null!==t&&t>=0&&B(t,{jsx:!0})?(e.consume(t),$):46===t||47===t||58===t||62===t||123===t||tZ(t)||t2(t)?(e.exit(f),_=U,eo(t)):void ea(t,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function U(t){return 46===t?(e.enter(h),e.consume(t),e.exit(h),_=z,eo):58===t?(e.enter(m),e.consume(t),e.exit(m),_=X,eo):47===t||62===t||123===t||null!==t&&t>=0&&F(t)?(e.exit(p),H(t)):void ea(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function z(t){if(null!==t&&t>=0&&F(t))return e.enter(d),e.consume(t),q;ea(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function q(t){return null!==t&&t>=0&&B(t,{jsx:!0})?(e.consume(t),q):46===t||47===t||62===t||123===t||tZ(t)||t2(t)?(e.exit(d),_=V,eo(t)):void ea(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function V(t){return 46===t?(e.enter(h),e.consume(t),e.exit(h),_=z,eo):47===t||62===t||123===t||null!==t&&t>=0&&F(t)?(e.exit(p),H(t)):void ea(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function X(t){if(null!==t&&t>=0&&F(t))return e.enter(g),e.consume(t),K;ea(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function K(t){return null!==t&&t>=0&&B(t,{jsx:!0})?(e.consume(t),K):47===t||62===t||123===t||tZ(t)||t2(t)?(e.exit(g),_=W,eo(t)):void ea(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function W(t){if(47===t||62===t||123===t||null!==t&&t>=0&&F(t))return e.exit(p),H(t);ea(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function H(t){return 47===t?(e.enter(c),e.consume(t),e.exit(c),_=ei,eo):62===t?es(t):123===t?na.call(M,e,G,y,x,b,r,i,s,!0,!1,o)(t):null!==t&&t>=0&&F(t)?(e.enter(v),e.enter(k),e.enter(E),e.consume(t),Y):void ea(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function G(e){return _=H,eo(e)}function Y(t){return null!==t&&t>=0&&B(t,{jsx:!0})?(e.consume(t),Y):47===t||58===t||61===t||62===t||123===t||tZ(t)||t2(t)?(e.exit(E),_=Q,eo(t)):void ea(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Q(t){return 58===t?(e.enter(S),e.consume(t),e.exit(S),_=Z,eo):61===t?(e.exit(k),e.enter(I),e.consume(t),e.exit(I),_=en,eo):47===t||62===t||123===t||tZ(t)||t2(t)||null!==t&&t>=0&&F(t)?(e.exit(k),e.exit(v),_=H,eo(t)):void ea(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function Z(t){if(null!==t&&t>=0&&F(t))return e.enter(T),e.consume(t),ee;ea(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function ee(t){return null!==t&&t>=0&&B(t,{jsx:!0})?(e.consume(t),ee):47===t||61===t||62===t||123===t||tZ(t)||t2(t)?(e.exit(T),e.exit(k),_=et,eo(t)):void ea(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function et(t){return 61===t?(e.enter(I),e.consume(t),e.exit(I),_=en,eo):47===t||62===t||123===t||null!==t&&t>=0&&F(t)?(e.exit(v),H(t)):void ea(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function en(t){return 34===t||39===t?(e.enter(A),e.enter(O),e.consume(t),e.exit(O),P=t,function t(n){return(null===n&&ea(n,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(P)+"`"),n===P)?(e.enter(O),e.consume(n),e.exit(O),e.exit(A),e.exit(v),P=void 0,_=H,eo):tQ(n)?(_=t,eo(n)):(e.enter(C),function n(r){return null===r||r===P||tQ(r)?(e.exit(C),t(r)):(e.consume(r),n)}(n))}):123===t?na.call(M,e,er,N,j,L,r,i,s,!1,!1,o)(t):void ea(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{}`)":""))}function er(t){return e.exit(v),_=H,eo(t)}function ei(e){if(62===e)return es(e);ea(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function es(n){return e.enter(a),e.consume(n),e.exit(a),e.exit(l),t}function eo(t){return tQ(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),el):t0(t)||t2(t)?(e.enter("esWhitespace"),function t(n){return tQ(n)?(e.exit("esWhitespace"),eo(n)):t0(n)||t2(n)?(e.consume(n),t):(e.exit("esWhitespace"),_(n))}(t)):_(t)}function el(e){if(!o&&M.parser.lazy[M.now().line]){let e=new w("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",M.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=nc+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return eo(e)}function ea(e,t,n){let r=new w("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` (U+"+e.toString(16).toUpperCase().padStart(4,"0")+")")+" "+t+", expected "+n,M.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw r.url=nc+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),r}}let nf={tokenize:function(e,t,n){return function(t){return t0(t)?t4(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||tQ(e)?t(e):n(e)}},partial:!0},nh={tokenize:function(e,t,n){return function(r){return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(nf,t,n)}},partial:!0},nd="https://github.com/micromark/micromark-extension-mdxjs-esm",nm=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function ng(e,t,n,r){let i;let s=e.length,o=0;if(t=t<0?-t>s?0:s+t:t>s?s:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o0?(ng(e,e.length,0,t),e):t}let nx={}.hasOwnProperty;function nb(e){let t={},n=-1;for(;++n1?s(e):(t.enter("mdxjsEsm"),t.enter("mdxjsEsmData"),t.consume(e),u+=String.fromCharCode(e),c)};function c(e){return tV(e)?(t.consume(e),u+=String.fromCharCode(e),c):("import"===u||"export"===u)&&32===e?(t.consume(e),p):s(e)}function p(e){return null===e||tQ(e)?(t.exit("mdxjsEsmData"),f(e)):(t.consume(e),p)}function f(e){return null===e?d(e):tQ(e)?t.check(nh,d,h)(e):(t.enter("mdxjsEsmData"),p(e))}function h(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),f}function d(s){let u=nt(o.events.slice(a),{acorn:n,acornOptions:r,tokenTypes:["mdxjsEsmData"],prefix:l.length>0?"var "+l.join(",")+"\n":""});if(u.error){if(null!==s&&u.swallow)return h(s);let e=new w("Could not parse import/exports with acorn",{cause:u.error,place:{line:u.error.loc.line,column:u.error.loc.column+1,offset:u.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw e.url=nd+"#could-not-parse-importexports-with-acorn",e}l.length>0&&u.estree.body.shift();let c=-1;for(;++c"mdxFlowExpression"===e.name);return 60===t?o(t):123===t&&l?e.attempt(l,a,i)(t):null===t||tQ(t)?r(t):i(t)}},concrete:!0})},text:{60:(r=l||void 0,i={acornOptions:s,addResult:o.addResult||void 0},{name:"mdxJsxTextTag",tokenize:function(e,t,n){return np.call(this,e,t,n,r,i.acornOptions,i.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}})}}}(t),{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}])}(t)),i.push([{enter:{mdxFlowExpression:tg,mdxTextExpression:ty},exit:{mdxFlowExpression:tx,mdxFlowExpressionChunk:tb,mdxTextExpression:tx,mdxTextExpressionChunk:tb}},function(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:p,mdxJsxFlowTagExpressionAttribute:f,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:o,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:p,mdxJsxTextTagExpressionAttribute:f,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:o},exit:{mdxJsxFlowTagClosingMarker:l,mdxJsxFlowTagNamePrimary:a,mdxJsxFlowTagNameMember:u,mdxJsxFlowTagNameLocal:c,mdxJsxFlowTagExpressionAttribute:h,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:d,mdxJsxFlowTagAttributeNameLocal:m,mdxJsxFlowTagAttributeValueLiteral:y,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:x,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:b,mdxJsxFlowTag:v,mdxJsxTextTagClosingMarker:l,mdxJsxTextTagNamePrimary:a,mdxJsxTextTagNameMember:u,mdxJsxTextTagNameLocal:c,mdxJsxTextTagExpressionAttribute:h,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:d,mdxJsxTextTagAttributeNameLocal:m,mdxJsxTextTagAttributeValueLiteral:y,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:x,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:b,mdxJsxTextTag:v}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function r(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function i(e){if(0===this.data.mdxJsxTagStack.length)throw new w("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function s(e){if(this.data.mdxJsxTag.close)throw new w("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function o(e){if(this.data.mdxJsxTag.close)throw new w("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function l(){this.data.mdxJsxTag.close=!0}function a(e){this.data.mdxJsxTag.name=this.sliceSerialize(e)}function u(e){let t=this.data.mdxJsxTag;t.name+="."+this.sliceSerialize(e)}function c(e){let t=this.data.mdxJsxTag;t.name+=":"+this.sliceSerialize(e)}function p(e){let n=this.data.mdxJsxTag;s.call(this,e),n.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function f(e){let t=this.data.mdxJsxTag;s.call(this,e),t.attributes.push({type:"mdxJsxExpressionAttribute",value:""}),this.buffer()}function h(e){let t=this.data.mdxJsxTag,n=t.attributes[t.attributes.length-1];n.type;let r=e.estree;n.value=this.resume(),r&&(n.data={estree:r})}function d(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.type,r.name=this.sliceSerialize(e),r.position,r.position.end=t(e.end)}function m(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.type,r.name+=":"+this.sliceSerialize(e),r.position,r.position.end=t(e.end)}function y(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.value=function(e,t={}){let n,r,i;let s="string"==typeof t.additional?t.additional.charCodeAt(0):t.additional,o=[],l=0,a=-1,u="";t.position&&("start"in t.position||"indent"in t.position?(r=t.position.indent,n=t.position.start):n=t.position);let c=(n?n.line:0)||1,p=(n?n.column:0)||1,f=m();for(l--;++l<=e.length;)if(10===i&&(p=(r?r[a]:0)||1),38===(i=e.charCodeAt(l))){let n;let r=e.charCodeAt(l+1);if(9===r||10===r||12===r||32===r||38===r||60===r||Number.isNaN(r)||s&&r===s){u+=tC(i),p++;continue}let a=l+1,c=a,x=a;if(35===r){x=++c;let t=e.charCodeAt(x);88===t||120===t?(n="hexadecimal",x=++c):n="decimal"}else n="named";let b="",w="",v="",k="named"===n?tI:"decimal"===n?tS:tT;for(x--;++x<=e.length;){let t=e.charCodeAt(x);if(!k(t))break;v+=tC(t),"named"===n&&tk.includes(v)&&(b=v,w=tO(v))}let E=59===e.charCodeAt(x);if(E){x++;let e="named"===n&&tO(v);e&&(b=v,w=e)}let S=1+x-a,T="";if(E||!1!==t.nonTerminated){if(v){if("named"===n){if(E&&!w)g(5,1);else if(b!==v&&(S=1+(x=c+b.length)-c,E=!1),!E){let n=b?1:3;if(t.attribute){let t=e.charCodeAt(x);61===t?(g(n,S),w=""):tI(t)?w="":g(n,S)}else g(n,S)}T=w}else{var h,d;E||g(2,S);let e=Number.parseInt(v,"hexadecimal"===n?16:10);if((h=e)>=55296&&h<=57343||h>1114111)g(7,S),T=tC(65533);else if(e in tE)g(6,S),T=tE[e];else{let t="";((d=e)>=1&&d<=8||11===d||d>=13&&d<=31||d>=127&&d<=159||d>=64976&&d<=65007||(65535&d)==65535||(65535&d)==65534)&&g(6,S),e>65535&&(e-=65536,t+=tC(e>>>10|55296),e=56320|1023&e),T=t+tC(e)}}}else"named"!==n&&g(4,S)}if(T){y(),f=m(),l=x-1,p+=x-a+1,o.push(T);let n=m();n.offset++,t.reference&&t.reference.call(t.referenceContext,T,{start:f,end:n},e.slice(a-1,x)),f=n}else v=e.slice(a-1,x),u+=v,p+=v.length,l=x-1}else 10===i&&(c++,a++,p=0),Number.isNaN(i)?y():(u+=tC(i),p++);return o.join("");function m(){return{line:c,column:p,offset:l+((n?n.offset:0)||0)}}function g(e,n){let r;t.warning&&(r=m(),r.column+=n,r.offset+=n,t.warning.call(t.warningContext,tN[e],r,e))}function y(){u&&(o.push(u),t.text&&t.text.call(t.textContext,u,{start:f,end:m()}),u="")}}(this.resume(),{nonTerminated:!1}),r.position,r.position.end=t(e.end)}function x(e){let n=this.data.mdxJsxTag,r=n.attributes[n.attributes.length-1];r.type;let i={type:"mdxJsxAttributeValueExpression",value:this.resume()},s=e.estree;s&&(i.data={estree:s}),r.value=i,r.position,r.position.end=t(e.end)}function b(){this.data.mdxJsxTag.selfClosing=!0}function v(e){let t=this.data.mdxJsxTag,n=this.data.mdxJsxTagStack,r=n[n.length-1];if(t.close&&r.name!==t.name)throw new w("Unexpected closing tag `"+S(t)+"`, expected corresponding closing tag for `"+S(r)+"` ("+g(r)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?n.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,k),t.selfClosing||t.close?this.exit(e,E):n.push(t)}function k(e,t){let n=this.data.mdxJsxTagStack,r=n[n.length-1],i=e?" before the end of `"+e.type+"`":"",s=e?{start:e.start,end:e.end}:void 0;throw new w("Expected a closing tag for `"+S(r)+"` ("+g({start:t.start,end:t.end})+")"+i,s,"mdast-util-mdx-jsx:end-tag-mismatch")}function E(e,t){throw new w("Expected the closing tag `"+S(this.data.mdxJsxTag)+"` either after the end of `"+t.type+"` ("+g(t.end)+") or another opening tag after the start of `"+t.type+"` ("+g(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function S(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}(),{enter:{mdxjsEsm:tJ},exit:{mdxjsEsm:t$,mdxjsEsmData:tU}}]),s.push({extensions:[{handlers:{mdxFlowExpression:tw,mdxTextExpression:tw},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]},function(e){let t=e||{},n=t.quote||'"',r=t.quoteSmart||!1,i=t.tightSelfClosing||!1,s=t.printWidth||Number.POSITIVE_INFINITY,o='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");return l.peek=tR,{handlers:{mdxJsxFlowElement:l,mdxJsxTextElement:l},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function l(e,t,l,a){let u="mdxJsxFlowElement"===e.type,c=!!e.name&&(!e.children||0===e.children.length),p=tB(tF(l)),f=l.createTracker(a),h=l.createTracker(a),d=[],m=(u?p:"")+"<"+(e.name||""),g=l.enter(e.type);if(f.move(m),h.move(m),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++ttv(e,o)?o:n;l=t+function(e,t){if(e=e.replace(t.subset?function(e){let t=tM.get(e);return t||(t=function(e){let t=[],n=-1;for(;++ns)&&(y=!0);let b=f,w=m;if(y){b=h;let e=-1;for(;++e"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?w+=b.move(l.containerPhrasing(e,{...b.current(),before:">",after:"<"})):(b.shift(2),w+=b.move("\n"),w+=b.move(function(e,t,n){let r=t.indexStack,i=e.children,s=t.createTracker(n),o=tB(tF(t)),l=[],a=-1;for(r.push(-1);++a")),g(),w}}(t),{handlers:{mdxjsEsm:tz}}]})}let nk={};function nE(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return nS(e.children,t,n)}return Array.isArray(e)?nS(e,t,n):""}function nS(e,t,n){let r=[],i=-1;for(;++i=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&nI(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),nI(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),nI(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(er))return;let l=i.events.length,a=l;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){if(e){n=i.events[a][1].end;break}e=!0}for(g(o),s=l;st;){let t=s[n];i.containerState=t[1],t[0].exit.call(i,e)}s.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},nN={tokenize:function(e,t,n){return t4(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},nj={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):tQ(t)?e.check(nL,s,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function s(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return nA(e),e}},nL={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),t4(e,i,"linePrefix")};function i(i){if(null===i||tQ(i))return n(i);let s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},n_={tokenize:function(e){let t=this,n=e.attempt(nf,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,t4(e,e.attempt(this.parser.constructs.flow,r,e.attempt(nj,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},nP={resolveAll:nB()},nM=nF("string"),nD=nF("text");function nF(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,s,o);return s;function s(e){return a(e)?i(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),l}function l(e){return a(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function a(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i=3&&(null===o||tQ(o))?(e.exit("thematicBreak"),t(o)):n(o)}(s)}}},nU={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],s=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:tH(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(n$,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return tH(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):n(i)}(t)}return n(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(nf,r.interrupt?n:a,e.attempt(nz,c,u))}function a(e){return r.containerState.initialBlankLine=!0,s++,c(e)}function u(t){return t0(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(nf,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,t4(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!t0(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(nq,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,t4(e,e.attempt(nU,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},nz={tokenize:function(e,t,n){let r=this;return t4(e,function(e){let i=r.events[r.events.length-1];return!t0(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},nq={tokenize:function(e,t,n){let r=this;return t4(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},nV={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return t0(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return t0(t)?t4(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(nV,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function nX(e,t,n,r,i,s,o,l,a){let u=a||Number.POSITIVE_INFINITY,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(s),e.consume(t),e.exit(s),p):null===t||32===t||41===t||tW(t)?n(t):(e.enter(r),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),d(t))};function p(n){return 62===n?(e.enter(s),e.consume(n),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(l),p(t)):null===t||60===t||tQ(t)?n(t):(e.consume(t),92===t?h:f)}function h(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function d(i){return!c&&(null===i||41===i||tZ(i))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(r),t(i)):c999||null===p||91===p||93===p&&!o||94===p&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs?n(p):93===p?(e.exit(s),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):tQ(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(t){return null===t||91===t||93===t||tQ(t)||a++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!t0(t)),92===t?p:c)}function p(t){return 91===t||92===t||93===t?(e.consume(t),a++,c):c(t)}}function nW(e,t,n,r,i,s){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,l):n(t)};function l(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(s),a(n))}function a(t){return t===o?(e.exit(s),l(o)):null===t?n(t):tQ(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),t4(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===o||null===t||tQ(t)?(e.exit("chunkString"),a(t)):(e.consume(t),92===t?c:u)}function c(t){return t===o||92===t?(e.consume(t),u):u(t)}}function nH(e,t){let n;return function r(i){return tQ(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):t0(i)?t4(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function nG(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let nY={tokenize:function(e,t,n){return function(t){return tZ(t)?nH(e,r)(t):n(t)};function r(t){return nW(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return t0(t)?t4(e,s,"whitespace")(t):s(t)}function s(e){return null===e||tQ(e)?t(e):n(e)}},partial:!0},nQ={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),t4(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?s(n):tQ(n)?e.attempt(nZ,t,s)(n):(e.enter("codeFlowValue"),function n(r){return null===r||tQ(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function s(n){return e.exit("codeIndented"),t(n)}}},nZ={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):tQ(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):t4(e,s,"linePrefix",5)(t)}function s(e){let s=r.events[r.events.length-1];return s&&"linePrefix"===s[1].type&&s[2].sliceSerialize(s[1],!0).length>=4?t(e):tQ(e)?i(e):n(e)}},partial:!0},n0={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let o,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){o="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),t0(n)?t4(e,s,"lineSuffix")(n):s(n))}(t)):n(t)};function s(r){return null===r||tQ(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,s=e.length;for(;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(r=s)}else"content"===e[s][1].type&&e.splice(s,1),i||"definition"!==e[s][1].type||(i=s);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},n1=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],n2=["pre","script","style","textarea"],n3={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(nf,t,n)}},partial:!0},n4={tokenize:function(e,t,n){let r=this;return function(t){return tQ(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},n6={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},n5={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,s={tokenize:function(e,t,n){let s=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),t0(t)?t4(e,a,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)}function a(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s>=l?(e.exit("codeFencedFenceSequence"),t0(i)?t4(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||tQ(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o=0,l=0;return function(t){return function(t){let s=i.events[i.events.length-1];return o=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l<3?n(i):(e.exit("codeFencedFenceSequence"),t0(i)?t4(e,a,"whitespace")(i):a(i))}(t)}(t)};function a(s){return null===s||tQ(s)?(e.exit("codeFencedFence"),i.interrupt?t(s):e.check(n6,c,d)(s)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tQ(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),a(i)):t0(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),t4(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(s))}function u(t){return null===t||tQ(t)?a(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||tQ(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),a(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(s,d,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return o>0&&t0(t)?t4(e,h,"linePrefix",o+1)(t):h(t)}function h(t){return null===t||tQ(t)?e.check(n6,c,d)(t):(e.enter("codeFlowValue"),function t(n){return null===n||tQ(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function d(n){return e.exit("codeFenced"),t(n)}},concrete:!0},n8={name:"characterReference",tokenize:function(e,t,n){let r,i;let s=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),a):(e.enter("characterReferenceValue"),r=31,i=tX,u(t))}function a(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=tG,u):(e.enter("characterReferenceValue"),r=7,i=tH,u(t))}function u(l){if(59===l&&o){let r=e.exit("characterReferenceValue");return i!==tX||tO(s.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(l)}return i(l)&&o++1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let p=Object.assign({},e[n][1].end),f=Object.assign({},e[c][1].start);rl(p,-l),rl(f,l),s={type:l>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:f},i={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[c][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},s.start),e[c][1].start=Object.assign({},o.end),a=[],e[n][1].end.offset-e[n][1].start.offset&&(a=ny(a,[["enter",e[n][1],t],["exit",e[n][1],t]])),a=ny(a,[["enter",r,t],["enter",s,t],["exit",s,t],["enter",i,t]]),a=ny(a,nJ(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),a=ny(a,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,a=ny(a,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,ng(e,n-1,c-n+3,a),c=n+a.length-u-2;break}}for(c=-1;++cs&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(s===i-1||i-4>s&&"whitespace"===e[i-2][1].type)&&(i-=s+1===i?2:4),i>s&&(n={type:"atxHeadingText",start:e[s][1].start,end:e[i][1].end},r={type:"chunkText",start:e[s][1].start,end:e[i][1].end,contentType:"text"},ng(e,s,i-s+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:n$,45:[n0,n$],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,s,o,l;let a=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u};function u(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),i=!0,h):63===o?(e.consume(o),r=3,a.interrupt?t:L):tV(o)?(e.consume(o),s=String.fromCharCode(o),d):n(o)}function c(i){return 45===i?(e.consume(i),r=2,p):91===i?(e.consume(i),r=5,o=0,f):tV(i)?(e.consume(i),r=4,a.interrupt?t:L):n(i)}function p(r){return 45===r?(e.consume(r),a.interrupt?t:L):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?a.interrupt?t:S:f:n(r)}function h(t){return tV(t)?(e.consume(t),s=String.fromCharCode(t),d):n(t)}function d(o){if(null===o||47===o||62===o||tZ(o)){let l=47===o,u=s.toLowerCase();return!l&&!i&&n2.includes(u)?(r=1,a.interrupt?t(o):S(o)):n1.includes(s.toLowerCase())?(r=6,l)?(e.consume(o),m):a.interrupt?t(o):S(o):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(o):i?function t(n){return t0(n)?(e.consume(n),t):k(n)}(o):g(o))}return 45===o||tX(o)?(e.consume(o),s+=String.fromCharCode(o),d):n(o)}function m(r){return 62===r?(e.consume(r),a.interrupt?t:S):n(r)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||tV(t)?(e.consume(t),y):t0(t)?(e.consume(t),g):k(t)}function y(t){return 45===t||46===t||58===t||95===t||tX(t)?(e.consume(t),y):x(t)}function x(t){return 61===t?(e.consume(t),b):t0(t)?(e.consume(t),x):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):t0(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||tZ(n)?x(n):(e.consume(n),t)}(t)}function w(t){return t===l?(e.consume(t),l=null,v):null===t||tQ(t)?n(t):(e.consume(t),w)}function v(e){return 47===e||62===e||t0(e)?g(e):n(e)}function k(t){return 62===t?(e.consume(t),E):n(t)}function E(t){return null===t||tQ(t)?S(t):t0(t)?(e.consume(t),E):n(t)}function S(t){return 45===t&&2===r?(e.consume(t),O):60===t&&1===r?(e.consume(t),C):62===t&&4===r?(e.consume(t),_):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),j):tQ(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(n3,P,T)(t)):null===t||tQ(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),S)}function T(t){return e.check(n4,I,P)(t)}function I(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||tQ(t)?T(t):(e.enter("htmlFlowData"),S(t))}function O(t){return 45===t?(e.consume(t),L):S(t)}function C(t){return 47===t?(e.consume(t),s="",N):S(t)}function N(t){if(62===t){let n=s.toLowerCase();return n2.includes(n)?(e.consume(t),_):S(t)}return tV(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),N):S(t)}function j(t){return 93===t?(e.consume(t),L):S(t)}function L(t){return 62===t?(e.consume(t),_):45===t&&2===r?(e.consume(t),L):S(t)}function _(t){return null===t||tQ(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),_)}function P(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:n0,95:n$,96:n5,126:n5},rh={38:n8,92:n9},rd={[-5]:n7,[-4]:n7,[-3]:n7,33:ri,38:n8,42:ro,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return tV(t)?(e.consume(t),s):64===t?n(t):l(t)}function s(t){return 43===t||45===t||46===t||tX(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||tX(n))&&r++<32?(e.consume(n),t):(r=0,l(n))}(t)):l(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||tW(r)?n(r):(e.consume(r),o)}function l(t){return 64===t?(e.consume(t),a):tK(t)?(e.consume(t),l):n(t)}function a(i){return tX(i)?function i(s){return 46===s?(e.consume(s),r=0,a):62===s?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(s),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(s){if((45===s||tX(s))&&r++<63){let n=45===s?t:i;return e.consume(s),n}return n(s)}(s)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,s;let o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),a):47===t?(e.consume(t),w):63===t?(e.consume(t),x):tV(t)?(e.consume(t),k):n(t)}function a(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,h):tV(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),p):tQ(t)?(s=c,N(t)):(e.consume(t),c)}function p(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?C(e):45===e?p(e):c(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?d:h):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):tQ(t)?(s=d,N(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),g):d(t)}function g(t){return 62===t?C(t):93===t?(e.consume(t),g):d(t)}function y(t){return null===t||62===t?C(t):tQ(t)?(s=y,N(t)):(e.consume(t),y)}function x(t){return null===t?n(t):63===t?(e.consume(t),b):tQ(t)?(s=x,N(t)):(e.consume(t),x)}function b(e){return 62===e?C(e):x(e)}function w(t){return tV(t)?(e.consume(t),v):n(t)}function v(t){return 45===t||tX(t)?(e.consume(t),v):function t(n){return tQ(n)?(s=t,N(n)):t0(n)?(e.consume(n),t):C(n)}(t)}function k(t){return 45===t||tX(t)?(e.consume(t),k):47===t||62===t||tZ(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),C):58===t||95===t||tV(t)?(e.consume(t),S):tQ(t)?(s=E,N(t)):t0(t)?(e.consume(t),E):C(t)}function S(t){return 45===t||46===t||58===t||95===t||tX(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),T):tQ(n)?(s=t,N(n)):t0(n)?(e.consume(n),t):E(n)}(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,I):tQ(t)?(s=T,N(t)):t0(t)?(e.consume(t),T):(e.consume(t),A)}function I(t){return t===r?(e.consume(t),r=void 0,O):null===t?n(t):tQ(t)?(s=I,N(t)):(e.consume(t),I)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||tZ(t)?E(t):(e.consume(t),A)}function O(e){return 47===e||62===e||tZ(e)?E(e):n(e)}function C(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),j}function j(t){return t0(t)?t4(e,L,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),s(t)}}}],91:ra,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return tQ(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},n9],93:re,95:ro,96:{name:"codeText",tokenize:function(e,t,n){let r,i,s=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),s++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(a){return null===a?n(a):32===a?(e.enter("space"),e.consume(a),e.exit("space"),o):96===a?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===s?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",l(o))}(a)):tQ(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(a))}function l(t){return null===t||32===t||96===t||tQ(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),l)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let rw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function rv(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return rb(n.slice(t?2:1),t?16:10)}return tO(n)||e}let rk={}.hasOwnProperty;function rE(e){return{line:e.line,column:e.column,offset:e.offset}}function rS(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+g({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+g({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+g({start:t.start,end:t.end})+") is still open")}function rT(e){let t=this;t.parser=function(n){var r,i;let s,o,l,a;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(x),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(d),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(h),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(h,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(y,i),htmlFlowData:u,htmlText:r(y,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(x),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(b,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(b),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(d),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:o(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=rb(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tO(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=rE(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nG(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(p),hardBreakTrailing:o(p),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(rw,rv),n.identifier=nG(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=rE(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),c.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=nG(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};(function e(t,n){let r=-1;for(;++r0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||rS).call(o,void 0,e[0])}for(r.position={start:rE(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:rE(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[s].slice(0,o))}return n}(o,e)}function f(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:s}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:s}}function h(e,t){t.restore()}function d(e,t){return function(n,i,s){let o,c,p,h;return Array.isArray(n)?d(n):"tokenize"in n?d([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return d([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function d(e){return(o=e,c=0,0===e.length)?s:m(e[c])}function m(e){return function(n){return(h=function(){let e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,s=Array.from(l);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,l=s,g()},from:i}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?x(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,a,y,x)(n)}}function y(t){return e(p,h),i}function x(e){return(h.restore(),++c{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[s,o]=t[i];switch(s){case 0:case -1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new rI[e](t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i)}return n(new rI[s](o),i)};return r},rO=e=>rA(new Map,e)(0),{toString:rC}={},{keys:rN}=Object,rj=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=rC.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},rL=([e,t])=>0===e&&("function"===t||"symbol"===t),r_=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},s=r=>{if(n.has(r))return n.get(r);let[o,l]=rj(r);switch(o){case 0:{let t=r;switch(l){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+l);t=null;break;case"undefined":return i([-1],r)}return i([o,t],r)}case 1:{if(l)return i([l,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(s(t));return t}case 2:{if(l)switch(l){case"BigInt":return i([l,r.toString()],r);case"Boolean":case"Number":case"String":return i([l,r.valueOf()],r)}if(t&&"toJSON"in r)return s(r.toJSON());let n=[],a=i([o,n],r);for(let t of rN(r))(e||!rL(rj(r[t])))&&n.push([s(t),s(r[t])]);return a}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(rL(rj(n))||rL(rj(i))))&&t.push([s(n),s(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!rL(rj(n)))&&t.push(s(n));return n}}let{message:a}=r;return i([o,{name:l,message:a}],r)};return s},rP=(e,{json:t,lossy:n}={})=>{let r=[];return r_(!(t||n),!!t,new Map,r)(e),r},rM="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?rO(rP(e,t)):structuredClone(e):(e,t)=>rO(rP(e,t));function rD(e){let t=[],n=-1,r=0,i=0;for(;++n55295&&s<57344){let t=e.charCodeAt(n+1);s<56320&&t>56319&&t<57344?(o=String.fromCharCode(s,t),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function rF(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function rB(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let rR=function(e){if(null==e)return r$;if("function"==typeof e)return rJ(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n":"")+")"})}return c;function c(){var u;let c,p,f,h=rU;if((!t||s(i,l,a[a.length-1]||void 0))&&!1===(h=Array.isArray(u=n(i,a))?u:"number"==typeof u?[!0,u]:null==u?rU:[u])[0])return h;if("children"in i&&i.children&&i.children&&"skip"!==h[0])for(p=(r?i.children.length:-1)+o,f=a.concat(i);p>-1&&p1:t}function rX(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let rK={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),s=rD(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),l=e.footnoteCounts.get(i);void 0===l?(l=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,l+=1,e.footnoteCounts.set(i,l);let a={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+s,id:r+"fnref-"+s+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,a);let u={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return rq(e,t);let i={src:rD(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)},image:function(e,t){let n={src:rD(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return rq(e,t);let i={href:rD(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)},link:function(e,t){let n={href:rD(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let l=-1;for(;++l0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=e$(t.children[1]),o=eJ(t.children[t.children.length-1]);s&&o&&(r.position={start:s,end:o}),i.push(r)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",s=n&&"table"===n.type?n.align:void 0,o=s?s.length:t.children.length,l=-1,a=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(rX(t.slice(i),i>0,!1)),s.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:rW,yaml:rW,definition:rW,footnoteDefinition:rW};function rW(){}let rH={}.hasOwnProperty,rG={};function rY(e,t){e.position&&(t.position=ez(e))}function rQ(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,rM(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function rZ(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function r0(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function r1(e,t){let n=function(e,t){let n=t||rG,r=new Map,i=new Map,s={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r0&&p.push({type:"text",value:" "});let e="string"==typeof n?n:n(a,c);"string"==typeof e&&(e={type:"text",value:e}),p.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(a,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=s[s.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...p)}else s.push(...p);let d={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(s,!0)};e.patch(i,d),l.push(d)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...rM(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:"\n"},i),s}function r2(e,t){return e&&"run"in e?async function(n,r){let i=r1(n,{file:r,...t});await e.run(i,r)}:function(n,r){return r1(n,{file:r,...e||t})}}function r3(e){if(e)throw e}var r4=n(96741);function r6(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let r5=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},r8={}.hasOwnProperty;class r9 extends r5{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=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);(function i(s,...o){let l=e[++n],a=-1;if(s){r(s);return}for(;++at.length;o&&t.push(r);try{s=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(s&&s.then&&"function"==typeof s.then?s.then(i,r):s instanceof Error?r(s):i(s))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(l,i)(...o):r(null,...o)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new r9,t=-1;for(;++t0){let[r,...s]=t,o=n[i][1];r6(o)&&r6(r)&&(r=r4(!0,o,r)),n[i]=[e,r,...s]}}}}let r7=new r9().freeze();function ie(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function it(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function ir(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function ii(e){if(!r6(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function is(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function io(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new I(e)}function il(e,t){let n=["start","end","loc","range"],r=-1;for(;++r0&&k(m)}else"ExportNamedDeclaration"===m.type||"ExportAllDeclaration"===m.type?k(m):"ImportDeclaration"===m.type?E(m):"ExpressionStatement"===m.type&&("JSXElement"===m.expression.type||"JSXFragment"===m.expression.type)?(d=!0,x.push(...u(m.expression,r,!!h))):x.push(m);d||x.push(...u(void 0,r,!!h)),y.push(["MDXContent","default"]),"function-body"===r&&x.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:b}).map(function(e,t){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(t+1)}}}),...y.map(function(e){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:"string"==typeof e,key:{type:"Identifier",name:"string"==typeof e?e:e[1]},value:{type:"Identifier",name:"string"==typeof e?e:e[0]}}})]}}),e.body=x;let w=!1,v=!1;function k(e){if("ExportNamedDeclaration"===e.type){if(e.declaration){let t=ih();z(e,{enter(e){t.enter(e),("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)&&(this.skip(),t.exit(e))},leave:t.exit}),y.push(...t.scopes[0].defined)}for(m of e.specifiers)"Identifier"===m.exported.type?y.push(m.exported.name):(m.exported.value,y.push(m.exported.value))}E(e)}function E(e){let t,n;if("function-body"===r){if("ImportDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type&&e.source){e.source;let r={type:"ImportExpression",source:e.source};il(e,r),n={type:"AwaitExpression",argument:r},t=("ImportDeclaration"===e.type||"ExportNamedDeclaration"===e.type)&&0===e.specifiers.length?{type:"ExpressionStatement",expression:n}:{type:"VariableDeclaration",kind:"const",declarations:"ExportAllDeclaration"===e.type?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++b},init:n}]:ia(e.specifiers,n)}}else if(e.declaration)t=e.declaration;else{let n=[];for(let t of e.specifiers)"Identifier"===t.exported.type&&"Identifier"===t.local.type&&t.local.name!==t.exported.name&&n.push({type:"VariableDeclarator",id:t.exported,init:t.local});n.length>0&&(t={type:"VariableDeclaration",kind:"const",declarations:n})}}else t=e;t&&x.push(t)}(n||"function-body"===r)&&z(e,{enter(e){if(("ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ImportDeclaration"===e.type)&&e.source){let t=e.source.value;try{new URL(t)}catch{(t.startsWith("/")||t.startsWith("./")||t.startsWith("../"))&&(t=new URL(t,n).href)}let r={type:"Literal",value:t};il(e.source,r),e.source=r;return}if("ImportExpression"===e.type){v=!0;let t={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[e.source],optional:!1};e.source=t;return}if("MemberExpression"===e.type&&"object"in e&&"MetaProperty"===e.object.type&&"Identifier"===e.property.type&&"import"===e.object.meta.name&&"meta"===e.object.property.name&&"url"===e.property.name){w=!0;let t={type:"Identifier",name:"_importMetaUrl"};il(e,t),this.replace(t)}}}),v&&(n||(w=!0),e.body.push((f=n?{type:"Literal",value:n}:{type:"Identifier",name:"_importMetaUrl"},{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:iu(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:iu(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:iu(["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"},f]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}))),w&&e.body.unshift({type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:iu(["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 … from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null})};function u(e,t,n){let r={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:[]}]};n||(r={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:r,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let i=e||{type:"Identifier",name:"undefined"};"JSXFragment"===i.type&&1===i.children.length&&"JSXElement"===i.children[0].type&&(i=i.children[0]);let s=!1;z(i,{enter(e){if("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)return this.skip();("AwaitExpression"===e.type||"ForOfStatement"===e.type&&e.await)&&(s=!0)}});let o={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:r}]}};return[{type:"FunctionDeclaration",async:s,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:i}]}},"program"===t?{type:"ExportDefaultDeclaration",declaration:o}:o]}}function im(e,t,n){e.comments?.unshift({type:"Block",value:t+" "+n,data:{_mdxIsPragmaComment:!0}})}function ig(e){let t,n=-1;for(;++n0||i.length>0||f.idToInvalidComponentName.size>0){let e;if(r&&(l=!0,u.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(ix(f.node,"MDXContent")||ix(f.node,"_createMdxContent"))&&u.push(iu(["props","components"])),n.length>0||u.length>1)for(let e of u)n.push({type:"SpreadElement",argument:e});let t=n.length>0?{type:"ObjectExpression",properties:n}:{type:"LogicalExpression",operator:"||",left:u[0],right:{type:"ObjectExpression",properties:[]}};if(i.length>0&&(e={type:"ObjectPattern",properties:i.map(function(e){return{type:"Property",kind:"init",key:{type:"Identifier",name:"MDXLayout"===e?"wrapper":e},value:{type:"Identifier",name:e},method:!1,shorthand:"MDXLayout"!==e,computed:!1}})}),f.tags.length>0&&(c.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:t}),t={type:"Identifier",name:"_components"}),ix(f.node,"_createMdxContent"))for(let[e,t]of[...f.idToInvalidComponentName].sort(function([e],[t]){return e.localeCompare(t)}))c.push({type:"VariableDeclarator",id:{type:"Identifier",name:t},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:e},computed:!0,optional:!1}});e&&c.push({type:"VariableDeclarator",id:e,init:t}),c.length>0&&h.push({type:"VariableDeclaration",kind:"const",declarations:c})}for(p in f.references)if(Object.hasOwn(f.references,p)){let e=p.split("."),t=0;for(;++t0&&("BlockStatement"!==e.body.type&&(e.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:e.body}]}),e.body.body.unshift(...h)),o.pop()}}}),l&&r&&e.body.unshift(function(e,t){let n=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return"function-body"===t?{type:"VariableDeclaration",kind:"const",declarations:ia(n,iu(["arguments",0]))}:{type:"ImportDeclaration",specifiers:n,source:{type:"Literal",value:e}}}(r,n)),a){let n=[{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."}],r=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(n.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:ig([{type:"Literal",value:"\nIt’s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(i.path?"` in `"+i.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),r.push({type:"Identifier",name:"place"})),e.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:r,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[ig(n)]}}]}})}"function-body"===n&&e.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function ix(e,t){return!!(e&&"id"in e&&e.id&&e.id.name===t)}function ib(e,t){let n=e.length;for(;n--;)if(e[n].defined.includes(t))return!0;return!1}function iw(){return function(e){rz(e,"raw",function(e,t,n){if(n&&"number"==typeof t)return n.children.splice(t,1),t})}}let iv=/\s+/g,ik=/[\t\n\v\f\r ]+/g;function iE(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function iS(){return" "}function iT(){return function(e){rz(e,function(e,t,n){let r=-1,i=!0,s=!1;if(n&&"number"==typeof t&&"paragraph"===e.type){let o=e.children;for(;++r!!e&&"object"==typeof e&&e[iM]===iC,iF=e=>!!e&&"object"==typeof e&&e[iM]===iN,iB=e=>!!e&&"object"==typeof e&&e[iM]===ij,iR=e=>!!e&&"object"==typeof e&&e[iM]===iL,iJ=e=>!!e&&"object"==typeof e&&e[iM]===i_,i$=e=>!!e&&"object"==typeof e&&e[iM]===iP;function iU(e){if(e&&"object"==typeof e)switch(e[iM]){case ij:case iP:return!0}return!1}function iz(e){if(e&&"object"==typeof e)switch(e[iM]){case iC:case ij:case i_:case iP:return!0}return!1}let iq=e=>(iJ(e)||iU(e))&&!!e.anchor,iV=Symbol("break visit"),iX=Symbol("skip children"),iK=Symbol("remove node");function iW(e,t){let n=iQ(t);iF(e)?iH(null,e.contents,n,Object.freeze([e]))===iK&&(e.contents=null):iH(null,e,n,Object.freeze([]))}function iH(e,t,n,r){let i=iZ(e,t,n,r);if(iz(i)||iR(i))return i0(e,r,i),iH(e,i,n,r);if("symbol"!=typeof i){if(iU(t)){r=Object.freeze(r.concat(t));for(let e=0;ee.replace(/[!,[\]{}]/g,e=>i1[e]);class i3{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},i3.defaultYaml,e),this.tags=Object.assign({},i3.defaultTags,t)}clone(){let e=new i3(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new i3(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:i3.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},i3.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:i3.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},i3.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+i2(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t;let n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&iz(e.contents)){let n={};iW(e.contents,(e,t)=>{iz(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[i,s]of r)("!!"!==i||"tag:yaml.org,2002:"!==s)&&(!e||t.some(e=>e.startsWith(s)))&&n.push(`%TAG ${i} ${s}`);return n.join("\n")}}function i4(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function i6(e){let t=new Set;return iW(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function i5(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function i8(e,t,n,r){if(r&&"object"==typeof r){if(Array.isArray(r))for(let t=0,n=r.length;ti9(e,String(t),n));if(e&&"function"==typeof e.toJSON){if(!n||!iq(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return"bigint"!=typeof e||n?.keep?e:Number(e)}i3.defaultYaml={explicit:!1,version:"1.2"},i3.defaultTags={"!!":"tag:yaml.org,2002:"};class i7{constructor(e){Object.defineProperty(this,iM,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:i}={}){if(!iF(e))throw TypeError("A document argument is required");let s={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=i9(this,"",s);if("function"==typeof r)for(let{count:e,res:t}of s.anchors.values())r(t,e);return"function"==typeof i?i8(i,{"":o},"",o):o}}class se extends i7{constructor(e){super(iC),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e){let t;return iW(e,{Node:(e,n)=>{if(n===this)return iW.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,s=this.resolve(r);if(!s)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let o=n.get(s);if(o||(i9(s,null,t),o=n.get(s)),!o||void 0===o.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=function e(t,n,r){if(iD(n)){let e=n.resolve(t),i=r&&e&&r.get(e);return i?i.count*i.aliasCount:0}if(iU(n)){let i=0;for(let s of n.items){let n=e(t,s,r);n>i&&(i=n)}return i}return iR(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(r,s,n)),o.count*o.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return o.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(i4(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${r} `}return r}}let st=e=>!e||"function"!=typeof e&&"object"!=typeof e;class sn extends i7{constructor(e){super(i_),this.value=e}toJSON(e,t){return t?.keep?this.value:i9(this.value,e,t)}toString(){return String(this.value)}}function sr(e,t,n){let r;if(iF(e)&&(e=e.contents),iz(e))return e;if(iR(e)){let t=n.schema[ij].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:i,onAnchor:s,onTagObj:o,schema:l,sourceObjects:a}=n;if(i&&e&&"object"==typeof e){if(r=a.get(e))return r.anchor||(r.anchor=s(e)),new se(r.anchor);r={anchor:null,node:null},a.set(e,r)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let u=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,l.tags);if(!u){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new sn(e);return r&&(r.node=t),t}u=e instanceof Map?l[ij]:Symbol.iterator in Object(e)?l[iP]:l[ij]}o&&(o(u),delete n.onTagObj);let c=u?.createNode?u.createNode(n.schema,e,n):"function"==typeof u?.nodeClass?.from?u.nodeClass.from(n.schema,e,n):new sn(e);return t?c.tag=t:u.default||(c.tag=u.tag),r&&(r.node=c),c}function si(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return sr(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}sn.BLOCK_FOLDED="BLOCK_FOLDED",sn.BLOCK_LITERAL="BLOCK_LITERAL",sn.PLAIN="PLAIN",sn.QUOTE_DOUBLE="QUOTE_DOUBLE",sn.QUOTE_SINGLE="QUOTE_SINGLE";let ss=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class so extends i7{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>iz(t)||iR(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(ss(e))this.add(t);else{let[n,...r]=e,i=this.get(n,!0);if(iU(i))i.addIn(r,t);else if(void 0===i&&this.schema)this.set(n,si(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(iU(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,i=this.get(n,!0);return 0===r.length?!t&&iJ(i)?i.value:i:iU(i)?i.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!iR(t))return!1;let n=t.value;return null==n||e&&iJ(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!iU(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(iU(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,si(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}let sl=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function sa(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let su=(e,t,n)=>e.endsWith("\n")?sa(n,t):n.includes("\n")?"\n"+sa(n,t):(e.endsWith(" ")?"":" ")+n,sc="flow",sp="block",sf="quoted";function sh(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:o,onOverflow:l}={}){let a,u,c;if(!i||i<0)return e;ii-Math.max(2,s)?f.push(0):d=i-r);let m=!1,g=-1,y=-1,x=-1;for(n===sp&&-1!==(g=sd(e,g,t.length))&&(d=g+p);c=e[g+=1];){if(n===sf&&"\\"===c){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}x=g}if("\n"===c)n===sp&&(g=sd(e,g,t.length)),d=g+t.length+p,a=void 0;else{if(" "===c&&u&&" "!==u&&"\n"!==u&&" "!==u){let t=e[g+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(a=g)}if(g>=d){if(a)f.push(a),d=a+p,a=void 0;else if(n===sf){for(;" "===u||" "===u;)u=c,c=e[g+=1],m=!0;let t=g>x+1?g-2:y-1;if(h[t])return e;f.push(t),h[t]=!0,d=t+p,a=void 0}else m=!0}}u=c}if(m&&l&&l(),0===f.length)return e;o&&o();let b=e.slice(0,f[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),sg=e=>/^(%|---|\.\.\.)/m.test(e);function sy(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(sg(e)?" ":""),o="",l=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(l,e)+"\\ ",e+=1,l=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(l,e);let t=n.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,l=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(i-(n=t+1)<=r)return!1}return!0}(n,f,h.length));if(!n)return d?"|\n":">\n";for(l=n.length;l>0;--l){let e=n[l-1];if("\n"!==e&&" "!==e&&" "!==e)break}let m=n.substring(l),g=m.indexOf("\n");-1===g?o="-":n===m||g!==m.length-1?(o="+",s&&s()):o="",m&&(n=n.slice(0,-m.length),"\n"===m[m.length-1]&&(m=m.slice(0,-1)),m=m.replace(u,`$&${h}`));let y=!1,x=-1;for(a=0;a")+(y?w:"")+o;if(e&&(v+=" "+p(e.replace(/ ?[\r\n]+/g," ")),i&&i()),d)return n=n.replace(/\n+/g,`$&${h}`),`${v} ${h}${b}${n}${m}`;n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${h}`);let k=sh(`${b}${n}${m}`,h,sp,sm(r,!0));return`${v} ${h}${k}`}function sv(e,t,n,r){let{implicitKey:i,inFlow:s}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:l}=e;l!==sn.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(l=sn.QUOTE_DOUBLE);let a=e=>{switch(e){case sn.BLOCK_FOLDED:case sn.BLOCK_LITERAL:return i||s?sb(o.value,t):sw(o,t,n,r);case sn.QUOTE_DOUBLE:return sy(o.value,t);case sn.QUOTE_SINGLE:return sx(o.value,t);case sn.PLAIN:return function(e,t,n,r){let{type:i,value:s}=e,{actualString:o,implicitKey:l,indent:a,indentStep:u,inFlow:c}=t;if(l&&s.includes("\n")||c&&/[[\]{},]/.test(s))return sb(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return l||c||!s.includes("\n")?sb(s,t):sw(e,t,n,r);if(!l&&!c&&i!==sn.PLAIN&&s.includes("\n"))return sw(e,t,n,r);if(sg(s)){if(""===a)return t.forceBlockIndent=!0,sw(e,t,n,r);if(l&&a===u)return sb(s,t)}let p=s.replace(/\n+/g,`$& ${a}`);if(o){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(p),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return sb(s,t)}return l?p:sh(p,a,sc,sm(t,!1))}(o,t,n,r);default:return null}},u=a(l);if(null===u){let{defaultKeyType:e,defaultStringType:n}=t.options,r=i&&e||n;if(null===(u=a(r)))throw Error(`Unsupported default string type ${r}`)}return u}function sk(e,t){let n;let r=Object.assign({blockQuote:!0,commentString:sl,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function sE(e,t,n,r){let i;if(iR(e))return e.toString(t,n,r);if(iD(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s=iz(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i||(i=function(e,t){let n,r;if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}if(iJ(t)){n=t.value;let i=e.filter(e=>e.identify?.(n));if(i.length>1){let e=i.filter(e=>e.test);e.length>0&&(i=e)}r=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else n=t,r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!r){let e=n?.constructor?.name??typeof n;throw Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,s));let o=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let i=[],s=(iJ(e)||iU(e))&&e.anchor;s&&i4(s)&&(n.add(s),i.push(`&${s}`));let o=e.tag?e.tag:t.default?null:t.tag;return o&&i.push(r.directives.tagString(o)),i.join(" ")}(s,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let l="function"==typeof i.stringify?i.stringify(s,t,n,r):iJ(s)?sv(s,t,n,r):s.toString(t,n,r);return o?iJ(s)||"{"===l[0]||"["===l[0]?`${o} ${l}`:`${o} ${t.indent}${l}`:l}var sS=n(28070);function sT(e,t){("debug"===e||"warn"===e)&&(void 0!==sS&&sS.emitWarning?sS.emitWarning(t):console.warn(t))}let sI={identify:e=>"<<"===e||"symbol"==typeof e&&"<<"===e.description,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new sn(Symbol("<<")),{addToJSMap:sO}),stringify:()=>"<<"},sA=(e,t)=>(sI.identify(t)||iJ(t)&&(!t.type||t.type===sn.PLAIN)&&sI.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===sI.tag&&e.default);function sO(e,t,n){if(i$(n=e&&iD(n)?n.resolve(e.doc):n))for(let r of n.items)sC(e,t,r);else if(Array.isArray(n))for(let r of n)sC(e,t,r);else sC(e,t,n)}function sC(e,t,n){let r=e&&iD(n)?n.resolve(e.doc):n;if(!iB(r))throw Error("Merge sources must be maps or map aliases");for(let[n,i]of r.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,i):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:i,writable:!0,enumerable:!0,configurable:!0});return t}function sN(e,t,{key:n,value:r}){if(iz(n)&&n.addToJSMap)n.addToJSMap(e,t,r);else if(sA(e,n))sO(e,t,r);else{let i=i9(n,"",e);if(t instanceof Map)t.set(i,i9(r,i,e));else if(t instanceof Set)t.add(i);else{let s=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(iz(e)&&n?.doc){let t=sk(n.doc,{});for(let e of(t.anchors=new Set,n.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),sT(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,i,e),o=i9(r,s,e);s in t?Object.defineProperty(t,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[s]=o}}return t}function sj(e,t,n){return new sL(sr(e,void 0,n),sr(t,void 0,n))}class sL{constructor(e,t=null){Object.defineProperty(this,iM,{value:iL}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return iz(t)&&(t=t.clone(e)),iz(n)&&(n=n.clone(e)),new sL(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return sN(t,n,this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,i){let s,o,l;let{allNullValues:a,doc:u,indent:c,indentStep:p,options:{commentString:f,indentSeq:h,simpleKeys:d}}=n,m=iz(e)&&e.comment||null;if(d){if(m)throw Error("With simple keys, key nodes cannot have comments");if(iU(e)||!iz(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let g=!d&&(!e||m&&null==t&&!n.inFlow||iU(e)||(iJ(e)?e.type===sn.BLOCK_FOLDED||e.type===sn.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!g&&(d||!a),indent:c+p});let y=!1,x=!1,b=sE(e,n,()=>y=!0,()=>x=!0);if(!g&&!n.inFlow&&b.length>1024){if(d)throw Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(n.inFlow){if(a||null==t)return y&&r&&r(),""===b?"?":g?`? ${b}`:b}else if(a&&!d||null==t&&g)return b=`? ${b}`,m&&!y?b+=su(b,n.indent,f(m)):x&&i&&i(),b;y&&(m=null),g?(m&&(b+=su(b,n.indent,f(m))),b=`? ${b} ${c}:`):(b=`${b}:`,m&&(b+=su(b,n.indent,f(m)))),iz(t)?(s=!!t.spaceBefore,o=t.commentBefore,l=t.comment):(s=!1,o=null,l=null,t&&"object"==typeof t&&(t=u.createNode(t))),n.implicitKey=!1,!g&&!m&&iJ(t)&&(n.indentAtStart=b.length+1),x=!1,!(!h&&p.length>=2&&!n.inFlow&&!g&&i$(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let w=!1,v=sE(t,n,()=>w=!0,()=>x=!0),k=" ";if(m||s||o){if(k=s?"\n":"",o){let e=f(o);k+=` ${sa(e,n.indent)}`}""!==v||n.inFlow?k+=` ${n.indent}`:"\n"===k&&(k="\n\n")}else if(!g&&iU(t)){let e=v[0],r=v.indexOf("\n"),i=-1!==r,s=n.inFlow??t.flow??0===t.items.length;if(i||!s){let t=!1;if(i&&("&"===e||"!"===e)){let n=v.indexOf(" ");"&"===e&&-1!==n&&ns=null);nc||o.includes("\n"))&&(u=!0),p.push(o),c=p.length}let{start:f,end:h}=n;if(0===p.length)return f+h;if(!u){let e=p.reduce((e,t)=>e+t.length+2,2);u=t.options.lineWidth>0&&e>t.options.lineWidth}if(!u)return`${f}${o}${p.join(" ")}${o}${h}`;{let e=f;for(let t of p)e+=t?` ${s}${i}${t}`:"\n";return`${e} ${i}${h}`}}:function({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:o,onComment:l}){let a;let{indent:u,options:{commentString:c}}=n,p=Object.assign({},n,{indent:s,type:null}),f=!1,h=[];for(let e=0;eo=null,()=>f=!0);o&&(l+=su(l,s,c(o))),f&&o&&(f=!1),h.push(r+l)}if(0===h.length)a=i.start+i.end;else{a=h[0];for(let e=1;e{if("function"==typeof i)o=i.call(t,e,o);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==o||r)&&s.items.push(sj(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&s.items.sort(e.sortMapEntries),s}add(e,t){let n;n=iR(e)?e:e&&"object"==typeof e&&"key"in e?new sL(e.key,e.value):new sL(e,e?.value);let r=sM(this.items,n.key),i=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);iJ(r.value)&&st(n.value)?r.value.value=n.value:r.value=n.value}else if(i){let e=this.items.findIndex(e=>0>i(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=sM(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=sM(this.items,e),r=n?.value;return(!t&&iJ(r)?r.value:r)??void 0}has(e){return!!sM(this.items,e)}set(e,t){this.add(new sL(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))sN(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!iR(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),s_(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}let sF={collection:"map",default:!0,nodeClass:sD,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(iB(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>sD.from(e,t,n)};class sB extends so{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(iP,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=sR(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=sR(e);if("number"!=typeof n)return;let r=this.items[n];return!t&&iJ(r)?r.value:r}has(e){let t=sR(e);return"number"==typeof t&&t=0?t:null}let sJ={collection:"seq",default:!0,nodeClass:sB,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(i$(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>sB.from(e,t,n)},s$={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>sv(e,t=Object.assign({actualString:!0},t),n,r)},sU={identify:e=>null==e,createNode:()=>new sn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new sn(null),stringify:({source:e},t)=>"string"==typeof e&&sU.test.test(e)?e:t.options.nullStr},sz={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new sn("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&sz.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function sq({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);let i="number"==typeof r?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(s)){let e=s.indexOf(".");e<0&&(e=s.length,s+=".");let n=t-(s.length-e-1);for(;n-- >0;)s+="0"}return s}let sV={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:sq},sX={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():sq(e)}},sK={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new sn(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:sq},sW=e=>"bigint"==typeof e||Number.isInteger(e),sH=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function sG(e,t,n){let{value:r}=e;return sW(r)&&r>=0?n+r.toString(t):sq(e)}let sY={identify:e=>sW(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>sH(e,2,8,n),stringify:e=>sG(e,8,"0o")},sQ={identify:sW,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>sH(e,0,10,n),stringify:sq},sZ={identify:e=>sW(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>sH(e,2,16,n),stringify:e=>sG(e,16,"0x")},s0=[sF,sJ,s$,sU,sz,sY,sQ,sZ,sV,sX,sK];function s1(e){return"bigint"==typeof e||Number.isInteger(e)}let s2=({value:e})=>JSON.stringify(e),s3=[sF,sJ].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:s2},{identify:e=>null==e,createNode:()=>new sn(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:s2},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:s2},{identify:s1,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>s1(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:s2}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)});var s4=n(57300).lW;let s6={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof s4)return s4.from(e,"base64");if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new sL(new sn(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore} ${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment} ${t.comment}`:r.comment}r=e}e.items[n]=iR(r)?r:new sL(r)}}else t("Expected a sequence for this tag");return e}function s8(e,t,n){let{replacer:r}=n,i=new sB(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,l;if("function"==typeof r&&(e=r.call(t,String(s++),e)),Array.isArray(e)){if(2===e.length)o=e[0],l=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`)}else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)l=e[o=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;i.items.push(sj(o,l,n))}return i}let s9={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:s5,createNode:s8};class s7 extends sB{constructor(){super(),this.add=sD.prototype.add.bind(this),this.delete=sD.prototype.delete.bind(this),this.get=sD.prototype.get.bind(this),this.has=sD.prototype.has.bind(this),this.set=sD.prototype.set.bind(this),this.tag=s7.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let r,i;if(iR(e)?(r=i9(e.key,"",t),i=i9(e.value,r,t)):r=i9(e,"",t),n.has(r))throw Error("Ordered maps must not include duplicate keys");n.set(r,i)}return n}static from(e,t,n){let r=s8(e,t,n),i=new this;return i.items=r.items,i}}s7.tag="tag:yaml.org,2002:omap";let oe={collection:"seq",identify:e=>e instanceof Map,nodeClass:s7,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=s5(e,t),r=[];for(let{key:e}of n.items)iJ(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new s7,n)},createNode:(e,t,n)=>s7.from(e,t,n)};function ot({value:e,source:t},n){return t&&(e?on:or).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let on={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new sn(!0),stringify:ot},or={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new sn(!1),stringify:ot},oi=e=>"bigint"==typeof e||Number.isInteger(e);function os(e,t,n,{intAsBigInt:r}){let i=e[0];if(("-"===i||"+"===i)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===i?BigInt(-1)*t:t}let s=parseInt(e,n);return"-"===i?-1*s:s}function oo(e,t,n){let{value:r}=e;if(oi(r)){let e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return sq(e)}class ol extends sD{constructor(e){super(e),this.tag=ol.tag}add(e){let t;t=iR(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new sL(e.key,null):new sL(e,null),sM(this.items,t.key)||this.items.push(t)}get(e,t){let n=sM(this.items,e);return!t&&iR(n)?iJ(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=sM(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new sL(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),i.items.push(sj(e,null,n));return i}}ol.tag="tag:yaml.org,2002:set";let oa={collection:"map",identify:e=>e instanceof Set,nodeClass:ol,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>ol.from(e,t,n),resolve(e,t){if(iB(e)){if(e.hasAllNullValues(!0))return Object.assign(new ol,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function ou(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,i=e=>t?BigInt(e):Number(e),s=r.replace(/_/g,"").split(":").reduce((e,t)=>e*i(60)+i(t),i(0));return"-"===n?i(-1)*s:s}function oc(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return sq(e);let r="";t<0&&(r="-",t*=n(-1));let i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let op={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>ou(e,n),stringify:oc},of={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>ou(e,!1),stringify:oc},oh={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(oh.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,i,s,o,l]=t.map(Number),a=Date.UTC(n,r-1,i,s||0,o||0,l||0,t[7]?Number((t[7]+"00").substr(1,3)):0),u=t[8];if(u&&"Z"!==u){let e=ou(u,!1);30>Math.abs(e)&&(e*=60),a-=6e4*e}return new Date(a)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},od=[sF,sJ,s$,sU,on,or,{identify:oi,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>os(e,2,2,n),stringify:e=>oo(e,2,"0b")},{identify:oi,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>os(e,1,8,n),stringify:e=>oo(e,8,"0")},{identify:oi,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>os(e,0,10,n),stringify:sq},{identify:oi,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>os(e,2,16,n),stringify:e=>oo(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:sq},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():sq(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new sn(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:sq},s6,sI,oe,s9,oa,op,of,oh],om=new Map([["core",s0],["failsafe",[sF,sJ,s$]],["json",s3],["yaml11",od],["yaml-1.1",od]]),og={binary:s6,bool:sz,float:sK,floatExp:sX,floatNaN:sV,floatTime:of,int:sQ,intHex:sZ,intOct:sY,intTime:op,map:sF,merge:sI,null:sU,omap:oe,pairs:s9,seq:sJ,set:oa,timestamp:oh},oy={"tag:yaml.org,2002:binary":s6,"tag:yaml.org,2002:merge":sI,"tag:yaml.org,2002:omap":oe,"tag:yaml.org,2002:pairs":s9,"tag:yaml.org,2002:set":oa,"tag:yaml.org,2002:timestamp":oh};function ox(e,t,n){let r=om.get(t);if(r&&!e)return n&&!r.includes(sI)?r.concat(sI):r.slice();let i=r;if(!i){if(Array.isArray(e))i=[];else{let e=Array.from(om.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}}if(Array.isArray(e))for(let t of e)i=i.concat(t);else"function"==typeof e&&(i=e(i.slice()));return n&&(i=i.concat(sI)),i.reduce((e,t)=>{let n="string"==typeof t?og[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(og).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}let ob=(e,t)=>e.keyt.key?1:0;class ow{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:i,sortMapEntries:s,toStringDefaults:o}){this.compat=Array.isArray(e)?ox(e,"compat"):e?ox(null,e):null,this.name="string"==typeof i&&i||"core",this.knownTags=r?oy:{},this.tags=ox(t,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,ij,{value:sF}),Object.defineProperty(this,i_,{value:s$}),Object.defineProperty(this,iP,{value:sJ}),this.sortMapEntries="function"==typeof s?s:!0===s?ob:null}clone(){let e=Object.create(ow.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class ov{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,iM,{value:iN});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=i;let{version:s}=i;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new i3({version:s}),this.setSchema(s,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let e=Object.create(ov.prototype,{[iM]:{value:iN}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=iz(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){ok(this.contents)&&this.contents.add(e)}addIn(e,t){ok(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=i6(this);e.anchor=!t||n.has(t)?i5(t||"a",n):t}return new se(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:s,flow:o,keepUndefined:l,onTagObj:a,tag:u}=n??{},{onAnchor:c,setAnchors:p,sourceObjects:f}=function(e,t){let n=[],r=new Map,i=null;return{onAnchor:r=>{n.push(r),i||(i=i6(e));let s=i5(t,i);return i.add(s),s},setAnchors:()=>{for(let e of n){let t=r.get(e);if("object"==typeof t&&t.anchor&&(iJ(t.node)||iU(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:r}}(this,s||"a"),h={aliasDuplicateObjects:i??!0,keepUndefined:l??!1,onAnchor:c,onTagObj:a,replacer:r,schema:this.schema,sourceObjects:f},d=sr(e,u,h);return o&&iU(d)&&(d.flow=!0),p(),d}createPair(e,t,n={}){return new sL(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return!!ok(this.contents)&&this.contents.delete(e)}deleteIn(e){return ss(e)?null!=this.contents&&(this.contents=null,!0):!!ok(this.contents)&&this.contents.deleteIn(e)}get(e,t){return iU(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return ss(e)?!t&&iJ(this.contents)?this.contents.value:this.contents:iU(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!iU(this.contents)&&this.contents.has(e)}hasIn(e){return ss(e)?void 0!==this.contents:!!iU(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=si(this.schema,[e],t):ok(this.contents)&&this.contents.set(e,t)}setIn(e,t){ss(e)?this.contents=t:null==this.contents?this.contents=si(this.schema,Array.from(e),t):ok(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new i3({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new i3({version:e}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new ow(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},l=i9(this.contents,t??"",o);if("function"==typeof i)for(let{count:e,res:t}of o.anchors.values())i(t,e);return"function"==typeof s?i8(s,{"":l},"",l):l}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let n=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");let i=sk(e,t),{commentString:s}=i.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=s(e.commentBefore);n.unshift(sa(t,""))}let o=!1,l=null;if(e.contents){if(iz(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){let t=s(e.contents.commentBefore);n.push(sa(t,""))}i.forceBlockIndent=!!e.comment,l=e.contents.comment}let t=l?void 0:()=>o=!0,a=sE(e.contents,i,()=>l=null,t);l&&(a+=su(a,"",s(l))),("|"===a[0]||">"===a[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${a}`:n.push(a)}else n.push(sE(e.contents,i));if(e.directives?.docEnd){if(e.comment){let t=s(e.comment);t.includes("\n")?(n.push("..."),n.push(sa(t,""))):n.push(`... ${t}`)}else n.push("...")}else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&((!o||l)&&""!==n[n.length-1]&&n.push(""),n.push(sa(s(t),"")))}return n.join("\n")+"\n"}(this,e)}}function ok(e){if(iU(e))return!0;throw Error("Expected a YAML collection as document contents")}class oE extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class oS extends oE{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class oT extends oE{constructor(e,t,n){super("YAMLWarning",e,t,n)}}let oI=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){let e=Math.min(s-39,o.length-79);o="…"+o.substring(e),s-=e-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,s))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t&&t.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-s)));let l=" ".repeat(s)+"^".repeat(e);n.message+=`: ${o} ${l} `}};function oA(e,{flow:t,indicator:n,next:r,offset:i,onError:s,parentIndent:o,startOnNewline:l}){let a=!1,u=l,c=l,p="",f="",h=!1,d=!1,m=null,g=null,y=null,x=null,b=null,w=null,v=null;for(let i of e)switch(d&&("space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&s(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),m&&(u&&"comment"!==i.type&&"newline"!==i.type&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),i.type){case"space":!t&&("doc-start"!==n||r?.type!=="flow-collection")&&i.source.includes(" ")&&(m=i),c=!0;break;case"comment":{c||s(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=i.source.substring(1)||" ";p?p+=f+e:p=e,f="",u=!1;break}case"newline":u?p?p+=i.source:a=!0:f+=i.source,u=!0,h=!0,(g||y)&&(x=i),c=!0;break;case"anchor":g&&s(i,"MULTIPLE_ANCHORS","A node can have at most one anchor"),i.source.endsWith(":")&&s(i.offset+i.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=i,null===v&&(v=i.offset),u=!1,c=!1,d=!0;break;case"tag":y&&s(i,"MULTIPLE_TAGS","A node can have at most one tag"),y=i,null===v&&(v=i.offset),u=!1,c=!1,d=!0;break;case n:(g||y)&&s(i,"BAD_PROP_ORDER",`Anchors and tags must be after the ${i.source} indicator`),w&&s(i,"UNEXPECTED_TOKEN",`Unexpected ${i.source} in ${t??"collection"}`),w=i,u="seq-item-ind"===n||"explicit-key-ind"===n,c=!1;break;case"comma":if(t){b&&s(i,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=i,u=!1,c=!1;break}default:s(i,"UNEXPECTED_TOKEN",`Unexpected ${i.type} token`),u=!1,c=!1}let k=e[e.length-1],E=k?k.offset+k.source.length:i;return d&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(u&&m.indent<=o||r?.type==="block-map"||r?.type==="block-seq")&&s(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,found:w,spaceBefore:a,comment:p,hasNewline:h,anchor:g,tag:y,newlineAfterProp:x,end:E,start:v??E}}function oO(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(oO(t.key)||oO(t.value))return!0}return!1;default:return!0}}function oC(e,t,n){if(t?.type==="flow-collection"){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&oO(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function oN(e,t,n){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let i="function"==typeof r?r:(e,t)=>e===t||iJ(e)&&iJ(t)&&e.value===t.value;return t.some(e=>i(e.key,n))}let oj="All mapping items must start at the same column";function oL(e,t,n,r){let i="";if(e){let s=!1,o="";for(let l of e){let{source:e,type:a}=l;switch(a){case"space":s=!0;break;case"comment":{n&&!s&&r(l,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";i?i+=o+t:i=t,o="";break}case"newline":i&&(o+=e),s=!0;break;default:r(l,"UNEXPECTED_TOKEN",`Unexpected ${a} at node end`)}t+=e.length}}return{comment:i,offset:t}}let o_="Block collections are not allowed within flow collections",oP=e=>e&&("block-map"===e.type||"block-seq"===e.type);function oM(e,t,n,r,i,s){let o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,i,s){let o=new(s?.nodeClass??sD)(n.schema);n.atRoot&&(n.atRoot=!1);let l=r.offset,a=null;for(let s of r.items){let{start:u,key:c,sep:p,value:f}=s,h=oA(u,{indicator:"explicit-key-ind",next:c??p?.[0],offset:l,onError:i,parentIndent:r.indent,startOnNewline:!0}),d=!h.found;if(d){if(c&&("block-seq"===c.type?i(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in c&&c.indent!==r.indent&&i(l,"BAD_INDENT",oj)),!h.anchor&&!h.tag&&!p){a=h.end,h.comment&&(o.comment?o.comment+="\n"+h.comment:o.comment=h.comment);continue}(h.newlineAfterProp||oO(c))&&i(c??u[u.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==r.indent&&i(l,"BAD_INDENT",oj);n.atKey=!0;let m=h.end,g=c?e(n,c,h,i):t(n,m,u,null,h,i);n.schema.compat&&oC(r.indent,c,i),n.atKey=!1,oN(n,o.items,g)&&i(m,"DUPLICATE_KEY","Map keys must be unique");let y=oA(p??[],{indicator:"map-value-ind",next:f,offset:g.range[2],onError:i,parentIndent:r.indent,startOnNewline:!c||"block-scalar"===c.type});if(l=y.end,y.found){d&&(f?.type!=="block-map"||y.hasNewline||i(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&h.start0){let e=oL(h,d,n.options.strict,i);e.comment&&(a.comment?a.comment+="\n"+e.comment:a.comment=e.comment),a.range=[r.offset,d,e.offset]}else a.range=[r.offset,d,d];return a}(e,t,n,r,s),l=o.constructor;return"!"===i||i===l.tagName?o.tag=l.tagName:i&&(o.tag=i),o}function oD(e,t,n){let r=t.offset,i=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=t[0],s=i[0],o=0,l="",a=-1;for(let t=1;t=0;--e){let t=o[e][1];if(""===t||"\r"===t)l=e;else break}if(0===l){let e="+"===i.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"",n=r+i.length;return t.source&&(n+=t.source.length),{value:e,type:s,comment:i.comment,range:[r,n,n]}}let a=t.indent+i.indent,u=t.offset+i.length,c=0;for(let t=0;ta&&(a=r.length);else{r.length=l;--e)o[e][0].length>a&&(l=e+1);let p="",f="",h=!1;for(let e=0;ea||" "===r[0]?(" "===f?f="\n":h||"\n"!==f||(f="\n\n"),p+=f+t.slice(a)+r,f="\n",h=!0):""===r?"\n"===f?p+="\n":f="\n":(p+=f+r,f=" ",h=!1)}switch(i.chomp){case"-":break;case"+":for(let e=l;en(s+e,t,r);switch(o){case"scalar":r=sn.PLAIN,i=function(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),oB(e)}(l,u);break;case"single-quoted-scalar":r=sn.QUOTE_SINGLE,("'"!==l[l.length-1]||1===l.length)&&u(l.length,"MISSING_CHAR","Missing closing 'quote"),i=oB(l.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=sn.QUOTE_DOUBLE,i=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):i)}else n+=i}}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(l,u);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[s,s+l.length,s+l.length]}}let c=s+l.length,p=oL(a,c,t,n);return{value:i,type:r,comment:p.comment,range:[s,c,p.offset]}}function oB(e){let t,n;try{t=RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e)):null;i=e.options.stringKeys&&e.atKey?e.schema[i_]:c?function(e,t,n,r,i){if("!"===n)return e[i_];let s=[];for(let t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;s.push(t)}for(let e of s)if(e.test?.test(t))return e;let o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[i_])}(e.schema,o,c,n,r):"scalar"===t.type?function({atKey:e,directives:t,schema:n},r,i,s){let o=n.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(r))||n[i_];if(n.compat){let e=n.compat.find(e=>e.default&&e.test?.test(r))??n[i_];if(o.tag!==e.tag){let n=t.tagString(o.tag),r=t.tagString(e.tag);s(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${n} or ${r}`,!0)}}return o}(e,o,t,r):e.schema[i_];try{let l=i.resolve(o,e=>r(n??t,"TAG_RESOLVE_FAILED",e),e.options);s=iJ(l)?l:new sn(l)}catch(e){r(n??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),s=new sn(o)}return s.range=u,s.source=o,l&&(s.type=l),c&&(s.tag=c),i.format&&(s.format=i.format),a&&(s.comment=a),s}let o$={composeNode:oU,composeEmptyNode:oz};function oU(e,t,n,r){let i;let s=e.atKey,{spaceBefore:o,comment:l,anchor:a,tag:u}=n,c=!0;switch(t.type){case"alias":i=function({options:e},{offset:t,source:n,end:r},i){let s=new se(n.substring(1));""===s.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=t+n.length,l=oL(r,o,e.strict,i);return s.range=[t,o,l.offset],l.comment&&(s.comment=l.comment),s}(e,t,r),(a||u)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":i=oJ(e,t,u,r),a&&(i.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":i=function(e,t,n,r,i){let s=r.tag,o=s?t.directives.tagName(s.source,e=>i(s,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===n.type){let{anchor:e,newlineAfterProp:t}=r,n=e&&s?e.offset>s.offset?e:s:e??s;n&&(!t||t.offsete.tag===o&&e.collection===l);if(!a){let r=t.schema.knownTags[o];if(!r||r.collection!==l)return r?.collection?i(s,"BAD_COLLECTION_TYPE",`${r.tag} used for ${l} collection, but expects ${r.collection}`,!0):i(s,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),oM(e,t,n,i,o);t.schema.tags.push(Object.assign({},r,{default:!1})),a=r}let u=oM(e,t,n,i,o,a),c=a.resolve?.(u,e=>i(s,"TAG_RESOLVE_FAILED",e),t.options)??u,p=iz(c)?c:new sn(c);return p.range=u.range,p.tag=o,a?.format&&(p.format=a.format),p}(o$,e,t,n,r),a&&(i.anchor=a.source.substring(1));break;default:{let s="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",s),i=oz(e,t.offset,void 0,null,n,r),c=!1}}return a&&""===i.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),s&&e.options.stringKeys&&(!iJ(i)||"string"!=typeof i.value||i.tag&&"tag:yaml.org,2002:str"!==i.tag)&&r(u??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),o&&(i.spaceBefore=!0),l&&("scalar"===t.type&&""===t.source?i.comment=l:i.commentBefore=l),e.options.keepSourceTokens&&c&&(i.srcToken=t),i}function oz(e,t,n,r,{spaceBefore:i,comment:s,anchor:o,tag:l,end:a},u){let c=oJ(e,{type:"scalar",offset:function(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];n?.type==="space";)e+=n.source.length,n=t[++r];break}}return e}(t,n,r),indent:-1,source:""},l,u);return o&&(c.anchor=o.source.substring(1),""===c.anchor&&u(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(c.spaceBefore=!0),s&&(c.comment=s,c.range[2]=a),c}function oq(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function oV(e){let t="",n=!1,r=!1;for(let i=0;i{let i=oq(e);r?this.warnings.push(new oT(i,t,n)):this.errors.push(new oS(i,t,n))},this.directives=new i3({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=oV(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment} ${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(iU(i)&&!i.flow&&i.items.length>0){let e=i.items[0];iR(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n} ${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n} ${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:oV(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,r)=>{let i=oq(e);i[0]+=t,this.onError(i,"BAD_DIRECTIVE",n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:n,start:r,value:i,end:s},o){let l=new ov(void 0,Object.assign({_directives:t},e)),a={atKey:!1,atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},u=oA(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:o,parentIndent:0,startOnNewline:!0});u.found&&(l.directives.docStart=!0,i&&("block-map"===i.type||"block-seq"===i.type)&&!u.hasNewline&&o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=i?oU(a,i,u,o):oz(a,u.end,r,null,u,o);let c=l.contents.range[2],p=oL(s,c,!1,o);return p.comment&&(l.comment=p.comment),l.range=[n,c,p.offset],l}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new oS(oq(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){this.errors.push(new oS(oq(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=oL(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e} ${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new oS(oq(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new ov(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}function oK(e,t=!0,n){if(e){let r=(e,t,r)=>{let i="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(n)n(i,t,r);else throw new oS([i,i+1],t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return oF(e,t,r);case"block-scalar":return oD({options:{strict:t}},e,r)}}return null}function oW(e,t){let{implicitKey:n=!1,indent:r,inFlow:i=!1,offset:s=-1,type:o="PLAIN"}=t,l=sv({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),a=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(l[0]){case"|":case">":{let e=l.indexOf("\n"),t=l.substring(0,e),n=l.substring(e+1)+"\n",i=[{type:"block-scalar-header",offset:s,indent:r,source:t}];return oG(i,a)||i.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:s,indent:r,props:i,source:n}}case'"':return{type:"double-quoted-scalar",offset:s,indent:r,source:l,end:a};case"'":return{type:"single-quoted-scalar",offset:s,indent:r,source:l,end:a};default:return{type:"scalar",offset:s,indent:r,source:l,end:a}}}function oH(e,t,n={}){let{afterKey:r=!1,implicitKey:i=!1,inFlow:s=!1,type:o}=n,l="indent"in e?e.indent:null;if(r&&"number"==typeof l&&(l+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}let a=sv({type:o,value:t},{implicitKey:i||null===l,indent:null!==l&&l>0?" ".repeat(l):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}});switch(a[0]){case"|":case">":(function(e,t){let n=t.indexOf("\n"),r=t.substring(0,n),i=t.substring(n+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=r,e.source=i}else{let{offset:t}=e,n="indent"in e?e.indent:-1,s=[{type:"block-scalar-header",offset:t,indent:n,source:r}];for(let t of(oG(s,"end"in e?e.end:void 0)||s.push({type:"newline",offset:-1,indent:n,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:s,source:i})}})(e,a);break;case'"':oY(e,a,"double-quoted-scalar");break;case"'":oY(e,a,"single-quoted-scalar");break;default:oY(e,a,"scalar")}}function oG(e,t){if(t)for(let n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function oY(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{let r=e.props.slice(1),i=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(i-=e.props[0].source.length),r))t.offset+=i;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{let r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r="indent"in e?e.indent:-1,i="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}let oQ=e=>"type"in e?oZ(e):o0(e);function oZ(e){switch(e.type){case"block-scalar":{let t="";for(let n of e.props)t+=oZ(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(let n of e.items)t+=o0(n);return t}case"flow-collection":{let t=e.start.source;for(let n of e.items)t+=o0(n);for(let n of e.end)t+=n.source;return t}case"document":{let t=o0(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function o0({start:e,key:t,sep:n,value:r}){let i="";for(let t of e)i+=t.source;if(t&&(i+=oZ(t)),n)for(let e of n)i+=e.source;return r&&(i+=oZ(r)),i}let o1=Symbol("break visit"),o2=Symbol("skip children"),o3=Symbol("remove item");function o4(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,r){let i=r(n,t);if("symbol"==typeof i)return i;for(let s of["key","value"]){let o=n[s];if(o&&"items"in o){for(let n=0;n{let n=e;for(let[e,r]of t){let t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},o4.parentCollection=(e,t)=>{let n=o4.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],i=n?.[r];if(i&&"items"in i)return i;throw Error("Parent collection not found")};let o6="\uFEFF",o5="\x02",o8="\x18",o9="\x1f",o7=e=>!!e&&"items"in e,le=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function lt(e){switch(e){case o6:return"";case o5:return"";case o8:return"";case o9:return"";default:return JSON.stringify(e)}}function ln(e){switch(e){case o6:return"byte-order-mark";case o5:return"doc-mode";case o8:return"flow-error-end";case o9:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function lr(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let li=new Set("0123456789ABCDEFabcdef"),ls=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),lo=new Set(",[]{}"),ll=new Set(" ,[]{}\n\r "),la=e=>!e||ll.has(e);class lu{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){let t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&lr(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&ethis.indentValue&&!lr(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&lr(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(la),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t;let n=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>lr(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,n=0;t:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break t}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);let i=e;for(;" "===r;)r=this.buffer[--e];if("\n"===r&&e>=this.pos&&e+1+n>i)t=e;else break}return yield o9,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e;let t=this.flowLevel>0,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(lr(e)||t&&lo.has(e))break;n=r}else if(lr(e)){let i=this.buffer[r+1];if("\r"===e&&("\n"===i?(r+=1,e="\n",i=this.buffer[r+1]):n=r),"#"===i||t&&lo.has(i))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&lo.has(e))break;n=r}return e||this.atEnd?(yield o9,yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(la))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(lr(t)||e&&lo.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!lr(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(ls.has(t))t=this.buffer[++e];else if("%"===t&&li.has(this.buffer[e+1])&&li.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do t=this.buffer[++n];while(" "===t||e&&" "===t);let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class lc{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break t}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function lg(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||lp(t.start,"explicit-key-ind")||lp(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,lh(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class ly{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new lu,this.onNewLine=e}*parse(e,t=!1){for(let n of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=ln(e);if(t){if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&(!e||"doc-end"!==e.type)){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t){if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&lg(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case"block-seq":{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===lf(n.start)&&(0===t.indent||n.start.every(e=>"comment"!==e.type||e.indent=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,i=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(i=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":r||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?r||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey){if(t.sep){if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(lp(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(lh(t.key)&&!lp(t.sep,"newline")){let e=lm(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken)}else if(lp(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=lm(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}}else t.sep?t.value||r?e.items.push({start:i,key:null,sep:[this.sourceToken]}):lp(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:i,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let t=this.startBlockValue(e);if(t){n&&"block-seq"!==t.type&&e.items.push({start:i}),this.stack.push(t);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||lp(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep)){if("map-value-ind"===this.type&&"flow-collection"!==t.type){let n=lm(ld(t));lg(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=lm(ld(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=lm(ld(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function lx(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new lc||null,prettyErrors:t}}function lb(e,t={}){let{lineCounter:n,prettyErrors:r}=lx(t),i=new ly(n?.addNewLine),s=new oX(t),o=Array.from(s.compose(i.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(oI(e,n)),t.warnings.forEach(oI(e,n));return o.length>0?o:Object.assign([],{empty:!0},s.streamInfo())}function lw(e,t={}){let{lineCounter:n,prettyErrors:r}=lx(t),i=new ly(n?.addNewLine),s=new oX(t),o=null;for(let t of s.compose(i.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new oS(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return r&&n&&(o.errors.forEach(oI(e,n)),o.warnings.forEach(oI(e,n))),o}function lv(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);let i=lw(e,n);if(!i)return null;if(i.warnings.forEach(e=>sT(i.options.logLevel,e)),i.errors.length>0){if("silent"!==i.options.logLevel)throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function lk(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=n??t??{};if(!e)return}return iF(e)&&!r?e.toString(n):new ov(e,r,n).toString(n)}let lE=/^---(?:\r?\n|\r)(?:([\s\S]*?)(?:\r?\n|\r))?---(?:\r?\n|\r|$)/;var lS=n(82378);let lT=function(e){if(null==e)return lA;if("string"==typeof e)return lI(function(t){return t&&t.type===e});if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n0){for(;++llC(e,"mdxjsEsm")}async function lj(e){var t;let n,{scope:r={},mdxOptions:i={},parseFrontmatter:s=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=new I(e);s&&function(e,t){let n=t||{},r=n.strip,i=n.yaml||{},s=String(e),o=lE.exec(s);o?(e.data.matter=h.parse(o[1],i),r&&(s=s.slice(o[0].length),e.value=e.value&&"object"==typeof e.value?new TextEncoder().encode(s):s)):e.data.matter={}}(l,{strip:!0});try{n=await function(e,t){let{file:n,options:r}=function(e,t){let n=e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new I(e),{format:r,...i}=t||{};return{file:n,options:{format:"md"===r||"mdx"===r?r:n.extname&&(i.mdExtensions||N).includes(n.extname)?"md":"mdx",...i}}}(e,t);return(function(e){let t=e||{},n=-1;for(;++n on how to migrate"));let r=r7().use(rT);"md"!==t.format&&r.use(nv);let i=t.remarkRehypeOptions||{};return r.use(iT).use(t.remarkPlugins||[]).use(r2,{...i,allowDangerousHtml:!0,passThrough:[...i.passThrough||[],...iI]}).use(t.rehypePlugins||[]),"md"===t.format&&r.use(iw),r.use(tm,t).use(id,t).use(iy,t),t.jsx||r.use(W,t).use(ip,t),r.use(Z).use(ef,t).use(t.recmaPlugins||[]),r})(r).process(n)}(l,function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=null!==(e=t.useDynamicImport)&&void 0!==e&&e,i=[...t.remarkPlugins||[],...r?[]:[lN]];return{...t,remarkPlugins:i,outputFormat:"function-body",providerImportSource:n?void 0:"@mdx-js/react",development:!1}}(i,o))}catch(e){throw function(e,t){var n,r;let i=null!==(n=null==e?void 0:e.position)&&void 0!==n?n:function(e){let t=e.match(/\d+:\d+(-\d+:\d+)/g);if(t){let[e,n]=t.slice(-1)[0].split("-")[0].split(":");return{start:{line:Number.parseInt(e,10),column:Number.parseInt(n,10)}}}}(null==e?void 0:e.message),s=i?(0,lS.rf)(t,{start:{line:i.start.line,column:null!==(r=i.start.column)&&void 0!==r?r:0}},{linesAbove:2,linesBelow:2}):"",o=Error("[next-mdx-remote] error compiling MDX:\n".concat(null==e?void 0:e.message,"\n").concat(s?"\n"+s+"\n":"","\nMore information: https://mdxjs.com/docs/troubleshooting-mdx"));return o.stack="",o}(e,String(l))}return{compiledSource:String(n),frontmatter:null!==(t=l.data.matter)&&void 0!==t?t:{},scope:r}}async function lL(e){let{source:t,options:n,components:r={}}=e,{compiledSource:i,frontmatter:s,scope:o}=await lj(t,n,!0),l=Object.assign({opts:m.jsxRuntime},{frontmatter:s},o),a=Object.keys(l),u=Object.values(l),c=Reflect.construct(Function,a.concat("".concat(i))),p=c.apply(c,u).default;return{content:d.createElement(p,{components:r}),frontmatter:s}}},68812:e=>{"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},6795:e=>{"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},63667:e=>{"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')}}]);