@riebeckite/cli 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +71 -0
- package/README_ja.md +62 -0
- package/bin/riebeckite.mjs +2 -0
- package/dist/cli.cjs +476 -0
- package/dist/cli.js +755 -0
- package/package.json +48 -0
package/dist/cli.js
ADDED
|
@@ -0,0 +1,755 @@
|
|
|
1
|
+
import{createRequire as __createRequire}from'node:module';const require=__createRequire(import.meta.url);
|
|
2
|
+
var o8=Object.create;var Xl=Object.defineProperty;var u8=Object.getOwnPropertyDescriptor;var l8=Object.getOwnPropertyNames;var c8=Object.getPrototypeOf,f8=Object.prototype.hasOwnProperty;var vs=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var re=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Cs=(e,t)=>{for(var r in t)Xl(e,r,{get:t[r],enumerable:!0})},d8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of l8(t))!f8.call(e,i)&&i!==r&&Xl(e,i,{get:()=>t[i],enumerable:!(n=u8(t,i))||n.enumerable});return e};var Jl=(e,t,r)=>(r=e!=null?o8(c8(e)):{},d8(t||!e||!e.__esModule?Xl(r,"default",{value:e,enumerable:!0}):r,e));var c4=re((iz,wf)=>{(function(){var e;typeof wf<"u"?e=wf.exports=n:e=(function(){return this||(0,eval)("this")})(),e.format=n,e.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(e.printf=t);function t(){console.log(n.apply(null,arguments))}function r(i,a){return n.apply(null,[i].concat(a))}function n(i){for(var a=1,s=[].slice.call(arguments),o=0,u=i.length,l="",c,f=!1,m,p,y=!1,E,x=function(){return s[a++]},v=function(){for(var w="";/\d/.test(i[o]);)w+=i[o++],c=i[o];return w.length>0?parseInt(w):null};o<u;++o)if(c=i[o],f)switch(f=!1,c=="."?(y=!1,c=i[++o]):c=="0"&&i[o+1]=="."?(y=!0,o+=2,c=i[o]):y=!0,E=v(),c){case"b":l+=parseInt(x(),10).toString(2);break;case"c":m=x(),typeof m=="string"||m instanceof String?l+=m:l+=String.fromCharCode(parseInt(m,10));break;case"d":l+=parseInt(x(),10);break;case"f":p=String(parseFloat(x()).toFixed(E||6)),l+=y?p:p.replace(/^0/,"");break;case"j":l+=JSON.stringify(x());break;case"o":l+="0"+parseInt(x(),10).toString(8);break;case"s":l+=x();break;case"x":l+="0x"+parseInt(x(),10).toString(16);break;case"X":l+="0x"+parseInt(x(),10).toString(16).toUpperCase();break;default:l+=c;break}else c==="%"?f=!0:l+=c;return l}})()});var l6=re((qQ,u6)=>{"use strict";var ku=Object.prototype.hasOwnProperty,o6=Object.prototype.toString,t6=Object.defineProperty,r6=Object.getOwnPropertyDescriptor,n6=function(t){return typeof Array.isArray=="function"?Array.isArray(t):o6.call(t)==="[object Array]"},i6=function(t){if(!t||o6.call(t)!=="[object Object]")return!1;var r=ku.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&ku.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var i;for(i in t);return typeof i>"u"||ku.call(t,i)},a6=function(t,r){t6&&r.name==="__proto__"?t6(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},s6=function(t,r){if(r==="__proto__")if(ku.call(t,r)){if(r6)return r6(t,r).value}else return;return t[r]};u6.exports=function e(){var t,r,n,i,a,s,o=arguments[0],u=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},u=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});u<l;++u)if(t=arguments[u],t!=null)for(r in t)n=s6(o,r),i=s6(t,r),o!==i&&(c&&i&&(i6(i)||(a=n6(i)))?(a?(a=!1,s=n&&n6(n)?n:[]):s=n&&i6(n)?n:{},a6(o,{name:r,newValue:e(c,s,i)})):typeof i<"u"&&a6(o,{name:r,newValue:i}));return o}});var Ee=re(rt=>{"use strict";var qd=Symbol.for("yaml.alias"),m6=Symbol.for("yaml.document"),Iu=Symbol.for("yaml.map"),p6=Symbol.for("yaml.pair"),Ud=Symbol.for("yaml.scalar"),_u=Symbol.for("yaml.seq"),Br=Symbol.for("yaml.node.type"),mk=e=>!!e&&typeof e=="object"&&e[Br]===qd,pk=e=>!!e&&typeof e=="object"&&e[Br]===m6,gk=e=>!!e&&typeof e=="object"&&e[Br]===Iu,bk=e=>!!e&&typeof e=="object"&&e[Br]===p6,g6=e=>!!e&&typeof e=="object"&&e[Br]===Ud,yk=e=>!!e&&typeof e=="object"&&e[Br]===_u;function b6(e){if(e&&typeof e=="object")switch(e[Br]){case Iu:case _u:return!0}return!1}function Ek(e){if(e&&typeof e=="object")switch(e[Br]){case qd:case Iu:case Ud:case _u:return!0}return!1}var xk=e=>(g6(e)||b6(e))&&!!e.anchor;rt.ALIAS=qd;rt.DOC=m6;rt.MAP=Iu;rt.NODE_TYPE=Br;rt.PAIR=p6;rt.SCALAR=Ud;rt.SEQ=_u;rt.hasAnchor=xk;rt.isAlias=mk;rt.isCollection=b6;rt.isDocument=pk;rt.isMap=gk;rt.isNode=Ek;rt.isPair=bk;rt.isScalar=g6;rt.isSeq=yk});var Fa=re(Hd=>{"use strict";var Qe=Ee(),vt=Symbol("break visit"),y6=Symbol("skip children"),mr=Symbol("remove node");function Lu(e,t){let r=E6(t);Qe.isDocument(e)?Ai(null,e.contents,r,Object.freeze([e]))===mr&&(e.contents=null):Ai(null,e,r,Object.freeze([]))}Lu.BREAK=vt;Lu.SKIP=y6;Lu.REMOVE=mr;function Ai(e,t,r,n){let i=x6(e,t,r,n);if(Qe.isNode(i)||Qe.isPair(i))return T6(e,n,i),Ai(e,i,r,n);if(typeof i!="symbol"){if(Qe.isCollection(t)){n=Object.freeze(n.concat(t));for(let a=0;a<t.items.length;++a){let s=Ai(a,t.items[a],r,n);if(typeof s=="number")a=s-1;else{if(s===vt)return vt;s===mr&&(t.items.splice(a,1),a-=1)}}}else if(Qe.isPair(t)){n=Object.freeze(n.concat(t));let a=Ai("key",t.key,r,n);if(a===vt)return vt;a===mr&&(t.key=null);let s=Ai("value",t.value,r,n);if(s===vt)return vt;s===mr&&(t.value=null)}}return i}async function Pu(e,t){let r=E6(t);Qe.isDocument(e)?await wi(null,e.contents,r,Object.freeze([e]))===mr&&(e.contents=null):await wi(null,e,r,Object.freeze([]))}Pu.BREAK=vt;Pu.SKIP=y6;Pu.REMOVE=mr;async function wi(e,t,r,n){let i=await x6(e,t,r,n);if(Qe.isNode(i)||Qe.isPair(i))return T6(e,n,i),wi(e,i,r,n);if(typeof i!="symbol"){if(Qe.isCollection(t)){n=Object.freeze(n.concat(t));for(let a=0;a<t.items.length;++a){let s=await wi(a,t.items[a],r,n);if(typeof s=="number")a=s-1;else{if(s===vt)return vt;s===mr&&(t.items.splice(a,1),a-=1)}}}else if(Qe.isPair(t)){n=Object.freeze(n.concat(t));let a=await wi("key",t.key,r,n);if(a===vt)return vt;a===mr&&(t.key=null);let s=await wi("value",t.value,r,n);if(s===vt)return vt;s===mr&&(t.value=null)}}return i}function E6(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function x6(e,t,r,n){if(typeof r=="function")return r(e,t,n);if(Qe.isMap(t))return r.Map?.(e,t,n);if(Qe.isSeq(t))return r.Seq?.(e,t,n);if(Qe.isPair(t))return r.Pair?.(e,t,n);if(Qe.isScalar(t))return r.Scalar?.(e,t,n);if(Qe.isAlias(t))return r.Alias?.(e,t,n)}function T6(e,t,r){let n=t[t.length-1];if(Qe.isCollection(n))n.items[e]=r;else if(Qe.isPair(n))e==="key"?n.key=r:n.value=r;else if(Qe.isDocument(n))n.contents=r;else{let i=Qe.isAlias(n)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}Hd.visit=Lu;Hd.visitAsync=Pu});var zd=re(C6=>{"use strict";var v6=Ee(),Tk=Fa(),vk={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Ck=e=>e.replace(/[!,[\]{}]/g,t=>vk[t]),Ba=class e{constructor(t,r){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,r)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,r){this.atNextDocument&&(this.yaml={explicit:e.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},e.defaultTags),this.atNextDocument=!1);let n=t.trim().split(/[ \t]+/),i=n.shift();switch(i){case"%TAG":{if(n.length!==2&&(r(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[a,s]=n;return this.tags[a]=s,!0}case"%YAML":{if(this.yaml.explicit=!0,n.length!==1)return r(0,"%YAML directive should contain exactly one part"),!1;let[a]=n;if(a==="1.1"||a==="1.2")return this.yaml.version=a,!0;{let s=/^\d+\.\d+$/.test(a);return r(6,`Unsupported YAML version ${a}`,s),!1}}default:return r(0,`Unknown directive ${i}`,!0),!1}}tagName(t,r){if(t==="!")return"!";if(t[0]!=="!")return r(`Not a valid tag: ${t}`),null;if(t[1]==="<"){let s=t.slice(2,-1);return s==="!"||s==="!!"?(r(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&r("Verbatim tags must end with a >"),s)}let[,n,i]=t.match(/^(.*!)([^!]*)$/s);i||r(`The ${t} tag has no suffix`);let a=this.tags[n];if(a)try{return a+decodeURIComponent(i)}catch(s){return r(String(s)),null}return n==="!"?t:(r(`Could not resolve tag: ${t}`),null)}tagString(t){for(let[r,n]of Object.entries(this.tags))if(t.startsWith(n))return r+Ck(t.substring(n.length));return t[0]==="!"?t:`!<${t}>`}toString(t){let r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags),i;if(t&&n.length>0&&v6.isNode(t.contents)){let a={};Tk.visit(t.contents,(s,o)=>{v6.isNode(o)&&o.tag&&(a[o.tag]=!0)}),i=Object.keys(a)}else i=[];for(let[a,s]of n)a==="!!"&&s==="tag:yaml.org,2002:"||(!t||i.some(o=>o.startsWith(s)))&&r.push(`%TAG ${a} ${s}`);return r.join(`
|
|
3
|
+
`)}};Ba.defaultYaml={explicit:!1,version:"1.2"};Ba.defaultTags={"!!":"tag:yaml.org,2002:"};C6.Directives=Ba});var Ru=re(qa=>{"use strict";var A6=Ee(),Ak=Fa();function wk(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let r=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(r)}return!0}function w6(e){let t=new Set;return Ak.visit(e,{Value(r,n){n.anchor&&t.add(n.anchor)}}),t}function S6(e,t){for(let r=1;;++r){let n=`${e}${r}`;if(!t.has(n))return n}}function Sk(e,t){let r=[],n=new Map,i=null;return{onAnchor:a=>{r.push(a),i??(i=w6(e));let s=S6(t,i);return i.add(s),s},setAnchors:()=>{for(let a of r){let s=n.get(a);if(typeof s=="object"&&s.anchor&&(A6.isScalar(s.node)||A6.isCollection(s.node)))s.node.anchor=s.anchor;else{let o=new Error("Failed to resolve repeated object (this should not happen)");throw o.source=a,o}}},sourceObjects:n}}qa.anchorIsValid=wk;qa.anchorNames=w6;qa.createNodeAnchors=Sk;qa.findNewAnchor=S6});var jd=re(k6=>{"use strict";function Ua(e,t,r,n){if(n&&typeof n=="object")if(Array.isArray(n))for(let i=0,a=n.length;i<a;++i){let s=n[i],o=Ua(e,n,String(i),s);o===void 0?delete n[i]:o!==s&&(n[i]=o)}else if(n instanceof Map)for(let i of Array.from(n.keys())){let a=n.get(i),s=Ua(e,n,i,a);s===void 0?n.delete(i):s!==a&&n.set(i,s)}else if(n instanceof Set)for(let i of Array.from(n)){let a=Ua(e,n,i,i);a===void 0?n.delete(i):a!==i&&(n.delete(i),n.add(a))}else for(let[i,a]of Object.entries(n)){let s=Ua(e,n,i,a);s===void 0?delete n[i]:s!==a&&(n[i]=s)}return e.call(t,r,n)}k6.applyReviver=Ua});var ln=re(N6=>{"use strict";var kk=Ee();function D6(e,t,r){if(Array.isArray(e))return e.map((n,i)=>D6(n,String(i),r));if(e&&typeof e.toJSON=="function"){if(!r||!kk.hasAnchor(e))return e.toJSON(t,r);let n={aliasCount:0,count:1,res:void 0};r.anchors.set(e,n),r.onCreate=a=>{n.res=a,delete r.onCreate};let i=e.toJSON(t,r);return r.onCreate&&r.onCreate(i),i}return typeof e=="bigint"&&!r?.keep?Number(e):e}N6.toJS=D6});var Ou=re(_6=>{"use strict";var Dk=jd(),I6=Ee(),Nk=ln(),Vd=class{constructor(t){Object.defineProperty(this,I6.NODE_TYPE,{value:t})}clone(){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:r,maxAliasCount:n,onAnchor:i,reviver:a}={}){if(!I6.isDocument(t))throw new TypeError("A document argument is required");let s={anchors:new Map,doc:t,keep:!0,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof n=="number"?n:100},o=Nk.toJS(this,"",s);if(typeof i=="function")for(let{count:u,res:l}of s.anchors.values())i(l,u);return typeof a=="function"?Dk.applyReviver(a,{"":o},"",o):o}};_6.NodeBase=Vd});var Ha=re(L6=>{"use strict";var Ik=Ru(),_k=Fa(),Si=Ee(),Lk=Ou(),Pk=ln(),Yd=class extends Lk.NodeBase{constructor(t){super(Si.ALIAS),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t,r){if(r?.maxAliasCount===0)throw new ReferenceError("Alias resolution is disabled");let n;r?.aliasResolveCache?n=r.aliasResolveCache:(n=[],_k.visit(t,{Node:(a,s)=>{(Si.isAlias(s)||Si.hasAnchor(s))&&n.push(s)}}),r&&(r.aliasResolveCache=n));let i;for(let a of n){if(a===this)break;a.anchor===this.source&&(i=a)}return i}toJSON(t,r){if(!r)return{source:this.source};let{anchors:n,doc:i,maxAliasCount:a}=r,s=this.resolve(i,r);if(!s){let u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(u)}let o=n.get(s);if(o||(Pk.toJS(s,null,r),o=n.get(s)),o?.res===void 0){let u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(a>=0&&(o.count+=1,o.aliasCount===0&&(o.aliasCount=Mu(i,s,n)),o.count*o.aliasCount>a)){let u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}return o.res}toString(t,r,n){let i=`*${this.source}`;if(t){if(Ik.anchorIsValid(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){let a=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(a)}if(t.implicitKey)return`${i} `}return i}};function Mu(e,t,r){if(Si.isAlias(t)){let n=t.resolve(e),i=r&&n&&r.get(n);return i?i.count*i.aliasCount:0}else if(Si.isCollection(t)){let n=0;for(let i of t.items){let a=Mu(e,i,r);a>n&&(n=a)}return n}else if(Si.isPair(t)){let n=Mu(e,t.key,r),i=Mu(e,t.value,r);return Math.max(n,i)}return 1}L6.Alias=Yd});var $e=re($d=>{"use strict";var Rk=Ee(),Ok=Ou(),Mk=ln(),Fk=e=>!e||typeof e!="function"&&typeof e!="object",cn=class extends Ok.NodeBase{constructor(t){super(Rk.SCALAR),this.value=t}toJSON(t,r){return r?.keep?this.value:Mk.toJS(this.value,t,r)}toString(){return String(this.value)}};cn.BLOCK_FOLDED="BLOCK_FOLDED";cn.BLOCK_LITERAL="BLOCK_LITERAL";cn.PLAIN="PLAIN";cn.QUOTE_DOUBLE="QUOTE_DOUBLE";cn.QUOTE_SINGLE="QUOTE_SINGLE";$d.Scalar=cn;$d.isScalarValue=Fk});var za=re(R6=>{"use strict";var Bk=Ha(),qn=Ee(),P6=$e(),qk="tag:yaml.org,2002:";function Uk(e,t,r){if(t){let n=r.filter(a=>a.tag===t),i=n.find(a=>!a.format)??n[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return r.find(n=>n.identify?.(e)&&!n.format)}function Hk(e,t,r){if(qn.isDocument(e)&&(e=e.contents),qn.isNode(e))return e;if(qn.isPair(e)){let f=r.schema[qn.MAP].createNode?.(r.schema,null,r);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:n,onAnchor:i,onTagObj:a,schema:s,sourceObjects:o}=r,u;if(n&&e&&typeof e=="object"){if(u=o.get(e),u)return u.anchor??(u.anchor=i(e)),new Bk.Alias(u.anchor);u={anchor:null,node:null},o.set(e,u)}t?.startsWith("!!")&&(t=qk+t.slice(2));let l=Uk(e,t,s.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){let f=new P6.Scalar(e);return u&&(u.node=f),f}l=e instanceof Map?s[qn.MAP]:Symbol.iterator in Object(e)?s[qn.SEQ]:s[qn.MAP]}a&&(a(l),delete r.onTagObj);let c=l?.createNode?l.createNode(r.schema,e,r):typeof l?.nodeClass?.from=="function"?l.nodeClass.from(r.schema,e,r):new P6.Scalar(e);return t?c.tag=t:l.default||(c.tag=l.tag),u&&(u.node=c),c}R6.createNode=Hk});var Bu=re(Fu=>{"use strict";var zk=za(),pr=Ee(),jk=Ou();function Gd(e,t,r){let n=r;for(let i=t.length-1;i>=0;--i){let a=t[i];if(typeof a=="number"&&Number.isInteger(a)&&a>=0){let s=[];s[a]=n,n=s}else n=new Map([[a,n]])}return zk.createNode(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var O6=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,Wd=class extends jk.NodeBase{constructor(t,r){super(t),Object.defineProperty(this,"schema",{value:r,configurable:!0,enumerable:!1,writable:!0})}clone(t){let r=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(r.schema=t),r.items=r.items.map(n=>pr.isNode(n)||pr.isPair(n)?n.clone(t):n),this.range&&(r.range=this.range.slice()),r}addIn(t,r){if(O6(t))this.add(r);else{let[n,...i]=t,a=this.get(n,!0);if(pr.isCollection(a))a.addIn(i,r);else if(a===void 0&&this.schema)this.set(n,Gd(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn(t){let[r,...n]=t;if(n.length===0)return this.delete(r);let i=this.get(r,!0);if(pr.isCollection(i))return i.deleteIn(n);throw new Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}getIn(t,r){let[n,...i]=t,a=this.get(n,!0);return i.length===0?!r&&pr.isScalar(a)?a.value:a:pr.isCollection(a)?a.getIn(i,r):void 0}hasAllNullValues(t){return this.items.every(r=>{if(!pr.isPair(r))return!1;let n=r.value;return n==null||t&&pr.isScalar(n)&&n.value==null&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(t){let[r,...n]=t;if(n.length===0)return this.has(r);let i=this.get(r,!0);return pr.isCollection(i)?i.hasIn(n):!1}setIn(t,r){let[n,...i]=t;if(i.length===0)this.set(n,r);else{let a=this.get(n,!0);if(pr.isCollection(a))a.setIn(i,r);else if(a===void 0&&this.schema)this.set(n,Gd(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}};Fu.Collection=Wd;Fu.collectionFromPath=Gd;Fu.isEmptyPath=O6});var ja=re(qu=>{"use strict";var Vk=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Kd(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var Yk=(e,t,r)=>e.endsWith(`
|
|
4
|
+
`)?Kd(r,t):r.includes(`
|
|
5
|
+
`)?`
|
|
6
|
+
`+Kd(r,t):(e.endsWith(" ")?"":" ")+r;qu.indentComment=Kd;qu.lineComment=Yk;qu.stringifyComment=Vk});var F6=re(Va=>{"use strict";var $k="flow",Qd="block",Uu="quoted";function Gk(e,t,r="flow",{indentAtStart:n,lineWidth:i=80,minContentWidth:a=20,onFold:s,onOverflow:o}={}){if(!i||i<0)return e;i<a&&(a=0);let u=Math.max(1+a,1+i-t.length);if(e.length<=u)return e;let l=[],c={},f=i-t.length;typeof n=="number"&&(n>i-Math.max(2,a)?l.push(0):f=i-n);let m,p,y=!1,E=-1,x=-1,v=-1;r===Qd&&(E=M6(e,E,t.length),E!==-1&&(f=E+u));for(let N;N=e[E+=1];){if(r===Uu&&N==="\\"){switch(x=E,e[E+1]){case"x":E+=3;break;case"u":E+=5;break;case"U":E+=9;break;default:E+=1}v=E}if(N===`
|
|
7
|
+
`)r===Qd&&(E=M6(e,E,t.length)),f=E+t.length+u,m=void 0;else{if(N===" "&&p&&p!==" "&&p!==`
|
|
8
|
+
`&&p!==" "){let B=e[E+1];B&&B!==" "&&B!==`
|
|
9
|
+
`&&B!==" "&&(m=E)}if(E>=f)if(m)l.push(m),f=m+u,m=void 0;else if(r===Uu){for(;p===" "||p===" ";)p=N,N=e[E+=1],y=!0;let B=E>v+1?E-2:x-1;if(c[B])return e;l.push(B),c[B]=!0,f=B+u,m=void 0}else y=!0}p=N}if(y&&o&&o(),l.length===0)return e;s&&s();let w=e.slice(0,l[0]);for(let N=0;N<l.length;++N){let B=l[N],q=l[N+1]||e.length;B===0?w=`
|
|
10
|
+
${t}${e.slice(0,q)}`:(r===Uu&&c[B]&&(w+=`${e[B]}\\`),w+=`
|
|
11
|
+
${t}${e.slice(B+1,q)}`)}return w}function M6(e,t,r){let n=t,i=t+1,a=e[i];for(;a===" "||a===" ";)if(t<i+r)a=e[++t];else{do a=e[++t];while(a&&a!==`
|
|
12
|
+
`);n=t,i=t+1,a=e[i]}return n}Va.FOLD_BLOCK=Qd;Va.FOLD_FLOW=$k;Va.FOLD_QUOTED=Uu;Va.foldFlowLines=Gk});var $a=re(B6=>{"use strict";var Xt=$e(),fn=F6(),zu=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),ju=e=>/^(%|---|\.\.\.)/m.test(e);function Wk(e,t,r){if(!t||t<0)return!1;let n=t-r,i=e.length;if(i<=n)return!1;for(let a=0,s=0;a<i;++a)if(e[a]===`
|
|
13
|
+
`){if(a-s>n)return!0;if(s=a+1,i-s<=n)return!1}return!0}function Ya(e,t){let r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;let{implicitKey:n}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(ju(e)?" ":""),s="",o=0;for(let u=0,l=r[u];l;l=r[++u])if(l===" "&&r[u+1]==="\\"&&r[u+2]==="n"&&(s+=r.slice(o,u)+"\\ ",u+=1,o=u,l="\\"),l==="\\")switch(r[u+1]){case"u":{s+=r.slice(o,u);let c=r.substr(u+2,4);switch(c){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:c.substr(0,2)==="00"?s+="\\x"+c.substr(2):s+=r.substr(u,6)}u+=5,o=u+1}break;case"n":if(n||r[u+2]==='"'||r.length<i)u+=1;else{for(s+=r.slice(o,u)+`
|
|
14
|
+
|
|
15
|
+
`;r[u+2]==="\\"&&r[u+3]==="n"&&r[u+4]!=='"';)s+=`
|
|
16
|
+
`,u+=2;s+=a,r[u+2]===" "&&(s+="\\"),u+=1,o=u+1}break;default:u+=1}return s=o?s+r.slice(o):r,n?s:fn.foldFlowLines(s,a,fn.FOLD_QUOTED,zu(t,!1))}function Xd(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
|
|
17
|
+
`)||/[ \t]\n|\n[ \t]/.test(e))return Ya(e,t);let r=t.indent||(ju(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
18
|
+
${r}`)+"'";return t.implicitKey?n:fn.foldFlowLines(n,r,fn.FOLD_FLOW,zu(t,!1))}function ki(e,t){let{singleQuote:r}=t.options,n;if(r===!1)n=Ya;else{let i=e.includes('"'),a=e.includes("'");i&&!a?n=Xd:a&&!i?n=Ya:n=r?Xd:Ya}return n(e,t)}var Jd;try{Jd=new RegExp(`(^|(?<!
|
|
19
|
+
))
|
|
20
|
+
+(?!
|
|
21
|
+
|$)`,"g")}catch{Jd=/\n+(?!\n|$)/g}function Hu({comment:e,type:t,value:r},n,i,a){let{blockQuote:s,commentString:o,lineWidth:u}=n.options;if(!s||/\n[\t ]+$/.test(r))return ki(r,n);let l=n.indent||(n.forceBlockIndent||ju(r)?" ":""),c=s==="literal"?!0:s==="folded"||t===Xt.Scalar.BLOCK_FOLDED?!1:t===Xt.Scalar.BLOCK_LITERAL?!0:!Wk(r,u,l.length);if(!r)return c?`|
|
|
22
|
+
`:`>
|
|
23
|
+
`;let f,m;for(m=r.length;m>0;--m){let q=r[m-1];if(q!==`
|
|
24
|
+
`&&q!==" "&&q!==" ")break}let p=r.substring(m),y=p.indexOf(`
|
|
25
|
+
`);y===-1?f="-":r===p||y!==p.length-1?(f="+",a&&a()):f="",p&&(r=r.slice(0,-p.length),p[p.length-1]===`
|
|
26
|
+
`&&(p=p.slice(0,-1)),p=p.replace(Jd,`$&${l}`));let E=!1,x,v=-1;for(x=0;x<r.length;++x){let q=r[x];if(q===" ")E=!0;else if(q===`
|
|
27
|
+
`)v=x;else break}let w=r.substring(0,v<x?v+1:x);w&&(r=r.substring(w.length),w=w.replace(/\n+/g,`$&${l}`));let B=(E?l?"2":"1":"")+f;if(e&&(B+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!c){let q=r.replace(/\n+/g,`
|
|
28
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`),_=!1,U=zu(n,!0);s!=="folded"&&t!==Xt.Scalar.BLOCK_FOLDED&&(U.onOverflow=()=>{_=!0});let H=fn.foldFlowLines(`${w}${q}${p}`,l,fn.FOLD_BLOCK,U);if(!_)return`>${B}
|
|
29
|
+
${l}${H}`}return r=r.replace(/\n+/g,`$&${l}`),`|${B}
|
|
30
|
+
${l}${w}${r}${p}`}function Kk(e,t,r,n){let{type:i,value:a}=e,{actualString:s,implicitKey:o,indent:u,indentStep:l,inFlow:c}=t;if(o&&a.includes(`
|
|
31
|
+
`)||c&&/[[\]{},]/.test(a))return ki(a,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return o||c||!a.includes(`
|
|
32
|
+
`)?ki(a,t):Hu(e,t,r,n);if(!o&&!c&&i!==Xt.Scalar.PLAIN&&a.includes(`
|
|
33
|
+
`))return Hu(e,t,r,n);if(ju(a)){if(u==="")return t.forceBlockIndent=!0,Hu(e,t,r,n);if(o&&u===l)return ki(a,t)}let f=a.replace(/\n+/g,`$&
|
|
34
|
+
${u}`);if(s){let m=E=>E.default&&E.tag!=="tag:yaml.org,2002:str"&&E.test?.test(f),{compat:p,tags:y}=t.doc.schema;if(y.some(m)||p?.some(m))return ki(a,t)}return o?f:fn.foldFlowLines(f,u,fn.FOLD_FLOW,zu(t,!1))}function Qk(e,t,r,n){let{implicitKey:i,inFlow:a}=t,s=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)}),{type:o}=e;o!==Xt.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(o=Xt.Scalar.QUOTE_DOUBLE);let u=c=>{switch(c){case Xt.Scalar.BLOCK_FOLDED:case Xt.Scalar.BLOCK_LITERAL:return i||a?ki(s.value,t):Hu(s,t,r,n);case Xt.Scalar.QUOTE_DOUBLE:return Ya(s.value,t);case Xt.Scalar.QUOTE_SINGLE:return Xd(s.value,t);case Xt.Scalar.PLAIN:return Kk(s,t,r,n);default:return null}},l=u(o);if(l===null){let{defaultKeyType:c,defaultStringType:f}=t.options,m=i&&c||f;if(l=u(m),l===null)throw new Error(`Unsupported default string type ${m}`)}return l}B6.stringifyString=Qk});var Ga=re(Zd=>{"use strict";var Xk=Ru(),dn=Ee(),Jk=ja(),Zk=$a();function eD(e,t){let r=Object.assign({blockQuote:!0,commentString:Jk.stringifyComment,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t),n;switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:typeof r.indent=="number"?" ".repeat(r.indent):" ",inFlow:n,options:r}}function tD(e,t){if(t.tag){let i=e.filter(a=>a.tag===t.tag);if(i.length>0)return i.find(a=>a.format===t.format)??i[0]}let r,n;if(dn.isScalar(t)){n=t.value;let i=e.filter(a=>a.identify?.(n));if(i.length>1){let a=i.filter(s=>s.test);a.length>0&&(i=a)}r=i.find(a=>a.format===t.format)??i.find(a=>!a.format)}else n=t,r=e.find(i=>i.nodeClass&&n instanceof i.nodeClass);if(!r){let i=n?.constructor?.name??(n===null?"null":typeof n);throw new Error(`Tag not resolved for ${i} value`)}return r}function rD(e,t,{anchors:r,doc:n}){if(!n.directives)return"";let i=[],a=(dn.isScalar(e)||dn.isCollection(e))&&e.anchor;a&&Xk.anchorIsValid(a)&&(r.add(a),i.push(`&${a}`));let s=e.tag??(t.default?null:t.tag);return s&&i.push(n.directives.tagString(s)),i.join(" ")}function nD(e,t,r,n){if(dn.isPair(e))return e.toString(t,r,n);if(dn.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i,a=dn.isNode(e)?e:t.doc.createNode(e,{onTagObj:u=>i=u});i??(i=tD(t.doc.schema.tags,a));let s=rD(a,i,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);let o=typeof i.stringify=="function"?i.stringify(a,t,r,n):dn.isScalar(a)?Zk.stringifyString(a,t,r,n):a.toString(t,r,n);return s?dn.isScalar(a)||o[0]==="{"||o[0]==="["?`${s} ${o}`:`${s}
|
|
35
|
+
${t.indent}${o}`:o}Zd.createStringifyContext=eD;Zd.stringify=nD});var z6=re(H6=>{"use strict";var qr=Ee(),q6=$e(),U6=Ga(),Wa=ja();function iD({key:e,value:t},r,n,i){let{allNullValues:a,doc:s,indent:o,indentStep:u,options:{commentString:l,indentSeq:c,simpleKeys:f}}=r,m=qr.isNode(e)&&e.comment||null;if(f){if(m)throw new Error("With simple keys, key nodes cannot have comments");if(qr.isCollection(e)||!qr.isNode(e)&&typeof e=="object"){let U="With simple keys, collection cannot be used as a key value";throw new Error(U)}}let p=!f&&(!e||m&&t==null&&!r.inFlow||qr.isCollection(e)||(qr.isScalar(e)?e.type===q6.Scalar.BLOCK_FOLDED||e.type===q6.Scalar.BLOCK_LITERAL:typeof e=="object"));r=Object.assign({},r,{allNullValues:!1,implicitKey:!p&&(f||!a),indent:o+u});let y=!1,E=!1,x=U6.stringify(e,r,()=>y=!0,()=>E=!0);if(!p&&!r.inFlow&&x.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");p=!0}if(r.inFlow){if(a||t==null)return y&&n&&n(),x===""?"?":p?`? ${x}`:x}else if(a&&!f||t==null&&p)return x=`? ${x}`,m&&!y?x+=Wa.lineComment(x,r.indent,l(m)):E&&i&&i(),x;y&&(m=null),p?(m&&(x+=Wa.lineComment(x,r.indent,l(m))),x=`? ${x}
|
|
36
|
+
${o}:`):(x=`${x}:`,m&&(x+=Wa.lineComment(x,r.indent,l(m))));let v,w,N;qr.isNode(t)?(v=!!t.spaceBefore,w=t.commentBefore,N=t.comment):(v=!1,w=null,N=null,t&&typeof t=="object"&&(t=s.createNode(t))),r.implicitKey=!1,!p&&!m&&qr.isScalar(t)&&(r.indentAtStart=x.length+1),E=!1,!c&&u.length>=2&&!r.inFlow&&!p&&qr.isSeq(t)&&!t.flow&&!t.tag&&!t.anchor&&(r.indent=r.indent.substring(2));let B=!1,q=U6.stringify(t,r,()=>B=!0,()=>E=!0),_=" ";if(m||v||w){if(_=v?`
|
|
37
|
+
`:"",w){let U=l(w);_+=`
|
|
38
|
+
${Wa.indentComment(U,r.indent)}`}q===""&&!r.inFlow?_===`
|
|
39
|
+
`&&N&&(_=`
|
|
40
|
+
|
|
41
|
+
`):_+=`
|
|
42
|
+
${r.indent}`}else if(!p&&qr.isCollection(t)){let U=q[0],H=q.indexOf(`
|
|
43
|
+
`),F=H!==-1,O=r.inFlow??t.flow??t.items.length===0;if(F||!O){let ue=!1;if(F&&(U==="&"||U==="!")){let ee=q.indexOf(" ");U==="&"&&ee!==-1&&ee<H&&q[ee+1]==="!"&&(ee=q.indexOf(" ",ee+1)),(ee===-1||H<ee)&&(ue=!0)}ue||(_=`
|
|
44
|
+
${r.indent}`)}}else(q===""||q[0]===`
|
|
45
|
+
`)&&(_="");return x+=_+q,r.inFlow?B&&n&&n():N&&!B?x+=Wa.lineComment(x,r.indent,l(N)):E&&i&&i(),x}H6.stringifyPair=iD});var th=re(eh=>{"use strict";var j6=vs("process");function aD(e,...t){e==="debug"&&console.log(...t)}function sD(e,t){(e==="debug"||e==="warn")&&(typeof j6.emitWarning=="function"?j6.emitWarning(t):console.warn(t))}eh.debug=aD;eh.warn=sD});var Wu=re(Gu=>{"use strict";var $u=Ee(),V6=$e(),Vu="<<",Yu={identify:e=>e===Vu||typeof e=="symbol"&&e.description===Vu,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new V6.Scalar(Symbol(Vu)),{addToJSMap:Y6}),stringify:()=>Vu},oD=(e,t)=>(Yu.identify(t)||$u.isScalar(t)&&(!t.type||t.type===V6.Scalar.PLAIN)&&Yu.identify(t.value))&&e?.doc.schema.tags.some(r=>r.tag===Yu.tag&&r.default);function Y6(e,t,r){let n=$6(e,r);if($u.isSeq(n))for(let i of n.items)rh(e,t,i);else if(Array.isArray(n))for(let i of n)rh(e,t,i);else rh(e,t,n)}function rh(e,t,r){let n=$6(e,r);if(!$u.isMap(n))throw new Error("Merge sources must be maps or map aliases");let i=n.toJSON(null,e,Map);for(let[a,s]of i)t instanceof Map?t.has(a)||t.set(a,s):t instanceof Set?t.add(a):Object.prototype.hasOwnProperty.call(t,a)||Object.defineProperty(t,a,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function $6(e,t){return e&&$u.isAlias(t)?t.resolve(e.doc,e):t}Gu.addMergeToJSMap=Y6;Gu.isMergeKey=oD;Gu.merge=Yu});var ih=re(K6=>{"use strict";var uD=th(),G6=Wu(),lD=Ga(),W6=Ee(),nh=ln();function cD(e,t,{key:r,value:n}){if(W6.isNode(r)&&r.addToJSMap)r.addToJSMap(e,t,n);else if(G6.isMergeKey(e,r))G6.addMergeToJSMap(e,t,n);else{let i=nh.toJS(r,"",e);if(t instanceof Map)t.set(i,nh.toJS(n,i,e));else if(t instanceof Set)t.add(i);else{let a=fD(r,i,e),s=nh.toJS(n,a,e);a in t?Object.defineProperty(t,a,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[a]=s}}return t}function fD(e,t,r){if(t===null)return"";if(typeof t!="object")return String(t);if(W6.isNode(e)&&r?.doc){let n=lD.createStringifyContext(r.doc,{});n.anchors=new Set;for(let a of r.anchors.keys())n.anchors.add(a.anchor);n.inFlow=!0,n.inStringifyKey=!0;let i=e.toString(n);if(!r.mapKeyWarned){let a=JSON.stringify(i);a.length>40&&(a=a.substring(0,36)+'..."'),uD.warn(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${a}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return i}return JSON.stringify(t)}K6.addPairToJSMap=cD});var hn=re(ah=>{"use strict";var Q6=za(),dD=z6(),hD=ih(),Ku=Ee();function mD(e,t,r){let n=Q6.createNode(e,void 0,r),i=Q6.createNode(t,void 0,r);return new Qu(n,i)}var Qu=class e{constructor(t,r=null){Object.defineProperty(this,Ku.NODE_TYPE,{value:Ku.PAIR}),this.key=t,this.value=r}clone(t){let{key:r,value:n}=this;return Ku.isNode(r)&&(r=r.clone(t)),Ku.isNode(n)&&(n=n.clone(t)),new e(r,n)}toJSON(t,r){let n=r?.mapAsMap?new Map:{};return hD.addPairToJSMap(r,n,this)}toString(t,r,n){return t?.doc?dD.stringifyPair(this,t,r,n):JSON.stringify(this)}};ah.Pair=Qu;ah.createPair=mD});var sh=re(J6=>{"use strict";var Un=Ee(),X6=Ga(),Xu=ja();function pD(e,t,r){return(t.inFlow??e.flow?bD:gD)(e,t,r)}function gD({comment:e,items:t},r,{blockItemPrefix:n,flowChars:i,itemIndent:a,onChompKeep:s,onComment:o}){let{indent:u,options:{commentString:l}}=r,c=Object.assign({},r,{indent:a,type:null}),f=!1,m=[];for(let y=0;y<t.length;++y){let E=t[y],x=null;if(Un.isNode(E))!f&&E.spaceBefore&&m.push(""),Ju(r,m,E.commentBefore,f),E.comment&&(x=E.comment);else if(Un.isPair(E)){let w=Un.isNode(E.key)?E.key:null;w&&(!f&&w.spaceBefore&&m.push(""),Ju(r,m,w.commentBefore,f))}f=!1;let v=X6.stringify(E,c,()=>x=null,()=>f=!0);x&&(v+=Xu.lineComment(v,a,l(x))),f&&x&&(f=!1),m.push(n+v)}let p;if(m.length===0)p=i.start+i.end;else{p=m[0];for(let y=1;y<m.length;++y){let E=m[y];p+=E?`
|
|
46
|
+
${u}${E}`:`
|
|
47
|
+
`}}return e?(p+=`
|
|
48
|
+
`+Xu.indentComment(l(e),u),o&&o()):f&&s&&s(),p}function bD({items:e},t,{flowChars:r,itemIndent:n}){let{indent:i,indentStep:a,flowCollectionPadding:s,options:{commentString:o}}=t;n+=a;let u=Object.assign({},t,{indent:n,inFlow:!0,type:null}),l=!1,c=0,f=[];for(let y=0;y<e.length;++y){let E=e[y],x=null;if(Un.isNode(E))E.spaceBefore&&f.push(""),Ju(t,f,E.commentBefore,!1),E.comment&&(x=E.comment);else if(Un.isPair(E)){let w=Un.isNode(E.key)?E.key:null;w&&(w.spaceBefore&&f.push(""),Ju(t,f,w.commentBefore,!1),w.comment&&(l=!0));let N=Un.isNode(E.value)?E.value:null;N?(N.comment&&(x=N.comment),N.commentBefore&&(l=!0)):E.value==null&&w?.comment&&(x=w.comment)}x&&(l=!0);let v=X6.stringify(E,u,()=>x=null);l||(l=f.length>c||v.includes(`
|
|
49
|
+
`)),y<e.length-1?v+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(l||(l=f.reduce((w,N)=>w+N.length+2,2)+(v.length+2)>t.options.lineWidth)),l&&(v+=",")),x&&(v+=Xu.lineComment(v,n,o(x))),f.push(v),c=f.length}let{start:m,end:p}=r;if(f.length===0)return m+p;if(!l){let y=f.reduce((E,x)=>E+x.length+2,2);l=t.options.lineWidth>0&&y>t.options.lineWidth}if(l){let y=m;for(let E of f)y+=E?`
|
|
50
|
+
${a}${i}${E}`:`
|
|
51
|
+
`;return`${y}
|
|
52
|
+
${i}${p}`}else return`${m}${s}${f.join(" ")}${s}${p}`}function Ju({indent:e,options:{commentString:t}},r,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){let a=Xu.indentComment(t(n),e);r.push(a.trimStart())}}J6.stringifyCollection=pD});var pn=re(uh=>{"use strict";var yD=sh(),ED=ih(),xD=Bu(),mn=Ee(),Zu=hn(),TD=$e();function Ka(e,t){let r=mn.isScalar(t)?t.value:t;for(let n of e)if(mn.isPair(n)&&(n.key===t||n.key===r||mn.isScalar(n.key)&&n.key.value===r))return n}var oh=class extends xD.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(mn.MAP,t),this.items=[]}static from(t,r,n){let{keepUndefined:i,replacer:a}=n,s=new this(t),o=(u,l)=>{if(typeof a=="function")l=a.call(r,u,l);else if(Array.isArray(a)&&!a.includes(u))return;(l!==void 0||i)&&s.items.push(Zu.createPair(u,l,n))};if(r instanceof Map)for(let[u,l]of r)o(u,l);else if(r&&typeof r=="object")for(let u of Object.keys(r))o(u,r[u]);return typeof t.sortMapEntries=="function"&&s.items.sort(t.sortMapEntries),s}add(t,r){let n;mn.isPair(t)?n=t:!t||typeof t!="object"||!("key"in t)?n=new Zu.Pair(t,t?.value):n=new Zu.Pair(t.key,t.value);let i=Ka(this.items,n.key),a=this.schema?.sortMapEntries;if(i){if(!r)throw new Error(`Key ${n.key} already set`);mn.isScalar(i.value)&&TD.isScalarValue(n.value)?i.value.value=n.value:i.value=n.value}else if(a){let s=this.items.findIndex(o=>a(n,o)<0);s===-1?this.items.push(n):this.items.splice(s,0,n)}else this.items.push(n)}delete(t){let r=Ka(this.items,t);return r?this.items.splice(this.items.indexOf(r),1).length>0:!1}get(t,r){let i=Ka(this.items,t)?.value;return(!r&&mn.isScalar(i)?i.value:i)??void 0}has(t){return!!Ka(this.items,t)}set(t,r){this.add(new Zu.Pair(t,r),!0)}toJSON(t,r,n){let i=n?new n:r?.mapAsMap?new Map:{};r?.onCreate&&r.onCreate(i);for(let a of this.items)ED.addPairToJSMap(r,i,a);return i}toString(t,r,n){if(!t)return JSON.stringify(this);for(let i of this.items)if(!mn.isPair(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),yD.stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:n,onComment:r})}};uh.YAMLMap=oh;uh.findPair=Ka});var Di=re(eb=>{"use strict";var vD=Ee(),Z6=pn(),CD={collection:"map",default:!0,nodeClass:Z6.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(e,t){return vD.isMap(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,r)=>Z6.YAMLMap.from(e,t,r)};eb.map=CD});var gn=re(tb=>{"use strict";var AD=za(),wD=sh(),SD=Bu(),tl=Ee(),kD=$e(),DD=ln(),lh=class extends SD.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(tl.SEQ,t),this.items=[]}add(t){this.items.push(t)}delete(t){let r=el(t);return typeof r!="number"?!1:this.items.splice(r,1).length>0}get(t,r){let n=el(t);if(typeof n!="number")return;let i=this.items[n];return!r&&tl.isScalar(i)?i.value:i}has(t){let r=el(t);return typeof r=="number"&&r<this.items.length}set(t,r){let n=el(t);if(typeof n!="number")throw new Error(`Expected a valid index, not ${t}.`);let i=this.items[n];tl.isScalar(i)&&kD.isScalarValue(r)?i.value=r:this.items[n]=r}toJSON(t,r){let n=[];r?.onCreate&&r.onCreate(n);let i=0;for(let a of this.items)n.push(DD.toJS(a,String(i++),r));return n}toString(t,r,n){return t?wD.stringifyCollection(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:n,onComment:r}):JSON.stringify(this)}static from(t,r,n){let{replacer:i}=n,a=new this(t);if(r&&Symbol.iterator in Object(r)){let s=0;for(let o of r){if(typeof i=="function"){let u=r instanceof Set?o:String(s++);o=i.call(r,u,o)}a.items.push(AD.createNode(o,void 0,n))}}return a}};function el(e){let t=tl.isScalar(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}tb.YAMLSeq=lh});var Ni=re(nb=>{"use strict";var ND=Ee(),rb=gn(),ID={collection:"seq",default:!0,nodeClass:rb.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(e,t){return ND.isSeq(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,r)=>rb.YAMLSeq.from(e,t,r)};nb.seq=ID});var Qa=re(ib=>{"use strict";var _D=$a(),LD={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,r,n){return t=Object.assign({actualString:!0},t),_D.stringifyString(e,t,r,n)}};ib.string=LD});var rl=re(ob=>{"use strict";var ab=$e(),sb={identify:e=>e==null,createNode:()=>new ab.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new ab.Scalar(null),stringify:({source:e},t)=>typeof e=="string"&&sb.test.test(e)?e:t.options.nullStr};ob.nullTag=sb});var ch=re(lb=>{"use strict";var PD=$e(),ub={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new PD.Scalar(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},r){if(e&&ub.test.test(e)){let n=e[0]==="t"||e[0]==="T";if(t===n)return e}return t?r.options.trueStr:r.options.falseStr}};lb.boolTag=ub});var Ii=re(cb=>{"use strict";function RD({format:e,minFractionDigits:t,tag:r,value:n}){if(typeof n=="bigint")return String(n);let i=typeof n=="number"?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let a=Object.is(n,-0)?"-0":JSON.stringify(n);if(!e&&t&&(!r||r==="tag:yaml.org,2002:float")&&/^-?\d/.test(a)&&!a.includes("e")){let s=a.indexOf(".");s<0&&(s=a.length,a+=".");let o=t-(a.length-s-1);for(;o-- >0;)a+="0"}return a}cb.stringifyNumber=RD});var dh=re(nl=>{"use strict";var OD=$e(),fh=Ii(),MD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:fh.stringifyNumber},FD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():fh.stringifyNumber(e)}},BD={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new OD.Scalar(parseFloat(e)),r=e.indexOf(".");return r!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-r-1),t},stringify:fh.stringifyNumber};nl.float=BD;nl.floatExp=FD;nl.floatNaN=MD});var mh=re(al=>{"use strict";var fb=Ii(),il=e=>typeof e=="bigint"||Number.isInteger(e),hh=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function db(e,t,r){let{value:n}=e;return il(n)&&n>=0?r+n.toString(t):fb.stringifyNumber(e)}var qD={identify:e=>il(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>hh(e,2,8,r),stringify:e=>db(e,8,"0o")},UD={identify:il,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>hh(e,0,10,r),stringify:fb.stringifyNumber},HD={identify:e=>il(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>hh(e,2,16,r),stringify:e=>db(e,16,"0x")};al.int=UD;al.intHex=HD;al.intOct=qD});var mb=re(hb=>{"use strict";var zD=Di(),jD=rl(),VD=Ni(),YD=Qa(),$D=ch(),ph=dh(),gh=mh(),GD=[zD.map,VD.seq,YD.string,jD.nullTag,$D.boolTag,gh.intOct,gh.int,gh.intHex,ph.floatNaN,ph.floatExp,ph.float];hb.schema=GD});var bb=re(gb=>{"use strict";var WD=$e(),KD=Di(),QD=Ni();function pb(e){return typeof e=="bigint"||Number.isInteger(e)}var sl=({value:e})=>JSON.stringify(e),XD=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:sl},{identify:e=>e==null,createNode:()=>new WD.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:sl},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:sl},{identify:pb,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:r})=>r?BigInt(e):parseInt(e,10),stringify:({value:e})=>pb(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:sl}],JD={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},ZD=[KD.map,QD.seq].concat(XD,JD);gb.schema=ZD});var yh=re(yb=>{"use strict";var Xa=vs("buffer"),bh=$e(),eN=$a(),tN={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Xa.Buffer=="function")return Xa.Buffer.from(e,"base64");if(typeof atob=="function"){let r=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(r.length);for(let i=0;i<r.length;++i)n[i]=r.charCodeAt(i);return n}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:r},n,i,a){if(!r)return"";let s=r,o;if(typeof Xa.Buffer=="function")o=s instanceof Xa.Buffer?s.toString("base64"):Xa.Buffer.from(s.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let l=0;l<s.length;++l)u+=String.fromCharCode(s[l]);o=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=bh.Scalar.BLOCK_LITERAL),t!==bh.Scalar.QUOTE_DOUBLE){let u=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),l=Math.ceil(o.length/u),c=new Array(l);for(let f=0,m=0;f<l;++f,m+=u)c[f]=o.substr(m,u);o=c.join(t===bh.Scalar.BLOCK_LITERAL?`
|
|
53
|
+
`:" ")}return eN.stringifyString({comment:e,type:t,value:o},n,i,a)}};yb.binary=tN});var ll=re(ul=>{"use strict";var ol=Ee(),Eh=hn(),rN=$e(),nN=gn();function Eb(e,t){if(ol.isSeq(e))for(let r=0;r<e.items.length;++r){let n=e.items[r];if(!ol.isPair(n)){if(ol.isMap(n)){n.items.length>1&&t("Each pair must have its own sequence indicator");let i=n.items[0]||new Eh.Pair(new rN.Scalar(null));if(n.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${n.commentBefore}
|
|
54
|
+
${i.key.commentBefore}`:n.commentBefore),n.comment){let a=i.value??i.key;a.comment=a.comment?`${n.comment}
|
|
55
|
+
${a.comment}`:n.comment}n=i}e.items[r]=ol.isPair(n)?n:new Eh.Pair(n)}}else t("Expected a sequence for this tag");return e}function xb(e,t,r){let{replacer:n}=r,i=new nN.YAMLSeq(e);i.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let s of t){typeof n=="function"&&(s=n.call(t,String(a++),s));let o,u;if(Array.isArray(s))if(s.length===2)o=s[0],u=s[1];else throw new TypeError(`Expected [key, value] tuple: ${s}`);else if(s&&s instanceof Object){let l=Object.keys(s);if(l.length===1)o=l[0],u=s[o];else throw new TypeError(`Expected tuple with one key, not ${l.length} keys`)}else o=s;i.items.push(Eh.createPair(o,u,r))}return i}var iN={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Eb,createNode:xb};ul.createPairs=xb;ul.pairs=iN;ul.resolvePairs=Eb});var vh=re(Th=>{"use strict";var Tb=Ee(),xh=ln(),Ja=pn(),aN=gn(),vb=ll(),Hn=class e extends aN.YAMLSeq{constructor(){super(),this.add=Ja.YAMLMap.prototype.add.bind(this),this.delete=Ja.YAMLMap.prototype.delete.bind(this),this.get=Ja.YAMLMap.prototype.get.bind(this),this.has=Ja.YAMLMap.prototype.has.bind(this),this.set=Ja.YAMLMap.prototype.set.bind(this),this.tag=e.tag}toJSON(t,r){if(!r)return super.toJSON(t);let n=new Map;r?.onCreate&&r.onCreate(n);for(let i of this.items){let a,s;if(Tb.isPair(i)?(a=xh.toJS(i.key,"",r),s=xh.toJS(i.value,a,r)):a=xh.toJS(i,"",r),n.has(a))throw new Error("Ordered maps must not include duplicate keys");n.set(a,s)}return n}static from(t,r,n){let i=vb.createPairs(t,r,n),a=new this;return a.items=i.items,a}};Hn.tag="tag:yaml.org,2002:omap";var sN={collection:"seq",identify:e=>e instanceof Map,nodeClass:Hn,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let r=vb.resolvePairs(e,t),n=[];for(let{key:i}of r.items)Tb.isScalar(i)&&(n.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):n.push(i.value));return Object.assign(new Hn,r)},createNode:(e,t,r)=>Hn.from(e,t,r)};Th.YAMLOMap=Hn;Th.omap=sN});var kb=re(Ch=>{"use strict";var Cb=$e();function Ab({value:e,source:t},r){return t&&(e?wb:Sb).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}var wb={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Cb.Scalar(!0),stringify:Ab},Sb={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new Cb.Scalar(!1),stringify:Ab};Ch.falseTag=Sb;Ch.trueTag=wb});var Db=re(cl=>{"use strict";var oN=$e(),Ah=Ii(),uN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ah.stringifyNumber},lN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():Ah.stringifyNumber(e)}},cN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new oN.Scalar(parseFloat(e.replace(/_/g,""))),r=e.indexOf(".");if(r!==-1){let n=e.substring(r+1).replace(/_/g,"");n[n.length-1]==="0"&&(t.minFractionDigits=n.length)}return t},stringify:Ah.stringifyNumber};cl.float=cN;cl.floatExp=lN;cl.floatNaN=uN});var Ib=re(es=>{"use strict";var Nb=Ii(),Za=e=>typeof e=="bigint"||Number.isInteger(e);function fl(e,t,r,{intAsBigInt:n}){let i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(r){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}let s=BigInt(e);return i==="-"?BigInt(-1)*s:s}let a=parseInt(e,r);return i==="-"?-1*a:a}function wh(e,t,r){let{value:n}=e;if(Za(n)){let i=n.toString(t);return n<0?"-"+r+i.substr(1):r+i}return Nb.stringifyNumber(e)}var fN={identify:Za,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>fl(e,2,2,r),stringify:e=>wh(e,2,"0b")},dN={identify:Za,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>fl(e,1,8,r),stringify:e=>wh(e,8,"0")},hN={identify:Za,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>fl(e,0,10,r),stringify:Nb.stringifyNumber},mN={identify:Za,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>fl(e,2,16,r),stringify:e=>wh(e,16,"0x")};es.int=hN;es.intBin=fN;es.intHex=mN;es.intOct=dN});var kh=re(Sh=>{"use strict";var ml=Ee(),dl=hn(),hl=pn(),zn=class e extends hl.YAMLMap{constructor(t){super(t),this.tag=e.tag}add(t){let r;ml.isPair(t)?r=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?r=new dl.Pair(t.key,null):r=new dl.Pair(t,null),hl.findPair(this.items,r.key)||this.items.push(r)}get(t,r){let n=hl.findPair(this.items,t);return!r&&ml.isPair(n)?ml.isScalar(n.key)?n.key.value:n.key:n}set(t,r){if(typeof r!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof r}`);let n=hl.findPair(this.items,t);n&&!r?this.items.splice(this.items.indexOf(n),1):!n&&r&&this.items.push(new dl.Pair(t))}toJSON(t,r){return super.toJSON(t,r,Set)}toString(t,r,n){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),r,n);throw new Error("Set items must all have null values")}static from(t,r,n){let{replacer:i}=n,a=new this(t);if(r&&Symbol.iterator in Object(r))for(let s of r)typeof i=="function"&&(s=i.call(r,s,s)),a.items.push(dl.createPair(s,null,n));return a}};zn.tag="tag:yaml.org,2002:set";var pN={collection:"map",identify:e=>e instanceof Set,nodeClass:zn,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>zn.from(e,t,r),resolve(e,t){if(ml.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new zn,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};Sh.YAMLSet=zn;Sh.set=pN});var Nh=re(pl=>{"use strict";var gN=Ii();function Dh(e,t){let r=e[0],n=r==="-"||r==="+"?e.substring(1):e,i=s=>t?BigInt(s):Number(s),a=n.replace(/_/g,"").split(":").reduce((s,o)=>s*i(60)+i(o),i(0));return r==="-"?i(-1)*a:a}function _b(e){let{value:t}=e,r=s=>s;if(typeof t=="bigint")r=s=>BigInt(s);else if(isNaN(t)||!isFinite(t))return gN.stringifyNumber(e);let n="";t<0&&(n="-",t*=r(-1));let i=r(60),a=[t%i];return t<60?a.unshift(0):(t=(t-a[0])/i,a.unshift(t%i),t>=60&&(t=(t-a[0])/i,a.unshift(t))),n+a.map(s=>String(s).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var bN={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>Dh(e,r),stringify:_b},yN={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Dh(e,!1),stringify:_b},Lb={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(Lb.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,r,n,i,a,s,o]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0,l=Date.UTC(r,n-1,i,a||0,s||0,o||0,u),c=t[8];if(c&&c!=="Z"){let f=Dh(c,!1);Math.abs(f)<30&&(f*=60),l-=6e4*f}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};pl.floatTime=yN;pl.intTime=bN;pl.timestamp=Lb});var Ob=re(Rb=>{"use strict";var EN=Di(),xN=rl(),TN=Ni(),vN=Qa(),CN=yh(),Pb=kb(),Ih=Db(),gl=Ib(),AN=Wu(),wN=vh(),SN=ll(),kN=kh(),_h=Nh(),DN=[EN.map,TN.seq,vN.string,xN.nullTag,Pb.trueTag,Pb.falseTag,gl.intBin,gl.intOct,gl.int,gl.intHex,Ih.floatNaN,Ih.floatExp,Ih.float,CN.binary,AN.merge,wN.omap,SN.pairs,kN.set,_h.intTime,_h.floatTime,_h.timestamp];Rb.schema=DN});var Yb=re(Rh=>{"use strict";var qb=Di(),NN=rl(),Ub=Ni(),IN=Qa(),_N=ch(),Lh=dh(),Ph=mh(),LN=mb(),PN=bb(),Hb=yh(),ts=Wu(),zb=vh(),jb=ll(),Mb=Ob(),Vb=kh(),bl=Nh(),Fb=new Map([["core",LN.schema],["failsafe",[qb.map,Ub.seq,IN.string]],["json",PN.schema],["yaml11",Mb.schema],["yaml-1.1",Mb.schema]]),Bb={binary:Hb.binary,bool:_N.boolTag,float:Lh.float,floatExp:Lh.floatExp,floatNaN:Lh.floatNaN,floatTime:bl.floatTime,int:Ph.int,intHex:Ph.intHex,intOct:Ph.intOct,intTime:bl.intTime,map:qb.map,merge:ts.merge,null:NN.nullTag,omap:zb.omap,pairs:jb.pairs,seq:Ub.seq,set:Vb.set,timestamp:bl.timestamp},RN={"tag:yaml.org,2002:binary":Hb.binary,"tag:yaml.org,2002:merge":ts.merge,"tag:yaml.org,2002:omap":zb.omap,"tag:yaml.org,2002:pairs":jb.pairs,"tag:yaml.org,2002:set":Vb.set,"tag:yaml.org,2002:timestamp":bl.timestamp};function ON(e,t,r){let n=Fb.get(t);if(n&&!e)return r&&!n.includes(ts.merge)?n.concat(ts.merge):n.slice();let i=n;if(!i)if(Array.isArray(e))i=[];else{let a=Array.from(Fb.keys()).filter(s=>s!=="yaml11").map(s=>JSON.stringify(s)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${a} or define customTags array`)}if(Array.isArray(e))for(let a of e)i=i.concat(a);else typeof e=="function"&&(i=e(i.slice()));return r&&(i=i.concat(ts.merge)),i.reduce((a,s)=>{let o=typeof s=="string"?Bb[s]:s;if(!o){let u=JSON.stringify(s),l=Object.keys(Bb).map(c=>JSON.stringify(c)).join(", ");throw new Error(`Unknown custom tag ${u}; use one of ${l}`)}return a.includes(o)||a.push(o),a},[])}Rh.coreKnownTags=RN;Rh.getTags=ON});var Fh=re($b=>{"use strict";var Oh=Ee(),MN=Di(),FN=Ni(),BN=Qa(),yl=Yb(),qN=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,Mh=class e{constructor({compat:t,customTags:r,merge:n,resolveKnownTags:i,schema:a,sortMapEntries:s,toStringDefaults:o}){this.compat=Array.isArray(t)?yl.getTags(t,"compat"):t?yl.getTags(null,t):null,this.name=typeof a=="string"&&a||"core",this.knownTags=i?yl.coreKnownTags:{},this.tags=yl.getTags(r,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,Oh.MAP,{value:MN.map}),Object.defineProperty(this,Oh.SCALAR,{value:BN.string}),Object.defineProperty(this,Oh.SEQ,{value:FN.seq}),this.sortMapEntries=typeof s=="function"?s:s===!0?qN:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};$b.Schema=Mh});var Wb=re(Gb=>{"use strict";var UN=Ee(),Bh=Ga(),rs=ja();function HN(e,t){let r=[],n=t.directives===!0;if(t.directives!==!1&&e.directives){let u=e.directives.toString(e);u?(r.push(u),n=!0):e.directives.docStart&&(n=!0)}n&&r.push("---");let i=Bh.createStringifyContext(e,t),{commentString:a}=i.options;if(e.commentBefore){r.length!==1&&r.unshift("");let u=a(e.commentBefore);r.unshift(rs.indentComment(u,""))}let s=!1,o=null;if(e.contents){if(UN.isNode(e.contents)){if(e.contents.spaceBefore&&n&&r.push(""),e.contents.commentBefore){let c=a(e.contents.commentBefore);r.push(rs.indentComment(c,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}let u=o?void 0:()=>s=!0,l=Bh.stringify(e.contents,i,()=>o=null,u);o&&(l+=rs.lineComment(l,"",a(o))),(l[0]==="|"||l[0]===">")&&r[r.length-1]==="---"?r[r.length-1]=`--- ${l}`:r.push(l)}else r.push(Bh.stringify(e.contents,i));if(e.directives?.docEnd)if(e.comment){let u=a(e.comment);u.includes(`
|
|
56
|
+
`)?(r.push("..."),r.push(rs.indentComment(u,""))):r.push(`... ${u}`)}else r.push("...");else{let u=e.comment;u&&s&&(u=u.replace(/^\n+/,"")),u&&((!s||o)&&r[r.length-1]!==""&&r.push(""),r.push(rs.indentComment(a(u),"")))}return r.join(`
|
|
57
|
+
`)+`
|
|
58
|
+
`}Gb.stringifyDocument=HN});var ns=re(Kb=>{"use strict";var zN=Ha(),_i=Bu(),Ut=Ee(),jN=hn(),VN=ln(),YN=Fh(),$N=Wb(),qh=Ru(),GN=jd(),WN=za(),Uh=zd(),Hh=class e{constructor(t,r,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Ut.NODE_TYPE,{value:Ut.DOC});let i=null;typeof r=="function"||Array.isArray(r)?i=r:n===void 0&&r&&(n=r,r=void 0);let a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},n);this.options=a;let{version:s}=a;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(s=this.directives.yaml.version)):this.directives=new Uh.Directives({version:s}),this.setSchema(s,n),this.contents=t===void 0?null:this.createNode(t,i,n)}clone(){let t=Object.create(e.prototype,{[Ut.NODE_TYPE]:{value:Ut.DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Ut.isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Li(this.contents)&&this.contents.add(t)}addIn(t,r){Li(this.contents)&&this.contents.addIn(t,r)}createAlias(t,r){if(!t.anchor){let n=qh.anchorNames(this);t.anchor=!r||n.has(r)?qh.findNewAnchor(r||"a",n):r}return new zN.Alias(t.anchor)}createNode(t,r,n){let i;if(typeof r=="function")t=r.call({"":t},"",t),i=r;else if(Array.isArray(r)){let x=w=>typeof w=="number"||w instanceof String||w instanceof Number,v=r.filter(x).map(String);v.length>0&&(r=r.concat(v)),i=r}else n===void 0&&r&&(n=r,r=void 0);let{aliasDuplicateObjects:a,anchorPrefix:s,flow:o,keepUndefined:u,onTagObj:l,tag:c}=n??{},{onAnchor:f,setAnchors:m,sourceObjects:p}=qh.createNodeAnchors(this,s||"a"),y={aliasDuplicateObjects:a??!0,keepUndefined:u??!1,onAnchor:f,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:p},E=WN.createNode(t,c,y);return o&&Ut.isCollection(E)&&(E.flow=!0),m(),E}createPair(t,r,n={}){let i=this.createNode(t,null,n),a=this.createNode(r,null,n);return new jN.Pair(i,a)}delete(t){return Li(this.contents)?this.contents.delete(t):!1}deleteIn(t){return _i.isEmptyPath(t)?this.contents==null?!1:(this.contents=null,!0):Li(this.contents)?this.contents.deleteIn(t):!1}get(t,r){return Ut.isCollection(this.contents)?this.contents.get(t,r):void 0}getIn(t,r){return _i.isEmptyPath(t)?!r&&Ut.isScalar(this.contents)?this.contents.value:this.contents:Ut.isCollection(this.contents)?this.contents.getIn(t,r):void 0}has(t){return Ut.isCollection(this.contents)?this.contents.has(t):!1}hasIn(t){return _i.isEmptyPath(t)?this.contents!==void 0:Ut.isCollection(this.contents)?this.contents.hasIn(t):!1}set(t,r){this.contents==null?this.contents=_i.collectionFromPath(this.schema,[t],r):Li(this.contents)&&this.contents.set(t,r)}setIn(t,r){_i.isEmptyPath(t)?this.contents=r:this.contents==null?this.contents=_i.collectionFromPath(this.schema,Array.from(t),r):Li(this.contents)&&this.contents.setIn(t,r)}setSchema(t,r={}){typeof t=="number"&&(t=String(t));let n;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Uh.Directives({version:"1.1"}),n={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Uh.Directives({version:t}),n={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(r.schema instanceof Object)this.schema=r.schema;else if(n)this.schema=new YN.Schema(Object.assign(n,r));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:r,mapAsMap:n,maxAliasCount:i,onAnchor:a,reviver:s}={}){let o={anchors:new Map,doc:this,keep:!t,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},u=VN.toJS(this.contents,r??"",o);if(typeof a=="function")for(let{count:l,res:c}of o.anchors.values())a(c,l);return typeof s=="function"?GN.applyReviver(s,{"":u},"",u):u}toJSON(t,r){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:r})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){let r=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${r}`)}return $N.stringifyDocument(this,t)}};function Li(e){if(Ut.isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}Kb.Document=Hh});var ss=re(as=>{"use strict";var is=class extends Error{constructor(t,r,n,i){super(),this.name=t,this.code=n,this.message=i,this.pos=r}},zh=class extends is{constructor(t,r,n){super("YAMLParseError",t,r,n)}},jh=class extends is{constructor(t,r,n){super("YAMLWarning",t,r,n)}},KN=(e,t)=>r=>{if(r.pos[0]===-1)return;r.linePos=r.pos.map(o=>t.linePos(o));let{line:n,col:i}=r.linePos[0];r.message+=` at line ${n}, column ${i}`;let a=i-1,s=e.substring(t.lineStarts[n-1],t.lineStarts[n]).replace(/[\n\r]+$/,"");if(a>=60&&s.length>80){let o=Math.min(a-39,s.length-79);s="\u2026"+s.substring(o),a-=o-1}if(s.length>80&&(s=s.substring(0,79)+"\u2026"),n>1&&/^ *$/.test(s.substring(0,a))){let o=e.substring(t.lineStarts[n-2],t.lineStarts[n-1]);o.length>80&&(o=o.substring(0,79)+`\u2026
|
|
59
|
+
`),s=o+s}if(/[^ ]/.test(s)){let o=1,u=r.linePos[1];u?.line===n&&u.col>i&&(o=Math.max(1,Math.min(u.col-i,80-a)));let l=" ".repeat(a)+"^".repeat(o);r.message+=`:
|
|
60
|
+
|
|
61
|
+
${s}
|
|
62
|
+
${l}
|
|
63
|
+
`}};as.YAMLError=is;as.YAMLParseError=zh;as.YAMLWarning=jh;as.prettifyError=KN});var os=re(Qb=>{"use strict";function QN(e,{flow:t,indicator:r,next:n,offset:i,onError:a,parentIndent:s,startOnNewline:o}){let u=!1,l=o,c=o,f="",m="",p=!1,y=!1,E=null,x=null,v=null,w=null,N=null,B=null,q=null;for(let H of e)switch(y&&(H.type!=="space"&&H.type!=="newline"&&H.type!=="comma"&&a(H.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),y=!1),E&&(l&&H.type!=="comment"&&H.type!=="newline"&&a(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),E=null),H.type){case"space":!t&&(r!=="doc-start"||n?.type!=="flow-collection")&&H.source.includes(" ")&&(E=H),c=!0;break;case"comment":{c||a(H,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let F=H.source.substring(1)||" ";f?f+=m+F:f=F,m="",l=!1;break}case"newline":l?f?f+=H.source:(!B||r!=="seq-item-ind")&&(u=!0):m+=H.source,l=!0,p=!0,(x||v)&&(w=H),c=!0;break;case"anchor":x&&a(H,"MULTIPLE_ANCHORS","A node can have at most one anchor"),H.source.endsWith(":")&&a(H.offset+H.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),x=H,q??(q=H.offset),l=!1,c=!1,y=!0;break;case"tag":{v&&a(H,"MULTIPLE_TAGS","A node can have at most one tag"),v=H,q??(q=H.offset),l=!1,c=!1,y=!0;break}case r:(x||v)&&a(H,"BAD_PROP_ORDER",`Anchors and tags must be after the ${H.source} indicator`),B&&a(H,"UNEXPECTED_TOKEN",`Unexpected ${H.source} in ${t??"collection"}`),B=H,l=r==="seq-item-ind"||r==="explicit-key-ind",c=!1;break;case"comma":if(t){N&&a(H,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),N=H,l=!1,c=!1;break}default:a(H,"UNEXPECTED_TOKEN",`Unexpected ${H.type} token`),l=!1,c=!1}let _=e[e.length-1],U=_?_.offset+_.source.length:i;return y&&n&&n.type!=="space"&&n.type!=="newline"&&n.type!=="comma"&&(n.type!=="scalar"||n.source!=="")&&a(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),E&&(l&&E.indent<=s||n?.type==="block-map"||n?.type==="block-seq")&&a(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:N,found:B,spaceBefore:u,comment:f,hasNewline:p,anchor:x,tag:v,newlineAfterProp:w,end:U,start:q??U}}Qb.resolveProps=QN});var El=re(Xb=>{"use strict";function Vh(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
|
|
64
|
+
`))return!0;if(e.end){for(let t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(let t of e.items){for(let r of t.start)if(r.type==="newline")return!0;if(t.sep){for(let r of t.sep)if(r.type==="newline")return!0}if(Vh(t.key)||Vh(t.value))return!0}return!1;default:return!0}}Xb.containsNewline=Vh});var Yh=re(Jb=>{"use strict";var XN=El();function JN(e,t,r){if(t?.type==="flow-collection"){let n=t.end[0];n.indent===e&&(n.source==="]"||n.source==="}")&&XN.containsNewline(t)&&r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}Jb.flowIndentCheck=JN});var $h=re(e5=>{"use strict";var Zb=Ee();function ZN(e,t,r){let{uniqueKeys:n}=e.options;if(n===!1)return!1;let i=typeof n=="function"?n:(a,s)=>a===s||Zb.isScalar(a)&&Zb.isScalar(s)&&a.value===s.value;return t.some(a=>i(a.key,r))}e5.mapIncludes=ZN});var s5=re(a5=>{"use strict";var t5=hn(),eI=pn(),r5=os(),tI=El(),n5=Yh(),rI=$h(),i5="All mapping items must start at the same column";function nI({composeNode:e,composeEmptyNode:t},r,n,i,a){let s=a?.nodeClass??eI.YAMLMap,o=new s(r.schema);r.atRoot&&(r.atRoot=!1);let u=n.offset,l=null;for(let c of n.items){let{start:f,key:m,sep:p,value:y}=c,E=r5.resolveProps(f,{indicator:"explicit-key-ind",next:m??p?.[0],offset:u,onError:i,parentIndent:n.indent,startOnNewline:!0}),x=!E.found;if(x){if(m&&(m.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in m&&m.indent!==n.indent&&i(u,"BAD_INDENT",i5)),!E.anchor&&!E.tag&&!p){l=E.end,E.comment&&(o.comment?o.comment+=`
|
|
65
|
+
`+E.comment:o.comment=E.comment);continue}(E.newlineAfterProp||tI.containsNewline(m))&&i(m??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else E.found?.indent!==n.indent&&i(u,"BAD_INDENT",i5);r.atKey=!0;let v=E.end,w=m?e(r,m,E,i):t(r,v,f,null,E,i);r.schema.compat&&n5.flowIndentCheck(n.indent,m,i),r.atKey=!1,rI.mapIncludes(r,o.items,w)&&i(v,"DUPLICATE_KEY","Map keys must be unique");let N=r5.resolveProps(p??[],{indicator:"map-value-ind",next:y,offset:w.range[2],onError:i,parentIndent:n.indent,startOnNewline:!m||m.type==="block-scalar"});if(u=N.end,N.found){x&&(y?.type==="block-map"&&!N.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&E.start<N.found.offset-1024&&i(w.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let B=y?e(r,y,N,i):t(r,u,p,null,N,i);r.schema.compat&&n5.flowIndentCheck(n.indent,y,i),u=B.range[2];let q=new t5.Pair(w,B);r.options.keepSourceTokens&&(q.srcToken=c),o.items.push(q)}else{x&&i(w.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),N.comment&&(w.comment?w.comment+=`
|
|
66
|
+
`+N.comment:w.comment=N.comment);let B=new t5.Pair(w);r.options.keepSourceTokens&&(B.srcToken=c),o.items.push(B)}}return l&&l<u&&i(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[n.offset,u,l??u],o}a5.resolveBlockMap=nI});var u5=re(o5=>{"use strict";var iI=gn(),aI=os(),sI=Yh();function oI({composeNode:e,composeEmptyNode:t},r,n,i,a){let s=a?.nodeClass??iI.YAMLSeq,o=new s(r.schema);r.atRoot&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let u=n.offset,l=null;for(let{start:c,value:f}of n.items){let m=aI.resolveProps(c,{indicator:"seq-item-ind",next:f,offset:u,onError:i,parentIndent:n.indent,startOnNewline:!0});if(!m.found)if(m.anchor||m.tag||f)f?.type==="block-seq"?i(m.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{l=m.end,m.comment&&(o.comment=m.comment);continue}let p=f?e(r,f,m,i):t(r,m.end,c,null,m,i);r.schema.compat&&sI.flowIndentCheck(n.indent,f,i),u=p.range[2],o.items.push(p)}return o.range=[n.offset,u,l??u],o}o5.resolveBlockSeq=oI});var Pi=re(l5=>{"use strict";function uI(e,t,r,n){let i="";if(e){let a=!1,s="";for(let o of e){let{source:u,type:l}=o;switch(l){case"space":a=!0;break;case"comment":{r&&!a&&n(o,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let c=u.substring(1)||" ";i?i+=s+c:i=c,s="";break}case"newline":i&&(s+=u),a=!0;break;default:n(o,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=u.length}}return{comment:i,offset:t}}l5.resolveEnd=uI});var h5=re(d5=>{"use strict";var lI=Ee(),cI=hn(),c5=pn(),fI=gn(),dI=Pi(),f5=os(),hI=El(),mI=$h(),Gh="Block collections are not allowed within flow collections",Wh=e=>e&&(e.type==="block-map"||e.type==="block-seq");function pI({composeNode:e,composeEmptyNode:t},r,n,i,a){let s=n.start.source==="{",o=s?"flow map":"flow sequence",u=a?.nodeClass??(s?c5.YAMLMap:fI.YAMLSeq),l=new u(r.schema);l.flow=!0;let c=r.atRoot;c&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let f=n.offset+n.start.source.length;for(let x=0;x<n.items.length;++x){let v=n.items[x],{start:w,key:N,sep:B,value:q}=v,_=f5.resolveProps(w,{flow:o,indicator:"explicit-key-ind",next:N??B?.[0],offset:f,onError:i,parentIndent:n.indent,startOnNewline:!1});if(!_.found){if(!_.anchor&&!_.tag&&!B&&!q){x===0&&_.comma?i(_.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`):x<n.items.length-1&&i(_.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${o}`),_.comment&&(l.comment?l.comment+=`
|
|
67
|
+
`+_.comment:l.comment=_.comment),f=_.end;continue}!s&&r.options.strict&&hI.containsNewline(N)&&i(N,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(x===0)_.comma&&i(_.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${o}`);else if(_.comma||i(_.start,"MISSING_CHAR",`Missing , between ${o} items`),_.comment){let U="";e:for(let H of w)switch(H.type){case"comma":case"space":break;case"comment":U=H.source.substring(1);break e;default:break e}if(U){let H=l.items[l.items.length-1];lI.isPair(H)&&(H=H.value??H.key),H.comment?H.comment+=`
|
|
68
|
+
`+U:H.comment=U,_.comment=_.comment.substring(U.length+1)}}if(!s&&!B&&!_.found){let U=q?e(r,q,_,i):t(r,_.end,B,null,_,i);l.items.push(U),f=U.range[2],Wh(q)&&i(U.range,"BLOCK_IN_FLOW",Gh)}else{r.atKey=!0;let U=_.end,H=N?e(r,N,_,i):t(r,U,w,null,_,i);Wh(N)&&i(H.range,"BLOCK_IN_FLOW",Gh),r.atKey=!1;let F=f5.resolveProps(B??[],{flow:o,indicator:"map-value-ind",next:q,offset:H.range[2],onError:i,parentIndent:n.indent,startOnNewline:!1});if(F.found){if(!s&&!_.found&&r.options.strict){if(B)for(let ee of B){if(ee===F.found)break;if(ee.type==="newline"){i(ee,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}_.start<F.found.offset-1024&&i(F.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else q&&("source"in q&&q.source?.[0]===":"?i(q,"MISSING_CHAR",`Missing space after : in ${o}`):i(F.start,"MISSING_CHAR",`Missing , or : between ${o} items`));let O=q?e(r,q,F,i):F.found?t(r,F.end,B,null,F,i):null;O?Wh(q)&&i(O.range,"BLOCK_IN_FLOW",Gh):F.comment&&(H.comment?H.comment+=`
|
|
69
|
+
`+F.comment:H.comment=F.comment);let ue=new cI.Pair(H,O);if(r.options.keepSourceTokens&&(ue.srcToken=v),s){let ee=l;mI.mapIncludes(r,ee.items,H)&&i(U,"DUPLICATE_KEY","Map keys must be unique"),ee.items.push(ue)}else{let ee=new c5.YAMLMap(r.schema);ee.flow=!0,ee.items.push(ue);let W=(O??H).range;ee.range=[H.range[0],W[1],W[2]],l.items.push(ee)}f=O?O.range[2]:F.end}}let m=s?"}":"]",[p,...y]=n.end,E=f;if(p?.source===m)E=p.offset+p.source.length;else{let x=o[0].toUpperCase()+o.substring(1),v=c?`${x} must end with a ${m}`:`${x} in block collection must be sufficiently indented and end with a ${m}`;i(f,c?"MISSING_CHAR":"BAD_INDENT",v),p&&p.source.length!==1&&y.unshift(p)}if(y.length>0){let x=dI.resolveEnd(y,E,r.options.strict,i);x.comment&&(l.comment?l.comment+=`
|
|
70
|
+
`+x.comment:l.comment=x.comment),l.range=[n.offset,E,x.offset]}else l.range=[n.offset,E,E];return l}d5.resolveFlowCollection=pI});var p5=re(m5=>{"use strict";var gI=Ee(),bI=$e(),yI=pn(),EI=gn(),xI=s5(),TI=u5(),vI=h5();function Kh(e,t,r,n,i,a){let s=r.type==="block-map"?xI.resolveBlockMap(e,t,r,n,a):r.type==="block-seq"?TI.resolveBlockSeq(e,t,r,n,a):vI.resolveFlowCollection(e,t,r,n,a),o=s.constructor;return i==="!"||i===o.tagName?(s.tag=o.tagName,s):(i&&(s.tag=i),s)}function CI(e,t,r,n,i){let a=n.tag,s=a?t.directives.tagName(a.source,m=>i(a,"TAG_RESOLVE_FAILED",m)):null;if(r.type==="block-seq"){let{anchor:m,newlineAfterProp:p}=n,y=m&&a?m.offset>a.offset?m:a:m??a;y&&(!p||p.offset<y.offset)&&i(y,"MISSING_CHAR","Missing newline after block sequence props")}let o=r.type==="block-map"?"map":r.type==="block-seq"?"seq":r.start.source==="{"?"map":"seq";if(!a||!s||s==="!"||s===yI.YAMLMap.tagName&&o==="map"||s===EI.YAMLSeq.tagName&&o==="seq")return Kh(e,t,r,i,s);let u=t.schema.tags.find(m=>m.tag===s&&m.collection===o);if(!u){let m=t.schema.knownTags[s];if(m?.collection===o)t.schema.tags.push(Object.assign({},m,{default:!1})),u=m;else return m?i(a,"BAD_COLLECTION_TYPE",`${m.tag} used for ${o} collection, but expects ${m.collection??"scalar"}`,!0):i(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),Kh(e,t,r,i,s)}let l=Kh(e,t,r,i,s,u),c=u.resolve?.(l,m=>i(a,"TAG_RESOLVE_FAILED",m),t.options)??l,f=gI.isNode(c)?c:new bI.Scalar(c);return f.range=l.range,f.tag=s,u?.format&&(f.format=u.format),f}m5.composeCollection=CI});var Xh=re(g5=>{"use strict";var Qh=$e();function AI(e,t,r){let n=t.offset,i=wI(t,e.options.strict,r);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};let a=i.mode===">"?Qh.Scalar.BLOCK_FOLDED:Qh.Scalar.BLOCK_LITERAL,s=t.source?SI(t.source):[],o=s.length;for(let E=s.length-1;E>=0;--E){let x=s[E][1];if(x===""||x==="\r")o=E;else break}if(o===0){let E=i.chomp==="+"&&s.length>0?`
|
|
71
|
+
`.repeat(Math.max(1,s.length-1)):"",x=n+i.length;return t.source&&(x+=t.source.length),{value:E,type:a,comment:i.comment,range:[n,x,x]}}let u=t.indent+i.indent,l=t.offset+i.length,c=0;for(let E=0;E<o;++E){let[x,v]=s[E];if(v===""||v==="\r")i.indent===0&&x.length>u&&(u=x.length);else{x.length<u&&r(l+x.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(u=x.length),c=E,u===0&&!e.atRoot&&r(l,"BAD_INDENT","Block scalar values in collections must be indented");break}l+=x.length+v.length+1}for(let E=s.length-1;E>=o;--E)s[E][0].length>u&&(o=E+1);let f="",m="",p=!1;for(let E=0;E<c;++E)f+=s[E][0].slice(u)+`
|
|
72
|
+
`;for(let E=c;E<o;++E){let[x,v]=s[E];l+=x.length+v.length+1;let w=v[v.length-1]==="\r";if(w&&(v=v.slice(0,-1)),v&&x.length<u){let B=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;r(l-v.length-(w?2:1),"BAD_INDENT",B),x=""}a===Qh.Scalar.BLOCK_LITERAL?(f+=m+x.slice(u)+v,m=`
|
|
73
|
+
`):x.length>u||v[0]===" "?(m===" "?m=`
|
|
74
|
+
`:!p&&m===`
|
|
75
|
+
`&&(m=`
|
|
76
|
+
|
|
77
|
+
`),f+=m+x.slice(u)+v,m=`
|
|
78
|
+
`,p=!0):v===""?m===`
|
|
79
|
+
`?f+=`
|
|
80
|
+
`:m=`
|
|
81
|
+
`:(f+=m+v,m=" ",p=!1)}switch(i.chomp){case"-":break;case"+":for(let E=o;E<s.length;++E)f+=`
|
|
82
|
+
`+s[E][0].slice(u);f[f.length-1]!==`
|
|
83
|
+
`&&(f+=`
|
|
84
|
+
`);break;default:f+=`
|
|
85
|
+
`}let y=n+i.length+t.source.length;return{value:f,type:a,comment:i.comment,range:[n,y,y]}}function wI({offset:e,props:t},r,n){if(t[0].type!=="block-scalar-header")return n(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=t[0],a=i[0],s=0,o="",u=-1;for(let m=1;m<i.length;++m){let p=i[m];if(!o&&(p==="-"||p==="+"))o=p;else{let y=Number(p);!s&&y?s=y:u===-1&&(u=e+m)}}u!==-1&&n(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let l=!1,c="",f=i.length;for(let m=1;m<t.length;++m){let p=t[m];switch(p.type){case"space":l=!0;case"newline":f+=p.source.length;break;case"comment":r&&!l&&n(p,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),f+=p.source.length,c=p.source.substring(1);break;case"error":n(p,"UNEXPECTED_TOKEN",p.message),f+=p.source.length;break;default:{let y=`Unexpected token in block scalar header: ${p.type}`;n(p,"UNEXPECTED_TOKEN",y);let E=p.source;E&&typeof E=="string"&&(f+=E.length)}}}return{mode:a,indent:s,chomp:o,comment:c,length:f}}function SI(e){let t=e.split(/\n( *)/),r=t[0],n=r.match(/^( *)/),a=[n?.[1]?[n[1],r.slice(n[1].length)]:["",r]];for(let s=1;s<t.length;s+=2)a.push([t[s],t[s+1]]);return a}g5.resolveBlockScalar=AI});var Zh=re(y5=>{"use strict";var Jh=$e(),kI=Pi();function DI(e,t,r){let{offset:n,type:i,source:a,end:s}=e,o,u,l=(m,p,y)=>r(n+m,p,y);switch(i){case"scalar":o=Jh.Scalar.PLAIN,u=NI(a,l);break;case"single-quoted-scalar":o=Jh.Scalar.QUOTE_SINGLE,u=II(a,l);break;case"double-quoted-scalar":o=Jh.Scalar.QUOTE_DOUBLE,u=_I(a,l);break;default:return r(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[n,n+a.length,n+a.length]}}let c=n+a.length,f=kI.resolveEnd(s,c,t,r);return{value:u,type:o,comment:f.comment,range:[n,c,f.offset]}}function NI(e,t){let r="";switch(e[0]){case" ":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":{r=`block scalar indicator ${e[0]}`;break}case"@":case"`":{r=`reserved character ${e[0]}`;break}}return r&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),b5(e)}function II(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),b5(e.slice(1,-1)).replace(/''/g,"'")}function b5(e){let t,r;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
|
|
86
|
+
`,"sy"),r=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
|
|
87
|
+
`,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,r=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=t.exec(e);if(!n)return e;let i=n[1],a=" ",s=t.lastIndex;for(r.lastIndex=s;n=r.exec(e);)n[1]===""?a===`
|
|
88
|
+
`?i+=a:a=`
|
|
89
|
+
`:(i+=a+n[1],a=" "),s=r.lastIndex;let o=/[ \t]*(.*)/sy;return o.lastIndex=s,n=o.exec(e),i+a+(n?.[1]??"")}function _I(e,t){let r="";for(let n=1;n<e.length-1;++n){let i=e[n];if(!(i==="\r"&&e[n+1]===`
|
|
90
|
+
`))if(i===`
|
|
91
|
+
`){let{fold:a,offset:s}=LI(e,n);r+=a,n=s}else if(i==="\\"){let a=e[++n],s=PI[a];if(s)r+=s;else if(a===`
|
|
92
|
+
`)for(a=e[n+1];a===" "||a===" ";)a=e[++n+1];else if(a==="\r"&&e[n+1]===`
|
|
93
|
+
`)for(a=e[++n+1];a===" "||a===" ";)a=e[++n+1];else if(a==="x"||a==="u"||a==="U"){let o=a==="x"?2:a==="u"?4:8;r+=RI(e,n+1,o,t),n+=o}else{let o=e.substr(n-1,2);t(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),r+=o}}else if(i===" "||i===" "){let a=n,s=e[n+1];for(;s===" "||s===" ";)s=e[++n+1];s!==`
|
|
94
|
+
`&&!(s==="\r"&&e[n+2]===`
|
|
95
|
+
`)&&(r+=n>a?e.slice(a,n+1):i)}else r+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),r}function LI(e,t){let r="",n=e[t+1];for(;(n===" "||n===" "||n===`
|
|
96
|
+
`||n==="\r")&&!(n==="\r"&&e[t+2]!==`
|
|
97
|
+
`);)n===`
|
|
98
|
+
`&&(r+=`
|
|
99
|
+
`),t+=1,n=e[t+1];return r||(r=" "),{fold:r,offset:t}}var PI={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
|
|
100
|
+
`,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function RI(e,t,r,n){let i=e.substr(t,r),s=i.length===r&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;try{return String.fromCodePoint(s)}catch{let o=e.substr(t-2,r+2);return n(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}}y5.resolveFlowScalar=DI});var T5=re(x5=>{"use strict";var jn=Ee(),E5=$e(),OI=Xh(),MI=Zh();function FI(e,t,r,n){let{value:i,type:a,comment:s,range:o}=t.type==="block-scalar"?OI.resolveBlockScalar(e,t,n):MI.resolveFlowScalar(t,e.options.strict,n),u=r?e.directives.tagName(r.source,f=>n(r,"TAG_RESOLVE_FAILED",f)):null,l;e.options.stringKeys&&e.atKey?l=e.schema[jn.SCALAR]:u?l=BI(e.schema,i,u,r,n):t.type==="scalar"?l=qI(e,i,t,n):l=e.schema[jn.SCALAR];let c;try{let f=l.resolve(i,m=>n(r??t,"TAG_RESOLVE_FAILED",m),e.options);c=jn.isScalar(f)?f:new E5.Scalar(f)}catch(f){let m=f instanceof Error?f.message:String(f);n(r??t,"TAG_RESOLVE_FAILED",m),c=new E5.Scalar(i)}return c.range=o,c.source=i,a&&(c.type=a),u&&(c.tag=u),l.format&&(c.format=l.format),s&&(c.comment=s),c}function BI(e,t,r,n,i){if(r==="!")return e[jn.SCALAR];let a=[];for(let o of e.tags)if(!o.collection&&o.tag===r)if(o.default&&o.test)a.push(o);else return o;for(let o of a)if(o.test?.test(t))return o;let s=e.knownTags[r];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,r!=="tag:yaml.org,2002:str"),e[jn.SCALAR])}function qI({atKey:e,directives:t,schema:r},n,i,a){let s=r.tags.find(o=>(o.default===!0||e&&o.default==="key")&&o.test?.test(n))||r[jn.SCALAR];if(r.compat){let o=r.compat.find(u=>u.default&&u.test?.test(n))??r[jn.SCALAR];if(s.tag!==o.tag){let u=t.tagString(s.tag),l=t.tagString(o.tag),c=`Value may be parsed as either ${u} or ${l}`;a(i,"TAG_RESOLVE_FAILED",c,!0)}}return s}x5.composeScalar=FI});var C5=re(v5=>{"use strict";function UI(e,t,r){if(t){r??(r=t.length);for(let n=r-1;n>=0;--n){let i=t[n];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++n];i?.type==="space";)e+=i.source.length,i=t[++n];break}}return e}v5.emptyScalarPosition=UI});var S5=re(tm=>{"use strict";var HI=Ha(),zI=Ee(),jI=p5(),A5=T5(),VI=Pi(),YI=C5(),$I={composeNode:w5,composeEmptyNode:em};function w5(e,t,r,n){let i=e.atKey,{spaceBefore:a,comment:s,anchor:o,tag:u}=r,l,c=!0;switch(t.type){case"alias":l=GI(e,t,n),(o||u)&&n(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=A5.composeScalar(e,t,u,n),o&&(l.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{l=jI.composeCollection($I,e,t,r,n),o&&(l.anchor=o.source.substring(1))}catch(f){let m=f instanceof Error?f.message:String(f);n(t,"RESOURCE_EXHAUSTION",m)}break;default:{let f=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;n(t,"UNEXPECTED_TOKEN",f),c=!1}}return l??(l=em(e,t.offset,void 0,null,r,n)),o&&l.anchor===""&&n(o,"BAD_ALIAS","Anchor cannot be an empty string"),i&&e.options.stringKeys&&(!zI.isScalar(l)||typeof l.value!="string"||l.tag&&l.tag!=="tag:yaml.org,2002:str")&&n(u??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),a&&(l.spaceBefore=!0),s&&(t.type==="scalar"&&t.source===""?l.comment=s:l.commentBefore=s),e.options.keepSourceTokens&&c&&(l.srcToken=t),l}function em(e,t,r,n,{spaceBefore:i,comment:a,anchor:s,tag:o,end:u},l){let c={type:"scalar",offset:YI.emptyScalarPosition(t,r,n),indent:-1,source:""},f=A5.composeScalar(e,c,o,l);return s&&(f.anchor=s.source.substring(1),f.anchor===""&&l(s,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(f.spaceBefore=!0),a&&(f.comment=a,f.range[2]=u),f}function GI({options:e},{offset:t,source:r,end:n},i){let a=new HI.Alias(r.substring(1));a.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),a.source.endsWith(":")&&i(t+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let s=t+r.length,o=VI.resolveEnd(n,s,e.strict,i);return a.range=[t,s,o.offset],o.comment&&(a.comment=o.comment),a}tm.composeEmptyNode=em;tm.composeNode=w5});var N5=re(D5=>{"use strict";var WI=ns(),k5=S5(),KI=Pi(),QI=os();function XI(e,t,{offset:r,start:n,value:i,end:a},s){let o=Object.assign({_directives:t},e),u=new WI.Document(void 0,o),l={atKey:!1,atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},c=QI.resolveProps(n,{indicator:"doc-start",next:i??a?.[0],offset:r,onError:s,parentIndent:0,startOnNewline:!0});c.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!c.hasNewline&&s(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?k5.composeNode(l,i,c,s):k5.composeEmptyNode(l,c.end,n,null,c,s);let f=u.contents.range[2],m=KI.resolveEnd(a,f,!1,s);return m.comment&&(u.comment=m.comment),u.range=[r,f,m.offset],u}D5.composeDoc=XI});var nm=re(L5=>{"use strict";var JI=vs("process"),ZI=zd(),e_=ns(),us=ss(),I5=Ee(),t_=N5(),r_=Pi();function ls(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];let{offset:t,source:r}=e;return[t,t+(typeof r=="string"?r.length:1)]}function _5(e){let t="",r=!1,n=!1;for(let i=0;i<e.length;++i){let a=e[i];switch(a[0]){case"#":t+=(t===""?"":n?`
|
|
101
|
+
|
|
102
|
+
`:`
|
|
103
|
+
`)+(a.substring(1)||" "),r=!0,n=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),r=!1;break;default:r||(n=!0),r=!1}}return{comment:t,afterEmptyLine:n}}var rm=class{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(r,n,i,a)=>{let s=ls(r);a?this.warnings.push(new us.YAMLWarning(s,n,i)):this.errors.push(new us.YAMLParseError(s,n,i))},this.directives=new ZI.Directives({version:t.version||"1.2"}),this.options=t}decorate(t,r){let{comment:n,afterEmptyLine:i}=_5(this.prelude);if(n){let a=t.contents;if(r)t.comment=t.comment?`${t.comment}
|
|
104
|
+
${n}`:n;else if(i||t.directives.docStart||!a)t.commentBefore=n;else if(I5.isCollection(a)&&!a.flow&&a.items.length>0){let s=a.items[0];I5.isPair(s)&&(s=s.key);let o=s.commentBefore;s.commentBefore=o?`${n}
|
|
105
|
+
${o}`:n}else{let s=a.commentBefore;a.commentBefore=s?`${n}
|
|
106
|
+
${s}`:n}}if(r){for(let a=0;a<this.errors.length;++a)t.errors.push(this.errors[a]);for(let a=0;a<this.warnings.length;++a)t.warnings.push(this.warnings[a])}else t.errors=this.errors,t.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:_5(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,r=!1,n=-1){for(let i of t)yield*this.next(i);yield*this.end(r,n)}*next(t){switch(JI.env.LOG_STREAM&&console.dir(t,{depth:null}),t.type){case"directive":this.directives.add(t.source,(r,n,i)=>{let a=ls(t);a[0]+=r,this.onError(a,"BAD_DIRECTIVE",n,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{let r=t_.composeDoc(this.options,this.directives,t,this.onError);this.atDirectives&&!r.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(r,!1),this.doc&&(yield this.doc),this.doc=r,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{let r=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,n=new us.YAMLParseError(ls(t),"UNEXPECTED_TOKEN",r);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){let n="Unexpected doc-end without preceding document";this.errors.push(new us.YAMLParseError(ls(t),"UNEXPECTED_TOKEN",n));break}this.doc.directives.docEnd=!0;let r=r_.resolveEnd(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),r.comment){let n=this.doc.comment;this.doc.comment=n?`${n}
|
|
107
|
+
${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new us.YAMLParseError(ls(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,r=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){let n=Object.assign({_directives:this.directives},this.options),i=new e_.Document(void 0,n);this.atDirectives&&this.onError(r,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,r,r],this.decorate(i,!1),yield i}}};L5.Composer=rm});var O5=re(xl=>{"use strict";var n_=Xh(),i_=Zh(),a_=ss(),P5=$a();function s_(e,t=!0,r){if(e){let n=(i,a,s)=>{let o=typeof i=="number"?i:Array.isArray(i)?i[0]:i.offset;if(r)r(o,a,s);else throw new a_.YAMLParseError([o,o+1],a,s)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return i_.resolveFlowScalar(e,t,n);case"block-scalar":return n_.resolveBlockScalar({options:{strict:t}},e,n)}}return null}function o_(e,t){let{implicitKey:r=!1,indent:n,inFlow:i=!1,offset:a=-1,type:s="PLAIN"}=t,o=P5.stringifyString({type:s,value:e},{implicitKey:r,indent:n>0?" ".repeat(n):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:"newline",offset:-1,indent:n,source:`
|
|
108
|
+
`}];switch(o[0]){case"|":case">":{let l=o.indexOf(`
|
|
109
|
+
`),c=o.substring(0,l),f=o.substring(l+1)+`
|
|
110
|
+
`,m=[{type:"block-scalar-header",offset:a,indent:n,source:c}];return R5(m,u)||m.push({type:"newline",offset:-1,indent:n,source:`
|
|
111
|
+
`}),{type:"block-scalar",offset:a,indent:n,props:m,source:f}}case'"':return{type:"double-quoted-scalar",offset:a,indent:n,source:o,end:u};case"'":return{type:"single-quoted-scalar",offset:a,indent:n,source:o,end:u};default:return{type:"scalar",offset:a,indent:n,source:o,end:u}}}function u_(e,t,r={}){let{afterKey:n=!1,implicitKey:i=!1,inFlow:a=!1,type:s}=r,o="indent"in e?e.indent:null;if(n&&typeof o=="number"&&(o+=2),!s)switch(e.type){case"single-quoted-scalar":s="QUOTE_SINGLE";break;case"double-quoted-scalar":s="QUOTE_DOUBLE";break;case"block-scalar":{let l=e.props[0];if(l.type!=="block-scalar-header")throw new Error("Invalid block scalar header");s=l.source[0]===">"?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:s="PLAIN"}let u=P5.stringifyString({type:s,value:t},{implicitKey:i||o===null,indent:o!==null&&o>0?" ".repeat(o):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":l_(e,u);break;case'"':im(e,u,"double-quoted-scalar");break;case"'":im(e,u,"single-quoted-scalar");break;default:im(e,u,"scalar")}}function l_(e,t){let r=t.indexOf(`
|
|
112
|
+
`),n=t.substring(0,r),i=t.substring(r+1)+`
|
|
113
|
+
`;if(e.type==="block-scalar"){let a=e.props[0];if(a.type!=="block-scalar-header")throw new Error("Invalid block scalar header");a.source=n,e.source=i}else{let{offset:a}=e,s="indent"in e?e.indent:-1,o=[{type:"block-scalar-header",offset:a,indent:s,source:n}];R5(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:s,source:`
|
|
114
|
+
`});for(let u of Object.keys(e))u!=="type"&&u!=="offset"&&delete e[u];Object.assign(e,{type:"block-scalar",indent:s,props:o,source:i})}}function R5(e,t){if(t)for(let r of t)switch(r.type){case"space":case"comment":e.push(r);break;case"newline":return e.push(r),!0}return!1}function im(e,t,r){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=r,e.source=t;break;case"block-scalar":{let n=e.props.slice(1),i=t.length;e.props[0].type==="block-scalar-header"&&(i-=e.props[0].source.length);for(let a of n)a.offset+=i;delete e.props,Object.assign(e,{type:r,source:t,end:n});break}case"block-map":case"block-seq":{let i={type:"newline",offset:e.offset+t.length,indent:e.indent,source:`
|
|
115
|
+
`};delete e.items,Object.assign(e,{type:r,source:t,end:[i]});break}default:{let n="indent"in e?e.indent:-1,i="end"in e&&Array.isArray(e.end)?e.end.filter(a=>a.type==="space"||a.type==="comment"||a.type==="newline"):[];for(let a of Object.keys(e))a!=="type"&&a!=="offset"&&delete e[a];Object.assign(e,{type:r,indent:n,source:t,end:i})}}}xl.createScalarToken=o_;xl.resolveAsScalar=s_;xl.setScalarValue=u_});var F5=re(M5=>{"use strict";var c_=e=>"type"in e?vl(e):Tl(e);function vl(e){switch(e.type){case"block-scalar":{let t="";for(let r of e.props)t+=vl(r);return t+e.source}case"block-map":case"block-seq":{let t="";for(let r of e.items)t+=Tl(r);return t}case"flow-collection":{let t=e.start.source;for(let r of e.items)t+=Tl(r);for(let r of e.end)t+=r.source;return t}case"document":{let t=Tl(e);if(e.end)for(let r of e.end)t+=r.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let r of e.end)t+=r.source;return t}}}function Tl({start:e,key:t,sep:r,value:n}){let i="";for(let a of e)i+=a.source;if(t&&(i+=vl(t)),r)for(let a of r)i+=a.source;return n&&(i+=vl(n)),i}M5.stringify=c_});var H5=re(U5=>{"use strict";var am=Symbol("break visit"),f_=Symbol("skip children"),B5=Symbol("remove item");function Vn(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),q5(Object.freeze([]),e,t)}Vn.BREAK=am;Vn.SKIP=f_;Vn.REMOVE=B5;Vn.itemAtPath=(e,t)=>{let r=e;for(let[n,i]of t){let a=r?.[n];if(a&&"items"in a)r=a.items[i];else return}return r};Vn.parentCollection=(e,t)=>{let r=Vn.itemAtPath(e,t.slice(0,-1)),n=t[t.length-1][0],i=r?.[n];if(i&&"items"in i)return i;throw new Error("Parent collection not found")};function q5(e,t,r){let n=r(t,e);if(typeof n=="symbol")return n;for(let i of["key","value"]){let a=t[i];if(a&&"items"in a){for(let s=0;s<a.items.length;++s){let o=q5(Object.freeze(e.concat([[i,s]])),a.items[s],r);if(typeof o=="number")s=o-1;else{if(o===am)return am;o===B5&&(a.items.splice(s,1),s-=1)}}typeof n=="function"&&i==="key"&&(n=n(t,e))}}return typeof n=="function"?n(t,e):n}U5.visit=Vn});var Cl=re(Ct=>{"use strict";var sm=O5(),d_=F5(),h_=H5(),om="\uFEFF",um="",lm="",cm="",m_=e=>!!e&&"items"in e,p_=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function g_(e){switch(e){case om:return"<BOM>";case um:return"<DOC>";case lm:return"<FLOW_END>";case cm:return"<SCALAR>";default:return JSON.stringify(e)}}function b_(e){switch(e){case om:return"byte-order-mark";case um:return"doc-mode";case lm:return"flow-error-end";case cm:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
|
|
116
|
+
`:case`\r
|
|
117
|
+
`:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}Ct.createScalarToken=sm.createScalarToken;Ct.resolveAsScalar=sm.resolveAsScalar;Ct.setScalarValue=sm.setScalarValue;Ct.stringify=d_.stringify;Ct.visit=h_.visit;Ct.BOM=om;Ct.DOCUMENT=um;Ct.FLOW_END=lm;Ct.SCALAR=cm;Ct.isCollection=m_;Ct.isScalar=p_;Ct.prettyToken=g_;Ct.tokenType=b_});var hm=re(j5=>{"use strict";var cs=Cl();function Jt(e){switch(e){case void 0:case" ":case`
|
|
118
|
+
`:case"\r":case" ":return!0;default:return!1}}var z5=new Set("0123456789ABCDEFabcdef"),y_=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),Al=new Set(",[]{}"),E_=new Set(` ,[]{}
|
|
119
|
+
\r `),fm=e=>!e||E_.has(e),dm=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,r=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!r;let n=this.next??"stream";for(;n&&(r||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let t=this.pos,r=this.buffer[t];for(;r===" "||r===" ";)r=this.buffer[++t];return!r||r==="#"||r===`
|
|
120
|
+
`?!0:r==="\r"?this.buffer[t+1]===`
|
|
121
|
+
`:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let r=this.buffer[t];if(this.indentNext>0){let n=0;for(;r===" ";)r=this.buffer[++n+t];if(r==="\r"){let i=this.buffer[n+t+1];if(i===`
|
|
122
|
+
`||!i&&!this.atEnd)return t+n+1}return r===`
|
|
123
|
+
`||n>=this.indentNext||!r&&!this.atEnd?t+n:-1}if(r==="-"||r==="."){let n=this.buffer.substr(t,3);if((n==="---"||n==="...")&&Jt(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
|
|
124
|
+
`,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===cs.BOM&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let r=t.length,n=t.indexOf("#");for(;n!==-1;){let a=t[n-1];if(a===" "||a===" "){r=n-1;break}else n=t.indexOf("#",n+1)}for(;;){let a=t[r-1];if(a===" "||a===" ")r-=1;else break}let i=(yield*this.pushCount(r))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){let r=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-r),yield*this.pushNewline(),"stream"}return yield cs.DOCUMENT,yield*this.parseLineStart()}*parseLineStart(){let t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let r=this.peek(3);if((r==="---"||r==="...")&&Jt(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,r==="---"?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Jt(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[t,r]=this.peek(2);if(!r&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Jt(r)){let n=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=n,"block-start"}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let t=this.getLine();if(t===null)return this.setNext("doc");let r=yield*this.pushIndicators();switch(t[r]){case"#":yield*this.pushCount(t.length-r);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(fm),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return r+=yield*this.parseBlockScalarHeader(),r+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-r),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,r,n=-1;do t=yield*this.pushNewline(),t>0?(r=yield*this.pushSpaces(!1),this.indentValue=n=r):r=0,r+=yield*this.pushSpaces(!0);while(t+r>0);let i=this.getLine();if(i===null)return this.setNext("flow");if((n!==-1&&n<this.indentNext&&i[0]!=="#"||n===0&&(i.startsWith("---")||i.startsWith("..."))&&Jt(i[3]))&&!(n===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield cs.FLOW_END,yield*this.parseLineStart();let a=0;for(;i[a]===",";)a+=yield*this.pushCount(1),a+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(a+=yield*this.pushIndicators(),i[a]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-a),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(fm),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let s=this.charAt(1);if(this.flowKey||Jt(s)||s===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let t=this.charAt(0),r=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;r!==-1&&this.buffer[r+1]==="'";)r=this.buffer.indexOf("'",r+2);else for(;r!==-1;){let a=0;for(;this.buffer[r-1-a]==="\\";)a+=1;if(a%2===0)break;r=this.buffer.indexOf('"',r+1)}let n=this.buffer.substring(0,r),i=n.indexOf(`
|
|
125
|
+
`,this.pos);if(i!==-1){for(;i!==-1;){let a=this.continueScalar(i+1);if(a===-1)break;i=n.indexOf(`
|
|
126
|
+
`,a)}i!==-1&&(r=i-(n[i-1]==="\r"?2:1))}if(r===-1){if(!this.atEnd)return this.setNext("quoted-scalar");r=this.buffer.length}return yield*this.pushToIndex(r+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){let r=this.buffer[++t];if(r==="+")this.blockScalarKeep=!0;else if(r>"0"&&r<="9")this.blockScalarIndent=Number(r)-1;else if(r!=="-")break}return yield*this.pushUntil(r=>Jt(r)||r==="#")}*parseBlockScalar(){let t=this.pos-1,r=0,n;e:for(let a=this.pos;n=this.buffer[a];++a)switch(n){case" ":r+=1;break;case`
|
|
127
|
+
`:t=a,r=0;break;case"\r":{let s=this.buffer[a+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
|
|
128
|
+
`)break}default:break e}if(!n&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=r:this.indentNext=this.blockScalarIndent+(this.indentNext===0?1:this.indentNext);do{let a=this.continueScalar(t+1);if(a===-1)break;t=this.buffer.indexOf(`
|
|
129
|
+
`,a)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let i=t+1;for(n=this.buffer[i];n===" ";)n=this.buffer[++i];if(n===" "){for(;n===" "||n===" "||n==="\r"||n===`
|
|
130
|
+
`;)n=this.buffer[++i];t=i-1}else if(!this.blockScalarKeep)do{let a=t-1,s=this.buffer[a];s==="\r"&&(s=this.buffer[--a]);let o=a;for(;s===" ";)s=this.buffer[--a];if(s===`
|
|
131
|
+
`&&a>=this.pos&&a+1+r>o)t=a;else break}while(!0);return yield cs.SCALAR,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let t=this.flowLevel>0,r=this.pos-1,n=this.pos-1,i;for(;i=this.buffer[++n];)if(i===":"){let a=this.buffer[n+1];if(Jt(a)||t&&Al.has(a))break;r=n}else if(Jt(i)){let a=this.buffer[n+1];if(i==="\r"&&(a===`
|
|
132
|
+
`?(n+=1,i=`
|
|
133
|
+
`,a=this.buffer[n+1]):r=n),a==="#"||t&&Al.has(a))break;if(i===`
|
|
134
|
+
`){let s=this.continueScalar(n+1);if(s===-1)break;n=Math.max(n,s-2)}}else{if(t&&Al.has(i))break;r=n}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield cs.SCALAR,yield*this.pushToIndex(r+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,r){let n=this.buffer.slice(this.pos,t);return n?(yield n,this.pos+=n.length,n.length):(r&&(yield""),0)}*pushIndicators(){let t=0;e:for(;;){switch(this.charAt(0)){case"!":t+=yield*this.pushTag(),t+=yield*this.pushSpaces(!0);continue e;case"&":t+=yield*this.pushUntil(fm),t+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{let r=this.flowLevel>0,n=this.charAt(1);if(Jt(n)||r&&Al.has(n)){r?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,t+=yield*this.pushCount(1),t+=yield*this.pushSpaces(!0);continue e}}}break e}return t}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,r=this.buffer[t];for(;!Jt(r)&&r!==">";)r=this.buffer[++t];return yield*this.pushToIndex(r===">"?t+1:t,!1)}else{let t=this.pos+1,r=this.buffer[t];for(;r;)if(y_.has(r))r=this.buffer[++t];else if(r==="%"&&z5.has(this.buffer[t+1])&&z5.has(this.buffer[t+2]))r=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){let t=this.buffer[this.pos];return t===`
|
|
135
|
+
`?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
|
|
136
|
+
`?yield*this.pushCount(2):0}*pushSpaces(t){let r=this.pos-1,n;do n=this.buffer[++r];while(n===" "||t&&n===" ");let i=r-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=r),i}*pushUntil(t){let r=this.pos,n=this.buffer[r];for(;!t(n);)n=this.buffer[++r];return yield*this.pushToIndex(r,!1)}};j5.Lexer=dm});var pm=re(V5=>{"use strict";var mm=class{constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let r=0,n=this.lineStarts.length;for(;r<n;){let a=r+n>>1;this.lineStarts[a]<t?r=a+1:n=a}if(this.lineStarts[r]===t)return{line:r+1,col:1};if(r===0)return{line:0,col:t};let i=this.lineStarts[r-1];return{line:r,col:t-i+1}}}};V5.LineCounter=mm});var bm=re(K5=>{"use strict";var x_=vs("process"),Y5=Cl(),T_=hm();function bn(e,t){for(let r=0;r<e.length;++r)if(e[r].type===t)return!0;return!1}function $5(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function W5(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function wl(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function Ri(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function Sl(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let r=0;r<t.length;++r)e.push(t[r])}function G5(e){if(e.start.type==="flow-seq-start")for(let t of e.items)t.sep&&!t.value&&!bn(t.start,"explicit-key-ind")&&!bn(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,W5(t.value)?t.value.end?Sl(t.value.end,t.sep):t.value.end=t.sep:Sl(t.start,t.sep),delete t.sep)}var gm=class{constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new T_.Lexer,this.onNewLine=t}*parse(t,r=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(let n of this.lexer.lex(t,r))yield*this.next(n);r||(yield*this.end())}*next(t){if(this.source=t,x_.env.LOG_TOKENS&&console.log("|",Y5.prettyToken(t)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}let r=Y5.tokenType(t);if(r)if(r==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=r,yield*this.step(),r){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{let n=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:n,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let t=this.peek(1);if(this.type==="doc-end"&&t?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){let r=t??this.stack.pop();if(!r)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield r;else{let n=this.peek(1);switch(r.type==="block-scalar"?r.indent="indent"in n?n.indent:0:r.type==="flow-collection"&&n.type==="document"&&(r.indent=0),r.type==="flow-collection"&&G5(r),n.type){case"document":n.value=r;break;case"block-scalar":n.props.push(r);break;case"block-map":{let i=n.items[n.items.length-1];if(i.value){n.items.push({start:[],key:r,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=r;else{Object.assign(i,{key:r,sep:[]}),this.onKeyLine=!i.explicitKey;return}break}case"block-seq":{let i=n.items[n.items.length-1];i.value?n.items.push({start:[],value:r}):i.value=r;break}case"flow-collection":{let i=n.items[n.items.length-1];!i||i.value?n.items.push({start:[],key:r,sep:[]}):i.sep?i.value=r:Object.assign(i,{key:r,sep:[]});return}default:yield*this.pop(),yield*this.pop(r)}if((n.type==="document"||n.type==="block-map"||n.type==="block-seq")&&(r.type==="block-map"||r.type==="block-seq")){let i=r.items[r.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&$5(i.start)===-1&&(r.indent===0||i.start.every(a=>a.type!=="comment"||a.indent<r.indent))&&(n.type==="document"?n.end=i.start:n.items.push({start:i.start}),r.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{$5(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}let r=this.startBlockValue(t);r?this.stack.push(r):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){let r=wl(this.peek(2)),n=Ri(r),i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];let a={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:n,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let r=this.source.indexOf(`
|
|
137
|
+
`)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
|
|
138
|
+
`,r)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){let r=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)t.items.push({start:[this.sourceToken]});else if(r.sep)r.sep.push(this.sourceToken);else{if(this.atIndentedComment(r.start,t.indent)){let i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Sl(i,r.start),i.push(this.sourceToken),t.items.pop();return}}r.start.push(this.sourceToken)}return}if(this.indent>=t.indent){let n=!this.onKeyLine&&this.indent===t.indent,i=n&&(r.sep||r.explicitKey)&&this.type!=="seq-item-ind",a=[];if(i&&r.sep&&!r.value){let s=[];for(let o=0;o<r.sep.length;++o){let u=r.sep[o];switch(u.type){case"newline":s.push(o);break;case"space":break;case"comment":u.indent>t.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(a=r.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":i||r.value?(a.push(this.sourceToken),t.items.push({start:a}),this.onKeyLine=!0):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"explicit-key-ind":!r.sep&&!r.explicitKey?(r.start.push(this.sourceToken),r.explicitKey=!0):i||r.value?(a.push(this.sourceToken),t.items.push({start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case"map-value-ind":if(r.explicitKey)if(r.sep)if(r.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(bn(r.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(W5(r.key)&&!bn(r.sep,"newline")){let s=Ri(r.start),o=r.key,u=r.sep;u.push(this.sourceToken),delete r.key,delete r.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:o,sep:u}]})}else a.length>0?r.sep=r.sep.concat(a,this.sourceToken):r.sep.push(this.sourceToken);else if(bn(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{let s=Ri(r.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]})}else r.sep?r.value||i?t.items.push({start:a,key:null,sep:[this.sourceToken]}):bn(r.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);i||r.value?(t.items.push({start:a,key:s,sep:[]}),this.onKeyLine=!0):r.sep?this.stack.push(s):(Object.assign(r,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{let s=this.startBlockValue(t);if(s){if(s.type==="block-seq"){if(!r.explicitKey&&r.sep&&!bn(r.sep,"newline")){yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source});return}}else n&&t.items.push({start:a});this.stack.push(s);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){let r=t.items[t.items.length-1];switch(this.type){case"newline":if(r.value){let n="end"in r.value?r.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type==="comment"?n?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else r.start.push(this.sourceToken);return;case"space":case"comment":if(r.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(r.start,t.indent)){let i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Sl(i,r.start),i.push(this.sourceToken),t.items.pop();return}}r.start.push(this.sourceToken)}return;case"anchor":case"tag":if(r.value||this.indent<=t.indent)break;r.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;r.value||bn(r.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return}if(this.indent>t.indent){let n=this.startBlockValue(t);if(n){this.stack.push(n);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){let r=t.items[t.items.length-1];if(this.type==="flow-error-end"){let n;do yield*this.pop(),n=this.peek(1);while(n?.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!r||r.sep?t.items.push({start:[this.sourceToken]}):r.start.push(this.sourceToken);return;case"map-value-ind":!r||r.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):Object.assign(r,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!r||r.value?t.items.push({start:[this.sourceToken]}):r.sep?r.sep.push(this.sourceToken):r.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let i=this.flowScalar(this.type);!r||r.value?t.items.push({start:[],key:i,sep:[]}):r.sep?this.stack.push(i):Object.assign(r,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}let n=this.startBlockValue(t);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let n=this.peek(2);if(n.type==="block-map"&&(this.type==="map-value-ind"&&n.indent===t.indent||this.type==="newline"&&!n.items[n.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&n.type!=="flow-collection"){let i=wl(n),a=Ri(i);G5(t);let s=t.end.splice(1,t.end.length);s.push(this.sourceToken);let o={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:a,key:t,sep:s}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=o}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let r=this.source.indexOf(`
|
|
139
|
+
`)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
|
|
140
|
+
`,r)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let r=wl(t),n=Ri(r);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let r=wl(t),n=Ri(r);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,r){return this.type!=="comment"||this.indent<=r?!1:t.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};K5.Parser=gm});var ey=re(ds=>{"use strict";var Q5=nm(),v_=ns(),fs=ss(),C_=th(),A_=Ee(),w_=pm(),X5=bm();function J5(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new w_.LineCounter||null,prettyErrors:t}}function S_(e,t={}){let{lineCounter:r,prettyErrors:n}=J5(t),i=new X5.Parser(r?.addNewLine),a=new Q5.Composer(t),s=Array.from(a.compose(i.parse(e)));if(n&&r)for(let o of s)o.errors.forEach(fs.prettifyError(e,r)),o.warnings.forEach(fs.prettifyError(e,r));return s.length>0?s:Object.assign([],{empty:!0},a.streamInfo())}function Z5(e,t={}){let{lineCounter:r,prettyErrors:n}=J5(t),i=new X5.Parser(r?.addNewLine),a=new Q5.Composer(t),s=null;for(let o of a.compose(i.parse(e),!0,e.length))if(!s)s=o;else if(s.options.logLevel!=="silent"){s.errors.push(new fs.YAMLParseError(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&r&&(s.errors.forEach(fs.prettifyError(e,r)),s.warnings.forEach(fs.prettifyError(e,r))),s}function k_(e,t,r){let n;typeof t=="function"?n=t:r===void 0&&t&&typeof t=="object"&&(r=t);let i=Z5(e,r);if(!i)return null;if(i.warnings.forEach(a=>C_.warn(i.options.logLevel,a)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:n},r))}function D_(e,t,r){let n=null;if(typeof t=="function"||Array.isArray(t)?n=t:r===void 0&&t&&(r=t),typeof r=="string"&&(r=r.length),typeof r=="number"){let i=Math.round(r);r=i<1?void 0:i>8?{indent:8}:{indent:i}}if(e===void 0){let{keepUndefined:i}=r??t??{};if(!i)return}return A_.isDocument(e)&&!n?e.toString(r):new v_.Document(e,n,r).toString(r)}ds.parse=k_;ds.parseAllDocuments=S_;ds.parseDocument=Z5;ds.stringify=D_});var ry=re(Ce=>{"use strict";var N_=nm(),I_=ns(),__=Fh(),ym=ss(),L_=Ha(),yn=Ee(),P_=hn(),R_=$e(),O_=pn(),M_=gn(),F_=Cl(),B_=hm(),q_=pm(),U_=bm(),kl=ey(),ty=Fa();Ce.Composer=N_.Composer;Ce.Document=I_.Document;Ce.Schema=__.Schema;Ce.YAMLError=ym.YAMLError;Ce.YAMLParseError=ym.YAMLParseError;Ce.YAMLWarning=ym.YAMLWarning;Ce.Alias=L_.Alias;Ce.isAlias=yn.isAlias;Ce.isCollection=yn.isCollection;Ce.isDocument=yn.isDocument;Ce.isMap=yn.isMap;Ce.isNode=yn.isNode;Ce.isPair=yn.isPair;Ce.isScalar=yn.isScalar;Ce.isSeq=yn.isSeq;Ce.Pair=P_.Pair;Ce.Scalar=R_.Scalar;Ce.YAMLMap=O_.YAMLMap;Ce.YAMLSeq=M_.YAMLSeq;Ce.CST=F_;Ce.Lexer=B_.Lexer;Ce.LineCounter=q_.LineCounter;Ce.Parser=U_.Parser;Ce.parse=kl.parse;Ce.parseAllDocuments=kl.parseAllDocuments;Ce.parseDocument=kl.parseDocument;Ce.stringify=kl.stringify;Ce.visit=ty.visit;Ce.visitAsync=ty.visitAsync});import UL from"node:fs/promises";import Vl from"node:path";import Xm from"node:fs/promises";import b8 from"node:os";import ws from"node:path";import{build as y8}from"esbuild";import As from"node:fs";import Qn from"node:path";function h8(e){let t=Qn.join(e,"packages");return As.existsSync(t)?Qm(t).flatMap(r=>{let n=Qn.join(r,"package.json"),i=JSON.parse(As.readFileSync(n,"utf8"));return typeof i.name!="string"?[]:m8(i.name,r,i)}):[]}function Km(e){let t=h8(e);return{name:"workspace-package-resolver",setup(r){r.onResolve({filter:/.*/},n=>{let i=t.find(a=>a.find.test(n.path));return i?{path:i.replacement}:null})}}}function Qm(e){let t=Qn.join(e,"package.json");return As.existsSync(t)?[e]:As.readdirSync(e,{withFileTypes:!0}).filter(r=>r.isDirectory()).flatMap(r=>Qm(Qn.join(e,r.name)))}function m8(e,t,r){let n=[],i=p8(r.exports)??r.main;if(i&&n.push({find:new RegExp(`^${Wm(e)}$`),replacement:Qn.join(t,i)}),!r.exports||typeof r.exports!="object")return n;for(let[a,s]of Object.entries(r.exports)){if(a==="."||!a.startsWith("."))continue;let o=Vi(s);o&&n.push({find:new RegExp(`^${Wm(e+a.slice(1))}$`),replacement:Qn.join(t,o)})}return n}function p8(e){if(typeof e=="string")return e;if(!e||typeof e!="object")return;let t=e["."];if(t!==void 0)return Vi(t);if(!Object.keys(e).some(n=>n.startsWith(".")))return Vi(e)}var g8=["source","import","module","browser","default","node","require","types"];function Vi(e){if(typeof e=="string")return e;if(!e||typeof e!="object")return;let t=e;for(let r of g8)if(r in t){let n=Vi(t[r]);if(n)return n}for(let r of Object.values(t)){let n=Vi(r);if(n)return n}}function Wm(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}async function Jm(e){let t=e.configFile??"riebeckite.config.ts",r=await Xm.mkdtemp(ws.join(b8.tmpdir(),"riebeckite-config-")),n=ws.join(r,"config.mjs");try{return await y8({stdin:{contents:`
|
|
141
|
+
import rawConfig from ${JSON.stringify(ws.resolve(e.configRoot,t))};
|
|
142
|
+
import { resolveConfigModule } from "@riebeckite/core";
|
|
143
|
+
export default resolveConfigModule(rawConfig);
|
|
144
|
+
`,resolveDir:e.configRoot,loader:"ts"},outfile:n,bundle:!0,platform:"node",format:"esm",banner:{js:'import { createRequire as __riebeckiteCreateRequire } from "node:module"; const require = __riebeckiteCreateRequire(import.meta.url);'},plugins:e.workspaceRoot?[Km(e.workspaceRoot)]:[]}),(await import(`${E8(n)}?t=${Date.now()}`)).default}finally{await Xm.rm(r,{recursive:!0,force:!0})}}function Zm(e,t){return{...e,content:{...e.content,directory:ws.resolve(t,e.content.directory)}}}function E8(e){return`file:///${e.replace(/\\/g,"/").replace(/^([A-Za-z]):/,"$1:")}`}var Yi=class extends Error{issues;constructor(t){super(x8(t)),this.name="ConfigValidationError",this.issues=t}};function x8(e){return["Invalid Riebeckite configuration:",...e.map(t=>`
|
|
145
|
+
${t.path}
|
|
146
|
+
${t.message}`)].join(`
|
|
147
|
+
`)}var jt=class extends Error{kind;pluginName;capability;declaration;pluginNames;chain;availableCapabilities;constructor(t){super(T8(t)),this.name="PluginDependencyError",this.kind=t.kind,this.pluginName=t.pluginName,this.capability=t.capability,this.declaration=t.declaration,this.pluginNames=t.pluginNames??[],this.chain=t.chain??[],this.availableCapabilities=t.availableCapabilities??[]}};function T8(e){return e.kind==="missing-capability"?[`Plugin "${e.pluginName}" requires missing capability "${e.capability}".`,v8(e.availableCapabilities)].join(`
|
|
148
|
+
`):e.kind==="self-dependency"?`Plugin "${e.pluginName}" requires capability "${e.capability}" that it also provides.`:e.kind==="invalid-capability"?`Plugin "${e.pluginName}" declares an empty or invalid capability in "${e.declaration}".`:e.kind==="duplicate-provider"?[`Capability "${e.capability}" is provided by multiple plugins:`,...(e.pluginNames??[]).map(t=>`- ${t}`),"A capability must have exactly one provider."].join(`
|
|
149
|
+
`):[`Plugin dependency cycle detected for capability "${e.capability}":`,(e.chain??[]).join(" -> ")].join(`
|
|
150
|
+
`)}function v8(e){return!e||e.length===0?"No plugin declares a provided capability.":["Available capabilities:",...[...e].sort().map(t=>`- ${t}`)].join(`
|
|
151
|
+
`)}function ep(e){A8(e);let t=w8(e),r=S8(e,t);return D8(e,r)}var C8=["provides","requires","optional"];function A8(e){for(let t of e)for(let r of C8)for(let n of t[r]??[])if(n.trim()==="")throw new jt({kind:"invalid-capability",pluginName:t.name,declaration:r})}function w8(e){let t=new Map;for(let[n,i]of e.entries())for(let a of new Set((i.provides??[]).map(Zl))){let s=t.get(a)??[];s.push(n),t.set(a,s)}let r=new Map;for(let[n,i]of t){if(i.length>1)throw new jt({kind:"duplicate-provider",capability:n,pluginNames:i.map(a=>e[a].name)});r.set(n,i[0])}return r}function S8(e,t){let r=[...t.keys()];return e.map((n,i)=>{let a=(n.requires??[]).map(o=>{let u=Zl(o);return k8({pluginIndex:i,pluginName:n.name,capability:u,availableCapabilities:r,providers:t})}),s=(n.optional??[]).flatMap(o=>{let u=Zl(o),l=t.get(u);return l===void 0?[]:(tp({pluginIndex:i,pluginName:n.name,capability:u,providerIndex:l}),[{providerIndex:l,capability:u}])});return[...a,...s]})}function k8(e){let t=e.providers.get(e.capability);if(t===void 0)throw new jt({kind:"missing-capability",pluginName:e.pluginName,capability:e.capability,availableCapabilities:e.availableCapabilities});return tp({pluginIndex:e.pluginIndex,pluginName:e.pluginName,capability:e.capability,providerIndex:t}),{providerIndex:t,capability:e.capability}}function tp(e){if(e.providerIndex===e.pluginIndex)throw new jt({kind:"self-dependency",pluginName:e.pluginName,capability:e.capability})}function Zl(e){return e.trim()}function D8(e,t){let r=e.map(()=>new Set),n=t.map((s,o)=>{for(let u of s)r[u.providerIndex].add(o);return new Set(s.map(u=>u.providerIndex)).size}),i=n.map((s,o)=>s===0?o:-1).filter(s=>s>=0),a=[];for(;i.length>0;){let s=i.shift();if(s===void 0)break;a.push(e[s]);for(let o of r[s])n[o]-=1,n[o]===0&&N8(i,o)}if(a.length!==e.length)throw I8(e,t,n);return a}function N8(e,t){let r=e.findIndex(n=>n>t);if(r===-1){e.push(t);return}e.splice(r,0,t)}function I8(e,t,r){let n=new Set(r.map((s,o)=>s>0?o:-1).filter(s=>s>=0)),i=_8(t,n),a=i.indices.map(s=>e[s].name);return new jt({kind:"cycle",capability:i.capability,pluginNames:a,chain:a})}function _8(e,t){let r=[],n=new Set;for(let i of t){let a=rp(i,e,t,r,n);if(a)return a}throw new Error("Plugin dependency cycle could not be resolved.")}function rp(e,t,r,n,i){if(!i.has(e)){n.push(e);for(let a of t[e]){if(!r.has(a.providerIndex))continue;let s=n.indexOf(a.providerIndex);if(s>=0)return{indices:[...n.slice(s),a.providerIndex],capability:a.capability};let o=rp(a.providerIndex,t,r,n,i);if(o)return o}n.pop(),i.add(e)}}function Xn(e=[]){let t=e.filter(r=>!!r).filter(r=>r.enabled!==!1).toSorted((r,n)=>(r.order??0)-(n.order??0));return ep(t)}function Ss(e){return e.map(t=>({name:t.name,enabled:t.enabled!==!1,provides:t.provides??[],requires:t.requires??[],optional:t.optional??[]}))}function np(e,t){return e==="explicit"?t?.publish===!0:!(t?.private===!0||t?.draft===!0)}function e0(e,t){let r=t.replace(/\\/g,"/");return e.some(n=>L8(n,r))}function L8(e,t){return P8(e).test(t)}function P8(e){let t="";for(let r=0;r<e.length;r++){let n=e[r];n==="*"?e[r+1]==="*"?(r++,e[r+1]==="/"?(r++,t+="(?:[^/]+/)*"):t+=".*"):t+="[^/]*":n==="?"?t+="[^/]":t+=n.replace(/[.+^${}()|[\]\\]/g,"\\$&")}return new RegExp(`^${t}$`)}var ip=["png","jpg","jpeg","gif","svg","webp","bmp"];function R8(e){return sp(e)==="md"}function t0(e){return ip.includes(sp(e))}function ap(e){return O8(e)&&!R8(e)&&!t0(e)}function sp(e){if(e.toLowerCase().endsWith(".tar.gz"))return"tar.gz";let r=op(e),n=r.lastIndexOf(".");return n<=0?"":r.slice(n+1).toLowerCase()}function ks(e){return e.replace(/\\/g,"/").normalize("NFC")}function O8(e){let t=op(e),r=t.lastIndexOf(".");return r>0&&r<t.length-1}function op(e){let t=ks(e);return t.slice(t.lastIndexOf("/")+1)}import{randomUUID as M8}from"node:crypto";import Jn from"node:fs/promises";import lp from"node:path";var r0=".riebeckite",up=`${r0}/**`;async function Gi(e){try{let t=JSON.parse(await Jn.readFile(e,"utf8"));return F8(t)?t:void 0}catch{return}}async function Wi(e){let t;try{t=JSON.parse(await Jn.readFile(e,"utf8"))}catch(r){if(B8(r))return{kind:"missing",path:e};if(r instanceof SyntaxError)return{kind:"invalid",path:e,reason:"malformed-json"};throw r}return $i(t)?t.version!==2?{kind:"invalid",path:e,reason:"unsupported-version"}:fp(t)?{kind:"valid",path:e,version:t.version,entryCount:Object.keys(t.entries).length}:{kind:"invalid",path:e,reason:"invalid-shape"}:{kind:"invalid",path:e,reason:"invalid-shape"}}async function cp(e,t){let r=lp.dirname(e),n=`${e}.${M8()}.tmp`;await Jn.mkdir(r,{recursive:!0});try{await Jn.writeFile(n,JSON.stringify(t),"utf8"),await Jn.rename(n,e)}catch(i){throw await Jn.rm(n,{force:!0}).catch(()=>{}),i}}function vn(e,t){let r=e?.content.directory??t??process.cwd();return lp.resolve(r,r0,"content-state.json")}function F8(e){return $i(e)&&e.version===2&&fp(e)}function fp(e){return!$i(e.entries)||!$i(e.contentIndex)?!1:Object.values(e.entries).every(t=>$i(t)&&typeof t.fingerprint=="string"&&t.fingerprint.length>0&&Array.isArray(t.dependencies)&&t.dependencies.every(r=>typeof r=="string"))&&Object.values(e.contentIndex).every(t=>typeof t=="string")}function $i(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function B8(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}import{createHash as q8}from"node:crypto";async function Ki(e,t){return await Promise.all([...e].sort((r,n)=>r.path.localeCompare(n.path)).map(async r=>({entry:r,fingerprint:await U8(r,t)})))}async function U8(e,t){if(e.metadata?.hash)return`hash:${e.metadata.hash}`;if(e.metadata?.etag)return`etag:${e.metadata.etag}`;let r=await t(e);return`sha256:${q8("sha256").update(r).digest("hex")}`}function tr(e){return Array.from(new Set(e))}function hp(e){return{nodes:()=>[...e.entries],get:t=>e.bySlug.get(t)??null,outgoing:t=>i0(e,Ds(e,t)),incoming:t=>i0(e,Ns(e,t)),neighbors:t=>i0(e,dp(e,t)),outgoingSlugs:t=>Ds(e,t),incomingSlugs:t=>Ns(e,t),neighborSlugs:t=>dp(e,t),filterNeighbors:(t,r)=>({outgoingSlugs:tr(Ds(e,t).filter(r)),incomingSlugs:tr(Ns(e,t).filter(r))})}}function Ds(e,t){let r=e.outgoingLinks.get(t)??[];return tr(r.filter(H8).map(n=>n.slug).filter(n=>n!==t))}function Ns(e,t){return e.incomingLinks.get(t)??[]}function dp(e,t){return tr([...Ds(e,t),...Ns(e,t)])}function i0(e,t){return t.map(r=>e.bySlug.get(r)??null).filter(r=>r!==null)}function H8(e){return e.kind==="note"&&e.slug!==null}function mp(e){return{slug:e.slug,permalink:e.slug==="index"?"/":`/${e.slug}`}}var Is=class{debug(){}info(){}warn(){}error(){}child(){return this}},Cn=class e{constructor(t={}){this.context=t}context;debug(t,r){this.write("debug",t,r)}info(t,r){this.write("info",t,r)}warn(t,r){this.write("warn",t,r)}error(t,r,n){let i=a0(this.context,r);if(n){console.error(t,i,n);return}console.error(t,i)}child(t){return new e(a0(this.context,t))}write(t,r,n){console[t](r,a0(this.context,n))}},Zn=class{async span(t,r,n){return await n()}event(){}},Qi=class{constructor(t){this.sink=t}sink;async span(t,r,n){let i=pp(),a=s0();try{let s=await n();return this.emitSpan({name:t,startTime:i,durationMs:s0()-a,status:"ok",attributes:r}),s}catch(s){throw this.emitSpan({name:t,startTime:i,durationMs:s0()-a,status:"error",attributes:r}),s}}event(t,r={}){try{this.sink.onEvent({name:t,time:pp(),attributes:r})}catch{}}emitSpan(t){try{this.sink.onSpan(t)}catch{}}};var ei={logger:new Is,tracer:new Zn};function a0(e,t){return t?{...e,...t}:e}function pp(){return Date.now()}function s0(){return typeof performance>"u"?Date.now():performance.now()}var Xi=(function(e,t,r,n,i){let a=dt(t);if(r!=null&&(typeof r!="number"||r<0||r===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite `index`");if(n!=null&&(!n.type||!n.children))throw new Error("Expected valid `parent`");if(r==null!=(n==null))throw new Error("Expected both `index` and `parent`");return gp(e)?a.call(i,e,r,n):!1}),dt=(function(e){if(e==null)return V8;if(typeof e=="string")return j8(e);if(typeof e=="object")return z8(e);if(typeof e=="function")return o0(e);throw new Error("Expected function, string, or array as `test`")});function z8(e){let t=[],r=-1;for(;++r<e.length;)t[r]=dt(e[r]);return o0(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function j8(e){return o0(t);function t(r){return r.tagName===e}}function o0(e){return t;function t(r,n,i){return!!(gp(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function V8(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function gp(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}var An=dt(function(e){return e.tagName==="audio"||e.tagName==="canvas"||e.tagName==="embed"||e.tagName==="iframe"||e.tagName==="img"||e.tagName==="math"||e.tagName==="object"||e.tagName==="picture"||e.tagName==="svg"||e.tagName==="video"});var Y8=/[ \t\n\f\r]/g;function wt(e){return typeof e=="object"?e.type==="text"?bp(e.value):!1:bp(e)}function bp(e){return e.replace(Y8,"")===""}var Lt=(function(e){if(e==null)return K8;if(typeof e=="function")return _s(e);if(typeof e=="object")return Array.isArray(e)?$8(e):G8(e);if(typeof e=="string")return W8(e);throw new Error("Expected function, string, or object as test")});function $8(e){let t=[],r=-1;for(;++r<e.length;)t[r]=Lt(e[r]);return _s(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function G8(e){let t=e;return _s(r);function r(n){let i=n,a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function W8(e){return _s(t);function t(r){return r&&r.type===e}}function _s(e){return t;function t(r,n,i){return!!(Q8(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function K8(){return!0}function Q8(e){return e!==null&&typeof e=="object"&&"type"in e}var yp=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"];var Ep=["button","input","select","textarea"];var xp=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"];var X8={},u0=Lt(["comment","doctype"]);function l0(e,t){vp(e,{collapse:i7((t||X8).newlines?r7:n7),whitespace:"normal"})}function vp(e,t){if("children"in e){let r={...t};return(e.type==="root"||wp(e))&&(r.before=!0,r.after=!0),r.whitespace=a7(e,t),Z8(e,r)}if(e.type==="text"){if(t.whitespace==="normal")return J8(e,t);t.whitespace==="nowrap"&&(e.value=t.collapse(e.value))}return{ignore:u0(e),stripAtStart:!1,remove:!1}}function J8(e,t){let r=t.collapse(e.value),n={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=r.length;return t.before&&Tp(r.charAt(0))&&i++,i!==a&&Tp(r.charAt(a-1))&&(t.after?a--:n.stripAtStart=!0),i===a?n.remove=!0:e.value=r.slice(i,a),n}function Z8(e,t){let r=t.before,n=t.after,i=e.children,a=i.length,s=-1;for(;++s<a;){let o=vp(i[s],{...t,after:Cp(i,s,n),before:r});o.remove?(i.splice(s,1),s--,a--):o.ignore||(r=o.stripAtStart),Ap(i[s])&&(r=!1)}return{ignore:!1,stripAtStart:!!(r||n),remove:!1}}function Cp(e,t,r){for(;++t<e.length;){let n=e[t],i=e7(n);if(i===void 0&&"children"in n&&!t7(n)&&(i=Cp(n.children,-1)),typeof i=="boolean")return i}return r}function e7(e){if(e.type==="element"){if(Ap(e))return!1;if(wp(e))return!0}else if(e.type==="text"){if(!wt(e))return!1}else if(!u0(e))return!1}function Ap(e){return An(e)||Xi(e,Ep)}function wp(e){return Xi(e,yp)}function t7(e){return!!(e.type==="element"&&e.properties.hidden)||u0(e)||Xi(e,xp)}function Tp(e){return e===" "||e===`
|
|
152
|
+
`}function r7(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function n7(){return" "}function i7(e){return t;function t(r){return String(r).replace(/[\t\n\v\f\r ]+/g,e)}}function a7(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap";default:}return t.whitespace}var s7={}.hasOwnProperty;function c0(e,t){let r=e.type==="element"&&s7.call(e.properties,t)&&e.properties[t];return r!=null&&r!==!1}var o7=new Set(["pingback","prefetch","stylesheet"]);function f0(e){if(e.type!=="element"||e.tagName!=="link")return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,r=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++r<t.length;)if(!o7.has(String(t[r])))return!1;return!0}var u7=dt(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),l7=dt("meta");function d0(e){return!!(e.type==="text"||u7(e)||An(e)||f0(e)||l7(e)&&c0(e,"itemProp"))}var h0=["pre","script","style","textarea"];function Sp(e){return"\x1B[33m"+e+"\x1B[39m"}var kp=[],Ls=!0,wn=!1,jr="skip";function Vt(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;let a=Lt(i),s=n?-1:1;o(e,void 0,[])();function o(u,l,c){let f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){let p=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(m,"name",{value:"node ("+Sp(u.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=kp,y,E,x;if((!t||a(u,l,c[c.length-1]||void 0))&&(p=c7(r(u,c)),p[0]===wn))return p;if("children"in u&&u.children){let v=u;if(v.children&&p[0]!==jr)for(E=(n?v.children.length:-1)+s,x=c.concat(v);E>-1&&E<v.children.length;){let w=v.children[E];if(y=o(w,E,x)(),y[0]===wn)return y;E=typeof y[1]=="number"?y[1]:E+s}}return p}}}function c7(e){return Array.isArray(e)?e:typeof e=="number"?[Ls,e]:e==null?kp:[e]}var f7={};function p0(e,t){let r=t||f7,n={blanks:r.blanks||[],head:!1,indentInitial:r.indentInitial!==!1,indent:typeof r.indent=="number"?" ".repeat(r.indent):typeof r.indent=="string"?r.indent:" "};l0(e,{newlines:!0}),Vt(e,i);function i(s,o){if(!("children"in s))return;if(s.type==="element"&&s.tagName==="head"&&(n.head=!0),n.head&&s.type==="element"&&s.tagName==="body"&&(n.head=!1),s.type==="element"&&h0.includes(s.tagName))return jr;if(s.children.length===0||!m0(n,s))return;let u=o.length;n.indentInitial||u--;let l=!1;for(let m of s.children)(m.type==="comment"||m.type==="text")&&(m.value.includes(`
|
|
153
|
+
`)&&(l=!0),m.value=m.value.replace(/ *\n/g,"$&"+n.indent.repeat(u)));let c=[],f;for(let m of s.children)(m0(n,m)||l&&!f)&&(a(c,u,m),l=!0),f=m,c.push(m);f&&(l||m0(n,f))&&(wt(f)&&(c.pop(),f=c[c.length-1]),a(c,u-1)),s.children=c}function a(s,o,u){let l=s[s.length-1],c=l&&wt(l)?s[s.length-2]:l,f=(Dp(n,c)&&Dp(n,u)?`
|
|
154
|
+
|
|
155
|
+
`:`
|
|
156
|
+
`)+n.indent.repeat(Math.max(o,0));l&&l.type==="text"?l.value=wt(l)?f:l.value+f:s.push({type:"text",value:f})}}function Dp(e,t){return!!(t&&t.type==="element"&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function m0(e,t){return t.type==="root"||(t.type==="element"?e.head||t.tagName==="script"||An(t)||!d0(t):!1)}function Ps(e){return function(t){p0(t,e)}}var xr=class{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}};xr.prototype.normal={};xr.prototype.property={};xr.prototype.space=void 0;function g0(e,t){let r={},n={};for(let i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new xr(r,n,t)}function Tr(e){return e.toLowerCase()}var Ze=class{constructor(t,r){this.attribute=r,this.property=t}};Ze.prototype.attribute="";Ze.prototype.booleanish=!1;Ze.prototype.boolean=!1;Ze.prototype.commaOrSpaceSeparated=!1;Ze.prototype.commaSeparated=!1;Ze.prototype.defined=!1;Ze.prototype.mustUseProperty=!1;Ze.prototype.number=!1;Ze.prototype.overloadedBoolean=!1;Ze.prototype.property="";Ze.prototype.spaceSeparated=!1;Ze.prototype.space=void 0;var Ji={};Cs(Ji,{boolean:()=>he,booleanish:()=>Oe,commaOrSpaceSeparated:()=>xt,commaSeparated:()=>vr,number:()=>Q,overloadedBoolean:()=>Rs,spaceSeparated:()=>ve});var d7=0,he=Sn(),Oe=Sn(),Rs=Sn(),Q=Sn(),ve=Sn(),vr=Sn(),xt=Sn();function Sn(){return 2**++d7}var b0=Object.keys(Ji),kn=class extends Ze{constructor(t,r,n,i){let a=-1;if(super(t,r),Np(this,"space",i),typeof n=="number")for(;++a<b0.length;){let s=b0[a];Np(this,b0[a],(n&Ji[s])===Ji[s])}}};kn.prototype.defined=!0;function Np(e,t,r){r&&(e[t]=r)}function Pt(e){let t={},r={};for(let[n,i]of Object.entries(e.properties)){let a=new kn(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[Tr(n)]=n,r[Tr(a.attribute)]=n}return new xr(t,r,e.space)}var y0=Pt({properties:{ariaActiveDescendant:null,ariaAtomic:Oe,ariaAutoComplete:null,ariaBusy:Oe,ariaChecked:Oe,ariaColCount:Q,ariaColIndex:Q,ariaColSpan:Q,ariaControls:ve,ariaCurrent:null,ariaDescribedBy:ve,ariaDetails:null,ariaDisabled:Oe,ariaDropEffect:ve,ariaErrorMessage:null,ariaExpanded:Oe,ariaFlowTo:ve,ariaGrabbed:Oe,ariaHasPopup:null,ariaHidden:Oe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ve,ariaLevel:Q,ariaLive:null,ariaModal:Oe,ariaMultiLine:Oe,ariaMultiSelectable:Oe,ariaOrientation:null,ariaOwns:ve,ariaPlaceholder:null,ariaPosInSet:Q,ariaPressed:Oe,ariaReadOnly:Oe,ariaRelevant:null,ariaRequired:Oe,ariaRoleDescription:ve,ariaRowCount:Q,ariaRowIndex:Q,ariaRowSpan:Q,ariaSelected:Oe,ariaSetSize:Q,ariaSort:null,ariaValueMax:Q,ariaValueMin:Q,ariaValueNow:Q,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Os(e,t){return t in e?e[t]:t}function Ms(e,t){return Os(e,t.toLowerCase())}var Ip=Pt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:vr,acceptCharset:ve,accessKey:ve,action:null,allow:null,allowFullScreen:he,allowPaymentRequest:he,allowUserMedia:he,alpha:he,alt:null,as:null,async:he,autoCapitalize:null,autoComplete:ve,autoFocus:he,autoPlay:he,blocking:ve,capture:null,charSet:null,checked:he,cite:null,className:ve,closedBy:null,colorSpace:null,cols:Q,colSpan:Q,command:null,commandFor:null,content:null,contentEditable:Oe,controls:he,controlsList:ve,coords:Q|vr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:he,defer:he,dir:null,dirName:null,disabled:he,download:Rs,draggable:Oe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:he,formTarget:null,headers:ve,height:Q,hidden:Rs,high:Q,href:null,hrefLang:null,htmlFor:ve,httpEquiv:ve,id:null,imageSizes:null,imageSrcSet:null,inert:he,inputMode:null,integrity:null,is:null,isMap:he,itemId:null,itemProp:ve,itemRef:ve,itemScope:he,itemType:ve,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:he,low:Q,manifest:null,max:null,maxLength:Q,media:null,method:null,min:null,minLength:Q,multiple:he,muted:he,name:null,nonce:null,noModule:he,noValidate:he,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:he,optimum:Q,pattern:null,ping:ve,placeholder:null,playsInline:he,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:he,referrerPolicy:null,rel:ve,required:he,reversed:he,rows:Q,rowSpan:Q,sandbox:ve,scope:null,scoped:he,seamless:he,selected:he,shadowRootClonable:he,shadowRootCustomElementRegistry:he,shadowRootDelegatesFocus:he,shadowRootMode:null,shadowRootSerializable:he,shape:null,size:Q,sizes:null,slot:null,span:Q,spellCheck:Oe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Q,step:null,style:null,tabIndex:Q,target:null,title:null,translate:null,type:null,typeMustMatch:he,useMap:null,value:Oe,width:Q,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ve,axis:null,background:null,bgColor:null,border:Q,borderColor:null,bottomMargin:Q,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:he,declare:he,event:null,face:null,frame:null,frameBorder:null,hSpace:Q,leftMargin:Q,link:null,longDesc:null,lowSrc:null,marginHeight:Q,marginWidth:Q,noResize:he,noHref:he,noShade:he,noWrap:he,object:null,profile:null,prompt:null,rev:null,rightMargin:Q,rules:null,scheme:null,scrolling:Oe,standby:null,summary:null,text:null,topMargin:Q,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Q,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:he,disablePictureInPicture:he,disableRemotePlayback:he,exportParts:vr,part:ve,prefix:null,property:null,results:Q,security:null,unselectable:null},space:"html",transform:Ms});var _p=Pt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:xt,accentHeight:Q,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Q,amplitude:Q,arabicForm:null,ascent:Q,attributeName:null,attributeType:null,azimuth:Q,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Q,by:null,calcMode:null,capHeight:Q,className:ve,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:Q,diffuseConstant:Q,direction:null,display:null,dur:null,divisor:Q,dominantBaseline:null,download:he,dx:null,dy:null,edgeMode:null,editable:null,elevation:Q,enableBackground:null,end:null,event:null,exponent:Q,externalResourcesRequired:null,fill:null,fillOpacity:Q,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:vr,g2:vr,glyphName:vr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Q,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Q,horizOriginX:Q,horizOriginY:Q,id:null,ideographic:Q,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Q,k:Q,k1:Q,k2:Q,k3:Q,k4:Q,kernelMatrix:xt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Q,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Q,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:Q,overlineThickness:Q,paintOrder:null,panose1:null,path:null,pathLength:Q,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ve,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Q,pointsAtY:Q,pointsAtZ:Q,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:xt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:xt,rev:xt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:xt,requiredFeatures:xt,requiredFonts:xt,requiredFormats:xt,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:Q,specularExponent:Q,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Q,strikethroughThickness:Q,string:null,stroke:null,strokeDashArray:xt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Q,strokeOpacity:Q,strokeWidth:null,style:null,surfaceScale:Q,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:xt,tabIndex:Q,tableValues:null,target:null,targetX:Q,targetY:Q,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:xt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Q,underlineThickness:Q,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Q,values:null,vAlphabetic:Q,vMathematical:Q,vectorEffect:null,vHanging:Q,vIdeographic:Q,version:null,vertAdvY:Q,vertOriginX:Q,vertOriginY:Q,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Q,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Os});var E0=Pt({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()}});var x0=Pt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ms});var T0=Pt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var h7=/[A-Z]/g,Lp=/-[a-z]/g,m7=/^data[-\w.:]+$/i;function Cr(e,t){let r=Tr(t),n=t,i=Ze;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&m7.test(t)){if(t.charAt(4)==="-"){let a=t.slice(5).replace(Lp,g7);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{let a=t.slice(4);if(!Lp.test(a)){let s=a.replace(h7,p7);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=kn}return new i(n,t)}function p7(e){return"-"+e.toLowerCase()}function g7(e){return e.charAt(1).toUpperCase()}var Ar=g0([y0,Ip,E0,x0,T0],"html"),Rt=g0([y0,_p,E0,x0,T0],"svg");function v0(e){let t=[],r=String(e||""),n=r.indexOf(","),i=0,a=!1;for(;!a;){n===-1&&(n=r.length,a=!0);let s=r.slice(i,n).trim();(s||!a)&&t.push(s),i=n+1,n=r.indexOf(",",i)}return t}function Fs(e,t){let r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var Pp=/[#.]/g;function C0(e,t){let r=e||"",n={},i=0,a,s;for(;i<r.length;){Pp.lastIndex=i;let o=Pp.exec(r),u=r.slice(i,o?o.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),o&&(a=o[0],i++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function A0(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Bs(e){return e.join(" ").trim()}function S0(e,t,r){let n=r?x7(r):void 0;function i(a,s,...o){let u;if(a==null){u={type:"root",children:[]};let l=s;o.unshift(l)}else{u=C0(a,t);let l=u.tagName.toLowerCase(),c=n?n.get(l):void 0;if(u.tagName=c||l,b7(s))o.unshift(s);else for(let[f,m]of Object.entries(s))y7(e,u.properties,f,m)}for(let l of o)w0(u.children,l);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return i}function b7(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;let t=e,r=Object.keys(e);for(let n of r){let i=t[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;let a=i;for(let s of a)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function y7(e,t,r,n){let i=Cr(e,r),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=A0(n):i.commaSeparated?a=v0(n):i.commaOrSpaceSeparated?a=A0(v0(n).join(" ")):a=Rp(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?E7(n):String(n);if(Array.isArray(a)){let s=[];for(let o of a)s.push(Rp(i,i.property,o));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function w0(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(let r of t)w0(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?w0(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Rp(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Tr(r)===Tr(t)))return!0}return r}function E7(e){let t=[];for(let[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function x7(e){let t=new Map;for(let r of e)t.set(r.toLowerCase(),r);return t}var Op=["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"];var k0=S0(Ar,"div"),D0=S0(Rt,"g",Op);function N0(e){let t=String(e),r=[];return{toOffset:i,toPoint:n};function n(a){if(typeof a=="number"&&a>-1&&a<=t.length){let s=0;for(;;){let o=r[s];if(o===void 0){let u=Mp(t,r[s-1]);o=u===-1?t.length+1:u+1,r[s]=o}if(o>a)return{line:s+1,column:a-(s>0?r[s-1]:0)+1,offset:a};s++}}}function i(a){if(a&&typeof a.line=="number"&&typeof a.column=="number"&&!Number.isNaN(a.line)&&!Number.isNaN(a.column)){for(;r.length<a.line;){let o=r[r.length-1],u=Mp(t,o),l=u===-1?t.length+1:u+1;if(o===l)break;r.push(l)}let s=(a.line>1?r[a.line-2]:0)+a.column-1;if(s<r[a.line-1])return s}}}function Mp(e,t){let r=e.indexOf("\r",t),n=e.indexOf(`
|
|
157
|
+
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}var rr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};var Bp={}.hasOwnProperty,T7=Object.prototype;function Zi(e,t){let r=t||{};return I0({file:r.file||void 0,location:!1,schema:r.space==="svg"?Rt:Ar,verbose:r.verbose||!1},e)}function I0(e,t){let r;switch(t.nodeName){case"#comment":{let n=t;return r={type:"comment",value:n.data},qs(e,n,r),r}case"#document":case"#document-fragment":{let n=t,i="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:qp(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let a=String(e.file),s=N0(a),o=s.toPoint(0),u=s.toPoint(a.length);r.position={start:o,end:u}}return r}case"#documentType":{let n=t;return r={type:"doctype"},qs(e,n,r),r}case"#text":{let n=t;return r={type:"text",value:n.value},qs(e,n,r),r}default:return r=v7(e,t),r}}function qp(e,t){let r=-1,n=[];for(;++r<t.length;){let i=I0(e,t[r]);n.push(i)}return n}function v7(e,t){let r=e.schema;e.schema=t.namespaceURI===rr.svg?Rt:Ar;let n=-1,i={};for(;++n<t.attrs.length;){let o=t.attrs[n],u=(o.prefix?o.prefix+":":"")+o.name;Bp.call(T7,u)||(i[u]=o.value)}let s=(e.schema.space==="svg"?D0:k0)(t.tagName,i,qp(e,t.childNodes));if(qs(e,t,s),s.tagName==="template"){let o=t,u=o.sourceCodeLocation,l=u&&u.startTag&&ti(u.startTag),c=u&&u.endTag&&ti(u.endTag),f=I0(e,o.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),s.content=f}return e.schema=r,s}function qs(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let n=C7(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function C7(e,t,r){let n=ti(r);if(t.type==="element"){let i=t.children[t.children.length-1];if(n&&!r.endTag&&i&&i.position&&i.position.end&&(n.end=Object.assign({},i.position.end)),e.verbose){let a={},s;if(r.attrs)for(s in r.attrs)Bp.call(r.attrs,s)&&(a[Cr(e.schema,s).property]=ti(r.attrs[s]));r.startTag;let o=ti(r.startTag),u=r.endTag?ti(r.endTag):void 0,l={opening:o};u&&(l.closing=u),l.properties=a,t.data={position:l}}}return n}function ti(e){let t=Fp({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Fp({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Fp(e){return e.line&&e.column?e:void 0}var A7=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),De="\uFFFD",C;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(C||(C={}));var ht={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Us(e){return e>=55296&&e<=57343}function Up(e){return e>=56320&&e<=57343}function Hp(e,t){return(e-55296)*1024+9216+t}function Hs(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function zs(e){return e>=64976&&e<=65007||A7.has(e)}var z;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(z||(z={}));var S7=65536,js=class{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=S7,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){let{line:n,col:i,offset:a}=this,s=i+r,o=a+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){let r=this.html.charCodeAt(this.pos+1);if(Up(r))return this.pos++,this._addGap(),Hp(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,C.EOF;return this._err(z.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){let r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,C.EOF;let n=this.html.charCodeAt(r);return n===C.CARRIAGE_RETURN?C.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,C.EOF;let t=this.html.charCodeAt(this.pos);return t===C.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,C.LINE_FEED):t===C.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Us(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===C.LINE_FEED||t===C.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Hs(t)?this._err(z.controlCharacterInInputStream):zs(t)&&this._err(z.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}};var Vr={};Cs(Vr,{TokenType:()=>ye,getTokenAttr:()=>ea});var ye;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(ye||(ye={}));function ea(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}var Vs=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));var _0,k7=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),zp=(_0=String.fromCodePoint)!==null&&_0!==void 0?_0:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function L0(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=k7.get(e))!==null&&t!==void 0?t:e}var tt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(tt||(tt={}));var N7=32,Yr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Yr||(Yr={}));function P0(e){return e>=tt.ZERO&&e<=tt.NINE}function I7(e){return e>=tt.UPPER_A&&e<=tt.UPPER_F||e>=tt.LOWER_A&&e<=tt.LOWER_F}function _7(e){return e>=tt.UPPER_A&&e<=tt.UPPER_Z||e>=tt.LOWER_A&&e<=tt.LOWER_Z||P0(e)}function L7(e){return e===tt.EQUALS||_7(e)}var et;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(et||(et={}));var nr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(nr||(nr={}));var Ys=class{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=et.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=nr.Strict}startEntity(t){this.decodeMode=t,this.state=et.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case et.EntityStart:return t.charCodeAt(r)===tt.NUM?(this.state=et.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=et.NamedEntity,this.stateNamedEntity(t,r));case et.NumericStart:return this.stateNumericStart(t,r);case et.NumericDecimal:return this.stateNumericDecimal(t,r);case et.NumericHex:return this.stateNumericHex(t,r);case et.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|N7)===tt.LOWER_X?(this.state=et.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=et.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,i){if(r!==n){let a=n-r;this.result=this.result*Math.pow(i,a)+Number.parseInt(t.substr(r,a),i),this.consumed+=a}}stateNumericHex(t,r){let n=r;for(;r<t.length;){let i=t.charCodeAt(r);if(P0(i)||I7(i))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){let n=r;for(;r<t.length;){let i=t.charCodeAt(r);if(P0(i))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===tt.SEMI)this.consumed+=1;else if(this.decodeMode===nr.Strict)return 0;return this.emitCodePoint(L0(this.result),this.consumed),this.errors&&(t!==tt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){let{decodeTree:n}=this,i=n[this.treeIndex],a=(i&Yr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){let s=t.charCodeAt(r);if(this.treeIndex=P7(n,i,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===nr.Attribute&&(a===0||L7(s))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],a=(i&Yr.VALUE_LENGTH)>>14,a!==0){if(s===tt.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==nr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;let{result:r,decodeTree:n}=this,i=(n[r]&Yr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){let{decodeTree:i}=this;return this.emitCodePoint(r===1?i[t]&~Yr.VALUE_LENGTH:i[t+1],n),r===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case et.NamedEntity:return this.result!==0&&(this.decodeMode!==nr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case et.NumericDecimal:return this.emitNumericEntity(0,2);case et.NumericHex:return this.emitNumericEntity(0,3);case et.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case et.EntityStart:return 0}}};function P7(e,t,r,n){let i=(t&Yr.BRANCH_LENGTH)>>7,a=t&Yr.JUMP_TABLE;if(i===0)return a!==0&&n===a?r:-1;if(a){let u=n-a;return u<0||u>=i?-1:e[r+u]-1}let s=r,o=s+i-1;for(;s<=o;){let u=s+o>>>1,l=e[u];if(l<n)s=u+1;else if(l>n)o=u-1;else return e[u+i]}return-1}var ta={};Cs(ta,{ATTRS:()=>ir,DOCUMENT_MODE:()=>nt,NS:()=>V,NUMBERED_HEADERS:()=>ri,SPECIAL_ELEMENTS:()=>R0,TAG_ID:()=>d,TAG_NAMES:()=>M,getTagID:()=>$r,hasUnescapedText:()=>jp});var V;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(V||(V={}));var ir;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(ir||(ir={}));var nt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(nt||(nt={}));var M;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(M||(M={}));var d;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));var R7=new Map([[M.A,d.A],[M.ADDRESS,d.ADDRESS],[M.ANNOTATION_XML,d.ANNOTATION_XML],[M.APPLET,d.APPLET],[M.AREA,d.AREA],[M.ARTICLE,d.ARTICLE],[M.ASIDE,d.ASIDE],[M.B,d.B],[M.BASE,d.BASE],[M.BASEFONT,d.BASEFONT],[M.BGSOUND,d.BGSOUND],[M.BIG,d.BIG],[M.BLOCKQUOTE,d.BLOCKQUOTE],[M.BODY,d.BODY],[M.BR,d.BR],[M.BUTTON,d.BUTTON],[M.CAPTION,d.CAPTION],[M.CENTER,d.CENTER],[M.CODE,d.CODE],[M.COL,d.COL],[M.COLGROUP,d.COLGROUP],[M.DD,d.DD],[M.DESC,d.DESC],[M.DETAILS,d.DETAILS],[M.DIALOG,d.DIALOG],[M.DIR,d.DIR],[M.DIV,d.DIV],[M.DL,d.DL],[M.DT,d.DT],[M.EM,d.EM],[M.EMBED,d.EMBED],[M.FIELDSET,d.FIELDSET],[M.FIGCAPTION,d.FIGCAPTION],[M.FIGURE,d.FIGURE],[M.FONT,d.FONT],[M.FOOTER,d.FOOTER],[M.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[M.FORM,d.FORM],[M.FRAME,d.FRAME],[M.FRAMESET,d.FRAMESET],[M.H1,d.H1],[M.H2,d.H2],[M.H3,d.H3],[M.H4,d.H4],[M.H5,d.H5],[M.H6,d.H6],[M.HEAD,d.HEAD],[M.HEADER,d.HEADER],[M.HGROUP,d.HGROUP],[M.HR,d.HR],[M.HTML,d.HTML],[M.I,d.I],[M.IMG,d.IMG],[M.IMAGE,d.IMAGE],[M.INPUT,d.INPUT],[M.IFRAME,d.IFRAME],[M.KEYGEN,d.KEYGEN],[M.LABEL,d.LABEL],[M.LI,d.LI],[M.LINK,d.LINK],[M.LISTING,d.LISTING],[M.MAIN,d.MAIN],[M.MALIGNMARK,d.MALIGNMARK],[M.MARQUEE,d.MARQUEE],[M.MATH,d.MATH],[M.MENU,d.MENU],[M.META,d.META],[M.MGLYPH,d.MGLYPH],[M.MI,d.MI],[M.MO,d.MO],[M.MN,d.MN],[M.MS,d.MS],[M.MTEXT,d.MTEXT],[M.NAV,d.NAV],[M.NOBR,d.NOBR],[M.NOFRAMES,d.NOFRAMES],[M.NOEMBED,d.NOEMBED],[M.NOSCRIPT,d.NOSCRIPT],[M.OBJECT,d.OBJECT],[M.OL,d.OL],[M.OPTGROUP,d.OPTGROUP],[M.OPTION,d.OPTION],[M.P,d.P],[M.PARAM,d.PARAM],[M.PLAINTEXT,d.PLAINTEXT],[M.PRE,d.PRE],[M.RB,d.RB],[M.RP,d.RP],[M.RT,d.RT],[M.RTC,d.RTC],[M.RUBY,d.RUBY],[M.S,d.S],[M.SCRIPT,d.SCRIPT],[M.SEARCH,d.SEARCH],[M.SECTION,d.SECTION],[M.SELECT,d.SELECT],[M.SOURCE,d.SOURCE],[M.SMALL,d.SMALL],[M.SPAN,d.SPAN],[M.STRIKE,d.STRIKE],[M.STRONG,d.STRONG],[M.STYLE,d.STYLE],[M.SUB,d.SUB],[M.SUMMARY,d.SUMMARY],[M.SUP,d.SUP],[M.TABLE,d.TABLE],[M.TBODY,d.TBODY],[M.TEMPLATE,d.TEMPLATE],[M.TEXTAREA,d.TEXTAREA],[M.TFOOT,d.TFOOT],[M.TD,d.TD],[M.TH,d.TH],[M.THEAD,d.THEAD],[M.TITLE,d.TITLE],[M.TR,d.TR],[M.TRACK,d.TRACK],[M.TT,d.TT],[M.U,d.U],[M.UL,d.UL],[M.SVG,d.SVG],[M.VAR,d.VAR],[M.WBR,d.WBR],[M.XMP,d.XMP]]);function $r(e){var t;return(t=R7.get(e))!==null&&t!==void 0?t:d.UNKNOWN}var K=d,R0={[V.HTML]:new Set([K.ADDRESS,K.APPLET,K.AREA,K.ARTICLE,K.ASIDE,K.BASE,K.BASEFONT,K.BGSOUND,K.BLOCKQUOTE,K.BODY,K.BR,K.BUTTON,K.CAPTION,K.CENTER,K.COL,K.COLGROUP,K.DD,K.DETAILS,K.DIR,K.DIV,K.DL,K.DT,K.EMBED,K.FIELDSET,K.FIGCAPTION,K.FIGURE,K.FOOTER,K.FORM,K.FRAME,K.FRAMESET,K.H1,K.H2,K.H3,K.H4,K.H5,K.H6,K.HEAD,K.HEADER,K.HGROUP,K.HR,K.HTML,K.IFRAME,K.IMG,K.INPUT,K.LI,K.LINK,K.LISTING,K.MAIN,K.MARQUEE,K.MENU,K.META,K.NAV,K.NOEMBED,K.NOFRAMES,K.NOSCRIPT,K.OBJECT,K.OL,K.P,K.PARAM,K.PLAINTEXT,K.PRE,K.SCRIPT,K.SECTION,K.SELECT,K.SOURCE,K.STYLE,K.SUMMARY,K.TABLE,K.TBODY,K.TD,K.TEMPLATE,K.TEXTAREA,K.TFOOT,K.TH,K.THEAD,K.TITLE,K.TR,K.TRACK,K.UL,K.WBR,K.XMP]),[V.MATHML]:new Set([K.MI,K.MO,K.MN,K.MS,K.MTEXT,K.ANNOTATION_XML]),[V.SVG]:new Set([K.TITLE,K.FOREIGN_OBJECT,K.DESC]),[V.XLINK]:new Set,[V.XML]:new Set,[V.XMLNS]:new Set},ri=new Set([K.H1,K.H2,K.H3,K.H4,K.H5,K.H6]),O7=new Set([M.STYLE,M.SCRIPT,M.XMP,M.IFRAME,M.NOEMBED,M.NOFRAMES,M.PLAINTEXT]);function jp(e,t){return O7.has(e)||t&&e===M.NOSCRIPT}var A;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(A||(A={}));var Ne={DATA:A.DATA,RCDATA:A.RCDATA,RAWTEXT:A.RAWTEXT,SCRIPT_DATA:A.SCRIPT_DATA,PLAINTEXT:A.PLAINTEXT,CDATA_SECTION:A.CDATA_SECTION};function M7(e){return e>=C.DIGIT_0&&e<=C.DIGIT_9}function ra(e){return e>=C.LATIN_CAPITAL_A&&e<=C.LATIN_CAPITAL_Z}function F7(e){return e>=C.LATIN_SMALL_A&&e<=C.LATIN_SMALL_Z}function Gr(e){return F7(e)||ra(e)}function Vp(e){return Gr(e)||M7(e)}function $s(e){return e+32}function $p(e){return e===C.SPACE||e===C.LINE_FEED||e===C.TABULATION||e===C.FORM_FEED}function Yp(e){return $p(e)||e===C.SOLIDUS||e===C.GREATER_THAN_SIGN}function B7(e){return e===C.NULL?z.nullCharacterReference:e>1114111?z.characterReferenceOutsideUnicodeRange:Us(e)?z.surrogateCharacterReference:zs(e)?z.noncharacterCharacterReference:Hs(e)||e===C.CARRIAGE_RETURN?z.controlCharacterReference:null}var na=class{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=A.DATA,this.returnState=A.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new js(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ys(Vs,(n,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(z.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(z.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{let i=B7(n);i&&this._err(i,1)}}:void 0)}_err(t,r=0){var n,i;(i=(n=this.handler).onParseError)===null||i===void 0||i.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:ye.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ye.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:ye.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:ye.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;let n=this.currentToken;if(ea(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){let i=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(z.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let t=this.currentToken;this.prepareToken(t),t.tagID=$r(t.tagName),t.type===ye.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(z.endTagWithAttributes),t.selfClosing&&this._err(z.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case ye.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ye.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ye.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){let t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:ye.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){let r=$p(t)?ye.WHITESPACE_CHARACTER:t===C.NULL?ye.NULL_CHARACTER:ye.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ye.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=A.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?nr.Attribute:nr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===A.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===A.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case A.DATA:{this._stateData(t);break}case A.RCDATA:{this._stateRcdata(t);break}case A.RAWTEXT:{this._stateRawtext(t);break}case A.SCRIPT_DATA:{this._stateScriptData(t);break}case A.PLAINTEXT:{this._statePlaintext(t);break}case A.TAG_OPEN:{this._stateTagOpen(t);break}case A.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case A.TAG_NAME:{this._stateTagName(t);break}case A.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case A.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case A.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case A.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case A.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case A.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case A.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case A.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case A.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case A.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case A.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case A.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case A.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case A.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case A.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case A.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case A.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case A.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case A.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case A.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case A.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case A.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case A.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case A.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case A.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case A.BOGUS_COMMENT:{this._stateBogusComment(t);break}case A.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case A.COMMENT_START:{this._stateCommentStart(t);break}case A.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case A.COMMENT:{this._stateComment(t);break}case A.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case A.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case A.COMMENT_END:{this._stateCommentEnd(t);break}case A.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case A.DOCTYPE:{this._stateDoctype(t);break}case A.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case A.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case A.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case A.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case A.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case A.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case A.CDATA_SECTION:{this._stateCdataSection(t);break}case A.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case A.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case A.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case A.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case C.LESS_THAN_SIGN:{this.state=A.TAG_OPEN;break}case C.AMPERSAND:{this._startCharacterReference();break}case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitCodePoint(t);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case C.AMPERSAND:{this._startCharacterReference();break}case C.LESS_THAN_SIGN:{this.state=A.RCDATA_LESS_THAN_SIGN;break}case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(De);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case C.LESS_THAN_SIGN:{this.state=A.RAWTEXT_LESS_THAN_SIGN;break}case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(De);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case C.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_LESS_THAN_SIGN;break}case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(De);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(De);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Gr(t))this._createStartTagToken(),this.state=A.TAG_NAME,this._stateTagName(t);else switch(t){case C.EXCLAMATION_MARK:{this.state=A.MARKUP_DECLARATION_OPEN;break}case C.SOLIDUS:{this.state=A.END_TAG_OPEN;break}case C.QUESTION_MARK:{this._err(z.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t);break}case C.EOF:{this._err(z.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=A.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Gr(t))this._createEndTagToken(),this.state=A.TAG_NAME,this._stateTagName(t);else switch(t){case C.GREATER_THAN_SIGN:{this._err(z.missingEndTagName),this.state=A.DATA;break}case C.EOF:{this._err(z.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(z.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=A.BEFORE_ATTRIBUTE_NAME;break}case C.SOLIDUS:{this.state=A.SELF_CLOSING_START_TAG;break}case C.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentTagToken();break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.tagName+=De;break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(ra(t)?$s(t):t)}}_stateRcdataLessThanSign(t){t===C.SOLIDUS?this.state=A.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Gr(t)?(this.state=A.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=A.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=A.BEFORE_ATTRIBUTE_NAME,!1;case C.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=A.SELF_CLOSING_START_TAG,!1;case C.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=A.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===C.SOLIDUS?this.state=A.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Gr(t)?(this.state=A.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case C.SOLIDUS:{this.state=A.SCRIPT_DATA_END_TAG_OPEN;break}case C.EXCLAMATION_MARK:{this.state=A.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=A.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Gr(t)?(this.state=A.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===C.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===C.HYPHEN_MINUS?(this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=A.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case C.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(De);break}case C.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case C.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars(De);break}case C.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case C.HYPHEN_MINUS:{this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case C.GREATER_THAN_SIGN:{this.state=A.SCRIPT_DATA,this._emitChars(">");break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_ESCAPED,this._emitChars(De);break}case C.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===C.SOLIDUS?this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Gr(t)?(this._emitChars("<"),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Gr(t)?(this.state=A.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(ht.SCRIPT,!1)&&Yp(this.preprocessor.peek(ht.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<ht.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case C.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(De);break}case C.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case C.HYPHEN_MINUS:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(De);break}case C.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case C.HYPHEN_MINUS:{this._emitChars("-");break}case C.LESS_THAN_SIGN:{this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case C.GREATER_THAN_SIGN:{this.state=A.SCRIPT_DATA,this._emitChars(">");break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(De);break}case C.EOF:{this._err(z.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===C.SOLIDUS?(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(ht.SCRIPT,!1)&&Yp(this.preprocessor.peek(ht.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<ht.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=A.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=A.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.SOLIDUS:case C.GREATER_THAN_SIGN:case C.EOF:{this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case C.EQUALS_SIGN:{this._err(z.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=A.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:case C.SOLIDUS:case C.GREATER_THAN_SIGN:case C.EOF:{this._leaveAttrName(),this.state=A.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case C.EQUALS_SIGN:{this._leaveAttrName(),this.state=A.BEFORE_ATTRIBUTE_VALUE;break}case C.QUOTATION_MARK:case C.APOSTROPHE:case C.LESS_THAN_SIGN:{this._err(z.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.name+=De;break}default:this.currentAttr.name+=String.fromCodePoint(ra(t)?$s(t):t)}}_stateAfterAttributeName(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.SOLIDUS:{this.state=A.SELF_CLOSING_START_TAG;break}case C.EQUALS_SIGN:{this.state=A.BEFORE_ATTRIBUTE_VALUE;break}case C.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentTagToken();break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=A.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.QUOTATION_MARK:{this.state=A.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this.state=A.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(z.missingAttributeValue),this.state=A.DATA,this.emitCurrentTagToken();break}default:this.state=A.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case C.QUOTATION_MARK:{this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case C.AMPERSAND:{this._startCharacterReference();break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=De;break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case C.APOSTROPHE:{this.state=A.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case C.AMPERSAND:{this._startCharacterReference();break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=De;break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break}case C.AMPERSAND:{this._startCharacterReference();break}case C.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break}case C.NULL:{this._err(z.unexpectedNullCharacter),this.currentAttr.value+=De;break}case C.QUOTATION_MARK:case C.APOSTROPHE:case C.LESS_THAN_SIGN:case C.EQUALS_SIGN:case C.GRAVE_ACCENT:{this._err(z.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this._leaveAttrValue(),this.state=A.BEFORE_ATTRIBUTE_NAME;break}case C.SOLIDUS:{this._leaveAttrValue(),this.state=A.SELF_CLOSING_START_TAG;break}case C.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=A.DATA,this.emitCurrentTagToken();break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBetweenAttributes),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case C.GREATER_THAN_SIGN:{let r=this.currentToken;r.selfClosing=!0,this.state=A.DATA,this.emitCurrentTagToken();break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:this._err(z.unexpectedSolidusInTag),this.state=A.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){let r=this.currentToken;switch(t){case C.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentComment(r);break}case C.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.data+=De;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(ht.DASH_DASH,!0)?(this._createCommentToken(ht.DASH_DASH.length+1),this.state=A.COMMENT_START):this._consumeSequenceIfMatch(ht.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(ht.DOCTYPE.length+1),this.state=A.DOCTYPE):this._consumeSequenceIfMatch(ht.CDATA_START,!0)?this.inForeignNode?this.state=A.CDATA_SECTION:(this._err(z.cdataInHtmlContent),this._createCommentToken(ht.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=A.BOGUS_COMMENT):this._ensureHibernation()||(this._err(z.incorrectlyOpenedComment),this._createCommentToken(2),this.state=A.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case C.HYPHEN_MINUS:{this.state=A.COMMENT_START_DASH;break}case C.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=A.DATA;let r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=A.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){let r=this.currentToken;switch(t){case C.HYPHEN_MINUS:{this.state=A.COMMENT_END;break}case C.GREATER_THAN_SIGN:{this._err(z.abruptClosingOfEmptyComment),this.state=A.DATA,this.emitCurrentComment(r);break}case C.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=A.COMMENT,this._stateComment(t)}}_stateComment(t){let r=this.currentToken;switch(t){case C.HYPHEN_MINUS:{this.state=A.COMMENT_END_DASH;break}case C.LESS_THAN_SIGN:{r.data+="<",this.state=A.COMMENT_LESS_THAN_SIGN;break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.data+=De;break}case C.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){let r=this.currentToken;switch(t){case C.EXCLAMATION_MARK:{r.data+="!",this.state=A.COMMENT_LESS_THAN_SIGN_BANG;break}case C.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=A.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===C.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=A.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===C.HYPHEN_MINUS?this.state=A.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=A.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==C.GREATER_THAN_SIGN&&t!==C.EOF&&this._err(z.nestedComment),this.state=A.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){let r=this.currentToken;switch(t){case C.HYPHEN_MINUS:{this.state=A.COMMENT_END;break}case C.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=A.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){let r=this.currentToken;switch(t){case C.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentComment(r);break}case C.EXCLAMATION_MARK:{this.state=A.COMMENT_END_BANG;break}case C.HYPHEN_MINUS:{r.data+="-";break}case C.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=A.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){let r=this.currentToken;switch(t){case C.HYPHEN_MINUS:{r.data+="--!",this.state=A.COMMENT_END_DASH;break}case C.GREATER_THAN_SIGN:{this._err(z.incorrectlyClosedComment),this.state=A.DATA,this.emitCurrentComment(r);break}case C.EOF:{this._err(z.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=A.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_NAME;break}case C.GREATER_THAN_SIGN:{this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case C.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingWhitespaceBeforeDoctypeName),this.state=A.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(ra(t))this._createDoctypeToken(String.fromCharCode($s(t))),this.state=A.DOCTYPE_NAME;else switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.NULL:{this._err(z.unexpectedNullCharacter),this._createDoctypeToken(De),this.state=A.DOCTYPE_NAME;break}case C.GREATER_THAN_SIGN:{this._err(z.missingDoctypeName),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.EOF:{this._err(z.eofInDoctype),this._createDoctypeToken(null);let r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=A.DOCTYPE_NAME}}_stateDoctypeName(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=A.AFTER_DOCTYPE_NAME;break}case C.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(r);break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.name+=De;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(ra(t)?$s(t):t)}}_stateAfterDoctypeName(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(r);break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(ht.PUBLIC,!1)?this.state=A.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(ht.SYSTEM,!1)?this.state=A.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(z.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case C.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(r);break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.QUOTATION_MARK:{r.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{r.publicId="",this.state=A.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(z.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(r);break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){let r=this.currentToken;switch(t){case C.QUOTATION_MARK:{this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.publicId+=De;break}case C.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){let r=this.currentToken;switch(t){case C.APOSTROPHE:{this.state=A.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.publicId+=De;break}case C.GREATER_THAN_SIGN:{this._err(z.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=A.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case C.GREATER_THAN_SIGN:{this.state=A.DATA,this.emitCurrentDoctype(r);break}case C.QUOTATION_MARK:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this._err(z.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.QUOTATION_MARK:{r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:{this.state=A.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case C.QUOTATION_MARK:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{this._err(z.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(r);break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.QUOTATION_MARK:{r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case C.APOSTROPHE:{r.systemId="",this.state=A.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case C.GREATER_THAN_SIGN:{this._err(z.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=A.DATA,this.emitCurrentDoctype(r);break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){let r=this.currentToken;switch(t){case C.QUOTATION_MARK:{this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.systemId+=De;break}case C.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){let r=this.currentToken;switch(t){case C.APOSTROPHE:{this.state=A.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case C.NULL:{this._err(z.unexpectedNullCharacter),r.systemId+=De;break}case C.GREATER_THAN_SIGN:{this._err(z.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){let r=this.currentToken;switch(t){case C.SPACE:case C.LINE_FEED:case C.TABULATION:case C.FORM_FEED:break;case C.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(z.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=A.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){let r=this.currentToken;switch(t){case C.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=A.DATA;break}case C.NULL:{this._err(z.unexpectedNullCharacter);break}case C.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}default:}}_stateCdataSection(t){switch(t){case C.RIGHT_SQUARE_BRACKET:{this.state=A.CDATA_SECTION_BRACKET;break}case C.EOF:{this._err(z.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===C.RIGHT_SQUARE_BRACKET?this.state=A.CDATA_SECTION_END:(this._emitChars("]"),this.state=A.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case C.GREATER_THAN_SIGN:{this.state=A.DATA;break}case C.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=A.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(C.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Vp(this.preprocessor.peek(1))?A.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Vp(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===C.SEMICOLON&&this._err(z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}};var Qp=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),Gp=new Set([...Qp,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),Gs=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),q7=new Set([...Gs,d.OL,d.UL]),U7=new Set([...Gs,d.BUTTON]),Wp=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),Kp=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),H7=new Set([d.TR,d.TEMPLATE,d.HTML]),z7=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),j7=new Set([d.TABLE,d.TEMPLATE,d.HTML]),V7=new Set([d.TD,d.TH]),Ws=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===V.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){let n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){let i=this._indexOf(t)+1;this.items.splice(i,0,r),this.tagIDs.splice(i,0,n),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==V.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){let r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){let r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){let n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ri,V.HTML)}popUntilTableCellPopped(){this.popUntilPopped(V7,V.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){let n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(j7,V.HTML)}clearBackToTableBodyContext(){this.clearBackTo(z7,V.HTML)}clearBackToTableRowContext(){this.clearBackTo(H7,V.HTML)}remove(t){let r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){let i=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case V.HTML:{if(i===t)return!0;if(r.has(i))return!1;break}case V.SVG:{if(Kp.has(i))return!1;break}case V.MATHML:{if(Wp.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Gs)}hasInListItemScope(t){return this.hasInDynamicScope(t,q7)}hasInButtonScope(t){return this.hasInDynamicScope(t,U7)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){let r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case V.HTML:{if(ri.has(r))return!0;if(Gs.has(r))return!1;break}case V.SVG:{if(Kp.has(r))return!1;break}case V.MATHML:{if(Wp.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===V.HTML)switch(this.tagIDs[r]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===V.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===V.HTML)switch(this.tagIDs[r]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Qp.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Gp.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Gp.has(this.currentTagId);)this.pop()}};var Yt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Yt||(Yt={}));var Xp={type:Yt.Marker},Ks=class{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){let n=[],i=r.length,a=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){let u=this.entries[o];if(u.type===Yt.Marker)break;let{element:l}=u;if(this.treeAdapter.getTagName(l)===a&&this.treeAdapter.getNamespaceURI(l)===s){let c=this.treeAdapter.getAttrList(l);c.length===i&&n.push({idx:o,attrs:c})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<3)return;let r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<3)return;let i=new Map(r.map(s=>[s.name,s.value])),a=0;for(let s=0;s<n.length;s++){let o=n[s];o.attrs.every(u=>i.get(u.name)===u.value)&&(a+=1,a>=3&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Xp)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:Yt.Element,element:t,token:r})}insertElementAfterBookmark(t,r){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Yt.Element,element:t,token:r})}removeEntry(t){let r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){let t=this.entries.indexOf(Xp);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){let r=this.entries.find(n=>n.type===Yt.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===Yt.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===Yt.Element&&r.element===t)}};var $t={createDocument(){return{nodeName:"#document",mode:nt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){let n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){let i=e.childNodes.find(a=>a.nodeName==="#documentType");if(i)i.name=t,i.publicId=r,i.systemId=n;else{let a={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};$t.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let r=e.childNodes[e.childNodes.length-1];if($t.isTextNode(r)){r.value+=t;return}}$t.appendChild(e,$t.createTextNode(t))},insertTextBefore(e,t,r){let n=e.childNodes[e.childNodes.indexOf(r)-1];n&&$t.isTextNode(n)?n.value+=t:$t.insertBefore(e,$t.createTextNode(t),r)},adoptAttributes(e,t){let r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}};var Zp="html",Y7="about:legacy-compat",$7="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",e1=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],G7=[...e1,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],W7=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),t1=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],K7=[...t1,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Jp(e,t){return t.some(r=>e.startsWith(r))}function r1(e){return e.name===Zp&&e.publicId===null&&(e.systemId===null||e.systemId===Y7)}function n1(e){if(e.name!==Zp)return nt.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===$7)return nt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),W7.has(r))return nt.QUIRKS;let n=t===null?G7:e1;if(Jp(r,n))return nt.QUIRKS;if(n=t===null?t1:K7,Jp(r,n))return nt.LIMITED_QUIRKS}return nt.NO_QUIRKS}var i1={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},X7="definitionurl",J7="definitionURL",Z7=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eE=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:V.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:V.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:V.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:V.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:V.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:V.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:V.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:V.XML}],["xml:space",{prefix:"xml",name:"space",namespace:V.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:V.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:V.XMLNS}]]),tE=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),rE=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function a1(e){let t=e.tagID;return t===d.FONT&&e.attrs.some(({name:n})=>n===ir.COLOR||n===ir.SIZE||n===ir.FACE)||rE.has(t)}function O0(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===X7){e.attrs[t].name=J7;break}}function M0(e){for(let t=0;t<e.attrs.length;t++){let r=Z7.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Qs(e){for(let t=0;t<e.attrs.length;t++){let r=eE.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function s1(e){let t=tE.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=$r(e.tagName))}function nE(e,t){return t===V.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function iE(e,t,r){if(t===V.MATHML&&e===d.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===ir.ENCODING){let i=r[n].value.toLowerCase();return i===i1.TEXT_HTML||i===i1.APPLICATION_XML}}return t===V.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function o1(e,t,r,n){return(!n||n===V.HTML)&&iE(e,t,r)||(!n||n===V.MATHML)&&nE(e,t)}var aE="hidden",sE=8,oE=3,D;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(D||(D={}));var uE={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},d1=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),l1={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:$t,onParseError:null},wr=class{constructor(t,r,n=null,i=null){this.fragmentContext=n,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=D.INITIAL,this.originalInsertionMode=D.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...l1,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new na(this.options,this),this.activeFormattingElements=new Ks(this.treeAdapter),this.fragmentContextID=n?$r(this.treeAdapter.getTagName(n)):d.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new Ws(this.document,this.treeAdapter,this)}static parse(t,r){let n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){let n={...l1,...r};t??(t=n.treeAdapter.createElement(M.TEMPLATE,V.HTML,[]));let i=n.treeAdapter.createElement("documentmock",V.HTML,[]),a=new this(n,i,t);return a.fragmentContextID===d.TEMPLATE&&a.tmplInsertionModeStack.unshift(D.IN_TEMPLATE),a._initTokenizerForFragmentParsing(),a._insertFakeRootElement(),a._resetInsertionMode(),a._findFormInFragmentContext(),a}getFragment(){let t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var i;if(!this.onParseError)return;let a=(i=t.location)!==null&&i!==void 0?i:uE,s={code:r,startLine:a.startLine,startCol:a.startCol,startOffset:a.startOffset,endLine:n?a.startLine:a.endLine,endCol:n?a.startCol:a.endCol,endOffset:n?a.startOffset:a.endOffset};this.onParseError(s)}onItemPush(t,r,n){var i,a;(a=(i=this.treeAdapter).onItemPush)===null||a===void 0||a.call(i,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(n=this.treeAdapter).onItemPop)===null||i===void 0||i.call(n,t,this.openElements.current),r){let a,s;this.openElements.stackTop===0&&this.fragmentContext?(a=this.fragmentContext,s=this.fragmentContextID):{current:a,currentTagId:s}=this.openElements,this._setContextModes(a,s)}}_setContextModes(t,r){let n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===V.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,V.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=D.TEXT}switchToPlaintextParsing(){this.insertionMode=D.TEXT,this.originalInsertionMode=D.IN_BODY,this.tokenizer.state=Ne.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===M.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==V.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=Ne.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=Ne.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=Ne.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=Ne.PLAINTEXT;break}default:}}_setDocumentType(t){let r=t.name||"",n=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,i),t.location){let s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){let n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{let n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){let n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){let n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){let n=this.treeAdapter.createElement(t,V.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){let r=this.treeAdapter.createElement(t.tagName,V.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let t=this.treeAdapter.createElement(M.HTML,V.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,r){let n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;let i=this.treeAdapter.getChildNodes(r),a=n?i.lastIndexOf(n):i.length,s=i[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){let{endLine:u,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:u,endCol:l,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){let n=r.location,i=this.treeAdapter.getTagName(t),a=r.type===ye.END_TAG&&i===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,a)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(r)===M.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===V.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,V.HTML)}_processToken(t){switch(t.type){case ye.CHARACTER:{this.onCharacter(t);break}case ye.NULL_CHARACTER:{this.onNullCharacter(t);break}case ye.COMMENT:{this.onComment(t);break}case ye.DOCTYPE:{this.onDoctype(t);break}case ye.START_TAG:{this._processStartTag(t);break}case ye.END_TAG:{this.onEndTag(t);break}case ye.EOF:{this.onEof(t);break}case ye.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){let i=this.treeAdapter.getNamespaceURI(r),a=this.treeAdapter.getAttrList(r);return o1(t,i,a,n)}_reconstructActiveFormattingElements(){let t=this.activeFormattingElements.entries.length;if(t){let r=this.activeFormattingElements.entries.findIndex(i=>i.type===Yt.Marker||this.openElements.contains(i.element)),n=r===-1?t-1:r-1;for(let i=n;i>=0;i--){let a=this.activeFormattingElements.entries[i];this._insertElement(a.token,this.treeAdapter.getNamespaceURI(a.element)),a.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=D.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=D.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=D.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=D.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=D.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=D.IN_TABLE;return}case d.BODY:{this.insertionMode=D.IN_BODY;return}case d.FRAMESET:{this.insertionMode=D.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?D.AFTER_HEAD:D.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=D.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=D.IN_HEAD;return}break}}this.insertionMode=D.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){let n=this.openElements.tagIDs[r];if(n===d.TEMPLATE)break;if(n===d.TABLE){this.insertionMode=D.IN_SELECT_IN_TABLE;return}}this.insertionMode=D.IN_SELECT}_isElementCausesFosterParenting(t){return d1.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){let r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===V.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case d.TABLE:{let n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){let r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){let n=this.treeAdapter.getNamespaceURI(t);return R0[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){B9(this,t);return}switch(this.insertionMode){case D.INITIAL:{ia(this,t);break}case D.BEFORE_HTML:{sa(this,t);break}case D.BEFORE_HEAD:{oa(this,t);break}case D.IN_HEAD:{ua(this,t);break}case D.IN_HEAD_NO_SCRIPT:{la(this,t);break}case D.AFTER_HEAD:{ca(this,t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:{m1(this,t);break}case D.TEXT:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{F0(this,t);break}case D.IN_TABLE_TEXT:{x1(this,t);break}case D.IN_COLUMN_GROUP:{Js(this,t);break}case D.AFTER_BODY:{Zs(this,t);break}case D.AFTER_AFTER_BODY:{Xs(this,t);break}default:}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){F9(this,t);return}switch(this.insertionMode){case D.INITIAL:{ia(this,t);break}case D.BEFORE_HTML:{sa(this,t);break}case D.BEFORE_HEAD:{oa(this,t);break}case D.IN_HEAD:{ua(this,t);break}case D.IN_HEAD_NO_SCRIPT:{la(this,t);break}case D.AFTER_HEAD:{ca(this,t);break}case D.TEXT:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{F0(this,t);break}case D.IN_COLUMN_GROUP:{Js(this,t);break}case D.AFTER_BODY:{Zs(this,t);break}case D.AFTER_AFTER_BODY:{Xs(this,t);break}default:}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){B0(this,t);return}switch(this.insertionMode){case D.INITIAL:case D.BEFORE_HTML:case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_TEMPLATE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{B0(this,t);break}case D.IN_TABLE_TEXT:{aa(this,t);break}case D.AFTER_BODY:{pE(this,t);break}case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{gE(this,t);break}default:}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case D.INITIAL:{bE(this,t);break}case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:{this._err(t,z.misplacedDoctype);break}case D.IN_TABLE_TEXT:{aa(this,t);break}default:}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,z.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?q9(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{ia(this,t);break}case D.BEFORE_HTML:{yE(this,t);break}case D.BEFORE_HEAD:{xE(this,t);break}case D.IN_HEAD:{Gt(this,t);break}case D.IN_HEAD_NO_SCRIPT:{CE(this,t);break}case D.AFTER_HEAD:{wE(this,t);break}case D.IN_BODY:{it(this,t);break}case D.IN_TABLE:{ni(this,t);break}case D.IN_TABLE_TEXT:{aa(this,t);break}case D.IN_CAPTION:{T9(this,t);break}case D.IN_COLUMN_GROUP:{z0(this,t);break}case D.IN_TABLE_BODY:{ro(this,t);break}case D.IN_ROW:{no(this,t);break}case D.IN_CELL:{A9(this,t);break}case D.IN_SELECT:{C1(this,t);break}case D.IN_SELECT_IN_TABLE:{S9(this,t);break}case D.IN_TEMPLATE:{D9(this,t);break}case D.AFTER_BODY:{I9(this,t);break}case D.IN_FRAMESET:{_9(this,t);break}case D.AFTER_FRAMESET:{P9(this,t);break}case D.AFTER_AFTER_BODY:{O9(this,t);break}case D.AFTER_AFTER_FRAMESET:{M9(this,t);break}default:}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?U9(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{ia(this,t);break}case D.BEFORE_HTML:{EE(this,t);break}case D.BEFORE_HEAD:{TE(this,t);break}case D.IN_HEAD:{vE(this,t);break}case D.IN_HEAD_NO_SCRIPT:{AE(this,t);break}case D.AFTER_HEAD:{SE(this,t);break}case D.IN_BODY:{to(this,t);break}case D.TEXT:{f9(this,t);break}case D.IN_TABLE:{fa(this,t);break}case D.IN_TABLE_TEXT:{aa(this,t);break}case D.IN_CAPTION:{v9(this,t);break}case D.IN_COLUMN_GROUP:{C9(this,t);break}case D.IN_TABLE_BODY:{q0(this,t);break}case D.IN_ROW:{v1(this,t);break}case D.IN_CELL:{w9(this,t);break}case D.IN_SELECT:{A1(this,t);break}case D.IN_SELECT_IN_TABLE:{k9(this,t);break}case D.IN_TEMPLATE:{N9(this,t);break}case D.AFTER_BODY:{S1(this,t);break}case D.IN_FRAMESET:{L9(this,t);break}case D.AFTER_FRAMESET:{R9(this,t);break}case D.AFTER_AFTER_BODY:{Xs(this,t);break}default:}}onEof(t){switch(this.insertionMode){case D.INITIAL:{ia(this,t);break}case D.BEFORE_HTML:{sa(this,t);break}case D.BEFORE_HEAD:{oa(this,t);break}case D.IN_HEAD:{ua(this,t);break}case D.IN_HEAD_NO_SCRIPT:{la(this,t);break}case D.AFTER_HEAD:{ca(this,t);break}case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{y1(this,t);break}case D.TEXT:{d9(this,t);break}case D.IN_TABLE_TEXT:{aa(this,t);break}case D.IN_TEMPLATE:{w1(this,t);break}case D.AFTER_BODY:case D.IN_FRAMESET:case D.AFTER_FRAMESET:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{H0(this,t);break}default:}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===C.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.TEXT:case D.IN_COLUMN_GROUP:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{this._insertCharacters(t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:case D.AFTER_BODY:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{h1(this,t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{F0(this,t);break}case D.IN_TABLE_TEXT:{E1(this,t);break}default:}}};function lE(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):b1(e,t),r}function cE(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){let i=e.openElements.items[n];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[n])&&(r=i)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function fE(e,t,r){let n=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==r;a++,s=i){i=e.openElements.getCommonAncestor(s);let o=e.activeFormattingElements.getElementEntry(s),u=o&&a>=oE;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=dE(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function dE(e,t){let r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function hE(e,t,r){let n=e.treeAdapter.getTagName(t),i=$r(n);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(r);else{let a=e.treeAdapter.getNamespaceURI(t);i===d.TEMPLATE&&a===V.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function mE(e,t,r){let n=e.treeAdapter.getNamespaceURI(r.element),{token:i}=r,a=e.treeAdapter.createElement(i.tagName,n,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,a,i.tagID)}function U0(e,t){for(let r=0;r<sE;r++){let n=lE(e,t);if(!n)break;let i=cE(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;let a=fE(e,i,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),s&&hE(e,s,a),mE(e,i,n)}}function B0(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function pE(e,t){e._appendCommentNode(t,e.openElements.items[0])}function gE(e,t){e._appendCommentNode(t,e.document)}function H0(e,t){if(e.stopped=!0,t.location){let r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(n);if(i&&!i.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let a=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(a);s&&!s.endTag&&e._setEndLocation(a,t)}}}}function bE(e,t){e._setDocumentType(t);let r=t.forceQuirks?nt.QUIRKS:n1(t);r1(t)||e._err(t,z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=D.BEFORE_HTML}function ia(e,t){e._err(t,z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,nt.QUIRKS),e.insertionMode=D.BEFORE_HTML,e._processToken(t)}function yE(e,t){t.tagID===d.HTML?(e._insertElement(t,V.HTML),e.insertionMode=D.BEFORE_HEAD):sa(e,t)}function EE(e,t){let r=t.tagID;(r===d.HTML||r===d.HEAD||r===d.BODY||r===d.BR)&&sa(e,t)}function sa(e,t){e._insertFakeRootElement(),e.insertionMode=D.BEFORE_HEAD,e._processToken(t)}function xE(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.HEAD:{e._insertElement(t,V.HTML),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD;break}default:oa(e,t)}}function TE(e,t){let r=t.tagID;r===d.HEAD||r===d.BODY||r===d.HTML||r===d.BR?oa(e,t):e._err(t,z.endTagWithoutMatchingOpenElement)}function oa(e,t){e._insertFakeElement(M.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD,e._processToken(t)}function Gt(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,V.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,Ne.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ne.RAWTEXT):(e._insertElement(t,V.HTML),e.insertionMode=D.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,Ne.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,Ne.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=D.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(D.IN_TEMPLATE);break}case d.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:ua(e,t)}}function vE(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=D.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{ua(e,t);break}case d.TEMPLATE:{Dn(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function Dn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,z.endTagWithoutMatchingOpenElement)}function ua(e,t){e.openElements.pop(),e.insertionMode=D.AFTER_HEAD,e._processToken(t)}function CE(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{Gt(e,t);break}case d.NOSCRIPT:{e._err(t,z.nestedNoscriptInHead);break}default:la(e,t)}}function AE(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=D.IN_HEAD;break}case d.BR:{la(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function la(e,t){let r=t.type===ye.EOF?z.openElementsLeftAfterEof:z.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=D.IN_HEAD,e._processToken(t)}function wE(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.BODY:{e._insertElement(t,V.HTML),e.framesetOk=!1,e.insertionMode=D.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,V.HTML),e.insertionMode=D.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,z.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),Gt(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:ca(e,t)}}function SE(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{ca(e,t);break}case d.TEMPLATE:{Dn(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function ca(e,t){e._insertFakeElement(M.BODY,d.BODY),e.insertionMode=D.IN_BODY,eo(e,t)}function eo(e,t){switch(t.type){case ye.CHARACTER:{m1(e,t);break}case ye.WHITESPACE_CHARACTER:{h1(e,t);break}case ye.COMMENT:{B0(e,t);break}case ye.START_TAG:{it(e,t);break}case ye.END_TAG:{to(e,t);break}case ye.EOF:{y1(e,t);break}default:}}function h1(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function m1(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function kE(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function DE(e,t){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function NE(e,t){let r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,V.HTML),e.insertionMode=D.IN_FRAMESET)}function IE(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,V.HTML)}function _E(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ri.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,V.HTML)}function LE(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,V.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function PE(e,t){let r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,V.HTML),r||(e.formElement=e.openElements.current))}function RE(e,t){e.framesetOk=!1;let r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){let i=e.openElements.tagIDs[n];if(r===d.LI&&i===d.LI||(r===d.DD||r===d.DT)&&(i===d.DD||i===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==d.ADDRESS&&i!==d.DIV&&i!==d.P&&e._isSpecialElement(e.openElements.items[n],i))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,V.HTML)}function OE(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,V.HTML),e.tokenizer.state=Ne.PLAINTEXT}function ME(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,V.HTML),e.framesetOk=!1}function FE(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(M.A);r&&(U0(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,V.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function BE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,V.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qE(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(U0(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,V.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function UE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,V.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function HE(e,t){e.treeAdapter.getDocumentMode(e.document)!==nt.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,V.HTML),e.framesetOk=!1,e.insertionMode=D.IN_TABLE}function p1(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,V.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function g1(e){let t=ea(e,ir.TYPE);return t!=null&&t.toLowerCase()===aE}function zE(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,V.HTML),g1(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function jE(e,t){e._appendElement(t,V.HTML),t.ackSelfClosing=!0}function VE(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,V.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function YE(e,t){t.tagName=M.IMG,t.tagID=d.IMG,p1(e,t)}function $E(e,t){e._insertElement(t,V.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ne.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=D.TEXT}function GE(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ne.RAWTEXT)}function WE(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ne.RAWTEXT)}function c1(e,t){e._switchToTextParsing(t,Ne.RAWTEXT)}function KE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,V.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===D.IN_TABLE||e.insertionMode===D.IN_CAPTION||e.insertionMode===D.IN_TABLE_BODY||e.insertionMode===D.IN_ROW||e.insertionMode===D.IN_CELL?D.IN_SELECT_IN_TABLE:D.IN_SELECT}function QE(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,V.HTML)}function XE(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,V.HTML)}function JE(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,V.HTML)}function ZE(e,t){e._reconstructActiveFormattingElements(),O0(t),Qs(t),t.selfClosing?e._appendElement(t,V.MATHML):e._insertElement(t,V.MATHML),t.ackSelfClosing=!0}function e9(e,t){e._reconstructActiveFormattingElements(),M0(t),Qs(t),t.selfClosing?e._appendElement(t,V.SVG):e._insertElement(t,V.SVG),t.ackSelfClosing=!0}function f1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,V.HTML)}function it(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{BE(e,t);break}case d.A:{FE(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{_E(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{IE(e,t);break}case d.LI:case d.DD:case d.DT:{RE(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{p1(e,t);break}case d.HR:{VE(e,t);break}case d.RB:case d.RTC:{XE(e,t);break}case d.RT:case d.RP:{JE(e,t);break}case d.PRE:case d.LISTING:{LE(e,t);break}case d.XMP:{GE(e,t);break}case d.SVG:{e9(e,t);break}case d.HTML:{kE(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{Gt(e,t);break}case d.BODY:{DE(e,t);break}case d.FORM:{PE(e,t);break}case d.NOBR:{qE(e,t);break}case d.MATH:{ZE(e,t);break}case d.TABLE:{HE(e,t);break}case d.INPUT:{zE(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{jE(e,t);break}case d.IMAGE:{YE(e,t);break}case d.BUTTON:{ME(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{UE(e,t);break}case d.IFRAME:{WE(e,t);break}case d.SELECT:{KE(e,t);break}case d.OPTION:case d.OPTGROUP:{QE(e,t);break}case d.NOEMBED:case d.NOFRAMES:{c1(e,t);break}case d.FRAMESET:{NE(e,t);break}case d.TEXTAREA:{$E(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?c1(e,t):f1(e,t);break}case d.PLAINTEXT:{OE(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:f1(e,t)}}function t9(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=D.AFTER_BODY,e.options.sourceCodeLocationInfo)){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function r9(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=D.AFTER_BODY,S1(e,t))}function n9(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function i9(e){let t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):r&&e.openElements.remove(r))}function a9(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(M.P,d.P),e._closePElement()}function s9(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function o9(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function u9(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function l9(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function c9(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(M.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function b1(e,t){let r=t.tagName,n=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){let a=e.openElements.items[i],s=e.openElements.tagIDs[i];if(n===s&&(n!==d.UNKNOWN||e.treeAdapter.getTagName(a)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(a,s))break}}function to(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{U0(e,t);break}case d.P:{a9(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{n9(e,t);break}case d.LI:{s9(e);break}case d.DD:case d.DT:{o9(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{u9(e);break}case d.BR:{c9(e);break}case d.BODY:{t9(e,t);break}case d.HTML:{r9(e,t);break}case d.FORM:{i9(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{l9(e,t);break}case d.TEMPLATE:{Dn(e,t);break}default:b1(e,t)}}function y1(e,t){e.tmplInsertionModeStack.length>0?w1(e,t):H0(e,t)}function f9(e,t){var r;t.tagID===d.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function d9(e,t){e._err(t,z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function F0(e,t){if(e.openElements.currentTagId!==void 0&&d1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=D.IN_TABLE_TEXT,t.type){case ye.CHARACTER:{x1(e,t);break}case ye.WHITESPACE_CHARACTER:{E1(e,t);break}}else da(e,t)}function h9(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,V.HTML),e.insertionMode=D.IN_CAPTION}function m9(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,V.HTML),e.insertionMode=D.IN_COLUMN_GROUP}function p9(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.COLGROUP,d.COLGROUP),e.insertionMode=D.IN_COLUMN_GROUP,z0(e,t)}function g9(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,V.HTML),e.insertionMode=D.IN_TABLE_BODY}function b9(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.TBODY,d.TBODY),e.insertionMode=D.IN_TABLE_BODY,ro(e,t)}function y9(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function E9(e,t){g1(t)?e._appendElement(t,V.HTML):da(e,t),t.ackSelfClosing=!0}function x9(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,V.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function ni(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{b9(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{Gt(e,t);break}case d.COL:{p9(e,t);break}case d.FORM:{x9(e,t);break}case d.TABLE:{y9(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{g9(e,t);break}case d.INPUT:{E9(e,t);break}case d.CAPTION:{h9(e,t);break}case d.COLGROUP:{m9(e,t);break}default:da(e,t)}}function fa(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Dn(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:da(e,t)}}function da(e,t){let r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,eo(e,t),e.fosterParentingEnabled=r}function E1(e,t){e.pendingCharacterTokens.push(t)}function x1(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function aa(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)da(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var T1=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function T9(e,t){let r=t.tagID;T1.has(r)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,ni(e,t)):it(e,t)}function v9(e,t){let r=t.tagID;switch(r){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,r===d.TABLE&&fa(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:to(e,t)}}function z0(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.COL:{e._appendElement(t,V.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{Gt(e,t);break}default:Js(e,t)}}function C9(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case d.TEMPLATE:{Dn(e,t);break}case d.COL:break;default:Js(e,t)}}function Js(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE,e._processToken(t))}function ro(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,V.HTML),e.insertionMode=D.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(M.TR,d.TR),e.insertionMode=D.IN_ROW,no(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,ni(e,t));break}default:ni(e,t)}}function q0(e,t){let r=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,fa(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:fa(e,t)}}function no(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,V.HTML),e.insertionMode=D.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,ro(e,t));break}default:ni(e,t)}}function v1(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,q0(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,q0(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:fa(e,t)}}function A9(e,t){let r=t.tagID;T1.has(r)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),no(e,t)):it(e,t)}function w9(e,t){let r=t.tagID;switch(r){case d.TD:case d.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),v1(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:to(e,t)}}function C1(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,V.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,V.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,V.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{Gt(e,t);break}default:}}function A1(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Dn(e,t);break}default:}}function S9(e,t){let r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):C1(e,t)}function k9(e,t){let r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):A1(e,t)}function D9(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{Gt(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=D.IN_TABLE,e.insertionMode=D.IN_TABLE,ni(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=D.IN_COLUMN_GROUP,e.insertionMode=D.IN_COLUMN_GROUP,z0(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=D.IN_TABLE_BODY,e.insertionMode=D.IN_TABLE_BODY,ro(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=D.IN_ROW,e.insertionMode=D.IN_ROW,no(e,t);break}default:e.tmplInsertionModeStack[0]=D.IN_BODY,e.insertionMode=D.IN_BODY,it(e,t)}}function N9(e,t){t.tagID===d.TEMPLATE&&Dn(e,t)}function w1(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):H0(e,t)}function I9(e,t){t.tagID===d.HTML?it(e,t):Zs(e,t)}function S1(e,t){var r;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=D.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Zs(e,t)}function Zs(e,t){e.insertionMode=D.IN_BODY,eo(e,t)}function _9(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.FRAMESET:{e._insertElement(t,V.HTML);break}case d.FRAME:{e._appendElement(t,V.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{Gt(e,t);break}default:}}function L9(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=D.AFTER_FRAMESET))}function P9(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.NOFRAMES:{Gt(e,t);break}default:}}function R9(e,t){t.tagID===d.HTML&&(e.insertionMode=D.AFTER_AFTER_FRAMESET)}function O9(e,t){t.tagID===d.HTML?it(e,t):Xs(e,t)}function Xs(e,t){e.insertionMode=D.IN_BODY,eo(e,t)}function M9(e,t){switch(t.tagID){case d.HTML:{it(e,t);break}case d.NOFRAMES:{Gt(e,t);break}default:}}function F9(e,t){t.chars=De,e._insertCharacters(t)}function B9(e,t){e._insertCharacters(t),e.framesetOk=!1}function k1(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==V.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function q9(e,t){if(a1(t))k1(e),e._startTagOutsideForeignContent(t);else{let r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===V.MATHML?O0(t):n===V.SVG&&(s1(t),M0(t)),Qs(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function U9(e,t){if(t.tagID===d.P||t.tagID===d.BR){k1(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){let n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===V.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(n);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(r);break}}}var fF=String.prototype.codePointAt==null?(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t):(e,t)=>e.codePointAt(t);var yF=new Set([M.AREA,M.BASE,M.BASEFONT,M.BGSOUND,M.BR,M.COL,M.EMBED,M.FRAME,M.HR,M.IMG,M.INPUT,M.KEYGEN,M.LINK,M.META,M.PARAM,M.SOURCE,M.TRACK,M.WBR]);function D1(e,t){return wr.parse(e,t)}function N1(e,t,r){typeof e=="string"&&(r=t,t=e,e=null);let n=wr.getFragmentParser(e,r);return n.tokenizer.write(t,!0),n.getFragment()}function Wr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?I1(e.position):"start"in e||"end"in e?I1(e):"line"in e||"column"in e?j0(e):""}function j0(e){return _1(e&&e.line)+":"+_1(e&&e.column)}function I1(e){return j0(e&&e.start)+"-"+j0(e&&e.end)}function _1(e){return e&&typeof e=="number"?e:1}var je=class 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"){let 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){let u=a.ancestors[a.ancestors.length-1];u&&(a.place=u.position)}let o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=Wr(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=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}};je.prototype.file="";je.prototype.name="";je.prototype.reason="";je.prototype.message="";je.prototype.stack="";je.prototype.column=void 0;je.prototype.line=void 0;je.prototype.ancestors=void 0;je.prototype.cause=void 0;je.prototype.fatal=void 0;je.prototype.place=void 0;je.prototype.ruleId=void 0;je.prototype.source=void 0;import{default as Wt}from"node:path";import{default as L1}from"node:process";import{fileURLToPath as P1}from"node:url";function io(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}var V0=["history","path","basename","stem","extname","dirname"],Kr=class{constructor(t){let r;t?io(t)?r={path:t}:typeof t=="string"||H9(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":L1.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<V0.length;){let a=V0[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)V0.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Wt.basename(this.path):void 0}set basename(t){$0(t,"basename"),Y0(t,"basename"),this.path=Wt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Wt.dirname(this.path):void 0}set dirname(t){R1(this.basename,"dirname"),this.path=Wt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Wt.extname(this.path):void 0}set extname(t){if(Y0(t,"extname"),R1(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=Wt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){io(t)&&(t=P1(t)),$0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Wt.basename(this.path,this.extname):void 0}set stem(t){$0(t,"stem"),Y0(t,"stem"),this.path=Wt.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){let i=this.message(t,r,n);throw i.fatal=!0,i}info(t,r,n){let i=this.message(t,r,n);return i.fatal=void 0,i}message(t,r,n){let i=new je(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 Y0(e,t){if(e&&e.includes(Wt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Wt.sep+"`")}function $0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function R1(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function H9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var O1={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}};var z9="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",j9=/-[a-z]/g,V9=/%c(?:([-+])(\d+))?/g,Y9=/%x/g,$9={2:!0,1:!1,0:null},G9={};function G0(e,t){let r=t||G9,n=r.onerror,i=e instanceof Kr?e:new Kr(e),a=r.fragment?N1:D1,s=String(i),o=a(s,{sourceCodeLocationInfo:!0,onParseError:r.onerror?u:null,scriptingEnabled:!1});return Zi(o,{file:i,space:r.space,verbose:r.verbose});function u(l){let c=l.code,f=W9(c),m=r[f],p=m??!0,y=typeof p=="number"?p:p?1:0;if(y){let x=O1[f];let v=new je(E(x.reason),{place:{start:{line:l.startLine,column:l.startCol,offset:l.startOffset},end:{line:l.endLine,column:l.endCol,offset:l.endOffset}},ruleId:c,source:"hast-util-from-html"});i.path&&(v.file=i.path,v.name=i.path+":"+v.name),v.fatal=$9[y],v.note=E(x.description),v.url=x.url===!1?void 0:z9+c,n(v)}function E(x){return x.replace(V9,v).replace(Y9,w);function v(N,B,q){let _=(q?Number.parseInt(q,10):0)*(B==="-"?-1:1),U=s.charAt(l.startOffset+_);return Q9(U)}function w(){return X9(s.charCodeAt(l.startOffset))}}}}function W9(e){return e.replace(j9,K9)}function K9(e){return e.charAt(1).toUpperCase()}function Q9(e){return e==="`"?"` ` `":e}function X9(e){return"0x"+e.toString(16).toUpperCase()}function Kt(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),Vt(e,a,o,i);function o(u,l){let c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return s(u,f,c)}}function W0(e,t){let n=(t||{}).force||!1;Kt(e,i);function i(a){n?delete a.position:a.position=void 0}}function K0(e,t){let r=G0(e,t);return W0(r,{force:!0}),delete r.data,r}var ao=(function(e,t,r){let n=Lt(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]});var M1=/\n/g,F1=/[\t ]+/g,Q0=dt("br"),B1=dt(ix),J9=dt("p"),q1=dt("tr"),Z9=dt(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",nx,ax]),U1=dt(["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 X0(e,t){let r=t||{},n="children"in e?e.children:[],i=U1(e),a=j1(e,{whitespace:r.whitespace||"normal",breakBefore:!1,breakAfter:!1}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...z1(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...H1(n[o],e,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<n.length-1?Q0(n[o+1]):i}));let u=[],l;for(o=-1;++o<s.length;){let c=s[o];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&u.push(`
|
|
158
|
+
`.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function H1(e,t,r){return e.type==="element"?ex(e,t,r):e.type==="text"?r.whitespace==="normal"?z1(e,r):tx(e):[]}function ex(e,t,r){let n=j1(e,r),i=e.children||[],a=-1,s=[];if(Z9(e))return s;let o,u;for(Q0(e)||q1(e)&&ao(t,e,q1)?u=`
|
|
159
|
+
`:J9(e)?(o=2,u=2):U1(e)&&(o=1,u=1);++a<i.length;)s=s.concat(H1(i[a],e,{whitespace:n,breakBefore:a?void 0:o,breakAfter:a<i.length-1?Q0(i[a+1]):u}));return B1(e)&&ao(t,e,B1)&&s.push(" "),o&&s.unshift(o),u&&s.push(u),s}function z1(e,t){let r=String(e.value),n=[],i=[],a=0;for(;a<=r.length;){M1.lastIndex=a;let u=M1.exec(r),l=u&&"index"in u?u.index:r.length;n.push(rx(r.slice(a,l).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,l===r.length?t.breakAfter:!0)),a=l+1}let s=-1,o;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]),o=void 0):n[s]?(typeof o=="number"&&i.push(o),i.push(n[s]),o=0):(s===0||s===n.length-1)&&i.push(0);return i}function tx(e){return[String(e.value)]}function rx(e,t,r){let n=[],i=0,a;for(;i<e.length;){F1.lastIndex=i;let s=F1.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 j1(e,t){if(e.type==="element"){let 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";default:}}return t.whitespace}function nx(e){return!!(e.properties||{}).hidden}function ix(e){return e.tagName==="td"||e.tagName==="th"}function ax(e){return e.tagName==="dialog"&&!(e.properties||{}).open}var J=class e extends Error{constructor(t,r){var n="KaTeX parse error: "+t,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var u=o.slice(i,a).replace(/[^]/g,"$&\u0332"),l;i>15?l="\u2026"+o.slice(i-15,i):l=o.slice(0,i);var c;a+15<o.length?c=o.slice(a,a+15)+"\u2026":c=o.slice(a),n+=l+u+c}super(n),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},sx=/([A-Z])/g,ox=e=>e.replace(sx,"-$1").toLowerCase(),ux={"&":"&",">":">","<":"<",'"':""","'":"'"},lx=/[&><"']/g,st=e=>String(e).replace(lx,t=>ux[t]),bo=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?bo(e.body[0]):e:e.type==="font"?bo(e.body):e,cx=new Set(["mathord","textord","atom"]),Nr=e=>cx.has(bo(e).type),fx=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},dc={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 dx(e){if(typeof e!="string")return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function hx(e){if(e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return dx(t)}function mx(e,t,r,n){var i=r[t];e[t]=i!==void 0?n.processor?n.processor(i):i:hx(n)}var ba=class{constructor(t){t===void 0&&(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 of Object.keys(dc)){var n=dc[r];n&&mx(this,r,t,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 J("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("url"in t&&t.url&&!t.protocol){var r=fx(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}},ar=class{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 sr[px[this.id]]}sub(){return sr[gx[this.id]]}fracNum(){return sr[bx[this.id]]}fracDen(){return sr[yx[this.id]]}cramp(){return sr[Ex[this.id]]}text(){return sr[xx[this.id]]}isTight(){return this.size>=2}},Pc=0,Eo=1,ai=2,Dr=3,ya=4,Ot=5,si=6,pt=7,sr=[new ar(Pc,0,!1),new ar(Eo,0,!0),new ar(ai,1,!1),new ar(Dr,1,!0),new ar(ya,2,!1),new ar(Ot,2,!0),new ar(si,3,!1),new ar(pt,3,!0)],px=[ya,Ot,ya,Ot,si,pt,si,pt],gx=[Ot,Ot,Ot,Ot,pt,pt,pt,pt],bx=[ai,Dr,ya,Ot,si,pt,si,pt],yx=[Dr,Dr,Ot,Ot,pt,pt,pt,pt],Ex=[Eo,Eo,Dr,Dr,Ot,Ot,pt,pt],xx=[Pc,Eo,ai,Dr,ai,Dr,ai,Dr],pe={DISPLAY:sr[Pc],TEXT:sr[ai],SCRIPT:sr[ya],SCRIPTSCRIPT:sr[si]},hc=[{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 Tx(e){for(var t=0;t<hc.length;t++)for(var r=hc[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 yo=[];hc.forEach(e=>e.blocks.forEach(t=>yo.push(...t)));function wg(e){for(var t=0;t<yo.length;t+=2)if(e>=yo[t]&&e<=yo[t+1])return!0;return!1}var Ge=e=>e+" "+e,ii=80,vx=function(t,r){return"M95,"+(622+t+r)+`
|
|
160
|
+
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
161
|
+
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
162
|
+
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
|
|
163
|
+
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
164
|
+
c69,-144,104.5,-217.7,106.5,-221
|
|
165
|
+
l`+t/2.075+" -"+t+`
|
|
166
|
+
c5.3,-9.3,12,-14,20,-14
|
|
167
|
+
H400000v`+(40+t)+`H845.2724
|
|
168
|
+
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
169
|
+
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
170
|
+
M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Cx=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
|
|
171
|
+
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
172
|
+
c340,-704.7,510.7,-1060.3,512,-1067
|
|
173
|
+
l`+t/2.084+" -"+t+`
|
|
174
|
+
c4.7,-7.3,11,-11,19,-11
|
|
175
|
+
H40000v`+(40+t)+`H1012.3
|
|
176
|
+
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
177
|
+
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
|
|
178
|
+
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
179
|
+
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
180
|
+
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Ax=function(t,r){return"M983 "+(10+t+r)+`
|
|
181
|
+
l`+t/3.13+" -"+t+`
|
|
182
|
+
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
|
183
|
+
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
|
|
184
|
+
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
|
|
185
|
+
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
186
|
+
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
187
|
+
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
188
|
+
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
189
|
+
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},wx=function(t,r){return"M424,"+(2398+t+r)+`
|
|
190
|
+
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
191
|
+
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
|
|
192
|
+
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
193
|
+
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
194
|
+
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
|
195
|
+
v`+(40+t)+`H1014.6
|
|
196
|
+
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
197
|
+
c-2,6,-10,9,-24,9
|
|
198
|
+
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
|
|
199
|
+
h400000v`+(40+t)+"h-400000z"},Sx=function(t,r){return"M473,"+(2713+t+r)+`
|
|
200
|
+
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
|
201
|
+
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
|
|
202
|
+
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
203
|
+
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
|
|
204
|
+
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
|
|
205
|
+
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
206
|
+
606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},kx=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},Dx=function(t,r,n){var i=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
|
|
207
|
+
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
|
|
208
|
+
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
209
|
+
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
210
|
+
219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},Nx=function(t,r,n){r=1e3*r;var i="";switch(t){case"sqrtMain":i=vx(r,ii);break;case"sqrtSize1":i=Cx(r,ii);break;case"sqrtSize2":i=Ax(r,ii);break;case"sqrtSize3":i=wx(r,ii);break;case"sqrtSize4":i=Sx(r,ii);break;case"sqrtTall":i=Dx(r,ii,n)}return i},Ix=function(t,r){switch(t){case"\u239C":return Ge("M291 0 H417 V"+r+" H291z");case"\u2223":return Ge("M145 0 H188 V"+r+" H145z");case"\u2225":return Ge("M145 0 H188 V"+r+" H145z")+Ge("M367 0 H410 V"+r+" H367z");case"\u239F":return Ge("M457 0 H583 V"+r+" H457z");case"\u23A2":return Ge("M319 0 H403 V"+r+" H319z");case"\u23A5":return Ge("M263 0 H347 V"+r+" H263z");case"\u23AA":return Ge("M384 0 H504 V"+r+" H384z");case"\u23D0":return Ge("M312 0 H355 V"+r+" H312z");case"\u2016":return Ge("M257 0 H300 V"+r+" H257z")+Ge("M478 0 H521 V"+r+" H478z");default:return""}},V1={doubleleftarrow:`M262 157
|
|
211
|
+
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
|
|
212
|
+
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
|
|
213
|
+
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
|
|
214
|
+
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
|
|
215
|
+
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
|
|
216
|
+
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
217
|
+
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
218
|
+
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
219
|
+
-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
|
|
220
|
+
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
|
|
221
|
+
-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
|
|
222
|
+
-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
|
|
223
|
+
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
224
|
+
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
|
|
225
|
+
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
226
|
+
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
|
|
227
|
+
-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
|
|
228
|
+
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
|
|
229
|
+
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
|
|
230
|
+
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
|
|
231
|
+
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
232
|
+
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
233
|
+
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
|
|
234
|
+
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
|
|
235
|
+
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
236
|
+
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
237
|
+
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
|
|
238
|
+
435 0h399565z`,leftgroupunder:`M400000 262
|
|
239
|
+
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
|
|
240
|
+
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
241
|
+
-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
|
|
242
|
+
-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
|
|
243
|
+
-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
|
|
244
|
+
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
|
|
245
|
+
-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
|
|
246
|
+
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
247
|
+
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
248
|
+
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
249
|
+
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
|
|
250
|
+
-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
|
|
251
|
+
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
|
|
252
|
+
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
253
|
+
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
|
|
254
|
+
-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
|
|
255
|
+
-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
|
|
256
|
+
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:Ge("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:Ge("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:Ge("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:Ge("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
257
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
258
|
+
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
|
|
259
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Ge("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
|
|
260
|
+
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
|
|
261
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
262
|
+
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
|
|
263
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
264
|
+
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
|
|
265
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
266
|
+
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
|
|
267
|
+
-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
|
|
268
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
269
|
+
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
|
|
270
|
+
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
|
|
271
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
272
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
273
|
+
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
|
|
274
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
275
|
+
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
|
|
276
|
+
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
|
|
277
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
278
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
279
|
+
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
|
|
280
|
+
-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
|
|
281
|
+
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
|
|
282
|
+
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
|
|
283
|
+
-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
|
|
284
|
+
-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
|
|
285
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
286
|
+
-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
|
|
287
|
+
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
|
|
288
|
+
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
|
|
289
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
290
|
+
-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
|
|
291
|
+
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
|
|
292
|
+
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
|
|
293
|
+
-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
|
|
294
|
+
-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
|
|
295
|
+
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
|
|
296
|
+
-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
|
|
297
|
+
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
|
|
298
|
+
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
|
|
299
|
+
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
|
|
300
|
+
-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
|
|
301
|
+
-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
|
|
302
|
+
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
|
|
303
|
+
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
|
|
304
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
305
|
+
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
|
|
306
|
+
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
|
|
307
|
+
-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
|
|
308
|
+
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:Ge("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:Ge("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:Ge("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
309
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
310
|
+
-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
|
|
311
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
312
|
+
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
|
|
313
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
314
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
315
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
316
|
+
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
|
|
317
|
+
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
|
|
318
|
+
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
|
|
319
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
320
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
321
|
+
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
|
|
322
|
+
-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
|
|
323
|
+
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
|
|
324
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
325
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
326
|
+
-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
|
|
327
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
328
|
+
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
|
|
329
|
+
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
|
|
330
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
331
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
332
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
333
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
334
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
335
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
336
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
337
|
+
-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
|
|
338
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
339
|
+
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
|
|
340
|
+
-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
|
|
341
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
342
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
343
|
+
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
|
|
344
|
+
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
|
|
345
|
+
-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
|
|
346
|
+
-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
|
|
347
|
+
-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,
|
|
348
|
+
-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,
|
|
349
|
+
-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,
|
|
350
|
+
-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,
|
|
351
|
+
-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
|
|
352
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
353
|
+
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
|
|
354
|
+
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
|
|
355
|
+
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
|
|
356
|
+
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
|
|
357
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
358
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
359
|
+
-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
|
|
360
|
+
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
|
|
361
|
+
-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
|
|
362
|
+
-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
|
|
363
|
+
-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
|
|
364
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
365
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
366
|
+
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
|
|
367
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
368
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
369
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
370
|
+
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,
|
|
371
|
+
-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
|
|
372
|
+
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
|
|
373
|
+
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
|
|
374
|
+
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,
|
|
375
|
+
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,
|
|
376
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
377
|
+
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
|
|
378
|
+
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,
|
|
379
|
+
-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
|
|
380
|
+
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
|
|
381
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},_x=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 v84 h347 v-84
|
|
382
|
+
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
|
|
383
|
+
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
|
|
384
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
385
|
+
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
|
|
386
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
387
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
|
|
388
|
+
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
|
|
389
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
390
|
+
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
|
|
391
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
|
|
392
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
|
|
393
|
+
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
|
|
394
|
+
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
|
|
395
|
+
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,
|
|
396
|
+
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
397
|
+
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
|
|
398
|
+
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,
|
|
399
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
400
|
+
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
401
|
+
-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,
|
|
402
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
403
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
|
|
404
|
+
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
|
|
405
|
+
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
|
|
406
|
+
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
|
|
407
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
408
|
+
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
409
|
+
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};function Lx(e){return"toText"in e}var Jr=class{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(){return this.children.map(t=>{if(Lx(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}},mc={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},Px={ex:!0,em:!0,mu:!0},Sg=function(t){return typeof t!="string"&&(t=t.unit),t in mc||t in Px||t==="ex"},Re=function(t,r){var n;if(t.unit in mc)n=mc[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 J("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},Z=function(t){return+t.toFixed(4)+"em"},Zr=function(t){return t.filter(r=>r).join(" ")},Rc=function(t){var r="";for(var n of Object.keys(t)){var i=t[n];i!==void 0&&(r+=ox(n)+":"+i+";")}return r},kg=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)}},Dg=function(t){var r=document.createElement(t);r.className=Zr(this.classes),Object.assign(r.style,this.style);for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},Rx=/[\s"'>/=\x00-\x1f]/,Ng=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+st(Zr(this.classes))+'"');var n=Rc(this.style);n&&(r+=' style="'+st(n)+'"');for(var i of Object.keys(this.attributes)){if(Rx.test(i))throw new J("Invalid attribute name '"+i+"'");r+=" "+i+'="'+st(this.attributes[i])+'"'}r+=">";for(var a=0;a<this.children.length;a++)r+=this.children[a].toMarkup();return r+="</"+t+">",r},en=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.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,kg.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return Dg.call(this,"span")}toMarkup(){return Ng.call(this,"span")}},oi=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,kg.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 Dg.call(this,"a")}toMarkup(){return Ng.call(this,"a")}},pc=class{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.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");return t.src=this.src,t.alt=this.alt,t.className="mord",Object.assign(t.style,this.style),t}toMarkup(){var t='<img src="'+st(this.src)+'"'+(' alt="'+st(this.alt)+'"'),r=Rc(this.style);return r&&(t+=' style="'+st(r)+'"'),t+="'/>",t}},Ox={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},gt=class{constructor(t,r,n,i,a,s,o,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=o||[],this.style=u||{},this.maxFontSize=0;var l=Tx(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Ox[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;return this.italic>0&&(r=document.createElement("span"),r.style.marginRight=Z(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Zr(this.classes)),Object.keys(this.style).length>0&&(r=r||document.createElement("span"),Object.assign(r.style,this.style)),r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=st(Zr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+Z(this.italic)+";"),n+=Rc(this.style),n&&(t=!0,r+=' style="'+st(n)+'"');var i=st(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}},Qt=class{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 of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))t+=" "+r+'="'+st(this.attributes[r])+'"';t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}},ur=class{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",V1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+st(this.alternate)+'"/>':'<path d="'+st(V1[this.pathName])+'"/>'}},Ea=class{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 of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r of Object.keys(this.attributes))t+=" "+r+'="'+st(this.attributes[r])+'"';return t+="/>",t}};function Mx(e){if(e instanceof gt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Fx(e){if(e instanceof en)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Bx=e=>e instanceof en||e instanceof oi||e instanceof Jr,or={"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]}},so={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]},Y1={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function qx(e,t){or[e]=t}function Oc(e,t,r){if(!or[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=or[t][n];if(!i&&e[0]in Y1&&(n=Y1[e[0]].charCodeAt(0),i=or[t][n]),!i&&r==="text"&&wg(n)&&(i=or[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var J0={};function Ux(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!J0[t]){var r=J0[t]={cssEmPerMu:so.quad[t]/18};for(var n in so)so.hasOwnProperty(n)&&(r[n]=so[n][t])}return J0[t]}var Ie={math:{},text:{}};function h(e,t,r,n,i,a){Ie[e][i]={font:t,group:r,replace:n},a&&n&&(Ie[e][n]=Ie[e][i])}var g="math",$="text",b="main",S="ams",_e="accent-token",ae="bin",bt="close",ci="inner",le="mathord",Ye="op-token",kt="open",Ta="punct",k="rel",Ir="spacing",P="textord";h(g,b,k,"\u2261","\\equiv",!0);h(g,b,k,"\u227A","\\prec",!0);h(g,b,k,"\u227B","\\succ",!0);h(g,b,k,"\u223C","\\sim",!0);h(g,b,k,"\u22A5","\\perp");h(g,b,k,"\u2AAF","\\preceq",!0);h(g,b,k,"\u2AB0","\\succeq",!0);h(g,b,k,"\u2243","\\simeq",!0);h(g,b,k,"\u2223","\\mid",!0);h(g,b,k,"\u226A","\\ll",!0);h(g,b,k,"\u226B","\\gg",!0);h(g,b,k,"\u224D","\\asymp",!0);h(g,b,k,"\u2225","\\parallel");h(g,b,k,"\u22C8","\\bowtie",!0);h(g,b,k,"\u2323","\\smile",!0);h(g,b,k,"\u2291","\\sqsubseteq",!0);h(g,b,k,"\u2292","\\sqsupseteq",!0);h(g,b,k,"\u2250","\\doteq",!0);h(g,b,k,"\u2322","\\frown",!0);h(g,b,k,"\u220B","\\ni",!0);h(g,b,k,"\u221D","\\propto",!0);h(g,b,k,"\u22A2","\\vdash",!0);h(g,b,k,"\u22A3","\\dashv",!0);h(g,b,k,"\u220B","\\owns");h(g,b,Ta,".","\\ldotp");h(g,b,Ta,"\u22C5","\\cdotp");h(g,b,Ta,"\u22C5","\xB7");h($,b,P,"\u22C5","\xB7");h(g,b,P,"#","\\#");h($,b,P,"#","\\#");h(g,b,P,"&","\\&");h($,b,P,"&","\\&");h(g,b,P,"\u2135","\\aleph",!0);h(g,b,P,"\u2200","\\forall",!0);h(g,b,P,"\u210F","\\hbar",!0);h(g,b,P,"\u2203","\\exists",!0);h(g,b,P,"\u2207","\\nabla",!0);h(g,b,P,"\u266D","\\flat",!0);h(g,b,P,"\u2113","\\ell",!0);h(g,b,P,"\u266E","\\natural",!0);h(g,b,P,"\u2663","\\clubsuit",!0);h(g,b,P,"\u2118","\\wp",!0);h(g,b,P,"\u266F","\\sharp",!0);h(g,b,P,"\u2662","\\diamondsuit",!0);h(g,b,P,"\u211C","\\Re",!0);h(g,b,P,"\u2661","\\heartsuit",!0);h(g,b,P,"\u2111","\\Im",!0);h(g,b,P,"\u2660","\\spadesuit",!0);h(g,b,P,"\xA7","\\S",!0);h($,b,P,"\xA7","\\S");h(g,b,P,"\xB6","\\P",!0);h($,b,P,"\xB6","\\P");h(g,b,P,"\u2020","\\dag");h($,b,P,"\u2020","\\dag");h($,b,P,"\u2020","\\textdagger");h(g,b,P,"\u2021","\\ddag");h($,b,P,"\u2021","\\ddag");h($,b,P,"\u2021","\\textdaggerdbl");h(g,b,bt,"\u23B1","\\rmoustache",!0);h(g,b,kt,"\u23B0","\\lmoustache",!0);h(g,b,bt,"\u27EF","\\rgroup",!0);h(g,b,kt,"\u27EE","\\lgroup",!0);h(g,b,ae,"\u2213","\\mp",!0);h(g,b,ae,"\u2296","\\ominus",!0);h(g,b,ae,"\u228E","\\uplus",!0);h(g,b,ae,"\u2293","\\sqcap",!0);h(g,b,ae,"\u2217","\\ast");h(g,b,ae,"\u2294","\\sqcup",!0);h(g,b,ae,"\u25EF","\\bigcirc",!0);h(g,b,ae,"\u2219","\\bullet",!0);h(g,b,ae,"\u2021","\\ddagger");h(g,b,ae,"\u2240","\\wr",!0);h(g,b,ae,"\u2A3F","\\amalg");h(g,b,ae,"&","\\And");h(g,b,k,"\u27F5","\\longleftarrow",!0);h(g,b,k,"\u21D0","\\Leftarrow",!0);h(g,b,k,"\u27F8","\\Longleftarrow",!0);h(g,b,k,"\u27F6","\\longrightarrow",!0);h(g,b,k,"\u21D2","\\Rightarrow",!0);h(g,b,k,"\u27F9","\\Longrightarrow",!0);h(g,b,k,"\u2194","\\leftrightarrow",!0);h(g,b,k,"\u27F7","\\longleftrightarrow",!0);h(g,b,k,"\u21D4","\\Leftrightarrow",!0);h(g,b,k,"\u27FA","\\Longleftrightarrow",!0);h(g,b,k,"\u21A6","\\mapsto",!0);h(g,b,k,"\u27FC","\\longmapsto",!0);h(g,b,k,"\u2197","\\nearrow",!0);h(g,b,k,"\u21A9","\\hookleftarrow",!0);h(g,b,k,"\u21AA","\\hookrightarrow",!0);h(g,b,k,"\u2198","\\searrow",!0);h(g,b,k,"\u21BC","\\leftharpoonup",!0);h(g,b,k,"\u21C0","\\rightharpoonup",!0);h(g,b,k,"\u2199","\\swarrow",!0);h(g,b,k,"\u21BD","\\leftharpoondown",!0);h(g,b,k,"\u21C1","\\rightharpoondown",!0);h(g,b,k,"\u2196","\\nwarrow",!0);h(g,b,k,"\u21CC","\\rightleftharpoons",!0);h(g,S,k,"\u226E","\\nless",!0);h(g,S,k,"\uE010","\\@nleqslant");h(g,S,k,"\uE011","\\@nleqq");h(g,S,k,"\u2A87","\\lneq",!0);h(g,S,k,"\u2268","\\lneqq",!0);h(g,S,k,"\uE00C","\\@lvertneqq");h(g,S,k,"\u22E6","\\lnsim",!0);h(g,S,k,"\u2A89","\\lnapprox",!0);h(g,S,k,"\u2280","\\nprec",!0);h(g,S,k,"\u22E0","\\npreceq",!0);h(g,S,k,"\u22E8","\\precnsim",!0);h(g,S,k,"\u2AB9","\\precnapprox",!0);h(g,S,k,"\u2241","\\nsim",!0);h(g,S,k,"\uE006","\\@nshortmid");h(g,S,k,"\u2224","\\nmid",!0);h(g,S,k,"\u22AC","\\nvdash",!0);h(g,S,k,"\u22AD","\\nvDash",!0);h(g,S,k,"\u22EA","\\ntriangleleft");h(g,S,k,"\u22EC","\\ntrianglelefteq",!0);h(g,S,k,"\u228A","\\subsetneq",!0);h(g,S,k,"\uE01A","\\@varsubsetneq");h(g,S,k,"\u2ACB","\\subsetneqq",!0);h(g,S,k,"\uE017","\\@varsubsetneqq");h(g,S,k,"\u226F","\\ngtr",!0);h(g,S,k,"\uE00F","\\@ngeqslant");h(g,S,k,"\uE00E","\\@ngeqq");h(g,S,k,"\u2A88","\\gneq",!0);h(g,S,k,"\u2269","\\gneqq",!0);h(g,S,k,"\uE00D","\\@gvertneqq");h(g,S,k,"\u22E7","\\gnsim",!0);h(g,S,k,"\u2A8A","\\gnapprox",!0);h(g,S,k,"\u2281","\\nsucc",!0);h(g,S,k,"\u22E1","\\nsucceq",!0);h(g,S,k,"\u22E9","\\succnsim",!0);h(g,S,k,"\u2ABA","\\succnapprox",!0);h(g,S,k,"\u2246","\\ncong",!0);h(g,S,k,"\uE007","\\@nshortparallel");h(g,S,k,"\u2226","\\nparallel",!0);h(g,S,k,"\u22AF","\\nVDash",!0);h(g,S,k,"\u22EB","\\ntriangleright");h(g,S,k,"\u22ED","\\ntrianglerighteq",!0);h(g,S,k,"\uE018","\\@nsupseteqq");h(g,S,k,"\u228B","\\supsetneq",!0);h(g,S,k,"\uE01B","\\@varsupsetneq");h(g,S,k,"\u2ACC","\\supsetneqq",!0);h(g,S,k,"\uE019","\\@varsupsetneqq");h(g,S,k,"\u22AE","\\nVdash",!0);h(g,S,k,"\u2AB5","\\precneqq",!0);h(g,S,k,"\u2AB6","\\succneqq",!0);h(g,S,k,"\uE016","\\@nsubseteqq");h(g,S,ae,"\u22B4","\\unlhd");h(g,S,ae,"\u22B5","\\unrhd");h(g,S,k,"\u219A","\\nleftarrow",!0);h(g,S,k,"\u219B","\\nrightarrow",!0);h(g,S,k,"\u21CD","\\nLeftarrow",!0);h(g,S,k,"\u21CF","\\nRightarrow",!0);h(g,S,k,"\u21AE","\\nleftrightarrow",!0);h(g,S,k,"\u21CE","\\nLeftrightarrow",!0);h(g,S,k,"\u25B3","\\vartriangle");h(g,S,P,"\u210F","\\hslash");h(g,S,P,"\u25BD","\\triangledown");h(g,S,P,"\u25CA","\\lozenge");h(g,S,P,"\u24C8","\\circledS");h(g,S,P,"\xAE","\\circledR");h($,S,P,"\xAE","\\circledR");h(g,S,P,"\u2221","\\measuredangle",!0);h(g,S,P,"\u2204","\\nexists");h(g,S,P,"\u2127","\\mho");h(g,S,P,"\u2132","\\Finv",!0);h(g,S,P,"\u2141","\\Game",!0);h(g,S,P,"\u2035","\\backprime");h(g,S,P,"\u25B2","\\blacktriangle");h(g,S,P,"\u25BC","\\blacktriangledown");h(g,S,P,"\u25A0","\\blacksquare");h(g,S,P,"\u29EB","\\blacklozenge");h(g,S,P,"\u2605","\\bigstar");h(g,S,P,"\u2222","\\sphericalangle",!0);h(g,S,P,"\u2201","\\complement",!0);h(g,S,P,"\xF0","\\eth",!0);h($,b,P,"\xF0","\xF0");h(g,S,P,"\u2571","\\diagup");h(g,S,P,"\u2572","\\diagdown");h(g,S,P,"\u25A1","\\square");h(g,S,P,"\u25A1","\\Box");h(g,S,P,"\u25CA","\\Diamond");h(g,S,P,"\xA5","\\yen",!0);h($,S,P,"\xA5","\\yen",!0);h(g,S,P,"\u2713","\\checkmark",!0);h($,S,P,"\u2713","\\checkmark");h(g,S,P,"\u2136","\\beth",!0);h(g,S,P,"\u2138","\\daleth",!0);h(g,S,P,"\u2137","\\gimel",!0);h(g,S,P,"\u03DD","\\digamma",!0);h(g,S,P,"\u03F0","\\varkappa");h(g,S,kt,"\u250C","\\@ulcorner",!0);h(g,S,bt,"\u2510","\\@urcorner",!0);h(g,S,kt,"\u2514","\\@llcorner",!0);h(g,S,bt,"\u2518","\\@lrcorner",!0);h(g,S,k,"\u2266","\\leqq",!0);h(g,S,k,"\u2A7D","\\leqslant",!0);h(g,S,k,"\u2A95","\\eqslantless",!0);h(g,S,k,"\u2272","\\lesssim",!0);h(g,S,k,"\u2A85","\\lessapprox",!0);h(g,S,k,"\u224A","\\approxeq",!0);h(g,S,ae,"\u22D6","\\lessdot");h(g,S,k,"\u22D8","\\lll",!0);h(g,S,k,"\u2276","\\lessgtr",!0);h(g,S,k,"\u22DA","\\lesseqgtr",!0);h(g,S,k,"\u2A8B","\\lesseqqgtr",!0);h(g,S,k,"\u2251","\\doteqdot");h(g,S,k,"\u2253","\\risingdotseq",!0);h(g,S,k,"\u2252","\\fallingdotseq",!0);h(g,S,k,"\u223D","\\backsim",!0);h(g,S,k,"\u22CD","\\backsimeq",!0);h(g,S,k,"\u2AC5","\\subseteqq",!0);h(g,S,k,"\u22D0","\\Subset",!0);h(g,S,k,"\u228F","\\sqsubset",!0);h(g,S,k,"\u227C","\\preccurlyeq",!0);h(g,S,k,"\u22DE","\\curlyeqprec",!0);h(g,S,k,"\u227E","\\precsim",!0);h(g,S,k,"\u2AB7","\\precapprox",!0);h(g,S,k,"\u22B2","\\vartriangleleft");h(g,S,k,"\u22B4","\\trianglelefteq");h(g,S,k,"\u22A8","\\vDash",!0);h(g,S,k,"\u22AA","\\Vvdash",!0);h(g,S,k,"\u2323","\\smallsmile");h(g,S,k,"\u2322","\\smallfrown");h(g,S,k,"\u224F","\\bumpeq",!0);h(g,S,k,"\u224E","\\Bumpeq",!0);h(g,S,k,"\u2267","\\geqq",!0);h(g,S,k,"\u2A7E","\\geqslant",!0);h(g,S,k,"\u2A96","\\eqslantgtr",!0);h(g,S,k,"\u2273","\\gtrsim",!0);h(g,S,k,"\u2A86","\\gtrapprox",!0);h(g,S,ae,"\u22D7","\\gtrdot");h(g,S,k,"\u22D9","\\ggg",!0);h(g,S,k,"\u2277","\\gtrless",!0);h(g,S,k,"\u22DB","\\gtreqless",!0);h(g,S,k,"\u2A8C","\\gtreqqless",!0);h(g,S,k,"\u2256","\\eqcirc",!0);h(g,S,k,"\u2257","\\circeq",!0);h(g,S,k,"\u225C","\\triangleq",!0);h(g,S,k,"\u223C","\\thicksim");h(g,S,k,"\u2248","\\thickapprox");h(g,S,k,"\u2AC6","\\supseteqq",!0);h(g,S,k,"\u22D1","\\Supset",!0);h(g,S,k,"\u2290","\\sqsupset",!0);h(g,S,k,"\u227D","\\succcurlyeq",!0);h(g,S,k,"\u22DF","\\curlyeqsucc",!0);h(g,S,k,"\u227F","\\succsim",!0);h(g,S,k,"\u2AB8","\\succapprox",!0);h(g,S,k,"\u22B3","\\vartriangleright");h(g,S,k,"\u22B5","\\trianglerighteq");h(g,S,k,"\u22A9","\\Vdash",!0);h(g,S,k,"\u2223","\\shortmid");h(g,S,k,"\u2225","\\shortparallel");h(g,S,k,"\u226C","\\between",!0);h(g,S,k,"\u22D4","\\pitchfork",!0);h(g,S,k,"\u221D","\\varpropto");h(g,S,k,"\u25C0","\\blacktriangleleft");h(g,S,k,"\u2234","\\therefore",!0);h(g,S,k,"\u220D","\\backepsilon");h(g,S,k,"\u25B6","\\blacktriangleright");h(g,S,k,"\u2235","\\because",!0);h(g,S,k,"\u22D8","\\llless");h(g,S,k,"\u22D9","\\gggtr");h(g,S,ae,"\u22B2","\\lhd");h(g,S,ae,"\u22B3","\\rhd");h(g,S,k,"\u2242","\\eqsim",!0);h(g,b,k,"\u22C8","\\Join");h(g,S,k,"\u2251","\\Doteq",!0);h(g,S,ae,"\u2214","\\dotplus",!0);h(g,S,ae,"\u2216","\\smallsetminus");h(g,S,ae,"\u22D2","\\Cap",!0);h(g,S,ae,"\u22D3","\\Cup",!0);h(g,S,ae,"\u2A5E","\\doublebarwedge",!0);h(g,S,ae,"\u229F","\\boxminus",!0);h(g,S,ae,"\u229E","\\boxplus",!0);h(g,S,ae,"\u22C7","\\divideontimes",!0);h(g,S,ae,"\u22C9","\\ltimes",!0);h(g,S,ae,"\u22CA","\\rtimes",!0);h(g,S,ae,"\u22CB","\\leftthreetimes",!0);h(g,S,ae,"\u22CC","\\rightthreetimes",!0);h(g,S,ae,"\u22CF","\\curlywedge",!0);h(g,S,ae,"\u22CE","\\curlyvee",!0);h(g,S,ae,"\u229D","\\circleddash",!0);h(g,S,ae,"\u229B","\\circledast",!0);h(g,S,ae,"\u22C5","\\centerdot");h(g,S,ae,"\u22BA","\\intercal",!0);h(g,S,ae,"\u22D2","\\doublecap");h(g,S,ae,"\u22D3","\\doublecup");h(g,S,ae,"\u22A0","\\boxtimes",!0);h(g,S,k,"\u21E2","\\dashrightarrow",!0);h(g,S,k,"\u21E0","\\dashleftarrow",!0);h(g,S,k,"\u21C7","\\leftleftarrows",!0);h(g,S,k,"\u21C6","\\leftrightarrows",!0);h(g,S,k,"\u21DA","\\Lleftarrow",!0);h(g,S,k,"\u219E","\\twoheadleftarrow",!0);h(g,S,k,"\u21A2","\\leftarrowtail",!0);h(g,S,k,"\u21AB","\\looparrowleft",!0);h(g,S,k,"\u21CB","\\leftrightharpoons",!0);h(g,S,k,"\u21B6","\\curvearrowleft",!0);h(g,S,k,"\u21BA","\\circlearrowleft",!0);h(g,S,k,"\u21B0","\\Lsh",!0);h(g,S,k,"\u21C8","\\upuparrows",!0);h(g,S,k,"\u21BF","\\upharpoonleft",!0);h(g,S,k,"\u21C3","\\downharpoonleft",!0);h(g,b,k,"\u22B6","\\origof",!0);h(g,b,k,"\u22B7","\\imageof",!0);h(g,S,k,"\u22B8","\\multimap",!0);h(g,S,k,"\u21AD","\\leftrightsquigarrow",!0);h(g,S,k,"\u21C9","\\rightrightarrows",!0);h(g,S,k,"\u21C4","\\rightleftarrows",!0);h(g,S,k,"\u21A0","\\twoheadrightarrow",!0);h(g,S,k,"\u21A3","\\rightarrowtail",!0);h(g,S,k,"\u21AC","\\looparrowright",!0);h(g,S,k,"\u21B7","\\curvearrowright",!0);h(g,S,k,"\u21BB","\\circlearrowright",!0);h(g,S,k,"\u21B1","\\Rsh",!0);h(g,S,k,"\u21CA","\\downdownarrows",!0);h(g,S,k,"\u21BE","\\upharpoonright",!0);h(g,S,k,"\u21C2","\\downharpoonright",!0);h(g,S,k,"\u21DD","\\rightsquigarrow",!0);h(g,S,k,"\u21DD","\\leadsto");h(g,S,k,"\u21DB","\\Rrightarrow",!0);h(g,S,k,"\u21BE","\\restriction");h(g,b,P,"\u2018","`");h(g,b,P,"$","\\$");h($,b,P,"$","\\$");h($,b,P,"$","\\textdollar");h(g,b,P,"%","\\%");h($,b,P,"%","\\%");h(g,b,P,"_","\\_");h($,b,P,"_","\\_");h($,b,P,"_","\\textunderscore");h(g,b,P,"\u2220","\\angle",!0);h(g,b,P,"\u221E","\\infty",!0);h(g,b,P,"\u2032","\\prime");h(g,b,P,"\u25B3","\\triangle");h(g,b,P,"\u0393","\\Gamma",!0);h(g,b,P,"\u0394","\\Delta",!0);h(g,b,P,"\u0398","\\Theta",!0);h(g,b,P,"\u039B","\\Lambda",!0);h(g,b,P,"\u039E","\\Xi",!0);h(g,b,P,"\u03A0","\\Pi",!0);h(g,b,P,"\u03A3","\\Sigma",!0);h(g,b,P,"\u03A5","\\Upsilon",!0);h(g,b,P,"\u03A6","\\Phi",!0);h(g,b,P,"\u03A8","\\Psi",!0);h(g,b,P,"\u03A9","\\Omega",!0);h(g,b,P,"A","\u0391");h(g,b,P,"B","\u0392");h(g,b,P,"E","\u0395");h(g,b,P,"Z","\u0396");h(g,b,P,"H","\u0397");h(g,b,P,"I","\u0399");h(g,b,P,"K","\u039A");h(g,b,P,"M","\u039C");h(g,b,P,"N","\u039D");h(g,b,P,"O","\u039F");h(g,b,P,"P","\u03A1");h(g,b,P,"T","\u03A4");h(g,b,P,"X","\u03A7");h(g,b,P,"\xAC","\\neg",!0);h(g,b,P,"\xAC","\\lnot");h(g,b,P,"\u22A4","\\top");h(g,b,P,"\u22A5","\\bot");h(g,b,P,"\u2205","\\emptyset");h(g,S,P,"\u2205","\\varnothing");h(g,b,le,"\u03B1","\\alpha",!0);h(g,b,le,"\u03B2","\\beta",!0);h(g,b,le,"\u03B3","\\gamma",!0);h(g,b,le,"\u03B4","\\delta",!0);h(g,b,le,"\u03F5","\\epsilon",!0);h(g,b,le,"\u03B6","\\zeta",!0);h(g,b,le,"\u03B7","\\eta",!0);h(g,b,le,"\u03B8","\\theta",!0);h(g,b,le,"\u03B9","\\iota",!0);h(g,b,le,"\u03BA","\\kappa",!0);h(g,b,le,"\u03BB","\\lambda",!0);h(g,b,le,"\u03BC","\\mu",!0);h(g,b,le,"\u03BD","\\nu",!0);h(g,b,le,"\u03BE","\\xi",!0);h(g,b,le,"\u03BF","\\omicron",!0);h(g,b,le,"\u03C0","\\pi",!0);h(g,b,le,"\u03C1","\\rho",!0);h(g,b,le,"\u03C3","\\sigma",!0);h(g,b,le,"\u03C4","\\tau",!0);h(g,b,le,"\u03C5","\\upsilon",!0);h(g,b,le,"\u03D5","\\phi",!0);h(g,b,le,"\u03C7","\\chi",!0);h(g,b,le,"\u03C8","\\psi",!0);h(g,b,le,"\u03C9","\\omega",!0);h(g,b,le,"\u03B5","\\varepsilon",!0);h(g,b,le,"\u03D1","\\vartheta",!0);h(g,b,le,"\u03D6","\\varpi",!0);h(g,b,le,"\u03F1","\\varrho",!0);h(g,b,le,"\u03C2","\\varsigma",!0);h(g,b,le,"\u03C6","\\varphi",!0);h(g,b,ae,"\u2217","*",!0);h(g,b,ae,"+","+");h(g,b,ae,"\u2212","-",!0);h(g,b,ae,"\u22C5","\\cdot",!0);h(g,b,ae,"\u2218","\\circ",!0);h(g,b,ae,"\xF7","\\div",!0);h(g,b,ae,"\xB1","\\pm",!0);h(g,b,ae,"\xD7","\\times",!0);h(g,b,ae,"\u2229","\\cap",!0);h(g,b,ae,"\u222A","\\cup",!0);h(g,b,ae,"\u2216","\\setminus",!0);h(g,b,ae,"\u2227","\\land");h(g,b,ae,"\u2228","\\lor");h(g,b,ae,"\u2227","\\wedge",!0);h(g,b,ae,"\u2228","\\vee",!0);h(g,b,P,"\u221A","\\surd");h(g,b,kt,"\u27E8","\\langle",!0);h(g,b,kt,"\u2223","\\lvert");h(g,b,kt,"\u2225","\\lVert");h(g,b,bt,"?","?");h(g,b,bt,"!","!");h(g,b,bt,"\u27E9","\\rangle",!0);h(g,b,bt,"\u2223","\\rvert");h(g,b,bt,"\u2225","\\rVert");h(g,b,k,"=","=");h(g,b,k,":",":");h(g,b,k,"\u2248","\\approx",!0);h(g,b,k,"\u2245","\\cong",!0);h(g,b,k,"\u2265","\\ge");h(g,b,k,"\u2265","\\geq",!0);h(g,b,k,"\u2190","\\gets");h(g,b,k,">","\\gt",!0);h(g,b,k,"\u2208","\\in",!0);h(g,b,k,"\uE020","\\@not");h(g,b,k,"\u2282","\\subset",!0);h(g,b,k,"\u2283","\\supset",!0);h(g,b,k,"\u2286","\\subseteq",!0);h(g,b,k,"\u2287","\\supseteq",!0);h(g,S,k,"\u2288","\\nsubseteq",!0);h(g,S,k,"\u2289","\\nsupseteq",!0);h(g,b,k,"\u22A8","\\models");h(g,b,k,"\u2190","\\leftarrow",!0);h(g,b,k,"\u2264","\\le");h(g,b,k,"\u2264","\\leq",!0);h(g,b,k,"<","\\lt",!0);h(g,b,k,"\u2192","\\rightarrow",!0);h(g,b,k,"\u2192","\\to");h(g,S,k,"\u2271","\\ngeq",!0);h(g,S,k,"\u2270","\\nleq",!0);h(g,b,Ir,"\xA0","\\ ");h(g,b,Ir,"\xA0","\\space");h(g,b,Ir,"\xA0","\\nobreakspace");h($,b,Ir,"\xA0","\\ ");h($,b,Ir,"\xA0"," ");h($,b,Ir,"\xA0","\\space");h($,b,Ir,"\xA0","\\nobreakspace");h(g,b,Ir,"","\\nobreak");h(g,b,Ir,"","\\allowbreak");h(g,b,Ta,",",",");h(g,b,Ta,";",";");h(g,S,ae,"\u22BC","\\barwedge",!0);h(g,S,ae,"\u22BB","\\veebar",!0);h(g,b,ae,"\u2299","\\odot",!0);h(g,b,ae,"\u2295","\\oplus",!0);h(g,b,ae,"\u2297","\\otimes",!0);h(g,b,P,"\u2202","\\partial",!0);h(g,b,ae,"\u2298","\\oslash",!0);h(g,S,ae,"\u229A","\\circledcirc",!0);h(g,S,ae,"\u22A1","\\boxdot",!0);h(g,b,ae,"\u25B3","\\bigtriangleup");h(g,b,ae,"\u25BD","\\bigtriangledown");h(g,b,ae,"\u2020","\\dagger");h(g,b,ae,"\u22C4","\\diamond");h(g,b,ae,"\u22C6","\\star");h(g,b,ae,"\u25C3","\\triangleleft");h(g,b,ae,"\u25B9","\\triangleright");h(g,b,kt,"{","\\{");h($,b,P,"{","\\{");h($,b,P,"{","\\textbraceleft");h(g,b,bt,"}","\\}");h($,b,P,"}","\\}");h($,b,P,"}","\\textbraceright");h(g,b,kt,"{","\\lbrace");h(g,b,bt,"}","\\rbrace");h(g,b,kt,"[","\\lbrack",!0);h($,b,P,"[","\\lbrack",!0);h(g,b,bt,"]","\\rbrack",!0);h($,b,P,"]","\\rbrack",!0);h(g,b,kt,"(","\\lparen",!0);h(g,b,bt,")","\\rparen",!0);h($,b,P,"<","\\textless",!0);h($,b,P,">","\\textgreater",!0);h(g,b,kt,"\u230A","\\lfloor",!0);h(g,b,bt,"\u230B","\\rfloor",!0);h(g,b,kt,"\u2308","\\lceil",!0);h(g,b,bt,"\u2309","\\rceil",!0);h(g,b,P,"\\","\\backslash");h(g,b,P,"\u2223","|");h(g,b,P,"\u2223","\\vert");h($,b,P,"|","\\textbar",!0);h(g,b,P,"\u2225","\\|");h(g,b,P,"\u2225","\\Vert");h($,b,P,"\u2225","\\textbardbl");h($,b,P,"~","\\textasciitilde");h($,b,P,"\\","\\textbackslash");h($,b,P,"^","\\textasciicircum");h(g,b,k,"\u2191","\\uparrow",!0);h(g,b,k,"\u21D1","\\Uparrow",!0);h(g,b,k,"\u2193","\\downarrow",!0);h(g,b,k,"\u21D3","\\Downarrow",!0);h(g,b,k,"\u2195","\\updownarrow",!0);h(g,b,k,"\u21D5","\\Updownarrow",!0);h(g,b,Ye,"\u2210","\\coprod");h(g,b,Ye,"\u22C1","\\bigvee");h(g,b,Ye,"\u22C0","\\bigwedge");h(g,b,Ye,"\u2A04","\\biguplus");h(g,b,Ye,"\u22C2","\\bigcap");h(g,b,Ye,"\u22C3","\\bigcup");h(g,b,Ye,"\u222B","\\int");h(g,b,Ye,"\u222B","\\intop");h(g,b,Ye,"\u222C","\\iint");h(g,b,Ye,"\u222D","\\iiint");h(g,b,Ye,"\u220F","\\prod");h(g,b,Ye,"\u2211","\\sum");h(g,b,Ye,"\u2A02","\\bigotimes");h(g,b,Ye,"\u2A01","\\bigoplus");h(g,b,Ye,"\u2A00","\\bigodot");h(g,b,Ye,"\u222E","\\oint");h(g,b,Ye,"\u222F","\\oiint");h(g,b,Ye,"\u2230","\\oiiint");h(g,b,Ye,"\u2A06","\\bigsqcup");h(g,b,Ye,"\u222B","\\smallint");h($,b,ci,"\u2026","\\textellipsis");h(g,b,ci,"\u2026","\\mathellipsis");h($,b,ci,"\u2026","\\ldots",!0);h(g,b,ci,"\u2026","\\ldots",!0);h(g,b,ci,"\u22EF","\\@cdots",!0);h(g,b,ci,"\u22F1","\\ddots",!0);h(g,b,P,"\u22EE","\\varvdots");h($,b,P,"\u22EE","\\varvdots");h(g,b,_e,"\u02CA","\\acute");h(g,b,_e,"\u02CB","\\grave");h(g,b,_e,"\xA8","\\ddot");h(g,b,_e,"~","\\tilde");h(g,b,_e,"\u02C9","\\bar");h(g,b,_e,"\u02D8","\\breve");h(g,b,_e,"\u02C7","\\check");h(g,b,_e,"^","\\hat");h(g,b,_e,"\u20D7","\\vec");h(g,b,_e,"\u02D9","\\dot");h(g,b,_e,"\u02DA","\\mathring");h(g,b,le,"\uE131","\\@imath");h(g,b,le,"\uE237","\\@jmath");h(g,b,P,"\u0131","\u0131");h(g,b,P,"\u0237","\u0237");h($,b,P,"\u0131","\\i",!0);h($,b,P,"\u0237","\\j",!0);h($,b,P,"\xDF","\\ss",!0);h($,b,P,"\xE6","\\ae",!0);h($,b,P,"\u0153","\\oe",!0);h($,b,P,"\xF8","\\o",!0);h($,b,P,"\xC6","\\AE",!0);h($,b,P,"\u0152","\\OE",!0);h($,b,P,"\xD8","\\O",!0);h($,b,_e,"\u02CA","\\'");h($,b,_e,"\u02CB","\\`");h($,b,_e,"\u02C6","\\^");h($,b,_e,"\u02DC","\\~");h($,b,_e,"\u02C9","\\=");h($,b,_e,"\u02D8","\\u");h($,b,_e,"\u02D9","\\.");h($,b,_e,"\xB8","\\c");h($,b,_e,"\u02DA","\\r");h($,b,_e,"\u02C7","\\v");h($,b,_e,"\xA8",'\\"');h($,b,_e,"\u02DD","\\H");h($,b,_e,"\u25EF","\\textcircled");var Ig={"--":!0,"---":!0,"``":!0,"''":!0};h($,b,P,"\u2013","--",!0);h($,b,P,"\u2013","\\textendash");h($,b,P,"\u2014","---",!0);h($,b,P,"\u2014","\\textemdash");h($,b,P,"\u2018","`",!0);h($,b,P,"\u2018","\\textquoteleft");h($,b,P,"\u2019","'",!0);h($,b,P,"\u2019","\\textquoteright");h($,b,P,"\u201C","``",!0);h($,b,P,"\u201C","\\textquotedblleft");h($,b,P,"\u201D","''",!0);h($,b,P,"\u201D","\\textquotedblright");h(g,b,P,"\xB0","\\degree",!0);h($,b,P,"\xB0","\\degree");h($,b,P,"\xB0","\\textdegree",!0);h(g,b,P,"\xA3","\\pounds");h(g,b,P,"\xA3","\\mathsterling",!0);h($,b,P,"\xA3","\\pounds");h($,b,P,"\xA3","\\textsterling",!0);h(g,S,P,"\u2720","\\maltese");h($,S,P,"\u2720","\\maltese");var $1='0123456789/@."';for(oo=0;oo<$1.length;oo++)Z0=$1.charAt(oo),h(g,b,P,Z0,Z0);var Z0,oo,G1='0123456789!@*()-=+";:?/.,';for(uo=0;uo<G1.length;uo++)ec=G1.charAt(uo),h($,b,P,ec,ec);var ec,uo,xo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(lo=0;lo<xo.length;lo++)ha=xo.charAt(lo),h(g,b,le,ha,ha),h($,b,P,ha,ha);var ha,lo;h(g,S,P,"C","\u2102");h($,S,P,"C","\u2102");h(g,S,P,"H","\u210D");h($,S,P,"H","\u210D");h(g,S,P,"N","\u2115");h($,S,P,"N","\u2115");h(g,S,P,"P","\u2119");h($,S,P,"P","\u2119");h(g,S,P,"Q","\u211A");h($,S,P,"Q","\u211A");h(g,S,P,"R","\u211D");h($,S,P,"R","\u211D");h(g,S,P,"Z","\u2124");h($,S,P,"Z","\u2124");h(g,b,le,"h","\u210E");h($,b,le,"h","\u210E");var de;for(at=0;at<xo.length;at++)Le=xo.charAt(at),de=String.fromCharCode(55349,56320+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56372+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56424+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56580+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56684+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56736+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56788+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56840+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56944+at),h(g,b,le,Le,de),h($,b,P,Le,de),at<26&&(de=String.fromCharCode(55349,56632+at),h(g,b,le,Le,de),h($,b,P,Le,de),de=String.fromCharCode(55349,56476+at),h(g,b,le,Le,de),h($,b,P,Le,de));var Le,at;de="\u{1D55C}";h(g,b,le,"k",de);h($,b,P,"k",de);for(Qr=0;Qr<10;Qr++)Sr=Qr.toString(),de=String.fromCharCode(55349,57294+Qr),h(g,b,le,Sr,de),h($,b,P,Sr,de),de=String.fromCharCode(55349,57314+Qr),h(g,b,le,Sr,de),h($,b,P,Sr,de),de=String.fromCharCode(55349,57324+Qr),h(g,b,le,Sr,de),h($,b,P,Sr,de),de=String.fromCharCode(55349,57334+Qr),h(g,b,le,Sr,de),h($,b,P,Sr,de);var Sr,Qr,gc="\xD0\xDE\xFE";for(co=0;co<gc.length;co++)ma=gc.charAt(co),h(g,b,le,ma,ma),h($,b,P,ma,ma);var ma,co,bc={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},W1={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},K1={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},Hx={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},In={mathClass:"",textClass:"",font:""},Q1={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},X1={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},J1={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},yc={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Ec={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},Z1={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},xc={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},eg=[bc,bc,W1,W1,K1,K1,Hx,In,In,In,Q1,Q1,X1,X1,J1,J1,yc,yc,Ec,Ec,Z1,Z1,In,In,xc,xc],zx=[bc,In,yc,Ec,xc],jx=e=>{var t=e.charCodeAt(0),r=e.charCodeAt(1),n=(t-55296)*1024+(r-56320)+65536;if(119808<=n&&n<120484){var i=Math.floor((n-119808)/26);return eg[i]}else if(120782<=n&&n<=120831){var a=Math.floor((n-120782)/10);return zx[a]}else{if(n===120485||n===120486)return eg[0];if(120486<n&&n<120782)return In;throw new J("Unsupported character: "+e)}},Do=function(t,r,n){if(Ie[n][t]){var i=Ie[n][t].replace;i&&(t=i)}return{value:t,metrics:Oc(t,r,n)}},mt=function(t,r,n,i,a){var s=Do(t,r,n),o=s.metrics;t=s.value;var u;if(o){var l=o.italic;(n==="text"||i&&i.font==="mathit")&&(l=0),u=new gt(t,o.height,o.depth,l,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),u=new gt(t,0,0,0,0,0,a);if(i){u.maxFontSize=i.sizeMultiplier,i.style.isTight()&&u.classes.push("mtight");var c=i.getColor();c&&(u.style.color=c)}return u},Mc=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&Do(t,"Main-Bold",r).metrics?mt(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||Ie[r][t].font==="main"?mt(t,"Main-Regular",r,n,i):mt(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},Vx=function(t,r,n){return n!=="textord"&&Do(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},No=function(t,r,n){var i=t.mode,a=t.text,s=["mord"],{font:o,fontFamily:u,fontWeight:l,fontShape:c}=r,f=i==="math"||i==="text"&&!!o,m=f?o:u,p="",y="";if(a.charCodeAt(0)===55349){var E=jx(a);p=E.font,y=E[i+"Class"]}if(p)return mt(a,p,i,r,s.concat(y));if(m){var x,v;if(m==="boldsymbol"){var w=Vx(a,i,n);x=w.fontName,v=[w.fontClass]}else f?(x=Tc[o].fontName,v=[o]):(x=fo(u,l,c),v=[u,l,c]);if(Do(a,x,i).metrics)return mt(a,x,i,r,s.concat(v));if(Ig.hasOwnProperty(a)&&x.slice(0,10)==="Typewriter"){for(var N=[],B=0;B<a.length;B++)N.push(mt(a[B],x,i,r,s.concat(v)));return _r(N)}}if(n==="mathord")return mt(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var q=Ie[i][a]&&Ie[i][a].font;if(q==="ams"){var _=fo("amsrm",l,c);return mt(a,_,i,r,s.concat("amsrm",l,c))}else if(q==="main"||!q){var U=fo("textrm",l,c);return mt(a,U,i,r,s.concat(l,c))}else{var H=fo(q,l,c);return mt(a,H,i,r,s.concat(H,l,c))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Yx=(e,t)=>{if(Zr(e.classes)!==Zr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},_g=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof gt&&n instanceof gt&&Yx(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},Fc=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},G=function(t,r,n,i){var a=new en(t,r,n,i);return Fc(a),a},tn=(e,t,r,n)=>new en(e,t,r,n),ui=function(t,r,n){var i=G([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=Z(i.height),i.maxFontSize=1,i},$x=function(t,r,n,i){var a=new oi(t,r,n,i);return Fc(a),a},_r=function(t){var r=new Jr(t);return Fc(r),r},li=function(t,r){return t instanceof Jr?G([],[t],r):t},Gx=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 o=-r[s].shift-a-r[s].elem.depth,u=o-(r[s-1].elem.height+r[s-1].elem.depth);a=a+o,n.push({type:"kern",size:u}),n.push(r[s])}return{children:n,depth:i}}var l;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var m=t.children[f];c-=m.type==="kern"?m.size:m.elem.height+m.elem.depth}l=c}else if(t.positionType==="bottom")l=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},xe=function(t,r){for(var{children:n,depth:i}=Gx(t),a=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var u=o.elem;a=Math.max(a,u.maxFontSize,u.height)}}a+=2;var l=G(["pstrut"],[]);l.style.height=Z(a);for(var c=[],f=i,m=i,p=i,y=0;y<n.length;y++){var E=n[y];if(E.type==="kern")p+=E.size;else{var x=E.elem,v=E.wrapperClasses||[],w=E.wrapperStyle||{},N=G(v,[l,x],void 0,w);N.style.top=Z(-a-p-x.depth),E.marginLeft&&(N.style.marginLeft=E.marginLeft),E.marginRight&&(N.style.marginRight=E.marginRight),c.push(N),p+=x.height+x.depth}f=Math.min(f,p),m=Math.max(m,p)}var B=G(["vlist"],c);B.style.height=Z(m);var q;if(f<0){var _=G([],[]),U=G(["vlist"],[_]);U.style.height=Z(-f);var H=G(["vlist-s"],[new gt("\u200B")]);q=[G(["vlist-r"],[B,H]),G(["vlist-r"],[U])]}else q=[G(["vlist-r"],[B])];var F=G(["vlist-t"],q);return q.length===2&&F.classes.push("vlist-t2"),F.height=m,F.depth=-f,F},Lg=(e,t)=>{var r=G(["mspace"],[],t),n=Re(e,t);return r.style.marginRight=Z(n),r},fo=(e,t,r)=>{var n,i;switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return t==="textbf"&&r==="textit"?i="BoldItalic":t==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",n+"-"+i},Tc={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"}},Pg={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Rg=function(t,r){var[n,i,a]=Pg[t],s=new ur(n),o=new Qt([s],{width:Z(i),height:Z(a),style:"width:"+Z(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),u=tn(["overlay"],[o],r);return u.height=a,u.style.height=Z(a),u.style.width=Z(i),u},Pe={number:3,unit:"mu"},Nn={number:4,unit:"mu"},kr={number:5,unit:"mu"},Wx={mord:{mop:Pe,mbin:Nn,mrel:kr,minner:Pe},mop:{mord:Pe,mop:Pe,mrel:kr,minner:Pe},mbin:{mord:Nn,mop:Nn,mopen:Nn,minner:Nn},mrel:{mord:kr,mop:kr,mopen:kr,minner:kr},mopen:{},mclose:{mop:Pe,mbin:Nn,mrel:kr,minner:Pe},mpunct:{mord:Pe,mop:Pe,mrel:kr,mopen:Pe,mclose:Pe,mpunct:Pe,minner:Pe},minner:{mord:Pe,mop:Pe,mbin:Nn,mrel:kr,mopen:Pe,mpunct:Pe,minner:Pe}},Kx={mord:{mop:Pe},mop:{mord:Pe,mop:Pe},mbin:{},mrel:{},mopen:{},mclose:{mop:Pe},mpunct:{},minner:{mop:Pe}},Og={},To={},vo={};function ne(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={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)Og[r[u]]=o;t&&(a&&(To[t]=a),s&&(vo[t]=s))}function _n(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ne({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Co=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Ve=function(t){return t.type==="ordgroup"?t.body:[t]},Qx=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Xx=new Set(["rightmost","mrel","mclose","mpunct"]),Jx={display:pe.DISPLAY,text:pe.TEXT,script:pe.SCRIPT,scriptscript:pe.SCRIPTSCRIPT},Zx={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},We=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<t.length;s++){var o=Te(t[s],r);if(o instanceof Jr){var u=o.children;a.push(...u)}else a.push(o)}if(_g(a),!n)return a;var l=r;if(t.length===1){var c=t[0];c.type==="sizing"?l=r.havingSize(c.size):c.type==="styling"&&(l=r.havingStyle(Jx[c.style]))}var f=G([i[0]||"leftmost"],[],r),m=G([i[1]||"rightmost"],[],r),p=n==="root";return vc(a,(y,E)=>{var x=E.classes[0],v=y.classes[0];x==="mbin"&&Xx.has(v)?E.classes[0]="mord":v==="mbin"&&Qx.has(x)&&(y.classes[0]="mord")},{node:f},m,p),vc(a,(y,E)=>{var x,v,w=Ac(E),N=Ac(y),B=w&&N?y.hasClass("mtight")?(x=Kx[w])==null?void 0:x[N]:(v=Wx[w])==null?void 0:v[N]:null;if(B)return Lg(B,l)},{node:f},m,p),a},vc=function(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var o=t[s],u=Mg(o);if(u){vc(u.children,r,n,null,a);continue}var l=!o.hasClass("mspace");if(l){var c=r(o,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),s++))}l?n.node=o:a&&o.hasClass("newline")&&(n.node=G(["leftmost"])),n.insertAfter=(f=>m=>{t.splice(f+1,0,m),s++})(s)}i&&t.pop()},Mg=function(t){return t instanceof Jr||t instanceof oi||t instanceof en&&t.hasClass("enclosing")?t:null},Cc=function(t,r){var n=Mg(t);if(n){var i=n.children;if(i.length){if(r==="right")return Cc(i[i.length-1],"right");if(r==="left")return Cc(i[0],"left")}}return t},Ac=function(t,r){if(!t)return null;r&&(t=Cc(t,r));var n=t.classes[0];return Zx[n]||null},xa=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return G(r.concat(n))},Te=function(t,r,n){if(!t)return G();if(To[t.type]){var i=To[t.type](t,r);if(n&&r.size!==n.size){i=G(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new J("Got group of unknown type: '"+t.type+"'")};function ho(e,t){var r=G(["base"],e,t),n=G(["strut"]);return n.style.height=Z(r.height+r.depth),r.depth&&(n.style.verticalAlign=Z(-r.depth)),r.children.unshift(n),r}function wc(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=We(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var u=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(u=!0);u||(a.push(ho(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(ho(s,t)),s=[]),a.push(n[o]));s.length>0&&a.push(ho(s,t));var l;r?(l=ho(We(r,t,!0),t),l.classes=["tag"],a.push(l)):i&&a.push(i);var c=G(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=Z(c.height+c.depth),c.depth&&(f.style.verticalAlign=Z(-c.depth))}return c}function Fg(e){return new Jr(e)}var X=class{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=Zr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Me&&this.children[n+1]instanceof Me){for(var i=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Me;)i+=this.children[++n].toText();t.appendChild(new Me(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+=st(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+st(Zr(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("")}},Me=class{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return st(this.toText())}toText(){return this.text}},Ao=class{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="\u200A":t>=.1666&&t<=.1667?this.character="\u2009":t>=.2222&&t<=.2223?this.character="\u2005":t>=.2777&&t<=.2778?this.character="\u2005\u200A":t>=-.05556&&t<=-.05555?this.character="\u200A\u2063":t>=-.1667&&t<=-.1666?this.character="\u2009\u2063":t>=-.2223&&t<=-.2222?this.character="\u205F\u2063":t>=-.2778&&t<=-.2777?this.character="\u2005\u2063":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",Z(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Z(this.width)+'"/>'}toText(){return this.character?this.character:" "}},eT=new Set(["\\imath","\\jmath"]),tT=new Set(["mrow","mtable"]),Mt=function(t,r,n){return Ie[r][t]&&Ie[r][t].replace&&t.charCodeAt(0)!==55349&&!(Ig.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Ie[r][t].replace),new Me(t)},Bc=function(t){return t.length===1?t[0]:new X("mrow",t)},rT={mathit:"italic",boldsymbol:e=>e.type==="textord"?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},qc=(e,t)=>{if(e.mode==="text"){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold"}var r=t.font;if(!r||r==="mathnormal")return null;var n=e.mode,i=rT[r];if(i)return typeof i=="function"?i(e):i;var a=e.text;if(eT.has(a))return null;if(Ie[n][a]){var s=Ie[n][a].replace;s&&(a=s)}var o=Tc[r].fontName;return Oc(a,o,n)?Tc[r].variant:null};function tc(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Me&&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 Me&&r.text===","}else return!1}var Dt=function(t,r,n){if(t.length===1){var i=Se(t[0],r);return n&&i instanceof X&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,o=0;o<t.length;o++){var u=Se(t[o],r);if(u instanceof X&&s instanceof X){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(tc(u)&&s.type==="mn"){s.children.push(...u.children);continue}else if(u.type==="mn"&&tc(s))u.children=[...s.children,...u.children],a.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(s.type==="mn"||tc(s))){var l=u.children[0];l instanceof X&&l.type==="mn"&&(l.children=[...s.children,...l.children],a.pop())}else if(s.type==="mi"&&s.children.length===1){var c=s.children[0];if(c instanceof Me&&c.text==="\u0338"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var f=u.children[0];f instanceof Me&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),a.pop())}}}a.push(u),s=u}return a},rn=function(t,r,n){return Bc(Dt(t,r,n))},Se=function(t,r){if(!t)return new X("mrow");if(vo[t.type])return vo[t.type](t,r);throw new J("Got group of unknown type: '"+t.type+"'")};function tg(e,t,r,n,i){var a=Dt(e,r),s;a.length===1&&a[0]instanceof X&&tT.has(a[0].type)?s=a[0]:s=new X("mrow",a);var o=new X("annotation",[new Me(t)]);o.setAttribute("encoding","application/x-tex");var u=new X("semantics",[s,o]),l=new X("math",[u]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=i?"katex":"katex-mathml";return G([c],[l])}var nT=[[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]],rg=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ng=function(t,r){return r.size<2?t:nT[t-1][r.size-1]},wo=class e{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||e.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=rg[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};return Object.assign(r,t),new e(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:ng(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:rg[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=ng(e.BASESIZE,t);return this.size===r&&this.textSize===e.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!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Ux(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};wo.BASESIZE=6;var Bg=function(t){return new wo({style:t.displayMode?pe.DISPLAY:pe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},qg=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=G(n,[t])}return t},iT=function(t,r,n){var i=Bg(n),a;if(n.output==="mathml")return tg(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=wc(t,i);a=G(["katex"],[s])}else{var o=tg(t,r,i,n.displayMode,!1),u=wc(t,i);a=G(["katex"],[o,u])}return qg(a,n)},aT=function(t,r,n){var i=Bg(n),a=wc(t,i),s=G(["katex"],[a]);return qg(s,n)},sT={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",underbracket:"\u23B5",overbracket:"\u23B4",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Io=function(t){var r=new X("mo",[new Me(sT[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},oT={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},uT=new Set(["widehat","widecheck","widetilde","utilde"]),_o=function(t,r){function n(){var o=4e5,u=t.label.slice(1);if(uT.has(u)&&"base"in t){var l=t.base.type==="ordgroup"?t.base.body.length:1,c,f,m;if(l>5)u==="widehat"||u==="widecheck"?(c=420,o=2364,m=.42,f=u+"4"):(c=312,o=2340,m=.34,f="tilde4");else{var p=[1,1,2,2,3,3][l];u==="widehat"||u==="widecheck"?(o=[0,1062,2364,2364,2364][p],c=[0,239,300,360,420][p],m=[0,.24,.3,.3,.36,.42][p],f=u+p):(o=[0,600,1033,2339,2340][p],c=[0,260,286,306,312][p],m=[0,.26,.286,.3,.306,.34][p],f="tilde"+p)}var y=new ur(f),E=new Qt([y],{width:"100%",height:Z(m),viewBox:"0 0 "+o+" "+c,preserveAspectRatio:"none"});return{span:tn([],[E],r),minWidth:0,height:m}}else{var x=[],v=oT[u];if(!v)throw new Error('No SVG data for "'+u+'".');var[w,N,B]=v,q=B/1e3,_=w.length,U,H;if(_===1){if(v.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+u+'".');U=["hide-tail"],H=[v[3]]}else if(_===2)U=["halfarrow-left","halfarrow-right"],H=["xMinYMin","xMaxYMin"];else if(_===3)U=["brace-left","brace-center","brace-right"],H=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
410
|
+
`+_+" children.");for(var F=0;F<_;F++){var O=new ur(w[F]),ue=new Qt([O],{width:"400em",height:Z(q),viewBox:"0 0 "+o+" "+B,preserveAspectRatio:H[F]+" slice"}),ee=tn([U[F]],[ue],r);if(_===1)return{span:ee,minWidth:N,height:q};ee.style.height=Z(q),x.push(ee)}return{span:G(["stretchy"],x,r),minWidth:N,height:q}}}var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=Z(s),a>0&&(i.style.minWidth=Z(a)),i},lT=function(t,r,n,i,a){var s,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=G(["stretchy",r],[],a),r==="fbox"){var u=a.color&&a.getColor();u&&(s.style.borderColor=u)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new Ea({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new Ea({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Qt(l,{width:"100%",height:Z(o)});s=tn([],[c],a)}return s.height=o,s.style.height=Z(o),s},cT={bin:1,close:1,inner:1,open:1,punct:1,rel:1},fT={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function dT(e){return e in cT}function ge(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 Lo(e){var t=Po(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 Po(e){return e&&(e.type==="atom"||fT.hasOwnProperty(e.type))?e:null}var Ug=e=>{if(e instanceof gt)return e;if(Bx(e)&&e.children.length===1)return Ug(e.children[0])},Uc=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=ge(e.base,"accent"),r=n.base,e.base=r,i=Fx(Te(e,t)),e.base=n):(n=ge(e,"accent"),r=n.base);var a=Te(r,t.havingCrampedStyle()),s=n.isShifty&&Nr(r),o=0;if(s){var u,l;o=(u=(l=Ug(a))==null?void 0:l.skew)!=null?u:0}var c=n.label==="\\c",f=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),m;if(n.isStretchy)m=_o(n,t),m=xe({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:m,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+Z(2*o)+")",marginLeft:Z(2*o)}:void 0}]});else{var p,y;n.label==="\\vec"?(p=Rg("vec",t),y=Pg.vec[1]):(p=No({type:"textord",mode:n.mode,text:n.label},t,"textord"),p=Mx(p),p.italic=0,y=p.width,c&&(f+=p.depth)),m=G(["accent-body"],[p]);var E=n.label==="\\textcircled";E&&(m.classes.push("accent-full"),f=a.height);var x=o;E||(x-=y/2),m.style.left=Z(x),n.label==="\\textcircled"&&(m.style.top=".2em"),m=xe({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-f},{type:"elem",elem:m}]})}var v=G(["mord","accent"],[m],t);return i?(i.children[0]=v,i.height=Math.max(v.height,i.height),i.classes[0]="mord",i):v},Hg=(e,t)=>{var r=e.isStretchy?Io(e.label):new X("mo",[Mt(e.label,e.mode)]),n=new X("mover",[Se(e.base,t),r]);return n.setAttribute("accent","true"),n},hT=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ne({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=Co(t[0]),n=!hT.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:Uc,mathmlBuilder:Hg});ne({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:Uc,mathmlBuilder:Hg});ne({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=Te(e.base,t),n=_o(e,t),i=e.label==="\\utilde"?.12:0,a=xe({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]});return G(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=Io(e.label),n=new X("munder",[Se(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var mo=e=>{var t=new X("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ne({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=li(Te(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=li(Te(e.below,n,t),t),s.classes.push(a+"-arrow-pad"));var o=_o(e,t),u=-t.fontMetrics().axisHeight+.5*o.height,l=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(l-=i.depth);var c;if(s){var f=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;c=xe({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:o,shift:u,wrapperClasses:["svg-align"]},{type:"elem",elem:s,shift:f}]})}else c=xe({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:o,shift:u,wrapperClasses:["svg-align"]}]});return G(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=Io(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=mo(Se(e.body,t));if(e.below){var a=mo(Se(e.below,t));n=new X("munderover",[r,a,i])}else n=new X("mover",[r,i])}else if(e.below){var s=mo(Se(e.below,t));n=new X("munder",[r,s])}else n=mo(),n=new X("mover",[r,n]);return n}});function zg(e,t){var r=We(e.body,t,!0);return G([e.mclass],r,t)}function jg(e,t){var r,n=Dt(e.body,t);return e.mclass==="minner"?r=new X("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new X("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new X("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}ne({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:Ve(i),isCharacterBox:Nr(i)}},htmlBuilder:zg,mathmlBuilder:jg});var Ro=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"};ne({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Ro(t[0]),body:Ve(t[1]),isCharacterBox:Nr(t[1])}}});ne({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=Ro(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ve(i)},u={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:Nr(u)}},htmlBuilder:zg,mathmlBuilder:jg});ne({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Ro(t[0]),body:Ve(t[0])}},htmlBuilder(e,t){var r=We(e.body,t,!0),n=G([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Dt(e.body,t),n=new X("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var mT={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ig=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),ag=e=>e.type==="textord"&&e.text==="@",pT=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function gT(e,t,r){var n=mT[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],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[i,s,o]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function bT(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 J("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var s=t[a],o=ig(),u=0;u<s.length;u++)if(!ag(s[u]))o.body.push(s[u]);else{n.push(o),u+=1;var l=Lo(s[u]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(l))if("<>AV".includes(l))for(var f=0;f<2;f++){for(var m=!0,p=u+1;p<s.length;p++){if(pT(s[p],l)){m=!1,u=p;break}if(ag(s[p]))throw new J("Missing a "+l+" character to complete a CD arrow.",s[p]);c[f].body.push(s[p])}if(m)throw new J("Missing a "+l+" character to complete a CD arrow.",s[u])}else throw new J('Expected one of "<>AV=|." after @',s[u]);var y=gT(l,c,e),E={type:"styling",body:[y],mode:"math",style:"display",resetFont:!0};n.push(E),o=ig()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var x=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:x,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}ne({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=li(Te(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=Z(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new X("mrow",[Se(e.label,t)]);return r=new X("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new X("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ne({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=li(Te(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new X("mrow",[Se(e.fragment,t)])}});ne({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=ge(t[0],"ordgroup"),i=n.body,a="",s=0;s<i.length;s++){var o=ge(i[s],"textord");a+=o.text}var u=parseInt(a),l;if(isNaN(u))throw new J("\\@char has non-numeric argument "+a);if(u<0||u>=1114111)throw new J("\\@char with invalid code point "+a);return u<=65535?l=String.fromCharCode(u):(u-=65536,l=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var Vg=(e,t)=>{var r=We(e.body,t.withColor(e.color),!1);return _r(r)},Yg=(e,t)=>{var r=Dt(e.body,t.withColor(e.color)),n=new X("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ne({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=ge(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:Ve(i)}},htmlBuilder:Vg,mathmlBuilder:Yg});ne({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=ge(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:Vg,mathmlBuilder:Yg});ne({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&&ge(i,"size").value}},htmlBuilder(e,t){var r=G(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Z(Re(e.size,t)))),r},mathmlBuilder(e,t){var r=new X("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Z(Re(e.size,t)))),r}});var Sc={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},$g=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new J("Expected a control sequence",e);return t},yT=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Gg=(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)};ne({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(Sc[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=Sc[n.text]),ge(t.parseFunction(),"internal");throw new J("Invalid token after macro prefix",n)}});ne({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 J("Expected a control sequence",n);for(var a=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new J('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new J('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new J("Expected a macro definition");o[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:o},r===Sc[r]),{type:"internal",mode:t.mode}}});ne({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=$g(t.gullet.popToken());t.gullet.consumeSpaces();var i=yT(t);return Gg(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ne({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=$g(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Gg(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var pa=function(t,r,n){var i=Ie.math[t]&&Ie.math[t].replace,a=Oc(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},Hc=function(t,r,n,i){var a=n.havingBaseStyle(r),s=G(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=a.sizeMultiplier,s},Wg=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=Z(a),t.height-=a,t.depth+=a},ET=function(t,r,n,i,a,s){var o=mt(t,"Main-Regular",a,i),u=Hc(o,r,i,s);return n&&Wg(u,i,r),u},xT=function(t,r,n,i){return mt(t,"Size"+r+"-Regular",n,i)},Kg=function(t,r,n,i,a,s){var o=xT(t,r,a,i),u=Hc(G(["delimsizing","size"+r],[o],i),pe.TEXT,i,s);return n&&Wg(u,i,pe.TEXT),u},rc=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=G(["delimsizinginner",i],[G([],[mt(t,r,n)])]);return{type:"elem",elem:a}},nc=function(t,r,n){var i=or["Size4-Regular"][t.charCodeAt(0)]?or["Size4-Regular"][t.charCodeAt(0)][4]:or["Size1-Regular"][t.charCodeAt(0)][4],a=new ur("inner",Ix(t,Math.round(1e3*r))),s=new Qt([a],{width:Z(i),height:Z(r),style:"width:"+Z(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=tn([],[s],n);return o.height=r,o.style.height=Z(r),o.style.width=Z(i),{type:"elem",elem:o}},kc=.008,po={type:"kern",size:-1*kc},TT=new Set(["|","\\lvert","\\rvert","\\vert"]),vT=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Qg=function(t,r,n,i,a,s){var o,u,l,c,f="",m=0;o=l=c=t,u=null;var p="Size1-Regular";t==="\\uparrow"?l=c="\u23D0":t==="\\Uparrow"?l=c="\u2016":t==="\\downarrow"?o=l="\u23D0":t==="\\Downarrow"?o=l="\u2016":t==="\\updownarrow"?(o="\\uparrow",l="\u23D0",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",l="\u2016",c="\\Downarrow"):TT.has(t)?(l="\u2223",f="vert",m=333):vT.has(t)?(l="\u2225",f="doublevert",m=556):t==="["||t==="\\lbrack"?(o="\u23A1",l="\u23A2",c="\u23A3",p="Size4-Regular",f="lbrack",m=667):t==="]"||t==="\\rbrack"?(o="\u23A4",l="\u23A5",c="\u23A6",p="Size4-Regular",f="rbrack",m=667):t==="\\lfloor"||t==="\u230A"?(l=o="\u23A2",c="\u23A3",p="Size4-Regular",f="lfloor",m=667):t==="\\lceil"||t==="\u2308"?(o="\u23A1",l=c="\u23A2",p="Size4-Regular",f="lceil",m=667):t==="\\rfloor"||t==="\u230B"?(l=o="\u23A5",c="\u23A6",p="Size4-Regular",f="rfloor",m=667):t==="\\rceil"||t==="\u2309"?(o="\u23A4",l=c="\u23A5",p="Size4-Regular",f="rceil",m=667):t==="("||t==="\\lparen"?(o="\u239B",l="\u239C",c="\u239D",p="Size4-Regular",f="lparen",m=875):t===")"||t==="\\rparen"?(o="\u239E",l="\u239F",c="\u23A0",p="Size4-Regular",f="rparen",m=875):t==="\\{"||t==="\\lbrace"?(o="\u23A7",u="\u23A8",c="\u23A9",l="\u23AA",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="\u23AB",u="\u23AC",c="\u23AD",l="\u23AA",p="Size4-Regular"):t==="\\lgroup"||t==="\u27EE"?(o="\u23A7",c="\u23A9",l="\u23AA",p="Size4-Regular"):t==="\\rgroup"||t==="\u27EF"?(o="\u23AB",c="\u23AD",l="\u23AA",p="Size4-Regular"):t==="\\lmoustache"||t==="\u23B0"?(o="\u23A7",c="\u23AD",l="\u23AA",p="Size4-Regular"):(t==="\\rmoustache"||t==="\u23B1")&&(o="\u23AB",c="\u23A9",l="\u23AA",p="Size4-Regular");var y=pa(o,p,a),E=y.height+y.depth,x=pa(l,p,a),v=x.height+x.depth,w=pa(c,p,a),N=w.height+w.depth,B=0,q=1;if(u!==null){var _=pa(u,p,a);B=_.height+_.depth,q=2}var U=E+N+B,H=Math.max(0,Math.ceil((r-U)/(q*v))),F=U+H*q*v,O=i.fontMetrics().axisHeight;n&&(O*=i.sizeMultiplier);var ue=F/2-O,ee=[];if(f.length>0){var W=F-E-N,se=Math.round(F*1e3),R=_x(f,Math.round(W*1e3)),ce=new ur(f,R),ke=Z(m/1e3),Xe=Z(se/1e3),Et=new Qt([ce],{width:ke,height:Xe,viewBox:"0 0 "+m+" "+se}),I=tn([],[Et],i);I.height=se/1e3,I.style.width=ke,I.style.height=Xe,ee.push({type:"elem",elem:I})}else{if(ee.push(rc(c,p,a)),ee.push(po),u===null){var qe=F-E-N+2*kc;ee.push(nc(l,qe,i))}else{var ft=(F-E-N-B)/2+2*kc;ee.push(nc(l,ft,i)),ee.push(po),ee.push(rc(u,p,a)),ee.push(po),ee.push(nc(l,ft,i))}ee.push(po),ee.push(rc(o,p,a))}var L=i.havingBaseStyle(pe.TEXT),Je=xe({positionType:"bottom",positionData:ue,children:ee});return Hc(G(["delimsizing","mult"],[Je],L),pe.TEXT,i,s)},ic=80,ac=.08,sc=function(t,r,n,i,a){var s=Nx(t,i,n),o=new ur(t,s),u=new Qt([o],{width:"400em",height:Z(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return tn(["hide-tail"],[u],a)},CT=function(t,r){var n=r.havingBaseSizing(),i=t2("\\surd",t*n.sizeMultiplier,e2,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,u,l,c,f;return i.type==="small"?(c=1e3+1e3*s+ic,t<1?a=1:t<1.4&&(a=.7),u=(1+s+ac)/a,l=(1+s)/a,o=sc("sqrtMain",u,c,s,r),o.style.minWidth="0.853em",f=.833/a):i.type==="large"?(c=(1e3+ic)*ga[i.size],l=(ga[i.size]+s)/a,u=(ga[i.size]+s+ac)/a,o=sc("sqrtSize"+i.size,u,c,s,r),o.style.minWidth="1.02em",f=1/a):(u=t+s+ac,l=t+s,c=Math.floor(1e3*t+s)+ic,o=sc("sqrtTall",u,c,s,r),o.style.minWidth="0.742em",f=1.056),o.height=l,o.style.height=Z(u),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},Xg=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),AT=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),Jg=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ga=[0,1.2,1.8,2.4,3],Zg=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),Xg.has(t)||Jg.has(t))return Kg(t,r,!1,n,i,a);if(AT.has(t))return Qg(t,ga[r],!1,n,i,a);throw new J("Illegal delimiter: '"+t+"'")},wT=[{type:"small",style:pe.SCRIPTSCRIPT},{type:"small",style:pe.SCRIPT},{type:"small",style:pe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ST=[{type:"small",style:pe.SCRIPTSCRIPT},{type:"small",style:pe.SCRIPT},{type:"small",style:pe.TEXT},{type:"stack"}],e2=[{type:"small",style:pe.SCRIPTSCRIPT},{type:"small",style:pe.SCRIPT},{type:"small",style:pe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],kT=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";var r=t.type;throw new Error("Add support for delim type '"+r+"' here.")},t2=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;s<n.length;s++){var o=n[s];if(o.type==="stack")break;var u=pa(t,kT(o),"math"),l=u.height+u.depth;if(o.type==="small"){var c=i.havingBaseStyle(o.style);l*=c.sizeMultiplier}if(l>r)return o}return n[n.length-1]},Dc=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var o;Jg.has(t)?o=wT:Xg.has(t)?o=e2:o=ST;var u=t2(t,r,o,i);return u.type==="small"?ET(t,u.style,n,i,a,s):u.type==="large"?Kg(t,u.size,n,i,a,s):Qg(t,r,n,i,a,s)},oc=function(t,r,n,i,a,s){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,u=901,l=5/i.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),f=Math.max(c/500*u,2*c-l);return Dc(t,f,!0,i,a,s)},sg={"\\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}},DT=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function og(e){return"isMiddle"in e}function Oo(e,t){var r=Po(e);if(r&&DT.has(r.text))return r;throw r?new J("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new J("Invalid delimiter type '"+e.type+"'",e)}ne({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=Oo(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:sg[e.funcName].size,mclass:sg[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?G([e.mclass]):Zg(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Mt(e.delim,e.mode));var r=new X("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Z(ga[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function ug(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ne({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 J("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Oo(t[0],e).text,color:r}}});ne({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Oo(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=ge(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{ug(e);for(var r=We(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s<r.length;s++){var o=r[s];og(o)?a=!0:(n=Math.max(r[s].height,n),i=Math.max(r[s].depth,i))}n*=t.sizeMultiplier,i*=t.sizeMultiplier;var u;if(e.left==="."?u=xa(t,["mopen"]):u=oc(e.left,n,i,t,e.mode,["mopen"]),r.unshift(u),a)for(var l=1;l<r.length;l++){var c=r[l];if(og(c)){var f=c.isMiddle;r[l]=oc(f.delim,n,i,f.options,e.mode,[])}}var m;if(e.right===".")m=xa(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;m=oc(e.right,n,i,p,e.mode,["mclose"])}return r.push(m),G(["minner"],r,t)},mathmlBuilder:(e,t)=>{ug(e);var r=Dt(e.body,t);if(e.left!=="."){var n=new X("mo",[Mt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new X("mo",[Mt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return Bc(r)}});ne({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Oo(t[0],e);if(!e.parser.leftrightDepth)throw new J("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;return e.delim==="."?r=xa(t,[]):(r=Zg(e.delim,1,t,e.mode,[]),r.isMiddle={delim:e.delim,options:t}),r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Mt("|","text"):Mt(e.delim,e.mode),n=new X("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Mo=(e,t)=>{var r=li(Te(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s,o=Nr(e.body);if(n==="sout")a=G(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var u=Re({number:.6,unit:"pt"},t),l=Re({number:.35,unit:"ex"},t),c=t.havingBaseSizing();i=i/c.sizeMultiplier;var f=r.height+r.depth+u+l;r.style.paddingLeft=Z(f/2+u);var m=Math.floor(1e3*f*i),p=kx(m),y=new Qt([new ur("phase",p)],{width:"400em",height:Z(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});a=tn(["hide-tail"],[y],t),a.style.height=Z(f),s=r.depth+u+l}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var E,x,v=0;/box/.test(n)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),E=t.fontMetrics().fboxsep+(n==="colorbox"?0:v),x=E):n==="angl"?(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),E=4*v,x=Math.max(0,.25-r.depth)):(E=o?.2:0,x=E),a=lT(r,n,E,x,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=Z(v)):n==="angl"&&v!==.049&&(a.style.borderTopWidth=Z(v),a.style.borderRightWidth=Z(v)),s=r.depth+x,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var w;if(e.backgroundColor)w=xe({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]});else{var N=/cancel|phase/.test(n)?["svg-align"]:[];w=xe({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:N}]})}return/cancel/.test(n)&&(w.height=r.height,w.depth=r.depth),/cancel/.test(n)&&!o?G(["mord","cancel-lap"],[w],t):G(["mord"],[w],t)},Fo=(e,t)=>{var r,n=new X(e.label.includes("colorbox")?"mpadded":"menclose",[Se(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: "+Z(i)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ne({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ge(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:Mo,mathmlBuilder:Fo});ne({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ge(t[0],"color-token").color,s=ge(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:o}},htmlBuilder:Mo,mathmlBuilder:Fo});ne({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]}}});ne({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\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:Mo,mathmlBuilder:Fo});ne({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;r.mode==="math"&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:Mo,mathmlBuilder:Fo});ne({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 r2={};function lr(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},u=0;u<r.length;++u)r2[r[u]]=o;a&&(To[t]=a),s&&(vo[t]=s)}var n2={};function T(e,t){n2[e]=t}var Tt=class e{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 e(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}},St=class e{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 e(r,Tt.range(this,t))}};function lg(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 Bo=e=>{var t=e.parser.settings;if(!t.displayMode)throw new J("{"+e.envName+"} can be used only in display mode.")},NT=new Set(["gather","gather*"]);function zc(e){if(!e.includes("ed"))return!e.includes("*")}function nn(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:u,singleRow:l,emptySingleRow:c,maxNumCols:f,leqno:m}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)s=1;else if(s=parseFloat(p),!s||s<0)throw new J("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var y=[],E=[y],x=[],v=[],w=u!=null?[]:void 0;function N(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function B(){w&&(e.gullet.macros.get("\\df@tag")?(w.push(e.subparse([new St("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):w.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(N(),v.push(lg(e));;){var q=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var _={type:"ordgroup",mode:e.mode,body:q};r&&(_={type:"styling",mode:e.mode,style:r,resetFont:!0,body:[_]}),y.push(_);var U=e.fetch().text;if(U==="&"){if(f&&y.length===f){if(l||o)throw new J("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(U==="\\end"){B(),y.length===1&&_.type==="styling"&&_.body.length===1&&_.body[0].type==="ordgroup"&&_.body[0].body.length===0&&(E.length>1||!c)&&E.pop(),v.length<E.length+1&&v.push([]);break}else if(U==="\\\\"){e.consume();var H=void 0;e.gullet.future().text!==" "&&(H=e.parseSizeGroup(!0)),x.push(H?H.value:null),B(),v.push(lg(e)),y=[],E.push(y),N()}else throw new J("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:E,cols:a,rowGaps:x,hskipBeforeAndAfter:n,hLinesBeforeRow:v,colSeparationType:o,tags:w,leqno:m}}function jc(e){return e.slice(0,1)==="d"?"display":"text"}var cr=function(t,r){var n,i,a=t.body.length,s=t.hLinesBeforeRow,o=0,u=new Array(a),l=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,m=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(pe.SCRIPT).sizeMultiplier;m=.2778*(p/r.sizeMultiplier)}var y=t.colSeparationType==="CD"?Re({number:3,unit:"ex"},r):12*f,E=3*f,x=t.arraystretch*y,v=.7*x,w=.3*x,N=0;function B(fe){for(var be=0;be<fe.length;++be)be>0&&(N+=.25),l.push({pos:N,isDashed:fe[be]})}for(B(s[0]),n=0;n<t.body.length;++n){var q=t.body[n],_=v,U=w;o<q.length&&(o=q.length);var H={cells:new Array(q.length),height:0,depth:0,pos:0};for(i=0;i<q.length;++i){var F=Te(q[i],r);U<F.depth&&(U=F.depth),_<F.height&&(_=F.height),H.cells[i]=F}var O=t.rowGaps[n],ue=0;O&&(ue=Re(O,r),ue>0&&(ue+=w,U<ue&&(U=ue),ue=0)),t.addJot&&n<t.body.length-1&&(U+=E),H.height=_,H.depth=U,N+=_,H.pos=N,N+=U+ue,u[n]=H,B(s[n+1])}var ee=N/2+r.fontMetrics().axisHeight,W=t.cols||[],se=[],R,ce,ke=[];if(t.tags&&t.tags.some(fe=>fe))for(n=0;n<a;++n){var Xe=u[n],Et=Xe.pos-ee,I=t.tags[n],qe=void 0;I===!0?qe=G(["eqn-num"],[],r):I===!1?qe=G([],[],r):qe=G([],We(I,r,!0),r),qe.depth=Xe.depth,qe.height=Xe.height,ke.push({type:"elem",elem:qe,shift:Et})}for(i=0,ce=0;i<o||ce<W.length;++i,++ce){for(var ft,L=W[ce],Je=!0;((Zt=L)==null?void 0:Zt.type)==="separator";){var Zt;if(Je||(R=G(["arraycolsep"],[]),R.style.width=Z(r.fontMetrics().doubleRuleSep),se.push(R)),L.separator==="|"||L.separator===":"){var qi=L.separator==="|"?"solid":"dashed",Ht=G(["vertical-separator"],[],r);Ht.style.height=Z(N),Ht.style.borderRightWidth=Z(c),Ht.style.borderRightStyle=qi,Ht.style.margin="0 "+Z(-c/2);var ze=N-ee;ze&&(Ht.style.verticalAlign=Z(-ze)),se.push(Ht)}else throw new J("Invalid separator type: "+L.separator);ce++,L=W[ce],Je=!1}if(!(i>=o)){var It=void 0;if(i>0||t.hskipBeforeAndAfter){var _t,er;It=(_t=(er=L)==null?void 0:er.pregap)!=null?_t:m,It!==0&&(R=G(["arraycolsep"],[]),R.style.width=Z(It),se.push(R))}var br=[];for(n=0;n<a;++n){var zr=u[n],Wn=zr.cells[i];if(Wn){var gs=zr.pos-ee;Wn.depth=zr.depth,Wn.height=zr.height,br.push({type:"elem",elem:Wn,shift:gs})}}var bs=xe({positionType:"individualShift",children:br}),ys=G(["col-align-"+(((ft=L)==null?void 0:ft.align)||"c")],[bs]);if(se.push(ys),i<o-1||t.hskipBeforeAndAfter){var Es,Ui;It=(Es=(Ui=L)==null?void 0:Ui.postgap)!=null?Es:m,It!==0&&(R=G(["arraycolsep"],[]),R.style.width=Z(It),se.push(R))}}}var xn=G(["mtable"],se);if(l.length>0){for(var Kl=ui("hline",r,c),Ql=ui("hdashline",r,c),Hi=[{type:"elem",elem:xn,shift:0}];l.length>0;){var xs=l.pop(),Ts=xs.pos-ee;xs.isDashed?Hi.push({type:"elem",elem:Ql,shift:Ts}):Hi.push({type:"elem",elem:Kl,shift:Ts})}xn=xe({positionType:"individualShift",children:Hi})}if(ke.length===0)return G(["mord"],[xn],r);var j=xe({positionType:"individualShift",children:ke}),te=G(["tag"],[j],r);return _r([xn,te])},IT={c:"center ",l:"left ",r:"right "},fr=function(t,r){for(var n=[],i=new X("mtd",[],["mtr-glue"]),a=new X("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],u=[],l=0;l<o.length;l++)u.push(new X("mtd",[Se(o[l],r)]));t.tags&&t.tags[s]&&(u.unshift(i),u.push(i),t.leqno?u.unshift(a):u.push(a)),n.push(new X("mtr",u))}var c=new X("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",Z(f));var m="",p="";if(t.cols&&t.cols.length>0){var y=t.cols,E="",x=!1,v=0,w=y.length;y[0].type==="separator"&&(m+="top ",v=1),y[y.length-1].type==="separator"&&(m+="bottom ",w-=1);for(var N=v;N<w;N++){var B=y[N];B.type==="align"?(p+=IT[B.align],x&&(E+="none "),x=!0):B.type==="separator"&&x&&(E+=B.separator==="|"?"solid ":"dashed ",x=!1)}c.setAttribute("columnalign",p.trim()),/[sd]/.test(E)&&c.setAttribute("columnlines",E.trim())}if(t.colSeparationType==="align"){for(var q=t.cols||[],_="",U=1;U<q.length;U++)_+=U%2?"0em ":"1em ";c.setAttribute("columnspacing",_.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var H="",F=t.hLinesBeforeRow;m+=F[0].length>0?"left ":"",m+=F[F.length-1].length>0?"right ":"";for(var O=1;O<F.length-1;O++)H+=F[O].length===0?"none ":F[O][0]?"dashed ":"solid ";return/[sd]/.test(H)&&c.setAttribute("rowlines",H.trim()),m!==""&&(c=new X("menclose",[c]),c.setAttribute("notation",m.trim())),t.arraystretch&&t.arraystretch<1&&(c=new X("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},i2=function(t,r){t.envName.includes("ed")||Bo(t);var n=[],i=t.envName.includes("at")?"alignat":"align",a=t.envName==="split",s=nn(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:zc(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o=0,u=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",f=0;f<r[0].body.length;f++){var m=ge(r[0].body[f],"textord");c+=m.text}o=Number(c),u=o*2}var p=!u;s.body.forEach(function(v){for(var w=1;w<v.length;w+=2){var N=ge(v[w],"styling"),B=ge(N.body[0],"ordgroup");B.body.unshift(l)}if(p)u<v.length&&(u=v.length);else{var q=v.length/2;if(o<q)throw new J("Too many math in a row: "+("expected "+o+", but got "+q),v[0])}});for(var y=0;y<u;++y){var E="r",x=0;y%2===1?E="l":y>0&&p&&(x=1),n[y]={type:"align",align:E,pregap:x,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};lr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=Po(t[0]),n=r?[t[0]]:ge(t[0],"ordgroup").body,i=n.map(function(s){var o=Lo(s),u=o.text;if("lcr".includes(u))return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new J("Unknown column alignment: "+u,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return nn(e.parser,a,jc(e.envName))},htmlBuilder:cr,mathmlBuilder:fr});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".includes(r))throw new J("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=nn(e.parser,n,jc(e.envName)),s=Math.max(0,...a.body.map(o=>o.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:cr,mathmlBuilder:fr});lr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=nn(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=Po(t[0]),n=r?[t[0]]:ge(t[0],"ordgroup").body,i=n.map(function(o){var u=Lo(o),l=u.text;if("lc".includes(l))return{type:"align",align:l};throw new J("Unknown column alignment: "+l,o)});if(i.length>1)throw new J("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5},s=nn(e.parser,a,"script");if(s.body.length>0&&s.body[0].length>1)throw new J("{subarray} can contain only one column");return s},htmlBuilder:cr,mathmlBuilder:fr});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=nn(e.parser,t,jc(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:i2,htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){NT.has(e.envName)&&Bo(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:zc(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return nn(e.parser,t,"display")},htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:i2,htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Bo(e);var t={autoTag:zc(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return nn(e.parser,t,"display")},htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Bo(e),bT(e.parser)},htmlBuilder:cr,mathmlBuilder:fr});T("\\nonumber","\\gdef\\@eqnsw{0}");T("\\notag","\\nonumber");ne({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new J(e.funcName+" valid only within array environment")}});var cg=r2;ne({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 J("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=ge(i.body[s],"textord").text;if(n==="\\begin"){if(!cg.hasOwnProperty(a))throw new J("No such environment: "+a,i);var o=cg[a],{args:u,optArgs:l}=r.parseArguments("\\begin{"+a+"}",o),c={mode:r.mode,envName:a,parser:r},f=o.handler(c,u,l);r.expect("\\end",!1);var m=r.nextToken,p=ge(r.parseFunction(),"environment");if(p.name!==a)throw new J("Mismatch: \\begin{"+a+"} matched by \\end{"+p.name+"}",m);return f}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var a2=(e,t)=>{var r=e.font,n=t.withFont(r);return Te(e.body,n)},s2=(e,t)=>{var r=e.font,n=t.withFont(r);return Se(e.body,n)},fg={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};ne({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=Co(t[0]),a=n;return a in fg&&(a=fg[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:a2,mathmlBuilder:s2});ne({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:Ro(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Nr(n)}}});ne({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);return{type:"font",mode:a,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:a2,mathmlBuilder:s2});var _T=(e,t)=>{var r=t.style,n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var s=Te(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<u?u:s.depth}a=t.havingStyle(i);var l=Te(e.denom,a,t),c,f,m;e.hasBarLine?(e.barSize?(f=Re(e.barSize,t),c=ui("frac-line",t,f)):c=ui("frac-line",t),f=c.height,m=c.height):(c=null,f=0,m=t.fontMetrics().defaultRuleThickness);var p,y,E;r.size===pe.DISPLAY.size?(p=t.fontMetrics().num1,f>0?y=3*m:y=7*m,E=t.fontMetrics().denom1):(f>0?(p=t.fontMetrics().num2,y=m):(p=t.fontMetrics().num3,y=3*m),E=t.fontMetrics().denom2);var x;if(c){var w=t.fontMetrics().axisHeight;p-s.depth-(w+.5*f)<y&&(p+=y-(p-s.depth-(w+.5*f))),w-.5*f-(l.height-E)<y&&(E+=y-(w-.5*f-(l.height-E)));var N=-(w-.5*f);x=xe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:E},{type:"elem",elem:c,shift:N},{type:"elem",elem:s,shift:-p}]})}else{var v=p-s.depth-(l.height-E);v<y&&(p+=.5*(y-v),E+=.5*(y-v)),x=xe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:E},{type:"elem",elem:s,shift:-p}]})}a=t.havingStyle(r),x.height*=a.sizeMultiplier/t.sizeMultiplier,x.depth*=a.sizeMultiplier/t.sizeMultiplier;var B;r.size===pe.DISPLAY.size?B=t.fontMetrics().delim1:r.size===pe.SCRIPTSCRIPT.size?B=t.havingStyle(pe.SCRIPT).fontMetrics().delim2:B=t.fontMetrics().delim2;var q,_;return e.leftDelim==null?q=xa(t,["mopen"]):q=Dc(e.leftDelim,B,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?_=G([]):e.rightDelim==null?_=xa(t,["mclose"]):_=Dc(e.rightDelim,B,!0,t.havingStyle(r),e.mode,["mclose"]),G(["mord"].concat(a.sizingClasses(t)),[q,G(["mfrac"],[x]),_],t)},LT=(e,t)=>{var r=new X("mfrac",[Se(e.numer,t),Se(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Re(e.barSize,t);r.setAttribute("linethickness",Z(n))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new X("mo",[new Me(e.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),i.push(a)}if(i.push(r),e.rightDelim!=null){var s=new X("mo",[new Me(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),i.push(s)}return Bc(i)}return r},o2=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};ne({type:"genfrac",names:["\\cfrac","\\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,o=null,u=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",u=")";break;case"\\\\bracefrac":s=!1,o="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,o="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}var l=n==="\\cfrac",c=null;return l||n.startsWith("\\d")?c="display":n.startsWith("\\t")&&(c="text"),o2({type:"genfrac",mode:r.mode,numer:i,denom:a,continued:l,hasBarLine:s,leftDelim:o,rightDelim:u,barSize:null},c)},htmlBuilder:_T,mathmlBuilder:LT});ne({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 dg=["display","text","script","scriptscript"],hg=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ne({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=Co(t[0]),s=a.type==="atom"&&a.family==="open"?hg(a.text):null,o=Co(t[1]),u=o.type==="atom"&&o.family==="close"?hg(o.text):null,l=ge(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var m=null,p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var y=ge(p.body[0],"textord");m=dg[Number(y.text)]}}else p=ge(p,"textord"),m=dg[Number(p.text)];return o2({type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:c,barSize:f,leftDelim:s,rightDelim:u},m)}});ne({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:ge(t[0],"size").value,token:i}}});ne({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=ge(t[1],"infix").size;if(!a)throw new Error("\\\\abovefrac expected size, but got "+String(a));var s=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null}}});var u2=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?Te(e.sup,t.havingStyle(r.sup()),t):Te(e.sub,t.havingStyle(r.sub()),t),i=ge(e.base,"horizBrace")):i=ge(e,"horizBrace");var a=Te(i.base,t.havingBaseStyle(pe.DISPLAY)),s=_o(i,t),o;if(i.isOver?o=xe({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s,wrapperClasses:["svg-align"]}]}):o=xe({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:a}]}),n){var u=G(["minner",i.isOver?"mover":"munder"],[o],t);i.isOver?o=xe({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]}):o=xe({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]})}return G(["minner",i.isOver?"mover":"munder"],[o],t)},PT=(e,t)=>{var r=Io(e.label);return new X(e.isOver?"mover":"munder",[Se(e.base,t),r])};ne({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:u2,mathmlBuilder:PT});ne({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=ge(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Ve(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=We(e.body,t,!1);return $x(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=rn(e.body,t);return r instanceof X||(r=new X("mrow",[r])),r.setAttribute("href",e.href),r}});ne({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=ge(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 o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Ve(o)}}});ne({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:Ve(t[0])}},htmlBuilder(e,t){var r=We(e.body,t.withFont(""),!1);return _r(r)},mathmlBuilder(e,t){return new X("mrow",Dt(e.body,t.withFont("")))}});ne({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=ge(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,u={};switch(n){case"\\htmlClass":u.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":u.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":u.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var l=a.split(","),c=0;c<l.length;c++){var f=l[c],m=f.indexOf("=");if(m<0)throw new J("\\htmlData key/value '"+f+"' missing equals sign");var p=f.slice(0,m),y=f.slice(m+1);u["data-"+p.trim()]=y}o={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:u,body:Ve(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=We(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=G(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)=>rn(e.body,t)});ne({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Ve(t[0]),mathml:Ve(t[1])}},htmlBuilder:(e,t)=>{var r=We(e.html,t,!1);return _r(r)},mathmlBuilder:(e,t)=>rn(e.mathml,t)});var uc=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 J("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Sg(n))throw new J("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ne({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"},o="";if(r[0])for(var u=ge(r[0],"raw").string,l=u.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length===2){var m=f[1].trim();switch(f[0].trim()){case"alt":o=m;break;case"width":i=uc(m);break;case"height":a=uc(m);break;case"totalheight":s=uc(m);break;default:throw new J("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var p=ge(t[0],"url").url;return o===""&&(o=p,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:s,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Re(e.height,t),n=0;e.totalheight.number>0&&(n=Re(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Re(e.width,t));var a={height:Z(r+n)};i>0&&(a.width=Z(i)),n>0&&(a.verticalAlign=Z(-n));var s=new pc(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new X("mglyph",[]);r.setAttribute("alt",e.alt);var n=Re(e.height,t),i=0;if(e.totalheight.number>0&&(i=Re(e.totalheight,t)-n,r.setAttribute("valign",Z(-i))),r.setAttribute("height",Z(n+i)),e.width.number>0){var a=Re(e.width,t);r.setAttribute("width",Z(a))}return r.setAttribute("src",e.src),r}});ne({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=ge(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 Lg(e.dimension,t)},mathmlBuilder(e,t){var r=Re(e.dimension,t);return new Ao(r)}});ne({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=G([],[Te(e.body,t)]),r=G(["inner"],[r],t)):r=G(["inner"],[Te(e.body,t)]);var n=G(["fix"],[]),i=G([e.alignment],[r,n],t),a=G(["strut"]);return a.style.height=Z(i.height+i.depth),i.depth&&(a.style.verticalAlign=Z(-i.depth)),i.children.unshift(a),i=G(["thinbox"],[i],t),G(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new X("mpadded",[Se(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}});ne({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",resetFont:!0,body:s}}});ne({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new J("Mismatched "+e.funcName)}});var mg=(e,t)=>{switch(t.style.size){case pe.DISPLAY.size:return e.display;case pe.TEXT.size:return e.text;case pe.SCRIPT.size:return e.script;case pe.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ne({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Ve(t[0]),text:Ve(t[1]),script:Ve(t[2]),scriptscript:Ve(t[3])}},htmlBuilder:(e,t)=>{var r=mg(e,t),n=We(r,t,!1);return _r(n)},mathmlBuilder:(e,t)=>{var r=mg(e,t);return rn(r,t)}});var l2=(e,t,r,n,i,a,s)=>{e=G([],[e]);var o=r&&Nr(r),u,l;if(t){var c=Te(t,n.havingStyle(i.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=Te(r,n.havingStyle(i.sub()),n);u={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var m;if(l&&u){var p=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+s;m=xe({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Z(-a)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Z(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(u){var y=e.height-s;m=xe({positionType:"top",positionData:y,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Z(-a)},{type:"kern",size:u.kern},{type:"elem",elem:e}]})}else if(l){var E=e.depth+s;m=xe({positionType:"bottom",positionData:E,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:Z(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var x=[m];if(u&&a!==0&&!o){var v=G(["mspace"],[],n);v.style.marginRight=Z(a),x.unshift(v)}return G(["mop","op-limits"],x,n)},c2=new Set(["\\smallint"]),fi=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ge(e.base,"op"),i=!0):a=ge(e,"op");var s=t.style,o=!1;s.size===pe.DISPLAY.size&&a.symbol&&!c2.has(a.name)&&(o=!0);var u,l;if(a.symbol){var c=o?"Size2-Regular":"Size1-Regular",f="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(f=a.name.slice(1),a.name=f==="oiint"?"\\iint":"\\iiint"),u=mt(a.name,c,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),l=u.italic,f.length>0){var m=Rg(f+"Size"+(o?"2":"1"),t);u=xe({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:m,shift:o?.08:0}]}),a.name="\\"+f,u.classes.unshift("mop"),u.italic=l}}else if(a.body){var p=We(a.body,t,!0);p.length===1&&p[0]instanceof gt?(u=p[0],u.classes[0]="mop"):u=G(["mop"],p,t)}else{for(var y=[],E=1;E<a.name.length;E++)y.push(Mc(a.name[E],a.mode,t));u=G(["mop"],y,t)}var x=0,v=0;if((u instanceof gt||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift){var w;x=(u.height-u.depth)/2-t.fontMetrics().axisHeight,v=(w=u.italic)!=null?w:0}return i?l2(u,r,n,t,s,v,x):(x&&(u.style.position="relative",u.style.top=Z(x)),u)},va=(e,t)=>{var r;if(e.symbol)r=new X("mo",[Mt(e.name,e.mode)]),c2.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new X("mo",Dt(e.body,t));else{r=new X("mi",[new Me(e.name.slice(1))]);var n=new X("mo",[Mt("\u2061","text")]);e.parentIsSupSub?r=new X("mrow",[r,n]):r=Fg([r,n])}return r},RT={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};ne({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=RT[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:fi,mathmlBuilder:va});ne({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:Ve(n)}},htmlBuilder:fi,mathmlBuilder:va});var OT={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};ne({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:fi,mathmlBuilder:va});ne({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:fi,mathmlBuilder:va});ne({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=OT[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:fi,mathmlBuilder:va});var f2=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ge(e.base,"operatorname"),i=!0):a=ge(e,"operatorname");var s;if(a.body.length>0){for(var o=a.body.map(f=>{var m="text"in f?f.text:void 0;return typeof m=="string"?{type:"textord",mode:f.mode,text:m}:f}),u=We(o,t.withFont("mathrm"),!0),l=0;l<u.length;l++){var c=u[l];c instanceof gt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=G(["mop"],u,t)}else s=G(["mop"],[],t);return i?l2(s,r,n,t,t.style,0,0):s},MT=(e,t)=>{for(var r=Dt(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof Ao))if(a instanceof X)switch(a.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof Me?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(c=>c.toText()).join("");r=[new Me(o)]}var u=new X("mi",r);u.setAttribute("mathvariant","normal");var l=new X("mo",[Mt("\u2061","text")]);return e.parentIsSupSub?new X("mrow",[u,l]):Fg([u,l])};ne({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:Ve(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:f2,mathmlBuilder:MT});T("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");_n({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?_r(We(e.body,t,!1)):G(["mord"],We(e.body,t,!0),t)},mathmlBuilder(e,t){return rn(e.body,t,!0)}});ne({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=Te(e.body,t.havingCrampedStyle()),n=ui("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=xe({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]});return G(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new X("mo",[new Me("\u203E")]);r.setAttribute("stretchy","true");var n=new X("mover",[Se(e.body,t),r]);return n.setAttribute("accent","true"),n}});ne({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:Ve(n)}},htmlBuilder:(e,t)=>{var r=We(e.body,t.withPhantom(),!1);return _r(r)},mathmlBuilder:(e,t)=>{var r=Dt(e.body,t);return new X("mphantom",r)}});T("\\hphantom","\\smash{\\phantom{#1}}");ne({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=G(["inner"],[Te(e.body,t.withPhantom())]),n=G(["fix"],[]);return G(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Dt(Ve(e.body),t),n=new X("mphantom",r),i=new X("mpadded",[n]);return i.setAttribute("width","0px"),i}});ne({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=ge(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=Te(e.body,t),n=Re(e.dy,t);return xe({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new X("mpadded",[Se(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ne({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ne({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=ge(t[0],"size"),s=ge(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&ge(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var r=G(["mord","rule"],[],t),n=Re(e.width,t),i=Re(e.height,t),a=e.shift?Re(e.shift,t):0;return r.style.borderRightWidth=Z(n),r.style.borderTopWidth=Z(i),r.style.bottom=Z(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Re(e.width,t),n=Re(e.height,t),i=e.shift?Re(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new X("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",Z(r)),s.setAttribute("height",Z(n));var o=new X("mpadded",[s]);return i>=0?o.setAttribute("height",Z(i)):(o.setAttribute("height",Z(i)),o.setAttribute("depth",Z(-i))),o.setAttribute("voffset",Z(i)),o}});function d2(e,t,r){for(var n=We(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 _r(n)}var pg=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],FT=(e,t)=>{var r=t.havingSize(e.size);return d2(e.body,r,t)};ne({type:"sizing",names:pg,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:pg.indexOf(n)+1,body:a}},htmlBuilder:FT,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Dt(e.body,r),i=new X("mstyle",n);return i.setAttribute("mathsize",Z(r.sizeMultiplier)),i}});ne({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]&&ge(r[0],"ordgroup");if(s)for(var o,u=0;u<s.body.length;++u){var l=s.body[u];if(o=Lo(l).text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=G([],[Te(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return G(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);var i=xe({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return G(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new X("mpadded",[Se(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ne({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=Te(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=li(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<pe.TEXT.id&&(a=t.fontMetrics().xHeight);var s=i+a/4,o=r.height+r.depth+s+i,{span:u,ruleWidth:l,advanceWidth:c}=CT(o,t),f=u.height-l;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var m=u.height-r.height-s-l;r.style.paddingLeft=Z(c);var p=xe({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+m)},{type:"elem",elem:u},{type:"kern",size:l}]});if(e.index){var y=t.havingStyle(pe.SCRIPTSCRIPT),E=Te(e.index,y,t),x=.6*(p.height-p.depth),v=xe({positionType:"shift",positionData:-x,children:[{type:"elem",elem:E}]}),w=G(["root"],[v]);return G(["mord","sqrt"],[w,p],t)}else return G(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new X("mroot",[Se(r,t),Se(n,t)]):new X("msqrt",[Se(r,t)])}});var Nc={display:pe.DISPLAY,text:pe.TEXT,script:pe.SCRIPT,scriptscript:pe.SCRIPTSCRIPT};function BT(e){return e in Nc}ne({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);if(!BT(s))throw new Error("Unknown style: "+s);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var r=Nc[e.style],n=t.havingStyle(r);return e.resetFont&&(n=n.withFont("")),d2(e.body,n,t)},mathmlBuilder(e,t){var r=Nc[e.style],n=t.havingStyle(r);e.resetFont&&(n=n.withFont(""));var i=Dt(e.body,n),a=new X("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var qT=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===pe.DISPLAY.size||n.alwaysHandleSupSub);return i?fi:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===pe.DISPLAY.size||n.limits);return a?f2:null}else{if(n.type==="accent")return Nr(n.base)?Uc:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?u2:null}else return null}else return null};_n({type:"supsub",htmlBuilder(e,t){var r=qT(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,s=Te(n,t),o,u,l=t.fontMetrics(),c=0,f=0,m=n&&Nr(n);if(i){var p=t.havingStyle(t.style.sup());o=Te(i,p,t),m||(c=s.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var y=t.havingStyle(t.style.sub());u=Te(a,y,t),m||(f=s.depth+y.fontMetrics().subDrop*y.sizeMultiplier/t.sizeMultiplier)}var E;t.style===pe.DISPLAY?E=l.sup1:t.style.cramped?E=l.sup3:E=l.sup2;var x=t.sizeMultiplier,v=Z(.5/l.ptPerEm/x),w=null;if(u){var N=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(s instanceof gt||N){var B;w=Z(-((B=s.italic)!=null?B:0))}}var q;if(o&&u){c=Math.max(c,E,o.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var _=l.defaultRuleThickness,U=4*_;if(c-o.depth-(u.height-f)<U){f=U-(c-o.depth)+u.height;var H=.8*l.xHeight-(c-o.depth);H>0&&(c+=H,f-=H)}var F=[{type:"elem",elem:u,shift:f,marginRight:v,marginLeft:w},{type:"elem",elem:o,shift:-c,marginRight:v}];q=xe({positionType:"individualShift",children:F})}else if(u){f=Math.max(f,l.sub1,u.height-.8*l.xHeight);var O=[{type:"elem",elem:u,marginLeft:w,marginRight:v}];q=xe({positionType:"shift",positionData:f,children:O})}else if(o)c=Math.max(c,E,o.depth+.25*l.xHeight),q=xe({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:v}]});else throw new Error("supsub must have either sup or sub.");var ue=Ac(s,"right")||"mord";return G([ue],[s,G(["msupsub"],[q])],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=[Se(e.base,t)];e.sub&&a.push(Se(e.sub,t)),e.sup&&a.push(Se(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===pe.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===pe.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===pe.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===pe.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===pe.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===pe.DISPLAY)?s="mover":s="msup"}return new X(s,a)}});_n({type:"atom",htmlBuilder(e,t){return Mc(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new X("mo",[Mt(e.text,e.mode)]);if(e.family==="bin"){var n=qc(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 h2={mi:"italic",mn:"normal",mtext:"normal"};_n({type:"mathord",htmlBuilder(e,t){return No(e,t,"mathord")},mathmlBuilder(e,t){var r=new X("mi",[Mt(e.text,e.mode,t)]),n=qc(e,t)||"italic";return n!==h2[r.type]&&r.setAttribute("mathvariant",n),r}});_n({type:"textord",htmlBuilder(e,t){return No(e,t,"textord")},mathmlBuilder(e,t){var r=Mt(e.text,e.mode,t),n=qc(e,t)||"normal",i;return e.mode==="text"?i=new X("mtext",[r]):/[0-9]/.test(e.text)?i=new X("mn",[r]):e.text==="\\prime"?i=new X("mo",[r]):i=new X("mi",[r]),n!==h2[i.type]&&i.setAttribute("mathvariant",n),i}});var lc={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},cc={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};_n({type:"spacing",htmlBuilder(e,t){if(cc.hasOwnProperty(e.text)){var r=cc[e.text].className||"";if(e.mode==="text"){var n=No(e,t,"textord");return n.classes.push(r),n}else return G(["mspace",r],[Mc(e.text,e.mode,t)],t)}else{if(lc.hasOwnProperty(e.text))return G(["mspace",lc[e.text]],[],t);throw new J('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(cc.hasOwnProperty(e.text))r=new X("mtext",[new Me("\xA0")]);else{if(lc.hasOwnProperty(e.text))return new X("mspace");throw new J('Unknown type of space "'+e.text+'"')}return r}});var gg=()=>{var e=new X("mtd",[]);return e.setAttribute("width","50%"),e};_n({type:"tag",mathmlBuilder(e,t){var r=new X("mtable",[new X("mtr",[gg(),new X("mtd",[rn(e.body,t)]),gg(),new X("mtd",[rn(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var bg={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},yg={"\\textbf":"textbf","\\textmd":"textmd"},UT={"\\textit":"textit","\\textup":"textup"},Eg=(e,t)=>{var r=e.font;if(r){if(bg[r])return t.withTextFontFamily(bg[r]);if(yg[r])return t.withTextFontWeight(yg[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(UT[r])};ne({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:Ve(i),font:n}},htmlBuilder(e,t){var r=Eg(e,t),n=We(e.body,r,!0);return G(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Eg(e,t);return rn(e.body,r)}});ne({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=Te(e.body,t),n=ui("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=xe({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]});return G(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new X("mo",[new Me("\u203E")]);r.setAttribute("stretchy","true");var n=new X("munder",[Se(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ne({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=Te(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return xe({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new X("mpadded",[Se(e.body,t)],["vcenter"]);return new X("mrow",[r])}});ne({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new J("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=xg(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push(mt(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return G(["mord","text"].concat(i.sizingClasses(t)),_g(n),i)},mathmlBuilder(e,t){var r=new Me(xg(e)),n=new X("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var xg=e=>e.body.replace(/ /g,e.star?"\u2423":"\xA0"),Xr=Og,m2=`[ \r
|
|
411
|
+
]`,HT="\\\\[a-zA-Z@]+",zT="\\\\[^\uD800-\uDFFF]",jT="("+HT+")"+m2+"*",VT=`\\\\(
|
|
412
|
+
|[ \r ]+
|
|
413
|
+
?)[ \r ]*`,Ic="[\u0300-\u036F]",YT=new RegExp(Ic+"+$"),$T="("+m2+"+)|"+(VT+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ic+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ic+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+jT)+("|"+zT+")"),So=class{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($T,"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 St("EOF",new Tt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new J("Unexpected character: '"+t[r]+"'",new St(t[r],new Tt(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
|
|
414
|
+
`,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 St(i,new Tt(this,r,this.tokenRegex.lastIndex))}},_c=class{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 J("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}},GT=n2;T("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});T("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});T("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});T("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});T("\\@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}});T("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");T("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Tg={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};T("\\char",function(e){var t=e.popToken(),r,n=0;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 J("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Tg[t.text],n==null||n>=r)throw new J("Invalid base-"+r+" digit "+t.text);for(var i;(i=Tg[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var Vc=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new J("\\newcommand's first argument must be a macro name");var a=i[0].text,s=e.isDefined(a);if(s&&!t)throw new J("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new J("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var o=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text==="["){for(var u="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)u+=l.text,l=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new J("Invalid number of arguments: "+u);o=parseInt(u),i=e.consumeArg().tokens}return s&&n||e.macros.set(a,{tokens:i,numArgs:o}),""};T("\\newcommand",e=>Vc(e,!1,!0,!1));T("\\renewcommand",e=>Vc(e,!0,!1,!1));T("\\providecommand",e=>Vc(e,!0,!0,!0));T("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});T("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});T("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Xr[r],Ie.math[r],Ie.text[r]),""});T("\\bgroup","{");T("\\egroup","}");T("~","\\nobreakspace");T("\\lq","`");T("\\rq","'");T("\\aa","\\r a");T("\\AA","\\r A");T("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");T("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");T("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");T("\u212C","\\mathscr{B}");T("\u2130","\\mathscr{E}");T("\u2131","\\mathscr{F}");T("\u210B","\\mathscr{H}");T("\u2110","\\mathscr{I}");T("\u2112","\\mathscr{L}");T("\u2133","\\mathscr{M}");T("\u211B","\\mathscr{R}");T("\u212D","\\mathfrak{C}");T("\u210C","\\mathfrak{H}");T("\u2128","\\mathfrak{Z}");T("\\Bbbk","\\Bbb{k}");T("\\llap","\\mathllap{\\textrm{#1}}");T("\\rlap","\\mathrlap{\\textrm{#1}}");T("\\clap","\\mathclap{\\textrm{#1}}");T("\\mathstrut","\\vphantom{(}");T("\\underbar","\\underline{\\text{#1}}");T("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');T("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");T("\\ne","\\neq");T("\u2260","\\neq");T("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");T("\u2209","\\notin");T("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");T("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");T("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");T("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");T("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");T("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");T("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");T("\u27C2","\\perp");T("\u203C","\\mathclose{!\\mkern-0.8mu!}");T("\u220C","\\notni");T("\u231C","\\ulcorner");T("\u231D","\\urcorner");T("\u231E","\\llcorner");T("\u231F","\\lrcorner");T("\xA9","\\copyright");T("\xAE","\\textregistered");T("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');T("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');T("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');T("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');T("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");T("\u22EE","\\vdots");T("\\varGamma","\\mathit{\\Gamma}");T("\\varDelta","\\mathit{\\Delta}");T("\\varTheta","\\mathit{\\Theta}");T("\\varLambda","\\mathit{\\Lambda}");T("\\varXi","\\mathit{\\Xi}");T("\\varPi","\\mathit{\\Pi}");T("\\varSigma","\\mathit{\\Sigma}");T("\\varUpsilon","\\mathit{\\Upsilon}");T("\\varPhi","\\mathit{\\Phi}");T("\\varPsi","\\mathit{\\Psi}");T("\\varOmega","\\mathit{\\Omega}");T("\\substack","\\begin{subarray}{c}#1\\end{subarray}");T("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");T("\\boxed","\\fbox{$\\displaystyle{#1}$}");T("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");T("\\implies","\\DOTSB\\;\\Longrightarrow\\;");T("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");T("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");T("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var vg={",":"\\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"},WT=new Set(["bin","rel"]);T("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in vg?t=vg[r]:(r.slice(0,4)==="\\not"||r in Ie.math&&WT.has(Ie.math[r].group))&&(t="\\dotsb"),t});var Yc={")":!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};T("\\dotso",function(e){var t=e.future().text;return t in Yc?"\\ldots\\,":"\\ldots"});T("\\dotsc",function(e){var t=e.future().text;return t in Yc&&t!==","?"\\ldots\\,":"\\ldots"});T("\\cdots",function(e){var t=e.future().text;return t in Yc?"\\@cdots\\,":"\\@cdots"});T("\\dotsb","\\cdots");T("\\dotsm","\\cdots");T("\\dotsi","\\!\\cdots");T("\\dotsx","\\ldots\\,");T("\\DOTSI","\\relax");T("\\DOTSB","\\relax");T("\\DOTSX","\\relax");T("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");T("\\,","\\tmspace+{3mu}{.1667em}");T("\\thinspace","\\,");T("\\>","\\mskip{4mu}");T("\\:","\\tmspace+{4mu}{.2222em}");T("\\medspace","\\:");T("\\;","\\tmspace+{5mu}{.2777em}");T("\\thickspace","\\;");T("\\!","\\tmspace-{3mu}{.1667em}");T("\\negthinspace","\\!");T("\\negmedspace","\\tmspace-{4mu}{.2222em}");T("\\negthickspace","\\tmspace-{5mu}{.277em}");T("\\enspace","\\kern.5em ");T("\\enskip","\\hskip.5em\\relax");T("\\quad","\\hskip1em\\relax");T("\\qquad","\\hskip2em\\relax");T("\\tag","\\@ifstar\\tag@literal\\tag@paren");T("\\tag@paren","\\tag@literal{({#1})}");T("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new J("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});T("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");T("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");T("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");T("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");T("\\newline","\\\\\\relax");T("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var p2=Z(or["Main-Regular"][84][1]-.7*or["Main-Regular"][65][1]);T("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+p2+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");T("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+p2+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");T("\\hspace","\\@ifstar\\@hspacer\\@hspace");T("\\@hspace","\\hskip #1\\relax");T("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");T("\\ordinarycolon",":");T("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");T("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');T("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');T("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');T("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');T("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');T("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');T("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');T("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');T("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');T("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');T("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');T("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');T("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');T("\u2237","\\dblcolon");T("\u2239","\\eqcolon");T("\u2254","\\coloneqq");T("\u2255","\\eqqcolon");T("\u2A74","\\Coloneqq");T("\\ratio","\\vcentcolon");T("\\coloncolon","\\dblcolon");T("\\colonequals","\\coloneqq");T("\\coloncolonequals","\\Coloneqq");T("\\equalscolon","\\eqqcolon");T("\\equalscoloncolon","\\Eqqcolon");T("\\colonminus","\\coloneq");T("\\coloncolonminus","\\Coloneq");T("\\minuscolon","\\eqcolon");T("\\minuscoloncolon","\\Eqcolon");T("\\coloncolonapprox","\\Colonapprox");T("\\coloncolonsim","\\Colonsim");T("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");T("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");T("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");T("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");T("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");T("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");T("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");T("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");T("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");T("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");T("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");T("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");T("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");T("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");T("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");T("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");T("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");T("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");T("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");T("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");T("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");T("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");T("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");T("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");T("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");T("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");T("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");T("\\imath","\\html@mathml{\\@imath}{\u0131}");T("\\jmath","\\html@mathml{\\@jmath}{\u0237}");T("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");T("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");T("\u27E6","\\llbracket");T("\u27E7","\\rrbracket");T("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");T("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");T("\u2983","\\lBrace");T("\u2984","\\rBrace");T("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");T("\u29B5","\\minuso");T("\\darr","\\downarrow");T("\\dArr","\\Downarrow");T("\\Darr","\\Downarrow");T("\\lang","\\langle");T("\\rang","\\rangle");T("\\uarr","\\uparrow");T("\\uArr","\\Uparrow");T("\\Uarr","\\Uparrow");T("\\N","\\mathbb{N}");T("\\R","\\mathbb{R}");T("\\Z","\\mathbb{Z}");T("\\alef","\\aleph");T("\\alefsym","\\aleph");T("\\Alpha","\\mathrm{A}");T("\\Beta","\\mathrm{B}");T("\\bull","\\bullet");T("\\Chi","\\mathrm{X}");T("\\clubs","\\clubsuit");T("\\cnums","\\mathbb{C}");T("\\Complex","\\mathbb{C}");T("\\Dagger","\\ddagger");T("\\diamonds","\\diamondsuit");T("\\empty","\\emptyset");T("\\Epsilon","\\mathrm{E}");T("\\Eta","\\mathrm{H}");T("\\exist","\\exists");T("\\harr","\\leftrightarrow");T("\\hArr","\\Leftrightarrow");T("\\Harr","\\Leftrightarrow");T("\\hearts","\\heartsuit");T("\\image","\\Im");T("\\infin","\\infty");T("\\Iota","\\mathrm{I}");T("\\isin","\\in");T("\\Kappa","\\mathrm{K}");T("\\larr","\\leftarrow");T("\\lArr","\\Leftarrow");T("\\Larr","\\Leftarrow");T("\\lrarr","\\leftrightarrow");T("\\lrArr","\\Leftrightarrow");T("\\Lrarr","\\Leftrightarrow");T("\\Mu","\\mathrm{M}");T("\\natnums","\\mathbb{N}");T("\\Nu","\\mathrm{N}");T("\\Omicron","\\mathrm{O}");T("\\plusmn","\\pm");T("\\rarr","\\rightarrow");T("\\rArr","\\Rightarrow");T("\\Rarr","\\Rightarrow");T("\\real","\\Re");T("\\reals","\\mathbb{R}");T("\\Reals","\\mathbb{R}");T("\\Rho","\\mathrm{P}");T("\\sdot","\\cdot");T("\\sect","\\S");T("\\spades","\\spadesuit");T("\\sub","\\subset");T("\\sube","\\subseteq");T("\\supe","\\supseteq");T("\\Tau","\\mathrm{T}");T("\\thetasym","\\vartheta");T("\\weierp","\\wp");T("\\Zeta","\\mathrm{Z}");T("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");T("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");T("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");T("\\bra","\\mathinner{\\langle{#1}|}");T("\\ket","\\mathinner{|{#1}\\rangle}");T("\\braket","\\mathinner{\\langle{#1}\\rangle}");T("\\Bra","\\left\\langle#1\\right|");T("\\Ket","\\left|#1\\right\\rangle");var g2=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var u=f=>m=>{e&&(m.macros.set("|",s),i.length&&m.macros.set("\\|",o));var p=f;if(!f&&i.length){var y=m.future();y.text==="|"&&(m.popToken(),p=!0)}return{tokens:p?i:n,numArgs:0}};t.macros.set("|",u(!1)),i.length&&t.macros.set("\\|",u(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...a,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};T("\\bra@ket",g2(!1));T("\\bra@set",g2(!0));T("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");T("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");T("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");T("\\angln","{\\angl n}");T("\\blue","\\textcolor{##6495ed}{#1}");T("\\orange","\\textcolor{##ffa500}{#1}");T("\\pink","\\textcolor{##ff00af}{#1}");T("\\red","\\textcolor{##df0030}{#1}");T("\\green","\\textcolor{##28ae7b}{#1}");T("\\gray","\\textcolor{gray}{#1}");T("\\purple","\\textcolor{##9d38bd}{#1}");T("\\blueA","\\textcolor{##ccfaff}{#1}");T("\\blueB","\\textcolor{##80f6ff}{#1}");T("\\blueC","\\textcolor{##63d9ea}{#1}");T("\\blueD","\\textcolor{##11accd}{#1}");T("\\blueE","\\textcolor{##0c7f99}{#1}");T("\\tealA","\\textcolor{##94fff5}{#1}");T("\\tealB","\\textcolor{##26edd5}{#1}");T("\\tealC","\\textcolor{##01d1c1}{#1}");T("\\tealD","\\textcolor{##01a995}{#1}");T("\\tealE","\\textcolor{##208170}{#1}");T("\\greenA","\\textcolor{##b6ffb0}{#1}");T("\\greenB","\\textcolor{##8af281}{#1}");T("\\greenC","\\textcolor{##74cf70}{#1}");T("\\greenD","\\textcolor{##1fab54}{#1}");T("\\greenE","\\textcolor{##0d923f}{#1}");T("\\goldA","\\textcolor{##ffd0a9}{#1}");T("\\goldB","\\textcolor{##ffbb71}{#1}");T("\\goldC","\\textcolor{##ff9c39}{#1}");T("\\goldD","\\textcolor{##e07d10}{#1}");T("\\goldE","\\textcolor{##a75a05}{#1}");T("\\redA","\\textcolor{##fca9a9}{#1}");T("\\redB","\\textcolor{##ff8482}{#1}");T("\\redC","\\textcolor{##f9685d}{#1}");T("\\redD","\\textcolor{##e84d39}{#1}");T("\\redE","\\textcolor{##bc2612}{#1}");T("\\maroonA","\\textcolor{##ffbde0}{#1}");T("\\maroonB","\\textcolor{##ff92c6}{#1}");T("\\maroonC","\\textcolor{##ed5fa6}{#1}");T("\\maroonD","\\textcolor{##ca337c}{#1}");T("\\maroonE","\\textcolor{##9e034e}{#1}");T("\\purpleA","\\textcolor{##ddd7ff}{#1}");T("\\purpleB","\\textcolor{##c6b9fc}{#1}");T("\\purpleC","\\textcolor{##aa87ff}{#1}");T("\\purpleD","\\textcolor{##7854ab}{#1}");T("\\purpleE","\\textcolor{##543b78}{#1}");T("\\mintA","\\textcolor{##f5f9e8}{#1}");T("\\mintB","\\textcolor{##edf2df}{#1}");T("\\mintC","\\textcolor{##e0e5cc}{#1}");T("\\grayA","\\textcolor{##f6f7f7}{#1}");T("\\grayB","\\textcolor{##f0f1f2}{#1}");T("\\grayC","\\textcolor{##e3e5e6}{#1}");T("\\grayD","\\textcolor{##d6d8da}{#1}");T("\\grayE","\\textcolor{##babec2}{#1}");T("\\grayF","\\textcolor{##888d93}{#1}");T("\\grayG","\\textcolor{##626569}{#1}");T("\\grayH","\\textcolor{##3b3e40}{#1}");T("\\grayI","\\textcolor{##21242c}{#1}");T("\\kaBlue","\\textcolor{##314453}{#1}");T("\\kaGreen","\\textcolor{##71B307}{#1}");var b2={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Lc=class{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 _c(GT,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new So(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 St("EOF",n.loc)),this.pushTokens(i),new St("",Tt.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,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new J("Extra }",a)}else if(a.text==="EOF")throw new J("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",a);if(t&&n)if((s===0||s===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=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 J("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 J("Use of the macro doesn't match its definition",a)}}for(var s=[],o=0;o<t;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new J("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 J("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 o=a.length-1;o>=0;--o){var u=a[o];if(u.text==="#"){if(o===0)throw new J("Incomplete placeholder at end of macro body",u);if(u=a[--o],u.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(u.text))a.splice(o,2,...s[+u.text-1]);else throw new J("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}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new St(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.includes("#"))for(var s=i.replace(/##/g,"");s.includes("#"+(a+1));)++a;for(var o=new So(i,this.settings),u=[],l=o.lex();l.text!=="EOF";)u.push(l),l=o.lex();u.reverse();var c={tokens:u,numArgs:a};return c}return i}isDefined(t){return this.macros.has(t)||Xr.hasOwnProperty(t)||Ie.math.hasOwnProperty(t)||Ie.text.hasOwnProperty(t)||b2.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Xr.hasOwnProperty(t)&&!Xr[t].primitive}},Cg=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,go=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),fc={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},Ag={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},ko=class e{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 Lc(t,r,this.mode),this.settings=r,this.leftrightDepth=0,this.nextToken=null}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new J("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 St("}")),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(e.endOfExpression.has(i.text)||r&&i.text===r||t&&Xr[i.text]&&Xr[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++){var a=t[i];if(a.type==="infix"){if(r!==-1)throw new J("only one infix operator per group",a.token);r=i,n=a.replaceWith}}if(r!==-1&&n){var s,o,u=t.slice(0,r),l=t.slice(r+1);u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u},l.length===1&&l[0].type==="ordgroup"?o=l[0]:o={type:"ordgroup",mode:this.mode,body:l};var c;return n==="\\\\abovefrac"?c=this.callFunction(n,[s,t[r],o],[]):c=this.callFunction(n,[s,o],[]),[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 J("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?.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 J("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new J("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new J("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new J("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},u=[o];for(this.consume();this.fetch().text==="'";)u.push(o),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(go[a.text]){var l=Cg.test(a.text),c=[];for(c.push(new St(go[a.text])),this.consume();;){var f=this.fetch().text;if(!go[f]||Cg.test(f)!==l)break;c.unshift(new St(go[f])),this.consume()}var m=this.subparse(c);l?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=Xr[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new J("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new J("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new J("Can't use function '"+i+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,s,o,n,t)}callFunction(t,r,n,i,a){var s={funcName:t,parser:this,token:i,breakOnTokenText:a},o=Xr[t];if(o&&o.handler)return o.handler(s,r,n);throw new J("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 o=r.argTypes&&r.argTypes[s],u=s<r.numOptionalArgs;("primitive"in r&&r.primitive&&o==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(o="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",o,u);if(u)a.push(l);else if(l!=null)i.push(l);else throw new J("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",resetFont:!0}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new J("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new J("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new J("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 J("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 J("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 J("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!Sg(a))throw new J("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 o=this.parseExpression(!1,s),u=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:Tt.range(n,u),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!b2.hasOwnProperty(i)){if(this.settings.throwOnError)throw new J("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];if(i.type==="textord"){var a=i.text,s=t[n+1];if(!(!s||s.type!=="textord")){if(a==="-"&&s.text==="-"){var o=t[n+2];n+1<r&&o&&o.type==="textord"&&o.text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:Tt.range(i,o),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:Tt.range(i,s),text:"--"}),r-=1)}(a==="'"||a==="`")&&s.text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:Tt.range(i,s),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 J(`\\verb assertion failed --
|
|
415
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Ag.hasOwnProperty(r[0])&&!Ie[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=Ag[r[0]]+r.slice(1));var a=YT.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var s;if(Ie[this.mode][r]){this.settings.strict&&this.mode==="math"&&gc.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Ie[this.mode][r].group,u=Tt.range(t),l;dT(o)?l={type:"atom",mode:this.mode,family:o,loc:u,text:r}:l={type:o,mode:this.mode,loc:u,text:r},s=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(wg(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:Tt.range(t),text:r};else return null;if(this.consume(),a)for(var c=0;c<a[0].length;c++){var f=a[0][c];if(!fc[f])throw new J("Unknown accent ' "+f+"'",t);var m=fc[f][this.mode]||fc[f].text;if(!m)throw new J("Accent "+f+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:Tt.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}};ko.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var $c=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new ko(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 J("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new St("\\df@tag")])}]}return i},y2=function(t,r,n){r.textContent="";var i=Gc(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."),y2=function(){throw new J("KaTeX doesn't work in quirks mode.")});var KT=function(t,r){var n=Gc(t,r).toMarkup();return n},QT=function(t,r){var n=new ba(r);return $c(t,n)},E2=function(t,r,n){if(n.throwOnError||!(t instanceof J))throw t;var i=G(["katex-error"],[new gt(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},Gc=function(t,r){var n=new ba(r);try{var i=$c(t,n);return iT(i,t,n)}catch(a){return E2(a,t,n)}},XT=function(t,r){var n=new ba(r);try{var i=$c(t,n);return aT(i,t,n)}catch(a){return E2(a,t,n)}},JT="0.16.47",ZT={Span:en,Anchor:oi,SymbolNode:gt,SvgNode:Qt,PathNode:ur,LineNode:Ea},Wc={version:JT,render:y2,renderToString:KT,ParseError:J,SETTINGS_SCHEMA:dc,__parse:QT,__renderToDomTree:Gc,__renderToHTMLTree:XT,__setFontMetrics:qx,__defineSymbol:h,__defineFunction:ne,__defineMacro:T,__domTree:ZT};var ev={},tv=[];function qo(e){let t=e||ev;return function(r,n){Vt(r,"element",function(i,a){let s=Array.isArray(i.properties.className)?i.properties.className:tv,o=s.includes("language-math"),u=s.includes("math-display"),l=s.includes("math-inline"),c=u;if(!o&&!u&&!l)return;let f=a[a.length-1],m=i;if(i.tagName==="code"&&o&&f&&f.type==="element"&&f.tagName==="pre"&&(m=f,f=a[a.length-2],c=!0),!f)return;let p=X0(m,{whitespace:"pre"}),y;try{y=Wc.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(x){let v=x,w=v.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...a,i],cause:v,place:i.position,ruleId:w,source:"rehype-katex"});try{y=Wc.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{y=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(x)},children:[{type:"text",value:p}]}]}}typeof y=="string"&&(y=K0(y,{fragment:!0}).children);let E=f.children.indexOf(m);return f.children.splice(E,1,...y),jr})}}var av=typeof self=="object"?self:globalThis,x2=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new av[e](t)},sv=(e,t)=>{let r=(i,a)=>(e.set(a,i),i),n=i=>{if(e.has(i))return e.get(i);let[a,s]=t[i];switch(a){case 0:case-1:return r(s,i);case 1:{let o=r([],i);for(let u of s)o.push(n(u));return o}case 2:{let o=r({},i);for(let[u,l]of s)o[n(u)]=n(l);return o}case 3:return r(new Date(s),i);case 4:{let{source:o,flags:u}=s;return r(new RegExp(o,u),i)}case 5:{let o=r(new Map,i);for(let[u,l]of s)o.set(n(u),n(l));return o}case 6:{let o=r(new Set,i);for(let u of s)o.add(n(u));return o}case 7:{let{name:o,message:u}=s;return r(x2(o,u),i)}case 8:return r(BigInt(s),i);case"BigInt":return r(Object(BigInt(s)),i);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{let{buffer:o}=new Uint8Array(s);return r(new DataView(o),s)}}return r(x2(a,s),i)};return n},Xc=e=>sv(new Map,e)(0);var di="",{toString:ov}={},{keys:uv}=Object,Ca=e=>{let t=typeof e;if(t!=="object"||!e)return[0,t];let r=ov.call(e).slice(8,-1);switch(r){case"Array":return[1,di];case"Object":return[2,di];case"Date":return[3,di];case"RegExp":return[4,di];case"Map":return[5,di];case"Set":return[6,di];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},Ho=([e,t])=>e===0&&(t==="function"||t==="symbol"),lv=(e,t,r,n)=>{let i=(s,o)=>{let u=n.push(s)-1;return r.set(o,u),u},a=s=>{if(r.has(s))return r.get(s);let[o,u]=Ca(s);switch(o){case 0:{let c=s;switch(u){case"bigint":o=8,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return i([-1],s)}return i([o,c],s)}case 1:{if(u){let m=s;return u==="DataView"?m=new Uint8Array(s.buffer):u==="ArrayBuffer"&&(m=new Uint8Array(s)),i([u,[...m]],s)}let c=[],f=i([o,c],s);for(let m of s)c.push(a(m));return f}case 2:{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());let c=[],f=i([o,c],s);for(let m of uv(s))(e||!Ho(Ca(s[m])))&&c.push([a(m),a(s[m])]);return f}case 3:return i([o,s.toISOString()],s);case 4:{let{source:c,flags:f}=s;return i([o,{source:c,flags:f}],s)}case 5:{let c=[],f=i([o,c],s);for(let[m,p]of s)(e||!(Ho(Ca(m))||Ho(Ca(p))))&&c.push([a(m),a(p)]);return f}case 6:{let c=[],f=i([o,c],s);for(let m of s)(e||!Ho(Ca(m)))&&c.push(a(m));return f}}let{message:l}=s;return i([o,{name:u,message:l}],s)};return a},Jc=(e,{json:t,lossy:r}={})=>{let n=[];return lv(!(t||r),!!t,new Map,n)(e),n};var Lr=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Xc(Jc(e,t)):structuredClone(e):(e,t)=>Xc(Jc(e,t));var w2={}.hasOwnProperty;function hi(e,t){let r=t||{};function n(i,...a){let s=n.invalid,o=n.handlers;if(i&&w2.call(i,e)){let u=String(i[e]);s=w2.call(o,u)?o[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}var cv={},fv={}.hasOwnProperty,S2=hi("type",{handlers:{root:dv,element:bv,text:pv,comment:gv,doctype:mv}});function Zc(e,t){let n=(t||cv).space;return S2(e,n==="svg"?Rt:Ar)}function dv(e,t){let r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=ef(e.children,r,t),mi(e,r),r}function hv(e,t){let r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=ef(e.children,r,t),mi(e,r),r}function mv(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return mi(e,t),t}function pv(e){let t={nodeName:"#text",value:e.value,parentNode:null};return mi(e,t),t}function gv(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return mi(e,t),t}function bv(e,t){let r=t,n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=Rt);let i=[],a;if(e.properties){for(a in e.properties)if(a!=="children"&&fv.call(e.properties,a)){let u=yv(n,a,e.properties[a]);u&&i.push(u)}}let s=n.space;let o={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:rr[s],childNodes:[],parentNode:null};return o.childNodes=ef(e.children,o,n),mi(e,o),e.tagName==="template"&&e.content&&(o.content=hv(e.content,n)),o}function yv(e,t,r){let n=Cr(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Fs(r):Bs(r));let i={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){let a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=n.attribute.slice(0,a)),i.namespace=rr[n.space]}return i}function ef(e,t,r){let n=-1,i=[];if(e)for(;++n<e.length;){let a=S2(e[n],r);a.parentNode=t,i.push(a)}return i}function mi(e,t){let r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}var zo=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var Ln=k2("end"),Ft=k2("start");function k2(e){return t;function t(r){let 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 tf(e){let t=Ft(e),r=Ln(e);if(t&&r)return{start:t,end:r}}var Ev=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,xv=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),D2={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function jo(e,t){let r=Iv(e),n=hi("type",{handlers:{root:Tv,element:vv,text:Cv,comment:I2,doctype:Av,raw:Sv},unknown:kv}),i={parser:r?new wr(D2):wr.getFragmentParser(void 0,D2),handle(o){n(o,i)},stitches:!1,options:t||{}};n(e,i),pi(i,Ft());let a=r?i.parser.document:i.parser.getFragment(),s=Zi(a,{file:i.options.file});return i.stitches&&Kt(s,"comment",function(o,u,l){let c=o;if(c.value.stitch&&l&&u!==void 0){let f=l.children;return f[u]=c.value.stitch,u}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function N2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function Tv(e,t){N2(e.children,t)}function vv(e,t){Dv(e,t),N2(e.children,t),Nv(e,t)}function Cv(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let r={type:Vr.TokenType.CHARACTER,chars:e.value,location:Aa(e)};pi(t,Ft(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Av(e,t){let r={type:Vr.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Aa(e)};pi(t,Ft(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function wv(e,t){t.stitches=!0;let r=_v(e);if("children"in e&&"children"in r){let n=jo({type:"root",children:e.children},t.options);r.children=n.children}I2({type:"comment",value:{stitch:r}},t)}function I2(e,t){let r=e.value,n={type:Vr.TokenType.COMMENT,data:r,location:Aa(e)};pi(t,Ft(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Sv(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,_2(t,Ft(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Ev,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function kv(e,t){let r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))wv(r,t);else{let n="";throw xv.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function pi(e,t){_2(e,t);let r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ne.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function _2(e,t){if(t&&t.offset!==void 0){let r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function Dv(e,t){let r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ne.PLAINTEXT)return;pi(t,Ft(e));let n=t.parser.openElements.current,i="namespaceURI"in n?n.namespaceURI:rr.html;i===rr.html&&r==="svg"&&(i=rr.svg);let a=Zc({...e,children:[]},{space:i===rr.svg?"svg":"html"}),s={type:Vr.TokenType.START_TAG,tagName:r,tagID:ta.getTagID(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Aa(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function Nv(e,t){let r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&zo.includes(r)||t.parser.tokenizer.state===Ne.PLAINTEXT)return;pi(t,Ln(e));let n={type:Vr.TokenType.END_TAG,tagName:r,tagID:ta.getTagID(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Aa(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ne.RCDATA||t.parser.tokenizer.state===Ne.RAWTEXT||t.parser.tokenizer.state===Ne.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ne.DATA)}function Iv(e){let t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Aa(e){let t=Ft(e)||{line:void 0,column:void 0,offset:void 0},r=Ln(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function _v(e){return"children"in e?Lr({...e,children:[]}):Lr(e)}function Vo(e){return function(t,r){return jo(t,{...e,file:r})}}var L2=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g;var Lv=Object.hasOwnProperty,wa=class{constructor(){this.occurrences,this.reset()}slug(t,r){let n=this,i=Pv(t,r===!0),a=i;for(;Lv.call(n.occurrences,i);)n.occurrences[a]++,i=a+"-"+n.occurrences[a];return n.occurrences[i]=0,i}reset(){this.occurrences=Object.create(null)}};function Pv(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(L2,"").replace(/ /g,"-"))}function rf(e){let t=e.type==="element"?e.tagName.toLowerCase():"",r=t.length===2&&t.charCodeAt(0)===104?t.charCodeAt(1):0;return r>48&&r<55?r-48:void 0}function nf(e){return"children"in e?P2(e):"value"in e?e.value:""}function Rv(e){return e.type==="text"?e.value:"children"in e?P2(e):""}function P2(e){let t=-1,r=[];for(;++t<e.children.length;)r[t]=Rv(e.children[t]);return r.join("")}var Ov={},R2=new wa;function Yo(e){let r=(e||Ov).prefix||"";return function(n){R2.reset(),Kt(n,"element",function(i){rf(i)&&!i.properties.id&&(i.properties.id=r+R2.slug(nf(i)))})}}var Mv=/["&'<>`]/g,Fv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,qv=/[|\\{}()[\]^$+*?.]/g,O2=new WeakMap;function af(e,t){if(e=e.replace(t.subset?Uv(t.subset):Mv,n),t.subset||t.escapeOnly)return e;return e.replace(Fv,r).replace(Bv,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 Uv(e){let t=O2.get(e);return t||(t=Hv(e),O2.set(e,t)),t}function Hv(e){let t=[],r=-1;for(;++r<e.length;)t.push(e[r].replace(qv,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}var zv=/[\dA-Fa-f]/;function M2(e,t,r){let n="&#x"+e.toString(16).toUpperCase();return r&&t&&!zv.test(String.fromCharCode(t))?n:n+";"}var jv=/\d/;function F2(e,t,r){let n="&#"+String(e);return r&&t&&!jv.test(String.fromCharCode(t))?n:n+";"}var $o=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"];var Go={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"};var B2=["cent","copy","divide","gt","lt","not","para","times"];var q2={}.hasOwnProperty,sf={},Wo;for(Wo in Go)q2.call(Go,Wo)&&(sf[Go[Wo]]=Wo);var Vv=/[^\dA-Za-z]/;function U2(e,t,r,n){let i=String.fromCharCode(e);if(q2.call(sf,i)){let a=sf[i],s="&"+a;return r&&$o.includes(a)&&!B2.includes(a)&&(!n||t&&t!==61&&Vv.test(String.fromCharCode(t)))?s:s+";"}return""}function H2(e,t,r){let n=M2(e,t,r.omitOptionalSemicolons),i;if((r.useNamedReferences||r.useShortestReferences)&&(i=U2(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!i)&&r.useShortestReferences){let a=F2(e,t,r.omitOptionalSemicolons);a.length<n.length&&(n=a)}return i&&(!r.useShortestReferences||i.length<n.length)?i:n}function z2(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Pr(e,t){return af(e,Object.assign({format:H2},t))}function j2(e,t){return af(e,Object.assign({format:z2},t))}var Yv=/^>|^->|<!--|-->|--!>|<!-$/g,$v=[">"],Gv=["<",">"];function V2(e,t,r,n){return n.settings.bogusComments?"<?"+Pr(e.value,Object.assign({},n.settings.characterReferences,{subset:$v}))+">":"<!--"+e.value.replace(Yv,i)+"-->";function i(a){return Pr(a,Object.assign({},n.settings.characterReferences,{subset:Gv}))}}function Y2(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"}function Rr(e,t){let 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}var Ue=$2(1),of=$2(-1),Wv=[];function $2(e){return t;function t(r,n,i){let a=r?r.children:Wv,s=(n||0)+e,o=a[s];if(!i)for(;o&&wt(o);)s+=e,o=a[s];return o}}var Kv={}.hasOwnProperty;function Ko(e){return t;function t(r,n,i){return Kv.call(e,r.tagName)&&e[r.tagName](r,n,i)}}var Sa=Ko({body:Xv,caption:uf,colgroup:uf,dd:tC,dt:eC,head:uf,html:Qv,li:Zv,optgroup:rC,option:nC,p:Jv,rp:G2,rt:G2,tbody:aC,td:W2,tfoot:sC,th:W2,thead:iC,tr:oC});function uf(e,t,r){let n=Ue(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&wt(n.value.charAt(0)))}function Qv(e,t,r){let n=Ue(r,t);return!n||n.type!=="comment"}function Xv(e,t,r){let n=Ue(r,t);return!n||n.type!=="comment"}function Jv(e,t,r){let n=Ue(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 Zv(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&n.tagName==="li"}function eC(e,t,r){let n=Ue(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function tC(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function G2(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function rC(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function nC(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function iC(e,t,r){let n=Ue(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function aC(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function sC(e,t,r){return!Ue(r,t)}function oC(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function W2(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}var K2=Ko({body:cC,colgroup:fC,head:lC,html:uC,tbody:dC});function uC(e){let t=Ue(e,-1);return!t||t.type!=="comment"}function lC(e){let t=new Set;for(let 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)}let r=e.children[0];return!r||r.type==="element"}function cC(e){let t=Ue(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&wt(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function fC(e,t,r){let n=of(r,t),i=Ue(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&Sa(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function dC(e,t,r){let n=of(r,t),i=Ue(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Sa(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}var Qo={name:[[`
|
|
416
|
+
\f\r &/=>`.split(""),`
|
|
417
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
418
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
419
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
420
|
+
\f\r &>`.split(""),`\0
|
|
421
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
422
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
423
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Q2(e,t,r,n){let i=n.schema,a=i.space==="svg"?!1:n.settings.omitOptionalTags,s=i.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase()),o=[],u;i.space==="html"&&e.tagName==="svg"&&(n.schema=Rt);let l=hC(n,e.properties),c=n.all(i.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=i,c&&(s=!1),(l||!a||!K2(e,t,r))&&(o.push("<",e.tagName,l?" "+l:""),s&&(i.space==="svg"||n.settings.closeSelfClosing)&&(u=l.charAt(l.length-1),(!n.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&o.push(" "),o.push("/")),o.push(">")),o.push(c),!s&&(!a||!Sa(e,t,r))&&o.push("</"+e.tagName+">"),o.join("")}function hC(e,t){let r=[],n=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let a=mC(e,i,t[i]);a&&r.push(a)}}for(;++n<r.length;){let 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 mC(e,t,r){let n=Cr(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,a=e.settings.allowDangerousCharacters?0:1,s=e.quote,o;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"";let u=Pr(n.attribute,Object.assign({},e.settings.characterReferences,{subset:Qo.name[i][a]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?Fs:Bs)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?u:(e.settings.preferUnquoted&&(o=Pr(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Qo.unquoted[i][a]}))),o!==r&&(e.settings.quoteSmart&&Rr(r,s)>Rr(r,e.alternative)&&(s=e.alternative),o=s+Pr(r,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Qo.single:Qo.double)[i][a],attribute:!0}))+s),u+(o&&"="+o))}var pC=["<","&"];function Xo(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:Pr(e.value,Object.assign({},n.settings.characterReferences,{subset:pC}))}function X2(e,t,r,n){return n.settings.allowDangerousHtml?e.value:Xo(e,t,r,n)}function J2(e,t,r,n){return n.all(e)}var Z2=hi("type",{invalid:gC,unknown:bC,handlers:{comment:V2,doctype:Y2,element:Q2,raw:X2,root:J2,text:Xo}});function gC(e){throw new Error("Expected node, not `"+e+"`")}function bC(e){let t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}var yC={},EC={},xC=[];function lf(e,t){let r=t||yC,n=r.quote||'"',i=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:TC,all:vC,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||zo,characterReferences:r.characterReferences||EC,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Rt:Ar,quote:n,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function TC(e,t,r){return Z2(e,t,r,this)}function vC(e){let t=[],r=e&&e.children||xC,n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function Jo(e){let t=this,r={...t.data("settings"),...e};t.compiler=n;function n(i){return lf(i,r)}}var cf={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"};function Zo(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function e4(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function t4(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function ff(e){return t4(e)||Zo(e)}var df={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
424
|
+
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};var CC={}.hasOwnProperty;function Or(e){return CC.call(df,e)?df[e]:!1}var AC=["","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 ka(e,t){let r=t||{},n=typeof r.additional=="string"?r.additional.charCodeAt(0):r.additional,i=[],a=0,s=-1,o="",u,l;r.position&&("start"in r.position||"indent"in r.position?(l=r.position.indent,u=r.position.start):u=r.position);let c=(u?u.line:0)||1,f=(u?u.column:0)||1,m=y(),p;for(a--;++a<=e.length;)if(p===10&&(f=(l?l[s]:0)||1),p=e.charCodeAt(a),p===38){let v=e.charCodeAt(a+1);if(v===9||v===10||v===12||v===32||v===38||v===60||Number.isNaN(v)||n&&v===n){o+=String.fromCharCode(p),f++;continue}let w=a+1,N=w,B=w,q;if(v===35){B=++N;let W=e.charCodeAt(B);W===88||W===120?(q="hexadecimal",B=++N):q="decimal"}else q="named";let _="",U="",H="",F=q==="named"?ff:q==="decimal"?Zo:e4;for(B--;++B<=e.length;){let W=e.charCodeAt(B);if(!F(W))break;H+=String.fromCharCode(W),q==="named"&&$o.includes(H)&&(_=H,U=Or(H))}let O=e.charCodeAt(B)===59;if(O){B++;let W=q==="named"?Or(H):!1;W&&(_=H,U=W)}let ue=1+B-w,ee="";if(!(!O&&r.nonTerminated===!1))if(!H)q!=="named"&&E(4,ue);else if(q==="named"){if(O&&!U)E(5,1);else if(_!==H&&(B=N+_.length,ue=1+B-N,O=!1),!O){let W=_?1:3;if(r.attribute){let se=e.charCodeAt(B);se===61?(E(W,ue),U=""):ff(se)?U="":E(W,ue)}else E(W,ue)}ee=U}else{O||E(2,ue);let W=Number.parseInt(H,q==="hexadecimal"?16:10);if(wC(W))E(7,ue),ee="\uFFFD";else if(W in cf)E(6,ue),ee=cf[W];else{let se="";SC(W)&&E(6,ue),W>65535&&(W-=65536,se+=String.fromCharCode(W>>>10|55296),W=56320|W&1023),ee=se+String.fromCharCode(W)}}if(ee){x(),m=y(),a=B-1,f+=B-w+1,i.push(ee);let W=y();W.offset++,r.reference&&r.reference.call(r.referenceContext||void 0,ee,{start:m,end:W},e.slice(w-1,B)),m=W}else H=e.slice(w-1,B),o+=H,f+=H.length,a=B-1}else p===10&&(c++,s++,f=0),Number.isNaN(p)?x():(o+=String.fromCharCode(p),f++);return i.join("");function y(){return{line:c,column:f,offset:a+((u?u.offset:0)||0)}}function E(v,w){let N;r.warning&&(N=y(),N.column+=w,N.offset+=w,r.warning.call(r.warningContext||void 0,AC[v],N,v))}function x(){o&&(i.push(o),r.text&&r.text.call(r.textContext||void 0,o,{start:m,end:y()}),o="")}}function wC(e){return e>=55296&&e<=57343||e>1114111}function SC(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}var kC={}.hasOwnProperty,DC={},r4=/^[^\t\n\r "#'.<=>`}]+$/,NC=/^[^\t\n\r "'<=>`}]+$/;function Tf(){return{canContainEols:["textDirective"],enter:{directiveContainer:IC,directiveContainerAttributes:mf,directiveContainerLabel:PC,directiveLeaf:_C,directiveLeafAttributes:mf,directiveText:LC,directiveTextAttributes:mf},exit:{directiveContainer:xf,directiveContainerAttributeClassValue:gf,directiveContainerAttributeIdValue:pf,directiveContainerAttributeName:yf,directiveContainerAttributeValue:bf,directiveContainerAttributes:Ef,directiveContainerLabel:RC,directiveContainerName:hf,directiveLeaf:xf,directiveLeafAttributeClassValue:gf,directiveLeafAttributeIdValue:pf,directiveLeafAttributeName:yf,directiveLeafAttributeValue:bf,directiveLeafAttributes:Ef,directiveLeafName:hf,directiveText:xf,directiveTextAttributeClassValue:gf,directiveTextAttributeIdValue:pf,directiveTextAttributeName:yf,directiveTextAttributeValue:bf,directiveTextAttributes:Ef,directiveTextName:hf}}}function vf(e){let t=e||DC;if(t.quote!=='"'&&t.quote!=="'"&&t.quote!==null&&t.quote!==void 0)throw new Error("Invalid quote `"+t.quote+"`, expected `'` or `\"`");return r.peek=OC,{handlers:{containerDirective:r,leafDirective:r,textDirective:r},unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
|
|
425
|
+
`,inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{before:"[^:]",character:":",after:"[A-Za-z]",inConstruct:["phrasing"]},{atBreak:!0,character:":",after:":"}]};function r(a,s,o,u){let l=o.createTracker(u),c=MC(a),f=o.enter(a.type),m=l.move(c+(a.name||"")),p;if(a.type==="containerDirective"){let y=(a.children||[])[0];p=n4(y)?y:void 0}else p=a;if(p&&p.children&&p.children.length>0){let y=o.enter("label"),E=`${a.type}Label`,x=o.enter(E);m+=l.move("["),m+=l.move(o.containerPhrasing(p,{...l.current(),before:m,after:"]"})),m+=l.move("]"),x(),y()}if(m+=l.move(n(a,o)),a.type==="containerDirective"){let y=(a.children||[])[0],E=a;n4(y)&&(E=Object.assign({},a,{children:a.children.slice(1)})),E&&E.children&&E.children.length>0&&(m+=l.move(`
|
|
426
|
+
`),m+=l.move(o.containerFlow(E,l.current()))),m+=l.move(`
|
|
427
|
+
`+c)}return f(),m}function n(a,s){let o=a.attributes||{},u=[],l,c,f,m;for(m in o)if(kC.call(o,m)&&o[m]!==void 0&&o[m]!==null){let p=String(o[m]);if(m==="id")f=t.preferShortcut!==!1&&r4.test(p)?"#"+p:i("id",p,a,s);else if(m==="class"){let y=p.split(/[\t\n\r ]+/g),E=[],x=[],v=-1;for(;++v<y.length;)(t.preferShortcut!==!1&&r4.test(y[v])?x:E).push(y[v]);l=E.length>0?i("class",E.join(" "),a,s):"",c=x.length>0?"."+x.join("."):""}else u.push(i(m,p,a,s))}return l&&u.unshift(l),c&&u.unshift(c),f&&u.unshift(f),u.length>0?"{"+u.join(" ")+"}":""}function i(a,s,o,u){if(t.collapseEmptyAttributes!==!1&&!s)return a;if(t.preferUnquoted&&NC.test(s))return a+"="+s;let l=t.quote||u.options.quote||'"',c=l==='"'?"'":'"',f=t.quoteSmart&&Rr(s,l)>Rr(s,c)?c:l,m=o.type==="textDirective"?[f]:[f,`
|
|
428
|
+
`,"\r"];return a+"="+f+j2(s,{subset:m})+f}}function IC(e){Cf.call(this,"containerDirective",e)}function _C(e){Cf.call(this,"leafDirective",e)}function LC(e){Cf.call(this,"textDirective",e)}function Cf(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function hf(e){let t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function PC(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function RC(e){this.exit(e)}function mf(){this.data.directiveAttributes=[],this.buffer()}function pf(e){let t=this.data.directiveAttributes;t.push(["id",ka(this.sliceSerialize(e),{attribute:!0})])}function gf(e){let t=this.data.directiveAttributes;t.push(["class",ka(this.sliceSerialize(e),{attribute:!0})])}function bf(e){let t=this.data.directiveAttributes;t[t.length-1][1]=ka(this.sliceSerialize(e),{attribute:!0})}function yf(e){let t=this.data.directiveAttributes;t.push([this.sliceSerialize(e),""])}function Ef(){let e=this.data.directiveAttributes;let t={},r=-1;for(;++r<e.length;){let i=e[r];i[0]==="class"&&t.class?t.class+=" "+i[1]:t[i[0]]=i[1]}this.data.directiveAttributes=void 0,this.resume();let n=this.stack[this.stack.length-1];n.type==="containerDirective"||n.type==="leafDirective"||n.type,n.attributes=t}function xf(e){this.exit(e)}function OC(){return":"}function n4(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function MC(e){let t=0;return e.type==="containerDirective"?(Vt(e,function(r,n){if(r.type==="containerDirective"){let i=n.length,a=0;for(;i--;)n[i].type==="containerDirective"&&a++;a>t&&(t=a)}}),t+=3):e.type==="leafDirective"?t=2:t=1,":".repeat(t)}var Ke=an(/[A-Za-z]/),Fe=an(/[\dA-Za-z]/),i4=an(/[#-'*+\--9=?A-Z^-~]/);function Pn(e){return e!==null&&(e<32||e===127)}var Da=an(/\d/),a4=an(/[\dA-Fa-f]/),s4=an(/[!-/:-@[-`{-~]/);function Y(e){return e!==null&&e<-2}function me(e){return e!==null&&(e<0||e===32)}function oe(e){return e===-2||e===-1||e===32}var Nt=an(/\p{P}|\p{S}/u),ot=an(/\s/);function an(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ie(e,t,r,n){let i=n?n-1:Number.POSITIVE_INFINITY,a=0;return s;function s(u){return oe(u)?(e.enter(r),o(u)):t(u)}function o(u){return oe(u)&&a++<i?(e.consume(u),o):(e.exit(r),t(u))}}function Bt(e,t){let r;return n;function n(i){return Y(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):oe(i)?ie(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function gi(e,t,r,n,i,a,s,o,u,l,c,f,m,p,y){let E,x;return v;function v(R){return e.enter(n),e.enter(i),e.consume(R),e.exit(i),w}function w(R){return R===35?(E=s,N(R)):R===46?(E=o,N(R)):y&&oe(R)?ie(e,w,"whitespace")(R):!y&&me(R)?Bt(e,w)(R):R===null||Y(R)||ot(R)||Nt(R)&&R!==45&&R!==95?se(R):(e.enter(a),e.enter(u),e.consume(R),_)}function N(R){let ce=E+"Marker";return e.enter(a),e.enter(E),e.enter(ce),e.consume(R),e.exit(ce),B}function B(R){if(R===null||R===34||R===35||R===39||R===46||R===60||R===61||R===62||R===96||R===125||me(R))return r(R);let ce=E+"Value";return e.enter(ce),e.consume(R),q}function q(R){if(R===null||R===34||R===39||R===60||R===61||R===62||R===96)return r(R);if(R===35||R===46||R===125||me(R)){let ce=E+"Value";return e.exit(ce),e.exit(E),e.exit(a),w(R)}return e.consume(R),q}function _(R){return R===null||Y(R)||ot(R)||Nt(R)&&R!==45&&R!==46&&R!==58&&R!==95?(e.exit(u),y&&oe(R)?ie(e,U,"whitespace")(R):!y&&me(R)?Bt(e,U)(R):U(R)):(e.consume(R),_)}function U(R){return R===61?(e.enter(l),e.consume(R),e.exit(l),H):(e.exit(a),w(R))}function H(R){return R===null||R===60||R===61||R===62||R===96||R===125||y&&Y(R)?r(R):R===34||R===39?(e.enter(c),e.enter(m),e.consume(R),e.exit(m),x=R,O):y&&oe(R)?ie(e,H,"whitespace")(R):!y&&me(R)?Bt(e,H)(R):(e.enter(f),e.enter(p),e.consume(R),x=void 0,F)}function F(R){return R===null||R===34||R===39||R===60||R===61||R===62||R===96?r(R):R===125||me(R)?(e.exit(p),e.exit(f),e.exit(a),w(R)):(e.consume(R),F)}function O(R){return R===x?(e.enter(m),e.consume(R),e.exit(m),e.exit(c),e.exit(a),W):(e.enter(f),ue(R))}function ue(R){return R===x?(e.exit(f),O(R)):R===null?r(R):Y(R)?y?r(R):Bt(e,ue)(R):(e.enter(p),e.consume(R),ee)}function ee(R){return R===x||R===null||Y(R)?(e.exit(p),ue(R)):(e.consume(R),ee)}function W(R){return R===125||me(R)?w(R):se(R)}function se(R){return R===125?(e.enter(i),e.consume(R),e.exit(i),e.exit(n),t):r(R)}}function bi(e,t,r,n,i,a,s){let o=0,u=0,l;return c;function c(x){return e.enter(n),e.enter(i),e.consume(x),e.exit(i),f}function f(x){return x===93?(e.enter(i),e.consume(x),e.exit(i),e.exit(n),t):(e.enter(a),m(x))}function m(x){if(x===93&&!u)return E(x);let v=e.enter("chunkText",{_contentTypeTextTrailing:!0,contentType:"text",previous:l});return l&&(l.next=v),l=v,p(x)}function p(x){return x===null||o>999||x===91&&++u>32?r(x):x===93&&!u--?(e.exit("chunkText"),E(x)):Y(x)?s?r(x):(e.consume(x),e.exit("chunkText"),m):(e.consume(x),x===92?y:p)}function y(x){return x===91||x===92||x===93?(e.consume(x),o++,p):p(x)}function E(x){return e.exit(a),e.enter(i),e.consume(x),e.exit(i),e.exit(n),t}}function yi(e,t,r,n){let i=this;return a;function a(o){return o===null||Y(o)||Nt(o)||ot(o)?r(o):(e.enter(n),e.consume(o),s)}function s(o){return o===null||Y(o)||ot(o)||Nt(o)&&o!==45&&o!==95?(e.exit(n),i.previous===45||i.previous===95?r(o):t(o)):(e.consume(o),s)}}var o4={tokenize:qC,concrete:!0},FC={tokenize:UC,partial:!0},BC={tokenize:HC,partial:!0},eu={tokenize:zC,partial:!0};function qC(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0,o;return u;function u(F){return e.enter("directiveContainer"),e.enter("directiveContainerFence"),e.enter("directiveContainerSequence"),l(F)}function l(F){return F===58?(e.consume(F),s++,l):s<3?r(F):(e.exit("directiveContainerSequence"),yi.call(n,e,c,r,"directiveContainerName")(F))}function c(F){return F===91?e.attempt(FC,f,f)(F):f(F)}function f(F){return F===123?e.attempt(BC,m,m)(F):m(F)}function m(F){return ie(e,p,"whitespace")(F)}function p(F){return e.exit("directiveContainerFence"),F===null?U(F):Y(F)?n.interrupt?t(F):e.attempt(eu,y,U)(F):r(F)}function y(F){return F===null?U(F):Y(F)?e.check(eu,N,U)(F):(e.enter("directiveContainerContent"),E(F))}function E(F){return e.attempt({tokenize:H,partial:!0},_,a?ie(e,x,"linePrefix",a+1):x)(F)}function x(F){return F===null?_(F):Y(F)?e.check(eu,w,_)(F):w(F)}function v(F){if(F===null){let O=e.exit("chunkDocument");return n.parser.lazy[O.start.line]=!1,_(F)}return Y(F)?e.check(eu,B,q)(F):(e.consume(F),v)}function w(F){let O=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=O),o=O,v(F)}function N(F){return e.enter("directiveContainerContent"),E(F)}function B(F){e.consume(F);let O=e.exit("chunkDocument");return n.parser.lazy[O.start.line]=!1,E}function q(F){let O=e.exit("chunkDocument");return n.parser.lazy[O.start.line]=!1,_(F)}function _(F){return e.exit("directiveContainerContent"),U(F)}function U(F){return e.exit("directiveContainer"),t(F)}function H(F,O,ue){let ee=0;return ie(F,W,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function W(ce){return F.enter("directiveContainerFence"),F.enter("directiveContainerSequence"),se(ce)}function se(ce){return ce===58?(F.consume(ce),ee++,se):ee<s?ue(ce):(F.exit("directiveContainerSequence"),ie(F,R,"whitespace")(ce))}function R(ce){return ce===null||Y(ce)?(F.exit("directiveContainerFence"),O(ce)):ue(ce)}}}function UC(e,t,r){return bi(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function HC(e,t,r){return gi(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function zC(e,t,r){let n=this;return i;function i(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}var u4={tokenize:YC},jC={tokenize:$C,partial:!0},VC={tokenize:GC,partial:!0};function YC(e,t,r){let n=this;return i;function i(c){return e.enter("directiveLeaf"),e.enter("directiveLeafSequence"),e.consume(c),a}function a(c){return c===58?(e.consume(c),e.exit("directiveLeafSequence"),yi.call(n,e,s,r,"directiveLeafName")):r(c)}function s(c){return c===91?e.attempt(jC,o,o)(c):o(c)}function o(c){return c===123?e.attempt(VC,u,u)(c):u(c)}function u(c){return ie(e,l,"whitespace")(c)}function l(c){return c===null||Y(c)?(e.exit("directiveLeaf"),t(c)):r(c)}}function $C(e,t,r){return bi(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function GC(e,t,r){return gi(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}var l4={tokenize:XC,previous:QC},WC={tokenize:JC,partial:!0},KC={tokenize:ZC,partial:!0};function QC(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function XC(e,t,r){let n=this;return i;function i(u){return e.enter("directiveText"),e.enter("directiveTextMarker"),e.consume(u),e.exit("directiveTextMarker"),yi.call(n,e,a,r,"directiveTextName")}function a(u){return u===58?r(u):u===91?e.attempt(WC,s,s)(u):s(u)}function s(u){return u===123?e.attempt(KC,o,o)(u):o(u)}function o(u){return e.exit("directiveText"),t(u)}}function JC(e,t,r){return bi(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function ZC(e,t,r){return gi(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function Af(){return{text:{58:l4},flow:{58:[o4,u4]}}}function tu(){let t=this.data(),r=t.micromarkExtensions||(t.micromarkExtensions=[]),n=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),i=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);r.push(Af()),n.push(Tf()),i.push(vf())}var f4=Jl(c4(),1),Na=Object.assign(Rn(Error),{eval:Rn(EvalError),range:Rn(RangeError),reference:Rn(ReferenceError),syntax:Rn(SyntaxError),type:Rn(TypeError),uri:Rn(URIError)});function Rn(e){return t.displayName=e.displayName||e.name,t;function t(r,...n){let i=r&&(0,f4.default)(r,...n);return new e(i)}}var ru={}.hasOwnProperty,d4={yaml:"-",toml:"+"};function Ei(e){let t=[],r=-1,n=Array.isArray(e)?e:e?[e]:["yaml"];for(;++r<n.length;)t[r]=eA(n[r]);return t}function eA(e){let t=e;if(typeof t=="string"){if(!ru.call(d4,t))throw Na("Missing matter definition for `%s`",t);t={type:t,marker:d4[t]}}else if(typeof t!="object")throw Na("Expected matter to be an object, not `%j`",t);if(!ru.call(t,"type"))throw Na("Missing `type` in matter `%j`",t);if(!ru.call(t,"fence")&&!ru.call(t,"marker"))throw Na("Missing `marker` or `fence` in matter `%j`",t);return t}function kf(e){let t=Ei(e),r={},n=-1;for(;++n<t.length;){let i=t[n],a=Sf(i,"open").charCodeAt(0),s=tA(i),o=r[a];Array.isArray(o)?o.push(s):r[a]=[s]}return{flow:r}}function tA(e){let t=e.anywhere,r=e.type,n=r+"Fence",i=n+"Sequence",a=r+"Value",s={tokenize:c,partial:!0},o,u=0;return{tokenize:l,concrete:!0};function l(f,m,p){let y=this;return E;function E(U){let H=y.now();return H.column===1&&(H.line===1||t)&&(o=Sf(e,"open"),u=0,U===o.charCodeAt(u))?(f.enter(r),f.enter(n),f.enter(i),x(U)):p(U)}function x(U){return u===o.length?(f.exit(i),oe(U)?(f.enter("whitespace"),v(U)):w(U)):U===o.charCodeAt(u++)?(f.consume(U),x):p(U)}function v(U){return oe(U)?(f.consume(U),v):(f.exit("whitespace"),w(U))}function w(U){return Y(U)?(f.exit(n),f.enter("lineEnding"),f.consume(U),f.exit("lineEnding"),o=Sf(e,"close"),u=0,f.attempt(s,_,N)):p(U)}function N(U){return U===null||Y(U)?q(U):(f.enter(a),B(U))}function B(U){return U===null||Y(U)?(f.exit(a),q(U)):(f.consume(U),B)}function q(U){return U===null?p(U):(f.enter("lineEnding"),f.consume(U),f.exit("lineEnding"),f.attempt(s,_,N))}function _(U){return f.exit(r),m(U)}}function c(f,m,p){let y=0;return E;function E(N){return N===o.charCodeAt(y)?(f.enter(n),f.enter(i),x(N)):p(N)}function x(N){return y===o.length?(f.exit(i),oe(N)?(f.enter("whitespace"),v(N)):w(N)):N===o.charCodeAt(y++)?(f.consume(N),x):p(N)}function v(N){return oe(N)?(f.consume(N),v):(f.exit("whitespace"),w(N))}function w(N){return N===null||Y(N)?(f.exit(n),m(N)):p(N)}}}function Sf(e,t){return e.marker?h4(e.marker,t).repeat(3):h4(e.fence,t)}function h4(e,t){return typeof e=="string"?e:e[t]}function Ia(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Nf(e){let t=Ei(e),r={},n={},i=-1;for(;++i<t.length;){let a=t[i];r[a.type]=rA(a),n[a.type]=nA,n[a.type+"Value"]=iA}return{enter:r,exit:n}}function rA(e){return t;function t(r){this.enter({type:e.type,value:""},r),this.buffer()}}function nA(e){let t=this.resume(),r=this.stack[this.stack.length-1];"value"in r,this.exit(e),r.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function iA(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function If(e){let t=[],r={},n=Ei(e),i=-1;for(;++i<n.length;){let a=n[i];r[a.type]=aA(a);let s=Df(a,"open");t.push({atBreak:!0,character:s.charAt(0),after:Ia(s.charAt(1))})}return{unsafe:t,handlers:r}}function aA(e){let t=Df(e,"open"),r=Df(e,"close");return n;function n(i){return t+(i.value?`
|
|
429
|
+
`+i.value:"")+`
|
|
430
|
+
`+r}}function Df(e,t){return e.marker?m4(e.marker,t).repeat(3):m4(e.fence,t)}function m4(e,t){return typeof e=="string"?e:e[t]}var sA="yaml";function nu(e){let t=this,r=e||sA,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(kf(r)),a.push(Nf(r)),s.push(If(r))}function _f(e,t,r){let i=Lt((r||{}).ignore||[]),a=oA(t),s=-1;for(;++s<a.length;)Vt(e,"text",o);function o(l,c){let f=-1,m;for(;++f<c.length;){let p=c[f],y=m?m.children:void 0;if(i(p,y?y.indexOf(p):void 0,m))return;m=p}if(m)return u(l,c)}function u(l,c){let f=c[c.length-1],m=a[s][0],p=a[s][1],y=0,x=f.children.indexOf(l),v=!1,w=[];m.lastIndex=0;let N=m.exec(l.value);for(;N;){let B=N.index,q={index:N.index,input:N.input,stack:[...c,l]},_=p(...N,q);if(typeof _=="string"&&(_=_.length>0?{type:"text",value:_}:void 0),_===!1?m.lastIndex=B+1:(y!==B&&w.push({type:"text",value:l.value.slice(y,B)}),Array.isArray(_)?w.push(..._):_&&w.push(_),y=B+N[0].length,v=!0),!m.global)break;N=m.exec(l.value)}return v?(y<l.value.length&&w.push({type:"text",value:l.value.slice(y)}),f.children.splice(x,1,...w)):w=[l],x+w.length}}function oA(e){let t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<r.length;){let i=r[n];t.push([uA(i[0]),lA(i[1])])}return t}function uA(e){return typeof e=="string"?new RegExp(Ia(e),"g"):e}function lA(e){return typeof e=="function"?e:function(){return e}}var Lf="phrasing",Pf=["autolink","link","image","label"];function Of(){return{transforms:[pA],enter:{literalAutolink:cA,literalAutolinkEmail:Rf,literalAutolinkHttp:Rf,literalAutolinkWww:Rf},exit:{literalAutolink:mA,literalAutolinkEmail:hA,literalAutolinkHttp:fA,literalAutolinkWww:dA}}}function Mf(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Lf,notInConstruct:Pf},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Lf,notInConstruct:Pf},{character:":",before:"[ps]",after:"\\/",inConstruct:Lf,notInConstruct:Pf}]}}function cA(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Rf(e){this.config.enter.autolinkProtocol.call(this,e)}function fA(e){this.config.exit.autolinkProtocol.call(this,e)}function dA(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function hA(e){this.config.exit.autolinkEmail.call(this,e)}function mA(e){this.exit(e)}function pA(e){_f(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,gA],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,bA]],{ignore:["link","linkReference"]})}function gA(e,t,r,n,i){let a="";if(!p4(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!yA(r)))return!1;let s=EA(r+n);if(!s[0])return!1;let o={type:"link",title:null,url:a+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function bA(e,t,r,n){return!p4(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function yA(e){let 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 EA(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")"),i=Rr(e,"("),a=Rr(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 p4(e,t){let r=e.input.charCodeAt(e.index-1);return(e.index===0||ot(r)||Nt(r))&&(!t||r!==47)}function ut(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}g4.peek=DA;function xA(){this.buffer()}function TA(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function vA(){this.buffer()}function CA(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function AA(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ut(this.sliceSerialize(e)).toLowerCase(),r.label=t}function wA(e){this.exit(e)}function SA(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ut(this.sliceSerialize(e)).toLowerCase(),r.label=t}function kA(e){this.exit(e)}function DA(){return"["}function g4(e,t,r,n){let i=r.createTracker(n),a=i.move("[^"),s=r.enter("footnoteReference"),o=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),o(),s(),a+=i.move("]"),a}function Ff(){return{enter:{gfmFootnoteCallString:xA,gfmFootnoteCall:TA,gfmFootnoteDefinitionLabelString:vA,gfmFootnoteDefinition:CA},exit:{gfmFootnoteCallString:AA,gfmFootnoteCall:wA,gfmFootnoteDefinitionLabelString:SA,gfmFootnoteDefinition:kA}}}function Bf(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:g4},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,i,a,s){let o=a.createTracker(s),u=o.move("[^"),l=a.enter("footnoteDefinition"),c=a.enter("label");return u+=o.move(a.safe(a.associationId(n),{before:u,after:"]"})),c(),u+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),u+=o.move((t?`
|
|
431
|
+
`:" ")+a.indentLines(a.containerFlow(n,o.current()),t?b4:NA))),l(),u}}function NA(e,t,r){return t===0?e:b4(e,t,r)}function b4(e,t,r){return(r?"":" ")+e}var IA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];y4.peek=PA;function qf(){return{canContainEols:["delete"],enter:{strikethrough:_A},exit:{strikethrough:LA}}}function Uf(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:IA}],handlers:{delete:y4}}}function _A(e){this.enter({type:"delete",children:[]},e)}function LA(e){this.exit(e)}function y4(e,t,r,n){let i=r.createTracker(n),a=r.enter("strikethrough"),s=i.move("~~");return s+=r.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),a(),s}function PA(){return"~"}function RA(e){return e.length}function x4(e,t){let r=t||{},n=(r.align||[]).concat(),i=r.stringLength||RA,a=[],s=[],o=[],u=[],l=0,c=-1;for(;++c<e.length;){let E=[],x=[],v=-1;for(e[c].length>l&&(l=e[c].length);++v<e[c].length;){let w=OA(e[c][v]);if(r.alignDelimiters!==!1){let N=i(w);x[v]=N,(u[v]===void 0||N>u[v])&&(u[v]=N)}E.push(w)}s[c]=E,o[c]=x}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)a[f]=E4(n[f]);else{let E=E4(n);for(;++f<l;)a[f]=E}f=-1;let m=[],p=[];for(;++f<l;){let E=a[f],x="",v="";E===99?(x=":",v=":"):E===108?x=":":E===114&&(v=":");let w=r.alignDelimiters===!1?1:Math.max(1,u[f]-x.length-v.length),N=x+"-".repeat(w)+v;r.alignDelimiters!==!1&&(w=x.length+w+v.length,w>u[f]&&(u[f]=w),p[f]=w),m[f]=N}s.splice(1,0,m),o.splice(1,0,p),c=-1;let y=[];for(;++c<s.length;){let E=s[c],x=o[c];f=-1;let v=[];for(;++f<l;){let w=E[f]||"",N="",B="";if(r.alignDelimiters!==!1){let q=u[f]-(x[f]||0),_=a[f];_===114?N=" ".repeat(q):_===99?q%2?(N=" ".repeat(q/2+.5),B=" ".repeat(q/2-.5)):(N=" ".repeat(q/2),B=N):B=" ".repeat(q)}r.delimiterStart!==!1&&!f&&v.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&w==="")&&(r.delimiterStart!==!1||f)&&v.push(" "),r.alignDelimiters!==!1&&v.push(N),v.push(w),r.alignDelimiters!==!1&&v.push(B),r.padding!==!1&&v.push(" "),(r.delimiterEnd!==!1||f!==l-1)&&v.push("|")}y.push(r.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return y.join(`
|
|
432
|
+
`)}function OA(e){return e==null?"":String(e)}function E4(e){let 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 T4(e,t,r,n){let i=r.enter("blockquote"),a=r.createTracker(n);a.move("> "),a.shift(2);let s=r.indentLines(r.containerFlow(e,a.current()),MA);return i(),s}function MA(e,t,r){return">"+(r?"":" ")+e}function C4(e,t){return v4(e,t.inConstruct,!0)&&!v4(e,t.notInConstruct,!1)}function v4(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 Hf(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
|
|
433
|
+
`&&C4(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
434
|
+
`}function iu(e,t){let r=String(e),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 A4(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 w4(e){let t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function S4(e,t,r,n){let i=w4(r),a=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(A4(e,r)){let f=r.enter("codeIndented"),m=r.indentLines(a,FA);return f(),m}let o=r.createTracker(n),u=i.repeat(Math.max(iu(a,i)+1,3)),l=r.enter("codeFenced"),c=o.move(u);if(e.lang){let f=r.enter(`codeFencedLang${s}`);c+=o.move(r.safe(e.lang,{before:c,after:" ",encode:["`"],...o.current()})),f()}if(e.lang&&e.meta){let f=r.enter(`codeFencedMeta${s}`);c+=o.move(" "),c+=o.move(r.safe(e.meta,{before:c,after:`
|
|
435
|
+
`,encode:["`"],...o.current()})),f()}return c+=o.move(`
|
|
436
|
+
`),a&&(c+=o.move(a+`
|
|
437
|
+
`)),c+=o.move(u),l(),c}function FA(e,t,r){return(r?"":" ")+e}function xi(e){let t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function k4(e,t,r,n){let i=xi(r),a=i==='"'?"Quote":"Apostrophe",s=r.enter("definition"),o=r.enter("label"),u=r.createTracker(n),l=u.move("[");return l+=u.move(r.safe(r.associationId(e),{before:l,after:"]",...u.current()})),l+=u.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(r.safe(e.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(o=r.enter("destinationRaw"),l+=u.move(r.safe(e.url,{before:l,after:e.title?" ":`
|
|
438
|
+
`,...u.current()}))),o(),e.title&&(o=r.enter(`title${a}`),l+=u.move(" "+i),l+=u.move(r.safe(e.title,{before:l,after:i,...u.current()})),l+=u.move(i),o()),s(),l}function D4(e){let t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function sn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Mr(e){if(e===null||me(e)||ot(e))return 1;if(Nt(e))return 2}function Ti(e,t,r){let n=Mr(e),i=Mr(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}}zf.peek=BA;function zf(e,t,r,n){let i=D4(r),a=r.enter("emphasis"),s=r.createTracker(n),o=s.move(i),u=s.move(r.containerPhrasing(e,{after:i,before:o,...s.current()})),l=u.charCodeAt(0),c=Ti(n.before.charCodeAt(n.before.length-1),l,i);c.inside&&(u=sn(l)+u.slice(1));let f=u.charCodeAt(u.length-1),m=Ti(n.after.charCodeAt(0),f,i);m.inside&&(u=u.slice(0,-1)+sn(f));let p=s.move(i);return a(),r.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},o+u+p}function BA(e,t,r){return r.options.emphasis||"*"}var qA={};function On(e,t){let r=t||qA,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return I4(e,n,i)}function I4(e,t,r){if(UA(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 N4(e.children,t,r)}return Array.isArray(e)?N4(e,t,r):""}function N4(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=I4(e[i],t,r);return n.join("")}function UA(e){return!!(e&&typeof e=="object")}function _4(e,t){let r=!1;return Kt(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,wn}),!!((!e.depth||e.depth<3)&&On(e)&&(t.options.setext||r))}function L4(e,t,r,n){let i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if(_4(e,r)){let c=r.enter("headingSetext"),f=r.enter("phrasing"),m=r.containerPhrasing(e,{...a.current(),before:`
|
|
439
|
+
`,after:`
|
|
440
|
+
`});return f(),c(),m+`
|
|
441
|
+
`+(i===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
|
|
442
|
+
`))+1))}let s="#".repeat(i),o=r.enter("headingAtx"),u=r.enter("phrasing");a.move(s+" ");let l=r.containerPhrasing(e,{before:"# ",after:`
|
|
443
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=sn(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),u(),o(),l}jf.peek=HA;function jf(e){return e.value||""}function HA(){return"<"}Vf.peek=zA;function Vf(e,t,r,n){let i=xi(r),a=i==='"'?"Quote":"Apostrophe",s=r.enter("image"),o=r.enter("label"),u=r.createTracker(n),l=u.move("![");return l+=u.move(r.safe(e.alt,{before:l,after:"]",...u.current()})),l+=u.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(r.safe(e.url,{before:l,after:">",...u.current()})),l+=u.move(">")):(o=r.enter("destinationRaw"),l+=u.move(r.safe(e.url,{before:l,after:e.title?" ":")",...u.current()}))),o(),e.title&&(o=r.enter(`title${a}`),l+=u.move(" "+i),l+=u.move(r.safe(e.title,{before:l,after:i,...u.current()})),l+=u.move(i),o()),l+=u.move(")"),s(),l}function zA(){return"!"}Yf.peek=jA;function Yf(e,t,r,n){let i=e.referenceType,a=r.enter("imageReference"),s=r.enter("label"),o=r.createTracker(n),u=o.move("!["),l=r.safe(e.alt,{before:u,after:"]",...o.current()});u+=o.move(l+"]["),s();let c=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(e),{before:u,after:"]",...o.current()});return s(),r.stack=c,a(),i==="full"||!l||l!==f?u+=o.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function jA(){return"!"}$f.peek=VA;function $f(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;){let s=r.unsafe[a],o=r.compilePattern(s),u;if(s.atBreak)for(;u=o.exec(n);){let l=u.index;n.charCodeAt(l)===10&&n.charCodeAt(l-1)===13&&l--,n=n.slice(0,l)+" "+n.slice(u.index+1)}}return i+n+i}function VA(){return"`"}function Gf(e,t){let r=On(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))}Wf.peek=YA;function Wf(e,t,r,n){let i=xi(r),a=i==='"'?"Quote":"Apostrophe",s=r.createTracker(n),o,u;if(Gf(e,r)){let c=r.stack;r.stack=[],o=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(e,{before:f,after:">",...s.current()})),f+=s.move(">"),o(),r.stack=c,f}o=r.enter("link"),u=r.enter("label");let l=s.move("[");return l+=s.move(r.containerPhrasing(e,{before:l,after:"](",...s.current()})),l+=s.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(r.safe(e.url,{before:l,after:">",...s.current()})),l+=s.move(">")):(u=r.enter("destinationRaw"),l+=s.move(r.safe(e.url,{before:l,after:e.title?" ":")",...s.current()}))),u(),e.title&&(u=r.enter(`title${a}`),l+=s.move(" "+i),l+=s.move(r.safe(e.title,{before:l,after:i,...s.current()})),l+=s.move(i),u()),l+=s.move(")"),o(),l}function YA(e,t,r){return Gf(e,r)?"<":"["}Kf.peek=$A;function Kf(e,t,r,n){let i=e.referenceType,a=r.enter("linkReference"),s=r.enter("label"),o=r.createTracker(n),u=o.move("["),l=r.containerPhrasing(e,{before:u,after:"]",...o.current()});u+=o.move(l+"]["),s();let c=r.stack;r.stack=[],s=r.enter("reference");let f=r.safe(r.associationId(e),{before:u,after:"]",...o.current()});return s(),r.stack=c,a(),i==="full"||!l||l!==f?u+=o.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function $A(){return"["}function vi(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function P4(e){let t=vi(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 R4(e){let t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function au(e){let t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function O4(e,t,r,n){let i=r.enter("list"),a=r.bulletCurrent,s=e.ordered?R4(r):vi(r),o=e.ordered?s==="."?")":".":P4(r),u=t&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!e.ordered){let c=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&c&&(!c.children||!c.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),au(r)===s&&c){let f=-1;for(;++f<e.children.length;){let m=e.children[f];if(m&&m.type==="listItem"&&m.children&&m.children[0]&&m.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(s=o),r.bulletCurrent=s;let l=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=a,i(),l}function M4(e){let 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 F4(e,t,r,n){let i=M4(r),a=r.bulletCurrent||vi(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);let o=r.createTracker(n);o.move(a+" ".repeat(s-a.length)),o.shift(s);let u=r.enter("listItem"),l=r.indentLines(r.containerFlow(e,o.current()),c);return u(),l;function c(f,m,p){return m?(p?"":" ".repeat(s))+f:(p?a:a+" ".repeat(s-a.length))+f}}function B4(e,t,r,n){let i=r.enter("paragraph"),a=r.enter("phrasing"),s=r.containerPhrasing(e,n);return a(),i(),s}var Qf=Lt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function q4(e,t,r,n){return(e.children.some(function(s){return Qf(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function U4(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Xf.peek=GA;function Xf(e,t,r,n){let i=U4(r),a=r.enter("strong"),s=r.createTracker(n),o=s.move(i+i),u=s.move(r.containerPhrasing(e,{after:i,before:o,...s.current()})),l=u.charCodeAt(0),c=Ti(n.before.charCodeAt(n.before.length-1),l,i);c.inside&&(u=sn(l)+u.slice(1));let f=u.charCodeAt(u.length-1),m=Ti(n.after.charCodeAt(0),f,i);m.inside&&(u=u.slice(0,-1)+sn(f));let p=s.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},o+u+p}function GA(e,t,r){return r.options.strong||"*"}function H4(e,t,r,n){return r.safe(e.value,n)}function z4(e){let 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 j4(e,t,r){let n=(au(r)+(r.options.ruleSpaces?" ":"")).repeat(z4(r));return r.options.ruleSpaces?n.slice(0,-1):n}var _a={blockquote:T4,break:Hf,code:S4,definition:k4,emphasis:zf,hardBreak:Hf,heading:L4,html:jf,image:Vf,imageReference:Yf,inlineCode:$f,link:Wf,linkReference:Kf,list:O4,listItem:F4,paragraph:B4,root:q4,strong:Xf,text:H4,thematicBreak:j4};function su(e,t){let 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?"\uFFFD":String.fromCodePoint(r)}var WA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function V4(e){return e.replace(WA,KA)}function KA(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),a=i===120||i===88;return su(r.slice(a?2:1),a?16:10)}return Or(r)||e}function Zf(){return{enter:{table:QA,tableData:Y4,tableHeader:Y4,tableRow:JA},exit:{codeText:ZA,table:XA,tableData:Jf,tableHeader:Jf,tableRow:Jf}}}function QA(e){let t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function XA(e){this.exit(e),this.data.inTable=void 0}function JA(e){this.enter({type:"tableRow",children:[]},e)}function Jf(e){this.exit(e)}function Y4(e){this.enter({type:"tableCell",children:[]},e)}function ZA(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ew));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function ew(e,t){return t==="|"?t:e}function ed(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
444
|
+
`,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:o}};function s(p,y,E,x){return l(c(p,E,x),p.align)}function o(p,y,E,x){let v=f(p,E,x),w=l([v]);return w.slice(0,w.indexOf(`
|
|
445
|
+
`))}function u(p,y,E,x){let v=E.enter("tableCell"),w=E.enter("phrasing"),N=E.containerPhrasing(p,{...x,before:a,after:a});return w(),v(),N}function l(p,y){return x4(p,{align:y,alignDelimiters:n,padding:r,stringLength:i})}function c(p,y,E){let x=p.children,v=-1,w=[],N=y.enter("table");for(;++v<x.length;)w[v]=f(x[v],y,E);return N(),w}function f(p,y,E){let x=p.children,v=-1,w=[],N=y.enter("tableRow");for(;++v<x.length;)w[v]=u(x[v],p,y,E);return N(),w}function m(p,y,E){let x=_a.inlineCode(p,y,E);return E.stack.includes("tableCell")&&(x=x.replace(/\|/g,"\\$&")),x}}function td(){return{exit:{taskListCheckValueChecked:$4,taskListCheckValueUnchecked:$4,paragraph:tw}}}function rd(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:rw}}}function $4(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function tw(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let r=this.stack[this.stack.length-1];r.type;let n=r.children[0];if(n&&n.type==="text"){let i=t.children,a=-1,s;for(;++a<i.length;){let o=i[a];if(o.type==="paragraph"){s=o;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 rw(e,t,r,n){let i=e.children[0],a=typeof e.checked=="boolean"&&i&&i.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);a&&o.move(s);let u=_a.listItem(e,t,r,{...n,...o.current()});return a&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),u;function l(c){return c+s}}function nd(){return[Of(),Ff(),qf(),Zf(),td()]}function id(e){return{extensions:[Mf(),Bf(e),Uf(),ed(e),rd()]}}function He(e,t,r,n){let i=e.length,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 yt(e,t){return e.length>0?(He(e,e.length,0,t),e):t}var G4={}.hasOwnProperty;function ou(e){let t={},r=-1;for(;++r<e.length;)nw(t,e[r]);return t}function nw(e,t){let r;for(r in t){let i=(G4.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r],s;if(a)for(s in a){G4.call(i,s)||(i[s]=[]);let o=a[s];iw(i[s],Array.isArray(o)?o:o?[o]:[])}}}function iw(e,t){let r=-1,n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);He(e,0,0,n)}var aw={tokenize:cw,partial:!0},W4={tokenize:fw,partial:!0},K4={tokenize:dw,partial:!0},Q4={tokenize:hw,partial:!0},sw={tokenize:mw,partial:!0},X4={name:"wwwAutolink",tokenize:uw,previous:Z4},J4={name:"protocolAutolink",tokenize:lw,previous:e3},Fr={name:"emailAutolink",tokenize:ow,previous:t3},dr={};function sd(){return{text:dr}}var Mn=48;for(;Mn<123;)dr[Mn]=Fr,Mn++,Mn===58?Mn=65:Mn===91&&(Mn=97);dr[43]=Fr;dr[45]=Fr;dr[46]=Fr;dr[95]=Fr;dr[72]=[Fr,J4];dr[104]=[Fr,J4];dr[87]=[Fr,X4];dr[119]=[Fr,X4];function ow(e,t,r){let n=this,i,a;return s;function s(f){return!ad(f)||!t3.call(n,n.previous)||od(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return ad(f)?(e.consume(f),o):f===64?(e.consume(f),u):r(f)}function u(f){return f===46?e.check(sw,c,l)(f):f===45||f===95||Fe(f)?(a=!0,e.consume(f),u):c(f)}function l(f){return e.consume(f),i=!0,u}function c(f){return a&&i&&Ke(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function uw(e,t,r){let n=this;return i;function i(s){return s!==87&&s!==119||!Z4.call(n,n.previous)||od(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(aw,e.attempt(W4,e.attempt(K4,a),r),r)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function lw(e,t,r){let n=this,i="",a=!1;return s;function s(f){return(f===72||f===104)&&e3.call(n,n.previous)&&!od(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),o):r(f)}function o(f){if(Ke(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),o;if(f===58){let m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(f),u}return r(f)}function u(f){return f===47?(e.consume(f),a?l:(a=!0,u)):r(f)}function l(f){return f===null||Pn(f)||me(f)||ot(f)||Nt(f)?r(f):e.attempt(W4,e.attempt(K4,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function cw(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 fw(e,t,r){let n,i,a;return s;function s(l){return l===46||l===95?e.check(Q4,u,o)(l):l===null||me(l)||ot(l)||l!==45&&Nt(l)?u(l):(a=!0,e.consume(l),s)}function o(l){return l===95?n=!0:(i=n,n=void 0),e.consume(l),s}function u(l){return i||n||!a?r(l):t(l)}}function dw(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(Q4,t,a)(s):s===null||me(s)||ot(s)?t(s):(e.consume(s),i)}function a(s){return s===41&&n++,e.consume(s),i}}function hw(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||me(o)||ot(o)?t(o):r(o)}function i(o){return o===null||o===40||o===91||me(o)||ot(o)?t(o):n(o)}function a(o){return Ke(o)?s(o):r(o)}function s(o){return o===59?(e.consume(o),n):Ke(o)?(e.consume(o),s):r(o)}}function mw(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return Fe(a)?r(a):t(a)}}function Z4(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||me(e)}function e3(e){return!Ke(e)}function t3(e){return!(e===47||ad(e))}function ad(e){return e===43||e===45||e===46||e===95||Fe(e)}function od(e){let t=e.length,r=!1;for(;t--;){let 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}function qt(e){let t=[],r=-1,n=0,i=0;for(;++r<e.length;){let a=e.charCodeAt(r),s="";if(a===37&&Fe(e.charCodeAt(r+1))&&Fe(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){let o=e.charCodeAt(r+1);a<56320&&o>56319&&o<57344?(s=String.fromCharCode(a,o),i=1):s="\uFFFD"}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)}function on(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}var La={name:"attention",resolveAll:pw,tokenize:gw};function pw(e,t){let r=-1,n,i,a,s,o,u,l,c;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;let f={...e[n][1].end},m={...e[r][1].start};r3(f,-u),r3(m,u),s={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},o={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:{...o.end}},e[n][1].end={...s.start},e[r][1].start={...o.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=yt(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=yt(l,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),l=yt(l,on(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=yt(l,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,l=yt(l,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,He(e,n-1,r-n+3,l),r=n+l.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function gw(e,t){let r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Mr(n),a;return s;function s(u){return a=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===a)return e.consume(u),o;let l=e.exit("attentionSequence"),c=Mr(u),f=!c||c===2&&i||r.includes(u),m=!i||i===2&&c||r.includes(n);return l._open=!!(a===42?f:f&&(i||!m)),l._close=!!(a===42?m:m&&(c||!f)),t(u)}}function r3(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var ud={name:"autolink",tokenize:bw};function bw(e,t,r){let n=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(p){return Ke(p)?(e.consume(p),s):p===64?r(p):l(p)}function s(p){return p===43||p===45||p===46||Fe(p)?(n=1,o(p)):l(p)}function o(p){return p===58?(e.consume(p),n=0,u):(p===43||p===45||p===46||Fe(p))&&n++<32?(e.consume(p),o):(n=0,l(p))}function u(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||Pn(p)?r(p):(e.consume(p),u)}function l(p){return p===64?(e.consume(p),c):i4(p)?(e.consume(p),l):r(p)}function c(p){return Fe(p)?f(p):r(p)}function f(p){return p===46?(e.consume(p),n=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):m(p)}function m(p){if((p===45||Fe(p))&&n++<63){let y=p===45?m:f;return e.consume(p),y}return r(p)}}var hr={partial:!0,tokenize:yw};function yw(e,t,r){return n;function n(a){return oe(a)?ie(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||Y(a)?t(a):r(a)}}var uu={continuation:{tokenize:xw},exit:Tw,name:"blockQuote",tokenize:Ew};function Ew(e,t,r){let n=this;return i;function i(s){if(s===62){let o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return r(s)}function a(s){return oe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function xw(e,t,r){let n=this;return i;function i(s){return oe(s)?ie(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(uu,t,r)(s)}}function Tw(e){e.exit("blockQuote")}var lu={name:"characterEscape",tokenize:vw};function vw(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 s4(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}var cu={name:"characterReference",tokenize:Cw};function Cw(e,t,r){let n=this,i=0,a,s;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=Fe,c(f))}function l(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=a4,c):(e.enter("characterReferenceValue"),a=7,s=Da,c(f))}function c(f){if(f===59&&i){let m=e.exit("characterReferenceValue");return s===Fe&&!Or(n.sliceSerialize(m))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<a?(e.consume(f),c):r(f)}}var n3={partial:!0,tokenize:ww},fu={concrete:!0,name:"codeFenced",tokenize:Aw};function Aw(e,t,r){let n=this,i={partial:!0,tokenize:q},a=0,s=0,o;return u;function u(_){return l(_)}function l(_){let U=n.events[n.events.length-1];return a=U&&U[1].type==="linePrefix"?U[2].sliceSerialize(U[1],!0).length:0,o=_,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(_)}function c(_){return _===o?(s++,e.consume(_),c):s<3?r(_):(e.exit("codeFencedFenceSequence"),oe(_)?ie(e,f,"whitespace")(_):f(_))}function f(_){return _===null||Y(_)?(e.exit("codeFencedFence"),n.interrupt?t(_):e.check(n3,E,B)(_)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(_))}function m(_){return _===null||Y(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(_)):oe(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ie(e,p,"whitespace")(_)):_===96&&_===o?r(_):(e.consume(_),m)}function p(_){return _===null||Y(_)?f(_):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(_))}function y(_){return _===null||Y(_)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(_)):_===96&&_===o?r(_):(e.consume(_),y)}function E(_){return e.attempt(i,B,x)(_)}function x(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),v}function v(_){return a>0&&oe(_)?ie(e,w,"linePrefix",a+1)(_):w(_)}function w(_){return _===null||Y(_)?e.check(n3,E,B)(_):(e.enter("codeFlowValue"),N(_))}function N(_){return _===null||Y(_)?(e.exit("codeFlowValue"),w(_)):(e.consume(_),N)}function B(_){return e.exit("codeFenced"),t(_)}function q(_,U,H){let F=0;return O;function O(R){return _.enter("lineEnding"),_.consume(R),_.exit("lineEnding"),ue}function ue(R){return _.enter("codeFencedFence"),oe(R)?ie(_,ee,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):ee(R)}function ee(R){return R===o?(_.enter("codeFencedFenceSequence"),W(R)):H(R)}function W(R){return R===o?(F++,_.consume(R),W):F>=s?(_.exit("codeFencedFenceSequence"),oe(R)?ie(_,se,"whitespace")(R):se(R)):H(R)}function se(R){return R===null||Y(R)?(_.exit("codeFencedFence"),U(R)):H(R)}}}function ww(e,t,r){let 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)}}var Pa={name:"codeIndented",tokenize:kw},Sw={partial:!0,tokenize:Dw};function kw(e,t,r){let n=this;return i;function i(l){return e.enter("codeIndented"),ie(e,a,"linePrefix",5)(l)}function a(l){let c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(l):r(l)}function s(l){return l===null?u(l):Y(l)?e.attempt(Sw,s,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||Y(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function Dw(e,t,r){let n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):Y(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ie(e,a,"linePrefix",5)(s)}function a(s){let o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):Y(s)?i(s):r(s)}}var ld={name:"codeText",previous:Iw,resolve:Nw,tokenize:_w};function Nw(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 Iw(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function _w(e,t,r){let n=this,i=0,a,s;return o;function o(m){return e.enter("codeText"),e.enter("codeTextSequence"),u(m)}function u(m){return m===96?(e.consume(m),i++,u):(e.exit("codeTextSequence"),l(m))}function l(m){return m===null?r(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),l):m===96?(s=e.enter("codeTextSequence"),a=0,f(m)):Y(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(m))}function c(m){return m===null||m===32||m===96||Y(m)?(e.exit("codeTextData"),l(m)):(e.consume(m),c)}function f(m){return m===96?(e.consume(m),a++,f):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(s.type="codeTextData",c(m))}}var du=class{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){let 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){let i=r||0;this.setCursor(Math.trunc(t));let a=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return n&&Ra(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),Ra(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ra(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){let r=this.left.splice(t,Number.POSITIVE_INFINITY);Ra(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ra(this.left,r.reverse())}}};function Ra(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 hu(e){let t={},r=-1,n,i,a,s,o,u,l,c=new du(e);for(;++r<c.length;){for(;r in t;)r=t[r];if(n=c.get(r),r&&n[1].type==="chunkFlow"&&c.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,Lw(c,r)),r=t[r],l=!0);else if(n[1]._container){for(a=r,i=void 0;a--;)if(s=c.get(a),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(i&&(c.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={...c.get(i)[1].start},o=c.slice(i,r),o.unshift(n),c.splice(i,r-i+1,o))}}return He(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function Lw(e,t){let r=e.get(t)[1],n=e.get(t)[2],i=t-1,a=[],s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));let o=s.events,u=[],l={},c,f,m=-1,p=r,y=0,E=0,x=[E];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(c=n.sliceStream(p),p.next||c.push(null),f&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=r;++m<o.length;)o[m][0]==="exit"&&o[m-1][0]==="enter"&&o[m][1].type===o[m-1][1].type&&o[m][1].start.line!==o[m][1].end.line&&(E=m+1,x.push(E),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):x.pop(),m=x.length;m--;){let v=o.slice(x[m],x[m+1]),w=a.pop();u.push([w,w+v.length-1]),e.splice(w,2,v)}for(u.reverse(),m=-1;++m<u.length;)l[y+u[m][0]]=y+u[m][1],y+=u[m][1]-u[m][0]-1;return l}var cd={resolve:Rw,tokenize:Ow},Pw={partial:!0,tokenize:Mw};function Rw(e){return hu(e),e}function Ow(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):Y(o)?e.check(Pw,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function Mw(e,t,r){let n=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ie(e,a,"linePrefix")}function a(s){if(s===null||Y(s))return r(s);let o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function mu(e,t,r,n,i,a,s,o,u){let l=u||Number.POSITIVE_INFINITY,c=0;return f;function f(v){return v===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(v),e.exit(a),m):v===null||v===32||v===41||Pn(v)?r(v):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),E(v))}function m(v){return v===62?(e.enter(a),e.consume(v),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===62?(e.exit("chunkString"),e.exit(o),m(v)):v===null||v===60||Y(v)?r(v):(e.consume(v),v===92?y:p)}function y(v){return v===60||v===62||v===92?(e.consume(v),p):p(v)}function E(v){return!c&&(v===null||v===41||me(v))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(v)):c<l&&v===40?(e.consume(v),c++,E):v===41?(e.consume(v),c--,E):v===null||v===32||v===40||Pn(v)?r(v):(e.consume(v),v===92?x:E)}function x(v){return v===40||v===41||v===92?(e.consume(v),E):E(v)}}function pu(e,t,r,n,i,a){let s=this,o=0,u;return l;function l(p){return e.enter(n),e.enter(i),e.consume(p),e.exit(i),e.enter(a),c}function c(p){return o>999||p===null||p===91||p===93&&!u||p===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(p):p===93?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(n),t):Y(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||Y(p)||o++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!oe(p)),p===92?m:f)}function m(p){return p===91||p===92||p===93?(e.consume(p),o++,f):f(p)}}function gu(e,t,r,n,i,a){let s;return o;function o(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),l(m))}function l(m){return m===s?(e.exit(a),u(s)):m===null?r(m):Y(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),ie(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(m))}function c(m){return m===s||m===null||Y(m)?(e.exit("chunkString"),l(m)):(e.consume(m),m===92?f:c)}function f(m){return m===s||m===92?(e.consume(m),c):c(m)}}var fd={name:"definition",tokenize:Bw},Fw={partial:!0,tokenize:qw};function Bw(e,t,r){let n=this,i;return a;function a(p){return e.enter("definition"),s(p)}function s(p){return pu.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=ut(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),u):r(p)}function u(p){return me(p)?Bt(e,l)(p):l(p)}function l(p){return mu(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(Fw,f,f)(p)}function f(p){return oe(p)?ie(e,m,"whitespace")(p):m(p)}function m(p){return p===null||Y(p)?(e.exit("definition"),n.parser.defined.push(i),t(p)):r(p)}}function qw(e,t,r){return n;function n(o){return me(o)?Bt(e,i)(o):r(o)}function i(o){return gu(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return oe(o)?ie(e,s,"whitespace")(o):s(o)}function s(o){return o===null||Y(o)?t(o):r(o)}}var dd={name:"hardBreakEscape",tokenize:Uw};function Uw(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return Y(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}var hd={name:"headingAtx",resolve:Hw,tokenize:zw};function Hw(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"},He(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function zw(e,t,r){let n=0;return i;function i(c){return e.enter("atxHeading"),a(c)}function a(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&n++<6?(e.consume(c),s):c===null||me(c)?(e.exit("atxHeadingSequence"),o(c)):r(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||Y(c)?(e.exit("atxHeading"),t(c)):oe(c)?ie(e,o,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),o(c))}function l(c){return c===null||c===35||me(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),l)}}var i3=["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"],md=["pre","script","style","textarea"];var pd={concrete:!0,name:"htmlFlow",resolveTo:Yw,tokenize:$w},jw={partial:!0,tokenize:Ww},Vw={partial:!0,tokenize:Gw};function Yw(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 $w(e,t,r){let n=this,i,a,s,o,u;return l;function l(L){return c(L)}function c(L){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(L),f}function f(L){return L===33?(e.consume(L),m):L===47?(e.consume(L),a=!0,E):L===63?(e.consume(L),i=3,n.interrupt?t:I):Ke(L)?(e.consume(L),s=String.fromCharCode(L),x):r(L)}function m(L){return L===45?(e.consume(L),i=2,p):L===91?(e.consume(L),i=5,o=0,y):Ke(L)?(e.consume(L),i=4,n.interrupt?t:I):r(L)}function p(L){return L===45?(e.consume(L),n.interrupt?t:I):r(L)}function y(L){let Je="CDATA[";return L===Je.charCodeAt(o++)?(e.consume(L),o===Je.length?n.interrupt?t:ee:y):r(L)}function E(L){return Ke(L)?(e.consume(L),s=String.fromCharCode(L),x):r(L)}function x(L){if(L===null||L===47||L===62||me(L)){let Je=L===47,Zt=s.toLowerCase();return!Je&&!a&&md.includes(Zt)?(i=1,n.interrupt?t(L):ee(L)):i3.includes(s.toLowerCase())?(i=6,Je?(e.consume(L),v):n.interrupt?t(L):ee(L)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(L):a?w(L):N(L))}return L===45||Fe(L)?(e.consume(L),s+=String.fromCharCode(L),x):r(L)}function v(L){return L===62?(e.consume(L),n.interrupt?t:ee):r(L)}function w(L){return oe(L)?(e.consume(L),w):O(L)}function N(L){return L===47?(e.consume(L),O):L===58||L===95||Ke(L)?(e.consume(L),B):oe(L)?(e.consume(L),N):O(L)}function B(L){return L===45||L===46||L===58||L===95||Fe(L)?(e.consume(L),B):q(L)}function q(L){return L===61?(e.consume(L),_):oe(L)?(e.consume(L),q):N(L)}function _(L){return L===null||L===60||L===61||L===62||L===96?r(L):L===34||L===39?(e.consume(L),u=L,U):oe(L)?(e.consume(L),_):H(L)}function U(L){return L===u?(e.consume(L),u=null,F):L===null||Y(L)?r(L):(e.consume(L),U)}function H(L){return L===null||L===34||L===39||L===47||L===60||L===61||L===62||L===96||me(L)?q(L):(e.consume(L),H)}function F(L){return L===47||L===62||oe(L)?N(L):r(L)}function O(L){return L===62?(e.consume(L),ue):r(L)}function ue(L){return L===null||Y(L)?ee(L):oe(L)?(e.consume(L),ue):r(L)}function ee(L){return L===45&&i===2?(e.consume(L),ce):L===60&&i===1?(e.consume(L),ke):L===62&&i===4?(e.consume(L),qe):L===63&&i===3?(e.consume(L),I):L===93&&i===5?(e.consume(L),Et):Y(L)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(jw,ft,W)(L)):L===null||Y(L)?(e.exit("htmlFlowData"),W(L)):(e.consume(L),ee)}function W(L){return e.check(Vw,se,ft)(L)}function se(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),R}function R(L){return L===null||Y(L)?W(L):(e.enter("htmlFlowData"),ee(L))}function ce(L){return L===45?(e.consume(L),I):ee(L)}function ke(L){return L===47?(e.consume(L),s="",Xe):ee(L)}function Xe(L){if(L===62){let Je=s.toLowerCase();return md.includes(Je)?(e.consume(L),qe):ee(L)}return Ke(L)&&s.length<8?(e.consume(L),s+=String.fromCharCode(L),Xe):ee(L)}function Et(L){return L===93?(e.consume(L),I):ee(L)}function I(L){return L===62?(e.consume(L),qe):L===45&&i===2?(e.consume(L),I):ee(L)}function qe(L){return L===null||Y(L)?(e.exit("htmlFlowData"),ft(L)):(e.consume(L),qe)}function ft(L){return e.exit("htmlFlow"),t(L)}}function Gw(e,t,r){let n=this;return i;function i(s){return Y(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 Ww(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(hr,t,r)}}var gd={name:"htmlText",tokenize:Kw};function Kw(e,t,r){let n=this,i,a,s;return o;function o(I){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(I),u}function u(I){return I===33?(e.consume(I),l):I===47?(e.consume(I),q):I===63?(e.consume(I),N):Ke(I)?(e.consume(I),H):r(I)}function l(I){return I===45?(e.consume(I),c):I===91?(e.consume(I),a=0,y):Ke(I)?(e.consume(I),w):r(I)}function c(I){return I===45?(e.consume(I),p):r(I)}function f(I){return I===null?r(I):I===45?(e.consume(I),m):Y(I)?(s=f,ke(I)):(e.consume(I),f)}function m(I){return I===45?(e.consume(I),p):f(I)}function p(I){return I===62?ce(I):I===45?m(I):f(I)}function y(I){let qe="CDATA[";return I===qe.charCodeAt(a++)?(e.consume(I),a===qe.length?E:y):r(I)}function E(I){return I===null?r(I):I===93?(e.consume(I),x):Y(I)?(s=E,ke(I)):(e.consume(I),E)}function x(I){return I===93?(e.consume(I),v):E(I)}function v(I){return I===62?ce(I):I===93?(e.consume(I),v):E(I)}function w(I){return I===null||I===62?ce(I):Y(I)?(s=w,ke(I)):(e.consume(I),w)}function N(I){return I===null?r(I):I===63?(e.consume(I),B):Y(I)?(s=N,ke(I)):(e.consume(I),N)}function B(I){return I===62?ce(I):N(I)}function q(I){return Ke(I)?(e.consume(I),_):r(I)}function _(I){return I===45||Fe(I)?(e.consume(I),_):U(I)}function U(I){return Y(I)?(s=U,ke(I)):oe(I)?(e.consume(I),U):ce(I)}function H(I){return I===45||Fe(I)?(e.consume(I),H):I===47||I===62||me(I)?F(I):r(I)}function F(I){return I===47?(e.consume(I),ce):I===58||I===95||Ke(I)?(e.consume(I),O):Y(I)?(s=F,ke(I)):oe(I)?(e.consume(I),F):ce(I)}function O(I){return I===45||I===46||I===58||I===95||Fe(I)?(e.consume(I),O):ue(I)}function ue(I){return I===61?(e.consume(I),ee):Y(I)?(s=ue,ke(I)):oe(I)?(e.consume(I),ue):F(I)}function ee(I){return I===null||I===60||I===61||I===62||I===96?r(I):I===34||I===39?(e.consume(I),i=I,W):Y(I)?(s=ee,ke(I)):oe(I)?(e.consume(I),ee):(e.consume(I),se)}function W(I){return I===i?(e.consume(I),i=void 0,R):I===null?r(I):Y(I)?(s=W,ke(I)):(e.consume(I),W)}function se(I){return I===null||I===34||I===39||I===60||I===61||I===96?r(I):I===47||I===62||me(I)?F(I):(e.consume(I),se)}function R(I){return I===47||I===62||me(I)?F(I):r(I)}function ce(I){return I===62?(e.consume(I),e.exit("htmlTextData"),e.exit("htmlText"),t):r(I)}function ke(I){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),Xe}function Xe(I){return oe(I)?ie(e,Et,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(I):Et(I)}function Et(I){return e.enter("htmlTextData"),s(I)}}var Fn={name:"labelEnd",resolveAll:Zw,resolveTo:eS,tokenize:tS},Qw={tokenize:rS},Xw={tokenize:nS},Jw={tokenize:iS};function Zw(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){let i=n.type==="labelImage"?4:2;n.type="data",t+=i}}return e.length!==r.length&&He(e,0,e.length,r),e}function eS(e,t){let r=e.length,n=0,i,a,s,o;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);let u={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},l={type:"label",start:{...e[a][1].start},end:{...e[s][1].end}},c={type:"labelText",start:{...e[a+n+2][1].end},end:{...e[s-2][1].start}};return o=[["enter",u,t],["enter",l,t]],o=yt(o,e.slice(a+1,a+n+3)),o=yt(o,[["enter",c,t]]),o=yt(o,on(t.parser.constructs.insideSpan.null,e.slice(a+n+4,s-3),t)),o=yt(o,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),o=yt(o,e.slice(s+1)),o=yt(o,[["exit",u,t]]),He(e,a,e.length,o),e}function tS(e,t,r){let n=this,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 o;function o(m){return a?a._inactive?f(m):(s=n.parser.defined.includes(ut(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(Qw,c,s?c:f)(m):m===91?e.attempt(Xw,c,s?l:f)(m):s?c(m):f(m)}function l(m){return e.attempt(Jw,c,f)(m)}function c(m){return t(m)}function f(m){return a._balanced=!0,r(m)}}function rS(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return me(f)?Bt(e,a)(f):a(f)}function a(f){return f===41?c(f):mu(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return me(f)?Bt(e,u)(f):c(f)}function o(f){return r(f)}function u(f){return f===34||f===39||f===40?gu(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return me(f)?Bt(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function nS(e,t,r){let n=this;return i;function i(o){return pu.call(n,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(ut(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function iS(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)}}var bd={name:"labelStartImage",resolveAll:Fn.resolveAll,tokenize:aS};function aS(e,t,r){let n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}var yd={name:"labelStartLink",resolveAll:Fn.resolveAll,tokenize:sS};function sS(e,t,r){let 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)}}var Oa={name:"lineEnding",tokenize:oS};function oS(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ie(e,t,"linePrefix")}}var Bn={name:"thematicBreak",tokenize:uS};function uS(e,t,r){let n=0,i;return a;function a(l){return e.enter("thematicBreak"),s(l)}function s(l){return i=l,o(l)}function o(l){return l===i?(e.enter("thematicBreakSequence"),u(l)):n>=3&&(l===null||Y(l))?(e.exit("thematicBreak"),t(l)):r(l)}function u(l){return l===i?(e.consume(l),n++,u):(e.exit("thematicBreakSequence"),oe(l)?ie(e,o,"whitespace")(l):o(l))}}var lt={continuation:{tokenize:dS},exit:mS,name:"list",tokenize:fS},lS={partial:!0,tokenize:pS},cS={partial:!0,tokenize:hS};function fS(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(p){let y=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:Da(p)){if(n.containerState.type||(n.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Bn,r,l)(p):l(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(p)}return r(p)}function u(p){return Da(p)&&++s<10?(e.consume(p),u):(!n.interrupt||s<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),l(p)):r(p)}function l(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(hr,n.interrupt?r:c,e.attempt(lS,m,f))}function c(p){return n.containerState.initialBlankLine=!0,a++,m(p)}function f(p){return oe(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),m):r(p)}function m(p){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function dS(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(hr,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ie(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!oe(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(cS,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,ie(e,e.attempt(lt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function hS(e,t,r){let n=this;return ie(e,i,"listItemIndent",n.containerState.size+1);function i(a){let 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 mS(e){e.exit(this.containerState.type)}function pS(e,t,r){let n=this;return ie(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){let s=n.events[n.events.length-1];return!oe(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}var bu={name:"setextUnderline",resolveTo:gS,tokenize:bS};function gS(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);let 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 bS(e,t,r){let n=this,i;return a;function a(l){let c=n.events.length,f;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){f=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),i=l,s(l)):r(l)}function s(l){return e.enter("setextHeadingLineSequence"),o(l)}function o(l){return l===i?(e.consume(l),o):(e.exit("setextHeadingLineSequence"),oe(l)?ie(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||Y(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}var yS={tokenize:wS,partial:!0};function Ed(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:vS,continuation:{tokenize:CS},exit:AS}},text:{91:{name:"gfmFootnoteCall",tokenize:TS},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:ES,resolveTo:xS}}}}function ES(e,t,r){let n=this,i=n.events.length,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),s;for(;i--;){let 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 o;function o(u){if(!s||!s._balanced)return r(u);let l=ut(n.sliceSerialize({start:s.end,end:n.now()}));return l.codePointAt(0)!==94||!a.includes(l.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function xS(e,t){let r=e.length,n;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},u=[e[r+1],e[r+2],["enter",i,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(r,e.length-r+1,...u),e}function TS(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a=0,s;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(f){if(a>999||f===93&&!s||f===null||f===91||me(f))return r(f);if(f===93){e.exit("chunkString");let m=e.exit("gfmFootnoteCallString");return i.includes(ut(n.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return me(f)||(s=!0),a++,e.consume(f),f===92?c:l}function c(f){return f===91||f===92||f===93?(e.consume(f),a++,l):l(f)}}function vS(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a,s=0,o;return u;function u(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(y)}function c(y){if(s>999||y===93&&!o||y===null||y===91||me(y))return r(y);if(y===93){e.exit("chunkString");let E=e.exit("gfmFootnoteDefinitionLabelString");return a=ut(n.sliceSerialize(E)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m}return me(y)||(o=!0),s++,e.consume(y),y===92?f:c}function f(y){return y===91||y===92||y===93?(e.consume(y),s++,c):c(y)}function m(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),i.includes(a)||i.push(a),ie(e,p,"gfmFootnoteDefinitionWhitespace")):r(y)}function p(y){return t(y)}}function CS(e,t,r){return e.check(hr,t,e.attempt(yS,t,r))}function AS(e){e.exit("gfmFootnoteDefinition")}function wS(e,t,r){let n=this;return ie(e,i,"gfmFootnoteDefinitionIndent",5);function i(a){let 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 xd(e){let r=(e||{}).singleTilde,n={name:"strikethrough",tokenize:a,resolveAll:i};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function i(s,o){let u=-1;for(;++u<s.length;)if(s[u][0]==="enter"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._close){let l=u;for(;l--;)if(s[l][0]==="exit"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._open&&s[u][1].end.offset-s[u][1].start.offset===s[l][1].end.offset-s[l][1].start.offset){s[u][1].type="strikethroughSequence",s[l][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},s[l][1].start),end:Object.assign({},s[u][1].end)},f={type:"strikethroughText",start:Object.assign({},s[l][1].end),end:Object.assign({},s[u][1].start)},m=[["enter",c,o],["enter",s[l][1],o],["exit",s[l][1],o],["enter",f,o]],p=o.parser.constructs.insideSpan.null;p&&He(m,m.length,0,on(p,s.slice(l+1,u),o)),He(m,m.length,0,[["exit",f,o],["enter",s[u][1],o],["exit",s[u][1],o],["exit",c,o]]),He(s,l-1,u-l+3,m),u=l+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,o,u){let l=this.previous,c=this.events,f=0;return m;function m(y){return l===126&&c[c.length-1][1].type!=="characterEscape"?u(y):(s.enter("strikethroughSequenceTemporary"),p(y))}function p(y){let E=Mr(l);if(y===126)return f>1?u(y):(s.consume(y),f++,p);if(f<2&&!r)return u(y);let x=s.exit("strikethroughSequenceTemporary"),v=Mr(y);return x._open=!v||v===2&&!!E,x._close=!E||E===2&&!!v,o(y)}}}var yu=class{constructor(){this.map=[]}add(t,r,n){SS(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,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(let a of i)t.push(a);i=n.pop()}this.map.length=0}};function SS(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 a3(e,t){let r=!1,n=[];for(;t<e.length;){let 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"){let 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 Td(){return{flow:{null:{name:"table",tokenize:kS,resolveAll:DS}}}}function kS(e,t,r){let n=this,i=0,a=0,s;return o;function o(O){let ue=n.events.length-1;for(;ue>-1;){let se=n.events[ue][1].type;if(se==="lineEnding"||se==="linePrefix")ue--;else break}let ee=ue>-1?n.events[ue][1].type:null,W=ee==="tableHead"||ee==="tableRow"?_:u;return W===_&&n.parser.lazy[n.now().line]?r(O):W(O)}function u(O){return e.enter("tableHead"),e.enter("tableRow"),l(O)}function l(O){return O===124||(s=!0,a+=1),c(O)}function c(O){return O===null?r(O):Y(O)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),p):r(O):oe(O)?ie(e,c,"whitespace")(O):(a+=1,s&&(s=!1,i+=1),O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),f(O)))}function f(O){return O===null||O===124||me(O)?(e.exit("data"),c(O)):(e.consume(O),O===92?m:f)}function m(O){return O===92||O===124?(e.consume(O),f):f(O)}function p(O){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(O):(e.enter("tableDelimiterRow"),s=!1,oe(O)?ie(e,y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):y(O))}function y(O){return O===45||O===58?x(O):O===124?(s=!0,e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),E):q(O)}function E(O){return oe(O)?ie(e,x,"whitespace")(O):x(O)}function x(O){return O===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),v):O===45?(a+=1,v(O)):O===null||Y(O)?B(O):q(O)}function v(O){return O===45?(e.enter("tableDelimiterFiller"),w(O)):q(O)}function w(O){return O===45?(e.consume(O),w):O===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(O),e.exit("tableDelimiterMarker"),N):(e.exit("tableDelimiterFiller"),N(O))}function N(O){return oe(O)?ie(e,B,"whitespace")(O):B(O)}function B(O){return O===124?y(O):O===null||Y(O)?!s||i!==a?q(O):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(O)):q(O)}function q(O){return r(O)}function _(O){return e.enter("tableRow"),U(O)}function U(O){return O===124?(e.enter("tableCellDivider"),e.consume(O),e.exit("tableCellDivider"),U):O===null||Y(O)?(e.exit("tableRow"),t(O)):oe(O)?ie(e,U,"whitespace")(O):(e.enter("data"),H(O))}function H(O){return O===null||O===124||me(O)?(e.exit("data"),U(O)):(e.consume(O),O===92?F:H)}function F(O){return O===92||O===124?(e.consume(O),H):H(O)}}function DS(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,l,c,f,m=new yu;for(;++r<e.length;){let p=e[r],y=p[1];p[0]==="enter"?y.type==="tableHead"?(o=!1,u!==0&&(s3(m,t,u,l,c),c=void 0,u=0),l={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},m.add(r,0,[["enter",l,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(n=!0,f=void 0,a=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,c={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},m.add(r,0,[["enter",c,t]])),i=y.type==="tableDelimiterRow"?2:c?3:1):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],f=Eu(m,t,a,i,void 0,f),a=[0,0,0,0]),s[2]=r)):y.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],f=Eu(m,t,a,i,void 0,f)),a=s,s=[a[1],r,0,0])):y.type==="tableHead"?(o=!0,u=r):y.type==="tableRow"||y.type==="tableDelimiterRow"?(u=r,a[1]!==0?(s[0]=s[1],f=Eu(m,t,a,i,r,f)):s[1]!==0&&(f=Eu(m,t,s,i,r,f)),i=0):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(s[3]=r)}for(u!==0&&s3(m,t,u,l,c),m.consume(t.events),r=-1;++r<t.events.length;){let p=t.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=a3(t.events,r))}return e}function Eu(e,t,r,n,i,a){let s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},Ci(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));let u=Ci(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){let l=Ci(t.events,r[2]),c=Ci(t.events,r[3]),f={type:o,start:Object.assign({},l),end:Object.assign({},c)};if(e.add(r[2],0,[["enter",f,t]]),n!==2){let m=t.events[r[2]],p=t.events[r[3]];if(m[1].end=Object.assign({},p[1].end),m[1].type="chunkText",m[1].contentType="text",r[3]>r[2]+1){let y=r[2]+1,E=r[3]-r[2]-1;e.add(y,E,[])}}e.add(r[3]+1,0,[["exit",f,t]])}return i!==void 0&&(a.end=Object.assign({},Ci(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function s3(e,t,r,n,i){let a=[],s=Ci(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 Ci(e,t){let r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}var NS={name:"tasklistCheck",tokenize:IS};function vd(){return{text:{91:NS}}}function IS(e,t,r){let 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 me(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"),o):r(u)}function o(u){return Y(u)?t(u):oe(u)?e.check({tokenize:_S},t,r)(u):r(u)}}function _S(e,t,r){return ie(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function o3(e){return ou([sd(),Ed(),xd(e),Td(),vd()])}var LS={};function xu(e){let t=this,r=e||LS,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(o3(r)),a.push(nd()),s.push(id(r))}function Cd(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(u){let l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},u)}function t(){this.buffer()}function r(){let u=this.resume(),l=this.stack[this.stack.length-1];l.type,l.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){let l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l;let f=c.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:l}),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){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l,c.data.hChildren.push({type:"text",value:l})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function Ad(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
446
|
+
`,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,o,u){let l=a.value||"",c=o.createTracker(u),f="$".repeat(Math.max(iu(l,"$")+1,2)),m=o.enter("mathFlow"),p=c.move(f);if(a.meta){let y=o.enter("mathFlowMeta");p+=c.move(o.safe(a.meta,{after:`
|
|
447
|
+
`,before:p,encode:["$"],...c.current()})),y()}return p+=c.move(`
|
|
448
|
+
`),l&&(p+=c.move(l+`
|
|
449
|
+
`)),p+=c.move(f),m(),p}function n(a,s,o){let u=a.value||"",l=1;for(t||l++;new RegExp("(^|[^$])"+"\\$".repeat(l)+"([^$]|$)").test(u);)l++;let c="$".repeat(l);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<o.unsafe.length;){let m=o.unsafe[f];if(!m.atBreak)continue;let p=o.compilePattern(m),y;for(;y=p.exec(u);){let E=y.index;u.codePointAt(E)===10&&u.codePointAt(E-1)===13&&E--,u=u.slice(0,E)+" "+u.slice(y.index+1)}}return c+u+c}function i(){return"$"}}var l3={tokenize:PS,concrete:!0,name:"mathFlow"},u3={tokenize:RS,partial:!0};function PS(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(w){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(w)}function u(w){return w===36?(e.consume(w),s++,u):s<2?r(w):(e.exit("mathFlowFenceSequence"),ie(e,l,"whitespace")(w))}function l(w){return w===null||Y(w)?f(w):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(w))}function c(w){return w===null||Y(w)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(w)):w===36?r(w):(e.consume(w),c)}function f(w){return e.exit("mathFlowFence"),n.interrupt?t(w):e.attempt(u3,m,x)(w)}function m(w){return e.attempt({tokenize:v,partial:!0},x,p)(w)}function p(w){return(a?ie(e,y,"linePrefix",a+1):y)(w)}function y(w){return w===null?x(w):Y(w)?e.attempt(u3,m,x)(w):(e.enter("mathFlowValue"),E(w))}function E(w){return w===null||Y(w)?(e.exit("mathFlowValue"),y(w)):(e.consume(w),E)}function x(w){return e.exit("mathFlow"),t(w)}function v(w,N,B){let q=0;return ie(w,_,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function _(F){return w.enter("mathFlowFence"),w.enter("mathFlowFenceSequence"),U(F)}function U(F){return F===36?(q++,w.consume(F),U):q<s?B(F):(w.exit("mathFlowFenceSequence"),ie(w,H,"whitespace")(F))}function H(F){return F===null||Y(F)?(w.exit("mathFlowFence"),N(F)):B(F)}}}function RS(e,t,r){let 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 c3(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:OS,previous:MS,name:"mathText"};function n(i,a,s){let o=this,u=0,l,c;return f;function f(x){return i.enter("mathText"),i.enter("mathTextSequence"),m(x)}function m(x){return x===36?(i.consume(x),u++,m):u<2&&!r?s(x):(i.exit("mathTextSequence"),p(x))}function p(x){return x===null?s(x):x===36?(c=i.enter("mathTextSequence"),l=0,E(x)):x===32?(i.enter("space"),i.consume(x),i.exit("space"),p):Y(x)?(i.enter("lineEnding"),i.consume(x),i.exit("lineEnding"),p):(i.enter("mathTextData"),y(x))}function y(x){return x===null||x===32||x===36||Y(x)?(i.exit("mathTextData"),p(x)):(i.consume(x),y)}function E(x){return x===36?(i.consume(x),l++,E):l===u?(i.exit("mathTextSequence"),i.exit("mathText"),a(x)):(c.type="mathTextData",y(x))}}}function OS(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 MS(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function wd(e){return{flow:{36:l3},text:{36:c3(e)}}}var FS={};function Tu(e){let t=this,r=e||FS,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(wd(r)),a.push(Cd()),s.push(Ad(r))}var f3={tokenize:BS};function BS(e){let t=e.attempt(this.parser.constructs.contentInitial,n,i),r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ie(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){let u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return Y(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}var h3={tokenize:qS},d3={tokenize:US};function qS(e){let t=this,r=[],n=0,i,a,s;return o;function o(N){if(n<r.length){let B=r[n];return t.containerState=B[1],e.attempt(B[0].continuation,u,l)(N)}return l(N)}function u(N){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&w();let B=t.events.length,q=B,_;for(;q--;)if(t.events[q][0]==="exit"&&t.events[q][1].type==="chunkFlow"){_=t.events[q][1].end;break}v(n);let U=B;for(;U<t.events.length;)t.events[U][1].end={..._},U++;return He(t.events,q+1,0,t.events.slice(B)),t.events.length=U,l(N)}return o(N)}function l(N){if(n===r.length){if(!i)return m(N);if(i.currentConstruct&&i.currentConstruct.concrete)return y(N);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(d3,c,f)(N)}function c(N){return i&&w(),v(n),m(N)}function f(N){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,y(N)}function m(N){return t.containerState={},e.attempt(d3,p,y)(N)}function p(N){return n++,r.push([t.currentConstruct,t.containerState]),m(N)}function y(N){if(N===null){i&&w(),v(0),e.consume(N);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),E(N)}function E(N){if(N===null){x(e.exit("chunkFlow"),!0),v(0),e.consume(N);return}return Y(N)?(e.consume(N),x(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(N),E)}function x(N,B){let q=t.sliceStream(N);if(B&&q.push(null),N.previous=a,a&&(a.next=N),a=N,i.defineSkip(N.start),i.write(q),t.parser.lazy[N.start.line]){let _=i.events.length;for(;_--;)if(i.events[_][1].start.offset<s&&(!i.events[_][1].end||i.events[_][1].end.offset>s))return;let U=t.events.length,H=U,F,O;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){if(F){O=t.events[H][1].end;break}F=!0}for(v(n),_=U;_<t.events.length;)t.events[_][1].end={...O},_++;He(t.events,H+1,0,t.events.slice(U)),t.events.length=_}}function v(N){let B=r.length;for(;B-- >N;){let q=r[B];t.containerState=q[1],q[0].exit.call(t,e)}r.length=N}function w(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function US(e,t,r){return ie(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}var m3={tokenize:HS};function HS(e){let t=this,r=e.attempt(hr,n,e.attempt(this.parser.constructs.flowInitial,i,ie(e,e.attempt(this.parser.constructs.flow,i,e.attempt(cd,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}}var p3={resolveAll:E3()},g3=y3("string"),b3=y3("text");function y3(e){return{resolveAll:E3(e==="text"?zS:void 0),tokenize:t};function t(r){let n=this,i=this.parser.constructs[e],a=r.attempt(i,s,o);return s;function s(c){return l(c)?a(c):o(c)}function o(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),u}function u(c){return l(c)?(r.exit("data"),a(c)):(r.consume(c),u)}function l(c){if(c===null)return!0;let f=i[c],m=-1;if(f)for(;++m<f.length;){let p=f[m];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function E3(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 zS(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){let n=e[r-1][1],i=t.sliceStream(n),a=i.length,s=-1,o=0,u;for(;a--;){let l=i[a];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(l===-2)u=!0,o++;else if(l!==-1){a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){let l={type:r===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:n.start._bufferIndex+s,_index:n.start._index+a,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:{...n.end}};n.end={...l.start},n.start.offset===n.end.offset?Object.assign(n,l):(e.splice(r,0,["enter",l,t],["exit",l,t]),r+=2)}r++}return e}var Sd={};Cs(Sd,{attentionMarkers:()=>QS,contentInitial:()=>VS,disable:()=>XS,document:()=>jS,flow:()=>$S,flowInitial:()=>YS,insideSpan:()=>KS,string:()=>GS,text:()=>WS});var jS={42:lt,43:lt,45:lt,48:lt,49:lt,50:lt,51:lt,52:lt,53:lt,54:lt,55:lt,56:lt,57:lt,62:uu},VS={91:fd},YS={[-2]:Pa,[-1]:Pa,32:Pa},$S={35:hd,42:Bn,45:[bu,Bn],60:pd,61:bu,95:Bn,96:fu,126:fu},GS={38:cu,92:lu},WS={[-5]:Oa,[-4]:Oa,[-3]:Oa,33:bd,38:cu,42:La,60:[ud,gd],91:yd,92:[dd,lu],93:Fn,95:La,96:ld},KS={null:[La,p3]},QS={null:[42,95]},XS={null:[]};function x3(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],s=[],o=[],u=!0,l={attempt:F(U),check:F(H),consume:B,enter:q,exit:_,interrupt:F(H,{interrupt:!0})},c={code:null,containerState:{},defineSkip:v,events:[],now:x,parser:e,previous:null,sliceSerialize:y,sliceStream:E,write:p},f=t.tokenize.call(c,l),m;return t.resolveAll&&a.push(t),c;function p(W){return s=yt(s,W),w(),s[s.length-1]!==null?[]:(O(t,0),c.events=on(a,c.events,c),c.events)}function y(W,se){return ZS(E(W),se)}function E(W){return JS(s,W)}function x(){let{_bufferIndex:W,_index:se,line:R,column:ce,offset:ke}=n;return{_bufferIndex:W,_index:se,line:R,column:ce,offset:ke}}function v(W){i[W.line]=W.column,ee()}function w(){let W;for(;n._index<s.length;){let se=s[n._index];if(typeof se=="string")for(W=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===W&&n._bufferIndex<se.length;)N(se.charCodeAt(n._bufferIndex));else N(se)}}function N(W){u=void 0,m=W,f=f(W)}function B(W){Y(W)?(n.line++,n.column=1,n.offset+=W===-3?2:1,ee()):W!==-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=W,u=!0}function q(W,se){let R=se||{};return R.type=W,R.start=x(),c.events.push(["enter",R,c]),o.push(R),R}function _(W){let se=o.pop();return se.end=x(),c.events.push(["exit",se,c]),se}function U(W,se){O(W,se.from)}function H(W,se){se.restore()}function F(W,se){return R;function R(ce,ke,Xe){let Et,I,qe,ft;return Array.isArray(ce)?Je(ce):"tokenize"in ce?Je([ce]):L(ce);function L(ze){return It;function It(_t){let er=_t!==null&&ze[_t],br=_t!==null&&ze.null,zr=[...Array.isArray(er)?er:er?[er]:[],...Array.isArray(br)?br:br?[br]:[]];return Je(zr)(_t)}}function Je(ze){return Et=ze,I=0,ze.length===0?Xe:Zt(ze[I])}function Zt(ze){return It;function It(_t){return ft=ue(),qe=ze,ze.partial||(c.currentConstruct=ze),ze.name&&c.parser.constructs.disable.null.includes(ze.name)?Ht(_t):ze.tokenize.call(se?Object.assign(Object.create(c),se):c,l,qi,Ht)(_t)}}function qi(ze){return u=!0,W(qe,ft),ke}function Ht(ze){return u=!0,ft.restore(),++I<Et.length?Zt(Et[I]):Xe}}}function O(W,se){W.resolveAll&&!a.includes(W)&&a.push(W),W.resolve&&He(c.events,se,c.events.length-se,W.resolve(c.events.slice(se),c)),W.resolveTo&&(c.events=W.resolveTo(c.events,c))}function ue(){let W=x(),se=c.previous,R=c.currentConstruct,ce=c.events.length,ke=Array.from(o);return{from:ce,restore:Xe};function Xe(){n=W,c.previous=se,c.currentConstruct=R,c.events.length=ce,o=ke,ee()}}function ee(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function JS(e,t){let r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,s;if(r===i)s=[e[r].slice(n,a)];else{if(s=e.slice(r,i),n>-1){let o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function ZS(e,t){let r=-1,n=[],i;for(;++r<e.length;){let a=e[r],s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
|
|
450
|
+
`;break}case-3:{s=`\r
|
|
451
|
+
`;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 kd(e){let n={constructs:ou([Sd,...(e||{}).extensions||[]]),content:i(f3),defined:[],document:i(h3),flow:i(m3),lazy:{},string:i(g3),text:i(b3)};return n;function i(a){return s;function s(o){return x3(n,a,o)}}}function Dd(e){for(;!hu(e););return e}var T3=/[\0\t\n\r]/g;function Nd(){let e=1,t="",r=!0,n;return i;function i(a,s,o){let u=[],l,c,f,m,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),f=0,t="",r&&(a.charCodeAt(0)===65279&&f++,r=void 0);f<a.length;){if(T3.lastIndex=f,l=T3.exec(a),m=l&&l.index!==void 0?l.index:a.length,p=a.charCodeAt(m),!l){t=a.slice(f);break}if(p===10&&f===m&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),f<m&&(u.push(a.slice(f,m)),e+=m-f),p){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}f=m+1}return o&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}var C3={}.hasOwnProperty;function Id(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),ek(r)(Dd(kd(r).document().write(Nd()(e,t,!0))))}function ek(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Ui),autolinkProtocol:F,autolinkEmail:F,atxHeading:a(gs),blockQuote:a(_t),characterEscape:F,characterReference:F,codeFenced:a(er),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(er,s),codeText:a(br,s),codeTextData:F,data:F,codeFlowValue:F,definition:a(zr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Wn),hardBreakEscape:a(bs),hardBreakTrailing:a(bs),htmlFlow:a(ys,s),htmlFlowData:F,htmlText:a(ys,s),htmlTextData:F,image:a(Es),label:s,link:a(Ui),listItem:a(Kl),listItemValue:m,listOrdered:a(xn,f),listUnordered:a(xn),paragraph:a(Ql),reference:L,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(gs),strong:a(Hi),thematicBreak:a(Ts)},exit:{atxHeading:u(),atxHeadingSequence:q,autolink:u(),autolinkEmail:It,autolinkProtocol:ze,blockQuote:u(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:Zt,characterReferenceMarkerNumeric:Zt,characterReferenceValue:qi,characterReference:Ht,codeFenced:u(x),codeFencedFence:E,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:O,codeIndented:u(v),codeText:u(R),codeTextData:O,data:O,definition:u(),definitionDestinationString:B,definitionLabelString:w,definitionTitleString:N,emphasis:u(),hardBreakEscape:u(ee),hardBreakTrailing:u(ee),htmlFlow:u(W),htmlFlowData:O,htmlText:u(se),htmlTextData:O,image:u(ke),label:Et,labelText:Xe,lineEnding:ue,link:u(ce),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Je,resourceDestinationString:I,resourceTitleString:qe,resource:ft,setextHeading:u(H),setextHeadingLineSequence:U,setextHeadingText:_,strong:u(),thematicBreak:u()}};A3(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(j){let te={type:"root",children:[]},fe={stack:[te],tokenStack:[],config:t,enter:o,exit:l,buffer:s,resume:c,data:r},be=[],we=-1;for(;++we<j.length;)if(j[we][1].type==="listOrdered"||j[we][1].type==="listUnordered")if(j[we][0]==="enter")be.push(we);else{let zt=be.pop();we=i(j,zt,we)}for(we=-1;++we<j.length;){let zt=t[j[we][0]];C3.call(zt,j[we][1].type)&&zt[j[we][1].type].call(Object.assign({sliceSerialize:j[we][2].sliceSerialize},fe),j[we][1])}if(fe.tokenStack.length>0){let zt=fe.tokenStack[fe.tokenStack.length-1];(zt[1]||v3).call(fe,void 0,zt[0])}for(te.position={start:un(j.length>0?j[0][1].start:{line:1,column:1,offset:0}),end:un(j.length>0?j[j.length-2][1].end:{line:1,column:1,offset:0})},we=-1;++we<t.transforms.length;)te=t.transforms[we](te)||te;return te}function i(j,te,fe){let be=te-1,we=-1,zt=!1,Tn,yr,zi,ji;for(;++be<=fe;){let At=j[be];switch(At[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{At[0]==="enter"?we++:we--,ji=void 0;break}case"lineEndingBlank":{At[0]==="enter"&&(Tn&&!ji&&!we&&!zi&&(zi=be),ji=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ji=void 0}if(!we&&At[0]==="enter"&&At[1].type==="listItemPrefix"||we===-1&&At[0]==="exit"&&(At[1].type==="listUnordered"||At[1].type==="listOrdered")){if(Tn){let Kn=be;for(yr=void 0;Kn--;){let Er=j[Kn];if(Er[1].type==="lineEnding"||Er[1].type==="lineEndingBlank"){if(Er[0]==="exit")continue;yr&&(j[yr][1].type="lineEndingBlank",zt=!0),Er[1].type="lineEnding",yr=Kn}else if(!(Er[1].type==="linePrefix"||Er[1].type==="blockQuotePrefix"||Er[1].type==="blockQuotePrefixWhitespace"||Er[1].type==="blockQuoteMarker"||Er[1].type==="listItemIndent"))break}zi&&(!yr||zi<yr)&&(Tn._spread=!0),Tn.end=Object.assign({},yr?j[yr][1].start:At[1].end),j.splice(yr||be,0,["exit",Tn,At[2]]),be++,fe++}if(At[1].type==="listItemPrefix"){let Kn={type:"listItem",_spread:!1,start:Object.assign({},At[1].start),end:void 0};Tn=Kn,j.splice(be,0,["enter",Kn,At[2]]),be++,fe++,zi=void 0,ji=!0}}}return j[te][1]._spread=zt,fe}function a(j,te){return fe;function fe(be){o.call(this,j(be),be),te&&te.call(this,be)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(j,te,fe){this.stack[this.stack.length-1].children.push(j),this.stack.push(j),this.tokenStack.push([te,fe||void 0]),j.position={start:un(te.start),end:void 0}}function u(j){return te;function te(fe){j&&j.call(this,fe),l.call(this,fe)}}function l(j,te){let fe=this.stack.pop(),be=this.tokenStack.pop();if(be)be[0].type!==j.type&&(te?te.call(this,j,be[0]):(be[1]||v3).call(this,j,be[0]));else throw new Error("Cannot close `"+j.type+"` ("+Wr({start:j.start,end:j.end})+"): it\u2019s not open");fe.position.end=un(j.end)}function c(){return On(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function m(j){if(this.data.expectingFirstListItemValue){let te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(j),10),this.data.expectingFirstListItemValue=void 0}}function p(){let j=this.resume(),te=this.stack[this.stack.length-1];te.lang=j}function y(){let j=this.resume(),te=this.stack[this.stack.length-1];te.meta=j}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){let j=this.resume(),te=this.stack[this.stack.length-1];te.value=j.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){let j=this.resume(),te=this.stack[this.stack.length-1];te.value=j.replace(/(\r?\n|\r)$/g,"")}function w(j){let te=this.resume(),fe=this.stack[this.stack.length-1];fe.label=te,fe.identifier=ut(this.sliceSerialize(j)).toLowerCase()}function N(){let j=this.resume(),te=this.stack[this.stack.length-1];te.title=j}function B(){let j=this.resume(),te=this.stack[this.stack.length-1];te.url=j}function q(j){let te=this.stack[this.stack.length-1];if(!te.depth){let fe=this.sliceSerialize(j).length;te.depth=fe}}function _(){this.data.setextHeadingSlurpLineEnding=!0}function U(j){let te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(j).codePointAt(0)===61?1:2}function H(){this.data.setextHeadingSlurpLineEnding=void 0}function F(j){let fe=this.stack[this.stack.length-1].children,be=fe[fe.length-1];(!be||be.type!=="text")&&(be=xs(),be.position={start:un(j.start),end:void 0},fe.push(be)),this.stack.push(be)}function O(j){let te=this.stack.pop();te.value+=this.sliceSerialize(j),te.position.end=un(j.end)}function ue(j){let te=this.stack[this.stack.length-1];if(this.data.atHardBreak){let fe=te.children[te.children.length-1];fe.position.end=un(j.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(F.call(this,j),O.call(this,j))}function ee(){this.data.atHardBreak=!0}function W(){let j=this.resume(),te=this.stack[this.stack.length-1];te.value=j}function se(){let j=this.resume(),te=this.stack[this.stack.length-1];te.value=j}function R(){let j=this.resume(),te=this.stack[this.stack.length-1];te.value=j}function ce(){let j=this.stack[this.stack.length-1];if(this.data.inReference){let te=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=te,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function ke(){let j=this.stack[this.stack.length-1];if(this.data.inReference){let te=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=te,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function Xe(j){let te=this.sliceSerialize(j),fe=this.stack[this.stack.length-2];fe.label=V4(te),fe.identifier=ut(te).toLowerCase()}function Et(){let j=this.stack[this.stack.length-1],te=this.resume(),fe=this.stack[this.stack.length-1];if(this.data.inReference=!0,fe.type==="link"){let be=j.children;fe.children=be}else fe.alt=te}function I(){let j=this.resume(),te=this.stack[this.stack.length-1];te.url=j}function qe(){let j=this.resume(),te=this.stack[this.stack.length-1];te.title=j}function ft(){this.data.inReference=void 0}function L(){this.data.referenceType="collapsed"}function Je(j){let te=this.resume(),fe=this.stack[this.stack.length-1];fe.label=te,fe.identifier=ut(this.sliceSerialize(j)).toLowerCase(),this.data.referenceType="full"}function Zt(j){this.data.characterReferenceType=j.type}function qi(j){let te=this.sliceSerialize(j),fe=this.data.characterReferenceType,be;fe?(be=su(te,fe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):be=Or(te);let we=this.stack[this.stack.length-1];we.value+=be}function Ht(j){let te=this.stack.pop();te.position.end=un(j.end)}function ze(j){O.call(this,j);let te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(j)}function It(j){O.call(this,j);let te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(j)}function _t(){return{type:"blockquote",children:[]}}function er(){return{type:"code",lang:null,meta:null,value:""}}function br(){return{type:"inlineCode",value:""}}function zr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Wn(){return{type:"emphasis",children:[]}}function gs(){return{type:"heading",depth:0,children:[]}}function bs(){return{type:"break"}}function ys(){return{type:"html",value:""}}function Es(){return{type:"image",title:null,url:"",alt:null}}function Ui(){return{type:"link",title:null,url:"",children:[]}}function xn(j){return{type:"list",ordered:j.type==="listOrdered",start:null,spread:j._spread,children:[]}}function Kl(j){return{type:"listItem",spread:j._spread,checked:null,children:[]}}function Ql(){return{type:"paragraph",children:[]}}function Hi(){return{type:"strong",children:[]}}function xs(){return{type:"text",value:""}}function Ts(){return{type:"thematicBreak"}}}function un(e){return{line:e.line,column:e.column,offset:e.offset}}function A3(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?A3(e,n):tk(e,n)}}function tk(e,t){let r;for(r in t)if(C3.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n);break}}}function v3(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Wr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Wr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Wr({start:t.start,end:t.end})+") is still open")}function vu(e){let t=this;t.parser=r;function r(n){return Id(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function w3(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function S3(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
452
|
+
`}]}function k3(e,t){let r=t.value?t.value+`
|
|
453
|
+
`:"",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 D3(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function N3(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function I3(e,t){let r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),i=qt(n.toLowerCase()),a=e.footnoteOrder.indexOf(n),s,o=e.footnoteCounts.get(n);o===void 0?(o=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=a+1,o+=1,e.footnoteCounts.set(n,o);let u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+i,id:r+"fnref-"+i+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);let l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function _3(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function L3(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Cu(e,t){let r=t.referenceType,n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];let i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});let s=i[i.length-1];return s&&s.type==="text"?s.value+=n:i.push({type:"text",value:n}),i}function P3(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Cu(e,t);let i={src:qt(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(i.title=n.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function R3(e,t){let r={src:qt(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);let n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function O3(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function M3(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Cu(e,t);let i={href:qt(n.url||"")};n.title!==null&&n.title!==void 0&&(i.title=n.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function F3(e,t){let r={href:qt(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);let n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function B3(e,t,r){let n=e.all(t),i=r?rk(r):q3(t),a={},s=[];if(typeof t.checked=="boolean"){let c=n[0],f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},n.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<n.length;){let c=n[o];(i||o!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
|
|
454
|
+
`}),c.type==="element"&&c.tagName==="p"&&!i?s.push(...c.children):s.push(c)}let u=n[n.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
|
|
455
|
+
`});let l={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,l),e.applyData(t,l)}function rk(e){let t=!1;if(e.type==="list"){t=e.spread||!1;let r=e.children,n=-1;for(;!t&&++n<r.length;)t=q3(r[n])}return t}function q3(e){let t=e.spread;return t??e.children.length>1}function U3(e,t){let r={},n=e.all(t),i=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++i<n.length;){let 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}}let 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 H3(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function z3(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function j3(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function V3(e,t){let r=e.all(t),n=r.shift(),i=[];if(n){let s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),i.push(s)}if(r.length>0){let s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=Ft(t.children[1]),u=Ln(t.children[t.children.length-1]);o&&u&&(s.position={start:o,end:u}),i.push(s)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function Y3(e,t,r){let n=r?r.children:void 0,a=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,o=s?s.length:t.children.length,u=-1,l=[];for(;++u<o;){let f=t.children[u],m={},p=s?s[u]:void 0;p&&(m.align=p);let y={type:"element",tagName:a,properties:m,children:[]};f&&(y.children=e.all(f),e.patch(f,y),y=e.applyData(f,y)),l.push(y)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function $3(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function W3(e){let t=String(e),r=/\r?\n|\r/g,n=r.exec(t),i=0,a=[];for(;n;)a.push(G3(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(G3(t.slice(i),i>0,!1)),a.join("")}function G3(e,t,r){let n=0,i=e.length;if(t){let a=e.codePointAt(n);for(;a===9||a===32;)n++,a=e.codePointAt(n)}if(r){let a=e.codePointAt(i-1);for(;a===9||a===32;)i--,a=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}function K3(e,t){let r={type:"text",value:W3(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Q3(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}var X3={blockquote:w3,break:S3,code:k3,delete:D3,emphasis:N3,footnoteReference:I3,heading:_3,html:L3,imageReference:P3,image:R3,inlineCode:O3,linkReference:M3,link:F3,listItem:B3,list:U3,paragraph:H3,root:z3,strong:j3,table:V3,tableCell:$3,tableRow:Y3,text:K3,thematicBreak:Q3,toml:Au,yaml:Au,definition:Au,footnoteDefinition:Au};function Au(){}function nk(e,t){let r=[{type:"text",value:"\u21A9"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function ik(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function J3(e){let t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||nk,n=e.options.footnoteBackLabel||ik,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[],u=-1;for(;++u<e.footnoteOrder.length;){let l=e.footnoteById.get(e.footnoteOrder[u]);if(!l)continue;let c=e.all(l),f=String(l.identifier).toUpperCase(),m=qt(f.toLowerCase()),p=0,y=[],E=e.footnoteCounts.get(f);for(;E!==void 0&&++p<=E;){y.length>0&&y.push({type:"text",value:" "});let w=typeof r=="string"?r:r(u,p);typeof w=="string"&&(w={type:"text",value:w}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+m+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(u,p),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}let x=c[c.length-1];if(x&&x.type==="element"&&x.tagName==="p"){let w=x.children[x.children.length-1];w&&w.type==="text"?w.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...y)}else c.push(...y);let v={type:"element",tagName:"li",properties:{id:t+"fn-"+m},children:e.wrap(c,!0)};e.patch(l,v),o.push(v)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Lr(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
|
|
456
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
457
|
+
`}]}}var _d={}.hasOwnProperty,ak={};function e6(e,t){let r=t||ak,n=new Map,i=new Map,a=new Map,s={...X3,...r.handlers},o={all:l,applyData:ok,definitionById:n,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:s,one:u,options:r,patch:sk,wrap:lk};return Kt(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){let f=c.type==="definition"?n:i,m=String(c.identifier).toUpperCase();f.has(m)||f.set(m,c)}}),o;function u(c,f){let m=c.type,p=o.handlers[m];if(_d.call(o.handlers,m)&&p)return p(o,c,f);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in c){let{children:E,...x}=c,v=Lr(x);return v.children=o.all(c),v}return Lr(c)}return(o.options.unknownHandler||uk)(o,c,f)}function l(c){let f=[];if("children"in c){let m=c.children,p=-1;for(;++p<m.length;){let y=o.one(m[p],c);if(y){if(p&&m[p-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=Z3(y.value)),!Array.isArray(y)&&y.type==="element")){let E=y.children[0];E&&E.type==="text"&&(E.value=Z3(E.value))}Array.isArray(y)?f.push(...y):f.push(y)}}}return f}}function sk(e,t){e.position&&(t.position=tf(e))}function ok(e,t){let r=t;if(e&&e.data){let n=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{let s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&a&&Object.assign(r.properties,Lr(a)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function uk(e,t){let r=t.data||{},n="value"in t&&!(_d.call(r,"hProperties")||_d.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 lk(e,t){let r=[],n=-1;for(t&&r.push({type:"text",value:`
|
|
458
|
+
`});++n<e.length;)n&&r.push({type:"text",value:`
|
|
459
|
+
`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
460
|
+
`}),r}function Z3(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function wu(e,t){let r=e6(e,t),n=r.one(e,void 0),i=J3(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&("children"in a,a.children.push({type:"text",value:`
|
|
461
|
+
`},i)),a}function Su(e,t){return e&&"run"in e?async function(r,n){let i=wu(r,{file:n,...t});await e.run(i,n)}:function(r,n){return wu(r,{file:n,...e||t})}}function Ld(e){if(e)throw e}var Nu=Jl(l6(),1);function Ma(e){if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Pd(){let e=[],t={run:r,use:n};return t;function r(...i){let a=-1,s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...i);function o(u,...l){let c=e[++a],f=-1;if(u){s(u);return}for(;++f<i.length;)(l[f]===null||l[f]===void 0)&&(l[f]=i[f]);i=l,c?c6(c,o)(...l):s(null,...l)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function c6(e,t){let r;return n;function n(...s){let o=e.length>s.length,u;o&&s.push(i);try{u=e.apply(this,s)}catch(l){let c=l;if(o&&r)throw c;return i(c)}o||(u&&u.then&&typeof u.then=="function"?u.then(a,i):u instanceof Error?i(u):a(u))}function i(s,...o){r||(r=!0,t(s,...o))}function a(s){i(null,s)}}var f6=(function(e){let n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a});var ck={}.hasOwnProperty,Fd=class e extends f6{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=Pd()}copy(){let t=new e,r=-1;for(;++r<this.attachers.length;){let n=this.attachers[r];t.use(...n)}return t.data((0,Nu.default)(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Md("data",this.frozen),this.namespace[t]=r,this):ck.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Md("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;let t=this;for(;++this.freezeIndex<this.attachers.length;){let[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let 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();let r=Du(t),n=this.parser||this.Parser;return Rd("parse",n),n(String(r),r)}process(t,r){let n=this;return this.freeze(),Rd("process",this.parser||this.Parser),Od("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,s){let o=Du(t),u=n.parse(o);n.run(u,o,function(c,f,m){if(c||!f||!m)return l(c);let p=f,y=n.stringify(p,m);dk(y)?m.value=y:m.result=y,l(c,m)});function l(c,f){c||!f?s(c):a?a(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),Rd("processSync",this.parser||this.Parser),Od("processSync",this.compiler||this.Compiler),this.process(t,i),h6("processSync","process",r),n;function i(a,s){r=!0,Ld(a),n=s}}run(t,r,n){d6(t),this.freeze();let i=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?a(void 0,n):new Promise(a);function a(s,o){let u=Du(r);i.run(t,u,l);function l(c,f,m){let p=f||t;c?o(c):s?s(p):n(void 0,p,m)}}}runSync(t,r){let n=!1,i;return this.run(t,r,a),h6("runSync","run",n),i;function a(s,o){Ld(s),i=o,n=!0}}stringify(t,r){this.freeze();let n=Du(r),i=this.compiler||this.Compiler;return Od("stringify",i),d6(t),i(t,n)}use(t,...r){let n=this.attachers,i=this.namespace;if(Md("use",this.frozen),t!=null)if(typeof t=="function")u(t,r);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(l){if(typeof l=="function")u(l,[]);else if(typeof l=="object")if(Array.isArray(l)){let[c,...f]=l;u(c,f)}else s(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function s(l){if(!("plugins"in l)&&!("settings"in l))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(l.plugins),l.settings&&(i.settings=(0,Nu.default)(!0,i.settings,l.settings))}function o(l){let c=-1;if(l!=null)if(Array.isArray(l))for(;++c<l.length;){let f=l[c];a(f)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function u(l,c){let f=-1,m=-1;for(;++f<n.length;)if(n[f][0]===l){m=f;break}if(m===-1)n.push([l,...c]);else if(c.length>0){let[p,...y]=c,E=n[m][1];Ma(E)&&Ma(p)&&(p=(0,Nu.default)(!0,E,p)),n[m]=[l,p,...y]}}}},Bd=new Fd().freeze();function Rd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Od(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Md(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 d6(e){if(!Ma(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function h6(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Du(e){return fk(e)?e:new Kr(e)}function fk(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function dk(e){return typeof e=="string"||hk(e)}function hk(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var ny=Jl(ry(),1),H_=/^---(?:\r?\n|\r)(?:([\s\S]*?)(?:\r?\n|\r))?---(?:\r?\n|\r|$)/,z_={},j_={};function Em(e,t){let r=t||z_,n=r.strip,i=r.yaml||j_,a=String(e),s=H_.exec(a);s?(e.data.matter=ny.default.parse(s[1]||"",i)||{},n&&(a=a.slice(s[0].length),e.value=e.value&&typeof e.value=="object"?new TextEncoder().encode(a):a)):e.data.matter={}}import{createHash as V_,randomUUID as Y_}from"node:crypto";import Yn from"node:fs/promises";import hs from"node:path";function Nl(){return{get:Dl,set:Dl,delete:Dl,clear:Dl}}function Il(e){let t=hs.join(e.cacheDirectory,G_(e.pluginName)),r=hs.join(t,Tm(e.cacheVersion??"1")),n=new Map;return{async get(i){let a;try{a=await Yn.readFile(xm(r,i),"utf8")}catch(s){if(W_(s)){e.tracer?.event("cache.miss",{plugin:e.pluginName});return}throw s}try{let s=JSON.parse(a);return e.tracer?.event("cache.hit",{plugin:e.pluginName}),s}catch{e.logger?.warn("Plugin cache entry is corrupted and will be ignored.",{plugin:e.pluginName});return}},async set(i,a){let s=xm(r,i),o=JSON.stringify(a);if(o===void 0)throw new TypeError("Plugin cache values must be JSON serializable.");let l=(n.get(s)??Promise.resolve()).catch(()=>{}).then(()=>$_(s,r,o));n.set(s,l);try{await l}finally{n.get(s)===l&&n.delete(s)}},async delete(i){await Yn.rm(xm(r,i),{force:!0})},async clear(){await Yn.rm(t,{recursive:!0,force:!0})}}}async function $_(e,t,r){await Yn.mkdir(t,{recursive:!0});let n=`${e}.${Y_()}.tmp`;try{await Yn.writeFile(n,r,"utf8"),await Yn.rename(n,e)}catch(i){throw await Yn.rm(n,{force:!0}).catch(()=>{}),i}}function _l(e){return e?hs.resolve(e.content.directory,"..",".riebeckite","cache"):hs.resolve(process.cwd(),".riebeckite","cache")}function xm(e,t){return hs.join(e,`${Tm(t)}.json`)}function G_(e){return/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/.test(e)?e:Tm(e)}function Tm(e){return V_("sha256").update(e).digest("hex")}function W_(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}async function Dl(){throw new Error("Plugin cache is available only through an explicit build context.")}function iy(){return{emit(){throw new Error("Generated output is available only during a build lifecycle.")}}}function ay(e){if(typeof e!="string"||e.length===0)throw new Error("Generated output path must be a non-empty string.");let t=e.replace(/\\/g,"/");if(t.includes("\0"))throw new Error(`Generated output path must not contain a null byte: "${e}".`);if(t.startsWith("/")||t.startsWith("~")||/^[A-Za-z]:/.test(t))throw new Error(`Generated output path must be relative: "${e}".`);let r=t.split("/").filter(i=>i.length>0);if(r.length===0)throw new Error(`Generated output path must not be empty: "${e}".`);for(let i of r)if(i==="."||i==="..")throw new Error(`Generated output path must not contain "." or ".." segments: "${e}".`);let n=r.join("/");if(n==="assets"||n.startsWith("assets/"))throw new Error(`Generated output path must not conflict with the static assets namespace: "${e}".`);if(n===".riebeckite"||n.startsWith(".riebeckite/"))throw new Error(`Generated output path must not target internal Riebeckite files: "${e}".`);return n}var Ll=class{constructor(t,r,n,i={},a=!1){this.contentIndex=t;this.permalinks=r;this.getMarkdownBySlug=n;this.options=i;this.isBuildTime=a}contentIndex;permalinks;getMarkdownBySlug;options;isBuildTime;pluginCaches=new Map;async execute(t,r=0,n=new Set){let i=Bd(),a=Xn(this.options.plugins);this.use(i,vu),this.use(i,tu),this.use(i,nu,["yaml","toml"]),this.use(i,function(){return(l,c)=>{Em(c)}}),this.use(i,Tu),this.use(i,xu);let s={contentIndex:this.contentIndex,resolvePermalink:u=>this.getPermalink(u),renderNoteEmbed:this.createNoteEmbedRenderer(r,n),renderContent:this.createContentRenderer(),contentSource:this.options.contentSource};for(let u of a){for(let l of u.remarkPlugins??[])this.use(i,l);u.extendMarkdownPipeline?.({use:(l,c)=>{this.use(i,l,c)}},s)}this.use(i,Su,{allowDangerousHtml:!0}),this.use(i,Vo);for(let u of a){for(let l of u.rehypePlugins??[])this.use(i,l);u.extendHtmlPipeline?.({use:(l,c)=>{this.use(i,l,c)}})}this.use(i,Yo),this.use(i,qo,{output:"mathml",strict:!1}),this.use(i,Ps),this.use(i,Jo,{allowDangerousHtml:!0});let o=await i.process(t.trim());return{frontmatter:o.data.matter||{},html:String(o.value)}}getPermalink(t){let r=this.permalinks.get(t);if(!r)throw new Error(`Content public location was not resolved: ${t}`);return r}use(t,r,n){let i=t.use.bind(t);n===void 0?i(r):i(r,n)}createNoteEmbedRenderer(t,r){if(!(!this.getMarkdownBySlug||t>=3))return async(n,i)=>{if(r.has(n))return null;let a=await this.getMarkdownBySlug?.(n),s=a?K_(a,i):null;if(!s)return null;let o=new Set(r);return o.add(n),(await this.execute(s,t+1,o)).html}}createContentRenderer(){let t=Xn(this.options.plugins).flatMap(r=>(r.renderers??[]).map(n=>({plugin:r,renderer:n})));if(t.length!==0)return async r=>{for(let{plugin:n,renderer:i}of t){let a=this.options.observability??ei,s=await a.tracer.span("plugin.render",{plugin:n.name,contentPath:r.path,target:r.kind},()=>i.render({config:this.options.config,contentIndex:this.contentIndex,diagnostics:[],cache:this.cacheFor(n,a),output:iy(),logger:a.logger.child({plugin:n.name}),tracer:a.tracer,contentSource:this.options.contentSource,...r}));if(s)return s}return null}}cacheFor(t,r){let n=this.pluginCaches.get(t.name);if(n)return n;let i=this.isBuildTime?Il({pluginName:t.name,cacheVersion:t.cacheVersion,cacheDirectory:_l(this.options.config),tracer:r.tracer,logger:r.logger.child({plugin:t.name})}):Nl();return this.pluginCaches.set(t.name,i),i}};function K_(e,t){return t?t.kind==="block"?Q_(e,t.value):X_(e,t.value):e}function Q_(e,t){let r=e.split(/\r?\n/),n=new RegExp(`(?:^|\\s)\\^${J_(t)}\\s*$`);return r.find(a=>n.test(a))?.replace(n,"").trimEnd()||null}function X_(e,t){let r=e.split(/\r?\n/),n=t.trim().toLowerCase(),i=r.findIndex(u=>u.match(/^(#{1,6})\s+(.+?)\s*#*\s*$/)?.[2]?.trim().toLowerCase()===n);if(i<0)return null;let a=r[i]?.match(/^(#{1,6})\s+/)?.[1]?.length??6,s=r.findIndex((u,l)=>{if(l<=i)return!1;let c=u.match(/^(#{1,6})\s+/);return c!==null&&c[1].length<=a});return r.slice(i,s===-1?void 0:s).join(`
|
|
462
|
+
`).trim()||null}function J_(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var vm=class extends Error{constructor(t,r,n){super(`Plugin "${t}" failed during "${r}"`,{cause:n}),this.name="PluginLifecycleError"}};async function sy(e,t){await Pl(e,"setup",r=>r.setup,t)}async function oy(e,t){await Pl(e,"buildStart",r=>r.buildStart,t)}async function uy(e,t){await Pl(e,"buildEnd",r=>r.buildEnd,t)}async function ly(e,t){await Pl([...e].reverse(),"dispose",r=>r.dispose,t)}async function Pl(e,t,r,n){for(let i of e){let a=r(i);if(a)try{let s=n(i);await s.tracer.span(`plugin.${t}`,{plugin:i.name,hook:t},()=>a(s))}catch(s){throw new vm(i.name,t,s)}}}var Rl=class{constructor(t={}){this.pipelineOptions=t}pipelineOptions;buildLifecycle=null;buildStage="idle";disposed=!1;diagnostics=[];pluginCaches=new Map;generatedOutputs=[];generatedOutputOwners=new Map;isBuildTime=!1;getDiagnostics(){return this.diagnostics}getBuildStage(){return this.buildStage}startBuild(t){return this.buildLifecycle??=this.runBuildLifecycle(t),this.buildLifecycle}async runContentLoaded(t,r,n){await this.runHook(i=>i.onContentLoaded,{...this.createContext(n),slug:t,markdown:r})}async resolveContentLocations(t,r){let n={...this.createContext(r),entries:t},i=[];for(let a of this.plugins()){let s=a.resolveContentLocations;if(!s)continue;let o=await s(this.createPluginContext(a,n));i.push(...o)}return i}async extendContentLocations(t,r,n){await this.runHook(i=>i.extendContentLocations,{...this.createContext(n),entries:t,locations:r})}async runPostHook(t,r,n,i,a){await this.runHook(s=>s[t],{...this.createContext(a),slug:r,markdown:n,content:i})}async runGraphHook(t,r){await this.runHook(n=>n.extendContentGraph,{...this.createContext(r),entries:t})}async runManifestCreated(t,r){await this.runHook(n=>n.onManifestCreated,{...this.createContext(r),manifest:t})}async runBuildEnd(t,r){let n={...this.createContext(r),manifest:t};await uy(this.plugins(),i=>this.createPluginContext(i,n)),await this.runHook(i=>i.onBuildEnd,{...this.createContext(r),manifest:t})}enableBuildTime(){this.isBuildTime=!0}async dispose(t){if(this.disposed||this.buildLifecycle===null)return;this.disposed=!0;let r=this.createContext(t);await ly(this.plugins(),n=>this.createPluginContext(n,r))}collectAssets(){return this.plugins().flatMap(t=>(t.assets??[]).map(r=>({...r,path:r.moduleSpecifier,pluginName:r.pluginName||t.name})))}collectGeneratedOutputs(){return[...this.generatedOutputs].sort((t,r)=>t.path<r.path?-1:t.path>r.path?1:0)}async collectDiagnostics(t){let r=this.observability().tracer;return await r.span("diagnostics.run",{},async()=>{let n=[],i=this.createContext(t);for(let a of this.plugins()){let s=await a.addDiagnostics?.(this.createPluginContext(a,i));for(let o of s??[])n.push({...o,pluginName:o.pluginName||a.name})}return r.event("diagnostics.summary",{total:n.length,errors:Cm(n,"error"),warnings:Cm(n,"warning"),info:Cm(n,"info")}),n})}async runBuildLifecycle(t){let r=this.createContext(t),n=a=>this.createPluginContext(a,r),i=[{stage:"setup",run:()=>sy(this.plugins(),n)},{stage:"buildStart",run:()=>oy(this.plugins(),n)},{stage:"onBuildStart",run:()=>this.runHook(a=>a.onBuildStart,r)},{stage:"onConfigResolved",run:()=>this.runHook(a=>a.onConfigResolved,r)}];for(let{stage:a,run:s}of i)this.buildStage=a,await s();this.buildStage="started"}createContext(t){return{config:this.pipelineOptions.config,contentIndex:t,diagnostics:this.diagnostics}}createPluginContext(t,r){let n=this.observability();return{...r,cache:this.cacheFor(t),output:this.generatedOutputSinkFor(t),logger:n.logger.child({plugin:t.name}),tracer:n.tracer}}generatedOutputSinkFor(t){return{emit:r=>{let n=ay(r.path),i=this.generatedOutputOwners.get(n);if(i)throw new Error(`Duplicate generated output path "${n}" declared by "${i}" and "${t.name}".`);this.generatedOutputOwners.set(n,t.name),this.generatedOutputs.push({path:n,content:r.content,owner:t.name})}}}cacheFor(t){let r=this.pluginCaches.get(t.name);if(r)return r;let n=this.isBuildTime?Il({pluginName:t.name,cacheVersion:t.cacheVersion,cacheDirectory:_l(this.pipelineOptions.config),logger:this.observability().logger.child({plugin:t.name}),tracer:this.observability().tracer}):Nl();return this.pluginCaches.set(t.name,n),n}async runHook(t,r){for(let n of this.plugins()){let i=t(n);if(!i)continue;let a=this.createPluginContext(n,r);await a.tracer.span("plugin.hook",{plugin:n.name},()=>i(a))}}observability(){return this.pipelineOptions.observability??ei}plugins(){return Xn(this.pipelineOptions.plugins)}};function Cm(e,t){return e.filter(r=>r.severity===t).length}function fy(e,t,r){let n=[...e.added,...e.changed,...e.removed],i=new Set(n.filter(Am).map(Ol)),a=new Set;if(!t)return cy(i,r),{direct:i,dependent:a};(e.added.length>0||e.removed.length>0)&&cy(a,r,i);let s=n.map(Ol),o=new Set(s);for(;s.length>0;){let u=s.pop();if(u!==void 0)for(let[l,c]of Object.entries(t.entries)){if(!Am(l))continue;let f=Ol(l);i.has(f)||a.has(f)||c.dependencies.includes(u)&&(a.add(f),o.has(f)||(o.add(f),s.push(f)))}}return{direct:i,dependent:a}}function cy(e,t,r){for(let n of t){if(!Am(n))continue;let i=Ol(n);r?.has(i)||e.add(i)}}function Am(e){return e.endsWith(".md")}function Ol(e){return e.replace(/\.md$/,"")}function dy(e,t){let r=new Map(t.map(({entry:o,fingerprint:u})=>[o.path,u])),n=[],i=[],a=[];for(let[o,u]of r){let l=e.entries[o];l?l.fingerprint!==u?i.push(o):a.push(o):n.push(o)}let s=Object.keys(e.entries).filter(o=>!r.has(o));return py({added:n,changed:i,removed:s,unchanged:a})}function hy(e){return py({added:e.map(({entry:t})=>t.path),changed:[],removed:[],unchanged:[]})}function my(e){return e.added.length>0||e.changed.length>0||e.removed.length>0}function py(e){return{added:[...e.added].sort(),changed:[...e.changed].sort(),removed:[...e.removed].sort(),unchanged:[...e.unchanged].sort()}}var Ml=class{constructor(t){this.dependencies=t}dependencies;preparation=null;getPreparation(t){return this.preparation??=this.prepare(t),this.preparation}async commit(t,r){let n=new Map(r.entries.map(a=>[a.slug,a])),i={version:2,entries:Object.fromEntries(t.currentEntries.map(({entry:a,fingerprint:s})=>{let o=n.get(Z_(a.path));return[a.path,{fingerprint:s,dependencies:eL(o)}]})),contentIndex:Object.fromEntries([...r.contentIndex.entries()].sort(([a],[s])=>a.localeCompare(s)))};try{await cp(this.dependencies.buildStatePath,i)}catch{}}async prepare(t){let r=await Ki(await this.dependencies.getEntries(),s=>this.dependencies.readEntry(s)),n=t===!1?void 0:await Gi(this.dependencies.buildStatePath),i=n?dy(n,r):hy(r),a=fy(i,n,r.map(({entry:s})=>s.path));return this.dependencies.observability.tracer.event("build.incremental",{incremental:t!==!1,added:i.added.length,changed:i.changed.length,removed:i.removed.length,unchanged:i.unchanged.length,affected:a.direct.size+a.dependent.size}),{previousState:n,currentEntries:r,changeSet:i}}};function Z_(e){return e.replace(/\.md$/,"")}function eL(e){return e?[...new Set(e.links.filter(t=>t.slug!==null).map(t=>t.slug))].sort():[]}var Fl=class{constructor(t,r){this.source=t;this.observability=r}source;observability;entries=null;texts=new Map;async getEntries(){return this.entries??=await this.observability.tracer.span("content.scan",{},()=>this.source.scan()),this.entries}async readText(t){let r=(await this.getEntries()).find(n=>n.path===t);if(!r)throw new Error(`Content entry was not found: ${t}`);return await this.read(r)}read(t){let r=this.texts.get(t.path);if(r)return r;let n=this.source.read(t).then(i=>typeof i=="string"?i:new TextDecoder().decode(i));return this.texts.set(t.path,n),n}};function wm(e){let t=e.replace(/[/-]+$/,"");return t?/^[\p{N}/\-_]+$/u.test(t)?null:t:null}var Sm=/(^|[\s([{"'])#([\p{L}\p{N}_\-/]+)/gu;function gy(e){Sm.lastIndex=0;let t=[];for(let r=Sm.exec(e);r!==null;r=Sm.exec(e)){let n=wm(r[2]??"");n&&t.push(n)}return tr(t)}function Dm(e){return Array.isArray(e)?e.flatMap(t=>Dm(t)):typeof e!="string"?[]:e.split(/[\s,]+/).map(t=>wm(t.replace(/^#/,""))).filter(t=>t!==null)}function by(e){let t=e.match(/^---\r?\n([\s\S]*?)\r?\n---/);if(!t?.[1])return[];let r=[],n=t[1].split(/\r?\n/);for(let i=0;i<n.length;i++){let a=n[i]??"",s=a.match(/^aliases?:\s*(.+)$/i);if(s?.[1]){r.push(...tL(s[1]));continue}if(/^aliases?:\s*$/i.test(a))for(let o=i+1;o<n.length;o++){let u=n[o]?.match(/^\s*-\s*(.+)$/);if(!u?.[1])break;r.push(km(u[1]))}}return tr(r.map(i=>i.trim()).filter(Boolean))}function tL(e){let t=e.trim();return t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1).split(",").map(km).filter(Boolean):[km(t)]}function km(e){return e.trim().replace(/^[']|[']$/g,"").replace(/^["]|["]$/g,"")}var Oi=class{constructor(t){this.source=t}source;async build(t,r=n=>this.source.read(n)){let n=new Map;for(let i of t)await this.indexContentEntry(n,i,r);return n}async indexContentEntry(t,r,n){let i=r.path,a=i.split(".").pop()?.toLowerCase()??"",s=a==="md"?i.replace(/\.md$/,""):i,o=s.split("/");for(let u=o.length-1;u>=0;u--){let l=o.slice(u).join("/");Nm(t,l,s),a!=="md"&&Nm(t,l.replace(/\.[^/.]+$/,""),s)}if(a==="md"){let u=rL(await n(r));for(let l of by(u))Nm(t,l,s)}}};function rL(e){return typeof e=="string"?e:new TextDecoder().decode(e)}function Nm(e,t,r){let n=t.toLowerCase();e.has(n)||e.set(n,r)}var Bl=class{constructor(t){this.dependencies=t}dependencies;locations=null;async getLocations(){if(this.locations)return this.locations;let[t,r]=await Promise.all([this.dependencies.getEntries(),this.dependencies.getContentIndex()]);await this.dependencies.pluginRuntime.startBuild(r);let n=await Promise.all(t.filter(a=>a.path.endsWith(".md")).map(async a=>({slug:nL(a.path),path:a.path,markdown:await this.dependencies.readEntry(a)}))),i=new Map(n.map(a=>[a.slug,mp(a)]));for(let a of await this.dependencies.pluginRuntime.resolveContentLocations(n,r)){if(!i.has(a.slug))throw new Error(`Content public location references an unknown slug: ${a.slug}`);i.set(a.slug,a)}return await this.dependencies.pluginRuntime.extendContentLocations(n,i,r),this.locations=i,i}async getPermalinks(){return new Map(Array.from((await this.getLocations()).entries(),([t,r])=>[t,r.permalink]))}populateRedirects(t,r){for(let[n,i]of r)for(let a of i.redirects??[])t.redirects.set(a.path,{...a,slug:n})}};function nL(e){return e.replace(/\.md$/,"")}import ql from"node:fs/promises";import Mi from"node:path";var $n=class{constructor(t,r=[]){this.contentDirectory=t;this.exclude=r}contentDirectory;exclude;async scan(){return await this.scanDirectory(this.contentDirectory,"")}async read(t){let r=this.resolveFilePath(t.path),n=await ql.lstat(r);if(!n.isFile()||n.isSymbolicLink())throw new Error(`Content entry is not a regular file: ${t.path}`);return await ql.readFile(r)}async scanDirectory(t,r){let n=await ql.readdir(t,{withFileTypes:!0}),i=[];for(let a of n){if(a.isSymbolicLink())continue;let s=ks(r?`${r}/${a.name}`:a.name),o=Mi.join(t,a.name);if(a.isDirectory()){i.push(...await this.scanDirectory(o,s));continue}if(!a.isFile()||this.isExcluded(s))continue;let u=await ql.stat(o);i.push({path:s,metadata:{modifiedAt:u.mtimeMs,size:u.size}})}return i}isExcluded(t){return e0(this.exclude,t)?!0:t.endsWith(".md")&&e0(this.exclude,t.slice(0,-3))}resolveFilePath(t){let r=iL(t),n=Mi.resolve(this.contentDirectory,r),i=Mi.relative(this.contentDirectory,n);if(i.startsWith("..")||Mi.isAbsolute(i))throw new Error(`Invalid content path: ${t}`);return n}};function iL(e){let t=ks(e);if(t.length===0||t.startsWith("/")||Mi.isAbsolute(t)||Mi.win32.isAbsolute(t)||t.split("/").some(r=>r===".."))throw new Error(`Invalid content path: ${e}`);return t}var Im=/(!)?\[\[([^\]|#^]+)(?:[#^][^\]|]+)?(?:\|[^\]]+)?\]\]/g;function Ul(e,t){Im.lastIndex=0;let r=[];for(let n=Im.exec(e);n!==null;n=Im.exec(e)){let i=n[2]?.trim();if(!i)continue;let a=t.get(i.toLowerCase())??null;r.push({raw:i,slug:a,kind:a?aL(a):"unresolved",embed:n[1]==="!"})}return r}function aL(e){return t0(e)?"image":ap(e)?"attachment":"note"}var Fi=class{createEntry(t,r,n,i,a){let s=Ul(r,i),o=s.filter(u=>(u.kind==="image"||u.kind==="attachment")&&u.slug!==null).map(u=>({path:u.slug}));return{slug:t,permalink:a.permalink,publicLocation:a,title:sL(t,n.frontmatter.title),frontmatter:n.frontmatter,html:n.html,tags:tr([...Dm(n.frontmatter.tags),...gy(r)]),links:s,backlinks:[],assets:oL(o)}}build(t,r){let n=new Map(t.map(c=>[c.slug,c])),i=new Map(t.map(c=>[c.permalink,c])),a=new Map,s=new Map,o=new Map,u=new Map;for(let c of t){o.set(c.slug,c.links);for(let f of c.tags)yy(a,f,c);for(let f of c.assets)yy(s,f.path,c);for(let f of c.links)f.kind!=="note"||!f.slug||f.slug===c.slug||uL(u,f.slug,c.slug)}for(let c of t)c.backlinks=u.get(c.slug)??[];let l={entries:t,publicEntries:[...t],bySlug:n,byPermalink:i,redirects:new Map,publicRedirects:new Map,byTag:a,byAsset:s,outgoingLinks:o,incomingLinks:u,contentIndex:r,assets:[],diagnostics:[],generatedOutputs:[]};return{...l,graph:hp(l)}}};function sL(e,t){return typeof t=="string"&&t.trim()?t:e}function oL(e){return Array.from(new Map(e.map(t=>[t.path,t])).values())}function yy(e,t,r){let n=e.get(t)??[];n.push(r),e.set(t,n)}function uL(e,t,r){let n=e.get(t)??[];n.includes(r)||n.push(r),e.set(t,n)}var gr=class{constructor(t,r=[],n={}){this.pipelineOptions=n;this.pipelineOptions={...n,plugins:n.plugins??n.config?.plugins},this.source=typeof t=="string"?n.config?.content.source??new $n(t,[...r,up]):t,this.pipelineOptions={...this.pipelineOptions,contentSource:this.source},this.contentIndexBuilder=new Oi(this.source),this.pluginRuntime=new Rl(this.pipelineOptions);let i=vn(n.config,typeof t=="string"?t:void 0),a=this.observability();this.entryReader=new Fl(this.source,a),this.locationResolver=new Bl({getEntries:()=>this.entryReader.getEntries(),readEntry:s=>this.entryReader.read(s),getContentIndex:()=>this.getContentIndex(),pluginRuntime:this.pluginRuntime}),this.buildCoordinator=new Ml({buildStatePath:i,getEntries:()=>this.entryReader.getEntries(),readEntry:s=>this.entryReader.read(s),observability:a})}pipelineOptions;source;contentIndexBuilder;manifestBuilder=new Fi;pluginRuntime;contentIndex=null;contentCache=new Map;manifest=null;pipeline=null;entryReader;locationResolver;buildCoordinator;isBuildTime=!1;async getAllPosts(){return(await this.scan()).filter(t=>t.path.endsWith(".md")).map(t=>({slug:t.path.replace(/\.md$/,"")}))}async scan(){return await this.entryReader.getEntries()}async getPost(t){return await this.entryReader.readText(`${t}.md`)}async getContentIndex(t){return this.contentIndex?this.contentIndex:t?.previousState&&!my(t.changeSet)?(this.contentIndex=new Map(Object.entries(t.previousState.contentIndex)),this.contentIndex):(this.contentIndex=await this.contentIndexBuilder.build(await this.entryReader.getEntries(),r=>this.entryReader.read(r)),this.contentIndex)}async getProcessedContent(t){let r=this.contentCache.get(t);return r||await this.observability().tracer.span("content.process",{contentPath:`${t}.md`},async()=>{let[n,i]=await Promise.all([this.getContentIndex(),this.getPost(t)]);await this.pluginRuntime.startBuild(n),await this.pluginRuntime.runContentLoaded(t,i,n),this.pipeline??=new Ll(n,await this.locationResolver.getPermalinks(),s=>this.getPost(s),this.pipelineOptions,this.isBuildTime);let a=await this.pipeline.execute(i,0,new Set([t]));return await this.pluginRuntime.runPostHook("onPostParsed",t,i,a,n),await this.pluginRuntime.runPostHook("onPostProcessed",t,i,a,n),this.contentCache.set(t,a),a})}async getManifest(t){if(this.manifest)return this.manifest;this.enableBuildTime();let r=t?await this.buildCoordinator.getPreparation(t.incremental):void 0;return await this.observability().tracer.span("content.manifest",{},async()=>{let[n,i,a]=await Promise.all([this.getAllPosts(),this.getContentIndex(r),this.getContentLocations()]),s=await Promise.all(n.map(async u=>{let[l,c]=await Promise.all([this.getPost(u.slug),this.getProcessedContent(u.slug)]),f=a.get(u.slug);if(!f)throw new Error(`Content public location was not resolved: ${u.slug}`);return this.manifestBuilder.createEntry(u.slug,l,c,i,f)}));await this.pluginRuntime.runGraphHook(s,i);let o=await this.observability().tracer.span("content.graph",{},()=>this.manifestBuilder.build(s,i));return this.locationResolver.populateRedirects(o,a),await this.pluginRuntime.runManifestCreated(o,i),this.applyPublicView(o),o.assets=this.pluginRuntime.collectAssets(),o.diagnostics=[...this.pluginRuntime.getDiagnostics(),...await this.pluginRuntime.collectDiagnostics(i)],await this.pluginRuntime.runBuildEnd(o,i),o.generatedOutputs=this.pluginRuntime.collectGeneratedOutputs(),r&&await this.buildCoordinator.commit(r,o),this.manifest=o,o})}async build(t={}){return await this.getManifest(t)}async getBacklinks(t){return(await this.getContentGraph()).incomingSlugs(t).map(n=>({slug:n}))}async getContentGraph(){return(await this.getManifest()).graph}async getDiagnostics(){return(await this.getManifest()).diagnostics}async inspect(){let[t,r]=await Promise.all([this.entryReader.getEntries(),this.getContentIndex()]),n=await this.pluginRuntime.collectDiagnostics(r);return{entries:t,contentIndex:r,diagnostics:n}}async dispose(){this.contentIndex&&await this.pluginRuntime.dispose(this.contentIndex)}async getContentLocations(){return await this.locationResolver.getLocations()}applyPublicView(t){let r=this.pipelineOptions.config?.content.filters.publishStrategy??"explicit";t.publicEntries=t.entries.filter(i=>np(r,i.frontmatter));let n=new Set(t.publicEntries.map(i=>i.slug));t.publicRedirects=new Map([...t.redirects].filter(([,i])=>n.has(i.slug)))}enableBuildTime(){this.isBuildTime=!0,this.pluginRuntime.enableBuildTime()}observability(){return this.pipelineOptions.observability??ei}};async function _m(e,t){let r=await e.scan(),n=await new Oi(e).build(r),i=r.filter(o=>o.path.endsWith(".md")).toSorted((o,u)=>o.path.localeCompare(u.path)),s=(await Promise.all(i.map(async o=>({entry:o,markdown:await cL(e,o)})))).map(({entry:o,markdown:u})=>lL(o,u,n,t));return new Fi().build(s,n).graph}function lL(e,t,r,n){let i=e.path.replace(/\.md$/,""),a=n.get(i);if(!a)throw new Error(`Content public location was not resolved: ${i}`);return{slug:i,permalink:a.permalink,publicLocation:a,title:i,frontmatter:{},html:"",tags:[],links:Ul(t,r),backlinks:[],assets:[]}}async function cL(e,t){let r=await e.read(t);return typeof r=="string"?r:new TextDecoder().decode(r)}import Lm from"node:fs/promises";import ms from"node:path";import{build as Ey,createServer as fL}from"vite";var dL=["vite.config.ts","vite.config.js","vite.config.mjs"];async function Ty(e){let t=await pL(e);if(t.length===1)return t[0];throw t.length===0?new Hl(`Could not find a Vite application under ${e}.`):new Hl(`Found multiple Vite applications under ${e}: ${t.join(", ")}.`)}var Hl=class extends Error{constructor(t){super(t),this.name="HonoxApplicationRootError"}};async function Pm(e){let t=ms.resolve(e.configRoot),r=e.appRoot?ms.resolve(e.appRoot):await Ty(t),n=e.workspaceRoot??await hL(t),i=await Jm({configRoot:t,configFile:e.configFile,workspaceRoot:n}),a=Zm(i,r);return{config:a,configRoot:t,appRoot:r,contentRoot:a.content.directory}}async function hL(e){try{let t=ms.join(e,"pnpm-workspace.yaml");return(await Lm.stat(t)).isFile()?e:void 0}catch{return}}async function Rm(e){let t=await fL({root:e.root});await t.listen(),t.printUrls(),await mL(t)}async function Om(e){await xy(e.tracer,"integration.honox.client_build",()=>Ey({root:e.root,mode:"client"})),await xy(e.tracer,"integration.honox.server_build",()=>Ey({root:e.root}))}async function xy(e,t,r){return e?await e.span(t,{},r):await r()}async function mL(e){await new Promise(t=>{let r=()=>{e.close().finally(t)};process.once("SIGINT",r),process.once("SIGTERM",r)})}async function pL(e){let t=[e],r=[];for(;t.length>0;){let n=t.pop();if(!n)continue;await gL(n)&&r.push(n);let i=await Lm.readdir(n,{withFileTypes:!0});for(let a of i)!a.isDirectory()||a.name==="node_modules"||a.name===".git"||a.name==="tests"||t.push(ms.join(n,a.name))}return r}async function gL(e){for(let t of dL)try{if((await Lm.stat(ms.join(e,t))).isFile())return!0}catch{}return!1}import Mm from"node:fs/promises";import zl from"node:path";function vy(e){return[{path:"package.json",content:bL(e)},{path:"riebeckite.config.ts",content:yL(e)},{path:"vite.config.ts",content:EL()},{path:"tsconfig.json",content:xL()},{path:".gitignore",content:TL()},{path:"README.md",content:vL(e)},{path:"content/index.md",content:CL(e)},{path:"app/server.ts",content:AL()},{path:"app/client.ts",content:wL()},{path:"app/config.ts",content:SL()},{path:"app/content.ts",content:kL()},{path:"app/constants/paths.ts",content:DL()},{path:"app/global.d.ts",content:NL()},{path:"app/style.css",content:IL()},{path:"app/components/site-header.tsx",content:_L()},{path:"app/components/article.tsx",content:LL()},{path:"app/routes/_renderer.tsx",content:PL()},{path:"app/routes/index.tsx",content:RL()},{path:"app/routes/[slug{.+}].tsx",content:OL()}]}function bL(e){return`${JSON.stringify({name:e.name,private:!0,version:"0.0.0",type:"module",scripts:{dev:"riebeckite dev",build:"riebeckite build",check:"riebeckite check",doctor:"riebeckite doctor",inspect:"riebeckite inspect"},dependencies:{"@riebeckite/core":"^0.0.1","@riebeckite/honox":"^0.0.1","@riebeckite/plugin-obsidian-markdown":"^0.0.1","@riebeckite/theme-default":"^0.0.1",hono:"^4.12.25",honox:"0.1.56"},devDependencies:{"@hono/vite-build":"^1.11.1","@riebeckite/cli":"^0.0.1","@types/node":"^24.5.2",typescript:"^5.0.0",vite:"^8.0.9"}},null,2)}
|
|
463
|
+
`}function yL(e){return`import { defineConfig } from "@riebeckite/core";
|
|
464
|
+
import { obsidianMarkdown } from "@riebeckite/plugin-obsidian-markdown";
|
|
465
|
+
import { defaultTheme } from "@riebeckite/theme-default";
|
|
466
|
+
|
|
467
|
+
export default defineConfig({
|
|
468
|
+
site: {
|
|
469
|
+
title: ${JSON.stringify(e.title)},
|
|
470
|
+
description: ${JSON.stringify(e.description)},
|
|
471
|
+
baseUrl: ${JSON.stringify(e.baseUrl)},
|
|
472
|
+
locale: ${JSON.stringify(e.locale)},
|
|
473
|
+
},
|
|
474
|
+
content: {
|
|
475
|
+
directory: "content",
|
|
476
|
+
},
|
|
477
|
+
theme: defaultTheme(),
|
|
478
|
+
plugins: [obsidianMarkdown()],
|
|
479
|
+
});
|
|
480
|
+
`}function EL(){return`import path from "node:path";
|
|
481
|
+
import { fileURLToPath } from "node:url";
|
|
482
|
+
import build from "@hono/vite-build/node";
|
|
483
|
+
import {
|
|
484
|
+
riebeckite,
|
|
485
|
+
riebeckiteSsg,
|
|
486
|
+
riebeckiteSsgExtensionMap,
|
|
487
|
+
} from "@riebeckite/honox";
|
|
488
|
+
import honox from "honox/vite";
|
|
489
|
+
import { defineConfig } from "vite";
|
|
490
|
+
|
|
491
|
+
const appRoot = fileURLToPath(new URL(".", import.meta.url));
|
|
492
|
+
|
|
493
|
+
export default defineConfig({
|
|
494
|
+
plugins: [
|
|
495
|
+
honox({
|
|
496
|
+
client: { input: ["/app/client.ts", "/app/style.css"] },
|
|
497
|
+
}),
|
|
498
|
+
riebeckite({ appRoot }),
|
|
499
|
+
build(),
|
|
500
|
+
riebeckiteSsg({
|
|
501
|
+
entry: path.join(appRoot, "app/server.ts"),
|
|
502
|
+
extensionMap: riebeckiteSsgExtensionMap(),
|
|
503
|
+
}),
|
|
504
|
+
],
|
|
505
|
+
environments: {
|
|
506
|
+
ssr: {
|
|
507
|
+
resolve: {
|
|
508
|
+
external: [
|
|
509
|
+
"extend",
|
|
510
|
+
"debug",
|
|
511
|
+
"node:fs/promises",
|
|
512
|
+
"node:path",
|
|
513
|
+
"parse-numeric-range",
|
|
514
|
+
"slugify",
|
|
515
|
+
"vfile-matter",
|
|
516
|
+
],
|
|
517
|
+
},
|
|
518
|
+
},
|
|
519
|
+
},
|
|
520
|
+
});
|
|
521
|
+
`}function xL(){return`${JSON.stringify({compilerOptions:{target:"ES2022",module:"ESNext",moduleResolution:"Bundler",lib:["ES2022","DOM","DOM.Iterable"],jsx:"react-jsx",jsxImportSource:"hono/jsx",types:["node","vite/client"],strict:!0,noEmit:!0,esModuleInterop:!0,allowSyntheticDefaultImports:!0,resolveJsonModule:!0,skipLibCheck:!0},include:["app/**/*.ts","app/**/*.tsx","riebeckite.config.ts","vite.config.ts"]},null,2)}
|
|
522
|
+
`}function TL(){return["node_modules/","dist/",".riebeckite/",""].join(`
|
|
523
|
+
`)}function vL(e){return[`# ${e.title}`,"","A minimal Riebeckite site generated by `riebeckite init`.","","## Commands","","```sh","pnpm install","pnpm exec riebeckite check","pnpm exec riebeckite dev","pnpm exec riebeckite build","```","","Content lives in `content/`. The site owns `app/routes`, `app/components`,","`app/islands`, and `app/style.css`; see the Riebeckite HonoX integration","documentation for the site application contract.",""].join(`
|
|
524
|
+
`)}function CL(e){return["---","publish: true","---","",`# ${e.title}`,"","Welcome to your Riebeckite site.","","Edit `content/index.md` to change this page, and add more Markdown files","next to it. Files need `publish: true` frontmatter before they appear.",""].join(`
|
|
525
|
+
`)}function AL(){return`import { mountRiebeckiteEndpoints } from "@riebeckite/honox/server";
|
|
526
|
+
import { createApp } from "honox/server";
|
|
527
|
+
import { config } from "./config";
|
|
528
|
+
import { content } from "./content";
|
|
529
|
+
|
|
530
|
+
const app = createApp({
|
|
531
|
+
init: (app) => {
|
|
532
|
+
mountRiebeckiteEndpoints(app, { config, content });
|
|
533
|
+
},
|
|
534
|
+
});
|
|
535
|
+
|
|
536
|
+
export default app;
|
|
537
|
+
`}function wL(){return`import { initRiebeckiteClient } from "virtual:riebeckite/client";
|
|
538
|
+
import { createClient } from "honox/client";
|
|
539
|
+
|
|
540
|
+
createClient();
|
|
541
|
+
|
|
542
|
+
if (document.readyState === "loading") {
|
|
543
|
+
document.addEventListener("DOMContentLoaded", initPage, { once: true });
|
|
544
|
+
} else {
|
|
545
|
+
initPage();
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
function initPage() {
|
|
549
|
+
initRiebeckiteClient();
|
|
550
|
+
}
|
|
551
|
+
`}function SL(){return`import path from "node:path";
|
|
552
|
+
import { fileURLToPath } from "node:url";
|
|
553
|
+
import { resolveConfigModule } from "@riebeckite/core";
|
|
554
|
+
import * as rawConfigModule from "../riebeckite.config";
|
|
555
|
+
|
|
556
|
+
const appRoot =
|
|
557
|
+
process.env.RIEBECKITE_APP_ROOT ??
|
|
558
|
+
fileURLToPath(new URL("../", import.meta.url));
|
|
559
|
+
const resolvedConfig = resolveConfigModule(rawConfigModule);
|
|
560
|
+
|
|
561
|
+
export const config = {
|
|
562
|
+
...resolvedConfig,
|
|
563
|
+
content: {
|
|
564
|
+
...resolvedConfig.content,
|
|
565
|
+
directory: path.resolve(appRoot, resolvedConfig.content.directory),
|
|
566
|
+
},
|
|
567
|
+
};
|
|
568
|
+
`}function kL(){return`import { ContentManager } from "@riebeckite/core";
|
|
569
|
+
import { config } from "./config";
|
|
570
|
+
import { CONTENT_DIR } from "./constants/paths";
|
|
571
|
+
|
|
572
|
+
export const content = new ContentManager(
|
|
573
|
+
CONTENT_DIR,
|
|
574
|
+
config.content.exclude,
|
|
575
|
+
{
|
|
576
|
+
config,
|
|
577
|
+
plugins: config.plugins,
|
|
578
|
+
},
|
|
579
|
+
);
|
|
580
|
+
`}function DL(){return`import path from "node:path";
|
|
581
|
+
import { fileURLToPath } from "node:url";
|
|
582
|
+
import { config } from "../config";
|
|
583
|
+
|
|
584
|
+
const appRoot =
|
|
585
|
+
process.env.RIEBECKITE_APP_ROOT ??
|
|
586
|
+
fileURLToPath(new URL("../../", import.meta.url));
|
|
587
|
+
|
|
588
|
+
export const CONTENT_DIR = path.resolve(appRoot, config.content.directory);
|
|
589
|
+
export const ASSETS_ROOT = "public/";
|
|
590
|
+
`}function NL(){return`declare module "virtual:riebeckite/client" {
|
|
591
|
+
export function initRiebeckiteClient(): void;
|
|
592
|
+
}
|
|
593
|
+
`}function IL(){return`@import "./.riebeckite/plugin-styles.css";
|
|
594
|
+
@import "./.riebeckite/theme-styles.css";
|
|
595
|
+
|
|
596
|
+
body {
|
|
597
|
+
margin: 0;
|
|
598
|
+
font-family: system-ui, sans-serif;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.site-header {
|
|
602
|
+
display: flex;
|
|
603
|
+
gap: 1rem;
|
|
604
|
+
padding: 1rem;
|
|
605
|
+
border-bottom: 1px solid #d1d5db;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.site-header__home {
|
|
609
|
+
color: #111827;
|
|
610
|
+
font-weight: 700;
|
|
611
|
+
text-decoration: none;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.site-article {
|
|
615
|
+
display: block;
|
|
616
|
+
max-width: 48rem;
|
|
617
|
+
padding: 2rem 1rem;
|
|
618
|
+
margin: 0 auto;
|
|
619
|
+
}
|
|
620
|
+
`}function _L(){return`import { config } from "../config";
|
|
621
|
+
|
|
622
|
+
export function SiteHeader() {
|
|
623
|
+
return (
|
|
624
|
+
<header class="site-header">
|
|
625
|
+
<a href="/" class="site-header__home">
|
|
626
|
+
{config.site.title}
|
|
627
|
+
</a>
|
|
628
|
+
</header>
|
|
629
|
+
);
|
|
630
|
+
}
|
|
631
|
+
`}function LL(){return`import type { PostContent } from "@riebeckite/core";
|
|
632
|
+
import { Article, ArticleContent, ArticleLayout } from "@riebeckite/honox/ui";
|
|
633
|
+
|
|
634
|
+
export function SiteArticle({ post }: { post: PostContent }) {
|
|
635
|
+
return (
|
|
636
|
+
<Article class="site-article">
|
|
637
|
+
<ArticleLayout>
|
|
638
|
+
<ArticleContent>
|
|
639
|
+
<div dangerouslySetInnerHTML={{ __html: post.html ?? "" }} />
|
|
640
|
+
</ArticleContent>
|
|
641
|
+
</ArticleLayout>
|
|
642
|
+
</Article>
|
|
643
|
+
);
|
|
644
|
+
}
|
|
645
|
+
`}function PL(){return`import { jsxRenderer } from "hono/jsx-renderer";
|
|
646
|
+
import { Link, Script } from "honox/server";
|
|
647
|
+
import { SiteHeader } from "../components/site-header";
|
|
648
|
+
import { config } from "../config";
|
|
649
|
+
|
|
650
|
+
function themeAttributes() {
|
|
651
|
+
const { theme } = config;
|
|
652
|
+
|
|
653
|
+
return {
|
|
654
|
+
...theme.attributes,
|
|
655
|
+
"data-theme": theme.colorMode === "system" ? undefined : theme.colorMode,
|
|
656
|
+
"data-theme-name": theme.name,
|
|
657
|
+
"data-typography": theme.typography,
|
|
658
|
+
"data-article-layout": theme.articleLayout,
|
|
659
|
+
};
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export default jsxRenderer(({ children }) => {
|
|
663
|
+
return (
|
|
664
|
+
<html lang={config.site.locale} {...themeAttributes()}>
|
|
665
|
+
<head>
|
|
666
|
+
<meta charset="utf-8" />
|
|
667
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
668
|
+
<title>{config.site.title}</title>
|
|
669
|
+
<Link href="/app/style.css" rel="stylesheet" />
|
|
670
|
+
<Script src="/app/client.ts" async />
|
|
671
|
+
</head>
|
|
672
|
+
<body class="riebeckite-page">
|
|
673
|
+
<SiteHeader />
|
|
674
|
+
{children}
|
|
675
|
+
</body>
|
|
676
|
+
</html>
|
|
677
|
+
);
|
|
678
|
+
});
|
|
679
|
+
`}function RL(){return`import { isPublished } from "@riebeckite/core";
|
|
680
|
+
import { createRoute } from "honox/factory";
|
|
681
|
+
import { SiteArticle } from "../components/article";
|
|
682
|
+
import { config } from "../config";
|
|
683
|
+
import { content } from "../content";
|
|
684
|
+
|
|
685
|
+
export default createRoute(async (c) => {
|
|
686
|
+
const manifest = await content.getManifest();
|
|
687
|
+
const indexEntry = manifest.bySlug.get("index");
|
|
688
|
+
if (indexEntry && indexEntry.permalink !== "/") {
|
|
689
|
+
return c.redirect(indexEntry.permalink, 308);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
const post = await content.getProcessedContent("index");
|
|
693
|
+
if (!isPublished(config, post.frontmatter)) {
|
|
694
|
+
return c.notFound();
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
return c.render(<SiteArticle post={post} />);
|
|
698
|
+
});
|
|
699
|
+
`}function OL(){return`import { isPublished } from "@riebeckite/core";
|
|
700
|
+
import {
|
|
701
|
+
contentRouteSsgParams,
|
|
702
|
+
resolveContentRoute,
|
|
703
|
+
} from "@riebeckite/honox/server";
|
|
704
|
+
import { createRoute } from "honox/factory";
|
|
705
|
+
import { SiteArticle } from "../components/article";
|
|
706
|
+
import { config } from "../config";
|
|
707
|
+
import { content } from "../content";
|
|
708
|
+
|
|
709
|
+
export default createRoute(
|
|
710
|
+
contentRouteSsgParams("/:slug{.+}", async () => {
|
|
711
|
+
const manifest = await content.getManifest();
|
|
712
|
+
return manifest.entries
|
|
713
|
+
.filter((entry) => isPublished(config, entry.frontmatter))
|
|
714
|
+
.filter((entry) => entry.permalink !== "/")
|
|
715
|
+
.map((entry) => ({ slug: entry.permalink.replace(/^\\/+/, "") }));
|
|
716
|
+
}),
|
|
717
|
+
async (c) => {
|
|
718
|
+
const requestedSlug = c.req.param("slug");
|
|
719
|
+
if (!requestedSlug) return c.notFound();
|
|
720
|
+
if (/\\.[a-zA-Z0-9]+$/.test(requestedSlug)) return c.notFound();
|
|
721
|
+
|
|
722
|
+
const manifest = await content.getManifest();
|
|
723
|
+
const route = resolveContentRoute(manifest, c.req.path);
|
|
724
|
+
if (!route) return c.notFound();
|
|
725
|
+
if (route.kind === "redirect")
|
|
726
|
+
return c.redirect(route.location, route.status);
|
|
727
|
+
|
|
728
|
+
const post = await content.getProcessedContent(route.entry.slug);
|
|
729
|
+
if (!isPublished(config, post.frontmatter)) {
|
|
730
|
+
return c.notFound();
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
return c.render(<SiteArticle post={post} />);
|
|
734
|
+
},
|
|
735
|
+
);
|
|
736
|
+
`}var jl=class extends Error{constructor(t){super(t),this.name="ScaffoldSiteError"}};async function Fm(e){let t=zl.resolve(e.targetDirectory),r=vy(ML(e,t));await FL(t,r,e.overwrite??!1);for(let n of r){let i=zl.join(t,n.path);await Mm.mkdir(zl.dirname(i),{recursive:!0}),await Mm.writeFile(i,n.content,"utf8")}return{targetDirectory:t,files:r.map(n=>n.path)}}function ML(e,t){let r=BL(e.name??zl.basename(t));return{name:r,title:e.siteTitle??r,description:e.description??"",baseUrl:e.baseUrl??"",locale:e.locale??"en"}}async function FL(e,t,r){let n;try{n=await Mm.readdir(e)}catch(a){if(qL(a))return;throw a}let i=n.filter(a=>t.some(s=>s.path.split("/")[0]===a));if(i.length!==0&&!r)throw new jl(`The target directory is not empty: ${e}
|
|
737
|
+
Existing entries: ${i.slice(0,5).join(", ")}
|
|
738
|
+
Pass --force to overwrite generated files.`)}function BL(e){return e.trim().toLowerCase().replace(/[^a-z0-9._-]+/g,"-").replace(/^[-_.]+/,"").replace(/[-_.]+$/,"")||"riebeckite-site"}function qL(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}var Cy=["riebeckite.config.ts","riebeckite.config.js","riebeckite.config.mjs"];async function Ay(e){let t=Vl.resolve(e),r=t,n=await HL(r);if(!n)throw new Bm(`Could not find ${Cy.join(", ")} from ${r}.`);let i=Vl.dirname(n),a=await Pm({configRoot:i,configFile:n});return{invocationCwd:t,projectRoot:i,configRoot:i,configPath:n,appRoot:a.appRoot,contentRoot:a.contentRoot,config:a.config}}var Bm=class extends Error{hint;constructor(t){super(t),this.name="ProjectRootError",this.hint="Run the CLI from the application directory that contains riebeckite.config.ts."}};async function HL(e){for(let t of zL(e))for(let r of Cy){let n=Vl.join(t,r);if(await jL(n))return n}}function*zL(e){let t=e;for(;;){yield t;let r=Vl.dirname(t);if(r===t)return;t=r}}async function jL(e){try{return(await UL.stat(e)).isFile()}catch{return!1}}function Ur(e,t){return e.content.source??new $n(t.contentRoot,e.content.exclude)}function qm(e){return e.content.source?"custom":"filesystem"}async function ct(e){return e.config}async function Yl(e,t){let r=t.observability??{logger:new Cn,tracer:new Zn};await r.tracer.span("build.total",{},async()=>{let n=await ct(e),i=new gr(Ur(n,e),n.content.exclude,{config:n,observability:r});try{await i.build({incremental:!t.full})}finally{await i.dispose()}await Om({root:e.appRoot,tracer:r.tracer})})}async function wy(e){await ct(e)}async function Sy(e){await ct(e),await Rm({root:e.appRoot})}var VL=3,YL={"malformed-json":"State file is not valid JSON.","unsupported-version":"State file version is not supported.","invalid-shape":"State file structure is not recognized."};async function ky(e,t){if(!t)return{result:{id:"build-state",label:"Incremental build state",status:"skipped",message:"Skipped because configuration is unavailable."}};let r=vn(t,void 0);try{let n=await Wi(r);if(n.kind==="valid"){let i=await $L(e,t,r);return i?{statePath:r,result:{id:"build-state",label:"Incremental build state",status:"warning",message:"State does not match current content.",details:i}}:{statePath:r,result:{id:"build-state",label:"Incremental build state",status:"ok",message:`Valid; ${n.entryCount} entries match current content.`}}}return n.kind==="missing"?{statePath:r,result:{id:"build-state",label:"Incremental build state",status:"skipped",message:"No incremental build state yet."}}:{statePath:r,result:{id:"build-state",label:"Incremental build state",status:"warning",message:"Invalid state will fall back to a full build.",details:[YL[n.reason]]}}}catch(n){return{statePath:r,result:{id:"build-state",label:"Incremental build state",status:"error",message:"Could not read state.",cause:n}}}}async function $L(e,t,r){let n=await Gi(r);if(!n)return["State file could not be read for comparison."];let i=Ur(t,e),a=await Ki(await i.scan(),c=>GL(i,c)),s=new Map(a.map(({entry:c,fingerprint:f})=>[c.path,f])),o=[],u=[];for(let[c,f]of s){let m=n.entries[c];if(!m){o.push(c);continue}m.fingerprint!==f&&u.push(c)}let l=Object.keys(n.entries).filter(c=>!s.has(c));if(!(o.length===0&&u.length===0&&l.length===0))return[`${o.length} new, ${u.length} changed, ${l.length} removed since the last build.`,...Um("New",o),...Um("Changed",u),...Um("Removed",l)]}async function GL(e,t){let r=await e.read(t);return typeof r=="string"?r:new TextDecoder().decode(r)}function Um(e,t){return t.slice(0,VL).map(r=>`${e}: ${r}`)}async function Dy(e){try{return{config:await ct(e),result:{id:"configuration",label:"Configuration",status:"ok",message:"Valid."}}}catch(t){return t instanceof Yi?{result:{id:"configuration",label:"Configuration",status:"error",message:"Invalid.",details:t.issues.map(r=>`${r.path}: ${r.message}`)}}:t instanceof jt?{pluginResolutionError:t,result:{id:"configuration",label:"Configuration",status:"ok",message:"Valid."}}:{result:{id:"configuration",label:"Configuration",status:"error",message:"Could not be loaded.",cause:t}}}}import Ny from"node:path";var WL=3;async function Iy(e,t){if(!t)return KL();try{let r=new gr(Ur(t,e),t.content.exclude,{config:t}),n=await r.scan(),i=XL(n),a=QL(n);if(i.length>0)return{id:"content",label:"Content",status:"error",message:"Content source returned invalid logical paths.",details:i.map(l=>`Invalid logical path: ${l}`)};let s=await r.inspect(),o=ZL(s.diagnostics),u=[`${s.entries.length} content entries scanned.`,...a.map(l=>`Duplicate logical path: ${l}`),...o];return{id:"content",label:"Content",status:JL(a.length>0,s.diagnostics),message:`${s.entries.length} content entries scanned.`,details:u.length>1?u.slice(1):void 0}}catch(r){return{id:"content",label:"Content",status:"error",message:"Could not inspect content.",cause:r}}}function KL(){return{id:"content",label:"Content",status:"skipped",message:"Skipped because configuration is unavailable."}}function QL(e){let t=new Set,r=new Set;for(let n of e)t.has(n.path)&&r.add(n.path),t.add(n.path);return[...r].sort()}function XL(e){return e.map(t=>t.path).filter(t=>typeof t!="string"||!t||Ny.posix.isAbsolute(t)||Ny.win32.isAbsolute(t)||t.includes("\\")||t.split("/").some(r=>r===""||r==="."||r==="..")).map(String).sort()}function JL(e,t){return e||t.some(r=>r.severity==="error")?"error":t.some(r=>r.severity==="warning")?"warning":"ok"}function ZL(e){let r=[...Map.groupBy(e,i=>i.code).entries()].sort(([i],[a])=>i.localeCompare(a)).map(([i,a])=>`${a.length} ${i}`),n=e.slice(0,WL).map(i=>{let a=i.filePath??i.slug;return a?`${a}: ${i.message}`:i.message});return[...r,...n]}import Bi from"node:fs/promises";import _y from"node:path";async function Ly(e){return await Promise.all([eP(e),tP(e)])}async function Py(e){let t=_y.dirname(e);try{return(await Bi.stat(t)).isDirectory()?(await Bi.access(t,Bi.constants.R_OK|Bi.constants.W_OK),{id:"state-directory",label:"State directory",status:"ok",message:"Available for build-time state."}):{id:"state-directory",label:"State directory",status:"error",message:"The incremental build state parent is not a directory."}}catch(r){return rP(r)?{id:"state-directory",label:"State directory",status:"skipped",message:"Will be created by the first build."}:Hm("state-directory","State directory",r)}}async function eP(e){try{return(await Bi.stat(e.projectRoot)).isDirectory()?{id:"project-root",label:"Project root",status:"ok",message:"Detected."}:{id:"project-root",label:"Project root",status:"error",message:"Resolved path is not a directory."}}catch(t){return Hm("project-root","Project root",t)}}async function tP(e){try{return(await Bi.stat(e.configPath)).isFile()?{id:"configuration-file",label:"Configuration file",status:"ok",message:_y.basename(e.configPath)}:{id:"configuration-file",label:"Configuration file",status:"error",message:"Resolved path is not a file."}}catch(t){return Hm("configuration-file","Configuration file",t)}}function Hm(e,t,r){return{id:e,label:t,status:"error",message:"Unexpected diagnostic failure.",cause:r}}function rP(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}function Ry(e,t){return t?{id:"plugins",label:"Plugins",status:"error",message:"Dependency resolution failed.",details:[t.message],cause:t.cause}:e?{id:"plugins",label:"Plugins",status:"ok",message:`${e.plugins.length} plugins resolved.`}:{id:"plugins",label:"Plugins",status:"skipped",message:"Skipped because configuration is unavailable."}}async function Oy(e){let t=await Ly(e),r=await Dy(e),n=Ry(r.config,r.pluginResolutionError),[i,a]=await Promise.all([Iy(e,r.config),ky(e,r.config)]),s=a.statePath?await Py(a.statePath):{id:"state-directory",label:"State directory",status:"skipped",message:"Skipped because configuration is unavailable."};return[...t,r.result,n,i,a.result,s]}function $l(e){return My(e,new Set)}function My(e,t){if(!(e instanceof Error))return String(e);if(t.has(e))return e.message;t.add(e);let r=[nP(e)],n=ps(e,"code"),i=ps(e,"path")??ps(e,"fileName")??ps(e,"file"),a=ps(e,"hint");n&&r.push(` code: ${n}`),i&&r.push(` file: ${i}`),a&&r.push(` hint: ${a}`);let s="cause"in e?e.cause:void 0;return s!==void 0&&r.push(`Caused by: ${My(s,t)}`),r.join(`
|
|
739
|
+
`)}function nP(e){return e.name&&e.name!=="Error"?`${e.name}: ${e.message}`:e.message}function ps(e,t){let r=e[t];return typeof r=="string"&&r.length>0?r:void 0}var iP={ok:"\u2713",warning:"\u26A0",error:"\u2717",skipped:"-"};function Fy(e){let t=["Riebeckite Doctor",""];for(let i of e){t.push(i.label),t.push(`${iP[i.status]} ${i.message??i.status}`);for(let a of i.details??[])t.push(` ${a}`);i.cause!==void 0&&t.push(` ${$l(i.cause).replace(/\n/g,`
|
|
740
|
+
`)}`)}let r=e.filter(i=>i.status==="error").length,n=e.filter(i=>i.status==="warning").length;return t.push("","Summary",`${n} warnings`,`${r} errors`),t.join(`
|
|
741
|
+
`)}async function By(e){let t=await Oy(e);return console.log(Fy(t)),t.every(r=>r.status!=="error")}import qy from"node:path";async function Uy(e){let t=qy.resolve(process.cwd(),e.directory),r=await Fm({targetDirectory:t,overwrite:e.force}),n=qy.relative(process.cwd(),r.targetDirectory)||".";console.log(`Created a Riebeckite site in ${n}`),console.log(""),console.log("Next steps:"),n!=="."&&console.log(` cd ${n}`),console.log(" pnpm install"),console.log(" pnpm exec riebeckite check"),console.log(" pnpm exec riebeckite build")}import zy from"node:path";async function jy(e){let t=await ct(e),[r,n]=await Promise.all([jm(t,e),Vm(t)]),i=Ss(t.plugins);return{root:Hy(e.projectRoot,e.invocationCwd),configPath:Hy(e.configPath,e.invocationCwd),content:{source:r.source,entryCount:r.entryCount},plugins:{enabledCount:i.filter(a=>a.enabled).length,capabilityCount:new Set(i.flatMap(a=>a.provides)).size},build:n}}async function Vy(e){let t=await ct(e);return{site:{title:t.site.title,baseUrl:t.site.baseUrl,locale:t.site.locale},content:{source:qm(t),directory:t.content.directory,excludeCount:t.content.exclude.length,publishStrategy:t.content.filters.publishStrategy},theme:{name:t.theme.name,colorMode:t.theme.colorMode},pluginCount:t.plugins.length}}async function Yy(e){let t=await ct(e);return Ss(t.plugins).map((r,n)=>({...r,order:n+1,provides:zm(r.provides),requires:zm(r.requires),optional:zm(r.optional)}))}async function jm(e,t){let r=Ur(e,t),n=(await r.scan()).map(a=>a.path).toSorted((a,s)=>a.localeCompare(s)),i=Object.entries(n.reduce((a,s)=>{let o=zy.posix.extname(s).toLowerCase()||"(none)";return a[o]=(a[o]??0)+1,a},{})).map(([a,s])=>({extension:a,count:s})).toSorted((a,s)=>a.extension.localeCompare(s.extension));return{source:qm(e),entryCount:n.length,extensions:i,paths:await aP(e,r,n)}}async function aP(e,t,r){let n=await new gr(t,[],{config:e}).getContentLocations();return r.map(i=>{if(!i.endsWith(".md"))return{path:i};let a=n.get(i.replace(/\.md$/,""));return{path:i,id:a?.metadata?.id,idSource:a?.metadata?.idSource,permalink:a?.permalink}})}async function $y(e){let t=await ct(e),r=Ur(t,e),n=await new gr(r,[],{config:t}).getContentLocations(),i=await _m(r,n),a=i.nodes(),s=a.map(o=>({path:`${o.slug}.md`,incomingCount:i.incomingSlugs(o.slug).length})).toSorted((o,u)=>u.incomingCount-o.incomingCount||o.path.localeCompare(u.path)).slice(0,5);return{nodeCount:a.length,edgeCount:a.reduce((o,u)=>o+i.outgoingSlugs(u.slug).length,0),mostLinked:s}}async function Vm(e){let t=await Wi(vn(e,void 0));return t.kind==="missing"?{status:"not created"}:t.kind==="invalid"?{status:"invalid",reason:t.reason}:{status:"valid",version:t.version,entryCount:t.entryCount}}function Hy(e,t){return zy.relative(t,e)||"."}function zm(e){return[...e].sort((t,r)=>t.localeCompare(r))}var Gy={"malformed-json":"state file is not valid JSON","unsupported-version":"state file version is not supported","invalid-shape":"state file structure is not recognized"};function Wy(e){return["Riebeckite Inspector","","Application",Ae("Root",e.root),Ae("Config",e.configPath),"","Content",Ae("Source",e.content.source),Ae("Entries",e.content.entryCount),"","Plugins",Ae("Enabled",e.plugins.enabledCount),Ae("Capabilities",e.plugins.capabilityCount),"","Build",Ae("State",e.build.status),...e.build.status==="valid"?[Ae("Entries",e.build.entryCount)]:[],...e.build.status==="invalid"?[Ae("Reason",Gy[e.build.reason])]:[],"","Use:"," riebeckite inspect config"," riebeckite inspect plugins"," riebeckite inspect content"," riebeckite inspect graph"," riebeckite inspect build"].join(`
|
|
742
|
+
`)}function Ky(e){return["Configuration","","Site",Ae("Title",e.site.title),Ae("Base URL",e.site.baseUrl),Ae("Locale",e.site.locale),"","Content",Ae("Source",e.content.source),Ae("Directory",e.content.directory),Ae("Exclude",`${e.content.excludeCount} patterns`),Ae("Publishing",e.content.publishStrategy),"","Theme",Ae("Name",e.theme.name),Ae("Color mode",e.theme.colorMode),"","Plugins",Ae("Count",e.pluginCount)].join(`
|
|
743
|
+
`)}function Qy(e){return["Plugins",""," # Plugin Enabled Provides Requires Optional",...e.map(t=>[` ${String(t.order).padStart(2)}`,t.name,t.enabled?"yes":"no",Ym(t.provides),Ym(t.requires),Ym(t.optional)].join(" "))].join(`
|
|
744
|
+
`)}function Xy(e,t){return["Content","","Source",Ae("Type",e.source),Ae("Entries",e.entryCount),"","Extensions",...e.extensions.map(r=>Ae(r.extension,r.count)),...t.list?["","PATH ID ID SOURCE PERMALINK",...e.paths.map(r=>` ${r.path} ${r.id??"-"} ${r.idSource??"-"} ${r.permalink??"-"}`)]:[]].join(`
|
|
745
|
+
`)}function Jy(e){return["Content Graph","",Ae("Nodes",e.nodeCount),Ae("Edges",e.edgeCount),...e.mostLinked.length>0?["","Most linked",...e.mostLinked.map(t=>Ae(t.path,t.incomingCount))]:[]].join(`
|
|
746
|
+
`)}function Zy(e){return["Build State","",Ae("Status",e.status),...e.status==="valid"?[Ae("Version",e.version),Ae("Entries",e.entryCount)]:[],...e.status==="invalid"?[Ae("Reason",Gy[e.reason])]:[]].join(`
|
|
747
|
+
`)}function Ae(e,t){return` ${e.padEnd(14)} ${t}`}function Ym(e){return e.length>0?e.join(", "):"-"}async function e8(e,t){if(!t.target){console.log(Wy(await jy(e)));return}if(t.target==="config"){console.log(Ky(await Vy(e)));return}if(t.target==="plugins"){console.log(Qy(await Yy(e)));return}if(t.target==="content"){let n=await ct(e);console.log(Xy(await jm(n,e),{list:t.list}));return}if(t.target==="graph"){console.log(Jy(await $y(e)));return}let r=await ct(e);console.log(Zy(await Vm(r)))}var Wl=class{content=new Map;integrations=new Map;plugins=new Map;diagnosticsDuration=new Map;slowOperations=[];totalDurationMs;incremental;diagnosticCounts;cacheHits=0;cacheMisses=0;hasCacheEvents=!1;onSpan(t){t.name==="build.total"&&(this.totalDurationMs=t.durationMs),sP(t.name)&&Gl(this.content,t.name,t.durationMs),t.name.startsWith("integration.")&&Gl(this.integrations,t.name,t.durationMs),t.name==="diagnostics.run"&&Gl(this.diagnosticsDuration,t.name,t.durationMs);let r=t8(t.attributes,"plugin");if(r&&t.name.startsWith("plugin.")&&Gl(this.plugins,r,t.durationMs),t.name==="plugin.render"&&r){let n=t8(t.attributes,"contentPath");n&&lP(this.slowOperations,{plugin:r,name:t.name,durationMs:t.durationMs,contentPath:n})}}onEvent(t){t.name==="build.incremental"&&(this.incremental={added:Hr(t,"added"),changed:Hr(t,"changed"),removed:Hr(t,"removed"),unchanged:Hr(t,"unchanged"),affected:Hr(t,"affected")}),t.name==="cache.hit"&&(this.cacheHits++,this.hasCacheEvents=!0),t.name==="cache.miss"&&(this.cacheMisses++,this.hasCacheEvents=!0),t.name==="diagnostics.summary"&&(this.diagnosticCounts={total:Hr(t,"total"),errors:Hr(t,"errors"),warnings:Hr(t,"warnings"),info:Hr(t,"info")})}createReport(){let t=this.cacheHits+this.cacheMisses,r=this.diagnosticsDuration.get("diagnostics.run"),n=r||this.diagnosticCounts?{calls:r?.calls??0,durationMs:r?.cumulativeDurationMs??0,total:this.diagnosticCounts?.total??0,errors:this.diagnosticCounts?.errors??0,warnings:this.diagnosticCounts?.warnings??0,info:this.diagnosticCounts?.info??0}:void 0;return{totalDurationMs:this.totalDurationMs,content:new Map([...this.content.entries()].sort(([i],[a])=>i.localeCompare(a)).map(([i,a])=>[i,$m(a)])),integrations:new Map([...this.integrations.entries()].sort(([i],[a])=>i.localeCompare(a)).map(([i,a])=>[i,$m(a)])),plugins:[...this.plugins.entries()].map(([i,a])=>({name:i,duration:$m(a)})).sort(oP),incremental:this.incremental,cache:this.hasCacheEvents?{hits:this.cacheHits,misses:this.cacheMisses,hitRate:t===0?void 0:this.cacheHits/t}:void 0,diagnostics:n,slowestOperations:[...this.slowOperations]}}};function sP(e){return e==="content.scan"||e==="content.process"||e==="content.manifest"||e==="content.graph"}function Gl(e,t,r){let n=e.get(t)??{cumulativeDurationMs:0,calls:0,maxDurationMs:0};n.cumulativeDurationMs+=r,n.calls++,n.maxDurationMs=Math.max(n.maxDurationMs,r),e.set(t,n)}function $m(e){return{calls:e.calls,cumulativeDurationMs:e.cumulativeDurationMs,averageDurationMs:e.cumulativeDurationMs/e.calls,maxDurationMs:e.maxDurationMs,wallDurationMs:e.calls===1?e.cumulativeDurationMs:void 0}}function t8(e,t){let r=e[t];return typeof r=="string"?r:void 0}function Hr(e,t){let r=e.attributes[t];return typeof r=="number"?r:0}function oP(e,t){return t.duration.cumulativeDurationMs-e.duration.cumulativeDurationMs||e.name.localeCompare(t.name)}function uP(e,t){return t.durationMs-e.durationMs||e.plugin.localeCompare(t.plugin)||e.contentPath.localeCompare(t.contentPath)}function lP(e,t){e.push(t),e.sort(uP),e.splice(5)}var r8={"content.scan":"Scan","content.process":"Process","content.manifest":"Manifest","content.graph":"Graph"};function Gm(e,t=!1){let r=[t?"Riebeckite Partial Build Profile":"Riebeckite Build Profile"];return e.totalDurationMs!==void 0&&r.push("",Be("Total",En(e.totalDurationMs))),fP(r,e),cP(r,e),dP(r,e),hP(r,e),mP(r,e),pP(r,e),gP(r,e),r.join(`
|
|
748
|
+
`)}function cP(e,t){if(t.integrations.size!==0){e.push("","Integrations");for(let[r,n]of t.integrations)n8(e,r.replace("integration.",""),n)}}function fP(e,t){if(t.content.size!==0){e.push("","Content");for(let r of Object.keys(r8)){let n=t.content.get(r);n&&n8(e,r8[r]??r,n)}}}function dP(e,t){if(t.plugins.length!==0){e.push("","Plugins (cumulative work)");for(let r of t.plugins)e.push(Be(`${r.name} (${r.duration.calls} calls)`,En(r.duration.cumulativeDurationMs),2))}}function n8(e,t,r){if(r.wallDurationMs!==void 0){e.push(Be(t,En(r.wallDurationMs),2));return}e.push(Be(`${t} (${r.calls} calls)`,"",2)),e.push(Be("Cumulative",En(r.cumulativeDurationMs),4)),e.push(Be("Average",En(r.averageDurationMs),4)),e.push(Be("Max",En(r.maxDurationMs),4))}function hP(e,t){t.incremental&&(e.push("","Incremental"),e.push(Be("Added",String(t.incremental.added),2)),e.push(Be("Changed",String(t.incremental.changed),2)),e.push(Be("Removed",String(t.incremental.removed),2)),e.push(Be("Unchanged",String(t.incremental.unchanged),2)),e.push(Be("Affected",String(t.incremental.affected),2)))}function mP(e,t){t.cache&&(e.push("","Cache"),e.push(Be("Hits",String(t.cache.hits),2)),e.push(Be("Misses",String(t.cache.misses),2)),t.cache.hitRate!==void 0&&e.push(Be("Hit rate",`${(t.cache.hitRate*100).toFixed(1)}%`,2)))}function pP(e,t){t.diagnostics&&(e.push("","Diagnostics"),e.push(Be("Run",En(t.diagnostics.durationMs),2)),t.diagnostics.calls>1&&e.push(Be("Calls",String(t.diagnostics.calls),2)),e.push(Be("Total",String(t.diagnostics.total),2)),e.push(Be("Errors",String(t.diagnostics.errors),2)),e.push(Be("Warnings",String(t.diagnostics.warnings),2)),e.push(Be("Info",String(t.diagnostics.info),2)))}function gP(e,t){if(t.slowestOperations.length!==0){e.push("","Slowest operations");for(let r of t.slowestOperations)e.push(Be(`${r.plugin} render`,`${En(r.durationMs)} ${r.contentPath}`,2))}}function Be(e,t,r=0){return`${" ".repeat(r)}${e.padEnd(28-r)}${t}`}function En(e){return e<1?`${e.toFixed(2)}ms`:e<1e3?`${e.toFixed(e<10?1:0)}ms`:`${(e/1e3).toFixed(2)}s`}async function i8(e,t){let r=new Wl;try{await Yl(e,{full:t.full,observability:{logger:new Cn,tracer:new Qi(r)}})}catch(n){throw console.log(Gm(r.createReport(),!0)),n}console.log(Gm(r.createReport()))}async function s8(e){try{let t=bP(e);if(t.name==="init"){await Uy({directory:t.directory,force:t.force});return}let r=await Ay(process.cwd());if(t.name==="dev"){await Sy(r);return}if(t.name==="build"){await Yl(r,{full:t.full});return}if(t.name==="doctor"){await By(r)||(process.exitCode=1);return}if(t.name==="profile"){await i8(r,{full:t.full});return}if(t.name==="inspect"){await e8(r,{target:t.target,list:t.list});return}await wy(r),console.log("Riebeckite configuration is valid.")}catch(t){console.error($l(t)),process.exitCode=1}}function bP(e){let[t,...r]=e;if(t==="dev"&&r.length===0)return{name:t};if(t==="check"&&r.length===0)return{name:t};if(t==="init")return yP(r);if(t==="build"&&(r.length===0||r.length===1&&r[0]==="--full"))return{name:t,full:r[0]==="--full"};if(t==="inspect")return EP(r);if(t==="doctor"&&r.length===0)return{name:t};if(t==="profile"&&(r.length===0||r.length===1&&r[0]==="--full"))return{name:t,full:r[0]==="--full"};throw new Gn("Usage: riebeckite <init [directory] [--force] | dev | build [--full] | check | doctor | profile [--full] | inspect [config | plugins | content [--list] | graph | build]>")}function yP(e){let t,r=!1;for(let n of e){if(n==="--force"){r=!0;continue}if(n.startsWith("-"))throw new Gn(`Unknown init option: ${n}`);if(t!==void 0)throw new Gn("Usage: riebeckite init [directory] [--force]");t=n}return{name:"init",directory:t??".",force:r}}function EP(e){if(e.length===0)return{name:"inspect",list:!1};if(e.length===1&&a8(e[0]))return{name:"inspect",target:e[0],list:!1};if(e.length===2&&e[0]==="content"&&e[1]==="--list")return{name:"inspect",target:"content",list:!0};let t=e[0]??"";throw t&&!a8(t)?new Gn(`Unknown inspect target: ${t}
|
|
749
|
+
|
|
750
|
+
Available:
|
|
751
|
+
config
|
|
752
|
+
plugins
|
|
753
|
+
content
|
|
754
|
+
graph
|
|
755
|
+
build`):new Gn("Usage: riebeckite inspect [config | plugins | content [--list] | graph | build]")}function a8(e){return e==="config"||e==="plugins"||e==="content"||e==="graph"||e==="build"}var Gn=class extends Error{constructor(t){super(t),this.name="CliUsageError"}};s8(process.argv.slice(2));
|