markview-vue 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +195 -0
- package/dist/assets/bash-DYWjN7qW.cjs +1 -0
- package/dist/assets/bash-InADTalH.js +6 -0
- package/dist/assets/css-CECN5uSL.js +6 -0
- package/dist/assets/css-Do0mp2lm.cjs +1 -0
- package/dist/assets/go-CvFNMTvu.js +6 -0
- package/dist/assets/go-j_hH531s.cjs +1 -0
- package/dist/assets/html-B50bmoVb.js +10 -0
- package/dist/assets/html-C62Zf2h4.cjs +1 -0
- package/dist/assets/java--6gf61wy.cjs +1 -0
- package/dist/assets/java-DY6VlHhP.js +6 -0
- package/dist/assets/javascript-C25yR2R2.js +6 -0
- package/dist/assets/javascript-DgmXW4Ha.cjs +1 -0
- package/dist/assets/json-DxJze_jm.js +6 -0
- package/dist/assets/json-YkPizm35.cjs +1 -0
- package/dist/assets/jsx-BtKADgXT.js +6 -0
- package/dist/assets/jsx-DLX6UGgg.cjs +1 -0
- package/dist/assets/markview-vue-DsYXcYAT.css +1 -0
- package/dist/assets/python-BFNSHbwJ.js +6 -0
- package/dist/assets/python-s9jfVbew.cjs +1 -0
- package/dist/assets/scss-B1FaCqwR.js +8 -0
- package/dist/assets/scss-CKlduTMv.cjs +1 -0
- package/dist/assets/sql-Cn_v3PB0.js +6 -0
- package/dist/assets/sql-DhUUVgH1.cjs +1 -0
- package/dist/assets/tsx-B8rCNbgL.js +6 -0
- package/dist/assets/tsx-DIpfUf9u.cjs +1 -0
- package/dist/assets/typescript-RycA9KXf.js +6 -0
- package/dist/assets/typescript-b48wo4zk.cjs +1 -0
- package/dist/assets/vue-B_DTExBK.js +33 -0
- package/dist/assets/vue-HUYrLYE5.cjs +1 -0
- package/dist/assets/wasm-DQxwEHae.js +7 -0
- package/dist/assets/wasm-Dw4u1m6u.cjs +1 -0
- package/dist/assets/yaml-DaO7k5B1.js +6 -0
- package/dist/assets/yaml-XVBmpKh-.cjs +1 -0
- package/dist/index.cjs +528 -0
- package/dist/index.d.ts +967 -0
- package/dist/index.js +38171 -0
- package/package.json +83 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
"use strict";var c1=Object.defineProperty;var h1=(e,t,r)=>t in e?c1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var K=(e,t,r)=>h1(e,typeof t!="symbol"?t+"":t,r);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const v=require("vue"),p1=require("vue/jsx-runtime");function f1(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const d1=f1(p1);function or(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Xu(e.position):"start"in e||"end"in e?Xu(e):"line"in e||"column"in e?Bo(e):""}function Bo(e){return Yu(e&&e.line)+":"+Yu(e&&e.column)}function Xu(e){return Bo(e&&e.start)+"-"+Bo(e&&e.end)}function Yu(e){return e&&typeof e=="number"?e:1}class Oe extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let i="",a={},s=!1;if(r&&("line"in r&&"column"in r?a={place:r}:"start"in r&&"end"in r?a={place:r}:"type"in r?a={ancestors:[r],place:r.position}:a={...r}),typeof t=="string"?i=t:!a.cause&&t&&(s=!0,i=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof n=="string"){const u=n.indexOf(":");u===-1?a.ruleId=n:(a.source=n.slice(0,u),a.ruleId=n.slice(u+1))}if(!a.place&&a.ancestors&&a.ancestors){const u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}const l=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=l?l.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=l?l.line:void 0,this.name=or(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=s&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Oe.prototype.file="";Oe.prototype.name="";Oe.prototype.reason="";Oe.prototype.message="";Oe.prototype.stack="";Oe.prototype.column=void 0;Oe.prototype.line=void 0;Oe.prototype.ancestors=void 0;Oe.prototype.cause=void 0;Oe.prototype.fatal=void 0;Oe.prototype.place=void 0;Oe.prototype.ruleId=void 0;Oe.prototype.source=void 0;const Er={basename:m1,dirname:g1,extname:x1,join:y1,sep:"/"};function m1(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ui(e);let r=0,n=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else n<0&&(a=!0,n=i+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let s=-1,l=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){r=i+1;break}}else s<0&&(a=!0,s=i+1),l>-1&&(e.codePointAt(i)===t.codePointAt(l--)?l<0&&(n=i):(l=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function g1(e){if(Ui(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function x1(e){Ui(e);let t=e.length,r=-1,n=0,i=-1,a=0,s;for(;t--;){const l=e.codePointAt(t);if(l===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),l===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||r<0||a===0||a===1&&i===r-1&&i===n+1?"":e.slice(i,r)}function y1(...e){let t=-1,r;for(;++t<e.length;)Ui(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":v1(r)}function v1(e){Ui(e);const t=e.codePointAt(0)===47;let r=b1(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function b1(e,t){let r="",n=0,i=-1,a=0,s=-1,l,u;for(;++s<=e.length;){if(s<e.length)l=e.codePointAt(s);else{if(l===47)break;l=47}if(l===47){if(!(i===s-1||a===1))if(i!==s-1&&a===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(u=r.lastIndexOf("/"),u!==r.length-1){u<0?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),i=s,a=0;continue}}else if(r.length>0){r="",n=0,i=s,a=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(i+1,s):r=e.slice(i+1,s),n=s-i-1;i=s,a=0}else l===46&&a>-1?a++:a=-1}return r}function Ui(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const w1={cwd:k1};function k1(){return"/"}function Lo(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function S1(e){if(typeof e=="string")e=new URL(e);else if(!Lo(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return C1(e)}function C1(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Ls=["history","path","basename","stem","extname","dirname"];class Ih{constructor(t){let r;t?Lo(t)?r={path:t}:typeof t=="string"||E1(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":w1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Ls.length;){const a=Ls[n];a in r&&r[a]!==void 0&&r[a]!==null&&(this[a]=a==="history"?[...r[a]]:r[a])}let i;for(i in r)Ls.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Er.basename(this.path):void 0}set basename(t){Ds(t,"basename"),Rs(t,"basename"),this.path=Er.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Er.dirname(this.path):void 0}set dirname(t){Ku(this.basename,"dirname"),this.path=Er.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Er.extname(this.path):void 0}set extname(t){if(Rs(t,"extname"),Ku(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Er.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Lo(t)&&(t=S1(t)),Ds(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Er.basename(this.path,this.extname):void 0}set stem(t){Ds(t,"stem"),Rs(t,"stem"),this.path=Er.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){const i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){const i=new Oe(t,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Rs(e,t){if(e&&e.includes(Er.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Er.sep+"`")}function Ds(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ku(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function E1(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const _1=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"],A1=_1.map(function(e){return"."+e});function T1(e,t){const r=I1(e)?e:new Ih(e),{format:n,...i}=t||{};return{file:r,options:{format:n==="md"||n==="mdx"?n:r.extname&&(i.mdExtensions||A1).includes(r.extname)?"md":"mdx",...i}}}function I1(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}const N1=/[$_\p{ID_Start}]/u,M1=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,P1=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,B1=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,L1=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Nh={};function fr(e){return e?N1.test(String.fromCodePoint(e)):!1}function pi(e,t){const n=(t||Nh).jsx?P1:M1;return e?n.test(String.fromCodePoint(e)):!1}function Ir(e,t){return((t||Nh).jsx?L1:B1).test(e)}class R1{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,r,n,i){t&&r&&(n!=null?t[r][n]=i:t[r]=i)}remove(t,r,n){t&&r&&(n!=null?t[r].splice(n,1):delete t[r])}}class D1 extends R1{constructor(t,r){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:n=>this.replacement=n},this.enter=t,this.leave=r}visit(t,r,n,i){if(t){if(this.enter){const s=this.should_skip,l=this.should_remove,u=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,r,n,i),this.replacement&&(t=this.replacement,this.replace(r,n,i,t)),this.should_remove&&this.remove(r,n,i);const c=this.should_skip,p=this.should_remove;if(this.should_skip=s,this.should_remove=l,this.replacement=u,c)return t;if(p)return null}let a;for(a in t){const s=t[a];if(s&&typeof s=="object")if(Array.isArray(s)){const l=s;for(let u=0;u<l.length;u+=1){const c=l[u];Qu(c)&&(this.visit(c,t,a,u)||u--)}}else Qu(s)&&this.visit(s,t,a,null)}if(this.leave){const s=this.replacement,l=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,r,n,i),this.replacement&&(t=this.replacement,this.replace(r,n,i,t)),this.should_remove&&this.remove(r,n,i);const u=this.should_remove;if(this.replacement=s,this.should_remove=l,u)return null}}return t}}function Qu(e){return e!==null&&typeof e=="object"&&"type"in e&&typeof e.type=="string"}function qn(e,{enter:t,leave:r}){return new D1(t,r).visit(e,null)}const Fs=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function F1(e,t){const r=t||{};let n=r.runtime==="automatic";const i={},a={};qn(e,{enter(s){if(s.type==="Program"){const l=s.comments||[];let u=-1;for(;++u<l.length;){Fs.lastIndex=0;let c=Fs.exec(l[u].value);for(;c;)i[c[1]]=c[2],c=Fs.exec(l[u].value)}if(i.jsxRuntime)if(i.jsxRuntime==="automatic"){if(n=!0,i.jsx)throw new Error("Unexpected `@jsx` pragma w/ automatic runtime");if(i.jsxFrag)throw new Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if(i.jsxRuntime==="classic"){if(n=!1,i.jsxImportSource)throw new Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw new Error("Unexpected `jsxRuntime` `"+i.jsxRuntime+"`, expected `automatic` or `classic`")}},leave(s){if(s.type==="Program"){const k=[];if(a.fragment&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),a.jsx&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),a.jsxs&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),a.jsxDEV&&k.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),k.length>0){let _=0;for(;_<s.body.length;){const S=s.body[_];if("directive"in S&&S.directive)_++;else break}s.body.splice(_,0,{type:"ImportDeclaration",specifiers:k,source:{type:"Literal",value:(i.jsxImportSource||r.importSource||"react")+(r.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if(s.type!=="JSXElement"&&s.type!=="JSXFragment")return;const l=[];let u=-1;for(;++u<s.children.length;){const k=s.children[u];if(k.type==="JSXExpressionContainer")k.expression.type!=="JSXEmptyExpression"&&l.push(k.expression);else if(k.type==="JSXText"){const _=k.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,`
|
|
2
|
+
`).replace(/\n+/g,`
|
|
3
|
+
`).replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");if(_){const S={type:"Literal",value:_};ki(k,S),l.push(S)}}else k.type!=="JSXElement"&&k.type!=="JSXFragment"&&k.type,l.push(k)}let c;const p=[];let h=[],m;if(s.type==="JSXElement"){if(c=Pa(s.openingElement.name),c.type==="Identifier"&&/^[a-z]/.test(c.name)){const A={type:"Literal",value:c.name};ki(c,A),c=A}let k;const _=s.openingElement.attributes;let S=-1;for(;++S<_.length;){const A=_[S];if(A.type==="JSXSpreadAttribute")A.argument.type==="ObjectExpression"?p.push(...A.argument.properties):p.push({type:"SpreadElement",argument:A.argument}),k=!0;else{const N=z1(A);if(n&&N.key.type==="Identifier"&&N.key.name==="key"){if(k)throw new Error("Expected `key` to come before any spread expressions");const F=N.value;F.type!=="AssignmentPattern"&&F.type!=="ArrayPattern"&&F.type!=="ObjectPattern"&&F.type,m=F}else p.push(N)}}}else n?(a.fragment=!0,c={type:"Identifier",name:"_Fragment"}):c=Zu(i.jsxFrag||r.pragmaFrag||"React.Fragment");n?l.length>0&&p.push({type:"Property",key:{type:"Identifier",name:"children"},value:l.length>1?{type:"ArrayExpression",elements:l}:l[0],kind:"init",method:!1,shorthand:!1,computed:!1}):h=l;let d;if(n){h.push({type:"ObjectExpression",properties:p}),m?h.push(m):r.development&&h.push({type:"Identifier",name:"undefined"});const k=l.length>1;if(r.development){a.jsxDEV=!0,d={type:"Identifier",name:"_jsxDEV"},h.push({type:"Literal",value:k});const _={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:r.filePath||"<source.js>"}}]};s.loc&&_.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:s.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:s.loc.start.column+1}}),h.push(_,{type:"ThisExpression"})}else k?(a.jsxs=!0,d={type:"Identifier",name:"_jsxs"}):(a.jsx=!0,d={type:"Identifier",name:"_jsx"})}else p.length>0?h.unshift({type:"ObjectExpression",properties:p}):h.length>0&&h.unshift({type:"Literal",value:null}),d=Zu(i.jsx||r.pragma||"React.createElement");h.unshift(c);const b={type:"CallExpression",callee:d,arguments:h,optional:!1};ki(s,b),this.replace(b)}})}function z1(e){let t;if(e.value)if(e.value.type==="JSXExpressionContainer"){const n=e.value.expression;n.type,t=n}else{const n=e.value;n.type!=="JSXElement"&&n.type,t=n,delete t.raw}else t={type:"Literal",value:!0};const r={type:"Property",key:Pa(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1};return ki(e,r),r}function Pa(e){let t;if(e.type==="JSXMemberExpression"){const r=Pa(e.property);t={type:"MemberExpression",object:Pa(e.object),property:r,computed:r.type==="Literal",optional:!1}}else e.type==="JSXNamespacedName"?t={type:"Literal",value:e.namespace.name+":"+e.name.name}:t=Ir(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name};return ki(e,t),t}function Zu(e){const t=e.split(".");let r=-1,n;for(;++r<t.length;){const i=Ir(t[r])?{type:"Identifier",name:t[r]}:{type:"Literal",value:t[r]};n=n?{type:"MemberExpression",object:n,property:i,computed:!!(r&&i.type==="Literal"),optional:!1}:i}return n}function ki(e,t){const r=["start","end","loc","range","comments"];let n=-1;for(;++n<r.length;){const i=r[n];i in e&&(t[i]=e[i])}}function O1(e){return function(t,r){F1(t,{filePath:r.history[0],...e})}}function fl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zs={exports:{}},Os,e0;function V1(){return e0||(e0=1,Os={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",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:"♦"}),Os}var vi={exports:{}},j1=vi.exports,t0;function r0(){return t0||(t0=1,(function(e,t){(function(r,n){n(t)})(j1,(function(r){var n=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],a="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",l={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},u="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",c={5:u,"5module":u+" export import",6:u+" const class extends export import super"},p=/^in(stanceof)?$/,h=new RegExp("["+s+"]"),m=new RegExp("["+s+a+"]");function d(o,f){for(var w=65536,C=0;C<f.length;C+=2){if(w+=f[C],w>o)return!1;if(w+=f[C+1],w>=o)return!0}return!1}function b(o,f){return o<65?o===36:o<91?!0:o<97?o===95:o<123?!0:o<=65535?o>=170&&h.test(String.fromCharCode(o)):f===!1?!1:d(o,i)}function k(o,f){return o<48?o===36:o<58?!0:o<65?!1:o<91?!0:o<97?o===95:o<123?!0:o<=65535?o>=170&&m.test(String.fromCharCode(o)):f===!1?!1:d(o,i)||d(o,n)}var _=function(f,w){w===void 0&&(w={}),this.label=f,this.keyword=w.keyword,this.beforeExpr=!!w.beforeExpr,this.startsExpr=!!w.startsExpr,this.isLoop=!!w.isLoop,this.isAssign=!!w.isAssign,this.prefix=!!w.prefix,this.postfix=!!w.postfix,this.binop=w.binop||null,this.updateContext=null};function S(o,f){return new _(o,{beforeExpr:!0,binop:f})}var A={beforeExpr:!0},N={startsExpr:!0},F={};function P(o,f){return f===void 0&&(f={}),f.keyword=o,F[o]=new _(o,f)}var g={num:new _("num",N),regexp:new _("regexp",N),string:new _("string",N),name:new _("name",N),privateId:new _("privateId",N),eof:new _("eof"),bracketL:new _("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new _("]"),braceL:new _("{",{beforeExpr:!0,startsExpr:!0}),braceR:new _("}"),parenL:new _("(",{beforeExpr:!0,startsExpr:!0}),parenR:new _(")"),comma:new _(",",A),semi:new _(";",A),colon:new _(":",A),dot:new _("."),question:new _("?",A),questionDot:new _("?."),arrow:new _("=>",A),template:new _("template"),invalidTemplate:new _("invalidTemplate"),ellipsis:new _("...",A),backQuote:new _("`",N),dollarBraceL:new _("${",{beforeExpr:!0,startsExpr:!0}),eq:new _("=",{beforeExpr:!0,isAssign:!0}),assign:new _("_=",{beforeExpr:!0,isAssign:!0}),incDec:new _("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new _("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:S("||",1),logicalAND:S("&&",2),bitwiseOR:S("|",3),bitwiseXOR:S("^",4),bitwiseAND:S("&",5),equality:S("==/!=/===/!==",6),relational:S("</>/<=/>=",7),bitShift:S("<</>>/>>>",8),plusMin:new _("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:S("%",10),star:S("*",10),slash:S("/",10),starstar:new _("**",{beforeExpr:!0}),coalesce:S("??",1),_break:P("break"),_case:P("case",A),_catch:P("catch"),_continue:P("continue"),_debugger:P("debugger"),_default:P("default",A),_do:P("do",{isLoop:!0,beforeExpr:!0}),_else:P("else",A),_finally:P("finally"),_for:P("for",{isLoop:!0}),_function:P("function",N),_if:P("if"),_return:P("return",A),_switch:P("switch"),_throw:P("throw",A),_try:P("try"),_var:P("var"),_const:P("const"),_while:P("while",{isLoop:!0}),_with:P("with"),_new:P("new",{beforeExpr:!0,startsExpr:!0}),_this:P("this",N),_super:P("super",N),_class:P("class",N),_extends:P("extends",A),_export:P("export"),_import:P("import",N),_null:P("null",N),_true:P("true",N),_false:P("false",N),_in:P("in",{beforeExpr:!0,binop:7}),_instanceof:P("instanceof",{beforeExpr:!0,binop:7}),_typeof:P("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:P("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:P("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},M=/\r\n?|\n|\u2028|\u2029/,V=new RegExp(M.source,"g");function U(o){return o===10||o===13||o===8232||o===8233}function j(o,f,w){w===void 0&&(w=o.length);for(var C=f;C<w;C++){var L=o.charCodeAt(C);if(U(L))return C<w-1&&L===13&&o.charCodeAt(C+1)===10?C+2:C+1}return-1}var J=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,W=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ae=Object.prototype,Q=ae.hasOwnProperty,Z=ae.toString,me=Object.hasOwn||(function(o,f){return Q.call(o,f)}),xe=Array.isArray||(function(o){return Z.call(o)==="[object Array]"}),Be=Object.create(null);function Ve(o){return Be[o]||(Be[o]=new RegExp("^(?:"+o.replace(/ /g,"|")+")$"))}function z(o){return o<=65535?String.fromCharCode(o):(o-=65536,String.fromCharCode((o>>10)+55296,(o&1023)+56320))}var Ye=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Fe=function(f,w){this.line=f,this.column=w};Fe.prototype.offset=function(f){return new Fe(this.line,this.column+f)};var O=function(f,w,C){this.start=w,this.end=C,f.sourceFile!==null&&(this.source=f.sourceFile)};function nt(o,f){for(var w=1,C=0;;){var L=j(o,C,f);if(L<0)return new Fe(w,f-C);++w,C=L}}var tt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ue=!1;function bt(o){var f={};for(var w in tt)f[w]=o&&me(o,w)?o[w]:tt[w];if(f.ecmaVersion==="latest"?f.ecmaVersion=1e8:f.ecmaVersion==null?(!Ue&&typeof console=="object"&&console.warn&&(Ue=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
4
|
+
Defaulting to 2020, but this will stop working in the future.`)),f.ecmaVersion=11):f.ecmaVersion>=2015&&(f.ecmaVersion-=2009),f.allowReserved==null&&(f.allowReserved=f.ecmaVersion<5),(!o||o.allowHashBang==null)&&(f.allowHashBang=f.ecmaVersion>=14),xe(f.onToken)){var C=f.onToken;f.onToken=function(L){return C.push(L)}}return xe(f.onComment)&&(f.onComment=ut(f,f.onComment)),f}function ut(o,f){return function(w,C,L,H,G,re){var se={type:w?"Block":"Line",value:C,start:L,end:H};o.locations&&(se.loc=new O(this,G,re)),o.ranges&&(se.range=[L,H]),f.push(se)}}var at=1,st=2,ct=4,Zr=8,yr=16,vr=32,Yt=64,pr=128,wt=256,It=512,Dt=at|st|wt;function br(o,f){return st|(o?ct:0)|(f?Zr:0)}var Fr=0,xn=1,kt=2,$e=3,yn=4,X=5,Y=function(f,w,C){this.options=f=bt(f),this.sourceFile=f.sourceFile,this.keywords=Ve(c[f.ecmaVersion>=6?6:f.sourceType==="module"?"5module":5]);var L="";f.allowReserved!==!0&&(L=l[f.ecmaVersion>=6?6:f.ecmaVersion===5?5:3],f.sourceType==="module"&&(L+=" await")),this.reservedWords=Ve(L);var H=(L?L+" ":"")+l.strict;this.reservedWordsStrict=Ve(H),this.reservedWordsStrictBind=Ve(H+" "+l.strictBind),this.input=String(w),this.containsEsc=!1,C?(this.pos=C,this.lineStart=this.input.lastIndexOf(`
|
|
5
|
+
`,C-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(M).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=g.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=f.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&f.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(at),this.regexpState=null,this.privateNameStack=[]},B={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Y.prototype.parse=function(){var f=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(f)},B.inFunction.get=function(){return(this.currentVarScope().flags&st)>0},B.inGenerator.get=function(){return(this.currentVarScope().flags&Zr)>0},B.inAsync.get=function(){return(this.currentVarScope().flags&ct)>0},B.canAwait.get=function(){for(var o=this.scopeStack.length-1;o>=0;o--){var f=this.scopeStack[o],w=f.flags;if(w&(wt|It))return!1;if(w&st)return(w&ct)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},B.allowSuper.get=function(){var o=this.currentThisScope(),f=o.flags;return(f&Yt)>0||this.options.allowSuperOutsideMethod},B.allowDirectSuper.get=function(){return(this.currentThisScope().flags&pr)>0},B.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},B.allowNewDotTarget.get=function(){for(var o=this.scopeStack.length-1;o>=0;o--){var f=this.scopeStack[o],w=f.flags;if(w&(wt|It)||w&st&&!(w&yr))return!0}return!1},B.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&wt)>0},Y.extend=function(){for(var f=[],w=arguments.length;w--;)f[w]=arguments[w];for(var C=this,L=0;L<f.length;L++)C=f[L](C);return C},Y.parse=function(f,w){return new this(w,f).parse()},Y.parseExpressionAt=function(f,w,C){var L=new this(C,f,w);return L.nextToken(),L.parseExpression()},Y.tokenizer=function(f,w){return new this(w,f)},Object.defineProperties(Y.prototype,B);var ge=Y.prototype,ze=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;ge.strictDirective=function(o){if(this.options.ecmaVersion<5)return!1;for(;;){W.lastIndex=o,o+=W.exec(this.input)[0].length;var f=ze.exec(this.input.slice(o));if(!f)return!1;if((f[1]||f[2])==="use strict"){W.lastIndex=o+f[0].length;var w=W.exec(this.input),C=w.index+w[0].length,L=this.input.charAt(C);return L===";"||L==="}"||M.test(w[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(L)||L==="!"&&this.input.charAt(C+1)==="=")}o+=f[0].length,W.lastIndex=o,o+=W.exec(this.input)[0].length,this.input[o]===";"&&o++}},ge.eat=function(o){return this.type===o?(this.next(),!0):!1},ge.isContextual=function(o){return this.type===g.name&&this.value===o&&!this.containsEsc},ge.eatContextual=function(o){return this.isContextual(o)?(this.next(),!0):!1},ge.expectContextual=function(o){this.eatContextual(o)||this.unexpected()},ge.canInsertSemicolon=function(){return this.type===g.eof||this.type===g.braceR||M.test(this.input.slice(this.lastTokEnd,this.start))},ge.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ge.semicolon=function(){!this.eat(g.semi)&&!this.insertSemicolon()&&this.unexpected()},ge.afterTrailingComma=function(o,f){if(this.type===o)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),f||this.next(),!0},ge.expect=function(o){this.eat(o)||this.unexpected()},ge.unexpected=function(o){this.raise(o??this.start,"Unexpected token")};var ht=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};ge.checkPatternErrors=function(o,f){if(o){o.trailingComma>-1&&this.raiseRecoverable(o.trailingComma,"Comma is not permitted after the rest element");var w=f?o.parenthesizedAssign:o.parenthesizedBind;w>-1&&this.raiseRecoverable(w,f?"Assigning to rvalue":"Parenthesized pattern")}},ge.checkExpressionErrors=function(o,f){if(!o)return!1;var w=o.shorthandAssign,C=o.doubleProto;if(!f)return w>=0||C>=0;w>=0&&this.raise(w,"Shorthand property assignments are valid only in destructuring patterns"),C>=0&&this.raiseRecoverable(C,"Redefinition of __proto__ property")},ge.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},ge.isSimpleAssignTarget=function(o){return o.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(o.expression):o.type==="Identifier"||o.type==="MemberExpression"};var ue=Y.prototype;ue.parseTopLevel=function(o){var f=Object.create(null);for(o.body||(o.body=[]);this.type!==g.eof;){var w=this.parseStatement(null,!0,f);o.body.push(w)}if(this.inModule)for(var C=0,L=Object.keys(this.undefinedExports);C<L.length;C+=1){var H=L[C];this.raiseRecoverable(this.undefinedExports[H].start,"Export '"+H+"' is not defined")}return this.adaptDirectivePrologue(o.body),this.next(),o.sourceType=this.options.sourceType,this.finishNode(o,"Program")};var Ut={kind:"loop"},vn={kind:"switch"};ue.isLet=function(o){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;W.lastIndex=this.pos;var f=W.exec(this.input),w=this.pos+f[0].length,C=this.input.charCodeAt(w);if(C===91||C===92)return!0;if(o)return!1;if(C===123||C>55295&&C<56320)return!0;if(b(C,!0)){for(var L=w+1;k(C=this.input.charCodeAt(L),!0);)++L;if(C===92||C>55295&&C<56320)return!0;var H=this.input.slice(w,L);if(!p.test(H))return!0}return!1},ue.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;W.lastIndex=this.pos;var o=W.exec(this.input),f=this.pos+o[0].length,w;return!M.test(this.input.slice(this.pos,f))&&this.input.slice(f,f+8)==="function"&&(f+8===this.input.length||!(k(w=this.input.charCodeAt(f+8))||w>55295&&w<56320))},ue.isUsingKeyword=function(o,f){if(this.options.ecmaVersion<17||!this.isContextual(o?"await":"using"))return!1;W.lastIndex=this.pos;var w=W.exec(this.input),C=this.pos+w[0].length;if(M.test(this.input.slice(this.pos,C)))return!1;if(o){var L=C+5,H;if(this.input.slice(C,L)!=="using"||L===this.input.length||k(H=this.input.charCodeAt(L))||H>55295&&H<56320)return!1;W.lastIndex=L;var G=W.exec(this.input);if(G&&M.test(this.input.slice(L,L+G[0].length)))return!1}if(f){var re=C+2,se;if(this.input.slice(C,re)==="of"&&(re===this.input.length||!k(se=this.input.charCodeAt(re))&&!(se>55295&&se<56320)))return!1}var we=this.input.charCodeAt(C);return b(we,!0)||we===92},ue.isAwaitUsing=function(o){return this.isUsingKeyword(!0,o)},ue.isUsing=function(o){return this.isUsingKeyword(!1,o)},ue.parseStatement=function(o,f,w){var C=this.type,L=this.startNode(),H;switch(this.isLet(o)&&(C=g._var,H="let"),C){case g._break:case g._continue:return this.parseBreakContinueStatement(L,C.keyword);case g._debugger:return this.parseDebuggerStatement(L);case g._do:return this.parseDoStatement(L);case g._for:return this.parseForStatement(L);case g._function:return o&&(this.strict||o!=="if"&&o!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(L,!1,!o);case g._class:return o&&this.unexpected(),this.parseClass(L,!0);case g._if:return this.parseIfStatement(L);case g._return:return this.parseReturnStatement(L);case g._switch:return this.parseSwitchStatement(L);case g._throw:return this.parseThrowStatement(L);case g._try:return this.parseTryStatement(L);case g._const:case g._var:return H=H||this.value,o&&H!=="var"&&this.unexpected(),this.parseVarStatement(L,H);case g._while:return this.parseWhileStatement(L);case g._with:return this.parseWithStatement(L);case g.braceL:return this.parseBlock(!0,L);case g.semi:return this.parseEmptyStatement(L);case g._export:case g._import:if(this.options.ecmaVersion>10&&C===g._import){W.lastIndex=this.pos;var G=W.exec(this.input),re=this.pos+G[0].length,se=this.input.charCodeAt(re);if(se===40||se===46)return this.parseExpressionStatement(L,this.parseExpression())}return this.options.allowImportExportEverywhere||(f||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),C===g._import?this.parseImport(L):this.parseExport(L,w);default:if(this.isAsyncFunction())return o&&this.unexpected(),this.next(),this.parseFunctionStatement(L,!0,!o);var we=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(we)return f&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),we==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(L,!1,we),this.semicolon(),this.finishNode(L,"VariableDeclaration");var Te=this.value,Xe=this.parseExpression();return C===g.name&&Xe.type==="Identifier"&&this.eat(g.colon)?this.parseLabeledStatement(L,Te,Xe,o):this.parseExpressionStatement(L,Xe)}},ue.parseBreakContinueStatement=function(o,f){var w=f==="break";this.next(),this.eat(g.semi)||this.insertSemicolon()?o.label=null:this.type!==g.name?this.unexpected():(o.label=this.parseIdent(),this.semicolon());for(var C=0;C<this.labels.length;++C){var L=this.labels[C];if((o.label==null||L.name===o.label.name)&&(L.kind!=null&&(w||L.kind==="loop")||o.label&&w))break}return C===this.labels.length&&this.raise(o.start,"Unsyntactic "+f),this.finishNode(o,w?"BreakStatement":"ContinueStatement")},ue.parseDebuggerStatement=function(o){return this.next(),this.semicolon(),this.finishNode(o,"DebuggerStatement")},ue.parseDoStatement=function(o){return this.next(),this.labels.push(Ut),o.body=this.parseStatement("do"),this.labels.pop(),this.expect(g._while),o.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(g.semi):this.semicolon(),this.finishNode(o,"DoWhileStatement")},ue.parseForStatement=function(o){this.next();var f=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ut),this.enterScope(0),this.expect(g.parenL),this.type===g.semi)return f>-1&&this.unexpected(f),this.parseFor(o,null);var w=this.isLet();if(this.type===g._var||this.type===g._const||w){var C=this.startNode(),L=w?"let":this.value;return this.next(),this.parseVar(C,!0,L),this.finishNode(C,"VariableDeclaration"),this.parseForAfterInit(o,C,f)}var H=this.isContextual("let"),G=!1,re=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(re){var se=this.startNode();return this.next(),re==="await using"&&this.next(),this.parseVar(se,!0,re),this.finishNode(se,"VariableDeclaration"),this.parseForAfterInit(o,se,f)}var we=this.containsEsc,Te=new ht,Xe=this.start,St=f>-1?this.parseExprSubscripts(Te,"await"):this.parseExpression(!0,Te);return this.type===g._in||(G=this.options.ecmaVersion>=6&&this.isContextual("of"))?(f>-1?(this.type===g._in&&this.unexpected(f),o.await=!0):G&&this.options.ecmaVersion>=8&&(St.start===Xe&&!we&&St.type==="Identifier"&&St.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(o.await=!1)),H&&G&&this.raise(St.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(St,!1,Te),this.checkLValPattern(St),this.parseForIn(o,St)):(this.checkExpressionErrors(Te,!0),f>-1&&this.unexpected(f),this.parseFor(o,St))},ue.parseForAfterInit=function(o,f,w){return(this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&f.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===g._in?w>-1&&this.unexpected(w):o.await=w>-1),this.parseForIn(o,f)):(w>-1&&this.unexpected(w),this.parseFor(o,f))},ue.parseFunctionStatement=function(o,f,w){return this.next(),this.parseFunction(o,pt|(w?0:wr),!1,f)},ue.parseIfStatement=function(o){return this.next(),o.test=this.parseParenExpression(),o.consequent=this.parseStatement("if"),o.alternate=this.eat(g._else)?this.parseStatement("if"):null,this.finishNode(o,"IfStatement")},ue.parseReturnStatement=function(o){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(g.semi)||this.insertSemicolon()?o.argument=null:(o.argument=this.parseExpression(),this.semicolon()),this.finishNode(o,"ReturnStatement")},ue.parseSwitchStatement=function(o){this.next(),o.discriminant=this.parseParenExpression(),o.cases=[],this.expect(g.braceL),this.labels.push(vn),this.enterScope(0);for(var f,w=!1;this.type!==g.braceR;)if(this.type===g._case||this.type===g._default){var C=this.type===g._case;f&&this.finishNode(f,"SwitchCase"),o.cases.push(f=this.startNode()),f.consequent=[],this.next(),C?f.test=this.parseExpression():(w&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),w=!0,f.test=null),this.expect(g.colon)}else f||this.unexpected(),f.consequent.push(this.parseStatement(null));return this.exitScope(),f&&this.finishNode(f,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(o,"SwitchStatement")},ue.parseThrowStatement=function(o){return this.next(),M.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),o.argument=this.parseExpression(),this.semicolon(),this.finishNode(o,"ThrowStatement")};var bn=[];ue.parseCatchClauseParam=function(){var o=this.parseBindingAtom(),f=o.type==="Identifier";return this.enterScope(f?vr:0),this.checkLValPattern(o,f?yn:kt),this.expect(g.parenR),o},ue.parseTryStatement=function(o){if(this.next(),o.block=this.parseBlock(),o.handler=null,this.type===g._catch){var f=this.startNode();this.next(),this.eat(g.parenL)?f.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),f.param=null,this.enterScope(0)),f.body=this.parseBlock(!1),this.exitScope(),o.handler=this.finishNode(f,"CatchClause")}return o.finalizer=this.eat(g._finally)?this.parseBlock():null,!o.handler&&!o.finalizer&&this.raise(o.start,"Missing catch or finally clause"),this.finishNode(o,"TryStatement")},ue.parseVarStatement=function(o,f,w){return this.next(),this.parseVar(o,!1,f,w),this.semicolon(),this.finishNode(o,"VariableDeclaration")},ue.parseWhileStatement=function(o){return this.next(),o.test=this.parseParenExpression(),this.labels.push(Ut),o.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(o,"WhileStatement")},ue.parseWithStatement=function(o){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),o.object=this.parseParenExpression(),o.body=this.parseStatement("with"),this.finishNode(o,"WithStatement")},ue.parseEmptyStatement=function(o){return this.next(),this.finishNode(o,"EmptyStatement")},ue.parseLabeledStatement=function(o,f,w,C){for(var L=0,H=this.labels;L<H.length;L+=1){var G=H[L];G.name===f&&this.raise(w.start,"Label '"+f+"' is already declared")}for(var re=this.type.isLoop?"loop":this.type===g._switch?"switch":null,se=this.labels.length-1;se>=0;se--){var we=this.labels[se];if(we.statementStart===o.start)we.statementStart=this.start,we.kind=re;else break}return this.labels.push({name:f,kind:re,statementStart:this.start}),o.body=this.parseStatement(C?C.indexOf("label")===-1?C+"label":C:"label"),this.labels.pop(),o.label=w,this.finishNode(o,"LabeledStatement")},ue.parseExpressionStatement=function(o,f){return o.expression=f,this.semicolon(),this.finishNode(o,"ExpressionStatement")},ue.parseBlock=function(o,f,w){for(o===void 0&&(o=!0),f===void 0&&(f=this.startNode()),f.body=[],this.expect(g.braceL),o&&this.enterScope(0);this.type!==g.braceR;){var C=this.parseStatement(null);f.body.push(C)}return w&&(this.strict=!1),this.next(),o&&this.exitScope(),this.finishNode(f,"BlockStatement")},ue.parseFor=function(o,f){return o.init=f,this.expect(g.semi),o.test=this.type===g.semi?null:this.parseExpression(),this.expect(g.semi),o.update=this.type===g.parenR?null:this.parseExpression(),this.expect(g.parenR),o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(o,"ForStatement")},ue.parseForIn=function(o,f){var w=this.type===g._in;return this.next(),f.type==="VariableDeclaration"&&f.declarations[0].init!=null&&(!w||this.options.ecmaVersion<8||this.strict||f.kind!=="var"||f.declarations[0].id.type!=="Identifier")&&this.raise(f.start,(w?"for-in":"for-of")+" loop variable declaration may not have an initializer"),o.left=f,o.right=w?this.parseExpression():this.parseMaybeAssign(),this.expect(g.parenR),o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(o,w?"ForInStatement":"ForOfStatement")},ue.parseVar=function(o,f,w,C){for(o.declarations=[],o.kind=w;;){var L=this.startNode();if(this.parseVarId(L,w),this.eat(g.eq)?L.init=this.parseMaybeAssign(f):!C&&w==="const"&&!(this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!C&&(w==="using"||w==="await using")&&this.options.ecmaVersion>=17&&this.type!==g._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+w+" declaration"):!C&&L.id.type!=="Identifier"&&!(f&&(this.type===g._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):L.init=null,o.declarations.push(this.finishNode(L,"VariableDeclarator")),!this.eat(g.comma))break}return o},ue.parseVarId=function(o,f){o.id=f==="using"||f==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(o.id,f==="var"?xn:kt,!1)};var pt=1,wr=2,Kt=4;ue.parseFunction=function(o,f,w,C,L){this.initFunction(o),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!C)&&(this.type===g.star&&f&wr&&this.unexpected(),o.generator=this.eat(g.star)),this.options.ecmaVersion>=8&&(o.async=!!C),f&pt&&(o.id=f&Kt&&this.type!==g.name?null:this.parseIdent(),o.id&&!(f&wr)&&this.checkLValSimple(o.id,this.strict||o.generator||o.async?this.treatFunctionsAsVar?xn:kt:$e));var H=this.yieldPos,G=this.awaitPos,re=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(o.async,o.generator)),f&pt||(o.id=this.type===g.name?this.parseIdent():null),this.parseFunctionParams(o),this.parseFunctionBody(o,w,!1,L),this.yieldPos=H,this.awaitPos=G,this.awaitIdentPos=re,this.finishNode(o,f&pt?"FunctionDeclaration":"FunctionExpression")},ue.parseFunctionParams=function(o){this.expect(g.parenL),o.params=this.parseBindingList(g.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},ue.parseClass=function(o,f){this.next();var w=this.strict;this.strict=!0,this.parseClassId(o,f),this.parseClassSuper(o);var C=this.enterClassBody(),L=this.startNode(),H=!1;for(L.body=[],this.expect(g.braceL);this.type!==g.braceR;){var G=this.parseClassElement(o.superClass!==null);G&&(L.body.push(G),G.type==="MethodDefinition"&&G.kind==="constructor"?(H&&this.raiseRecoverable(G.start,"Duplicate constructor in the same class"),H=!0):G.key&&G.key.type==="PrivateIdentifier"&&zm(C,G)&&this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared"))}return this.strict=w,this.next(),o.body=this.finishNode(L,"ClassBody"),this.exitClassBody(),this.finishNode(o,f?"ClassDeclaration":"ClassExpression")},ue.parseClassElement=function(o){if(this.eat(g.semi))return null;var f=this.options.ecmaVersion,w=this.startNode(),C="",L=!1,H=!1,G="method",re=!1;if(this.eatContextual("static")){if(f>=13&&this.eat(g.braceL))return this.parseClassStaticBlock(w),w;this.isClassElementNameStart()||this.type===g.star?re=!0:C="static"}if(w.static=re,!C&&f>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===g.star)&&!this.canInsertSemicolon()?H=!0:C="async"),!C&&(f>=9||!H)&&this.eat(g.star)&&(L=!0),!C&&!H&&!L){var se=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?G=se:C=se)}if(C?(w.computed=!1,w.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),w.key.name=C,this.finishNode(w.key,"Identifier")):this.parseClassElementName(w),f<13||this.type===g.parenL||G!=="method"||L||H){var we=!w.static&&Zi(w,"constructor"),Te=we&&o;we&&G!=="method"&&this.raise(w.key.start,"Constructor can't have get/set modifier"),w.kind=we?"constructor":G,this.parseClassMethod(w,L,H,Te)}else this.parseClassField(w);return w},ue.isClassElementNameStart=function(){return this.type===g.name||this.type===g.privateId||this.type===g.num||this.type===g.string||this.type===g.bracketL||this.type.keyword},ue.parseClassElementName=function(o){this.type===g.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),o.computed=!1,o.key=this.parsePrivateIdent()):this.parsePropertyName(o)},ue.parseClassMethod=function(o,f,w,C){var L=o.key;o.kind==="constructor"?(f&&this.raise(L.start,"Constructor can't be a generator"),w&&this.raise(L.start,"Constructor can't be an async method")):o.static&&Zi(o,"prototype")&&this.raise(L.start,"Classes may not have a static property named prototype");var H=o.value=this.parseMethod(f,w,C);return o.kind==="get"&&H.params.length!==0&&this.raiseRecoverable(H.start,"getter should have no params"),o.kind==="set"&&H.params.length!==1&&this.raiseRecoverable(H.start,"setter should have exactly one param"),o.kind==="set"&&H.params[0].type==="RestElement"&&this.raiseRecoverable(H.params[0].start,"Setter cannot use rest params"),this.finishNode(o,"MethodDefinition")},ue.parseClassField=function(o){return Zi(o,"constructor")?this.raise(o.key.start,"Classes can't have a field named 'constructor'"):o.static&&Zi(o,"prototype")&&this.raise(o.key.start,"Classes can't have a static field named 'prototype'"),this.eat(g.eq)?(this.enterScope(It|Yt),o.value=this.parseMaybeAssign(),this.exitScope()):o.value=null,this.semicolon(),this.finishNode(o,"PropertyDefinition")},ue.parseClassStaticBlock=function(o){o.body=[];var f=this.labels;for(this.labels=[],this.enterScope(wt|Yt);this.type!==g.braceR;){var w=this.parseStatement(null);o.body.push(w)}return this.next(),this.exitScope(),this.labels=f,this.finishNode(o,"StaticBlock")},ue.parseClassId=function(o,f){this.type===g.name?(o.id=this.parseIdent(),f&&this.checkLValSimple(o.id,kt,!1)):(f===!0&&this.unexpected(),o.id=null)},ue.parseClassSuper=function(o){o.superClass=this.eat(g._extends)?this.parseExprSubscripts(null,!1):null},ue.enterClassBody=function(){var o={declared:Object.create(null),used:[]};return this.privateNameStack.push(o),o.declared},ue.exitClassBody=function(){var o=this.privateNameStack.pop(),f=o.declared,w=o.used;if(this.options.checkPrivateFields)for(var C=this.privateNameStack.length,L=C===0?null:this.privateNameStack[C-1],H=0;H<w.length;++H){var G=w[H];me(f,G.name)||(L?L.used.push(G):this.raiseRecoverable(G.start,"Private field '#"+G.name+"' must be declared in an enclosing class"))}};function zm(o,f){var w=f.key.name,C=o[w],L="true";return f.type==="MethodDefinition"&&(f.kind==="get"||f.kind==="set")&&(L=(f.static?"s":"i")+f.kind),C==="iget"&&L==="iset"||C==="iset"&&L==="iget"||C==="sget"&&L==="sset"||C==="sset"&&L==="sget"?(o[w]="true",!1):C?!0:(o[w]=L,!1)}function Zi(o,f){var w=o.computed,C=o.key;return!w&&(C.type==="Identifier"&&C.name===f||C.type==="Literal"&&C.value===f)}ue.parseExportAllDeclaration=function(o,f){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(o.exported=this.parseModuleExportName(),this.checkExport(f,o.exported,this.lastTokStart)):o.exported=null),this.expectContextual("from"),this.type!==g.string&&this.unexpected(),o.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(o.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(o,"ExportAllDeclaration")},ue.parseExport=function(o,f){if(this.next(),this.eat(g.star))return this.parseExportAllDeclaration(o,f);if(this.eat(g._default))return this.checkExport(f,"default",this.lastTokStart),o.declaration=this.parseExportDefaultDeclaration(),this.finishNode(o,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())o.declaration=this.parseExportDeclaration(o),o.declaration.type==="VariableDeclaration"?this.checkVariableExport(f,o.declaration.declarations):this.checkExport(f,o.declaration.id,o.declaration.id.start),o.specifiers=[],o.source=null,this.options.ecmaVersion>=16&&(o.attributes=[]);else{if(o.declaration=null,o.specifiers=this.parseExportSpecifiers(f),this.eatContextual("from"))this.type!==g.string&&this.unexpected(),o.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(o.attributes=this.parseWithClause());else{for(var w=0,C=o.specifiers;w<C.length;w+=1){var L=C[w];this.checkUnreserved(L.local),this.checkLocalExport(L.local),L.local.type==="Literal"&&this.raise(L.local.start,"A string literal cannot be used as an exported binding without `from`.")}o.source=null,this.options.ecmaVersion>=16&&(o.attributes=[])}this.semicolon()}return this.finishNode(o,"ExportNamedDeclaration")},ue.parseExportDeclaration=function(o){return this.parseStatement(null)},ue.parseExportDefaultDeclaration=function(){var o;if(this.type===g._function||(o=this.isAsyncFunction())){var f=this.startNode();return this.next(),o&&this.next(),this.parseFunction(f,pt|Kt,!1,o)}else if(this.type===g._class){var w=this.startNode();return this.parseClass(w,"nullableID")}else{var C=this.parseMaybeAssign();return this.semicolon(),C}},ue.checkExport=function(o,f,w){o&&(typeof f!="string"&&(f=f.type==="Identifier"?f.name:f.value),me(o,f)&&this.raiseRecoverable(w,"Duplicate export '"+f+"'"),o[f]=!0)},ue.checkPatternExport=function(o,f){var w=f.type;if(w==="Identifier")this.checkExport(o,f,f.start);else if(w==="ObjectPattern")for(var C=0,L=f.properties;C<L.length;C+=1){var H=L[C];this.checkPatternExport(o,H)}else if(w==="ArrayPattern")for(var G=0,re=f.elements;G<re.length;G+=1){var se=re[G];se&&this.checkPatternExport(o,se)}else w==="Property"?this.checkPatternExport(o,f.value):w==="AssignmentPattern"?this.checkPatternExport(o,f.left):w==="RestElement"&&this.checkPatternExport(o,f.argument)},ue.checkVariableExport=function(o,f){if(o)for(var w=0,C=f;w<C.length;w+=1){var L=C[w];this.checkPatternExport(o,L.id)}},ue.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},ue.parseExportSpecifier=function(o){var f=this.startNode();return f.local=this.parseModuleExportName(),f.exported=this.eatContextual("as")?this.parseModuleExportName():f.local,this.checkExport(o,f.exported,f.exported.start),this.finishNode(f,"ExportSpecifier")},ue.parseExportSpecifiers=function(o){var f=[],w=!0;for(this.expect(g.braceL);!this.eat(g.braceR);){if(w)w=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;f.push(this.parseExportSpecifier(o))}return f},ue.parseImport=function(o){return this.next(),this.type===g.string?(o.specifiers=bn,o.source=this.parseExprAtom()):(o.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),o.source=this.type===g.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(o.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(o,"ImportDeclaration")},ue.parseImportSpecifier=function(){var o=this.startNode();return o.imported=this.parseModuleExportName(),this.eatContextual("as")?o.local=this.parseIdent():(this.checkUnreserved(o.imported),o.local=o.imported),this.checkLValSimple(o.local,kt),this.finishNode(o,"ImportSpecifier")},ue.parseImportDefaultSpecifier=function(){var o=this.startNode();return o.local=this.parseIdent(),this.checkLValSimple(o.local,kt),this.finishNode(o,"ImportDefaultSpecifier")},ue.parseImportNamespaceSpecifier=function(){var o=this.startNode();return this.next(),this.expectContextual("as"),o.local=this.parseIdent(),this.checkLValSimple(o.local,kt),this.finishNode(o,"ImportNamespaceSpecifier")},ue.parseImportSpecifiers=function(){var o=[],f=!0;if(this.type===g.name&&(o.push(this.parseImportDefaultSpecifier()),!this.eat(g.comma)))return o;if(this.type===g.star)return o.push(this.parseImportNamespaceSpecifier()),o;for(this.expect(g.braceL);!this.eat(g.braceR);){if(f)f=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;o.push(this.parseImportSpecifier())}return o},ue.parseWithClause=function(){var o=[];if(!this.eat(g._with))return o;this.expect(g.braceL);for(var f={},w=!0;!this.eat(g.braceR);){if(w)w=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;var C=this.parseImportAttribute(),L=C.key.type==="Identifier"?C.key.name:C.key.value;me(f,L)&&this.raiseRecoverable(C.key.start,"Duplicate attribute key '"+L+"'"),f[L]=!0,o.push(C)}return o},ue.parseImportAttribute=function(){var o=this.startNode();return o.key=this.type===g.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(g.colon),this.type!==g.string&&this.unexpected(),o.value=this.parseExprAtom(),this.finishNode(o,"ImportAttribute")},ue.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===g.string){var o=this.parseLiteral(this.value);return Ye.test(o.value)&&this.raise(o.start,"An export name cannot include a lone surrogate."),o}return this.parseIdent(!0)},ue.adaptDirectivePrologue=function(o){for(var f=0;f<o.length&&this.isDirectiveCandidate(o[f]);++f)o[f].directive=o[f].expression.raw.slice(1,-1)},ue.isDirectiveCandidate=function(o){return this.options.ecmaVersion>=5&&o.type==="ExpressionStatement"&&o.expression.type==="Literal"&&typeof o.expression.value=="string"&&(this.input[o.start]==='"'||this.input[o.start]==="'")};var Qt=Y.prototype;Qt.toAssignable=function(o,f,w){if(this.options.ecmaVersion>=6&&o)switch(o.type){case"Identifier":this.inAsync&&o.name==="await"&&this.raise(o.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":o.type="ObjectPattern",w&&this.checkPatternErrors(w,!0);for(var C=0,L=o.properties;C<L.length;C+=1){var H=L[C];this.toAssignable(H,f),H.type==="RestElement"&&(H.argument.type==="ArrayPattern"||H.argument.type==="ObjectPattern")&&this.raise(H.argument.start,"Unexpected token")}break;case"Property":o.kind!=="init"&&this.raise(o.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(o.value,f);break;case"ArrayExpression":o.type="ArrayPattern",w&&this.checkPatternErrors(w,!0),this.toAssignableList(o.elements,f);break;case"SpreadElement":o.type="RestElement",this.toAssignable(o.argument,f),o.argument.type==="AssignmentPattern"&&this.raise(o.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":o.operator!=="="&&this.raise(o.left.end,"Only '=' operator can be used for specifying default value."),o.type="AssignmentPattern",delete o.operator,this.toAssignable(o.left,f);break;case"ParenthesizedExpression":this.toAssignable(o.expression,f,w);break;case"ChainExpression":this.raiseRecoverable(o.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!f)break;default:this.raise(o.start,"Assigning to rvalue")}else w&&this.checkPatternErrors(w,!0);return o},Qt.toAssignableList=function(o,f){for(var w=o.length,C=0;C<w;C++){var L=o[C];L&&this.toAssignable(L,f)}if(w){var H=o[w-1];this.options.ecmaVersion===6&&f&&H&&H.type==="RestElement"&&H.argument.type!=="Identifier"&&this.unexpected(H.argument.start)}return o},Qt.parseSpread=function(o){var f=this.startNode();return this.next(),f.argument=this.parseMaybeAssign(!1,o),this.finishNode(f,"SpreadElement")},Qt.parseRestBinding=function(){var o=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==g.name&&this.unexpected(),o.argument=this.parseBindingAtom(),this.finishNode(o,"RestElement")},Qt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case g.bracketL:var o=this.startNode();return this.next(),o.elements=this.parseBindingList(g.bracketR,!0,!0),this.finishNode(o,"ArrayPattern");case g.braceL:return this.parseObj(!0)}return this.parseIdent()},Qt.parseBindingList=function(o,f,w,C){for(var L=[],H=!0;!this.eat(o);)if(H?H=!1:this.expect(g.comma),f&&this.type===g.comma)L.push(null);else{if(w&&this.afterTrailingComma(o))break;if(this.type===g.ellipsis){var G=this.parseRestBinding();this.parseBindingListItem(G),L.push(G),this.type===g.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(o);break}else L.push(this.parseAssignableListItem(C))}return L},Qt.parseAssignableListItem=function(o){var f=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(f),f},Qt.parseBindingListItem=function(o){return o},Qt.parseMaybeDefault=function(o,f,w){if(w=w||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(g.eq))return w;var C=this.startNodeAt(o,f);return C.left=w,C.right=this.parseMaybeAssign(),this.finishNode(C,"AssignmentPattern")},Qt.checkLValSimple=function(o,f,w){f===void 0&&(f=Fr);var C=f!==Fr;switch(o.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(o.name)&&this.raiseRecoverable(o.start,(C?"Binding ":"Assigning to ")+o.name+" in strict mode"),C&&(f===kt&&o.name==="let"&&this.raiseRecoverable(o.start,"let is disallowed as a lexically bound name"),w&&(me(w,o.name)&&this.raiseRecoverable(o.start,"Argument name clash"),w[o.name]=!0),f!==X&&this.declareName(o.name,f,o.start));break;case"ChainExpression":this.raiseRecoverable(o.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":C&&this.raiseRecoverable(o.start,"Binding member expression");break;case"ParenthesizedExpression":return C&&this.raiseRecoverable(o.start,"Binding parenthesized expression"),this.checkLValSimple(o.expression,f,w);default:this.raise(o.start,(C?"Binding":"Assigning to")+" rvalue")}},Qt.checkLValPattern=function(o,f,w){switch(f===void 0&&(f=Fr),o.type){case"ObjectPattern":for(var C=0,L=o.properties;C<L.length;C+=1){var H=L[C];this.checkLValInnerPattern(H,f,w)}break;case"ArrayPattern":for(var G=0,re=o.elements;G<re.length;G+=1){var se=re[G];se&&this.checkLValInnerPattern(se,f,w)}break;default:this.checkLValSimple(o,f,w)}},Qt.checkLValInnerPattern=function(o,f,w){switch(f===void 0&&(f=Fr),o.type){case"Property":this.checkLValInnerPattern(o.value,f,w);break;case"AssignmentPattern":this.checkLValPattern(o.left,f,w);break;case"RestElement":this.checkLValPattern(o.argument,f,w);break;default:this.checkLValPattern(o,f,w)}};var Zt=function(f,w,C,L,H){this.token=f,this.isExpr=!!w,this.preserveSpace=!!C,this.override=L,this.generator=!!H},We={b_stat:new Zt("{",!1),b_expr:new Zt("{",!0),b_tmpl:new Zt("${",!1),p_stat:new Zt("(",!1),p_expr:new Zt("(",!0),q_tmpl:new Zt("`",!0,!0,function(o){return o.tryReadTemplateToken()}),f_stat:new Zt("function",!1),f_expr:new Zt("function",!0),f_expr_gen:new Zt("function",!0,!1,null,!0),f_gen:new Zt("function",!1,!1,null,!0)},Nn=Y.prototype;Nn.initialContext=function(){return[We.b_stat]},Nn.curContext=function(){return this.context[this.context.length-1]},Nn.braceIsBlock=function(o){var f=this.curContext();return f===We.f_expr||f===We.f_stat?!0:o===g.colon&&(f===We.b_stat||f===We.b_expr)?!f.isExpr:o===g._return||o===g.name&&this.exprAllowed?M.test(this.input.slice(this.lastTokEnd,this.start)):o===g._else||o===g.semi||o===g.eof||o===g.parenR||o===g.arrow?!0:o===g.braceL?f===We.b_stat:o===g._var||o===g._const||o===g.name?!1:!this.exprAllowed},Nn.inGeneratorContext=function(){for(var o=this.context.length-1;o>=1;o--){var f=this.context[o];if(f.token==="function")return f.generator}return!1},Nn.updateContext=function(o){var f,w=this.type;w.keyword&&o===g.dot?this.exprAllowed=!1:(f=w.updateContext)?f.call(this,o):this.exprAllowed=w.beforeExpr},Nn.overrideContext=function(o){this.curContext()!==o&&(this.context[this.context.length-1]=o)},g.parenR.updateContext=g.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var o=this.context.pop();o===We.b_stat&&this.curContext().token==="function"&&(o=this.context.pop()),this.exprAllowed=!o.isExpr},g.braceL.updateContext=function(o){this.context.push(this.braceIsBlock(o)?We.b_stat:We.b_expr),this.exprAllowed=!0},g.dollarBraceL.updateContext=function(){this.context.push(We.b_tmpl),this.exprAllowed=!0},g.parenL.updateContext=function(o){var f=o===g._if||o===g._for||o===g._with||o===g._while;this.context.push(f?We.p_stat:We.p_expr),this.exprAllowed=!0},g.incDec.updateContext=function(){},g._function.updateContext=g._class.updateContext=function(o){o.beforeExpr&&o!==g._else&&!(o===g.semi&&this.curContext()!==We.p_stat)&&!(o===g._return&&M.test(this.input.slice(this.lastTokEnd,this.start)))&&!((o===g.colon||o===g.braceL)&&this.curContext()===We.b_stat)?this.context.push(We.f_expr):this.context.push(We.f_stat),this.exprAllowed=!1},g.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},g.backQuote.updateContext=function(){this.curContext()===We.q_tmpl?this.context.pop():this.context.push(We.q_tmpl),this.exprAllowed=!1},g.star.updateContext=function(o){if(o===g._function){var f=this.context.length-1;this.context[f]===We.f_expr?this.context[f]=We.f_expr_gen:this.context[f]=We.f_gen}this.exprAllowed=!0},g.name.updateContext=function(o){var f=!1;this.options.ecmaVersion>=6&&o!==g.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(f=!0),this.exprAllowed=f};var ke=Y.prototype;ke.checkPropClash=function(o,f,w){if(!(this.options.ecmaVersion>=9&&o.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(o.computed||o.method||o.shorthand))){var C=o.key,L;switch(C.type){case"Identifier":L=C.name;break;case"Literal":L=String(C.value);break;default:return}var H=o.kind;if(this.options.ecmaVersion>=6){L==="__proto__"&&H==="init"&&(f.proto&&(w?w.doubleProto<0&&(w.doubleProto=C.start):this.raiseRecoverable(C.start,"Redefinition of __proto__ property")),f.proto=!0);return}L="$"+L;var G=f[L];if(G){var re;H==="init"?re=this.strict&&G.init||G.get||G.set:re=G.init||G[H],re&&this.raiseRecoverable(C.start,"Redefinition of property")}else G=f[L]={init:!1,get:!1,set:!1};G[H]=!0}},ke.parseExpression=function(o,f){var w=this.start,C=this.startLoc,L=this.parseMaybeAssign(o,f);if(this.type===g.comma){var H=this.startNodeAt(w,C);for(H.expressions=[L];this.eat(g.comma);)H.expressions.push(this.parseMaybeAssign(o,f));return this.finishNode(H,"SequenceExpression")}return L},ke.parseMaybeAssign=function(o,f,w){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(o);this.exprAllowed=!1}var C=!1,L=-1,H=-1,G=-1;f?(L=f.parenthesizedAssign,H=f.trailingComma,G=f.doubleProto,f.parenthesizedAssign=f.trailingComma=-1):(f=new ht,C=!0);var re=this.start,se=this.startLoc;(this.type===g.parenL||this.type===g.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=o==="await");var we=this.parseMaybeConditional(o,f);if(w&&(we=w.call(this,we,re,se)),this.type.isAssign){var Te=this.startNodeAt(re,se);return Te.operator=this.value,this.type===g.eq&&(we=this.toAssignable(we,!1,f)),C||(f.parenthesizedAssign=f.trailingComma=f.doubleProto=-1),f.shorthandAssign>=we.start&&(f.shorthandAssign=-1),this.type===g.eq?this.checkLValPattern(we):this.checkLValSimple(we),Te.left=we,this.next(),Te.right=this.parseMaybeAssign(o),G>-1&&(f.doubleProto=G),this.finishNode(Te,"AssignmentExpression")}else C&&this.checkExpressionErrors(f,!0);return L>-1&&(f.parenthesizedAssign=L),H>-1&&(f.trailingComma=H),we},ke.parseMaybeConditional=function(o,f){var w=this.start,C=this.startLoc,L=this.parseExprOps(o,f);if(this.checkExpressionErrors(f))return L;if(this.eat(g.question)){var H=this.startNodeAt(w,C);return H.test=L,H.consequent=this.parseMaybeAssign(),this.expect(g.colon),H.alternate=this.parseMaybeAssign(o),this.finishNode(H,"ConditionalExpression")}return L},ke.parseExprOps=function(o,f){var w=this.start,C=this.startLoc,L=this.parseMaybeUnary(f,!1,!1,o);return this.checkExpressionErrors(f)||L.start===w&&L.type==="ArrowFunctionExpression"?L:this.parseExprOp(L,w,C,-1,o)},ke.parseExprOp=function(o,f,w,C,L){var H=this.type.binop;if(H!=null&&(!L||this.type!==g._in)&&H>C){var G=this.type===g.logicalOR||this.type===g.logicalAND,re=this.type===g.coalesce;re&&(H=g.logicalAND.binop);var se=this.value;this.next();var we=this.start,Te=this.startLoc,Xe=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,L),we,Te,H,L),St=this.buildBinary(f,w,o,Xe,se,G||re);return(G&&this.type===g.coalesce||re&&(this.type===g.logicalOR||this.type===g.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(St,f,w,C,L)}return o},ke.buildBinary=function(o,f,w,C,L,H){C.type==="PrivateIdentifier"&&this.raise(C.start,"Private identifier can only be left side of binary expression");var G=this.startNodeAt(o,f);return G.left=w,G.operator=L,G.right=C,this.finishNode(G,H?"LogicalExpression":"BinaryExpression")},ke.parseMaybeUnary=function(o,f,w,C){var L=this.start,H=this.startLoc,G;if(this.isContextual("await")&&this.canAwait)G=this.parseAwait(C),f=!0;else if(this.type.prefix){var re=this.startNode(),se=this.type===g.incDec;re.operator=this.value,re.prefix=!0,this.next(),re.argument=this.parseMaybeUnary(null,!0,se,C),this.checkExpressionErrors(o,!0),se?this.checkLValSimple(re.argument):this.strict&&re.operator==="delete"&&Cu(re.argument)?this.raiseRecoverable(re.start,"Deleting local variable in strict mode"):re.operator==="delete"&&Ps(re.argument)?this.raiseRecoverable(re.start,"Private fields can not be deleted"):f=!0,G=this.finishNode(re,se?"UpdateExpression":"UnaryExpression")}else if(!f&&this.type===g.privateId)(C||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),G=this.parsePrivateIdent(),this.type!==g._in&&this.unexpected();else{if(G=this.parseExprSubscripts(o,C),this.checkExpressionErrors(o))return G;for(;this.type.postfix&&!this.canInsertSemicolon();){var we=this.startNodeAt(L,H);we.operator=this.value,we.prefix=!1,we.argument=G,this.checkLValSimple(G),this.next(),G=this.finishNode(we,"UpdateExpression")}}if(!w&&this.eat(g.starstar))if(f)this.unexpected(this.lastTokStart);else return this.buildBinary(L,H,G,this.parseMaybeUnary(null,!1,!1,C),"**",!1);else return G};function Cu(o){return o.type==="Identifier"||o.type==="ParenthesizedExpression"&&Cu(o.expression)}function Ps(o){return o.type==="MemberExpression"&&o.property.type==="PrivateIdentifier"||o.type==="ChainExpression"&&Ps(o.expression)||o.type==="ParenthesizedExpression"&&Ps(o.expression)}ke.parseExprSubscripts=function(o,f){var w=this.start,C=this.startLoc,L=this.parseExprAtom(o,f);if(L.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return L;var H=this.parseSubscripts(L,w,C,!1,f);return o&&H.type==="MemberExpression"&&(o.parenthesizedAssign>=H.start&&(o.parenthesizedAssign=-1),o.parenthesizedBind>=H.start&&(o.parenthesizedBind=-1),o.trailingComma>=H.start&&(o.trailingComma=-1)),H},ke.parseSubscripts=function(o,f,w,C,L){for(var H=this.options.ecmaVersion>=8&&o.type==="Identifier"&&o.name==="async"&&this.lastTokEnd===o.end&&!this.canInsertSemicolon()&&o.end-o.start===5&&this.potentialArrowAt===o.start,G=!1;;){var re=this.parseSubscript(o,f,w,C,H,G,L);if(re.optional&&(G=!0),re===o||re.type==="ArrowFunctionExpression"){if(G){var se=this.startNodeAt(f,w);se.expression=re,re=this.finishNode(se,"ChainExpression")}return re}o=re}},ke.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(g.arrow)},ke.parseSubscriptAsyncArrow=function(o,f,w,C){return this.parseArrowExpression(this.startNodeAt(o,f),w,!0,C)},ke.parseSubscript=function(o,f,w,C,L,H,G){var re=this.options.ecmaVersion>=11,se=re&&this.eat(g.questionDot);C&&se&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var we=this.eat(g.bracketL);if(we||se&&this.type!==g.parenL&&this.type!==g.backQuote||this.eat(g.dot)){var Te=this.startNodeAt(f,w);Te.object=o,we?(Te.property=this.parseExpression(),this.expect(g.bracketR)):this.type===g.privateId&&o.type!=="Super"?Te.property=this.parsePrivateIdent():Te.property=this.parseIdent(this.options.allowReserved!=="never"),Te.computed=!!we,re&&(Te.optional=se),o=this.finishNode(Te,"MemberExpression")}else if(!C&&this.eat(g.parenL)){var Xe=new ht,St=this.yieldPos,hi=this.awaitPos,Mn=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var ia=this.parseExprList(g.parenR,this.options.ecmaVersion>=8,!1,Xe);if(L&&!se&&this.shouldParseAsyncArrow())return this.checkPatternErrors(Xe,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=St,this.awaitPos=hi,this.awaitIdentPos=Mn,this.parseSubscriptAsyncArrow(f,w,ia,G);this.checkExpressionErrors(Xe,!0),this.yieldPos=St||this.yieldPos,this.awaitPos=hi||this.awaitPos,this.awaitIdentPos=Mn||this.awaitIdentPos;var Pn=this.startNodeAt(f,w);Pn.callee=o,Pn.arguments=ia,re&&(Pn.optional=se),o=this.finishNode(Pn,"CallExpression")}else if(this.type===g.backQuote){(se||H)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Bn=this.startNodeAt(f,w);Bn.tag=o,Bn.quasi=this.parseTemplate({isTagged:!0}),o=this.finishNode(Bn,"TaggedTemplateExpression")}return o},ke.parseExprAtom=function(o,f,w){this.type===g.slash&&this.readRegexp();var C,L=this.potentialArrowAt===this.start;switch(this.type){case g._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),C=this.startNode(),this.next(),this.type===g.parenL&&!this.allowDirectSuper&&this.raise(C.start,"super() call outside constructor of a subclass"),this.type!==g.dot&&this.type!==g.bracketL&&this.type!==g.parenL&&this.unexpected(),this.finishNode(C,"Super");case g._this:return C=this.startNode(),this.next(),this.finishNode(C,"ThisExpression");case g.name:var H=this.start,G=this.startLoc,re=this.containsEsc,se=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!re&&se.name==="async"&&!this.canInsertSemicolon()&&this.eat(g._function))return this.overrideContext(We.f_expr),this.parseFunction(this.startNodeAt(H,G),0,!1,!0,f);if(L&&!this.canInsertSemicolon()){if(this.eat(g.arrow))return this.parseArrowExpression(this.startNodeAt(H,G),[se],!1,f);if(this.options.ecmaVersion>=8&&se.name==="async"&&this.type===g.name&&!re&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return se=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(g.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(H,G),[se],!0,f)}return se;case g.regexp:var we=this.value;return C=this.parseLiteral(we.value),C.regex={pattern:we.pattern,flags:we.flags},C;case g.num:case g.string:return this.parseLiteral(this.value);case g._null:case g._true:case g._false:return C=this.startNode(),C.value=this.type===g._null?null:this.type===g._true,C.raw=this.type.keyword,this.next(),this.finishNode(C,"Literal");case g.parenL:var Te=this.start,Xe=this.parseParenAndDistinguishExpression(L,f);return o&&(o.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Xe)&&(o.parenthesizedAssign=Te),o.parenthesizedBind<0&&(o.parenthesizedBind=Te)),Xe;case g.bracketL:return C=this.startNode(),this.next(),C.elements=this.parseExprList(g.bracketR,!0,!0,o),this.finishNode(C,"ArrayExpression");case g.braceL:return this.overrideContext(We.b_expr),this.parseObj(!1,o);case g._function:return C=this.startNode(),this.next(),this.parseFunction(C,0);case g._class:return this.parseClass(this.startNode(),!1);case g._new:return this.parseNew();case g.backQuote:return this.parseTemplate();case g._import:return this.options.ecmaVersion>=11?this.parseExprImport(w):this.unexpected();default:return this.parseExprAtomDefault()}},ke.parseExprAtomDefault=function(){this.unexpected()},ke.parseExprImport=function(o){var f=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===g.parenL&&!o)return this.parseDynamicImport(f);if(this.type===g.dot){var w=this.startNodeAt(f.start,f.loc&&f.loc.start);return w.name="import",f.meta=this.finishNode(w,"Identifier"),this.parseImportMeta(f)}else this.unexpected()},ke.parseDynamicImport=function(o){if(this.next(),o.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(g.parenR)?o.options=null:(this.expect(g.comma),this.afterTrailingComma(g.parenR)?o.options=null:(o.options=this.parseMaybeAssign(),this.eat(g.parenR)||(this.expect(g.comma),this.afterTrailingComma(g.parenR)||this.unexpected())));else if(!this.eat(g.parenR)){var f=this.start;this.eat(g.comma)&&this.eat(g.parenR)?this.raiseRecoverable(f,"Trailing comma is not allowed in import()"):this.unexpected(f)}return this.finishNode(o,"ImportExpression")},ke.parseImportMeta=function(o){this.next();var f=this.containsEsc;return o.property=this.parseIdent(!0),o.property.name!=="meta"&&this.raiseRecoverable(o.property.start,"The only valid meta property for import is 'import.meta'"),f&&this.raiseRecoverable(o.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(o.start,"Cannot use 'import.meta' outside a module"),this.finishNode(o,"MetaProperty")},ke.parseLiteral=function(o){var f=this.startNode();return f.value=o,f.raw=this.input.slice(this.start,this.end),f.raw.charCodeAt(f.raw.length-1)===110&&(f.bigint=f.value!=null?f.value.toString():f.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(f,"Literal")},ke.parseParenExpression=function(){this.expect(g.parenL);var o=this.parseExpression();return this.expect(g.parenR),o},ke.shouldParseArrow=function(o){return!this.canInsertSemicolon()},ke.parseParenAndDistinguishExpression=function(o,f){var w=this.start,C=this.startLoc,L,H=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var G=this.start,re=this.startLoc,se=[],we=!0,Te=!1,Xe=new ht,St=this.yieldPos,hi=this.awaitPos,Mn;for(this.yieldPos=0,this.awaitPos=0;this.type!==g.parenR;)if(we?we=!1:this.expect(g.comma),H&&this.afterTrailingComma(g.parenR,!0)){Te=!0;break}else if(this.type===g.ellipsis){Mn=this.start,se.push(this.parseParenItem(this.parseRestBinding())),this.type===g.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else se.push(this.parseMaybeAssign(!1,Xe,this.parseParenItem));var ia=this.lastTokEnd,Pn=this.lastTokEndLoc;if(this.expect(g.parenR),o&&this.shouldParseArrow(se)&&this.eat(g.arrow))return this.checkPatternErrors(Xe,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=St,this.awaitPos=hi,this.parseParenArrowList(w,C,se,f);(!se.length||Te)&&this.unexpected(this.lastTokStart),Mn&&this.unexpected(Mn),this.checkExpressionErrors(Xe,!0),this.yieldPos=St||this.yieldPos,this.awaitPos=hi||this.awaitPos,se.length>1?(L=this.startNodeAt(G,re),L.expressions=se,this.finishNodeAt(L,"SequenceExpression",ia,Pn)):L=se[0]}else L=this.parseParenExpression();if(this.options.preserveParens){var Bn=this.startNodeAt(w,C);return Bn.expression=L,this.finishNode(Bn,"ParenthesizedExpression")}else return L},ke.parseParenItem=function(o){return o},ke.parseParenArrowList=function(o,f,w,C){return this.parseArrowExpression(this.startNodeAt(o,f),w,!1,C)};var Om=[];ke.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var o=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===g.dot){var f=this.startNodeAt(o.start,o.loc&&o.loc.start);f.name="new",o.meta=this.finishNode(f,"Identifier"),this.next();var w=this.containsEsc;return o.property=this.parseIdent(!0),o.property.name!=="target"&&this.raiseRecoverable(o.property.start,"The only valid meta property for new is 'new.target'"),w&&this.raiseRecoverable(o.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(o.start,"'new.target' can only be used in functions and class static block"),this.finishNode(o,"MetaProperty")}var C=this.start,L=this.startLoc;return o.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),C,L,!0,!1),this.eat(g.parenL)?o.arguments=this.parseExprList(g.parenR,this.options.ecmaVersion>=8,!1):o.arguments=Om,this.finishNode(o,"NewExpression")},ke.parseTemplateElement=function(o){var f=o.isTagged,w=this.startNode();return this.type===g.invalidTemplate?(f||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),w.value={raw:this.value.replace(/\r\n?/g,`
|
|
6
|
+
`),cooked:null}):w.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
7
|
+
`),cooked:this.value},this.next(),w.tail=this.type===g.backQuote,this.finishNode(w,"TemplateElement")},ke.parseTemplate=function(o){o===void 0&&(o={});var f=o.isTagged;f===void 0&&(f=!1);var w=this.startNode();this.next(),w.expressions=[];var C=this.parseTemplateElement({isTagged:f});for(w.quasis=[C];!C.tail;)this.type===g.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(g.dollarBraceL),w.expressions.push(this.parseExpression()),this.expect(g.braceR),w.quasis.push(C=this.parseTemplateElement({isTagged:f}));return this.next(),this.finishNode(w,"TemplateLiteral")},ke.isAsyncProp=function(o){return!o.computed&&o.key.type==="Identifier"&&o.key.name==="async"&&(this.type===g.name||this.type===g.num||this.type===g.string||this.type===g.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===g.star)&&!M.test(this.input.slice(this.lastTokEnd,this.start))},ke.parseObj=function(o,f){var w=this.startNode(),C=!0,L={};for(w.properties=[],this.next();!this.eat(g.braceR);){if(C)C=!1;else if(this.expect(g.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(g.braceR))break;var H=this.parseProperty(o,f);o||this.checkPropClash(H,L,f),w.properties.push(H)}return this.finishNode(w,o?"ObjectPattern":"ObjectExpression")},ke.parseProperty=function(o,f){var w=this.startNode(),C,L,H,G;if(this.options.ecmaVersion>=9&&this.eat(g.ellipsis))return o?(w.argument=this.parseIdent(!1),this.type===g.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(w,"RestElement")):(w.argument=this.parseMaybeAssign(!1,f),this.type===g.comma&&f&&f.trailingComma<0&&(f.trailingComma=this.start),this.finishNode(w,"SpreadElement"));this.options.ecmaVersion>=6&&(w.method=!1,w.shorthand=!1,(o||f)&&(H=this.start,G=this.startLoc),o||(C=this.eat(g.star)));var re=this.containsEsc;return this.parsePropertyName(w),!o&&!re&&this.options.ecmaVersion>=8&&!C&&this.isAsyncProp(w)?(L=!0,C=this.options.ecmaVersion>=9&&this.eat(g.star),this.parsePropertyName(w)):L=!1,this.parsePropertyValue(w,o,C,L,H,G,f,re),this.finishNode(w,"Property")},ke.parseGetterSetter=function(o){var f=o.key.name;this.parsePropertyName(o),o.value=this.parseMethod(!1),o.kind=f;var w=o.kind==="get"?0:1;if(o.value.params.length!==w){var C=o.value.start;o.kind==="get"?this.raiseRecoverable(C,"getter should have no params"):this.raiseRecoverable(C,"setter should have exactly one param")}else o.kind==="set"&&o.value.params[0].type==="RestElement"&&this.raiseRecoverable(o.value.params[0].start,"Setter cannot use rest params")},ke.parsePropertyValue=function(o,f,w,C,L,H,G,re){(w||C)&&this.type===g.colon&&this.unexpected(),this.eat(g.colon)?(o.value=f?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,G),o.kind="init"):this.options.ecmaVersion>=6&&this.type===g.parenL?(f&&this.unexpected(),o.method=!0,o.value=this.parseMethod(w,C),o.kind="init"):!f&&!re&&this.options.ecmaVersion>=5&&!o.computed&&o.key.type==="Identifier"&&(o.key.name==="get"||o.key.name==="set")&&this.type!==g.comma&&this.type!==g.braceR&&this.type!==g.eq?((w||C)&&this.unexpected(),this.parseGetterSetter(o)):this.options.ecmaVersion>=6&&!o.computed&&o.key.type==="Identifier"?((w||C)&&this.unexpected(),this.checkUnreserved(o.key),o.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=L),f?o.value=this.parseMaybeDefault(L,H,this.copyNode(o.key)):this.type===g.eq&&G?(G.shorthandAssign<0&&(G.shorthandAssign=this.start),o.value=this.parseMaybeDefault(L,H,this.copyNode(o.key))):o.value=this.copyNode(o.key),o.kind="init",o.shorthand=!0):this.unexpected()},ke.parsePropertyName=function(o){if(this.options.ecmaVersion>=6){if(this.eat(g.bracketL))return o.computed=!0,o.key=this.parseMaybeAssign(),this.expect(g.bracketR),o.key;o.computed=!1}return o.key=this.type===g.num||this.type===g.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},ke.initFunction=function(o){o.id=null,this.options.ecmaVersion>=6&&(o.generator=o.expression=!1),this.options.ecmaVersion>=8&&(o.async=!1)},ke.parseMethod=function(o,f,w){var C=this.startNode(),L=this.yieldPos,H=this.awaitPos,G=this.awaitIdentPos;return this.initFunction(C),this.options.ecmaVersion>=6&&(C.generator=o),this.options.ecmaVersion>=8&&(C.async=!!f),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(f,C.generator)|Yt|(w?pr:0)),this.expect(g.parenL),C.params=this.parseBindingList(g.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(C,!1,!0,!1),this.yieldPos=L,this.awaitPos=H,this.awaitIdentPos=G,this.finishNode(C,"FunctionExpression")},ke.parseArrowExpression=function(o,f,w,C){var L=this.yieldPos,H=this.awaitPos,G=this.awaitIdentPos;return this.enterScope(br(w,!1)|yr),this.initFunction(o),this.options.ecmaVersion>=8&&(o.async=!!w),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,o.params=this.toAssignableList(f,!0),this.parseFunctionBody(o,!0,!1,C),this.yieldPos=L,this.awaitPos=H,this.awaitIdentPos=G,this.finishNode(o,"ArrowFunctionExpression")},ke.parseFunctionBody=function(o,f,w,C){var L=f&&this.type!==g.braceL,H=this.strict,G=!1;if(L)o.body=this.parseMaybeAssign(C),o.expression=!0,this.checkParams(o,!1);else{var re=this.options.ecmaVersion>=7&&!this.isSimpleParamList(o.params);(!H||re)&&(G=this.strictDirective(this.end),G&&re&&this.raiseRecoverable(o.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var se=this.labels;this.labels=[],G&&(this.strict=!0),this.checkParams(o,!H&&!G&&!f&&!w&&this.isSimpleParamList(o.params)),this.strict&&o.id&&this.checkLValSimple(o.id,X),o.body=this.parseBlock(!1,void 0,G&&!H),o.expression=!1,this.adaptDirectivePrologue(o.body.body),this.labels=se}this.exitScope()},ke.isSimpleParamList=function(o){for(var f=0,w=o;f<w.length;f+=1){var C=w[f];if(C.type!=="Identifier")return!1}return!0},ke.checkParams=function(o,f){for(var w=Object.create(null),C=0,L=o.params;C<L.length;C+=1){var H=L[C];this.checkLValInnerPattern(H,xn,f?null:w)}},ke.parseExprList=function(o,f,w,C){for(var L=[],H=!0;!this.eat(o);){if(H)H=!1;else if(this.expect(g.comma),f&&this.afterTrailingComma(o))break;var G=void 0;w&&this.type===g.comma?G=null:this.type===g.ellipsis?(G=this.parseSpread(C),C&&this.type===g.comma&&C.trailingComma<0&&(C.trailingComma=this.start)):G=this.parseMaybeAssign(!1,C),L.push(G)}return L},ke.checkUnreserved=function(o){var f=o.start,w=o.end,C=o.name;if(this.inGenerator&&C==="yield"&&this.raiseRecoverable(f,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&C==="await"&&this.raiseRecoverable(f,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Dt)&&C==="arguments"&&this.raiseRecoverable(f,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(C==="arguments"||C==="await")&&this.raise(f,"Cannot use "+C+" in class static initialization block"),this.keywords.test(C)&&this.raise(f,"Unexpected keyword '"+C+"'"),!(this.options.ecmaVersion<6&&this.input.slice(f,w).indexOf("\\")!==-1)){var L=this.strict?this.reservedWordsStrict:this.reservedWords;L.test(C)&&(!this.inAsync&&C==="await"&&this.raiseRecoverable(f,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(f,"The keyword '"+C+"' is reserved"))}},ke.parseIdent=function(o){var f=this.parseIdentNode();return this.next(!!o),this.finishNode(f,"Identifier"),o||(this.checkUnreserved(f),f.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=f.start)),f},ke.parseIdentNode=function(){var o=this.startNode();return this.type===g.name?o.name=this.value:this.type.keyword?(o.name=this.type.keyword,(o.name==="class"||o.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=g.name):this.unexpected(),o},ke.parsePrivateIdent=function(){var o=this.startNode();return this.type===g.privateId?o.name=this.value:this.unexpected(),this.next(),this.finishNode(o,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(o)),o},ke.parseYield=function(o){this.yieldPos||(this.yieldPos=this.start);var f=this.startNode();return this.next(),this.type===g.semi||this.canInsertSemicolon()||this.type!==g.star&&!this.type.startsExpr?(f.delegate=!1,f.argument=null):(f.delegate=this.eat(g.star),f.argument=this.parseMaybeAssign(o)),this.finishNode(f,"YieldExpression")},ke.parseAwait=function(o){this.awaitPos||(this.awaitPos=this.start);var f=this.startNode();return this.next(),f.argument=this.parseMaybeUnary(null,!0,!1,o),this.finishNode(f,"AwaitExpression")};var ea=Y.prototype;ea.raise=function(o,f){var w=nt(this.input,o);f+=" ("+w.line+":"+w.column+")",this.sourceFile&&(f+=" in "+this.sourceFile);var C=new SyntaxError(f);throw C.pos=o,C.loc=w,C.raisedAt=this.pos,C},ea.raiseRecoverable=ea.raise,ea.curPosition=function(){if(this.options.locations)return new Fe(this.curLine,this.pos-this.lineStart)};var en=Y.prototype,Vm=function(f){this.flags=f,this.var=[],this.lexical=[],this.functions=[]};en.enterScope=function(o){this.scopeStack.push(new Vm(o))},en.exitScope=function(){this.scopeStack.pop()},en.treatFunctionsAsVarInScope=function(o){return o.flags&st||!this.inModule&&o.flags&at},en.declareName=function(o,f,w){var C=!1;if(f===kt){var L=this.currentScope();C=L.lexical.indexOf(o)>-1||L.functions.indexOf(o)>-1||L.var.indexOf(o)>-1,L.lexical.push(o),this.inModule&&L.flags&at&&delete this.undefinedExports[o]}else if(f===yn){var H=this.currentScope();H.lexical.push(o)}else if(f===$e){var G=this.currentScope();this.treatFunctionsAsVar?C=G.lexical.indexOf(o)>-1:C=G.lexical.indexOf(o)>-1||G.var.indexOf(o)>-1,G.functions.push(o)}else for(var re=this.scopeStack.length-1;re>=0;--re){var se=this.scopeStack[re];if(se.lexical.indexOf(o)>-1&&!(se.flags&vr&&se.lexical[0]===o)||!this.treatFunctionsAsVarInScope(se)&&se.functions.indexOf(o)>-1){C=!0;break}if(se.var.push(o),this.inModule&&se.flags&at&&delete this.undefinedExports[o],se.flags&Dt)break}C&&this.raiseRecoverable(w,"Identifier '"+o+"' has already been declared")},en.checkLocalExport=function(o){this.scopeStack[0].lexical.indexOf(o.name)===-1&&this.scopeStack[0].var.indexOf(o.name)===-1&&(this.undefinedExports[o.name]=o)},en.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},en.currentVarScope=function(){for(var o=this.scopeStack.length-1;;o--){var f=this.scopeStack[o];if(f.flags&(Dt|It|wt))return f}},en.currentThisScope=function(){for(var o=this.scopeStack.length-1;;o--){var f=this.scopeStack[o];if(f.flags&(Dt|It|wt)&&!(f.flags&yr))return f}};var ui=function(f,w,C){this.type="",this.start=w,this.end=0,f.options.locations&&(this.loc=new O(f,C)),f.options.directSourceFile&&(this.sourceFile=f.options.directSourceFile),f.options.ranges&&(this.range=[w,0])},ci=Y.prototype;ci.startNode=function(){return new ui(this,this.start,this.startLoc)},ci.startNodeAt=function(o,f){return new ui(this,o,f)};function Eu(o,f,w,C){return o.type=f,o.end=w,this.options.locations&&(o.loc.end=C),this.options.ranges&&(o.range[1]=w),o}ci.finishNode=function(o,f){return Eu.call(this,o,f,this.lastTokEnd,this.lastTokEndLoc)},ci.finishNodeAt=function(o,f,w,C){return Eu.call(this,o,f,w,C)},ci.copyNode=function(o){var f=new ui(this,o.start,this.startLoc);for(var w in o)f[w]=o[w];return f};var jm="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",_u="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Au=_u+" Extended_Pictographic",Tu=Au,Iu=Tu+" EBase EComp EMod EPres ExtPict",Nu=Iu,qm=Nu,Hm={9:_u,10:Au,11:Tu,12:Iu,13:Nu,14:qm},Um="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",$m={9:"",10:"",11:"",12:"",13:"",14:Um},Mu="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Pu="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Bu=Pu+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Lu=Bu+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ru=Lu+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Du=Ru+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Gm=Du+" "+jm,Jm={9:Pu,10:Bu,11:Lu,12:Ru,13:Du,14:Gm},Fu={};function Wm(o){var f=Fu[o]={binary:Ve(Hm[o]+" "+Mu),binaryOfStrings:Ve($m[o]),nonBinary:{General_Category:Ve(Mu),Script:Ve(Jm[o])}};f.nonBinary.Script_Extensions=f.nonBinary.Script,f.nonBinary.gc=f.nonBinary.General_Category,f.nonBinary.sc=f.nonBinary.Script,f.nonBinary.scx=f.nonBinary.Script_Extensions}for(var Bs=0,zu=[9,10,11,12,13,14];Bs<zu.length;Bs+=1){var Xm=zu[Bs];Wm(Xm)}var pe=Y.prototype,ta=function(f,w){this.parent=f,this.base=w||this};ta.prototype.separatedFrom=function(f){for(var w=this;w;w=w.parent)for(var C=f;C;C=C.parent)if(w.base===C.base&&w!==C)return!0;return!1},ta.prototype.sibling=function(){return new ta(this.parent,this.base)};var kr=function(f){this.parser=f,this.validFlags="gim"+(f.options.ecmaVersion>=6?"uy":"")+(f.options.ecmaVersion>=9?"s":"")+(f.options.ecmaVersion>=13?"d":"")+(f.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Fu[f.options.ecmaVersion>=14?14:f.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};kr.prototype.reset=function(f,w,C){var L=C.indexOf("v")!==-1,H=C.indexOf("u")!==-1;this.start=f|0,this.source=w+"",this.flags=C,L&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=H&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=H&&this.parser.options.ecmaVersion>=9)},kr.prototype.raise=function(f){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+f)},kr.prototype.at=function(f,w){w===void 0&&(w=!1);var C=this.source,L=C.length;if(f>=L)return-1;var H=C.charCodeAt(f);if(!(w||this.switchU)||H<=55295||H>=57344||f+1>=L)return H;var G=C.charCodeAt(f+1);return G>=56320&&G<=57343?(H<<10)+G-56613888:H},kr.prototype.nextIndex=function(f,w){w===void 0&&(w=!1);var C=this.source,L=C.length;if(f>=L)return L;var H=C.charCodeAt(f),G;return!(w||this.switchU)||H<=55295||H>=57344||f+1>=L||(G=C.charCodeAt(f+1))<56320||G>57343?f+1:f+2},kr.prototype.current=function(f){return f===void 0&&(f=!1),this.at(this.pos,f)},kr.prototype.lookahead=function(f){return f===void 0&&(f=!1),this.at(this.nextIndex(this.pos,f),f)},kr.prototype.advance=function(f){f===void 0&&(f=!1),this.pos=this.nextIndex(this.pos,f)},kr.prototype.eat=function(f,w){return w===void 0&&(w=!1),this.current(w)===f?(this.advance(w),!0):!1},kr.prototype.eatChars=function(f,w){w===void 0&&(w=!1);for(var C=this.pos,L=0,H=f;L<H.length;L+=1){var G=H[L],re=this.at(C,w);if(re===-1||re!==G)return!1;C=this.nextIndex(C,w)}return this.pos=C,!0},pe.validateRegExpFlags=function(o){for(var f=o.validFlags,w=o.flags,C=!1,L=!1,H=0;H<w.length;H++){var G=w.charAt(H);f.indexOf(G)===-1&&this.raise(o.start,"Invalid regular expression flag"),w.indexOf(G,H+1)>-1&&this.raise(o.start,"Duplicate regular expression flag"),G==="u"&&(C=!0),G==="v"&&(L=!0)}this.options.ecmaVersion>=15&&C&&L&&this.raise(o.start,"Invalid regular expression flag")};function Ym(o){for(var f in o)return!0;return!1}pe.validateRegExpPattern=function(o){this.regexp_pattern(o),!o.switchN&&this.options.ecmaVersion>=9&&Ym(o.groupNames)&&(o.switchN=!0,this.regexp_pattern(o))},pe.regexp_pattern=function(o){o.pos=0,o.lastIntValue=0,o.lastStringValue="",o.lastAssertionIsQuantifiable=!1,o.numCapturingParens=0,o.maxBackReference=0,o.groupNames=Object.create(null),o.backReferenceNames.length=0,o.branchID=null,this.regexp_disjunction(o),o.pos!==o.source.length&&(o.eat(41)&&o.raise("Unmatched ')'"),(o.eat(93)||o.eat(125))&&o.raise("Lone quantifier brackets")),o.maxBackReference>o.numCapturingParens&&o.raise("Invalid escape");for(var f=0,w=o.backReferenceNames;f<w.length;f+=1){var C=w[f];o.groupNames[C]||o.raise("Invalid named capture referenced")}},pe.regexp_disjunction=function(o){var f=this.options.ecmaVersion>=16;for(f&&(o.branchID=new ta(o.branchID,null)),this.regexp_alternative(o);o.eat(124);)f&&(o.branchID=o.branchID.sibling()),this.regexp_alternative(o);f&&(o.branchID=o.branchID.parent),this.regexp_eatQuantifier(o,!0)&&o.raise("Nothing to repeat"),o.eat(123)&&o.raise("Lone quantifier brackets")},pe.regexp_alternative=function(o){for(;o.pos<o.source.length&&this.regexp_eatTerm(o););},pe.regexp_eatTerm=function(o){return this.regexp_eatAssertion(o)?(o.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(o)&&o.switchU&&o.raise("Invalid quantifier"),!0):(o.switchU?this.regexp_eatAtom(o):this.regexp_eatExtendedAtom(o))?(this.regexp_eatQuantifier(o),!0):!1},pe.regexp_eatAssertion=function(o){var f=o.pos;if(o.lastAssertionIsQuantifiable=!1,o.eat(94)||o.eat(36))return!0;if(o.eat(92)){if(o.eat(66)||o.eat(98))return!0;o.pos=f}if(o.eat(40)&&o.eat(63)){var w=!1;if(this.options.ecmaVersion>=9&&(w=o.eat(60)),o.eat(61)||o.eat(33))return this.regexp_disjunction(o),o.eat(41)||o.raise("Unterminated group"),o.lastAssertionIsQuantifiable=!w,!0}return o.pos=f,!1},pe.regexp_eatQuantifier=function(o,f){return f===void 0&&(f=!1),this.regexp_eatQuantifierPrefix(o,f)?(o.eat(63),!0):!1},pe.regexp_eatQuantifierPrefix=function(o,f){return o.eat(42)||o.eat(43)||o.eat(63)||this.regexp_eatBracedQuantifier(o,f)},pe.regexp_eatBracedQuantifier=function(o,f){var w=o.pos;if(o.eat(123)){var C=0,L=-1;if(this.regexp_eatDecimalDigits(o)&&(C=o.lastIntValue,o.eat(44)&&this.regexp_eatDecimalDigits(o)&&(L=o.lastIntValue),o.eat(125)))return L!==-1&&L<C&&!f&&o.raise("numbers out of order in {} quantifier"),!0;o.switchU&&!f&&o.raise("Incomplete quantifier"),o.pos=w}return!1},pe.regexp_eatAtom=function(o){return this.regexp_eatPatternCharacters(o)||o.eat(46)||this.regexp_eatReverseSolidusAtomEscape(o)||this.regexp_eatCharacterClass(o)||this.regexp_eatUncapturingGroup(o)||this.regexp_eatCapturingGroup(o)},pe.regexp_eatReverseSolidusAtomEscape=function(o){var f=o.pos;if(o.eat(92)){if(this.regexp_eatAtomEscape(o))return!0;o.pos=f}return!1},pe.regexp_eatUncapturingGroup=function(o){var f=o.pos;if(o.eat(40)){if(o.eat(63)){if(this.options.ecmaVersion>=16){var w=this.regexp_eatModifiers(o),C=o.eat(45);if(w||C){for(var L=0;L<w.length;L++){var H=w.charAt(L);w.indexOf(H,L+1)>-1&&o.raise("Duplicate regular expression modifiers")}if(C){var G=this.regexp_eatModifiers(o);!w&&!G&&o.current()===58&&o.raise("Invalid regular expression modifiers");for(var re=0;re<G.length;re++){var se=G.charAt(re);(G.indexOf(se,re+1)>-1||w.indexOf(se)>-1)&&o.raise("Duplicate regular expression modifiers")}}}}if(o.eat(58)){if(this.regexp_disjunction(o),o.eat(41))return!0;o.raise("Unterminated group")}}o.pos=f}return!1},pe.regexp_eatCapturingGroup=function(o){if(o.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(o):o.current()===63&&o.raise("Invalid group"),this.regexp_disjunction(o),o.eat(41))return o.numCapturingParens+=1,!0;o.raise("Unterminated group")}return!1},pe.regexp_eatModifiers=function(o){for(var f="",w=0;(w=o.current())!==-1&&Km(w);)f+=z(w),o.advance();return f};function Km(o){return o===105||o===109||o===115}pe.regexp_eatExtendedAtom=function(o){return o.eat(46)||this.regexp_eatReverseSolidusAtomEscape(o)||this.regexp_eatCharacterClass(o)||this.regexp_eatUncapturingGroup(o)||this.regexp_eatCapturingGroup(o)||this.regexp_eatInvalidBracedQuantifier(o)||this.regexp_eatExtendedPatternCharacter(o)},pe.regexp_eatInvalidBracedQuantifier=function(o){return this.regexp_eatBracedQuantifier(o,!0)&&o.raise("Nothing to repeat"),!1},pe.regexp_eatSyntaxCharacter=function(o){var f=o.current();return Ou(f)?(o.lastIntValue=f,o.advance(),!0):!1};function Ou(o){return o===36||o>=40&&o<=43||o===46||o===63||o>=91&&o<=94||o>=123&&o<=125}pe.regexp_eatPatternCharacters=function(o){for(var f=o.pos,w=0;(w=o.current())!==-1&&!Ou(w);)o.advance();return o.pos!==f},pe.regexp_eatExtendedPatternCharacter=function(o){var f=o.current();return f!==-1&&f!==36&&!(f>=40&&f<=43)&&f!==46&&f!==63&&f!==91&&f!==94&&f!==124?(o.advance(),!0):!1},pe.regexp_groupSpecifier=function(o){if(o.eat(63)){this.regexp_eatGroupName(o)||o.raise("Invalid group");var f=this.options.ecmaVersion>=16,w=o.groupNames[o.lastStringValue];if(w)if(f)for(var C=0,L=w;C<L.length;C+=1){var H=L[C];H.separatedFrom(o.branchID)||o.raise("Duplicate capture group name")}else o.raise("Duplicate capture group name");f?(w||(o.groupNames[o.lastStringValue]=[])).push(o.branchID):o.groupNames[o.lastStringValue]=!0}},pe.regexp_eatGroupName=function(o){if(o.lastStringValue="",o.eat(60)){if(this.regexp_eatRegExpIdentifierName(o)&&o.eat(62))return!0;o.raise("Invalid capture group name")}return!1},pe.regexp_eatRegExpIdentifierName=function(o){if(o.lastStringValue="",this.regexp_eatRegExpIdentifierStart(o)){for(o.lastStringValue+=z(o.lastIntValue);this.regexp_eatRegExpIdentifierPart(o);)o.lastStringValue+=z(o.lastIntValue);return!0}return!1},pe.regexp_eatRegExpIdentifierStart=function(o){var f=o.pos,w=this.options.ecmaVersion>=11,C=o.current(w);return o.advance(w),C===92&&this.regexp_eatRegExpUnicodeEscapeSequence(o,w)&&(C=o.lastIntValue),Qm(C)?(o.lastIntValue=C,!0):(o.pos=f,!1)};function Qm(o){return b(o,!0)||o===36||o===95}pe.regexp_eatRegExpIdentifierPart=function(o){var f=o.pos,w=this.options.ecmaVersion>=11,C=o.current(w);return o.advance(w),C===92&&this.regexp_eatRegExpUnicodeEscapeSequence(o,w)&&(C=o.lastIntValue),Zm(C)?(o.lastIntValue=C,!0):(o.pos=f,!1)};function Zm(o){return k(o,!0)||o===36||o===95||o===8204||o===8205}pe.regexp_eatAtomEscape=function(o){return this.regexp_eatBackReference(o)||this.regexp_eatCharacterClassEscape(o)||this.regexp_eatCharacterEscape(o)||o.switchN&&this.regexp_eatKGroupName(o)?!0:(o.switchU&&(o.current()===99&&o.raise("Invalid unicode escape"),o.raise("Invalid escape")),!1)},pe.regexp_eatBackReference=function(o){var f=o.pos;if(this.regexp_eatDecimalEscape(o)){var w=o.lastIntValue;if(o.switchU)return w>o.maxBackReference&&(o.maxBackReference=w),!0;if(w<=o.numCapturingParens)return!0;o.pos=f}return!1},pe.regexp_eatKGroupName=function(o){if(o.eat(107)){if(this.regexp_eatGroupName(o))return o.backReferenceNames.push(o.lastStringValue),!0;o.raise("Invalid named reference")}return!1},pe.regexp_eatCharacterEscape=function(o){return this.regexp_eatControlEscape(o)||this.regexp_eatCControlLetter(o)||this.regexp_eatZero(o)||this.regexp_eatHexEscapeSequence(o)||this.regexp_eatRegExpUnicodeEscapeSequence(o,!1)||!o.switchU&&this.regexp_eatLegacyOctalEscapeSequence(o)||this.regexp_eatIdentityEscape(o)},pe.regexp_eatCControlLetter=function(o){var f=o.pos;if(o.eat(99)){if(this.regexp_eatControlLetter(o))return!0;o.pos=f}return!1},pe.regexp_eatZero=function(o){return o.current()===48&&!ra(o.lookahead())?(o.lastIntValue=0,o.advance(),!0):!1},pe.regexp_eatControlEscape=function(o){var f=o.current();return f===116?(o.lastIntValue=9,o.advance(),!0):f===110?(o.lastIntValue=10,o.advance(),!0):f===118?(o.lastIntValue=11,o.advance(),!0):f===102?(o.lastIntValue=12,o.advance(),!0):f===114?(o.lastIntValue=13,o.advance(),!0):!1},pe.regexp_eatControlLetter=function(o){var f=o.current();return Vu(f)?(o.lastIntValue=f%32,o.advance(),!0):!1};function Vu(o){return o>=65&&o<=90||o>=97&&o<=122}pe.regexp_eatRegExpUnicodeEscapeSequence=function(o,f){f===void 0&&(f=!1);var w=o.pos,C=f||o.switchU;if(o.eat(117)){if(this.regexp_eatFixedHexDigits(o,4)){var L=o.lastIntValue;if(C&&L>=55296&&L<=56319){var H=o.pos;if(o.eat(92)&&o.eat(117)&&this.regexp_eatFixedHexDigits(o,4)){var G=o.lastIntValue;if(G>=56320&&G<=57343)return o.lastIntValue=(L-55296)*1024+(G-56320)+65536,!0}o.pos=H,o.lastIntValue=L}return!0}if(C&&o.eat(123)&&this.regexp_eatHexDigits(o)&&o.eat(125)&&e1(o.lastIntValue))return!0;C&&o.raise("Invalid unicode escape"),o.pos=w}return!1};function e1(o){return o>=0&&o<=1114111}pe.regexp_eatIdentityEscape=function(o){if(o.switchU)return this.regexp_eatSyntaxCharacter(o)?!0:o.eat(47)?(o.lastIntValue=47,!0):!1;var f=o.current();return f!==99&&(!o.switchN||f!==107)?(o.lastIntValue=f,o.advance(),!0):!1},pe.regexp_eatDecimalEscape=function(o){o.lastIntValue=0;var f=o.current();if(f>=49&&f<=57){do o.lastIntValue=10*o.lastIntValue+(f-48),o.advance();while((f=o.current())>=48&&f<=57);return!0}return!1};var ju=0,zr=1,er=2;pe.regexp_eatCharacterClassEscape=function(o){var f=o.current();if(t1(f))return o.lastIntValue=-1,o.advance(),zr;var w=!1;if(o.switchU&&this.options.ecmaVersion>=9&&((w=f===80)||f===112)){o.lastIntValue=-1,o.advance();var C;if(o.eat(123)&&(C=this.regexp_eatUnicodePropertyValueExpression(o))&&o.eat(125))return w&&C===er&&o.raise("Invalid property name"),C;o.raise("Invalid property name")}return ju};function t1(o){return o===100||o===68||o===115||o===83||o===119||o===87}pe.regexp_eatUnicodePropertyValueExpression=function(o){var f=o.pos;if(this.regexp_eatUnicodePropertyName(o)&&o.eat(61)){var w=o.lastStringValue;if(this.regexp_eatUnicodePropertyValue(o)){var C=o.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(o,w,C),zr}}if(o.pos=f,this.regexp_eatLoneUnicodePropertyNameOrValue(o)){var L=o.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(o,L)}return ju},pe.regexp_validateUnicodePropertyNameAndValue=function(o,f,w){me(o.unicodeProperties.nonBinary,f)||o.raise("Invalid property name"),o.unicodeProperties.nonBinary[f].test(w)||o.raise("Invalid property value")},pe.regexp_validateUnicodePropertyNameOrValue=function(o,f){if(o.unicodeProperties.binary.test(f))return zr;if(o.switchV&&o.unicodeProperties.binaryOfStrings.test(f))return er;o.raise("Invalid property name")},pe.regexp_eatUnicodePropertyName=function(o){var f=0;for(o.lastStringValue="";qu(f=o.current());)o.lastStringValue+=z(f),o.advance();return o.lastStringValue!==""};function qu(o){return Vu(o)||o===95}pe.regexp_eatUnicodePropertyValue=function(o){var f=0;for(o.lastStringValue="";r1(f=o.current());)o.lastStringValue+=z(f),o.advance();return o.lastStringValue!==""};function r1(o){return qu(o)||ra(o)}pe.regexp_eatLoneUnicodePropertyNameOrValue=function(o){return this.regexp_eatUnicodePropertyValue(o)},pe.regexp_eatCharacterClass=function(o){if(o.eat(91)){var f=o.eat(94),w=this.regexp_classContents(o);return o.eat(93)||o.raise("Unterminated character class"),f&&w===er&&o.raise("Negated character class may contain strings"),!0}return!1},pe.regexp_classContents=function(o){return o.current()===93?zr:o.switchV?this.regexp_classSetExpression(o):(this.regexp_nonEmptyClassRanges(o),zr)},pe.regexp_nonEmptyClassRanges=function(o){for(;this.regexp_eatClassAtom(o);){var f=o.lastIntValue;if(o.eat(45)&&this.regexp_eatClassAtom(o)){var w=o.lastIntValue;o.switchU&&(f===-1||w===-1)&&o.raise("Invalid character class"),f!==-1&&w!==-1&&f>w&&o.raise("Range out of order in character class")}}},pe.regexp_eatClassAtom=function(o){var f=o.pos;if(o.eat(92)){if(this.regexp_eatClassEscape(o))return!0;if(o.switchU){var w=o.current();(w===99||$u(w))&&o.raise("Invalid class escape"),o.raise("Invalid escape")}o.pos=f}var C=o.current();return C!==93?(o.lastIntValue=C,o.advance(),!0):!1},pe.regexp_eatClassEscape=function(o){var f=o.pos;if(o.eat(98))return o.lastIntValue=8,!0;if(o.switchU&&o.eat(45))return o.lastIntValue=45,!0;if(!o.switchU&&o.eat(99)){if(this.regexp_eatClassControlLetter(o))return!0;o.pos=f}return this.regexp_eatCharacterClassEscape(o)||this.regexp_eatCharacterEscape(o)},pe.regexp_classSetExpression=function(o){var f=zr,w;if(!this.regexp_eatClassSetRange(o))if(w=this.regexp_eatClassSetOperand(o)){w===er&&(f=er);for(var C=o.pos;o.eatChars([38,38]);){if(o.current()!==38&&(w=this.regexp_eatClassSetOperand(o))){w!==er&&(f=zr);continue}o.raise("Invalid character in character class")}if(C!==o.pos)return f;for(;o.eatChars([45,45]);)this.regexp_eatClassSetOperand(o)||o.raise("Invalid character in character class");if(C!==o.pos)return f}else o.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(o)){if(w=this.regexp_eatClassSetOperand(o),!w)return f;w===er&&(f=er)}},pe.regexp_eatClassSetRange=function(o){var f=o.pos;if(this.regexp_eatClassSetCharacter(o)){var w=o.lastIntValue;if(o.eat(45)&&this.regexp_eatClassSetCharacter(o)){var C=o.lastIntValue;return w!==-1&&C!==-1&&w>C&&o.raise("Range out of order in character class"),!0}o.pos=f}return!1},pe.regexp_eatClassSetOperand=function(o){return this.regexp_eatClassSetCharacter(o)?zr:this.regexp_eatClassStringDisjunction(o)||this.regexp_eatNestedClass(o)},pe.regexp_eatNestedClass=function(o){var f=o.pos;if(o.eat(91)){var w=o.eat(94),C=this.regexp_classContents(o);if(o.eat(93))return w&&C===er&&o.raise("Negated character class may contain strings"),C;o.pos=f}if(o.eat(92)){var L=this.regexp_eatCharacterClassEscape(o);if(L)return L;o.pos=f}return null},pe.regexp_eatClassStringDisjunction=function(o){var f=o.pos;if(o.eatChars([92,113])){if(o.eat(123)){var w=this.regexp_classStringDisjunctionContents(o);if(o.eat(125))return w}else o.raise("Invalid escape");o.pos=f}return null},pe.regexp_classStringDisjunctionContents=function(o){for(var f=this.regexp_classString(o);o.eat(124);)this.regexp_classString(o)===er&&(f=er);return f},pe.regexp_classString=function(o){for(var f=0;this.regexp_eatClassSetCharacter(o);)f++;return f===1?zr:er},pe.regexp_eatClassSetCharacter=function(o){var f=o.pos;if(o.eat(92))return this.regexp_eatCharacterEscape(o)||this.regexp_eatClassSetReservedPunctuator(o)?!0:o.eat(98)?(o.lastIntValue=8,!0):(o.pos=f,!1);var w=o.current();return w<0||w===o.lookahead()&&n1(w)||i1(w)?!1:(o.advance(),o.lastIntValue=w,!0)};function n1(o){return o===33||o>=35&&o<=38||o>=42&&o<=44||o===46||o>=58&&o<=64||o===94||o===96||o===126}function i1(o){return o===40||o===41||o===45||o===47||o>=91&&o<=93||o>=123&&o<=125}pe.regexp_eatClassSetReservedPunctuator=function(o){var f=o.current();return a1(f)?(o.lastIntValue=f,o.advance(),!0):!1};function a1(o){return o===33||o===35||o===37||o===38||o===44||o===45||o>=58&&o<=62||o===64||o===96||o===126}pe.regexp_eatClassControlLetter=function(o){var f=o.current();return ra(f)||f===95?(o.lastIntValue=f%32,o.advance(),!0):!1},pe.regexp_eatHexEscapeSequence=function(o){var f=o.pos;if(o.eat(120)){if(this.regexp_eatFixedHexDigits(o,2))return!0;o.switchU&&o.raise("Invalid escape"),o.pos=f}return!1},pe.regexp_eatDecimalDigits=function(o){var f=o.pos,w=0;for(o.lastIntValue=0;ra(w=o.current());)o.lastIntValue=10*o.lastIntValue+(w-48),o.advance();return o.pos!==f};function ra(o){return o>=48&&o<=57}pe.regexp_eatHexDigits=function(o){var f=o.pos,w=0;for(o.lastIntValue=0;Hu(w=o.current());)o.lastIntValue=16*o.lastIntValue+Uu(w),o.advance();return o.pos!==f};function Hu(o){return o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102}function Uu(o){return o>=65&&o<=70?10+(o-65):o>=97&&o<=102?10+(o-97):o-48}pe.regexp_eatLegacyOctalEscapeSequence=function(o){if(this.regexp_eatOctalDigit(o)){var f=o.lastIntValue;if(this.regexp_eatOctalDigit(o)){var w=o.lastIntValue;f<=3&&this.regexp_eatOctalDigit(o)?o.lastIntValue=f*64+w*8+o.lastIntValue:o.lastIntValue=f*8+w}else o.lastIntValue=f;return!0}return!1},pe.regexp_eatOctalDigit=function(o){var f=o.current();return $u(f)?(o.lastIntValue=f-48,o.advance(),!0):(o.lastIntValue=0,!1)};function $u(o){return o>=48&&o<=55}pe.regexp_eatFixedHexDigits=function(o,f){var w=o.pos;o.lastIntValue=0;for(var C=0;C<f;++C){var L=o.current();if(!Hu(L))return o.pos=w,!1;o.lastIntValue=16*o.lastIntValue+Uu(L),o.advance()}return!0};var na=function(f){this.type=f.type,this.value=f.value,this.start=f.start,this.end=f.end,f.options.locations&&(this.loc=new O(f,f.startLoc,f.endLoc)),f.options.ranges&&(this.range=[f.start,f.end])},Ie=Y.prototype;Ie.next=function(o){!o&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new na(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ie.getToken=function(){return this.next(),new na(this)},typeof Symbol<"u"&&(Ie[Symbol.iterator]=function(){var o=this;return{next:function(){var f=o.getToken();return{done:f.type===g.eof,value:f}}}}),Ie.nextToken=function(){var o=this.curContext();if((!o||!o.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(g.eof);if(o.override)return o.override(this);this.readToken(this.fullCharCodeAtPos())},Ie.readToken=function(o){return b(o,this.options.ecmaVersion>=6)||o===92?this.readWord():this.getTokenFromCode(o)},Ie.fullCharCodeAtPos=function(){var o=this.input.charCodeAt(this.pos);if(o<=55295||o>=56320)return o;var f=this.input.charCodeAt(this.pos+1);return f<=56319||f>=57344?o:(o<<10)+f-56613888},Ie.skipBlockComment=function(){var o=this.options.onComment&&this.curPosition(),f=this.pos,w=this.input.indexOf("*/",this.pos+=2);if(w===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=w+2,this.options.locations)for(var C=void 0,L=f;(C=j(this.input,L,this.pos))>-1;)++this.curLine,L=this.lineStart=C;this.options.onComment&&this.options.onComment(!0,this.input.slice(f+2,w),f,this.pos,o,this.curPosition())},Ie.skipLineComment=function(o){for(var f=this.pos,w=this.options.onComment&&this.curPosition(),C=this.input.charCodeAt(this.pos+=o);this.pos<this.input.length&&!U(C);)C=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(f+o,this.pos),f,this.pos,w,this.curPosition())},Ie.skipSpace=function(){e:for(;this.pos<this.input.length;){var o=this.input.charCodeAt(this.pos);switch(o){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(o>8&&o<14||o>=5760&&J.test(String.fromCharCode(o)))++this.pos;else break e}}},Ie.finishToken=function(o,f){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var w=this.type;this.type=o,this.value=f,this.updateContext(w)},Ie.readToken_dot=function(){var o=this.input.charCodeAt(this.pos+1);if(o>=48&&o<=57)return this.readNumber(!0);var f=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&o===46&&f===46?(this.pos+=3,this.finishToken(g.ellipsis)):(++this.pos,this.finishToken(g.dot))},Ie.readToken_slash=function(){var o=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):o===61?this.finishOp(g.assign,2):this.finishOp(g.slash,1)},Ie.readToken_mult_modulo_exp=function(o){var f=this.input.charCodeAt(this.pos+1),w=1,C=o===42?g.star:g.modulo;return this.options.ecmaVersion>=7&&o===42&&f===42&&(++w,C=g.starstar,f=this.input.charCodeAt(this.pos+2)),f===61?this.finishOp(g.assign,w+1):this.finishOp(C,w)},Ie.readToken_pipe_amp=function(o){var f=this.input.charCodeAt(this.pos+1);if(f===o){if(this.options.ecmaVersion>=12){var w=this.input.charCodeAt(this.pos+2);if(w===61)return this.finishOp(g.assign,3)}return this.finishOp(o===124?g.logicalOR:g.logicalAND,2)}return f===61?this.finishOp(g.assign,2):this.finishOp(o===124?g.bitwiseOR:g.bitwiseAND,1)},Ie.readToken_caret=function(){var o=this.input.charCodeAt(this.pos+1);return o===61?this.finishOp(g.assign,2):this.finishOp(g.bitwiseXOR,1)},Ie.readToken_plus_min=function(o){var f=this.input.charCodeAt(this.pos+1);return f===o?f===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||M.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(g.incDec,2):f===61?this.finishOp(g.assign,2):this.finishOp(g.plusMin,1)},Ie.readToken_lt_gt=function(o){var f=this.input.charCodeAt(this.pos+1),w=1;return f===o?(w=o===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+w)===61?this.finishOp(g.assign,w+1):this.finishOp(g.bitShift,w)):f===33&&o===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(f===61&&(w=2),this.finishOp(g.relational,w))},Ie.readToken_eq_excl=function(o){var f=this.input.charCodeAt(this.pos+1);return f===61?this.finishOp(g.equality,this.input.charCodeAt(this.pos+2)===61?3:2):o===61&&f===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(g.arrow)):this.finishOp(o===61?g.eq:g.prefix,1)},Ie.readToken_question=function(){var o=this.options.ecmaVersion;if(o>=11){var f=this.input.charCodeAt(this.pos+1);if(f===46){var w=this.input.charCodeAt(this.pos+2);if(w<48||w>57)return this.finishOp(g.questionDot,2)}if(f===63){if(o>=12){var C=this.input.charCodeAt(this.pos+2);if(C===61)return this.finishOp(g.assign,3)}return this.finishOp(g.coalesce,2)}}return this.finishOp(g.question,1)},Ie.readToken_numberSign=function(){var o=this.options.ecmaVersion,f=35;if(o>=13&&(++this.pos,f=this.fullCharCodeAtPos(),b(f,!0)||f===92))return this.finishToken(g.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+z(f)+"'")},Ie.getTokenFromCode=function(o){switch(o){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(g.parenL);case 41:return++this.pos,this.finishToken(g.parenR);case 59:return++this.pos,this.finishToken(g.semi);case 44:return++this.pos,this.finishToken(g.comma);case 91:return++this.pos,this.finishToken(g.bracketL);case 93:return++this.pos,this.finishToken(g.bracketR);case 123:return++this.pos,this.finishToken(g.braceL);case 125:return++this.pos,this.finishToken(g.braceR);case 58:return++this.pos,this.finishToken(g.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(g.backQuote);case 48:var f=this.input.charCodeAt(this.pos+1);if(f===120||f===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(f===111||f===79)return this.readRadixNumber(8);if(f===98||f===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(o);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(o);case 124:case 38:return this.readToken_pipe_amp(o);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(o);case 60:case 62:return this.readToken_lt_gt(o);case 61:case 33:return this.readToken_eq_excl(o);case 63:return this.readToken_question();case 126:return this.finishOp(g.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+z(o)+"'")},Ie.finishOp=function(o,f){var w=this.input.slice(this.pos,this.pos+f);return this.pos+=f,this.finishToken(o,w)},Ie.readRegexp=function(){for(var o,f,w=this.pos;;){this.pos>=this.input.length&&this.raise(w,"Unterminated regular expression");var C=this.input.charAt(this.pos);if(M.test(C)&&this.raise(w,"Unterminated regular expression"),o)o=!1;else{if(C==="[")f=!0;else if(C==="]"&&f)f=!1;else if(C==="/"&&!f)break;o=C==="\\"}++this.pos}var L=this.input.slice(w,this.pos);++this.pos;var H=this.pos,G=this.readWord1();this.containsEsc&&this.unexpected(H);var re=this.regexpState||(this.regexpState=new kr(this));re.reset(w,L,G),this.validateRegExpFlags(re),this.validateRegExpPattern(re);var se=null;try{se=new RegExp(L,G)}catch{}return this.finishToken(g.regexp,{pattern:L,flags:G,value:se})},Ie.readInt=function(o,f,w){for(var C=this.options.ecmaVersion>=12&&f===void 0,L=w&&this.input.charCodeAt(this.pos)===48,H=this.pos,G=0,re=0,se=0,we=f??1/0;se<we;++se,++this.pos){var Te=this.input.charCodeAt(this.pos),Xe=void 0;if(C&&Te===95){L&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),re===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),se===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),re=Te;continue}if(Te>=97?Xe=Te-97+10:Te>=65?Xe=Te-65+10:Te>=48&&Te<=57?Xe=Te-48:Xe=1/0,Xe>=o)break;re=Te,G=G*o+Xe}return C&&re===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===H||f!=null&&this.pos-H!==f?null:G};function s1(o,f){return f?parseInt(o,8):parseFloat(o.replace(/_/g,""))}function Gu(o){return typeof BigInt!="function"?null:BigInt(o.replace(/_/g,""))}Ie.readRadixNumber=function(o){var f=this.pos;this.pos+=2;var w=this.readInt(o);return w==null&&this.raise(this.start+2,"Expected number in radix "+o),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(w=Gu(this.input.slice(f,this.pos)),++this.pos):b(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(g.num,w)},Ie.readNumber=function(o){var f=this.pos;!o&&this.readInt(10,void 0,!0)===null&&this.raise(f,"Invalid number");var w=this.pos-f>=2&&this.input.charCodeAt(f)===48;w&&this.strict&&this.raise(f,"Invalid number");var C=this.input.charCodeAt(this.pos);if(!w&&!o&&this.options.ecmaVersion>=11&&C===110){var L=Gu(this.input.slice(f,this.pos));return++this.pos,b(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(g.num,L)}w&&/[89]/.test(this.input.slice(f,this.pos))&&(w=!1),C===46&&!w&&(++this.pos,this.readInt(10),C=this.input.charCodeAt(this.pos)),(C===69||C===101)&&!w&&(C=this.input.charCodeAt(++this.pos),(C===43||C===45)&&++this.pos,this.readInt(10)===null&&this.raise(f,"Invalid number")),b(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var H=s1(this.input.slice(f,this.pos),w);return this.finishToken(g.num,H)},Ie.readCodePoint=function(){var o=this.input.charCodeAt(this.pos),f;if(o===123){this.options.ecmaVersion<6&&this.unexpected();var w=++this.pos;f=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,f>1114111&&this.invalidStringToken(w,"Code point out of bounds")}else f=this.readHexChar(4);return f},Ie.readString=function(o){for(var f="",w=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var C=this.input.charCodeAt(this.pos);if(C===o)break;C===92?(f+=this.input.slice(w,this.pos),f+=this.readEscapedChar(!1),w=this.pos):C===8232||C===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(U(C)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return f+=this.input.slice(w,this.pos++),this.finishToken(g.string,f)};var Ju={};Ie.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(o){if(o===Ju)this.readInvalidTemplateToken();else throw o}this.inTemplateElement=!1},Ie.invalidStringToken=function(o,f){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ju;this.raise(o,f)},Ie.readTmplToken=function(){for(var o="",f=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var w=this.input.charCodeAt(this.pos);if(w===96||w===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===g.template||this.type===g.invalidTemplate)?w===36?(this.pos+=2,this.finishToken(g.dollarBraceL)):(++this.pos,this.finishToken(g.backQuote)):(o+=this.input.slice(f,this.pos),this.finishToken(g.template,o));if(w===92)o+=this.input.slice(f,this.pos),o+=this.readEscapedChar(!0),f=this.pos;else if(U(w)){switch(o+=this.input.slice(f,this.pos),++this.pos,w){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:o+=`
|
|
8
|
+
`;break;default:o+=String.fromCharCode(w);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),f=this.pos}else++this.pos}},Ie.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(g.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
9
|
+
`&&++this.pos;case`
|
|
10
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},Ie.readEscapedChar=function(o){var f=this.input.charCodeAt(++this.pos);switch(++this.pos,f){case 110:return`
|
|
11
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return z(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),o){var w=this.pos-1;this.invalidStringToken(w,"Invalid escape sequence in template string")}default:if(f>=48&&f<=55){var C=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],L=parseInt(C,8);return L>255&&(C=C.slice(0,-1),L=parseInt(C,8)),this.pos+=C.length-1,f=this.input.charCodeAt(this.pos),(C!=="0"||f===56||f===57)&&(this.strict||o)&&this.invalidStringToken(this.pos-1-C.length,o?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(L)}return U(f)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(f)}},Ie.readHexChar=function(o){var f=this.pos,w=this.readInt(16,o);return w===null&&this.invalidStringToken(f,"Bad character escape sequence"),w},Ie.readWord1=function(){this.containsEsc=!1;for(var o="",f=!0,w=this.pos,C=this.options.ecmaVersion>=6;this.pos<this.input.length;){var L=this.fullCharCodeAtPos();if(k(L,C))this.pos+=L<=65535?1:2;else if(L===92){this.containsEsc=!0,o+=this.input.slice(w,this.pos);var H=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var G=this.readCodePoint();(f?b:k)(G,C)||this.invalidStringToken(H,"Invalid Unicode escape"),o+=z(G),w=this.pos}else break;f=!1}return o+this.input.slice(w,this.pos)},Ie.readWord=function(){var o=this.readWord1(),f=g.name;return this.keywords.test(o)&&(f=F[o]),this.finishToken(f,o)};var Wu="8.15.0";Y.acorn={Parser:Y,version:Wu,defaultOptions:tt,Position:Fe,SourceLocation:O,getLineInfo:nt,Node:ui,TokenType:_,tokTypes:g,keywordTypes:F,TokContext:Zt,tokContexts:We,isIdentifierChar:k,isIdentifierStart:b,Token:na,isNewLine:U,lineBreak:M,lineBreakG:V,nonASCIIwhitespace:J};function o1(o,f){return Y.parse(o,f)}function l1(o,f,w){return Y.parseExpressionAt(o,f,w)}function u1(o,f){return Y.tokenizer(o,f)}r.Node=ui,r.Parser=Y,r.Position=Fe,r.SourceLocation=O,r.TokContext=Zt,r.Token=na,r.TokenType=_,r.defaultOptions=tt,r.getLineInfo=nt,r.isIdentifierChar=k,r.isIdentifierStart=b,r.isNewLine=U,r.keywordTypes=F,r.lineBreak=M,r.lineBreakG=V,r.nonASCIIwhitespace=J,r.parse=o1,r.parseExpressionAt=l1,r.tokContexts=We,r.tokTypes=g,r.tokenizer=u1,r.version=Wu}))})(vi,vi.exports)),vi.exports}var n0;function q1(){return n0||(n0=1,(function(e){const t=V1(),r=/^[\da-fA-F]+$/,n=/^\d+$/,i=new WeakMap;function a(u){u=u.Parser.acorn||u;let c=i.get(u);if(!c){const p=u.tokTypes,h=u.TokContext,m=u.TokenType,d=new h("<tag",!1),b=new h("</tag",!1),k=new h("<tag>...</tag>",!0,!0),_={tc_oTag:d,tc_cTag:b,tc_expr:k},S={jsxName:new m("jsxName"),jsxText:new m("jsxText",{beforeExpr:!0}),jsxTagStart:new m("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new m("jsxTagEnd")};S.jsxTagStart.updateContext=function(){this.context.push(k),this.context.push(d),this.exprAllowed=!1},S.jsxTagEnd.updateContext=function(A){let N=this.context.pop();N===d&&A===p.slash||N===b?(this.context.pop(),this.exprAllowed=this.curContext()===k):this.exprAllowed=!0},c={tokContexts:_,tokTypes:S},i.set(u,c)}return c}function s(u){if(!u)return u;if(u.type==="JSXIdentifier")return u.name;if(u.type==="JSXNamespacedName")return u.namespace.name+":"+u.name.name;if(u.type==="JSXMemberExpression")return s(u.object)+"."+s(u.property)}e.exports=function(u){return u=u||{},function(c){return l({allowNamespaces:u.allowNamespaces!==!1,allowNamespacedObjects:!!u.allowNamespacedObjects},c)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return a(r0()).tokTypes},configurable:!0,enumerable:!0});function l(u,c){const p=c.acorn||r0(),h=a(p),m=p.tokTypes,d=h.tokTypes,b=p.tokContexts,k=h.tokContexts.tc_oTag,_=h.tokContexts.tc_cTag,S=h.tokContexts.tc_expr,A=p.isNewLine,N=p.isIdentifierStart,F=p.isIdentifierChar;return class extends c{static get acornJsx(){return h}jsx_readToken(){let P="",g=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let M=this.input.charCodeAt(this.pos);switch(M){case 60:case 123:return this.pos===this.start?M===60&&this.exprAllowed?(++this.pos,this.finishToken(d.jsxTagStart)):this.getTokenFromCode(M):(P+=this.input.slice(g,this.pos),this.finishToken(d.jsxText,P));case 38:P+=this.input.slice(g,this.pos),P+=this.jsx_readEntity(),g=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(M===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:A(M)?(P+=this.input.slice(g,this.pos),P+=this.jsx_readNewLine(!0),g=this.pos):++this.pos}}}jsx_readNewLine(P){let g=this.input.charCodeAt(this.pos),M;return++this.pos,g===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,M=P?`
|
|
12
|
+
`:`\r
|
|
13
|
+
`):M=String.fromCharCode(g),this.options.locations&&(++this.curLine,this.lineStart=this.pos),M}jsx_readString(P){let g="",M=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let V=this.input.charCodeAt(this.pos);if(V===P)break;V===38?(g+=this.input.slice(M,this.pos),g+=this.jsx_readEntity(),M=this.pos):A(V)?(g+=this.input.slice(M,this.pos),g+=this.jsx_readNewLine(!1),M=this.pos):++this.pos}return g+=this.input.slice(M,this.pos++),this.finishToken(m.string,g)}jsx_readEntity(){let P="",g=0,M,V=this.input[this.pos];V!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let U=++this.pos;for(;this.pos<this.input.length&&g++<10;){if(V=this.input[this.pos++],V===";"){P[0]==="#"?P[1]==="x"?(P=P.substr(2),r.test(P)&&(M=String.fromCharCode(parseInt(P,16)))):(P=P.substr(1),n.test(P)&&(M=String.fromCharCode(parseInt(P,10)))):M=t[P];break}P+=V}return M||(this.pos=U,"&")}jsx_readWord(){let P,g=this.pos;do P=this.input.charCodeAt(++this.pos);while(F(P)||P===45);return this.finishToken(d.jsxName,this.input.slice(g,this.pos))}jsx_parseIdentifier(){let P=this.startNode();return this.type===d.jsxName?P.name=this.value:this.type.keyword?P.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(P,"JSXIdentifier")}jsx_parseNamespacedName(){let P=this.start,g=this.startLoc,M=this.jsx_parseIdentifier();if(!u.allowNamespaces||!this.eat(m.colon))return M;var V=this.startNodeAt(P,g);return V.namespace=M,V.name=this.jsx_parseIdentifier(),this.finishNode(V,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===d.jsxTagEnd)return"";let P=this.start,g=this.startLoc,M=this.jsx_parseNamespacedName();for(this.type===m.dot&&M.type==="JSXNamespacedName"&&!u.allowNamespacedObjects&&this.unexpected();this.eat(m.dot);){let V=this.startNodeAt(P,g);V.object=M,V.property=this.jsx_parseIdentifier(),M=this.finishNode(V,"JSXMemberExpression")}return M}jsx_parseAttributeValue(){switch(this.type){case m.braceL:let P=this.jsx_parseExpressionContainer();return P.expression.type==="JSXEmptyExpression"&&this.raise(P.start,"JSX attributes must only be assigned a non-empty expression"),P;case d.jsxTagStart:case m.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let P=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(P,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let P=this.startNode();return this.next(),P.expression=this.type===m.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(m.braceR),this.finishNode(P,"JSXExpressionContainer")}jsx_parseAttribute(){let P=this.startNode();return this.eat(m.braceL)?(this.expect(m.ellipsis),P.argument=this.parseMaybeAssign(),this.expect(m.braceR),this.finishNode(P,"JSXSpreadAttribute")):(P.name=this.jsx_parseNamespacedName(),P.value=this.eat(m.eq)?this.jsx_parseAttributeValue():null,this.finishNode(P,"JSXAttribute"))}jsx_parseOpeningElementAt(P,g){let M=this.startNodeAt(P,g);M.attributes=[];let V=this.jsx_parseElementName();for(V&&(M.name=V);this.type!==m.slash&&this.type!==d.jsxTagEnd;)M.attributes.push(this.jsx_parseAttribute());return M.selfClosing=this.eat(m.slash),this.expect(d.jsxTagEnd),this.finishNode(M,V?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(P,g){let M=this.startNodeAt(P,g),V=this.jsx_parseElementName();return V&&(M.name=V),this.expect(d.jsxTagEnd),this.finishNode(M,V?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(P,g){let M=this.startNodeAt(P,g),V=[],U=this.jsx_parseOpeningElementAt(P,g),j=null;if(!U.selfClosing){e:for(;;)switch(this.type){case d.jsxTagStart:if(P=this.start,g=this.startLoc,this.next(),this.eat(m.slash)){j=this.jsx_parseClosingElementAt(P,g);break e}V.push(this.jsx_parseElementAt(P,g));break;case d.jsxText:V.push(this.parseExprAtom());break;case m.braceL:V.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(j.name)!==s(U.name)&&this.raise(j.start,"Expected corresponding JSX closing tag for <"+s(U.name)+">")}let J=U.name?"Element":"Fragment";return M["opening"+J]=U,M["closing"+J]=j,M.children=V,this.type===m.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(M,"JSX"+J)}jsx_parseText(){let P=this.parseLiteral(this.value);return P.type="JSXText",P}jsx_parseElement(){let P=this.start,g=this.startLoc;return this.next(),this.jsx_parseElementAt(P,g)}parseExprAtom(P){return this.type===d.jsxText?this.jsx_parseText():this.type===d.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(P)}readToken(P){let g=this.curContext();if(g===S)return this.jsx_readToken();if(g===k||g===_){if(N(P))return this.jsx_readWord();if(P==62)return++this.pos,this.finishToken(d.jsxTagEnd);if((P===34||P===39)&&g==k)return this.jsx_readString(P)}return P===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(d.jsxTagStart)):super.readToken(P)}updateContext(P){if(this.type==m.braceL){var g=this.curContext();g==k?this.context.push(b.b_expr):g==S?this.context.push(b.b_tmpl):super.updateContext(P),this.exprAllowed=!0}else if(this.type===m.slash&&P===d.jsxTagStart)this.context.length-=2,this.context.push(_),this.exprAllowed=!1;else return super.updateContext(P)}}}})(zs)),zs.exports}var H1=q1();const Mh=fl(H1),{stringify:U1}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");const aa={"||":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},gr=17,$1={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:gr,ClassExpression:gr,FunctionExpression:gr,ObjectExpression:gr,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Ln(e,t){const{generator:r}=e;if(e.write("("),t!=null&&t.length>0){r[t[0].type](t[0],e);const{length:n}=t;for(let i=1;i<n;i++){const a=t[i];e.write(", "),r[a.type](a,e)}}e.write(")")}function Ph(e,t,r,n){const i=e.expressionsPrecedence[t.type];if(i===gr)return!0;const a=e.expressionsPrecedence[r.type];return i!==a?!n&&i===15&&a===14&&r.operator==="**"||i<a:i!==13&&i!==14?!1:t.operator==="**"&&r.operator==="**"?!n:i===13&&a===13&&(t.operator==="??"||r.operator==="??")?!0:n?aa[t.operator]<=aa[r.operator]:aa[t.operator]<aa[r.operator]}function sa(e,t,r,n){const{generator:i}=e;Ph(e,t,r,n)?(e.write("("),i[t.type](t,e),e.write(")")):i[t.type](t,e)}function G1(e,t,r,n){const i=t.split(`
|
|
14
|
+
`),a=i.length-1;if(e.write(i[0].trim()),a>0){e.write(n);for(let s=1;s<a;s++)e.write(r+i[s].trim()+n);e.write(r+i[a].trim())}}function Nt(e,t,r,n){const{length:i}=t;for(let a=0;a<i;a++){const s=t[a];e.write(r),s.type[0]==="L"?e.write("// "+s.value.trim()+`
|
|
15
|
+
`,s):(e.write("/*"),G1(e,s.value,r,n),e.write("*/"+n))}}function J1(e){let t=e;for(;t!=null;){const{type:r}=t;if(r[0]==="C"&&r[1]==="a")return!0;if(r[0]==="M"&&r[1]==="e"&&r[2]==="m")t=t.object;else return!1}}function Vs(e,t){const{generator:r}=e,{declarations:n}=t;e.write(t.kind+" ");const{length:i}=n;if(i>0){r.VariableDeclarator(n[0],e);for(let a=1;a<i;a++)e.write(", "),r.VariableDeclarator(n[a],e)}}let i0,a0,s0,o0,l0,u0;const Bh={Program(e,t){const r=t.indent.repeat(t.indentLevel),{lineEnd:n,writeComments:i}=t;i&&e.comments!=null&&Nt(t,e.comments,r,n);const a=e.body,{length:s}=a;for(let l=0;l<s;l++){const u=a[l];i&&u.comments!=null&&Nt(t,u.comments,r,n),t.write(r),this[u.type](u,t),t.write(n)}i&&e.trailingComments!=null&&Nt(t,e.trailingComments,r,n)},BlockStatement:u0=function(e,t){const r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t,a=r+t.indent;t.write("{");const s=e.body;if(s!=null&&s.length>0){t.write(n),i&&e.comments!=null&&Nt(t,e.comments,a,n);const{length:l}=s;for(let u=0;u<l;u++){const c=s[u];i&&c.comments!=null&&Nt(t,c.comments,a,n),t.write(a),this[c.type](c,t),t.write(n)}t.write(r)}else i&&e.comments!=null&&(t.write(n),Nt(t,e.comments,a,n),t.write(r));i&&e.trailingComments!=null&&Nt(t,e.trailingComments,a,n),t.write("}"),t.indentLevel--},ClassBody:u0,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){const r=t.expressionsPrecedence[e.expression.type];r===gr||r===3&&e.expression.left.type[0]==="O"?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),e.alternate!=null&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),e.label!=null&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){const r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t;t.indentLevel++;const a=r+t.indent,s=a+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+n);const{cases:l}=e,{length:u}=l;for(let c=0;c<u;c++){const p=l[c];i&&p.comments!=null&&Nt(t,p.comments,a,n),p.test?(t.write(a+"case "),this[p.test.type](p.test,t),t.write(":"+n)):t.write(a+"default:"+n);const{consequent:h}=p,{length:m}=h;for(let d=0;d<m;d++){const b=h[d];i&&b.comments!=null&&Nt(t,b.comments,s,n),t.write(s),this[b.type](b,t),t.write(n)}}t.indentLevel-=2,t.write(r+"}")},ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){const{handler:r}=e;r.param==null?t.write(" catch "):(t.write(" catch ("),this[r.param.type](r.param,t),t.write(") ")),this[r.body.type](r.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),e.init!=null){const{init:r}=e;r.type[0]==="V"?Vs(t,r):this[r.type](r,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:i0=function(e,t){t.write(`for ${e.await?"await ":""}(`);const{left:r}=e;r.type[0]==="V"?Vs(t,r):this[r.type](r,t),t.write(e.type[3]==="I"?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:i0,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:a0=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),Ln(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:a0,VariableDeclaration(e,t){Vs(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),e.init!=null&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");const{superClass:r}=e,{type:n}=r,i=t.expressionsPrecedence[n];(n[0]!=="C"||n[1]!=="l"||n[5]!=="E")&&(i===gr||i<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");const{specifiers:r,attributes:n}=e,{length:i}=r;let a=0;if(i>0){for(;a<i;){a>0&&t.write(", ");const s=r[a],l=s.type[6];if(l==="D")t.write(s.local.name,s),a++;else if(l==="N")t.write("* as "+s.local.name,s),a++;else break}if(a<i){for(t.write("{");;){const s=r[a],{name:l}=s.imported;if(t.write(l,s),l!==s.local.name&&t.write(" as "+s.local.name),++a<i)t.write(", ");else break}t.write("}")}t.write(" from ")}if(this.Literal(e.source,t),n&&n.length>0){t.write(" with { ");for(let s=0;s<n.length;s++)this.ImportAttribute(n[s],t),s<n.length-1&&t.write(", ");t.write(" }")}t.write(";")},ImportAttribute(e,t){this.Identifier(e.key,t),t.write(": "),this.Literal(e.value,t)},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),t.expressionsPrecedence[e.declaration.type]!=null&&e.declaration.type[0]!=="F"&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");const{specifiers:r}=e,{length:n}=r;if(n>0)for(let i=0;;){const a=r[i],{name:s}=a.local;if(t.write(s,a),s!==a.exported.name&&t.write(" as "+a.exported.name),++i<n)t.write(", ");else break}if(t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let i=0;i<e.attributes.length;i++)this.ImportAttribute(e.attributes[i],t),i<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")}},ExportAllDeclaration(e,t){if(e.exported!=null?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let r=0;r<e.attributes.length;r++)this.ImportAttribute(e.attributes[r],t),r<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");const r=e.kind[0];(r==="g"||r==="s")&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),Ln(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);const{params:r}=e;r!=null&&(r.length===1&&r[0].type[0]==="I"?t.write(r[0].name,r[0]):Ln(t,e.params)),t.write(" => "),e.body.type[0]==="O"?(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:s0=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:s0,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),sa(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:r,expressions:n}=e;t.write("`");const{length:i}=n;for(let s=0;s<i;s++){const l=n[s],u=r[s];t.write(u.value.raw,u),t.write("${"),this[l.type](l,t),t.write("}")}const a=r[r.length-1];t.write(a.value.raw,a),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){sa(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:l0=function(e,t){if(t.write("["),e.elements.length>0){const{elements:r}=e,{length:n}=r;for(let i=0;;){const a=r[i];if(a!=null&&this[a.type](a,t),++i<n)t.write(", ");else{a==null&&t.write(", ");break}}}t.write("]")},ArrayPattern:l0,ObjectExpression(e,t){const r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t,a=r+t.indent;if(t.write("{"),e.properties.length>0){t.write(n),i&&e.comments!=null&&Nt(t,e.comments,a,n);const s=","+n,{properties:l}=e,{length:u}=l;for(let c=0;;){const p=l[c];if(i&&p.comments!=null&&Nt(t,p.comments,a,n),t.write(a),this[p.type](p,t),++c<u)t.write(s);else break}t.write(n),i&&e.trailingComments!=null&&Nt(t,e.trailingComments,a,n),t.write(r+"}")}else i?e.comments!=null?(t.write(n),Nt(t,e.comments,a,n),e.trailingComments!=null&&Nt(t,e.trailingComments,a,n),t.write(r+"}")):e.trailingComments!=null?(t.write(n),Nt(t,e.trailingComments,a,n),t.write(r+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||e.kind[0]!=="i"?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),e.value==null){e.key.type[0]!=="F"&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){const{properties:r}=e,{length:n}=r;for(let i=0;this[r[i].type](r[i],t),++i<n;)t.write(", ")}t.write("}")},SequenceExpression(e,t){Ln(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){const{operator:r,argument:n,argument:{type:i}}=e;t.write(r);const a=Ph(t,n,e);!a&&(r.length>1||i[0]==="U"&&(i[1]==="n"||i[1]==="p")&&n.prefix&&n.operator[0]===r&&(r==="+"||r==="-"))&&t.write(" "),a?(t.write(r.length>1?" (":"("),this[i](n,t),t.write(")")):this[i](n,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:o0=function(e,t){const r=e.operator==="in";r&&t.write("("),sa(t,e.left,e,!1),t.write(" "+e.operator+" "),sa(t,e.right,e,!0),r&&t.write(")")},LogicalExpression:o0,ConditionalExpression(e,t){const{test:r}=e,n=t.expressionsPrecedence[r.type];n===gr||n<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[r.type](r,t),t.write(")")):this[r.type](r,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 ");const r=t.expressionsPrecedence[e.callee.type];r===gr||r<t.expressionsPrecedence.CallExpression||J1(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),Ln(t,e.arguments)},CallExpression(e,t){const r=t.expressionsPrecedence[e.callee.type];r===gr||r<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),Ln(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){const r=t.expressionsPrecedence[e.object.type];r===gr||r<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){e.raw!=null?t.write(e.raw,e):e.regex!=null?this.RegExpLiteral(e,t):e.bigint!=null?t.write(e.bigint+"n",e):t.write(U1(e.value),e)},RegExpLiteral(e,t){const{regex:r}=e;t.write(`/${r.pattern}/${r.flags}`,e)}},W1={};class X1{constructor(t){const r=t??W1;this.output="",r.output!=null?(this.output=r.output,this.write=this.writeToStream):this.output="",this.generator=r.generator!=null?r.generator:Bh,this.expressionsPrecedence=r.expressionsPrecedence!=null?r.expressionsPrecedence:$1,this.indent=r.indent!=null?r.indent:" ",this.lineEnd=r.lineEnd!=null?r.lineEnd:`
|
|
16
|
+
`,this.indentLevel=r.startingIndentLevel!=null?r.startingIndentLevel:0,this.writeComments=r.comments?r.comments:!1,r.sourceMap!=null&&(this.write=r.output==null?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=r.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split(`
|
|
17
|
+
`).length-1,this.mapping={original:null,generated:this,name:void 0,source:r.sourceMap.file||r.sourceMap._file})}write(t){this.output+=t}writeToStream(t){this.output.write(t)}writeAndMap(t,r){this.output+=t,this.map(t,r)}writeToStreamAndMap(t,r){this.output.write(t),this.map(t,r)}map(t,r){if(r!=null){const{type:a}=r;if(a[0]==="L"&&a[2]==="n"){this.column=0,this.line++;return}if(r.loc!=null){const{mapping:s}=this;s.original=r.loc.start,s.name=r.name,this.sourceMap.addMapping(s)}if(a[0]==="T"&&a[8]==="E"||a[0]==="L"&&a[1]==="i"&&typeof r.value=="string"){const{length:s}=t;let{column:l,line:u}=this;for(let c=0;c<s;c++)t[c]===`
|
|
18
|
+
`?(l=0,u++):l++;this.column=l,this.line=u;return}}const{length:n}=t,{lineEnd:i}=this;n>0&&(this.lineEndSize>0&&(i.length===1?t[n-1]===i:t.endsWith(i))?(this.line+=this.lineEndSize,this.column=0):this.column+=n)}toString(){return this.output}}function Y1(e,t){const r=new X1(t);return r.generator[e.type](e,r),r.output}const K1={};function Q1(e,t){const{SourceMapGenerator:r,filePath:n,handlers:i}=t||K1,a=r?new r({file:n||"<unknown>.js"}):void 0,s=Y1(e,{comments:!0,generator:{...Bh,...i},sourceMap:a||void 0}),l=a?a.toJSON():void 0;return{value:s,map:l}}const Z1={JSXAttribute:eg,JSXClosingElement:tg,JSXClosingFragment:rg,JSXElement:ng,JSXEmptyExpression:ig,JSXExpressionContainer:ag,JSXFragment:sg,JSXIdentifier:og,JSXMemberExpression:lg,JSXNamespacedName:ug,JSXOpeningElement:cg,JSXOpeningFragment:hg,JSXSpreadAttribute:pg,JSXText:fg};function eg(e,t){this[e.name.type](e.name,t),e.value!==null&&e.value!==void 0&&(t.write("="),e.value.type==="Literal"?t.write('"'+Lh(String(e.value.value)).replace(/"/g,""")+'"',e):this[e.value.type](e.value,t))}function tg(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")}function rg(e,t){t.write("</>",e)}function ng(e,t){let r=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++r<e.children.length;){const n=e.children[r];if(n.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[n.type](n,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)}function ig(){}function ag(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")}function sg(e,t){let r=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++r<e.children.length;){const n=e.children[r];if(n.type==="JSXSpreadChild")throw new Error("JSX spread children are not supported");this[n.type](n,t)}this[e.closingFragment.type](e.closingFragment,t)}function og(e,t){t.write(e.name,e)}function lg(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)}function ug(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)}function cg(e,t){let r=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++r<e.attributes.length;)t.write(" "),this[e.attributes[r].type](e.attributes[r],t);t.write(e.selfClosing?" />":">")}function hg(e,t){t.write("<>",e)}function pg(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")}function fg(e,t){t.write(Lh(e.value).replace(/[<>{}]/g,dg),e)}function Lh(e){return e.replace(/&(?=[#a-z])/gi,"&")}function dg(e){return e==="<"?"<":e===">"?">":e==="{"?"{":"}"}function mg(){const e=this.data(),t=e.settings||(e.settings={}),r=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(Mh()),Object.assign(r,Z1)}function gg(e){const t=this;this.compiler=r;function r(n,i){const a={...t.data("settings"),...e},s=Q1(n,{SourceMapGenerator:a.SourceMapGenerator,filePath:i.path||"unknown.js",handlers:a.handlers});return i.map=s.map,s.value}}function xg(e,t){const r={type:"Block",value:e.value};t.inherit(e,r),t.comments.push(r);const n={type:"JSXEmptyExpression",comments:[Object.assign({},r,{leading:!1,trailing:!0})]};t.patch(e,n);const i={type:"JSXExpressionContainer",expression:n};return t.patch(e,i),i}function c0(e){const t=[],r=String(e||"");let n=r.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=r.length,a=!0);const s=r.slice(i,n).trim();(s||!a)&&t.push(s),i=n+1,n=r.indexOf(",",i)}return t}function Rh(e,t){const r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}class $i{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}$i.prototype.normal={};$i.prototype.property={};$i.prototype.space=void 0;function Dh(e,t){const r={},n={};for(const i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new $i(r,n,t)}function Ti(e){return e.toLowerCase()}let qt=class{constructor(t,r){this.attribute=r,this.property=t}};qt.prototype.attribute="";qt.prototype.booleanish=!1;qt.prototype.boolean=!1;qt.prototype.commaOrSpaceSeparated=!1;qt.prototype.commaSeparated=!1;qt.prototype.defined=!1;qt.prototype.mustUseProperty=!1;qt.prototype.number=!1;qt.prototype.overloadedBoolean=!1;qt.prototype.property="";qt.prototype.spaceSeparated=!1;qt.prototype.space=void 0;let yg=0;const Ee=_n(),ot=_n(),Ro=_n(),ie=_n(),Ge=_n(),Hn=_n(),$t=_n();function _n(){return 2**++yg}const Do=Object.freeze(Object.defineProperty({__proto__:null,boolean:Ee,booleanish:ot,commaOrSpaceSeparated:$t,commaSeparated:Hn,number:ie,overloadedBoolean:Ro,spaceSeparated:Ge},Symbol.toStringTag,{value:"Module"})),js=Object.keys(Do);class dl extends qt{constructor(t,r,n,i){let a=-1;if(super(t,r),h0(this,"space",i),typeof n=="number")for(;++a<js.length;){const s=js[a];h0(this,js[a],(n&Do[s])===Do[s])}}}dl.prototype.defined=!0;function h0(e,t,r){r&&(e[t]=r)}function Kn(e){const t={},r={};for(const[n,i]of Object.entries(e.properties)){const a=new dl(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[Ti(n)]=n,r[Ti(a.attribute)]=n}return new $i(t,r,e.space)}const Fh=Kn({properties:{ariaActiveDescendant:null,ariaAtomic:ot,ariaAutoComplete:null,ariaBusy:ot,ariaChecked:ot,ariaColCount:ie,ariaColIndex:ie,ariaColSpan:ie,ariaControls:Ge,ariaCurrent:null,ariaDescribedBy:Ge,ariaDetails:null,ariaDisabled:ot,ariaDropEffect:Ge,ariaErrorMessage:null,ariaExpanded:ot,ariaFlowTo:Ge,ariaGrabbed:ot,ariaHasPopup:null,ariaHidden:ot,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ge,ariaLevel:ie,ariaLive:null,ariaModal:ot,ariaMultiLine:ot,ariaMultiSelectable:ot,ariaOrientation:null,ariaOwns:Ge,ariaPlaceholder:null,ariaPosInSet:ie,ariaPressed:ot,ariaReadOnly:ot,ariaRelevant:null,ariaRequired:ot,ariaRoleDescription:Ge,ariaRowCount:ie,ariaRowIndex:ie,ariaRowSpan:ie,ariaSelected:ot,ariaSetSize:ie,ariaSort:null,ariaValueMax:ie,ariaValueMin:ie,ariaValueNow:ie,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function zh(e,t){return t in e?e[t]:t}function Oh(e,t){return zh(e,t.toLowerCase())}const vg=Kn({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hn,acceptCharset:Ge,accessKey:Ge,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:Ge,autoFocus:Ee,autoPlay:Ee,blocking:Ge,capture:null,charSet:null,checked:Ee,cite:null,className:Ge,cols:ie,colSpan:null,content:null,contentEditable:ot,controls:Ee,controlsList:Ge,coords:ie|Hn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:Ro,draggable:ot,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:Ge,height:ie,hidden:Ro,high:ie,href:null,hrefLang:null,htmlFor:Ge,httpEquiv:Ge,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:Ge,itemRef:Ge,itemScope:Ee,itemType:Ge,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:ie,manifest:null,max:null,maxLength:ie,media:null,method:null,min:null,minLength:ie,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,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:Ee,optimum:ie,pattern:null,ping:Ge,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:Ge,required:Ee,reversed:Ee,rows:ie,rowSpan:ie,sandbox:Ge,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootClonable:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:ie,sizes:null,slot:null,span:ie,spellCheck:ot,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ie,step:null,style:null,tabIndex:ie,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:ot,width:ie,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ge,axis:null,background:null,bgColor:null,border:ie,borderColor:null,bottomMargin:ie,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:ie,leftMargin:ie,link:null,longDesc:null,lowSrc:null,marginHeight:ie,marginWidth:ie,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:ie,rules:null,scheme:null,scrolling:ot,standby:null,summary:null,text:null,topMargin:ie,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ie,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:ie,security:null,unselectable:null},space:"html",transform:Oh}),bg=Kn({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:$t,accentHeight:ie,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ie,amplitude:ie,arabicForm:null,ascent:ie,attributeName:null,attributeType:null,azimuth:ie,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ie,by:null,calcMode:null,capHeight:ie,className:Ge,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:ie,diffuseConstant:ie,direction:null,display:null,dur:null,divisor:ie,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:ie,enableBackground:null,end:null,event:null,exponent:ie,externalResourcesRequired:null,fill:null,fillOpacity:ie,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:Hn,g2:Hn,glyphName:Hn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ie,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ie,horizOriginX:ie,horizOriginY:ie,id:null,ideographic:ie,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ie,k:ie,k1:ie,k2:ie,k3:ie,k4:ie,kernelMatrix:$t,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ie,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:ie,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:ie,overlineThickness:ie,paintOrder:null,panose1:null,path:null,pathLength:ie,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ge,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ie,pointsAtY:ie,pointsAtZ:ie,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$t,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$t,rev:$t,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$t,requiredFeatures:$t,requiredFonts:$t,requiredFormats:$t,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:ie,specularExponent:ie,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ie,strikethroughThickness:ie,string:null,stroke:null,strokeDashArray:$t,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ie,strokeOpacity:ie,strokeWidth:null,style:null,surfaceScale:ie,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$t,tabIndex:ie,tableValues:null,target:null,targetX:ie,targetY:ie,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$t,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ie,underlineThickness:ie,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ie,values:null,vAlphabetic:ie,vMathematical:ie,vectorEffect:null,vHanging:ie,vIdeographic:ie,version:null,vertAdvY:ie,vertOriginX:ie,vertOriginY:ie,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ie,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zh}),Vh=Kn({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),jh=Kn({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Oh}),qh=Kn({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),wg={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"},kg=/[A-Z]/g,p0=/-[a-z]/g,Sg=/^data[-\w.:]+$/i;function ml(e,t){const r=Ti(t);let n=t,i=qt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Sg.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(p0,Eg);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!p0.test(a)){let s=a.replace(kg,Cg);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=dl}return new i(n,t)}function Cg(e){return"-"+e.toLowerCase()}function Eg(e){return e.charAt(1).toUpperCase()}const gl=Dh([Fh,vg,Vh,jh,qh],"html"),Qn=Dh([Fh,bg,Vh,jh,qh],"svg");function f0(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Hh(e){return e.join(" ").trim()}var Rn={},qs,d0;function _g(){if(d0)return qs;d0=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u=`
|
|
19
|
+
`,c="/",p="*",h="",m="comment",d="declaration";function b(_,S){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];S=S||{};var A=1,N=1;function F(Q){var Z=Q.match(t);Z&&(A+=Z.length);var me=Q.lastIndexOf(u);N=~me?Q.length-me:N+Q.length}function P(){var Q={line:A,column:N};return function(Z){return Z.position=new g(Q),U(),Z}}function g(Q){this.start=Q,this.end={line:A,column:N},this.source=S.source}g.prototype.content=_;function M(Q){var Z=new Error(S.source+":"+A+":"+N+": "+Q);if(Z.reason=Q,Z.filename=S.source,Z.line=A,Z.column=N,Z.source=_,!S.silent)throw Z}function V(Q){var Z=Q.exec(_);if(Z){var me=Z[0];return F(me),_=_.slice(me.length),Z}}function U(){V(r)}function j(Q){var Z;for(Q=Q||[];Z=J();)Z!==!1&&Q.push(Z);return Q}function J(){var Q=P();if(!(c!=_.charAt(0)||p!=_.charAt(1))){for(var Z=2;h!=_.charAt(Z)&&(p!=_.charAt(Z)||c!=_.charAt(Z+1));)++Z;if(Z+=2,h===_.charAt(Z-1))return M("End of comment missing");var me=_.slice(2,Z-2);return N+=2,F(me),_=_.slice(Z),N+=2,Q({type:m,comment:me})}}function W(){var Q=P(),Z=V(n);if(Z){if(J(),!V(i))return M("property missing ':'");var me=V(a),xe=Q({type:d,property:k(Z[0].replace(e,h)),value:me?k(me[0].replace(e,h)):h});return V(s),xe}}function ae(){var Q=[];j(Q);for(var Z;Z=W();)Z!==!1&&(Q.push(Z),j(Q));return Q}return U(),ae()}function k(_){return _?_.replace(l,h):h}return qs=b,qs}var m0;function Ag(){if(m0)return Rn;m0=1;var e=Rn&&Rn.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.default=r;const t=e(_g());function r(n,i){let a=null;if(!n||typeof n!="string")return a;const s=(0,t.default)(n),l=typeof i=="function";return s.forEach(u=>{if(u.type!=="declaration")return;const{property:c,value:p}=u;l?i(c,p,u):p&&(a=a||{},a[c]=p)}),a}return Rn}var fi={},g0;function Tg(){if(g0)return fi;g0=1,Object.defineProperty(fi,"__esModule",{value:!0}),fi.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(c){return!c||r.test(c)||e.test(c)},s=function(c,p){return p.toUpperCase()},l=function(c,p){return"".concat(p,"-")},u=function(c,p){return p===void 0&&(p={}),a(c)?c:(c=c.toLowerCase(),p.reactCompat?c=c.replace(i,l):c=c.replace(n,l),c.replace(t,s))};return fi.camelCase=u,fi}var di,x0;function Ig(){if(x0)return di;x0=1;var e=di&&di.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(Ag()),r=Tg();function n(i,a){var s={};return!i||typeof i!="string"||(0,t.default)(i,function(l,u){l&&u&&(s[(0,r.camelCase)(l,a)]=u)}),s}return n.default=n,di=n,di}var Ng=Ig();const Mg=fl(Ng),Fo={}.hasOwnProperty,Pg=/[A-Z]/g,Bg=new Set(["td","th"]);function Lg(e,t){const r=t.schema;let n=r;const i=e.properties||{};r.space==="html"&&e.tagName.toLowerCase()==="svg"&&(n=Qn,t.schema=n);const a=t.all(e),s=[];let l,u,c;for(l in i)if(Fo.call(i,l)){let h=i[l];const m=ml(n,l);let d;if(h==null||h===!1||typeof h=="number"&&Number.isNaN(h)||!h&&m.boolean)continue;if(l=t.elementAttributeNameCase==="react"&&m.space?wg[m.property]||m.property:m.attribute,Array.isArray(h)&&(h=m.commaSeparated?Rh(h):Hh(h)),l==="style"){let b=typeof h=="object"?h:Rg(String(h),e.tagName);t.stylePropertyNameCase==="css"&&(b=Dg(b));const k=[];let _;for(_ in b)Fo.call(b,_)&&k.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:Ir(_)?{type:"Identifier",name:_}:{type:"Literal",value:_},value:{type:"Literal",value:String(b[_])},kind:"init"});c=k,d={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:k}}}else if(h===!0)d=null;else if(t.tableCellAlignToStyle&&Bg.has(e.tagName)&&l==="align"){u=String(h);continue}else d={type:"Literal",value:String(h)};Ir(l,{jsx:!0})?s.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:l},value:d}):s.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(l)},value:d||{type:"Literal",value:!0},kind:"init"}]}})}if(u!==void 0){c||(c=[],s.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:"style"},value:{type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:c}}}));const h=t.stylePropertyNameCase==="css"?Uh("textAlign"):"textAlign";c.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:Ir(h)?{type:"Identifier",name:h}:{type:"Literal",value:h},value:{type:"Literal",value:u},kind:"init"})}t.schema=r;const p={type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:s,name:t.createJsxElementName(e.tagName),selfClosing:a.length===0},closingElement:a.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.tagName)}:null,children:a};return t.inherit(e,p),p}function Rg(e,t){try{return Mg(e,{reactCompat:!0})}catch(r){const n=r;throw new Error("Could not parse `style` attribute on `"+t+"`",{cause:n})}}function Dg(e){const t={};let r;for(r in e)Fo.call(e,r)&&(t[Uh(r)]=e[r]);return t}function Uh(e){let t=e.replace(Pg,Fg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Fg(e){return"-"+e.toLowerCase()}const zg={}.hasOwnProperty,Og=[];function Ba(e,t){const r=t?[...t].sort(xl):Og;r.length>0&&$h(e,{comments:r,index:0})}function $h(e,t){if(t.index===t.comments.length)return;const r=[],n=[];let i;for(i in e)if(zg.call(e,i)){const s=e[i];if(s&&typeof s=="object"&&i!=="comments")if(Array.isArray(s)){let l=-1;for(;++l<s.length;)s[l]&&typeof s[l].type=="string"&&r.push(s[l])}else typeof s.type=="string"&&r.push(s)}r.sort(xl),n.push(...y0(t,e,!1,{leading:!0,trailing:!1}));let a=-1;for(;++a<r.length;)$h(r[a],t);n.push(...y0(t,e,!0,{leading:!1,trailing:r.length>0})),n.length>0&&(e.comments=n)}function y0(e,t,r,n){const i=[];for(;e.comments[e.index]&&xl(e.comments[e.index],t,r)<1;)i.push(Object.assign({},e.comments[e.index++],n));return i}function xl(e,t,r){const n=r?"end":"start";return e.range&&t.range?e.range[0]-t.range[r?1:0]:e.loc&&e.loc.start&&t.loc&&t.loc[n]?e.loc.start.line-t.loc[n].line||e.loc.start.column-t.loc[n].column:"start"in e&&n in t?e.start-t[n]:Number.NaN}function v0(e,t){const r=e.data&&e.data.estree,n=r&&r.comments||[];let i;r&&(t.comments.push(...n),Ba(r,r.comments),i=r.body[0]&&r.body[0].type==="ExpressionStatement"&&r.body[0].expression||void 0),i||(i={type:"JSXEmptyExpression"},t.patch(e,i));const a={type:"JSXExpressionContainer",expression:i};return t.inherit(e,a),a}function b0(e,t){const r=t.schema;let n=r;const i=e.attributes||[];let a=-1;e.name&&r.space==="html"&&e.name.toLowerCase()==="svg"&&(n=Qn,t.schema=n);const s=t.all(e),l=[];for(;++a<i.length;){const c=i[a],p=c.value;let h;if(c.type==="mdxJsxAttribute"){if(p==null)h=null;else if(typeof p=="object"){const d=p.data&&p.data.estree,b=d&&d.comments||[];let k;d&&(t.comments.push(...b),Ba(d,d.comments),k=d.body[0]&&d.body[0].type==="ExpressionStatement"&&d.body[0].expression||void 0),h={type:"JSXExpressionContainer",expression:k||{type:"JSXEmptyExpression"}},t.inherit(p,h)}else h={type:"Literal",value:String(p)};const m={type:"JSXAttribute",name:t.createJsxAttributeName(c.name),value:h};t.inherit(c,m),l.push(m)}else{const m=c.data&&c.data.estree,d=m&&m.comments||[];let b;m&&(t.comments.push(...d),Ba(m,m.comments),b=m.body[0]&&m.body[0].type==="ExpressionStatement"&&m.body[0].expression&&m.body[0].expression.type==="ObjectExpression"&&m.body[0].expression.properties&&m.body[0].expression.properties[0]&&m.body[0].expression.properties[0].type==="SpreadElement"&&m.body[0].expression.properties[0].argument||void 0);const k={type:"JSXSpreadAttribute",argument:b||{type:"ObjectExpression",properties:[]}};t.inherit(c,k),l.push(k)}}t.schema=r;const u=e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:l,name:t.createJsxElementName(e.name),selfClosing:s.length===0},closingElement:s.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.name)}:null,children:s}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:s};return t.inherit(e,u),u}function Vg(e,t){const r=e.data&&e.data.estree,n=r&&r.comments||[];r&&(t.comments.push(...n),Ba(r,n),t.esm.push(...r.body))}const jg=/[ \t\n\f\r]/g;function ss(e){return typeof e=="object"?e.type==="text"?w0(e.value):!1:w0(e)}function w0(e){return e.replace(jg,"")===""}function qg(e,t){const r=t.all(e),n=[];let i=-1,a;for(;++i<r.length;){const l=r[i];l.type==="JSXExpressionContainer"&&l.expression.type==="Literal"&&ss(String(l.expression.value))?a&&a.push(l):(a&&n.push(...a),n.push(l),a=[])}const s={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:n};return t.inherit(e,s),s}function Hg(e,t){const r=String(e.value||"");if(r){const n={type:"Literal",value:r};t.inherit(e,n);const i={type:"JSXExpressionContainer",expression:n};return t.patch(e,i),i}}const Ug={comment:xg,doctype:$g,element:Lg,mdxFlowExpression:v0,mdxJsxFlowElement:b0,mdxJsxTextElement:b0,mdxTextExpression:v0,mdxjsEsm:Vg,root:qg,text:Hg};function $g(){}const Gh=Wh("end"),Jh=Wh("start");function Wh(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Xh(e){const t=Jh(e),r=Gh(e);if(t&&r)return{start:t,end:r}}const k0={}.hasOwnProperty;function Yh(e,t){const r=t||{};function n(i,...a){let s=n.invalid;const l=n.handlers;if(i&&k0.call(i,e)){const u=String(i[e]);s=k0.call(l,u)?l[u]:n.unknown}if(s)return s.call(this,i,...a)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const Gg={}.hasOwnProperty,Jg=new Set(["table","tbody","thead","tfoot","tr"]);function Wg(e){const t=Yh("type",{invalid:Xg,unknown:Yg,handlers:{...Ug,...e.handlers}});return{elementAttributeNameCase:e.elementAttributeNameCase||"react",schema:e.space==="svg"?Qn:gl,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:e.tableCellAlignToStyle!==!1,comments:[],esm:[],all:Kg,createJsxAttributeName:Zg,createJsxElementName:e2,handle:r,inherit:Qg,patch:Kh};function r(n){return t(n,this)}}function Xg(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function Yg(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}function Kg(e){const t=e.children||[];let r=-1;const n=[],i=this.schema.space==="html"&&e.type==="element"&&Jg.has(e.tagName.toLowerCase());for(;++r<t.length;){const a=t[r];if(i&&a.type==="text"&&a.value===`
|
|
20
|
+
`)continue;const s=this.handle(a);Array.isArray(s)?n.push(...s):s&&n.push(s)}return n}function Qg(e,t){const r=e.data;let n,i;if(Kh(e,t),r){for(i in r)Gg.call(r,i)&&i!=="estree"&&(n||(n={}),n[i]=r[i]);n&&(t.data=n)}}function Kh(e,t){const r=Xh(e);r&&r.start.offset!==void 0&&r.end.offset!==void 0&&(t.start=r.start.offset,t.end=r.end.offset,t.loc={start:{line:r.start.line,column:r.start.column-1},end:{line:r.end.line,column:r.end.column-1}},t.range=[r.start.offset,r.end.offset])}function Zg(e){const t=Qh(e);if(t.type==="JSXMemberExpression")throw new Error("Member expressions in attribute names are not supported");return t}function e2(e){return Qh(e)}function Qh(e){if(e.includes(".")){const t=e.split(".");let r=t.shift(),n={type:"JSXIdentifier",name:r};for(;r=t.shift();)n={type:"JSXMemberExpression",object:n,property:{type:"JSXIdentifier",name:r}};return n}if(e.includes(":")){const t=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:t[0]},name:{type:"JSXIdentifier",name:t[1]}}}return{type:"JSXIdentifier",name:e}}function t2(e,t){const r=Wg(t||{});let n=r.handle(e);const i=r.esm;if(n){n.type!=="JSXFragment"&&n.type!=="JSXElement"&&(n={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[n]},r.patch(e,n));const s={type:"ExpressionStatement",expression:n};r.patch(e,s),i.push(s)}const a={type:"Program",body:i,sourceType:"module",comments:r.comments};return r.patch(e,a),a}function r2(e){return function(t){return t2(t,e)}}function n2(){return{enter:{mdxFlowExpression:a2,mdxTextExpression:s2},exit:{mdxFlowExpression:S0,mdxFlowExpressionChunk:C0,mdxTextExpression:S0,mdxTextExpressionChunk:C0}}}function i2(){return{handlers:{mdxFlowExpression:E0,mdxTextExpression:E0},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function a2(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function s2(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function S0(e){const t=this.resume(),r=e.estree,n=this.stack[this.stack.length-1];n.type==="mdxFlowExpression"||n.type,this.exit(e),n.value=t,r&&(n.data={estree:r})}function C0(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function E0(e,t,r){const n=e.value||"";return"{"+r.indentLines(n,function(a,s,l){return(s===0||l?"":" ")+a})+"}"}function Jn(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,i=r.indexOf(t);for(;i!==-1;)n++,i=r.indexOf(t,i+t.length);return n}const Zh=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],_0={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function ep(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function o2(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function l2(e){const t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function A0(e){return l2(e)||ep(e)}const T0=document.createElement("i");function Ii(e){const t="&"+e+";";T0.innerHTML=t;const r=T0.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}const u2=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function c2(e,t){const r=t||{},n=typeof r.additional=="string"?r.additional.charCodeAt(0):r.additional,i=[];let a=0,s=-1,l="",u,c;r.position&&("start"in r.position||"indent"in r.position?(c=r.position.indent,u=r.position.start):u=r.position);let p=(u?u.line:0)||1,h=(u?u.column:0)||1,m=b(),d;for(a--;++a<=e.length;)if(d===10&&(h=(c?c[s]:0)||1),d=e.charCodeAt(a),d===38){const S=e.charCodeAt(a+1);if(S===9||S===10||S===12||S===32||S===38||S===60||Number.isNaN(S)||n&&S===n){l+=String.fromCharCode(d),h++;continue}const A=a+1;let N=A,F=A,P;if(S===35){F=++N;const ae=e.charCodeAt(F);ae===88||ae===120?(P="hexadecimal",F=++N):P="decimal"}else P="named";let g="",M="",V="";const U=P==="named"?A0:P==="decimal"?ep:o2;for(F--;++F<=e.length;){const ae=e.charCodeAt(F);if(!U(ae))break;V+=String.fromCharCode(ae),P==="named"&&Zh.includes(V)&&(g=V,M=Ii(V))}let j=e.charCodeAt(F)===59;if(j){F++;const ae=P==="named"?Ii(V):!1;ae&&(g=V,M=ae)}let J=1+F-A,W="";if(!(!j&&r.nonTerminated===!1))if(!V)P!=="named"&&k(4,J);else if(P==="named"){if(j&&!M)k(5,1);else if(g!==V&&(F=N+g.length,J=1+F-N,j=!1),!j){const ae=g?1:3;if(r.attribute){const Q=e.charCodeAt(F);Q===61?(k(ae,J),M=""):A0(Q)?M="":k(ae,J)}else k(ae,J)}W=M}else{j||k(2,J);let ae=Number.parseInt(V,P==="hexadecimal"?16:10);if(h2(ae))k(7,J),W="�";else if(ae in _0)k(6,J),W=_0[ae];else{let Q="";p2(ae)&&k(6,J),ae>65535&&(ae-=65536,Q+=String.fromCharCode(ae>>>10|55296),ae=56320|ae&1023),W=Q+String.fromCharCode(ae)}}if(W){_(),m=b(),a=F-1,h+=F-A+1,i.push(W);const ae=b();ae.offset++,r.reference&&r.reference.call(r.referenceContext||void 0,W,{start:m,end:ae},e.slice(A-1,F)),m=ae}else V=e.slice(A-1,F),l+=V,h+=V.length,a=F-1}else d===10&&(p++,s++,h=0),Number.isNaN(d)?_():(l+=String.fromCharCode(d),h++);return i.join("");function b(){return{line:p,column:h,offset:a+((u?u.offset:0)||0)}}function k(S,A){let N;r.warning&&(N=b(),N.column+=A,N.offset+=A,r.warning.call(r.warningContext||void 0,u2[S],N,S))}function _(){l&&(i.push(l),r.text&&r.text.call(r.textContext||void 0,l,{start:m,end:b()}),l="")}}function h2(e){return e>=55296&&e<=57343||e>1114111}function p2(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}const f2=/["&'<>`]/g,d2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m2=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,g2=/[|\\{}()[\]^$+*?.]/g,I0=new WeakMap;function tp(e,t){if(e=e.replace(t.subset?x2(t.subset):f2,n),t.subset||t.escapeOnly)return e;return e.replace(d2,r).replace(m2,n);function r(i,a,s){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,s.charCodeAt(a+2),t)}function n(i,a,s){return t.format(i.charCodeAt(0),s.charCodeAt(a+1),t)}}function x2(e){let t=I0.get(e);return t||(t=y2(e),I0.set(e,t)),t}function y2(e){const t=[];let r=-1;for(;++r<e.length;)t.push(e[r].replace(g2,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const v2=/[\dA-Fa-f]/;function b2(e,t,r){const n="&#x"+e.toString(16).toUpperCase();return r&&t&&!v2.test(String.fromCharCode(t))?n:n+";"}const w2=/\d/;function k2(e,t,r){const n="&#"+String(e);return r&&t&&!w2.test(String.fromCharCode(t))?n:n+";"}const Hs={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",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:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",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:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},S2=["cent","copy","divide","gt","lt","not","para","times"],rp={}.hasOwnProperty,zo={};let oa;for(oa in Hs)rp.call(Hs,oa)&&(zo[Hs[oa]]=oa);const C2=/[^\dA-Za-z]/;function E2(e,t,r,n){const i=String.fromCharCode(e);if(rp.call(zo,i)){const a=zo[i],s="&"+a;return r&&Zh.includes(a)&&!S2.includes(a)&&(!n||t&&t!==61&&C2.test(String.fromCharCode(t)))?s:s+";"}return""}function _2(e,t,r){let n=b2(e,t,r.omitOptionalSemicolons),i;if((r.useNamedReferences||r.useShortestReferences)&&(i=E2(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!i)&&r.useShortestReferences){const a=k2(e,t,r.omitOptionalSemicolons);a.length<n.length&&(n=a)}return i&&(!r.useShortestReferences||i.length<n.length)?i:n}function A2(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Un(e,t){return tp(e,Object.assign({format:_2},t))}function T2(e,t){return tp(e,Object.assign({format:A2},t))}const np=" ";function I2(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:n,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:h,mdxJsxFlowTagExpressionAttribute:m,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:s,mdxJsxTextTag:n,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:h,mdxJsxTextTagExpressionAttribute:m,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:s},exit:{mdxJsxFlowTagClosingMarker:l,mdxJsxFlowTagNamePrimary:u,mdxJsxFlowTagNameMember:c,mdxJsxFlowTagNameLocal:p,mdxJsxFlowTagExpressionAttribute:d,mdxJsxFlowTagExpressionAttributeValue:r,mdxJsxFlowTagAttributeNamePrimary:b,mdxJsxFlowTagAttributeNameLocal:k,mdxJsxFlowTagAttributeValueLiteral:_,mdxJsxFlowTagAttributeValueLiteralValue:r,mdxJsxFlowTagAttributeValueExpression:S,mdxJsxFlowTagAttributeValueExpressionValue:r,mdxJsxFlowTagSelfClosingMarker:A,mdxJsxFlowTag:N,mdxJsxTextTagClosingMarker:l,mdxJsxTextTagNamePrimary:u,mdxJsxTextTagNameMember:c,mdxJsxTextTagNameLocal:p,mdxJsxTextTagExpressionAttribute:d,mdxJsxTextTagExpressionAttributeValue:r,mdxJsxTextTagAttributeNamePrimary:b,mdxJsxTextTagAttributeNameLocal:k,mdxJsxTextTagAttributeValueLiteral:_,mdxJsxTextTagAttributeValueLiteralValue:r,mdxJsxTextTagAttributeValueExpression:S,mdxJsxTextTagAttributeValueExpressionValue:r,mdxJsxTextTagSelfClosingMarker:A,mdxJsxTextTag:N}};function e(){this.buffer()}function t(M){return{line:M.line,column:M.column,offset:M.offset}}function r(M){this.config.enter.data.call(this,M),this.config.exit.data.call(this,M)}function n(M){const V={name:void 0,attributes:[],close:!1,selfClosing:!1,start:M.start,end:M.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=V,this.buffer()}function i(M){if(this.data.mdxJsxTagStack.length===0)throw new Oe("Unexpected closing slash `/` in tag, expected an open tag first",{start:M.start,end:M.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function a(M){if(this.data.mdxJsxTag.close)throw new Oe("Unexpected attribute in closing tag, expected the end of the tag",{start:M.start,end:M.end},"mdast-util-mdx-jsx:unexpected-attribute")}function s(M){if(this.data.mdxJsxTag.close)throw new Oe("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:M.start,end:M.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function l(){const M=this.data.mdxJsxTag;M.close=!0}function u(M){const V=this.data.mdxJsxTag;V.name=this.sliceSerialize(M)}function c(M){const V=this.data.mdxJsxTag;V.name+="."+this.sliceSerialize(M)}function p(M){const V=this.data.mdxJsxTag;V.name+=":"+this.sliceSerialize(M)}function h(M){const V=this.data.mdxJsxTag;a.call(this,M),V.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(M.start),end:void 0}})}function m(M){const V=this.data.mdxJsxTag;a.call(this,M),V.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(M.start),end:void 0}}),this.buffer()}function d(M){const V=this.data.mdxJsxTag,U=V.attributes[V.attributes.length-1];U.type;const j=M.estree;U.value=this.resume(),U.position,U.position.end=t(M.end),j&&(U.data={estree:j})}function b(M){const V=this.data.mdxJsxTag,U=V.attributes[V.attributes.length-1];U.type,U.name=this.sliceSerialize(M),U.position,U.position.end=t(M.end)}function k(M){const V=this.data.mdxJsxTag,U=V.attributes[V.attributes.length-1];U.type,U.name+=":"+this.sliceSerialize(M),U.position,U.position.end=t(M.end)}function _(M){const V=this.data.mdxJsxTag,U=V.attributes[V.attributes.length-1];U.value=c2(this.resume(),{nonTerminated:!1}),U.position,U.position.end=t(M.end)}function S(M){const V=this.data.mdxJsxTag,U=V.attributes[V.attributes.length-1];U.type;const j={type:"mdxJsxAttributeValueExpression",value:this.resume()},J=M.estree;J&&(j.data={estree:J}),U.value=j,U.position,U.position.end=t(M.end)}function A(){const M=this.data.mdxJsxTag;M.selfClosing=!0}function N(M){const V=this.data.mdxJsxTag,U=this.data.mdxJsxTagStack,j=U[U.length-1];if(V.close&&j.name!==V.name)throw new Oe("Unexpected closing tag `"+g(V)+"`, expected corresponding closing tag for `"+g(j)+"` ("+or(j)+")",{start:M.start,end:M.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),V.close?U.pop():this.enter({type:M.type==="mdxJsxTextTag"?"mdxJsxTextElement":"mdxJsxFlowElement",name:V.name||null,attributes:V.attributes,children:[]},M,F),V.selfClosing||V.close?this.exit(M,P):U.push(V)}function F(M,V){const U=this.data.mdxJsxTagStack,j=U[U.length-1],J=M?" before the end of `"+M.type+"`":"",W=M?{start:M.start,end:M.end}:void 0;throw new Oe("Expected a closing tag for `"+g(j)+"` ("+or({start:V.start,end:V.end})+")"+J,W,"mdast-util-mdx-jsx:end-tag-mismatch")}function P(M,V){const U=this.data.mdxJsxTag;throw new Oe("Expected the closing tag `"+g(U)+"` either after the end of `"+V.type+"` ("+or(V.end)+") or another opening tag after the start of `"+V.type+"` ("+or(V.start)+")",{start:M.start,end:M.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function g(M){return"<"+(M.close?"/":"")+(M.name||"")+">"}}function N2(e){const t=e||{},r=t.quote||'"',n=t.quoteSmart||!1,i=t.tightSelfClosing||!1,a=t.printWidth||Number.POSITIVE_INFINITY,s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Cannot serialize attribute values with `"+r+"` for `options.quote`, expected `\"`, or `'`");return l.peek=P2,{handlers:{mdxJsxFlowElement:l,mdxJsxTextElement:l},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function l(u,c,p,h){const m=u.type==="mdxJsxFlowElement",d=u.name?!u.children||u.children.length===0:!1,b=ip(p),k=ap(b),_=p.createTracker(h),S=p.createTracker(h),A=[],N=(m?k:"")+"<"+(u.name||""),F=p.enter(u.type);if(_.move(N),S.move(N),u.attributes&&u.attributes.length>0){if(!u.name)throw new Error("Cannot serialize fragment w/ attributes");let U=-1;for(;++U<u.attributes.length;){const j=u.attributes[U];let J;if(j.type==="mdxJsxExpressionAttribute")J="{"+(j.value||"")+"}";else{if(!j.name)throw new Error("Cannot serialize attribute w/o name");const W=j.value,ae=j.name;let Q="";if(W!=null)if(typeof W=="object")Q="{"+(W.value||"")+"}";else{const Z=n&&Jn(W,r)>Jn(W,s)?s:r;Q=Z+T2(W,{subset:[Z]})+Z}J=ae+(Q?"=":"")+Q}A.push(J)}}let P=!1;const g=A.join(" ");m&&(/\r?\n|\r/.test(g)||_.current().now.column+g.length+(d?i?2:3:1)>a)&&(P=!0);let M=_,V=N;if(P){M=S;let U=-1;for(;++U<A.length;)A[U]=k+np+A[U];V+=M.move(`
|
|
21
|
+
`+A.join(`
|
|
22
|
+
`)+`
|
|
23
|
+
`+k)}else g&&(V+=M.move(" "+g));return d&&(V+=M.move((i||P?"":" ")+"/")),V+=M.move(">"),u.children&&u.children.length>0&&(u.type==="mdxJsxTextElement"?V+=M.move(p.containerPhrasing(u,{...M.current(),before:">",after:"<"})):(M.shift(2),V+=M.move(`
|
|
24
|
+
`),V+=M.move(M2(u,p,M.current())),V+=M.move(`
|
|
25
|
+
`))),d||(V+=M.move((m?k:"")+"</"+(u.name||"")+">")),F(),V}}function M2(e,t,r){const n=t.indexStack,i=e.children,a=t.createTracker(r),s=ap(ip(t)),l=[];let u=-1;for(n.push(-1);++u<i.length;){const c=i[u];n[n.length-1]=u;const p={before:`
|
|
26
|
+
`,after:`
|
|
27
|
+
`,...a.current()},h=t.handle(c,e,t,p),m=c.type==="mdxJsxFlowElement"?h:t.indentLines(h,function(d,b,k){return(k?"":s)+d});l.push(a.move(m)),c.type!=="list"&&(t.bulletLastUsed=void 0),u<i.length-1&&l.push(a.move(`
|
|
28
|
+
|
|
29
|
+
`))}return n.pop(),l.join("")}function ip(e){let t=0,r=e.stack.length;for(;--r>-1;){const n=e.stack[r];if(n==="blockquote"||n==="listItem")break;n==="mdxJsxFlowElement"&&t++}return t}function ap(e){return np.repeat(e)}function P2(){return"<"}function B2(){return{enter:{mdxjsEsm:R2},exit:{mdxjsEsm:D2,mdxjsEsmData:F2}}}function L2(){return{handlers:{mdxjsEsm:z2}}}function R2(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function D2(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,this.exit(e);const n=e.estree;r.value=t,n&&(r.data={estree:n})}function F2(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function z2(e){return e.value||""}function O2(){return[n2(),I2(),B2()]}function V2(e){return{extensions:[i2(),N2(e),L2()]}}var j2=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],sp=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],q2="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",op="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Us={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},$s="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",H2={5:$s,"5module":$s+" export import",6:$s+" const class extends export import super"},U2=/^in(stanceof)?$/,$2=new RegExp("["+op+"]"),G2=new RegExp("["+op+q2+"]");function Oo(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Nr(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&$2.test(String.fromCharCode(e)):t===!1?!1:Oo(e,sp)}function cn(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&G2.test(String.fromCharCode(e)):t===!1?!1:Oo(e,sp)||Oo(e,j2)}var Le=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function tr(e,t){return new Le(e,{beforeExpr:!0,binop:t})}var rr={beforeExpr:!0},Ft={startsExpr:!0},yl={};function Me(e,t){return t===void 0&&(t={}),t.keyword=e,yl[e]=new Le(e,t)}var T={num:new Le("num",Ft),regexp:new Le("regexp",Ft),string:new Le("string",Ft),name:new Le("name",Ft),privateId:new Le("privateId",Ft),eof:new Le("eof"),bracketL:new Le("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Le("]"),braceL:new Le("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Le("}"),parenL:new Le("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Le(")"),comma:new Le(",",rr),semi:new Le(";",rr),colon:new Le(":",rr),dot:new Le("."),question:new Le("?",rr),questionDot:new Le("?."),arrow:new Le("=>",rr),template:new Le("template"),invalidTemplate:new Le("invalidTemplate"),ellipsis:new Le("...",rr),backQuote:new Le("`",Ft),dollarBraceL:new Le("${",{beforeExpr:!0,startsExpr:!0}),eq:new Le("=",{beforeExpr:!0,isAssign:!0}),assign:new Le("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Le("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Le("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:tr("||",1),logicalAND:tr("&&",2),bitwiseOR:tr("|",3),bitwiseXOR:tr("^",4),bitwiseAND:tr("&",5),equality:tr("==/!=/===/!==",6),relational:tr("</>/<=/>=",7),bitShift:tr("<</>>/>>>",8),plusMin:new Le("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:tr("%",10),star:tr("*",10),slash:tr("/",10),starstar:new Le("**",{beforeExpr:!0}),coalesce:tr("??",1),_break:Me("break"),_case:Me("case",rr),_catch:Me("catch"),_continue:Me("continue"),_debugger:Me("debugger"),_default:Me("default",rr),_do:Me("do",{isLoop:!0,beforeExpr:!0}),_else:Me("else",rr),_finally:Me("finally"),_for:Me("for",{isLoop:!0}),_function:Me("function",Ft),_if:Me("if"),_return:Me("return",rr),_switch:Me("switch"),_throw:Me("throw",rr),_try:Me("try"),_var:Me("var"),_const:Me("const"),_while:Me("while",{isLoop:!0}),_with:Me("with"),_new:Me("new",{beforeExpr:!0,startsExpr:!0}),_this:Me("this",Ft),_super:Me("super",Ft),_class:Me("class",Ft),_extends:Me("extends",rr),_export:Me("export"),_import:Me("import",Ft),_null:Me("null",Ft),_true:Me("true",Ft),_false:Me("false",Ft),_in:Me("in",{beforeExpr:!0,binop:7}),_instanceof:Me("instanceof",{beforeExpr:!0,binop:7}),_typeof:Me("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Me("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Me("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},jt=/\r\n?|\n|\u2028|\u2029/,J2=new RegExp(jt.source,"g");function Zn(e){return e===10||e===13||e===8232||e===8233}function lp(e,t,r){r===void 0&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(Zn(i))return n<r-1&&i===13&&e.charCodeAt(n+1)===10?n+2:n+1}return-1}var up=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Et=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,cp=Object.prototype,W2=cp.hasOwnProperty,X2=cp.toString,ei=Object.hasOwn||(function(e,t){return W2.call(e,t)}),N0=Array.isArray||(function(e){return X2.call(e)==="[object Array]"}),M0=Object.create(null);function sn(e){return M0[e]||(M0[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function $r(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Y2=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Ni=function(t,r){this.line=t,this.column=r};Ni.prototype.offset=function(t){return new Ni(this.line,this.column+t)};var os=function(t,r,n){this.start=r,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};function hp(e,t){for(var r=1,n=0;;){var i=lp(e,n,t);if(i<0)return new Ni(r,t-n);++r,n=i}}var Vo={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},P0=!1;function K2(e){var t={};for(var r in Vo)t[r]=e&&ei(e,r)?e[r]:Vo[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!P0&&typeof console=="object"&&console.warn&&(P0=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
30
|
+
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),N0(t.onToken)){var n=t.onToken;t.onToken=function(i){return n.push(i)}}return N0(t.onComment)&&(t.onComment=Q2(t,t.onComment)),t}function Q2(e,t){return function(r,n,i,a,s,l){var u={type:r?"Block":"Line",value:n,start:i,end:a};e.locations&&(u.loc=new os(this,s,l)),e.ranges&&(u.range=[i,a]),t.push(u)}}var Mi=1,ti=2,vl=4,pp=8,bl=16,fp=32,ls=64,dp=128,An=256,Gi=512,us=Mi|ti|An;function wl(e,t){return ti|(e?vl:0)|(t?pp:0)}var La=0,kl=1,Yr=2,mp=3,gp=4,xp=5,dt=function(t,r,n){this.options=t=K2(t),this.sourceFile=t.sourceFile,this.keywords=sn(H2[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=Us[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=sn(i);var a=(i?i+" ":"")+Us.strict;this.reservedWordsStrict=sn(a),this.reservedWordsStrictBind=sn(a+" "+Us.strictBind),this.input=String(r),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
|
|
31
|
+
`,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(jt).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=T.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Mi),this.regexpState=null,this.privateNameStack=[]},Mr={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};dt.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Mr.inFunction.get=function(){return(this.currentVarScope().flags&ti)>0};Mr.inGenerator.get=function(){return(this.currentVarScope().flags&pp)>0};Mr.inAsync.get=function(){return(this.currentVarScope().flags&vl)>0};Mr.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(An|Gi))return!1;if(r&ti)return(r&vl)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Mr.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&ls)>0||this.options.allowSuperOutsideMethod};Mr.allowDirectSuper.get=function(){return(this.currentThisScope().flags&dp)>0};Mr.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Mr.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(An|Gi)||r&ti&&!(r&bl))return!0}return!1};Mr.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&An)>0};dt.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=this,i=0;i<t.length;i++)n=t[i](n);return n};dt.parse=function(t,r){return new this(r,t).parse()};dt.parseExpressionAt=function(t,r,n){var i=new this(n,t,r);return i.nextToken(),i.parseExpression()};dt.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(dt.prototype,Mr);var Lt=dt.prototype,Z2=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Lt.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Et.lastIndex=e,e+=Et.exec(this.input)[0].length;var t=Z2.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Et.lastIndex=e+t[0].length;var r=Et.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return i===";"||i==="}"||jt.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,Et.lastIndex=e,e+=Et.exec(this.input)[0].length,this.input[e]===";"&&e++}};Lt.eat=function(e){return this.type===e?(this.next(),!0):!1};Lt.isContextual=function(e){return this.type===T.name&&this.value===e&&!this.containsEsc};Lt.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};Lt.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};Lt.canInsertSemicolon=function(){return this.type===T.eof||this.type===T.braceR||jt.test(this.input.slice(this.lastTokEnd,this.start))};Lt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};Lt.semicolon=function(){!this.eat(T.semi)&&!this.insertSemicolon()&&this.unexpected()};Lt.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};Lt.expect=function(e){this.eat(e)||this.unexpected()};Lt.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var cs=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Lt.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};Lt.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")};Lt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};Lt.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var de=dt.prototype;de.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==T.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var a=i[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Sl={kind:"loop"},e4={kind:"switch"};de.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Et.lastIndex=this.pos;var t=Et.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91||n===92)return!0;if(e)return!1;if(n===123||n>55295&&n<56320)return!0;if(Nr(n,!0)){for(var i=r+1;cn(n=this.input.charCodeAt(i),!0);)++i;if(n===92||n>55295&&n<56320)return!0;var a=this.input.slice(r,i);if(!U2.test(a))return!0}return!1};de.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Et.lastIndex=this.pos;var e=Et.exec(this.input),t=this.pos+e[0].length,r;return!jt.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(cn(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};de.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;Et.lastIndex=this.pos;var r=Et.exec(this.input),n=this.pos+r[0].length;if(jt.test(this.input.slice(this.pos,n)))return!1;if(e){var i=n+5,a;if(this.input.slice(n,i)!=="using"||i===this.input.length||cn(a=this.input.charCodeAt(i))||a>55295&&a<56320)return!1;Et.lastIndex=i;var s=Et.exec(this.input);if(s&&jt.test(this.input.slice(i,i+s[0].length)))return!1}if(t){var l=n+2,u;if(this.input.slice(n,l)==="of"&&(l===this.input.length||!cn(u=this.input.charCodeAt(l))&&!(u>55295&&u<56320)))return!1}var c=this.input.charCodeAt(n);return Nr(c,!0)||c===92};de.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};de.isUsing=function(e){return this.isUsingKeyword(!1,e)};de.parseStatement=function(e,t,r){var n=this.type,i=this.startNode(),a;switch(this.isLet(e)&&(n=T._var,a="let"),n){case T._break:case T._continue:return this.parseBreakContinueStatement(i,n.keyword);case T._debugger:return this.parseDebuggerStatement(i);case T._do:return this.parseDoStatement(i);case T._for:return this.parseForStatement(i);case T._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case T._class:return e&&this.unexpected(),this.parseClass(i,!0);case T._if:return this.parseIfStatement(i);case T._return:return this.parseReturnStatement(i);case T._switch:return this.parseSwitchStatement(i);case T._throw:return this.parseThrowStatement(i);case T._try:return this.parseTryStatement(i);case T._const:case T._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(i,a);case T._while:return this.parseWhileStatement(i);case T._with:return this.parseWithStatement(i);case T.braceL:return this.parseBlock(!0,i);case T.semi:return this.parseEmptyStatement(i);case T._export:case T._import:if(this.options.ecmaVersion>10&&n===T._import){Et.lastIndex=this.pos;var s=Et.exec(this.input),l=this.pos+s[0].length,u=this.input.charCodeAt(l);if(u===40||u===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===T._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var c=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(c)return t&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),c==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(i,!1,c),this.semicolon(),this.finishNode(i,"VariableDeclaration");var p=this.value,h=this.parseExpression();return n===T.name&&h.type==="Identifier"&&this.eat(T.colon)?this.parseLabeledStatement(i,p,h,e):this.parseExpressionStatement(i,h)}};de.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(T.semi)||this.insertSemicolon()?e.label=null:this.type!==T.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};de.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};de.parseDoStatement=function(e){return this.next(),this.labels.push(Sl),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(T._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(T.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};de.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Sl),this.enterScope(0),this.expect(T.parenL),this.type===T.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===T._var||this.type===T._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),this.parseForAfterInit(e,n,t)}var a=this.isContextual("let"),s=!1,l=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(l){var u=this.startNode();return this.next(),l==="await using"&&this.next(),this.parseVar(u,!0,l),this.finishNode(u,"VariableDeclaration"),this.parseForAfterInit(e,u,t)}var c=this.containsEsc,p=new cs,h=this.start,m=t>-1?this.parseExprSubscripts(p,"await"):this.parseExpression(!0,p);return this.type===T._in||(s=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===T._in&&this.unexpected(t),e.await=!0):s&&this.options.ecmaVersion>=8&&(m.start===h&&!c&&m.type==="Identifier"&&m.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&s&&this.raise(m.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(m,!1,p),this.checkLValPattern(m),this.parseForIn(e,m)):(this.checkExpressionErrors(p,!0),t>-1&&this.unexpected(t),this.parseFor(e,m))};de.parseForAfterInit=function(e,t,r){return(this.type===T._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===T._in?r>-1&&this.unexpected(r):e.await=r>-1),this.parseForIn(e,t)):(r>-1&&this.unexpected(r),this.parseFor(e,t))};de.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Si|(r?0:jo),!1,t)};de.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(T._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};de.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(T.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};de.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(T.braceL),this.labels.push(e4),this.enterScope(0);for(var t,r=!1;this.type!==T.braceR;)if(this.type===T._case||this.type===T._default){var n=this.type===T._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(T.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};de.parseThrowStatement=function(e){return this.next(),jt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var t4=[];de.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?fp:0),this.checkLValPattern(e,t?gp:Yr),this.expect(T.parenR),e};de.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===T._catch){var t=this.startNode();this.next(),this.eat(T.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(T._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};de.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};de.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Sl),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};de.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};de.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};de.parseLabeledStatement=function(e,t,r,n){for(var i=0,a=this.labels;i<a.length;i+=1){var s=a[i];s.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===T._switch?"switch":null,u=this.labels.length-1;u>=0;u--){var c=this.labels[u];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};de.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};de.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(T.braceL),e&&this.enterScope(0);this.type!==T.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};de.parseFor=function(e,t){return e.init=t,this.expect(T.semi),e.test=this.type===T.semi?null:this.parseExpression(),this.expect(T.semi),e.update=this.type===T.parenR?null:this.parseExpression(),this.expect(T.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};de.parseForIn=function(e,t){var r=this.type===T._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(T.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};de.parseVar=function(e,t,r,n){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(T.eq)?i.init=this.parseMaybeAssign(t):!n&&r==="const"&&!(this.type===T._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!n&&(r==="using"||r==="await using")&&this.options.ecmaVersion>=17&&this.type!==T._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+r+" declaration"):!n&&i.id.type!=="Identifier"&&!(t&&(this.type===T._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(T.comma))break}return e};de.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?kl:Yr,!1)};var Si=1,jo=2,yp=4;de.parseFunction=function(e,t,r,n,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===T.star&&t&jo&&this.unexpected(),e.generator=this.eat(T.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Si&&(e.id=t&yp&&this.type!==T.name?null:this.parseIdent(),e.id&&!(t&jo)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?kl:Yr:mp));var a=this.yieldPos,s=this.awaitPos,l=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(wl(e.async,e.generator)),t&Si||(e.id=this.type===T.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=l,this.finishNode(e,t&Si?"FunctionDeclaration":"FunctionExpression")};de.parseFunctionParams=function(e){this.expect(T.parenL),e.params=this.parseBindingList(T.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};de.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),i=this.startNode(),a=!1;for(i.body=[],this.expect(T.braceL);this.type!==T.braceR;){var s=this.parseClassElement(e.superClass!==null);s&&(i.body.push(s),s.type==="MethodDefinition"&&s.kind==="constructor"?(a&&this.raiseRecoverable(s.start,"Duplicate constructor in the same class"),a=!0):s.key&&s.key.type==="PrivateIdentifier"&&r4(n,s)&&this.raiseRecoverable(s.key.start,"Identifier '#"+s.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};de.parseClassElement=function(e){if(this.eat(T.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",i=!1,a=!1,s="method",l=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(T.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===T.star?l=!0:n="static"}if(r.static=l,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===T.star)&&!this.canInsertSemicolon()?a=!0:n="async"),!n&&(t>=9||!a)&&this.eat(T.star)&&(i=!0),!n&&!a&&!i){var u=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=u:n=u)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===T.parenL||s!=="method"||i||a){var c=!r.static&&Ra(r,"constructor"),p=c&&e;c&&s!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":s,this.parseClassMethod(r,i,a,p)}else this.parseClassField(r);return r};de.isClassElementNameStart=function(){return this.type===T.name||this.type===T.privateId||this.type===T.num||this.type===T.string||this.type===T.bracketL||this.type.keyword};de.parseClassElementName=function(e){this.type===T.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};de.parseClassMethod=function(e,t,r,n){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&Ra(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,n);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};de.parseClassField=function(e){return Ra(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ra(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(T.eq)?(this.enterScope(Gi|ls),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};de.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(An|ls);this.type!==T.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};de.parseClassId=function(e,t){this.type===T.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Yr,!1)):(t===!0&&this.unexpected(),e.id=null)};de.parseClassSuper=function(e){e.superClass=this.eat(T._extends)?this.parseExprSubscripts(null,!1):null};de.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};de.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,i=n===0?null:this.privateNameStack[n-1],a=0;a<r.length;++a){var s=r[a];ei(t,s.name)||(i?i.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}};function r4(e,t){var r=t.key.name,n=e[r],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),n==="iget"&&i==="iset"||n==="iset"&&i==="iget"||n==="sget"&&i==="sset"||n==="sset"&&i==="sget"?(e[r]="true",!1):n?!0:(e[r]=i,!1)}function Ra(e,t){var r=e.computed,n=e.key;return!r&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}de.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==T.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};de.parseExport=function(e,t){if(this.next(),this.eat(T.star))return this.parseExportAllDeclaration(e,t);if(this.eat(T._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==T.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,n=e.specifiers;r<n.length;r+=1){var i=n[r];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type==="Literal"&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};de.parseExportDeclaration=function(e){return this.parseStatement(null)};de.parseExportDefaultDeclaration=function(){var e;if(this.type===T._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Si|yp,!1,e)}else if(this.type===T._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var n=this.parseMaybeAssign();return this.semicolon(),n}};de.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),ei(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};de.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var n=0,i=t.properties;n<i.length;n+=1){var a=i[n];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var s=0,l=t.elements;s<l.length;s+=1){var u=l[s];u&&this.checkPatternExport(e,u)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};de.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}};de.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};de.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};de.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(T.braceL);!this.eat(T.braceR);){if(r)r=!1;else if(this.expect(T.comma),this.afterTrailingComma(T.braceR))break;t.push(this.parseExportSpecifier(e))}return t};de.parseImport=function(e){return this.next(),this.type===T.string?(e.specifiers=t4,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===T.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};de.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Yr),this.finishNode(e,"ImportSpecifier")};de.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Yr),this.finishNode(e,"ImportDefaultSpecifier")};de.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Yr),this.finishNode(e,"ImportNamespaceSpecifier")};de.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===T.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(T.comma)))return e;if(this.type===T.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(T.braceL);!this.eat(T.braceR);){if(t)t=!1;else if(this.expect(T.comma),this.afterTrailingComma(T.braceR))break;e.push(this.parseImportSpecifier())}return e};de.parseWithClause=function(){var e=[];if(!this.eat(T._with))return e;this.expect(T.braceL);for(var t={},r=!0;!this.eat(T.braceR);){if(r)r=!1;else if(this.expect(T.comma),this.afterTrailingComma(T.braceR))break;var n=this.parseImportAttribute(),i=n.key.type==="Identifier"?n.key.name:n.key.value;ei(t,i)&&this.raiseRecoverable(n.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(n)}return e};de.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===T.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(T.colon),this.type!==T.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};de.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===T.string){var e=this.parseLiteral(this.value);return Y2.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};de.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};de.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var hr=dt.prototype;hr.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};hr.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};hr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};hr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==T.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};hr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case T.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(T.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case T.braceL:return this.parseObj(!0)}return this.parseIdent()};hr.parseBindingList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(T.comma),t&&this.type===T.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===T.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),i.push(s),this.type===T.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(n))}return i};hr.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};hr.parseBindingListItem=function(e){return e};hr.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(T.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")};hr.checkLValSimple=function(e,t,r){t===void 0&&(t=La);var n=t!==La;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===Yr&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(ei(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==xp&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};hr.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=La),e.type){case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var s=0,l=e.elements;s<l.length;s+=1){var u=l[s];u&&this.checkLValInnerPattern(u,t,r)}break;default:this.checkLValSimple(e,t,r)}};hr.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=La),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var dr=function(t,r,n,i,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!n,this.override=i,this.generator=!!a},Ke={b_stat:new dr("{",!1),b_expr:new dr("{",!0),b_tmpl:new dr("${",!1),p_stat:new dr("(",!1),p_expr:new dr("(",!0),q_tmpl:new dr("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new dr("function",!1),f_expr:new dr("function",!0),f_expr_gen:new dr("function",!0,!1,null,!0),f_gen:new dr("function",!1,!1,null,!0)},ri=dt.prototype;ri.initialContext=function(){return[Ke.b_stat]};ri.curContext=function(){return this.context[this.context.length-1]};ri.braceIsBlock=function(e){var t=this.curContext();return t===Ke.f_expr||t===Ke.f_stat?!0:e===T.colon&&(t===Ke.b_stat||t===Ke.b_expr)?!t.isExpr:e===T._return||e===T.name&&this.exprAllowed?jt.test(this.input.slice(this.lastTokEnd,this.start)):e===T._else||e===T.semi||e===T.eof||e===T.parenR||e===T.arrow?!0:e===T.braceL?t===Ke.b_stat:e===T._var||e===T._const||e===T.name?!1:!this.exprAllowed};ri.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};ri.updateContext=function(e){var t,r=this.type;r.keyword&&e===T.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};ri.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};T.parenR.updateContext=T.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Ke.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};T.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Ke.b_stat:Ke.b_expr),this.exprAllowed=!0};T.dollarBraceL.updateContext=function(){this.context.push(Ke.b_tmpl),this.exprAllowed=!0};T.parenL.updateContext=function(e){var t=e===T._if||e===T._for||e===T._with||e===T._while;this.context.push(t?Ke.p_stat:Ke.p_expr),this.exprAllowed=!0};T.incDec.updateContext=function(){};T._function.updateContext=T._class.updateContext=function(e){e.beforeExpr&&e!==T._else&&!(e===T.semi&&this.curContext()!==Ke.p_stat)&&!(e===T._return&&jt.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===T.colon||e===T.braceL)&&this.curContext()===Ke.b_stat)?this.context.push(Ke.f_expr):this.context.push(Ke.f_stat),this.exprAllowed=!1};T.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};T.backQuote.updateContext=function(){this.curContext()===Ke.q_tmpl?this.context.pop():this.context.push(Ke.q_tmpl),this.exprAllowed=!1};T.star.updateContext=function(e){if(e===T._function){var t=this.context.length-1;this.context[t]===Ke.f_expr?this.context[t]=Ke.f_expr_gen:this.context[t]=Ke.f_gen}this.exprAllowed=!0};T.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==T.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Se=dt.prototype;Se.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,i;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var s=t[i];if(s){var l;a==="init"?l=this.strict&&s.init||s.get||s.set:l=s.init||s[a],l&&this.raiseRecoverable(n.start,"Redefinition of property")}else s=t[i]={init:!1,get:!1,set:!1};s[a]=!0}};Se.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===T.comma){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(T.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i};Se.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,i=-1,a=-1,s=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,s=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new cs,n=!0);var l=this.start,u=this.startLoc;(this.type===T.parenL||this.type===T.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,l,u)),this.type.isAssign){var p=this.startNodeAt(l,u);return p.operator=this.value,this.type===T.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===T.eq?this.checkLValPattern(c):this.checkLValSimple(c),p.left=c,this.next(),p.right=this.parseMaybeAssign(e),s>-1&&(t.doubleProto=s),this.finishNode(p,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),c};Se.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(T.question)){var a=this.startNodeAt(r,n);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(T.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i};Se.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,n,-1,e)};Se.parseExprOp=function(e,t,r,n,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==T._in)&&a>n){var s=this.type===T.logicalOR||this.type===T.logicalAND,l=this.type===T.coalesce;l&&(a=T.logicalAND.binop);var u=this.value;this.next();var c=this.start,p=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),c,p,a,i),m=this.buildBinary(t,r,e,h,u,s||l);return(s&&this.type===T.coalesce||l&&(this.type===T.logicalOR||this.type===T.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(m,t,r,n,i)}return e};Se.buildBinary=function(e,t,r,n,i,a){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");var s=this.startNodeAt(e,t);return s.left=r,s.operator=i,s.right=n,this.finishNode(s,a?"LogicalExpression":"BinaryExpression")};Se.parseMaybeUnary=function(e,t,r,n){var i=this.start,a=this.startLoc,s;if(this.isContextual("await")&&this.canAwait)s=this.parseAwait(n),t=!0;else if(this.type.prefix){var l=this.startNode(),u=this.type===T.incDec;l.operator=this.value,l.prefix=!0,this.next(),l.argument=this.parseMaybeUnary(null,!0,u,n),this.checkExpressionErrors(e,!0),u?this.checkLValSimple(l.argument):this.strict&&l.operator==="delete"&&vp(l.argument)?this.raiseRecoverable(l.start,"Deleting local variable in strict mode"):l.operator==="delete"&&qo(l.argument)?this.raiseRecoverable(l.start,"Private fields can not be deleted"):t=!0,s=this.finishNode(l,u?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===T.privateId)(n||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),s=this.parsePrivateIdent(),this.type!==T._in&&this.unexpected();else{if(s=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return s;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(i,a);c.operator=this.value,c.prefix=!1,c.argument=s,this.checkLValSimple(s),this.next(),s=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(T.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,a,s,this.parseMaybeUnary(null,!1,!1,n),"**",!1);else return s};function vp(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&vp(e.expression)}function qo(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&qo(e.expression)||e.type==="ParenthesizedExpression"&&qo(e.expression)}Se.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var a=this.parseSubscripts(i,r,n,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};Se.parseSubscripts=function(e,t,r,n,i){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,s=!1;;){var l=this.parseSubscript(e,t,r,n,a,s,i);if(l.optional&&(s=!0),l===e||l.type==="ArrowFunctionExpression"){if(s){var u=this.startNodeAt(t,r);u.expression=l,l=this.finishNode(u,"ChainExpression")}return l}e=l}};Se.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(T.arrow)};Se.parseSubscriptAsyncArrow=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,n)};Se.parseSubscript=function(e,t,r,n,i,a,s){var l=this.options.ecmaVersion>=11,u=l&&this.eat(T.questionDot);n&&u&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(T.bracketL);if(c||u&&this.type!==T.parenL&&this.type!==T.backQuote||this.eat(T.dot)){var p=this.startNodeAt(t,r);p.object=e,c?(p.property=this.parseExpression(),this.expect(T.bracketR)):this.type===T.privateId&&e.type!=="Super"?p.property=this.parsePrivateIdent():p.property=this.parseIdent(this.options.allowReserved!=="never"),p.computed=!!c,l&&(p.optional=u),e=this.finishNode(p,"MemberExpression")}else if(!n&&this.eat(T.parenL)){var h=new cs,m=this.yieldPos,d=this.awaitPos,b=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var k=this.parseExprList(T.parenR,this.options.ecmaVersion>=8,!1,h);if(i&&!u&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=m,this.awaitPos=d,this.awaitIdentPos=b,this.parseSubscriptAsyncArrow(t,r,k,s);this.checkExpressionErrors(h,!0),this.yieldPos=m||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=b||this.awaitIdentPos;var _=this.startNodeAt(t,r);_.callee=e,_.arguments=k,l&&(_.optional=u),e=this.finishNode(_,"CallExpression")}else if(this.type===T.backQuote){(u||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var S=this.startNodeAt(t,r);S.tag=e,S.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(S,"TaggedTemplateExpression")}return e};Se.parseExprAtom=function(e,t,r){this.type===T.slash&&this.readRegexp();var n,i=this.potentialArrowAt===this.start;switch(this.type){case T._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type===T.parenL&&!this.allowDirectSuper&&this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==T.dot&&this.type!==T.bracketL&&this.type!==T.parenL&&this.unexpected(),this.finishNode(n,"Super");case T._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case T.name:var a=this.start,s=this.startLoc,l=this.containsEsc,u=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!l&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(T._function))return this.overrideContext(Ke.f_expr),this.parseFunction(this.startNodeAt(a,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(T.arrow))return this.parseArrowExpression(this.startNodeAt(a,s),[u],!1,t);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===T.name&&!l&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(T.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,s),[u],!0,t)}return u;case T.regexp:var c=this.value;return n=this.parseLiteral(c.value),n.regex={pattern:c.pattern,flags:c.flags},n;case T.num:case T.string:return this.parseLiteral(this.value);case T._null:case T._true:case T._false:return n=this.startNode(),n.value=this.type===T._null?null:this.type===T._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case T.parenL:var p=this.start,h=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),h;case T.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(T.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case T.braceL:return this.overrideContext(Ke.b_expr),this.parseObj(!1,e);case T._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case T._class:return this.parseClass(this.startNode(),!1);case T._new:return this.parseNew();case T.backQuote:return this.parseTemplate();case T._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};Se.parseExprAtomDefault=function(){this.unexpected()};Se.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===T.parenL&&!e)return this.parseDynamicImport(t);if(this.type===T.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};Se.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(T.parenR)?e.options=null:(this.expect(T.comma),this.afterTrailingComma(T.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(T.parenR)||(this.expect(T.comma),this.afterTrailingComma(T.parenR)||this.unexpected())));else if(!this.eat(T.parenR)){var t=this.start;this.eat(T.comma)&&this.eat(T.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};Se.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};Se.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};Se.parseParenExpression=function(){this.expect(T.parenL);var e=this.parseExpression();return this.expect(T.parenR),e};Se.shouldParseArrow=function(e){return!this.canInsertSemicolon()};Se.parseParenAndDistinguishExpression=function(e,t){var r=this.start,n=this.startLoc,i,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,l=this.startLoc,u=[],c=!0,p=!1,h=new cs,m=this.yieldPos,d=this.awaitPos,b;for(this.yieldPos=0,this.awaitPos=0;this.type!==T.parenR;)if(c?c=!1:this.expect(T.comma),a&&this.afterTrailingComma(T.parenR,!0)){p=!0;break}else if(this.type===T.ellipsis){b=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===T.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else u.push(this.parseMaybeAssign(!1,h,this.parseParenItem));var k=this.lastTokEnd,_=this.lastTokEndLoc;if(this.expect(T.parenR),e&&this.shouldParseArrow(u)&&this.eat(T.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=m,this.awaitPos=d,this.parseParenArrowList(r,n,u,t);(!u.length||p)&&this.unexpected(this.lastTokStart),b&&this.unexpected(b),this.checkExpressionErrors(h,!0),this.yieldPos=m||this.yieldPos,this.awaitPos=d||this.awaitPos,u.length>1?(i=this.startNodeAt(s,l),i.expressions=u,this.finishNodeAt(i,"SequenceExpression",k,_)):i=u[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var S=this.startNodeAt(r,n);return S.expression=i,this.finishNode(S,"ParenthesizedExpression")}else return i};Se.parseParenItem=function(e){return e};Se.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var n4=[];Se.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===T.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,i,!0,!1),this.eat(T.parenL)?e.arguments=this.parseExprList(T.parenR,this.options.ecmaVersion>=8,!1):e.arguments=n4,this.finishNode(e,"NewExpression")};Se.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===T.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,`
|
|
32
|
+
`),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
33
|
+
`),cooked:this.value},this.next(),r.tail=this.type===T.backQuote,this.finishNode(r,"TemplateElement")};Se.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===T.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(T.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(T.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};Se.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===T.name||this.type===T.num||this.type===T.string||this.type===T.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===T.star)&&!jt.test(this.input.slice(this.lastTokEnd,this.start))};Se.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(T.braceR);){if(n)n=!1;else if(this.expect(T.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(T.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};Se.parseProperty=function(e,t){var r=this.startNode(),n,i,a,s;if(this.options.ecmaVersion>=9&&this.eat(T.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===T.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===T.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,s=this.startLoc),e||(n=this.eat(T.star)));var l=this.containsEsc;return this.parsePropertyName(r),!e&&!l&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(i=!0,n=this.options.ecmaVersion>=9&&this.eat(T.star),this.parsePropertyName(r)):i=!1,this.parsePropertyValue(r,e,n,i,a,s,t,l),this.finishNode(r,"Property")};Se.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var n=e.value.start;e.kind==="get"?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};Se.parsePropertyValue=function(e,t,r,n,i,a,s,l){(r||n)&&this.type===T.colon&&this.unexpected(),this.eat(T.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init"):this.options.ecmaVersion>=6&&this.type===T.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,n),e.kind="init"):!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==T.comma&&this.type!==T.braceR&&this.type!==T.eq?((r||n)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),t?e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key)):this.type===T.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};Se.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(T.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(T.bracketR),e.key;e.computed=!1}return e.key=this.type===T.num||this.type===T.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Se.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};Se.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(wl(t,n.generator)|ls|(r?dp:0)),this.expect(T.parenL),n.params=this.parseBindingList(T.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(n,"FunctionExpression")};Se.parseArrowExpression=function(e,t,r,n){var i=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(wl(r,!1)|bl),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")};Se.parseFunctionBody=function(e,t,r,n){var i=t&&this.type!==T.braceL,a=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var l=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||l)&&(s=this.strictDirective(this.end),s&&l&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var u=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!a&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,xp),e.body=this.parseBlock(!1,void 0,s&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()};Se.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0};Se.checkParams=function(e,t){for(var r=Object.create(null),n=0,i=e.params;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,kl,t?null:r)}};Se.parseExprList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(T.comma),t&&this.afterTrailingComma(e))break;var s=void 0;r&&this.type===T.comma?s=null:this.type===T.ellipsis?(s=this.parseSpread(n),n&&this.type===T.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):s=this.parseMaybeAssign(!1,n),i.push(s)}return i};Se.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&us)&&n==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(n==="arguments"||n==="await")&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}};Se.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};Se.parseIdentNode=function(){var e=this.startNode();return this.type===T.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=T.name):this.unexpected(),e};Se.parsePrivateIdent=function(){var e=this.startNode();return this.type===T.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};Se.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===T.semi||this.canInsertSemicolon()||this.type!==T.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(T.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};Se.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Da=dt.prototype;Da.raise=function(e,t){var r=hp(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n};Da.raiseRecoverable=Da.raise;Da.curPosition=function(){if(this.options.locations)return new Ni(this.curLine,this.pos-this.lineStart)};var dn=dt.prototype,i4=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};dn.enterScope=function(e){this.scopeStack.push(new i4(e))};dn.exitScope=function(){this.scopeStack.pop()};dn.treatFunctionsAsVarInScope=function(e){return e.flags&ti||!this.inModule&&e.flags&Mi};dn.declareName=function(e,t,r){var n=!1;if(t===Yr){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&Mi&&delete this.undefinedExports[e]}else if(t===gp){var a=this.currentScope();a.lexical.push(e)}else if(t===mp){var s=this.currentScope();this.treatFunctionsAsVar?n=s.lexical.indexOf(e)>-1:n=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var u=this.scopeStack[l];if(u.lexical.indexOf(e)>-1&&!(u.flags&fp&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){n=!0;break}if(u.var.push(e),this.inModule&&u.flags&Mi&&delete this.undefinedExports[e],u.flags&us)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};dn.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};dn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};dn.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(us|Gi|An))return t}};dn.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(us|Gi|An)&&!(t.flags&bl))return t}};var hs=function(t,r,n){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new os(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Ji=dt.prototype;Ji.startNode=function(){return new hs(this,this.start,this.startLoc)};Ji.startNodeAt=function(e,t){return new hs(this,e,t)};function bp(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}Ji.finishNode=function(e,t){return bp.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Ji.finishNodeAt=function(e,t,r,n){return bp.call(this,e,t,r,n)};Ji.copyNode=function(e){var t=new hs(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var a4="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",wp="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",kp=wp+" Extended_Pictographic",Sp=kp,Cp=Sp+" EBase EComp EMod EPres ExtPict",Ep=Cp,s4=Ep,o4={9:wp,10:kp,11:Sp,12:Cp,13:Ep,14:s4},l4="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",u4={9:"",10:"",11:"",12:"",13:"",14:l4},B0="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",_p="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ap=_p+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Tp=Ap+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ip=Tp+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Np=Ip+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",c4=Np+" "+a4,h4={9:_p,10:Ap,11:Tp,12:Ip,13:Np,14:c4},Mp={};function p4(e){var t=Mp[e]={binary:sn(o4[e]+" "+B0),binaryOfStrings:sn(u4[e]),nonBinary:{General_Category:sn(B0),Script:sn(h4[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Gs=0,L0=[9,10,11,12,13,14];Gs<L0.length;Gs+=1){var f4=L0[Gs];p4(f4)}var fe=dt.prototype,Fa=function(t,r){this.parent=t,this.base=r||this};Fa.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var n=t;n;n=n.parent)if(r.base===n.base&&r!==n)return!0;return!1};Fa.prototype.sibling=function(){return new Fa(this.parent,this.base)};var Pr=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Mp[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Pr.prototype.reset=function(t,r,n){var i=n.indexOf("v")!==-1,a=n.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=n,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)};Pr.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Pr.prototype.at=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return-1;var a=n.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=i)return a;var s=n.charCodeAt(t+1);return s>=56320&&s<=57343?(a<<10)+s-56613888:a};Pr.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return i;var a=n.charCodeAt(t),s;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=i||(s=n.charCodeAt(t+1))<56320||s>57343?t+1:t+2};Pr.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Pr.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Pr.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Pr.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};Pr.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var n=this.pos,i=0,a=t;i<a.length;i+=1){var s=a[i],l=this.at(n,r);if(l===-1||l!==s)return!1;n=this.nextIndex(n,r)}return this.pos=n,!0};fe.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=!1,i=!1,a=0;a<r.length;a++){var s=r.charAt(a);t.indexOf(s)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(s,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),s==="u"&&(n=!0),s==="v"&&(i=!0)}this.options.ecmaVersion>=15&&n&&i&&this.raise(e.start,"Invalid regular expression flag")};function d4(e){for(var t in e)return!0;return!1}fe.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&d4(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};fe.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}};fe.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Fa(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};fe.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};fe.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};fe.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};fe.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};fe.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};fe.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};fe.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};fe.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};fe.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),n=e.eat(45);if(r||n){for(var i=0;i<r.length;i++){var a=r.charAt(i);r.indexOf(a,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(n){var s=this.regexp_eatModifiers(e);!r&&!s&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var l=0;l<s.length;l++){var u=s.charAt(l);(s.indexOf(u,l+1)>-1||r.indexOf(u)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};fe.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};fe.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&m4(r);)t+=$r(r),e.advance();return t};function m4(e){return e===105||e===109||e===115}fe.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};fe.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};fe.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Pp(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Pp(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}fe.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Pp(r);)e.advance();return e.pos!==t};fe.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};fe.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var n=0,i=r;n<i.length;n+=1){var a=i[n];a.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};fe.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};fe.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=$r(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=$r(e.lastIntValue);return!0}return!1};fe.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),g4(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function g4(e){return Nr(e,!0)||e===36||e===95}fe.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),x4(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};function x4(e){return cn(e,!0)||e===36||e===95||e===8204||e===8205}fe.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};fe.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};fe.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};fe.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};fe.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};fe.regexp_eatZero=function(e){return e.current()===48&&!ps(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};fe.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};fe.regexp_eatControlLetter=function(e){var t=e.current();return Bp(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Bp(e){return e>=65&&e<=90||e>=97&&e<=122}fe.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(i-55296)*1024+(s-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&y4(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function y4(e){return e>=0&&e<=1114111}fe.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};fe.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Lp=0,Gr=1,sr=2;fe.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(v4(t))return e.lastIntValue=-1,e.advance(),Gr;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var n;if(e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&n===sr&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return Lp};function v4(e){return e===100||e===68||e===115||e===83||e===119||e===87}fe.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),Gr}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return Lp};fe.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){ei(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};fe.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Gr;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return sr;e.raise("Invalid property name")};fe.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Rp(t=e.current());)e.lastStringValue+=$r(t),e.advance();return e.lastStringValue!==""};function Rp(e){return Bp(e)||e===95}fe.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";b4(t=e.current());)e.lastStringValue+=$r(t),e.advance();return e.lastStringValue!==""};function b4(e){return Rp(e)||ps(e)}fe.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};fe.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===sr&&e.raise("Negated character class may contain strings"),!0}return!1};fe.regexp_classContents=function(e){return e.current()===93?Gr:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Gr)};fe.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};fe.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||zp(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1};fe.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};fe.regexp_classSetExpression=function(e){var t=Gr,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===sr&&(t=sr);for(var n=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==sr&&(t=Gr);continue}e.raise("Invalid character in character class")}if(n!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===sr&&(t=sr)}};fe.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return r!==-1&&n!==-1&&r>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};fe.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Gr:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};fe.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return r&&n===sr&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null};fe.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};fe.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===sr&&(t=sr);return t};fe.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Gr:sr};fe.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&w4(r)||k4(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function w4(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function k4(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}fe.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return S4(t)?(e.lastIntValue=t,e.advance(),!0):!1};function S4(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}fe.regexp_eatClassControlLetter=function(e){var t=e.current();return ps(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};fe.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};fe.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ps(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function ps(e){return e>=48&&e<=57}fe.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Dp(r=e.current());)e.lastIntValue=16*e.lastIntValue+Fp(r),e.advance();return e.pos!==t};function Dp(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Fp(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}fe.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};fe.regexp_eatOctalDigit=function(e){var t=e.current();return zp(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function zp(e){return e>=48&&e<=55}fe.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!Dp(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Fp(i),e.advance()}return!0};var Cl=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new os(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Ne=dt.prototype;Ne.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Cl(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};Ne.getToken=function(){return this.next(),new Cl(this)};typeof Symbol<"u"&&(Ne[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===T.eof,value:t}}}});Ne.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(T.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};Ne.readToken=function(e){return Nr(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};Ne.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Ne.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,i=t;(n=lp(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};Ne.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Zn(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};Ne.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&up.test(String.fromCharCode(e)))++this.pos;else break e}}};Ne.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};Ne.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(T.ellipsis)):(++this.pos,this.finishToken(T.dot))};Ne.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(T.assign,2):this.finishOp(T.slash,1)};Ne.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?T.star:T.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=T.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(T.assign,r+1):this.finishOp(n,r)};Ne.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(T.assign,3)}return this.finishOp(e===124?T.logicalOR:T.logicalAND,2)}return t===61?this.finishOp(T.assign,2):this.finishOp(e===124?T.bitwiseOR:T.bitwiseAND,1)};Ne.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(T.assign,2):this.finishOp(T.bitwiseXOR,1)};Ne.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||jt.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(T.incDec,2):t===61?this.finishOp(T.assign,2):this.finishOp(T.plusMin,1)};Ne.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(T.assign,r+1):this.finishOp(T.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(T.relational,r))};Ne.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(T.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(T.arrow)):this.finishOp(e===61?T.eq:T.prefix,1)};Ne.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(T.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(T.assign,3)}return this.finishOp(T.coalesce,2)}}return this.finishOp(T.question,1)};Ne.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Nr(t,!0)||t===92))return this.finishToken(T.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+$r(t)+"'")};Ne.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(T.parenL);case 41:return++this.pos,this.finishToken(T.parenR);case 59:return++this.pos,this.finishToken(T.semi);case 44:return++this.pos,this.finishToken(T.comma);case 91:return++this.pos,this.finishToken(T.bracketL);case 93:return++this.pos,this.finishToken(T.bracketR);case 123:return++this.pos,this.finishToken(T.braceL);case 125:return++this.pos,this.finishToken(T.braceR);case 58:return++this.pos,this.finishToken(T.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(T.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(T.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+$r(e)+"'")};Ne.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};Ne.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(jt.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var a=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(a);var l=this.regexpState||(this.regexpState=new Pr(this));l.reset(r,i,s),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var u=null;try{u=new RegExp(i,s)}catch{}return this.finishToken(T.regexp,{pattern:i,flags:s,value:u})};Ne.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,s=0,l=0,u=0,c=t??1/0;u<c;++u,++this.pos){var p=this.input.charCodeAt(this.pos),h=void 0;if(n&&p===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=p;continue}if(p>=97?h=p-97+10:p>=65?h=p-65+10:p>=48&&p<=57?h=p-48:h=1/0,h>=e)break;l=p,s=s*e+h}return n&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:s};function C4(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Op(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}Ne.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Op(this.input.slice(t,this.pos)),++this.pos):Nr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(T.num,r)};Ne.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var i=Op(this.input.slice(t,this.pos));return++this.pos,Nr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(T.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Nr(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=C4(this.input.slice(t,this.pos),r);return this.finishToken(T.num,a)};Ne.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};Ne.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):n===8232||n===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Zn(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(T.string,t)};var Vp={};Ne.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Vp)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};Ne.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Vp;this.raise(e,t)};Ne.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===T.template||this.type===T.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(T.dollarBraceL)):(++this.pos,this.finishToken(T.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(T.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Zn(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
34
|
+
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};Ne.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(T.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
35
|
+
`&&++this.pos;case`
|
|
36
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};Ne.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
37
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return $r(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return Zn(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};Ne.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};Ne.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(cn(i,n))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?Nr:cn)(s,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=$r(s),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};Ne.readWord=function(){var e=this.readWord1(),t=T.name;return this.keywords.test(e)&&(t=yl[e]),this.finishToken(t,e)};var E4="8.15.0";dt.acorn={Parser:dt,version:E4,defaultOptions:Vo,Position:Ni,SourceLocation:os,getLineInfo:hp,Node:hs,TokenType:Le,tokTypes:T,keywordTypes:yl,TokContext:dr,tokContexts:Ke,isIdentifierChar:cn,isIdentifierStart:Nr,Token:Cl,isNewLine:Zn,lineBreak:jt,lineBreakG:J2,nonASCIIwhitespace:up};const _t=mn(/[A-Za-z]/),Tt=mn(/[\dA-Za-z]/),_4=mn(/[#-'*+\--9=?A-Z^-~]/);function za(e){return e!==null&&(e<32||e===127)}const Ho=mn(/\d/),A4=mn(/[\dA-Fa-f]/),T4=mn(/[!-/:-@[-`{-~]/);function ce(e){return e!==null&&e<-2}function Pe(e){return e!==null&&(e<0||e===32)}function Ce(e){return e===-2||e===-1||e===32}const fs=mn(new RegExp("\\p{P}|\\p{S}","u")),Pt=mn(/\s/);function mn(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function _e(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(u){return Ce(u)?(e.enter(r),l(u)):t(u)}function l(u){return Ce(u)&&a++<i?(e.consume(u),l):(e.exit(r),t(u))}}const I4={}.hasOwnProperty,N4=Symbol("continue"),Js=Symbol("exit"),M4=Symbol("skip");function P4(e,t){let r,n;typeof t=="function"?r=t:t&&typeof t=="object"&&(t.enter&&(r=t.enter),t.leave&&(n=t.leave)),i(e,void 0,void 0,[])();function i(a,s,l,u){return Ws(a)&&(c.displayName="node ("+a.type+")"),c;function c(){const p=r?R0(r(a,s,l,u)):[];if(p[0]===Js)return p;if(p[0]!==M4){let h;for(h in a)if(I4.call(a,h)&&a[h]&&typeof a[h]=="object"&&h!=="data"&&h!=="position"){const m=u.concat(a),d=a[h];if(Array.isArray(d)){const b=d;let k=0;for(;k>-1&&k<b.length;){const _=b[k];if(Ws(_)){const S=i(_,h,k,m)();if(S[0]===Js)return S;k=typeof S[1]=="number"?S[1]:k+1}else k++}}else if(Ws(d)){const b=i(d,h,void 0,m)();if(b[0]===Js)return b}}}return n?R0(n(a,s,l,u)):p}}}function R0(e){return Array.isArray(e)?e:typeof e=="number"?[N4,e]:[e]}function Ws(e){return!!(e&&typeof e=="object"&&"type"in e&&typeof e.type=="string"&&e.type.length>0)}function jp(e,t){const r=t.prefix||"",n=t.suffix||"",i=Object.assign({},t.acornOptions),a=[],s=[],l=i.onComment,u=i.onToken;let c=!1,p,h;const m=Object.assign({},i,{onComment:a,preserveParens:!0});u&&(m.onToken=s);const d=B4(e,t.tokenTypes),b=d.value,k=r+b+n,_=t.expression&&D0(b);if(_&&!t.allowEmpty)throw new Oe("Unexpected empty expression",{place:A(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{p=t.expression&&!_?t.acorn.parseExpressionAt(k,0,m):t.acorn.parse(k,m)}catch(N){const F=N,P=A(F.pos);F.message=String(F.message).replace(/ \(\d+:\d+\)$/,""),F.pos=P.offset,F.loc={line:P.line,column:P.column-1},h=F,c=F.raisedAt>=r.length+b.length||F.message==="Unterminated comment"}if(p&&t.expression&&!_)if(D0(k.slice(p.end,k.length-n.length)))p={type:"Program",start:0,end:r.length+b.length,body:[{type:"ExpressionStatement",expression:p,start:0,end:r.length+b.length}],sourceType:"module",comments:[]};else{const N=A(p.end),F=new Error("Unexpected content after expression");F.pos=N.offset,F.loc={line:N.line,column:N.column-1},h=F,p=void 0}if(p){if(p.comments=a,P4(p,function(N,F,P,g){let M=g[g.length-1],V=F;N.type==="ParenthesizedExpression"&&M&&V&&(typeof P=="number"&&(M=M[V],V=P),M[V]=N.expression),S(N)}),Array.isArray(l))l.push(...a);else if(typeof l=="function")for(const N of a)l(N.type==="Block",N.value,N.start,N.end,N.loc.start,N.loc.end);for(const N of s)N.end<=r.length||N.start-r.length>=b.length||(S(N),Array.isArray(u)?u.push(N):u(N))}return{estree:p,error:h,swallow:c};function S(N){const F=A(N.start),P=A(N.end);N.start=F.offset,N.end=P.offset,N.loc={start:{line:F.line,column:F.column-1,offset:F.offset},end:{line:P.line,column:P.column-1,offset:P.offset}},N.range=[N.start,N.end]}function A(N){let F=N-r.length;F<0?F=0:F>b.length&&(F=b.length);let P=L4(d.stops,F);return P||(P={line:t.start.line,column:t.start.column,offset:t.start.offset}),P}}function D0(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function B4(e,t){const r={value:"",stops:[]};let n=-1;for(;++n<e.length;){const i=e[n];if(i[0]==="enter"){const a=i[1].type;if(a==="lineEnding"||t.includes(a)){const s=i[2].sliceStream(i[1]);for(;s.length>0&&s[0]===-1;)s.shift();const l=R4(s);r.stops.push([r.value.length,i[1].start]),r.value+=l,r.stops.push([r.value.length,i[1].end])}}}return r}function L4(e,t){let r=0;for(;r<e.length&&e[r][0]<=t;)r+=1;if(r===0)return;const[n,i]=e[r-1],a=t-n;return{line:i.line,column:i.column+a,offset:i.offset+a}}function R4(e){let t=-1;const r=[];let n;for(;++t<e.length;){const i=e[t];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
|
|
38
|
+
`;break}case-3:{a=`\r
|
|
39
|
+
`;break}case-2:{a=" ";break}case-1:{if(n)continue;a=" ";break}default:a=String.fromCharCode(i)}n=i===-2,r.push(a)}return r.join("")}function qr(e){const t=e||{},r=t.loc||{},n=t.range||[void 0,void 0],i=F0(r.start,n[0]||t.start),a=F0(r.end,n[1]||t.end);if(i&&a)return{start:i,end:a}}function F0(e,t){if(e&&typeof e=="object"){const r="line"in e?Xs(e.line):void 0,n="column"in e?Xs(e.column):void 0;if(r&&n!==void 0)return{line:r,column:n+1,offset:Xs(t)}}}function Xs(e){return typeof e=="number"&&e>-1?e:void 0}const D4=2,Vn="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",F4="#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",z4="#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",z0="#unexpected-type-in-code-expected-an-object-spread-spread",O4="#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",V4="#could-not-parse-expression-with-acorn";function Oa(e,t,r,n,i,a,s,l,u,c,p){const h=this,m=this.events.length+3;let d=0,b,k;return _;function _(F){return e.enter(r),e.enter(n),e.consume(F),e.exit(n),b=h.now(),S}function S(F){if(F===null){if(k)throw k;const P=new Oe("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:h.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw P.url=Vn+F4,P}if(ce(F))return e.enter("lineEnding"),e.consume(F),e.exit("lineEnding"),N;if(F===125&&d===0){const P=a?j4.call(h,a,s,i,m,b,c||!1,u||!1):{type:"ok",estree:void 0};if(P.type==="ok"){e.enter(n),e.consume(F),e.exit(n);const g=e.exit(r);return l&&P.estree&&Object.assign(g,{estree:P.estree}),t}return k=P.message,e.enter(i),e.consume(F),A}return e.enter(i),A(F)}function A(F){return F===125&&d===0||F===null||ce(F)?(e.exit(i),S(F)):(F===123&&!a?d+=1:F===125&&(d-=1),e.consume(F),A)}function N(F){const P=h.now();if(P.line!==b.line&&!p&&h.parser.lazy[P.line]){const g=new Oe("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 g.url=Vn+z4,g}return Ce(F)?_e(e,S,"linePrefix",D4+1)(F):S(F)}}function j4(e,t,r,n,i,a,s){const l=jp(this.events.slice(n),{acorn:e,tokenTypes:[r],acornOptions:t,start:i,expression:!0,allowEmpty:a,prefix:s?"({":"",suffix:s?"})":""}),u=l.estree;if(s&&u){const c=u.body[0];if(c.type!=="ExpressionStatement"||c.expression.type!=="ObjectExpression"){const p=qr(c),h=new Oe("Unexpected `"+c.type+"` in code: expected an object spread (`{...spread}`)",{place:p.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw h.url=Vn+z0,h}if(c.expression.properties[1]){const p=qr(c.expression.properties[1]),h=new Oe("Unexpected extra content in spread: only a single spread is supported",{place:p.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw h.url=Vn+O4,h}if(c.expression.properties[0]&&c.expression.properties[0].type!=="SpreadElement"){const p=qr(c.expression.properties[0]),h=new Oe("Unexpected `"+c.expression.properties[0].type+"` in code: only spread elements are supported",{place:p.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw h.url=Vn+z0,h}}if(l.error){const c=new Oe("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 c.url=Vn+V4,{type:"nok",message:c}}return{type:"ok",estree:u}}function q4(e){const t=e||{},r=t.addResult,n=t.acorn,i=t.spread;let a=t.allowEmpty,s;if(a==null&&(a=!0),n){if(!n.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");s=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions)}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{123:{name:"mdxFlowExpression",tokenize:l,concrete:!0}},text:{123:{name:"mdxTextExpression",tokenize:u}}};function l(c,p,h){const m=this;return d;function d(S){return b(S)}function b(S){return Oa.call(m,c,k,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",n,s,r,i,a)(S)}function k(S){return Ce(S)?_e(c,_,"whitespace")(S):_(S)}function _(S){const A=m.parser.constructs.flow[60],F=(Array.isArray(A)?A:A?[A]:[]).find(function(P){return P.name==="mdxJsxFlowTag"});return S===60&&F?c.attempt(F,_,h)(S):S===null||ce(S)?p(S):h(S)}}function u(c,p){const h=this;return m;function m(d){return Oa.call(h,c,p,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",n,s,r,i,a,!0)(d)}}}const O0="https://github.com/micromark/micromark-extension-mdx-jsx";function qp(e,t,r,n,i,a,s,l,u,c,p,h,m,d,b,k,_,S,A,N,F,P,g,M,V,U,j,J,W,ae,Q,Z){const me=this;let xe,Be;return Ve;function Ve(B){return e.enter(l),e.enter(u),e.consume(B),e.exit(u),z}function z(B){return Pe(B)?r(B):(xe=Ye,$e(B))}function Ye(B){if(B===47)return e.enter(c),e.consume(B),e.exit(c),xe=Fe,$e;if(B===62)return kt(B);if(B!==null&&B>=0&&fr(B))return e.enter(h),e.enter(m),e.consume(B),O;Y(B,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(B===33?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function Fe(B){if(B===62)return kt(B);if(B!==null&&B>=0&&fr(B))return e.enter(h),e.enter(m),e.consume(B),O;Y(B,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(B===42||B===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function O(B){if(B!==null&&B>=0&&pi(B,{jsx:!0}))return e.consume(B),O;if(B===46||B===47||B===58||B===62||B===123||Pe(B)||Pt(B))return e.exit(m),xe=nt,$e(B);Y(B,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(B===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function nt(B){if(B===46)return e.enter(d),e.consume(B),e.exit(d),xe=tt,$e;if(B===58)return e.enter(k),e.consume(B),e.exit(k),xe=ut,$e;if(B===47||B===62||B===123||B!==null&&B>=0&&fr(B))return e.exit(h),ct(B);Y(B,"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 tt(B){if(B!==null&&B>=0&&fr(B))return e.enter(b),e.consume(B),Ue;Y(B,"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 Ue(B){if(B!==null&&B>=0&&pi(B,{jsx:!0}))return e.consume(B),Ue;if(B===46||B===47||B===62||B===123||Pe(B)||Pt(B))return e.exit(b),xe=bt,$e(B);Y(B,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(B===64?" (note: to create a link in MDX, use `[text](url)`)":""))}function bt(B){if(B===46)return e.enter(d),e.consume(B),e.exit(d),xe=tt,$e;if(B===47||B===62||B===123||B!==null&&B>=0&&fr(B))return e.exit(h),ct(B);Y(B,"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 ut(B){if(B!==null&&B>=0&&fr(B))return e.enter(_),e.consume(B),at;Y(B,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(B===43||B!==null&&B>46&&B<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function at(B){if(B!==null&&B>=0&&pi(B,{jsx:!0}))return e.consume(B),at;if(B===47||B===62||B===123||Pe(B)||Pt(B))return e.exit(_),xe=st,$e(B);Y(B,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function st(B){if(B===47||B===62||B===123||B!==null&&B>=0&&fr(B))return e.exit(h),ct(B);Y(B,"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 ct(B){if(B===47)return e.enter(p),e.consume(B),e.exit(p),xe=xn,$e;if(B===62)return kt(B);if(B===123)return Oa.call(me,e,Zr,S,A,N,n,i,a,!0,!1,s)(B);if(B!==null&&B>=0&&fr(B))return e.enter(F),e.enter(P),e.enter(g),e.consume(B),yr;Y(B,"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 Zr(B){return xe=ct,$e(B)}function yr(B){if(B!==null&&B>=0&&pi(B,{jsx:!0}))return e.consume(B),yr;if(B===47||B===58||B===61||B===62||B===123||Pe(B)||Pt(B))return e.exit(g),xe=vr,$e(B);Y(B,"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 vr(B){if(B===58)return e.enter(M),e.consume(B),e.exit(M),xe=Yt,$e;if(B===61)return e.exit(P),e.enter(U),e.consume(B),e.exit(U),xe=It,$e;if(B===47||B===62||B===123||Pe(B)||Pt(B)||B!==null&&B>=0&&fr(B))return e.exit(P),e.exit(F),xe=ct,$e(B);Y(B,"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 Yt(B){if(B!==null&&B>=0&&fr(B))return e.enter(V),e.consume(B),pr;Y(B,"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 pr(B){if(B!==null&&B>=0&&pi(B,{jsx:!0}))return e.consume(B),pr;if(B===47||B===61||B===62||B===123||Pe(B)||Pt(B))return e.exit(V),e.exit(P),xe=wt,$e(B);Y(B,"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 wt(B){if(B===61)return e.enter(U),e.consume(B),e.exit(U),xe=It,$e;if(B===47||B===62||B===123||B!==null&&B>=0&&fr(B))return e.exit(F),ct(B);Y(B,"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 It(B){if(B===34||B===39)return e.enter(j),e.enter(J),e.consume(B),e.exit(J),Be=B,br;if(B===123)return Oa.call(me,e,Dt,ae,Q,Z,n,i,a,!1,!1,s)(B);Y(B,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(B===60?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function Dt(B){return e.exit(F),xe=ct,$e(B)}function br(B){return B===null&&Y(B,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(Be)+"`"),B===Be?(e.enter(J),e.consume(B),e.exit(J),e.exit(j),e.exit(F),Be=void 0,xe=ct,$e):ce(B)?(xe=br,$e(B)):(e.enter(W),Fr(B))}function Fr(B){return B===null||B===Be||ce(B)?(e.exit(W),br(B)):(e.consume(B),Fr)}function xn(B){if(B===62)return kt(B);Y(B,"after self-closing slash","`>` to end the tag"+(B===42||B===47?" (note: JS comments in JSX tags are not supported in MDX)":""))}function kt(B){return e.enter(u),e.consume(B),e.exit(u),e.exit(l),t}function $e(B){return ce(B)?(e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),X):Ce(B)||Pt(B)?(e.enter("esWhitespace"),yn(B)):xe(B)}function yn(B){return ce(B)?(e.exit("esWhitespace"),$e(B)):Ce(B)||Pt(B)?(e.consume(B),yn):(e.exit("esWhitespace"),xe(B))}function X(B){if(!s&&me.parser.lazy[me.now().line]){const ge=new Oe("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",me.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw ge.url=O0+"#unexpected-lazy-line-in-container-expected-line-to-be",ge}return $e(B)}function Y(B,ge,ze){const ht=new Oe("Unexpected "+(B===null?"end of file":"character `"+(B===96?"` ` `":String.fromCodePoint(B))+"` ("+H4(B)+")")+" "+ge+", expected "+ze,me.now(),"micromark-extension-mdx-jsx:unexpected-"+(B===null?"eof":"character"));throw ht.url=O0+(B===null?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),ht}}function H4(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function U4(e,t){return{name:"mdxJsxTextTag",tokenize:r};function r(n,i,a){return qp.call(this,n,i,a,e,t.acornOptions,t.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")}}function $4(e,t){return{concrete:!0,name:"mdxJsxFlowTag",tokenize:r};function r(n,i,a){const s=this;return l;function l(h){return u(h)}function u(h){return qp.call(s,n,c,a,e,t.acornOptions,t.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(h)}function c(h){return Ce(h)?_e(n,p,"whitespace")(h):p(h)}function p(h){const m=s.parser.constructs.flow[123],d=Array.isArray(m)?m:m?[m]:[];let b;for(const k of d)if(k.name==="mdxFlowExpression"){b=k;break}return h===60?l(h):h===123&&b?n.attempt(b,p,a)(h):h===null||ce(h)?i(h):a(h)}}}function G4(e){const t=e||{},r=t.acorn;let n;if(r){if(!r.parse||!r.parseExpressionAt)throw new Error("Expected a proper `acorn` instance passed in as `options.acorn`");n=Object.assign({ecmaVersion:2024,sourceType:"module"},t.acornOptions,{locations:!0})}else if(t.acornOptions||t.addResult)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:$4(r||void 0,{acornOptions:n,addResult:t.addResult||void 0})},text:{60:U4(r||void 0,{acornOptions:n,addResult:t.addResult||void 0})}}}function J4(){return{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}}function Jt(e,t,r,n){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);a<n.length;)s=n.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function ir(e,t){return e.length>0?(Jt(e,e.length,0,t),e):t}function Wn(e){if(e===null||Pe(e)||Pt(e))return 1;if(fs(e))return 2}function ds(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const Uo={name:"attention",resolveAll:W4,tokenize:X4};function W4(e,t){let r=-1,n,i,a,s,l,u,c,p;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const h={...e[n][1].end},m={...e[r][1].start};V0(h,-u),V0(m,u),s={type:u>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},l={type:u>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:m},a={type:u>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},i={type:u>1?"strong":"emphasis",start:{...s.start},end:{...l.end}},e[n][1].end={...s.start},e[r][1].start={...l.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=ir(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=ir(c,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),c=ir(c,ds(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),c=ir(c,[["exit",a,t],["enter",l,t],["exit",l,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(p=2,c=ir(c,[["enter",e[r][1],t],["exit",e[r][1],t]])):p=0,Jt(e,n-1,r-n+3,c),r=n+c.length-p-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function X4(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Wn(n);let a;return s;function s(u){return a=u,e.enter("attentionSequence"),l(u)}function l(u){if(u===a)return e.consume(u),l;const c=e.exit("attentionSequence"),p=Wn(u),h=!p||p===2&&i||r.includes(u),m=!i||i===2&&p||r.includes(n);return c._open=!!(a===42?h:h&&(i||!m)),c._close=!!(a===42?m:m&&(p||!h)),t(u)}}function V0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Y4={name:"autolink",tokenize:K4};function K4(e,t,r){let n=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(d){return _t(d)?(e.consume(d),s):d===64?r(d):c(d)}function s(d){return d===43||d===45||d===46||Tt(d)?(n=1,l(d)):c(d)}function l(d){return d===58?(e.consume(d),n=0,u):(d===43||d===45||d===46||Tt(d))&&n++<32?(e.consume(d),l):(n=0,c(d))}function u(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||za(d)?r(d):(e.consume(d),u)}function c(d){return d===64?(e.consume(d),p):_4(d)?(e.consume(d),c):r(d)}function p(d){return Tt(d)?h(d):r(d)}function h(d){return d===46?(e.consume(d),n=0,p):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):m(d)}function m(d){if((d===45||Tt(d))&&n++<63){const b=d===45?m:h;return e.consume(d),b}return r(d)}}const ni={partial:!0,tokenize:Q4};function Q4(e,t,r){return n;function n(a){return Ce(a)?_e(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||ce(a)?t(a):r(a)}}const Hp={continuation:{tokenize:ex},exit:tx,name:"blockQuote",tokenize:Z4};function Z4(e,t,r){const n=this;return i;function i(s){if(s===62){const l=n.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return r(s)}function a(s){return Ce(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function ex(e,t,r){const n=this;return i;function i(s){return Ce(s)?_e(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Hp,t,r)(s)}}function tx(e){e.exit("blockQuote")}const Up={name:"characterEscape",tokenize:rx};function rx(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return T4(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const $p={name:"characterReference",tokenize:nx};function nx(e,t,r){const n=this;let i=0,a,s;return l;function l(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),u}function u(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,s=Tt,p(h))}function c(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=A4,p):(e.enter("characterReferenceValue"),a=7,s=Ho,p(h))}function p(h){if(h===59&&i){const m=e.exit("characterReferenceValue");return s===Tt&&!Ii(n.sliceSerialize(m))?r(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(h)&&i++<a?(e.consume(h),p):r(h)}}const j0={partial:!0,tokenize:ax},q0={concrete:!0,name:"codeFenced",tokenize:ix};function ix(e,t,r){const n=this,i={partial:!0,tokenize:P};let a=0,s=0,l;return u;function u(g){return c(g)}function c(g){const M=n.events[n.events.length-1];return a=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,l=g,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(g)}function p(g){return g===l?(s++,e.consume(g),p):s<3?r(g):(e.exit("codeFencedFenceSequence"),Ce(g)?_e(e,h,"whitespace")(g):h(g))}function h(g){return g===null||ce(g)?(e.exit("codeFencedFence"),n.interrupt?t(g):e.check(j0,k,F)(g)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(g))}function m(g){return g===null||ce(g)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(g)):Ce(g)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),_e(e,d,"whitespace")(g)):g===96&&g===l?r(g):(e.consume(g),m)}function d(g){return g===null||ce(g)?h(g):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(g))}function b(g){return g===null||ce(g)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(g)):g===96&&g===l?r(g):(e.consume(g),b)}function k(g){return e.attempt(i,F,_)(g)}function _(g){return e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),S}function S(g){return a>0&&Ce(g)?_e(e,A,"linePrefix",a+1)(g):A(g)}function A(g){return g===null||ce(g)?e.check(j0,k,F)(g):(e.enter("codeFlowValue"),N(g))}function N(g){return g===null||ce(g)?(e.exit("codeFlowValue"),A(g)):(e.consume(g),N)}function F(g){return e.exit("codeFenced"),t(g)}function P(g,M,V){let U=0;return j;function j(Z){return g.enter("lineEnding"),g.consume(Z),g.exit("lineEnding"),J}function J(Z){return g.enter("codeFencedFence"),Ce(Z)?_e(g,W,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):W(Z)}function W(Z){return Z===l?(g.enter("codeFencedFenceSequence"),ae(Z)):V(Z)}function ae(Z){return Z===l?(U++,g.consume(Z),ae):U>=s?(g.exit("codeFencedFenceSequence"),Ce(Z)?_e(g,Q,"whitespace")(Z):Q(Z)):V(Z)}function Q(Z){return Z===null||ce(Z)?(g.exit("codeFencedFence"),M(Z)):V(Z)}}}function ax(e,t,r){const n=this;return i;function i(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const Ys={name:"codeIndented",tokenize:ox},sx={partial:!0,tokenize:lx};function ox(e,t,r){const n=this;return i;function i(c){return e.enter("codeIndented"),_e(e,a,"linePrefix",5)(c)}function a(c){const p=n.events[n.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?s(c):r(c)}function s(c){return c===null?u(c):ce(c)?e.attempt(sx,s,u)(c):(e.enter("codeFlowValue"),l(c))}function l(c){return c===null||ce(c)?(e.exit("codeFlowValue"),s(c)):(e.consume(c),l)}function u(c){return e.exit("codeIndented"),t(c)}}function lx(e,t,r){const n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):ce(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):_e(e,a,"linePrefix",5)(s)}function a(s){const l=n.events[n.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):ce(s)?i(s):r(s)}}const ux={name:"codeText",previous:hx,resolve:cx,tokenize:px};function cx(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function hx(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function px(e,t,r){let n=0,i,a;return s;function s(h){return e.enter("codeText"),e.enter("codeTextSequence"),l(h)}function l(h){return h===96?(e.consume(h),n++,l):(e.exit("codeTextSequence"),u(h))}function u(h){return h===null?r(h):h===32?(e.enter("space"),e.consume(h),e.exit("space"),u):h===96?(a=e.enter("codeTextSequence"),i=0,p(h)):ce(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(h))}function c(h){return h===null||h===32||h===96||ce(h)?(e.exit("codeTextData"),u(h)):(e.consume(h),c)}function p(h){return h===96?(e.consume(h),i++,p):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(h)):(a.type="codeTextData",c(h))}}class fx{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const i=r||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&mi(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),mi(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),mi(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);mi(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);mi(this.left,r.reverse())}}}function mi(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function Gp(e){const t={};let r=-1,n,i,a,s,l,u,c;const p=new fx(e);for(;++r<p.length;){for(;r in t;)r=t[r];if(n=p.get(r),r&&n[1].type==="chunkFlow"&&p.get(r-1)[1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,dx(p,r)),r=t[r],c=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(s=p.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;i&&(n[1].end={...p.get(i)[1].start},l=p.slice(i,r),l.unshift(n),p.splice(i,r-i+1,l))}}return Jt(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!c}function dx(e,t){const r=e.get(t)[1],n=e.get(t)[2];let i=t-1;const a=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const l=s.events,u=[],c={};let p,h,m=-1,d=r,b=0,k=0;const _=[k];for(;d;){for(;e.get(++i)[1]!==d;);a.push(i),d._tokenizer||(p=n.sliceStream(d),d.next||p.push(null),h&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(p),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=d,d=d.next}for(d=r;++m<l.length;)l[m][0]==="exit"&&l[m-1][0]==="enter"&&l[m][1].type===l[m-1][1].type&&l[m][1].start.line!==l[m][1].end.line&&(k=m+1,_.push(k),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):_.pop(),m=_.length;m--;){const S=l.slice(_[m],_[m+1]),A=a.pop();u.push([A,A+S.length-1]),e.splice(A,2,S)}for(u.reverse(),m=-1;++m<u.length;)c[b+u[m][0]]=b+u[m][1],b+=u[m][1]-u[m][0]-1;return c}const mx={resolve:xx,tokenize:yx},gx={partial:!0,tokenize:vx};function xx(e){return Gp(e),e}function yx(e,t){let r;return n;function n(l){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?a(l):ce(l)?e.check(gx,s,a)(l):(e.consume(l),i)}function a(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function s(l){return e.consume(l),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function vx(e,t,r){const n=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),_e(e,a,"linePrefix")}function a(s){if(s===null||ce(s))return r(s);const l=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function Jp(e,t,r,n,i,a,s,l,u){const c=u||Number.POSITIVE_INFINITY;let p=0;return h;function h(S){return S===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(S),e.exit(a),m):S===null||S===32||S===41||za(S)?r(S):(e.enter(n),e.enter(s),e.enter(l),e.enter("chunkString",{contentType:"string"}),k(S))}function m(S){return S===62?(e.enter(a),e.consume(S),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),d(S))}function d(S){return S===62?(e.exit("chunkString"),e.exit(l),m(S)):S===null||S===60||ce(S)?r(S):(e.consume(S),S===92?b:d)}function b(S){return S===60||S===62||S===92?(e.consume(S),d):d(S)}function k(S){return!p&&(S===null||S===41||Pe(S))?(e.exit("chunkString"),e.exit(l),e.exit(s),e.exit(n),t(S)):p<c&&S===40?(e.consume(S),p++,k):S===41?(e.consume(S),p--,k):S===null||S===32||S===40||za(S)?r(S):(e.consume(S),S===92?_:k)}function _(S){return S===40||S===41||S===92?(e.consume(S),k):k(S)}}function Wp(e,t,r,n,i,a){const s=this;let l=0,u;return c;function c(d){return e.enter(n),e.enter(i),e.consume(d),e.exit(i),e.enter(a),p}function p(d){return l>999||d===null||d===91||d===93&&!u||d===94&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?r(d):d===93?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(n),t):ce(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),h(d))}function h(d){return d===null||d===91||d===93||ce(d)||l++>999?(e.exit("chunkString"),p(d)):(e.consume(d),u||(u=!Ce(d)),d===92?m:h)}function m(d){return d===91||d===92||d===93?(e.consume(d),l++,h):h(d)}}function Xp(e,t,r,n,i,a){let s;return l;function l(m){return m===34||m===39||m===40?(e.enter(n),e.enter(i),e.consume(m),e.exit(i),s=m===40?41:m,u):r(m)}function u(m){return m===s?(e.enter(i),e.consume(m),e.exit(i),e.exit(n),t):(e.enter(a),c(m))}function c(m){return m===s?(e.exit(a),u(s)):m===null?r(m):ce(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),_e(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===s||m===null||ce(m)?(e.exit("chunkString"),c(m)):(e.consume(m),m===92?h:p)}function h(m){return m===s||m===92?(e.consume(m),p):p(m)}}function Ci(e,t){let r;return n;function n(i){return ce(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):Ce(i)?_e(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function xr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const bx={name:"definition",tokenize:kx},wx={partial:!0,tokenize:Sx};function kx(e,t,r){const n=this;let i;return a;function a(d){return e.enter("definition"),s(d)}function s(d){return Wp.call(n,e,l,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function l(d){return i=xr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),u):r(d)}function u(d){return Pe(d)?Ci(e,c)(d):c(d)}function c(d){return Jp(e,p,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function p(d){return e.attempt(wx,h,h)(d)}function h(d){return Ce(d)?_e(e,m,"whitespace")(d):m(d)}function m(d){return d===null||ce(d)?(e.exit("definition"),n.parser.defined.push(i),t(d)):r(d)}}function Sx(e,t,r){return n;function n(l){return Pe(l)?Ci(e,i)(l):r(l)}function i(l){return Xp(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function a(l){return Ce(l)?_e(e,s,"whitespace")(l):s(l)}function s(l){return l===null||ce(l)?t(l):r(l)}}const Cx={name:"hardBreakEscape",tokenize:Ex};function Ex(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return ce(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const _x={name:"headingAtx",resolve:Ax,tokenize:Tx};function Ax(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Jt(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function Tx(e,t,r){let n=0;return i;function i(p){return e.enter("atxHeading"),a(p)}function a(p){return e.enter("atxHeadingSequence"),s(p)}function s(p){return p===35&&n++<6?(e.consume(p),s):p===null||Pe(p)?(e.exit("atxHeadingSequence"),l(p)):r(p)}function l(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||ce(p)?(e.exit("atxHeading"),t(p)):Ce(p)?_e(e,l,"whitespace")(p):(e.enter("atxHeadingText"),c(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),l(p))}function c(p){return p===null||p===35||Pe(p)?(e.exit("atxHeadingText"),l(p)):(e.consume(p),c)}}const Ix=["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"],H0=["pre","script","style","textarea"],Nx={concrete:!0,name:"htmlFlow",resolveTo:Bx,tokenize:Lx},Mx={partial:!0,tokenize:Dx},Px={partial:!0,tokenize:Rx};function Bx(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(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}function Lx(e,t,r){const n=this;let i,a,s,l,u;return c;function c(O){return p(O)}function p(O){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(O),h}function h(O){return O===33?(e.consume(O),m):O===47?(e.consume(O),a=!0,k):O===63?(e.consume(O),i=3,n.interrupt?t:z):_t(O)?(e.consume(O),s=String.fromCharCode(O),_):r(O)}function m(O){return O===45?(e.consume(O),i=2,d):O===91?(e.consume(O),i=5,l=0,b):_t(O)?(e.consume(O),i=4,n.interrupt?t:z):r(O)}function d(O){return O===45?(e.consume(O),n.interrupt?t:z):r(O)}function b(O){const nt="CDATA[";return O===nt.charCodeAt(l++)?(e.consume(O),l===nt.length?n.interrupt?t:W:b):r(O)}function k(O){return _t(O)?(e.consume(O),s=String.fromCharCode(O),_):r(O)}function _(O){if(O===null||O===47||O===62||Pe(O)){const nt=O===47,tt=s.toLowerCase();return!nt&&!a&&H0.includes(tt)?(i=1,n.interrupt?t(O):W(O)):Ix.includes(s.toLowerCase())?(i=6,nt?(e.consume(O),S):n.interrupt?t(O):W(O)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(O):a?A(O):N(O))}return O===45||Tt(O)?(e.consume(O),s+=String.fromCharCode(O),_):r(O)}function S(O){return O===62?(e.consume(O),n.interrupt?t:W):r(O)}function A(O){return Ce(O)?(e.consume(O),A):j(O)}function N(O){return O===47?(e.consume(O),j):O===58||O===95||_t(O)?(e.consume(O),F):Ce(O)?(e.consume(O),N):j(O)}function F(O){return O===45||O===46||O===58||O===95||Tt(O)?(e.consume(O),F):P(O)}function P(O){return O===61?(e.consume(O),g):Ce(O)?(e.consume(O),P):N(O)}function g(O){return O===null||O===60||O===61||O===62||O===96?r(O):O===34||O===39?(e.consume(O),u=O,M):Ce(O)?(e.consume(O),g):V(O)}function M(O){return O===u?(e.consume(O),u=null,U):O===null||ce(O)?r(O):(e.consume(O),M)}function V(O){return O===null||O===34||O===39||O===47||O===60||O===61||O===62||O===96||Pe(O)?P(O):(e.consume(O),V)}function U(O){return O===47||O===62||Ce(O)?N(O):r(O)}function j(O){return O===62?(e.consume(O),J):r(O)}function J(O){return O===null||ce(O)?W(O):Ce(O)?(e.consume(O),J):r(O)}function W(O){return O===45&&i===2?(e.consume(O),me):O===60&&i===1?(e.consume(O),xe):O===62&&i===4?(e.consume(O),Ye):O===63&&i===3?(e.consume(O),z):O===93&&i===5?(e.consume(O),Ve):ce(O)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Mx,Fe,ae)(O)):O===null||ce(O)?(e.exit("htmlFlowData"),ae(O)):(e.consume(O),W)}function ae(O){return e.check(Px,Q,Fe)(O)}function Q(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),Z}function Z(O){return O===null||ce(O)?ae(O):(e.enter("htmlFlowData"),W(O))}function me(O){return O===45?(e.consume(O),z):W(O)}function xe(O){return O===47?(e.consume(O),s="",Be):W(O)}function Be(O){if(O===62){const nt=s.toLowerCase();return H0.includes(nt)?(e.consume(O),Ye):W(O)}return _t(O)&&s.length<8?(e.consume(O),s+=String.fromCharCode(O),Be):W(O)}function Ve(O){return O===93?(e.consume(O),z):W(O)}function z(O){return O===62?(e.consume(O),Ye):O===45&&i===2?(e.consume(O),z):W(O)}function Ye(O){return O===null||ce(O)?(e.exit("htmlFlowData"),Fe(O)):(e.consume(O),Ye)}function Fe(O){return e.exit("htmlFlow"),t(O)}}function Rx(e,t,r){const n=this;return i;function i(s){return ce(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):r(s)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function Dx(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ni,t,r)}}const Fx={name:"htmlText",tokenize:zx};function zx(e,t,r){const n=this;let i,a,s;return l;function l(z){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(z),u}function u(z){return z===33?(e.consume(z),c):z===47?(e.consume(z),P):z===63?(e.consume(z),N):_t(z)?(e.consume(z),V):r(z)}function c(z){return z===45?(e.consume(z),p):z===91?(e.consume(z),a=0,b):_t(z)?(e.consume(z),A):r(z)}function p(z){return z===45?(e.consume(z),d):r(z)}function h(z){return z===null?r(z):z===45?(e.consume(z),m):ce(z)?(s=h,xe(z)):(e.consume(z),h)}function m(z){return z===45?(e.consume(z),d):h(z)}function d(z){return z===62?me(z):z===45?m(z):h(z)}function b(z){const Ye="CDATA[";return z===Ye.charCodeAt(a++)?(e.consume(z),a===Ye.length?k:b):r(z)}function k(z){return z===null?r(z):z===93?(e.consume(z),_):ce(z)?(s=k,xe(z)):(e.consume(z),k)}function _(z){return z===93?(e.consume(z),S):k(z)}function S(z){return z===62?me(z):z===93?(e.consume(z),S):k(z)}function A(z){return z===null||z===62?me(z):ce(z)?(s=A,xe(z)):(e.consume(z),A)}function N(z){return z===null?r(z):z===63?(e.consume(z),F):ce(z)?(s=N,xe(z)):(e.consume(z),N)}function F(z){return z===62?me(z):N(z)}function P(z){return _t(z)?(e.consume(z),g):r(z)}function g(z){return z===45||Tt(z)?(e.consume(z),g):M(z)}function M(z){return ce(z)?(s=M,xe(z)):Ce(z)?(e.consume(z),M):me(z)}function V(z){return z===45||Tt(z)?(e.consume(z),V):z===47||z===62||Pe(z)?U(z):r(z)}function U(z){return z===47?(e.consume(z),me):z===58||z===95||_t(z)?(e.consume(z),j):ce(z)?(s=U,xe(z)):Ce(z)?(e.consume(z),U):me(z)}function j(z){return z===45||z===46||z===58||z===95||Tt(z)?(e.consume(z),j):J(z)}function J(z){return z===61?(e.consume(z),W):ce(z)?(s=J,xe(z)):Ce(z)?(e.consume(z),J):U(z)}function W(z){return z===null||z===60||z===61||z===62||z===96?r(z):z===34||z===39?(e.consume(z),i=z,ae):ce(z)?(s=W,xe(z)):Ce(z)?(e.consume(z),W):(e.consume(z),Q)}function ae(z){return z===i?(e.consume(z),i=void 0,Z):z===null?r(z):ce(z)?(s=ae,xe(z)):(e.consume(z),ae)}function Q(z){return z===null||z===34||z===39||z===60||z===61||z===96?r(z):z===47||z===62||Pe(z)?U(z):(e.consume(z),Q)}function Z(z){return z===47||z===62||Pe(z)?U(z):r(z)}function me(z){return z===62?(e.consume(z),e.exit("htmlTextData"),e.exit("htmlText"),t):r(z)}function xe(z){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),Be}function Be(z){return Ce(z)?_e(e,Ve,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):Ve(z)}function Ve(z){return e.enter("htmlTextData"),s(z)}}const El={name:"labelEnd",resolveAll:qx,resolveTo:Hx,tokenize:Ux},Ox={tokenize:$x},Vx={tokenize:Gx},jx={tokenize:Jx};function qx(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&Jt(e,0,e.length,r),e}function Hx(e,t){let r=e.length,n=0,i,a,s,l;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(s=r);const u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},p={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[s-2][1].start}};return l=[["enter",u,t],["enter",c,t]],l=ir(l,e.slice(a+1,a+n+3)),l=ir(l,[["enter",p,t]]),l=ir(l,ds(t.parser.constructs.insideSpan.null,e.slice(a+n+4,s-3),t)),l=ir(l,[["exit",p,t],e[s-2],e[s-1],["exit",c,t]]),l=ir(l,e.slice(s+1)),l=ir(l,[["exit",u,t]]),Jt(e,a,e.length,l),e}function Ux(e,t,r){const n=this;let i=n.events.length,a,s;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return l;function l(m){return a?a._inactive?h(m):(s=n.parser.defined.includes(xr(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelEnd"),u):r(m)}function u(m){return m===40?e.attempt(Ox,p,s?p:h)(m):m===91?e.attempt(Vx,p,s?c:h)(m):s?p(m):h(m)}function c(m){return e.attempt(jx,p,h)(m)}function p(m){return t(m)}function h(m){return a._balanced=!0,r(m)}}function $x(e,t,r){return n;function n(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return Pe(h)?Ci(e,a)(h):a(h)}function a(h){return h===41?p(h):Jp(e,s,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function s(h){return Pe(h)?Ci(e,u)(h):p(h)}function l(h){return r(h)}function u(h){return h===34||h===39||h===40?Xp(e,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):p(h)}function c(h){return Pe(h)?Ci(e,p)(h):p(h)}function p(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):r(h)}}function Gx(e,t,r){const n=this;return i;function i(l){return Wp.call(n,e,a,s,"reference","referenceMarker","referenceString")(l)}function a(l){return n.parser.defined.includes(xr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(l):r(l)}function s(l){return r(l)}}function Jx(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const Wx={name:"labelStartImage",resolveAll:El.resolveAll,tokenize:Xx};function Xx(e,t,r){const n=this;return i;function i(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),a}function a(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),s):r(l)}function s(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):t(l)}}const Yx={name:"labelStartLink",resolveAll:El.resolveAll,tokenize:Kx};function Kx(e,t,r){const n=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const Ks={name:"lineEnding",tokenize:Qx};function Qx(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),_e(e,t,"linePrefix")}}const Aa={name:"thematicBreak",tokenize:Zx};function Zx(e,t,r){let n=0,i;return a;function a(c){return e.enter("thematicBreak"),s(c)}function s(c){return i=c,l(c)}function l(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):n>=3&&(c===null||ce(c))?(e.exit("thematicBreak"),t(c)):r(c)}function u(c){return c===i?(e.consume(c),n++,u):(e.exit("thematicBreakSequence"),Ce(c)?_e(e,l,"whitespace")(c):l(c))}}const zt={continuation:{tokenize:n3},exit:a3,name:"list",tokenize:r3},e3={partial:!0,tokenize:s3},t3={partial:!0,tokenize:i3};function r3(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return l;function l(d){const b=n.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||d===n.containerState.marker:Ho(d)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(Aa,r,c)(d):c(d);if(!n.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(d)}return r(d)}function u(d){return Ho(d)&&++s<10?(e.consume(d),u):(!n.interrupt||s<2)&&(n.containerState.marker?d===n.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):r(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||d,e.check(ni,n.interrupt?r:p,e.attempt(e3,m,h))}function p(d){return n.containerState.initialBlankLine=!0,a++,m(d)}function h(d){return Ce(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),m):r(d)}function m(d){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function n3(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(ni,i,a);function i(l){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,_e(e,t,"listItemIndent",n.containerState.size+1)(l)}function a(l){return n.containerState.furtherBlankLines||!Ce(l)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(l)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(t3,t,s)(l))}function s(l){return n.containerState._closeFlow=!0,n.interrupt=void 0,_e(e,e.attempt(zt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function i3(e,t,r){const n=this;return _e(e,i,"listItemIndent",n.containerState.size+1);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(a):r(a)}}function a3(e){e.exit(this.containerState.type)}function s3(e,t,r){const n=this;return _e(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=n.events[n.events.length-1];return!Ce(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const U0={name:"setextUnderline",resolveTo:o3,tokenize:l3};function o3(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end={...e[a][1].end}):e[n][1]=s,e.push(["exit",s,t]),e}function l3(e,t,r){const n=this;let i;return a;function a(c){let p=n.events.length,h;for(;p--;)if(n.events[p][1].type!=="lineEnding"&&n.events[p][1].type!=="linePrefix"&&n.events[p][1].type!=="content"){h=n.events[p][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(e.enter("setextHeadingLine"),i=c,s(c)):r(c)}function s(c){return e.enter("setextHeadingLineSequence"),l(c)}function l(c){return c===i?(e.consume(c),l):(e.exit("setextHeadingLineSequence"),Ce(c)?_e(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||ce(c)?(e.exit("setextHeadingLine"),t(c)):r(c)}}const u3={tokenize:p3,partial:!0},$0="https://github.com/micromark/micromark-extension-mdxjs-esm",c3=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function h3(e){const t={tokenize:i,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw new Error("Expected an `acorn` instance passed in as `options.acorn`");const r=e.acorn,n=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}};function i(a,s,l){const u=this,c=u.parser.definedModuleSpecifiers||(u.parser.definedModuleSpecifiers=[]),p=this.events.length+1;let h="";return u.interrupt?l:m;function m(A){return u.now().column>1?l(A):(a.enter("mdxjsEsm"),a.enter("mdxjsEsmData"),a.consume(A),h+=String.fromCharCode(A),d)}function d(A){return _t(A)?(a.consume(A),h+=String.fromCharCode(A),d):(h==="import"||h==="export")&&A===32?(a.consume(A),b):l(A)}function b(A){return A===null||ce(A)?(a.exit("mdxjsEsmData"),k(A)):(a.consume(A),b)}function k(A){return A===null?S(A):ce(A)?a.check(u3,S,_)(A):(a.enter("mdxjsEsmData"),b(A))}function _(A){return a.enter("lineEnding"),a.consume(A),a.exit("lineEnding"),k}function S(A){const N=jp(u.events.slice(p),{acorn:r,acornOptions:n,tokenTypes:["mdxjsEsmData"],prefix:c.length>0?"var "+c.join(",")+`
|
|
40
|
+
`:""});if(N.error){if(A!==null&&N.swallow)return _(A);const P=new Oe("Could not parse import/exports with acorn",{cause:N.error,place:{line:N.error.loc.line,column:N.error.loc.column+1,offset:N.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw P.url=$0+"#could-not-parse-importexports-with-acorn",P}c.length>0&&N.estree.body.shift();let F=-1;for(;++F<N.estree.body.length;){const P=N.estree.body[F];if(!c3.has(P.type)){const g=new Oe("Unexpected `"+P.type+"` in code: only import/exports are supported",{place:qr(P),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw g.url=$0+"#unexpected-type-in-code-only-importexports-are-supported",g}if(P.type==="ImportDeclaration"&&!u.interrupt){let g=-1;for(;++g<P.specifiers.length;){const M=P.specifiers[g];c.push(M.local.name)}}}return Object.assign(a.exit("mdxjsEsm"),e.addResult?{estree:N.estree}:void 0),s(A)}}}function p3(e,t,r){return n;function n(i){return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),e.attempt(ni,t,r)}}const G0={}.hasOwnProperty;function _l(e){const t={};let r=-1;for(;++r<e.length;)f3(t,e[r]);return t}function f3(e,t){let r;for(r in t){const i=(G0.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let s;if(a)for(s in a){G0.call(i,s)||(i[s]=[]);const l=a[s];d3(i[s],Array.isArray(l)?l:l?[l]:[])}}}function d3(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Jt(e,0,0,n)}function m3(e){const t=Object.assign({acorn:dt.extend(Mh()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return _l([h3(t),q4(t),G4(t),J4()])}const g3={};function x3(e){const t=this,r=e||g3,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(m3(r)),a.push(O2()),s.push(V2(r))}const y3={};function Al(e,t){const r=y3,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Yp(e,n,i)}function Yp(e,t,r){if(v3(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return J0(e.children,t,r)}return Array.isArray(e)?J0(e,t,r):""}function J0(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=Yp(e[i],t,r);return n.join("")}function v3(e){return!!(e&&typeof e=="object")}function Kp(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function ii(e){const t=[];let r=-1,n=0,i=0;for(;++r<e.length;){const a=e.charCodeAt(r);let s="";if(a===37&&Tt(e.charCodeAt(r+1))&&Tt(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const l=e.charCodeAt(r+1);a<56320&&l>56319&&l<57344?(s=String.fromCharCode(a,l),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+i+1,s=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}const b3={tokenize:w3};function w3(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),_e(e,t,"linePrefix")}function i(l){return e.enter("paragraph"),a(l)}function a(l){const u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,s(l)}function s(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return ce(l)?(e.consume(l),e.exit("chunkText"),a):(e.consume(l),s)}}const k3={tokenize:S3},W0={tokenize:C3};function S3(e){const t=this,r=[];let n=0,i,a,s;return l;function l(N){if(n<r.length){const F=r[n];return t.containerState=F[1],e.attempt(F[0].continuation,u,c)(N)}return c(N)}function u(N){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&A();const F=t.events.length;let P=F,g;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){g=t.events[P][1].end;break}S(n);let M=F;for(;M<t.events.length;)t.events[M][1].end={...g},M++;return Jt(t.events,P+1,0,t.events.slice(F)),t.events.length=M,c(N)}return l(N)}function c(N){if(n===r.length){if(!i)return m(N);if(i.currentConstruct&&i.currentConstruct.concrete)return b(N);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(W0,p,h)(N)}function p(N){return i&&A(),S(n),m(N)}function h(N){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,b(N)}function m(N){return t.containerState={},e.attempt(W0,d,b)(N)}function d(N){return n++,r.push([t.currentConstruct,t.containerState]),m(N)}function b(N){if(N===null){i&&A(),S(0),e.consume(N);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),k(N)}function k(N){if(N===null){_(e.exit("chunkFlow"),!0),S(0),e.consume(N);return}return ce(N)?(e.consume(N),_(e.exit("chunkFlow")),n=0,t.interrupt=void 0,l):(e.consume(N),k)}function _(N,F){const P=t.sliceStream(N);if(F&&P.push(null),N.previous=a,a&&(a.next=N),a=N,i.defineSkip(N.start),i.write(P),t.parser.lazy[N.start.line]){let g=i.events.length;for(;g--;)if(i.events[g][1].start.offset<s&&(!i.events[g][1].end||i.events[g][1].end.offset>s))return;const M=t.events.length;let V=M,U,j;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){if(U){j=t.events[V][1].end;break}U=!0}for(S(n),g=M;g<t.events.length;)t.events[g][1].end={...j},g++;Jt(t.events,V+1,0,t.events.slice(M)),t.events.length=g}}function S(N){let F=r.length;for(;F-- >N;){const P=r[F];t.containerState=P[1],P[0].exit.call(t,e)}r.length=N}function A(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function C3(e,t,r){return _e(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const E3={tokenize:_3};function _3(e){const t=this,r=e.attempt(ni,n,e.attempt(this.parser.constructs.flowInitial,i,_e(e,e.attempt(this.parser.constructs.flow,i,e.attempt(mx,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const A3={resolveAll:Zp()},T3=Qp("string"),I3=Qp("text");function Qp(e){return{resolveAll:Zp(e==="text"?N3:void 0),tokenize:t};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,s,l);return s;function s(p){return c(p)?a(p):l(p)}function l(p){if(p===null){r.consume(p);return}return r.enter("data"),r.consume(p),u}function u(p){return c(p)?(r.exit("data"),a(p)):(r.consume(p),u)}function c(p){if(p===null)return!0;const h=i[p];let m=-1;if(h)for(;++m<h.length;){const d=h[m];if(!d.previous||d.previous.call(n,n.previous))return!0}return!1}}}function Zp(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function N3(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,s=-1,l=0,u;for(;a--;){const c=i[a];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)l++,s--;if(s)break;s=-1}else if(c===-2)u=!0,l++;else if(c!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){const c={type:r===e.length||u||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:n.start._bufferIndex+s,_index:n.start._index+a,line:n.end.line,column:n.end.column-l,offset:n.end.offset-l},end:{...n.end}};n.end={...c.start},n.start.offset===n.end.offset?Object.assign(n,c):(e.splice(r,0,["enter",c,t],["exit",c,t]),r+=2)}r++}return e}const M3={42:zt,43:zt,45:zt,48:zt,49:zt,50:zt,51:zt,52:zt,53:zt,54:zt,55:zt,56:zt,57:zt,62:Hp},P3={91:bx},B3={[-2]:Ys,[-1]:Ys,32:Ys},L3={35:_x,42:Aa,45:[U0,Aa],60:Nx,61:U0,95:Aa,96:q0,126:q0},R3={38:$p,92:Up},D3={[-5]:Ks,[-4]:Ks,[-3]:Ks,33:Wx,38:$p,42:Uo,60:[Y4,Fx],91:Yx,92:[Cx,Up],93:El,95:Uo,96:ux},F3={null:[Uo,A3]},z3={null:[42,95]},O3={null:[]},V3=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:z3,contentInitial:P3,disable:O3,document:M3,flow:L3,flowInitial:B3,insideSpan:F3,string:R3,text:D3},Symbol.toStringTag,{value:"Module"}));function j3(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const i={},a=[];let s=[],l=[];const u={attempt:M(P),check:M(g),consume:A,enter:N,exit:F,interrupt:M(g,{interrupt:!0})},c={code:null,containerState:{},defineSkip:k,events:[],now:b,parser:e,previous:null,sliceSerialize:m,sliceStream:d,write:h};let p=t.tokenize.call(c,u);return t.resolveAll&&a.push(t),c;function h(J){return s=ir(s,J),_(),s[s.length-1]!==null?[]:(V(t,0),c.events=ds(a,c.events,c),c.events)}function m(J,W){return H3(d(J),W)}function d(J){return q3(s,J)}function b(){const{_bufferIndex:J,_index:W,line:ae,column:Q,offset:Z}=n;return{_bufferIndex:J,_index:W,line:ae,column:Q,offset:Z}}function k(J){i[J.line]=J.column,j()}function _(){let J;for(;n._index<s.length;){const W=s[n._index];if(typeof W=="string")for(J=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===J&&n._bufferIndex<W.length;)S(W.charCodeAt(n._bufferIndex));else S(W)}}function S(J){p=p(J)}function A(J){ce(J)?(n.line++,n.column=1,n.offset+=J===-3?2:1,j()):J!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=J}function N(J,W){const ae=W||{};return ae.type=J,ae.start=b(),c.events.push(["enter",ae,c]),l.push(ae),ae}function F(J){const W=l.pop();return W.end=b(),c.events.push(["exit",W,c]),W}function P(J,W){V(J,W.from)}function g(J,W){W.restore()}function M(J,W){return ae;function ae(Q,Z,me){let xe,Be,Ve,z;return Array.isArray(Q)?Fe(Q):"tokenize"in Q?Fe([Q]):Ye(Q);function Ye(Ue){return bt;function bt(ut){const at=ut!==null&&Ue[ut],st=ut!==null&&Ue.null,ct=[...Array.isArray(at)?at:at?[at]:[],...Array.isArray(st)?st:st?[st]:[]];return Fe(ct)(ut)}}function Fe(Ue){return xe=Ue,Be=0,Ue.length===0?me:O(Ue[Be])}function O(Ue){return bt;function bt(ut){return z=U(),Ve=Ue,Ue.partial||(c.currentConstruct=Ue),Ue.name&&c.parser.constructs.disable.null.includes(Ue.name)?tt():Ue.tokenize.call(W?Object.assign(Object.create(c),W):c,u,nt,tt)(ut)}}function nt(Ue){return J(Ve,z),Z}function tt(Ue){return z.restore(),++Be<xe.length?O(xe[Be]):me}}}function V(J,W){J.resolveAll&&!a.includes(J)&&a.push(J),J.resolve&&Jt(c.events,W,c.events.length-W,J.resolve(c.events.slice(W),c)),J.resolveTo&&(c.events=J.resolveTo(c.events,c))}function U(){const J=b(),W=c.previous,ae=c.currentConstruct,Q=c.events.length,Z=Array.from(l);return{from:Q,restore:me};function me(){n=J,c.previous=W,c.currentConstruct=ae,c.events.length=Q,l=Z,j()}}function j(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function q3(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(r===i)s=[e[r].slice(n,a)];else{if(s=e.slice(r,i),n>-1){const l=s[0];typeof l=="string"?s[0]=l.slice(n):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function H3(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
|
|
41
|
+
`;break}case-3:{s=`\r
|
|
42
|
+
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,n.push(s)}return n.join("")}function U3(e){const n={constructs:_l([V3,...(e||{}).extensions||[]]),content:i(b3),defined:[],document:i(k3),flow:i(E3),lazy:{},string:i(T3),text:i(I3)};return n;function i(a){return s;function s(l){return j3(n,a,l)}}}function $3(e){for(;!Gp(e););return e}const X0=/[\0\t\n\r]/g;function G3(){let e=1,t="",r=!0,n;return i;function i(a,s,l){const u=[];let c,p,h,m,d;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),h=0,t="",r&&(a.charCodeAt(0)===65279&&h++,r=void 0);h<a.length;){if(X0.lastIndex=h,c=X0.exec(a),m=c&&c.index!==void 0?c.index:a.length,d=a.charCodeAt(m),!c){t=a.slice(h);break}if(d===10&&h===m&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),h<m&&(u.push(a.slice(h,m)),e+=m-h),d){case 0:{u.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,u.push(-2);e++<p;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}h=m+1}return l&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}const J3=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function W3(e){return e.replace(J3,X3)}function X3(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return Kp(r.slice(a?2:1),a?16:10)}return Ii(r)||e}const ef={}.hasOwnProperty;function Y3(e,t,r){return typeof t!="string"&&(r=t,t=void 0),K3(r)($3(U3(r).document().write(G3()(e,t,!0))))}function K3(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Dt),autolinkProtocol:U,autolinkEmail:U,atxHeading:a(Yt),blockQuote:a(st),characterEscape:U,characterReference:U,codeFenced:a(ct),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(ct,s),codeText:a(Zr,s),codeTextData:U,data:U,codeFlowValue:U,definition:a(yr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(vr),hardBreakEscape:a(pr),hardBreakTrailing:a(pr),htmlFlow:a(wt,s),htmlFlowData:U,htmlText:a(wt,s),htmlTextData:U,image:a(It),label:s,link:a(Dt),listItem:a(Fr),listItemValue:m,listOrdered:a(br,h),listUnordered:a(br),paragraph:a(xn),reference:O,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(Yt),strong:a(kt),thematicBreak:a(yn)},exit:{atxHeading:u(),atxHeadingSequence:P,autolink:u(),autolinkEmail:at,autolinkProtocol:ut,blockQuote:u(),characterEscapeValue:j,characterReferenceMarkerHexadecimal:tt,characterReferenceMarkerNumeric:tt,characterReferenceValue:Ue,characterReference:bt,codeFenced:u(_),codeFencedFence:k,codeFencedFenceInfo:d,codeFencedFenceMeta:b,codeFlowValue:j,codeIndented:u(S),codeText:u(Z),codeTextData:j,data:j,definition:u(),definitionDestinationString:F,definitionLabelString:A,definitionTitleString:N,emphasis:u(),hardBreakEscape:u(W),hardBreakTrailing:u(W),htmlFlow:u(ae),htmlFlowData:j,htmlText:u(Q),htmlTextData:j,image:u(xe),label:Ve,labelText:Be,lineEnding:J,link:u(me),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:nt,resourceDestinationString:z,resourceTitleString:Ye,resource:Fe,setextHeading:u(V),setextHeadingLineSequence:M,setextHeadingText:g,strong:u(),thematicBreak:u()}};tf(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(X){let Y={type:"root",children:[]};const B={stack:[Y],tokenStack:[],config:t,enter:l,exit:c,buffer:s,resume:p,data:r},ge=[];let ze=-1;for(;++ze<X.length;)if(X[ze][1].type==="listOrdered"||X[ze][1].type==="listUnordered")if(X[ze][0]==="enter")ge.push(ze);else{const ht=ge.pop();ze=i(X,ht,ze)}for(ze=-1;++ze<X.length;){const ht=t[X[ze][0]];ef.call(ht,X[ze][1].type)&&ht[X[ze][1].type].call(Object.assign({sliceSerialize:X[ze][2].sliceSerialize},B),X[ze][1])}if(B.tokenStack.length>0){const ht=B.tokenStack[B.tokenStack.length-1];(ht[1]||Y0).call(B,void 0,ht[0])}for(Y.position={start:tn(X.length>0?X[0][1].start:{line:1,column:1,offset:0}),end:tn(X.length>0?X[X.length-2][1].end:{line:1,column:1,offset:0})},ze=-1;++ze<t.transforms.length;)Y=t.transforms[ze](Y)||Y;return Y}function i(X,Y,B){let ge=Y-1,ze=-1,ht=!1,ue,Ut,vn,bn;for(;++ge<=B;){const pt=X[ge];switch(pt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{pt[0]==="enter"?ze++:ze--,bn=void 0;break}case"lineEndingBlank":{pt[0]==="enter"&&(ue&&!bn&&!ze&&!vn&&(vn=ge),bn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:bn=void 0}if(!ze&&pt[0]==="enter"&&pt[1].type==="listItemPrefix"||ze===-1&&pt[0]==="exit"&&(pt[1].type==="listUnordered"||pt[1].type==="listOrdered")){if(ue){let wr=ge;for(Ut=void 0;wr--;){const Kt=X[wr];if(Kt[1].type==="lineEnding"||Kt[1].type==="lineEndingBlank"){if(Kt[0]==="exit")continue;Ut&&(X[Ut][1].type="lineEndingBlank",ht=!0),Kt[1].type="lineEnding",Ut=wr}else if(!(Kt[1].type==="linePrefix"||Kt[1].type==="blockQuotePrefix"||Kt[1].type==="blockQuotePrefixWhitespace"||Kt[1].type==="blockQuoteMarker"||Kt[1].type==="listItemIndent"))break}vn&&(!Ut||vn<Ut)&&(ue._spread=!0),ue.end=Object.assign({},Ut?X[Ut][1].start:pt[1].end),X.splice(Ut||ge,0,["exit",ue,pt[2]]),ge++,B++}if(pt[1].type==="listItemPrefix"){const wr={type:"listItem",_spread:!1,start:Object.assign({},pt[1].start),end:void 0};ue=wr,X.splice(ge,0,["enter",wr,pt[2]]),ge++,B++,vn=void 0,bn=!0}}}return X[Y][1]._spread=ht,B}function a(X,Y){return B;function B(ge){l.call(this,X(ge),ge),Y&&Y.call(this,ge)}}function s(){this.stack.push({type:"fragment",children:[]})}function l(X,Y,B){this.stack[this.stack.length-1].children.push(X),this.stack.push(X),this.tokenStack.push([Y,B||void 0]),X.position={start:tn(Y.start),end:void 0}}function u(X){return Y;function Y(B){X&&X.call(this,B),c.call(this,B)}}function c(X,Y){const B=this.stack.pop(),ge=this.tokenStack.pop();if(ge)ge[0].type!==X.type&&(Y?Y.call(this,X,ge[0]):(ge[1]||Y0).call(this,X,ge[0]));else throw new Error("Cannot close `"+X.type+"` ("+or({start:X.start,end:X.end})+"): it’s not open");B.position.end=tn(X.end)}function p(){return Al(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function m(X){if(this.data.expectingFirstListItemValue){const Y=this.stack[this.stack.length-2];Y.start=Number.parseInt(this.sliceSerialize(X),10),this.data.expectingFirstListItemValue=void 0}}function d(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.lang=X}function b(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.meta=X}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function _(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.value=X.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function S(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.value=X.replace(/(\r?\n|\r)$/g,"")}function A(X){const Y=this.resume(),B=this.stack[this.stack.length-1];B.label=Y,B.identifier=xr(this.sliceSerialize(X)).toLowerCase()}function N(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.title=X}function F(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.url=X}function P(X){const Y=this.stack[this.stack.length-1];if(!Y.depth){const B=this.sliceSerialize(X).length;Y.depth=B}}function g(){this.data.setextHeadingSlurpLineEnding=!0}function M(X){const Y=this.stack[this.stack.length-1];Y.depth=this.sliceSerialize(X).codePointAt(0)===61?1:2}function V(){this.data.setextHeadingSlurpLineEnding=void 0}function U(X){const B=this.stack[this.stack.length-1].children;let ge=B[B.length-1];(!ge||ge.type!=="text")&&(ge=$e(),ge.position={start:tn(X.start),end:void 0},B.push(ge)),this.stack.push(ge)}function j(X){const Y=this.stack.pop();Y.value+=this.sliceSerialize(X),Y.position.end=tn(X.end)}function J(X){const Y=this.stack[this.stack.length-1];if(this.data.atHardBreak){const B=Y.children[Y.children.length-1];B.position.end=tn(X.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Y.type)&&(U.call(this,X),j.call(this,X))}function W(){this.data.atHardBreak=!0}function ae(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.value=X}function Q(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.value=X}function Z(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.value=X}function me(){const X=this.stack[this.stack.length-1];if(this.data.inReference){const Y=this.data.referenceType||"shortcut";X.type+="Reference",X.referenceType=Y,delete X.url,delete X.title}else delete X.identifier,delete X.label;this.data.referenceType=void 0}function xe(){const X=this.stack[this.stack.length-1];if(this.data.inReference){const Y=this.data.referenceType||"shortcut";X.type+="Reference",X.referenceType=Y,delete X.url,delete X.title}else delete X.identifier,delete X.label;this.data.referenceType=void 0}function Be(X){const Y=this.sliceSerialize(X),B=this.stack[this.stack.length-2];B.label=W3(Y),B.identifier=xr(Y).toLowerCase()}function Ve(){const X=this.stack[this.stack.length-1],Y=this.resume(),B=this.stack[this.stack.length-1];if(this.data.inReference=!0,B.type==="link"){const ge=X.children;B.children=ge}else B.alt=Y}function z(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.url=X}function Ye(){const X=this.resume(),Y=this.stack[this.stack.length-1];Y.title=X}function Fe(){this.data.inReference=void 0}function O(){this.data.referenceType="collapsed"}function nt(X){const Y=this.resume(),B=this.stack[this.stack.length-1];B.label=Y,B.identifier=xr(this.sliceSerialize(X)).toLowerCase(),this.data.referenceType="full"}function tt(X){this.data.characterReferenceType=X.type}function Ue(X){const Y=this.sliceSerialize(X),B=this.data.characterReferenceType;let ge;B?(ge=Kp(Y,B==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ge=Ii(Y);const ze=this.stack[this.stack.length-1];ze.value+=ge}function bt(X){const Y=this.stack.pop();Y.position.end=tn(X.end)}function ut(X){j.call(this,X);const Y=this.stack[this.stack.length-1];Y.url=this.sliceSerialize(X)}function at(X){j.call(this,X);const Y=this.stack[this.stack.length-1];Y.url="mailto:"+this.sliceSerialize(X)}function st(){return{type:"blockquote",children:[]}}function ct(){return{type:"code",lang:null,meta:null,value:""}}function Zr(){return{type:"inlineCode",value:""}}function yr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function vr(){return{type:"emphasis",children:[]}}function Yt(){return{type:"heading",depth:0,children:[]}}function pr(){return{type:"break"}}function wt(){return{type:"html",value:""}}function It(){return{type:"image",title:null,url:"",alt:null}}function Dt(){return{type:"link",title:null,url:"",children:[]}}function br(X){return{type:"list",ordered:X.type==="listOrdered",start:null,spread:X._spread,children:[]}}function Fr(X){return{type:"listItem",spread:X._spread,checked:null,children:[]}}function xn(){return{type:"paragraph",children:[]}}function kt(){return{type:"strong",children:[]}}function $e(){return{type:"text",value:""}}function yn(){return{type:"thematicBreak"}}}function tn(e){return{line:e.line,column:e.column,offset:e.offset}}function tf(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?tf(e,n):Q3(e,n)}}function Q3(e,t){let r;for(r in t)if(ef.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function Y0(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+or({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+or({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+or({start:t.start,end:t.end})+") is still open")}function Z3(e){const t=this;t.parser=r;function r(n){return Y3(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function e6(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function t6(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
43
|
+
`}]}function r6(e,t){const r=t.value?t.value+`
|
|
44
|
+
`:"",n={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(n.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function n6(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function i6(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function a6(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),i=ii(n.toLowerCase()),a=e.footnoteOrder.indexOf(n);let s,l=e.footnoteCounts.get(n);l===void 0?(l=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=a+1,l+=1,e.footnoteCounts.set(n,l);const u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)}function s6(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function o6(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function rf(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=n:i.push({type:"text",value:n}),i}function l6(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return rf(e,t);const i={src:ii(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function u6(e,t){const r={src:ii(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function c6(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function h6(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return rf(e,t);const i={href:ii(n.url||"")};n.title!==null&&n.title!==void 0&&(i.title=n.title);const a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function p6(e,t){const r={href:ii(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function f6(e,t,r){const n=e.all(t),i=r?d6(r):nf(t),a={},s=[];if(typeof t.checked=="boolean"){const p=n[0];let h;p&&p.type==="element"&&p.tagName==="p"?h=p:(h={type:"element",tagName:"p",properties:{},children:[]},n.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l<n.length;){const p=n[l];(i||l!==0||p.type!=="element"||p.tagName!=="p")&&s.push({type:"text",value:`
|
|
45
|
+
`}),p.type==="element"&&p.tagName==="p"&&!i?s.push(...p.children):s.push(p)}const u=n[n.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
|
|
46
|
+
`});const c={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,c),e.applyData(t,c)}function d6(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=nf(r[n])}return t}function nf(e){const t=e.spread;return t??e.children.length>1}function m6(e,t){const r={},n=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++i<n.length;){const s=n[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,a),e.applyData(t,a)}function g6(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function x6(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function y6(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function v6(e,t){const r=e.all(t),n=r.shift(),i=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),i.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},l=Jh(t.children[1]),u=Gh(t.children[t.children.length-1]);l&&u&&(s.position={start:l,end:u}),i.push(s)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function b6(e,t,r){const n=r?r.children:void 0,a=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,l=s?s.length:t.children.length;let u=-1;const c=[];for(;++u<l;){const h=t.children[u],m={},d=s?s[u]:void 0;d&&(m.align=d);let b={type:"element",tagName:a,properties:m,children:[]};h&&(b.children=e.all(h),e.patch(h,b),b=e.applyData(h,b)),c.push(b)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,p),e.applyData(t,p)}function w6(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const K0=9,Q0=32;function k6(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),i=0;const a=[];for(;n;)a.push(Z0(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(Z0(t.slice(i),i>0,!1)),a.join("")}function Z0(e,t,r){let n=0,i=e.length;if(t){let a=e.codePointAt(n);for(;a===K0||a===Q0;)n++,a=e.codePointAt(n)}if(r){let a=e.codePointAt(i-1);for(;a===K0||a===Q0;)i--,a=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}function S6(e,t){const r={type:"text",value:k6(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function C6(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const E6={blockquote:e6,break:t6,code:r6,delete:n6,emphasis:i6,footnoteReference:a6,heading:s6,html:o6,imageReference:l6,image:u6,inlineCode:c6,linkReference:h6,link:p6,listItem:f6,list:m6,paragraph:g6,root:x6,strong:y6,table:v6,tableCell:w6,tableRow:b6,text:S6,thematicBreak:C6,toml:la,yaml:la,definition:la,footnoteDefinition:la};function la(){}const af=-1,ms=0,Ei=1,Va=2,Tl=3,Il=4,Nl=5,Ml=6,sf=7,of=8,ec=typeof self=="object"?self:globalThis,_6=(e,t)=>{const r=(i,a)=>(e.set(a,i),i),n=i=>{if(e.has(i))return e.get(i);const[a,s]=t[i];switch(a){case ms:case af:return r(s,i);case Ei:{const l=r([],i);for(const u of s)l.push(n(u));return l}case Va:{const l=r({},i);for(const[u,c]of s)l[n(u)]=n(c);return l}case Tl:return r(new Date(s),i);case Il:{const{source:l,flags:u}=s;return r(new RegExp(l,u),i)}case Nl:{const l=r(new Map,i);for(const[u,c]of s)l.set(n(u),n(c));return l}case Ml:{const l=r(new Set,i);for(const u of s)l.add(n(u));return l}case sf:{const{name:l,message:u}=s;return r(new ec[l](u),i)}case of:return r(BigInt(s),i);case"BigInt":return r(Object(BigInt(s)),i);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:l}=new Uint8Array(s);return r(new DataView(l),s)}}return r(new ec[a](s),i)};return n},tc=e=>_6(new Map,e)(0),Dn="",{toString:A6}={},{keys:T6}=Object,gi=e=>{const t=typeof e;if(t!=="object"||!e)return[ms,t];const r=A6.call(e).slice(8,-1);switch(r){case"Array":return[Ei,Dn];case"Object":return[Va,Dn];case"Date":return[Tl,Dn];case"RegExp":return[Il,Dn];case"Map":return[Nl,Dn];case"Set":return[Ml,Dn];case"DataView":return[Ei,r]}return r.includes("Array")?[Ei,r]:r.includes("Error")?[sf,r]:[Va,r]},ua=([e,t])=>e===ms&&(t==="function"||t==="symbol"),I6=(e,t,r,n)=>{const i=(s,l)=>{const u=n.push(s)-1;return r.set(l,u),u},a=s=>{if(r.has(s))return r.get(s);let[l,u]=gi(s);switch(l){case ms:{let p=s;switch(u){case"bigint":l=of,p=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);p=null;break;case"undefined":return i([af],s)}return i([l,p],s)}case Ei:{if(u){let m=s;return u==="DataView"?m=new Uint8Array(s.buffer):u==="ArrayBuffer"&&(m=new Uint8Array(s)),i([u,[...m]],s)}const p=[],h=i([l,p],s);for(const m of s)p.push(a(m));return h}case Va:{if(u)switch(u){case"BigInt":return i([u,s.toString()],s);case"Boolean":case"Number":case"String":return i([u,s.valueOf()],s)}if(t&&"toJSON"in s)return a(s.toJSON());const p=[],h=i([l,p],s);for(const m of T6(s))(e||!ua(gi(s[m])))&&p.push([a(m),a(s[m])]);return h}case Tl:return i([l,s.toISOString()],s);case Il:{const{source:p,flags:h}=s;return i([l,{source:p,flags:h}],s)}case Nl:{const p=[],h=i([l,p],s);for(const[m,d]of s)(e||!(ua(gi(m))||ua(gi(d))))&&p.push([a(m),a(d)]);return h}case Ml:{const p=[],h=i([l,p],s);for(const m of s)(e||!ua(gi(m)))&&p.push(a(m));return h}}const{message:c}=s;return i([l,{name:u,message:c}],s)};return a},rc=(e,{json:t,lossy:r}={})=>{const n=[];return I6(!(t||r),!!t,new Map,n)(e),n},ja=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?tc(rc(e,t)):structuredClone(e):(e,t)=>tc(rc(e,t));function N6(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function M6(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function P6(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||N6,n=e.options.footnoteBackLabel||M6,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[];let u=-1;for(;++u<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;const p=e.all(c),h=String(c.identifier).toUpperCase(),m=ii(h.toLowerCase());let d=0;const b=[],k=e.footnoteCounts.get(h);for(;k!==void 0&&++d<=k;){b.length>0&&b.push({type:"text",value:" "});let A=typeof r=="string"?r:r(u,d);typeof A=="string"&&(A={type:"text",value:A}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(u,d),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const _=p[p.length-1];if(_&&_.type==="element"&&_.tagName==="p"){const A=_.children[_.children.length-1];A&&A.type==="text"?A.value+=" ":_.children.push({type:"text",value:" "}),_.children.push(...b)}else p.push(...b);const S={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(p,!0)};e.patch(c,S),l.push(S)}if(l.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...ja(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
47
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:`
|
|
48
|
+
`}]}}const Wi=(function(e){if(e==null)return D6;if(typeof e=="function")return gs(e);if(typeof e=="object")return Array.isArray(e)?B6(e):L6(e);if(typeof e=="string")return R6(e);throw new Error("Expected function, string, or object as test")});function B6(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Wi(e[r]);return gs(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function L6(e){const t=e;return gs(r);function r(n){const i=n;let a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function R6(e){return gs(t);function t(r){return r&&r.type===e}}function gs(e){return t;function t(r,n,i){return!!(F6(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function D6(){return!0}function F6(e){return e!==null&&typeof e=="object"&&"type"in e}const lf=[],z6=!0,$o=!1,uf="skip";function Pl(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;const a=Wi(i),s=n?-1:1;l(e,void 0,[])();function l(u,c,p){const h=u&&typeof u=="object"?u:{};if(typeof h.type=="string"){const d=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(m,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})}return m;function m(){let d=lf,b,k,_;if((!t||a(u,c,p[p.length-1]||void 0))&&(d=O6(r(u,p)),d[0]===$o))return d;if("children"in u&&u.children){const S=u;if(S.children&&d[0]!==uf)for(k=(n?S.children.length:-1)+s,_=p.concat(S);k>-1&&k<S.children.length;){const A=S.children[k];if(b=l(A,k,_)(),b[0]===$o)return b;k=typeof b[1]=="number"?b[1]:k+s}}return d}}}function O6(e){return Array.isArray(e)?e:typeof e=="number"?[z6,e]:e==null?lf:[e]}function xs(e,t,r,n){let i,a,s;typeof t=="function"&&typeof r!="function"?(a=void 0,s=t,i=r):(a=t,s=r,i=n),Pl(e,a,l,i);function l(u,c){const p=c[c.length-1],h=p?p.children.indexOf(u):void 0;return s(u,h,p)}}const Go={}.hasOwnProperty,V6={};function j6(e,t){const r=t||V6,n=new Map,i=new Map,a=new Map,s={...E6,...r.handlers},l={all:c,applyData:H6,definitionById:n,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:s,one:u,options:r,patch:q6,wrap:$6};return xs(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const h=p.type==="definition"?n:i,m=String(p.identifier).toUpperCase();h.has(m)||h.set(m,p)}}),l;function u(p,h){const m=p.type,d=l.handlers[m];if(Go.call(l.handlers,m)&&d)return d(l,p,h);if(l.options.passThrough&&l.options.passThrough.includes(m)){if("children"in p){const{children:k,..._}=p,S=ja(_);return S.children=l.all(p),S}return ja(p)}return(l.options.unknownHandler||U6)(l,p,h)}function c(p){const h=[];if("children"in p){const m=p.children;let d=-1;for(;++d<m.length;){const b=l.one(m[d],p);if(b){if(d&&m[d-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=nc(b.value)),!Array.isArray(b)&&b.type==="element")){const k=b.children[0];k&&k.type==="text"&&(k.value=nc(k.value))}Array.isArray(b)?h.push(...b):h.push(b)}}}return h}}function q6(e,t){e.position&&(t.position=Xh(e))}function H6(e,t){let r=t;if(e&&e.data){const n=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&a&&Object.assign(r.properties,ja(a)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function U6(e,t){const r=t.data||{},n="value"in t&&!(Go.call(r,"hProperties")||Go.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function $6(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
|
|
49
|
+
`});++n<e.length;)n&&r.push({type:"text",value:`
|
|
50
|
+
`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
51
|
+
`}),r}function nc(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function ic(e,t){const r=j6(e,t),n=r.one(e,void 0),i=P6(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&a.children.push({type:"text",value:`
|
|
52
|
+
`},i),a}function G6(e,t){return e&&"run"in e?async function(r,n){const i=ic(r,{file:n,...t});await e.run(i,n)}:function(r,n){return ic(r,{file:n,...e||t})}}function ac(e){if(e)throw e}var Qs,sc;function J6(){if(sc)return Qs;sc=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=function(c){return typeof Array.isArray=="function"?Array.isArray(c):t.call(c)==="[object Array]"},a=function(c){if(!c||t.call(c)!=="[object Object]")return!1;var p=e.call(c,"constructor"),h=c.constructor&&c.constructor.prototype&&e.call(c.constructor.prototype,"isPrototypeOf");if(c.constructor&&!p&&!h)return!1;var m;for(m in c);return typeof m>"u"||e.call(c,m)},s=function(c,p){r&&p.name==="__proto__"?r(c,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):c[p.name]=p.newValue},l=function(c,p){if(p==="__proto__")if(e.call(c,p)){if(n)return n(c,p).value}else return;return c[p]};return Qs=function u(){var c,p,h,m,d,b,k=arguments[0],_=1,S=arguments.length,A=!1;for(typeof k=="boolean"&&(A=k,k=arguments[1]||{},_=2),(k==null||typeof k!="object"&&typeof k!="function")&&(k={});_<S;++_)if(c=arguments[_],c!=null)for(p in c)h=l(k,p),m=l(c,p),k!==m&&(A&&m&&(a(m)||(d=i(m)))?(d?(d=!1,b=h&&i(h)?h:[]):b=h&&a(h)?h:{},s(k,{name:p,newValue:u(A,b,m)})):typeof m<"u"&&s(k,{name:p,newValue:m}));return k},Qs}var W6=J6();const Zs=fl(W6);function Jo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function X6(){const e=[],t={run:r,use:n};return t;function r(...i){let a=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);l(null,...i);function l(u,...c){const p=e[++a];let h=-1;if(u){s(u);return}for(;++h<i.length;)(c[h]===null||c[h]===void 0)&&(c[h]=i[h]);i=c,p?Y6(p,l)(...c):s(null,...c)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Y6(e,t){let r;return n;function n(...s){const l=e.length>s.length;let u;l&&s.push(i);try{u=e.apply(this,s)}catch(c){const p=c;if(l&&r)throw p;return i(p)}l||(u&&u.then&&typeof u.then=="function"?u.then(a,i):u instanceof Error?i(u):a(u))}function i(s,...l){r||(r=!0,t(s,...l))}function a(s){i(null,s)}}const K6=(function(e){const n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a}),Q6={}.hasOwnProperty;class Bl extends K6{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=X6()}copy(){const t=new Bl;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(Zs(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(ro("data",this.frozen),this.namespace[t]=r,this):Q6.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ro("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const i=r.call(t,...n);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=ca(t),n=this.parser||this.Parser;return eo("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),eo("process",this.parser||this.Parser),to("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,s){const l=ca(t),u=n.parse(l);n.run(u,l,function(p,h,m){if(p||!h||!m)return c(p);const d=h,b=n.stringify(d,m);t5(b)?m.value=b:m.result=b,c(p,m)});function c(p,h){p||!h?s(p):a?a(h):r(void 0,h)}}}processSync(t){let r=!1,n;return this.freeze(),eo("processSync",this.parser||this.Parser),to("processSync",this.compiler||this.Compiler),this.process(t,i),lc("processSync","process",r),n;function i(a,s){r=!0,ac(a),n=s}}run(t,r,n){oc(t),this.freeze();const i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(s,l){const u=ca(r);i.run(t,u,c);function c(p,h,m){const d=h||t;p?l(p):s?s(d):n(void 0,d,m)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),lc("runSync","run",n),i;function a(s,l){ac(s),i=l,n=!0}}stringify(t,r){this.freeze();const n=ca(r),i=this.compiler||this.Compiler;return to("stringify",i),oc(t),i(t,n)}use(t,...r){const n=this.attachers,i=this.namespace;if(ro("use",this.frozen),t!=null)if(typeof t=="function")u(t,r);else if(typeof t=="object")Array.isArray(t)?l(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[p,...h]=c;u(p,h)}else s(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function s(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(c.plugins),c.settings&&(i.settings=Zs(!0,i.settings,c.settings))}function l(c){let p=-1;if(c!=null)if(Array.isArray(c))for(;++p<c.length;){const h=c[p];a(h)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,p){let h=-1,m=-1;for(;++h<n.length;)if(n[h][0]===c){m=h;break}if(m===-1)n.push([c,...p]);else if(p.length>0){let[d,...b]=p;const k=n[m][1];Jo(k)&&Jo(d)&&(d=Zs(!0,k,d)),n[m]=[c,d,...b]}}}}const Z6=new Bl().freeze();function eo(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function to(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ro(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function oc(e){if(!Jo(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function lc(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ca(e){return e5(e)?e:new Ih(e)}function e5(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function t5(e){return typeof e=="string"||r5(e)}function r5(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function an(e,t){const r=["start","end","loc","range"];let n=-1;for(;++n<r.length;){const i=r[n];i in e&&(t[i]=e[i])}}function Ll(e,t){let r=-1;const n=[],i=[];let a;for(;++r<e.length;){const s=e[r];s.type==="ImportNamespaceSpecifier"?a=s:i.push(s)}if(a){const s={type:"VariableDeclarator",id:a.local,init:t};an(a,s),n.push(s)}return n.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:i.map(function(s){let l=s.type==="ImportSpecifier"?s.imported:s.type==="ExportSpecifier"?s.exported:{type:"Identifier",name:"default"},u=s.local;s.type==="ExportSpecifier"&&(u=l,l=s.local),u.type;const c={type:"Property",kind:"init",shorthand:l.type==="Identifier"&&u.type==="Identifier"&&l.name===u.name,method:!1,computed:!1,key:l,value:u};return an(s,c),c})},init:a?{type:"Identifier",name:a.local.name}:t}),n}function ln(e){let t=-1,r;for(;++t<e.length;){const n=e[t],i=typeof n=="string"&&Ir(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};r=r?{type:"MemberExpression",object:r,property:i,computed:i.type==="Literal",optional:!1}:i}return r.type,r}function uc(e){let t=-1,r;for(;++t<e.length;){const n=e[t];typeof n=="string"&&Ir(n,{jsx:!0});const i={type:"JSXIdentifier",name:n};r=r?{type:"JSXMemberExpression",object:r,property:i}:i}return r}function n5(e){const{outputFormat:t}=e||{};return function(r){if(r.comments&&(r.comments=r.comments.filter(function(n){var i;return!((i=n.data)!=null&&i._mdxIsPragmaComment)})),t==="function-body"){let n=0;for(;n<r.body.length;){const a=r.body[n];if("directive"in a&&a.directive)n++;else break}const i=r.body[n];i&&i.type==="ImportDeclaration"&&typeof i.source.value=="string"&&/\/jsx-(dev-)?runtime$/.test(i.source.value)&&(r.body[n]={type:"VariableDeclaration",kind:"const",declarations:Ll(i.specifiers,ln(["arguments",0]))})}}}function cf(){const e=[{block:!1,defined:[]}];return{enter:t,exit:r,scopes:e};function t(a){if(a.type==="ArrowFunctionExpression"){e.push({block:!1,defined:[]});for(const s of a.params)i(s,!1)}else if(a.type==="BlockStatement"||a.type==="DoWhileStatement"||a.type==="ForInStatement"||a.type==="ForOfStatement"||a.type==="ForStatement"||a.type==="WhileStatement")e.push({block:!0,defined:[]});else if(a.type==="CatchClause")e.push({block:!0,defined:[]}),a.param&&i(a.param,!0);else if(a.type==="ClassDeclaration")n(a.id.name,!1);else if(a.type==="FunctionDeclaration"){n(a.id.name,!1),e.push({block:!1,defined:[]});for(const s of a.params)i(s,!1)}else if(a.type==="FunctionExpression"){a.id&&n(a.id.name,!1),e.push({block:!1,defined:[]});for(const s of a.params)i(s,!1)}else if(a.type==="ImportDeclaration")for(const s of a.specifiers)n(s.local.name,!1);else if(a.type==="VariableDeclaration")for(const s of a.declarations)i(s.id,a.kind!=="var")}function r(a){if(a.type==="ArrowFunctionExpression"||a.type==="FunctionDeclaration"||a.type==="FunctionExpression"){const s=e.pop();s.block}else if(a.type==="BlockStatement"||a.type==="CatchClause"||a.type==="DoWhileStatement"||a.type==="ForInStatement"||a.type==="ForOfStatement"||a.type==="ForStatement"||a.type==="WhileStatement"){const s=e.pop();s.block}}function n(a,s){let l=e.length,u;for(;l--&&(u=e[l],!(s||!u.block)););u.defined.push(a)}function i(a,s){if(a.type==="ArrayPattern")for(const l of a.elements)l&&i(l,s);else if(a.type==="AssignmentPattern")i(a.left,s);else if(a.type==="Identifier")n(a.name,s);else if(a.type==="ObjectPattern")for(const l of a.properties)l.type==="Property"?i(l.value,s):(l.type,i(l,s));else a.type,i(a.argument,s)}}function i5(e){return e.type==="FunctionDeclaration"?{...e,type:"FunctionExpression"}:(e.type,{...e,type:"ClassExpression"})}function a5(e){return e.type==="FunctionDeclaration"||e.type==="ClassDeclaration"||e.type==="VariableDeclaration"}function s5(e){const t=e.baseUrl||void 0,r=typeof t=="object"?t.href:t,n=e.outputFormat||"program",i=e.pragma===void 0?"React.createElement":e.pragma,a=e.pragmaFrag===void 0?"React.Fragment":e.pragmaFrag,s=e.pragmaImportSource||"react",l=e.jsxImportSource||"react",u=e.jsxRuntime||"automatic";return function(p,h){const m=[],d=[];let b=0,k,_,S;if(u==="classic"&&a&&ha(p,"@jsxFrag",a),u==="classic"&&i&&ha(p,"@jsx",i),u==="automatic"&&l&&ha(p,"@jsxImportSource",l),ha(p,"@jsxRuntime",u),u==="classic"&&s){if(!i)throw new Error("Missing `pragma` in classic runtime with `pragmaImportSource`");P({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:i.split(".")[0]}}],attributes:[],source:{type:"Literal",value:s}})}for(S of p.body)if(S.type==="ExportDefaultDeclaration")k&&h.fail("Unexpected duplicate layout, expected a single layout (previous: "+or(qr(k))+")",{ancestors:[p,S],place:qr(S),ruleId:"duplicate-layout",source:"recma-document"}),k=S,d.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:a5(S.declaration)?i5(S.declaration):S.declaration}]});else if(S.type==="ExportNamedDeclaration"&&S.source){const g=S.source;S.specifiers=S.specifiers.filter(function(M){if(M.exported.type==="Identifier"&&M.exported.name==="default"){k&&h.fail("Unexpected duplicate layout, expected a single layout (previous: "+or(qr(k))+")",{ancestors:[p,S,M],place:qr(S),ruleId:"duplicate-layout",source:"recma-document"}),k=M;const V=[];if(M.local.type==="Identifier"&&M.local.name==="default")V.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{const J={type:"ImportSpecifier",imported:M.local,local:{type:"Identifier",name:"MDXLayout"}};an(M.local,J),V.push(J)}const U={type:"Literal",value:g.value};an(g,U);const j={type:"ImportDeclaration",specifiers:V,attributes:[],source:U};return an(M,j),P(j),!1}return!0}),S.specifiers.length>0&&F(S)}else S.type==="ExportNamedDeclaration"||S.type==="ExportAllDeclaration"?F(S):S.type==="ImportDeclaration"?P(S):S.type==="ExpressionStatement"&&(S.expression.type==="JSXElement"||S.expression.type==="JSXFragment")?(_=!0,d.push(...c(S.expression,n,!!k))):d.push(S);_||d.push(...c(void 0,n,!!k)),m.push(["MDXContent","default"]),n==="function-body"&&d.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:b}).map(function(g,M){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(M+1)}}}),...m.map(function(g){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:typeof g=="string",key:{type:"Identifier",name:typeof g=="string"?g:g[1]},value:{type:"Identifier",name:typeof g=="string"?g:g[0]}}})]}}),p.body=d;let A=!1,N=!1;(r||n==="function-body")&&qn(p,{enter(g){if((g.type==="ExportAllDeclaration"||g.type==="ExportNamedDeclaration"||g.type==="ImportDeclaration")&&g.source){let M=g.source.value;try{new URL(M)}catch{(M.startsWith("/")||M.startsWith("./")||M.startsWith("../"))&&(M=new URL(M,r).href)}const V={type:"Literal",value:M};an(g.source,V),g.source=V;return}if(g.type==="ImportExpression"){N=!0;const M={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[g.source],optional:!1};g.source=M;return}if(g.type==="MemberExpression"&&"object"in g&&g.object.type==="MetaProperty"&&g.property.type==="Identifier"&&g.object.meta.name==="import"&&g.object.property.name==="meta"&&g.property.name==="url"){A=!0;const M={type:"Identifier",name:"_importMetaUrl"};an(g,M),this.replace(M)}}}),N&&(r||(A=!0),p.body.push(o5(r?{type:"Literal",value:r}:{type:"Identifier",name:"_importMetaUrl"}))),A&&p.body.unshift(...l5());function F(g){if(g.type==="ExportNamedDeclaration"){if(g.declaration){const M=cf();qn(g,{enter(V){M.enter(V),(V.type==="ArrowFunctionExpression"||V.type==="FunctionDeclaration"||V.type==="FunctionExpression")&&(this.skip(),M.exit(V))},leave:M.exit}),m.push(...M.scopes[0].defined)}for(S of g.specifiers)S.exported.type==="Identifier"?m.push(S.exported.name):(S.exported.value,m.push(S.exported.value))}P(g)}function P(g){let M,V;if(n==="function-body")if(g.type==="ImportDeclaration"||g.type==="ExportAllDeclaration"||g.type==="ExportNamedDeclaration"&&g.source){g.source;const U={type:"ImportExpression",source:g.source};an(g,U),V={type:"AwaitExpression",argument:U},(g.type==="ImportDeclaration"||g.type==="ExportNamedDeclaration")&&g.specifiers.length===0?M={type:"ExpressionStatement",expression:V}:M={type:"VariableDeclaration",kind:"const",declarations:g.type==="ExportAllDeclaration"?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++b},init:V}]:Ll(g.specifiers,V)}}else if(g.declaration)M=g.declaration;else{const U=[];for(const j of g.specifiers)j.exported.type==="Identifier"&&j.local.type==="Identifier"&&j.local.name!==j.exported.name&&U.push({type:"VariableDeclarator",id:j.exported,init:j.local});U.length>0&&(M={type:"VariableDeclaration",kind:"const",declarations:U})}else M=g;M&&d.push(M)}};function c(p,h,m){let b={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:[]}]};m||(b={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:b,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let k=p||{type:"Identifier",name:"undefined"};k.type==="JSXFragment"&&k.children.length===1&&k.children[0].type==="JSXElement"&&(k=k.children[0]);let _=!1;qn(k,{enter(A){if(A.type==="ArrowFunctionExpression"||A.type==="FunctionDeclaration"||A.type==="FunctionExpression")return this.skip();(A.type==="AwaitExpression"||A.type==="ForOfStatement"&&A.await)&&(_=!0)}});const S={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:b}]}};return[{type:"FunctionDeclaration",async:_,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:k}]}},h==="program"?{type:"ExportDefaultDeclaration",declaration:S}:S]}}function ha(e,t,r){var n;(n=e.comments)==null||n.unshift({type:"Block",value:t+" "+r,data:{_mdxIsPragmaComment:!0}})}function o5(e){return{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:ln(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:ln(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:ln(["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"},e]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}}function l5(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:ln(["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 cc(e){let t=-1,r;for(;++t<e.length;){const n=e[t];r=r?{type:"BinaryExpression",left:r,operator:"+",right:n}:n}return r}function u5(e){const{development:t,outputFormat:r,providerImportSource:n}=e;return function(i,a){const s=cf(),l=[];let u=!1,c=!1;if(qn(i,{enter(p){s.enter(p),(p.type==="FunctionDeclaration"||p.type==="FunctionExpression"||p.type==="ArrowFunctionExpression")&&(l.push({components:[],idToInvalidComponentName:new Map,node:p,objects:[],references:{},tags:[]}),Fn(p,"MDXContent")&&!no(s.scopes,"MDXLayout")&&l[0].components.push("MDXLayout"));const h=l[0];if(!(!h||!Fn(h.node,"_createMdxContent")&&!n)&&p.type==="JSXElement"){let m=p.openingElement.name;if(m.type==="JSXMemberExpression"){const d=[];for(;m.type==="JSXMemberExpression";)d.unshift(m.property.name),m=m.object;d.unshift(m.name);const b=d.join("."),k=m.name,_=no(s.scopes,k);!Object.hasOwn(h.references,b)&&(!_||l.length===1&&l[0].node.type==="FunctionDeclaration"&&Fn(l[0].node,"_createMdxContent"))&&(h.references[b]={component:!0,node:p}),!h.objects.includes(k)&&!_&&h.objects.push(k)}else if(m.type!=="JSXNamespacedName"){if(Ir(m.name)&&!/^[a-z]/.test(m.name)){const d=m.name;no(s.scopes,d)||(d!=="MDXLayout"&&!Object.hasOwn(h.references,d)&&(h.references[d]={component:!0,node:p}),h.components.includes(d)||h.components.push(d))}else if(!(p.data&&p.data._mdxExplicitJsx)){const d=m.name;h.tags.includes(d)||h.tags.push(d);let b=["_components",d];if(Ir(d)===!1){let k=h.idToInvalidComponentName.get(d);k===void 0&&(k=`_component${h.idToInvalidComponentName.size}`,h.idToInvalidComponentName.set(d,k)),b=[k]}p.openingElement.name=uc(b),p.closingElement&&(p.closingElement.name=uc(b))}}}},leave(p){s.exit(p);const h=[],m=[],d=[],b=[];if(p.type==="FunctionDeclaration"||p.type==="FunctionExpression"||p.type==="ArrowFunctionExpression"){const k=l[l.length-1];let _;for(_ of k.tags.sort())h.push({type:"Property",kind:"init",key:Ir(_)?{type:"Identifier",name:_}:{type:"Literal",value:_},value:{type:"Literal",value:_},method:!1,shorthand:!1,computed:!1});m.push(...k.components);for(_ of k.objects)m.includes(_)||m.push(_);m.sort();const S=[];if(h.length>0||m.length>0||k.idToInvalidComponentName.size>0){if(n&&(u=!0,d.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(Fn(k.node,"MDXContent")||Fn(k.node,"_createMdxContent"))&&d.push(ln(["props","components"])),h.length>0||d.length>1)for(const M of d)h.push({type:"SpreadElement",argument:M});let P=h.length>0?{type:"ObjectExpression",properties:h}:{type:"LogicalExpression",operator:"||",left:d[0],right:{type:"ObjectExpression",properties:[]}},g;if(m.length>0&&(g={type:"ObjectPattern",properties:m.map(function(M){return{type:"Property",kind:"init",key:{type:"Identifier",name:M==="MDXLayout"?"wrapper":M},value:{type:"Identifier",name:M},method:!1,shorthand:M!=="MDXLayout",computed:!1}})}),k.tags.length>0&&(b.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:P}),P={type:"Identifier",name:"_components"}),Fn(k.node,"_createMdxContent"))for(const[M,V]of[...k.idToInvalidComponentName].sort(function([U],[j]){return U.localeCompare(j)}))b.push({type:"VariableDeclarator",id:{type:"Identifier",name:V},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:M},computed:!0,optional:!1}});g&&b.push({type:"VariableDeclarator",id:g,init:P}),b.length>0&&S.push({type:"VariableDeclaration",kind:"const",declarations:b})}let A;for(A in k.references)if(Object.hasOwn(k.references,A)){const P=A.split(".");let g=0;for(;++g<P.length;){const M=P.slice(0,g).join(".");Object.hasOwn(k.references,M)||(k.references[M]={component:!1,node:k.references[A].node})}}const N=Object.keys(k.references).sort();let F=-1;for(;++F<N.length;){const P=N[F],g=k.references[P],M=or(qr(g.node)),V=[{type:"Literal",value:P},{type:"Literal",value:g.component}];c=!0,t&&M&&V.push({type:"Literal",value:M}),S.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:ln(P.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:V,optional:!1}},alternate:void 0})}S.length>0&&(p.body.type!=="BlockStatement"&&(p.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:p.body}]}),p.body.body.unshift(...S)),l.pop()}}}),u&&n&&i.body.unshift(c5(n,r)),c){const p=[{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."}],h=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(p.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:cc([{type:"Literal",value:"\nIt’s referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(a.path?"` in `"+a.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),h.push({type:"Identifier",name:"place"})),i.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:h,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[cc(p)]}}]}})}r==="function-body"&&i.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function c5(e,t){const r=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return t==="function-body"?{type:"VariableDeclaration",kind:"const",declarations:Ll(r,ln(["arguments",0]))}:{type:"ImportDeclaration",specifiers:r,attributes:[],source:{type:"Literal",value:e}}}function Fn(e,t){return!!(e&&"id"in e&&e.id&&e.id.name===t)}function no(e,t){let r=e.length;for(;r--;)if(e[r].defined.includes(t))return!0;return!1}function h5(){return function(e){xs(e,"raw",function(t,r,n){if(n&&typeof r=="number")return n.children.splice(r,1),r})}}const p5=/\s+/g,f5=/[\t\n\v\f\r ]+/g;function d5(e,t){t?typeof t=="string"&&(t={style:t}):t={};const r=t.preserveLineEndings?m5:g5;return String(e).replace(t.style==="html"?f5:p5,t.trim?x5(r):r)}function m5(e){const t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function g5(){return" "}function x5(e){return t;function t(r,n,i){return n===0||n+r.length===i.length?"":e(r)}}function y5(){return function(e){xs(e,function(t,r,n){let i=-1,a=!0,s=!1;if(n&&typeof r=="number"&&t.type==="paragraph"){const l=t.children;for(;++i<l.length;){const u=l[i];if(u.type==="mdxJsxTextElement"||u.type==="mdxTextExpression")s=!0;else if(!(u.type==="text"&&d5(u.value,{style:"html",trim:!0})==="")){a=!1;break}}if(a&&s){i=-1;const u=[];for(;++i<l.length;){const c=l[i];c.type==="mdxJsxTextElement"&&(c.type="mdxJsxFlowElement"),c.type==="mdxTextExpression"&&(c.type="mdxFlowExpression"),c.type==="text"&&/^[\t\r\n ]+$/.test(String(c.value))||u.push(c)}return n.children.splice(r,1,...u),r}}if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement"){const l=t.data||(t.data={});l._mdxExplicitJsx=!0}(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression"||t.type==="mdxjsEsm")&&t.data&&t.data.estree&&qn(t.data.estree,{enter(l){if(l.type==="JSXElement"){const u=l.data||(l.data={});u._mdxExplicitJsx=!0}}})})}}const v5=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"];let hc=!1;function b5(e){const t=e||{};t.format,(t.jsxRuntime==="classic"||t.pragma||t.pragmaFrag||t.pragmaImportSource)&&!hc&&(hc=!0,console.warn("Unexpected deprecated option `jsxRuntime: 'classic'`, `pragma`, `pragmaFrag`, or `pragmaImportSource`; see <https://mdxjs.com/migrating/v3/> on how to migrate"));const r=Z6().use(Z3);t.format!=="md"&&r.use(x3);const n=t.remarkRehypeOptions||{};return r.use(y5).use(t.remarkPlugins||[]).use(G6,{...n,allowDangerousHtml:!0,passThrough:[...n.passThrough||[],...v5]}).use(t.rehypePlugins||[]),t.format==="md"&&r.use(h5),r.use(r2,t).use(s5,t).use(u5,t),t.jsx||r.use(O1,t).use(n5,t),r.use(mg).use(gg,t).use(t.recmaPlugins||[]),r}function w5(e,t){const{file:r,options:n}=T1(e,t);return b5(n).process(r)}function k5(e){const{Fragment:t,baseUrl:r,development:n,jsx:i,jsxDEV:a,jsxs:s,useMDXComponents:l,...u}=e||{};if(!t)throw new Error("Expected `Fragment` given to `evaluate`");if(n){if(!a)throw new Error("Expected `jsxDEV` given to `evaluate`")}else{if(!i)throw new Error("Expected `jsx` given to `evaluate`");if(!s)throw new Error("Expected `jsxs` given to `evaluate`")}return{compiletime:{...u,development:n,outputFormat:"function-body",providerImportSource:l?"#":void 0},runtime:{Fragment:t,baseUrl:r,jsx:i,jsxDEV:a,jsxs:s,useMDXComponents:l}}}const S5=Object.getPrototypeOf(hf).constructor;async function hf(e,t){return new S5(String(e))(t)}async function C5(e,t){const{compiletime:r,runtime:n}=k5(t);return hf(await w5(e,r),n)}function E5(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function _5(e,t,r){const i=Wi((r||{}).ignore||[]),a=A5(t);let s=-1;for(;++s<a.length;)Pl(e,"text",l);function l(c,p){let h=-1,m;for(;++h<p.length;){const d=p[h],b=m?m.children:void 0;if(i(d,b?b.indexOf(d):void 0,m))return;m=d}if(m)return u(c,p)}function u(c,p){const h=p[p.length-1],m=a[s][0],d=a[s][1];let b=0;const _=h.children.indexOf(c);let S=!1,A=[];m.lastIndex=0;let N=m.exec(c.value);for(;N;){const F=N.index,P={index:N.index,input:N.input,stack:[...p,c]};let g=d(...N,P);if(typeof g=="string"&&(g=g.length>0?{type:"text",value:g}:void 0),g===!1?m.lastIndex=F+1:(b!==F&&A.push({type:"text",value:c.value.slice(b,F)}),Array.isArray(g)?A.push(...g):g&&A.push(g),b=F+N[0].length,S=!0),!m.global)break;N=m.exec(c.value)}return S?(b<c.value.length&&A.push({type:"text",value:c.value.slice(b)}),h.children.splice(_,1,...A)):A=[c],_+A.length}}function A5(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const i=r[n];t.push([T5(i[0]),I5(i[1])])}return t}function T5(e){return typeof e=="string"?new RegExp(E5(e),"g"):e}function I5(e){return typeof e=="function"?e:function(){return e}}const io="phrasing",ao=["autolink","link","image","label"];function N5(){return{transforms:[F5],enter:{literalAutolink:P5,literalAutolinkEmail:so,literalAutolinkHttp:so,literalAutolinkWww:so},exit:{literalAutolink:D5,literalAutolinkEmail:R5,literalAutolinkHttp:B5,literalAutolinkWww:L5}}}function M5(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:io,notInConstruct:ao},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:io,notInConstruct:ao},{character:":",before:"[ps]",after:"\\/",inConstruct:io,notInConstruct:ao}]}}function P5(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function so(e){this.config.enter.autolinkProtocol.call(this,e)}function B5(e){this.config.exit.autolinkProtocol.call(this,e)}function L5(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function R5(e){this.config.exit.autolinkEmail.call(this,e)}function D5(e){this.exit(e)}function F5(e){_5(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,z5],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),O5]],{ignore:["link","linkReference"]})}function z5(e,t,r,n,i){let a="";if(!pf(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!V5(r)))return!1;const s=j5(r+n);if(!s[0])return!1;const l={type:"link",title:null,url:a+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function O5(e,t,r,n){return!pf(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function V5(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function j5(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const i=Jn(e,"(");let a=Jn(e,")");for(;n!==-1&&i>a;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),a++;return[e,r]}function pf(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||Pt(r)||fs(r))&&(!t||r!==47)}ff.peek=Y5;function q5(){this.buffer()}function H5(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function U5(){this.buffer()}function $5(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function G5(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=xr(this.sliceSerialize(e)).toLowerCase(),r.label=t}function J5(e){this.exit(e)}function W5(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=xr(this.sliceSerialize(e)).toLowerCase(),r.label=t}function X5(e){this.exit(e)}function Y5(){return"["}function ff(e,t,r,n){const i=r.createTracker(n);let a=i.move("[^");const s=r.enter("footnoteReference"),l=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),l(),s(),a+=i.move("]"),a}function K5(){return{enter:{gfmFootnoteCallString:q5,gfmFootnoteCall:H5,gfmFootnoteDefinitionLabelString:U5,gfmFootnoteDefinition:$5},exit:{gfmFootnoteCallString:G5,gfmFootnoteCall:J5,gfmFootnoteDefinitionLabelString:W5,gfmFootnoteDefinition:X5}}}function Q5(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:ff},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,s){const l=a.createTracker(s);let u=l.move("[^");const c=a.enter("footnoteDefinition"),p=a.enter("label");return u+=l.move(a.safe(a.associationId(n),{before:u,after:"]"})),p(),u+=l.move("]:"),n.children&&n.children.length>0&&(l.shift(4),u+=l.move((t?`
|
|
53
|
+
`:" ")+a.indentLines(a.containerFlow(n,l.current()),t?df:Z5))),c(),u}}function Z5(e,t,r){return t===0?e:df(e,t,r)}function df(e,t,r){return(r?"":" ")+e}const ey=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];mf.peek=ay;function ty(){return{canContainEols:["delete"],enter:{strikethrough:ny},exit:{strikethrough:iy}}}function ry(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ey}],handlers:{delete:mf}}}function ny(e){this.enter({type:"delete",children:[]},e)}function iy(e){this.exit(e)}function mf(e,t,r,n){const i=r.createTracker(n),a=r.enter("strikethrough");let s=i.move("~~");return s+=r.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),a(),s}function ay(){return"~"}function sy(e){return e.length}function oy(e,t){const r=t||{},n=(r.align||[]).concat(),i=r.stringLength||sy,a=[],s=[],l=[],u=[];let c=0,p=-1;for(;++p<e.length;){const k=[],_=[];let S=-1;for(e[p].length>c&&(c=e[p].length);++S<e[p].length;){const A=ly(e[p][S]);if(r.alignDelimiters!==!1){const N=i(A);_[S]=N,(u[S]===void 0||N>u[S])&&(u[S]=N)}k.push(A)}s[p]=k,l[p]=_}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<c;)a[h]=pc(n[h]);else{const k=pc(n);for(;++h<c;)a[h]=k}h=-1;const m=[],d=[];for(;++h<c;){const k=a[h];let _="",S="";k===99?(_=":",S=":"):k===108?_=":":k===114&&(S=":");let A=r.alignDelimiters===!1?1:Math.max(1,u[h]-_.length-S.length);const N=_+"-".repeat(A)+S;r.alignDelimiters!==!1&&(A=_.length+A+S.length,A>u[h]&&(u[h]=A),d[h]=A),m[h]=N}s.splice(1,0,m),l.splice(1,0,d),p=-1;const b=[];for(;++p<s.length;){const k=s[p],_=l[p];h=-1;const S=[];for(;++h<c;){const A=k[h]||"";let N="",F="";if(r.alignDelimiters!==!1){const P=u[h]-(_[h]||0),g=a[h];g===114?N=" ".repeat(P):g===99?P%2?(N=" ".repeat(P/2+.5),F=" ".repeat(P/2-.5)):(N=" ".repeat(P/2),F=N):F=" ".repeat(P)}r.delimiterStart!==!1&&!h&&S.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&A==="")&&(r.delimiterStart!==!1||h)&&S.push(" "),r.alignDelimiters!==!1&&S.push(N),S.push(A),r.alignDelimiters!==!1&&S.push(F),r.padding!==!1&&S.push(" "),(r.delimiterEnd!==!1||h!==c-1)&&S.push("|")}b.push(r.delimiterEnd===!1?S.join("").replace(/ +$/,""):S.join(""))}return b.join(`
|
|
54
|
+
`)}function ly(e){return e==null?"":String(e)}function pc(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function uy(e,t,r,n){const i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);const s=r.indentLines(r.containerFlow(e,a.current()),cy);return i(),s}function cy(e,t,r){return">"+(r?"":" ")+e}function hy(e,t){return fc(e,t.inConstruct,!0)&&!fc(e,t.notInConstruct,!1)}function fc(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function dc(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
|
|
55
|
+
`&&hy(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
56
|
+
`}function gf(e,t){const r=String(e);let n=r.indexOf(t),i=n,a=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===i?++a>s&&(s=a):a=1,i=n+t.length,n=r.indexOf(t,i);return s}function py(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function fy(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function dy(e,t,r,n){const i=fy(r),a=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(py(e,r)){const h=r.enter("codeIndented"),m=r.indentLines(a,my);return h(),m}const l=r.createTracker(n),u=i.repeat(Math.max(gf(a,i)+1,3)),c=r.enter("codeFenced");let p=l.move(u);if(e.lang){const h=r.enter(`codeFencedLang${s}`);p+=l.move(r.safe(e.lang,{before:p,after:" ",encode:["`"],...l.current()})),h()}if(e.lang&&e.meta){const h=r.enter(`codeFencedMeta${s}`);p+=l.move(" "),p+=l.move(r.safe(e.meta,{before:p,after:`
|
|
57
|
+
`,encode:["`"],...l.current()})),h()}return p+=l.move(`
|
|
58
|
+
`),a&&(p+=l.move(a+`
|
|
59
|
+
`)),p+=l.move(u),c(),p}function my(e,t,r){return(r?"":" ")+e}function Rl(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function gy(e,t,r,n){const i=Rl(r),a=i==='"'?"Quote":"Apostrophe",s=r.enter("definition");let l=r.enter("label");const u=r.createTracker(n);let c=u.move("[");return c+=u.move(r.safe(r.associationId(e),{before:c,after:"]",...u.current()})),c+=u.move("]: "),l(),!e.url||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(r.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(l=r.enter("destinationRaw"),c+=u.move(r.safe(e.url,{before:c,after:e.title?" ":`
|
|
60
|
+
`,...u.current()}))),l(),e.title&&(l=r.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(r.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),l()),s(),c}function xy(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Pi(e){return"&#x"+e.toString(16).toUpperCase()+";"}function qa(e,t,r){const n=Wn(e),i=Wn(t);return n===void 0?i===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}xf.peek=yy;function xf(e,t,r,n){const i=xy(r),a=r.enter("emphasis"),s=r.createTracker(n),l=s.move(i);let u=s.move(r.containerPhrasing(e,{after:i,before:l,...s.current()}));const c=u.charCodeAt(0),p=qa(n.before.charCodeAt(n.before.length-1),c,i);p.inside&&(u=Pi(c)+u.slice(1));const h=u.charCodeAt(u.length-1),m=qa(n.after.charCodeAt(0),h,i);m.inside&&(u=u.slice(0,-1)+Pi(h));const d=s.move(i);return a(),r.attentionEncodeSurroundingInfo={after:m.outside,before:p.outside},l+u+d}function yy(e,t,r){return r.options.emphasis||"*"}function vy(e,t){let r=!1;return xs(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,$o}),!!((!e.depth||e.depth<3)&&Al(e)&&(t.options.setext||r))}function by(e,t,r,n){const i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if(vy(e,r)){const p=r.enter("headingSetext"),h=r.enter("phrasing"),m=r.containerPhrasing(e,{...a.current(),before:`
|
|
61
|
+
`,after:`
|
|
62
|
+
`});return h(),p(),m+`
|
|
63
|
+
`+(i===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
|
|
64
|
+
`))+1))}const s="#".repeat(i),l=r.enter("headingAtx"),u=r.enter("phrasing");a.move(s+" ");let c=r.containerPhrasing(e,{before:"# ",after:`
|
|
65
|
+
`,...a.current()});return/^[\t ]/.test(c)&&(c=Pi(c.charCodeAt(0))+c.slice(1)),c=c?s+" "+c:s,r.options.closeAtx&&(c+=" "+s),u(),l(),c}yf.peek=wy;function yf(e){return e.value||""}function wy(){return"<"}vf.peek=ky;function vf(e,t,r,n){const i=Rl(r),a=i==='"'?"Quote":"Apostrophe",s=r.enter("image");let l=r.enter("label");const u=r.createTracker(n);let c=u.move("![");return c+=u.move(r.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(r.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(l=r.enter("destinationRaw"),c+=u.move(r.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),l(),e.title&&(l=r.enter(`title${a}`),c+=u.move(" "+i),c+=u.move(r.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),l()),c+=u.move(")"),s(),c}function ky(){return"!"}bf.peek=Sy;function bf(e,t,r,n){const i=e.referenceType,a=r.enter("imageReference");let s=r.enter("label");const l=r.createTracker(n);let u=l.move("![");const c=r.safe(e.alt,{before:u,after:"]",...l.current()});u+=l.move(c+"]["),s();const p=r.stack;r.stack=[],s=r.enter("reference");const h=r.safe(r.associationId(e),{before:u,after:"]",...l.current()});return s(),r.stack=p,a(),i==="full"||!c||c!==h?u+=l.move(h+"]"):i==="shortcut"?u=u.slice(0,-1):u+=l.move("]"),u}function Sy(){return"!"}wf.peek=Cy;function wf(e,t,r){let n=e.value||"",i="`",a=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){const s=r.unsafe[a],l=r.compilePattern(s);let u;if(s.atBreak)for(;u=l.exec(n);){let c=u.index;n.charCodeAt(c)===10&&n.charCodeAt(c-1)===13&&c--,n=n.slice(0,c)+" "+n.slice(u.index+1)}}return i+n+i}function Cy(){return"`"}function kf(e,t){const r=Al(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Sf.peek=Ey;function Sf(e,t,r,n){const i=Rl(r),a=i==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let l,u;if(kf(e,r)){const p=r.stack;r.stack=[],l=r.enter("autolink");let h=s.move("<");return h+=s.move(r.containerPhrasing(e,{before:h,after:">",...s.current()})),h+=s.move(">"),l(),r.stack=p,h}l=r.enter("link"),u=r.enter("label");let c=s.move("[");return c+=s.move(r.containerPhrasing(e,{before:c,after:"](",...s.current()})),c+=s.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(r.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(u=r.enter("destinationRaw"),c+=s.move(r.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),u(),e.title&&(u=r.enter(`title${a}`),c+=s.move(" "+i),c+=s.move(r.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),u()),c+=s.move(")"),l(),c}function Ey(e,t,r){return kf(e,r)?"<":"["}Cf.peek=_y;function Cf(e,t,r,n){const i=e.referenceType,a=r.enter("linkReference");let s=r.enter("label");const l=r.createTracker(n);let u=l.move("[");const c=r.containerPhrasing(e,{before:u,after:"]",...l.current()});u+=l.move(c+"]["),s();const p=r.stack;r.stack=[],s=r.enter("reference");const h=r.safe(r.associationId(e),{before:u,after:"]",...l.current()});return s(),r.stack=p,a(),i==="full"||!c||c!==h?u+=l.move(h+"]"):i==="shortcut"?u=u.slice(0,-1):u+=l.move("]"),u}function _y(){return"["}function Dl(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ay(e){const t=Dl(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function Ty(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Ef(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function Iy(e,t,r,n){const i=r.enter("list"),a=r.bulletCurrent;let s=e.ordered?Ty(r):Dl(r);const l=e.ordered?s==="."?")":".":Ay(r);let u=t&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&p&&(!p.children||!p.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(u=!0),Ef(r)===s&&p){let h=-1;for(;++h<e.children.length;){const m=e.children[h];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(s=l),r.bulletCurrent=s;const c=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=a,i(),c}function Ny(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function My(e,t,r,n){const i=Ny(r);let a=r.bulletCurrent||Dl(r);t&&t.type==="list"&&t.ordered&&(a=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let s=a.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const l=r.createTracker(n);l.move(a+" ".repeat(s-a.length)),l.shift(s);const u=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,l.current()),p);return u(),c;function p(h,m,d){return m?(d?"":" ".repeat(s))+h:(d?a:a+" ".repeat(s-a.length))+h}}function Py(e,t,r,n){const i=r.enter("paragraph"),a=r.enter("phrasing"),s=r.containerPhrasing(e,n);return a(),i(),s}const By=Wi(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ly(e,t,r,n){return(e.children.some(function(s){return By(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function Ry(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}_f.peek=Dy;function _f(e,t,r,n){const i=Ry(r),a=r.enter("strong"),s=r.createTracker(n),l=s.move(i+i);let u=s.move(r.containerPhrasing(e,{after:i,before:l,...s.current()}));const c=u.charCodeAt(0),p=qa(n.before.charCodeAt(n.before.length-1),c,i);p.inside&&(u=Pi(c)+u.slice(1));const h=u.charCodeAt(u.length-1),m=qa(n.after.charCodeAt(0),h,i);m.inside&&(u=u.slice(0,-1)+Pi(h));const d=s.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:m.outside,before:p.outside},l+u+d}function Dy(e,t,r){return r.options.strong||"*"}function Fy(e,t,r,n){return r.safe(e.value,n)}function zy(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Oy(e,t,r){const n=(Ef(r)+(r.options.ruleSpaces?" ":"")).repeat(zy(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Af={blockquote:uy,break:dc,code:dy,definition:gy,emphasis:xf,hardBreak:dc,heading:by,html:yf,image:vf,imageReference:bf,inlineCode:wf,link:Sf,linkReference:Cf,list:Iy,listItem:My,paragraph:Py,root:Ly,strong:_f,text:Fy,thematicBreak:Oy};function Vy(){return{enter:{table:jy,tableData:mc,tableHeader:mc,tableRow:Hy},exit:{codeText:Uy,table:qy,tableData:oo,tableHeader:oo,tableRow:oo}}}function jy(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function qy(e){this.exit(e),this.data.inTable=void 0}function Hy(e){this.enter({type:"tableRow",children:[]},e)}function oo(e){this.exit(e)}function mc(e){this.enter({type:"tableCell",children:[]},e)}function Uy(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,$y));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function $y(e,t){return t==="|"?t:e}function Gy(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
66
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:m,table:s,tableCell:u,tableRow:l}};function s(d,b,k,_){return c(p(d,k,_),d.align)}function l(d,b,k,_){const S=h(d,k,_),A=c([S]);return A.slice(0,A.indexOf(`
|
|
67
|
+
`))}function u(d,b,k,_){const S=k.enter("tableCell"),A=k.enter("phrasing"),N=k.containerPhrasing(d,{..._,before:a,after:a});return A(),S(),N}function c(d,b){return oy(d,{align:b,alignDelimiters:n,padding:r,stringLength:i})}function p(d,b,k){const _=d.children;let S=-1;const A=[],N=b.enter("table");for(;++S<_.length;)A[S]=h(_[S],b,k);return N(),A}function h(d,b,k){const _=d.children;let S=-1;const A=[],N=b.enter("tableRow");for(;++S<_.length;)A[S]=u(_[S],d,b,k);return N(),A}function m(d,b,k){let _=Af.inlineCode(d,b,k);return k.stack.includes("tableCell")&&(_=_.replace(/\|/g,"\\$&")),_}}function Jy(){return{exit:{taskListCheckValueChecked:gc,taskListCheckValueUnchecked:gc,paragraph:Xy}}}function Wy(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Yy}}}function gc(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Xy(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const i=t.children;let a=-1,s;for(;++a<i.length;){const l=i[a];if(l.type==="paragraph"){s=l;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Yy(e,t,r,n){const i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",l=r.createTracker(n);a&&l.move(s);let u=Af.listItem(e,t,r,{...n,...l.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(p){return p+s}}function Ky(){return[N5(),K5(),ty(),Vy(),Jy()]}function Qy(e){return{extensions:[M5(),Q5(e),ry(),Gy(e),Wy()]}}const Zy={tokenize:av,partial:!0},Tf={tokenize:sv,partial:!0},If={tokenize:ov,partial:!0},Nf={tokenize:lv,partial:!0},ev={tokenize:uv,partial:!0},Mf={name:"wwwAutolink",tokenize:nv,previous:Bf},Pf={name:"protocolAutolink",tokenize:iv,previous:Lf},Kr={name:"emailAutolink",tokenize:rv,previous:Rf},Br={};function tv(){return{text:Br}}let wn=48;for(;wn<123;)Br[wn]=Kr,wn++,wn===58?wn=65:wn===91&&(wn=97);Br[43]=Kr;Br[45]=Kr;Br[46]=Kr;Br[95]=Kr;Br[72]=[Kr,Pf];Br[104]=[Kr,Pf];Br[87]=[Kr,Mf];Br[119]=[Kr,Mf];function rv(e,t,r){const n=this;let i,a;return s;function s(h){return!Wo(h)||!Rf.call(n,n.previous)||Fl(n.events)?r(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),l(h))}function l(h){return Wo(h)?(e.consume(h),l):h===64?(e.consume(h),u):r(h)}function u(h){return h===46?e.check(ev,p,c)(h):h===45||h===95||Tt(h)?(a=!0,e.consume(h),u):p(h)}function c(h){return e.consume(h),i=!0,u}function p(h){return a&&i&&_t(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}}function nv(e,t,r){const n=this;return i;function i(s){return s!==87&&s!==119||!Bf.call(n,n.previous)||Fl(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Zy,e.attempt(Tf,e.attempt(If,a),r),r)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function iv(e,t,r){const n=this;let i="",a=!1;return s;function s(h){return(h===72||h===104)&&Lf.call(n,n.previous)&&!Fl(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),l):r(h)}function l(h){if(_t(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),l;if(h===58){const m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(h),u}return r(h)}function u(h){return h===47?(e.consume(h),a?c:(a=!0,u)):r(h)}function c(h){return h===null||za(h)||Pe(h)||Pt(h)||fs(h)?r(h):e.attempt(Tf,e.attempt(If,p),r)(h)}function p(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function av(e,t,r){let n=0;return i;function i(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),i):s===46&&n===3?(e.consume(s),a):r(s)}function a(s){return s===null?r(s):t(s)}}function sv(e,t,r){let n,i,a;return s;function s(c){return c===46||c===95?e.check(Nf,u,l)(c):c===null||Pe(c)||Pt(c)||c!==45&&fs(c)?u(c):(a=!0,e.consume(c),s)}function l(c){return c===95?n=!0:(i=n,n=void 0),e.consume(c),s}function u(c){return i||n||!a?r(c):t(c)}}function ov(e,t){let r=0,n=0;return i;function i(s){return s===40?(r++,e.consume(s),i):s===41&&n<r?a(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(Nf,t,a)(s):s===null||Pe(s)||Pt(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&n++,e.consume(s),i}}function lv(e,t,r){return n;function n(l){return l===33||l===34||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===63||l===95||l===126?(e.consume(l),n):l===38?(e.consume(l),a):l===93?(e.consume(l),i):l===60||l===null||Pe(l)||Pt(l)?t(l):r(l)}function i(l){return l===null||l===40||l===91||Pe(l)||Pt(l)?t(l):n(l)}function a(l){return _t(l)?s(l):r(l)}function s(l){return l===59?(e.consume(l),n):_t(l)?(e.consume(l),s):r(l)}}function uv(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return Tt(a)?r(a):t(a)}}function Bf(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Pe(e)}function Lf(e){return!_t(e)}function Rf(e){return!(e===47||Wo(e))}function Wo(e){return e===43||e===45||e===46||e===95||Tt(e)}function Fl(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const cv={tokenize:yv,partial:!0};function hv(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:mv,continuation:{tokenize:gv},exit:xv}},text:{91:{name:"gfmFootnoteCall",tokenize:dv},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:pv,resolveTo:fv}}}}function pv(e,t,r){const n=this;let i=n.events.length;const a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;i--;){const u=n.events[i][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return l;function l(u){if(!s||!s._balanced)return r(u);const c=xr(n.sliceSerialize({start:s.end,end:n.now()}));return c.codePointAt(0)!==94||!a.includes(c.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function fv(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...l),e}function dv(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a=0,s;return l;function l(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),u}function u(h){return h!==94?r(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(a>999||h===93&&!s||h===null||h===91||Pe(h))return r(h);if(h===93){e.exit("chunkString");const m=e.exit("gfmFootnoteCallString");return i.includes(xr(n.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(h)}return Pe(h)||(s=!0),a++,e.consume(h),h===92?p:c}function p(h){return h===91||h===92||h===93?(e.consume(h),a++,c):c(h)}}function mv(e,t,r){const n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let a,s=0,l;return u;function u(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):r(b)}function p(b){if(s>999||b===93&&!l||b===null||b===91||Pe(b))return r(b);if(b===93){e.exit("chunkString");const k=e.exit("gfmFootnoteDefinitionLabelString");return a=xr(n.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return Pe(b)||(l=!0),s++,e.consume(b),b===92?h:p}function h(b){return b===91||b===92||b===93?(e.consume(b),s++,p):p(b)}function m(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),i.includes(a)||i.push(a),_e(e,d,"gfmFootnoteDefinitionWhitespace")):r(b)}function d(b){return t(b)}}function gv(e,t,r){return e.check(ni,t,e.attempt(cv,t,r))}function xv(e){e.exit("gfmFootnoteDefinition")}function yv(e,t,r){const n=this;return _e(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(a):r(a)}}function vv(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(s,l){let u=-1;for(;++u<s.length;)if(s[u][0]==="enter"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._close){let c=u;for(;c--;)if(s[c][0]==="exit"&&s[c][1].type==="strikethroughSequenceTemporary"&&s[c][1]._open&&s[u][1].end.offset-s[u][1].start.offset===s[c][1].end.offset-s[c][1].start.offset){s[u][1].type="strikethroughSequence",s[c][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},s[c][1].start),end:Object.assign({},s[u][1].end)},h={type:"strikethroughText",start:Object.assign({},s[c][1].end),end:Object.assign({},s[u][1].start)},m=[["enter",p,l],["enter",s[c][1],l],["exit",s[c][1],l],["enter",h,l]],d=l.parser.constructs.insideSpan.null;d&&Jt(m,m.length,0,ds(d,s.slice(c+1,u),l)),Jt(m,m.length,0,[["exit",h,l],["enter",s[u][1],l],["exit",s[u][1],l],["exit",p,l]]),Jt(s,c-1,u-c+3,m),u=c+m.length-2;break}}for(u=-1;++u<s.length;)s[u][1].type==="strikethroughSequenceTemporary"&&(s[u][1].type="data");return s}function a(s,l,u){const c=this.previous,p=this.events;let h=0;return m;function m(b){return c===126&&p[p.length-1][1].type!=="characterEscape"?u(b):(s.enter("strikethroughSequenceTemporary"),d(b))}function d(b){const k=Wn(c);if(b===126)return h>1?u(b):(s.consume(b),h++,d);if(h<2&&!r)return u(b);const _=s.exit("strikethroughSequenceTemporary"),S=Wn(b);return _._open=!S||S===2&&!!k,_._close=!k||k===2&&!!S,l(b)}}}class bv{constructor(){this.map=[]}add(t,r,n){wv(this,t,r,n)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let i=n.pop();for(;i;){for(const a of i)t.push(a);i=n.pop()}this.map.length=0}}function wv(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function kv(e,t){let r=!1;const n=[];for(;t<e.length;){const i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function Sv(){return{flow:{null:{name:"table",tokenize:Cv,resolveAll:Ev}}}}function Cv(e,t,r){const n=this;let i=0,a=0,s;return l;function l(j){let J=n.events.length-1;for(;J>-1;){const Q=n.events[J][1].type;if(Q==="lineEnding"||Q==="linePrefix")J--;else break}const W=J>-1?n.events[J][1].type:null,ae=W==="tableHead"||W==="tableRow"?g:u;return ae===g&&n.parser.lazy[n.now().line]?r(j):ae(j)}function u(j){return e.enter("tableHead"),e.enter("tableRow"),c(j)}function c(j){return j===124||(s=!0,a+=1),p(j)}function p(j){return j===null?r(j):ce(j)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),d):r(j):Ce(j)?_e(e,p,"whitespace")(j):(a+=1,s&&(s=!1,i+=1),j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),s=!0,p):(e.enter("data"),h(j)))}function h(j){return j===null||j===124||Pe(j)?(e.exit("data"),p(j)):(e.consume(j),j===92?m:h)}function m(j){return j===92||j===124?(e.consume(j),h):h(j)}function d(j){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(j):(e.enter("tableDelimiterRow"),s=!1,Ce(j)?_e(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):b(j))}function b(j){return j===45||j===58?_(j):j===124?(s=!0,e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),k):P(j)}function k(j){return Ce(j)?_e(e,_,"whitespace")(j):_(j)}function _(j){return j===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),S):j===45?(a+=1,S(j)):j===null||ce(j)?F(j):P(j)}function S(j){return j===45?(e.enter("tableDelimiterFiller"),A(j)):P(j)}function A(j){return j===45?(e.consume(j),A):j===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(j),e.exit("tableDelimiterMarker"),N):(e.exit("tableDelimiterFiller"),N(j))}function N(j){return Ce(j)?_e(e,F,"whitespace")(j):F(j)}function F(j){return j===124?b(j):j===null||ce(j)?!s||i!==a?P(j):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(j)):P(j)}function P(j){return r(j)}function g(j){return e.enter("tableRow"),M(j)}function M(j){return j===124?(e.enter("tableCellDivider"),e.consume(j),e.exit("tableCellDivider"),M):j===null||ce(j)?(e.exit("tableRow"),t(j)):Ce(j)?_e(e,M,"whitespace")(j):(e.enter("data"),V(j))}function V(j){return j===null||j===124||Pe(j)?(e.exit("data"),M(j)):(e.consume(j),j===92?U:V)}function U(j){return j===92||j===124?(e.consume(j),V):V(j)}}function Ev(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],l=!1,u=0,c,p,h;const m=new bv;for(;++r<e.length;){const d=e[r],b=d[1];d[0]==="enter"?b.type==="tableHead"?(l=!1,u!==0&&(xc(m,t,u,c,p),p=void 0,u=0),c={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(r,0,[["enter",c,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(n=!0,h=void 0,a=[0,0,0,0],s=[0,r+1,0,0],l&&(l=!1,p={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},m.add(r,0,[["enter",p,t]])),i=b.type==="tableDelimiterRow"?2:p?3:1):i&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],h=pa(m,t,a,i,void 0,h),a=[0,0,0,0]),s[2]=r)):b.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],h=pa(m,t,a,i,void 0,h)),a=s,s=[a[1],r,0,0])):b.type==="tableHead"?(l=!0,u=r):b.type==="tableRow"||b.type==="tableDelimiterRow"?(u=r,a[1]!==0?(s[0]=s[1],h=pa(m,t,a,i,r,h)):s[1]!==0&&(h=pa(m,t,s,i,r,h)),i=0):i&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(u!==0&&xc(m,t,u,c,p),m.consume(t.events),r=-1;++r<t.events.length;){const d=t.events[r];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=kv(t.events,r))}return e}function pa(e,t,r,n,i,a){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",l="tableContent";r[0]!==0&&(a.end=Object.assign({},On(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));const u=On(t.events,r[1]);if(a={type:s,start:Object.assign({},u),end:Object.assign({},u)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){const c=On(t.events,r[2]),p=On(t.events,r[3]),h={type:l,start:Object.assign({},c),end:Object.assign({},p)};if(e.add(r[2],0,[["enter",h,t]]),n!==2){const m=t.events[r[2]],d=t.events[r[3]];if(m[1].end=Object.assign({},d[1].end),m[1].type="chunkText",m[1].contentType="text",r[3]>r[2]+1){const b=r[2]+1,k=r[3]-r[2]-1;e.add(b,k,[])}}e.add(r[3]+1,0,[["exit",h,t]])}return i!==void 0&&(a.end=Object.assign({},On(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function xc(e,t,r,n,i){const a=[],s=On(t.events,r);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),n.end=Object.assign({},s),a.push(["exit",n,t]),e.add(r+1,0,a)}function On(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const _v={name:"tasklistCheck",tokenize:Tv};function Av(){return{text:{91:_v}}}function Tv(e,t,r){const n=this;return i;function i(u){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),a)}function a(u){return Pe(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):r(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),l):r(u)}function l(u){return ce(u)?t(u):Ce(u)?e.check({tokenize:Iv},t,r)(u):r(u)}}function Iv(e,t,r){return _e(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function Nv(e){return _l([tv(),hv(),vv(e),Sv(),Av()])}const Mv={};function Pv(e){const t=this,r=e||Mv,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Nv(r)),a.push(Ky()),s.push(Qy(r))}function Bv(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:l,mathText:s,mathTextData:l}};function e(u){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},u)}function t(){this.buffer()}function r(){const u=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=c;const h=p.data.hChildren[0];h.type,h.tagName,h.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function a(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function s(u){const c=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=c,p.data.hChildren.push({type:"text",value:c})}function l(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function Lv(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
68
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(a,s,l,u){const c=a.value||"",p=l.createTracker(u),h="$".repeat(Math.max(gf(c,"$")+1,2)),m=l.enter("mathFlow");let d=p.move(h);if(a.meta){const b=l.enter("mathFlowMeta");d+=p.move(l.safe(a.meta,{after:`
|
|
69
|
+
`,before:d,encode:["$"],...p.current()})),b()}return d+=p.move(`
|
|
70
|
+
`),c&&(d+=p.move(c+`
|
|
71
|
+
`)),d+=p.move(h),m(),d}function n(a,s,l){let u=a.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(u);)c++;const p="$".repeat(c);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let h=-1;for(;++h<l.unsafe.length;){const m=l.unsafe[h];if(!m.atBreak)continue;const d=l.compilePattern(m);let b;for(;b=d.exec(u);){let k=b.index;u.codePointAt(k)===10&&u.codePointAt(k-1)===13&&k--,u=u.slice(0,k)+" "+u.slice(b.index+1)}}return p+u+p}function i(){return"$"}}const Rv={tokenize:Dv,concrete:!0,name:"mathFlow"},yc={tokenize:Fv,partial:!0};function Dv(e,t,r){const n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return l;function l(A){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(A)}function u(A){return A===36?(e.consume(A),s++,u):s<2?r(A):(e.exit("mathFlowFenceSequence"),_e(e,c,"whitespace")(A))}function c(A){return A===null||ce(A)?h(A):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(A))}function p(A){return A===null||ce(A)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),h(A)):A===36?r(A):(e.consume(A),p)}function h(A){return e.exit("mathFlowFence"),n.interrupt?t(A):e.attempt(yc,m,_)(A)}function m(A){return e.attempt({tokenize:S,partial:!0},_,d)(A)}function d(A){return(a?_e(e,b,"linePrefix",a+1):b)(A)}function b(A){return A===null?_(A):ce(A)?e.attempt(yc,m,_)(A):(e.enter("mathFlowValue"),k(A))}function k(A){return A===null||ce(A)?(e.exit("mathFlowValue"),b(A)):(e.consume(A),k)}function _(A){return e.exit("mathFlow"),t(A)}function S(A,N,F){let P=0;return _e(A,g,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function g(U){return A.enter("mathFlowFence"),A.enter("mathFlowFenceSequence"),M(U)}function M(U){return U===36?(P++,A.consume(U),M):P<s?F(U):(A.exit("mathFlowFenceSequence"),_e(A,V,"whitespace")(U))}function V(U){return U===null||ce(U)?(A.exit("mathFlowFence"),N(U)):F(U)}}}function Fv(e,t,r){const n=this;return i;function i(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function zv(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Ov,previous:Vv,name:"mathText"};function n(i,a,s){let l=0,u,c;return p;function p(k){return i.enter("mathText"),i.enter("mathTextSequence"),h(k)}function h(k){return k===36?(i.consume(k),l++,h):l<2&&!r?s(k):(i.exit("mathTextSequence"),m(k))}function m(k){return k===null?s(k):k===36?(c=i.enter("mathTextSequence"),u=0,b(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),m):ce(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),m):(i.enter("mathTextData"),d(k))}function d(k){return k===null||k===32||k===36||ce(k)?(i.exit("mathTextData"),m(k)):(i.consume(k),d)}function b(k){return k===36?(i.consume(k),u++,b):u===l?(i.exit("mathTextSequence"),i.exit("mathText"),a(k)):(c.type="mathTextData",d(k))}}}function Ov(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function Vv(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function jv(e){return{flow:{36:Rv},text:{36:zv(e)}}}class Vt{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new Vt(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Wt{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new Wt(r,Vt.range(this,t))}}class ne{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var l=s.lexer.input;i=s.start,a=s.end,i===l.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var u=l.slice(i,a).replace(/[^]/g,"$&̲"),c;i>15?c="…"+l.slice(i-15,i):c=l.slice(0,i);var p;a+15<l.length?p=l.slice(a,a+15)+"…":p=l.slice(a),n+=c+u+p}var h=new Error(n);return h.name="ParseError",h.__proto__=ne.prototype,h.position=i,i!=null&&a!=null&&(h.length=a-i),h.rawMessage=t,h}}ne.prototype.__proto__=Error.prototype;var qv=function(t,r){return t===void 0?r:t},Hv=/([A-Z])/g,Uv=function(t){return t.replace(Hv,"-$1").toLowerCase()},$v={"&":"&",">":">","<":"<",'"':""","'":"'"},Gv=/[&><"']/g;function Jv(e){return String(e).replace(Gv,t=>$v[t])}var Df=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Wv=function(t){var r=Df(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Xv=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Yv=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},De={deflt:qv,escape:Jv,hyphenate:Uv,getBaseElem:Df,isCharacterBox:Wv,protocolFromUrl:Yv},Ta={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Kv(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class zl{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in Ta)if(Ta.hasOwnProperty(r)){var n=Ta[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Kv(n)}}reportNonstrict(t,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(t,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new ne("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var i=this.strict;if(typeof i=="function")try{i=i(t,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=De.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class rn{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return _r[Qv[this.id]]}sub(){return _r[Zv[this.id]]}fracNum(){return _r[e7[this.id]]}fracDen(){return _r[t7[this.id]]}cramp(){return _r[r7[this.id]]}text(){return _r[n7[this.id]]}isTight(){return this.size>=2}}var Ol=0,Ha=1,$n=2,Hr=3,Bi=4,lr=5,Xn=6,Bt=7,_r=[new rn(Ol,0,!1),new rn(Ha,0,!0),new rn($n,1,!1),new rn(Hr,1,!0),new rn(Bi,2,!1),new rn(lr,2,!0),new rn(Xn,3,!1),new rn(Bt,3,!0)],Qv=[Bi,lr,Bi,lr,Xn,Bt,Xn,Bt],Zv=[lr,lr,lr,lr,Bt,Bt,Bt,Bt],e7=[$n,Hr,Bi,lr,Xn,Bt,Xn,Bt],t7=[Hr,Hr,lr,lr,Bt,Bt,Bt,Bt],r7=[Ha,Ha,Hr,Hr,lr,lr,Bt,Bt],n7=[Ol,Ha,$n,Hr,$n,Hr,$n,Hr],ve={DISPLAY:_r[Ol],TEXT:_r[$n],SCRIPT:_r[Bi],SCRIPTSCRIPT:_r[Xn]},Xo=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function i7(e){for(var t=0;t<Xo.length;t++)for(var r=Xo[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}var Ia=[];Xo.forEach(e=>e.blocks.forEach(t=>Ia.push(...t)));function Ff(e){for(var t=0;t<Ia.length;t+=2)if(e>=Ia[t]&&e<=Ia[t+1])return!0;return!1}var zn=80,a7=function(t,r){return"M95,"+(622+t+r)+`
|
|
72
|
+
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
73
|
+
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
74
|
+
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
75
|
+
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
76
|
+
c69,-144,104.5,-217.7,106.5,-221
|
|
77
|
+
l`+t/2.075+" -"+t+`
|
|
78
|
+
c5.3,-9.3,12,-14,20,-14
|
|
79
|
+
H400000v`+(40+t)+`H845.2724
|
|
80
|
+
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
81
|
+
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
82
|
+
M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},s7=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
|
|
83
|
+
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
84
|
+
c340,-704.7,510.7,-1060.3,512,-1067
|
|
85
|
+
l`+t/2.084+" -"+t+`
|
|
86
|
+
c4.7,-7.3,11,-11,19,-11
|
|
87
|
+
H40000v`+(40+t)+`H1012.3
|
|
88
|
+
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
89
|
+
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
90
|
+
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
91
|
+
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
92
|
+
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},o7=function(t,r){return"M983 "+(10+t+r)+`
|
|
93
|
+
l`+t/3.13+" -"+t+`
|
|
94
|
+
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
|
95
|
+
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
96
|
+
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
97
|
+
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
98
|
+
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
99
|
+
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
100
|
+
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
101
|
+
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},l7=function(t,r){return"M424,"+(2398+t+r)+`
|
|
102
|
+
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
103
|
+
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
104
|
+
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
105
|
+
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
106
|
+
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
|
107
|
+
v`+(40+t)+`H1014.6
|
|
108
|
+
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
109
|
+
c-2,6,-10,9,-24,9
|
|
110
|
+
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
|
|
111
|
+
h400000v`+(40+t)+"h-400000z"},u7=function(t,r){return"M473,"+(2713+t+r)+`
|
|
112
|
+
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
|
113
|
+
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
|
|
114
|
+
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
115
|
+
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
116
|
+
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
117
|
+
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
118
|
+
606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},c7=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},h7=function(t,r,n){var i=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
|
|
119
|
+
H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
|
|
120
|
+
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
121
|
+
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
122
|
+
219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},p7=function(t,r,n){r=1e3*r;var i="";switch(t){case"sqrtMain":i=a7(r,zn);break;case"sqrtSize1":i=s7(r,zn);break;case"sqrtSize2":i=o7(r,zn);break;case"sqrtSize3":i=l7(r,zn);break;case"sqrtSize4":i=u7(r,zn);break;case"sqrtTall":i=h7(r,zn,n)}return i},f7=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},vc={doubleleftarrow:`M262 157
|
|
123
|
+
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
124
|
+
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
125
|
+
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
126
|
+
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
127
|
+
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
128
|
+
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
129
|
+
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
130
|
+
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
131
|
+
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
132
|
+
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
133
|
+
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
134
|
+
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
135
|
+
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
136
|
+
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
137
|
+
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
138
|
+
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
139
|
+
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
140
|
+
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
141
|
+
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
142
|
+
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
143
|
+
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
144
|
+
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
145
|
+
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
146
|
+
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
147
|
+
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
148
|
+
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
149
|
+
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
150
|
+
435 0h399565z`,leftgroupunder:`M400000 262
|
|
151
|
+
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
152
|
+
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
153
|
+
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
154
|
+
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
155
|
+
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
156
|
+
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
157
|
+
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
158
|
+
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
159
|
+
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
160
|
+
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
161
|
+
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
162
|
+
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
163
|
+
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
164
|
+
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
165
|
+
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
166
|
+
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
167
|
+
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
168
|
+
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
169
|
+
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
170
|
+
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
171
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
172
|
+
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
173
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
174
|
+
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
175
|
+
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
176
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
177
|
+
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
178
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
179
|
+
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
180
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
181
|
+
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
182
|
+
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
183
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
184
|
+
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
185
|
+
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
186
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
187
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
188
|
+
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
189
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
190
|
+
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
191
|
+
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
192
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
193
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
194
|
+
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
195
|
+
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
196
|
+
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
197
|
+
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
198
|
+
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
199
|
+
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
200
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
201
|
+
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
202
|
+
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
203
|
+
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
204
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
205
|
+
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
206
|
+
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
207
|
+
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
208
|
+
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
209
|
+
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
210
|
+
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
211
|
+
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
212
|
+
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
213
|
+
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
214
|
+
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
215
|
+
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
216
|
+
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
217
|
+
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
218
|
+
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
219
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
220
|
+
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
221
|
+
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
222
|
+
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
223
|
+
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
224
|
+
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
225
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
226
|
+
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
227
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
228
|
+
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
229
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
230
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
231
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
232
|
+
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
233
|
+
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
234
|
+
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
235
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
236
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
237
|
+
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
238
|
+
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
239
|
+
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
240
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
241
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
242
|
+
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
243
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
244
|
+
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
245
|
+
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
246
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
247
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
248
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
249
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
250
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
251
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
252
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
253
|
+
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
254
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
255
|
+
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
256
|
+
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
257
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
258
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
259
|
+
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
260
|
+
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
261
|
+
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
262
|
+
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
263
|
+
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
264
|
+
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
265
|
+
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
266
|
+
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
267
|
+
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
268
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
269
|
+
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
270
|
+
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
271
|
+
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
272
|
+
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
273
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
274
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
275
|
+
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
276
|
+
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
277
|
+
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
278
|
+
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
279
|
+
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
280
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
281
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
282
|
+
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
283
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
284
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
285
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
286
|
+
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
287
|
+
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
288
|
+
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
289
|
+
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
290
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
291
|
+
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
292
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
293
|
+
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
294
|
+
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
295
|
+
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
296
|
+
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
297
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},d7=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
|
|
298
|
+
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
|
|
299
|
+
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
|
300
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
301
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
|
302
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
303
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
|
|
304
|
+
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
|
|
305
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
306
|
+
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
|
|
307
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
|
|
308
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
|
|
309
|
+
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
|
|
310
|
+
M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
311
|
+
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
312
|
+
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
313
|
+
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
314
|
+
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
315
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
316
|
+
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
317
|
+
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
318
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
319
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
|
|
320
|
+
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
321
|
+
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
322
|
+
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
323
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
324
|
+
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
325
|
+
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Xi{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var Ar={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},fa={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},bc={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function m7(e,t){Ar[e]=t}function Vl(e,t,r){if(!Ar[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=Ar[t][n];if(!i&&e[0]in bc&&(n=bc[e[0]].charCodeAt(0),i=Ar[t][n]),!i&&r==="text"&&Ff(n)&&(i=Ar[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var lo={};function g7(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!lo[t]){var r=lo[t]={cssEmPerMu:fa.quad[t]/18};for(var n in fa)fa.hasOwnProperty(n)&&(r[n]=fa[n][t])}return lo[t]}var x7=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],wc=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],kc=function(t,r){return r.size<2?t:x7[t-1][r.size-1]};class Vr{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Vr.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=wc[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Vr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:kc(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:wc[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=kc(Vr.BASESIZE,t);return this.size===r&&this.textSize===Vr.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Vr.BASESIZE?["sizing","reset-size"+this.size,"size"+Vr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=g7(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Vr.BASESIZE=6;var Yo={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},y7={ex:!0,em:!0,mu:!0},zf=function(t){return typeof t!="string"&&(t=t.unit),t in Yo||t in y7||t==="ex"},et=function(t,r){var n;if(t.unit in Yo)n=Yo[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new ne("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},oe=function(t){return+t.toFixed(4)+"em"},hn=function(t){return t.filter(r=>r).join(" ")},Of=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},Vf=function(t){var r=document.createElement(t);r.className=hn(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},v7=/[\s"'>/=\x00-\x1f]/,jf=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+De.escape(hn(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=De.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+De.escape(n)+'"');for(var a in this.attributes)if(this.attributes.hasOwnProperty(a)){if(v7.test(a))throw new ne("Invalid attribute name '"+a+"'");r+=" "+a+'="'+De.escape(this.attributes[a])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class Yi{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Of.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return Vf.call(this,"span")}toMarkup(){return jf.call(this,"span")}}let jl=class{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Of.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return Vf.call(this,"a")}toMarkup(){return jf.call(this,"a")}};class b7{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+De.escape(this.src)+'"'+(' alt="'+De.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=De.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+De.escape(r)+'"'),t+="'/>",t}}var w7={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ur{constructor(t,r,n,i,a,s,l,u){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=s||0,this.classes=l||[],this.style=u||{},this.maxFontSize=0;var c=i7(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=w7[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=oe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=hn(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=De.escape(hn(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=De.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+De.escape(n)+'"');var a=De.escape(this.text);return t?(r+=">",r+=a,r+="</span>",r):a}}class Jr{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+De.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class pn{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",vc[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+De.escape(this.alternate)+'"/>':'<path d="'+De.escape(vc[this.pathName])+'"/>'}}class Ko{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+De.escape(this.attributes[r])+'"');return t+="/>",t}}function Sc(e){if(e instanceof ur)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function k7(e){if(e instanceof Yi)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var S7={bin:1,close:1,inner:1,open:1,punct:1,rel:1},C7={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Je={math:{},text:{}};function x(e,t,r,n,i,a){Je[e][i]={font:t,group:r,replace:n},a&&n&&(Je[e][n]=Je[e][i])}var y="math",ee="text",E="main",R="ams",Qe="accent-token",he="bin",Rt="close",ai="inner",ye="mathord",lt="op-token",Xt="open",ys="punct",D="rel",Qr="spacing",q="textord";x(y,E,D,"≡","\\equiv",!0);x(y,E,D,"≺","\\prec",!0);x(y,E,D,"≻","\\succ",!0);x(y,E,D,"∼","\\sim",!0);x(y,E,D,"⊥","\\perp");x(y,E,D,"⪯","\\preceq",!0);x(y,E,D,"⪰","\\succeq",!0);x(y,E,D,"≃","\\simeq",!0);x(y,E,D,"∣","\\mid",!0);x(y,E,D,"≪","\\ll",!0);x(y,E,D,"≫","\\gg",!0);x(y,E,D,"≍","\\asymp",!0);x(y,E,D,"∥","\\parallel");x(y,E,D,"⋈","\\bowtie",!0);x(y,E,D,"⌣","\\smile",!0);x(y,E,D,"⊑","\\sqsubseteq",!0);x(y,E,D,"⊒","\\sqsupseteq",!0);x(y,E,D,"≐","\\doteq",!0);x(y,E,D,"⌢","\\frown",!0);x(y,E,D,"∋","\\ni",!0);x(y,E,D,"∝","\\propto",!0);x(y,E,D,"⊢","\\vdash",!0);x(y,E,D,"⊣","\\dashv",!0);x(y,E,D,"∋","\\owns");x(y,E,ys,".","\\ldotp");x(y,E,ys,"⋅","\\cdotp");x(y,E,q,"#","\\#");x(ee,E,q,"#","\\#");x(y,E,q,"&","\\&");x(ee,E,q,"&","\\&");x(y,E,q,"ℵ","\\aleph",!0);x(y,E,q,"∀","\\forall",!0);x(y,E,q,"ℏ","\\hbar",!0);x(y,E,q,"∃","\\exists",!0);x(y,E,q,"∇","\\nabla",!0);x(y,E,q,"♭","\\flat",!0);x(y,E,q,"ℓ","\\ell",!0);x(y,E,q,"♮","\\natural",!0);x(y,E,q,"♣","\\clubsuit",!0);x(y,E,q,"℘","\\wp",!0);x(y,E,q,"♯","\\sharp",!0);x(y,E,q,"♢","\\diamondsuit",!0);x(y,E,q,"ℜ","\\Re",!0);x(y,E,q,"♡","\\heartsuit",!0);x(y,E,q,"ℑ","\\Im",!0);x(y,E,q,"♠","\\spadesuit",!0);x(y,E,q,"§","\\S",!0);x(ee,E,q,"§","\\S");x(y,E,q,"¶","\\P",!0);x(ee,E,q,"¶","\\P");x(y,E,q,"†","\\dag");x(ee,E,q,"†","\\dag");x(ee,E,q,"†","\\textdagger");x(y,E,q,"‡","\\ddag");x(ee,E,q,"‡","\\ddag");x(ee,E,q,"‡","\\textdaggerdbl");x(y,E,Rt,"⎱","\\rmoustache",!0);x(y,E,Xt,"⎰","\\lmoustache",!0);x(y,E,Rt,"⟯","\\rgroup",!0);x(y,E,Xt,"⟮","\\lgroup",!0);x(y,E,he,"∓","\\mp",!0);x(y,E,he,"⊖","\\ominus",!0);x(y,E,he,"⊎","\\uplus",!0);x(y,E,he,"⊓","\\sqcap",!0);x(y,E,he,"∗","\\ast");x(y,E,he,"⊔","\\sqcup",!0);x(y,E,he,"◯","\\bigcirc",!0);x(y,E,he,"∙","\\bullet",!0);x(y,E,he,"‡","\\ddagger");x(y,E,he,"≀","\\wr",!0);x(y,E,he,"⨿","\\amalg");x(y,E,he,"&","\\And");x(y,E,D,"⟵","\\longleftarrow",!0);x(y,E,D,"⇐","\\Leftarrow",!0);x(y,E,D,"⟸","\\Longleftarrow",!0);x(y,E,D,"⟶","\\longrightarrow",!0);x(y,E,D,"⇒","\\Rightarrow",!0);x(y,E,D,"⟹","\\Longrightarrow",!0);x(y,E,D,"↔","\\leftrightarrow",!0);x(y,E,D,"⟷","\\longleftrightarrow",!0);x(y,E,D,"⇔","\\Leftrightarrow",!0);x(y,E,D,"⟺","\\Longleftrightarrow",!0);x(y,E,D,"↦","\\mapsto",!0);x(y,E,D,"⟼","\\longmapsto",!0);x(y,E,D,"↗","\\nearrow",!0);x(y,E,D,"↩","\\hookleftarrow",!0);x(y,E,D,"↪","\\hookrightarrow",!0);x(y,E,D,"↘","\\searrow",!0);x(y,E,D,"↼","\\leftharpoonup",!0);x(y,E,D,"⇀","\\rightharpoonup",!0);x(y,E,D,"↙","\\swarrow",!0);x(y,E,D,"↽","\\leftharpoondown",!0);x(y,E,D,"⇁","\\rightharpoondown",!0);x(y,E,D,"↖","\\nwarrow",!0);x(y,E,D,"⇌","\\rightleftharpoons",!0);x(y,R,D,"≮","\\nless",!0);x(y,R,D,"","\\@nleqslant");x(y,R,D,"","\\@nleqq");x(y,R,D,"⪇","\\lneq",!0);x(y,R,D,"≨","\\lneqq",!0);x(y,R,D,"","\\@lvertneqq");x(y,R,D,"⋦","\\lnsim",!0);x(y,R,D,"⪉","\\lnapprox",!0);x(y,R,D,"⊀","\\nprec",!0);x(y,R,D,"⋠","\\npreceq",!0);x(y,R,D,"⋨","\\precnsim",!0);x(y,R,D,"⪹","\\precnapprox",!0);x(y,R,D,"≁","\\nsim",!0);x(y,R,D,"","\\@nshortmid");x(y,R,D,"∤","\\nmid",!0);x(y,R,D,"⊬","\\nvdash",!0);x(y,R,D,"⊭","\\nvDash",!0);x(y,R,D,"⋪","\\ntriangleleft");x(y,R,D,"⋬","\\ntrianglelefteq",!0);x(y,R,D,"⊊","\\subsetneq",!0);x(y,R,D,"","\\@varsubsetneq");x(y,R,D,"⫋","\\subsetneqq",!0);x(y,R,D,"","\\@varsubsetneqq");x(y,R,D,"≯","\\ngtr",!0);x(y,R,D,"","\\@ngeqslant");x(y,R,D,"","\\@ngeqq");x(y,R,D,"⪈","\\gneq",!0);x(y,R,D,"≩","\\gneqq",!0);x(y,R,D,"","\\@gvertneqq");x(y,R,D,"⋧","\\gnsim",!0);x(y,R,D,"⪊","\\gnapprox",!0);x(y,R,D,"⊁","\\nsucc",!0);x(y,R,D,"⋡","\\nsucceq",!0);x(y,R,D,"⋩","\\succnsim",!0);x(y,R,D,"⪺","\\succnapprox",!0);x(y,R,D,"≆","\\ncong",!0);x(y,R,D,"","\\@nshortparallel");x(y,R,D,"∦","\\nparallel",!0);x(y,R,D,"⊯","\\nVDash",!0);x(y,R,D,"⋫","\\ntriangleright");x(y,R,D,"⋭","\\ntrianglerighteq",!0);x(y,R,D,"","\\@nsupseteqq");x(y,R,D,"⊋","\\supsetneq",!0);x(y,R,D,"","\\@varsupsetneq");x(y,R,D,"⫌","\\supsetneqq",!0);x(y,R,D,"","\\@varsupsetneqq");x(y,R,D,"⊮","\\nVdash",!0);x(y,R,D,"⪵","\\precneqq",!0);x(y,R,D,"⪶","\\succneqq",!0);x(y,R,D,"","\\@nsubseteqq");x(y,R,he,"⊴","\\unlhd");x(y,R,he,"⊵","\\unrhd");x(y,R,D,"↚","\\nleftarrow",!0);x(y,R,D,"↛","\\nrightarrow",!0);x(y,R,D,"⇍","\\nLeftarrow",!0);x(y,R,D,"⇏","\\nRightarrow",!0);x(y,R,D,"↮","\\nleftrightarrow",!0);x(y,R,D,"⇎","\\nLeftrightarrow",!0);x(y,R,D,"△","\\vartriangle");x(y,R,q,"ℏ","\\hslash");x(y,R,q,"▽","\\triangledown");x(y,R,q,"◊","\\lozenge");x(y,R,q,"Ⓢ","\\circledS");x(y,R,q,"®","\\circledR");x(ee,R,q,"®","\\circledR");x(y,R,q,"∡","\\measuredangle",!0);x(y,R,q,"∄","\\nexists");x(y,R,q,"℧","\\mho");x(y,R,q,"Ⅎ","\\Finv",!0);x(y,R,q,"⅁","\\Game",!0);x(y,R,q,"‵","\\backprime");x(y,R,q,"▲","\\blacktriangle");x(y,R,q,"▼","\\blacktriangledown");x(y,R,q,"■","\\blacksquare");x(y,R,q,"⧫","\\blacklozenge");x(y,R,q,"★","\\bigstar");x(y,R,q,"∢","\\sphericalangle",!0);x(y,R,q,"∁","\\complement",!0);x(y,R,q,"ð","\\eth",!0);x(ee,E,q,"ð","ð");x(y,R,q,"╱","\\diagup");x(y,R,q,"╲","\\diagdown");x(y,R,q,"□","\\square");x(y,R,q,"□","\\Box");x(y,R,q,"◊","\\Diamond");x(y,R,q,"¥","\\yen",!0);x(ee,R,q,"¥","\\yen",!0);x(y,R,q,"✓","\\checkmark",!0);x(ee,R,q,"✓","\\checkmark");x(y,R,q,"ℶ","\\beth",!0);x(y,R,q,"ℸ","\\daleth",!0);x(y,R,q,"ℷ","\\gimel",!0);x(y,R,q,"ϝ","\\digamma",!0);x(y,R,q,"ϰ","\\varkappa");x(y,R,Xt,"┌","\\@ulcorner",!0);x(y,R,Rt,"┐","\\@urcorner",!0);x(y,R,Xt,"└","\\@llcorner",!0);x(y,R,Rt,"┘","\\@lrcorner",!0);x(y,R,D,"≦","\\leqq",!0);x(y,R,D,"⩽","\\leqslant",!0);x(y,R,D,"⪕","\\eqslantless",!0);x(y,R,D,"≲","\\lesssim",!0);x(y,R,D,"⪅","\\lessapprox",!0);x(y,R,D,"≊","\\approxeq",!0);x(y,R,he,"⋖","\\lessdot");x(y,R,D,"⋘","\\lll",!0);x(y,R,D,"≶","\\lessgtr",!0);x(y,R,D,"⋚","\\lesseqgtr",!0);x(y,R,D,"⪋","\\lesseqqgtr",!0);x(y,R,D,"≑","\\doteqdot");x(y,R,D,"≓","\\risingdotseq",!0);x(y,R,D,"≒","\\fallingdotseq",!0);x(y,R,D,"∽","\\backsim",!0);x(y,R,D,"⋍","\\backsimeq",!0);x(y,R,D,"⫅","\\subseteqq",!0);x(y,R,D,"⋐","\\Subset",!0);x(y,R,D,"⊏","\\sqsubset",!0);x(y,R,D,"≼","\\preccurlyeq",!0);x(y,R,D,"⋞","\\curlyeqprec",!0);x(y,R,D,"≾","\\precsim",!0);x(y,R,D,"⪷","\\precapprox",!0);x(y,R,D,"⊲","\\vartriangleleft");x(y,R,D,"⊴","\\trianglelefteq");x(y,R,D,"⊨","\\vDash",!0);x(y,R,D,"⊪","\\Vvdash",!0);x(y,R,D,"⌣","\\smallsmile");x(y,R,D,"⌢","\\smallfrown");x(y,R,D,"≏","\\bumpeq",!0);x(y,R,D,"≎","\\Bumpeq",!0);x(y,R,D,"≧","\\geqq",!0);x(y,R,D,"⩾","\\geqslant",!0);x(y,R,D,"⪖","\\eqslantgtr",!0);x(y,R,D,"≳","\\gtrsim",!0);x(y,R,D,"⪆","\\gtrapprox",!0);x(y,R,he,"⋗","\\gtrdot");x(y,R,D,"⋙","\\ggg",!0);x(y,R,D,"≷","\\gtrless",!0);x(y,R,D,"⋛","\\gtreqless",!0);x(y,R,D,"⪌","\\gtreqqless",!0);x(y,R,D,"≖","\\eqcirc",!0);x(y,R,D,"≗","\\circeq",!0);x(y,R,D,"≜","\\triangleq",!0);x(y,R,D,"∼","\\thicksim");x(y,R,D,"≈","\\thickapprox");x(y,R,D,"⫆","\\supseteqq",!0);x(y,R,D,"⋑","\\Supset",!0);x(y,R,D,"⊐","\\sqsupset",!0);x(y,R,D,"≽","\\succcurlyeq",!0);x(y,R,D,"⋟","\\curlyeqsucc",!0);x(y,R,D,"≿","\\succsim",!0);x(y,R,D,"⪸","\\succapprox",!0);x(y,R,D,"⊳","\\vartriangleright");x(y,R,D,"⊵","\\trianglerighteq");x(y,R,D,"⊩","\\Vdash",!0);x(y,R,D,"∣","\\shortmid");x(y,R,D,"∥","\\shortparallel");x(y,R,D,"≬","\\between",!0);x(y,R,D,"⋔","\\pitchfork",!0);x(y,R,D,"∝","\\varpropto");x(y,R,D,"◀","\\blacktriangleleft");x(y,R,D,"∴","\\therefore",!0);x(y,R,D,"∍","\\backepsilon");x(y,R,D,"▶","\\blacktriangleright");x(y,R,D,"∵","\\because",!0);x(y,R,D,"⋘","\\llless");x(y,R,D,"⋙","\\gggtr");x(y,R,he,"⊲","\\lhd");x(y,R,he,"⊳","\\rhd");x(y,R,D,"≂","\\eqsim",!0);x(y,E,D,"⋈","\\Join");x(y,R,D,"≑","\\Doteq",!0);x(y,R,he,"∔","\\dotplus",!0);x(y,R,he,"∖","\\smallsetminus");x(y,R,he,"⋒","\\Cap",!0);x(y,R,he,"⋓","\\Cup",!0);x(y,R,he,"⩞","\\doublebarwedge",!0);x(y,R,he,"⊟","\\boxminus",!0);x(y,R,he,"⊞","\\boxplus",!0);x(y,R,he,"⋇","\\divideontimes",!0);x(y,R,he,"⋉","\\ltimes",!0);x(y,R,he,"⋊","\\rtimes",!0);x(y,R,he,"⋋","\\leftthreetimes",!0);x(y,R,he,"⋌","\\rightthreetimes",!0);x(y,R,he,"⋏","\\curlywedge",!0);x(y,R,he,"⋎","\\curlyvee",!0);x(y,R,he,"⊝","\\circleddash",!0);x(y,R,he,"⊛","\\circledast",!0);x(y,R,he,"⋅","\\centerdot");x(y,R,he,"⊺","\\intercal",!0);x(y,R,he,"⋒","\\doublecap");x(y,R,he,"⋓","\\doublecup");x(y,R,he,"⊠","\\boxtimes",!0);x(y,R,D,"⇢","\\dashrightarrow",!0);x(y,R,D,"⇠","\\dashleftarrow",!0);x(y,R,D,"⇇","\\leftleftarrows",!0);x(y,R,D,"⇆","\\leftrightarrows",!0);x(y,R,D,"⇚","\\Lleftarrow",!0);x(y,R,D,"↞","\\twoheadleftarrow",!0);x(y,R,D,"↢","\\leftarrowtail",!0);x(y,R,D,"↫","\\looparrowleft",!0);x(y,R,D,"⇋","\\leftrightharpoons",!0);x(y,R,D,"↶","\\curvearrowleft",!0);x(y,R,D,"↺","\\circlearrowleft",!0);x(y,R,D,"↰","\\Lsh",!0);x(y,R,D,"⇈","\\upuparrows",!0);x(y,R,D,"↿","\\upharpoonleft",!0);x(y,R,D,"⇃","\\downharpoonleft",!0);x(y,E,D,"⊶","\\origof",!0);x(y,E,D,"⊷","\\imageof",!0);x(y,R,D,"⊸","\\multimap",!0);x(y,R,D,"↭","\\leftrightsquigarrow",!0);x(y,R,D,"⇉","\\rightrightarrows",!0);x(y,R,D,"⇄","\\rightleftarrows",!0);x(y,R,D,"↠","\\twoheadrightarrow",!0);x(y,R,D,"↣","\\rightarrowtail",!0);x(y,R,D,"↬","\\looparrowright",!0);x(y,R,D,"↷","\\curvearrowright",!0);x(y,R,D,"↻","\\circlearrowright",!0);x(y,R,D,"↱","\\Rsh",!0);x(y,R,D,"⇊","\\downdownarrows",!0);x(y,R,D,"↾","\\upharpoonright",!0);x(y,R,D,"⇂","\\downharpoonright",!0);x(y,R,D,"⇝","\\rightsquigarrow",!0);x(y,R,D,"⇝","\\leadsto");x(y,R,D,"⇛","\\Rrightarrow",!0);x(y,R,D,"↾","\\restriction");x(y,E,q,"‘","`");x(y,E,q,"$","\\$");x(ee,E,q,"$","\\$");x(ee,E,q,"$","\\textdollar");x(y,E,q,"%","\\%");x(ee,E,q,"%","\\%");x(y,E,q,"_","\\_");x(ee,E,q,"_","\\_");x(ee,E,q,"_","\\textunderscore");x(y,E,q,"∠","\\angle",!0);x(y,E,q,"∞","\\infty",!0);x(y,E,q,"′","\\prime");x(y,E,q,"△","\\triangle");x(y,E,q,"Γ","\\Gamma",!0);x(y,E,q,"Δ","\\Delta",!0);x(y,E,q,"Θ","\\Theta",!0);x(y,E,q,"Λ","\\Lambda",!0);x(y,E,q,"Ξ","\\Xi",!0);x(y,E,q,"Π","\\Pi",!0);x(y,E,q,"Σ","\\Sigma",!0);x(y,E,q,"Υ","\\Upsilon",!0);x(y,E,q,"Φ","\\Phi",!0);x(y,E,q,"Ψ","\\Psi",!0);x(y,E,q,"Ω","\\Omega",!0);x(y,E,q,"A","Α");x(y,E,q,"B","Β");x(y,E,q,"E","Ε");x(y,E,q,"Z","Ζ");x(y,E,q,"H","Η");x(y,E,q,"I","Ι");x(y,E,q,"K","Κ");x(y,E,q,"M","Μ");x(y,E,q,"N","Ν");x(y,E,q,"O","Ο");x(y,E,q,"P","Ρ");x(y,E,q,"T","Τ");x(y,E,q,"X","Χ");x(y,E,q,"¬","\\neg",!0);x(y,E,q,"¬","\\lnot");x(y,E,q,"⊤","\\top");x(y,E,q,"⊥","\\bot");x(y,E,q,"∅","\\emptyset");x(y,R,q,"∅","\\varnothing");x(y,E,ye,"α","\\alpha",!0);x(y,E,ye,"β","\\beta",!0);x(y,E,ye,"γ","\\gamma",!0);x(y,E,ye,"δ","\\delta",!0);x(y,E,ye,"ϵ","\\epsilon",!0);x(y,E,ye,"ζ","\\zeta",!0);x(y,E,ye,"η","\\eta",!0);x(y,E,ye,"θ","\\theta",!0);x(y,E,ye,"ι","\\iota",!0);x(y,E,ye,"κ","\\kappa",!0);x(y,E,ye,"λ","\\lambda",!0);x(y,E,ye,"μ","\\mu",!0);x(y,E,ye,"ν","\\nu",!0);x(y,E,ye,"ξ","\\xi",!0);x(y,E,ye,"ο","\\omicron",!0);x(y,E,ye,"π","\\pi",!0);x(y,E,ye,"ρ","\\rho",!0);x(y,E,ye,"σ","\\sigma",!0);x(y,E,ye,"τ","\\tau",!0);x(y,E,ye,"υ","\\upsilon",!0);x(y,E,ye,"ϕ","\\phi",!0);x(y,E,ye,"χ","\\chi",!0);x(y,E,ye,"ψ","\\psi",!0);x(y,E,ye,"ω","\\omega",!0);x(y,E,ye,"ε","\\varepsilon",!0);x(y,E,ye,"ϑ","\\vartheta",!0);x(y,E,ye,"ϖ","\\varpi",!0);x(y,E,ye,"ϱ","\\varrho",!0);x(y,E,ye,"ς","\\varsigma",!0);x(y,E,ye,"φ","\\varphi",!0);x(y,E,he,"∗","*",!0);x(y,E,he,"+","+");x(y,E,he,"−","-",!0);x(y,E,he,"⋅","\\cdot",!0);x(y,E,he,"∘","\\circ",!0);x(y,E,he,"÷","\\div",!0);x(y,E,he,"±","\\pm",!0);x(y,E,he,"×","\\times",!0);x(y,E,he,"∩","\\cap",!0);x(y,E,he,"∪","\\cup",!0);x(y,E,he,"∖","\\setminus",!0);x(y,E,he,"∧","\\land");x(y,E,he,"∨","\\lor");x(y,E,he,"∧","\\wedge",!0);x(y,E,he,"∨","\\vee",!0);x(y,E,q,"√","\\surd");x(y,E,Xt,"⟨","\\langle",!0);x(y,E,Xt,"∣","\\lvert");x(y,E,Xt,"∥","\\lVert");x(y,E,Rt,"?","?");x(y,E,Rt,"!","!");x(y,E,Rt,"⟩","\\rangle",!0);x(y,E,Rt,"∣","\\rvert");x(y,E,Rt,"∥","\\rVert");x(y,E,D,"=","=");x(y,E,D,":",":");x(y,E,D,"≈","\\approx",!0);x(y,E,D,"≅","\\cong",!0);x(y,E,D,"≥","\\ge");x(y,E,D,"≥","\\geq",!0);x(y,E,D,"←","\\gets");x(y,E,D,">","\\gt",!0);x(y,E,D,"∈","\\in",!0);x(y,E,D,"","\\@not");x(y,E,D,"⊂","\\subset",!0);x(y,E,D,"⊃","\\supset",!0);x(y,E,D,"⊆","\\subseteq",!0);x(y,E,D,"⊇","\\supseteq",!0);x(y,R,D,"⊈","\\nsubseteq",!0);x(y,R,D,"⊉","\\nsupseteq",!0);x(y,E,D,"⊨","\\models");x(y,E,D,"←","\\leftarrow",!0);x(y,E,D,"≤","\\le");x(y,E,D,"≤","\\leq",!0);x(y,E,D,"<","\\lt",!0);x(y,E,D,"→","\\rightarrow",!0);x(y,E,D,"→","\\to");x(y,R,D,"≱","\\ngeq",!0);x(y,R,D,"≰","\\nleq",!0);x(y,E,Qr," ","\\ ");x(y,E,Qr," ","\\space");x(y,E,Qr," ","\\nobreakspace");x(ee,E,Qr," ","\\ ");x(ee,E,Qr," "," ");x(ee,E,Qr," ","\\space");x(ee,E,Qr," ","\\nobreakspace");x(y,E,Qr,null,"\\nobreak");x(y,E,Qr,null,"\\allowbreak");x(y,E,ys,",",",");x(y,E,ys,";",";");x(y,R,he,"⊼","\\barwedge",!0);x(y,R,he,"⊻","\\veebar",!0);x(y,E,he,"⊙","\\odot",!0);x(y,E,he,"⊕","\\oplus",!0);x(y,E,he,"⊗","\\otimes",!0);x(y,E,q,"∂","\\partial",!0);x(y,E,he,"⊘","\\oslash",!0);x(y,R,he,"⊚","\\circledcirc",!0);x(y,R,he,"⊡","\\boxdot",!0);x(y,E,he,"△","\\bigtriangleup");x(y,E,he,"▽","\\bigtriangledown");x(y,E,he,"†","\\dagger");x(y,E,he,"⋄","\\diamond");x(y,E,he,"⋆","\\star");x(y,E,he,"◃","\\triangleleft");x(y,E,he,"▹","\\triangleright");x(y,E,Xt,"{","\\{");x(ee,E,q,"{","\\{");x(ee,E,q,"{","\\textbraceleft");x(y,E,Rt,"}","\\}");x(ee,E,q,"}","\\}");x(ee,E,q,"}","\\textbraceright");x(y,E,Xt,"{","\\lbrace");x(y,E,Rt,"}","\\rbrace");x(y,E,Xt,"[","\\lbrack",!0);x(ee,E,q,"[","\\lbrack",!0);x(y,E,Rt,"]","\\rbrack",!0);x(ee,E,q,"]","\\rbrack",!0);x(y,E,Xt,"(","\\lparen",!0);x(y,E,Rt,")","\\rparen",!0);x(ee,E,q,"<","\\textless",!0);x(ee,E,q,">","\\textgreater",!0);x(y,E,Xt,"⌊","\\lfloor",!0);x(y,E,Rt,"⌋","\\rfloor",!0);x(y,E,Xt,"⌈","\\lceil",!0);x(y,E,Rt,"⌉","\\rceil",!0);x(y,E,q,"\\","\\backslash");x(y,E,q,"∣","|");x(y,E,q,"∣","\\vert");x(ee,E,q,"|","\\textbar",!0);x(y,E,q,"∥","\\|");x(y,E,q,"∥","\\Vert");x(ee,E,q,"∥","\\textbardbl");x(ee,E,q,"~","\\textasciitilde");x(ee,E,q,"\\","\\textbackslash");x(ee,E,q,"^","\\textasciicircum");x(y,E,D,"↑","\\uparrow",!0);x(y,E,D,"⇑","\\Uparrow",!0);x(y,E,D,"↓","\\downarrow",!0);x(y,E,D,"⇓","\\Downarrow",!0);x(y,E,D,"↕","\\updownarrow",!0);x(y,E,D,"⇕","\\Updownarrow",!0);x(y,E,lt,"∐","\\coprod");x(y,E,lt,"⋁","\\bigvee");x(y,E,lt,"⋀","\\bigwedge");x(y,E,lt,"⨄","\\biguplus");x(y,E,lt,"⋂","\\bigcap");x(y,E,lt,"⋃","\\bigcup");x(y,E,lt,"∫","\\int");x(y,E,lt,"∫","\\intop");x(y,E,lt,"∬","\\iint");x(y,E,lt,"∭","\\iiint");x(y,E,lt,"∏","\\prod");x(y,E,lt,"∑","\\sum");x(y,E,lt,"⨂","\\bigotimes");x(y,E,lt,"⨁","\\bigoplus");x(y,E,lt,"⨀","\\bigodot");x(y,E,lt,"∮","\\oint");x(y,E,lt,"∯","\\oiint");x(y,E,lt,"∰","\\oiiint");x(y,E,lt,"⨆","\\bigsqcup");x(y,E,lt,"∫","\\smallint");x(ee,E,ai,"…","\\textellipsis");x(y,E,ai,"…","\\mathellipsis");x(ee,E,ai,"…","\\ldots",!0);x(y,E,ai,"…","\\ldots",!0);x(y,E,ai,"⋯","\\@cdots",!0);x(y,E,ai,"⋱","\\ddots",!0);x(y,E,q,"⋮","\\varvdots");x(ee,E,q,"⋮","\\varvdots");x(y,E,Qe,"ˊ","\\acute");x(y,E,Qe,"ˋ","\\grave");x(y,E,Qe,"¨","\\ddot");x(y,E,Qe,"~","\\tilde");x(y,E,Qe,"ˉ","\\bar");x(y,E,Qe,"˘","\\breve");x(y,E,Qe,"ˇ","\\check");x(y,E,Qe,"^","\\hat");x(y,E,Qe,"⃗","\\vec");x(y,E,Qe,"˙","\\dot");x(y,E,Qe,"˚","\\mathring");x(y,E,ye,"","\\@imath");x(y,E,ye,"","\\@jmath");x(y,E,q,"ı","ı");x(y,E,q,"ȷ","ȷ");x(ee,E,q,"ı","\\i",!0);x(ee,E,q,"ȷ","\\j",!0);x(ee,E,q,"ß","\\ss",!0);x(ee,E,q,"æ","\\ae",!0);x(ee,E,q,"œ","\\oe",!0);x(ee,E,q,"ø","\\o",!0);x(ee,E,q,"Æ","\\AE",!0);x(ee,E,q,"Œ","\\OE",!0);x(ee,E,q,"Ø","\\O",!0);x(ee,E,Qe,"ˊ","\\'");x(ee,E,Qe,"ˋ","\\`");x(ee,E,Qe,"ˆ","\\^");x(ee,E,Qe,"˜","\\~");x(ee,E,Qe,"ˉ","\\=");x(ee,E,Qe,"˘","\\u");x(ee,E,Qe,"˙","\\.");x(ee,E,Qe,"¸","\\c");x(ee,E,Qe,"˚","\\r");x(ee,E,Qe,"ˇ","\\v");x(ee,E,Qe,"¨",'\\"');x(ee,E,Qe,"˝","\\H");x(ee,E,Qe,"◯","\\textcircled");var qf={"--":!0,"---":!0,"``":!0,"''":!0};x(ee,E,q,"–","--",!0);x(ee,E,q,"–","\\textendash");x(ee,E,q,"—","---",!0);x(ee,E,q,"—","\\textemdash");x(ee,E,q,"‘","`",!0);x(ee,E,q,"‘","\\textquoteleft");x(ee,E,q,"’","'",!0);x(ee,E,q,"’","\\textquoteright");x(ee,E,q,"“","``",!0);x(ee,E,q,"“","\\textquotedblleft");x(ee,E,q,"”","''",!0);x(ee,E,q,"”","\\textquotedblright");x(y,E,q,"°","\\degree",!0);x(ee,E,q,"°","\\degree");x(ee,E,q,"°","\\textdegree",!0);x(y,E,q,"£","\\pounds");x(y,E,q,"£","\\mathsterling",!0);x(ee,E,q,"£","\\pounds");x(ee,E,q,"£","\\textsterling",!0);x(y,R,q,"✠","\\maltese");x(ee,R,q,"✠","\\maltese");var Cc='0123456789/@."';for(var uo=0;uo<Cc.length;uo++){var Ec=Cc.charAt(uo);x(y,E,q,Ec,Ec)}var _c='0123456789!@*()-=+";:?/.,';for(var co=0;co<_c.length;co++){var Ac=_c.charAt(co);x(ee,E,q,Ac,Ac)}var Ua="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var ho=0;ho<Ua.length;ho++){var da=Ua.charAt(ho);x(y,E,ye,da,da),x(ee,E,q,da,da)}x(y,R,q,"C","ℂ");x(ee,R,q,"C","ℂ");x(y,R,q,"H","ℍ");x(ee,R,q,"H","ℍ");x(y,R,q,"N","ℕ");x(ee,R,q,"N","ℕ");x(y,R,q,"P","ℙ");x(ee,R,q,"P","ℙ");x(y,R,q,"Q","ℚ");x(ee,R,q,"Q","ℚ");x(y,R,q,"R","ℝ");x(ee,R,q,"R","ℝ");x(y,R,q,"Z","ℤ");x(ee,R,q,"Z","ℤ");x(y,E,ye,"h","ℎ");x(ee,E,ye,"h","ℎ");var be="";for(var Mt=0;Mt<Ua.length;Mt++){var rt=Ua.charAt(Mt);be=String.fromCharCode(55349,56320+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56372+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56424+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56580+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56684+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56736+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56788+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56840+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56944+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),Mt<26&&(be=String.fromCharCode(55349,56632+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be),be=String.fromCharCode(55349,56476+Mt),x(y,E,ye,rt,be),x(ee,E,q,rt,be))}be="𝕜";x(y,E,ye,"k",be);x(ee,E,q,"k",be);for(var kn=0;kn<10;kn++){var nn=kn.toString();be=String.fromCharCode(55349,57294+kn),x(y,E,ye,nn,be),x(ee,E,q,nn,be),be=String.fromCharCode(55349,57314+kn),x(y,E,ye,nn,be),x(ee,E,q,nn,be),be=String.fromCharCode(55349,57324+kn),x(y,E,ye,nn,be),x(ee,E,q,nn,be),be=String.fromCharCode(55349,57334+kn),x(y,E,ye,nn,be),x(ee,E,q,nn,be)}var Qo="ÐÞþ";for(var po=0;po<Qo.length;po++){var ma=Qo.charAt(po);x(y,E,ye,ma,ma),x(ee,E,q,ma,ma)}var ga=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Tc=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],E7=function(t,r){var n=t.charCodeAt(0),i=t.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,s=r==="math"?0:1;if(119808<=a&&a<120484){var l=Math.floor((a-119808)/26);return[ga[l][2],ga[l][s]]}else if(120782<=a&&a<=120831){var u=Math.floor((a-120782)/10);return[Tc[u][2],Tc[u][s]]}else{if(a===120485||a===120486)return[ga[0][2],ga[0][s]];if(120486<a&&a<120782)return["",""];throw new ne("Unsupported character: "+t)}},vs=function(t,r,n){return Je[n][t]&&Je[n][t].replace&&(t=Je[n][t].replace),{value:t,metrics:Vl(t,r,n)}},mr=function(t,r,n,i,a){var s=vs(t,r,n),l=s.metrics;t=s.value;var u;if(l){var c=l.italic;(n==="text"||i&&i.font==="mathit")&&(c=0),u=new ur(t,l.height,l.depth,c,l.skew,l.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),u=new ur(t,0,0,0,0,0,a);if(i){u.maxFontSize=i.sizeMultiplier,i.style.isTight()&&u.classes.push("mtight");var p=i.getColor();p&&(u.style.color=p)}return u},_7=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&vs(t,"Main-Bold",r).metrics?mr(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||Je[r][t].font==="main"?mr(t,"Main-Regular",r,n,i):mr(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},A7=function(t,r,n,i,a){return a!=="textord"&&vs(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},T7=function(t,r,n){var i=t.mode,a=t.text,s=["mord"],l=i==="math"||i==="text"&&r.font,u=l?r.font:r.fontFamily,c="",p="";if(a.charCodeAt(0)===55349&&([c,p]=E7(a,i)),c.length>0)return mr(a,c,i,r,s.concat(p));if(u){var h,m;if(u==="boldsymbol"){var d=A7(a,i,r,s,n);h=d.fontName,m=[d.fontClass]}else l?(h=$f[u].fontName,m=[u]):(h=xa(u,r.fontWeight,r.fontShape),m=[u,r.fontWeight,r.fontShape]);if(vs(a,h,i).metrics)return mr(a,h,i,r,s.concat(m));if(qf.hasOwnProperty(a)&&h.slice(0,10)==="Typewriter"){for(var b=[],k=0;k<a.length;k++)b.push(mr(a[k],h,i,r,s.concat(m)));return Uf(b)}}if(n==="mathord")return mr(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var _=Je[i][a]&&Je[i][a].font;if(_==="ams"){var S=xa("amsrm",r.fontWeight,r.fontShape);return mr(a,S,i,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(_==="main"||!_){var A=xa("textrm",r.fontWeight,r.fontShape);return mr(a,A,i,r,s.concat(r.fontWeight,r.fontShape))}else{var N=xa(_,r.fontWeight,r.fontShape);return mr(a,N,i,r,s.concat(N,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},I7=(e,t)=>{if(hn(e.classes)!==hn(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},N7=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof ur&&n instanceof ur&&I7(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},ql=function(t){for(var r=0,n=0,i=0,a=0;a<t.children.length;a++){var s=t.children[a];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},Ot=function(t,r,n,i){var a=new Yi(t,r,n,i);return ql(a),a},Hf=(e,t,r,n)=>new Yi(e,t,r,n),M7=function(t,r,n){var i=Ot([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=oe(i.height),i.maxFontSize=1,i},P7=function(t,r,n,i){var a=new jl(t,r,n,i);return ql(a),a},Uf=function(t){var r=new Xi(t);return ql(r),r},B7=function(t,r){return t instanceof Xi?Ot([],[t],r):t},L7=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s<r.length;s++){var l=-r[s].shift-a-r[s].elem.depth,u=l-(r[s-1].elem.height+r[s-1].elem.depth);a=a+l,n.push({type:"kern",size:u}),n.push(r[s])}return{children:n,depth:i}}var c;if(t.positionType==="top"){for(var p=t.positionData,h=0;h<t.children.length;h++){var m=t.children[h];p-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}c=p}else if(t.positionType==="bottom")c=-t.positionData;else{var d=t.children[0];if(d.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")c=-d.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")c=-d.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:c}},R7=function(t,r){for(var{children:n,depth:i}=L7(t),a=0,s=0;s<n.length;s++){var l=n[s];if(l.type==="elem"){var u=l.elem;a=Math.max(a,u.maxFontSize,u.height)}}a+=2;var c=Ot(["pstrut"],[]);c.style.height=oe(a);for(var p=[],h=i,m=i,d=i,b=0;b<n.length;b++){var k=n[b];if(k.type==="kern")d+=k.size;else{var _=k.elem,S=k.wrapperClasses||[],A=k.wrapperStyle||{},N=Ot(S,[c,_],void 0,A);N.style.top=oe(-a-d-_.depth),k.marginLeft&&(N.style.marginLeft=k.marginLeft),k.marginRight&&(N.style.marginRight=k.marginRight),p.push(N),d+=_.height+_.depth}h=Math.min(h,d),m=Math.max(m,d)}var F=Ot(["vlist"],p);F.style.height=oe(m);var P;if(h<0){var g=Ot([],[]),M=Ot(["vlist"],[g]);M.style.height=oe(-h);var V=Ot(["vlist-s"],[new ur("")]);P=[Ot(["vlist-r"],[F,V]),Ot(["vlist-r"],[M])]}else P=[Ot(["vlist-r"],[F])];var U=Ot(["vlist-t"],P);return P.length===2&&U.classes.push("vlist-t2"),U.height=m,U.depth=-h,U},D7=(e,t)=>{var r=Ot(["mspace"],[],t),n=et(e,t);return r.style.marginRight=oe(n),r},xa=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},$f={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Gf={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},F7=function(t,r){var[n,i,a]=Gf[t],s=new pn(n),l=new Jr([s],{width:oe(i),height:oe(a),style:"width:"+oe(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),u=Hf(["overlay"],[l],r);return u.height=a,u.style.height=oe(a),u.style.width=oe(i),u},$={fontMap:$f,makeSymbol:mr,mathsym:_7,makeSpan:Ot,makeSvgSpan:Hf,makeLineSpan:M7,makeAnchor:P7,makeFragment:Uf,wrapFragment:B7,makeVList:R7,makeOrd:T7,makeGlue:D7,staticSvg:F7,svgData:Gf,tryCombineChars:N7},Ze={number:3,unit:"mu"},Sn={number:4,unit:"mu"},Or={number:5,unit:"mu"},z7={mord:{mop:Ze,mbin:Sn,mrel:Or,minner:Ze},mop:{mord:Ze,mop:Ze,mrel:Or,minner:Ze},mbin:{mord:Sn,mop:Sn,mopen:Sn,minner:Sn},mrel:{mord:Or,mop:Or,mopen:Or,minner:Or},mopen:{},mclose:{mop:Ze,mbin:Sn,mrel:Or,minner:Ze},mpunct:{mord:Ze,mop:Ze,mrel:Or,mopen:Ze,mclose:Ze,mpunct:Ze,minner:Ze},minner:{mord:Ze,mop:Ze,mbin:Sn,mrel:Or,mopen:Ze,mpunct:Ze,minner:Ze}},O7={mord:{mop:Ze},mop:{mord:Ze,mop:Ze},mbin:{},mrel:{},mopen:{},mclose:{mop:Ze},mpunct:{},minner:{mop:Ze}},Jf={},$a={},Ga={};function le(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,l={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},u=0;u<r.length;++u)Jf[r[u]]=l;t&&(a&&($a[t]=a),s&&(Ga[t]=s))}function Tn(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;le({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Ja=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},it=function(t){return t.type==="ordgroup"?t.body:[t]},Wr=$.makeSpan,V7=["leftmost","mbin","mopen","mrel","mop","mpunct"],j7=["rightmost","mrel","mclose","mpunct"],q7={display:ve.DISPLAY,text:ve.TEXT,script:ve.SCRIPT,scriptscript:ve.SCRIPTSCRIPT},H7={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},mt=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<t.length;s++){var l=Re(t[s],r);if(l instanceof Xi){var u=l.children;a.push(...u)}else a.push(l)}if($.tryCombineChars(a),!n)return a;var c=r;if(t.length===1){var p=t[0];p.type==="sizing"?c=r.havingSize(p.size):p.type==="styling"&&(c=r.havingStyle(q7[p.style]))}var h=Wr([i[0]||"leftmost"],[],r),m=Wr([i[1]||"rightmost"],[],r),d=n==="root";return Ic(a,(b,k)=>{var _=k.classes[0],S=b.classes[0];_==="mbin"&&j7.includes(S)?k.classes[0]="mord":S==="mbin"&&V7.includes(_)&&(b.classes[0]="mord")},{node:h},m,d),Ic(a,(b,k)=>{var _=Zo(k),S=Zo(b),A=_&&S?b.hasClass("mtight")?O7[_][S]:z7[_][S]:null;if(A)return $.makeGlue(A,c)},{node:h},m,d),a},Ic=function e(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var l=t[s],u=Wf(l);if(u){e(u.children,r,n,null,a);continue}var c=!l.hasClass("mspace");if(c){var p=r(l,n.node);p&&(n.insertAfter?n.insertAfter(p):(t.unshift(p),s++))}c?n.node=l:a&&l.hasClass("newline")&&(n.node=Wr(["leftmost"])),n.insertAfter=(h=>m=>{t.splice(h+1,0,m),s++})(s)}i&&t.pop()},Wf=function(t){return t instanceof Xi||t instanceof jl||t instanceof Yi&&t.hasClass("enclosing")?t:null},U7=function e(t,r){var n=Wf(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},Zo=function(t,r){return t?(r&&(t=U7(t,r)),H7[t.classes[0]]||null):null},Li=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Wr(r.concat(n))},Re=function(t,r,n){if(!t)return Wr();if($a[t.type]){var i=$a[t.type](t,r);if(n&&r.size!==n.size){i=Wr(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new ne("Got group of unknown type: '"+t.type+"'")};function ya(e,t){var r=Wr(["base"],e,t),n=Wr(["strut"]);return n.style.height=oe(r.height+r.depth),r.depth&&(n.style.verticalAlign=oe(-r.depth)),r.children.unshift(n),r}function el(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=mt(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],l=0;l<n.length;l++)if(s.push(n[l]),n[l].hasClass("mbin")||n[l].hasClass("mrel")||n[l].hasClass("allowbreak")){for(var u=!1;l<n.length-1&&n[l+1].hasClass("mspace")&&!n[l+1].hasClass("newline");)l++,s.push(n[l]),n[l].hasClass("nobreak")&&(u=!0);u||(a.push(ya(s,t)),s=[])}else n[l].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(ya(s,t)),s=[]),a.push(n[l]));s.length>0&&a.push(ya(s,t));var c;r?(c=ya(mt(r,t,!0)),c.classes=["tag"],a.push(c)):i&&a.push(i);var p=Wr(["katex-html"],a);if(p.setAttribute("aria-hidden","true"),c){var h=c.children[0];h.style.height=oe(p.height+p.depth),p.depth&&(h.style.verticalAlign=oe(-p.depth))}return p}function Xf(e){return new Xi(e)}class Gt{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=hn(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Tr&&this.children[n+1]instanceof Tr){for(var i=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Tr;)i+=this.children[++n].toText();t.appendChild(new Tr(i).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=De.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+De.escape(hn(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Tr{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return De.escape(this.toText())}toText(){return this.text}}class $7{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character=" ":t>=-.05556&&t<=-.05555?this.character=" ":t>=-.1667&&t<=-.1666?this.character=" ":t>=-.2223&&t<=-.2222?this.character=" ":t>=-.2778&&t<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",oe(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+oe(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var te={MathNode:Gt,TextNode:Tr,SpaceNode:$7,newDocumentFragment:Xf},cr=function(t,r,n){return Je[r][t]&&Je[r][t].replace&&t.charCodeAt(0)!==55349&&!(qf.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Je[r][t].replace),new te.TextNode(t)},Hl=function(t){return t.length===1?t[0]:new te.MathNode("mrow",t)},Ul=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(["\\imath","\\jmath"].includes(a))return null;Je[i][a]&&Je[i][a].replace&&(a=Je[i][a].replace);var s=$.fontMap[n].fontName;return Vl(a,s,i)?$.fontMap[n].variant:null};function fo(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Tr&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof Tr&&r.text===","}else return!1}var Ht=function(t,r,n){if(t.length===1){var i=qe(t[0],r);return n&&i instanceof Gt&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,l=0;l<t.length;l++){var u=qe(t[l],r);if(u instanceof Gt&&s instanceof Gt){if(u.type==="mtext"&&s.type==="mtext"&&u.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...u.children);continue}else if(u.type==="mn"&&s.type==="mn"){s.children.push(...u.children);continue}else if(fo(u)&&s.type==="mn"){s.children.push(...u.children);continue}else if(u.type==="mn"&&fo(s))u.children=[...s.children,...u.children],a.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(s.type==="mn"||fo(s))){var c=u.children[0];c instanceof Gt&&c.type==="mn"&&(c.children=[...s.children,...c.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var p=s.children[0];if(p instanceof Tr&&p.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var h=u.children[0];h instanceof Tr&&h.text.length>0&&(h.text=h.text.slice(0,1)+"̸"+h.text.slice(1),a.pop())}}}a.push(u),s=u}return a},fn=function(t,r,n){return Hl(Ht(t,r,n))},qe=function(t,r){if(!t)return new te.MathNode("mrow");if(Ga[t.type]){var n=Ga[t.type](t,r);return n}else throw new ne("Got group of unknown type: '"+t.type+"'")};function Nc(e,t,r,n,i){var a=Ht(e,r),s;a.length===1&&a[0]instanceof Gt&&["mrow","mtable"].includes(a[0].type)?s=a[0]:s=new te.MathNode("mrow",a);var l=new te.MathNode("annotation",[new te.TextNode(t)]);l.setAttribute("encoding","application/x-tex");var u=new te.MathNode("semantics",[s,l]),c=new te.MathNode("math",[u]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block");var p=i?"katex":"katex-mathml";return $.makeSpan([p],[c])}var Yf=function(t){return new Vr({style:t.displayMode?ve.DISPLAY:ve.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Kf=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=$.makeSpan(n,[t])}return t},G7=function(t,r,n){var i=Yf(n),a;if(n.output==="mathml")return Nc(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=el(t,i);a=$.makeSpan(["katex"],[s])}else{var l=Nc(t,r,i,n.displayMode,!1),u=el(t,i);a=$.makeSpan(["katex"],[l,u])}return Kf(a,n)},J7=function(t,r,n){var i=Yf(n),a=el(t,i),s=$.makeSpan(["katex"],[a]);return Kf(s,n)},W7={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},X7=function(t){var r=new te.MathNode("mo",[new te.TextNode(W7[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Y7={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},K7=function(t){return t.type==="ordgroup"?t.body.length:1},Q7=function(t,r){function n(){var l=4e5,u=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(u)){var c=t,p=K7(c.base),h,m,d;if(p>5)u==="widehat"||u==="widecheck"?(h=420,l=2364,d=.42,m=u+"4"):(h=312,l=2340,d=.34,m="tilde4");else{var b=[1,1,2,2,3,3][p];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][b],h=[0,239,300,360,420][b],d=[0,.24,.3,.3,.36,.42][b],m=u+b):(l=[0,600,1033,2339,2340][b],h=[0,260,286,306,312][b],d=[0,.26,.286,.3,.306,.34][b],m="tilde"+b)}var k=new pn(m),_=new Jr([k],{width:"100%",height:oe(d),viewBox:"0 0 "+l+" "+h,preserveAspectRatio:"none"});return{span:$.makeSvgSpan([],[_],r),minWidth:0,height:d}}else{var S=[],A=Y7[u],[N,F,P]=A,g=P/1e3,M=N.length,V,U;if(M===1){var j=A[3];V=["hide-tail"],U=[j]}else if(M===2)V=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else if(M===3)V=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
326
|
+
`+M+" children.");for(var J=0;J<M;J++){var W=new pn(N[J]),ae=new Jr([W],{width:"400em",height:oe(g),viewBox:"0 0 "+l+" "+P,preserveAspectRatio:U[J]+" slice"}),Q=$.makeSvgSpan([V[J]],[ae],r);if(M===1)return{span:Q,minWidth:F,height:g};Q.style.height=oe(g),S.push(Q)}return{span:$.makeSpan(["stretchy"],S,r),minWidth:F,height:g}}}var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=oe(s),a>0&&(i.style.minWidth=oe(a)),i},Z7=function(t,r,n,i,a){var s,l=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=$.makeSpan(["stretchy",r],[],a),r==="fbox"){var u=a.color&&a.getColor();u&&(s.style.borderColor=u)}}else{var c=[];/^[bx]cancel$/.test(r)&&c.push(new Ko({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&c.push(new Ko({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new Jr(c,{width:"100%",height:oe(l)});s=$.makeSvgSpan([],[p],a)}return s.height=l,s.style.height=oe(l),s},Xr={encloseSpan:Z7,mathMLnode:X7,svgSpan:Q7};function Ae(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function $l(e){var t=bs(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function bs(e){return e&&(e.type==="atom"||C7.hasOwnProperty(e.type))?e:null}var Gl=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=Ae(e.base,"accent"),r=n.base,e.base=r,i=k7(Re(e,t)),e.base=n):(n=Ae(e,"accent"),r=n.base);var a=Re(r,t.havingCrampedStyle()),s=n.isShifty&&De.isCharacterBox(r),l=0;if(s){var u=De.getBaseElem(r),c=Re(u,t.havingCrampedStyle());l=Sc(c).skew}var p=n.label==="\\c",h=p?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),m;if(n.isStretchy)m=Xr.svgSpan(n,t),m=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+oe(2*l)+")",marginLeft:oe(2*l)}:void 0}]},t);else{var d,b;n.label==="\\vec"?(d=$.staticSvg("vec",t),b=$.svgData.vec[1]):(d=$.makeOrd({mode:n.mode,text:n.label},t,"textord"),d=Sc(d),d.italic=0,b=d.width,p&&(h+=d.depth)),m=$.makeSpan(["accent-body"],[d]);var k=n.label==="\\textcircled";k&&(m.classes.push("accent-full"),h=a.height);var _=l;k||(_-=b/2),m.style.left=oe(_),n.label==="\\textcircled"&&(m.style.top=".2em"),m=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:m}]},t)}var S=$.makeSpan(["mord","accent"],[m],t);return i?(i.children[0]=S,i.height=Math.max(S.height,i.height),i.classes[0]="mord",i):S},Qf=(e,t)=>{var r=e.isStretchy?Xr.mathMLnode(e.label):new te.MathNode("mo",[cr(e.label,e.mode)]),n=new te.MathNode("mover",[qe(e.base,t),r]);return n.setAttribute("accent","true"),n},eb=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));le({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=Ja(t[0]),n=!eb.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:Gl,mathmlBuilder:Qf});le({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Gl,mathmlBuilder:Qf});le({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=Re(e.base,t),n=Xr.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=$.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return $.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=Xr.mathMLnode(e.label),n=new te.MathNode("munder",[qe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var va=e=>{var t=new te.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};le({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=$.wrapFragment(Re(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=$.wrapFragment(Re(e.below,n,t),t),s.classes.push(a+"-arrow-pad"));var l=Xr.svgSpan(e,t),u=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(c-=i.depth);var p;if(s){var h=-t.fontMetrics().axisHeight+s.height+.5*l.height+.111;p=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:u},{type:"elem",elem:s,shift:h}]},t)}else p=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:u}]},t);return p.children[0].children[0].children[1].classes.push("svg-align"),$.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var r=Xr.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=va(qe(e.body,t));if(e.below){var a=va(qe(e.below,t));n=new te.MathNode("munderover",[r,a,i])}else n=new te.MathNode("mover",[r,i])}else if(e.below){var s=va(qe(e.below,t));n=new te.MathNode("munder",[r,s])}else n=va(),n=new te.MathNode("mover",[r,n]);return n}});var tb=$.makeSpan;function Zf(e,t){var r=mt(e.body,t,!0);return tb([e.mclass],r,t)}function ed(e,t){var r,n=Ht(e.body,t);return e.mclass==="minner"?r=new te.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new te.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new te.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}le({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:it(i),isCharacterBox:De.isCharacterBox(i)}},htmlBuilder:Zf,mathmlBuilder:ed});var ws=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};le({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:ws(t[0]),body:it(t[1]),isCharacterBox:De.isCharacterBox(t[1])}}});le({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],s;n!=="\\stackrel"?s=ws(i):s="mrel";var l={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:it(i)},u={type:"supsub",mode:a.mode,base:l,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:De.isCharacterBox(u)}},htmlBuilder:Zf,mathmlBuilder:ed});le({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:ws(t[0]),body:it(t[0])}},htmlBuilder(e,t){var r=mt(e.body,t,!0),n=$.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Ht(e.body,t),n=new te.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var rb={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Mc=()=>({type:"styling",body:[],mode:"math",style:"display"}),Pc=e=>e.type==="textord"&&e.text==="@",nb=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function ib(e,t,r){var n=rb[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),l=r.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[i,s,l]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function ab(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new ne("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var s=t[a],l=Mc(),u=0;u<s.length;u++)if(!Pc(s[u]))l.body.push(s[u]);else{n.push(l),u+=1;var c=$l(s[u]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var h=0;h<2;h++){for(var m=!0,d=u+1;d<s.length;d++){if(nb(s[d],c)){m=!1,u=d;break}if(Pc(s[d]))throw new ne("Missing a "+c+" character to complete a CD arrow.",s[d]);p[h].body.push(s[d])}if(m)throw new ne("Missing a "+c+" character to complete a CD arrow.",s[u])}else throw new ne('Expected one of "<>AV=|." after @',s[u]);var b=ib(c,p,e),k={type:"styling",body:[b],mode:"math",style:"display"};n.push(k),l=Mc()}a%2===0?n.push(l):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var _=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:_,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}le({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=$.wrapFragment(Re(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=oe(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new te.MathNode("mrow",[qe(e.label,t)]);return r=new te.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new te.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});le({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=$.wrapFragment(Re(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new te.MathNode("mrow",[qe(e.fragment,t)])}});le({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ae(t[0],"ordgroup"),i=n.body,a="",s=0;s<i.length;s++){var l=Ae(i[s],"textord");a+=l.text}var u=parseInt(a),c;if(isNaN(u))throw new ne("\\@char has non-numeric argument "+a);if(u<0||u>=1114111)throw new ne("\\@char with invalid code point "+a);return u<=65535?c=String.fromCharCode(u):(u-=65536,c=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:c}}});var td=(e,t)=>{var r=mt(e.body,t.withColor(e.color),!1);return $.makeFragment(r)},rd=(e,t)=>{var r=Ht(e.body,t.withColor(e.color)),n=new te.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};le({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ae(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:it(i)}},htmlBuilder:td,mathmlBuilder:rd});le({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=Ae(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:td,mathmlBuilder:rd});le({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&Ae(i,"size").value}},htmlBuilder(e,t){var r=$.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=oe(et(e.size,t)))),r},mathmlBuilder(e,t){var r=new te.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",oe(et(e.size,t)))),r}});var tl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},nd=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ne("Expected a control sequence",e);return t},sb=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},id=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};le({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(tl[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=tl[n.text]),Ae(t.parseFunction(),"internal");throw new ne("Invalid token after macro prefix",n)}});le({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new ne("Expected a control sequence",n);for(var a=0,s,l=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),l[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ne('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new ne('Argument number "'+n.text+'" out of order');a++,l.push([])}else{if(n.text==="EOF")throw new ne("Expected a macro definition");l[a].push(n.text)}var{tokens:u}=t.gullet.consumeArg();return s&&u.unshift(s),(r==="\\edef"||r==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(i,{tokens:u,numArgs:a,delimiters:l},r===tl[r]),{type:"internal",mode:t.mode}}});le({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=nd(t.gullet.popToken());t.gullet.consumeSpaces();var i=sb(t);return id(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});le({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=nd(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return id(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var bi=function(t,r,n){var i=Je.math[t]&&Je.math[t].replace,a=Vl(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},Jl=function(t,r,n,i){var a=n.havingBaseStyle(r),s=$.makeSpan(i.concat(a.sizingClasses(n)),[t],n),l=a.sizeMultiplier/n.sizeMultiplier;return s.height*=l,s.depth*=l,s.maxFontSize=a.sizeMultiplier,s},ad=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=oe(a),t.height-=a,t.depth+=a},ob=function(t,r,n,i,a,s){var l=$.makeSymbol(t,"Main-Regular",a,i),u=Jl(l,r,i,s);return n&&ad(u,i,r),u},lb=function(t,r,n,i){return $.makeSymbol(t,"Size"+r+"-Regular",n,i)},sd=function(t,r,n,i,a,s){var l=lb(t,r,a,i),u=Jl($.makeSpan(["delimsizing","size"+r],[l],i),ve.TEXT,i,s);return n&&ad(u,i,ve.TEXT),u},mo=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=$.makeSpan(["delimsizinginner",i],[$.makeSpan([],[$.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},go=function(t,r,n){var i=Ar["Size4-Regular"][t.charCodeAt(0)]?Ar["Size4-Regular"][t.charCodeAt(0)][4]:Ar["Size1-Regular"][t.charCodeAt(0)][4],a=new pn("inner",f7(t,Math.round(1e3*r))),s=new Jr([a],{width:oe(i),height:oe(r),style:"width:"+oe(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),l=$.makeSvgSpan([],[s],n);return l.height=r,l.style.height=oe(r),l.style.width=oe(i),{type:"elem",elem:l}},rl=.008,ba={type:"kern",size:-1*rl},ub=["|","\\lvert","\\rvert","\\vert"],cb=["\\|","\\lVert","\\rVert","\\Vert"],od=function(t,r,n,i,a,s){var l,u,c,p,h="",m=0;l=c=p=t,u=null;var d="Size1-Regular";t==="\\uparrow"?c=p="⏐":t==="\\Uparrow"?c=p="‖":t==="\\downarrow"?l=c="⏐":t==="\\Downarrow"?l=c="‖":t==="\\updownarrow"?(l="\\uparrow",c="⏐",p="\\downarrow"):t==="\\Updownarrow"?(l="\\Uparrow",c="‖",p="\\Downarrow"):ub.includes(t)?(c="∣",h="vert",m=333):cb.includes(t)?(c="∥",h="doublevert",m=556):t==="["||t==="\\lbrack"?(l="⎡",c="⎢",p="⎣",d="Size4-Regular",h="lbrack",m=667):t==="]"||t==="\\rbrack"?(l="⎤",c="⎥",p="⎦",d="Size4-Regular",h="rbrack",m=667):t==="\\lfloor"||t==="⌊"?(c=l="⎢",p="⎣",d="Size4-Regular",h="lfloor",m=667):t==="\\lceil"||t==="⌈"?(l="⎡",c=p="⎢",d="Size4-Regular",h="lceil",m=667):t==="\\rfloor"||t==="⌋"?(c=l="⎥",p="⎦",d="Size4-Regular",h="rfloor",m=667):t==="\\rceil"||t==="⌉"?(l="⎤",c=p="⎥",d="Size4-Regular",h="rceil",m=667):t==="("||t==="\\lparen"?(l="⎛",c="⎜",p="⎝",d="Size4-Regular",h="lparen",m=875):t===")"||t==="\\rparen"?(l="⎞",c="⎟",p="⎠",d="Size4-Regular",h="rparen",m=875):t==="\\{"||t==="\\lbrace"?(l="⎧",u="⎨",p="⎩",c="⎪",d="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(l="⎫",u="⎬",p="⎭",c="⎪",d="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(l="⎧",p="⎩",c="⎪",d="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(l="⎫",p="⎭",c="⎪",d="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(l="⎧",p="⎭",c="⎪",d="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(l="⎫",p="⎩",c="⎪",d="Size4-Regular");var b=bi(l,d,a),k=b.height+b.depth,_=bi(c,d,a),S=_.height+_.depth,A=bi(p,d,a),N=A.height+A.depth,F=0,P=1;if(u!==null){var g=bi(u,d,a);F=g.height+g.depth,P=2}var M=k+N+F,V=Math.max(0,Math.ceil((r-M)/(P*S))),U=M+V*P*S,j=i.fontMetrics().axisHeight;n&&(j*=i.sizeMultiplier);var J=U/2-j,W=[];if(h.length>0){var ae=U-k-N,Q=Math.round(U*1e3),Z=d7(h,Math.round(ae*1e3)),me=new pn(h,Z),xe=(m/1e3).toFixed(3)+"em",Be=(Q/1e3).toFixed(3)+"em",Ve=new Jr([me],{width:xe,height:Be,viewBox:"0 0 "+m+" "+Q}),z=$.makeSvgSpan([],[Ve],i);z.height=Q/1e3,z.style.width=xe,z.style.height=Be,W.push({type:"elem",elem:z})}else{if(W.push(mo(p,d,a)),W.push(ba),u===null){var Ye=U-k-N+2*rl;W.push(go(c,Ye,i))}else{var Fe=(U-k-N-F)/2+2*rl;W.push(go(c,Fe,i)),W.push(ba),W.push(mo(u,d,a)),W.push(ba),W.push(go(c,Fe,i))}W.push(ba),W.push(mo(l,d,a))}var O=i.havingBaseStyle(ve.TEXT),nt=$.makeVList({positionType:"bottom",positionData:J,children:W},O);return Jl($.makeSpan(["delimsizing","mult"],[nt],O),ve.TEXT,i,s)},xo=80,yo=.08,vo=function(t,r,n,i,a){var s=p7(t,i,n),l=new pn(t,s),u=new Jr([l],{width:"400em",height:oe(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return $.makeSvgSpan(["hide-tail"],[u],a)},hb=function(t,r){var n=r.havingBaseSizing(),i=hd("\\surd",t*n.sizeMultiplier,cd,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),l,u=0,c=0,p=0,h;return i.type==="small"?(p=1e3+1e3*s+xo,t<1?a=1:t<1.4&&(a=.7),u=(1+s+yo)/a,c=(1+s)/a,l=vo("sqrtMain",u,p,s,r),l.style.minWidth="0.853em",h=.833/a):i.type==="large"?(p=(1e3+xo)*_i[i.size],c=(_i[i.size]+s)/a,u=(_i[i.size]+s+yo)/a,l=vo("sqrtSize"+i.size,u,p,s,r),l.style.minWidth="1.02em",h=1/a):(u=t+s+yo,c=t+s,p=Math.floor(1e3*t+s)+xo,l=vo("sqrtTall",u,p,s,r),l.style.minWidth="0.742em",h=1.056),l.height=c,l.style.height=oe(u),{span:l,advanceWidth:h,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},ld=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],pb=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],ud=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],_i=[0,1.2,1.8,2.4,3],fb=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),ld.includes(t)||ud.includes(t))return sd(t,r,!1,n,i,a);if(pb.includes(t))return od(t,_i[r],!1,n,i,a);throw new ne("Illegal delimiter: '"+t+"'")},db=[{type:"small",style:ve.SCRIPTSCRIPT},{type:"small",style:ve.SCRIPT},{type:"small",style:ve.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],mb=[{type:"small",style:ve.SCRIPTSCRIPT},{type:"small",style:ve.SCRIPT},{type:"small",style:ve.TEXT},{type:"stack"}],cd=[{type:"small",style:ve.SCRIPTSCRIPT},{type:"small",style:ve.SCRIPT},{type:"small",style:ve.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],gb=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},hd=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;s<n.length&&n[s].type!=="stack";s++){var l=bi(t,gb(n[s]),"math"),u=l.height+l.depth;if(n[s].type==="small"){var c=i.havingBaseStyle(n[s].style);u*=c.sizeMultiplier}if(u>r)return n[s]}return n[n.length-1]},pd=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var l;ud.includes(t)?l=db:ld.includes(t)?l=cd:l=mb;var u=hd(t,r,l,i);return u.type==="small"?ob(t,u.style,n,i,a,s):u.type==="large"?sd(t,u.size,n,i,a,s):od(t,r,n,i,a,s)},xb=function(t,r,n,i,a,s){var l=i.fontMetrics().axisHeight*i.sizeMultiplier,u=901,c=5/i.fontMetrics().ptPerEm,p=Math.max(r-l,n+l),h=Math.max(p/500*u,2*p-c);return pd(t,h,!0,i,a,s)},Ur={sqrtImage:hb,sizedDelim:fb,sizeToMaxHeight:_i,customSizedDelim:pd,leftRightDelim:xb},Bc={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},yb=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function ks(e,t){var r=bs(e);if(r&&yb.includes(r.text))return r;throw r?new ne("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new ne("Invalid delimiter type '"+e.type+"'",e)}le({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=ks(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Bc[e.funcName].size,mclass:Bc[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?$.makeSpan([e.mclass]):Ur.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(cr(e.delim,e.mode));var r=new te.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=oe(Ur.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Lc(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}le({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new ne("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:ks(t[0],e).text,color:r}}});le({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=ks(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=Ae(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Lc(e);for(var r=mt(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s<r.length;s++)r[s].isMiddle?a=!0:(n=Math.max(r[s].height,n),i=Math.max(r[s].depth,i));n*=t.sizeMultiplier,i*=t.sizeMultiplier;var l;if(e.left==="."?l=Li(t,["mopen"]):l=Ur.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),r.unshift(l),a)for(var u=1;u<r.length;u++){var c=r[u],p=c.isMiddle;p&&(r[u]=Ur.leftRightDelim(p.delim,n,i,p.options,e.mode,[]))}var h;if(e.right===".")h=Li(t,["mclose"]);else{var m=e.rightColor?t.withColor(e.rightColor):t;h=Ur.leftRightDelim(e.right,n,i,m,e.mode,["mclose"])}return r.push(h),$.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{Lc(e);var r=Ht(e.body,t);if(e.left!=="."){var n=new te.MathNode("mo",[cr(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new te.MathNode("mo",[cr(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return Hl(r)}});le({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=ks(t[0],e);if(!e.parser.leftrightDepth)throw new ne("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Li(t,[]);else{r=Ur.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?cr("|","text"):cr(e.delim,e.mode),n=new te.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Wl=(e,t)=>{var r=$.wrapFragment(Re(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s=0,l=De.isCharacterBox(e.body);if(n==="sout")a=$.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var u=et({number:.6,unit:"pt"},t),c=et({number:.35,unit:"ex"},t),p=t.havingBaseSizing();i=i/p.sizeMultiplier;var h=r.height+r.depth+u+c;r.style.paddingLeft=oe(h/2+u);var m=Math.floor(1e3*h*i),d=c7(m),b=new Jr([new pn("phase",d)],{width:"400em",height:oe(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});a=$.makeSvgSpan(["hide-tail"],[b],t),a.style.height=oe(h),s=r.depth+u+c}else{/cancel/.test(n)?l||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var k=0,_=0,S=0;/box/.test(n)?(S=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),k=t.fontMetrics().fboxsep+(n==="colorbox"?0:S),_=k):n==="angl"?(S=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),k=4*S,_=Math.max(0,.25-r.depth)):(k=l?.2:0,_=k),a=Xr.encloseSpan(r,n,k,_,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=oe(S)):n==="angl"&&S!==.049&&(a.style.borderTopWidth=oe(S),a.style.borderRightWidth=oe(S)),s=r.depth+_,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var A;if(e.backgroundColor)A=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var N=/cancel|phase/.test(n)?["svg-align"]:[];A=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:N}]},t)}return/cancel/.test(n)&&(A.height=r.height,A.depth=r.depth),/cancel/.test(n)&&!l?$.makeSpan(["mord","cancel-lap"],[A],t):$.makeSpan(["mord"],[A],t)},Xl=(e,t)=>{var r=0,n=new te.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[qe(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};le({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=Ae(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:Wl,mathmlBuilder:Xl});le({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=Ae(t[0],"color-token").color,s=Ae(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:l}},htmlBuilder:Wl,mathmlBuilder:Xl});le({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});le({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:Wl,mathmlBuilder:Xl});le({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var fd={};function Lr(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,l={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},u=0;u<r.length;++u)fd[r[u]]=l;a&&($a[t]=a),s&&(Ga[t]=s)}var dd={};function I(e,t){dd[e]=t}function Rc(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var Ss=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ne("{"+e.envName+"} can be used only in display mode.")};function Yl(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function gn(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:l,autoTag:u,singleRow:c,emptySingleRow:p,maxNumCols:h,leqno:m}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var d=e.gullet.expandMacroAsText("\\arraystretch");if(d==null)s=1;else if(s=parseFloat(d),!s||s<0)throw new ne("Invalid \\arraystretch: "+d)}e.gullet.beginGroup();var b=[],k=[b],_=[],S=[],A=u!=null?[]:void 0;function N(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function F(){A&&(e.gullet.macros.get("\\df@tag")?(A.push(e.subparse([new Wt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):A.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(N(),S.push(Rc(e));;){var P=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),P={type:"ordgroup",mode:e.mode,body:P},r&&(P={type:"styling",mode:e.mode,style:r,body:[P]}),b.push(P);var g=e.fetch().text;if(g==="&"){if(h&&b.length===h){if(c||l)throw new ne("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(g==="\\end"){F(),b.length===1&&P.type==="styling"&&P.body[0].body.length===0&&(k.length>1||!p)&&k.pop(),S.length<k.length+1&&S.push([]);break}else if(g==="\\\\"){e.consume();var M=void 0;e.gullet.future().text!==" "&&(M=e.parseSizeGroup(!0)),_.push(M?M.value:null),F(),S.push(Rc(e)),b=[],k.push(b),N()}else throw new ne("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:k,cols:a,rowGaps:_,hskipBeforeAndAfter:n,hLinesBeforeRow:S,colSeparationType:l,tags:A,leqno:m}}function Kl(e){return e.slice(0,1)==="d"?"display":"text"}var Rr=function(t,r){var n,i,a=t.body.length,s=t.hLinesBeforeRow,l=0,u=new Array(a),c=[],p=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),h=1/r.fontMetrics().ptPerEm,m=5*h;if(t.colSeparationType&&t.colSeparationType==="small"){var d=r.havingStyle(ve.SCRIPT).sizeMultiplier;m=.2778*(d/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?et({number:3,unit:"ex"},r):12*h,k=3*h,_=t.arraystretch*b,S=.7*_,A=.3*_,N=0;function F(It){for(var Dt=0;Dt<It.length;++Dt)Dt>0&&(N+=.25),c.push({pos:N,isDashed:It[Dt]})}for(F(s[0]),n=0;n<t.body.length;++n){var P=t.body[n],g=S,M=A;l<P.length&&(l=P.length);var V=new Array(P.length);for(i=0;i<P.length;++i){var U=Re(P[i],r);M<U.depth&&(M=U.depth),g<U.height&&(g=U.height),V[i]=U}var j=t.rowGaps[n],J=0;j&&(J=et(j,r),J>0&&(J+=A,M<J&&(M=J),J=0)),t.addJot&&(M+=k),V.height=g,V.depth=M,N+=g,V.pos=N,N+=M+J,u[n]=V,F(s[n+1])}var W=N/2+r.fontMetrics().axisHeight,ae=t.cols||[],Q=[],Z,me,xe=[];if(t.tags&&t.tags.some(It=>It))for(n=0;n<a;++n){var Be=u[n],Ve=Be.pos-W,z=t.tags[n],Ye=void 0;z===!0?Ye=$.makeSpan(["eqn-num"],[],r):z===!1?Ye=$.makeSpan([],[],r):Ye=$.makeSpan([],mt(z,r,!0),r),Ye.depth=Be.depth,Ye.height=Be.height,xe.push({type:"elem",elem:Ye,shift:Ve})}for(i=0,me=0;i<l||me<ae.length;++i,++me){for(var Fe=ae[me]||{},O=!0;Fe.type==="separator";){if(O||(Z=$.makeSpan(["arraycolsep"],[]),Z.style.width=oe(r.fontMetrics().doubleRuleSep),Q.push(Z)),Fe.separator==="|"||Fe.separator===":"){var nt=Fe.separator==="|"?"solid":"dashed",tt=$.makeSpan(["vertical-separator"],[],r);tt.style.height=oe(N),tt.style.borderRightWidth=oe(p),tt.style.borderRightStyle=nt,tt.style.margin="0 "+oe(-p/2);var Ue=N-W;Ue&&(tt.style.verticalAlign=oe(-Ue)),Q.push(tt)}else throw new ne("Invalid separator type: "+Fe.separator);me++,Fe=ae[me]||{},O=!1}if(!(i>=l)){var bt=void 0;(i>0||t.hskipBeforeAndAfter)&&(bt=De.deflt(Fe.pregap,m),bt!==0&&(Z=$.makeSpan(["arraycolsep"],[]),Z.style.width=oe(bt),Q.push(Z)));var ut=[];for(n=0;n<a;++n){var at=u[n],st=at[i];if(st){var ct=at.pos-W;st.depth=at.depth,st.height=at.height,ut.push({type:"elem",elem:st,shift:ct})}}ut=$.makeVList({positionType:"individualShift",children:ut},r),ut=$.makeSpan(["col-align-"+(Fe.align||"c")],[ut]),Q.push(ut),(i<l-1||t.hskipBeforeAndAfter)&&(bt=De.deflt(Fe.postgap,m),bt!==0&&(Z=$.makeSpan(["arraycolsep"],[]),Z.style.width=oe(bt),Q.push(Z)))}}if(u=$.makeSpan(["mtable"],Q),c.length>0){for(var Zr=$.makeLineSpan("hline",r,p),yr=$.makeLineSpan("hdashline",r,p),vr=[{type:"elem",elem:u,shift:0}];c.length>0;){var Yt=c.pop(),pr=Yt.pos-W;Yt.isDashed?vr.push({type:"elem",elem:yr,shift:pr}):vr.push({type:"elem",elem:Zr,shift:pr})}u=$.makeVList({positionType:"individualShift",children:vr},r)}if(xe.length===0)return $.makeSpan(["mord"],[u],r);var wt=$.makeVList({positionType:"individualShift",children:xe},r);return wt=$.makeSpan(["tag"],[wt],r),$.makeFragment([u,wt])},vb={c:"center ",l:"left ",r:"right "},Dr=function(t,r){for(var n=[],i=new te.MathNode("mtd",[],["mtr-glue"]),a=new te.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var l=t.body[s],u=[],c=0;c<l.length;c++)u.push(new te.MathNode("mtd",[qe(l[c],r)]));t.tags&&t.tags[s]&&(u.unshift(i),u.push(i),t.leqno?u.unshift(a):u.push(a)),n.push(new te.MathNode("mtr",u))}var p=new te.MathNode("mtable",n),h=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",oe(h));var m="",d="";if(t.cols&&t.cols.length>0){var b=t.cols,k="",_=!1,S=0,A=b.length;b[0].type==="separator"&&(m+="top ",S=1),b[b.length-1].type==="separator"&&(m+="bottom ",A-=1);for(var N=S;N<A;N++)b[N].type==="align"?(d+=vb[b[N].align],_&&(k+="none "),_=!0):b[N].type==="separator"&&_&&(k+=b[N].separator==="|"?"solid ":"dashed ",_=!1);p.setAttribute("columnalign",d.trim()),/[sd]/.test(k)&&p.setAttribute("columnlines",k.trim())}if(t.colSeparationType==="align"){for(var F=t.cols||[],P="",g=1;g<F.length;g++)P+=g%2?"0em ":"1em ";p.setAttribute("columnspacing",P.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?p.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?p.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?p.setAttribute("columnspacing","0.5em"):p.setAttribute("columnspacing","1em");var M="",V=t.hLinesBeforeRow;m+=V[0].length>0?"left ":"",m+=V[V.length-1].length>0?"right ":"";for(var U=1;U<V.length-1;U++)M+=V[U].length===0?"none ":V[U][0]?"dashed ":"solid ";return/[sd]/.test(M)&&p.setAttribute("rowlines",M.trim()),m!==""&&(p=new te.MathNode("menclose",[p]),p.setAttribute("notation",m.trim())),t.arraystretch&&t.arraystretch<1&&(p=new te.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},md=function(t,r){t.envName.indexOf("ed")===-1&&Ss(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",s=gn(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:Yl(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),l,u=0,c={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var p="",h=0;h<r[0].body.length;h++){var m=Ae(r[0].body[h],"textord");p+=m.text}l=Number(p),u=l*2}var d=!u;s.body.forEach(function(S){for(var A=1;A<S.length;A+=2){var N=Ae(S[A],"styling"),F=Ae(N.body[0],"ordgroup");F.body.unshift(c)}if(d)u<S.length&&(u=S.length);else{var P=S.length/2;if(l<P)throw new ne("Too many math in a row: "+("expected "+l+", but got "+P),S[0])}});for(var b=0;b<u;++b){var k="r",_=0;b%2===1?k="l":b>0&&d&&(_=1),n[b]={type:"align",align:k,pregap:_,postgap:0}}return s.colSeparationType=d?"align":"alignat",s};Lr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=bs(t[0]),n=r?[t[0]]:Ae(t[0],"ordgroup").body,i=n.map(function(s){var l=$l(s),u=l.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new ne("Unknown column alignment: "+u,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return gn(e.parser,a,Kl(e.envName))},htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new ne("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=gn(e.parser,n,Kl(e.envName)),s=Math.max(0,...a.body.map(l=>l.length));return a.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=gn(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=bs(t[0]),n=r?[t[0]]:Ae(t[0],"ordgroup").body,i=n.map(function(s){var l=$l(s),u=l.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new ne("Unknown column alignment: "+u,s)});if(i.length>1)throw new ne("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=gn(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new ne("{subarray} can contain only one column");return a},htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=gn(e.parser,t,Kl(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:md,htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&Ss(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Yl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return gn(e.parser,t,"display")},htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:md,htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Ss(e);var t={autoTag:Yl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return gn(e.parser,t,"display")},htmlBuilder:Rr,mathmlBuilder:Dr});Lr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Ss(e),ab(e.parser)},htmlBuilder:Rr,mathmlBuilder:Dr});I("\\nonumber","\\gdef\\@eqnsw{0}");I("\\notag","\\nonumber");le({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ne(e.funcName+" valid only within array environment")}});var Dc=fd;le({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new ne("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=Ae(i.body[s],"textord").text;if(n==="\\begin"){if(!Dc.hasOwnProperty(a))throw new ne("No such environment: "+a,i);var l=Dc[a],{args:u,optArgs:c}=r.parseArguments("\\begin{"+a+"}",l),p={mode:r.mode,envName:a,parser:r},h=l.handler(p,u,c);r.expect("\\end",!1);var m=r.nextToken,d=Ae(r.parseFunction(),"environment");if(d.name!==a)throw new ne("Mismatch: \\begin{"+a+"} matched by \\end{"+d.name+"}",m);return h}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var gd=(e,t)=>{var r=e.font,n=t.withFont(r);return Re(e.body,n)},xd=(e,t)=>{var r=e.font,n=t.withFont(r);return qe(e.body,n)},Fc={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};le({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=Ja(t[0]),a=n;return a in Fc&&(a=Fc[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:gd,mathmlBuilder:xd});le({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=De.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:ws(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}});le({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,s=r.parseExpression(!0,i),l="math"+n.slice(1);return{type:"font",mode:a,font:l,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:gd,mathmlBuilder:xd});var yd=(e,t)=>{var r=t;return e==="display"?r=r.id>=ve.SCRIPT.id?r.text():ve.DISPLAY:e==="text"&&r.size===ve.DISPLAY.size?r=ve.TEXT:e==="script"?r=ve.SCRIPT:e==="scriptscript"&&(r=ve.SCRIPTSCRIPT),r},Ql=(e,t)=>{var r=yd(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var s=Re(e.numer,a,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;s.height=s.height<l?l:s.height,s.depth=s.depth<u?u:s.depth}a=t.havingStyle(i);var c=Re(e.denom,a,t),p,h,m;e.hasBarLine?(e.barSize?(h=et(e.barSize,t),p=$.makeLineSpan("frac-line",t,h)):p=$.makeLineSpan("frac-line",t),h=p.height,m=p.height):(p=null,h=0,m=t.fontMetrics().defaultRuleThickness);var d,b,k;r.size===ve.DISPLAY.size||e.size==="display"?(d=t.fontMetrics().num1,h>0?b=3*m:b=7*m,k=t.fontMetrics().denom1):(h>0?(d=t.fontMetrics().num2,b=m):(d=t.fontMetrics().num3,b=3*m),k=t.fontMetrics().denom2);var _;if(p){var A=t.fontMetrics().axisHeight;d-s.depth-(A+.5*h)<b&&(d+=b-(d-s.depth-(A+.5*h))),A-.5*h-(c.height-k)<b&&(k+=b-(A-.5*h-(c.height-k)));var N=-(A-.5*h);_=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:k},{type:"elem",elem:p,shift:N},{type:"elem",elem:s,shift:-d}]},t)}else{var S=d-s.depth-(c.height-k);S<b&&(d+=.5*(b-S),k+=.5*(b-S)),_=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:k},{type:"elem",elem:s,shift:-d}]},t)}a=t.havingStyle(r),_.height*=a.sizeMultiplier/t.sizeMultiplier,_.depth*=a.sizeMultiplier/t.sizeMultiplier;var F;r.size===ve.DISPLAY.size?F=t.fontMetrics().delim1:r.size===ve.SCRIPTSCRIPT.size?F=t.havingStyle(ve.SCRIPT).fontMetrics().delim2:F=t.fontMetrics().delim2;var P,g;return e.leftDelim==null?P=Li(t,["mopen"]):P=Ur.customSizedDelim(e.leftDelim,F,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?g=$.makeSpan([]):e.rightDelim==null?g=Li(t,["mclose"]):g=Ur.customSizedDelim(e.rightDelim,F,!0,t.havingStyle(r),e.mode,["mclose"]),$.makeSpan(["mord"].concat(a.sizingClasses(t)),[P,$.makeSpan(["mfrac"],[_]),g],t)},Zl=(e,t)=>{var r=new te.MathNode("mfrac",[qe(e.numer,t),qe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=et(e.barSize,t);r.setAttribute("linethickness",oe(n))}var i=yd(e.size,t.style);if(i.size!==t.style.size){r=new te.MathNode("mstyle",[r]);var a=i.size===ve.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var l=new te.MathNode("mo",[new te.TextNode(e.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}if(s.push(r),e.rightDelim!=null){var u=new te.MathNode("mo",[new te.TextNode(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),s.push(u)}return Hl(s)}return r};le({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],s,l=null,u=null,c="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,l="(",u=")";break;case"\\\\bracefrac":s=!1,l="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,l="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:l,rightDelim:u,size:c,barSize:null}},htmlBuilder:Ql,mathmlBuilder:Zl});le({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});le({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var zc=["display","text","script","scriptscript"],Oc=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};le({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],i=t[5],a=Ja(t[0]),s=a.type==="atom"&&a.family==="open"?Oc(a.text):null,l=Ja(t[1]),u=l.type==="atom"&&l.family==="close"?Oc(l.text):null,c=Ae(t[2],"size"),p,h=null;c.isBlank?p=!0:(h=c.value,p=h.number>0);var m="auto",d=t[3];if(d.type==="ordgroup"){if(d.body.length>0){var b=Ae(d.body[0],"textord");m=zc[Number(b.text)]}}else d=Ae(d,"textord"),m=zc[Number(d.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:p,barSize:h,leftDelim:s,rightDelim:u,size:m}},htmlBuilder:Ql,mathmlBuilder:Zl});le({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ae(t[0],"size").value,token:i}}});le({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=Xv(Ae(t[1],"infix").size),s=t[2],l=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:l,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ql,mathmlBuilder:Zl});var vd=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?Re(e.sup,t.havingStyle(r.sup()),t):Re(e.sub,t.havingStyle(r.sub()),t),i=Ae(e.base,"horizBrace")):i=Ae(e,"horizBrace");var a=Re(i.base,t.havingBaseStyle(ve.DISPLAY)),s=Xr.svgSpan(i,t),l;if(i.isOver?(l=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),l.children[0].children[0].children[1].classes.push("svg-align")):(l=$.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),l.children[0].children[0].children[0].classes.push("svg-align")),n){var u=$.makeSpan(["mord",i.isOver?"mover":"munder"],[l],t);i.isOver?l=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},t):l=$.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return $.makeSpan(["mord",i.isOver?"mover":"munder"],[l],t)},bb=(e,t)=>{var r=Xr.mathMLnode(e.label);return new te.MathNode(e.isOver?"mover":"munder",[qe(e.base,t),r])};le({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:vd,mathmlBuilder:bb});le({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=Ae(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:it(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=mt(e.body,t,!1);return $.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=fn(e.body,t);return r instanceof Gt||(r=new Gt("mrow",[r])),r.setAttribute("href",e.href),r}});le({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ae(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var s=n[a];s==="~"&&(s="\\textasciitilde"),i.push({type:"textord",mode:"text",text:s})}var l={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:it(l)}}});le({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:it(t[0])}},htmlBuilder(e,t){var r=mt(e.body,t,!1);return $.makeFragment(r)},mathmlBuilder(e,t){return new te.MathNode("mrow",Ht(e.body,t))}});le({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:i}=e,a=Ae(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,u={};switch(n){case"\\htmlClass":u.class=a,l={command:"\\htmlClass",class:a};break;case"\\htmlId":u.id=a,l={command:"\\htmlId",id:a};break;case"\\htmlStyle":u.style=a,l={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var c=a.split(","),p=0;p<c.length;p++){var h=c[p],m=h.indexOf("=");if(m<0)throw new ne("\\htmlData key/value '"+h+"' missing equals sign");var d=h.slice(0,m),b=h.slice(m+1);u["data-"+d.trim()]=b}l={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(l)?{type:"html",mode:r.mode,attributes:u,body:it(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=mt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=$.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>fn(e.body,t)});le({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:it(t[0]),mathml:it(t[1])}},htmlBuilder:(e,t)=>{var r=mt(e.html,t,!1);return $.makeFragment(r)},mathmlBuilder:(e,t)=>fn(e.mathml,t)});var bo=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new ne("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!zf(n))throw new ne("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};le({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var u=Ae(r[0],"raw").string,c=u.split(","),p=0;p<c.length;p++){var h=c[p].split("=");if(h.length===2){var m=h[1].trim();switch(h[0].trim()){case"alt":l=m;break;case"width":i=bo(m);break;case"height":a=bo(m);break;case"totalheight":s=bo(m);break;default:throw new ne("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var d=Ae(t[0],"url").url;return l===""&&(l=d,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:d})?{type:"includegraphics",mode:n.mode,alt:l,width:i,height:a,totalheight:s,src:d}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=et(e.height,t),n=0;e.totalheight.number>0&&(n=et(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=et(e.width,t));var a={height:oe(r+n)};i>0&&(a.width=oe(i)),n>0&&(a.verticalAlign=oe(-n));var s=new b7(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new te.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=et(e.height,t),i=0;if(e.totalheight.number>0&&(i=et(e.totalheight,t)-n,r.setAttribute("valign",oe(-i))),r.setAttribute("height",oe(n+i)),e.width.number>0){var a=et(e.width,t);r.setAttribute("width",oe(a))}return r.setAttribute("src",e.src),r}});le({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=Ae(t[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return $.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=et(e.dimension,t);return new te.SpaceNode(r)}});le({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=$.makeSpan([],[Re(e.body,t)]),r=$.makeSpan(["inner"],[r],t)):r=$.makeSpan(["inner"],[Re(e.body,t)]);var n=$.makeSpan(["fix"],[]),i=$.makeSpan([e.alignment],[r,n],t),a=$.makeSpan(["strut"]);return a.style.height=oe(i.height+i.depth),i.depth&&(a.style.verticalAlign=oe(-i.depth)),i.children.unshift(a),i=$.makeSpan(["thinbox"],[i],t),$.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new te.MathNode("mpadded",[qe(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});le({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}});le({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ne("Mismatched "+e.funcName)}});var Vc=(e,t)=>{switch(t.style.size){case ve.DISPLAY.size:return e.display;case ve.TEXT.size:return e.text;case ve.SCRIPT.size:return e.script;case ve.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};le({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:it(t[0]),text:it(t[1]),script:it(t[2]),scriptscript:it(t[3])}},htmlBuilder:(e,t)=>{var r=Vc(e,t),n=mt(r,t,!1);return $.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Vc(e,t);return fn(r,t)}});var bd=(e,t,r,n,i,a,s)=>{e=$.makeSpan([],[e]);var l=r&&De.isCharacterBox(r),u,c;if(t){var p=Re(t,n.havingStyle(i.sup()),n);c={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-p.depth)}}if(r){var h=Re(r,n.havingStyle(i.sub()),n);u={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}var m;if(c&&u){var d=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+s;m=$.makeVList({positionType:"bottom",positionData:d,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:oe(-a)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:oe(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(u){var b=e.height-s;m=$.makeVList({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:oe(-a)},{type:"kern",size:u.kern},{type:"elem",elem:e}]},n)}else if(c){var k=e.depth+s;m=$.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:oe(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var _=[m];if(u&&a!==0&&!l){var S=$.makeSpan(["mspace"],[],n);S.style.marginRight=oe(a),_.unshift(S)}return $.makeSpan(["mop","op-limits"],_,n)},wd=["\\smallint"],si=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=Ae(e.base,"op"),i=!0):a=Ae(e,"op");var s=t.style,l=!1;s.size===ve.DISPLAY.size&&a.symbol&&!wd.includes(a.name)&&(l=!0);var u;if(a.symbol){var c=l?"Size2-Regular":"Size1-Regular",p="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(p=a.name.slice(1),a.name=p==="oiint"?"\\iint":"\\iiint"),u=$.makeSymbol(a.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),p.length>0){var h=u.italic,m=$.staticSvg(p+"Size"+(l?"2":"1"),t);u=$.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:m,shift:l?.08:0}]},t),a.name="\\"+p,u.classes.unshift("mop"),u.italic=h}}else if(a.body){var d=mt(a.body,t,!0);d.length===1&&d[0]instanceof ur?(u=d[0],u.classes[0]="mop"):u=$.makeSpan(["mop"],d,t)}else{for(var b=[],k=1;k<a.name.length;k++)b.push($.mathsym(a.name[k],a.mode,t));u=$.makeSpan(["mop"],b,t)}var _=0,S=0;return(u instanceof ur||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(_=(u.height-u.depth)/2-t.fontMetrics().axisHeight,S=u.italic),i?bd(u,r,n,t,s,S,_):(_&&(u.style.position="relative",u.style.top=oe(_)),u)},Ki=(e,t)=>{var r;if(e.symbol)r=new Gt("mo",[cr(e.name,e.mode)]),wd.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Gt("mo",Ht(e.body,t));else{r=new Gt("mi",[new Tr(e.name.slice(1))]);var n=new Gt("mo",[cr("","text")]);e.parentIsSupSub?r=new Gt("mrow",[r,n]):r=Xf([r,n])}return r},wb={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};le({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=wb[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:si,mathmlBuilder:Ki});le({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:it(n)}},htmlBuilder:si,mathmlBuilder:Ki});var kb={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};le({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:si,mathmlBuilder:Ki});le({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:si,mathmlBuilder:Ki});le({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=kb[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:si,mathmlBuilder:Ki});var kd=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=Ae(e.base,"operatorname"),i=!0):a=Ae(e,"operatorname");var s;if(a.body.length>0){for(var l=a.body.map(h=>{var m=h.text;return typeof m=="string"?{type:"textord",mode:h.mode,text:m}:h}),u=mt(l,t.withFont("mathrm"),!0),c=0;c<u.length;c++){var p=u[c];p instanceof ur&&(p.text=p.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=$.makeSpan(["mop"],u,t)}else s=$.makeSpan(["mop"],[],t);return i?bd(s,r,n,t,t.style,0,0):s},Sb=(e,t)=>{for(var r=Ht(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof te.SpaceNode))if(a instanceof te.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof te.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var l=r.map(p=>p.toText()).join("");r=[new te.TextNode(l)]}var u=new te.MathNode("mi",r);u.setAttribute("mathvariant","normal");var c=new te.MathNode("mo",[cr("","text")]);return e.parentIsSupSub?new te.MathNode("mrow",[u,c]):te.newDocumentFragment([u,c])};le({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:it(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:kd,mathmlBuilder:Sb});I("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Tn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?$.makeFragment(mt(e.body,t,!1)):$.makeSpan(["mord"],mt(e.body,t,!0),t)},mathmlBuilder(e,t){return fn(e.body,t,!0)}});le({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Re(e.body,t.havingCrampedStyle()),n=$.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return $.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new te.MathNode("mo",[new te.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new te.MathNode("mover",[qe(e.body,t),r]);return n.setAttribute("accent","true"),n}});le({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:it(n)}},htmlBuilder:(e,t)=>{var r=mt(e.body,t.withPhantom(),!1);return $.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Ht(e.body,t);return new te.MathNode("mphantom",r)}});le({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=$.makeSpan([],[Re(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),$.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Ht(it(e.body),t),n=new te.MathNode("mphantom",r),i=new te.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});le({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=$.makeSpan(["inner"],[Re(e.body,t.withPhantom())]),n=$.makeSpan(["fix"],[]);return $.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Ht(it(e.body),t),n=new te.MathNode("mphantom",r),i=new te.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}});le({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ae(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=Re(e.body,t),n=et(e.dy,t);return $.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new te.MathNode("mpadded",[qe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});le({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});le({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=Ae(t[0],"size"),s=Ae(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&Ae(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var r=$.makeSpan(["mord","rule"],[],t),n=et(e.width,t),i=et(e.height,t),a=e.shift?et(e.shift,t):0;return r.style.borderRightWidth=oe(n),r.style.borderTopWidth=oe(i),r.style.bottom=oe(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=et(e.width,t),n=et(e.height,t),i=e.shift?et(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new te.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",oe(r)),s.setAttribute("height",oe(n));var l=new te.MathNode("mpadded",[s]);return i>=0?l.setAttribute("height",oe(i)):(l.setAttribute("height",oe(i)),l.setAttribute("depth",oe(-i))),l.setAttribute("voffset",oe(i)),l}});function Sd(e,t,r){for(var n=mt(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var s=n[a].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[s+1]==="reset-size"+t.size&&(n[a].classes[s+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return $.makeFragment(n)}var jc=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Cb=(e,t)=>{var r=t.havingSize(e.size);return Sd(e.body,r,t)};le({type:"sizing",names:jc,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:jc.indexOf(n)+1,body:a}},htmlBuilder:Cb,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Ht(e.body,r),i=new te.MathNode("mstyle",n);return i.setAttribute("mathsize",oe(r.sizeMultiplier)),i}});le({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,s=r[0]&&Ae(r[0],"ordgroup");if(s)for(var l="",u=0;u<s.body.length;++u){var c=s.body[u];if(l=c.text,l==="t")i=!0;else if(l==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var p=t[0];return{type:"smash",mode:n.mode,body:p,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=$.makeSpan([],[Re(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return $.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new te.MathNode("mpadded",[qe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});le({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=Re(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=$.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<ve.TEXT.id&&(a=t.fontMetrics().xHeight);var s=i+a/4,l=r.height+r.depth+s+i,{span:u,ruleWidth:c,advanceWidth:p}=Ur.sqrtImage(l,t),h=u.height-c;h>r.height+r.depth+s&&(s=(s+h-r.height-r.depth)/2);var m=u.height-r.height-s-c;r.style.paddingLeft=oe(p);var d=$.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:u},{type:"kern",size:c}]},t);if(e.index){var b=t.havingStyle(ve.SCRIPTSCRIPT),k=Re(e.index,b,t),_=.6*(d.height-d.depth),S=$.makeVList({positionType:"shift",positionData:-_,children:[{type:"elem",elem:k}]},t),A=$.makeSpan(["root"],[S]);return $.makeSpan(["mord","sqrt"],[A,d],t)}else return $.makeSpan(["mord","sqrt"],[d],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new te.MathNode("mroot",[qe(r,t),qe(n,t)]):new te.MathNode("msqrt",[qe(r,t)])}});var qc={display:ve.DISPLAY,text:ve.TEXT,script:ve.SCRIPT,scriptscript:ve.SCRIPTSCRIPT};le({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var r=qc[e.style],n=t.havingStyle(r).withFont("");return Sd(e.body,n,t)},mathmlBuilder(e,t){var r=qc[e.style],n=t.havingStyle(r),i=Ht(e.body,n),a=new te.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=s[e.style];return a.setAttribute("scriptlevel",l[0]),a.setAttribute("displaystyle",l[1]),a}});var Eb=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===ve.DISPLAY.size||n.alwaysHandleSupSub);return i?si:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===ve.DISPLAY.size||n.limits);return a?kd:null}else{if(n.type==="accent")return De.isCharacterBox(n.base)?Gl:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?vd:null}else return null}else return null};Tn({type:"supsub",htmlBuilder(e,t){var r=Eb(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,s=Re(n,t),l,u,c=t.fontMetrics(),p=0,h=0,m=n&&De.isCharacterBox(n);if(i){var d=t.havingStyle(t.style.sup());l=Re(i,d,t),m||(p=s.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(a){var b=t.havingStyle(t.style.sub());u=Re(a,b,t),m||(h=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var k;t.style===ve.DISPLAY?k=c.sup1:t.style.cramped?k=c.sup3:k=c.sup2;var _=t.sizeMultiplier,S=oe(.5/c.ptPerEm/_),A=null;if(u){var N=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof ur||N)&&(A=oe(-s.italic))}var F;if(l&&u){p=Math.max(p,k,l.depth+.25*c.xHeight),h=Math.max(h,c.sub2);var P=c.defaultRuleThickness,g=4*P;if(p-l.depth-(u.height-h)<g){h=g-(p-l.depth)+u.height;var M=.8*c.xHeight-(p-l.depth);M>0&&(p+=M,h-=M)}var V=[{type:"elem",elem:u,shift:h,marginRight:S,marginLeft:A},{type:"elem",elem:l,shift:-p,marginRight:S}];F=$.makeVList({positionType:"individualShift",children:V},t)}else if(u){h=Math.max(h,c.sub1,u.height-.8*c.xHeight);var U=[{type:"elem",elem:u,marginLeft:A,marginRight:S}];F=$.makeVList({positionType:"shift",positionData:h,children:U},t)}else if(l)p=Math.max(p,k,l.depth+.25*c.xHeight),F=$.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:l,marginRight:S}]},t);else throw new Error("supsub must have either sup or sub.");var j=Zo(s,"right")||"mord";return $.makeSpan([j],[s,$.makeSpan(["msupsub"],[F])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[qe(e.base,t)];e.sub&&a.push(qe(e.sub,t)),e.sup&&a.push(qe(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===ve.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===ve.DISPLAY||c.limits)?s="munderover":s="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===ve.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===ve.DISPLAY)?s="munder":s="msub"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===ve.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===ve.DISPLAY)?s="mover":s="msup"}return new te.MathNode(s,a)}});Tn({type:"atom",htmlBuilder(e,t){return $.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new te.MathNode("mo",[cr(e.text,e.mode)]);if(e.family==="bin"){var n=Ul(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Cd={mi:"italic",mn:"normal",mtext:"normal"};Tn({type:"mathord",htmlBuilder(e,t){return $.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new te.MathNode("mi",[cr(e.text,e.mode,t)]),n=Ul(e,t)||"italic";return n!==Cd[r.type]&&r.setAttribute("mathvariant",n),r}});Tn({type:"textord",htmlBuilder(e,t){return $.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=cr(e.text,e.mode,t),n=Ul(e,t)||"normal",i;return e.mode==="text"?i=new te.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new te.MathNode("mn",[r]):e.text==="\\prime"?i=new te.MathNode("mo",[r]):i=new te.MathNode("mi",[r]),n!==Cd[i.type]&&i.setAttribute("mathvariant",n),i}});var wo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ko={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Tn({type:"spacing",htmlBuilder(e,t){if(ko.hasOwnProperty(e.text)){var r=ko[e.text].className||"";if(e.mode==="text"){var n=$.makeOrd(e,t,"textord");return n.classes.push(r),n}else return $.makeSpan(["mspace",r],[$.mathsym(e.text,e.mode,t)],t)}else{if(wo.hasOwnProperty(e.text))return $.makeSpan(["mspace",wo[e.text]],[],t);throw new ne('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(ko.hasOwnProperty(e.text))r=new te.MathNode("mtext",[new te.TextNode(" ")]);else{if(wo.hasOwnProperty(e.text))return new te.MathNode("mspace");throw new ne('Unknown type of space "'+e.text+'"')}return r}});var Hc=()=>{var e=new te.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Tn({type:"tag",mathmlBuilder(e,t){var r=new te.MathNode("mtable",[new te.MathNode("mtr",[Hc(),new te.MathNode("mtd",[fn(e.body,t)]),Hc(),new te.MathNode("mtd",[fn(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Uc={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},$c={"\\textbf":"textbf","\\textmd":"textmd"},_b={"\\textit":"textit","\\textup":"textup"},Gc=(e,t)=>{var r=e.font;if(r){if(Uc[r])return t.withTextFontFamily(Uc[r]);if($c[r])return t.withTextFontWeight($c[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(_b[r])};le({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:it(i),font:n}},htmlBuilder(e,t){var r=Gc(e,t),n=mt(e.body,r,!0);return $.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Gc(e,t);return fn(e.body,r)}});le({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Re(e.body,t),n=$.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=$.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return $.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new te.MathNode("mo",[new te.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new te.MathNode("munder",[qe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});le({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Re(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return $.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new te.MathNode("mpadded",[qe(e.body,t)],["vcenter"])}});le({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ne("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Jc(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push($.makeSymbol(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return $.makeSpan(["mord","text"].concat(i.sizingClasses(t)),$.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new te.TextNode(Jc(e)),n=new te.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Jc=e=>e.body.replace(/ /g,e.star?"␣":" "),on=Jf,Ed=`[ \r
|
|
327
|
+
]`,Ab="\\\\[a-zA-Z@]+",Tb="\\\\[^\uD800-\uDFFF]",Ib="("+Ab+")"+Ed+"*",Nb=`\\\\(
|
|
328
|
+
|[ \r ]+
|
|
329
|
+
?)[ \r ]*`,nl="[̀-ͯ]",Mb=new RegExp(nl+"+$"),Pb="("+Ed+"+)|"+(Nb+"|")+"([!-\\[\\]-‧-豈-]"+(nl+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(nl+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Ib)+("|"+Tb+")");class Wc{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(Pb,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Wt("EOF",new Vt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new ne("Unexpected character: '"+t[r]+"'",new Wt(t[r],new Vt(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
|
|
330
|
+
`,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new Wt(i,new Vt(this,r,this.tokenRegex.lastIndex))}}class Bb{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ne("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var Lb=dd;I("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});I("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});I("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});I("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});I("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});I("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");I("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Xc={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};I("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ne("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Xc[t.text],n==null||n>=r)throw new ne("Invalid base-"+r+" digit "+t.text);for(var i;(i=Xc[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var eu=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new ne("\\newcommand's first argument must be a macro name");var a=i[0].text,s=e.isDefined(a);if(s&&!t)throw new ne("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new ne("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var l=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var u="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)u+=c.text,c=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new ne("Invalid number of arguments: "+u);l=parseInt(u),i=e.consumeArg().tokens}return s&&n||e.macros.set(a,{tokens:i,numArgs:l}),""};I("\\newcommand",e=>eu(e,!1,!0,!1));I("\\renewcommand",e=>eu(e,!0,!1,!1));I("\\providecommand",e=>eu(e,!0,!0,!0));I("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});I("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});I("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),on[r],Je.math[r],Je.text[r]),""});I("\\bgroup","{");I("\\egroup","}");I("~","\\nobreakspace");I("\\lq","`");I("\\rq","'");I("\\aa","\\r a");I("\\AA","\\r A");I("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");I("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");I("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");I("ℬ","\\mathscr{B}");I("ℰ","\\mathscr{E}");I("ℱ","\\mathscr{F}");I("ℋ","\\mathscr{H}");I("ℐ","\\mathscr{I}");I("ℒ","\\mathscr{L}");I("ℳ","\\mathscr{M}");I("ℛ","\\mathscr{R}");I("ℭ","\\mathfrak{C}");I("ℌ","\\mathfrak{H}");I("ℨ","\\mathfrak{Z}");I("\\Bbbk","\\Bbb{k}");I("·","\\cdotp");I("\\llap","\\mathllap{\\textrm{#1}}");I("\\rlap","\\mathrlap{\\textrm{#1}}");I("\\clap","\\mathclap{\\textrm{#1}}");I("\\mathstrut","\\vphantom{(}");I("\\underbar","\\underline{\\text{#1}}");I("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');I("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");I("\\ne","\\neq");I("≠","\\neq");I("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");I("∉","\\notin");I("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");I("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");I("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");I("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");I("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");I("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");I("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");I("⟂","\\perp");I("‼","\\mathclose{!\\mkern-0.8mu!}");I("∌","\\notni");I("⌜","\\ulcorner");I("⌝","\\urcorner");I("⌞","\\llcorner");I("⌟","\\lrcorner");I("©","\\copyright");I("®","\\textregistered");I("️","\\textregistered");I("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');I("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');I("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');I("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');I("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");I("⋮","\\vdots");I("\\varGamma","\\mathit{\\Gamma}");I("\\varDelta","\\mathit{\\Delta}");I("\\varTheta","\\mathit{\\Theta}");I("\\varLambda","\\mathit{\\Lambda}");I("\\varXi","\\mathit{\\Xi}");I("\\varPi","\\mathit{\\Pi}");I("\\varSigma","\\mathit{\\Sigma}");I("\\varUpsilon","\\mathit{\\Upsilon}");I("\\varPhi","\\mathit{\\Phi}");I("\\varPsi","\\mathit{\\Psi}");I("\\varOmega","\\mathit{\\Omega}");I("\\substack","\\begin{subarray}{c}#1\\end{subarray}");I("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");I("\\boxed","\\fbox{$\\displaystyle{#1}$}");I("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");I("\\implies","\\DOTSB\\;\\Longrightarrow\\;");I("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");I("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");I("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Yc={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};I("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Yc?t=Yc[r]:(r.slice(0,4)==="\\not"||r in Je.math&&["bin","rel"].includes(Je.math[r].group))&&(t="\\dotsb"),t});var tu={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};I("\\dotso",function(e){var t=e.future().text;return t in tu?"\\ldots\\,":"\\ldots"});I("\\dotsc",function(e){var t=e.future().text;return t in tu&&t!==","?"\\ldots\\,":"\\ldots"});I("\\cdots",function(e){var t=e.future().text;return t in tu?"\\@cdots\\,":"\\@cdots"});I("\\dotsb","\\cdots");I("\\dotsm","\\cdots");I("\\dotsi","\\!\\cdots");I("\\dotsx","\\ldots\\,");I("\\DOTSI","\\relax");I("\\DOTSB","\\relax");I("\\DOTSX","\\relax");I("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");I("\\,","\\tmspace+{3mu}{.1667em}");I("\\thinspace","\\,");I("\\>","\\mskip{4mu}");I("\\:","\\tmspace+{4mu}{.2222em}");I("\\medspace","\\:");I("\\;","\\tmspace+{5mu}{.2777em}");I("\\thickspace","\\;");I("\\!","\\tmspace-{3mu}{.1667em}");I("\\negthinspace","\\!");I("\\negmedspace","\\tmspace-{4mu}{.2222em}");I("\\negthickspace","\\tmspace-{5mu}{.277em}");I("\\enspace","\\kern.5em ");I("\\enskip","\\hskip.5em\\relax");I("\\quad","\\hskip1em\\relax");I("\\qquad","\\hskip2em\\relax");I("\\tag","\\@ifstar\\tag@literal\\tag@paren");I("\\tag@paren","\\tag@literal{({#1})}");I("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ne("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});I("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");I("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");I("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");I("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");I("\\newline","\\\\\\relax");I("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var _d=oe(Ar["Main-Regular"][84][1]-.7*Ar["Main-Regular"][65][1]);I("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+_d+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");I("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+_d+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");I("\\hspace","\\@ifstar\\@hspacer\\@hspace");I("\\@hspace","\\hskip #1\\relax");I("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");I("\\ordinarycolon",":");I("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");I("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');I("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');I("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');I("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');I("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');I("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');I("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');I("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');I("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');I("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');I("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');I("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');I("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');I("∷","\\dblcolon");I("∹","\\eqcolon");I("≔","\\coloneqq");I("≕","\\eqqcolon");I("⩴","\\Coloneqq");I("\\ratio","\\vcentcolon");I("\\coloncolon","\\dblcolon");I("\\colonequals","\\coloneqq");I("\\coloncolonequals","\\Coloneqq");I("\\equalscolon","\\eqqcolon");I("\\equalscoloncolon","\\Eqqcolon");I("\\colonminus","\\coloneq");I("\\coloncolonminus","\\Coloneq");I("\\minuscolon","\\eqcolon");I("\\minuscoloncolon","\\Eqcolon");I("\\coloncolonapprox","\\Colonapprox");I("\\coloncolonsim","\\Colonsim");I("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");I("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");I("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");I("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");I("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");I("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");I("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");I("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");I("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");I("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");I("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");I("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");I("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");I("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");I("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");I("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");I("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");I("\\nleqq","\\html@mathml{\\@nleqq}{≰}");I("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");I("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");I("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");I("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");I("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");I("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");I("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");I("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");I("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");I("\\imath","\\html@mathml{\\@imath}{ı}");I("\\jmath","\\html@mathml{\\@jmath}{ȷ}");I("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");I("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");I("⟦","\\llbracket");I("⟧","\\rrbracket");I("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");I("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");I("⦃","\\lBrace");I("⦄","\\rBrace");I("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");I("⦵","\\minuso");I("\\darr","\\downarrow");I("\\dArr","\\Downarrow");I("\\Darr","\\Downarrow");I("\\lang","\\langle");I("\\rang","\\rangle");I("\\uarr","\\uparrow");I("\\uArr","\\Uparrow");I("\\Uarr","\\Uparrow");I("\\N","\\mathbb{N}");I("\\R","\\mathbb{R}");I("\\Z","\\mathbb{Z}");I("\\alef","\\aleph");I("\\alefsym","\\aleph");I("\\Alpha","\\mathrm{A}");I("\\Beta","\\mathrm{B}");I("\\bull","\\bullet");I("\\Chi","\\mathrm{X}");I("\\clubs","\\clubsuit");I("\\cnums","\\mathbb{C}");I("\\Complex","\\mathbb{C}");I("\\Dagger","\\ddagger");I("\\diamonds","\\diamondsuit");I("\\empty","\\emptyset");I("\\Epsilon","\\mathrm{E}");I("\\Eta","\\mathrm{H}");I("\\exist","\\exists");I("\\harr","\\leftrightarrow");I("\\hArr","\\Leftrightarrow");I("\\Harr","\\Leftrightarrow");I("\\hearts","\\heartsuit");I("\\image","\\Im");I("\\infin","\\infty");I("\\Iota","\\mathrm{I}");I("\\isin","\\in");I("\\Kappa","\\mathrm{K}");I("\\larr","\\leftarrow");I("\\lArr","\\Leftarrow");I("\\Larr","\\Leftarrow");I("\\lrarr","\\leftrightarrow");I("\\lrArr","\\Leftrightarrow");I("\\Lrarr","\\Leftrightarrow");I("\\Mu","\\mathrm{M}");I("\\natnums","\\mathbb{N}");I("\\Nu","\\mathrm{N}");I("\\Omicron","\\mathrm{O}");I("\\plusmn","\\pm");I("\\rarr","\\rightarrow");I("\\rArr","\\Rightarrow");I("\\Rarr","\\Rightarrow");I("\\real","\\Re");I("\\reals","\\mathbb{R}");I("\\Reals","\\mathbb{R}");I("\\Rho","\\mathrm{P}");I("\\sdot","\\cdot");I("\\sect","\\S");I("\\spades","\\spadesuit");I("\\sub","\\subset");I("\\sube","\\subseteq");I("\\supe","\\supseteq");I("\\Tau","\\mathrm{T}");I("\\thetasym","\\vartheta");I("\\weierp","\\wp");I("\\Zeta","\\mathrm{Z}");I("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");I("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");I("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");I("\\bra","\\mathinner{\\langle{#1}|}");I("\\ket","\\mathinner{|{#1}\\rangle}");I("\\braket","\\mathinner{\\langle{#1}\\rangle}");I("\\Bra","\\left\\langle#1\\right|");I("\\Ket","\\left|#1\\right\\rangle");var Ad=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.macros.get("|"),l=t.macros.get("\\|");t.macros.beginGroup();var u=h=>m=>{e&&(m.macros.set("|",s),i.length&&m.macros.set("\\|",l));var d=h;if(!h&&i.length){var b=m.future();b.text==="|"&&(m.popToken(),d=!0)}return{tokens:d?i:n,numArgs:0}};t.macros.set("|",u(!1)),i.length&&t.macros.set("\\|",u(!0));var c=t.consumeArg().tokens,p=t.expandTokens([...a,...c,...r]);return t.macros.endGroup(),{tokens:p.reverse(),numArgs:0}};I("\\bra@ket",Ad(!1));I("\\bra@set",Ad(!0));I("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");I("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");I("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");I("\\angln","{\\angl n}");I("\\blue","\\textcolor{##6495ed}{#1}");I("\\orange","\\textcolor{##ffa500}{#1}");I("\\pink","\\textcolor{##ff00af}{#1}");I("\\red","\\textcolor{##df0030}{#1}");I("\\green","\\textcolor{##28ae7b}{#1}");I("\\gray","\\textcolor{gray}{#1}");I("\\purple","\\textcolor{##9d38bd}{#1}");I("\\blueA","\\textcolor{##ccfaff}{#1}");I("\\blueB","\\textcolor{##80f6ff}{#1}");I("\\blueC","\\textcolor{##63d9ea}{#1}");I("\\blueD","\\textcolor{##11accd}{#1}");I("\\blueE","\\textcolor{##0c7f99}{#1}");I("\\tealA","\\textcolor{##94fff5}{#1}");I("\\tealB","\\textcolor{##26edd5}{#1}");I("\\tealC","\\textcolor{##01d1c1}{#1}");I("\\tealD","\\textcolor{##01a995}{#1}");I("\\tealE","\\textcolor{##208170}{#1}");I("\\greenA","\\textcolor{##b6ffb0}{#1}");I("\\greenB","\\textcolor{##8af281}{#1}");I("\\greenC","\\textcolor{##74cf70}{#1}");I("\\greenD","\\textcolor{##1fab54}{#1}");I("\\greenE","\\textcolor{##0d923f}{#1}");I("\\goldA","\\textcolor{##ffd0a9}{#1}");I("\\goldB","\\textcolor{##ffbb71}{#1}");I("\\goldC","\\textcolor{##ff9c39}{#1}");I("\\goldD","\\textcolor{##e07d10}{#1}");I("\\goldE","\\textcolor{##a75a05}{#1}");I("\\redA","\\textcolor{##fca9a9}{#1}");I("\\redB","\\textcolor{##ff8482}{#1}");I("\\redC","\\textcolor{##f9685d}{#1}");I("\\redD","\\textcolor{##e84d39}{#1}");I("\\redE","\\textcolor{##bc2612}{#1}");I("\\maroonA","\\textcolor{##ffbde0}{#1}");I("\\maroonB","\\textcolor{##ff92c6}{#1}");I("\\maroonC","\\textcolor{##ed5fa6}{#1}");I("\\maroonD","\\textcolor{##ca337c}{#1}");I("\\maroonE","\\textcolor{##9e034e}{#1}");I("\\purpleA","\\textcolor{##ddd7ff}{#1}");I("\\purpleB","\\textcolor{##c6b9fc}{#1}");I("\\purpleC","\\textcolor{##aa87ff}{#1}");I("\\purpleD","\\textcolor{##7854ab}{#1}");I("\\purpleE","\\textcolor{##543b78}{#1}");I("\\mintA","\\textcolor{##f5f9e8}{#1}");I("\\mintB","\\textcolor{##edf2df}{#1}");I("\\mintC","\\textcolor{##e0e5cc}{#1}");I("\\grayA","\\textcolor{##f6f7f7}{#1}");I("\\grayB","\\textcolor{##f0f1f2}{#1}");I("\\grayC","\\textcolor{##e3e5e6}{#1}");I("\\grayD","\\textcolor{##d6d8da}{#1}");I("\\grayE","\\textcolor{##babec2}{#1}");I("\\grayF","\\textcolor{##888d93}{#1}");I("\\grayG","\\textcolor{##626569}{#1}");I("\\grayH","\\textcolor{##3b3e40}{#1}");I("\\grayI","\\textcolor{##21242c}{#1}");I("\\kaBlue","\\textcolor{##314453}{#1}");I("\\kaGreen","\\textcolor{##71B307}{#1}");var Td={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Rb{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new Bb(Lb,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new Wc(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new Wt("EOF",n.loc)),this.pushTokens(i),new Wt("",Vt.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,l=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new ne("Extra }",a)}else if(a.text==="EOF")throw new ne("Unexpected end of input in a macro argument, expected '"+(t&&n?t[l]:"}")+"'",a);if(t&&n)if((s===0||s===1&&t[l]==="{")&&a.text===t[l]){if(++l,l===t.length){r.splice(-l,l);break}}else l=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new ne("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new ne("Use of the macro doesn't match its definition",a)}}for(var s=[],l=0;l<t;l++)s.push(this.consumeArg(r&&r[l+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ne("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||t&&i.unexpandable){if(t&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new ne("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var l=a.length-1;l>=0;--l){var u=a[l];if(u.text==="#"){if(l===0)throw new ne("Incomplete placeholder at end of macro body",u);if(u=a[--l],u.text==="#")a.splice(l+1,1);else if(/^[1-9]$/.test(u.text))a.splice(l,2,...s[+u.text-1]);else throw new ne("Not a valid argument number",u)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Wt(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var l=new Wc(i,this.settings),u=[],c=l.lex();c.text!=="EOF";)u.push(c),c=l.lex();u.reverse();var p={tokens:u,numArgs:a};return p}return i}isDefined(t){return this.macros.has(t)||on.hasOwnProperty(t)||Je.math.hasOwnProperty(t)||Je.text.hasOwnProperty(t)||Td.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:on.hasOwnProperty(t)&&!on[t].primitive}}var Kc=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,wa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),So={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Qc={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Cs{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Rb(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new ne("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Wt("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Cs.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&on[i.text]&&on[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,i=0;i<t.length;i++)if(t[i].type==="infix"){if(r!==-1)throw new ne("only one infix operator per group",t[i].token);r=i,n=t[i].replaceWith}if(r!==-1&&n){var a,s,l=t.slice(0,r),u=t.slice(r+1);l.length===1&&l[0].type==="ordgroup"?a=l[0]:a={type:"ordgroup",mode:this.mode,body:l},u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u};var c;return n==="\\\\abovefrac"?c=this.callFunction(n,[a,t[r],s],[]):c=this.callFunction(n,[a,s],[]),[c]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i;do{var a;i=this.parseGroup(t)}while(((a=i)==null?void 0:a.type)==="internal");if(!i)throw new ne("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new ne("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new ne("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new ne("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new ne("Double superscript",a);var l={type:"textord",mode:this.mode,text:"\\prime"},u=[l];for(this.consume();this.fetch().text==="'";)u.push(l),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(wa[a.text]){var c=Kc.test(a.text),p=[];for(p.push(new Wt(wa[a.text])),this.consume();;){var h=this.fetch().text;if(!wa[h]||Kc.test(h)!==c)break;p.unshift(new Wt(wa[h])),this.consume()}var m=this.subparse(p);c?i={type:"ordgroup",mode:"math",body:m}:n={type:"ordgroup",mode:"math",body:m}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(t,r){var n=this.fetch(),i=n.text,a=on[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new ne("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new ne("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new ne("Can't use function '"+i+"' in math mode",n);var{args:s,optArgs:l}=this.parseArguments(i,a);return this.callFunction(i,s,l,n,t)}callFunction(t,r,n,i,a){var s={funcName:t,parser:this,token:i,breakOnTokenText:a},l=on[t];if(l&&l.handler)return l.handler(s,r,n);throw new ne("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],s=0;s<n;s++){var l=r.argTypes&&r.argTypes[s],u=s<r.numOptionalArgs;(r.primitive&&l==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(l="primitive");var c=this.parseGroupOfType("argument to '"+t+"'",l,u);if(u)a.push(c);else if(c!=null)i.push(c);else throw new ne("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new ne("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new ne("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new ne("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(t,r){for(var n=this.fetch(),i=n,a="",s;(s=this.fetch()).text!=="EOF"&&t.test(a+s.text);)i=s,a+=i.text,this.consume();if(a==="")throw new ne("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new ne("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new ne("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!zf(a))throw new ne("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),s}parseGroup(t,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var s=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,s),u=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:Vt.range(n,u),body:l,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!Td.hasOwnProperty(i)){if(this.settings.throwOnError)throw new ne("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var i=t[n],a=i.text;a==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:Vt.range(i,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:Vt.range(i,t[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&t[n+1].text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:Vt.range(i,t[n+1]),text:a+a}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new ne(`\\verb assertion failed --
|
|
331
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Qc.hasOwnProperty(r[0])&&!Je[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Qc[r[0]]+r.slice(1));var a=Mb.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Je[this.mode][r]){this.settings.strict&&this.mode==="math"&&Qo.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var l=Je[this.mode][r].group,u=Vt.range(t),c;if(S7.hasOwnProperty(l)){var p=l;c={type:"atom",mode:this.mode,family:p,loc:u,text:r}}else c={type:l,mode:this.mode,loc:u,text:r};s=c}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Ff(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:Vt.range(t),text:r};else return null;if(this.consume(),a)for(var h=0;h<a[0].length;h++){var m=a[0][h];if(!So[m])throw new ne("Unknown accent ' "+m+"'",t);var d=So[m][this.mode]||So[m].text;if(!d)throw new ne("Accent "+m+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:Vt.range(t),label:d,isStretchy:!1,isShifty:!0,base:s}}return s}}Cs.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var ru=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Cs(t,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new ne("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new Wt("\\df@tag")])}]}return i},Id=function(t,r,n){r.textContent="";var i=nu(t,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Id=function(){throw new ne("KaTeX doesn't work in quirks mode.")});var Db=function(t,r){var n=nu(t,r).toMarkup();return n},Fb=function(t,r){var n=new zl(r);return ru(t,n)},Nd=function(t,r,n){if(n.throwOnError||!(t instanceof ne))throw t;var i=$.makeSpan(["katex-error"],[new ur(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},nu=function(t,r){var n=new zl(r);try{var i=ru(t,n);return G7(i,t,n)}catch(a){return Nd(a,t,n)}},zb=function(t,r){var n=new zl(r);try{var i=ru(t,n);return J7(i,t,n)}catch(a){return Nd(a,t,n)}},Ob="0.16.28",Vb={Span:Yi,Anchor:jl,SymbolNode:ur,SvgNode:Jr,PathNode:pn,LineNode:Ko},Zc={version:Ob,render:Id,renderToString:Db,ParseError:ne,SETTINGS_SCHEMA:Ta,__parse:Fb,__renderToDomTree:nu,__renderToHTMLTree:zb,__setFontMetrics:m7,__defineSymbol:x,__defineFunction:le,__defineMacro:I,__domTree:Vb};const jb={};function qb(e){const t=this,r=e||jb,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(jv(r)),a.push(Bv()),s.push(Lv(r))}const eh=/[#.]/g;function Hb(e,t){const r=e||"",n={};let i=0,a,s;for(;i<r.length;){eh.lastIndex=i;const l=eh.exec(r),u=r.slice(i,l?l.index:r.length);u&&(a?a==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:s=u,i+=u.length),l&&(a=l[0],i++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function Md(e,t,r){const n=r?Jb(r):void 0;function i(a,s,...l){let u;if(a==null){u={type:"root",children:[]};const c=s;l.unshift(c)}else{u=Hb(a,t);const c=u.tagName.toLowerCase(),p=n?n.get(c):void 0;if(u.tagName=p||c,Ub(s))l.unshift(s);else for(const[h,m]of Object.entries(s))$b(e,u.properties,h,m)}for(const c of l)il(u.children,c);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return i}function Ub(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const i=t[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const a=i;for(const s of a)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function $b(e,t,r,n){const i=ml(e,r);let a;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;a=n}else typeof n=="boolean"?a=n:typeof n=="string"?i.spaceSeparated?a=f0(n):i.commaSeparated?a=c0(n):i.commaOrSpaceSeparated?a=f0(c0(n).join(" ")):a=th(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?Gb(n):String(n);if(Array.isArray(a)){const s=[];for(const l of a)s.push(th(i,i.property,l));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function il(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)il(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?il(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function th(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Ti(r)===Ti(t)))return!0}return r}function Gb(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function Jb(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const Wb=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Xb=Md(gl,"div"),Yb=Md(Qn,"g",Wb),Co={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function Kb(e,t){return Pd(e,{})||{type:"root",children:[]}}function Pd(e,t){const r=Qb(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function Qb(e,t){switch(e.nodeType){case 1:return r8(e,t);case 3:return e8(e);case 8:return t8(e);case 9:return rh(e,t);case 10:return Zb();case 11:return rh(e,t);default:return}}function rh(e,t){return{type:"root",children:Bd(e,t)}}function Zb(){return{type:"doctype"}}function e8(e){return{type:"text",value:e.nodeValue||""}}function t8(e){return{type:"comment",value:e.nodeValue||""}}function r8(e,t){const r=e.namespaceURI,n=r===Co.svg?Yb:Xb,i=r===Co.html?e.tagName.toLowerCase():e.tagName,a=r===Co.html&&i==="template"?e.content:e,s=e.getAttributeNames(),l={};let u=-1;for(;++u<s.length;)l[s[u]]=e.getAttribute(s[u])||"";return n(i,l,Bd(a,t))}function Bd(e,t){const r=e.childNodes,n=[];let i=-1;for(;++i<r.length;){const a=Pd(r[i],t);a!==void 0&&n.push(a)}return n}new DOMParser;function n8(e,t){const r=i8(e);return Kb(r)}function i8(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const nh=(function(e,t,r){const n=Wi(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),In=(function(e){if(e==null)return o8;if(typeof e=="string")return s8(e);if(typeof e=="object")return a8(e);if(typeof e=="function")return iu(e);throw new Error("Expected function, string, or array as `test`")});function a8(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=In(e[r]);return iu(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function s8(e){return iu(t);function t(r){return r.tagName===e}}function iu(e){return t;function t(r,n,i){return!!(l8(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function o8(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function l8(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const ih=/\n/g,ah=/[\t ]+/g,al=In("br"),sh=In(g8),u8=In("p"),oh=In("tr"),c8=In(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",m8,x8]),Ld=In(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function h8(e,t){const r=t||{},n="children"in e?e.children:[],i=Ld(e),a=Fd(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...Dd(e,{breakBefore:!0,breakAfter:!0}));let l=-1;for(;++l<n.length;)s.push(...Rd(n[l],e,{whitespace:a,breakBefore:l?void 0:i,breakAfter:l<n.length-1?al(n[l+1]):i}));const u=[];let c;for(l=-1;++l<s.length;){const p=s[l];typeof p=="number"?c!==void 0&&p>c&&(c=p):p&&(c!==void 0&&c>-1&&u.push(`
|
|
332
|
+
`.repeat(c)||" "),c=-1,u.push(p))}return u.join("")}function Rd(e,t,r){return e.type==="element"?p8(e,t,r):e.type==="text"?r.whitespace==="normal"?Dd(e,r):f8(e):[]}function p8(e,t,r){const n=Fd(e,r),i=e.children||[];let a=-1,s=[];if(c8(e))return s;let l,u;for(al(e)||oh(e)&&nh(t,e,oh)?u=`
|
|
333
|
+
`:u8(e)?(l=2,u=2):Ld(e)&&(l=1,u=1);++a<i.length;)s=s.concat(Rd(i[a],e,{whitespace:n,breakBefore:a?void 0:l,breakAfter:a<i.length-1?al(i[a+1]):u}));return sh(e)&&nh(t,e,sh)&&s.push(" "),l&&s.unshift(l),u&&s.push(u),s}function Dd(e,t){const r=String(e.value),n=[],i=[];let a=0;for(;a<=r.length;){ih.lastIndex=a;const u=ih.exec(r),c=u&&"index"in u?u.index:r.length;n.push(d8(r.slice(a,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,c===r.length?t.breakAfter:!0)),a=c+1}let s=-1,l;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(i.push(n[s]),l=void 0):n[s]?(typeof l=="number"&&i.push(l),i.push(n[s]),l=0):(s===0||s===n.length-1)&&i.push(0);return i}function f8(e){return[String(e.value)]}function d8(e,t,r){const n=[];let i=0,a;for(;i<e.length;){ah.lastIndex=i;const s=ah.exec(e);a=s?s.index:e.length,!i&&!a&&s&&!t&&n.push(""),i!==a&&n.push(e.slice(i,a)),i=s?a+s[0].length:a}return i!==a&&!r&&n.push(""),n.join(" ")}function Fd(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function m8(e){return!!(e.properties||{}).hidden}function g8(e){return e.tagName==="td"||e.tagName==="th"}function x8(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const y8={},v8=[];function b8(e){const t=e||y8;return function(r,n){Pl(r,"element",function(i,a){const s=Array.isArray(i.properties.className)?i.properties.className:v8,l=s.includes("language-math"),u=s.includes("math-display"),c=s.includes("math-inline");let p=u;if(!l&&!u&&!c)return;let h=a[a.length-1],m=i;if(i.tagName==="code"&&l&&h&&h.type==="element"&&h.tagName==="pre"&&(m=h,h=a[a.length-2],p=!0),!h)return;const d=h8(m,{whitespace:"pre"});let b;try{b=Zc.renderToString(d,{...t,displayMode:p,throwOnError:!0})}catch(_){const S=_,A=S.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:S,place:i.position,ruleId:A,source:"rehype-katex"});try{b=Zc.renderToString(d,{...t,displayMode:p,strict:"ignore",throwOnError:!1})}catch{b=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(_)},children:[{type:"text",value:d}]}]}}typeof b=="string"&&(b=n8(b).children);const k=h.children.indexOf(m);return h.children.splice(k,1,...b),uf})}}const w8={class:"md-skeleton__paragraph"},k8={class:"md-skeleton__code"},S8={class:"md-skeleton__code-body"},C8={class:"md-skeleton__paragraph"},E8={class:"md-skeleton__paragraph"},_8=v.defineComponent({__name:"Skeleton",props:{active:{type:Boolean,default:!0}},setup(e){return(t,r)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["md-skeleton",{"md-skeleton--active":e.active}])},[r[1]||(r[1]=v.createElementVNode("div",{class:"md-skeleton__title"},null,-1)),v.createElementVNode("ul",w8,[(v.openBlock(),v.createElementBlock(v.Fragment,null,v.renderList(3,n=>v.createElementVNode("li",{key:`p1-${n}`})),64))]),v.createElementVNode("div",k8,[r[0]||(r[0]=v.createElementVNode("div",{class:"md-skeleton__code-header"},null,-1)),v.createElementVNode("div",S8,[v.createElementVNode("ul",C8,[(v.openBlock(),v.createElementBlock(v.Fragment,null,v.renderList(4,n=>v.createElementVNode("li",{key:`code-${n}`})),64))])])]),v.createElementVNode("ul",E8,[(v.openBlock(),v.createElementBlock(v.Fragment,null,v.renderList(3,n=>v.createElementVNode("li",{key:`p2-${n}`})),64))])],2))}}),je=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},zd=je(_8,[["__scopeId","data-v-cd35e69e"]]),A8=["src","alt"],T8={key:1,class:"md-image__fallback"},I8=v.defineComponent({__name:"Image",props:{src:{},alt:{},width:{},height:{},fit:{default:"cover"}},setup(e){const t=e,r=v.ref(!1),n=v.computed(()=>{const a={};return t.width&&(a.width=typeof t.width=="number"?`${t.width}px`:t.width),t.height&&(a.height=typeof t.height=="number"?`${t.height}px`:t.height),a}),i=v.computed(()=>({objectFit:t.fit,width:"100%",height:"100%"}));return(a,s)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["md-image",{"md-image--error":r.value}]),style:v.normalizeStyle(n.value)},[r.value?(v.openBlock(),v.createElementBlock("div",T8,[...s[2]||(s[2]=[v.createElementVNode("svg",{viewBox:"0 0 1024 1024",width:"48",height:"48"},[v.createElementVNode("path",{d:"M304.128 456.192c48.64 0 88.064-39.424 88.064-88.064s-39.424-88.064-88.064-88.064-88.064 39.424-88.064 88.064 39.424 88.064 88.064 88.064zm0-116.224c15.36 0 28.16 12.288 28.16 28.16s-12.288 28.16-28.16 28.16-28.16-12.288-28.16-28.16 12.288-28.16 28.16-28.16z",fill:"currentColor"}),v.createElementVNode("path",{d:"M887.296 159.744H136.704C96.768 159.744 64 192.512 64 232.448v559.104c0 39.936 32.768 72.704 72.704 72.704h750.592c39.936 0 72.704-32.768 72.704-72.704V232.448c0-39.936-32.768-72.704-72.704-72.704zm-748.544 71.68h748.544c0.512 0 0.512 0.512 0.512 0.512v346.624L778.24 469.504c-24.064-24.064-63.488-24.064-87.552 0L531.456 628.736 360.96 458.24c-24.064-24.064-63.488-24.064-87.552 0L135.68 596.48V232.448c0-0.512 0.512-0.512 1.024-0.512z",fill:"currentColor"})],-1)])])):(v.openBlock(),v.createElementBlock("img",{key:0,src:e.src,alt:e.alt,style:v.normalizeStyle(i.value),onLoad:s[0]||(s[0]=l=>r.value=!1),onError:s[1]||(s[1]=l=>r.value=!0)},null,44,A8))],6))}}),Od=je(I8,[["__scopeId","data-v-5e6ecdd7"]]);/**
|
|
334
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
335
|
+
*
|
|
336
|
+
* This source code is licensed under the ISC license.
|
|
337
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
338
|
+
*/const N8=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
|
|
339
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
340
|
+
*
|
|
341
|
+
* This source code is licensed under the ISC license.
|
|
342
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
343
|
+
*/const lh=e=>e==="";/**
|
|
344
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
345
|
+
*
|
|
346
|
+
* This source code is licensed under the ISC license.
|
|
347
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
348
|
+
*/const M8=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim();/**
|
|
349
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
350
|
+
*
|
|
351
|
+
* This source code is licensed under the ISC license.
|
|
352
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
353
|
+
*/const uh=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
354
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
355
|
+
*
|
|
356
|
+
* This source code is licensed under the ISC license.
|
|
357
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
358
|
+
*/const P8=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase());/**
|
|
359
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
360
|
+
*
|
|
361
|
+
* This source code is licensed under the ISC license.
|
|
362
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
363
|
+
*/const B8=e=>{const t=P8(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
|
|
364
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
365
|
+
*
|
|
366
|
+
* This source code is licensed under the ISC license.
|
|
367
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
368
|
+
*/var xi={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
|
369
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
370
|
+
*
|
|
371
|
+
* This source code is licensed under the ISC license.
|
|
372
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
373
|
+
*/const L8=({name:e,iconNode:t,absoluteStrokeWidth:r,"absolute-stroke-width":n,strokeWidth:i,"stroke-width":a,size:s=xi.width,color:l=xi.stroke,...u},{slots:c})=>v.h("svg",{...xi,...u,width:s,height:s,stroke:l,"stroke-width":lh(r)||lh(n)||r===!0||n===!0?Number(i||a||xi["stroke-width"])*24/Number(s):i||a||xi["stroke-width"],class:M8("lucide",u.class,...e?[`lucide-${uh(B8(e))}-icon`,`lucide-${uh(e)}`]:["lucide-icon"]),...!c.default&&!N8(u)&&{"aria-hidden":"true"}},[...t.map(p=>v.h(...p)),...c.default?[c.default()]:[]]);/**
|
|
374
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
375
|
+
*
|
|
376
|
+
* This source code is licensed under the ISC license.
|
|
377
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
378
|
+
*/const He=(e,t)=>(r,{slots:n,attrs:i})=>v.h(L8,{...i,...r,iconNode:t,name:e},n);/**
|
|
379
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
380
|
+
*
|
|
381
|
+
* This source code is licensed under the ISC license.
|
|
382
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
383
|
+
*/const R8=He("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
384
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
385
|
+
*
|
|
386
|
+
* This source code is licensed under the ISC license.
|
|
387
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
388
|
+
*/const D8=He("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
|
|
389
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
390
|
+
*
|
|
391
|
+
* This source code is licensed under the ISC license.
|
|
392
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
393
|
+
*/const F8=He("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
|
|
394
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
395
|
+
*
|
|
396
|
+
* This source code is licensed under the ISC license.
|
|
397
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
398
|
+
*/const z8=He("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
|
|
399
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
400
|
+
*
|
|
401
|
+
* This source code is licensed under the ISC license.
|
|
402
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
403
|
+
*/const O8=He("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);/**
|
|
404
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
405
|
+
*
|
|
406
|
+
* This source code is licensed under the ISC license.
|
|
407
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
408
|
+
*/const V8=He("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
|
|
409
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
410
|
+
*
|
|
411
|
+
* This source code is licensed under the ISC license.
|
|
412
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
413
|
+
*/const j8=He("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
414
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
415
|
+
*
|
|
416
|
+
* This source code is licensed under the ISC license.
|
|
417
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
418
|
+
*/const q8=He("code",[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]);/**
|
|
419
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
420
|
+
*
|
|
421
|
+
* This source code is licensed under the ISC license.
|
|
422
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
423
|
+
*/const H8=He("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
|
|
424
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
425
|
+
*
|
|
426
|
+
* This source code is licensed under the ISC license.
|
|
427
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
428
|
+
*/const U8=He("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);/**
|
|
429
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
430
|
+
*
|
|
431
|
+
* This source code is licensed under the ISC license.
|
|
432
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
433
|
+
*/const $8=He("expand",[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]]);/**
|
|
434
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
435
|
+
*
|
|
436
|
+
* This source code is licensed under the ISC license.
|
|
437
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
438
|
+
*/const G8=He("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
|
|
439
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
440
|
+
*
|
|
441
|
+
* This source code is licensed under the ISC license.
|
|
442
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
443
|
+
*/const J8=He("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);/**
|
|
444
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
445
|
+
*
|
|
446
|
+
* This source code is licensed under the ISC license.
|
|
447
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
448
|
+
*/const W8=He("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
449
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
450
|
+
*
|
|
451
|
+
* This source code is licensed under the ISC license.
|
|
452
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
453
|
+
*/const X8=He("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"}]]);/**
|
|
454
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
455
|
+
*
|
|
456
|
+
* This source code is licensed under the ISC license.
|
|
457
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
458
|
+
*/const Y8=He("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]);/**
|
|
459
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
460
|
+
*
|
|
461
|
+
* This source code is licensed under the ISC license.
|
|
462
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
463
|
+
*/const K8=He("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]);/**
|
|
464
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
465
|
+
*
|
|
466
|
+
* This source code is licensed under the ISC license.
|
|
467
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
468
|
+
*/const Q8=He("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);/**
|
|
469
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
470
|
+
*
|
|
471
|
+
* This source code is licensed under the ISC license.
|
|
472
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
473
|
+
*/const Z8=He("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
|
|
474
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
475
|
+
*
|
|
476
|
+
* This source code is licensed under the ISC license.
|
|
477
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
478
|
+
*/const e9=He("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
|
|
479
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
480
|
+
*
|
|
481
|
+
* This source code is licensed under the ISC license.
|
|
482
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
483
|
+
*/const t9=He("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
|
|
484
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
485
|
+
*
|
|
486
|
+
* This source code is licensed under the ISC license.
|
|
487
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
488
|
+
*/const r9=He("shrink",[["path",{d:"m15 15 6 6m-6-6v4.8m0-4.8h4.8",key:"17vawe"}],["path",{d:"M9 19.8V15m0 0H4.2M9 15l-6 6",key:"chjx8e"}],["path",{d:"M15 4.2V9m0 0h4.8M15 9l6-6",key:"lav6yq"}],["path",{d:"M9 4.2V9m0 0H4.2M9 9 3 3",key:"1pxi2q"}]]);/**
|
|
489
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
490
|
+
*
|
|
491
|
+
* This source code is licensed under the ISC license.
|
|
492
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
493
|
+
*/const n9=He("table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]]);/**
|
|
494
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
495
|
+
*
|
|
496
|
+
* This source code is licensed under the ISC license.
|
|
497
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
498
|
+
*/const i9=He("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
|
|
499
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
500
|
+
*
|
|
501
|
+
* This source code is licensed under the ISC license.
|
|
502
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
503
|
+
*/const ch=He("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
|
|
504
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
505
|
+
*
|
|
506
|
+
* This source code is licensed under the ISC license.
|
|
507
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
508
|
+
*/const a9=He("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);/**
|
|
509
|
+
* @license lucide-vue-next v0.563.0 - ISC
|
|
510
|
+
*
|
|
511
|
+
* This source code is licensed under the ISC license.
|
|
512
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
513
|
+
*/const s9=He("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]),o9=v.defineComponent({__name:"Icon",props:{name:{},size:{default:16},strokeWidth:{default:2}},setup(e){const t={copy:H8,check:R8,close:ch,x:ch,"chevron-right":z8,"chevron-down":D8,"chevron-up":F8,"chevrons-up-down":O8,expand:$8,shrink:r9,maximize:Y8,minimize:K8,"rotate-cw":t9,"rotate-ccw":e9,"zoom-in":a9,"zoom-out":s9,refresh:Z8,download:U8,"external-link":G8,success:j8,error:V8,warning:i9,info:W8,code:q8,table:n9,quote:Q8,image:J8,link:X8},r=e,n=v.computed(()=>t[r.name]);return(i,a)=>(v.openBlock(),v.createBlock(v.resolveDynamicComponent(n.value),{size:e.size,"stroke-width":e.strokeWidth,class:v.normalizeClass(["md-icon",`md-icon--${e.name}`])},null,8,["size","stroke-width","class"]))}}),vt=je(o9,[["__scopeId","data-v-9cffbe53"]]),l9={class:"md-image-preview__header"},u9={class:"md-image-preview__title"},c9={class:"md-image-preview__body"},h9=["src","alt"],p9={class:"md-image-preview__footer"},f9={class:"md-image-preview__footer-content"},d9=["disabled"],m9={class:"md-image-preview__zoom"},g9=["disabled"],x9=v.defineComponent({__name:"ImagePreview",props:{visible:{type:Boolean},src:{},title:{}},emits:["close"],setup(e,{emit:t}){const r=e,n=t,i=v.ref(1),a=v.ref(0),s=v.computed(()=>({transform:`scale(${i.value}) rotate(${a.value}deg)`,transition:"transform 0.2s ease"}));v.watch(()=>r.visible,b=>{b?(i.value=1,a.value=0,document.addEventListener("keydown",d)):document.removeEventListener("keydown",d)},{immediate:!0}),v.onUnmounted(()=>{document.removeEventListener("keydown",d)});function l(){n("close")}function u(){i.value<3&&(i.value=Math.min(3,i.value+.25))}function c(){i.value>.5&&(i.value=Math.max(.5,i.value-.25))}function p(){i.value=1,a.value=0}function h(){a.value=(a.value+90)%360}function m(b){b.preventDefault(),b.deltaY<0?u():c()}function d(b){b.key==="Escape"&&r.visible&&l()}return(b,k)=>(v.openBlock(),v.createBlock(v.Teleport,{to:"body"},[v.createVNode(v.Transition,{name:"md-preview"},{default:v.withCtx(()=>[e.visible?(v.openBlock(),v.createElementBlock("div",{key:0,class:"md-image-preview",onClick:v.withModifiers(l,["self"])},[v.createElementVNode("div",l9,[v.createElementVNode("span",u9,v.toDisplayString(e.title),1),v.createElementVNode("button",{class:"md-image-preview__close",onClick:l,title:"关闭"},[v.createVNode(vt,{name:"x",size:20})])]),v.createElementVNode("div",c9,[v.createElementVNode("img",{src:e.src,alt:e.title,style:v.normalizeStyle(s.value),onWheel:m,draggable:"false"},null,44,h9)]),v.createElementVNode("div",p9,[v.createElementVNode("div",f9,[v.createElementVNode("button",{onClick:c,title:"缩小",disabled:i.value<=.5},[v.createVNode(vt,{name:"zoom-out",size:18})],8,d9),v.createElementVNode("span",m9,v.toDisplayString(Math.round(i.value*100))+"%",1),v.createElementVNode("button",{onClick:u,title:"放大",disabled:i.value>=3},[v.createVNode(vt,{name:"zoom-in",size:18})],8,g9),k[0]||(k[0]=v.createElementVNode("div",{class:"md-image-preview__divider"},null,-1)),v.createElementVNode("button",{onClick:p,title:"重置"},[v.createVNode(vt,{name:"refresh",size:18})]),v.createElementVNode("button",{onClick:h,title:"旋转"},[v.createVNode(vt,{name:"rotate-cw",size:18})])])])])):v.createCommentVNode("",!0)]),_:1})]))}}),Vd=je(x9,[["__scopeId","data-v-c2b5f9bf"]]),y9={class:"md-toast__content"},v9={class:"md-toast__icon"},b9={key:0,viewBox:"0 0 24 24",fill:"currentColor"},w9={key:1,viewBox:"0 0 24 24",fill:"currentColor"},k9={key:2,viewBox:"0 0 24 24",fill:"currentColor"},S9={key:3,viewBox:"0 0 24 24",fill:"currentColor"},C9={class:"md-toast__text"},E9=v.defineComponent({__name:"Toast",setup(e,{expose:t}){const r=v.ref(!1),n=v.ref(""),i=v.ref("info");let a=null;const s=v.computed(()=>`md-toast--${i.value}`);function l(c,p="info",h=3e3){a&&clearTimeout(a),n.value=c,i.value=p,r.value=!0,a=setTimeout(()=>{r.value=!1},h)}function u(){r.value=!1,a&&clearTimeout(a)}return t({show:l,hide:u}),(c,p)=>(v.openBlock(),v.createBlock(v.Teleport,{to:"body"},[v.createVNode(v.Transition,{name:"md-toast"},{default:v.withCtx(()=>[r.value?(v.openBlock(),v.createElementBlock("div",{key:0,class:v.normalizeClass(["md-toast",s.value])},[v.createElementVNode("div",y9,[v.createElementVNode("span",v9,[i.value==="success"?(v.openBlock(),v.createElementBlock("svg",b9,[...p[0]||(p[0]=[v.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"},null,-1)])])):i.value==="warning"?(v.openBlock(),v.createElementBlock("svg",w9,[...p[1]||(p[1]=[v.createElementVNode("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"},null,-1)])])):i.value==="error"?(v.openBlock(),v.createElementBlock("svg",k9,[...p[2]||(p[2]=[v.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"},null,-1)])])):(v.openBlock(),v.createElementBlock("svg",S9,[...p[3]||(p[3]=[v.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},null,-1)])]))]),v.createElementVNode("span",C9,v.toDisplayString(n.value),1)])],2)):v.createCommentVNode("",!0)]),_:1})]))}}),jd=je(E9,[["__scopeId","data-v-49ed3e1d"]]),_9=v.defineComponent({__name:"Collapsible",props:{isOpen:{type:Boolean,default:!1},duration:{default:250},keepDOM:{type:Boolean,default:!1},collapseHeight:{default:0}},emits:["motionEnd"],setup(e,{emit:t}){const r=e,n=t,i=v.ref(),a=v.ref(0),s=v.ref(!1),l=v.ref(r.isOpen),u=v.ref(!1);let c=null;v.onMounted(()=>{i.value&&(a.value=i.value.scrollHeight,c=new ResizeObserver(d=>{const b=d[0];b&&(a.value=b.target.scrollHeight)}),c.observe(i.value))}),v.onUnmounted(()=>{c==null||c.disconnect()});const p=v.computed(()=>({height:`${r.isOpen?a.value:r.collapseHeight}px`,transitionDuration:s.value?`${r.duration}ms`:"0ms"})),h=v.computed(()=>r.keepDOM&&u.value||r.collapseHeight>0?!0:l.value||r.isOpen);v.watch(()=>r.isOpen,(d,b)=>{d!==b&&(s.value=!0,d&&(l.value=!0),v.nextTick(()=>{i.value&&(a.value=i.value.scrollHeight)}))}),v.watch(h,d=>{d&&!u.value&&(u.value=!0)});function m(){s.value=!1,r.isOpen||(l.value=!1),n("motionEnd")}return(d,b)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["md-collapsible",{"md-collapsible--transitioning":s.value}]),style:v.normalizeStyle(p.value),onTransitionend:m},[v.createElementVNode("div",{ref_key:"contentRef",ref:i,class:"md-collapsible__content"},[h.value?v.renderSlot(d.$slots,"default",{key:0},void 0,!0):v.createCommentVNode("",!0)],512)],38))}}),qd=je(_9,[["__scopeId","data-v-28dd3c2f"]]),A9=["tabindex","aria-expanded","onKeydown"],T9={key:0,class:"md-collapse-section__icon"},I9={class:"md-collapse-section__title"},N9={key:1,class:"md-collapse-section__extra"},M9={class:"md-collapse-section__content"},P9=v.defineComponent({__name:"CollapseSection",props:{title:{},defaultExpanded:{type:Boolean,default:!0},expanded:{type:Boolean},duration:{default:250},showIcon:{type:Boolean,default:!0},clickable:{type:Boolean,default:!0},keepDOM:{type:Boolean,default:!1},collapseHeight:{default:0},expandText:{default:"展开更多"}},emits:["update:expanded","change","motionEnd"],setup(e,{emit:t}){const r=e,n=t,i=v.ref(r.expanded??r.defaultExpanded);v.watch(()=>r.expanded,s=>{s!==void 0&&(i.value=s)});function a(){if(!r.clickable&&r.collapseHeight===0)return;const s=!i.value;r.expanded===void 0&&(i.value=s),n("update:expanded",s),n("change",s)}return(s,l)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["md-collapse-section",{"md-collapse-section--expanded":i.value}])},[v.createElementVNode("div",{class:v.normalizeClass(["md-collapse-section__header",{"md-collapse-section__header--clickable":e.clickable}]),role:"button",tabindex:e.clickable?0:-1,"aria-expanded":i.value,onClick:a,onKeydown:[v.withKeys(a,["enter"]),v.withKeys(v.withModifiers(a,["prevent"]),["space"])]},[e.showIcon?(v.openBlock(),v.createElementBlock("span",T9,[v.createVNode(vt,{name:i.value?"chevron-down":"chevron-right",size:16},null,8,["name"])])):v.createCommentVNode("",!0),v.createElementVNode("div",I9,[v.renderSlot(s.$slots,"header",{},()=>[v.createTextVNode(v.toDisplayString(e.title),1)],!0)]),s.$slots.extra?(v.openBlock(),v.createElementBlock("div",N9,[v.renderSlot(s.$slots,"extra",{},void 0,!0)])):v.createCommentVNode("",!0)],42,A9),v.createVNode(qd,{isOpen:i.value,duration:e.duration,keepDOM:e.keepDOM,collapseHeight:e.collapseHeight,onMotionEnd:l[0]||(l[0]=u=>s.$emit("motionEnd"))},{default:v.withCtx(()=>[v.createElementVNode("div",M9,[v.renderSlot(s.$slots,"default",{},void 0,!0)])]),_:3},8,["isOpen","duration","keepDOM","collapseHeight"]),e.collapseHeight>0&&!i.value?(v.openBlock(),v.createElementBlock("div",{key:0,class:"md-collapse-section__expand-btn",onClick:a},[v.createElementVNode("span",null,v.toDisplayString(e.expandText),1),v.createVNode(vt,{name:"chevron-down",size:16})])):v.createCommentVNode("",!0)],2))}}),B9=je(P9,[["__scopeId","data-v-d488c87c"]]),L9={class:"md-tooltip__content"},R9={key:0,class:"md-tooltip__arrow"},D9=v.defineComponent({__name:"Tooltip",props:{content:{},position:{default:"top"},trigger:{default:"hover"},showArrow:{type:Boolean,default:!0},theme:{default:"dark"},mouseEnterDelay:{default:100},mouseLeaveDelay:{default:100},disabled:{type:Boolean,default:!1}},setup(e){const t=e,r=v.ref(),n=v.ref(),i=v.ref(!1),a=v.ref({top:0,left:0});let s=null,l=null;const u=v.computed(()=>({top:`${a.value.top}px`,left:`${a.value.left}px`}));function c(){if(!r.value||!n.value)return;const _=r.value.getBoundingClientRect(),S=n.value.getBoundingClientRect(),A=8;let N=0,F=0;switch(t.position){case"top":N=_.top+window.scrollY-S.height-A,F=_.left+window.scrollX+(_.width-S.width)/2;break;case"bottom":N=_.bottom+window.scrollY+A,F=_.left+window.scrollX+(_.width-S.width)/2;break;case"left":N=_.top+window.scrollY+(_.height-S.height)/2,F=_.left+window.scrollX-S.width-A;break;case"right":N=_.top+window.scrollY+(_.height-S.height)/2,F=_.right+window.scrollX+A;break}a.value={top:N,left:F}}function p(){t.disabled||(l&&(clearTimeout(l),l=null),s=setTimeout(()=>{i.value=!0},t.mouseEnterDelay))}function h(){s&&(clearTimeout(s),s=null),l=setTimeout(()=>{i.value=!1},t.mouseLeaveDelay)}function m(){(t.trigger==="hover"||t.trigger==="both")&&p()}function d(){(t.trigger==="hover"||t.trigger==="both")&&h()}function b(){(t.trigger==="focus"||t.trigger==="both")&&p()}function k(){(t.trigger==="focus"||t.trigger==="both")&&h()}return v.watch(i,_=>{_&&v.nextTick(c)}),v.onUnmounted(()=>{s&&clearTimeout(s),l&&clearTimeout(l)}),(_,S)=>(v.openBlock(),v.createElementBlock(v.Fragment,null,[v.createElementVNode("span",{ref_key:"triggerRef",ref:r,class:"md-tooltip-trigger",onMouseenter:m,onMouseleave:d,onFocus:b,onBlur:k},[v.renderSlot(_.$slots,"default",{},void 0,!0)],544),(v.openBlock(),v.createBlock(v.Teleport,{to:"body"},[v.createVNode(v.Transition,{name:"md-tooltip"},{default:v.withCtx(()=>[i.value?(v.openBlock(),v.createElementBlock("div",{key:0,ref_key:"tooltipRef",ref:n,class:v.normalizeClass(["md-tooltip",[`md-tooltip--${e.position}`,{"md-tooltip--dark":e.theme==="dark"}]]),style:v.normalizeStyle(u.value),role:"tooltip"},[v.createElementVNode("div",L9,v.toDisplayString(e.content),1),e.showArrow?(v.openBlock(),v.createElementBlock("div",R9)):v.createCommentVNode("",!0)],6)):v.createCommentVNode("",!0)]),_:1})]))],64))}}),Hd=je(D9,[["__scopeId","data-v-49249e76"]]);function Gn(e){if(!e)return"";if(typeof e=="string")return e;if(typeof e=="number")return String(e);if(Array.isArray(e))return e.map(Gn).join("");if(e.children){if(typeof e.children=="string")return e.children;if(Array.isArray(e.children))return e.children.map(Gn).join("");if(typeof e.children=="object"&&"default"in e.children){const t=e.children.default;if(typeof t=="function")return Gn(t())}}return""}function Wa(e){var r,n;if(!e)return"text";if(Array.isArray(e)){for(const i of e){const a=Wa(i);if(a!=="text")return a}return"text"}const t=((r=e.props)==null?void 0:r.className)||((n=e.props)==null?void 0:n.class)||"";if(typeof t=="string"){const i=t.match(/language-(\w+)/);if(i)return i[1]}if(e.children&&Array.isArray(e.children))for(const i of e.children){const a=Wa(i);if(a!=="text")return a}return"text"}const Ud={js:"javascript",ts:"typescript",py:"python",rb:"ruby",sh:"bash",zsh:"bash",yml:"yaml",md:"markdown",text:"text",txt:"text"};function $d(e){const t=e.toLowerCase();return Ud[t]||t}function Gd(e){const t=e.split(`
|
|
514
|
+
`);for(;t.length&&!t[0].trim();)t.shift();for(;t.length&&!t[t.length-1].trim();)t.pop();return t.join(`
|
|
515
|
+
`)}async function Es(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}let yt=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function F9(e){return au(e)}function au(e){return Array.isArray(e)?z9(e):e instanceof RegExp?e:typeof e=="object"?O9(e):e}function z9(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=au(e[r]);return t}function O9(e){let t={};for(let r in e)t[r]=au(e[r]);return t}function Jd(e,...t){return t.forEach(r=>{for(let n in r)e[n]=r[n]}),e}function Wd(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Wd(e.substring(0,e.length-1)):e.substr(~t+1)}var Eo=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,ka=class{static hasCaptures(e){return e===null?!1:(Eo.lastIndex=0,Eo.test(e))}static replaceCaptures(e,t,r){return e.replace(Eo,(n,i,a,s)=>{let l=r[parseInt(i||a,10)];if(l){let u=t.substring(l.start,l.end);for(;u[0]===".";)u=u.substring(1);switch(s){case"downcase":return u.toLowerCase();case"upcase":return u.toUpperCase();default:return u}}else return n})}};function Xd(e,t){return e<t?-1:e>t?1:0}function Yd(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let i=0;i<r;i++){let a=Xd(e[i],t[i]);if(a!==0)return a}return 0}return r-n}function hh(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Kd(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var Qd=class{constructor(e){K(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Xa=class{constructor(e,t,r){K(this,"_cachedMatchRoot",new Qd(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(q9(e),t)}static createFromParsedTheme(e,t){return U9(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,n=this._cachedMatchRoot.get(t).find(i=>V9(e.parent,i.parentScopes));return n?new Zd(n.fontStyle,n.foreground,n.background):null}},_o=class Na{constructor(t,r){this.parent=t,this.scopeName=r}static push(t,r){for(const n of r)t=new Na(t,n);return t}static from(...t){let r=null;for(let n=0;n<t.length;n++)r=new Na(r,t[n]);return r}push(t){return new Na(this,t)}getSegments(){let t=this;const r=[];for(;t;)r.push(t.scopeName),t=t.parent;return r.reverse(),r}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const r=[];let n=this;for(;n&&n!==t;)r.push(n.scopeName),n=n.parent;return n===t?r.reverse():void 0}};function V9(e,t){if(t.length===0)return!0;for(let r=0;r<t.length;r++){let n=t[r],i=!1;if(n===">"){if(r===t.length-1)return!1;n=t[++r],i=!0}for(;e&&!j9(e.scopeName,n);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function j9(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var Zd=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}};function q9(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=0;for(let i=0,a=t.length;i<a;i++){let s=t[i];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let h=s.scope;h=h.replace(/^[,]+/,""),h=h.replace(/[,]+$/,""),l=h.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let u=-1;if(typeof s.settings.fontStyle=="string"){u=0;let h=s.settings.fontStyle.split(" ");for(let m=0,d=h.length;m<d;m++)switch(h[m]){case"italic":u=u|1;break;case"bold":u=u|2;break;case"underline":u=u|4;break;case"strikethrough":u=u|8;break}}let c=null;typeof s.settings.foreground=="string"&&hh(s.settings.foreground)&&(c=s.settings.foreground);let p=null;typeof s.settings.background=="string"&&hh(s.settings.background)&&(p=s.settings.background);for(let h=0,m=l.length;h<m;h++){let b=l[h].trim().split(" "),k=b[b.length-1],_=null;b.length>1&&(_=b.slice(0,b.length-1),_.reverse()),r[n++]=new H9(k,_,i,u,c,p)}}return r}var H9=class{constructor(e,t,r,n,i,a){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=i,this.background=a}},At=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(At||{});function U9(e,t){e.sort((u,c)=>{let p=Xd(u.scope,c.scope);return p!==0||(p=Yd(u.parentScopes,c.parentScopes),p!==0)?p:u.index-c.index});let r=0,n="#000000",i="#ffffff";for(;e.length>=1&&e[0].scope==="";){let u=e.shift();u.fontStyle!==-1&&(r=u.fontStyle),u.foreground!==null&&(n=u.foreground),u.background!==null&&(i=u.background)}let a=new $9(t),s=new Zd(r,a.getId(n),a.getId(i)),l=new J9(new sl(0,null,-1,0,0),[]);for(let u=0,c=e.length;u<c;u++){let p=e[u];l.insert(0,p.scope,p.parentScopes,p.fontStyle,a.getId(p.foreground),a.getId(p.background))}return new Xa(a,s,l)}var $9=class{constructor(e){K(this,"_isFrozen");K(this,"_lastColorId");K(this,"_id2color");K(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,r=e.length;t<r;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},G9=Object.freeze([]),sl=class em{constructor(t,r,n,i,a){K(this,"scopeDepth");K(this,"parentScopes");K(this,"fontStyle");K(this,"foreground");K(this,"background");this.scopeDepth=t,this.parentScopes=r||G9,this.fontStyle=n,this.foreground=i,this.background=a}clone(){return new em(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let r=[];for(let n=0,i=t.length;n<i;n++)r[n]=t[n].clone();return r}acceptOverwrite(t,r,n,i){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,r!==-1&&(this.fontStyle=r),n!==0&&(this.foreground=n),i!==0&&(this.background=i)}},J9=class ol{constructor(t,r=[],n={}){K(this,"_rulesWithParentScopes");this._mainRule=t,this._children=n,this._rulesWithParentScopes=r}static _cmpBySpecificity(t,r){if(t.scopeDepth!==r.scopeDepth)return r.scopeDepth-t.scopeDepth;let n=0,i=0;for(;t.parentScopes[n]===">"&&n++,r.parentScopes[i]===">"&&i++,!(n>=t.parentScopes.length||i>=r.parentScopes.length);){const a=r.parentScopes[i].length-t.parentScopes[n].length;if(a!==0)return a;n++,i++}return r.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let n=t.indexOf("."),i,a;if(n===-1?(i=t,a=""):(i=t.substring(0,n),a=t.substring(n+1)),this._children.hasOwnProperty(i))return this._children[i].match(a)}const r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(ol._cmpBySpecificity),r}insert(t,r,n,i,a,s){if(r===""){this._doInsertHere(t,n,i,a,s);return}let l=r.indexOf("."),u,c;l===-1?(u=r,c=""):(u=r.substring(0,l),c=r.substring(l+1));let p;this._children.hasOwnProperty(u)?p=this._children[u]:(p=new ol(this._mainRule.clone(),sl.cloneArr(this._rulesWithParentScopes)),this._children[u]=p),p.insert(t+1,c,n,i,a,s)}_doInsertHere(t,r,n,i,a){if(r===null){this._mainRule.acceptOverwrite(t,n,i,a);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let u=this._rulesWithParentScopes[s];if(Yd(u.parentScopes,r)===0){u.acceptOverwrite(t,n,i,a);return}}n===-1&&(n=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),a===0&&(a=this._mainRule.background),this._rulesWithParentScopes.push(new sl(t,r,n,i,a))}},Yn=class nr{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const r=nr.getLanguageId(t),n=nr.getTokenType(t),i=nr.getFontStyle(t),a=nr.getForeground(t),s=nr.getBackground(t);console.log({languageId:r,tokenType:n,fontStyle:i,foreground:a,background:s})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,r,n,i,a,s,l){let u=nr.getLanguageId(t),c=nr.getTokenType(t),p=nr.containsBalancedBrackets(t)?1:0,h=nr.getFontStyle(t),m=nr.getForeground(t),d=nr.getBackground(t);return r!==0&&(u=r),n!==8&&(c=n),i!==null&&(p=i?1:0),a!==-1&&(h=a),s!==0&&(m=s),l!==0&&(d=l),(u<<0|c<<8|p<<10|h<<11|m<<15|d<<24)>>>0}};function Ya(e,t){const r=[],n=W9(e);let i=n.next();for(;i!==null;){let u=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":u=1;break;case"L":u=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=n.next()}let c=s();if(r.push({matcher:c,priority:u}),i!==",")break;i=n.next()}return r;function a(){if(i==="-"){i=n.next();const u=a();return c=>!!u&&!u(c)}if(i==="("){i=n.next();const u=l();return i===")"&&(i=n.next()),u}if(ph(i)){const u=[];do u.push(i),i=n.next();while(ph(i));return c=>t(u,c)}return null}function s(){const u=[];let c=a();for(;c;)u.push(c),c=a();return p=>u.every(h=>h(p))}function l(){const u=[];let c=s();for(;c&&(u.push(c),i==="|"||i===",");){do i=n.next();while(i==="|"||i===",");c=s()}return p=>u.some(h=>h(p))}}function ph(e){return!!e&&!!e.match(/[\w\.:]+/)}function W9(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,r=t.exec(e);return{next:()=>{if(!r)return null;const n=r[0];return r=t.exec(e),n}}}function tm(e){typeof e.dispose=="function"&&e.dispose()}var Ri=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},X9=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},Y9=class{constructor(){K(this,"_references",[]);K(this,"_seenReferenceKeys",new Set);K(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},K9=class{constructor(e,t){K(this,"seenFullScopeRequests",new Set);K(this,"seenPartialScopeRequests",new Set);K(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Ri(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new Y9;for(const r of e)Q9(r,this.initialScopeName,this.repo,t);for(const r of t.references)if(r instanceof Ri){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}};function Q9(e,t,r,n){const i=r.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const a=r.lookup(t);e instanceof Ri?Ma({baseGrammar:a,selfGrammar:i},n):ll(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},n);const s=r.injections(e.scopeName);if(s)for(const l of s)n.add(new Ri(l))}function ll(e,t,r){if(t.repository&&t.repository[e]){const n=t.repository[e];Ka([n],t,r)}}function Ma(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Ka(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Ka(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Ka(e,t,r){for(const n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const i=n.repository?Jd({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&Ka(n.patterns,{...t,repository:i},r);const a=n.include;if(!a)continue;const s=rm(a);switch(s.kind){case 0:Ma({...t,selfGrammar:t.baseGrammar},r);break;case 1:Ma(t,r);break;case 2:ll(s.ruleName,{...t,repository:i},r);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const u={baseGrammar:t.baseGrammar,selfGrammar:l,repository:i};s.kind===4?ll(s.ruleName,u,r):Ma(u,r)}else s.kind===4?r.add(new X9(s.scopeName,s.ruleName)):r.add(new Ri(s.scopeName));break}}}var Z9=class{constructor(){K(this,"kind",0)}},ew=class{constructor(){K(this,"kind",1)}},tw=class{constructor(e){K(this,"kind",2);this.ruleName=e}},rw=class{constructor(e){K(this,"kind",3);this.scopeName=e}},nw=class{constructor(e,t){K(this,"kind",4);this.scopeName=e,this.ruleName=t}};function rm(e){if(e==="$base")return new Z9;if(e==="$self")return new ew;const t=e.indexOf("#");if(t===-1)return new rw(e);if(t===0)return new tw(e.substring(1));{const r=e.substring(0,t),n=e.substring(t+1);return new nw(r,n)}}var iw=/\\(\d+)/,fh=/\\(\d+)/g,aw=-1,nm=-2;var Qi=class{constructor(e,t,r,n){K(this,"$location");K(this,"id");K(this,"_nameIsCapturing");K(this,"_name");K(this,"_contentNameIsCapturing");K(this,"_contentName");this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=ka.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=ka.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Wd(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:ka.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:ka.replaceCaptures(this._contentName,e,t)}},sw=class extends Qi{constructor(t,r,n,i,a){super(t,r,n,i);K(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(t,r){throw new Error("Not supported!")}compile(t,r){throw new Error("Not supported!")}compileAG(t,r,n,i){throw new Error("Not supported!")}},ow=class extends Qi{constructor(t,r,n,i,a){super(t,r,n,null);K(this,"_match");K(this,"captures");K(this,"_cachedCompiledPatterns");this._match=new Di(i,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,r){r.push(this._match)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t).compileAG(t,n,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Fi,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},dh=class extends Qi{constructor(t,r,n,i,a){super(t,r,n,i);K(this,"hasMissingPatterns");K(this,"patterns");K(this,"_cachedCompiledPatterns");this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,r){for(const n of this.patterns)t.getRule(n).collectPatterns(t,r)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t).compileAG(t,n,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Fi,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ul=class extends Qi{constructor(t,r,n,i,a,s,l,u,c,p){super(t,r,n,i);K(this,"_begin");K(this,"beginCaptures");K(this,"_end");K(this,"endHasBackReferences");K(this,"endCaptures");K(this,"applyEndPatternLast");K(this,"hasMissingPatterns");K(this,"patterns");K(this,"_cachedCompiledPatterns");this._begin=new Di(a,this.id),this.beginCaptures=s,this._end=new Di(l||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=c||!1,this.patterns=p.patterns,this.hasMissingPatterns=p.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,r){return this._end.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t,r).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t,r).compileAG(t,n,i)}_getCachedCompiledPatterns(t,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Fi;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}},Qa=class extends Qi{constructor(t,r,n,i,a,s,l,u,c){super(t,r,n,i);K(this,"_begin");K(this,"beginCaptures");K(this,"whileCaptures");K(this,"_while");K(this,"whileHasBackReferences");K(this,"hasMissingPatterns");K(this,"patterns");K(this,"_cachedCompiledPatterns");K(this,"_cachedCompiledWhilePatterns");this._begin=new Di(a,this.id),this.beginCaptures=s,this.whileCaptures=u,this._while=new Di(l,nm),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,r){return this._while.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,i){return this._getCachedCompiledPatterns(t).compileAG(t,n,i)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Fi;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,r){return this._getCachedCompiledWhilePatterns(t,r).compile(t)}compileWhileAG(t,r,n,i){return this._getCachedCompiledWhilePatterns(t,r).compileAG(t,n,i)}_getCachedCompiledWhilePatterns(t,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Fi,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}},im=class Ct{static createCaptureRule(t,r,n,i,a){return t.registerRule(s=>new sw(r,s,n,i,a))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(i=>{if(t.id=i,t.match)return new ow(t.$vscodeTextmateLocation,t.id,t.name,t.match,Ct._compileCaptures(t.captures,r,n));if(typeof t.begin>"u"){t.repository&&(n=Jd({},n,t.repository));let a=t.patterns;return typeof a>"u"&&t.include&&(a=[{include:t.include}]),new dh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Ct._compilePatterns(a,r,n))}return t.while?new Qa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ct._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,Ct._compileCaptures(t.whileCaptures||t.captures,r,n),Ct._compilePatterns(t.patterns,r,n)):new ul(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ct._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,Ct._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,Ct._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){let i=[];if(t){let a=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>a&&(a=l)}for(let s=0;s<=a;s++)i[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let u=0;t[s].patterns&&(u=Ct.getCompiledRuleId(t[s],r,n)),i[l]=Ct.createCaptureRule(r,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,u)}}return i}static _compilePatterns(t,r,n){let i=[];if(t)for(let a=0,s=t.length;a<s;a++){const l=t[a];let u=-1;if(l.include){const c=rm(l.include);switch(c.kind){case 0:case 1:u=Ct.getCompiledRuleId(n[l.include],r,n);break;case 2:let p=n[c.ruleName];p&&(u=Ct.getCompiledRuleId(p,r,n));break;case 3:case 4:const h=c.scopeName,m=c.kind===4?c.ruleName:null,d=r.getExternalGrammar(h,n);if(d)if(m){let b=d.repository[m];b&&(u=Ct.getCompiledRuleId(b,r,d.repository))}else u=Ct.getCompiledRuleId(d.repository.$self,r,d.repository);break}}else u=Ct.getCompiledRuleId(l,r,n);if(u!==-1){const c=r.getRule(u);let p=!1;if((c instanceof dh||c instanceof ul||c instanceof Qa)&&c.hasMissingPatterns&&c.patterns.length===0&&(p=!0),p)continue;i.push(u)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},Di=class am{constructor(t,r){K(this,"source");K(this,"ruleId");K(this,"hasAnchor");K(this,"hasBackReferences");K(this,"_anchorCache");if(t&&typeof t=="string"){const n=t.length;let i=0,a=[],s=!1;for(let l=0;l<n;l++)if(t.charAt(l)==="\\"&&l+1<n){const c=t.charAt(l+1);c==="z"?(a.push(t.substring(i,l)),a.push("$(?!\\n)(?<!\\n)"),i=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,i===0?this.source=t:(a.push(t.substring(i,n)),this.source=a.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=r,typeof this.source=="string"?this.hasBackReferences=iw.test(this.source):this.hasBackReferences=!1}clone(){return new am(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,r){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let n=r.map(i=>t.substring(i.start,i.end));return fh.lastIndex=0,this.source.replace(fh,(i,a)=>Kd(n[parseInt(a,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],r=[],n=[],i=[],a,s,l,u;for(a=0,s=this.source.length;a<s;a++)l=this.source.charAt(a),t[a]=l,r[a]=l,n[a]=l,i[a]=l,l==="\\"&&a+1<s&&(u=this.source.charAt(a+1),u==="A"?(t[a+1]="",r[a+1]="",n[a+1]="A",i[a+1]="A"):u==="G"?(t[a+1]="",r[a+1]="G",n[a+1]="",i[a+1]="G"):(t[a+1]=u,r[a+1]=u,n[a+1]=u,i[a+1]=u),a++);return{A0_G0:t.join(""),A0_G1:r.join(""),A1_G0:n.join(""),A1_G1:i.join("")}}resolveAnchors(t,r){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?r?this._anchorCache.A1_G1:this._anchorCache.A1_G0:r?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},Fi=class{constructor(){K(this,"_items");K(this,"_hasAnchors");K(this,"_cached");K(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(r=>r.source);this._cached=new mh(e,t,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,t,r){return this._hasAnchors?t?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,r){let n=this._items.map(i=>i.resolveAnchors(t,r));return new mh(e,n,this._items.map(i=>i.ruleId))}},mh=class{constructor(e,t,r){K(this,"scanner");this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,r=this.rules.length;t<r;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
516
|
+
`)}findNextMatchSync(e,t,r){const n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}},Ao=class{constructor(e,t){this.languageId=e,this.tokenType=t}},jr,lw=(jr=class{constructor(t,r){K(this,"_defaultAttributes");K(this,"_embeddedLanguagesMatcher");K(this,"_getBasicScopeAttributes",new Qd(t=>{const r=this._scopeToLanguage(t),n=this._toStandardTokenType(t);return new Ao(r,n)}));this._defaultAttributes=new Ao(t,8),this._embeddedLanguagesMatcher=new uw(Object.entries(r||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?jr._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const r=t.match(jr.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},K(jr,"_NULL_SCOPE_METADATA",new Ao(0,0)),K(jr,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),jr),uw=class{constructor(e){K(this,"values");K(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([r,n])=>Kd(r));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var gh=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function sm(e,t,r,n,i,a,s,l){const u=t.content.length;let c=!1,p=-1;if(s){const d=cw(e,t,r,n,i,a);i=d.stack,n=d.linePos,r=d.isFirstLine,p=d.anchorPosition}const h=Date.now();for(;!c;){if(l!==0&&Date.now()-h>l)return new gh(i,!0);m()}return new gh(i,!1);function m(){const d=hw(e,t,r,n,i,p);if(!d){a.produce(i,u),c=!0;return}const b=d.captureIndices,k=d.matchedRuleId,_=b&&b.length>0?b[0].end>n:!1;if(k===aw){const S=i.getRule(e);a.produce(i,b[0].start),i=i.withContentNameScopesList(i.nameScopesList),wi(e,t,r,i,a,S.endCaptures,b),a.produce(i,b[0].end);const A=i;if(i=i.parent,p=A.getAnchorPos(),!_&&A.getEnterPos()===n){i=A,a.produce(i,u),c=!0;return}}else{const S=e.getRule(k);a.produce(i,b[0].start);const A=i,N=S.getName(t.content,b),F=i.contentNameScopesList.pushAttributed(N,e);if(i=i.push(k,n,p,b[0].end===u,null,F,F),S instanceof ul){const P=S;wi(e,t,r,i,a,P.beginCaptures,b),a.produce(i,b[0].end),p=b[0].end;const g=P.getContentName(t.content,b),M=F.pushAttributed(g,e);if(i=i.withContentNameScopesList(M),P.endHasBackReferences&&(i=i.withEndRule(P.getEndWithResolvedBackReferences(t.content,b))),!_&&A.hasSameRuleAs(i)){i=i.pop(),a.produce(i,u),c=!0;return}}else if(S instanceof Qa){const P=S;wi(e,t,r,i,a,P.beginCaptures,b),a.produce(i,b[0].end),p=b[0].end;const g=P.getContentName(t.content,b),M=F.pushAttributed(g,e);if(i=i.withContentNameScopesList(M),P.whileHasBackReferences&&(i=i.withEndRule(P.getWhileWithResolvedBackReferences(t.content,b))),!_&&A.hasSameRuleAs(i)){i=i.pop(),a.produce(i,u),c=!0;return}}else if(wi(e,t,r,i,a,S.captures,b),a.produce(i,b[0].end),i=i.pop(),!_){i=i.safePop(),a.produce(i,u),c=!0;return}}b[0].end>n&&(n=b[0].end,r=!1)}}function cw(e,t,r,n,i,a){let s=i.beginRuleCapturedEOL?0:-1;const l=[];for(let u=i;u;u=u.pop()){const c=u.getRule(e);c instanceof Qa&&l.push({rule:c,stack:u})}for(let u=l.pop();u;u=l.pop()){const{ruleScanner:c,findOptions:p}=dw(u.rule,e,u.stack.endRule,r,n===s),h=c.findNextMatchSync(t,n,p);if(h){if(h.ruleId!==nm){i=u.stack.pop();break}h.captureIndices&&h.captureIndices.length&&(a.produce(u.stack,h.captureIndices[0].start),wi(e,t,r,u.stack,a,u.rule.whileCaptures,h.captureIndices),a.produce(u.stack,h.captureIndices[0].end),s=h.captureIndices[0].end,h.captureIndices[0].end>n&&(n=h.captureIndices[0].end,r=!1))}else{i=u.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:s,isFirstLine:r}}function hw(e,t,r,n,i,a){const s=pw(e,t,r,n,i,a),l=e.getInjections();if(l.length===0)return s;const u=fw(l,e,t,r,n,i,a);if(!u)return s;if(!s)return u;const c=s.captureIndices[0].start,p=u.captureIndices[0].start;return p<c||u.priorityMatch&&p===c?u:s}function pw(e,t,r,n,i,a){const s=i.getRule(e),{ruleScanner:l,findOptions:u}=om(s,e,i.endRule,r,n===a),c=l.findNextMatchSync(t,n,u);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function fw(e,t,r,n,i,a,s){let l=Number.MAX_VALUE,u=null,c,p=0;const h=a.contentNameScopesList.getScopeNames();for(let m=0,d=e.length;m<d;m++){const b=e[m];if(!b.matcher(h))continue;const k=t.getRule(b.ruleId),{ruleScanner:_,findOptions:S}=om(k,t,null,n,i===s),A=_.findNextMatchSync(r,i,S);if(!A)continue;const N=A.captureIndices[0].start;if(!(N>=l)&&(l=N,u=A.captureIndices,c=A.ruleId,p=b.priority,l===i))break}return u?{priorityMatch:p===-1,captureIndices:u,matchedRuleId:c}:null}function om(e,t,r,n,i){return{ruleScanner:e.compileAG(t,r,n,i),findOptions:0}}function dw(e,t,r,n,i){return{ruleScanner:e.compileWhileAG(t,r,n,i),findOptions:0}}function wi(e,t,r,n,i,a,s){if(a.length===0)return;const l=t.content,u=Math.min(a.length,s.length),c=[],p=s[0].end;for(let h=0;h<u;h++){const m=a[h];if(m===null)continue;const d=s[h];if(d.length===0)continue;if(d.start>p)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,d.start):i.produce(n,d.start),m.retokenizeCapturedWithRuleId){const k=m.getName(l,s),_=n.contentNameScopesList.pushAttributed(k,e),S=m.getContentName(l,s),A=_.pushAttributed(S,e),N=n.push(m.retokenizeCapturedWithRuleId,d.start,-1,!1,null,_,A),F=e.createOnigString(l.substring(0,d.end));sm(e,F,r&&d.start===0,d.start,N,i,!1,0),tm(F);continue}const b=m.getName(l,s);if(b!==null){const _=(c.length>0?c[c.length-1].scopes:n.contentNameScopesList).pushAttributed(b,e);c.push(new mw(_,d.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var mw=class{constructor(e,t){K(this,"scopes");K(this,"endPos");this.scopes=e,this.endPos=t}};function gw(e,t,r,n,i,a,s,l){return new yw(e,t,r,n,i,a,s,l)}function xh(e,t,r,n,i){const a=Ya(t,Za),s=im.getCompiledRuleId(r,n,i.repository);for(const l of a)e.push({debugSelector:t,matcher:l.matcher,ruleId:s,grammar:i,priority:l.priority})}function Za(e,t){if(t.length<e.length)return!1;let r=0;return e.every(n=>{for(let i=r;i<t.length;i++)if(xw(t[i],n))return r=i+1,!0;return!1})}function xw(e,t){if(!e)return!1;if(e===t)return!0;const r=t.length;return e.length>r&&e.substr(0,r)===t&&e[r]==="."}var yw=class{constructor(e,t,r,n,i,a,s,l){K(this,"_rootId");K(this,"_lastRuleId");K(this,"_ruleId2desc");K(this,"_includedGrammars");K(this,"_grammarRepository");K(this,"_grammar");K(this,"_injections");K(this,"_basicScopeAttributesProvider");K(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=l,this._basicScopeAttributesProvider=new lw(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=yh(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const u of Object.keys(i)){const c=Ya(u,Za);for(const p of c)this._tokenTypeMatchers.push({matcher:p.matcher,type:i[u]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},t=[],r=this._rootScopeName,n=e.lookup(r);if(n){const i=n.injections;if(i)for(let s in i)xh(t,s,i[s],this,n);const a=this._grammarRepository.injections(r);a&&a.forEach(s=>{const l=this.getExternalGrammar(s);if(l){const u=l.injectionSelector;u&&xh(t,u,l,this,l)}})}return t.sort((i,a)=>i.priority-a.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=yh(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,r=0){const n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t,r=0){const n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){this._rootId===-1&&(this._rootId=im.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===cl.NULL){i=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),p=this.themeProvider.getDefaults(),h=Yn.set(0,c.languageId,c.tokenType,null,p.fontStyle,p.foregroundId,p.backgroundId),m=this.getRule(this._rootId).getName(null,null);let d;m?d=Ai.createRootAndLookUpScopeName(m,h,this):d=Ai.createRoot("unknown",h),t=new cl(null,this._rootId,-1,-1,!1,null,d,d)}else i=!1,t.reset();e=e+`
|
|
517
|
+
`;const a=this.createOnigString(e),s=a.content.length,l=new bw(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),u=sm(this,a,i,0,t,l,!0,n);return tm(a),{lineLength:s,lineTokens:l,ruleStack:u.stack,stoppedEarly:u.stoppedEarly}}};function yh(e,t){return e=F9(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Ai=class Sr{constructor(t,r,n){this.parent=t,this.scopePath=r,this.tokenAttributes=n}static fromExtension(t,r){let n=t,i=(t==null?void 0:t.scopePath)??null;for(const a of r)i=_o.push(i,a.scopeNames),n=new Sr(n,i,a.encodedTokenAttributes);return n}static createRoot(t,r){return new Sr(null,new _o(null,t),r)}static createRootAndLookUpScopeName(t,r,n){const i=n.getMetadataForScope(t),a=new _o(null,t),s=n.themeProvider.themeMatch(a),l=Sr.mergeAttributes(r,i,s);return new Sr(null,a,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Sr.equals(this,t)}static equals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.scopeName!==r.scopeName||t.tokenAttributes!==r.tokenAttributes)return!1;t=t.parent,r=r.parent}while(!0)}static mergeAttributes(t,r,n){let i=-1,a=0,s=0;return n!==null&&(i=n.fontStyle,a=n.foregroundId,s=n.backgroundId),Yn.set(t,r.languageId,r.tokenType,null,i,a,s)}pushAttributed(t,r){if(t===null)return this;if(t.indexOf(" ")===-1)return Sr._pushAttributed(this,t,r);const n=t.split(/ /g);let i=this;for(const a of n)i=Sr._pushAttributed(i,a,r);return i}static _pushAttributed(t,r,n){const i=n.getMetadataForScope(r),a=t.scopePath.push(r),s=n.themeProvider.themeMatch(a),l=Sr.mergeAttributes(t.tokenAttributes,i,s);return new Sr(t,a,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var i;const r=[];let n=this;for(;n&&n!==t;)r.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(((i=n.parent)==null?void 0:i.scopePath)??null)}),n=n.parent;return n===t?r.reverse():void 0}},ar,cl=(ar=class{constructor(t,r,n,i,a,s,l,u){K(this,"_stackElementBrand");K(this,"_enterPos");K(this,"_anchorPos");K(this,"depth");this.parent=t,this.ruleId=r,this.beginRuleCapturedEOL=a,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=u,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=i}equals(t){return t===null?!1:ar._equals(this,t)}static _equals(t,r){return t===r?!0:this._structuralEquals(t,r)?Ai.equals(t.contentNameScopesList,r.contentNameScopesList):!1}static _structuralEquals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.depth!==r.depth||t.ruleId!==r.ruleId||t.endRule!==r.endRule)return!1;t=t.parent,r=r.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){ar._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,r,n,i,a,s,l){return new ar(this,t,r,n,i,a,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,r){var n,i;return this.parent&&(r=this.parent._writeString(t,r)),t[r++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(i=this.contentNameScopesList)==null?void 0:i.toString()})`,r}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new ar(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let r=this;for(;r&&r._enterPos===t._enterPos;){if(r.ruleId===t.ruleId)return!0;r=r.parent}return!1}toStateStackFrame(){var t,r,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((r=this.nameScopesList)==null?void 0:r.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,r){const n=Ai.fromExtension((t==null?void 0:t.nameScopesList)??null,r.nameScopesList);return new ar(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,Ai.fromExtension(n,r.contentNameScopesList))}},K(ar,"NULL",new ar(null,0,0,0,!1,null,null,null)),ar),vw=class{constructor(e,t){K(this,"balancedBracketScopes");K(this,"unbalancedBracketScopes");K(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Ya(r,Za).map(n=>n.matcher)),this.unbalancedBracketScopes=t.flatMap(r=>Ya(r,Za).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},bw=class{constructor(e,t,r,n){K(this,"_emitBinaryTokens");K(this,"_lineText");K(this,"_tokens");K(this,"_binaryTokens");K(this,"_lastTokenEndIndex");K(this,"_tokenTypeOverrides");this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let i=(e==null?void 0:e.tokenAttributes)??0,a=!1;if((n=this.balancedBracketSelectors)!=null&&n.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=(e==null?void 0:e.getScopeNames())??[];for(const l of this._tokenTypeOverrides)l.matcher(s)&&(i=Yn.set(i,0,l.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(s))}if(a&&(i=Yn.set(i,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=t;return}const r=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let n=0,i=this._binaryTokens.length;n<i;n++)r[n]=this._binaryTokens[n];return r}},ww=class{constructor(e,t){K(this,"_grammars",new Map);K(this,"_rawGrammars",new Map);K(this,"_injectionGrammars",new Map);K(this,"_theme");this._onigLib=t,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,r,n,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,gw(e,a,t,r,n,i,this,this._onigLib))}return this._grammars.get(e)}},kw=class{constructor(t){K(this,"_options");K(this,"_syncRegistry");K(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new ww(Xa.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,r){this._syncRegistry.setTheme(Xa.createFromRawTheme(t,r))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,r,n){return this.loadGrammarWithConfiguration(t,r,{embeddedLanguages:n})}loadGrammarWithConfiguration(t,r,n){return this._loadGrammar(t,r,n.embeddedLanguages,n.tokenTypes,new vw(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,r,n,i,a){const s=new K9(this._syncRegistry,t);for(;s.Q.length>0;)s.Q.map(l=>this._loadSingleGrammar(l.scopeName)),s.processQueue();return this._grammarForScopeName(t,r,n,i,a)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const r=this._options.loadGrammar(t);if(r){const n=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(r,n)}}addGrammar(t,r=[],n=0,i=null){return this._syncRegistry.addGrammar(t,r),this._grammarForScopeName(t.scopeName,n,i)}_grammarForScopeName(t,r=0,n=null,i=null,a=null){return this._syncRegistry.grammarForScopeName(t,r,n,i,a)}},hl=cl.NULL;const Sw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Cw=/^>|^->|<!--|-->|--!>|<!-$/g,Ew=[">"],_w=["<",">"];function Aw(e,t,r,n){return n.settings.bogusComments?"<?"+Un(e.value,Object.assign({},n.settings.characterReferences,{subset:Ew}))+">":"<!--"+e.value.replace(Cw,i)+"-->";function i(a){return Un(a,Object.assign({},n.settings.characterReferences,{subset:_w}))}}function Tw(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}const gt=um(1),lm=um(-1),Iw=[];function um(e){return t;function t(r,n,i){const a=r?r.children:Iw;let s=(n||0)+e,l=a[s];if(!i)for(;l&&ss(l);)s+=e,l=a[s];return l}}const Nw={}.hasOwnProperty;function cm(e){return t;function t(r,n,i){return Nw.call(e,r.tagName)&&e[r.tagName](r,n,i)}}const su=cm({body:Pw,caption:To,colgroup:To,dd:Dw,dt:Rw,head:To,html:Mw,li:Lw,optgroup:Fw,option:zw,p:Bw,rp:vh,rt:vh,tbody:Vw,td:bh,tfoot:jw,th:bh,thead:Ow,tr:qw});function To(e,t,r){const n=gt(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&ss(n.value.charAt(0)))}function Mw(e,t,r){const n=gt(r,t);return!n||n.type!=="comment"}function Pw(e,t,r){const n=gt(r,t);return!n||n.type!=="comment"}function Bw(e,t,r){const n=gt(r,t);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function Lw(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&n.tagName==="li"}function Rw(e,t,r){const n=gt(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function Dw(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function vh(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function Fw(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function zw(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function Ow(e,t,r){const n=gt(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function Vw(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function jw(e,t,r){return!gt(r,t)}function qw(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function bh(e,t,r){const n=gt(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const Hw=cm({body:Gw,colgroup:Jw,head:$w,html:Uw,tbody:Ww});function Uw(e){const t=gt(e,-1);return!t||t.type!=="comment"}function $w(e){const t=new Set;for(const n of e.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(t.has(n.tagName))return!1;t.add(n.tagName)}const r=e.children[0];return!r||r.type==="element"}function Gw(e){const t=gt(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ss(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Jw(e,t,r){const n=lm(r,t),i=gt(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&su(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function Ww(e,t,r){const n=lm(r,t),i=gt(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&su(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}const Sa={name:[[`
|
|
518
|
+
\f\r &/=>`.split(""),`
|
|
519
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
520
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
521
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
522
|
+
\f\r &>`.split(""),`\0
|
|
523
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
524
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
525
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Xw(e,t,r,n){const i=n.schema,a=i.space==="svg"?!1:n.settings.omitOptionalTags;let s=i.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase());const l=[];let u;i.space==="html"&&e.tagName==="svg"&&(n.schema=Qn);const c=Yw(n,e.properties),p=n.all(i.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=i,p&&(s=!1),(c||!a||!Hw(e,t,r))&&(l.push("<",e.tagName,c?" "+c:""),s&&(i.space==="svg"||n.settings.closeSelfClosing)&&(u=c.charAt(c.length-1),(!n.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(p),!s&&(!a||!su(e,t,r))&&l.push("</"+e.tagName+">"),l.join("")}function Yw(e,t){const r=[];let n=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const a=Kw(e,i,t[i]);a&&r.push(a)}}for(;++n<r.length;){const a=e.settings.tightAttributes?r[n].charAt(r[n].length-1):void 0;n!==r.length-1&&a!=='"'&&a!=="'"&&(r[n]+=" ")}return r.join("")}function Kw(e,t,r){const n=ml(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,a=e.settings.allowDangerousCharacters?0:1;let s=e.quote,l;if(n.overloadedBoolean&&(r===n.attribute||r==="")?r=!0:(n.boolean||n.overloadedBoolean)&&(typeof r!="string"||r===n.attribute||r==="")&&(r=!!r),r==null||r===!1||typeof r=="number"&&Number.isNaN(r))return"";const u=Un(n.attribute,Object.assign({},e.settings.characterReferences,{subset:Sa.name[i][a]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?Rh:Hh)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?u:(e.settings.preferUnquoted&&(l=Un(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Sa.unquoted[i][a]}))),l!==r&&(e.settings.quoteSmart&&Jn(r,s)>Jn(r,e.alternative)&&(s=e.alternative),l=s+Un(r,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Sa.single:Sa.double)[i][a],attribute:!0}))+s),u+(l&&"="+l))}const Qw=["<","&"];function hm(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:Un(e.value,Object.assign({},n.settings.characterReferences,{subset:Qw}))}function Zw(e,t,r,n){return n.settings.allowDangerousHtml?e.value:hm(e,t,r,n)}function ek(e,t,r,n){return n.all(e)}const tk=Yh("type",{invalid:rk,unknown:nk,handlers:{comment:Aw,doctype:Tw,element:Xw,raw:Zw,root:ek,text:hm}});function rk(e){throw new Error("Expected node, not `"+e+"`")}function nk(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ik={},ak={},sk=[];function ok(e,t){const r=t||ik,n=r.quote||'"',i=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:lk,all:uk,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||Sw,characterReferences:r.characterReferences||ak,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Qn:gl,quote:n,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function lk(e,t,r){return tk(e,t,r,this)}function uk(e){const t=[],r=e&&e.children||sk;let n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function es(e,t){const r=typeof e=="string"?{}:{...e.colorReplacements},n=typeof e=="string"?e:e.name;for(const[i,a]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof a=="string"?r[i]=a:i===n&&Object.assign(r,a);return r}function un(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function ck(e){return Array.isArray(e)?e:[e]}async function pm(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function ou(e){return!e||["plaintext","txt","text","plain"].includes(e)}function hk(e){return e==="ansi"||ou(e)}function lu(e){return e==="none"}function pk(e){return lu(e)}function fm(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(/\s+/g);for(const i of r)i&&!e.properties.class.includes(i)&&e.properties.class.push(i);return e}function _s(e,t=!1){var a;if(e.length===0)return[["",0]];const r=e.split(/(\r?\n)/g);let n=0;const i=[];for(let s=0;s<r.length;s+=2){const l=t?r[s]+(r[s+1]||""):r[s];i.push([l,n]),n+=r[s].length,n+=((a=r[s+1])==null?void 0:a.length)||0}return i}function fk(e){const t=_s(e,!0).map(([i])=>i);function r(i){if(i===e.length)return{line:t.length-1,character:t[t.length-1].length};let a=i,s=0;for(const l of t){if(a<l.length)break;a-=l.length,s++}return{line:s,character:a}}function n(i,a){let s=0;for(let l=0;l<i;l++)s+=t[l].length;return s+=a,s}return{lines:t,indexToPos:r,posToIndex:n}}const uu="light-dark()",dk=["color","background-color"];function mk(e,t){let r=0;const n=[];for(const i of t)i>r&&n.push({...e,content:e.content.slice(r,i),offset:e.offset+r}),r=i;return r<e.content.length&&n.push({...e,content:e.content.slice(r),offset:e.offset+r}),n}function gk(e,t){const r=Array.from(t instanceof Set?t:new Set(t)).sort((n,i)=>n-i);return r.length?e.map(n=>n.flatMap(i=>{const a=r.filter(s=>i.offset<s&&s<i.offset+i.content.length).map(s=>s-i.offset).sort((s,l)=>s-l);return a.length?mk(i,a):i})):e}function xk(e,t,r,n,i="css-vars"){const a={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(p=>ts(e.variants[p])),l=new Set(s.flatMap(p=>Object.keys(p))),u={},c=(p,h)=>{const m=h==="color"?"":h==="background-color"?"-bg":`-${h}`;return r+t[p]+(h==="color"?"":m)};return s.forEach((p,h)=>{for(const m of l){const d=p[m]||"inherit";if(h===0&&n&&dk.includes(m))if(n===uu&&s.length>1){const b=t.findIndex(A=>A==="light"),k=t.findIndex(A=>A==="dark");if(b===-1||k===-1)throw new yt('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const _=s[b][m]||"inherit",S=s[k][m]||"inherit";u[m]=`light-dark(${_}, ${S})`,i==="css-vars"&&(u[c(h,m)]=d)}else u[m]=d;else i==="css-vars"&&(u[c(h,m)]=d)}}),a.htmlStyle=u,a}function ts(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&At.Italic&&(t["font-style"]="italic"),e.fontStyle&At.Bold&&(t["font-weight"]="bold");const r=[];e.fontStyle&At.Underline&&r.push("underline"),e.fontStyle&At.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function pl(e){return typeof e=="string"?e:Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}const dm=new WeakMap;function As(e,t){dm.set(e,t)}function zi(e){return dm.get(e)}class oi{constructor(...t){K(this,"_stacks",{});K(this,"lang");if(t.length===2){const[r,n]=t;this.lang=n,this._stacks=r}else{const[r,n,i]=t;this.lang=n,this._stacks={[i]:r}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new oi(Object.fromEntries(ck(r).map(n=>[n,hl])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return yk(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function yk(e){const t=[],r=new Set;function n(i){var s;if(r.has(i))return;r.add(i);const a=(s=i==null?void 0:i.nameScopesList)==null?void 0:s.scopeName;a&&t.push(a),i.parent&&n(i.parent)}return n(e),t}function vk(e,t){if(!(e instanceof oi))throw new yt("Invalid grammar state");return e.getInternalStack(t)}function bk(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let n=function(s){if(typeof s=="number"){if(s<0||s>r.source.length)throw new yt(`Invalid decoration offset: ${s}. Code length: ${r.source.length}`);return{...i.indexToPos(s),offset:s}}else{const l=i.lines[s.line];if(l===void 0)throw new yt(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${i.lines.length}`);let u=s.character;if(u<0&&(u=l.length+u),u<0||u>l.length)throw new yt(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${l.length}`);return{...s,character:u,offset:i.posToIndex(s.line,u)}}};const i=fk(r.source),a=(r.options.decorations||[]).map(s=>({...s,start:n(s.start),end:n(s.end)}));wk(a),e.set(r.meta,{decorations:a,converter:i,source:r.source})}return e.get(r.meta)}return{name:"shiki:decorations",tokens(r){var s;if(!((s=this.options.decorations)!=null&&s.length))return;const i=t(this).decorations.flatMap(l=>[l.start.offset,l.end.offset]);return gk(r,i)},code(r){var p;if(!((p=this.options.decorations)!=null&&p.length))return;const n=t(this),i=Array.from(r.children).filter(h=>h.type==="element"&&h.tagName==="span");if(i.length!==n.converter.lines.length)throw new yt(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function a(h,m,d,b){const k=i[h];let _="",S=-1,A=-1;if(m===0&&(S=0),d===0&&(A=0),d===Number.POSITIVE_INFINITY&&(A=k.children.length),S===-1||A===-1)for(let F=0;F<k.children.length;F++)_+=mm(k.children[F]),S===-1&&_.length===m&&(S=F+1),A===-1&&_.length===d&&(A=F+1);if(S===-1)throw new yt(`Failed to find start index for decoration ${JSON.stringify(b.start)}`);if(A===-1)throw new yt(`Failed to find end index for decoration ${JSON.stringify(b.end)}`);const N=k.children.slice(S,A);if(!b.alwaysWrap&&N.length===k.children.length)l(k,b,"line");else if(!b.alwaysWrap&&N.length===1&&N[0].type==="element")l(N[0],b,"token");else{const F={type:"element",tagName:"span",properties:{},children:N};l(F,b,"wrapper"),k.children.splice(S,N.length,F)}}function s(h,m){i[h]=l(i[h],m,"line")}function l(h,m,d){var _;const b=m.properties||{},k=m.transform||(S=>S);return h.tagName=m.tagName||"span",h.properties={...h.properties,...b,class:h.properties.class},(_=m.properties)!=null&&_.class&&fm(h,m.properties.class),h=k(h,d)||h,h}const u=[],c=n.decorations.sort((h,m)=>m.start.offset-h.start.offset||h.end.offset-m.end.offset);for(const h of c){const{start:m,end:d}=h;if(m.line===d.line)a(m.line,m.character,d.character,h);else if(m.line<d.line){a(m.line,m.character,Number.POSITIVE_INFINITY,h);for(let b=m.line+1;b<d.line;b++)u.unshift(()=>s(b,h));a(d.line,0,d.character,h)}}u.forEach(h=>h())}}}function wk(e){for(let t=0;t<e.length;t++){const r=e[t];if(r.start.offset>r.end.offset)throw new yt(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);for(let n=t+1;n<e.length;n++){const i=e[n],a=r.start.offset<=i.start.offset&&i.start.offset<r.end.offset,s=r.start.offset<i.end.offset&&i.end.offset<=r.end.offset,l=i.start.offset<=r.start.offset&&r.start.offset<i.end.offset,u=i.start.offset<r.end.offset&&r.end.offset<=i.end.offset;if(a||s||l||u){if(a&&s||l&&u||l&&r.start.offset===r.end.offset||s&&i.start.offset===i.end.offset)continue;throw new yt(`Decorations ${JSON.stringify(r.start)} and ${JSON.stringify(i.start)} intersect.`)}}}}function mm(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(mm).join(""):""}const kk=[bk()];function rs(e){const t=Sk(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...kk]}function Sk(e){const t=[],r=[],n=[];for(const i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":r.push(i);break;default:n.push(i)}return{pre:t,post:r,normal:n}}var Cn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Io={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function Ck(e,t){const r=e.indexOf("\x1B",t);if(r!==-1&&e[r+1]==="["){const n=e.indexOf("m",r);if(n!==-1)return{sequence:e.substring(r+2,n).split(";"),startPosition:r,position:n+1}}return{position:e.length}}function wh(e){const t=e.shift();if(t==="2"){const r=e.splice(0,3).map(n=>Number.parseInt(n));return r.length!==3||r.some(n=>Number.isNaN(n))?void 0:{type:"rgb",rgb:r}}else if(t==="5"){const r=e.shift();if(r)return{type:"table",index:Number(r)}}}function Ek(e){const t=[];for(;e.length>0;){const r=e.shift();if(!r)continue;const n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)t.push({type:"resetAll"});else if(n<=9)Io[n]&&t.push({type:"setDecoration",value:Io[n]});else if(n<=29){const i=Io[n-20];i&&(t.push({type:"resetDecoration",value:i}),i==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Cn[n-30]}});else if(n===38){const i=wh(e);i&&t.push({type:"setForegroundColor",value:i})}else if(n===39)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Cn[n-40]}});else if(n===48){const i=wh(e);i&&t.push({type:"setBackgroundColor",value:i})}else n===49?t.push({type:"resetBackgroundColor"}):n===53?t.push({type:"setDecoration",value:"overline"}):n===55?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Cn[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Cn[n-100+8]}})}return t}function _k(){let e=null,t=null,r=new Set;return{parse(n){const i=[];let a=0;do{const s=Ck(n,a),l=s.sequence?n.substring(a,s.startPosition):n.substring(a);if(l.length>0&&i.push({value:l,foreground:e,background:t,decorations:new Set(r)}),s.sequence){const u=Ek(s.sequence);for(const c of u)c.type==="resetAll"?(e=null,t=null,r.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&r.delete(c.value);for(const c of u)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&r.add(c.value)}a=s.position}while(a<n.length);return i}}}var Ak={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function Tk(e=Ak){function t(l){return e[l]}function r(l){return`#${l.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}let n;function i(){if(n)return n;n=[];for(let c=0;c<Cn.length;c++)n.push(t(Cn[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let p=0;p<6;p++)for(let h=0;h<6;h++)n.push(r([l[c],l[p],l[h]]));let u=8;for(let c=0;c<24;c++,u+=10)n.push(r([u,u,u]));return n}function a(l){return i()[l]}function s(l){switch(l.type){case"named":return t(l.name);case"rgb":return r(l.rgb);case"table":return a(l.index)}}return{value:s}}const Ik={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function Nk(e,t,r){const n=es(e,r),i=_s(t),a=Object.fromEntries(Cn.map(u=>{var h;const c=`terminal.ansi${u[0].toUpperCase()}${u.substring(1)}`,p=(h=e.colors)==null?void 0:h[c];return[u,p||Ik[u]]})),s=Tk(a),l=_k();return i.map(u=>l.parse(u[0]).map(c=>{let p,h;c.decorations.has("reverse")?(p=c.background?s.value(c.background):e.bg,h=c.foreground?s.value(c.foreground):e.fg):(p=c.foreground?s.value(c.foreground):e.fg,h=c.background?s.value(c.background):void 0),p=un(p,n),h=un(h,n),c.decorations.has("dim")&&(p=Mk(p));let m=At.None;return c.decorations.has("bold")&&(m|=At.Bold),c.decorations.has("italic")&&(m|=At.Italic),c.decorations.has("underline")&&(m|=At.Underline),c.decorations.has("strikethrough")&&(m|=At.Strikethrough),{content:c.value,offset:u[1],color:p,bgColor:h,fontStyle:m}}))}function Mk(e){const t=e.match(/#([0-9a-f]{3,8})/i);if(t){const n=t[1];if(n.length===8){const i=Math.round(Number.parseInt(n.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${n.slice(0,6)}${i}`}else{if(n.length===6)return`#${n}80`;if(n.length===4){const i=n[0],a=n[1],s=n[2],l=n[3],u=Math.round(Number.parseInt(`${l}${l}`,16)/2).toString(16).padStart(2,"0");return`#${i}${i}${a}${a}${s}${s}${u}`}else if(n.length===3){const i=n[0],a=n[1],s=n[2];return`#${i}${i}${a}${a}${s}${s}80`}}}const r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}function cu(e,t,r={}){const{theme:n=e.getLoadedThemes()[0]}=r,i=e.resolveLangAlias(r.lang||"text");if(ou(i)||lu(n))return _s(t).map(u=>[{content:u[0],offset:u[1]}]);const{theme:a,colorMap:s}=e.setTheme(n);if(i==="ansi")return Nk(a,t,r);const l=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==l.name)throw new yt(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${l.name}"`);if(!r.grammarState.themes.includes(a.name))throw new yt(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${a.name}"`)}return Bk(t,l,a,s,r)}function Pk(...e){if(e.length===2)return zi(e[1]);const[t,r,n={}]=e,{lang:i="text",theme:a=t.getLoadedThemes()[0]}=n;if(ou(i)||lu(a))throw new yt("Plain language does not have grammar state");if(i==="ansi")throw new yt("ANSI language does not have grammar state");const{theme:s,colorMap:l}=t.setTheme(a),u=t.getLanguage(i);return new oi(hu(r,u,s,l,n).stateStack,u.name,s.name)}function Bk(e,t,r,n,i){const a=hu(e,t,r,n,i),s=new oi(a.stateStack,t.name,r.name);return As(a.tokens,s),a.tokens}function hu(e,t,r,n,i){const a=es(r,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=i,u=_s(e);let c=i.grammarState?vk(i.grammarState,r.name)??hl:i.grammarContextCode!=null?hu(i.grammarContextCode,t,r,n,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:hl,p=[];const h=[];for(let m=0,d=u.length;m<d;m++){const[b,k]=u[m];if(b===""){p=[],h.push([]);continue}if(s>0&&b.length>=s){p=[],h.push([{content:b,offset:k,color:"",fontStyle:0}]);continue}let _,S,A;i.includeExplanation&&(_=t.tokenizeLine(b,c,l),S=_.tokens,A=0);const N=t.tokenizeLine2(b,c,l),F=N.tokens.length/2;for(let P=0;P<F;P++){const g=N.tokens[2*P],M=P+1<F?N.tokens[2*P+2]:b.length;if(g===M)continue;const V=N.tokens[2*P+1],U=un(n[Yn.getForeground(V)],a),j=Yn.getFontStyle(V),J={content:b.substring(g,M),offset:k+g,color:U,fontStyle:j};if(i.includeExplanation){const W=[];if(i.includeExplanation!=="scopeName")for(const Q of r.settings){let Z;switch(typeof Q.scope){case"string":Z=Q.scope.split(/,/).map(me=>me.trim());break;case"object":Z=Q.scope;break;default:continue}W.push({settings:Q,selectors:Z.map(me=>me.split(/ /))})}J.explanation=[];let ae=0;for(;g+ae<M;){const Q=S[A],Z=b.substring(Q.startIndex,Q.endIndex);ae+=Z.length,J.explanation.push({content:Z,scopes:i.includeExplanation==="scopeName"?Lk(Q.scopes):Rk(W,Q.scopes)}),A+=1}}p.push(J)}h.push(p),p=[],c=N.ruleStack}return{tokens:h,stateStack:c}}function Lk(e){return e.map(t=>({scopeName:t}))}function Rk(e,t){const r=[];for(let n=0,i=t.length;n<i;n++){const a=t[n];r[n]={scopeName:a,themeMatches:Fk(e,a,t.slice(0,n))}}return r}function kh(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function Dk(e,t,r){if(!kh(e[e.length-1],t))return!1;let n=e.length-2,i=r.length-1;for(;n>=0&&i>=0;)kh(e[n],r[i])&&(n-=1),i-=1;return n===-1}function Fk(e,t,r){const n=[];for(const{selectors:i,settings:a}of e)for(const s of i)if(Dk(s,t,r)){n.push(a);break}return n}function gm(e,t,r){const n=Object.entries(r.themes).filter(u=>u[1]).map(u=>({color:u[0],theme:u[1]})),i=n.map(u=>{const c=cu(e,t,{...r,theme:u.theme}),p=zi(c),h=typeof u.theme=="string"?u.theme:u.theme.name;return{tokens:c,state:p,theme:h}}),a=zk(...i.map(u=>u.tokens)),s=a[0].map((u,c)=>u.map((p,h)=>{const m={content:p.content,variants:{},offset:p.offset};return"includeExplanation"in r&&r.includeExplanation&&(m.explanation=p.explanation),a.forEach((d,b)=>{const{content:k,explanation:_,offset:S,...A}=d[c][h];m.variants[n[b].color]=A}),m})),l=i[0].state?new oi(Object.fromEntries(i.map(u=>{var c;return[u.theme,(c=u.state)==null?void 0:c.getInternalStack(u.theme)]})),i[0].state.lang):void 0;return l&&As(s,l),s}function zk(...e){const t=e.map(()=>[]),r=e.length;for(let n=0;n<e[0].length;n++){const i=e.map(u=>u[n]),a=t.map(()=>[]);t.forEach((u,c)=>u.push(a[c]));const s=i.map(()=>0),l=i.map(u=>u[0]);for(;l.every(u=>u);){const u=Math.min(...l.map(c=>c.content.length));for(let c=0;c<r;c++){const p=l[c];p.content.length===u?(a[c].push(p),s[c]+=1,l[c]=i[c][s[c]]):(a[c].push({...p,content:p.content.slice(0,u)}),l[c]={...p,content:p.content.slice(u),offset:p.offset+u})}}}return t}function ns(e,t,r){let n,i,a,s,l,u;if("themes"in r){const{defaultColor:c="light",cssVariablePrefix:p="--shiki-",colorsRendering:h="css-vars"}=r,m=Object.entries(r.themes).filter(S=>S[1]).map(S=>({color:S[0],theme:S[1]})).sort((S,A)=>S.color===c?-1:A.color===c?1:0);if(m.length===0)throw new yt("`themes` option must not be empty");const d=gm(e,t,r);if(u=zi(d),c&&uu!==c&&!m.find(S=>S.color===c))throw new yt(`\`themes\` option must contain the defaultColor key \`${c}\``);const b=m.map(S=>e.getTheme(S.theme)),k=m.map(S=>S.color);a=d.map(S=>S.map(A=>xk(A,k,p,c,h))),u&&As(a,u);const _=m.map(S=>es(S.theme,r));i=Sh(m,b,_,p,c,"fg",h),n=Sh(m,b,_,p,c,"bg",h),s=`shiki-themes ${b.map(S=>S.name).join(" ")}`,l=c?void 0:[i,n].join(";")}else if("theme"in r){const c=es(r.theme,r);a=cu(e,t,r);const p=e.getTheme(r.theme);n=un(p.bg,c),i=un(p.fg,c),s=p.name,u=zi(a)}else throw new yt("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:n,themeName:s,rootStyle:l,grammarState:u}}function Sh(e,t,r,n,i,a,s){return e.map((l,u)=>{const c=un(t[u][a],r[u])||"inherit",p=`${n+l.color}${a==="bg"?"-bg":""}:${c}`;if(u===0&&i){if(i===uu&&e.length>1){const h=e.findIndex(k=>k.color==="light"),m=e.findIndex(k=>k.color==="dark");if(h===-1||m===-1)throw new yt('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const d=un(t[h][a],r[h])||"inherit",b=un(t[m][a],r[m])||"inherit";return`light-dark(${d}, ${b});${p}`}return c}return s==="css-vars"?p:null}).filter(l=>!!l).join(";")}function is(e,t,r,n={meta:{},options:r,codeToHast:(i,a)=>is(e,i,a),codeToTokens:(i,a)=>ns(e,i,a)}){var b,k;let i=t;for(const _ of rs(r))i=((b=_.preprocess)==null?void 0:b.call(n,i,r))||i;let{tokens:a,fg:s,bg:l,themeName:u,rootStyle:c,grammarState:p}=ns(e,i,r);const{mergeWhitespaces:h=!0,mergeSameStyleTokens:m=!1}=r;h===!0?a=Vk(a):h==="never"&&(a=jk(a)),m&&(a=qk(a));const d={...n,get source(){return i}};for(const _ of rs(r))a=((k=_.tokens)==null?void 0:k.call(d,a))||a;return Ok(a,{...r,fg:s,bg:l,themeName:u,rootStyle:r.rootStyle===!1?!1:r.rootStyle??c},d,p)}function Ok(e,t,r,n=zi(e)){var k,_,S,A;const i=rs(t),a=[],s={type:"root",children:[]},{structure:l="classic",tabindex:u="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),u!==!1&&u!=null&&(c.tabindex=u.toString());for(const[N,F]of Object.entries(t.meta||{}))N.startsWith("_")||(c[N]=F);let p={type:"element",tagName:"pre",properties:c,children:[],data:t.data},h={type:"element",tagName:"code",properties:{},children:a};const m=[],d={...r,structure:l,addClassToHast:fm,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return p},get code(){return h},get lines(){return m}};if(e.forEach((N,F)=>{var M,V;F&&(l==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):l==="classic"&&a.push({type:"text",value:`
|
|
526
|
+
`}));let P={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const U of N){let j={type:"element",tagName:"span",properties:{...U.htmlAttrs},children:[{type:"text",value:U.content}]};const J=pl(U.htmlStyle||ts(U));J&&(j.properties.style=J);for(const W of i)j=((M=W==null?void 0:W.span)==null?void 0:M.call(d,j,F+1,g,P,U))||j;l==="inline"?s.children.push(j):l==="classic"&&P.children.push(j),g+=U.content.length}if(l==="classic"){for(const U of i)P=((V=U==null?void 0:U.line)==null?void 0:V.call(d,P,F+1))||P;m.push(P),a.push(P)}else l==="inline"&&m.push(P)}),l==="classic"){for(const N of i)h=((k=N==null?void 0:N.code)==null?void 0:k.call(d,h))||h;p.children.push(h);for(const N of i)p=((_=N==null?void 0:N.pre)==null?void 0:_.call(d,p))||p;s.children.push(p)}else if(l==="inline"){const N=[];let F={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const M of s.children)M.type==="element"&&M.tagName==="br"?(N.push(F),F={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(M.type==="element"||M.type==="text")&&F.children.push(M);N.push(F);let g={type:"element",tagName:"code",properties:{},children:N};for(const M of i)g=((S=M==null?void 0:M.code)==null?void 0:S.call(d,g))||g;s.children=[];for(let M=0;M<g.children.length;M++){M>0&&s.children.push({type:"element",tagName:"br",properties:{},children:[]});const V=g.children[M];V.type==="element"&&s.children.push(...V.children)}}let b=s;for(const N of i)b=((A=N==null?void 0:N.root)==null?void 0:A.call(d,b))||b;return n&&As(b,n),b}function Vk(e){return e.map(t=>{const r=[];let n="",i;return t.forEach((a,s)=>{const u=!(a.fontStyle&&(a.fontStyle&At.Underline||a.fontStyle&At.Strikethrough));u&&a.content.match(/^\s+$/)&&t[s+1]?(i===void 0&&(i=a.offset),n+=a.content):n?(u?r.push({...a,offset:i,content:n+a.content}):r.push({content:n,offset:i},a),i=void 0,n=""):r.push(a)}),r})}function jk(e){return e.map(t=>t.flatMap(r=>{if(r.content.match(/^\s+$/))return r;const n=r.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return r;const[,i,a,s]=n;if(!i&&!s)return r;const l=[{...r,offset:r.offset+i.length,content:a}];return i&&l.unshift({content:i,offset:r.offset}),s&&l.push({content:s,offset:r.offset+i.length+a.length}),l}))}function qk(e){return e.map(t=>{const r=[];for(const n of t){if(r.length===0){r.push({...n});continue}const i=r[r.length-1],a=pl(i.htmlStyle||ts(i)),s=pl(n.htmlStyle||ts(n)),l=i.fontStyle&&(i.fontStyle&At.Underline||i.fontStyle&At.Strikethrough),u=n.fontStyle&&(n.fontStyle&At.Underline||n.fontStyle&At.Strikethrough);!l&&!u&&a===s?i.content+=n.content:r.push({...n})}return r})}const Hk=ok;function Uk(e,t,r){var a;const n={meta:{},options:r,codeToHast:(s,l)=>is(e,s,l),codeToTokens:(s,l)=>ns(e,s,l)};let i=Hk(is(e,t,r,n));for(const s of rs(r))i=((a=s.postprocess)==null?void 0:a.call(n,i,r))||i;return i}const Ch={light:"#333333",dark:"#bbbbbb"},Eh={light:"#fffffe",dark:"#1e1e1e"},_h="__shiki_resolved";function pu(e){var l,u,c,p,h;if(e!=null&&e[_h])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:r,fg:n}=t;if(!r||!n){const m=t.settings?t.settings.find(d=>!d.name&&!d.scope):void 0;(l=m==null?void 0:m.settings)!=null&&l.foreground&&(n=m.settings.foreground),(u=m==null?void 0:m.settings)!=null&&u.background&&(r=m.settings.background),!n&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(n=t.colors["editor.foreground"]),!r&&((p=t==null?void 0:t.colors)!=null&&p["editor.background"])&&(r=t.colors["editor.background"]),n||(n=t.type==="light"?Ch.light:Ch.dark),r||(r=t.type==="light"?Eh.light:Eh.dark),t.fg=n,t.bg=r}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0;const a=new Map;function s(m){var b;if(a.has(m))return a.get(m);i+=1;const d=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return(b=t.colorReplacements)!=null&&b[`#${d}`]?s(m):(a.set(m,d),d)}t.settings=t.settings.map(m=>{var _,S;const d=((_=m.settings)==null?void 0:_.foreground)&&!m.settings.foreground.startsWith("#"),b=((S=m.settings)==null?void 0:S.background)&&!m.settings.background.startsWith("#");if(!d&&!b)return m;const k={...m,settings:{...m.settings}};if(d){const A=s(m.settings.foreground);t.colorReplacements[A]=m.settings.foreground,k.settings.foreground=A}if(b){const A=s(m.settings.background);t.colorReplacements[A]=m.settings.background,k.settings.background=A}return k});for(const m of Object.keys(t.colors||{}))if((m==="editor.foreground"||m==="editor.background"||m.startsWith("terminal.ansi"))&&!((h=t.colors[m])!=null&&h.startsWith("#"))){const d=s(t.colors[m]);t.colorReplacements[d]=t.colors[m],t.colors[m]=d}return Object.defineProperty(t,_h,{enumerable:!1,writable:!1,value:!0}),t}async function xm(e){return Array.from(new Set((await Promise.all(e.filter(t=>!hk(t)).map(async t=>await pm(t).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function ym(e){return(await Promise.all(e.map(async r=>pk(r)?null:pu(await pm(r))))).filter(r=>!!r)}let $k=3;function Gk(e,t=3){t>$k||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let jn=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function vm(e,t){if(!t)return e;if(t[e]){const r=new Set([e]);for(;t[e];){if(e=t[e],r.has(e))throw new jn(`Circular alias \`${Array.from(r).join(" -> ")} -> ${e}\``);r.add(e)}}return e}class Jk extends kw{constructor(r,n,i,a={}){super(r);K(this,"_resolvedThemes",new Map);K(this,"_resolvedGrammars",new Map);K(this,"_langMap",new Map);K(this,"_langGraph",new Map);K(this,"_textmateThemeCache",new WeakMap);K(this,"_loadedThemesCache",null);K(this,"_loadedLanguagesCache",null);this._resolver=r,this._themes=n,this._langs=i,this._alias=a,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(r){return typeof r=="string"?this._resolvedThemes.get(r):this.loadTheme(r)}loadTheme(r){const n=pu(r);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(r){let n=this._textmateThemeCache.get(r);n||(n=Xa.createFromRawTheme(r),this._textmateThemeCache.set(r,n)),this._syncRegistry.setTheme(n)}getGrammar(r){return r=vm(r,this._alias),this._resolvedGrammars.get(r)}loadLanguage(r){var s,l,u,c;if(this.getGrammar(r.name))return;const n=new Set([...this._langMap.values()].filter(p=>{var h;return(h=p.embeddedLangsLazy)==null?void 0:h.includes(r.name)}));this._resolver.addLanguage(r);const i={balancedBracketSelectors:r.balancedBracketSelectors||["*"],unbalancedBracketSelectors:r.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(r.scopeName,r);const a=this.loadGrammarWithConfiguration(r.scopeName,1,i);if(a.name=r.name,this._resolvedGrammars.set(r.name,a),r.aliases&&r.aliases.forEach(p=>{this._alias[p]=r.name}),this._loadedLanguagesCache=null,n.size)for(const p of n)this._resolvedGrammars.delete(p.name),this._loadedLanguagesCache=null,(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(p.scopeName),(c=(u=this._syncRegistry)==null?void 0:u._grammars)==null||c.delete(p.scopeName),this.loadLanguage(this._langMap.get(p.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(r){for(const a of r)this.resolveEmbeddedLanguages(a);const n=Array.from(this._langGraph.entries()),i=n.filter(([a,s])=>!s);if(i.length){const a=n.filter(([s,l])=>{if(!l)return!1;const u=l.embeddedLanguages||l.embeddedLangs;return u==null?void 0:u.some(c=>i.map(([p])=>p).includes(c))}).filter(s=>!i.includes(s));throw new jn(`Missing languages ${i.map(([s])=>`\`${s}\``).join(", ")}, required by ${a.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[a,s]of n)this._resolver.addLanguage(s);for(const[a,s]of n)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(r){this._langMap.set(r.name,r),this._langGraph.set(r.name,r);const n=r.embeddedLanguages??r.embeddedLangs;if(n)for(const i of n)this._langGraph.set(i,this._langMap.get(i))}}class Wk{constructor(t,r){K(this,"_langs",new Map);K(this,"_scopeToLang",new Map);K(this,"_injections",new Map);K(this,"_onigLib");this._onigLib={createOnigScanner:n=>t.createScanner(n),createOnigString:n=>t.createString(n)},r.forEach(n=>this.addLanguage(n))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(r=>{this._langs.set(r,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(r=>{this._injections.get(r)||this._injections.set(r,[]),this._injections.get(r).push(t.scopeName)})}getInjections(t){const r=t.split(".");let n=[];for(let i=1;i<=r.length;i++){const a=r.slice(0,i).join(".");n=[...n,...this._injections.get(a)||[]]}return n}}let yi=0;function Xk(e){yi+=1,e.warnings!==!1&&yi>=10&&yi%10===0&&console.warn(`[Shiki] ${yi} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new jn("`engine` option is required for synchronous mode");const r=(e.langs||[]).flat(1),n=(e.themes||[]).flat(1).map(pu),i=new Wk(e.engine,r),a=new Jk(i,n,r,e.langAlias);let s;function l(N){return vm(N,e.langAlias)}function u(N){S();const F=a.getGrammar(typeof N=="string"?N:N.name);if(!F)throw new jn(`Language \`${N}\` not found, you may need to load it first`);return F}function c(N){if(N==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};S();const F=a.getTheme(N);if(!F)throw new jn(`Theme \`${N}\` not found, you may need to load it first`);return F}function p(N){S();const F=c(N);s!==N&&(a.setTheme(F),s=N);const P=a.getColorMap();return{theme:F,colorMap:P}}function h(){return S(),a.getLoadedThemes()}function m(){return S(),a.getLoadedLanguages()}function d(...N){S(),a.loadLanguages(N.flat(1))}async function b(...N){return d(await xm(N))}function k(...N){S();for(const F of N.flat(1))a.loadTheme(F)}async function _(...N){return S(),k(await ym(N))}function S(){if(t)throw new jn("Shiki instance has been disposed")}function A(){t||(t=!0,a.dispose(),yi-=1)}return{setTheme:p,getTheme:c,getLanguage:u,getLoadedThemes:h,getLoadedLanguages:m,resolveLangAlias:l,loadLanguage:b,loadLanguageSync:d,loadTheme:_,loadThemeSync:k,dispose:A,[Symbol.dispose]:A}}async function Yk(e){e.engine||Gk("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,r,n]=await Promise.all([ym(e.themes||[]),xm(e.langs||[]),e.engine]);return Xk({...e,themes:t,langs:r,engine:n})}async function Kk(e){const t=await Yk(e);return{getLastGrammarState:(...r)=>Pk(t,...r),codeToTokensBase:(r,n)=>cu(t,r,n),codeToTokensWithThemes:(r,n)=>gm(t,r,n),codeToTokens:(r,n)=>ns(t,r,n),codeToHast:(r,n)=>is(t,r,n),codeToHtml:(r,n)=>Uk(t,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}class fu extends Error{constructor(t){super(t),this.name="ShikiError"}}function Qk(){return 2147483648}function Zk(){return typeof performance<"u"?performance.now():Date.now()}const eS=(e,t)=>e+(t-e%t)%t;async function tS(e){let t,r;const n={};function i(d){r=d,n.HEAPU8=new Uint8Array(d),n.HEAPU32=new Uint32Array(d)}function a(d,b,k){n.HEAPU8.copyWithin(d,b,b+k)}function s(d){try{return t.grow(d-r.byteLength+65535>>>16),i(t.buffer),1}catch{}}function l(d){const b=n.HEAPU8.length;d=d>>>0;const k=Qk();if(d>k)return!1;for(let _=1;_<=4;_*=2){let S=b*(1+.2/_);S=Math.min(S,d+100663296);const A=Math.min(k,eS(Math.max(d,S),65536));if(s(A))return!0}return!1}const u=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(d,b,k=1024){const _=b+k;let S=b;for(;d[S]&&!(S>=_);)++S;if(S-b>16&&d.buffer&&u)return u.decode(d.subarray(b,S));let A="";for(;b<S;){let N=d[b++];if(!(N&128)){A+=String.fromCharCode(N);continue}const F=d[b++]&63;if((N&224)===192){A+=String.fromCharCode((N&31)<<6|F);continue}const P=d[b++]&63;if((N&240)===224?N=(N&15)<<12|F<<6|P:N=(N&7)<<18|F<<12|P<<6|d[b++]&63,N<65536)A+=String.fromCharCode(N);else{const g=N-65536;A+=String.fromCharCode(55296|g>>10,56320|g&1023)}}return A}function p(d,b){return d?c(n.HEAPU8,d,b):""}const h={emscripten_get_now:Zk,emscripten_memcpy_big:a,emscripten_resize_heap:l,fd_write:()=>0};async function m(){const b=await e({env:h,wasi_snapshot_preview1:h});t=b.memory,i(t.buffer),Object.assign(n,b),n.UTF8ToString=p}return await m(),n}var rS=Object.defineProperty,nS=(e,t,r)=>t in e?rS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ft=(e,t,r)=>nS(e,typeof t!="symbol"?t+"":t,r);let xt=null;function iS(e){throw new fu(e.UTF8ToString(e.getLastOnigError()))}class Ts{constructor(t){ft(this,"utf16Length"),ft(this,"utf8Length"),ft(this,"utf16Value"),ft(this,"utf8Value"),ft(this,"utf16OffsetToUtf8"),ft(this,"utf8OffsetToUtf16");const r=t.length,n=Ts._utf8ByteLength(t),i=n!==r,a=i?new Uint32Array(r+1):null;i&&(a[r]=n);const s=i?new Uint32Array(n+1):null;i&&(s[n]=r);const l=new Uint8Array(n);let u=0;for(let c=0;c<r;c++){const p=t.charCodeAt(c);let h=p,m=!1;if(p>=55296&&p<=56319&&c+1<r){const d=t.charCodeAt(c+1);d>=56320&&d<=57343&&(h=(p-55296<<10)+65536|d-56320,m=!0)}i&&(a[c]=u,m&&(a[c+1]=u),h<=127?s[u+0]=c:h<=2047?(s[u+0]=c,s[u+1]=c):h<=65535?(s[u+0]=c,s[u+1]=c,s[u+2]=c):(s[u+0]=c,s[u+1]=c,s[u+2]=c,s[u+3]=c)),h<=127?l[u++]=h:h<=2047?(l[u++]=192|(h&1984)>>>6,l[u++]=128|(h&63)>>>0):h<=65535?(l[u++]=224|(h&61440)>>>12,l[u++]=128|(h&4032)>>>6,l[u++]=128|(h&63)>>>0):(l[u++]=240|(h&1835008)>>>18,l[u++]=128|(h&258048)>>>12,l[u++]=128|(h&4032)>>>6,l[u++]=128|(h&63)>>>0),m&&c++}this.utf16Length=r,this.utf8Length=n,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=a,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let r=0;for(let n=0,i=t.length;n<i;n++){const a=t.charCodeAt(n);let s=a,l=!1;if(a>=55296&&a<=56319&&n+1<i){const u=t.charCodeAt(n+1);u>=56320&&u<=57343&&(s=(a-55296<<10)+65536|u-56320,l=!0)}s<=127?r+=1:s<=2047?r+=2:s<=65535?r+=3:r+=4,l&&n++}return r}createString(t){const r=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,r),r}}const Is=class Cr{constructor(t){if(ft(this,"id",++Cr.LAST_ID),ft(this,"_onigBinding"),ft(this,"content"),ft(this,"utf16Length"),ft(this,"utf8Length"),ft(this,"utf16OffsetToUtf8"),ft(this,"utf8OffsetToUtf16"),ft(this,"ptr"),!xt)throw new fu("Must invoke loadWasm first.");this._onigBinding=xt,this.content=t;const r=new Ts(t);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!Cr._sharedPtrInUse?(Cr._sharedPtr||(Cr._sharedPtr=xt.omalloc(1e4)),Cr._sharedPtrInUse=!0,xt.HEAPU8.set(r.utf8Value,Cr._sharedPtr),this.ptr=Cr._sharedPtr):this.ptr=r.createString(xt)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Cr._sharedPtr?Cr._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};ft(Is,"LAST_ID",0);ft(Is,"_sharedPtr",0);ft(Is,"_sharedPtrInUse",!1);let bm=Is;class aS{constructor(t){if(ft(this,"_onigBinding"),ft(this,"_ptr"),!xt)throw new fu("Must invoke loadWasm first.");const r=[],n=[];for(let l=0,u=t.length;l<u;l++){const c=new Ts(t[l]);r[l]=c.createString(xt),n[l]=c.utf8Length}const i=xt.omalloc(4*t.length);xt.HEAPU32.set(r,i/4);const a=xt.omalloc(4*t.length);xt.HEAPU32.set(n,a/4);const s=xt.createOnigScanner(i,a,t.length);for(let l=0,u=t.length;l<u;l++)xt.ofree(r[l]);xt.ofree(a),xt.ofree(i),s===0&&iS(xt),this._onigBinding=xt,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,r,n){let i=0;if(typeof n=="number"&&(i=n),typeof t=="string"){t=new bm(t);const a=this._findNextMatchSync(t,r,!1,i);return t.dispose(),a}return this._findNextMatchSync(t,r,!1,i)}_findNextMatchSync(t,r,n,i){const a=this._onigBinding,s=a.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(r),i);if(s===0)return null;const l=a.HEAPU32;let u=s/4;const c=l[u++],p=l[u++],h=[];for(let m=0;m<p;m++){const d=t.convertUtf8OffsetToUtf16(l[u++]),b=t.convertUtf8OffsetToUtf16(l[u++]);h[m]={start:d,end:b,length:b-d}}return{index:c,captureIndices:h}}}function sS(e){return typeof e.instantiator=="function"}function oS(e){return typeof e.default=="function"}function lS(e){return typeof e.data<"u"}function uS(e){return typeof Response<"u"&&e instanceof Response}function cS(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Ca;function hS(e){if(Ca)return Ca;async function t(){xt=await tS(async r=>{let n=e;return n=await n,typeof n=="function"&&(n=await n(r)),typeof n=="function"&&(n=await n(r)),sS(n)?n=await n.instantiator(r):oS(n)?n=await n.default(r):(lS(n)&&(n=n.data),uS(n)?typeof WebAssembly.instantiateStreaming=="function"?n=await pS(n)(r):n=await fS(n)(r):cS(n)?n=await No(n)(r):n instanceof WebAssembly.Module?n=await No(n)(r):"default"in n&&n.default instanceof WebAssembly.Module&&(n=await No(n.default)(r))),"instance"in n&&(n=n.instance),"exports"in n&&(n=n.exports),n})}return Ca=t(),Ca}function No(e){return t=>WebAssembly.instantiate(e,t)}function pS(e){return t=>WebAssembly.instantiateStreaming(e,t)}function fS(e){return async t=>{const r=await e.arrayBuffer();return WebAssembly.instantiate(r,t)}}async function dS(e){return e&&await hS(e),{createScanner(t){return new aS(t.map(r=>typeof r=="string"?r:r.source))},createString(t){return new bm(t)}}}const mS=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#f9826c","activityBar.background":"#fff","activityBar.border":"#e1e4e8","activityBar.foreground":"#2f363d","activityBar.inactiveForeground":"#959da5","activityBarBadge.background":"#2188ff","activityBarBadge.foreground":"#fff","badge.background":"#dbedff","badge.foreground":"#005cc5","breadcrumb.activeSelectionForeground":"#586069","breadcrumb.focusForeground":"#2f363d","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#fafbfc","button.background":"#159739","button.foreground":"#fff","button.hoverBackground":"#138934","button.secondaryBackground":"#e1e4e8","button.secondaryForeground":"#1b1f23","button.secondaryHoverBackground":"#d1d5da","checkbox.background":"#fafbfc","checkbox.border":"#d1d5da","debugToolBar.background":"#fff","descriptionForeground":"#6a737d","diffEditor.insertedTextBackground":"#34d05822","diffEditor.removedTextBackground":"#d73a4922","dropdown.background":"#fafbfc","dropdown.border":"#e1e4e8","dropdown.foreground":"#2f363d","dropdown.listBackground":"#fff","editor.background":"#fff","editor.findMatchBackground":"#ffdf5d","editor.findMatchHighlightBackground":"#ffdf5d66","editor.focusedStackFrameHighlightBackground":"#28a74525","editor.foldBackground":"#d1d5da11","editor.foreground":"#24292e","editor.inactiveSelectionBackground":"#0366d611","editor.lineHighlightBackground":"#f6f8fa","editor.linkedEditingBackground":"#0366d611","editor.selectionBackground":"#0366d625","editor.selectionHighlightBackground":"#34d05840","editor.selectionHighlightBorder":"#34d05800","editor.stackFrameHighlightBackground":"#ffd33d33","editor.wordHighlightBackground":"#34d05800","editor.wordHighlightBorder":"#24943e99","editor.wordHighlightStrongBackground":"#34d05800","editor.wordHighlightStrongBorder":"#24943e50","editorBracketHighlight.foreground1":"#005cc5","editorBracketHighlight.foreground2":"#e36209","editorBracketHighlight.foreground3":"#5a32a3","editorBracketHighlight.foreground4":"#005cc5","editorBracketHighlight.foreground5":"#e36209","editorBracketHighlight.foreground6":"#5a32a3","editorBracketMatch.background":"#34d05840","editorBracketMatch.border":"#34d05800","editorCursor.foreground":"#044289","editorError.foreground":"#cb2431","editorGroup.border":"#e1e4e8","editorGroupHeader.tabsBackground":"#f6f8fa","editorGroupHeader.tabsBorder":"#e1e4e8","editorGutter.addedBackground":"#28a745","editorGutter.deletedBackground":"#d73a49","editorGutter.modifiedBackground":"#2188ff","editorIndentGuide.activeBackground":"#d7dbe0","editorIndentGuide.background":"#eff2f6","editorLineNumber.activeForeground":"#24292e","editorLineNumber.foreground":"#1b1f234d","editorOverviewRuler.border":"#fff","editorWarning.foreground":"#f9c513","editorWhitespace.foreground":"#d1d5da","editorWidget.background":"#f6f8fa","errorForeground":"#cb2431","focusBorder":"#2188ff","foreground":"#444d56","gitDecoration.addedResourceForeground":"#28a745","gitDecoration.conflictingResourceForeground":"#e36209","gitDecoration.deletedResourceForeground":"#d73a49","gitDecoration.ignoredResourceForeground":"#959da5","gitDecoration.modifiedResourceForeground":"#005cc5","gitDecoration.submoduleResourceForeground":"#959da5","gitDecoration.untrackedResourceForeground":"#28a745","input.background":"#fafbfc","input.border":"#e1e4e8","input.foreground":"#2f363d","input.placeholderForeground":"#959da5","list.activeSelectionBackground":"#e2e5e9","list.activeSelectionForeground":"#2f363d","list.focusBackground":"#cce5ff","list.hoverBackground":"#ebf0f4","list.hoverForeground":"#2f363d","list.inactiveFocusBackground":"#dbedff","list.inactiveSelectionBackground":"#e8eaed","list.inactiveSelectionForeground":"#2f363d","notificationCenterHeader.background":"#e1e4e8","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#fafbfc","notifications.border":"#e1e4e8","notifications.foreground":"#2f363d","notificationsErrorIcon.foreground":"#d73a49","notificationsInfoIcon.foreground":"#005cc5","notificationsWarningIcon.foreground":"#e36209","panel.background":"#f6f8fa","panel.border":"#e1e4e8","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#f9826c","panelTitle.activeForeground":"#2f363d","panelTitle.inactiveForeground":"#6a737d","pickerGroup.border":"#e1e4e8","pickerGroup.foreground":"#2f363d","progressBar.background":"#2188ff","quickInput.background":"#fafbfc","quickInput.foreground":"#2f363d","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#959da588","scrollbarSlider.background":"#959da533","scrollbarSlider.hoverBackground":"#959da544","settings.headerForeground":"#2f363d","settings.modifiedItemIndicator":"#2188ff","sideBar.background":"#f6f8fa","sideBar.border":"#e1e4e8","sideBar.foreground":"#586069","sideBarSectionHeader.background":"#f6f8fa","sideBarSectionHeader.border":"#e1e4e8","sideBarSectionHeader.foreground":"#2f363d","sideBarTitle.foreground":"#2f363d","statusBar.background":"#fff","statusBar.border":"#e1e4e8","statusBar.debuggingBackground":"#f9826c","statusBar.debuggingForeground":"#fff","statusBar.foreground":"#586069","statusBar.noFolderBackground":"#fff","statusBarItem.prominentBackground":"#e8eaed","statusBarItem.remoteBackground":"#fff","statusBarItem.remoteForeground":"#586069","tab.activeBackground":"#fff","tab.activeBorder":"#fff","tab.activeBorderTop":"#f9826c","tab.activeForeground":"#2f363d","tab.border":"#e1e4e8","tab.hoverBackground":"#fff","tab.inactiveBackground":"#f6f8fa","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#fff","tab.unfocusedActiveBorderTop":"#e1e4e8","tab.unfocusedHoverBackground":"#fff","terminal.ansiBlack":"#24292e","terminal.ansiBlue":"#0366d6","terminal.ansiBrightBlack":"#959da5","terminal.ansiBrightBlue":"#005cc5","terminal.ansiBrightCyan":"#3192aa","terminal.ansiBrightGreen":"#22863a","terminal.ansiBrightMagenta":"#5a32a3","terminal.ansiBrightRed":"#cb2431","terminal.ansiBrightWhite":"#d1d5da","terminal.ansiBrightYellow":"#b08800","terminal.ansiCyan":"#1b7c83","terminal.ansiGreen":"#28a745","terminal.ansiMagenta":"#5a32a3","terminal.ansiRed":"#d73a49","terminal.ansiWhite":"#6a737d","terminal.ansiYellow":"#dbab09","terminal.foreground":"#586069","terminal.tab.activeBorder":"#f9826c","terminalCursor.background":"#d1d5da","terminalCursor.foreground":"#005cc5","textBlockQuote.background":"#fafbfc","textBlockQuote.border":"#e1e4e8","textCodeBlock.background":"#f6f8fa","textLink.activeForeground":"#005cc5","textLink.foreground":"#0366d6","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#fff","titleBar.activeForeground":"#2f363d","titleBar.border":"#e1e4e8","titleBar.inactiveBackground":"#f6f8fa","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"GitHub Light","name":"github-light","semanticHighlighting":true,"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#6a737d"}},{"scope":["constant","entity.name.constant","variable.other.constant","variable.other.enummember","variable.language"],"settings":{"foreground":"#005cc5"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#6f42c1"}},{"scope":"variable.parameter.function","settings":{"foreground":"#24292e"}},{"scope":"entity.name.tag","settings":{"foreground":"#22863a"}},{"scope":"keyword","settings":{"foreground":"#d73a49"}},{"scope":["storage","storage.type"],"settings":{"foreground":"#d73a49"}},{"scope":["storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#24292e"}},{"scope":["string","punctuation.definition.string","string punctuation.section.embedded source"],"settings":{"foreground":"#032f62"}},{"scope":"support","settings":{"foreground":"#005cc5"}},{"scope":"meta.property-name","settings":{"foreground":"#005cc5"}},{"scope":"variable","settings":{"foreground":"#e36209"}},{"scope":"variable.other","settings":{"foreground":"#24292e"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#005cc5"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#032f62"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#032f62"}},{"scope":"string.regexp constant.character.escape","settings":{"fontStyle":"bold","foreground":"#22863a"}},{"scope":"support.constant","settings":{"foreground":"#005cc5"}},{"scope":"support.variable","settings":{"foreground":"#005cc5"}},{"scope":"meta.module-reference","settings":{"foreground":"#005cc5"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#e36209"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"markup.quote","settings":{"foreground":"#22863a"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#24292e"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#24292e"}},{"scope":["markup.underline"],"settings":{"fontStyle":"underline"}},{"scope":["markup.strikethrough"],"settings":{"fontStyle":"strikethrough"}},{"scope":"markup.inline.raw","settings":{"foreground":"#005cc5"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link"],"settings":{"fontStyle":"underline","foreground":"#032f62"}}],"type":"light"}')),gS=[Promise.resolve().then(()=>require("./assets/javascript-DgmXW4Ha.cjs")),Promise.resolve().then(()=>require("./assets/typescript-b48wo4zk.cjs")),Promise.resolve().then(()=>require("./assets/json-YkPizm35.cjs")),Promise.resolve().then(()=>require("./assets/html-C62Zf2h4.cjs")),Promise.resolve().then(()=>require("./assets/css-Do0mp2lm.cjs")),Promise.resolve().then(()=>require("./assets/python-s9jfVbew.cjs")),Promise.resolve().then(()=>require("./assets/bash-DYWjN7qW.cjs")),Promise.resolve().then(()=>require("./assets/yaml-XVBmpKh-.cjs")),Promise.resolve().then(()=>require("./assets/sql-DhUUVgH1.cjs")),Promise.resolve().then(()=>require("./assets/java--6gf61wy.cjs")),Promise.resolve().then(()=>require("./assets/go-j_hH531s.cjs")),Promise.resolve().then(()=>require("./assets/jsx-DLX6UGgg.cjs")),Promise.resolve().then(()=>require("./assets/tsx-DIpfUf9u.cjs")),Promise.resolve().then(()=>require("./assets/vue-HUYrLYE5.cjs")),Promise.resolve().then(()=>require("./assets/scss-CKlduTMv.cjs"))];let Mo=null,Po=null;async function du(){return Mo||(Po||(Po=Kk({themes:[mS],langs:gS,engine:dS(Promise.resolve().then(()=>require("./assets/wasm-Dw4u1m6u.cjs")))}).then(e=>(Mo=e,e))),Po)}async function wm(e,t){const r=await du(),i=r.getLoadedLanguages().includes(t)?t:"text";try{return r.codeToHtml(e,{lang:i,theme:"github-light"})}catch{return`<pre><code>${e.replace(/</g,"<").replace(/>/g,">")}</code></pre>`}}async function xS(){return(await du()).getLoadedLanguages()}let Ea=null;function _a(){if(Ea)return Ea;const e=document.createElement("div");document.body.appendChild(e);const t=v.ref(null);return v.createApp({setup:()=>()=>v.h(jd,{ref:t})}).mount(e),Ea={show:(n,i="info",a=2e3)=>{setTimeout(()=>{var s;return(s=t.value)==null?void 0:s.show(n,i,a)},0)},hide:()=>{var n;return(n=t.value)==null?void 0:n.hide()}},Ea}const En={success:(e,t=2e3)=>_a().show(e,"success",t),error:(e,t=2e3)=>_a().show(e,"error",t),warning:(e,t=2e3)=>_a().show(e,"warning",t),info:(e,t=2e3)=>_a().show(e,"info",t)},yS=v.defineComponent({__name:"Anchor",props:{href:{},alwaysVisible:{type:Boolean}},setup(e){const t=e,r=v.ref(!1);async function n(i){i.preventDefault(),i.stopPropagation();const a=`${window.location.origin}${window.location.pathname}#${t.href}`;await Es(a)?(r.value=!0,En.success("链接已复制"),setTimeout(()=>{r.value=!1},2e3)):En.error("复制失败")}return(i,a)=>(v.openBlock(),v.createElementBlock("span",{class:"md-anchor",onClick:n},[v.createVNode(Hd,{content:r.value?"已复制":"复制链接",position:"top"},{default:v.withCtx(()=>[v.createElementVNode("span",{class:v.normalizeClass(["md-anchor__icon",{"md-anchor__icon--visible":e.alwaysVisible}])},[v.createVNode(vt,{name:"link",size:14})],2)]),_:1},8,["content"])]))}}),km=je(yS,[["__scopeId","data-v-c48dbf36"]]),vS=["aria-checked","aria-disabled","tabindex","onKeydown"],bS={class:"md-checkbox__inner"},wS={key:0,class:"md-checkbox__icon",viewBox:"0 0 16 16",fill:"none"},kS={key:1,class:"md-checkbox__icon",viewBox:"0 0 16 16",fill:"none"},SS={key:0,class:"md-checkbox__label"},CS=v.defineComponent({__name:"Checkbox",props:{modelValue:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(e,{emit:t}){const r=e,n=t;function i(){if(r.disabled)return;const a=!r.modelValue;n("update:modelValue",a),n("change",a)}return(a,s)=>(v.openBlock(),v.createElementBlock("span",{class:v.normalizeClass(["md-checkbox",{"md-checkbox--checked":e.modelValue,"md-checkbox--disabled":e.disabled,"md-checkbox--indeterminate":e.indeterminate}]),role:"checkbox","aria-checked":e.indeterminate?"mixed":e.modelValue,"aria-disabled":e.disabled,tabindex:e.disabled?-1:0,onClick:i,onKeydown:[v.withKeys(v.withModifiers(i,["prevent"]),["space"]),v.withKeys(i,["enter"])]},[v.createElementVNode("span",bS,[e.modelValue&&!e.indeterminate?(v.openBlock(),v.createElementBlock("svg",wS,[...s[0]||(s[0]=[v.createElementVNode("path",{d:"M3.5 8L6.5 11L12.5 5",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):e.indeterminate?(v.openBlock(),v.createElementBlock("svg",kS,[...s[1]||(s[1]=[v.createElementVNode("path",{d:"M4 8H12",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)])])):v.createCommentVNode("",!0)]),a.$slots.default?(v.openBlock(),v.createElementBlock("span",SS,[v.renderSlot(a.$slots,"default",{},void 0,!0)])):v.createCommentVNode("",!0)],42,vS))}}),Sm=je(CS,[["__scopeId","data-v-8fcb2b90"]]),ES={key:0,class:"md-tag__prefix"},_S={class:"md-tag__content"},AS=v.defineComponent({__name:"Tag",props:{size:{default:"default"},type:{default:"light"},color:{default:"default"},closable:{type:Boolean,default:!1}},emits:["click","close"],setup(e,{emit:t}){const r=e,n=t,i=v.ref(!0),a={default:{bg:"#f1f5f9",text:"#475569",border:"#e2e8f0"},primary:{bg:"#eff6ff",text:"#2563eb",border:"#bfdbfe"},success:{bg:"#f0fdf4",text:"#16a34a",border:"#bbf7d0"},warning:{bg:"#fffbeb",text:"#d97706",border:"#fde68a"},danger:{bg:"#fef2f2",text:"#dc2626",border:"#fecaca"},info:{bg:"#f0f9ff",text:"#0284c7",border:"#bae6fd"}},s=v.computed(()=>{const u=a[r.color];return r.type==="solid"?{background:u.text,color:"#fff",borderColor:u.text}:r.type==="ghost"?{background:"transparent",color:u.text,borderColor:u.text}:{background:u.bg,color:u.text,borderColor:u.border}});function l(){n("close"),i.value=!1}return(u,c)=>i.value?(v.openBlock(),v.createElementBlock("span",{key:0,class:v.normalizeClass(["md-tag",[`md-tag--${e.size}`,`md-tag--${e.type}`,`md-tag--${e.color}`,{"md-tag--closable":e.closable}]]),style:v.normalizeStyle(s.value),onClick:c[0]||(c[0]=p=>u.$emit("click",p))},[u.$slots.prefix?(v.openBlock(),v.createElementBlock("span",ES,[v.renderSlot(u.$slots,"prefix",{},void 0,!0)])):v.createCommentVNode("",!0),v.createElementVNode("span",_S,[v.renderSlot(u.$slots,"default",{},void 0,!0)]),e.closable?(v.openBlock(),v.createElementBlock("span",{key:1,class:"md-tag__close",onClick:v.withModifiers(l,["stop"])},[v.createVNode(vt,{name:"x",size:12})])):v.createCommentVNode("",!0)],6)):v.createCommentVNode("",!0)}}),TS=je(AS,[["__scopeId","data-v-6fba1055"]]),IS=["aria-orientation"],NS=v.defineComponent({__name:"Divider",props:{layout:{default:"horizontal"},dashed:{type:Boolean,default:!1},align:{default:"center"},margin:{}},setup(e){const t=e,r=v.useSlots(),n=v.computed(()=>!!r.default),i=v.computed(()=>{const a={};if(t.margin!==void 0){const s=typeof t.margin=="number"?`${t.margin}px`:t.margin;t.layout==="vertical"?(a.marginLeft=s,a.marginRight=s):(a.marginTop=s,a.marginBottom=s)}return a});return(a,s)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["md-divider",[`md-divider--${e.layout}`,{"md-divider--dashed":e.dashed,"md-divider--with-text":n.value}]]),style:v.normalizeStyle(i.value),role:"separator","aria-orientation":e.layout},[n.value&&e.layout==="horizontal"?(v.openBlock(),v.createElementBlock("span",{key:0,class:v.normalizeClass(["md-divider__text",`md-divider__text--${e.align}`])},[v.renderSlot(a.$slots,"default",{},void 0,!0)],2)):v.createCommentVNode("",!0)],14,IS))}}),MS=je(NS,[["__scopeId","data-v-e95f7b5f"]]),mu=Symbol("HeadingCollapse");function Cm(){const e=v.ref(new Set),n={collapsedIds:e,toggle:i=>{const a=new Set(e.value);a.has(i)?a.delete(i):a.add(i),e.value=a},isCollapsed:i=>e.value.has(i)};return v.provide(mu,n),n}function Em(){return v.inject(mu,null)}function Ah(){return Math.random().toString(36).slice(2,8)}function gu(e){const t=e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\u4e00-\u9fa5-]/g,"").slice(0,20);return t?`${t}-${Ah()}`:`heading-${Ah()}`}function Th(e,t,r){let n=e.nextElementSibling;for(;n;){const i=n.tagName.toLowerCase();if(/^h[1-6]$/.test(i)&&parseInt(i[1])<=t)break;const a=n;r?(a.setAttribute("data-collapsed","true"),a.style.display="none"):(a.removeAttribute("data-collapsed"),a.style.display=""),n=n.nextElementSibling}}const PS={class:"md-heading__text"},BS=v.defineComponent({inheritAttrs:!1,__name:"Heading",props:{level:{default:1},showAnchor:{type:Boolean,default:!1}},setup(e){const t=e,r=v.useSlots(),n=v.ref(),i=Em(),a=v.computed(()=>`h${t.level}`),s=v.computed(()=>`md-heading--h${t.level}`),l=(()=>{var m;const p=(m=r.default)==null?void 0:m.call(r),h=p?Gn(p):"";return gu(h)})(),u=v.computed(()=>i?i.isCollapsed(l):!1);function c(){!i||!n.value||(i.toggle(l),v.nextTick(()=>{n.value&&Th(n.value,t.level,i.isCollapsed(l))}))}return v.watch(u,p=>{v.nextTick(()=>{n.value&&Th(n.value,t.level,p)})}),(p,h)=>(v.openBlock(),v.createBlock(v.resolveDynamicComponent(a.value),v.mergeProps({ref_key:"headingRef",ref:n,id:v.unref(l),class:["md-heading",[s.value,{"md-heading--collapsed":u.value}]]},p.$attrs),{default:v.withCtx(()=>[v.createElementVNode("span",{class:"md-heading__toggle",onClick:v.withModifiers(c,["stop","prevent"])},[v.createVNode(v.unref(vt),{name:u.value?"chevron-right":"chevron-down",size:14},null,8,["name"])]),v.createElementVNode("span",PS,[v.renderSlot(p.$slots,"default",{},void 0,!0)]),e.showAnchor?(v.openBlock(),v.createBlock(v.unref(km),{key:0,href:v.unref(l)},null,8,["href"])):v.createCommentVNode("",!0)]),_:3},16,["id","class"]))}}),xu=je(BS,[["__scopeId","data-v-a14f41d1"]]),LS=v.defineComponent({__name:"List",props:{ordered:{type:Boolean,default:!1}},setup(e){const r=e.ordered?"ol":"ul";return(n,i)=>(v.openBlock(),v.createBlock(v.resolveDynamicComponent(v.unref(r)),{class:v.normalizeClass(["md-list",`md-list--${v.unref(r)}`])},{default:v.withCtx(()=>[v.renderSlot(n.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Ns=je(LS,[["__scopeId","data-v-3e327a80"]]),RS=["href","target","rel"],DS=v.defineComponent({inheritAttrs:!1,__name:"Link",props:{href:{},showExternalIcon:{type:Boolean,default:!0}},setup(e){const t=e,r=v.computed(()=>t.href?t.href.startsWith("http://")||t.href.startsWith("https://"):!1),n=v.computed(()=>r.value?"_blank":void 0),i=v.computed(()=>r.value?"noopener noreferrer":void 0);return(a,s)=>(v.openBlock(),v.createElementBlock("a",v.mergeProps({class:["md-link",{"md-link--external":r.value}],href:e.href,target:n.value,rel:i.value},a.$attrs),[v.renderSlot(a.$slots,"default",{},void 0,!0),r.value&&e.showExternalIcon?(v.openBlock(),v.createBlock(v.unref(vt),{key:0,name:"external-link",size:12,class:"md-link__icon"})):v.createCommentVNode("",!0)],16,RS))}}),_m=je(DS,[["__scopeId","data-v-7a7ee4da"]]),FS=v.defineComponent({inheritAttrs:!1,__name:"Paragraph",setup(e){return(t,r)=>(v.openBlock(),v.createElementBlock("p",v.mergeProps({class:"md-paragraph"},t.$attrs),[v.renderSlot(t.$slots,"default",{},void 0,!0)],16))}}),Am=je(FS,[["__scopeId","data-v-e4b3a92f"]]),zS={class:"md-figure"},OS={class:"md-figure__mask"},VS={key:0,class:"md-figure__caption"},jS=v.defineComponent({__name:"MdImage",props:{src:{},alt:{}},setup(e){const t=v.ref(!1);return(r,n)=>(v.openBlock(),v.createElementBlock("figure",zS,[v.createElementVNode("div",{class:"md-figure__image",onClick:n[0]||(n[0]=i=>t.value=!0)},[v.createVNode(v.unref(Od),{src:e.src,alt:e.alt,width:"100%",fit:"contain"},null,8,["src","alt"]),v.createElementVNode("div",OS,[v.createVNode(v.unref(vt),{name:"zoom-in",size:32})])]),e.alt?(v.openBlock(),v.createElementBlock("figcaption",VS,v.toDisplayString(e.alt),1)):v.createCommentVNode("",!0),v.createVNode(v.unref(Vd),{visible:t.value,src:e.src||"",title:e.alt,onClose:n[1]||(n[1]=i=>t.value=!1)},null,8,["visible","src","title"])]))}}),Tm=je(jS,[["__scopeId","data-v-59322efc"]]),qS={},HS={class:"md-inline-code"};function US(e,t){return v.openBlock(),v.createElementBlock("code",HS,[v.renderSlot(e.$slots,"default",{},void 0,!0)])}const Im=je(qS,[["render",US],["__scopeId","data-v-a1280341"]]),$S=v.defineComponent({__name:"ListItem",props:{checked:{type:[Boolean,null]}},setup(e){const t=e,r=v.computed(()=>typeof t.checked=="boolean");return(n,i)=>(v.openBlock(),v.createElementBlock("li",{class:v.normalizeClass(["md-list-item",{"md-list-item--task":r.value}])},[r.value?(v.openBlock(),v.createBlock(v.unref(Sm),{key:0,modelValue:e.checked,disabled:!0,class:"md-list-item__checkbox"},null,8,["modelValue"])):v.createCommentVNode("",!0),v.createElementVNode("span",{class:v.normalizeClass({"md-list-item__content":r.value,"md-list-item__content--checked":r.value&&e.checked})},[v.renderSlot(n.$slots,"default",{},void 0,!0)],2)],2))}}),Oi=je($S,[["__scopeId","data-v-276797ff"]]),GS=v.defineComponent({__name:"HorizontalRule",props:{dashed:{type:Boolean,default:!1}},setup(e){return(t,r)=>(v.openBlock(),v.createElementBlock("hr",{class:v.normalizeClass(["md-hr",{"md-hr--dashed":e.dashed}])},null,2))}}),Vi=je(GS,[["__scopeId","data-v-af92b102"]]),JS={},WS={class:"md-strong"};function XS(e,t){return v.openBlock(),v.createElementBlock("strong",WS,[v.renderSlot(e.$slots,"default",{},void 0,!0)])}const ji=je(JS,[["render",XS],["__scopeId","data-v-c59b0755"]]),YS={},KS={class:"md-em"};function QS(e,t){return v.openBlock(),v.createElementBlock("em",KS,[v.renderSlot(e.$slots,"default",{},void 0,!0)])}const qi=je(YS,[["render",QS],["__scopeId","data-v-d0acaae2"]]),ZS={},eC={class:"md-del"};function tC(e,t){return v.openBlock(),v.createElementBlock("del",eC,[v.renderSlot(e.$slots,"default",{},void 0,!0)])}const Hi=je(ZS,[["render",tC],["__scopeId","data-v-43b75c80"]]),rC={},nC={class:"md-mark"};function iC(e,t){return v.openBlock(),v.createElementBlock("mark",nC,[v.renderSlot(e.$slots,"default",{},void 0,!0)])}const as=je(rC,[["render",iC],["__scopeId","data-v-148195ab"]]),aC={class:"md-block-header"},sC={class:"md-block-header__label"},oC={class:"md-block-header__actions"},lC=["title"],uC=v.defineComponent({__name:"BlockHeader",props:{label:{},copyable:{type:Boolean}},emits:["copy"],setup(e,{expose:t,emit:r}){const n=r,i=v.ref(!1);function a(){n("copy"),i.value=!0,setTimeout(()=>{i.value=!1},2e3)}return t({copied:i}),(s,l)=>(v.openBlock(),v.createElementBlock("div",aC,[v.createElementVNode("span",sC,v.toDisplayString(e.label),1),v.createElementVNode("div",oC,[v.renderSlot(s.$slots,"extra",{},void 0,!0),v.renderSlot(s.$slots,"actions",{},void 0,!0),e.copyable?(v.openBlock(),v.createElementBlock("button",{key:0,class:"md-block-header__btn",title:i.value?"已复制":"复制",onClick:a},[i.value?(v.openBlock(),v.createBlock(v.unref(vt),{key:1,name:"check",size:14})):(v.openBlock(),v.createBlock(v.unref(vt),{key:0,name:"copy",size:14}))],8,lC)):v.createCommentVNode("",!0)])]))}}),Ms=je(uC,[["__scopeId","data-v-121723d1"]]),cC=["title"],hC={key:0,class:"md-code-block__lines","aria-hidden":"true"},pC=["innerHTML"],fC=v.defineComponent({__name:"CodeBlock",props:{className:{},showLineNumbers:{type:Boolean,default:!1},collapsible:{type:[Boolean,String],default:"auto"},maxHeight:{default:400},maxLines:{default:15},defaultExpanded:{type:Boolean,default:!1}},setup(e){const t=e,r=v.useSlots(),n=v.ref(),i=v.ref(""),a=v.ref(""),s=v.ref("text"),l=v.ref(1),u=v.ref(t.defaultExpanded),c=v.computed(()=>s.value||"text"),p=v.computed(()=>t.collapsible===!0?!0:t.collapsible===!1?!1:l.value>t.maxLines),h=v.computed(()=>!p.value||u.value?{maxHeight:"none"}:{maxHeight:`${t.maxHeight}px`}),m=()=>{u.value=!u.value};async function d(_,S){const A=$d(S);return wm(_,A)}async function b(){var N;const _=(N=r.default)==null?void 0:N.call(r);if(!_)return;let S=Gn(_);S=Gd(S),a.value=S,l.value=S.split(`
|
|
527
|
+
`).length;let A=Wa(_);if(A==="text"&&t.className){const F=t.className.match(/language-(\w+)/);F&&(A=F[1])}s.value=A,i.value=await d(S,A)}v.onMounted(b),v.watch(()=>{var _;return(_=r.default)==null?void 0:_.call(r)},b,{deep:!0});async function k(){await Es(a.value)?En.success("复制成功"):En.error("复制失败")}return(_,S)=>(v.openBlock(),v.createElementBlock("div",{class:v.normalizeClass(["md-code-block",{"md-code-block--expanded":u.value}])},[v.createVNode(Ms,{label:c.value,copyable:"",onCopy:k},v.createSlots({_:2},[p.value?{name:"extra",fn:v.withCtx(()=>[v.createElementVNode("button",{class:"md-code-block__toggle",onClick:m,title:u.value?"收起":"展开"},[v.createVNode(v.unref(vt),{name:u.value?"chevron-up":"chevron-down",size:14},null,8,["name"])],8,cC)]),key:"0"}:void 0]),1032,["label"]),v.createElementVNode("div",{ref_key:"bodyRef",ref:n,class:"md-code-block__body",style:v.normalizeStyle(h.value)},[e.showLineNumbers?(v.openBlock(),v.createElementBlock("div",hC,[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(l.value,A=>(v.openBlock(),v.createElementBlock("span",{key:A,class:"md-code-block__line-number"},v.toDisplayString(A),1))),128))])):v.createCommentVNode("",!0),v.createElementVNode("div",{class:"md-code-block__code",innerHTML:i.value},null,8,pC)],4)],2))}}),yu=je(fC,[["__scopeId","data-v-680c99ea"]]),dC={class:"md-table"},mC=v.defineComponent({__name:"Table",setup(e){const t=v.ref();async function r(){if(!t.value)return;const n=t.value.querySelector("table");if(!n)return;const a=Array.from(n.querySelectorAll("tr")).map(l=>Array.from(l.querySelectorAll("th, td")).map(c=>{var p;return((p=c.textContent)==null?void 0:p.trim())||""}).join(" ")).join(`
|
|
528
|
+
`);await Es(a)?En.success("复制成功"):En.error("复制失败")}return(n,i)=>(v.openBlock(),v.createElementBlock("div",dC,[v.createVNode(Ms,{label:"表格",copyable:"",onCopy:r}),v.createElementVNode("div",{class:"md-table__body",ref_key:"tableRef",ref:t},[v.createElementVNode("table",null,[v.renderSlot(n.$slots,"default",{},void 0,!0)])],512)]))}}),vu=je(mC,[["__scopeId","data-v-974248dc"]]),gC=v.defineComponent({__name:"Blockquote",props:{collapsible:{type:[Boolean,String],default:"auto"},maxHeight:{default:150},defaultExpanded:{type:Boolean,default:!1}},setup(e){const t=e,r=v.ref(),n=v.ref(0),i=v.ref(t.defaultExpanded),a=v.computed(()=>t.collapsible===!0?!0:t.collapsible===!1?!1:n.value>t.maxHeight),s=v.computed(()=>!a.value||i.value?{}:{maxHeight:`${t.maxHeight}px`,overflow:"hidden"});v.onMounted(()=>{v.nextTick(()=>{if(r.value){const u=r.value.querySelector(".md-blockquote__content");u&&(n.value=u.scrollHeight)}})});function l(){i.value=!i.value}return(u,c)=>(v.openBlock(),v.createElementBlock("blockquote",{ref_key:"blockquoteRef",ref:r,class:v.normalizeClass(["md-blockquote",{"md-blockquote--collapsible":a.value,"md-blockquote--collapsed":a.value&&!i.value}])},[v.createElementVNode("div",{class:"md-blockquote__content",style:v.normalizeStyle(s.value)},[v.renderSlot(u.$slots,"default",{},void 0,!0)],4),a.value?(v.openBlock(),v.createElementBlock("div",{key:0,class:"md-blockquote__toggle",onClick:l},[v.createElementVNode("span",null,v.toDisplayString(i.value?"收起":"展开更多"),1),v.createVNode(v.unref(vt),{name:i.value?"chevron-up":"chevron-down",size:16},null,8,["name"])])):v.createCommentVNode("",!0)],2))}}),bu=je(gC,[["__scopeId","data-v-277128d9"]]),xC={class:"md-toc-inner"},yC={class:"md-toc-nav"},vC=["href","title","onClick"],bC={class:"md-toc-link-text"},wu=v.defineComponent({__name:"Toc",props:{items:{},docTitle:{},minLevel:{default:2},maxLevel:{default:4},activeId:{},mode:{default:"sidebar"},className:{},scrollContainer:{}},emits:["click","update:activeId"],setup(e,{emit:t}){const r=e,n=t,i=v.computed(()=>r.items.filter(m=>m.level>=r.minLevel&&m.level<=r.maxLevel)),a=v.computed(()=>{const m=["md-toc",`md-toc-${r.mode}`];return r.className&&m.push(r.className),m}),s=v.ref(r.activeId||"");v.watch(()=>r.activeId,m=>{m!==void 0&&(s.value=m)});const l=v.computed(()=>s.value);function u(m,d){d.preventDefault();const b=document.getElementById(m.id);b&&(s.value=m.id,n("update:activeId",m.id),n("click",m),b.scrollIntoView({behavior:"smooth",block:"start"}),history.replaceState(null,"",`#${m.id}`))}let c=null;const p=v.ref(new Map);function h(){c&&(c.disconnect(),c=null),i.value.length!==0&&(c=new IntersectionObserver(m=>{m.forEach(b=>{const k=b.target.id;b.isIntersecting?p.value.set(k,1):p.value.delete(k)});let d=null;for(const b of i.value){const k=document.getElementById(b.id);if(!k)continue;if(k.getBoundingClientRect().top<=100)d=b;else break}!d&&i.value.length>0&&(d=i.value[0]),d&&s.value!==d.id&&(s.value=d.id,n("update:activeId",d.id))},{root:r.scrollContainer||null,rootMargin:"0px",threshold:0}),i.value.forEach(m=>{const d=document.getElementById(m.id);d&&c&&c.observe(d)}))}return v.watch(()=>r.scrollContainer,()=>{v.nextTick(()=>{h()})}),v.watch(()=>r.items,()=>{v.nextTick(()=>{h()})},{deep:!0,flush:"post"}),v.onMounted(()=>{v.nextTick(()=>{h()})}),v.onUnmounted(()=>{c&&(c.disconnect(),c=null)}),(m,d)=>(v.openBlock(),v.createElementBlock("aside",{class:v.normalizeClass(a.value)},[v.createElementVNode("div",xC,[v.createElementVNode("nav",yC,[(v.openBlock(!0),v.createElementBlock(v.Fragment,null,v.renderList(i.value,b=>(v.openBlock(),v.createElementBlock("a",{key:b.id,href:`#${b.id}`,class:v.normalizeClass(["md-toc-link",`md-toc-link--level-${b.level}`,{"md-toc-link--active":l.value===b.id}]),style:v.normalizeStyle({paddingLeft:`${(b.level-r.minLevel)*12}px`}),title:b.text,onClick:k=>u(b,k)},[v.createElementVNode("span",bC,v.toDisplayString(b.text),1)],14,vC))),128))])])],2))}});function li(e){return v.defineComponent({name:`MdH${e}`,inheritAttrs:!1,setup(t,{attrs:r,slots:n}){return()=>v.h(xu,{...r,level:e},n)}})}const Nm=li(1),Mm=li(2),Pm=li(3),Bm=li(4),Lm=li(5),Rm=li(6),ku=v.defineComponent({name:"MdUl",setup(e,{slots:t}){return()=>v.h(Ns,{ordered:!1},t)}}),Su=v.defineComponent({name:"MdOl",setup(e,{slots:t}){return()=>v.h(Ns,{ordered:!0},t)}}),wC=Object.freeze(Object.defineProperty({__proto__:null,BlockHeader:Ms,Blockquote:bu,CodeBlock:yu,Delete:Hi,Emphasis:qi,Heading:xu,HorizontalRule:Vi,List:Ns,ListItem:Oi,Mark:as,Strong:ji,Table:vu,Toc:wu,a:_m,code:Im,del:Hi,em:qi,h1:Nm,h2:Mm,h3:Pm,h4:Bm,h5:Lm,h6:Rm,hr:Vi,img:Tm,li:Oi,mark:as,ol:Su,p:Am,strong:ji,ul:ku},Symbol.toStringTag,{value:"Module"})),Dm=v.defineComponent({__name:"MarkdownRender",props:{raw:{default:""},components:{default:()=>({})},format:{default:"mdx"},remarkPlugins:{},rehypePlugins:{},remarkGfm:{type:Boolean,default:!0},style:{},className:{},prefix:{default:"md"},theme:{default:"light"},height:{},maxHeight:{},showToc:{type:Boolean,default:!1},tocMinLevel:{default:2},tocMaxLevel:{default:4},docTitle:{},tocMode:{default:"sidebar"},showBackTop:{type:Boolean,default:!1},backTopThreshold:{default:300}},emits:["rendered","error","toc-change","scroll-to-top","toc-click"],setup(e,{emit:t}){Cm();const r=e,n=t,i=v.computed(()=>`${r.prefix}-render`),a=v.ref("div"),s=v.ref(!0),l=v.ref(null),u=v.ref(null),c=v.ref([]),p=v.ref(""),h=v.ref(!1),m=v.computed(()=>!!(r.height||r.maxHeight)),d=v.computed(()=>m.value?l.value:null),b=v.computed(()=>{const J=[i.value];return r.theme==="dark"&&J.push(`${i.value}--dark`),m.value&&J.push(`${i.value}--scrollable`),r.className&&J.push(r.className),J.join(" ")}),k=v.computed(()=>{const J=[];return r.showToc&&J.push("md-render-layout"),J}),_=v.computed(()=>{const J={...r.style};return r.height&&(J.height=r.height),r.maxHeight&&(J.maxHeight=r.maxHeight),J}),S=v.computed(()=>{const J={pre:yu,table:vu,blockquote:bu,ul:ku,ol:Su,li:Oi,hr:Vi,strong:ji,em:qi,del:Hi},W={...wC,...r.components};return Object.keys(W).forEach(ae=>{const Q=W[ae];typeof Q=="function"&&!Q.setup&&!Q.render?J[ae]={name:`MDX${ae.charAt(0).toUpperCase()+ae.slice(1)}`,props:Object.keys(Object.getOwnPropertyDescriptors(Q)).length>0?["children",...Object.keys(Q)]:void 0,setup(Z,{slots:me}){return()=>Q(Z,{slots:me})}}:J[ae]||(J[ae]=Q)}),J});function A(){const J=[...r.remarkPlugins??[]];r.remarkGfm&&J.unshift(Pv),J.push(qb);const W=[...r.rehypePlugins??[]];return W.push(b8),{remarkPlugins:J,rehypePlugins:W,format:r.format,useDynamicImport:!1,baseUrl:typeof window<"u"?window.location.href:"https://example.com"}}async function N(J){if(!J){a.value="div",s.value=!1,n("rendered");return}s.value=!0;try{const W=await C5(J,{...A(),...d1});a.value=W.default}catch(W){console.error("Markdown 渲染错误:",W);const ae=W instanceof Error?W:new Error(String(W));n("error",ae),a.value=()=>v.h("div",{style:"padding: 20px; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; background: #fef2f2;"},[v.h("h3",{style:"margin: 0 0 8px; font-size: 16px;"},"Markdown 渲染错误"),v.h("pre",{style:"white-space: pre-wrap; font-size: 12px; margin: 0;"},ae.message)])}finally{s.value=!1}}function F(){u.value&&v.nextTick(()=>{var ae;const J=((ae=u.value)==null?void 0:ae.querySelectorAll("h1, h2, h3, h4, h5, h6"))||[],W=[];J.forEach(Q=>{var me,xe;const Z=parseInt(Q.tagName[1],10);if(Z>=r.tocMinLevel&&Z<=r.tocMaxLevel){let Be=Q.id;const Ve=Q.querySelector(".md-heading__text"),z=((me=Ve==null?void 0:Ve.textContent)==null?void 0:me.trim())||((xe=Q.textContent)==null?void 0:xe.trim())||"";if(!Be&&z&&(Be=gu(z),Q.id=Be),!Be)return;W.push({level:Z,text:z,id:Be})}}),c.value=W,n("toc-change",W),n("rendered")})}function P(){return m.value&&l.value?l.value.scrollTop:window.scrollY}function g(){r.showBackTop&&(h.value=P()>r.backTopThreshold)}function M(J){n("toc-click",J)}function V(){m.value&&l.value?l.value.scrollTo({top:0,behavior:"smooth"}):window.scrollTo({top:0,behavior:"smooth"}),n("scroll-to-top")}v.watch(s,J=>{J||F()});function U(){r.showBackTop&&((m.value&&l.value?l.value:window).addEventListener("scroll",g,{passive:!0}),g())}function j(){l.value&&l.value.removeEventListener("scroll",g),window.removeEventListener("scroll",g)}return v.onMounted(()=>{N(r.raw),v.nextTick(()=>{U()})}),v.onUnmounted(()=>{j()}),v.watch(()=>r.raw,N),(J,W)=>(v.openBlock(),v.createElementBlock("div",{ref_key:"wrapperRef",ref:l,class:v.normalizeClass(b.value),style:v.normalizeStyle(_.value)},[v.createElementVNode("div",{class:v.normalizeClass(k.value)},[v.createElementVNode("div",{ref_key:"contentRef",ref:u,class:"md-render-content"},[s.value?(v.openBlock(),v.createBlock(v.unref(zd),{key:0})):(v.openBlock(),v.createBlock(v.resolveDynamicComponent(a.value),v.normalizeProps(v.mergeProps({key:1},{components:S.value})),null,16))],512),e.showToc&&c.value.length>0?(v.openBlock(),v.createBlock(v.unref(wu),{key:0,items:c.value,"doc-title":e.docTitle,"min-level":e.tocMinLevel,"max-level":e.tocMaxLevel,"active-id":p.value,mode:e.tocMode,"scroll-container":d.value,onClick:M,"onUpdate:activeId":W[0]||(W[0]=ae=>p.value=ae)},null,8,["items","doc-title","min-level","max-level","active-id","mode","scroll-container"])):v.createCommentVNode("",!0)],2),v.createVNode(v.Transition,{name:"md-fade"},{default:v.withCtx(()=>[e.showBackTop&&h.value?(v.openBlock(),v.createElementBlock("button",{key:0,class:"md-render-back-top",onClick:V,title:"回到顶部"},[...W[1]||(W[1]=[v.createElementVNode("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[v.createElementVNode("polyline",{points:"18 15 12 9 6 15"})],-1)])])):v.createCommentVNode("",!0)]),_:1})],6))}}),Fm={install(e){e.component("MarkdownRender",Dm)}};exports.Anchor=km;exports.BlockHeader=Ms;exports.Blockquote=bu;exports.Checkbox=Sm;exports.CodeBlock=yu;exports.CollapseSection=B9;exports.Collapsible=qd;exports.Delete=Hi;exports.Divider=MS;exports.Emphasis=qi;exports.Heading=xu;exports.HeadingCollapseKey=mu;exports.HorizontalRule=Vi;exports.Icon=vt;exports.Image=Od;exports.ImagePreview=Vd;exports.LANGUAGE_ALIASES=Ud;exports.List=Ns;exports.ListItem=Oi;exports.Mark=as;exports.MarkdownRender=Dm;exports.Skeleton=zd;exports.Strong=ji;exports.Table=vu;exports.Tag=TS;exports.Toast=jd;exports.Toc=wu;exports.Tooltip=Hd;exports.VueMarkdownRender=Fm;exports.a=_m;exports.code=Im;exports.copyToClipboard=Es;exports.default=Fm;exports.del=Hi;exports.em=qi;exports.extractLanguageFromVNode=Wa;exports.extractTextFromVNode=Gn;exports.generateHeadingId=gu;exports.getHighlighter=du;exports.getLoadedLanguages=xS;exports.h1=Nm;exports.h2=Mm;exports.h3=Pm;exports.h4=Bm;exports.h5=Lm;exports.h6=Rm;exports.highlightCode=wm;exports.hr=Vi;exports.img=Tm;exports.li=Oi;exports.mark=as;exports.normalizeLanguage=$d;exports.ol=Su;exports.p=Am;exports.provideHeadingCollapse=Cm;exports.strong=ji;exports.toast=En;exports.trimCodeLines=Gd;exports.ul=ku;exports.useHeadingCollapse=Em;
|