@riebeckite/cli 0.0.5 → 0.0.6

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/dist/cli.cjs ADDED
@@ -0,0 +1,476 @@
1
+ var K7=Object.create;var $0=Object.defineProperty;var Q7=Object.getOwnPropertyDescriptor;var X7=Object.getOwnPropertyNames;var J7=Object.getPrototypeOf,Z7=Object.prototype.hasOwnProperty;var re=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},As=(e,t)=>{for(var r in t)$0(e,r,{get:t[r],enumerable:!0})},e8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of X7(t))!Z7.call(e,i)&&i!==r&&$0(e,i,{get:()=>t[i],enumerable:!(n=Q7(t,i))||n.enumerable});return e};var De=(e,t,r)=>(r=e!=null?K7(J7(e)):{},e8(t||!e||!e.__esModule?$0(r,"default",{value:e,enumerable:!0}):r,e));var X2=re((HU,kf)=>{(function(){var e;typeof kf<"u"?e=kf.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,h=!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],h)switch(h=!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==="%"?h=!0:l+=c;return l}})()});var Q3=re((vK,K3)=>{"use strict";var ku=Object.prototype.hasOwnProperty,W3=Object.prototype.toString,z3=Object.defineProperty,V3=Object.getOwnPropertyDescriptor,Y3=function(t){return typeof Array.isArray=="function"?Array.isArray(t):W3.call(t)==="[object Array]"},j3=function(t){if(!t||W3.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)},$3=function(t,r){z3&&r.name==="__proto__"?z3(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},G3=function(t,r){if(r==="__proto__")if(ku.call(t,r)){if(V3)return V3(t,r).value}else return;return t[r]};K3.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=G3(o,r),i=G3(t,r),o!==i&&(c&&i&&(j3(i)||(a=Y3(i)))?(a?(a=!1,s=n&&Y3(n)?n:[]):s=n&&j3(n)?n:{},$3(o,{name:r,newValue:e(c,s,i)})):typeof i<"u"&&$3(o,{name:r,newValue:i}));return o}});var Ee=re(rt=>{"use strict";var Uh=Symbol.for("yaml.alias"),t6=Symbol.for("yaml.document"),Iu=Symbol.for("yaml.map"),r6=Symbol.for("yaml.pair"),Hh=Symbol.for("yaml.scalar"),Nu=Symbol.for("yaml.seq"),qr=Symbol.for("yaml.node.type"),Vk=e=>!!e&&typeof e=="object"&&e[qr]===Uh,Yk=e=>!!e&&typeof e=="object"&&e[qr]===t6,jk=e=>!!e&&typeof e=="object"&&e[qr]===Iu,$k=e=>!!e&&typeof e=="object"&&e[qr]===r6,n6=e=>!!e&&typeof e=="object"&&e[qr]===Hh,Gk=e=>!!e&&typeof e=="object"&&e[qr]===Nu;function i6(e){if(e&&typeof e=="object")switch(e[qr]){case Iu:case Nu:return!0}return!1}function Wk(e){if(e&&typeof e=="object")switch(e[qr]){case Uh:case Iu:case Hh:case Nu:return!0}return!1}var Kk=e=>(n6(e)||i6(e))&&!!e.anchor;rt.ALIAS=Uh;rt.DOC=t6;rt.MAP=Iu;rt.NODE_TYPE=qr;rt.PAIR=r6;rt.SCALAR=Hh;rt.SEQ=Nu;rt.hasAnchor=Kk;rt.isAlias=Vk;rt.isCollection=i6;rt.isDocument=Yk;rt.isMap=jk;rt.isNode=Wk;rt.isPair=$k;rt.isScalar=n6;rt.isSeq=Gk});var Oa=re(zh=>{"use strict";var Qe=Ee(),Ct=Symbol("break visit"),a6=Symbol("skip children"),mr=Symbol("remove node");function _u(e,t){let r=s6(t);Qe.isDocument(e)?Ai(null,e.contents,r,Object.freeze([e]))===mr&&(e.contents=null):Ai(null,e,r,Object.freeze([]))}_u.BREAK=Ct;_u.SKIP=a6;_u.REMOVE=mr;function Ai(e,t,r,n){let i=o6(e,t,r,n);if(Qe.isNode(i)||Qe.isPair(i))return u6(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===Ct)return Ct;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===Ct)return Ct;a===mr&&(t.key=null);let s=Ai("value",t.value,r,n);if(s===Ct)return Ct;s===mr&&(t.value=null)}}return i}async function Lu(e,t){let r=s6(t);Qe.isDocument(e)?await wi(null,e.contents,r,Object.freeze([e]))===mr&&(e.contents=null):await wi(null,e,r,Object.freeze([]))}Lu.BREAK=Ct;Lu.SKIP=a6;Lu.REMOVE=mr;async function wi(e,t,r,n){let i=await o6(e,t,r,n);if(Qe.isNode(i)||Qe.isPair(i))return u6(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===Ct)return Ct;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===Ct)return Ct;a===mr&&(t.key=null);let s=await wi("value",t.value,r,n);if(s===Ct)return Ct;s===mr&&(t.value=null)}}return i}function s6(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 o6(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 u6(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`)}}zh.visit=_u;zh.visitAsync=Lu});var Vh=re(c6=>{"use strict";var l6=Ee(),Qk=Oa(),Xk={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Jk=e=>e.replace(/[!,[\]{}]/g,t=>Xk[t]),Ra=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+Jk(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&&l6.isNode(t.contents)){let a={};Qk.visit(t.contents,(s,o)=>{l6.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(`
2
+ `)}};Ra.defaultYaml={explicit:!1,version:"1.2"};Ra.defaultTags={"!!":"tag:yaml.org,2002:"};c6.Directives=Ra});var Pu=re(Ma=>{"use strict";var f6=Ee(),Zk=Oa();function eS(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 h6(e){let t=new Set;return Zk.visit(e,{Value(r,n){n.anchor&&t.add(n.anchor)}}),t}function d6(e,t){for(let r=1;;++r){let n=`${e}${r}`;if(!t.has(n))return n}}function tS(e,t){let r=[],n=new Map,i=null;return{onAnchor:a=>{r.push(a),i??(i=h6(e));let s=d6(t,i);return i.add(s),s},setAnchors:()=>{for(let a of r){let s=n.get(a);if(typeof s=="object"&&s.anchor&&(f6.isScalar(s.node)||f6.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}}Ma.anchorIsValid=eS;Ma.anchorNames=h6;Ma.createNodeAnchors=tS;Ma.findNewAnchor=d6});var Yh=re(m6=>{"use strict";function Fa(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=Fa(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=Fa(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=Fa(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=Fa(e,n,i,a);s===void 0?delete n[i]:s!==a&&(n[i]=s)}return e.call(t,r,n)}m6.applyReviver=Fa});var un=re(g6=>{"use strict";var rS=Ee();function p6(e,t,r){if(Array.isArray(e))return e.map((n,i)=>p6(n,String(i),r));if(e&&typeof e.toJSON=="function"){if(!r||!rS.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}g6.toJS=p6});var Ou=re(y6=>{"use strict";var nS=Yh(),b6=Ee(),iS=un(),jh=class{constructor(t){Object.defineProperty(this,b6.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(!b6.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=iS.toJS(this,"",s);if(typeof i=="function")for(let{count:u,res:l}of s.anchors.values())i(l,u);return typeof a=="function"?nS.applyReviver(a,{"":o},"",o):o}};y6.NodeBase=jh});var Ba=re(E6=>{"use strict";var aS=Pu(),sS=Oa(),ki=Ee(),oS=Ou(),uS=un(),$h=class extends oS.NodeBase{constructor(t){super(ki.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=[],sS.visit(t,{Node:(a,s)=>{(ki.isAlias(s)||ki.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||(uS.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=Ru(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(aS.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 Ru(e,t,r){if(ki.isAlias(t)){let n=t.resolve(e),i=r&&n&&r.get(n);return i?i.count*i.aliasCount:0}else if(ki.isCollection(t)){let n=0;for(let i of t.items){let a=Ru(e,i,r);a>n&&(n=a)}return n}else if(ki.isPair(t)){let n=Ru(e,t.key,r),i=Ru(e,t.value,r);return Math.max(n,i)}return 1}E6.Alias=$h});var $e=re(Gh=>{"use strict";var lS=Ee(),cS=Ou(),fS=un(),hS=e=>!e||typeof e!="function"&&typeof e!="object",ln=class extends cS.NodeBase{constructor(t){super(lS.SCALAR),this.value=t}toJSON(t,r){return r?.keep?this.value:fS.toJS(this.value,t,r)}toString(){return String(this.value)}};ln.BLOCK_FOLDED="BLOCK_FOLDED";ln.BLOCK_LITERAL="BLOCK_LITERAL";ln.PLAIN="PLAIN";ln.QUOTE_DOUBLE="QUOTE_DOUBLE";ln.QUOTE_SINGLE="QUOTE_SINGLE";Gh.Scalar=ln;Gh.isScalarValue=hS});var qa=re(T6=>{"use strict";var dS=Ba(),Un=Ee(),x6=$e(),mS="tag:yaml.org,2002:";function pS(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 gS(e,t,r){if(Un.isDocument(e)&&(e=e.contents),Un.isNode(e))return e;if(Un.isPair(e)){let h=r.schema[Un.MAP].createNode?.(r.schema,null,r);return h.items.push(e),h}(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 dS.Alias(u.anchor);u={anchor:null,node:null},o.set(e,u)}t?.startsWith("!!")&&(t=mS+t.slice(2));let l=pS(e,t,s.tags);if(!l){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){let h=new x6.Scalar(e);return u&&(u.node=h),h}l=e instanceof Map?s[Un.MAP]:Symbol.iterator in Object(e)?s[Un.SEQ]:s[Un.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 x6.Scalar(e);return t?c.tag=t:l.default||(c.tag=l.tag),u&&(u.node=c),c}T6.createNode=gS});var Fu=re(Mu=>{"use strict";var bS=qa(),pr=Ee(),yS=Ou();function Wh(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 bS.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 v6=e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,Kh=class extends yS.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(v6(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,Wh(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,Wh(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}};Mu.Collection=Kh;Mu.collectionFromPath=Wh;Mu.isEmptyPath=v6});var Ua=re(Bu=>{"use strict";var ES=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Qh(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var xS=(e,t,r)=>e.endsWith(`
3
+ `)?Qh(r,t):r.includes(`
4
+ `)?`
5
+ `+Qh(r,t):(e.endsWith(" ")?"":" ")+r;Bu.indentComment=Qh;Bu.lineComment=xS;Bu.stringifyComment=ES});var A6=re(Ha=>{"use strict";var TS="flow",Xh="block",qu="quoted";function vS(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={},h=i-t.length;typeof n=="number"&&(n>i-Math.max(2,a)?l.push(0):h=i-n);let m,p,y=!1,E=-1,x=-1,v=-1;r===Xh&&(E=C6(e,E,t.length),E!==-1&&(h=E+u));for(let I;I=e[E+=1];){if(r===qu&&I==="\\"){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(I===`
6
+ `)r===Xh&&(E=C6(e,E,t.length)),h=E+t.length+u,m=void 0;else{if(I===" "&&p&&p!==" "&&p!==`
7
+ `&&p!==" "){let B=e[E+1];B&&B!==" "&&B!==`
8
+ `&&B!==" "&&(m=E)}if(E>=h)if(m)l.push(m),h=m+u,m=void 0;else if(r===qu){for(;p===" "||p===" ";)p=I,I=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,h=B+u,m=void 0}else y=!0}p=I}if(y&&o&&o(),l.length===0)return e;s&&s();let w=e.slice(0,l[0]);for(let I=0;I<l.length;++I){let B=l[I],q=l[I+1]||e.length;B===0?w=`
9
+ ${t}${e.slice(0,q)}`:(r===qu&&c[B]&&(w+=`${e[B]}\\`),w+=`
10
+ ${t}${e.slice(B+1,q)}`)}return w}function C6(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!==`
11
+ `);n=t,i=t+1,a=e[i]}return n}Ha.FOLD_BLOCK=Xh;Ha.FOLD_FLOW=TS;Ha.FOLD_QUOTED=qu;Ha.foldFlowLines=vS});var Va=re(w6=>{"use strict";var Xt=$e(),cn=A6(),Hu=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),zu=e=>/^(%|---|\.\.\.)/m.test(e);function CS(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]===`
12
+ `){if(a-s>n)return!0;if(s=a+1,i-s<=n)return!1}return!0}function za(e,t){let r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;let{implicitKey:n}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(zu(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)+`
13
+
14
+ `;r[u+2]==="\\"&&r[u+3]==="n"&&r[u+4]!=='"';)s+=`
15
+ `,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:cn.foldFlowLines(s,a,cn.FOLD_QUOTED,Hu(t,!1))}function Jh(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
16
+ `)||/[ \t]\n|\n[ \t]/.test(e))return za(e,t);let r=t.indent||(zu(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
17
+ ${r}`)+"'";return t.implicitKey?n:cn.foldFlowLines(n,r,cn.FOLD_FLOW,Hu(t,!1))}function Si(e,t){let{singleQuote:r}=t.options,n;if(r===!1)n=za;else{let i=e.includes('"'),a=e.includes("'");i&&!a?n=Jh:a&&!i?n=za:n=r?Jh:za}return n(e,t)}var Zh;try{Zh=new RegExp(`(^|(?<!
18
+ ))
19
+ +(?!
20
+ |$)`,"g")}catch{Zh=/\n+(?!\n|$)/g}function Uu({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 Si(r,n);let l=n.indent||(n.forceBlockIndent||zu(r)?" ":""),c=s==="literal"?!0:s==="folded"||t===Xt.Scalar.BLOCK_FOLDED?!1:t===Xt.Scalar.BLOCK_LITERAL?!0:!CS(r,u,l.length);if(!r)return c?`|
21
+ `:`>
22
+ `;let h,m;for(m=r.length;m>0;--m){let q=r[m-1];if(q!==`
23
+ `&&q!==" "&&q!==" ")break}let p=r.substring(m),y=p.indexOf(`
24
+ `);y===-1?h="-":r===p||y!==p.length-1?(h="+",a&&a()):h="",p&&(r=r.slice(0,-p.length),p[p.length-1]===`
25
+ `&&(p=p.slice(0,-1)),p=p.replace(Zh,`$&${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===`
26
+ `)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":"")+h;if(e&&(B+=" "+o(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!c){let q=r.replace(/\n+/g,`
27
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`),_=!1,U=Hu(n,!0);s!=="folded"&&t!==Xt.Scalar.BLOCK_FOLDED&&(U.onOverflow=()=>{_=!0});let H=cn.foldFlowLines(`${w}${q}${p}`,l,cn.FOLD_BLOCK,U);if(!_)return`>${B}
28
+ ${l}${H}`}return r=r.replace(/\n+/g,`$&${l}`),`|${B}
29
+ ${l}${w}${r}${p}`}function AS(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(`
30
+ `)||c&&/[[\]{},]/.test(a))return Si(a,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return o||c||!a.includes(`
31
+ `)?Si(a,t):Uu(e,t,r,n);if(!o&&!c&&i!==Xt.Scalar.PLAIN&&a.includes(`
32
+ `))return Uu(e,t,r,n);if(zu(a)){if(u==="")return t.forceBlockIndent=!0,Uu(e,t,r,n);if(o&&u===l)return Si(a,t)}let h=a.replace(/\n+/g,`$&
33
+ ${u}`);if(s){let m=E=>E.default&&E.tag!=="tag:yaml.org,2002:str"&&E.test?.test(h),{compat:p,tags:y}=t.doc.schema;if(y.some(m)||p?.some(m))return Si(a,t)}return o?h:cn.foldFlowLines(h,u,cn.FOLD_FLOW,Hu(t,!1))}function wS(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?Si(s.value,t):Uu(s,t,r,n);case Xt.Scalar.QUOTE_DOUBLE:return za(s.value,t);case Xt.Scalar.QUOTE_SINGLE:return Jh(s.value,t);case Xt.Scalar.PLAIN:return AS(s,t,r,n);default:return null}},l=u(o);if(l===null){let{defaultKeyType:c,defaultStringType:h}=t.options,m=i&&c||h;if(l=u(m),l===null)throw new Error(`Unsupported default string type ${m}`)}return l}w6.stringifyString=wS});var Ya=re(ed=>{"use strict";var kS=Pu(),fn=Ee(),SS=Ua(),DS=Va();function IS(e,t){let r=Object.assign({blockQuote:!0,commentString:SS.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 NS(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(fn.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 _S(e,t,{anchors:r,doc:n}){if(!n.directives)return"";let i=[],a=(fn.isScalar(e)||fn.isCollection(e))&&e.anchor;a&&kS.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 LS(e,t,r,n){if(fn.isPair(e))return e.toString(t,r,n);if(fn.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=fn.isNode(e)?e:t.doc.createNode(e,{onTagObj:u=>i=u});i??(i=NS(t.doc.schema.tags,a));let s=_S(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):fn.isScalar(a)?DS.stringifyString(a,t,r,n):a.toString(t,r,n);return s?fn.isScalar(a)||o[0]==="{"||o[0]==="["?`${s} ${o}`:`${s}
34
+ ${t.indent}${o}`:o}ed.createStringifyContext=IS;ed.stringify=LS});var I6=re(D6=>{"use strict";var Ur=Ee(),k6=$e(),S6=Ya(),ja=Ua();function PS({key:e,value:t},r,n,i){let{allNullValues:a,doc:s,indent:o,indentStep:u,options:{commentString:l,indentSeq:c,simpleKeys:h}}=r,m=Ur.isNode(e)&&e.comment||null;if(h){if(m)throw new Error("With simple keys, key nodes cannot have comments");if(Ur.isCollection(e)||!Ur.isNode(e)&&typeof e=="object"){let U="With simple keys, collection cannot be used as a key value";throw new Error(U)}}let p=!h&&(!e||m&&t==null&&!r.inFlow||Ur.isCollection(e)||(Ur.isScalar(e)?e.type===k6.Scalar.BLOCK_FOLDED||e.type===k6.Scalar.BLOCK_LITERAL:typeof e=="object"));r=Object.assign({},r,{allNullValues:!1,implicitKey:!p&&(h||!a),indent:o+u});let y=!1,E=!1,x=S6.stringify(e,r,()=>y=!0,()=>E=!0);if(!p&&!r.inFlow&&x.length>1024){if(h)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&&!h||t==null&&p)return x=`? ${x}`,m&&!y?x+=ja.lineComment(x,r.indent,l(m)):E&&i&&i(),x;y&&(m=null),p?(m&&(x+=ja.lineComment(x,r.indent,l(m))),x=`? ${x}
35
+ ${o}:`):(x=`${x}:`,m&&(x+=ja.lineComment(x,r.indent,l(m))));let v,w,I;Ur.isNode(t)?(v=!!t.spaceBefore,w=t.commentBefore,I=t.comment):(v=!1,w=null,I=null,t&&typeof t=="object"&&(t=s.createNode(t))),r.implicitKey=!1,!p&&!m&&Ur.isScalar(t)&&(r.indentAtStart=x.length+1),E=!1,!c&&u.length>=2&&!r.inFlow&&!p&&Ur.isSeq(t)&&!t.flow&&!t.tag&&!t.anchor&&(r.indent=r.indent.substring(2));let B=!1,q=S6.stringify(t,r,()=>B=!0,()=>E=!0),_=" ";if(m||v||w){if(_=v?`
36
+ `:"",w){let U=l(w);_+=`
37
+ ${ja.indentComment(U,r.indent)}`}q===""&&!r.inFlow?_===`
38
+ `&&I&&(_=`
39
+
40
+ `):_+=`
41
+ ${r.indent}`}else if(!p&&Ur.isCollection(t)){let U=q[0],H=q.indexOf(`
42
+ `),F=H!==-1,R=r.inFlow??t.flow??t.items.length===0;if(F||!R){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||(_=`
43
+ ${r.indent}`)}}else(q===""||q[0]===`
44
+ `)&&(_="");return x+=_+q,r.inFlow?B&&n&&n():I&&!B?x+=ja.lineComment(x,r.indent,l(I)):E&&i&&i(),x}D6.stringifyPair=PS});var rd=re(td=>{"use strict";var N6=require("process");function OS(e,...t){e==="debug"&&console.log(...t)}function RS(e,t){(e==="debug"||e==="warn")&&(typeof N6.emitWarning=="function"?N6.emitWarning(t):console.warn(t))}td.debug=OS;td.warn=RS});var Gu=re($u=>{"use strict";var ju=Ee(),_6=$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 _6.Scalar(Symbol(Vu)),{addToJSMap:L6}),stringify:()=>Vu},MS=(e,t)=>(Yu.identify(t)||ju.isScalar(t)&&(!t.type||t.type===_6.Scalar.PLAIN)&&Yu.identify(t.value))&&e?.doc.schema.tags.some(r=>r.tag===Yu.tag&&r.default);function L6(e,t,r){let n=P6(e,r);if(ju.isSeq(n))for(let i of n.items)nd(e,t,i);else if(Array.isArray(n))for(let i of n)nd(e,t,i);else nd(e,t,n)}function nd(e,t,r){let n=P6(e,r);if(!ju.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 P6(e,t){return e&&ju.isAlias(t)?t.resolve(e.doc,e):t}$u.addMergeToJSMap=L6;$u.isMergeKey=MS;$u.merge=Yu});var ad=re(M6=>{"use strict";var FS=rd(),O6=Gu(),BS=Ya(),R6=Ee(),id=un();function qS(e,t,{key:r,value:n}){if(R6.isNode(r)&&r.addToJSMap)r.addToJSMap(e,t,n);else if(O6.isMergeKey(e,r))O6.addMergeToJSMap(e,t,n);else{let i=id.toJS(r,"",e);if(t instanceof Map)t.set(i,id.toJS(n,i,e));else if(t instanceof Set)t.add(i);else{let a=US(r,i,e),s=id.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 US(e,t,r){if(t===null)return"";if(typeof t!="object")return String(t);if(R6.isNode(e)&&r?.doc){let n=BS.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)+'..."'),FS.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)}M6.addPairToJSMap=qS});var hn=re(sd=>{"use strict";var F6=qa(),HS=I6(),zS=ad(),Wu=Ee();function VS(e,t,r){let n=F6.createNode(e,void 0,r),i=F6.createNode(t,void 0,r);return new Ku(n,i)}var Ku=class e{constructor(t,r=null){Object.defineProperty(this,Wu.NODE_TYPE,{value:Wu.PAIR}),this.key=t,this.value=r}clone(t){let{key:r,value:n}=this;return Wu.isNode(r)&&(r=r.clone(t)),Wu.isNode(n)&&(n=n.clone(t)),new e(r,n)}toJSON(t,r){let n=r?.mapAsMap?new Map:{};return zS.addPairToJSMap(r,n,this)}toString(t,r,n){return t?.doc?HS.stringifyPair(this,t,r,n):JSON.stringify(this)}};sd.Pair=Ku;sd.createPair=VS});var od=re(q6=>{"use strict";var Hn=Ee(),B6=Ya(),Qu=Ua();function YS(e,t,r){return(t.inFlow??e.flow?$S:jS)(e,t,r)}function jS({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}),h=!1,m=[];for(let y=0;y<t.length;++y){let E=t[y],x=null;if(Hn.isNode(E))!h&&E.spaceBefore&&m.push(""),Xu(r,m,E.commentBefore,h),E.comment&&(x=E.comment);else if(Hn.isPair(E)){let w=Hn.isNode(E.key)?E.key:null;w&&(!h&&w.spaceBefore&&m.push(""),Xu(r,m,w.commentBefore,h))}h=!1;let v=B6.stringify(E,c,()=>x=null,()=>h=!0);x&&(v+=Qu.lineComment(v,a,l(x))),h&&x&&(h=!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?`
45
+ ${u}${E}`:`
46
+ `}}return e?(p+=`
47
+ `+Qu.indentComment(l(e),u),o&&o()):h&&s&&s(),p}function $S({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,h=[];for(let y=0;y<e.length;++y){let E=e[y],x=null;if(Hn.isNode(E))E.spaceBefore&&h.push(""),Xu(t,h,E.commentBefore,!1),E.comment&&(x=E.comment);else if(Hn.isPair(E)){let w=Hn.isNode(E.key)?E.key:null;w&&(w.spaceBefore&&h.push(""),Xu(t,h,w.commentBefore,!1),w.comment&&(l=!0));let I=Hn.isNode(E.value)?E.value:null;I?(I.comment&&(x=I.comment),I.commentBefore&&(l=!0)):E.value==null&&w?.comment&&(x=w.comment)}x&&(l=!0);let v=B6.stringify(E,u,()=>x=null);l||(l=h.length>c||v.includes(`
48
+ `)),y<e.length-1?v+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(l||(l=h.reduce((w,I)=>w+I.length+2,2)+(v.length+2)>t.options.lineWidth)),l&&(v+=",")),x&&(v+=Qu.lineComment(v,n,o(x))),h.push(v),c=h.length}let{start:m,end:p}=r;if(h.length===0)return m+p;if(!l){let y=h.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 h)y+=E?`
49
+ ${a}${i}${E}`:`
50
+ `;return`${y}
51
+ ${i}${p}`}else return`${m}${s}${h.join(" ")}${s}${p}`}function Xu({indent:e,options:{commentString:t}},r,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){let a=Qu.indentComment(t(n),e);r.push(a.trimStart())}}q6.stringifyCollection=YS});var mn=re(ld=>{"use strict";var GS=od(),WS=ad(),KS=Fu(),dn=Ee(),Ju=hn(),QS=$e();function $a(e,t){let r=dn.isScalar(t)?t.value:t;for(let n of e)if(dn.isPair(n)&&(n.key===t||n.key===r||dn.isScalar(n.key)&&n.key.value===r))return n}var ud=class extends KS.Collection{static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(dn.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(Ju.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;dn.isPair(t)?n=t:!t||typeof t!="object"||!("key"in t)?n=new Ju.Pair(t,t?.value):n=new Ju.Pair(t.key,t.value);let i=$a(this.items,n.key),a=this.schema?.sortMapEntries;if(i){if(!r)throw new Error(`Key ${n.key} already set`);dn.isScalar(i.value)&&QS.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=$a(this.items,t);return r?this.items.splice(this.items.indexOf(r),1).length>0:!1}get(t,r){let i=$a(this.items,t)?.value;return(!r&&dn.isScalar(i)?i.value:i)??void 0}has(t){return!!$a(this.items,t)}set(t,r){this.add(new Ju.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)WS.addPairToJSMap(r,i,a);return i}toString(t,r,n){if(!t)return JSON.stringify(this);for(let i of this.items)if(!dn.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})),GS.stringifyCollection(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:n,onComment:r})}};ld.YAMLMap=ud;ld.findPair=$a});var Di=re(H6=>{"use strict";var XS=Ee(),U6=mn(),JS={collection:"map",default:!0,nodeClass:U6.YAMLMap,tag:"tag:yaml.org,2002:map",resolve(e,t){return XS.isMap(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,r)=>U6.YAMLMap.from(e,t,r)};H6.map=JS});var pn=re(z6=>{"use strict";var ZS=qa(),eD=od(),tD=Fu(),e0=Ee(),rD=$e(),nD=un(),cd=class extends tD.Collection{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(e0.SEQ,t),this.items=[]}add(t){this.items.push(t)}delete(t){let r=Zu(t);return typeof r!="number"?!1:this.items.splice(r,1).length>0}get(t,r){let n=Zu(t);if(typeof n!="number")return;let i=this.items[n];return!r&&e0.isScalar(i)?i.value:i}has(t){let r=Zu(t);return typeof r=="number"&&r<this.items.length}set(t,r){let n=Zu(t);if(typeof n!="number")throw new Error(`Expected a valid index, not ${t}.`);let i=this.items[n];e0.isScalar(i)&&rD.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(nD.toJS(a,String(i++),r));return n}toString(t,r,n){return t?eD.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(ZS.createNode(o,void 0,n))}}return a}};function Zu(e){let t=e0.isScalar(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}z6.YAMLSeq=cd});var Ii=re(Y6=>{"use strict";var iD=Ee(),V6=pn(),aD={collection:"seq",default:!0,nodeClass:V6.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve(e,t){return iD.isSeq(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,r)=>V6.YAMLSeq.from(e,t,r)};Y6.seq=aD});var Ga=re(j6=>{"use strict";var sD=Va(),oD={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),sD.stringifyString(e,t,r,n)}};j6.string=oD});var t0=re(W6=>{"use strict";var $6=$e(),G6={identify:e=>e==null,createNode:()=>new $6.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new $6.Scalar(null),stringify:({source:e},t)=>typeof e=="string"&&G6.test.test(e)?e:t.options.nullStr};W6.nullTag=G6});var fd=re(Q6=>{"use strict";var uD=$e(),K6={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new uD.Scalar(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},r){if(e&&K6.test.test(e)){let n=e[0]==="t"||e[0]==="T";if(t===n)return e}return t?r.options.trueStr:r.options.falseStr}};Q6.boolTag=K6});var Ni=re(X6=>{"use strict";function lD({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}X6.stringifyNumber=lD});var dd=re(r0=>{"use strict";var cD=$e(),hd=Ni(),fD={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:hd.stringifyNumber},hD={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():hd.stringifyNumber(e)}},dD={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 cD.Scalar(parseFloat(e)),r=e.indexOf(".");return r!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-r-1),t},stringify:hd.stringifyNumber};r0.float=dD;r0.floatExp=hD;r0.floatNaN=fD});var pd=re(i0=>{"use strict";var J6=Ni(),n0=e=>typeof e=="bigint"||Number.isInteger(e),md=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function Z6(e,t,r){let{value:n}=e;return n0(n)&&n>=0?r+n.toString(t):J6.stringifyNumber(e)}var mD={identify:e=>n0(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>md(e,2,8,r),stringify:e=>Z6(e,8,"0o")},pD={identify:n0,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>md(e,0,10,r),stringify:J6.stringifyNumber},gD={identify:e=>n0(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>md(e,2,16,r),stringify:e=>Z6(e,16,"0x")};i0.int=pD;i0.intHex=gD;i0.intOct=mD});var tb=re(eb=>{"use strict";var bD=Di(),yD=t0(),ED=Ii(),xD=Ga(),TD=fd(),gd=dd(),bd=pd(),vD=[bD.map,ED.seq,xD.string,yD.nullTag,TD.boolTag,bd.intOct,bd.int,bd.intHex,gd.floatNaN,gd.floatExp,gd.float];eb.schema=vD});var ib=re(nb=>{"use strict";var CD=$e(),AD=Di(),wD=Ii();function rb(e){return typeof e=="bigint"||Number.isInteger(e)}var a0=({value:e})=>JSON.stringify(e),kD=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:a0},{identify:e=>e==null,createNode:()=>new CD.Scalar(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:a0},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>e==="true",stringify:a0},{identify:rb,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})=>rb(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:a0}],SD={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},DD=[AD.map,wD.seq].concat(kD,SD);nb.schema=DD});var Ed=re(ab=>{"use strict";var Wa=require("buffer"),yd=$e(),ID=Va(),ND={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Wa.Buffer=="function")return Wa.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 Wa.Buffer=="function")o=s instanceof Wa.Buffer?s.toString("base64"):Wa.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=yd.Scalar.BLOCK_LITERAL),t!==yd.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 h=0,m=0;h<l;++h,m+=u)c[h]=o.substr(m,u);o=c.join(t===yd.Scalar.BLOCK_LITERAL?`
52
+ `:" ")}return ID.stringifyString({comment:e,type:t,value:o},n,i,a)}};ab.binary=ND});var u0=re(o0=>{"use strict";var s0=Ee(),xd=hn(),_D=$e(),LD=pn();function sb(e,t){if(s0.isSeq(e))for(let r=0;r<e.items.length;++r){let n=e.items[r];if(!s0.isPair(n)){if(s0.isMap(n)){n.items.length>1&&t("Each pair must have its own sequence indicator");let i=n.items[0]||new xd.Pair(new _D.Scalar(null));if(n.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${n.commentBefore}
53
+ ${i.key.commentBefore}`:n.commentBefore),n.comment){let a=i.value??i.key;a.comment=a.comment?`${n.comment}
54
+ ${a.comment}`:n.comment}n=i}e.items[r]=s0.isPair(n)?n:new xd.Pair(n)}}else t("Expected a sequence for this tag");return e}function ob(e,t,r){let{replacer:n}=r,i=new LD.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(xd.createPair(o,u,r))}return i}var PD={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:sb,createNode:ob};o0.createPairs=ob;o0.pairs=PD;o0.resolvePairs=sb});var Cd=re(vd=>{"use strict";var ub=Ee(),Td=un(),Ka=mn(),OD=pn(),lb=u0(),zn=class e extends OD.YAMLSeq{constructor(){super(),this.add=Ka.YAMLMap.prototype.add.bind(this),this.delete=Ka.YAMLMap.prototype.delete.bind(this),this.get=Ka.YAMLMap.prototype.get.bind(this),this.has=Ka.YAMLMap.prototype.has.bind(this),this.set=Ka.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(ub.isPair(i)?(a=Td.toJS(i.key,"",r),s=Td.toJS(i.value,a,r)):a=Td.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=lb.createPairs(t,r,n),a=new this;return a.items=i.items,a}};zn.tag="tag:yaml.org,2002:omap";var RD={collection:"seq",identify:e=>e instanceof Map,nodeClass:zn,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let r=lb.resolvePairs(e,t),n=[];for(let{key:i}of r.items)ub.isScalar(i)&&(n.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):n.push(i.value));return Object.assign(new zn,r)},createNode:(e,t,r)=>zn.from(e,t,r)};vd.YAMLOMap=zn;vd.omap=RD});var mb=re(Ad=>{"use strict";var cb=$e();function fb({value:e,source:t},r){return t&&(e?hb:db).test.test(t)?t:e?r.options.trueStr:r.options.falseStr}var hb={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:fb},db={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:fb};Ad.falseTag=db;Ad.trueTag=hb});var pb=re(l0=>{"use strict";var MD=$e(),wd=Ni(),FD={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:wd.stringifyNumber},BD={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():wd.stringifyNumber(e)}},qD={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 MD.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:wd.stringifyNumber};l0.float=qD;l0.floatExp=BD;l0.floatNaN=FD});var bb=re(Xa=>{"use strict";var gb=Ni(),Qa=e=>typeof e=="bigint"||Number.isInteger(e);function c0(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 kd(e,t,r){let{value:n}=e;if(Qa(n)){let i=n.toString(t);return n<0?"-"+r+i.substr(1):r+i}return gb.stringifyNumber(e)}var UD={identify:Qa,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>c0(e,2,2,r),stringify:e=>kd(e,2,"0b")},HD={identify:Qa,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>c0(e,1,8,r),stringify:e=>kd(e,8,"0")},zD={identify:Qa,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>c0(e,0,10,r),stringify:gb.stringifyNumber},VD={identify:Qa,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>c0(e,2,16,r),stringify:e=>kd(e,16,"0x")};Xa.int=zD;Xa.intBin=UD;Xa.intHex=VD;Xa.intOct=HD});var Dd=re(Sd=>{"use strict";var d0=Ee(),f0=hn(),h0=mn(),Vn=class e extends h0.YAMLMap{constructor(t){super(t),this.tag=e.tag}add(t){let r;d0.isPair(t)?r=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?r=new f0.Pair(t.key,null):r=new f0.Pair(t,null),h0.findPair(this.items,r.key)||this.items.push(r)}get(t,r){let n=h0.findPair(this.items,t);return!r&&d0.isPair(n)?d0.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=h0.findPair(this.items,t);n&&!r?this.items.splice(this.items.indexOf(n),1):!n&&r&&this.items.push(new f0.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(f0.createPair(s,null,n));return a}};Vn.tag="tag:yaml.org,2002:set";var YD={collection:"map",identify:e=>e instanceof Set,nodeClass:Vn,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>Vn.from(e,t,r),resolve(e,t){if(d0.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new Vn,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};Sd.YAMLSet=Vn;Sd.set=YD});var Nd=re(m0=>{"use strict";var jD=Ni();function Id(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 yb(e){let{value:t}=e,r=s=>s;if(typeof t=="bigint")r=s=>BigInt(s);else if(isNaN(t)||!isFinite(t))return jD.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 $D={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})=>Id(e,r),stringify:yb},GD={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=>Id(e,!1),stringify:yb},Eb={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(Eb.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 h=Id(c,!1);Math.abs(h)<30&&(h*=60),l-=6e4*h}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""};m0.floatTime=GD;m0.intTime=$D;m0.timestamp=Eb});var vb=re(Tb=>{"use strict";var WD=Di(),KD=t0(),QD=Ii(),XD=Ga(),JD=Ed(),xb=mb(),_d=pb(),p0=bb(),ZD=Gu(),eI=Cd(),tI=u0(),rI=Dd(),Ld=Nd(),nI=[WD.map,QD.seq,XD.string,KD.nullTag,xb.trueTag,xb.falseTag,p0.intBin,p0.intOct,p0.int,p0.intHex,_d.floatNaN,_d.floatExp,_d.float,JD.binary,ZD.merge,eI.omap,tI.pairs,rI.set,Ld.intTime,Ld.floatTime,Ld.timestamp];Tb.schema=nI});var Lb=re(Rd=>{"use strict";var kb=Di(),iI=t0(),Sb=Ii(),aI=Ga(),sI=fd(),Pd=dd(),Od=pd(),oI=tb(),uI=ib(),Db=Ed(),Ja=Gu(),Ib=Cd(),Nb=u0(),Cb=vb(),_b=Dd(),g0=Nd(),Ab=new Map([["core",oI.schema],["failsafe",[kb.map,Sb.seq,aI.string]],["json",uI.schema],["yaml11",Cb.schema],["yaml-1.1",Cb.schema]]),wb={binary:Db.binary,bool:sI.boolTag,float:Pd.float,floatExp:Pd.floatExp,floatNaN:Pd.floatNaN,floatTime:g0.floatTime,int:Od.int,intHex:Od.intHex,intOct:Od.intOct,intTime:g0.intTime,map:kb.map,merge:Ja.merge,null:iI.nullTag,omap:Ib.omap,pairs:Nb.pairs,seq:Sb.seq,set:_b.set,timestamp:g0.timestamp},lI={"tag:yaml.org,2002:binary":Db.binary,"tag:yaml.org,2002:merge":Ja.merge,"tag:yaml.org,2002:omap":Ib.omap,"tag:yaml.org,2002:pairs":Nb.pairs,"tag:yaml.org,2002:set":_b.set,"tag:yaml.org,2002:timestamp":g0.timestamp};function cI(e,t,r){let n=Ab.get(t);if(n&&!e)return r&&!n.includes(Ja.merge)?n.concat(Ja.merge):n.slice();let i=n;if(!i)if(Array.isArray(e))i=[];else{let a=Array.from(Ab.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(Ja.merge)),i.reduce((a,s)=>{let o=typeof s=="string"?wb[s]:s;if(!o){let u=JSON.stringify(s),l=Object.keys(wb).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},[])}Rd.coreKnownTags=lI;Rd.getTags=cI});var Bd=re(Pb=>{"use strict";var Md=Ee(),fI=Di(),hI=Ii(),dI=Ga(),b0=Lb(),mI=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,Fd=class e{constructor({compat:t,customTags:r,merge:n,resolveKnownTags:i,schema:a,sortMapEntries:s,toStringDefaults:o}){this.compat=Array.isArray(t)?b0.getTags(t,"compat"):t?b0.getTags(null,t):null,this.name=typeof a=="string"&&a||"core",this.knownTags=i?b0.coreKnownTags:{},this.tags=b0.getTags(r,this.name,n),this.toStringOptions=o??null,Object.defineProperty(this,Md.MAP,{value:fI.map}),Object.defineProperty(this,Md.SCALAR,{value:dI.string}),Object.defineProperty(this,Md.SEQ,{value:hI.seq}),this.sortMapEntries=typeof s=="function"?s:s===!0?mI:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};Pb.Schema=Fd});var Rb=re(Ob=>{"use strict";var pI=Ee(),qd=Ya(),Za=Ua();function gI(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=qd.createStringifyContext(e,t),{commentString:a}=i.options;if(e.commentBefore){r.length!==1&&r.unshift("");let u=a(e.commentBefore);r.unshift(Za.indentComment(u,""))}let s=!1,o=null;if(e.contents){if(pI.isNode(e.contents)){if(e.contents.spaceBefore&&n&&r.push(""),e.contents.commentBefore){let c=a(e.contents.commentBefore);r.push(Za.indentComment(c,""))}i.forceBlockIndent=!!e.comment,o=e.contents.comment}let u=o?void 0:()=>s=!0,l=qd.stringify(e.contents,i,()=>o=null,u);o&&(l+=Za.lineComment(l,"",a(o))),(l[0]==="|"||l[0]===">")&&r[r.length-1]==="---"?r[r.length-1]=`--- ${l}`:r.push(l)}else r.push(qd.stringify(e.contents,i));if(e.directives?.docEnd)if(e.comment){let u=a(e.comment);u.includes(`
55
+ `)?(r.push("..."),r.push(Za.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(Za.indentComment(a(u),"")))}return r.join(`
56
+ `)+`
57
+ `}Ob.stringifyDocument=gI});var es=re(Mb=>{"use strict";var bI=Ba(),_i=Fu(),zt=Ee(),yI=hn(),EI=un(),xI=Bd(),TI=Rb(),Ud=Pu(),vI=Yh(),CI=qa(),Hd=Vh(),zd=class e{constructor(t,r,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,zt.NODE_TYPE,{value:zt.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 Hd.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,{[zt.NODE_TYPE]:{value:zt.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=zt.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=Ud.anchorNames(this);t.anchor=!r||n.has(r)?Ud.findNewAnchor(r||"a",n):r}return new bI.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:h,setAnchors:m,sourceObjects:p}=Ud.createNodeAnchors(this,s||"a"),y={aliasDuplicateObjects:a??!0,keepUndefined:u??!1,onAnchor:h,onTagObj:l,replacer:i,schema:this.schema,sourceObjects:p},E=CI.createNode(t,c,y);return o&&zt.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 yI.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 zt.isCollection(this.contents)?this.contents.get(t,r):void 0}getIn(t,r){return _i.isEmptyPath(t)?!r&&zt.isScalar(this.contents)?this.contents.value:this.contents:zt.isCollection(this.contents)?this.contents.getIn(t,r):void 0}has(t){return zt.isCollection(this.contents)?this.contents.has(t):!1}hasIn(t){return _i.isEmptyPath(t)?this.contents!==void 0:zt.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 Hd.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 Hd.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 xI.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=EI.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"?vI.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 TI.stringifyDocument(this,t)}};function Li(e){if(zt.isCollection(e))return!0;throw new Error("Expected a YAML collection as document contents")}Mb.Document=zd});var ns=re(rs=>{"use strict";var ts=class extends Error{constructor(t,r,n,i){super(),this.name=t,this.code=n,this.message=i,this.pos=r}},Vd=class extends ts{constructor(t,r,n){super("YAMLParseError",t,r,n)}},Yd=class extends ts{constructor(t,r,n){super("YAMLWarning",t,r,n)}},AI=(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
58
+ `),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+=`:
59
+
60
+ ${s}
61
+ ${l}
62
+ `}};rs.YAMLError=ts;rs.YAMLParseError=Vd;rs.YAMLWarning=Yd;rs.prettifyError=AI});var is=re(Fb=>{"use strict";function wI(e,{flow:t,indicator:r,next:n,offset:i,onError:a,parentIndent:s,startOnNewline:o}){let u=!1,l=o,c=o,h="",m="",p=!1,y=!1,E=null,x=null,v=null,w=null,I=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)||" ";h?h+=m+F:h=F,m="",l=!1;break}case"newline":l?h?h+=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){I&&a(H,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),I=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:I,found:B,spaceBefore:u,comment:h,hasNewline:p,anchor:x,tag:v,newlineAfterProp:w,end:U,start:q??U}}Fb.resolveProps=wI});var y0=re(Bb=>{"use strict";function jd(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
63
+ `))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(jd(t.key)||jd(t.value))return!0}return!1;default:return!0}}Bb.containsNewline=jd});var $d=re(qb=>{"use strict";var kI=y0();function SI(e,t,r){if(t?.type==="flow-collection"){let n=t.end[0];n.indent===e&&(n.source==="]"||n.source==="}")&&kI.containsNewline(t)&&r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}qb.flowIndentCheck=SI});var Gd=re(Hb=>{"use strict";var Ub=Ee();function DI(e,t,r){let{uniqueKeys:n}=e.options;if(n===!1)return!1;let i=typeof n=="function"?n:(a,s)=>a===s||Ub.isScalar(a)&&Ub.isScalar(s)&&a.value===s.value;return t.some(a=>i(a.key,r))}Hb.mapIncludes=DI});var Gb=re($b=>{"use strict";var zb=hn(),II=mn(),Vb=is(),NI=y0(),Yb=$d(),_I=Gd(),jb="All mapping items must start at the same column";function LI({composeNode:e,composeEmptyNode:t},r,n,i,a){let s=a?.nodeClass??II.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:h,key:m,sep:p,value:y}=c,E=Vb.resolveProps(h,{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",jb)),!E.anchor&&!E.tag&&!p){l=E.end,E.comment&&(o.comment?o.comment+=`
64
+ `+E.comment:o.comment=E.comment);continue}(E.newlineAfterProp||NI.containsNewline(m))&&i(m??h[h.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else E.found?.indent!==n.indent&&i(u,"BAD_INDENT",jb);r.atKey=!0;let v=E.end,w=m?e(r,m,E,i):t(r,v,h,null,E,i);r.schema.compat&&Yb.flowIndentCheck(n.indent,m,i),r.atKey=!1,_I.mapIncludes(r,o.items,w)&&i(v,"DUPLICATE_KEY","Map keys must be unique");let I=Vb.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=I.end,I.found){x&&(y?.type==="block-map"&&!I.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&E.start<I.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,I,i):t(r,u,p,null,I,i);r.schema.compat&&Yb.flowIndentCheck(n.indent,y,i),u=B.range[2];let q=new zb.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"),I.comment&&(w.comment?w.comment+=`
65
+ `+I.comment:w.comment=I.comment);let B=new zb.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}$b.resolveBlockMap=LI});var Kb=re(Wb=>{"use strict";var PI=pn(),OI=is(),RI=$d();function MI({composeNode:e,composeEmptyNode:t},r,n,i,a){let s=a?.nodeClass??PI.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:h}of n.items){let m=OI.resolveProps(c,{indicator:"seq-item-ind",next:h,offset:u,onError:i,parentIndent:n.indent,startOnNewline:!0});if(!m.found)if(m.anchor||m.tag||h)h?.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=h?e(r,h,m,i):t(r,m.end,c,null,m,i);r.schema.compat&&RI.flowIndentCheck(n.indent,h,i),u=p.range[2],o.items.push(p)}return o.range=[n.offset,u,l??u],o}Wb.resolveBlockSeq=MI});var Pi=re(Qb=>{"use strict";function FI(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}}Qb.resolveEnd=FI});var e5=re(Zb=>{"use strict";var BI=Ee(),qI=hn(),Xb=mn(),UI=pn(),HI=Pi(),Jb=is(),zI=y0(),VI=Gd(),Wd="Block collections are not allowed within flow collections",Kd=e=>e&&(e.type==="block-map"||e.type==="block-seq");function YI({composeNode:e,composeEmptyNode:t},r,n,i,a){let s=n.start.source==="{",o=s?"flow map":"flow sequence",u=a?.nodeClass??(s?Xb.YAMLMap:UI.YAMLSeq),l=new u(r.schema);l.flow=!0;let c=r.atRoot;c&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let h=n.offset+n.start.source.length;for(let x=0;x<n.items.length;++x){let v=n.items[x],{start:w,key:I,sep:B,value:q}=v,_=Jb.resolveProps(w,{flow:o,indicator:"explicit-key-ind",next:I??B?.[0],offset:h,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+=`
66
+ `+_.comment:l.comment=_.comment),h=_.end;continue}!s&&r.options.strict&&zI.containsNewline(I)&&i(I,"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];BI.isPair(H)&&(H=H.value??H.key),H.comment?H.comment+=`
67
+ `+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),h=U.range[2],Kd(q)&&i(U.range,"BLOCK_IN_FLOW",Wd)}else{r.atKey=!0;let U=_.end,H=I?e(r,I,_,i):t(r,U,w,null,_,i);Kd(I)&&i(H.range,"BLOCK_IN_FLOW",Wd),r.atKey=!1;let F=Jb.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 R=q?e(r,q,F,i):F.found?t(r,F.end,B,null,F,i):null;R?Kd(q)&&i(R.range,"BLOCK_IN_FLOW",Wd):F.comment&&(H.comment?H.comment+=`
68
+ `+F.comment:H.comment=F.comment);let ue=new qI.Pair(H,R);if(r.options.keepSourceTokens&&(ue.srcToken=v),s){let ee=l;VI.mapIncludes(r,ee.items,H)&&i(U,"DUPLICATE_KEY","Map keys must be unique"),ee.items.push(ue)}else{let ee=new Xb.YAMLMap(r.schema);ee.flow=!0,ee.items.push(ue);let W=(R??H).range;ee.range=[H.range[0],W[1],W[2]],l.items.push(ee)}h=R?R.range[2]:F.end}}let m=s?"}":"]",[p,...y]=n.end,E=h;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(h,c?"MISSING_CHAR":"BAD_INDENT",v),p&&p.source.length!==1&&y.unshift(p)}if(y.length>0){let x=HI.resolveEnd(y,E,r.options.strict,i);x.comment&&(l.comment?l.comment+=`
69
+ `+x.comment:l.comment=x.comment),l.range=[n.offset,E,x.offset]}else l.range=[n.offset,E,E];return l}Zb.resolveFlowCollection=YI});var r5=re(t5=>{"use strict";var jI=Ee(),$I=$e(),GI=mn(),WI=pn(),KI=Gb(),QI=Kb(),XI=e5();function Qd(e,t,r,n,i,a){let s=r.type==="block-map"?KI.resolveBlockMap(e,t,r,n,a):r.type==="block-seq"?QI.resolveBlockSeq(e,t,r,n,a):XI.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 JI(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===GI.YAMLMap.tagName&&o==="map"||s===WI.YAMLSeq.tagName&&o==="seq")return Qd(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),Qd(e,t,r,i,s)}let l=Qd(e,t,r,i,s,u),c=u.resolve?.(l,m=>i(a,"TAG_RESOLVE_FAILED",m),t.options)??l,h=jI.isNode(c)?c:new $I.Scalar(c);return h.range=l.range,h.tag=s,u?.format&&(h.format=u.format),h}t5.composeCollection=JI});var Jd=re(n5=>{"use strict";var Xd=$e();function ZI(e,t,r){let n=t.offset,i=eN(t,e.options.strict,r);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};let a=i.mode===">"?Xd.Scalar.BLOCK_FOLDED:Xd.Scalar.BLOCK_LITERAL,s=t.source?tN(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?`
70
+ `.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 h="",m="",p=!1;for(let E=0;E<c;++E)h+=s[E][0].slice(u)+`
71
+ `;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===Xd.Scalar.BLOCK_LITERAL?(h+=m+x.slice(u)+v,m=`
72
+ `):x.length>u||v[0]===" "?(m===" "?m=`
73
+ `:!p&&m===`
74
+ `&&(m=`
75
+
76
+ `),h+=m+x.slice(u)+v,m=`
77
+ `,p=!0):v===""?m===`
78
+ `?h+=`
79
+ `:m=`
80
+ `:(h+=m+v,m=" ",p=!1)}switch(i.chomp){case"-":break;case"+":for(let E=o;E<s.length;++E)h+=`
81
+ `+s[E][0].slice(u);h[h.length-1]!==`
82
+ `&&(h+=`
83
+ `);break;default:h+=`
84
+ `}let y=n+i.length+t.source.length;return{value:h,type:a,comment:i.comment,range:[n,y,y]}}function eN({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="",h=i.length;for(let m=1;m<t.length;++m){let p=t[m];switch(p.type){case"space":l=!0;case"newline":h+=p.source.length;break;case"comment":r&&!l&&n(p,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),h+=p.source.length,c=p.source.substring(1);break;case"error":n(p,"UNEXPECTED_TOKEN",p.message),h+=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"&&(h+=E.length)}}}return{mode:a,indent:s,chomp:o,comment:c,length:h}}function tN(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}n5.resolveBlockScalar=ZI});var em=re(a5=>{"use strict";var Zd=$e(),rN=Pi();function nN(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=Zd.Scalar.PLAIN,u=iN(a,l);break;case"single-quoted-scalar":o=Zd.Scalar.QUOTE_SINGLE,u=aN(a,l);break;case"double-quoted-scalar":o=Zd.Scalar.QUOTE_DOUBLE,u=sN(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,h=rN.resolveEnd(s,c,t,r);return{value:u,type:o,comment:h.comment,range:[n,c,h.offset]}}function iN(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}`),i5(e)}function aN(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),i5(e.slice(1,-1)).replace(/''/g,"'")}function i5(e){let t,r;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
85
+ `,"sy"),r=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
86
+ `,"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===`
87
+ `?i+=a:a=`
88
+ `:(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 sN(e,t){let r="";for(let n=1;n<e.length-1;++n){let i=e[n];if(!(i==="\r"&&e[n+1]===`
89
+ `))if(i===`
90
+ `){let{fold:a,offset:s}=oN(e,n);r+=a,n=s}else if(i==="\\"){let a=e[++n],s=uN[a];if(s)r+=s;else if(a===`
91
+ `)for(a=e[n+1];a===" "||a===" ";)a=e[++n+1];else if(a==="\r"&&e[n+1]===`
92
+ `)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+=lN(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!==`
93
+ `&&!(s==="\r"&&e[n+2]===`
94
+ `)&&(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 oN(e,t){let r="",n=e[t+1];for(;(n===" "||n===" "||n===`
95
+ `||n==="\r")&&!(n==="\r"&&e[t+2]!==`
96
+ `);)n===`
97
+ `&&(r+=`
98
+ `),t+=1,n=e[t+1];return r||(r=" "),{fold:r,offset:t}}var uN={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
99
+ `,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function lN(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}}a5.resolveFlowScalar=nN});var u5=re(o5=>{"use strict";var Yn=Ee(),s5=$e(),cN=Jd(),fN=em();function hN(e,t,r,n){let{value:i,type:a,comment:s,range:o}=t.type==="block-scalar"?cN.resolveBlockScalar(e,t,n):fN.resolveFlowScalar(t,e.options.strict,n),u=r?e.directives.tagName(r.source,h=>n(r,"TAG_RESOLVE_FAILED",h)):null,l;e.options.stringKeys&&e.atKey?l=e.schema[Yn.SCALAR]:u?l=dN(e.schema,i,u,r,n):t.type==="scalar"?l=mN(e,i,t,n):l=e.schema[Yn.SCALAR];let c;try{let h=l.resolve(i,m=>n(r??t,"TAG_RESOLVE_FAILED",m),e.options);c=Yn.isScalar(h)?h:new s5.Scalar(h)}catch(h){let m=h instanceof Error?h.message:String(h);n(r??t,"TAG_RESOLVE_FAILED",m),c=new s5.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 dN(e,t,r,n,i){if(r==="!")return e[Yn.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[Yn.SCALAR])}function mN({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[Yn.SCALAR];if(r.compat){let o=r.compat.find(u=>u.default&&u.test?.test(n))??r[Yn.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}o5.composeScalar=hN});var c5=re(l5=>{"use strict";function pN(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}l5.emptyScalarPosition=pN});var d5=re(rm=>{"use strict";var gN=Ba(),bN=Ee(),yN=r5(),f5=u5(),EN=Pi(),xN=c5(),TN={composeNode:h5,composeEmptyNode:tm};function h5(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=vN(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=f5.composeScalar(e,t,u,n),o&&(l.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{l=yN.composeCollection(TN,e,t,r,n),o&&(l.anchor=o.source.substring(1))}catch(h){let m=h instanceof Error?h.message:String(h);n(t,"RESOURCE_EXHAUSTION",m)}break;default:{let h=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;n(t,"UNEXPECTED_TOKEN",h),c=!1}}return l??(l=tm(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&&(!bN.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 tm(e,t,r,n,{spaceBefore:i,comment:a,anchor:s,tag:o,end:u},l){let c={type:"scalar",offset:xN.emptyScalarPosition(t,r,n),indent:-1,source:""},h=f5.composeScalar(e,c,o,l);return s&&(h.anchor=s.source.substring(1),h.anchor===""&&l(s,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(h.spaceBefore=!0),a&&(h.comment=a,h.range[2]=u),h}function vN({options:e},{offset:t,source:r,end:n},i){let a=new gN.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=EN.resolveEnd(n,s,e.strict,i);return a.range=[t,s,o.offset],o.comment&&(a.comment=o.comment),a}rm.composeEmptyNode=tm;rm.composeNode=h5});var g5=re(p5=>{"use strict";var CN=es(),m5=d5(),AN=Pi(),wN=is();function kN(e,t,{offset:r,start:n,value:i,end:a},s){let o=Object.assign({_directives:t},e),u=new CN.Document(void 0,o),l={atKey:!1,atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},c=wN.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?m5.composeNode(l,i,c,s):m5.composeEmptyNode(l,c.end,n,null,c,s);let h=u.contents.range[2],m=AN.resolveEnd(a,h,!1,s);return m.comment&&(u.comment=m.comment),u.range=[r,h,m.offset],u}p5.composeDoc=kN});var im=re(E5=>{"use strict";var SN=require("process"),DN=Vh(),IN=es(),as=ns(),b5=Ee(),NN=g5(),_N=Pi();function ss(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 y5(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?`
100
+
101
+ `:`
102
+ `)+(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 nm=class{constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(r,n,i,a)=>{let s=ss(r);a?this.warnings.push(new as.YAMLWarning(s,n,i)):this.errors.push(new as.YAMLParseError(s,n,i))},this.directives=new DN.Directives({version:t.version||"1.2"}),this.options=t}decorate(t,r){let{comment:n,afterEmptyLine:i}=y5(this.prelude);if(n){let a=t.contents;if(r)t.comment=t.comment?`${t.comment}
103
+ ${n}`:n;else if(i||t.directives.docStart||!a)t.commentBefore=n;else if(b5.isCollection(a)&&!a.flow&&a.items.length>0){let s=a.items[0];b5.isPair(s)&&(s=s.key);let o=s.commentBefore;s.commentBefore=o?`${n}
104
+ ${o}`:n}else{let s=a.commentBefore;a.commentBefore=s?`${n}
105
+ ${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:y5(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(SN.env.LOG_STREAM&&console.dir(t,{depth:null}),t.type){case"directive":this.directives.add(t.source,(r,n,i)=>{let a=ss(t);a[0]+=r,this.onError(a,"BAD_DIRECTIVE",n,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{let r=NN.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 as.YAMLParseError(ss(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 as.YAMLParseError(ss(t),"UNEXPECTED_TOKEN",n));break}this.doc.directives.docEnd=!0;let r=_N.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}
106
+ ${r.comment}`:r.comment}this.doc.range[2]=r.offset;break}default:this.errors.push(new as.YAMLParseError(ss(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 IN.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}}};E5.Composer=nm});var v5=re(E0=>{"use strict";var LN=Jd(),PN=em(),ON=ns(),x5=Va();function RN(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 ON.YAMLParseError([o,o+1],a,s)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return PN.resolveFlowScalar(e,t,n);case"block-scalar":return LN.resolveBlockScalar({options:{strict:t}},e,n)}}return null}function MN(e,t){let{implicitKey:r=!1,indent:n,inFlow:i=!1,offset:a=-1,type:s="PLAIN"}=t,o=x5.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:`
107
+ `}];switch(o[0]){case"|":case">":{let l=o.indexOf(`
108
+ `),c=o.substring(0,l),h=o.substring(l+1)+`
109
+ `,m=[{type:"block-scalar-header",offset:a,indent:n,source:c}];return T5(m,u)||m.push({type:"newline",offset:-1,indent:n,source:`
110
+ `}),{type:"block-scalar",offset:a,indent:n,props:m,source:h}}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 FN(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=x5.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">":BN(e,u);break;case'"':am(e,u,"double-quoted-scalar");break;case"'":am(e,u,"single-quoted-scalar");break;default:am(e,u,"scalar")}}function BN(e,t){let r=t.indexOf(`
111
+ `),n=t.substring(0,r),i=t.substring(r+1)+`
112
+ `;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}];T5(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:s,source:`
113
+ `});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 T5(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 am(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:`
114
+ `};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})}}}E0.createScalarToken=MN;E0.resolveAsScalar=RN;E0.setScalarValue=FN});var A5=re(C5=>{"use strict";var qN=e=>"type"in e?T0(e):x0(e);function T0(e){switch(e.type){case"block-scalar":{let t="";for(let r of e.props)t+=T0(r);return t+e.source}case"block-map":case"block-seq":{let t="";for(let r of e.items)t+=x0(r);return t}case"flow-collection":{let t=e.start.source;for(let r of e.items)t+=x0(r);for(let r of e.end)t+=r.source;return t}case"document":{let t=x0(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 x0({start:e,key:t,sep:r,value:n}){let i="";for(let a of e)i+=a.source;if(t&&(i+=T0(t)),r)for(let a of r)i+=a.source;return n&&(i+=T0(n)),i}C5.stringify=qN});var D5=re(S5=>{"use strict";var sm=Symbol("break visit"),UN=Symbol("skip children"),w5=Symbol("remove item");function jn(e,t){"type"in e&&e.type==="document"&&(e={start:e.start,value:e.value}),k5(Object.freeze([]),e,t)}jn.BREAK=sm;jn.SKIP=UN;jn.REMOVE=w5;jn.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};jn.parentCollection=(e,t)=>{let r=jn.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 k5(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=k5(Object.freeze(e.concat([[i,s]])),a.items[s],r);if(typeof o=="number")s=o-1;else{if(o===sm)return sm;o===w5&&(a.items.splice(s,1),s-=1)}}typeof n=="function"&&i==="key"&&(n=n(t,e))}}return typeof n=="function"?n(t,e):n}S5.visit=jn});var v0=re(At=>{"use strict";var om=v5(),HN=A5(),zN=D5(),um="\uFEFF",lm="",cm="",fm="",VN=e=>!!e&&"items"in e,YN=e=>!!e&&(e.type==="scalar"||e.type==="single-quoted-scalar"||e.type==="double-quoted-scalar"||e.type==="block-scalar");function jN(e){switch(e){case um:return"<BOM>";case lm:return"<DOC>";case cm:return"<FLOW_END>";case fm:return"<SCALAR>";default:return JSON.stringify(e)}}function $N(e){switch(e){case um:return"byte-order-mark";case lm:return"doc-mode";case cm:return"flow-error-end";case fm:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
115
+ `:case`\r
116
+ `: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}At.createScalarToken=om.createScalarToken;At.resolveAsScalar=om.resolveAsScalar;At.setScalarValue=om.setScalarValue;At.stringify=HN.stringify;At.visit=zN.visit;At.BOM=um;At.DOCUMENT=lm;At.FLOW_END=cm;At.SCALAR=fm;At.isCollection=VN;At.isScalar=YN;At.prettyToken=jN;At.tokenType=$N});var mm=re(N5=>{"use strict";var os=v0();function Jt(e){switch(e){case void 0:case" ":case`
117
+ `:case"\r":case" ":return!0;default:return!1}}var I5=new Set("0123456789ABCDEFabcdef"),GN=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),C0=new Set(",[]{}"),WN=new Set(` ,[]{}
118
+ \r `),hm=e=>!e||WN.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===`
119
+ `?!0:r==="\r"?this.buffer[t+1]===`
120
+ `:!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===`
121
+ `||!i&&!this.atEnd)return t+n+1}return r===`
122
+ `||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(`
123
+ `,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]===os.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 os.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(hm),"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 os.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(hm),"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(`
124
+ `,this.pos);if(i!==-1){for(;i!==-1;){let a=this.continueScalar(i+1);if(a===-1)break;i=n.indexOf(`
125
+ `,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`
126
+ `:t=a,r=0;break;case"\r":{let s=this.buffer[a+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
127
+ `)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(`
128
+ `,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===`
129
+ `;)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===`
130
+ `&&a>=this.pos&&a+1+r>o)t=a;else break}while(!0);return yield os.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&&C0.has(a))break;r=n}else if(Jt(i)){let a=this.buffer[n+1];if(i==="\r"&&(a===`
131
+ `?(n+=1,i=`
132
+ `,a=this.buffer[n+1]):r=n),a==="#"||t&&C0.has(a))break;if(i===`
133
+ `){let s=this.continueScalar(n+1);if(s===-1)break;n=Math.max(n,s-2)}}else{if(t&&C0.has(i))break;r=n}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield os.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(hm),t+=yield*this.pushSpaces(!0);continue e;case"-":case"?":case":":{let r=this.flowLevel>0,n=this.charAt(1);if(Jt(n)||r&&C0.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(GN.has(r))r=this.buffer[++t];else if(r==="%"&&I5.has(this.buffer[t+1])&&I5.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===`
134
+ `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
135
+ `?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)}};N5.Lexer=dm});var gm=re(_5=>{"use strict";var pm=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}}}};_5.LineCounter=pm});var ym=re(M5=>{"use strict";var KN=require("process"),L5=v0(),QN=mm();function gn(e,t){for(let r=0;r<e.length;++r)if(e[r].type===t)return!0;return!1}function P5(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 R5(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 A0(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 Oi(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 w0(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 O5(e){if(e.start.type==="flow-seq-start")for(let t of e.items)t.sep&&!t.value&&!gn(t.start,"explicit-key-ind")&&!gn(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,R5(t.value)?t.value.end?w0(t.value.end,t.sep):t.value.end=t.sep:w0(t.start,t.sep),delete t.sep)}var bm=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 QN.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,KN.env.LOG_TOKENS&&console.log("|",L5.prettyToken(t)),this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}let r=L5.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"&&O5(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&&P5(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":{P5(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=A0(this.peek(2)),n=Oi(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(`
136
+ `)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
137
+ `,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)){w0(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(gn(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(R5(r.key)&&!gn(r.sep,"newline")){let s=Oi(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(gn(r.start,"newline"))Object.assign(r,{key:null,sep:[this.sourceToken]});else{let s=Oi(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]}):gn(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&&!gn(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)){w0(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||gn(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=A0(n),a=Oi(i);O5(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(`
138
+ `)+1;for(;r!==0;)this.onNewLine(this.offset+r),r=this.source.indexOf(`
139
+ `,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=A0(t),n=Oi(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=A0(t),n=Oi(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())}}};M5.Parser=bm});var H5=re(ls=>{"use strict";var F5=im(),XN=es(),us=ns(),JN=rd(),ZN=Ee(),e_=gm(),B5=ym();function q5(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new e_.LineCounter||null,prettyErrors:t}}function t_(e,t={}){let{lineCounter:r,prettyErrors:n}=q5(t),i=new B5.Parser(r?.addNewLine),a=new F5.Composer(t),s=Array.from(a.compose(i.parse(e)));if(n&&r)for(let o of s)o.errors.forEach(us.prettifyError(e,r)),o.warnings.forEach(us.prettifyError(e,r));return s.length>0?s:Object.assign([],{empty:!0},a.streamInfo())}function U5(e,t={}){let{lineCounter:r,prettyErrors:n}=q5(t),i=new B5.Parser(r?.addNewLine),a=new F5.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 us.YAMLParseError(o.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&r&&(s.errors.forEach(us.prettifyError(e,r)),s.warnings.forEach(us.prettifyError(e,r))),s}function r_(e,t,r){let n;typeof t=="function"?n=t:r===void 0&&t&&typeof t=="object"&&(r=t);let i=U5(e,r);if(!i)return null;if(i.warnings.forEach(a=>JN.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 n_(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 ZN.isDocument(e)&&!n?e.toString(r):new XN.Document(e,n,r).toString(r)}ls.parse=r_;ls.parseAllDocuments=t_;ls.parseDocument=U5;ls.stringify=n_});var V5=re(Ce=>{"use strict";var i_=im(),a_=es(),s_=Bd(),Em=ns(),o_=Ba(),bn=Ee(),u_=hn(),l_=$e(),c_=mn(),f_=pn(),h_=v0(),d_=mm(),m_=gm(),p_=ym(),k0=H5(),z5=Oa();Ce.Composer=i_.Composer;Ce.Document=a_.Document;Ce.Schema=s_.Schema;Ce.YAMLError=Em.YAMLError;Ce.YAMLParseError=Em.YAMLParseError;Ce.YAMLWarning=Em.YAMLWarning;Ce.Alias=o_.Alias;Ce.isAlias=bn.isAlias;Ce.isCollection=bn.isCollection;Ce.isDocument=bn.isDocument;Ce.isMap=bn.isMap;Ce.isNode=bn.isNode;Ce.isPair=bn.isPair;Ce.isScalar=bn.isScalar;Ce.isSeq=bn.isSeq;Ce.Pair=u_.Pair;Ce.Scalar=l_.Scalar;Ce.YAMLMap=c_.YAMLMap;Ce.YAMLSeq=f_.YAMLSeq;Ce.CST=h_;Ce.Lexer=d_.Lexer;Ce.LineCounter=m_.LineCounter;Ce.Parser=p_.Parser;Ce.parse=k0.parse;Ce.parseAllDocuments=k0.parseAllDocuments;Ce.parseDocument=k0.parseDocument;Ce.stringify=k0.stringify;Ce.visit=z5.visit;Ce.visitAsync=z5.visitAsync});var jm=De(require("node:fs/promises"),1),Vi=De(require("node:path"),1),$m=["riebeckite.config.ts","riebeckite.config.js","riebeckite.config.mjs"];async function Gm(e){let t=Vi.default.resolve(e),r=t,n=await t8(r);if(!n)throw new G0(`Could not find ${$m.join(", ")} from ${r}.`);let i=Vi.default.dirname(n);return{invocationCwd:t,projectRoot:i,configRoot:i,configPath:n}}var G0=class extends Error{constructor(t){super(t),this.name="ProjectRootError"}};async function t8(e){for(let t of r8(e))for(let r of $m){let n=Vi.default.join(t,r);if(await n8(n))return n}}function*r8(e){let t=e;for(;;){yield t;let r=Vi.default.dirname(t);if(r===t)return;t=r}}async function n8(e){try{return(await jm.default.stat(e)).isFile()}catch{return!1}}var g7=De(require("node:path"),1);var Yi=class extends Error{issues;constructor(t){super(i8(t)),this.name="ConfigValidationError",this.issues=t}};function i8(e){return["Invalid Riebeckite configuration:",...e.map(t=>`
140
+ ${t.path}
141
+ ${t.message}`)].join(`
142
+ `)}var xr=class extends Error{kind;pluginName;capability;pluginNames;chain;constructor(t){super(a8(t)),this.name="PluginDependencyError",this.kind=t.kind,this.pluginName=t.pluginName,this.capability=t.capability,this.pluginNames=t.pluginNames??[],this.chain=t.chain??[]}};function a8(e){return e.kind==="missing-capability"?`Plugin "${e.pluginName}" requires missing capability "${e.capability}"`:e.kind==="duplicate-provider"?[`Capability "${e.capability}" is provided by multiple plugins:`,...(e.pluginNames??[]).map(t=>`- ${t}`)].join(`
143
+ `):[`Plugin dependency cycle detected for capability "${e.capability}":`,(e.chain??[]).join(" -> ")].join(`
144
+ `)}function Wm(e){let t=s8(e),r=o8(e,t);return u8(e,r)}function s8(e){let t=new Map;for(let[n,i]of e.entries())for(let a of new Set(i.provides??[])){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 xr({kind:"duplicate-provider",capability:n,pluginNames:i.map(a=>e[a].name)});r.set(n,i[0])}return r}function o8(e,t){return e.map(r=>{let n=(r.requires??[]).map(a=>{let s=t.get(a);if(s===void 0)throw new xr({kind:"missing-capability",pluginName:r.name,capability:a});return{providerIndex:s,capability:a}}),i=(r.optional??[]).flatMap(a=>{let s=t.get(a);return s===void 0?[]:[{providerIndex:s,capability:a}]});return[...n,...i]})}function u8(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&&l8(i,o)}if(a.length!==e.length)throw c8(e,t,n);return a}function l8(e,t){let r=e.findIndex(n=>n>t);if(r===-1){e.push(t);return}e.splice(r,0,t)}function c8(e,t,r){let n=new Set(r.map((s,o)=>s>0?o:-1).filter(s=>s>=0)),i=f8(t,n),a=i.indices.map(s=>e[s].name);return new xr({kind:"cycle",capability:i.capability,pluginNames:a,chain:a})}function f8(e,t){let r=[],n=new Set;for(let i of t){let a=Km(i,e,t,r,n);if(a)return a}throw new Error("Plugin dependency cycle could not be resolved.")}function Km(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=Km(a.providerIndex,t,r,n,i);if(o)return o}n.pop(),i.add(e)}}function Tn(e=[]){let t=e.filter(r=>!!r).filter(r=>r.enabled!==!1).toSorted((r,n)=>(r.order??0)-(n.order??0));return Wm(t)}function ws(e){return e.map(t=>({name:t.name,enabled:t.enabled!==!1,provides:t.provides??[],requires:t.requires??[],optional:t.optional??[]}))}function ks(e,t){let r=t.replace(/\\/g,"/");return e.some(n=>h8(n,r))}function h8(e,t){return d8(e).test(t)}function d8(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 W0=["png","jpg","jpeg","gif","svg","webp","bmp"];function Qm(e){return Q0(e)==="md"}function Ss(e){return W0.includes(Q0(e))}function K0(e){return m8(e)&&!Qm(e)&&!Ss(e)}function Q0(e){if(e.toLowerCase().endsWith(".tar.gz"))return"tar.gz";let r=Xm(e),n=r.lastIndexOf(".");return n<=0?"":r.slice(n+1).toLowerCase()}function ji(e){return e.replace(/\\/g,"/").normalize("NFC")}function m8(e){let t=Xm(e),r=t.lastIndexOf(".");return r>0&&r<t.length-1}function Xm(e){let t=ji(e);return t.slice(t.lastIndexOf("/")+1)}var Jm=require("node:crypto"),vn=De(require("node:fs/promises"),1),J0=De(require("node:path"),1);async function Zm(e){try{let t=JSON.parse(await vn.default.readFile(e,"utf8"));return tp(t)?t:void 0}catch{return}}async function $i(e){try{let t=JSON.parse(await vn.default.readFile(e,"utf8"));return tp(t)?{kind:"valid",path:e,version:t.version,entryCount:Object.keys(t.entries).length}:{kind:"invalid",path:e}}catch(t){if(p8(t))return{kind:"missing",path:e};if(t instanceof SyntaxError)return{kind:"invalid",path:e};throw t}}async function ep(e,t){let r=J0.default.dirname(e),n=`${e}.${(0,Jm.randomUUID)()}.tmp`;await vn.default.mkdir(r,{recursive:!0});try{await vn.default.writeFile(n,JSON.stringify(t),"utf8"),await vn.default.rename(n,e)}catch(i){throw await vn.default.rm(n,{force:!0}).catch(()=>{}),i}}function Cn(e,t){let r=e?.content.directory??t??process.cwd();return J0.default.resolve(r,".riebeckite","content-state.json")}function tp(e){return!Ds(e)||e.version!==1||!Ds(e.entries)||!Ds(e.contentIndex)?!1:Object.values(e.entries).every(t=>Ds(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 Ds(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function p8(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}function rl(e){return{nodes:()=>[...e.entries],get:t=>e.bySlug.get(t)??null,outgoing:t=>Z0(e,el(e,t)),incoming:t=>Z0(e,tl(e,t)),neighbors:t=>Z0(e,rp(e,t)),outgoingSlugs:t=>el(e,t),incomingSlugs:t=>tl(e,t),neighborSlugs:t=>rp(e,t)}}function el(e,t){let r=e.outgoingLinks.get(t)??[];return np(r.filter(g8).map(n=>n.slug).filter(n=>n!==t))}function tl(e,t){return e.incomingLinks.get(t)??[]}function rp(e,t){return np([...el(e,t),...tl(e,t)])}function Z0(e,t){return t.map(r=>e.bySlug.get(r)??null).filter(r=>r!==null)}function g8(e){return e.kind==="note"&&e.slug!==null}function np(e){return Array.from(new Set(e))}function nl(e){return{slug:e.slug,permalink:e.slug==="index"?"/":`/${e.slug}`}}var Is=class{debug(){}info(){}warn(){}error(){}child(){return this}},An=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=il(this.context,r);if(n){console.error(t,i,n);return}console.error(t,i)}child(t){return new e(il(this.context,t))}write(t,r,n){console[t](r,il(this.context,n))}},Zn=class{async span(t,r,n){return await n()}event(){}},Gi=class{constructor(t){this.sink=t}sink;async span(t,r,n){let i=ip(),a=al();try{let s=await n();return this.emitSpan({name:t,startTime:i,durationMs:al()-a,status:"ok",attributes:r}),s}catch(s){throw this.emitSpan({name:t,startTime:i,durationMs:al()-a,status:"error",attributes:r}),s}}event(t,r={}){try{this.sink.onEvent({name:t,time:ip(),attributes:r})}catch{}}emitSpan(t){try{this.sink.onSpan(t)}catch{}}};var ei={logger:new Is,tracer:new Zn};function il(e,t){return t?{...e,...t}:e}function ip(){return Date.now()}function al(){return typeof performance>"u"?Date.now():performance.now()}var Wi=(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 ap(e)?a.call(i,e,r,n):!1}),dt=(function(e){if(e==null)return E8;if(typeof e=="string")return y8(e);if(typeof e=="object")return b8(e);if(typeof e=="function")return sl(e);throw new Error("Expected function, string, or array as `test`")});function b8(e){let t=[],r=-1;for(;++r<e.length;)t[r]=dt(e[r]);return sl(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function y8(e){return sl(t);function t(r){return r.tagName===e}}function sl(e){return t;function t(r,n,i){return!!(ap(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function E8(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function ap(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}var wn=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 x8=/[ \t\n\f\r]/g;function kt(e){return typeof e=="object"?e.type==="text"?sp(e.value):!1:sp(e)}function sp(e){return e.replace(x8,"")===""}var Pt=(function(e){if(e==null)return A8;if(typeof e=="function")return Ns(e);if(typeof e=="object")return Array.isArray(e)?T8(e):v8(e);if(typeof e=="string")return C8(e);throw new Error("Expected function, string, or object as test")});function T8(e){let t=[],r=-1;for(;++r<e.length;)t[r]=Pt(e[r]);return Ns(n);function n(...i){let a=-1;for(;++a<t.length;)if(t[a].apply(this,i))return!0;return!1}}function v8(e){let t=e;return Ns(r);function r(n){let i=n,a;for(a in e)if(i[a]!==t[a])return!1;return!0}}function C8(e){return Ns(t);function t(r){return r&&r.type===e}}function Ns(e){return t;function t(r,n,i){return!!(w8(r)&&e.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function A8(){return!0}function w8(e){return e!==null&&typeof e=="object"&&"type"in e}var op=["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 up=["button","input","select","textarea"];var lp=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"];var k8={},ol=Pt(["comment","doctype"]);function ul(e,t){fp(e,{collapse:P8((t||k8).newlines?_8:L8),whitespace:"normal"})}function fp(e,t){if("children"in e){let r={...t};return(e.type==="root"||mp(e))&&(r.before=!0,r.after=!0),r.whitespace=O8(e,t),D8(e,r)}if(e.type==="text"){if(t.whitespace==="normal")return S8(e,t);t.whitespace==="nowrap"&&(e.value=t.collapse(e.value))}return{ignore:ol(e),stripAtStart:!1,remove:!1}}function S8(e,t){let r=t.collapse(e.value),n={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=r.length;return t.before&&cp(r.charAt(0))&&i++,i!==a&&cp(r.charAt(a-1))&&(t.after?a--:n.stripAtStart=!0),i===a?n.remove=!0:e.value=r.slice(i,a),n}function D8(e,t){let r=t.before,n=t.after,i=e.children,a=i.length,s=-1;for(;++s<a;){let o=fp(i[s],{...t,after:hp(i,s,n),before:r});o.remove?(i.splice(s,1),s--,a--):o.ignore||(r=o.stripAtStart),dp(i[s])&&(r=!1)}return{ignore:!1,stripAtStart:!!(r||n),remove:!1}}function hp(e,t,r){for(;++t<e.length;){let n=e[t],i=I8(n);if(i===void 0&&"children"in n&&!N8(n)&&(i=hp(n.children,-1)),typeof i=="boolean")return i}return r}function I8(e){if(e.type==="element"){if(dp(e))return!1;if(mp(e))return!0}else if(e.type==="text"){if(!kt(e))return!1}else if(!ol(e))return!1}function dp(e){return wn(e)||Wi(e,up)}function mp(e){return Wi(e,op)}function N8(e){return!!(e.type==="element"&&e.properties.hidden)||ol(e)||Wi(e,lp)}function cp(e){return e===" "||e===`
145
+ `}function _8(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function L8(){return" "}function P8(e){return t;function t(r){return String(r).replace(/[\t\n\v\f\r ]+/g,e)}}function O8(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 R8={}.hasOwnProperty;function ll(e,t){let r=e.type==="element"&&R8.call(e.properties,t)&&e.properties[t];return r!=null&&r!==!1}var M8=new Set(["pingback","prefetch","stylesheet"]);function cl(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(!M8.has(String(t[r])))return!1;return!0}var F8=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"]),B8=dt("meta");function fl(e){return!!(e.type==="text"||F8(e)||wn(e)||cl(e)||B8(e)&&ll(e,"itemProp"))}var hl=["pre","script","style","textarea"];function pp(e){return"\x1B[33m"+e+"\x1B[39m"}var gp=[],_s=!0,kn=!1,zr="skip";function jt(e,t,r,n){let i;typeof t=="function"&&typeof r!="function"?(n=r,r=t):i=t;let a=Pt(i),s=n?-1:1;o(e,void 0,[])();function o(u,l,c){let h=u&&typeof u=="object"?u:{};if(typeof h.type=="string"){let p=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(m,"name",{value:"node ("+pp(u.type+(p?"<"+p+">":""))+")"})}return m;function m(){let p=gp,y,E,x;if((!t||a(u,l,c[c.length-1]||void 0))&&(p=q8(r(u,c)),p[0]===kn))return p;if("children"in u&&u.children){let v=u;if(v.children&&p[0]!==zr)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]===kn)return y;E=typeof y[1]=="number"?y[1]:E+s}}return p}}}function q8(e){return Array.isArray(e)?e:typeof e=="number"?[_s,e]:e==null?gp:[e]}var U8={};function ml(e,t){let r=t||U8,n={blanks:r.blanks||[],head:!1,indentInitial:r.indentInitial!==!1,indent:typeof r.indent=="number"?" ".repeat(r.indent):typeof r.indent=="string"?r.indent:" "};ul(e,{newlines:!0}),jt(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"&&hl.includes(s.tagName))return zr;if(s.children.length===0||!dl(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(`
146
+ `)&&(l=!0),m.value=m.value.replace(/ *\n/g,"$&"+n.indent.repeat(u)));let c=[],h;for(let m of s.children)(dl(n,m)||l&&!h)&&(a(c,u,m),l=!0),h=m,c.push(m);h&&(l||dl(n,h))&&(kt(h)&&(c.pop(),h=c[c.length-1]),a(c,u-1)),s.children=c}function a(s,o,u){let l=s[s.length-1],c=l&&kt(l)?s[s.length-2]:l,h=(bp(n,c)&&bp(n,u)?`
147
+
148
+ `:`
149
+ `)+n.indent.repeat(Math.max(o,0));l&&l.type==="text"?l.value=kt(l)?h:l.value+h:s.push({type:"text",value:h})}}function bp(e,t){return!!(t&&t.type==="element"&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function dl(e,t){return t.type==="root"||(t.type==="element"?e.head||t.tagName==="script"||wn(t)||!fl(t):!1)}function Ls(e){return function(t){ml(t,e)}}var Tr=class{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}};Tr.prototype.normal={};Tr.prototype.property={};Tr.prototype.space=void 0;function pl(e,t){let r={},n={};for(let i of e)Object.assign(r,i.property),Object.assign(n,i.normal);return new Tr(r,n,t)}function vr(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 Ki={};As(Ki,{boolean:()=>de,booleanish:()=>Me,commaOrSpaceSeparated:()=>Tt,commaSeparated:()=>Cr,number:()=>Q,overloadedBoolean:()=>Ps,spaceSeparated:()=>ve});var H8=0,de=Sn(),Me=Sn(),Ps=Sn(),Q=Sn(),ve=Sn(),Cr=Sn(),Tt=Sn();function Sn(){return 2**++H8}var gl=Object.keys(Ki),Dn=class extends Ze{constructor(t,r,n,i){let a=-1;if(super(t,r),yp(this,"space",i),typeof n=="number")for(;++a<gl.length;){let s=gl[a];yp(this,gl[a],(n&Ki[s])===Ki[s])}}};Dn.prototype.defined=!0;function yp(e,t,r){r&&(e[t]=r)}function Ot(e){let t={},r={};for(let[n,i]of Object.entries(e.properties)){let a=new Dn(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[vr(n)]=n,r[vr(a.attribute)]=n}return new Tr(t,r,e.space)}var bl=Ot({properties:{ariaActiveDescendant:null,ariaAtomic:Me,ariaAutoComplete:null,ariaBusy:Me,ariaChecked:Me,ariaColCount:Q,ariaColIndex:Q,ariaColSpan:Q,ariaControls:ve,ariaCurrent:null,ariaDescribedBy:ve,ariaDetails:null,ariaDisabled:Me,ariaDropEffect:ve,ariaErrorMessage:null,ariaExpanded:Me,ariaFlowTo:ve,ariaGrabbed:Me,ariaHasPopup:null,ariaHidden:Me,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ve,ariaLevel:Q,ariaLive:null,ariaModal:Me,ariaMultiLine:Me,ariaMultiSelectable:Me,ariaOrientation:null,ariaOwns:ve,ariaPlaceholder:null,ariaPosInSet:Q,ariaPressed:Me,ariaReadOnly:Me,ariaRelevant:null,ariaRequired:Me,ariaRoleDescription:ve,ariaRowCount:Q,ariaRowIndex:Q,ariaRowSpan:Q,ariaSelected:Me,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 Rs(e,t){return Os(e,t.toLowerCase())}var Ep=Ot({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Cr,acceptCharset:ve,accessKey:ve,action:null,allow:null,allowFullScreen:de,allowPaymentRequest:de,allowUserMedia:de,alpha:de,alt:null,as:null,async:de,autoCapitalize:null,autoComplete:ve,autoFocus:de,autoPlay:de,blocking:ve,capture:null,charSet:null,checked:de,cite:null,className:ve,closedBy:null,colorSpace:null,cols:Q,colSpan:Q,command:null,commandFor:null,content:null,contentEditable:Me,controls:de,controlsList:ve,coords:Q|Cr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:de,defer:de,dir:null,dirName:null,disabled:de,download:Ps,draggable:Me,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:de,formTarget:null,headers:ve,height:Q,hidden:Ps,high:Q,href:null,hrefLang:null,htmlFor:ve,httpEquiv:ve,id:null,imageSizes:null,imageSrcSet:null,inert:de,inputMode:null,integrity:null,is:null,isMap:de,itemId:null,itemProp:ve,itemRef:ve,itemScope:de,itemType:ve,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:de,low:Q,manifest:null,max:null,maxLength:Q,media:null,method:null,min:null,minLength:Q,multiple:de,muted:de,name:null,nonce:null,noModule:de,noValidate:de,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:de,optimum:Q,pattern:null,ping:ve,placeholder:null,playsInline:de,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:de,referrerPolicy:null,rel:ve,required:de,reversed:de,rows:Q,rowSpan:Q,sandbox:ve,scope:null,scoped:de,seamless:de,selected:de,shadowRootClonable:de,shadowRootCustomElementRegistry:de,shadowRootDelegatesFocus:de,shadowRootMode:null,shadowRootSerializable:de,shape:null,size:Q,sizes:null,slot:null,span:Q,spellCheck:Me,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:de,useMap:null,value:Me,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:de,declare:de,event:null,face:null,frame:null,frameBorder:null,hSpace:Q,leftMargin:Q,link:null,longDesc:null,lowSrc:null,marginHeight:Q,marginWidth:Q,noResize:de,noHref:de,noShade:de,noWrap:de,object:null,profile:null,prompt:null,rev:null,rightMargin:Q,rules:null,scheme:null,scrolling:Me,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:de,disablePictureInPicture:de,disableRemotePlayback:de,exportParts:Cr,part:ve,prefix:null,property:null,results:Q,security:null,unselectable:null},space:"html",transform:Rs});var xp=Ot({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:Tt,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:de,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:Cr,g2:Cr,glyphName:Cr,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:Tt,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:Tt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Tt,rev:Tt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Tt,requiredFeatures:Tt,requiredFonts:Tt,requiredFormats:Tt,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:Tt,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:Tt,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:Tt,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 yl=Ot({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 El=Ot({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Rs});var xl=Ot({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}});var z8=/[A-Z]/g,Tp=/-[a-z]/g,V8=/^data[-\w.:]+$/i;function Ar(e,t){let r=vr(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"&&V8.test(t)){if(t.charAt(4)==="-"){let a=t.slice(5).replace(Tp,j8);n="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{let a=t.slice(4);if(!Tp.test(a)){let s=a.replace(z8,Y8);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Dn}return new i(n,t)}function Y8(e){return"-"+e.toLowerCase()}function j8(e){return e.charAt(1).toUpperCase()}var wr=pl([bl,Ep,yl,El,xl],"html"),Rt=pl([bl,xp,yl,El,xl],"svg");function Tl(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 Ms(e,t){let r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var vp=/[#.]/g;function vl(e,t){let r=e||"",n={},i=0,a,s;for(;i<r.length;){vp.lastIndex=i;let o=vp.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 Cl(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Fs(e){return e.join(" ").trim()}function wl(e,t,r){let n=r?K8(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=vl(a,t);let l=u.tagName.toLowerCase(),c=n?n.get(l):void 0;if(u.tagName=c||l,$8(s))o.unshift(s);else for(let[h,m]of Object.entries(s))G8(e,u.properties,h,m)}for(let l of o)Al(u.children,l);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return i}function $8(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 G8(e,t,r,n){let i=Ar(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=Cl(n):i.commaSeparated?a=Tl(n):i.commaOrSpaceSeparated?a=Cl(Tl(n).join(" ")):a=Cp(i,i.property,n):Array.isArray(n)?a=[...n]:a=i.property==="style"?W8(n):String(n);if(Array.isArray(a)){let s=[];for(let o of a)s.push(Cp(i,i.property,o));a=s}i.property==="className"&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}function Al(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)Al(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?Al(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Cp(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||vr(r)===vr(t)))return!0}return r}function W8(e){let t=[];for(let[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function K8(e){let t=new Map;for(let r of e)t.set(r.toLowerCase(),r);return t}var Ap=["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 kl=wl(wr,"div"),Sl=wl(Rt,"g",Ap);function Dl(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=wp(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=wp(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 wp(e,t){let r=e.indexOf("\r",t),n=e.indexOf(`
150
+ `,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 Sp={}.hasOwnProperty,Q8=Object.prototype;function Qi(e,t){let r=t||{};return Il({file:r.file||void 0,location:!1,schema:r.space==="svg"?Rt:wr,verbose:r.verbose||!1},e)}function Il(e,t){let r;switch(t.nodeName){case"#comment":{let n=t;return r={type:"comment",value:n.data},Bs(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:Dp(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let a=String(e.file),s=Dl(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"},Bs(e,n,r),r}case"#text":{let n=t;return r={type:"text",value:n.value},Bs(e,n,r),r}default:return r=X8(e,t),r}}function Dp(e,t){let r=-1,n=[];for(;++r<t.length;){let i=Il(e,t[r]);n.push(i)}return n}function X8(e,t){let r=e.schema;e.schema=t.namespaceURI===rr.svg?Rt:wr;let n=-1,i={};for(;++n<t.attrs.length;){let o=t.attrs[n],u=(o.prefix?o.prefix+":":"")+o.name;Sp.call(Q8,u)||(i[u]=o.value)}let s=(e.schema.space==="svg"?Sl:kl)(t.tagName,i,Dp(e,t.childNodes));if(Bs(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),h=Il(e,o.content);l&&c&&e.file&&(h.position={start:l.end,end:c.start}),s.content=h}return e.schema=r,s}function Bs(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let n=J8(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function J8(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)Sp.call(r.attrs,s)&&(a[Ar(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=kp({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=kp({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function kp(e){return e.line&&e.column?e:void 0}var Z8=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]),Ie="\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 mt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function qs(e){return e>=55296&&e<=57343}function Ip(e){return e>=56320&&e<=57343}function Np(e,t){return(e-55296)*1024+9216+t}function Us(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Hs(e){return e>=64976&&e<=65007||Z8.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 ty=65536,zs=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=ty,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(Ip(r))return this.pos++,this._addGap(),Np(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,qs(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){Us(t)?this._err(z.controlCharacterInInputStream):Hs(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={};As(Vr,{TokenType:()=>ye,getTokenAttr:()=>Xi});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 Xi(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 Nl,ry=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]]),_p=(Nl=String.fromCodePoint)!==null&&Nl!==void 0?Nl: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 _l(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=ry.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 iy=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 Ll(e){return e>=tt.ZERO&&e<=tt.NINE}function ay(e){return e>=tt.UPPER_A&&e<=tt.UPPER_F||e>=tt.LOWER_A&&e<=tt.LOWER_F}function sy(e){return e>=tt.UPPER_A&&e<=tt.UPPER_Z||e>=tt.LOWER_A&&e<=tt.LOWER_Z||Ll(e)}function oy(e){return e===tt.EQUALS||sy(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)|iy)===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(Ll(i)||ay(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(Ll(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(_l(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=uy(n,i,this.treeIndex+Math.max(1,a),s),this.treeIndex<0)return this.result===0||this.decodeMode===nr.Attribute&&(a===0||oy(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 uy(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 Ji={};As(Ji,{ATTRS:()=>ir,DOCUMENT_MODE:()=>nt,NS:()=>Y,NUMBERED_HEADERS:()=>ri,SPECIAL_ELEMENTS:()=>Pl,TAG_ID:()=>f,TAG_NAMES:()=>M,getTagID:()=>jr,hasUnescapedText:()=>Lp});var Y;(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/"})(Y||(Y={}));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 f;(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"})(f||(f={}));var ly=new Map([[M.A,f.A],[M.ADDRESS,f.ADDRESS],[M.ANNOTATION_XML,f.ANNOTATION_XML],[M.APPLET,f.APPLET],[M.AREA,f.AREA],[M.ARTICLE,f.ARTICLE],[M.ASIDE,f.ASIDE],[M.B,f.B],[M.BASE,f.BASE],[M.BASEFONT,f.BASEFONT],[M.BGSOUND,f.BGSOUND],[M.BIG,f.BIG],[M.BLOCKQUOTE,f.BLOCKQUOTE],[M.BODY,f.BODY],[M.BR,f.BR],[M.BUTTON,f.BUTTON],[M.CAPTION,f.CAPTION],[M.CENTER,f.CENTER],[M.CODE,f.CODE],[M.COL,f.COL],[M.COLGROUP,f.COLGROUP],[M.DD,f.DD],[M.DESC,f.DESC],[M.DETAILS,f.DETAILS],[M.DIALOG,f.DIALOG],[M.DIR,f.DIR],[M.DIV,f.DIV],[M.DL,f.DL],[M.DT,f.DT],[M.EM,f.EM],[M.EMBED,f.EMBED],[M.FIELDSET,f.FIELDSET],[M.FIGCAPTION,f.FIGCAPTION],[M.FIGURE,f.FIGURE],[M.FONT,f.FONT],[M.FOOTER,f.FOOTER],[M.FOREIGN_OBJECT,f.FOREIGN_OBJECT],[M.FORM,f.FORM],[M.FRAME,f.FRAME],[M.FRAMESET,f.FRAMESET],[M.H1,f.H1],[M.H2,f.H2],[M.H3,f.H3],[M.H4,f.H4],[M.H5,f.H5],[M.H6,f.H6],[M.HEAD,f.HEAD],[M.HEADER,f.HEADER],[M.HGROUP,f.HGROUP],[M.HR,f.HR],[M.HTML,f.HTML],[M.I,f.I],[M.IMG,f.IMG],[M.IMAGE,f.IMAGE],[M.INPUT,f.INPUT],[M.IFRAME,f.IFRAME],[M.KEYGEN,f.KEYGEN],[M.LABEL,f.LABEL],[M.LI,f.LI],[M.LINK,f.LINK],[M.LISTING,f.LISTING],[M.MAIN,f.MAIN],[M.MALIGNMARK,f.MALIGNMARK],[M.MARQUEE,f.MARQUEE],[M.MATH,f.MATH],[M.MENU,f.MENU],[M.META,f.META],[M.MGLYPH,f.MGLYPH],[M.MI,f.MI],[M.MO,f.MO],[M.MN,f.MN],[M.MS,f.MS],[M.MTEXT,f.MTEXT],[M.NAV,f.NAV],[M.NOBR,f.NOBR],[M.NOFRAMES,f.NOFRAMES],[M.NOEMBED,f.NOEMBED],[M.NOSCRIPT,f.NOSCRIPT],[M.OBJECT,f.OBJECT],[M.OL,f.OL],[M.OPTGROUP,f.OPTGROUP],[M.OPTION,f.OPTION],[M.P,f.P],[M.PARAM,f.PARAM],[M.PLAINTEXT,f.PLAINTEXT],[M.PRE,f.PRE],[M.RB,f.RB],[M.RP,f.RP],[M.RT,f.RT],[M.RTC,f.RTC],[M.RUBY,f.RUBY],[M.S,f.S],[M.SCRIPT,f.SCRIPT],[M.SEARCH,f.SEARCH],[M.SECTION,f.SECTION],[M.SELECT,f.SELECT],[M.SOURCE,f.SOURCE],[M.SMALL,f.SMALL],[M.SPAN,f.SPAN],[M.STRIKE,f.STRIKE],[M.STRONG,f.STRONG],[M.STYLE,f.STYLE],[M.SUB,f.SUB],[M.SUMMARY,f.SUMMARY],[M.SUP,f.SUP],[M.TABLE,f.TABLE],[M.TBODY,f.TBODY],[M.TEMPLATE,f.TEMPLATE],[M.TEXTAREA,f.TEXTAREA],[M.TFOOT,f.TFOOT],[M.TD,f.TD],[M.TH,f.TH],[M.THEAD,f.THEAD],[M.TITLE,f.TITLE],[M.TR,f.TR],[M.TRACK,f.TRACK],[M.TT,f.TT],[M.U,f.U],[M.UL,f.UL],[M.SVG,f.SVG],[M.VAR,f.VAR],[M.WBR,f.WBR],[M.XMP,f.XMP]]);function jr(e){var t;return(t=ly.get(e))!==null&&t!==void 0?t:f.UNKNOWN}var K=f,Pl={[Y.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]),[Y.MATHML]:new Set([K.MI,K.MO,K.MN,K.MS,K.MTEXT,K.ANNOTATION_XML]),[Y.SVG]:new Set([K.TITLE,K.FOREIGN_OBJECT,K.DESC]),[Y.XLINK]:new Set,[Y.XML]:new Set,[Y.XMLNS]:new Set},ri=new Set([K.H1,K.H2,K.H3,K.H4,K.H5,K.H6]),cy=new Set([M.STYLE,M.SCRIPT,M.XMP,M.IFRAME,M.NOEMBED,M.NOFRAMES,M.PLAINTEXT]);function Lp(e,t){return cy.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 fy(e){return e>=C.DIGIT_0&&e<=C.DIGIT_9}function Zi(e){return e>=C.LATIN_CAPITAL_A&&e<=C.LATIN_CAPITAL_Z}function hy(e){return e>=C.LATIN_SMALL_A&&e<=C.LATIN_SMALL_Z}function $r(e){return hy(e)||Zi(e)}function Pp(e){return $r(e)||fy(e)}function js(e){return e+32}function Rp(e){return e===C.SPACE||e===C.LINE_FEED||e===C.TABULATION||e===C.FORM_FEED}function Op(e){return Rp(e)||e===C.SOLIDUS||e===C.GREATER_THAN_SIGN}function dy(e){return e===C.NULL?z.nullCharacterReference:e>1114111?z.characterReferenceOutsideUnicodeRange:qs(e)?z.surrogateCharacterReference:Hs(e)?z.noncharacterCharacterReference:Us(e)||e===C.CARRIAGE_RETURN?z.controlCharacterReference:null}var ea=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 zs(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=dy(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:f.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ye.END_TAG,tagName:"",tagID:f.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(Xi(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=jr(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=Rp(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(Ie);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(Ie);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(Ie);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case C.NULL:{this._err(z.unexpectedNullCharacter),this._emitChars(Ie);break}case C.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if($r(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($r(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+=Ie;break}case C.EOF:{this._err(z.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Zi(t)?js(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){$r(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){$r(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){$r(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(Ie);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(Ie);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(Ie);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:$r(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){$r(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(mt.SCRIPT,!1)&&Op(this.preprocessor.peek(mt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<mt.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(Ie);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(Ie);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(Ie);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(mt.SCRIPT,!1)&&Op(this.preprocessor.peek(mt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<mt.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+=Ie;break}default:this.currentAttr.name+=String.fromCodePoint(Zi(t)?js(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+=Ie;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+=Ie;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+=Ie;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+=Ie;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(mt.DASH_DASH,!0)?(this._createCommentToken(mt.DASH_DASH.length+1),this.state=A.COMMENT_START):this._consumeSequenceIfMatch(mt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(mt.DOCTYPE.length+1),this.state=A.DOCTYPE):this._consumeSequenceIfMatch(mt.CDATA_START,!0)?this.inForeignNode?this.state=A.CDATA_SECTION:(this._err(z.cdataInHtmlContent),this._createCommentToken(mt.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+=Ie;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(Zi(t))this._createDoctypeToken(String.fromCharCode(js(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(Ie),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+=Ie;break}case C.EOF:{this._err(z.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Zi(t)?js(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(mt.PUBLIC,!1)?this.state=A.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(mt.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+=Ie;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+=Ie;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+=Ie;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+=Ie;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()&&Pp(this.preprocessor.peek(1))?A.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Pp(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===C.SEMICOLON&&this._err(z.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}};var qp=new Set([f.DD,f.DT,f.LI,f.OPTGROUP,f.OPTION,f.P,f.RB,f.RP,f.RT,f.RTC]),Mp=new Set([...qp,f.CAPTION,f.COLGROUP,f.TBODY,f.TD,f.TFOOT,f.TH,f.THEAD,f.TR]),$s=new Set([f.APPLET,f.CAPTION,f.HTML,f.MARQUEE,f.OBJECT,f.TABLE,f.TD,f.TEMPLATE,f.TH]),my=new Set([...$s,f.OL,f.UL]),py=new Set([...$s,f.BUTTON]),Fp=new Set([f.ANNOTATION_XML,f.MI,f.MN,f.MO,f.MS,f.MTEXT]),Bp=new Set([f.DESC,f.FOREIGN_OBJECT,f.TITLE]),gy=new Set([f.TR,f.TEMPLATE,f.HTML]),by=new Set([f.TBODY,f.TFOOT,f.THEAD,f.TEMPLATE,f.HTML]),yy=new Set([f.TABLE,f.TEMPLATE,f.HTML]),Ey=new Set([f.TD,f.TH]),Gs=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=f.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===f.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Y.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])!==Y.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,Y.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Ey,Y.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(yy,Y.HTML)}clearBackToTableBodyContext(){this.clearBackTo(by,Y.HTML)}clearBackToTableRowContext(){this.clearBackTo(gy,Y.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]===f.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]===f.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 Y.HTML:{if(i===t)return!0;if(r.has(i))return!1;break}case Y.SVG:{if(Bp.has(i))return!1;break}case Y.MATHML:{if(Fp.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,$s)}hasInListItemScope(t){return this.hasInDynamicScope(t,my)}hasInButtonScope(t){return this.hasInDynamicScope(t,py)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){let r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Y.HTML:{if(ri.has(r))return!0;if($s.has(r))return!1;break}case Y.SVG:{if(Bp.has(r))return!1;break}case Y.MATHML:{if(Fp.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===Y.HTML)switch(this.tagIDs[r]){case t:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Y.HTML)switch(this.tagIDs[t]){case f.TBODY:case f.THEAD:case f.TFOOT:return!0;case f.TABLE:case f.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===Y.HTML)switch(this.tagIDs[r]){case t:return!0;case f.OPTION:case f.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&&Mp.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Mp.has(this.currentTagId);)this.pop()}};var $t;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})($t||($t={}));var Up={type:$t.Marker},Ws=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===$t.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(Up)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:$t.Element,element:t,token:r})}insertElementAfterBookmark(t,r){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:$t.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(Up);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){let r=this.entries.find(n=>n.type===$t.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===$t.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===$t.Element&&r.element===t)}};var Gt={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};Gt.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(Gt.isTextNode(r)){r.value+=t;return}}Gt.appendChild(e,Gt.createTextNode(t))},insertTextBefore(e,t,r){let n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Gt.isTextNode(n)?n.value+=t:Gt.insertBefore(e,Gt.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",xy="about:legacy-compat",Ty="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Vp=["+//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//"],vy=[...Vp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Cy=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Yp=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Ay=[...Yp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Hp(e,t){return t.some(r=>e.startsWith(r))}function jp(e){return e.name===zp&&e.publicId===null&&(e.systemId===null||e.systemId===xy)}function $p(e){if(e.name!==zp)return nt.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===Ty)return nt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),Cy.has(r))return nt.QUIRKS;let n=t===null?vy:Vp;if(Hp(r,n))return nt.QUIRKS;if(n=t===null?Yp:Ay,Hp(r,n))return nt.LIMITED_QUIRKS}return nt.NO_QUIRKS}var Gp={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},ky="definitionurl",Sy="definitionURL",Dy=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])),Iy=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Y.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Y.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Y.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Y.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Y.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Y.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Y.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Y.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Y.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Y.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Y.XMLNS}]]),Ny=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])),_y=new Set([f.B,f.BIG,f.BLOCKQUOTE,f.BODY,f.BR,f.CENTER,f.CODE,f.DD,f.DIV,f.DL,f.DT,f.EM,f.EMBED,f.H1,f.H2,f.H3,f.H4,f.H5,f.H6,f.HEAD,f.HR,f.I,f.IMG,f.LI,f.LISTING,f.MENU,f.META,f.NOBR,f.OL,f.P,f.PRE,f.RUBY,f.S,f.SMALL,f.SPAN,f.STRONG,f.STRIKE,f.SUB,f.SUP,f.TABLE,f.TT,f.U,f.UL,f.VAR]);function Wp(e){let t=e.tagID;return t===f.FONT&&e.attrs.some(({name:n})=>n===ir.COLOR||n===ir.SIZE||n===ir.FACE)||_y.has(t)}function Ol(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===ky){e.attrs[t].name=Sy;break}}function Rl(e){for(let t=0;t<e.attrs.length;t++){let r=Dy.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Ks(e){for(let t=0;t<e.attrs.length;t++){let r=Iy.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 Kp(e){let t=Ny.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=jr(e.tagName))}function Ly(e,t){return t===Y.MATHML&&(e===f.MI||e===f.MO||e===f.MN||e===f.MS||e===f.MTEXT)}function Py(e,t,r){if(t===Y.MATHML&&e===f.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===ir.ENCODING){let i=r[n].value.toLowerCase();return i===Gp.TEXT_HTML||i===Gp.APPLICATION_XML}}return t===Y.SVG&&(e===f.FOREIGN_OBJECT||e===f.DESC||e===f.TITLE)}function Qp(e,t,r,n){return(!n||n===Y.HTML)&&Py(e,t,r)||(!n||n===Y.MATHML)&&Ly(e,t)}var Oy="hidden",Ry=8,My=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 Fy={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},t1=new Set([f.TABLE,f.TBODY,f.TFOOT,f.THEAD,f.TR]),Jp={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Gt,onParseError:null},kr=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={...Jp,...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 ea(this.options,this),this.activeFormattingElements=new Ws(this.treeAdapter),this.fragmentContextID=n?jr(this.treeAdapter.getTagName(n)):f.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new Gs(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={...Jp,...r};t??(t=n.treeAdapter.createElement(M.TEMPLATE,Y.HTML,[]));let i=n.treeAdapter.createElement("documentmock",Y.HTML,[]),a=new this(n,i,t);return a.fragmentContextID===f.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:Fy,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)===Y.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,Y.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)!==Y.HTML))switch(this.fragmentContextID){case f.TITLE:case f.TEXTAREA:{this.tokenizer.state=Ne.RCDATA;break}case f.STYLE:case f.XMP:case f.IFRAME:case f.NOEMBED:case f.NOFRAMES:case f.NOSCRIPT:{this.tokenizer.state=Ne.RAWTEXT;break}case f.SCRIPT:{this.tokenizer.state=Ne.SCRIPT_DATA;break}case f.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,Y.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){let r=this.treeAdapter.createElement(t.tagName,Y.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,Y.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,f.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===f.SVG&&this.treeAdapter.getTagName(r)===M.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===Y.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===f.MGLYPH||t.tagID===f.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,Y.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 Qp(t,i,a,n)}_reconstructActiveFormattingElements(){let t=this.activeFormattingElements.entries.length;if(t){let r=this.activeFormattingElements.entries.findIndex(i=>i.type===$t.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(f.P),this.openElements.popUntilTagNamePopped(f.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case f.TR:{this.insertionMode=D.IN_ROW;return}case f.TBODY:case f.THEAD:case f.TFOOT:{this.insertionMode=D.IN_TABLE_BODY;return}case f.CAPTION:{this.insertionMode=D.IN_CAPTION;return}case f.COLGROUP:{this.insertionMode=D.IN_COLUMN_GROUP;return}case f.TABLE:{this.insertionMode=D.IN_TABLE;return}case f.BODY:{this.insertionMode=D.IN_BODY;return}case f.FRAMESET:{this.insertionMode=D.IN_FRAMESET;return}case f.SELECT:{this._resetInsertionModeForSelect(t);return}case f.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case f.HTML:{this.insertionMode=this.headElement?D.AFTER_HEAD:D.BEFORE_HEAD;return}case f.TD:case f.TH:{if(t>0){this.insertionMode=D.IN_CELL;return}break}case f.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===f.TEMPLATE)break;if(n===f.TABLE){this.insertionMode=D.IN_SELECT_IN_TABLE;return}}this.insertionMode=D.IN_SELECT}_isElementCausesFosterParenting(t){return t1.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 f.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===Y.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case f.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 Pl[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){d9(this,t);return}switch(this.insertionMode){case D.INITIAL:{ta(this,t);break}case D.BEFORE_HTML:{na(this,t);break}case D.BEFORE_HEAD:{ia(this,t);break}case D.IN_HEAD:{aa(this,t);break}case D.IN_HEAD_NO_SCRIPT:{sa(this,t);break}case D.AFTER_HEAD:{oa(this,t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:{n1(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:{Ml(this,t);break}case D.IN_TABLE_TEXT:{l1(this,t);break}case D.IN_COLUMN_GROUP:{Xs(this,t);break}case D.AFTER_BODY:{Js(this,t);break}case D.AFTER_AFTER_BODY:{Qs(this,t);break}default:}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){h9(this,t);return}switch(this.insertionMode){case D.INITIAL:{ta(this,t);break}case D.BEFORE_HTML:{na(this,t);break}case D.BEFORE_HEAD:{ia(this,t);break}case D.IN_HEAD:{aa(this,t);break}case D.IN_HEAD_NO_SCRIPT:{sa(this,t);break}case D.AFTER_HEAD:{oa(this,t);break}case D.TEXT:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{Ml(this,t);break}case D.IN_COLUMN_GROUP:{Xs(this,t);break}case D.AFTER_BODY:{Js(this,t);break}case D.AFTER_AFTER_BODY:{Qs(this,t);break}default:}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Fl(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:{Fl(this,t);break}case D.IN_TABLE_TEXT:{ra(this,t);break}case D.AFTER_BODY:{Yy(this,t);break}case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{jy(this,t);break}default:}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case D.INITIAL:{$y(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:{ra(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)?m9(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{ta(this,t);break}case D.BEFORE_HTML:{Gy(this,t);break}case D.BEFORE_HEAD:{Ky(this,t);break}case D.IN_HEAD:{Wt(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Jy(this,t);break}case D.AFTER_HEAD:{eE(this,t);break}case D.IN_BODY:{it(this,t);break}case D.IN_TABLE:{ni(this,t);break}case D.IN_TABLE_TEXT:{ra(this,t);break}case D.IN_CAPTION:{QE(this,t);break}case D.IN_COLUMN_GROUP:{Hl(this,t);break}case D.IN_TABLE_BODY:{to(this,t);break}case D.IN_ROW:{ro(this,t);break}case D.IN_CELL:{ZE(this,t);break}case D.IN_SELECT:{h1(this,t);break}case D.IN_SELECT_IN_TABLE:{t9(this,t);break}case D.IN_TEMPLATE:{n9(this,t);break}case D.AFTER_BODY:{a9(this,t);break}case D.IN_FRAMESET:{s9(this,t);break}case D.AFTER_FRAMESET:{u9(this,t);break}case D.AFTER_AFTER_BODY:{c9(this,t);break}case D.AFTER_AFTER_FRAMESET:{f9(this,t);break}default:}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?p9(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{ta(this,t);break}case D.BEFORE_HTML:{Wy(this,t);break}case D.BEFORE_HEAD:{Qy(this,t);break}case D.IN_HEAD:{Xy(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Zy(this,t);break}case D.AFTER_HEAD:{tE(this,t);break}case D.IN_BODY:{eo(this,t);break}case D.TEXT:{UE(this,t);break}case D.IN_TABLE:{ua(this,t);break}case D.IN_TABLE_TEXT:{ra(this,t);break}case D.IN_CAPTION:{XE(this,t);break}case D.IN_COLUMN_GROUP:{JE(this,t);break}case D.IN_TABLE_BODY:{Bl(this,t);break}case D.IN_ROW:{f1(this,t);break}case D.IN_CELL:{e9(this,t);break}case D.IN_SELECT:{d1(this,t);break}case D.IN_SELECT_IN_TABLE:{r9(this,t);break}case D.IN_TEMPLATE:{i9(this,t);break}case D.AFTER_BODY:{p1(this,t);break}case D.IN_FRAMESET:{o9(this,t);break}case D.AFTER_FRAMESET:{l9(this,t);break}case D.AFTER_AFTER_BODY:{Qs(this,t);break}default:}}onEof(t){switch(this.insertionMode){case D.INITIAL:{ta(this,t);break}case D.BEFORE_HTML:{na(this,t);break}case D.BEFORE_HEAD:{ia(this,t);break}case D.IN_HEAD:{aa(this,t);break}case D.IN_HEAD_NO_SCRIPT:{sa(this,t);break}case D.AFTER_HEAD:{oa(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:{o1(this,t);break}case D.TEXT:{HE(this,t);break}case D.IN_TABLE_TEXT:{ra(this,t);break}case D.IN_TEMPLATE:{m1(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:{Ul(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:{r1(this,t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{Ml(this,t);break}case D.IN_TABLE_TEXT:{u1(this,t);break}default:}}};function By(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):s1(e,t),r}function qy(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 Uy(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>=My;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=Hy(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function Hy(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 zy(e,t,r){let n=e.treeAdapter.getTagName(t),i=jr(n);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(r);else{let a=e.treeAdapter.getNamespaceURI(t);i===f.TEMPLATE&&a===Y.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function Vy(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 ql(e,t){for(let r=0;r<Ry;r++){let n=By(e,t);if(!n)break;let i=qy(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;let a=Uy(e,i,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),s&&zy(e,s,a),Vy(e,i,n)}}function Fl(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Yy(e,t){e._appendCommentNode(t,e.openElements.items[0])}function jy(e,t){e._appendCommentNode(t,e.document)}function Ul(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 $y(e,t){e._setDocumentType(t);let r=t.forceQuirks?nt.QUIRKS:$p(t);jp(t)||e._err(t,z.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=D.BEFORE_HTML}function ta(e,t){e._err(t,z.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,nt.QUIRKS),e.insertionMode=D.BEFORE_HTML,e._processToken(t)}function Gy(e,t){t.tagID===f.HTML?(e._insertElement(t,Y.HTML),e.insertionMode=D.BEFORE_HEAD):na(e,t)}function Wy(e,t){let r=t.tagID;(r===f.HTML||r===f.HEAD||r===f.BODY||r===f.BR)&&na(e,t)}function na(e,t){e._insertFakeRootElement(),e.insertionMode=D.BEFORE_HEAD,e._processToken(t)}function Ky(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.HEAD:{e._insertElement(t,Y.HTML),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD;break}default:ia(e,t)}}function Qy(e,t){let r=t.tagID;r===f.HEAD||r===f.BODY||r===f.HTML||r===f.BR?ia(e,t):e._err(t,z.endTagWithoutMatchingOpenElement)}function ia(e,t){e._insertFakeElement(M.HEAD,f.HEAD),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD,e._processToken(t)}function Wt(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:{e._appendElement(t,Y.HTML),t.ackSelfClosing=!0;break}case f.TITLE:{e._switchToTextParsing(t,Ne.RCDATA);break}case f.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ne.RAWTEXT):(e._insertElement(t,Y.HTML),e.insertionMode=D.IN_HEAD_NO_SCRIPT);break}case f.NOFRAMES:case f.STYLE:{e._switchToTextParsing(t,Ne.RAWTEXT);break}case f.SCRIPT:{e._switchToTextParsing(t,Ne.SCRIPT_DATA);break}case f.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=D.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(D.IN_TEMPLATE);break}case f.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:aa(e,t)}}function Xy(e,t){switch(t.tagID){case f.HEAD:{e.openElements.pop(),e.insertionMode=D.AFTER_HEAD;break}case f.BODY:case f.BR:case f.HTML:{aa(e,t);break}case f.TEMPLATE:{In(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function In(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==f.TEMPLATE&&e._err(t,z.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,z.endTagWithoutMatchingOpenElement)}function aa(e,t){e.openElements.pop(),e.insertionMode=D.AFTER_HEAD,e._processToken(t)}function Jy(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.BASEFONT:case f.BGSOUND:case f.HEAD:case f.LINK:case f.META:case f.NOFRAMES:case f.STYLE:{Wt(e,t);break}case f.NOSCRIPT:{e._err(t,z.nestedNoscriptInHead);break}default:sa(e,t)}}function Zy(e,t){switch(t.tagID){case f.NOSCRIPT:{e.openElements.pop(),e.insertionMode=D.IN_HEAD;break}case f.BR:{sa(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function sa(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 eE(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.BODY:{e._insertElement(t,Y.HTML),e.framesetOk=!1,e.insertionMode=D.IN_BODY;break}case f.FRAMESET:{e._insertElement(t,Y.HTML),e.insertionMode=D.IN_FRAMESET;break}case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{e._err(t,z.abandonedHeadElementChild),e.openElements.push(e.headElement,f.HEAD),Wt(e,t),e.openElements.remove(e.headElement);break}case f.HEAD:{e._err(t,z.misplacedStartTagForHeadElement);break}default:oa(e,t)}}function tE(e,t){switch(t.tagID){case f.BODY:case f.HTML:case f.BR:{oa(e,t);break}case f.TEMPLATE:{In(e,t);break}default:e._err(t,z.endTagWithoutMatchingOpenElement)}}function oa(e,t){e._insertFakeElement(M.BODY,f.BODY),e.insertionMode=D.IN_BODY,Zs(e,t)}function Zs(e,t){switch(t.type){case ye.CHARACTER:{n1(e,t);break}case ye.WHITESPACE_CHARACTER:{r1(e,t);break}case ye.COMMENT:{Fl(e,t);break}case ye.START_TAG:{it(e,t);break}case ye.END_TAG:{eo(e,t);break}case ye.EOF:{o1(e,t);break}default:}}function r1(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function n1(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function rE(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function nE(e,t){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function iE(e,t){let r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Y.HTML),e.insertionMode=D.IN_FRAMESET)}function aE(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Y.HTML)}function sE(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&ri.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Y.HTML)}function oE(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Y.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function uE(e,t){let r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Y.HTML),r||(e.formElement=e.openElements.current))}function lE(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===f.LI&&i===f.LI||(r===f.DD||r===f.DT)&&(i===f.DD||i===f.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==f.ADDRESS&&i!==f.DIV&&i!==f.P&&e._isSpecialElement(e.openElements.items[n],i))break}e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Y.HTML)}function cE(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Y.HTML),e.tokenizer.state=Ne.PLAINTEXT}function fE(e,t){e.openElements.hasInScope(f.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Y.HTML),e.framesetOk=!1}function hE(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(M.A);r&&(ql(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,Y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function dE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function mE(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(f.NOBR)&&(ql(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Y.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function pE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Y.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function gE(e,t){e.treeAdapter.getDocumentMode(e.document)!==nt.QUIRKS&&e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._insertElement(t,Y.HTML),e.framesetOk=!1,e.insertionMode=D.IN_TABLE}function i1(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Y.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function a1(e){let t=Xi(e,ir.TYPE);return t!=null&&t.toLowerCase()===Oy}function bE(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Y.HTML),a1(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function yE(e,t){e._appendElement(t,Y.HTML),t.ackSelfClosing=!0}function EE(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._appendElement(t,Y.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function xE(e,t){t.tagName=M.IMG,t.tagID=f.IMG,i1(e,t)}function TE(e,t){e._insertElement(t,Y.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ne.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=D.TEXT}function vE(e,t){e.openElements.hasInButtonScope(f.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ne.RAWTEXT)}function CE(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ne.RAWTEXT)}function Zp(e,t){e._switchToTextParsing(t,Ne.RAWTEXT)}function AE(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Y.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 wE(e,t){e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Y.HTML)}function kE(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Y.HTML)}function SE(e,t){e.openElements.hasInScope(f.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(f.RTC),e._insertElement(t,Y.HTML)}function DE(e,t){e._reconstructActiveFormattingElements(),Ol(t),Ks(t),t.selfClosing?e._appendElement(t,Y.MATHML):e._insertElement(t,Y.MATHML),t.ackSelfClosing=!0}function IE(e,t){e._reconstructActiveFormattingElements(),Rl(t),Ks(t),t.selfClosing?e._appendElement(t,Y.SVG):e._insertElement(t,Y.SVG),t.ackSelfClosing=!0}function e1(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Y.HTML)}function it(e,t){switch(t.tagID){case f.I:case f.S:case f.B:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.SMALL:case f.STRIKE:case f.STRONG:{dE(e,t);break}case f.A:{hE(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{sE(e,t);break}case f.P:case f.DL:case f.OL:case f.UL:case f.DIV:case f.DIR:case f.NAV:case f.MAIN:case f.MENU:case f.ASIDE:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.DETAILS:case f.ADDRESS:case f.ARTICLE:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{aE(e,t);break}case f.LI:case f.DD:case f.DT:{lE(e,t);break}case f.BR:case f.IMG:case f.WBR:case f.AREA:case f.EMBED:case f.KEYGEN:{i1(e,t);break}case f.HR:{EE(e,t);break}case f.RB:case f.RTC:{kE(e,t);break}case f.RT:case f.RP:{SE(e,t);break}case f.PRE:case f.LISTING:{oE(e,t);break}case f.XMP:{vE(e,t);break}case f.SVG:{IE(e,t);break}case f.HTML:{rE(e,t);break}case f.BASE:case f.LINK:case f.META:case f.STYLE:case f.TITLE:case f.SCRIPT:case f.BGSOUND:case f.BASEFONT:case f.TEMPLATE:{Wt(e,t);break}case f.BODY:{nE(e,t);break}case f.FORM:{uE(e,t);break}case f.NOBR:{mE(e,t);break}case f.MATH:{DE(e,t);break}case f.TABLE:{gE(e,t);break}case f.INPUT:{bE(e,t);break}case f.PARAM:case f.TRACK:case f.SOURCE:{yE(e,t);break}case f.IMAGE:{xE(e,t);break}case f.BUTTON:{fE(e,t);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{pE(e,t);break}case f.IFRAME:{CE(e,t);break}case f.SELECT:{AE(e,t);break}case f.OPTION:case f.OPTGROUP:{wE(e,t);break}case f.NOEMBED:case f.NOFRAMES:{Zp(e,t);break}case f.FRAMESET:{iE(e,t);break}case f.TEXTAREA:{TE(e,t);break}case f.NOSCRIPT:{e.options.scriptingEnabled?Zp(e,t):e1(e,t);break}case f.PLAINTEXT:{cE(e,t);break}case f.COL:case f.TH:case f.TD:case f.TR:case f.HEAD:case f.FRAME:case f.TBODY:case f.TFOOT:case f.THEAD:case f.CAPTION:case f.COLGROUP:break;default:e1(e,t)}}function NE(e,t){if(e.openElements.hasInScope(f.BODY)&&(e.insertionMode=D.AFTER_BODY,e.options.sourceCodeLocationInfo)){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function _E(e,t){e.openElements.hasInScope(f.BODY)&&(e.insertionMode=D.AFTER_BODY,p1(e,t))}function LE(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function PE(e){let t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(f.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(f.FORM):r&&e.openElements.remove(r))}function OE(e){e.openElements.hasInButtonScope(f.P)||e._insertFakeElement(M.P,f.P),e._closePElement()}function RE(e){e.openElements.hasInListItemScope(f.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(f.LI),e.openElements.popUntilTagNamePopped(f.LI))}function ME(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function FE(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function BE(e,t){let r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function qE(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(M.BR,f.BR),e.openElements.pop(),e.framesetOk=!1}function s1(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!==f.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 eo(e,t){switch(t.tagID){case f.A:case f.B:case f.I:case f.S:case f.U:case f.EM:case f.TT:case f.BIG:case f.CODE:case f.FONT:case f.NOBR:case f.SMALL:case f.STRIKE:case f.STRONG:{ql(e,t);break}case f.P:{OE(e);break}case f.DL:case f.UL:case f.OL:case f.DIR:case f.DIV:case f.NAV:case f.PRE:case f.MAIN:case f.MENU:case f.ASIDE:case f.BUTTON:case f.CENTER:case f.FIGURE:case f.FOOTER:case f.HEADER:case f.HGROUP:case f.DIALOG:case f.ADDRESS:case f.ARTICLE:case f.DETAILS:case f.SEARCH:case f.SECTION:case f.SUMMARY:case f.LISTING:case f.FIELDSET:case f.BLOCKQUOTE:case f.FIGCAPTION:{LE(e,t);break}case f.LI:{RE(e);break}case f.DD:case f.DT:{ME(e,t);break}case f.H1:case f.H2:case f.H3:case f.H4:case f.H5:case f.H6:{FE(e);break}case f.BR:{qE(e);break}case f.BODY:{NE(e,t);break}case f.HTML:{_E(e,t);break}case f.FORM:{PE(e);break}case f.APPLET:case f.OBJECT:case f.MARQUEE:{BE(e,t);break}case f.TEMPLATE:{In(e,t);break}default:s1(e,t)}}function o1(e,t){e.tmplInsertionModeStack.length>0?m1(e,t):Ul(e,t)}function UE(e,t){var r;t.tagID===f.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function HE(e,t){e._err(t,z.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Ml(e,t){if(e.openElements.currentTagId!==void 0&&t1.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:{l1(e,t);break}case ye.WHITESPACE_CHARACTER:{u1(e,t);break}}else la(e,t)}function zE(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Y.HTML),e.insertionMode=D.IN_CAPTION}function VE(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Y.HTML),e.insertionMode=D.IN_COLUMN_GROUP}function YE(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.COLGROUP,f.COLGROUP),e.insertionMode=D.IN_COLUMN_GROUP,Hl(e,t)}function jE(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Y.HTML),e.insertionMode=D.IN_TABLE_BODY}function $E(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(M.TBODY,f.TBODY),e.insertionMode=D.IN_TABLE_BODY,to(e,t)}function GE(e,t){e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function WE(e,t){a1(t)?e._appendElement(t,Y.HTML):la(e,t),t.ackSelfClosing=!0}function KE(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Y.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function ni(e,t){switch(t.tagID){case f.TD:case f.TH:case f.TR:{$E(e,t);break}case f.STYLE:case f.SCRIPT:case f.TEMPLATE:{Wt(e,t);break}case f.COL:{YE(e,t);break}case f.FORM:{KE(e,t);break}case f.TABLE:{GE(e,t);break}case f.TBODY:case f.TFOOT:case f.THEAD:{jE(e,t);break}case f.INPUT:{WE(e,t);break}case f.CAPTION:{zE(e,t);break}case f.COLGROUP:{VE(e,t);break}default:la(e,t)}}function ua(e,t){switch(t.tagID){case f.TABLE:{e.openElements.hasInTableScope(f.TABLE)&&(e.openElements.popUntilTagNamePopped(f.TABLE),e._resetInsertionMode());break}case f.TEMPLATE:{In(e,t);break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:la(e,t)}}function la(e,t){let r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Zs(e,t),e.fosterParentingEnabled=r}function u1(e,t){e.pendingCharacterTokens.push(t)}function l1(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ra(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)la(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var c1=new Set([f.CAPTION,f.COL,f.COLGROUP,f.TBODY,f.TD,f.TFOOT,f.TH,f.THEAD,f.TR]);function QE(e,t){let r=t.tagID;c1.has(r)?e.openElements.hasInTableScope(f.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,ni(e,t)):it(e,t)}function XE(e,t){let r=t.tagID;switch(r){case f.CAPTION:case f.TABLE:{e.openElements.hasInTableScope(f.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(f.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,r===f.TABLE&&ua(e,t));break}case f.BODY:case f.COL:case f.COLGROUP:case f.HTML:case f.TBODY:case f.TD:case f.TFOOT:case f.TH:case f.THEAD:case f.TR:break;default:eo(e,t)}}function Hl(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.COL:{e._appendElement(t,Y.HTML),t.ackSelfClosing=!0;break}case f.TEMPLATE:{Wt(e,t);break}default:Xs(e,t)}}function JE(e,t){switch(t.tagID){case f.COLGROUP:{e.openElements.currentTagId===f.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case f.TEMPLATE:{In(e,t);break}case f.COL:break;default:Xs(e,t)}}function Xs(e,t){e.openElements.currentTagId===f.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE,e._processToken(t))}function to(e,t){switch(t.tagID){case f.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Y.HTML),e.insertionMode=D.IN_ROW;break}case f.TH:case f.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(M.TR,f.TR),e.insertionMode=D.IN_ROW,ro(e,t);break}case f.CAPTION:case f.COL:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,ni(e,t));break}default:ni(e,t)}}function Bl(e,t){let r=t.tagID;switch(t.tagID){case f.TBODY:case f.TFOOT:case f.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case f.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,ua(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TD:case f.TH:case f.TR:break;default:ua(e,t)}}function ro(e,t){switch(t.tagID){case f.TH:case f.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Y.HTML),e.insertionMode=D.IN_CELL,e.activeFormattingElements.insertMarker();break}case f.CAPTION:case f.COL:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,to(e,t));break}default:ni(e,t)}}function f1(e,t){switch(t.tagID){case f.TR:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY);break}case f.TABLE:{e.openElements.hasInTableScope(f.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Bl(e,t));break}case f.TBODY:case f.TFOOT:case f.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(f.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,Bl(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:case f.TD:case f.TH:break;default:ua(e,t)}}function ZE(e,t){let r=t.tagID;c1.has(r)?(e.openElements.hasInTableScope(f.TD)||e.openElements.hasInTableScope(f.TH))&&(e._closeTableCell(),ro(e,t)):it(e,t)}function e9(e,t){let r=t.tagID;switch(r){case f.TD:case f.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_ROW);break}case f.TABLE:case f.TBODY:case f.TFOOT:case f.THEAD:case f.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),f1(e,t));break}case f.BODY:case f.CAPTION:case f.COL:case f.COLGROUP:case f.HTML:break;default:eo(e,t)}}function h1(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.OPTION:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e._insertElement(t,Y.HTML);break}case f.OPTGROUP:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Y.HTML);break}case f.HR:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Y.HTML),t.ackSelfClosing=!0;break}case f.INPUT:case f.KEYGEN:case f.TEXTAREA:case f.SELECT:{e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),t.tagID!==f.SELECT&&e._processStartTag(t));break}case f.SCRIPT:case f.TEMPLATE:{Wt(e,t);break}default:}}function d1(e,t){switch(t.tagID){case f.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===f.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===f.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===f.OPTGROUP&&e.openElements.pop();break}case f.OPTION:{e.openElements.currentTagId===f.OPTION&&e.openElements.pop();break}case f.SELECT:{e.openElements.hasInSelectScope(f.SELECT)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode());break}case f.TEMPLATE:{In(e,t);break}default:}}function t9(e,t){let r=t.tagID;r===f.CAPTION||r===f.TABLE||r===f.TBODY||r===f.TFOOT||r===f.THEAD||r===f.TR||r===f.TD||r===f.TH?(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e._processStartTag(t)):h1(e,t)}function r9(e,t){let r=t.tagID;r===f.CAPTION||r===f.TABLE||r===f.TBODY||r===f.TFOOT||r===f.THEAD||r===f.TR||r===f.TD||r===f.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(f.SELECT),e._resetInsertionMode(),e.onEndTag(t)):d1(e,t)}function n9(e,t){switch(t.tagID){case f.BASE:case f.BASEFONT:case f.BGSOUND:case f.LINK:case f.META:case f.NOFRAMES:case f.SCRIPT:case f.STYLE:case f.TEMPLATE:case f.TITLE:{Wt(e,t);break}case f.CAPTION:case f.COLGROUP:case f.TBODY:case f.TFOOT:case f.THEAD:{e.tmplInsertionModeStack[0]=D.IN_TABLE,e.insertionMode=D.IN_TABLE,ni(e,t);break}case f.COL:{e.tmplInsertionModeStack[0]=D.IN_COLUMN_GROUP,e.insertionMode=D.IN_COLUMN_GROUP,Hl(e,t);break}case f.TR:{e.tmplInsertionModeStack[0]=D.IN_TABLE_BODY,e.insertionMode=D.IN_TABLE_BODY,to(e,t);break}case f.TD:case f.TH:{e.tmplInsertionModeStack[0]=D.IN_ROW,e.insertionMode=D.IN_ROW,ro(e,t);break}default:e.tmplInsertionModeStack[0]=D.IN_BODY,e.insertionMode=D.IN_BODY,it(e,t)}}function i9(e,t){t.tagID===f.TEMPLATE&&In(e,t)}function m1(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(f.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ul(e,t)}function a9(e,t){t.tagID===f.HTML?it(e,t):Js(e,t)}function p1(e,t){var r;if(t.tagID===f.HTML){if(e.fragmentContext||(e.insertionMode=D.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===f.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 Js(e,t)}function Js(e,t){e.insertionMode=D.IN_BODY,Zs(e,t)}function s9(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.FRAMESET:{e._insertElement(t,Y.HTML);break}case f.FRAME:{e._appendElement(t,Y.HTML),t.ackSelfClosing=!0;break}case f.NOFRAMES:{Wt(e,t);break}default:}}function o9(e,t){t.tagID===f.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==f.FRAMESET&&(e.insertionMode=D.AFTER_FRAMESET))}function u9(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.NOFRAMES:{Wt(e,t);break}default:}}function l9(e,t){t.tagID===f.HTML&&(e.insertionMode=D.AFTER_AFTER_FRAMESET)}function c9(e,t){t.tagID===f.HTML?it(e,t):Qs(e,t)}function Qs(e,t){e.insertionMode=D.IN_BODY,Zs(e,t)}function f9(e,t){switch(t.tagID){case f.HTML:{it(e,t);break}case f.NOFRAMES:{Wt(e,t);break}default:}}function h9(e,t){t.chars=Ie,e._insertCharacters(t)}function d9(e,t){e._insertCharacters(t),e.framesetOk=!1}function g1(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Y.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function m9(e,t){if(Wp(t))g1(e),e._startTagOutsideForeignContent(t);else{let r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===Y.MATHML?Ol(t):n===Y.SVG&&(Kp(t),Rl(t)),Ks(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function p9(e,t){if(t.tagID===f.P||t.tagID===f.BR){g1(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)===Y.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 XR=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 iM=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 b1(e,t){return kr.parse(e,t)}function y1(e,t,r){typeof e=="string"&&(r=t,t=e,e=null);let n=kr.getFragmentParser(e,r);return n.tokenizer.write(t,!0),n.getFragment()}function Gr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?E1(e.position):"start"in e||"end"in e?E1(e):"line"in e||"column"in e?zl(e):""}function zl(e){return x1(e&&e.line)+":"+x1(e&&e.column)}function E1(e){return zl(e&&e.start)+"-"+zl(e&&e.end)}function x1(e){return e&&typeof e=="number"?e:1}var Ve=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=Gr(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}};Ve.prototype.file="";Ve.prototype.name="";Ve.prototype.reason="";Ve.prototype.message="";Ve.prototype.stack="";Ve.prototype.column=void 0;Ve.prototype.line=void 0;Ve.prototype.ancestors=void 0;Ve.prototype.cause=void 0;Ve.prototype.fatal=void 0;Ve.prototype.place=void 0;Ve.prototype.ruleId=void 0;Ve.prototype.source=void 0;var Mt=De(require("node:path"),1);var Vl=De(require("node:process"),1);var Yl=require("node:url");function no(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}var jl=["history","path","basename","stem","extname","dirname"],Wr=class{constructor(t){let r;t?no(t)?r={path:t}:typeof t=="string"||g9(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Vl.default.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<jl.length;){let a=jl[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)jl.includes(i)||(this[i]=r[i])}get basename(){return typeof this.path=="string"?Mt.default.basename(this.path):void 0}set basename(t){Gl(t,"basename"),$l(t,"basename"),this.path=Mt.default.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Mt.default.dirname(this.path):void 0}set dirname(t){T1(this.basename,"dirname"),this.path=Mt.default.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Mt.default.extname(this.path):void 0}set extname(t){if($l(t,"extname"),T1(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=Mt.default.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){no(t)&&(t=(0,Yl.fileURLToPath)(t)),Gl(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Mt.default.basename(this.path,this.extname):void 0}set stem(t){Gl(t,"stem"),$l(t,"stem"),this.path=Mt.default.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 Ve(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 $l(e,t){if(e&&e.includes(Mt.default.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Mt.default.sep+"`")}function Gl(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function T1(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function g9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var v1={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 b9="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",y9=/-[a-z]/g,E9=/%c(?:([-+])(\d+))?/g,x9=/%x/g,T9={2:!0,1:!1,0:null},v9={};function Wl(e,t){let r=t||v9,n=r.onerror,i=e instanceof Wr?e:new Wr(e),a=r.fragment?y1:b1,s=String(i),o=a(s,{sourceCodeLocationInfo:!0,onParseError:r.onerror?u:null,scriptingEnabled:!1});return Qi(o,{file:i,space:r.space,verbose:r.verbose});function u(l){let c=l.code,h=C9(c),m=r[h],p=m??!0,y=typeof p=="number"?p:p?1:0;if(y){let x=v1[h];let v=new Ve(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=T9[y],v.note=E(x.description),v.url=x.url===!1?void 0:b9+c,n(v)}function E(x){return x.replace(E9,v).replace(x9,w);function v(I,B,q){let _=(q?Number.parseInt(q,10):0)*(B==="-"?-1:1),U=s.charAt(l.startOffset+_);return w9(U)}function w(){return k9(s.charCodeAt(l.startOffset))}}}}function C9(e){return e.replace(y9,A9)}function A9(e){return e.charAt(1).toUpperCase()}function w9(e){return e==="`"?"` ` `":e}function k9(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),jt(e,a,o,i);function o(u,l){let c=l[l.length-1],h=c?c.children.indexOf(u):void 0;return s(u,h,c)}}function Kl(e,t){let n=(t||{}).force||!1;Kt(e,i);function i(a){n?delete a.position:a.position=void 0}}function Ql(e,t){let r=Wl(e,t);return Kl(r,{force:!0}),delete r.data,r}var io=(function(e,t,r){let n=Pt(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 C1=/\n/g,A1=/[\t ]+/g,Xl=dt("br"),w1=dt(P9),S9=dt("p"),k1=dt("tr"),D9=dt(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",L9,O9]),S1=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 Jl(e,t){let r=t||{},n="children"in e?e.children:[],i=S1(e),a=N1(e,{whitespace:r.whitespace||"normal",breakBefore:!1,breakAfter:!1}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...I1(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...D1(n[o],e,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<n.length-1?Xl(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(`
151
+ `.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function D1(e,t,r){return e.type==="element"?I9(e,t,r):e.type==="text"?r.whitespace==="normal"?I1(e,r):N9(e):[]}function I9(e,t,r){let n=N1(e,r),i=e.children||[],a=-1,s=[];if(D9(e))return s;let o,u;for(Xl(e)||k1(e)&&io(t,e,k1)?u=`
152
+ `:S9(e)?(o=2,u=2):S1(e)&&(o=1,u=1);++a<i.length;)s=s.concat(D1(i[a],e,{whitespace:n,breakBefore:a?void 0:o,breakAfter:a<i.length-1?Xl(i[a+1]):u}));return w1(e)&&io(t,e,w1)&&s.push(" "),o&&s.unshift(o),u&&s.push(u),s}function I1(e,t){let r=String(e.value),n=[],i=[],a=0;for(;a<=r.length;){C1.lastIndex=a;let u=C1.exec(r),l=u&&"index"in u?u.index:r.length;n.push(_9(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 N9(e){return[String(e.value)]}function _9(e,t,r){let n=[],i=0,a;for(;i<e.length;){A1.lastIndex=i;let s=A1.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 N1(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 L9(e){return!!(e.properties||{}).hidden}function P9(e){return e.tagName==="td"||e.tagName==="th"}function O9(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}},R9=/([A-Z])/g,M9=e=>e.replace(R9,"-$1").toLowerCase(),F9={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},B9=/[&><"']/g,st=e=>String(e).replace(B9,t=>F9[t]),go=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?go(e.body[0]):e:e.type==="font"?go(e.body):e,q9=new Set(["mathord","textord","atom"]),Nr=e=>q9.has(go(e).type),U9=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*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 H9(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 z9(e){if(e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return H9(t)}function V9(e,t,r,n){var i=r[t];e[t]=i!==void 0?n.processor?n.processor(i):i:z9(n)}var ma=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&&V9(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=U9(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[Y9[this.id]]}sub(){return sr[j9[this.id]]}fracNum(){return sr[$9[this.id]]}fracDen(){return sr[G9[this.id]]}cramp(){return sr[W9[this.id]]}text(){return sr[K9[this.id]]}isTight(){return this.size>=2}},Oc=0,yo=1,ai=2,Ir=3,pa=4,Ft=5,si=6,gt=7,sr=[new ar(Oc,0,!1),new ar(yo,0,!0),new ar(ai,1,!1),new ar(Ir,1,!0),new ar(pa,2,!1),new ar(Ft,2,!0),new ar(si,3,!1),new ar(gt,3,!0)],Y9=[pa,Ft,pa,Ft,si,gt,si,gt],j9=[Ft,Ft,Ft,Ft,gt,gt,gt,gt],$9=[ai,Ir,pa,Ft,si,gt,si,gt],G9=[Ir,Ir,Ft,Ft,gt,gt,gt,gt],W9=[yo,yo,Ir,Ir,Ft,Ft,gt,gt],K9=[Oc,yo,ai,Ir,ai,Ir,ai,Ir],pe={DISPLAY:sr[Oc],TEXT:sr[ai],SCRIPT:sr[pa],SCRIPTSCRIPT:sr[si]},mc=[{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 Q9(e){for(var t=0;t<mc.length;t++)for(var r=mc[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 bo=[];mc.forEach(e=>e.blocks.forEach(t=>bo.push(...t)));function hg(e){for(var t=0;t<bo.length;t+=2)if(e>=bo[t]&&e<=bo[t+1])return!0;return!1}var Ge=e=>e+" "+e,ii=80,X9=function(t,r){return"M95,"+(622+t+r)+`
153
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
154
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
155
+ 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
156
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
157
+ c69,-144,104.5,-217.7,106.5,-221
158
+ l`+t/2.075+" -"+t+`
159
+ c5.3,-9.3,12,-14,20,-14
160
+ H400000v`+(40+t)+`H845.2724
161
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
162
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
163
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},J9=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
164
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
165
+ c340,-704.7,510.7,-1060.3,512,-1067
166
+ l`+t/2.084+" -"+t+`
167
+ c4.7,-7.3,11,-11,19,-11
168
+ H40000v`+(40+t)+`H1012.3
169
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
170
+ 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
171
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
172
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
173
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Z9=function(t,r){return"M983 "+(10+t+r)+`
174
+ l`+t/3.13+" -"+t+`
175
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
176
+ 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
177
+ 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
178
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
179
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
180
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
181
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
182
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},ex=function(t,r){return"M424,"+(2398+t+r)+`
183
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
184
+ 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
185
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
186
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
187
+ l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
188
+ v`+(40+t)+`H1014.6
189
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
190
+ c-2,6,-10,9,-24,9
191
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
192
+ h400000v`+(40+t)+"h-400000z"},tx=function(t,r){return"M473,"+(2713+t+r)+`
193
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
194
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
195
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
196
+ 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
197
+ 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
198
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
199
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},rx=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},nx=function(t,r,n){var i=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
200
+ 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
201
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
202
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
203
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},ix=function(t,r,n){r=1e3*r;var i="";switch(t){case"sqrtMain":i=X9(r,ii);break;case"sqrtSize1":i=J9(r,ii);break;case"sqrtSize2":i=Z9(r,ii);break;case"sqrtSize3":i=ex(r,ii);break;case"sqrtSize4":i=tx(r,ii);break;case"sqrtTall":i=nx(r,ii,n)}return i},ax=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""}},_1={doubleleftarrow:`M262 157
204
+ 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
205
+ 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
206
+ 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
207
+ 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
208
+ 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
209
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
210
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
211
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
212
+ -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
213
+ 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
214
+ -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
215
+ -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
216
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
217
+ 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
218
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
219
+ 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
220
+ -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
221
+ 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
222
+ 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
223
+ 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
224
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
225
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
226
+ 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
227
+ 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
228
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
229
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
230
+ 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
231
+ 435 0h399565z`,leftgroupunder:`M400000 262
232
+ 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
233
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
234
+ -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
235
+ -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
236
+ -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
237
+ 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
238
+ -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
239
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
240
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
241
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
242
+ 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
243
+ -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
244
+ 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
245
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
246
+ 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
247
+ -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
248
+ -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
249
+ 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
250
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
251
+ 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
252
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Ge("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
253
+ 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
254
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
255
+ 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
256
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
257
+ 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
258
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
259
+ 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
260
+ -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
261
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
262
+ 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
263
+ 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
264
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
265
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
266
+ 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
267
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
268
+ 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
269
+ 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
270
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
271
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
272
+ 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
273
+ -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
274
+ 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
275
+ 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
276
+ -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
277
+ -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
278
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
279
+ -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
280
+ 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
281
+ 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
282
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
283
+ -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
284
+ 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
285
+ 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
286
+ -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
287
+ -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
288
+ 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
289
+ -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
290
+ 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
291
+ 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
292
+ 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
293
+ -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
294
+ -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
295
+ 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
296
+ 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
297
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
298
+ 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
299
+ 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
300
+ -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
301
+ 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
302
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
303
+ -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
304
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
305
+ 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
306
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
307
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
308
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
309
+ 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
310
+ 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
311
+ 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
312
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
313
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
314
+ 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
315
+ -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
316
+ 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
317
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
318
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
319
+ -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
320
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
321
+ 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
322
+ 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
323
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
324
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
325
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
326
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
327
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
328
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
329
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
330
+ -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
331
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
332
+ 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
333
+ -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
334
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
335
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
336
+ 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
337
+ 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
338
+ -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
339
+ -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
340
+ -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,
341
+ -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,
342
+ -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,
343
+ -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,
344
+ -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
345
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
346
+ 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
347
+ 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
348
+ 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
349
+ 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
350
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
351
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
352
+ -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
353
+ 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
354
+ -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
355
+ -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
356
+ -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
357
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
358
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
359
+ 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
360
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
361
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
362
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
363
+ 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,
364
+ -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
365
+ 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
366
+ 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
367
+ 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,
368
+ 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,
369
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
370
+ 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
371
+ 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,
372
+ -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
373
+ 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
374
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},sx=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 v84 h347 v-84
375
+ 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
376
+ 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
377
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
378
+ 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
379
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
380
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
381
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
382
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
383
+ 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
384
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
385
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
386
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
387
+ 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
388
+ 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,
389
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
390
+ 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
391
+ 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,
392
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
393
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
394
+ -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,
395
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
396
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
397
+ 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
398
+ 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
399
+ 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
400
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
401
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
402
+ -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 ox(e){return"toText"in e}var Xr=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(ox(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}},pc={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},ux={ex:!0,em:!0,mu:!0},dg=function(t){return typeof t!="string"&&(t=t.unit),t in pc||t in ux||t==="ex"},Re=function(t,r){var n;if(t.unit in pc)n=pc[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"},Jr=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+=M9(n)+":"+i+";")}return r},mg=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)}},pg=function(t){var r=document.createElement(t);r.className=Jr(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},lx=/[\s"'>/=\x00-\x1f]/,gg=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+st(Jr(this.classes))+'"');var n=Rc(this.style);n&&(r+=' style="'+st(n)+'"');for(var i of Object.keys(this.attributes)){if(lx.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},Zr=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,mg.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return pg.call(this,"span")}toMarkup(){return gg.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,mg.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 pg.call(this,"a")}toMarkup(){return gg.call(this,"a")}},gc=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}},cx={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},bt=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=Q9(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=cx[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=Jr(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(Jr(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",_1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+st(this.alternate)+'"/>':'<path d="'+st(_1[this.pathName])+'"/>'}},ga=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 fx(e){if(e instanceof bt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function hx(e){if(e instanceof Zr)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var dx=e=>e instanceof Zr||e instanceof oi||e instanceof Xr,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]}},ao={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]},L1={\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 mx(e,t){or[e]=t}function Mc(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 L1&&(n=L1[e[0]].charCodeAt(0),i=or[t][n]),!i&&r==="text"&&hg(n)&&(i=or[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Zl={};function px(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Zl[t]){var r=Zl[t]={cssEmPerMu:ao.quad[t]/18};for(var n in ao)ao.hasOwnProperty(n)&&(r[n]=ao[n][t])}return Zl[t]}var _e={math:{},text:{}};function d(e,t,r,n,i,a){_e[e][i]={font:t,group:r,replace:n},a&&n&&(_e[e][n]=_e[e][i])}var g="math",$="text",b="main",k="ams",Le="accent-token",ae="bin",yt="close",ci="inner",le="mathord",je="op-token",Dt="open",ya="punct",S="rel",_r="spacing",P="textord";d(g,b,S,"\u2261","\\equiv",!0);d(g,b,S,"\u227A","\\prec",!0);d(g,b,S,"\u227B","\\succ",!0);d(g,b,S,"\u223C","\\sim",!0);d(g,b,S,"\u22A5","\\perp");d(g,b,S,"\u2AAF","\\preceq",!0);d(g,b,S,"\u2AB0","\\succeq",!0);d(g,b,S,"\u2243","\\simeq",!0);d(g,b,S,"\u2223","\\mid",!0);d(g,b,S,"\u226A","\\ll",!0);d(g,b,S,"\u226B","\\gg",!0);d(g,b,S,"\u224D","\\asymp",!0);d(g,b,S,"\u2225","\\parallel");d(g,b,S,"\u22C8","\\bowtie",!0);d(g,b,S,"\u2323","\\smile",!0);d(g,b,S,"\u2291","\\sqsubseteq",!0);d(g,b,S,"\u2292","\\sqsupseteq",!0);d(g,b,S,"\u2250","\\doteq",!0);d(g,b,S,"\u2322","\\frown",!0);d(g,b,S,"\u220B","\\ni",!0);d(g,b,S,"\u221D","\\propto",!0);d(g,b,S,"\u22A2","\\vdash",!0);d(g,b,S,"\u22A3","\\dashv",!0);d(g,b,S,"\u220B","\\owns");d(g,b,ya,".","\\ldotp");d(g,b,ya,"\u22C5","\\cdotp");d(g,b,ya,"\u22C5","\xB7");d($,b,P,"\u22C5","\xB7");d(g,b,P,"#","\\#");d($,b,P,"#","\\#");d(g,b,P,"&","\\&");d($,b,P,"&","\\&");d(g,b,P,"\u2135","\\aleph",!0);d(g,b,P,"\u2200","\\forall",!0);d(g,b,P,"\u210F","\\hbar",!0);d(g,b,P,"\u2203","\\exists",!0);d(g,b,P,"\u2207","\\nabla",!0);d(g,b,P,"\u266D","\\flat",!0);d(g,b,P,"\u2113","\\ell",!0);d(g,b,P,"\u266E","\\natural",!0);d(g,b,P,"\u2663","\\clubsuit",!0);d(g,b,P,"\u2118","\\wp",!0);d(g,b,P,"\u266F","\\sharp",!0);d(g,b,P,"\u2662","\\diamondsuit",!0);d(g,b,P,"\u211C","\\Re",!0);d(g,b,P,"\u2661","\\heartsuit",!0);d(g,b,P,"\u2111","\\Im",!0);d(g,b,P,"\u2660","\\spadesuit",!0);d(g,b,P,"\xA7","\\S",!0);d($,b,P,"\xA7","\\S");d(g,b,P,"\xB6","\\P",!0);d($,b,P,"\xB6","\\P");d(g,b,P,"\u2020","\\dag");d($,b,P,"\u2020","\\dag");d($,b,P,"\u2020","\\textdagger");d(g,b,P,"\u2021","\\ddag");d($,b,P,"\u2021","\\ddag");d($,b,P,"\u2021","\\textdaggerdbl");d(g,b,yt,"\u23B1","\\rmoustache",!0);d(g,b,Dt,"\u23B0","\\lmoustache",!0);d(g,b,yt,"\u27EF","\\rgroup",!0);d(g,b,Dt,"\u27EE","\\lgroup",!0);d(g,b,ae,"\u2213","\\mp",!0);d(g,b,ae,"\u2296","\\ominus",!0);d(g,b,ae,"\u228E","\\uplus",!0);d(g,b,ae,"\u2293","\\sqcap",!0);d(g,b,ae,"\u2217","\\ast");d(g,b,ae,"\u2294","\\sqcup",!0);d(g,b,ae,"\u25EF","\\bigcirc",!0);d(g,b,ae,"\u2219","\\bullet",!0);d(g,b,ae,"\u2021","\\ddagger");d(g,b,ae,"\u2240","\\wr",!0);d(g,b,ae,"\u2A3F","\\amalg");d(g,b,ae,"&","\\And");d(g,b,S,"\u27F5","\\longleftarrow",!0);d(g,b,S,"\u21D0","\\Leftarrow",!0);d(g,b,S,"\u27F8","\\Longleftarrow",!0);d(g,b,S,"\u27F6","\\longrightarrow",!0);d(g,b,S,"\u21D2","\\Rightarrow",!0);d(g,b,S,"\u27F9","\\Longrightarrow",!0);d(g,b,S,"\u2194","\\leftrightarrow",!0);d(g,b,S,"\u27F7","\\longleftrightarrow",!0);d(g,b,S,"\u21D4","\\Leftrightarrow",!0);d(g,b,S,"\u27FA","\\Longleftrightarrow",!0);d(g,b,S,"\u21A6","\\mapsto",!0);d(g,b,S,"\u27FC","\\longmapsto",!0);d(g,b,S,"\u2197","\\nearrow",!0);d(g,b,S,"\u21A9","\\hookleftarrow",!0);d(g,b,S,"\u21AA","\\hookrightarrow",!0);d(g,b,S,"\u2198","\\searrow",!0);d(g,b,S,"\u21BC","\\leftharpoonup",!0);d(g,b,S,"\u21C0","\\rightharpoonup",!0);d(g,b,S,"\u2199","\\swarrow",!0);d(g,b,S,"\u21BD","\\leftharpoondown",!0);d(g,b,S,"\u21C1","\\rightharpoondown",!0);d(g,b,S,"\u2196","\\nwarrow",!0);d(g,b,S,"\u21CC","\\rightleftharpoons",!0);d(g,k,S,"\u226E","\\nless",!0);d(g,k,S,"\uE010","\\@nleqslant");d(g,k,S,"\uE011","\\@nleqq");d(g,k,S,"\u2A87","\\lneq",!0);d(g,k,S,"\u2268","\\lneqq",!0);d(g,k,S,"\uE00C","\\@lvertneqq");d(g,k,S,"\u22E6","\\lnsim",!0);d(g,k,S,"\u2A89","\\lnapprox",!0);d(g,k,S,"\u2280","\\nprec",!0);d(g,k,S,"\u22E0","\\npreceq",!0);d(g,k,S,"\u22E8","\\precnsim",!0);d(g,k,S,"\u2AB9","\\precnapprox",!0);d(g,k,S,"\u2241","\\nsim",!0);d(g,k,S,"\uE006","\\@nshortmid");d(g,k,S,"\u2224","\\nmid",!0);d(g,k,S,"\u22AC","\\nvdash",!0);d(g,k,S,"\u22AD","\\nvDash",!0);d(g,k,S,"\u22EA","\\ntriangleleft");d(g,k,S,"\u22EC","\\ntrianglelefteq",!0);d(g,k,S,"\u228A","\\subsetneq",!0);d(g,k,S,"\uE01A","\\@varsubsetneq");d(g,k,S,"\u2ACB","\\subsetneqq",!0);d(g,k,S,"\uE017","\\@varsubsetneqq");d(g,k,S,"\u226F","\\ngtr",!0);d(g,k,S,"\uE00F","\\@ngeqslant");d(g,k,S,"\uE00E","\\@ngeqq");d(g,k,S,"\u2A88","\\gneq",!0);d(g,k,S,"\u2269","\\gneqq",!0);d(g,k,S,"\uE00D","\\@gvertneqq");d(g,k,S,"\u22E7","\\gnsim",!0);d(g,k,S,"\u2A8A","\\gnapprox",!0);d(g,k,S,"\u2281","\\nsucc",!0);d(g,k,S,"\u22E1","\\nsucceq",!0);d(g,k,S,"\u22E9","\\succnsim",!0);d(g,k,S,"\u2ABA","\\succnapprox",!0);d(g,k,S,"\u2246","\\ncong",!0);d(g,k,S,"\uE007","\\@nshortparallel");d(g,k,S,"\u2226","\\nparallel",!0);d(g,k,S,"\u22AF","\\nVDash",!0);d(g,k,S,"\u22EB","\\ntriangleright");d(g,k,S,"\u22ED","\\ntrianglerighteq",!0);d(g,k,S,"\uE018","\\@nsupseteqq");d(g,k,S,"\u228B","\\supsetneq",!0);d(g,k,S,"\uE01B","\\@varsupsetneq");d(g,k,S,"\u2ACC","\\supsetneqq",!0);d(g,k,S,"\uE019","\\@varsupsetneqq");d(g,k,S,"\u22AE","\\nVdash",!0);d(g,k,S,"\u2AB5","\\precneqq",!0);d(g,k,S,"\u2AB6","\\succneqq",!0);d(g,k,S,"\uE016","\\@nsubseteqq");d(g,k,ae,"\u22B4","\\unlhd");d(g,k,ae,"\u22B5","\\unrhd");d(g,k,S,"\u219A","\\nleftarrow",!0);d(g,k,S,"\u219B","\\nrightarrow",!0);d(g,k,S,"\u21CD","\\nLeftarrow",!0);d(g,k,S,"\u21CF","\\nRightarrow",!0);d(g,k,S,"\u21AE","\\nleftrightarrow",!0);d(g,k,S,"\u21CE","\\nLeftrightarrow",!0);d(g,k,S,"\u25B3","\\vartriangle");d(g,k,P,"\u210F","\\hslash");d(g,k,P,"\u25BD","\\triangledown");d(g,k,P,"\u25CA","\\lozenge");d(g,k,P,"\u24C8","\\circledS");d(g,k,P,"\xAE","\\circledR");d($,k,P,"\xAE","\\circledR");d(g,k,P,"\u2221","\\measuredangle",!0);d(g,k,P,"\u2204","\\nexists");d(g,k,P,"\u2127","\\mho");d(g,k,P,"\u2132","\\Finv",!0);d(g,k,P,"\u2141","\\Game",!0);d(g,k,P,"\u2035","\\backprime");d(g,k,P,"\u25B2","\\blacktriangle");d(g,k,P,"\u25BC","\\blacktriangledown");d(g,k,P,"\u25A0","\\blacksquare");d(g,k,P,"\u29EB","\\blacklozenge");d(g,k,P,"\u2605","\\bigstar");d(g,k,P,"\u2222","\\sphericalangle",!0);d(g,k,P,"\u2201","\\complement",!0);d(g,k,P,"\xF0","\\eth",!0);d($,b,P,"\xF0","\xF0");d(g,k,P,"\u2571","\\diagup");d(g,k,P,"\u2572","\\diagdown");d(g,k,P,"\u25A1","\\square");d(g,k,P,"\u25A1","\\Box");d(g,k,P,"\u25CA","\\Diamond");d(g,k,P,"\xA5","\\yen",!0);d($,k,P,"\xA5","\\yen",!0);d(g,k,P,"\u2713","\\checkmark",!0);d($,k,P,"\u2713","\\checkmark");d(g,k,P,"\u2136","\\beth",!0);d(g,k,P,"\u2138","\\daleth",!0);d(g,k,P,"\u2137","\\gimel",!0);d(g,k,P,"\u03DD","\\digamma",!0);d(g,k,P,"\u03F0","\\varkappa");d(g,k,Dt,"\u250C","\\@ulcorner",!0);d(g,k,yt,"\u2510","\\@urcorner",!0);d(g,k,Dt,"\u2514","\\@llcorner",!0);d(g,k,yt,"\u2518","\\@lrcorner",!0);d(g,k,S,"\u2266","\\leqq",!0);d(g,k,S,"\u2A7D","\\leqslant",!0);d(g,k,S,"\u2A95","\\eqslantless",!0);d(g,k,S,"\u2272","\\lesssim",!0);d(g,k,S,"\u2A85","\\lessapprox",!0);d(g,k,S,"\u224A","\\approxeq",!0);d(g,k,ae,"\u22D6","\\lessdot");d(g,k,S,"\u22D8","\\lll",!0);d(g,k,S,"\u2276","\\lessgtr",!0);d(g,k,S,"\u22DA","\\lesseqgtr",!0);d(g,k,S,"\u2A8B","\\lesseqqgtr",!0);d(g,k,S,"\u2251","\\doteqdot");d(g,k,S,"\u2253","\\risingdotseq",!0);d(g,k,S,"\u2252","\\fallingdotseq",!0);d(g,k,S,"\u223D","\\backsim",!0);d(g,k,S,"\u22CD","\\backsimeq",!0);d(g,k,S,"\u2AC5","\\subseteqq",!0);d(g,k,S,"\u22D0","\\Subset",!0);d(g,k,S,"\u228F","\\sqsubset",!0);d(g,k,S,"\u227C","\\preccurlyeq",!0);d(g,k,S,"\u22DE","\\curlyeqprec",!0);d(g,k,S,"\u227E","\\precsim",!0);d(g,k,S,"\u2AB7","\\precapprox",!0);d(g,k,S,"\u22B2","\\vartriangleleft");d(g,k,S,"\u22B4","\\trianglelefteq");d(g,k,S,"\u22A8","\\vDash",!0);d(g,k,S,"\u22AA","\\Vvdash",!0);d(g,k,S,"\u2323","\\smallsmile");d(g,k,S,"\u2322","\\smallfrown");d(g,k,S,"\u224F","\\bumpeq",!0);d(g,k,S,"\u224E","\\Bumpeq",!0);d(g,k,S,"\u2267","\\geqq",!0);d(g,k,S,"\u2A7E","\\geqslant",!0);d(g,k,S,"\u2A96","\\eqslantgtr",!0);d(g,k,S,"\u2273","\\gtrsim",!0);d(g,k,S,"\u2A86","\\gtrapprox",!0);d(g,k,ae,"\u22D7","\\gtrdot");d(g,k,S,"\u22D9","\\ggg",!0);d(g,k,S,"\u2277","\\gtrless",!0);d(g,k,S,"\u22DB","\\gtreqless",!0);d(g,k,S,"\u2A8C","\\gtreqqless",!0);d(g,k,S,"\u2256","\\eqcirc",!0);d(g,k,S,"\u2257","\\circeq",!0);d(g,k,S,"\u225C","\\triangleq",!0);d(g,k,S,"\u223C","\\thicksim");d(g,k,S,"\u2248","\\thickapprox");d(g,k,S,"\u2AC6","\\supseteqq",!0);d(g,k,S,"\u22D1","\\Supset",!0);d(g,k,S,"\u2290","\\sqsupset",!0);d(g,k,S,"\u227D","\\succcurlyeq",!0);d(g,k,S,"\u22DF","\\curlyeqsucc",!0);d(g,k,S,"\u227F","\\succsim",!0);d(g,k,S,"\u2AB8","\\succapprox",!0);d(g,k,S,"\u22B3","\\vartriangleright");d(g,k,S,"\u22B5","\\trianglerighteq");d(g,k,S,"\u22A9","\\Vdash",!0);d(g,k,S,"\u2223","\\shortmid");d(g,k,S,"\u2225","\\shortparallel");d(g,k,S,"\u226C","\\between",!0);d(g,k,S,"\u22D4","\\pitchfork",!0);d(g,k,S,"\u221D","\\varpropto");d(g,k,S,"\u25C0","\\blacktriangleleft");d(g,k,S,"\u2234","\\therefore",!0);d(g,k,S,"\u220D","\\backepsilon");d(g,k,S,"\u25B6","\\blacktriangleright");d(g,k,S,"\u2235","\\because",!0);d(g,k,S,"\u22D8","\\llless");d(g,k,S,"\u22D9","\\gggtr");d(g,k,ae,"\u22B2","\\lhd");d(g,k,ae,"\u22B3","\\rhd");d(g,k,S,"\u2242","\\eqsim",!0);d(g,b,S,"\u22C8","\\Join");d(g,k,S,"\u2251","\\Doteq",!0);d(g,k,ae,"\u2214","\\dotplus",!0);d(g,k,ae,"\u2216","\\smallsetminus");d(g,k,ae,"\u22D2","\\Cap",!0);d(g,k,ae,"\u22D3","\\Cup",!0);d(g,k,ae,"\u2A5E","\\doublebarwedge",!0);d(g,k,ae,"\u229F","\\boxminus",!0);d(g,k,ae,"\u229E","\\boxplus",!0);d(g,k,ae,"\u22C7","\\divideontimes",!0);d(g,k,ae,"\u22C9","\\ltimes",!0);d(g,k,ae,"\u22CA","\\rtimes",!0);d(g,k,ae,"\u22CB","\\leftthreetimes",!0);d(g,k,ae,"\u22CC","\\rightthreetimes",!0);d(g,k,ae,"\u22CF","\\curlywedge",!0);d(g,k,ae,"\u22CE","\\curlyvee",!0);d(g,k,ae,"\u229D","\\circleddash",!0);d(g,k,ae,"\u229B","\\circledast",!0);d(g,k,ae,"\u22C5","\\centerdot");d(g,k,ae,"\u22BA","\\intercal",!0);d(g,k,ae,"\u22D2","\\doublecap");d(g,k,ae,"\u22D3","\\doublecup");d(g,k,ae,"\u22A0","\\boxtimes",!0);d(g,k,S,"\u21E2","\\dashrightarrow",!0);d(g,k,S,"\u21E0","\\dashleftarrow",!0);d(g,k,S,"\u21C7","\\leftleftarrows",!0);d(g,k,S,"\u21C6","\\leftrightarrows",!0);d(g,k,S,"\u21DA","\\Lleftarrow",!0);d(g,k,S,"\u219E","\\twoheadleftarrow",!0);d(g,k,S,"\u21A2","\\leftarrowtail",!0);d(g,k,S,"\u21AB","\\looparrowleft",!0);d(g,k,S,"\u21CB","\\leftrightharpoons",!0);d(g,k,S,"\u21B6","\\curvearrowleft",!0);d(g,k,S,"\u21BA","\\circlearrowleft",!0);d(g,k,S,"\u21B0","\\Lsh",!0);d(g,k,S,"\u21C8","\\upuparrows",!0);d(g,k,S,"\u21BF","\\upharpoonleft",!0);d(g,k,S,"\u21C3","\\downharpoonleft",!0);d(g,b,S,"\u22B6","\\origof",!0);d(g,b,S,"\u22B7","\\imageof",!0);d(g,k,S,"\u22B8","\\multimap",!0);d(g,k,S,"\u21AD","\\leftrightsquigarrow",!0);d(g,k,S,"\u21C9","\\rightrightarrows",!0);d(g,k,S,"\u21C4","\\rightleftarrows",!0);d(g,k,S,"\u21A0","\\twoheadrightarrow",!0);d(g,k,S,"\u21A3","\\rightarrowtail",!0);d(g,k,S,"\u21AC","\\looparrowright",!0);d(g,k,S,"\u21B7","\\curvearrowright",!0);d(g,k,S,"\u21BB","\\circlearrowright",!0);d(g,k,S,"\u21B1","\\Rsh",!0);d(g,k,S,"\u21CA","\\downdownarrows",!0);d(g,k,S,"\u21BE","\\upharpoonright",!0);d(g,k,S,"\u21C2","\\downharpoonright",!0);d(g,k,S,"\u21DD","\\rightsquigarrow",!0);d(g,k,S,"\u21DD","\\leadsto");d(g,k,S,"\u21DB","\\Rrightarrow",!0);d(g,k,S,"\u21BE","\\restriction");d(g,b,P,"\u2018","`");d(g,b,P,"$","\\$");d($,b,P,"$","\\$");d($,b,P,"$","\\textdollar");d(g,b,P,"%","\\%");d($,b,P,"%","\\%");d(g,b,P,"_","\\_");d($,b,P,"_","\\_");d($,b,P,"_","\\textunderscore");d(g,b,P,"\u2220","\\angle",!0);d(g,b,P,"\u221E","\\infty",!0);d(g,b,P,"\u2032","\\prime");d(g,b,P,"\u25B3","\\triangle");d(g,b,P,"\u0393","\\Gamma",!0);d(g,b,P,"\u0394","\\Delta",!0);d(g,b,P,"\u0398","\\Theta",!0);d(g,b,P,"\u039B","\\Lambda",!0);d(g,b,P,"\u039E","\\Xi",!0);d(g,b,P,"\u03A0","\\Pi",!0);d(g,b,P,"\u03A3","\\Sigma",!0);d(g,b,P,"\u03A5","\\Upsilon",!0);d(g,b,P,"\u03A6","\\Phi",!0);d(g,b,P,"\u03A8","\\Psi",!0);d(g,b,P,"\u03A9","\\Omega",!0);d(g,b,P,"A","\u0391");d(g,b,P,"B","\u0392");d(g,b,P,"E","\u0395");d(g,b,P,"Z","\u0396");d(g,b,P,"H","\u0397");d(g,b,P,"I","\u0399");d(g,b,P,"K","\u039A");d(g,b,P,"M","\u039C");d(g,b,P,"N","\u039D");d(g,b,P,"O","\u039F");d(g,b,P,"P","\u03A1");d(g,b,P,"T","\u03A4");d(g,b,P,"X","\u03A7");d(g,b,P,"\xAC","\\neg",!0);d(g,b,P,"\xAC","\\lnot");d(g,b,P,"\u22A4","\\top");d(g,b,P,"\u22A5","\\bot");d(g,b,P,"\u2205","\\emptyset");d(g,k,P,"\u2205","\\varnothing");d(g,b,le,"\u03B1","\\alpha",!0);d(g,b,le,"\u03B2","\\beta",!0);d(g,b,le,"\u03B3","\\gamma",!0);d(g,b,le,"\u03B4","\\delta",!0);d(g,b,le,"\u03F5","\\epsilon",!0);d(g,b,le,"\u03B6","\\zeta",!0);d(g,b,le,"\u03B7","\\eta",!0);d(g,b,le,"\u03B8","\\theta",!0);d(g,b,le,"\u03B9","\\iota",!0);d(g,b,le,"\u03BA","\\kappa",!0);d(g,b,le,"\u03BB","\\lambda",!0);d(g,b,le,"\u03BC","\\mu",!0);d(g,b,le,"\u03BD","\\nu",!0);d(g,b,le,"\u03BE","\\xi",!0);d(g,b,le,"\u03BF","\\omicron",!0);d(g,b,le,"\u03C0","\\pi",!0);d(g,b,le,"\u03C1","\\rho",!0);d(g,b,le,"\u03C3","\\sigma",!0);d(g,b,le,"\u03C4","\\tau",!0);d(g,b,le,"\u03C5","\\upsilon",!0);d(g,b,le,"\u03D5","\\phi",!0);d(g,b,le,"\u03C7","\\chi",!0);d(g,b,le,"\u03C8","\\psi",!0);d(g,b,le,"\u03C9","\\omega",!0);d(g,b,le,"\u03B5","\\varepsilon",!0);d(g,b,le,"\u03D1","\\vartheta",!0);d(g,b,le,"\u03D6","\\varpi",!0);d(g,b,le,"\u03F1","\\varrho",!0);d(g,b,le,"\u03C2","\\varsigma",!0);d(g,b,le,"\u03C6","\\varphi",!0);d(g,b,ae,"\u2217","*",!0);d(g,b,ae,"+","+");d(g,b,ae,"\u2212","-",!0);d(g,b,ae,"\u22C5","\\cdot",!0);d(g,b,ae,"\u2218","\\circ",!0);d(g,b,ae,"\xF7","\\div",!0);d(g,b,ae,"\xB1","\\pm",!0);d(g,b,ae,"\xD7","\\times",!0);d(g,b,ae,"\u2229","\\cap",!0);d(g,b,ae,"\u222A","\\cup",!0);d(g,b,ae,"\u2216","\\setminus",!0);d(g,b,ae,"\u2227","\\land");d(g,b,ae,"\u2228","\\lor");d(g,b,ae,"\u2227","\\wedge",!0);d(g,b,ae,"\u2228","\\vee",!0);d(g,b,P,"\u221A","\\surd");d(g,b,Dt,"\u27E8","\\langle",!0);d(g,b,Dt,"\u2223","\\lvert");d(g,b,Dt,"\u2225","\\lVert");d(g,b,yt,"?","?");d(g,b,yt,"!","!");d(g,b,yt,"\u27E9","\\rangle",!0);d(g,b,yt,"\u2223","\\rvert");d(g,b,yt,"\u2225","\\rVert");d(g,b,S,"=","=");d(g,b,S,":",":");d(g,b,S,"\u2248","\\approx",!0);d(g,b,S,"\u2245","\\cong",!0);d(g,b,S,"\u2265","\\ge");d(g,b,S,"\u2265","\\geq",!0);d(g,b,S,"\u2190","\\gets");d(g,b,S,">","\\gt",!0);d(g,b,S,"\u2208","\\in",!0);d(g,b,S,"\uE020","\\@not");d(g,b,S,"\u2282","\\subset",!0);d(g,b,S,"\u2283","\\supset",!0);d(g,b,S,"\u2286","\\subseteq",!0);d(g,b,S,"\u2287","\\supseteq",!0);d(g,k,S,"\u2288","\\nsubseteq",!0);d(g,k,S,"\u2289","\\nsupseteq",!0);d(g,b,S,"\u22A8","\\models");d(g,b,S,"\u2190","\\leftarrow",!0);d(g,b,S,"\u2264","\\le");d(g,b,S,"\u2264","\\leq",!0);d(g,b,S,"<","\\lt",!0);d(g,b,S,"\u2192","\\rightarrow",!0);d(g,b,S,"\u2192","\\to");d(g,k,S,"\u2271","\\ngeq",!0);d(g,k,S,"\u2270","\\nleq",!0);d(g,b,_r,"\xA0","\\ ");d(g,b,_r,"\xA0","\\space");d(g,b,_r,"\xA0","\\nobreakspace");d($,b,_r,"\xA0","\\ ");d($,b,_r,"\xA0"," ");d($,b,_r,"\xA0","\\space");d($,b,_r,"\xA0","\\nobreakspace");d(g,b,_r,"","\\nobreak");d(g,b,_r,"","\\allowbreak");d(g,b,ya,",",",");d(g,b,ya,";",";");d(g,k,ae,"\u22BC","\\barwedge",!0);d(g,k,ae,"\u22BB","\\veebar",!0);d(g,b,ae,"\u2299","\\odot",!0);d(g,b,ae,"\u2295","\\oplus",!0);d(g,b,ae,"\u2297","\\otimes",!0);d(g,b,P,"\u2202","\\partial",!0);d(g,b,ae,"\u2298","\\oslash",!0);d(g,k,ae,"\u229A","\\circledcirc",!0);d(g,k,ae,"\u22A1","\\boxdot",!0);d(g,b,ae,"\u25B3","\\bigtriangleup");d(g,b,ae,"\u25BD","\\bigtriangledown");d(g,b,ae,"\u2020","\\dagger");d(g,b,ae,"\u22C4","\\diamond");d(g,b,ae,"\u22C6","\\star");d(g,b,ae,"\u25C3","\\triangleleft");d(g,b,ae,"\u25B9","\\triangleright");d(g,b,Dt,"{","\\{");d($,b,P,"{","\\{");d($,b,P,"{","\\textbraceleft");d(g,b,yt,"}","\\}");d($,b,P,"}","\\}");d($,b,P,"}","\\textbraceright");d(g,b,Dt,"{","\\lbrace");d(g,b,yt,"}","\\rbrace");d(g,b,Dt,"[","\\lbrack",!0);d($,b,P,"[","\\lbrack",!0);d(g,b,yt,"]","\\rbrack",!0);d($,b,P,"]","\\rbrack",!0);d(g,b,Dt,"(","\\lparen",!0);d(g,b,yt,")","\\rparen",!0);d($,b,P,"<","\\textless",!0);d($,b,P,">","\\textgreater",!0);d(g,b,Dt,"\u230A","\\lfloor",!0);d(g,b,yt,"\u230B","\\rfloor",!0);d(g,b,Dt,"\u2308","\\lceil",!0);d(g,b,yt,"\u2309","\\rceil",!0);d(g,b,P,"\\","\\backslash");d(g,b,P,"\u2223","|");d(g,b,P,"\u2223","\\vert");d($,b,P,"|","\\textbar",!0);d(g,b,P,"\u2225","\\|");d(g,b,P,"\u2225","\\Vert");d($,b,P,"\u2225","\\textbardbl");d($,b,P,"~","\\textasciitilde");d($,b,P,"\\","\\textbackslash");d($,b,P,"^","\\textasciicircum");d(g,b,S,"\u2191","\\uparrow",!0);d(g,b,S,"\u21D1","\\Uparrow",!0);d(g,b,S,"\u2193","\\downarrow",!0);d(g,b,S,"\u21D3","\\Downarrow",!0);d(g,b,S,"\u2195","\\updownarrow",!0);d(g,b,S,"\u21D5","\\Updownarrow",!0);d(g,b,je,"\u2210","\\coprod");d(g,b,je,"\u22C1","\\bigvee");d(g,b,je,"\u22C0","\\bigwedge");d(g,b,je,"\u2A04","\\biguplus");d(g,b,je,"\u22C2","\\bigcap");d(g,b,je,"\u22C3","\\bigcup");d(g,b,je,"\u222B","\\int");d(g,b,je,"\u222B","\\intop");d(g,b,je,"\u222C","\\iint");d(g,b,je,"\u222D","\\iiint");d(g,b,je,"\u220F","\\prod");d(g,b,je,"\u2211","\\sum");d(g,b,je,"\u2A02","\\bigotimes");d(g,b,je,"\u2A01","\\bigoplus");d(g,b,je,"\u2A00","\\bigodot");d(g,b,je,"\u222E","\\oint");d(g,b,je,"\u222F","\\oiint");d(g,b,je,"\u2230","\\oiiint");d(g,b,je,"\u2A06","\\bigsqcup");d(g,b,je,"\u222B","\\smallint");d($,b,ci,"\u2026","\\textellipsis");d(g,b,ci,"\u2026","\\mathellipsis");d($,b,ci,"\u2026","\\ldots",!0);d(g,b,ci,"\u2026","\\ldots",!0);d(g,b,ci,"\u22EF","\\@cdots",!0);d(g,b,ci,"\u22F1","\\ddots",!0);d(g,b,P,"\u22EE","\\varvdots");d($,b,P,"\u22EE","\\varvdots");d(g,b,Le,"\u02CA","\\acute");d(g,b,Le,"\u02CB","\\grave");d(g,b,Le,"\xA8","\\ddot");d(g,b,Le,"~","\\tilde");d(g,b,Le,"\u02C9","\\bar");d(g,b,Le,"\u02D8","\\breve");d(g,b,Le,"\u02C7","\\check");d(g,b,Le,"^","\\hat");d(g,b,Le,"\u20D7","\\vec");d(g,b,Le,"\u02D9","\\dot");d(g,b,Le,"\u02DA","\\mathring");d(g,b,le,"\uE131","\\@imath");d(g,b,le,"\uE237","\\@jmath");d(g,b,P,"\u0131","\u0131");d(g,b,P,"\u0237","\u0237");d($,b,P,"\u0131","\\i",!0);d($,b,P,"\u0237","\\j",!0);d($,b,P,"\xDF","\\ss",!0);d($,b,P,"\xE6","\\ae",!0);d($,b,P,"\u0153","\\oe",!0);d($,b,P,"\xF8","\\o",!0);d($,b,P,"\xC6","\\AE",!0);d($,b,P,"\u0152","\\OE",!0);d($,b,P,"\xD8","\\O",!0);d($,b,Le,"\u02CA","\\'");d($,b,Le,"\u02CB","\\`");d($,b,Le,"\u02C6","\\^");d($,b,Le,"\u02DC","\\~");d($,b,Le,"\u02C9","\\=");d($,b,Le,"\u02D8","\\u");d($,b,Le,"\u02D9","\\.");d($,b,Le,"\xB8","\\c");d($,b,Le,"\u02DA","\\r");d($,b,Le,"\u02C7","\\v");d($,b,Le,"\xA8",'\\"');d($,b,Le,"\u02DD","\\H");d($,b,Le,"\u25EF","\\textcircled");var bg={"--":!0,"---":!0,"``":!0,"''":!0};d($,b,P,"\u2013","--",!0);d($,b,P,"\u2013","\\textendash");d($,b,P,"\u2014","---",!0);d($,b,P,"\u2014","\\textemdash");d($,b,P,"\u2018","`",!0);d($,b,P,"\u2018","\\textquoteleft");d($,b,P,"\u2019","'",!0);d($,b,P,"\u2019","\\textquoteright");d($,b,P,"\u201C","``",!0);d($,b,P,"\u201C","\\textquotedblleft");d($,b,P,"\u201D","''",!0);d($,b,P,"\u201D","\\textquotedblright");d(g,b,P,"\xB0","\\degree",!0);d($,b,P,"\xB0","\\degree");d($,b,P,"\xB0","\\textdegree",!0);d(g,b,P,"\xA3","\\pounds");d(g,b,P,"\xA3","\\mathsterling",!0);d($,b,P,"\xA3","\\pounds");d($,b,P,"\xA3","\\textsterling",!0);d(g,k,P,"\u2720","\\maltese");d($,k,P,"\u2720","\\maltese");var P1='0123456789/@."';for(so=0;so<P1.length;so++)ec=P1.charAt(so),d(g,b,P,ec,ec);var ec,so,O1='0123456789!@*()-=+";:?/.,';for(oo=0;oo<O1.length;oo++)tc=O1.charAt(oo),d($,b,P,tc,tc);var tc,oo,Eo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(uo=0;uo<Eo.length;uo++)ca=Eo.charAt(uo),d(g,b,le,ca,ca),d($,b,P,ca,ca);var ca,uo;d(g,k,P,"C","\u2102");d($,k,P,"C","\u2102");d(g,k,P,"H","\u210D");d($,k,P,"H","\u210D");d(g,k,P,"N","\u2115");d($,k,P,"N","\u2115");d(g,k,P,"P","\u2119");d($,k,P,"P","\u2119");d(g,k,P,"Q","\u211A");d($,k,P,"Q","\u211A");d(g,k,P,"R","\u211D");d($,k,P,"R","\u211D");d(g,k,P,"Z","\u2124");d($,k,P,"Z","\u2124");d(g,b,le,"h","\u210E");d($,b,le,"h","\u210E");var he;for(at=0;at<Eo.length;at++)Pe=Eo.charAt(at),he=String.fromCharCode(55349,56320+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56372+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56424+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56580+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56684+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56736+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56788+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56840+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56944+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),at<26&&(he=String.fromCharCode(55349,56632+at),d(g,b,le,Pe,he),d($,b,P,Pe,he),he=String.fromCharCode(55349,56476+at),d(g,b,le,Pe,he),d($,b,P,Pe,he));var Pe,at;he="\u{1D55C}";d(g,b,le,"k",he);d($,b,P,"k",he);for(Kr=0;Kr<10;Kr++)Sr=Kr.toString(),he=String.fromCharCode(55349,57294+Kr),d(g,b,le,Sr,he),d($,b,P,Sr,he),he=String.fromCharCode(55349,57314+Kr),d(g,b,le,Sr,he),d($,b,P,Sr,he),he=String.fromCharCode(55349,57324+Kr),d(g,b,le,Sr,he),d($,b,P,Sr,he),he=String.fromCharCode(55349,57334+Kr),d(g,b,le,Sr,he),d($,b,P,Sr,he);var Sr,Kr,bc="\xD0\xDE\xFE";for(lo=0;lo<bc.length;lo++)fa=bc.charAt(lo),d(g,b,le,fa,fa),d($,b,P,fa,fa);var fa,lo,yc={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},R1={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},M1={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},gx={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},_n={mathClass:"",textClass:"",font:""},F1={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},B1={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},q1={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},Ec={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},xc={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},U1={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},Tc={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},H1=[yc,yc,R1,R1,M1,M1,gx,_n,_n,_n,F1,F1,B1,B1,q1,q1,Ec,Ec,xc,xc,U1,U1,_n,_n,Tc,Tc],bx=[yc,_n,Ec,xc,Tc],yx=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 H1[i]}else if(120782<=n&&n<=120831){var a=Math.floor((n-120782)/10);return bx[a]}else{if(n===120485||n===120486)return H1[0];if(120486<n&&n<120782)return _n;throw new J("Unsupported character: "+e)}},So=function(t,r,n){if(_e[n][t]){var i=_e[n][t].replace;i&&(t=i)}return{value:t,metrics:Mc(t,r,n)}},pt=function(t,r,n,i,a){var s=So(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 bt(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 bt(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},Fc=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&So(t,"Main-Bold",r).metrics?pt(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||_e[r][t].font==="main"?pt(t,"Main-Regular",r,n,i):pt(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},Ex=function(t,r,n){return n!=="textord"&&So(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Do=function(t,r,n){var i=t.mode,a=t.text,s=["mord"],{font:o,fontFamily:u,fontWeight:l,fontShape:c}=r,h=i==="math"||i==="text"&&!!o,m=h?o:u,p="",y="";if(a.charCodeAt(0)===55349){var E=yx(a);p=E.font,y=E[i+"Class"]}if(p)return pt(a,p,i,r,s.concat(y));if(m){var x,v;if(m==="boldsymbol"){var w=Ex(a,i,n);x=w.fontName,v=[w.fontClass]}else h?(x=vc[o].fontName,v=[o]):(x=co(u,l,c),v=[u,l,c]);if(So(a,x,i).metrics)return pt(a,x,i,r,s.concat(v));if(bg.hasOwnProperty(a)&&x.slice(0,10)==="Typewriter"){for(var I=[],B=0;B<a.length;B++)I.push(pt(a[B],x,i,r,s.concat(v)));return Lr(I)}}if(n==="mathord")return pt(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var q=_e[i][a]&&_e[i][a].font;if(q==="ams"){var _=co("amsrm",l,c);return pt(a,_,i,r,s.concat("amsrm",l,c))}else if(q==="main"||!q){var U=co("textrm",l,c);return pt(a,U,i,r,s.concat(l,c))}else{var H=co(q,l,c);return pt(a,H,i,r,s.concat(H,l,c))}}else throw new Error("unexpected type: "+n+" in makeOrd")},xx=(e,t)=>{if(Jr(e.classes)!==Jr(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},yg=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof bt&&n instanceof bt&&xx(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},Bc=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 Zr(t,r,n,i);return Bc(a),a},en=(e,t,r,n)=>new Zr(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},Tx=function(t,r,n,i){var a=new oi(t,r,n,i);return Bc(a),a},Lr=function(t){var r=new Xr(t);return Bc(r),r},li=function(t,r){return t instanceof Xr?G([],[t],r):t},vx=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,h=0;h<t.children.length;h++){var m=t.children[h];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}=vx(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=[],h=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||{},I=G(v,[l,x],void 0,w);I.style.top=Z(-a-p-x.depth),E.marginLeft&&(I.style.marginLeft=E.marginLeft),E.marginRight&&(I.style.marginRight=E.marginRight),c.push(I),p+=x.height+x.depth}h=Math.min(h,p),m=Math.max(m,p)}var B=G(["vlist"],c);B.style.height=Z(m);var q;if(h<0){var _=G([],[]),U=G(["vlist"],[_]);U.style.height=Z(-h);var H=G(["vlist-s"],[new bt("\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=-h,F},Eg=(e,t)=>{var r=G(["mspace"],[],t),n=Re(e,t);return r.style.marginRight=Z(n),r},co=(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},vc={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"}},xg={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Tg=function(t,r){var[n,i,a]=xg[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=en(["overlay"],[o],r);return u.height=a,u.style.height=Z(a),u.style.width=Z(i),u},Oe={number:3,unit:"mu"},Nn={number:4,unit:"mu"},Dr={number:5,unit:"mu"},Cx={mord:{mop:Oe,mbin:Nn,mrel:Dr,minner:Oe},mop:{mord:Oe,mop:Oe,mrel:Dr,minner:Oe},mbin:{mord:Nn,mop:Nn,mopen:Nn,minner:Nn},mrel:{mord:Dr,mop:Dr,mopen:Dr,minner:Dr},mopen:{},mclose:{mop:Oe,mbin:Nn,mrel:Dr,minner:Oe},mpunct:{mord:Oe,mop:Oe,mrel:Dr,mopen:Oe,mclose:Oe,mpunct:Oe,minner:Oe},minner:{mord:Oe,mop:Oe,mbin:Nn,mrel:Dr,mopen:Oe,mpunct:Oe,minner:Oe}},Ax={mord:{mop:Oe},mop:{mord:Oe,mop:Oe},mbin:{},mrel:{},mopen:{},mclose:{mop:Oe},mpunct:{},minner:{mop:Oe}},vg={},xo={},To={};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)vg[r[u]]=o;t&&(a&&(xo[t]=a),s&&(To[t]=s))}function Ln(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 vo=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Ye=function(t){return t.type==="ordgroup"?t.body:[t]},wx=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),kx=new Set(["rightmost","mrel","mclose","mpunct"]),Sx={display:pe.DISPLAY,text:pe.TEXT,script:pe.SCRIPT,scriptscript:pe.SCRIPTSCRIPT},Dx={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 Xr){var u=o.children;a.push(...u)}else a.push(o)}if(yg(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(Sx[c.style]))}var h=G([i[0]||"leftmost"],[],r),m=G([i[1]||"rightmost"],[],r),p=n==="root";return Cc(a,(y,E)=>{var x=E.classes[0],v=y.classes[0];x==="mbin"&&kx.has(v)?E.classes[0]="mord":v==="mbin"&&wx.has(x)&&(y.classes[0]="mord")},{node:h},m,p),Cc(a,(y,E)=>{var x,v,w=wc(E),I=wc(y),B=w&&I?y.hasClass("mtight")?(x=Ax[w])==null?void 0:x[I]:(v=Cx[w])==null?void 0:v[I]:null;if(B)return Eg(B,l)},{node:h},m,p),a},Cc=function(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var o=t[s],u=Cg(o);if(u){Cc(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=(h=>m=>{t.splice(h+1,0,m),s++})(s)}i&&t.pop()},Cg=function(t){return t instanceof Xr||t instanceof oi||t instanceof Zr&&t.hasClass("enclosing")?t:null},Ac=function(t,r){var n=Cg(t);if(n){var i=n.children;if(i.length){if(r==="right")return Ac(i[i.length-1],"right");if(r==="left")return Ac(i[0],"left")}}return t},wc=function(t,r){if(!t)return null;r&&(t=Ac(t,r));var n=t.classes[0];return Dx[n]||null},ba=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return G(r.concat(n))},Te=function(t,r,n){if(!t)return G();if(xo[t.type]){var i=xo[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 fo(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 kc(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(fo(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(fo(s,t)),s=[]),a.push(n[o]));s.length>0&&a.push(fo(s,t));var l;r?(l=fo(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 h=l.children[0];h.style.height=Z(c.height+c.depth),c.depth&&(h.style.verticalAlign=Z(-c.depth))}return c}function Ag(e){return new Xr(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=Jr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Fe&&this.children[n+1]instanceof Fe){for(var i=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Fe;)i+=this.children[++n].toText();t.appendChild(new Fe(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(Jr(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("")}},Fe=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}},Co=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:" "}},Ix=new Set(["\\imath","\\jmath"]),Nx=new Set(["mrow","mtable"]),Bt=function(t,r,n){return _e[r][t]&&_e[r][t].replace&&t.charCodeAt(0)!==55349&&!(bg.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=_e[r][t].replace),new Fe(t)},qc=function(t){return t.length===1?t[0]:new X("mrow",t)},_x={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"},Uc=(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=_x[r];if(i)return typeof i=="function"?i(e):i;var a=e.text;if(Ix.has(a))return null;if(_e[n][a]){var s=_e[n][a].replace;s&&(a=s)}var o=vc[r].fontName;return Mc(a,o,n)?vc[r].variant:null};function rc(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Fe&&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 Fe&&r.text===","}else return!1}var It=function(t,r,n){if(t.length===1){var i=we(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=we(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(rc(u)&&s.type==="mn"){s.children.push(...u.children);continue}else if(u.type==="mn"&&rc(s))u.children=[...s.children,...u.children],a.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(s.type==="mn"||rc(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 Fe&&c.text==="\u0338"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var h=u.children[0];h instanceof Fe&&h.text.length>0&&(h.text=h.text.slice(0,1)+"\u0338"+h.text.slice(1),a.pop())}}}a.push(u),s=u}return a},tn=function(t,r,n){return qc(It(t,r,n))},we=function(t,r){if(!t)return new X("mrow");if(To[t.type])return To[t.type](t,r);throw new J("Got group of unknown type: '"+t.type+"'")};function z1(e,t,r,n,i){var a=It(e,r),s;a.length===1&&a[0]instanceof X&&Nx.has(a[0].type)?s=a[0]:s=new X("mrow",a);var o=new X("annotation",[new Fe(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 Lx=[[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]],V1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Y1=function(t,r){return r.size<2?t:Lx[t-1][r.size-1]},Ao=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=V1[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:Y1(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:V1[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Y1(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=px(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};Ao.BASESIZE=6;var wg=function(t){return new Ao({style:t.displayMode?pe.DISPLAY:pe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},kg=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},Px=function(t,r,n){var i=wg(n),a;if(n.output==="mathml")return z1(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=kc(t,i);a=G(["katex"],[s])}else{var o=z1(t,r,i,n.displayMode,!1),u=kc(t,i);a=G(["katex"],[o,u])}return kg(a,n)},Ox=function(t,r,n){var i=wg(n),a=kc(t,i),s=G(["katex"],[a]);return kg(s,n)},Rx={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 Fe(Rx[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Mx={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]},Fx=new Set(["widehat","widecheck","widetilde","utilde"]),No=function(t,r){function n(){var o=4e5,u=t.label.slice(1);if(Fx.has(u)&&"base"in t){var l=t.base.type==="ordgroup"?t.base.body.length:1,c,h,m;if(l>5)u==="widehat"||u==="widecheck"?(c=420,o=2364,m=.42,h=u+"4"):(c=312,o=2340,m=.34,h="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],h=u+p):(o=[0,600,1033,2339,2340][p],c=[0,260,286,306,312][p],m=[0,.26,.286,.3,.306,.34][p],h="tilde"+p)}var y=new ur(h),E=new Qt([y],{width:"100%",height:Z(m),viewBox:"0 0 "+o+" "+c,preserveAspectRatio:"none"});return{span:en([],[E],r),minWidth:0,height:m}}else{var x=[],v=Mx[u];if(!v)throw new Error('No SVG data for "'+u+'".');var[w,I,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
403
+ `+_+" children.");for(var F=0;F<_;F++){var R=new ur(w[F]),ue=new Qt([R],{width:"400em",height:Z(q),viewBox:"0 0 "+o+" "+B,preserveAspectRatio:H[F]+" slice"}),ee=en([U[F]],[ue],r);if(_===1)return{span:ee,minWidth:I,height:q};ee.style.height=Z(q),x.push(ee)}return{span:G(["stretchy"],x,r),minWidth:I,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},Bx=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 ga({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new ga({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Qt(l,{width:"100%",height:Z(o)});s=en([],[c],a)}return s.height=o,s.style.height=Z(o),s},qx={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ux={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function Hx(e){return e in qx}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 _o(e){var t=Lo(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 Lo(e){return e&&(e.type==="atom"||Ux.hasOwnProperty(e.type))?e:null}var Sg=e=>{if(e instanceof bt)return e;if(dx(e)&&e.children.length===1)return Sg(e.children[0])},Hc=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=ge(e.base,"accent"),r=n.base,e.base=r,i=hx(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=Sg(a))==null?void 0:l.skew)!=null?u:0}var c=n.label==="\\c",h=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),m;if(n.isStretchy)m=No(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=Tg("vec",t),y=xg.vec[1]):(p=Do({type:"textord",mode:n.mode,text:n.label},t,"textord"),p=fx(p),p.italic=0,y=p.width,c&&(h+=p.depth)),m=G(["accent-body"],[p]);var E=n.label==="\\textcircled";E&&(m.classes.push("accent-full"),h=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:-h},{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},Dg=(e,t)=>{var r=e.isStretchy?Io(e.label):new X("mo",[Bt(e.label,e.mode)]),n=new X("mover",[we(e.base,t),r]);return n.setAttribute("accent","true"),n},zx=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=vo(t[0]),n=!zx.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:Hc,mathmlBuilder:Dg});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:Hc,mathmlBuilder:Dg});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=No(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",[we(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var ho=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=No(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 h=-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:h}]})}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=ho(we(e.body,t));if(e.below){var a=ho(we(e.below,t));n=new X("munderover",[r,a,i])}else n=new X("mover",[r,i])}else if(e.below){var s=ho(we(e.below,t));n=new X("munder",[r,s])}else n=ho(),n=new X("mover",[r,n]);return n}});function Ig(e,t){var r=We(e.body,t,!0);return G([e.mclass],r,t)}function Ng(e,t){var r,n=It(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:Ye(i),isCharacterBox:Nr(i)}},htmlBuilder:Ig,mathmlBuilder:Ng});var Po=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:Po(t[0]),body:Ye(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=Po(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ye(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:Ig,mathmlBuilder:Ng});ne({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Po(t[0]),body:Ye(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=It(e.body,t),n=new X("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Vx={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},j1=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),$1=e=>e.type==="textord"&&e.text==="@",Yx=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function jx(e,t,r){var n=Vx[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 $x(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=j1(),u=0;u<s.length;u++)if(!$1(s[u]))o.body.push(s[u]);else{n.push(o),u+=1;var l=_o(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 h=0;h<2;h++){for(var m=!0,p=u+1;p<s.length;p++){if(Yx(s[p],l)){m=!1,u=p;break}if($1(s[p]))throw new J("Missing a "+l+" character to complete a CD arrow.",s[p]);c[h].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=jx(l,c,e),E={type:"styling",body:[y],mode:"math",style:"display",resetFont:!0};n.push(E),o=j1()}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",[we(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",[we(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 _g=(e,t)=>{var r=We(e.body,t.withColor(e.color),!1);return Lr(r)},Lg=(e,t)=>{var r=It(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:Ye(i)}},htmlBuilder:_g,mathmlBuilder:Lg});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:_g,mathmlBuilder:Lg});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"},Pg=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new J("Expected a control sequence",e);return t},Gx=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Og=(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=Pg(t.gullet.popToken());t.gullet.consumeSpaces();var i=Gx(t);return Og(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=Pg(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Og(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var ha=function(t,r,n){var i=_e.math[t]&&_e.math[t].replace,a=Mc(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},zc=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},Rg=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},Wx=function(t,r,n,i,a,s){var o=pt(t,"Main-Regular",a,i),u=zc(o,r,i,s);return n&&Rg(u,i,r),u},Kx=function(t,r,n,i){return pt(t,"Size"+r+"-Regular",n,i)},Mg=function(t,r,n,i,a,s){var o=Kx(t,r,a,i),u=zc(G(["delimsizing","size"+r],[o],i),pe.TEXT,i,s);return n&&Rg(u,i,pe.TEXT),u},nc=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=G(["delimsizinginner",i],[G([],[pt(t,r,n)])]);return{type:"elem",elem:a}},ic=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",ax(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=en([],[s],n);return o.height=r,o.style.height=Z(r),o.style.width=Z(i),{type:"elem",elem:o}},Dc=.008,mo={type:"kern",size:-1*Dc},Qx=new Set(["|","\\lvert","\\rvert","\\vert"]),Xx=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Fg=function(t,r,n,i,a,s){var o,u,l,c,h="",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"):Qx.has(t)?(l="\u2223",h="vert",m=333):Xx.has(t)?(l="\u2225",h="doublevert",m=556):t==="["||t==="\\lbrack"?(o="\u23A1",l="\u23A2",c="\u23A3",p="Size4-Regular",h="lbrack",m=667):t==="]"||t==="\\rbrack"?(o="\u23A4",l="\u23A5",c="\u23A6",p="Size4-Regular",h="rbrack",m=667):t==="\\lfloor"||t==="\u230A"?(l=o="\u23A2",c="\u23A3",p="Size4-Regular",h="lfloor",m=667):t==="\\lceil"||t==="\u2308"?(o="\u23A1",l=c="\u23A2",p="Size4-Regular",h="lceil",m=667):t==="\\rfloor"||t==="\u230B"?(l=o="\u23A5",c="\u23A6",p="Size4-Regular",h="rfloor",m=667):t==="\\rceil"||t==="\u2309"?(o="\u23A4",l=c="\u23A5",p="Size4-Regular",h="rceil",m=667):t==="("||t==="\\lparen"?(o="\u239B",l="\u239C",c="\u239D",p="Size4-Regular",h="lparen",m=875):t===")"||t==="\\rparen"?(o="\u239E",l="\u239F",c="\u23A0",p="Size4-Regular",h="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=ha(o,p,a),E=y.height+y.depth,x=ha(l,p,a),v=x.height+x.depth,w=ha(c,p,a),I=w.height+w.depth,B=0,q=1;if(u!==null){var _=ha(u,p,a);B=_.height+_.depth,q=2}var U=E+I+B,H=Math.max(0,Math.ceil((r-U)/(q*v))),F=U+H*q*v,R=i.fontMetrics().axisHeight;n&&(R*=i.sizeMultiplier);var ue=F/2-R,ee=[];if(h.length>0){var W=F-E-I,se=Math.round(F*1e3),O=sx(h,Math.round(W*1e3)),ce=new ur(h,O),Se=Z(m/1e3),Xe=Z(se/1e3),xt=new Qt([ce],{width:Se,height:Xe,viewBox:"0 0 "+m+" "+se}),N=en([],[xt],i);N.height=se/1e3,N.style.width=Se,N.style.height=Xe,ee.push({type:"elem",elem:N})}else{if(ee.push(nc(c,p,a)),ee.push(mo),u===null){var qe=F-E-I+2*Dc;ee.push(ic(l,qe,i))}else{var ht=(F-E-I-B)/2+2*Dc;ee.push(ic(l,ht,i)),ee.push(mo),ee.push(nc(u,p,a)),ee.push(mo),ee.push(ic(l,ht,i))}ee.push(mo),ee.push(nc(o,p,a))}var L=i.havingBaseStyle(pe.TEXT),Je=xe({positionType:"bottom",positionData:ue,children:ee});return zc(G(["delimsizing","mult"],[Je],L),pe.TEXT,i,s)},ac=80,sc=.08,oc=function(t,r,n,i,a){var s=ix(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 en(["hide-tail"],[u],a)},Jx=function(t,r){var n=r.havingBaseSizing(),i=zg("\\surd",t*n.sizeMultiplier,Hg,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,u,l,c,h;return i.type==="small"?(c=1e3+1e3*s+ac,t<1?a=1:t<1.4&&(a=.7),u=(1+s+sc)/a,l=(1+s)/a,o=oc("sqrtMain",u,c,s,r),o.style.minWidth="0.853em",h=.833/a):i.type==="large"?(c=(1e3+ac)*da[i.size],l=(da[i.size]+s)/a,u=(da[i.size]+s+sc)/a,o=oc("sqrtSize"+i.size,u,c,s,r),o.style.minWidth="1.02em",h=1/a):(u=t+s+sc,l=t+s,c=Math.floor(1e3*t+s)+ac,o=oc("sqrtTall",u,c,s,r),o.style.minWidth="0.742em",h=1.056),o.height=l,o.style.height=Z(u),{span:o,advanceWidth:h,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},Bg=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"]),Zx=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"]),qg=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),da=[0,1.2,1.8,2.4,3],Ug=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),Bg.has(t)||qg.has(t))return Mg(t,r,!1,n,i,a);if(Zx.has(t))return Fg(t,da[r],!1,n,i,a);throw new J("Illegal delimiter: '"+t+"'")},eT=[{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}],tT=[{type:"small",style:pe.SCRIPTSCRIPT},{type:"small",style:pe.SCRIPT},{type:"small",style:pe.TEXT},{type:"stack"}],Hg=[{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"}],rT=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.")},zg=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=ha(t,rT(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]},Ic=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var o;qg.has(t)?o=eT:Bg.has(t)?o=Hg:o=tT;var u=zg(t,r,o,i);return u.type==="small"?Wx(t,u.style,n,i,a,s):u.type==="large"?Mg(t,u.size,n,i,a,s):Fg(t,r,n,i,a,s)},uc=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),h=Math.max(c/500*u,2*c-l);return Ic(t,h,!0,i,a,s)},G1={"\\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}},nT=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 W1(e){return"isMiddle"in e}function Oo(e,t){var r=Lo(e);if(r&&nT.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:G1[e.funcName].size,mclass:G1[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?G([e.mclass]):Ug(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Bt(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(da[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function K1(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)=>{K1(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];W1(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=ba(t,["mopen"]):u=uc(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(W1(c)){var h=c.isMiddle;r[l]=uc(h.delim,n,i,h.options,e.mode,[])}}var m;if(e.right===".")m=ba(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;m=uc(e.right,n,i,p,e.mode,["mclose"])}return r.push(m),G(["minner"],r,t)},mathmlBuilder:(e,t)=>{K1(e);var r=It(e.body,t);if(e.left!=="."){var n=new X("mo",[Bt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new X("mo",[Bt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return qc(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=ba(t,[]):(r=Ug(e.delim,1,t,e.mode,[]),r.isMiddle={delim:e.delim,options:t}),r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Bt("|","text"):Bt(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 Ro=(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 h=r.height+r.depth+u+l;r.style.paddingLeft=Z(h/2+u);var m=Math.floor(1e3*h*i),p=rx(m),y=new Qt([new ur("phase",p)],{width:"400em",height:Z(m/1e3),viewBox:"0 0 400000 "+m,preserveAspectRatio:"xMinYMin slice"});a=en(["hide-tail"],[y],t),a.style.height=Z(h),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=Bx(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 I=/cancel|phase/.test(n)?["svg-align"]:[];w=xe({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:I}]})}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)},Mo=(e,t)=>{var r,n=new X(e.label.includes("colorbox")?"mpadded":"menclose",[we(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:Ro,mathmlBuilder:Mo});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:Ro,mathmlBuilder:Mo});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:Ro,mathmlBuilder:Mo});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:Ro,mathmlBuilder:Mo});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 Vg={};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)Vg[r[u]]=o;a&&(xo[t]=a),s&&(To[t]=s)}var Yg={};function T(e,t){Yg[e]=t}var vt=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,vt.range(this,t))}};function Q1(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 Fo=e=>{var t=e.parser.settings;if(!t.displayMode)throw new J("{"+e.envName+"} can be used only in display mode.")},iT=new Set(["gather","gather*"]);function Vc(e){if(!e.includes("ed"))return!e.includes("*")}function rn(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:u,singleRow:l,emptySingleRow:c,maxNumCols:h,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 I(){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(I(),v.push(Q1(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(h&&y.length===h){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(Q1(e)),y=[],E.push(y),I()}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 Yc(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),h=1/r.fontMetrics().ptPerEm,m=5*h;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*h,E=3*h,x=t.arraystretch*y,v=.7*x,w=.3*x,I=0;function B(fe){for(var be=0;be<fe.length;++be)be>0&&(I+=.25),l.push({pos:I,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 R=t.rowGaps[n],ue=0;R&&(ue=Re(R,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,I+=_,H.pos=I,I+=U+ue,u[n]=H,B(s[n+1])}var ee=I/2+r.fontMetrics().axisHeight,W=t.cols||[],se=[],O,ce,Se=[];if(t.tags&&t.tags.some(fe=>fe))for(n=0;n<a;++n){var Xe=u[n],xt=Xe.pos-ee,N=t.tags[n],qe=void 0;N===!0?qe=G(["eqn-num"],[],r):N===!1?qe=G([],[],r):qe=G([],We(N,r,!0),r),qe.depth=Xe.depth,qe.height=Xe.height,Se.push({type:"elem",elem:qe,shift:xt})}for(i=0,ce=0;i<o||ce<W.length;++i,++ce){for(var ht,L=W[ce],Je=!0;((er=L)==null?void 0:er.type)==="separator";){var er;if(Je||(O=G(["arraycolsep"],[]),O.style.width=Z(r.fontMetrics().doubleRuleSep),se.push(O)),L.separator==="|"||L.separator===":"){var Bi=L.separator==="|"?"solid":"dashed",Vt=G(["vertical-separator"],[],r);Vt.style.height=Z(I),Vt.style.borderRightWidth=Z(c),Vt.style.borderRightStyle=Bi,Vt.style.margin="0 "+Z(-c/2);var ze=I-ee;ze&&(Vt.style.verticalAlign=Z(-ze)),se.push(Vt)}else throw new J("Invalid separator type: "+L.separator);ce++,L=W[ce],Je=!1}if(!(i>=o)){var _t=void 0;if(i>0||t.hskipBeforeAndAfter){var Lt,tr;_t=(Lt=(tr=L)==null?void 0:tr.pregap)!=null?Lt:m,_t!==0&&(O=G(["arraycolsep"],[]),O.style.width=Z(_t),se.push(O))}var br=[];for(n=0;n<a;++n){var Hr=u[n],Xn=Hr.cells[i];if(Xn){var ys=Hr.pos-ee;Xn.depth=Hr.depth,Xn.height=Hr.height,br.push({type:"elem",elem:Xn,shift:ys})}}var Es=xe({positionType:"individualShift",children:br}),xs=G(["col-align-"+(((ht=L)==null?void 0:ht.align)||"c")],[Es]);if(se.push(xs),i<o-1||t.hskipBeforeAndAfter){var Ts,qi;_t=(Ts=(qi=L)==null?void 0:qi.postgap)!=null?Ts:m,_t!==0&&(O=G(["arraycolsep"],[]),O.style.width=Z(_t),se.push(O))}}}var En=G(["mtable"],se);if(l.length>0){for(var Y0=ui("hline",r,c),j0=ui("hdashline",r,c),Ui=[{type:"elem",elem:En,shift:0}];l.length>0;){var vs=l.pop(),Cs=vs.pos-ee;vs.isDashed?Ui.push({type:"elem",elem:j0,shift:Cs}):Ui.push({type:"elem",elem:Y0,shift:Cs})}En=xe({positionType:"individualShift",children:Ui})}if(Se.length===0)return G(["mord"],[En],r);var V=xe({positionType:"individualShift",children:Se}),te=G(["tag"],[V],r);return Lr([En,te])},aT={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",[we(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),h=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",Z(h));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 I=v;I<w;I++){var B=y[I];B.type==="align"?(p+=aT[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 R=1;R<F.length-1;R++)H+=F[R].length===0?"none ":F[R][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},jg=function(t,r){t.envName.includes("ed")||Fo(t);var n=[],i=t.envName.includes("at")?"alignat":"align",a=t.envName==="split",s=rn(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:Vc(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="",h=0;h<r[0].body.length;h++){var m=ge(r[0].body[h],"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 I=ge(v[w],"styling"),B=ge(I.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=Lo(t[0]),n=r?[t[0]]:ge(t[0],"ordgroup").body,i=n.map(function(s){var o=_o(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 rn(e.parser,a,Yc(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=rn(e.parser,n,Yc(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=rn(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=Lo(t[0]),n=r?[t[0]]:ge(t[0],"ordgroup").body,i=n.map(function(o){var u=_o(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=rn(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=rn(e.parser,t,Yc(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:jg,htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){iT.has(e.envName)&&Fo(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Vc(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return rn(e.parser,t,"display")},htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:jg,htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Fo(e);var t={autoTag:Vc(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return rn(e.parser,t,"display")},htmlBuilder:cr,mathmlBuilder:fr});lr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Fo(e),$x(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 X1=Vg;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(!X1.hasOwnProperty(a))throw new J("No such environment: "+a,i);var o=X1[a],{args:u,optArgs:l}=r.parseArguments("\\begin{"+a+"}",o),c={mode:r.mode,envName:a,parser:r},h=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 h}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var $g=(e,t)=>{var r=e.font,n=t.withFont(r);return Te(e.body,n)},Gg=(e,t)=>{var r=e.font,n=t.withFont(r);return we(e.body,n)},J1={"\\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=vo(t[0]),a=n;return a in J1&&(a=J1[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:$g,mathmlBuilder:Gg});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:Po(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:$g,mathmlBuilder:Gg});var sT=(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,h,m;e.hasBarLine?(e.barSize?(h=Re(e.barSize,t),c=ui("frac-line",t,h)):c=ui("frac-line",t),h=c.height,m=c.height):(c=null,h=0,m=t.fontMetrics().defaultRuleThickness);var p,y,E;r.size===pe.DISPLAY.size?(p=t.fontMetrics().num1,h>0?y=3*m:y=7*m,E=t.fontMetrics().denom1):(h>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*h)<y&&(p+=y-(p-s.depth-(w+.5*h))),w-.5*h-(l.height-E)<y&&(E+=y-(w-.5*h-(l.height-E)));var I=-(w-.5*h);x=xe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:E},{type:"elem",elem:c,shift:I},{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=ba(t,["mopen"]):q=Ic(e.leftDelim,B,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?_=G([]):e.rightDelim==null?_=ba(t,["mclose"]):_=Ic(e.rightDelim,B,!0,t.havingStyle(r),e.mode,["mclose"]),G(["mord"].concat(a.sizingClasses(t)),[q,G(["mfrac"],[x]),_],t)},oT=(e,t)=>{var r=new X("mfrac",[we(e.numer,t),we(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 Fe(e.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),i.push(a)}if(i.push(r),e.rightDelim!=null){var s=new X("mo",[new Fe(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),i.push(s)}return qc(i)}return r},Wg=(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"),Wg({type:"genfrac",mode:r.mode,numer:i,denom:a,continued:l,hasBarLine:s,leftDelim:o,rightDelim:u,barSize:null},c)},htmlBuilder:sT,mathmlBuilder:oT});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 Z1=["display","text","script","scriptscript"],eg=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=vo(t[0]),s=a.type==="atom"&&a.family==="open"?eg(a.text):null,o=vo(t[1]),u=o.type==="atom"&&o.family==="close"?eg(o.text):null,l=ge(t[2],"size"),c,h=null;l.isBlank?c=!0:(h=l.value,c=h.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=Z1[Number(y.text)]}}else p=ge(p,"textord"),m=Z1[Number(p.text)];return Wg({type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:c,barSize:h,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 Kg=(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=No(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)},uT=(e,t)=>{var r=Io(e.label);return new X(e.isOver?"mover":"munder",[we(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:Kg,mathmlBuilder:uT});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:Ye(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=We(e.body,t,!1);return Tx(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tn(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:Ye(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:Ye(t[0])}},htmlBuilder(e,t){var r=We(e.body,t.withFont(""),!1);return Lr(r)},mathmlBuilder(e,t){return new X("mrow",It(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 h=l[c],m=h.indexOf("=");if(m<0)throw new J("\\htmlData key/value '"+h+"' missing equals sign");var p=h.slice(0,m),y=h.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:Ye(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)=>tn(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:Ye(t[0]),mathml:Ye(t[1])}},htmlBuilder:(e,t)=>{var r=We(e.html,t,!1);return Lr(r)},mathmlBuilder:(e,t)=>tn(e.mathml,t)});var lc=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(!dg(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 h=l[c].split("=");if(h.length===2){var m=h[1].trim();switch(h[0].trim()){case"alt":o=m;break;case"width":i=lc(m);break;case"height":a=lc(m);break;case"totalheight":s=lc(m);break;default:throw new J("Invalid key: '"+h[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 gc(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 Eg(e.dimension,t)},mathmlBuilder(e,t){var r=Re(e.dimension,t);return new Co(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",[we(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 tg=(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:Ye(t[0]),text:Ye(t[1]),script:Ye(t[2]),scriptscript:Ye(t[3])}},htmlBuilder:(e,t)=>{var r=tg(e,t),n=We(r,t,!1);return Lr(n)},mathmlBuilder:(e,t)=>{var r=tg(e,t);return tn(r,t)}});var Qg=(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 h=Te(r,n.havingStyle(i.sub()),n);u={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.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)},Xg=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&&!Xg.has(a.name)&&(o=!0);var u,l;if(a.symbol){var c=o?"Size2-Regular":"Size1-Regular",h="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(h=a.name.slice(1),a.name=h==="oiint"?"\\iint":"\\iiint"),u=pt(a.name,c,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),l=u.italic,h.length>0){var m=Tg(h+"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="\\"+h,u.classes.unshift("mop"),u.italic=l}}else if(a.body){var p=We(a.body,t,!0);p.length===1&&p[0]instanceof bt?(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(Fc(a.name[E],a.mode,t));u=G(["mop"],y,t)}var x=0,v=0;if((u instanceof bt||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?Qg(u,r,n,t,s,v,x):(x&&(u.style.position="relative",u.style.top=Z(x)),u)},Ea=(e,t)=>{var r;if(e.symbol)r=new X("mo",[Bt(e.name,e.mode)]),Xg.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new X("mo",It(e.body,t));else{r=new X("mi",[new Fe(e.name.slice(1))]);var n=new X("mo",[Bt("\u2061","text")]);e.parentIsSupSub?r=new X("mrow",[r,n]):r=Ag([r,n])}return r},lT={"\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=lT[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:fi,mathmlBuilder:Ea});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:Ye(n)}},htmlBuilder:fi,mathmlBuilder:Ea});var cT={"\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:Ea});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:Ea});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=cT[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:fi,mathmlBuilder:Ea});var Jg=(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(h=>{var m="text"in h?h.text:void 0;return typeof m=="string"?{type:"textord",mode:h.mode,text:m}:h}),u=We(o,t.withFont("mathrm"),!0),l=0;l<u.length;l++){var c=u[l];c instanceof bt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=G(["mop"],u,t)}else s=G(["mop"],[],t);return i?Qg(s,r,n,t,t.style,0,0):s},fT=(e,t)=>{for(var r=It(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof Co))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 Fe?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 Fe(o)]}var u=new X("mi",r);u.setAttribute("mathvariant","normal");var l=new X("mo",[Bt("\u2061","text")]);return e.parentIsSupSub?new X("mrow",[u,l]):Ag([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:Ye(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Jg,mathmlBuilder:fT});T("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Ln({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Lr(We(e.body,t,!1)):G(["mord"],We(e.body,t,!0),t)},mathmlBuilder(e,t){return tn(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 Fe("\u203E")]);r.setAttribute("stretchy","true");var n=new X("mover",[we(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:Ye(n)}},htmlBuilder:(e,t)=>{var r=We(e.body,t.withPhantom(),!1);return Lr(r)},mathmlBuilder:(e,t)=>{var r=It(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=It(Ye(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",[we(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 Zg(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 Lr(n)}var rg=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],hT=(e,t)=>{var r=t.havingSize(e.size);return Zg(e.body,r,t)};ne({type:"sizing",names:rg,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:rg.indexOf(n)+1,body:a}},htmlBuilder:hT,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=It(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=_o(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",[we(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}=Jx(o,t),h=u.height-l;h>r.height+r.depth+s&&(s=(s+h-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",[we(r,t),we(n,t)]):new X("msqrt",[we(r,t)])}});var Nc={display:pe.DISPLAY,text:pe.TEXT,script:pe.SCRIPT,scriptscript:pe.SCRIPTSCRIPT};function dT(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(!dT(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("")),Zg(e.body,n,t)},mathmlBuilder(e,t){var r=Nc[e.style],n=t.havingStyle(r);e.resetFont&&(n=n.withFont(""));var i=It(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 mT=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?Jg:null}else{if(n.type==="accent")return Nr(n.base)?Hc:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Kg:null}else return null}else return null};Ln({type:"supsub",htmlBuilder(e,t){var r=mT(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,h=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||(h=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 I=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(s instanceof bt||I){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),h=Math.max(h,l.sub2);var _=l.defaultRuleThickness,U=4*_;if(c-o.depth-(u.height-h)<U){h=U-(c-o.depth)+u.height;var H=.8*l.xHeight-(c-o.depth);H>0&&(c+=H,h-=H)}var F=[{type:"elem",elem:u,shift:h,marginRight:v,marginLeft:w},{type:"elem",elem:o,shift:-c,marginRight:v}];q=xe({positionType:"individualShift",children:F})}else if(u){h=Math.max(h,l.sub1,u.height-.8*l.xHeight);var R=[{type:"elem",elem:u,marginLeft:w,marginRight:v}];q=xe({positionType:"shift",positionData:h,children:R})}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=wc(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=[we(e.base,t)];e.sub&&a.push(we(e.sub,t)),e.sup&&a.push(we(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)}});Ln({type:"atom",htmlBuilder(e,t){return Fc(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new X("mo",[Bt(e.text,e.mode)]);if(e.family==="bin"){var n=Uc(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 e2={mi:"italic",mn:"normal",mtext:"normal"};Ln({type:"mathord",htmlBuilder(e,t){return Do(e,t,"mathord")},mathmlBuilder(e,t){var r=new X("mi",[Bt(e.text,e.mode,t)]),n=Uc(e,t)||"italic";return n!==e2[r.type]&&r.setAttribute("mathvariant",n),r}});Ln({type:"textord",htmlBuilder(e,t){return Do(e,t,"textord")},mathmlBuilder(e,t){var r=Bt(e.text,e.mode,t),n=Uc(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!==e2[i.type]&&i.setAttribute("mathvariant",n),i}});var cc={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fc={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ln({type:"spacing",htmlBuilder(e,t){if(fc.hasOwnProperty(e.text)){var r=fc[e.text].className||"";if(e.mode==="text"){var n=Do(e,t,"textord");return n.classes.push(r),n}else return G(["mspace",r],[Fc(e.text,e.mode,t)],t)}else{if(cc.hasOwnProperty(e.text))return G(["mspace",cc[e.text]],[],t);throw new J('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(fc.hasOwnProperty(e.text))r=new X("mtext",[new Fe("\xA0")]);else{if(cc.hasOwnProperty(e.text))return new X("mspace");throw new J('Unknown type of space "'+e.text+'"')}return r}});var ng=()=>{var e=new X("mtd",[]);return e.setAttribute("width","50%"),e};Ln({type:"tag",mathmlBuilder(e,t){var r=new X("mtable",[new X("mtr",[ng(),new X("mtd",[tn(e.body,t)]),ng(),new X("mtd",[tn(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var ig={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ag={"\\textbf":"textbf","\\textmd":"textmd"},pT={"\\textit":"textit","\\textup":"textup"},sg=(e,t)=>{var r=e.font;if(r){if(ig[r])return t.withTextFontFamily(ig[r]);if(ag[r])return t.withTextFontWeight(ag[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(pT[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:Ye(i),font:n}},htmlBuilder(e,t){var r=sg(e,t),n=We(e.body,r,!0);return G(["mord","text"],n,r)},mathmlBuilder(e,t){var r=sg(e,t);return tn(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 Fe("\u203E")]);r.setAttribute("stretchy","true");var n=new X("munder",[we(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",[we(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=og(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push(pt(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return G(["mord","text"].concat(i.sizingClasses(t)),yg(n),i)},mathmlBuilder(e,t){var r=new Fe(og(e)),n=new X("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var og=e=>e.body.replace(/ /g,e.star?"\u2423":"\xA0"),Qr=vg,t2=`[ \r
404
+ ]`,gT="\\\\[a-zA-Z@]+",bT="\\\\[^\uD800-\uDFFF]",yT="("+gT+")"+t2+"*",ET=`\\\\(
405
+ |[ \r ]+
406
+ ?)[ \r ]*`,_c="[\u0300-\u036F]",xT=new RegExp(_c+"+$"),TT="("+t2+"+)|"+(ET+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(_c+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(_c+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+yT)+("|"+bT+")"),wo=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(TT,"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 vt(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 vt(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
407
+ `,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 vt(this,r,this.tokenRegex.lastIndex))}},Lc=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}},vT=Yg;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 ug={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=ug[t.text],n==null||n>=r)throw new J("Invalid base-"+r+" digit "+t.text);for(var i;(i=ug[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var jc=(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=>jc(e,!1,!0,!1));T("\\renewcommand",e=>jc(e,!0,!1,!1));T("\\providecommand",e=>jc(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),Qr[r],_e.math[r],_e.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 lg={",":"\\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"},CT=new Set(["bin","rel"]);T("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in lg?t=lg[r]:(r.slice(0,4)==="\\not"||r in _e.math&&CT.has(_e.math[r].group))&&(t="\\dotsb"),t});var $c={")":!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 $c?"\\ldots\\,":"\\ldots"});T("\\dotsc",function(e){var t=e.future().text;return t in $c&&t!==","?"\\ldots\\,":"\\ldots"});T("\\cdots",function(e){var t=e.future().text;return t in $c?"\\@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 r2=Z(or["Main-Regular"][84][1]-.7*or["Main-Regular"][65][1]);T("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+r2+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");T("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+r2+"}{\\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 n2=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=h=>m=>{e&&(m.macros.set("|",s),i.length&&m.macros.set("\\|",o));var p=h;if(!h&&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",n2(!1));T("\\bra@set",n2(!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 i2={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Pc=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 Lc(vT,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new wo(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("",vt.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,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 wo(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)||Qr.hasOwnProperty(t)||_e.math.hasOwnProperty(t)||_e.text.hasOwnProperty(t)||i2.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Qr.hasOwnProperty(t)&&!Qr[t].primitive}},cg=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,po=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"}),hc={"\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"}},fg={\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 Pc(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&&Qr[i.text]&&Qr[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(po[a.text]){var l=cg.test(a.text),c=[];for(c.push(new St(po[a.text])),this.consume();;){var h=this.fetch().text;if(!po[h]||cg.test(h)!==l)break;c.unshift(new St(po[h])),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=Qr[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=Qr[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(!dg(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:vt.range(n,u),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!i2.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:vt.range(i,o),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:vt.range(i,s),text:"--"}),r-=1)}(a==="'"||a==="`")&&s.text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:vt.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 --
408
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}fg.hasOwnProperty(r[0])&&!_e[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=fg[r[0]]+r.slice(1));var a=xT.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var s;if(_e[this.mode][r]){this.settings.strict&&this.mode==="math"&&bc.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=_e[this.mode][r].group,u=vt.range(t),l;Hx(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&&(hg(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:vt.range(t),text:r};else return null;if(this.consume(),a)for(var c=0;c<a[0].length;c++){var h=a[0][c];if(!hc[h])throw new J("Unknown accent ' "+h+"'",t);var m=hc[h][this.mode]||hc[h].text;if(!m)throw new J("Accent "+h+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:vt.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}};ko.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Gc=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},a2=function(t,r,n){r.textContent="";var i=Wc(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."),a2=function(){throw new J("KaTeX doesn't work in quirks mode.")});var AT=function(t,r){var n=Wc(t,r).toMarkup();return n},wT=function(t,r){var n=new ma(r);return Gc(t,n)},s2=function(t,r,n){if(n.throwOnError||!(t instanceof J))throw t;var i=G(["katex-error"],[new bt(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},Wc=function(t,r){var n=new ma(r);try{var i=Gc(t,n);return Px(i,t,n)}catch(a){return s2(a,t,n)}},kT=function(t,r){var n=new ma(r);try{var i=Gc(t,n);return Ox(i,t,n)}catch(a){return s2(a,t,n)}},ST="0.16.47",DT={Span:Zr,Anchor:oi,SymbolNode:bt,SvgNode:Qt,PathNode:ur,LineNode:ga},Kc={version:ST,render:a2,renderToString:AT,ParseError:J,SETTINGS_SCHEMA:dc,__parse:wT,__renderToDomTree:Wc,__renderToHTMLTree:kT,__setFontMetrics:mx,__defineSymbol:d,__defineFunction:ne,__defineMacro:T,__domTree:DT};var IT={},NT=[];function Bo(e){let t=e||IT;return function(r,n){jt(r,"element",function(i,a){let s=Array.isArray(i.properties.className)?i.properties.className:NT,o=s.includes("language-math"),u=s.includes("math-display"),l=s.includes("math-inline"),c=u;if(!o&&!u&&!l)return;let h=a[a.length-1],m=i;if(i.tagName==="code"&&o&&h&&h.type==="element"&&h.tagName==="pre"&&(m=h,h=a[a.length-2],c=!0),!h)return;let p=Jl(m,{whitespace:"pre"}),y;try{y=Kc.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=Kc.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=Ql(y,{fragment:!0}).children);let E=h.children.indexOf(m);return h.children.splice(E,1,...y),zr})}}var OT=typeof self=="object"?self:globalThis,o2=(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 OT[e](t)},RT=(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(o2(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(o2(a,s),i)};return n},Jc=e=>RT(new Map,e)(0);var hi="",{toString:MT}={},{keys:FT}=Object,xa=e=>{let t=typeof e;if(t!=="object"||!e)return[0,t];let r=MT.call(e).slice(8,-1);switch(r){case"Array":return[1,hi];case"Object":return[2,hi];case"Date":return[3,hi];case"RegExp":return[4,hi];case"Map":return[5,hi];case"Set":return[6,hi];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},Uo=([e,t])=>e===0&&(t==="function"||t==="symbol"),BT=(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]=xa(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=[],h=i([o,c],s);for(let m of s)c.push(a(m));return h}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=[],h=i([o,c],s);for(let m of FT(s))(e||!Uo(xa(s[m])))&&c.push([a(m),a(s[m])]);return h}case 3:return i([o,s.toISOString()],s);case 4:{let{source:c,flags:h}=s;return i([o,{source:c,flags:h}],s)}case 5:{let c=[],h=i([o,c],s);for(let[m,p]of s)(e||!(Uo(xa(m))||Uo(xa(p))))&&c.push([a(m),a(p)]);return h}case 6:{let c=[],h=i([o,c],s);for(let m of s)(e||!Uo(xa(m)))&&c.push(a(m));return h}}let{message:l}=s;return i([o,{name:u,message:l}],s)};return a},Zc=(e,{json:t,lossy:r}={})=>{let n=[];return BT(!(t||r),!!t,new Map,n)(e),n};var Pr=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Jc(Zc(e,t)):structuredClone(e):(e,t)=>Jc(Zc(e,t));var h2={}.hasOwnProperty;function di(e,t){let r=t||{};function n(i,...a){let s=n.invalid,o=n.handlers;if(i&&h2.call(i,e)){let u=String(i[e]);s=h2.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 qT={},UT={}.hasOwnProperty,d2=di("type",{handlers:{root:HT,element:$T,text:YT,comment:jT,doctype:VT}});function ef(e,t){let n=(t||qT).space;return d2(e,n==="svg"?Rt:wr)}function HT(e,t){let r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=tf(e.children,r,t),mi(e,r),r}function zT(e,t){let r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=tf(e.children,r,t),mi(e,r),r}function VT(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return mi(e,t),t}function YT(e){let t={nodeName:"#text",value:e.value,parentNode:null};return mi(e,t),t}function jT(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return mi(e,t),t}function $T(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"&&UT.call(e.properties,a)){let u=GT(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=tf(e.children,o,n),mi(e,o),e.tagName==="template"&&e.content&&(o.content=zT(e.content,n)),o}function GT(e,t,r){let n=Ar(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?Ms(r):Fs(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 tf(e,t,r){let n=-1,i=[];if(e)for(;++n<e.length;){let a=d2(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 Ho=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var Pn=m2("end"),qt=m2("start");function m2(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 rf(e){let t=qt(e),r=Pn(e);if(t&&r)return{start:t,end:r}}var WT=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,KT=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),p2={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function zo(e,t){let r=av(e),n=di("type",{handlers:{root:QT,element:XT,text:JT,comment:b2,doctype:ZT,raw:tv},unknown:rv}),i={parser:r?new kr(p2):kr.getFragmentParser(void 0,p2),handle(o){n(o,i)},stitches:!1,options:t||{}};n(e,i),pi(i,qt());let a=r?i.parser.document:i.parser.getFragment(),s=Qi(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 h=l.children;return h[u]=c.value.stitch,u}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function g2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function QT(e,t){g2(e.children,t)}function XT(e,t){nv(e,t),g2(e.children,t),iv(e,t)}function JT(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let r={type:Vr.TokenType.CHARACTER,chars:e.value,location:Ta(e)};pi(t,qt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ZT(e,t){let r={type:Vr.TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Ta(e)};pi(t,qt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function ev(e,t){t.stitches=!0;let r=sv(e);if("children"in e&&"children"in r){let n=zo({type:"root",children:e.children},t.options);r.children=n.children}b2({type:"comment",value:{stitch:r}},t)}function b2(e,t){let r=e.value,n={type:Vr.TokenType.COMMENT,data:r,location:Ta(e)};pi(t,qt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tv(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,y2(t,qt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(WT,"&lt;$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 rv(e,t){let r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))ev(r,t);else{let n="";throw KT.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){y2(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 y2(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 nv(e,t){let r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ne.PLAINTEXT)return;pi(t,qt(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=ef({...e,children:[]},{space:i===rr.svg?"svg":"html"}),s={type:Vr.TokenType.START_TAG,tagName:r,tagID:Ji.getTagID(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:Ta(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function iv(e,t){let r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Ho.includes(r)||t.parser.tokenizer.state===Ne.PLAINTEXT)return;pi(t,Pn(e));let n={type:Vr.TokenType.END_TAG,tagName:r,tagID:Ji.getTagID(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Ta(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 av(e){let t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Ta(e){let t=qt(e)||{line:void 0,column:void 0,offset:void 0},r=Pn(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 sv(e){return"children"in e?Pr({...e,children:[]}):Pr(e)}function Vo(e){return function(t,r){return zo(t,{...e,file:r})}}var E2=/[\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 ov=Object.hasOwnProperty,va=class{constructor(){this.occurrences,this.reset()}slug(t,r){let n=this,i=uv(t,r===!0),a=i;for(;ov.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 uv(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(E2,"").replace(/ /g,"-"))}function nf(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 af(e){return"children"in e?x2(e):"value"in e?e.value:""}function lv(e){return e.type==="text"?e.value:"children"in e?x2(e):""}function x2(e){let t=-1,r=[];for(;++t<e.children.length;)r[t]=lv(e.children[t]);return r.join("")}var cv={},T2=new va;function Yo(e){let r=(e||cv).prefix||"";return function(n){T2.reset(),Kt(n,"element",function(i){nf(i)&&!i.properties.id&&(i.properties.id=r+T2.slug(af(i)))})}}var fv=/["&'<>`]/g,hv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,mv=/[|\\{}()[\]^$+*?.]/g,v2=new WeakMap;function sf(e,t){if(e=e.replace(t.subset?pv(t.subset):fv,n),t.subset||t.escapeOnly)return e;return e.replace(hv,r).replace(dv,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 pv(e){let t=v2.get(e);return t||(t=gv(e),v2.set(e,t)),t}function gv(e){let t=[],r=-1;for(;++r<e.length;)t.push(e[r].replace(mv,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}var bv=/[\dA-Fa-f]/;function C2(e,t,r){let n="&#x"+e.toString(16).toUpperCase();return r&&t&&!bv.test(String.fromCharCode(t))?n:n+";"}var yv=/\d/;function A2(e,t,r){let n="&#"+String(e);return r&&t&&!yv.test(String.fromCharCode(t))?n:n+";"}var jo=["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 $o={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 w2=["cent","copy","divide","gt","lt","not","para","times"];var k2={}.hasOwnProperty,of={},Go;for(Go in $o)k2.call($o,Go)&&(of[$o[Go]]=Go);var Ev=/[^\dA-Za-z]/;function S2(e,t,r,n){let i=String.fromCharCode(e);if(k2.call(of,i)){let a=of[i],s="&"+a;return r&&jo.includes(a)&&!w2.includes(a)&&(!n||t&&t!==61&&Ev.test(String.fromCharCode(t)))?s:s+";"}return""}function D2(e,t,r){let n=C2(e,t,r.omitOptionalSemicolons),i;if((r.useNamedReferences||r.useShortestReferences)&&(i=S2(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!i)&&r.useShortestReferences){let a=A2(e,t,r.omitOptionalSemicolons);a.length<n.length&&(n=a)}return i&&(!r.useShortestReferences||i.length<n.length)?i:n}function I2(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Or(e,t){return sf(e,Object.assign({format:D2},t))}function N2(e,t){return sf(e,Object.assign({format:I2},t))}var xv=/^>|^->|<!--|-->|--!>|<!-$/g,Tv=[">"],vv=["<",">"];function _2(e,t,r,n){return n.settings.bogusComments?"<?"+Or(e.value,Object.assign({},n.settings.characterReferences,{subset:Tv}))+">":"<!--"+e.value.replace(xv,i)+"-->";function i(a){return Or(a,Object.assign({},n.settings.characterReferences,{subset:vv}))}}function L2(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=P2(1),uf=P2(-1),Cv=[];function P2(e){return t;function t(r,n,i){let a=r?r.children:Cv,s=(n||0)+e,o=a[s];if(!i)for(;o&&kt(o);)s+=e,o=a[s];return o}}var Av={}.hasOwnProperty;function Wo(e){return t;function t(r,n,i){return Av.call(e,r.tagName)&&e[r.tagName](r,n,i)}}var Ca=Wo({body:kv,caption:lf,colgroup:lf,dd:Nv,dt:Iv,head:lf,html:wv,li:Dv,optgroup:_v,option:Lv,p:Sv,rp:O2,rt:O2,tbody:Ov,td:R2,tfoot:Rv,th:R2,thead:Pv,tr:Mv});function lf(e,t,r){let n=Ue(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&kt(n.value.charAt(0)))}function wv(e,t,r){let n=Ue(r,t);return!n||n.type!=="comment"}function kv(e,t,r){let n=Ue(r,t);return!n||n.type!=="comment"}function Sv(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 Dv(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&n.tagName==="li"}function Iv(e,t,r){let n=Ue(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function Nv(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function O2(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function _v(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function Lv(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function Pv(e,t,r){let n=Ue(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function Ov(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function Rv(e,t,r){return!Ue(r,t)}function Mv(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function R2(e,t,r){let n=Ue(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}var M2=Wo({body:qv,colgroup:Uv,head:Bv,html:Fv,tbody:Hv});function Fv(e){let t=Ue(e,-1);return!t||t.type!=="comment"}function Bv(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 qv(e){let t=Ue(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&kt(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Uv(e,t,r){let n=uf(r,t),i=Ue(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&Ca(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}function Hv(e,t,r){let n=uf(r,t),i=Ue(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&Ca(n,r.children.indexOf(n),r)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}var Ko={name:[[`
409
+ \f\r &/=>`.split(""),`
410
+ \f\r "&'/=>\``.split("")],[`\0
411
+ \f\r "&'/<=>`.split(""),`\0
412
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
413
+ \f\r &>`.split(""),`\0
414
+ \f\r "&'<=>\``.split("")],[`\0
415
+ \f\r "&'<=>\``.split(""),`\0
416
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function F2(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=zv(n,e.properties),c=n.all(i.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=i,c&&(s=!1),(l||!a||!M2(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||!Ca(e,t,r))&&o.push("</"+e.tagName+">"),o.join("")}function zv(e,t){let r=[],n=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let a=Vv(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 Vv(e,t,r){let n=Ar(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=Or(n.attribute,Object.assign({},e.settings.characterReferences,{subset:Ko.name[i][a]}));return r===!0||(r=Array.isArray(r)?(n.commaSeparated?Ms:Fs)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?u:(e.settings.preferUnquoted&&(o=Or(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Ko.unquoted[i][a]}))),o!==r&&(e.settings.quoteSmart&&Rr(r,s)>Rr(r,e.alternative)&&(s=e.alternative),o=s+Or(r,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Ko.single:Ko.double)[i][a],attribute:!0}))+s),u+(o&&"="+o))}var Yv=["<","&"];function Qo(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:Or(e.value,Object.assign({},n.settings.characterReferences,{subset:Yv}))}function B2(e,t,r,n){return n.settings.allowDangerousHtml?e.value:Qo(e,t,r,n)}function q2(e,t,r,n){return n.all(e)}var U2=di("type",{invalid:jv,unknown:$v,handlers:{comment:_2,doctype:L2,element:F2,raw:B2,root:q2,text:Qo}});function jv(e){throw new Error("Expected node, not `"+e+"`")}function $v(e){let t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}var Gv={},Wv={},Kv=[];function cf(e,t){let r=t||Gv,n=r.quote||'"',i=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:Qv,all:Xv,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||Ho,characterReferences:r.characterReferences||Wv,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Rt:wr,quote:n,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Qv(e,t,r){return U2(e,t,r,this)}function Xv(e){let t=[],r=e&&e.children||Kv,n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}function Xo(e){let t=this,r={...t.data("settings"),...e};t.compiler=n;function n(i){return cf(i,r)}}var ff={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 Jo(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=48&&t<=57}function H2(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function z2(e){let t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function hf(e){return z2(e)||Jo(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:`
417
+ `,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 Jv={}.hasOwnProperty;function Mr(e){return Jv.call(df,e)?df[e]:!1}var Zv=["","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 Aa(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,h=(u?u.column:0)||1,m=y(),p;for(a--;++a<=e.length;)if(p===10&&(h=(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),h++;continue}let w=a+1,I=w,B=w,q;if(v===35){B=++I;let W=e.charCodeAt(B);W===88||W===120?(q="hexadecimal",B=++I):q="decimal"}else q="named";let _="",U="",H="",F=q==="named"?hf:q==="decimal"?Jo:H2;for(B--;++B<=e.length;){let W=e.charCodeAt(B);if(!F(W))break;H+=String.fromCharCode(W),q==="named"&&jo.includes(H)&&(_=H,U=Mr(H))}let R=e.charCodeAt(B)===59;if(R){B++;let W=q==="named"?Mr(H):!1;W&&(_=H,U=W)}let ue=1+B-w,ee="";if(!(!R&&r.nonTerminated===!1))if(!H)q!=="named"&&E(4,ue);else if(q==="named"){if(R&&!U)E(5,1);else if(_!==H&&(B=I+_.length,ue=1+B-I,R=!1),!R){let W=_?1:3;if(r.attribute){let se=e.charCodeAt(B);se===61?(E(W,ue),U=""):hf(se)?U="":E(W,ue)}else E(W,ue)}ee=U}else{R||E(2,ue);let W=Number.parseInt(H,q==="hexadecimal"?16:10);if(eC(W))E(7,ue),ee="\uFFFD";else if(W in ff)E(6,ue),ee=ff[W];else{let se="";tC(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,h+=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,h+=H.length,a=B-1}else p===10&&(c++,s++,h=0),Number.isNaN(p)?x():(o+=String.fromCharCode(p),h++);return i.join("");function y(){return{line:c,column:h,offset:a+((u?u.offset:0)||0)}}function E(v,w){let I;r.warning&&(I=y(),I.column+=w,I.offset+=w,r.warning.call(r.warningContext||void 0,Zv[v],I,v))}function x(){o&&(i.push(o),r.text&&r.text.call(r.textContext||void 0,o,{start:m,end:y()}),o="")}}function eC(e){return e>=55296&&e<=57343||e>1114111}function tC(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 rC={}.hasOwnProperty,nC={},V2=/^[^\t\n\r "#'.<=>`}]+$/,iC=/^[^\t\n\r "'<=>`}]+$/;function vf(){return{canContainEols:["textDirective"],enter:{directiveContainer:aC,directiveContainerAttributes:pf,directiveContainerLabel:uC,directiveLeaf:sC,directiveLeafAttributes:pf,directiveText:oC,directiveTextAttributes:pf},exit:{directiveContainer:Tf,directiveContainerAttributeClassValue:bf,directiveContainerAttributeIdValue:gf,directiveContainerAttributeName:Ef,directiveContainerAttributeValue:yf,directiveContainerAttributes:xf,directiveContainerLabel:lC,directiveContainerName:mf,directiveLeaf:Tf,directiveLeafAttributeClassValue:bf,directiveLeafAttributeIdValue:gf,directiveLeafAttributeName:Ef,directiveLeafAttributeValue:yf,directiveLeafAttributes:xf,directiveLeafName:mf,directiveText:Tf,directiveTextAttributeClassValue:bf,directiveTextAttributeIdValue:gf,directiveTextAttributeName:Ef,directiveTextAttributeValue:yf,directiveTextAttributes:xf,directiveTextName:mf}}}function Cf(e){let t=e||nC;if(t.quote!=='"'&&t.quote!=="'"&&t.quote!==null&&t.quote!==void 0)throw new Error("Invalid quote `"+t.quote+"`, expected `'` or `\"`");return r.peek=cC,{handlers:{containerDirective:r,leafDirective:r,textDirective:r},unsafe:[{character:"\r",inConstruct:["leafDirectiveLabel","containerDirectiveLabel"]},{character:`
418
+ `,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=fC(a),h=o.enter(a.type),m=l.move(c+(a.name||"")),p;if(a.type==="containerDirective"){let y=(a.children||[])[0];p=Y2(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;Y2(y)&&(E=Object.assign({},a,{children:a.children.slice(1)})),E&&E.children&&E.children.length>0&&(m+=l.move(`
419
+ `),m+=l.move(o.containerFlow(E,l.current()))),m+=l.move(`
420
+ `+c)}return h(),m}function n(a,s){let o=a.attributes||{},u=[],l,c,h,m;for(m in o)if(rC.call(o,m)&&o[m]!==void 0&&o[m]!==null){let p=String(o[m]);if(m==="id")h=t.preferShortcut!==!1&&V2.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&&V2.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),h&&u.unshift(h),u.length>0?"{"+u.join(" ")+"}":""}function i(a,s,o,u){if(t.collapseEmptyAttributes!==!1&&!s)return a;if(t.preferUnquoted&&iC.test(s))return a+"="+s;let l=t.quote||u.options.quote||'"',c=l==='"'?"'":'"',h=t.quoteSmart&&Rr(s,l)>Rr(s,c)?c:l,m=o.type==="textDirective"?[h]:[h,`
421
+ `,"\r"];return a+"="+h+N2(s,{subset:m})+h}}function aC(e){Af.call(this,"containerDirective",e)}function sC(e){Af.call(this,"leafDirective",e)}function oC(e){Af.call(this,"textDirective",e)}function Af(e,t){this.enter({type:e,name:"",attributes:{},children:[]},t)}function mf(e){let t=this.stack[this.stack.length-1];t.type==="containerDirective"||t.type==="leafDirective"||t.type,t.name=this.sliceSerialize(e)}function uC(e){this.enter({type:"paragraph",data:{directiveLabel:!0},children:[]},e)}function lC(e){this.exit(e)}function pf(){this.data.directiveAttributes=[],this.buffer()}function gf(e){let t=this.data.directiveAttributes;t.push(["id",Aa(this.sliceSerialize(e),{attribute:!0})])}function bf(e){let t=this.data.directiveAttributes;t.push(["class",Aa(this.sliceSerialize(e),{attribute:!0})])}function yf(e){let t=this.data.directiveAttributes;t[t.length-1][1]=Aa(this.sliceSerialize(e),{attribute:!0})}function Ef(e){let t=this.data.directiveAttributes;t.push([this.sliceSerialize(e),""])}function xf(){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 Tf(e){this.exit(e)}function cC(){return":"}function Y2(e){return!!(e&&e.type==="paragraph"&&e.data&&e.data.directiveLabel)}function fC(e){let t=0;return e.type==="containerDirective"?(jt(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=nn(/[A-Za-z]/),Be=nn(/[\dA-Za-z]/),j2=nn(/[#-'*+\--9=?A-Z^-~]/);function On(e){return e!==null&&(e<32||e===127)}var wa=nn(/\d/),$2=nn(/[\dA-Fa-f]/),G2=nn(/[!-/:-@[-`{-~]/);function j(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=nn(/\p{P}|\p{S}/u),ot=nn(/\s/);function nn(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 Ut(e,t){let r;return n;function n(i){return j(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,h,m,p,y){let E,x;return v;function v(O){return e.enter(n),e.enter(i),e.consume(O),e.exit(i),w}function w(O){return O===35?(E=s,I(O)):O===46?(E=o,I(O)):y&&oe(O)?ie(e,w,"whitespace")(O):!y&&me(O)?Ut(e,w)(O):O===null||j(O)||ot(O)||Nt(O)&&O!==45&&O!==95?se(O):(e.enter(a),e.enter(u),e.consume(O),_)}function I(O){let ce=E+"Marker";return e.enter(a),e.enter(E),e.enter(ce),e.consume(O),e.exit(ce),B}function B(O){if(O===null||O===34||O===35||O===39||O===46||O===60||O===61||O===62||O===96||O===125||me(O))return r(O);let ce=E+"Value";return e.enter(ce),e.consume(O),q}function q(O){if(O===null||O===34||O===39||O===60||O===61||O===62||O===96)return r(O);if(O===35||O===46||O===125||me(O)){let ce=E+"Value";return e.exit(ce),e.exit(E),e.exit(a),w(O)}return e.consume(O),q}function _(O){return O===null||j(O)||ot(O)||Nt(O)&&O!==45&&O!==46&&O!==58&&O!==95?(e.exit(u),y&&oe(O)?ie(e,U,"whitespace")(O):!y&&me(O)?Ut(e,U)(O):U(O)):(e.consume(O),_)}function U(O){return O===61?(e.enter(l),e.consume(O),e.exit(l),H):(e.exit(a),w(O))}function H(O){return O===null||O===60||O===61||O===62||O===96||O===125||y&&j(O)?r(O):O===34||O===39?(e.enter(c),e.enter(m),e.consume(O),e.exit(m),x=O,R):y&&oe(O)?ie(e,H,"whitespace")(O):!y&&me(O)?Ut(e,H)(O):(e.enter(h),e.enter(p),e.consume(O),x=void 0,F)}function F(O){return O===null||O===34||O===39||O===60||O===61||O===62||O===96?r(O):O===125||me(O)?(e.exit(p),e.exit(h),e.exit(a),w(O)):(e.consume(O),F)}function R(O){return O===x?(e.enter(m),e.consume(O),e.exit(m),e.exit(c),e.exit(a),W):(e.enter(h),ue(O))}function ue(O){return O===x?(e.exit(h),R(O)):O===null?r(O):j(O)?y?r(O):Ut(e,ue)(O):(e.enter(p),e.consume(O),ee)}function ee(O){return O===x||O===null||j(O)?(e.exit(p),ue(O)):(e.consume(O),ee)}function W(O){return O===125||me(O)?w(O):se(O)}function se(O){return O===125?(e.enter(i),e.consume(O),e.exit(i),e.exit(n),t):r(O)}}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),h}function h(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)):j(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||j(o)||Nt(o)||ot(o)?r(o):(e.enter(n),e.consume(o),s)}function s(o){return o===null||j(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 W2={tokenize:mC,concrete:!0},hC={tokenize:pC,partial:!0},dC={tokenize:gC,partial:!0},Zo={tokenize:bC,partial:!0};function mC(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(hC,h,h)(F):h(F)}function h(F){return F===123?e.attempt(dC,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):j(F)?n.interrupt?t(F):e.attempt(Zo,y,U)(F):r(F)}function y(F){return F===null?U(F):j(F)?e.check(Zo,I,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):j(F)?e.check(Zo,w,_)(F):w(F)}function v(F){if(F===null){let R=e.exit("chunkDocument");return n.parser.lazy[R.start.line]=!1,_(F)}return j(F)?e.check(Zo,B,q)(F):(e.consume(F),v)}function w(F){let R=e.enter("chunkDocument",{contentType:"document",previous:o});return o&&(o.next=R),o=R,v(F)}function I(F){return e.enter("directiveContainerContent"),E(F)}function B(F){e.consume(F);let R=e.exit("chunkDocument");return n.parser.lazy[R.start.line]=!1,E}function q(F){let R=e.exit("chunkDocument");return n.parser.lazy[R.start.line]=!1,_(F)}function _(F){return e.exit("directiveContainerContent"),U(F)}function U(F){return e.exit("directiveContainer"),t(F)}function H(F,R,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,O,"whitespace")(ce))}function O(ce){return ce===null||j(ce)?(F.exit("directiveContainerFence"),R(ce)):ue(ce)}}}function pC(e,t,r){return bi(e,t,r,"directiveContainerLabel","directiveContainerLabelMarker","directiveContainerLabelString",!0)}function gC(e,t,r){return gi(e,t,r,"directiveContainerAttributes","directiveContainerAttributesMarker","directiveContainerAttribute","directiveContainerAttributeId","directiveContainerAttributeClass","directiveContainerAttributeName","directiveContainerAttributeInitializerMarker","directiveContainerAttributeValueLiteral","directiveContainerAttributeValue","directiveContainerAttributeValueMarker","directiveContainerAttributeValueData",!0)}function bC(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 K2={tokenize:xC},yC={tokenize:TC,partial:!0},EC={tokenize:vC,partial:!0};function xC(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(yC,o,o)(c):o(c)}function o(c){return c===123?e.attempt(EC,u,u)(c):u(c)}function u(c){return ie(e,l,"whitespace")(c)}function l(c){return c===null||j(c)?(e.exit("directiveLeaf"),t(c)):r(c)}}function TC(e,t,r){return bi(e,t,r,"directiveLeafLabel","directiveLeafLabelMarker","directiveLeafLabelString",!0)}function vC(e,t,r){return gi(e,t,r,"directiveLeafAttributes","directiveLeafAttributesMarker","directiveLeafAttribute","directiveLeafAttributeId","directiveLeafAttributeClass","directiveLeafAttributeName","directiveLeafAttributeInitializerMarker","directiveLeafAttributeValueLiteral","directiveLeafAttributeValue","directiveLeafAttributeValueMarker","directiveLeafAttributeValueData",!0)}var Q2={tokenize:kC,previous:wC},CC={tokenize:SC,partial:!0},AC={tokenize:DC,partial:!0};function wC(e){return e!==58||this.events[this.events.length-1][1].type==="characterEscape"}function kC(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(CC,s,s)(u):s(u)}function s(u){return u===123?e.attempt(AC,o,o)(u):o(u)}function o(u){return e.exit("directiveText"),t(u)}}function SC(e,t,r){return bi(e,t,r,"directiveTextLabel","directiveTextLabelMarker","directiveTextLabelString")}function DC(e,t,r){return gi(e,t,r,"directiveTextAttributes","directiveTextAttributesMarker","directiveTextAttribute","directiveTextAttributeId","directiveTextAttributeClass","directiveTextAttributeName","directiveTextAttributeInitializerMarker","directiveTextAttributeValueLiteral","directiveTextAttributeValue","directiveTextAttributeValueMarker","directiveTextAttributeValueData")}function wf(){return{text:{58:Q2},flow:{58:[W2,K2]}}}function eu(){let t=this.data(),r=t.micromarkExtensions||(t.micromarkExtensions=[]),n=t.fromMarkdownExtensions||(t.fromMarkdownExtensions=[]),i=t.toMarkdownExtensions||(t.toMarkdownExtensions=[]);r.push(wf()),n.push(vf()),i.push(Cf())}var J2=De(X2(),1),ka=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,J2.default)(r,...n);return new e(i)}}var tu={}.hasOwnProperty,Z2={yaml:"-",toml:"+"};function Ei(e){let t=[],r=-1,n=Array.isArray(e)?e:e?[e]:["yaml"];for(;++r<n.length;)t[r]=IC(n[r]);return t}function IC(e){let t=e;if(typeof t=="string"){if(!tu.call(Z2,t))throw ka("Missing matter definition for `%s`",t);t={type:t,marker:Z2[t]}}else if(typeof t!="object")throw ka("Expected matter to be an object, not `%j`",t);if(!tu.call(t,"type"))throw ka("Missing `type` in matter `%j`",t);if(!tu.call(t,"fence")&&!tu.call(t,"marker"))throw ka("Missing `marker` or `fence` in matter `%j`",t);return t}function Df(e){let t=Ei(e),r={},n=-1;for(;++n<t.length;){let i=t[n],a=Sf(i,"open").charCodeAt(0),s=NC(i),o=r[a];Array.isArray(o)?o.push(s):r[a]=[s]}return{flow:r}}function NC(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(h,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))?(h.enter(r),h.enter(n),h.enter(i),x(U)):p(U)}function x(U){return u===o.length?(h.exit(i),oe(U)?(h.enter("whitespace"),v(U)):w(U)):U===o.charCodeAt(u++)?(h.consume(U),x):p(U)}function v(U){return oe(U)?(h.consume(U),v):(h.exit("whitespace"),w(U))}function w(U){return j(U)?(h.exit(n),h.enter("lineEnding"),h.consume(U),h.exit("lineEnding"),o=Sf(e,"close"),u=0,h.attempt(s,_,I)):p(U)}function I(U){return U===null||j(U)?q(U):(h.enter(a),B(U))}function B(U){return U===null||j(U)?(h.exit(a),q(U)):(h.consume(U),B)}function q(U){return U===null?p(U):(h.enter("lineEnding"),h.consume(U),h.exit("lineEnding"),h.attempt(s,_,I))}function _(U){return h.exit(r),m(U)}}function c(h,m,p){let y=0;return E;function E(I){return I===o.charCodeAt(y)?(h.enter(n),h.enter(i),x(I)):p(I)}function x(I){return y===o.length?(h.exit(i),oe(I)?(h.enter("whitespace"),v(I)):w(I)):I===o.charCodeAt(y++)?(h.consume(I),x):p(I)}function v(I){return oe(I)?(h.consume(I),v):(h.exit("whitespace"),w(I))}function w(I){return I===null||j(I)?(h.exit(n),m(I)):p(I)}}}function Sf(e,t){return e.marker?e4(e.marker,t).repeat(3):e4(e.fence,t)}function e4(e,t){return typeof e=="string"?e:e[t]}function Sa(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]=_C(a),n[a.type]=LC,n[a.type+"Value"]=PC}return{enter:r,exit:n}}function _C(e){return t;function t(r){this.enter({type:e.type,value:""},r),this.buffer()}}function LC(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 PC(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function _f(e){let t=[],r={},n=Ei(e),i=-1;for(;++i<n.length;){let a=n[i];r[a.type]=OC(a);let s=If(a,"open");t.push({atBreak:!0,character:s.charAt(0),after:Sa(s.charAt(1))})}return{unsafe:t,handlers:r}}function OC(e){let t=If(e,"open"),r=If(e,"close");return n;function n(i){return t+(i.value?`
422
+ `+i.value:"")+`
423
+ `+r}}function If(e,t){return e.marker?t4(e.marker,t).repeat(3):t4(e.fence,t)}function t4(e,t){return typeof e=="string"?e:e[t]}var RC="yaml";function ru(e){let t=this,r=e||RC,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(Df(r)),a.push(Nf(r)),s.push(_f(r))}function Lf(e,t,r){let i=Pt((r||{}).ignore||[]),a=MC(t),s=-1;for(;++s<a.length;)jt(e,"text",o);function o(l,c){let h=-1,m;for(;++h<c.length;){let p=c[h],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 h=c[c.length-1],m=a[s][0],p=a[s][1],y=0,x=h.children.indexOf(l),v=!1,w=[];m.lastIndex=0;let I=m.exec(l.value);for(;I;){let B=I.index,q={index:I.index,input:I.input,stack:[...c,l]},_=p(...I,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+I[0].length,v=!0),!m.global)break;I=m.exec(l.value)}return v?(y<l.value.length&&w.push({type:"text",value:l.value.slice(y)}),h.children.splice(x,1,...w)):w=[l],x+w.length}}function MC(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([FC(i[0]),BC(i[1])])}return t}function FC(e){return typeof e=="string"?new RegExp(Sa(e),"g"):e}function BC(e){return typeof e=="function"?e:function(){return e}}var Pf="phrasing",Of=["autolink","link","image","label"];function Mf(){return{transforms:[YC],enter:{literalAutolink:qC,literalAutolinkEmail:Rf,literalAutolinkHttp:Rf,literalAutolinkWww:Rf},exit:{literalAutolink:VC,literalAutolinkEmail:zC,literalAutolinkHttp:UC,literalAutolinkWww:HC}}}function Ff(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Pf,notInConstruct:Of},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Pf,notInConstruct:Of},{character:":",before:"[ps]",after:"\\/",inConstruct:Pf,notInConstruct:Of}]}}function qC(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Rf(e){this.config.enter.autolinkProtocol.call(this,e)}function UC(e){this.config.exit.autolinkProtocol.call(this,e)}function HC(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 zC(e){this.config.exit.autolinkEmail.call(this,e)}function VC(e){this.exit(e)}function YC(e){Lf(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,jC],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,$C]],{ignore:["link","linkReference"]})}function jC(e,t,r,n,i){let a="";if(!r4(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!GC(r)))return!1;let s=WC(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 $C(e,t,r,n){return!r4(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function GC(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 WC(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 r4(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()}n4.peek=nA;function KC(){this.buffer()}function QC(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function XC(){this.buffer()}function JC(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ZC(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 eA(e){this.exit(e)}function tA(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 rA(e){this.exit(e)}function nA(){return"["}function n4(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 Bf(){return{enter:{gfmFootnoteCallString:KC,gfmFootnoteCall:QC,gfmFootnoteDefinitionLabelString:XC,gfmFootnoteDefinition:JC},exit:{gfmFootnoteCallString:ZC,gfmFootnoteCall:eA,gfmFootnoteDefinitionLabelString:tA,gfmFootnoteDefinition:rA}}}function qf(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:n4},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?`
424
+ `:" ")+a.indentLines(a.containerFlow(n,o.current()),t?i4:iA))),l(),u}}function iA(e,t,r){return t===0?e:i4(e,t,r)}function i4(e,t,r){return(r?"":" ")+e}var aA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];a4.peek=uA;function Uf(){return{canContainEols:["delete"],enter:{strikethrough:sA},exit:{strikethrough:oA}}}function Hf(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:aA}],handlers:{delete:a4}}}function sA(e){this.enter({type:"delete",children:[]},e)}function oA(e){this.exit(e)}function a4(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 uA(){return"~"}function lA(e){return e.length}function o4(e,t){let r=t||{},n=(r.align||[]).concat(),i=r.stringLength||lA,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=cA(e[c][v]);if(r.alignDelimiters!==!1){let I=i(w);x[v]=I,(u[v]===void 0||I>u[v])&&(u[v]=I)}E.push(w)}s[c]=E,o[c]=x}let h=-1;if(typeof n=="object"&&"length"in n)for(;++h<l;)a[h]=s4(n[h]);else{let E=s4(n);for(;++h<l;)a[h]=E}h=-1;let m=[],p=[];for(;++h<l;){let E=a[h],x="",v="";E===99?(x=":",v=":"):E===108?x=":":E===114&&(v=":");let w=r.alignDelimiters===!1?1:Math.max(1,u[h]-x.length-v.length),I=x+"-".repeat(w)+v;r.alignDelimiters!==!1&&(w=x.length+w+v.length,w>u[h]&&(u[h]=w),p[h]=w),m[h]=I}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];h=-1;let v=[];for(;++h<l;){let w=E[h]||"",I="",B="";if(r.alignDelimiters!==!1){let q=u[h]-(x[h]||0),_=a[h];_===114?I=" ".repeat(q):_===99?q%2?(I=" ".repeat(q/2+.5),B=" ".repeat(q/2-.5)):(I=" ".repeat(q/2),B=I):B=" ".repeat(q)}r.delimiterStart!==!1&&!h&&v.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&w==="")&&(r.delimiterStart!==!1||h)&&v.push(" "),r.alignDelimiters!==!1&&v.push(I),v.push(w),r.alignDelimiters!==!1&&v.push(B),r.padding!==!1&&v.push(" "),(r.delimiterEnd!==!1||h!==l-1)&&v.push("|")}y.push(r.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return y.join(`
425
+ `)}function cA(e){return e==null?"":String(e)}function s4(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 u4(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()),fA);return i(),s}function fA(e,t,r){return">"+(r?"":" ")+e}function c4(e,t){return l4(e,t.inConstruct,!0)&&!l4(e,t.notInConstruct,!1)}function l4(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 zf(e,t,r,n){let i=-1;for(;++i<r.unsafe.length;)if(r.unsafe[i].character===`
426
+ `&&c4(r.stack,r.unsafe[i]))return/[ \t]/.test(n.before)?"":" ";return`\\
427
+ `}function nu(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 f4(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 h4(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 d4(e,t,r,n){let i=h4(r),a=e.value||"",s=i==="`"?"GraveAccent":"Tilde";if(f4(e,r)){let h=r.enter("codeIndented"),m=r.indentLines(a,hA);return h(),m}let o=r.createTracker(n),u=i.repeat(Math.max(nu(a,i)+1,3)),l=r.enter("codeFenced"),c=o.move(u);if(e.lang){let h=r.enter(`codeFencedLang${s}`);c+=o.move(r.safe(e.lang,{before:c,after:" ",encode:["`"],...o.current()})),h()}if(e.lang&&e.meta){let h=r.enter(`codeFencedMeta${s}`);c+=o.move(" "),c+=o.move(r.safe(e.meta,{before:c,after:`
428
+ `,encode:["`"],...o.current()})),h()}return c+=o.move(`
429
+ `),a&&(c+=o.move(a+`
430
+ `)),c+=o.move(u),l(),c}function hA(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 m4(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?" ":`
431
+ `,...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 p4(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 an(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Fr(e){if(e===null||me(e)||ot(e))return 1;if(Nt(e))return 2}function Ti(e,t,r){let n=Fr(e),i=Fr(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}}Vf.peek=dA;function Vf(e,t,r,n){let i=p4(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=an(l)+u.slice(1));let h=u.charCodeAt(u.length-1),m=Ti(n.after.charCodeAt(0),h,i);m.inside&&(u=u.slice(0,-1)+an(h));let p=s.move(i);return a(),r.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},o+u+p}function dA(e,t,r){return r.options.emphasis||"*"}var mA={};function Mn(e,t){let r=t||mA,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return b4(e,n,i)}function b4(e,t,r){if(pA(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 g4(e.children,t,r)}return Array.isArray(e)?g4(e,t,r):""}function g4(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=b4(e[i],t,r);return n.join("")}function pA(e){return!!(e&&typeof e=="object")}function y4(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,kn}),!!((!e.depth||e.depth<3)&&Mn(e)&&(t.options.setext||r))}function E4(e,t,r,n){let i=Math.max(Math.min(6,e.depth||1),1),a=r.createTracker(n);if(y4(e,r)){let c=r.enter("headingSetext"),h=r.enter("phrasing"),m=r.containerPhrasing(e,{...a.current(),before:`
432
+ `,after:`
433
+ `});return h(),c(),m+`
434
+ `+(i===1?"=":"-").repeat(m.length-(Math.max(m.lastIndexOf("\r"),m.lastIndexOf(`
435
+ `))+1))}let s="#".repeat(i),o=r.enter("headingAtx"),u=r.enter("phrasing");a.move(s+" ");let l=r.containerPhrasing(e,{before:"# ",after:`
436
+ `,...a.current()});return/^[\t ]/.test(l)&&(l=an(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),u(),o(),l}Yf.peek=gA;function Yf(e){return e.value||""}function gA(){return"<"}jf.peek=bA;function jf(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 bA(){return"!"}$f.peek=yA;function $f(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 h=r.safe(r.associationId(e),{before:u,after:"]",...o.current()});return s(),r.stack=c,a(),i==="full"||!l||l!==h?u+=o.move(h+"]"):i==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function yA(){return"!"}Gf.peek=EA;function Gf(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 EA(){return"`"}function Wf(e,t){let r=Mn(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))}Kf.peek=xA;function Kf(e,t,r,n){let i=xi(r),a=i==='"'?"Quote":"Apostrophe",s=r.createTracker(n),o,u;if(Wf(e,r)){let c=r.stack;r.stack=[],o=r.enter("autolink");let h=s.move("<");return h+=s.move(r.containerPhrasing(e,{before:h,after:">",...s.current()})),h+=s.move(">"),o(),r.stack=c,h}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 xA(e,t,r){return Wf(e,r)?"<":"["}Qf.peek=TA;function Qf(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 h=r.safe(r.associationId(e),{before:u,after:"]",...o.current()});return s(),r.stack=c,a(),i==="full"||!l||l!==h?u+=o.move(h+"]"):i==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function TA(){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 x4(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 T4(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 iu(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 v4(e,t,r,n){let i=r.enter("list"),a=r.bulletCurrent,s=e.ordered?T4(r):vi(r),o=e.ordered?s==="."?")":".":x4(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),iu(r)===s&&c){let h=-1;for(;++h<e.children.length;){let m=e.children[h];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 C4(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 A4(e,t,r,n){let i=C4(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(h,m,p){return m?(p?"":" ".repeat(s))+h:(p?a:a+" ".repeat(s-a.length))+h}}function w4(e,t,r,n){let i=r.enter("paragraph"),a=r.enter("phrasing"),s=r.containerPhrasing(e,n);return a(),i(),s}var Xf=Pt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function k4(e,t,r,n){return(e.children.some(function(s){return Xf(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function S4(e){let t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Jf.peek=vA;function Jf(e,t,r,n){let i=S4(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=an(l)+u.slice(1));let h=u.charCodeAt(u.length-1),m=Ti(n.after.charCodeAt(0),h,i);m.inside&&(u=u.slice(0,-1)+an(h));let p=s.move(i+i);return a(),r.attentionEncodeSurroundingInfo={after:m.outside,before:c.outside},o+u+p}function vA(e,t,r){return r.options.strong||"*"}function D4(e,t,r,n){return r.safe(e.value,n)}function I4(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 N4(e,t,r){let n=(iu(r)+(r.options.ruleSpaces?" ":"")).repeat(I4(r));return r.options.ruleSpaces?n.slice(0,-1):n}var Da={blockquote:u4,break:zf,code:d4,definition:m4,emphasis:Vf,hardBreak:zf,heading:E4,html:Yf,image:jf,imageReference:$f,inlineCode:Gf,link:Kf,linkReference:Qf,list:v4,listItem:A4,paragraph:w4,root:k4,strong:Jf,text:D4,thematicBreak:N4};function au(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 CA=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function _4(e){return e.replace(CA,AA)}function AA(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){let i=r.charCodeAt(1),a=i===120||i===88;return au(r.slice(a?2:1),a?16:10)}return Mr(r)||e}function eh(){return{enter:{table:wA,tableData:L4,tableHeader:L4,tableRow:SA},exit:{codeText:DA,table:kA,tableData:Zf,tableHeader:Zf,tableRow:Zf}}}function wA(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 kA(e){this.exit(e),this.data.inTable=void 0}function SA(e){this.enter({type:"tableRow",children:[]},e)}function Zf(e){this.exit(e)}function L4(e){this.enter({type:"tableCell",children:[]},e)}function DA(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,IA));let r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function IA(e,t){return t==="|"?t:e}function th(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
437
+ `,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=h(p,E,x),w=l([v]);return w.slice(0,w.indexOf(`
438
+ `))}function u(p,y,E,x){let v=E.enter("tableCell"),w=E.enter("phrasing"),I=E.containerPhrasing(p,{...x,before:a,after:a});return w(),v(),I}function l(p,y){return o4(p,{align:y,alignDelimiters:n,padding:r,stringLength:i})}function c(p,y,E){let x=p.children,v=-1,w=[],I=y.enter("table");for(;++v<x.length;)w[v]=h(x[v],y,E);return I(),w}function h(p,y,E){let x=p.children,v=-1,w=[],I=y.enter("tableRow");for(;++v<x.length;)w[v]=u(x[v],p,y,E);return I(),w}function m(p,y,E){let x=Da.inlineCode(p,y,E);return E.stack.includes("tableCell")&&(x=x.replace(/\|/g,"\\$&")),x}}function rh(){return{exit:{taskListCheckValueChecked:P4,taskListCheckValueUnchecked:P4,paragraph:NA}}}function nh(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:_A}}}function P4(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function NA(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 _A(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=Da.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 ih(){return[Mf(),Bf(),Uf(),eh(),rh()]}function ah(e){return{extensions:[Ff(),qf(e),Hf(),th(e),nh()]}}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 Et(e,t){return e.length>0?(He(e,e.length,0,t),e):t}var O4={}.hasOwnProperty;function su(e){let t={},r=-1;for(;++r<e.length;)LA(t,e[r]);return t}function LA(e,t){let r;for(r in t){let i=(O4.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r],s;if(a)for(s in a){O4.call(i,s)||(i[s]=[]);let o=a[s];PA(i[s],Array.isArray(o)?o:o?[o]:[])}}}function PA(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 OA={tokenize:qA,partial:!0},R4={tokenize:UA,partial:!0},M4={tokenize:HA,partial:!0},F4={tokenize:zA,partial:!0},RA={tokenize:VA,partial:!0},B4={name:"wwwAutolink",tokenize:FA,previous:U4},q4={name:"protocolAutolink",tokenize:BA,previous:H4},Br={name:"emailAutolink",tokenize:MA,previous:z4},hr={};function oh(){return{text:hr}}var Fn=48;for(;Fn<123;)hr[Fn]=Br,Fn++,Fn===58?Fn=65:Fn===91&&(Fn=97);hr[43]=Br;hr[45]=Br;hr[46]=Br;hr[95]=Br;hr[72]=[Br,q4];hr[104]=[Br,q4];hr[87]=[Br,B4];hr[119]=[Br,B4];function MA(e,t,r){let n=this,i,a;return s;function s(h){return!sh(h)||!z4.call(n,n.previous)||uh(n.events)?r(h):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(h))}function o(h){return sh(h)?(e.consume(h),o):h===64?(e.consume(h),u):r(h)}function u(h){return h===46?e.check(RA,c,l)(h):h===45||h===95||Be(h)?(a=!0,e.consume(h),u):c(h)}function l(h){return e.consume(h),i=!0,u}function c(h){return a&&i&&Ke(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(h)):r(h)}}function FA(e,t,r){let n=this;return i;function i(s){return s!==87&&s!==119||!U4.call(n,n.previous)||uh(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(OA,e.attempt(R4,e.attempt(M4,a),r),r)(s))}function a(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function BA(e,t,r){let n=this,i="",a=!1;return s;function s(h){return(h===72||h===104)&&H4.call(n,n.previous)&&!uh(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(h),e.consume(h),o):r(h)}function o(h){if(Ke(h)&&i.length<5)return i+=String.fromCodePoint(h),e.consume(h),o;if(h===58){let m=i.toLowerCase();if(m==="http"||m==="https")return e.consume(h),u}return r(h)}function u(h){return h===47?(e.consume(h),a?l:(a=!0,u)):r(h)}function l(h){return h===null||On(h)||me(h)||ot(h)||Nt(h)?r(h):e.attempt(R4,e.attempt(M4,c),r)(h)}function c(h){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(h)}}function qA(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 UA(e,t,r){let n,i,a;return s;function s(l){return l===46||l===95?e.check(F4,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 HA(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(F4,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 zA(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 VA(e,t,r){return n;function n(a){return e.consume(a),i}function i(a){return Be(a)?r(a):t(a)}}function U4(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||me(e)}function H4(e){return!Ke(e)}function z4(e){return!(e===47||sh(e))}function sh(e){return e===43||e===45||e===46||e===95||Be(e)}function uh(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 Ht(e){let t=[],r=-1,n=0,i=0;for(;++r<e.length;){let a=e.charCodeAt(r),s="";if(a===37&&Be(e.charCodeAt(r+1))&&Be(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 sn(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 Ia={name:"attention",resolveAll:YA,tokenize:jA};function YA(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 h={...e[n][1].end},m={...e[r][1].start};V4(h,-u),V4(m,u),s={type:u>1?"strongSequence":"emphasisSequence",start:h,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=Et(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Et(l,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),l=Et(l,sn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=Et(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=Et(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 jA(e,t){let r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=Fr(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=Fr(u),h=!c||c===2&&i||r.includes(u),m=!i||i===2&&c||r.includes(n);return l._open=!!(a===42?h:h&&(i||!m)),l._close=!!(a===42?m:m&&(c||!h)),t(u)}}function V4(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var lh={name:"autolink",tokenize:$A};function $A(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||Be(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||Be(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||On(p)?r(p):(e.consume(p),u)}function l(p){return p===64?(e.consume(p),c):j2(p)?(e.consume(p),l):r(p)}function c(p){return Be(p)?h(p):r(p)}function h(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||Be(p))&&n++<63){let y=p===45?m:h;return e.consume(p),y}return r(p)}}var dr={partial:!0,tokenize:GA};function GA(e,t,r){return n;function n(a){return oe(a)?ie(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||j(a)?t(a):r(a)}}var ou={continuation:{tokenize:KA},exit:QA,name:"blockQuote",tokenize:WA};function WA(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 KA(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(ou,t,r)(s)}}function QA(e){e.exit("blockQuote")}var uu={name:"characterEscape",tokenize:XA};function XA(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 G2(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}var lu={name:"characterReference",tokenize:JA};function JA(e,t,r){let n=this,i=0,a,s;return o;function o(h){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),u}function u(h){return h===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(h),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),a=31,s=Be,c(h))}function l(h){return h===88||h===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(h),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=$2,c):(e.enter("characterReferenceValue"),a=7,s=wa,c(h))}function c(h){if(h===59&&i){let m=e.exit("characterReferenceValue");return s===Be&&!Mr(n.sliceSerialize(m))?r(h):(e.enter("characterReferenceMarker"),e.consume(h),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(h)&&i++<a?(e.consume(h),c):r(h)}}var Y4={partial:!0,tokenize:ew},cu={concrete:!0,name:"codeFenced",tokenize:ZA};function ZA(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,h,"whitespace")(_):h(_))}function h(_){return _===null||j(_)?(e.exit("codeFencedFence"),n.interrupt?t(_):e.check(Y4,E,B)(_)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(_))}function m(_){return _===null||j(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),h(_)):oe(_)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ie(e,p,"whitespace")(_)):_===96&&_===o?r(_):(e.consume(_),m)}function p(_){return _===null||j(_)?h(_):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(_))}function y(_){return _===null||j(_)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),h(_)):_===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||j(_)?e.check(Y4,E,B)(_):(e.enter("codeFlowValue"),I(_))}function I(_){return _===null||j(_)?(e.exit("codeFlowValue"),w(_)):(e.consume(_),I)}function B(_){return e.exit("codeFenced"),t(_)}function q(_,U,H){let F=0;return R;function R(O){return _.enter("lineEnding"),_.consume(O),_.exit("lineEnding"),ue}function ue(O){return _.enter("codeFencedFence"),oe(O)?ie(_,ee,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):ee(O)}function ee(O){return O===o?(_.enter("codeFencedFenceSequence"),W(O)):H(O)}function W(O){return O===o?(F++,_.consume(O),W):F>=s?(_.exit("codeFencedFenceSequence"),oe(O)?ie(_,se,"whitespace")(O):se(O)):H(O)}function se(O){return O===null||j(O)?(_.exit("codeFencedFence"),U(O)):H(O)}}}function ew(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 Na={name:"codeIndented",tokenize:rw},tw={partial:!0,tokenize:nw};function rw(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):j(l)?e.attempt(tw,s,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||j(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function nw(e,t,r){let n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):j(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):j(s)?i(s):r(s)}}var ch={name:"codeText",previous:aw,resolve:iw,tokenize:sw};function iw(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 aw(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function sw(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,h(m)):j(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||j(m)?(e.exit("codeTextData"),l(m)):(e.consume(m),c)}function h(m){return m===96?(e.consume(m),a++,h):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(s.type="codeTextData",c(m))}}var fu=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&&_a(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),_a(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),_a(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);_a(this.right,r.reverse())}else{let r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);_a(this.left,r.reverse())}}};function _a(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 fu(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,ow(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 ow(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,h,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),h&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),h=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 fh={resolve:lw,tokenize:cw},uw={partial:!0,tokenize:fw};function lw(e){return hu(e),e}function cw(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):j(o)?e.check(uw,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 fw(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||j(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 du(e,t,r,n,i,a,s,o,u){let l=u||Number.POSITIVE_INFINITY,c=0;return h;function h(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||On(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||j(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||On(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 mu(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):j(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||j(p)||o++>999?(e.exit("chunkString"),c(p)):(e.consume(p),u||(u=!oe(p)),p===92?m:h)}function m(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}function pu(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):j(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||j(m)?(e.exit("chunkString"),l(m)):(e.consume(m),m===92?h:c)}function h(m){return m===s||m===92?(e.consume(m),c):c(m)}}var hh={name:"definition",tokenize:dw},hw={partial:!0,tokenize:mw};function dw(e,t,r){let n=this,i;return a;function a(p){return e.enter("definition"),s(p)}function s(p){return mu.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)?Ut(e,l)(p):l(p)}function l(p){return du(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(hw,h,h)(p)}function h(p){return oe(p)?ie(e,m,"whitespace")(p):m(p)}function m(p){return p===null||j(p)?(e.exit("definition"),n.parser.defined.push(i),t(p)):r(p)}}function mw(e,t,r){return n;function n(o){return me(o)?Ut(e,i)(o):r(o)}function i(o){return pu(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||j(o)?t(o):r(o)}}var dh={name:"hardBreakEscape",tokenize:pw};function pw(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return j(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}var mh={name:"headingAtx",resolve:gw,tokenize:bw};function gw(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 bw(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||j(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 j4=["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"],ph=["pre","script","style","textarea"];var gh={concrete:!0,name:"htmlFlow",resolveTo:xw,tokenize:Tw},yw={partial:!0,tokenize:Cw},Ew={partial:!0,tokenize:vw};function xw(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 Tw(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),h}function h(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:N):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:N):r(L)}function p(L){return L===45?(e.consume(L),n.interrupt?t:N):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,er=s.toLowerCase();return!Je&&!a&&ph.includes(er)?(i=1,n.interrupt?t(L):ee(L)):j4.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):I(L))}return L===45||Be(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):R(L)}function I(L){return L===47?(e.consume(L),R):L===58||L===95||Ke(L)?(e.consume(L),B):oe(L)?(e.consume(L),I):R(L)}function B(L){return L===45||L===46||L===58||L===95||Be(L)?(e.consume(L),B):q(L)}function q(L){return L===61?(e.consume(L),_):oe(L)?(e.consume(L),q):I(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||j(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)?I(L):r(L)}function R(L){return L===62?(e.consume(L),ue):r(L)}function ue(L){return L===null||j(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),Se):L===62&&i===4?(e.consume(L),qe):L===63&&i===3?(e.consume(L),N):L===93&&i===5?(e.consume(L),xt):j(L)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(yw,ht,W)(L)):L===null||j(L)?(e.exit("htmlFlowData"),W(L)):(e.consume(L),ee)}function W(L){return e.check(Ew,se,ht)(L)}function se(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),O}function O(L){return L===null||j(L)?W(L):(e.enter("htmlFlowData"),ee(L))}function ce(L){return L===45?(e.consume(L),N):ee(L)}function Se(L){return L===47?(e.consume(L),s="",Xe):ee(L)}function Xe(L){if(L===62){let Je=s.toLowerCase();return ph.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 xt(L){return L===93?(e.consume(L),N):ee(L)}function N(L){return L===62?(e.consume(L),qe):L===45&&i===2?(e.consume(L),N):ee(L)}function qe(L){return L===null||j(L)?(e.exit("htmlFlowData"),ht(L)):(e.consume(L),qe)}function ht(L){return e.exit("htmlFlow"),t(L)}}function vw(e,t,r){let n=this;return i;function i(s){return j(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 Cw(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(dr,t,r)}}var bh={name:"htmlText",tokenize:Aw};function Aw(e,t,r){let n=this,i,a,s;return o;function o(N){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(N),u}function u(N){return N===33?(e.consume(N),l):N===47?(e.consume(N),q):N===63?(e.consume(N),I):Ke(N)?(e.consume(N),H):r(N)}function l(N){return N===45?(e.consume(N),c):N===91?(e.consume(N),a=0,y):Ke(N)?(e.consume(N),w):r(N)}function c(N){return N===45?(e.consume(N),p):r(N)}function h(N){return N===null?r(N):N===45?(e.consume(N),m):j(N)?(s=h,Se(N)):(e.consume(N),h)}function m(N){return N===45?(e.consume(N),p):h(N)}function p(N){return N===62?ce(N):N===45?m(N):h(N)}function y(N){let qe="CDATA[";return N===qe.charCodeAt(a++)?(e.consume(N),a===qe.length?E:y):r(N)}function E(N){return N===null?r(N):N===93?(e.consume(N),x):j(N)?(s=E,Se(N)):(e.consume(N),E)}function x(N){return N===93?(e.consume(N),v):E(N)}function v(N){return N===62?ce(N):N===93?(e.consume(N),v):E(N)}function w(N){return N===null||N===62?ce(N):j(N)?(s=w,Se(N)):(e.consume(N),w)}function I(N){return N===null?r(N):N===63?(e.consume(N),B):j(N)?(s=I,Se(N)):(e.consume(N),I)}function B(N){return N===62?ce(N):I(N)}function q(N){return Ke(N)?(e.consume(N),_):r(N)}function _(N){return N===45||Be(N)?(e.consume(N),_):U(N)}function U(N){return j(N)?(s=U,Se(N)):oe(N)?(e.consume(N),U):ce(N)}function H(N){return N===45||Be(N)?(e.consume(N),H):N===47||N===62||me(N)?F(N):r(N)}function F(N){return N===47?(e.consume(N),ce):N===58||N===95||Ke(N)?(e.consume(N),R):j(N)?(s=F,Se(N)):oe(N)?(e.consume(N),F):ce(N)}function R(N){return N===45||N===46||N===58||N===95||Be(N)?(e.consume(N),R):ue(N)}function ue(N){return N===61?(e.consume(N),ee):j(N)?(s=ue,Se(N)):oe(N)?(e.consume(N),ue):F(N)}function ee(N){return N===null||N===60||N===61||N===62||N===96?r(N):N===34||N===39?(e.consume(N),i=N,W):j(N)?(s=ee,Se(N)):oe(N)?(e.consume(N),ee):(e.consume(N),se)}function W(N){return N===i?(e.consume(N),i=void 0,O):N===null?r(N):j(N)?(s=W,Se(N)):(e.consume(N),W)}function se(N){return N===null||N===34||N===39||N===60||N===61||N===96?r(N):N===47||N===62||me(N)?F(N):(e.consume(N),se)}function O(N){return N===47||N===62||me(N)?F(N):r(N)}function ce(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):r(N)}function Se(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),Xe}function Xe(N){return oe(N)?ie(e,xt,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):xt(N)}function xt(N){return e.enter("htmlTextData"),s(N)}}var Bn={name:"labelEnd",resolveAll:Dw,resolveTo:Iw,tokenize:Nw},ww={tokenize:_w},kw={tokenize:Lw},Sw={tokenize:Pw};function Dw(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 Iw(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=Et(o,e.slice(a+1,a+n+3)),o=Et(o,[["enter",c,t]]),o=Et(o,sn(t.parser.constructs.insideSpan.null,e.slice(a+n+4,s-3),t)),o=Et(o,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),o=Et(o,e.slice(s+1)),o=Et(o,[["exit",u,t]]),He(e,a,e.length,o),e}function Nw(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?h(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(ww,c,s?c:h)(m):m===91?e.attempt(kw,c,s?l:h)(m):s?c(m):h(m)}function l(m){return e.attempt(Sw,c,h)(m)}function c(m){return t(m)}function h(m){return a._balanced=!0,r(m)}}function _w(e,t,r){return n;function n(h){return e.enter("resource"),e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),i}function i(h){return me(h)?Ut(e,a)(h):a(h)}function a(h){return h===41?c(h):du(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(h)}function s(h){return me(h)?Ut(e,u)(h):c(h)}function o(h){return r(h)}function u(h){return h===34||h===39||h===40?pu(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(h):c(h)}function l(h){return me(h)?Ut(e,c)(h):c(h)}function c(h){return h===41?(e.enter("resourceMarker"),e.consume(h),e.exit("resourceMarker"),e.exit("resource"),t):r(h)}}function Lw(e,t,r){let n=this;return i;function i(o){return mu.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 Pw(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 yh={name:"labelStartImage",resolveAll:Bn.resolveAll,tokenize:Ow};function Ow(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 Eh={name:"labelStartLink",resolveAll:Bn.resolveAll,tokenize:Rw};function Rw(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 La={name:"lineEnding",tokenize:Mw};function Mw(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ie(e,t,"linePrefix")}}var qn={name:"thematicBreak",tokenize:Fw};function Fw(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||j(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:Hw},exit:Vw,name:"list",tokenize:Uw},Bw={partial:!0,tokenize:Yw},qw={partial:!0,tokenize:zw};function Uw(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:wa(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(qn,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 wa(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(dr,n.interrupt?r:c,e.attempt(Bw,m,h))}function c(p){return n.containerState.initialBlankLine=!0,a++,m(p)}function h(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 Hw(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(dr,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(qw,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 zw(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 Vw(e){e.exit(this.containerState.type)}function Yw(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 gu={name:"setextUnderline",resolveTo:jw,tokenize:$w};function jw(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 $w(e,t,r){let n=this,i;return a;function a(l){let c=n.events.length,h;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){h=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||h)?(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||j(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}var Gw={tokenize:ek,partial:!0};function xh(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Xw,continuation:{tokenize:Jw},exit:Zw}},text:{91:{name:"gfmFootnoteCall",tokenize:Qw},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Ww,resolveTo:Kw}}}}function Ww(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 Kw(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 Qw(e,t,r){let n=this,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),a=0,s;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),u}function u(h){return h!==94?r(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(h){if(a>999||h===93&&!s||h===null||h===91||me(h))return r(h);if(h===93){e.exit("chunkString");let m=e.exit("gfmFootnoteCallString");return i.includes(ut(n.sliceSerialize(m)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(h)}return me(h)||(s=!0),a++,e.consume(h),h===92?c:l}function c(h){return h===91||h===92||h===93?(e.consume(h),a++,l):l(h)}}function Xw(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?h:c}function h(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 Jw(e,t,r){return e.check(dr,t,e.attempt(Gw,t,r))}function Zw(e){e.exit("gfmFootnoteDefinition")}function ek(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 Th(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)},h={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",h,o]],p=o.parser.constructs.insideSpan.null;p&&He(m,m.length,0,sn(p,s.slice(l+1,u),o)),He(m,m.length,0,[["exit",h,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,h=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=Fr(l);if(y===126)return h>1?u(y):(s.consume(y),h++,p);if(h<2&&!r)return u(y);let x=s.exit("strikethroughSequenceTemporary"),v=Fr(y);return x._open=!v||v===2&&!!E,x._close=!E||E===2&&!!v,o(y)}}}var bu=class{constructor(){this.map=[]}add(t,r,n){tk(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 tk(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 $4(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 vh(){return{flow:{null:{name:"table",tokenize:rk,resolveAll:nk}}}}function rk(e,t,r){let n=this,i=0,a=0,s;return o;function o(R){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(R):W(R)}function u(R){return e.enter("tableHead"),e.enter("tableRow"),l(R)}function l(R){return R===124||(s=!0,a+=1),c(R)}function c(R){return R===null?r(R):j(R)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),p):r(R):oe(R)?ie(e,c,"whitespace")(R):(a+=1,s&&(s=!1,i+=1),R===124?(e.enter("tableCellDivider"),e.consume(R),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),h(R)))}function h(R){return R===null||R===124||me(R)?(e.exit("data"),c(R)):(e.consume(R),R===92?m:h)}function m(R){return R===92||R===124?(e.consume(R),h):h(R)}function p(R){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(R):(e.enter("tableDelimiterRow"),s=!1,oe(R)?ie(e,y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):y(R))}function y(R){return R===45||R===58?x(R):R===124?(s=!0,e.enter("tableCellDivider"),e.consume(R),e.exit("tableCellDivider"),E):q(R)}function E(R){return oe(R)?ie(e,x,"whitespace")(R):x(R)}function x(R){return R===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(R),e.exit("tableDelimiterMarker"),v):R===45?(a+=1,v(R)):R===null||j(R)?B(R):q(R)}function v(R){return R===45?(e.enter("tableDelimiterFiller"),w(R)):q(R)}function w(R){return R===45?(e.consume(R),w):R===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(R),e.exit("tableDelimiterMarker"),I):(e.exit("tableDelimiterFiller"),I(R))}function I(R){return oe(R)?ie(e,B,"whitespace")(R):B(R)}function B(R){return R===124?y(R):R===null||j(R)?!s||i!==a?q(R):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(R)):q(R)}function q(R){return r(R)}function _(R){return e.enter("tableRow"),U(R)}function U(R){return R===124?(e.enter("tableCellDivider"),e.consume(R),e.exit("tableCellDivider"),U):R===null||j(R)?(e.exit("tableRow"),t(R)):oe(R)?ie(e,U,"whitespace")(R):(e.enter("data"),H(R))}function H(R){return R===null||R===124||me(R)?(e.exit("data"),U(R)):(e.consume(R),R===92?F:H)}function F(R){return R===92||R===124?(e.consume(R),H):H(R)}}function nk(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,h,m=new bu;for(;++r<e.length;){let p=e[r],y=p[1];p[0]==="enter"?y.type==="tableHead"?(o=!1,u!==0&&(G4(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,h=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],h=yu(m,t,a,i,void 0,h),a=[0,0,0,0]),s[2]=r)):y.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],h=yu(m,t,a,i,void 0,h)),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],h=yu(m,t,a,i,r,h)):s[1]!==0&&(h=yu(m,t,s,i,r,h)),i=0):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(s[3]=r)}for(u!==0&&G4(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=$4(t.events,r))}return e}function yu(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]),h={type:o,start:Object.assign({},l),end:Object.assign({},c)};if(e.add(r[2],0,[["enter",h,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",h,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 G4(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 ik={name:"tasklistCheck",tokenize:ak};function Ch(){return{text:{91:ik}}}function ak(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 j(u)?t(u):oe(u)?e.check({tokenize:sk},t,r)(u):r(u)}}function sk(e,t,r){return ie(e,n,"whitespace");function n(i){return i===null?r(i):t(i)}}function W4(e){return su([oh(),xh(),Th(e),vh(),Ch()])}var ok={};function Eu(e){let t=this,r=e||ok,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(W4(r)),a.push(ih()),s.push(ah(r))}function Ah(){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 h=c.data.hChildren[0];h.type,h.tagName,h.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 wh(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
439
+ `,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),h="$".repeat(Math.max(nu(l,"$")+1,2)),m=o.enter("mathFlow"),p=c.move(h);if(a.meta){let y=o.enter("mathFlowMeta");p+=c.move(o.safe(a.meta,{after:`
440
+ `,before:p,encode:["$"],...c.current()})),y()}return p+=c.move(`
441
+ `),l&&(p+=c.move(l+`
442
+ `)),p+=c.move(h),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 h=-1;for(;++h<o.unsafe.length;){let m=o.unsafe[h];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 Q4={tokenize:uk,concrete:!0,name:"mathFlow"},K4={tokenize:lk,partial:!0};function uk(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||j(w)?h(w):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(w))}function c(w){return w===null||j(w)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),h(w)):w===36?r(w):(e.consume(w),c)}function h(w){return e.exit("mathFlowFence"),n.interrupt?t(w):e.attempt(K4,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):j(w)?e.attempt(K4,m,x)(w):(e.enter("mathFlowValue"),E(w))}function E(w){return w===null||j(w)?(e.exit("mathFlowValue"),y(w)):(e.consume(w),E)}function x(w){return e.exit("mathFlow"),t(w)}function v(w,I,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||j(F)?(w.exit("mathFlowFence"),I(F)):B(F)}}}function lk(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 X4(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:ck,previous:fk,name:"mathText"};function n(i,a,s){let o=this,u=0,l,c;return h;function h(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):j(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||j(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 ck(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 fk(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function kh(e){return{flow:{36:Q4},text:{36:X4(e)}}}var hk={};function xu(e){let t=this,r=e||hk,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(kh(r)),a.push(Ah()),s.push(wh(r))}var J4={tokenize:dk};function dk(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 j(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}var e3={tokenize:mk},Z4={tokenize:pk};function mk(e){let t=this,r=[],n=0,i,a,s;return o;function o(I){if(n<r.length){let B=r[n];return t.containerState=B[1],e.attempt(B[0].continuation,u,l)(I)}return l(I)}function u(I){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(I)}return o(I)}function l(I){if(n===r.length){if(!i)return m(I);if(i.currentConstruct&&i.currentConstruct.concrete)return y(I);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Z4,c,h)(I)}function c(I){return i&&w(),v(n),m(I)}function h(I){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,y(I)}function m(I){return t.containerState={},e.attempt(Z4,p,y)(I)}function p(I){return n++,r.push([t.currentConstruct,t.containerState]),m(I)}function y(I){if(I===null){i&&w(),v(0),e.consume(I);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:a}),E(I)}function E(I){if(I===null){x(e.exit("chunkFlow"),!0),v(0),e.consume(I);return}return j(I)?(e.consume(I),x(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(I),E)}function x(I,B){let q=t.sliceStream(I);if(B&&q.push(null),I.previous=a,a&&(a.next=I),a=I,i.defineSkip(I.start),i.write(q),t.parser.lazy[I.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,R;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){if(F){R=t.events[H][1].end;break}F=!0}for(v(n),_=U;_<t.events.length;)t.events[_][1].end={...R},_++;He(t.events,H+1,0,t.events.slice(U)),t.events.length=_}}function v(I){let B=r.length;for(;B-- >I;){let q=r[B];t.containerState=q[1],q[0].exit.call(t,e)}r.length=I}function w(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function pk(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 t3={tokenize:gk};function gk(e){let t=this,r=e.attempt(dr,n,e.attempt(this.parser.constructs.flowInitial,i,ie(e,e.attempt(this.parser.constructs.flow,i,e.attempt(fh,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 r3={resolveAll:s3()},n3=a3("string"),i3=a3("text");function a3(e){return{resolveAll:s3(e==="text"?bk: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 h=i[c],m=-1;if(h)for(;++m<h.length;){let p=h[m];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function s3(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 bk(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 Sh={};As(Sh,{attentionMarkers:()=>wk,contentInitial:()=>Ek,disable:()=>kk,document:()=>yk,flow:()=>Tk,flowInitial:()=>xk,insideSpan:()=>Ak,string:()=>vk,text:()=>Ck});var yk={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:ou},Ek={91:hh},xk={[-2]:Na,[-1]:Na,32:Na},Tk={35:mh,42:qn,45:[gu,qn],60:gh,61:gu,95:qn,96:cu,126:cu},vk={38:lu,92:uu},Ck={[-5]:La,[-4]:La,[-3]:La,33:yh,38:lu,42:Ia,60:[lh,bh],91:Eh,92:[dh,uu],93:Bn,95:Ia,96:ch},Ak={null:[Ia,r3]},wk={null:[42,95]},kk={null:[]};function o3(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},h=t.tokenize.call(c,l),m;return t.resolveAll&&a.push(t),c;function p(W){return s=Et(s,W),w(),s[s.length-1]!==null?[]:(R(t,0),c.events=sn(a,c.events,c),c.events)}function y(W,se){return Dk(E(W),se)}function E(W){return Sk(s,W)}function x(){let{_bufferIndex:W,_index:se,line:O,column:ce,offset:Se}=n;return{_bufferIndex:W,_index:se,line:O,column:ce,offset:Se}}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;)I(se.charCodeAt(n._bufferIndex));else I(se)}}function I(W){u=void 0,m=W,h=h(W)}function B(W){j(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 O=se||{};return O.type=W,O.start=x(),c.events.push(["enter",O,c]),o.push(O),O}function _(W){let se=o.pop();return se.end=x(),c.events.push(["exit",se,c]),se}function U(W,se){R(W,se.from)}function H(W,se){se.restore()}function F(W,se){return O;function O(ce,Se,Xe){let xt,N,qe,ht;return Array.isArray(ce)?Je(ce):"tokenize"in ce?Je([ce]):L(ce);function L(ze){return _t;function _t(Lt){let tr=Lt!==null&&ze[Lt],br=Lt!==null&&ze.null,Hr=[...Array.isArray(tr)?tr:tr?[tr]:[],...Array.isArray(br)?br:br?[br]:[]];return Je(Hr)(Lt)}}function Je(ze){return xt=ze,N=0,ze.length===0?Xe:er(ze[N])}function er(ze){return _t;function _t(Lt){return ht=ue(),qe=ze,ze.partial||(c.currentConstruct=ze),ze.name&&c.parser.constructs.disable.null.includes(ze.name)?Vt(Lt):ze.tokenize.call(se?Object.assign(Object.create(c),se):c,l,Bi,Vt)(Lt)}}function Bi(ze){return u=!0,W(qe,ht),Se}function Vt(ze){return u=!0,ht.restore(),++N<xt.length?er(xt[N]):Xe}}}function R(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,O=c.currentConstruct,ce=c.events.length,Se=Array.from(o);return{from:ce,restore:Xe};function Xe(){n=W,c.previous=se,c.currentConstruct=O,c.events.length=ce,o=Se,ee()}}function ee(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function Sk(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 Dk(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=`
443
+ `;break}case-3:{s=`\r
444
+ `;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 Dh(e){let n={constructs:su([Sh,...(e||{}).extensions||[]]),content:i(J4),defined:[],document:i(e3),flow:i(t3),lazy:{},string:i(n3),text:i(i3)};return n;function i(a){return s;function s(o){return o3(n,a,o)}}}function Ih(e){for(;!hu(e););return e}var u3=/[\0\t\n\r]/g;function Nh(){let e=1,t="",r=!0,n;return i;function i(a,s,o){let u=[],l,c,h,m,p;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),h=0,t="",r&&(a.charCodeAt(0)===65279&&h++,r=void 0);h<a.length;){if(u3.lastIndex=h,l=u3.exec(a),m=l&&l.index!==void 0?l.index:a.length,p=a.charCodeAt(m),!l){t=a.slice(h);break}if(p===10&&h===m&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),h<m&&(u.push(a.slice(h,m)),e+=m-h),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}h=m+1}return o&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}var c3={}.hasOwnProperty;function _h(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),Ik(r)(Ih(Dh(r).document().write(Nh()(e,t,!0))))}function Ik(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(qi),autolinkProtocol:F,autolinkEmail:F,atxHeading:a(ys),blockQuote:a(Lt),characterEscape:F,characterReference:F,codeFenced:a(tr),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(tr,s),codeText:a(br,s),codeTextData:F,data:F,codeFlowValue:F,definition:a(Hr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Xn),hardBreakEscape:a(Es),hardBreakTrailing:a(Es),htmlFlow:a(xs,s),htmlFlowData:F,htmlText:a(xs,s),htmlTextData:F,image:a(Ts),label:s,link:a(qi),listItem:a(Y0),listItemValue:m,listOrdered:a(En,h),listUnordered:a(En),paragraph:a(j0),reference:L,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(ys),strong:a(Ui),thematicBreak:a(Cs)},exit:{atxHeading:u(),atxHeadingSequence:q,autolink:u(),autolinkEmail:_t,autolinkProtocol:ze,blockQuote:u(),characterEscapeValue:R,characterReferenceMarkerHexadecimal:er,characterReferenceMarkerNumeric:er,characterReferenceValue:Bi,characterReference:Vt,codeFenced:u(x),codeFencedFence:E,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:R,codeIndented:u(v),codeText:u(O),codeTextData:R,data:R,definition:u(),definitionDestinationString:B,definitionLabelString:w,definitionTitleString:I,emphasis:u(),hardBreakEscape:u(ee),hardBreakTrailing:u(ee),htmlFlow:u(W),htmlFlowData:R,htmlText:u(se),htmlTextData:R,image:u(Se),label:xt,labelText:Xe,lineEnding:ue,link:u(ce),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Je,resourceDestinationString:N,resourceTitleString:qe,resource:ht,setextHeading:u(H),setextHeadingLineSequence:U,setextHeadingText:_,strong:u(),thematicBreak:u()}};f3(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(V){let te={type:"root",children:[]},fe={stack:[te],tokenStack:[],config:t,enter:o,exit:l,buffer:s,resume:c,data:r},be=[],Ae=-1;for(;++Ae<V.length;)if(V[Ae][1].type==="listOrdered"||V[Ae][1].type==="listUnordered")if(V[Ae][0]==="enter")be.push(Ae);else{let Yt=be.pop();Ae=i(V,Yt,Ae)}for(Ae=-1;++Ae<V.length;){let Yt=t[V[Ae][0]];c3.call(Yt,V[Ae][1].type)&&Yt[V[Ae][1].type].call(Object.assign({sliceSerialize:V[Ae][2].sliceSerialize},fe),V[Ae][1])}if(fe.tokenStack.length>0){let Yt=fe.tokenStack[fe.tokenStack.length-1];(Yt[1]||l3).call(fe,void 0,Yt[0])}for(te.position={start:on(V.length>0?V[0][1].start:{line:1,column:1,offset:0}),end:on(V.length>0?V[V.length-2][1].end:{line:1,column:1,offset:0})},Ae=-1;++Ae<t.transforms.length;)te=t.transforms[Ae](te)||te;return te}function i(V,te,fe){let be=te-1,Ae=-1,Yt=!1,xn,yr,Hi,zi;for(;++be<=fe;){let wt=V[be];switch(wt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{wt[0]==="enter"?Ae++:Ae--,zi=void 0;break}case"lineEndingBlank":{wt[0]==="enter"&&(xn&&!zi&&!Ae&&!Hi&&(Hi=be),zi=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:zi=void 0}if(!Ae&&wt[0]==="enter"&&wt[1].type==="listItemPrefix"||Ae===-1&&wt[0]==="exit"&&(wt[1].type==="listUnordered"||wt[1].type==="listOrdered")){if(xn){let Jn=be;for(yr=void 0;Jn--;){let Er=V[Jn];if(Er[1].type==="lineEnding"||Er[1].type==="lineEndingBlank"){if(Er[0]==="exit")continue;yr&&(V[yr][1].type="lineEndingBlank",Yt=!0),Er[1].type="lineEnding",yr=Jn}else if(!(Er[1].type==="linePrefix"||Er[1].type==="blockQuotePrefix"||Er[1].type==="blockQuotePrefixWhitespace"||Er[1].type==="blockQuoteMarker"||Er[1].type==="listItemIndent"))break}Hi&&(!yr||Hi<yr)&&(xn._spread=!0),xn.end=Object.assign({},yr?V[yr][1].start:wt[1].end),V.splice(yr||be,0,["exit",xn,wt[2]]),be++,fe++}if(wt[1].type==="listItemPrefix"){let Jn={type:"listItem",_spread:!1,start:Object.assign({},wt[1].start),end:void 0};xn=Jn,V.splice(be,0,["enter",Jn,wt[2]]),be++,fe++,Hi=void 0,zi=!0}}}return V[te][1]._spread=Yt,fe}function a(V,te){return fe;function fe(be){o.call(this,V(be),be),te&&te.call(this,be)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(V,te,fe){this.stack[this.stack.length-1].children.push(V),this.stack.push(V),this.tokenStack.push([te,fe||void 0]),V.position={start:on(te.start),end:void 0}}function u(V){return te;function te(fe){V&&V.call(this,fe),l.call(this,fe)}}function l(V,te){let fe=this.stack.pop(),be=this.tokenStack.pop();if(be)be[0].type!==V.type&&(te?te.call(this,V,be[0]):(be[1]||l3).call(this,V,be[0]));else throw new Error("Cannot close `"+V.type+"` ("+Gr({start:V.start,end:V.end})+"): it\u2019s not open");fe.position.end=on(V.end)}function c(){return Mn(this.stack.pop())}function h(){this.data.expectingFirstListItemValue=!0}function m(V){if(this.data.expectingFirstListItemValue){let te=this.stack[this.stack.length-2];te.start=Number.parseInt(this.sliceSerialize(V),10),this.data.expectingFirstListItemValue=void 0}}function p(){let V=this.resume(),te=this.stack[this.stack.length-1];te.lang=V}function y(){let V=this.resume(),te=this.stack[this.stack.length-1];te.meta=V}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){let V=this.resume(),te=this.stack[this.stack.length-1];te.value=V.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){let V=this.resume(),te=this.stack[this.stack.length-1];te.value=V.replace(/(\r?\n|\r)$/g,"")}function w(V){let te=this.resume(),fe=this.stack[this.stack.length-1];fe.label=te,fe.identifier=ut(this.sliceSerialize(V)).toLowerCase()}function I(){let V=this.resume(),te=this.stack[this.stack.length-1];te.title=V}function B(){let V=this.resume(),te=this.stack[this.stack.length-1];te.url=V}function q(V){let te=this.stack[this.stack.length-1];if(!te.depth){let fe=this.sliceSerialize(V).length;te.depth=fe}}function _(){this.data.setextHeadingSlurpLineEnding=!0}function U(V){let te=this.stack[this.stack.length-1];te.depth=this.sliceSerialize(V).codePointAt(0)===61?1:2}function H(){this.data.setextHeadingSlurpLineEnding=void 0}function F(V){let fe=this.stack[this.stack.length-1].children,be=fe[fe.length-1];(!be||be.type!=="text")&&(be=vs(),be.position={start:on(V.start),end:void 0},fe.push(be)),this.stack.push(be)}function R(V){let te=this.stack.pop();te.value+=this.sliceSerialize(V),te.position.end=on(V.end)}function ue(V){let te=this.stack[this.stack.length-1];if(this.data.atHardBreak){let fe=te.children[te.children.length-1];fe.position.end=on(V.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(te.type)&&(F.call(this,V),R.call(this,V))}function ee(){this.data.atHardBreak=!0}function W(){let V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function se(){let V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function O(){let V=this.resume(),te=this.stack[this.stack.length-1];te.value=V}function ce(){let V=this.stack[this.stack.length-1];if(this.data.inReference){let te=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=te,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function Se(){let V=this.stack[this.stack.length-1];if(this.data.inReference){let te=this.data.referenceType||"shortcut";V.type+="Reference",V.referenceType=te,delete V.url,delete V.title}else delete V.identifier,delete V.label;this.data.referenceType=void 0}function Xe(V){let te=this.sliceSerialize(V),fe=this.stack[this.stack.length-2];fe.label=_4(te),fe.identifier=ut(te).toLowerCase()}function xt(){let V=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=V.children;fe.children=be}else fe.alt=te}function N(){let V=this.resume(),te=this.stack[this.stack.length-1];te.url=V}function qe(){let V=this.resume(),te=this.stack[this.stack.length-1];te.title=V}function ht(){this.data.inReference=void 0}function L(){this.data.referenceType="collapsed"}function Je(V){let te=this.resume(),fe=this.stack[this.stack.length-1];fe.label=te,fe.identifier=ut(this.sliceSerialize(V)).toLowerCase(),this.data.referenceType="full"}function er(V){this.data.characterReferenceType=V.type}function Bi(V){let te=this.sliceSerialize(V),fe=this.data.characterReferenceType,be;fe?(be=au(te,fe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):be=Mr(te);let Ae=this.stack[this.stack.length-1];Ae.value+=be}function Vt(V){let te=this.stack.pop();te.position.end=on(V.end)}function ze(V){R.call(this,V);let te=this.stack[this.stack.length-1];te.url=this.sliceSerialize(V)}function _t(V){R.call(this,V);let te=this.stack[this.stack.length-1];te.url="mailto:"+this.sliceSerialize(V)}function Lt(){return{type:"blockquote",children:[]}}function tr(){return{type:"code",lang:null,meta:null,value:""}}function br(){return{type:"inlineCode",value:""}}function Hr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Xn(){return{type:"emphasis",children:[]}}function ys(){return{type:"heading",depth:0,children:[]}}function Es(){return{type:"break"}}function xs(){return{type:"html",value:""}}function Ts(){return{type:"image",title:null,url:"",alt:null}}function qi(){return{type:"link",title:null,url:"",children:[]}}function En(V){return{type:"list",ordered:V.type==="listOrdered",start:null,spread:V._spread,children:[]}}function Y0(V){return{type:"listItem",spread:V._spread,checked:null,children:[]}}function j0(){return{type:"paragraph",children:[]}}function Ui(){return{type:"strong",children:[]}}function vs(){return{type:"text",value:""}}function Cs(){return{type:"thematicBreak"}}}function on(e){return{line:e.line,column:e.column,offset:e.offset}}function f3(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?f3(e,n):Nk(e,n)}}function Nk(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 l3(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Gr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Gr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Gr({start:t.start,end:t.end})+") is still open")}function Tu(e){let t=this;t.parser=r;function r(n){return _h(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function h3(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 d3(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
445
+ `}]}function m3(e,t){let r=t.value?t.value+`
446
+ `:"",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 p3(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function g3(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function b3(e,t){let r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),i=Ht(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 y3(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 E3(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function vu(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 x3(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return vu(e,t);let i={src:Ht(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 T3(e,t){let r={src:Ht(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 v3(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 C3(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return vu(e,t);let i={href:Ht(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 A3(e,t){let r={href:Ht(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 w3(e,t,r){let n=e.all(t),i=r?_k(r):k3(t),a={},s=[];if(typeof t.checked=="boolean"){let c=n[0],h;c&&c.type==="element"&&c.tagName==="p"?h=c:(h={type:"element",tagName:"p",properties:{},children:[]},n.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<n.length;){let c=n[o];(i||o!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
447
+ `}),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:`
448
+ `});let l={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,l),e.applyData(t,l)}function _k(e){let t=!1;if(e.type==="list"){t=e.spread||!1;let r=e.children,n=-1;for(;!t&&++n<r.length;)t=k3(r[n])}return t}function k3(e){let t=e.spread;return t??e.children.length>1}function S3(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 D3(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function I3(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function N3(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function _3(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=qt(t.children[1]),u=Pn(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 L3(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 h=t.children[u],m={},p=s?s[u]:void 0;p&&(m.align=p);let y={type:"element",tagName:a,properties:m,children:[]};h&&(y.children=e.all(h),e.patch(h,y),y=e.applyData(h,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 P3(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function R3(e){let t=String(e),r=/\r?\n|\r/g,n=r.exec(t),i=0,a=[];for(;n;)a.push(O3(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(O3(t.slice(i),i>0,!1)),a.join("")}function O3(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 M3(e,t){let r={type:"text",value:R3(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function F3(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}var B3={blockquote:h3,break:d3,code:m3,delete:p3,emphasis:g3,footnoteReference:b3,heading:y3,html:E3,imageReference:x3,image:T3,inlineCode:v3,linkReference:C3,link:A3,listItem:w3,list:S3,paragraph:D3,root:I3,strong:N3,table:_3,tableCell:P3,tableRow:L3,text:M3,thematicBreak:F3,toml:Cu,yaml:Cu,definition:Cu,footnoteDefinition:Cu};function Cu(){}function Lk(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 Pk(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function q3(e){let t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||Lk,n=e.options.footnoteBackLabel||Pk,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),h=String(l.identifier).toUpperCase(),m=Ht(h.toLowerCase()),p=0,y=[],E=e.footnoteCounts.get(h);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:{...Pr(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
449
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
450
+ `}]}}var Lh={}.hasOwnProperty,Ok={};function H3(e,t){let r=t||Ok,n=new Map,i=new Map,a=new Map,s={...B3,...r.handlers},o={all:l,applyData:Mk,definitionById:n,footnoteById:i,footnoteCounts:a,footnoteOrder:[],handlers:s,one:u,options:r,patch:Rk,wrap:Bk};return Kt(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){let h=c.type==="definition"?n:i,m=String(c.identifier).toUpperCase();h.has(m)||h.set(m,c)}}),o;function u(c,h){let m=c.type,p=o.handlers[m];if(Lh.call(o.handlers,m)&&p)return p(o,c,h);if(o.options.passThrough&&o.options.passThrough.includes(m)){if("children"in c){let{children:E,...x}=c,v=Pr(x);return v.children=o.all(c),v}return Pr(c)}return(o.options.unknownHandler||Fk)(o,c,h)}function l(c){let h=[];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=U3(y.value)),!Array.isArray(y)&&y.type==="element")){let E=y.children[0];E&&E.type==="text"&&(E.value=U3(E.value))}Array.isArray(y)?h.push(...y):h.push(y)}}}return h}}function Rk(e,t){e.position&&(t.position=rf(e))}function Mk(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,Pr(a)),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function Fk(e,t){let r=t.data||{},n="value"in t&&!(Lh.call(r,"hProperties")||Lh.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 Bk(e,t){let r=[],n=-1;for(t&&r.push({type:"text",value:`
451
+ `});++n<e.length;)n&&r.push({type:"text",value:`
452
+ `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
453
+ `}),r}function U3(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function Au(e,t){let r=H3(e,t),n=r.one(e,void 0),i=q3(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&("children"in a,a.children.push({type:"text",value:`
454
+ `},i)),a}function wu(e,t){return e&&"run"in e?async function(r,n){let i=Au(r,{file:n,...t});await e.run(i,n)}:function(r,n){return Au(r,{file:n,...e||t})}}function Ph(e){if(e)throw e}var Du=De(Q3(),1);function Pa(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 Oh(){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],h=-1;if(u){s(u);return}for(;++h<i.length;)(l[h]===null||l[h]===void 0)&&(l[h]=i[h]);i=l,c?X3(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 X3(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 J3=(function(e){let n=this.constructor.prototype,i=n[e],a=function(){return i.apply(a,arguments)};return Object.setPrototypeOf(a,n),a});var qk={}.hasOwnProperty,Bh=class e extends J3{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=Oh()}copy(){let t=new e,r=-1;for(;++r<this.attachers.length;){let n=this.attachers[r];t.use(...n)}return t.data((0,Du.default)(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Fh("data",this.frozen),this.namespace[t]=r,this):qk.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Fh("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=Su(t),n=this.parser||this.Parser;return Rh("parse",n),n(String(r),r)}process(t,r){let n=this;return this.freeze(),Rh("process",this.parser||this.Parser),Mh("process",this.compiler||this.Compiler),r?i(void 0,r):new Promise(i);function i(a,s){let o=Su(t),u=n.parse(o);n.run(u,o,function(c,h,m){if(c||!h||!m)return l(c);let p=h,y=n.stringify(p,m);Hk(y)?m.value=y:m.result=y,l(c,m)});function l(c,h){c||!h?s(c):a?a(h):r(void 0,h)}}}processSync(t){let r=!1,n;return this.freeze(),Rh("processSync",this.parser||this.Parser),Mh("processSync",this.compiler||this.Compiler),this.process(t,i),e6("processSync","process",r),n;function i(a,s){r=!0,Ph(a),n=s}}run(t,r,n){Z3(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=Su(r);i.run(t,u,l);function l(c,h,m){let p=h||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),e6("runSync","run",n),i;function a(s,o){Ph(s),i=o,n=!0}}stringify(t,r){this.freeze();let n=Su(r),i=this.compiler||this.Compiler;return Mh("stringify",i),Z3(t),i(t,n)}use(t,...r){let n=this.attachers,i=this.namespace;if(Fh("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,...h]=l;u(c,h)}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,Du.default)(!0,i.settings,l.settings))}function o(l){let c=-1;if(l!=null)if(Array.isArray(l))for(;++c<l.length;){let h=l[c];a(h)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function u(l,c){let h=-1,m=-1;for(;++h<n.length;)if(n[h][0]===l){m=h;break}if(m===-1)n.push([l,...c]);else if(c.length>0){let[p,...y]=c,E=n[m][1];Pa(E)&&Pa(p)&&(p=(0,Du.default)(!0,E,p)),n[m]=[l,p,...y]}}}},qh=new Bh().freeze();function Rh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Mh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Fh(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 Z3(e){if(!Pa(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function e6(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Su(e){return Uk(e)?e:new Wr(e)}function Uk(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Hk(e){return typeof e=="string"||zk(e)}function zk(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}var Y5=De(V5(),1),g_=/^---(?:\r?\n|\r)(?:([\s\S]*?)(?:\r?\n|\r))?---(?:\r?\n|\r|$)/,b_={},y_={};function xm(e,t){let r=t||b_,n=r.strip,i=r.yaml||y_,a=String(e),s=g_.exec(a);s?(e.data.matter=Y5.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={}}var D0=require("node:crypto"),yn=De(require("node:fs/promises"),1),Ri=De(require("node:path"),1);function I0(){return{get:S0,set:S0,delete:S0,clear:S0}}function N0(e){let t=Ri.default.join(e.cacheDirectory,x_(e.pluginName)),r=Ri.default.join(t,vm(e.cacheVersion??"1")),n=new Map;return{async get(i){let a;try{a=await yn.default.readFile(Tm(r,i),"utf8")}catch(s){if(T_(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=Tm(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(()=>E_(s,r,o));n.set(s,l);try{await l}finally{n.get(s)===l&&n.delete(s)}},async delete(i){await yn.default.rm(Tm(r,i),{force:!0})},async clear(){await yn.default.rm(t,{recursive:!0,force:!0})}}}async function E_(e,t,r){await yn.default.mkdir(t,{recursive:!0});let n=`${e}.${(0,D0.randomUUID)()}.tmp`;try{await yn.default.writeFile(n,r,"utf8"),await yn.default.rename(n,e)}catch(i){throw await yn.default.rm(n,{force:!0}).catch(()=>{}),i}}function _0(e){return e?Ri.default.resolve(e.content.directory,"..",".riebeckite","cache"):Ri.default.resolve(process.cwd(),".riebeckite","cache")}function Tm(e,t){return Ri.default.join(e,`${vm(t)}.json`)}function x_(e){return/^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$/.test(e)?e:vm(e)}function vm(e){return(0,D0.createHash)("sha256").update(e).digest("hex")}function T_(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}async function S0(){throw new Error("Plugin cache is available only through an explicit build context.")}var cs=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=qh(),a=Tn(this.options.plugins);this.use(i,Tu),this.use(i,eu),this.use(i,ru,["yaml","toml"]),this.use(i,function(){return(l,c)=>{xm(c)}}),this.use(i,xu),this.use(i,Eu);let s={contentIndex:this.contentIndex,resolvePermalink:u=>this.getPermalink(u),renderNoteEmbed:this.createNoteEmbedRenderer(r,n),renderContent:this.createContentRenderer()};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,wu,{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,Bo,{output:"mathml",strict:!1}),this.use(i,Ls),this.use(i,Xo,{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?v_(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=Tn(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),logger:a.logger.child({plugin:n.name}),tracer:a.tracer,...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?N0({pluginName:t.name,cacheVersion:t.cacheVersion,cacheDirectory:_0(this.options.config),tracer:r.tracer,logger:r.logger.child({plugin:t.name})}):I0();return this.pluginCaches.set(t.name,i),i}};function v_(e,t){return t?t.kind==="block"?C_(e,t.value):A_(e,t.value):e}function C_(e,t){let r=e.split(/\r?\n/),n=new RegExp(`(?:^|\\s)\\^${w_(t)}\\s*$`);return r.find(a=>n.test(a))?.replace(n,"").trimEnd()||null}function A_(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(`
455
+ `).trim()||null}function w_(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var Cm=class extends Error{constructor(t,r,n){super(`Plugin "${t}" failed during "${r}"`,{cause:n}),this.name="PluginLifecycleError"}};async function j5(e,t){await L0(e,"setup",r=>r.setup,t)}async function $5(e,t){await L0(e,"buildStart",r=>r.buildStart,t)}async function G5(e,t){await L0(e,"buildEnd",r=>r.buildEnd,t)}async function W5(e,t){await L0([...e].reverse(),"dispose",r=>r.dispose,t)}async function L0(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 Cm(i.name,t,s)}}}var P0=class{constructor(t={}){this.pipelineOptions=t}pipelineOptions;buildStarted=!1;disposed=!1;diagnostics=[];pluginCaches=new Map;isBuildTime=!1;getDiagnostics(){return this.diagnostics}async startBuild(t){if(this.buildStarted)return;this.buildStarted=!0;let r=this.createContext(t),n=i=>this.createPluginContext(i,r);await j5(this.plugins(),n),await $5(this.plugins(),n),await this.runHook(i=>i.onBuildStart,r),await this.runHook(i=>i.onConfigResolved,r)}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 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 G5(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.buildStarted)return;this.disposed=!0;let r=this.createContext(t);await W5(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})))}async collectDiagnostics(t){return await this.observability().tracer.span("diagnostics.run",{},async()=>{let r=[],n=this.createContext(t);for(let i of this.plugins()){let a=await i.addDiagnostics?.(this.createPluginContext(i,n));for(let s of a??[])r.push({...s,pluginName:s.pluginName||i.name})}return r})}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),logger:n.logger.child({plugin:t.name}),tracer:n.tracer}}cacheFor(t){let r=this.pluginCaches.get(t.name);if(r)return r;let n=this.isBuildTime?N0({pluginName:t.name,cacheVersion:t.cacheVersion,cacheDirectory:_0(this.pipelineOptions.config),logger:this.observability().logger.child({plugin:t.name}),tracer:this.observability().tracer}):I0();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 Tn(this.pipelineOptions.plugins)}};function K5(e,t,r){let n=new Set([...e.added,...e.changed,...e.removed].filter(O0).map(Am));if(k_(e))for(let s of r)O0(s)&&n.add(Am(s));let i=new Set;if(!t)return{direct:n,dependent:i};let a=[...n];for(;a.length>0;){let s=a.pop();if(s)for(let[o,u]of Object.entries(t.entries)){let l=Am(o);!O0(o)||n.has(l)||i.has(l)||u.dependencies.includes(s)&&(i.add(l),a.push(l))}}return{direct:n,dependent:i}}function k_(e){return[...e.added,...e.changed,...e.removed].some(t=>!O0(t))}function O0(e){return e.endsWith(".md")}function Am(e){return e.replace(/\.md$/,"")}function Q5(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 Z5({added:n,changed:i,removed:s,unchanged:a})}function X5(e){return Z5({added:e.map(({entry:t})=>t.path),changed:[],removed:[],unchanged:[]})}function J5(e){return e.added.length>0||e.changed.length>0||e.removed.length>0}function Z5(e){return{added:[...e.added].sort(),changed:[...e.changed].sort(),removed:[...e.removed].sort(),unchanged:[...e.unchanged].sort()}}var e7=require("node:crypto");async function t7(e,t){return await Promise.all([...e].sort((r,n)=>r.path.localeCompare(n.path)).map(async r=>({entry:r,fingerprint:await S_(r,t)})))}async function S_(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:${(0,e7.createHash)("sha256").update(r).digest("hex")}`}var wm=/(^|[\s([{"'])#([\p{L}\p{N}_\-/]+)/gu;function r7(e){wm.lastIndex=0;let t=[];for(let r=wm.exec(e);r!==null;r=wm.exec(e)){let n=i7(r[2]??"");n&&t.push(n)}return a7(t)}function Sm(e){return Array.isArray(e)?e.flatMap(t=>Sm(t)):typeof e!="string"?[]:e.split(/[\s,]+/).map(t=>i7(t.replace(/^#/,""))).filter(t=>t!==null)}function n7(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(...D_(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 a7(r.map(i=>i.trim()).filter(Boolean))}function i7(e){let t=e.replace(/[/-]+$/,"");return!t||/^[\p{N}/\-_]+$/u.test(t)?null:t}function D_(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,"")}function a7(e){return Array.from(new Set(e))}var Mi=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("/");Dm(t,l,s),a!=="md"&&Dm(t,l.replace(/\.[^/.]+$/,""),s)}if(a==="md"){let u=I_(await n(r));for(let l of n7(u))Dm(t,l,s)}}};function I_(e){return typeof e=="string"?e:new TextDecoder().decode(e)}function Dm(e,t,r){let n=t.toLowerCase();e.has(n)||e.set(n,r)}var fs=De(require("node:fs/promises"),1),$n=De(require("node:path"),1);var Gn=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 fs.default.lstat(r);if(!n.isFile()||n.isSymbolicLink())throw new Error(`Content entry is not a regular file: ${t.path}`);return await fs.default.readFile(r)}async scanDirectory(t,r){let n=await fs.default.readdir(t,{withFileTypes:!0}),i=[];for(let a of n){if(a.isSymbolicLink())continue;let s=ji(r?`${r}/${a.name}`:a.name),o=$n.default.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 fs.default.stat(o);i.push({path:s,metadata:{modifiedAt:u.mtimeMs,size:u.size}})}return i}isExcluded(t){return ks(this.exclude,t)?!0:t.endsWith(".md")&&ks(this.exclude,t.slice(0,-3))}resolveFilePath(t){let r=N_(t),n=$n.default.resolve(this.contentDirectory,r),i=$n.default.relative(this.contentDirectory,n);if(i.startsWith("..")||$n.default.isAbsolute(i))throw new Error(`Invalid content path: ${t}`);return n}};function N_(e){let t=ji(e);if(t.length===0||t.startsWith("/")||$n.default.isAbsolute(t)||$n.default.win32.isAbsolute(t)||t.split("/").some(r=>r===".."))throw new Error(`Invalid content path: ${e}`);return t}var Im=/(!)?\[\[([^\]|#^]+)(?:[#^][^\]|]+)?(?:\|[^\]]+)?\]\]/g;function R0(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?__(a):"unresolved",embed:n[1]==="!"})}return r}function __(e){return Ss(e)?"image":K0(e)?"attachment":"note"}var Fi=class{createEntry(t,r,n,i,a){let s=R0(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:L_(t,n.frontmatter.title),frontmatter:n.frontmatter,html:n.html,tags:O_([...Sm(n.frontmatter.tags),...r7(r)]),links:s,backlinks:[],assets:P_(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 h of c.tags)s7(a,h,c);for(let h of c.assets)s7(s,h.path,c);for(let h of c.links)h.kind!=="note"||!h.slug||h.slug===c.slug||R_(u,h.slug,c.slug)}for(let c of t)c.backlinks=u.get(c.slug)??[];let l={entries:t,bySlug:n,byPermalink:i,redirects:new Map,byTag:a,byAsset:s,outgoingLinks:o,incomingLinks:u,contentIndex:r,assets:[],diagnostics:[]};return{...l,graph:rl(l)}}};function L_(e,t){return typeof t=="string"&&t.trim()?t:e}function P_(e){return Array.from(new Map(e.map(t=>[t.path,t])).values())}function O_(e){return Array.from(new Set(e))}function s7(e,t,r){let n=e.get(t)??[];n.push(r),e.set(t,n)}function R_(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 Gn(t,r):t,this.contentIndexBuilder=new Mi(this.source),this.pluginRuntime=new P0(this.pipelineOptions),this.buildStatePath=Cn(n.config,typeof t=="string"?t:void 0)}pipelineOptions;source;contentIndexBuilder;manifestBuilder=new Fi;pluginRuntime;contentIndex=null;contentCache=new Map;contentEntries=null;contentTexts=new Map;manifest=null;contentLocations=null;pipeline=null;buildPreparation=null;buildStatePath;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.getContentEntries()}async getPost(t){return await this.readTextEntry(`${t}.md`)}async getContentIndex(t){return this.contentIndex?this.contentIndex:t?.previousState&&!J5(t.changeSet)?(this.contentIndex=new Map(Object.entries(t.previousState.contentIndex)),this.contentIndex):(this.contentIndex=await this.contentIndexBuilder.build(await this.getContentEntries(),r=>this.readContentEntry(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 cs(n,await this.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;t&&this.enableBuildTime();let r=t?await this.getBuildPreparation(t):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)]),h=a.get(u.slug);if(!h)throw new Error(`Content public location was not resolved: ${u.slug}`);return this.manifestBuilder.createEntry(u.slug,l,c,i,h)}));await this.pluginRuntime.runGraphHook(s,i);let o=await this.observability().tracer.span("content.graph",{},()=>this.manifestBuilder.build(s,i));return this.populateRedirects(o,a),await this.pluginRuntime.runManifestCreated(o,i),o.assets=this.pluginRuntime.collectAssets(),o.diagnostics=[...this.pluginRuntime.getDiagnostics(),...await this.pluginRuntime.collectDiagnostics(i)],await this.pluginRuntime.runBuildEnd(o,i),r&&await this.commitBuildState(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.getContentEntries(),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 getContentEntries(){return this.contentEntries??=await this.observability().tracer.span("content.scan",{},()=>this.source.scan()),this.contentEntries}async getContentLocations(){if(this.contentLocations)return this.contentLocations;let[t,r]=await Promise.all([this.getContentEntries(),this.getContentIndex()]);await this.pluginRuntime.startBuild(r);let n=await Promise.all(t.filter(a=>a.path.endsWith(".md")).map(async a=>({slug:o7(a.path),path:a.path,markdown:await this.readContentEntry(a)}))),i=new Map(n.map(a=>[a.slug,nl(a)]));for(let a of await this.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 this.contentLocations=i,i}async getPermalinks(){return new Map(Array.from((await this.getContentLocations()).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})}async readTextEntry(t){let n=(await this.getContentEntries()).find(i=>i.path===t);if(!n)throw new Error(`Content entry was not found: ${t}`);return await this.readContentEntry(n)}readContentEntry(t){let r=this.contentTexts.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.contentTexts.set(t.path,n),n}getBuildPreparation(t){return this.buildPreparation??=this.prepareBuild(t),this.buildPreparation}enableBuildTime(){this.isBuildTime=!0,this.pluginRuntime.enableBuildTime()}async prepareBuild(t){let r=await t7(await this.getContentEntries(),s=>this.readContentEntry(s)),n=t.incremental===!1?void 0:await Zm(this.buildStatePath),i=n?Q5(n,r):X5(r),a={previousState:n,currentEntries:r,changeSet:i,affected:K5(i,n,r.map(({entry:s})=>s.path))};return this.observability().tracer.event("build.incremental",{incremental:t.incremental!==!1,added:i.added.length,changed:i.changed.length,removed:i.removed.length,unchanged:i.unchanged.length,affected:a.affected.direct.size+a.affected.dependent.size}),a}async commitBuildState(t,r){let n=new Map(r.entries.map(a=>[a.slug,a])),i={version:1,entries:Object.fromEntries(t.currentEntries.map(({entry:a,fingerprint:s})=>{let o=n.get(o7(a.path));return[a.path,{fingerprint:s,dependencies:o?o.links.filter(u=>u.kind==="note"&&u.slug!==null).map(u=>u.slug).sort():[]}]})),contentIndex:Object.fromEntries([...r.contentIndex.entries()].sort(([a],[s])=>a.localeCompare(s)))};try{await ep(this.buildStatePath,i)}catch{}}observability(){return this.pipelineOptions.observability??ei}};function o7(e){return e.replace(/\.md$/,"")}async function Nm(e,t){let r=await e.scan(),n=await new Mi(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 F_(e,o)})))).map(({entry:o,markdown:u})=>M_(o,u,n,t));return new Fi().build(s,n).graph}function M_(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:R0(t,r),backlinks:[],assets:[]}}async function F_(e,t){let r=await e.read(t);return typeof r=="string"?r:new TextDecoder().decode(r)}var _m=De(require("node:fs/promises"),1),h7=De(require("node:os"),1),ms=De(require("node:path"),1),d7=require("esbuild");var hs=De(require("node:fs"),1),Wn=De(require("node:path"),1);function l7(e){let t=Wn.default.join(e,"packages");return hs.default.existsSync(t)?f7(t).flatMap(r=>{let n=Wn.default.join(r,"package.json"),i=JSON.parse(hs.default.readFileSync(n,"utf8"));return typeof i.name!="string"?[]:B_(i.name,r,i)}):[]}function c7(e){let t=l7(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 f7(e){let t=Wn.default.join(e,"package.json");return hs.default.existsSync(t)?[e]:hs.default.readdirSync(e,{withFileTypes:!0}).filter(r=>r.isDirectory()).flatMap(r=>f7(Wn.default.join(e,r.name)))}function B_(e,t,r){let n=[],i=q_(r.exports)??r.main;if(i&&n.push({find:new RegExp(`^${u7(e)}$`),replacement:Wn.default.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=ds(s);o&&n.push({find:new RegExp(`^${u7(e+a.slice(1))}$`),replacement:Wn.default.join(t,o)})}return n}function q_(e){if(typeof e=="string")return e;if(!e||typeof e!="object")return;let t=e["."];if(t!==void 0)return ds(t);if(!Object.keys(e).some(n=>n.startsWith(".")))return ds(e)}var U_=["source","import","module","browser","default","node","require","types"];function ds(e){if(typeof e=="string")return e;if(!e||typeof e!="object")return;let t=e;for(let r of U_)if(r in t){let n=ds(t[r]);if(n)return n}for(let r of Object.values(t)){let n=ds(r);if(n)return n}}function u7(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}async function M0(e){let t=e.configFile??"riebeckite.config.ts",r=await _m.default.mkdtemp(ms.default.join(h7.default.tmpdir(),"riebeckite-config-")),n=ms.default.join(r,"config.mjs");try{return await(0,d7.build)({stdin:{contents:`
456
+ import rawConfig from ${JSON.stringify(ms.default.join(e.workspaceRoot,t))};
457
+ import { resolveConfigModule } from "@riebeckite/core";
458
+ export default resolveConfigModule(rawConfig);
459
+ `,resolveDir:e.workspaceRoot,loader:"ts"},outfile:n,bundle:!0,platform:"node",format:"esm",plugins:[c7(e.workspaceRoot)]}),(await import(`${H_(n)}?t=${Date.now()}`)).default}finally{await _m.default.rm(r,{recursive:!0,force:!0})}}function F0(e,t){return{...e,content:{...e.content,directory:ms.default.resolve(t,e.content.directory)}}}function H_(e){return`file:///${e.replace(/\\/g,"/").replace(/^([A-Za-z]):/,"$1:")}`}var z_="virtual:riebeckite/client",RJ=`\0${z_}`;var Lm=De(require("node:fs/promises"),1),Pm=De(require("node:path"),1),ps=require("vite"),V_=["vite.config.ts","vite.config.js","vite.config.mjs"];async function Zt(e){let t=await j_(e);if(t.length===1)return t[0];throw t.length===0?new B0(`Could not find a Vite application under ${e}.`):new B0(`Found multiple Vite applications under ${e}: ${t.join(", ")}.`)}var B0=class extends Error{constructor(t){super(t),this.name="HonoxApplicationRootError"}};async function Om(e){let t=await(0,ps.createServer)({root:e.root});await t.listen(),t.printUrls(),await Y_(t)}async function Rm(e){await m7(e.tracer,"integration.honox.client_build",()=>(0,ps.build)({root:e.root,mode:"client"})),await m7(e.tracer,"integration.honox.server_build",()=>(0,ps.build)({root:e.root}))}async function m7(e,t,r){return e?await e.span(t,{},r):await r()}async function Y_(e){await new Promise(t=>{let r=()=>{e.close().finally(t)};process.once("SIGINT",r),process.once("SIGTERM",r)})}async function j_(e){let t=[e],r=[];for(;t.length>0;){let n=t.pop();if(!n)continue;await $_(n)&&r.push(n);let i=await Lm.default.readdir(n,{withFileTypes:!0});for(let a of i)!a.isDirectory()||a.name==="node_modules"||a.name===".git"||t.push(Pm.default.join(n,a.name))}return r}async function $_(e){for(let t of V_)try{if((await Lm.default.stat(Pm.default.join(e,t))).isFile())return!0}catch{}return!1}var p7=De(require("node:path"),1);async function ct(e){let[t,r]=await Promise.all([M0({workspaceRoot:e.configRoot,configFile:p7.default.relative(e.configRoot,e.configPath)}),Zt(e.configRoot)]);return F0(t,r)}async function q0(e,t){let r=t.observability??{logger:new An,tracer:new Zn};await r.tracer.span("build.total",{},async()=>{let n=await ct(e),i=await Zt(e.configRoot),a=g7.default.resolve(i,n.content.directory),s=new gr(a,n.content.exclude,{config:n,observability:r});try{await s.build({incremental:!t.full})}finally{await s.dispose()}await Rm({root:i,tracer:r.tracer})})}async function b7(e){await ct(e)}async function y7(e){await ct(e);let t=await Zt(e.configRoot);await Om({root:t})}async function E7(e){if(!e)return{result:{id:"build-state",label:"Incremental build state",status:"skipped",message:"Skipped because configuration is unavailable."}};let t=Cn(e,void 0);try{let r=await $i(t);return r.kind==="valid"?{statePath:t,result:{id:"build-state",label:"Incremental build state",status:"ok",message:"Valid."}}:r.kind==="missing"?{statePath:t,result:{id:"build-state",label:"Incremental build state",status:"skipped",message:"No incremental build state yet."}}:{statePath:t,result:{id:"build-state",label:"Incremental build state",status:"warning",message:"Invalid state will fall back to a full build."}}}catch(r){return{statePath:t,result:{id:"build-state",label:"Incremental build state",status:"error",message:"Could not read state.",cause:r}}}}async function x7(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 xr?{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}}}}var U0=De(require("node:path"),1);var G_=3;async function T7(e,t){if(!t)return W_();try{let r=await Zt(e.configRoot),n=U0.default.resolve(r,t.content.directory),i=new gr(n,t.content.exclude,{config:t}),a=await i.scan(),s=Q_(a),o=K_(a);if(s.length>0)return{id:"content",label:"Content",status:"error",message:"Content source returned invalid logical paths.",details:s.map(h=>`Invalid logical path: ${h}`)};let u=await i.inspect(),l=J_(u.diagnostics),c=[`${u.entries.length} content entries scanned.`,...o.map(h=>`Duplicate logical path: ${h}`),...l];return{id:"content",label:"Content",status:X_(o.length>0,u.diagnostics),message:`${u.entries.length} content entries scanned.`,details:c.length>1?c.slice(1):void 0}}catch(r){return{id:"content",label:"Content",status:"error",message:"Could not inspect content.",cause:r}}}function W_(){return{id:"content",label:"Content",status:"skipped",message:"Skipped because configuration is unavailable."}}function K_(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 Q_(e){return e.map(t=>t.path).filter(t=>typeof t!="string"||!t||U0.default.posix.isAbsolute(t)||U0.default.win32.isAbsolute(t)||t.includes("\\")||t.split("/").some(r=>r===""||r==="."||r==="..")).map(String).sort()}function X_(e,t){return e||t.some(r=>r.severity==="error")?"error":t.some(r=>r.severity==="warning")?"warning":"ok"}function J_(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,G_).map(i=>{let a=i.filePath??i.slug;return a?`${a}: ${i.message}`:i.message});return[...r,...n]}var Kn=De(require("node:fs/promises"),1),Mm=De(require("node:path"),1);async function v7(e){return await Promise.all([Z_(e),eL(e)])}async function C7(e){let t=Mm.default.dirname(e);try{return(await Kn.default.stat(t)).isDirectory()?(await Kn.default.access(t,Kn.default.constants.R_OK|Kn.default.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 tL(r)?{id:"state-directory",label:"State directory",status:"skipped",message:"Will be created by the first build."}:Fm("state-directory","State directory",r)}}async function Z_(e){try{return(await Kn.default.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 Fm("project-root","Project root",t)}}async function eL(e){try{return(await Kn.default.stat(e.configPath)).isFile()?{id:"configuration-file",label:"Configuration file",status:"ok",message:Mm.default.basename(e.configPath)}:{id:"configuration-file",label:"Configuration file",status:"error",message:"Resolved path is not a file."}}catch(t){return Fm("configuration-file","Configuration file",t)}}function Fm(e,t,r){return{id:e,label:t,status:"error",message:"Unexpected diagnostic failure.",cause:r}}function tL(e){return typeof e=="object"&&e!==null&&"code"in e&&e.code==="ENOENT"}function A7(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 w7(e){let t=await v7(e),r=await x7(e),n=A7(r.config,r.pluginResolutionError),[i,a]=await Promise.all([T7(e,r.config),E7(r.config)]),s=a.statePath?await C7(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 H0(e){return k7(e,new Set)}function k7(e,t){if(!(e instanceof Error))return String(e);if(t.has(e))return e.message;t.add(e);let r="cause"in e?e.cause:void 0;return r===void 0?e.message:`${e.message}
460
+ Caused by: ${k7(r,t)}`}var rL={ok:"\u2713",warning:"\u26A0",error:"\u2717",skipped:"-"};function S7(e){let t=["Riebeckite Doctor",""];for(let i of e){t.push(i.label),t.push(`${rL[i.status]} ${i.message??i.status}`);for(let a of i.details??[])t.push(` ${a}`);i.cause!==void 0&&t.push(` ${H0(i.cause).replace(/\n/g,`
461
+ `)}`)}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(`
462
+ `)}async function D7(e){let t=await w7(e);return console.log(S7(t)),t.every(r=>r.status!=="error")}var z0=De(require("node:path"),1);async function N7(e){let t=await ct(e),[r,n]=await Promise.all([qm(t,e),Um(t)]),i=ws(t.plugins);return{root:I7(e.projectRoot,e.invocationCwd),configPath:I7(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 _7(e){let t=await ct(e);return{site:{title:t.site.title,baseUrl:t.site.baseUrl,locale:t.site.locale},content:{source:R7(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 L7(e){let t=await ct(e);return ws(t.plugins).map((r,n)=>({...r,order:n+1,provides:Bm(r.provides),requires:Bm(r.requires),optional:Bm(r.optional)}))}async function qm(e,t){let r=await O7(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=z0.default.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:R7(e),entryCount:n.length,extensions:i,paths:await nL(e,r,n)}}async function nL(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 P7(e){let t=await ct(e),r=await O7(t,e),n=await new gr(r,[],{config:t}).getContentLocations(),i=await Nm(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 Um(e){let t=await $i(Cn(e,void 0));return t.kind==="missing"?{status:"not created"}:t.kind==="invalid"?{status:"invalid"}:{status:"valid",version:t.version,entryCount:t.entryCount}}async function O7(e,t){if(e.content.source)return e.content.source;let r=await Zt(t.configRoot);return new Gn(z0.default.resolve(r,e.content.directory),e.content.exclude)}function R7(e){return e.content.source?"custom":"filesystem"}function I7(e,t){return z0.default.relative(t,e)||"."}function Bm(e){return[...e].sort((t,r)=>t.localeCompare(r))}function M7(e){return["Riebeckite Inspector","","Application",ke("Root",e.root),ke("Config",e.configPath),"","Content",ke("Source",e.content.source),ke("Entries",e.content.entryCount),"","Plugins",ke("Enabled",e.plugins.enabledCount),ke("Capabilities",e.plugins.capabilityCount),"","Build",ke("State",e.build.status),...e.build.status==="valid"?[ke("Entries",e.build.entryCount)]:[],"","Use:"," riebeckite inspect config"," riebeckite inspect plugins"," riebeckite inspect content"," riebeckite inspect graph"," riebeckite inspect build"].join(`
463
+ `)}function F7(e){return["Configuration","","Site",ke("Title",e.site.title),ke("Base URL",e.site.baseUrl),ke("Locale",e.site.locale),"","Content",ke("Source",e.content.source),ke("Directory",e.content.directory),ke("Exclude",`${e.content.excludeCount} patterns`),ke("Publishing",e.content.publishStrategy),"","Theme",ke("Name",e.theme.name),ke("Color mode",e.theme.colorMode),"","Plugins",ke("Count",e.pluginCount)].join(`
464
+ `)}function B7(e){return["Plugins",""," # Plugin Enabled Provides Requires Optional",...e.map(t=>[` ${String(t.order).padStart(2)}`,t.name,t.enabled?"yes":"no",Hm(t.provides),Hm(t.requires),Hm(t.optional)].join(" "))].join(`
465
+ `)}function q7(e,t){return["Content","","Source",ke("Type",e.source),ke("Entries",e.entryCount),"","Extensions",...e.extensions.map(r=>ke(r.extension,r.count)),...t.list?["","PATH ID ID SOURCE PERMALINK",...e.paths.map(r=>` ${r.path} ${r.id??"-"} ${r.idSource??"-"} ${r.permalink??"-"}`)]:[]].join(`
466
+ `)}function U7(e){return["Content Graph","",ke("Nodes",e.nodeCount),ke("Edges",e.edgeCount),...e.mostLinked.length>0?["","Most linked",...e.mostLinked.map(t=>ke(t.path,t.incomingCount))]:[]].join(`
467
+ `)}function H7(e){return["Build State","",ke("Status",e.status),...e.status==="valid"?[ke("Version",e.version),ke("Entries",e.entryCount)]:[]].join(`
468
+ `)}function ke(e,t){return` ${e.padEnd(14)} ${t}`}function Hm(e){return e.length>0?e.join(", "):"-"}async function z7(e,t){if(!t.target){console.log(M7(await N7(e)));return}if(t.target==="config"){console.log(F7(await _7(e)));return}if(t.target==="plugins"){console.log(B7(await L7(e)));return}if(t.target==="content"){let n=await ct(e);console.log(q7(await qm(n,e),{list:t.list}));return}if(t.target==="graph"){console.log(U7(await P7(e)));return}let r=await ct(e);console.log(H7(await Um(r)))}var V0=class{content=new Map;integrations=new Map;plugins=new Map;slowOperations=[];totalDurationMs;incremental;cacheHits=0;cacheMisses=0;hasCacheEvents=!1;onSpan(t){t.name==="build.total"&&(this.totalDurationMs=t.durationMs),iL(t.name)&&zm(this.content,t.name,t.durationMs),t.name.startsWith("integration.")&&zm(this.integrations,t.name,t.durationMs);let r=V7(t.attributes,"plugin");if(r&&t.name.startsWith("plugin.")&&zm(this.plugins,r,t.durationMs),t.name==="plugin.render"&&r){let n=V7(t.attributes,"contentPath");n&&oL(this.slowOperations,{plugin:r,name:t.name,durationMs:t.durationMs,contentPath:n})}}onEvent(t){t.name==="build.incremental"&&(this.incremental={added:gs(t,"added"),changed:gs(t,"changed"),removed:gs(t,"removed"),unchanged:gs(t,"unchanged"),affected:gs(t,"affected")}),t.name==="cache.hit"&&(this.cacheHits++,this.hasCacheEvents=!0),t.name==="cache.miss"&&(this.cacheMisses++,this.hasCacheEvents=!0)}createReport(){let t=this.cacheHits+this.cacheMisses;return{totalDurationMs:this.totalDurationMs,content:new Map([...this.content.entries()].sort(([r],[n])=>r.localeCompare(n)).map(([r,n])=>[r,Vm(n)])),integrations:new Map([...this.integrations.entries()].sort(([r],[n])=>r.localeCompare(n)).map(([r,n])=>[r,Vm(n)])),plugins:[...this.plugins.entries()].map(([r,n])=>({name:r,duration:Vm(n)})).sort(aL),incremental:this.incremental,cache:this.hasCacheEvents?{hits:this.cacheHits,misses:this.cacheMisses,hitRate:t===0?void 0:this.cacheHits/t}:void 0,slowestOperations:[...this.slowOperations]}}};function iL(e){return e==="content.scan"||e==="content.process"||e==="content.manifest"||e==="content.graph"}function zm(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 Vm(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 V7(e,t){let r=e[t];return typeof r=="string"?r:void 0}function gs(e,t){let r=e.attributes[t];return typeof r=="number"?r:0}function aL(e,t){return t.duration.cumulativeDurationMs-e.duration.cumulativeDurationMs||e.name.localeCompare(t.name)}function sL(e,t){return t.durationMs-e.durationMs||e.plugin.localeCompare(t.plugin)||e.contentPath.localeCompare(t.contentPath)}function oL(e,t){e.push(t),e.sort(sL),e.splice(5)}var Y7={"content.scan":"Scan","content.process":"Process","content.manifest":"Manifest","content.graph":"Graph"};function Ym(e,t=!1){let r=[t?"Riebeckite Partial Build Profile":"Riebeckite Build Profile"];return e.totalDurationMs!==void 0&&r.push("",ft("Total",Qn(e.totalDurationMs))),lL(r,e),uL(r,e),cL(r,e),fL(r,e),hL(r,e),dL(r,e),r.join(`
469
+ `)}function uL(e,t){if(t.integrations.size!==0){e.push("","Integrations");for(let[r,n]of t.integrations)j7(e,r.replace("integration.",""),n)}}function lL(e,t){if(t.content.size!==0){e.push("","Content");for(let r of Object.keys(Y7)){let n=t.content.get(r);n&&j7(e,Y7[r]??r,n)}}}function cL(e,t){if(t.plugins.length!==0){e.push("","Plugins (cumulative work)");for(let r of t.plugins)e.push(ft(`${r.name} (${r.duration.calls} calls)`,Qn(r.duration.cumulativeDurationMs),2))}}function j7(e,t,r){if(r.wallDurationMs!==void 0){e.push(ft(t,Qn(r.wallDurationMs),2));return}e.push(ft(`${t} (${r.calls} calls)`,"",2)),e.push(ft("Cumulative",Qn(r.cumulativeDurationMs),4)),e.push(ft("Average",Qn(r.averageDurationMs),4)),e.push(ft("Max",Qn(r.maxDurationMs),4))}function fL(e,t){t.incremental&&(e.push("","Incremental"),e.push(ft("Added",String(t.incremental.added),2)),e.push(ft("Changed",String(t.incremental.changed),2)),e.push(ft("Removed",String(t.incremental.removed),2)),e.push(ft("Unchanged",String(t.incremental.unchanged),2)),e.push(ft("Affected",String(t.incremental.affected),2)))}function hL(e,t){t.cache&&(e.push("","Cache"),e.push(ft("Hits",String(t.cache.hits),2)),e.push(ft("Misses",String(t.cache.misses),2)),t.cache.hitRate!==void 0&&e.push(ft("Hit rate",`${(t.cache.hitRate*100).toFixed(1)}%`,2)))}function dL(e,t){if(t.slowestOperations.length!==0){e.push("","Slowest operations");for(let r of t.slowestOperations)e.push(ft(`${r.plugin} render`,`${Qn(r.durationMs)} ${r.contentPath}`,2))}}function ft(e,t,r=0){return`${" ".repeat(r)}${e.padEnd(28-r)}${t}`}function Qn(e){return e<1?`${e.toFixed(2)}ms`:e<1e3?`${e.toFixed(e<10?1:0)}ms`:`${(e/1e3).toFixed(2)}s`}async function $7(e,t){let r=new V0;try{await q0(e,{full:t.full,observability:{logger:new An,tracer:new Gi(r)}})}catch(n){throw console.log(Ym(r.createReport(),!0)),n}console.log(Ym(r.createReport()))}async function W7(e){try{let t=mL(e),r=await Gm(process.cwd());if(t.name==="dev"){await y7(r);return}if(t.name==="build"){await q0(r,{full:t.full});return}if(t.name==="doctor"){await D7(r)||(process.exitCode=1);return}if(t.name==="profile"){await $7(r,{full:t.full});return}if(t.name==="inspect"){await z7(r,{target:t.target,list:t.list});return}await b7(r),console.log("Riebeckite configuration is valid.")}catch(t){console.error(H0(t)),process.exitCode=1}}function mL(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==="build"&&(r.length===0||r.length===1&&r[0]==="--full"))return{name:t,full:r[0]==="--full"};if(t==="inspect")return pL(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 bs("Usage: riebeckite <dev | build [--full] | check | doctor | profile [--full] | inspect [config | plugins | content [--list] | graph | build]>")}function pL(e){if(e.length===0)return{name:"inspect",list:!1};if(e.length===1&&G7(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&&!G7(t)?new bs(`Unknown inspect target: ${t}
470
+
471
+ Available:
472
+ config
473
+ plugins
474
+ content
475
+ graph
476
+ build`):new bs("Usage: riebeckite inspect [config | plugins | content [--list] | graph | build]")}function G7(e){return e==="config"||e==="plugins"||e==="content"||e==="graph"||e==="build"}var bs=class extends Error{constructor(t){super(t),this.name="CliUsageError"}};W7(process.argv.slice(2));